????

Your IP : 3.144.158.54


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

var _templateObject;

function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }

function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }

function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }

function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }

function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }

function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }

function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e6) { throw _e6; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e7) { didErr = true; err = _e7; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }

function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }

function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }

function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }

function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }

function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }

function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }

function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }

function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }

function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }

function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }

function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }

(function () {
  var absMids = {
    // "@angular/cdk/portal" = "./node_modules/@angular/cdk/fesm2015/portal.js"
    // "../has/has" = "./node_modules/@dojo/framework/has/has.mjs"
    // "@dojo/framework/shim/AbortController" = "./node_modules/@dojo/framework/shim/AbortController.mjs"
    // "@dojo/framework/shim/Promise" = "./node_modules/@dojo/framework/shim/Promise.mjs"
    // "./Symbol" = "./node_modules/@dojo/framework/shim/Symbol.mjs"
    // "@dojo/framework/shim/WeakMap" = "./node_modules/@dojo/framework/shim/WeakMap.mjs"
    // "@dojo/framework/shim/array" = "./node_modules/@dojo/framework/shim/array.mjs"
    // "./global" = "./node_modules/@dojo/framework/shim/global.mjs"
    // "./iterator" = "./node_modules/@dojo/framework/shim/iterator.mjs"
    // "./number" = "./node_modules/@dojo/framework/shim/number.mjs"
    // "@dojo/framework/shim/object" = "./node_modules/@dojo/framework/shim/object.mjs"
    // "@dojo/framework/shim/string" = "./node_modules/@dojo/framework/shim/string.mjs"
    // "./support/queue" = "./node_modules/@dojo/framework/shim/support/queue.mjs"
    // "./support/util" = "./node_modules/@dojo/framework/shim/support/util.mjs"
    // "@swimlane/ngx-charts" = "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js"
    // "../../../node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory" = "./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js"
    // "@swimlane/ngx-datatable" = "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js"
    // "../../../../../../node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory" = "./node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory.js"
    "esri/Basemap": "./node_modules/arcgis-js-api/Basemap.js",
    "esri/Camera": "./node_modules/arcgis-js-api/Camera.js",
    "esri/Color": "./node_modules/arcgis-js-api/Color.js",
    "esri/Graphic": "./node_modules/arcgis-js-api/Graphic.js",
    "esri/Ground": "./node_modules/arcgis-js-api/Ground.js",
    "esri/Map": "./node_modules/arcgis-js-api/Map.js",
    "esri/PopupTemplate": "./node_modules/arcgis-js-api/PopupTemplate.js",
    "esri/TimeExtent": "./node_modules/arcgis-js-api/TimeExtent.js",
    "esri/TimeInterval": "./node_modules/arcgis-js-api/TimeInterval.js",
    "esri/Viewpoint": "./node_modules/arcgis-js-api/Viewpoint.js",
    "esri/core/Accessor": "./node_modules/arcgis-js-api/core/Accessor.js",
    "esri/core/ArrayPool": "./node_modules/arcgis-js-api/core/ArrayPool.js",
    "esri/core/CircularArray": "./node_modules/arcgis-js-api/core/CircularArray.js",
    "esri/core/Collection": "./node_modules/arcgis-js-api/core/Collection.js",
    "esri/core/CollectionFlattener": "./node_modules/arcgis-js-api/core/CollectionFlattener.js",
    "esri/core/Error": "./node_modules/arcgis-js-api/core/Error.js",
    "esri/core/Evented": "./node_modules/arcgis-js-api/core/Evented.js",
    "esri/core/HandleOwner": "./node_modules/arcgis-js-api/core/HandleOwner.js",
    "esri/core/Handles": "./node_modules/arcgis-js-api/core/Handles.js",
    "esri/core/HeapSort": "./node_modules/arcgis-js-api/core/HeapSort.js",
    "esri/core/Identifiable": "./node_modules/arcgis-js-api/core/Identifiable.js",
    "esri/core/ItemCache": "./node_modules/arcgis-js-api/core/ItemCache.js",
    "esri/core/JSONSupport": "./node_modules/arcgis-js-api/core/JSONSupport.js",
    "esri/core/LRUCache": "./node_modules/arcgis-js-api/core/LRUCache.js",
    "esri/core/Loadable": "./node_modules/arcgis-js-api/core/Loadable.js",
    "esri/core/Logger": "./node_modules/arcgis-js-api/core/Logger.js",
    "esri/core/MD5": "./node_modules/arcgis-js-api/core/MD5.js",
    "esri/core/MemCache": "./node_modules/arcgis-js-api/core/MemCache.js",
    "esri/core/Message": "./node_modules/arcgis-js-api/core/Message.js",
    "esri/core/MultiOriginJSONSupport": "./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js",
    "esri/core/ObjectPool": "./node_modules/arcgis-js-api/core/ObjectPool.js",
    "esri/core/PooledArray": "./node_modules/arcgis-js-api/core/PooledArray.js",
    "esri/core/Promise": "./node_modules/arcgis-js-api/core/Promise.js",
    "esri/core/Queue": "./node_modules/arcgis-js-api/core/Queue.js",
    "esri/core/RandomLCG": "./node_modules/arcgis-js-api/core/RandomLCG.js",
    "esri/core/ReentrantObjectPool": "./node_modules/arcgis-js-api/core/ReentrantObjectPool.js",
    "esri/core/Warning": "./node_modules/arcgis-js-api/core/Warning.js",
    "esri/core/accessorSupport/MultiOriginStore": "./node_modules/arcgis-js-api/core/accessorSupport/MultiOriginStore.js",
    "esri/core/accessorSupport/Properties": "./node_modules/arcgis-js-api/core/accessorSupport/Properties.js",
    "esri/core/accessorSupport/PropertyOrigin": "./node_modules/arcgis-js-api/core/accessorSupport/PropertyOrigin.js",
    "esri/core/accessorSupport/Store": "./node_modules/arcgis-js-api/core/accessorSupport/Store.js",
    "esri/core/accessorSupport/decorators": "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js",
    "esri/core/accessorSupport/decorators/aliasOf": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/aliasOf.js",
    "esri/core/accessorSupport/decorators/autoDestroy": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/autoDestroy.js",
    "esri/core/accessorSupport/decorators/cast": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js",
    "esri/core/accessorSupport/decorators/declared": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/declared.js",
    "esri/core/accessorSupport/decorators/enumeration": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/enumeration.js",
    "esri/core/accessorSupport/decorators/property": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js",
    "esri/core/accessorSupport/decorators/reader": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/reader.js",
    "esri/core/accessorSupport/decorators/shared": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/shared.js",
    "esri/core/accessorSupport/decorators/subclass": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/subclass.js",
    "esri/core/accessorSupport/decorators/writer": "./node_modules/arcgis-js-api/core/accessorSupport/decorators/writer.js",
    "esri/core/accessorSupport/diffUtils": "./node_modules/arcgis-js-api/core/accessorSupport/diffUtils.js",
    "esri/core/accessorSupport/ensureType": "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js",
    "esri/core/accessorSupport/extensions": "./node_modules/arcgis-js-api/core/accessorSupport/extensions.js",
    "esri/core/accessorSupport/extensions/aliasedProperty": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/aliasedProperty.js",
    "esri/core/accessorSupport/extensions/computedProperty": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/computedProperty.js",
    "esri/core/accessorSupport/extensions/serializableProperty": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty.js",
    "esri/core/accessorSupport/extensions/serializableProperty/originAliases": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/originAliases.js",
    "esri/core/accessorSupport/extensions/serializableProperty/reader": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/reader.js",
    "esri/core/accessorSupport/extensions/serializableProperty/shorthands": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/shorthands.js",
    "esri/core/accessorSupport/extensions/serializableProperty/type": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/type.js",
    "esri/core/accessorSupport/extensions/serializableProperty/writer": "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/writer.js",
    "esri/core/accessorSupport/get": "./node_modules/arcgis-js-api/core/accessorSupport/get.js",
    "esri/core/accessorSupport/introspection": "./node_modules/arcgis-js-api/core/accessorSupport/introspection.js",
    "esri/core/accessorSupport/metadata": "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js",
    "esri/core/accessorSupport/read": "./node_modules/arcgis-js-api/core/accessorSupport/read.js",
    "esri/core/accessorSupport/set": "./node_modules/arcgis-js-api/core/accessorSupport/set.js",
    "esri/core/accessorSupport/testSupport": "./node_modules/arcgis-js-api/core/accessorSupport/testSupport.js",
    "esri/core/accessorSupport/utils": "./node_modules/arcgis-js-api/core/accessorSupport/utils.js",
    "esri/core/accessorSupport/watch": "./node_modules/arcgis-js-api/core/accessorSupport/watch.js",
    "esri/core/accessorSupport/wire": "./node_modules/arcgis-js-api/core/accessorSupport/wire.js",
    "esri/core/accessorSupport/write": "./node_modules/arcgis-js-api/core/accessorSupport/write.js",
    "esri/core/arrayUtils": "./node_modules/arcgis-js-api/core/arrayUtils.js",
    "esri/core/asyncUtils": "./node_modules/arcgis-js-api/core/asyncUtils.js",
    "esri/core/clock": "./node_modules/arcgis-js-api/core/clock.js",
    "esri/core/collectionUtils": "./node_modules/arcgis-js-api/core/collectionUtils.js",
    "esri/core/colorUtils": "./node_modules/arcgis-js-api/core/colorUtils.js",
    "esri/core/compilerUtils": "./node_modules/arcgis-js-api/core/compilerUtils.js",
    "esri/core/date": "./node_modules/arcgis-js-api/core/date.js",
    "esri/core/declare": "./node_modules/arcgis-js-api/core/declare.js",
    "esri/core/deprecate": "./node_modules/arcgis-js-api/core/deprecate.js",
    "esri/core/devEnvironmentUtils": "./node_modules/arcgis-js-api/core/devEnvironmentUtils.js",
    "esri/core/domUtils": "./node_modules/arcgis-js-api/core/domUtils.js",
    "esri/core/events": "./node_modules/arcgis-js-api/core/events.js",
    "esri/core/geolocationUtils": "./node_modules/arcgis-js-api/core/geolocationUtils.js",
    "esri/core/has": "./node_modules/arcgis-js-api/core/has.js",
    "esri/core/iteratorUtils": "./node_modules/arcgis-js-api/core/iteratorUtils.js",
    "esri/core/jsonMap": "./node_modules/arcgis-js-api/core/jsonMap.js",
    "esri/core/lang": "./node_modules/arcgis-js-api/core/lang.js",
    "esri/core/libs/earcut/earcut": "./node_modules/arcgis-js-api/core/libs/earcut/earcut.js",
    "esri/core/libs/gl-matrix-2/common": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/common.js",
    "esri/core/libs/gl-matrix-2/factories/mat2df32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df32.js",
    "esri/core/libs/gl-matrix-2/factories/mat2df64": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df64.js",
    "esri/core/libs/gl-matrix-2/factories/mat3f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat3f32.js",
    "esri/core/libs/gl-matrix-2/factories/mat4f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat4f32.js",
    "esri/core/libs/gl-matrix-2/factories/vec2f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f32.js",
    "esri/core/libs/gl-matrix-2/factories/vec2f64": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f64.js",
    "esri/core/libs/gl-matrix-2/factories/vec3f64": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec3f64.js",
    "esri/core/libs/gl-matrix-2/factories/vec4f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec4f32.js",
    "esri/core/libs/gl-matrix-2/mat2d": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js",
    "esri/core/libs/gl-matrix-2/mat2df32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.js",
    "esri/core/libs/gl-matrix-2/mat2df64": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df64.js",
    "esri/core/libs/gl-matrix-2/mat3": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3.js",
    "esri/core/libs/gl-matrix-2/mat3f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js",
    "esri/core/libs/gl-matrix-2/mat4f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat4f32.js",
    "esri/core/libs/gl-matrix-2/math/common": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js",
    "esri/core/libs/gl-matrix-2/math/mat2d": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat2d.js",
    "esri/core/libs/gl-matrix-2/math/mat3": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat3.js",
    "esri/core/libs/gl-matrix-2/math/vec2": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec2.js",
    "esri/core/libs/gl-matrix-2/math/vec3": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec3.js",
    "esri/core/libs/gl-matrix-2/types/vec2": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/types/vec2.js",
    "esri/core/libs/gl-matrix-2/vec2": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js",
    "esri/core/libs/gl-matrix-2/vec2f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js",
    "esri/core/libs/gl-matrix-2/vec2f64": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js",
    "esri/core/libs/gl-matrix-2/vec3": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3.js",
    "esri/core/libs/gl-matrix-2/vec3f64": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3f64.js",
    "esri/core/libs/gl-matrix-2/vec4f32": "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js",
    "esri/core/libs/libtess/libtess": "./node_modules/arcgis-js-api/core/libs/libtess/libtess.js",
    "esri/core/libs/pep/pep": "./node_modules/arcgis-js-api/core/libs/pep/pep.js",
    "esri/core/loadAll": "./node_modules/arcgis-js-api/core/loadAll.js",
    "esri/core/mathUtils": "./node_modules/arcgis-js-api/core/mathUtils.js",
    "esri/core/maybe": "./node_modules/arcgis-js-api/core/maybe.js",
    "esri/core/nextTick": "./node_modules/arcgis-js-api/core/nextTick.js",
    "esri/core/now": "./node_modules/arcgis-js-api/core/now.js",
    "esri/core/object": "./node_modules/arcgis-js-api/core/object.js",
    "esri/core/pbf": "./node_modules/arcgis-js-api/core/pbf.js",
    "esri/core/promiseUtils": "./node_modules/arcgis-js-api/core/promiseUtils.js",
    "esri/core/requestAnimationFrame": "./node_modules/arcgis-js-api/core/requestAnimationFrame.js",
    "esri/core/requireUtils": "./node_modules/arcgis-js-api/core/requireUtils.js",
    "esri/core/scheduling": "./node_modules/arcgis-js-api/core/scheduling.js",
    "esri/core/screenUtils": "./node_modules/arcgis-js-api/core/screenUtils.js",
    "esri/core/string": "./node_modules/arcgis-js-api/core/string.js",
    "esri/core/tsSupport/assignHelper": "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js",
    "esri/core/tsSupport/awaiterHelper": "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js",
    "esri/core/tsSupport/declareExtendsHelper": "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js",
    "esri/core/tsSupport/decorateHelper": "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js",
    "esri/core/tsSupport/extendsHelper": "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js",
    "esri/core/tsSupport/generatorHelper": "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js",
    "esri/core/tsSupport/paramHelper": "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js",
    "esri/core/typedArrayUtil": "./node_modules/arcgis-js-api/core/typedArrayUtil.js",
    "esri/core/unitUtils": "./node_modules/arcgis-js-api/core/unitUtils.js",
    "esri/core/urlUtils": "./node_modules/arcgis-js-api/core/urlUtils.js",
    "esri/core/watchUtils": "./node_modules/arcgis-js-api/core/watchUtils.js",
    "esri/core/wgs84Constants": "./node_modules/arcgis-js-api/core/wgs84Constants.js",
    "esri/core/workers": "./node_modules/arcgis-js-api/core/workers.js",
    "esri/core/workers/Connection": "./node_modules/arcgis-js-api/core/workers/Connection.js",
    "esri/core/workers/RemoteClient": "./node_modules/arcgis-js-api/core/workers/RemoteClient.js",
    "esri/core/workers/WorkerFallback": "./node_modules/arcgis-js-api/core/workers/WorkerFallback.js",
    "esri/core/workers/WorkerOwner": "./node_modules/arcgis-js-api/core/workers/WorkerOwner.js",
    "esri/core/workers/loaderConfig": "./node_modules/arcgis-js-api/core/workers/loaderConfig.js",
    "esri/core/workers/utils": "./node_modules/arcgis-js-api/core/workers/utils.js",
    "esri/core/workers/workerFactory": "./node_modules/arcgis-js-api/core/workers/workerFactory.js",
    "esri/core/workers/workers": "./node_modules/arcgis-js-api/core/workers/workers.js",
    "esri/geometry": "./node_modules/arcgis-js-api/geometry.js",
    "esri/geometry/Circle": "./node_modules/arcgis-js-api/geometry/Circle.js",
    "esri/geometry/Extent": "./node_modules/arcgis-js-api/geometry/Extent.js",
    "esri/geometry/Geometry": "./node_modules/arcgis-js-api/geometry/Geometry.js",
    "esri/geometry/HeightModelInfo": "./node_modules/arcgis-js-api/geometry/HeightModelInfo.js",
    "esri/geometry/Multipoint": "./node_modules/arcgis-js-api/geometry/Multipoint.js",
    "esri/geometry/Point": "./node_modules/arcgis-js-api/geometry/Point.js",
    "esri/geometry/Polygon": "./node_modules/arcgis-js-api/geometry/Polygon.js",
    "esri/geometry/Polyline": "./node_modules/arcgis-js-api/geometry/Polyline.js",
    "esri/geometry/SpatialReference": "./node_modules/arcgis-js-api/geometry/SpatialReference.js",
    "esri/geometry/geometryEngine": "./node_modules/arcgis-js-api/geometry/geometryEngine.js",
    "esri/geometry/support/WKIDUnitConversion": "./node_modules/arcgis-js-api/geometry/support/WKIDUnitConversion.js",
    "esri/geometry/support/aaBoundingBox": "./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js",
    "esri/geometry/support/aaBoundingRect": "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js",
    "esri/geometry/support/boundsUtils": "./node_modules/arcgis-js-api/geometry/support/boundsUtils.js",
    "esri/geometry/support/centroid": "./node_modules/arcgis-js-api/geometry/support/centroid.js",
    "esri/geometry/support/contains": "./node_modules/arcgis-js-api/geometry/support/contains.js",
    "esri/geometry/support/coordsUtils": "./node_modules/arcgis-js-api/geometry/support/coordsUtils.js",
    "esri/geometry/support/extentUtils": "./node_modules/arcgis-js-api/geometry/support/extentUtils.js",
    "esri/geometry/support/geodesicUtils": "./node_modules/arcgis-js-api/geometry/support/geodesicUtils.js",
    "esri/geometry/support/heightModelInfoUtils": "./node_modules/arcgis-js-api/geometry/support/heightModelInfoUtils.js",
    "esri/geometry/support/intersects": "./node_modules/arcgis-js-api/geometry/support/intersects.js",
    "esri/geometry/support/jsonUtils": "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js",
    "esri/geometry/support/normalizeUtils": "./node_modules/arcgis-js-api/geometry/support/normalizeUtils.js",
    "esri/geometry/support/offset": "./node_modules/arcgis-js-api/geometry/support/offset.js",
    "esri/geometry/support/quantizationUtils": "./node_modules/arcgis-js-api/geometry/support/quantizationUtils.js",
    "esri/geometry/support/scaleUtils": "./node_modules/arcgis-js-api/geometry/support/scaleUtils.js",
    "esri/geometry/support/spatialReferenceUtils": "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js",
    "esri/geometry/support/webMercatorUtils": "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js",
    "esri/geometry/support/zmUtils": "./node_modules/arcgis-js-api/geometry/support/zmUtils.js",
    "esri/ground/NavigationConstraint": "./node_modules/arcgis-js-api/ground/NavigationConstraint.js",
    "esri/intl": "./node_modules/arcgis-js-api/intl.js",
    "esri/intl/date": "./node_modules/arcgis-js-api/intl/date.js",
    "esri/intl/locale": "./node_modules/arcgis-js-api/intl/locale.js",
    "esri/intl/number": "./node_modules/arcgis-js-api/intl/number.js",
    "esri/intl/substitute": "./node_modules/arcgis-js-api/intl/substitute.js",
    "esri/kernel": "./node_modules/arcgis-js-api/kernel.js",
    "esri/layers/FeatureLayer": "./node_modules/arcgis-js-api/layers/FeatureLayer.js",
    "esri/layers/GraphicsLayer": "./node_modules/arcgis-js-api/layers/GraphicsLayer.js",
    "esri/layers/GroupLayer": "./node_modules/arcgis-js-api/layers/GroupLayer.js",
    "esri/layers/Layer": "./node_modules/arcgis-js-api/layers/Layer.js",
    "esri/layers/MapImageLayer": "./node_modules/arcgis-js-api/layers/MapImageLayer.js",
    "esri/layers/graphics/OptimizedFeature": "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeature.js",
    "esri/layers/graphics/OptimizedFeatureSet": "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeatureSet.js",
    "esri/layers/graphics/OptimizedGeometry": "./node_modules/arcgis-js-api/layers/graphics/OptimizedGeometry.js",
    "esri/layers/graphics/dehydratedFeatureComparison": "./node_modules/arcgis-js-api/layers/graphics/dehydratedFeatureComparison.js",
    "esri/layers/graphics/dehydratedFeatures": "./node_modules/arcgis-js-api/layers/graphics/dehydratedFeatures.js",
    "esri/layers/graphics/featureConversionUtils": "./node_modules/arcgis-js-api/layers/graphics/featureConversionUtils.js",
    "esri/layers/graphics/sources/MemorySource": "./node_modules/arcgis-js-api/layers/graphics/sources/MemorySource.js",
    "esri/layers/mixins/ArcGISMapService": "./node_modules/arcgis-js-api/layers/mixins/ArcGISMapService.js",
    "esri/layers/mixins/ArcGISService": "./node_modules/arcgis-js-api/layers/mixins/ArcGISService.js",
    "esri/layers/mixins/OperationalLayer": "./node_modules/arcgis-js-api/layers/mixins/OperationalLayer.js",
    "esri/layers/mixins/PortalLayer": "./node_modules/arcgis-js-api/layers/mixins/PortalLayer.js",
    "esri/layers/mixins/RefreshableLayer": "./node_modules/arcgis-js-api/layers/mixins/RefreshableLayer.js",
    "esri/layers/mixins/ScaleRangeLayer": "./node_modules/arcgis-js-api/layers/mixins/ScaleRangeLayer.js",
    "esri/layers/mixins/SublayersOwner": "./node_modules/arcgis-js-api/layers/mixins/SublayersOwner.js",
    "esri/layers/mixins/TemporalLayer": "./node_modules/arcgis-js-api/layers/mixins/TemporalLayer.js",
    "esri/layers/support/AttachmentInfo": "./node_modules/arcgis-js-api/layers/support/AttachmentInfo.js",
    "esri/layers/support/CodedValue": "./node_modules/arcgis-js-api/layers/support/CodedValue.js",
    "esri/layers/support/CodedValueDomain": "./node_modules/arcgis-js-api/layers/support/CodedValueDomain.js",
    "esri/layers/support/Domain": "./node_modules/arcgis-js-api/layers/support/Domain.js",
    "esri/layers/support/ExportImageParameters": "./node_modules/arcgis-js-api/layers/support/ExportImageParameters.js",
    "esri/layers/support/FeatureIndex": "./node_modules/arcgis-js-api/layers/support/FeatureIndex.js",
    "esri/layers/support/FeatureReduction": "./node_modules/arcgis-js-api/layers/support/FeatureReduction.js",
    "esri/layers/support/FeatureReductionCluster": "./node_modules/arcgis-js-api/layers/support/FeatureReductionCluster.js",
    "esri/layers/support/FeatureReductionSelection": "./node_modules/arcgis-js-api/layers/support/FeatureReductionSelection.js",
    "esri/layers/support/FeatureTemplate": "./node_modules/arcgis-js-api/layers/support/FeatureTemplate.js",
    "esri/layers/support/FeatureType": "./node_modules/arcgis-js-api/layers/support/FeatureType.js",
    "esri/layers/support/Field": "./node_modules/arcgis-js-api/layers/support/Field.js",
    "esri/layers/support/FieldsIndex": "./node_modules/arcgis-js-api/layers/support/FieldsIndex.js",
    "esri/layers/support/InheritedDomain": "./node_modules/arcgis-js-api/layers/support/InheritedDomain.js",
    "esri/layers/support/LOD": "./node_modules/arcgis-js-api/layers/support/LOD.js",
    "esri/layers/support/LabelClass": "./node_modules/arcgis-js-api/layers/support/LabelClass.js",
    "esri/layers/support/LabelExpressionInfo": "./node_modules/arcgis-js-api/layers/support/LabelExpressionInfo.js",
    "esri/layers/support/MapImage": "./node_modules/arcgis-js-api/layers/support/MapImage.js",
    "esri/layers/support/RangeDomain": "./node_modules/arcgis-js-api/layers/support/RangeDomain.js",
    "esri/layers/support/Relationship": "./node_modules/arcgis-js-api/layers/support/Relationship.js",
    "esri/layers/support/Sublayer": "./node_modules/arcgis-js-api/layers/support/Sublayer.js",
    "esri/layers/support/TileInfo": "./node_modules/arcgis-js-api/layers/support/TileInfo.js",
    "esri/layers/support/TimeInfo": "./node_modules/arcgis-js-api/layers/support/TimeInfo.js",
    "esri/layers/support/TimeReference": "./node_modules/arcgis-js-api/layers/support/TimeReference.js",
    "esri/layers/support/arcgisLayerUrl": "./node_modules/arcgis-js-api/layers/support/arcgisLayerUrl.js",
    "esri/layers/support/commonProperties": "./node_modules/arcgis-js-api/layers/support/commonProperties.js",
    "esri/layers/support/domains": "./node_modules/arcgis-js-api/layers/support/domains.js",
    "esri/layers/support/exifUtils": "./node_modules/arcgis-js-api/layers/support/exifUtils.js",
    "esri/layers/support/featureReductionUtils": "./node_modules/arcgis-js-api/layers/support/featureReductionUtils.js",
    "esri/layers/support/fieldProperties": "./node_modules/arcgis-js-api/layers/support/fieldProperties.js",
    "esri/layers/support/fieldType": "./node_modules/arcgis-js-api/layers/support/fieldType.js",
    "esri/layers/support/fieldUtils": "./node_modules/arcgis-js-api/layers/support/fieldUtils.js",
    "esri/layers/support/labelUtils": "./node_modules/arcgis-js-api/layers/support/labelUtils.js",
    "esri/layers/support/labelingInfo": "./node_modules/arcgis-js-api/layers/support/labelingInfo.js",
    "esri/layers/support/layerSourceUtils": "./node_modules/arcgis-js-api/layers/support/layerSourceUtils.js",
    "esri/layers/support/sublayerUtils": "./node_modules/arcgis-js-api/layers/support/sublayerUtils.js",
    "esri/layers/support/timeUtils": "./node_modules/arcgis-js-api/layers/support/timeUtils.js",
    "esri/layers/support/types": "./node_modules/arcgis-js-api/layers/support/types.js",
    "esri/libs/maquette/cache": "./node_modules/arcgis-js-api/libs/maquette/cache.js",
    "esri/libs/maquette/dom": "./node_modules/arcgis-js-api/libs/maquette/dom.js",
    "esri/libs/maquette/h": "./node_modules/arcgis-js-api/libs/maquette/h.js",
    "esri/libs/maquette/index": "./node_modules/arcgis-js-api/libs/maquette/index.js",
    "esri/libs/maquette/mapping": "./node_modules/arcgis-js-api/libs/maquette/mapping.js",
    "esri/libs/maquette/projection": "./node_modules/arcgis-js-api/libs/maquette/projection.js",
    "esri/libs/maquette/projector": "./node_modules/arcgis-js-api/libs/maquette/projector.js",
    // "esri/libs/sanitizer/Sanitizer" = "./node_modules/arcgis-js-api/libs/sanitizer/Sanitizer.js"
    // "esri/libs/sortablejs/Sortable" = "./node_modules/arcgis-js-api/libs/sortablejs/Sortable.js"
    "esri/nls/basemaps": "./node_modules/arcgis-js-api/nls/basemaps.js",
    "esri/nls/common": "./node_modules/arcgis-js-api/nls/common.js",
    "esri/nls/vi/basemaps": "./node_modules/arcgis-js-api/nls/vi/basemaps.js",
    "esri/nls/vi/common": "./node_modules/arcgis-js-api/nls/vi/common.js",
    "esri/popup/ExpressionInfo": "./node_modules/arcgis-js-api/popup/ExpressionInfo.js",
    "esri/popup/FieldInfo": "./node_modules/arcgis-js-api/popup/FieldInfo.js",
    "esri/popup/LayerOptions": "./node_modules/arcgis-js-api/popup/LayerOptions.js",
    "esri/popup/RelatedRecordsInfo": "./node_modules/arcgis-js-api/popup/RelatedRecordsInfo.js",
    "esri/popup/content": "./node_modules/arcgis-js-api/popup/content.js",
    "esri/popup/content/AttachmentsContent": "./node_modules/arcgis-js-api/popup/content/AttachmentsContent.js",
    "esri/popup/content/BarChartMediaInfo": "./node_modules/arcgis-js-api/popup/content/BarChartMediaInfo.js",
    "esri/popup/content/ColumnChartMediaInfo": "./node_modules/arcgis-js-api/popup/content/ColumnChartMediaInfo.js",
    "esri/popup/content/Content": "./node_modules/arcgis-js-api/popup/content/Content.js",
    "esri/popup/content/FieldsContent": "./node_modules/arcgis-js-api/popup/content/FieldsContent.js",
    "esri/popup/content/ImageMediaInfo": "./node_modules/arcgis-js-api/popup/content/ImageMediaInfo.js",
    "esri/popup/content/LineChartMediaInfo": "./node_modules/arcgis-js-api/popup/content/LineChartMediaInfo.js",
    "esri/popup/content/MediaContent": "./node_modules/arcgis-js-api/popup/content/MediaContent.js",
    "esri/popup/content/PieChartMediaInfo": "./node_modules/arcgis-js-api/popup/content/PieChartMediaInfo.js",
    "esri/popup/content/TextContent": "./node_modules/arcgis-js-api/popup/content/TextContent.js",
    "esri/popup/content/mixins/ChartMediaInfo": "./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js",
    "esri/popup/content/mixins/MediaInfo": "./node_modules/arcgis-js-api/popup/content/mixins/MediaInfo.js",
    "esri/popup/content/support/ChartMediaInfoValue": "./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValue.js",
    "esri/popup/content/support/ChartMediaInfoValueSeries": "./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValueSeries.js",
    "esri/popup/content/support/ImageMediaInfoValue": "./node_modules/arcgis-js-api/popup/content/support/ImageMediaInfoValue.js",
    "esri/popup/content/support/chartMediaInfoUtils": "./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js",
    "esri/popup/content/support/mediaInfoTypes": "./node_modules/arcgis-js-api/popup/content/support/mediaInfoTypes.js",
    "esri/popup/support/FieldInfoFormat": "./node_modules/arcgis-js-api/popup/support/FieldInfoFormat.js",
    "esri/popup/support/RelatedRecordsInfoFieldOrder": "./node_modules/arcgis-js-api/popup/support/RelatedRecordsInfoFieldOrder.js",
    "esri/portal/Portal": "./node_modules/arcgis-js-api/portal/Portal.js",
    "esri/portal/PortalFolder": "./node_modules/arcgis-js-api/portal/PortalFolder.js",
    "esri/portal/PortalGroup": "./node_modules/arcgis-js-api/portal/PortalGroup.js",
    "esri/portal/PortalItem": "./node_modules/arcgis-js-api/portal/PortalItem.js",
    "esri/portal/PortalQueryParams": "./node_modules/arcgis-js-api/portal/PortalQueryParams.js",
    "esri/portal/PortalQueryResult": "./node_modules/arcgis-js-api/portal/PortalQueryResult.js",
    "esri/portal/PortalRating": "./node_modules/arcgis-js-api/portal/PortalRating.js",
    "esri/portal/PortalUser": "./node_modules/arcgis-js-api/portal/PortalUser.js",
    "esri/renderers": "./node_modules/arcgis-js-api/renderers.js",
    "esri/renderers/ClassBreaksRenderer": "./node_modules/arcgis-js-api/renderers/ClassBreaksRenderer.js",
    "esri/renderers/DictionaryRenderer": "./node_modules/arcgis-js-api/renderers/DictionaryRenderer.js",
    "esri/renderers/DotDensityRenderer": "./node_modules/arcgis-js-api/renderers/DotDensityRenderer.js",
    "esri/renderers/HeatmapRenderer": "./node_modules/arcgis-js-api/renderers/HeatmapRenderer.js",
    "esri/renderers/Renderer": "./node_modules/arcgis-js-api/renderers/Renderer.js",
    "esri/renderers/SimpleRenderer": "./node_modules/arcgis-js-api/renderers/SimpleRenderer.js",
    "esri/renderers/UniqueValueRenderer": "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js",
    "esri/renderers/mixins/VisualVariablesMixin": "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js",
    "esri/renderers/support/AttributeColorInfo": "./node_modules/arcgis-js-api/renderers/support/AttributeColorInfo.js",
    "esri/renderers/support/AuthoringInfo": "./node_modules/arcgis-js-api/renderers/support/AuthoringInfo.js",
    "esri/renderers/support/AuthoringInfoClassBreakInfo": "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoClassBreakInfo.js",
    "esri/renderers/support/AuthoringInfoFieldInfo": "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoFieldInfo.js",
    "esri/renderers/support/AuthoringInfoVisualVariable": "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoVisualVariable.js",
    "esri/renderers/support/ClassBreakInfo": "./node_modules/arcgis-js-api/renderers/support/ClassBreakInfo.js",
    "esri/renderers/support/DotDensityLegendOptions": "./node_modules/arcgis-js-api/renderers/support/DotDensityLegendOptions.js",
    "esri/renderers/support/HeatmapColorStop": "./node_modules/arcgis-js-api/renderers/support/HeatmapColorStop.js",
    "esri/renderers/support/LegendOptions": "./node_modules/arcgis-js-api/renderers/support/LegendOptions.js",
    "esri/renderers/support/UniqueValueInfo": "./node_modules/arcgis-js-api/renderers/support/UniqueValueInfo.js",
    "esri/renderers/support/jsonUtils": "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js",
    "esri/renderers/support/numberUtils": "./node_modules/arcgis-js-api/renderers/support/numberUtils.js",
    "esri/renderers/support/styleUtils": "./node_modules/arcgis-js-api/renderers/support/styleUtils.js",
    "esri/renderers/support/utils": "./node_modules/arcgis-js-api/renderers/support/utils.js",
    "esri/renderers/visualVariables/ColorVariable": "./node_modules/arcgis-js-api/renderers/visualVariables/ColorVariable.js",
    "esri/renderers/visualVariables/OpacityVariable": "./node_modules/arcgis-js-api/renderers/visualVariables/OpacityVariable.js",
    "esri/renderers/visualVariables/RotationVariable": "./node_modules/arcgis-js-api/renderers/visualVariables/RotationVariable.js",
    "esri/renderers/visualVariables/SizeVariable": "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js",
    "esri/renderers/visualVariables/VisualVariable": "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js",
    "esri/renderers/visualVariables/VisualVariableFactory": "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariableFactory.js",
    "esri/renderers/visualVariables/support/ColorStop": "./node_modules/arcgis-js-api/renderers/visualVariables/support/ColorStop.js",
    "esri/renderers/visualVariables/support/OpacityStop": "./node_modules/arcgis-js-api/renderers/visualVariables/support/OpacityStop.js",
    "esri/renderers/visualVariables/support/SizeStop": "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeStop.js",
    "esri/renderers/visualVariables/support/SizeVariableLegendOptions": "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeVariableLegendOptions.js",
    "esri/renderers/visualVariables/support/VisualVariableLegendOptions": "./node_modules/arcgis-js-api/renderers/visualVariables/support/VisualVariableLegendOptions.js",
    "esri/renderers/visualVariables/support/sizeVariableUtils": "./node_modules/arcgis-js-api/renderers/visualVariables/support/sizeVariableUtils.js",
    "esri/renderers/visualVariables/support/visualVariableUtils": "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js",
    "esri/request": "./node_modules/arcgis-js-api/request.js",
    "esri/support/GraphicsCollection": "./node_modules/arcgis-js-api/support/GraphicsCollection.js",
    "esri/support/LayersMixin": "./node_modules/arcgis-js-api/support/LayersMixin.js",
    "esri/support/actions/ActionBase": "./node_modules/arcgis-js-api/support/actions/ActionBase.js",
    "esri/support/actions/ActionButton": "./node_modules/arcgis-js-api/support/actions/ActionButton.js",
    "esri/support/actions/ActionSlider": "./node_modules/arcgis-js-api/support/actions/ActionSlider.js",
    "esri/support/actions/ActionToggle": "./node_modules/arcgis-js-api/support/actions/ActionToggle.js",
    "esri/support/arcadeOnDemand": "./node_modules/arcgis-js-api/support/arcadeOnDemand.js",
    "esri/support/basemapDefinitions": "./node_modules/arcgis-js-api/support/basemapDefinitions.js",
    "esri/support/basemapUtils": "./node_modules/arcgis-js-api/support/basemapUtils.js",
    "esri/support/featureFlags": "./node_modules/arcgis-js-api/support/featureFlags.js",
    "esri/support/groundUtils": "./node_modules/arcgis-js-api/support/groundUtils.js",
    "esri/support/popupUtils": "./node_modules/arcgis-js-api/support/popupUtils.js",
    "esri/support/revision": "./node_modules/arcgis-js-api/support/revision.js",
    "esri/symbols": "./node_modules/arcgis-js-api/symbols.js",
    "esri/symbols/CIMSymbol": "./node_modules/arcgis-js-api/symbols/CIMSymbol.js",
    "esri/symbols/ExtrudeSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/ExtrudeSymbol3DLayer.js",
    "esri/symbols/FillSymbol": "./node_modules/arcgis-js-api/symbols/FillSymbol.js",
    "esri/symbols/FillSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js",
    "esri/symbols/Font": "./node_modules/arcgis-js-api/symbols/Font.js",
    "esri/symbols/IconSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js",
    "esri/symbols/LabelSymbol3D": "./node_modules/arcgis-js-api/symbols/LabelSymbol3D.js",
    "esri/symbols/LineSymbol": "./node_modules/arcgis-js-api/symbols/LineSymbol.js",
    "esri/symbols/LineSymbol3D": "./node_modules/arcgis-js-api/symbols/LineSymbol3D.js",
    "esri/symbols/LineSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js",
    "esri/symbols/MarkerSymbol": "./node_modules/arcgis-js-api/symbols/MarkerSymbol.js",
    "esri/symbols/MeshSymbol3D": "./node_modules/arcgis-js-api/symbols/MeshSymbol3D.js",
    "esri/symbols/ObjectSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js",
    "esri/symbols/PathSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/PathSymbol3DLayer.js",
    "esri/symbols/PictureFillSymbol": "./node_modules/arcgis-js-api/symbols/PictureFillSymbol.js",
    "esri/symbols/PictureMarkerSymbol": "./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js",
    "esri/symbols/PointSymbol3D": "./node_modules/arcgis-js-api/symbols/PointSymbol3D.js",
    "esri/symbols/PolygonSymbol3D": "./node_modules/arcgis-js-api/symbols/PolygonSymbol3D.js",
    "esri/symbols/SimpleFillSymbol": "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js",
    "esri/symbols/SimpleLineSymbol": "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js",
    "esri/symbols/SimpleMarkerSymbol": "./node_modules/arcgis-js-api/symbols/SimpleMarkerSymbol.js",
    "esri/symbols/Symbol": "./node_modules/arcgis-js-api/symbols/Symbol.js",
    "esri/symbols/Symbol3D": "./node_modules/arcgis-js-api/symbols/Symbol3D.js",
    "esri/symbols/Symbol3DLayer": "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js",
    "esri/symbols/TextSymbol": "./node_modules/arcgis-js-api/symbols/TextSymbol.js",
    "esri/symbols/TextSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js",
    "esri/symbols/WaterSymbol3DLayer": "./node_modules/arcgis-js-api/symbols/WaterSymbol3DLayer.js",
    "esri/symbols/WebStyleSymbol": "./node_modules/arcgis-js-api/symbols/WebStyleSymbol.js",
    "esri/symbols/callouts/Callout3D": "./node_modules/arcgis-js-api/symbols/callouts/Callout3D.js",
    "esri/symbols/callouts/LineCallout3D": "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3D.js",
    "esri/symbols/callouts/LineCallout3DBorder": "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3DBorder.js",
    "esri/symbols/callouts/calloutUtils": "./node_modules/arcgis-js-api/symbols/callouts/calloutUtils.js",
    "esri/symbols/cim/CIMCursor": "./node_modules/arcgis-js-api/symbols/cim/CIMCursor.js",
    "esri/symbols/cim/CIMEffects": "./node_modules/arcgis-js-api/symbols/cim/CIMEffects.js",
    "esri/symbols/cim/CIMOperators": "./node_modules/arcgis-js-api/symbols/cim/CIMOperators.js",
    "esri/symbols/cim/CIMPlacements": "./node_modules/arcgis-js-api/symbols/cim/CIMPlacements.js",
    "esri/symbols/cim/CIMSymbolDrawHelper": "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolDrawHelper.js",
    "esri/symbols/cim/CIMSymbolHelper": "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolHelper.js",
    "esri/symbols/cim/CIMSymbolRasterizer": "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolRasterizer.js",
    "esri/symbols/cim/Rasterizer": "./node_modules/arcgis-js-api/symbols/cim/Rasterizer.js",
    "esri/symbols/cim/Rect": "./node_modules/arcgis-js-api/symbols/cim/Rect.js",
    "esri/symbols/cim/SDFHelper": "./node_modules/arcgis-js-api/symbols/cim/SDFHelper.js",
    "esri/symbols/cim/TextRasterizer": "./node_modules/arcgis-js-api/symbols/cim/TextRasterizer.js",
    "esri/symbols/cim/cimAnalyzer": "./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js",
    "esri/symbols/cim/enums": "./node_modules/arcgis-js-api/symbols/cim/enums.js",
    "esri/symbols/cim/packingUtils": "./node_modules/arcgis-js-api/symbols/cim/packingUtils.js",
    "esri/symbols/cim/utils": "./node_modules/arcgis-js-api/symbols/cim/utils.js",
    "esri/symbols/edges/Edges3D": "./node_modules/arcgis-js-api/symbols/edges/Edges3D.js",
    "esri/symbols/edges/SketchEdges3D": "./node_modules/arcgis-js-api/symbols/edges/SketchEdges3D.js",
    "esri/symbols/edges/SolidEdges3D": "./node_modules/arcgis-js-api/symbols/edges/SolidEdges3D.js",
    "esri/symbols/edges/utils": "./node_modules/arcgis-js-api/symbols/edges/utils.js",
    "esri/symbols/support/ElevationInfo": "./node_modules/arcgis-js-api/symbols/support/ElevationInfo.js",
    "esri/symbols/support/FeatureExpressionInfo": "./node_modules/arcgis-js-api/symbols/support/FeatureExpressionInfo.js",
    "esri/symbols/support/IconSymbol3DLayerResource": "./node_modules/arcgis-js-api/symbols/support/IconSymbol3DLayerResource.js",
    "esri/symbols/support/ObjectSymbol3DLayerResource": "./node_modules/arcgis-js-api/symbols/support/ObjectSymbol3DLayerResource.js",
    "esri/symbols/support/StyleOrigin": "./node_modules/arcgis-js-api/symbols/support/StyleOrigin.js",
    "esri/symbols/support/Symbol3DAnchorPosition2D": "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition2D.js",
    "esri/symbols/support/Symbol3DAnchorPosition3D": "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition3D.js",
    "esri/symbols/support/Symbol3DFillMaterial": "./node_modules/arcgis-js-api/symbols/support/Symbol3DFillMaterial.js",
    "esri/symbols/support/Symbol3DHalo": "./node_modules/arcgis-js-api/symbols/support/Symbol3DHalo.js",
    "esri/symbols/support/Symbol3DMaterial": "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js",
    "esri/symbols/support/Symbol3DOutline": "./node_modules/arcgis-js-api/symbols/support/Symbol3DOutline.js",
    "esri/symbols/support/Symbol3DVerticalOffset": "./node_modules/arcgis-js-api/symbols/support/Symbol3DVerticalOffset.js",
    "esri/symbols/support/Thumbnail": "./node_modules/arcgis-js-api/symbols/support/Thumbnail.js",
    "esri/symbols/support/cimSymbolUtils": "./node_modules/arcgis-js-api/symbols/support/cimSymbolUtils.js",
    "esri/symbols/support/colors": "./node_modules/arcgis-js-api/symbols/support/colors.js",
    "esri/symbols/support/defaults": "./node_modules/arcgis-js-api/symbols/support/defaults.js",
    "esri/symbols/support/defaultsJSON": "./node_modules/arcgis-js-api/symbols/support/defaultsJSON.js",
    "esri/symbols/support/gfxUtils": "./node_modules/arcgis-js-api/symbols/support/gfxUtils.js",
    "esri/symbols/support/jsonUtils": "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js",
    "esri/symbols/support/materialUtils": "./node_modules/arcgis-js-api/symbols/support/materialUtils.js",
    "esri/symbols/support/previewCIMSymbol": "./node_modules/arcgis-js-api/symbols/support/previewCIMSymbol.js",
    "esri/symbols/support/previewSymbol2D": "./node_modules/arcgis-js-api/symbols/support/previewSymbol2D.js",
    "esri/symbols/support/previewSymbol3D": "./node_modules/arcgis-js-api/symbols/support/previewSymbol3D.js",
    "esri/symbols/support/previewUtils": "./node_modules/arcgis-js-api/symbols/support/previewUtils.js",
    "esri/symbols/support/previewWebStyleSymbol": "./node_modules/arcgis-js-api/symbols/support/previewWebStyleSymbol.js",
    "esri/symbols/support/renderUtils": "./node_modules/arcgis-js-api/symbols/support/renderUtils.js",
    "esri/symbols/support/styleUtils": "./node_modules/arcgis-js-api/symbols/support/styleUtils.js",
    "esri/symbols/support/svgUtils": "./node_modules/arcgis-js-api/symbols/support/svgUtils.js",
    "esri/symbols/support/symbolConversion": "./node_modules/arcgis-js-api/symbols/support/symbolConversion.js",
    "esri/symbols/support/symbolUtils": "./node_modules/arcgis-js-api/symbols/support/symbolUtils.js",
    "esri/symbols/support/unitConversionUtils": "./node_modules/arcgis-js-api/symbols/support/unitConversionUtils.js",
    "esri/symbols/support/urlUtils": "./node_modules/arcgis-js-api/symbols/support/urlUtils.js",
    "esri/symbols/support/utils": "./node_modules/arcgis-js-api/symbols/support/utils.js",
    "esri/tasks/GeometryService": "./node_modules/arcgis-js-api/tasks/GeometryService.js",
    "esri/tasks/Geoprocessor": "./node_modules/arcgis-js-api/tasks/Geoprocessor.js",
    "esri/tasks/PrintTask": "./node_modules/arcgis-js-api/tasks/PrintTask.js",
    "esri/tasks/QueryTask": "./node_modules/arcgis-js-api/tasks/QueryTask.js",
    "esri/tasks/Task": "./node_modules/arcgis-js-api/tasks/Task.js",
    "esri/tasks/geometry/cut": "./node_modules/arcgis-js-api/tasks/geometry/cut.js",
    "esri/tasks/geometry/simplify": "./node_modules/arcgis-js-api/tasks/geometry/simplify.js",
    "esri/tasks/operations/PBFWorker": "./node_modules/arcgis-js-api/tasks/operations/PBFWorker.js",
    "esri/tasks/operations/pbfDehydratedFeatureSet": "./node_modules/arcgis-js-api/tasks/operations/pbfDehydratedFeatureSet.js",
    "esri/tasks/operations/pbfFeatureServiceParser": "./node_modules/arcgis-js-api/tasks/operations/pbfFeatureServiceParser.js",
    "esri/tasks/operations/pbfOptimizedFeatureSet": "./node_modules/arcgis-js-api/tasks/operations/pbfOptimizedFeatureSet.js",
    "esri/tasks/operations/pbfQueryUtils": "./node_modules/arcgis-js-api/tasks/operations/pbfQueryUtils.js",
    "esri/tasks/operations/query": "./node_modules/arcgis-js-api/tasks/operations/query.js",
    "esri/tasks/operations/queryAttachments": "./node_modules/arcgis-js-api/tasks/operations/queryAttachments.js",
    "esri/tasks/operations/queryRelatedRecords": "./node_modules/arcgis-js-api/tasks/operations/queryRelatedRecords.js",
    "esri/tasks/operations/urlUtils": "./node_modules/arcgis-js-api/tasks/operations/urlUtils.js",
    "esri/tasks/support/AlgorithmicColorRamp": "./node_modules/arcgis-js-api/tasks/support/AlgorithmicColorRamp.js",
    "esri/tasks/support/AttachmentQuery": "./node_modules/arcgis-js-api/tasks/support/AttachmentQuery.js",
    "esri/tasks/support/ColorRamp": "./node_modules/arcgis-js-api/tasks/support/ColorRamp.js",
    "esri/tasks/support/DataFile": "./node_modules/arcgis-js-api/tasks/support/DataFile.js",
    "esri/tasks/support/FeatureSet": "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js",
    "esri/tasks/support/GPMessage": "./node_modules/arcgis-js-api/tasks/support/GPMessage.js",
    "esri/tasks/support/JobInfo": "./node_modules/arcgis-js-api/tasks/support/JobInfo.js",
    "esri/tasks/support/LinearUnit": "./node_modules/arcgis-js-api/tasks/support/LinearUnit.js",
    "esri/tasks/support/MultipartColorRamp": "./node_modules/arcgis-js-api/tasks/support/MultipartColorRamp.js",
    "esri/tasks/support/ParameterValue": "./node_modules/arcgis-js-api/tasks/support/ParameterValue.js",
    "esri/tasks/support/PrintParameters": "./node_modules/arcgis-js-api/tasks/support/PrintParameters.js",
    "esri/tasks/support/PrintTemplate": "./node_modules/arcgis-js-api/tasks/support/PrintTemplate.js",
    "esri/tasks/support/ProjectParameters": "./node_modules/arcgis-js-api/tasks/support/ProjectParameters.js",
    "esri/tasks/support/QuantizationParameters": "./node_modules/arcgis-js-api/tasks/support/QuantizationParameters.js",
    "esri/tasks/support/Query": "./node_modules/arcgis-js-api/tasks/support/Query.js",
    "esri/tasks/support/RasterData": "./node_modules/arcgis-js-api/tasks/support/RasterData.js",
    "esri/tasks/support/RelationshipQuery": "./node_modules/arcgis-js-api/tasks/support/RelationshipQuery.js",
    "esri/tasks/support/StatisticDefinition": "./node_modules/arcgis-js-api/tasks/support/StatisticDefinition.js",
    "esri/tasks/support/colorRamps": "./node_modules/arcgis-js-api/tasks/support/colorRamps.js",
    "esri/tasks/support/fileFormat": "./node_modules/arcgis-js-api/tasks/support/fileFormat.js",
    "esri/tasks/support/layoutTemplate": "./node_modules/arcgis-js-api/tasks/support/layoutTemplate.js",
    "esri/tasks/support/printTaskUtils": "./node_modules/arcgis-js-api/tasks/support/printTaskUtils.js",
    "esri/views/2d/AnimationManager": "./node_modules/arcgis-js-api/views/2d/AnimationManager.js",
    "esri/views/2d/FrameTask": "./node_modules/arcgis-js-api/views/2d/FrameTask.js",
    "esri/views/2d/MapViewConstraints": "./node_modules/arcgis-js-api/views/2d/MapViewConstraints.js",
    "esri/views/2d/PaddedViewState": "./node_modules/arcgis-js-api/views/2d/PaddedViewState.js",
    "esri/views/2d/ViewState": "./node_modules/arcgis-js-api/views/2d/ViewState.js",
    "esri/views/2d/arcade/utils": "./node_modules/arcgis-js-api/views/2d/arcade/utils.js",
    "esri/views/2d/constraints/RotationConstraint": "./node_modules/arcgis-js-api/views/2d/constraints/RotationConstraint.js",
    "esri/views/2d/constraints/ZoomConstraint": "./node_modules/arcgis-js-api/views/2d/constraints/ZoomConstraint.js",
    "esri/views/2d/engine": "./node_modules/arcgis-js-api/views/2d/engine.js",
    "esri/views/2d/engine/Bitmap": "./node_modules/arcgis-js-api/views/2d/engine/Bitmap.js",
    "esri/views/2d/engine/BitmapContainer": "./node_modules/arcgis-js-api/views/2d/engine/BitmapContainer.js",
    "esri/views/2d/engine/BitmapTile": "./node_modules/arcgis-js-api/views/2d/engine/BitmapTile.js",
    "esri/views/2d/engine/BitmapTileContainer": "./node_modules/arcgis-js-api/views/2d/engine/BitmapTileContainer.js",
    "esri/views/2d/engine/Container": "./node_modules/arcgis-js-api/views/2d/engine/Container.js",
    "esri/views/2d/engine/DisplayObject": "./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js",
    "esri/views/2d/engine/ImageryBitmapSource": "./node_modules/arcgis-js-api/views/2d/engine/ImageryBitmapSource.js",
    "esri/views/2d/engine/LevelDependentSizeVariable": "./node_modules/arcgis-js-api/views/2d/engine/LevelDependentSizeVariable.js",
    "esri/views/2d/engine/Stage": "./node_modules/arcgis-js-api/views/2d/engine/Stage.js",
    "esri/views/2d/engine/vectorTiles/GeometryUtils": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/GeometryUtils.js",
    "esri/views/2d/engine/vectorTiles/shaders/ProgramCache": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/ProgramCache.js",
    "esri/views/2d/engine/vectorTiles/shaders/Programs": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/Programs.js",
    "esri/views/2d/engine/vectorTiles/shaders/sources/resolver": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/sources/resolver.js",
    "esri/views/2d/engine/vectorTiles/shaders/sources/shaderRepository": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js",
    "esri/views/2d/engine/webgl/AttributeStoreView": "./node_modules/arcgis-js-api/views/2d/engine/webgl/AttributeStoreView.js",
    "esri/views/2d/engine/webgl/BitBlitRenderer": "./node_modules/arcgis-js-api/views/2d/engine/webgl/BitBlitRenderer.js",
    "esri/views/2d/engine/webgl/ClippingInfo": "./node_modules/arcgis-js-api/views/2d/engine/webgl/ClippingInfo.js",
    "esri/views/2d/engine/webgl/DirtyMap": "./node_modules/arcgis-js-api/views/2d/engine/webgl/DirtyMap.js",
    "esri/views/2d/engine/webgl/DisplayRecordStore": "./node_modules/arcgis-js-api/views/2d/engine/webgl/DisplayRecordStore.js",
    "esri/views/2d/engine/webgl/Fader": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Fader.js",
    "esri/views/2d/engine/webgl/FreeList": "./node_modules/arcgis-js-api/views/2d/engine/webgl/FreeList.js",
    "esri/views/2d/engine/webgl/Geometry": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Geometry.js",
    "esri/views/2d/engine/webgl/GeometryUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/GeometryUtils.js",
    "esri/views/2d/engine/webgl/GlyphMosaic": "./node_modules/arcgis-js-api/views/2d/engine/webgl/GlyphMosaic.js",
    "esri/views/2d/engine/webgl/GlyphSource": "./node_modules/arcgis-js-api/views/2d/engine/webgl/GlyphSource.js",
    "esri/views/2d/engine/webgl/MaterialManager": "./node_modules/arcgis-js-api/views/2d/engine/webgl/MaterialManager.js",
    "esri/views/2d/engine/webgl/MemoryRequirements": "./node_modules/arcgis-js-api/views/2d/engine/webgl/MemoryRequirements.js",
    "esri/views/2d/engine/webgl/Mesh2D": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Mesh2D.js",
    "esri/views/2d/engine/webgl/MeshData": "./node_modules/arcgis-js-api/views/2d/engine/webgl/MeshData.js",
    "esri/views/2d/engine/webgl/Painter": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Painter.js",
    "esri/views/2d/engine/webgl/Profiler": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Profiler.js",
    "esri/views/2d/engine/webgl/Rect": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js",
    "esri/views/2d/engine/webgl/RectangleBinPack": "./node_modules/arcgis-js-api/views/2d/engine/webgl/RectangleBinPack.js",
    "esri/views/2d/engine/webgl/SDFConverter": "./node_modules/arcgis-js-api/views/2d/engine/webgl/SDFConverter.js",
    "esri/views/2d/engine/webgl/SpriteMosaic": "./node_modules/arcgis-js-api/views/2d/engine/webgl/SpriteMosaic.js",
    "esri/views/2d/engine/webgl/SymbolProperties": "./node_modules/arcgis-js-api/views/2d/engine/webgl/SymbolProperties.js",
    "esri/views/2d/engine/webgl/TextShaping": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShaping.js",
    "esri/views/2d/engine/webgl/TextShapingNew": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShapingNew.js",
    "esri/views/2d/engine/webgl/TextureManager": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextureManager.js",
    "esri/views/2d/engine/webgl/TileBufferData": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileBufferData.js",
    "esri/views/2d/engine/webgl/TileClipper": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileClipper.js",
    "esri/views/2d/engine/webgl/TileContainer": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileContainer.js",
    "esri/views/2d/engine/webgl/TileData": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileData.js",
    "esri/views/2d/engine/webgl/TileDisplayData": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileDisplayData.js",
    "esri/views/2d/engine/webgl/TiledDisplayObject": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TiledDisplayObject.js",
    "esri/views/2d/engine/webgl/TurboLine": "./node_modules/arcgis-js-api/views/2d/engine/webgl/TurboLine.js",
    "esri/views/2d/engine/webgl/Utils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js",
    "esri/views/2d/engine/webgl/VertexStream": "./node_modules/arcgis-js-api/views/2d/engine/webgl/VertexStream.js",
    "esri/views/2d/engine/webgl/WGLBuffers": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLBuffers.js",
    "esri/views/2d/engine/webgl/WGLContainer": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.js",
    "esri/views/2d/engine/webgl/WGLDisplayList": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayList.js",
    "esri/views/2d/engine/webgl/WGLDisplayObject": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayObject.js",
    "esri/views/2d/engine/webgl/WGLDisplayRecord": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js",
    "esri/views/2d/engine/webgl/WGLRendererInfo": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLRendererInfo.js",
    "esri/views/2d/engine/webgl/WGLTile": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLTile.js",
    "esri/views/2d/engine/webgl/WebGLDriverTest": "./node_modules/arcgis-js-api/views/2d/engine/webgl/WebGLDriverTest.js",
    "esri/views/2d/engine/webgl/alignmentUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/alignmentUtils.js",
    "esri/views/2d/engine/webgl/brushes/BrushBitmap": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/BrushBitmap.js",
    "esri/views/2d/engine/webgl/brushes/BrushClip": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/BrushClip.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrush": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushInfo": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushInfo.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushStencil": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushStencil.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushVTLBackground": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLBackground.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushVTLCircle": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLCircle.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushVTLFill": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLFill.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushVTLLine": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLLine.js",
    "esri/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol.js",
    "esri/views/2d/engine/webgl/brushes/WGLGeometryBrush": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js",
    "esri/views/2d/engine/webgl/brushes/WGLGeometryBrushFill": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushFill.js",
    "esri/views/2d/engine/webgl/brushes/WGLGeometryBrushLabel": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushLabel.js",
    "esri/views/2d/engine/webgl/brushes/WGLGeometryBrushLine": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushLine.js",
    "esri/views/2d/engine/webgl/brushes/WGLGeometryBrushMarker": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushMarker.js",
    "esri/views/2d/engine/webgl/brushes/WGLGeometryBrushText": "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushText.js",
    "esri/views/2d/engine/webgl/collisions/BoundingBox": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/BoundingBox.js",
    "esri/views/2d/engine/webgl/collisions/CollisionBucket": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionBucket.js",
    "esri/views/2d/engine/webgl/collisions/CollisionBucketEntry": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionBucketEntry.js",
    "esri/views/2d/engine/webgl/collisions/CollisionEngine": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionEngine.js",
    "esri/views/2d/engine/webgl/collisions/CollisionGrid": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionGrid.js",
    "esri/views/2d/engine/webgl/collisions/LayerCollisionInfo": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/LayerCollisionInfo.js",
    "esri/views/2d/engine/webgl/collisions/LayerViewSorter": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/LayerViewSorter.js",
    "esri/views/2d/engine/webgl/collisions/Metric": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/Metric.js",
    "esri/views/2d/engine/webgl/collisions/visualVariableSimpleUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/visualVariableSimpleUtils.js",
    "esri/views/2d/engine/webgl/color": "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js",
    "esri/views/2d/engine/webgl/definitions": "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js",
    "esri/views/2d/engine/webgl/effects/AnimationEffect": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/AnimationEffect.js",
    "esri/views/2d/engine/webgl/effects/Effect": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/Effect.js",
    "esri/views/2d/engine/webgl/effects/HighlightEffect": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/HighlightEffect.js",
    "esri/views/2d/engine/webgl/effects/HittestEffect": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/HittestEffect.js",
    "esri/views/2d/engine/webgl/effects/highlight/HighlightGradient": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightGradient.js",
    "esri/views/2d/engine/webgl/effects/highlight/HighlightRenderer": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightRenderer.js",
    "esri/views/2d/engine/webgl/effects/highlight/HighlightSurfaces": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightSurfaces.js",
    "esri/views/2d/engine/webgl/effects/highlight/parameters": "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/parameters.js",
    "esri/views/2d/engine/webgl/enums": "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js",
    "esri/views/2d/engine/webgl/fontUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/fontUtils.js",
    "esri/views/2d/engine/webgl/materialKey/MaterialKey": "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js",
    "esri/views/2d/engine/webgl/mesh/MeshData": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/MeshData.js",
    "esri/views/2d/engine/webgl/mesh/Tesselator": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/Tesselator.js",
    "esri/views/2d/engine/webgl/mesh/VertexBuffer": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexBuffer.js",
    "esri/views/2d/engine/webgl/mesh/VertexVector": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexVector.js",
    "esri/views/2d/engine/webgl/mesh/factories/WGLMeshFactory": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/WGLMeshFactory.js",
    "esri/views/2d/engine/webgl/mesh/factories/matcherUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/matcherUtils.js",
    "esri/views/2d/engine/webgl/mesh/templates/ComputedGlyph": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/ComputedGlyph.js",
    "esri/views/2d/engine/webgl/mesh/templates/GlyphGroup": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/GlyphGroup.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLBaseLineTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseLineTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLBaseMarkerTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseMarkerTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLBaseTextTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseTextTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLDynamicLineTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicLineTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLDynamicMarkerTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMarkerTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLDynamicTextTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicTextTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLFillTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLLineTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLineTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLMarkerTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMarkerTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLTemplateStore": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTemplateStore.js",
    "esri/views/2d/engine/webgl/mesh/templates/WGLTextTemplate": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTextTemplate.js",
    "esri/views/2d/engine/webgl/mesh/templates/util": "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js",
    "esri/views/2d/engine/webgl/number": "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js",
    "esri/views/2d/engine/webgl/packingUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/packingUtils.js",
    "esri/views/2d/engine/webgl/painter/RenderPass": "./node_modules/arcgis-js-api/views/2d/engine/webgl/painter/RenderPass.js",
    "esri/views/2d/engine/webgl/shaders/BackgroundPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BackgroundPrograms.js",
    "esri/views/2d/engine/webgl/shaders/BitBlitPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BitBlitPrograms.js",
    "esri/views/2d/engine/webgl/shaders/HighlightPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/HighlightPrograms.js",
    "esri/views/2d/engine/webgl/shaders/MagnifierPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/MagnifierPrograms.js",
    "esri/views/2d/engine/webgl/shaders/MaterialPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/MaterialPrograms.js",
    "esri/views/2d/engine/webgl/shaders/StencilPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/StencilPrograms.js",
    "esri/views/2d/engine/webgl/shaders/TileInfoPrograms": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/TileInfoPrograms.js",
    "esri/views/2d/engine/webgl/shaders/sources/resolver": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js",
    "esri/views/2d/engine/webgl/shaders/sources/shaderRepository": "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/shaderRepository.js",
    "esri/views/2d/engine/webgl/util/BidiText": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/BidiText.js",
    "esri/views/2d/engine/webgl/util/Lock": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Lock.js",
    "esri/views/2d/engine/webgl/util/Matcher": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Matcher.js",
    "esri/views/2d/engine/webgl/util/Reader": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Reader.js",
    "esri/views/2d/engine/webgl/util/Result": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js",
    "esri/views/2d/engine/webgl/util/Writer": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Writer.js",
    "esri/views/2d/engine/webgl/util/debug": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/debug.js",
    "esri/views/2d/engine/webgl/util/serializationUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js",
    "esri/views/2d/engine/webgl/util/symbolUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/symbolUtils.js",
    "esri/views/2d/engine/webgl/util/vvFlagUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/vvFlagUtils.js",
    "esri/views/2d/engine/webgl/visualVariablesUtils": "./node_modules/arcgis-js-api/views/2d/engine/webgl/visualVariablesUtils.js",
    "esri/views/2d/input/MapViewInputManager": "./node_modules/arcgis-js-api/views/2d/input/MapViewInputManager.js",
    "esri/views/2d/input/handlers/DoubleClickZoom": "./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleClickZoom.js",
    "esri/views/2d/input/handlers/DoubleTapDragZoom": "./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleTapDragZoom.js",
    "esri/views/2d/input/handlers/DragPan": "./node_modules/arcgis-js-api/views/2d/input/handlers/DragPan.js",
    "esri/views/2d/input/handlers/DragRotate": "./node_modules/arcgis-js-api/views/2d/input/handlers/DragRotate.js",
    "esri/views/2d/input/handlers/GamepadNavigation": "./node_modules/arcgis-js-api/views/2d/input/handlers/GamepadNavigation.js",
    "esri/views/2d/input/handlers/KeyPan": "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyPan.js",
    "esri/views/2d/input/handlers/KeyRotate": "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyRotate.js",
    "esri/views/2d/input/handlers/KeyZoom": "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyZoom.js",
    "esri/views/2d/input/handlers/MouseWheelZoom": "./node_modules/arcgis-js-api/views/2d/input/handlers/MouseWheelZoom.js",
    "esri/views/2d/input/handlers/PinchAction": "./node_modules/arcgis-js-api/views/2d/input/handlers/PinchAction.js",
    "esri/views/2d/layerViewModuleImportUtils": "./node_modules/arcgis-js-api/views/2d/layerViewModuleImportUtils.js",
    "esri/views/2d/layers/support/clusterUtils": "./node_modules/arcgis-js-api/views/2d/layers/support/clusterUtils.js",
    "esri/views/2d/support/HighlightOptions": "./node_modules/arcgis-js-api/views/2d/support/HighlightOptions.js",
    "esri/views/2d/support/Timeline": "./node_modules/arcgis-js-api/views/2d/support/Timeline.js",
    "esri/views/2d/tiling": "./node_modules/arcgis-js-api/views/2d/tiling.js",
    "esri/views/2d/tiling/LODInfo": "./node_modules/arcgis-js-api/views/2d/tiling/LODInfo.js",
    "esri/views/2d/tiling/TileCache": "./node_modules/arcgis-js-api/views/2d/tiling/TileCache.js",
    "esri/views/2d/tiling/TileCoverage": "./node_modules/arcgis-js-api/views/2d/tiling/TileCoverage.js",
    "esri/views/2d/tiling/TileInfoView": "./node_modules/arcgis-js-api/views/2d/tiling/TileInfoView.js",
    "esri/views/2d/tiling/TileKey": "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js",
    "esri/views/2d/tiling/TileQueue": "./node_modules/arcgis-js-api/views/2d/tiling/TileQueue.js",
    "esri/views/2d/tiling/TileSpan": "./node_modules/arcgis-js-api/views/2d/tiling/TileSpan.js",
    "esri/views/2d/tiling/TileStrategy": "./node_modules/arcgis-js-api/views/2d/tiling/TileStrategy.js",
    "esri/views/2d/unitBezier": "./node_modules/arcgis-js-api/views/2d/unitBezier.js",
    "esri/views/2d/viewpointUtils": "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js",
    "esri/views/3d/support/mathUtils": "./node_modules/arcgis-js-api/views/3d/support/mathUtils.js",
    "esri/views/BasemapView": "./node_modules/arcgis-js-api/views/BasemapView.js",
    "esri/views/BreakpointsOwner": "./node_modules/arcgis-js-api/views/BreakpointsOwner.js",
    "esri/views/DOMContainer": "./node_modules/arcgis-js-api/views/DOMContainer.js",
    "esri/views/LayerViewManager": "./node_modules/arcgis-js-api/views/LayerViewManager.js",
    "esri/views/Magnifier": "./node_modules/arcgis-js-api/views/Magnifier.js",
    "esri/views/MapView": "./node_modules/arcgis-js-api/views/MapView.js",
    "esri/views/MapViewBase": "./node_modules/arcgis-js-api/views/MapViewBase.js",
    "esri/views/PopupView": "./node_modules/arcgis-js-api/views/PopupView.js",
    "esri/views/RefreshManager": "./node_modules/arcgis-js-api/views/RefreshManager.js",
    "esri/views/ToolViewManager": "./node_modules/arcgis-js-api/views/ToolViewManager.js",
    "esri/views/View": "./node_modules/arcgis-js-api/views/View.js",
    "esri/views/ViewAnimation": "./node_modules/arcgis-js-api/views/ViewAnimation.js",
    "esri/views/draw/Draw": "./node_modules/arcgis-js-api/views/draw/Draw.js",
    "esri/views/draw/DrawAction": "./node_modules/arcgis-js-api/views/draw/DrawAction.js",
    "esri/views/draw/MultipointDrawAction": "./node_modules/arcgis-js-api/views/draw/MultipointDrawAction.js",
    "esri/views/draw/PointDrawAction": "./node_modules/arcgis-js-api/views/draw/PointDrawAction.js",
    "esri/views/draw/PolygonDrawAction": "./node_modules/arcgis-js-api/views/draw/PolygonDrawAction.js",
    "esri/views/draw/PolylineDrawAction": "./node_modules/arcgis-js-api/views/draw/PolylineDrawAction.js",
    "esri/views/draw/SegmentDrawAction": "./node_modules/arcgis-js-api/views/draw/SegmentDrawAction.js",
    "esri/views/draw/input/DrawEvents": "./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js",
    "esri/views/draw/input/Keys": "./node_modules/arcgis-js-api/views/draw/input/Keys.js",
    "esri/views/input/BrowserEventSource": "./node_modules/arcgis-js-api/views/input/BrowserEventSource.js",
    "esri/views/input/DragEventSeparator": "./node_modules/arcgis-js-api/views/input/DragEventSeparator.js",
    "esri/views/input/EventMatch": "./node_modules/arcgis-js-api/views/input/EventMatch.js",
    "esri/views/input/Input": "./node_modules/arcgis-js-api/views/input/Input.js",
    "esri/views/input/InputHandler": "./node_modules/arcgis-js-api/views/input/InputHandler.js",
    "esri/views/input/InputManager": "./node_modules/arcgis-js-api/views/input/InputManager.js",
    "esri/views/input/ViewEvents": "./node_modules/arcgis-js-api/views/input/ViewEvents.js",
    "esri/views/input/gamepad/GamepadInputDevice": "./node_modules/arcgis-js-api/views/input/gamepad/GamepadInputDevice.js",
    "esri/views/input/gamepad/GamepadSettings": "./node_modules/arcgis-js-api/views/input/gamepad/GamepadSettings.js",
    "esri/views/input/gamepad/GamepadSource": "./node_modules/arcgis-js-api/views/input/gamepad/GamepadSource.js",
    "esri/views/input/gamepad/GamepadState": "./node_modules/arcgis-js-api/views/input/gamepad/GamepadState.js",
    "esri/views/input/handlers/LatestPointerType": "./node_modules/arcgis-js-api/views/input/handlers/LatestPointerType.js",
    "esri/views/input/handlers/PreventContextMenu": "./node_modules/arcgis-js-api/views/input/handlers/PreventContextMenu.js",
    "esri/views/input/handlers/support": "./node_modules/arcgis-js-api/views/input/handlers/support.js",
    "esri/views/input/keys": "./node_modules/arcgis-js-api/views/input/keys.js",
    "esri/views/input/recognizers/DoubleTapDrag": "./node_modules/arcgis-js-api/views/input/recognizers/DoubleTapDrag.js",
    "esri/views/input/recognizers/Drag": "./node_modules/arcgis-js-api/views/input/recognizers/Drag.js",
    "esri/views/input/recognizers/PointerClickHoldAndDrag": "./node_modules/arcgis-js-api/views/input/recognizers/PointerClickHoldAndDrag.js",
    "esri/views/input/recognizers/SingleAndDoubleClick": "./node_modules/arcgis-js-api/views/input/recognizers/SingleAndDoubleClick.js",
    "esri/views/input/recognizers/support": "./node_modules/arcgis-js-api/views/input/recognizers/support.js",
    "esri/views/interactive/ToolViewManagerManipulatorState": "./node_modules/arcgis-js-api/views/interactive/ToolViewManagerManipulatorState.js",
    "esri/views/interactive/interactiveToolUtils": "./node_modules/arcgis-js-api/views/interactive/interactiveToolUtils.js",
    "esri/views/layers/RefreshableLayerView": "./node_modules/arcgis-js-api/views/layers/RefreshableLayerView.js",
    "esri/views/navigation/Navigation": "./node_modules/arcgis-js-api/views/navigation/Navigation.js",
    "esri/views/navigation/gamepad/GamepadSettings": "./node_modules/arcgis-js-api/views/navigation/gamepad/GamepadSettings.js",
    "esri/views/navigation/gamepadAndKeyboardUtils": "./node_modules/arcgis-js-api/views/navigation/gamepadAndKeyboardUtils.js",
    "esri/views/overlay/ViewOverlay": "./node_modules/arcgis-js-api/views/overlay/ViewOverlay.js",
    "esri/views/support/DefaultsFromMap": "./node_modules/arcgis-js-api/views/support/DefaultsFromMap.js",
    "esri/views/support/QueueProcessor": "./node_modules/arcgis-js-api/views/support/QueueProcessor.js",
    "esri/views/support/Scheduler": "./node_modules/arcgis-js-api/views/support/Scheduler.js",
    "esri/views/support/WatchUpdatingTracking": "./node_modules/arcgis-js-api/views/support/WatchUpdatingTracking.js",
    "esri/views/support/WebGLRequirements": "./node_modules/arcgis-js-api/views/support/WebGLRequirements.js",
    "esri/views/support/debugFlags": "./node_modules/arcgis-js-api/views/support/debugFlags.js",
    "esri/views/support/layerViewUtils": "./node_modules/arcgis-js-api/views/support/layerViewUtils.js",
    "esri/views/support/screenshotUtils": "./node_modules/arcgis-js-api/views/support/screenshotUtils.js",
    "esri/views/ui/2d/DefaultUI2D": "./node_modules/arcgis-js-api/views/ui/2d/DefaultUI2D.js",
    "esri/views/ui/Component": "./node_modules/arcgis-js-api/views/ui/Component.js",
    "esri/views/ui/DefaultUI": "./node_modules/arcgis-js-api/views/ui/DefaultUI.js",
    "esri/views/ui/UI": "./node_modules/arcgis-js-api/views/ui/UI.js",
    "esri/views/webgl": "./node_modules/arcgis-js-api/views/webgl.js",
    "esri/views/webgl/BufferObject": "./node_modules/arcgis-js-api/views/webgl/BufferObject.js",
    "esri/views/webgl/FramebufferObject": "./node_modules/arcgis-js-api/views/webgl/FramebufferObject.js",
    "esri/views/webgl/InstanceCounter": "./node_modules/arcgis-js-api/views/webgl/InstanceCounter.js",
    "esri/views/webgl/Program": "./node_modules/arcgis-js-api/views/webgl/Program.js",
    "esri/views/webgl/ProgramCache": "./node_modules/arcgis-js-api/views/webgl/ProgramCache.js",
    "esri/views/webgl/Renderbuffer": "./node_modules/arcgis-js-api/views/webgl/Renderbuffer.js",
    "esri/views/webgl/RenderingContext": "./node_modules/arcgis-js-api/views/webgl/RenderingContext.js",
    "esri/views/webgl/ShaderCompiler": "./node_modules/arcgis-js-api/views/webgl/ShaderCompiler.js",
    "esri/views/webgl/ShaderTranspiler": "./node_modules/arcgis-js-api/views/webgl/ShaderTranspiler.js",
    "esri/views/webgl/Texture": "./node_modules/arcgis-js-api/views/webgl/Texture.js",
    "esri/views/webgl/Util": "./node_modules/arcgis-js-api/views/webgl/Util.js",
    "esri/views/webgl/VertexArrayObject": "./node_modules/arcgis-js-api/views/webgl/VertexArrayObject.js",
    "esri/views/webgl/capabilities/DisjointTimerQuery": "./node_modules/arcgis-js-api/views/webgl/capabilities/DisjointTimerQuery.js",
    "esri/views/webgl/capabilities/Instancing": "./node_modules/arcgis-js-api/views/webgl/capabilities/Instancing.js",
    "esri/views/webgl/capabilities/LoseContext": "./node_modules/arcgis-js-api/views/webgl/capabilities/LoseContext.js",
    "esri/views/webgl/capabilities/VertexArrayObjects": "./node_modules/arcgis-js-api/views/webgl/capabilities/VertexArrayObjects.js",
    "esri/views/webgl/capabilities/isWebGL2Context": "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js",
    "esri/views/webgl/capabilities/load": "./node_modules/arcgis-js-api/views/webgl/capabilities/load.js",
    "esri/views/webgl/context-util": "./node_modules/arcgis-js-api/views/webgl/context-util.js",
    "esri/views/webgl/enums": "./node_modules/arcgis-js-api/views/webgl/enums.js",
    "esri/views/webgl/lib/glsl-tokenizer/index": "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/index.js",
    "esri/views/webgl/lib/glsl-tokenizer/lib/builtins": "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/builtins.js",
    "esri/views/webgl/lib/glsl-tokenizer/lib/literals": "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/literals.js",
    "esri/views/webgl/lib/glsl-tokenizer/lib/operators": "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/operators.js",
    "esri/views/webgl/lib/glsl-tokenizer/string": "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/string.js",
    "esri/views/webgl/programUtils": "./node_modules/arcgis-js-api/views/webgl/programUtils.js",
    "esri/views/webgl/renderState": "./node_modules/arcgis-js-api/views/webgl/renderState.js",
    "esri/views/webgl/reservedWordsGLSL3": "./node_modules/arcgis-js-api/views/webgl/reservedWordsGLSL3.js",
    "esri/webdoc/support/opacityUtils": "./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js",
    "esri/webdoc/support/writeUtils": "./node_modules/arcgis-js-api/webdoc/support/writeUtils.js",
    "esri/widgets/Attribution": "./node_modules/arcgis-js-api/widgets/Attribution.js",
    "esri/widgets/Attribution/AttributionViewModel": "./node_modules/arcgis-js-api/widgets/Attribution/AttributionViewModel.js",
    "esri/widgets/Attribution/nls/Attribution": "./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js",
    "esri/widgets/Attribution/nls/vi/Attribution": "./node_modules/arcgis-js-api/widgets/Attribution/nls/vi/Attribution.js",
    "esri/widgets/BasemapToggle": "./node_modules/arcgis-js-api/widgets/BasemapToggle.js",
    "esri/widgets/BasemapToggle/BasemapToggleViewModel": "./node_modules/arcgis-js-api/widgets/BasemapToggle/BasemapToggleViewModel.js",
    "esri/widgets/BasemapToggle/nls/BasemapToggle": "./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js",
    "esri/widgets/BasemapToggle/nls/vi/BasemapToggle": "./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/vi/BasemapToggle.js",
    "esri/widgets/Compass": "./node_modules/arcgis-js-api/widgets/Compass.js",
    "esri/widgets/Compass/CompassViewModel": "./node_modules/arcgis-js-api/widgets/Compass/CompassViewModel.js",
    "esri/widgets/Compass/nls/Compass": "./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js",
    "esri/widgets/Compass/nls/vi/Compass": "./node_modules/arcgis-js-api/widgets/Compass/nls/vi/Compass.js",
    "esri/widgets/Expand": "./node_modules/arcgis-js-api/widgets/Expand.js",
    "esri/widgets/Expand/ExpandViewModel": "./node_modules/arcgis-js-api/widgets/Expand/ExpandViewModel.js",
    "esri/widgets/Expand/nls/Expand": "./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js",
    "esri/widgets/Expand/nls/vi/Expand": "./node_modules/arcgis-js-api/widgets/Expand/nls/vi/Expand.js",
    "esri/widgets/Home": "./node_modules/arcgis-js-api/widgets/Home.js",
    "esri/widgets/Home/HomeViewModel": "./node_modules/arcgis-js-api/widgets/Home/HomeViewModel.js",
    "esri/widgets/Home/nls/Home": "./node_modules/arcgis-js-api/widgets/Home/nls/Home.js",
    "esri/widgets/Home/nls/vi/Home": "./node_modules/arcgis-js-api/widgets/Home/nls/vi/Home.js",
    "esri/widgets/LayerList": "./node_modules/arcgis-js-api/widgets/LayerList.js",
    "esri/widgets/LayerList/LayerListViewModel": "./node_modules/arcgis-js-api/widgets/LayerList/LayerListViewModel.js",
    "esri/widgets/LayerList/ListItem": "./node_modules/arcgis-js-api/widgets/LayerList/ListItem.js",
    "esri/widgets/LayerList/ListItemPanel": "./node_modules/arcgis-js-api/widgets/LayerList/ListItemPanel.js",
    "esri/widgets/LayerList/nls/LayerList": "./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js",
    "esri/widgets/LayerList/nls/vi/LayerList": "./node_modules/arcgis-js-api/widgets/LayerList/nls/vi/LayerList.js",
    "esri/widgets/LayerList/support/layerListUtils": "./node_modules/arcgis-js-api/widgets/LayerList/support/layerListUtils.js",
    "esri/widgets/Legend": "./node_modules/arcgis-js-api/widgets/Legend.js",
    "esri/widgets/Legend/LegendViewModel": "./node_modules/arcgis-js-api/widgets/Legend/LegendViewModel.js",
    "esri/widgets/Legend/nls/Legend": "./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js",
    "esri/widgets/Legend/nls/vi/Legend": "./node_modules/arcgis-js-api/widgets/Legend/nls/vi/Legend.js",
    "esri/widgets/Legend/styles/Card": "./node_modules/arcgis-js-api/widgets/Legend/styles/Card.js",
    "esri/widgets/Legend/styles/Classic": "./node_modules/arcgis-js-api/widgets/Legend/styles/Classic.js",
    "esri/widgets/Legend/styles/support/utils": "./node_modules/arcgis-js-api/widgets/Legend/styles/support/utils.js",
    "esri/widgets/Legend/support/ActiveLayerInfo": "./node_modules/arcgis-js-api/widgets/Legend/support/ActiveLayerInfo.js",
    "esri/widgets/Legend/support/colorRampUtils": "./node_modules/arcgis-js-api/widgets/Legend/support/colorRampUtils.js",
    "esri/widgets/Legend/support/heatmapRampUtils": "./node_modules/arcgis-js-api/widgets/Legend/support/heatmapRampUtils.js",
    "esri/widgets/Legend/support/relationshipRampUtils": "./node_modules/arcgis-js-api/widgets/Legend/support/relationshipRampUtils.js",
    "esri/widgets/Legend/support/sizeRampUtils": "./node_modules/arcgis-js-api/widgets/Legend/support/sizeRampUtils.js",
    "esri/widgets/Legend/support/styleUtils": "./node_modules/arcgis-js-api/widgets/Legend/support/styleUtils.js",
    "esri/widgets/Legend/support/utils": "./node_modules/arcgis-js-api/widgets/Legend/support/utils.js",
    "esri/widgets/Locate": "./node_modules/arcgis-js-api/widgets/Locate.js",
    "esri/widgets/Locate/LocateViewModel": "./node_modules/arcgis-js-api/widgets/Locate/LocateViewModel.js",
    "esri/widgets/Locate/nls/Locate": "./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js",
    "esri/widgets/Locate/nls/vi/Locate": "./node_modules/arcgis-js-api/widgets/Locate/nls/vi/Locate.js",
    "esri/widgets/Measurement": "./node_modules/arcgis-js-api/widgets/Measurement.js",
    "esri/widgets/Measurement/MeasurementViewModel": "./node_modules/arcgis-js-api/widgets/Measurement/MeasurementViewModel.js",
    "esri/widgets/Measurement/nls/Measurement": "./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js",
    "esri/widgets/Measurement/nls/vi/Measurement": "./node_modules/arcgis-js-api/widgets/Measurement/nls/vi/Measurement.js",
    "esri/widgets/NavigationToggle": "./node_modules/arcgis-js-api/widgets/NavigationToggle.js",
    "esri/widgets/NavigationToggle/NavigationToggleViewModel": "./node_modules/arcgis-js-api/widgets/NavigationToggle/NavigationToggleViewModel.js",
    "esri/widgets/NavigationToggle/nls/NavigationToggle": "./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js",
    "esri/widgets/NavigationToggle/nls/vi/NavigationToggle": "./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/vi/NavigationToggle.js",
    "esri/widgets/Popup": "./node_modules/arcgis-js-api/widgets/Popup.js",
    "esri/widgets/Popup/PopupViewModel": "./node_modules/arcgis-js-api/widgets/Popup/PopupViewModel.js",
    "esri/widgets/Popup/actions": "./node_modules/arcgis-js-api/widgets/Popup/actions.js",
    "esri/widgets/Popup/nls/Popup": "./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js",
    "esri/widgets/Popup/nls/vi/Popup": "./node_modules/arcgis-js-api/widgets/Popup/nls/vi/Popup.js",
    "esri/widgets/Print": "./node_modules/arcgis-js-api/widgets/Print.js",
    "esri/widgets/Print/FileLink": "./node_modules/arcgis-js-api/widgets/Print/FileLink.js",
    "esri/widgets/Print/PrintViewModel": "./node_modules/arcgis-js-api/widgets/Print/PrintViewModel.js",
    "esri/widgets/Print/TemplateOptions": "./node_modules/arcgis-js-api/widgets/Print/TemplateOptions.js",
    "esri/widgets/Print/nls/Print": "./node_modules/arcgis-js-api/widgets/Print/nls/Print.js",
    "esri/widgets/Print/nls/vi/Print": "./node_modules/arcgis-js-api/widgets/Print/nls/vi/Print.js",
    "esri/widgets/Spinner": "./node_modules/arcgis-js-api/widgets/Spinner.js",
    "esri/widgets/Spinner/SpinnerViewModel": "./node_modules/arcgis-js-api/widgets/Spinner/SpinnerViewModel.js",
    "esri/widgets/Widget": "./node_modules/arcgis-js-api/widgets/Widget.js",
    "esri/widgets/Zoom": "./node_modules/arcgis-js-api/widgets/Zoom.js",
    "esri/widgets/Zoom/IconButton": "./node_modules/arcgis-js-api/widgets/Zoom/IconButton.js",
    "esri/widgets/Zoom/ZoomConditions2D": "./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions2D.js",
    "esri/widgets/Zoom/ZoomConditions3D": "./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions3D.js",
    "esri/widgets/Zoom/ZoomViewModel": "./node_modules/arcgis-js-api/widgets/Zoom/ZoomViewModel.js",
    "esri/widgets/Zoom/nls/Zoom": "./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js",
    "esri/widgets/Zoom/nls/vi/Zoom": "./node_modules/arcgis-js-api/widgets/Zoom/nls/vi/Zoom.js",
    "esri/widgets/support/AnchorElementViewModel": "./node_modules/arcgis-js-api/widgets/support/AnchorElementViewModel.js",
    "esri/widgets/support/GeolocationPositioning": "./node_modules/arcgis-js-api/widgets/support/GeolocationPositioning.js",
    "esri/widgets/support/GoTo": "./node_modules/arcgis-js-api/widgets/support/GoTo.js",
    "esri/widgets/support/colorUtils": "./node_modules/arcgis-js-api/widgets/support/colorUtils.js",
    "esri/widgets/support/commonProperties": "./node_modules/arcgis-js-api/widgets/support/commonProperties.js",
    "esri/widgets/support/decorators": "./node_modules/arcgis-js-api/widgets/support/decorators.js",
    "esri/widgets/support/decorators/accessibleHandler": "./node_modules/arcgis-js-api/widgets/support/decorators/accessibleHandler.js",
    "esri/widgets/support/decorators/propUtils": "./node_modules/arcgis-js-api/widgets/support/decorators/propUtils.js",
    "esri/widgets/support/decorators/renderable": "./node_modules/arcgis-js-api/widgets/support/decorators/renderable.js",
    "esri/widgets/support/decorators/vmEvent": "./node_modules/arcgis-js-api/widgets/support/decorators/vmEvent.js",
    "esri/widgets/support/jsxFactory": "./node_modules/arcgis-js-api/widgets/support/jsxFactory.js",
    "esri/widgets/support/shim/SVGElement": "./node_modules/arcgis-js-api/widgets/support/shim/SVGElement.js",
    "esri/widgets/support/widget": "./node_modules/arcgis-js-api/widgets/support/widget.js",
    "esri/widgets/support/widgetUtils": "./node_modules/arcgis-js-api/widgets/support/widgetUtils.js",
    // "./array.js" = "./node_modules/d3-array/src/array.js"
    // "./ascending.js" = "./node_modules/d3-array/src/ascending.js"
    // "./bin.js" = "./node_modules/d3-array/src/bin.js"
    // "./bisect.js" = "./node_modules/d3-array/src/bisect.js"
    // "./bisector.js" = "./node_modules/d3-array/src/bisector.js"
    // "./constant.js" = "./node_modules/d3-array/src/constant.js"
    // "./count.js" = "./node_modules/d3-array/src/count.js"
    // "./cross.js" = "./node_modules/d3-array/src/cross.js"
    // "./cumsum.js" = "./node_modules/d3-array/src/cumsum.js"
    // "./descending.js" = "./node_modules/d3-array/src/descending.js"
    // "./deviation.js" = "./node_modules/d3-array/src/deviation.js"
    // "./difference.js" = "./node_modules/d3-array/src/difference.js"
    // "./disjoint.js" = "./node_modules/d3-array/src/disjoint.js"
    // "./every.js" = "./node_modules/d3-array/src/every.js"
    // "./extent.js" = "./node_modules/d3-array/src/extent.js"
    // "./filter.js" = "./node_modules/d3-array/src/filter.js"
    // "./fsum.js" = "./node_modules/d3-array/src/fsum.js"
    // "./greatest.js" = "./node_modules/d3-array/src/greatest.js"
    // "./greatestIndex.js" = "./node_modules/d3-array/src/greatestIndex.js"
    // "./group.js" = "./node_modules/d3-array/src/group.js"
    // "./groupSort.js" = "./node_modules/d3-array/src/groupSort.js"
    // "./identity.js" = "./node_modules/d3-array/src/identity.js"
    // "d3-array" = "./node_modules/d3-array/src/index.js"
    // "./intersection.js" = "./node_modules/d3-array/src/intersection.js"
    // "./least.js" = "./node_modules/d3-array/src/least.js"
    // "./leastIndex.js" = "./node_modules/d3-array/src/leastIndex.js"
    // "./map.js" = "./node_modules/d3-array/src/map.js"
    // "./max.js" = "./node_modules/d3-array/src/max.js"
    // "./maxIndex.js" = "./node_modules/d3-array/src/maxIndex.js"
    // "./mean.js" = "./node_modules/d3-array/src/mean.js"
    // "./median.js" = "./node_modules/d3-array/src/median.js"
    // "./merge.js" = "./node_modules/d3-array/src/merge.js"
    // "./min.js" = "./node_modules/d3-array/src/min.js"
    // "./minIndex.js" = "./node_modules/d3-array/src/minIndex.js"
    // "./nice.js" = "./node_modules/d3-array/src/nice.js"
    // "./number.js" = "./node_modules/d3-array/src/number.js"
    // "./pairs.js" = "./node_modules/d3-array/src/pairs.js"
    // "./permute.js" = "./node_modules/d3-array/src/permute.js"
    // "./quantile.js" = "./node_modules/d3-array/src/quantile.js"
    // "./quickselect.js" = "./node_modules/d3-array/src/quickselect.js"
    // "./range.js" = "./node_modules/d3-array/src/range.js"
    // "./reduce.js" = "./node_modules/d3-array/src/reduce.js"
    // "./reverse.js" = "./node_modules/d3-array/src/reverse.js"
    // "./scan.js" = "./node_modules/d3-array/src/scan.js"
    // "./set.js" = "./node_modules/d3-array/src/set.js"
    // "./shuffle.js" = "./node_modules/d3-array/src/shuffle.js"
    // "./some.js" = "./node_modules/d3-array/src/some.js"
    // "./sort.js" = "./node_modules/d3-array/src/sort.js"
    // "./subset.js" = "./node_modules/d3-array/src/subset.js"
    // "./sum.js" = "./node_modules/d3-array/src/sum.js"
    // "./superset.js" = "./node_modules/d3-array/src/superset.js"
    // "./threshold/freedmanDiaconis.js" = "./node_modules/d3-array/src/threshold/freedmanDiaconis.js"
    // "./threshold/scott.js" = "./node_modules/d3-array/src/threshold/scott.js"
    // "./threshold/sturges.js" = "./node_modules/d3-array/src/threshold/sturges.js"
    // "./ticks.js" = "./node_modules/d3-array/src/ticks.js"
    // "./transpose.js" = "./node_modules/d3-array/src/transpose.js"
    // "./union.js" = "./node_modules/d3-array/src/union.js"
    // "./variance.js" = "./node_modules/d3-array/src/variance.js"
    // "./zip.js" = "./node_modules/d3-array/src/zip.js"
    // "./brush.js" = "./node_modules/d3-brush/src/brush.js"
    // "./constant.js" = "./node_modules/d3-brush/src/constant.js"
    // "./event.js" = "./node_modules/d3-brush/src/event.js"
    // "d3-brush" = "./node_modules/d3-brush/src/index.js"
    // "./noevent.js" = "./node_modules/d3-brush/src/noevent.js"
    // "./color.js" = "./node_modules/d3-color/src/color.js"
    // "./cubehelix.js" = "./node_modules/d3-color/src/cubehelix.js"
    // "./define.js" = "./node_modules/d3-color/src/define.js"
    // "d3-color" = "./node_modules/d3-color/src/index.js"
    // "./lab.js" = "./node_modules/d3-color/src/lab.js"
    // "./math.js" = "./node_modules/d3-color/src/math.js"
    // "./dispatch.js" = "./node_modules/d3-dispatch/src/dispatch.js"
    // "d3-dispatch" = "./node_modules/d3-dispatch/src/index.js"
    // "./constant.js" = "./node_modules/d3-drag/src/constant.js"
    // "./drag.js" = "./node_modules/d3-drag/src/drag.js"
    // "./event.js" = "./node_modules/d3-drag/src/event.js"
    // "d3-drag" = "./node_modules/d3-drag/src/index.js"
    // "./nodrag.js" = "./node_modules/d3-drag/src/nodrag.js"
    // "./noevent.js" = "./node_modules/d3-drag/src/noevent.js"
    // "./back.js" = "./node_modules/d3-ease/src/back.js"
    // "./bounce.js" = "./node_modules/d3-ease/src/bounce.js"
    // "./circle.js" = "./node_modules/d3-ease/src/circle.js"
    // "./cubic.js" = "./node_modules/d3-ease/src/cubic.js"
    // "./elastic.js" = "./node_modules/d3-ease/src/elastic.js"
    // "./exp.js" = "./node_modules/d3-ease/src/exp.js"
    // "d3-ease" = "./node_modules/d3-ease/src/index.js"
    // "./linear.js" = "./node_modules/d3-ease/src/linear.js"
    // "./math.js" = "./node_modules/d3-ease/src/math.js"
    // "./poly.js" = "./node_modules/d3-ease/src/poly.js"
    // "./quad.js" = "./node_modules/d3-ease/src/quad.js"
    // "./sin.js" = "./node_modules/d3-ease/src/sin.js"
    // "./defaultLocale.js" = "./node_modules/d3-format/src/defaultLocale.js"
    // "./exponent.js" = "./node_modules/d3-format/src/exponent.js"
    // "./formatDecimal.js" = "./node_modules/d3-format/src/formatDecimal.js"
    // "./formatGroup.js" = "./node_modules/d3-format/src/formatGroup.js"
    // "./formatNumerals.js" = "./node_modules/d3-format/src/formatNumerals.js"
    // "./formatPrefixAuto.js" = "./node_modules/d3-format/src/formatPrefixAuto.js"
    // "./formatRounded.js" = "./node_modules/d3-format/src/formatRounded.js"
    // "./formatSpecifier.js" = "./node_modules/d3-format/src/formatSpecifier.js"
    // "./formatTrim.js" = "./node_modules/d3-format/src/formatTrim.js"
    // "./formatTypes.js" = "./node_modules/d3-format/src/formatTypes.js"
    // "./identity.js" = "./node_modules/d3-format/src/identity.js"
    // "d3-format" = "./node_modules/d3-format/src/index.js"
    // "./locale.js" = "./node_modules/d3-format/src/locale.js"
    // "./precisionFixed.js" = "./node_modules/d3-format/src/precisionFixed.js"
    // "./precisionPrefix.js" = "./node_modules/d3-format/src/precisionPrefix.js"
    // "./precisionRound.js" = "./node_modules/d3-format/src/precisionRound.js"
    // "../accessors.js" = "./node_modules/d3-hierarchy/src/accessors.js"
    // "../array.js" = "./node_modules/d3-hierarchy/src/array.js"
    // "./cluster.js" = "./node_modules/d3-hierarchy/src/cluster.js"
    // "../constant.js" = "./node_modules/d3-hierarchy/src/constant.js"
    // "./ancestors.js" = "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js"
    // "./count.js" = "./node_modules/d3-hierarchy/src/hierarchy/count.js"
    // "./descendants.js" = "./node_modules/d3-hierarchy/src/hierarchy/descendants.js"
    // "./each.js" = "./node_modules/d3-hierarchy/src/hierarchy/each.js"
    // "./eachAfter.js" = "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js"
    // "./eachBefore.js" = "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js"
    // "./hierarchy/index.js" = "./node_modules/d3-hierarchy/src/hierarchy/index.js"
    // "./leaves.js" = "./node_modules/d3-hierarchy/src/hierarchy/leaves.js"
    // "./links.js" = "./node_modules/d3-hierarchy/src/hierarchy/links.js"
    // "./path.js" = "./node_modules/d3-hierarchy/src/hierarchy/path.js"
    // "./sort.js" = "./node_modules/d3-hierarchy/src/hierarchy/sort.js"
    // "./sum.js" = "./node_modules/d3-hierarchy/src/hierarchy/sum.js"
    // "d3-hierarchy" = "./node_modules/d3-hierarchy/src/index.js"
    // "./pack/enclose.js" = "./node_modules/d3-hierarchy/src/pack/enclose.js"
    // "./pack/index.js" = "./node_modules/d3-hierarchy/src/pack/index.js"
    // "./pack/siblings.js" = "./node_modules/d3-hierarchy/src/pack/siblings.js"
    // "./partition.js" = "./node_modules/d3-hierarchy/src/partition.js"
    // "./stratify.js" = "./node_modules/d3-hierarchy/src/stratify.js"
    // "./tree.js" = "./node_modules/d3-hierarchy/src/tree.js"
    // "./treemap/binary.js" = "./node_modules/d3-hierarchy/src/treemap/binary.js"
    // "./treemap/dice.js" = "./node_modules/d3-hierarchy/src/treemap/dice.js"
    // "./treemap/index.js" = "./node_modules/d3-hierarchy/src/treemap/index.js"
    // "./treemap/resquarify.js" = "./node_modules/d3-hierarchy/src/treemap/resquarify.js"
    // "./round.js" = "./node_modules/d3-hierarchy/src/treemap/round.js"
    // "./treemap/slice.js" = "./node_modules/d3-hierarchy/src/treemap/slice.js"
    // "./treemap/sliceDice.js" = "./node_modules/d3-hierarchy/src/treemap/sliceDice.js"
    // "./treemap/squarify.js" = "./node_modules/d3-hierarchy/src/treemap/squarify.js"
    // "./array.js" = "./node_modules/d3-interpolate/src/array.js"
    // "./basis.js" = "./node_modules/d3-interpolate/src/basis.js"
    // "./basisClosed.js" = "./node_modules/d3-interpolate/src/basisClosed.js"
    // "./color.js" = "./node_modules/d3-interpolate/src/color.js"
    // "./constant.js" = "./node_modules/d3-interpolate/src/constant.js"
    // "./cubehelix.js" = "./node_modules/d3-interpolate/src/cubehelix.js"
    // "./date.js" = "./node_modules/d3-interpolate/src/date.js"
    // "./discrete.js" = "./node_modules/d3-interpolate/src/discrete.js"
    // "./hcl.js" = "./node_modules/d3-interpolate/src/hcl.js"
    // "./hsl.js" = "./node_modules/d3-interpolate/src/hsl.js"
    // "./hue.js" = "./node_modules/d3-interpolate/src/hue.js"
    // "d3-interpolate" = "./node_modules/d3-interpolate/src/index.js"
    // "./lab.js" = "./node_modules/d3-interpolate/src/lab.js"
    // "./number.js" = "./node_modules/d3-interpolate/src/number.js"
    // "./numberArray.js" = "./node_modules/d3-interpolate/src/numberArray.js"
    // "./object.js" = "./node_modules/d3-interpolate/src/object.js"
    // "./piecewise.js" = "./node_modules/d3-interpolate/src/piecewise.js"
    // "./quantize.js" = "./node_modules/d3-interpolate/src/quantize.js"
    // "./rgb.js" = "./node_modules/d3-interpolate/src/rgb.js"
    // "./round.js" = "./node_modules/d3-interpolate/src/round.js"
    // "./string.js" = "./node_modules/d3-interpolate/src/string.js"
    // "./decompose.js" = "./node_modules/d3-interpolate/src/transform/decompose.js"
    // "./transform/index.js" = "./node_modules/d3-interpolate/src/transform/index.js"
    // "./parse.js" = "./node_modules/d3-interpolate/src/transform/parse.js"
    // "./value.js" = "./node_modules/d3-interpolate/src/value.js"
    // "./zoom.js" = "./node_modules/d3-interpolate/src/zoom.js"
    // "d3-path" = "./node_modules/d3-path/src/index.js"
    // "./path.js" = "./node_modules/d3-path/src/path.js"
    // "./band.js" = "./node_modules/d3-scale/src/band.js"
    // "./constant.js" = "./node_modules/d3-scale/src/constant.js"
    // "./continuous.js" = "./node_modules/d3-scale/src/continuous.js"
    // "./diverging.js" = "./node_modules/d3-scale/src/diverging.js"
    // "./identity.js" = "./node_modules/d3-scale/src/identity.js"
    // "d3-scale" = "./node_modules/d3-scale/src/index.js"
    // "./init.js" = "./node_modules/d3-scale/src/init.js"
    // "./linear.js" = "./node_modules/d3-scale/src/linear.js"
    // "./log.js" = "./node_modules/d3-scale/src/log.js"
    // "./nice.js" = "./node_modules/d3-scale/src/nice.js"
    // "./number.js" = "./node_modules/d3-scale/src/number.js"
    // "./ordinal.js" = "./node_modules/d3-scale/src/ordinal.js"
    // "./pow.js" = "./node_modules/d3-scale/src/pow.js"
    // "./quantile.js" = "./node_modules/d3-scale/src/quantile.js"
    // "./quantize.js" = "./node_modules/d3-scale/src/quantize.js"
    // "./radial.js" = "./node_modules/d3-scale/src/radial.js"
    // "./sequential.js" = "./node_modules/d3-scale/src/sequential.js"
    // "./sequentialQuantile.js" = "./node_modules/d3-scale/src/sequentialQuantile.js"
    // "./symlog.js" = "./node_modules/d3-scale/src/symlog.js"
    // "./threshold.js" = "./node_modules/d3-scale/src/threshold.js"
    // "./tickFormat.js" = "./node_modules/d3-scale/src/tickFormat.js"
    // "./time.js" = "./node_modules/d3-scale/src/time.js"
    // "./utcTime.js" = "./node_modules/d3-scale/src/utcTime.js"
    // "../constant" = "./node_modules/d3-selection/src/constant.js"
    // "./create" = "./node_modules/d3-selection/src/create.js"
    // "./creator" = "./node_modules/d3-selection/src/creator.js"
    // "d3-selection" = "./node_modules/d3-selection/src/index.js"
    // "./local" = "./node_modules/d3-selection/src/local.js"
    // "./matcher" = "./node_modules/d3-selection/src/matcher.js"
    // "./mouse" = "./node_modules/d3-selection/src/mouse.js"
    // "./namespace" = "./node_modules/d3-selection/src/namespace.js"
    // "./namespaces" = "./node_modules/d3-selection/src/namespaces.js"
    // "./point" = "./node_modules/d3-selection/src/point.js"
    // "./select" = "./node_modules/d3-selection/src/select.js"
    // "./selectAll" = "./node_modules/d3-selection/src/selectAll.js"
    // "./append" = "./node_modules/d3-selection/src/selection/append.js"
    // "./attr" = "./node_modules/d3-selection/src/selection/attr.js"
    // "./call" = "./node_modules/d3-selection/src/selection/call.js"
    // "./classed" = "./node_modules/d3-selection/src/selection/classed.js"
    // "./clone" = "./node_modules/d3-selection/src/selection/clone.js"
    // "./data" = "./node_modules/d3-selection/src/selection/data.js"
    // "./datum" = "./node_modules/d3-selection/src/selection/datum.js"
    // "./dispatch" = "./node_modules/d3-selection/src/selection/dispatch.js"
    // "./each" = "./node_modules/d3-selection/src/selection/each.js"
    // "./empty" = "./node_modules/d3-selection/src/selection/empty.js"
    // "./enter" = "./node_modules/d3-selection/src/selection/enter.js"
    // "./exit" = "./node_modules/d3-selection/src/selection/exit.js"
    // "./filter" = "./node_modules/d3-selection/src/selection/filter.js"
    // "./html" = "./node_modules/d3-selection/src/selection/html.js"
    // "./selection/index" = "./node_modules/d3-selection/src/selection/index.js"
    // "./insert" = "./node_modules/d3-selection/src/selection/insert.js"
    // "./join" = "./node_modules/d3-selection/src/selection/join.js"
    // "./lower" = "./node_modules/d3-selection/src/selection/lower.js"
    // "./merge" = "./node_modules/d3-selection/src/selection/merge.js"
    // "./node" = "./node_modules/d3-selection/src/selection/node.js"
    // "./nodes" = "./node_modules/d3-selection/src/selection/nodes.js"
    // "./selection/on" = "./node_modules/d3-selection/src/selection/on.js"
    // "./order" = "./node_modules/d3-selection/src/selection/order.js"
    // "./property" = "./node_modules/d3-selection/src/selection/property.js"
    // "./raise" = "./node_modules/d3-selection/src/selection/raise.js"
    // "./remove" = "./node_modules/d3-selection/src/selection/remove.js"
    // "./select" = "./node_modules/d3-selection/src/selection/select.js"
    // "./selectAll" = "./node_modules/d3-selection/src/selection/selectAll.js"
    // "./size" = "./node_modules/d3-selection/src/selection/size.js"
    // "./sort" = "./node_modules/d3-selection/src/selection/sort.js"
    // "./sparse" = "./node_modules/d3-selection/src/selection/sparse.js"
    // "./selection/style" = "./node_modules/d3-selection/src/selection/style.js"
    // "./text" = "./node_modules/d3-selection/src/selection/text.js"
    // "./selector" = "./node_modules/d3-selection/src/selector.js"
    // "./selectorAll" = "./node_modules/d3-selection/src/selectorAll.js"
    // "./sourceEvent" = "./node_modules/d3-selection/src/sourceEvent.js"
    // "./touch" = "./node_modules/d3-selection/src/touch.js"
    // "./touches" = "./node_modules/d3-selection/src/touches.js"
    // "./window" = "./node_modules/d3-selection/src/window.js"
    // "./arc.js" = "./node_modules/d3-shape/src/arc.js"
    // "./area.js" = "./node_modules/d3-shape/src/area.js"
    // "./areaRadial.js" = "./node_modules/d3-shape/src/areaRadial.js"
    // "./array.js" = "./node_modules/d3-shape/src/array.js"
    // "./constant.js" = "./node_modules/d3-shape/src/constant.js"
    // "./curve/basis.js" = "./node_modules/d3-shape/src/curve/basis.js"
    // "./curve/basisClosed.js" = "./node_modules/d3-shape/src/curve/basisClosed.js"
    // "./curve/basisOpen.js" = "./node_modules/d3-shape/src/curve/basisOpen.js"
    // "./curve/bundle.js" = "./node_modules/d3-shape/src/curve/bundle.js"
    // "./curve/cardinal.js" = "./node_modules/d3-shape/src/curve/cardinal.js"
    // "./curve/cardinalClosed.js" = "./node_modules/d3-shape/src/curve/cardinalClosed.js"
    // "./curve/cardinalOpen.js" = "./node_modules/d3-shape/src/curve/cardinalOpen.js"
    // "./curve/catmullRom.js" = "./node_modules/d3-shape/src/curve/catmullRom.js"
    // "./curve/catmullRomClosed.js" = "./node_modules/d3-shape/src/curve/catmullRomClosed.js"
    // "./curve/catmullRomOpen.js" = "./node_modules/d3-shape/src/curve/catmullRomOpen.js"
    // "./curve/linear.js" = "./node_modules/d3-shape/src/curve/linear.js"
    // "./curve/linearClosed.js" = "./node_modules/d3-shape/src/curve/linearClosed.js"
    // "./curve/monotone.js" = "./node_modules/d3-shape/src/curve/monotone.js"
    // "./curve/natural.js" = "./node_modules/d3-shape/src/curve/natural.js"
    // "./curve/radial.js" = "./node_modules/d3-shape/src/curve/radial.js"
    // "./curve/step.js" = "./node_modules/d3-shape/src/curve/step.js"
    // "./descending.js" = "./node_modules/d3-shape/src/descending.js"
    // "./identity.js" = "./node_modules/d3-shape/src/identity.js"
    // "d3-shape" = "./node_modules/d3-shape/src/index.js"
    // "./line.js" = "./node_modules/d3-shape/src/line.js"
    // "./lineRadial.js" = "./node_modules/d3-shape/src/lineRadial.js"
    // "./link/index.js" = "./node_modules/d3-shape/src/link/index.js"
    // "./math.js" = "./node_modules/d3-shape/src/math.js"
    // "../noop.js" = "./node_modules/d3-shape/src/noop.js"
    // "./offset/diverging.js" = "./node_modules/d3-shape/src/offset/diverging.js"
    // "./offset/expand.js" = "./node_modules/d3-shape/src/offset/expand.js"
    // "./offset/none.js" = "./node_modules/d3-shape/src/offset/none.js"
    // "./offset/silhouette.js" = "./node_modules/d3-shape/src/offset/silhouette.js"
    // "./offset/wiggle.js" = "./node_modules/d3-shape/src/offset/wiggle.js"
    // "./order/appearance.js" = "./node_modules/d3-shape/src/order/appearance.js"
    // "./order/ascending.js" = "./node_modules/d3-shape/src/order/ascending.js"
    // "./order/descending.js" = "./node_modules/d3-shape/src/order/descending.js"
    // "./order/insideOut.js" = "./node_modules/d3-shape/src/order/insideOut.js"
    // "./order/none.js" = "./node_modules/d3-shape/src/order/none.js"
    // "./order/reverse.js" = "./node_modules/d3-shape/src/order/reverse.js"
    // "./pie.js" = "./node_modules/d3-shape/src/pie.js"
    // "./point.js" = "./node_modules/d3-shape/src/point.js"
    // "./pointRadial.js" = "./node_modules/d3-shape/src/pointRadial.js"
    // "./stack.js" = "./node_modules/d3-shape/src/stack.js"
    // "./symbol.js" = "./node_modules/d3-shape/src/symbol.js"
    // "./symbol/circle.js" = "./node_modules/d3-shape/src/symbol/circle.js"
    // "./symbol/cross.js" = "./node_modules/d3-shape/src/symbol/cross.js"
    // "./symbol/diamond.js" = "./node_modules/d3-shape/src/symbol/diamond.js"
    // "./symbol/square.js" = "./node_modules/d3-shape/src/symbol/square.js"
    // "./symbol/star.js" = "./node_modules/d3-shape/src/symbol/star.js"
    // "./symbol/triangle.js" = "./node_modules/d3-shape/src/symbol/triangle.js"
    // "./symbol/wye.js" = "./node_modules/d3-shape/src/symbol/wye.js"
    // "./day.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/day.js"
    // "./duration.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js"
    // "./hour.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/hour.js"
    // "d3-time" = "./node_modules/d3-time-format/node_modules/d3-time/src/index.js"
    // "./interval.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js"
    // "./millisecond.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/millisecond.js"
    // "./minute.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/minute.js"
    // "./month.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/month.js"
    // "./second.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/second.js"
    // "./utcDay.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/utcDay.js"
    // "./utcHour.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/utcHour.js"
    // "./utcMinute.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/utcMinute.js"
    // "./utcMonth.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/utcMonth.js"
    // "./utcWeek.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/utcWeek.js"
    // "./utcYear.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/utcYear.js"
    // "./week.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/week.js"
    // "./year.js" = "./node_modules/d3-time-format/node_modules/d3-time/src/year.js"
    // "./defaultLocale.js" = "./node_modules/d3-time-format/src/defaultLocale.js"
    // "d3-time-format" = "./node_modules/d3-time-format/src/index.js"
    // "./isoFormat.js" = "./node_modules/d3-time-format/src/isoFormat.js"
    // "./isoParse.js" = "./node_modules/d3-time-format/src/isoParse.js"
    // "./locale.js" = "./node_modules/d3-time-format/src/locale.js"
    // "./day.js" = "./node_modules/d3-time/src/day.js"
    // "./duration.js" = "./node_modules/d3-time/src/duration.js"
    // "./hour.js" = "./node_modules/d3-time/src/hour.js"
    // "d3-time" = "./node_modules/d3-time/src/index.js"
    // "./interval.js" = "./node_modules/d3-time/src/interval.js"
    // "./millisecond.js" = "./node_modules/d3-time/src/millisecond.js"
    // "./minute.js" = "./node_modules/d3-time/src/minute.js"
    // "./month.js" = "./node_modules/d3-time/src/month.js"
    // "./second.js" = "./node_modules/d3-time/src/second.js"
    // "./ticks.js" = "./node_modules/d3-time/src/ticks.js"
    // "./utcDay.js" = "./node_modules/d3-time/src/utcDay.js"
    // "./utcHour.js" = "./node_modules/d3-time/src/utcHour.js"
    // "./utcMinute.js" = "./node_modules/d3-time/src/utcMinute.js"
    // "./utcMonth.js" = "./node_modules/d3-time/src/utcMonth.js"
    // "./utcWeek.js" = "./node_modules/d3-time/src/utcWeek.js"
    // "./utcYear.js" = "./node_modules/d3-time/src/utcYear.js"
    // "./week.js" = "./node_modules/d3-time/src/week.js"
    // "./year.js" = "./node_modules/d3-time/src/year.js"
    // "d3-timer" = "./node_modules/d3-timer/src/index.js"
    // "./interval.js" = "./node_modules/d3-timer/src/interval.js"
    // "./timeout.js" = "./node_modules/d3-timer/src/timeout.js"
    // "./timer.js" = "./node_modules/d3-timer/src/timer.js"
    // "./active.js" = "./node_modules/d3-transition/src/active.js"
    // "d3-transition" = "./node_modules/d3-transition/src/index.js"
    // "./interrupt.js" = "./node_modules/d3-transition/src/interrupt.js"
    // "./selection/index.js" = "./node_modules/d3-transition/src/selection/index.js"
    // "./interrupt.js" = "./node_modules/d3-transition/src/selection/interrupt.js"
    // "./transition.js" = "./node_modules/d3-transition/src/selection/transition.js"
    // "./attr.js" = "./node_modules/d3-transition/src/transition/attr.js"
    // "./attrTween.js" = "./node_modules/d3-transition/src/transition/attrTween.js"
    // "./delay.js" = "./node_modules/d3-transition/src/transition/delay.js"
    // "./duration.js" = "./node_modules/d3-transition/src/transition/duration.js"
    // "./ease.js" = "./node_modules/d3-transition/src/transition/ease.js"
    // "./end.js" = "./node_modules/d3-transition/src/transition/end.js"
    // "./filter.js" = "./node_modules/d3-transition/src/transition/filter.js"
    // "./transition/index.js" = "./node_modules/d3-transition/src/transition/index.js"
    // "./interpolate.js" = "./node_modules/d3-transition/src/transition/interpolate.js"
    // "./merge.js" = "./node_modules/d3-transition/src/transition/merge.js"
    // "./on.js" = "./node_modules/d3-transition/src/transition/on.js"
    // "./remove.js" = "./node_modules/d3-transition/src/transition/remove.js"
    // "./transition/schedule.js" = "./node_modules/d3-transition/src/transition/schedule.js"
    // "./select.js" = "./node_modules/d3-transition/src/transition/select.js"
    // "./selectAll.js" = "./node_modules/d3-transition/src/transition/selectAll.js"
    // "./selection.js" = "./node_modules/d3-transition/src/transition/selection.js"
    // "./style.js" = "./node_modules/d3-transition/src/transition/style.js"
    // "./styleTween.js" = "./node_modules/d3-transition/src/transition/styleTween.js"
    // "./text.js" = "./node_modules/d3-transition/src/transition/text.js"
    // "./textTween.js" = "./node_modules/d3-transition/src/transition/textTween.js"
    // "./transition.js" = "./node_modules/d3-transition/src/transition/transition.js"
    // "./tween.js" = "./node_modules/d3-transition/src/transition/tween.js"
    // "C:\\Jenkins\\workspace\\_chinh-vien-thong_web-gis_master\\node_modules\\dojo-webpack-plugin\\lib\\NoModule.js" = "./node_modules/dojo-webpack-plugin/lib/NoModule.js"
    "dojo/i18n!esri/nls/basemaps": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/basemaps.js",
    "dojo/i18n!esri/nls/common": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js",
    "dojo/i18n!esri/widgets/Attribution/nls/Attribution": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js",
    "dojo/i18n!esri/widgets/BasemapToggle/nls/BasemapToggle": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js",
    "dojo/i18n!esri/widgets/Compass/nls/Compass": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js",
    "dojo/i18n!esri/widgets/Expand/nls/Expand": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js",
    "dojo/i18n!esri/widgets/Home/nls/Home": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Home/nls/Home.js",
    "dojo/i18n!esri/widgets/LayerList/nls/LayerList": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js",
    "dojo/i18n!esri/widgets/Legend/nls/Legend": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js",
    "dojo/i18n!esri/widgets/Locate/nls/Locate": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js",
    "dojo/i18n!esri/widgets/Measurement/nls/Measurement": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js",
    "dojo/i18n!esri/widgets/NavigationToggle/nls/NavigationToggle": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js",
    "dojo/i18n!esri/widgets/Popup/nls/Popup": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js",
    "dojo/i18n!esri/widgets/Print/nls/Print": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Print/nls/Print.js",
    "dojo/i18n!esri/widgets/Zoom/nls/Zoom": "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js",
    // "C:/Jenkins/workspace/_chinh-vien-thong_web-gis_master/node_modules/dojo-webpack-plugin/loaders/dojo/runner.js" = "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"
    "dojo/Deferred": "./node_modules/dojo/Deferred.js",
    "dojo/Evented": "./node_modules/dojo/Evented.js",
    "dojo/Stateful": "./node_modules/dojo/Stateful.js",
    "dojo/_base/Color": "./node_modules/dojo/_base/Color.js",
    "dojo/_base/Deferred": "./node_modules/dojo/_base/Deferred.js",
    "dojo/_base/array": "./node_modules/dojo/_base/array.js",
    "dojo/_base/config": "./node_modules/dojo/_base/config.js",
    "dojo/_base/connect": "./node_modules/dojo/_base/connect.js",
    "dojo/_base/declare": "./node_modules/dojo/_base/declare.js",
    "dojo/_base/event": "./node_modules/dojo/_base/event.js",
    "dojo/_base/json": "./node_modules/dojo/_base/json.js",
    "dojo/_base/kernel": "./node_modules/dojo/_base/kernel.js",
    "dojo/_base/lang": "./node_modules/dojo/_base/lang.js",
    "dojo/_base/sniff": "./node_modules/dojo/_base/sniff.js",
    "dojo/_base/window": "./node_modules/dojo/_base/window.js",
    "dojo/_base/xhr": "./node_modules/dojo/_base/xhr.js",
    "dojo/aspect": "./node_modules/dojo/aspect.js",
    "dojo/dom-attr": "./node_modules/dojo/dom-attr.js",
    "dojo/dom-construct": "./node_modules/dojo/dom-construct.js",
    "dojo/dom-form": "./node_modules/dojo/dom-form.js",
    "dojo/dom-geometry": "./node_modules/dojo/dom-geometry.js",
    "dojo/dom-prop": "./node_modules/dojo/dom-prop.js",
    "dojo/dom-style": "./node_modules/dojo/dom-style.js",
    "dojo/dom": "./node_modules/dojo/dom.js",
    "dojo/errors/CancelError": "./node_modules/dojo/errors/CancelError.js",
    "dojo/errors/RequestError": "./node_modules/dojo/errors/RequestError.js",
    "dojo/errors/RequestTimeoutError": "./node_modules/dojo/errors/RequestTimeoutError.js",
    "dojo/errors/create": "./node_modules/dojo/errors/create.js",
    "dojo/global": "./node_modules/dojo/global.js",
    "dojo/has": "./node_modules/dojo/has.js",
    "dojo/i18n": "./node_modules/dojo/i18n.js",
    "dojo/io-query": "./node_modules/dojo/io-query.js",
    "dojo/json": "./node_modules/dojo/json.js",
    "dojo/keys": "./node_modules/dojo/keys.js",
    "dojo/mouse": "./node_modules/dojo/mouse.js",
    "dojo/on": "./node_modules/dojo/on.js",
    "dojo/promise/Promise": "./node_modules/dojo/promise/Promise.js",
    "dojo/promise/all": "./node_modules/dojo/promise/all.js",
    "dojo/promise/instrumentation": "./node_modules/dojo/promise/instrumentation.js",
    "dojo/promise/tracer": "./node_modules/dojo/promise/tracer.js",
    "dojo/request/handlers": "./node_modules/dojo/request/handlers.js",
    "dojo/request/util": "./node_modules/dojo/request/util.js",
    "dojo/request/watch": "./node_modules/dojo/request/watch.js",
    "dojo/request/default!": "./node_modules/dojo/request/xhr.js",
    "dojo/request/xhr": "./node_modules/dojo/request/xhr.js",
    "dojo/sniff": "./node_modules/dojo/sniff.js",
    "dojo/topic": "./node_modules/dojo/topic.js",
    "dojo/when": "./node_modules/dojo/when.js",
    "dojox/gfx/_base": "./node_modules/dojox/gfx/_base.js",
    "dojox/gfx/arc": "./node_modules/dojox/gfx/arc.js",
    "dojox/gfx/bezierutils": "./node_modules/dojox/gfx/bezierutils.js",
    "dojox/gfx/canvas": "./node_modules/dojox/gfx/canvas.js",
    "dojox/gfx/decompose": "./node_modules/dojox/gfx/decompose.js",
    "dojox/gfx/matrix": "./node_modules/dojox/gfx/matrix.js",
    "dojox/gfx/path": "./node_modules/dojox/gfx/path.js",
    "dojox/gfx/shape": "./node_modules/dojox/gfx/shape.js",
    "dojox/string/BidiEngine": "./node_modules/dojox/string/BidiEngine.js" // "internmap" = "./node_modules/internmap/src/index.js"
    // "maquette-css-transitions/dist/maquette-css-transitions.umd" = "./node_modules/maquette-css-transitions/dist/maquette-css-transitions.umd.js"
    // "maquette-jsx/dist/maquette-jsx.umd" = "./node_modules/maquette-jsx/dist/maquette-jsx.umd.js"
    // "ng2-pdfjs-viewer" = "./node_modules/ng2-pdfjs-viewer/index.js"
    // "../../../../../node_modules/ng2-pdfjs-viewer/ng2-pdfjs-viewer.ngfactory" = "./node_modules/ng2-pdfjs-viewer/ng2-pdfjs-viewer.ngfactory.js"
    // "../../../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory" = "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js"
    // "../layout/header/header.component.ngfactory" = "./src/app/layout/header/header.component.ngfactory.js"
    // "./header.component.scss.shim.ngstyle" = "./src/app/layout/header/header.component.scss.shim.ngstyle.js"
    // "../layout/header/header.component" = "./src/app/layout/header/header.component.ts"
    // "../layout/layout.module" = "./src/app/layout/layout.module.ts"
    // "../nav-bar/nav-bar.component.ngfactory" = "./src/app/layout/nav-bar/nav-bar.component.ngfactory.js"
    // "./nav-bar.component.scss.shim.ngstyle" = "./src/app/layout/nav-bar/nav-bar.component.scss.shim.ngstyle.js"
    // "../nav-bar/nav-bar.component" = "./src/app/layout/nav-bar/nav-bar.component.ts"
    // "./dasboard/dasboard.component.ngfactory" = "./src/app/manager/dasboard/dasboard.component.ngfactory.js"
    // "./dasboard.component.scss.shim.ngstyle" = "./src/app/manager/dasboard/dasboard.component.scss.shim.ngstyle.js"
    // "./dasboard/dasboard.component" = "./src/app/manager/dasboard/dasboard.component.ts"
    // "./dasboard/dasboard.module" = "./src/app/manager/dasboard/dasboard.module.ts"
    // "./group-bar-chart/group-bar-chart.component.ngfactory" = "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ngfactory.js"
    // "./group-bar-chart.component.scss.shim.ngstyle" = "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.scss.shim.ngstyle.js"
    // "./group-bar-chart/group-bar-chart.component" = "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ts"
    // "./dasboard/modal-statistical/modal-statistical.component.ngfactory" = "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ngfactory.js"
    // "./modal-statistical.component.scss.shim.ngstyle" = "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.scss.shim.ngstyle.js"
    // "./modal-statistical.component" = "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ts"
    // "./counter-up.directive" = "./src/app/manager/dasboard/number-card-chart/counter-up.directive.ts"
    // "./number-card-chart/number-card-chart.component.ngfactory" = "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ngfactory.js"
    // "./number-card-chart.component.scss.shim.ngstyle" = "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.scss.shim.ngstyle.js"
    // "./number-card-chart/number-card-chart.component" = "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ts"
    // "./dasboard/number-card-chart/number-card-chart.module" = "./src/app/manager/dasboard/number-card-chart/number-card-chart.module.ts"
    // "./pie-chart-file/pie-chart-file.component.ngfactory" = "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ngfactory.js"
    // "./pie-chart-file.component.scss.shim.ngstyle" = "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.scss.shim.ngstyle.js"
    // "./pie-chart-file/pie-chart-file.component" = "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ts"
    // "./pie-chart/pie-chart.component.ngfactory" = "./src/app/manager/dasboard/pie-chart/pie-chart.component.ngfactory.js"
    // "./pie-chart.component.scss.shim.ngstyle" = "./src/app/manager/dasboard/pie-chart/pie-chart.component.scss.shim.ngstyle.js"
    // "./pie-chart/pie-chart.component" = "./src/app/manager/dasboard/pie-chart/pie-chart.component.ts"
    // "./add/add.component.ngfactory" = "./src/app/manager/diem-dich-vu/add/add.component.ngfactory.js"
    // "./add.component.scss.shim.ngstyle" = "./src/app/manager/diem-dich-vu/add/add.component.scss.shim.ngstyle.js"
    // "./diem-dich-vu/add/add.component" = "./src/app/manager/diem-dich-vu/add/add.component.ts"
    // "./diem-dich-vu/diem-dich-vu-routing.module" = "./src/app/manager/diem-dich-vu/diem-dich-vu-routing.module.ts"
    // "./diem-dich-vu.component.ngfactory" = "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ngfactory.js"
    // "./diem-dich-vu.component.scss.shim.ngstyle" = "./src/app/manager/diem-dich-vu/diem-dich-vu.component.scss.shim.ngstyle.js"
    // "./diem-dich-vu/diem-dich-vu.component" = "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ts"
    // "./diem-dich-vu/diem-dich-vu.module" = "./src/app/manager/diem-dich-vu/diem-dich-vu.module.ts"
    // "./list/list.component.ngfactory" = "./src/app/manager/diem-dich-vu/list/list.component.ngfactory.js"
    // "./list.component.scss.shim.ngstyle" = "./src/app/manager/diem-dich-vu/list/list.component.scss.shim.ngstyle.js"
    // "./diem-dich-vu/list/list.component" = "./src/app/manager/diem-dich-vu/list/list.component.ts"
    // "./add/add.component.ngfactory" = "./src/app/manager/ho-so/add/add.component.ngfactory.js"
    // "./add.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/add.component.scss.shim.ngstyle.js"
    // "./ho-so/add/add.component" = "./src/app/manager/ho-so/add/add.component.ts"
    // "./add/modal-add-diemdv/modal-add-diemdv.component.ngfactory" = "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ngfactory.js"
    // "./modal-add-diemdv.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.scss.shim.ngstyle.js"
    // "./modal-add-diemdv/modal-add-diemdv.component" = "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ts"
    // "./add/modal-add-tcngam/modal-add-tcngam.component.ngfactory" = "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ngfactory.js"
    // "./modal-add-tcngam.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.scss.shim.ngstyle.js"
    // "./modal-add-tcngam/modal-add-tcngam.component" = "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ts"
    // "./add/modal-add-tcnoi/modal-add-tcnoi.component.ngfactory" = "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ngfactory.js"
    // "./modal-add-tcnoi.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.scss.shim.ngstyle.js"
    // "./modal-add-tcnoi/modal-add-tcnoi.component" = "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ts"
    // "./add/modal-add-trambts/modal-add-trambts.component.ngfactory" = "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ngfactory.js"
    // "./modal-add-trambts.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.scss.shim.ngstyle.js"
    // "./modal-add-trambts/modal-add-trambts.component" = "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ts"
    // "./add/modal-approved/modal-approved.component.ngfactory" = "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ngfactory.js"
    // "./modal-approved.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.scss.shim.ngstyle.js"
    // "./modal-approved/modal-approved.component" = "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ts"
    // "./add/modal-details/modal-details.component.ngfactory" = "./src/app/manager/ho-so/add/modal-details/modal-details.component.ngfactory.js"
    // "./modal-details.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-details/modal-details.component.scss.shim.ngstyle.js"
    // "./modal-details.component" = "./src/app/manager/ho-so/add/modal-details/modal-details.component.ts"
    // "./add/modal-edit/modal-edit.component.ngfactory" = "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ngfactory.js"
    // "./modal-edit.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.scss.shim.ngstyle.js"
    // "./modal-edit/modal-edit.component" = "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ts"
    // "./add/modal-ly-do/modal-ly-do.component.ngfactory" = "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ngfactory.js"
    // "./modal-ly-do.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.scss.shim.ngstyle.js"
    // "./modal-ly-do/modal-ly-do.component" = "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ts"
    // "./add/modal-rename/modal-rename.component.ngfactory" = "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ngfactory.js"
    // "./modal-rename.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.scss.shim.ngstyle.js"
    // "./modal-rename/modal-rename.component" = "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ts"
    // "./add/modal-tuchoi-tram/modal-tuchoi-tram.component.ngfactory" = "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ngfactory.js"
    // "./modal-tuchoi-tram.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.scss.shim.ngstyle.js"
    // "./modal-tuchoi-tram.component" = "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ts"
    // "./ho-so/ho-so-routing.module" = "./src/app/manager/ho-so/ho-so-routing.module.ts"
    // "./ho-so.component.ngfactory" = "./src/app/manager/ho-so/ho-so.component.ngfactory.js"
    // "./ho-so.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/ho-so.component.scss.shim.ngstyle.js"
    // "./ho-so/ho-so.component" = "./src/app/manager/ho-so/ho-so.component.ts"
    // "./ho-so/ho-so.module" = "./src/app/manager/ho-so/ho-so.module.ts"
    // "./list/list.component.ngfactory" = "./src/app/manager/ho-so/list/list.component.ngfactory.js"
    // "./list.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/list/list.component.scss.shim.ngstyle.js"
    // "./ho-so/list/list.component" = "./src/app/manager/ho-so/list/list.component.ts"
    // "./list/modal-delete/modal-delete.component.ngfactory" = "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ngfactory.js"
    // "./modal-delete.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.scss.shim.ngstyle.js"
    // "./modal-delete/modal-delete.component" = "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ts"
    // "./modal-view-pdf/modal-view-pdf.component.ngfactory" = "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ngfactory.js"
    // "./modal-view-pdf.component.scss.shim.ngstyle" = "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.scss.shim.ngstyle.js"
    // "../modal-view-pdf/modal-view-pdf.component" = "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ts"
    // "./manager-routing.module" = "./src/app/manager/manager-routing.module.ts"
    // "./manager.component.ngfactory" = "./src/app/manager/manager.component.ngfactory.js"
    // "./manager.component.scss.shim.ngstyle" = "./src/app/manager/manager.component.scss.shim.ngstyle.js"
    // "./manager.component" = "./src/app/manager/manager.component.ts"
    // "./manager/manager.module.ngfactory" = "./src/app/manager/manager.module.ngfactory.js"
    // "./manager.module" = "./src/app/manager/manager.module.ts"
    // "../phe-duyet/modal-file-pdf/modal-file-pdf.component.ngfactory" = "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ngfactory.js"
    // "./modal-file-pdf.component.scss.shim.ngstyle" = "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.scss.shim.ngstyle.js"
    // "../../phe-duyet/modal-file-pdf/modal-file-pdf.component" = "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ts"
    // "./phe-duyet/phe-duyet.component.ngfactory" = "./src/app/manager/phe-duyet/phe-duyet.component.ngfactory.js"
    // "./phe-duyet.component.scss.shim.ngstyle" = "./src/app/manager/phe-duyet/phe-duyet.component.scss.shim.ngstyle.js"
    // "./phe-duyet/phe-duyet.component" = "./src/app/manager/phe-duyet/phe-duyet.component.ts"
    // "./profile/mdl-change-password/mdl-change-password.component.ngfactory" = "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ngfactory.js"
    // "./mdl-change-password.component.scss.shim.ngstyle" = "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.scss.shim.ngstyle.js"
    // "./mdl-change-password/mdl-change-password.component" = "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ts"
    // "./profile/profile.component.ngfactory" = "./src/app/manager/profile/profile.component.ngfactory.js"
    // "./profile.component.scss.shim.ngstyle" = "./src/app/manager/profile/profile.component.scss.shim.ngstyle.js"
    // "./profile/profile.component" = "./src/app/manager/profile/profile.component.ts"
    // "./profile/profile.module" = "./src/app/manager/profile/profile.module.ts"
    // "../../shared/components/card/card.component.ngfactory" = "./src/app/manager/shared/components/card/card.component.ngfactory.js"
    // "./card.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/card/card.component.scss.shim.ngstyle.js"
    // "../../shared/components/card/card.component" = "./src/app/manager/shared/components/card/card.component.ts"
    // "./shared/components/components.module" = "./src/app/manager/shared/components/components.module.ts"
    // "../../shared/components/datatable/datatable.component.ngfactory" = "./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js"
    // "./datatable.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/datatable/datatable.component.scss.shim.ngstyle.js"
    // "../../shared/components/datatable/datatable.component" = "./src/app/manager/shared/components/datatable/datatable.component.ts"
    // "../../../shared/components/form/form.component.ngfactory" = "./src/app/manager/shared/components/form/form.component.ngfactory.js"
    // "./form.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/form/form.component.scss.shim.ngstyle.js"
    // "../../../shared/components/form/form.component" = "./src/app/manager/shared/components/form/form.component.ts"
    // "../../shared/components/mini-map/mini-map.component.ngfactory" = "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js"
    // "./mini-map.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/mini-map/mini-map.component.scss.shim.ngstyle.js"
    // "../../shared/components/mini-map/mini-map.component" = "./src/app/manager/shared/components/mini-map/mini-map.component.ts"
    // "../shared/components/modal-detail/modal-detail.component.ngfactory" = "./src/app/manager/shared/components/modal-detail/modal-detail.component.ngfactory.js"
    // "./modal-detail.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/modal-detail/modal-detail.component.scss.shim.ngstyle.js"
    // "../../shared/components/modal-detail/modal-detail.component" = "./src/app/manager/shared/components/modal-detail/modal-detail.component.ts"
    // "../../shared/components/table-details/table-details.component.ngfactory" = "./src/app/manager/shared/components/table-details/table-details.component.ngfactory.js"
    // "./table-details.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/table-details/table-details.component.scss.shim.ngstyle.js"
    // "../../shared/components/table-details/table-details.component" = "./src/app/manager/shared/components/table-details/table-details.component.ts"
    // "../../shared/components/table/table.component.ngfactory" = "./src/app/manager/shared/components/table/table.component.ngfactory.js"
    // "./table.component.scss.shim.ngstyle" = "./src/app/manager/shared/components/table/table.component.scss.shim.ngstyle.js"
    // "../../shared/components/table/table.component" = "./src/app/manager/shared/components/table/table.component.ts"
    // "../../shared/models/ho-so.model" = "./src/app/manager/shared/models/ho-so.model.ts"
    // "../../shared/services/api.service" = "./src/app/manager/shared/services/api.service.ts"
    // "../../../shared/services/attachment.service" = "./src/app/manager/shared/services/attachment.service.ts"
    // "../../shared/services/bts-attachment.service" = "./src/app/manager/shared/services/bts-attachment.service.ts"
    // "./data.service" = "./src/app/manager/shared/services/data.service.ts"
    // "../../shared/services/diem-dich-vu-attachment.service" = "./src/app/manager/shared/services/diem-dich-vu-attachment.service.ts"
    // "../../../shared/services/diem-dich-vu.service" = "./src/app/manager/shared/services/diem-dich-vu.service.ts"
    // "../../shared/services/tram-bts.service" = "./src/app/manager/shared/services/tram-bts.service.ts"
    // "../../shared/services/tuyen-cap-ngam.service" = "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts"
    // "../../shared/services/tuyen-cap-noi.service" = "./src/app/manager/shared/services/tuyen-cap-noi.service.ts"
    // "./add/add.component.ngfactory" = "./src/app/manager/tram-bts/add/add.component.ngfactory.js"
    // "./add.component.scss.shim.ngstyle" = "./src/app/manager/tram-bts/add/add.component.scss.shim.ngstyle.js"
    // "./tram-bts/add/add.component" = "./src/app/manager/tram-bts/add/add.component.ts"
    // "./list/list.component.ngfactory" = "./src/app/manager/tram-bts/list/list.component.ngfactory.js"
    // "./list.component.scss.shim.ngstyle" = "./src/app/manager/tram-bts/list/list.component.scss.shim.ngstyle.js"
    // "./tram-bts/list/list.component" = "./src/app/manager/tram-bts/list/list.component.ts"
    // "./modal-info/modal-info.component.ngfactory" = "./src/app/manager/tram-bts/modal-info/modal-info.component.ngfactory.js"
    // "./modal-info.component.scss.shim.ngstyle" = "./src/app/manager/tram-bts/modal-info/modal-info.component.scss.shim.ngstyle.js"
    // "../modal-info/modal-info.component" = "./src/app/manager/tram-bts/modal-info/modal-info.component.ts"
    // "./tram-bts/tram-bts-routing.module" = "./src/app/manager/tram-bts/tram-bts-routing.module.ts"
    // "./tram-bts.component.ngfactory" = "./src/app/manager/tram-bts/tram-bts.component.ngfactory.js"
    // "./tram-bts.component.scss.shim.ngstyle" = "./src/app/manager/tram-bts/tram-bts.component.scss.shim.ngstyle.js"
    // "./tram-bts/tram-bts.component" = "./src/app/manager/tram-bts/tram-bts.component.ts"
    // "./tram-bts/tram-bts.module" = "./src/app/manager/tram-bts/tram-bts.module.ts"
    // "./add/add.component.ngfactory" = "./src/app/manager/tuyen-cap-ngam/add/add.component.ngfactory.js"
    // "./add.component.scss.shim.ngstyle" = "./src/app/manager/tuyen-cap-ngam/add/add.component.scss.shim.ngstyle.js"
    // "./tuyen-cap-ngam/add/add.component" = "./src/app/manager/tuyen-cap-ngam/add/add.component.ts"
    // "./list/list.component.ngfactory" = "./src/app/manager/tuyen-cap-ngam/list/list.component.ngfactory.js"
    // "./list.component.scss.shim.ngstyle" = "./src/app/manager/tuyen-cap-ngam/list/list.component.scss.shim.ngstyle.js"
    // "./tuyen-cap-ngam/list/list.component" = "./src/app/manager/tuyen-cap-ngam/list/list.component.ts"
    // "./tuyen-cap-ngam/tuyen-cap-ngam-routing.module" = "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam-routing.module.ts"
    // "./tuyen-cap-ngam.component.ngfactory" = "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ngfactory.js"
    // "./tuyen-cap-ngam.component.scss.shim.ngstyle" = "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.scss.shim.ngstyle.js"
    // "./tuyen-cap-ngam/tuyen-cap-ngam.component" = "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ts"
    // "./tuyen-cap-ngam/tuyen-cap-ngam.module" = "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.module.ts"
    // "./add/add.component.ngfactory" = "./src/app/manager/tuyen-cap-noi/add/add.component.ngfactory.js"
    // "./add.component.scss.shim.ngstyle" = "./src/app/manager/tuyen-cap-noi/add/add.component.scss.shim.ngstyle.js"
    // "./tuyen-cap-noi/add/add.component" = "./src/app/manager/tuyen-cap-noi/add/add.component.ts"
    // "./list/list.component.ngfactory" = "./src/app/manager/tuyen-cap-noi/list/list.component.ngfactory.js"
    // "./list.component.scss.shim.ngstyle" = "./src/app/manager/tuyen-cap-noi/list/list.component.scss.shim.ngstyle.js"
    // "./tuyen-cap-noi/list/list.component" = "./src/app/manager/tuyen-cap-noi/list/list.component.ts"
    // "./tuyen-cap-noi/tuyen-cap-noi-routing.module" = "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi-routing.module.ts"
    // "./tuyen-cap-noi.component.ngfactory" = "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ngfactory.js"
    // "./tuyen-cap-noi.component.scss.shim.ngstyle" = "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.scss.shim.ngstyle.js"
    // "./tuyen-cap-noi/tuyen-cap-noi.component" = "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ts"
    // "./tuyen-cap-noi/tuyen-cap-noi.module" = "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.module.ts"
    // "./list/list.component" = "./src/app/manager/y-kien-nguoi-dan/list/list.component.ts"
    // "./y-kien-nguoi-dan/y-kien-nguoi-dan-routing.module" = "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan-routing.module.ts"
    // "./y-kien-nguoi-dan.component" = "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.component.ts"
    // "./y-kien-nguoi-dan/y-kien-nguoi-dan.module" = "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.module.ts"
    // "./info-map/info-map.component.ngfactory" = "./src/app/map/info-map/info-map.component.ngfactory.js"
    // "./info-map.component.scss.shim.ngstyle" = "./src/app/map/info-map/info-map.component.scss.shim.ngstyle.js"
    // "./info-map/info-map.component" = "./src/app/map/info-map/info-map.component.ts"
    // "../layer-list/layer-list.component.ngfactory" = "./src/app/map/layer-list/layer-list.component.ngfactory.js"
    // "./layer-list.component.scss.shim.ngstyle" = "./src/app/map/layer-list/layer-list.component.scss.shim.ngstyle.js"
    // "../layer-list/layer-list.component" = "./src/app/map/layer-list/layer-list.component.ts"
    // "../legend/legend.component.ngfactory" = "./src/app/map/legend/legend.component.ngfactory.js"
    // "./legend.component.scss.shim.ngstyle" = "./src/app/map/legend/legend.component.scss.shim.ngstyle.js"
    // "../legend/legend.component" = "./src/app/map/legend/legend.component.ts"
    // "../map/map.component.ngfactory" = "./src/app/map/map.component.ngfactory.js"
    // "./map.component.scss.shim.ngstyle" = "./src/app/map/map.component.scss.shim.ngstyle.js"
    // "../map/map.component" = "./src/app/map/map.component.ts"
    // "../map/map.module" = "./src/app/map/map.module.ts"
    // "./measure/measure.component.ngfactory" = "./src/app/map/measure/measure.component.ngfactory.js"
    // "./measure.component.scss.shim.ngstyle" = "./src/app/map/measure/measure.component.scss.shim.ngstyle.js"
    // "./measure/measure.component" = "./src/app/map/measure/measure.component.ts"
    // "../map/measure/measure.module" = "./src/app/map/measure/measure.module.ts"
    // "./popup/popup.component.ngfactory" = "./src/app/map/popup/popup.component.ngfactory.js"
    // "./popup.component.scss.shim.ngstyle" = "./src/app/map/popup/popup.component.scss.shim.ngstyle.js"
    // "./popup/popup.component" = "./src/app/map/popup/popup.component.ts"
    // "./search-box/search-box.component.ngfactory" = "./src/app/map/search-box/search-box.component.ngfactory.js"
    // "./search-box.component.scss.shim.ngstyle" = "./src/app/map/search-box/search-box.component.scss.shim.ngstyle.js"
    // "./search-box/search-box.component" = "./src/app/map/search-box/search-box.component.ts"
    // "src/app/map/shared/constants/layer.constant" = "./src/app/map/shared/constants/layer.constant.ts"
    // "src/app/map/shared/constants/map.constant" = "./src/app/map/shared/constants/map.constant.ts"
    // "../../../map/shared/services/layer.service" = "./src/app/map/shared/services/layer.service.ts"
    // "../../map/shared/services/map.service" = "./src/app/map/shared/services/map.service.ts"
    // "./shared/services/popup.service" = "./src/app/map/shared/services/popup.service.ts"
    // "./shared/services/search.service" = "./src/app/map/shared/services/search.service.ts"
    // "./shared/services/vung-phu-bts.service" = "./src/app/map/shared/services/vung-phu-bts.service.ts"
    // "./table-info/table-info.component.ngfactory" = "./src/app/map/table-info/table-info.component.ngfactory.js"
    // "./table-info.component.scss.shim.ngstyle" = "./src/app/map/table-info/table-info.component.scss.shim.ngstyle.js"
    // "./table-info/table-info.component" = "./src/app/map/table-info/table-info.component.ts"
    // "../map/vung-phu-bts/modal/modal.component.ngfactory" = "./src/app/map/vung-phu-bts/modal/modal.component.ngfactory.js"
    // "./modal.component.scss.shim.ngstyle" = "./src/app/map/vung-phu-bts/modal/modal.component.scss.shim.ngstyle.js"
    // "./modal.component" = "./src/app/map/vung-phu-bts/modal/modal.component.ts"
    // "./vung-phu-bts/vung-phu-bts.component.ngfactory" = "./src/app/map/vung-phu-bts/vung-phu-bts.component.ngfactory.js"
    // "./vung-phu-bts.component.scss.shim.ngstyle" = "./src/app/map/vung-phu-bts/vung-phu-bts.component.scss.shim.ngstyle.js"
    // "./vung-phu-bts/vung-phu-bts.component" = "./src/app/map/vung-phu-bts/vung-phu-bts.component.ts"
    // "../../../shared/components/attachment/attachment.component.ngfactory" = "./src/app/shared/components/attachment/attachment.component.ngfactory.js"
    // "./attachment.component.scss.shim.ngstyle" = "./src/app/shared/components/attachment/attachment.component.scss.shim.ngstyle.js"
    // "src/app/shared/components/attachment/attachment.component" = "./src/app/shared/components/attachment/attachment.component.ts"
    // "../../../../shared/components/button-link/button-link.component.ngfactory" = "./src/app/shared/components/button-link/button-link.component.ngfactory.js"
    // "./button-link.component.scss.shim.ngstyle" = "./src/app/shared/components/button-link/button-link.component.scss.shim.ngstyle.js"
    // "../../../../shared/components/button-link/button-link.component" = "./src/app/shared/components/button-link/button-link.component.ts"
    // "../../../../shared/components/button/button.component.ngfactory" = "./src/app/shared/components/button/button.component.ngfactory.js"
    // "./button.component.scss.shim.ngstyle" = "./src/app/shared/components/button/button.component.scss.shim.ngstyle.js"
    // "../../../../shared/components/button/button.component" = "./src/app/shared/components/button/button.component.ts"
    // "../icon/icon.component.ngfactory" = "./src/app/shared/components/icon/icon.component.ngfactory.js"
    // "./icon.component.scss.shim.ngstyle" = "./src/app/shared/components/icon/icon.component.scss.shim.ngstyle.js"
    // "../icon/icon.component" = "./src/app/shared/components/icon/icon.component.ts"
    // "../../../../shared/components/input-file/input-file.component.ngfactory" = "./src/app/shared/components/input-file/input-file.component.ngfactory.js"
    // "./input-file.component.scss.shim.ngstyle" = "./src/app/shared/components/input-file/input-file.component.scss.shim.ngstyle.js"
    // "../../../../shared/components/input-file/input-file.component" = "./src/app/shared/components/input-file/input-file.component.ts"
    // "../shared/components/input-file/input-file.module" = "./src/app/shared/components/input-file/input-file.module.ts"
    // "../../../../shared/components/modal/modal.component.ngfactory" = "./src/app/shared/components/modal/modal.component.ngfactory.js"
    // "./modal.component.scss.shim.ngstyle" = "./src/app/shared/components/modal/modal.component.scss.shim.ngstyle.js"
    // "src/app/shared/components/modal/modal.component" = "./src/app/shared/components/modal/modal.component.ts"
    // "../../../../shared/components/side-nav/side-nav.component.ngfactory" = "./src/app/shared/components/side-nav/side-nav.component.ngfactory.js"
    // "./side-nav.component.scss.shim.ngstyle" = "./src/app/shared/components/side-nav/side-nav.component.scss.shim.ngstyle.js"
    // "../../../../shared/components/side-nav/side-nav.component" = "./src/app/shared/components/side-nav/side-nav.component.ts"
    // "src/app/shared/constants/data.constant" = "./src/app/shared/constants/data.constant.ts"
    // "src/app/shared/constants/diem-dich-vu.constant" = "./src/app/shared/constants/diem-dich-vu.constant.ts"
    // "src/app/shared/constants/tram-bts.constant" = "./src/app/shared/constants/tram-bts.constant.ts"
    // "src/app/shared/constants/tuyen-cap-ngam.constant" = "./src/app/shared/constants/tuyen-cap-ngam.constant.ts"
    // "src/app/shared/constants/tuyen-cap-noi.constant" = "./src/app/shared/constants/tuyen-cap-noi.constant.ts"
    // "src/app/shared/models/data.model" = "./src/app/shared/models/data.model.ts"
    // "src/app/shared/models/menu.model" = "./src/app/shared/models/menu.model.ts"
    // "../shared/services/datepicker.service" = "./src/app/shared/services/datepicker.service.ts"
    // "../../../shared/services/don-vi.service" = "./src/app/shared/services/don-vi.service.ts"
    // "../../../shared/services/hanh-chinh.service" = "./src/app/shared/services/hanh-chinh.service.ts"
    // "../../../../shared/services/notify.service" = "./src/app/shared/services/notify.service.ts"
    // "../shared/shared.module" = "./src/app/shared/shared.module.ts"

  };
  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([["manager-manager-module-ngfactory"], {
  /***/
  "./node_modules/@angular/cdk/fesm2015/portal.js":
  /*!******************************************************!*\
    !*** ./node_modules/@angular/cdk/fesm2015/portal.js ***!
    \******************************************************/

  /*! exports provided: BasePortalHost, BasePortalOutlet, CdkPortal, CdkPortalOutlet, ComponentPortal, DomPortal, DomPortalHost, DomPortalOutlet, Portal, PortalHostDirective, PortalInjector, PortalModule, TemplatePortal, TemplatePortalDirective */

  /***/
  function node_modulesAngularCdkFesm2015PortalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BasePortalHost", function () {
      return BasePortalHost;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BasePortalOutlet", function () {
      return BasePortalOutlet;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CdkPortal", function () {
      return CdkPortal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CdkPortalOutlet", function () {
      return CdkPortalOutlet;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ComponentPortal", function () {
      return ComponentPortal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DomPortal", function () {
      return DomPortal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DomPortalHost", function () {
      return DomPortalHost;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DomPortalOutlet", function () {
      return DomPortalOutlet;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Portal", function () {
      return Portal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PortalHostDirective", function () {
      return PortalHostDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PortalInjector", function () {
      return PortalInjector;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PortalModule", function () {
      return PortalModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TemplatePortal", function () {
      return TemplatePortal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TemplatePortalDirective", function () {
      return TemplatePortalDirective;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /**
     * @fileoverview added by tsickle
     * Generated from: src/cdk/portal/portal-errors.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @license
     * Copyright Google LLC All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */

    /**
     * Throws an exception when attempting to attach a null portal to a host.
     * \@docs-private
     * @return {?}
     */


    function throwNullPortalError() {
      throw Error('Must provide a portal to attach');
    }
    /**
     * Throws an exception when attempting to attach a portal to a host that is already attached.
     * \@docs-private
     * @return {?}
     */


    function throwPortalAlreadyAttachedError() {
      throw Error('Host already has a portal attached');
    }
    /**
     * Throws an exception when attempting to attach a portal to an already-disposed host.
     * \@docs-private
     * @return {?}
     */


    function throwPortalOutletAlreadyDisposedError() {
      throw Error('This PortalOutlet has already been disposed');
    }
    /**
     * Throws an exception when attempting to attach an unknown portal type.
     * \@docs-private
     * @return {?}
     */


    function throwUnknownPortalTypeError() {
      throw Error('Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' + 'a ComponentPortal or a TemplatePortal.');
    }
    /**
     * Throws an exception when attempting to attach a portal to a null host.
     * \@docs-private
     * @return {?}
     */


    function throwNullPortalOutletError() {
      throw Error('Attempting to attach a portal to a null PortalOutlet');
    }
    /**
     * Throws an exception when attempting to detach a portal that is not attached.
     * \@docs-private
     * @return {?}
     */


    function throwNoPortalAttachedError() {
      throw Error('Attempting to detach a portal that is not attached to a host');
    }
    /**
     * @fileoverview added by tsickle
     * Generated from: src/cdk/portal/portal.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * Interface that can be used to generically type a class.
     * @record
     * @template T
     */


    function ComponentType() {}
    /**
     * A `Portal` is something that you want to render somewhere else.
     * It can be attach to / detached from a `PortalOutlet`.
     * @abstract
     * @template T
     */


    var Portal = /*#__PURE__*/function () {
      function Portal() {
        _classCallCheck(this, Portal);
      }

      _createClass(Portal, [{
        key: "attach",
        value:
        /**
         * Attach this portal to a host.
         * @param {?} host
         * @return {?}
         */
        function attach(host) {
          if (host == null) {
            throwNullPortalOutletError();
          }

          if (host.hasAttached()) {
            throwPortalAlreadyAttachedError();
          }

          this._attachedHost = host;
          return (
            /** @type {?} */
            host.attach(this)
          );
        }
        /**
         * Detach this portal from its host
         * @return {?}
         */

      }, {
        key: "detach",
        value: function detach() {
          /** @type {?} */
          var host = this._attachedHost;

          if (host == null) {
            throwNoPortalAttachedError();
          } else {
            this._attachedHost = null;
            host.detach();
          }
        }
        /**
         * Whether this portal is attached to a host.
         * @return {?}
         */

      }, {
        key: "isAttached",
        get: function get() {
          return this._attachedHost != null;
        }
        /**
         * Sets the PortalOutlet reference without performing `attach()`. This is used directly by
         * the PortalOutlet when it is performing an `attach()` or `detach()`.
         * @param {?} host
         * @return {?}
         */

      }, {
        key: "setAttachedHost",
        value: function setAttachedHost(host) {
          this._attachedHost = host;
        }
      }]);

      return Portal;
    }();

    if (false) {}
    /**
     * A `ComponentPortal` is a portal that instantiates some Component upon attachment.
     * @template T
     */


    var ComponentPortal = /*#__PURE__*/function (_Portal) {
      _inherits(ComponentPortal, _Portal);

      var _super = _createSuper(ComponentPortal);

      /**
       * @param {?} component
       * @param {?=} viewContainerRef
       * @param {?=} injector
       * @param {?=} componentFactoryResolver
       */
      function ComponentPortal(component, viewContainerRef, injector, componentFactoryResolver) {
        var _this;

        _classCallCheck(this, ComponentPortal);

        _this = _super.call(this);
        _this.component = component;
        _this.viewContainerRef = viewContainerRef;
        _this.injector = injector;
        _this.componentFactoryResolver = componentFactoryResolver;
        return _this;
      }

      return _createClass(ComponentPortal);
    }(Portal);

    if (false) {}
    /**
     * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).
     * @template C
     */


    var TemplatePortal = /*#__PURE__*/function (_Portal2) {
      _inherits(TemplatePortal, _Portal2);

      var _super2 = _createSuper(TemplatePortal);

      /**
       * @param {?} template
       * @param {?} viewContainerRef
       * @param {?=} context
       */
      function TemplatePortal(template, viewContainerRef, context) {
        var _this2;

        _classCallCheck(this, TemplatePortal);

        _this2 = _super2.call(this);
        _this2.templateRef = template;
        _this2.viewContainerRef = viewContainerRef;
        _this2.context = context;
        return _this2;
      }
      /**
       * @return {?}
       */


      _createClass(TemplatePortal, [{
        key: "origin",
        get: function get() {
          return this.templateRef.elementRef;
        }
        /**
         * Attach the portal to the provided `PortalOutlet`.
         * When a context is provided it will override the `context` property of the `TemplatePortal`
         * instance.
         * @param {?} host
         * @param {?=} context
         * @return {?}
         */

      }, {
        key: "attach",
        value: function attach(host) {
          var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.context;
          this.context = context;
          return _get(_getPrototypeOf(TemplatePortal.prototype), "attach", this).call(this, host);
        }
        /**
         * @return {?}
         */

      }, {
        key: "detach",
        value: function detach() {
          this.context = undefined;
          return _get(_getPrototypeOf(TemplatePortal.prototype), "detach", this).call(this);
        }
      }]);

      return TemplatePortal;
    }(Portal);

    if (false) {}
    /**
     * A `DomPortal` is a portal whose DOM element will be taken from its current position
     * in the DOM and moved into a portal outlet, when it is attached. On detach, the content
     * will be restored to its original position.
     * @template T
     */


    var DomPortal = /*#__PURE__*/function (_Portal3) {
      _inherits(DomPortal, _Portal3);

      var _super3 = _createSuper(DomPortal);

      /**
       * @param {?} element
       */
      function DomPortal(element) {
        var _this3;

        _classCallCheck(this, DomPortal);

        _this3 = _super3.call(this);
        _this3.element = element instanceof _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"] ? element.nativeElement : element;
        return _this3;
      }

      return _createClass(DomPortal);
    }(Portal);

    if (false) {}
    /**
     * A `PortalOutlet` is an space that can contain a single `Portal`.
     * @record
     */


    function PortalOutlet() {}

    if (false) {}
    /**
     * Partial implementation of PortalOutlet that handles attaching
     * ComponentPortal and TemplatePortal.
     * @abstract
     */


    var BasePortalOutlet = /*#__PURE__*/function () {
      function BasePortalOutlet() {
        _classCallCheck(this, BasePortalOutlet);

        /**
         * Whether this host has already been permanently disposed.
         */
        this._isDisposed = false; // @breaking-change 10.0.0 `attachDomPortal` to become a required abstract method.

        this.attachDomPortal = null;
      }
      /**
       * Whether this host has an attached portal.
       * @return {?}
       */


      _createClass(BasePortalOutlet, [{
        key: "hasAttached",
        value: function hasAttached() {
          return !!this._attachedPortal;
        }
        /**
         * Attaches a portal.
         * @param {?} portal
         * @return {?}
         */

      }, {
        key: "attach",
        value: function attach(portal) {
          if (!portal) {
            throwNullPortalError();
          }

          if (this.hasAttached()) {
            throwPortalAlreadyAttachedError();
          }

          if (this._isDisposed) {
            throwPortalOutletAlreadyDisposedError();
          }

          if (portal instanceof ComponentPortal) {
            this._attachedPortal = portal;
            return this.attachComponentPortal(portal);
          } else if (portal instanceof TemplatePortal) {
            this._attachedPortal = portal;
            return this.attachTemplatePortal(portal); // @breaking-change 10.0.0 remove null check for `this.attachDomPortal`.
          } else if (this.attachDomPortal && portal instanceof DomPortal) {
            this._attachedPortal = portal;
            return this.attachDomPortal(portal);
          }

          throwUnknownPortalTypeError();
        }
        /**
         * Detaches a previously attached portal.
         * @return {?}
         */

      }, {
        key: "detach",
        value: function detach() {
          if (this._attachedPortal) {
            this._attachedPortal.setAttachedHost(null);

            this._attachedPortal = null;
          }

          this._invokeDisposeFn();
        }
        /**
         * Permanently dispose of this portal host.
         * @return {?}
         */

      }, {
        key: "dispose",
        value: function dispose() {
          if (this.hasAttached()) {
            this.detach();
          }

          this._invokeDisposeFn();

          this._isDisposed = true;
        }
        /**
         * \@docs-private
         * @param {?} fn
         * @return {?}
         */

      }, {
        key: "setDisposeFn",
        value: function setDisposeFn(fn) {
          this._disposeFn = fn;
        }
        /**
         * @private
         * @return {?}
         */

      }, {
        key: "_invokeDisposeFn",
        value: function _invokeDisposeFn() {
          if (this._disposeFn) {
            this._disposeFn();

            this._disposeFn = null;
          }
        }
      }]);

      return BasePortalOutlet;
    }();

    if (false) {}
    /**
     * @deprecated Use `BasePortalOutlet` instead.
     * \@breaking-change 9.0.0
     * @abstract
     */


    var BasePortalHost = /*#__PURE__*/function (_BasePortalOutlet) {
      _inherits(BasePortalHost, _BasePortalOutlet);

      var _super4 = _createSuper(BasePortalHost);

      function BasePortalHost() {
        _classCallCheck(this, BasePortalHost);

        return _super4.apply(this, arguments);
      }

      return _createClass(BasePortalHost);
    }(BasePortalOutlet);
    /**
     * @fileoverview added by tsickle
     * Generated from: src/cdk/portal/dom-portal-outlet.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular
     * application context.
     */


    var DomPortalOutlet = /*#__PURE__*/function (_BasePortalOutlet2) {
      _inherits(DomPortalOutlet, _BasePortalOutlet2);

      var _super5 = _createSuper(DomPortalOutlet);

      /**
       * @param {?} outletElement
       * @param {?} _componentFactoryResolver
       * @param {?} _appRef
       * @param {?} _defaultInjector
       * @param {?=} _document
       */
      function DomPortalOutlet(outletElement, _componentFactoryResolver, _appRef, _defaultInjector,
      /**
       * @deprecated `_document` Parameter to be made required.
       * @breaking-change 10.0.0
       */
      _document) {
        var _thisSuper, _this4;

        _classCallCheck(this, DomPortalOutlet);

        _this4 = _super5.call(this);
        _this4.outletElement = outletElement;
        _this4._componentFactoryResolver = _componentFactoryResolver;
        _this4._appRef = _appRef;
        _this4._defaultInjector = _defaultInjector;
        /**
         * Attaches a DOM portal by transferring its content into the outlet.
         * @param portal Portal to be attached.
         * @deprecated To be turned into a method.
         * \@breaking-change 10.0.0
         */

        _this4.attachDomPortal =
        /**
        * @param {?} portal
        * @return {?}
        */
        function (portal) {
          // @breaking-change 10.0.0 Remove check and error once the
          // `_document` constructor parameter is required.
          if (!_this4._document) {
            throw Error('Cannot attach DOM portal without _document constructor parameter');
          }
          /** @type {?} */


          var element = portal.element;

          if (!element.parentNode) {
            throw Error('DOM portal content must be attached to a parent node.');
          } // Anchor used to save the element's previous position so
          // that we can restore it when the portal is detached.

          /** @type {?} */


          var anchorNode = _this4._document.createComment('dom-portal');

          element.parentNode.insertBefore(anchorNode, element);

          _this4.outletElement.appendChild(element);

          _get((_thisSuper = _assertThisInitialized(_this4), _getPrototypeOf(DomPortalOutlet.prototype)), "setDisposeFn", _thisSuper).call(_thisSuper,
          /**
          * @return {?}
          */
          function () {
            // We can't use `replaceWith` here because IE doesn't support it.
            if (anchorNode.parentNode) {
              anchorNode.parentNode.replaceChild(element, anchorNode);
            }
          });
        };

        _this4._document = _document;
        return _this4;
      }
      /**
       * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.
       * @template T
       * @param {?} portal Portal to be attached
       * @return {?} Reference to the created component.
       */


      _createClass(DomPortalOutlet, [{
        key: "attachComponentPortal",
        value: function attachComponentPortal(portal) {
          var _this5 = this;

          /** @type {?} */
          var resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
          /** @type {?} */

          var componentFactory = resolver.resolveComponentFactory(portal.component);
          /** @type {?} */

          var componentRef; // If the portal specifies a ViewContainerRef, we will use that as the attachment point
          // for the component (in terms of Angular's component tree, not rendering).
          // When the ViewContainerRef is missing, we use the factory to create the component directly
          // and then manually attach the view to the application.

          if (portal.viewContainerRef) {
            componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.injector);
            this.setDisposeFn(
            /**
            * @return {?}
            */
            function () {
              return componentRef.destroy();
            });
          } else {
            componentRef = componentFactory.create(portal.injector || this._defaultInjector);

            this._appRef.attachView(componentRef.hostView);

            this.setDisposeFn(
            /**
            * @return {?}
            */
            function () {
              _this5._appRef.detachView(componentRef.hostView);

              componentRef.destroy();
            });
          } // At this point the component has been instantiated, so we move it to the location in the DOM
          // where we want it to be rendered.


          this.outletElement.appendChild(this._getComponentRootNode(componentRef));
          return componentRef;
        }
        /**
         * Attaches a template portal to the DOM as an embedded view.
         * @template C
         * @param {?} portal Portal to be attached.
         * @return {?} Reference to the created embedded view.
         */

      }, {
        key: "attachTemplatePortal",
        value: function attachTemplatePortal(portal) {
          var _this6 = this;

          /** @type {?} */
          var viewContainer = portal.viewContainerRef;
          /** @type {?} */

          var viewRef = viewContainer.createEmbeddedView(portal.templateRef, portal.context);
          viewRef.detectChanges(); // The method `createEmbeddedView` will add the view as a child of the viewContainer.
          // But for the DomPortalOutlet the view can be added everywhere in the DOM
          // (e.g Overlay Container) To move the view to the specified host element. We just
          // re-append the existing root nodes.

          viewRef.rootNodes.forEach(
          /**
          * @param {?} rootNode
          * @return {?}
          */
          function (rootNode) {
            return _this6.outletElement.appendChild(rootNode);
          });
          this.setDisposeFn(
          /**
          * @return {?}
          */
          function () {
            /** @type {?} */
            var index = viewContainer.indexOf(viewRef);

            if (index !== -1) {
              viewContainer.remove(index);
            }
          }); // TODO(jelbourn): Return locals from view.

          return viewRef;
        }
        /**
         * Clears out a portal from the DOM.
         * @return {?}
         */

      }, {
        key: "dispose",
        value: function dispose() {
          _get(_getPrototypeOf(DomPortalOutlet.prototype), "dispose", this).call(this);

          if (this.outletElement.parentNode != null) {
            this.outletElement.parentNode.removeChild(this.outletElement);
          }
        }
        /**
         * Gets the root HTMLElement for an instantiated component.
         * @private
         * @param {?} componentRef
         * @return {?}
         */

      }, {
        key: "_getComponentRootNode",
        value: function _getComponentRootNode(componentRef) {
          return (
            /** @type {?} */

            /** @type {?} */
            componentRef.hostView.rootNodes[0]
          );
        }
      }]);

      return DomPortalOutlet;
    }(BasePortalOutlet);

    if (false) {}
    /**
     * @deprecated Use `DomPortalOutlet` instead.
     * \@breaking-change 9.0.0
     */


    var DomPortalHost = /*#__PURE__*/function (_DomPortalOutlet) {
      _inherits(DomPortalHost, _DomPortalOutlet);

      var _super6 = _createSuper(DomPortalHost);

      function DomPortalHost() {
        _classCallCheck(this, DomPortalHost);

        return _super6.apply(this, arguments);
      }

      return _createClass(DomPortalHost);
    }(DomPortalOutlet);
    /**
     * @fileoverview added by tsickle
     * Generated from: src/cdk/portal/portal-directives.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,
     * the directive instance itself can be attached to a host, enabling declarative use of portals.
     */


    var CdkPortal = /*#__PURE__*/function (_TemplatePortal) {
      _inherits(CdkPortal, _TemplatePortal);

      var _super7 = _createSuper(CdkPortal);

      /**
       * @param {?} templateRef
       * @param {?} viewContainerRef
       */
      function CdkPortal(templateRef, viewContainerRef) {
        _classCallCheck(this, CdkPortal);

        return _super7.call(this, templateRef, viewContainerRef);
      }

      return _createClass(CdkPortal);
    }(TemplatePortal);

    CdkPortal.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[cdkPortal]',
        exportAs: 'cdkPortal'
      }]
    }];
    /** @nocollapse */

    CdkPortal.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]
      }];
    };
    /**
     * @deprecated Use `CdkPortal` instead.
     * \@breaking-change 9.0.0
     */


    var TemplatePortalDirective = /*#__PURE__*/function (_CdkPortal) {
      _inherits(TemplatePortalDirective, _CdkPortal);

      var _super8 = _createSuper(TemplatePortalDirective);

      function TemplatePortalDirective() {
        _classCallCheck(this, TemplatePortalDirective);

        return _super8.apply(this, arguments);
      }

      return _createClass(TemplatePortalDirective);
    }(CdkPortal);

    TemplatePortalDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[cdk-portal], [portal]',
        exportAs: 'cdkPortal',
        providers: [{
          provide: CdkPortal,
          useExisting: TemplatePortalDirective
        }]
      }]
    }];
    /**
     * Directive version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals can be
     * directly attached to it, enabling declarative use.
     *
     * Usage:
     * `<ng-template [cdkPortalOutlet]="greeting"></ng-template>`
     */

    var CdkPortalOutlet = /*#__PURE__*/function (_BasePortalOutlet3) {
      _inherits(CdkPortalOutlet, _BasePortalOutlet3);

      var _super9 = _createSuper(CdkPortalOutlet);

      /**
       * @param {?} _componentFactoryResolver
       * @param {?} _viewContainerRef
       * @param {?=} _document
       */
      function CdkPortalOutlet(_componentFactoryResolver, _viewContainerRef,
      /**
       * @deprecated `_document` parameter to be made required.
       * @breaking-change 9.0.0
       */
      _document) {
        var _thisSuper2, _this7;

        _classCallCheck(this, CdkPortalOutlet);

        _this7 = _super9.call(this);
        _this7._componentFactoryResolver = _componentFactoryResolver;
        _this7._viewContainerRef = _viewContainerRef;
        /**
         * Whether the portal component is initialized.
         */

        _this7._isInitialized = false;
        /**
         * Emits when a portal is attached to the outlet.
         */

        _this7.attached = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * Attaches the given DomPortal to this PortalHost by moving all of the portal content into it.
         * @param portal Portal to be attached.
         * @deprecated To be turned into a method.
         * \@breaking-change 10.0.0
         */

        _this7.attachDomPortal =
        /**
        * @param {?} portal
        * @return {?}
        */
        function (portal) {
          // @breaking-change 9.0.0 Remove check and error once the
          // `_document` constructor parameter is required.
          if (!_this7._document) {
            throw Error('Cannot attach DOM portal without _document constructor parameter');
          }
          /** @type {?} */


          var element = portal.element;

          if (!element.parentNode) {
            throw Error('DOM portal content must be attached to a parent node.');
          } // Anchor used to save the element's previous position so
          // that we can restore it when the portal is detached.

          /** @type {?} */


          var anchorNode = _this7._document.createComment('dom-portal');

          portal.setAttachedHost(_assertThisInitialized(_this7));
          element.parentNode.insertBefore(anchorNode, element);

          _this7._getRootNode().appendChild(element);

          _get((_thisSuper2 = _assertThisInitialized(_this7), _getPrototypeOf(CdkPortalOutlet.prototype)), "setDisposeFn", _thisSuper2).call(_thisSuper2,
          /**
          * @return {?}
          */
          function () {
            if (anchorNode.parentNode) {
              /** @type {?} */
              anchorNode.parentNode.replaceChild(element, anchorNode);
            }
          });
        };

        _this7._document = _document;
        return _this7;
      }
      /**
       * Portal associated with the Portal outlet.
       * @return {?}
       */


      _createClass(CdkPortalOutlet, [{
        key: "portal",
        get: function get() {
          return this._attachedPortal;
        }
        /**
         * @param {?} portal
         * @return {?}
         */
        ,
        set: function set(portal) {
          // Ignore the cases where the `portal` is set to a falsy value before the lifecycle hooks have
          // run. This handles the cases where the user might do something like `<div cdkPortalOutlet>`
          // and attach a portal programmatically in the parent component. When Angular does the first CD
          // round, it will fire the setter with empty string, causing the user's content to be cleared.
          if (this.hasAttached() && !portal && !this._isInitialized) {
            return;
          }

          if (this.hasAttached()) {
            _get(_getPrototypeOf(CdkPortalOutlet.prototype), "detach", this).call(this);
          }

          if (portal) {
            _get(_getPrototypeOf(CdkPortalOutlet.prototype), "attach", this).call(this, portal);
          }

          this._attachedPortal = portal;
        }
        /**
         * Component or view reference that is attached to the portal.
         * @return {?}
         */

      }, {
        key: "attachedRef",
        get: function get() {
          return this._attachedRef;
        }
        /**
         * @return {?}
         */

      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          this._isInitialized = true;
        }
        /**
         * @return {?}
         */

      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          _get(_getPrototypeOf(CdkPortalOutlet.prototype), "dispose", this).call(this);

          this._attachedPortal = null;
          this._attachedRef = null;
        }
        /**
         * Attach the given ComponentPortal to this PortalOutlet using the ComponentFactoryResolver.
         *
         * @template T
         * @param {?} portal Portal to be attached to the portal outlet.
         * @return {?} Reference to the created component.
         */

      }, {
        key: "attachComponentPortal",
        value: function attachComponentPortal(portal) {
          portal.setAttachedHost(this); // If the portal specifies an origin, use that as the logical location of the component
          // in the application tree. Otherwise use the location of this PortalOutlet.

          /** @type {?} */

          var viewContainerRef = portal.viewContainerRef != null ? portal.viewContainerRef : this._viewContainerRef;
          /** @type {?} */

          var resolver = portal.componentFactoryResolver || this._componentFactoryResolver;
          /** @type {?} */

          var componentFactory = resolver.resolveComponentFactory(portal.component);
          /** @type {?} */

          var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.injector); // If we're using a view container that's different from the injected one (e.g. when the portal
          // specifies its own) we need to move the component into the outlet, otherwise it'll be rendered
          // inside of the alternate view container.

          if (viewContainerRef !== this._viewContainerRef) {
            this._getRootNode().appendChild(
            /** @type {?} */
            ref.hostView.rootNodes[0]);
          }

          _get(_getPrototypeOf(CdkPortalOutlet.prototype), "setDisposeFn", this).call(this,
          /**
          * @return {?}
          */
          function () {
            return ref.destroy();
          });

          this._attachedPortal = portal;
          this._attachedRef = ref;
          this.attached.emit(ref);
          return ref;
        }
        /**
         * Attach the given TemplatePortal to this PortalHost as an embedded View.
         * @template C
         * @param {?} portal Portal to be attached.
         * @return {?} Reference to the created embedded view.
         */

      }, {
        key: "attachTemplatePortal",
        value: function attachTemplatePortal(portal) {
          var _this8 = this;

          portal.setAttachedHost(this);
          /** @type {?} */

          var viewRef = this._viewContainerRef.createEmbeddedView(portal.templateRef, portal.context);

          _get(_getPrototypeOf(CdkPortalOutlet.prototype), "setDisposeFn", this).call(this,
          /**
          * @return {?}
          */
          function () {
            return _this8._viewContainerRef.clear();
          });

          this._attachedPortal = portal;
          this._attachedRef = viewRef;
          this.attached.emit(viewRef);
          return viewRef;
        }
        /**
         * Gets the root node of the portal outlet.
         * @private
         * @return {?}
         */

      }, {
        key: "_getRootNode",
        value: function _getRootNode() {
          /** @type {?} */
          var nativeElement = this._viewContainerRef.element.nativeElement; // The directive could be set on a template which will result in a comment
          // node being the root. Use the comment's parent node if that is the case.

          return (
            /** @type {?} */
            nativeElement.nodeType === nativeElement.ELEMENT_NODE ? nativeElement :
            /** @type {?} */
            nativeElement.parentNode
          );
        }
      }]);

      return CdkPortalOutlet;
    }(BasePortalOutlet);

    CdkPortalOutlet.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[cdkPortalOutlet]',
        exportAs: 'cdkPortalOutlet',
        inputs: ['portal: cdkPortalOutlet']
      }]
    }];
    /** @nocollapse */

    CdkPortalOutlet.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]
      }, {
        type: undefined,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
          args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["DOCUMENT"]]
        }]
      }];
    };

    CdkPortalOutlet.propDecorators = {
      attached: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    if (false) {}
    /**
     * @deprecated Use `CdkPortalOutlet` instead.
     * \@breaking-change 9.0.0
     */


    var PortalHostDirective = /*#__PURE__*/function (_CdkPortalOutlet) {
      _inherits(PortalHostDirective, _CdkPortalOutlet);

      var _super10 = _createSuper(PortalHostDirective);

      function PortalHostDirective() {
        _classCallCheck(this, PortalHostDirective);

        return _super10.apply(this, arguments);
      }

      return _createClass(PortalHostDirective);
    }(CdkPortalOutlet);

    PortalHostDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[cdkPortalHost], [portalHost]',
        exportAs: 'cdkPortalHost',
        inputs: ['portal: cdkPortalHost'],
        providers: [{
          provide: CdkPortalOutlet,
          useExisting: PortalHostDirective
        }]
      }]
    }];

    var PortalModule = /*#__PURE__*/_createClass(function PortalModule() {
      _classCallCheck(this, PortalModule);
    });

    PortalModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        exports: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective],
        declarations: [CdkPortal, CdkPortalOutlet, TemplatePortalDirective, PortalHostDirective]
      }]
    }];
    /**
     * @fileoverview added by tsickle
     * Generated from: src/cdk/portal/portal-injector.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * @license
     * Copyright Google LLC All Rights Reserved.
     *
     * Use of this source code is governed by an MIT-style license that can be
     * found in the LICENSE file at https://angular.io/license
     */

    /**
     * Custom injector to be used when providing custom
     * injection tokens to components inside a portal.
     * \@docs-private
     */

    var PortalInjector = /*#__PURE__*/function () {
      /**
       * @param {?} _parentInjector
       * @param {?} _customTokens
       */
      function PortalInjector(_parentInjector, _customTokens) {
        _classCallCheck(this, PortalInjector);

        this._parentInjector = _parentInjector;
        this._customTokens = _customTokens;
      }
      /**
       * @param {?} token
       * @param {?=} notFoundValue
       * @return {?}
       */


      _createClass(PortalInjector, [{
        key: "get",
        value: function get(token, notFoundValue) {
          /** @type {?} */
          var value = this._customTokens.get(token);

          if (typeof value !== 'undefined') {
            return value;
          }

          return this._parentInjector.get(token, notFoundValue);
        }
      }]);

      return PortalInjector;
    }();

    if (false) {}
    /**
     * @fileoverview added by tsickle
     * Generated from: src/cdk/portal/public-api.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */

    /**
     * Generated bundle index. Do not edit.
     */
    //# sourceMappingURL=portal.js.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/has/has.mjs":
  /*!**************************************************!*\
    !*** ./node_modules/@dojo/framework/has/has.mjs ***!
    \**************************************************/

  /*! exports provided: testCache, testFunctions, load, normalize, exists, add, default */

  /***/
  function node_modulesDojoFrameworkHasHasMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "testCache", function () {
      return testCache;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "testFunctions", function () {
      return testFunctions;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "load", function () {
      return load;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "normalize", function () {
      return normalize;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "exists", function () {
      return exists;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "add", function () {
      return add;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return has;
    });
    /* harmony import */


    var _shim_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../shim/global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /**
     * A cache of results of feature tests
     */


    var testCache = {};
    /**
     * A cache of the un-resolved feature tests
     */

    var testFunctions = {};
    /* Grab the staticFeatures if there are available */

    var _ref = _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].DojoHasEnvironment || {},
        staticFeatures = _ref.staticFeatures;
    /* Cleaning up the DojoHasEnviornment */


    if ('DojoHasEnvironment' in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"]) {
      delete _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].DojoHasEnvironment;
    }
    /**
     * Custom type guard to narrow the `staticFeatures` to either a map or a function that
     * returns a map.
     *
     * @param value The value to guard for
     */


    function isStaticFeatureFunction(value) {
      return typeof value === 'function';
    }
    /**
     * The cache of asserted features that were available in the global scope when the
     * module loaded
     */


    var staticCache = staticFeatures ? isStaticFeatureFunction(staticFeatures) ? staticFeatures.apply(_shim_global__WEBPACK_IMPORTED_MODULE_0__["default"]) : staticFeatures : {};
    /* Providing an empty cache, if none was in the environment
    /**
    * AMD plugin function.
    *
    * Conditional loads modules based on a has feature test value.
    *
    * @param resourceId Gives the resolved module id to load.
    * @param require The loader require function with respect to the module that contained the plugin resource in its
    *                dependency list.
    * @param load Callback to loader that consumes result of plugin demand.
    */

    function load(resourceId, require, load, config) {
      resourceId ? require([resourceId], load) : load();
    }
    /**
     * AMD plugin function.
     *
     * Resolves resourceId into a module id based on possibly-nested tenary expression that branches on has feature test
     * value(s).
     *
     * @param resourceId The id of the module
     * @param normalize Resolves a relative module id into an absolute module id
     */


    function normalize(resourceId, normalize) {
      var tokens = resourceId.match(/[\?:]|[^:\?]*/g) || [];
      var i = 0;

      function get(skip) {
        var term = tokens[i++];

        if (term === ':') {
          // empty string module name, resolves to null
          return null;
        } else {
          // postfixed with a ? means it is a feature to branch on, the term is the name of the feature
          if (tokens[i++] === '?') {
            if (!skip && has(term)) {
              // matched the feature, get the first value from the options
              return get();
            } else {
              // did not match, get the second value, passing over the first
              get(true);
              return get(skip);
            }
          } // a module


          return term;
        }
      }

      var id = get();
      return id && normalize(id);
    }
    /**
     * Check if a feature has already been registered
     *
     * @param feature the name of the feature
     */


    function exists(feature) {
      var normalizedFeature = feature.toLowerCase();
      return Boolean(normalizedFeature in staticCache || normalizedFeature in testCache || testFunctions[normalizedFeature]);
    }
    /**
     * Register a new test for a named feature.
     *
     * @example
     * has.add('dom-addeventlistener', !!document.addEventListener);
     *
     * @example
     * has.add('touch-events', function () {
     *    return 'ontouchstart' in document
     * });
     *
     * @param feature the name of the feature
     * @param value the value reported of the feature, or a function that will be executed once on first test
     * @param overwrite if an existing value should be overwritten. Defaults to false.
     */


    function add(feature, value) {
      var overwrite = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
      var normalizedFeature = feature.toLowerCase();

      if (exists(normalizedFeature) && !overwrite && !(normalizedFeature in staticCache)) {
        throw new TypeError("Feature \"".concat(feature, "\" exists and overwrite not true."));
      }

      if (typeof value === 'function') {
        testFunctions[normalizedFeature] = value;
      } else {
        testCache[normalizedFeature] = value;
        delete testFunctions[normalizedFeature];
      }
    }
    /**
     * Return the current value of a named feature.
     *
     * @param feature The name of the feature to test.
     */


    function has(feature) {
      var result;
      var normalizedFeature = feature.toLowerCase();

      if (normalizedFeature in staticCache) {
        result = staticCache[normalizedFeature];
      } else if (testFunctions[normalizedFeature]) {
        result = testCache[normalizedFeature] = testFunctions[normalizedFeature].call(null);
        delete testFunctions[normalizedFeature];
      } else if (normalizedFeature in testCache) {
        result = testCache[normalizedFeature];
      } else {
        throw new TypeError("Attempt to detect unregistered has feature \"".concat(feature, "\""));
      }

      return result;
    }
    /*
     * Out of the box feature tests
     */


    add('public-path', undefined);
    /* flag for dojo debug, default to false */

    add('dojo-debug', false);
    /* Detects if the environment is "browser like" */

    add('host-browser', typeof document !== 'undefined' && typeof location !== 'undefined');
    /* Detects if the environment appears to be NodeJS */

    add('host-node', function () {
      if (typeof process === 'object' && process.versions && process.versions.node) {
        return process.versions.node;
      }
    });
    add('fetch', 'fetch' in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"] && typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].fetch === 'function', true);
    add('es6-array', function () {
      return ['from', 'of'].every(function (key) {
        return key in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array;
      }) && ['findIndex', 'find', 'copyWithin'].every(function (key) {
        return key in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype;
      });
    }, true);
    add('es6-array-fill', function () {
      if ('fill' in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype) {
        /* Some versions of Safari do not properly implement this */
        return [1].fill(9, Number.POSITIVE_INFINITY)[0] === 1;
      }

      return false;
    }, true);
    add('es7-array', function () {
      return 'includes' in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype;
    }, true);
    /* Map */

    add('es6-map', function () {
      if (typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Map === 'function') {
        /*
        IE11 and older versions of Safari are missing critical ES6 Map functionality
        We wrap this in a try/catch because sometimes the Map constructor exists, but does not
        take arguments (iOS 8.4)
        */
        try {
          var map = new _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Map([[0, 1]]);
          return map.has(0) && typeof map.keys === 'function' && has('es6-symbol') && typeof map.values === 'function' && typeof map.entries === 'function';
        } catch (e) {
          /* istanbul ignore next: not testing on iOS at the moment */
          return false;
        }
      }

      return false;
    }, true);
    /* Math */

    add('es6-math', function () {
      return ['clz32', 'sign', 'log10', 'log2', 'log1p', 'expm1', 'cosh', 'sinh', 'tanh', 'acosh', 'asinh', 'atanh', 'trunc', 'fround', 'cbrt', 'hypot'].every(function (name) {
        return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Math[name] === 'function';
      });
    }, true);
    add('es6-math-imul', function () {
      if ('imul' in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Math) {
        /* Some versions of Safari on ios do not properly implement this */
        return Math.imul(0xffffffff, 5) === -5;
      }

      return false;
    }, true);
    /* Object */

    add('es6-object', function () {
      return has('es6-symbol') && ['assign', 'is', 'getOwnPropertySymbols', 'setPrototypeOf'].every(function (name) {
        return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Object[name] === 'function';
      });
    }, true);
    add('es2017-object', function () {
      return ['values', 'entries', 'getOwnPropertyDescriptors'].every(function (name) {
        return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Object[name] === 'function';
      });
    }, true);
    /* Observable */

    add('es-observable', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Observable !== 'undefined';
    }, true);
    /* Promise */

    add('es6-promise', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise !== 'undefined' && has('es6-symbol');
    }, true);
    add('es2018-promise-finally', function () {
      return has('es6-promise') && typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise.prototype["finally"] !== 'undefined';
    }, true);
    /* Set */

    add('es6-set', function () {
      if (typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Set === 'function') {
        /* IE11 and older versions of Safari are missing critical ES6 Set functionality */
        var set = new _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Set([1]);
        return set.has(1) && 'keys' in set && typeof set.keys === 'function' && has('es6-symbol');
      }

      return false;
    }, true);
    /* String */

    add('es6-string', function () {
      return [
      /* static methods */
      'fromCodePoint'].every(function (key) {
        return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].String[key] === 'function';
      }) && [
      /* instance methods */
      'codePointAt', 'normalize', 'repeat', 'startsWith', 'endsWith', 'includes'].every(function (key) {
        return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype[key] === 'function';
      });
    }, true);
    add('es6-string-raw', function () {
      function getCallSite(callSite) {
        var result = _toConsumableArray(callSite);

        result.raw = callSite.raw;
        return result;
      }

      if ('raw' in _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].String) {
        var b = 1;
        var callSite = getCallSite(_templateObject || (_templateObject = _taggedTemplateLiteral(["a\n", ""], ["a\\n", ""])), b);
        callSite.raw = ['a\\n'];
        var supportsTrunc = _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.raw(callSite, 42) === 'a\\n';
        return supportsTrunc;
      }

      return false;
    }, true);
    add('es2017-string', function () {
      return ['padStart', 'padEnd'].every(function (key) {
        return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype[key] === 'function';
      });
    }, true);
    /* Symbol */

    add('es6-symbol', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Symbol !== 'undefined' && typeof Symbol() === 'symbol';
    }, true);
    /* WeakMap */

    add('es6-weakmap', function () {
      if (typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].WeakMap !== 'undefined') {
        /* IE11 and older versions of Safari are missing critical ES6 Map functionality */
        var key1 = {};
        var key2 = {};
        var map = new _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].WeakMap([[key1, 1]]);
        Object.freeze(key1);
        return map.get(key1) === 1 && map.set(key2, 2) === map && has('es6-symbol');
      }

      return false;
    }, true);
    /* Miscellaneous features */

    add('microtasks', function () {
      return has('es6-promise') || has('host-node') || has('dom-mutationobserver');
    }, true);
    add('postmessage', function () {
      // If window is undefined, and we have postMessage, it probably means we're in a web worker. Web workers have
      // post message but it doesn't work how we expect it to, so it's best just to pretend it doesn't exist.
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].window !== 'undefined' && typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].postMessage === 'function';
    }, true);
    add('raf', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].requestAnimationFrame === 'function';
    }, true);
    add('setimmediate', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].setImmediate !== 'undefined';
    }, true);
    /* DOM Features */

    add('dom-mutationobserver', function () {
      if (has('host-browser') && Boolean(_shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].MutationObserver || _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].WebKitMutationObserver)) {
        // IE11 has an unreliable MutationObserver implementation where setProperty() does not
        // generate a mutation event, observers can crash, and the queue does not drain
        // reliably. The following feature test was adapted from
        // https://gist.github.com/t10ko/4aceb8c71681fdb275e33efe5e576b14
        var example = document.createElement('div');
        /* tslint:disable-next-line:variable-name */

        var HostMutationObserver = _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].MutationObserver || _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].WebKitMutationObserver;
        var observer = new HostMutationObserver(function () {});
        observer.observe(example, {
          attributes: true
        });
        example.style.setProperty('display', 'block');
        return Boolean(observer.takeRecords().length);
      }

      return false;
    }, true);
    add('dom-webanimation', function () {
      return has('host-browser') && _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].Animation !== undefined && _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].KeyframeEffect !== undefined;
    }, true);
    add('abort-controller', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].AbortController !== 'undefined';
    });
    add('abort-signal', function () {
      return typeof _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].AbortSignal !== 'undefined';
    });
    add('dom-intersection-observer', function () {
      return has('host-browser') && _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].IntersectionObserver !== undefined;
    }, true);
    add('dom-resize-observer', function () {
      return has('host-browser') && _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].ResizeObserver !== undefined;
    }, true);
    add('dom-pointer-events', function () {
      return has('host-browser') && _shim_global__WEBPACK_IMPORTED_MODULE_0__["default"].onpointerdown !== undefined;
    }, true);
    add('build-elide', false); //# sourceMappingURL=has.mjs.map

    /***/
  },

  /***/
  "./node_modules/@dojo/framework/shim/AbortController.mjs":
  /*!***************************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/AbortController.mjs ***!
    \***************************************************************/

  /*! exports provided: ShimAbortSignal, ShimAbortController, default */

  /***/
  function node_modulesDojoFrameworkShimAbortControllerMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ShimAbortSignal", function () {
      return ShimAbortSignal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ShimAbortController", function () {
      return ShimAbortController;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");
    /* harmony import */


    var _array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./array */
    "./node_modules/@dojo/framework/shim/array.mjs"); // tslint:disable-next-line variable-name


    var ShimAbortSignal = _global__WEBPACK_IMPORTED_MODULE_0__["default"].AbortSignal;

    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('abort-signal')) {
      _global__WEBPACK_IMPORTED_MODULE_0__["default"].AbortSignal = ShimAbortSignal = /*#__PURE__*/function () {
        function ShimAbortSignal() {
          _classCallCheck(this, ShimAbortSignal);

          this._aborted = false;
          this.listeners = {};
        }

        _createClass(ShimAbortSignal, [{
          key: "aborted",
          get: function get() {
            return this._aborted;
          }
        }, {
          key: "addEventListener",
          value: function addEventListener(type, callback) {
            if (!(type in this.listeners)) {
              this.listeners[type] = [];
            }

            this.listeners[type].push(callback);
          }
        }, {
          key: "removeEventListener",
          value: function removeEventListener(type, callback) {
            if (!(type in this.listeners)) {
              return;
            }

            var index = Object(_array__WEBPACK_IMPORTED_MODULE_2__["findIndex"])(this.listeners[type], function (cb) {
              return cb === callback;
            });

            if (index >= 0) {
              this.listeners[type].splice(index, 1);
            }
          }
        }, {
          key: "dispatchEvent",
          value: function dispatchEvent(event) {
            var _this9 = this;

            var type = event.type;

            if (type === 'abort') {
              this._aborted = true;

              if (typeof this.onabort === 'function') {
                this.onabort.call(this, event);
              }
            }

            if (!(type in this.listeners)) {
              return false;
            }

            this.listeners[type].forEach(function (callback) {
              setTimeout(function () {
                return callback.call(_this9, event);
              }, 0);
            });
            return !event.preventDefault;
          }
        }]);

        return ShimAbortSignal;
      }();
    } // tslint:disable-next-line variable-name


    var ShimAbortController = _global__WEBPACK_IMPORTED_MODULE_0__["default"].AbortController;

    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('abort-controller')) {
      _global__WEBPACK_IMPORTED_MODULE_0__["default"].AbortController = ShimAbortController = /*#__PURE__*/function () {
        function ShimAbortController() {
          _classCallCheck(this, ShimAbortController);

          this.signal = new ShimAbortSignal();
        }

        _createClass(ShimAbortController, [{
          key: "abort",
          value: function abort() {
            var event;

            try {
              event = new Event('abort');
            } catch (e) {
              if (typeof document !== 'undefined') {
                event = document.createEvent('Event');
                event.initEvent('abort', false, false);
              } else {
                event = {
                  type: 'abort',
                  bubbles: false,
                  cancelable: false
                };
              }
            }

            this.signal.dispatchEvent(event);
          }
        }]);

        return ShimAbortController;
      }();
    }
    /* harmony default export */


    __webpack_exports__["default"] = ShimAbortController; //# sourceMappingURL=AbortController.mjs.map

    /***/
  },

  /***/
  "./node_modules/@dojo/framework/shim/Promise.mjs":
  /*!*******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/Promise.mjs ***!
    \*******************************************************/

  /*! exports provided: ShimPromise, isThenable, default */

  /***/
  function node_modulesDojoFrameworkShimPromiseMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ShimPromise", function () {
      return ShimPromise;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isThenable", function () {
      return isThenable;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _support_queue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./support/queue */
    "./node_modules/@dojo/framework/shim/support/queue.mjs");
    /* harmony import */


    var _Symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./Symbol */
    "./node_modules/@dojo/framework/shim/Symbol.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");

    var ShimPromise = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise;

    var isThenable = function isThenable(value) {
      return value && typeof value.then === 'function';
    };

    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-promise')) {
      _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise = ShimPromise = (_a = /*#__PURE__*/function () {
        /**
         * Creates a new Promise.
         *
         * @constructor
         *
         * @param executor
         * The executor function is called immediately when the Promise is instantiated. It is responsible for
         * starting the asynchronous operation when it is invoked.
         *
         * The executor must call either the passed `resolve` function when the asynchronous operation has completed
         * successfully, or the `reject` function when the operation fails.
         */
        function Promise(executor) {
          var _this10 = this;

          _classCallCheck(this, Promise);

          /**
           * The current state of this promise.
           */
          this.state = 1
          /* Pending */
          ;
          this[Symbol.toStringTag] = 'Promise';
          /**
           * If true, the resolution of this promise is chained ("locked in") to another promise.
           */

          var isChained = false;
          /**
           * Whether or not this promise is in a resolved state.
           */

          var isResolved = function isResolved() {
            return _this10.state !== 1
            /* Pending */
            || isChained;
          };
          /**
           * Callbacks that should be invoked once the asynchronous operation has completed.
           */


          var callbacks = [];
          /**
           * Initially pushes callbacks onto a queue for execution once this promise settles. After the promise settles,
           * enqueues callbacks for execution on the next event loop turn.
           */

          var whenFinished = function whenFinished(callback) {
            if (callbacks) {
              callbacks.push(callback);
            }
          };
          /**
           * Settles this promise.
           *
           * @param newState The resolved state for this promise.
           * @param {T|any} value The resolved value for this promise.
           */


          var settle = function settle(newState, value) {
            // A promise can only be settled once.
            if (_this10.state !== 1
            /* Pending */
            ) {
              return;
            }

            _this10.state = newState;
            _this10.resolvedValue = value;
            whenFinished = _support_queue__WEBPACK_IMPORTED_MODULE_1__["queueMicroTask"]; // Only enqueue a callback runner if there are callbacks so that initially fulfilled Promises don't have to
            // wait an extra turn.

            if (callbacks && callbacks.length > 0) {
              Object(_support_queue__WEBPACK_IMPORTED_MODULE_1__["queueMicroTask"])(function () {
                if (callbacks) {
                  var count = callbacks.length;

                  for (var _i2 = 0; _i2 < count; ++_i2) {
                    callbacks[_i2].call(null);
                  }

                  callbacks = null;
                }
              });
            }
          };
          /**
           * Resolves this promise.
           *
           * @param newState The resolved state for this promise.
           * @param {T|any} value The resolved value for this promise.
           */


          var resolve = function resolve(newState, value) {
            if (isResolved()) {
              return;
            }

            if (isThenable(value)) {
              value.then(settle.bind(null, 0
              /* Fulfilled */
              ), settle.bind(null, 2
              /* Rejected */
              ));
              isChained = true;
            } else {
              settle(newState, value);
            }
          };

          this.then = function (onFulfilled, onRejected) {
            return new Promise(function (resolve, reject) {
              // whenFinished initially queues up callbacks for execution after the promise has settled. Once the
              // promise has settled, whenFinished will schedule callbacks for execution on the next turn through the
              // event loop.
              whenFinished(function () {
                var callback = _this10.state === 2
                /* Rejected */
                ? onRejected : onFulfilled;

                if (typeof callback === 'function') {
                  try {
                    resolve(callback(_this10.resolvedValue));
                  } catch (error) {
                    reject(error);
                  }
                } else if (_this10.state === 2
                /* Rejected */
                ) {
                  reject(_this10.resolvedValue);
                } else {
                  resolve(_this10.resolvedValue);
                }
              });
            });
          };

          try {
            executor(resolve.bind(null, 0
            /* Fulfilled */
            ), resolve.bind(null, 2
            /* Rejected */
            ));
          } catch (error) {
            settle(2
            /* Rejected */
            , error);
          }
        }

        _createClass(Promise, [{
          key: "catch",
          value: function _catch(onRejected) {
            return this.then(undefined, onRejected);
          }
        }], [{
          key: "all",
          value: function all(iterable) {
            return new this(function (resolve, reject) {
              var values = [];
              var complete = 0;
              var total = 0;
              var populating = true;

              function fulfill(index, value) {
                values[index] = value;
                ++complete;
                finish();
              }

              function finish() {
                if (populating || complete < total) {
                  return;
                }

                resolve(values);
              }

              function processItem(index, item) {
                ++total;

                if (isThenable(item)) {
                  // If an item Promise rejects, this Promise is immediately rejected with the item
                  // Promise's rejection error.
                  item.then(fulfill.bind(null, index), reject);
                } else {
                  Promise.resolve(item).then(fulfill.bind(null, index));
                }
              }

              var i = 0;

              var _iterator = _createForOfIteratorHelper(iterable),
                  _step;

              try {
                for (_iterator.s(); !(_step = _iterator.n()).done;) {
                  var value = _step.value;
                  processItem(i, value);
                  i++;
                }
              } catch (err) {
                _iterator.e(err);
              } finally {
                _iterator.f();
              }

              populating = false;
              finish();
            });
          }
        }, {
          key: "race",
          value: function race(iterable) {
            return new this(function (resolve, reject) {
              var _iterator2 = _createForOfIteratorHelper(iterable),
                  _step2;

              try {
                for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
                  var item = _step2.value;

                  if (item instanceof Promise) {
                    // If a Promise item rejects, this Promise is immediately rejected with the item
                    // Promise's rejection error.
                    item.then(resolve, reject);
                  } else {
                    Promise.resolve(item).then(resolve);
                  }
                }
              } catch (err) {
                _iterator2.e(err);
              } finally {
                _iterator2.f();
              }
            });
          }
        }, {
          key: "reject",
          value: function reject(reason) {
            return new this(function (resolve, reject) {
              reject(reason);
            });
          }
        }, {
          key: "resolve",
          value: function resolve(value) {
            return new this(function (resolve) {
              resolve(value);
            });
          }
        }]);

        return Promise;
      }(), _a[Symbol.species] = ShimPromise, _a); // this cast is needed in order to omit finally in the class declaration; this was done so the finally code
      // is not duplicated and always added in the conditional below
    }

    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es2018-promise-finally')) {
      _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise.prototype["finally"] = function (onFinally) {
        return this.then(onFinally && function (value) {
          return Promise.resolve(onFinally()).then(function () {
            return value;
          });
        }, onFinally && function (reason) {
          return Promise.resolve(onFinally()).then(function () {
            throw reason;
          });
        });
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = ShimPromise;

    var _a; //# sourceMappingURL=Promise.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/Symbol.mjs":
  /*!******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/Symbol.mjs ***!
    \******************************************************/

  /*! exports provided: Symbol, isSymbol, default */

  /***/
  function node_modulesDojoFrameworkShimSymbolMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Symbol", function () {
      return Symbol;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isSymbol", function () {
      return isSymbol;
    });
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _support_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./support/util */
    "./node_modules/@dojo/framework/shim/support/util.mjs");

    var Symbol = _global__WEBPACK_IMPORTED_MODULE_1__["default"].Symbol;

    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_0__["default"])('es6-symbol')) {
      /**
       * Throws if the value is not a symbol, used internally within the Shim
       * @param  {any}    value The value to check
       * @return {symbol}       Returns the symbol or throws
       */
      var validateSymbol = function validateSymbol(value) {
        if (!isSymbol(value)) {
          throw new TypeError(value + ' is not a symbol');
        }

        return value;
      };

      var defineProperties = Object.defineProperties;
      var defineProperty = Object.defineProperty;
      var create = Object.create;
      var objPrototype = Object.prototype;
      var globalSymbols = {};

      var getSymbolName = function () {
        var created = create(null);
        return function (desc) {
          var postfix = 0;
          var name;

          while (created[String(desc) + (postfix || '')]) {
            ++postfix;
          }

          desc += String(postfix || '');
          created[desc] = true;
          name = '@@' + desc; // FIXME: Temporary guard until the duplicate execution when testing can be
          // pinned down.

          if (!Object.getOwnPropertyDescriptor(objPrototype, name)) {
            defineProperty(objPrototype, name, {
              set: function set(value) {
                defineProperty(this, name, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(value));
              }
            });
          }

          return name;
        };
      }();

      var InternalSymbol = function Symbol(description) {
        if (this instanceof InternalSymbol) {
          throw new TypeError('TypeError: Symbol is not a constructor');
        }

        return Symbol(description);
      };

      Symbol = _global__WEBPACK_IMPORTED_MODULE_1__["default"].Symbol = function Symbol(description) {
        if (this instanceof Symbol) {
          throw new TypeError('TypeError: Symbol is not a constructor');
        }

        var sym = Object.create(InternalSymbol.prototype);
        description = description === undefined ? '' : String(description);
        return defineProperties(sym, {
          __description__: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(description),
          __name__: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(getSymbolName(description))
        });
      };
      /* Decorate the Symbol function with the appropriate properties */


      defineProperty(Symbol, 'for', Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function (key) {
        if (globalSymbols[key]) {
          return globalSymbols[key];
        }

        return globalSymbols[key] = Symbol(String(key));
      }));
      defineProperties(Symbol, {
        keyFor: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function (sym) {
          var key;
          validateSymbol(sym);

          for (key in globalSymbols) {
            if (globalSymbols[key] === sym) {
              return key;
            }
          }
        }),
        hasInstance: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('hasInstance'), false, false),
        isConcatSpreadable: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('isConcatSpreadable'), false, false),
        iterator: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('iterator'), false, false),
        match: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('match'), false, false),
        observable: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('observable'), false, false),
        replace: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('replace'), false, false),
        search: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('search'), false, false),
        species: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('species'), false, false),
        split: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('split'), false, false),
        toPrimitive: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('toPrimitive'), false, false),
        toStringTag: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('toStringTag'), false, false),
        unscopables: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"]('unscopables'), false, false)
      });
      /* Decorate the InternalSymbol object */

      defineProperties(InternalSymbol.prototype, {
        constructor: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol),
        toString: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () {
          return this.__name__;
        }, false, false)
      });
      /* Decorate the Symbol.prototype */

      defineProperties(Symbol.prototype, {
        toString: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () {
          return 'Symbol (' + validateSymbol(this).__description__ + ')';
        }),
        valueOf: Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () {
          return validateSymbol(this);
        })
      });
      defineProperty(Symbol.prototype, Symbol.toPrimitive, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(function () {
        return validateSymbol(this);
      }));
      defineProperty(Symbol.prototype, Symbol.toStringTag, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])('Symbol', false, false, true));
      defineProperty(InternalSymbol.prototype, Symbol.toPrimitive, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.prototype[Symbol.toPrimitive], false, false, true));
      defineProperty(InternalSymbol.prototype, Symbol.toStringTag, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol.prototype[Symbol.toStringTag], false, false, true));
    }
    /**
     * A custom guard function that determines if an object is a symbol or not
     * @param  {any}       value The value to check to see if it is a symbol or not
     * @return {is symbol}       Returns true if a symbol or not (and narrows the type guard)
     */


    function isSymbol(value) {
      return value && (typeof value === 'symbol' || value['@@toStringTag'] === 'Symbol') || false;
    }
    /**
     * Fill any missing well known symbols if the native Symbol is missing them
     */


    ['hasInstance', 'isConcatSpreadable', 'iterator', 'species', 'replace', 'search', 'split', 'match', 'toPrimitive', 'toStringTag', 'unscopables', 'observable'].forEach(function (wellKnown) {
      if (!Symbol[wellKnown]) {
        Object.defineProperty(Symbol, wellKnown, Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["getValueDescriptor"])(Symbol["for"](wellKnown), false, false));
      }
    });
    /* harmony default export */

    __webpack_exports__["default"] = Symbol; //# sourceMappingURL=Symbol.mjs.map

    /***/
  },

  /***/
  "./node_modules/@dojo/framework/shim/WeakMap.mjs":
  /*!*******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/WeakMap.mjs ***!
    \*******************************************************/

  /*! exports provided: WeakMap, default */

  /***/
  function node_modulesDojoFrameworkShimWeakMapMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "WeakMap", function () {
      return WeakMap;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./iterator */
    "./node_modules/@dojo/framework/shim/iterator.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");
    /* harmony import */


    var _Symbol__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./Symbol */
    "./node_modules/@dojo/framework/shim/Symbol.mjs");

    var WeakMap = _global__WEBPACK_IMPORTED_MODULE_0__["default"].WeakMap;

    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_2__["default"])('es6-weakmap')) {
      var DELETED = {};

      var getUID = function getUID() {
        return Math.floor(Math.random() * 100000000);
      };

      var generateName = function () {
        var startId = Math.floor(Date.now() % 100000000);
        return function generateName() {
          return '__wm' + getUID() + (startId++ + '__');
        };
      }();

      WeakMap = /*#__PURE__*/function () {
        function WeakMap(iterable) {
          _classCallCheck(this, WeakMap);

          this[Symbol.toStringTag] = 'WeakMap';
          this._name = generateName();
          this._frozenEntries = [];

          if (iterable) {
            if (Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isArrayLike"])(iterable)) {
              for (var _i3 = 0; _i3 < iterable.length; _i3++) {
                var item = iterable[_i3];
                this.set(item[0], item[1]);
              }
            } else {
              var _iterator3 = _createForOfIteratorHelper(iterable),
                  _step3;

              try {
                for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
                  var _step3$value = _slicedToArray(_step3.value, 2),
                      key = _step3$value[0],
                      value = _step3$value[1];

                  this.set(key, value);
                }
              } catch (err) {
                _iterator3.e(err);
              } finally {
                _iterator3.f();
              }
            }
          }
        }

        _createClass(WeakMap, [{
          key: "_getFrozenEntryIndex",
          value: function _getFrozenEntryIndex(key) {
            for (var _i4 = 0; _i4 < this._frozenEntries.length; _i4++) {
              if (this._frozenEntries[_i4].key === key) {
                return _i4;
              }
            }

            return -1;
          }
        }, {
          key: "delete",
          value: function _delete(key) {
            if (key === undefined || key === null) {
              return false;
            }

            var entry = key[this._name];

            if (entry && entry.key === key && entry.value !== DELETED) {
              entry.value = DELETED;
              return true;
            }

            var frozenIndex = this._getFrozenEntryIndex(key);

            if (frozenIndex >= 0) {
              this._frozenEntries.splice(frozenIndex, 1);

              return true;
            }

            return false;
          }
        }, {
          key: "get",
          value: function get(key) {
            if (key === undefined || key === null) {
              return undefined;
            }

            var entry = key[this._name];

            if (entry && entry.key === key && entry.value !== DELETED) {
              return entry.value;
            }

            var frozenIndex = this._getFrozenEntryIndex(key);

            if (frozenIndex >= 0) {
              return this._frozenEntries[frozenIndex].value;
            }
          }
        }, {
          key: "has",
          value: function has(key) {
            if (key === undefined || key === null) {
              return false;
            }

            var entry = key[this._name];

            if (Boolean(entry && entry.key === key && entry.value !== DELETED)) {
              return true;
            }

            var frozenIndex = this._getFrozenEntryIndex(key);

            if (frozenIndex >= 0) {
              return true;
            }

            return false;
          }
        }, {
          key: "set",
          value: function set(key, value) {
            if (!key || typeof key !== 'object' && typeof key !== 'function') {
              throw new TypeError('Invalid value used as weak map key');
            }

            var entry = key[this._name];

            if (!entry || entry.key !== key) {
              entry = Object.create(null, {
                key: {
                  value: key
                }
              });

              if (Object.isFrozen(key)) {
                this._frozenEntries.push(entry);
              } else {
                Object.defineProperty(key, this._name, {
                  value: entry
                });
              }
            }

            entry.value = value;
            return this;
          }
        }]);

        return WeakMap;
      }();
    }
    /* harmony default export */


    __webpack_exports__["default"] = WeakMap; //# sourceMappingURL=WeakMap.mjs.map

    /***/
  },

  /***/
  "./node_modules/@dojo/framework/shim/array.mjs":
  /*!*****************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/array.mjs ***!
    \*****************************************************/

  /*! exports provided: from, of, copyWithin, fill, find, findIndex, includes */

  /***/
  function node_modulesDojoFrameworkShimArrayMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "from", function () {
      return from;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "of", function () {
      return of;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "copyWithin", function () {
      return copyWithin;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "fill", function () {
      return fill;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "find", function () {
      return find;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "findIndex", function () {
      return findIndex;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "includes", function () {
      return includes;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./iterator */
    "./node_modules/@dojo/framework/shim/iterator.mjs");
    /* harmony import */


    var _number__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./number */
    "./node_modules/@dojo/framework/shim/number.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");
    /* harmony import */


    var _support_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./support/util */
    "./node_modules/@dojo/framework/shim/support/util.mjs");

    var from;
    /**
     * Creates a new array from the function parameters.
     *
     * @param arguments Any number of arguments for the array
     * @return An array from the given arguments
     */

    var of;
    /* ES6 Array instance methods */

    /**
     * Copies data internally within an array or array-like object.
     *
     * @param target The target array-like object
     * @param offset The index to start copying values to; if negative, it counts backwards from length
     * @param start The first (inclusive) index to copy; if negative, it counts backwards from length
     * @param end The last (exclusive) index to copy; if negative, it counts backwards from length
     * @return The target
     */

    var copyWithin;
    /**
     * Fills elements of an array-like object with the specified value.
     *
     * @param target The target to fill
     * @param value The value to fill each element of the target with
     * @param start The first index to fill
     * @param end The (exclusive) index at which to stop filling
     * @return The filled target
     */

    var fill;
    /**
     * Finds and returns the first instance matching the callback or undefined if one is not found.
     *
     * @param target An array-like object
     * @param callback A function returning if the current value matches a criteria
     * @param thisArg The execution context for the find function
     * @return The first element matching the callback, or undefined if one does not exist
     */

    var find;
    /**
     * Performs a linear search and returns the first index whose value satisfies the passed callback,
     * or -1 if no values satisfy it.
     *
     * @param target An array-like object
     * @param callback A function returning true if the current value satisfies its criteria
     * @param thisArg The execution context for the find function
     * @return The first index whose value satisfies the passed callback, or -1 if no values satisfy it
     */

    var findIndex;
    /* ES7 Array instance methods */

    /**
     * Determines whether an array includes a given value
     *
     * @param target the target array-like object
     * @param searchElement the item to search for
     * @param fromIndex the starting index to search from
     * @return `true` if the array includes the element, otherwise `false`
     */

    var includes;

    if (Object(_has_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-array') && Object(_has_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es6-array-fill')) {
      from = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.from;
      of = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.of;
      copyWithin = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.copyWithin);
      fill = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.fill);
      find = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.find);
      findIndex = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.findIndex);
    } else {
      // It is only older versions of Safari/iOS that have a bad fill implementation and so aren't in the wild
      // To make things easier, if there is a bad fill implementation, the whole set of functions will be filled

      /**
       * Ensures a non-negative, non-infinite, safe integer.
       *
       * @param length The number to validate
       * @return A proper length
       */
      var toLength = function toLength(length) {
        if (isNaN(length)) {
          return 0;
        }

        length = Number(length);

        if (isFinite(length)) {
          length = Math.floor(length);
        } // Ensure a non-negative, real, safe integer


        return Math.min(Math.max(length, 0), _number__WEBPACK_IMPORTED_MODULE_2__["MAX_SAFE_INTEGER"]);
      };
      /**
       * From ES6 7.1.4 ToInteger()
       *
       * @param value A value to convert
       * @return An integer
       */


      var toInteger = function toInteger(value) {
        value = Number(value);

        if (isNaN(value)) {
          return 0;
        }

        if (value === 0 || !isFinite(value)) {
          return value;
        }

        return (value > 0 ? 1 : -1) * Math.floor(Math.abs(value));
      };
      /**
       * Normalizes an offset against a given length, wrapping it if negative.
       *
       * @param value The original offset
       * @param length The total length to normalize against
       * @return If negative, provide a distance from the end (length); otherwise provide a distance from 0
       */


      var normalizeOffset = function normalizeOffset(value, length) {
        return value < 0 ? Math.max(length + value, 0) : Math.min(value, length);
      };

      from = function from(arrayLike, mapFunction, thisArg) {
        if (arrayLike == null) {
          throw new TypeError('from: requires an array-like object');
        }

        if (mapFunction && thisArg) {
          mapFunction = mapFunction.bind(thisArg);
        }
        /* tslint:disable-next-line:variable-name */


        var Constructor = this;
        var length = toLength(arrayLike.length); // Support extension

        var array = typeof Constructor === 'function' ? Object(new Constructor(length)) : new Array(length);

        if (!Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isArrayLike"])(arrayLike) && !Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isIterable"])(arrayLike)) {
          return array;
        } // if this is an array and the normalized length is 0, just return an empty array. this prevents a problem
        // with the iteration on IE when using a NaN array length.


        if (Object(_iterator__WEBPACK_IMPORTED_MODULE_1__["isArrayLike"])(arrayLike)) {
          if (length === 0) {
            return [];
          }

          for (var _i5 = 0; _i5 < arrayLike.length; _i5++) {
            array[_i5] = mapFunction ? mapFunction(arrayLike[_i5], _i5) : arrayLike[_i5];
          }
        } else {
          var _i6 = 0;

          var _iterator4 = _createForOfIteratorHelper(arrayLike),
              _step4;

          try {
            for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
              var value = _step4.value;
              array[_i6] = mapFunction ? mapFunction(value, _i6) : value;
              _i6++;
            }
          } catch (err) {
            _iterator4.e(err);
          } finally {
            _iterator4.f();
          }
        }

        if (arrayLike.length !== undefined) {
          array.length = length;
        }

        return array;
      };

      of = function of() {
        for (var _len = arguments.length, items = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {
          items[_key2] = arguments[_key2];
        }

        return Array.prototype.slice.call(items);
      };

      copyWithin = function copyWithin(target, offset, start, end) {
        if (target == null) {
          throw new TypeError('copyWithin: target must be an array-like object');
        }

        var length = toLength(target.length);
        offset = normalizeOffset(toInteger(offset), length);
        start = normalizeOffset(toInteger(start), length);
        end = normalizeOffset(end === undefined ? length : toInteger(end), length);
        var count = Math.min(end - start, length - offset);
        var direction = 1;

        if (offset > start && offset < start + count) {
          direction = -1;
          start += count - 1;
          offset += count - 1;
        }

        while (count > 0) {
          if (start in target) {
            target[offset] = target[start];
          } else {
            delete target[offset];
          }

          offset += direction;
          start += direction;
          count--;
        }

        return target;
      };

      fill = function fill(target, value, start, end) {
        var length = toLength(target.length);
        var i = normalizeOffset(toInteger(start), length);
        end = normalizeOffset(end === undefined ? length : toInteger(end), length);

        while (i < end) {
          target[i++] = value;
        }

        return target;
      };

      find = function find(target, callback, thisArg) {
        var index = findIndex(target, callback, thisArg);
        return index !== -1 ? target[index] : undefined;
      };

      findIndex = function findIndex(target, callback, thisArg) {
        var length = toLength(target.length);

        if (!callback) {
          throw new TypeError('find: second argument must be a function');
        }

        if (thisArg) {
          callback = callback.bind(thisArg);
        }

        for (var _i7 = 0; _i7 < length; _i7++) {
          if (callback(target[_i7], _i7, target)) {
            return _i7;
          }
        }

        return -1;
      };
    }

    if (Object(_has_has__WEBPACK_IMPORTED_MODULE_3__["default"])('es7-array')) {
      includes = Object(_support_util__WEBPACK_IMPORTED_MODULE_4__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].Array.prototype.includes);
    } else {
      /**
       * Ensures a non-negative, non-infinite, safe integer.
       *
       * @param length The number to validate
       * @return A proper length
       */
      var _toLength = function toLength(length) {
        length = Number(length);

        if (isNaN(length)) {
          return 0;
        }

        if (isFinite(length)) {
          length = Math.floor(length);
        } // Ensure a non-negative, real, safe integer


        return Math.min(Math.max(length, 0), _number__WEBPACK_IMPORTED_MODULE_2__["MAX_SAFE_INTEGER"]);
      };

      includes = function includes(target, searchElement) {
        var fromIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;

        var len = _toLength(target.length);

        for (var _i8 = fromIndex; _i8 < len; ++_i8) {
          var currentElement = target[_i8];

          if (searchElement === currentElement || searchElement !== searchElement && currentElement !== currentElement) {
            return true;
          }
        }

        return false;
      };
    } //# sourceMappingURL=array.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/global.mjs":
  /*!******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/global.mjs ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesDojoFrameworkShimGlobalMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var globalObject = function () {
      // the only reliable means to get the global object is
      // `Function('return this')()`
      // However, this causes CSP violations in Chrome apps.
      if (typeof self !== 'undefined') {
        return self;
      }

      if (typeof window !== 'undefined') {
        return window;
      }

      if (typeof global !== 'undefined') {
        return global;
      }
    }();
    /* harmony default export */


    __webpack_exports__["default"] = globalObject; //# sourceMappingURL=global.mjs.map

    /***/
  },

  /***/
  "./node_modules/@dojo/framework/shim/iterator.mjs":
  /*!********************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/iterator.mjs ***!
    \********************************************************/

  /*! exports provided: ShimIterator, isIterable, isArrayLike, get, forOf */

  /***/
  function node_modulesDojoFrameworkShimIteratorMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ShimIterator", function () {
      return ShimIterator;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isIterable", function () {
      return isIterable;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isArrayLike", function () {
      return isArrayLike;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "get", function () {
      return get;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "forOf", function () {
      return forOf;
    });
    /* harmony import */


    var _Symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./Symbol */
    "./node_modules/@dojo/framework/shim/Symbol.mjs");
    /* harmony import */


    var _string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./string */
    "./node_modules/@dojo/framework/shim/string.mjs");

    var staticDone = {
      done: true,
      value: undefined
    };
    /**
     * A class that _shims_ an iterator interface on array like objects.
     */

    var ShimIterator = /*#__PURE__*/function (_Symbol$iterator) {
      function ShimIterator(list) {
        _classCallCheck(this, ShimIterator);

        this._nextIndex = -1;

        if (isIterable(list)) {
          this._nativeIterator = list[Symbol.iterator]();
        } else {
          this._list = list;
        }
      }
      /**
       * Return the next iteration result for the Iterator
       */


      _createClass(ShimIterator, [{
        key: "next",
        value: function next() {
          if (this._nativeIterator) {
            return this._nativeIterator.next();
          }

          if (!this._list) {
            return staticDone;
          }

          if (++this._nextIndex < this._list.length) {
            return {
              done: false,
              value: this._list[this._nextIndex]
            };
          }

          return staticDone;
        }
      }, {
        key: _Symbol$iterator,
        value: function value() {
          return this;
        }
      }]);

      return ShimIterator;
    }(Symbol.iterator);
    /**
     * A type guard for checking if something has an Iterable interface
     *
     * @param value The value to type guard against
     */


    function isIterable(value) {
      return value && typeof value[Symbol.iterator] === 'function';
    }
    /**
     * A type guard for checking if something is ArrayLike
     *
     * @param value The value to type guard against
     */


    function isArrayLike(value) {
      return value && typeof value.length === 'number';
    }
    /**
     * Returns the iterator for an object
     *
     * @param iterable The iterable object to return the iterator for
     */


    function get(iterable) {
      if (isIterable(iterable)) {
        return iterable[Symbol.iterator]();
      } else if (isArrayLike(iterable)) {
        return new ShimIterator(iterable);
      }
    }
    /**
     * Shims the functionality of `for ... of` blocks
     *
     * @param iterable The object the provides an interator interface
     * @param callback The callback which will be called for each item of the iterable
     * @param thisArg Optional scope to pass the callback
     */


    function forOf(iterable, callback, thisArg) {
      var broken = false;

      function doBreak() {
        broken = true;
      }
      /* We need to handle iteration of double byte strings properly */


      if (isArrayLike(iterable) && typeof iterable === 'string') {
        var l = iterable.length;

        for (var _i9 = 0; _i9 < l; ++_i9) {
          var _char = iterable[_i9];

          if (_i9 + 1 < l) {
            var code = _char.charCodeAt(0);

            if (code >= _string__WEBPACK_IMPORTED_MODULE_1__["HIGH_SURROGATE_MIN"] && code <= _string__WEBPACK_IMPORTED_MODULE_1__["HIGH_SURROGATE_MAX"]) {
              _char += iterable[++_i9];
            }
          }

          callback.call(thisArg, _char, iterable, doBreak);

          if (broken) {
            return;
          }
        }
      } else {
        var iterator = get(iterable);

        if (iterator) {
          var result = iterator.next();

          while (!result.done) {
            callback.call(thisArg, result.value, iterable, doBreak);

            if (broken) {
              return;
            }

            result = iterator.next();
          }
        }
      }
    } //# sourceMappingURL=iterator.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/number.mjs":
  /*!******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/number.mjs ***!
    \******************************************************/

  /*! exports provided: EPSILON, MAX_SAFE_INTEGER, MIN_SAFE_INTEGER, isNaN, isFinite, isInteger, isSafeInteger */

  /***/
  function node_modulesDojoFrameworkShimNumberMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "EPSILON", function () {
      return EPSILON;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MAX_SAFE_INTEGER", function () {
      return MAX_SAFE_INTEGER;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MIN_SAFE_INTEGER", function () {
      return MIN_SAFE_INTEGER;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isNaN", function () {
      return isNaN;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isFinite", function () {
      return isFinite;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isInteger", function () {
      return isInteger;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isSafeInteger", function () {
      return isSafeInteger;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /**
     * The smallest interval between two representable numbers.
     */


    var EPSILON = 1;
    /**
     * The maximum safe integer in JavaScript
     */

    var MAX_SAFE_INTEGER = Math.pow(2, 53) - 1;
    /**
     * The minimum safe integer in JavaScript
     */

    var MIN_SAFE_INTEGER = -MAX_SAFE_INTEGER;
    /**
     * Determines whether the passed value is NaN without coersion.
     *
     * @param value The value to test
     * @return true if the value is NaN, false if it is not
     */

    function isNaN(value) {
      return typeof value === 'number' && _global__WEBPACK_IMPORTED_MODULE_0__["default"].isNaN(value);
    }
    /**
     * Determines whether the passed value is a finite number without coersion.
     *
     * @param value The value to test
     * @return true if the value is finite, false if it is not
     */


    function isFinite(value) {
      return typeof value === 'number' && _global__WEBPACK_IMPORTED_MODULE_0__["default"].isFinite(value);
    }
    /**
     * Determines whether the passed value is an integer.
     *
     * @param value The value to test
     * @return true if the value is an integer, false if it is not
     */


    function isInteger(value) {
      return isFinite(value) && Math.floor(value) === value;
    }
    /**
     * Determines whether the passed value is an integer that is 'safe,' meaning:
     *   1. it can be expressed as an IEEE-754 double precision number
     *   2. it has a one-to-one mapping to a mathematical integer, meaning its
     *      IEEE-754 representation cannot be the result of rounding any other
     *      integer to fit the IEEE-754 representation
     *
     * @param value The value to test
     * @return true if the value is an integer, false if it is not
     */


    function isSafeInteger(value) {
      return isInteger(value) && Math.abs(value) <= MAX_SAFE_INTEGER;
    } //# sourceMappingURL=number.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/object.mjs":
  /*!******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/object.mjs ***!
    \******************************************************/

  /*! exports provided: assign, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, is, keys, getOwnPropertyDescriptors, entries, values */

  /***/
  function node_modulesDojoFrameworkShimObjectMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "assign", function () {
      return assign;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getOwnPropertyDescriptor", function () {
      return getOwnPropertyDescriptor;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getOwnPropertyNames", function () {
      return getOwnPropertyNames;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getOwnPropertySymbols", function () {
      return getOwnPropertySymbols;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "is", function () {
      return is;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "keys", function () {
      return keys;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getOwnPropertyDescriptors", function () {
      return getOwnPropertyDescriptors;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "entries", function () {
      return entries;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "values", function () {
      return values;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");
    /* harmony import */


    var _Symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./Symbol */
    "./node_modules/@dojo/framework/shim/Symbol.mjs");

    var assign;
    /**
     * Gets the own property descriptor of the specified object.
     * An own property descriptor is one that is defined directly on the object and is not
     * inherited from the object's prototype.
     * @param o Object that contains the property.
     * @param p Name of the property.
     */

    var getOwnPropertyDescriptor;
    /**
     * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly
     * on that object, and are not inherited from the object's prototype. The properties of an object include both fields (objects) and functions.
     * @param o Object that contains the own properties.
     */

    var getOwnPropertyNames;
    /**
     * Returns an array of all symbol properties found directly on object o.
     * @param o Object to retrieve the symbols from.
     */

    var getOwnPropertySymbols;
    /**
     * Returns true if the values are the same value, false otherwise.
     * @param value1 The first value.
     * @param value2 The second value.
     */

    var is;
    /**
     * Returns the names of the enumerable properties and methods of an object.
     * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.
     */

    var keys;
    /* ES7 Object static methods */

    var getOwnPropertyDescriptors;
    var entries;
    var values;

    if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-object')) {
      var globalObject = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Object;
      assign = globalObject.assign;
      getOwnPropertyDescriptor = globalObject.getOwnPropertyDescriptor;
      getOwnPropertyNames = globalObject.getOwnPropertyNames;
      getOwnPropertySymbols = globalObject.getOwnPropertySymbols;
      is = globalObject.is;
      keys = globalObject.keys;
    } else {
      keys = function symbolAwareKeys(o) {
        return Object.keys(o).filter(function (key) {
          return !Boolean(key.match(/^@@.+/));
        });
      };

      assign = function assign(target) {
        if (target == null) {
          // TypeError if undefined or null
          throw new TypeError('Cannot convert undefined or null to object');
        }

        var to = Object(target);

        for (var _len2 = arguments.length, sources = new Array(_len2 > 1 ? _len2 - 1 : 0), _key3 = 1; _key3 < _len2; _key3++) {
          sources[_key3 - 1] = arguments[_key3];
        }

        sources.forEach(function (nextSource) {
          if (nextSource) {
            // Skip over if undefined or null
            keys(nextSource).forEach(function (nextKey) {
              to[nextKey] = nextSource[nextKey];
            });
          }
        });
        return to;
      };

      getOwnPropertyDescriptor = function getOwnPropertyDescriptor(o, prop) {
        if (Object(_Symbol__WEBPACK_IMPORTED_MODULE_2__["isSymbol"])(prop)) {
          return Object.getOwnPropertyDescriptor(o, prop);
        } else {
          return Object.getOwnPropertyDescriptor(o, prop);
        }
      };

      getOwnPropertyNames = function getOwnPropertyNames(o) {
        return Object.getOwnPropertyNames(o).filter(function (key) {
          return !Boolean(key.match(/^@@.+/));
        });
      };

      getOwnPropertySymbols = function getOwnPropertySymbols(o) {
        return Object.getOwnPropertyNames(o).filter(function (key) {
          return Boolean(key.match(/^@@.+/));
        }).map(function (key) {
          return Symbol["for"](key.substring(2));
        });
      };

      is = function is(value1, value2) {
        if (value1 === value2) {
          return value1 !== 0 || 1 / value1 === 1 / value2; // -0
        }

        return value1 !== value1 && value2 !== value2; // NaN
      };
    }

    if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es2017-object')) {
      var _globalObject = _global__WEBPACK_IMPORTED_MODULE_0__["default"].Object;
      getOwnPropertyDescriptors = _globalObject.getOwnPropertyDescriptors;
      entries = _globalObject.entries;
      values = _globalObject.values;
    } else {
      getOwnPropertyDescriptors = function getOwnPropertyDescriptors(o) {
        return getOwnPropertyNames(o).reduce(function (previous, key) {
          previous[key] = getOwnPropertyDescriptor(o, key);
          return previous;
        }, {});
      };

      entries = function entries(o) {
        return keys(o).map(function (key) {
          return [key, o[key]];
        });
      };

      values = function values(o) {
        return keys(o).map(function (key) {
          return o[key];
        });
      };
    } //# sourceMappingURL=object.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/string.mjs":
  /*!******************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/string.mjs ***!
    \******************************************************/

  /*! exports provided: HIGH_SURROGATE_MIN, HIGH_SURROGATE_MAX, LOW_SURROGATE_MIN, LOW_SURROGATE_MAX, fromCodePoint, raw, codePointAt, endsWith, includes, normalize, repeat, startsWith, padEnd, padStart */

  /***/
  function node_modulesDojoFrameworkShimStringMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HIGH_SURROGATE_MIN", function () {
      return HIGH_SURROGATE_MIN;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HIGH_SURROGATE_MAX", function () {
      return HIGH_SURROGATE_MAX;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LOW_SURROGATE_MIN", function () {
      return LOW_SURROGATE_MIN;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LOW_SURROGATE_MAX", function () {
      return LOW_SURROGATE_MAX;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "fromCodePoint", function () {
      return fromCodePoint;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "raw", function () {
      return raw;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "codePointAt", function () {
      return codePointAt;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "endsWith", function () {
      return endsWith;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "includes", function () {
      return includes;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "normalize", function () {
      return normalize;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "repeat", function () {
      return repeat;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "startsWith", function () {
      return startsWith;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "padEnd", function () {
      return padEnd;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "padStart", function () {
      return padStart;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");
    /* harmony import */


    var _support_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./support/util */
    "./node_modules/@dojo/framework/shim/support/util.mjs");
    /**
     * The minimum location of high surrogates
     */


    var HIGH_SURROGATE_MIN = 0xd800;
    /**
     * The maximum location of high surrogates
     */

    var HIGH_SURROGATE_MAX = 0xdbff;
    /**
     * The minimum location of low surrogates
     */

    var LOW_SURROGATE_MIN = 0xdc00;
    /**
     * The maximum location of low surrogates
     */

    var LOW_SURROGATE_MAX = 0xdfff;
    /* ES6 static methods */

    /**
     * Return the String value whose elements are, in order, the elements in the List elements.
     * If length is 0, the empty string is returned.
     * @param codePoints The code points to generate the string
     */

    var fromCodePoint;
    /**
     * `raw` is intended for use as a tag function of a Tagged Template String. When called
     * as such the first argument will be a well formed template call site object and the rest
     * parameter will contain the substitution values.
     * @param template A well-formed template string call site representation.
     * @param substitutions A set of substitution values.
     */

    var raw;
    /* ES6 instance methods */

    /**
     * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
     * value of the UTF-16 encoded code point starting at the string element at position pos in
     * the String resulting from converting this object to a String.
     * If there is no element at that position, the result is undefined.
     * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.
     */

    var codePointAt;
    /**
     * Returns true if the sequence of elements of searchString converted to a String is the
     * same as the corresponding elements of this object (converted to a String) starting at
     * endPosition – length(this). Otherwise returns false.
     */

    var endsWith;
    /**
     * Returns true if searchString appears as a substring of the result of converting this
     * object to a String, at one or more positions that are
     * greater than or equal to position; otherwise, returns false.
     * @param target The target string
     * @param searchString search string
     * @param position If position is undefined, 0 is assumed, so as to search all of the String.
     */

    var includes;
    /**
     * Returns the String value result of normalizing the string into the normalization form
     * named by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.
     * @param target The target string
     * @param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default
     * is "NFC"
     */

    var normalize;
    /**
     * Returns a String value that is made from count copies appended together. If count is 0,
     * T is the empty String is returned.
     * @param count number of copies to append
     */

    var repeat;
    /**
     * Returns true if the sequence of elements of searchString converted to a String is the
     * same as the corresponding elements of this object (converted to a String) starting at
     * position. Otherwise returns false.
     */

    var startsWith;
    /* ES7 instance methods */

    /**
     * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
     * The padding is applied from the end (right) of the current string.
     *
     * @param target The target string
     * @param maxLength The length of the resulting string once the current string has been padded.
     *        If this parameter is smaller than the current string's length, the current string will be returned as it is.
     *
     * @param fillString The string to pad the current string with.
     *        If this string is too long, it will be truncated and the left-most part will be applied.
     *        The default value for this parameter is " " (U+0020).
     */

    var padEnd;
    /**
     * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
     * The padding is applied from the start (left) of the current string.
     *
     * @param target The target string
     * @param maxLength The length of the resulting string once the current string has been padded.
     *        If this parameter is smaller than the current string's length, the current string will be returned as it is.
     *
     * @param fillString The string to pad the current string with.
     *        If this string is too long, it will be truncated and the left-most part will be applied.
     *        The default value for this parameter is " " (U+0020).
     */

    var padStart;

    if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-string') && Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-string-raw')) {
      fromCodePoint = _global__WEBPACK_IMPORTED_MODULE_0__["default"].String.fromCodePoint;
      raw = _global__WEBPACK_IMPORTED_MODULE_0__["default"].String.raw;
      codePointAt = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.codePointAt);
      endsWith = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.endsWith);
      includes = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.includes);
      normalize = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.normalize);
      repeat = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.repeat);
      startsWith = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.startsWith);
    } else {
      /**
       * Validates that text is defined, and normalizes position (based on the given default if the input is NaN).
       * Used by startsWith, includes, and endsWith.
       *
       * @return Normalized position.
       */
      var normalizeSubstringArgs = function normalizeSubstringArgs(name, text, search, position) {
        var isEnd = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;

        if (text == null) {
          throw new TypeError('string.' + name + ' requires a valid string to search against.');
        }

        var length = text.length;
        position = position !== position ? isEnd ? length : 0 : position;
        return [text, String(search), Math.min(Math.max(position, 0), length)];
      };

      fromCodePoint = function fromCodePoint() {
        for (var _len3 = arguments.length, codePoints = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) {
          codePoints[_key4] = arguments[_key4];
        }

        // Adapted from https://github.com/mathiasbynens/String.fromCodePoint
        var length = arguments.length;

        if (!length) {
          return '';
        }

        var fromCharCode = String.fromCharCode;
        var MAX_SIZE = 0x4000;
        var codeUnits = [];
        var index = -1;
        var result = '';

        while (++index < length) {
          var codePoint = Number(arguments[index]); // Code points must be finite integers within the valid range

          var isValid = isFinite(codePoint) && Math.floor(codePoint) === codePoint && codePoint >= 0 && codePoint <= 0x10ffff;

          if (!isValid) {
            throw RangeError('string.fromCodePoint: Invalid code point ' + codePoint);
          }

          if (codePoint <= 0xffff) {
            // BMP code point
            codeUnits.push(codePoint);
          } else {
            // Astral code point; split in surrogate halves
            // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
            codePoint -= 0x10000;
            var highSurrogate = (codePoint >> 10) + HIGH_SURROGATE_MIN;
            var lowSurrogate = codePoint % 0x400 + LOW_SURROGATE_MIN;
            codeUnits.push(highSurrogate, lowSurrogate);
          }

          if (index + 1 === length || codeUnits.length > MAX_SIZE) {
            result += fromCharCode.apply(null, codeUnits);
            codeUnits.length = 0;
          }
        }

        return result;
      };

      raw = function raw(callSite) {
        var rawStrings = callSite.raw;
        var result = '';
        var numSubstitutions = arguments.length <= 1 ? 0 : arguments.length - 1;

        if (callSite == null || callSite.raw == null) {
          throw new TypeError('string.raw requires a valid callSite object with a raw value');
        }

        for (var _i10 = 0, length = rawStrings.length; _i10 < length; _i10++) {
          result += rawStrings[_i10] + (_i10 < numSubstitutions && _i10 < length - 1 ? _i10 + 1 < 1 || arguments.length <= _i10 + 1 ? undefined : arguments[_i10 + 1] : '');
        }

        return result;
      };

      codePointAt = function codePointAt(text) {
        var position = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;

        // Adapted from https://github.com/mathiasbynens/String.prototype.codePointAt
        if (text == null) {
          throw new TypeError('string.codePointAt requries a valid string.');
        }

        var length = text.length;

        if (position !== position) {
          position = 0;
        }

        if (position < 0 || position >= length) {
          return undefined;
        } // Get the first code unit


        var first = text.charCodeAt(position);

        if (first >= HIGH_SURROGATE_MIN && first <= HIGH_SURROGATE_MAX && length > position + 1) {
          // Start of a surrogate pair (high surrogate and there is a next code unit); check for low surrogate
          // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
          var second = text.charCodeAt(position + 1);

          if (second >= LOW_SURROGATE_MIN && second <= LOW_SURROGATE_MAX) {
            return (first - HIGH_SURROGATE_MIN) * 0x400 + second - LOW_SURROGATE_MIN + 0x10000;
          }
        }

        return first;
      };

      endsWith = function endsWith(text, search, endPosition) {
        if (search === '') {
          return true;
        }

        if (typeof endPosition === 'undefined') {
          endPosition = text.length;
        } else if (endPosition === null || isNaN(endPosition)) {
          return false;
        }

        var _normalizeSubstringAr = normalizeSubstringArgs('endsWith', text, search, endPosition, true);

        var _normalizeSubstringAr2 = _slicedToArray(_normalizeSubstringAr, 3);

        text = _normalizeSubstringAr2[0];
        search = _normalizeSubstringAr2[1];
        endPosition = _normalizeSubstringAr2[2];
        var start = endPosition - search.length;

        if (start < 0) {
          return false;
        }

        return text.slice(start, endPosition) === search;
      };

      includes = function includes(text, search) {
        var position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;

        var _normalizeSubstringAr3 = normalizeSubstringArgs('includes', text, search, position);

        var _normalizeSubstringAr4 = _slicedToArray(_normalizeSubstringAr3, 3);

        text = _normalizeSubstringAr4[0];
        search = _normalizeSubstringAr4[1];
        position = _normalizeSubstringAr4[2];
        return text.indexOf(search, position) !== -1;
      };

      repeat = function repeat(text) {
        var count = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;

        // Adapted from https://github.com/mathiasbynens/String.prototype.repeat
        if (text == null) {
          throw new TypeError('string.repeat requires a valid string.');
        }

        if (count !== count) {
          count = 0;
        }

        if (count < 0 || count === Infinity) {
          throw new RangeError('string.repeat requires a non-negative finite count.');
        }

        var result = '';

        while (count) {
          if (count % 2) {
            result += text;
          }

          if (count > 1) {
            text += text;
          }

          count >>= 1;
        }

        return result;
      };

      startsWith = function startsWith(text, search) {
        var position = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
        search = String(search);

        var _normalizeSubstringAr5 = normalizeSubstringArgs('startsWith', text, search, position);

        var _normalizeSubstringAr6 = _slicedToArray(_normalizeSubstringAr5, 3);

        text = _normalizeSubstringAr6[0];
        search = _normalizeSubstringAr6[1];
        position = _normalizeSubstringAr6[2];
        var end = position + search.length;

        if (end > text.length) {
          return false;
        }

        return text.slice(position, end) === search;
      };
    }

    if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es2017-string')) {
      padEnd = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.padEnd);
      padStart = Object(_support_util__WEBPACK_IMPORTED_MODULE_2__["wrapNative"])(_global__WEBPACK_IMPORTED_MODULE_0__["default"].String.prototype.padStart);
    } else {
      padEnd = function padEnd(text, maxLength) {
        var fillString = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ' ';

        if (text === null || text === undefined) {
          throw new TypeError('string.repeat requires a valid string.');
        }

        if (maxLength === Infinity) {
          throw new RangeError('string.padEnd requires a non-negative finite count.');
        }

        if (maxLength === null || maxLength === undefined || maxLength < 0) {
          maxLength = 0;
        }

        var strText = String(text);
        var padding = maxLength - strText.length;

        if (padding > 0) {
          strText += repeat(fillString, Math.floor(padding / fillString.length)) + fillString.slice(0, padding % fillString.length);
        }

        return strText;
      };

      padStart = function padStart(text, maxLength) {
        var fillString = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : ' ';

        if (text === null || text === undefined) {
          throw new TypeError('string.repeat requires a valid string.');
        }

        if (maxLength === Infinity) {
          throw new RangeError('string.padStart requires a non-negative finite count.');
        }

        if (maxLength === null || maxLength === undefined || maxLength < 0) {
          maxLength = 0;
        }

        var strText = String(text);
        var padding = maxLength - strText.length;

        if (padding > 0) {
          strText = repeat(fillString, Math.floor(padding / fillString.length)) + fillString.slice(0, padding % fillString.length) + strText;
        }

        return strText;
      };
    } //# sourceMappingURL=string.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/support/queue.mjs":
  /*!*************************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/support/queue.mjs ***!
    \*************************************************************/

  /*! exports provided: queueTask, queueAnimationTask, queueMicroTask */

  /***/
  function node_modulesDojoFrameworkShimSupportQueueMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "queueTask", function () {
      return queueTask;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "queueAnimationTask", function () {
      return queueAnimationTask;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "queueMicroTask", function () {
      return queueMicroTask;
    });
    /* harmony import */


    var _global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../global */
    "./node_modules/@dojo/framework/shim/global.mjs");
    /* harmony import */


    var _has_has__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../../has/has */
    "./node_modules/@dojo/framework/has/has.mjs");

    function executeTask(item) {
      if (item && item.isActive && item.callback) {
        item.callback();
      }
    }

    function getQueueHandle(item, destructor) {
      return {
        destroy: function destroy() {
          this.destroy = function () {};

          item.isActive = false;
          item.callback = null;

          if (destructor) {
            destructor();
          }
        }
      };
    }

    var checkMicroTaskQueue;
    var microTasks;
    /**
     * Schedules a callback to the macrotask queue.
     *
     * @param callback the function to be queued and later executed.
     * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.
     */

    var queueTask = function () {
      var destructor;
      var enqueue; // Since the IE implementation of `setImmediate` is not flawless, we will test for `postMessage` first.

      if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('postmessage')) {
        var queue = [];

        _global__WEBPACK_IMPORTED_MODULE_0__["default"].addEventListener('message', function (event) {
          // Confirm that the event was triggered by the current window and by this particular implementation.
          if (event.source === _global__WEBPACK_IMPORTED_MODULE_0__["default"] && event.data === 'dojo-queue-message') {
            event.stopPropagation();

            if (queue.length) {
              executeTask(queue.shift());
            }
          }
        });

        enqueue = function enqueue(item) {
          queue.push(item);

          _global__WEBPACK_IMPORTED_MODULE_0__["default"].postMessage('dojo-queue-message', '*');
        };
      } else if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('setimmediate')) {
        destructor = _global__WEBPACK_IMPORTED_MODULE_0__["default"].clearImmediate;

        enqueue = function enqueue(item) {
          return setImmediate(executeTask.bind(null, item));
        };
      } else {
        destructor = _global__WEBPACK_IMPORTED_MODULE_0__["default"].clearTimeout;

        enqueue = function enqueue(item) {
          return setTimeout(executeTask.bind(null, item), 0);
        };
      }

      function queueTask(callback) {
        var item = {
          isActive: true,
          callback: callback
        };
        var id = enqueue(item);
        return getQueueHandle(item, destructor && function () {
          destructor(id);
        });
      } // TODO: Use aspect.before when it is available.


      return Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('microtasks') ? queueTask : function (callback) {
        checkMicroTaskQueue();
        return queueTask(callback);
      };
    }(); // When no mechanism for registering microtasks is exposed by the environment, microtasks will
    // be queued and then executed in a single macrotask before the other macrotasks are executed.


    if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('microtasks')) {
      var isMicroTaskQueued = false;
      microTasks = [];

      checkMicroTaskQueue = function checkMicroTaskQueue() {
        if (!isMicroTaskQueued) {
          isMicroTaskQueued = true;
          queueTask(function () {
            isMicroTaskQueued = false;

            if (microTasks.length) {
              var item;

              while (item = microTasks.shift()) {
                executeTask(item);
              }
            }
          });
        }
      };
    }
    /**
     * Schedules an animation task with `window.requestAnimationFrame` if it exists, or with `queueTask` otherwise.
     *
     * Since requestAnimationFrame's behavior does not match that expected from `queueTask`, it is not used there.
     * However, at times it makes more sense to delegate to requestAnimationFrame; hence the following method.
     *
     * @param callback the function to be queued and later executed.
     * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.
     */


    var queueAnimationTask = function () {
      if (!Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('raf')) {
        return queueTask;
      }

      function queueAnimationTask(callback) {
        var item = {
          isActive: true,
          callback: callback
        };
        var rafId = requestAnimationFrame(executeTask.bind(null, item));
        return getQueueHandle(item, function () {
          cancelAnimationFrame(rafId);
        });
      } // TODO: Use aspect.before when it is available.


      return Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('microtasks') ? queueAnimationTask : function (callback) {
        checkMicroTaskQueue();
        return queueAnimationTask(callback);
      };
    }();
    /**
     * Schedules a callback to the microtask queue.
     *
     * Any callbacks registered with `queueMicroTask` will be executed before the next macrotask. If no native
     * mechanism for scheduling macrotasks is exposed, then any callbacks will be fired before any macrotask
     * registered with `queueTask` or `queueAnimationTask`.
     *
     * @param callback the function to be queued and later executed.
     * @returns An object with a `destroy` method that, when called, prevents the registered callback from executing.
     */


    var queueMicroTask = function () {
      var enqueue;

      if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('host-node')) {
        enqueue = function enqueue(item) {
          _global__WEBPACK_IMPORTED_MODULE_0__["default"].process.nextTick(executeTask.bind(null, item));
        };
      } else if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('es6-promise')) {
        enqueue = function enqueue(item) {
          _global__WEBPACK_IMPORTED_MODULE_0__["default"].Promise.resolve(item).then(executeTask);
        };
      } else if (Object(_has_has__WEBPACK_IMPORTED_MODULE_1__["default"])('dom-mutationobserver')) {
        /* tslint:disable-next-line:variable-name */
        var HostMutationObserver = _global__WEBPACK_IMPORTED_MODULE_0__["default"].MutationObserver || _global__WEBPACK_IMPORTED_MODULE_0__["default"].WebKitMutationObserver;
        var node = document.createElement('div');
        var queue = [];
        var observer = new HostMutationObserver(function () {
          while (queue.length > 0) {
            var item = queue.shift();

            if (item && item.isActive && item.callback) {
              item.callback();
            }
          }
        });
        observer.observe(node, {
          attributes: true
        });

        enqueue = function enqueue(item) {
          queue.push(item);
          node.setAttribute('queueStatus', '1');
        };
      } else {
        enqueue = function enqueue(item) {
          checkMicroTaskQueue();
          microTasks.push(item);
        };
      }

      return function (callback) {
        var item = {
          isActive: true,
          callback: callback
        };
        enqueue(item);
        return getQueueHandle(item);
      };
    }(); //# sourceMappingURL=queue.mjs.map

    /***/

  },

  /***/
  "./node_modules/@dojo/framework/shim/support/util.mjs":
  /*!************************************************************!*\
    !*** ./node_modules/@dojo/framework/shim/support/util.mjs ***!
    \************************************************************/

  /*! exports provided: getValueDescriptor, wrapNative */

  /***/
  function node_modulesDojoFrameworkShimSupportUtilMjs(__webpack_module__, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getValueDescriptor", function () {
      return getValueDescriptor;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "wrapNative", function () {
      return wrapNative;
    });
    /**
     * Helper function to generate a value property descriptor
     *
     * @param value        The value the property descriptor should be set to
     * @param enumerable   If the property should be enumberable, defaults to false
     * @param writable     If the property should be writable, defaults to true
     * @param configurable If the property should be configurable, defaults to true
     * @return             The property descriptor object
     */


    function getValueDescriptor(value) {
      var enumerable = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
      var writable = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
      var configurable = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : true;
      return {
        value: value,
        enumerable: enumerable,
        writable: writable,
        configurable: configurable
      };
    }

    function wrapNative(nativeFunction) {
      return function (target) {
        for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key5 = 1; _key5 < _len4; _key5++) {
          args[_key5 - 1] = arguments[_key5];
        }

        return nativeFunction.apply(target, args);
      };
    } //# sourceMappingURL=util.mjs.map

    /***/

  },

  /***/
  "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js ***!
    \***************************************************************************/

  /*! exports provided: AdvancedLegendComponent, AdvancedPieChartComponent, AlignmentTypes, AreaChartComponent, AreaChartModule, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaComponent, AreaSeriesComponent, AxesModule, AxisLabelComponent, BarChartModule, BarComponent, BarHorizontal2DComponent, BarHorizontalComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarLabelComponent, BarVertical2DComponent, BarVerticalComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BaseChartComponent, BubbleChartComponent, BubbleChartModule, BubbleSeriesComponent, CardComponent, CardSeriesComponent, ChartCommonModule, ChartComponent, CircleComponent, CircleSeriesComponent, ColorHelper, CountUpDirective, D0Types, GaugeArcComponent, GaugeAxisComponent, GaugeComponent, GaugeModule, GridPanelComponent, GridPanelSeriesComponent, HeatCellSeriesComponent, HeatMapCellComponent, HeatMapComponent, HeatMapModule, LegendComponent, LegendEntryComponent, LineChartComponent, LineChartModule, LineComponent, LineSeriesComponent, LinearGaugeComponent, NgxChartsModule, NumberCardComponent, NumberCardModule, PieArcComponent, PieChartComponent, PieChartModule, PieGridComponent, PieGridSeriesComponent, PieLabelComponent, PieSeriesComponent, PolarChartComponent, PolarChartModule, PolarSeriesComponent, ScaleLegendComponent, SeriesHorizontal, SeriesVerticalComponent, ShowTypes, StyleTypes, SvgLinearGradientComponent, SvgRadialGradientComponent, Timeline, TooltipArea, TooltipContentComponent, TooltipDirective, TooltipModule, TooltipService, TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent, TreeMapModule, VisibilityObserver, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent, calculateViewDimensions, colorSets, count, decimalChecker, escapeLabel, formatLabel, getDomain, getScale, getScaleType, getUniqueXDomainValues, gridLayout, gridSize, hexToRgb, id, invertColor, reduceTicks, shadeRGBColor, sortByDomain, sortByTime, sortLinear, throttle, throttleable, tickFormat, trimLabel, ɵa, ɵb */

  /***/
  function node_modulesSwimlaneNgxChartsFesm2015SwimlaneNgxChartsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AdvancedLegendComponent", function () {
      return AdvancedLegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AdvancedPieChartComponent", function () {
      return AdvancedPieChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AlignmentTypes", function () {
      return AlignmentTypes;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartComponent", function () {
      return AreaChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartModule", function () {
      return AreaChartModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartNormalizedComponent", function () {
      return AreaChartNormalizedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartStackedComponent", function () {
      return AreaChartStackedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaComponent", function () {
      return AreaComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaSeriesComponent", function () {
      return AreaSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AxesModule", function () {
      return AxesModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AxisLabelComponent", function () {
      return AxisLabelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarChartModule", function () {
      return BarChartModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarComponent", function () {
      return BarComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontal2DComponent", function () {
      return BarHorizontal2DComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontalComponent", function () {
      return BarHorizontalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontalNormalizedComponent", function () {
      return BarHorizontalNormalizedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontalStackedComponent", function () {
      return BarHorizontalStackedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarLabelComponent", function () {
      return BarLabelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVertical2DComponent", function () {
      return BarVertical2DComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVerticalComponent", function () {
      return BarVerticalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVerticalNormalizedComponent", function () {
      return BarVerticalNormalizedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVerticalStackedComponent", function () {
      return BarVerticalStackedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BaseChartComponent", function () {
      return BaseChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BubbleChartComponent", function () {
      return BubbleChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BubbleChartModule", function () {
      return BubbleChartModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BubbleSeriesComponent", function () {
      return BubbleSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardComponent", function () {
      return CardComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardSeriesComponent", function () {
      return CardSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ChartCommonModule", function () {
      return ChartCommonModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ChartComponent", function () {
      return ChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CircleComponent", function () {
      return CircleComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CircleSeriesComponent", function () {
      return CircleSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ColorHelper", function () {
      return ColorHelper;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CountUpDirective", function () {
      return CountUpDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "D0Types", function () {
      return D0Types;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeArcComponent", function () {
      return GaugeArcComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeAxisComponent", function () {
      return GaugeAxisComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeComponent", function () {
      return GaugeComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeModule", function () {
      return GaugeModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GridPanelComponent", function () {
      return GridPanelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GridPanelSeriesComponent", function () {
      return GridPanelSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatCellSeriesComponent", function () {
      return HeatCellSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatMapCellComponent", function () {
      return HeatMapCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatMapComponent", function () {
      return HeatMapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatMapModule", function () {
      return HeatMapModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LegendComponent", function () {
      return LegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LegendEntryComponent", function () {
      return LegendEntryComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineChartComponent", function () {
      return LineChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineChartModule", function () {
      return LineChartModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineComponent", function () {
      return LineComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineSeriesComponent", function () {
      return LineSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LinearGaugeComponent", function () {
      return LinearGaugeComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NgxChartsModule", function () {
      return NgxChartsModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardComponent", function () {
      return NumberCardComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardModule", function () {
      return NumberCardModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieArcComponent", function () {
      return PieArcComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartComponent", function () {
      return PieChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartModule", function () {
      return PieChartModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieGridComponent", function () {
      return PieGridComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieGridSeriesComponent", function () {
      return PieGridSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieLabelComponent", function () {
      return PieLabelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieSeriesComponent", function () {
      return PieSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PolarChartComponent", function () {
      return PolarChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PolarChartModule", function () {
      return PolarChartModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PolarSeriesComponent", function () {
      return PolarSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScaleLegendComponent", function () {
      return ScaleLegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SeriesHorizontal", function () {
      return SeriesHorizontal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SeriesVerticalComponent", function () {
      return SeriesVerticalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ShowTypes", function () {
      return ShowTypes;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "StyleTypes", function () {
      return StyleTypes;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SvgLinearGradientComponent", function () {
      return SvgLinearGradientComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SvgRadialGradientComponent", function () {
      return SvgRadialGradientComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Timeline", function () {
      return Timeline;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipArea", function () {
      return TooltipArea;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipContentComponent", function () {
      return TooltipContentComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipDirective", function () {
      return TooltipDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipModule", function () {
      return TooltipModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipService", function () {
      return TooltipService;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapCellComponent", function () {
      return TreeMapCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapCellSeriesComponent", function () {
      return TreeMapCellSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapComponent", function () {
      return TreeMapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapModule", function () {
      return TreeMapModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "VisibilityObserver", function () {
      return VisibilityObserver;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "XAxisComponent", function () {
      return XAxisComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "XAxisTicksComponent", function () {
      return XAxisTicksComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YAxisComponent", function () {
      return YAxisComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YAxisTicksComponent", function () {
      return YAxisTicksComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "calculateViewDimensions", function () {
      return calculateViewDimensions;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "colorSets", function () {
      return colorSets;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "count", function () {
      return count;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "decimalChecker", function () {
      return decimalChecker;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "escapeLabel", function () {
      return escapeLabel;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "formatLabel", function () {
      return formatLabel;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getDomain", function () {
      return getDomain;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getScale", function () {
      return getScale;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getScaleType", function () {
      return getScaleType;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getUniqueXDomainValues", function () {
      return getUniqueXDomainValues;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "gridLayout", function () {
      return gridLayout;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "gridSize", function () {
      return gridSize;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hexToRgb", function () {
      return hexToRgb;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "id", function () {
      return id;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "invertColor", function () {
      return invertColor;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "reduceTicks", function () {
      return reduceTicks;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "shadeRGBColor", function () {
      return shadeRGBColor;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sortByDomain", function () {
      return sortByDomain;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sortByTime", function () {
      return sortByTime;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sortLinear", function () {
      return sortLinear;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "throttle", function () {
      return throttle;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "throttleable", function () {
      return throttleable;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tickFormat", function () {
      return tickFormat;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "trimLabel", function () {
      return trimLabel;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵa", function () {
      return InjectionRegisteryService;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵb", function () {
      return InjectionService;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _angular_animations__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/animations */
    "./node_modules/@angular/animations/fesm2015/animations.js");
    /* harmony import */


    var _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/cdk/portal */
    "./node_modules/@angular/cdk/fesm2015/portal.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var rxjs_operators__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! rxjs/operators */
    "./node_modules/rxjs/_esm2015/operators/index.js");
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var d3_brush__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! d3-brush */
    "./node_modules/d3-brush/src/index.js");
    /* harmony import */


    var d3_scale__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! d3-scale */
    "./node_modules/d3-scale/src/index.js");
    /* harmony import */


    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/platform-browser */
    "./node_modules/@angular/platform-browser/fesm2015/platform-browser.js");
    /* harmony import */


    var d3_shape__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! d3-shape */
    "./node_modules/d3-shape/src/index.js");
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var d3_format__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! d3-format */
    "./node_modules/d3-format/src/index.js");
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var d3_hierarchy__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! d3-hierarchy */
    "./node_modules/d3-hierarchy/src/index.js");
    /* harmony import */


    var d3_time_format__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! d3-time-format */
    "./node_modules/d3-time-format/src/index.js");

    function isViewContainerRef(x) {
      return x.element;
    }
    /**
     * Injection service is a helper to append components
     * dynamically to a known location in the DOM, most
     * noteably for dialogs/tooltips appending to body.
     *
     * @export
     */


    var InjectionService = /*#__PURE__*/function () {
      function InjectionService(applicationRef, componentFactoryResolver, injector) {
        _classCallCheck(this, InjectionService);

        this.applicationRef = applicationRef;
        this.componentFactoryResolver = componentFactoryResolver;
        this.injector = injector;
      }
      /**
       * Sets a default global root view container. This is useful for
       * things like ngUpgrade that doesn't have a ApplicationRef root.
       *
       * @param container
       */


      _createClass(InjectionService, [{
        key: "getRootViewContainer",
        value:
        /**
         * Gets the root view container to inject the component to.
         *
         * @memberOf InjectionService
         */
        function getRootViewContainer() {
          if (this._container) return this._container;
          if (InjectionService.globalRootViewContainer) return InjectionService.globalRootViewContainer;
          if (this.applicationRef.components.length) return this.applicationRef.components[0];
          throw new Error('View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.');
        }
        /**
         * Overrides the default root view container. This is useful for
         * things like ngUpgrade that doesn't have a ApplicationRef root.
         *
         * @param container
         *
         * @memberOf InjectionService
         */

      }, {
        key: "setRootViewContainer",
        value: function setRootViewContainer(container) {
          this._container = container;
        }
        /**
         * Gets the html element for a component ref.
         *
         * @param componentRef
         *
         * @memberOf InjectionService
         */

      }, {
        key: "getComponentRootNode",
        value: function getComponentRootNode(component) {
          if (isViewContainerRef(component)) {
            return component.element.nativeElement;
          }

          if (component.hostView && component.hostView.rootNodes.length > 0) {
            return component.hostView.rootNodes[0];
          } // the top most component root node has no `hostView`


          return component.location.nativeElement;
        }
        /**
         * Gets the root component container html element.
         *
         * @memberOf InjectionService
         */

      }, {
        key: "getRootViewContainerNode",
        value: function getRootViewContainerNode(component) {
          return this.getComponentRootNode(component);
        }
        /**
         * Projects the bindings onto the component
         *
         * @param component
         * @param options
         *
         * @memberOf InjectionService
         */

      }, {
        key: "projectComponentBindings",
        value: function projectComponentBindings(component, bindings) {
          if (bindings) {
            if (bindings.inputs !== undefined) {
              var bindingKeys = Object.getOwnPropertyNames(bindings.inputs);

              var _iterator5 = _createForOfIteratorHelper(bindingKeys),
                  _step5;

              try {
                for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
                  var bindingName = _step5.value;
                  component.instance[bindingName] = bindings.inputs[bindingName];
                }
              } catch (err) {
                _iterator5.e(err);
              } finally {
                _iterator5.f();
              }
            }

            if (bindings.outputs !== undefined) {
              var eventKeys = Object.getOwnPropertyNames(bindings.outputs);

              var _iterator6 = _createForOfIteratorHelper(eventKeys),
                  _step6;

              try {
                for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
                  var eventName = _step6.value;
                  component.instance[eventName] = bindings.outputs[eventName];
                }
              } catch (err) {
                _iterator6.e(err);
              } finally {
                _iterator6.f();
              }
            }
          }

          return component;
        }
        /**
         * Appends a component to a adjacent location
         *
         * @param componentClass
         * @param [options={}]
         * @param [location]
         *
         * @memberOf InjectionService
         */

      }, {
        key: "appendComponent",
        value: function appendComponent(componentClass) {
          var bindings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
          var location = arguments.length > 2 ? arguments[2] : undefined;
          if (!location) location = this.getRootViewContainer();
          var appendLocation = this.getComponentRootNode(location);
          var portalHost = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__["DomPortalHost"](appendLocation, this.componentFactoryResolver, this.applicationRef, this.injector);
          var portal = new _angular_cdk_portal__WEBPACK_IMPORTED_MODULE_3__["ComponentPortal"](componentClass);
          var componentRef = portalHost.attach(portal);
          this.projectComponentBindings(componentRef, bindings);
          return componentRef;
        }
      }], [{
        key: "setGlobalRootViewContainer",
        value: function setGlobalRootViewContainer(container) {
          InjectionService.globalRootViewContainer = container;
        }
      }]);

      return InjectionService;
    }();

    InjectionService.globalRootViewContainer = null;
    InjectionService.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
    }];

    InjectionService.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]
      }];
    };
    /**
     * Throttle a function
     *
     */


    function throttle(func, wait, options) {
      options = options || {};
      var context;
      var args;
      var result;
      var timeout = null;
      var previous = 0;

      function later() {
        previous = options.leading === false ? 0 : +new Date();
        timeout = null;
        result = func.apply(context, args);
      }

      return function () {
        var now = +new Date();

        if (!previous && options.leading === false) {
          previous = now;
        }

        var remaining = wait - (now - previous);
        context = this;
        args = arguments;

        if (remaining <= 0) {
          clearTimeout(timeout);
          timeout = null;
          previous = now;
          result = func.apply(context, args);
        } else if (!timeout && options.trailing !== false) {
          timeout = setTimeout(later, remaining);
        }

        return result;
      };
    }
    /**
     * Throttle decorator
     *
     *  class MyClass {
     *    throttleable(10)
     *    myFn() { ... }
     *  }
     */


    function throttleable(duration, options) {
      return function innerDecorator(target, key, descriptor) {
        return {
          configurable: true,
          enumerable: descriptor.enumerable,
          get: function getter() {
            Object.defineProperty(this, key, {
              configurable: true,
              enumerable: descriptor.enumerable,
              value: throttle(descriptor.value, duration, options)
            });
            return this[key];
          }
        };
      };
    }

    var PlacementTypes;

    (function (PlacementTypes) {
      PlacementTypes[PlacementTypes["top"] = 'top'] = "top";
      PlacementTypes[PlacementTypes["bottom"] = 'bottom'] = "bottom";
      PlacementTypes[PlacementTypes["left"] = 'left'] = "left";
      PlacementTypes[PlacementTypes["right"] = 'right'] = "right";
    })(PlacementTypes || (PlacementTypes = {}));

    var caretOffset = 7;

    function verticalPosition(elDimensions, popoverDimensions, alignment) {
      if (alignment === 'top') {
        return elDimensions.top - caretOffset;
      }

      if (alignment === 'bottom') {
        return elDimensions.top + elDimensions.height - popoverDimensions.height + caretOffset;
      }

      if (alignment === 'center') {
        return elDimensions.top + elDimensions.height / 2 - popoverDimensions.height / 2;
      }

      return undefined;
    }

    function horizontalPosition(elDimensions, popoverDimensions, alignment) {
      if (alignment === 'left') {
        return elDimensions.left - caretOffset;
      }

      if (alignment === 'right') {
        return elDimensions.left + elDimensions.width - popoverDimensions.width + caretOffset;
      }

      if (alignment === 'center') {
        return elDimensions.left + elDimensions.width / 2 - popoverDimensions.width / 2;
      }

      return undefined;
    }
    /**
     * Position helper for the popover directive.
     *
     * @export
     */


    var PositionHelper = /*#__PURE__*/function () {
      function PositionHelper() {
        _classCallCheck(this, PositionHelper);
      }

      _createClass(PositionHelper, null, [{
        key: "calculateVerticalAlignment",
        value:
        /**
         * Calculate vertical alignment position
         *
         * @memberOf PositionHelper
         */
        function calculateVerticalAlignment(elDimensions, popoverDimensions, alignment) {
          var result = verticalPosition(elDimensions, popoverDimensions, alignment);

          if (result + popoverDimensions.height > window.innerHeight) {
            result = window.innerHeight - popoverDimensions.height;
          }

          return result;
        }
        /**
         * Calculate vertical caret position
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "calculateVerticalCaret",
        value: function calculateVerticalCaret(elDimensions, popoverDimensions, caretDimensions, alignment) {
          var result;

          if (alignment === 'top') {
            result = elDimensions.height / 2 - caretDimensions.height / 2 + caretOffset;
          }

          if (alignment === 'bottom') {
            result = popoverDimensions.height - elDimensions.height / 2 - caretDimensions.height / 2 - caretOffset;
          }

          if (alignment === 'center') {
            result = popoverDimensions.height / 2 - caretDimensions.height / 2;
          }

          var popoverPosition = verticalPosition(elDimensions, popoverDimensions, alignment);

          if (popoverPosition + popoverDimensions.height > window.innerHeight) {
            result += popoverPosition + popoverDimensions.height - window.innerHeight;
          }

          return result;
        }
        /**
         * Calculate horz alignment position
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "calculateHorizontalAlignment",
        value: function calculateHorizontalAlignment(elDimensions, popoverDimensions, alignment) {
          var result = horizontalPosition(elDimensions, popoverDimensions, alignment);

          if (result + popoverDimensions.width > window.innerWidth) {
            result = window.innerWidth - popoverDimensions.width;
          }

          return result;
        }
        /**
         * Calculate horz caret position
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "calculateHorizontalCaret",
        value: function calculateHorizontalCaret(elDimensions, popoverDimensions, caretDimensions, alignment) {
          var result;

          if (alignment === 'left') {
            result = elDimensions.width / 2 - caretDimensions.width / 2 + caretOffset;
          }

          if (alignment === 'right') {
            result = popoverDimensions.width - elDimensions.width / 2 - caretDimensions.width / 2 - caretOffset;
          }

          if (alignment === 'center') {
            result = popoverDimensions.width / 2 - caretDimensions.width / 2;
          }

          var popoverPosition = horizontalPosition(elDimensions, popoverDimensions, alignment);

          if (popoverPosition + popoverDimensions.width > window.innerWidth) {
            result += popoverPosition + popoverDimensions.width - window.innerWidth;
          }

          return result;
        }
        /**
         * Checks if the element's position should be flipped
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "shouldFlip",
        value: function shouldFlip(elDimensions, popoverDimensions, placement, spacing) {
          var flip = false;

          if (placement === 'right') {
            if (elDimensions.left + elDimensions.width + popoverDimensions.width + spacing > window.innerWidth) {
              flip = true;
            }
          }

          if (placement === 'left') {
            if (elDimensions.left - popoverDimensions.width - spacing < 0) {
              flip = true;
            }
          }

          if (placement === 'top') {
            if (elDimensions.top - popoverDimensions.height - spacing < 0) {
              flip = true;
            }
          }

          if (placement === 'bottom') {
            if (elDimensions.top + elDimensions.height + popoverDimensions.height + spacing > window.innerHeight) {
              flip = true;
            }
          }

          return flip;
        }
        /**
         * Position caret
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "positionCaret",
        value: function positionCaret(placement, elmDim, hostDim, caretDimensions, alignment) {
          var top = 0;
          var left = 0;

          if (placement === PlacementTypes.right) {
            left = -7;
            top = PositionHelper.calculateVerticalCaret(hostDim, elmDim, caretDimensions, alignment);
          } else if (placement === PlacementTypes.left) {
            left = elmDim.width;
            top = PositionHelper.calculateVerticalCaret(hostDim, elmDim, caretDimensions, alignment);
          } else if (placement === PlacementTypes.top) {
            top = elmDim.height;
            left = PositionHelper.calculateHorizontalCaret(hostDim, elmDim, caretDimensions, alignment);
          } else if (placement === PlacementTypes.bottom) {
            top = -7;
            left = PositionHelper.calculateHorizontalCaret(hostDim, elmDim, caretDimensions, alignment);
          }

          return {
            top: top,
            left: left
          };
        }
        /**
         * Position content
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "positionContent",
        value: function positionContent(placement, elmDim, hostDim, spacing, alignment) {
          var top = 0;
          var left = 0;

          if (placement === PlacementTypes.right) {
            left = hostDim.left + hostDim.width + spacing;
            top = PositionHelper.calculateVerticalAlignment(hostDim, elmDim, alignment);
          } else if (placement === PlacementTypes.left) {
            left = hostDim.left - elmDim.width - spacing;
            top = PositionHelper.calculateVerticalAlignment(hostDim, elmDim, alignment);
          } else if (placement === PlacementTypes.top) {
            top = hostDim.top - elmDim.height - spacing;
            left = PositionHelper.calculateHorizontalAlignment(hostDim, elmDim, alignment);
          } else if (placement === PlacementTypes.bottom) {
            top = hostDim.top + hostDim.height + spacing;
            left = PositionHelper.calculateHorizontalAlignment(hostDim, elmDim, alignment);
          }

          return {
            top: top,
            left: left
          };
        }
        /**
         * Determine placement based on flip
         *
         * @memberOf PositionHelper
         */

      }, {
        key: "determinePlacement",
        value: function determinePlacement(placement, elmDim, hostDim, spacing) {
          var shouldFlip = PositionHelper.shouldFlip(hostDim, elmDim, placement, spacing);

          if (shouldFlip) {
            if (placement === PlacementTypes.right) {
              return PlacementTypes.left;
            } else if (placement === PlacementTypes.left) {
              return PlacementTypes.right;
            } else if (placement === PlacementTypes.top) {
              return PlacementTypes.bottom;
            } else if (placement === PlacementTypes.bottom) {
              return PlacementTypes.top;
            }
          }

          return placement;
        }
      }]);

      return PositionHelper;
    }();

    var TooltipContentComponent = /*#__PURE__*/function () {
      function TooltipContentComponent(element, renderer) {
        _classCallCheck(this, TooltipContentComponent);

        this.element = element;
        this.renderer = renderer;
      }

      _createClass(TooltipContentComponent, [{
        key: "cssClasses",
        get: function get() {
          var clz = 'ngx-charts-tooltip-content';
          clz += " position-".concat(this.placement);
          clz += " type-".concat(this.type);
          clz += " ".concat(this.cssClass);
          return clz;
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          setTimeout(this.position.bind(this));
        }
      }, {
        key: "position",
        value: function position() {
          var _this11 = this;

          var nativeElm = this.element.nativeElement;
          var hostDim = this.host.nativeElement.getBoundingClientRect(); // if no dims were found, never show

          if (!hostDim.height && !hostDim.width) return;
          var elmDim = nativeElm.getBoundingClientRect();
          this.checkFlip(hostDim, elmDim);
          this.positionContent(nativeElm, hostDim, elmDim);

          if (this.showCaret) {
            this.positionCaret(hostDim, elmDim);
          } // animate its entry


          setTimeout(function () {
            return _this11.renderer.addClass(nativeElm, 'animate');
          }, 1);
        }
      }, {
        key: "positionContent",
        value: function positionContent(nativeElm, hostDim, elmDim) {
          var _PositionHelper$posit = PositionHelper.positionContent(this.placement, elmDim, hostDim, this.spacing, this.alignment),
              top = _PositionHelper$posit.top,
              left = _PositionHelper$posit.left;

          this.renderer.setStyle(nativeElm, 'top', "".concat(top, "px"));
          this.renderer.setStyle(nativeElm, 'left', "".concat(left, "px"));
        }
      }, {
        key: "positionCaret",
        value: function positionCaret(hostDim, elmDim) {
          var caretElm = this.caretElm.nativeElement;
          var caretDimensions = caretElm.getBoundingClientRect();

          var _PositionHelper$posit2 = PositionHelper.positionCaret(this.placement, elmDim, hostDim, caretDimensions, this.alignment),
              top = _PositionHelper$posit2.top,
              left = _PositionHelper$posit2.left;

          this.renderer.setStyle(caretElm, 'top', "".concat(top, "px"));
          this.renderer.setStyle(caretElm, 'left', "".concat(left, "px"));
        }
      }, {
        key: "checkFlip",
        value: function checkFlip(hostDim, elmDim) {
          this.placement = PositionHelper.determinePlacement(this.placement, elmDim, hostDim, this.spacing);
        }
      }, {
        key: "onWindowResize",
        value: function onWindowResize() {
          this.position();
        }
      }]);

      return TooltipContentComponent;
    }();

    TooltipContentComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-tooltip-content',
        template: "\n    <div>\n      <span #caretElm [hidden]=\"!showCaret\" class=\"tooltip-caret position-{{ this.placement }}\"> </span>\n      <div class=\"tooltip-content\">\n        <span *ngIf=\"!title\">\n          <ng-template [ngTemplateOutlet]=\"template\" [ngTemplateOutletContext]=\"{ model: context }\"> </ng-template>\n        </span>\n        <span *ngIf=\"title\" [innerHTML]=\"title\"> </span>\n      </div>\n    </div>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"]
      }]
    }];

    TooltipContentComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
      }];
    };

    TooltipContentComponent.propDecorators = {
      host: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showCaret: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      type: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      placement: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      alignment: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      spacing: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cssClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      title: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      template: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      context: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      caretElm: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['caretElm']
      }],
      cssClasses: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class']
      }],
      onWindowResize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['window:resize']
      }]
    };
    Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([throttleable(100)], TooltipContentComponent.prototype, "onWindowResize", null);

    var InjectionRegisteryService = /*#__PURE__*/function () {
      function InjectionRegisteryService(injectionService) {
        _classCallCheck(this, InjectionRegisteryService);

        this.injectionService = injectionService;
        this.defaults = {};
        this.components = new Map();
      }

      _createClass(InjectionRegisteryService, [{
        key: "getByType",
        value: function getByType() {
          var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.type;
          return this.components.get(type);
        }
      }, {
        key: "create",
        value: function create(bindings) {
          return this.createByType(this.type, bindings);
        }
      }, {
        key: "createByType",
        value: function createByType(type, bindings) {
          bindings = this.assignDefaults(bindings);
          var component = this.injectComponent(type, bindings);
          this.register(type, component);
          return component;
        }
      }, {
        key: "destroy",
        value: function destroy(instance) {
          var compsByType = this.components.get(instance.componentType);

          if (compsByType && compsByType.length) {
            var idx = compsByType.indexOf(instance);

            if (idx > -1) {
              var component = compsByType[idx];
              component.destroy();
              compsByType.splice(idx, 1);
            }
          }
        }
      }, {
        key: "destroyAll",
        value: function destroyAll() {
          this.destroyByType(this.type);
        }
      }, {
        key: "destroyByType",
        value: function destroyByType(type) {
          var comps = this.components.get(type);

          if (comps && comps.length) {
            var _i11 = comps.length - 1;

            while (_i11 >= 0) {
              this.destroy(comps[_i11--]);
            }
          }
        }
      }, {
        key: "injectComponent",
        value: function injectComponent(type, bindings) {
          return this.injectionService.appendComponent(type, bindings);
        }
      }, {
        key: "assignDefaults",
        value: function assignDefaults(bindings) {
          var inputs = Object.assign({}, this.defaults.inputs);
          var outputs = Object.assign({}, this.defaults.outputs);

          if (!bindings.inputs && !bindings.outputs) {
            bindings = {
              inputs: bindings
            };
          }

          if (inputs) {
            bindings.inputs = Object.assign(Object.assign({}, inputs), bindings.inputs);
          }

          if (outputs) {
            bindings.outputs = Object.assign(Object.assign({}, outputs), bindings.outputs);
          }

          return bindings;
        }
      }, {
        key: "register",
        value: function register(type, component) {
          if (!this.components.has(type)) {
            this.components.set(type, []);
          }

          var types = this.components.get(type);
          types.push(component);
        }
      }]);

      return InjectionRegisteryService;
    }();

    var TooltipService = /*#__PURE__*/function (_InjectionRegisterySe) {
      _inherits(TooltipService, _InjectionRegisterySe);

      var _super11 = _createSuper(TooltipService);

      function TooltipService(injectionService) {
        var _this12;

        _classCallCheck(this, TooltipService);

        _this12 = _super11.call(this, injectionService);
        _this12.type = TooltipContentComponent;
        return _this12;
      }

      return _createClass(TooltipService);
    }(InjectionRegisteryService);

    TooltipService.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
    }];

    TooltipService.ctorParameters = function () {
      return [{
        type: InjectionService
      }];
    };

    var ChartComponent = /*#__PURE__*/function () {
      function ChartComponent() {
        _classCallCheck(this, ChartComponent);

        this.showLegend = false;
        this.animations = true;
        this.legendLabelClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.legendLabelActivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.legendLabelDeactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(ChartComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var legendColumns = 0;

          if (this.showLegend) {
            this.legendType = this.getLegendType();

            if (!this.legendOptions || this.legendOptions.position === 'right') {
              if (this.legendType === 'scaleLegend') {
                legendColumns = 1;
              } else {
                legendColumns = 2;
              }
            }
          }

          var chartColumns = 12 - legendColumns;
          this.chartWidth = Math.floor(this.view[0] * chartColumns / 12.0);
          this.legendWidth = !this.legendOptions || this.legendOptions.position === 'right' ? Math.floor(this.view[0] * legendColumns / 12.0) : this.chartWidth;
        }
      }, {
        key: "getLegendType",
        value: function getLegendType() {
          if (this.legendOptions.scaleType === 'linear') {
            return 'scaleLegend';
          } else {
            return 'legend';
          }
        }
      }]);

      return ChartComponent;
    }();

    ChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        providers: [TooltipService],
        selector: 'ngx-charts-chart',
        template: "\n    <div class=\"ngx-charts-outer\" [style.width.px]=\"view[0]\" [@animationState]=\"'active'\" [@.disabled]=\"!animations\">\n      <svg class=\"ngx-charts\" [attr.width]=\"chartWidth\" [attr.height]=\"view[1]\">\n        <ng-content></ng-content>\n      </svg>\n      <ngx-charts-scale-legend\n        *ngIf=\"showLegend && legendType === 'scaleLegend'\"\n        class=\"chart-legend\"\n        [horizontal]=\"legendOptions && legendOptions.position === 'below'\"\n        [valueRange]=\"legendOptions.domain\"\n        [colors]=\"legendOptions.colors\"\n        [height]=\"view[1]\"\n        [width]=\"legendWidth\"\n      >\n      </ngx-charts-scale-legend>\n      <ngx-charts-legend\n        *ngIf=\"showLegend && legendType === 'legend'\"\n        class=\"chart-legend\"\n        [horizontal]=\"legendOptions && legendOptions.position === 'below'\"\n        [data]=\"legendOptions.domain\"\n        [title]=\"legendOptions.title\"\n        [colors]=\"legendOptions.colors\"\n        [height]=\"view[1]\"\n        [width]=\"legendWidth\"\n        [activeEntries]=\"activeEntries\"\n        (labelClick)=\"legendLabelClick.emit($event)\"\n        (labelActivate)=\"legendLabelActivate.emit($event)\"\n        (labelDeactivate)=\"legendLabelDeactivate.emit($event)\"\n      >\n      </ngx-charts-legend>\n    </div>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])('500ms 100ms', Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }))])])]
      }]
    }];
    ChartComponent.propDecorators = {
      view: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showLegend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendOptions: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendData: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendLabelClick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      legendLabelActivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      legendLabelDeactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };
    /**
     * Visibility Observer
     */

    var VisibilityObserver = /*#__PURE__*/function () {
      function VisibilityObserver(element, zone) {
        _classCallCheck(this, VisibilityObserver);

        this.element = element;
        this.zone = zone;
        this.visible = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.isVisible = false;
        this.runCheck();
      }

      _createClass(VisibilityObserver, [{
        key: "destroy",
        value: function destroy() {
          clearTimeout(this.timeout);
        }
      }, {
        key: "onVisibilityChange",
        value: function onVisibilityChange() {
          var _this13 = this;

          // trigger zone recalc for columns
          this.zone.run(function () {
            _this13.isVisible = true;

            _this13.visible.emit(true);
          });
        }
      }, {
        key: "runCheck",
        value: function runCheck() {
          var _this14 = this;

          var check = function check() {
            if (!_this14.element) {
              return;
            } // https://davidwalsh.name/offsetheight-visibility


            var _this14$element$nativ = _this14.element.nativeElement,
                offsetHeight = _this14$element$nativ.offsetHeight,
                offsetWidth = _this14$element$nativ.offsetWidth;

            if (offsetHeight && offsetWidth) {
              clearTimeout(_this14.timeout);

              _this14.onVisibilityChange();
            } else {
              clearTimeout(_this14.timeout);

              _this14.zone.runOutsideAngular(function () {
                _this14.timeout = setTimeout(function () {
                  return check();
                }, 100);
              });
            }
          };

          this.zone.runOutsideAngular(function () {
            _this14.timeout = setTimeout(function () {
              return check();
            });
          });
        }
      }]);

      return VisibilityObserver;
    }();

    VisibilityObserver.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: 'visibility-observer'
      }]
    }];

    VisibilityObserver.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
      }];
    };

    VisibilityObserver.propDecorators = {
      visible: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var BaseChartComponent = /*#__PURE__*/function () {
      function BaseChartComponent(chartElement, zone, cd) {
        _classCallCheck(this, BaseChartComponent);

        this.chartElement = chartElement;
        this.zone = zone;
        this.cd = cd;
        this.scheme = 'cool';
        this.schemeType = 'ordinal';
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(BaseChartComponent, [{
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          this.bindWindowResizeEvent(); // listen for visibility of the element for hidden by default scenario

          this.visibilityObserver = new VisibilityObserver(this.chartElement, this.zone);
          this.visibilityObserver.visible.subscribe(this.update.bind(this));
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this.unbindEvents();

          if (this.visibilityObserver) {
            this.visibilityObserver.visible.unsubscribe();
            this.visibilityObserver.destroy();
          }
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          if (this.results) {
            this.results = this.cloneData(this.results);
          } else {
            this.results = [];
          }

          if (this.view) {
            this.width = this.view[0];
            this.height = this.view[1];
          } else {
            var dims = this.getContainerDims();

            if (dims) {
              this.width = dims.width;
              this.height = dims.height;
            }
          } // default values if width or height are 0 or undefined


          if (!this.width) {
            this.width = 600;
          }

          if (!this.height) {
            this.height = 400;
          }

          this.width = Math.floor(this.width);
          this.height = Math.floor(this.height);

          if (this.cd) {
            this.cd.markForCheck();
          }
        }
      }, {
        key: "getContainerDims",
        value: function getContainerDims() {
          var width;
          var height;
          var hostElem = this.chartElement.nativeElement;

          if (hostElem.parentNode !== null) {
            // Get the container dimensions
            var dims = hostElem.parentNode.getBoundingClientRect();
            width = dims.width;
            height = dims.height;
          }

          if (width && height) {
            return {
              width: width,
              height: height
            };
          }

          return null;
        }
        /**
         * Converts all date objects that appear as name
         * into formatted date strings
         */

      }, {
        key: "formatDates",
        value: function formatDates() {
          for (var _i12 = 0; _i12 < this.results.length; _i12++) {
            var g = this.results[_i12];
            g.label = g.name;

            if (g.label instanceof Date) {
              g.label = g.label.toLocaleDateString();
            }

            if (g.series) {
              for (var j = 0; j < g.series.length; j++) {
                var d = g.series[j];
                d.label = d.name;

                if (d.label instanceof Date) {
                  d.label = d.label.toLocaleDateString();
                }
              }
            }
          }
        }
      }, {
        key: "unbindEvents",
        value: function unbindEvents() {
          if (this.resizeSubscription) {
            this.resizeSubscription.unsubscribe();
          }
        }
      }, {
        key: "bindWindowResizeEvent",
        value: function bindWindowResizeEvent() {
          var _this15 = this;

          var source = Object(rxjs__WEBPACK_IMPORTED_MODULE_5__["fromEvent"])(window, 'resize');
          var subscription = source.pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_6__["debounceTime"])(200)).subscribe(function (e) {
            _this15.update();

            if (_this15.cd) {
              _this15.cd.markForCheck();
            }
          });
          this.resizeSubscription = subscription;
        }
        /**
         * Clones the data into a new object
         *
         * @memberOf BaseChart
         */

      }, {
        key: "cloneData",
        value: function cloneData(data) {
          var results = [];

          var _iterator7 = _createForOfIteratorHelper(data),
              _step7;

          try {
            for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
              var item = _step7.value;
              var copy = {
                name: item['name']
              };

              if (item['value'] !== undefined) {
                copy['value'] = item['value'];
              }

              if (item['series'] !== undefined) {
                copy['series'] = [];

                var _iterator8 = _createForOfIteratorHelper(item['series']),
                    _step8;

                try {
                  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
                    var seriesItem = _step8.value;
                    var seriesItemCopy = Object.assign({}, seriesItem);
                    copy['series'].push(seriesItemCopy);
                  }
                } catch (err) {
                  _iterator8.e(err);
                } finally {
                  _iterator8.f();
                }
              }

              if (item['extra'] !== undefined) {
                copy['extra'] = JSON.parse(JSON.stringify(item['extra']));
              }

              results.push(copy);
            }
          } catch (err) {
            _iterator7.e(err);
          } finally {
            _iterator7.f();
          }

          return results;
        }
      }]);

      return BaseChartComponent;
    }();

    BaseChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'base-chart',
        template: " <div></div> "
      }]
    }];

    BaseChartComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    BaseChartComponent.propDecorators = {
      results: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      view: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scheme: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      customColors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var AxisLabelComponent = /*#__PURE__*/function () {
      function AxisLabelComponent(element) {
        _classCallCheck(this, AxisLabelComponent);

        this.textHeight = 25;
        this.margin = 5;
        this.element = element.nativeElement;
      }

      _createClass(AxisLabelComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.strokeWidth = '0.01';
          this.textAnchor = 'middle';
          this.transform = '';

          switch (this.orient) {
            case 'top':
              this.y = this.offset;
              this.x = this.width / 2;
              break;

            case 'bottom':
              this.y = this.offset;
              this.x = this.width / 2;
              break;

            case 'left':
              this.y = -(this.offset + this.textHeight + this.margin);
              this.x = -this.height / 2;
              this.transform = 'rotate(270)';
              break;

            case 'right':
              this.y = this.offset + this.margin;
              this.x = -this.height / 2;
              this.transform = 'rotate(270)';
              break;

            default:
          }
        }
      }]);

      return AxisLabelComponent;
    }();

    AxisLabelComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-axis-label]',
        template: "\n    <svg:text\n      [attr.stroke-width]=\"strokeWidth\"\n      [attr.x]=\"x\"\n      [attr.y]=\"y\"\n      [attr.text-anchor]=\"textAnchor\"\n      [attr.transform]=\"transform\"\n    >\n      {{ label }}\n    </svg:text>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    AxisLabelComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    AxisLabelComponent.propDecorators = {
      orient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    function trimLabel(s) {
      var max = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 16;

      if (typeof s !== 'string') {
        if (typeof s === 'number') {
          return s + '';
        } else {
          return '';
        }
      }

      s = s.trim();

      if (s.length <= max) {
        return s;
      } else {
        return "".concat(s.slice(0, max), "...");
      }
    }

    function reduceTicks(ticks, maxTicks) {
      if (ticks.length > maxTicks) {
        var reduced = [];
        var modulus = Math.floor(ticks.length / maxTicks);

        for (var _i13 = 0; _i13 < ticks.length; _i13++) {
          if (_i13 % modulus === 0) {
            reduced.push(ticks[_i13]);
          }
        }

        ticks = reduced;
      }

      return ticks;
    }

    var XAxisTicksComponent = /*#__PURE__*/function () {
      function XAxisTicksComponent() {
        _classCallCheck(this, XAxisTicksComponent);

        this.tickArguments = [5];
        this.tickStroke = '#ccc';
        this.trimTicks = true;
        this.maxTickLength = 16;
        this.showGridLines = false;
        this.rotateTicks = true;
        this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.verticalSpacing = 20;
        this.rotateLabels = false;
        this.innerTickSize = 6;
        this.outerTickSize = 6;
        this.tickPadding = 3;
        this.textAnchor = 'middle';
        this.maxTicksLength = 0;
        this.maxAllowedLength = 16;
        this.height = 0;
      }

      _createClass(XAxisTicksComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var _this16 = this;

          setTimeout(function () {
            return _this16.updateDims();
          });
        }
      }, {
        key: "updateDims",
        value: function updateDims() {
          var _this17 = this;

          var height = parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height, 10);

          if (height !== this.height) {
            this.height = height;
            this.dimensionsChanged.emit({
              height: height
            });
            setTimeout(function () {
              return _this17.updateDims();
            });
          }
        }
      }, {
        key: "update",
        value: function update() {
          var _this18 = this;

          var scale = this.scale;
          this.ticks = this.getTicks();

          if (this.tickFormatting) {
            this.tickFormat = this.tickFormatting;
          } else if (scale.tickFormat) {
            this.tickFormat = scale.tickFormat.apply(scale, this.tickArguments);
          } else {
            this.tickFormat = function (d) {
              if (d.constructor.name === 'Date') {
                return d.toLocaleDateString();
              }

              return d.toLocaleString();
            };
          }

          var angle = this.rotateTicks ? this.getRotationAngle(this.ticks) : null;
          this.adjustedScale = this.scale.bandwidth ? function (d) {
            return this.scale(d) + this.scale.bandwidth() * 0.5;
          } : this.scale;
          this.textTransform = '';

          if (angle && angle !== 0) {
            this.textTransform = "rotate(".concat(angle, ")");
            this.textAnchor = 'end';
            this.verticalSpacing = 10;
          } else {
            this.textAnchor = 'middle';
          }

          setTimeout(function () {
            return _this18.updateDims();
          });
        }
      }, {
        key: "getRotationAngle",
        value: function getRotationAngle(ticks) {
          var angle = 0;
          this.maxTicksLength = 0;

          for (var _i14 = 0; _i14 < ticks.length; _i14++) {
            var tick = this.tickFormat(ticks[_i14]).toString();
            var tickLength = tick.length;

            if (this.trimTicks) {
              tickLength = this.tickTrim(tick).length;
            }

            if (tickLength > this.maxTicksLength) {
              this.maxTicksLength = tickLength;
            }
          }

          var len = Math.min(this.maxTicksLength, this.maxAllowedLength);
          var charWidth = 8; // need to measure this

          var wordWidth = len * charWidth;
          var baseWidth = wordWidth;
          var maxBaseWidth = Math.floor(this.width / ticks.length); // calculate optimal angle

          while (baseWidth > maxBaseWidth && angle > -90) {
            angle -= 30;
            baseWidth = Math.cos(angle * (Math.PI / 180)) * wordWidth;
          }

          return angle;
        }
      }, {
        key: "getTicks",
        value: function getTicks() {
          var ticks;
          var maxTicks = this.getMaxTicks(20);
          var maxScaleTicks = this.getMaxTicks(100);

          if (this.tickValues) {
            ticks = this.tickValues;
          } else if (this.scale.ticks) {
            ticks = this.scale.ticks.apply(this.scale, [maxScaleTicks]);
          } else {
            ticks = this.scale.domain();
            ticks = reduceTicks(ticks, maxTicks);
          }

          return ticks;
        }
      }, {
        key: "getMaxTicks",
        value: function getMaxTicks(tickWidth) {
          return Math.floor(this.width / tickWidth);
        }
      }, {
        key: "tickTransform",
        value: function tickTransform(tick) {
          return 'translate(' + this.adjustedScale(tick) + ',' + this.verticalSpacing + ')';
        }
      }, {
        key: "gridLineTransform",
        value: function gridLineTransform() {
          return "translate(0,".concat(-this.verticalSpacing - 5, ")");
        }
      }, {
        key: "tickTrim",
        value: function tickTrim(label) {
          return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
        }
      }]);

      return XAxisTicksComponent;
    }();

    XAxisTicksComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-x-axis-ticks]',
        template: "\n    <svg:g #ticksel>\n      <svg:g *ngFor=\"let tick of ticks\" class=\"tick\" [attr.transform]=\"tickTransform(tick)\">\n        <title>{{ tickFormat(tick) }}</title>\n        <svg:text\n          stroke-width=\"0.01\"\n          [attr.text-anchor]=\"textAnchor\"\n          [attr.transform]=\"textTransform\"\n          [style.font-size]=\"'12px'\"\n        >\n          {{ tickTrim(tickFormat(tick)) }}\n        </svg:text>\n      </svg:g>\n    </svg:g>\n\n    <svg:g *ngFor=\"let tick of ticks\" [attr.transform]=\"tickTransform(tick)\">\n      <svg:g *ngIf=\"showGridLines\" [attr.transform]=\"gridLineTransform()\">\n        <svg:line class=\"gridline-path gridline-path-vertical\" [attr.y1]=\"-gridLineHeight\" y2=\"0\" />\n      </svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    XAxisTicksComponent.propDecorators = {
      scale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      orient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickArguments: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickValues: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickStroke: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gridLineHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dimensionsChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      ticksElement: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['ticksel']
      }]
    };

    var XAxisComponent = /*#__PURE__*/function () {
      function XAxisComponent() {
        _classCallCheck(this, XAxisComponent);

        this.rotateTicks = true;
        this.showGridLines = false;
        this.xOrient = 'bottom';
        this.xAxisOffset = 0;
        this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.xAxisClassName = 'x axis';
        this.labelOffset = 0;
        this.fill = 'none';
        this.stroke = 'stroke';
        this.tickStroke = '#ccc';
        this.strokeWidth = 'none';
        this.padding = 5;
      }

      _createClass(XAxisComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.transform = "translate(0,".concat(this.xAxisOffset + this.padding + this.dims.height, ")");

          if (typeof this.xAxisTickCount !== 'undefined') {
            this.tickArguments = [this.xAxisTickCount];
          }
        }
      }, {
        key: "emitTicksHeight",
        value: function emitTicksHeight(_ref2) {
          var _this19 = this;

          var height = _ref2.height;
          var newLabelOffset = height + 25 + 5;

          if (newLabelOffset !== this.labelOffset) {
            this.labelOffset = newLabelOffset;
            setTimeout(function () {
              _this19.dimensionsChanged.emit({
                height: height
              });
            }, 0);
          }
        }
      }]);

      return XAxisComponent;
    }();

    XAxisComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-x-axis]',
        template: "\n    <svg:g [attr.class]=\"xAxisClassName\" [attr.transform]=\"transform\">\n      <svg:g\n        ngx-charts-x-axis-ticks\n        *ngIf=\"xScale\"\n        [trimTicks]=\"trimTicks\"\n        [rotateTicks]=\"rotateTicks\"\n        [maxTickLength]=\"maxTickLength\"\n        [tickFormatting]=\"tickFormatting\"\n        [tickArguments]=\"tickArguments\"\n        [tickStroke]=\"tickStroke\"\n        [scale]=\"xScale\"\n        [orient]=\"xOrient\"\n        [showGridLines]=\"showGridLines\"\n        [gridLineHeight]=\"dims.height\"\n        [width]=\"dims.width\"\n        [tickValues]=\"ticks\"\n        (dimensionsChanged)=\"emitTicksHeight($event)\"\n      />\n      <svg:g\n        ngx-charts-axis-label\n        *ngIf=\"showLabel\"\n        [label]=\"labelText\"\n        [offset]=\"labelOffset\"\n        [orient]=\"'bottom'\"\n        [height]=\"dims.height\"\n        [width]=\"dims.width\"\n      ></svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    XAxisComponent.propDecorators = {
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      ticks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickInterval: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickCount: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xOrient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisOffset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dimensionsChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      ticksComponent: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: [XAxisTicksComponent]
      }]
    };
    /**
     * Generates a rounded rectanglar path
     *
     * @export
     * @param x, y, w, h, r, tl, tr, bl, br
     */

    function roundedRect(x, y, w, h, r, _ref3) {
      var _ref4 = _slicedToArray(_ref3, 4),
          tl = _ref4[0],
          tr = _ref4[1],
          bl = _ref4[2],
          br = _ref4[3];

      var retval = '';
      w = Math.floor(w);
      h = Math.floor(h);
      w = w === 0 ? 1 : w;
      h = h === 0 ? 1 : h;
      retval = "M".concat([x + r, y]);
      retval += "h".concat(w - 2 * r);

      if (tr) {
        retval += "a".concat([r, r], " 0 0 1 ").concat([r, r]);
      } else {
        retval += "h".concat(r, "v").concat(r);
      }

      retval += "v".concat(h - 2 * r);

      if (br) {
        retval += "a".concat([r, r], " 0 0 1 ").concat([-r, r]);
      } else {
        retval += "v".concat(r, "h").concat(-r);
      }

      retval += "h".concat(2 * r - w);

      if (bl) {
        retval += "a".concat([r, r], " 0 0 1 ").concat([-r, -r]);
      } else {
        retval += "h".concat(-r, "v").concat(-r);
      }

      retval += "v".concat(2 * r - h);

      if (tl) {
        retval += "a".concat([r, r], " 0 0 1 ").concat([r, -r]);
      } else {
        retval += "v".concat(-r, "h").concat(r);
      }

      retval += "z";
      return retval;
    }

    var YAxisTicksComponent = /*#__PURE__*/function () {
      function YAxisTicksComponent() {
        _classCallCheck(this, YAxisTicksComponent);

        this.tickArguments = [5];
        this.tickStroke = '#ccc';
        this.trimTicks = true;
        this.maxTickLength = 16;
        this.showGridLines = false;
        this.showRefLabels = false;
        this.showRefLines = false;
        this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.innerTickSize = 6;
        this.tickPadding = 3;
        this.verticalSpacing = 20;
        this.textAnchor = 'middle';
        this.width = 0;
        this.outerTickSize = 6;
        this.rotateLabels = false;
        this.referenceLineLength = 0;
      }

      _createClass(YAxisTicksComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var _this20 = this;

          setTimeout(function () {
            return _this20.updateDims();
          });
        }
      }, {
        key: "updateDims",
        value: function updateDims() {
          var _this21 = this;

          var width = parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width, 10);

          if (width !== this.width) {
            this.width = width;
            this.dimensionsChanged.emit({
              width: width
            });
            setTimeout(function () {
              return _this21.updateDims();
            });
          }
        }
      }, {
        key: "update",
        value: function update() {
          var _this22 = this;

          var scale;
          var sign = this.orient === 'top' || this.orient === 'right' ? -1 : 1;
          this.tickSpacing = Math.max(this.innerTickSize, 0) + this.tickPadding;
          scale = this.scale;
          this.ticks = this.getTicks();

          if (this.tickFormatting) {
            this.tickFormat = this.tickFormatting;
          } else if (scale.tickFormat) {
            this.tickFormat = scale.tickFormat.apply(scale, this.tickArguments);
          } else {
            this.tickFormat = function (d) {
              if (d.constructor.name === 'Date') {
                return d.toLocaleDateString();
              }

              return d.toLocaleString();
            };
          }

          this.adjustedScale = scale.bandwidth ? function (d) {
            return scale(d) + scale.bandwidth() * 0.5;
          } : scale;

          if (this.showRefLines && this.referenceLines) {
            this.setReferencelines();
          }

          switch (this.orient) {
            case 'top':
              this.transform = function (tick) {
                return 'translate(' + this.adjustedScale(tick) + ',0)';
              };

              this.textAnchor = 'middle';
              this.y2 = this.innerTickSize * sign;
              this.y1 = this.tickSpacing * sign;
              this.dy = sign < 0 ? '0em' : '.71em';
              break;

            case 'bottom':
              this.transform = function (tick) {
                return 'translate(' + this.adjustedScale(tick) + ',0)';
              };

              this.textAnchor = 'middle';
              this.y2 = this.innerTickSize * sign;
              this.y1 = this.tickSpacing * sign;
              this.dy = sign < 0 ? '0em' : '.71em';
              break;

            case 'left':
              this.transform = function (tick) {
                return 'translate(0,' + this.adjustedScale(tick) + ')';
              };

              this.textAnchor = 'end';
              this.x2 = this.innerTickSize * -sign;
              this.x1 = this.tickSpacing * -sign;
              this.dy = '.32em';
              break;

            case 'right':
              this.transform = function (tick) {
                return 'translate(0,' + this.adjustedScale(tick) + ')';
              };

              this.textAnchor = 'start';
              this.x2 = this.innerTickSize * -sign;
              this.x1 = this.tickSpacing * -sign;
              this.dy = '.32em';
              break;

            default:
          }

          setTimeout(function () {
            return _this22.updateDims();
          });
        }
      }, {
        key: "setReferencelines",
        value: function setReferencelines() {
          this.refMin = this.adjustedScale(Math.min.apply(null, this.referenceLines.map(function (item) {
            return item.value;
          })));
          this.refMax = this.adjustedScale(Math.max.apply(null, this.referenceLines.map(function (item) {
            return item.value;
          })));
          this.referenceLineLength = this.referenceLines.length;
          this.referenceAreaPath = roundedRect(0, this.refMax, this.gridLineWidth, this.refMin - this.refMax, 0, [false, false, false, false]);
        }
      }, {
        key: "getTicks",
        value: function getTicks() {
          var ticks;
          var maxTicks = this.getMaxTicks(20);
          var maxScaleTicks = this.getMaxTicks(50);

          if (this.tickValues) {
            ticks = this.tickValues;
          } else if (this.scale.ticks) {
            ticks = this.scale.ticks.apply(this.scale, [maxScaleTicks]);
          } else {
            ticks = this.scale.domain();
            ticks = reduceTicks(ticks, maxTicks);
          }

          return ticks;
        }
      }, {
        key: "getMaxTicks",
        value: function getMaxTicks(tickHeight) {
          return Math.floor(this.height / tickHeight);
        }
      }, {
        key: "tickTransform",
        value: function tickTransform(tick) {
          return "translate(".concat(this.adjustedScale(tick), ",").concat(this.verticalSpacing, ")");
        }
      }, {
        key: "gridLineTransform",
        value: function gridLineTransform() {
          return "translate(5,0)";
        }
      }, {
        key: "tickTrim",
        value: function tickTrim(label) {
          return this.trimTicks ? trimLabel(label, this.maxTickLength) : label;
        }
      }]);

      return YAxisTicksComponent;
    }();

    YAxisTicksComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-y-axis-ticks]',
        template: "\n    <svg:g #ticksel>\n      <svg:g *ngFor=\"let tick of ticks\" class=\"tick\" [attr.transform]=\"transform(tick)\">\n        <title>{{ tickFormat(tick) }}</title>\n        <svg:text\n          stroke-width=\"0.01\"\n          [attr.dy]=\"dy\"\n          [attr.x]=\"x1\"\n          [attr.y]=\"y1\"\n          [attr.text-anchor]=\"textAnchor\"\n          [style.font-size]=\"'12px'\"\n        >\n          {{ tickTrim(tickFormat(tick)) }}\n        </svg:text>\n      </svg:g>\n    </svg:g>\n\n    <svg:path\n      *ngIf=\"referenceLineLength > 1 && refMax && refMin && showRefLines\"\n      class=\"reference-area\"\n      [attr.d]=\"referenceAreaPath\"\n      [attr.transform]=\"gridLineTransform()\"\n    />\n    <svg:g *ngFor=\"let tick of ticks\" [attr.transform]=\"transform(tick)\">\n      <svg:g *ngIf=\"showGridLines\" [attr.transform]=\"gridLineTransform()\">\n        <svg:line\n          *ngIf=\"orient === 'left'\"\n          class=\"gridline-path gridline-path-horizontal\"\n          x1=\"0\"\n          [attr.x2]=\"gridLineWidth\"\n        />\n        <svg:line\n          *ngIf=\"orient === 'right'\"\n          class=\"gridline-path gridline-path-horizontal\"\n          x1=\"0\"\n          [attr.x2]=\"-gridLineWidth\"\n        />\n      </svg:g>\n    </svg:g>\n\n    <svg:g *ngFor=\"let refLine of referenceLines\">\n      <svg:g *ngIf=\"showRefLines\" [attr.transform]=\"transform(refLine.value)\">\n        <svg:line\n          class=\"refline-path gridline-path-horizontal\"\n          x1=\"0\"\n          [attr.x2]=\"gridLineWidth\"\n          [attr.transform]=\"gridLineTransform()\"\n        />\n        <svg:g *ngIf=\"showRefLabels\">\n          <title>{{ tickTrim(tickFormat(refLine.value)) }}</title>\n          <svg:text\n            class=\"refline-label\"\n            [attr.dy]=\"dy\"\n            [attr.y]=\"-6\"\n            [attr.x]=\"gridLineWidth\"\n            [attr.text-anchor]=\"textAnchor\"\n          >\n            {{ refLine.name }}\n          </svg:text>\n        </svg:g>\n      </svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    YAxisTicksComponent.propDecorators = {
      scale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      orient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickArguments: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickValues: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickStroke: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gridLineWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      referenceLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showRefLabels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showRefLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dimensionsChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      ticksElement: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['ticksel']
      }]
    };

    var YAxisComponent = /*#__PURE__*/function () {
      function YAxisComponent() {
        _classCallCheck(this, YAxisComponent);

        this.showGridLines = false;
        this.yOrient = 'left';
        this.yAxisOffset = 0;
        this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.yAxisClassName = 'y axis';
        this.labelOffset = 15;
        this.fill = 'none';
        this.stroke = '#CCC';
        this.tickStroke = '#CCC';
        this.strokeWidth = 1;
        this.padding = 5;
      }

      _createClass(YAxisComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.offset = -(this.yAxisOffset + this.padding);

          if (this.yOrient === 'right') {
            this.labelOffset = 65;
            this.transform = "translate(".concat(this.offset + this.dims.width, " , 0)");
          } else {
            this.offset = this.offset;
            this.transform = "translate(".concat(this.offset, " , 0)");
          }

          if (this.yAxisTickCount !== undefined) {
            this.tickArguments = [this.yAxisTickCount];
          }
        }
      }, {
        key: "emitTicksWidth",
        value: function emitTicksWidth(_ref5) {
          var _this23 = this;

          var width = _ref5.width;

          if (width !== this.labelOffset && this.yOrient === 'right') {
            this.labelOffset = width + this.labelOffset;
            setTimeout(function () {
              _this23.dimensionsChanged.emit({
                width: width
              });
            }, 0);
          } else if (width !== this.labelOffset) {
            this.labelOffset = width;
            setTimeout(function () {
              _this23.dimensionsChanged.emit({
                width: width
              });
            }, 0);
          }
        }
      }]);

      return YAxisComponent;
    }();

    YAxisComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-y-axis]',
        template: "\n    <svg:g [attr.class]=\"yAxisClassName\" [attr.transform]=\"transform\">\n      <svg:g\n        ngx-charts-y-axis-ticks\n        *ngIf=\"yScale\"\n        [trimTicks]=\"trimTicks\"\n        [maxTickLength]=\"maxTickLength\"\n        [tickFormatting]=\"tickFormatting\"\n        [tickArguments]=\"tickArguments\"\n        [tickValues]=\"ticks\"\n        [tickStroke]=\"tickStroke\"\n        [scale]=\"yScale\"\n        [orient]=\"yOrient\"\n        [showGridLines]=\"showGridLines\"\n        [gridLineWidth]=\"dims.width\"\n        [referenceLines]=\"referenceLines\"\n        [showRefLines]=\"showRefLines\"\n        [showRefLabels]=\"showRefLabels\"\n        [height]=\"dims.height\"\n        (dimensionsChanged)=\"emitTicksWidth($event)\"\n      />\n\n      <svg:g\n        ngx-charts-axis-label\n        *ngIf=\"showLabel\"\n        [label]=\"labelText\"\n        [offset]=\"labelOffset\"\n        [orient]=\"yOrient\"\n        [height]=\"dims.height\"\n        [width]=\"dims.width\"\n      ></svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    YAxisComponent.propDecorators = {
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      ticks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickInterval: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickCount: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yOrient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      referenceLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showRefLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showRefLabels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisOffset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dimensionsChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      ticksComponent: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: [YAxisTicksComponent]
      }]
    };

    var AxesModule = /*#__PURE__*/_createClass(function AxesModule() {
      _classCallCheck(this, AxesModule);
    });

    AxesModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]],
        declarations: [AxisLabelComponent, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent],
        exports: [AxisLabelComponent, XAxisComponent, XAxisTicksComponent, YAxisComponent, YAxisTicksComponent]
      }]
    }];
    var StyleTypes;

    (function (StyleTypes) {
      StyleTypes[StyleTypes["popover"] = 'popover'] = "popover";
      StyleTypes[StyleTypes["tooltip"] = 'tooltip'] = "tooltip";
    })(StyleTypes || (StyleTypes = {}));

    var AlignmentTypes;

    (function (AlignmentTypes) {
      AlignmentTypes[AlignmentTypes["left"] = 'left'] = "left";
      AlignmentTypes[AlignmentTypes["center"] = 'center'] = "center";
      AlignmentTypes[AlignmentTypes["right"] = 'right'] = "right";
    })(AlignmentTypes || (AlignmentTypes = {}));

    var ShowTypes;

    (function (ShowTypes) {
      ShowTypes[ShowTypes["all"] = 'all'] = "all";
      ShowTypes[ShowTypes["focus"] = 'focus'] = "focus";
      ShowTypes[ShowTypes["mouseover"] = 'mouseover'] = "mouseover";
    })(ShowTypes || (ShowTypes = {}));

    var TooltipDirective = /*#__PURE__*/function () {
      function TooltipDirective(tooltipService, viewContainerRef, renderer) {
        _classCallCheck(this, TooltipDirective);

        this.tooltipService = tooltipService;
        this.viewContainerRef = viewContainerRef;
        this.renderer = renderer;
        this.tooltipCssClass = '';
        this.tooltipTitle = '';
        this.tooltipAppendToBody = true;
        this.tooltipSpacing = 10;
        this.tooltipDisabled = false;
        this.tooltipShowCaret = true;
        this.tooltipPlacement = PlacementTypes.top;
        this.tooltipAlignment = AlignmentTypes.center;
        this.tooltipType = StyleTypes.popover;
        this.tooltipCloseOnClickOutside = true;
        this.tooltipCloseOnMouseLeave = true;
        this.tooltipHideTimeout = 300;
        this.tooltipShowTimeout = 100;
        this.tooltipShowEvent = ShowTypes.all;
        this.tooltipImmediateExit = false;
        this.show = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.hide = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(TooltipDirective, [{
        key: "listensForFocus",
        get: function get() {
          return this.tooltipShowEvent === ShowTypes.all || this.tooltipShowEvent === ShowTypes.focus;
        }
      }, {
        key: "listensForHover",
        get: function get() {
          return this.tooltipShowEvent === ShowTypes.all || this.tooltipShowEvent === ShowTypes.mouseover;
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this.hideTooltip(true);
        }
      }, {
        key: "onFocus",
        value: function onFocus() {
          if (this.listensForFocus) {
            this.showTooltip();
          }
        }
      }, {
        key: "onBlur",
        value: function onBlur() {
          if (this.listensForFocus) {
            this.hideTooltip(true);
          }
        }
      }, {
        key: "onMouseEnter",
        value: function onMouseEnter() {
          if (this.listensForHover) {
            this.showTooltip();
          }
        }
      }, {
        key: "onMouseLeave",
        value: function onMouseLeave(target) {
          if (this.listensForHover && this.tooltipCloseOnMouseLeave) {
            clearTimeout(this.timeout);

            if (this.component) {
              var contentDom = this.component.instance.element.nativeElement;
              var contains = contentDom.contains(target);
              if (contains) return;
            }

            this.hideTooltip(this.tooltipImmediateExit);
          }
        }
      }, {
        key: "onMouseClick",
        value: function onMouseClick() {
          if (this.listensForHover) {
            this.hideTooltip(true);
          }
        }
      }, {
        key: "showTooltip",
        value: function showTooltip(immediate) {
          var _this24 = this;

          if (this.component || this.tooltipDisabled) return;
          var time = immediate ? 0 : this.tooltipShowTimeout;
          clearTimeout(this.timeout);
          this.timeout = setTimeout(function () {
            _this24.tooltipService.destroyAll();

            var options = _this24.createBoundOptions();

            _this24.component = _this24.tooltipService.create(options); // add a tiny timeout to avoid event re-triggers

            setTimeout(function () {
              if (_this24.component) {
                _this24.addHideListeners(_this24.component.instance.element.nativeElement);
              }
            }, 10);

            _this24.show.emit(true);
          }, time);
        }
      }, {
        key: "addHideListeners",
        value: function addHideListeners(tooltip) {
          var _this25 = this;

          // on mouse enter, cancel the hide triggered by the leave
          this.mouseEnterContentEvent = this.renderer.listen(tooltip, 'mouseenter', function () {
            clearTimeout(_this25.timeout);
          }); // content mouse leave listener

          if (this.tooltipCloseOnMouseLeave) {
            this.mouseLeaveContentEvent = this.renderer.listen(tooltip, 'mouseleave', function () {
              _this25.hideTooltip(_this25.tooltipImmediateExit);
            });
          } // content close on click outside


          if (this.tooltipCloseOnClickOutside) {
            this.documentClickEvent = this.renderer.listen(document, 'click', function (event) {
              var contains = tooltip.contains(event.target);
              if (!contains) _this25.hideTooltip();
            });
          }
        }
      }, {
        key: "hideTooltip",
        value: function hideTooltip() {
          var _this26 = this;

          var immediate = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
          if (!this.component) return;

          var destroyFn = function destroyFn() {
            // remove events
            if (_this26.mouseLeaveContentEvent) _this26.mouseLeaveContentEvent();
            if (_this26.mouseEnterContentEvent) _this26.mouseEnterContentEvent();
            if (_this26.documentClickEvent) _this26.documentClickEvent(); // emit events

            _this26.hide.emit(true); // destroy component


            _this26.tooltipService.destroy(_this26.component);

            _this26.component = undefined;
          };

          clearTimeout(this.timeout);

          if (!immediate) {
            this.timeout = setTimeout(destroyFn, this.tooltipHideTimeout);
          } else {
            destroyFn();
          }
        }
      }, {
        key: "createBoundOptions",
        value: function createBoundOptions() {
          return {
            title: this.tooltipTitle,
            template: this.tooltipTemplate,
            host: this.viewContainerRef.element,
            placement: this.tooltipPlacement,
            alignment: this.tooltipAlignment,
            type: this.tooltipType,
            showCaret: this.tooltipShowCaret,
            cssClass: this.tooltipCssClass,
            spacing: this.tooltipSpacing,
            context: this.tooltipContext
          };
        }
      }]);

      return TooltipDirective;
    }();

    TooltipDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-tooltip]'
      }]
    }];

    TooltipDirective.ctorParameters = function () {
      return [{
        type: TooltipService
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
      }];
    };

    TooltipDirective.propDecorators = {
      tooltipCssClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipAppendToBody: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipSpacing: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipShowCaret: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipPlacement: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipAlignment: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipCloseOnClickOutside: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipCloseOnMouseLeave: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipHideTimeout: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipShowTimeout: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipShowEvent: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipContext: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipImmediateExit: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      show: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      hide: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onFocus: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['focusin']
      }],
      onBlur: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['blur']
      }],
      onMouseEnter: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseenter']
      }],
      onMouseLeave: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave', ['$event.target']]
      }],
      onMouseClick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['click']
      }]
    };

    var TooltipModule = /*#__PURE__*/_createClass(function TooltipModule() {
      _classCallCheck(this, TooltipModule);
    });

    TooltipModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        declarations: [TooltipContentComponent, TooltipDirective],
        providers: [InjectionService, TooltipService],
        exports: [TooltipContentComponent, TooltipDirective],
        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]],
        entryComponents: [TooltipContentComponent]
      }]
    }];
    /**
     * Formats a label given a date, number or string.
     *
     * @export
     */

    function formatLabel(label) {
      if (label instanceof Date) {
        label = label.toLocaleDateString();
      } else {
        label = label.toLocaleString();
      }

      return label;
    }
    /**
     * Escapes a label.
     *
     * @export
     */


    function escapeLabel(label) {
      return label.toLocaleString().replace(/[&'`"<>]/g, function (match) {
        return {
          '&': '&amp;',
          // tslint:disable-next-line: quotemark
          "'": '&#x27;',
          '`': '&#x60;',
          '"': '&quot;',
          '<': '&lt;',
          '>': '&gt;'
        }[match];
      });
    }

    var cache = {};
    /**
     * Generates a short id.
     *
     * Description:
     *   A 4-character alphanumeric sequence (364 = 1.6 million)
     *   This should only be used for JavaScript specific models.
     *   http://stackoverflow.com/questions/6248666/how-to-generate-short-uid-like-ax4j9z-in-js
     *
     *   Example: `ebgf`
     */

    function id() {
      var newId = ('0000' + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4); // append a 'a' because neo gets mad

      newId = "a".concat(newId); // ensure not already used

      if (!cache[newId]) {
        cache[newId] = true;
        return newId;
      }

      return id();
    }

    var CircleSeriesComponent = /*#__PURE__*/function () {
      function CircleSeriesComponent() {
        _classCallCheck(this, CircleSeriesComponent);

        this.type = 'standard';
        this.tooltipDisabled = false;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.barVisible = false;
      }

      _createClass(CircleSeriesComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.gradientId = 'grad' + id().toString();
          this.gradientFill = "url(#".concat(this.gradientId, ")");
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.circle = this.getActiveCircle();
        }
      }, {
        key: "getActiveCircle",
        value: function getActiveCircle() {
          var _this27 = this;

          var indexActiveDataPoint = this.data.series.findIndex(function (d) {
            var label = d.name;
            return label && _this27.visibleValue && label.toString() === _this27.visibleValue.toString() && d.value !== undefined;
          });

          if (indexActiveDataPoint === -1) {
            // No valid point is 'active/hovered over' at this moment.
            return undefined;
          }

          return this.mapDataPointToCircle(this.data.series[indexActiveDataPoint], indexActiveDataPoint);
        }
      }, {
        key: "mapDataPointToCircle",
        value: function mapDataPointToCircle(d, i) {
          var seriesName = this.data.name;
          var value = d.value;
          var label = d.name;
          var tooltipLabel = formatLabel(label);
          var cx;

          if (this.scaleType === 'time') {
            cx = this.xScale(label);
          } else if (this.scaleType === 'linear') {
            cx = this.xScale(Number(label));
          } else {
            cx = this.xScale(label);
          }

          var cy = this.yScale(this.type === 'standard' ? value : d.d1);
          var radius = 5;
          var height = this.yScale.range()[0] - cy;
          var opacity = 1;
          var color;

          if (this.colors.scaleType === 'linear') {
            if (this.type === 'standard') {
              color = this.colors.getColor(value);
            } else {
              color = this.colors.getColor(d.d1);
            }
          } else {
            color = this.colors.getColor(seriesName);
          }

          var data = Object.assign({}, d, {
            series: seriesName,
            value: value,
            name: label
          });
          return {
            classNames: ["circle-data-".concat(i)],
            value: value,
            label: label,
            data: data,
            cx: cx,
            cy: cy,
            radius: radius,
            height: height,
            tooltipLabel: tooltipLabel,
            color: color,
            opacity: opacity,
            seriesName: seriesName,
            gradientStops: this.getGradientStops(color),
            min: d.min,
            max: d.max
          };
        }
      }, {
        key: "getTooltipText",
        value: function getTooltipText(_ref6) {
          var tooltipLabel = _ref6.tooltipLabel,
              value = _ref6.value,
              seriesName = _ref6.seriesName,
              min = _ref6.min,
              max = _ref6.max;
          return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(seriesName), " \u2022 ").concat(escapeLabel(tooltipLabel), "</span>\n      <span class=\"tooltip-val\">").concat(value.toLocaleString()).concat(this.getTooltipMinMaxText(min, max), "</span>\n    ");
        }
      }, {
        key: "getTooltipMinMaxText",
        value: function getTooltipMinMaxText(min, max) {
          if (min !== undefined || max !== undefined) {
            var result = ' (';

            if (min !== undefined) {
              if (max === undefined) {
                result += '≥';
              }

              result += min.toLocaleString();

              if (max !== undefined) {
                result += ' - ';
              }
            } else if (max !== undefined) {
              result += '≤';
            }

            if (max !== undefined) {
              result += max.toLocaleString();
            }

            result += ')';
            return result;
          } else {
            return '';
          }
        }
      }, {
        key: "getGradientStops",
        value: function getGradientStops(color) {
          return [{
            offset: 0,
            color: color,
            opacity: 0.2
          }, {
            offset: 100,
            color: color,
            opacity: 1
          }];
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item !== undefined;
        }
      }, {
        key: "activateCircle",
        value: function activateCircle() {
          this.barVisible = true;
          this.activate.emit({
            name: this.data.name
          });
        }
      }, {
        key: "deactivateCircle",
        value: function deactivateCircle() {
          this.barVisible = false;
          this.circle.opacity = 0;
          this.deactivate.emit({
            name: this.data.name
          });
        }
      }]);

      return CircleSeriesComponent;
    }();

    CircleSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-circle-series]',
        template: "\n    <svg:g *ngIf=\"circle\">\n      <defs>\n        <svg:g\n          ngx-charts-svg-linear-gradient\n          orientation=\"vertical\"\n          [name]=\"gradientId\"\n          [stops]=\"circle.gradientStops\"\n        />\n      </defs>\n      <svg:rect\n        *ngIf=\"barVisible && type === 'standard'\"\n        [@animationState]=\"'active'\"\n        [attr.x]=\"circle.cx - circle.radius\"\n        [attr.y]=\"circle.cy\"\n        [attr.width]=\"circle.radius * 2\"\n        [attr.height]=\"circle.height\"\n        [attr.fill]=\"gradientFill\"\n        class=\"tooltip-bar\"\n      />\n      <svg:g\n        ngx-charts-circle\n        class=\"circle\"\n        [cx]=\"circle.cx\"\n        [cy]=\"circle.cy\"\n        [r]=\"circle.radius\"\n        [fill]=\"circle.color\"\n        [class.active]=\"isActive({ name: circle.seriesName })\"\n        [pointerEvents]=\"circle.value === 0 ? 'none' : 'all'\"\n        [data]=\"circle.value\"\n        [classNames]=\"circle.classNames\"\n        (select)=\"onClick(circle.data)\"\n        (activate)=\"activateCircle()\"\n        (deactivate)=\"deactivateCircle()\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'top'\"\n        [tooltipType]=\"'tooltip'\"\n        [tooltipTitle]=\"tooltipTemplate ? undefined : getTooltipText(circle)\"\n        [tooltipTemplate]=\"tooltipTemplate\"\n        [tooltipContext]=\"circle.data\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }))])])]
      }]
    }];
    CircleSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      type: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      visibleValue: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var CircleComponent = /*#__PURE__*/function () {
      function CircleComponent() {
        _classCallCheck(this, CircleComponent);

        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(CircleComponent, [{
        key: "onClick",
        value: function onClick() {
          this.select.emit(this.data);
        }
      }, {
        key: "onMouseEnter",
        value: function onMouseEnter() {
          this.activate.emit(this.data);
        }
      }, {
        key: "onMouseLeave",
        value: function onMouseLeave() {
          this.deactivate.emit(this.data);
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.classNames = Array.isArray(this.classNames) ? this.classNames.join(' ') : '';
          this.classNames += 'circle';
        }
      }]);

      return CircleComponent;
    }();

    CircleComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-circle]',
        template: "\n    <svg:circle\n      [attr.cx]=\"cx\"\n      [attr.cy]=\"cy\"\n      [attr.r]=\"r\"\n      [attr.fill]=\"fill\"\n      [attr.stroke]=\"stroke\"\n      [attr.opacity]=\"circleOpacity\"\n      [attr.class]=\"classNames\"\n      [attr.pointer-events]=\"pointerEvents\"\n    />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    CircleComponent.propDecorators = {
      cx: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cy: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      r: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stroke: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      classNames: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      circleOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pointerEvents: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onClick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['click']
      }],
      onMouseEnter: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseenter']
      }],
      onMouseLeave: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var GridPanelComponent = /*#__PURE__*/_createClass(function GridPanelComponent() {
      _classCallCheck(this, GridPanelComponent);
    });

    GridPanelComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-grid-panel]',
        template: "\n    <svg:rect [attr.height]=\"height\" [attr.width]=\"width\" [attr.x]=\"x\" [attr.y]=\"y\" stroke=\"none\" class=\"gridpanel\" />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    GridPanelComponent.propDecorators = {
      path: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      x: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      y: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var GridPanelSeriesComponent = /*#__PURE__*/function () {
      function GridPanelSeriesComponent() {
        _classCallCheck(this, GridPanelSeriesComponent);
      }

      _createClass(GridPanelSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.gridPanels = this.getGridPanels();
        }
      }, {
        key: "getGridPanels",
        value: function getGridPanels() {
          var _this28 = this;

          return this.data.map(function (d) {
            var offset;
            var width;
            var height;
            var x;
            var y;
            var className = 'odd';

            if (_this28.orient === 'vertical') {
              var position = _this28.xScale(d.name);

              var positionIndex = Number.parseInt((position / _this28.xScale.step()).toString(), 10);

              if (positionIndex % 2 === 1) {
                className = 'even';
              }

              offset = _this28.xScale.bandwidth() * _this28.xScale.paddingInner();
              width = _this28.xScale.bandwidth() + offset;
              height = _this28.dims.height;
              x = _this28.xScale(d.name) - offset / 2;
              y = 0;
            } else if (_this28.orient === 'horizontal') {
              var _position = _this28.yScale(d.name);

              var _positionIndex = Number.parseInt((_position / _this28.yScale.step()).toString(), 10);

              if (_positionIndex % 2 === 1) {
                className = 'even';
              }

              offset = _this28.yScale.bandwidth() * _this28.yScale.paddingInner();
              width = _this28.dims.width;
              height = _this28.yScale.bandwidth() + offset;
              x = 0;
              y = _this28.yScale(d.name) - offset / 2;
            }

            return {
              name: d.name,
              "class": className,
              height: height,
              width: width,
              x: x,
              y: y
            };
          });
        }
      }]);

      return GridPanelSeriesComponent;
    }();

    GridPanelSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-grid-panel-series]',
        template: "\n    <svg:g\n      ngx-charts-grid-panel\n      *ngFor=\"let gridPanel of gridPanels\"\n      [height]=\"gridPanel.height\"\n      [width]=\"gridPanel.width\"\n      [x]=\"gridPanel.x\"\n      [y]=\"gridPanel.y\"\n      [class.grid-panel]=\"true\"\n      [class.odd]=\"gridPanel.class === 'odd'\"\n      [class.even]=\"gridPanel.class === 'even'\"\n    ></svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    GridPanelSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      orient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var SvgLinearGradientComponent = /*#__PURE__*/function () {
      function SvgLinearGradientComponent() {
        _classCallCheck(this, SvgLinearGradientComponent);

        this.orientation = 'vertical';
      }

      _createClass(SvgLinearGradientComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.x1 = '0%';
          this.x2 = '0%';
          this.y1 = '0%';
          this.y2 = '0%';

          if (this.orientation === 'horizontal') {
            this.x2 = '100%';
          } else if (this.orientation === 'vertical') {
            this.y1 = '100%';
          }
        }
      }]);

      return SvgLinearGradientComponent;
    }();

    SvgLinearGradientComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-svg-linear-gradient]',
        template: "\n    <svg:linearGradient [id]=\"name\" [attr.x1]=\"x1\" [attr.y1]=\"y1\" [attr.x2]=\"x2\" [attr.y2]=\"y2\">\n      <svg:stop\n        *ngFor=\"let stop of stops\"\n        [attr.offset]=\"stop.offset + '%'\"\n        [style.stop-color]=\"stop.color\"\n        [style.stop-opacity]=\"stop.opacity\"\n      />\n    </svg:linearGradient>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    SvgLinearGradientComponent.propDecorators = {
      orientation: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      name: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stops: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var SvgRadialGradientComponent = /*#__PURE__*/function () {
      function SvgRadialGradientComponent() {
        _classCallCheck(this, SvgRadialGradientComponent);

        this.endOpacity = 1;
        this.cx = 0;
        this.cy = 0;
      }

      _createClass(SvgRadialGradientComponent, [{
        key: "stops",
        get: function get() {
          return this.stopsInput || this.stopsDefault;
        },
        set: function set(value) {
          this.stopsInput = value;
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.r = '30%';

          if ('color' in changes || 'startOpacity' in changes || 'endOpacity' in changes) {
            this.stopsDefault = [{
              offset: 0,
              color: this.color,
              opacity: this.startOpacity
            }, {
              offset: 100,
              color: this.color,
              opacity: this.endOpacity
            }];
          }
        }
      }]);

      return SvgRadialGradientComponent;
    }();

    SvgRadialGradientComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-svg-radial-gradient]',
        template: "\n    <svg:radialGradient [id]=\"name\" [attr.cx]=\"cx\" [attr.cy]=\"cy\" [attr.r]=\"r\" gradientUnits=\"userSpaceOnUse\">\n      <svg:stop\n        *ngFor=\"let stop of stops\"\n        [attr.offset]=\"stop.offset + '%'\"\n        [style.stop-color]=\"stop.color\"\n        [style.stop-opacity]=\"stop.opacity\"\n      />\n    </svg:radialGradient>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    SvgRadialGradientComponent.propDecorators = {
      color: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      name: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      startOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      endOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cx: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cy: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stops: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var AreaComponent = /*#__PURE__*/function () {
      function AreaComponent(element) {
        _classCallCheck(this, AreaComponent);

        this.opacity = 1;
        this.startOpacity = 0.5;
        this.endOpacity = 1;
        this.gradient = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.initialized = false;
        this.hasGradient = false;
        this.element = element.nativeElement;
      }

      _createClass(AreaComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          if (!this.initialized) {
            this.loadAnimation();
            this.initialized = true;
          } else {
            this.update();
          }
        }
      }, {
        key: "update",
        value: function update() {
          this.gradientId = 'grad' + id().toString();
          this.gradientFill = "url(#".concat(this.gradientId, ")");

          if (this.gradient || this.stops) {
            this.gradientStops = this.getGradient();
            this.hasGradient = true;
          } else {
            this.hasGradient = false;
          }

          this.updatePathEl();
        }
      }, {
        key: "loadAnimation",
        value: function loadAnimation() {
          this.areaPath = this.startingPath;
          setTimeout(this.update.bind(this), 100);
        }
      }, {
        key: "updatePathEl",
        value: function updatePathEl() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.area');

          if (this.animations) {
            node.transition().duration(750).attr('d', this.path);
          } else {
            node.attr('d', this.path);
          }
        }
      }, {
        key: "getGradient",
        value: function getGradient() {
          if (this.stops) {
            return this.stops;
          }

          return [{
            offset: 0,
            color: this.fill,
            opacity: this.startOpacity
          }, {
            offset: 100,
            color: this.fill,
            opacity: this.endOpacity
          }];
        }
      }]);

      return AreaComponent;
    }();

    AreaComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-area]',
        template: "\n    <svg:defs *ngIf=\"gradient\">\n      <svg:g ngx-charts-svg-linear-gradient orientation=\"vertical\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n    </svg:defs>\n    <svg:path class=\"area\" [attr.d]=\"areaPath\" [attr.fill]=\"gradient ? gradientFill : fill\" [style.opacity]=\"opacity\" />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    AreaComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    AreaComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      path: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      startingPath: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      opacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      startOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      endOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stops: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    }; // Robert Penner's easeOutExpo

    function easeOutExpo(t, b, c, d) {
      return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
    }
    /**
     * Counts from a number to the end incrementally.
     */


    function count(countFrom, countTo, countDecimals, countDuration, callback) {
      var startVal = Number(countFrom);
      var endVal = Number(countTo);
      var countDown = startVal > endVal;
      var decimals = Math.max(0, countDecimals);
      var dec = Math.pow(10, decimals);
      var duration = Number(countDuration) * 1000;
      var startTime;

      function runCount(timestamp) {
        var frameVal;
        var progress = timestamp - startTime;

        if (countDown) {
          frameVal = startVal - easeOutExpo(progress, 0, startVal - endVal, duration);
        } else {
          frameVal = easeOutExpo(progress, startVal, endVal - startVal, duration);
        }

        if (countDown) {
          frameVal = frameVal < endVal ? endVal : frameVal;
        } else {
          frameVal = frameVal > endVal ? endVal : frameVal;
        }

        frameVal = Math.round(frameVal * dec) / dec;
        var tick = progress < duration;
        callback({
          value: frameVal,
          progress: progress,
          timestamp: timestamp,
          finished: !tick
        });

        if (tick) {
          return requestAnimationFrame(function (val) {
            return runCount(val);
          });
        }
      }

      return requestAnimationFrame(function (timestamp) {
        startTime = timestamp;
        return runCount(timestamp);
      });
    }
    /**
     * Determine decimals places
     *
     * @export
     */


    function decimalChecker(countTo) {
      var endVal = Number(countTo);

      if (endVal % 1 !== 0 && Math.abs(endVal) <= 10) {
        return 2;
      }

      return 0;
    }
    /**
     * Count up component
     *
     * Loosely inspired by:
     *  - https://github.com/izupet/angular2-counto
     *  - https://inorganik.github.io/countUp.js/
     *
     * @export
     */


    var CountUpDirective = /*#__PURE__*/function () {
      function CountUpDirective(cd, element) {
        _classCallCheck(this, CountUpDirective);

        this.cd = cd;
        this.countDuration = 1;
        this.countPrefix = '';
        this.countSuffix = '';
        this.countChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.countFinish = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.value = '';
        this._countDecimals = 0;
        this._countTo = 0;
        this._countFrom = 0;
        this.nativeElement = element.nativeElement;
      }

      _createClass(CountUpDirective, [{
        key: "countDecimals",
        get: function get() {
          if (this._countDecimals) return this._countDecimals;
          return decimalChecker(this.countTo);
        },
        set: function set(val) {
          this._countDecimals = val;
        }
      }, {
        key: "countTo",
        get: function get() {
          return this._countTo;
        },
        set: function set(val) {
          this._countTo = parseFloat(val);
          this.start();
        }
      }, {
        key: "countFrom",
        get: function get() {
          return this._countFrom;
        },
        set: function set(val) {
          this._countFrom = parseFloat(val);
          this.start();
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          cancelAnimationFrame(this.animationReq);
        }
      }, {
        key: "start",
        value: function start() {
          var _this29 = this;

          cancelAnimationFrame(this.animationReq);

          var valueFormatting = this.valueFormatting || function (value) {
            return "".concat(_this29.countPrefix).concat(value.toLocaleString()).concat(_this29.countSuffix);
          };

          var callback = function callback(_ref7) {
            var value = _ref7.value,
                progress = _ref7.progress,
                finished = _ref7.finished;
            _this29.value = valueFormatting(value);

            _this29.cd.markForCheck();

            if (!finished) _this29.countChange.emit({
              value: _this29.value,
              progress: progress
            });
            if (finished) _this29.countFinish.emit({
              value: _this29.value,
              progress: progress
            });
          };

          this.animationReq = count(this.countFrom, this.countTo, this.countDecimals, this.countDuration, callback);
        }
      }]);

      return CountUpDirective;
    }();

    CountUpDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: '[ngx-charts-count-up]',
        template: " {{ value }} "
      }]
    }];

    CountUpDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    CountUpDirective.propDecorators = {
      countDuration: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      countPrefix: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      countSuffix: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      countDecimals: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      countTo: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      countFrom: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      countChange: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      countFinish: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    }; // If we don't check whether 'window' and 'global' variables are defined,
    // code will fail in browser/node with 'variable is undefined' error.

    var root;

    if (typeof window !== 'undefined') {
      root = window;
    } else if (typeof global !== 'undefined') {
      root = global;
    } // tslint:disable-next-line:variable-name


    var MouseEvent = root.MouseEvent;

    function createMouseEvent(name) {
      var bubbles = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
      var cancelable = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;

      // Calling new of an event does not work correctly on IE. The following is a tested workaround
      // See https://stackoverflow.com/questions/27176983/dispatchevent-not-working-in-ie11
      if (typeof MouseEvent === 'function') {
        // Sane browsers
        return new MouseEvent(name, {
          bubbles: bubbles,
          cancelable: cancelable
        });
      } else {
        // IE
        var _event = document.createEvent('MouseEvent');

        _event.initEvent(name, bubbles, cancelable);

        return _event;
      }
    }

    var TooltipArea = /*#__PURE__*/function () {
      function TooltipArea() {
        _classCallCheck(this, TooltipArea);

        this.anchorOpacity = 0;
        this.anchorPos = -1;
        this.anchorValues = [];
        this.showPercentage = false;
        this.tooltipDisabled = false;
        this.hover = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(TooltipArea, [{
        key: "getValues",
        value: function getValues(xVal) {
          var results = [];

          var _iterator9 = _createForOfIteratorHelper(this.results),
              _step9;

          try {
            for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
              var group = _step9.value;
              var item = group.series.find(function (d) {
                return d.name.toString() === xVal.toString();
              });
              var groupName = group.name;

              if (groupName instanceof Date) {
                groupName = groupName.toLocaleDateString();
              }

              if (item) {
                var label = item.name;
                var val = item.value;

                if (this.showPercentage) {
                  val = (item.d1 - item.d0).toFixed(2) + '%';
                }

                var color = void 0;

                if (this.colors.scaleType === 'linear') {
                  var v = val;

                  if (item.d1) {
                    v = item.d1;
                  }

                  color = this.colors.getColor(v);
                } else {
                  color = this.colors.getColor(group.name);
                }

                var data = Object.assign({}, item, {
                  value: val,
                  name: label,
                  series: groupName,
                  min: item.min,
                  max: item.max,
                  color: color
                });
                results.push(data);
              }
            }
          } catch (err) {
            _iterator9.e(err);
          } finally {
            _iterator9.f();
          }

          return results;
        }
      }, {
        key: "mouseMove",
        value: function mouseMove(event) {
          var xPos = event.pageX - event.target.getBoundingClientRect().left;
          var closestIndex = this.findClosestPointIndex(xPos);
          var closestPoint = this.xSet[closestIndex];
          this.anchorPos = this.xScale(closestPoint);
          this.anchorPos = Math.max(0, this.anchorPos);
          this.anchorPos = Math.min(this.dims.width, this.anchorPos);
          this.anchorValues = this.getValues(closestPoint);

          if (this.anchorPos !== this.lastAnchorPos) {
            var ev = createMouseEvent('mouseleave');
            this.tooltipAnchor.nativeElement.dispatchEvent(ev);
            this.anchorOpacity = 0.7;
            this.hover.emit({
              value: closestPoint
            });
            this.showTooltip();
            this.lastAnchorPos = this.anchorPos;
          }
        }
      }, {
        key: "findClosestPointIndex",
        value: function findClosestPointIndex(xPos) {
          var minIndex = 0;
          var maxIndex = this.xSet.length - 1;
          var minDiff = Number.MAX_VALUE;
          var closestIndex = 0;

          while (minIndex <= maxIndex) {
            var currentIndex = (minIndex + maxIndex) / 2 | 0;
            var currentElement = this.xScale(this.xSet[currentIndex]);
            var curDiff = Math.abs(currentElement - xPos);

            if (curDiff < minDiff) {
              minDiff = curDiff;
              closestIndex = currentIndex;
            }

            if (currentElement < xPos) {
              minIndex = currentIndex + 1;
            } else if (currentElement > xPos) {
              maxIndex = currentIndex - 1;
            } else {
              minDiff = 0;
              closestIndex = currentIndex;
              break;
            }
          }

          return closestIndex;
        }
      }, {
        key: "showTooltip",
        value: function showTooltip() {
          var event = createMouseEvent('mouseenter');
          this.tooltipAnchor.nativeElement.dispatchEvent(event);
        }
      }, {
        key: "hideTooltip",
        value: function hideTooltip() {
          var event = createMouseEvent('mouseleave');
          this.tooltipAnchor.nativeElement.dispatchEvent(event);
          this.anchorOpacity = 0;
          this.lastAnchorPos = -1;
        }
      }, {
        key: "getToolTipText",
        value: function getToolTipText(tooltipItem) {
          var result = '';

          if (tooltipItem.series !== undefined) {
            result += tooltipItem.series;
          } else {
            result += '???';
          }

          result += ': ';

          if (tooltipItem.value !== undefined) {
            result += tooltipItem.value.toLocaleString();
          }

          if (tooltipItem.min !== undefined || tooltipItem.max !== undefined) {
            result += ' (';

            if (tooltipItem.min !== undefined) {
              if (tooltipItem.max === undefined) {
                result += '≥';
              }

              result += tooltipItem.min.toLocaleString();

              if (tooltipItem.max !== undefined) {
                result += ' - ';
              }
            } else if (tooltipItem.max !== undefined) {
              result += '≤';
            }

            if (tooltipItem.max !== undefined) {
              result += tooltipItem.max.toLocaleString();
            }

            result += ')';
          }

          return result;
        }
      }]);

      return TooltipArea;
    }();

    TooltipArea.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-tooltip-area]',
        template: "\n    <svg:g>\n      <svg:rect\n        class=\"tooltip-area\"\n        [attr.x]=\"0\"\n        y=\"0\"\n        [attr.width]=\"dims.width\"\n        [attr.height]=\"dims.height\"\n        style=\"opacity: 0; cursor: 'auto';\"\n        (mousemove)=\"mouseMove($event)\"\n        (mouseleave)=\"hideTooltip()\"\n      />\n      <ng-template #defaultTooltipTemplate let-model=\"model\">\n        <xhtml:div class=\"area-tooltip-container\">\n          <xhtml:div *ngFor=\"let tooltipItem of model\" class=\"tooltip-item\">\n            <xhtml:span class=\"tooltip-item-color\" [style.background-color]=\"tooltipItem.color\"></xhtml:span>\n            {{ getToolTipText(tooltipItem) }}\n          </xhtml:div>\n        </xhtml:div>\n      </ng-template>\n      <svg:rect\n        #tooltipAnchor\n        [@animationState]=\"anchorOpacity !== 0 ? 'active' : 'inactive'\"\n        class=\"tooltip-anchor\"\n        [attr.x]=\"anchorPos\"\n        y=\"0\"\n        [attr.width]=\"1\"\n        [attr.height]=\"dims.height\"\n        [style.opacity]=\"anchorOpacity\"\n        [style.pointer-events]=\"'none'\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'right'\"\n        [tooltipType]=\"'tooltip'\"\n        [tooltipSpacing]=\"15\"\n        [tooltipTemplate]=\"tooltipTemplate ? tooltipTemplate : defaultTooltipTemplate\"\n        [tooltipContext]=\"anchorValues\"\n        [tooltipImmediateExit]=\"true\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])('inactive => active', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0.7
        }))]), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])('active => inactive', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0.7
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }))])])]
      }]
    }];
    TooltipArea.propDecorators = {
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xSet: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      results: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showPercentage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      hover: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipAnchor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['tooltipAnchor', {
          "static": false
        }]
      }]
    };

    var Timeline = /*#__PURE__*/function () {
      function Timeline(element, cd) {
        _classCallCheck(this, Timeline);

        this.cd = cd;
        this.height = 50;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onDomainChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.initialized = false;
        this.element = element.nativeElement;
      }

      _createClass(Timeline, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();

          if (!this.initialized) {
            this.addBrush();
            this.initialized = true;
          }
        }
      }, {
        key: "update",
        value: function update() {
          this.dims = this.getDims();
          this.height = this.dims.height;
          var offsetY = this.view[1] - this.height;
          this.xDomain = this.getXDomain();
          this.xScale = this.getXScale();

          if (this.brush) {
            this.updateBrush();
          }

          this.transform = "translate(0 , ".concat(offsetY, ")");
          this.filterId = 'filter' + id().toString();
          this.filter = "url(#".concat(this.filterId, ")");
          this.cd.markForCheck();
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = [];

          var _iterator10 = _createForOfIteratorHelper(this.results),
              _step10;

          try {
            for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
              var results = _step10.value;

              var _iterator11 = _createForOfIteratorHelper(results.series),
                  _step11;

              try {
                for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
                  var d = _step11.value;

                  if (!values.includes(d.name)) {
                    values.push(d.name);
                  }
                }
              } catch (err) {
                _iterator11.e(err);
              } finally {
                _iterator11.f();
              }
            }
          } catch (err) {
            _iterator10.e(err);
          } finally {
            _iterator10.f();
          }

          var domain = [];

          if (this.scaleType === 'time') {
            var min = Math.min.apply(Math, _toConsumableArray(values));
            var max = Math.max.apply(Math, _toConsumableArray(values));
            domain = [min, max];
          } else if (this.scaleType === 'linear') {
            values = values.map(function (v) {
              return Number(v);
            });

            var _min = Math.min.apply(Math, _toConsumableArray(values));

            var _max = Math.max.apply(Math, _toConsumableArray(values));

            domain = [_min, _max];
          } else {
            domain = values;
          }

          return domain;
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          var scale;

          if (this.scaleType === 'time') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range([0, this.dims.width]).domain(this.xDomain);
          } else if (this.scaleType === 'linear') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.xDomain);
          } else if (this.scaleType === 'ordinal') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([0, this.dims.width]).padding(0.1).domain(this.xDomain);
          }

          return scale;
        }
      }, {
        key: "addBrush",
        value: function addBrush() {
          var _this30 = this;

          if (this.brush) return;
          var height = this.height;
          var width = this.view[0];
          this.brush = Object(d3_brush__WEBPACK_IMPORTED_MODULE_8__["brushX"])().extent([[0, 0], [width, height]]).on('brush end', function () {
            var selection = d3_selection__WEBPACK_IMPORTED_MODULE_7__["event"].selection || _this30.xScale.range();

            var newDomain = selection.map(_this30.xScale.invert);

            _this30.onDomainChange.emit(newDomain);

            _this30.cd.markForCheck();
          });
          Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.brush').call(this.brush);
        }
      }, {
        key: "updateBrush",
        value: function updateBrush() {
          if (!this.brush) return;
          var height = this.height;
          var width = this.view[0];
          this.brush.extent([[0, 0], [width, height]]);
          Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.brush').call(this.brush); // clear hardcoded properties so they can be defined by CSS

          Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.selection').attr('fill', undefined).attr('stroke', undefined).attr('fill-opacity', undefined);
          this.cd.markForCheck();
        }
      }, {
        key: "getDims",
        value: function getDims() {
          var width = this.view[0];
          var dims = {
            width: width,
            height: this.height
          };
          return dims;
        }
      }]);

      return Timeline;
    }();

    Timeline.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-timeline]',
        template: "\n    <svg:g class=\"timeline\" [attr.transform]=\"transform\">\n      <svg:filter [attr.id]=\"filterId\">\n        <svg:feColorMatrix\n          in=\"SourceGraphic\"\n          type=\"matrix\"\n          values=\"0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\"\n        />\n      </svg:filter>\n      <svg:g class=\"embedded-chart\">\n        <ng-content></ng-content>\n      </svg:g>\n      <svg:rect x=\"0\" [attr.width]=\"view[0]\" y=\"0\" [attr.height]=\"height\" class=\"brush-background\" />\n      <svg:g class=\"brush\"></svg:g>\n    </svg:g>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"]
      }]
    }];

    Timeline.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    Timeline.propDecorators = {
      view: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      state: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      results: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scheme: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      customColors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      miniChart: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      autoScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onDomainChange: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var LegendComponent = /*#__PURE__*/function () {
      function LegendComponent(cd) {
        _classCallCheck(this, LegendComponent);

        this.cd = cd;
        this.horizontal = false;
        this.labelClick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.labelActivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.labelDeactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.legendEntries = [];
      }

      _createClass(LegendComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.cd.markForCheck();
          this.legendEntries = this.getLegendEntries();
        }
      }, {
        key: "getLegendEntries",
        value: function getLegendEntries() {
          var _this31 = this;

          var items = [];

          var _iterator12 = _createForOfIteratorHelper(this.data),
              _step12;

          try {
            var _loop = function _loop() {
              var label = _step12.value;
              var formattedLabel = formatLabel(label);
              var idx = items.findIndex(function (i) {
                return i.label === formattedLabel;
              });

              if (idx === -1) {
                items.push({
                  label: label,
                  formattedLabel: formattedLabel,
                  color: _this31.colors.getColor(label)
                });
              }
            };

            for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
              _loop();
            }
          } catch (err) {
            _iterator12.e(err);
          } finally {
            _iterator12.f();
          }

          return items;
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.label === d.name;
          });
          return item !== undefined;
        }
      }, {
        key: "activate",
        value: function activate(item) {
          this.labelActivate.emit(item);
        }
      }, {
        key: "deactivate",
        value: function deactivate(item) {
          this.labelDeactivate.emit(item);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.label;
        }
      }]);

      return LegendComponent;
    }();

    LegendComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-legend',
        template: "\n    <div [style.width.px]=\"width\">\n      <header class=\"legend-title\" *ngIf=\"title?.length > 0\">\n        <span class=\"legend-title-text\">{{ title }}</span>\n      </header>\n      <div class=\"legend-wrap\">\n        <ul class=\"legend-labels\" [class.horizontal-legend]=\"horizontal\" [style.max-height.px]=\"height - 45\">\n          <li *ngFor=\"let entry of legendEntries; trackBy: trackBy\" class=\"legend-label\">\n            <ngx-charts-legend-entry\n              [label]=\"entry.label\"\n              [formattedLabel]=\"entry.formattedLabel\"\n              [color]=\"entry.color\"\n              [isActive]=\"isActive(entry)\"\n              (select)=\"labelClick.emit($event)\"\n              (activate)=\"activate($event)\"\n              (deactivate)=\"deactivate($event)\"\n            >\n            </ngx-charts-legend-entry>\n          </li>\n        </ul>\n      </div>\n    </div>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"]
      }]
    }];

    LegendComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    LegendComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      title: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      horizontal: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelClick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      labelActivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      labelDeactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var LegendEntryComponent = /*#__PURE__*/function () {
      function LegendEntryComponent() {
        _classCallCheck(this, LegendEntryComponent);

        this.isActive = false;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.toggle = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(LegendEntryComponent, [{
        key: "trimmedLabel",
        get: function get() {
          return this.formattedLabel || '(empty)';
        }
      }, {
        key: "onMouseEnter",
        value: function onMouseEnter() {
          this.activate.emit({
            name: this.label
          });
        }
      }, {
        key: "onMouseLeave",
        value: function onMouseLeave() {
          this.deactivate.emit({
            name: this.label
          });
        }
      }]);

      return LegendEntryComponent;
    }();

    LegendEntryComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-legend-entry',
        template: "\n    <span [title]=\"formattedLabel\" tabindex=\"-1\" [class.active]=\"isActive\" (click)=\"select.emit(formattedLabel)\">\n      <span class=\"legend-label-color\" [style.background-color]=\"color\" (click)=\"toggle.emit(formattedLabel)\"> </span>\n      <span class=\"legend-label-text\">\n        {{ trimmedLabel }}\n      </span>\n    </span>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    LegendEntryComponent.propDecorators = {
      color: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      formattedLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isActive: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      toggle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onMouseEnter: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseenter']
      }],
      onMouseLeave: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var ScaleLegendComponent = /*#__PURE__*/function () {
      function ScaleLegendComponent(sanitizer) {
        _classCallCheck(this, ScaleLegendComponent);

        this.sanitizer = sanitizer;
        this.horizontal = false;
      }

      _createClass(ScaleLegendComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          var gradientValues = this.gradientString(this.colors.range(), this.colors.domain());
          var direction = this.horizontal ? 'right' : 'bottom';
          this.gradient = this.sanitizer.bypassSecurityTrustStyle("linear-gradient(to ".concat(direction, ", ").concat(gradientValues, ")"));
        }
        /**
         * Generates the string used in the gradient stylesheet properties
         * @param colors array of colors
         * @param splits array of splits on a scale of (0, 1)
         */

      }, {
        key: "gradientString",
        value: function gradientString(colors, splits) {
          // add the 100%
          splits.push(1);
          var pairs = [];
          colors.reverse().forEach(function (c, i) {
            pairs.push("".concat(c, " ").concat(Math.round(splits[i] * 100), "%"));
          });
          return pairs.join(', ');
        }
      }]);

      return ScaleLegendComponent;
    }();

    ScaleLegendComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-scale-legend',
        template: "\n    <div\n      class=\"scale-legend\"\n      [class.horizontal-legend]=\"horizontal\"\n      [style.height.px]=\"horizontal ? undefined : height\"\n      [style.width.px]=\"width\"\n    >\n      <div class=\"scale-legend-label\">\n        <span>{{ valueRange[1].toLocaleString() }}</span>\n      </div>\n      <div class=\"scale-legend-wrap\" [style.background]=\"gradient\"></div>\n      <div class=\"scale-legend-label\">\n        <span>{{ valueRange[0].toLocaleString() }}</span>\n      </div>\n    </div>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"]
      }]
    }];

    ScaleLegendComponent.ctorParameters = function () {
      return [{
        type: _angular_platform_browser__WEBPACK_IMPORTED_MODULE_10__["DomSanitizer"]
      }];
    };

    ScaleLegendComponent.propDecorators = {
      valueRange: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      horizontal: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var AdvancedLegendComponent = /*#__PURE__*/function () {
      function AdvancedLegendComponent() {
        _classCallCheck(this, AdvancedLegendComponent);

        this.label = 'Total';
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.legendItems = [];

        this.labelFormatting = function (label) {
          return label;
        };

        this.percentageFormatting = function (percentage) {
          return percentage;
        };

        this.defaultValueFormatting = function (value) {
          return value.toLocaleString();
        };
      }

      _createClass(AdvancedLegendComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "getTotal",
        value: function getTotal() {
          return this.data.map(function (d) {
            return d.value;
          }).reduce(function (sum, d) {
            return sum + d;
          }, 0);
        }
      }, {
        key: "update",
        value: function update() {
          this.total = this.getTotal();
          this.roundedTotal = this.total;
          this.legendItems = this.getLegendItems();
        }
      }, {
        key: "getLegendItems",
        value: function getLegendItems() {
          var _this32 = this;

          return this.data.map(function (d) {
            var label = formatLabel(d.name);
            var value = d.value;

            var color = _this32.colors.getColor(label);

            var percentage = _this32.total > 0 ? value / _this32.total * 100 : 0;
            var formattedLabel = typeof _this32.labelFormatting === 'function' ? _this32.labelFormatting(label) : label;
            return {
              _value: value,
              data: d,
              value: value,
              color: color,
              label: formattedLabel,
              displayLabel: trimLabel(formattedLabel, 20),
              origialLabel: d.name,
              percentage: _this32.percentageFormatting ? _this32.percentageFormatting(percentage) : percentage.toLocaleString()
            };
          });
        }
      }, {
        key: "trackBy",
        value: function trackBy(item) {
          return item.formattedLabel;
        }
      }]);

      return AdvancedLegendComponent;
    }();

    AdvancedLegendComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-advanced-legend',
        template: "\n    <div class=\"advanced-pie-legend\" [style.width.px]=\"width\">\n      <div\n        *ngIf=\"animations\"\n        class=\"total-value\"\n        ngx-charts-count-up\n        [countTo]=\"roundedTotal\"\n        [valueFormatting]=\"valueFormatting\"\n      ></div>\n      <div class=\"total-value\" *ngIf=\"!animations\">\n        {{ valueFormatting ? valueFormatting(roundedTotal) : defaultValueFormatting(roundedTotal) }}\n      </div>\n      <div class=\"total-label\">\n        {{ label }}\n      </div>\n      <div class=\"legend-items-container\">\n        <div class=\"legend-items\">\n          <div\n            *ngFor=\"let legendItem of legendItems; trackBy: trackBy\"\n            tabindex=\"-1\"\n            class=\"legend-item\"\n            (mouseenter)=\"activate.emit(legendItem.data)\"\n            (mouseleave)=\"deactivate.emit(legendItem.data)\"\n            (click)=\"select.emit(legendItem.data)\"\n          >\n            <div class=\"item-color\" [style.border-left-color]=\"legendItem.color\"></div>\n            <div\n              *ngIf=\"animations\"\n              class=\"item-value\"\n              ngx-charts-count-up\n              [countTo]=\"legendItem._value\"\n              [valueFormatting]=\"valueFormatting\"\n            ></div>\n            <div *ngIf=\"!animations\" class=\"item-value\">\n              {{ valueFormatting ? valueFormatting(legendItem.value) : defaultValueFormatting(legendItem.value) }}\n            </div>\n            <div class=\"item-label\">{{ legendItem.displayLabel }}</div>\n            <div\n              *ngIf=\"animations\"\n              class=\"item-percent\"\n              ngx-charts-count-up\n              [countTo]=\"legendItem.percentage\"\n              [countSuffix]=\"'%'\"\n            ></div>\n            <div *ngIf=\"!animations\" class=\"item-percent\">{{ legendItem.percentage.toLocaleString() }}%</div>\n          </div>\n        </div>\n      </div>\n    </div>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{overflow:auto;white-space:nowrap}.advanced-pie-legend .legend-items-container .legend-items .legend-item{cursor:pointer;display:inline-block;margin-right:20px}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;margin-left:11px;margin-top:-6px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;margin-left:11px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;float:left;height:42px;margin-right:7px;width:4px}"]
      }]
    }];
    AdvancedLegendComponent.propDecorators = {
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      percentageFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };
    var COMPONENTS = [AreaComponent, BaseChartComponent, CountUpDirective, TooltipArea, ChartComponent, LegendComponent, LegendEntryComponent, ScaleLegendComponent, CircleComponent, CircleSeriesComponent, GridPanelComponent, GridPanelSeriesComponent, SvgLinearGradientComponent, SvgRadialGradientComponent, Timeline, AdvancedLegendComponent];

    var ChartCommonModule = /*#__PURE__*/_createClass(function ChartCommonModule() {
      _classCallCheck(this, ChartCommonModule);
    });

    ChartCommonModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule],
        declarations: [].concat(COMPONENTS, [VisibilityObserver]),
        exports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"], AxesModule, TooltipModule].concat(COMPONENTS, [VisibilityObserver])
      }]
    }];

    function calculateViewDimensions(_ref8) {
      var width = _ref8.width,
          height = _ref8.height,
          margins = _ref8.margins,
          _ref8$showXAxis = _ref8.showXAxis,
          showXAxis = _ref8$showXAxis === void 0 ? false : _ref8$showXAxis,
          _ref8$showYAxis = _ref8.showYAxis,
          showYAxis = _ref8$showYAxis === void 0 ? false : _ref8$showYAxis,
          _ref8$xAxisHeight = _ref8.xAxisHeight,
          xAxisHeight = _ref8$xAxisHeight === void 0 ? 0 : _ref8$xAxisHeight,
          _ref8$yAxisWidth = _ref8.yAxisWidth,
          yAxisWidth = _ref8$yAxisWidth === void 0 ? 0 : _ref8$yAxisWidth,
          _ref8$showXLabel = _ref8.showXLabel,
          showXLabel = _ref8$showXLabel === void 0 ? false : _ref8$showXLabel,
          _ref8$showYLabel = _ref8.showYLabel,
          showYLabel = _ref8$showYLabel === void 0 ? false : _ref8$showYLabel,
          _ref8$showLegend = _ref8.showLegend,
          showLegend = _ref8$showLegend === void 0 ? false : _ref8$showLegend,
          _ref8$legendType = _ref8.legendType,
          legendType = _ref8$legendType === void 0 ? 'ordinal' : _ref8$legendType,
          _ref8$legendPosition = _ref8.legendPosition,
          legendPosition = _ref8$legendPosition === void 0 ? 'right' : _ref8$legendPosition,
          _ref8$columns = _ref8.columns,
          columns = _ref8$columns === void 0 ? 12 : _ref8$columns;
      var xOffset = margins[3];
      var chartWidth = width;
      var chartHeight = height - margins[0] - margins[2];

      if (showLegend && legendPosition === 'right') {
        if (legendType === 'ordinal') {
          columns -= 2;
        } else {
          columns -= 1;
        }
      }

      chartWidth = chartWidth * columns / 12;
      chartWidth = chartWidth - margins[1] - margins[3];

      if (showXAxis) {
        chartHeight -= 5;
        chartHeight -= xAxisHeight;

        if (showXLabel) {
          // text height + spacing between axis label and tick labels
          var offset = 25 + 5;
          chartHeight -= offset;
        }
      }

      if (showYAxis) {
        chartWidth -= 5;
        chartWidth -= yAxisWidth;
        xOffset += yAxisWidth;
        xOffset += 10;

        if (showYLabel) {
          // text height + spacing between axis label and tick labels
          var _offset = 25 + 5;

          chartWidth -= _offset;
          xOffset += _offset;
        }
      }

      chartWidth = Math.max(0, chartWidth);
      chartHeight = Math.max(0, chartHeight);
      return {
        width: Math.floor(chartWidth),
        height: Math.floor(chartHeight),
        xOffset: Math.floor(xOffset)
      };
    }

    var colorSets = [{
      name: 'vivid',
      selectable: true,
      group: 'Ordinal',
      domain: ['#647c8a', '#3f51b5', '#2196f3', '#00b862', '#afdf0a', '#a7b61a', '#f3e562', '#ff9800', '#ff5722', '#ff4514']
    }, {
      name: 'natural',
      selectable: true,
      group: 'Ordinal',
      domain: ['#bf9d76', '#e99450', '#d89f59', '#f2dfa7', '#a5d7c6', '#7794b1', '#afafaf', '#707160', '#ba9383', '#d9d5c3']
    }, {
      name: 'cool',
      selectable: true,
      group: 'Ordinal',
      domain: ['#a8385d', '#7aa3e5', '#a27ea8', '#aae3f5', '#adcded', '#a95963', '#8796c0', '#7ed3ed', '#50abcc', '#ad6886']
    }, {
      name: 'fire',
      selectable: true,
      group: 'Ordinal',
      domain: ['#ff3d00', '#bf360c', '#ff8f00', '#ff6f00', '#ff5722', '#e65100', '#ffca28', '#ffab00']
    }, {
      name: 'solar',
      selectable: true,
      group: 'Continuous',
      domain: ['#fff8e1', '#ffecb3', '#ffe082', '#ffd54f', '#ffca28', '#ffc107', '#ffb300', '#ffa000', '#ff8f00', '#ff6f00']
    }, {
      name: 'air',
      selectable: true,
      group: 'Continuous',
      domain: ['#e1f5fe', '#b3e5fc', '#81d4fa', '#4fc3f7', '#29b6f6', '#03a9f4', '#039be5', '#0288d1', '#0277bd', '#01579b']
    }, {
      name: 'aqua',
      selectable: true,
      group: 'Continuous',
      domain: ['#e0f7fa', '#b2ebf2', '#80deea', '#4dd0e1', '#26c6da', '#00bcd4', '#00acc1', '#0097a7', '#00838f', '#006064']
    }, {
      name: 'flame',
      selectable: false,
      group: 'Ordinal',
      domain: ['#A10A28', '#D3342D', '#EF6D49', '#FAAD67', '#FDDE90', '#DBED91', '#A9D770', '#6CBA67', '#2C9653', '#146738']
    }, {
      name: 'ocean',
      selectable: false,
      group: 'Ordinal',
      domain: ['#1D68FB', '#33C0FC', '#4AFFFE', '#AFFFFF', '#FFFC63', '#FDBD2D', '#FC8A25', '#FA4F1E', '#FA141B', '#BA38D1']
    }, {
      name: 'forest',
      selectable: false,
      group: 'Ordinal',
      domain: ['#55C22D', '#C1F33D', '#3CC099', '#AFFFFF', '#8CFC9D', '#76CFFA', '#BA60FB', '#EE6490', '#C42A1C', '#FC9F32']
    }, {
      name: 'horizon',
      selectable: false,
      group: 'Ordinal',
      domain: ['#2597FB', '#65EBFD', '#99FDD0', '#FCEE4B', '#FEFCFA', '#FDD6E3', '#FCB1A8', '#EF6F7B', '#CB96E8', '#EFDEE0']
    }, {
      name: 'neons',
      selectable: false,
      group: 'Ordinal',
      domain: ['#FF3333', '#FF33FF', '#CC33FF', '#0000FF', '#33CCFF', '#33FFFF', '#33FF66', '#CCFF33', '#FFCC00', '#FF6600']
    }, {
      name: 'picnic',
      selectable: false,
      group: 'Ordinal',
      domain: ['#FAC51D', '#66BD6D', '#FAA026', '#29BB9C', '#E96B56', '#55ACD2', '#B7332F', '#2C83C9', '#9166B8', '#92E7E8']
    }, {
      name: 'night',
      selectable: false,
      group: 'Ordinal',
      domain: ['#2B1B5A', '#501356', '#183356', '#28203F', '#391B3C', '#1E2B3C', '#120634', '#2D0432', '#051932', '#453080', '#75267D', '#2C507D', '#4B3880', '#752F7D', '#35547D']
    }, {
      name: 'nightLights',
      selectable: false,
      group: 'Ordinal',
      domain: ['#4e31a5', '#9c25a7', '#3065ab', '#57468b', '#904497', '#46648b', '#32118d', '#a00fb3', '#1052a2', '#6e51bd', '#b63cc3', '#6c97cb', '#8671c1', '#b455be', '#7496c3']
    }];

    var ColorHelper = /*#__PURE__*/function () {
      function ColorHelper(scheme, type, domain, customColors) {
        _classCallCheck(this, ColorHelper);

        if (typeof scheme === 'string') {
          scheme = colorSets.find(function (cs) {
            return cs.name === scheme;
          });
        }

        this.colorDomain = scheme.domain;
        this.scaleType = type;
        this.domain = domain;
        this.customColors = customColors;
        this.scale = this.generateColorScheme(scheme, type, this.domain);
      }

      _createClass(ColorHelper, [{
        key: "generateColorScheme",
        value: function generateColorScheme(scheme, type, domain) {
          if (typeof scheme === 'string') {
            scheme = colorSets.find(function (cs) {
              return cs.name === scheme;
            });
          }

          var colorScale;

          if (type === 'quantile') {
            colorScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleQuantile"])().range(scheme.domain).domain(domain);
          } else if (type === 'ordinal') {
            colorScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleOrdinal"])().range(scheme.domain).domain(domain);
          } else if (type === 'linear') {
            // linear schemes must have at least 2 colors
            var colorDomain = _toConsumableArray(scheme.domain);

            if (colorDomain.length === 1) {
              colorDomain.push(colorDomain[0]);
              this.colorDomain = colorDomain;
            }

            var points = Object(d3_array__WEBPACK_IMPORTED_MODULE_12__["range"])(0, 1, 1.0 / colorDomain.length);
            colorScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().domain(points).range(colorDomain);
          }

          return colorScale;
        }
      }, {
        key: "getColor",
        value: function getColor(value) {
          if (value === undefined || value === null) {
            throw new Error('Value can not be null');
          }

          if (this.scaleType === 'linear') {
            var valueScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().domain(this.domain).range([0, 1]);
            return this.scale(valueScale(value));
          } else {
            if (typeof this.customColors === 'function') {
              return this.customColors(value);
            }

            var formattedValue = value.toString();
            var found; // todo type customColors

            if (this.customColors && this.customColors.length > 0) {
              found = this.customColors.find(function (mapping) {
                return mapping.name.toLowerCase() === formattedValue.toLowerCase();
              });
            }

            if (found) {
              return found.value;
            } else {
              return this.scale(value);
            }
          }
        }
      }, {
        key: "getLinearGradientStops",
        value: function getLinearGradientStops(value, start) {
          if (start === undefined) {
            start = this.domain[0];
          }

          var valueScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().domain(this.domain).range([0, 1]);
          var colorValueScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().domain(this.colorDomain).range([0, 1]);
          var endColor = this.getColor(value); // generate the stops

          var startVal = valueScale(start);
          var startColor = this.getColor(start);
          var endVal = valueScale(value);
          var i = 1;
          var currentVal = startVal;
          var stops = [];
          stops.push({
            color: startColor,
            offset: startVal,
            originalOffset: startVal,
            opacity: 1
          });

          while (currentVal < endVal && i < this.colorDomain.length) {
            var color = this.colorDomain[i];
            var offset = colorValueScale(color);

            if (offset <= startVal) {
              i++;
              continue;
            }

            if (offset.toFixed(4) >= (endVal - colorValueScale.bandwidth()).toFixed(4)) {
              break;
            }

            stops.push({
              color: color,
              offset: offset,
              opacity: 1
            });
            currentVal = offset;
            i++;
          }

          if (stops[stops.length - 1].offset < 100) {
            stops.push({
              color: endColor,
              offset: endVal,
              opacity: 1
            });
          }

          if (endVal === startVal) {
            stops[0].offset = 0;
            stops[1].offset = 100;
          } else {
            // normalize the offsets into percentages
            if (stops[stops.length - 1].offset !== 100) {
              var _iterator13 = _createForOfIteratorHelper(stops),
                  _step13;

              try {
                for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
                  var s = _step13.value;
                  s.offset = (s.offset - startVal) / (endVal - startVal) * 100;
                }
              } catch (err) {
                _iterator13.e(err);
              } finally {
                _iterator13.f();
              }
            }
          }

          return stops;
        }
      }]);

      return ColorHelper;
    }();
    /**
     * Based on the data, return an array with unique values.
     *
     * @export
     * @returns array
     */


    function getUniqueXDomainValues(results) {
      var valueSet = new Set();

      var _iterator14 = _createForOfIteratorHelper(results),
          _step14;

      try {
        for (_iterator14.s(); !(_step14 = _iterator14.n()).done;) {
          var result = _step14.value;

          var _iterator15 = _createForOfIteratorHelper(result.series),
              _step15;

          try {
            for (_iterator15.s(); !(_step15 = _iterator15.n()).done;) {
              var d = _step15.value;
              valueSet.add(d.name);
            }
          } catch (err) {
            _iterator15.e(err);
          } finally {
            _iterator15.f();
          }
        }
      } catch (err) {
        _iterator14.e(err);
      } finally {
        _iterator14.f();
      }

      return Array.from(valueSet);
    }
    /**
     * Get the scaleType of enumerable of values.
     * @returns  'time', 'linear' or 'ordinal'
     */


    function getScaleType(values) {
      var checkDateType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;

      if (checkDateType) {
        var allDates = values.every(function (value) {
          return value instanceof Date;
        });

        if (allDates) {
          return 'time';
        }
      }

      var allNumbers = values.every(function (value) {
        return typeof value === 'number';
      });

      if (allNumbers) {
        return 'linear';
      }

      return 'ordinal';
    }

    var AreaChartComponent = /*#__PURE__*/function (_BaseChartComponent) {
      _inherits(AreaChartComponent, _BaseChartComponent);

      var _super12 = _createSuper(AreaChartComponent);

      function AreaChartComponent() {
        var _this33;

        _classCallCheck(this, AreaChartComponent);

        _this33 = _super12.apply(this, arguments);
        _this33.legendTitle = 'Legend';
        _this33.legendPosition = 'right';
        _this33.baseValue = 'auto';
        _this33.showGridLines = true;
        _this33.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
        _this33.activeEntries = [];
        _this33.trimXAxisTicks = true;
        _this33.trimYAxisTicks = true;
        _this33.rotateXAxisTicks = true;
        _this33.maxXAxisTickLength = 16;
        _this33.maxYAxisTickLength = 16;
        _this33.roundDomains = false;
        _this33.tooltipDisabled = false;
        _this33.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this33.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this33.margin = [10, 20, 10, 20];
        _this33.xAxisHeight = 0;
        _this33.yAxisWidth = 0;
        _this33.timelineHeight = 50;
        _this33.timelinePadding = 10;
        return _this33;
      }

      _createClass(AreaChartComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(AreaChartComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });

          if (this.timeline) {
            this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
          }

          this.xDomain = this.getXDomain();

          if (this.filteredDomain) {
            this.xDomain = this.filteredDomain;
          }

          this.yDomain = this.getYDomain();
          this.seriesDomain = this.getSeriesDomain();
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
          this.yScale = this.getYScale(this.yDomain, this.dims.height);
          this.updateTimeline();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, ", ").concat(this.margin[0], ")");
          this.clipPathId = 'clip' + id().toString();
          this.clipPath = "url(#".concat(this.clipPathId, ")");
        }
      }, {
        key: "updateTimeline",
        value: function updateTimeline() {
          if (this.timeline) {
            this.timelineWidth = this.dims.width;
            this.timelineXDomain = this.getXDomain();
            this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
            this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
            this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
          }
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = getUniqueXDomainValues(this.results);
          this.scaleType = getScaleType(values);
          var domain = [];

          if (this.scaleType === 'linear') {
            values = values.map(function (v) {
              return Number(v);
            });
          }

          var min;
          var max;

          if (this.scaleType === 'time' || this.scaleType === 'linear') {
            min = this.xScaleMin ? this.xScaleMin : Math.min.apply(Math, _toConsumableArray(values));
            max = this.xScaleMax ? this.xScaleMax : Math.max.apply(Math, _toConsumableArray(values));
          }

          if (this.scaleType === 'time') {
            domain = [new Date(min), new Date(max)];
            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              var aDate = a.getTime();
              var bDate = b.getTime();
              if (aDate > bDate) return 1;
              if (bDate > aDate) return -1;
              return 0;
            });
          } else if (this.scaleType === 'linear') {
            domain = [min, max]; // Use compare function to sort numbers numerically

            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              return a - b;
            });
          } else {
            domain = values;
            this.xSet = values;
          }

          return domain;
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var domain = [];

          var _iterator16 = _createForOfIteratorHelper(this.results),
              _step16;

          try {
            for (_iterator16.s(); !(_step16 = _iterator16.n()).done;) {
              var results = _step16.value;

              var _iterator17 = _createForOfIteratorHelper(results.series),
                  _step17;

              try {
                for (_iterator17.s(); !(_step17 = _iterator17.n()).done;) {
                  var d = _step17.value;

                  if (!domain.includes(d.value)) {
                    domain.push(d.value);
                  }
                }
              } catch (err) {
                _iterator17.e(err);
              } finally {
                _iterator17.f();
              }
            }
          } catch (err) {
            _iterator16.e(err);
          } finally {
            _iterator16.f();
          }

          var values = [].concat(domain);

          if (!this.autoScale) {
            values.push(0);
          }

          if (this.baseValue !== 'auto') {
            values.push(this.baseValue);
          }

          var min = this.yScaleMin ? this.yScaleMin : Math.min.apply(Math, _toConsumableArray(values));
          var max = this.yScaleMax ? this.yScaleMax : Math.max.apply(Math, _toConsumableArray(values));
          return [min, max];
        }
      }, {
        key: "getSeriesDomain",
        value: function getSeriesDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "getXScale",
        value: function getXScale(domain, width) {
          var scale;

          if (this.scaleType === 'time') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])();
          } else if (this.scaleType === 'linear') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])();
          } else if (this.scaleType === 'ordinal') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().padding(0.1);
          }

          scale.range([0, width]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getYScale",
        value: function getYScale(domain, height) {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getScaleType",
        value: function getScaleType(values) {
          var date = true;
          var num = true;

          var _iterator18 = _createForOfIteratorHelper(values),
              _step18;

          try {
            for (_iterator18.s(); !(_step18 = _iterator18.n()).done;) {
              var value = _step18.value;

              if (!this.isDate(value)) {
                date = false;
              }

              if (typeof value !== 'number') {
                num = false;
              }
            }
          } catch (err) {
            _iterator18.e(err);
          } finally {
            _iterator18.f();
          }

          if (date) {
            return 'time';
          }

          if (num) {
            return 'linear';
          }

          return 'ordinal';
        }
      }, {
        key: "isDate",
        value: function isDate(value) {
          if (value instanceof Date) {
            return true;
          }

          return false;
        }
      }, {
        key: "updateDomain",
        value: function updateDomain(domain) {
          this.filteredDomain = domain;
          this.xDomain = this.filteredDomain;
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
        }
      }, {
        key: "updateHoveredVertical",
        value: function updateHoveredVertical(item) {
          this.hoveredVertical = item.value;
          this.deactivateAll();
        }
      }, {
        key: "hideCircles",
        value: function hideCircles() {
          this.hoveredVertical = null;
          this.deactivateAll();
        }
      }, {
        key: "onClick",
        value: function onClick(data, series) {
          if (series) {
            data.series = series.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.seriesDomain;
          } else {
            domain = this.yDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.seriesDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.yDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref9) {
          var width = _ref9.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref10) {
          var height = _ref10.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "deactivateAll",
        value: function deactivateAll() {
          this.activeEntries = _toConsumableArray(this.activeEntries);

          var _iterator19 = _createForOfIteratorHelper(this.activeEntries),
              _step19;

          try {
            for (_iterator19.s(); !(_step19 = _iterator19.n()).done;) {
              var entry = _step19.value;
              this.deactivate.emit({
                value: entry,
                entries: []
              });
            }
          } catch (err) {
            _iterator19.e(err);
          } finally {
            _iterator19.f();
          }

          this.activeEntries = [];
        }
      }]);

      return AreaChartComponent;
    }(BaseChartComponent);

    AreaChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-area-chart',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n            <svg:g\n              ngx-charts-area-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [baseValue]=\"baseValue\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [scaleType]=\"scaleType\"\n              [gradient]=\"gradient\"\n              [curve]=\"curve\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results\">\n              <svg:g\n                ngx-charts-circle-series\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [activeEntries]=\"activeEntries\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event, series)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [legend]=\"legend\"\n        [scaleType]=\"scaleType\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-area-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [baseValue]=\"baseValue\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [gradient]=\"gradient\"\n            [curve]=\"curve\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    AreaChartComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      state: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      baseValue: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      autoScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      timeline: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      seriesTooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['seriesTooltipTemplate']
      }],
      hideCircles: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var AreaChartNormalizedComponent = /*#__PURE__*/function (_BaseChartComponent2) {
      _inherits(AreaChartNormalizedComponent, _BaseChartComponent2);

      var _super13 = _createSuper(AreaChartNormalizedComponent);

      function AreaChartNormalizedComponent() {
        var _this34;

        _classCallCheck(this, AreaChartNormalizedComponent);

        _this34 = _super13.apply(this, arguments);
        _this34.legend = false;
        _this34.legendTitle = 'Legend';
        _this34.legendPosition = 'right';
        _this34.showGridLines = true;
        _this34.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
        _this34.activeEntries = [];
        _this34.trimXAxisTicks = true;
        _this34.trimYAxisTicks = true;
        _this34.rotateXAxisTicks = true;
        _this34.maxXAxisTickLength = 16;
        _this34.maxYAxisTickLength = 16;
        _this34.roundDomains = false;
        _this34.tooltipDisabled = false;
        _this34.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this34.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this34.margin = [10, 20, 10, 20];
        _this34.xAxisHeight = 0;
        _this34.yAxisWidth = 0;
        _this34.timelineHeight = 50;
        _this34.timelinePadding = 10;
        return _this34;
      }

      _createClass(AreaChartNormalizedComponent, [{
        key: "update",
        value: function update() {
          var _this35 = this;

          _get(_getPrototypeOf(AreaChartNormalizedComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });

          if (this.timeline) {
            this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
          }

          this.xDomain = this.getXDomain();

          if (this.filteredDomain) {
            this.xDomain = this.filteredDomain;
          }

          this.yDomain = this.getYDomain();
          this.seriesDomain = this.getSeriesDomain();
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
          this.yScale = this.getYScale(this.yDomain, this.dims.height);

          var _loop2 = function _loop2() {
            var val = _this35.xSet[_i15];
            var d0 = 0;
            var total = 0;

            var _iterator20 = _createForOfIteratorHelper(_this35.results),
                _step20;

            try {
              for (_iterator20.s(); !(_step20 = _iterator20.n()).done;) {
                var group = _step20.value;
                var d = group.series.find(function (item) {
                  var a = item.name;
                  var b = val;

                  if (_this35.scaleType === 'time') {
                    a = a.valueOf();
                    b = b.valueOf();
                  }

                  return a === b;
                });

                if (d) {
                  total += d.value;
                }
              }
            } catch (err) {
              _iterator20.e(err);
            } finally {
              _iterator20.f();
            }

            var _iterator21 = _createForOfIteratorHelper(_this35.results),
                _step21;

            try {
              for (_iterator21.s(); !(_step21 = _iterator21.n()).done;) {
                var _group = _step21.value;

                var _d2 = _group.series.find(function (item) {
                  var a = item.name;
                  var b = val;

                  if (_this35.scaleType === 'time') {
                    a = a.valueOf();
                    b = b.valueOf();
                  }

                  return a === b;
                });

                if (_d2) {
                  _d2.d0 = d0;
                  _d2.d1 = d0 + _d2.value;
                  d0 += _d2.value;
                } else {
                  _d2 = {
                    name: val,
                    value: 0,
                    d0: d0,
                    d1: d0
                  };

                  _group.series.push(_d2);
                }

                if (total > 0) {
                  _d2.d0 = _d2.d0 * 100 / total;
                  _d2.d1 = _d2.d1 * 100 / total;
                } else {
                  _d2.d0 = 0;
                  _d2.d1 = 0;
                }
              }
            } catch (err) {
              _iterator21.e(err);
            } finally {
              _iterator21.f();
            }
          };

          for (var _i15 = 0; _i15 < this.xSet.length; _i15++) {
            _loop2();
          }

          this.updateTimeline();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          this.clipPathId = 'clip' + id().toString();
          this.clipPath = "url(#".concat(this.clipPathId, ")");
        }
      }, {
        key: "updateTimeline",
        value: function updateTimeline() {
          if (this.timeline) {
            this.timelineWidth = this.dims.width;
            this.timelineXDomain = this.getXDomain();
            this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
            this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
            this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
          }
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = getUniqueXDomainValues(this.results);
          this.scaleType = getScaleType(values);
          var domain = [];

          if (this.scaleType === 'time') {
            var min = Math.min.apply(Math, _toConsumableArray(values));
            var max = Math.max.apply(Math, _toConsumableArray(values));
            domain = [new Date(min), new Date(max)];
            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              var aDate = a.getTime();
              var bDate = b.getTime();
              if (aDate > bDate) return 1;
              if (bDate > aDate) return -1;
              return 0;
            });
          } else if (this.scaleType === 'linear') {
            values = values.map(function (v) {
              return Number(v);
            });

            var _min2 = Math.min.apply(Math, _toConsumableArray(values));

            var _max2 = Math.max.apply(Math, _toConsumableArray(values));

            domain = [_min2, _max2]; // Use compare function to sort numbers numerically

            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              return a - b;
            });
          } else {
            domain = values;
            this.xSet = values;
          }

          return domain;
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          return [0, 100];
        }
      }, {
        key: "getSeriesDomain",
        value: function getSeriesDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "getXScale",
        value: function getXScale(domain, width) {
          var scale;

          if (this.scaleType === 'time') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])();
          } else if (this.scaleType === 'linear') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])();
          } else if (this.scaleType === 'ordinal') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().padding(0.1);
          }

          scale.range([0, width]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getYScale",
        value: function getYScale(domain, height) {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "updateDomain",
        value: function updateDomain(domain) {
          this.filteredDomain = domain;
          this.xDomain = this.filteredDomain;
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
        }
      }, {
        key: "updateHoveredVertical",
        value: function updateHoveredVertical(item) {
          this.hoveredVertical = item.value;
          this.deactivateAll();
        }
      }, {
        key: "hideCircles",
        value: function hideCircles() {
          this.hoveredVertical = null;
          this.deactivateAll();
        }
      }, {
        key: "onClick",
        value: function onClick(data, series) {
          if (series) {
            data.series = series.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.seriesDomain;
          } else {
            domain = this.yDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.seriesDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.yDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref11) {
          var width = _ref11.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref12) {
          var height = _ref12.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "deactivateAll",
        value: function deactivateAll() {
          this.activeEntries = _toConsumableArray(this.activeEntries);

          var _iterator22 = _createForOfIteratorHelper(this.activeEntries),
              _step22;

          try {
            for (_iterator22.s(); !(_step22 = _iterator22.n()).done;) {
              var entry = _step22.value;
              this.deactivate.emit({
                value: entry,
                entries: []
              });
            }
          } catch (err) {
            _iterator22.e(err);
          } finally {
            _iterator22.f();
          }

          this.activeEntries = [];
        }
      }]);

      return AreaChartNormalizedComponent;
    }(BaseChartComponent);

    AreaChartNormalizedComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-area-chart-normalized',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n            <svg:g\n              ngx-charts-area-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [scaleType]=\"scaleType\"\n              [activeEntries]=\"activeEntries\"\n              [gradient]=\"gradient\"\n              normalized=\"true\"\n              [curve]=\"curve\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [showPercentage]=\"true\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results\">\n              <svg:g\n                ngx-charts-circle-series\n                type=\"stacked\"\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [activeEntries]=\"activeEntries\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event, series)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [legend]=\"legend\"\n        [scaleType]=\"scaleType\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-area-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [gradient]=\"gradient\"\n            normalized=\"true\"\n            [curve]=\"curve\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    AreaChartNormalizedComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      timeline: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      seriesTooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['seriesTooltipTemplate']
      }],
      hideCircles: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var AreaChartStackedComponent = /*#__PURE__*/function (_BaseChartComponent3) {
      _inherits(AreaChartStackedComponent, _BaseChartComponent3);

      var _super14 = _createSuper(AreaChartStackedComponent);

      function AreaChartStackedComponent() {
        var _this36;

        _classCallCheck(this, AreaChartStackedComponent);

        _this36 = _super14.apply(this, arguments);
        _this36.legend = false;
        _this36.legendTitle = 'Legend';
        _this36.legendPosition = 'right';
        _this36.showGridLines = true;
        _this36.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
        _this36.activeEntries = [];
        _this36.trimXAxisTicks = true;
        _this36.trimYAxisTicks = true;
        _this36.rotateXAxisTicks = true;
        _this36.maxXAxisTickLength = 16;
        _this36.maxYAxisTickLength = 16;
        _this36.roundDomains = false;
        _this36.tooltipDisabled = false;
        _this36.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this36.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this36.margin = [10, 20, 10, 20];
        _this36.xAxisHeight = 0;
        _this36.yAxisWidth = 0;
        _this36.timelineHeight = 50;
        _this36.timelinePadding = 10;
        return _this36;
      }

      _createClass(AreaChartStackedComponent, [{
        key: "update",
        value: function update() {
          var _this37 = this;

          _get(_getPrototypeOf(AreaChartStackedComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });

          if (this.timeline) {
            this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
          }

          this.xDomain = this.getXDomain();

          if (this.filteredDomain) {
            this.xDomain = this.filteredDomain;
          }

          this.yDomain = this.getYDomain();
          this.seriesDomain = this.getSeriesDomain();
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
          this.yScale = this.getYScale(this.yDomain, this.dims.height);

          var _loop3 = function _loop3() {
            var val = _this37.xSet[_i16];
            var d0 = 0;

            var _iterator23 = _createForOfIteratorHelper(_this37.results),
                _step23;

            try {
              for (_iterator23.s(); !(_step23 = _iterator23.n()).done;) {
                var group = _step23.value;
                var d = group.series.find(function (item) {
                  var a = item.name;
                  var b = val;

                  if (_this37.scaleType === 'time') {
                    a = a.valueOf();
                    b = b.valueOf();
                  }

                  return a === b;
                });

                if (d) {
                  d.d0 = d0;
                  d.d1 = d0 + d.value;
                  d0 += d.value;
                } else {
                  d = {
                    name: val,
                    value: 0,
                    d0: d0,
                    d1: d0
                  };
                  group.series.push(d);
                }
              }
            } catch (err) {
              _iterator23.e(err);
            } finally {
              _iterator23.f();
            }
          };

          for (var _i16 = 0; _i16 < this.xSet.length; _i16++) {
            _loop3();
          }

          this.updateTimeline();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          this.clipPathId = 'clip' + id().toString();
          this.clipPath = "url(#".concat(this.clipPathId, ")");
        }
      }, {
        key: "updateTimeline",
        value: function updateTimeline() {
          if (this.timeline) {
            this.timelineWidth = this.dims.width;
            this.timelineXDomain = this.getXDomain();
            this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
            this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
            this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
          }
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = getUniqueXDomainValues(this.results);
          this.scaleType = getScaleType(values);
          var domain = [];

          if (this.scaleType === 'linear') {
            values = values.map(function (v) {
              return Number(v);
            });
          }

          var min;
          var max;

          if (this.scaleType === 'time' || this.scaleType === 'linear') {
            min = this.xScaleMin ? this.xScaleMin : Math.min.apply(Math, _toConsumableArray(values));
            max = this.xScaleMax ? this.xScaleMax : Math.max.apply(Math, _toConsumableArray(values));
          }

          if (this.scaleType === 'time') {
            domain = [new Date(min), new Date(max)];
            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              var aDate = a.getTime();
              var bDate = b.getTime();
              if (aDate > bDate) return 1;
              if (bDate > aDate) return -1;
              return 0;
            });
          } else if (this.scaleType === 'linear') {
            domain = [min, max]; // Use compare function to sort numbers numerically

            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              return a - b;
            });
          } else {
            domain = values;
            this.xSet = values;
          }

          return domain;
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var _this38 = this;

          var domain = [];

          var _loop4 = function _loop4() {
            var val = _this38.xSet[_i17];
            var sum = 0;

            var _iterator24 = _createForOfIteratorHelper(_this38.results),
                _step24;

            try {
              for (_iterator24.s(); !(_step24 = _iterator24.n()).done;) {
                var group = _step24.value;
                var d = group.series.find(function (item) {
                  var a = item.name;
                  var b = val;

                  if (_this38.scaleType === 'time') {
                    a = a.valueOf();
                    b = b.valueOf();
                  }

                  return a === b;
                });

                if (d) {
                  sum += d.value;
                }
              }
            } catch (err) {
              _iterator24.e(err);
            } finally {
              _iterator24.f();
            }

            domain.push(sum);
          };

          for (var _i17 = 0; _i17 < this.xSet.length; _i17++) {
            _loop4();
          }

          var min = this.yScaleMin ? this.yScaleMin : Math.min.apply(Math, [0].concat(domain));
          var max = this.yScaleMax ? this.yScaleMax : Math.max.apply(Math, domain);
          return [min, max];
        }
      }, {
        key: "getSeriesDomain",
        value: function getSeriesDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "getXScale",
        value: function getXScale(domain, width) {
          var scale;

          if (this.scaleType === 'time') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])();
          } else if (this.scaleType === 'linear') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])();
          } else if (this.scaleType === 'ordinal') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().padding(0.1);
          }

          scale.range([0, width]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getYScale",
        value: function getYScale(domain, height) {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "updateDomain",
        value: function updateDomain(domain) {
          this.filteredDomain = domain;
          this.xDomain = this.filteredDomain;
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
        }
      }, {
        key: "updateHoveredVertical",
        value: function updateHoveredVertical(item) {
          this.hoveredVertical = item.value;
          this.deactivateAll();
        }
      }, {
        key: "hideCircles",
        value: function hideCircles() {
          this.hoveredVertical = null;
          this.deactivateAll();
        }
      }, {
        key: "onClick",
        value: function onClick(data, series) {
          if (series) {
            data.series = series.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.seriesDomain;
          } else {
            domain = this.yDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.seriesDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.yDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref13) {
          var width = _ref13.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref14) {
          var height = _ref14.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "deactivateAll",
        value: function deactivateAll() {
          this.activeEntries = _toConsumableArray(this.activeEntries);

          var _iterator25 = _createForOfIteratorHelper(this.activeEntries),
              _step25;

          try {
            for (_iterator25.s(); !(_step25 = _iterator25.n()).done;) {
              var entry = _step25.value;
              this.deactivate.emit({
                value: entry,
                entries: []
              });
            }
          } catch (err) {
            _iterator25.e(err);
          } finally {
            _iterator25.f();
          }

          this.activeEntries = [];
        }
      }]);

      return AreaChartStackedComponent;
    }(BaseChartComponent);

    AreaChartStackedComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-area-chart-stacked',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"area-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n            <svg:g\n              ngx-charts-area-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [scaleType]=\"scaleType\"\n              [gradient]=\"gradient\"\n              [activeEntries]=\"activeEntries\"\n              stacked=\"true\"\n              [curve]=\"curve\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n              <svg:g\n                ngx-charts-circle-series\n                type=\"stacked\"\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [activeEntries]=\"activeEntries\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event, series)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [legend]=\"legend\"\n        [scaleType]=\"scaleType\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-area-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [gradient]=\"gradient\"\n            stacked=\"true\"\n            [curve]=\"curve\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    AreaChartStackedComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      timeline: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      seriesTooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['seriesTooltipTemplate']
      }],
      hideCircles: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    function sortLinear(data, property) {
      var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'asc';
      return data.sort(function (a, b) {
        if (direction === 'asc') {
          return a[property] - b[property];
        } else {
          return b[property] - a[property];
        }
      });
    }

    function sortByDomain(data, property) {
      var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'asc';
      var domain = arguments.length > 3 ? arguments[3] : undefined;
      return data.sort(function (a, b) {
        var aVal = a[property];
        var bVal = b[property];
        var aIdx = domain.indexOf(aVal);
        var bIdx = domain.indexOf(bVal);

        if (direction === 'asc') {
          return aIdx - bIdx;
        } else {
          return bIdx - aIdx;
        }
      });
    }

    function sortByTime(data, property) {
      var direction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'asc';
      return data.sort(function (a, b) {
        var aDate = a[property].getTime();
        var bDate = b[property].getTime();

        if (direction === 'asc') {
          if (aDate > bDate) return 1;
          if (bDate > aDate) return -1;
          return 0;
        } else {
          if (aDate > bDate) return -1;
          if (bDate > aDate) return 1;
          return 0;
        }
      });
    }

    var AreaSeriesComponent = /*#__PURE__*/function () {
      function AreaSeriesComponent() {
        _classCallCheck(this, AreaSeriesComponent);

        this.baseValue = 'auto';
        this.stacked = false;
        this.normalized = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(AreaSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var _this39 = this;

          this.updateGradient();
          var currentArea;
          var startingArea;

          var xProperty = function xProperty(d) {
            var label = d.name;
            return _this39.xScale(label);
          };

          if (this.stacked || this.normalized) {
            currentArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function (d, i) {
              return _this39.yScale(d.d0);
            }).y1(function (d, i) {
              return _this39.yScale(d.d1);
            });
            startingArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function (d) {
              return _this39.yScale.range()[0];
            }).y1(function (d) {
              return _this39.yScale.range()[0];
            });
          } else {
            currentArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function () {
              return _this39.baseValue === 'auto' ? _this39.yScale.range()[0] : _this39.yScale(_this39.baseValue);
            }).y1(function (d) {
              return _this39.yScale(d.value);
            });
            startingArea = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function (d) {
              return _this39.baseValue === 'auto' ? _this39.yScale.range()[0] : _this39.yScale(_this39.baseValue);
            }).y1(function (d) {
              return _this39.baseValue === 'auto' ? _this39.yScale.range()[0] : _this39.yScale(_this39.baseValue);
            });
          }

          currentArea.curve(this.curve);
          startingArea.curve(this.curve);
          this.opacity = 0.8;
          var data = this.data.series;

          if (this.scaleType === 'linear') {
            data = sortLinear(data, 'name');
          } else if (this.scaleType === 'time') {
            data = sortByTime(data, 'name');
          } else {
            data = sortByDomain(data, 'name', 'asc', this.xScale.domain());
          }

          this.path = currentArea(data);
          this.startingPath = startingArea(data);
        }
      }, {
        key: "updateGradient",
        value: function updateGradient() {
          if (this.colors.scaleType === 'linear') {
            this.hasGradient = true;

            if (this.stacked || this.normalized) {
              var d0values = this.data.series.map(function (d) {
                return d.d0;
              });
              var d1values = this.data.series.map(function (d) {
                return d.d1;
              });
              var max = Math.max.apply(Math, _toConsumableArray(d1values));
              var min = Math.min.apply(Math, _toConsumableArray(d0values));
              this.gradientStops = this.colors.getLinearGradientStops(max, min);
            } else {
              var values = this.data.series.map(function (d) {
                return d.value;
              });

              var _max3 = Math.max.apply(Math, _toConsumableArray(values));

              this.gradientStops = this.colors.getLinearGradientStops(_max3);
            }
          } else {
            this.hasGradient = false;
            this.gradientStops = undefined;
          }
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item !== undefined;
        }
      }, {
        key: "isInactive",
        value: function isInactive(entry) {
          if (!this.activeEntries || this.activeEntries.length === 0) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item === undefined;
        }
      }]);

      return AreaSeriesComponent;
    }();

    AreaSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-area-series]',
        template: "\n    <svg:g\n      ngx-charts-area\n      class=\"area-series\"\n      [data]=\"data\"\n      [path]=\"path\"\n      [fill]=\"colors.getColor(data.name)\"\n      [stops]=\"gradientStops\"\n      [startingPath]=\"startingPath\"\n      [opacity]=\"opacity\"\n      [gradient]=\"gradient || hasGradient\"\n      [animations]=\"animations\"\n      [class.active]=\"isActive(data)\"\n      [class.inactive]=\"isInactive(data)\"\n    />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    AreaSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      baseValue: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stacked: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      normalized: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var AreaChartModule = /*#__PURE__*/_createClass(function AreaChartModule() {
      _classCallCheck(this, AreaChartModule);
    });

    AreaChartModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [AreaChartComponent, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaSeriesComponent],
        exports: [AreaChartComponent, AreaChartNormalizedComponent, AreaChartStackedComponent, AreaSeriesComponent]
      }]
    }];

    var BarComponent = /*#__PURE__*/function () {
      function BarComponent(element) {
        _classCallCheck(this, BarComponent);

        this.roundEdges = true;
        this.gradient = false;
        this.offset = 0;
        this.isActive = false;
        this.animations = true;
        this.noBarWhenZero = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.hasGradient = false;
        this.hideBar = false;
        this.element = element.nativeElement;
      }

      _createClass(BarComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          if (changes.roundEdges) {
            this.loadAnimation();
          }

          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.gradientId = 'grad' + id().toString();
          this.gradientFill = "url(#".concat(this.gradientId, ")");

          if (this.gradient || this.stops) {
            this.gradientStops = this.getGradient();
            this.hasGradient = true;
          } else {
            this.hasGradient = false;
          }

          this.updatePathEl();
          this.checkToHideBar();
        }
      }, {
        key: "loadAnimation",
        value: function loadAnimation() {
          this.path = this.getStartingPath();
          setTimeout(this.update.bind(this), 100);
        }
      }, {
        key: "updatePathEl",
        value: function updatePathEl() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.bar');
          var path = this.getPath();

          if (this.animations) {
            node.transition().duration(500).attr('d', path);
          } else {
            node.attr('d', path);
          }
        }
      }, {
        key: "getGradient",
        value: function getGradient() {
          if (this.stops) {
            return this.stops;
          }

          return [{
            offset: 0,
            color: this.fill,
            opacity: this.getStartOpacity()
          }, {
            offset: 100,
            color: this.fill,
            opacity: 1
          }];
        }
      }, {
        key: "getStartingPath",
        value: function getStartingPath() {
          if (!this.animations) {
            return this.getPath();
          }

          var radius = this.getRadius();
          var path;

          if (this.roundEdges) {
            if (this.orientation === 'vertical') {
              radius = Math.min(this.height, radius);
              path = roundedRect(this.x, this.y + this.height, this.width, 1, 0, this.edges);
            } else if (this.orientation === 'horizontal') {
              radius = Math.min(this.width, radius);
              path = roundedRect(this.x, this.y, 1, this.height, 0, this.edges);
            }
          } else {
            if (this.orientation === 'vertical') {
              path = roundedRect(this.x, this.y + this.height, this.width, 1, 0, this.edges);
            } else if (this.orientation === 'horizontal') {
              path = roundedRect(this.x, this.y, 1, this.height, 0, this.edges);
            }
          }

          return path;
        }
      }, {
        key: "getPath",
        value: function getPath() {
          var radius = this.getRadius();
          var path;

          if (this.roundEdges) {
            if (this.orientation === 'vertical') {
              radius = Math.min(this.height, radius);
              path = roundedRect(this.x, this.y, this.width, this.height, radius, this.edges);
            } else if (this.orientation === 'horizontal') {
              radius = Math.min(this.width, radius);
              path = roundedRect(this.x, this.y, this.width, this.height, radius, this.edges);
            }
          } else {
            path = roundedRect(this.x, this.y, this.width, this.height, radius, this.edges);
          }

          return path;
        }
      }, {
        key: "getRadius",
        value: function getRadius() {
          var radius = 0;

          if (this.roundEdges && this.height > 5 && this.width > 5) {
            radius = Math.floor(Math.min(5, this.height / 2, this.width / 2));
          }

          return radius;
        }
      }, {
        key: "getStartOpacity",
        value: function getStartOpacity() {
          if (this.roundEdges) {
            return 0.2;
          } else {
            return 0.5;
          }
        }
      }, {
        key: "edges",
        get: function get() {
          var edges = [false, false, false, false];

          if (this.roundEdges) {
            if (this.orientation === 'vertical') {
              if (this.data.value > 0) {
                edges = [true, true, false, false];
              } else {
                edges = [false, false, true, true];
              }
            } else if (this.orientation === 'horizontal') {
              if (this.data.value > 0) {
                edges = [false, true, false, true];
              } else {
                edges = [true, false, true, false];
              }
            }
          }

          return edges;
        }
      }, {
        key: "onMouseEnter",
        value: function onMouseEnter() {
          this.activate.emit(this.data);
        }
      }, {
        key: "onMouseLeave",
        value: function onMouseLeave() {
          this.deactivate.emit(this.data);
        }
      }, {
        key: "checkToHideBar",
        value: function checkToHideBar() {
          this.hideBar = this.noBarWhenZero && (this.orientation === 'vertical' && this.height === 0 || this.orientation === 'horizontal' && this.width === 0);
        }
      }]);

      return BarComponent;
    }();

    BarComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-bar]',
        template: "\n    <svg:defs *ngIf=\"hasGradient\">\n      <svg:g ngx-charts-svg-linear-gradient [orientation]=\"orientation\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n    </svg:defs>\n    <svg:path\n      class=\"bar\"\n      stroke=\"none\"\n      role=\"img\"\n      tabIndex=\"-1\"\n      [class.active]=\"isActive\"\n      [class.hidden]=\"hideBar\"\n      [attr.d]=\"path\"\n      [attr.aria-label]=\"ariaLabel\"\n      [attr.fill]=\"hasGradient ? gradientFill : fill\"\n      (click)=\"select.emit(data)\"\n    />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    BarComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    BarComponent.propDecorators = {
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      x: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      y: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      orientation: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isActive: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stops: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      ariaLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onMouseEnter: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseenter']
      }],
      onMouseLeave: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var BarHorizontalComponent = /*#__PURE__*/function (_BaseChartComponent4) {
      _inherits(BarHorizontalComponent, _BaseChartComponent4);

      var _super15 = _createSuper(BarHorizontalComponent);

      function BarHorizontalComponent() {
        var _this40;

        _classCallCheck(this, BarHorizontalComponent);

        _this40 = _super15.apply(this, arguments);
        _this40.legend = false;
        _this40.legendTitle = 'Legend';
        _this40.legendPosition = 'right';
        _this40.tooltipDisabled = false;
        _this40.showGridLines = true;
        _this40.activeEntries = [];
        _this40.trimXAxisTicks = true;
        _this40.trimYAxisTicks = true;
        _this40.rotateXAxisTicks = true;
        _this40.maxXAxisTickLength = 16;
        _this40.maxYAxisTickLength = 16;
        _this40.barPadding = 8;
        _this40.roundDomains = false;
        _this40.roundEdges = true;
        _this40.showDataLabel = false;
        _this40.noBarWhenZero = true;
        _this40.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this40.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this40.margin = [10, 20, 10, 20];
        _this40.xAxisHeight = 0;
        _this40.yAxisWidth = 0;
        _this40.dataLabelMaxWidth = {
          negative: 0,
          positive: 0
        };
        return _this40;
      }

      _createClass(BarHorizontalComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarHorizontalComponent.prototype), "update", this).call(this);

          if (!this.showDataLabel) {
            this.dataLabelMaxWidth = {
              negative: 0,
              positive: 0
            };
          }

          this.margin = [10, 20 + this.dataLabelMaxWidth.positive, 10, 20 + this.dataLabelMaxWidth.negative];
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.formatDates();
          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          this.xDomain = this.getXDomain();
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.xDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          this.yDomain = this.getYDomain();
          var spacing = this.yDomain.length / (this.dims.height / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).domain(this.yDomain);
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = this.results.map(function (d) {
            return d.value;
          });
          var min = this.xScaleMin ? Math.min.apply(Math, [this.xScaleMin].concat(_toConsumableArray(values))) : Math.min.apply(Math, [0].concat(_toConsumableArray(values)));
          var max = this.xScaleMax ? Math.max.apply(Math, [this.xScaleMax].concat(_toConsumableArray(values))) : Math.max.apply(Math, [0].concat(_toConsumableArray(values)));
          return [min, max];
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          return this.results.map(function (d) {
            return d.label;
          });
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.yDomain;
          } else {
            domain = this.xDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.yDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.xDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref15) {
          var width = _ref15.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref16) {
          var height = _ref16.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onDataLabelMaxWidthChanged",
        value: function onDataLabelMaxWidthChanged(event) {
          var _this41 = this;

          if (event.size.negative) {
            this.dataLabelMaxWidth.negative = Math.max(this.dataLabelMaxWidth.negative, event.size.width);
          } else {
            this.dataLabelMaxWidth.positive = Math.max(this.dataLabelMaxWidth.positive, event.size.width);
          }

          if (event.index === this.results.length - 1) {
            setTimeout(function () {
              return _this41.update();
            });
          }
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarHorizontalComponent;
    }(BaseChartComponent);

    BarHorizontalComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-horizontal',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, true)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-series-horizontal\n          [xScale]=\"xScale\"\n          [yScale]=\"yScale\"\n          [colors]=\"colors\"\n          [series]=\"results\"\n          [dims]=\"dims\"\n          [gradient]=\"gradient\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [activeEntries]=\"activeEntries\"\n          [roundEdges]=\"roundEdges\"\n          [animations]=\"animations\"\n          [showDataLabel]=\"showDataLabel\"\n          [dataLabelFormatting]=\"dataLabelFormatting\"\n          [noBarWhenZero]=\"noBarWhenZero\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event)\"\n          (deactivate)=\"onDeactivate($event)\"\n          (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event)\"\n        ></svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarHorizontalComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarHorizontal2DComponent = /*#__PURE__*/function (_BaseChartComponent5) {
      _inherits(BarHorizontal2DComponent, _BaseChartComponent5);

      var _super16 = _createSuper(BarHorizontal2DComponent);

      function BarHorizontal2DComponent() {
        var _this42;

        _classCallCheck(this, BarHorizontal2DComponent);

        _this42 = _super16.apply(this, arguments);
        _this42.legend = false;
        _this42.legendTitle = 'Legend';
        _this42.legendPosition = 'right';
        _this42.tooltipDisabled = false;
        _this42.showGridLines = true;
        _this42.activeEntries = [];
        _this42.trimXAxisTicks = true;
        _this42.trimYAxisTicks = true;
        _this42.rotateXAxisTicks = true;
        _this42.maxXAxisTickLength = 16;
        _this42.maxYAxisTickLength = 16;
        _this42.groupPadding = 16;
        _this42.barPadding = 8;
        _this42.roundDomains = false;
        _this42.roundEdges = true;
        _this42.showDataLabel = false;
        _this42.noBarWhenZero = true;
        _this42.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this42.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this42.margin = [10, 20, 10, 20];
        _this42.xAxisHeight = 0;
        _this42.yAxisWidth = 0;
        _this42.dataLabelMaxWidth = {
          negative: 0,
          positive: 0
        };
        return _this42;
      }

      _createClass(BarHorizontal2DComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarHorizontal2DComponent.prototype), "update", this).call(this);

          if (!this.showDataLabel) {
            this.dataLabelMaxWidth = {
              negative: 0,
              positive: 0
            };
          }

          this.margin = [10, 20 + this.dataLabelMaxWidth.positive, 10, 20 + this.dataLabelMaxWidth.negative];
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.formatDates();
          this.groupDomain = this.getGroupDomain();
          this.innerDomain = this.getInnerDomain();
          this.valuesDomain = this.getValueDomain();
          this.groupScale = this.getGroupScale();
          this.innerScale = this.getInnerScale();
          this.valueScale = this.getValueScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
        }
      }, {
        key: "getGroupScale",
        value: function getGroupScale() {
          var spacing = this.groupDomain.length / (this.dims.height / this.groupPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).paddingOuter(spacing / 2).domain(this.groupDomain);
        }
      }, {
        key: "getInnerScale",
        value: function getInnerScale() {
          var height = this.groupScale.bandwidth();
          var spacing = this.innerDomain.length / (height / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, height]).paddingInner(spacing).domain(this.innerDomain);
        }
      }, {
        key: "getValueScale",
        value: function getValueScale() {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valuesDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getGroupDomain",
        value: function getGroupDomain() {
          var domain = [];

          var _iterator26 = _createForOfIteratorHelper(this.results),
              _step26;

          try {
            for (_iterator26.s(); !(_step26 = _iterator26.n()).done;) {
              var group = _step26.value;

              if (!domain.includes(group.label)) {
                domain.push(group.label);
              }
            }
          } catch (err) {
            _iterator26.e(err);
          } finally {
            _iterator26.f();
          }

          return domain;
        }
      }, {
        key: "getInnerDomain",
        value: function getInnerDomain() {
          var domain = [];

          var _iterator27 = _createForOfIteratorHelper(this.results),
              _step27;

          try {
            for (_iterator27.s(); !(_step27 = _iterator27.n()).done;) {
              var group = _step27.value;

              var _iterator28 = _createForOfIteratorHelper(group.series),
                  _step28;

              try {
                for (_iterator28.s(); !(_step28 = _iterator28.n()).done;) {
                  var d = _step28.value;

                  if (!domain.includes(d.label)) {
                    domain.push(d.label);
                  }
                }
              } catch (err) {
                _iterator28.e(err);
              } finally {
                _iterator28.f();
              }
            }
          } catch (err) {
            _iterator27.e(err);
          } finally {
            _iterator27.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          var domain = [];

          var _iterator29 = _createForOfIteratorHelper(this.results),
              _step29;

          try {
            for (_iterator29.s(); !(_step29 = _iterator29.n()).done;) {
              var group = _step29.value;

              var _iterator30 = _createForOfIteratorHelper(group.series),
                  _step30;

              try {
                for (_iterator30.s(); !(_step30 = _iterator30.n()).done;) {
                  var d = _step30.value;

                  if (!domain.includes(d.value)) {
                    domain.push(d.value);
                  }
                }
              } catch (err) {
                _iterator30.e(err);
              } finally {
                _iterator30.f();
              }
            }
          } catch (err) {
            _iterator29.e(err);
          } finally {
            _iterator29.f();
          }

          var min = Math.min.apply(Math, [0].concat(domain));
          var max = this.xScaleMax ? Math.max.apply(Math, [this.xScaleMax].concat(domain)) : Math.max.apply(Math, [0].concat(domain));
          return [min, max];
        }
      }, {
        key: "groupTransform",
        value: function groupTransform(group) {
          return "translate(0, ".concat(this.groupScale(group.label), ")");
        }
      }, {
        key: "onClick",
        value: function onClick(data, group) {
          if (group) {
            data.series = group.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.innerDomain;
          } else {
            domain = this.valuesDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.innerDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.valuesDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref17) {
          var width = _ref17.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref18) {
          var height = _ref18.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onDataLabelMaxWidthChanged",
        value: function onDataLabelMaxWidthChanged(event, groupIndex) {
          var _this43 = this;

          if (event.size.negative) {
            this.dataLabelMaxWidth.negative = Math.max(this.dataLabelMaxWidth.negative, event.size.width);
          } else {
            this.dataLabelMaxWidth.positive = Math.max(this.dataLabelMaxWidth.positive, event.size.width);
          }

          if (groupIndex === this.results.length - 1) {
            setTimeout(function () {
              return _this43.update();
            });
          }
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarHorizontal2DComponent;
    }(BaseChartComponent);

    BarHorizontal2DComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-horizontal-2d',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-grid-panel-series\n          [xScale]=\"valueScale\"\n          [yScale]=\"groupScale\"\n          [data]=\"results\"\n          [dims]=\"dims\"\n          orient=\"horizontal\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"valueScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"groupScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-horizontal\n            [xScale]=\"valueScale\"\n            [activeEntries]=\"activeEntries\"\n            [yScale]=\"innerScale\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [roundEdges]=\"roundEdges\"\n            [animations]=\"animations\"\n            [showDataLabel]=\"showDataLabel\"\n            [dataLabelFormatting]=\"dataLabelFormatting\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: '*'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarHorizontal2DComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarHorizontalNormalizedComponent = /*#__PURE__*/function (_BaseChartComponent6) {
      _inherits(BarHorizontalNormalizedComponent, _BaseChartComponent6);

      var _super17 = _createSuper(BarHorizontalNormalizedComponent);

      function BarHorizontalNormalizedComponent() {
        var _this44;

        _classCallCheck(this, BarHorizontalNormalizedComponent);

        _this44 = _super17.apply(this, arguments);
        _this44.legend = false;
        _this44.legendTitle = 'Legend';
        _this44.legendPosition = 'right';
        _this44.tooltipDisabled = false;
        _this44.showGridLines = true;
        _this44.activeEntries = [];
        _this44.trimXAxisTicks = true;
        _this44.trimYAxisTicks = true;
        _this44.rotateXAxisTicks = true;
        _this44.maxXAxisTickLength = 16;
        _this44.maxYAxisTickLength = 16;
        _this44.barPadding = 8;
        _this44.roundDomains = false;
        _this44.noBarWhenZero = true;
        _this44.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this44.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this44.margin = [10, 20, 10, 20];
        _this44.xAxisHeight = 0;
        _this44.yAxisWidth = 0;
        return _this44;
      }

      _createClass(BarHorizontalNormalizedComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarHorizontalNormalizedComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.formatDates();
          this.groupDomain = this.getGroupDomain();
          this.innerDomain = this.getInnerDomain();
          this.valueDomain = this.getValueDomain();
          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
        }
      }, {
        key: "getGroupDomain",
        value: function getGroupDomain() {
          var domain = [];

          var _iterator31 = _createForOfIteratorHelper(this.results),
              _step31;

          try {
            for (_iterator31.s(); !(_step31 = _iterator31.n()).done;) {
              var group = _step31.value;

              if (!domain.includes(group.label)) {
                domain.push(group.label);
              }
            }
          } catch (err) {
            _iterator31.e(err);
          } finally {
            _iterator31.f();
          }

          return domain;
        }
      }, {
        key: "getInnerDomain",
        value: function getInnerDomain() {
          var domain = [];

          var _iterator32 = _createForOfIteratorHelper(this.results),
              _step32;

          try {
            for (_iterator32.s(); !(_step32 = _iterator32.n()).done;) {
              var group = _step32.value;

              var _iterator33 = _createForOfIteratorHelper(group.series),
                  _step33;

              try {
                for (_iterator33.s(); !(_step33 = _iterator33.n()).done;) {
                  var d = _step33.value;

                  if (!domain.includes(d.label)) {
                    domain.push(d.label);
                  }
                }
              } catch (err) {
                _iterator33.e(err);
              } finally {
                _iterator33.f();
              }
            }
          } catch (err) {
            _iterator32.e(err);
          } finally {
            _iterator32.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          return [0, 100];
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          var spacing = this.groupDomain.length / (this.dims.height / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).domain(this.groupDomain);
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valueDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "groupTransform",
        value: function groupTransform(group) {
          return "translate(0, ".concat(this.yScale(group.name), ")");
        }
      }, {
        key: "onClick",
        value: function onClick(data, group) {
          if (group) {
            data.series = group.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.innerDomain;
          } else {
            domain = this.valueDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.innerDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.valueDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref19) {
          var width = _ref19.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref20) {
          var height = _ref20.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarHorizontalNormalizedComponent;
    }(BaseChartComponent);

    BarHorizontalNormalizedComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-horizontal-normalized',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-horizontal\n            type=\"normalized\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [activeEntries]=\"activeEntries\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: '*'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarHorizontalNormalizedComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarHorizontalStackedComponent = /*#__PURE__*/function (_BaseChartComponent7) {
      _inherits(BarHorizontalStackedComponent, _BaseChartComponent7);

      var _super18 = _createSuper(BarHorizontalStackedComponent);

      function BarHorizontalStackedComponent() {
        var _this45;

        _classCallCheck(this, BarHorizontalStackedComponent);

        _this45 = _super18.apply(this, arguments);
        _this45.legend = false;
        _this45.legendTitle = 'Legend';
        _this45.legendPosition = 'right';
        _this45.tooltipDisabled = false;
        _this45.showGridLines = true;
        _this45.activeEntries = [];
        _this45.trimXAxisTicks = true;
        _this45.trimYAxisTicks = true;
        _this45.rotateXAxisTicks = true;
        _this45.maxXAxisTickLength = 16;
        _this45.maxYAxisTickLength = 16;
        _this45.barPadding = 8;
        _this45.roundDomains = false;
        _this45.showDataLabel = false;
        _this45.noBarWhenZero = true;
        _this45.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this45.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this45.margin = [10, 20, 10, 20];
        _this45.xAxisHeight = 0;
        _this45.yAxisWidth = 0;
        _this45.dataLabelMaxWidth = {
          negative: 0,
          positive: 0
        };
        return _this45;
      }

      _createClass(BarHorizontalStackedComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarHorizontalStackedComponent.prototype), "update", this).call(this);

          if (!this.showDataLabel) {
            this.dataLabelMaxWidth = {
              negative: 0,
              positive: 0
            };
          }

          this.margin = [10, 20 + this.dataLabelMaxWidth.positive, 10, 20 + this.dataLabelMaxWidth.negative];
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.formatDates();
          this.groupDomain = this.getGroupDomain();
          this.innerDomain = this.getInnerDomain();
          this.valueDomain = this.getValueDomain();
          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
        }
      }, {
        key: "getGroupDomain",
        value: function getGroupDomain() {
          var domain = [];

          var _iterator34 = _createForOfIteratorHelper(this.results),
              _step34;

          try {
            for (_iterator34.s(); !(_step34 = _iterator34.n()).done;) {
              var group = _step34.value;

              if (!domain.includes(group.label)) {
                domain.push(group.label);
              }
            }
          } catch (err) {
            _iterator34.e(err);
          } finally {
            _iterator34.f();
          }

          return domain;
        }
      }, {
        key: "getInnerDomain",
        value: function getInnerDomain() {
          var domain = [];

          var _iterator35 = _createForOfIteratorHelper(this.results),
              _step35;

          try {
            for (_iterator35.s(); !(_step35 = _iterator35.n()).done;) {
              var group = _step35.value;

              var _iterator36 = _createForOfIteratorHelper(group.series),
                  _step36;

              try {
                for (_iterator36.s(); !(_step36 = _iterator36.n()).done;) {
                  var d = _step36.value;

                  if (!domain.includes(d.label)) {
                    domain.push(d.label);
                  }
                }
              } catch (err) {
                _iterator36.e(err);
              } finally {
                _iterator36.f();
              }
            }
          } catch (err) {
            _iterator35.e(err);
          } finally {
            _iterator35.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          var domain = [];
          var smallest = 0;
          var biggest = 0;

          var _iterator37 = _createForOfIteratorHelper(this.results),
              _step37;

          try {
            for (_iterator37.s(); !(_step37 = _iterator37.n()).done;) {
              var group = _step37.value;
              var smallestSum = 0;
              var biggestSum = 0;

              var _iterator38 = _createForOfIteratorHelper(group.series),
                  _step38;

              try {
                for (_iterator38.s(); !(_step38 = _iterator38.n()).done;) {
                  var d = _step38.value;

                  if (d.value < 0) {
                    smallestSum += d.value;
                  } else {
                    biggestSum += d.value;
                  }

                  smallest = d.value < smallest ? d.value : smallest;
                  biggest = d.value > biggest ? d.value : biggest;
                }
              } catch (err) {
                _iterator38.e(err);
              } finally {
                _iterator38.f();
              }

              domain.push(smallestSum);
              domain.push(biggestSum);
            }
          } catch (err) {
            _iterator37.e(err);
          } finally {
            _iterator37.f();
          }

          domain.push(smallest);
          domain.push(biggest);
          var min = Math.min.apply(Math, [0].concat(domain));
          var max = this.xScaleMax ? Math.max.apply(Math, [this.xScaleMax].concat(domain)) : Math.max.apply(Math, domain);
          return [min, max];
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          var spacing = this.groupDomain.length / (this.dims.height / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.height]).paddingInner(spacing).domain(this.groupDomain);
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valueDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "groupTransform",
        value: function groupTransform(group) {
          return "translate(0, ".concat(this.yScale(group.name), ")");
        }
      }, {
        key: "onClick",
        value: function onClick(data, group) {
          if (group) {
            data.series = group.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.innerDomain;
          } else {
            domain = this.valueDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.innerDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.valueDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref21) {
          var width = _ref21.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref22) {
          var height = _ref22.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onDataLabelMaxWidthChanged",
        value: function onDataLabelMaxWidthChanged(event, groupIndex) {
          var _this46 = this;

          if (event.size.negative) {
            this.dataLabelMaxWidth.negative = Math.max(this.dataLabelMaxWidth.negative, event.size.width);
          } else {
            this.dataLabelMaxWidth.positive = Math.max(this.dataLabelMaxWidth.positive, event.size.width);
          }

          if (groupIndex === this.results.length - 1) {
            setTimeout(function () {
              return _this46.update();
            });
          }
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarHorizontalStackedComponent;
    }(BaseChartComponent);

    BarHorizontalStackedComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-horizontal-stacked',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [yAxisOffset]=\"dataLabelMaxWidth.negative\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-horizontal\n            type=\"stacked\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [activeEntries]=\"activeEntries\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            [showDataLabel]=\"showDataLabel\"\n            [dataLabelFormatting]=\"dataLabelFormatting\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            (dataLabelWidthChanged)=\"onDataLabelMaxWidthChanged($event, index)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: '*'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarHorizontalStackedComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarVerticalComponent = /*#__PURE__*/function (_BaseChartComponent8) {
      _inherits(BarVerticalComponent, _BaseChartComponent8);

      var _super19 = _createSuper(BarVerticalComponent);

      function BarVerticalComponent() {
        var _this47;

        _classCallCheck(this, BarVerticalComponent);

        _this47 = _super19.apply(this, arguments);
        _this47.legend = false;
        _this47.legendTitle = 'Legend';
        _this47.legendPosition = 'right';
        _this47.tooltipDisabled = false;
        _this47.showGridLines = true;
        _this47.activeEntries = [];
        _this47.trimXAxisTicks = true;
        _this47.trimYAxisTicks = true;
        _this47.rotateXAxisTicks = true;
        _this47.maxXAxisTickLength = 16;
        _this47.maxYAxisTickLength = 16;
        _this47.barPadding = 8;
        _this47.roundDomains = false;
        _this47.roundEdges = true;
        _this47.showDataLabel = false;
        _this47.noBarWhenZero = true;
        _this47.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this47.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this47.margin = [10, 20, 10, 20];
        _this47.xAxisHeight = 0;
        _this47.yAxisWidth = 0;
        _this47.dataLabelMaxHeight = {
          negative: 0,
          positive: 0
        };
        return _this47;
      }

      _createClass(BarVerticalComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarVerticalComponent.prototype), "update", this).call(this);

          if (!this.showDataLabel) {
            this.dataLabelMaxHeight = {
              negative: 0,
              positive: 0
            };
          }

          this.margin = [10 + this.dataLabelMaxHeight.positive, 20, 10 + this.dataLabelMaxHeight.negative, 20];
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.formatDates();

          if (this.showDataLabel) {
            this.dims.height -= this.dataLabelMaxHeight.negative;
          }

          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0] + this.dataLabelMaxHeight.negative, ")");
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          this.xDomain = this.getXDomain();
          var spacing = this.xDomain.length / (this.dims.width / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().range([0, this.dims.width]).paddingInner(spacing).domain(this.xDomain);
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          this.yDomain = this.getYDomain();
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.yDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          return this.results.map(function (d) {
            return d.label;
          });
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var values = this.results.map(function (d) {
            return d.value;
          });
          var min = this.yScaleMin ? Math.min.apply(Math, [this.yScaleMin].concat(_toConsumableArray(values))) : Math.min.apply(Math, [0].concat(_toConsumableArray(values)));

          if (this.yAxisTicks && !this.yAxisTicks.some(isNaN)) {
            min = Math.min.apply(Math, [min].concat(_toConsumableArray(this.yAxisTicks)));
          }

          var max = this.yScaleMax ? Math.max.apply(Math, [this.yScaleMax].concat(_toConsumableArray(values))) : Math.max.apply(Math, [0].concat(_toConsumableArray(values)));

          if (this.yAxisTicks && !this.yAxisTicks.some(isNaN)) {
            max = Math.max.apply(Math, [max].concat(_toConsumableArray(this.yAxisTicks)));
          }

          return [min, max];
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.xDomain;
          } else {
            domain = this.yDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.xDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.yDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref23) {
          var width = _ref23.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref24) {
          var height = _ref24.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onDataLabelMaxHeightChanged",
        value: function onDataLabelMaxHeightChanged(event) {
          var _this48 = this;

          if (event.size.negative) {
            this.dataLabelMaxHeight.negative = Math.max(this.dataLabelMaxHeight.negative, event.size.height);
          } else {
            this.dataLabelMaxHeight.positive = Math.max(this.dataLabelMaxHeight.positive, event.size.height);
          }

          if (event.index === this.results.length - 1) {
            setTimeout(function () {
              return _this48.update();
            });
          }
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarVerticalComponent;
    }(BaseChartComponent);

    BarVerticalComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-vertical',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, true)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          [xAxisOffset]=\"dataLabelMaxHeight.negative\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-series-vertical\n          [xScale]=\"xScale\"\n          [yScale]=\"yScale\"\n          [colors]=\"colors\"\n          [series]=\"results\"\n          [dims]=\"dims\"\n          [gradient]=\"gradient\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [showDataLabel]=\"showDataLabel\"\n          [dataLabelFormatting]=\"dataLabelFormatting\"\n          [activeEntries]=\"activeEntries\"\n          [roundEdges]=\"roundEdges\"\n          [animations]=\"animations\"\n          [noBarWhenZero]=\"noBarWhenZero\"\n          (activate)=\"onActivate($event)\"\n          (deactivate)=\"onDeactivate($event)\"\n          (select)=\"onClick($event)\"\n          (dataLabelHeightChanged)=\"onDataLabelMaxHeightChanged($event)\"\n        ></svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarVerticalComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarVertical2DComponent = /*#__PURE__*/function (_BaseChartComponent9) {
      _inherits(BarVertical2DComponent, _BaseChartComponent9);

      var _super20 = _createSuper(BarVertical2DComponent);

      function BarVertical2DComponent() {
        var _this49;

        _classCallCheck(this, BarVertical2DComponent);

        _this49 = _super20.apply(this, arguments);
        _this49.legend = false;
        _this49.legendTitle = 'Legend';
        _this49.legendPosition = 'right';
        _this49.tooltipDisabled = false;
        _this49.scaleType = 'ordinal';
        _this49.showGridLines = true;
        _this49.activeEntries = [];
        _this49.trimXAxisTicks = true;
        _this49.trimYAxisTicks = true;
        _this49.rotateXAxisTicks = true;
        _this49.maxXAxisTickLength = 16;
        _this49.maxYAxisTickLength = 16;
        _this49.groupPadding = 16;
        _this49.barPadding = 8;
        _this49.roundDomains = false;
        _this49.roundEdges = true;
        _this49.showDataLabel = false;
        _this49.noBarWhenZero = true;
        _this49.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this49.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this49.margin = [10, 20, 10, 20];
        _this49.xAxisHeight = 0;
        _this49.yAxisWidth = 0;
        _this49.dataLabelMaxHeight = {
          negative: 0,
          positive: 0
        };
        return _this49;
      }

      _createClass(BarVertical2DComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarVertical2DComponent.prototype), "update", this).call(this);

          if (!this.showDataLabel) {
            this.dataLabelMaxHeight = {
              negative: 0,
              positive: 0
            };
          }

          this.margin = [10 + this.dataLabelMaxHeight.positive, 20, 10 + this.dataLabelMaxHeight.negative, 20];
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });

          if (this.showDataLabel) {
            this.dims.height -= this.dataLabelMaxHeight.negative;
          }

          this.formatDates();
          this.groupDomain = this.getGroupDomain();
          this.innerDomain = this.getInnerDomain();
          this.valuesDomain = this.getValueDomain();
          this.groupScale = this.getGroupScale();
          this.innerScale = this.getInnerScale();
          this.valueScale = this.getValueScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0] + this.dataLabelMaxHeight.negative, ")");
        }
      }, {
        key: "onDataLabelMaxHeightChanged",
        value: function onDataLabelMaxHeightChanged(event, groupIndex) {
          var _this50 = this;

          if (event.size.negative) {
            this.dataLabelMaxHeight.negative = Math.max(this.dataLabelMaxHeight.negative, event.size.height);
          } else {
            this.dataLabelMaxHeight.positive = Math.max(this.dataLabelMaxHeight.positive, event.size.height);
          }

          if (groupIndex === this.results.length - 1) {
            setTimeout(function () {
              return _this50.update();
            });
          }
        }
      }, {
        key: "getGroupScale",
        value: function getGroupScale() {
          var spacing = this.groupDomain.length / (this.dims.height / this.groupPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).paddingInner(spacing).paddingOuter(spacing / 2).domain(this.groupDomain);
        }
      }, {
        key: "getInnerScale",
        value: function getInnerScale() {
          var width = this.groupScale.bandwidth();
          var spacing = this.innerDomain.length / (width / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, width]).paddingInner(spacing).domain(this.innerDomain);
        }
      }, {
        key: "getValueScale",
        value: function getValueScale() {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.valuesDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getGroupDomain",
        value: function getGroupDomain() {
          var domain = [];

          var _iterator39 = _createForOfIteratorHelper(this.results),
              _step39;

          try {
            for (_iterator39.s(); !(_step39 = _iterator39.n()).done;) {
              var group = _step39.value;

              if (!domain.includes(group.label)) {
                domain.push(group.label);
              }
            }
          } catch (err) {
            _iterator39.e(err);
          } finally {
            _iterator39.f();
          }

          return domain;
        }
      }, {
        key: "getInnerDomain",
        value: function getInnerDomain() {
          var domain = [];

          var _iterator40 = _createForOfIteratorHelper(this.results),
              _step40;

          try {
            for (_iterator40.s(); !(_step40 = _iterator40.n()).done;) {
              var group = _step40.value;

              var _iterator41 = _createForOfIteratorHelper(group.series),
                  _step41;

              try {
                for (_iterator41.s(); !(_step41 = _iterator41.n()).done;) {
                  var d = _step41.value;

                  if (!domain.includes(d.label)) {
                    domain.push(d.label);
                  }
                }
              } catch (err) {
                _iterator41.e(err);
              } finally {
                _iterator41.f();
              }
            }
          } catch (err) {
            _iterator40.e(err);
          } finally {
            _iterator40.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          var domain = [];

          var _iterator42 = _createForOfIteratorHelper(this.results),
              _step42;

          try {
            for (_iterator42.s(); !(_step42 = _iterator42.n()).done;) {
              var group = _step42.value;

              var _iterator43 = _createForOfIteratorHelper(group.series),
                  _step43;

              try {
                for (_iterator43.s(); !(_step43 = _iterator43.n()).done;) {
                  var d = _step43.value;

                  if (!domain.includes(d.value)) {
                    domain.push(d.value);
                  }
                }
              } catch (err) {
                _iterator43.e(err);
              } finally {
                _iterator43.f();
              }
            }
          } catch (err) {
            _iterator42.e(err);
          } finally {
            _iterator42.f();
          }

          var min = Math.min.apply(Math, [0].concat(domain));
          var max = this.yScaleMax ? Math.max.apply(Math, [this.yScaleMax].concat(domain)) : Math.max.apply(Math, [0].concat(domain));
          return [min, max];
        }
      }, {
        key: "groupTransform",
        value: function groupTransform(group) {
          return "translate(".concat(this.groupScale(group.label), ", 0)");
        }
      }, {
        key: "onClick",
        value: function onClick(data, group) {
          if (group) {
            data.series = group.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.innerDomain;
          } else {
            domain = this.valuesDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.innerDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.valuesDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref25) {
          var width = _ref25.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref26) {
          var height = _ref26.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarVertical2DComponent;
    }(BaseChartComponent);

    BarVertical2DComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-vertical-2d',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-grid-panel-series\n          [xScale]=\"groupScale\"\n          [yScale]=\"valueScale\"\n          [data]=\"results\"\n          [dims]=\"dims\"\n          orient=\"vertical\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"groupScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          [xAxisOffset]=\"dataLabelMaxHeight.negative\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"valueScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-series-vertical\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n          [activeEntries]=\"activeEntries\"\n          [xScale]=\"innerScale\"\n          [yScale]=\"valueScale\"\n          [colors]=\"colors\"\n          [series]=\"group.series\"\n          [dims]=\"dims\"\n          [gradient]=\"gradient\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [showDataLabel]=\"showDataLabel\"\n          [dataLabelFormatting]=\"dataLabelFormatting\"\n          [seriesName]=\"group.name\"\n          [roundEdges]=\"roundEdges\"\n          [animations]=\"animations\"\n          [noBarWhenZero]=\"noBarWhenZero\"\n          (select)=\"onClick($event, group)\"\n          (activate)=\"onActivate($event, group)\"\n          (deactivate)=\"onDeactivate($event, group)\"\n          (dataLabelHeightChanged)=\"onDataLabelMaxHeightChanged($event, index)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: '*'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarVertical2DComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarVerticalNormalizedComponent = /*#__PURE__*/function (_BaseChartComponent10) {
      _inherits(BarVerticalNormalizedComponent, _BaseChartComponent10);

      var _super21 = _createSuper(BarVerticalNormalizedComponent);

      function BarVerticalNormalizedComponent() {
        var _this51;

        _classCallCheck(this, BarVerticalNormalizedComponent);

        _this51 = _super21.apply(this, arguments);
        _this51.legend = false;
        _this51.legendTitle = 'Legend';
        _this51.legendPosition = 'right';
        _this51.tooltipDisabled = false;
        _this51.showGridLines = true;
        _this51.activeEntries = [];
        _this51.trimXAxisTicks = true;
        _this51.trimYAxisTicks = true;
        _this51.rotateXAxisTicks = true;
        _this51.maxXAxisTickLength = 16;
        _this51.maxYAxisTickLength = 16;
        _this51.barPadding = 8;
        _this51.roundDomains = false;
        _this51.noBarWhenZero = true;
        _this51.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this51.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this51.margin = [10, 20, 10, 20];
        _this51.xAxisHeight = 0;
        _this51.yAxisWidth = 0;
        return _this51;
      }

      _createClass(BarVerticalNormalizedComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarVerticalNormalizedComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.formatDates();
          this.groupDomain = this.getGroupDomain();
          this.innerDomain = this.getInnerDomain();
          this.valueDomain = this.getValueDomain();
          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
        }
      }, {
        key: "getGroupDomain",
        value: function getGroupDomain() {
          var domain = [];

          var _iterator44 = _createForOfIteratorHelper(this.results),
              _step44;

          try {
            for (_iterator44.s(); !(_step44 = _iterator44.n()).done;) {
              var group = _step44.value;

              if (!domain.includes(group.label)) {
                domain.push(group.label);
              }
            }
          } catch (err) {
            _iterator44.e(err);
          } finally {
            _iterator44.f();
          }

          return domain;
        }
      }, {
        key: "getInnerDomain",
        value: function getInnerDomain() {
          var domain = [];

          var _iterator45 = _createForOfIteratorHelper(this.results),
              _step45;

          try {
            for (_iterator45.s(); !(_step45 = _iterator45.n()).done;) {
              var group = _step45.value;

              var _iterator46 = _createForOfIteratorHelper(group.series),
                  _step46;

              try {
                for (_iterator46.s(); !(_step46 = _iterator46.n()).done;) {
                  var d = _step46.value;

                  if (!domain.includes(d.label)) {
                    domain.push(d.label);
                  }
                }
              } catch (err) {
                _iterator46.e(err);
              } finally {
                _iterator46.f();
              }
            }
          } catch (err) {
            _iterator45.e(err);
          } finally {
            _iterator45.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          return [0, 100];
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          var spacing = this.groupDomain.length / (this.dims.width / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).paddingInner(spacing).domain(this.groupDomain);
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.valueDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "groupTransform",
        value: function groupTransform(group) {
          return "translate(".concat(this.xScale(group.name), ", 0)");
        }
      }, {
        key: "onClick",
        value: function onClick(data, group) {
          if (group) {
            data.series = group.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.innerDomain;
          } else {
            domain = this.valueDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.innerDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.valueDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref27) {
          var width = _ref27.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref28) {
          var height = _ref28.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarVerticalNormalizedComponent;
    }(BaseChartComponent);

    BarVerticalNormalizedComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-vertical-normalized',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-vertical\n            type=\"normalized\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [activeEntries]=\"activeEntries\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: '*'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarVerticalNormalizedComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var BarVerticalStackedComponent = /*#__PURE__*/function (_BaseChartComponent11) {
      _inherits(BarVerticalStackedComponent, _BaseChartComponent11);

      var _super22 = _createSuper(BarVerticalStackedComponent);

      function BarVerticalStackedComponent() {
        var _this52;

        _classCallCheck(this, BarVerticalStackedComponent);

        _this52 = _super22.apply(this, arguments);
        _this52.legend = false;
        _this52.legendTitle = 'Legend';
        _this52.legendPosition = 'right';
        _this52.tooltipDisabled = false;
        _this52.showGridLines = true;
        _this52.activeEntries = [];
        _this52.trimXAxisTicks = true;
        _this52.trimYAxisTicks = true;
        _this52.rotateXAxisTicks = true;
        _this52.maxXAxisTickLength = 16;
        _this52.maxYAxisTickLength = 16;
        _this52.barPadding = 8;
        _this52.roundDomains = false;
        _this52.showDataLabel = false;
        _this52.noBarWhenZero = true;
        _this52.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this52.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this52.margin = [10, 20, 10, 20];
        _this52.xAxisHeight = 0;
        _this52.yAxisWidth = 0;
        _this52.dataLabelMaxHeight = {
          negative: 0,
          positive: 0
        };
        return _this52;
      }

      _createClass(BarVerticalStackedComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BarVerticalStackedComponent.prototype), "update", this).call(this);

          if (!this.showDataLabel) {
            this.dataLabelMaxHeight = {
              negative: 0,
              positive: 0
            };
          }

          this.margin = [10 + this.dataLabelMaxHeight.positive, 20, 10 + this.dataLabelMaxHeight.negative, 20];
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });

          if (this.showDataLabel) {
            this.dims.height -= this.dataLabelMaxHeight.negative;
          }

          this.formatDates();
          this.groupDomain = this.getGroupDomain();
          this.innerDomain = this.getInnerDomain();
          this.valueDomain = this.getValueDomain();
          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0] + this.dataLabelMaxHeight.negative, ")");
        }
      }, {
        key: "getGroupDomain",
        value: function getGroupDomain() {
          var domain = [];

          var _iterator47 = _createForOfIteratorHelper(this.results),
              _step47;

          try {
            for (_iterator47.s(); !(_step47 = _iterator47.n()).done;) {
              var group = _step47.value;

              if (!domain.includes(group.label)) {
                domain.push(group.label);
              }
            }
          } catch (err) {
            _iterator47.e(err);
          } finally {
            _iterator47.f();
          }

          return domain;
        }
      }, {
        key: "getInnerDomain",
        value: function getInnerDomain() {
          var domain = [];

          var _iterator48 = _createForOfIteratorHelper(this.results),
              _step48;

          try {
            for (_iterator48.s(); !(_step48 = _iterator48.n()).done;) {
              var group = _step48.value;

              var _iterator49 = _createForOfIteratorHelper(group.series),
                  _step49;

              try {
                for (_iterator49.s(); !(_step49 = _iterator49.n()).done;) {
                  var d = _step49.value;

                  if (!domain.includes(d.label)) {
                    domain.push(d.label);
                  }
                }
              } catch (err) {
                _iterator49.e(err);
              } finally {
                _iterator49.f();
              }
            }
          } catch (err) {
            _iterator48.e(err);
          } finally {
            _iterator48.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          var domain = [];
          var smallest = 0;
          var biggest = 0;

          var _iterator50 = _createForOfIteratorHelper(this.results),
              _step50;

          try {
            for (_iterator50.s(); !(_step50 = _iterator50.n()).done;) {
              var group = _step50.value;
              var smallestSum = 0;
              var biggestSum = 0;

              var _iterator51 = _createForOfIteratorHelper(group.series),
                  _step51;

              try {
                for (_iterator51.s(); !(_step51 = _iterator51.n()).done;) {
                  var d = _step51.value;

                  if (d.value < 0) {
                    smallestSum += d.value;
                  } else {
                    biggestSum += d.value;
                  }

                  smallest = d.value < smallest ? d.value : smallest;
                  biggest = d.value > biggest ? d.value : biggest;
                }
              } catch (err) {
                _iterator51.e(err);
              } finally {
                _iterator51.f();
              }

              domain.push(smallestSum);
              domain.push(biggestSum);
            }
          } catch (err) {
            _iterator50.e(err);
          } finally {
            _iterator50.f();
          }

          domain.push(smallest);
          domain.push(biggest);
          var min = Math.min.apply(Math, [0].concat(domain));
          var max = this.yScaleMax ? Math.max.apply(Math, [this.yScaleMax].concat(domain)) : Math.max.apply(Math, domain);
          return [min, max];
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          var spacing = this.groupDomain.length / (this.dims.width / this.barPadding + 1);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).paddingInner(spacing).domain(this.groupDomain);
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([this.dims.height, 0]).domain(this.valueDomain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "onDataLabelMaxHeightChanged",
        value: function onDataLabelMaxHeightChanged(event, groupIndex) {
          var _this53 = this;

          if (event.size.negative) {
            this.dataLabelMaxHeight.negative = Math.max(this.dataLabelMaxHeight.negative, event.size.height);
          } else {
            this.dataLabelMaxHeight.positive = Math.max(this.dataLabelMaxHeight.positive, event.size.height);
          }

          if (groupIndex === this.results.length - 1) {
            setTimeout(function () {
              return _this53.update();
            });
          }
        }
      }, {
        key: "groupTransform",
        value: function groupTransform(group) {
          return "translate(".concat(this.xScale(group.name) || 0, ", 0)");
        }
      }, {
        key: "onClick",
        value: function onClick(data, group) {
          if (group) {
            data.series = group.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.innerDomain;
          } else {
            domain = this.valueDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.innerDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.valueDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref29) {
          var width = _ref29.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref30) {
          var height = _ref30.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return BarVerticalStackedComponent;
    }(BaseChartComponent);

    BarVerticalStackedComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bar-vertical-stacked',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, undefined, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, undefined, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"bar-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          [xAxisOffset]=\"dataLabelMaxHeight.negative\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          *ngFor=\"let group of results; let index = index; trackBy: trackBy\"\n          [@animationState]=\"'active'\"\n          [attr.transform]=\"groupTransform(group)\"\n        >\n          <svg:g\n            ngx-charts-series-vertical\n            type=\"stacked\"\n            [xScale]=\"xScale\"\n            [yScale]=\"yScale\"\n            [activeEntries]=\"activeEntries\"\n            [colors]=\"colors\"\n            [series]=\"group.series\"\n            [dims]=\"dims\"\n            [gradient]=\"gradient\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [showDataLabel]=\"showDataLabel\"\n            [dataLabelFormatting]=\"dataLabelFormatting\"\n            [seriesName]=\"group.name\"\n            [animations]=\"animations\"\n            [noBarWhenZero]=\"noBarWhenZero\"\n            (select)=\"onClick($event, group)\"\n            (activate)=\"onActivate($event, group)\"\n            (deactivate)=\"onDeactivate($event, group)\"\n            (dataLabelHeightChanged)=\"onDataLabelMaxHeightChanged($event, index)\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: '*'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BarVerticalStackedComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };
    var D0Types;

    (function (D0Types) {
      D0Types["positive"] = "positive";
      D0Types["negative"] = "negative";
    })(D0Types || (D0Types = {}));

    var SeriesVerticalComponent = /*#__PURE__*/function () {
      function SeriesVerticalComponent() {
        _classCallCheck(this, SeriesVerticalComponent);

        this.type = 'standard';
        this.tooltipDisabled = false;
        this.animations = true;
        this.showDataLabel = false;
        this.noBarWhenZero = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dataLabelHeightChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.barsForDataLabels = [];
      }

      _createClass(SeriesVerticalComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var _d3,
              _this54 = this;

          this.updateTooltipSettings();
          var width;

          if (this.series.length) {
            width = this.xScale.bandwidth();
          }

          width = Math.round(width);
          var yScaleMin = Math.max(this.yScale.domain()[0], 0);
          var d0 = (_d3 = {}, _defineProperty(_d3, D0Types.positive, 0), _defineProperty(_d3, D0Types.negative, 0), _d3);
          var d0Type = D0Types.positive;
          var total;

          if (this.type === 'normalized') {
            total = this.series.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return sum + d;
            }, 0);
          }

          this.bars = this.series.map(function (d, index) {
            var value = d.value;

            var label = _this54.getLabel(d);

            var formattedLabel = formatLabel(label);
            var roundEdges = _this54.roundEdges;
            d0Type = value > 0 ? D0Types.positive : D0Types.negative;
            var bar = {
              value: value,
              label: label,
              roundEdges: roundEdges,
              data: d,
              width: width,
              formattedLabel: formattedLabel,
              height: 0,
              x: 0,
              y: 0
            };

            if (_this54.type === 'standard') {
              bar.height = Math.abs(_this54.yScale(value) - _this54.yScale(yScaleMin));
              bar.x = _this54.xScale(label);

              if (value < 0) {
                bar.y = _this54.yScale(0);
              } else {
                bar.y = _this54.yScale(value);
              }
            } else if (_this54.type === 'stacked') {
              var offset0 = d0[d0Type];
              var offset1 = offset0 + value;
              d0[d0Type] += value;
              bar.height = _this54.yScale(offset0) - _this54.yScale(offset1);
              bar.x = 0;
              bar.y = _this54.yScale(offset1);
              bar.offset0 = offset0;
              bar.offset1 = offset1;
            } else if (_this54.type === 'normalized') {
              var _offset2 = d0[d0Type];

              var _offset3 = _offset2 + value;

              d0[d0Type] += value;

              if (total > 0) {
                _offset2 = _offset2 * 100 / total;
                _offset3 = _offset3 * 100 / total;
              } else {
                _offset2 = 0;
                _offset3 = 0;
              }

              bar.height = _this54.yScale(_offset2) - _this54.yScale(_offset3);
              bar.x = 0;
              bar.y = _this54.yScale(_offset3);
              bar.offset0 = _offset2;
              bar.offset1 = _offset3;
              value = (_offset3 - _offset2).toFixed(2) + '%';
            }

            if (_this54.colors.scaleType === 'ordinal') {
              bar.color = _this54.colors.getColor(label);
            } else {
              if (_this54.type === 'standard') {
                bar.color = _this54.colors.getColor(value);
                bar.gradientStops = _this54.colors.getLinearGradientStops(value);
              } else {
                bar.color = _this54.colors.getColor(bar.offset1);
                bar.gradientStops = _this54.colors.getLinearGradientStops(bar.offset1, bar.offset0);
              }
            }

            var tooltipLabel = formattedLabel;
            bar.ariaLabel = formattedLabel + ' ' + value.toLocaleString();

            if (_this54.seriesName) {
              tooltipLabel = "".concat(_this54.seriesName, " \u2022 ").concat(formattedLabel);
              bar.data.series = _this54.seriesName;
              bar.ariaLabel = _this54.seriesName + ' ' + bar.ariaLabel;
            }

            bar.tooltipText = _this54.tooltipDisabled ? undefined : "\n        <span class=\"tooltip-label\">".concat(escapeLabel(tooltipLabel), "</span>\n        <span class=\"tooltip-val\">").concat(_this54.dataLabelFormatting ? _this54.dataLabelFormatting(value) : value.toLocaleString(), "</span>\n      ");
            return bar;
          });
          this.updateDataLabels();
        }
      }, {
        key: "updateDataLabels",
        value: function updateDataLabels() {
          var _this55 = this;

          if (this.type === 'stacked') {
            this.barsForDataLabels = [];
            var section = {};
            section.series = this.seriesName;
            var totalPositive = this.series.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return d > 0 ? sum + d : sum;
            }, 0);
            var totalNegative = this.series.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return d < 0 ? sum + d : sum;
            }, 0);
            section.total = totalPositive + totalNegative;
            section.x = 0;
            section.y = 0;

            if (section.total > 0) {
              section.height = this.yScale(totalPositive);
            } else {
              section.height = this.yScale(totalNegative);
            }

            section.width = this.xScale.bandwidth();
            this.barsForDataLabels.push(section);
          } else {
            this.barsForDataLabels = this.series.map(function (d) {
              var section = {};
              section.series = _this55.seriesName ? _this55.seriesName : d.label;
              section.total = d.value;
              section.x = _this55.xScale(d.label);
              section.y = _this55.yScale(0);
              section.height = _this55.yScale(section.total) - _this55.yScale(0);
              section.width = _this55.xScale.bandwidth();
              return section;
            });
          }
        }
      }, {
        key: "updateTooltipSettings",
        value: function updateTooltipSettings() {
          this.tooltipPlacement = this.tooltipDisabled ? undefined : 'top';
          this.tooltipType = this.tooltipDisabled ? undefined : 'tooltip';
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name && entry.series === d.series;
          });
          return item !== undefined;
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "getLabel",
        value: function getLabel(dataItem) {
          if (dataItem.label) {
            return dataItem.label;
          }

          return dataItem.name;
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, bar) {
          return bar.label;
        }
      }, {
        key: "trackDataLabelBy",
        value: function trackDataLabelBy(index, barLabel) {
          return index + '#' + barLabel.series + '#' + barLabel.total;
        }
      }]);

      return SeriesVerticalComponent;
    }();

    SeriesVerticalComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-series-vertical]',
        template: "\n    <svg:g\n      ngx-charts-bar\n      *ngFor=\"let bar of bars; trackBy: trackBy\"\n      [@animationState]=\"'active'\"\n      [@.disabled]=\"!animations\"\n      [width]=\"bar.width\"\n      [height]=\"bar.height\"\n      [x]=\"bar.x\"\n      [y]=\"bar.y\"\n      [fill]=\"bar.color\"\n      [stops]=\"bar.gradientStops\"\n      [data]=\"bar.data\"\n      [orientation]=\"'vertical'\"\n      [roundEdges]=\"bar.roundEdges\"\n      [gradient]=\"gradient\"\n      [ariaLabel]=\"bar.ariaLabel\"\n      [isActive]=\"isActive(bar.data)\"\n      (select)=\"onClick($event)\"\n      (activate)=\"activate.emit($event)\"\n      (deactivate)=\"deactivate.emit($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"tooltipPlacement\"\n      [tooltipType]=\"tooltipType\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : bar.tooltipText\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"bar.data\"\n      [noBarWhenZero]=\"noBarWhenZero\"\n      [animations]=\"animations\"\n    ></svg:g>\n    <svg:g *ngIf=\"showDataLabel\">\n      <svg:g\n        ngx-charts-bar-label\n        *ngFor=\"let b of barsForDataLabels; let i = index; trackBy: trackDataLabelBy\"\n        [barX]=\"b.x\"\n        [barY]=\"b.y\"\n        [barWidth]=\"b.width\"\n        [barHeight]=\"b.height\"\n        [value]=\"b.total\"\n        [valueFormatting]=\"dataLabelFormatting\"\n        [orientation]=\"'vertical'\"\n        (dimensionsChanged)=\"dataLabelHeightChanged.emit({ size: $event, index: i })\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }))])])]
      }]
    }];
    SeriesVerticalComponent.propDecorators = {
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      type: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      series: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      seriesName: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      dataLabelHeightChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var SeriesHorizontal = /*#__PURE__*/function () {
      function SeriesHorizontal() {
        _classCallCheck(this, SeriesHorizontal);

        this.barsForDataLabels = [];
        this.type = 'standard';
        this.tooltipDisabled = false;
        this.animations = true;
        this.showDataLabel = false;
        this.noBarWhenZero = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dataLabelWidthChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(SeriesHorizontal, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var _d4,
              _this56 = this;

          this.updateTooltipSettings();
          var d0 = (_d4 = {}, _defineProperty(_d4, D0Types.positive, 0), _defineProperty(_d4, D0Types.negative, 0), _d4);
          var d0Type;
          d0Type = D0Types.positive;
          var total;

          if (this.type === 'normalized') {
            total = this.series.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return sum + d;
            }, 0);
          }

          var xScaleMin = Math.max(this.xScale.domain()[0], 0);
          this.bars = this.series.map(function (d, index) {
            var value = d.value;

            var label = _this56.getLabel(d);

            var formattedLabel = formatLabel(label);
            var roundEdges = _this56.roundEdges;
            d0Type = value > 0 ? D0Types.positive : D0Types.negative;
            var bar = {
              value: value,
              label: label,
              roundEdges: roundEdges,
              data: d,
              formattedLabel: formattedLabel
            };
            bar.height = _this56.yScale.bandwidth();

            if (_this56.type === 'standard') {
              bar.width = Math.abs(_this56.xScale(value) - _this56.xScale(xScaleMin));

              if (value < 0) {
                bar.x = _this56.xScale(value);
              } else {
                bar.x = _this56.xScale(xScaleMin);
              }

              bar.y = _this56.yScale(label);
            } else if (_this56.type === 'stacked') {
              var offset0 = d0[d0Type];
              var offset1 = offset0 + value;
              d0[d0Type] += value;
              bar.width = _this56.xScale(offset1) - _this56.xScale(offset0);
              bar.x = _this56.xScale(offset0);
              bar.y = 0;
              bar.offset0 = offset0;
              bar.offset1 = offset1;
            } else if (_this56.type === 'normalized') {
              var _offset4 = d0[d0Type];

              var _offset5 = _offset4 + value;

              d0[d0Type] += value;

              if (total > 0) {
                _offset4 = _offset4 * 100 / total;
                _offset5 = _offset5 * 100 / total;
              } else {
                _offset4 = 0;
                _offset5 = 0;
              }

              bar.width = _this56.xScale(_offset5) - _this56.xScale(_offset4);
              bar.x = _this56.xScale(_offset4);
              bar.y = 0;
              bar.offset0 = _offset4;
              bar.offset1 = _offset5;
              value = (_offset5 - _offset4).toFixed(2) + '%';
            }

            if (_this56.colors.scaleType === 'ordinal') {
              bar.color = _this56.colors.getColor(label);
            } else {
              if (_this56.type === 'standard') {
                bar.color = _this56.colors.getColor(value);
                bar.gradientStops = _this56.colors.getLinearGradientStops(value);
              } else {
                bar.color = _this56.colors.getColor(bar.offset1);
                bar.gradientStops = _this56.colors.getLinearGradientStops(bar.offset1, bar.offset0);
              }
            }

            var tooltipLabel = formattedLabel;
            bar.ariaLabel = formattedLabel + ' ' + value.toLocaleString();

            if (_this56.seriesName) {
              tooltipLabel = "".concat(_this56.seriesName, " \u2022 ").concat(formattedLabel);
              bar.data.series = _this56.seriesName;
              bar.ariaLabel = _this56.seriesName + ' ' + bar.ariaLabel;
            }

            bar.tooltipText = _this56.tooltipDisabled ? undefined : "\n        <span class=\"tooltip-label\">".concat(escapeLabel(tooltipLabel), "</span>\n        <span class=\"tooltip-val\">").concat(_this56.dataLabelFormatting ? _this56.dataLabelFormatting(value) : value.toLocaleString(), "</span>\n      ");
            return bar;
          });
          this.updateDataLabels();
        }
      }, {
        key: "updateDataLabels",
        value: function updateDataLabels() {
          var _this57 = this;

          if (this.type === 'stacked') {
            this.barsForDataLabels = [];
            var section = {};
            section.series = this.seriesName;
            var totalPositive = this.series.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return d > 0 ? sum + d : sum;
            }, 0);
            var totalNegative = this.series.map(function (d) {
              return d.value;
            }).reduce(function (sum, d) {
              return d < 0 ? sum + d : sum;
            }, 0);
            section.total = totalPositive + totalNegative;
            section.x = 0;
            section.y = 0; // if total is positive then we show it on the right, otherwise on the left

            if (section.total > 0) {
              section.width = this.xScale(totalPositive);
            } else {
              section.width = this.xScale(totalNegative);
            }

            section.height = this.yScale.bandwidth();
            this.barsForDataLabels.push(section);
          } else {
            this.barsForDataLabels = this.series.map(function (d) {
              var section = {};
              section.series = _this57.seriesName ? _this57.seriesName : d.label;
              section.total = d.value;
              section.x = _this57.xScale(0);
              section.y = _this57.yScale(d.label);
              section.width = _this57.xScale(section.total) - _this57.xScale(0);
              section.height = _this57.yScale.bandwidth();
              return section;
            });
          }
        }
      }, {
        key: "updateTooltipSettings",
        value: function updateTooltipSettings() {
          this.tooltipPlacement = this.tooltipDisabled ? undefined : 'top';
          this.tooltipType = this.tooltipDisabled ? undefined : 'tooltip';
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name && entry.series === d.series;
          });
          return item !== undefined;
        }
      }, {
        key: "getLabel",
        value: function getLabel(dataItem) {
          if (dataItem.label) {
            return dataItem.label;
          }

          return dataItem.name;
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, bar) {
          return bar.label;
        }
      }, {
        key: "trackDataLabelBy",
        value: function trackDataLabelBy(index, barLabel) {
          return index + '#' + barLabel.series + '#' + barLabel.total;
        }
      }, {
        key: "click",
        value: function click(data) {
          this.select.emit(data);
        }
      }]);

      return SeriesHorizontal;
    }();

    SeriesHorizontal.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-series-horizontal]',
        template: "\n    <svg:g\n      ngx-charts-bar\n      *ngFor=\"let bar of bars; trackBy: trackBy\"\n      [@animationState]=\"'active'\"\n      [width]=\"bar.width\"\n      [height]=\"bar.height\"\n      [x]=\"bar.x\"\n      [y]=\"bar.y\"\n      [fill]=\"bar.color\"\n      [stops]=\"bar.gradientStops\"\n      [data]=\"bar.data\"\n      [orientation]=\"'horizontal'\"\n      [roundEdges]=\"bar.roundEdges\"\n      (select)=\"click($event)\"\n      [gradient]=\"gradient\"\n      [isActive]=\"isActive(bar.data)\"\n      [ariaLabel]=\"bar.ariaLabel\"\n      [animations]=\"animations\"\n      (activate)=\"activate.emit($event)\"\n      (deactivate)=\"deactivate.emit($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"tooltipPlacement\"\n      [tooltipType]=\"tooltipType\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : bar.tooltipText\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"bar.data\"\n      [noBarWhenZero]=\"noBarWhenZero\"\n    ></svg:g>\n    <svg:g *ngIf=\"showDataLabel\">\n      <svg:g\n        ngx-charts-bar-label\n        *ngFor=\"let b of barsForDataLabels; let i = index; trackBy: trackDataLabelBy\"\n        [barX]=\"b.x\"\n        [barY]=\"b.y\"\n        [barWidth]=\"b.width\"\n        [barHeight]=\"b.height\"\n        [value]=\"b.total\"\n        [valueFormatting]=\"dataLabelFormatting\"\n        [orientation]=\"'horizontal'\"\n        (dimensionsChanged)=\"dataLabelWidthChanged.emit({ size: $event, index: i })\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }))])])]
      }]
    }];
    SeriesHorizontal.propDecorators = {
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      type: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      series: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      seriesName: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundEdges: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showDataLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dataLabelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      noBarWhenZero: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      dataLabelWidthChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var BarLabelComponent = /*#__PURE__*/function () {
      function BarLabelComponent(element) {
        _classCallCheck(this, BarLabelComponent);

        this.dimensionsChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.horizontalPadding = 2;
        this.verticalPadding = 5;
        this.element = element.nativeElement;
      }

      _createClass(BarLabelComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "getSize",
        value: function getSize() {
          var h = this.element.getBoundingClientRect().height;
          var w = this.element.getBoundingClientRect().width;
          return {
            height: h,
            width: w,
            negative: this.value < 0
          };
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          this.dimensionsChanged.emit(this.getSize());
        }
      }, {
        key: "update",
        value: function update() {
          if (this.valueFormatting) {
            this.formatedValue = this.valueFormatting(this.value);
          } else {
            this.formatedValue = formatLabel(this.value);
          }

          if (this.orientation === 'horizontal') {
            this.x = this.barX + this.barWidth; // if the value is negative then it's on the left of the x0.
            // we need to put the data label in front of the bar

            if (this.value < 0) {
              this.x = this.x - this.horizontalPadding;
              this.textAnchor = 'end';
            } else {
              this.x = this.x + this.horizontalPadding;
              this.textAnchor = 'start';
            }

            this.y = this.barY + this.barHeight / 2;
          } else {
            // orientation must be "vertical"
            this.x = this.barX + this.barWidth / 2;
            this.y = this.barY + this.barHeight;

            if (this.value < 0) {
              this.y = this.y + this.verticalPadding;
              this.textAnchor = 'end';
            } else {
              this.y = this.y - this.verticalPadding;
              this.textAnchor = 'start';
            }

            this.transform = "rotate(-45, ".concat(this.x, " , ").concat(this.y, ")");
          }
        }
      }]);

      return BarLabelComponent;
    }();

    BarLabelComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-bar-label]',
        template: "\n    <svg:text\n      class=\"textDataLabel\"\n      alignment-baseline=\"middle\"\n      [attr.text-anchor]=\"textAnchor\"\n      [attr.transform]=\"transform\"\n      [attr.x]=\"x\"\n      [attr.y]=\"y\"\n    >\n      {{ formatedValue }}\n    </svg:text>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".textDataLabel{font-size:11px}"]
      }]
    }];

    BarLabelComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    BarLabelComponent.propDecorators = {
      value: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barY: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      barHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      orientation: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dimensionsChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var BarChartModule = /*#__PURE__*/_createClass(function BarChartModule() {
      _classCallCheck(this, BarChartModule);
    });

    BarChartModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [BarComponent, BarHorizontalComponent, BarHorizontal2DComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarVerticalComponent, BarVertical2DComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BarLabelComponent, SeriesHorizontal, SeriesVerticalComponent],
        exports: [BarComponent, BarHorizontalComponent, BarHorizontal2DComponent, BarHorizontalNormalizedComponent, BarHorizontalStackedComponent, BarVerticalComponent, BarVertical2DComponent, BarVerticalNormalizedComponent, BarVerticalStackedComponent, BarLabelComponent, SeriesHorizontal, SeriesVerticalComponent]
      }]
    }];

    function getDomain(values, scaleType, autoScale, minVal, maxVal) {
      var domain = [];

      if (scaleType === 'linear') {
        values = values.map(function (v) {
          return Number(v);
        });

        if (!autoScale) {
          values.push(0);
        }
      }

      if (scaleType === 'time' || scaleType === 'linear') {
        var min = minVal ? minVal : Math.min.apply(Math, _toConsumableArray(values));
        var max = maxVal ? maxVal : Math.max.apply(Math, _toConsumableArray(values));
        domain = [min, max];
      } else {
        domain = values;
      }

      return domain;
    }

    function getScale(domain, range, scaleType, roundDomains) {
      var scale;

      if (scaleType === 'time') {
        scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range(range).domain(domain);
      } else if (scaleType === 'linear') {
        scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range(range).domain(domain);

        if (roundDomains) {
          scale = scale.nice();
        }
      } else if (scaleType === 'ordinal') {
        scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([range[0], range[1]]).domain(domain);
      }

      return scale;
    }

    var BubbleChartComponent = /*#__PURE__*/function (_BaseChartComponent12) {
      _inherits(BubbleChartComponent, _BaseChartComponent12);

      var _super23 = _createSuper(BubbleChartComponent);

      function BubbleChartComponent() {
        var _this58;

        _classCallCheck(this, BubbleChartComponent);

        _this58 = _super23.apply(this, arguments);
        _this58.showGridLines = true;
        _this58.legend = false;
        _this58.legendTitle = 'Legend';
        _this58.legendPosition = 'right';
        _this58.xAxis = true;
        _this58.yAxis = true;
        _this58.trimXAxisTicks = true;
        _this58.trimYAxisTicks = true;
        _this58.rotateXAxisTicks = true;
        _this58.maxXAxisTickLength = 16;
        _this58.maxYAxisTickLength = 16;
        _this58.roundDomains = false;
        _this58.maxRadius = 10;
        _this58.minRadius = 3;
        _this58.schemeType = 'ordinal';
        _this58.tooltipDisabled = false;
        _this58.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this58.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this58.scaleType = 'linear';
        _this58.margin = [10, 20, 10, 20];
        _this58.bubblePadding = [0, 0, 0, 0];
        _this58.xAxisHeight = 0;
        _this58.yAxisWidth = 0;
        _this58.activeEntries = [];
        return _this58;
      }

      _createClass(BubbleChartComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(BubbleChartComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          this.seriesDomain = this.results.map(function (d) {
            return d.name;
          });
          this.rDomain = this.getRDomain();
          this.xDomain = this.getXDomain();
          this.yDomain = this.getYDomain();
          this.transform = "translate(".concat(this.dims.xOffset, ",").concat(this.margin[0], ")");
          var colorDomain = this.schemeType === 'ordinal' ? this.seriesDomain : this.rDomain;
          this.colors = new ColorHelper(this.scheme, this.schemeType, colorDomain, this.customColors);
          this.data = this.results;
          this.minRadius = Math.max(this.minRadius, 1);
          this.maxRadius = Math.max(this.maxRadius, 1);
          this.rScale = this.getRScale(this.rDomain, [this.minRadius, this.maxRadius]);
          this.bubblePadding = [0, 0, 0, 0];
          this.setScales();
          this.bubblePadding = this.getBubblePadding();
          this.setScales();
          this.legendOptions = this.getLegendOptions();
          this.clipPathId = 'clip' + id().toString();
          this.clipPath = "url(#".concat(this.clipPathId, ")");
        }
      }, {
        key: "hideCircles",
        value: function hideCircles() {
          this.deactivateAll();
        }
      }, {
        key: "onClick",
        value: function onClick(data, series) {
          if (series) {
            data.series = series.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "getBubblePadding",
        value: function getBubblePadding() {
          var yMin = 0;
          var xMin = 0;
          var yMax = this.dims.height;
          var xMax = this.dims.width;

          var _iterator52 = _createForOfIteratorHelper(this.data),
              _step52;

          try {
            for (_iterator52.s(); !(_step52 = _iterator52.n()).done;) {
              var s = _step52.value;

              var _iterator53 = _createForOfIteratorHelper(s.series),
                  _step53;

              try {
                for (_iterator53.s(); !(_step53 = _iterator53.n()).done;) {
                  var d = _step53.value;
                  var r = this.rScale(d.r);
                  var cx = this.xScaleType === 'linear' ? this.xScale(Number(d.x)) : this.xScale(d.x);
                  var cy = this.yScaleType === 'linear' ? this.yScale(Number(d.y)) : this.yScale(d.y);
                  xMin = Math.max(r - cx, xMin);
                  yMin = Math.max(r - cy, yMin);
                  yMax = Math.max(cy + r, yMax);
                  xMax = Math.max(cx + r, xMax);
                }
              } catch (err) {
                _iterator53.e(err);
              } finally {
                _iterator53.f();
              }
            }
          } catch (err) {
            _iterator52.e(err);
          } finally {
            _iterator52.f();
          }

          xMax = Math.max(xMax - this.dims.width, 0);
          yMax = Math.max(yMax - this.dims.height, 0);
          return [yMin, xMax, yMax, xMin];
        }
      }, {
        key: "setScales",
        value: function setScales() {
          var width = this.dims.width;

          if (this.xScaleMin === undefined && this.xScaleMax === undefined) {
            width = width - this.bubblePadding[1];
          }

          var height = this.dims.height;

          if (this.yScaleMin === undefined && this.yScaleMax === undefined) {
            height = height - this.bubblePadding[2];
          }

          this.xScale = this.getXScale(this.xDomain, width);
          this.yScale = this.getYScale(this.yDomain, height);
        }
      }, {
        key: "getYScale",
        value: function getYScale(domain, height) {
          return getScale(domain, [height, this.bubblePadding[0]], this.yScaleType, this.roundDomains);
        }
      }, {
        key: "getXScale",
        value: function getXScale(domain, width) {
          return getScale(domain, [this.bubblePadding[3], width], this.xScaleType, this.roundDomains);
        }
      }, {
        key: "getRScale",
        value: function getRScale(domain, range) {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range(range).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            position: this.legendPosition,
            title: undefined
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.seriesDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.rDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = [];

          var _iterator54 = _createForOfIteratorHelper(this.results),
              _step54;

          try {
            for (_iterator54.s(); !(_step54 = _iterator54.n()).done;) {
              var results = _step54.value;

              var _iterator55 = _createForOfIteratorHelper(results.series),
                  _step55;

              try {
                for (_iterator55.s(); !(_step55 = _iterator55.n()).done;) {
                  var d = _step55.value;

                  if (!values.includes(d.x)) {
                    values.push(d.x);
                  }
                }
              } catch (err) {
                _iterator55.e(err);
              } finally {
                _iterator55.f();
              }
            }
          } catch (err) {
            _iterator54.e(err);
          } finally {
            _iterator54.f();
          }

          this.xScaleType = getScaleType(values);
          return getDomain(values, this.xScaleType, this.autoScale, this.xScaleMin, this.xScaleMax);
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var values = [];

          var _iterator56 = _createForOfIteratorHelper(this.results),
              _step56;

          try {
            for (_iterator56.s(); !(_step56 = _iterator56.n()).done;) {
              var results = _step56.value;

              var _iterator57 = _createForOfIteratorHelper(results.series),
                  _step57;

              try {
                for (_iterator57.s(); !(_step57 = _iterator57.n()).done;) {
                  var d = _step57.value;

                  if (!values.includes(d.y)) {
                    values.push(d.y);
                  }
                }
              } catch (err) {
                _iterator57.e(err);
              } finally {
                _iterator57.f();
              }
            }
          } catch (err) {
            _iterator56.e(err);
          } finally {
            _iterator56.f();
          }

          this.yScaleType = getScaleType(values);
          return getDomain(values, this.yScaleType, this.autoScale, this.yScaleMin, this.yScaleMax);
        }
      }, {
        key: "getRDomain",
        value: function getRDomain() {
          var min = Infinity;
          var max = -Infinity;

          var _iterator58 = _createForOfIteratorHelper(this.results),
              _step58;

          try {
            for (_iterator58.s(); !(_step58 = _iterator58.n()).done;) {
              var results = _step58.value;

              var _iterator59 = _createForOfIteratorHelper(results.series),
                  _step59;

              try {
                for (_iterator59.s(); !(_step59 = _iterator59.n()).done;) {
                  var d = _step59.value;
                  var value = Number(d.r) || 1;
                  min = Math.min(min, value);
                  max = Math.max(max, value);
                }
              } catch (err) {
                _iterator59.e(err);
              } finally {
                _iterator59.f();
              }
            }
          } catch (err) {
            _iterator58.e(err);
          } finally {
            _iterator58.f();
          }

          return [min, max];
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref31) {
          var width = _ref31.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref32) {
          var height = _ref32.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "deactivateAll",
        value: function deactivateAll() {
          this.activeEntries = _toConsumableArray(this.activeEntries);

          var _iterator60 = _createForOfIteratorHelper(this.activeEntries),
              _step60;

          try {
            for (_iterator60.s(); !(_step60 = _iterator60.n()).done;) {
              var entry = _step60.value;
              this.deactivate.emit({
                value: entry,
                entries: []
              });
            }
          } catch (err) {
            _iterator60.e(err);
          } finally {
            _iterator60.f();
          }

          this.activeEntries = [];
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }]);

      return BubbleChartComponent;
    }(BaseChartComponent);

    BubbleChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-bubble-chart',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [activeEntries]=\"activeEntries\"\n      [legendOptions]=\"legendOptions\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"bubble-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [showGridLines]=\"showGridLines\"\n          [dims]=\"dims\"\n          [xScale]=\"xScale\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        />\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [showGridLines]=\"showGridLines\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        />\n        <svg:rect\n          class=\"bubble-chart-area\"\n          x=\"0\"\n          y=\"0\"\n          [attr.width]=\"dims.width\"\n          [attr.height]=\"dims.height\"\n          style=\"fill: rgb(255, 0, 0); opacity: 0; cursor: 'auto';\"\n          (mouseenter)=\"deactivateAll()\"\n        />\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of data; trackBy: trackBy\" [@animationState]=\"'active'\">\n            <svg:g\n              ngx-charts-bubble-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [rScale]=\"rScale\"\n              [xScaleType]=\"xScaleType\"\n              [yScaleType]=\"yScaleType\"\n              [xAxisLabel]=\"xAxisLabel\"\n              [yAxisLabel]=\"yAxisLabel\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"tooltipTemplate\"\n              (select)=\"onClick($event, series)\"\n              (activate)=\"onActivate($event)\"\n              (deactivate)=\"onDeactivate($event)\"\n            />\n          </svg:g>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    BubbleChartComponent.propDecorators = {
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      minRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      autoScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      hideCircles: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var BubbleSeriesComponent = /*#__PURE__*/function () {
      function BubbleSeriesComponent() {
        _classCallCheck(this, BubbleSeriesComponent);

        this.tooltipDisabled = false;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(BubbleSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.circles = this.getCircles();
        }
      }, {
        key: "getCircles",
        value: function getCircles() {
          var _this59 = this;

          var seriesName = this.data.name;
          return this.data.series.map(function (d, i) {
            if (typeof d.y !== 'undefined' && typeof d.x !== 'undefined') {
              var y = d.y;
              var x = d.x;
              var r = d.r;

              var radius = _this59.rScale(r || 1);

              var tooltipLabel = formatLabel(d.name);
              var cx = _this59.xScaleType === 'linear' ? _this59.xScale(Number(x)) : _this59.xScale(x);
              var cy = _this59.yScaleType === 'linear' ? _this59.yScale(Number(y)) : _this59.yScale(y);
              var color = _this59.colors.scaleType === 'linear' ? _this59.colors.getColor(r) : _this59.colors.getColor(seriesName);
              var isActive = !_this59.activeEntries.length ? true : _this59.isActive({
                name: seriesName
              });
              var opacity = isActive ? 1 : 0.3;
              var data = Object.assign({}, d, {
                series: seriesName,
                name: d.name,
                value: d.y,
                x: d.x,
                radius: d.r
              });
              return {
                data: data,
                x: x,
                y: y,
                r: r,
                classNames: ["circle-data-".concat(i)],
                value: y,
                label: x,
                cx: cx,
                cy: cy,
                radius: radius,
                tooltipLabel: tooltipLabel,
                color: color,
                opacity: opacity,
                seriesName: seriesName,
                isActive: isActive,
                transform: "translate(".concat(cx, ",").concat(cy, ")")
              };
            }
          }).filter(function (circle) {
            return circle !== undefined;
          });
        }
      }, {
        key: "getTooltipText",
        value: function getTooltipText(circle) {
          var hasRadius = typeof circle.r !== 'undefined';
          var hasTooltipLabel = circle.tooltipLabel && circle.tooltipLabel.length;
          var hasSeriesName = circle.seriesName && circle.seriesName.length;
          var radiusValue = hasRadius ? formatLabel(circle.r) : '';
          var xAxisLabel = this.xAxisLabel && this.xAxisLabel !== '' ? "".concat(this.xAxisLabel, ":") : '';
          var yAxisLabel = this.yAxisLabel && this.yAxisLabel !== '' ? "".concat(this.yAxisLabel, ":") : '';
          var x = formatLabel(circle.x);
          var y = formatLabel(circle.y);
          var name = hasSeriesName && hasTooltipLabel ? "".concat(circle.seriesName, " \u2022 ").concat(circle.tooltipLabel) : circle.seriesName + circle.tooltipLabel;
          var tooltipTitle = hasSeriesName || hasTooltipLabel ? "<span class=\"tooltip-label\">".concat(escapeLabel(name), "</span>") : '';
          return "\n      ".concat(tooltipTitle, "\n      <span class=\"tooltip-label\">\n        <label>").concat(escapeLabel(xAxisLabel), "</label> ").concat(escapeLabel(x), "<br />\n        <label>").concat(escapeLabel(yAxisLabel), "</label> ").concat(escapeLabel(y), "\n      </span>\n      <span class=\"tooltip-val\">\n        ").concat(escapeLabel(radiusValue), "\n      </span>\n    ");
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item !== undefined;
        }
      }, {
        key: "isVisible",
        value: function isVisible(circle) {
          if (this.activeEntries.length > 0) {
            return this.isActive({
              name: circle.seriesName
            });
          }

          return circle.opacity !== 0;
        }
      }, {
        key: "activateCircle",
        value: function activateCircle(circle) {
          circle.barVisible = true;
          this.activate.emit({
            name: this.data.name
          });
        }
      }, {
        key: "deactivateCircle",
        value: function deactivateCircle(circle) {
          circle.barVisible = false;
          this.deactivate.emit({
            name: this.data.name
          });
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, circle) {
          return "".concat(circle.data.series, " ").concat(circle.data.name);
        }
      }]);

      return BubbleSeriesComponent;
    }();

    BubbleSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-bubble-series]',
        template: "\n    <svg:g *ngFor=\"let circle of circles; trackBy: trackBy\">\n      <svg:g [attr.transform]=\"circle.transform\">\n        <svg:g\n          ngx-charts-circle\n          [@animationState]=\"'active'\"\n          class=\"circle\"\n          [cx]=\"0\"\n          [cy]=\"0\"\n          [r]=\"circle.radius\"\n          [fill]=\"circle.color\"\n          [style.opacity]=\"circle.opacity\"\n          [class.active]=\"circle.isActive\"\n          [pointerEvents]=\"'all'\"\n          [data]=\"circle.value\"\n          [classNames]=\"circle.classNames\"\n          (select)=\"onClick(circle.data)\"\n          (activate)=\"activateCircle(circle)\"\n          (deactivate)=\"deactivateCircle(circle)\"\n          ngx-tooltip\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipPlacement]=\"'top'\"\n          [tooltipType]=\"'tooltip'\"\n          [tooltipTitle]=\"tooltipTemplate ? undefined : getTooltipText(circle)\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [tooltipContext]=\"circle.data\"\n        />\n      </svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0,
          transform: 'scale(0)'
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(250, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1,
          transform: 'scale(1)'
        }))])])]
      }]
    }];
    BubbleSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      visibleValue: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var BubbleChartModule = /*#__PURE__*/_createClass(function BubbleChartModule() {
      _classCallCheck(this, BubbleChartModule);
    });

    BubbleChartModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [BubbleChartComponent, BubbleSeriesComponent],
        exports: [BubbleChartComponent, BubbleSeriesComponent]
      }]
    }];

    var HeatMapCellComponent = /*#__PURE__*/function () {
      function HeatMapCellComponent(element) {
        _classCallCheck(this, HeatMapCellComponent);

        this.gradient = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.element = element.nativeElement;
      }

      _createClass(HeatMapCellComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.transform = "translate(".concat(this.x, " , ").concat(this.y, ")");
          this.startOpacity = 0.3;
          this.gradientId = 'grad' + id().toString();
          this.gradientUrl = "url(#".concat(this.gradientId, ")");
          this.gradientStops = this.getGradientStops();

          if (this.animations) {
            this.loadAnimation();
          }
        }
      }, {
        key: "getGradientStops",
        value: function getGradientStops() {
          return [{
            offset: 0,
            color: this.fill,
            opacity: this.startOpacity
          }, {
            offset: 100,
            color: this.fill,
            opacity: 1
          }];
        }
      }, {
        key: "loadAnimation",
        value: function loadAnimation() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');
          node.attr('opacity', 0);
          this.animateToCurrentForm();
        }
      }, {
        key: "animateToCurrentForm",
        value: function animateToCurrentForm() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');
          node.transition().duration(750).attr('opacity', 1);
        }
      }, {
        key: "onClick",
        value: function onClick() {
          this.select.emit(this.data);
        }
      }, {
        key: "onMouseEnter",
        value: function onMouseEnter() {
          this.activate.emit(this.data);
        }
      }, {
        key: "onMouseLeave",
        value: function onMouseLeave() {
          this.deactivate.emit(this.data);
        }
      }]);

      return HeatMapCellComponent;
    }();

    HeatMapCellComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-heat-map-cell]',
        template: "\n    <svg:g [attr.transform]=\"transform\" class=\"cell\">\n      <defs *ngIf=\"gradient\">\n        <svg:g ngx-charts-svg-linear-gradient orientation=\"vertical\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n      </defs>\n      <svg:rect\n        [attr.fill]=\"gradient ? gradientUrl : fill\"\n        rx=\"3\"\n        [attr.width]=\"width\"\n        [attr.height]=\"height\"\n        class=\"cell\"\n        style=\"cursor: pointer\"\n        (click)=\"onClick()\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    HeatMapCellComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    HeatMapCellComponent.propDecorators = {
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      x: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      y: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onMouseEnter: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseenter']
      }],
      onMouseLeave: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var HeatCellSeriesComponent = /*#__PURE__*/function () {
      function HeatCellSeriesComponent() {
        _classCallCheck(this, HeatCellSeriesComponent);

        this.tooltipDisabled = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(HeatCellSeriesComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          if (!this.tooltipText) {
            this.tooltipText = this.getTooltipText;
          }
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.cells = this.getCells();
        }
      }, {
        key: "getCells",
        value: function getCells() {
          var _this60 = this;

          var cells = [];
          this.data.map(function (row) {
            row.series.map(function (cell) {
              var value = cell.value;
              cell.series = row.name;
              cells.push({
                row: row,
                cell: cell,
                x: _this60.xScale(row.name),
                y: _this60.yScale(cell.name),
                width: _this60.xScale.bandwidth(),
                height: _this60.yScale.bandwidth(),
                fill: _this60.colors.getColor(value),
                data: value,
                label: formatLabel(cell.name),
                series: row.name
              });
            });
          });
          return cells;
        }
      }, {
        key: "getTooltipText",
        value: function getTooltipText(_ref33) {
          var label = _ref33.label,
              data = _ref33.data,
              series = _ref33.series;
          return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(series), " \u2022 ").concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(data.toLocaleString(), "</span>\n    ");
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.tooltipText;
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }]);

      return HeatCellSeriesComponent;
    }();

    HeatCellSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-heat-map-cell-series]',
        template: "\n    <svg:g\n      ngx-charts-heat-map-cell\n      *ngFor=\"let c of cells; trackBy: trackBy\"\n      [x]=\"c.x\"\n      [y]=\"c.y\"\n      [width]=\"c.width\"\n      [height]=\"c.height\"\n      [fill]=\"c.fill\"\n      [data]=\"c.data\"\n      (select)=\"onClick(c.cell)\"\n      (activate)=\"activate.emit(c.cell)\"\n      (deactivate)=\"deactivate.emit(c.cell)\"\n      [gradient]=\"gradient\"\n      [animations]=\"animations\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"'top'\"\n      [tooltipType]=\"'tooltip'\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText(c)\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"{ series: c.series, name: c.label, value: c.data }\"\n    ></svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    HeatCellSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var HeatMapComponent = /*#__PURE__*/function (_BaseChartComponent13) {
      _inherits(HeatMapComponent, _BaseChartComponent13);

      var _super24 = _createSuper(HeatMapComponent);

      function HeatMapComponent() {
        var _this61;

        _classCallCheck(this, HeatMapComponent);

        _this61 = _super24.apply(this, arguments);
        _this61.legendTitle = 'Legend';
        _this61.legendPosition = 'right';
        _this61.innerPadding = 8;
        _this61.trimXAxisTicks = true;
        _this61.trimYAxisTicks = true;
        _this61.rotateXAxisTicks = true;
        _this61.maxXAxisTickLength = 16;
        _this61.maxYAxisTickLength = 16;
        _this61.tooltipDisabled = false;
        _this61.activeEntries = [];
        _this61.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this61.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this61.margin = [10, 20, 10, 20];
        _this61.xAxisHeight = 0;
        _this61.yAxisWidth = 0;
        _this61.scaleType = 'linear';
        return _this61;
      }

      _createClass(HeatMapComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(HeatMapComponent.prototype), "update", this).call(this);

          this.formatDates();
          this.xDomain = this.getXDomain();
          this.yDomain = this.getYDomain();
          this.valueDomain = this.getValueDomain();
          this.scaleType = getScaleType(this.valueDomain, false);
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.scaleType,
            legendPosition: this.legendPosition
          });

          if (this.scaleType === 'linear') {
            var min = this.min;
            var max = this.max;

            if (!this.min) {
              min = Math.min.apply(Math, [0].concat(_toConsumableArray(this.valueDomain)));
            }

            if (!this.max) {
              max = Math.max.apply(Math, _toConsumableArray(this.valueDomain));
            }

            this.valueDomain = [min, max];
          }

          this.xScale = this.getXScale();
          this.yScale = this.getYScale();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          this.rects = this.getRects();
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var domain = [];

          var _iterator61 = _createForOfIteratorHelper(this.results),
              _step61;

          try {
            for (_iterator61.s(); !(_step61 = _iterator61.n()).done;) {
              var group = _step61.value;

              if (!domain.includes(group.name)) {
                domain.push(group.name);
              }
            }
          } catch (err) {
            _iterator61.e(err);
          } finally {
            _iterator61.f();
          }

          return domain;
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var domain = [];

          var _iterator62 = _createForOfIteratorHelper(this.results),
              _step62;

          try {
            for (_iterator62.s(); !(_step62 = _iterator62.n()).done;) {
              var group = _step62.value;

              var _iterator63 = _createForOfIteratorHelper(group.series),
                  _step63;

              try {
                for (_iterator63.s(); !(_step63 = _iterator63.n()).done;) {
                  var d = _step63.value;

                  if (!domain.includes(d.name)) {
                    domain.push(d.name);
                  }
                }
              } catch (err) {
                _iterator63.e(err);
              } finally {
                _iterator63.f();
              }
            }
          } catch (err) {
            _iterator62.e(err);
          } finally {
            _iterator62.f();
          }

          return domain;
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          var domain = [];

          var _iterator64 = _createForOfIteratorHelper(this.results),
              _step64;

          try {
            for (_iterator64.s(); !(_step64 = _iterator64.n()).done;) {
              var group = _step64.value;

              var _iterator65 = _createForOfIteratorHelper(group.series),
                  _step65;

              try {
                for (_iterator65.s(); !(_step65 = _iterator65.n()).done;) {
                  var d = _step65.value;

                  if (!domain.includes(d.value)) {
                    domain.push(d.value);
                  }
                }
              } catch (err) {
                _iterator65.e(err);
              } finally {
                _iterator65.f();
              }
            }
          } catch (err) {
            _iterator64.e(err);
          } finally {
            _iterator64.f();
          }

          return domain;
        }
        /**
         * Converts the input to gap paddingInner in fraction
         * Supports the following inputs:
         *    Numbers: 8
         *    Strings: "8", "8px", "8%"
         *    Arrays: [8,2], "8,2", "[8,2]"
         *    Mixed: [8,"2%"], ["8px","2%"], "8,2%", "[8,2%]"
         *
         * @memberOf HeatMapComponent
         */

      }, {
        key: "getDimension",
        value: function getDimension(value) {
          var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
          var N = arguments.length > 2 ? arguments[2] : undefined;
          var L = arguments.length > 3 ? arguments[3] : undefined;

          if (typeof value === 'string') {
            value = value.replace('[', '').replace(']', '').replace('px', '') // tslint:disable-next-line: quotemark
            .replace("'", '');

            if (value.includes(',')) {
              value = value.split(',');
            }
          }

          if (Array.isArray(value) && typeof index === 'number') {
            return this.getDimension(value[index], null, N, L);
          }

          if (typeof value === 'string' && value.includes('%')) {
            return +value.replace('%', '') / 100;
          }

          return N / (L / +value + 1);
        }
      }, {
        key: "getXScale",
        value: function getXScale() {
          var f = this.getDimension(this.innerPadding, 0, this.xDomain.length, this.dims.width);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([0, this.dims.width]).domain(this.xDomain).paddingInner(f);
        }
      }, {
        key: "getYScale",
        value: function getYScale() {
          var f = this.getDimension(this.innerPadding, 1, this.yDomain.length, this.dims.height);
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])().rangeRound([this.dims.height, 0]).domain(this.yDomain).paddingInner(f);
        }
      }, {
        key: "getRects",
        value: function getRects() {
          var _this62 = this;

          var rects = [];
          this.xDomain.map(function (xVal) {
            _this62.yDomain.map(function (yVal) {
              rects.push({
                x: _this62.xScale(xVal),
                y: _this62.yScale(yVal),
                rx: 3,
                width: _this62.xScale.bandwidth(),
                height: _this62.yScale.bandwidth(),
                fill: 'rgba(200,200,200,0.03)'
              });
            });
          });
          return rects;
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, this.scaleType, this.valueDomain);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          return {
            scaleType: this.scaleType,
            domain: this.valueDomain,
            colors: this.scaleType === 'ordinal' ? this.colors : this.colors.scale,
            title: this.scaleType === 'ordinal' ? this.legendTitle : undefined,
            position: this.legendPosition
          };
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref34) {
          var width = _ref34.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref35) {
          var height = _ref35.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          var items = this.results.map(function (g) {
            return g.series;
          }).flat().filter(function (i) {
            if (fromLegend) {
              return i.label === item.name;
            } else {
              return i.name === item.name && i.series === item.series;
            }
          });
          this.activeEntries = _toConsumableArray(items);
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(event, group) {
          var fromLegend = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
          var item = Object.assign({}, event);

          if (group) {
            item.series = group.name;
          }

          this.activeEntries = this.activeEntries.filter(function (i) {
            if (fromLegend) {
              return i.label !== item.name;
            } else {
              return !(i.name === item.name && i.series === item.series);
            }
          });
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return HeatMapComponent;
    }(BaseChartComponent);

    HeatMapComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-heat-map',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [animations]=\"animations\"\n      [legendOptions]=\"legendOptions\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"heat-map chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:rect\n          *ngFor=\"let rect of rects\"\n          [attr.x]=\"rect.x\"\n          [attr.y]=\"rect.y\"\n          [attr.rx]=\"rect.rx\"\n          [attr.width]=\"rect.width\"\n          [attr.height]=\"rect.height\"\n          [attr.fill]=\"rect.fill\"\n        />\n        <svg:g\n          ngx-charts-heat-map-cell-series\n          [xScale]=\"xScale\"\n          [yScale]=\"yScale\"\n          [colors]=\"colors\"\n          [data]=\"results\"\n          [gradient]=\"gradient\"\n          [animations]=\"animations\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [tooltipText]=\"tooltipText\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event, undefined)\"\n          (deactivate)=\"onDeactivate($event, undefined)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    HeatMapComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      min: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      max: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var HeatMapModule = /*#__PURE__*/_createClass(function HeatMapModule() {
      _classCallCheck(this, HeatMapModule);
    });

    HeatMapModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [HeatMapCellComponent, HeatCellSeriesComponent, HeatMapComponent],
        exports: [HeatMapCellComponent, HeatCellSeriesComponent, HeatMapComponent]
      }]
    }];

    var LineComponent = /*#__PURE__*/function () {
      function LineComponent(element) {
        _classCallCheck(this, LineComponent);

        this.element = element;
        this.fill = 'none';
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.initialized = false;
      }

      _createClass(LineComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          if (!this.initialized) {
            this.initialized = true;
            this.initialPath = this.path;
          } else {
            this.updatePathEl();
          }
        }
      }, {
        key: "updatePathEl",
        value: function updatePathEl() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element.nativeElement).select('.line');

          if (this.animations) {
            node.transition().duration(750).attr('d', this.path);
          } else {
            node.attr('d', this.path);
          }
        }
      }]);

      return LineComponent;
    }();

    LineComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-line]',
        template: "\n    <svg:path\n      [@animationState]=\"'active'\"\n      class=\"line\"\n      [attr.d]=\"initialPath\"\n      [attr.fill]=\"fill\"\n      [attr.stroke]=\"stroke\"\n      stroke-width=\"1.5px\"\n    />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':enter', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          strokeDasharray: 2000,
          strokeDashoffset: 2000
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(1000, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          strokeDashoffset: 0
        }))])])]
      }]
    }];

    LineComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    LineComponent.propDecorators = {
      path: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      stroke: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var LineChartComponent = /*#__PURE__*/function (_BaseChartComponent14) {
      _inherits(LineChartComponent, _BaseChartComponent14);

      var _super25 = _createSuper(LineChartComponent);

      function LineChartComponent() {
        var _this63;

        _classCallCheck(this, LineChartComponent);

        _this63 = _super25.apply(this, arguments);
        _this63.legendTitle = 'Legend';
        _this63.legendPosition = 'right';
        _this63.showGridLines = true;
        _this63.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveLinear"];
        _this63.activeEntries = [];
        _this63.trimXAxisTicks = true;
        _this63.trimYAxisTicks = true;
        _this63.rotateXAxisTicks = true;
        _this63.maxXAxisTickLength = 16;
        _this63.maxYAxisTickLength = 16;
        _this63.roundDomains = false;
        _this63.tooltipDisabled = false;
        _this63.showRefLines = false;
        _this63.showRefLabels = true;
        _this63.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this63.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this63.margin = [10, 20, 10, 20];
        _this63.xAxisHeight = 0;
        _this63.yAxisWidth = 0;
        _this63.timelineHeight = 50;
        _this63.timelinePadding = 10;
        return _this63;
      }

      _createClass(LineChartComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(LineChartComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });

          if (this.timeline) {
            this.dims.height -= this.timelineHeight + this.margin[2] + this.timelinePadding;
          }

          this.xDomain = this.getXDomain();

          if (this.filteredDomain) {
            this.xDomain = this.filteredDomain;
          }

          this.yDomain = this.getYDomain();
          this.seriesDomain = this.getSeriesDomain();
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
          this.yScale = this.getYScale(this.yDomain, this.dims.height);
          this.updateTimeline();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          this.clipPathId = 'clip' + id().toString();
          this.clipPath = "url(#".concat(this.clipPathId, ")");
        }
      }, {
        key: "updateTimeline",
        value: function updateTimeline() {
          if (this.timeline) {
            this.timelineWidth = this.dims.width;
            this.timelineXDomain = this.getXDomain();
            this.timelineXScale = this.getXScale(this.timelineXDomain, this.timelineWidth);
            this.timelineYScale = this.getYScale(this.yDomain, this.timelineHeight);
            this.timelineTransform = "translate(".concat(this.dims.xOffset, ", ").concat(-this.margin[2], ")");
          }
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = getUniqueXDomainValues(this.results);
          this.scaleType = getScaleType(values);
          var domain = [];

          if (this.scaleType === 'linear') {
            values = values.map(function (v) {
              return Number(v);
            });
          }

          var min;
          var max;

          if (this.scaleType === 'time' || this.scaleType === 'linear') {
            min = this.xScaleMin ? this.xScaleMin : Math.min.apply(Math, _toConsumableArray(values));
            max = this.xScaleMax ? this.xScaleMax : Math.max.apply(Math, _toConsumableArray(values));
          }

          if (this.scaleType === 'time') {
            domain = [new Date(min), new Date(max)];
            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              var aDate = a.getTime();
              var bDate = b.getTime();
              if (aDate > bDate) return 1;
              if (bDate > aDate) return -1;
              return 0;
            });
          } else if (this.scaleType === 'linear') {
            domain = [min, max]; // Use compare function to sort numbers numerically

            this.xSet = _toConsumableArray(values).sort(function (a, b) {
              return a - b;
            });
          } else {
            domain = values;
            this.xSet = values;
          }

          return domain;
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var domain = [];

          var _iterator66 = _createForOfIteratorHelper(this.results),
              _step66;

          try {
            for (_iterator66.s(); !(_step66 = _iterator66.n()).done;) {
              var results = _step66.value;

              var _iterator67 = _createForOfIteratorHelper(results.series),
                  _step67;

              try {
                for (_iterator67.s(); !(_step67 = _iterator67.n()).done;) {
                  var d = _step67.value;

                  if (domain.indexOf(d.value) < 0) {
                    domain.push(d.value);
                  }

                  if (d.min !== undefined) {
                    this.hasRange = true;

                    if (domain.indexOf(d.min) < 0) {
                      domain.push(d.min);
                    }
                  }

                  if (d.max !== undefined) {
                    this.hasRange = true;

                    if (domain.indexOf(d.max) < 0) {
                      domain.push(d.max);
                    }
                  }
                }
              } catch (err) {
                _iterator67.e(err);
              } finally {
                _iterator67.f();
              }
            }
          } catch (err) {
            _iterator66.e(err);
          } finally {
            _iterator66.f();
          }

          var values = [].concat(domain);

          if (!this.autoScale) {
            values.push(0);
          }

          var min = this.yScaleMin ? this.yScaleMin : Math.min.apply(Math, _toConsumableArray(values));
          var max = this.yScaleMax ? this.yScaleMax : Math.max.apply(Math, _toConsumableArray(values));
          return [min, max];
        }
      }, {
        key: "getSeriesDomain",
        value: function getSeriesDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "getXScale",
        value: function getXScale(domain, width) {
          var scale;

          if (this.scaleType === 'time') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range([0, width]).domain(domain);
          } else if (this.scaleType === 'linear') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, width]).domain(domain);

            if (this.roundDomains) {
              scale = scale.nice();
            }
          } else if (this.scaleType === 'ordinal') {
            scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([0, width]).padding(0.1).domain(domain);
          }

          return scale;
        }
      }, {
        key: "getYScale",
        value: function getYScale(domain, height) {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([height, 0]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "updateDomain",
        value: function updateDomain(domain) {
          this.filteredDomain = domain;
          this.xDomain = this.filteredDomain;
          this.xScale = this.getXScale(this.xDomain, this.dims.width);
        }
      }, {
        key: "updateHoveredVertical",
        value: function updateHoveredVertical(item) {
          this.hoveredVertical = item.value;
          this.deactivateAll();
        }
      }, {
        key: "hideCircles",
        value: function hideCircles() {
          this.hoveredVertical = null;
          this.deactivateAll();
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain;

          if (this.schemeType === 'ordinal') {
            domain = this.seriesDomain;
          } else {
            domain = this.yDomain;
          }

          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          var opts = {
            scaleType: this.schemeType,
            colors: undefined,
            domain: [],
            title: undefined,
            position: this.legendPosition
          };

          if (opts.scaleType === 'ordinal') {
            opts.domain = this.seriesDomain;
            opts.colors = this.colors;
            opts.title = this.legendTitle;
          } else {
            opts.domain = this.yDomain;
            opts.colors = this.colors.scale;
          }

          return opts;
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref36) {
          var width = _ref36.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref37) {
          var height = _ref37.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          this.deactivateAll();
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item];
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "deactivateAll",
        value: function deactivateAll() {
          this.activeEntries = _toConsumableArray(this.activeEntries);

          var _iterator68 = _createForOfIteratorHelper(this.activeEntries),
              _step68;

          try {
            for (_iterator68.s(); !(_step68 = _iterator68.n()).done;) {
              var entry = _step68.value;
              this.deactivate.emit({
                value: entry,
                entries: []
              });
            }
          } catch (err) {
            _iterator68.e(err);
          } finally {
            _iterator68.f();
          }

          this.activeEntries = [];
        }
      }]);

      return LineChartComponent;
    }(BaseChartComponent);

    LineChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-line-chart',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:defs>\n        <svg:clipPath [attr.id]=\"clipPathId\">\n          <svg:rect\n            [attr.width]=\"dims.width + 10\"\n            [attr.height]=\"dims.height + 10\"\n            [attr.transform]=\"'translate(-5, -5)'\"\n          />\n        </svg:clipPath>\n      </svg:defs>\n      <svg:g [attr.transform]=\"transform\" class=\"line-chart chart\">\n        <svg:g\n          ngx-charts-x-axis\n          *ngIf=\"xAxis\"\n          [xScale]=\"xScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showXAxisLabel\"\n          [labelText]=\"xAxisLabel\"\n          [trimTicks]=\"trimXAxisTicks\"\n          [rotateTicks]=\"rotateXAxisTicks\"\n          [maxTickLength]=\"maxXAxisTickLength\"\n          [tickFormatting]=\"xAxisTickFormatting\"\n          [ticks]=\"xAxisTicks\"\n          (dimensionsChanged)=\"updateXAxisHeight($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          *ngIf=\"yAxis\"\n          [yScale]=\"yScale\"\n          [dims]=\"dims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          [ticks]=\"yAxisTicks\"\n          [referenceLines]=\"referenceLines\"\n          [showRefLines]=\"showRefLines\"\n          [showRefLabels]=\"showRefLabels\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g [attr.clip-path]=\"clipPath\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\" [@animationState]=\"'active'\">\n            <svg:g\n              ngx-charts-line-series\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [scaleType]=\"scaleType\"\n              [curve]=\"curve\"\n              [rangeFillOpacity]=\"rangeFillOpacity\"\n              [hasRange]=\"hasRange\"\n              [animations]=\"animations\"\n            />\n          </svg:g>\n\n          <svg:g *ngIf=\"!tooltipDisabled\" (mouseleave)=\"hideCircles()\">\n            <svg:g\n              ngx-charts-tooltip-area\n              [dims]=\"dims\"\n              [xSet]=\"xSet\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [results]=\"results\"\n              [colors]=\"colors\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"seriesTooltipTemplate\"\n              (hover)=\"updateHoveredVertical($event)\"\n            />\n\n            <svg:g *ngFor=\"let series of results\">\n              <svg:g\n                ngx-charts-circle-series\n                [xScale]=\"xScale\"\n                [yScale]=\"yScale\"\n                [colors]=\"colors\"\n                [data]=\"series\"\n                [scaleType]=\"scaleType\"\n                [visibleValue]=\"hoveredVertical\"\n                [activeEntries]=\"activeEntries\"\n                [tooltipDisabled]=\"tooltipDisabled\"\n                [tooltipTemplate]=\"tooltipTemplate\"\n                (select)=\"onClick($event)\"\n                (activate)=\"onActivate($event)\"\n                (deactivate)=\"onDeactivate($event)\"\n              />\n            </svg:g>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n      <svg:g\n        ngx-charts-timeline\n        *ngIf=\"timeline && scaleType != 'ordinal'\"\n        [attr.transform]=\"timelineTransform\"\n        [results]=\"results\"\n        [view]=\"[timelineWidth, height]\"\n        [height]=\"timelineHeight\"\n        [scheme]=\"scheme\"\n        [customColors]=\"customColors\"\n        [scaleType]=\"scaleType\"\n        [legend]=\"legend\"\n        (onDomainChange)=\"updateDomain($event)\"\n      >\n        <svg:g *ngFor=\"let series of results; trackBy: trackBy\">\n          <svg:g\n            ngx-charts-line-series\n            [xScale]=\"timelineXScale\"\n            [yScale]=\"timelineYScale\"\n            [colors]=\"colors\"\n            [data]=\"series\"\n            [scaleType]=\"scaleType\"\n            [curve]=\"curve\"\n            [hasRange]=\"hasRange\"\n            [animations]=\"animations\"\n          />\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"]
      }]
    }];
    LineChartComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      autoScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      timeline: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rangeFillOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rotateXAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxXAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showRefLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      referenceLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showRefLabels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScaleMax: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      seriesTooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['seriesTooltipTemplate']
      }],
      hideCircles: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseleave']
      }]
    };

    var LineSeriesComponent = /*#__PURE__*/function () {
      function LineSeriesComponent() {
        _classCallCheck(this, LineSeriesComponent);

        this.animations = true;
      }

      _createClass(LineSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.updateGradients();
          var data = this.sortData(this.data.series);
          var lineGen = this.getLineGenerator();
          this.path = lineGen(data) || '';
          var areaGen = this.getAreaGenerator();
          this.areaPath = areaGen(data) || '';

          if (this.hasRange) {
            var range = this.getRangeGenerator();
            this.outerPath = range(data) || '';
          }

          if (this.hasGradient) {
            this.stroke = this.gradientUrl;
            var values = this.data.series.map(function (d) {
              return d.value;
            });
            var max = Math.max.apply(Math, _toConsumableArray(values));
            var min = Math.min.apply(Math, _toConsumableArray(values));

            if (max === min) {
              this.stroke = this.colors.getColor(max);
            }
          } else {
            this.stroke = this.colors.getColor(this.data.name);
          }
        }
      }, {
        key: "getLineGenerator",
        value: function getLineGenerator() {
          var _this64 = this;

          return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["line"])().x(function (d) {
            var label = d.name;
            var value;

            if (_this64.scaleType === 'time') {
              value = _this64.xScale(label);
            } else if (_this64.scaleType === 'linear') {
              value = _this64.xScale(Number(label));
            } else {
              value = _this64.xScale(label);
            }

            return value;
          }).y(function (d) {
            return _this64.yScale(d.value);
          }).curve(this.curve);
        }
      }, {
        key: "getRangeGenerator",
        value: function getRangeGenerator() {
          var _this65 = this;

          return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(function (d) {
            var label = d.name;
            var value;

            if (_this65.scaleType === 'time') {
              value = _this65.xScale(label);
            } else if (_this65.scaleType === 'linear') {
              value = _this65.xScale(Number(label));
            } else {
              value = _this65.xScale(label);
            }

            return value;
          }).y0(function (d) {
            return _this65.yScale(typeof d.min === 'number' ? d.min : d.value);
          }).y1(function (d) {
            return _this65.yScale(typeof d.max === 'number' ? d.max : d.value);
          }).curve(this.curve);
        }
      }, {
        key: "getAreaGenerator",
        value: function getAreaGenerator() {
          var _this66 = this;

          var xProperty = function xProperty(d) {
            var label = d.name;
            return _this66.xScale(label);
          };

          return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["area"])().x(xProperty).y0(function () {
            return _this66.yScale.range()[0];
          }).y1(function (d) {
            return _this66.yScale(d.value);
          }).curve(this.curve);
        }
      }, {
        key: "sortData",
        value: function sortData(data) {
          if (this.scaleType === 'linear') {
            data = sortLinear(data, 'name');
          } else if (this.scaleType === 'time') {
            data = sortByTime(data, 'name');
          } else {
            data = sortByDomain(data, 'name', 'asc', this.xScale.domain());
          }

          return data;
        }
      }, {
        key: "updateGradients",
        value: function updateGradients() {
          if (this.colors.scaleType === 'linear') {
            this.hasGradient = true;
            this.gradientId = 'grad' + id().toString();
            this.gradientUrl = "url(#".concat(this.gradientId, ")");
            var values = this.data.series.map(function (d) {
              return d.value;
            });
            var max = Math.max.apply(Math, _toConsumableArray(values));
            var min = Math.min.apply(Math, _toConsumableArray(values));
            this.gradientStops = this.colors.getLinearGradientStops(max, min);
            this.areaGradientStops = this.colors.getLinearGradientStops(max);
          } else {
            this.hasGradient = false;
            this.gradientStops = undefined;
            this.areaGradientStops = undefined;
          }
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item !== undefined;
        }
      }, {
        key: "isInactive",
        value: function isInactive(entry) {
          if (!this.activeEntries || this.activeEntries.length === 0) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item === undefined;
        }
      }]);

      return LineSeriesComponent;
    }();

    LineSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-line-series]',
        template: "\n    <svg:g>\n      <defs>\n        <svg:g\n          ngx-charts-svg-linear-gradient\n          *ngIf=\"hasGradient\"\n          orientation=\"vertical\"\n          [name]=\"gradientId\"\n          [stops]=\"gradientStops\"\n        />\n      </defs>\n      <svg:g\n        ngx-charts-area\n        class=\"line-highlight\"\n        [data]=\"data\"\n        [path]=\"areaPath\"\n        [fill]=\"hasGradient ? gradientUrl : colors.getColor(data.name)\"\n        [opacity]=\"0.25\"\n        [startOpacity]=\"0\"\n        [gradient]=\"true\"\n        [stops]=\"areaGradientStops\"\n        [class.active]=\"isActive(data)\"\n        [class.inactive]=\"isInactive(data)\"\n        [animations]=\"animations\"\n      />\n      <svg:g\n        ngx-charts-line\n        class=\"line-series\"\n        [data]=\"data\"\n        [path]=\"path\"\n        [stroke]=\"stroke\"\n        [animations]=\"animations\"\n        [class.active]=\"isActive(data)\"\n        [class.inactive]=\"isInactive(data)\"\n      />\n      <svg:g\n        ngx-charts-area\n        *ngIf=\"hasRange\"\n        class=\"line-series-range\"\n        [data]=\"data\"\n        [path]=\"outerPath\"\n        [fill]=\"hasGradient ? gradientUrl : colors.getColor(data.name)\"\n        [class.active]=\"isActive(data)\"\n        [class.inactive]=\"isInactive(data)\"\n        [opacity]=\"rangeFillOpacity\"\n        [animations]=\"animations\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    LineSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rangeFillOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      hasRange: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var LineChartModule = /*#__PURE__*/_createClass(function LineChartModule() {
      _classCallCheck(this, LineChartModule);
    });

    LineChartModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [LineComponent, LineChartComponent, LineSeriesComponent],
        exports: [LineComponent, LineChartComponent, LineSeriesComponent]
      }]
    }];

    function isDate(value) {
      return toString.call(value) === '[object Date]';
    }

    function isNumber(value) {
      return typeof value === 'number';
    }

    var twoPI = 2 * Math.PI;

    var PolarChartComponent = /*#__PURE__*/function (_BaseChartComponent15) {
      _inherits(PolarChartComponent, _BaseChartComponent15);

      var _super26 = _createSuper(PolarChartComponent);

      function PolarChartComponent() {
        var _this67;

        _classCallCheck(this, PolarChartComponent);

        _this67 = _super26.apply(this, arguments);
        _this67.legendTitle = 'Legend';
        _this67.legendPosition = 'right';
        _this67.showGridLines = true;
        _this67.curve = d3_shape__WEBPACK_IMPORTED_MODULE_11__["curveCardinalClosed"];
        _this67.activeEntries = [];
        _this67.rangeFillOpacity = 0.15;
        _this67.trimYAxisTicks = true;
        _this67.maxYAxisTickLength = 16;
        _this67.roundDomains = false;
        _this67.tooltipDisabled = false;
        _this67.showSeriesOnHover = true;
        _this67.gradient = false;
        _this67.yAxisMinScale = 0;
        _this67.labelTrim = true;
        _this67.labelTrimSize = 10;
        _this67.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this67.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this67.margin = [10, 20, 10, 20];
        _this67.xAxisHeight = 0;
        _this67.yAxisWidth = 0;
        return _this67;
      }

      _createClass(PolarChartComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(PolarChartComponent.prototype), "update", this).call(this);

          this.setDims();
          this.setScales();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          this.setTicks();
        }
      }, {
        key: "setDims",
        value: function setDims() {
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showXAxis: this.xAxis,
            showYAxis: this.yAxis,
            xAxisHeight: this.xAxisHeight,
            yAxisWidth: this.yAxisWidth,
            showXLabel: this.showXAxisLabel,
            showYLabel: this.showYAxisLabel,
            showLegend: this.legend,
            legendType: this.schemeType,
            legendPosition: this.legendPosition
          });
          var halfWidth = Math.floor(this.dims.width / 2);
          var halfHeight = Math.floor(this.dims.height / 2);
          var outerRadius = this.outerRadius = Math.min(halfHeight / 1.5, halfWidth / 1.5);
          var yOffset = Math.max(0, halfHeight - outerRadius);
          this.yAxisDims = Object.assign(Object.assign({}, this.dims), {
            width: halfWidth
          });
          this.transform = "translate(".concat(this.dims.xOffset, ", ").concat(this.margin[0], ")");
          this.transformYAxis = "translate(0, ".concat(yOffset, ")");
          this.labelOffset = this.dims.height + 40;
          this.transformPlot = "translate(".concat(halfWidth, ", ").concat(halfHeight, ")");
        }
      }, {
        key: "setScales",
        value: function setScales() {
          var xValues = this.getXValues();
          this.scaleType = getScaleType(xValues);
          this.xDomain = this.filteredDomain || this.getXDomain(xValues);
          this.yDomain = this.getYDomain();
          this.seriesDomain = this.getSeriesDomain();
          this.xScale = this.getXScale(this.xDomain, twoPI);
          this.yScale = this.getYScale(this.yDomain, this.outerRadius);
          this.yAxisScale = this.getYScale(this.yDomain.reverse(), this.outerRadius);
        }
      }, {
        key: "setTicks",
        value: function setTicks() {
          var _this68 = this;

          var tickFormat;

          if (this.xAxisTickFormatting) {
            tickFormat = this.xAxisTickFormatting;
          } else if (this.xScale.tickFormat) {
            tickFormat = this.xScale.tickFormat.apply(this.xScale, [5]);
          } else {
            tickFormat = function tickFormat(d) {
              if (isDate(d)) {
                return d.toLocaleDateString();
              }

              return d.toLocaleString();
            };
          }

          var outerRadius = this.outerRadius;
          var s = 1.1;
          this.thetaTicks = this.xDomain.map(function (d) {
            var startAngle = _this68.xScale(d);

            var dd = s * outerRadius * (startAngle > Math.PI ? -1 : 1);
            var label = tickFormat(d);
            var startPos = [outerRadius * Math.sin(startAngle), -outerRadius * Math.cos(startAngle)];
            var pos = [dd, s * startPos[1]];
            return {
              innerRadius: 0,
              outerRadius: outerRadius,
              startAngle: startAngle,
              endAngle: startAngle,
              value: outerRadius,
              label: label,
              startPos: startPos,
              pos: pos
            };
          });
          var minDistance = 10;
          /* from pie chart, abstract out -*/

          for (var _i18 = 0; _i18 < this.thetaTicks.length - 1; _i18++) {
            var a = this.thetaTicks[_i18];

            for (var j = _i18 + 1; j < this.thetaTicks.length; j++) {
              var b = this.thetaTicks[j]; // if they're on the same side

              if (b.pos[0] * a.pos[0] > 0) {
                // if they're overlapping
                var o = minDistance - Math.abs(b.pos[1] - a.pos[1]);

                if (o > 0) {
                  // push the second up or down
                  b.pos[1] += Math.sign(b.pos[0]) * o;
                }
              }
            }
          }

          this.radiusTicks = this.yAxisScale.ticks(Math.floor(this.dims.height / 50)).map(function (d) {
            return _this68.yScale(d);
          });
        }
      }, {
        key: "getXValues",
        value: function getXValues() {
          var values = [];

          var _iterator69 = _createForOfIteratorHelper(this.results),
              _step69;

          try {
            for (_iterator69.s(); !(_step69 = _iterator69.n()).done;) {
              var results = _step69.value;

              var _iterator70 = _createForOfIteratorHelper(results.series),
                  _step70;

              try {
                for (_iterator70.s(); !(_step70 = _iterator70.n()).done;) {
                  var d = _step70.value;

                  if (!values.includes(d.name)) {
                    values.push(d.name);
                  }
                }
              } catch (err) {
                _iterator70.e(err);
              } finally {
                _iterator70.f();
              }
            }
          } catch (err) {
            _iterator69.e(err);
          } finally {
            _iterator69.f();
          }

          return values;
        }
      }, {
        key: "getXDomain",
        value: function getXDomain() {
          var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.getXValues();

          if (this.scaleType === 'time') {
            var min = Math.min.apply(Math, _toConsumableArray(values));
            var max = Math.max.apply(Math, _toConsumableArray(values));
            return [min, max];
          } else if (this.scaleType === 'linear') {
            values = values.map(function (v) {
              return Number(v);
            });

            var _min3 = Math.min.apply(Math, _toConsumableArray(values));

            var _max4 = Math.max.apply(Math, _toConsumableArray(values));

            return [_min3, _max4];
          }

          return values;
        }
      }, {
        key: "getYValues",
        value: function getYValues() {
          var domain = [];

          var _iterator71 = _createForOfIteratorHelper(this.results),
              _step71;

          try {
            for (_iterator71.s(); !(_step71 = _iterator71.n()).done;) {
              var results = _step71.value;

              var _iterator72 = _createForOfIteratorHelper(results.series),
                  _step72;

              try {
                for (_iterator72.s(); !(_step72 = _iterator72.n()).done;) {
                  var d = _step72.value;

                  if (domain.indexOf(d.value) < 0) {
                    domain.push(d.value);
                  }

                  if (d.min !== undefined) {
                    if (domain.indexOf(d.min) < 0) {
                      domain.push(d.min);
                    }
                  }

                  if (d.max !== undefined) {
                    if (domain.indexOf(d.max) < 0) {
                      domain.push(d.max);
                    }
                  }
                }
              } catch (err) {
                _iterator72.e(err);
              } finally {
                _iterator72.f();
              }
            }
          } catch (err) {
            _iterator71.e(err);
          } finally {
            _iterator71.f();
          }

          return domain;
        }
      }, {
        key: "getYDomain",
        value: function getYDomain() {
          var domain = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.getYValues();
          var min = Math.min.apply(Math, _toConsumableArray(domain));
          var max = Math.max.apply(Math, [this.yAxisMinScale].concat(_toConsumableArray(domain)));
          min = Math.max(0, min);

          if (!this.autoScale) {
            min = Math.min(0, min);
          }

          return [min, max];
        }
      }, {
        key: "getSeriesDomain",
        value: function getSeriesDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "getXScale",
        value: function getXScale(domain, width) {
          switch (this.scaleType) {
            case 'time':
              return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleTime"])().range([0, width]).domain(domain);

            case 'linear':
              var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, width]).domain(domain);
              return this.roundDomains ? scale.nice() : scale;

            default:
              return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scalePoint"])().range([0, width - twoPI / domain.length]).padding(0).domain(domain);
          }
        }
      }, {
        key: "getYScale",
        value: function getYScale(domain, height) {
          var scale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, height]).domain(domain);
          return this.roundDomains ? scale.nice() : scale;
        }
      }, {
        key: "onClick",
        value: function onClick(data, series) {
          if (series) {
            data.series = series.name;
          }

          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          var domain = this.schemeType === 'ordinal' ? this.seriesDomain : this.yDomain.reverse();
          this.colors = new ColorHelper(this.scheme, this.schemeType, domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          if (this.schemeType === 'ordinal') {
            return {
              scaleType: this.schemeType,
              colors: this.colors,
              domain: this.seriesDomain,
              title: this.legendTitle,
              position: this.legendPosition
            };
          }

          return {
            scaleType: this.schemeType,
            colors: this.colors.scale,
            domain: this.yDomain,
            title: undefined,
            position: this.legendPosition
          };
        }
      }, {
        key: "updateYAxisWidth",
        value: function updateYAxisWidth(_ref38) {
          var width = _ref38.width;
          this.yAxisWidth = width;
          this.update();
        }
      }, {
        key: "updateXAxisHeight",
        value: function updateXAxisHeight(_ref39) {
          var height = _ref39.height;
          this.xAxisHeight = height;
          this.update();
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = this.showSeriesOnHover ? [item].concat(_toConsumableArray(this.activeEntries)) : this.activeEntries;
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "deactivateAll",
        value: function deactivateAll() {
          this.activeEntries = _toConsumableArray(this.activeEntries);

          var _iterator73 = _createForOfIteratorHelper(this.activeEntries),
              _step73;

          try {
            for (_iterator73.s(); !(_step73 = _iterator73.n()).done;) {
              var entry = _step73.value;
              this.deactivate.emit({
                value: entry,
                entries: []
              });
            }
          } catch (err) {
            _iterator73.e(err);
          } finally {
            _iterator73.f();
          }

          this.activeEntries = [];
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.name;
        }
      }]);

      return PolarChartComponent;
    }(BaseChartComponent);

    PolarChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-polar-chart',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:g class=\"polar-chart chart\" [attr.transform]=\"transform\">\n        <svg:g [attr.transform]=\"transformPlot\">\n          <svg:circle class=\"polar-chart-background\" cx=\"0\" cy=\"0\" [attr.r]=\"this.outerRadius\" />\n          <svg:g *ngIf=\"showGridLines\">\n            <svg:circle\n              *ngFor=\"let r of radiusTicks\"\n              class=\"gridline-path radial-gridline-path\"\n              cx=\"0\"\n              cy=\"0\"\n              [attr.r]=\"r\"\n            />\n          </svg:g>\n          <svg:g *ngIf=\"xAxis\">\n            <svg:g\n              ngx-charts-pie-label\n              *ngFor=\"let tick of thetaTicks\"\n              [data]=\"tick\"\n              [radius]=\"outerRadius\"\n              [label]=\"tick.label\"\n              [max]=\"outerRadius\"\n              [value]=\"showGridLines ? 1 : outerRadius\"\n              [explodeSlices]=\"true\"\n              [animations]=\"animations\"\n              [labelTrim]=\"labelTrim\"\n              [labelTrimSize]=\"labelTrimSize\"\n            ></svg:g>\n          </svg:g>\n        </svg:g>\n        <svg:g\n          ngx-charts-y-axis\n          [attr.transform]=\"transformYAxis\"\n          *ngIf=\"yAxis\"\n          [yScale]=\"yAxisScale\"\n          [dims]=\"yAxisDims\"\n          [showGridLines]=\"showGridLines\"\n          [showLabel]=\"showYAxisLabel\"\n          [labelText]=\"yAxisLabel\"\n          [trimTicks]=\"trimYAxisTicks\"\n          [maxTickLength]=\"maxYAxisTickLength\"\n          [tickFormatting]=\"yAxisTickFormatting\"\n          (dimensionsChanged)=\"updateYAxisWidth($event)\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-axis-label\n          *ngIf=\"xAxis && showXAxisLabel\"\n          [label]=\"xAxisLabel\"\n          [offset]=\"labelOffset\"\n          [orient]=\"'bottom'\"\n          [height]=\"dims.height\"\n          [width]=\"dims.width\"\n        ></svg:g>\n        <svg:g [attr.transform]=\"transformPlot\">\n          <svg:g *ngFor=\"let series of results; trackBy: trackBy\" [@animationState]=\"'active'\">\n            <svg:g\n              ngx-charts-polar-series\n              [gradient]=\"gradient\"\n              [xScale]=\"xScale\"\n              [yScale]=\"yScale\"\n              [colors]=\"colors\"\n              [data]=\"series\"\n              [activeEntries]=\"activeEntries\"\n              [scaleType]=\"scaleType\"\n              [curve]=\"curve\"\n              [rangeFillOpacity]=\"rangeFillOpacity\"\n              [animations]=\"animations\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"tooltipTemplate\"\n              (select)=\"onClick($event)\"\n              (activate)=\"onActivate($event)\"\n              (deactivate)=\"onDeactivate($event)\"\n            />\n          </svg:g>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        animations: [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["trigger"])('animationState', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["transition"])(':leave', [Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 1
        }), Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["animate"])(500, Object(_angular_animations__WEBPACK_IMPORTED_MODULE_2__["style"])({
          opacity: 0
        }))])])],
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}", ".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{fill:none;stroke-dasharray:10 10}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}"]
      }]
    }];
    PolarChartComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showXAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showYAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisLabel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      autoScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showGridLines: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      schemeType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rangeFillOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimYAxisTicks: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxYAxisTickLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      roundDomains: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showSeriesOnHover: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yAxisMinScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelTrim: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelTrimSize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var PolarSeriesComponent = /*#__PURE__*/function () {
      function PolarSeriesComponent() {
        _classCallCheck(this, PolarSeriesComponent);

        this.tooltipDisabled = false;
        this.gradient = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.circleRadius = 3;
      }

      _createClass(PolarSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var _this69 = this;

          this.updateGradients();
          var line = this.getLineGenerator();
          var data = this.sortData(this.data.series);
          var seriesName = this.data.name;
          var linearScaleType = this.colors.scaleType === 'linear';
          var min = this.yScale.domain()[0];
          this.seriesColor = this.colors.getColor(linearScaleType ? min : seriesName);
          this.path = line(data) || '';
          this.circles = data.map(function (d) {
            var a = _this69.getAngle(d);

            var r = _this69.getRadius(d);

            var value = d.value;

            var color = _this69.colors.getColor(linearScaleType ? Math.abs(value) : seriesName);

            var cData = Object.assign({}, d, {
              series: seriesName,
              value: value,
              name: d.name
            });
            return {
              data: cData,
              cx: r * Math.sin(a),
              cy: -r * Math.cos(a),
              value: value,
              color: color,
              label: d.name
            };
          });
          this.active = this.isActive(this.data);
          this.inactive = this.isInactive(this.data);

          this.tooltipText = this.tooltipText || function (c) {
            return _this69.defaultTooltipText(c);
          };
        }
      }, {
        key: "getAngle",
        value: function getAngle(d) {
          var label = d.name;

          if (this.scaleType === 'time') {
            return this.xScale(label);
          } else if (this.scaleType === 'linear') {
            return this.xScale(Number(label));
          }

          return this.xScale(label);
        }
      }, {
        key: "getRadius",
        value: function getRadius(d) {
          return this.yScale(d.value);
        }
      }, {
        key: "getLineGenerator",
        value: function getLineGenerator() {
          var _this70 = this;

          return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["lineRadial"])().angle(function (d) {
            return _this70.getAngle(d);
          }).radius(function (d) {
            return _this70.getRadius(d);
          }).curve(this.curve);
        }
      }, {
        key: "sortData",
        value: function sortData(data) {
          if (this.scaleType === 'linear') {
            return sortLinear(data, 'name');
          } else if (this.scaleType === 'time') {
            return sortByTime(data, 'name');
          }

          return sortByDomain(data, 'name', 'asc', this.xScale.domain());
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item !== undefined;
        }
      }, {
        key: "isInactive",
        value: function isInactive(entry) {
          if (!this.activeEntries || this.activeEntries.length === 0) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name;
          });
          return item === undefined;
        }
      }, {
        key: "defaultTooltipText",
        value: function defaultTooltipText(_ref40) {
          var label = _ref40.label,
              value = _ref40.value;
          return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(this.data.name), " \u2022 ").concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(value.toLocaleString(), "</span>\n    ");
        }
      }, {
        key: "updateGradients",
        value: function updateGradients() {
          this.hasGradient = this.gradient || this.colors.scaleType === 'linear';

          if (!this.hasGradient) {
            return;
          }

          this.gradientId = 'grad' + id().toString();
          this.gradientUrl = "url(#".concat(this.gradientId, ")");

          if (this.colors.scaleType === 'linear') {
            var values = this.data.series.map(function (d) {
              return d.value;
            });
            var max = Math.max.apply(Math, _toConsumableArray(values));
            var min = Math.min.apply(Math, _toConsumableArray(values));
            this.gradientStops = this.colors.getLinearGradientStops(max, min);
          } else {
            this.gradientStops = undefined;
          }
        }
      }]);

      return PolarSeriesComponent;
    }();

    PolarSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-polar-series]',
        template: "\n    <svg:g class=\"polar-charts-series\">\n      <defs>\n        <svg:g\n          ngx-charts-svg-radial-gradient\n          *ngIf=\"hasGradient\"\n          orientation=\"vertical\"\n          [color]=\"seriesColor\"\n          [name]=\"gradientId\"\n          [startOpacity]=\"0.25\"\n          [endOpacity]=\"1\"\n          [stops]=\"gradientStops\"\n        />\n      </defs>\n      <svg:g\n        ngx-charts-line\n        class=\"polar-series-path\"\n        [path]=\"path\"\n        [stroke]=\"hasGradient ? gradientUrl : seriesColor\"\n        [class.active]=\"active\"\n        [class.inactive]=\"inactive\"\n        [attr.fill-opacity]=\"rangeFillOpacity\"\n        [fill]=\"hasGradient ? gradientUrl : seriesColor\"\n        [animations]=\"animations\"\n      />\n      <svg:g\n        ngx-charts-circle\n        *ngFor=\"let circle of circles\"\n        class=\"circle\"\n        [cx]=\"circle.cx\"\n        [cy]=\"circle.cy\"\n        [r]=\"circleRadius\"\n        [fill]=\"circle.color\"\n        [style.opacity]=\"inactive ? 0.2 : 1\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'top'\"\n        tooltipType=\"tooltip\"\n        [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText(circle)\"\n        [tooltipTemplate]=\"tooltipTemplate\"\n        [tooltipContext]=\"circle.data\"\n        (select)=\"select.emit(circle.data)\"\n        (activate)=\"activate.emit({ name: circle.data.series })\"\n        (deactivate)=\"deactivate.emit({ name: circle.data.series })\"\n      ></svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    PolarSeriesComponent.propDecorators = {
      name: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      xScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      yScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scaleType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      curve: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rangeFillOpacity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var AdvancedPieChartComponent = /*#__PURE__*/function (_BaseChartComponent16) {
      _inherits(AdvancedPieChartComponent, _BaseChartComponent16);

      var _super27 = _createSuper(AdvancedPieChartComponent);

      function AdvancedPieChartComponent() {
        var _this71;

        _classCallCheck(this, AdvancedPieChartComponent);

        _this71 = _super27.apply(this, arguments);
        _this71.activeEntries = [];
        _this71.tooltipDisabled = false;
        _this71.label = 'Total';
        _this71.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this71.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this71.margin = [20, 20, 20, 20];
        return _this71;
      }

      _createClass(AdvancedPieChartComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(AdvancedPieChartComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width * 4 / 12.0,
            height: this.height,
            margins: this.margin
          });
          this.formatDates();
          this.domain = this.getDomain();
          this.setColors();
          var xOffset = this.dims.width / 2;
          var yOffset = this.margin[0] + this.dims.height / 2;
          this.legendWidth = this.width - this.dims.width - this.margin[1];
          this.outerRadius = Math.min(this.dims.width, this.dims.height) / 2.5;
          this.innerRadius = this.outerRadius * 0.75;
          this.transform = "translate(".concat(xOffset, " , ").concat(yOffset, ")");
        }
      }, {
        key: "getDomain",
        value: function getDomain() {
          return this.results.map(function (d) {
            return d.label;
          });
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return AdvancedPieChartComponent;
    }(BaseChartComponent);

    AdvancedPieChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-advanced-pie-chart',
        template: "\n    <div [style.width.px]=\"width\" [style.height.px]=\"height\">\n      <div class=\"advanced-pie chart\" [style.width.px]=\"dims.width\" [style.height.px]=\"dims.height\">\n        <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n          <svg:g [attr.transform]=\"transform\" class=\"pie chart\">\n            <svg:g\n              ngx-charts-pie-series\n              [colors]=\"colors\"\n              [series]=\"results\"\n              [innerRadius]=\"innerRadius\"\n              [activeEntries]=\"activeEntries\"\n              [outerRadius]=\"outerRadius\"\n              [gradient]=\"gradient\"\n              [tooltipDisabled]=\"tooltipDisabled\"\n              [tooltipTemplate]=\"tooltipTemplate\"\n              [tooltipText]=\"tooltipText\"\n              (select)=\"onClick($event)\"\n              (activate)=\"onActivate($event)\"\n              (deactivate)=\"onDeactivate($event)\"\n              [animations]=\"animations\"\n            ></svg:g>\n          </svg:g>\n        </ngx-charts-chart>\n      </div>\n      <div class=\"advanced-pie-legend-wrapper\" [style.width.px]=\"width - dims.width\" [style.height.px]=\"height\">\n        <ngx-charts-advanced-legend\n          [data]=\"results\"\n          [colors]=\"colors\"\n          [width]=\"width - dims.width - margin[1]\"\n          [label]=\"label\"\n          [animations]=\"animations\"\n          [valueFormatting]=\"valueFormatting\"\n          [labelFormatting]=\"nameFormatting\"\n          [percentageFormatting]=\"percentageFormatting\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event, true)\"\n          (deactivate)=\"onDeactivate($event, true)\"\n        >\n        </ngx-charts-advanced-legend>\n      </div>\n    </div>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".advanced-pie{float:left}.advanced-pie,.advanced-pie-legend-wrapper{display:inline-block}"]
      }]
    }];
    AdvancedPieChartComponent.propDecorators = {
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      nameFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      percentageFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var PieLabelComponent = /*#__PURE__*/function () {
      function PieLabelComponent() {
        _classCallCheck(this, PieLabelComponent);

        this.animations = true;
        this.labelTrim = true;
        this.labelTrimSize = 10;
        this.isIE = /(edge|msie|trident)/i.test(navigator.userAgent);
        this.trimLabel = trimLabel;
      }

      _createClass(PieLabelComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var startRadius = this.radius;

          if (this.explodeSlices) {
            startRadius = this.radius * this.value / this.max;
          }

          var innerArc = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["arc"])().innerRadius(startRadius).outerRadius(startRadius); // Calculate innerPos then scale outer position to match label position

          var innerPos = innerArc.centroid(this.data);
          var scale = this.data.pos[1] / innerPos[1];

          if (this.data.pos[1] === 0 || innerPos[1] === 0) {
            scale = 1;
          }

          var outerPos = [scale * innerPos[0], scale * innerPos[1]];
          this.line = "M".concat(innerPos, "L").concat(outerPos, "L").concat(this.data.pos);
        }
      }, {
        key: "textX",
        get: function get() {
          return this.data.pos[0];
        }
      }, {
        key: "textY",
        get: function get() {
          return this.data.pos[1];
        }
      }, {
        key: "styleTransform",
        get: function get() {
          return this.isIE ? null : "translate3d(".concat(this.textX, "px,").concat(this.textY, "px, 0)");
        }
      }, {
        key: "attrTransform",
        get: function get() {
          return !this.isIE ? null : "translate(".concat(this.textX, ",").concat(this.textY, ")");
        }
      }, {
        key: "textTransition",
        get: function get() {
          return this.isIE || !this.animations ? null : 'transform 0.75s';
        }
      }, {
        key: "textAnchor",
        value: function textAnchor() {
          return this.midAngle(this.data) < Math.PI ? 'start' : 'end';
        }
      }, {
        key: "midAngle",
        value: function midAngle(d) {
          return d.startAngle + (d.endAngle - d.startAngle) / 2;
        }
      }]);

      return PieLabelComponent;
    }();

    PieLabelComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-pie-label]',
        template: "\n    <title>{{ label }}</title>\n    <svg:g [attr.transform]=\"attrTransform\" [style.transform]=\"styleTransform\" [style.transition]=\"textTransition\">\n      <svg:text\n        class=\"pie-label\"\n        [class.animation]=\"animations\"\n        dy=\".35em\"\n        [style.textAnchor]=\"textAnchor()\"\n        [style.shapeRendering]=\"'crispEdges'\"\n      >\n        {{ labelTrim ? trimLabel(label, labelTrimSize) : label }}\n      </svg:text>\n    </svg:g>\n    <svg:path\n      [attr.d]=\"line\"\n      [attr.stroke]=\"color\"\n      fill=\"none\"\n      class=\"pie-label-line line\"\n      [class.animation]=\"animations\"\n    ></svg:path>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    PieLabelComponent.ctorParameters = function () {
      return [];
    };

    PieLabelComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      radius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      color: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      max: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      value: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      explodeSlices: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelTrim: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelTrimSize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var PieArcComponent = /*#__PURE__*/function () {
      function PieArcComponent(element) {
        _classCallCheck(this, PieArcComponent);

        this.startAngle = 0;
        this.endAngle = Math.PI * 2;
        this.cornerRadius = 0;
        this.explodeSlices = false;
        this.gradient = false;
        this.animate = true;
        this.pointerEvents = true;
        this.isActive = false;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dblclick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.initialized = false;
        this.element = element.nativeElement;
      }

      _createClass(PieArcComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "getGradient",
        value: function getGradient() {
          return this.gradient ? this.gradientFill : this.fill;
        }
      }, {
        key: "getPointerEvents",
        value: function getPointerEvents() {
          return this.pointerEvents ? 'auto' : 'none';
        }
      }, {
        key: "update",
        value: function update() {
          var calc = this.calculateArc();
          this.startOpacity = 0.5;
          this.radialGradientId = 'linearGrad' + id().toString();
          this.gradientFill = "url(#".concat(this.radialGradientId, ")");

          if (this.animate) {
            if (this.initialized) {
              this.updateAnimation();
            } else {
              this.loadAnimation();
              this.initialized = true;
            }
          } else {
            this.path = calc.startAngle(this.startAngle).endAngle(this.endAngle)();
          }
        }
      }, {
        key: "calculateArc",
        value: function calculateArc() {
          var outerRadius = this.outerRadius;

          if (this.explodeSlices && this.innerRadius === 0) {
            outerRadius = this.outerRadius * this.value / this.max;
          }

          return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["arc"])().innerRadius(this.innerRadius).outerRadius(outerRadius).cornerRadius(this.cornerRadius);
        }
      }, {
        key: "loadAnimation",
        value: function loadAnimation() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).selectAll('.arc').data([{
            startAngle: this.startAngle,
            endAngle: this.endAngle
          }]);
          var calc = this.calculateArc();
          node.transition().attrTween('d', function (d) {
            this._current = this._current || d;
            var copyOfD = Object.assign({}, d);
            copyOfD.endAngle = copyOfD.startAngle;
            var interpolater = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_13__["interpolate"])(copyOfD, copyOfD);
            this._current = interpolater(0);
            return function (t) {
              return calc(interpolater(t));
            };
          }).transition().duration(750).attrTween('d', function (d) {
            this._current = this._current || d;
            var interpolater = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_13__["interpolate"])(this._current, d);
            this._current = interpolater(0);
            return function (t) {
              return calc(interpolater(t));
            };
          });
        }
      }, {
        key: "updateAnimation",
        value: function updateAnimation() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).selectAll('.arc').data([{
            startAngle: this.startAngle,
            endAngle: this.endAngle
          }]);
          var calc = this.calculateArc();
          node.transition().duration(750).attrTween('d', function (d) {
            this._current = this._current || d;
            var interpolater = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_13__["interpolate"])(this._current, d);
            this._current = interpolater(0);
            return function (t) {
              return calc(interpolater(t));
            };
          });
        }
      }, {
        key: "onClick",
        value: function onClick() {
          var _this72 = this;

          clearTimeout(this._timeout);
          this._timeout = setTimeout(function () {
            return _this72.select.emit(_this72.data);
          }, 200);
        }
      }, {
        key: "onDblClick",
        value: function onDblClick(event) {
          event.preventDefault();
          event.stopPropagation();
          clearTimeout(this._timeout);
          this.dblclick.emit({
            data: this.data,
            nativeEvent: event
          });
        }
      }]);

      return PieArcComponent;
    }();

    PieArcComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-pie-arc]',
        template: "\n    <svg:g class=\"arc-group\">\n      <svg:defs *ngIf=\"gradient\">\n        <svg:g\n          ngx-charts-svg-radial-gradient\n          [color]=\"fill\"\n          orientation=\"vertical\"\n          [name]=\"radialGradientId\"\n          [startOpacity]=\"startOpacity\"\n        />\n      </svg:defs>\n      <svg:path\n        [attr.d]=\"path\"\n        class=\"arc\"\n        [class.active]=\"isActive\"\n        [attr.fill]=\"getGradient()\"\n        (click)=\"onClick()\"\n        (dblclick)=\"onDblClick($event)\"\n        (mouseenter)=\"activate.emit(data)\"\n        (mouseleave)=\"deactivate.emit(data)\"\n        [style.pointer-events]=\"getPointerEvents()\"\n      />\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    PieArcComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    PieArcComponent.propDecorators = {
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      startAngle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      endAngle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      outerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cornerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      value: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      max: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      explodeSlices: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pointerEvents: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isActive: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      dblclick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var PieChartComponent = /*#__PURE__*/function (_BaseChartComponent17) {
      _inherits(PieChartComponent, _BaseChartComponent17);

      var _super28 = _createSuper(PieChartComponent);

      function PieChartComponent() {
        var _this73;

        _classCallCheck(this, PieChartComponent);

        _this73 = _super28.apply(this, arguments);
        _this73.labels = false;
        _this73.legend = false;
        _this73.legendTitle = 'Legend';
        _this73.legendPosition = 'right';
        _this73.explodeSlices = false;
        _this73.doughnut = false;
        _this73.arcWidth = 0.25;
        _this73.activeEntries = [];
        _this73.tooltipDisabled = false;
        _this73.trimLabels = true;
        _this73.maxLabelLength = 10;
        _this73.dblclick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this73.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this73.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this73.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        return _this73;
      }

      _createClass(PieChartComponent, [{
        key: "update",
        value: function update() {
          var _this74 = this;

          _get(_getPrototypeOf(PieChartComponent.prototype), "update", this).call(this);

          if (this.labels && this.hasNoOptionalMarginsSet()) {
            this.margins = [30, 80, 30, 80];
          } else if (!this.labels && this.hasNoOptionalMarginsSet()) {
            // default value for margins
            this.margins = [20, 20, 20, 20];
          }

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margins,
            showLegend: this.legend,
            legendPosition: this.legendPosition
          });
          this.formatDates();
          var xOffset = this.margins[3] + this.dims.width / 2;
          var yOffset = this.margins[0] + this.dims.height / 2;
          this.translation = "translate(".concat(xOffset, ", ").concat(yOffset, ")");
          this.outerRadius = Math.min(this.dims.width, this.dims.height);

          if (this.labels) {
            // make room for labels
            this.outerRadius /= 3;
          } else {
            this.outerRadius /= 2;
          }

          this.innerRadius = 0;

          if (this.doughnut) {
            this.innerRadius = this.outerRadius * (1 - this.arcWidth);
          }

          this.domain = this.getDomain(); // sort data according to domain

          this.data = this.results.sort(function (a, b) {
            return _this74.domain.indexOf(a.name) - _this74.domain.indexOf(b.name);
          });
          this.setColors();
          this.legendOptions = this.getLegendOptions();
        }
      }, {
        key: "getDomain",
        value: function getDomain() {
          return this.results.map(function (d) {
            return d.label;
          });
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          return {
            scaleType: 'ordinal',
            domain: this.domain,
            colors: this.colors,
            title: this.legendTitle,
            position: this.legendPosition
          };
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "hasNoOptionalMarginsSet",
        value: function hasNoOptionalMarginsSet() {
          return !this.margins || this.margins.length <= 0;
        }
      }]);

      return PieChartComponent;
    }(BaseChartComponent);

    PieChartComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-pie-chart',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelActivate)=\"onActivate($event, true)\"\n      (legendLabelDeactivate)=\"onDeactivate($event, true)\"\n      (legendLabelClick)=\"onClick($event)\"\n    >\n      <svg:g [attr.transform]=\"translation\" class=\"pie-chart chart\">\n        <svg:g\n          ngx-charts-pie-series\n          [colors]=\"colors\"\n          [series]=\"data\"\n          [showLabels]=\"labels\"\n          [labelFormatting]=\"labelFormatting\"\n          [trimLabels]=\"trimLabels\"\n          [maxLabelLength]=\"maxLabelLength\"\n          [activeEntries]=\"activeEntries\"\n          [innerRadius]=\"innerRadius\"\n          [outerRadius]=\"outerRadius\"\n          [explodeSlices]=\"explodeSlices\"\n          [gradient]=\"gradient\"\n          [animations]=\"animations\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [tooltipText]=\"tooltipText\"\n          (dblclick)=\"dblclick.emit($event)\"\n          (select)=\"onClick($event)\"\n          (activate)=\"onActivate($event)\"\n          (deactivate)=\"onDeactivate($event)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}"]
      }]
    }];
    PieChartComponent.propDecorators = {
      labels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      explodeSlices: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      doughnut: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      arcWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimLabels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxLabelLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dblclick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      margins: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    function gridSize(dims, len, minWidth) {
      var rows = 1;
      var cols = len;
      var width = dims.width;

      if (width > minWidth) {
        while (width / cols < minWidth) {
          rows += 1;
          cols = Math.ceil(len / rows);
        }
      }

      return [cols, rows];
    }

    function gridLayout(dims, data, minWidth, designatedTotal) {
      var xScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])();
      var yScale = Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleBand"])();
      var width = dims.width;
      var height = dims.height;

      var _gridSize = gridSize(dims, data.length, minWidth),
          _gridSize2 = _slicedToArray(_gridSize, 2),
          columns = _gridSize2[0],
          rows = _gridSize2[1];

      var xDomain = [];
      var yDomain = [];

      for (var _i19 = 0; _i19 < rows; _i19++) {
        yDomain.push(_i19);
      }

      for (var _i20 = 0; _i20 < columns; _i20++) {
        xDomain.push(_i20);
      }

      xScale.domain(xDomain);
      yScale.domain(yDomain);
      xScale.rangeRound([0, width], 0.1);
      yScale.rangeRound([0, height], 0.1);
      var res = [];
      var total = designatedTotal ? designatedTotal : getTotal(data);
      var cardWidth = xScale.bandwidth();
      var cardHeight = yScale.bandwidth();

      for (var _i21 = 0; _i21 < data.length; _i21++) {
        res[_i21] = {};
        res[_i21].data = {
          name: data[_i21] ? data[_i21].name : '',
          value: data[_i21] ? data[_i21].value : undefined,
          extra: data[_i21] ? data[_i21].extra : undefined,
          label: data[_i21] ? data[_i21].label : ''
        };
        res[_i21].x = xScale(_i21 % columns);
        res[_i21].y = yScale(Math.floor(_i21 / columns));
        res[_i21].width = cardWidth;
        res[_i21].height = cardHeight;
        res[_i21].data.percent = total > 0 ? res[_i21].data.value / total : 0;
        res[_i21].data.total = total;
      }

      return res;
    }

    function getTotal(results) {
      return results.map(function (d) {
        return d ? d.value : 0;
      }).reduce(function (sum, val) {
        return sum + val;
      }, 0);
    }

    var PieGridComponent = /*#__PURE__*/function (_BaseChartComponent18) {
      _inherits(PieGridComponent, _BaseChartComponent18);

      var _super29 = _createSuper(PieGridComponent);

      function PieGridComponent() {
        var _this75;

        _classCallCheck(this, PieGridComponent);

        _this75 = _super29.apply(this, arguments);
        _this75.tooltipDisabled = false;
        _this75.label = 'Total';
        _this75.minWidth = 150;
        _this75.activeEntries = [];
        _this75.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this75.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this75.margin = [20, 20, 20, 20];
        return _this75;
      }

      _createClass(PieGridComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(PieGridComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin
          });
          this.formatDates();
          this.domain = this.getDomain();
          this.data = gridLayout(this.dims, this.results, this.minWidth, this.designatedTotal);
          this.transform = "translate(".concat(this.margin[3], " , ").concat(this.margin[0], ")");
          this.series = this.getSeries();
          this.setColors();
          this.tooltipText = this.tooltipText || this.defaultTooltipText;
        }
      }, {
        key: "defaultTooltipText",
        value: function defaultTooltipText(_ref41) {
          var data = _ref41.data;
          var label = trimLabel(formatLabel(data.name));
          var val = data.value.toLocaleString();
          return "\n      <span class=\"tooltip-label\">".concat(label, "</span>\n      <span class=\"tooltip-val\">").concat(val, "</span>\n    ");
        }
      }, {
        key: "getDomain",
        value: function getDomain() {
          return this.results.map(function (d) {
            return d.label;
          });
        }
      }, {
        key: "getSeries",
        value: function getSeries() {
          var _this76 = this;

          var total = this.designatedTotal ? this.designatedTotal : this.getTotal();
          return this.data.map(function (d) {
            var baselineLabelHeight = 20;
            var padding = 10;
            var name = d.data.name;
            var label = formatLabel(name);
            var value = d.data.value;
            var radius = Object(d3_array__WEBPACK_IMPORTED_MODULE_12__["min"])([d.width - padding, d.height - baselineLabelHeight]) / 2 - 5;
            var innerRadius = radius * 0.9;
            var count = 0;

            var colors = function colors() {
              count += 1;

              if (count === 1) {
                return 'rgba(100,100,100,0.3)';
              } else {
                return _this76.colorScale.getColor(label);
              }
            };

            var xPos = d.x + (d.width - padding) / 2;
            var yPos = d.y + (d.height - baselineLabelHeight) / 2;
            return {
              transform: "translate(".concat(xPos, ", ").concat(yPos, ")"),
              colors: colors,
              innerRadius: innerRadius,
              outerRadius: radius,
              name: name,
              label: trimLabel(label),
              total: value,
              value: value,
              percent: Object(d3_format__WEBPACK_IMPORTED_MODULE_14__["format"])('.1%')(d.data.percent),
              data: [d, {
                data: {
                  other: true,
                  value: total - value,
                  name: d.data.name
                }
              }]
            };
          });
        }
      }, {
        key: "getTotal",
        value: function getTotal() {
          return this.results.map(function (d) {
            return d.value;
          }).reduce(function (sum, d) {
            return sum + d;
          }, 0);
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colorScale = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var fromLegend = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
          item = this.results.find(function (d) {
            if (fromLegend) {
              return d.label === item.name;
            } else {
              return d.name === item.name;
            }
          });
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value && d.series === item.series;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }]);

      return PieGridComponent;
    }(BaseChartComponent);

    PieGridComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-pie-grid',
        template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n      <svg:g [attr.transform]=\"transform\" class=\"pie-grid chart\">\n        <svg:g *ngFor=\"let series of series\" class=\"pie-grid-item\" [attr.transform]=\"series.transform\">\n          <svg:g\n            ngx-charts-pie-grid-series\n            [colors]=\"series.colors\"\n            [data]=\"series.data\"\n            [innerRadius]=\"series.innerRadius\"\n            [outerRadius]=\"series.outerRadius\"\n            [animations]=\"animations\"\n            (select)=\"onClick($event)\"\n            ngx-tooltip\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipPlacement]=\"'top'\"\n            [tooltipType]=\"'tooltip'\"\n            [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText({ data: series })\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [tooltipContext]=\"series.data[0].data\"\n            (activate)=\"onActivate($event)\"\n            (deactivate)=\"onDeactivate($event)\"\n          />\n          <svg:text\n            *ngIf=\"animations\"\n            class=\"label percent-label\"\n            dy=\"-0.5em\"\n            x=\"0\"\n            y=\"5\"\n            ngx-charts-count-up\n            [countTo]=\"series.percent\"\n            [countSuffix]=\"'%'\"\n            text-anchor=\"middle\"\n          ></svg:text>\n          <svg:text *ngIf=\"!animations\" class=\"label percent-label\" dy=\"-0.5em\" x=\"0\" y=\"5\" text-anchor=\"middle\">\n            {{ series.percent.toLocaleString() }}\n          </svg:text>\n          <svg:text class=\"label\" dy=\"0.5em\" x=\"0\" y=\"5\" text-anchor=\"middle\">\n            {{ series.label }}\n          </svg:text>\n          <svg:text\n            *ngIf=\"animations\"\n            class=\"label\"\n            dy=\"1.23em\"\n            x=\"0\"\n            [attr.y]=\"series.outerRadius\"\n            text-anchor=\"middle\"\n            ngx-charts-count-up\n            [countTo]=\"series.total\"\n            [countPrefix]=\"label + ': '\"\n          ></svg:text>\n          <svg:text\n            *ngIf=\"!animations\"\n            class=\"label\"\n            dy=\"1.23em\"\n            x=\"0\"\n            [attr.y]=\"series.outerRadius\"\n            text-anchor=\"middle\"\n          >\n            {{ label }}: {{ series.total.toLocaleString() }}\n          </svg:text>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}"]
      }]
    }];
    PieGridComponent.propDecorators = {
      designatedTotal: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      minWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var PieGridSeriesComponent = /*#__PURE__*/function () {
      function PieGridSeriesComponent(element) {
        _classCallCheck(this, PieGridSeriesComponent);

        this.innerRadius = 70;
        this.outerRadius = 80;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.element = element.nativeElement;
      }

      _createClass(PieGridSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.layout = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["pie"])().value(function (d) {
            return d.data.value;
          }).sort(null);
          this.arcs = this.getArcs();
        }
      }, {
        key: "getArcs",
        value: function getArcs() {
          var _this77 = this;

          return this.layout(this.data).map(function (arc, index) {
            var label = arc.data.data.name;
            var other = arc.data.data.other;

            if (index === 0) {
              arc.startAngle = 0;
            }

            var color = _this77.colors(label);

            return {
              data: arc.data.data,
              "class": 'arc ' + 'arc' + index,
              fill: color,
              startAngle: other ? 0 : arc.startAngle,
              endAngle: arc.endAngle,
              animate: _this77.animations && !other,
              pointerEvents: !other
            };
          });
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(this.data[0].data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.data.name;
        }
      }, {
        key: "label",
        value: function label(arc) {
          return arc.data.name;
        }
      }, {
        key: "color",
        value: function color(arc) {
          return this.colors(this.label(arc));
        }
      }]);

      return PieGridSeriesComponent;
    }();

    PieGridSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-pie-grid-series]',
        template: "\n    <svg:g class=\"pie-grid-arcs\">\n      <svg:g\n        ngx-charts-pie-arc\n        *ngFor=\"let arc of arcs; trackBy: trackBy\"\n        [attr.class]=\"arc.class\"\n        [startAngle]=\"arc.startAngle\"\n        [endAngle]=\"arc.endAngle\"\n        [innerRadius]=\"innerRadius\"\n        [outerRadius]=\"outerRadius\"\n        [fill]=\"color(arc)\"\n        [value]=\"arc.data.value\"\n        [data]=\"arc.data\"\n        [gradient]=\"false\"\n        [pointerEvents]=\"arc.pointerEvents\"\n        [animate]=\"arc.animate\"\n        (select)=\"onClick($event)\"\n        (activate)=\"activate.emit($event)\"\n        (deactivate)=\"deactivate.emit($event)\"\n      ></svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    PieGridSeriesComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    PieGridSeriesComponent.propDecorators = {
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      outerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var PieSeriesComponent = /*#__PURE__*/function () {
      function PieSeriesComponent() {
        _classCallCheck(this, PieSeriesComponent);

        this.series = [];
        this.innerRadius = 60;
        this.outerRadius = 80;
        this.trimLabels = true;
        this.maxLabelLength = 10;
        this.tooltipDisabled = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dblclick = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(PieSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          var pieGenerator = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["pie"])().value(function (d) {
            return d.value;
          }).sort(null);
          var arcData = pieGenerator(this.series);
          this.max = Object(d3_array__WEBPACK_IMPORTED_MODULE_12__["max"])(arcData, function (d) {
            return d.value;
          });
          this.data = this.calculateLabelPositions(arcData);
          this.tooltipText = this.tooltipText || this.defaultTooltipText;
        }
      }, {
        key: "midAngle",
        value: function midAngle(d) {
          return d.startAngle + (d.endAngle - d.startAngle) / 2;
        }
      }, {
        key: "outerArc",
        value: function outerArc() {
          var factor = 1.5;
          return Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["arc"])().innerRadius(this.outerRadius * factor).outerRadius(this.outerRadius * factor);
        }
      }, {
        key: "calculateLabelPositions",
        value: function calculateLabelPositions(pieData) {
          var _this78 = this;

          var factor = 1.5;
          var minDistance = 10;
          var labelPositions = pieData;
          labelPositions.forEach(function (d) {
            d.pos = _this78.outerArc().centroid(d);
            d.pos[0] = factor * _this78.outerRadius * (_this78.midAngle(d) < Math.PI ? 1 : -1);
          });

          for (var _i22 = 0; _i22 < labelPositions.length - 1; _i22++) {
            var a = labelPositions[_i22];

            if (!this.labelVisible(a)) {
              continue;
            }

            for (var j = _i22 + 1; j < labelPositions.length; j++) {
              var b = labelPositions[j];

              if (!this.labelVisible(b)) {
                continue;
              } // if they're on the same side


              if (b.pos[0] * a.pos[0] > 0) {
                // if they're overlapping
                var o = minDistance - Math.abs(b.pos[1] - a.pos[1]);

                if (o > 0) {
                  // push the second up or down
                  b.pos[1] += Math.sign(b.pos[0]) * o;
                }
              }
            }
          }

          return labelPositions;
        }
      }, {
        key: "labelVisible",
        value: function labelVisible(myArc) {
          return this.showLabels && myArc.endAngle - myArc.startAngle > Math.PI / 30;
        }
      }, {
        key: "getTooltipTitle",
        value: function getTooltipTitle(a) {
          return this.tooltipTemplate ? undefined : this.tooltipText(a);
        }
      }, {
        key: "labelText",
        value: function labelText(myArc) {
          if (this.labelFormatting) {
            return this.labelFormatting(myArc.data.name);
          }

          return this.label(myArc);
        }
      }, {
        key: "label",
        value: function label(myArc) {
          return formatLabel(myArc.data.name);
        }
      }, {
        key: "defaultTooltipText",
        value: function defaultTooltipText(myArc) {
          var label = this.label(myArc);
          var val = formatLabel(myArc.data.value);
          return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(val, "</span>\n    ");
        }
      }, {
        key: "color",
        value: function color(myArc) {
          return this.colors.getColor(this.label(myArc));
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.data.name;
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name && entry.series === d.series;
          });
          return item !== undefined;
        }
      }]);

      return PieSeriesComponent;
    }();

    PieSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-pie-series]',
        template: "\n    <svg:g *ngFor=\"let arc of data; trackBy: trackBy\">\n      <svg:g\n        ngx-charts-pie-label\n        *ngIf=\"labelVisible(arc)\"\n        [data]=\"arc\"\n        [radius]=\"outerRadius\"\n        [color]=\"color(arc)\"\n        [label]=\"labelText(arc)\"\n        [labelTrim]=\"trimLabels\"\n        [labelTrimSize]=\"maxLabelLength\"\n        [max]=\"max\"\n        [value]=\"arc.value\"\n        [explodeSlices]=\"explodeSlices\"\n        [animations]=\"animations\"\n      ></svg:g>\n      <svg:g\n        ngx-charts-pie-arc\n        [startAngle]=\"arc.startAngle\"\n        [endAngle]=\"arc.endAngle\"\n        [innerRadius]=\"innerRadius\"\n        [outerRadius]=\"outerRadius\"\n        [fill]=\"color(arc)\"\n        [value]=\"arc.data.value\"\n        [gradient]=\"gradient\"\n        [data]=\"arc.data\"\n        [max]=\"max\"\n        [explodeSlices]=\"explodeSlices\"\n        [isActive]=\"isActive(arc.data)\"\n        [animate]=\"animations\"\n        (select)=\"onClick($event)\"\n        (activate)=\"activate.emit($event)\"\n        (deactivate)=\"deactivate.emit($event)\"\n        (dblclick)=\"dblclick.emit($event)\"\n        ngx-tooltip\n        [tooltipDisabled]=\"tooltipDisabled\"\n        [tooltipPlacement]=\"'top'\"\n        [tooltipType]=\"'tooltip'\"\n        [tooltipTitle]=\"getTooltipTitle(arc)\"\n        [tooltipTemplate]=\"tooltipTemplate\"\n        [tooltipContext]=\"arc.data\"\n      ></svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    PieSeriesComponent.propDecorators = {
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      series: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      outerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      explodeSlices: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showLabels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trimLabels: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxLabelLength: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      dblclick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var PieChartModule = /*#__PURE__*/_createClass(function PieChartModule() {
      _classCallCheck(this, PieChartModule);
    });

    PieChartModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [AdvancedPieChartComponent, PieLabelComponent, PieArcComponent, PieChartComponent, PieGridComponent, PieGridSeriesComponent, PieSeriesComponent],
        exports: [AdvancedPieChartComponent, PieLabelComponent, PieArcComponent, PieChartComponent, PieGridComponent, PieGridSeriesComponent, PieSeriesComponent]
      }]
    }];

    var PolarChartModule = /*#__PURE__*/_createClass(function PolarChartModule() {
      _classCallCheck(this, PolarChartModule);
    });

    PolarChartModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule, PieChartModule, LineChartModule],
        declarations: [PolarChartComponent, PolarSeriesComponent],
        exports: [PolarChartComponent, PolarSeriesComponent]
      }]
    }];

    var CardComponent = /*#__PURE__*/function () {
      function CardComponent(element, cd, zone) {
        _classCallCheck(this, CardComponent);

        this.cd = cd;
        this.zone = zone;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.value = '';
        this.textFontSize = 12;
        this.textTransform = '';
        this.initialized = false;
        this.bandHeight = 10;
        this.textPadding = [10, 20, 5, 20];
        this.labelFontSize = 15;
        this.element = element.nativeElement;
      }

      _createClass(CardComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          cancelAnimationFrame(this.animationReq);
        }
      }, {
        key: "update",
        value: function update() {
          var _this79 = this;

          this.zone.run(function () {
            var hasValue = _this79.data && typeof _this79.data.value !== 'undefined';

            var valueFormatting = _this79.valueFormatting || function (card) {
              return card.value.toLocaleString();
            };

            var labelFormatting = _this79.labelFormatting || function (card) {
              return escapeLabel(trimLabel(card.label, 55));
            };

            _this79.transform = "translate(".concat(_this79.x, " , ").concat(_this79.y, ")");
            _this79.textWidth = Math.max(0, _this79.width) - _this79.textPadding[1] - _this79.textPadding[3];
            _this79.cardWidth = Math.max(0, _this79.width);
            _this79.cardHeight = Math.max(0, _this79.height);
            _this79.label = _this79.label ? _this79.label : _this79.data.name;
            var cardData = {
              label: _this79.label,
              data: _this79.data,
              value: _this79.data.value
            };
            _this79.formattedLabel = labelFormatting(cardData);
            _this79.transformBand = "translate(0 , ".concat(_this79.cardHeight - _this79.bandHeight, ")");
            var value = hasValue ? valueFormatting(cardData) : '';
            _this79.value = _this79.paddedValue(value);

            _this79.setPadding();

            _this79.bandPath = roundedRect(0, 0, _this79.cardWidth, _this79.bandHeight, 3, [false, false, true, true]);
            setTimeout(function () {
              _this79.scaleText();

              _this79.value = value;

              if (hasValue && !_this79.initialized) {
                setTimeout(function () {
                  return _this79.startCount();
                }, 20);
              }
            }, 8);
          });
        }
      }, {
        key: "paddedValue",
        value: function paddedValue(value) {
          if (this.medianSize && this.medianSize > value.length) {
            value += "\u2007".repeat(this.medianSize - value.length);
          }

          return value;
        }
      }, {
        key: "startCount",
        value: function startCount() {
          var _this80 = this;

          if (!this.initialized && this.animations) {
            cancelAnimationFrame(this.animationReq);
            var val = this.data.value;
            var decs = decimalChecker(val);

            var valueFormatting = this.valueFormatting || function (card) {
              return card.value.toLocaleString();
            };

            var callback = function callback(_ref42) {
              var value = _ref42.value,
                  finished = _ref42.finished;

              _this80.zone.run(function () {
                value = finished ? val : value;
                _this80.value = valueFormatting({
                  label: _this80.label,
                  data: _this80.data,
                  value: value
                });

                if (!finished) {
                  _this80.value = _this80.paddedValue(_this80.value);
                }

                _this80.cd.markForCheck();
              });
            };

            this.animationReq = count(0, val, decs, 1, callback);
            this.initialized = true;
          }
        }
      }, {
        key: "scaleText",
        value: function scaleText() {
          var _this81 = this;

          this.zone.run(function () {
            var _this81$textEl$native = _this81.textEl.nativeElement.getBoundingClientRect(),
                width = _this81$textEl$native.width,
                height = _this81$textEl$native.height;

            if (width === 0 || height === 0) {
              return;
            }

            var textPadding = _this81.textPadding[1] = _this81.textPadding[3] = _this81.cardWidth / 8;
            var availableWidth = _this81.cardWidth - 2 * textPadding;
            var availableHeight = _this81.cardHeight / 3;
            var resizeScale = Math.min(availableWidth / width, availableHeight / height);
            _this81.textFontSize = Math.floor(_this81.textFontSize * resizeScale);
            _this81.labelFontSize = Math.min(_this81.textFontSize, 15);

            _this81.setPadding();

            _this81.cd.markForCheck();
          });
        }
      }, {
        key: "setPadding",
        value: function setPadding() {
          this.textPadding[1] = this.textPadding[3] = this.cardWidth / 8;
          var padding = this.cardHeight / 2;
          this.textPadding[0] = padding - this.textFontSize - this.labelFontSize / 2;
          this.textPadding[2] = padding - this.labelFontSize;
        }
      }, {
        key: "onClick",
        value: function onClick() {
          this.select.emit(this.data);
        }
      }]);

      return CardComponent;
    }();

    CardComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-card]',
        template: "\n    <svg:g [attr.transform]=\"transform\" class=\"cell\" (click)=\"onClick()\">\n      <svg:rect class=\"card\" [style.fill]=\"color\" [attr.width]=\"cardWidth\" [attr.height]=\"cardHeight\" rx=\"3\" ry=\"3\" />\n      <svg:path\n        *ngIf=\"bandColor && bandColor !== color\"\n        class=\"card-band\"\n        [attr.fill]=\"bandColor\"\n        [attr.transform]=\"transformBand\"\n        stroke=\"none\"\n        [attr.d]=\"bandPath\"\n      />\n      <title>{{ label }}</title>\n      <svg:foreignObject\n        class=\"trimmed-label\"\n        x=\"5\"\n        [attr.x]=\"textPadding[3]\"\n        [attr.y]=\"cardHeight - textPadding[2]\"\n        [attr.width]=\"textWidth\"\n        [attr.height]=\"labelFontSize + textPadding[2]\"\n        alignment-baseline=\"hanging\"\n      >\n        <xhtml:p\n          [style.color]=\"textColor\"\n          [style.fontSize.px]=\"labelFontSize\"\n          [style.lineHeight.px]=\"labelFontSize\"\n          [innerHTML]=\"formattedLabel\"\n        >\n        </xhtml:p>\n      </svg:foreignObject>\n      <svg:text\n        #textEl\n        class=\"value-text\"\n        [attr.x]=\"textPadding[3]\"\n        [attr.y]=\"textPadding[0]\"\n        [style.fill]=\"textColor\"\n        text-anchor=\"start\"\n        alignment-baseline=\"hanging\"\n        [style.font-size.pt]=\"textFontSize\"\n      >\n        {{ value }}\n      </svg:text>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    CardComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
      }];
    };

    CardComponent.propDecorators = {
      color: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      bandColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      textColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      x: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      y: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      medianSize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      textEl: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['textEl', {
          "static": false
        }]
      }]
    };
    /**
     * Converts a hex to RGB
     *
     * @export
     */

    function hexToRgb(value) {
      // deprecated, use d3.color()
      return Object(d3_color__WEBPACK_IMPORTED_MODULE_15__["rgb"])(value);
    }
    /**
     * Accepts a color (string) and returns a inverted hex color (string)
     * http://stackoverflow.com/questions/9600295/automatically-change-text-color-to-assure-readability
     *
     * @export
     */


    function invertColor(value) {
      var color = Object(d3_color__WEBPACK_IMPORTED_MODULE_15__["rgb"])(value);
      var r = color.r,
          g = color.g,
          b = color.b,
          opacity = color.opacity;

      if (opacity === 0) {
        return color.toString();
      }

      var yiq = (r * 299 + g * 587 + b * 114) / 1000;
      var depth = yiq >= 128 ? -0.8 : 0.8;
      return shadeRGBColor(color, depth);
    }
    /**
     * Given a rgb, it will darken/lighten
     * http://stackoverflow.com/questions/5560248/programmatically-lighten-or-darken-a-hex-color-or-rgb-and-blend-colors
     *
     * @export
     * @param \{ r, g, b }
     */


    function shadeRGBColor(_ref43, percent) {
      var r = _ref43.r,
          g = _ref43.g,
          b = _ref43.b;
      var t = percent < 0 ? 0 : 255;
      var p = percent < 0 ? percent * -1 : percent;
      r = Math.round((t - r) * p) + r;
      g = Math.round((t - g) * p) + g;
      b = Math.round((t - b) * p) + b;
      return "rgb(".concat(r, ", ").concat(g, ", ").concat(b, ")");
    }

    var CardSeriesComponent = /*#__PURE__*/function () {
      function CardSeriesComponent() {
        _classCallCheck(this, CardSeriesComponent);

        this.innerPadding = 15;
        this.emptyColor = 'rgba(0, 0, 0, 0)';
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(CardSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          if (this.data.length > 2) {
            var valueFormatting = this.valueFormatting || function (card) {
              return card.value.toLocaleString();
            };

            var sortedLengths = this.data.map(function (d) {
              var hasValue = d && d.data && typeof d.data.value !== 'undefined' && d.data.value !== null;
              return hasValue ? valueFormatting({
                data: d.data,
                label: d ? d.data.name : '',
                value: d && d.data ? d.data.value : ''
              }).length : 0;
            }).sort(function (a, b) {
              return b - a;
            });
            var idx = Math.ceil(this.data.length / 2);
            this.medianSize = sortedLengths[idx];
          }

          var cards = this.getCards();
          this.cards = cards.filter(function (d) {
            return d.data.value !== null;
          });
          this.emptySlots = cards.filter(function (d) {
            return d.data.value === null;
          });
        }
      }, {
        key: "getCards",
        value: function getCards() {
          var _this82 = this;

          var yPadding = typeof this.innerPadding === 'number' ? this.innerPadding : this.innerPadding[0] + this.innerPadding[2];
          var xPadding = typeof this.innerPadding === 'number' ? this.innerPadding : this.innerPadding[1] + this.innerPadding[3];
          return this.data.map(function (d, index) {
            var label = d.data.name;

            if (label && label.constructor.name === 'Date') {
              label = label.toLocaleDateString();
            } else {
              label = label ? label.toLocaleString() : label;
            }

            var value = d.data.value;
            var valueColor = label ? _this82.colors.getColor(label) : _this82.emptyColor;
            var color = _this82.cardColor || valueColor || '#000';
            return {
              x: d.x,
              y: d.y,
              width: d.width - xPadding,
              height: d.height - yPadding,
              color: color,
              bandColor: _this82.bandColor || valueColor,
              textColor: _this82.textColor || invertColor(color),
              label: label,
              data: d.data,
              tooltipText: "".concat(label, ": ").concat(value)
            };
          });
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, card) {
          return card.label;
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }]);

      return CardSeriesComponent;
    }();

    CardSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-card-series]',
        template: "\n    <svg:rect\n      *ngFor=\"let c of emptySlots; trackBy: trackBy\"\n      class=\"card-empty\"\n      [attr.x]=\"c.x\"\n      [attr.y]=\"c.y\"\n      [style.fill]=\"emptyColor\"\n      [attr.width]=\"c.width\"\n      [attr.height]=\"c.height\"\n      rx=\"3\"\n      ry=\"3\"\n    />\n    <svg:g\n      ngx-charts-card\n      *ngFor=\"let c of cards; trackBy: trackBy\"\n      [x]=\"c.x\"\n      [y]=\"c.y\"\n      [width]=\"c.width\"\n      [height]=\"c.height\"\n      [color]=\"c.color\"\n      [bandColor]=\"c.bandColor\"\n      [textColor]=\"c.textColor\"\n      [data]=\"c.data\"\n      [label]=\"c.label\"\n      [medianSize]=\"medianSize\"\n      [valueFormatting]=\"valueFormatting\"\n      [labelFormatting]=\"labelFormatting\"\n      [animations]=\"animations\"\n      (select)=\"onClick($event)\"\n    />\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    CardSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      slots: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cardColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      bandColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      emptyColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      textColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var NumberCardComponent = /*#__PURE__*/function (_BaseChartComponent19) {
      _inherits(NumberCardComponent, _BaseChartComponent19);

      var _super30 = _createSuper(NumberCardComponent);

      function NumberCardComponent() {
        var _this83;

        _classCallCheck(this, NumberCardComponent);

        _this83 = _super30.apply(this, arguments);
        _this83.emptyColor = 'rgba(0, 0, 0, 0)';
        _this83.innerPadding = 15;
        _this83.margin = [10, 10, 10, 10];
        return _this83;
      }

      _createClass(NumberCardComponent, [{
        key: "clickable",
        get: function get() {
          return !!this.select.observers.length;
        }
      }, {
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(NumberCardComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin
          });
          this.formatDates();
          this.domain = this.getDomain();
          this.setColors();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
          var size = gridSize(this.dims, this.results.length, 150);
          var N = size[0] * size[1];
          var data = this.results.slice();

          while (data.length < N) {
            data.push({
              value: null
            });
          }

          this.data = gridLayout(this.dims, data, 150, this.designatedTotal);
        }
      }, {
        key: "getDomain",
        value: function getDomain() {
          return this.results.map(function (d) {
            return d.label;
          });
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
        }
      }]);

      return NumberCardComponent;
    }(BaseChartComponent);

    NumberCardComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-number-card',
        template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n      <svg:g [attr.transform]=\"transform\" class=\"number-card chart\" [class.clickable]=\"clickable\">\n        <svg:g\n          ngx-charts-card-series\n          [colors]=\"colors\"\n          [cardColor]=\"cardColor\"\n          [bandColor]=\"bandColor\"\n          [textColor]=\"textColor\"\n          [emptyColor]=\"emptyColor\"\n          [data]=\"data\"\n          [dims]=\"dims\"\n          [innerPadding]=\"innerPadding\"\n          [valueFormatting]=\"valueFormatting\"\n          [labelFormatting]=\"labelFormatting\"\n          [animations]=\"animations\"\n          (select)=\"onClick($event)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", "ngx-charts-number-card .cell .trimmed-label{font-size:12px;line-height:1em;overflow:hidden;pointer-events:none;text-align:left}ngx-charts-number-card .cell .trimmed-label p{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}"]
      }]
    }];
    NumberCardComponent.propDecorators = {
      cardColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      bandColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      emptyColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerPadding: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      textColor: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      designatedTotal: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var NumberCardModule = /*#__PURE__*/_createClass(function NumberCardModule() {
      _classCallCheck(this, NumberCardModule);
    });

    NumberCardModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [CardComponent, CardSeriesComponent, NumberCardComponent],
        exports: [CardComponent, CardSeriesComponent, NumberCardComponent]
      }]
    }];

    var TreeMapCellComponent = /*#__PURE__*/function () {
      function TreeMapCellComponent(element) {
        _classCallCheck(this, TreeMapCellComponent);

        this.gradient = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.initialized = false;
        this.element = element.nativeElement;
      }

      _createClass(TreeMapCellComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges() {
          this.update();

          this.valueFormatting = this.valueFormatting || function (value) {
            return value.toLocaleString();
          };

          var labelFormatting = this.labelFormatting || function (cell) {
            return escapeLabel(trimLabel(cell.label, 55));
          };

          var cellData = {
            data: this.data,
            label: this.label,
            value: this.value
          };
          this.formattedValue = this.valueFormatting(cellData.value);
          this.formattedLabel = labelFormatting(cellData);
          this.gradientId = 'grad' + id().toString();
          this.gradientUrl = "url(#".concat(this.gradientId, ")");
          this.gradientStops = this.getGradientStops();
        }
      }, {
        key: "update",
        value: function update() {
          if (this.initialized) {
            this.animateToCurrentForm();
          } else {
            if (this.animations) {
              this.loadAnimation();
            }

            this.initialized = true;
          }
        }
      }, {
        key: "loadAnimation",
        value: function loadAnimation() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');
          node.attr('opacity', 0).attr('x', this.x).attr('y', this.y);
          this.animateToCurrentForm();
        }
      }, {
        key: "getTextColor",
        value: function getTextColor() {
          return invertColor(this.fill);
        }
      }, {
        key: "animateToCurrentForm",
        value: function animateToCurrentForm() {
          var node = Object(d3_selection__WEBPACK_IMPORTED_MODULE_7__["select"])(this.element).select('.cell');

          if (this.animations) {
            node.transition().duration(750).attr('opacity', 1).attr('x', this.x).attr('y', this.y).attr('width', this.width).attr('height', this.height);
          } else {
            node.attr('opacity', 1).attr('x', this.x).attr('y', this.y).attr('width', this.width).attr('height', this.height);
          }
        }
      }, {
        key: "onClick",
        value: function onClick() {
          this.select.emit(this.data);
        }
      }, {
        key: "getGradientStops",
        value: function getGradientStops() {
          return [{
            offset: 0,
            color: this.fill,
            opacity: 0.3
          }, {
            offset: 100,
            color: this.fill,
            opacity: 1
          }];
        }
      }]);

      return TreeMapCellComponent;
    }();

    TreeMapCellComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-tree-map-cell]',
        template: "\n    <svg:g>\n      <defs *ngIf=\"gradient\">\n        <svg:g ngx-charts-svg-linear-gradient orientation=\"vertical\" [name]=\"gradientId\" [stops]=\"gradientStops\" />\n      </defs>\n      <svg:rect\n        [attr.fill]=\"gradient ? gradientUrl : fill\"\n        [attr.width]=\"width\"\n        [attr.height]=\"height\"\n        [attr.x]=\"x\"\n        [attr.y]=\"y\"\n        [style.cursor]=\"'pointer'\"\n        class=\"cell\"\n        (click)=\"onClick()\"\n      />\n      <svg:foreignObject\n        *ngIf=\"width >= 70 && height >= 35\"\n        [attr.x]=\"x\"\n        [attr.y]=\"y\"\n        [attr.width]=\"width\"\n        [attr.height]=\"height\"\n        class=\"treemap-label\"\n        [style.pointer-events]=\"'none'\"\n      >\n        <xhtml:p [style.color]=\"getTextColor()\" [style.height]=\"height + 'px'\" [style.width]=\"width + 'px'\">\n          <xhtml:span class=\"treemap-label\" [innerHTML]=\"formattedLabel\"> </xhtml:span>\n          <xhtml:br />\n          <xhtml:span\n            *ngIf=\"animations\"\n            class=\"treemap-val\"\n            ngx-charts-count-up\n            [countTo]=\"value\"\n            [valueFormatting]=\"valueFormatting\"\n          >\n          </xhtml:span>\n          <xhtml:span *ngIf=\"!animations\" class=\"treemap-val\">\n            {{ formattedValue }}\n          </xhtml:span>\n        </xhtml:p>\n      </svg:foreignObject>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    TreeMapCellComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    TreeMapCellComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      fill: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      x: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      y: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      label: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      value: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var TreeMapCellSeriesComponent = /*#__PURE__*/function () {
      function TreeMapCellSeriesComponent() {
        _classCallCheck(this, TreeMapCellSeriesComponent);

        this.gradient = false;
        this.tooltipDisabled = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(TreeMapCellSeriesComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.cells = this.getCells();
        }
      }, {
        key: "getCells",
        value: function getCells() {
          var _this84 = this;

          return this.data.children.filter(function (d) {
            return d.depth === 1;
          }).map(function (d, index) {
            var label = d.id;
            return {
              data: d.data,
              x: d.x0,
              y: d.y0,
              width: d.x1 - d.x0,
              height: d.y1 - d.y0,
              fill: _this84.colors.getColor(label),
              label: label,
              value: d.value,
              valueType: d.valueType
            };
          });
        }
      }, {
        key: "getTooltipText",
        value: function getTooltipText(_ref44) {
          var label = _ref44.label,
              value = _ref44.value;
          return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(value.toLocaleString(), "</span>\n    ");
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.label;
        }
      }]);

      return TreeMapCellSeriesComponent;
    }();

    TreeMapCellSeriesComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-tree-map-cell-series]',
        template: "\n    <svg:g\n      ngx-charts-tree-map-cell\n      *ngFor=\"let c of cells; trackBy: trackBy\"\n      [data]=\"c.data\"\n      [x]=\"c.x\"\n      [y]=\"c.y\"\n      [width]=\"c.width\"\n      [height]=\"c.height\"\n      [fill]=\"c.fill\"\n      [label]=\"c.label\"\n      [value]=\"c.value\"\n      [valueType]=\"c.valueType\"\n      [valueFormatting]=\"valueFormatting\"\n      [labelFormatting]=\"labelFormatting\"\n      [gradient]=\"gradient\"\n      [animations]=\"animations\"\n      (select)=\"onClick($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"'top'\"\n      [tooltipType]=\"'tooltip'\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : getTooltipText(c)\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"c.data\"\n    ></svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    TreeMapCellSeriesComponent.propDecorators = {
      data: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dims: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var TreeMapComponent = /*#__PURE__*/function (_BaseChartComponent20) {
      _inherits(TreeMapComponent, _BaseChartComponent20);

      var _super31 = _createSuper(TreeMapComponent);

      function TreeMapComponent() {
        var _this85;

        _classCallCheck(this, TreeMapComponent);

        _this85 = _super31.apply(this, arguments);
        _this85.tooltipDisabled = false;
        _this85.gradient = false;
        _this85.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this85.margin = [10, 10, 10, 10];
        return _this85;
      }

      _createClass(TreeMapComponent, [{
        key: "update",
        value: function update() {
          _get(_getPrototypeOf(TreeMapComponent.prototype), "update", this).call(this);

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin
          });
          this.domain = this.getDomain();
          this.treemap = Object(d3_hierarchy__WEBPACK_IMPORTED_MODULE_16__["treemap"])().size([this.dims.width, this.dims.height]);
          var rootNode = {
            name: 'root',
            value: 0,
            isRoot: true
          };
          var root = Object(d3_hierarchy__WEBPACK_IMPORTED_MODULE_16__["stratify"])().id(function (d) {
            var label = d.name;

            if (label.constructor.name === 'Date') {
              label = label.toLocaleDateString();
            } else {
              label = label.toLocaleString();
            }

            return label;
          }).parentId(function (d) {
            return d.isRoot ? null : 'root';
          })([rootNode].concat(_toConsumableArray(this.results))).sum(function (d) {
            return d.value;
          });
          this.data = this.treemap(root);
          this.setColors();
          this.transform = "translate(".concat(this.dims.xOffset, " , ").concat(this.margin[0], ")");
        }
      }, {
        key: "getDomain",
        value: function getDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
        }
      }]);

      return TreeMapComponent;
    }(BaseChartComponent);

    TreeMapComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-tree-map',
        template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\">\n      <svg:g [attr.transform]=\"transform\" class=\"tree-map chart\">\n        <svg:g\n          ngx-charts-tree-map-cell-series\n          [colors]=\"colors\"\n          [data]=\"data\"\n          [dims]=\"dims\"\n          [tooltipDisabled]=\"tooltipDisabled\"\n          [tooltipTemplate]=\"tooltipTemplate\"\n          [valueFormatting]=\"valueFormatting\"\n          [labelFormatting]=\"labelFormatting\"\n          [gradient]=\"gradient\"\n          [animations]=\"animations\"\n          (select)=\"onClick($event)\"\n        />\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".tree-map .treemap-val{display:inline-block;font-size:1.3em;padding-top:5px}.tree-map .treemap-label p{display:table-cell;line-height:1.2em;text-align:center;vertical-align:middle}"]
      }]
    }];
    TreeMapComponent.propDecorators = {
      results: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      labelFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      gradient: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }]
    };

    var TreeMapModule = /*#__PURE__*/_createClass(function TreeMapModule() {
      _classCallCheck(this, TreeMapModule);
    });

    TreeMapModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule],
        declarations: [TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent],
        exports: [TreeMapCellComponent, TreeMapCellSeriesComponent, TreeMapComponent]
      }]
    }];

    var LinearGaugeComponent = /*#__PURE__*/function (_BaseChartComponent21) {
      _inherits(LinearGaugeComponent, _BaseChartComponent21);

      var _super32 = _createSuper(LinearGaugeComponent);

      function LinearGaugeComponent() {
        var _this86;

        _classCallCheck(this, LinearGaugeComponent);

        _this86 = _super32.apply(this, arguments);
        _this86.min = 0;
        _this86.max = 100;
        _this86.value = 0;
        _this86.margin = [10, 20, 10, 20];
        _this86.valueResizeScale = 1;
        _this86.unitsResizeScale = 1;
        _this86.valueTextTransform = '';
        _this86.valueTranslate = '';
        _this86.unitsTextTransform = '';
        _this86.unitsTranslate = '';
        return _this86;
      }

      _createClass(LinearGaugeComponent, [{
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var _this87 = this;

          _get(_getPrototypeOf(LinearGaugeComponent.prototype), "ngAfterViewInit", this).call(this);

          setTimeout(function () {
            _this87.scaleText('value');

            _this87.scaleText('units');
          });
        }
      }, {
        key: "update",
        value: function update() {
          var _this88 = this;

          _get(_getPrototypeOf(LinearGaugeComponent.prototype), "update", this).call(this);

          this.hasPreviousValue = this.previousValue !== undefined;
          this.max = Math.max(this.max, this.value);
          this.min = Math.min(this.min, this.value);

          if (this.hasPreviousValue) {
            this.max = Math.max(this.max, this.previousValue);
            this.min = Math.min(this.min, this.previousValue);
          }

          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin
          });
          this.valueDomain = this.getValueDomain();
          this.valueScale = this.getValueScale();
          this.displayValue = this.getDisplayValue();
          this.setColors();
          var xOffset = this.margin[3] + this.dims.width / 2;
          var yOffset = this.margin[0] + this.dims.height / 2;
          this.transform = "translate(".concat(xOffset, ", ").concat(yOffset, ")");
          this.transformLine = "translate(".concat(this.margin[3] + this.valueScale(this.previousValue), ", ").concat(yOffset, ")");
          this.valueTranslate = "translate(0, -15)";
          this.unitsTranslate = "translate(0, 15)";
          setTimeout(function () {
            return _this88.scaleText('value');
          }, 50);
          setTimeout(function () {
            return _this88.scaleText('units');
          }, 50);
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          return [this.min, this.max];
        }
      }, {
        key: "getValueScale",
        value: function getValueScale() {
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.dims.width]).domain(this.valueDomain);
        }
      }, {
        key: "getDisplayValue",
        value: function getDisplayValue() {
          if (this.valueFormatting) {
            return this.valueFormatting(this.value);
          }

          return this.value.toLocaleString();
        }
      }, {
        key: "scaleText",
        value: function scaleText(element) {
          var _this89 = this;

          var repeat = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
          var el;
          var resizeScale;

          if (element === 'value') {
            el = this.valueTextEl;
            resizeScale = this.valueResizeScale;
          } else {
            el = this.unitsTextEl;
            resizeScale = this.unitsResizeScale;
          }

          var _el$nativeElement$get = el.nativeElement.getBoundingClientRect(),
              width = _el$nativeElement$get.width,
              height = _el$nativeElement$get.height;

          if (width === 0 || height === 0) return;
          var oldScale = resizeScale;
          var availableWidth = this.dims.width;
          var availableHeight = Math.max(this.dims.height / 2 - 15, 0);
          var resizeScaleWidth = Math.floor(availableWidth / (width / resizeScale) * 100) / 100;
          var resizeScaleHeight = Math.floor(availableHeight / (height / resizeScale) * 100) / 100;
          resizeScale = Math.min(resizeScaleHeight, resizeScaleWidth);

          if (resizeScale !== oldScale) {
            if (element === 'value') {
              this.valueResizeScale = resizeScale;
              this.valueTextTransform = "scale(".concat(resizeScale, ", ").concat(resizeScale, ")");
            } else {
              this.unitsResizeScale = resizeScale;
              this.unitsTextTransform = "scale(".concat(resizeScale, ", ").concat(resizeScale, ")");
            }

            this.cd.markForCheck();

            if (repeat) {
              setTimeout(function () {
                _this89.scaleText(element, false);
              }, 50);
            }
          }
        }
      }, {
        key: "onClick",
        value: function onClick() {
          this.select.emit({
            name: 'Value',
            value: this.value
          });
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, 'ordinal', [this.value], this.customColors);
        }
      }]);

      return LinearGaugeComponent;
    }(BaseChartComponent);

    LinearGaugeComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-linear-gauge',
        template: "\n    <ngx-charts-chart [view]=\"[width, height]\" [showLegend]=\"false\" [animations]=\"animations\" (click)=\"onClick()\">\n      <svg:g class=\"linear-gauge chart\">\n        <svg:g\n          ngx-charts-bar\n          class=\"background-bar\"\n          [width]=\"dims.width\"\n          [height]=\"3\"\n          [x]=\"margin[3]\"\n          [y]=\"dims.height / 2 + margin[0] - 2\"\n          [data]=\"{}\"\n          [orientation]=\"'horizontal'\"\n          [roundEdges]=\"true\"\n          [animations]=\"animations\"\n        ></svg:g>\n        <svg:g\n          ngx-charts-bar\n          [width]=\"valueScale(value)\"\n          [height]=\"3\"\n          [x]=\"margin[3]\"\n          [y]=\"dims.height / 2 + margin[0] - 2\"\n          [fill]=\"colors.getColor(units)\"\n          [data]=\"{}\"\n          [orientation]=\"'horizontal'\"\n          [roundEdges]=\"true\"\n          [animations]=\"animations\"\n        ></svg:g>\n\n        <svg:line\n          *ngIf=\"hasPreviousValue\"\n          [attr.transform]=\"transformLine\"\n          x1=\"0\"\n          y1=\"5\"\n          x2=\"0\"\n          y2=\"15\"\n          [attr.stroke]=\"colors.getColor(units)\"\n        />\n\n        <svg:line\n          *ngIf=\"hasPreviousValue\"\n          [attr.transform]=\"transformLine\"\n          x1=\"0\"\n          y1=\"-5\"\n          x2=\"0\"\n          y2=\"-15\"\n          [attr.stroke]=\"colors.getColor(units)\"\n        />\n\n        <svg:g [attr.transform]=\"transform\">\n          <svg:g [attr.transform]=\"valueTranslate\">\n            <svg:text\n              #valueTextEl\n              class=\"value\"\n              [style.textAnchor]=\"'middle'\"\n              [attr.transform]=\"valueTextTransform\"\n              alignment-baseline=\"after-edge\"\n            >\n              {{ displayValue }}\n            </svg:text>\n          </svg:g>\n\n          <svg:g [attr.transform]=\"unitsTranslate\">\n            <svg:text\n              #unitsTextEl\n              class=\"units\"\n              [style.textAnchor]=\"'middle'\"\n              [attr.transform]=\"unitsTextTransform\"\n              alignment-baseline=\"before-edge\"\n            >\n              {{ units }}\n            </svg:text>\n          </svg:g>\n        </svg:g>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:rgba(0,0,0,.05)}.linear-gauge .units{fill:#666}"]
      }]
    }];
    LinearGaugeComponent.propDecorators = {
      min: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      max: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      value: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      units: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      previousValue: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueTextEl: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['valueTextEl']
      }],
      unitsTextEl: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['unitsTextEl']
      }]
    };

    var GaugeComponent = /*#__PURE__*/function (_BaseChartComponent22) {
      _inherits(GaugeComponent, _BaseChartComponent22);

      var _super33 = _createSuper(GaugeComponent);

      function GaugeComponent() {
        var _this90;

        _classCallCheck(this, GaugeComponent);

        _this90 = _super33.apply(this, arguments);
        _this90.legend = false;
        _this90.legendTitle = 'Legend';
        _this90.legendPosition = 'right';
        _this90.min = 0;
        _this90.max = 100;
        _this90.bigSegments = 10;
        _this90.smallSegments = 5;
        _this90.showAxis = true;
        _this90.startAngle = -120;
        _this90.angleSpan = 240;
        _this90.activeEntries = [];
        _this90.tooltipDisabled = false;
        _this90.showText = true;
        _this90.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this90.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this90.resizeScale = 1;
        _this90.rotation = '';
        _this90.textTransform = 'scale(1, 1)';
        _this90.cornerRadius = 10;
        return _this90;
      }

      _createClass(GaugeComponent, [{
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var _this91 = this;

          _get(_getPrototypeOf(GaugeComponent.prototype), "ngAfterViewInit", this).call(this);

          setTimeout(function () {
            return _this91.scaleText();
          });
        }
      }, {
        key: "update",
        value: function update() {
          var _this92 = this;

          _get(_getPrototypeOf(GaugeComponent.prototype), "update", this).call(this);

          if (!this.showAxis) {
            if (!this.margin) {
              this.margin = [10, 20, 10, 20];
            }
          } else {
            if (!this.margin) {
              this.margin = [60, 100, 60, 100];
            }
          } // make the starting angle positive


          if (this.startAngle < 0) {
            this.startAngle = this.startAngle % 360 + 360;
          }

          this.angleSpan = Math.min(this.angleSpan, 360);
          this.dims = calculateViewDimensions({
            width: this.width,
            height: this.height,
            margins: this.margin,
            showLegend: this.legend,
            legendPosition: this.legendPosition
          });
          this.domain = this.getDomain();
          this.valueDomain = this.getValueDomain();
          this.valueScale = this.getValueScale();
          this.displayValue = this.getDisplayValue();
          this.outerRadius = Math.min(this.dims.width, this.dims.height) / 2;
          this.arcs = this.getArcs();
          this.setColors();
          this.legendOptions = this.getLegendOptions();
          var xOffset = this.margin[3] + this.dims.width / 2;
          var yOffset = this.margin[0] + this.dims.height / 2;
          this.transform = "translate(".concat(xOffset, ", ").concat(yOffset, ")");
          this.rotation = "rotate(".concat(this.startAngle, ")");
          setTimeout(function () {
            return _this92.scaleText();
          }, 50);
        }
      }, {
        key: "getArcs",
        value: function getArcs() {
          var arcs = [];
          var availableRadius = this.outerRadius * 0.7;
          var radiusPerArc = Math.min(availableRadius / this.results.length, 10);
          var arcWidth = radiusPerArc * 0.7;
          this.textRadius = this.outerRadius - this.results.length * radiusPerArc;
          this.cornerRadius = Math.floor(arcWidth / 2);
          var i = 0;

          var _iterator74 = _createForOfIteratorHelper(this.results),
              _step74;

          try {
            for (_iterator74.s(); !(_step74 = _iterator74.n()).done;) {
              var d = _step74.value;
              var outerRadius = this.outerRadius - i * radiusPerArc;
              var innerRadius = outerRadius - arcWidth;
              var backgroundArc = {
                endAngle: this.angleSpan * Math.PI / 180,
                innerRadius: innerRadius,
                outerRadius: outerRadius,
                data: {
                  value: this.max,
                  name: d.name
                }
              };
              var valueArc = {
                endAngle: Math.min(this.valueScale(d.value), this.angleSpan) * Math.PI / 180,
                innerRadius: innerRadius,
                outerRadius: outerRadius,
                data: {
                  value: d.value,
                  name: d.name
                }
              };
              var arc = {
                backgroundArc: backgroundArc,
                valueArc: valueArc
              };
              arcs.push(arc);
              i++;
            }
          } catch (err) {
            _iterator74.e(err);
          } finally {
            _iterator74.f();
          }

          return arcs;
        }
      }, {
        key: "getDomain",
        value: function getDomain() {
          return this.results.map(function (d) {
            return d.name;
          });
        }
      }, {
        key: "getValueDomain",
        value: function getValueDomain() {
          var values = this.results.map(function (d) {
            return d.value;
          });
          var dataMin = Math.min.apply(Math, _toConsumableArray(values));
          var dataMax = Math.max.apply(Math, _toConsumableArray(values));

          if (this.min !== undefined) {
            this.min = Math.min(this.min, dataMin);
          } else {
            this.min = dataMin;
          }

          if (this.max !== undefined) {
            this.max = Math.max(this.max, dataMax);
          } else {
            this.max = dataMax;
          }

          return [this.min, this.max];
        }
      }, {
        key: "getValueScale",
        value: function getValueScale() {
          return Object(d3_scale__WEBPACK_IMPORTED_MODULE_9__["scaleLinear"])().range([0, this.angleSpan]).nice().domain(this.valueDomain);
        }
      }, {
        key: "getDisplayValue",
        value: function getDisplayValue() {
          var value = this.results.map(function (d) {
            return d.value;
          }).reduce(function (a, b) {
            return a + b;
          }, 0);

          if (this.textValue && 0 !== this.textValue.length) {
            return this.textValue.toLocaleString();
          }

          if (this.valueFormatting) {
            return this.valueFormatting(value);
          }

          return value.toLocaleString();
        }
      }, {
        key: "scaleText",
        value: function scaleText() {
          var _this93 = this;

          var repeat = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;

          if (!this.showText) {
            return;
          }

          var _this$textEl$nativeEl = this.textEl.nativeElement.getBoundingClientRect(),
              width = _this$textEl$nativeEl.width;

          var oldScale = this.resizeScale;

          if (width === 0) {
            this.resizeScale = 1;
          } else {
            var availableSpace = this.textRadius;
            this.resizeScale = Math.floor(availableSpace / (width / this.resizeScale) * 100) / 100;
          }

          if (this.resizeScale !== oldScale) {
            this.textTransform = "scale(".concat(this.resizeScale, ", ").concat(this.resizeScale, ")");
            this.cd.markForCheck();

            if (repeat) {
              setTimeout(function () {
                return _this93.scaleText(false);
              }, 50);
            }
          }
        }
      }, {
        key: "onClick",
        value: function onClick(data) {
          this.select.emit(data);
        }
      }, {
        key: "getLegendOptions",
        value: function getLegendOptions() {
          return {
            scaleType: 'ordinal',
            colors: this.colors,
            domain: this.domain,
            title: this.legendTitle,
            position: this.legendPosition
          };
        }
      }, {
        key: "setColors",
        value: function setColors() {
          this.colors = new ColorHelper(this.scheme, 'ordinal', this.domain, this.customColors);
        }
      }, {
        key: "onActivate",
        value: function onActivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });

          if (idx > -1) {
            return;
          }

          this.activeEntries = [item].concat(_toConsumableArray(this.activeEntries));
          this.activate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "onDeactivate",
        value: function onDeactivate(item) {
          var idx = this.activeEntries.findIndex(function (d) {
            return d.name === item.name && d.value === item.value;
          });
          this.activeEntries.splice(idx, 1);
          this.activeEntries = _toConsumableArray(this.activeEntries);
          this.deactivate.emit({
            value: item,
            entries: this.activeEntries
          });
        }
      }, {
        key: "isActive",
        value: function isActive(entry) {
          if (!this.activeEntries) return false;
          var item = this.activeEntries.find(function (d) {
            return entry.name === d.name && entry.series === d.series;
          });
          return item !== undefined;
        }
      }, {
        key: "trackBy",
        value: function trackBy(index, item) {
          return item.valueArc.data.name;
        }
      }]);

      return GaugeComponent;
    }(BaseChartComponent);

    GaugeComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-charts-gauge',
        template: "\n    <ngx-charts-chart\n      [view]=\"[width, height]\"\n      [showLegend]=\"legend\"\n      [legendOptions]=\"legendOptions\"\n      [activeEntries]=\"activeEntries\"\n      [animations]=\"animations\"\n      (legendLabelClick)=\"onClick($event)\"\n      (legendLabelActivate)=\"onActivate($event)\"\n      (legendLabelDeactivate)=\"onDeactivate($event)\"\n    >\n      <svg:g [attr.transform]=\"transform\" class=\"gauge chart\">\n        <svg:g *ngFor=\"let arc of arcs; trackBy: trackBy\" [attr.transform]=\"rotation\">\n          <svg:g\n            ngx-charts-gauge-arc\n            [backgroundArc]=\"arc.backgroundArc\"\n            [valueArc]=\"arc.valueArc\"\n            [cornerRadius]=\"cornerRadius\"\n            [colors]=\"colors\"\n            [isActive]=\"isActive(arc.valueArc.data)\"\n            [tooltipDisabled]=\"tooltipDisabled\"\n            [tooltipTemplate]=\"tooltipTemplate\"\n            [valueFormatting]=\"valueFormatting\"\n            [animations]=\"animations\"\n            (select)=\"onClick($event)\"\n            (activate)=\"onActivate($event)\"\n            (deactivate)=\"onDeactivate($event)\"\n          ></svg:g>\n        </svg:g>\n\n        <svg:g\n          ngx-charts-gauge-axis\n          *ngIf=\"showAxis\"\n          [bigSegments]=\"bigSegments\"\n          [smallSegments]=\"smallSegments\"\n          [min]=\"min\"\n          [max]=\"max\"\n          [radius]=\"outerRadius\"\n          [angleSpan]=\"angleSpan\"\n          [valueScale]=\"valueScale\"\n          [startAngle]=\"startAngle\"\n          [tickFormatting]=\"axisTickFormatting\"\n        ></svg:g>\n\n        <svg:text\n          #textEl\n          *ngIf=\"showText\"\n          [style.textAnchor]=\"'middle'\"\n          [attr.transform]=\"textTransform\"\n          alignment-baseline=\"central\"\n        >\n          <tspan x=\"0\" dy=\"0\">{{ displayValue }}</tspan>\n          <tspan x=\"0\" dy=\"1.2em\">{{ units }}</tspan>\n        </svg:text>\n      </svg:g>\n    </ngx-charts-chart>\n  ",
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        styles: [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".gauge .background-arc path{fill:rgba(0,0,0,.05)}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{fill:#666;font-size:12px;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}"]
      }]
    }];
    GaugeComponent.propDecorators = {
      legend: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendTitle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      legendPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      min: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      max: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      textValue: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      units: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      bigSegments: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      smallSegments: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      results: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showAxis: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      startAngle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      angleSpan: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activeEntries: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      axisTickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      showText: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      margin: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: ['tooltipTemplate']
      }],
      textEl: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['textEl']
      }]
    };

    var GaugeArcComponent = /*#__PURE__*/function () {
      function GaugeArcComponent() {
        _classCallCheck(this, GaugeArcComponent);

        this.isActive = false;
        this.tooltipDisabled = false;
        this.animations = true;
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.deactivate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(GaugeArcComponent, [{
        key: "tooltipText",
        value: function tooltipText(arc) {
          var label = formatLabel(arc.data.name);
          var val;

          if (this.valueFormatting) {
            val = this.valueFormatting(arc.data.value);
          } else {
            val = formatLabel(arc.data.value);
          }

          return "\n      <span class=\"tooltip-label\">".concat(escapeLabel(label), "</span>\n      <span class=\"tooltip-val\">").concat(val, "</span>\n    ");
        }
      }]);

      return GaugeArcComponent;
    }();

    GaugeArcComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-gauge-arc]',
        template: "\n    <svg:g\n      ngx-charts-pie-arc\n      class=\"background-arc\"\n      [startAngle]=\"0\"\n      [endAngle]=\"backgroundArc.endAngle\"\n      [innerRadius]=\"backgroundArc.innerRadius\"\n      [outerRadius]=\"backgroundArc.outerRadius\"\n      [cornerRadius]=\"cornerRadius\"\n      [data]=\"backgroundArc.data\"\n      [animate]=\"false\"\n      [pointerEvents]=\"false\"\n    ></svg:g>\n    <svg:g\n      ngx-charts-pie-arc\n      [startAngle]=\"0\"\n      [endAngle]=\"valueArc.endAngle\"\n      [innerRadius]=\"valueArc.innerRadius\"\n      [outerRadius]=\"valueArc.outerRadius\"\n      [cornerRadius]=\"cornerRadius\"\n      [fill]=\"colors.getColor(valueArc.data.name)\"\n      [data]=\"valueArc.data\"\n      [animate]=\"animations\"\n      [isActive]=\"isActive\"\n      (select)=\"select.emit($event)\"\n      (activate)=\"activate.emit($event)\"\n      (deactivate)=\"deactivate.emit($event)\"\n      ngx-tooltip\n      [tooltipDisabled]=\"tooltipDisabled\"\n      [tooltipPlacement]=\"'top'\"\n      [tooltipType]=\"'tooltip'\"\n      [tooltipTitle]=\"tooltipTemplate ? undefined : tooltipText(valueArc)\"\n      [tooltipTemplate]=\"tooltipTemplate\"\n      [tooltipContext]=\"valueArc.data\"\n    ></svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    GaugeArcComponent.propDecorators = {
      backgroundArc: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueArc: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cornerRadius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      colors: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isActive: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipDisabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tooltipTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      animations: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      deactivate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var GaugeAxisComponent = /*#__PURE__*/function () {
      function GaugeAxisComponent() {
        _classCallCheck(this, GaugeAxisComponent);

        this.rotate = '';
      }

      _createClass(GaugeAxisComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          this.update();
        }
      }, {
        key: "update",
        value: function update() {
          this.rotationAngle = -90 + this.startAngle;
          this.rotate = "rotate(".concat(this.rotationAngle, ")");
          this.ticks = this.getTicks();
        }
      }, {
        key: "getTicks",
        value: function getTicks() {
          var bigTickSegment = this.angleSpan / this.bigSegments;
          var smallTickSegment = bigTickSegment / this.smallSegments;
          var tickLength = 20;
          var ticks = {
            big: [],
            small: []
          };
          var startDistance = this.radius + 10;
          var textDist = startDistance + tickLength + 10;

          for (var _i23 = 0; _i23 <= this.bigSegments; _i23++) {
            var angleDeg = _i23 * bigTickSegment;
            var angle = angleDeg * Math.PI / 180;
            var textAnchor = this.getTextAnchor(angleDeg);
            var skip = false;

            if (_i23 === 0 && this.angleSpan === 360) {
              skip = true;
            }

            if (!skip) {
              var text = Number.parseFloat(this.valueScale.invert(angleDeg).toString()).toLocaleString();

              if (this.tickFormatting) {
                text = this.tickFormatting(text);
              }

              ticks.big.push({
                line: this.getTickPath(startDistance, tickLength, angle),
                textAnchor: textAnchor,
                text: text,
                textTransform: "\n            translate(".concat(textDist * Math.cos(angle), ", ").concat(textDist * Math.sin(angle), ") rotate(").concat(-this.rotationAngle, ")\n          ")
              });
            }

            if (_i23 === this.bigSegments) {
              continue;
            }

            for (var j = 1; j <= this.smallSegments; j++) {
              var smallAngleDeg = angleDeg + j * smallTickSegment;
              var smallAngle = smallAngleDeg * Math.PI / 180;
              ticks.small.push({
                line: this.getTickPath(startDistance, tickLength / 2, smallAngle)
              });
            }
          }

          return ticks;
        }
      }, {
        key: "getTextAnchor",
        value: function getTextAnchor(angle) {
          // [0, 45] = 'middle';
          // [46, 135] = 'start';
          // [136, 225] = 'middle';
          // [226, 315] = 'end';
          angle = (this.startAngle + angle) % 360;
          var textAnchor = 'middle';

          if (angle > 45 && angle <= 135) {
            textAnchor = 'start';
          } else if (angle > 225 && angle <= 315) {
            textAnchor = 'end';
          }

          return textAnchor;
        }
      }, {
        key: "getTickPath",
        value: function getTickPath(startDistance, tickLength, angle) {
          var y1 = startDistance * Math.sin(angle);
          var y2 = (startDistance + tickLength) * Math.sin(angle);
          var x1 = startDistance * Math.cos(angle);
          var x2 = (startDistance + tickLength) * Math.cos(angle);
          var points = [{
            x: x1,
            y: y1
          }, {
            x: x2,
            y: y2
          }];
          var lineGenerator = Object(d3_shape__WEBPACK_IMPORTED_MODULE_11__["line"])().x(function (d) {
            return d.x;
          }).y(function (d) {
            return d.y;
          });
          return lineGenerator(points);
        }
      }]);

      return GaugeAxisComponent;
    }();

    GaugeAxisComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'g[ngx-charts-gauge-axis]',
        template: "\n    <svg:g [attr.transform]=\"rotate\">\n      <svg:g *ngFor=\"let tick of ticks.big\" class=\"gauge-tick gauge-tick-large\">\n        <svg:path [attr.d]=\"tick.line\" />\n      </svg:g>\n      <svg:g *ngFor=\"let tick of ticks.big\" class=\"gauge-tick gauge-tick-large\">\n        <svg:text\n          [style.textAnchor]=\"tick.textAnchor\"\n          [attr.transform]=\"tick.textTransform\"\n          alignment-baseline=\"central\"\n        >\n          {{ tick.text }}\n        </svg:text>\n      </svg:g>\n      <svg:g *ngFor=\"let tick of ticks.small\" class=\"gauge-tick gauge-tick-small\">\n        <svg:path [attr.d]=\"tick.line\" />\n      </svg:g>\n    </svg:g>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    GaugeAxisComponent.propDecorators = {
      bigSegments: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      smallSegments: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      min: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      max: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      angleSpan: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      startAngle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      radius: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      valueScale: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      tickFormatting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var GaugeModule = /*#__PURE__*/_createClass(function GaugeModule() {
      _classCallCheck(this, GaugeModule);
    });

    GaugeModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [ChartCommonModule, PieChartModule, BarChartModule],
        declarations: [LinearGaugeComponent, GaugeComponent, GaugeArcComponent, GaugeAxisComponent],
        exports: [LinearGaugeComponent, GaugeComponent, GaugeArcComponent, GaugeAxisComponent]
      }]
    }]; // The export is needed here to generate a valid polyfills.metadata.json file

    function ngxChartsPolyfills() {
      // IE11 fix
      // Ref: https://github.com/swimlane/ngx-charts/issues/386
      if (typeof SVGElement !== 'undefined' && typeof SVGElement.prototype.contains === 'undefined') {
        SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
      }
    }

    var NgxChartsModule = /*#__PURE__*/_createClass(function NgxChartsModule() {
      _classCallCheck(this, NgxChartsModule);

      ngxChartsPolyfills();
    });

    NgxChartsModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        exports: [ChartCommonModule, AreaChartModule, BarChartModule, BubbleChartModule, HeatMapModule, LineChartModule, PolarChartModule, NumberCardModule, PieChartModule, TreeMapModule, GaugeModule]
      }]
    }];

    NgxChartsModule.ctorParameters = function () {
      return [];
    };

    function tickFormat(fieldType, groupByType) {
      return function (label) {
        if (label === 'No Value' || label === 'Other') {
          return label;
        }

        if (fieldType === 'date' && groupByType === 'groupBy') {
          var formatter = Object(d3_time_format__WEBPACK_IMPORTED_MODULE_17__["timeFormat"])('MM/DD/YYYY');
          return formatter(label);
        }

        return label.toString();
      };
    }
    /*
     * Public API Surface of ngx-charts
     */

    /**
     * Generated bundle index. Do not edit.
     */
    //# sourceMappingURL=swimlane-ngx-charts.js.map

    /***/

  },

  /***/
  "./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js ***!
    \****************************************************************************/

  /*! exports provided: NgxChartsModuleNgFactory, AreaChartModuleNgFactory, BarChartModuleNgFactory, BubbleChartModuleNgFactory, ChartCommonModuleNgFactory, TooltipModuleNgFactory, AxesModuleNgFactory, GaugeModuleNgFactory, HeatMapModuleNgFactory, LineChartModuleNgFactory, NumberCardModuleNgFactory, PieChartModuleNgFactory, PolarChartModuleNgFactory, TreeMapModuleNgFactory, RenderType_AreaChartComponent, View_AreaChartComponent_0, View_AreaChartComponent_Host_0, AreaChartComponentNgFactory, RenderType_AreaChartNormalizedComponent, View_AreaChartNormalizedComponent_0, View_AreaChartNormalizedComponent_Host_0, AreaChartNormalizedComponentNgFactory, RenderType_AreaChartStackedComponent, View_AreaChartStackedComponent_0, View_AreaChartStackedComponent_Host_0, AreaChartStackedComponentNgFactory, RenderType_AreaSeriesComponent, View_AreaSeriesComponent_0, View_AreaSeriesComponent_Host_0, AreaSeriesComponentNgFactory, RenderType_BarComponent, View_BarComponent_0, View_BarComponent_Host_0, BarComponentNgFactory, RenderType_BarHorizontalComponent, View_BarHorizontalComponent_0, View_BarHorizontalComponent_Host_0, BarHorizontalComponentNgFactory, RenderType_BarHorizontal2DComponent, View_BarHorizontal2DComponent_0, View_BarHorizontal2DComponent_Host_0, BarHorizontal2DComponentNgFactory, RenderType_BarHorizontalNormalizedComponent, View_BarHorizontalNormalizedComponent_0, View_BarHorizontalNormalizedComponent_Host_0, BarHorizontalNormalizedComponentNgFactory, RenderType_BarHorizontalStackedComponent, View_BarHorizontalStackedComponent_0, View_BarHorizontalStackedComponent_Host_0, BarHorizontalStackedComponentNgFactory, RenderType_SeriesHorizontal, View_SeriesHorizontal_0, View_SeriesHorizontal_Host_0, SeriesHorizontalNgFactory, RenderType_BarLabelComponent, View_BarLabelComponent_0, View_BarLabelComponent_Host_0, BarLabelComponentNgFactory, RenderType_BarVerticalComponent, View_BarVerticalComponent_0, View_BarVerticalComponent_Host_0, BarVerticalComponentNgFactory, RenderType_BarVertical2DComponent, View_BarVertical2DComponent_0, View_BarVertical2DComponent_Host_0, BarVertical2DComponentNgFactory, RenderType_BarVerticalNormalizedComponent, View_BarVerticalNormalizedComponent_0, View_BarVerticalNormalizedComponent_Host_0, BarVerticalNormalizedComponentNgFactory, RenderType_BarVerticalStackedComponent, View_BarVerticalStackedComponent_0, View_BarVerticalStackedComponent_Host_0, BarVerticalStackedComponentNgFactory, RenderType_SeriesVerticalComponent, View_SeriesVerticalComponent_0, View_SeriesVerticalComponent_Host_0, SeriesVerticalComponentNgFactory, RenderType_BubbleChartComponent, View_BubbleChartComponent_0, View_BubbleChartComponent_Host_0, BubbleChartComponentNgFactory, RenderType_BubbleSeriesComponent, View_BubbleSeriesComponent_0, View_BubbleSeriesComponent_Host_0, BubbleSeriesComponentNgFactory, RenderType_LegendComponent, View_LegendComponent_0, View_LegendComponent_Host_0, LegendComponentNgFactory, RenderType_ScaleLegendComponent, View_ScaleLegendComponent_0, View_ScaleLegendComponent_Host_0, ScaleLegendComponentNgFactory, RenderType_LegendEntryComponent, View_LegendEntryComponent_0, View_LegendEntryComponent_Host_0, LegendEntryComponentNgFactory, RenderType_AdvancedLegendComponent, View_AdvancedLegendComponent_0, View_AdvancedLegendComponent_Host_0, AdvancedLegendComponentNgFactory, RenderType_TooltipContentComponent, View_TooltipContentComponent_0, View_TooltipContentComponent_Host_0, TooltipContentComponentNgFactory, RenderType_AxisLabelComponent, View_AxisLabelComponent_0, View_AxisLabelComponent_Host_0, AxisLabelComponentNgFactory, RenderType_XAxisComponent, View_XAxisComponent_0, View_XAxisComponent_Host_0, XAxisComponentNgFactory, RenderType_XAxisTicksComponent, View_XAxisTicksComponent_0, View_XAxisTicksComponent_Host_0, XAxisTicksComponentNgFactory, RenderType_YAxisComponent, View_YAxisComponent_0, View_YAxisComponent_Host_0, YAxisComponentNgFactory, RenderType_YAxisTicksComponent, View_YAxisTicksComponent_0, View_YAxisTicksComponent_Host_0, YAxisTicksComponentNgFactory, RenderType_CountUpDirective, View_CountUpDirective_0, View_CountUpDirective_Host_0, CountUpDirectiveNgFactory, RenderType_Timeline, View_Timeline_0, View_Timeline_Host_0, TimelineNgFactory, RenderType_ChartComponent, View_ChartComponent_0, View_ChartComponent_Host_0, ChartComponentNgFactory, RenderType_AreaComponent, View_AreaComponent_0, View_AreaComponent_Host_0, AreaComponentNgFactory, RenderType_BaseChartComponent, View_BaseChartComponent_0, View_BaseChartComponent_Host_0, BaseChartComponentNgFactory, RenderType_CircleComponent, View_CircleComponent_0, View_CircleComponent_Host_0, CircleComponentNgFactory, RenderType_CircleSeriesComponent, View_CircleSeriesComponent_0, View_CircleSeriesComponent_Host_0, CircleSeriesComponentNgFactory, RenderType_GridPanelComponent, View_GridPanelComponent_0, View_GridPanelComponent_Host_0, GridPanelComponentNgFactory, RenderType_GridPanelSeriesComponent, View_GridPanelSeriesComponent_0, View_GridPanelSeriesComponent_Host_0, GridPanelSeriesComponentNgFactory, RenderType_SvgLinearGradientComponent, View_SvgLinearGradientComponent_0, View_SvgLinearGradientComponent_Host_0, SvgLinearGradientComponentNgFactory, RenderType_SvgRadialGradientComponent, View_SvgRadialGradientComponent_0, View_SvgRadialGradientComponent_Host_0, SvgRadialGradientComponentNgFactory, RenderType_TooltipArea, View_TooltipArea_0, View_TooltipArea_Host_0, TooltipAreaNgFactory, RenderType_GaugeArcComponent, View_GaugeArcComponent_0, View_GaugeArcComponent_Host_0, GaugeArcComponentNgFactory, RenderType_GaugeAxisComponent, View_GaugeAxisComponent_0, View_GaugeAxisComponent_Host_0, GaugeAxisComponentNgFactory, RenderType_GaugeComponent, View_GaugeComponent_0, View_GaugeComponent_Host_0, GaugeComponentNgFactory, RenderType_LinearGaugeComponent, View_LinearGaugeComponent_0, View_LinearGaugeComponent_Host_0, LinearGaugeComponentNgFactory, RenderType_HeatMapComponent, View_HeatMapComponent_0, View_HeatMapComponent_Host_0, HeatMapComponentNgFactory, RenderType_HeatMapCellComponent, View_HeatMapCellComponent_0, View_HeatMapCellComponent_Host_0, HeatMapCellComponentNgFactory, RenderType_HeatCellSeriesComponent, View_HeatCellSeriesComponent_0, View_HeatCellSeriesComponent_Host_0, HeatCellSeriesComponentNgFactory, RenderType_LineChartComponent, View_LineChartComponent_0, View_LineChartComponent_Host_0, LineChartComponentNgFactory, RenderType_LineComponent, View_LineComponent_0, View_LineComponent_Host_0, LineComponentNgFactory, RenderType_LineSeriesComponent, View_LineSeriesComponent_0, View_LineSeriesComponent_Host_0, LineSeriesComponentNgFactory, RenderType_NumberCardComponent, View_NumberCardComponent_0, View_NumberCardComponent_Host_0, NumberCardComponentNgFactory, RenderType_CardComponent, View_CardComponent_0, View_CardComponent_Host_0, CardComponentNgFactory, RenderType_CardSeriesComponent, View_CardSeriesComponent_0, View_CardSeriesComponent_Host_0, CardSeriesComponentNgFactory, RenderType_AdvancedPieChartComponent, View_AdvancedPieChartComponent_0, View_AdvancedPieChartComponent_Host_0, AdvancedPieChartComponentNgFactory, RenderType_PieChartComponent, View_PieChartComponent_0, View_PieChartComponent_Host_0, PieChartComponentNgFactory, RenderType_PieArcComponent, View_PieArcComponent_0, View_PieArcComponent_Host_0, PieArcComponentNgFactory, RenderType_PieGridComponent, View_PieGridComponent_0, View_PieGridComponent_Host_0, PieGridComponentNgFactory, RenderType_PieGridSeriesComponent, View_PieGridSeriesComponent_0, View_PieGridSeriesComponent_Host_0, PieGridSeriesComponentNgFactory, RenderType_PieSeriesComponent, View_PieSeriesComponent_0, View_PieSeriesComponent_Host_0, PieSeriesComponentNgFactory, RenderType_PieLabelComponent, View_PieLabelComponent_0, View_PieLabelComponent_Host_0, PieLabelComponentNgFactory, RenderType_PolarChartComponent, View_PolarChartComponent_0, View_PolarChartComponent_Host_0, PolarChartComponentNgFactory, RenderType_PolarSeriesComponent, View_PolarSeriesComponent_0, View_PolarSeriesComponent_Host_0, PolarSeriesComponentNgFactory, RenderType_TreeMapComponent, View_TreeMapComponent_0, View_TreeMapComponent_Host_0, TreeMapComponentNgFactory, RenderType_TreeMapCellComponent, View_TreeMapCellComponent_0, View_TreeMapCellComponent_Host_0, TreeMapCellComponentNgFactory, RenderType_TreeMapCellSeriesComponent, View_TreeMapCellSeriesComponent_0, View_TreeMapCellSeriesComponent_Host_0, TreeMapCellSeriesComponentNgFactory */

  /***/
  function node_modulesSwimlaneNgxChartsSwimlaneNgxChartsNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NgxChartsModuleNgFactory", function () {
      return NgxChartsModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartModuleNgFactory", function () {
      return AreaChartModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarChartModuleNgFactory", function () {
      return BarChartModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BubbleChartModuleNgFactory", function () {
      return BubbleChartModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ChartCommonModuleNgFactory", function () {
      return ChartCommonModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipModuleNgFactory", function () {
      return TooltipModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AxesModuleNgFactory", function () {
      return AxesModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeModuleNgFactory", function () {
      return GaugeModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatMapModuleNgFactory", function () {
      return HeatMapModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineChartModuleNgFactory", function () {
      return LineChartModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardModuleNgFactory", function () {
      return NumberCardModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartModuleNgFactory", function () {
      return PieChartModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PolarChartModuleNgFactory", function () {
      return PolarChartModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapModuleNgFactory", function () {
      return TreeMapModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AreaChartComponent", function () {
      return RenderType_AreaChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaChartComponent_0", function () {
      return View_AreaChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaChartComponent_Host_0", function () {
      return View_AreaChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartComponentNgFactory", function () {
      return AreaChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AreaChartNormalizedComponent", function () {
      return RenderType_AreaChartNormalizedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaChartNormalizedComponent_0", function () {
      return View_AreaChartNormalizedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaChartNormalizedComponent_Host_0", function () {
      return View_AreaChartNormalizedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartNormalizedComponentNgFactory", function () {
      return AreaChartNormalizedComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AreaChartStackedComponent", function () {
      return RenderType_AreaChartStackedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaChartStackedComponent_0", function () {
      return View_AreaChartStackedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaChartStackedComponent_Host_0", function () {
      return View_AreaChartStackedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaChartStackedComponentNgFactory", function () {
      return AreaChartStackedComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AreaSeriesComponent", function () {
      return RenderType_AreaSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaSeriesComponent_0", function () {
      return View_AreaSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaSeriesComponent_Host_0", function () {
      return View_AreaSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaSeriesComponentNgFactory", function () {
      return AreaSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarComponent", function () {
      return RenderType_BarComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarComponent_0", function () {
      return View_BarComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarComponent_Host_0", function () {
      return View_BarComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarComponentNgFactory", function () {
      return BarComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontalComponent", function () {
      return RenderType_BarHorizontalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontalComponent_0", function () {
      return View_BarHorizontalComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontalComponent_Host_0", function () {
      return View_BarHorizontalComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontalComponentNgFactory", function () {
      return BarHorizontalComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontal2DComponent", function () {
      return RenderType_BarHorizontal2DComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontal2DComponent_0", function () {
      return View_BarHorizontal2DComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontal2DComponent_Host_0", function () {
      return View_BarHorizontal2DComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontal2DComponentNgFactory", function () {
      return BarHorizontal2DComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontalNormalizedComponent", function () {
      return RenderType_BarHorizontalNormalizedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontalNormalizedComponent_0", function () {
      return View_BarHorizontalNormalizedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontalNormalizedComponent_Host_0", function () {
      return View_BarHorizontalNormalizedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontalNormalizedComponentNgFactory", function () {
      return BarHorizontalNormalizedComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarHorizontalStackedComponent", function () {
      return RenderType_BarHorizontalStackedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontalStackedComponent_0", function () {
      return View_BarHorizontalStackedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarHorizontalStackedComponent_Host_0", function () {
      return View_BarHorizontalStackedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarHorizontalStackedComponentNgFactory", function () {
      return BarHorizontalStackedComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_SeriesHorizontal", function () {
      return RenderType_SeriesHorizontal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SeriesHorizontal_0", function () {
      return View_SeriesHorizontal_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SeriesHorizontal_Host_0", function () {
      return View_SeriesHorizontal_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SeriesHorizontalNgFactory", function () {
      return SeriesHorizontalNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarLabelComponent", function () {
      return RenderType_BarLabelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarLabelComponent_0", function () {
      return View_BarLabelComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarLabelComponent_Host_0", function () {
      return View_BarLabelComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarLabelComponentNgFactory", function () {
      return BarLabelComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarVerticalComponent", function () {
      return RenderType_BarVerticalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVerticalComponent_0", function () {
      return View_BarVerticalComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVerticalComponent_Host_0", function () {
      return View_BarVerticalComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVerticalComponentNgFactory", function () {
      return BarVerticalComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarVertical2DComponent", function () {
      return RenderType_BarVertical2DComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVertical2DComponent_0", function () {
      return View_BarVertical2DComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVertical2DComponent_Host_0", function () {
      return View_BarVertical2DComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVertical2DComponentNgFactory", function () {
      return BarVertical2DComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarVerticalNormalizedComponent", function () {
      return RenderType_BarVerticalNormalizedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVerticalNormalizedComponent_0", function () {
      return View_BarVerticalNormalizedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVerticalNormalizedComponent_Host_0", function () {
      return View_BarVerticalNormalizedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVerticalNormalizedComponentNgFactory", function () {
      return BarVerticalNormalizedComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BarVerticalStackedComponent", function () {
      return RenderType_BarVerticalStackedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVerticalStackedComponent_0", function () {
      return View_BarVerticalStackedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BarVerticalStackedComponent_Host_0", function () {
      return View_BarVerticalStackedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BarVerticalStackedComponentNgFactory", function () {
      return BarVerticalStackedComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_SeriesVerticalComponent", function () {
      return RenderType_SeriesVerticalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SeriesVerticalComponent_0", function () {
      return View_SeriesVerticalComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SeriesVerticalComponent_Host_0", function () {
      return View_SeriesVerticalComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SeriesVerticalComponentNgFactory", function () {
      return SeriesVerticalComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BubbleChartComponent", function () {
      return RenderType_BubbleChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BubbleChartComponent_0", function () {
      return View_BubbleChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BubbleChartComponent_Host_0", function () {
      return View_BubbleChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BubbleChartComponentNgFactory", function () {
      return BubbleChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BubbleSeriesComponent", function () {
      return RenderType_BubbleSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BubbleSeriesComponent_0", function () {
      return View_BubbleSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BubbleSeriesComponent_Host_0", function () {
      return View_BubbleSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BubbleSeriesComponentNgFactory", function () {
      return BubbleSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LegendComponent", function () {
      return RenderType_LegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LegendComponent_0", function () {
      return View_LegendComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LegendComponent_Host_0", function () {
      return View_LegendComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LegendComponentNgFactory", function () {
      return LegendComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ScaleLegendComponent", function () {
      return RenderType_ScaleLegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ScaleLegendComponent_0", function () {
      return View_ScaleLegendComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ScaleLegendComponent_Host_0", function () {
      return View_ScaleLegendComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScaleLegendComponentNgFactory", function () {
      return ScaleLegendComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LegendEntryComponent", function () {
      return RenderType_LegendEntryComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LegendEntryComponent_0", function () {
      return View_LegendEntryComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LegendEntryComponent_Host_0", function () {
      return View_LegendEntryComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LegendEntryComponentNgFactory", function () {
      return LegendEntryComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AdvancedLegendComponent", function () {
      return RenderType_AdvancedLegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AdvancedLegendComponent_0", function () {
      return View_AdvancedLegendComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AdvancedLegendComponent_Host_0", function () {
      return View_AdvancedLegendComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AdvancedLegendComponentNgFactory", function () {
      return AdvancedLegendComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TooltipContentComponent", function () {
      return RenderType_TooltipContentComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TooltipContentComponent_0", function () {
      return View_TooltipContentComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TooltipContentComponent_Host_0", function () {
      return View_TooltipContentComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipContentComponentNgFactory", function () {
      return TooltipContentComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AxisLabelComponent", function () {
      return RenderType_AxisLabelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AxisLabelComponent_0", function () {
      return View_AxisLabelComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AxisLabelComponent_Host_0", function () {
      return View_AxisLabelComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AxisLabelComponentNgFactory", function () {
      return AxisLabelComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_XAxisComponent", function () {
      return RenderType_XAxisComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_XAxisComponent_0", function () {
      return View_XAxisComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_XAxisComponent_Host_0", function () {
      return View_XAxisComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "XAxisComponentNgFactory", function () {
      return XAxisComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_XAxisTicksComponent", function () {
      return RenderType_XAxisTicksComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_XAxisTicksComponent_0", function () {
      return View_XAxisTicksComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_XAxisTicksComponent_Host_0", function () {
      return View_XAxisTicksComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "XAxisTicksComponentNgFactory", function () {
      return XAxisTicksComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_YAxisComponent", function () {
      return RenderType_YAxisComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_YAxisComponent_0", function () {
      return View_YAxisComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_YAxisComponent_Host_0", function () {
      return View_YAxisComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YAxisComponentNgFactory", function () {
      return YAxisComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_YAxisTicksComponent", function () {
      return RenderType_YAxisTicksComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_YAxisTicksComponent_0", function () {
      return View_YAxisTicksComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_YAxisTicksComponent_Host_0", function () {
      return View_YAxisTicksComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YAxisTicksComponentNgFactory", function () {
      return YAxisTicksComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_CountUpDirective", function () {
      return RenderType_CountUpDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CountUpDirective_0", function () {
      return View_CountUpDirective_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CountUpDirective_Host_0", function () {
      return View_CountUpDirective_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CountUpDirectiveNgFactory", function () {
      return CountUpDirectiveNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_Timeline", function () {
      return RenderType_Timeline;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_Timeline_0", function () {
      return View_Timeline_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_Timeline_Host_0", function () {
      return View_Timeline_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TimelineNgFactory", function () {
      return TimelineNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ChartComponent", function () {
      return RenderType_ChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ChartComponent_0", function () {
      return View_ChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ChartComponent_Host_0", function () {
      return View_ChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ChartComponentNgFactory", function () {
      return ChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AreaComponent", function () {
      return RenderType_AreaComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaComponent_0", function () {
      return View_AreaComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AreaComponent_Host_0", function () {
      return View_AreaComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AreaComponentNgFactory", function () {
      return AreaComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_BaseChartComponent", function () {
      return RenderType_BaseChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BaseChartComponent_0", function () {
      return View_BaseChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_BaseChartComponent_Host_0", function () {
      return View_BaseChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BaseChartComponentNgFactory", function () {
      return BaseChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_CircleComponent", function () {
      return RenderType_CircleComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CircleComponent_0", function () {
      return View_CircleComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CircleComponent_Host_0", function () {
      return View_CircleComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CircleComponentNgFactory", function () {
      return CircleComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_CircleSeriesComponent", function () {
      return RenderType_CircleSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CircleSeriesComponent_0", function () {
      return View_CircleSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CircleSeriesComponent_Host_0", function () {
      return View_CircleSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CircleSeriesComponentNgFactory", function () {
      return CircleSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_GridPanelComponent", function () {
      return RenderType_GridPanelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GridPanelComponent_0", function () {
      return View_GridPanelComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GridPanelComponent_Host_0", function () {
      return View_GridPanelComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GridPanelComponentNgFactory", function () {
      return GridPanelComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_GridPanelSeriesComponent", function () {
      return RenderType_GridPanelSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GridPanelSeriesComponent_0", function () {
      return View_GridPanelSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GridPanelSeriesComponent_Host_0", function () {
      return View_GridPanelSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GridPanelSeriesComponentNgFactory", function () {
      return GridPanelSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_SvgLinearGradientComponent", function () {
      return RenderType_SvgLinearGradientComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SvgLinearGradientComponent_0", function () {
      return View_SvgLinearGradientComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SvgLinearGradientComponent_Host_0", function () {
      return View_SvgLinearGradientComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SvgLinearGradientComponentNgFactory", function () {
      return SvgLinearGradientComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_SvgRadialGradientComponent", function () {
      return RenderType_SvgRadialGradientComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SvgRadialGradientComponent_0", function () {
      return View_SvgRadialGradientComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SvgRadialGradientComponent_Host_0", function () {
      return View_SvgRadialGradientComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SvgRadialGradientComponentNgFactory", function () {
      return SvgRadialGradientComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TooltipArea", function () {
      return RenderType_TooltipArea;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TooltipArea_0", function () {
      return View_TooltipArea_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TooltipArea_Host_0", function () {
      return View_TooltipArea_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TooltipAreaNgFactory", function () {
      return TooltipAreaNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_GaugeArcComponent", function () {
      return RenderType_GaugeArcComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GaugeArcComponent_0", function () {
      return View_GaugeArcComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GaugeArcComponent_Host_0", function () {
      return View_GaugeArcComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeArcComponentNgFactory", function () {
      return GaugeArcComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_GaugeAxisComponent", function () {
      return RenderType_GaugeAxisComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GaugeAxisComponent_0", function () {
      return View_GaugeAxisComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GaugeAxisComponent_Host_0", function () {
      return View_GaugeAxisComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeAxisComponentNgFactory", function () {
      return GaugeAxisComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_GaugeComponent", function () {
      return RenderType_GaugeComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GaugeComponent_0", function () {
      return View_GaugeComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GaugeComponent_Host_0", function () {
      return View_GaugeComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GaugeComponentNgFactory", function () {
      return GaugeComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LinearGaugeComponent", function () {
      return RenderType_LinearGaugeComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LinearGaugeComponent_0", function () {
      return View_LinearGaugeComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LinearGaugeComponent_Host_0", function () {
      return View_LinearGaugeComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LinearGaugeComponentNgFactory", function () {
      return LinearGaugeComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_HeatMapComponent", function () {
      return RenderType_HeatMapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeatMapComponent_0", function () {
      return View_HeatMapComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeatMapComponent_Host_0", function () {
      return View_HeatMapComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatMapComponentNgFactory", function () {
      return HeatMapComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_HeatMapCellComponent", function () {
      return RenderType_HeatMapCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeatMapCellComponent_0", function () {
      return View_HeatMapCellComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeatMapCellComponent_Host_0", function () {
      return View_HeatMapCellComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatMapCellComponentNgFactory", function () {
      return HeatMapCellComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_HeatCellSeriesComponent", function () {
      return RenderType_HeatCellSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeatCellSeriesComponent_0", function () {
      return View_HeatCellSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeatCellSeriesComponent_Host_0", function () {
      return View_HeatCellSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeatCellSeriesComponentNgFactory", function () {
      return HeatCellSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LineChartComponent", function () {
      return RenderType_LineChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LineChartComponent_0", function () {
      return View_LineChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LineChartComponent_Host_0", function () {
      return View_LineChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineChartComponentNgFactory", function () {
      return LineChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LineComponent", function () {
      return RenderType_LineComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LineComponent_0", function () {
      return View_LineComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LineComponent_Host_0", function () {
      return View_LineComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineComponentNgFactory", function () {
      return LineComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LineSeriesComponent", function () {
      return RenderType_LineSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LineSeriesComponent_0", function () {
      return View_LineSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LineSeriesComponent_Host_0", function () {
      return View_LineSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LineSeriesComponentNgFactory", function () {
      return LineSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_NumberCardComponent", function () {
      return RenderType_NumberCardComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_NumberCardComponent_0", function () {
      return View_NumberCardComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_NumberCardComponent_Host_0", function () {
      return View_NumberCardComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardComponentNgFactory", function () {
      return NumberCardComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_CardComponent", function () {
      return RenderType_CardComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CardComponent_0", function () {
      return View_CardComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CardComponent_Host_0", function () {
      return View_CardComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardComponentNgFactory", function () {
      return CardComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_CardSeriesComponent", function () {
      return RenderType_CardSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CardSeriesComponent_0", function () {
      return View_CardSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CardSeriesComponent_Host_0", function () {
      return View_CardSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardSeriesComponentNgFactory", function () {
      return CardSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AdvancedPieChartComponent", function () {
      return RenderType_AdvancedPieChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AdvancedPieChartComponent_0", function () {
      return View_AdvancedPieChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AdvancedPieChartComponent_Host_0", function () {
      return View_AdvancedPieChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AdvancedPieChartComponentNgFactory", function () {
      return AdvancedPieChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieChartComponent", function () {
      return RenderType_PieChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieChartComponent_0", function () {
      return View_PieChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieChartComponent_Host_0", function () {
      return View_PieChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartComponentNgFactory", function () {
      return PieChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieArcComponent", function () {
      return RenderType_PieArcComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieArcComponent_0", function () {
      return View_PieArcComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieArcComponent_Host_0", function () {
      return View_PieArcComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieArcComponentNgFactory", function () {
      return PieArcComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieGridComponent", function () {
      return RenderType_PieGridComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieGridComponent_0", function () {
      return View_PieGridComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieGridComponent_Host_0", function () {
      return View_PieGridComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieGridComponentNgFactory", function () {
      return PieGridComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieGridSeriesComponent", function () {
      return RenderType_PieGridSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieGridSeriesComponent_0", function () {
      return View_PieGridSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieGridSeriesComponent_Host_0", function () {
      return View_PieGridSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieGridSeriesComponentNgFactory", function () {
      return PieGridSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieSeriesComponent", function () {
      return RenderType_PieSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieSeriesComponent_0", function () {
      return View_PieSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieSeriesComponent_Host_0", function () {
      return View_PieSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieSeriesComponentNgFactory", function () {
      return PieSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieLabelComponent", function () {
      return RenderType_PieLabelComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieLabelComponent_0", function () {
      return View_PieLabelComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieLabelComponent_Host_0", function () {
      return View_PieLabelComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieLabelComponentNgFactory", function () {
      return PieLabelComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PolarChartComponent", function () {
      return RenderType_PolarChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PolarChartComponent_0", function () {
      return View_PolarChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PolarChartComponent_Host_0", function () {
      return View_PolarChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PolarChartComponentNgFactory", function () {
      return PolarChartComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PolarSeriesComponent", function () {
      return RenderType_PolarSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PolarSeriesComponent_0", function () {
      return View_PolarSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PolarSeriesComponent_Host_0", function () {
      return View_PolarSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PolarSeriesComponentNgFactory", function () {
      return PolarSeriesComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TreeMapComponent", function () {
      return RenderType_TreeMapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TreeMapComponent_0", function () {
      return View_TreeMapComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TreeMapComponent_Host_0", function () {
      return View_TreeMapComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapComponentNgFactory", function () {
      return TreeMapComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TreeMapCellComponent", function () {
      return RenderType_TreeMapCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TreeMapCellComponent_0", function () {
      return View_TreeMapCellComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TreeMapCellComponent_Host_0", function () {
      return View_TreeMapCellComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapCellComponentNgFactory", function () {
      return TreeMapCellComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TreeMapCellSeriesComponent", function () {
      return RenderType_TreeMapCellSeriesComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TreeMapCellSeriesComponent_0", function () {
      return View_TreeMapCellSeriesComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TreeMapCellSeriesComponent_Host_0", function () {
      return View_TreeMapCellSeriesComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TreeMapCellSeriesComponentNgFactory", function () {
      return TreeMapCellSeriesComponentNgFactory;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @swimlane/ngx-charts */
    "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/platform-browser */
    "./node_modules/@angular/platform-browser/fesm2015/platform-browser.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var NgxChartsModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NgxChartsModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NgxChartsModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NgxChartsModule"], [])]);
    });

    var AreaChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartModule"], [])]);
    });

    var BarChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], [])]);
    });

    var BubbleChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartModule"], [])]);
    });

    var ChartCommonModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], [])]);
    });

    var TooltipModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], [])]);
    });

    var AxesModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, []], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], [])]);
    });

    var GaugeModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeModule"], [])]);
    });

    var HeatMapModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapModule"], [])]);
    });

    var LineChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], [])]);
    });

    var NumberCardModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardModule"], [])]);
    });

    var PieChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], [])]);
    });

    var PolarChartModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartModule"], [])]);
    });

    var TreeMapModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [TooltipContentComponentNgFactory]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapModule"], [])]);
    });

    var styles_AreaChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_AreaChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AreaChartComponent,
      data: {}
    });

    function View_AreaChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        baseValue: [3, "baseValue"],
        colors: [4, "colors"],
        scaleType: [5, "scaleType"],
        gradient: [6, "gradient"],
        curve: [7, "curve"],
        activeEntries: [8, "activeEntries"],
        animations: [9, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.xScale;
        var currVal_2 = _co.yScale;
        var currVal_3 = _co.baseValue;
        var currVal_4 = _co.colors;
        var currVal_5 = _co.scaleType;
        var currVal_6 = _co.gradient;
        var currVal_7 = _co.curve;
        var currVal_8 = _co.activeEntries;
        var currVal_9 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        visibleValue: [5, "visibleValue"],
        activeEntries: [6, "activeEntries"],
        tooltipDisabled: [7, "tooltipDisabled"],
        tooltipTemplate: [8, "tooltipTemplate"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.xScale;
        var currVal_2 = _co.yScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = _co.hoveredVertical;
        var currVal_6 = _co.activeEntries;
        var currVal_7 = _co.tooltipDisabled;
        var currVal_8 = _co.tooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseleave" === en) {
          var pd_0 = _co.hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("hover" === en) {
          var pd_0 = _co.updateHoveredVertical($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
        dims: [0, "dims"],
        xSet: [1, "xSet"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        results: [4, "results"],
        colors: [5, "colors"],
        tooltipDisabled: [6, "tooltipDisabled"],
        tooltipTemplate: [7, "tooltipTemplate"]
      }, {
        hover: "hover"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.dims;
        var currVal_1 = _co.xSet;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.results;
        var currVal_5 = _co.colors;
        var currVal_6 = _co.tooltipDisabled;
        var currVal_7 = _co.seriesTooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;

        _ck(_v, 4, 0, currVal_8);
      }, null);
    }

    function View_AreaChartComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        baseValue: [3, "baseValue"],
        colors: [4, "colors"],
        scaleType: [5, "scaleType"],
        gradient: [6, "gradient"],
        curve: [7, "curve"],
        animations: [8, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.timelineXScale;
        var currVal_2 = _co.timelineYScale;
        var currVal_3 = _co.baseValue;
        var currVal_4 = _co.colors;
        var currVal_5 = _co.scaleType;
        var currVal_6 = _co.gradient;
        var currVal_7 = _co.curve;
        var currVal_8 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onDomainChange" === en) {
          var pd_0 = _co.updateDomain($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        view: [0, "view"],
        results: [1, "results"],
        scheme: [2, "scheme"],
        customColors: [3, "customColors"],
        legend: [4, "legend"],
        scaleType: [5, "scaleType"],
        height: [6, "height"]
      }, {
        onDomainChange: "onDomainChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

        var currVal_2 = _co.results;
        var currVal_3 = _co.scheme;
        var currVal_4 = _co.customColors;
        var currVal_5 = _co.legend;
        var currVal_6 = _co.scaleType;
        var currVal_7 = _co.timelineHeight;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 4, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.timelineTransform;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_AreaChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "area-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_10 = _co.xAxis;

        _ck(_v, 9, 0, currVal_10);

        var currVal_11 = _co.yAxis;

        _ck(_v, 11, 0, currVal_11);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 14, 0, currVal_13, currVal_14);

        var currVal_15 = !_co.tooltipDisabled;

        _ck(_v, 16, 0, currVal_15);

        var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

        _ck(_v, 18, 0, currVal_16);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.clipPathId;

        _ck(_v, 5, 0, currVal_5);

        var currVal_6 = _co.dims.width + 10;
        var currVal_7 = _co.dims.height + 10;
        var currVal_8 = "translate(-5, -5)";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

        var currVal_9 = _co.transform;

        _ck(_v, 7, 0, currVal_9);

        var currVal_12 = _co.clipPath;

        _ck(_v, 12, 0, currVal_12);
      });
    }

    function View_AreaChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-area-chart", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseleave" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_AreaChartComponent_0, RenderType_AreaChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
        seriesTooltipTemplate: 0
      })], null, null);
    }

    var AreaChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-area-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartComponent"], View_AreaChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      state: "state",
      xAxis: "xAxis",
      yAxis: "yAxis",
      baseValue: "baseValue",
      autoScale: "autoScale",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      timeline: "timeline",
      gradient: "gradient",
      showGridLines: "showGridLines",
      curve: "curve",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      roundDomains: "roundDomains",
      tooltipDisabled: "tooltipDisabled",
      xScaleMin: "xScaleMin",
      xScaleMax: "xScaleMax",
      yScaleMin: "yScaleMin",
      yScaleMax: "yScaleMax"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_AreaChartNormalizedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_AreaChartNormalizedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AreaChartNormalizedComponent,
      data: {}
    });

    function View_AreaChartNormalizedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartNormalizedComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartNormalizedComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["normalized", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        normalized: [5, "normalized"],
        gradient: [6, "gradient"],
        curve: [7, "curve"],
        activeEntries: [8, "activeEntries"],
        animations: [9, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.xScale;
        var currVal_2 = _co.yScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = "true";
        var currVal_6 = _co.gradient;
        var currVal_7 = _co.curve;
        var currVal_8 = _co.activeEntries;
        var currVal_9 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartNormalizedComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
        data: [0, "data"],
        type: [1, "type"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        colors: [4, "colors"],
        scaleType: [5, "scaleType"],
        visibleValue: [6, "visibleValue"],
        activeEntries: [7, "activeEntries"],
        tooltipDisabled: [8, "tooltipDisabled"],
        tooltipTemplate: [9, "tooltipTemplate"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = "stacked";
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.colors;
        var currVal_5 = _co.scaleType;
        var currVal_6 = _co.hoveredVertical;
        var currVal_7 = _co.activeEntries;
        var currVal_8 = _co.tooltipDisabled;
        var currVal_9 = _co.tooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartNormalizedComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseleave" === en) {
          var pd_0 = _co.hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("hover" === en) {
          var pd_0 = _co.updateHoveredVertical($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
        dims: [0, "dims"],
        xSet: [1, "xSet"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        results: [4, "results"],
        colors: [5, "colors"],
        showPercentage: [6, "showPercentage"],
        tooltipDisabled: [7, "tooltipDisabled"],
        tooltipTemplate: [8, "tooltipTemplate"]
      }, {
        hover: "hover"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.dims;
        var currVal_1 = _co.xSet;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.results;
        var currVal_5 = _co.colors;
        var currVal_6 = true;
        var currVal_7 = _co.tooltipDisabled;
        var currVal_8 = _co.seriesTooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);

        var currVal_9 = _co.results;

        _ck(_v, 4, 0, currVal_9);
      }, null);
    }

    function View_AreaChartNormalizedComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["normalized", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        normalized: [5, "normalized"],
        gradient: [6, "gradient"],
        curve: [7, "curve"],
        animations: [8, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.timelineXScale;
        var currVal_2 = _co.timelineYScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = "true";
        var currVal_6 = _co.gradient;
        var currVal_7 = _co.curve;
        var currVal_8 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartNormalizedComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onDomainChange" === en) {
          var pd_0 = _co.updateDomain($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        view: [0, "view"],
        results: [1, "results"],
        scheme: [2, "scheme"],
        customColors: [3, "customColors"],
        legend: [4, "legend"],
        scaleType: [5, "scaleType"],
        height: [6, "height"]
      }, {
        onDomainChange: "onDomainChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartNormalizedComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

        var currVal_2 = _co.results;
        var currVal_3 = _co.scheme;
        var currVal_4 = _co.customColors;
        var currVal_5 = _co.legend;
        var currVal_6 = _co.scaleType;
        var currVal_7 = _co.timelineHeight;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 4, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.timelineTransform;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_AreaChartNormalizedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "area-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartNormalizedComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartNormalizedComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_10 = _co.xAxis;

        _ck(_v, 9, 0, currVal_10);

        var currVal_11 = _co.yAxis;

        _ck(_v, 11, 0, currVal_11);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 14, 0, currVal_13, currVal_14);

        var currVal_15 = !_co.tooltipDisabled;

        _ck(_v, 16, 0, currVal_15);

        var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

        _ck(_v, 18, 0, currVal_16);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.clipPathId;

        _ck(_v, 5, 0, currVal_5);

        var currVal_6 = _co.dims.width + 10;
        var currVal_7 = _co.dims.height + 10;
        var currVal_8 = "translate(-5, -5)";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

        var currVal_9 = _co.transform;

        _ck(_v, 7, 0, currVal_9);

        var currVal_12 = _co.clipPath;

        _ck(_v, 12, 0, currVal_12);
      });
    }

    function View_AreaChartNormalizedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-area-chart-normalized", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseleave" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_AreaChartNormalizedComponent_0, RenderType_AreaChartNormalizedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartNormalizedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
        seriesTooltipTemplate: 0
      })], null, null);
    }

    var AreaChartNormalizedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-area-chart-normalized", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartNormalizedComponent"], View_AreaChartNormalizedComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      timeline: "timeline",
      gradient: "gradient",
      showGridLines: "showGridLines",
      curve: "curve",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      roundDomains: "roundDomains",
      tooltipDisabled: "tooltipDisabled"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_AreaChartStackedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_AreaChartStackedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AreaChartStackedComponent,
      data: {}
    });

    function View_AreaChartStackedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartStackedComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartStackedComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["stacked", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        stacked: [5, "stacked"],
        gradient: [6, "gradient"],
        curve: [7, "curve"],
        activeEntries: [8, "activeEntries"],
        animations: [9, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.xScale;
        var currVal_2 = _co.yScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = "true";
        var currVal_6 = _co.gradient;
        var currVal_7 = _co.curve;
        var currVal_8 = _co.activeEntries;
        var currVal_9 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartStackedComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
        data: [0, "data"],
        type: [1, "type"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        colors: [4, "colors"],
        scaleType: [5, "scaleType"],
        visibleValue: [6, "visibleValue"],
        activeEntries: [7, "activeEntries"],
        tooltipDisabled: [8, "tooltipDisabled"],
        tooltipTemplate: [9, "tooltipTemplate"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = "stacked";
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.colors;
        var currVal_5 = _co.scaleType;
        var currVal_6 = _co.hoveredVertical;
        var currVal_7 = _co.activeEntries;
        var currVal_8 = _co.tooltipDisabled;
        var currVal_9 = _co.tooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartStackedComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseleave" === en) {
          var pd_0 = _co.hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("hover" === en) {
          var pd_0 = _co.updateHoveredVertical($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
        dims: [0, "dims"],
        xSet: [1, "xSet"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        results: [4, "results"],
        colors: [5, "colors"],
        tooltipDisabled: [6, "tooltipDisabled"],
        tooltipTemplate: [7, "tooltipTemplate"]
      }, {
        hover: "hover"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.dims;
        var currVal_1 = _co.xSet;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.results;
        var currVal_5 = _co.colors;
        var currVal_6 = _co.tooltipDisabled;
        var currVal_7 = _co.seriesTooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 4, 0, currVal_8, currVal_9);
      }, null);
    }

    function View_AreaChartStackedComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-area-series", ""], ["stacked", "true"]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        stacked: [5, "stacked"],
        gradient: [6, "gradient"],
        curve: [7, "curve"],
        animations: [8, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.timelineXScale;
        var currVal_2 = _co.timelineYScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = "true";
        var currVal_6 = _co.gradient;
        var currVal_7 = _co.curve;
        var currVal_8 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_AreaChartStackedComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onDomainChange" === en) {
          var pd_0 = _co.updateDomain($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        view: [0, "view"],
        results: [1, "results"],
        scheme: [2, "scheme"],
        customColors: [3, "customColors"],
        legend: [4, "legend"],
        scaleType: [5, "scaleType"],
        height: [6, "height"]
      }, {
        onDomainChange: "onDomainChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartStackedComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

        var currVal_2 = _co.results;
        var currVal_3 = _co.scheme;
        var currVal_4 = _co.customColors;
        var currVal_5 = _co.legend;
        var currVal_6 = _co.scaleType;
        var currVal_7 = _co.timelineHeight;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 4, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.timelineTransform;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_AreaChartStackedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "area-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaChartStackedComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_AreaChartStackedComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_10 = _co.xAxis;

        _ck(_v, 9, 0, currVal_10);

        var currVal_11 = _co.yAxis;

        _ck(_v, 11, 0, currVal_11);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 14, 0, currVal_13, currVal_14);

        var currVal_15 = !_co.tooltipDisabled;

        _ck(_v, 16, 0, currVal_15);

        var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

        _ck(_v, 18, 0, currVal_16);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.clipPathId;

        _ck(_v, 5, 0, currVal_5);

        var currVal_6 = _co.dims.width + 10;
        var currVal_7 = _co.dims.height + 10;
        var currVal_8 = "translate(-5, -5)";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

        var currVal_9 = _co.transform;

        _ck(_v, 7, 0, currVal_9);

        var currVal_12 = _co.clipPath;

        _ck(_v, 12, 0, currVal_12);
      });
    }

    function View_AreaChartStackedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-area-chart-stacked", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseleave" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_AreaChartStackedComponent_0, RenderType_AreaChartStackedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartStackedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
        seriesTooltipTemplate: 0
      })], null, null);
    }

    var AreaChartStackedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-area-chart-stacked", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaChartStackedComponent"], View_AreaChartStackedComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      timeline: "timeline",
      gradient: "gradient",
      showGridLines: "showGridLines",
      curve: "curve",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      roundDomains: "roundDomains",
      tooltipDisabled: "tooltipDisabled",
      xScaleMin: "xScaleMin",
      xScaleMax: "xScaleMax",
      yScaleMin: "yScaleMin",
      yScaleMax: "yScaleMax"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_AreaSeriesComponent = [];

    var RenderType_AreaSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AreaSeriesComponent,
      data: {}
    });

    function View_AreaSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "area-series"], ["ngx-charts-area", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        data: [0, "data"],
        path: [1, "path"],
        startingPath: [2, "startingPath"],
        fill: [3, "fill"],
        opacity: [4, "opacity"],
        gradient: [5, "gradient"],
        stops: [6, "stops"],
        animations: [7, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.data;
        var currVal_3 = _co.path;
        var currVal_4 = _co.startingPath;

        var currVal_5 = _co.colors.getColor(_co.data.name);

        var currVal_6 = _co.opacity;
        var currVal_7 = _co.gradient || _co.hasGradient;
        var currVal_8 = _co.gradientStops;
        var currVal_9 = _co.animations;

        _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.isActive(_co.data);

        var currVal_1 = _co.isInactive(_co.data);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_AreaSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-area-series", ""]], null, null, null, View_AreaSeriesComponent_0, RenderType_AreaSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], [], null, null)], null, null);
    }

    var AreaSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-area-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaSeriesComponent"], View_AreaSeriesComponent_Host_0, {
      data: "data",
      xScale: "xScale",
      yScale: "yScale",
      baseValue: "baseValue",
      colors: "colors",
      scaleType: "scaleType",
      stacked: "stacked",
      normalized: "normalized",
      gradient: "gradient",
      curve: "curve",
      activeEntries: "activeEntries",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_BarComponent = [];

    var RenderType_BarComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarComponent,
      data: {}
    });

    function View_BarComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
        orientation: [0, "orientation"],
        name: [1, "name"],
        stops: [2, "stops"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.orientation;
        var currVal_1 = _co.gradientId;
        var currVal_2 = _co.gradientStops;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_BarComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:path", [["class", "bar"], ["role", "img"], ["stroke", "none"], ["tabIndex", "-1"]], [[2, "active", null], [2, "hidden", null], [1, "d", 0], [1, "aria-label", 0], [1, "fill", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.select.emit(_co.data) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.hasGradient;

        _ck(_v, 1, 0, currVal_0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.isActive;
        var currVal_2 = _co.hideBar;
        var currVal_3 = _co.path;
        var currVal_4 = _co.ariaLabel;
        var currVal_5 = _co.hasGradient ? _co.gradientFill : _co.fill;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
      });
    }

    function View_BarComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-bar", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseenter" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var BarComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-bar]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], View_BarComponent_Host_0, {
      fill: "fill",
      data: "data",
      width: "width",
      height: "height",
      x: "x",
      y: "y",
      orientation: "orientation",
      roundEdges: "roundEdges",
      gradient: "gradient",
      offset: "offset",
      isActive: "isActive",
      stops: "stops",
      animations: "animations",
      ariaLabel: "ariaLabel",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarHorizontalComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarHorizontalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarHorizontalComponent,
      data: {}
    });

    function View_BarHorizontalComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarHorizontalComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        yAxisOffset: [8, "yAxisOffset"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showYAxisLabel;
        var currVal_7 = _co.yAxisLabel;
        var currVal_8 = _co.dataLabelMaxWidth.negative;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarHorizontalComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event, true) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelWidthChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        if ("dataLabelWidthChanged" === en) {
          var pd_3 = _co.onDataLabelMaxWidthChanged($event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
        dims: [0, "dims"],
        series: [1, "series"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        colors: [4, "colors"],
        tooltipDisabled: [5, "tooltipDisabled"],
        gradient: [6, "gradient"],
        activeEntries: [7, "activeEntries"],
        tooltipTemplate: [8, "tooltipTemplate"],
        roundEdges: [9, "roundEdges"],
        animations: [10, "animations"],
        showDataLabel: [11, "showDataLabel"],
        dataLabelFormatting: [12, "dataLabelFormatting"],
        noBarWhenZero: [13, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelWidthChanged: "dataLabelWidthChanged"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.xAxis;

        _ck(_v, 6, 0, currVal_6);

        var currVal_7 = _co.yAxis;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = _co.dims;
        var currVal_9 = _co.results;
        var currVal_10 = _co.xScale;
        var currVal_11 = _co.yScale;
        var currVal_12 = _co.colors;
        var currVal_13 = _co.tooltipDisabled;
        var currVal_14 = _co.gradient;
        var currVal_15 = _co.activeEntries;
        var currVal_16 = _co.tooltipTemplate;
        var currVal_17 = _co.roundEdges;
        var currVal_18 = _co.animations;
        var currVal_19 = _co.showDataLabel;
        var currVal_20 = _co.dataLabelFormatting;
        var currVal_21 = _co.noBarWhenZero;

        _ck(_v, 10, 1, [currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarHorizontalComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal", [], null, null, null, View_BarHorizontalComponent_0, RenderType_BarHorizontalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarHorizontalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalComponent"], View_BarHorizontalComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      roundEdges: "roundEdges",
      xScaleMax: "xScaleMax",
      xScaleMin: "xScaleMin",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarHorizontal2DComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarHorizontal2DComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarHorizontal2DComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1,
                transform: "*"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BarHorizontal2DComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarHorizontal2DComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        yAxisOffset: [8, "yAxisOffset"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.groupScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showYAxisLabel;
        var currVal_7 = _co.yAxisLabel;
        var currVal_8 = _co.dataLabelMaxWidth.negative;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarHorizontal2DComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelWidthChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        if ("dataLabelWidthChanged" === en) {
          var pd_3 = _co.onDataLabelMaxWidthChanged($event, _v.context.index) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
        dims: [0, "dims"],
        series: [1, "series"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        colors: [4, "colors"],
        tooltipDisabled: [5, "tooltipDisabled"],
        gradient: [6, "gradient"],
        activeEntries: [7, "activeEntries"],
        seriesName: [8, "seriesName"],
        tooltipTemplate: [9, "tooltipTemplate"],
        roundEdges: [10, "roundEdges"],
        animations: [11, "animations"],
        showDataLabel: [12, "showDataLabel"],
        dataLabelFormatting: [13, "dataLabelFormatting"],
        noBarWhenZero: [14, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelWidthChanged: "dataLabelWidthChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.dims;
        var currVal_3 = _v.context.$implicit.series;
        var currVal_4 = _co.valueScale;
        var currVal_5 = _co.innerScale;
        var currVal_6 = _co.colors;
        var currVal_7 = _co.tooltipDisabled;
        var currVal_8 = _co.gradient;
        var currVal_9 = _co.activeEntries;
        var currVal_10 = _v.context.$implicit.name;
        var currVal_11 = _co.tooltipTemplate;
        var currVal_12 = _co.roundEdges;
        var currVal_13 = _co.animations;
        var currVal_14 = _co.showDataLabel;
        var currVal_15 = _co.dataLabelFormatting;
        var currVal_16 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";

        var currVal_1 = _co.groupTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_BarHorizontal2DComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 12, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, undefined, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 8, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-grid-panel-series", ""], ["orient", "horizontal"]], null, null, null, View_GridPanelSeriesComponent_0, RenderType_GridPanelSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], [], {
        data: [0, "data"],
        dims: [1, "dims"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        orient: [4, "orient"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontal2DComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontal2DComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontal2DComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.results;
        var currVal_7 = _co.dims;
        var currVal_8 = _co.valueScale;
        var currVal_9 = _co.groupScale;
        var currVal_10 = "horizontal";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

        var currVal_11 = _co.xAxis;

        _ck(_v, 8, 0, currVal_11);

        var currVal_12 = _co.yAxis;

        _ck(_v, 10, 0, currVal_12);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 12, 0, currVal_13, currVal_14);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarHorizontal2DComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal-2d", [], null, null, null, View_BarHorizontal2DComponent_0, RenderType_BarHorizontal2DComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontal2DComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarHorizontal2DComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal-2d", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontal2DComponent"], View_BarHorizontal2DComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      groupPadding: "groupPadding",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      roundEdges: "roundEdges",
      xScaleMax: "xScaleMax",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarHorizontalNormalizedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarHorizontalNormalizedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarHorizontalNormalizedComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1,
                transform: "*"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BarHorizontalNormalizedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarHorizontalNormalizedComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showYAxisLabel;
        var currVal_7 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      }, null);
    }

    function View_BarHorizontalNormalizedComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""], ["type", "normalized"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
        dims: [0, "dims"],
        type: [1, "type"],
        series: [2, "series"],
        xScale: [3, "xScale"],
        yScale: [4, "yScale"],
        colors: [5, "colors"],
        tooltipDisabled: [6, "tooltipDisabled"],
        gradient: [7, "gradient"],
        activeEntries: [8, "activeEntries"],
        seriesName: [9, "seriesName"],
        tooltipTemplate: [10, "tooltipTemplate"],
        animations: [11, "animations"],
        noBarWhenZero: [12, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.dims;
        var currVal_3 = "normalized";
        var currVal_4 = _v.context.$implicit.series;
        var currVal_5 = _co.xScale;
        var currVal_6 = _co.yScale;
        var currVal_7 = _co.colors;
        var currVal_8 = _co.tooltipDisabled;
        var currVal_9 = _co.gradient;
        var currVal_10 = _co.activeEntries;
        var currVal_11 = _v.context.$implicit.name;
        var currVal_12 = _co.tooltipTemplate;
        var currVal_13 = _co.animations;
        var currVal_14 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";

        var currVal_1 = _co.groupTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_BarHorizontalNormalizedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, undefined, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalNormalizedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalNormalizedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalNormalizedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.xAxis;

        _ck(_v, 6, 0, currVal_6);

        var currVal_7 = _co.yAxis;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 10, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarHorizontalNormalizedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal-normalized", [], null, null, null, View_BarHorizontalNormalizedComponent_0, RenderType_BarHorizontalNormalizedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalNormalizedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarHorizontalNormalizedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal-normalized", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalNormalizedComponent"], View_BarHorizontalNormalizedComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarHorizontalStackedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarHorizontalStackedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarHorizontalStackedComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1,
                transform: "*"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BarHorizontalStackedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarHorizontalStackedComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        yAxisOffset: [8, "yAxisOffset"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showYAxisLabel;
        var currVal_7 = _co.yAxisLabel;
        var currVal_8 = _co.dataLabelMaxWidth.negative;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarHorizontalStackedComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-horizontal", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelWidthChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        if ("dataLabelWidthChanged" === en) {
          var pd_3 = _co.onDataLabelMaxWidthChanged($event, _v.context.index) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], {
        dims: [0, "dims"],
        type: [1, "type"],
        series: [2, "series"],
        xScale: [3, "xScale"],
        yScale: [4, "yScale"],
        colors: [5, "colors"],
        tooltipDisabled: [6, "tooltipDisabled"],
        gradient: [7, "gradient"],
        activeEntries: [8, "activeEntries"],
        seriesName: [9, "seriesName"],
        tooltipTemplate: [10, "tooltipTemplate"],
        animations: [11, "animations"],
        showDataLabel: [12, "showDataLabel"],
        dataLabelFormatting: [13, "dataLabelFormatting"],
        noBarWhenZero: [14, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelWidthChanged: "dataLabelWidthChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.dims;
        var currVal_3 = "stacked";
        var currVal_4 = _v.context.$implicit.series;
        var currVal_5 = _co.xScale;
        var currVal_6 = _co.yScale;
        var currVal_7 = _co.colors;
        var currVal_8 = _co.tooltipDisabled;
        var currVal_9 = _co.gradient;
        var currVal_10 = _co.activeEntries;
        var currVal_11 = _v.context.$implicit.name;
        var currVal_12 = _co.tooltipTemplate;
        var currVal_13 = _co.animations;
        var currVal_14 = _co.showDataLabel;
        var currVal_15 = _co.dataLabelFormatting;
        var currVal_16 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";

        var currVal_1 = _co.groupTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_BarHorizontalStackedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, undefined, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalStackedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalStackedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarHorizontalStackedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.xAxis;

        _ck(_v, 6, 0, currVal_6);

        var currVal_7 = _co.yAxis;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 10, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarHorizontalStackedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-horizontal-stacked", [], null, null, null, View_BarHorizontalStackedComponent_0, RenderType_BarHorizontalStackedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalStackedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarHorizontalStackedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-horizontal-stacked", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarHorizontalStackedComponent"], View_BarHorizontalStackedComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      xScaleMax: "xScaleMax",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_SeriesHorizontal = [];

    var RenderType_SeriesHorizontal = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_SeriesHorizontal,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_SeriesHorizontal_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["ngx-charts-bar", ""], ["ngx-tooltip", ""]], [[24, "@animationState", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("mouseenter" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
          ad = pd_5 && ad;
        }

        if ("mouseleave" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
          ad = pd_6 && ad;
        }

        if ("select" === en) {
          var pd_7 = _co.click($event) !== false;
          ad = pd_7 && ad;
        }

        if ("activate" === en) {
          var pd_8 = _co.activate.emit($event) !== false;
          ad = pd_8 && ad;
        }

        if ("deactivate" === en) {
          var pd_9 = _co.deactivate.emit($event) !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        data: [1, "data"],
        width: [2, "width"],
        height: [3, "height"],
        x: [4, "x"],
        y: [5, "y"],
        orientation: [6, "orientation"],
        roundEdges: [7, "roundEdges"],
        gradient: [8, "gradient"],
        isActive: [9, "isActive"],
        stops: [10, "stops"],
        animations: [11, "animations"],
        ariaLabel: [12, "ariaLabel"],
        noBarWhenZero: [13, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.tooltipTemplate ? undefined : _v.context.$implicit.tooltipText;
        var currVal_2 = _co.tooltipDisabled;
        var currVal_3 = _co.tooltipPlacement;
        var currVal_4 = _co.tooltipType;
        var currVal_5 = _co.tooltipTemplate;
        var currVal_6 = _v.context.$implicit.data;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _v.context.$implicit.color;
        var currVal_8 = _v.context.$implicit.data;
        var currVal_9 = _v.context.$implicit.width;
        var currVal_10 = _v.context.$implicit.height;
        var currVal_11 = _v.context.$implicit.x;
        var currVal_12 = _v.context.$implicit.y;
        var currVal_13 = "horizontal";
        var currVal_14 = _v.context.$implicit.roundEdges;
        var currVal_15 = _co.gradient;

        var currVal_16 = _co.isActive(_v.context.$implicit.data);

        var currVal_17 = _v.context.$implicit.gradientStops;
        var currVal_18 = _co.animations;
        var currVal_19 = _v.context.$implicit.ariaLabel;
        var currVal_20 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20]);
      }, function (_ck, _v) {
        var currVal_0 = "active";

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_SeriesHorizontal_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-bar-label", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.dataLabelWidthChanged.emit({
            size: $event,
            index: _v.context.index
          }) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_BarLabelComponent_0, RenderType_BarLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        value: [0, "value"],
        valueFormatting: [1, "valueFormatting"],
        barX: [2, "barX"],
        barY: [3, "barY"],
        barWidth: [4, "barWidth"],
        barHeight: [5, "barHeight"],
        orientation: [6, "orientation"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.total;
        var currVal_1 = _co.dataLabelFormatting;
        var currVal_2 = _v.context.$implicit.x;
        var currVal_3 = _v.context.$implicit.y;
        var currVal_4 = _v.context.$implicit.width;
        var currVal_5 = _v.context.$implicit.height;
        var currVal_6 = "horizontal";

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      }, null);
    }

    function View_SeriesHorizontal_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesHorizontal_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.barsForDataLabels;
        var currVal_1 = _co.trackDataLabelBy;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_SeriesHorizontal_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesHorizontal_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesHorizontal_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.bars;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = _co.showDataLabel;

        _ck(_v, 3, 0, currVal_2);
      }, null);
    }

    function View_SeriesHorizontal_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-series-horizontal", ""]], null, null, null, View_SeriesHorizontal_0, RenderType_SeriesHorizontal)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], [], null, null)], null, null);
    }

    var SeriesHorizontalNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-series-horizontal]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesHorizontal"], View_SeriesHorizontal_Host_0, {
      dims: "dims",
      type: "type",
      series: "series",
      xScale: "xScale",
      yScale: "yScale",
      colors: "colors",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      activeEntries: "activeEntries",
      seriesName: "seriesName",
      tooltipTemplate: "tooltipTemplate",
      roundEdges: "roundEdges",
      animations: "animations",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate",
      dataLabelWidthChanged: "dataLabelWidthChanged"
    }, []);

    var styles_BarLabelComponent = [".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"];

    var RenderType_BarLabelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_BarLabelComponent,
      data: {}
    });

    function View_BarLabelComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["alignment-baseline", "middle"], ["class", "textDataLabel"]], [[1, "text-anchor", 0], [1, "transform", 0], [1, "x", 0], [1, "y", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.textAnchor;
        var currVal_1 = _co.transform;
        var currVal_2 = _co.x;
        var currVal_3 = _co.y;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);

        var currVal_4 = _co.formatedValue;

        _ck(_v, 1, 0, currVal_4);
      });
    }

    function View_BarLabelComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-bar-label", ""]], null, null, null, View_BarLabelComponent_0, RenderType_BarLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var BarLabelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-bar-label]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], View_BarLabelComponent_Host_0, {
      value: "value",
      valueFormatting: "valueFormatting",
      barX: "barX",
      barY: "barY",
      barWidth: "barWidth",
      barHeight: "barHeight",
      orientation: "orientation"
    }, {
      dimensionsChanged: "dimensionsChanged"
    }, []);

    var styles_BarVerticalComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarVerticalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarVerticalComponent,
      data: {}
    });

    function View_BarVerticalComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        ticks: [8, "ticks"],
        xAxisOffset: [9, "xAxisOffset"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showXAxisLabel;
        var currVal_7 = _co.xAxisLabel;
        var currVal_8 = _co.xAxisTicks;
        var currVal_9 = _co.dataLabelMaxHeight.negative;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarVerticalComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarVerticalComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event, true) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""]], null, [[null, "activate"], [null, "deactivate"], [null, "select"], [null, "dataLabelHeightChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("activate" === en) {
          var pd_0 = _co.onActivate($event) !== false;
          ad = pd_0 && ad;
        }

        if ("deactivate" === en) {
          var pd_1 = _co.onDeactivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("select" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        if ("dataLabelHeightChanged" === en) {
          var pd_3 = _co.onDataLabelMaxHeightChanged($event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
        dims: [0, "dims"],
        series: [1, "series"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        colors: [4, "colors"],
        gradient: [5, "gradient"],
        activeEntries: [6, "activeEntries"],
        tooltipDisabled: [7, "tooltipDisabled"],
        tooltipTemplate: [8, "tooltipTemplate"],
        roundEdges: [9, "roundEdges"],
        animations: [10, "animations"],
        showDataLabel: [11, "showDataLabel"],
        dataLabelFormatting: [12, "dataLabelFormatting"],
        noBarWhenZero: [13, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelHeightChanged: "dataLabelHeightChanged"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.xAxis;

        _ck(_v, 6, 0, currVal_6);

        var currVal_7 = _co.yAxis;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = _co.dims;
        var currVal_9 = _co.results;
        var currVal_10 = _co.xScale;
        var currVal_11 = _co.yScale;
        var currVal_12 = _co.colors;
        var currVal_13 = _co.gradient;
        var currVal_14 = _co.activeEntries;
        var currVal_15 = _co.tooltipDisabled;
        var currVal_16 = _co.tooltipTemplate;
        var currVal_17 = _co.roundEdges;
        var currVal_18 = _co.animations;
        var currVal_19 = _co.showDataLabel;
        var currVal_20 = _co.dataLabelFormatting;
        var currVal_21 = _co.noBarWhenZero;

        _ck(_v, 10, 1, [currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarVerticalComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical", [], null, null, null, View_BarVerticalComponent_0, RenderType_BarVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarVerticalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalComponent"], View_BarVerticalComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      roundEdges: "roundEdges",
      yScaleMax: "yScaleMax",
      yScaleMin: "yScaleMin",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarVertical2DComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarVertical2DComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarVertical2DComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1,
                transform: "*"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BarVertical2DComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        ticks: [8, "ticks"],
        xAxisOffset: [9, "xAxisOffset"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.groupScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showXAxisLabel;
        var currVal_7 = _co.xAxisLabel;
        var currVal_8 = _co.xAxisTicks;
        var currVal_9 = _co.dataLabelMaxHeight.negative;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarVertical2DComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarVertical2DComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""]], [[24, "@animationState", 0], [1, "transform", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelHeightChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        if ("dataLabelHeightChanged" === en) {
          var pd_3 = _co.onDataLabelMaxHeightChanged($event, _v.context.index) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
        dims: [0, "dims"],
        series: [1, "series"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        colors: [4, "colors"],
        gradient: [5, "gradient"],
        activeEntries: [6, "activeEntries"],
        seriesName: [7, "seriesName"],
        tooltipDisabled: [8, "tooltipDisabled"],
        tooltipTemplate: [9, "tooltipTemplate"],
        roundEdges: [10, "roundEdges"],
        animations: [11, "animations"],
        showDataLabel: [12, "showDataLabel"],
        dataLabelFormatting: [13, "dataLabelFormatting"],
        noBarWhenZero: [14, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelHeightChanged: "dataLabelHeightChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.dims;
        var currVal_3 = _v.context.$implicit.series;
        var currVal_4 = _co.innerScale;
        var currVal_5 = _co.valueScale;
        var currVal_6 = _co.colors;
        var currVal_7 = _co.gradient;
        var currVal_8 = _co.activeEntries;
        var currVal_9 = _v.context.$implicit.name;
        var currVal_10 = _co.tooltipDisabled;
        var currVal_11 = _co.tooltipTemplate;
        var currVal_12 = _co.roundEdges;
        var currVal_13 = _co.animations;
        var currVal_14 = _co.showDataLabel;
        var currVal_15 = _co.dataLabelFormatting;
        var currVal_16 = _co.noBarWhenZero;

        _ck(_v, 1, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";

        var currVal_1 = _co.groupTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_BarVertical2DComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 12, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, undefined, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 8, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-grid-panel-series", ""], ["orient", "vertical"]], null, null, null, View_GridPanelSeriesComponent_0, RenderType_GridPanelSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], [], {
        data: [0, "data"],
        dims: [1, "dims"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        orient: [4, "orient"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVertical2DComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVertical2DComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVertical2DComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.results;
        var currVal_7 = _co.dims;
        var currVal_8 = _co.groupScale;
        var currVal_9 = _co.valueScale;
        var currVal_10 = "vertical";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

        var currVal_11 = _co.xAxis;

        _ck(_v, 8, 0, currVal_11);

        var currVal_12 = _co.yAxis;

        _ck(_v, 10, 0, currVal_12);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 12, 0, currVal_13, currVal_14);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarVertical2DComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-2d", [], null, null, null, View_BarVertical2DComponent_0, RenderType_BarVertical2DComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVertical2DComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarVertical2DComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical-2d", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVertical2DComponent"], View_BarVertical2DComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      scaleType: "scaleType",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      groupPadding: "groupPadding",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      roundEdges: "roundEdges",
      yScaleMax: "yScaleMax",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarVerticalNormalizedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarVerticalNormalizedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarVerticalNormalizedComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1,
                transform: "*"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BarVerticalNormalizedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        ticks: [8, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showXAxisLabel;
        var currVal_7 = _co.xAxisLabel;
        var currVal_8 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarVerticalNormalizedComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarVerticalNormalizedComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""], ["type", "normalized"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
        dims: [0, "dims"],
        type: [1, "type"],
        series: [2, "series"],
        xScale: [3, "xScale"],
        yScale: [4, "yScale"],
        colors: [5, "colors"],
        gradient: [6, "gradient"],
        activeEntries: [7, "activeEntries"],
        seriesName: [8, "seriesName"],
        tooltipDisabled: [9, "tooltipDisabled"],
        tooltipTemplate: [10, "tooltipTemplate"],
        animations: [11, "animations"],
        noBarWhenZero: [12, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.dims;
        var currVal_3 = "normalized";
        var currVal_4 = _v.context.$implicit.series;
        var currVal_5 = _co.xScale;
        var currVal_6 = _co.yScale;
        var currVal_7 = _co.colors;
        var currVal_8 = _co.gradient;
        var currVal_9 = _co.activeEntries;
        var currVal_10 = _v.context.$implicit.name;
        var currVal_11 = _co.tooltipDisabled;
        var currVal_12 = _co.tooltipTemplate;
        var currVal_13 = _co.animations;
        var currVal_14 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";

        var currVal_1 = _co.groupTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_BarVerticalNormalizedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, undefined, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalNormalizedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalNormalizedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalNormalizedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.xAxis;

        _ck(_v, 6, 0, currVal_6);

        var currVal_7 = _co.yAxis;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 10, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarVerticalNormalizedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-normalized", [], null, null, null, View_BarVerticalNormalizedComponent_0, RenderType_BarVerticalNormalizedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalNormalizedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarVerticalNormalizedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical-normalized", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalNormalizedComponent"], View_BarVerticalNormalizedComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BarVerticalStackedComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BarVerticalStackedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BarVerticalStackedComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1,
                transform: "*"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0,
                  transform: "scale(0)"
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BarVerticalStackedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        ticks: [8, "ticks"],
        xAxisOffset: [9, "xAxisOffset"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showXAxisLabel;
        var currVal_7 = _co.xAxisLabel;
        var currVal_8 = _co.xAxisTicks;
        var currVal_9 = _co.dataLabelMaxHeight.negative;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BarVerticalStackedComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BarVerticalStackedComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-series-vertical", ""], ["type", "stacked"]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dataLabelHeightChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, _v.context.$implicit) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, _v.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        if ("dataLabelHeightChanged" === en) {
          var pd_3 = _co.onDataLabelMaxHeightChanged($event, _v.context.index) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], {
        dims: [0, "dims"],
        type: [1, "type"],
        series: [2, "series"],
        xScale: [3, "xScale"],
        yScale: [4, "yScale"],
        colors: [5, "colors"],
        gradient: [6, "gradient"],
        activeEntries: [7, "activeEntries"],
        seriesName: [8, "seriesName"],
        tooltipDisabled: [9, "tooltipDisabled"],
        tooltipTemplate: [10, "tooltipTemplate"],
        animations: [11, "animations"],
        showDataLabel: [12, "showDataLabel"],
        dataLabelFormatting: [13, "dataLabelFormatting"],
        noBarWhenZero: [14, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dataLabelHeightChanged: "dataLabelHeightChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.dims;
        var currVal_3 = "stacked";
        var currVal_4 = _v.context.$implicit.series;
        var currVal_5 = _co.xScale;
        var currVal_6 = _co.yScale;
        var currVal_7 = _co.colors;
        var currVal_8 = _co.gradient;
        var currVal_9 = _co.activeEntries;
        var currVal_10 = _v.context.$implicit.name;
        var currVal_11 = _co.tooltipDisabled;
        var currVal_12 = _co.tooltipTemplate;
        var currVal_13 = _co.animations;
        var currVal_14 = _co.showDataLabel;
        var currVal_15 = _co.dataLabelFormatting;
        var currVal_16 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";

        var currVal_1 = _co.groupTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_BarVerticalStackedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, undefined, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, undefined, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 6, ":svg:g", [["class", "bar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalStackedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalStackedComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BarVerticalStackedComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.xAxis;

        _ck(_v, 6, 0, currVal_6);

        var currVal_7 = _co.yAxis;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 10, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_BarVerticalStackedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-stacked", [], null, null, null, View_BarVerticalStackedComponent_0, RenderType_BarVerticalStackedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalStackedComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BarVerticalStackedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bar-vertical-stacked", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarVerticalStackedComponent"], View_BarVerticalStackedComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      gradient: "gradient",
      showGridLines: "showGridLines",
      activeEntries: "activeEntries",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      barPadding: "barPadding",
      roundDomains: "roundDomains",
      yScaleMax: "yScaleMax",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_SeriesVerticalComponent = [];

    var RenderType_SeriesVerticalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_SeriesVerticalComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_SeriesVerticalComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["ngx-charts-bar", ""], ["ngx-tooltip", ""]], [[24, "@animationState", 0], [24, "@.disabled", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("mouseenter" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
          ad = pd_5 && ad;
        }

        if ("mouseleave" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
          ad = pd_6 && ad;
        }

        if ("select" === en) {
          var pd_7 = _co.onClick($event) !== false;
          ad = pd_7 && ad;
        }

        if ("activate" === en) {
          var pd_8 = _co.activate.emit($event) !== false;
          ad = pd_8 && ad;
        }

        if ("deactivate" === en) {
          var pd_9 = _co.deactivate.emit($event) !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        data: [1, "data"],
        width: [2, "width"],
        height: [3, "height"],
        x: [4, "x"],
        y: [5, "y"],
        orientation: [6, "orientation"],
        roundEdges: [7, "roundEdges"],
        gradient: [8, "gradient"],
        isActive: [9, "isActive"],
        stops: [10, "stops"],
        animations: [11, "animations"],
        ariaLabel: [12, "ariaLabel"],
        noBarWhenZero: [13, "noBarWhenZero"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.tooltipTemplate ? undefined : _v.context.$implicit.tooltipText;
        var currVal_3 = _co.tooltipDisabled;
        var currVal_4 = _co.tooltipPlacement;
        var currVal_5 = _co.tooltipType;
        var currVal_6 = _co.tooltipTemplate;
        var currVal_7 = _v.context.$implicit.data;

        _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _v.context.$implicit.color;
        var currVal_9 = _v.context.$implicit.data;
        var currVal_10 = _v.context.$implicit.width;
        var currVal_11 = _v.context.$implicit.height;
        var currVal_12 = _v.context.$implicit.x;
        var currVal_13 = _v.context.$implicit.y;
        var currVal_14 = "vertical";
        var currVal_15 = _v.context.$implicit.roundEdges;
        var currVal_16 = _co.gradient;

        var currVal_17 = _co.isActive(_v.context.$implicit.data);

        var currVal_18 = _v.context.$implicit.gradientStops;
        var currVal_19 = _co.animations;
        var currVal_20 = _v.context.$implicit.ariaLabel;
        var currVal_21 = _co.noBarWhenZero;

        _ck(_v, 2, 1, [currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";
        var currVal_1 = !_co.animations;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_SeriesVerticalComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-bar-label", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.dataLabelHeightChanged.emit({
            size: $event,
            index: _v.context.index
          }) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_BarLabelComponent_0, RenderType_BarLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        value: [0, "value"],
        valueFormatting: [1, "valueFormatting"],
        barX: [2, "barX"],
        barY: [3, "barY"],
        barWidth: [4, "barWidth"],
        barHeight: [5, "barHeight"],
        orientation: [6, "orientation"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.total;
        var currVal_1 = _co.dataLabelFormatting;
        var currVal_2 = _v.context.$implicit.x;
        var currVal_3 = _v.context.$implicit.y;
        var currVal_4 = _v.context.$implicit.width;
        var currVal_5 = _v.context.$implicit.height;
        var currVal_6 = "vertical";

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      }, null);
    }

    function View_SeriesVerticalComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesVerticalComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.barsForDataLabels;
        var currVal_1 = _co.trackDataLabelBy;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_SeriesVerticalComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesVerticalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SeriesVerticalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.bars;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = _co.showDataLabel;

        _ck(_v, 3, 0, currVal_2);
      }, null);
    }

    function View_SeriesVerticalComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-series-vertical", ""]], null, null, null, View_SeriesVerticalComponent_0, RenderType_SeriesVerticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], [], null, null)], null, null);
    }

    var SeriesVerticalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-series-vertical]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SeriesVerticalComponent"], View_SeriesVerticalComponent_Host_0, {
      dims: "dims",
      type: "type",
      series: "series",
      xScale: "xScale",
      yScale: "yScale",
      colors: "colors",
      gradient: "gradient",
      activeEntries: "activeEntries",
      seriesName: "seriesName",
      tooltipDisabled: "tooltipDisabled",
      tooltipTemplate: "tooltipTemplate",
      roundEdges: "roundEdges",
      animations: "animations",
      showDataLabel: "showDataLabel",
      dataLabelFormatting: "dataLabelFormatting",
      noBarWhenZero: "noBarWhenZero"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate",
      dataLabelHeightChanged: "dataLabelHeightChanged"
    }, []);

    var styles_BubbleChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_BubbleChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BubbleChartComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BubbleChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_BubbleChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_BubbleChartComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-bubble-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_BubbleSeriesComponent_0, RenderType_BubbleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        rScale: [3, "rScale"],
        xScaleType: [4, "xScaleType"],
        yScaleType: [5, "yScaleType"],
        colors: [6, "colors"],
        activeEntries: [7, "activeEntries"],
        xAxisLabel: [8, "xAxisLabel"],
        yAxisLabel: [9, "yAxisLabel"],
        tooltipDisabled: [10, "tooltipDisabled"],
        tooltipTemplate: [11, "tooltipTemplate"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _v.context.$implicit;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.rScale;
        var currVal_5 = _co.xScaleType;
        var currVal_6 = _co.yScaleType;
        var currVal_7 = _co.colors;
        var currVal_8 = _co.activeEntries;
        var currVal_9 = _co.xAxisLabel;
        var currVal_10 = _co.yAxisLabel;
        var currVal_11 = _co.tooltipDisabled;
        var currVal_12 = _co.tooltipTemplate;

        _ck(_v, 2, 1, [currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12]);
      }, function (_ck, _v) {
        var currVal_0 = "active";

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_BubbleChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 15, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 8, ":svg:g", [["class", "bubble-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 0, ":svg:rect", [["class", "bubble-chart-area"], ["style", "fill: rgb(255, 0, 0); opacity: 0; cursor: 'auto';"], ["x", "0"], ["y", "0"]], [[1, "width", 0], [1, "height", 0]], [[null, "mouseenter"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseenter" === en) {
          var pd_0 = _co.deactivateAll() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](13, 0, null, null, 2, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_10 = _co.xAxis;

        _ck(_v, 9, 0, currVal_10);

        var currVal_11 = _co.yAxis;

        _ck(_v, 11, 0, currVal_11);

        var currVal_15 = _co.data;
        var currVal_16 = _co.trackBy;

        _ck(_v, 15, 0, currVal_15, currVal_16);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.clipPathId;

        _ck(_v, 5, 0, currVal_5);

        var currVal_6 = _co.dims.width + 10;
        var currVal_7 = _co.dims.height + 10;
        var currVal_8 = "translate(-5, -5)";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

        var currVal_9 = _co.transform;

        _ck(_v, 7, 0, currVal_9);

        var currVal_12 = _co.dims.width;
        var currVal_13 = _co.dims.height;

        _ck(_v, 12, 0, currVal_12, currVal_13);

        var currVal_14 = _co.clipPath;

        _ck(_v, 13, 0, currVal_14);
      });
    }

    function View_BubbleChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bubble-chart", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseleave" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_BubbleChartComponent_0, RenderType_BubbleChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var BubbleChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-bubble-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleChartComponent"], View_BubbleChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      showGridLines: "showGridLines",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      roundDomains: "roundDomains",
      maxRadius: "maxRadius",
      minRadius: "minRadius",
      autoScale: "autoScale",
      tooltipDisabled: "tooltipDisabled",
      xScaleMin: "xScaleMin",
      xScaleMax: "xScaleMax",
      yScaleMin: "yScaleMin",
      yScaleMax: "yScaleMax"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_BubbleSeriesComponent = [];

    var RenderType_BubbleSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BubbleSeriesComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":enter",
            animation: [{
              type: 6,
              styles: {
                opacity: 0,
                transform: "scale(0)"
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 1,
                  transform: "scale(1)"
                },
                offset: null
              },
              timings: 250
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_BubbleSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 3, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 16777216, null, null, 2, ":svg:g", [["class", "circle"], ["ngx-charts-circle", ""], ["ngx-tooltip", ""]], [[24, "@animationState", 0], [4, "opacity", null], [2, "active", null]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("click" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onClick() !== false;
          ad = pd_5 && ad;
        }

        if ("mouseenter" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseEnter() !== false;
          ad = pd_6 && ad;
        }

        if ("mouseleave" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseLeave() !== false;
          ad = pd_7 && ad;
        }

        if ("select" === en) {
          var pd_8 = _co.onClick(_v.context.$implicit.data) !== false;
          ad = pd_8 && ad;
        }

        if ("activate" === en) {
          var pd_9 = _co.activateCircle(_v.context.$implicit) !== false;
          ad = pd_9 && ad;
        }

        if ("deactivate" === en) {
          var pd_10 = _co.deactivateCircle(_v.context.$implicit) !== false;
          ad = pd_10 && ad;
        }

        return ad;
      }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], {
        cx: [0, "cx"],
        cy: [1, "cy"],
        r: [2, "r"],
        fill: [3, "fill"],
        data: [4, "data"],
        classNames: [5, "classNames"],
        pointerEvents: [6, "pointerEvents"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.tooltipTemplate ? undefined : _co.getTooltipText(_v.context.$implicit);
        var currVal_5 = _co.tooltipDisabled;
        var currVal_6 = "top";
        var currVal_7 = "tooltip";
        var currVal_8 = _co.tooltipTemplate;
        var currVal_9 = _v.context.$implicit.data;

        _ck(_v, 3, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);

        var currVal_10 = 0;
        var currVal_11 = 0;
        var currVal_12 = _v.context.$implicit.radius;
        var currVal_13 = _v.context.$implicit.color;
        var currVal_14 = _v.context.$implicit.value;
        var currVal_15 = _v.context.$implicit.classNames;
        var currVal_16 = "all";

        _ck(_v, 4, 0, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.transform;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = "active";
        var currVal_2 = _v.context.$implicit.opacity;
        var currVal_3 = _v.context.$implicit.isActive;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);
      });
    }

    function View_BubbleSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_BubbleSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.circles;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_BubbleSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-bubble-series", ""]], null, null, null, View_BubbleSeriesComponent_0, RenderType_BubbleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleSeriesComponent"], [], null, null)], null, null);
    }

    var BubbleSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-bubble-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BubbleSeriesComponent"], View_BubbleSeriesComponent_Host_0, {
      data: "data",
      xScale: "xScale",
      yScale: "yScale",
      rScale: "rScale",
      xScaleType: "xScaleType",
      yScaleType: "yScaleType",
      colors: "colors",
      visibleValue: "visibleValue",
      activeEntries: "activeEntries",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      tooltipDisabled: "tooltipDisabled",
      tooltipTemplate: "tooltipTemplate"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_LegendComponent = [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{font-size:14px;font-weight:700;margin-bottom:5px;margin-left:10px;overflow:hidden;white-space:nowrap}.chart-legend li,.chart-legend ul{list-style:none;margin:0;padding:0}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{background:rgba(0,0,0,.05);border-radius:3px;float:left;line-height:85%;list-style:none;overflow-x:hidden;overflow-y:auto;text-align:left;white-space:nowrap;width:100%}.chart-legend .legend-label{color:#afb7c8;cursor:pointer;font-size:90%;margin:8px}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{border-radius:3px;color:#5b646b;display:inline-block;height:15px;margin-right:5px;width:15px}.chart-legend .legend-label-text{font-size:12px;line-height:15px;vertical-align:top;width:calc(100% - 20px)}.chart-legend .legend-label-text,.chart-legend .legend-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chart-legend .legend-title-text{line-height:16px;vertical-align:bottom}"];

    var RenderType_LegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_LegendComponent,
      data: {}
    });

    function View_LegendComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "header", [["class", "legend-title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, "span", [["class", "legend-title-text"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_LegendComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "li", [["class", "legend-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, "ngx-charts-legend-entry", [], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseenter" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
          ad = pd_1 && ad;
        }

        if ("select" === en) {
          var pd_2 = _co.labelClick.emit($event) !== false;
          ad = pd_2 && ad;
        }

        if ("activate" === en) {
          var pd_3 = _co.activate($event) !== false;
          ad = pd_3 && ad;
        }

        if ("deactivate" === en) {
          var pd_4 = _co.deactivate($event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, View_LegendEntryComponent_0, RenderType_LegendEntryComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendEntryComponent"], [], {
        color: [0, "color"],
        label: [1, "label"],
        formattedLabel: [2, "formattedLabel"],
        isActive: [3, "isActive"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.color;
        var currVal_1 = _v.context.$implicit.label;
        var currVal_2 = _v.context.$implicit.formattedLabel;

        var currVal_3 = _co.isActive(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3);
      }, null);
    }

    function View_LegendComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "div", [], [[4, "width", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LegendComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 3, "div", [["class", "legend-wrap"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 2, "ul", [["class", "legend-labels"]], [[2, "horizontal-legend", null], [4, "max-height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LegendComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = (_co.title == null ? null : _co.title.length) > 0;

        _ck(_v, 2, 0, currVal_1);

        var currVal_4 = _co.legendEntries;
        var currVal_5 = _co.trackBy;

        _ck(_v, 6, 0, currVal_4, currVal_5);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.width;

        _ck(_v, 0, 0, currVal_0);

        var currVal_2 = _co.horizontal;
        var currVal_3 = _co.height - 45;

        _ck(_v, 4, 0, currVal_2, currVal_3);
      });
    }

    function View_LegendComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-legend", [], null, null, null, View_LegendComponent_0, RenderType_LegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
    }

    var LegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-legend", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendComponent"], View_LegendComponent_Host_0, {
      data: "data",
      title: "title",
      colors: "colors",
      height: "height",
      width: "width",
      activeEntries: "activeEntries",
      horizontal: "horizontal"
    }, {
      labelClick: "labelClick",
      labelActivate: "labelActivate",
      labelDeactivate: "labelDeactivate"
    }, []);

    var styles_ScaleLegendComponent = [".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .scale-legend{display:flex;flex-direction:column;text-align:center}.chart-legend .scale-legend-wrap{border-radius:5px;display:inline-block;flex:1;margin:0 auto;width:30px}.chart-legend .scale-legend-label{font-size:12px}.chart-legend .horizontal-legend.scale-legend{flex-direction:row}.chart-legend .horizontal-legend .scale-legend-wrap{height:30px;margin:0 16px;width:auto}"];

    var RenderType_ScaleLegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_ScaleLegendComponent,
      data: {}
    });

    function View_ScaleLegendComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, "div", [["class", "scale-legend"]], [[2, "horizontal-legend", null], [4, "height", "px"], [4, "width", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, "div", [["class", "scale-legend-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](3, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 0, "div", [["class", "scale-legend-wrap"]], [[4, "background", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 2, "div", [["class", "scale-legend-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](7, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.horizontal;
        var currVal_1 = _co.horizontal ? undefined : _co.height;
        var currVal_2 = _co.width;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);

        var currVal_3 = _co.valueRange[1].toLocaleString();

        _ck(_v, 3, 0, currVal_3);

        var currVal_4 = _co.gradient;

        _ck(_v, 4, 0, currVal_4);

        var currVal_5 = _co.valueRange[0].toLocaleString();

        _ck(_v, 7, 0, currVal_5);
      });
    }

    function View_ScaleLegendComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-scale-legend", [], null, null, null, View_ScaleLegendComponent_0, RenderType_ScaleLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ScaleLegendComponent"], [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["DomSanitizer"]], null, null)], null, null);
    }

    var ScaleLegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-scale-legend", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ScaleLegendComponent"], View_ScaleLegendComponent_Host_0, {
      valueRange: "valueRange",
      colors: "colors",
      height: "height",
      width: "width",
      horizontal: "horizontal"
    }, {}, []);

    var styles_LegendEntryComponent = [];

    var RenderType_LegendEntryComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_LegendEntryComponent,
      data: {}
    });

    function View_LegendEntryComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "span", [["tabindex", "-1"]], [[8, "title", 0], [2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.select.emit(_co.formattedLabel) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "span", [["class", "legend-label-color"]], [[4, "background-color", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.toggle.emit(_co.formattedLabel) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, "span", [["class", "legend-label-text"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](3, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.formattedLabel;
        var currVal_1 = _co.isActive;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_2 = _co.color;

        _ck(_v, 1, 0, currVal_2);

        var currVal_3 = _co.trimmedLabel;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_LegendEntryComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-legend-entry", [], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseenter" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_LegendEntryComponent_0, RenderType_LegendEntryComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendEntryComponent"], [], null, null)], null, null);
    }

    var LegendEntryComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-legend-entry", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendEntryComponent"], View_LegendEntryComponent_Host_0, {
      color: "color",
      label: "label",
      formattedLabel: "formattedLabel",
      isActive: "isActive"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate",
      toggle: "toggle"
    }, []);

    var styles_AdvancedLegendComponent = [".advanced-pie-legend{float:left;position:relative;top:50%;transform:translateY(-50%)}.advanced-pie-legend .total-value{font-size:36px}.advanced-pie-legend .total-label{font-size:24px;margin-bottom:19px}.advanced-pie-legend .legend-items-container{width:100%}.advanced-pie-legend .legend-items-container .legend-items{overflow:auto;white-space:nowrap}.advanced-pie-legend .legend-items-container .legend-items .legend-item{cursor:pointer;display:inline-block;margin-right:20px}.advanced-pie-legend .legend-items-container .legend-items .legend-item:focus{outline:none}.advanced-pie-legend .legend-items-container .legend-items .legend-item:hover{color:#000;transition:.2s}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-value{font-size:24px;margin-left:11px;margin-top:-6px}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-label{font-size:14px;margin-left:11px;margin-top:-6px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-percent{font-size:24px;margin-left:11px;opacity:.7}.advanced-pie-legend .legend-items-container .legend-items .legend-item .item-color{border-left:4px solid;float:left;height:42px;margin-right:7px;width:4px}"];

    var RenderType_AdvancedLegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AdvancedLegendComponent,
      data: {}
    });

    function View_AdvancedLegendComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "total-value"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        valueFormatting: [0, "valueFormatting"],
        countTo: [1, "countTo"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueFormatting;
        var currVal_1 = _co.roundedTotal;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_AdvancedLegendComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "total-value"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueFormatting ? _co.valueFormatting(_co.roundedTotal) : _co.defaultValueFormatting(_co.roundedTotal);

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_AdvancedLegendComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-value"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        valueFormatting: [0, "valueFormatting"],
        countTo: [1, "countTo"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueFormatting;
        var currVal_1 = _v.parent.context.$implicit._value;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_AdvancedLegendComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-value"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueFormatting ? _co.valueFormatting(_v.parent.context.$implicit.value) : _co.defaultValueFormatting(_v.parent.context.$implicit.value);

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_AdvancedLegendComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-percent"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        countSuffix: [0, "countSuffix"],
        countTo: [1, "countTo"]
      }, null)], function (_ck, _v) {
        var currVal_0 = "%";
        var currVal_1 = _v.parent.context.$implicit.percentage;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_AdvancedLegendComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["class", "item-percent"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, ["", "%"]))], null, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.percentage.toLocaleString();

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_AdvancedLegendComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 11, "div", [["class", "legend-item"], ["tabindex", "-1"]], null, [[null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseenter" === en) {
          var pd_0 = _co.activate.emit(_v.context.$implicit.data) !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _co.deactivate.emit(_v.context.$implicit.data) !== false;
          ad = pd_1 && ad;
        }

        if ("click" === en) {
          var pd_2 = _co.select.emit(_v.context.$implicit.data) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "div", [["class", "item-color"]], [[4, "border-left-color", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 1, "div", [["class", "item-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](7, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.animations;

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = !_co.animations;

        _ck(_v, 5, 0, currVal_2);

        var currVal_4 = _co.animations;

        _ck(_v, 9, 0, currVal_4);

        var currVal_5 = !_co.animations;

        _ck(_v, 11, 0, currVal_5);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.color;

        _ck(_v, 1, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.displayLabel;

        _ck(_v, 7, 0, currVal_3);
      });
    }

    function View_AdvancedLegendComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 10, "div", [["class", "advanced-pie-legend"]], [[4, "width", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, "div", [["class", "total-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](6, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 3, "div", [["class", "legend-items-container"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](8, 0, null, null, 2, "div", [["class", "legend-items"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AdvancedLegendComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.animations;

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = !_co.animations;

        _ck(_v, 4, 0, currVal_2);

        var currVal_4 = _co.legendItems;
        var currVal_5 = _co.trackBy;

        _ck(_v, 10, 0, currVal_4, currVal_5);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.width;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _co.label;

        _ck(_v, 6, 0, currVal_3);
      });
    }

    function View_AdvancedLegendComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-advanced-legend", [], null, null, null, View_AdvancedLegendComponent_0, RenderType_AdvancedLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedLegendComponent"], [], null, null)], null, null);
    }

    var AdvancedLegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-advanced-legend", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedLegendComponent"], View_AdvancedLegendComponent_Host_0, {
      width: "width",
      data: "data",
      colors: "colors",
      label: "label",
      animations: "animations",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      percentageFormatting: "percentageFormatting"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_TooltipContentComponent = [".ngx-charts-tooltip-content{border-radius:3px;display:block;font-weight:400;opacity:0;pointer-events:none!important;position:fixed;z-index:5000}.ngx-charts-tooltip-content.type-popover{background:#fff;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);color:#060709;font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid #fff;border-top:7px solid transparent}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-bottom:7px solid #fff;border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip{background:rgba(0,0,0,.75);color:#fff;font-size:12px;padding:0 10px;pointer-events:auto;text-align:center}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75);border-top:7px solid transparent}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-bottom:7px solid rgba(0,0,0,.75);border-left:7px solid transparent;border-right:7px solid transparent}.ngx-charts-tooltip-content .tooltip-label{display:block;font-size:1em;line-height:1em;padding:8px 5px 5px}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{height:0;position:absolute;width:0;z-index:5001}.ngx-charts-tooltip-content.position-right{transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;pointer-events:auto;transform:translateZ(0);transition:opacity .3s,transform .3s}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{line-height:1.2em;padding:5px 0;text-align:left}.tooltip-item .tooltip-item-color{border-radius:3px;color:#5b646b;display:inline-block;height:12px;margin-right:5px;width:12px}"];

    var RenderType_TooltipContentComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_TooltipContentComponent,
      data: {}
    });

    function View_TooltipContentComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_TooltipContentComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 2, null, View_TooltipContentComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](3, {
        model: 0
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.context);

        var currVal_1 = _co.template;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_TooltipContentComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "span", [], [[8, "innerHTML", 1]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_TooltipContentComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        caretElm: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 6, "div", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, [[1, 0], ["caretElm", 1]], null, 0, "span", [], [[8, "hidden", 0], [8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 4, "div", [["class", "tooltip-content"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TooltipContentComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TooltipContentComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = !_co.title;

        _ck(_v, 5, 0, currVal_2);

        var currVal_3 = _co.title;

        _ck(_v, 7, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.showCaret;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "tooltip-caret position-", _co.placement, "");

        _ck(_v, 2, 0, currVal_0, currVal_1);
      });
    }

    function View_TooltipContentComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-tooltip-content", [], [[8, "className", 0]], [["window", "resize"]], function (_v, en, $event) {
        var ad = true;

        if ("window:resize" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onWindowResize() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_TooltipContentComponent_0, RenderType_TooltipContentComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4243456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipContentComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], null, null)], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).cssClasses;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    var TooltipContentComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-tooltip-content", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipContentComponent"], View_TooltipContentComponent_Host_0, {
      host: "host",
      showCaret: "showCaret",
      type: "type",
      placement: "placement",
      alignment: "alignment",
      spacing: "spacing",
      cssClass: "cssClass",
      title: "title",
      template: "template",
      context: "context"
    }, {}, []);

    var styles_AxisLabelComponent = [];

    var RenderType_AxisLabelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AxisLabelComponent,
      data: {}
    });

    function View_AxisLabelComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [], [[1, "stroke-width", 0], [1, "x", 0], [1, "y", 0], [1, "text-anchor", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.strokeWidth;
        var currVal_1 = _co.x;
        var currVal_2 = _co.y;
        var currVal_3 = _co.textAnchor;
        var currVal_4 = _co.transform;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_5 = _co.label;

        _ck(_v, 1, 0, currVal_5);
      });
    }

    function View_AxisLabelComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var AxisLabelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-axis-label]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], View_AxisLabelComponent_Host_0, {
      orient: "orient",
      label: "label",
      offset: "offset",
      width: "width",
      height: "height"
    }, {}, []);

    var styles_XAxisComponent = [];

    var RenderType_XAxisComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_XAxisComponent,
      data: {}
    });

    function View_XAxisComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis-ticks", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.emitTicksHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisTicksComponent_0, RenderType_XAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, [[1, 4]], 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisTicksComponent"], [], {
        scale: [0, "scale"],
        orient: [1, "orient"],
        tickArguments: [2, "tickArguments"],
        tickValues: [3, "tickValues"],
        tickStroke: [4, "tickStroke"],
        trimTicks: [5, "trimTicks"],
        maxTickLength: [6, "maxTickLength"],
        tickFormatting: [7, "tickFormatting"],
        showGridLines: [8, "showGridLines"],
        gridLineHeight: [9, "gridLineHeight"],
        width: [10, "width"],
        rotateTicks: [11, "rotateTicks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.xOrient;
        var currVal_2 = _co.tickArguments;
        var currVal_3 = _co.ticks;
        var currVal_4 = _co.tickStroke;
        var currVal_5 = _co.trimTicks;
        var currVal_6 = _co.maxTickLength;
        var currVal_7 = _co.tickFormatting;
        var currVal_8 = _co.showGridLines;
        var currVal_9 = _co.dims.height;
        var currVal_10 = _co.dims.width;
        var currVal_11 = _co.rotateTicks;

        _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]);
      }, null);
    }

    function View_XAxisComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        orient: [0, "orient"],
        label: [1, "label"],
        offset: [2, "offset"],
        width: [3, "width"],
        height: [4, "height"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "bottom";
        var currVal_1 = _co.labelText;
        var currVal_2 = _co.labelOffset;
        var currVal_3 = _co.dims.width;
        var currVal_4 = _co.dims.height;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_XAxisComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        ticksComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 4, ":svg:g", [], [[1, "class", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.xScale;

        _ck(_v, 3, 0, currVal_2);

        var currVal_3 = _co.showLabel;

        _ck(_v, 5, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xAxisClassName;
        var currVal_1 = _co.transform;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      });
    }

    function View_XAxisComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-x-axis", ""]], null, null, null, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], null, null)], null, null);
    }

    var XAxisComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-x-axis]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], View_XAxisComponent_Host_0, {
      xScale: "xScale",
      dims: "dims",
      trimTicks: "trimTicks",
      rotateTicks: "rotateTicks",
      maxTickLength: "maxTickLength",
      tickFormatting: "tickFormatting",
      showGridLines: "showGridLines",
      showLabel: "showLabel",
      labelText: "labelText",
      ticks: "ticks",
      xAxisTickInterval: "xAxisTickInterval",
      xAxisTickCount: "xAxisTickCount",
      xOrient: "xOrient",
      xAxisOffset: "xAxisOffset"
    }, {
      dimensionsChanged: "dimensionsChanged"
    }, []);

    var styles_XAxisTicksComponent = [];

    var RenderType_XAxisTicksComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_XAxisTicksComponent,
      data: {}
    });

    function View_XAxisTicksComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["class", "tick"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["stroke-width", "0.01"]], [[1, "text-anchor", 0], [1, "transform", 0], [4, "font-size", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.tickTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.tickFormat(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = _co.textAnchor;
        var currVal_3 = _co.textTransform;
        var currVal_4 = "12px";

        _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4);

        var currVal_5 = _co.tickTrim(_co.tickFormat(_v.context.$implicit));

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_XAxisTicksComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:line", [["class", "gridline-path gridline-path-vertical"], ["y2", "0"]], [[1, "y1", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.gridLineTransform();

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = 0 - _co.gridLineHeight;

        _ck(_v, 1, 0, currVal_1);
      });
    }

    function View_XAxisTicksComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisTicksComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.showGridLines;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.tickTransform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_XAxisTicksComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        ticksElement: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, [[1, 0], ["ticksel", 1]], null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisTicksComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_XAxisTicksComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.ticks;

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _co.ticks;

        _ck(_v, 5, 0, currVal_1);
      }, null);
    }

    function View_XAxisTicksComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-x-axis-ticks", ""]], null, null, null, View_XAxisTicksComponent_0, RenderType_XAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisTicksComponent"], [], null, null)], null, null);
    }

    var XAxisTicksComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-x-axis-ticks]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisTicksComponent"], View_XAxisTicksComponent_Host_0, {
      scale: "scale",
      orient: "orient",
      tickArguments: "tickArguments",
      tickValues: "tickValues",
      tickStroke: "tickStroke",
      trimTicks: "trimTicks",
      maxTickLength: "maxTickLength",
      tickFormatting: "tickFormatting",
      showGridLines: "showGridLines",
      gridLineHeight: "gridLineHeight",
      width: "width",
      rotateTicks: "rotateTicks"
    }, {
      dimensionsChanged: "dimensionsChanged"
    }, []);

    var styles_YAxisComponent = [];

    var RenderType_YAxisComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_YAxisComponent,
      data: {}
    });

    function View_YAxisComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis-ticks", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.emitTicksWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisTicksComponent_0, RenderType_YAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, [[1, 4]], 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisTicksComponent"], [], {
        scale: [0, "scale"],
        orient: [1, "orient"],
        tickArguments: [2, "tickArguments"],
        tickValues: [3, "tickValues"],
        tickStroke: [4, "tickStroke"],
        trimTicks: [5, "trimTicks"],
        maxTickLength: [6, "maxTickLength"],
        tickFormatting: [7, "tickFormatting"],
        showGridLines: [8, "showGridLines"],
        gridLineWidth: [9, "gridLineWidth"],
        height: [10, "height"],
        referenceLines: [11, "referenceLines"],
        showRefLabels: [12, "showRefLabels"],
        showRefLines: [13, "showRefLines"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.yOrient;
        var currVal_2 = _co.tickArguments;
        var currVal_3 = _co.ticks;
        var currVal_4 = _co.tickStroke;
        var currVal_5 = _co.trimTicks;
        var currVal_6 = _co.maxTickLength;
        var currVal_7 = _co.tickFormatting;
        var currVal_8 = _co.showGridLines;
        var currVal_9 = _co.dims.width;
        var currVal_10 = _co.dims.height;
        var currVal_11 = _co.referenceLines;
        var currVal_12 = _co.showRefLabels;
        var currVal_13 = _co.showRefLines;

        _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13]);
      }, null);
    }

    function View_YAxisComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        orient: [0, "orient"],
        label: [1, "label"],
        offset: [2, "offset"],
        width: [3, "width"],
        height: [4, "height"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yOrient;
        var currVal_1 = _co.labelText;
        var currVal_2 = _co.labelOffset;
        var currVal_3 = _co.dims.width;
        var currVal_4 = _co.dims.height;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_YAxisComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        ticksComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 4, ":svg:g", [], [[1, "class", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.yScale;

        _ck(_v, 3, 0, currVal_2);

        var currVal_3 = _co.showLabel;

        _ck(_v, 5, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yAxisClassName;
        var currVal_1 = _co.transform;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      });
    }

    function View_YAxisComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-y-axis", ""]], null, null, null, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], null, null)], null, null);
    }

    var YAxisComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-y-axis]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], View_YAxisComponent_Host_0, {
      yScale: "yScale",
      dims: "dims",
      trimTicks: "trimTicks",
      maxTickLength: "maxTickLength",
      tickFormatting: "tickFormatting",
      ticks: "ticks",
      showGridLines: "showGridLines",
      showLabel: "showLabel",
      labelText: "labelText",
      yAxisTickInterval: "yAxisTickInterval",
      yAxisTickCount: "yAxisTickCount",
      yOrient: "yOrient",
      referenceLines: "referenceLines",
      showRefLines: "showRefLines",
      showRefLabels: "showRefLabels",
      yAxisOffset: "yAxisOffset"
    }, {
      dimensionsChanged: "dimensionsChanged"
    }, []);

    var styles_YAxisTicksComponent = [];

    var RenderType_YAxisTicksComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_YAxisTicksComponent,
      data: {}
    });

    function View_YAxisTicksComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["class", "tick"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["stroke-width", "0.01"]], [[1, "dy", 0], [1, "x", 0], [1, "y", 0], [1, "text-anchor", 0], [4, "font-size", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.transform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.tickFormat(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = _co.dy;
        var currVal_3 = _co.x1;
        var currVal_4 = _co.y1;
        var currVal_5 = _co.textAnchor;
        var currVal_6 = "12px";

        _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _co.tickTrim(_co.tickFormat(_v.context.$implicit));

        _ck(_v, 4, 0, currVal_7);
      });
    }

    function View_YAxisTicksComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:path", [["class", "reference-area"]], [[1, "d", 0], [1, "transform", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.referenceAreaPath;

        var currVal_1 = _co.gridLineTransform();

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_YAxisTicksComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["class", "gridline-path gridline-path-horizontal"], ["x1", "0"]], [[1, "x2", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.gridLineWidth;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_YAxisTicksComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["class", "gridline-path gridline-path-horizontal"], ["x1", "0"]], [[1, "x2", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = 0 - _co.gridLineWidth;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_YAxisTicksComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.orient === "left";

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = _co.orient === "right";

        _ck(_v, 4, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.gridLineTransform();

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_YAxisTicksComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.showGridLines;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.transform(_v.context.$implicit);

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_YAxisTicksComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["class", "refline-label"]], [[1, "dy", 0], [1, "y", 0], [1, "x", 0], [1, "text-anchor", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.tickTrim(_co.tickFormat(_v.parent.parent.context.$implicit.value));

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.dy;
        var currVal_2 = 0 - 6;
        var currVal_3 = _co.gridLineWidth;
        var currVal_4 = _co.textAnchor;

        _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_5 = _v.parent.parent.context.$implicit.name;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_YAxisTicksComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:line", [["class", "refline-path gridline-path-horizontal"], ["x1", "0"]], [[1, "x2", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.showRefLabels;

        _ck(_v, 3, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.transform(_v.parent.context.$implicit.value);

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.gridLineWidth;

        var currVal_2 = _co.gridLineTransform();

        _ck(_v, 1, 0, currVal_1, currVal_2);
      });
    }

    function View_YAxisTicksComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.showRefLines;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_YAxisTicksComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        ticksElement: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, [[1, 0], ["ticksel", 1]], null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_YAxisTicksComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.ticks;

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _co.referenceLineLength > 1 && _co.refMax && _co.refMin && _co.showRefLines;

        _ck(_v, 5, 0, currVal_1);

        var currVal_2 = _co.ticks;

        _ck(_v, 7, 0, currVal_2);

        var currVal_3 = _co.referenceLines;

        _ck(_v, 9, 0, currVal_3);
      }, null);
    }

    function View_YAxisTicksComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-y-axis-ticks", ""]], null, null, null, View_YAxisTicksComponent_0, RenderType_YAxisTicksComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4767744, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisTicksComponent"], [], null, null)], null, null);
    }

    var YAxisTicksComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-y-axis-ticks]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisTicksComponent"], View_YAxisTicksComponent_Host_0, {
      scale: "scale",
      orient: "orient",
      tickArguments: "tickArguments",
      tickValues: "tickValues",
      tickStroke: "tickStroke",
      trimTicks: "trimTicks",
      maxTickLength: "maxTickLength",
      tickFormatting: "tickFormatting",
      showGridLines: "showGridLines",
      gridLineWidth: "gridLineWidth",
      height: "height",
      referenceLines: "referenceLines",
      showRefLabels: "showRefLabels",
      showRefLines: "showRefLines"
    }, {
      dimensionsChanged: "dimensionsChanged"
    }, []);

    var styles_CountUpDirective = [];

    var RenderType_CountUpDirective = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_CountUpDirective,
      data: {}
    });

    function View_CountUpDirective_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](0, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.value;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_CountUpDirective_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "div", [["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var CountUpDirectiveNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("[ngx-charts-count-up]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], View_CountUpDirective_Host_0, {
      countDuration: "countDuration",
      countPrefix: "countPrefix",
      countSuffix: "countSuffix",
      valueFormatting: "valueFormatting",
      countDecimals: "countDecimals",
      countTo: "countTo",
      countFrom: "countFrom"
    }, {
      countChange: "countChange",
      countFinish: "countFinish"
    }, []);

    var styles_Timeline = [".timeline .brush-background{fill:rgba(0,0,0,.05)}.timeline .brush .selection{fill:rgba(0,0,0,.1);stroke:#888;stroke-width:1px}.timeline .brush .handle{fill-opacity:0}.timeline .embedded-chart{opacity:.6}"];

    var RenderType_Timeline = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_Timeline,
      data: {}
    });

    function View_Timeline_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, ":svg:g", [["class", "timeline"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:filter", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:feColorMatrix", [["in", "SourceGraphic"], ["type", "matrix"], ["values", "0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:g", [["class", "embedded-chart"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 0, ":svg:rect", [["class", "brush-background"], ["x", "0"], ["y", "0"]], [[1, "width", 0], [1, "height", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:g", [["class", "brush"]], null, null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.transform;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.filterId;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _co.view[0];
        var currVal_3 = _co.height;

        _ck(_v, 5, 0, currVal_2, currVal_3);
      });
    }

    function View_Timeline_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-timeline", ""]], null, null, null, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
    }

    var TimelineNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-timeline]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], View_Timeline_Host_0, {
      view: "view",
      state: "state",
      results: "results",
      scheme: "scheme",
      customColors: "customColors",
      legend: "legend",
      miniChart: "miniChart",
      autoScale: "autoScale",
      scaleType: "scaleType",
      height: "height"
    }, {
      select: "select",
      onDomainChange: "onDomainChange"
    }, ["*"]);

    var styles_ChartComponent = [];

    var RenderType_ChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_ChartComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":enter",
            animation: [{
              type: 6,
              styles: {
                opacity: 0
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              },
              timings: "500ms 100ms"
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_ChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-scale-legend", [["class", "chart-legend"]], null, null, null, View_ScaleLegendComponent_0, RenderType_ScaleLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ScaleLegendComponent"], [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["DomSanitizer"]], {
        valueRange: [0, "valueRange"],
        colors: [1, "colors"],
        height: [2, "height"],
        width: [3, "width"],
        horizontal: [4, "horizontal"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.legendOptions.domain;
        var currVal_1 = _co.legendOptions.colors;
        var currVal_2 = _co.view[1];
        var currVal_3 = _co.legendWidth;
        var currVal_4 = _co.legendOptions && _co.legendOptions.position === "below";

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_ChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-legend", [["class", "chart-legend"]], null, [[null, "labelClick"], [null, "labelActivate"], [null, "labelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("labelClick" === en) {
          var pd_0 = _co.legendLabelClick.emit($event) !== false;
          ad = pd_0 && ad;
        }

        if ("labelActivate" === en) {
          var pd_1 = _co.legendLabelActivate.emit($event) !== false;
          ad = pd_1 && ad;
        }

        if ("labelDeactivate" === en) {
          var pd_2 = _co.legendLabelDeactivate.emit($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_LegendComponent_0, RenderType_LegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LegendComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        data: [0, "data"],
        title: [1, "title"],
        colors: [2, "colors"],
        height: [3, "height"],
        width: [4, "width"],
        activeEntries: [5, "activeEntries"],
        horizontal: [6, "horizontal"]
      }, {
        labelClick: "labelClick",
        labelActivate: "labelActivate",
        labelDeactivate: "labelDeactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.legendOptions.domain;
        var currVal_1 = _co.legendOptions.title;
        var currVal_2 = _co.legendOptions.colors;
        var currVal_3 = _co.view[1];
        var currVal_4 = _co.legendWidth;
        var currVal_5 = _co.activeEntries;
        var currVal_6 = _co.legendOptions && _co.legendOptions.position === "below";

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      }, null);
    }

    function View_ChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "div", [["class", "ngx-charts-outer"]], [[4, "width", "px"], [24, "@animationState", 0], [24, "@.disabled", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:svg", [["class", "ngx-charts"]], [[1, "width", 0], [1, "height", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_ChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_ChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.showLegend && _co.legendType === "scaleLegend";

        _ck(_v, 4, 0, currVal_5);

        var currVal_6 = _co.showLegend && _co.legendType === "legend";

        _ck(_v, 6, 0, currVal_6);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.view[0];
        var currVal_1 = "active";
        var currVal_2 = !_co.animations;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);

        var currVal_3 = _co.chartWidth;
        var currVal_4 = _co.view[1];

        _ck(_v, 1, 0, currVal_3, currVal_4);
      });
    }

    function View_ChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], null, null)], null, null);
    }

    var ChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], View_ChartComponent_Host_0, {
      view: "view",
      showLegend: "showLegend",
      legendOptions: "legendOptions",
      data: "data",
      legendData: "legendData",
      legendType: "legendType",
      colors: "colors",
      activeEntries: "activeEntries",
      animations: "animations"
    }, {
      legendLabelClick: "legendLabelClick",
      legendLabelActivate: "legendLabelActivate",
      legendLabelDeactivate: "legendLabelDeactivate"
    }, ["*"]);

    var styles_AreaComponent = [];

    var RenderType_AreaComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AreaComponent,
      data: {}
    });

    function View_AreaComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
        orientation: [0, "orientation"],
        name: [1, "name"],
        stops: [2, "stops"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "vertical";
        var currVal_1 = _co.gradientId;
        var currVal_2 = _co.gradientStops;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_AreaComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_AreaComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:path", [["class", "area"]], [[1, "d", 0], [1, "fill", 0], [4, "opacity", null]], null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.gradient;

        _ck(_v, 1, 0, currVal_0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.areaPath;
        var currVal_2 = _co.gradient ? _co.gradientFill : _co.fill;
        var currVal_3 = _co.opacity;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);
      });
    }

    function View_AreaComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-area", ""]], null, null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var AreaComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-area]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], View_AreaComponent_Host_0, {
      data: "data",
      path: "path",
      startingPath: "startingPath",
      fill: "fill",
      opacity: "opacity",
      startOpacity: "startOpacity",
      endOpacity: "endOpacity",
      activeLabel: "activeLabel",
      gradient: "gradient",
      stops: "stops",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_BaseChartComponent = [];

    var RenderType_BaseChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_BaseChartComponent,
      data: {}
    });

    function View_BaseChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "div", [], null, null, null, null, null))], null, null);
    }

    function View_BaseChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "base-chart", [], null, null, null, View_BaseChartComponent_0, RenderType_BaseChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BaseChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
    }

    var BaseChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("base-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BaseChartComponent"], View_BaseChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_CircleComponent = [];

    var RenderType_CircleComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_CircleComponent,
      data: {}
    });

    function View_CircleComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:circle", [], [[1, "cx", 0], [1, "cy", 0], [1, "r", 0], [1, "fill", 0], [1, "stroke", 0], [1, "opacity", 0], [1, "class", 0], [1, "pointer-events", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.cx;
        var currVal_1 = _co.cy;
        var currVal_2 = _co.r;
        var currVal_3 = _co.fill;
        var currVal_4 = _co.stroke;
        var currVal_5 = _co.circleOpacity;
        var currVal_6 = _co.classNames;
        var currVal_7 = _co.pointerEvents;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_CircleComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-circle", ""]], null, [[null, "click"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onClick() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseenter" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseleave" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], null, null)], null, null);
    }

    var CircleComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-circle]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], View_CircleComponent_Host_0, {
      cx: "cx",
      cy: "cy",
      r: "r",
      fill: "fill",
      stroke: "stroke",
      data: "data",
      classNames: "classNames",
      circleOpacity: "circleOpacity",
      pointerEvents: "pointerEvents"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_CircleSeriesComponent = [];

    var RenderType_CircleSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_CircleSeriesComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":enter",
            animation: [{
              type: 6,
              styles: {
                opacity: 0
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 1
                },
                offset: null
              },
              timings: 250
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_CircleSeriesComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [["class", "tooltip-bar"]], [[24, "@animationState", 0], [1, "x", 0], [1, "y", 0], [1, "width", 0], [1, "height", 0], [1, "fill", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";
        var currVal_1 = _co.circle.cx - _co.circle.radius;
        var currVal_2 = _co.circle.cy;
        var currVal_3 = _co.circle.radius * 2;
        var currVal_4 = _co.circle.height;
        var currVal_5 = _co.gradientFill;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
      });
    }

    function View_CircleSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 9, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
        orientation: [0, "orientation"],
        name: [1, "name"],
        stops: [2, "stops"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CircleSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 16777216, null, null, 3, ":svg:g", [["class", "circle"], ["ngx-charts-circle", ""], ["ngx-tooltip", ""]], [[2, "active", null]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("click" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onClick() !== false;
          ad = pd_5 && ad;
        }

        if ("mouseenter" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseEnter() !== false;
          ad = pd_6 && ad;
        }

        if ("mouseleave" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseLeave() !== false;
          ad = pd_7 && ad;
        }

        if ("select" === en) {
          var pd_8 = _co.onClick(_co.circle.data) !== false;
          ad = pd_8 && ad;
        }

        if ("activate" === en) {
          var pd_9 = _co.activateCircle() !== false;
          ad = pd_9 && ad;
        }

        if ("deactivate" === en) {
          var pd_10 = _co.deactivateCircle() !== false;
          ad = pd_10 && ad;
        }

        return ad;
      }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], {
        cx: [0, "cx"],
        cy: [1, "cy"],
        r: [2, "r"],
        fill: [3, "fill"],
        data: [4, "data"],
        classNames: [5, "classNames"],
        pointerEvents: [6, "pointerEvents"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](9, {
        name: 0
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "vertical";
        var currVal_1 = _co.gradientId;
        var currVal_2 = _co.circle.gradientStops;

        _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2);

        var currVal_3 = _co.barVisible && _co.type === "standard";

        _ck(_v, 5, 0, currVal_3);

        var currVal_5 = _co.tooltipTemplate ? undefined : _co.getTooltipText(_co.circle);
        var currVal_6 = _co.tooltipDisabled;
        var currVal_7 = "top";
        var currVal_8 = "tooltip";
        var currVal_9 = _co.tooltipTemplate;
        var currVal_10 = _co.circle.data;

        _ck(_v, 7, 0, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

        var currVal_11 = _co.circle.cx;
        var currVal_12 = _co.circle.cy;
        var currVal_13 = _co.circle.radius;
        var currVal_14 = _co.circle.color;
        var currVal_15 = _co.circle.value;
        var currVal_16 = _co.circle.classNames;
        var currVal_17 = _co.circle.value === 0 ? "none" : "all";

        _ck(_v, 8, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_4 = _co.isActive(_ck(_v, 9, 0, _co.circle.seriesName));

        _ck(_v, 6, 0, currVal_4);
      });
    }

    function View_CircleSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CircleSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.circle;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_CircleSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-circle-series", ""]], null, null, null, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var CircleSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-circle-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], View_CircleSeriesComponent_Host_0, {
      data: "data",
      type: "type",
      xScale: "xScale",
      yScale: "yScale",
      colors: "colors",
      scaleType: "scaleType",
      visibleValue: "visibleValue",
      activeEntries: "activeEntries",
      tooltipDisabled: "tooltipDisabled",
      tooltipTemplate: "tooltipTemplate"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_GridPanelComponent = [];

    var RenderType_GridPanelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_GridPanelComponent,
      data: {}
    });

    function View_GridPanelComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [["class", "gridpanel"], ["stroke", "none"]], [[1, "height", 0], [1, "width", 0], [1, "x", 0], [1, "y", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.height;
        var currVal_1 = _co.width;
        var currVal_2 = _co.x;
        var currVal_3 = _co.y;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);
      });
    }

    function View_GridPanelComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-grid-panel", ""]], null, null, null, View_GridPanelComponent_0, RenderType_GridPanelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelComponent"], [], null, null)], null, null);
    }

    var GridPanelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-grid-panel]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelComponent"], View_GridPanelComponent_Host_0, {
      path: "path",
      width: "width",
      height: "height",
      x: "x",
      y: "y"
    }, {}, []);

    var styles_GridPanelSeriesComponent = [];

    var RenderType_GridPanelSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_GridPanelSeriesComponent,
      data: {}
    });

    function View_GridPanelSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-grid-panel", ""]], [[2, "grid-panel", null], [2, "odd", null], [2, "even", null]], null, null, View_GridPanelComponent_0, RenderType_GridPanelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelComponent"], [], {
        width: [0, "width"],
        height: [1, "height"],
        x: [2, "x"],
        y: [3, "y"]
      }, null)], function (_ck, _v) {
        var currVal_3 = _v.context.$implicit.width;
        var currVal_4 = _v.context.$implicit.height;
        var currVal_5 = _v.context.$implicit.x;
        var currVal_6 = _v.context.$implicit.y;

        _ck(_v, 1, 0, currVal_3, currVal_4, currVal_5, currVal_6);
      }, function (_ck, _v) {
        var currVal_0 = true;
        var currVal_1 = _v.context.$implicit["class"] === "odd";
        var currVal_2 = _v.context.$implicit["class"] === "even";

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_GridPanelSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GridPanelSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.gridPanels;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_GridPanelSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-grid-panel-series", ""]], null, null, null, View_GridPanelSeriesComponent_0, RenderType_GridPanelSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], [], null, null)], null, null);
    }

    var GridPanelSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-grid-panel-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GridPanelSeriesComponent"], View_GridPanelSeriesComponent_Host_0, {
      data: "data",
      dims: "dims",
      xScale: "xScale",
      yScale: "yScale",
      orient: "orient"
    }, {}, []);

    var styles_SvgLinearGradientComponent = [];

    var RenderType_SvgLinearGradientComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_SvgLinearGradientComponent,
      data: {}
    });

    function View_SvgLinearGradientComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:stop", [], [[1, "offset", 0], [4, "stop-color", null], [4, "stop-opacity", null]], null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.offset + "%";
        var currVal_1 = _v.context.$implicit.color;
        var currVal_2 = _v.context.$implicit.opacity;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_SvgLinearGradientComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:linearGradient", [], [[8, "id", 0], [1, "x1", 0], [1, "y1", 0], [1, "x2", 0], [1, "y2", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SvgLinearGradientComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.stops;

        _ck(_v, 2, 0, currVal_5);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.name;
        var currVal_1 = _co.x1;
        var currVal_2 = _co.y1;
        var currVal_3 = _co.x2;
        var currVal_4 = _co.y2;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      });
    }

    function View_SvgLinearGradientComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-svg-linear-gradient", ""]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], null, null)], null, null);
    }

    var SvgLinearGradientComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-svg-linear-gradient]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], View_SvgLinearGradientComponent_Host_0, {
      orientation: "orientation",
      name: "name",
      stops: "stops"
    }, {}, []);

    var styles_SvgRadialGradientComponent = [];

    var RenderType_SvgRadialGradientComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_SvgRadialGradientComponent,
      data: {}
    });

    function View_SvgRadialGradientComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:stop", [], [[1, "offset", 0], [4, "stop-color", null], [4, "stop-opacity", null]], null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.offset + "%";
        var currVal_1 = _v.context.$implicit.color;
        var currVal_2 = _v.context.$implicit.opacity;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_SvgRadialGradientComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:radialGradient", [["gradientUnits", "userSpaceOnUse"]], [[8, "id", 0], [1, "cx", 0], [1, "cy", 0], [1, "r", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_SvgRadialGradientComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.stops;

        _ck(_v, 2, 0, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.name;
        var currVal_1 = _co.cx;
        var currVal_2 = _co.cy;
        var currVal_3 = _co.r;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);
      });
    }

    function View_SvgRadialGradientComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-svg-radial-gradient", ""]], null, null, null, View_SvgRadialGradientComponent_0, RenderType_SvgRadialGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], [], null, null)], null, null);
    }

    var SvgRadialGradientComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-svg-radial-gradient]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], View_SvgRadialGradientComponent_Host_0, {
      color: "color",
      name: "name",
      startOpacity: "startOpacity",
      endOpacity: "endOpacity",
      cx: "cx",
      cy: "cy",
      stops: "stops"
    }, {}, []);

    var styles_TooltipArea = [];

    var RenderType_TooltipArea = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_TooltipArea,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: "inactive => active",
            animation: [{
              type: 6,
              styles: {
                opacity: 0
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0.7
                },
                offset: null
              },
              timings: 250
            }],
            options: null
          }, {
            type: 1,
            expr: "active => inactive",
            animation: [{
              type: 6,
              styles: {
                opacity: 0.7
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              },
              timings: 250
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_TooltipArea_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":xhtml:div", [["class", "tooltip-item"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":xhtml:span", [["class", "tooltip-item-color"]], [[4, "background-color", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.color;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.getToolTipText(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_1);
      });
    }

    function View_TooltipArea_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":xhtml:div", [["class", "area-tooltip-container"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TooltipArea_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var currVal_0 = _v.context.model;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_TooltipArea_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        tooltipAnchor: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 4, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:rect", [["class", "tooltip-area"], ["style", "opacity: 0; cursor: 'auto';"], ["y", "0"]], [[1, "x", 0], [1, "width", 0], [1, "height", 0]], [[null, "mousemove"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mousemove" === en) {
          var pd_0 = _co.mouseMove($event) !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _co.hideTooltip() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, [["defaultTooltipTemplate", 2]], null, 0, null, View_TooltipArea_1)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 16777216, [[1, 0], ["tooltipAnchor", 1]], null, 1, ":svg:rect", [["class", "tooltip-anchor"], ["ngx-tooltip", ""], ["y", "0"]], [[24, "@animationState", 0], [1, "x", 0], [1, "width", 0], [1, "height", 0], [4, "opacity", null], [4, "pointer-events", null]], [[null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipSpacing: [0, "tooltipSpacing"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"],
        tooltipImmediateExit: [6, "tooltipImmediateExit"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_9 = 15;
        var currVal_10 = _co.tooltipDisabled;
        var currVal_11 = "right";
        var currVal_12 = "tooltip";
        var currVal_13 = _co.tooltipTemplate ? _co.tooltipTemplate : _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3);
        var currVal_14 = _co.anchorValues;
        var currVal_15 = true;

        _ck(_v, 5, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = 0;
        var currVal_1 = _co.dims.width;
        var currVal_2 = _co.dims.height;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

        var currVal_3 = _co.anchorOpacity !== 0 ? "active" : "inactive";
        var currVal_4 = _co.anchorPos;
        var currVal_5 = 1;
        var currVal_6 = _co.dims.height;
        var currVal_7 = _co.anchorOpacity;
        var currVal_8 = "none";

        _ck(_v, 4, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      });
    }

    function View_TooltipArea_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-tooltip-area", ""]], null, null, null, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], null, null)], null, null);
    }

    var TooltipAreaNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-tooltip-area]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], View_TooltipArea_Host_0, {
      dims: "dims",
      xSet: "xSet",
      xScale: "xScale",
      yScale: "yScale",
      results: "results",
      colors: "colors",
      showPercentage: "showPercentage",
      tooltipDisabled: "tooltipDisabled",
      tooltipTemplate: "tooltipTemplate"
    }, {
      hover: "hover"
    }, []);

    var styles_GaugeArcComponent = [];

    var RenderType_GaugeArcComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_GaugeArcComponent,
      data: {}
    });

    function View_GaugeArcComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "background-arc"], ["ngx-charts-pie-arc", ""]], null, null, null, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        startAngle: [0, "startAngle"],
        endAngle: [1, "endAngle"],
        innerRadius: [2, "innerRadius"],
        outerRadius: [3, "outerRadius"],
        cornerRadius: [4, "cornerRadius"],
        data: [5, "data"],
        animate: [6, "animate"],
        pointerEvents: [7, "pointerEvents"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 16777216, null, null, 2, ":svg:g", [["ngx-charts-pie-arc", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("select" === en) {
          var pd_5 = _co.select.emit($event) !== false;
          ad = pd_5 && ad;
        }

        if ("activate" === en) {
          var pd_6 = _co.activate.emit($event) !== false;
          ad = pd_6 && ad;
        }

        if ("deactivate" === en) {
          var pd_7 = _co.deactivate.emit($event) !== false;
          ad = pd_7 && ad;
        }

        return ad;
      }, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        startAngle: [1, "startAngle"],
        endAngle: [2, "endAngle"],
        innerRadius: [3, "innerRadius"],
        outerRadius: [4, "outerRadius"],
        cornerRadius: [5, "cornerRadius"],
        data: [6, "data"],
        animate: [7, "animate"],
        isActive: [8, "isActive"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = 0;
        var currVal_1 = _co.backgroundArc.endAngle;
        var currVal_2 = _co.backgroundArc.innerRadius;
        var currVal_3 = _co.backgroundArc.outerRadius;
        var currVal_4 = _co.cornerRadius;
        var currVal_5 = _co.backgroundArc.data;
        var currVal_6 = false;
        var currVal_7 = false;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.tooltipTemplate ? undefined : _co.tooltipText(_co.valueArc);
        var currVal_9 = _co.tooltipDisabled;
        var currVal_10 = "top";
        var currVal_11 = "tooltip";
        var currVal_12 = _co.tooltipTemplate;
        var currVal_13 = _co.valueArc.data;

        _ck(_v, 3, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13);

        var currVal_14 = _co.colors.getColor(_co.valueArc.data.name);

        var currVal_15 = 0;
        var currVal_16 = _co.valueArc.endAngle;
        var currVal_17 = _co.valueArc.innerRadius;
        var currVal_18 = _co.valueArc.outerRadius;
        var currVal_19 = _co.cornerRadius;
        var currVal_20 = _co.valueArc.data;
        var currVal_21 = _co.animations;
        var currVal_22 = _co.isActive;

        _ck(_v, 4, 0, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22);
      }, null);
    }

    function View_GaugeArcComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-gauge-arc", ""]], null, null, null, View_GaugeArcComponent_0, RenderType_GaugeArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeArcComponent"], [], null, null)], null, null);
    }

    var GaugeArcComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-gauge-arc]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeArcComponent"], View_GaugeArcComponent_Host_0, {
      backgroundArc: "backgroundArc",
      valueArc: "valueArc",
      cornerRadius: "cornerRadius",
      colors: "colors",
      isActive: "isActive",
      tooltipDisabled: "tooltipDisabled",
      valueFormatting: "valueFormatting",
      tooltipTemplate: "tooltipTemplate",
      animations: "animations"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_GaugeAxisComponent = [];

    var RenderType_GaugeAxisComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_GaugeAxisComponent,
      data: {}
    });

    function View_GaugeAxisComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "gauge-tick gauge-tick-large"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:path", [], [[1, "d", 0]], null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.line;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_GaugeAxisComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [["class", "gauge-tick gauge-tick-large"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:text", [["alignment-baseline", "central"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, [" ", " "]))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.textAnchor;
        var currVal_1 = _v.context.$implicit.textTransform;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = _v.context.$implicit.text;

        _ck(_v, 2, 0, currVal_2);
      });
    }

    function View_GaugeAxisComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "gauge-tick gauge-tick-small"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, ":svg:path", [], [[1, "d", 0]], null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.line;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_GaugeAxisComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeAxisComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeAxisComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeAxisComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.ticks.big;

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = _co.ticks.big;

        _ck(_v, 4, 0, currVal_2);

        var currVal_3 = _co.ticks.small;

        _ck(_v, 6, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.rotate;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_GaugeAxisComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-gauge-axis", ""]], null, null, null, View_GaugeAxisComponent_0, RenderType_GaugeAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeAxisComponent"], [], null, null)], null, null);
    }

    var GaugeAxisComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-gauge-axis]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeAxisComponent"], View_GaugeAxisComponent_Host_0, {
      bigSegments: "bigSegments",
      smallSegments: "smallSegments",
      min: "min",
      max: "max",
      angleSpan: "angleSpan",
      startAngle: "startAngle",
      radius: "radius",
      valueScale: "valueScale",
      tickFormatting: "tickFormatting"
    }, {}, []);

    var styles_GaugeComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".gauge .background-arc path{fill:rgba(0,0,0,.05)}.gauge .gauge-tick path{stroke:#666}.gauge .gauge-tick text{fill:#666;font-size:12px;font-weight:700}.gauge .gauge-tick-large path{stroke-width:2px}.gauge .gauge-tick-small path{stroke-width:1px}"];

    var RenderType_GaugeComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_GaugeComponent,
      data: {}
    });

    function View_GaugeComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-gauge-arc", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_GaugeArcComponent_0, RenderType_GaugeArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeArcComponent"], [], {
        backgroundArc: [0, "backgroundArc"],
        valueArc: [1, "valueArc"],
        cornerRadius: [2, "cornerRadius"],
        colors: [3, "colors"],
        isActive: [4, "isActive"],
        tooltipDisabled: [5, "tooltipDisabled"],
        valueFormatting: [6, "valueFormatting"],
        tooltipTemplate: [7, "tooltipTemplate"],
        animations: [8, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _v.context.$implicit.backgroundArc;
        var currVal_2 = _v.context.$implicit.valueArc;
        var currVal_3 = _co.cornerRadius;
        var currVal_4 = _co.colors;

        var currVal_5 = _co.isActive(_v.context.$implicit.valueArc.data);

        var currVal_6 = _co.tooltipDisabled;
        var currVal_7 = _co.valueFormatting;
        var currVal_8 = _co.tooltipTemplate;
        var currVal_9 = _co.animations;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.rotation;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_GaugeComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-gauge-axis", ""]], null, null, null, View_GaugeAxisComponent_0, RenderType_GaugeAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeAxisComponent"], [], {
        bigSegments: [0, "bigSegments"],
        smallSegments: [1, "smallSegments"],
        min: [2, "min"],
        max: [3, "max"],
        angleSpan: [4, "angleSpan"],
        startAngle: [5, "startAngle"],
        radius: [6, "radius"],
        valueScale: [7, "valueScale"],
        tickFormatting: [8, "tickFormatting"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.bigSegments;
        var currVal_1 = _co.smallSegments;
        var currVal_2 = _co.min;
        var currVal_3 = _co.max;
        var currVal_4 = _co.angleSpan;
        var currVal_5 = _co.startAngle;
        var currVal_6 = _co.outerRadius;
        var currVal_7 = _co.valueScale;
        var currVal_8 = _co.axisTickFormatting;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_GaugeComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, [[1, 0], ["textEl", 1]], null, 4, ":svg:text", [["alignment-baseline", "central"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:tspan", [["dy", "0"], ["x", "0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:tspan", [["dy", "1.2em"], ["x", "0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "middle";
        var currVal_1 = _co.textTransform;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_2 = _co.displayValue;

        _ck(_v, 2, 0, currVal_2);

        var currVal_3 = _co.units;

        _ck(_v, 4, 0, currVal_3);
      });
    }

    function View_GaugeComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        textEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 10, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](4, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, 0, 6, ":svg:g", [["class", "gauge chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_GaugeComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 4, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.arcs;
        var currVal_7 = _co.trackBy;

        _ck(_v, 7, 0, currVal_6, currVal_7);

        var currVal_8 = _co.showAxis;

        _ck(_v, 9, 0, currVal_8);

        var currVal_9 = _co.showText;

        _ck(_v, 11, 0, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 5, 0, currVal_5);
      });
    }

    function View_GaugeComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-gauge", [], null, null, null, View_GaugeComponent_0, RenderType_GaugeComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var GaugeComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-gauge", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["GaugeComponent"], View_GaugeComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      min: "min",
      max: "max",
      textValue: "textValue",
      units: "units",
      bigSegments: "bigSegments",
      smallSegments: "smallSegments",
      showAxis: "showAxis",
      startAngle: "startAngle",
      angleSpan: "angleSpan",
      activeEntries: "activeEntries",
      axisTickFormatting: "axisTickFormatting",
      tooltipDisabled: "tooltipDisabled",
      valueFormatting: "valueFormatting",
      showText: "showText",
      margin: "margin"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_LinearGaugeComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".linear-gauge{cursor:pointer}.linear-gauge .background-bar path{fill:rgba(0,0,0,.05)}.linear-gauge .units{fill:#666}"];

    var RenderType_LinearGaugeComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_LinearGaugeComponent,
      data: {}
    });

    function View_LinearGaugeComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["x1", "0"], ["x2", "0"], ["y1", "5"], ["y2", "15"]], [[1, "transform", 0], [1, "stroke", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.transformLine;

        var currVal_1 = _co.colors.getColor(_co.units);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_LinearGaugeComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:line", [["x1", "0"], ["x2", "0"], ["y1", "-5"], ["y2", "-15"]], [[1, "transform", 0], [1, "stroke", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.transformLine;

        var currVal_1 = _co.colors.getColor(_co.units);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_LinearGaugeComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        valueTextEl: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 2, {
        unitsTextEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 19, "ngx-charts-chart", [], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClick() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        animations: [2, "animations"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](5, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, 0, 15, ":svg:g", [["class", "linear-gauge chart"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 1, ":svg:g", [["class", "background-bar"], ["ngx-charts-bar", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseenter" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseEnter() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).onMouseLeave() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        data: [0, "data"],
        width: [1, "width"],
        height: [2, "height"],
        x: [3, "x"],
        y: [4, "y"],
        orientation: [5, "orientation"],
        roundEdges: [6, "roundEdges"],
        animations: [7, "animations"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:g", [["ngx-charts-bar", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseenter" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 10).onMouseEnter() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 10).onMouseLeave() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_BarComponent_0, RenderType_BarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["BarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        data: [1, "data"],
        width: [2, "width"],
        height: [3, "height"],
        x: [4, "x"],
        y: [5, "y"],
        orientation: [6, "orientation"],
        roundEdges: [7, "roundEdges"],
        animations: [8, "animations"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LinearGaugeComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LinearGaugeComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](15, 0, null, null, 6, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](16, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](17, 0, [[1, 0], ["valueTextEl", 1]], null, 1, ":svg:text", [["alignment-baseline", "after-edge"], ["class", "value"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](18, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](19, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](20, 0, [[2, 0], ["unitsTextEl", 1]], null, 1, ":svg:text", [["alignment-baseline", "before-edge"], ["class", "units"]], [[4, "textAnchor", null], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](21, null, [" ", " "]))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 5, 0, _co.width, _co.height);

        var currVal_1 = false;
        var currVal_2 = _co.animations;

        _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2);

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵEMPTY_MAP"];
        var currVal_4 = _co.dims.width;
        var currVal_5 = 3;
        var currVal_6 = _co.margin[3];
        var currVal_7 = _co.dims.height / 2 + _co.margin[0] - 2;
        var currVal_8 = "horizontal";
        var currVal_9 = true;
        var currVal_10 = _co.animations;

        _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

        var currVal_11 = _co.colors.getColor(_co.units);

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵEMPTY_MAP"];

        var currVal_13 = _co.valueScale(_co.value);

        var currVal_14 = 3;
        var currVal_15 = _co.margin[3];
        var currVal_16 = _co.dims.height / 2 + _co.margin[0] - 2;
        var currVal_17 = "horizontal";
        var currVal_18 = true;
        var currVal_19 = _co.animations;

        _ck(_v, 10, 0, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19);

        var currVal_20 = _co.hasPreviousValue;

        _ck(_v, 12, 0, currVal_20);

        var currVal_21 = _co.hasPreviousValue;

        _ck(_v, 14, 0, currVal_21);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_22 = _co.transform;

        _ck(_v, 15, 0, currVal_22);

        var currVal_23 = _co.valueTranslate;

        _ck(_v, 16, 0, currVal_23);

        var currVal_24 = "middle";
        var currVal_25 = _co.valueTextTransform;

        _ck(_v, 17, 0, currVal_24, currVal_25);

        var currVal_26 = _co.displayValue;

        _ck(_v, 18, 0, currVal_26);

        var currVal_27 = _co.unitsTranslate;

        _ck(_v, 19, 0, currVal_27);

        var currVal_28 = "middle";
        var currVal_29 = _co.unitsTextTransform;

        _ck(_v, 20, 0, currVal_28, currVal_29);

        var currVal_30 = _co.units;

        _ck(_v, 21, 0, currVal_30);
      });
    }

    function View_LinearGaugeComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-linear-gauge", [], null, null, null, View_LinearGaugeComponent_0, RenderType_LinearGaugeComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LinearGaugeComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
    }

    var LinearGaugeComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-linear-gauge", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LinearGaugeComponent"], View_LinearGaugeComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      min: "min",
      max: "max",
      value: "value",
      units: "units",
      previousValue: "previousValue",
      valueFormatting: "valueFormatting"
    }, {
      select: "select"
    }, []);

    var styles_HeatMapComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_HeatMapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_HeatMapComponent,
      data: {}
    });

    function View_HeatMapComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"],
        ticks: [8, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showXAxisLabel;
        var currVal_7 = _co.xAxisLabel;
        var currVal_8 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_HeatMapComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showYAxisLabel;
        var currVal_7 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      }, null);
    }

    function View_HeatMapComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [], [[1, "x", 0], [1, "y", 0], [1, "rx", 0], [1, "width", 0], [1, "height", 0], [1, "fill", 0]], null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.x;
        var currVal_1 = _v.context.$implicit.y;
        var currVal_2 = _v.context.$implicit.rx;
        var currVal_3 = _v.context.$implicit.width;
        var currVal_4 = _v.context.$implicit.height;
        var currVal_5 = _v.context.$implicit.fill;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
      });
    }

    function View_HeatMapComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 12, "ngx-charts-chart", [], null, [[null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        animations: [3, "animations"]
      }, {
        legendLabelClick: "legendLabelClick"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 8, ":svg:g", [["class", "heat-map chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](11, 0, null, null, 1, ":svg:g", [["ngx-charts-heat-map-cell-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, undefined) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, undefined) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_HeatCellSeriesComponent_0, RenderType_HeatCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatCellSeriesComponent"], [], {
        data: [0, "data"],
        colors: [1, "colors"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        gradient: [4, "gradient"],
        tooltipDisabled: [5, "tooltipDisabled"],
        tooltipText: [6, "tooltipText"],
        tooltipTemplate: [7, "tooltipTemplate"],
        animations: [8, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3);

        var currVal_5 = _co.xAxis;

        _ck(_v, 6, 0, currVal_5);

        var currVal_6 = _co.yAxis;

        _ck(_v, 8, 0, currVal_6);

        var currVal_7 = _co.rects;

        _ck(_v, 10, 0, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.colors;
        var currVal_10 = _co.xScale;
        var currVal_11 = _co.yScale;
        var currVal_12 = _co.gradient;
        var currVal_13 = _co.tooltipDisabled;
        var currVal_14 = _co.tooltipText;
        var currVal_15 = _co.tooltipTemplate;
        var currVal_16 = _co.animations;

        _ck(_v, 12, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.transform;

        _ck(_v, 4, 0, currVal_4);
      });
    }

    function View_HeatMapComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-heat-map", [], null, null, null, View_HeatMapComponent_0, RenderType_HeatMapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var HeatMapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-heat-map", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapComponent"], View_HeatMapComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      gradient: "gradient",
      innerPadding: "innerPadding",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      tooltipDisabled: "tooltipDisabled",
      tooltipText: "tooltipText",
      min: "min",
      max: "max",
      activeEntries: "activeEntries"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_HeatMapCellComponent = [];

    var RenderType_HeatMapCellComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_HeatMapCellComponent,
      data: {}
    });

    function View_HeatMapCellComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
        orientation: [0, "orientation"],
        name: [1, "name"],
        stops: [2, "stops"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "vertical";
        var currVal_1 = _co.gradientId;
        var currVal_2 = _co.gradientStops;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_HeatMapCellComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, ":svg:g", [["class", "cell"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatMapCellComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":svg:rect", [["class", "cell"], ["rx", "3"], ["style", "cursor: pointer"]], [[1, "fill", 0], [1, "width", 0], [1, "height", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClick() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.gradient;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.transform;

        _ck(_v, 0, 0, currVal_0);

        var currVal_2 = _co.gradient ? _co.gradientUrl : _co.fill;
        var currVal_3 = _co.width;
        var currVal_4 = _co.height;

        _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4);
      });
    }

    function View_HeatMapCellComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-heat-map-cell", ""]], null, [[null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseenter" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_0 && ad;
        }

        if ("mouseleave" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_HeatMapCellComponent_0, RenderType_HeatMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var HeatMapCellComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-heat-map-cell]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapCellComponent"], View_HeatMapCellComponent_Host_0, {
      fill: "fill",
      x: "x",
      y: "y",
      width: "width",
      height: "height",
      data: "data",
      label: "label",
      gradient: "gradient",
      animations: "animations"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_HeatCellSeriesComponent = [];

    var RenderType_HeatCellSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_HeatCellSeriesComponent,
      data: {}
    });

    function View_HeatCellSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 3, ":svg:g", [["ngx-charts-heat-map-cell", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("mouseenter" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseEnter() !== false;
          ad = pd_5 && ad;
        }

        if ("mouseleave" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseLeave() !== false;
          ad = pd_6 && ad;
        }

        if ("select" === en) {
          var pd_7 = _co.onClick(_v.context.$implicit.cell) !== false;
          ad = pd_7 && ad;
        }

        if ("activate" === en) {
          var pd_8 = _co.activate.emit(_v.context.$implicit.cell) !== false;
          ad = pd_8 && ad;
        }

        if ("deactivate" === en) {
          var pd_9 = _co.deactivate.emit(_v.context.$implicit.cell) !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, View_HeatMapCellComponent_0, RenderType_HeatMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](2, {
        series: 0,
        name: 1,
        value: 2
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        x: [1, "x"],
        y: [2, "y"],
        width: [3, "width"],
        height: [4, "height"],
        data: [5, "data"],
        gradient: [6, "gradient"],
        animations: [7, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.tooltipTemplate ? undefined : _co.tooltipText(_v.context.$implicit);
        var currVal_1 = _co.tooltipDisabled;
        var currVal_2 = "top";
        var currVal_3 = "tooltip";
        var currVal_4 = _co.tooltipTemplate;

        var currVal_5 = _ck(_v, 2, 0, _v.context.$implicit.series, _v.context.$implicit.label, _v.context.$implicit.data);

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);

        var currVal_6 = _v.context.$implicit.fill;
        var currVal_7 = _v.context.$implicit.x;
        var currVal_8 = _v.context.$implicit.y;
        var currVal_9 = _v.context.$implicit.width;
        var currVal_10 = _v.context.$implicit.height;
        var currVal_11 = _v.context.$implicit.data;
        var currVal_12 = _co.gradient;
        var currVal_13 = _co.animations;

        _ck(_v, 3, 0, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13);
      }, null);
    }

    function View_HeatCellSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_HeatCellSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.cells;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_HeatCellSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-heat-map-cell-series", ""]], null, null, null, View_HeatCellSeriesComponent_0, RenderType_HeatCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatCellSeriesComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var HeatCellSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-heat-map-cell-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["HeatCellSeriesComponent"], View_HeatCellSeriesComponent_Host_0, {
      data: "data",
      colors: "colors",
      xScale: "xScale",
      yScale: "yScale",
      gradient: "gradient",
      tooltipDisabled: "tooltipDisabled",
      tooltipText: "tooltipText",
      tooltipTemplate: "tooltipTemplate",
      animations: "animations"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_LineChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}"];

    var RenderType_LineChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_LineChartComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_LineChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-x-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateXAxisHeight($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_XAxisComponent_0, RenderType_XAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["XAxisComponent"], [], {
        xScale: [0, "xScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        rotateTicks: [3, "rotateTicks"],
        maxTickLength: [4, "maxTickLength"],
        tickFormatting: [5, "tickFormatting"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        ticks: [9, "ticks"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.xScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimXAxisTicks;
        var currVal_3 = _co.rotateXAxisTicks;
        var currVal_4 = _co.maxXAxisTickLength;
        var currVal_5 = _co.xAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showXAxisLabel;
        var currVal_8 = _co.xAxisLabel;
        var currVal_9 = _co.xAxisTicks;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_LineChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], null, [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        ticks: [5, "ticks"],
        showGridLines: [6, "showGridLines"],
        showLabel: [7, "showLabel"],
        labelText: [8, "labelText"],
        referenceLines: [9, "referenceLines"],
        showRefLines: [10, "showRefLines"],
        showRefLabels: [11, "showRefLabels"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.yScale;
        var currVal_1 = _co.dims;
        var currVal_2 = _co.trimYAxisTicks;
        var currVal_3 = _co.maxYAxisTickLength;
        var currVal_4 = _co.yAxisTickFormatting;
        var currVal_5 = _co.yAxisTicks;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;
        var currVal_9 = _co.referenceLines;
        var currVal_10 = _co.showRefLines;
        var currVal_11 = _co.showRefLabels;

        _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]);
      }, null);
    }

    function View_LineChartComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-line-series", ""]], null, null, null, View_LineSeriesComponent_0, RenderType_LineSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        curve: [5, "curve"],
        activeEntries: [6, "activeEntries"],
        rangeFillOpacity: [7, "rangeFillOpacity"],
        hasRange: [8, "hasRange"],
        animations: [9, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _v.context.$implicit;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.colors;
        var currVal_5 = _co.scaleType;
        var currVal_6 = _co.curve;
        var currVal_7 = _co.activeEntries;
        var currVal_8 = _co.rangeFillOpacity;
        var currVal_9 = _co.hasRange;
        var currVal_10 = _co.animations;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = "active";

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_LineChartComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-circle-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_CircleSeriesComponent_0, RenderType_CircleSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 638976, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        visibleValue: [5, "visibleValue"],
        activeEntries: [6, "activeEntries"],
        tooltipDisabled: [7, "tooltipDisabled"],
        tooltipTemplate: [8, "tooltipTemplate"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.xScale;
        var currVal_2 = _co.yScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = _co.hoveredVertical;
        var currVal_6 = _co.activeEntries;
        var currVal_7 = _co.tooltipDisabled;
        var currVal_8 = _co.tooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_LineChartComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mouseleave" === en) {
          var pd_0 = _co.hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-tooltip-area", ""]], null, [[null, "hover"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("hover" === en) {
          var pd_0 = _co.updateHoveredVertical($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_TooltipArea_0, RenderType_TooltipArea)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 49152, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipArea"], [], {
        dims: [0, "dims"],
        xSet: [1, "xSet"],
        xScale: [2, "xScale"],
        yScale: [3, "yScale"],
        results: [4, "results"],
        colors: [5, "colors"],
        tooltipDisabled: [6, "tooltipDisabled"],
        tooltipTemplate: [7, "tooltipTemplate"]
      }, {
        hover: "hover"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.dims;
        var currVal_1 = _co.xSet;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.results;
        var currVal_5 = _co.colors;
        var currVal_6 = _co.tooltipDisabled;
        var currVal_7 = _co.seriesTooltipTemplate;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;

        _ck(_v, 4, 0, currVal_8);
      }, null);
    }

    function View_LineChartComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-line-series", ""]], null, null, null, View_LineSeriesComponent_0, RenderType_LineSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        curve: [5, "curve"],
        hasRange: [6, "hasRange"],
        animations: [7, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.timelineXScale;
        var currVal_2 = _co.timelineYScale;
        var currVal_3 = _co.colors;
        var currVal_4 = _co.scaleType;
        var currVal_5 = _co.curve;
        var currVal_6 = _co.hasRange;
        var currVal_7 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      }, null);
    }

    function View_LineChartComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, ":svg:g", [["ngx-charts-timeline", ""]], [[1, "transform", 0]], [[null, "onDomainChange"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onDomainChange" === en) {
          var pd_0 = _co.updateDomain($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_Timeline_0, RenderType_Timeline)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["Timeline"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        view: [0, "view"],
        results: [1, "results"],
        scheme: [2, "scheme"],
        customColors: [3, "customColors"],
        legend: [4, "legend"],
        scaleType: [5, "scaleType"],
        height: [6, "height"]
      }, {
        onDomainChange: "onDomainChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](2, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_LineChartComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _ck(_v, 2, 0, _co.timelineWidth, _co.height);

        var currVal_2 = _co.results;
        var currVal_3 = _co.scheme;
        var currVal_4 = _co.customColors;
        var currVal_5 = _co.legend;
        var currVal_6 = _co.scaleType;
        var currVal_7 = _co.timelineHeight;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.results;
        var currVal_9 = _co.trackBy;

        _ck(_v, 4, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.timelineTransform;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_LineChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 18, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:clipPath", [], [[1, "id", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:rect", [], [[1, "width", 0], [1, "height", 0], [1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, 0, 9, ":svg:g", [["class", "line-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 4, ":svg:g", [], [[1, "clip-path", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](16, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_LineChartComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_10 = _co.xAxis;

        _ck(_v, 9, 0, currVal_10);

        var currVal_11 = _co.yAxis;

        _ck(_v, 11, 0, currVal_11);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 14, 0, currVal_13, currVal_14);

        var currVal_15 = !_co.tooltipDisabled;

        _ck(_v, 16, 0, currVal_15);

        var currVal_16 = _co.timeline && _co.scaleType != "ordinal";

        _ck(_v, 18, 0, currVal_16);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.clipPathId;

        _ck(_v, 5, 0, currVal_5);

        var currVal_6 = _co.dims.width + 10;
        var currVal_7 = _co.dims.height + 10;
        var currVal_8 = "translate(-5, -5)";

        _ck(_v, 6, 0, currVal_6, currVal_7, currVal_8);

        var currVal_9 = _co.transform;

        _ck(_v, 7, 0, currVal_9);

        var currVal_12 = _co.clipPath;

        _ck(_v, 12, 0, currVal_12);
      });
    }

    function View_LineChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "ngx-charts-line-chart", [], null, [[null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;

        if ("mouseleave" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).hideCircles() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_LineChartComponent_0, RenderType_LineChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 2, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
        seriesTooltipTemplate: 0
      })], null, null);
    }

    var LineChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-line-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineChartComponent"], View_LineChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      autoScale: "autoScale",
      timeline: "timeline",
      gradient: "gradient",
      showGridLines: "showGridLines",
      curve: "curve",
      activeEntries: "activeEntries",
      rangeFillOpacity: "rangeFillOpacity",
      trimXAxisTicks: "trimXAxisTicks",
      trimYAxisTicks: "trimYAxisTicks",
      rotateXAxisTicks: "rotateXAxisTicks",
      maxXAxisTickLength: "maxXAxisTickLength",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      xAxisTicks: "xAxisTicks",
      yAxisTicks: "yAxisTicks",
      roundDomains: "roundDomains",
      tooltipDisabled: "tooltipDisabled",
      showRefLines: "showRefLines",
      referenceLines: "referenceLines",
      showRefLabels: "showRefLabels",
      xScaleMin: "xScaleMin",
      xScaleMax: "xScaleMax",
      yScaleMin: "yScaleMin",
      yScaleMax: "yScaleMax"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_LineComponent = [];

    var RenderType_LineComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_LineComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":enter",
            animation: [{
              type: 6,
              styles: {
                strokeDasharray: 2000,
                strokeDashoffset: 2000
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  strokeDashoffset: 0
                },
                offset: null
              },
              timings: 1000
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_LineComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:path", [["class", "line"], ["stroke-width", "1.5px"]], [[24, "@animationState", 0], [1, "d", 0], [1, "fill", 0], [1, "stroke", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "active";
        var currVal_1 = _co.initialPath;
        var currVal_2 = _co.fill;
        var currVal_3 = _co.stroke;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);
      });
    }

    function View_LineComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-line", ""]], null, null, null, View_LineComponent_0, RenderType_LineComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var LineComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-line]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], View_LineComponent_Host_0, {
      path: "path",
      stroke: "stroke",
      data: "data",
      fill: "fill",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_LineSeriesComponent = [];

    var RenderType_LineSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_LineSeriesComponent,
      data: {}
    });

    function View_LineSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
        orientation: [0, "orientation"],
        name: [1, "name"],
        stops: [2, "stops"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "vertical";
        var currVal_1 = _co.gradientId;
        var currVal_2 = _co.gradientStops;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_LineSeriesComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["class", "line-series-range"], ["ngx-charts-area", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        data: [0, "data"],
        path: [1, "path"],
        fill: [2, "fill"],
        opacity: [3, "opacity"],
        animations: [4, "animations"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.data;
        var currVal_3 = _co.outerPath;
        var currVal_4 = _co.hasGradient ? _co.gradientUrl : _co.colors.getColor(_co.data.name);
        var currVal_5 = _co.rangeFillOpacity;
        var currVal_6 = _co.animations;

        _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.isActive(_co.data);

        var currVal_1 = _co.isInactive(_co.data);

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_LineSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 9, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 1, ":svg:g", [["class", "line-highlight"], ["ngx-charts-area", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_AreaComponent_0, RenderType_AreaComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AreaComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        data: [0, "data"],
        path: [1, "path"],
        fill: [2, "fill"],
        opacity: [3, "opacity"],
        startOpacity: [4, "startOpacity"],
        gradient: [5, "gradient"],
        stops: [6, "stops"],
        animations: [7, "animations"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 1, ":svg:g", [["class", "line-series"], ["ngx-charts-line", ""]], [[2, "active", null], [2, "inactive", null]], null, null, View_LineComponent_0, RenderType_LineComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        path: [0, "path"],
        stroke: [1, "stroke"],
        data: [2, "data"],
        animations: [3, "animations"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_LineSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.hasGradient;

        _ck(_v, 3, 0, currVal_0);

        var currVal_3 = _co.data;
        var currVal_4 = _co.areaPath;
        var currVal_5 = _co.hasGradient ? _co.gradientUrl : _co.colors.getColor(_co.data.name);
        var currVal_6 = 0.25;
        var currVal_7 = 0;
        var currVal_8 = true;
        var currVal_9 = _co.areaGradientStops;
        var currVal_10 = _co.animations;

        _ck(_v, 5, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

        var currVal_13 = _co.path;
        var currVal_14 = _co.stroke;
        var currVal_15 = _co.data;
        var currVal_16 = _co.animations;

        _ck(_v, 7, 0, currVal_13, currVal_14, currVal_15, currVal_16);

        var currVal_17 = _co.hasRange;

        _ck(_v, 9, 0, currVal_17);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _co.isActive(_co.data);

        var currVal_2 = _co.isInactive(_co.data);

        _ck(_v, 4, 0, currVal_1, currVal_2);

        var currVal_11 = _co.isActive(_co.data);

        var currVal_12 = _co.isInactive(_co.data);

        _ck(_v, 6, 0, currVal_11, currVal_12);
      });
    }

    function View_LineSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-line-series", ""]], null, null, null, View_LineSeriesComponent_0, RenderType_LineSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], [], null, null)], null, null);
    }

    var LineSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-line-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineSeriesComponent"], View_LineSeriesComponent_Host_0, {
      data: "data",
      xScale: "xScale",
      yScale: "yScale",
      colors: "colors",
      scaleType: "scaleType",
      curve: "curve",
      activeEntries: "activeEntries",
      rangeFillOpacity: "rangeFillOpacity",
      hasRange: "hasRange",
      animations: "animations"
    }, {}, []);

    var styles_NumberCardComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", "ngx-charts-number-card .cell .trimmed-label{font-size:12px;line-height:1em;overflow:hidden;pointer-events:none;text-align:left}ngx-charts-number-card .cell .trimmed-label p{margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;white-space:nowrap;width:100%}ngx-charts-number-card .cell .value-text{pointer-events:none}ngx-charts-number-card .number-card.clickable .cell .card,ngx-charts-number-card .number-card.clickable .cell .card-band{cursor:pointer}"];

    var RenderType_NumberCardComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_NumberCardComponent,
      data: {}
    });

    function View_NumberCardComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        animations: [2, "animations"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "number-card chart"]], [[1, "transform", 0], [2, "clickable", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-card-series", ""]], null, [[null, "select"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_CardSeriesComponent_0, RenderType_CardSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardSeriesComponent"], [], {
        data: [0, "data"],
        dims: [1, "dims"],
        colors: [2, "colors"],
        innerPadding: [3, "innerPadding"],
        cardColor: [4, "cardColor"],
        bandColor: [5, "bandColor"],
        emptyColor: [6, "emptyColor"],
        textColor: [7, "textColor"],
        valueFormatting: [8, "valueFormatting"],
        labelFormatting: [9, "labelFormatting"],
        animations: [10, "animations"]
      }, {
        select: "select"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = false;
        var currVal_2 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

        var currVal_5 = _co.data;
        var currVal_6 = _co.dims;
        var currVal_7 = _co.colors;
        var currVal_8 = _co.innerPadding;
        var currVal_9 = _co.cardColor;
        var currVal_10 = _co.bandColor;
        var currVal_11 = _co.emptyColor;
        var currVal_12 = _co.textColor;
        var currVal_13 = _co.valueFormatting;
        var currVal_14 = _co.labelFormatting;
        var currVal_15 = _co.animations;

        _ck(_v, 6, 1, [currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.transform;
        var currVal_4 = _co.clickable;

        _ck(_v, 4, 0, currVal_3, currVal_4);
      });
    }

    function View_NumberCardComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ngx-charts-number-card", [], null, null, null, View_NumberCardComponent_0, RenderType_NumberCardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, null);
    }

    var NumberCardComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-number-card", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["NumberCardComponent"], View_NumberCardComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      cardColor: "cardColor",
      bandColor: "bandColor",
      emptyColor: "emptyColor",
      innerPadding: "innerPadding",
      textColor: "textColor",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      designatedTotal: "designatedTotal"
    }, {
      select: "select"
    }, []);

    var styles_CardComponent = [];

    var RenderType_CardComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_CardComponent,
      data: {}
    });

    function View_CardComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:path", [["class", "card-band"], ["stroke", "none"]], [[1, "fill", 0], [1, "transform", 0], [1, "d", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.bandColor;
        var currVal_1 = _co.transformBand;
        var currVal_2 = _co.bandPath;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_CardComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        textEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 9, ":svg:g", [["class", "cell"]], [[1, "transform", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClick() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":svg:rect", [["class", "card"], ["rx", "3"], ["ry", "3"]], [[4, "fill", null], [1, "width", 0], [1, "height", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CardComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](6, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 1, ":svg:foreignObject", [["alignment-baseline", "hanging"], ["class", "trimmed-label"], ["x", "5"]], [[1, "x", 0], [1, "y", 0], [1, "width", 0], [1, "height", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](8, 0, null, null, 0, ":xhtml:p", [], [[4, "color", null], [4, "fontSize", "px"], [4, "lineHeight", "px"], [8, "innerHTML", 1]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, [[1, 0], ["textEl", 1]], null, 1, ":svg:text", [["alignment-baseline", "hanging"], ["class", "value-text"], ["text-anchor", "start"]], [[1, "x", 0], [1, "y", 0], [4, "fill", null], [4, "font-size", "pt"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](10, null, [" ", " "]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.bandColor && _co.bandColor !== _co.color;

        _ck(_v, 4, 0, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.transform;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.color;
        var currVal_2 = _co.cardWidth;
        var currVal_3 = _co.cardHeight;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);

        var currVal_5 = _co.label;

        _ck(_v, 6, 0, currVal_5);

        var currVal_6 = _co.textPadding[3];
        var currVal_7 = _co.cardHeight - _co.textPadding[2];
        var currVal_8 = _co.textWidth;
        var currVal_9 = _co.labelFontSize + _co.textPadding[2];

        _ck(_v, 7, 0, currVal_6, currVal_7, currVal_8, currVal_9);

        var currVal_10 = _co.textColor;
        var currVal_11 = _co.labelFontSize;
        var currVal_12 = _co.labelFontSize;
        var currVal_13 = _co.formattedLabel;

        _ck(_v, 8, 0, currVal_10, currVal_11, currVal_12, currVal_13);

        var currVal_14 = _co.textPadding[3];
        var currVal_15 = _co.textPadding[0];
        var currVal_16 = _co.textColor;
        var currVal_17 = _co.textFontSize;

        _ck(_v, 9, 0, currVal_14, currVal_15, currVal_16, currVal_17);

        var currVal_18 = _co.value;

        _ck(_v, 10, 0, currVal_18);
      });
    }

    function View_CardComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-card", ""]], null, null, null, View_CardComponent_0, RenderType_CardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 704512, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]], null, null)], null, null);
    }

    var CardComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-card]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardComponent"], View_CardComponent_Host_0, {
      color: "color",
      bandColor: "bandColor",
      textColor: "textColor",
      x: "x",
      y: "y",
      width: "width",
      height: "height",
      label: "label",
      data: "data",
      medianSize: "medianSize",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_CardSeriesComponent = [];

    var RenderType_CardSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_CardSeriesComponent,
      data: {}
    });

    function View_CardSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:rect", [["class", "card-empty"], ["rx", "3"], ["ry", "3"]], [[1, "x", 0], [1, "y", 0], [4, "fill", null], [1, "width", 0], [1, "height", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.x;
        var currVal_1 = _v.context.$implicit.y;
        var currVal_2 = _co.emptyColor;
        var currVal_3 = _v.context.$implicit.width;
        var currVal_4 = _v.context.$implicit.height;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      });
    }

    function View_CardSeriesComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-card", ""]], null, [[null, "select"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_CardComponent_0, RenderType_CardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 704512, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]], {
        color: [0, "color"],
        bandColor: [1, "bandColor"],
        textColor: [2, "textColor"],
        x: [3, "x"],
        y: [4, "y"],
        width: [5, "width"],
        height: [6, "height"],
        label: [7, "label"],
        data: [8, "data"],
        medianSize: [9, "medianSize"],
        valueFormatting: [10, "valueFormatting"],
        labelFormatting: [11, "labelFormatting"],
        animations: [12, "animations"]
      }, {
        select: "select"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.color;
        var currVal_1 = _v.context.$implicit.bandColor;
        var currVal_2 = _v.context.$implicit.textColor;
        var currVal_3 = _v.context.$implicit.x;
        var currVal_4 = _v.context.$implicit.y;
        var currVal_5 = _v.context.$implicit.width;
        var currVal_6 = _v.context.$implicit.height;
        var currVal_7 = _v.context.$implicit.label;
        var currVal_8 = _v.context.$implicit.data;
        var currVal_9 = _co.medianSize;
        var currVal_10 = _co.valueFormatting;
        var currVal_11 = _co.labelFormatting;
        var currVal_12 = _co.animations;

        _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12]);
      }, null);
    }

    function View_CardSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CardSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_CardSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.emptySlots;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = _co.cards;
        var currVal_3 = _co.trackBy;

        _ck(_v, 3, 0, currVal_2, currVal_3);
      }, null);
    }

    function View_CardSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-card-series", ""]], null, null, null, View_CardSeriesComponent_0, RenderType_CardSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardSeriesComponent"], [], null, null)], null, null);
    }

    var CardSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-card-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CardSeriesComponent"], View_CardSeriesComponent_Host_0, {
      data: "data",
      slots: "slots",
      dims: "dims",
      colors: "colors",
      innerPadding: "innerPadding",
      cardColor: "cardColor",
      bandColor: "bandColor",
      emptyColor: "emptyColor",
      textColor: "textColor",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_AdvancedPieChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".advanced-pie{float:left}.advanced-pie,.advanced-pie-legend-wrapper{display:inline-block}"];

    var RenderType_AdvancedPieChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_AdvancedPieChartComponent,
      data: {}
    });

    function View_AdvancedPieChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 11, "div", [], [[4, "width", "px"], [4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 7, "div", [["class", "advanced-pie chart"]], [[4, "width", "px"], [4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        animations: [2, "animations"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](5, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, 0, 2, ":svg:g", [["class", "pie chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](7, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_PieSeriesComponent_0, RenderType_PieSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], [], {
        colors: [0, "colors"],
        series: [1, "series"],
        innerRadius: [2, "innerRadius"],
        outerRadius: [3, "outerRadius"],
        gradient: [4, "gradient"],
        activeEntries: [5, "activeEntries"],
        tooltipText: [6, "tooltipText"],
        tooltipDisabled: [7, "tooltipDisabled"],
        tooltipTemplate: [8, "tooltipTemplate"],
        animations: [9, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 2, "div", [["class", "advanced-pie-legend-wrapper"]], [[4, "width", "px"], [4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](10, 0, null, null, 1, "ngx-charts-advanced-legend", [], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event, true) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event, true) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_AdvancedLegendComponent_0, RenderType_AdvancedLegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](11, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedLegendComponent"], [], {
        width: [0, "width"],
        data: [1, "data"],
        colors: [2, "colors"],
        label: [3, "label"],
        animations: [4, "animations"],
        valueFormatting: [5, "valueFormatting"],
        labelFormatting: [6, "labelFormatting"],
        percentageFormatting: [7, "percentageFormatting"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_4 = _ck(_v, 5, 0, _co.width, _co.height);

        var currVal_5 = false;
        var currVal_6 = _co.animations;

        _ck(_v, 4, 0, currVal_4, currVal_5, currVal_6);

        var currVal_8 = _co.colors;
        var currVal_9 = _co.results;
        var currVal_10 = _co.innerRadius;
        var currVal_11 = _co.outerRadius;
        var currVal_12 = _co.gradient;
        var currVal_13 = _co.activeEntries;
        var currVal_14 = _co.tooltipText;
        var currVal_15 = _co.tooltipDisabled;
        var currVal_16 = _co.tooltipTemplate;
        var currVal_17 = _co.animations;

        _ck(_v, 8, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17);

        var currVal_20 = _co.width - _co.dims.width - _co.margin[1];
        var currVal_21 = _co.results;
        var currVal_22 = _co.colors;
        var currVal_23 = _co.label;
        var currVal_24 = _co.animations;
        var currVal_25 = _co.valueFormatting;
        var currVal_26 = _co.nameFormatting;
        var currVal_27 = _co.percentageFormatting;

        _ck(_v, 11, 0, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.width;
        var currVal_1 = _co.height;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_2 = _co.dims.width;
        var currVal_3 = _co.dims.height;

        _ck(_v, 1, 0, currVal_2, currVal_3);

        var currVal_7 = _co.transform;

        _ck(_v, 6, 0, currVal_7);

        var currVal_18 = _co.width - _co.dims.width;
        var currVal_19 = _co.height;

        _ck(_v, 9, 0, currVal_18, currVal_19);
      });
    }

    function View_AdvancedPieChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-advanced-pie-chart", [], null, null, null, View_AdvancedPieChartComponent_0, RenderType_AdvancedPieChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedPieChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var AdvancedPieChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-advanced-pie-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AdvancedPieChartComponent"], View_AdvancedPieChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      gradient: "gradient",
      activeEntries: "activeEntries",
      tooltipDisabled: "tooltipDisabled",
      tooltipText: "tooltipText",
      label: "label",
      valueFormatting: "valueFormatting",
      nameFormatting: "nameFormatting",
      percentageFormatting: "percentageFormatting"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_PieChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}"];

    var RenderType_PieChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PieChartComponent,
      data: {}
    });

    function View_PieChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, [[null, "legendLabelActivate"], [null, "legendLabelDeactivate"], [null, "legendLabelClick"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelActivate" === en) {
          var pd_0 = _co.onActivate($event, true) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_1 = _co.onDeactivate($event, true) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelClick" === en) {
          var pd_2 = _co.onClick($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "pie-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-series", ""]], null, [[null, "dblclick"], [null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dblclick" === en) {
          var pd_0 = _co.dblclick.emit($event) !== false;
          ad = pd_0 && ad;
        }

        if ("select" === en) {
          var pd_1 = _co.onClick($event) !== false;
          ad = pd_1 && ad;
        }

        if ("activate" === en) {
          var pd_2 = _co.onActivate($event) !== false;
          ad = pd_2 && ad;
        }

        if ("deactivate" === en) {
          var pd_3 = _co.onDeactivate($event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_PieSeriesComponent_0, RenderType_PieSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], [], {
        colors: [0, "colors"],
        series: [1, "series"],
        innerRadius: [2, "innerRadius"],
        outerRadius: [3, "outerRadius"],
        explodeSlices: [4, "explodeSlices"],
        showLabels: [5, "showLabels"],
        gradient: [6, "gradient"],
        activeEntries: [7, "activeEntries"],
        labelFormatting: [8, "labelFormatting"],
        trimLabels: [9, "trimLabels"],
        maxLabelLength: [10, "maxLabelLength"],
        tooltipText: [11, "tooltipText"],
        tooltipDisabled: [12, "tooltipDisabled"],
        tooltipTemplate: [13, "tooltipTemplate"],
        animations: [14, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dblclick: "dblclick"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = _co.colors;
        var currVal_7 = _co.data;
        var currVal_8 = _co.innerRadius;
        var currVal_9 = _co.outerRadius;
        var currVal_10 = _co.explodeSlices;
        var currVal_11 = _co.labels;
        var currVal_12 = _co.gradient;
        var currVal_13 = _co.activeEntries;
        var currVal_14 = _co.labelFormatting;
        var currVal_15 = _co.trimLabels;
        var currVal_16 = _co.maxLabelLength;
        var currVal_17 = _co.tooltipText;
        var currVal_18 = _co.tooltipDisabled;
        var currVal_19 = _co.tooltipTemplate;
        var currVal_20 = _co.animations;

        _ck(_v, 6, 1, [currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.translation;

        _ck(_v, 4, 0, currVal_5);
      });
    }

    function View_PieChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-pie-chart", [], null, null, null, View_PieChartComponent_0, RenderType_PieChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var PieChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-pie-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieChartComponent"], View_PieChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      labels: "labels",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      explodeSlices: "explodeSlices",
      doughnut: "doughnut",
      arcWidth: "arcWidth",
      gradient: "gradient",
      activeEntries: "activeEntries",
      tooltipDisabled: "tooltipDisabled",
      labelFormatting: "labelFormatting",
      trimLabels: "trimLabels",
      maxLabelLength: "maxLabelLength",
      tooltipText: "tooltipText",
      margins: "margins"
    }, {
      select: "select",
      dblclick: "dblclick",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_PieArcComponent = [];

    var RenderType_PieArcComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PieArcComponent,
      data: {}
    });

    function View_PieArcComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-radial-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgRadialGradientComponent_0, RenderType_SvgRadialGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], [], {
        color: [0, "color"],
        name: [1, "name"],
        startOpacity: [2, "startOpacity"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.fill;
        var currVal_1 = _co.radialGradientId;
        var currVal_2 = _co.startOpacity;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_PieArcComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, ":svg:g", [["class", "arc-group"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieArcComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":svg:path", [["class", "arc"]], [[1, "d", 0], [2, "active", null], [1, "fill", 0], [4, "pointer-events", null]], [[null, "click"], [null, "dblclick"], [null, "mouseenter"], [null, "mouseleave"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClick() !== false;
          ad = pd_0 && ad;
        }

        if ("dblclick" === en) {
          var pd_1 = _co.onDblClick($event) !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _co.activate.emit(_co.data) !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _co.deactivate.emit(_co.data) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.gradient;

        _ck(_v, 2, 0, currVal_0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.path;
        var currVal_2 = _co.isActive;

        var currVal_3 = _co.getGradient();

        var currVal_4 = _co.getPointerEvents();

        _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4);
      });
    }

    function View_PieArcComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-arc", ""]], null, null, null, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var PieArcComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-arc]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], View_PieArcComponent_Host_0, {
      fill: "fill",
      startAngle: "startAngle",
      endAngle: "endAngle",
      innerRadius: "innerRadius",
      outerRadius: "outerRadius",
      cornerRadius: "cornerRadius",
      value: "value",
      max: "max",
      data: "data",
      explodeSlices: "explodeSlices",
      gradient: "gradient",
      animate: "animate",
      pointerEvents: "pointerEvents",
      isActive: "isActive"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate",
      dblclick: "dblclick"
    }, []);

    var styles_PieGridComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-grid .arc1{opacity:.4}.pie-grid .percent-label{font-size:16px;font-weight:400}"];

    var RenderType_PieGridComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PieGridComponent,
      data: {}
    });

    function View_PieGridComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label percent-label"], ["dy", "-0.5em"], ["ngx-charts-count-up", ""], ["text-anchor", "middle"], ["x", "0"], ["y", "5"]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        countSuffix: [0, "countSuffix"],
        countTo: [1, "countTo"]
      }, null)], function (_ck, _v) {
        var currVal_0 = "%";
        var currVal_1 = _v.parent.context.$implicit.percent;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_PieGridComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label percent-label"], ["dy", "-0.5em"], ["text-anchor", "middle"], ["x", "0"], ["y", "5"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.percent.toLocaleString();

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_PieGridComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label"], ["dy", "1.23em"], ["ngx-charts-count-up", ""], ["text-anchor", "middle"], ["x", "0"]], [[1, "y", 0]], null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        countPrefix: [0, "countPrefix"],
        countTo: [1, "countTo"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.label + ": ";
        var currVal_2 = _v.parent.context.$implicit.total;

        _ck(_v, 1, 0, currVal_1, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.outerRadius;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_PieGridComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:text", [["class", "label"], ["dy", "1.23em"], ["text-anchor", "middle"], ["x", "0"]], [[1, "y", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", ": ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.parent.context.$implicit.outerRadius;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.label;

        var currVal_2 = _v.parent.context.$implicit.total.toLocaleString();

        _ck(_v, 1, 0, currVal_1, currVal_2);
      });
    }

    function View_PieGridComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 14, ":svg:g", [["class", "pie-grid-item"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 16777216, null, null, 3, ":svg:g", [["ngx-charts-pie-grid-series", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("select" === en) {
          var pd_5 = _co.onClick($event) !== false;
          ad = pd_5 && ad;
        }

        if ("activate" === en) {
          var pd_6 = _co.onActivate($event) !== false;
          ad = pd_6 && ad;
        }

        if ("deactivate" === en) {
          var pd_7 = _co.onDeactivate($event) !== false;
          ad = pd_7 && ad;
        }

        return ad;
      }, View_PieGridSeriesComponent_0, RenderType_PieGridSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](3, {
        data: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridSeriesComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        colors: [0, "colors"],
        data: [1, "data"],
        innerRadius: [2, "innerRadius"],
        outerRadius: [3, "outerRadius"],
        animations: [4, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 1, ":svg:text", [["class", "label"], ["dy", "0.5em"], ["text-anchor", "middle"], ["x", "0"], ["y", "5"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](10, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.tooltipTemplate ? undefined : _co.tooltipText(_ck(_v, 3, 0, _v.context.$implicit));
        var currVal_2 = _co.tooltipDisabled;
        var currVal_3 = "top";
        var currVal_4 = "tooltip";
        var currVal_5 = _co.tooltipTemplate;
        var currVal_6 = _v.context.$implicit.data[0].data;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _v.context.$implicit.colors;
        var currVal_8 = _v.context.$implicit.data;
        var currVal_9 = _v.context.$implicit.innerRadius;
        var currVal_10 = _v.context.$implicit.outerRadius;
        var currVal_11 = _co.animations;

        _ck(_v, 4, 0, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11);

        var currVal_12 = _co.animations;

        _ck(_v, 6, 0, currVal_12);

        var currVal_13 = !_co.animations;

        _ck(_v, 8, 0, currVal_13);

        var currVal_15 = _co.animations;

        _ck(_v, 12, 0, currVal_15);

        var currVal_16 = !_co.animations;

        _ck(_v, 14, 0, currVal_16);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.transform;

        _ck(_v, 0, 0, currVal_0);

        var currVal_14 = _v.context.$implicit.label;

        _ck(_v, 10, 0, currVal_14);
      });
    }

    function View_PieGridComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        animations: [2, "animations"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "pie-grid chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = false;
        var currVal_2 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

        var currVal_4 = _co.series;

        _ck(_v, 6, 0, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.transform;

        _ck(_v, 4, 0, currVal_3);
      });
    }

    function View_PieGridComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-pie-grid", [], null, null, null, View_PieGridComponent_0, RenderType_PieGridComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var PieGridComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-pie-grid", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridComponent"], View_PieGridComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      designatedTotal: "designatedTotal",
      tooltipDisabled: "tooltipDisabled",
      tooltipText: "tooltipText",
      label: "label",
      minWidth: "minWidth",
      activeEntries: "activeEntries"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_PieGridSeriesComponent = [];

    var RenderType_PieGridSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PieGridSeriesComponent,
      data: {}
    });

    function View_PieGridSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-arc", ""]], [[1, "class", 0]], [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.activate.emit($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.deactivate.emit($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        startAngle: [1, "startAngle"],
        endAngle: [2, "endAngle"],
        innerRadius: [3, "innerRadius"],
        outerRadius: [4, "outerRadius"],
        value: [5, "value"],
        data: [6, "data"],
        gradient: [7, "gradient"],
        animate: [8, "animate"],
        pointerEvents: [9, "pointerEvents"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _co.color(_v.context.$implicit);

        var currVal_2 = _v.context.$implicit.startAngle;
        var currVal_3 = _v.context.$implicit.endAngle;
        var currVal_4 = _co.innerRadius;
        var currVal_5 = _co.outerRadius;
        var currVal_6 = _v.context.$implicit.data.value;
        var currVal_7 = _v.context.$implicit.data;
        var currVal_8 = false;
        var currVal_9 = _v.context.$implicit.animate;
        var currVal_10 = _v.context.$implicit.pointerEvents;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit["class"];

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_PieGridSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [["class", "pie-grid-arcs"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieGridSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.arcs;
        var currVal_1 = _co.trackBy;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_PieGridSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-grid-series", ""]], null, null, null, View_PieGridSeriesComponent_0, RenderType_PieGridSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridSeriesComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var PieGridSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-grid-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieGridSeriesComponent"], View_PieGridSeriesComponent_Host_0, {
      colors: "colors",
      data: "data",
      innerRadius: "innerRadius",
      outerRadius: "outerRadius",
      animations: "animations"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_PieSeriesComponent = [];

    var RenderType_PieSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PieSeriesComponent,
      data: {}
    });

    function View_PieSeriesComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-label", ""]], null, null, null, View_PieLabelComponent_0, RenderType_PieLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], [], {
        data: [0, "data"],
        radius: [1, "radius"],
        label: [2, "label"],
        color: [3, "color"],
        max: [4, "max"],
        value: [5, "value"],
        explodeSlices: [6, "explodeSlices"],
        animations: [7, "animations"],
        labelTrim: [8, "labelTrim"],
        labelTrimSize: [9, "labelTrimSize"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.parent.context.$implicit;
        var currVal_1 = _co.outerRadius;

        var currVal_2 = _co.labelText(_v.parent.context.$implicit);

        var currVal_3 = _co.color(_v.parent.context.$implicit);

        var currVal_4 = _co.max;
        var currVal_5 = _v.parent.context.$implicit.value;
        var currVal_6 = _co.explodeSlices;
        var currVal_7 = _co.animations;
        var currVal_8 = _co.trimLabels;
        var currVal_9 = _co.maxLabelLength;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      }, null);
    }

    function View_PieSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 5, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 16777216, null, null, 2, ":svg:g", [["ngx-charts-pie-arc", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "dblclick"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("select" === en) {
          var pd_5 = _co.onClick($event) !== false;
          ad = pd_5 && ad;
        }

        if ("activate" === en) {
          var pd_6 = _co.activate.emit($event) !== false;
          ad = pd_6 && ad;
        }

        if ("deactivate" === en) {
          var pd_7 = _co.deactivate.emit($event) !== false;
          ad = pd_7 && ad;
        }

        if ("dblclick" === en) {
          var pd_8 = _co.dblclick.emit($event) !== false;
          ad = pd_8 && ad;
        }

        return ad;
      }, View_PieArcComponent_0, RenderType_PieArcComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieArcComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        fill: [0, "fill"],
        startAngle: [1, "startAngle"],
        endAngle: [2, "endAngle"],
        innerRadius: [3, "innerRadius"],
        outerRadius: [4, "outerRadius"],
        value: [5, "value"],
        max: [6, "max"],
        data: [7, "data"],
        explodeSlices: [8, "explodeSlices"],
        gradient: [9, "gradient"],
        animate: [10, "animate"],
        isActive: [11, "isActive"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate",
        dblclick: "dblclick"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.labelVisible(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.getTooltipTitle(_v.context.$implicit);

        var currVal_2 = _co.tooltipDisabled;
        var currVal_3 = "top";
        var currVal_4 = "tooltip";
        var currVal_5 = _co.tooltipTemplate;
        var currVal_6 = _v.context.$implicit.data;

        _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _co.color(_v.context.$implicit);

        var currVal_8 = _v.context.$implicit.startAngle;
        var currVal_9 = _v.context.$implicit.endAngle;
        var currVal_10 = _co.innerRadius;
        var currVal_11 = _co.outerRadius;
        var currVal_12 = _v.context.$implicit.data.value;
        var currVal_13 = _co.max;
        var currVal_14 = _v.context.$implicit.data;
        var currVal_15 = _co.explodeSlices;
        var currVal_16 = _co.gradient;
        var currVal_17 = _co.animations;

        var currVal_18 = _co.isActive(_v.context.$implicit.data);

        _ck(_v, 5, 1, [currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18]);
      }, null);
    }

    function View_PieSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PieSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.data;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_PieSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-series", ""]], null, null, null, View_PieSeriesComponent_0, RenderType_PieSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], [], null, null)], null, null);
    }

    var PieSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieSeriesComponent"], View_PieSeriesComponent_Host_0, {
      colors: "colors",
      series: "series",
      dims: "dims",
      innerRadius: "innerRadius",
      outerRadius: "outerRadius",
      explodeSlices: "explodeSlices",
      showLabels: "showLabels",
      gradient: "gradient",
      activeEntries: "activeEntries",
      labelFormatting: "labelFormatting",
      trimLabels: "trimLabels",
      maxLabelLength: "maxLabelLength",
      tooltipText: "tooltipText",
      tooltipDisabled: "tooltipDisabled",
      tooltipTemplate: "tooltipTemplate",
      animations: "animations"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate",
      dblclick: "dblclick"
    }, []);

    var styles_PieLabelComponent = [];

    var RenderType_PieLabelComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PieLabelComponent,
      data: {}
    });

    function View_PieLabelComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "title", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0], [4, "transform", null], [4, "transition", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, ":svg:text", [["class", "pie-label"], ["dy", ".35em"]], [[2, "animation", null], [4, "textAnchor", null], [4, "shapeRendering", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](4, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 0, ":svg:path", [["class", "pie-label-line line"], ["fill", "none"]], [[1, "d", 0], [1, "stroke", 0], [2, "animation", null]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.label;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.attrTransform;
        var currVal_2 = _co.styleTransform;
        var currVal_3 = _co.textTransition;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3);

        var currVal_4 = _co.animations;

        var currVal_5 = _co.textAnchor();

        var currVal_6 = "crispEdges";

        _ck(_v, 3, 0, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _co.labelTrim ? _co.trimLabel(_co.label, _co.labelTrimSize) : _co.label;

        _ck(_v, 4, 0, currVal_7);

        var currVal_8 = _co.line;
        var currVal_9 = _co.color;
        var currVal_10 = _co.animations;

        _ck(_v, 5, 0, currVal_8, currVal_9, currVal_10);
      });
    }

    function View_PieLabelComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-pie-label", ""]], null, null, null, View_PieLabelComponent_0, RenderType_PieLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], [], null, null)], null, null);
    }

    var PieLabelComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-pie-label]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], View_PieLabelComponent_Host_0, {
      data: "data",
      radius: "radius",
      label: "label",
      color: "color",
      max: "max",
      value: "value",
      explodeSlices: "explodeSlices",
      animations: "animations",
      labelTrim: "labelTrim",
      labelTrimSize: "labelTrimSize"
    }, {}, []);

    var styles_PolarChartComponent = [".ngx-charts{float:left;overflow:visible}.ngx-charts .arc,.ngx-charts .bar,.ngx-charts .circle{cursor:pointer}.ngx-charts .arc.active,.ngx-charts .arc:hover,.ngx-charts .bar.active,.ngx-charts .bar:hover,.ngx-charts .card.active,.ngx-charts .card:hover,.ngx-charts .cell.active,.ngx-charts .cell:hover{opacity:.8;transition:opacity .1s ease-in-out}.ngx-charts .arc:focus,.ngx-charts .bar:focus,.ngx-charts .card:focus,.ngx-charts .cell:focus{outline:none}.ngx-charts .arc.hidden,.ngx-charts .bar.hidden,.ngx-charts .card.hidden,.ngx-charts .cell.hidden{display:none}.ngx-charts g:focus{outline:none}.ngx-charts .area-series.inactive,.ngx-charts .line-series-range.inactive,.ngx-charts .line-series.inactive,.ngx-charts .polar-series-area.inactive,.ngx-charts .polar-series-path.inactive{opacity:.2;transition:opacity .1s ease-in-out}.ngx-charts .line-highlight{display:none}.ngx-charts .line-highlight.active{display:block}.ngx-charts .area{opacity:.6}.ngx-charts .circle:hover{cursor:pointer}.ngx-charts .label{font-size:12px;font-weight:400}.ngx-charts .tooltip-anchor{fill:#000}.ngx-charts .gridline-path{fill:none;stroke:#ddd;stroke-width:1}.ngx-charts .refline-path{stroke:#a8b2c7;stroke-dasharray:5;stroke-dashoffset:5;stroke-width:1}.ngx-charts .refline-label{font-size:9px}.ngx-charts .reference-area{fill:#000;fill-opacity:.05}.ngx-charts .gridline-path-dotted{fill:none;stroke:#ddd;stroke-dasharray:1,20;stroke-dashoffset:3;stroke-width:1}.ngx-charts .grid-panel rect{fill:none}.ngx-charts .grid-panel.odd rect{fill:rgba(0,0,0,.05)}", ".pie-label{font-size:11px}.pie-label.animation{-webkit-animation:fadeIn .75s ease-in;animation:fadeIn .75s ease-in}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.pie-label-line{stroke-dasharray:100%}.pie-label-line.animation{-webkit-animation:drawOut 3s linear;animation:drawOut 3s linear;transition:d .75s}@-webkit-keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}@keyframes drawOut{0%{stroke-dashoffset:100%}to{stroke-dashoffset:0}}", ".polar-chart .polar-chart-background{fill:none}.polar-chart .radial-gridline-path{fill:none;stroke-dasharray:10 10}.polar-chart .pie-label-line{stroke:#2f3646}.polar-charts-series .polar-series-area,.polar-series-path{pointer-events:none}"];

    var RenderType_PolarChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PolarChartComponent,
      data: {
        "animation": [{
          type: 7,
          name: "animationState",
          definitions: [{
            type: 1,
            expr: ":leave",
            animation: [{
              type: 6,
              styles: {
                opacity: 1
              },
              offset: null
            }, {
              type: 4,
              styles: {
                type: 6,
                styles: {
                  opacity: 0
                },
                offset: null
              },
              timings: 500
            }],
            options: null
          }],
          options: {}
        }]
      }
    });

    function View_PolarChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, ":svg:circle", [["class", "gridline-path radial-gridline-path"], ["cx", "0"], ["cy", "0"]], [[1, "r", 0]], null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_PolarChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.radiusTicks;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_PolarChartComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-pie-label", ""]], null, null, null, View_PieLabelComponent_0, RenderType_PieLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PieLabelComponent"], [], {
        data: [0, "data"],
        radius: [1, "radius"],
        label: [2, "label"],
        max: [3, "max"],
        value: [4, "value"],
        explodeSlices: [5, "explodeSlices"],
        animations: [6, "animations"],
        labelTrim: [7, "labelTrim"],
        labelTrimSize: [8, "labelTrimSize"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit;
        var currVal_1 = _co.outerRadius;
        var currVal_2 = _v.context.$implicit.label;
        var currVal_3 = _co.outerRadius;
        var currVal_4 = _co.showGridLines ? 1 : _co.outerRadius;
        var currVal_5 = true;
        var currVal_6 = _co.animations;
        var currVal_7 = _co.labelTrim;
        var currVal_8 = _co.labelTrimSize;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, null);
    }

    function View_PolarChartComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.thetaTicks;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_PolarChartComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-y-axis", ""]], [[1, "transform", 0]], [[null, "dimensionsChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("dimensionsChanged" === en) {
          var pd_0 = _co.updateYAxisWidth($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_YAxisComponent_0, RenderType_YAxisComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["YAxisComponent"], [], {
        yScale: [0, "yScale"],
        dims: [1, "dims"],
        trimTicks: [2, "trimTicks"],
        maxTickLength: [3, "maxTickLength"],
        tickFormatting: [4, "tickFormatting"],
        showGridLines: [5, "showGridLines"],
        showLabel: [6, "showLabel"],
        labelText: [7, "labelText"]
      }, {
        dimensionsChanged: "dimensionsChanged"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.yAxisScale;
        var currVal_2 = _co.yAxisDims;
        var currVal_3 = _co.trimYAxisTicks;
        var currVal_4 = _co.maxYAxisTickLength;
        var currVal_5 = _co.yAxisTickFormatting;
        var currVal_6 = _co.showGridLines;
        var currVal_7 = _co.showYAxisLabel;
        var currVal_8 = _co.yAxisLabel;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.transformYAxis;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_PolarChartComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-axis-label", ""]], null, null, null, View_AxisLabelComponent_0, RenderType_AxisLabelComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["AxisLabelComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        orient: [0, "orient"],
        label: [1, "label"],
        offset: [2, "offset"],
        width: [3, "width"],
        height: [4, "height"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "bottom";
        var currVal_1 = _co.xAxisLabel;
        var currVal_2 = _co.labelOffset;
        var currVal_3 = _co.dims.width;
        var currVal_4 = _co.dims.height;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_PolarChartComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:g", [], [[24, "@animationState", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-polar-series", ""]], null, [[null, "select"], [null, "activate"], [null, "deactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("deactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_PolarSeriesComponent_0, RenderType_PolarSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarSeriesComponent"], [], {
        data: [0, "data"],
        xScale: [1, "xScale"],
        yScale: [2, "yScale"],
        colors: [3, "colors"],
        scaleType: [4, "scaleType"],
        curve: [5, "curve"],
        activeEntries: [6, "activeEntries"],
        rangeFillOpacity: [7, "rangeFillOpacity"],
        tooltipDisabled: [8, "tooltipDisabled"],
        gradient: [9, "gradient"],
        tooltipTemplate: [10, "tooltipTemplate"],
        animations: [11, "animations"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _v.context.$implicit;
        var currVal_2 = _co.xScale;
        var currVal_3 = _co.yScale;
        var currVal_4 = _co.colors;
        var currVal_5 = _co.scaleType;
        var currVal_6 = _co.curve;
        var currVal_7 = _co.activeEntries;
        var currVal_8 = _co.rangeFillOpacity;
        var currVal_9 = _co.tooltipDisabled;
        var currVal_10 = _co.gradient;
        var currVal_11 = _co.tooltipTemplate;
        var currVal_12 = _co.animations;

        _ck(_v, 2, 1, [currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12]);
      }, function (_ck, _v) {
        var currVal_0 = "active";

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_PolarChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 17, "ngx-charts-chart", [], null, [[null, "legendLabelClick"], [null, "legendLabelActivate"], [null, "legendLabelDeactivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("legendLabelClick" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        if ("legendLabelActivate" === en) {
          var pd_1 = _co.onActivate($event) !== false;
          ad = pd_1 && ad;
        }

        if ("legendLabelDeactivate" === en) {
          var pd_2 = _co.onDeactivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        legendOptions: [2, "legendOptions"],
        activeEntries: [3, "activeEntries"],
        animations: [4, "animations"]
      }, {
        legendLabelClick: "legendLabelClick",
        legendLabelActivate: "legendLabelActivate",
        legendLabelDeactivate: "legendLabelDeactivate"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 13, ":svg:g", [["class", "polar-chart chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 5, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, ":svg:circle", [["class", "polar-chart-background"], ["cx", "0"], ["cy", "0"]], [[1, "r", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](14, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](15, 0, null, null, 2, ":svg:g", [], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarChartComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](17, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = _co.legend;
        var currVal_2 = _co.legendOptions;
        var currVal_3 = _co.activeEntries;
        var currVal_4 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_8 = _co.showGridLines;

        _ck(_v, 8, 0, currVal_8);

        var currVal_9 = _co.xAxis;

        _ck(_v, 10, 0, currVal_9);

        var currVal_10 = _co.yAxis;

        _ck(_v, 12, 0, currVal_10);

        var currVal_11 = _co.xAxis && _co.showXAxisLabel;

        _ck(_v, 14, 0, currVal_11);

        var currVal_13 = _co.results;
        var currVal_14 = _co.trackBy;

        _ck(_v, 17, 0, currVal_13, currVal_14);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.transform;

        _ck(_v, 4, 0, currVal_5);

        var currVal_6 = _co.transformPlot;

        _ck(_v, 5, 0, currVal_6);

        var currVal_7 = _co.outerRadius;

        _ck(_v, 6, 0, currVal_7);

        var currVal_12 = _co.transformPlot;

        _ck(_v, 15, 0, currVal_12);
      });
    }

    function View_PolarChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-polar-chart", [], null, null, null, View_PolarChartComponent_0, RenderType_PolarChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var PolarChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-polar-chart", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarChartComponent"], View_PolarChartComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      legend: "legend",
      legendTitle: "legendTitle",
      legendPosition: "legendPosition",
      xAxis: "xAxis",
      yAxis: "yAxis",
      showXAxisLabel: "showXAxisLabel",
      showYAxisLabel: "showYAxisLabel",
      xAxisLabel: "xAxisLabel",
      yAxisLabel: "yAxisLabel",
      autoScale: "autoScale",
      showGridLines: "showGridLines",
      curve: "curve",
      activeEntries: "activeEntries",
      rangeFillOpacity: "rangeFillOpacity",
      trimYAxisTicks: "trimYAxisTicks",
      maxYAxisTickLength: "maxYAxisTickLength",
      xAxisTickFormatting: "xAxisTickFormatting",
      yAxisTickFormatting: "yAxisTickFormatting",
      roundDomains: "roundDomains",
      tooltipDisabled: "tooltipDisabled",
      showSeriesOnHover: "showSeriesOnHover",
      gradient: "gradient",
      yAxisMinScale: "yAxisMinScale",
      labelTrim: "labelTrim",
      labelTrimSize: "labelTrimSize"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_PolarSeriesComponent = [];

    var RenderType_PolarSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PolarSeriesComponent,
      data: {}
    });

    function View_PolarSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-radial-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgRadialGradientComponent_0, RenderType_SvgRadialGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgRadialGradientComponent"], [], {
        color: [0, "color"],
        name: [1, "name"],
        startOpacity: [2, "startOpacity"],
        endOpacity: [3, "endOpacity"],
        stops: [4, "stops"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.seriesColor;
        var currVal_1 = _co.gradientId;
        var currVal_2 = 0.25;
        var currVal_3 = 1;
        var currVal_4 = _co.gradientStops;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_PolarSeriesComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["class", "circle"], ["ngx-charts-circle", ""], ["ngx-tooltip", ""], ["tooltipType", "tooltip"]], [[4, "opacity", null]], [[null, "select"], [null, "activate"], [null, "deactivate"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("click" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onClick() !== false;
          ad = pd_5 && ad;
        }

        if ("mouseenter" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseEnter() !== false;
          ad = pd_6 && ad;
        }

        if ("mouseleave" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMouseLeave() !== false;
          ad = pd_7 && ad;
        }

        if ("select" === en) {
          var pd_8 = _co.select.emit(_v.context.$implicit.data) !== false;
          ad = pd_8 && ad;
        }

        if ("activate" === en) {
          var pd_9 = _co.activate.emit({
            name: _v.context.$implicit.data.series
          }) !== false;
          ad = pd_9 && ad;
        }

        if ("deactivate" === en) {
          var pd_10 = _co.deactivate.emit({
            name: _v.context.$implicit.data.series
          }) !== false;
          ad = pd_10 && ad;
        }

        return ad;
      }, View_CircleComponent_0, RenderType_CircleComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CircleComponent"], [], {
        cx: [0, "cx"],
        cy: [1, "cy"],
        r: [2, "r"],
        fill: [3, "fill"]
      }, {
        select: "select",
        activate: "activate",
        deactivate: "deactivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.tooltipTemplate ? undefined : _co.tooltipText(_v.context.$implicit);
        var currVal_2 = _co.tooltipDisabled;
        var currVal_3 = "top";
        var currVal_4 = "tooltip";
        var currVal_5 = _co.tooltipTemplate;
        var currVal_6 = _v.context.$implicit.data;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _v.context.$implicit.cx;
        var currVal_8 = _v.context.$implicit.cy;
        var currVal_9 = _co.circleRadius;
        var currVal_10 = _v.context.$implicit.color;

        _ck(_v, 2, 0, currVal_7, currVal_8, currVal_9, currVal_10);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.inactive ? 0.2 : 1;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_PolarSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, ":svg:g", [["class", "polar-charts-series"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 1, ":svg:g", [["class", "polar-series-path"], ["ngx-charts-line", ""]], [[2, "active", null], [2, "inactive", null], [1, "fill-opacity", 0]], null, null, View_LineComponent_0, RenderType_LineComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["LineComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        path: [0, "path"],
        stroke: [1, "stroke"],
        fill: [2, "fill"],
        animations: [3, "animations"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PolarSeriesComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.hasGradient;

        _ck(_v, 3, 0, currVal_0);

        var currVal_4 = _co.path;
        var currVal_5 = _co.hasGradient ? _co.gradientUrl : _co.seriesColor;
        var currVal_6 = _co.hasGradient ? _co.gradientUrl : _co.seriesColor;
        var currVal_7 = _co.animations;

        _ck(_v, 5, 0, currVal_4, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.circles;

        _ck(_v, 7, 0, currVal_8);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.active;
        var currVal_2 = _co.inactive;
        var currVal_3 = _co.rangeFillOpacity;

        _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3);
      });
    }

    function View_PolarSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-polar-series", ""]], null, null, null, View_PolarSeriesComponent_0, RenderType_PolarSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarSeriesComponent"], [], null, null)], null, null);
    }

    var PolarSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-polar-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["PolarSeriesComponent"], View_PolarSeriesComponent_Host_0, {
      name: "name",
      data: "data",
      xScale: "xScale",
      yScale: "yScale",
      colors: "colors",
      scaleType: "scaleType",
      curve: "curve",
      activeEntries: "activeEntries",
      rangeFillOpacity: "rangeFillOpacity",
      tooltipDisabled: "tooltipDisabled",
      tooltipText: "tooltipText",
      gradient: "gradient",
      tooltipTemplate: "tooltipTemplate",
      animations: "animations"
    }, {
      select: "select",
      activate: "activate",
      deactivate: "deactivate"
    }, []);

    var styles_TreeMapComponent = [".tree-map .treemap-val{display:inline-block;font-size:1.3em;padding-top:5px}.tree-map .treemap-label p{display:table-cell;line-height:1.2em;text-align:center;vertical-align:middle}"];

    var RenderType_TreeMapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_TreeMapComponent,
      data: {}
    });

    function View_TreeMapComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 6, "ngx-charts-chart", [], null, null, null, View_ChartComponent_0, RenderType_ChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵprd"](4608, null, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["ChartComponent"], [], {
        view: [0, "view"],
        showLegend: [1, "showLegend"],
        animations: [2, "animations"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpad"](3, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, 0, 2, ":svg:g", [["class", "tree-map chart"]], [[1, "transform", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, ":svg:g", [["ngx-charts-tree-map-cell-series", ""]], null, [[null, "select"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.onClick($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_TreeMapCellSeriesComponent_0, RenderType_TreeMapCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellSeriesComponent"], [], {
        data: [0, "data"],
        dims: [1, "dims"],
        colors: [2, "colors"],
        valueFormatting: [3, "valueFormatting"],
        labelFormatting: [4, "labelFormatting"],
        gradient: [5, "gradient"],
        tooltipDisabled: [6, "tooltipDisabled"],
        tooltipTemplate: [7, "tooltipTemplate"],
        animations: [8, "animations"]
      }, {
        select: "select"
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.width, _co.height);

        var currVal_1 = false;
        var currVal_2 = _co.animations;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);

        var currVal_4 = _co.data;
        var currVal_5 = _co.dims;
        var currVal_6 = _co.colors;
        var currVal_7 = _co.valueFormatting;
        var currVal_8 = _co.labelFormatting;
        var currVal_9 = _co.gradient;
        var currVal_10 = _co.tooltipDisabled;
        var currVal_11 = _co.tooltipTemplate;
        var currVal_12 = _co.animations;

        _ck(_v, 6, 0, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.transform;

        _ck(_v, 4, 0, currVal_3);
      });
    }

    function View_TreeMapComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "ngx-charts-tree-map", [], null, null, null, View_TreeMapComponent_0, RenderType_TreeMapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], null, null);
    }

    var TreeMapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-charts-tree-map", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapComponent"], View_TreeMapComponent_Host_0, {
      results: "results",
      view: "view",
      scheme: "scheme",
      schemeType: "schemeType",
      customColors: "customColors",
      animations: "animations",
      tooltipDisabled: "tooltipDisabled",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      gradient: "gradient"
    }, {
      select: "select"
    }, []);

    var styles_TreeMapCellComponent = [];

    var RenderType_TreeMapCellComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_TreeMapCellComponent,
      data: {}
    });

    function View_TreeMapCellComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, ":svg:defs", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, ":svg:g", [["ngx-charts-svg-linear-gradient", ""], ["orientation", "vertical"]], null, null, null, View_SvgLinearGradientComponent_0, RenderType_SvgLinearGradientComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["SvgLinearGradientComponent"], [], {
        orientation: [0, "orientation"],
        name: [1, "name"],
        stops: [2, "stops"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "vertical";
        var currVal_1 = _co.gradientId;
        var currVal_2 = _co.gradientStops;

        _ck(_v, 2, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_TreeMapCellComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":xhtml:span", [["class", "treemap-val"], ["ngx-charts-count-up", ""]], null, null, null, View_CountUpDirective_0, RenderType_CountUpDirective)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["CountUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        valueFormatting: [0, "valueFormatting"],
        countTo: [1, "countTo"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.valueFormatting;
        var currVal_1 = _co.value;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_TreeMapCellComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, ":xhtml:span", [["class", "treemap-val"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.formattedValue;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_TreeMapCellComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, ":svg:foreignObject", [["class", "treemap-label"]], [[1, "x", 0], [1, "y", 0], [1, "width", 0], [1, "height", 0], [4, "pointer-events", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 6, ":xhtml:p", [], [[4, "color", null], [4, "height", null], [4, "width", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, ":xhtml:span", [["class", "treemap-label"]], [[8, "innerHTML", 1]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":xhtml:br", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_9 = _co.animations;

        _ck(_v, 5, 0, currVal_9);

        var currVal_10 = !_co.animations;

        _ck(_v, 7, 0, currVal_10);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.x;
        var currVal_1 = _co.y;
        var currVal_2 = _co.width;
        var currVal_3 = _co.height;
        var currVal_4 = "none";

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_5 = _co.getTextColor();

        var currVal_6 = _co.height + "px";
        var currVal_7 = _co.width + "px";

        _ck(_v, 1, 0, currVal_5, currVal_6, currVal_7);

        var currVal_8 = _co.formattedLabel;

        _ck(_v, 2, 0, currVal_8);
      });
    }

    function View_TreeMapCellComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 5, ":svg:g", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, ":svg:rect", [["class", "cell"]], [[1, "fill", 0], [1, "width", 0], [1, "height", 0], [1, "x", 0], [1, "y", 0], [4, "cursor", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClick() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.gradient;

        _ck(_v, 2, 0, currVal_0);

        var currVal_7 = _co.width >= 70 && _co.height >= 35;

        _ck(_v, 5, 0, currVal_7);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.gradient ? _co.gradientUrl : _co.fill;
        var currVal_2 = _co.width;
        var currVal_3 = _co.height;
        var currVal_4 = _co.x;
        var currVal_5 = _co.y;
        var currVal_6 = "pointer";

        _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_TreeMapCellComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-tree-map-cell", ""]], null, null, null, View_TreeMapCellComponent_0, RenderType_TreeMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], null, null);
    }

    var TreeMapCellComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-tree-map-cell]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellComponent"], View_TreeMapCellComponent_Host_0, {
      data: "data",
      fill: "fill",
      x: "x",
      y: "y",
      width: "width",
      height: "height",
      label: "label",
      value: "value",
      valueType: "valueType",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      gradient: "gradient",
      animations: "animations"
    }, {
      select: "select"
    }, []);

    var styles_TreeMapCellSeriesComponent = [];

    var RenderType_TreeMapCellSeriesComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_TreeMapCellSeriesComponent,
      data: {}
    });

    function View_TreeMapCellSeriesComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 16777216, null, null, 2, ":svg:g", [["ngx-charts-tree-map-cell", ""], ["ngx-tooltip", ""]], null, [[null, "select"], [null, "focusin"], [null, "blur"], [null, "mouseenter"], [null, "mouseleave"], [null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focusin" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("mouseenter" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseEnter() !== false;
          ad = pd_2 && ad;
        }

        if ("mouseleave" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseLeave($event.target) !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseClick() !== false;
          ad = pd_4 && ad;
        }

        if ("select" === en) {
          var pd_5 = _co.onClick($event) !== false;
          ad = pd_5 && ad;
        }

        return ad;
      }, View_TreeMapCellComponent_0, RenderType_TreeMapCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 147456, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipDirective"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TooltipService"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        tooltipTitle: [0, "tooltipTitle"],
        tooltipDisabled: [1, "tooltipDisabled"],
        tooltipPlacement: [2, "tooltipPlacement"],
        tooltipType: [3, "tooltipType"],
        tooltipTemplate: [4, "tooltipTemplate"],
        tooltipContext: [5, "tooltipContext"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        data: [0, "data"],
        fill: [1, "fill"],
        x: [2, "x"],
        y: [3, "y"],
        width: [4, "width"],
        height: [5, "height"],
        label: [6, "label"],
        value: [7, "value"],
        valueType: [8, "valueType"],
        valueFormatting: [9, "valueFormatting"],
        labelFormatting: [10, "labelFormatting"],
        gradient: [11, "gradient"],
        animations: [12, "animations"]
      }, {
        select: "select"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.tooltipTemplate ? undefined : _co.getTooltipText(_v.context.$implicit);
        var currVal_1 = _co.tooltipDisabled;
        var currVal_2 = "top";
        var currVal_3 = "tooltip";
        var currVal_4 = _co.tooltipTemplate;
        var currVal_5 = _v.context.$implicit.data;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);

        var currVal_6 = _v.context.$implicit.data;
        var currVal_7 = _v.context.$implicit.fill;
        var currVal_8 = _v.context.$implicit.x;
        var currVal_9 = _v.context.$implicit.y;
        var currVal_10 = _v.context.$implicit.width;
        var currVal_11 = _v.context.$implicit.height;
        var currVal_12 = _v.context.$implicit.label;
        var currVal_13 = _v.context.$implicit.value;
        var currVal_14 = _v.context.$implicit.valueType;
        var currVal_15 = _co.valueFormatting;
        var currVal_16 = _co.labelFormatting;
        var currVal_17 = _co.gradient;
        var currVal_18 = _co.animations;

        _ck(_v, 2, 1, [currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18]);
      }, null);
    }

    function View_TreeMapCellSeriesComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_TreeMapCellSeriesComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.cells;
        var currVal_1 = _co.trackBy;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_TreeMapCellSeriesComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "g", [["ngx-charts-tree-map-cell-series", ""]], null, null, null, View_TreeMapCellSeriesComponent_0, RenderType_TreeMapCellSeriesComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellSeriesComponent"], [], null, null)], null, null);
    }

    var TreeMapCellSeriesComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("g[ngx-charts-tree-map-cell-series]", _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_1__["TreeMapCellSeriesComponent"], View_TreeMapCellSeriesComponent_Host_0, {
      data: "data",
      dims: "dims",
      colors: "colors",
      valueFormatting: "valueFormatting",
      labelFormatting: "labelFormatting",
      gradient: "gradient",
      tooltipDisabled: "tooltipDisabled",
      tooltipTemplate: "tooltipTemplate",
      animations: "animations"
    }, {
      select: "select"
    }, []);
    /***/

  },

  /***/
  "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js ***!
    \*********************************************************************************/

  /*! exports provided: ClickType, ColumnChangesService, ColumnMode, ContextmenuType, DataTableBodyCellComponent, DataTableBodyComponent, DataTableBodyRowComponent, DataTableColumnCellDirective, DataTableColumnCellTreeToggle, DataTableColumnDirective, DataTableColumnHeaderDirective, DataTableFooterComponent, DataTableFooterTemplateDirective, DataTableHeaderCellComponent, DataTableHeaderComponent, DataTablePagerComponent, DataTableRowWrapperComponent, DataTableSelectionComponent, DataTableSummaryRowComponent, DatatableComponent, DatatableFooterDirective, DatatableGroupHeaderDirective, DatatableGroupHeaderTemplateDirective, DatatableRowDetailDirective, DatatableRowDetailTemplateDirective, DimensionsHelper, DraggableDirective, Keys, LongPressDirective, NgxDatatableModule, OrderableDirective, ProgressBarComponent, ResizeableDirective, RowHeightCache, ScrollbarHelper, ScrollerComponent, SelectionType, SortDirection, SortType, VisibilityDirective, adjustColumnWidths, camelCase, columnGroupWidths, columnTotalWidth, columnsByPin, columnsByPinArr, columnsTotalWidth, deCamelCase, deepValueGetter, elementsFromPoint, emptyStringGetter, forceFillColumnWidths, getTotalFlexGrow, getVendorPrefixedName, getterForProp, groupRowsByParents, id, isNullOrUndefined, nextSortDir, numericIndexGetter, optionalGetterForProp, orderByComparator, selectRows, selectRowsBetween, setColumnDefaults, shallowValueGetter, sortRows, throttle, throttleable, translateTemplates, translateXY, ɵ0 */

  /***/
  function node_modulesSwimlaneNgxDatatableFesm2015SwimlaneNgxDatatableJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ClickType", function () {
      return ClickType;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ColumnChangesService", function () {
      return ColumnChangesService;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ColumnMode", function () {
      return ColumnMode;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ContextmenuType", function () {
      return ContextmenuType;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableBodyCellComponent", function () {
      return DataTableBodyCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableBodyComponent", function () {
      return DataTableBodyComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableBodyRowComponent", function () {
      return DataTableBodyRowComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableColumnCellDirective", function () {
      return DataTableColumnCellDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableColumnCellTreeToggle", function () {
      return DataTableColumnCellTreeToggle;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableColumnDirective", function () {
      return DataTableColumnDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableColumnHeaderDirective", function () {
      return DataTableColumnHeaderDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableFooterComponent", function () {
      return DataTableFooterComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableFooterTemplateDirective", function () {
      return DataTableFooterTemplateDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableHeaderCellComponent", function () {
      return DataTableHeaderCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableHeaderComponent", function () {
      return DataTableHeaderComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTablePagerComponent", function () {
      return DataTablePagerComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableRowWrapperComponent", function () {
      return DataTableRowWrapperComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableSelectionComponent", function () {
      return DataTableSelectionComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableSummaryRowComponent", function () {
      return DataTableSummaryRowComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableComponent", function () {
      return DatatableComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableFooterDirective", function () {
      return DatatableFooterDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableGroupHeaderDirective", function () {
      return DatatableGroupHeaderDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableGroupHeaderTemplateDirective", function () {
      return DatatableGroupHeaderTemplateDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableRowDetailDirective", function () {
      return DatatableRowDetailDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableRowDetailTemplateDirective", function () {
      return DatatableRowDetailTemplateDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DimensionsHelper", function () {
      return DimensionsHelper;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DraggableDirective", function () {
      return DraggableDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Keys", function () {
      return Keys;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LongPressDirective", function () {
      return LongPressDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NgxDatatableModule", function () {
      return NgxDatatableModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "OrderableDirective", function () {
      return OrderableDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ProgressBarComponent", function () {
      return ProgressBarComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ResizeableDirective", function () {
      return ResizeableDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RowHeightCache", function () {
      return RowHeightCache;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScrollbarHelper", function () {
      return ScrollbarHelper;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScrollerComponent", function () {
      return ScrollerComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SelectionType", function () {
      return SelectionType;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SortDirection", function () {
      return SortDirection;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SortType", function () {
      return SortType;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "VisibilityDirective", function () {
      return VisibilityDirective;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "adjustColumnWidths", function () {
      return adjustColumnWidths;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "camelCase", function () {
      return camelCase;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "columnGroupWidths", function () {
      return columnGroupWidths;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "columnTotalWidth", function () {
      return columnTotalWidth;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "columnsByPin", function () {
      return columnsByPin;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "columnsByPinArr", function () {
      return columnsByPinArr;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "columnsTotalWidth", function () {
      return columnsTotalWidth;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "deCamelCase", function () {
      return deCamelCase;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "deepValueGetter", function () {
      return deepValueGetter;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "elementsFromPoint", function () {
      return elementsFromPoint;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "emptyStringGetter", function () {
      return emptyStringGetter;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "forceFillColumnWidths", function () {
      return forceFillColumnWidths;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getTotalFlexGrow", function () {
      return getTotalFlexGrow;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getVendorPrefixedName", function () {
      return getVendorPrefixedName;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "getterForProp", function () {
      return getterForProp;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "groupRowsByParents", function () {
      return groupRowsByParents;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "id", function () {
      return id;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isNullOrUndefined", function () {
      return isNullOrUndefined;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "nextSortDir", function () {
      return nextSortDir;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "numericIndexGetter", function () {
      return numericIndexGetter;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "optionalGetterForProp", function () {
      return optionalGetterForProp;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "orderByComparator", function () {
      return orderByComparator;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "selectRows", function () {
      return selectRows;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "selectRowsBetween", function () {
      return selectRowsBetween;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "setColumnDefaults", function () {
      return setColumnDefaults;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "shallowValueGetter", function () {
      return shallowValueGetter;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sortRows", function () {
      return sortRows;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "throttle", function () {
      return throttle;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "throttleable", function () {
      return throttleable;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "translateTemplates", function () {
      return translateTemplates;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "translateXY", function () {
      return translateXY;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ0", function () {
      return ɵ0;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! rxjs/operators */
    "./node_modules/rxjs/_esm2015/operators/index.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_4__);
    /**
     * Gets the width of the scrollbar.  Nesc for windows
     * http://stackoverflow.com/a/13382873/888165
     */


    var ScrollbarHelper = /*#__PURE__*/function () {
      function ScrollbarHelper(document) {
        _classCallCheck(this, ScrollbarHelper);

        this.document = document;
        this.width = this.getWidth();
      }

      _createClass(ScrollbarHelper, [{
        key: "getWidth",
        value: function getWidth() {
          var outer = this.document.createElement('div');
          outer.style.visibility = 'hidden';
          outer.style.width = '100px';
          outer.style.msOverflowStyle = 'scrollbar';
          this.document.body.appendChild(outer);
          var widthNoScroll = outer.offsetWidth;
          outer.style.overflow = 'scroll';
          var inner = this.document.createElement('div');
          inner.style.width = '100%';
          outer.appendChild(inner);
          var widthWithScroll = inner.offsetWidth;
          outer.parentNode.removeChild(outer);
          return widthNoScroll - widthWithScroll;
        }
      }]);

      return ScrollbarHelper;
    }();

    ScrollbarHelper.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
    }];

    ScrollbarHelper.ctorParameters = function () {
      return [{
        type: undefined,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
          args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["DOCUMENT"]]
        }]
      }];
    };
    /**
     * Gets the width of the scrollbar.  Nesc for windows
     * http://stackoverflow.com/a/13382873/888165
     */


    var DimensionsHelper = /*#__PURE__*/function () {
      function DimensionsHelper() {
        _classCallCheck(this, DimensionsHelper);
      }

      _createClass(DimensionsHelper, [{
        key: "getDimensions",
        value: function getDimensions(element) {
          return element.getBoundingClientRect();
        }
      }]);

      return DimensionsHelper;
    }();

    DimensionsHelper.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
    }];
    /**
     * service to make DatatableComponent aware of changes to
     * input bindings of DataTableColumnDirective
     */

    var ColumnChangesService = /*#__PURE__*/function () {
      function ColumnChangesService() {
        _classCallCheck(this, ColumnChangesService);

        this.columnInputChanges = new rxjs__WEBPACK_IMPORTED_MODULE_2__["Subject"]();
      }

      _createClass(ColumnChangesService, [{
        key: "columnInputChanges$",
        get: function get() {
          return this.columnInputChanges.asObservable();
        }
      }, {
        key: "onInputChange",
        value: function onInputChange() {
          this.columnInputChanges.next();
        }
      }]);

      return ColumnChangesService;
    }();

    ColumnChangesService.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"]
    }];

    var DataTableFooterTemplateDirective = /*#__PURE__*/_createClass(function DataTableFooterTemplateDirective(template) {
      _classCallCheck(this, DataTableFooterTemplateDirective);

      this.template = template;
    });

    DataTableFooterTemplateDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-datatable-footer-template]'
      }]
    }];

    DataTableFooterTemplateDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }];
    };
    /**
     * Visibility Observer Directive
     *
     * Usage:
     *
     * 		<div
     * 			visibilityObserver
     * 			(visible)="onVisible($event)">
     * 		</div>
     *
     */


    var VisibilityDirective = /*#__PURE__*/function () {
      function VisibilityDirective(element, zone) {
        _classCallCheck(this, VisibilityDirective);

        this.element = element;
        this.zone = zone;
        this.isVisible = false;
        this.visible = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(VisibilityDirective, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.runCheck();
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          clearTimeout(this.timeout);
        }
      }, {
        key: "onVisibilityChange",
        value: function onVisibilityChange() {
          var _this94 = this;

          // trigger zone recalc for columns
          this.zone.run(function () {
            _this94.isVisible = true;

            _this94.visible.emit(true);
          });
        }
      }, {
        key: "runCheck",
        value: function runCheck() {
          var _this95 = this;

          var check = function check() {
            // https://davidwalsh.name/offsetheight-visibility
            var _this95$element$nativ = _this95.element.nativeElement,
                offsetHeight = _this95$element$nativ.offsetHeight,
                offsetWidth = _this95$element$nativ.offsetWidth;

            if (offsetHeight && offsetWidth) {
              clearTimeout(_this95.timeout);

              _this95.onVisibilityChange();
            } else {
              clearTimeout(_this95.timeout);

              _this95.zone.runOutsideAngular(function () {
                _this95.timeout = setTimeout(function () {
                  return check();
                }, 50);
              });
            }
          };

          this.timeout = setTimeout(function () {
            return check();
          });
        }
      }]);

      return VisibilityDirective;
    }();

    VisibilityDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[visibilityObserver]'
      }]
    }];

    VisibilityDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
      }];
    };

    VisibilityDirective.propDecorators = {
      isVisible: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.visible']
      }],
      visible: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };
    /**
     * Draggable Directive for Angular2
     *
     * Inspiration:
     *   https://github.com/AngularClass/angular2-examples/blob/master/rx-draggable/directives/draggable.ts
     *   http://stackoverflow.com/questions/35662530/how-to-implement-drag-and-drop-in-angular2
     *
     */

    var DraggableDirective = /*#__PURE__*/function () {
      function DraggableDirective(element) {
        _classCallCheck(this, DraggableDirective);

        this.dragX = true;
        this.dragY = true;
        this.dragStart = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dragging = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.dragEnd = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.isDragging = false;
        this.element = element.nativeElement;
      }

      _createClass(DraggableDirective, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          if (changes['dragEventTarget'] && changes['dragEventTarget'].currentValue && this.dragModel.dragging) {
            this.onMousedown(changes['dragEventTarget'].currentValue);
          }
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this._destroySubscription();
        }
      }, {
        key: "onMouseup",
        value: function onMouseup(event) {
          if (!this.isDragging) return;
          this.isDragging = false;
          this.element.classList.remove('dragging');

          if (this.subscription) {
            this._destroySubscription();

            this.dragEnd.emit({
              event: event,
              element: this.element,
              model: this.dragModel
            });
          }
        }
      }, {
        key: "onMousedown",
        value: function onMousedown(event) {
          var _this96 = this;

          // we only want to drag the inner header text
          var isDragElm = event.target.classList.contains('draggable');

          if (isDragElm && (this.dragX || this.dragY)) {
            event.preventDefault();
            this.isDragging = true;
            var mouseDownPos = {
              x: event.clientX,
              y: event.clientY
            };
            var mouseup = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["fromEvent"])(document, 'mouseup');
            this.subscription = mouseup.subscribe(function (ev) {
              return _this96.onMouseup(ev);
            });
            var mouseMoveSub = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["fromEvent"])(document, 'mousemove').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(mouseup)).subscribe(function (ev) {
              return _this96.move(ev, mouseDownPos);
            });
            this.subscription.add(mouseMoveSub);
            this.dragStart.emit({
              event: event,
              element: this.element,
              model: this.dragModel
            });
          }
        }
      }, {
        key: "move",
        value: function move(event, mouseDownPos) {
          if (!this.isDragging) return;
          var x = event.clientX - mouseDownPos.x;
          var y = event.clientY - mouseDownPos.y;
          if (this.dragX) this.element.style.left = "".concat(x, "px");
          if (this.dragY) this.element.style.top = "".concat(y, "px");
          this.element.classList.add('dragging');
          this.dragging.emit({
            event: event,
            element: this.element,
            model: this.dragModel
          });
        }
      }, {
        key: "_destroySubscription",
        value: function _destroySubscription() {
          if (this.subscription) {
            this.subscription.unsubscribe();
            this.subscription = undefined;
          }
        }
      }]);

      return DraggableDirective;
    }();

    DraggableDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[draggable]'
      }]
    }];

    DraggableDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    DraggableDirective.propDecorators = {
      dragEventTarget: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dragModel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dragX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dragY: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dragStart: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      dragging: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      dragEnd: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var ResizeableDirective = /*#__PURE__*/function () {
      function ResizeableDirective(element, renderer) {
        _classCallCheck(this, ResizeableDirective);

        this.renderer = renderer;
        this.resizeEnabled = true;
        this.resize = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.resizing = false;
        this.element = element.nativeElement;
      }

      _createClass(ResizeableDirective, [{
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var renderer2 = this.renderer;
          this.resizeHandle = renderer2.createElement('span');

          if (this.resizeEnabled) {
            renderer2.addClass(this.resizeHandle, 'resize-handle');
          } else {
            renderer2.addClass(this.resizeHandle, 'resize-handle--not-resizable');
          }

          renderer2.appendChild(this.element, this.resizeHandle);
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this._destroySubscription();

          if (this.renderer.destroyNode) {
            this.renderer.destroyNode(this.resizeHandle);
          } else if (this.resizeHandle) {
            this.renderer.removeChild(this.renderer.parentNode(this.resizeHandle), this.resizeHandle);
          }
        }
      }, {
        key: "onMouseup",
        value: function onMouseup() {
          this.resizing = false;

          if (this.subscription && !this.subscription.closed) {
            this._destroySubscription();

            this.resize.emit(this.element.clientWidth);
          }
        }
      }, {
        key: "onMousedown",
        value: function onMousedown(event) {
          var _this97 = this;

          var isHandle = event.target.classList.contains('resize-handle');
          var initialWidth = this.element.clientWidth;
          var mouseDownScreenX = event.screenX;

          if (isHandle) {
            event.stopPropagation();
            this.resizing = true;
            var mouseup = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["fromEvent"])(document, 'mouseup');
            this.subscription = mouseup.subscribe(function (ev) {
              return _this97.onMouseup();
            });
            var mouseMoveSub = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["fromEvent"])(document, 'mousemove').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(mouseup)).subscribe(function (e) {
              return _this97.move(e, initialWidth, mouseDownScreenX);
            });
            this.subscription.add(mouseMoveSub);
          }
        }
      }, {
        key: "move",
        value: function move(event, initialWidth, mouseDownScreenX) {
          var movementX = event.screenX - mouseDownScreenX;
          var newWidth = initialWidth + movementX;
          var overMinWidth = !this.minWidth || newWidth >= this.minWidth;
          var underMaxWidth = !this.maxWidth || newWidth <= this.maxWidth;

          if (overMinWidth && underMaxWidth) {
            this.element.style.width = "".concat(newWidth, "px");
          }
        }
      }, {
        key: "_destroySubscription",
        value: function _destroySubscription() {
          if (this.subscription) {
            this.subscription.unsubscribe();
            this.subscription = undefined;
          }
        }
      }]);

      return ResizeableDirective;
    }();

    ResizeableDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[resizeable]',
        host: {
          '[class.resizeable]': 'resizeEnabled'
        }
      }]
    }];

    ResizeableDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
      }];
    };

    ResizeableDirective.propDecorators = {
      resizeEnabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      minWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      resize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onMousedown: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mousedown', ['$event']]
      }]
    };

    var OrderableDirective = /*#__PURE__*/function () {
      function OrderableDirective(differs, document) {
        _classCallCheck(this, OrderableDirective);

        this.document = document;
        this.reorder = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.targetChanged = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.differ = differs.find({}).create();
      }

      _createClass(OrderableDirective, [{
        key: "ngAfterContentInit",
        value: function ngAfterContentInit() {
          // HACK: Investigate Better Way
          this.updateSubscriptions();
          this.draggables.changes.subscribe(this.updateSubscriptions.bind(this));
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this.draggables.forEach(function (d) {
            d.dragStart.unsubscribe();
            d.dragging.unsubscribe();
            d.dragEnd.unsubscribe();
          });
        }
      }, {
        key: "updateSubscriptions",
        value: function updateSubscriptions() {
          var _this98 = this;

          var diffs = this.differ.diff(this.createMapDiffs());

          if (diffs) {
            var subscribe = function subscribe(_ref45) {
              var currentValue = _ref45.currentValue,
                  previousValue = _ref45.previousValue;
              unsubscribe({
                previousValue: previousValue
              });

              if (currentValue) {
                currentValue.dragStart.subscribe(_this98.onDragStart.bind(_this98));
                currentValue.dragging.subscribe(_this98.onDragging.bind(_this98));
                currentValue.dragEnd.subscribe(_this98.onDragEnd.bind(_this98));
              }
            };

            var unsubscribe = function unsubscribe(_ref46) {
              var previousValue = _ref46.previousValue;

              if (previousValue) {
                previousValue.dragStart.unsubscribe();
                previousValue.dragging.unsubscribe();
                previousValue.dragEnd.unsubscribe();
              }
            };

            diffs.forEachAddedItem(subscribe); // diffs.forEachChangedItem(subscribe.bind(this));

            diffs.forEachRemovedItem(unsubscribe);
          }
        }
      }, {
        key: "onDragStart",
        value: function onDragStart() {
          this.positions = {};
          var i = 0;

          var _iterator75 = _createForOfIteratorHelper(this.draggables.toArray()),
              _step75;

          try {
            for (_iterator75.s(); !(_step75 = _iterator75.n()).done;) {
              var dragger = _step75.value;
              var elm = dragger.element;
              var left = parseInt(elm.offsetLeft.toString(), 0);
              this.positions[dragger.dragModel.prop] = {
                left: left,
                right: left + parseInt(elm.offsetWidth.toString(), 0),
                index: i++,
                element: elm
              };
            }
          } catch (err) {
            _iterator75.e(err);
          } finally {
            _iterator75.f();
          }
        }
      }, {
        key: "onDragging",
        value: function onDragging(_ref47) {
          var element = _ref47.element,
              model = _ref47.model,
              event = _ref47.event;
          var prevPos = this.positions[model.prop];
          var target = this.isTarget(model, event);

          if (target) {
            if (this.lastDraggingIndex !== target.i) {
              this.targetChanged.emit({
                prevIndex: this.lastDraggingIndex,
                newIndex: target.i,
                initialIndex: prevPos.index
              });
              this.lastDraggingIndex = target.i;
            }
          } else if (this.lastDraggingIndex !== prevPos.index) {
            this.targetChanged.emit({
              prevIndex: this.lastDraggingIndex,
              initialIndex: prevPos.index
            });
            this.lastDraggingIndex = prevPos.index;
          }
        }
      }, {
        key: "onDragEnd",
        value: function onDragEnd(_ref48) {
          var element = _ref48.element,
              model = _ref48.model,
              event = _ref48.event;
          var prevPos = this.positions[model.prop];
          var target = this.isTarget(model, event);

          if (target) {
            this.reorder.emit({
              prevIndex: prevPos.index,
              newIndex: target.i,
              model: model
            });
          }

          this.lastDraggingIndex = undefined;
          element.style.left = 'auto';
        }
      }, {
        key: "isTarget",
        value: function isTarget(model, event) {
          var _this99 = this;

          var i = 0;
          var x = event.x || event.clientX;
          var y = event.y || event.clientY;
          var targets = this.document.elementsFromPoint(x, y);

          var _loop5 = function _loop5() {
            // current column position which throws event.
            var pos = _this99.positions[prop]; // since we drag the inner span, we need to find it in the elements at the cursor

            if (model.prop !== prop && targets.find(function (el) {
              return el === pos.element;
            })) {
              return {
                v: {
                  pos: pos,
                  i: i
                }
              };
            }

            i++;
          };

          for (var prop in this.positions) {
            var _ret = _loop5();

            if (typeof _ret === "object") return _ret.v;
          }
        }
      }, {
        key: "createMapDiffs",
        value: function createMapDiffs() {
          return this.draggables.toArray().reduce(function (acc, curr) {
            acc[curr.dragModel.$$id] = curr;
            return acc;
          }, {});
        }
      }]);

      return OrderableDirective;
    }();

    OrderableDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[orderable]'
      }]
    }];

    OrderableDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"]
      }, {
        type: undefined,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
          args: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["DOCUMENT"]]
        }]
      }];
    };

    OrderableDirective.propDecorators = {
      reorder: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      targetChanged: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      draggables: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChildren"],
        args: [DraggableDirective, {
          descendants: true
        }]
      }]
    };

    var LongPressDirective = /*#__PURE__*/function () {
      function LongPressDirective() {
        _classCallCheck(this, LongPressDirective);

        this.pressEnabled = true;
        this.duration = 500;
        this.longPressStart = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.longPressing = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.longPressEnd = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.mouseX = 0;
        this.mouseY = 0;
      }

      _createClass(LongPressDirective, [{
        key: "press",
        get: function get() {
          return this.pressing;
        }
      }, {
        key: "isLongPress",
        get: function get() {
          return this.isLongPressing;
        }
      }, {
        key: "onMouseDown",
        value: function onMouseDown(event) {
          var _this100 = this;

          // don't do right/middle clicks
          if (event.which !== 1 || !this.pressEnabled) return; // don't start drag if its on resize handle

          var target = event.target;
          if (target.classList.contains('resize-handle')) return;
          this.mouseX = event.clientX;
          this.mouseY = event.clientY;
          this.pressing = true;
          this.isLongPressing = false;
          var mouseup = Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["fromEvent"])(document, 'mouseup');
          this.subscription = mouseup.subscribe(function (ev) {
            return _this100.onMouseup();
          });
          this.timeout = setTimeout(function () {
            _this100.isLongPressing = true;

            _this100.longPressStart.emit({
              event: event,
              model: _this100.pressModel
            });

            _this100.subscription.add(Object(rxjs__WEBPACK_IMPORTED_MODULE_2__["fromEvent"])(document, 'mousemove').pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_3__["takeUntil"])(mouseup)).subscribe(function (mouseEvent) {
              return _this100.onMouseMove(mouseEvent);
            }));

            _this100.loop(event);
          }, this.duration);
          this.loop(event);
        }
      }, {
        key: "onMouseMove",
        value: function onMouseMove(event) {
          if (this.pressing && !this.isLongPressing) {
            var xThres = Math.abs(event.clientX - this.mouseX) > 10;
            var yThres = Math.abs(event.clientY - this.mouseY) > 10;

            if (xThres || yThres) {
              this.endPress();
            }
          }
        }
      }, {
        key: "loop",
        value: function loop(event) {
          var _this101 = this;

          if (this.isLongPressing) {
            this.timeout = setTimeout(function () {
              _this101.longPressing.emit({
                event: event,
                model: _this101.pressModel
              });

              _this101.loop(event);
            }, 50);
          }
        }
      }, {
        key: "endPress",
        value: function endPress() {
          clearTimeout(this.timeout);
          this.isLongPressing = false;
          this.pressing = false;

          this._destroySubscription();

          this.longPressEnd.emit({
            model: this.pressModel
          });
        }
      }, {
        key: "onMouseup",
        value: function onMouseup() {
          this.endPress();
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this._destroySubscription();
        }
      }, {
        key: "_destroySubscription",
        value: function _destroySubscription() {
          if (this.subscription) {
            this.subscription.unsubscribe();
            this.subscription = undefined;
          }
        }
      }]);

      return LongPressDirective;
    }();

    LongPressDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[long-press]'
      }]
    }];
    LongPressDirective.propDecorators = {
      pressEnabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pressModel: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      duration: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      longPressStart: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      longPressing: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      longPressEnd: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      press: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.press']
      }],
      isLongPress: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.longpress']
      }],
      onMouseDown: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mousedown', ['$event']]
      }]
    };

    var ScrollerComponent = /*#__PURE__*/function () {
      function ScrollerComponent(ngZone, element, renderer) {
        _classCallCheck(this, ScrollerComponent);

        this.ngZone = ngZone;
        this.renderer = renderer;
        this.scrollbarV = false;
        this.scrollbarH = false;
        this.scroll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.scrollYPos = 0;
        this.scrollXPos = 0;
        this.prevScrollYPos = 0;
        this.prevScrollXPos = 0;
        this._scrollEventListener = null;
        this.element = element.nativeElement;
      }

      _createClass(ScrollerComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          // manual bind so we don't always listen
          if (this.scrollbarV || this.scrollbarH) {
            var renderer = this.renderer;
            this.parentElement = renderer.parentNode(renderer.parentNode(this.element));
            this._scrollEventListener = this.onScrolled.bind(this);
            this.parentElement.addEventListener('scroll', this._scrollEventListener);
          }
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          if (this._scrollEventListener) {
            this.parentElement.removeEventListener('scroll', this._scrollEventListener);
            this._scrollEventListener = null;
          }
        }
      }, {
        key: "setOffset",
        value: function setOffset(offsetY) {
          if (this.parentElement) {
            this.parentElement.scrollTop = offsetY;
          }
        }
      }, {
        key: "onScrolled",
        value: function onScrolled(event) {
          var _this102 = this;

          var dom = event.currentTarget;
          requestAnimationFrame(function () {
            _this102.scrollYPos = dom.scrollTop;
            _this102.scrollXPos = dom.scrollLeft;

            _this102.updateOffset();
          });
        }
      }, {
        key: "updateOffset",
        value: function updateOffset() {
          var direction;

          if (this.scrollYPos < this.prevScrollYPos) {
            direction = 'down';
          } else if (this.scrollYPos > this.prevScrollYPos) {
            direction = 'up';
          }

          this.scroll.emit({
            direction: direction,
            scrollYPos: this.scrollYPos,
            scrollXPos: this.scrollXPos
          });
          this.prevScrollYPos = this.scrollYPos;
          this.prevScrollXPos = this.scrollXPos;
        }
      }]);

      return ScrollerComponent;
    }();

    ScrollerComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-scroller',
        template: " <ng-content></ng-content> ",
        host: {
          "class": 'datatable-scroll'
        },
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    ScrollerComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]
      }];
    };

    ScrollerComponent.propDecorators = {
      scrollbarV: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollbarH: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.height.px']
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.width.px']
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scroll: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var DatatableGroupHeaderTemplateDirective = /*#__PURE__*/_createClass(function DatatableGroupHeaderTemplateDirective(template) {
      _classCallCheck(this, DatatableGroupHeaderTemplateDirective);

      this.template = template;
    });

    DatatableGroupHeaderTemplateDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-datatable-group-header-template]'
      }]
    }];

    DatatableGroupHeaderTemplateDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }];
    };

    var DatatableGroupHeaderDirective = /*#__PURE__*/function () {
      function DatatableGroupHeaderDirective() {
        _classCallCheck(this, DatatableGroupHeaderDirective);

        /**
         * Row height is required when virtual scroll is enabled.
         */
        this.rowHeight = 0;
        /**
         * Track toggling of group visibility
         */

        this.toggle = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(DatatableGroupHeaderDirective, [{
        key: "template",
        get: function get() {
          return this._templateInput || this._templateQuery;
        }
        /**
         * Toggle the expansion of a group
         */

      }, {
        key: "toggleExpandGroup",
        value: function toggleExpandGroup(group) {
          this.toggle.emit({
            type: 'group',
            value: group
          });
        }
        /**
         * Expand all groups
         */

      }, {
        key: "expandAllGroups",
        value: function expandAllGroups() {
          this.toggle.emit({
            type: 'all',
            value: true
          });
        }
        /**
         * Collapse all groups
         */

      }, {
        key: "collapseAllGroups",
        value: function collapseAllGroups() {
          this.toggle.emit({
            type: 'all',
            value: false
          });
        }
      }]);

      return DatatableGroupHeaderDirective;
    }();

    DatatableGroupHeaderDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: 'ngx-datatable-group-header'
      }]
    }];
    DatatableGroupHeaderDirective.propDecorators = {
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      _templateInput: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
        args: ['template']
      }],
      _templateQuery: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DatatableGroupHeaderTemplateDirective, {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"],
          "static": true
        }]
      }],
      toggle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };
    /**
     * Always returns the empty string ''
     */

    function emptyStringGetter() {
      return '';
    }
    /**
     * Returns the appropriate getter function for this kind of prop.
     * If prop == null, returns the emptyStringGetter.
     */


    function getterForProp(prop) {
      if (prop == null) {
        return emptyStringGetter;
      }

      if (typeof prop === 'number') {
        return numericIndexGetter;
      } else {
        // deep or simple
        if (prop.indexOf('.') !== -1) {
          return deepValueGetter;
        } else {
          return shallowValueGetter;
        }
      }
    }
    /**
     * Returns the value at this numeric index.
     * @param row array of values
     * @param index numeric index
     * @returns any or '' if invalid index
     */


    function numericIndexGetter(row, index) {
      if (row == null) {
        return '';
      } // mimic behavior of deepValueGetter


      if (!row || index == null) {
        return row;
      }

      var value = row[index];

      if (value == null) {
        return '';
      }

      return value;
    }
    /**
     * Returns the value of a field.
     * (more efficient than deepValueGetter)
     * @param obj object containing the field
     * @param fieldName field name string
     */


    function shallowValueGetter(obj, fieldName) {
      if (obj == null) {
        return '';
      }

      if (!obj || !fieldName) {
        return obj;
      }

      var value = obj[fieldName];

      if (value == null) {
        return '';
      }

      return value;
    }
    /**
     * Returns a deep object given a string. zoo['animal.type']
     */


    function deepValueGetter(obj, path) {
      if (obj == null) {
        return '';
      }

      if (!obj || !path) {
        return obj;
      } // check if path matches a root-level field
      // { "a.b.c": 123 }


      var current = obj[path];

      if (current !== undefined) {
        return current;
      }

      current = obj;
      var split = path.split('.');

      if (split.length) {
        for (var _i24 = 0; _i24 < split.length; _i24++) {
          current = current[split[_i24]]; // if found undefined, return empty string

          if (current === undefined || current === null) {
            return '';
          }
        }
      }

      return current;
    }

    function optionalGetterForProp(prop) {
      return prop && function (row) {
        return getterForProp(prop)(row, prop);
      };
    }
    /**
     * This functions rearrange items by their parents
     * Also sets the level value to each of the items
     *
     * Note: Expecting each item has a property called parentId
     * Note: This algorithm will fail if a list has two or more items with same ID
     * NOTE: This algorithm will fail if there is a deadlock of relationship
     *
     * For example,
     *
     * Input
     *
     * id -> parent
     * 1  -> 0
     * 2  -> 0
     * 3  -> 1
     * 4  -> 1
     * 5  -> 2
     * 7  -> 8
     * 6  -> 3
     *
     *
     * Output
     * id -> level
     * 1      -> 0
     * --3    -> 1
     * ----6  -> 2
     * --4    -> 1
     * 2      -> 0
     * --5    -> 1
     * 7     -> 8
     *
     *
     * @param rows
     *
     */


    function groupRowsByParents(rows, from, to) {
      if (from && to) {
        var nodeById = {};
        var l = rows.length;
        var node = null;
        nodeById[0] = new TreeNode(); // that's the root node

        var uniqIDs = rows.reduce(function (arr, item) {
          var toValue = to(item);

          if (arr.indexOf(toValue) === -1) {
            arr.push(toValue);
          }

          return arr;
        }, []);

        for (var _i25 = 0; _i25 < l; _i25++) {
          // make TreeNode objects for each item
          nodeById[to(rows[_i25])] = new TreeNode(rows[_i25]);
        }

        for (var _i26 = 0; _i26 < l; _i26++) {
          // link all TreeNode objects
          node = nodeById[to(rows[_i26])];
          var parent = 0;
          var fromValue = from(node.row);

          if (!!fromValue && uniqIDs.indexOf(fromValue) > -1) {
            parent = fromValue;
          }

          node.parent = nodeById[parent];
          node.row['level'] = node.parent.row['level'] + 1;
          node.parent.children.push(node);
        }

        var resolvedRows = [];
        nodeById[0].flatten(function () {
          resolvedRows = [].concat(_toConsumableArray(resolvedRows), [this.row]);
        }, true);
        return resolvedRows;
      } else {
        return rows;
      }
    }

    var TreeNode = /*#__PURE__*/function () {
      function TreeNode() {
        var row = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;

        _classCallCheck(this, TreeNode);

        if (!row) {
          row = {
            level: -1,
            treeStatus: 'expanded'
          };
        }

        this.row = row;
        this.parent = null;
        this.children = [];
      }

      _createClass(TreeNode, [{
        key: "flatten",
        value: function flatten(f, recursive) {
          if (this.row['treeStatus'] === 'expanded') {
            for (var _i27 = 0, l = this.children.length; _i27 < l; _i27++) {
              var child = this.children[_i27];
              f.apply(child, Array.prototype.slice.call(arguments, 2));
              if (recursive) child.flatten.apply(child, arguments);
            }
          }
        }
      }]);

      return TreeNode;
    }();
    /**
     * Converts strings from something to camel case
     * http://stackoverflow.com/questions/10425287/convert-dash-separated-string-to-camelcase
     */


    function camelCase(str) {
      // Replace special characters with a space
      str = str.replace(/[^a-zA-Z0-9 ]/g, ' '); // put a space before an uppercase letter

      str = str.replace(/([a-z](?=[A-Z]))/g, '$1 '); // Lower case first character and some other stuff

      str = str.replace(/([^a-zA-Z0-9 ])|^[0-9]+/g, '').trim().toLowerCase(); // uppercase characters preceded by a space or number

      str = str.replace(/([ 0-9]+)([a-zA-Z])/g, function (a, b, c) {
        return b.trim() + c.toUpperCase();
      });
      return str;
    }
    /**
     * Converts strings from camel case to words
     * http://stackoverflow.com/questions/7225407/convert-camelcasetext-to-camel-case-text
     */


    function deCamelCase(str) {
      return str.replace(/([A-Z])/g, function (match) {
        return " ".concat(match);
      }).replace(/^./, function (match) {
        return match.toUpperCase();
      });
    }
    /**
     * Creates a unique object id.
     * http://stackoverflow.com/questions/6248666/how-to-generate-short-uid-like-ax4j9z-in-js
     */


    function id() {
      return ('0000' + (Math.random() * Math.pow(36, 4) << 0).toString(36)).slice(-4);
    }
    /**
     * Sets the column defaults
     */


    function setColumnDefaults(columns) {
      if (!columns) return; // Only one column should hold the tree view
      // Thus if multiple columns are provided with
      // isTreeColumn as true we take only the first one

      var treeColumnFound = false;

      var _iterator76 = _createForOfIteratorHelper(columns),
          _step76;

      try {
        for (_iterator76.s(); !(_step76 = _iterator76.n()).done;) {
          var column = _step76.value;

          if (!column.$$id) {
            column.$$id = id();
          } // prop can be numeric; zero is valid not a missing prop
          // translate name => prop


          if (isNullOrUndefined(column.prop) && column.name) {
            column.prop = camelCase(column.name);
          }

          if (!column.$$valueGetter) {
            column.$$valueGetter = getterForProp(column.prop);
          } // format props if no name passed


          if (!isNullOrUndefined(column.prop) && isNullOrUndefined(column.name)) {
            column.name = deCamelCase(String(column.prop));
          }

          if (isNullOrUndefined(column.prop) && isNullOrUndefined(column.name)) {
            column.name = ''; // Fixes IE and Edge displaying `null`
          }

          if (!column.hasOwnProperty('resizeable')) {
            column.resizeable = true;
          }

          if (!column.hasOwnProperty('sortable')) {
            column.sortable = true;
          }

          if (!column.hasOwnProperty('draggable')) {
            column.draggable = true;
          }

          if (!column.hasOwnProperty('canAutoResize')) {
            column.canAutoResize = true;
          }

          if (!column.hasOwnProperty('width')) {
            column.width = 150;
          }

          if (!column.hasOwnProperty('isTreeColumn')) {
            column.isTreeColumn = false;
          } else {
            if (column.isTreeColumn && !treeColumnFound) {
              // If the first column with isTreeColumn is true found
              // we mark that treeCoulmn is found
              treeColumnFound = true;
            } else {
              // After that isTreeColumn property for any other column
              // will be set as false
              column.isTreeColumn = false;
            }
          }
        }
      } catch (err) {
        _iterator76.e(err);
      } finally {
        _iterator76.f();
      }
    }

    function isNullOrUndefined(value) {
      return value === null || value === undefined;
    }
    /**
     * Translates templates definitions to objects
     */


    function translateTemplates(templates) {
      var result = [];

      var _iterator77 = _createForOfIteratorHelper(templates),
          _step77;

      try {
        for (_iterator77.s(); !(_step77 = _iterator77.n()).done;) {
          var temp = _step77.value;
          var col = {};
          var props = Object.getOwnPropertyNames(temp);

          var _iterator78 = _createForOfIteratorHelper(props),
              _step78;

          try {
            for (_iterator78.s(); !(_step78 = _iterator78.n()).done;) {
              var prop = _step78.value;
              col[prop] = temp[prop];
            }
          } catch (err) {
            _iterator78.e(err);
          } finally {
            _iterator78.f();
          }

          if (temp.headerTemplate) {
            col.headerTemplate = temp.headerTemplate;
          }

          if (temp.cellTemplate) {
            col.cellTemplate = temp.cellTemplate;
          }

          if (temp.summaryFunc) {
            col.summaryFunc = temp.summaryFunc;
          }

          if (temp.summaryTemplate) {
            col.summaryTemplate = temp.summaryTemplate;
          }

          result.push(col);
        }
      } catch (err) {
        _iterator77.e(err);
      } finally {
        _iterator77.f();
      }

      return result;
    }

    var ColumnMode;

    (function (ColumnMode) {
      ColumnMode["standard"] = "standard";
      ColumnMode["flex"] = "flex";
      ColumnMode["force"] = "force";
    })(ColumnMode || (ColumnMode = {}));

    var SelectionType;

    (function (SelectionType) {
      SelectionType["single"] = "single";
      SelectionType["multi"] = "multi";
      SelectionType["multiClick"] = "multiClick";
      SelectionType["cell"] = "cell";
      SelectionType["checkbox"] = "checkbox";
    })(SelectionType || (SelectionType = {}));

    var SortType;

    (function (SortType) {
      SortType["single"] = "single";
      SortType["multi"] = "multi";
    })(SortType || (SortType = {}));

    var ContextmenuType;

    (function (ContextmenuType) {
      ContextmenuType["header"] = "header";
      ContextmenuType["body"] = "body";
    })(ContextmenuType || (ContextmenuType = {}));

    var DataTableColumnHeaderDirective = /*#__PURE__*/_createClass(function DataTableColumnHeaderDirective(template) {
      _classCallCheck(this, DataTableColumnHeaderDirective);

      this.template = template;
    });

    DataTableColumnHeaderDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-datatable-header-template]'
      }]
    }];

    DataTableColumnHeaderDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }];
    };

    var DataTableColumnCellDirective = /*#__PURE__*/_createClass(function DataTableColumnCellDirective(template) {
      _classCallCheck(this, DataTableColumnCellDirective);

      this.template = template;
    });

    DataTableColumnCellDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-datatable-cell-template]'
      }]
    }];

    DataTableColumnCellDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }];
    };

    var DataTableColumnCellTreeToggle = /*#__PURE__*/_createClass(function DataTableColumnCellTreeToggle(template) {
      _classCallCheck(this, DataTableColumnCellTreeToggle);

      this.template = template;
    });

    DataTableColumnCellTreeToggle.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-datatable-tree-toggle]'
      }]
    }];

    DataTableColumnCellTreeToggle.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }];
    };

    var DataTableColumnDirective = /*#__PURE__*/function () {
      function DataTableColumnDirective(columnChangesService) {
        _classCallCheck(this, DataTableColumnDirective);

        this.columnChangesService = columnChangesService;
        this.isFirstChange = true;
      }

      _createClass(DataTableColumnDirective, [{
        key: "cellTemplate",
        get: function get() {
          return this._cellTemplateInput || this._cellTemplateQuery;
        }
      }, {
        key: "headerTemplate",
        get: function get() {
          return this._headerTemplateInput || this._headerTemplateQuery;
        }
      }, {
        key: "treeToggleTemplate",
        get: function get() {
          return this._treeToggleTemplateInput || this._treeToggleTemplateQuery;
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges() {
          if (this.isFirstChange) {
            this.isFirstChange = false;
          } else {
            this.columnChangesService.onInputChange();
          }
        }
      }]);

      return DataTableColumnDirective;
    }();

    DataTableColumnDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: 'ngx-datatable-column'
      }]
    }];

    DataTableColumnDirective.ctorParameters = function () {
      return [{
        type: ColumnChangesService
      }];
    };

    DataTableColumnDirective.propDecorators = {
      name: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      prop: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      frozenLeft: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      frozenRight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      flexGrow: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      resizeable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      comparator: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pipe: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      draggable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      canAutoResize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      minWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      maxWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      checkboxable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      headerCheckboxable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      headerClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cellClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isTreeColumn: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      treeLevelIndent: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryFunc: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      _cellTemplateInput: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
        args: ['cellTemplate']
      }],
      _cellTemplateQuery: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DataTableColumnCellDirective, {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"],
          "static": true
        }]
      }],
      _headerTemplateInput: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
        args: ['headerTemplate']
      }],
      _headerTemplateQuery: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DataTableColumnHeaderDirective, {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"],
          "static": true
        }]
      }],
      _treeToggleTemplateInput: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
        args: ['treeToggleTemplate']
      }],
      _treeToggleTemplateQuery: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DataTableColumnCellTreeToggle, {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"],
          "static": true
        }]
      }]
    };

    var DatatableRowDetailTemplateDirective = /*#__PURE__*/_createClass(function DatatableRowDetailTemplateDirective(template) {
      _classCallCheck(this, DatatableRowDetailTemplateDirective);

      this.template = template;
    });

    DatatableRowDetailTemplateDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: '[ngx-datatable-row-detail-template]'
      }]
    }];

    DatatableRowDetailTemplateDirective.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
      }];
    };

    var DatatableRowDetailDirective = /*#__PURE__*/function () {
      function DatatableRowDetailDirective() {
        _classCallCheck(this, DatatableRowDetailDirective);

        /**
         * The detail row height is required especially
         * when virtual scroll is enabled.
         */
        this.rowHeight = 0;
        /**
         * Row detail row visbility was toggled.
         */

        this.toggle = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(DatatableRowDetailDirective, [{
        key: "template",
        get: function get() {
          return this._templateInput || this._templateQuery;
        }
        /**
         * Toggle the expansion of the row
         */

      }, {
        key: "toggleExpandRow",
        value: function toggleExpandRow(row) {
          this.toggle.emit({
            type: 'row',
            value: row
          });
        }
        /**
         * API method to expand all the rows.
         */

      }, {
        key: "expandAllRows",
        value: function expandAllRows() {
          this.toggle.emit({
            type: 'all',
            value: true
          });
        }
        /**
         * API method to collapse all the rows.
         */

      }, {
        key: "collapseAllRows",
        value: function collapseAllRows() {
          this.toggle.emit({
            type: 'all',
            value: false
          });
        }
      }]);

      return DatatableRowDetailDirective;
    }();

    DatatableRowDetailDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: 'ngx-datatable-row-detail'
      }]
    }];
    DatatableRowDetailDirective.propDecorators = {
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      _templateInput: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
        args: ['template']
      }],
      _templateQuery: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DatatableRowDetailTemplateDirective, {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"],
          "static": true
        }]
      }],
      toggle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var DatatableFooterDirective = /*#__PURE__*/function () {
      function DatatableFooterDirective() {
        _classCallCheck(this, DatatableFooterDirective);
      }

      _createClass(DatatableFooterDirective, [{
        key: "template",
        get: function get() {
          return this._templateInput || this._templateQuery;
        }
      }]);

      return DatatableFooterDirective;
    }();

    DatatableFooterDirective.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Directive"],
      args: [{
        selector: 'ngx-datatable-footer'
      }]
    }];
    DatatableFooterDirective.propDecorators = {
      footerHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      totalMessage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectedMessage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerLeftArrowIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerRightArrowIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerPreviousIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerNextIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      _templateInput: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"],
        args: ['template']
      }],
      _templateQuery: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DataTableFooterTemplateDirective, {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]
        }]
      }]
    };
    /**
     * Returns the columns by pin.
     */

    function columnsByPin(cols) {
      var ret = {
        left: [],
        center: [],
        right: []
      };

      if (cols) {
        var _iterator79 = _createForOfIteratorHelper(cols),
            _step79;

        try {
          for (_iterator79.s(); !(_step79 = _iterator79.n()).done;) {
            var col = _step79.value;

            if (col.frozenLeft) {
              ret.left.push(col);
            } else if (col.frozenRight) {
              ret.right.push(col);
            } else {
              ret.center.push(col);
            }
          }
        } catch (err) {
          _iterator79.e(err);
        } finally {
          _iterator79.f();
        }
      }

      return ret;
    }
    /**
     * Returns the widths of all group sets of a column
     */


    function columnGroupWidths(groups, all) {
      return {
        left: columnTotalWidth(groups.left),
        center: columnTotalWidth(groups.center),
        right: columnTotalWidth(groups.right),
        total: Math.floor(columnTotalWidth(all))
      };
    }
    /**
     * Calculates the total width of all columns and their groups
     */


    function columnTotalWidth(columns, prop) {
      var totalWidth = 0;

      if (columns) {
        var _iterator80 = _createForOfIteratorHelper(columns),
            _step80;

        try {
          for (_iterator80.s(); !(_step80 = _iterator80.n()).done;) {
            var c = _step80.value;
            var has = prop && c[prop];
            var width = has ? c[prop] : c.width;
            totalWidth = totalWidth + parseFloat(width);
          }
        } catch (err) {
          _iterator80.e(err);
        } finally {
          _iterator80.f();
        }
      }

      return totalWidth;
    }
    /**
     * Calculates the total width of all columns and their groups
     */


    function columnsTotalWidth(columns, prop) {
      var totalWidth = 0;

      var _iterator81 = _createForOfIteratorHelper(columns),
          _step81;

      try {
        for (_iterator81.s(); !(_step81 = _iterator81.n()).done;) {
          var column = _step81.value;
          var has = prop && column[prop];
          totalWidth = totalWidth + (has ? column[prop] : column.width);
        }
      } catch (err) {
        _iterator81.e(err);
      } finally {
        _iterator81.f();
      }

      return totalWidth;
    }

    function columnsByPinArr(val) {
      var colsByPinArr = [];
      var colsByPin = columnsByPin(val);
      colsByPinArr.push({
        type: 'left',
        columns: colsByPin['left']
      });
      colsByPinArr.push({
        type: 'center',
        columns: colsByPin['center']
      });
      colsByPinArr.push({
        type: 'right',
        columns: colsByPin['right']
      });
      return colsByPinArr;
    }
    /**
     * This object contains the cache of the various row heights that are present inside
     * the data table.   Its based on Fenwick tree data structure that helps with
     * querying sums that have time complexity of log n.
     *
     * Fenwick Tree Credits: http://petr-mitrichev.blogspot.com/2013/05/fenwick-tree-range-updates.html
     * https://github.com/mikolalysenko/fenwick-tree
     *
     */


    var RowHeightCache = /*#__PURE__*/function () {
      function RowHeightCache() {
        _classCallCheck(this, RowHeightCache);

        /**
         * Tree Array stores the cumulative information of the row heights to perform efficient
         * range queries and updates.  Currently the tree is initialized to the base row
         * height instead of the detail row height.
         */
        this.treeArray = [];
      }
      /**
       * Clear the Tree array.
       */


      _createClass(RowHeightCache, [{
        key: "clearCache",
        value: function clearCache() {
          this.treeArray = [];
        }
        /**
         * Initialize the Fenwick tree with row Heights.
         *
         * @param rows The array of rows which contain the expanded status.
         * @param rowHeight The row height.
         * @param detailRowHeight The detail row height.
         */

      }, {
        key: "initCache",
        value: function initCache(details) {
          var rows = details.rows,
              rowHeight = details.rowHeight,
              detailRowHeight = details.detailRowHeight,
              externalVirtual = details.externalVirtual,
              rowCount = details.rowCount,
              rowIndexes = details.rowIndexes,
              rowExpansions = details.rowExpansions;
          var isFn = typeof rowHeight === 'function';
          var isDetailFn = typeof detailRowHeight === 'function';

          if (!isFn && isNaN(rowHeight)) {
            throw new Error("Row Height cache initialization failed. Please ensure that 'rowHeight' is a\n        valid number or function value: (".concat(rowHeight, ") when 'scrollbarV' is enabled."));
          } // Add this additional guard in case detailRowHeight is set to 'auto' as it wont work.


          if (!isDetailFn && isNaN(detailRowHeight)) {
            throw new Error("Row Height cache initialization failed. Please ensure that 'detailRowHeight' is a\n        valid number or function value: (".concat(detailRowHeight, ") when 'scrollbarV' is enabled."));
          }

          var n = externalVirtual ? rowCount : rows.length;
          this.treeArray = new Array(n);

          for (var _i28 = 0; _i28 < n; ++_i28) {
            this.treeArray[_i28] = 0;
          }

          for (var _i29 = 0; _i29 < n; ++_i29) {
            var row = rows[_i29];
            var currentRowHeight = rowHeight;

            if (isFn) {
              currentRowHeight = rowHeight(row);
            } // Add the detail row height to the already expanded rows.
            // This is useful for the table that goes through a filter or sort.


            var expanded = rowExpansions.has(row);

            if (row && expanded) {
              if (isDetailFn) {
                var index = rowIndexes.get(row);
                currentRowHeight += detailRowHeight(row, index);
              } else {
                currentRowHeight += detailRowHeight;
              }
            }

            this.update(_i29, currentRowHeight);
          }
        }
        /**
         * Given the ScrollY position i.e. sum, provide the rowIndex
         * that is present in the current view port.  Below handles edge cases.
         */

      }, {
        key: "getRowIndex",
        value: function getRowIndex(scrollY) {
          if (scrollY === 0) return 0;
          return this.calcRowIndex(scrollY);
        }
        /**
         * When a row is expanded or rowHeight is changed, update the height.  This can
         * be utilized in future when Angular Data table supports dynamic row heights.
         */

      }, {
        key: "update",
        value: function update(atRowIndex, byRowHeight) {
          if (!this.treeArray.length) {
            throw new Error("Update at index ".concat(atRowIndex, " with value ").concat(byRowHeight, " failed:\n        Row Height cache not initialized."));
          }

          var n = this.treeArray.length;
          atRowIndex |= 0;

          while (atRowIndex < n) {
            this.treeArray[atRowIndex] += byRowHeight;
            atRowIndex |= atRowIndex + 1;
          }
        }
        /**
         * Range Sum query from 1 to the rowIndex
         */

      }, {
        key: "query",
        value: function query(atIndex) {
          if (!this.treeArray.length) {
            throw new Error("query at index ".concat(atIndex, " failed: Fenwick tree array not initialized."));
          }

          var sum = 0;
          atIndex |= 0;

          while (atIndex >= 0) {
            sum += this.treeArray[atIndex];
            atIndex = (atIndex & atIndex + 1) - 1;
          }

          return sum;
        }
        /**
         * Find the total height between 2 row indexes
         */

      }, {
        key: "queryBetween",
        value: function queryBetween(atIndexA, atIndexB) {
          return this.query(atIndexB) - this.query(atIndexA - 1);
        }
        /**
         * Given the ScrollY position i.e. sum, provide the rowIndex
         * that is present in the current view port.
         */

      }, {
        key: "calcRowIndex",
        value: function calcRowIndex(sum) {
          if (!this.treeArray.length) return 0;
          var pos = -1;
          var dataLength = this.treeArray.length; // Get the highest bit for the block size.

          var highestBit = Math.pow(2, dataLength.toString(2).length - 1);

          for (var blockSize = highestBit; blockSize !== 0; blockSize >>= 1) {
            var nextPos = pos + blockSize;

            if (nextPos < dataLength && sum >= this.treeArray[nextPos]) {
              sum -= this.treeArray[nextPos];
              pos = nextPos;
            }
          }

          return pos + 1;
        }
      }]);

      return RowHeightCache;
    }();

    var cache = {};
    var testStyle = typeof document !== 'undefined' ? document.createElement('div').style : undefined;

    var ɵ0 = function ɵ0() {
      var styles = typeof window !== 'undefined' ? window.getComputedStyle(document.documentElement, '') : undefined;
      var match = typeof styles !== 'undefined' ? Array.prototype.slice.call(styles).join('').match(/-(moz|webkit|ms)-/) : null;
      var pre = match !== null ? match[1] : undefined; // tslint:disable-next-line: tsr-detect-non-literal-regexp

      var dom = typeof pre !== 'undefined' ? 'WebKit|Moz|MS|O'.match(new RegExp('(' + pre + ')', 'i'))[1] : undefined;
      return dom ? {
        dom: dom,
        lowercase: pre,
        css: "-".concat(pre, "-"),
        js: pre[0].toUpperCase() + pre.substr(1)
      } : undefined;
    }; // Get Prefix
    // http://davidwalsh.name/vendor-prefix


    var prefix = ɵ0();

    function getVendorPrefixedName(property) {
      var name = camelCase(property);

      if (!cache[name]) {
        if (prefix !== undefined && testStyle[prefix.css + property] !== undefined) {
          cache[name] = prefix.css + property;
        } else if (testStyle[property] !== undefined) {
          cache[name] = property;
        }
      }

      return cache[name];
    } // browser detection and prefixing tools


    var transform = typeof window !== 'undefined' ? getVendorPrefixedName('transform') : undefined;
    var backfaceVisibility = typeof window !== 'undefined' ? getVendorPrefixedName('backfaceVisibility') : undefined;
    var hasCSSTransforms = typeof window !== 'undefined' ? !!getVendorPrefixedName('transform') : undefined;
    var hasCSS3DTransforms = typeof window !== 'undefined' ? !!getVendorPrefixedName('perspective') : undefined;
    var ua = typeof window !== 'undefined' ? window.navigator.userAgent : 'Chrome';
    var isSafari = /Safari\//.test(ua) && !/Chrome\//.test(ua);

    function translateXY(styles, x, y) {
      if (typeof transform !== 'undefined' && hasCSSTransforms) {
        if (!isSafari && hasCSS3DTransforms) {
          styles[transform] = "translate3d(".concat(x, "px, ").concat(y, "px, 0)");
          styles[backfaceVisibility] = 'hidden';
        } else {
          styles[camelCase(transform)] = "translate(".concat(x, "px, ").concat(y, "px)");
        }
      } else {
        styles.top = "".concat(y, "px");
        styles.left = "".concat(x, "px");
      }
    }

    var DataTableBodyComponent = /*#__PURE__*/function () {
      /**
       * Creates an instance of DataTableBodyComponent.
       */
      function DataTableBodyComponent(cd) {
        var _this103 = this;

        _classCallCheck(this, DataTableBodyComponent);

        this.cd = cd;
        this.selected = [];
        this.scroll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.page = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.detailToggle = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.rowContextmenu = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](false);
        this.treeAction = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.rowHeightsCache = new RowHeightCache();
        this.temp = [];
        this.offsetY = 0;
        this.indexes = {};
        this.rowIndexes = new WeakMap();
        this.rowExpansions = [];
        /**
         * Get the height of the detail row.
         */

        this.getDetailRowHeight = function (row, index) {
          if (!_this103.rowDetail) {
            return 0;
          }

          var rowHeight = _this103.rowDetail.rowHeight;
          return typeof rowHeight === 'function' ? rowHeight(row, index) : rowHeight;
        }; // declare fn here so we can get access to the `this` property


        this.rowTrackingFn = function (index, row) {
          var idx = _this103.getRowIndex(row);

          if (_this103.trackByProp) {
            return row[_this103.trackByProp];
          } else {
            return idx;
          }
        };
      }

      _createClass(DataTableBodyComponent, [{
        key: "pageSize",
        get: function get() {
          return this._pageSize;
        },
        set: function set(val) {
          this._pageSize = val;
          this.recalcLayout();
        }
      }, {
        key: "rows",
        get: function get() {
          return this._rows;
        },
        set: function set(val) {
          this._rows = val;
          this.recalcLayout();
        }
      }, {
        key: "columns",
        get: function get() {
          return this._columns;
        },
        set: function set(val) {
          this._columns = val;
          var colsByPin = columnsByPin(val);
          this.columnGroupWidths = columnGroupWidths(colsByPin, val);
        }
      }, {
        key: "offset",
        get: function get() {
          return this._offset;
        },
        set: function set(val) {
          this._offset = val;
          if (!this.scrollbarV || this.scrollbarV && !this.virtualization) this.recalcLayout();
        }
      }, {
        key: "rowCount",
        get: function get() {
          return this._rowCount;
        },
        set: function set(val) {
          this._rowCount = val;
          this.recalcLayout();
        }
      }, {
        key: "bodyWidth",
        get: function get() {
          if (this.scrollbarH) {
            return this.innerWidth + 'px';
          } else {
            return '100%';
          }
        }
      }, {
        key: "bodyHeight",
        get: function get() {
          return this._bodyHeight;
        }
        /**
         * Returns if selection is enabled.
         */
        ,
        set: function set(val) {
          if (this.scrollbarV) {
            this._bodyHeight = val + 'px';
          } else {
            this._bodyHeight = 'auto';
          }

          this.recalcLayout();
        }
      }, {
        key: "selectEnabled",
        get: function get() {
          return !!this.selectionType;
        }
        /**
         * Property that would calculate the height of scroll bar
         * based on the row heights cache for virtual scroll and virtualization. Other scenarios
         * calculate scroll height automatically (as height will be undefined).
         */

      }, {
        key: "scrollHeight",
        get: function get() {
          if (this.scrollbarV && this.virtualization && this.rowCount) {
            return this.rowHeightsCache.query(this.rowCount - 1);
          } // avoid TS7030: Not all code paths return a value.


          return undefined;
        }
        /**
         * Called after the constructor, initializing input properties
         */

      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this104 = this;

          if (this.rowDetail) {
            this.listener = this.rowDetail.toggle.subscribe(function (_ref49) {
              var type = _ref49.type,
                  value = _ref49.value;

              if (type === 'row') {
                _this104.toggleRowExpansion(value);
              }

              if (type === 'all') {
                _this104.toggleAllRows(value);
              } // Refresh rows after toggle
              // Fixes #883


              _this104.updateIndexes();

              _this104.updateRows();

              _this104.cd.markForCheck();
            });
          }

          if (this.groupHeader) {
            this.listener = this.groupHeader.toggle.subscribe(function (_ref50) {
              var type = _ref50.type,
                  value = _ref50.value;

              if (type === 'group') {
                _this104.toggleRowExpansion(value);
              }

              if (type === 'all') {
                _this104.toggleAllRows(value);
              } // Refresh rows after toggle
              // Fixes #883


              _this104.updateIndexes();

              _this104.updateRows();

              _this104.cd.markForCheck();
            });
          }
        }
        /**
         * Called once, before the instance is destroyed.
         */

      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          if (this.rowDetail || this.groupHeader) {
            this.listener.unsubscribe();
          }
        }
        /**
         * Updates the Y offset given a new offset.
         */

      }, {
        key: "updateOffsetY",
        value: function updateOffsetY(offset) {
          // scroller is missing on empty table
          if (!this.scroller) {
            return;
          }

          if (this.scrollbarV && this.virtualization && offset) {
            // First get the row Index that we need to move to.
            var rowIndex = this.pageSize * offset;
            offset = this.rowHeightsCache.query(rowIndex - 1);
          } else if (this.scrollbarV && !this.virtualization) {
            offset = 0;
          }

          this.scroller.setOffset(offset || 0);
        }
        /**
         * Body was scrolled, this is mainly useful for
         * when a user is server-side pagination via virtual scroll.
         */

      }, {
        key: "onBodyScroll",
        value: function onBodyScroll(event) {
          var scrollYPos = event.scrollYPos;
          var scrollXPos = event.scrollXPos; // if scroll change, trigger update
          // this is mainly used for header cell positions

          if (this.offsetY !== scrollYPos || this.offsetX !== scrollXPos) {
            this.scroll.emit({
              offsetY: scrollYPos,
              offsetX: scrollXPos
            });
          }

          this.offsetY = scrollYPos;
          this.offsetX = scrollXPos;
          this.updateIndexes();
          this.updatePage(event.direction);
          this.updateRows();
        }
        /**
         * Updates the page given a direction.
         */

      }, {
        key: "updatePage",
        value: function updatePage(direction) {
          var offset = this.indexes.first / this.pageSize;

          if (direction === 'up') {
            offset = Math.ceil(offset);
          } else if (direction === 'down') {
            offset = Math.floor(offset);
          }

          if (direction !== undefined && !isNaN(offset)) {
            this.page.emit({
              offset: offset
            });
          }
        }
        /**
         * Updates the rows in the view port
         */

      }, {
        key: "updateRows",
        value: function updateRows() {
          var _this105 = this;

          var _this$indexes = this.indexes,
              first = _this$indexes.first,
              last = _this$indexes.last;
          var rowIndex = first;
          var idx = 0;
          var temp = []; // if grouprowsby has been specified treat row paging
          // parameters as group paging parameters ie if limit 10 has been
          // specified treat it as 10 groups rather than 10 rows

          if (this.groupedRows) {
            var maxRowsPerGroup = 3; // if there is only one group set the maximum number of
            // rows per group the same as the total number of rows

            if (this.groupedRows.length === 1) {
              maxRowsPerGroup = this.groupedRows[0].value.length;
            }

            while (rowIndex < last && rowIndex < this.groupedRows.length) {
              // Add the groups into this page
              var group = this.groupedRows[rowIndex];
              this.rowIndexes.set(group, rowIndex);

              if (group.value) {
                // add indexes for each group item
                group.value.forEach(function (g, i) {
                  var _idx = "".concat(rowIndex, "-").concat(i);

                  _this105.rowIndexes.set(g, _idx);
                });
              }

              temp[idx] = group;
              idx++; // Group index in this context

              rowIndex++;
            }
          } else {
            while (rowIndex < last && rowIndex < this.rowCount) {
              var row = this.rows[rowIndex];

              if (row) {
                // add indexes for each row
                this.rowIndexes.set(row, rowIndex);
                temp[idx] = row;
              }

              idx++;
              rowIndex++;
            }
          }

          this.temp = temp;
        }
        /**
         * Get the row height
         */

      }, {
        key: "getRowHeight",
        value: function getRowHeight(row) {
          // if its a function return it
          if (typeof this.rowHeight === 'function') {
            return this.rowHeight(row);
          }

          return this.rowHeight;
        }
        /**
         * @param group the group with all rows
         */

      }, {
        key: "getGroupHeight",
        value: function getGroupHeight(group) {
          var rowHeight = 0;

          if (group.value) {
            for (var index = 0; index < group.value.length; index++) {
              rowHeight += this.getRowAndDetailHeight(group.value[index]);
            }
          }

          return rowHeight;
        }
        /**
         * Calculate row height based on the expanded state of the row.
         */

      }, {
        key: "getRowAndDetailHeight",
        value: function getRowAndDetailHeight(row) {
          var rowHeight = this.getRowHeight(row);
          var expanded = this.getRowExpanded(row); // Adding detail row height if its expanded.

          if (expanded) {
            rowHeight += this.getDetailRowHeight(row);
          }

          return rowHeight;
        }
        /**
         * Calculates the styles for the row so that the rows can be moved in 2D space
         * during virtual scroll inside the DOM.   In the below case the Y position is
         * manipulated.   As an example, if the height of row 0 is 30 px and row 1 is
         * 100 px then following styles are generated:
         *
         * transform: translate3d(0px, 0px, 0px);    ->  row0
         * transform: translate3d(0px, 30px, 0px);   ->  row1
         * transform: translate3d(0px, 130px, 0px);  ->  row2
         *
         * Row heights have to be calculated based on the row heights cache as we wont
         * be able to determine which row is of what height before hand.  In the above
         * case the positionY of the translate3d for row2 would be the sum of all the
         * heights of the rows before it (i.e. row0 and row1).
         *
         * @param rows the row that needs to be placed in the 2D space.
         * @returns the CSS3 style to be applied
         *
         * @memberOf DataTableBodyComponent
         */

      }, {
        key: "getRowsStyles",
        value: function getRowsStyles(rows) {
          var styles = {}; // only add styles for the group if there is a group

          if (this.groupedRows) {
            styles.width = this.columnGroupWidths.total;
          }

          if (this.scrollbarV && this.virtualization) {
            var idx = 0;

            if (this.groupedRows) {
              // Get the latest row rowindex in a group
              var row = rows[rows.length - 1];
              idx = row ? this.getRowIndex(row) : 0;
            } else {
              idx = this.getRowIndex(rows);
            } // const pos = idx * rowHeight;
            // The position of this row would be the sum of all row heights
            // until the previous row position.


            var pos = this.rowHeightsCache.query(idx - 1);
            translateXY(styles, 0, pos);
          }

          return styles;
        }
        /**
         * Calculate bottom summary row offset for scrollbar mode.
         * For more information about cache and offset calculation
         * see description for `getRowsStyles` method
         *
         * @returns the CSS3 style to be applied
         *
         * @memberOf DataTableBodyComponent
         */

      }, {
        key: "getBottomSummaryRowStyles",
        value: function getBottomSummaryRowStyles() {
          if (!this.scrollbarV || !this.rows || !this.rows.length) {
            return null;
          }

          var styles = {
            position: 'absolute'
          };
          var pos = this.rowHeightsCache.query(this.rows.length - 1);
          translateXY(styles, 0, pos);
          return styles;
        }
        /**
         * Hides the loading indicator
         */

      }, {
        key: "hideIndicator",
        value: function hideIndicator() {
          var _this106 = this;

          setTimeout(function () {
            return _this106.loadingIndicator = false;
          }, 500);
        }
        /**
         * Updates the index of the rows in the viewport
         */

      }, {
        key: "updateIndexes",
        value: function updateIndexes() {
          var first = 0;
          var last = 0;

          if (this.scrollbarV) {
            if (this.virtualization) {
              // Calculation of the first and last indexes will be based on where the
              // scrollY position would be at.  The last index would be the one
              // that shows up inside the view port the last.
              var height = parseInt(this.bodyHeight, 0);
              first = this.rowHeightsCache.getRowIndex(this.offsetY);
              last = this.rowHeightsCache.getRowIndex(height + this.offsetY) + 1;
            } else {
              // If virtual rows are not needed
              // We render all in one go
              first = 0;
              last = this.rowCount;
            }
          } else {
            // The server is handling paging and will pass an array that begins with the
            // element at a specified offset.  first should always be 0 with external paging.
            if (!this.externalPaging) {
              first = Math.max(this.offset * this.pageSize, 0);
            }

            last = Math.min(first + this.pageSize, this.rowCount);
          }

          this.indexes = {
            first: first,
            last: last
          };
        }
        /**
         * Refreshes the full Row Height cache.  Should be used
         * when the entire row array state has changed.
         */

      }, {
        key: "refreshRowHeightCache",
        value: function refreshRowHeightCache() {
          if (!this.scrollbarV || this.scrollbarV && !this.virtualization) {
            return;
          } // clear the previous row height cache if already present.
          // this is useful during sorts, filters where the state of the
          // rows array is changed.


          this.rowHeightsCache.clearCache(); // Initialize the tree only if there are rows inside the tree.

          if (this.rows && this.rows.length) {
            var rowExpansions = new Set();

            var _iterator82 = _createForOfIteratorHelper(this.rows),
                _step82;

            try {
              for (_iterator82.s(); !(_step82 = _iterator82.n()).done;) {
                var row = _step82.value;

                if (this.getRowExpanded(row)) {
                  rowExpansions.add(row);
                }
              }
            } catch (err) {
              _iterator82.e(err);
            } finally {
              _iterator82.f();
            }

            this.rowHeightsCache.initCache({
              rows: this.rows,
              rowHeight: this.rowHeight,
              detailRowHeight: this.getDetailRowHeight,
              externalVirtual: this.scrollbarV && this.externalPaging,
              rowCount: this.rowCount,
              rowIndexes: this.rowIndexes,
              rowExpansions: rowExpansions
            });
          }
        }
        /**
         * Gets the index for the view port
         */

      }, {
        key: "getAdjustedViewPortIndex",
        value: function getAdjustedViewPortIndex() {
          // Capture the row index of the first row that is visible on the viewport.
          // If the scroll bar is just below the row which is highlighted then make that as the
          // first index.
          var viewPortFirstRowIndex = this.indexes.first;

          if (this.scrollbarV && this.virtualization) {
            var offsetScroll = this.rowHeightsCache.query(viewPortFirstRowIndex - 1);
            return offsetScroll <= this.offsetY ? viewPortFirstRowIndex - 1 : viewPortFirstRowIndex;
          }

          return viewPortFirstRowIndex;
        }
        /**
         * Toggle the Expansion of the row i.e. if the row is expanded then it will
         * collapse and vice versa.   Note that the expanded status is stored as
         * a part of the row object itself as we have to preserve the expanded row
         * status in case of sorting and filtering of the row set.
         */

      }, {
        key: "toggleRowExpansion",
        value: function toggleRowExpansion(row) {
          // Capture the row index of the first row that is visible on the viewport.
          var viewPortFirstRowIndex = this.getAdjustedViewPortIndex();
          var rowExpandedIdx = this.getRowExpandedIdx(row, this.rowExpansions);
          var expanded = rowExpandedIdx > -1; // If the detailRowHeight is auto --> only in case of non-virtualized scroll

          if (this.scrollbarV && this.virtualization) {
            var detailRowHeight = this.getDetailRowHeight(row) * (expanded ? -1 : 1); // const idx = this.rowIndexes.get(row) || 0;

            var idx = this.getRowIndex(row);
            this.rowHeightsCache.update(idx, detailRowHeight);
          } // Update the toggled row and update thive nevere heights in the cache.


          if (expanded) {
            this.rowExpansions.splice(rowExpandedIdx, 1);
          } else {
            this.rowExpansions.push(row);
          }

          this.detailToggle.emit({
            rows: [row],
            currentIndex: viewPortFirstRowIndex
          });
        }
        /**
         * Expand/Collapse all the rows no matter what their state is.
         */

      }, {
        key: "toggleAllRows",
        value: function toggleAllRows(expanded) {
          // clear prev expansions
          this.rowExpansions = []; // Capture the row index of the first row that is visible on the viewport.

          var viewPortFirstRowIndex = this.getAdjustedViewPortIndex();

          if (expanded) {
            var _iterator83 = _createForOfIteratorHelper(this.rows),
                _step83;

            try {
              for (_iterator83.s(); !(_step83 = _iterator83.n()).done;) {
                var row = _step83.value;
                this.rowExpansions.push(row);
              }
            } catch (err) {
              _iterator83.e(err);
            } finally {
              _iterator83.f();
            }
          }

          if (this.scrollbarV) {
            // Refresh the full row heights cache since every row was affected.
            this.recalcLayout();
          } // Emit all rows that have been expanded.


          this.detailToggle.emit({
            rows: this.rows,
            currentIndex: viewPortFirstRowIndex
          });
        }
        /**
         * Recalculates the table
         */

      }, {
        key: "recalcLayout",
        value: function recalcLayout() {
          this.refreshRowHeightCache();
          this.updateIndexes();
          this.updateRows();
        }
        /**
         * Tracks the column
         */

      }, {
        key: "columnTrackingFn",
        value: function columnTrackingFn(index, column) {
          return column.$$id;
        }
        /**
         * Gets the row pinning group styles
         */

      }, {
        key: "stylesByGroup",
        value: function stylesByGroup(group) {
          var widths = this.columnGroupWidths;
          var offsetX = this.offsetX;
          var styles = {
            width: "".concat(widths[group], "px")
          };

          if (group === 'left') {
            translateXY(styles, offsetX, 0);
          } else if (group === 'right') {
            var bodyWidth = parseInt(this.innerWidth + '', 0);
            var totalDiff = widths.total - bodyWidth;
            var offsetDiff = totalDiff - offsetX;
            var offset = offsetDiff * -1;
            translateXY(styles, offset, 0);
          }

          return styles;
        }
        /**
         * Returns if the row was expanded and set default row expansion when row expansion is empty
         */

      }, {
        key: "getRowExpanded",
        value: function getRowExpanded(row) {
          if (this.rowExpansions.length === 0 && this.groupExpansionDefault) {
            var _iterator84 = _createForOfIteratorHelper(this.groupedRows),
                _step84;

            try {
              for (_iterator84.s(); !(_step84 = _iterator84.n()).done;) {
                var group = _step84.value;
                this.rowExpansions.push(group);
              }
            } catch (err) {
              _iterator84.e(err);
            } finally {
              _iterator84.f();
            }
          }

          return this.getRowExpandedIdx(row, this.rowExpansions) > -1;
        }
      }, {
        key: "getRowExpandedIdx",
        value: function getRowExpandedIdx(row, expanded) {
          var _this107 = this;

          if (!expanded || !expanded.length) return -1;
          var rowId = this.rowIdentity(row);
          return expanded.findIndex(function (r) {
            var id = _this107.rowIdentity(r);

            return id === rowId;
          });
        }
        /**
         * Gets the row index given a row
         */

      }, {
        key: "getRowIndex",
        value: function getRowIndex(row) {
          return this.rowIndexes.get(row) || 0;
        }
      }, {
        key: "onTreeAction",
        value: function onTreeAction(row) {
          this.treeAction.emit({
            row: row
          });
        }
      }]);

      return DataTableBodyComponent;
    }();

    DataTableBodyComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-body',
        template: "\n    <datatable-progress *ngIf=\"loadingIndicator\"> </datatable-progress>\n    <datatable-selection\n      #selector\n      [selected]=\"selected\"\n      [rows]=\"rows\"\n      [selectCheck]=\"selectCheck\"\n      [selectEnabled]=\"selectEnabled\"\n      [selectionType]=\"selectionType\"\n      [rowIdentity]=\"rowIdentity\"\n      (select)=\"select.emit($event)\"\n      (activate)=\"activate.emit($event)\"\n    >\n      <datatable-scroller\n        *ngIf=\"rows?.length\"\n        [scrollbarV]=\"scrollbarV\"\n        [scrollbarH]=\"scrollbarH\"\n        [scrollHeight]=\"scrollHeight\"\n        [scrollWidth]=\"columnGroupWidths?.total\"\n        (scroll)=\"onBodyScroll($event)\"\n      >\n        <datatable-summary-row\n          *ngIf=\"summaryRow && summaryPosition === 'top'\"\n          [rowHeight]=\"summaryHeight\"\n          [offsetX]=\"offsetX\"\n          [innerWidth]=\"innerWidth\"\n          [rows]=\"rows\"\n          [columns]=\"columns\"\n        >\n        </datatable-summary-row>\n        <datatable-row-wrapper\n          [groupedRows]=\"groupedRows\"\n          *ngFor=\"let group of temp; let i = index; trackBy: rowTrackingFn\"\n          [innerWidth]=\"innerWidth\"\n          [ngStyle]=\"getRowsStyles(group)\"\n          [rowDetail]=\"rowDetail\"\n          [groupHeader]=\"groupHeader\"\n          [offsetX]=\"offsetX\"\n          [detailRowHeight]=\"getDetailRowHeight(group && group[i], i)\"\n          [row]=\"group\"\n          [expanded]=\"getRowExpanded(group)\"\n          [rowIndex]=\"getRowIndex(group && group[i])\"\n          (rowContextmenu)=\"rowContextmenu.emit($event)\"\n        >\n          <datatable-body-row\n            *ngIf=\"!groupedRows; else groupedRowsTemplate\"\n            tabindex=\"-1\"\n            [isSelected]=\"selector.getRowSelected(group)\"\n            [innerWidth]=\"innerWidth\"\n            [offsetX]=\"offsetX\"\n            [columns]=\"columns\"\n            [rowHeight]=\"getRowHeight(group)\"\n            [row]=\"group\"\n            [rowIndex]=\"getRowIndex(group)\"\n            [expanded]=\"getRowExpanded(group)\"\n            [rowClass]=\"rowClass\"\n            [displayCheck]=\"displayCheck\"\n            [treeStatus]=\"group && group.treeStatus\"\n            (treeAction)=\"onTreeAction(group)\"\n            (activate)=\"selector.onActivate($event, indexes.first + i)\"\n          >\n          </datatable-body-row>\n          <ng-template #groupedRowsTemplate>\n            <datatable-body-row\n              *ngFor=\"let row of group.value; let i = index; trackBy: rowTrackingFn\"\n              tabindex=\"-1\"\n              [isSelected]=\"selector.getRowSelected(row)\"\n              [innerWidth]=\"innerWidth\"\n              [offsetX]=\"offsetX\"\n              [columns]=\"columns\"\n              [rowHeight]=\"getRowHeight(row)\"\n              [row]=\"row\"\n              [group]=\"group.value\"\n              [rowIndex]=\"getRowIndex(row)\"\n              [expanded]=\"getRowExpanded(row)\"\n              [rowClass]=\"rowClass\"\n              (activate)=\"selector.onActivate($event, i)\"\n            >\n            </datatable-body-row>\n          </ng-template>\n        </datatable-row-wrapper>\n        <datatable-summary-row\n          *ngIf=\"summaryRow && summaryPosition === 'bottom'\"\n          [ngStyle]=\"getBottomSummaryRowStyles()\"\n          [rowHeight]=\"summaryHeight\"\n          [offsetX]=\"offsetX\"\n          [innerWidth]=\"innerWidth\"\n          [rows]=\"rows\"\n          [columns]=\"columns\"\n        >\n        </datatable-summary-row>\n      </datatable-scroller>\n      <div class=\"empty-row\" *ngIf=\"!rows?.length && !loadingIndicator\" [innerHTML]=\"emptyMessage\"></div>\n    </datatable-selection>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        host: {
          "class": 'datatable-body'
        }
      }]
    }];

    DataTableBodyComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    DataTableBodyComponent.propDecorators = {
      scrollbarV: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollbarH: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      loadingIndicator: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      externalPaging: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offsetX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      emptyMessage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectionType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowIdentity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowDetail: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupHeader: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      displayCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trackByProp: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupedRows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupExpansionDefault: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupRowsBy: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      virtualization: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryRow: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pageSize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      columns: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowCount: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      bodyWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.width']
      }],
      bodyHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.height']
      }],
      scroll: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      page: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      detailToggle: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      rowContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      treeAction: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      scroller: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: [ScrollerComponent]
      }]
    };

    var DataTableHeaderComponent = /*#__PURE__*/function () {
      function DataTableHeaderComponent(cd) {
        _classCallCheck(this, DataTableHeaderComponent);

        this.cd = cd;
        this.sort = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.reorder = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.resize = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.columnContextmenu = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](false);
        this._columnGroupWidths = {
          total: 100
        };
        this._styleByGroup = {
          left: {},
          center: {},
          right: {}
        };
        this.destroyed = false;
      }

      _createClass(DataTableHeaderComponent, [{
        key: "innerWidth",
        get: function get() {
          return this._innerWidth;
        },
        set: function set(val) {
          var _this108 = this;

          this._innerWidth = val;
          setTimeout(function () {
            if (_this108._columns) {
              var colByPin = columnsByPin(_this108._columns);
              _this108._columnGroupWidths = columnGroupWidths(colByPin, _this108._columns);

              _this108.setStylesByGroup();
            }
          });
        }
      }, {
        key: "headerHeight",
        get: function get() {
          return this._headerHeight;
        },
        set: function set(val) {
          if (val !== 'auto') {
            this._headerHeight = "".concat(val, "px");
          } else {
            this._headerHeight = val;
          }
        }
      }, {
        key: "columns",
        get: function get() {
          return this._columns;
        },
        set: function set(val) {
          var _this109 = this;

          this._columns = val;
          var colsByPin = columnsByPin(val);
          this._columnsByPin = columnsByPinArr(val);
          setTimeout(function () {
            _this109._columnGroupWidths = columnGroupWidths(colsByPin, val);

            _this109.setStylesByGroup();
          });
        }
      }, {
        key: "offsetX",
        get: function get() {
          return this._offsetX;
        },
        set: function set(val) {
          this._offsetX = val;
          this.setStylesByGroup();
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this.destroyed = true;
        }
      }, {
        key: "onLongPressStart",
        value: function onLongPressStart(_ref51) {
          var event = _ref51.event,
              model = _ref51.model;
          model.dragging = true;
          this.dragEventTarget = event;
        }
      }, {
        key: "onLongPressEnd",
        value: function onLongPressEnd(_ref52) {
          var _this110 = this;

          var event = _ref52.event,
              model = _ref52.model;
          this.dragEventTarget = event; // delay resetting so sort can be
          // prevented if we were dragging

          setTimeout(function () {
            // datatable component creates copies from columns on reorder
            // set dragging to false on new objects
            var column = _this110._columns.find(function (c) {
              return c.$$id === model.$$id;
            });

            if (column) {
              column.dragging = false;
            }
          }, 5);
        }
      }, {
        key: "headerWidth",
        get: function get() {
          if (this.scrollbarH) {
            return this.innerWidth + 'px';
          }

          return '100%';
        }
      }, {
        key: "trackByGroups",
        value: function trackByGroups(index, colGroup) {
          return colGroup.type;
        }
      }, {
        key: "columnTrackingFn",
        value: function columnTrackingFn(index, column) {
          return column.$$id;
        }
      }, {
        key: "onColumnResized",
        value: function onColumnResized(width, column) {
          if (width <= column.minWidth) {
            width = column.minWidth;
          } else if (width >= column.maxWidth) {
            width = column.maxWidth;
          }

          this.resize.emit({
            column: column,
            prevValue: column.width,
            newValue: width
          });
        }
      }, {
        key: "onColumnReordered",
        value: function onColumnReordered(_ref53) {
          var prevIndex = _ref53.prevIndex,
              newIndex = _ref53.newIndex,
              model = _ref53.model;
          var column = this.getColumn(newIndex);
          column.isTarget = false;
          column.targetMarkerContext = undefined;
          this.reorder.emit({
            column: model,
            prevValue: prevIndex,
            newValue: newIndex
          });
        }
      }, {
        key: "onTargetChanged",
        value: function onTargetChanged(_ref54) {
          var prevIndex = _ref54.prevIndex,
              newIndex = _ref54.newIndex,
              initialIndex = _ref54.initialIndex;

          if (prevIndex || prevIndex === 0) {
            var oldColumn = this.getColumn(prevIndex);
            oldColumn.isTarget = false;
            oldColumn.targetMarkerContext = undefined;
          }

          if (newIndex || newIndex === 0) {
            var newColumn = this.getColumn(newIndex);
            newColumn.isTarget = true;

            if (initialIndex !== newIndex) {
              newColumn.targetMarkerContext = {
                "class": 'targetMarker '.concat(initialIndex > newIndex ? 'dragFromRight' : 'dragFromLeft')
              };
            }
          }
        }
      }, {
        key: "getColumn",
        value: function getColumn(index) {
          var leftColumnCount = this._columnsByPin[0].columns.length;

          if (index < leftColumnCount) {
            return this._columnsByPin[0].columns[index];
          }

          var centerColumnCount = this._columnsByPin[1].columns.length;

          if (index < leftColumnCount + centerColumnCount) {
            return this._columnsByPin[1].columns[index - leftColumnCount];
          }

          return this._columnsByPin[2].columns[index - leftColumnCount - centerColumnCount];
        }
      }, {
        key: "onSort",
        value: function onSort(_ref55) {
          var column = _ref55.column,
              prevValue = _ref55.prevValue,
              newValue = _ref55.newValue;

          // if we are dragging don't sort!
          if (column.dragging) {
            return;
          }

          var sorts = this.calcNewSorts(column, prevValue, newValue);
          this.sort.emit({
            sorts: sorts,
            column: column,
            prevValue: prevValue,
            newValue: newValue
          });
        }
      }, {
        key: "calcNewSorts",
        value: function calcNewSorts(column, prevValue, newValue) {
          var idx = 0;

          if (!this.sorts) {
            this.sorts = [];
          }

          var sorts = this.sorts.map(function (s, i) {
            s = Object.assign({}, s);

            if (s.prop === column.prop) {
              idx = i;
            }

            return s;
          });

          if (newValue === undefined) {
            sorts.splice(idx, 1);
          } else if (prevValue) {
            sorts[idx].dir = newValue;
          } else {
            if (this.sortType === SortType.single) {
              sorts.splice(0, this.sorts.length);
            }

            sorts.push({
              dir: newValue,
              prop: column.prop
            });
          }

          return sorts;
        }
      }, {
        key: "setStylesByGroup",
        value: function setStylesByGroup() {
          this._styleByGroup.left = this.calcStylesByGroup('left');
          this._styleByGroup.center = this.calcStylesByGroup('center');
          this._styleByGroup.right = this.calcStylesByGroup('right');

          if (!this.destroyed) {
            this.cd.detectChanges();
          }
        }
      }, {
        key: "calcStylesByGroup",
        value: function calcStylesByGroup(group) {
          var widths = this._columnGroupWidths;
          var offsetX = this.offsetX;
          var styles = {
            width: "".concat(widths[group], "px")
          };

          if (group === 'center') {
            translateXY(styles, offsetX * -1, 0);
          } else if (group === 'right') {
            var totalDiff = widths.total - this.innerWidth;
            var offset = totalDiff * -1;
            translateXY(styles, offset, 0);
          }

          return styles;
        }
      }]);

      return DataTableHeaderComponent;
    }();

    DataTableHeaderComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-header',
        template: "\n    <div\n      orderable\n      (reorder)=\"onColumnReordered($event)\"\n      (targetChanged)=\"onTargetChanged($event)\"\n      [style.width.px]=\"_columnGroupWidths.total\"\n      class=\"datatable-header-inner\"\n    >\n      <div\n        *ngFor=\"let colGroup of _columnsByPin; trackBy: trackByGroups\"\n        [class]=\"'datatable-row-' + colGroup.type\"\n        [ngStyle]=\"_styleByGroup[colGroup.type]\"\n      >\n        <datatable-header-cell\n          *ngFor=\"let column of colGroup.columns; trackBy: columnTrackingFn\"\n          resizeable\n          [resizeEnabled]=\"column.resizeable\"\n          (resize)=\"onColumnResized($event, column)\"\n          long-press\n          [pressModel]=\"column\"\n          [pressEnabled]=\"reorderable && column.draggable\"\n          (longPressStart)=\"onLongPressStart($event)\"\n          (longPressEnd)=\"onLongPressEnd($event)\"\n          draggable\n          [dragX]=\"reorderable && column.draggable && column.dragging\"\n          [dragY]=\"false\"\n          [dragModel]=\"column\"\n          [dragEventTarget]=\"dragEventTarget\"\n          [headerHeight]=\"headerHeight\"\n          [isTarget]=\"column.isTarget\"\n          [targetMarkerTemplate]=\"targetMarkerTemplate\"\n          [targetMarkerContext]=\"column.targetMarkerContext\"\n          [column]=\"column\"\n          [sortType]=\"sortType\"\n          [sorts]=\"sorts\"\n          [selectionType]=\"selectionType\"\n          [sortAscendingIcon]=\"sortAscendingIcon\"\n          [sortDescendingIcon]=\"sortDescendingIcon\"\n          [sortUnsetIcon]=\"sortUnsetIcon\"\n          [allRowsSelected]=\"allRowsSelected\"\n          (sort)=\"onSort($event)\"\n          (select)=\"select.emit($event)\"\n          (columnContextmenu)=\"columnContextmenu.emit($event)\"\n        >\n        </datatable-header-cell>\n      </div>\n    </div>\n  ",
        host: {
          "class": 'datatable-header'
        },
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    DataTableHeaderComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    DataTableHeaderComponent.propDecorators = {
      sortAscendingIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortDescendingIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortUnsetIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollbarH: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      dealsWithGroup: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      targetMarkerTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sorts: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      allRowsSelected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectionType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      reorderable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      headerHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.height']
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      columns: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offsetX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sort: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      reorder: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      resize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      columnContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      headerWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.width']
      }]
    };
    /**
     * Throttle a function
     */

    function throttle(func, wait, options) {
      options = options || {};
      var context;
      var args;
      var result;
      var timeout = null;
      var previous = 0;

      function later() {
        previous = options.leading === false ? 0 : +new Date();
        timeout = null;
        result = func.apply(context, args);
      }

      return function () {
        var now = +new Date();

        if (!previous && options.leading === false) {
          previous = now;
        }

        var remaining = wait - (now - previous);
        context = this;
        args = arguments;

        if (remaining <= 0) {
          clearTimeout(timeout);
          timeout = null;
          previous = now;
          result = func.apply(context, args);
        } else if (!timeout && options.trailing !== false) {
          timeout = setTimeout(later, remaining);
        }

        return result;
      };
    }
    /**
     * Throttle decorator
     *
     *  class MyClass {
     *    throttleable(10)
     *    myFn() { ... }
     *  }
     */


    function throttleable(duration, options) {
      return function innerDecorator(target, key, descriptor) {
        return {
          configurable: true,
          enumerable: descriptor.enumerable,
          get: function getter() {
            Object.defineProperty(this, key, {
              configurable: true,
              enumerable: descriptor.enumerable,
              value: throttle(descriptor.value, duration, options)
            });
            return this[key];
          }
        };
      };
    }
    /**
     * Calculates the Total Flex Grow
     */


    function getTotalFlexGrow(columns) {
      var totalFlexGrow = 0;

      var _iterator85 = _createForOfIteratorHelper(columns),
          _step85;

      try {
        for (_iterator85.s(); !(_step85 = _iterator85.n()).done;) {
          var c = _step85.value;
          totalFlexGrow += c.flexGrow || 0;
        }
      } catch (err) {
        _iterator85.e(err);
      } finally {
        _iterator85.f();
      }

      return totalFlexGrow;
    }
    /**
     * Adjusts the column widths.
     * Inspired by: https://github.com/facebook/fixed-data-table/blob/master/src/FixedDataTableWidthHelper.js
     */


    function adjustColumnWidths(allColumns, expectedWidth) {
      var columnsWidth = columnsTotalWidth(allColumns);
      var totalFlexGrow = getTotalFlexGrow(allColumns);
      var colsByGroup = columnsByPin(allColumns);

      if (columnsWidth !== expectedWidth) {
        scaleColumns(colsByGroup, expectedWidth, totalFlexGrow);
      }
    }
    /**
     * Resizes columns based on the flexGrow property, while respecting manually set widths
     */


    function scaleColumns(colsByGroup, maxWidth, totalFlexGrow) {
      // calculate total width and flexgrow points for coulumns that can be resized
      for (var attr in colsByGroup) {
        var _iterator86 = _createForOfIteratorHelper(colsByGroup[attr]),
            _step86;

        try {
          for (_iterator86.s(); !(_step86 = _iterator86.n()).done;) {
            var column = _step86.value;

            if (!column.canAutoResize) {
              maxWidth -= column.width;
              totalFlexGrow -= column.flexGrow ? column.flexGrow : 0;
            } else {
              column.width = 0;
            }
          }
        } catch (err) {
          _iterator86.e(err);
        } finally {
          _iterator86.f();
        }
      }

      var hasMinWidth = {};
      var remainingWidth = maxWidth; // resize columns until no width is left to be distributed

      do {
        var widthPerFlexPoint = remainingWidth / totalFlexGrow;
        remainingWidth = 0;

        for (var _attr in colsByGroup) {
          var _iterator87 = _createForOfIteratorHelper(colsByGroup[_attr]),
              _step87;

          try {
            for (_iterator87.s(); !(_step87 = _iterator87.n()).done;) {
              var _column = _step87.value;

              // if the column can be resize and it hasn't reached its minimum width yet
              if (_column.canAutoResize && !hasMinWidth[_column.prop]) {
                var newWidth = _column.width + _column.flexGrow * widthPerFlexPoint;

                if (_column.minWidth !== undefined && newWidth < _column.minWidth) {
                  remainingWidth += newWidth - _column.minWidth;
                  _column.width = _column.minWidth;
                  hasMinWidth[_column.prop] = true;
                } else {
                  _column.width = newWidth;
                }
              }
            }
          } catch (err) {
            _iterator87.e(err);
          } finally {
            _iterator87.f();
          }
        }
      } while (remainingWidth !== 0);
    }
    /**
     * Forces the width of the columns to
     * distribute equally but overflowing when necessary
     *
     * Rules:
     *
     *  - If combined withs are less than the total width of the grid,
     *    proportion the widths given the min / max / normal widths to fill the width.
     *
     *  - If the combined widths, exceed the total width of the grid,
     *    use the standard widths.
     *
     *  - If a column is resized, it should always use that width
     *
     *  - The proportional widths should never fall below min size if specified.
     *
     *  - If the grid starts off small but then becomes greater than the size ( + / - )
     *    the width should use the original width; not the newly proportioned widths.
     */


    function forceFillColumnWidths(allColumns, expectedWidth, startIdx, allowBleed) {
      var defaultColWidth = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 300;
      var columnsToResize = allColumns.slice(startIdx + 1, allColumns.length).filter(function (c) {
        return c.canAutoResize !== false;
      });

      var _iterator88 = _createForOfIteratorHelper(columnsToResize),
          _step88;

      try {
        for (_iterator88.s(); !(_step88 = _iterator88.n()).done;) {
          var _column2 = _step88.value;

          if (!_column2.$$oldWidth) {
            _column2.$$oldWidth = _column2.width;
          }
        }
      } catch (err) {
        _iterator88.e(err);
      } finally {
        _iterator88.f();
      }

      var additionWidthPerColumn = 0;
      var exceedsWindow = false;
      var contentWidth = getContentWidth(allColumns, defaultColWidth);
      var remainingWidth = expectedWidth - contentWidth;
      var columnsProcessed = [];
      var remainingWidthLimit = 1; // when to stop
      // This loop takes care of the

      do {
        additionWidthPerColumn = remainingWidth / columnsToResize.length;
        exceedsWindow = contentWidth >= expectedWidth;

        var _iterator89 = _createForOfIteratorHelper(columnsToResize),
            _step89;

        try {
          for (_iterator89.s(); !(_step89 = _iterator89.n()).done;) {
            var column = _step89.value;

            if (exceedsWindow && allowBleed) {
              column.width = column.$$oldWidth || column.width || defaultColWidth;
            } else {
              var newSize = (column.width || defaultColWidth) + additionWidthPerColumn;

              if (column.minWidth && newSize < column.minWidth) {
                column.width = column.minWidth;
                columnsProcessed.push(column);
              } else if (column.maxWidth && newSize > column.maxWidth) {
                column.width = column.maxWidth;
                columnsProcessed.push(column);
              } else {
                column.width = newSize;
              }
            }

            column.width = Math.max(0, column.width);
          }
        } catch (err) {
          _iterator89.e(err);
        } finally {
          _iterator89.f();
        }

        contentWidth = getContentWidth(allColumns);
        remainingWidth = expectedWidth - contentWidth;
        removeProcessedColumns(columnsToResize, columnsProcessed);
      } while (remainingWidth > remainingWidthLimit && columnsToResize.length !== 0);
    }
    /**
     * Remove the processed columns from the current active columns.
     */


    function removeProcessedColumns(columnsToResize, columnsProcessed) {
      var _iterator90 = _createForOfIteratorHelper(columnsProcessed),
          _step90;

      try {
        for (_iterator90.s(); !(_step90 = _iterator90.n()).done;) {
          var column = _step90.value;
          var index = columnsToResize.indexOf(column);
          columnsToResize.splice(index, 1);
        }
      } catch (err) {
        _iterator90.e(err);
      } finally {
        _iterator90.f();
      }
    }
    /**
     * Gets the width of the columns
     */


    function getContentWidth(allColumns) {
      var defaultColWidth = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;
      var contentWidth = 0;

      var _iterator91 = _createForOfIteratorHelper(allColumns),
          _step91;

      try {
        for (_iterator91.s(); !(_step91 = _iterator91.n()).done;) {
          var column = _step91.value;
          contentWidth += column.width || defaultColWidth;
        }
      } catch (err) {
        _iterator91.e(err);
      } finally {
        _iterator91.f();
      }

      return contentWidth;
    }

    var SortDirection;

    (function (SortDirection) {
      SortDirection["asc"] = "asc";
      SortDirection["desc"] = "desc";
    })(SortDirection || (SortDirection = {}));
    /**
     * Gets the next sort direction
     */


    function nextSortDir(sortType, current) {
      if (sortType === SortType.single) {
        if (current === SortDirection.asc) {
          return SortDirection.desc;
        } else {
          return SortDirection.asc;
        }
      } else {
        if (!current) {
          return SortDirection.asc;
        } else if (current === SortDirection.asc) {
          return SortDirection.desc;
        } else if (current === SortDirection.desc) {
          return undefined;
        } // avoid TS7030: Not all code paths return a value.


        return undefined;
      }
    }
    /**
     * Adapted from fueld-ui on 6/216
     * https://github.com/FuelInteractive/fuel-ui/tree/master/src/pipes/OrderBy
     */


    function orderByComparator(a, b) {
      if (a === null || typeof a === 'undefined') a = 0;
      if (b === null || typeof b === 'undefined') b = 0;

      if (a instanceof Date && b instanceof Date) {
        if (a < b) return -1;
        if (a > b) return 1;
      } else if (isNaN(parseFloat(a)) || !isFinite(a) || isNaN(parseFloat(b)) || !isFinite(b)) {
        // Convert to string in case of a=0 or b=0
        a = String(a);
        b = String(b); // Isn't a number so lowercase the string to properly compare

        if (a.toLowerCase() < b.toLowerCase()) return -1;
        if (a.toLowerCase() > b.toLowerCase()) return 1;
      } else {
        // Parse strings as numbers to compare properly
        if (parseFloat(a) < parseFloat(b)) return -1;
        if (parseFloat(a) > parseFloat(b)) return 1;
      } // equal each other


      return 0;
    }
    /**
     * creates a shallow copy of the `rows` input and returns the sorted copy. this function
     * does not sort the `rows` argument in place
     */


    function sortRows(rows, columns, dirs) {
      if (!rows) return [];
      if (!dirs || !dirs.length || !columns) return _toConsumableArray(rows);
      /**
       * record the row ordering of results from prior sort operations (if applicable)
       * this is necessary to guarantee stable sorting behavior
       */

      var rowToIndexMap = new Map();
      rows.forEach(function (row, index) {
        return rowToIndexMap.set(row, index);
      });

      var temp = _toConsumableArray(rows);

      var cols = columns.reduce(function (obj, col) {
        if (col.comparator && typeof col.comparator === 'function') {
          obj[col.prop] = col.comparator;
        }

        return obj;
      }, {}); // cache valueGetter and compareFn so that they
      // do not need to be looked-up in the sort function body

      var cachedDirs = dirs.map(function (dir) {
        var prop = dir.prop;
        return {
          prop: prop,
          dir: dir.dir,
          valueGetter: getterForProp(prop),
          compareFn: cols[prop] || orderByComparator
        };
      });
      return temp.sort(function (rowA, rowB) {
        var _iterator92 = _createForOfIteratorHelper(cachedDirs),
            _step92;

        try {
          for (_iterator92.s(); !(_step92 = _iterator92.n()).done;) {
            var cachedDir = _step92.value;
            // Get property and valuegetters for column to be sorted
            var prop = cachedDir.prop,
                valueGetter = cachedDir.valueGetter; // Get A and B cell values from rows based on properties of the columns

            var propA = valueGetter(rowA, prop);
            var propB = valueGetter(rowB, prop); // Compare function gets five parameters:
            // Two cell values to be compared as propA and propB
            // Two rows corresponding to the cells as rowA and rowB
            // Direction of the sort for this column as SortDirection
            // Compare can be a standard JS comparison function (a,b) => -1|0|1
            // as additional parameters are silently ignored. The whole row and sort
            // direction enable more complex sort logic.

            var comparison = cachedDir.dir !== SortDirection.desc ? cachedDir.compareFn(propA, propB, rowA, rowB, cachedDir.dir) : -cachedDir.compareFn(propA, propB, rowA, rowB, cachedDir.dir); // Don't return 0 yet in case of needing to sort by next property

            if (comparison !== 0) return comparison;
          }
        } catch (err) {
          _iterator92.e(err);
        } finally {
          _iterator92.f();
        }

        if (!(rowToIndexMap.has(rowA) && rowToIndexMap.has(rowB))) return 0;
        /**
         * all else being equal, preserve original order of the rows (stable sort)
         */

        return rowToIndexMap.get(rowA) < rowToIndexMap.get(rowB) ? -1 : 1;
      });
    }

    var DatatableComponent = /*#__PURE__*/function () {
      function DatatableComponent(scrollbarHelper, dimensionsHelper, cd, element, differs, columnChangesService, configuration) {
        var _this111 = this;

        _classCallCheck(this, DatatableComponent);

        this.scrollbarHelper = scrollbarHelper;
        this.dimensionsHelper = dimensionsHelper;
        this.cd = cd;
        this.columnChangesService = columnChangesService;
        this.configuration = configuration;
        /**
         * List of row objects that should be
         * represented as selected in the grid.
         * Default value: `[]`
         */

        this.selected = [];
        /**
         * Enable vertical scrollbars
         */

        this.scrollbarV = false;
        /**
         * Enable horz scrollbars
         */

        this.scrollbarH = false;
        /**
         * The row height; which is necessary
         * to calculate the height for the lazy rendering.
         */

        this.rowHeight = 30;
        /**
         * Type of column width distribution formula.
         * Example: flex, force, standard
         */

        this.columnMode = ColumnMode.standard;
        /**
         * The minimum header height in pixels.
         * Pass a falsey for no header
         */

        this.headerHeight = 30;
        /**
         * The minimum footer height in pixels.
         * Pass falsey for no footer
         */

        this.footerHeight = 0;
        /**
         * If the table should use external paging
         * otherwise its assumed that all data is preloaded.
         */

        this.externalPaging = false;
        /**
         * If the table should use external sorting or
         * the built-in basic sorting.
         */

        this.externalSorting = false;
        /**
         * Show the linear loading bar.
         * Default value: `false`
         */

        this.loadingIndicator = false;
        /**
         * Enable/Disable ability to re-order columns
         * by dragging them.
         */

        this.reorderable = true;
        /**
         * Swap columns on re-order columns or
         * move them.
         */

        this.swapColumns = true;
        /**
         * The type of sorting
         */

        this.sortType = SortType.single;
        /**
         * Array of sorted columns by property and type.
         * Default value: `[]`
         */

        this.sorts = [];
        /**
         * Css class overrides
         */

        this.cssClasses = {
          sortAscending: 'datatable-icon-up',
          sortDescending: 'datatable-icon-down',
          sortUnset: 'datatable-icon-sort-unset',
          pagerLeftArrow: 'datatable-icon-left',
          pagerRightArrow: 'datatable-icon-right',
          pagerPrevious: 'datatable-icon-prev',
          pagerNext: 'datatable-icon-skip'
        };
        /**
         * Message overrides for localization
         *
         * emptyMessage     [default] = 'No data to display'
         * totalMessage     [default] = 'total'
         * selectedMessage  [default] = 'selected'
         */

        this.messages = {
          // Message to show when array is presented
          // but contains no values
          emptyMessage: 'No data to display',
          // Footer total message
          totalMessage: 'total',
          // Footer selected message
          selectedMessage: 'selected'
        };
        /**
         * A boolean you can use to set the detault behaviour of rows and groups
         * whether they will start expanded or not. If ommited the default is NOT expanded.
         *
         */

        this.groupExpansionDefault = false;
        /**
         * Property to which you can use for determining select all
         * rows on current page or not.
         *
         * @memberOf DatatableComponent
         */

        this.selectAllRowsOnPage = false;
        /**
         * A flag for row virtualization on / off
         */

        this.virtualization = true;
        /**
         * A flag for switching summary row on / off
         */

        this.summaryRow = false;
        /**
         * A height of summary row
         */

        this.summaryHeight = 30;
        /**
         * A property holds a summary row position: top/bottom
         */

        this.summaryPosition = 'top';
        /**
         * Body was scrolled typically in a `scrollbarV:true` scenario.
         */

        this.scroll = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * A cell or row was focused via keyboard or mouse click.
         */

        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * A cell or row was selected.
         */

        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * Column sort was invoked.
         */

        this.sort = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * The table was paged either triggered by the pager or the body scroll.
         */

        this.page = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * Columns were re-ordered.
         */

        this.reorder = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * Column was resized.
         */

        this.resize = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        /**
         * The context menu was invoked on the table.
         * type indicates whether the header or the body was clicked.
         * content contains either the column or the row that was clicked.
         */

        this.tableContextmenu = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](false);
        /**
         * A row was expanded ot collapsed for tree
         */

        this.treeAction = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.rowCount = 0;
        this._offsetX = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](0);
        this._count = 0;
        this._offset = 0;
        this._subscriptions = [];
        /**
         * This will be used when displaying or selecting rows.
         * when tracking/comparing them, we'll use the value of this fn,
         *
         * (`fn(x) === fn(y)` instead of `x === y`)
         */

        this.rowIdentity = function (x) {
          if (_this111._groupRowsBy) {
            // each group in groupedRows are stored as {key, value: [rows]},
            // where key is the groupRowsBy index
            return x.key;
          } else {
            return x;
          }
        }; // get ref to elm for measuring


        this.element = element.nativeElement;
        this.rowDiffer = differs.find({}).create(); // apply global settings from Module.forRoot

        if (this.configuration && this.configuration.messages) {
          this.messages = Object.assign({}, this.configuration.messages);
        }
      }
      /**
       * Rows that are displayed in the table.
       */


      _createClass(DatatableComponent, [{
        key: "rows",
        get:
        /**
         * Gets the rows.
         */
        function get() {
          return this._rows;
        }
        /**
         * This attribute allows the user to set the name of the column to group the data with
         */
        ,
        set: function set(val) {
          this._rows = val;

          if (val) {
            this._internalRows = _toConsumableArray(val);
          } // auto sort on new updates


          if (!this.externalSorting) {
            this.sortInternalRows();
          } // auto group by parent on new update


          this._internalRows = groupRowsByParents(this._internalRows, optionalGetterForProp(this.treeFromRelation), optionalGetterForProp(this.treeToRelation)); // recalculate sizes/etc

          this.recalculate();

          if (this._rows && this._groupRowsBy) {
            // If a column has been specified in _groupRowsBy created a new array with the data grouped by that row
            this.groupedRows = this.groupArrayBy(this._rows, this._groupRowsBy);
          }

          this.cd.markForCheck();
        }
      }, {
        key: "groupRowsBy",
        get: function get() {
          return this._groupRowsBy;
        }
        /**
         * Columns to be displayed.
         */
        ,
        set: function set(val) {
          if (val) {
            this._groupRowsBy = val;

            if (this._rows && this._groupRowsBy) {
              // cretes a new array with the data grouped
              this.groupedRows = this.groupArrayBy(this._rows, this._groupRowsBy);
            }
          }
        }
      }, {
        key: "columns",
        get:
        /**
         * Get the columns.
         */
        function get() {
          return this._columns;
        }
        /**
         * The page size to be shown.
         * Default value: `undefined`
         */
        ,
        set: function set(val) {
          if (val) {
            this._internalColumns = _toConsumableArray(val);
            setColumnDefaults(this._internalColumns);
            this.recalculateColumns();
          }

          this._columns = val;
        }
      }, {
        key: "limit",
        get:
        /**
         * Gets the limit.
         */
        function get() {
          return this._limit;
        }
        /**
         * The total count of all rows.
         * Default value: `0`
         */
        ,
        set: function set(val) {
          this._limit = val; // recalculate sizes/etc

          this.recalculate();
        }
      }, {
        key: "count",
        get:
        /**
         * Gets the count.
         */
        function get() {
          return this._count;
        }
        /**
         * The current offset ( page - 1 ) shown.
         * Default value: `0`
         */
        ,
        set: function set(val) {
          this._count = val; // recalculate sizes/etc

          this.recalculate();
        }
      }, {
        key: "offset",
        get: function get() {
          return Math.max(Math.min(this._offset, Math.ceil(this.rowCount / this.pageSize) - 1), 0);
        }
        /**
         * CSS class applied if the header height if fixed height.
         */
        ,
        set: function set(val) {
          this._offset = val;
        }
      }, {
        key: "isFixedHeader",
        get: function get() {
          var headerHeight = this.headerHeight;
          return typeof headerHeight === 'string' ? headerHeight !== 'auto' : true;
        }
        /**
         * CSS class applied to the root element if
         * the row heights are fixed heights.
         */

      }, {
        key: "isFixedRow",
        get: function get() {
          return this.rowHeight !== 'auto';
        }
        /**
         * CSS class applied to root element if
         * vertical scrolling is enabled.
         */

      }, {
        key: "isVertScroll",
        get: function get() {
          return this.scrollbarV;
        }
        /**
         * CSS class applied to root element if
         * virtualization is enabled.
         */

      }, {
        key: "isVirtualized",
        get: function get() {
          return this.virtualization;
        }
        /**
         * CSS class applied to the root element
         * if the horziontal scrolling is enabled.
         */

      }, {
        key: "isHorScroll",
        get: function get() {
          return this.scrollbarH;
        }
        /**
         * CSS class applied to root element is selectable.
         */

      }, {
        key: "isSelectable",
        get: function get() {
          return this.selectionType !== undefined;
        }
        /**
         * CSS class applied to root is checkbox selection.
         */

      }, {
        key: "isCheckboxSelection",
        get: function get() {
          return this.selectionType === SelectionType.checkbox;
        }
        /**
         * CSS class applied to root if cell selection.
         */

      }, {
        key: "isCellSelection",
        get: function get() {
          return this.selectionType === SelectionType.cell;
        }
        /**
         * CSS class applied to root if single select.
         */

      }, {
        key: "isSingleSelection",
        get: function get() {
          return this.selectionType === SelectionType.single;
        }
        /**
         * CSS class added to root element if mulit select
         */

      }, {
        key: "isMultiSelection",
        get: function get() {
          return this.selectionType === SelectionType.multi;
        }
        /**
         * CSS class added to root element if mulit click select
         */

      }, {
        key: "isMultiClickSelection",
        get: function get() {
          return this.selectionType === SelectionType.multiClick;
        }
        /**
         * Column templates gathered from `ContentChildren`
         * if described in your markup.
         */

      }, {
        key: "columnTemplates",
        get:
        /**
         * Returns the column templates.
         */
        function get() {
          return this._columnTemplates;
        }
        /**
         * Returns if all rows are selected.
         */
        ,
        set: function set(val) {
          this._columnTemplates = val;
          this.translateColumns(val);
        }
      }, {
        key: "allRowsSelected",
        get: function get() {
          var allRowsSelected = this.rows && this.selected && this.selected.length === this.rows.length;

          if (this.bodyComponent && this.selectAllRowsOnPage) {
            var indexes = this.bodyComponent.indexes;
            var rowsOnPage = indexes.last - indexes.first;
            allRowsSelected = this.selected.length === rowsOnPage;
          }

          return this.selected && this.rows && this.rows.length !== 0 && allRowsSelected;
        }
        /**
         * Lifecycle hook that is called after data-bound
         * properties of a directive are initialized.
         */

      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          // need to call this immediatly to size
          // if the table is hidden the visibility
          // listener will invoke this itself upon show
          this.recalculate();
        }
        /**
         * Lifecycle hook that is called after a component's
         * view has been fully initialized.
         */

      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var _this112 = this;

          if (!this.externalSorting) {
            this.sortInternalRows();
          } // this has to be done to prevent the change detection
          // tree from freaking out because we are readjusting


          if (typeof requestAnimationFrame === 'undefined') {
            return;
          }

          requestAnimationFrame(function () {
            _this112.recalculate(); // emit page for virtual server-side kickoff


            if (_this112.externalPaging && _this112.scrollbarV) {
              _this112.page.emit({
                count: _this112.count,
                pageSize: _this112.pageSize,
                limit: _this112.limit,
                offset: 0
              });
            }
          });
        }
        /**
         * Lifecycle hook that is called after a component's
         * content has been fully initialized.
         */

      }, {
        key: "ngAfterContentInit",
        value: function ngAfterContentInit() {
          var _this113 = this;

          this.columnTemplates.changes.subscribe(function (v) {
            return _this113.translateColumns(v);
          });
          this.listenForColumnInputChanges();
        }
        /**
         * Translates the templates to the column objects
         */

      }, {
        key: "translateColumns",
        value: function translateColumns(val) {
          if (val) {
            var arr = val.toArray();

            if (arr.length) {
              this._internalColumns = translateTemplates(arr);
              setColumnDefaults(this._internalColumns);
              this.recalculateColumns();
              this.sortInternalRows();
              this.cd.markForCheck();
            }
          }
        }
        /**
         * Creates a map with the data grouped by the user choice of grouping index
         *
         * @param originalArray the original array passed via parameter
         * @param groupByIndex  the index of the column to group the data by
         */

      }, {
        key: "groupArrayBy",
        value: function groupArrayBy(originalArray, groupBy) {
          // create a map to hold groups with their corresponding results
          var map = new Map();
          var i = 0;
          originalArray.forEach(function (item) {
            var key = item[groupBy];

            if (!map.has(key)) {
              map.set(key, [item]);
            } else {
              map.get(key).push(item);
            }

            i++;
          });

          var addGroup = function addGroup(key, value) {
            return {
              key: key,
              value: value
            };
          }; // convert map back to a simple array of objects


          return Array.from(map, function (x) {
            return addGroup(x[0], x[1]);
          });
        }
        /*
         * Lifecycle hook that is called when Angular dirty checks a directive.
         */

      }, {
        key: "ngDoCheck",
        value: function ngDoCheck() {
          if (this.rowDiffer.diff(this.rows)) {
            if (!this.externalSorting) {
              this.sortInternalRows();
            } else {
              this._internalRows = _toConsumableArray(this.rows);
            } // auto group by parent on new update


            this._internalRows = groupRowsByParents(this._internalRows, optionalGetterForProp(this.treeFromRelation), optionalGetterForProp(this.treeToRelation));
            this.recalculatePages();
            this.cd.markForCheck();
          }
        }
        /**
         * Recalc's the sizes of the grid.
         *
         * Updated automatically on changes to:
         *
         *  - Columns
         *  - Rows
         *  - Paging related
         *
         * Also can be manually invoked or upon window resize.
         */

      }, {
        key: "recalculate",
        value: function recalculate() {
          this.recalculateDims();
          this.recalculateColumns();
          this.cd.markForCheck();
        }
        /**
         * Window resize handler to update sizes.
         */

      }, {
        key: "onWindowResize",
        value: function onWindowResize() {
          this.recalculate();
        }
        /**
         * Recalulcates the column widths based on column width
         * distribution mode and scrollbar offsets.
         */

      }, {
        key: "recalculateColumns",
        value: function recalculateColumns() {
          var columns = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this._internalColumns;
          var forceIdx = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : -1;
          var allowBleed = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.scrollbarH;
          if (!columns) return undefined;
          var width = this._innerWidth;

          if (this.scrollbarV) {
            width = width - this.scrollbarHelper.width;
          }

          if (this.columnMode === ColumnMode.force) {
            forceFillColumnWidths(columns, width, forceIdx, allowBleed);
          } else if (this.columnMode === ColumnMode.flex) {
            adjustColumnWidths(columns, width);
          }

          return columns;
        }
        /**
         * Recalculates the dimensions of the table size.
         * Internally calls the page size and row count calcs too.
         *
         */

      }, {
        key: "recalculateDims",
        value: function recalculateDims() {
          var dims = this.dimensionsHelper.getDimensions(this.element);
          this._innerWidth = Math.floor(dims.width);

          if (this.scrollbarV) {
            var height = dims.height;
            if (this.headerHeight) height = height - this.headerHeight;
            if (this.footerHeight) height = height - this.footerHeight;
            this.bodyHeight = height;
          }

          this.recalculatePages();
        }
        /**
         * Recalculates the pages after a update.
         */

      }, {
        key: "recalculatePages",
        value: function recalculatePages() {
          this.pageSize = this.calcPageSize();
          this.rowCount = this.calcRowCount();
        }
        /**
         * Body triggered a page event.
         */

      }, {
        key: "onBodyPage",
        value: function onBodyPage(_ref56) {
          var offset = _ref56.offset;

          // Avoid pagination caming from body events like scroll when the table
          // has no virtualization and the external paging is enable.
          // This means, let's the developer handle pagination by my him(her) self
          if (this.externalPaging && !this.virtualization) {
            return;
          }

          this.offset = offset;
          this.page.emit({
            count: this.count,
            pageSize: this.pageSize,
            limit: this.limit,
            offset: this.offset
          });
        }
        /**
         * The body triggered a scroll event.
         */

      }, {
        key: "onBodyScroll",
        value: function onBodyScroll(event) {
          this._offsetX.next(event.offsetX);

          this.scroll.emit(event);
          this.cd.detectChanges();
        }
        /**
         * The footer triggered a page event.
         */

      }, {
        key: "onFooterPage",
        value: function onFooterPage(event) {
          this.offset = event.page - 1;
          this.bodyComponent.updateOffsetY(this.offset);
          this.page.emit({
            count: this.count,
            pageSize: this.pageSize,
            limit: this.limit,
            offset: this.offset
          });

          if (this.selectAllRowsOnPage) {
            this.selected = [];
            this.select.emit({
              selected: this.selected
            });
          }
        }
        /**
         * Recalculates the sizes of the page
         */

      }, {
        key: "calcPageSize",
        value: function calcPageSize() {
          var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.rows;

          // Keep the page size constant even if the row has been expanded.
          // This is because an expanded row is still considered to be a child of
          // the original row.  Hence calculation would use rowHeight only.
          if (this.scrollbarV && this.virtualization) {
            var size = Math.ceil(this.bodyHeight / this.rowHeight);
            return Math.max(size, 0);
          } // if limit is passed, we are paging


          if (this.limit !== undefined) {
            return this.limit;
          } // otherwise use row length


          if (val) {
            return val.length;
          } // other empty :(


          return 0;
        }
        /**
         * Calculates the row count.
         */

      }, {
        key: "calcRowCount",
        value: function calcRowCount() {
          var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.rows;

          if (!this.externalPaging) {
            if (!val) return 0;

            if (this.groupedRows) {
              return this.groupedRows.length;
            } else if (this.treeFromRelation != null && this.treeToRelation != null) {
              return this._internalRows.length;
            } else {
              return val.length;
            }
          }

          return this.count;
        }
        /**
         * The header triggered a contextmenu event.
         */

      }, {
        key: "onColumnContextmenu",
        value: function onColumnContextmenu(_ref57) {
          var event = _ref57.event,
              column = _ref57.column;
          this.tableContextmenu.emit({
            event: event,
            type: ContextmenuType.header,
            content: column
          });
        }
        /**
         * The body triggered a contextmenu event.
         */

      }, {
        key: "onRowContextmenu",
        value: function onRowContextmenu(_ref58) {
          var event = _ref58.event,
              row = _ref58.row;
          this.tableContextmenu.emit({
            event: event,
            type: ContextmenuType.body,
            content: row
          });
        }
        /**
         * The header triggered a column resize event.
         */

      }, {
        key: "onColumnResize",
        value: function onColumnResize(_ref59) {
          var column = _ref59.column,
              newValue = _ref59.newValue;

          /* Safari/iOS 10.2 workaround */
          if (column === undefined) {
            return;
          }

          var idx;

          var cols = this._internalColumns.map(function (c, i) {
            c = Object.assign({}, c);

            if (c.$$id === column.$$id) {
              idx = i;
              c.width = newValue; // set this so we can force the column
              // width distribution to be to this value

              c.$$oldWidth = newValue;
            }

            return c;
          });

          this.recalculateColumns(cols, idx);
          this._internalColumns = cols;
          this.resize.emit({
            column: column,
            newValue: newValue
          });
        }
        /**
         * The header triggered a column re-order event.
         */

      }, {
        key: "onColumnReorder",
        value: function onColumnReorder(_ref60) {
          var column = _ref60.column,
              newValue = _ref60.newValue,
              prevValue = _ref60.prevValue;

          var cols = this._internalColumns.map(function (c) {
            return Object.assign({}, c);
          });

          if (this.swapColumns) {
            var prevCol = cols[newValue];
            cols[newValue] = column;
            cols[prevValue] = prevCol;
          } else {
            if (newValue > prevValue) {
              var movedCol = cols[prevValue];

              for (var _i30 = prevValue; _i30 < newValue; _i30++) {
                cols[_i30] = cols[_i30 + 1];
              }

              cols[newValue] = movedCol;
            } else {
              var _movedCol = cols[prevValue];

              for (var _i31 = prevValue; _i31 > newValue; _i31--) {
                cols[_i31] = cols[_i31 - 1];
              }

              cols[newValue] = _movedCol;
            }
          }

          this._internalColumns = cols;
          this.reorder.emit({
            column: column,
            newValue: newValue,
            prevValue: prevValue
          });
        }
        /**
         * The header triggered a column sort event.
         */

      }, {
        key: "onColumnSort",
        value: function onColumnSort(event) {
          // clean selected rows
          if (this.selectAllRowsOnPage) {
            this.selected = [];
            this.select.emit({
              selected: this.selected
            });
          }

          this.sorts = event.sorts; // this could be optimized better since it will resort
          // the rows again on the 'push' detection...

          if (this.externalSorting === false) {
            // don't use normal setter so we don't resort
            this.sortInternalRows();
          } // auto group by parent on new update


          this._internalRows = groupRowsByParents(this._internalRows, optionalGetterForProp(this.treeFromRelation), optionalGetterForProp(this.treeToRelation)); // Always go to first page when sorting to see the newly sorted data

          this.offset = 0;
          this.bodyComponent.updateOffsetY(this.offset);
          this.sort.emit(event);
        }
        /**
         * Toggle all row selection
         */

      }, {
        key: "onHeaderSelect",
        value: function onHeaderSelect(event) {
          if (this.bodyComponent && this.selectAllRowsOnPage) {
            // before we splice, chk if we currently have all selected
            var first = this.bodyComponent.indexes.first;
            var last = this.bodyComponent.indexes.last;
            var allSelected = this.selected.length === last - first; // remove all existing either way

            this.selected = []; // do the opposite here

            if (!allSelected) {
              var _this$selected;

              (_this$selected = this.selected).push.apply(_this$selected, _toConsumableArray(this._internalRows.slice(first, last)));
            }
          } else {
            // before we splice, chk if we currently have all selected
            var _allSelected = this.selected.length === this.rows.length; // remove all existing either way


            this.selected = []; // do the opposite here

            if (!_allSelected) {
              var _this$selected2;

              (_this$selected2 = this.selected).push.apply(_this$selected2, _toConsumableArray(this.rows));
            }
          }

          this.select.emit({
            selected: this.selected
          });
        }
        /**
         * A row was selected from body
         */

      }, {
        key: "onBodySelect",
        value: function onBodySelect(event) {
          this.select.emit(event);
        }
        /**
         * A row was expanded or collapsed for tree
         */

      }, {
        key: "onTreeAction",
        value: function onTreeAction(event) {
          var _this114 = this;

          var row = event.row; // TODO: For duplicated items this will not work

          var rowIndex = this._rows.findIndex(function (r) {
            return r[_this114.treeToRelation] === event.row[_this114.treeToRelation];
          });

          this.treeAction.emit({
            row: row,
            rowIndex: rowIndex
          });
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          this._subscriptions.forEach(function (subscription) {
            return subscription.unsubscribe();
          });
        }
        /**
         * listen for changes to input bindings of all DataTableColumnDirective and
         * trigger the columnTemplates.changes observable to emit
         */

      }, {
        key: "listenForColumnInputChanges",
        value: function listenForColumnInputChanges() {
          var _this115 = this;

          this._subscriptions.push(this.columnChangesService.columnInputChanges$.subscribe(function () {
            if (_this115.columnTemplates) {
              _this115.columnTemplates.notifyOnChanges();
            }
          }));
        }
      }, {
        key: "sortInternalRows",
        value: function sortInternalRows() {
          this._internalRows = sortRows(this._internalRows, this._internalColumns, this.sorts);
        }
      }]);

      return DatatableComponent;
    }();

    DatatableComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'ngx-datatable',
        template: "<div visibilityObserver (visible)=\"recalculate()\">\n  <datatable-header\n    *ngIf=\"headerHeight\"\n    [sorts]=\"sorts\"\n    [sortType]=\"sortType\"\n    [scrollbarH]=\"scrollbarH\"\n    [innerWidth]=\"_innerWidth\"\n    [offsetX]=\"_offsetX | async\"\n    [dealsWithGroup]=\"groupedRows !== undefined\"\n    [columns]=\"_internalColumns\"\n    [headerHeight]=\"headerHeight\"\n    [reorderable]=\"reorderable\"\n    [targetMarkerTemplate]=\"targetMarkerTemplate\"\n    [sortAscendingIcon]=\"cssClasses.sortAscending\"\n    [sortDescendingIcon]=\"cssClasses.sortDescending\"\n    [sortUnsetIcon]=\"cssClasses.sortUnset\"\n    [allRowsSelected]=\"allRowsSelected\"\n    [selectionType]=\"selectionType\"\n    (sort)=\"onColumnSort($event)\"\n    (resize)=\"onColumnResize($event)\"\n    (reorder)=\"onColumnReorder($event)\"\n    (select)=\"onHeaderSelect($event)\"\n    (columnContextmenu)=\"onColumnContextmenu($event)\"\n  >\n  </datatable-header>\n  <datatable-body\n    [groupRowsBy]=\"groupRowsBy\"\n    [groupedRows]=\"groupedRows\"\n    [rows]=\"_internalRows\"\n    [groupExpansionDefault]=\"groupExpansionDefault\"\n    [scrollbarV]=\"scrollbarV\"\n    [scrollbarH]=\"scrollbarH\"\n    [virtualization]=\"virtualization\"\n    [loadingIndicator]=\"loadingIndicator\"\n    [externalPaging]=\"externalPaging\"\n    [rowHeight]=\"rowHeight\"\n    [rowCount]=\"rowCount\"\n    [offset]=\"offset\"\n    [trackByProp]=\"trackByProp\"\n    [columns]=\"_internalColumns\"\n    [pageSize]=\"pageSize\"\n    [offsetX]=\"_offsetX | async\"\n    [rowDetail]=\"rowDetail\"\n    [groupHeader]=\"groupHeader\"\n    [selected]=\"selected\"\n    [innerWidth]=\"_innerWidth\"\n    [bodyHeight]=\"bodyHeight\"\n    [selectionType]=\"selectionType\"\n    [emptyMessage]=\"messages.emptyMessage\"\n    [rowIdentity]=\"rowIdentity\"\n    [rowClass]=\"rowClass\"\n    [selectCheck]=\"selectCheck\"\n    [displayCheck]=\"displayCheck\"\n    [summaryRow]=\"summaryRow\"\n    [summaryHeight]=\"summaryHeight\"\n    [summaryPosition]=\"summaryPosition\"\n    (page)=\"onBodyPage($event)\"\n    (activate)=\"activate.emit($event)\"\n    (rowContextmenu)=\"onRowContextmenu($event)\"\n    (select)=\"onBodySelect($event)\"\n    (scroll)=\"onBodyScroll($event)\"\n    (treeAction)=\"onTreeAction($event)\"\n  >\n  </datatable-body>\n  <datatable-footer\n    *ngIf=\"footerHeight\"\n    [rowCount]=\"rowCount\"\n    [pageSize]=\"pageSize\"\n    [offset]=\"offset\"\n    [footerHeight]=\"footerHeight\"\n    [footerTemplate]=\"footer\"\n    [totalMessage]=\"messages.totalMessage\"\n    [pagerLeftArrowIcon]=\"cssClasses.pagerLeftArrow\"\n    [pagerRightArrowIcon]=\"cssClasses.pagerRightArrow\"\n    [pagerPreviousIcon]=\"cssClasses.pagerPrevious\"\n    [selectedCount]=\"selected.length\"\n    [selectedMessage]=\"!!selectionType && messages.selectedMessage\"\n    [pagerNextIcon]=\"cssClasses.pagerNext\"\n    (page)=\"onFooterPage($event)\"\n  >\n  </datatable-footer>\n</div>\n",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewEncapsulation"].None,
        host: {
          "class": 'ngx-datatable'
        },
        styles: [".ngx-datatable{display:block;justify-content:center;overflow:hidden;position:relative;transform:translateZ(0)}.ngx-datatable [hidden]{display:none!important}.ngx-datatable *,.ngx-datatable :after,.ngx-datatable :before{box-sizing:border-box}.ngx-datatable.scroll-vertical .datatable-body{overflow-y:auto}.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper{position:absolute}.ngx-datatable.scroll-horz .datatable-body{-webkit-overflow-scrolling:touch;overflow-x:auto}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{white-space:nowrap}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row{white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable .datatable-body-row,.ngx-datatable .datatable-header-inner,.ngx-datatable .datatable-row-center{-o-flex-flow:row;display:flex;flex-direction:row;flex-flow:row}.ngx-datatable .datatable-body-cell,.ngx-datatable .datatable-header-cell{display:inline-block;line-height:1.625;overflow-x:hidden;vertical-align:top}.ngx-datatable .datatable-body-cell:focus,.ngx-datatable .datatable-header-cell:focus{outline:none}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{z-index:9}.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-row-group,.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{position:relative}.ngx-datatable .datatable-header{display:block;overflow:hidden}.ngx-datatable .datatable-header .datatable-header-inner{-webkit-align-items:stretch;align-items:stretch}.ngx-datatable .datatable-header .datatable-header-cell{display:inline-block;position:relative}.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper{cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper{cursor:move}.ngx-datatable .datatable-header .datatable-header-cell .sort-btn{cursor:pointer;display:inline-block;line-height:100%;vertical-align:middle}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable{bottom:0;display:inline-block;padding:0 4px;position:absolute;right:0;top:0;visibility:hidden;width:5px}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle{cursor:ew-resize}.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable{visibility:visible}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker{bottom:0;position:absolute;top:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft{right:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight{left:0}.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{height:inherit}.ngx-datatable .datatable-body{display:block;position:relative;z-index:10}.ngx-datatable .datatable-body .datatable-scroll{display:inline-block}.ngx-datatable .datatable-body .datatable-row-detail{overflow-y:hidden}.ngx-datatable .datatable-body .datatable-row-wrapper{display:flex;flex-direction:column}.ngx-datatable .datatable-body .datatable-body-row{outline:none}.ngx-datatable .datatable-body .datatable-body-row>div{display:flex}.ngx-datatable .datatable-footer{display:block;overflow:auto;width:100%}.ngx-datatable .datatable-footer .datatable-footer-inner{align-items:center;display:flex;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{display:inline-block;list-style:none;margin:0;padding:0}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:none}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{cursor:not-allowed}"]
      }]
    }];

    DatatableComponent.ctorParameters = function () {
      return [{
        type: ScrollbarHelper,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["SkipSelf"]
        }]
      }, {
        type: DimensionsHelper,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["SkipSelf"]
        }]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"]
      }, {
        type: ColumnChangesService
      }, {
        type: undefined,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Optional"]
        }, {
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"],
          args: ['configuration']
        }]
      }];
    };

    DatatableComponent.propDecorators = {
      targetMarkerTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupRowsBy: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupedRows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      columns: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollbarV: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scrollbarH: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      columnMode: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      headerHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      footerHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      externalPaging: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      externalSorting: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      limit: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      count: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      loadingIndicator: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectionType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      reorderable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      swapColumns: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sorts: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cssClasses: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      messages: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      displayCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupExpansionDefault: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      trackByProp: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectAllRowsOnPage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      virtualization: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      treeFromRelation: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      treeToRelation: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryRow: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      summaryPosition: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      scroll: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      sort: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      page: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      reorder: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      resize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      tableContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      treeAction: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      isFixedHeader: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.fixed-header']
      }],
      isFixedRow: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.fixed-row']
      }],
      isVertScroll: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.scroll-vertical']
      }],
      isVirtualized: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.virtualized']
      }],
      isHorScroll: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.scroll-horz']
      }],
      isSelectable: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.selectable']
      }],
      isCheckboxSelection: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.checkbox-selection']
      }],
      isCellSelection: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.cell-selection']
      }],
      isSingleSelection: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.single-selection']
      }],
      isMultiSelection: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.multi-selection']
      }],
      isMultiClickSelection: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class.multi-click-selection']
      }],
      columnTemplates: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChildren"],
        args: [DataTableColumnDirective]
      }],
      rowDetail: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DatatableRowDetailDirective]
      }],
      groupHeader: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DatatableGroupHeaderDirective]
      }],
      footer: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ContentChild"],
        args: [DatatableFooterDirective]
      }],
      bodyComponent: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: [DataTableBodyComponent]
      }],
      headerComponent: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: [DataTableHeaderComponent]
      }],
      rowIdentity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      onWindowResize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['window:resize']
      }]
    };
    Object(tslib__WEBPACK_IMPORTED_MODULE_4__["__decorate"])([throttleable(5)], DatatableComponent.prototype, "onWindowResize", null);

    var DataTableHeaderCellComponent = /*#__PURE__*/function () {
      function DataTableHeaderCellComponent(cd) {
        _classCallCheck(this, DataTableHeaderCellComponent);

        this.cd = cd;
        this.sort = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.columnContextmenu = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](false);
        this.sortFn = this.onSort.bind(this);
        this.selectFn = this.select.emit.bind(this.select);
        this.cellContext = {
          column: this.column,
          sortDir: this.sortDir,
          sortFn: this.sortFn,
          allRowsSelected: this.allRowsSelected,
          selectFn: this.selectFn
        };
      }

      _createClass(DataTableHeaderCellComponent, [{
        key: "allRowsSelected",
        get: function get() {
          return this._allRowsSelected;
        },
        set: function set(value) {
          this._allRowsSelected = value;
          this.cellContext.allRowsSelected = value;
        }
      }, {
        key: "column",
        get: function get() {
          return this._column;
        },
        set: function set(column) {
          this._column = column;
          this.cellContext.column = column;
          this.cd.markForCheck();
        }
      }, {
        key: "sorts",
        get: function get() {
          return this._sorts;
        },
        set: function set(val) {
          this._sorts = val;
          this.sortDir = this.calcSortDir(val);
          this.cellContext.sortDir = this.sortDir;
          this.sortClass = this.calcSortClass(this.sortDir);
          this.cd.markForCheck();
        }
      }, {
        key: "columnCssClasses",
        get: function get() {
          var cls = 'datatable-header-cell';
          if (this.column.sortable) cls += ' sortable';
          if (this.column.resizeable) cls += ' resizeable';

          if (this.column.headerClass) {
            if (typeof this.column.headerClass === 'string') {
              cls += ' ' + this.column.headerClass;
            } else if (typeof this.column.headerClass === 'function') {
              var res = this.column.headerClass({
                column: this.column
              });

              if (typeof res === 'string') {
                cls += res;
              } else if (typeof res === 'object') {
                var keys = Object.keys(res);

                for (var _i32 = 0, _keys = keys; _i32 < _keys.length; _i32++) {
                  var k = _keys[_i32];
                  if (res[k] === true) cls += " ".concat(k);
                }
              }
            }
          }

          var sortDir = this.sortDir;

          if (sortDir) {
            cls += " sort-active sort-".concat(sortDir);
          }

          return cls;
        }
      }, {
        key: "name",
        get: function get() {
          // guaranteed to have a value by setColumnDefaults() in column-helper.ts
          return this.column.headerTemplate === undefined ? this.column.name : undefined;
        }
      }, {
        key: "minWidth",
        get: function get() {
          return this.column.minWidth;
        }
      }, {
        key: "maxWidth",
        get: function get() {
          return this.column.maxWidth;
        }
      }, {
        key: "width",
        get: function get() {
          return this.column.width;
        }
      }, {
        key: "isCheckboxable",
        get: function get() {
          return this.column.checkboxable && this.column.headerCheckboxable && this.selectionType === SelectionType.checkbox;
        }
      }, {
        key: "onContextmenu",
        value: function onContextmenu($event) {
          this.columnContextmenu.emit({
            event: $event,
            column: this.column
          });
        }
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          this.sortClass = this.calcSortClass(this.sortDir);
        }
      }, {
        key: "calcSortDir",
        value: function calcSortDir(sorts) {
          var _this116 = this;

          if (sorts && this.column) {
            var sort = sorts.find(function (s) {
              return s.prop === _this116.column.prop;
            });
            if (sort) return sort.dir;
          }
        }
      }, {
        key: "onSort",
        value: function onSort() {
          if (!this.column.sortable) return;
          var newValue = nextSortDir(this.sortType, this.sortDir);
          this.sort.emit({
            column: this.column,
            prevValue: this.sortDir,
            newValue: newValue
          });
        }
      }, {
        key: "calcSortClass",
        value: function calcSortClass(sortDir) {
          if (!this.cellContext.column.sortable) return;

          if (sortDir === SortDirection.asc) {
            return "sort-btn sort-asc ".concat(this.sortAscendingIcon);
          } else if (sortDir === SortDirection.desc) {
            return "sort-btn sort-desc ".concat(this.sortDescendingIcon);
          } else {
            return "sort-btn ".concat(this.sortUnsetIcon);
          }
        }
      }]);

      return DataTableHeaderCellComponent;
    }();

    DataTableHeaderCellComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-header-cell',
        template: "\n    <div class=\"datatable-header-cell-template-wrap\">\n      <ng-template\n        *ngIf=\"isTarget\"\n        [ngTemplateOutlet]=\"targetMarkerTemplate\"\n        [ngTemplateOutletContext]=\"targetMarkerContext\"\n      >\n      </ng-template>\n      <label *ngIf=\"isCheckboxable\" class=\"datatable-checkbox\">\n        <input type=\"checkbox\" [checked]=\"allRowsSelected\" (change)=\"select.emit(!allRowsSelected)\" />\n      </label>\n      <span *ngIf=\"!column.headerTemplate\" class=\"datatable-header-cell-wrapper\">\n        <span class=\"datatable-header-cell-label draggable\" (click)=\"onSort()\" [innerHTML]=\"name\"> </span>\n      </span>\n      <ng-template\n        *ngIf=\"column.headerTemplate\"\n        [ngTemplateOutlet]=\"column.headerTemplate\"\n        [ngTemplateOutletContext]=\"cellContext\"\n      >\n      </ng-template>\n      <span (click)=\"onSort()\" [class]=\"sortClass\"> </span>\n    </div>\n  ",
        host: {
          "class": 'datatable-header-cell'
        },
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];

    DataTableHeaderCellComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    DataTableHeaderCellComponent.propDecorators = {
      sortType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortAscendingIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortDescendingIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sortUnsetIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isTarget: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      targetMarkerTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      targetMarkerContext: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      allRowsSelected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectionType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      column: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      headerHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.height.px']
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sorts: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sort: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      columnContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      columnCssClasses: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class']
      }],
      name: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['attr.title']
      }],
      minWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.minWidth.px']
      }],
      maxWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.maxWidth.px']
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.width.px']
      }],
      onContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['contextmenu', ['$event']]
      }]
    };

    var DataTableFooterComponent = /*#__PURE__*/function () {
      function DataTableFooterComponent() {
        _classCallCheck(this, DataTableFooterComponent);

        this.selectedCount = 0;
        this.page = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(DataTableFooterComponent, [{
        key: "isVisible",
        get: function get() {
          return this.rowCount / this.pageSize > 1;
        }
      }, {
        key: "curPage",
        get: function get() {
          return this.offset + 1;
        }
      }]);

      return DataTableFooterComponent;
    }();

    DataTableFooterComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-footer',
        template: "\n    <div\n      class=\"datatable-footer-inner\"\n      [ngClass]=\"{ 'selected-count': selectedMessage }\"\n      [style.height.px]=\"footerHeight\"\n    >\n      <ng-template\n        *ngIf=\"footerTemplate\"\n        [ngTemplateOutlet]=\"footerTemplate.template\"\n        [ngTemplateOutletContext]=\"{\n          rowCount: rowCount,\n          pageSize: pageSize,\n          selectedCount: selectedCount,\n          curPage: curPage,\n          offset: offset\n        }\"\n      >\n      </ng-template>\n      <div class=\"page-count\" *ngIf=\"!footerTemplate\">\n        <span *ngIf=\"selectedMessage\"> {{ selectedCount?.toLocaleString() }} {{ selectedMessage }} / </span>\n        {{ rowCount?.toLocaleString() }} {{ totalMessage }}\n      </div>\n      <datatable-pager\n        *ngIf=\"!footerTemplate\"\n        [pagerLeftArrowIcon]=\"pagerLeftArrowIcon\"\n        [pagerRightArrowIcon]=\"pagerRightArrowIcon\"\n        [pagerPreviousIcon]=\"pagerPreviousIcon\"\n        [pagerNextIcon]=\"pagerNextIcon\"\n        [page]=\"curPage\"\n        [size]=\"pageSize\"\n        [count]=\"rowCount\"\n        [hidden]=\"!isVisible\"\n        (change)=\"page.emit($event)\"\n      >\n      </datatable-pager>\n    </div>\n  ",
        host: {
          "class": 'datatable-footer'
        },
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    DataTableFooterComponent.propDecorators = {
      footerHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowCount: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pageSize: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offset: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerLeftArrowIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerRightArrowIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerPreviousIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerNextIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      totalMessage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      footerTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectedCount: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectedMessage: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      page: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var DataTablePagerComponent = /*#__PURE__*/function () {
      function DataTablePagerComponent() {
        _classCallCheck(this, DataTablePagerComponent);

        this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this._count = 0;
        this._page = 1;
        this._size = 0;
      }

      _createClass(DataTablePagerComponent, [{
        key: "size",
        get: function get() {
          return this._size;
        },
        set: function set(val) {
          this._size = val;
          this.pages = this.calcPages();
        }
      }, {
        key: "count",
        get: function get() {
          return this._count;
        },
        set: function set(val) {
          this._count = val;
          this.pages = this.calcPages();
        }
      }, {
        key: "page",
        get: function get() {
          return this._page;
        },
        set: function set(val) {
          this._page = val;
          this.pages = this.calcPages();
        }
      }, {
        key: "totalPages",
        get: function get() {
          var count = this.size < 1 ? 1 : Math.ceil(this.count / this.size);
          return Math.max(count || 0, 1);
        }
      }, {
        key: "canPrevious",
        value: function canPrevious() {
          return this.page > 1;
        }
      }, {
        key: "canNext",
        value: function canNext() {
          return this.page < this.totalPages;
        }
      }, {
        key: "prevPage",
        value: function prevPage() {
          this.selectPage(this.page - 1);
        }
      }, {
        key: "nextPage",
        value: function nextPage() {
          this.selectPage(this.page + 1);
        }
      }, {
        key: "selectPage",
        value: function selectPage(page) {
          if (page > 0 && page <= this.totalPages && page !== this.page) {
            this.page = page;
            this.change.emit({
              page: page
            });
          }
        }
      }, {
        key: "calcPages",
        value: function calcPages(page) {
          var pages = [];
          var startPage = 1;
          var endPage = this.totalPages;
          var maxSize = 5;
          var isMaxSized = maxSize < this.totalPages;
          page = page || this.page;

          if (isMaxSized) {
            startPage = page - Math.floor(maxSize / 2);
            endPage = page + Math.floor(maxSize / 2);

            if (startPage < 1) {
              startPage = 1;
              endPage = Math.min(startPage + maxSize - 1, this.totalPages);
            } else if (endPage > this.totalPages) {
              startPage = Math.max(this.totalPages - maxSize + 1, 1);
              endPage = this.totalPages;
            }
          }

          for (var num = startPage; num <= endPage; num++) {
            pages.push({
              number: num,
              text: num
            });
          }

          return pages;
        }
      }]);

      return DataTablePagerComponent;
    }();

    DataTablePagerComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-pager',
        template: "\n    <ul class=\"pager\">\n      <li [class.disabled]=\"!canPrevious()\">\n        <a role=\"button\" aria-label=\"go to first page\" href=\"javascript:void(0)\" (click)=\"selectPage(1)\">\n          <i class=\"{{ pagerPreviousIcon }}\"></i>\n        </a>\n      </li>\n      <li [class.disabled]=\"!canPrevious()\">\n        <a role=\"button\" aria-label=\"go to previous page\" href=\"javascript:void(0)\" (click)=\"prevPage()\">\n          <i class=\"{{ pagerLeftArrowIcon }}\"></i>\n        </a>\n      </li>\n      <li\n        role=\"button\"\n        [attr.aria-label]=\"'page ' + pg.number\"\n        class=\"pages\"\n        *ngFor=\"let pg of pages\"\n        [class.active]=\"pg.number === page\"\n      >\n        <a href=\"javascript:void(0)\" (click)=\"selectPage(pg.number)\">\n          {{ pg.text }}\n        </a>\n      </li>\n      <li [class.disabled]=\"!canNext()\">\n        <a role=\"button\" aria-label=\"go to next page\" href=\"javascript:void(0)\" (click)=\"nextPage()\">\n          <i class=\"{{ pagerRightArrowIcon }}\"></i>\n        </a>\n      </li>\n      <li [class.disabled]=\"!canNext()\">\n        <a role=\"button\" aria-label=\"go to last page\" href=\"javascript:void(0)\" (click)=\"selectPage(totalPages)\">\n          <i class=\"{{ pagerNextIcon }}\"></i>\n        </a>\n      </li>\n    </ul>\n  ",
        host: {
          "class": 'datatable-pager'
        },
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    DataTablePagerComponent.propDecorators = {
      pagerLeftArrowIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerRightArrowIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerPreviousIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      pagerNextIcon: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      size: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      count: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      page: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      change: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    var ProgressBarComponent = /*#__PURE__*/_createClass(function ProgressBarComponent() {
      _classCallCheck(this, ProgressBarComponent);
    });

    ProgressBarComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-progress',
        template: "\n    <div class=\"progress-linear\" role=\"progressbar\">\n      <div class=\"container\">\n        <div class=\"bar\"></div>\n      </div>\n    </div>\n  ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    var Keys;

    (function (Keys) {
      Keys[Keys["up"] = 38] = "up";
      Keys[Keys["down"] = 40] = "down";
      Keys[Keys["return"] = 13] = "return";
      Keys[Keys["escape"] = 27] = "escape";
      Keys[Keys["left"] = 37] = "left";
      Keys[Keys["right"] = 39] = "right";
    })(Keys || (Keys = {}));

    var DataTableBodyRowComponent = /*#__PURE__*/function () {
      function DataTableBodyRowComponent(differs, scrollbarHelper, cd, element) {
        _classCallCheck(this, DataTableBodyRowComponent);

        this.differs = differs;
        this.scrollbarHelper = scrollbarHelper;
        this.cd = cd;
        this.treeStatus = 'collapsed';
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.treeAction = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this._groupStyles = {
          left: {},
          center: {},
          right: {}
        };
        this._element = element.nativeElement;
        this._rowDiffer = differs.find({}).create();
      }

      _createClass(DataTableBodyRowComponent, [{
        key: "columns",
        get: function get() {
          return this._columns;
        },
        set: function set(val) {
          this._columns = val;
          this.recalculateColumns(val);
          this.buildStylesByGroup();
        }
      }, {
        key: "innerWidth",
        get: function get() {
          return this._innerWidth;
        },
        set: function set(val) {
          if (this._columns) {
            var colByPin = columnsByPin(this._columns);
            this._columnGroupWidths = columnGroupWidths(colByPin, this._columns);
          }

          this._innerWidth = val;
          this.recalculateColumns();
          this.buildStylesByGroup();
        }
      }, {
        key: "offsetX",
        get: function get() {
          return this._offsetX;
        },
        set: function set(val) {
          this._offsetX = val;
          this.buildStylesByGroup();
        }
      }, {
        key: "cssClass",
        get: function get() {
          var cls = 'datatable-body-row';

          if (this.isSelected) {
            cls += ' active';
          }

          if (this.rowIndex % 2 !== 0) {
            cls += ' datatable-row-odd';
          }

          if (this.rowIndex % 2 === 0) {
            cls += ' datatable-row-even';
          }

          if (this.rowClass) {
            var res = this.rowClass(this.row);

            if (typeof res === 'string') {
              cls += " ".concat(res);
            } else if (typeof res === 'object') {
              var keys = Object.keys(res);

              for (var _i33 = 0, _keys2 = keys; _i33 < _keys2.length; _i33++) {
                var k = _keys2[_i33];

                if (res[k] === true) {
                  cls += " ".concat(k);
                }
              }
            }
          }

          return cls;
        }
      }, {
        key: "columnsTotalWidths",
        get: function get() {
          return this._columnGroupWidths.total;
        }
      }, {
        key: "ngDoCheck",
        value: function ngDoCheck() {
          if (this._rowDiffer.diff(this.row)) {
            this.cd.markForCheck();
          }
        }
      }, {
        key: "trackByGroups",
        value: function trackByGroups(index, colGroup) {
          return colGroup.type;
        }
      }, {
        key: "columnTrackingFn",
        value: function columnTrackingFn(index, column) {
          return column.$$id;
        }
      }, {
        key: "buildStylesByGroup",
        value: function buildStylesByGroup() {
          this._groupStyles.left = this.calcStylesByGroup('left');
          this._groupStyles.center = this.calcStylesByGroup('center');
          this._groupStyles.right = this.calcStylesByGroup('right');
          this.cd.markForCheck();
        }
      }, {
        key: "calcStylesByGroup",
        value: function calcStylesByGroup(group) {
          var widths = this._columnGroupWidths;
          var offsetX = this.offsetX;
          var styles = {
            width: "".concat(widths[group], "px")
          };

          if (group === 'left') {
            translateXY(styles, offsetX, 0);
          } else if (group === 'right') {
            var bodyWidth = parseInt(this.innerWidth + '', 0);
            var totalDiff = widths.total - bodyWidth;
            var offsetDiff = totalDiff - offsetX;
            var offset = (offsetDiff + this.scrollbarHelper.width) * -1;
            translateXY(styles, offset, 0);
          }

          return styles;
        }
      }, {
        key: "onActivate",
        value: function onActivate(event, index) {
          event.cellIndex = index;
          event.rowElement = this._element;
          this.activate.emit(event);
        }
      }, {
        key: "onKeyDown",
        value: function onKeyDown(event) {
          var keyCode = event.keyCode;
          var isTargetRow = event.target === this._element;
          var isAction = keyCode === Keys["return"] || keyCode === Keys.down || keyCode === Keys.up || keyCode === Keys.left || keyCode === Keys.right;

          if (isAction && isTargetRow) {
            event.preventDefault();
            event.stopPropagation();
            this.activate.emit({
              type: 'keydown',
              event: event,
              row: this.row,
              rowElement: this._element
            });
          }
        }
      }, {
        key: "onMouseenter",
        value: function onMouseenter(event) {
          this.activate.emit({
            type: 'mouseenter',
            event: event,
            row: this.row,
            rowElement: this._element
          });
        }
      }, {
        key: "recalculateColumns",
        value: function recalculateColumns() {
          var val = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.columns;
          this._columns = val;
          var colsByPin = columnsByPin(this._columns);
          this._columnsByPin = columnsByPinArr(this._columns);
          this._columnGroupWidths = columnGroupWidths(colsByPin, this._columns);
        }
      }, {
        key: "onTreeAction",
        value: function onTreeAction() {
          this.treeAction.emit();
        }
      }]);

      return DataTableBodyRowComponent;
    }();

    DataTableBodyRowComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-body-row',
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        template: "\n    <div\n      *ngFor=\"let colGroup of _columnsByPin; let i = index; trackBy: trackByGroups\"\n      class=\"datatable-row-{{ colGroup.type }} datatable-row-group\"\n      [ngStyle]=\"_groupStyles[colGroup.type]\"\n    >\n      <datatable-body-cell\n        *ngFor=\"let column of colGroup.columns; let ii = index; trackBy: columnTrackingFn\"\n        tabindex=\"-1\"\n        [row]=\"row\"\n        [group]=\"group\"\n        [expanded]=\"expanded\"\n        [isSelected]=\"isSelected\"\n        [rowIndex]=\"rowIndex\"\n        [column]=\"column\"\n        [rowHeight]=\"rowHeight\"\n        [displayCheck]=\"displayCheck\"\n        [treeStatus]=\"treeStatus\"\n        (activate)=\"onActivate($event, ii)\"\n        (treeAction)=\"onTreeAction()\"\n      >\n      </datatable-body-cell>\n    </div>\n  "
      }]
    }];

    DataTableBodyRowComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"]
      }, {
        type: ScrollbarHelper,
        decorators: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["SkipSelf"]
        }]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }];
    };

    DataTableBodyRowComponent.propDecorators = {
      columns: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      expanded: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      row: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      group: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isSelected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowIndex: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      displayCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      treeStatus: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offsetX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      cssClass: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class']
      }],
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.height.px']
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      columnsTotalWidths: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.width.px']
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      treeAction: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      onKeyDown: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['keydown', ['$event']]
      }],
      onMouseenter: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['mouseenter', ['$event']]
      }]
    };

    var DataTableRowWrapperComponent = /*#__PURE__*/function () {
      function DataTableRowWrapperComponent(cd, differs) {
        _classCallCheck(this, DataTableRowWrapperComponent);

        this.cd = cd;
        this.differs = differs;
        this.rowContextmenu = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"](false);
        this.groupContext = {
          group: this.row,
          expanded: this.expanded,
          rowIndex: this.rowIndex
        };
        this.rowContext = {
          row: this.row,
          expanded: this.expanded,
          rowIndex: this.rowIndex
        };
        this._expanded = false;
        this.rowDiffer = differs.find({}).create();
      }

      _createClass(DataTableRowWrapperComponent, [{
        key: "rowIndex",
        get: function get() {
          return this._rowIndex;
        },
        set: function set(val) {
          this._rowIndex = val;
          this.rowContext.rowIndex = val;
          this.groupContext.rowIndex = val;
          this.cd.markForCheck();
        }
      }, {
        key: "expanded",
        get: function get() {
          return this._expanded;
        },
        set: function set(val) {
          this._expanded = val;
          this.groupContext.expanded = val;
          this.rowContext.expanded = val;
          this.cd.markForCheck();
        }
      }, {
        key: "ngDoCheck",
        value: function ngDoCheck() {
          if (this.rowDiffer.diff(this.row)) {
            this.rowContext.row = this.row;
            this.groupContext.group = this.row;
            this.cd.markForCheck();
          }
        }
      }, {
        key: "onContextmenu",
        value: function onContextmenu($event) {
          this.rowContextmenu.emit({
            event: $event,
            row: this.row
          });
        }
      }, {
        key: "getGroupHeaderStyle",
        value: function getGroupHeaderStyle() {
          var styles = {};
          styles['transform'] = 'translate3d(' + this.offsetX + 'px, 0px, 0px)';
          styles['backface-visibility'] = 'hidden';
          styles['width'] = this.innerWidth;
          return styles;
        }
      }]);

      return DataTableRowWrapperComponent;
    }();

    DataTableRowWrapperComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-row-wrapper',
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        template: "\n    <div *ngIf=\"groupHeader && groupHeader.template\" class=\"datatable-group-header\" [ngStyle]=\"getGroupHeaderStyle()\">\n      <ng-template\n        *ngIf=\"groupHeader && groupHeader.template\"\n        [ngTemplateOutlet]=\"groupHeader.template\"\n        [ngTemplateOutletContext]=\"groupContext\"\n      >\n      </ng-template>\n    </div>\n    <ng-content *ngIf=\"(groupHeader && groupHeader.template && expanded) || !groupHeader || !groupHeader.template\">\n    </ng-content>\n    <div\n      *ngIf=\"rowDetail && rowDetail.template && expanded\"\n      [style.height.px]=\"detailRowHeight\"\n      class=\"datatable-row-detail\"\n    >\n      <ng-template\n        *ngIf=\"rowDetail && rowDetail.template\"\n        [ngTemplateOutlet]=\"rowDetail.template\"\n        [ngTemplateOutletContext]=\"rowContext\"\n      >\n      </ng-template>\n    </div>\n  ",
        host: {
          "class": 'datatable-row-wrapper'
        }
      }]
    }];

    DataTableRowWrapperComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"]
      }];
    };

    DataTableRowWrapperComponent.propDecorators = {
      innerWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowDetail: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupHeader: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offsetX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      detailRowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      row: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      groupedRows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      rowIndex: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      expanded: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      onContextmenu: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['contextmenu', ['$event']]
      }]
    };

    var DataTableBodyCellComponent = /*#__PURE__*/function () {
      function DataTableBodyCellComponent(element, cd) {
        _classCallCheck(this, DataTableBodyCellComponent);

        this.cd = cd;
        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.treeAction = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.isFocused = false;
        this.onCheckboxChangeFn = this.onCheckboxChange.bind(this);
        this.activateFn = this.activate.emit.bind(this.activate);
        this.cellContext = {
          onCheckboxChangeFn: this.onCheckboxChangeFn,
          activateFn: this.activateFn,
          row: this.row,
          group: this.group,
          value: this.value,
          column: this.column,
          rowHeight: this.rowHeight,
          isSelected: this.isSelected,
          rowIndex: this.rowIndex,
          treeStatus: this.treeStatus,
          onTreeAction: this.onTreeAction.bind(this)
        };
        this._element = element.nativeElement;
      }

      _createClass(DataTableBodyCellComponent, [{
        key: "group",
        get: function get() {
          return this._group;
        },
        set: function set(group) {
          this._group = group;
          this.cellContext.group = group;
          this.checkValueUpdates();
          this.cd.markForCheck();
        }
      }, {
        key: "rowHeight",
        get: function get() {
          return this._rowHeight;
        },
        set: function set(val) {
          this._rowHeight = val;
          this.cellContext.rowHeight = val;
          this.checkValueUpdates();
          this.cd.markForCheck();
        }
      }, {
        key: "isSelected",
        get: function get() {
          return this._isSelected;
        },
        set: function set(val) {
          this._isSelected = val;
          this.cellContext.isSelected = val;
          this.cd.markForCheck();
        }
      }, {
        key: "expanded",
        get: function get() {
          return this._expanded;
        },
        set: function set(val) {
          this._expanded = val;
          this.cellContext.expanded = val;
          this.cd.markForCheck();
        }
      }, {
        key: "rowIndex",
        get: function get() {
          return this._rowIndex;
        },
        set: function set(val) {
          this._rowIndex = val;
          this.cellContext.rowIndex = val;
          this.checkValueUpdates();
          this.cd.markForCheck();
        }
      }, {
        key: "column",
        get: function get() {
          return this._column;
        },
        set: function set(column) {
          this._column = column;
          this.cellContext.column = column;
          this.checkValueUpdates();
          this.cd.markForCheck();
        }
      }, {
        key: "row",
        get: function get() {
          return this._row;
        },
        set: function set(row) {
          this._row = row;
          this.cellContext.row = row;
          this.checkValueUpdates();
          this.cd.markForCheck();
        }
      }, {
        key: "sorts",
        get: function get() {
          return this._sorts;
        },
        set: function set(val) {
          this._sorts = val;
          this.calcSortDir = this.calcSortDir(val);
        }
      }, {
        key: "treeStatus",
        get: function get() {
          return this._treeStatus;
        },
        set: function set(status) {
          if (status !== 'collapsed' && status !== 'expanded' && status !== 'loading' && status !== 'disabled') {
            this._treeStatus = 'collapsed';
          } else {
            this._treeStatus = status;
          }

          this.cellContext.treeStatus = this._treeStatus;
          this.checkValueUpdates();
          this.cd.markForCheck();
        }
      }, {
        key: "columnCssClasses",
        get: function get() {
          var cls = 'datatable-body-cell';

          if (this.column.cellClass) {
            if (typeof this.column.cellClass === 'string') {
              cls += ' ' + this.column.cellClass;
            } else if (typeof this.column.cellClass === 'function') {
              var res = this.column.cellClass({
                row: this.row,
                group: this.group,
                column: this.column,
                value: this.value,
                rowHeight: this.rowHeight
              });

              if (typeof res === 'string') {
                cls += ' ' + res;
              } else if (typeof res === 'object') {
                var keys = Object.keys(res);

                for (var _i34 = 0, _keys3 = keys; _i34 < _keys3.length; _i34++) {
                  var k = _keys3[_i34];

                  if (res[k] === true) {
                    cls += " ".concat(k);
                  }
                }
              }
            }
          }

          if (!this.sortDir) {
            cls += ' sort-active';
          }

          if (this.isFocused) {
            cls += ' active';
          }

          if (this.sortDir === SortDirection.asc) {
            cls += ' sort-asc';
          }

          if (this.sortDir === SortDirection.desc) {
            cls += ' sort-desc';
          }

          return cls;
        }
      }, {
        key: "width",
        get: function get() {
          return this.column.width;
        }
      }, {
        key: "minWidth",
        get: function get() {
          return this.column.minWidth;
        }
      }, {
        key: "maxWidth",
        get: function get() {
          return this.column.maxWidth;
        }
      }, {
        key: "height",
        get: function get() {
          var height = this.rowHeight;

          if (isNaN(height)) {
            return height;
          }

          return height + 'px';
        }
      }, {
        key: "ngDoCheck",
        value: function ngDoCheck() {
          this.checkValueUpdates();
        }
      }, {
        key: "ngOnDestroy",
        value: function ngOnDestroy() {
          if (this.cellTemplate) {
            this.cellTemplate.clear();
          }
        }
      }, {
        key: "checkValueUpdates",
        value: function checkValueUpdates() {
          var value = '';

          if (!this.row || !this.column) {
            value = '';
          } else {
            var val = this.column.$$valueGetter(this.row, this.column.prop);
            var userPipe = this.column.pipe;

            if (userPipe) {
              value = userPipe.transform(val);
            } else if (value !== undefined) {
              value = val;
            }
          }

          if (this.value !== value) {
            this.value = value;
            this.cellContext.value = value;
            this.sanitizedValue = value !== null && value !== undefined ? this.stripHtml(value) : value;
            this.cd.markForCheck();
          }
        }
      }, {
        key: "onFocus",
        value: function onFocus() {
          this.isFocused = true;
        }
      }, {
        key: "onBlur",
        value: function onBlur() {
          this.isFocused = false;
        }
      }, {
        key: "onClick",
        value: function onClick(event) {
          this.activate.emit({
            type: 'click',
            event: event,
            row: this.row,
            group: this.group,
            rowHeight: this.rowHeight,
            column: this.column,
            value: this.value,
            cellElement: this._element
          });
        }
      }, {
        key: "onDblClick",
        value: function onDblClick(event) {
          this.activate.emit({
            type: 'dblclick',
            event: event,
            row: this.row,
            group: this.group,
            rowHeight: this.rowHeight,
            column: this.column,
            value: this.value,
            cellElement: this._element
          });
        }
      }, {
        key: "onKeyDown",
        value: function onKeyDown(event) {
          var keyCode = event.keyCode;
          var isTargetCell = event.target === this._element;
          var isAction = keyCode === Keys["return"] || keyCode === Keys.down || keyCode === Keys.up || keyCode === Keys.left || keyCode === Keys.right;

          if (isAction && isTargetCell) {
            event.preventDefault();
            event.stopPropagation();
            this.activate.emit({
              type: 'keydown',
              event: event,
              row: this.row,
              group: this.group,
              rowHeight: this.rowHeight,
              column: this.column,
              value: this.value,
              cellElement: this._element
            });
          }
        }
      }, {
        key: "onCheckboxChange",
        value: function onCheckboxChange(event) {
          this.activate.emit({
            type: 'checkbox',
            event: event,
            row: this.row,
            group: this.group,
            rowHeight: this.rowHeight,
            column: this.column,
            value: this.value,
            cellElement: this._element,
            treeStatus: 'collapsed'
          });
        }
      }, {
        key: "calcSortDir",
        value: function calcSortDir(sorts) {
          var _this117 = this;

          if (!sorts) {
            return;
          }

          var sort = sorts.find(function (s) {
            return s.prop === _this117.column.prop;
          });

          if (sort) {
            return sort.dir;
          }
        }
      }, {
        key: "stripHtml",
        value: function stripHtml(html) {
          if (!html.replace) {
            return html;
          }

          return html.replace(/<\/?[^>]+(>|$)/g, '');
        }
      }, {
        key: "onTreeAction",
        value: function onTreeAction() {
          this.treeAction.emit(this.row);
        }
      }, {
        key: "calcLeftMargin",
        value: function calcLeftMargin(column, row) {
          var levelIndent = column.treeLevelIndent != null ? column.treeLevelIndent : 50;
          return column.isTreeColumn ? row.level * levelIndent : 0;
        }
      }]);

      return DataTableBodyCellComponent;
    }();

    DataTableBodyCellComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-body-cell',
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush,
        template: "\n    <div class=\"datatable-body-cell-label\" [style.margin-left.px]=\"calcLeftMargin(column, row)\">\n      <label\n        *ngIf=\"column.checkboxable && (!displayCheck || displayCheck(row, column, value))\"\n        class=\"datatable-checkbox\"\n      >\n        <input type=\"checkbox\" [checked]=\"isSelected\" (click)=\"onCheckboxChange($event)\" />\n      </label>\n      <ng-container *ngIf=\"column.isTreeColumn\">\n        <button\n          *ngIf=\"!column.treeToggleTemplate\"\n          class=\"datatable-tree-button\"\n          [disabled]=\"treeStatus === 'disabled'\"\n          (click)=\"onTreeAction()\"\n        >\n          <span>\n            <i *ngIf=\"treeStatus === 'loading'\" class=\"icon datatable-icon-collapse\"></i>\n            <i *ngIf=\"treeStatus === 'collapsed'\" class=\"icon datatable-icon-up\"></i>\n            <i *ngIf=\"treeStatus === 'expanded' || treeStatus === 'disabled'\" class=\"icon datatable-icon-down\"></i>\n          </span>\n        </button>\n        <ng-template\n          *ngIf=\"column.treeToggleTemplate\"\n          [ngTemplateOutlet]=\"column.treeToggleTemplate\"\n          [ngTemplateOutletContext]=\"{ cellContext: cellContext }\"\n        >\n        </ng-template>\n      </ng-container>\n\n      <span *ngIf=\"!column.cellTemplate\" [title]=\"sanitizedValue\" [innerHTML]=\"value\"> </span>\n      <ng-template\n        #cellTemplate\n        *ngIf=\"column.cellTemplate\"\n        [ngTemplateOutlet]=\"column.cellTemplate\"\n        [ngTemplateOutletContext]=\"cellContext\"\n      >\n      </ng-template>\n    </div>\n  "
      }]
    }];

    DataTableBodyCellComponent.ctorParameters = function () {
      return [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]
      }, {
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]
      }];
    };

    DataTableBodyCellComponent.propDecorators = {
      displayCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      group: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      isSelected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      expanded: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowIndex: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      column: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      row: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      sorts: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      treeStatus: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      treeAction: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      cellTemplate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
        args: ['cellTemplate', {
          read: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"],
          "static": true
        }]
      }],
      columnCssClasses: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['class']
      }],
      width: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.width.px']
      }],
      minWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.minWidth.px']
      }],
      maxWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.maxWidth.px']
      }],
      height: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostBinding"],
        args: ['style.height']
      }],
      onFocus: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['focus']
      }],
      onBlur: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['blur']
      }],
      onClick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['click', ['$event']]
      }],
      onDblClick: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['dblclick', ['$event']]
      }],
      onKeyDown: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["HostListener"],
        args: ['keydown', ['$event']]
      }]
    };

    function selectRows(selected, row, comparefn) {
      var selectedIndex = comparefn(row, selected);

      if (selectedIndex > -1) {
        selected.splice(selectedIndex, 1);
      } else {
        selected.push(row);
      }

      return selected;
    }

    function selectRowsBetween(selected, rows, index, prevIndex, comparefn) {
      var reverse = index < prevIndex;

      for (var _i35 = 0; _i35 < rows.length; _i35++) {
        var row = rows[_i35];
        var greater = _i35 >= prevIndex && _i35 <= index;
        var lesser = _i35 <= prevIndex && _i35 >= index;
        var range = {
          start: 0,
          end: 0
        };

        if (reverse) {
          range = {
            start: index,
            end: prevIndex
          };
        } else {
          range = {
            start: prevIndex,
            end: index + 1
          };
        }

        if (reverse && lesser || !reverse && greater) {
          // if in the positive range to be added to `selected`, and
          // not already in the selected array, add it
          if (_i35 >= range.start && _i35 <= range.end) {
            selected.push(row);
          }
        }
      }

      return selected;
    }

    var DataTableSelectionComponent = /*#__PURE__*/function () {
      function DataTableSelectionComponent() {
        _classCallCheck(this, DataTableSelectionComponent);

        this.activate = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.select = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(DataTableSelectionComponent, [{
        key: "selectRow",
        value: function selectRow(event, index, row) {
          var _this$selected3;

          if (!this.selectEnabled) return;
          var chkbox = this.selectionType === SelectionType.checkbox;
          var multi = this.selectionType === SelectionType.multi;
          var multiClick = this.selectionType === SelectionType.multiClick;
          var selected = [];

          if (multi || chkbox || multiClick) {
            if (event.shiftKey) {
              selected = selectRowsBetween([], this.rows, index, this.prevIndex, this.getRowSelectedIdx.bind(this));
            } else if (event.ctrlKey || event.metaKey || multiClick || chkbox) {
              selected = selectRows(_toConsumableArray(this.selected), row, this.getRowSelectedIdx.bind(this));
            } else {
              selected = selectRows([], row, this.getRowSelectedIdx.bind(this));
            }
          } else {
            selected = selectRows([], row, this.getRowSelectedIdx.bind(this));
          }

          if (typeof this.selectCheck === 'function') {
            selected = selected.filter(this.selectCheck.bind(this));
          }

          this.selected.splice(0, this.selected.length);

          (_this$selected3 = this.selected).push.apply(_this$selected3, _toConsumableArray(selected));

          this.prevIndex = index;
          this.select.emit({
            selected: selected
          });
        }
      }, {
        key: "onActivate",
        value: function onActivate(model, index) {
          var type = model.type,
              event = model.event,
              row = model.row;
          var chkbox = this.selectionType === SelectionType.checkbox;
          var select = !chkbox && (type === 'click' || type === 'dblclick') || chkbox && type === 'checkbox';

          if (select) {
            this.selectRow(event, index, row);
          } else if (type === 'keydown') {
            if (event.keyCode === Keys["return"]) {
              this.selectRow(event, index, row);
            } else {
              this.onKeyboardFocus(model);
            }
          }

          this.activate.emit(model);
        }
      }, {
        key: "onKeyboardFocus",
        value: function onKeyboardFocus(model) {
          var keyCode = model.event.keyCode;
          var shouldFocus = keyCode === Keys.up || keyCode === Keys.down || keyCode === Keys.right || keyCode === Keys.left;

          if (shouldFocus) {
            var isCellSelection = this.selectionType === SelectionType.cell;

            if (!model.cellElement || !isCellSelection) {
              this.focusRow(model.rowElement, keyCode);
            } else if (isCellSelection) {
              this.focusCell(model.cellElement, model.rowElement, keyCode, model.cellIndex);
            }
          }
        }
      }, {
        key: "focusRow",
        value: function focusRow(rowElement, keyCode) {
          var nextRowElement = this.getPrevNextRow(rowElement, keyCode);
          if (nextRowElement) nextRowElement.focus();
        }
      }, {
        key: "getPrevNextRow",
        value: function getPrevNextRow(rowElement, keyCode) {
          var parentElement = rowElement.parentElement;

          if (parentElement) {
            var focusElement;

            if (keyCode === Keys.up) {
              focusElement = parentElement.previousElementSibling;
            } else if (keyCode === Keys.down) {
              focusElement = parentElement.nextElementSibling;
            }

            if (focusElement && focusElement.children.length) {
              return focusElement.children[0];
            }
          }
        }
      }, {
        key: "focusCell",
        value: function focusCell(cellElement, rowElement, keyCode, cellIndex) {
          var nextCellElement;

          if (keyCode === Keys.left) {
            nextCellElement = cellElement.previousElementSibling;
          } else if (keyCode === Keys.right) {
            nextCellElement = cellElement.nextElementSibling;
          } else if (keyCode === Keys.up || keyCode === Keys.down) {
            var nextRowElement = this.getPrevNextRow(rowElement, keyCode);

            if (nextRowElement) {
              var children = nextRowElement.getElementsByClassName('datatable-body-cell');
              if (children.length) nextCellElement = children[cellIndex];
            }
          }

          if (nextCellElement) nextCellElement.focus();
        }
      }, {
        key: "getRowSelected",
        value: function getRowSelected(row) {
          return this.getRowSelectedIdx(row, this.selected) > -1;
        }
      }, {
        key: "getRowSelectedIdx",
        value: function getRowSelectedIdx(row, selected) {
          var _this118 = this;

          if (!selected || !selected.length) return -1;
          var rowId = this.rowIdentity(row);
          return selected.findIndex(function (r) {
            var id = _this118.rowIdentity(r);

            return id === rowId;
          });
        }
      }]);

      return DataTableSelectionComponent;
    }();

    DataTableSelectionComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-selection',
        template: " <ng-content></ng-content> ",
        changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectionStrategy"].OnPush
      }]
    }];
    DataTableSelectionComponent.propDecorators = {
      rows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selected: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectEnabled: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectionType: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowIdentity: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      selectCheck: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      activate: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }],
      select: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
      }]
    };

    function defaultSumFunc(cells) {
      var cellsWithValues = cells.filter(function (cell) {
        return !!cell;
      });

      if (!cellsWithValues.length) {
        return null;
      }

      if (cellsWithValues.some(function (cell) {
        return typeof cell !== 'number';
      })) {
        return null;
      }

      return cellsWithValues.reduce(function (res, cell) {
        return res + cell;
      });
    }

    function noopSumFunc(cells) {
      return null;
    }

    var DataTableSummaryRowComponent = /*#__PURE__*/function () {
      function DataTableSummaryRowComponent() {
        _classCallCheck(this, DataTableSummaryRowComponent);

        this.summaryRow = {};
      }

      _createClass(DataTableSummaryRowComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges() {
          if (!this.columns || !this.rows) {
            return;
          }

          this.updateInternalColumns();
          this.updateValues();
        }
      }, {
        key: "updateInternalColumns",
        value: function updateInternalColumns() {
          this._internalColumns = this.columns.map(function (col) {
            return Object.assign(Object.assign({}, col), {
              cellTemplate: col.summaryTemplate
            });
          });
        }
      }, {
        key: "updateValues",
        value: function updateValues() {
          var _this119 = this;

          this.summaryRow = {};
          this.columns.filter(function (col) {
            return !col.summaryTemplate;
          }).forEach(function (col) {
            var cellsFromSingleColumn = _this119.rows.map(function (row) {
              return row[col.prop];
            });

            var sumFunc = _this119.getSummaryFunction(col);

            _this119.summaryRow[col.prop] = col.pipe ? col.pipe.transform(sumFunc(cellsFromSingleColumn)) : sumFunc(cellsFromSingleColumn);
          });
        }
      }, {
        key: "getSummaryFunction",
        value: function getSummaryFunction(column) {
          if (column.summaryFunc === undefined) {
            return defaultSumFunc;
          } else if (column.summaryFunc === null) {
            return noopSumFunc;
          } else {
            return column.summaryFunc;
          }
        }
      }]);

      return DataTableSummaryRowComponent;
    }();

    DataTableSummaryRowComponent.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
      args: [{
        selector: 'datatable-summary-row',
        template: "\n    <datatable-body-row\n      *ngIf=\"summaryRow && _internalColumns\"\n      tabindex=\"-1\"\n      [innerWidth]=\"innerWidth\"\n      [offsetX]=\"offsetX\"\n      [columns]=\"_internalColumns\"\n      [rowHeight]=\"rowHeight\"\n      [row]=\"summaryRow\"\n      [rowIndex]=\"-1\"\n    >\n    </datatable-body-row>\n  ",
        host: {
          "class": 'datatable-summary-row'
        }
      }]
    }];
    DataTableSummaryRowComponent.propDecorators = {
      rows: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      columns: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      rowHeight: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      offsetX: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }],
      innerWidth: [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
      }]
    };

    var NgxDatatableModule = /*#__PURE__*/function () {
      function NgxDatatableModule() {
        _classCallCheck(this, NgxDatatableModule);
      }

      _createClass(NgxDatatableModule, null, [{
        key: "forRoot",
        value:
        /**
         * Configure global configuration via INgxDatatableConfig
         * @param configuration
         */
        function forRoot(configuration) {
          return {
            ngModule: NgxDatatableModule,
            providers: [{
              provide: 'configuration',
              useValue: configuration
            }]
          };
        }
      }]);

      return NgxDatatableModule;
    }();

    NgxDatatableModule.decorators = [{
      type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
      args: [{
        imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]],
        providers: [ScrollbarHelper, DimensionsHelper, ColumnChangesService],
        declarations: [DataTableFooterTemplateDirective, VisibilityDirective, DraggableDirective, ResizeableDirective, OrderableDirective, LongPressDirective, ScrollerComponent, DatatableComponent, DataTableColumnDirective, DataTableHeaderComponent, DataTableHeaderCellComponent, DataTableBodyComponent, DataTableFooterComponent, DataTablePagerComponent, ProgressBarComponent, DataTableBodyRowComponent, DataTableRowWrapperComponent, DatatableRowDetailDirective, DatatableGroupHeaderDirective, DatatableRowDetailTemplateDirective, DataTableBodyCellComponent, DataTableSelectionComponent, DataTableColumnHeaderDirective, DataTableColumnCellDirective, DataTableColumnCellTreeToggle, DatatableFooterDirective, DatatableGroupHeaderTemplateDirective, DataTableSummaryRowComponent],
        exports: [DatatableComponent, DatatableRowDetailDirective, DatatableGroupHeaderDirective, DatatableRowDetailTemplateDirective, DataTableColumnDirective, DataTableColumnHeaderDirective, DataTableColumnCellDirective, DataTableColumnCellTreeToggle, DataTableFooterTemplateDirective, DatatableFooterDirective, DataTablePagerComponent, DatatableGroupHeaderTemplateDirective]
      }]
    }];
    var ClickType;

    (function (ClickType) {
      ClickType["single"] = "single";
      ClickType["double"] = "double";
    })(ClickType || (ClickType = {}));

    if (typeof document !== 'undefined' && !document.elementsFromPoint) {
      document.elementsFromPoint = elementsFromPoint;
    }
    /*tslint:disable*/

    /**
     * Polyfill for `elementsFromPoint`
     *
     * https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint
     * https://gist.github.com/iddan/54d5d9e58311b0495a91bf06de661380
     * https://gist.github.com/oslego/7265412
     */


    function elementsFromPoint(x, y) {
      var elements = [];
      var previousPointerEvents = [];
      var current; // TODO: window.getComputedStyle should be used with inferred type (Element)

      var i;
      var d; //if (document === undefined) return elements;
      // get all elements via elementFromPoint, and remove them from hit-testing in order

      while ((current = document.elementFromPoint(x, y)) && elements.indexOf(current) === -1 && current != null) {
        // push the element and its current style
        elements.push(current);
        previousPointerEvents.push({
          value: current.style.getPropertyValue('pointer-events'),
          priority: current.style.getPropertyPriority('pointer-events')
        }); // add "pointer-events: none", to get to the underlying element

        current.style.setProperty('pointer-events', 'none', 'important');
      } // restore the previous pointer-events values


      for (i = previousPointerEvents.length; d = previousPointerEvents[--i];) {
        elements[i].style.setProperty('pointer-events', d.value ? d.value : '', d.priority);
      } // return our results


      return elements;
    }
    /*tslint:enable*/

    /*
     * Public API Surface of ngx-datatable
     */

    /**
     * Generated bundle index. Do not edit.
     */
    //# sourceMappingURL=swimlane-ngx-datatable.js.map

    /***/

  },

  /***/
  "./node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory.js ***!
    \**********************************************************************************/

  /*! exports provided: NgxDatatableModuleNgFactory, RenderType_DatatableComponent, View_DatatableComponent_0, View_DatatableComponent_Host_0, DatatableComponentNgFactory, RenderType_DataTableHeaderComponent, View_DataTableHeaderComponent_0, View_DataTableHeaderComponent_Host_0, DataTableHeaderComponentNgFactory, RenderType_DataTableHeaderCellComponent, View_DataTableHeaderCellComponent_0, View_DataTableHeaderCellComponent_Host_0, DataTableHeaderCellComponentNgFactory, RenderType_DataTableBodyComponent, View_DataTableBodyComponent_0, View_DataTableBodyComponent_Host_0, DataTableBodyComponentNgFactory, RenderType_DataTableBodyCellComponent, View_DataTableBodyCellComponent_0, View_DataTableBodyCellComponent_Host_0, DataTableBodyCellComponentNgFactory, RenderType_DataTableBodyRowComponent, View_DataTableBodyRowComponent_0, View_DataTableBodyRowComponent_Host_0, DataTableBodyRowComponentNgFactory, RenderType_ProgressBarComponent, View_ProgressBarComponent_0, View_ProgressBarComponent_Host_0, ProgressBarComponentNgFactory, RenderType_ScrollerComponent, View_ScrollerComponent_0, View_ScrollerComponent_Host_0, ScrollerComponentNgFactory, RenderType_DataTableRowWrapperComponent, View_DataTableRowWrapperComponent_0, View_DataTableRowWrapperComponent_Host_0, DataTableRowWrapperComponentNgFactory, RenderType_DataTableSelectionComponent, View_DataTableSelectionComponent_0, View_DataTableSelectionComponent_Host_0, DataTableSelectionComponentNgFactory, RenderType_DataTableSummaryRowComponent, View_DataTableSummaryRowComponent_0, View_DataTableSummaryRowComponent_Host_0, DataTableSummaryRowComponentNgFactory, RenderType_DataTableFooterComponent, View_DataTableFooterComponent_0, View_DataTableFooterComponent_Host_0, DataTableFooterComponentNgFactory, RenderType_DataTablePagerComponent, View_DataTablePagerComponent_0, View_DataTablePagerComponent_Host_0, DataTablePagerComponentNgFactory */

  /***/
  function node_modulesSwimlaneNgxDatatableSwimlaneNgxDatatableNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NgxDatatableModuleNgFactory", function () {
      return NgxDatatableModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DatatableComponent", function () {
      return RenderType_DatatableComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DatatableComponent_0", function () {
      return View_DatatableComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DatatableComponent_Host_0", function () {
      return View_DatatableComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableComponentNgFactory", function () {
      return DatatableComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableHeaderComponent", function () {
      return RenderType_DataTableHeaderComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableHeaderComponent_0", function () {
      return View_DataTableHeaderComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableHeaderComponent_Host_0", function () {
      return View_DataTableHeaderComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableHeaderComponentNgFactory", function () {
      return DataTableHeaderComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableHeaderCellComponent", function () {
      return RenderType_DataTableHeaderCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableHeaderCellComponent_0", function () {
      return View_DataTableHeaderCellComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableHeaderCellComponent_Host_0", function () {
      return View_DataTableHeaderCellComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableHeaderCellComponentNgFactory", function () {
      return DataTableHeaderCellComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableBodyComponent", function () {
      return RenderType_DataTableBodyComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableBodyComponent_0", function () {
      return View_DataTableBodyComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableBodyComponent_Host_0", function () {
      return View_DataTableBodyComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableBodyComponentNgFactory", function () {
      return DataTableBodyComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableBodyCellComponent", function () {
      return RenderType_DataTableBodyCellComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableBodyCellComponent_0", function () {
      return View_DataTableBodyCellComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableBodyCellComponent_Host_0", function () {
      return View_DataTableBodyCellComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableBodyCellComponentNgFactory", function () {
      return DataTableBodyCellComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableBodyRowComponent", function () {
      return RenderType_DataTableBodyRowComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableBodyRowComponent_0", function () {
      return View_DataTableBodyRowComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableBodyRowComponent_Host_0", function () {
      return View_DataTableBodyRowComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableBodyRowComponentNgFactory", function () {
      return DataTableBodyRowComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ProgressBarComponent", function () {
      return RenderType_ProgressBarComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ProgressBarComponent_0", function () {
      return View_ProgressBarComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ProgressBarComponent_Host_0", function () {
      return View_ProgressBarComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ProgressBarComponentNgFactory", function () {
      return ProgressBarComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ScrollerComponent", function () {
      return RenderType_ScrollerComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ScrollerComponent_0", function () {
      return View_ScrollerComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ScrollerComponent_Host_0", function () {
      return View_ScrollerComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ScrollerComponentNgFactory", function () {
      return ScrollerComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableRowWrapperComponent", function () {
      return RenderType_DataTableRowWrapperComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableRowWrapperComponent_0", function () {
      return View_DataTableRowWrapperComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableRowWrapperComponent_Host_0", function () {
      return View_DataTableRowWrapperComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableRowWrapperComponentNgFactory", function () {
      return DataTableRowWrapperComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableSelectionComponent", function () {
      return RenderType_DataTableSelectionComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableSelectionComponent_0", function () {
      return View_DataTableSelectionComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableSelectionComponent_Host_0", function () {
      return View_DataTableSelectionComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableSelectionComponentNgFactory", function () {
      return DataTableSelectionComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableSummaryRowComponent", function () {
      return RenderType_DataTableSummaryRowComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableSummaryRowComponent_0", function () {
      return View_DataTableSummaryRowComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableSummaryRowComponent_Host_0", function () {
      return View_DataTableSummaryRowComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableSummaryRowComponentNgFactory", function () {
      return DataTableSummaryRowComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTableFooterComponent", function () {
      return RenderType_DataTableFooterComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableFooterComponent_0", function () {
      return View_DataTableFooterComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTableFooterComponent_Host_0", function () {
      return View_DataTableFooterComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTableFooterComponentNgFactory", function () {
      return DataTableFooterComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DataTablePagerComponent", function () {
      return RenderType_DataTablePagerComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTablePagerComponent_0", function () {
      return View_DataTablePagerComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DataTablePagerComponent_Host_0", function () {
      return View_DataTablePagerComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataTablePagerComponentNgFactory", function () {
      return DataTablePagerComponentNgFactory;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @swimlane/ngx-datatable */
    "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var NgxDatatableModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["NgxDatatableModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, []], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"], [_angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DimensionsHelper"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DimensionsHelper"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ColumnChangesService"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ColumnChangesService"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["NgxDatatableModule"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["NgxDatatableModule"], [])]);
    });

    var styles_DatatableComponent = [".ngx-datatable{display:block;justify-content:center;overflow:hidden;position:relative;transform:translateZ(0)}.ngx-datatable [hidden]{display:none!important}.ngx-datatable *,.ngx-datatable :after,.ngx-datatable :before{box-sizing:border-box}.ngx-datatable.scroll-vertical .datatable-body{overflow-y:auto}.ngx-datatable.scroll-vertical.virtualized .datatable-body .datatable-row-wrapper{position:absolute}.ngx-datatable.scroll-horz .datatable-body{-webkit-overflow-scrolling:touch;overflow-x:auto}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner{white-space:nowrap}.ngx-datatable.fixed-header .datatable-header .datatable-header-inner .datatable-header-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row{white-space:nowrap}.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-cell,.ngx-datatable.fixed-row .datatable-scroll .datatable-body-row .datatable-body-group-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ngx-datatable .datatable-body-row,.ngx-datatable .datatable-header-inner,.ngx-datatable .datatable-row-center{-o-flex-flow:row;display:flex;flex-direction:row;flex-flow:row}.ngx-datatable .datatable-body-cell,.ngx-datatable .datatable-header-cell{display:inline-block;line-height:1.625;overflow-x:hidden;vertical-align:top}.ngx-datatable .datatable-body-cell:focus,.ngx-datatable .datatable-header-cell:focus{outline:none}.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{z-index:9}.ngx-datatable .datatable-row-center,.ngx-datatable .datatable-row-group,.ngx-datatable .datatable-row-left,.ngx-datatable .datatable-row-right{position:relative}.ngx-datatable .datatable-header{display:block;overflow:hidden}.ngx-datatable .datatable-header .datatable-header-inner{-webkit-align-items:stretch;align-items:stretch}.ngx-datatable .datatable-header .datatable-header-cell{display:inline-block;position:relative}.ngx-datatable .datatable-header .datatable-header-cell.sortable .datatable-header-cell-wrapper{cursor:pointer}.ngx-datatable .datatable-header .datatable-header-cell.longpress .datatable-header-cell-wrapper{cursor:move}.ngx-datatable .datatable-header .datatable-header-cell .sort-btn{cursor:pointer;display:inline-block;line-height:100%;vertical-align:middle}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell .resize-handle--not-resizable{bottom:0;display:inline-block;padding:0 4px;position:absolute;right:0;top:0;visibility:hidden;width:5px}.ngx-datatable .datatable-header .datatable-header-cell .resize-handle{cursor:ew-resize}.ngx-datatable .datatable-header .datatable-header-cell.resizeable:hover .resize-handle,.ngx-datatable .datatable-header .datatable-header-cell:hover .resize-handle--not-resizable{visibility:visible}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker{bottom:0;position:absolute;top:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromLeft{right:0}.ngx-datatable .datatable-header .datatable-header-cell .targetMarker.dragFromRight{left:0}.ngx-datatable .datatable-header .datatable-header-cell .datatable-header-cell-template-wrap{height:inherit}.ngx-datatable .datatable-body{display:block;position:relative;z-index:10}.ngx-datatable .datatable-body .datatable-scroll{display:inline-block}.ngx-datatable .datatable-body .datatable-row-detail{overflow-y:hidden}.ngx-datatable .datatable-body .datatable-row-wrapper{display:flex;flex-direction:column}.ngx-datatable .datatable-body .datatable-body-row{outline:none}.ngx-datatable .datatable-body .datatable-body-row>div{display:flex}.ngx-datatable .datatable-footer{display:block;overflow:auto;width:100%}.ngx-datatable .datatable-footer .datatable-footer-inner{align-items:center;display:flex;width:100%}.ngx-datatable .datatable-footer .selected-count .page-count{flex:1 1 40%}.ngx-datatable .datatable-footer .selected-count .datatable-pager{flex:1 1 60%}.ngx-datatable .datatable-footer .page-count{flex:1 1 20%}.ngx-datatable .datatable-footer .datatable-pager{flex:1 1 80%;text-align:right}.ngx-datatable .datatable-footer .datatable-pager .pager,.ngx-datatable .datatable-footer .datatable-pager .pager li{display:inline-block;list-style:none;margin:0;padding:0}.ngx-datatable .datatable-footer .datatable-pager .pager li,.ngx-datatable .datatable-footer .datatable-pager .pager li a{outline:none}.ngx-datatable .datatable-footer .datatable-pager .pager li a{cursor:pointer;display:inline-block}.ngx-datatable .datatable-footer .datatable-pager .pager li.disabled a{cursor:not-allowed}"];

    var RenderType_DatatableComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DatatableComponent,
      data: {}
    });

    function View_DatatableComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "datatable-header", [["class", "datatable-header"]], [[4, "height", null], [4, "width", null]], [[null, "sort"], [null, "resize"], [null, "reorder"], [null, "select"], [null, "columnContextmenu"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("sort" === en) {
          var pd_0 = _co.onColumnSort($event) !== false;
          ad = pd_0 && ad;
        }

        if ("resize" === en) {
          var pd_1 = _co.onColumnResize($event) !== false;
          ad = pd_1 && ad;
        }

        if ("reorder" === en) {
          var pd_2 = _co.onColumnReorder($event) !== false;
          ad = pd_2 && ad;
        }

        if ("select" === en) {
          var pd_3 = _co.onHeaderSelect($event) !== false;
          ad = pd_3 && ad;
        }

        if ("columnContextmenu" === en) {
          var pd_4 = _co.onColumnContextmenu($event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, View_DataTableHeaderComponent_0, RenderType_DataTableHeaderComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, [[2, 4]], 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableHeaderComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        sortAscendingIcon: [0, "sortAscendingIcon"],
        sortDescendingIcon: [1, "sortDescendingIcon"],
        sortUnsetIcon: [2, "sortUnsetIcon"],
        scrollbarH: [3, "scrollbarH"],
        dealsWithGroup: [4, "dealsWithGroup"],
        targetMarkerTemplate: [5, "targetMarkerTemplate"],
        innerWidth: [6, "innerWidth"],
        sorts: [7, "sorts"],
        sortType: [8, "sortType"],
        allRowsSelected: [9, "allRowsSelected"],
        selectionType: [10, "selectionType"],
        reorderable: [11, "reorderable"],
        headerHeight: [12, "headerHeight"],
        columns: [13, "columns"],
        offsetX: [14, "offsetX"]
      }, {
        sort: "sort",
        reorder: "reorder",
        resize: "resize",
        select: "select",
        columnContextmenu: "columnContextmenu"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpid"](131072, _angular_common__WEBPACK_IMPORTED_MODULE_2__["AsyncPipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]])], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.cssClasses.sortAscending;
        var currVal_3 = _co.cssClasses.sortDescending;
        var currVal_4 = _co.cssClasses.sortUnset;
        var currVal_5 = _co.scrollbarH;
        var currVal_6 = _co.groupedRows !== undefined;
        var currVal_7 = _co.targetMarkerTemplate;
        var currVal_8 = _co._innerWidth;
        var currVal_9 = _co.sorts;
        var currVal_10 = _co.sortType;
        var currVal_11 = _co.allRowsSelected;
        var currVal_12 = _co.selectionType;
        var currVal_13 = _co.reorderable;
        var currVal_14 = _co.headerHeight;
        var currVal_15 = _co._internalColumns;

        var currVal_16 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵunv"](_v, 1, 14, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).transform(_co._offsetX));

        _ck(_v, 1, 1, [currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16]);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).headerHeight;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).headerWidth;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_DatatableComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-footer", [["class", "datatable-footer"]], null, [[null, "page"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("page" === en) {
          var pd_0 = _co.onFooterPage($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_DataTableFooterComponent_0, RenderType_DataTableFooterComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableFooterComponent"], [], {
        footerHeight: [0, "footerHeight"],
        rowCount: [1, "rowCount"],
        pageSize: [2, "pageSize"],
        offset: [3, "offset"],
        pagerLeftArrowIcon: [4, "pagerLeftArrowIcon"],
        pagerRightArrowIcon: [5, "pagerRightArrowIcon"],
        pagerPreviousIcon: [6, "pagerPreviousIcon"],
        pagerNextIcon: [7, "pagerNextIcon"],
        totalMessage: [8, "totalMessage"],
        footerTemplate: [9, "footerTemplate"],
        selectedCount: [10, "selectedCount"],
        selectedMessage: [11, "selectedMessage"]
      }, {
        page: "page"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.footerHeight;
        var currVal_1 = _co.rowCount;
        var currVal_2 = _co.pageSize;
        var currVal_3 = _co.offset;
        var currVal_4 = _co.cssClasses.pagerLeftArrow;
        var currVal_5 = _co.cssClasses.pagerRightArrow;
        var currVal_6 = _co.cssClasses.pagerPrevious;
        var currVal_7 = _co.cssClasses.pagerNext;
        var currVal_8 = _co.messages.totalMessage;
        var currVal_9 = _co.footer;
        var currVal_10 = _co.selected.length;
        var currVal_11 = !!_co.selectionType && _co.messages.selectedMessage;

        _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]);
      }, null);
    }

    function View_DatatableComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        bodyComponent: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 2, {
        headerComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 8, "div", [["visibilityObserver", ""]], [[2, "visible", null]], [[null, "visible"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("visible" === en) {
          var pd_0 = _co.recalculate() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 212992, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["VisibilityDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"]], null, {
        visible: "visible"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 2, "datatable-body", [["class", "datatable-body"]], [[4, "width", null], [4, "height", null]], [[null, "page"], [null, "activate"], [null, "rowContextmenu"], [null, "select"], [null, "scroll"], [null, "treeAction"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("page" === en) {
          var pd_0 = _co.onBodyPage($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.activate.emit($event) !== false;
          ad = pd_1 && ad;
        }

        if ("rowContextmenu" === en) {
          var pd_2 = _co.onRowContextmenu($event) !== false;
          ad = pd_2 && ad;
        }

        if ("select" === en) {
          var pd_3 = _co.onBodySelect($event) !== false;
          ad = pd_3 && ad;
        }

        if ("scroll" === en) {
          var pd_4 = _co.onBodyScroll($event) !== false;
          ad = pd_4 && ad;
        }

        if ("treeAction" === en) {
          var pd_5 = _co.onTreeAction($event) !== false;
          ad = pd_5 && ad;
        }

        return ad;
      }, View_DataTableBodyComponent_0, RenderType_DataTableBodyComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 245760, [[1, 4]], 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        scrollbarV: [0, "scrollbarV"],
        scrollbarH: [1, "scrollbarH"],
        loadingIndicator: [2, "loadingIndicator"],
        externalPaging: [3, "externalPaging"],
        rowHeight: [4, "rowHeight"],
        offsetX: [5, "offsetX"],
        emptyMessage: [6, "emptyMessage"],
        selectionType: [7, "selectionType"],
        selected: [8, "selected"],
        rowIdentity: [9, "rowIdentity"],
        rowDetail: [10, "rowDetail"],
        groupHeader: [11, "groupHeader"],
        selectCheck: [12, "selectCheck"],
        displayCheck: [13, "displayCheck"],
        trackByProp: [14, "trackByProp"],
        rowClass: [15, "rowClass"],
        groupedRows: [16, "groupedRows"],
        groupExpansionDefault: [17, "groupExpansionDefault"],
        innerWidth: [18, "innerWidth"],
        groupRowsBy: [19, "groupRowsBy"],
        virtualization: [20, "virtualization"],
        summaryRow: [21, "summaryRow"],
        summaryPosition: [22, "summaryPosition"],
        summaryHeight: [23, "summaryHeight"],
        pageSize: [24, "pageSize"],
        rows: [25, "rows"],
        columns: [26, "columns"],
        offset: [27, "offset"],
        rowCount: [28, "rowCount"],
        bodyHeight: [29, "bodyHeight"]
      }, {
        scroll: "scroll",
        page: "page",
        activate: "activate",
        select: "select",
        rowContextmenu: "rowContextmenu",
        treeAction: "treeAction"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpid"](131072, _angular_common__WEBPACK_IMPORTED_MODULE_2__["AsyncPipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]]), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        _ck(_v, 3, 0);

        var currVal_1 = _co.headerHeight;

        _ck(_v, 5, 0, currVal_1);

        var currVal_4 = _co.scrollbarV;
        var currVal_5 = _co.scrollbarH;
        var currVal_6 = _co.loadingIndicator;
        var currVal_7 = _co.externalPaging;
        var currVal_8 = _co.rowHeight;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵunv"](_v, 7, 5, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 8).transform(_co._offsetX));

        var currVal_10 = _co.messages.emptyMessage;
        var currVal_11 = _co.selectionType;
        var currVal_12 = _co.selected;
        var currVal_13 = _co.rowIdentity;
        var currVal_14 = _co.rowDetail;
        var currVal_15 = _co.groupHeader;
        var currVal_16 = _co.selectCheck;
        var currVal_17 = _co.displayCheck;
        var currVal_18 = _co.trackByProp;
        var currVal_19 = _co.rowClass;
        var currVal_20 = _co.groupedRows;
        var currVal_21 = _co.groupExpansionDefault;
        var currVal_22 = _co._innerWidth;
        var currVal_23 = _co.groupRowsBy;
        var currVal_24 = _co.virtualization;
        var currVal_25 = _co.summaryRow;
        var currVal_26 = _co.summaryPosition;
        var currVal_27 = _co.summaryHeight;
        var currVal_28 = _co.pageSize;
        var currVal_29 = _co._internalRows;
        var currVal_30 = _co._internalColumns;
        var currVal_31 = _co.offset;
        var currVal_32 = _co.rowCount;
        var currVal_33 = _co.bodyHeight;

        _ck(_v, 7, 1, [currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30, currVal_31, currVal_32, currVal_33]);

        var currVal_34 = _co.footerHeight;

        _ck(_v, 10, 0, currVal_34);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).isVisible;

        _ck(_v, 2, 0, currVal_0);

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).bodyWidth;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 7).bodyHeight;

        _ck(_v, 6, 0, currVal_2, currVal_3);
      });
    }

    function View_DatatableComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 5, "ngx-datatable", [["class", "ngx-datatable"]], [[2, "fixed-header", null], [2, "fixed-row", null], [2, "scroll-vertical", null], [2, "virtualized", null], [2, "scroll-horz", null], [2, "selectable", null], [2, "checkbox-selection", null], [2, "cell-selection", null], [2, "single-selection", null], [2, "multi-selection", null], [2, "multi-click-selection", null]], [["window", "resize"]], function (_v, en, $event) {
        var ad = true;

        if ("window:resize" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onWindowResize() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_DatatableComponent_0, RenderType_DatatableComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 5750784, null, 4, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DatatableComponent"], [[1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"]], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DimensionsHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ColumnChangesService"], [2, "configuration"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        columnTemplates: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 2, {
        rowDetail: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 3, {
        groupHeader: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 4, {
        footer: 0
      })], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isFixedHeader;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isFixedRow;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isVertScroll;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isVirtualized;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isHorScroll;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isSelectable;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isCheckboxSelection;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isCellSelection;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isSingleSelection;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isMultiSelection;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).isMultiClickSelection;

        _ck(_v, 0, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10]);
      });
    }

    var DatatableComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ngx-datatable", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DatatableComponent"], View_DatatableComponent_Host_0, {
      targetMarkerTemplate: "targetMarkerTemplate",
      rows: "rows",
      groupRowsBy: "groupRowsBy",
      groupedRows: "groupedRows",
      columns: "columns",
      selected: "selected",
      scrollbarV: "scrollbarV",
      scrollbarH: "scrollbarH",
      rowHeight: "rowHeight",
      columnMode: "columnMode",
      headerHeight: "headerHeight",
      footerHeight: "footerHeight",
      externalPaging: "externalPaging",
      externalSorting: "externalSorting",
      limit: "limit",
      count: "count",
      offset: "offset",
      loadingIndicator: "loadingIndicator",
      selectionType: "selectionType",
      reorderable: "reorderable",
      swapColumns: "swapColumns",
      sortType: "sortType",
      sorts: "sorts",
      cssClasses: "cssClasses",
      messages: "messages",
      rowClass: "rowClass",
      selectCheck: "selectCheck",
      displayCheck: "displayCheck",
      groupExpansionDefault: "groupExpansionDefault",
      trackByProp: "trackByProp",
      selectAllRowsOnPage: "selectAllRowsOnPage",
      virtualization: "virtualization",
      treeFromRelation: "treeFromRelation",
      treeToRelation: "treeToRelation",
      summaryRow: "summaryRow",
      summaryHeight: "summaryHeight",
      summaryPosition: "summaryPosition",
      rowIdentity: "rowIdentity"
    }, {
      scroll: "scroll",
      activate: "activate",
      select: "select",
      sort: "sort",
      page: "page",
      reorder: "reorder",
      resize: "resize",
      tableContextmenu: "tableContextmenu",
      treeAction: "treeAction"
    }, []);

    var styles_DataTableHeaderComponent = [];

    var RenderType_DataTableHeaderComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableHeaderComponent,
      data: {}
    });

    function View_DataTableHeaderComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, "datatable-header-cell", [["class", "datatable-header-cell"], ["draggable", ""], ["long-press", ""], ["resizeable", ""]], [[2, "resizeable", null], [2, "press", null], [2, "longpress", null], [4, "height", "px"], [8, "className", 0], [1, "title", 0], [4, "minWidth", "px"], [4, "maxWidth", "px"], [4, "width", "px"]], [[null, "resize"], [null, "longPressStart"], [null, "longPressEnd"], [null, "sort"], [null, "select"], [null, "columnContextmenu"], [null, "mousedown"], [null, "contextmenu"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mousedown" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onMousedown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("mousedown" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).onMouseDown($event) !== false;
          ad = pd_1 && ad;
        }

        if ("contextmenu" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).onContextmenu($event) !== false;
          ad = pd_2 && ad;
        }

        if ("resize" === en) {
          var pd_3 = _co.onColumnResized($event, _v.context.$implicit) !== false;
          ad = pd_3 && ad;
        }

        if ("longPressStart" === en) {
          var pd_4 = _co.onLongPressStart($event) !== false;
          ad = pd_4 && ad;
        }

        if ("longPressEnd" === en) {
          var pd_5 = _co.onLongPressEnd($event) !== false;
          ad = pd_5 && ad;
        }

        if ("sort" === en) {
          var pd_6 = _co.onSort($event) !== false;
          ad = pd_6 && ad;
        }

        if ("select" === en) {
          var pd_7 = _co.select.emit($event) !== false;
          ad = pd_7 && ad;
        }

        if ("columnContextmenu" === en) {
          var pd_8 = _co.columnContextmenu.emit($event) !== false;
          ad = pd_8 && ad;
        }

        return ad;
      }, View_DataTableHeaderCellComponent_0, RenderType_DataTableHeaderCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 671744, [[1, 4]], 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DraggableDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        dragEventTarget: [0, "dragEventTarget"],
        dragModel: [1, "dragModel"],
        dragX: [2, "dragX"],
        dragY: [3, "dragY"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 4341760, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ResizeableDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        resizeEnabled: [0, "resizeEnabled"]
      }, {
        resize: "resize"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 147456, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["LongPressDirective"], [], {
        pressEnabled: [0, "pressEnabled"],
        pressModel: [1, "pressModel"]
      }, {
        longPressStart: "longPressStart",
        longPressEnd: "longPressEnd"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 114688, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableHeaderCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        sortType: [0, "sortType"],
        sortAscendingIcon: [1, "sortAscendingIcon"],
        sortDescendingIcon: [2, "sortDescendingIcon"],
        sortUnsetIcon: [3, "sortUnsetIcon"],
        isTarget: [4, "isTarget"],
        targetMarkerTemplate: [5, "targetMarkerTemplate"],
        targetMarkerContext: [6, "targetMarkerContext"],
        allRowsSelected: [7, "allRowsSelected"],
        selectionType: [8, "selectionType"],
        column: [9, "column"],
        headerHeight: [10, "headerHeight"],
        sorts: [11, "sorts"]
      }, {
        sort: "sort",
        select: "select",
        columnContextmenu: "columnContextmenu"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_9 = _co.dragEventTarget;
        var currVal_10 = _v.context.$implicit;
        var currVal_11 = _co.reorderable && _v.context.$implicit.draggable && _v.context.$implicit.dragging;
        var currVal_12 = false;

        _ck(_v, 1, 0, currVal_9, currVal_10, currVal_11, currVal_12);

        var currVal_13 = _v.context.$implicit.resizeable;

        _ck(_v, 2, 0, currVal_13);

        var currVal_14 = _co.reorderable && _v.context.$implicit.draggable;
        var currVal_15 = _v.context.$implicit;

        _ck(_v, 3, 0, currVal_14, currVal_15);

        var currVal_16 = _co.sortType;
        var currVal_17 = _co.sortAscendingIcon;
        var currVal_18 = _co.sortDescendingIcon;
        var currVal_19 = _co.sortUnsetIcon;
        var currVal_20 = _v.context.$implicit.isTarget;
        var currVal_21 = _co.targetMarkerTemplate;
        var currVal_22 = _v.context.$implicit.targetMarkerContext;
        var currVal_23 = _co.allRowsSelected;
        var currVal_24 = _co.selectionType;
        var currVal_25 = _v.context.$implicit;
        var currVal_26 = _co.headerHeight;
        var currVal_27 = _co.sorts;

        _ck(_v, 4, 1, [currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27]);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).resizeEnabled;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).press;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 3).isLongPress;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).headerHeight;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).columnCssClasses;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).name;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).minWidth;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).maxWidth;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 4).width;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      });
    }

    function View_DataTableHeaderComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "div", [], [[8, "className", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co._styleByGroup[_v.context.$implicit.type];

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.columns;
        var currVal_3 = _co.columnTrackingFn;

        _ck(_v, 3, 0, currVal_2, currVal_3);
      }, function (_ck, _v) {
        var currVal_0 = "datatable-row-" + _v.context.$implicit.type;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableHeaderComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, "div", [["class", "datatable-header-inner"], ["orderable", ""]], [[4, "width", "px"]], [[null, "reorder"], [null, "targetChanged"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("reorder" === en) {
          var pd_0 = _co.onColumnReordered($event) !== false;
          ad = pd_0 && ad;
        }

        if ("targetChanged" === en) {
          var pd_1 = _co.onTargetChanged($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 1196032, null, 1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["OrderableDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]], null, {
        reorder: "reorder",
        targetChanged: "targetChanged"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](603979776, 1, {
        draggables: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co._columnsByPin;
        var currVal_2 = _co.trackByGroups;

        _ck(_v, 4, 0, currVal_1, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co._columnGroupWidths.total;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableHeaderComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-header", [["class", "datatable-header"]], [[4, "height", null], [4, "width", null]], null, null, View_DataTableHeaderComponent_0, RenderType_DataTableHeaderComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 180224, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableHeaderComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).headerHeight;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).headerWidth;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    var DataTableHeaderComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-header", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableHeaderComponent"], View_DataTableHeaderComponent_Host_0, {
      sortAscendingIcon: "sortAscendingIcon",
      sortDescendingIcon: "sortDescendingIcon",
      sortUnsetIcon: "sortUnsetIcon",
      scrollbarH: "scrollbarH",
      dealsWithGroup: "dealsWithGroup",
      targetMarkerTemplate: "targetMarkerTemplate",
      innerWidth: "innerWidth",
      sorts: "sorts",
      sortType: "sortType",
      allRowsSelected: "allRowsSelected",
      selectionType: "selectionType",
      reorderable: "reorderable",
      headerHeight: "headerHeight",
      columns: "columns",
      offsetX: "offsetX"
    }, {
      sort: "sort",
      reorder: "reorder",
      resize: "resize",
      select: "select",
      columnContextmenu: "columnContextmenu"
    }, []);

    var styles_DataTableHeaderCellComponent = [];

    var RenderType_DataTableHeaderCellComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableHeaderCellComponent,
      data: {}
    });

    function View_DataTableHeaderCellComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableHeaderCellComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderCellComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.targetMarkerContext;
        var currVal_1 = _co.targetMarkerTemplate;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableHeaderCellComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "label", [["class", "datatable-checkbox"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "input", [["type", "checkbox"]], [[8, "checked", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.select.emit(!_co.allRowsSelected) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.allRowsSelected;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_DataTableHeaderCellComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "span", [["class", "datatable-header-cell-wrapper"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "span", [["class", "datatable-header-cell-label draggable"]], [[8, "innerHTML", 1]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onSort() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.name;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_DataTableHeaderCellComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableHeaderCellComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderCellComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.cellContext;
        var currVal_1 = _co.column.headerTemplate;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableHeaderCellComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 9, "div", [["class", "datatable-header-cell-template-wrap"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderCellComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderCellComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderCellComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableHeaderCellComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 0, "span", [], [[8, "className", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onSort() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isTarget;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.isCheckboxable;

        _ck(_v, 4, 0, currVal_1);

        var currVal_2 = !_co.column.headerTemplate;

        _ck(_v, 6, 0, currVal_2);

        var currVal_3 = _co.column.headerTemplate;

        _ck(_v, 8, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.sortClass;

        _ck(_v, 9, 0, currVal_4);
      });
    }

    function View_DataTableHeaderCellComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-header-cell", [["class", "datatable-header-cell"]], [[4, "height", "px"], [8, "className", 0], [1, "title", 0], [4, "minWidth", "px"], [4, "maxWidth", "px"], [4, "width", "px"]], [[null, "contextmenu"]], function (_v, en, $event) {
        var ad = true;

        if ("contextmenu" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onContextmenu($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_DataTableHeaderCellComponent_0, RenderType_DataTableHeaderCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 114688, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableHeaderCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).headerHeight;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnCssClasses;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).name;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).minWidth;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).maxWidth;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).width;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
      });
    }

    var DataTableHeaderCellComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-header-cell", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableHeaderCellComponent"], View_DataTableHeaderCellComponent_Host_0, {
      sortType: "sortType",
      sortAscendingIcon: "sortAscendingIcon",
      sortDescendingIcon: "sortDescendingIcon",
      sortUnsetIcon: "sortUnsetIcon",
      isTarget: "isTarget",
      targetMarkerTemplate: "targetMarkerTemplate",
      targetMarkerContext: "targetMarkerContext",
      allRowsSelected: "allRowsSelected",
      selectionType: "selectionType",
      column: "column",
      headerHeight: "headerHeight",
      sorts: "sorts"
    }, {
      sort: "sort",
      select: "select",
      columnContextmenu: "columnContextmenu"
    }, []);

    var styles_DataTableBodyComponent = [];

    var RenderType_DataTableBodyComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableBodyComponent,
      data: {}
    });

    function View_DataTableBodyComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-progress", [], null, null, null, View_ProgressBarComponent_0, RenderType_ProgressBarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ProgressBarComponent"], [], null, null)], null, null);
    }

    function View_DataTableBodyComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-summary-row", [["class", "datatable-summary-row"]], null, null, null, View_DataTableSummaryRowComponent_0, RenderType_DataTableSummaryRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSummaryRowComponent"], [], {
        rows: [0, "rows"],
        columns: [1, "columns"],
        rowHeight: [2, "rowHeight"],
        offsetX: [3, "offsetX"],
        innerWidth: [4, "innerWidth"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.rows;
        var currVal_1 = _co.columns;
        var currVal_2 = _co.summaryHeight;
        var currVal_3 = _co.offsetX;
        var currVal_4 = _co.innerWidth;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_DataTableBodyComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body-row", [["tabindex", "-1"]], [[8, "className", 0], [4, "height", "px"], [4, "width", "px"]], [[null, "treeAction"], [null, "activate"], [null, "keydown"], [null, "mouseenter"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("keydown" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("mouseenter" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseenter($event) !== false;
          ad = pd_1 && ad;
        }

        if ("treeAction" === en) {
          var pd_2 = _co.onTreeAction(_v.parent.context.$implicit) !== false;
          ad = pd_2 && ad;
        }

        if ("activate" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v.parent.parent.parent, 4).onActivate($event, _co.indexes.first + _v.parent.context.index) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, View_DataTableBodyRowComponent_0, RenderType_DataTableBodyRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 311296, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyRowComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        columns: [0, "columns"],
        innerWidth: [1, "innerWidth"],
        expanded: [2, "expanded"],
        rowClass: [3, "rowClass"],
        row: [4, "row"],
        isSelected: [5, "isSelected"],
        rowIndex: [6, "rowIndex"],
        displayCheck: [7, "displayCheck"],
        treeStatus: [8, "treeStatus"],
        offsetX: [9, "offsetX"],
        rowHeight: [10, "rowHeight"]
      }, {
        activate: "activate",
        treeAction: "treeAction"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.columns;
        var currVal_4 = _co.innerWidth;

        var currVal_5 = _co.getRowExpanded(_v.parent.context.$implicit);

        var currVal_6 = _co.rowClass;
        var currVal_7 = _v.parent.context.$implicit;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v.parent.parent.parent, 4).getRowSelected(_v.parent.context.$implicit);

        var currVal_9 = _co.getRowIndex(_v.parent.context.$implicit);

        var currVal_10 = _co.displayCheck;
        var currVal_11 = _v.parent.context.$implicit && _v.parent.context.$implicit.treeStatus;
        var currVal_12 = _co.offsetX;

        var currVal_13 = _co.getRowHeight(_v.parent.context.$implicit);

        _ck(_v, 1, 1, [currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13]);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).cssClass;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).rowHeight;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnsTotalWidths;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_DataTableBodyComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body-row", [["tabindex", "-1"]], [[8, "className", 0], [4, "height", "px"], [4, "width", "px"]], [[null, "activate"], [null, "keydown"], [null, "mouseenter"]], function (_v, en, $event) {
        var ad = true;

        if ("keydown" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("mouseenter" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseenter($event) !== false;
          ad = pd_1 && ad;
        }

        if ("activate" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v.parent.parent.parent.parent, 4).onActivate($event, _v.context.index) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, View_DataTableBodyRowComponent_0, RenderType_DataTableBodyRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 311296, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyRowComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        columns: [0, "columns"],
        innerWidth: [1, "innerWidth"],
        expanded: [2, "expanded"],
        rowClass: [3, "rowClass"],
        row: [4, "row"],
        group: [5, "group"],
        isSelected: [6, "isSelected"],
        rowIndex: [7, "rowIndex"],
        offsetX: [8, "offsetX"],
        rowHeight: [9, "rowHeight"]
      }, {
        activate: "activate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.columns;
        var currVal_4 = _co.innerWidth;

        var currVal_5 = _co.getRowExpanded(_v.context.$implicit);

        var currVal_6 = _co.rowClass;
        var currVal_7 = _v.context.$implicit;
        var currVal_8 = _v.parent.parent.context.$implicit.value;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v.parent.parent.parent.parent, 4).getRowSelected(_v.context.$implicit);

        var currVal_10 = _co.getRowIndex(_v.context.$implicit);

        var currVal_11 = _co.offsetX;

        var currVal_12 = _co.getRowHeight(_v.context.$implicit);

        _ck(_v, 1, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).cssClass;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).rowHeight;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnsTotalWidths;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_DataTableBodyComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.parent.context.$implicit.value;
        var currVal_1 = _co.rowTrackingFn;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableBodyComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 5, "datatable-row-wrapper", [["class", "datatable-row-wrapper"]], null, [[null, "rowContextmenu"], [null, "contextmenu"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("contextmenu" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 2).onContextmenu($event) !== false;
          ad = pd_0 && ad;
        }

        if ("rowContextmenu" === en) {
          var pd_1 = _co.rowContextmenu.emit($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_DataTableRowWrapperComponent_0, RenderType_DataTableRowWrapperComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 311296, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableRowWrapperComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"]], {
        innerWidth: [0, "innerWidth"],
        rowDetail: [1, "rowDetail"],
        groupHeader: [2, "groupHeader"],
        offsetX: [3, "offsetX"],
        detailRowHeight: [4, "detailRowHeight"],
        row: [5, "row"],
        groupedRows: [6, "groupedRows"],
        rowIndex: [7, "rowIndex"],
        expanded: [8, "expanded"]
      }, {
        rowContextmenu: "rowContextmenu"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DataTableBodyComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"],
        ngIfElse: [1, "ngIfElse"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, [["groupedRowsTemplate", 2]], 0, 0, null, View_DataTableBodyComponent_6))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.getRowsStyles(_v.context.$implicit);

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.innerWidth;
        var currVal_2 = _co.rowDetail;
        var currVal_3 = _co.groupHeader;
        var currVal_4 = _co.offsetX;

        var currVal_5 = _co.getDetailRowHeight(_v.context.$implicit && _v.context.$implicit[_v.context.index], _v.context.index);

        var currVal_6 = _v.context.$implicit;
        var currVal_7 = _co.groupedRows;

        var currVal_8 = _co.getRowIndex(_v.context.$implicit && _v.context.$implicit[_v.context.index]);

        var currVal_9 = _co.getRowExpanded(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);

        var currVal_10 = !_co.groupedRows;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 5);

        _ck(_v, 4, 0, currVal_10, currVal_11);
      }, null);
    }

    function View_DataTableBodyComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "datatable-summary-row", [["class", "datatable-summary-row"]], null, null, null, View_DataTableSummaryRowComponent_0, RenderType_DataTableSummaryRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 573440, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSummaryRowComponent"], [], {
        rows: [0, "rows"],
        columns: [1, "columns"],
        rowHeight: [2, "rowHeight"],
        offsetX: [3, "offsetX"],
        innerWidth: [4, "innerWidth"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.getBottomSummaryRowStyles();

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.rows;
        var currVal_2 = _co.columns;
        var currVal_3 = _co.summaryHeight;
        var currVal_4 = _co.offsetX;
        var currVal_5 = _co.innerWidth;

        _ck(_v, 2, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5);
      }, null);
    }

    function View_DataTableBodyComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, "datatable-scroller", [["class", "datatable-scroll"]], [[4, "height", "px"], [4, "width", "px"]], [[null, "scroll"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("scroll" === en) {
          var pd_0 = _co.onBodyScroll($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_ScrollerComponent_0, RenderType_ScrollerComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 245760, [[1, 4]], 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollerComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        scrollbarV: [0, "scrollbarV"],
        scrollbarH: [1, "scrollbarH"],
        scrollHeight: [2, "scrollHeight"],
        scrollWidth: [3, "scrollWidth"]
      }, {
        scroll: "scroll"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DataTableBodyComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DataTableBodyComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DataTableBodyComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.scrollbarV;
        var currVal_3 = _co.scrollbarH;
        var currVal_4 = _co.scrollHeight;
        var currVal_5 = _co.columnGroupWidths == null ? null : _co.columnGroupWidths.total;

        _ck(_v, 1, 0, currVal_2, currVal_3, currVal_4, currVal_5);

        var currVal_6 = _co.summaryRow && _co.summaryPosition === "top";

        _ck(_v, 3, 0, currVal_6);

        var currVal_7 = _co.temp;
        var currVal_8 = _co.rowTrackingFn;

        _ck(_v, 5, 0, currVal_7, currVal_8);

        var currVal_9 = _co.summaryRow && _co.summaryPosition === "bottom";

        _ck(_v, 7, 0, currVal_9);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).scrollHeight;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).scrollWidth;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_DataTableBodyComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "div", [["class", "empty-row"]], [[8, "innerHTML", 1]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.emptyMessage;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableBodyComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](671088640, 1, {
        scroller: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 5, "datatable-selection", [], null, [[null, "select"], [null, "activate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("select" === en) {
          var pd_0 = _co.select.emit($event) !== false;
          ad = pd_0 && ad;
        }

        if ("activate" === en) {
          var pd_1 = _co.activate.emit($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_DataTableSelectionComponent_0, RenderType_DataTableSelectionComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 49152, [["selector", 4]], 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSelectionComponent"], [], {
        rows: [0, "rows"],
        selected: [1, "selected"],
        selectEnabled: [2, "selectEnabled"],
        selectionType: [3, "selectionType"],
        rowIdentity: [4, "rowIdentity"],
        selectCheck: [5, "selectCheck"]
      }, {
        activate: "activate",
        select: "select"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DataTableBodyComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, 0, 1, null, View_DataTableBodyComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loadingIndicator;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.rows;
        var currVal_2 = _co.selected;
        var currVal_3 = _co.selectEnabled;
        var currVal_4 = _co.selectionType;
        var currVal_5 = _co.rowIdentity;
        var currVal_6 = _co.selectCheck;

        _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = _co.rows == null ? null : _co.rows.length;

        _ck(_v, 6, 0, currVal_7);

        var currVal_8 = !(_co.rows == null ? null : _co.rows.length) && !_co.loadingIndicator;

        _ck(_v, 8, 0, currVal_8);
      }, null);
    }

    function View_DataTableBodyComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body", [["class", "datatable-body"]], [[4, "width", null], [4, "height", null]], null, null, View_DataTableBodyComponent_0, RenderType_DataTableBodyComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 245760, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).bodyWidth;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).bodyHeight;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    var DataTableBodyComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-body", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyComponent"], View_DataTableBodyComponent_Host_0, {
      scrollbarV: "scrollbarV",
      scrollbarH: "scrollbarH",
      loadingIndicator: "loadingIndicator",
      externalPaging: "externalPaging",
      rowHeight: "rowHeight",
      offsetX: "offsetX",
      emptyMessage: "emptyMessage",
      selectionType: "selectionType",
      selected: "selected",
      rowIdentity: "rowIdentity",
      rowDetail: "rowDetail",
      groupHeader: "groupHeader",
      selectCheck: "selectCheck",
      displayCheck: "displayCheck",
      trackByProp: "trackByProp",
      rowClass: "rowClass",
      groupedRows: "groupedRows",
      groupExpansionDefault: "groupExpansionDefault",
      innerWidth: "innerWidth",
      groupRowsBy: "groupRowsBy",
      virtualization: "virtualization",
      summaryRow: "summaryRow",
      summaryPosition: "summaryPosition",
      summaryHeight: "summaryHeight",
      pageSize: "pageSize",
      rows: "rows",
      columns: "columns",
      offset: "offset",
      rowCount: "rowCount",
      bodyHeight: "bodyHeight"
    }, {
      scroll: "scroll",
      page: "page",
      activate: "activate",
      select: "select",
      detailToggle: "detailToggle",
      rowContextmenu: "rowContextmenu",
      treeAction: "treeAction"
    }, []);

    var styles_DataTableBodyCellComponent = [];

    var RenderType_DataTableBodyCellComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableBodyCellComponent,
      data: {}
    });

    function View_DataTableBodyCellComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "label", [["class", "datatable-checkbox"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "input", [["type", "checkbox"]], [[8, "checked", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onCheckboxChange($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isSelected;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_DataTableBodyCellComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "i", [["class", "icon datatable-icon-collapse"]], null, null, null, null, null))], null, null);
    }

    function View_DataTableBodyCellComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "i", [["class", "icon datatable-icon-up"]], null, null, null, null, null))], null, null);
    }

    function View_DataTableBodyCellComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "i", [["class", "icon datatable-icon-down"]], null, null, null, null, null))], null, null);
    }

    function View_DataTableBodyCellComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 7, "button", [["class", "datatable-tree-button"]], [[8, "disabled", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onTreeAction() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 6, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.treeStatus === "loading";

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = _co.treeStatus === "collapsed";

        _ck(_v, 5, 0, currVal_2);

        var currVal_3 = _co.treeStatus === "expanded" || _co.treeStatus === "disabled";

        _ck(_v, 7, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.treeStatus === "disabled";

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableBodyCellComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableBodyCellComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 2, null, View_DataTableBodyCellComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](2, {
        cellContext: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 2, 0, _co.cellContext);

        var currVal_1 = _co.column.treeToggleTemplate;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableBodyCellComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.column.treeToggleTemplate;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.column.treeToggleTemplate;

        _ck(_v, 4, 0, currVal_1);
      }, null);
    }

    function View_DataTableBodyCellComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 0, "span", [], [[8, "title", 0], [8, "innerHTML", 1]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.sanitizedValue;
        var currVal_1 = _co.value;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_DataTableBodyCellComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableBodyCellComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, [[1, 3], ["cellTemplate", 2]], null, 1, null, View_DataTableBodyCellComponent_11)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.cellContext;
        var currVal_1 = _co.column.cellTemplate;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableBodyCellComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](402653184, 1, {
        cellTemplate: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 8, "div", [["class", "datatable-body-cell-label"]], [[4, "margin-left", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyCellComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _co.column.checkboxable && (!_co.displayCheck || _co.displayCheck(_co.row, _co.column, _co.value));

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = _co.column.isTreeColumn;

        _ck(_v, 5, 0, currVal_2);

        var currVal_3 = !_co.column.cellTemplate;

        _ck(_v, 7, 0, currVal_3);

        var currVal_4 = _co.column.cellTemplate;

        _ck(_v, 9, 0, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.calcLeftMargin(_co.column, _co.row);

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_DataTableBodyCellComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body-cell", [], [[8, "className", 0], [4, "width", "px"], [4, "minWidth", "px"], [4, "maxWidth", "px"], [4, "height", null]], [[null, "focus"], [null, "blur"], [null, "click"], [null, "dblclick"], [null, "keydown"]], function (_v, en, $event) {
        var ad = true;

        if ("focus" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("click" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onClick($event) !== false;
          ad = pd_2 && ad;
        }

        if ("dblclick" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onDblClick($event) !== false;
          ad = pd_3 && ad;
        }

        if ("keydown" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onKeyDown($event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, View_DataTableBodyCellComponent_0, RenderType_DataTableBodyCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 442368, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnCssClasses;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).width;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).minWidth;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).maxWidth;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).height;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      });
    }

    var DataTableBodyCellComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-body-cell", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyCellComponent"], View_DataTableBodyCellComponent_Host_0, {
      displayCheck: "displayCheck",
      group: "group",
      rowHeight: "rowHeight",
      isSelected: "isSelected",
      expanded: "expanded",
      rowIndex: "rowIndex",
      column: "column",
      row: "row",
      sorts: "sorts",
      treeStatus: "treeStatus"
    }, {
      activate: "activate",
      treeAction: "treeAction"
    }, []);

    var styles_DataTableBodyRowComponent = [];

    var RenderType_DataTableBodyRowComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableBodyRowComponent,
      data: {}
    });

    function View_DataTableBodyRowComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body-cell", [["tabindex", "-1"]], [[8, "className", 0], [4, "width", "px"], [4, "minWidth", "px"], [4, "maxWidth", "px"], [4, "height", null]], [[null, "activate"], [null, "treeAction"], [null, "focus"], [null, "blur"], [null, "click"], [null, "dblclick"], [null, "keydown"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("focus" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onFocus() !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onBlur() !== false;
          ad = pd_1 && ad;
        }

        if ("click" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onClick($event) !== false;
          ad = pd_2 && ad;
        }

        if ("dblclick" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onDblClick($event) !== false;
          ad = pd_3 && ad;
        }

        if ("keydown" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onKeyDown($event) !== false;
          ad = pd_4 && ad;
        }

        if ("activate" === en) {
          var pd_5 = _co.onActivate($event, _v.context.index) !== false;
          ad = pd_5 && ad;
        }

        if ("treeAction" === en) {
          var pd_6 = _co.onTreeAction() !== false;
          ad = pd_6 && ad;
        }

        return ad;
      }, View_DataTableBodyCellComponent_0, RenderType_DataTableBodyCellComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 442368, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyCellComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"]], {
        displayCheck: [0, "displayCheck"],
        group: [1, "group"],
        rowHeight: [2, "rowHeight"],
        isSelected: [3, "isSelected"],
        expanded: [4, "expanded"],
        rowIndex: [5, "rowIndex"],
        column: [6, "column"],
        row: [7, "row"],
        treeStatus: [8, "treeStatus"]
      }, {
        activate: "activate",
        treeAction: "treeAction"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_5 = _co.displayCheck;
        var currVal_6 = _co.group;
        var currVal_7 = _co.rowHeight;
        var currVal_8 = _co.isSelected;
        var currVal_9 = _co.expanded;
        var currVal_10 = _co.rowIndex;
        var currVal_11 = _v.context.$implicit;
        var currVal_12 = _co.row;
        var currVal_13 = _co.treeStatus;

        _ck(_v, 1, 0, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnCssClasses;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).width;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).minWidth;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).maxWidth;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).height;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      });
    }

    function View_DataTableBodyRowComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "div", [], [[8, "className", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyRowComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co._groupStyles[_v.context.$implicit.type];

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.columns;
        var currVal_3 = _co.columnTrackingFn;

        _ck(_v, 3, 0, currVal_2, currVal_3);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "datatable-row-", _v.context.$implicit.type, " datatable-row-group");

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableBodyRowComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableBodyRowComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"],
        ngForTrackBy: [1, "ngForTrackBy"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co._columnsByPin;
        var currVal_1 = _co.trackByGroups;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableBodyRowComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body-row", [], [[8, "className", 0], [4, "height", "px"], [4, "width", "px"]], [[null, "keydown"], [null, "mouseenter"]], function (_v, en, $event) {
        var ad = true;

        if ("keydown" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("mouseenter" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseenter($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_DataTableBodyRowComponent_0, RenderType_DataTableBodyRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 311296, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyRowComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).cssClass;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).rowHeight;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnsTotalWidths;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    var DataTableBodyRowComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-body-row", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyRowComponent"], View_DataTableBodyRowComponent_Host_0, {
      columns: "columns",
      innerWidth: "innerWidth",
      expanded: "expanded",
      rowClass: "rowClass",
      row: "row",
      group: "group",
      isSelected: "isSelected",
      rowIndex: "rowIndex",
      displayCheck: "displayCheck",
      treeStatus: "treeStatus",
      offsetX: "offsetX",
      rowHeight: "rowHeight"
    }, {
      activate: "activate",
      treeAction: "treeAction"
    }, []);

    var styles_ProgressBarComponent = [];

    var RenderType_ProgressBarComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_ProgressBarComponent,
      data: {}
    });

    function View_ProgressBarComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "div", [["class", "progress-linear"], ["role", "progressbar"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, "div", [["class", "container"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, "div", [["class", "bar"]], null, null, null, null, null))], null, null);
    }

    function View_ProgressBarComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-progress", [], null, null, null, View_ProgressBarComponent_0, RenderType_ProgressBarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ProgressBarComponent"], [], null, null)], null, null);
    }

    var ProgressBarComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-progress", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ProgressBarComponent"], View_ProgressBarComponent_Host_0, {}, {}, []);

    var styles_ScrollerComponent = [];

    var RenderType_ScrollerComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_ScrollerComponent,
      data: {}
    });

    function View_ScrollerComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0)], null, null);
    }

    function View_ScrollerComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-scroller", [["class", "datatable-scroll"]], [[4, "height", "px"], [4, "width", "px"]], null, null, View_ScrollerComponent_0, RenderType_ScrollerComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 245760, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollerComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).scrollHeight;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).scrollWidth;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    var ScrollerComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-scroller", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollerComponent"], View_ScrollerComponent_Host_0, {
      scrollbarV: "scrollbarV",
      scrollbarH: "scrollbarH",
      scrollHeight: "scrollHeight",
      scrollWidth: "scrollWidth"
    }, {
      scroll: "scroll"
    }, ["*"]);

    var styles_DataTableRowWrapperComponent = [];

    var RenderType_DataTableRowWrapperComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableRowWrapperComponent,
      data: {}
    });

    function View_DataTableRowWrapperComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableRowWrapperComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.groupContext;
        var currVal_1 = _co.groupHeader.template;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableRowWrapperComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "div", [["class", "datatable-group-header"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.getGroupHeaderStyle();

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.groupHeader && _co.groupHeader.template;

        _ck(_v, 3, 0, currVal_1);
      }, null);
    }

    function View_DataTableRowWrapperComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableRowWrapperComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableRowWrapperComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.rowContext;
        var currVal_1 = _co.rowDetail.template;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableRowWrapperComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "div", [["class", "datatable-row-detail"]], [[4, "height", "px"]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.rowDetail && _co.rowDetail.template;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.detailRowHeight;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableRowWrapperComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableRowWrapperComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.groupHeader && _co.groupHeader.template;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.groupHeader && _co.groupHeader.template && _co.expanded || !_co.groupHeader || !_co.groupHeader.template;

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = _co.rowDetail && _co.rowDetail.template && _co.expanded;

        _ck(_v, 5, 0, currVal_2);
      }, null);
    }

    function View_DataTableRowWrapperComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-row-wrapper", [["class", "datatable-row-wrapper"]], null, [[null, "contextmenu"]], function (_v, en, $event) {
        var ad = true;

        if ("contextmenu" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onContextmenu($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_DataTableRowWrapperComponent_0, RenderType_DataTableRowWrapperComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 311296, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableRowWrapperComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var DataTableRowWrapperComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-row-wrapper", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableRowWrapperComponent"], View_DataTableRowWrapperComponent_Host_0, {
      innerWidth: "innerWidth",
      rowDetail: "rowDetail",
      groupHeader: "groupHeader",
      offsetX: "offsetX",
      detailRowHeight: "detailRowHeight",
      row: "row",
      groupedRows: "groupedRows",
      rowIndex: "rowIndex",
      expanded: "expanded"
    }, {
      rowContextmenu: "rowContextmenu"
    }, ["*"]);

    var styles_DataTableSelectionComponent = [];

    var RenderType_DataTableSelectionComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableSelectionComponent,
      data: {}
    });

    function View_DataTableSelectionComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0)], null, null);
    }

    function View_DataTableSelectionComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-selection", [], null, null, null, View_DataTableSelectionComponent_0, RenderType_DataTableSelectionComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSelectionComponent"], [], null, null)], null, null);
    }

    var DataTableSelectionComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-selection", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSelectionComponent"], View_DataTableSelectionComponent_Host_0, {
      rows: "rows",
      selected: "selected",
      selectEnabled: "selectEnabled",
      selectionType: "selectionType",
      rowIdentity: "rowIdentity",
      selectCheck: "selectCheck"
    }, {
      activate: "activate",
      select: "select"
    }, ["*"]);

    var styles_DataTableSummaryRowComponent = [];

    var RenderType_DataTableSummaryRowComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableSummaryRowComponent,
      data: {}
    });

    function View_DataTableSummaryRowComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-body-row", [["tabindex", "-1"]], [[8, "className", 0], [4, "height", "px"], [4, "width", "px"]], [[null, "keydown"], [null, "mouseenter"]], function (_v, en, $event) {
        var ad = true;

        if ("keydown" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("mouseenter" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).onMouseenter($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, View_DataTableBodyRowComponent_0, RenderType_DataTableBodyRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 311296, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableBodyRowComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ScrollbarHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"]], {
        columns: [0, "columns"],
        innerWidth: [1, "innerWidth"],
        row: [2, "row"],
        rowIndex: [3, "rowIndex"],
        offsetX: [4, "offsetX"],
        rowHeight: [5, "rowHeight"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co._internalColumns;
        var currVal_4 = _co.innerWidth;
        var currVal_5 = _co.summaryRow;
        var currVal_6 = 0 - 1;
        var currVal_7 = _co.offsetX;
        var currVal_8 = _co.rowHeight;

        _ck(_v, 1, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).cssClass;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).rowHeight;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).columnsTotalWidths;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);
      });
    }

    function View_DataTableSummaryRowComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableSummaryRowComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.summaryRow && _co._internalColumns;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_DataTableSummaryRowComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-summary-row", [["class", "datatable-summary-row"]], null, null, null, View_DataTableSummaryRowComponent_0, RenderType_DataTableSummaryRowComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 573440, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSummaryRowComponent"], [], null, null)], null, null);
    }

    var DataTableSummaryRowComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-summary-row", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableSummaryRowComponent"], View_DataTableSummaryRowComponent_Host_0, {
      rows: "rows",
      columns: "columns",
      rowHeight: "rowHeight",
      offsetX: "offsetX",
      innerWidth: "innerWidth"
    }, {}, []);

    var styles_DataTableFooterComponent = [];

    var RenderType_DataTableFooterComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTableFooterComponent,
      data: {}
    });

    function View_DataTableFooterComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], null, null);
    }

    function View_DataTableFooterComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 2, null, View_DataTableFooterComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](2, {
        rowCount: 0,
        pageSize: 1,
        selectedCount: 2,
        curPage: 3,
        offset: 4
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 2, 0, _co.rowCount, _co.pageSize, _co.selectedCount, _co.curPage, _co.offset);

        var currVal_1 = _co.footerTemplate.template;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DataTableFooterComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](1, null, [" ", " ", " / "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.selectedCount == null ? null : _co.selectedCount.toLocaleString();
        var currVal_1 = _co.selectedMessage;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      });
    }

    function View_DataTableFooterComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 3, "div", [["class", "page-count"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableFooterComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](3, null, [" ", " ", " "]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.selectedMessage;

        _ck(_v, 2, 0, currVal_0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.rowCount == null ? null : _co.rowCount.toLocaleString();
        var currVal_2 = _co.totalMessage;

        _ck(_v, 3, 0, currVal_1, currVal_2);
      });
    }

    function View_DataTableFooterComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-pager", [["class", "datatable-pager"]], [[8, "hidden", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.page.emit($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, View_DataTablePagerComponent_0, RenderType_DataTablePagerComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTablePagerComponent"], [], {
        pagerLeftArrowIcon: [0, "pagerLeftArrowIcon"],
        pagerRightArrowIcon: [1, "pagerRightArrowIcon"],
        pagerPreviousIcon: [2, "pagerPreviousIcon"],
        pagerNextIcon: [3, "pagerNextIcon"],
        size: [4, "size"],
        count: [5, "count"],
        page: [6, "page"]
      }, {
        change: "change"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.pagerLeftArrowIcon;
        var currVal_2 = _co.pagerRightArrowIcon;
        var currVal_3 = _co.pagerPreviousIcon;
        var currVal_4 = _co.pagerNextIcon;
        var currVal_5 = _co.pageSize;
        var currVal_6 = _co.rowCount;
        var currVal_7 = _co.curPage;

        _ck(_v, 1, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.isVisible;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableFooterComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 8, "div", [["class", "datatable-footer-inner"]], [[4, "height", "px"]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgClass"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Renderer2"]], {
        klass: [0, "klass"],
        ngClass: [1, "ngClass"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵpod"](2, {
        "selected-count": 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableFooterComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableFooterComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTableFooterComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = "datatable-footer-inner";

        var currVal_2 = _ck(_v, 2, 0, _co.selectedMessage);

        _ck(_v, 1, 0, currVal_1, currVal_2);

        var currVal_3 = _co.footerTemplate;

        _ck(_v, 4, 0, currVal_3);

        var currVal_4 = !_co.footerTemplate;

        _ck(_v, 6, 0, currVal_4);

        var currVal_5 = !_co.footerTemplate;

        _ck(_v, 8, 0, currVal_5);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.footerHeight;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_DataTableFooterComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-footer", [["class", "datatable-footer"]], null, null, null, View_DataTableFooterComponent_0, RenderType_DataTableFooterComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableFooterComponent"], [], null, null)], null, null);
    }

    var DataTableFooterComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-footer", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTableFooterComponent"], View_DataTableFooterComponent_Host_0, {
      footerHeight: "footerHeight",
      rowCount: "rowCount",
      pageSize: "pageSize",
      offset: "offset",
      pagerLeftArrowIcon: "pagerLeftArrowIcon",
      pagerRightArrowIcon: "pagerRightArrowIcon",
      pagerPreviousIcon: "pagerPreviousIcon",
      pagerNextIcon: "pagerNextIcon",
      totalMessage: "totalMessage",
      footerTemplate: "footerTemplate",
      selectedCount: "selectedCount",
      selectedMessage: "selectedMessage"
    }, {
      page: "page"
    }, []);

    var styles_DataTablePagerComponent = [];

    var RenderType_DataTablePagerComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_DataTablePagerComponent,
      data: {}
    });

    function View_DataTablePagerComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 2, "li", [["class", "pages"], ["role", "button"]], [[1, "aria-label", 0], [2, "active", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 1, "a", [["href", "javascript:void(0)"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.selectPage(_v.context.$implicit.number) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵted"](2, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "page " + _v.context.$implicit.number;
        var currVal_1 = _v.context.$implicit.number === _co.page;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_2 = _v.context.$implicit.text;

        _ck(_v, 2, 0, currVal_2);
      });
    }

    function View_DataTablePagerComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](2, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 14, "ul", [["class", "pager"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 2, "li", [], [[2, "disabled", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 1, "a", [["aria-label", "go to first page"], ["href", "javascript:void(0)"], ["role", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.selectPage(1) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 2, "li", [], [[2, "disabled", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](5, 0, null, null, 1, "a", [["aria-label", "go to previous page"], ["href", "javascript:void(0)"], ["role", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.prevPage() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](6, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_DataTablePagerComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](8, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](9, 0, null, null, 2, "li", [], [[2, "disabled", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](10, 0, null, null, 1, "a", [["aria-label", "go to next page"], ["href", "javascript:void(0)"], ["role", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.nextPage() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](11, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](12, 0, null, null, 2, "li", [], [[2, "disabled", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](13, 0, null, null, 1, "a", [["aria-label", "go to last page"], ["href", "javascript:void(0)"], ["role", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.selectPage(_co.totalPages) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](14, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.pages;

        _ck(_v, 8, 0, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.canPrevious();

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "", _co.pagerPreviousIcon, "");

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = !_co.canPrevious();

        _ck(_v, 4, 0, currVal_2);

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "", _co.pagerLeftArrowIcon, "");

        _ck(_v, 6, 0, currVal_3);

        var currVal_5 = !_co.canNext();

        _ck(_v, 9, 0, currVal_5);

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "", _co.pagerRightArrowIcon, "");

        _ck(_v, 11, 0, currVal_6);

        var currVal_7 = !_co.canNext();

        _ck(_v, 12, 0, currVal_7);

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵinlineInterpolate"](1, "", _co.pagerNextIcon, "");

        _ck(_v, 14, 0, currVal_8);
      });
    }

    function View_DataTablePagerComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "datatable-pager", [["class", "datatable-pager"]], null, null, null, View_DataTablePagerComponent_0, RenderType_DataTablePagerComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 49152, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTablePagerComponent"], [], null, null)], null, null);
    }

    var DataTablePagerComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("datatable-pager", _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["DataTablePagerComponent"], View_DataTablePagerComponent_Host_0, {
      pagerLeftArrowIcon: "pagerLeftArrowIcon",
      pagerRightArrowIcon: "pagerRightArrowIcon",
      pagerPreviousIcon: "pagerPreviousIcon",
      pagerNextIcon: "pagerNextIcon",
      size: "size",
      count: "count",
      page: "page"
    }, {
      change: "change"
    }, []);
    /***/

  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiBasemapJs(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__(
    /*! ./geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ./core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ./core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ./core/collectionUtils */
    "./node_modules/arcgis-js-api/core/collectionUtils.js"), __webpack_require__(
    /*! ./core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.js"), __webpack_require__(
    /*! ./core/loadAll */
    "./node_modules/arcgis-js-api/core/loadAll.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.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__(
    /*! ./portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ./portal/PortalItem */
    "./node_modules/arcgis-js-api/portal/PortalItem.js"), __webpack_require__(
    /*! ./support/basemapDefinitions */
    "./node_modules/arcgis-js-api/support/basemapDefinitions.js"), __webpack_require__(
    /*! ./webdoc/support/writeUtils */
    "./node_modules/arcgis-js-api/webdoc/support/writeUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, a, n, i, s, l, p, u, c, f, y, d, h, m, b, L, I, g, v) {
      var w = 0,
          S = y.getLogger("esri.Basemap");
      return function (r) {
        function p(e) {
          var t = r.call(this, e) || this;
          t.id = null, t.portalItem = null, t.spatialReference = null, t.thumbnailUrl = null, t.title = "Basemap", t.id = Date.now().toString(16) + "-basemap-" + w++, t.baseLayers = new s(), t.referenceLayers = new s();

          var o = function o(e) {
            e.parent && e.parent !== t && "remove" in e.parent && e.parent.remove(e), e.parent = t, "elevation" === e.type && S.error("Layer '" + e.title + ", id:" + e.id + "' of type '" + e.type + "' is not supported as a basemap layer and will therefore be ignored.");
          },
              a = function a(e) {
            e.parent = null;
          };

          return t.baseLayers.on("after-add", function (e) {
            return o(e.item);
          }), t.referenceLayers.on("after-add", function (e) {
            return o(e.item);
          }), t.baseLayers.on("after-remove", function (e) {
            return a(e.item);
          }), t.referenceLayers.on("after-remove", function (e) {
            return a(e.item);
          }), t;
        }

        o(p, r), c = p, p.prototype.initialize = function () {
          var e = this;
          this.when()["catch"](function (r) {
            S.error("#load()", "Failed to load basemap (title: '" + e.title + "', id: '" + e.id + "')", r);
          }), this.resourceInfo && this.read(this.resourceInfo.data, this.resourceInfo.context);
        }, p.prototype.normalizeCtorArgs = function (e) {
          return e && "resourceInfo" in e && (this._set("resourceInfo", e.resourceInfo), e = t({}, e), delete e.resourceInfo), e;
        }, Object.defineProperty(p.prototype, "baseLayers", {
          set: function set(e) {
            this._set("baseLayers", l.referenceSetter(e, this._get("baseLayers")));
          },
          enumerable: !0,
          configurable: !0
        }), p.prototype.writeBaseLayers = function (e, r, o, a) {
          var n = this,
              i = [];
          if (!e) return void (r[o] = i);
          a = t({}, a, {
            layerContainerType: "basemap"
          }), this.baseLayers.forEach(function (e) {
            var r = v.getLayerJSON(e, n._getLayerJSONFromResourceInfo(e), a);
            d.isSome(r) && i.push(r);
          }), this.referenceLayers.forEach(function (e) {
            var r = v.getLayerJSON(e, n._getLayerJSONFromResourceInfo(e), a);
            d.isSome(r) && (r.isReference = !0, i.push(r));
          }), r[o] = i;
        }, Object.defineProperty(p.prototype, "referenceLayers", {
          set: function set(e) {
            this._set("referenceLayers", l.referenceSetter(e, this._get("referenceLayers")));
          },
          enumerable: !0,
          configurable: !0
        }), p.prototype.writeTitle = function (e, r) {
          r.title = e || "Basemap";
        }, p.prototype.load = function (e) {
          return this.addResolvingPromise(this._loadFromSource(e)), this.when();
        }, p.prototype.loadAll = function () {
          var e = this;
          return f.loadAll(this, function (r) {
            r(e.baseLayers, e.referenceLayers);
          });
        }, p.prototype.clone = function () {
          var e = {
            id: this.id,
            title: this.title,
            portalItem: this.portalItem,
            baseLayers: this.baseLayers.slice(),
            referenceLayers: this.referenceLayers.slice()
          };
          return this.loaded && (e.loadStatus = "loaded"), new c({
            resourceInfo: this.resourceInfo
          }).set(e);
        }, p.prototype.read = function (e, r) {
          this.resourceInfo || this._set("resourceInfo", {
            data: e,
            context: r
          }), this.inherited(arguments);
        }, p.prototype.write = function (e, r) {
          return e = e || {}, r && r.origin || (r = t({
            origin: "web-map"
          }, r)), this.inherited(arguments, [e, r]), !this.loaded && this.resourceInfo && this.resourceInfo.data.baseMapLayers && (e.baseMapLayers = this.resourceInfo.data.baseMapLayers.map(function (e) {
            var r = u.clone(e);
            return r.url && m.isProtocolRelative(r.url) && (r.url = "https:" + r.url), r.templateUrl && m.isProtocolRelative(r.templateUrl) && (r.templateUrl = "https:" + r.templateUrl), r;
          })), e;
        }, p.prototype._loadFromSource = function (e) {
          var r = this,
              t = r.resourceInfo,
              o = r.portalItem;

          if (h.throwIfAborted(e), t) {
            var a = t.context ? t.context.url : null;
            return this._loadLayersFromJSON(t.data, a, e);
          }

          return o ? this._loadFromItem(o, e) : h.resolve(null);
        }, p.prototype._loadLayersFromJSON = function (r, t, o) {
          var a = this,
              n = this.resourceInfo && this.resourceInfo.context,
              i = this.portalItem && this.portalItem.portal || n && n.portal || null,
              s = n && "web-scene" === n.origin ? "web-scene" : "web-map";
          return h.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e("common"), __webpack_require__.e(50)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./portal/support/layersCreator */
              "./node_modules/arcgis-js-api/portal/support/layersCreator.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (e) {
            var n = [];

            if (h.throwIfAborted(o), r.baseMapLayers && Array.isArray(r.baseMapLayers)) {
              var l = {
                context: {
                  origin: s,
                  url: t,
                  portal: i,
                  layerContainerType: "basemap"
                },
                defaultLayerType: "DefaultTileLayer"
              },
                  p = e.populateOperationalLayers(a.baseLayers, r.baseMapLayers.filter(function (e) {
                return !e.isReference;
              }), l);
              n.push(p);
              var u = e.populateOperationalLayers(a.referenceLayers, r.baseMapLayers.filter(function (e) {
                return e.isReference;
              }), l);
              n.push(u);
            }

            return h.eachAlways(n);
          }).then(function () {});
        }, p.prototype._loadFromItem = function (e, r) {
          var t = this;
          return e.load(r).then(function (e) {
            return e.fetchData("json", r);
          }).then(function (o) {
            var a = m.urlToObject(e.itemUrl);
            return t._set("resourceInfo", {
              data: o.baseMap,
              context: {
                origin: "web-map",
                portal: e.portal || L.getDefault(),
                url: a
              }
            }), t.read(t.resourceInfo.data, t.resourceInfo.context), t.read({
              spatialReference: o.spatialReference
            }, t.resourceInfo.context), t.read({
              title: e.title,
              thumbnailUrl: e.thumbnailUrl
            }, {
              origin: "portal-item",
              portal: e.portal || L.getDefault(),
              url: a
            }), t._loadLayersFromJSON(t.resourceInfo.data, a, r);
          });
        }, p.prototype._getLayerJSONFromResourceInfo = function (e) {
          var r = this.get("resourceInfo.data.baseMapLayers");
          return d.isSome(r) ? i.find(r, function (r) {
            return r.id === e.id;
          }) : null;
        }, p.fromId = function (e) {
          var r = g.esriBasemapDefinitions[e];
          return r ? c.fromJSON(r) : null;
        };
        var c;
        return a([b.property({
          json: {
            write: {
              ignoreOrigin: !0,
              target: "baseMapLayers"
            }
          }
        })], p.prototype, "baseLayers", null), a([b.writer("baseLayers")], p.prototype, "writeBaseLayers", null), a([b.property({
          type: String,
          json: {
            origins: {
              "web-scene": {
                write: !0
              }
            }
          }
        })], p.prototype, "id", void 0), a([b.property({
          type: I
        })], p.prototype, "portalItem", void 0), a([b.property()], p.prototype, "referenceLayers", null), a([b.property({
          readOnly: !0
        })], p.prototype, "resourceInfo", void 0), a([b.property({
          type: n.SpatialReference
        })], p.prototype, "spatialReference", void 0), a([b.property()], p.prototype, "thumbnailUrl", void 0), a([b.property({
          type: String,
          json: {
            origins: {
              "web-scene": {
                write: {
                  isRequired: !0
                }
              }
            }
          }
        })], p.prototype, "title", void 0), a([b.writer("title")], p.prototype, "writeTitle", null), p = c = a([b.subclass("esri.Basemap")], p);
      }(b.declared(p.JSONSupportMixin(c)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCameraJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ./core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./views/3d/support/mathUtils */
    "./node_modules/arcgis-js-api/views/3d/support/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, s, p, u, l) {
      return function (e) {
        function t(t, r, o, i) {
          var n = e.call(this, t) || this;
          return n.position = new u([0, 0, 0]), n.heading = 0, n.tilt = 0, n.fov = 55, n;
        }

        r(t, e), i = t, t.prototype.normalizeCtorArgs = function (e, t, r, o) {
          if (e && "object" == typeof e && ("x" in e || Array.isArray(e))) {
            var i = {
              position: e
            };
            return null != t && (i.heading = t), null != r && (i.tilt = r), null != o && (i.fov = o), i;
          }

          return e;
        }, t.prototype.writePosition = function (e, t, r, o) {
          var i = e.clone();
          i.x = p.ensureNumber(e.x || 0), i.y = p.ensureNumber(e.y || 0), i.z = e.hasZ ? p.ensureNumber(e.z || 0) : e.z, t[r] = i.write(null, o);
        }, t.prototype.readPosition = function (e, t) {
          var r = new u();
          return r.read(e, t), r.x = p.ensureNumber(r.x || 0), r.y = p.ensureNumber(r.y || 0), r.z = r.hasZ ? p.ensureNumber(r.z || 0) : r.z, r;
        }, t.prototype.equals = function (e) {
          return !!e && this.tilt === e.tilt && this.heading === e.heading && this.fov === e.fov && this.position.equals(e.position);
        }, t.prototype.clone = function () {
          return new i({
            position: this.position.clone(),
            heading: this.heading,
            tilt: this.tilt,
            fov: this.fov
          });
        };
        var i;
        return o([s.property({
          type: u,
          json: {
            write: {
              isRequired: !0
            }
          }
        })], t.prototype, "position", void 0), o([s.writer("position")], t.prototype, "writePosition", null), o([s.reader("position")], t.prototype, "readPosition", null), o([s.property({
          type: Number,
          nonNullable: !0,
          json: {
            write: {
              isRequired: !0
            }
          }
        }), s.cast(function (e) {
          return l.cyclicalDeg.normalize(p.ensureNumber(e));
        })], t.prototype, "heading", void 0), o([s.property({
          type: Number,
          nonNullable: !0,
          json: {
            write: {
              isRequired: !0
            }
          }
        }), s.cast(function (e) {
          return n.clamp(p.ensureNumber(e), -180, 180);
        })], t.prototype, "tilt", void 0), o([s.property({
          type: Number,
          nonNullable: !0,
          json: {
            read: !1,
            write: !1
          }
        })], t.prototype, "fov", void 0), t = i = o([s.subclass("esri.Camera")], t);
      }(s.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiColorJs(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/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ./core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, n) {
      function a(r) {
        return t.clamp(n.ensureInteger(r), 0, 255);
      }

      function i(r, e, t) {
        return r = Number(r), isNaN(r) ? t : r < e ? e : r > t ? t : r;
      }

      function o(r, e, t) {
        t < 0 && ++t, t > 1 && --t;
        var n = 6 * t;
        return n < 1 ? r + (e - r) * n : 2 * t < 1 ? e : 3 * t < 2 ? r + (e - r) * (2 / 3 - t) * 6 : r;
      }

      var l = function () {
        function r(r) {
          this.r = 255, this.g = 255, this.b = 255, this.a = 1, r && this.setColor(r);
        }

        return r.blendColors = function (e, t, n, a) {
          return void 0 === a && (a = new r()), a.r = Math.round(e.r + (t.r - e.r) * n), a.g = Math.round(e.g + (t.g - e.g) * n), a.b = Math.round(e.b + (t.b - e.b) * n), a.a = e.a + (t.a - e.a) * n, a._sanitize();
        }, r.fromRgb = function (e, t) {
          var n = e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);

          if (n) {
            var a = n[2].split(/\s*,\s*/),
                i = n[1];

            if ("rgb" === i && 3 === a.length || "rgba" === i && 4 === a.length) {
              var l = a[0];

              if ("%" === l.charAt(l.length - 1)) {
                var s = a.map(function (r) {
                  return 2.56 * parseFloat(r);
                });
                return 4 === a.length && (s[3] = parseFloat(a[3])), r.fromArray(s, t);
              }

              return r.fromArray(a.map(function (r) {
                return parseFloat(r);
              }), t);
            }

            if ("hsl" === i && 3 === a.length || "hsla" === i && 4 === a.length) {
              var u = (parseFloat(a[0]) % 360 + 360) % 360 / 360,
                  g = parseFloat(a[1]) / 100,
                  h = parseFloat(a[2]) / 100,
                  d = h <= .5 ? h * (g + 1) : h + g - h * g,
                  b = 2 * h - d,
                  s = [256 * o(b, d, u + 1 / 3), 256 * o(b, d, u), 256 * o(b, d, u - 1 / 3), 1];
              return 4 === a.length && (s[3] = parseFloat(a[3])), r.fromArray(s, t);
            }
          }

          return null;
        }, r.fromHex = function (e, t) {
          void 0 === t && (t = new r());
          var n = 4 === e.length ? 4 : 8,
              a = (1 << n) - 1,
              i = Number("0x" + e.substr(1));
          return isNaN(i) ? null : (["b", "g", "r"].forEach(function (r) {
            var e = i & a;
            i >>= n, t[r] = 4 === n ? 17 * e : e;
          }), t.a = 1, t);
        }, r.fromArray = function (e, t) {
          return void 0 === t && (t = new r()), t._set(Number(e[0]), Number(e[1]), Number(e[2]), Number(e[3])), isNaN(t.a) && (t.a = 1), t._sanitize();
        }, r.fromString = function (e, t) {
          var n = r.named[e];
          return n && r.fromArray(n, t) || r.fromRgb(e, t) || r.fromHex(e, t);
        }, r.toJSON = function (r) {
          return r && [a(r.r), a(r.g), a(r.b), r.a > 1 ? r.a : a(255 * r.a)];
        }, r.fromJSON = function (e) {
          return e && new r([e[0], e[1], e[2], e[3] / 255]);
        }, r.toUnitRGB = function (r) {
          return [r.r / 255, r.g / 255, r.b / 255];
        }, r.toUnitRGBA = function (r) {
          return [r.r / 255, r.g / 255, r.b / 255, null != r.a ? r.a : 1];
        }, r.prototype.setColor = function (e) {
          return "string" == typeof e ? r.fromString(e, this) : Array.isArray(e) ? r.fromArray(e, this) : (this._set(e.r, e.g, e.b, e.a), e instanceof r || this._sanitize()), this;
        }, r.prototype.toRgb = function () {
          return [this.r, this.g, this.b];
        }, r.prototype.toRgba = function () {
          return [this.r, this.g, this.b, this.a];
        }, r.prototype.toHex = function () {
          var r = this.r.toString(16),
              e = this.g.toString(16),
              t = this.b.toString(16);
          return "#" + (r.length < 2 ? "0" + r : r) + (e.length < 2 ? "0" + e : e) + (t.length < 2 ? "0" + t : t);
        }, r.prototype.toCss = function (r) {
          void 0 === r && (r = !1);
          var e = this.r + ", " + this.g + ", " + this.b;
          return r ? "rgba(" + e + ", " + this.a + ")" : "rgb(" + e + ")";
        }, r.prototype.toString = function () {
          return this.toCss(!0);
        }, r.prototype.toJSON = function () {
          return [a(this.r), a(this.g), a(this.b), this.a > 1 ? this.a : a(255 * this.a)];
        }, r.prototype.clone = function () {
          return new r(this.toRgba());
        }, r.prototype._sanitize = function () {
          return this.r = Math.round(i(this.r, 0, 255)), this.g = Math.round(i(this.g, 0, 255)), this.b = Math.round(i(this.b, 0, 255)), this.a = i(this.a, 0, 1), this;
        }, r.prototype._set = function (r, e, t, n) {
          this.r = r, this.g = e, this.b = t, this.a = n;
        }, r.named = {
          transparent: [0, 0, 0, 0],
          black: [0, 0, 0],
          silver: [192, 192, 192],
          gray: [128, 128, 128],
          white: [255, 255, 255],
          maroon: [128, 0, 0],
          red: [255, 0, 0],
          purple: [128, 0, 128],
          fuchsia: [255, 0, 255],
          green: [0, 128, 0],
          lime: [0, 255, 0],
          olive: [128, 128, 0],
          yellow: [255, 255, 0],
          navy: [0, 0, 128],
          blue: [0, 0, 255],
          teal: [0, 128, 128],
          aqua: [0, 255, 255],
          aliceblue: [240, 248, 255],
          antiquewhite: [250, 235, 215],
          aquamarine: [127, 255, 212],
          azure: [240, 255, 255],
          beige: [245, 245, 220],
          bisque: [255, 228, 196],
          blanchedalmond: [255, 235, 205],
          blueviolet: [138, 43, 226],
          brown: [165, 42, 42],
          burlywood: [222, 184, 135],
          cadetblue: [95, 158, 160],
          chartreuse: [127, 255, 0],
          chocolate: [210, 105, 30],
          coral: [255, 127, 80],
          cornflowerblue: [100, 149, 237],
          cornsilk: [255, 248, 220],
          crimson: [220, 20, 60],
          cyan: [0, 255, 255],
          darkblue: [0, 0, 139],
          darkcyan: [0, 139, 139],
          darkgoldenrod: [184, 134, 11],
          darkgray: [169, 169, 169],
          darkgreen: [0, 100, 0],
          darkgrey: [169, 169, 169],
          darkkhaki: [189, 183, 107],
          darkmagenta: [139, 0, 139],
          darkolivegreen: [85, 107, 47],
          darkorange: [255, 140, 0],
          darkorchid: [153, 50, 204],
          darkred: [139, 0, 0],
          darksalmon: [233, 150, 122],
          darkseagreen: [143, 188, 143],
          darkslateblue: [72, 61, 139],
          darkslategray: [47, 79, 79],
          darkslategrey: [47, 79, 79],
          darkturquoise: [0, 206, 209],
          darkviolet: [148, 0, 211],
          deeppink: [255, 20, 147],
          deepskyblue: [0, 191, 255],
          dimgray: [105, 105, 105],
          dimgrey: [105, 105, 105],
          dodgerblue: [30, 144, 255],
          firebrick: [178, 34, 34],
          floralwhite: [255, 250, 240],
          forestgreen: [34, 139, 34],
          gainsboro: [220, 220, 220],
          ghostwhite: [248, 248, 255],
          gold: [255, 215, 0],
          goldenrod: [218, 165, 32],
          greenyellow: [173, 255, 47],
          grey: [128, 128, 128],
          honeydew: [240, 255, 240],
          hotpink: [255, 105, 180],
          indianred: [205, 92, 92],
          indigo: [75, 0, 130],
          ivory: [255, 255, 240],
          khaki: [240, 230, 140],
          lavender: [230, 230, 250],
          lavenderblush: [255, 240, 245],
          lawngreen: [124, 252, 0],
          lemonchiffon: [255, 250, 205],
          lightblue: [173, 216, 230],
          lightcoral: [240, 128, 128],
          lightcyan: [224, 255, 255],
          lightgoldenrodyellow: [250, 250, 210],
          lightgray: [211, 211, 211],
          lightgreen: [144, 238, 144],
          lightgrey: [211, 211, 211],
          lightpink: [255, 182, 193],
          lightsalmon: [255, 160, 122],
          lightseagreen: [32, 178, 170],
          lightskyblue: [135, 206, 250],
          lightslategray: [119, 136, 153],
          lightslategrey: [119, 136, 153],
          lightsteelblue: [176, 196, 222],
          lightyellow: [255, 255, 224],
          limegreen: [50, 205, 50],
          linen: [250, 240, 230],
          magenta: [255, 0, 255],
          mediumaquamarine: [102, 205, 170],
          mediumblue: [0, 0, 205],
          mediumorchid: [186, 85, 211],
          mediumpurple: [147, 112, 219],
          mediumseagreen: [60, 179, 113],
          mediumslateblue: [123, 104, 238],
          mediumspringgreen: [0, 250, 154],
          mediumturquoise: [72, 209, 204],
          mediumvioletred: [199, 21, 133],
          midnightblue: [25, 25, 112],
          mintcream: [245, 255, 250],
          mistyrose: [255, 228, 225],
          moccasin: [255, 228, 181],
          navajowhite: [255, 222, 173],
          oldlace: [253, 245, 230],
          olivedrab: [107, 142, 35],
          orange: [255, 165, 0],
          orangered: [255, 69, 0],
          orchid: [218, 112, 214],
          palegoldenrod: [238, 232, 170],
          palegreen: [152, 251, 152],
          paleturquoise: [175, 238, 238],
          palevioletred: [219, 112, 147],
          papayawhip: [255, 239, 213],
          peachpuff: [255, 218, 185],
          peru: [205, 133, 63],
          pink: [255, 192, 203],
          plum: [221, 160, 221],
          powderblue: [176, 224, 230],
          rebeccapurple: [102, 51, 153],
          rosybrown: [188, 143, 143],
          royalblue: [65, 105, 225],
          saddlebrown: [139, 69, 19],
          salmon: [250, 128, 114],
          sandybrown: [244, 164, 96],
          seagreen: [46, 139, 87],
          seashell: [255, 245, 238],
          sienna: [160, 82, 45],
          skyblue: [135, 206, 235],
          slateblue: [106, 90, 205],
          slategray: [112, 128, 144],
          slategrey: [112, 128, 144],
          snow: [255, 250, 250],
          springgreen: [0, 255, 127],
          steelblue: [70, 130, 180],
          tan: [210, 180, 140],
          thistle: [216, 191, 216],
          tomato: [255, 99, 71],
          turquoise: [64, 224, 208],
          violet: [238, 130, 238],
          wheat: [245, 222, 179],
          whitesmoke: [245, 245, 245],
          yellowgreen: [154, 205, 50]
        }, r;
      }();

      return l.prototype.declaredClass = "esri.Color", l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGraphicJs(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__(
    /*! ./geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ./PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__(
    /*! ./symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ./core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ./core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ./symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, p, s, u, l, a, n, y, c, b) {
      var h = function (e) {
        function t(t, r, o, i) {
          var p = e.call(this, t, r, o, i) || this;
          return p.layer = null, p.popupTemplate = null, p.sourceLayer = null, Object.defineProperty(p, "uid", {
            value: l.generateUID()
          }), p;
        }

        o(t, e), l = t, t.prototype.normalizeCtorArgs = function (e, t, r, o) {
          return e && !e.declaredClass ? e : {
            geometry: e,
            symbol: t,
            attributes: r,
            popupTemplate: o
          };
        }, Object.defineProperty(t.prototype, "attributes", {
          set: function set(e) {
            var t = this._get("attributes");

            t !== e && (this._set("attributes", e), this._notifyLayer("attributes", t, e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "geometry", {
          set: function set(e) {
            var t = this._get("geometry");

            t !== e && (this._set("geometry", e), this._notifyLayer("geometry", t, e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "symbol", {
          set: function set(e) {
            var t = this._get("symbol");

            t !== e && (this._set("symbol", e), this._notifyLayer("symbol", t, e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "visible", {
          set: function set(e) {
            var t = this._get("visible");

            t !== e && (this._set("visible", e), this._notifyLayer("visible", t, e));
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.getEffectivePopupTemplate = function (e) {
          return void 0 === e && (e = !1), this.popupTemplate ? this.popupTemplate : this.sourceLayer ? this.sourceLayer.popupTemplate ? this.sourceLayer.popupTemplate : e && n.isSome(this.sourceLayer.defaultPopupTemplate) ? this.sourceLayer.defaultPopupTemplate : null : null;
        }, t.prototype.getAttribute = function (e) {
          return this.attributes && this.attributes[e];
        }, t.prototype.setAttribute = function (e, t) {
          var r;

          if (this.attributes) {
            var o = this.getAttribute(e);
            this.attributes[e] = t, this._notifyLayer("attributes", o, t, e);
          } else this.attributes = (r = {}, r[e] = t, r), this._notifyLayer("attributes", void 0, t, e);
        }, t.prototype.getObjectId = function () {
          return this.sourceLayer ? "type" in this.sourceLayer && "stream" === this.sourceLayer.type ? this.getAttribute("__esri_stream_id__") : this.sourceLayer.objectIdField ? this.getAttribute(this.sourceLayer.objectIdField) : null : null;
        }, t.prototype.toJSON = function () {
          return {
            geometry: n.isSome(this.geometry) ? this.geometry.toJSON() : null,
            symbol: n.isSome(this.symbol) ? this.symbol.toJSON() : null,
            attributes: r({}, this.attributes),
            popupTemplate: this.popupTemplate && this.popupTemplate.toJSON()
          };
        }, t.prototype.clone = function () {
          return new l(this.cloneProperties());
        }, t.prototype.cloneProperties = function () {
          return {
            attributes: a.clone(this.attributes),
            geometry: a.clone(this.geometry),
            layer: this.layer,
            popupTemplate: this.popupTemplate && this.popupTemplate.clone(),
            sourceLayer: this.sourceLayer,
            symbol: a.clone(this.symbol),
            visible: this.visible
          };
        }, t.prototype._notifyLayer = function (e, t, r, o) {
          if (this.layer && this.layer.graphicChanged) {
            var i = {
              graphic: this,
              property: e,
              oldValue: t,
              newValue: r
            };
            "attributes" === e && (i.attributeName = o), this.layer.graphicChanged(i);
          }
        };
        var l;
        return i([y.property({
          value: null
        })], t.prototype, "attributes", null), i([y.property({
          value: null,
          types: p.geometryTypes,
          json: {
            read: c.fromJSON
          }
        })], t.prototype, "geometry", null), i([y.property()], t.prototype, "layer", void 0), i([y.property({
          type: s
        })], t.prototype, "popupTemplate", void 0), i([y.property()], t.prototype, "sourceLayer", void 0), i([y.property({
          value: null,
          types: u.symbolTypes,
          json: {
            read: b.read
          }
        })], t.prototype, "symbol", null), i([y.property({
          type: Boolean,
          value: !0,
          set: function set(e) {}
        })], t.prototype, "visible", null), t = l = i([y.subclass("esri.Graphic")], t);
      }(y.declared(l.JSONSupport)),
          m = 0;

      return function (e) {
        function t() {
          return m++;
        }

        e.generateUID = t;
      }(h || (h = {})), h;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGroundJs(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__(
    /*! ./Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ./core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ./core/collectionUtils */
    "./node_modules/arcgis-js-api/core/collectionUtils.js"), __webpack_require__(
    /*! ./core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ./core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ./core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.js"), __webpack_require__(
    /*! ./core/loadAll */
    "./node_modules/arcgis-js-api/core/loadAll.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./ground/NavigationConstraint */
    "./node_modules/arcgis-js-api/ground/NavigationConstraint.js"), __webpack_require__(
    /*! ./layers/support/types */
    "./node_modules/arcgis-js-api/layers/support/types.js"), __webpack_require__(
    /*! ./webdoc/support/opacityUtils */
    "./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, a, i, s, l, p, u, c, y, f, d, h, v, g, m, S, w) {
      function C(e) {
        return e && "createElevationSampler" in e;
      }

      function I(e) {
        return "elevation" === e.type || C(e);
      }

      var E = d.getLogger("esri.Ground");
      return function (r) {
        function u(e) {
          var t = r.call(this, e) || this;
          t.opacity = 1, t.surfaceColor = null, t.navigationConstraint = null, t.layers = new i();

          var o = function o(e) {
            e.parent && e.parent !== t && "remove" in e.parent && e.parent.remove(e), e.parent = t, S.isOfType(e, ["elevation", "base-elevation"]) || E.error("Layer '" + e.title + ", id:" + e.id + "' of type '" + e.type + "' is not supported as a ground layer and will therefore be ignored. Only layers of type 'elevation' are supported.");
          },
              n = function n(e) {
            e.parent = null;
          };

          return t.layers.on("after-add", function (e) {
            return o(e.item);
          }), t.layers.on("after-remove", function (e) {
            return n(e.item);
          }), t;
        }

        o(u, r), y = u, u.prototype.initialize = function () {
          this.when()["catch"](function (e) {
            E.error("#load()", "Failed to load ground", e);
          }), this.resourceInfo && this.read(this.resourceInfo.data, this.resourceInfo.context);
        }, u.prototype.normalizeCtorArgs = function (e) {
          return e && "resourceInfo" in e && (this._set("resourceInfo", e.resourceInfo), e = t({}, e), delete e.resourceInfo), e;
        }, Object.defineProperty(u.prototype, "layers", {
          set: function set(e) {
            this._set("layers", s.referenceSetter(e, this._get("layers")));
          },
          enumerable: !0,
          configurable: !0
        }), u.prototype.writeLayers = function (e, r, o, n) {
          var a = [];
          if (!e) return void (r.layers = a);
          n = t({}, n, {
            layerContainerType: "ground"
          }), e.forEach(function (e) {
            if ("write" in e) {
              var r = l.typeCast(e)(),
                  t = {};
              r.write(t, n) && a.push(t);
            } else n && n.messages && n.messages.push(new p("layer:unsupported", "Layers (" + e.title + ", " + e.id + ") of type '" + e.declaredClass + "' cannot be persisted in the ground", {
              layer: e
            }));
          }), r.layers = a;
        }, u.prototype.load = function (e) {
          return this.addResolvingPromise(this._loadFromSource(e)), this.when();
        }, u.prototype.loadAll = function () {
          var e = this;
          return f.loadAll(this, function (r) {
            r(e.layers);
          });
        }, u.prototype.queryElevation = function (e, r) {
          var t = this;
          return this._importElevationQuery().then(function (o) {
            var n = new o.ElevationQuery(),
                a = t.layers.filter(I).toArray();
            return n.queryAll(a, e, r);
          });
        }, u.prototype.createElevationSampler = function (e, r) {
          var t = this.layers.filter(I).toArray();
          return 1 === t.length ? t[0].createElevationSampler(e, r) : this._importElevationQuery().then(function (o) {
            return new o.ElevationQuery().createSamplerAll(t, e, r);
          });
        }, u.prototype.clone = function () {
          var e = {
            opacity: this.opacity,
            surfaceColor: c.clone(this.surfaceColor),
            navigationConstraint: c.clone(this.navigationConstraint),
            layers: this.layers.slice()
          };
          return this.loaded && (e.loadStatus = "loaded"), new y({
            resourceInfo: this.resourceInfo
          }).set(e);
        }, u.prototype.read = function (e, r) {
          this.resourceInfo || this._set("resourceInfo", {
            data: e,
            context: r
          }), this.inherited(arguments);
        }, u.prototype._loadFromSource = function (e) {
          var r = this.resourceInfo;
          return r ? this._loadLayersFromJSON(r.data, r.context, e) : h.resolve(null);
        }, u.prototype._loadLayersFromJSON = function (r, t, o) {
          var n = this,
              a = t && t.origin || "web-scene",
              i = t && t.portal || null,
              s = t && t.url || null;
          return h.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e("common"), __webpack_require__.e(50)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./portal/support/layersCreator */
              "./node_modules/arcgis-js-api/portal/support/layersCreator.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (e) {
            h.throwIfAborted(o);
            var t = [];

            if (r.layers && Array.isArray(r.layers)) {
              var l = {
                context: {
                  origin: a,
                  url: s,
                  portal: i,
                  layerContainerType: "ground"
                },
                defaultLayerType: "ArcGISTiledElevationServiceLayer"
              };
              t.push(e.populateOperationalLayers(n.layers, r.layers, l));
            }

            return h.eachAlways(t);
          }).then(function () {});
        }, u.prototype._importElevationQuery = function () {
          return h.create(function (r) {
            __webpack_require__.e(
            /*! AMD require */
            39).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./layers/support/ElevationQuery */
              "./node_modules/arcgis-js-api/layers/support/ElevationQuery.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        };
        var y;
        return n([v.property({
          json: {
            read: !1
          }
        })], u.prototype, "layers", null), n([v.writer("layers")], u.prototype, "writeLayers", null), n([v.property({
          readOnly: !0
        })], u.prototype, "resourceInfo", void 0), n([v.property({
          type: Number,
          nonNullable: !0,
          range: {
            min: 0,
            max: 1
          },
          json: {
            type: g.Integer,
            read: {
              reader: w.transparencyToOpacity,
              source: "transparency"
            },
            write: {
              writer: function writer(e, r) {
                r.transparency = w.opacityToTransparency(e);
              },
              target: "transparency"
            }
          }
        })], u.prototype, "opacity", void 0), n([v.property({
          type: a,
          json: {
            type: [g.Integer],
            write: function write(e, r) {
              r.surfaceColor = e.toJSON().slice(0, 3);
            }
          }
        })], u.prototype, "surfaceColor", void 0), n([v.property({
          type: m.NavigationConstraint,
          json: {
            write: !0
          }
        })], u.prototype, "navigationConstraint", void 0), u = y = n([v.subclass("esri.Ground")], u);
      }(v.declared(u.JSONSupportMixin(y)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiMapJs(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__(
    /*! ./Basemap */
    "./node_modules/arcgis-js-api/Basemap.js"), __webpack_require__(
    /*! ./Ground */
    "./node_modules/arcgis-js-api/Ground.js"), __webpack_require__(
    /*! ./core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./core/CollectionFlattener */
    "./node_modules/arcgis-js-api/core/CollectionFlattener.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./support/basemapUtils */
    "./node_modules/arcgis-js-api/support/basemapUtils.js"), __webpack_require__(
    /*! ./support/groundUtils */
    "./node_modules/arcgis-js-api/support/groundUtils.js"), __webpack_require__(
    /*! ./support/LayersMixin */
    "./node_modules/arcgis-js-api/support/LayersMixin.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, a, p, s, u, c, l, i, y, d) {
      var f = c.getLogger("esri.Map");
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.basemap = null, t.ground = new a(), t._basemapCache = i.createCache(), t;
        }

        return t(r, e), Object.defineProperty(r.prototype, "allLayers", {
          get: function get() {
            return new s({
              root: this,
              rootCollectionNames: ["basemap.baseLayers", "ground.layers", "layers", "basemap.referenceLayers"],
              getChildrenFunction: function getChildrenFunction(e) {
                return e.layers;
              }
            });
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.castBasemap = function (e) {
          return i.ensureType(e, this._basemapCache);
        }, r.prototype.castGround = function (e) {
          var r = y.ensureType(e);
          return r || (f.error("Map.ground may not be set to null or undefined"), this._get("ground"));
        }, r.prototype.findLayerById = function (e) {
          return this.allLayers.find(function (r) {
            return r.id === e;
          });
        }, o([l.property({
          readOnly: !0
        })], r.prototype, "allLayers", null), o([l.property({
          type: n
        })], r.prototype, "basemap", void 0), o([l.cast("basemap")], r.prototype, "castBasemap", null), o([l.property({
          type: a,
          nonNullable: !0
        })], r.prototype, "ground", void 0), o([l.cast("ground")], r.prototype, "castGround", null), r = o([l.subclass("esri.Map")], r);
      }(l.declared(d.LayersMixin(u.EventedMixin(p))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupTemplateJs(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/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ./core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ./core/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ./core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/lang */
    "./node_modules/arcgis-js-api/core/lang.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ./popup/content */
    "./node_modules/arcgis-js-api/popup/content.js"), __webpack_require__(
    /*! ./popup/ExpressionInfo */
    "./node_modules/arcgis-js-api/popup/ExpressionInfo.js"), __webpack_require__(
    /*! ./popup/FieldInfo */
    "./node_modules/arcgis-js-api/popup/FieldInfo.js"), __webpack_require__(
    /*! ./popup/LayerOptions */
    "./node_modules/arcgis-js-api/popup/LayerOptions.js"), __webpack_require__(
    /*! ./popup/RelatedRecordsInfo */
    "./node_modules/arcgis-js-api/popup/RelatedRecordsInfo.js"), __webpack_require__(
    /*! ./popup/content/AttachmentsContent */
    "./node_modules/arcgis-js-api/popup/content/AttachmentsContent.js"), __webpack_require__(
    /*! ./popup/content/Content */
    "./node_modules/arcgis-js-api/popup/content/Content.js"), __webpack_require__(
    /*! ./popup/content/FieldsContent */
    "./node_modules/arcgis-js-api/popup/content/FieldsContent.js"), __webpack_require__(
    /*! ./popup/content/MediaContent */
    "./node_modules/arcgis-js-api/popup/content/MediaContent.js"), __webpack_require__(
    /*! ./popup/content/TextContent */
    "./node_modules/arcgis-js-api/popup/content/TextContent.js"), __webpack_require__(
    /*! ./popup/content/support/mediaInfoTypes */
    "./node_modules/arcgis-js-api/popup/content/support/mediaInfoTypes.js"), __webpack_require__(
    /*! ./support/actions/ActionBase */
    "./node_modules/arcgis-js-api/support/actions/ActionBase.js"), __webpack_require__(
    /*! ./support/actions/ActionButton */
    "./node_modules/arcgis-js-api/support/actions/ActionButton.js"), __webpack_require__(
    /*! ./support/actions/ActionToggle */
    "./node_modules/arcgis-js-api/support/actions/ActionToggle.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, n, r, i, s, p, l, a, c, u, f, d, y, h, m, I, v, A, F, g, w, x, _, N, O, E, C, S, T) {
      var b = l.ofType({
        key: "type",
        defaultKeyValue: "button",
        base: C,
        typeMap: {
          button: S,
          toggle: T
        }
      }),
          R = {
        base: x,
        key: "type",
        typeMap: {
          media: N,
          text: O,
          attachments: w,
          fields: _
        }
      },
          L = f.getLogger("esri.PopupTemplate");
      return function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.actions = null, e.content = "", e.expressionInfos = null, e.fieldInfos = null, e.layerOptions = null, e.lastEditInfoEnabled = !0, e.outFields = null, e.overwriteActions = !1, e.title = "", e.relatedRecordsInfo = null, e;
        }

        n(e, t), o = e, e.prototype.castContent = function (t) {
          return Array.isArray(t) ? t.map(function (t) {
            return h.ensureOneOfType(R, t);
          }) : "string" == typeof t || "function" == typeof t || t instanceof HTMLElement || d.isPromiseLike(t) ? t : (L.error("content error", "unsupported content value", {
            value: t
          }), null);
        }, e.prototype.readContent = function (t, e) {
          var o = e.popupElements;
          return Array.isArray(o) && o.length > 0 ? this._readPopupInfoElements(e) : this._readPopupInfo(e);
        }, e.prototype.writeContent = function (t, e) {
          var o = this;
          if ("string" == typeof t) return void (e.description = t);
          Array.isArray(t) && (e.popupElements = t.map(function (t) {
            return t && t.toJSON();
          }), e.popupElements.forEach(function (t) {
            "attachments" === t.type ? o._writeAttachmentContent(e) : "media" === t.type ? o._writeMediaContent(t, e) : "text" === t.type && o._writeTextContent(t, e);
          }));
        }, e.prototype.writeFieldInfos = function (t, e) {
          var o = this.content,
              n = Array.isArray(o) ? o : null;

          if (t) {
            var r = !!n && n.some(function (t) {
              return "fields" === t.type && (!t.fieldInfos || 0 === t.fieldInfos.length);
            });
            e.fieldInfos = t.filter(Boolean).map(function (t) {
              var e = t.toJSON();
              return r || (e.visible = !1), e;
            });
          }

          if (n) for (var i = 0, s = n; i < s.length; i++) {
            var p = s[i];
            "fields" === p.type && this._writeFieldsContent(p, e);
          }
        }, e.prototype.writeLayerOptions = function (t, e) {
          e.layerOptions = !t || null === t.showNoDataRecords && null === t.returnTopmostRaster ? null : t.toJSON();
        }, e.prototype.writeTitle = function (t, e) {
          e.title = t || "";
        }, e.prototype.clone = function () {
          var t = this.actions,
              e = t ? u.clone(t.toArray()) : [];
          return new o({
            actions: e,
            content: Array.isArray(this.content) ? u.clone(this.content) : this.content,
            expressionInfos: Array.isArray(this.expressionInfos) ? u.clone(this.expressionInfos) : null,
            fieldInfos: Array.isArray(this.fieldInfos) ? u.clone(this.fieldInfos) : null,
            layerOptions: this.layerOptions ? u.clone(this.layerOptions) : null,
            lastEditInfoEnabled: this.lastEditInfoEnabled,
            outFields: Array.isArray(this.outFields) ? u.clone(this.outFields) : null,
            overwriteActions: this.overwriteActions,
            title: this.title,
            relatedRecordsInfo: this.relatedRecordsInfo ? u.clone(this.relatedRecordsInfo) : null
          });
        }, e.prototype.collectRequiredFields = function (t, e) {
          return s(this, void 0, void 0, function () {
            return i(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this._collectExpressionInfoFields(t, e, this.expressionInfos)];

                case 1:
                  return o.sent(), m.collectFields(t, e, (this.outFields || []).concat(this._getActionsFields(this.actions), this._getTitleFields(this.title), this._getContentFields(this.content))), [2];
              }
            });
          });
        }, e.prototype.getRequiredFields = function (t) {
          return s(this, void 0, void 0, function () {
            var e;
            return i(this, function (o) {
              switch (o.label) {
                case 0:
                  return e = new Set(), [4, this.collectRequiredFields(e, t)];

                case 1:
                  return o.sent(), [2, a.valuesOfSet(e).sort()];
              }
            });
          });
        }, e.prototype._writeFieldsContent = function (t, e) {
          if (Array.isArray(t.fieldInfos) && t.fieldInfos.length) {
            var o = u.clone(t.fieldInfos);
            Array.isArray(e.fieldInfos) ? o.forEach(function (t) {
              var o = p.find(e.fieldInfos, function (e) {
                return e.fieldName.toLowerCase() === t.fieldName.toLowerCase();
              });
              o ? o.visible = !0 : e.fieldInfos.push(t);
            }) : e.fieldInfos = o;
          }
        }, e.prototype._writeAttachmentContent = function (t) {
          t.showAttachments || (t.showAttachments = !0);
        }, e.prototype._writeTextContent = function (t, e) {
          !e.description && t.text && (e.description = t.text);
        }, e.prototype._writeMediaContent = function (t, e) {
          if (Array.isArray(t.mediaInfos) && t.mediaInfos.length) {
            var o = u.clone(t.mediaInfos);
            Array.isArray(e.mediaInfos) ? e.mediaInfos = e.mediaInfos.concat(o) : e.mediaInfos = o;
          }
        }, e.prototype._readPopupInfoElements = function (t) {
          var e = t.description,
              o = t.mediaInfos,
              n = t.popupElements,
              r = {
            description: !1,
            mediaInfos: !1
          };
          return n.map(function (t) {
            return "media" === t.type ? (t.mediaInfos || !o || r.mediaInfos || (t.mediaInfos = o, r.mediaInfos = !0), N.fromJSON(t)) : "text" === t.type ? (t.text || !e || r.description || (t.text = e, r.description = !0), O.fromJSON(t)) : "attachments" === t.type ? w.fromJSON(t) : "fields" === t.type ? _.fromJSON(t) : void 0;
          }).filter(Boolean);
        }, e.prototype._readPopupInfo = function (t) {
          var e = t.description,
              o = t.mediaInfos,
              n = t.showAttachments,
              r = [];
          return e ? r.push(new O({
            text: e
          })) : r.push(new _()), Array.isArray(o) && o.length && r.push(N.fromJSON({
            mediaInfos: o
          })), n && r.push(w.fromJSON({
            displayType: "list"
          })), r.length ? r : e;
        }, e.prototype._getContentElementFields = function (t) {
          var e = this;
          if (!t || "attachments" === t.type) return [];
          if ("fields" === t.type) return this._getFieldInfoFields(t.fieldInfos || this.fieldInfos);

          if ("media" === t.type) {
            return (t.mediaInfos || []).reduce(function (t, o) {
              return t.concat(e._getMediaInfoFields(o));
            }, []);
          }

          return "text" === t.type ? this._extractFieldNames(t.text) : void 0;
        }, e.prototype._getMediaInfoFields = function (t) {
          var e = t.caption,
              o = t.title,
              n = t.value,
              r = n || {},
              i = r.fields,
              s = void 0 === i ? [] : i,
              p = r.normalizeField,
              l = r.tooltipField,
              a = r.sourceURL,
              c = r.linkURL,
              u = this._extractFieldNames(o).concat(this._extractFieldNames(e), this._extractFieldNames(a), this._extractFieldNames(c), s);

          return p && u.push(p), l && u.push(l), u;
        }, e.prototype._getContentFields = function (t) {
          var e = this;
          return "string" == typeof t ? this._extractFieldNames(t) : Array.isArray(t) ? t.reduce(function (t, o) {
            return t.concat(e._getContentElementFields(o));
          }, []) : [];
        }, e.prototype._collectExpressionInfoFields = function (t, e, o) {
          return s(this, void 0, void 0, function () {
            return i(this, function (n) {
              switch (n.label) {
                case 0:
                  return o ? [4, d.all(o.map(function (o) {
                    return m.collectArcadeFieldNames(t, e, o.expression);
                  }))] : [2];

                case 1:
                  return n.sent(), [2];
              }
            });
          });
        }, e.prototype._getFieldInfoFields = function (t) {
          return t ? t.filter(function (t) {
            return void 0 === t.visible || !!t.visible;
          }).map(function (t) {
            return t.fieldName;
          }).filter(function (t) {
            return -1 === t.indexOf("relationships/") && -1 === t.indexOf("expression/");
          }) : [];
        }, e.prototype._getActionsFields = function (t) {
          var e = this;
          return t ? t.toArray().reduce(function (t, o) {
            return t.concat(e._getActionFields(o));
          }, []) : [];
        }, e.prototype._getActionFields = function (t) {
          var e = t.className,
              o = t.title,
              n = t.type,
              r = "button" === n || "toggle" === n ? t.image : "";
          return this._extractFieldNames(o).concat(this._extractFieldNames(e), this._extractFieldNames(r));
        }, e.prototype._getTitleFields = function (t) {
          return "string" == typeof t ? this._extractFieldNames(t) : [];
        }, e.prototype._extractFieldNames = function (t) {
          if (!t || "string" != typeof t) return [];
          var e = /{[^}]*}/g,
              o = t.match(e);
          if (!o) return [];
          var n = /\{(\w+):.+\}/,
              r = o.filter(function (t) {
            return !(0 === t.indexOf("{relationships/") || 0 === t.indexOf("{expression/"));
          }).map(function (t) {
            return t.replace(n, "{$1}");
          });
          return r ? r.map(function (t) {
            return t.slice(1, -1);
          }) : [];
        };
        var o;
        return r([y.property({
          type: b
        })], e.prototype, "actions", void 0), r([y.property()], e.prototype, "content", void 0), r([y.cast("content")], e.prototype, "castContent", null), r([y.reader("content", ["description", "popupElements", "mediaInfos", "showAttachments"])], e.prototype, "readContent", null), r([y.writer("content", {
          popupElements: {
            type: l.ofType(I.types)
          },
          showAttachments: {
            type: Boolean
          },
          mediaInfos: {
            type: l.ofType(E.types)
          },
          description: {
            type: String
          }
        })], e.prototype, "writeContent", null), r([y.property({
          type: [v],
          json: {
            write: !0
          }
        })], e.prototype, "expressionInfos", void 0), r([y.property({
          type: [A]
        })], e.prototype, "fieldInfos", void 0), r([y.writer("fieldInfos")], e.prototype, "writeFieldInfos", null), r([y.property({
          type: F
        })], e.prototype, "layerOptions", void 0), r([y.writer("layerOptions")], e.prototype, "writeLayerOptions", null), r([y.property({
          type: Boolean,
          json: {
            read: {
              source: "showLastEditInfo"
            },
            write: {
              target: "showLastEditInfo"
            },
            "default": !0
          }
        })], e.prototype, "lastEditInfoEnabled", void 0), r([y.property()], e.prototype, "outFields", void 0), r([y.property()], e.prototype, "overwriteActions", void 0), r([y.property({
          json: {
            type: String
          }
        })], e.prototype, "title", void 0), r([y.writer("title")], e.prototype, "writeTitle", null), r([y.property({
          type: g,
          json: {
            write: !0
          }
        })], e.prototype, "relatedRecordsInfo", void 0), e = o = r([y.subclass("esri.PopupTemplate")], e);
      }(y.declared(c.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTimeExtentJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./layers/support/timeUtils */
    "./node_modules/arcgis-js-api/layers/support/timeUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, o, l, a) {
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.end = null, r.start = null, r;
        }

        r(e, t), o = e, e.prototype.readEnd = function (t, e) {
          return null != e.end ? new Date(e.end) : null;
        }, e.prototype.writeEnd = function (t, e, r) {
          e.end = t ? t.getTime() : null;
        }, e.prototype.readStart = function (t, e) {
          return null != e.start ? new Date(e.start) : null;
        }, e.prototype.writeStart = function (t, e, r) {
          e.start = t ? t.getTime() : null;
        }, e.prototype.clone = function () {
          return new o({
            end: this.end,
            start: this.start
          });
        }, e.prototype.intersection = function (t) {
          if (!t) return null;
          var e,
              r,
              n = this.start ? this.start.getTime() : -1 / 0,
              l = this.end ? this.end.getTime() : 1 / 0,
              a = t.start ? t.start.getTime() : -1 / 0,
              i = t.end ? t.end.getTime() : 1 / 0;

          if (a >= n && a <= l ? e = a : n >= a && n <= i && (e = n), l >= a && l <= i ? r = l : i >= n && i <= l && (r = i), !isNaN(e) && !isNaN(r)) {
            var s = new o();
            return s.start = e === -1 / 0 ? null : new Date(e), s.end = r === 1 / 0 ? null : new Date(r), s;
          }

          return null;
        }, e.prototype.offset = function (t, e) {
          var r = new o(),
              n = this,
              l = n.start,
              i = n.end;
          return l && (r.start = a.offsetDate(l, t, e)), i && (r.end = a.offsetDate(i, t, e)), r;
        }, e.prototype.equals = function (t) {
          if (!t) return !1;
          var e = this.start ? this.start.getTime() : null,
              r = this.end ? this.end.getTime() : null,
              n = t.start ? t.start.getTime() : null,
              o = t.end ? t.end.getTime() : null;
          return e === n && r === o;
        };
        var o;
        return n([l.property({
          type: Date,
          json: {
            write: {
              allowNull: !0
            }
          }
        })], e.prototype, "end", void 0), n([l.reader("end")], e.prototype, "readEnd", null), n([l.writer("end")], e.prototype, "writeEnd", null), n([l.property({
          type: Date,
          json: {
            write: {
              allowNull: !0
            }
          }
        })], e.prototype, "start", void 0), n([l.reader("start")], e.prototype, "readStart", null), n([l.writer("start")], e.prototype, "writeStart", null), e = o = n([l.subclass("esri.TimeExtent")], e);
      }(l.declared(o.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTimeIntervalJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./layers/support/timeUtils */
    "./node_modules/arcgis-js-api/layers/support/timeUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, u) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.value = 0, r.unit = "milliseconds", r;
        }

        r(t, e), o = t, t.prototype.toMilliseconds = function () {
          return this.value * u.millisecondsPerTimeUnit[this.unit];
        }, t.prototype.clone = function () {
          return new o({
            value: this.value,
            unit: this.unit
          });
        };
        var o;
        return i([n.property({
          type: Number,
          json: {
            write: !0
          },
          nonNullable: !0
        })], t.prototype, "value", void 0), i([n.property({
          type: u.timeUnitKebabDictionary.apiValues,
          json: {
            type: u.timeUnitKebabDictionary.jsonValues,
            read: u.timeUnitKebabDictionary.read,
            write: u.timeUnitKebabDictionary.write
          },
          nonNullable: !0
        })], t.prototype, "unit", void 0), t = o = i([n.subclass("esri.TimeInterval")], t);
      }(n.declared(o.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewpointJs(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__(
    /*! ./Camera */
    "./node_modules/arcgis-js-api/Camera.js"), __webpack_require__(
    /*! ./geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ./core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ./core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, a, p, s) {
      function c() {
        return {
          enabled: !this.camera
        };
      }

      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.rotation = 0, r.scale = 0, r.targetGeometry = null, r.camera = null, r;
        }

        r(t, e), a = t, t.prototype.castRotation = function (e) {
          return e %= 360, e < 0 && (e += 360), e;
        }, t.prototype.clone = function () {
          return new a({
            rotation: this.rotation,
            scale: this.scale,
            targetGeometry: this.targetGeometry ? this.targetGeometry.clone() : null,
            camera: this.camera ? this.camera.clone() : null
          });
        };
        var a;
        return o([p.property({
          type: Number,
          json: {
            write: !0,
            origins: {
              "web-scene": {
                write: {
                  overridePolicy: c
                }
              }
            }
          }
        })], t.prototype, "rotation", void 0), o([p.cast("rotation")], t.prototype, "castRotation", null), o([p.property({
          type: Number,
          json: {
            write: !0,
            origins: {
              "web-scene": {
                write: {
                  overridePolicy: c
                }
              }
            }
          }
        })], t.prototype, "scale", void 0), o([p.property({
          types: n.geometryTypes,
          json: {
            read: s.fromJSON,
            write: !0,
            origins: {
              "web-scene": {
                read: s.fromJSON,
                write: {
                  overridePolicy: c
                }
              }
            }
          }
        })], t.prototype, "targetGeometry", void 0), o([p.property({
          type: i,
          json: {
            write: !0
          }
        })], t.prototype, "camera", void 0), t = a = o([p.subclass("esri.Viewpoint")], t);
      }(p.declared(a.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Accessor.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Accessor.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorJs(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__(
    /*! ./declare */
    "./node_modules/arcgis-js-api/core/declare.js"), __webpack_require__(
    /*! ./accessorSupport/Properties */
    "./node_modules/arcgis-js-api/core/accessorSupport/Properties.js"), __webpack_require__(
    /*! ./accessorSupport/get */
    "./node_modules/arcgis-js-api/core/accessorSupport/get.js"), __webpack_require__(
    /*! ./accessorSupport/introspection */
    "./node_modules/arcgis-js-api/core/accessorSupport/introspection.js"), __webpack_require__(
    /*! ./accessorSupport/set */
    "./node_modules/arcgis-js-api/core/accessorSupport/set.js"), __webpack_require__(
    /*! ./accessorSupport/watch */
    "./node_modules/arcgis-js-api/core/accessorSupport/watch.js"), __webpack_require__(
    /*! ./accessorSupport/testSupport */
    "./node_modules/arcgis-js-api/core/accessorSupport/testSupport.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, s, c, i, o) {
      e = e["default"], t.before(function (e, r) {
        t.hasMixin(e, n) && s.processPrototype(r);
      }), t.after(function (e) {
        t.hasMixin(e, n) && (s.processClass(e), Object.defineProperties(e.prototype, {
          initialized: {
            get: function get() {
              return this.__accessor__ && this.__accessor__.initialized || !1;
            }
          },
          constructed: {
            get: function get() {
              return this.__accessor__ && 2 === this.__accessor__.lifecycle || !1;
            }
          },
          destroyed: {
            get: function get() {
              return this.__accessor__ && this.__accessor__.destroyed || !1;
            }
          }
        }));
      });
      var n = t(null, {
        declaredClass: "esri.core.Accessor",
        "-chains-": {
          initialize: "after",
          destroy: "before"
        },
        constructor: function constructor() {
          if (this.constructor === n) throw new Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");

          if (Object.defineProperty(this, "__accessor__", {
            value: new e(this)
          }), arguments.length > 0 && this.normalizeCtorArgs) {
            for (var t = [], r = 0; r < arguments.length; r++) t.push(arguments[r]);

            this.__accessor__.ctorArgs = this.normalizeCtorArgs.apply(this, t);
          }

          o.interceptor && o.interceptor.onInstanceConstruct(this);
        },
        __accessor__: null,
        postscript: function postscript(t) {
          var e = this.__accessor__,
              r = e.ctorArgs || t;
          e.initialize(), r && (this.set(r), e.ctorArgs = null), e.constructed(), this.initialize();
        },
        initialize: function initialize() {},
        destroy: function destroy() {
          if (this.destroyed) try {
            throw new Error("instance is already destroyed");
          } catch (t) {
            console.warn(t.stack);
          } else i.removeTarget(this), this.__accessor__.destroy(), o.interceptor && o.interceptor.onInstanceDestroy(this);
        },
        get: function get(t) {
          return r.get(this, t);
        },
        hasOwnProperty: function hasOwnProperty(t) {
          return this.__accessor__ ? this.__accessor__.has(t) : Object.prototype.hasOwnProperty.call(this, t);
        },
        keys: function keys() {
          return this.__accessor__ ? this.__accessor__.keys() : [];
        },
        set: function set(t, e) {
          return c.set(this, t, e), this;
        },
        watch: function watch(t, e, r) {
          return i.watch(this, t, e, r);
        },
        _clearOverride: function _clearOverride(t) {
          return this.__accessor__.clearOverride(t);
        },
        _override: function _override(t, e) {
          return this.__accessor__.override(t, e);
        },
        _isOverridden: function _isOverridden(t) {
          return this.__accessor__.isOverridden(t);
        },
        notifyChange: function notifyChange(t) {
          this.__accessor__.propertyInvalidated(t);
        },
        _get: function _get(t) {
          return this.__accessor__.internalGet(t);
        },
        _set: function _set(t, e) {
          return this.__accessor__.internalSet(t, e);
        }
      });
      return n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/ArrayPool.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/ArrayPool.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreArrayPoolJs(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__(
    /*! ./ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function o(e) {
        e.length = 0;
      }

      var t = Array.prototype.splice,
          u = function () {
        function e(e, r) {
          void 0 === e && (e = 50), void 0 === r && (r = 50), this._pool = new n(Array, !1, o, r, e);
        }

        return e.prototype.acquire = function () {
          return this._pool.acquire();
        }, e.prototype.copy = function (e) {
          var r = this.acquire();
          return e.unshift(0, 0), t.apply(r, e), e.splice(0, 2), r;
        }, e.prototype.release = function (e) {
          this._pool.release(e);
        }, e.prototype.prune = function () {
          this._pool.prune(0);
        }, e.acquire = function () {
          return i.acquire();
        }, e.copy = function (e) {
          return i.copy(e);
        }, e.release = function (e) {
          return i.release(e);
        }, e.prune = function () {
          i.prune();
        }, e;
      }(),
          i = new u(100);

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

  /***/
  "./node_modules/arcgis-js-api/core/CircularArray.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/CircularArray.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreCircularArrayJs(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 (t, e) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function () {
        function t(t) {
          this.size = 0, this._start = 0, this.maxSize = t, this._buffer = new Array(t);
        }

        return Object.defineProperty(t.prototype, "entries", {
          get: function get() {
            return this._buffer;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.enqueue = function (t) {
          if (this.size === this.maxSize) {
            var e = this._buffer[this._start];
            return this._buffer[this._start] = t, this._start = (this._start + 1) % this.maxSize, e;
          }

          return this._buffer[(this._start + this.size++) % this.maxSize] = t, null;
        }, t.prototype.dequeue = function () {
          if (0 === this.size) return null;
          var t = this._buffer[this._start];
          return this._buffer[this._start] = null, this.size--, this._start = (this._start + 1) % this.maxSize, t;
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/core/Collection.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Collection.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreCollectionJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./ArrayPool */
    "./node_modules/arcgis-js-api/core/ArrayPool.js"), __webpack_require__(
    /*! ./arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ./Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js"), __webpack_require__(
    /*! ./scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, n, s, o, h, a, c, l, f) {
      function p(e) {
        return e ? e instanceof E ? e.toArray() : e.length ? Array.prototype.slice.apply(e) : [] : [];
      }

      function u(e) {
        if (e && e.length) return e[0];
      }

      function g(e, t, i, r) {
        for (var n = Math.min(e.length - i, t.length - r), s = 0; s < n && e[i + s] === t[r + s];) s++;

        return s;
      }

      function v(e, t, i, r) {
        t && t.forEach(function (t, n, s) {
          e.push(t), v(e, i.call(r, t, n, s), i, r);
        });
      }

      var m = function () {
        function e() {
          this.target = null, this.cancellable = !1, this.defaultPrevented = !1;
        }

        return e.prototype.preventDefault = function () {
          this.cancellable && (this.defaultPrevented = !0);
        }, e.prototype.reset = function (e) {
          this.defaultPrevented = !1, this.item = e;
        }, e;
      }(),
          d = function d() {},
          _ = new a(m, !0, function (e) {
        e.item = null, e.target = null;
      }),
          y = new Set(),
          C = new Set(),
          A = new Set(),
          b = new Map(),
          x = 0,
          E = function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i._chgListeners = [], i._notifications = null, i._timer = null, i.length = 0, i._items = [], Object.defineProperty(i, "uid", {
            value: x++
          }), i;
        }

        i(t, e), o = t, t.isCollection = function (e) {
          return null != e && e instanceof o;
        }, t.prototype.normalizeCtorArgs = function (e) {
          return e ? Array.isArray(e) || e instanceof o ? {
            items: e
          } : e : {};
        }, Object.defineProperty(t.prototype, "items", {
          get: function get() {
            return this._items;
          },
          set: function set(e) {
            this._emitBeforeChanges(1) || (this._splice.apply(this, [0, this.length].concat(p(e))), this._emitAfterChanges(1));
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.hasEventListener = function (e) {
          return "change" === e ? this._chgListeners.length > 0 : this._emitter.hasEventListener(e);
        }, t.prototype.on = function (e, t) {
          if ("change" === e) {
            var i = this._chgListeners,
                r = {
              removed: !1,
              callback: t
            };
            return i.push(r), this._notifications && this._notifications.push({
              listeners: i.slice(),
              items: this._items.slice(),
              changes: []
            }), {
              remove: function remove() {
                this.remove = d, r.removed = !0, i.splice(i.indexOf(r), 1);
              }
            };
          }

          return this._emitter.on(e, t);
        }, t.prototype.once = function (e, t) {
          var i = this.on(e, t);
          return {
            remove: function remove() {
              i.remove();
            }
          };
        }, t.prototype.add = function (e, t) {
          if (this._emitBeforeChanges(1)) return this;
          var i = this.getNextIndex(t);
          return this._splice(i, 0, e), this._emitAfterChanges(1), this;
        }, t.prototype.addMany = function (e, t) {
          if (void 0 === t && (t = this._items.length), !e || !e.length) return this;
          if (this._emitBeforeChanges(1)) return this;
          var i = this.getNextIndex(t);
          return this._splice.apply(this, [i, 0].concat(p(e))), this._emitAfterChanges(1), this;
        }, t.prototype.removeAll = function () {
          if (!this.length || this._emitBeforeChanges(2)) return [];
          var e = this._splice(0, this.length) || [];
          return this._emitAfterChanges(2), e;
        }, t.prototype.clone = function () {
          return this._createNewInstance({
            items: this._items.map(h.clone)
          });
        }, t.prototype.concat = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          var i,
              r = e.map(p);
          return this._createNewInstance({
            items: (i = this._items).concat.apply(i, r)
          });
        }, t.prototype.drain = function (e, t) {
          if (this.length && !this._emitBeforeChanges(2)) {
            for (var i = this._splice(0, this.length), r = i.length, n = 0; n < r; n++) e.call(t, i[n], n, i);

            this._emitAfterChanges(2);
          }
        }, t.prototype.every = function (e, t) {
          return this._items.every(e, t);
        }, t.prototype.filter = function (e, t) {
          var i;
          return i = 2 === arguments.length ? this._items.filter(e, t) : this._items.filter(e), this._createNewInstance({
            items: i
          });
        }, t.prototype.find = function (e, t) {
          return s.find(this._items, e, t);
        }, t.prototype.findIndex = function (e, t) {
          return s.findIndex(this._items, e, t);
        }, t.prototype.flatten = function (e, t) {
          var i = [];
          return v(i, this, e, t), new o(i);
        }, t.prototype.forEach = function (e, t) {
          return this._items.forEach(e, t);
        }, t.prototype.getItemAt = function (e) {
          return this._items[e];
        }, t.prototype.getNextIndex = function (e) {
          var t = this.length;
          return e = null == e ? t : e, e < 0 ? e = 0 : e > t && (e = t), e;
        }, t.prototype.includes = function (e, t) {
          return void 0 === t && (t = 0), !!arguments.length && -1 !== this._items.indexOf(e, t);
        }, t.prototype.indexOf = function (e, t) {
          return void 0 === t && (t = 0), this._items.indexOf(e, t);
        }, t.prototype.join = function (e) {
          return void 0 === e && (e = ","), this._items.join(e);
        }, t.prototype.lastIndexOf = function (e, t) {
          return void 0 === t && (t = this.length - 1), this._items.lastIndexOf(e, t);
        }, t.prototype.map = function (e, t) {
          var i = this._items.map(e, t);

          return new o({
            items: i
          });
        }, t.prototype.reorder = function (e, t) {
          void 0 === t && (t = this.length - 1);
          var i = this.indexOf(e);

          if (-1 !== i) {
            if (t < 0 ? t = 0 : t >= this.length && (t = this.length - 1), i !== t) {
              if (this._emitBeforeChanges(4)) return e;
              this._splice(i, 1), this._splice(t, 0, e), this._emitAfterChanges(4);
            }

            return e;
          }
        }, t.prototype.pop = function () {
          if (this.length && !this._emitBeforeChanges(2)) {
            var e = u(this._splice(this.length - 1, 1));
            return this._emitAfterChanges(2), e;
          }
        }, t.prototype.push = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          return this._emitBeforeChanges(1) ? this.length : (this._splice.apply(this, [this.length, 0].concat(e)), this._emitAfterChanges(1), this.length);
        }, t.prototype.reduce = function (e, t) {
          var i = this._items;
          return 2 === arguments.length ? i.reduce(e, t) : i.reduce(e);
        }, t.prototype.reduceRight = function (e, t) {
          var i = this._items;
          return 2 === arguments.length ? i.reduceRight(e, t) : i.reduceRight(e);
        }, t.prototype.remove = function (e) {
          return this.removeAt(this.indexOf(e));
        }, t.prototype.removeAt = function (e) {
          if (!(e < 0 || e >= this.length || this._emitBeforeChanges(2))) {
            var t = u(this._splice(e, 1));
            return this._emitAfterChanges(2), t;
          }
        }, t.prototype.removeMany = function (e) {
          if (!e || !e.length || this._emitBeforeChanges(2)) return [];

          for (var t = e instanceof o ? e.toArray() : e, i = this._items, r = [], n = t.length, s = 0; s < n; s++) {
            var h = t[s],
                a = i.indexOf(h);

            if (a > -1) {
              var c = 1 + g(t, i, s + 1, a + 1),
                  l = this._splice(a, c);

              l && l.length > 0 && r.push.apply(r, l), s += c - 1;
            }
          }

          return this._emitAfterChanges(2), r;
        }, t.prototype.reverse = function () {
          if (this._emitBeforeChanges(4)) return this;

          var e = this._splice(0, this.length);

          return e && (e.reverse(), this._splice.apply(this, [0, 0].concat(e))), this._emitAfterChanges(4), this;
        }, t.prototype.shift = function () {
          if (this.length && !this._emitBeforeChanges(2)) {
            var e = u(this._splice(0, 1));
            return this._emitAfterChanges(2), e;
          }
        }, t.prototype.slice = function (e, t) {
          return void 0 === e && (e = 0), void 0 === t && (t = this.length), this._createNewInstance({
            items: this._items.slice(e, t)
          });
        }, t.prototype.some = function (e, t) {
          return this._items.some(e, t);
        }, t.prototype.sort = function (e) {
          if (!this.length || this._emitBeforeChanges(4)) return this;

          var t = this._splice(0, this.length);

          return arguments.length ? t.sort(e) : t.sort(), this._splice.apply(this, [0, 0].concat(t)), this._emitAfterChanges(4), this;
        }, t.prototype.splice = function (e, t) {
          for (var i = [], r = 2; r < arguments.length; r++) i[r - 2] = arguments[r];

          var n = (t ? 2 : 0) | (i.length ? 1 : 0);
          if (this._emitBeforeChanges(n)) return [];
          var s = this._splice.apply(this, [e, t].concat(i)) || [];
          return this._emitAfterChanges(n), s;
        }, t.prototype.toArray = function () {
          return this._items.slice();
        }, t.prototype.toJSON = function () {
          return this.toArray();
        }, t.prototype.toLocaleString = function () {
          return this._items.toLocaleString();
        }, t.prototype.toString = function () {
          return this._items.toString();
        }, t.prototype.unshift = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          return !e.length || this._emitBeforeChanges(1) ? this.length : (this._splice.apply(this, [0, 0].concat(e)), this._emitAfterChanges(1), this.length);
        }, t.prototype._createNewInstance = function (e) {
          return new this.constructor(e);
        }, t.prototype._splice = function (e, t) {
          for (var i = this, r = [], n = 2; n < arguments.length; n++) r[n - 2] = arguments[n];

          var s,
              o,
              h = this._items,
              a = this.constructor.prototype.itemType;

          if (!this._notifications && this.hasEventListener("change") && (this._notifications = [{
            listeners: this._chgListeners.slice(),
            items: this._items.slice(),
            changes: []
          }], this._timer && this._timer.remove(), this._timer = c.schedule(function () {
            return i._dispatchChange();
          })), t) {
            if (o = h.splice(e, t), this.hasEventListener("before-remove")) {
              var l = _.acquire();

              l.target = this, l.cancellable = !0;

              for (var f = 0, p = o.length; f < p; f++) s = o[f], l.reset(s), this.emit("before-remove", l), l.defaultPrevented && (o.splice(f, 1), h.splice(e, 0, s), e += 1, f -= 1, p -= 1);

              _.release(l);
            }

            if (this.length = this._items.length, this.hasEventListener("after-remove")) {
              var u = _.acquire();

              u.target = this, u.cancellable = !1;

              for (var p = o.length, f = 0; f < p; f++) u.reset(o[f]), this.emit("after-remove", u);

              _.release(u);
            }
          }

          if (r && r.length) {
            if (a) {
              for (var g = [], v = 0, m = r; v < m.length; v++) {
                var d = m[v],
                    y = a.ensureType(d);
                null == y && null != d || g.push(y);
              }

              r = g;
            }

            var C = this.hasEventListener("before-add"),
                A = this.hasEventListener("after-add"),
                b = e === this.length;

            if (C || A) {
              var x = _.acquire();

              x.target = this, x.cancellable = !0;

              var E = _.acquire();

              E.target = this, E.cancellable = !1;

              for (var O = 0, B = r; O < B.length; O++) {
                var L = B[O];
                C ? (x.reset(L), this.emit("before-add", x), x.defaultPrevented || (b ? h.push(L) : h.splice(e++, 0, L), this._set("length", h.length), A && (E.reset(L), this.emit("after-add", E)))) : (b ? h.push(L) : h.splice(e++, 0, L), this._set("length", h.length), E.reset(L), this.emit("after-add", E));
              }

              _.release(E), _.release(x);
            } else b ? h.push.apply(h, r) : h.splice.apply(h, [e, 0].concat(r)), this._set("length", h.length);
          }

          return (r && r.length || o && o.length) && this._notifyChangeEvent(r, o), o;
        }, t.prototype._emitBeforeChanges = function (e) {
          var t = !1;

          if (this.hasEventListener("before-changes")) {
            var i = _.acquire();

            i.target = this, i.cancellable = !0, i.type = e, this.emit("before-changes", i), t = i.defaultPrevented, _.release(i);
          }

          return t;
        }, t.prototype._emitAfterChanges = function (e) {
          if (this.hasEventListener("after-changes")) {
            var t = _.acquire();

            t.target = this, t.cancellable = !1, t.type = e, this.emit("after-changes", t), _.release(t);
          }
        }, t.prototype._notifyChangeEvent = function (e, t) {
          this.hasEventListener("change") && this._notifications[this._notifications.length - 1].changes.push({
            added: e,
            removed: t
          });
        }, t.prototype._dispatchChange = function () {
          if (this._timer && (this._timer.remove(), this._timer = null), this._notifications) {
            var e = this._notifications;
            this._notifications = null;

            for (var t = this, i = 0, r = e; i < r.length; i++) {
              var s = r[i];
              !function (e) {
                var i = e.changes;
                y.clear(), C.clear(), A.clear();

                for (var r = 0, s = i; r < s.length; r++) {
                  var o = s[r],
                      h = o.added,
                      a = o.removed;
                  if (h) if (0 === A.size && 0 === C.size) for (var c = 0, l = h; c < l.length; c++) {
                    var f = l[c];
                    y.add(f);
                  } else for (var p = 0, u = h; p < u.length; p++) {
                    var f = u[p];
                    C.has(f) ? (A.add(f), C["delete"](f)) : A.has(f) || y.add(f);
                  }
                  if (a) if (0 === A.size && 0 === y.size) for (var g = 0, v = a; g < v.length; g++) {
                    var f = v[g];
                    C.add(f);
                  } else for (var m = 0, d = a; m < d.length; m++) {
                    var f = d[m];
                    y.has(f) ? y["delete"](f) : (A["delete"](f), C.add(f));
                  }
                }

                var _ = n.acquire();

                y.forEach(function (e) {
                  _.push(e);
                });
                var b = n.acquire();
                C.forEach(function (e) {
                  b.push(e);
                });
                var x = t._items,
                    E = e.items,
                    O = n.acquire();
                if (A.forEach(function (e) {
                  E.indexOf(e) !== x.indexOf(e) && O.push(e);
                }), e.listeners && (_.length || b.length || O.length)) for (var B = {
                  target: t,
                  added: _,
                  removed: b,
                  moved: O
                }, L = e.listeners, w = L.length, I = 0; I < w; I++) {
                  var S = e.listeners[I];
                  S.removed || S.callback.call(t, B);
                }
                n.release(_), n.release(b), n.release(O);
              }(s);
            }

            y.clear(), C.clear(), A.clear();
          }
        };
        var o;
        return t.ofType = function (e) {
          if (!e) return o;
          if (b.has(e)) return b.get(e);
          var t;
          if ("function" == typeof e) t = e.prototype.declaredClass;else if (e.base) t = e.base.prototype.declaredClass;else for (var n in e.typeMap) {
            var s = e.typeMap[n].prototype.declaredClass;
            t ? t += " | " + s : t = s;
          }

          var h = function (e) {
            function n() {
              return null !== e && e.apply(this, arguments) || this;
            }

            return i(n, e), n = r([l.subclass("esri.core.Collection<" + t + ">")], n);
          }(l.declared(o)),
              a = {
            Type: e,
            ensureType: "function" == typeof e ? f.ensureType(e) : f.ensureOneOfType(e)
          };

          return Object.defineProperty(h.prototype, "itemType", {
            value: a
          }), b.set(e, h), h;
        }, r([l.property()], t.prototype, "length", void 0), r([l.property()], t.prototype, "items", null), t = o = r([l.subclass("esri.core.Collection")], t);
      }(l.declared(o.EventedAccessor));

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

  /***/
  "./node_modules/arcgis-js-api/core/CollectionFlattener.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/CollectionFlattener.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreCollectionFlattenerJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ./Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, o, e, r, n, i, s) {
      return function (t) {
        function o(o) {
          var e = t.call(this, o) || this;
          return e._handles = new i(), e.root = null, e;
        }

        return e(o, t), o.prototype.initialize = function () {
          var t = this;
          this._handles.add(this.rootCollectionNames.map(function (o) {
            return t.watch("root." + o, function () {
              return t.updateCollections();
            }, !0);
          })), this.updateCollections();
        }, o.prototype.destroy = function () {
          this.root = null, this.refresh(), this._handles.destroy(), this._handles = null;
        }, o.prototype.updateCollections = function () {
          var t = this;
          this._collections = this.rootCollectionNames.map(function (o) {
            return t.get("root." + o);
          }).filter(function (t) {
            return null != t;
          }), this.refresh();
        }, o.prototype.refresh = function () {
          var t = this,
              o = this._handles;
          o.remove("collections"), this.removeAll();

          for (var e = [], r = [], n = 0, i = this._collections; n < i.length; n++) {
            var s = i[n];

            this._processCollection(e, r, s);
          }

          this.push.apply(this, r);

          for (var l = 0, c = e; l < c.length; l++) {
            var p = c[l];
            o.add(p.on("after-changes", function () {
              return t.refresh();
            }), "collections");
          }
        }, o.prototype._createNewInstance = function (t) {
          return new n(t);
        }, o.prototype._processCollection = function (t, o, e) {
          var r = this;
          e && (t.push(e), e.forEach(function (e) {
            e && (o.push(e), r._processCollection(t, o, r.getChildrenFunction(e)));
          }));
        }, r([s.property()], o.prototype, "rootCollectionNames", void 0), r([s.property()], o.prototype, "root", void 0), r([s.property()], o.prototype, "getChildrenFunction", void 0), o = r([s.subclass("esri.core.CollectionFlattener")], o);
      }(s.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Error.js":
  /*!**************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Error.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreErrorJs(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__(
    /*! ./tsSupport/extendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./Message */
    "./node_modules/arcgis-js-api/core/Message.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, s, n) {
      var i = function (e) {
        function t(r, o, s) {
          var n = e.call(this, r, o, s) || this;
          return n instanceof t ? n : new t(r, o, s);
        }

        return r(t, e), t.prototype.toJSON = function () {
          if (null != this.details) try {
            var e = o.clone(this.details);
            return {
              name: this.name,
              message: this.message,
              details: e,
              dojoType: this.dojoType
            };
          } catch (e) {
            throw s.getLogger("esri.core.Error").error(e), e;
          }
          return {
            name: this.name,
            message: this.message,
            details: this.details,
            dojoType: this.dojoType
          };
        }, t.fromJSON = function (e) {
          var r = new t(e.name, e.message, e.details);
          return null != e.dojoType && (r.dojoType = e.dojoType), r;
        }, t;
      }(n);

      return i.prototype.type = "error", i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Evented.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Evented.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreEventedJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./accessorSupport/utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, i, o, s) {
      var u = function () {
        function t(e) {
          this._emitter = new t.EventEmitter(this);
          var r = e && void 0 !== e.target ? e.target : this;
          this._emitter = new t.EventEmitter(r);
        }

        return t.prototype.emit = function (t, e) {
          return this._emitter.emit(t, e);
        }, t.prototype.on = function (t, e) {
          return this._emitter.on(t, e);
        }, t.prototype.once = function (t, e) {
          return this._emitter.once(t, e);
        }, t.prototype.hasEventListener = function (t) {
          return this._emitter.hasEventListener(t);
        }, t;
      }();

      return function (t) {
        var e = function () {
          function t(t) {
            this.target = t;
          }

          return t.prototype.clear = function () {
            this._listenersMap && this._listenersMap.clear();
          }, t.prototype.emit = function (t, e) {
            var r = this,
                n = this._listenersMap && this._listenersMap.get(t);

            return !!n && (e = e || {}, (!e.target && this.target || e.target && !this.target) && (e.target = this.target), n.slice().forEach(function (t) {
              t.call(r.target, e);
            }), n.length > 0);
          }, t.prototype.on = function (t, e) {
            var r = this;

            if (Array.isArray(t)) {
              var n = t.map(function (t) {
                return r.on(t, e);
              });
              return s.handlesGroup(n);
            }

            if (t.indexOf(",") > -1) throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");
            this._listenersMap || (this._listenersMap = new Map());
            var i = this._listenersMap.get(t) || [];
            return i.push(e), this._listenersMap.set(t, i), {
              remove: function remove() {
                var n = r._listenersMap && r._listenersMap.get(t) || [];
                n.indexOf(e) >= 0 && n.splice(n.indexOf(e), 1);
              }
            };
          }, t.prototype.once = function (t, e) {
            var r,
                n = this;
            return r = this.on(t, function (t) {
              r.remove(), e.call(n.target, t);
            });
          }, t.prototype.hasEventListener = function (t) {
            var e = this._listenersMap && this._listenersMap.get(t);

            return null != e && e.length > 0;
          }, t;
        }();

        t.EventEmitter = e, t.EventedMixin = function (t) {
          return function (t) {
            function i() {
              var r = null !== t && t.apply(this, arguments) || this;
              return r._emitter = new e(r), r;
            }

            return r(i, t), i.prototype.emit = function (t, e) {
              return this._emitter.emit(t, e);
            }, i.prototype.on = function (t, e) {
              return this._emitter.on(t, e);
            }, i.prototype.once = function (t, e) {
              return this._emitter.once(t, e);
            }, i.prototype.hasEventListener = function (t) {
              return this._emitter.hasEventListener(t);
            }, i = n([o.subclass("esri.core.Evented")], i);
          }(o.declared(t));
        };

        var p = function (t) {
          function e() {
            var e = null !== t && t.apply(this, arguments) || this;
            return e._emitter = new u.EventEmitter(e), e;
          }

          return r(e, t), e.prototype.emit = function (t, e) {
            return this._emitter.emit(t, e);
          }, e.prototype.on = function (t, e) {
            return this._emitter.on(t, e);
          }, e.prototype.once = function (t, e) {
            return this._emitter.once(t, e);
          }, e.prototype.hasEventListener = function (t) {
            return this._emitter.hasEventListener(t);
          }, e = n([o.subclass("esri.core.Evented")], e);
        }(o.declared(i));

        t.EventedAccessor = p;
      }(u || (u = {})), u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/HandleOwner.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/HandleOwner.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreHandleOwnerJs(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__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../views/support/WatchUpdatingTracking */
    "./node_modules/arcgis-js-api/views/support/WatchUpdatingTracking.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r, t, o, a, s, d) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.HandleOwnerMixin = function (e) {
        return function (e) {
          function n() {
            return null !== e && e.apply(this, arguments) || this;
          }

          return r(n, e), n.prototype.destroy = function () {
            this.destroyed || (this.handles.destroy(), this.updatingHandles.destroy());
          }, Object.defineProperty(n.prototype, "handles", {
            get: function get() {
              return this._get("handles") || new a();
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(n.prototype, "updatingHandles", {
            get: function get() {
              return this._get("updatingHandles") || new d.WatchUpdatingTracking();
            },
            enumerable: !0,
            configurable: !0
          }), t([s.property({
            readOnly: !0
          })], n.prototype, "handles", null), t([s.property({
            readOnly: !0
          })], n.prototype, "updatingHandles", null), n = t([s.subclass("esri.core.HandleOwner")], n);
        }(s.declared(e));
      };

      var i = function (e) {
        function n() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return r(n, e), n = t([s.subclass("esri.core.HandleOwner")], n);
      }(s.declared(n.HandleOwnerMixin(o)));

      n.HandleOwner = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Handles.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Handles.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreHandlesJs(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__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, n, i, s) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t._groups = new Map(), t;
        }

        return t(e, r), e.prototype.destroy = function () {
          this.removeAll();
        }, Object.defineProperty(e.prototype, "size", {
          get: function get() {
            var r = 0;
            return this._groups.forEach(function (e) {
              r += e.length;
            }), r;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.add = function (r, e) {
          var t = this;
          if (!this._isHandle(r) && !Array.isArray(r) && !i.isCollection(r)) return this;

          var o = this._getOrCreateGroup(e);

          return Array.isArray(r) || i.isCollection(r) ? r.forEach(function (r) {
            return t._isHandle(r) && o.push(r);
          }) : o.push(r), this.notifyChange("size"), this;
        }, e.prototype.forEach = function (r, e) {
          if ("function" == typeof r) this._groups.forEach(function (e) {
            return e.forEach(r);
          });else {
            var t = this._getGroup(r);

            t && t.forEach(e);
          }
        }, e.prototype.has = function (r) {
          return this._groups.has(this._ensureGroupKey(r));
        }, e.prototype.remove = function (r) {
          if (Array.isArray(r) || i.isCollection(r)) return r.forEach(this.remove, this), this;
          if (!this.has(r)) return this;

          for (var e = this._getGroup(r), t = 0; t < e.length; t++) e[t].remove();

          return this._deleteGroup(r), this.notifyChange("size"), this;
        }, e.prototype.removeAll = function () {
          return this._groups.forEach(function (r) {
            for (var e = 0; e < r.length; e++) r[e].remove();
          }), this._groups.clear(), this.notifyChange("size"), this;
        }, e.prototype._isHandle = function (r) {
          return r && !!r.remove;
        }, e.prototype._getOrCreateGroup = function (r) {
          if (this.has(r)) return this._getGroup(r);
          var e = [];
          return this._groups.set(this._ensureGroupKey(r), e), e;
        }, e.prototype._getGroup = function (r) {
          return this._groups.get(this._ensureGroupKey(r));
        }, e.prototype._deleteGroup = function (r) {
          return this._groups["delete"](this._ensureGroupKey(r));
        }, e.prototype._ensureGroupKey = function (r) {
          return r || "_default_";
        }, o([s.property({
          readOnly: !0
        })], e.prototype, "size", null), e = o([s.subclass("esri.core.Handles")], e);
      }(s.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/HeapSort.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/HeapSort.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreHeapSortJs(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__(
    /*! ./tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      var t;
      return function (e) {
        function r(e, r, n, t) {
          for (var a = r, o = r, i = n >>> 1, c = e[a - 1]; o <= i;) {
            o = a << 1, o < n && t(e[o - 1], e[o]) < 0 && ++o;
            var u = e[o - 1];
            if (t(u, c) <= 0) break;
            e[a - 1] = u, a = o;
          }

          e[a - 1] = c;
        }

        function t(e, r) {
          return e < r ? -1 : e > r ? 1 : 0;
        }

        function a(e, n, a, o) {
          void 0 === n && (n = 0), void 0 === a && (a = e.length), void 0 === o && (o = t);

          for (var i = a >>> 1; i > n; i--) r(e, i, a, o);

          for (var c = n + 1, i = a - 1; i > n; i--) {
            var u = e[n];
            e[n] = e[i], e[i] = u, r(e, c, i, o);
          }
        }

        function o(e, a, o, i) {
          var c, u, c, s;
          return n(this, function (n) {
            switch (n.label) {
              case 0:
                void 0 === a && (a = 0), void 0 === o && (o = e.length), void 0 === i && (i = t), c = o >>> 1, n.label = 1;

              case 1:
                return c > a ? (r(e, c, o, i), [4]) : [3, 4];

              case 2:
                n.sent(), n.label = 3;

              case 3:
                return c--, [3, 1];

              case 4:
                u = a + 1, c = o - 1, n.label = 5;

              case 5:
                return c > a ? (s = e[a], e[a] = e[c], e[c] = s, r(e, u, c, i), [4]) : [3, 8];

              case 6:
                n.sent(), n.label = 7;

              case 7:
                return c--, [3, 5];

              case 8:
                return [2];
            }
          });
        }

        e.sort = a, e.iterableSort = o;
      }(t || (t = {})), t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Identifiable.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Identifiable.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreIdentifiableJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var o = 0;

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

            var n = e.apply(this, r) || this;
            return Object.defineProperty(n, "uid", {
              writable: !1,
              configurable: !1,
              value: Date.now().toString(16) + "-object-" + o++
            }), n;
          }

          return t(r, e), r = n([i.subclass("esri.core.Identifiable")], r);
        }(i.declared(e));
      };

      var u = function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return t(r, e), r = n([i.subclass("esri.core.Identifiable")], r);
      }(i.declared(r.IdentifiableMixin(function () {
        function e() {}

        return e;
      }())));

      r.Identifiable = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/ItemCache.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/ItemCache.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreItemCacheJs(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__(
    /*! ./MemCache */
    "./node_modules/arcgis-js-api/core/MemCache.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o) {
      return function () {
        function t(t, e) {
          this._storage = new o.MemCacheStorage(), this._storage.maxSize = t, e && this._storage.registerRemoveFunc("", e);
        }

        return t.prototype.put = function (t, e) {
          this._storage.put(t, e, 1, 1);
        }, t.prototype.pop = function (t) {
          return this._storage.pop(t);
        }, t.prototype.get = function (t) {
          return this._storage.get(t);
        }, t.prototype.clear = function () {
          this._storage.clearAll();
        }, t.prototype.destroy = function () {
          this._storage.clearAll();
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/JSONSupport.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/JSONSupport.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreJSONSupportJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./declare */
    "./node_modules/arcgis-js-api/core/declare.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./accessorSupport/read */
    "./node_modules/arcgis-js-api/core/accessorSupport/read.js"), __webpack_require__(
    /*! ./accessorSupport/write */
    "./node_modules/arcgis-js-api/core/accessorSupport/write.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, t, e, o, n, u, i, p, c) {
      function s(r, t) {
        if (!r) return null;
        if (r.declaredClass) throw new Error("JSON object is already hydrated");
        var e = this,
            o = new e();
        return o.read(r, t), o;
      }

      function a(r) {
        return r && "read" in r && "write" in r && "toJSON" in r;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.JSONSupportMixin = function (r) {
        var t = function (r) {
          function t() {
            for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];

            return r.apply(this, t) || this;
          }

          return e(t, r), t.prototype.read = function (r, t) {
            p["default"](this, r, t);
          }, t.prototype.write = function (r, t) {
            return c["default"](this, r || {}, t);
          }, t.prototype.toJSON = function (r) {
            return this.write(null, r);
          }, t.fromJSON = function (r, t) {
            return s.call(this, r, t);
          }, t = o([i.subclass("esri.core.JSONSupport")], t);
        }(i.declared(r));

        return t.prototype.toJSON.isDefaultToJSON = !0, t;
      }, t.isJSONSupport = a, u.after(function (r) {
        for (var t = r.prototype;;) {
          if (a(t)) return void (r.fromJSON = s.bind(r));
          if (!(t = Object.getPrototypeOf(t))) return;
        }
      });

      var f = function (r) {
        function t() {
          return null !== r && r.apply(this, arguments) || this;
        }

        return e(t, r), t = o([i.subclass("esri.core.JSONSupport")], t);
      }(i.declared(t.JSONSupportMixin(n)));

      t.JSONSupport = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/LRUCache.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/LRUCache.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLRUCacheJs(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__(
    /*! ./MemCache */
    "./node_modules/arcgis-js-api/core/MemCache.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o) {
      return function () {
        function t(t, e) {
          this._storage = new o.MemCacheStorage(), this._storage.maxSize = t, e && this._storage.registerRemoveFunc("", e);
        }

        return t.prototype.put = function (t, e, o) {
          this._storage.put(t, e, o, 1);
        }, t.prototype.pop = function (t) {
          return this._storage.pop(t);
        }, t.prototype.get = function (t) {
          return this._storage.get(t);
        }, t.prototype.clear = function () {
          this._storage.clearAll();
        }, t.prototype.destroy = function () {
          this._storage.clearAll();
        }, Object.defineProperty(t.prototype, "maxSize", {
          get: function get() {
            return this._storage.maxSize;
          },
          set: function set(t) {
            this._storage.maxSize = t;
          },
          enumerable: !0,
          configurable: !0
        }), t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Loadable.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Loadable.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLoadableJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./Promise */
    "./node_modules/arcgis-js-api/core/Promise.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./Warning */
    "./node_modules/arcgis-js-api/core/Warning.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, r, e, t, n, a, l, d, s, i, u) {
      var c = "not-loaded",
          p = "loading",
          f = "failed",
          y = "loaded",
          h = function h(o) {
        var r = function (o) {
          function r() {
            for (var r = [], e = 0; e < arguments.length; e++) r[e] = arguments[e];

            var t = o.apply(this, r) || this;
            return t.loadError = null, t.loadStatus = "not-loaded", t.loadWarnings = null, t._set("loadWarnings", []), t.addResolvingPromise(s.create(function (o) {
              var r = t.load.bind(t);

              t.load = function (e) {
                var n = s.create(function (o, r) {
                  s.onAbortOrThrow(e, r), t.destroyed && r(new a("load:instance-destroyed", "Instance is destroyed", {
                    instance: t
                  })), t._promiseProps.when(o, r);
                });

                if (t.loadStatus === c) {
                  t._set("loadStatus", p);

                  var l = t._loadController = s.createAbortController();
                  r({
                    signal: l.signal
                  }), s.onAbort(l.signal, function () {
                    t._promiseProps.abort();
                  });
                }

                return o(), n;
              };
            })), t.when(function () {
              t._set("loadStatus", y), t._loadController = null;
            }, function (o) {
              t._set("loadStatus", f), t._set("loadError", o), t._loadController = null;
            }), t;
          }

          return e(r, o), Object.defineProperty(r.prototype, "loaded", {
            get: function get() {
              return this.loadStatus === y;
            },
            enumerable: !0,
            configurable: !0
          }), r.prototype.load = function () {
            return null;
          }, r.prototype.cancelLoad = function () {
            return this.isFulfilled() ? this : (this._set("loadError", new a("load:cancelled", "Cancelled")), this._loadController.abort(), this);
          }, t([u.property({
            readOnly: !0,
            dependsOn: ["loadStatus"]
          })], r.prototype, "loaded", null), t([u.property({
            readOnly: !0
          })], r.prototype, "loadError", void 0), t([u.property()], r.prototype, "loadStatus", void 0), t([u.property({
            type: [i],
            readOnly: !0
          })], r.prototype, "loadWarnings", void 0), r = t([u.subclass("esri.core.Loadable")], r);
        }(u.declared(o));

        return r.prototype["-chains-"] = l.mixin({}, n._meta.chains, {
          load: "after"
        }), r;
      },
          b = function (o) {
        function r() {
          return null !== o && o.apply(this, arguments) || this;
        }

        return e(r, o), r = t([u.subclass("esri.core.Loadable")], r);
      }(u.declared(h(d.EsriPromise)));

      return function (o) {
        function r(o) {
          return !(!o || !o.load);
        }

        o.LoadableMixin = h, o.isLoadable = r;
      }(b || (b = {})), b;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Logger.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Logger.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLoggerJs(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__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./string */
    "./node_modules/arcgis-js-api/core/string.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o) {
      var n = {
        info: 0,
        warn: 1,
        error: 2
      },
          i = function () {
        function e(t) {
          void 0 === t && (t = {}), this._loggedMessages = {
            error: new Map(),
            warn: new Map(),
            info: new Map()
          }, this.module = t.module || "", this.writer = t.writer || null, this.level = t.level || null, null != t.enabled && (this.enabled = !!t.enabled), e._loggers[this.module] = this;
          var r = this.module.lastIndexOf(".");
          -1 !== r && (this.parent = e.getLogger(this.module.slice(0, r)));
        }

        return e.prototype.log = function (t, r) {
          for (var o = [], n = 2; n < arguments.length; n++) o[n - 2] = arguments[n];

          if (this._isEnabled() && this._matchLevel(t)) {
            if ("always" !== r && !e._throttlingDisabled) {
              var i = this._argsToKey(o),
                  c = this._loggedMessages[t].get(i);

              if ("once" === r && null != c || "oncePerTick" === r && c >= e._tickCounter) return;
              this._loggedMessages[t].set(i, e._tickCounter), e._scheduleTickCounterIncrement();
            }

            var l = this._inheritedWriter();

            l && l.apply(void 0, [t, this.module].concat(o));
          }
        }, e.prototype.error = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["error", "always"].concat(e));
        }, e.prototype.warn = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["warn", "always"].concat(e));
        }, e.prototype.info = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["info", "always"].concat(e));
        }, e.prototype.errorOnce = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["error", "once"].concat(e));
        }, e.prototype.warnOnce = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["warn", "once"].concat(e));
        }, e.prototype.infoOnce = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["info", "once"].concat(e));
        }, e.prototype.errorOncePerTick = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["error", "oncePerTick"].concat(e));
        }, e.prototype.warnOncePerTick = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["warn", "oncePerTick"].concat(e));
        }, e.prototype.infoOncePerTick = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          this.log.apply(this, ["info", "oncePerTick"].concat(e));
        }, e.prototype.getLogger = function (t) {
          return e.getLogger(this.module + "." + t);
        }, Object.defineProperty(e, "test", {
          get: function get() {
            return {
              resetLoggers: function resetLoggers(t) {
                void 0 === t && (t = {});
                var r = e._loggers;
                return e._loggers = t, r;
              },

              set throttlingDisabled(t) {
                e._throttlingDisabled = t;
              }

            };
          },
          enumerable: !0,
          configurable: !0
        }), e.getLogger = function (t) {
          var r = e._loggers[t];
          return r || (r = new e({
            module: t
          })), r;
        }, e.prototype._parentWithMember = function (e, t) {
          for (var r = this; r && null == r[e];) r = r.parent;

          return r ? r[e] : t;
        }, e.prototype._inheritedWriter = function () {
          return this._parentWithMember("writer", this._consoleWriter);
        }, e.prototype._consoleWriter = function (e, t) {
          for (var r = [], o = 2; o < arguments.length; o++) r[o - 2] = arguments[o];

          console[e].apply(console, ["[" + t + "]"].concat(r));
        }, e.prototype._matchLevel = function (e) {
          return n[this._parentWithMember("level", "error")] <= n[e];
        }, e.prototype._isEnabled = function () {
          return this._parentWithMember("enabled", !0);
        }, e.prototype._argsToKey = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          var r = function r(e, t) {
            return "object" != typeof t || Array.isArray(t) ? t : "[Object]";
          };

          return o.numericHash(JSON.stringify(e, r));
        }, e._scheduleTickCounterIncrement = function () {
          e._tickCounterScheduled || (e._tickCounterScheduled = !0, Promise.resolve().then(function () {
            e._tickCounter++, e._tickCounterScheduled = !1;
          }));
        }, e._loggers = {}, e._tickCounter = 0, e._tickCounterScheduled = !1, e._throttlingDisabled = !1, e;
      }(),
          c = i.getLogger("esri");

      return r("dojo-debug-messages") ? c.level = "info" : c.level = "warn", i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/MD5.js":
  /*!************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/MD5.js ***!
    \************************************************/

  /*! no static exports found */

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

    /*	A port of Paul Johnstone's MD5 implementation
         *	http://pajhome.org.uk/crypt/md5/index.html
         *
         *	Copyright (C) Paul Johnston 1999 - 2002.
         *	Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
         * 	Distributed under the BSD License
         *
         *	Dojo port by Tom Trenka
         *  Later ported to typescript
         */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, t) {
      function n(r, t) {
        var n = (65535 & r) + (65535 & t);
        return (r >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n;
      }

      function e(r) {
        for (var t = [], n = 0, e = r.length * l; n < e; n += l) t[n >> 5] |= (r.charCodeAt(n / l) & y) << n % 32;

        return t;
      }

      function u(r) {
        for (var t = [], n = 0, e = 32 * r.length; n < e; n += l) t.push(String.fromCharCode(r[n >> 5] >>> n % 32 & y));

        return t.join("");
      }

      function o(r) {
        for (var t = "0123456789abcdef", n = [], e = 0, u = 4 * r.length; e < u; e++) n.push(t.charAt(r[e >> 2] >> e % 4 * 8 + 4 & 15) + t.charAt(r[e >> 2] >> e % 4 * 8 & 15));

        return n.join("");
      }

      function a(r) {
        for (var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", n = [], e = 0, u = 4 * r.length; e < u; e += 3) for (var o = (r[e >> 2] >> e % 4 * 8 & 255) << 16 | (r[e + 1 >> 2] >> (e + 1) % 4 * 8 & 255) << 8 | r[e + 2 >> 2] >> (e + 2) % 4 * 8 & 255, a = 0; a < 4; a++) 8 * e + 6 * a > 32 * r.length ? n.push("=") : n.push(t.charAt(o >> 6 * (3 - a) & 63));

        return n.join("");
      }

      function c(r, t) {
        return r << t | r >>> 32 - t;
      }

      function i(r, t, e, u, o, a) {
        return n(c(n(n(t, r), n(u, a)), o), e);
      }

      function f(r, t, n, e, u, o, a) {
        return i(t & n | ~t & e, r, t, u, o, a);
      }

      function s(r, t, n, e, u, o, a) {
        return i(t & e | n & ~e, r, t, u, o, a);
      }

      function p(r, t, n, e, u, o, a) {
        return i(t ^ n ^ e, r, t, u, o, a);
      }

      function h(r, t, n, e, u, o, a) {
        return i(n ^ (t | ~e), r, t, u, o, a);
      }

      function v(r, t) {
        r[t >> 5] |= 128 << t % 32, r[14 + (t + 64 >>> 9 << 4)] = t;

        for (var e = 1732584193, u = -271733879, o = -1732584194, a = 271733878, c = 0; c < r.length; c += 16) {
          var i = e,
              v = u,
              g = o,
              l = a;
          e = f(e, u, o, a, r[c + 0], 7, -680876936), a = f(a, e, u, o, r[c + 1], 12, -389564586), o = f(o, a, e, u, r[c + 2], 17, 606105819), u = f(u, o, a, e, r[c + 3], 22, -1044525330), e = f(e, u, o, a, r[c + 4], 7, -176418897), a = f(a, e, u, o, r[c + 5], 12, 1200080426), o = f(o, a, e, u, r[c + 6], 17, -1473231341), u = f(u, o, a, e, r[c + 7], 22, -45705983), e = f(e, u, o, a, r[c + 8], 7, 1770035416), a = f(a, e, u, o, r[c + 9], 12, -1958414417), o = f(o, a, e, u, r[c + 10], 17, -42063), u = f(u, o, a, e, r[c + 11], 22, -1990404162), e = f(e, u, o, a, r[c + 12], 7, 1804603682), a = f(a, e, u, o, r[c + 13], 12, -40341101), o = f(o, a, e, u, r[c + 14], 17, -1502002290), u = f(u, o, a, e, r[c + 15], 22, 1236535329), e = s(e, u, o, a, r[c + 1], 5, -165796510), a = s(a, e, u, o, r[c + 6], 9, -1069501632), o = s(o, a, e, u, r[c + 11], 14, 643717713), u = s(u, o, a, e, r[c + 0], 20, -373897302), e = s(e, u, o, a, r[c + 5], 5, -701558691), a = s(a, e, u, o, r[c + 10], 9, 38016083), o = s(o, a, e, u, r[c + 15], 14, -660478335), u = s(u, o, a, e, r[c + 4], 20, -405537848), e = s(e, u, o, a, r[c + 9], 5, 568446438), a = s(a, e, u, o, r[c + 14], 9, -1019803690), o = s(o, a, e, u, r[c + 3], 14, -187363961), u = s(u, o, a, e, r[c + 8], 20, 1163531501), e = s(e, u, o, a, r[c + 13], 5, -1444681467), a = s(a, e, u, o, r[c + 2], 9, -51403784), o = s(o, a, e, u, r[c + 7], 14, 1735328473), u = s(u, o, a, e, r[c + 12], 20, -1926607734), e = p(e, u, o, a, r[c + 5], 4, -378558), a = p(a, e, u, o, r[c + 8], 11, -2022574463), o = p(o, a, e, u, r[c + 11], 16, 1839030562), u = p(u, o, a, e, r[c + 14], 23, -35309556), e = p(e, u, o, a, r[c + 1], 4, -1530992060), a = p(a, e, u, o, r[c + 4], 11, 1272893353), o = p(o, a, e, u, r[c + 7], 16, -155497632), u = p(u, o, a, e, r[c + 10], 23, -1094730640), e = p(e, u, o, a, r[c + 13], 4, 681279174), a = p(a, e, u, o, r[c + 0], 11, -358537222), o = p(o, a, e, u, r[c + 3], 16, -722521979), u = p(u, o, a, e, r[c + 6], 23, 76029189), e = p(e, u, o, a, r[c + 9], 4, -640364487), a = p(a, e, u, o, r[c + 12], 11, -421815835), o = p(o, a, e, u, r[c + 15], 16, 530742520), u = p(u, o, a, e, r[c + 2], 23, -995338651), e = h(e, u, o, a, r[c + 0], 6, -198630844), a = h(a, e, u, o, r[c + 7], 10, 1126891415), o = h(o, a, e, u, r[c + 14], 15, -1416354905), u = h(u, o, a, e, r[c + 5], 21, -57434055), e = h(e, u, o, a, r[c + 12], 6, 1700485571), a = h(a, e, u, o, r[c + 3], 10, -1894986606), o = h(o, a, e, u, r[c + 10], 15, -1051523), u = h(u, o, a, e, r[c + 1], 21, -2054922799), e = h(e, u, o, a, r[c + 8], 6, 1873313359), a = h(a, e, u, o, r[c + 15], 10, -30611744), o = h(o, a, e, u, r[c + 6], 15, -1560198380), u = h(u, o, a, e, r[c + 13], 21, 1309151649), e = h(e, u, o, a, r[c + 4], 6, -145523070), a = h(a, e, u, o, r[c + 11], 10, -1120210379), o = h(o, a, e, u, r[c + 2], 15, 718787259), u = h(u, o, a, e, r[c + 9], 21, -343485551), e = n(e, i), u = n(u, v), o = n(o, g), a = n(a, l);
        }

        return [e, u, o, a];
      }

      function g(r, n) {
        void 0 === n && (n = t.outputTypes.Hex);
        var c = n || t.outputTypes.Base64,
            i = v(e(r), r.length * l);

        switch (c) {
          case t.outputTypes.Raw:
            return i;

          case t.outputTypes.Hex:
            return o(i);

          case t.outputTypes.String:
            return u(i);

          case t.outputTypes.Base64:
            return a(i);
        }
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.outputTypes = {
        Base64: 0,
        Hex: 1,
        String: 2,
        Raw: 3
      };
      var l = 8,
          y = (1 << l) - 1;
      t.createMD5Hash = g;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/MemCache.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/MemCache.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreMemCacheJs(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__(
    /*! ./iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ./PooledArray */
    "./node_modules/arcgis-js-api/core/PooledArray.js"), __webpack_require__(
    /*! ./string */
    "./node_modules/arcgis-js-api/core/string.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, s, r) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.MIN_PRIORITY = -3;

      var o = function () {
        function t(t, e, i) {
          this._namespace = t, this._storage = e, this._removeFunc = !1, this._hit = 0, this._miss = 0, this._storage.register(this), this._namespace += ":", i && (this._storage.registerRemoveFunc(this._namespace, i), this._removeFunc = !0);
        }

        return Object.defineProperty(t.prototype, "namespace", {
          get: function get() {
            return this._namespace.slice(0, -1);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "hitRate", {
          get: function get() {
            return this._hit / (this._hit + this._miss);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "size", {
          get: function get() {
            return this._storage.size;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "maxSize", {
          get: function get() {
            return this._storage.maxSize;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.resetHitRate = function () {
          this._hit = this._miss = 0;
        }, t.prototype.destroy = function () {
          this._storage.clear(this._namespace), this._removeFunc && this._storage.deregisterRemoveFunc(this._namespace), this._storage.deregister(this);
        }, t.prototype.put = function (t, e, i, s) {
          void 0 === s && (s = 0), this._storage.put(this._namespace + t, e, i, s);
        }, t.prototype.get = function (t) {
          var e = this._storage.get(this._namespace + t);

          return void 0 === e ? ++this._miss : ++this._hit, e;
        }, t.prototype.pop = function (t) {
          var e = this._storage.pop(this._namespace + t);

          return void 0 === e ? ++this._miss : ++this._hit, e;
        }, t.prototype.updateSize = function (t, e, i) {
          this._storage.updateSize(this._namespace + t, e, i);
        }, t.prototype.clear = function () {
          this._storage.clear(this._namespace);
        }, t.prototype.clearAll = function () {
          this._storage.clearAll();
        }, t.prototype.getStats = function () {
          return this._storage.getStats();
        }, t.prototype.resetStats = function () {
          this._storage.resetStats();
        }, t;
      }();

      e.MemCache = o;

      var n = function () {
        function t(t) {
          void 0 === t && (t = 10485760), this._maxSize = t, this._db = new Map(), this._size = 0, this._hit = 0, this._miss = 0, this._removeFuncs = [], this._users = new s();
        }

        return t.prototype.register = function (t) {
          this._users.push(t);
        }, t.prototype.deregister = function (t) {
          this._users.removeUnordered(t);
        }, t.prototype.registerRemoveFunc = function (t, e) {
          this._removeFuncs.push([t, e]);
        }, t.prototype.deregisterRemoveFunc = function (t) {
          this._removeFuncs = this._removeFuncs.filter(function (e) {
            return e[0] !== t;
          });
        }, Object.defineProperty(t.prototype, "size", {
          get: function get() {
            return this._size;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "maxSize", {
          get: function get() {
            return this._maxSize;
          },
          set: function set(t) {
            this._maxSize = Math.max(t, 0), this._checkSizeLimit();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.put = function (t, i, s, r) {
          var o = this._db.get(t);

          if (o && (this._size -= o.size, this._db["delete"](t), o.entry !== i && this._notifyRemoved(t, o.entry)), s > this._maxSize) return void this._notifyRemoved(t, i);
          if (void 0 === i) return void console.warn("Refusing to cache undefined entry ");
          if (!s || s < 0) return void console.warn("Refusing to cache entry with invalid size " + s);
          var n = 1 + Math.max(r, e.MIN_PRIORITY) - e.MIN_PRIORITY;
          this._db.set(t, {
            entry: i,
            size: s,
            lifetime: n,
            lives: n
          }), this._size += s, this._checkSizeLimit();
        }, t.prototype.updateSize = function (t, e, i) {
          var s = this._db.get(t);

          if (s && s.entry === e) {
            if (this._size -= s.size, i > this._maxSize) return void this._notifyRemoved(t, e);
            s.size = i, this._size += i, this._checkSizeLimit();
          }
        }, t.prototype.pop = function (t) {
          var e = this._db.get(t);

          if (e) return this._size -= e.size, this._db["delete"](t), ++this._hit, e.entry;
          ++this._miss;
        }, t.prototype.get = function (t) {
          var e = this._db.get(t);

          return void 0 === e ? void ++this._miss : (this._db["delete"](t), e.lives = e.lifetime, this._db.set(t, e), ++this._hit, e.entry);
        }, t.prototype.getStats = function () {
          var t = this,
              i = {
            Size: Math.round(this._size / 1048576) + "/" + Math.round(this._maxSize / 1048576) + "MB",
            "Hit rate": Math.round(100 * this._getHitRate()) + "%",
            Entries: this._db.size.toString()
          },
              s = {},
              o = new Array();

          this._db.forEach(function (e, i) {
            var n = e.lifetime;
            o[n] = (o[n] || 0) + e.size, t._users.forEach(function (t) {
              var o = t.namespace;

              if (r.startsWith(i, o)) {
                var n = s[o] || 0;
                s[o] = n + e.size;
              }
            });
          });

          var n = {};

          this._users.forEach(function (t) {
            var e = t.namespace;

            if (!isNaN(t.hitRate) && t.hitRate > 0) {
              var i = s[e] || 0;
              s[e] = i, n[e] = Math.round(100 * t.hitRate) + "%";
            } else n[e] = "0%";
          });

          var h = Object.keys(s);
          h.forEach(function (e) {
            return s[e] = s[e] / t._size * 100;
          }), h.sort(function (t, e) {
            return s[e] - s[t];
          }), h.forEach(function (t) {
            return i[t] = Math.round(s[t]) + "% / " + n[t];
          });

          for (var a = o.length - 1; a >= 0; --a) {
            var u = o[a];
            u && (i["Priority " + (a + e.MIN_PRIORITY - 1)] = Math.round(u / this.size * 100) + "%");
          }

          return i;
        }, t.prototype.resetStats = function () {
          this._hit = this._miss = 0, this._users.forEach(function (t) {
            return t.resetHitRate();
          });
        }, t.prototype.clear = function (t) {
          var e = this;

          this._db.forEach(function (i, s) {
            r.startsWith(s, t) && (e._size -= i.size, e._db["delete"](s), e._notifyRemoved(s, i.entry));
          });
        }, t.prototype.clearAll = function () {
          var t = this;
          this._db.forEach(function (e, i) {
            t._notifyRemoved(i, e.entry);
          }), this._size = 0, this._db.clear();
        }, t.prototype._getHitRate = function () {
          return this._hit / (this._hit + this._miss);
        }, t.prototype._notifyRemoved = function (t, e) {
          this._removeFuncs.forEach(function (i) {
            r.startsWith(t, i[0]) && i[1](e);
          });
        }, t.prototype._checkSizeLimit = function () {
          var t = this;
          this._size <= this._maxSize || i.someMap(this._db, function (e, i) {
            return t._db["delete"](i), e.lives <= 1 ? (t._size -= e.size, t._notifyRemoved(i, e.entry)) : (--e.lives, t._db.set(i, e)), t._size <= .9 * t.maxSize;
          });
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/core/Message.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Message.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreMessageJs(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__(
    /*! ./object */
    "./node_modules/arcgis-js-api/core/object.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n) {
      function r(t, e) {
        return t.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g, function (t, r) {
          if ("" === r) return "$";
          var i = n.getDeepValue(r, e),
              o = null == i ? "" : i;
          if (void 0 === o) throw new Error('could not find key "' + r + '" in template');
          return o.toString();
        });
      }

      return function () {
        function t(e, n, i) {
          this instanceof t && (this.name = e, this.message = n && r(n, i) || "", this.details = i);
        }

        return t.prototype.toString = function () {
          return "[" + this.name + "]: " + this.message;
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreMultiOriginJSONSupportJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./accessorSupport/MultiOriginStore */
    "./node_modules/arcgis-js-api/core/accessorSupport/MultiOriginStore.js"), __webpack_require__(
    /*! ./accessorSupport/PropertyOrigin */
    "./node_modules/arcgis-js-api/core/accessorSupport/PropertyOrigin.js"), __webpack_require__(
    /*! ./accessorSupport/read */
    "./node_modules/arcgis-js-api/core/accessorSupport/read.js"), __webpack_require__(
    /*! ./accessorSupport/utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ./accessorSupport/write */
    "./node_modules/arcgis-js-api/core/accessorSupport/write.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, i, o, n, s, u, p, a, c) {
      function f(t) {
        return a.getProperties(t).store;
      }

      function g(t) {
        return t && "getAtOrigin" in t && "originOf" in t;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.MultiOriginJSONMixin = function (t) {
        return function (t) {
          function r() {
            for (var r = [], e = 0; e < arguments.length; e++) r[e] = arguments[e];

            var i = t.apply(this, r) || this,
                o = a.getProperties(i),
                n = o.metadatas,
                u = o.store,
                p = new s["default"]();
            return o.store = p, u.keys().forEach(function (t) {
              p.set(t, u.get(t), 0);
            }), Object.keys(n).forEach(function (t) {
              o.internalGet(t) && p.set(t, o.internalGet(t), 0);
            }), i;
          }

          return e(r, t), r.prototype.clear = function (t, r) {
            return void 0 === r && (r = "user"), f(this)["delete"](t, u.nameToId(r));
          }, r.prototype.read = function (t, r) {
            p["default"](this, t, r);
          }, r.prototype.write = function (t, r) {
            return t = t || {}, c["default"](this, t, r), t;
          }, r.prototype.getAtOrigin = function (t, r) {
            var e = f(this),
                i = u.nameToId(r);
            if ("string" == typeof t) return e.get(t, i);
            var o = {};
            return t.forEach(function (t) {
              o[t] = e.get(t, i);
            }), o;
          }, r.prototype.originOf = function (t) {
            var r = f(this);
            if ("string" == typeof t) return u.idToName(r.originOf(t));
            var e = {};
            t.forEach(function (t) {
              e[t] = u.idToName(r.originOf(t));
            });
          }, r.prototype.revert = function (t, r) {
            var e,
                i = f(this),
                o = u.nameToId(r),
                n = a.getProperties(this);
            e = "string" == typeof t ? "*" === t ? i.keys(o) : [t] : t, e.forEach(function (t) {
              n.propertyInvalidated(t), i.revert(t, o), n.propertyCommitted(t);
            });
          }, r.prototype.removeOrigin = function (t) {
            for (var r = f(this), e = u.nameToId(t), i = r.keys(e), o = 0, n = i; o < n.length; o++) {
              var s = n[o];
              r.originOf(s) === e && r.set(s, r.get(s, e), 6);
            }
          }, r.prototype.updateOrigin = function (t, r) {
            var e = f(this),
                i = u.nameToId(r),
                o = this.get(t);
            e["delete"](t), e.set(t, o, i);
          }, r = i([n.subclass("esri.core.MultiOriginJSONSupport")], r);
        }(n.declared(t));
      };

      var l = function (t) {
        function r() {
          return null !== t && t.apply(this, arguments) || this;
        }

        return e(r, t), r = i([n.subclass("esri.core.MultiOriginJSONSupport")], r);
      }(n.declared(r.MultiOriginJSONMixin(o)));

      r.MultiOriginJSONSupport = l, r.isMultiOriginJSONMixin = g;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/ObjectPool.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/ObjectPool.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreObjectPoolJs(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 (t, i) {
      function o(t) {
        return t && t.release && "function" == typeof t.release;
      }

      function e(t) {
        return t && t.acquire && "function" == typeof t.acquire;
      }

      var s = function () {
        function t() {}

        return t;
      }();

      return function () {
        function t(t, i, o, e, s) {
          if (void 0 === e && (e = 1), void 0 === s && (s = 0), this.classConstructor = t, this.acquireFunctionOrWithConstructor = i, this.releaseFunction = o, this.growthSize = e, !0 === i ? this.acquireFunction = this._constructorAcquireFunction : "function" == typeof i && (this.acquireFunction = i), this._pool = new Array(s), this._initialSize = s, this.classConstructor) for (var n = 0; n < s; n++) this._pool[n] = new this.classConstructor();
          this.growthSize = Math.max(e, 1);
        }

        return t.prototype.destroy = function () {
          this.prune(0);
        }, t.prototype.acquire = function () {
          var i,
              o = this.classConstructor || s;
          if (t.test.disabled) i = new o();else {
            if (0 === this._pool.length) for (var n = this.growthSize, r = 0; r < n; r++) this._pool[r] = new o();
            i = this._pool.pop();
          }

          if (this.acquireFunction) {
            for (var r = arguments.length; r > 0; r--) arguments[r] = arguments[r - 1];

            arguments[0] = i, arguments.length++, this.acquireFunction.apply(this, arguments);
          } else e(i) && i.acquire.apply(i, arguments);

          return i;
        }, t.prototype.release = function (i) {
          i && !t.test.disabled && (this.releaseFunction ? this.releaseFunction(i) : o(i) && i.release(), this._pool.push(i));
        }, t.prototype.prune = function (t) {
          if (void 0 === t && (t = this._initialSize), !(t >= this._pool.length)) {
            for (var i = t; i < this._pool.length; ++i) {
              var o = this._pool[i];

              this._dispose(o);
            }

            this._pool.length = t;
          }
        }, t.prototype._dispose = function (t) {
          t.dispose && "function" == typeof t.dispose && t.dispose();
        }, t.prototype._constructorAcquireFunction = function () {
          this.classConstructor && this.classConstructor.call.apply(this.classConstructor, arguments);
        }, t.test = {
          disabled: !1
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/PooledArray.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/PooledArray.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCorePooledArrayJs(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__(
    /*! ./tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ./arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ./HeapSort */
    "./node_modules/arcgis-js-api/core/HeapSort.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, a, h) {
      return function () {
        function t(t) {
          var e = this;
          this.data = [], this._length = 0, this._allocator = null, this._deallocator = function () {}, this._shrink = function () {}, this._hint = new a.PositionHint(), t && (t.initialSize && (this.data = new Array(t.initialSize)), t.allocator ? (this._allocator = t.allocator, this._deallocator = t.deallocator) : "deallocator" in t && (this._deallocator = t.deallocator), t.shrink && (this._shrink = function () {
            e.data.length > 1.5 * e.length && (e.data.length = Math.floor(1.1 * e.length));
          }));
        }

        return t.prototype.toArray = function () {
          return this.data.slice(0, this.length);
        }, t.prototype.getItemAt = function (t) {
          if (!(t < 0 || t >= this._length)) return this.data[t];
        }, Object.defineProperty(t.prototype, "length", {
          get: function get() {
            return this._length;
          },
          set: function set(t) {
            if (t > this._length) {
              if (this._allocator) {
                for (; this._length < t;) this.data[this._length++] = this._allocator(this.data[this._length]);

                return;
              }

              return void (this._length = t);
            }

            if (this._deallocator) for (var e = t; e < this._length; ++e) this.data[e] = this._deallocator(this.data[e]);
            this._length = t, this._shrink();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clear = function () {
          this.length = 0;
        }, t.prototype.prune = function () {
          this.clear(), this.data = [];
        }, t.prototype.equal = function (t) {
          return a.equals(this.data, t.data);
        }, t.prototype.push = function (t) {
          return this.data[this._length++] = t, t;
        }, t.prototype.pushArray = function (t, e) {
          void 0 === e && (e = t.length);

          for (var i = 0; i < e; i++) this.data[this._length++] = t[i];

          return this.back();
        }, t.prototype.pushNew = function () {
          return this._allocator && (this.data[this.length] = this._allocator(this.data[this.length])), ++this._length, this.back();
        }, t.prototype.pop = function () {
          if (0 !== this.length) {
            var t = this.data[this.length - 1];
            return this.length = this.length - 1, this._shrink(), t;
          }
        }, t.prototype.iterableRemoveMany = function (t) {
          var e, h;
          return i(this, function (i) {
            switch (i.label) {
              case 0:
                e = new Array(), h = 0, i.label = 1;

              case 1:
                return h < this.length ? h >= this.length ? [3, 4] : (a.indexOf(t.data, this.data[h], t.length, t._hint) < 0 && e.push(this.data[h]), [4]) : [3, 4];

              case 2:
                i.sent(), i.label = 3;

              case 3:
                return ++h, [3, 1];

              case 4:
                return this.data = e, this._length = this.data.length, [2];
            }
          });
        }, t.prototype.remove = function (t) {
          var e = a.indexOf(this.data, t, this.length, this._hint);
          if (-1 !== e) return this.data.splice(e, 1), this.length = this.length - 1, t;
        }, t.prototype.removeUnordered = function (t) {
          var e = a.removeUnordered(this.data, t, this.length, this._hint);
          return void 0 !== e && (this.length = this.length - 1), e;
        }, t.prototype.removeUnorderedIndex = function (t) {
          if (!(t >= this.length || t < 0)) return this.swapElements(t, this.length - 1), this.pop();
        }, t.prototype.removeUnorderedMany = function (t, e, i) {
          void 0 === e && (e = t.length), this.length = a.removeUnorderedMany(this.data, t, this.length, e, this._hint, i);
        }, t.prototype.front = function () {
          if (0 !== this.length) return this.data[0];
        }, t.prototype.back = function () {
          if (0 !== this.length) return this.data[this.length - 1];
        }, t.prototype.swapElements = function (t, e) {
          var i;
          t >= this.length || e >= this.length || t === e || (i = [this.data[e], this.data[t]], this.data[t] = i[0], this.data[e] = i[1]);
        }, t.prototype.sort = function (t) {
          h.sort(this.data, 0, this.length, t);
        }, t.prototype.iterableSort = function (t) {
          return h.iterableSort(this.data, 0, this.length, t);
        }, t.prototype.some = function (t, e) {
          for (var i = 0; i < this.length; ++i) if (t.call(e, this.data[i], i, this.data)) return !0;

          return !1;
        }, t.prototype.filterInPlace = function (t, e) {
          for (var i = 0, a = 0; a < this._length; ++a) {
            var h = this.data[a];
            t.call(e, h, a, this.data) && (this.data[a] = this.data[i], this.data[i] = h, i++);
          }

          if (this._deallocator) for (var a = i; a < this._length; a++) this.data[a] = this._deallocator(this.data[a]);
          return this._length = i, this;
        }, t.prototype.forEach = function (t, e) {
          for (var i = this.length, a = 0; a < Math.min(this.length, i); ++a) t.call(e, this.data[a], a, this.data);
        }, t.prototype.iterableForEach = function () {
          var t;
          return i(this, function (e) {
            switch (e.label) {
              case 0:
                t = 0, e.label = 1;

              case 1:
                return t < this.length ? [4, this.data[t]] : [3, 4];

              case 2:
                e.sent(), e.label = 3;

              case 3:
                return ++t, [3, 1];

              case 4:
                return [2];
            }
          });
        }, t.prototype.map = function (t, e) {
          for (var i = new Array(this.length), a = 0; a < this.length; ++a) i[a] = t.call(e, this.data[a], a, this.data);

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

  /***/
  "./node_modules/arcgis-js-api/core/Promise.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Promise.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCorePromiseJs(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__(
    /*! ./tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ./accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, s, t, i, o, n, l, u) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var p = function () {
        function e(e) {
          var r = this;
          this.instance = e, this._resolver = n.createDeferred(), this._status = void 0, this._resolvingPromises = [], this._resolver.promise.then(function () {
            r._status = 0, r._cleanUp();
          }, function () {
            r._status = 1, r._cleanUp();
          });
        }

        return e.prototype.addResolvingPromise = function (e) {
          this._resolvingPromises.push(e), this._tryResolve();
        }, e.prototype.isResolved = function () {
          return 0 === this._status;
        }, e.prototype.isRejected = function () {
          return 1 === this._status;
        }, e.prototype.isFulfilled = function () {
          return null != this._status;
        }, e.prototype.abort = function () {
          this._resolver.reject(n.createAbortError());
        }, e.prototype.when = function (e, r) {
          return this._resolver.promise.then(e, r);
        }, e.prototype._cleanUp = function () {
          this._allPromise = this._resolvingPromises = this._allPromise = null;
        }, e.prototype._tryResolve = function () {
          var e = this;

          if (!this.isFulfilled()) {
            var r = n.createDeferred(),
                s = this._resolvingPromises.concat([r.promise]),
                t = this._allPromise = n.all(s);

            t.then(function () {
              e.isFulfilled() || e._allPromise !== t || e._resolver.resolve(e.instance);
            }, function (r) {
              e.isFulfilled() || e._allPromise !== t || n.isAbortError(r) || e._resolver.reject(r);
            }), o("esri-native-promise") ? r.resolve() : l.schedule(function () {
              return r.resolve();
            });
          }
        }, e;
      }();

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

            var t = e.apply(this, r) || this;
            return t._promiseProps = new p(t), t.addResolvingPromise(o("esri-native-promise") ? n.resolve() : n.create(function (e) {
              return l.schedule(e);
            })), t;
          }

          return s(r, e), r.prototype.isResolved = function () {
            return this._promiseProps.isResolved();
          }, r.prototype.isRejected = function () {
            return this._promiseProps.isRejected();
          }, r.prototype.isFulfilled = function () {
            return this._promiseProps.isFulfilled();
          }, r.prototype.when = function (e, r) {
            var s = this;
            return n.create(function (e, r) {
              s._promiseProps.when(e, r);
            }).then(e, r);
          }, r.prototype["catch"] = function (e) {
            return this.when(null, e);
          }, r.prototype.addResolvingPromise = function (e) {
            e && !this._promiseProps.isFulfilled() && this._promiseProps.addResolvingPromise("_promiseProps" in e ? e.when() : e);
          }, r = t([u.subclass("esri.core.Promise")], r);
        }(u.declared(e));
      };

      var c = function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return s(r, e), r = t([u.subclass("esri.core.Promise")], r);
      }(u.declared(r.EsriPromiseMixin(i)));

      r.EsriPromise = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/Queue.js":
  /*!**************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Queue.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreQueueJs(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 (t, e) {
      return function () {
        function t(t) {
          this._items = [], this._itemSet = new Set(), this._peeker = function (t) {
            return t[0];
          }, this._length = 0, t && t.peeker && (this._peeker = t.peeker);
        }

        return Object.defineProperty(t.prototype, "length", {
          get: function get() {
            return this._length;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clear = function () {
          this._itemSet.clear(), this._items.length = 0, this._length = 0;
        }, t.prototype.peek = function () {
          if (0 !== this._length) return this._peeker(this._items);
        }, t.prototype.push = function (t) {
          this.contains(t) || this._add(t);
        }, t.prototype.contains = function (t) {
          return this._length > 0 && this._itemSet.has(t);
        }, t.prototype.pop = function () {
          if (0 !== this._length) {
            var t = this.peek();
            return this._remove(t), t;
          }
        }, t.prototype.remove = function (t) {
          this.contains(t) && this._remove(t);
        }, t.prototype._add = function (t) {
          this._items.push(t), this._itemSet.add(t), this._length++;
        }, t.prototype._remove = function (t) {
          this._itemSet["delete"](t), this._items.splice(this._items.indexOf(t), 1), this._length--;
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/RandomLCG.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/RandomLCG.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreRandomLCGJs(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 (t, e) {
      return function () {
        function t(t) {
          void 0 === t && (t = 1), this._seed = t;
        }

        return Object.defineProperty(t.prototype, "seed", {
          set: function set(e) {
            this._seed = null == e ? Math.random() * t._m : e;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.getInt = function () {
          return this._seed = (t._a * this._seed + t._c) % t._m, this._seed;
        }, t.prototype.getFloat = function () {
          return this.getInt() / (t._m - 1);
        }, t.prototype.getIntRange = function (t, e) {
          return Math.round(this.getFloatRange(t, e));
        }, t.prototype.getFloatRange = function (e, n) {
          var o = n - e,
              r = this.getInt() / t._m;

          return e + Math.floor(r * o);
        }, t._m = 2147483647, t._a = 48271, t._c = 0, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/ReentrantObjectPool.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/ReentrantObjectPool.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreReentrantObjectPoolJs(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__(
    /*! ./tsSupport/extendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js"), __webpack_require__(
    /*! ./ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var s = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._set = new Set(), e;
        }

        return o(e, t), e.prototype.destroy = function () {
          t.prototype.destroy.call(this), this._set = null;
        }, e.prototype.acquire = function () {
          for (var e = [], o = 0; o < arguments.length; o++) e[o] = arguments[o];

          var r = t.prototype.acquire.apply(this, e);
          return this._set["delete"](r), r;
        }, e.prototype.release = function (e) {
          e && !this._set.has(e) && (t.prototype.release.call(this, e), this._set.add(e));
        }, e.prototype._dispose = function (e) {
          this._set["delete"](e), t.prototype._dispose.call(this, e);
        }, e;
      }(r);

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

  /***/
  "./node_modules/arcgis-js-api/core/Warning.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/Warning.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWarningJs(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__(
    /*! ./tsSupport/extendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js"), __webpack_require__(
    /*! ./tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ./Message */
    "./node_modules/arcgis-js-api/core/Message.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, o) {
      var p = function (e) {
        function t(r, n, o) {
          var p = e.call(this, r, n, o) || this;
          return p instanceof t ? p : new t(r, n, o);
        }

        return r(t, e), t;
      }(o);

      return p.prototype.type = "warning", p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/MultiOriginStore.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/MultiOriginStore.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportMultiOriginStoreJs(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__(
    /*! ../arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function () {
        function t() {
          this._propertyOriginMap = new Map(), this._originStores = new Array(7), this._values = new Map();
        }

        return t.prototype.get = function (t, e) {
          var r = void 0 === e ? this._values : this._originStores[e];
          return r ? r.get(t) : void 0;
        }, t.prototype.keys = function (t) {
          var e = null == t ? this._values : this._originStores[t];
          return e ? r.keysOfMap(e) : [];
        }, t.prototype.set = function (t, e, r) {
          void 0 === r && (r = 6);
          var i = this._originStores[r];

          if (i || (i = new Map(), this._originStores[r] = i), i.set(t, e), !this._values.has(t) || this._propertyOriginMap.get(t) <= r) {
            var s = this._values.get(t);

            return this._values.set(t, e), this._propertyOriginMap.set(t, r), s !== e;
          }

          return !1;
        }, t.prototype["delete"] = function (t, e) {
          void 0 === e && (e = 6);
          var r = this._originStores[e];

          if (r) {
            var i = r.get(t);

            if (r["delete"](t), this._values.has(t) && this._propertyOriginMap.get(t) === e) {
              this._values["delete"](t);

              for (var s = e - 1; s >= 0; s--) {
                var o = this._originStores[s];

                if (o && o.has(t)) {
                  this._values.set(t, o.get(t)), this._propertyOriginMap.set(t, s);
                  break;
                }
              }
            }

            return i;
          }
        }, t.prototype.has = function (t, e) {
          var r = void 0 === e ? this._values : this._originStores[e];
          return !!r && r.has(t);
        }, t.prototype.revert = function (t, e) {
          for (; e > 0 && !this.has(t, e);) --e;

          var r = this._originStores[e],
              i = r && r.get(t),
              s = this._values.get(t);

          return this._values.set(t, i), this._propertyOriginMap.set(t, e), s !== i;
        }, t.prototype.originOf = function (t) {
          return this._propertyOriginMap.get(t) || 0;
        }, t.prototype.forEach = function (t) {
          this._values.forEach(t);
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/Properties.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/Properties.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportPropertiesJs(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__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js"), __webpack_require__(
    /*! ./extensions */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions.js"), __webpack_require__(
    /*! ./PropertyOrigin */
    "./node_modules/arcgis-js-api/core/accessorSupport/PropertyOrigin.js"), __webpack_require__(
    /*! ./Store */
    "./node_modules/arcgis-js-api/core/accessorSupport/Store.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, i, s, o, n, a, h) {
      function u(t, e) {
        return !!e.metadatas[t] || (r("dojo-debug-messages") && d.warn("cannot access unknown property '" + t + "' on instance of " + e.host.declaredClass + "."), !1);
      }

      function l(t, e, i, s) {
        return !t.nonNullable || null != i || (0 !== s.host.__accessor__.lifecycle && r("dojo-debug-messages") && d.warn("cannot set non-nullable property '" + e + "' to null on " + s.host.declaredClass + "."), !1);
      }

      function c(t) {
        return t && "function" == typeof t.destroy;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var d = s.getLogger("esri.core.accessorSupport.Properties"),
          p = function () {
        function t(t) {
          this.host = t, this._origin = 6, this.cursors = null, this.ctorArgs = null, this.destroyed = !1, this.dirties = {}, this.lifecycle = 0, this.overridden = null, this.store = new h.Store();
          var e = this.host.constructor.__accessorMetadata__;
          this.metadatas = e.properties, this.autoDestroy = e.autoDestroy;
        }

        return t.prototype.initialize = function () {
          this.lifecycle = 1, n.instanceCreated(this.host, this.metadatas);
        }, t.prototype.constructed = function () {
          this.lifecycle = 2;
        }, t.prototype.destroy = function () {
          this.destroyed = !0;
          var t = this.cursors;
          if (t) for (var e = 0, r = Object.getOwnPropertyNames(t); e < r.length; e++) {
            var i = r[e],
                s = t[i];

            if (s) {
              for (; s.length > 0;) s.pop().propertyDestroyed(this, i);

              t[i] = null;
            }
          }
          if (this.autoDestroy) for (var i in this.metadatas) {
            var o = this.internalGet(i);
            o && c(o) && (o.destroy(), this.metadatas[i].nonNullable || this.internalSet(i, null));
          }
        }, Object.defineProperty(t.prototype, "initialized", {
          get: function get() {
            return 0 !== this.lifecycle;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clearOverride = function (t) {
          this.isOverridden(t) && (this.overridden[t] = !1, this.propertyInvalidated(t));
        }, t.prototype.get = function (t) {
          u(t, this);
          var e = this.metadatas[t],
              r = e.get;
          if (this.store.has(t) && (!r || !this.dirties[t])) return this.store.get(t);

          if (r) {
            var i = r.call(this.host);
            return this.store.set(t, i, 1), this.propertyCommitted(t), i;
          }

          return e.value;
        }, t.prototype.getterStatic = function (t, e) {
          return this.store.has(t) ? this.store.get(t) : e.value;
        }, t.prototype.getterComputed = function (t, e) {
          if (this.store.has(t) && !this.dirties[t]) return this.store.get(t);
          var r = e.get.call(this.host);
          return this.store.set(t, r, 1), this.propertyCommitted(t), r;
        }, t.prototype.originOf = function (t) {
          var e = this.store.originOf(t);

          if (void 0 === e) {
            var r = this.metadatas[t];
            if (r && r.hasOwnProperty("value")) return "defaults";
          }

          return a.idToName(e);
        }, t.prototype.has = function (t) {
          return !!this.metadatas[t] && this.store.has(t);
        }, t.prototype.internalGet = function (t) {
          if (u(t, this)) {
            var e = this.store;
            return e.has(t) ? e.get(t) : this.metadatas[t].value;
          }
        }, t.prototype.internalSet = function (t, e) {
          if (u(t, this)) {
            var r = this.initialized ? this._origin : 0,
                s = this.store.get(t);
            (!i.equals(e, s) || r !== this.store.originOf(t) || !this.store.has(t, r) || this.isOverridden(t)) && (this.propertyInvalidated(t), this.store.set(t, e, r), this.propertyCommitted(t));
          }
        }, t.prototype.isOverridden = function (t) {
          return null != this.overridden && !0 === this.overridden[t];
        }, t.prototype.keys = function () {
          return Object.keys(this.metadatas);
        }, t.prototype.override = function (t, e) {
          if (u(t, this)) {
            this.overridden || (this.overridden = {});
            var r = this.metadatas[t];

            if (l(r, t, e, this)) {
              var i = r.cast;

              if (i) {
                var s = this.cast(i, e),
                    o = s.valid,
                    n = s.value;
                if (v.release(s), !o) return;
                e = n;
              }

              this.overridden[t] = !0, this.internalSet(t, e);
            }
          }
        }, t.prototype.set = function (t, e) {
          if (u(t, this)) {
            var r = this.metadatas[t];

            if (l(r, t, e, this)) {
              var i = r.set,
                  s = r.cast;

              if (s) {
                var o = this.cast(s, e),
                    n = o.valid,
                    a = o.value;
                if (v.release(o), !n) return;
                e = a;
              }

              i ? i.call(this.host, e) : this.internalSet(t, e);
            }
          }
        }, t.prototype.setDefaultOrigin = function (t) {
          this._origin = a.nameToId(t);
        }, t.prototype.propertyInvalidated = function (t) {
          var e = this.dirties;
          this.isOverridden(t) || (e[t] = !0);
          var r = this.cursors && this.cursors[t];
          if (r) for (var i = 0, s = r; i < s.length; i++) {
            var o = s[i];
            o.propertyInvalidated(this, t);
          }
        }, t.prototype.propertyCommitted = function (t) {
          var e = this.cursors && this.cursors[t];
          if (this.dirties[t] = !1, e) for (var r = 0, i = e; r < i.length; r++) {
            var s = i[r];
            s.propertyCommitted(this, t);
          }
        }, t.prototype.addCursor = function (t, e) {
          this.cursors || (this.cursors = {});
          var r = this.cursors[t];
          r || (this.cursors[t] = r = []), r.push(e);
        }, t.prototype.removeCursor = function (t, e) {
          var r = this.cursors[t];
          this.cursors[t] && (r.splice(r.indexOf(e), 1), 0 === r.length && (this.cursors[t] = null));
        }, t.prototype.cast = function (t, e) {
          var r = v.acquire();
          return r.valid = !0, r.value = e, t && (r.value = t.call(this.host, e, r)), r;
        }, t;
      }(),
          f = function () {
        function t() {
          this.value = null, this.valid = !0;
        }

        return t.prototype.acquire = function () {
          this.valid = !0;
        }, t.prototype.release = function () {
          this.value = null;
        }, t;
      }(),
          v = new o(f);

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/PropertyOrigin.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/PropertyOrigin.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportPropertyOriginJs(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) {
        switch (e) {
          case "defaults":
            return 0;

          case "service":
            return 2;

          case "portal-item":
            return 3;

          case "web-scene":
            return 4;

          case "web-map":
            return 5;

          case "user":
            return 6;
        }
      }

      function n(e) {
        switch (e) {
          case 0:
            return "defaults";

          case 2:
            return "service";

          case 3:
            return "portal-item";

          case 4:
            return "web-scene";

          case 5:
            return "web-map";

          case 6:
            return "user";
        }
      }

      function a(e) {
        return t(e);
      }

      function u(e) {
        return n(e);
      }

      function c(e) {
        return t(e);
      }

      function s(e) {
        return n(e);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.nameToId = t, r.idToName = n, r.readableNameToId = a, r.idToReadableName = u, r.writableNameToId = c, r.idToWritableName = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/Store.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/Store.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportStoreJs(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__(
    /*! ../arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var n = function () {
        function t() {
          this._values = new Map();
        }

        return t.prototype.get = function (t) {
          return this._values.get(t);
        }, t.prototype.originOf = function () {
          return 6;
        }, t.prototype.keys = function () {
          return o.keysOfMap(this._values);
        }, t.prototype.set = function (t, e) {
          this._values.set(t, e);
        }, t.prototype["delete"] = function (t) {
          this._values["delete"](t);
        }, t.prototype.has = function (t) {
          return this._values.has(t);
        }, t.prototype.forEach = function (t) {
          this._values.forEach(t);
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsJs(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__(
    /*! ./decorators/aliasOf */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/aliasOf.js"), __webpack_require__(
    /*! ./decorators/autoDestroy */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/autoDestroy.js"), __webpack_require__(
    /*! ./decorators/cast */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js"), __webpack_require__(
    /*! ./decorators/declared */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/declared.js"), __webpack_require__(
    /*! ./decorators/enumeration */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/enumeration.js"), __webpack_require__(
    /*! ./decorators/property */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js"), __webpack_require__(
    /*! ./decorators/reader */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/reader.js"), __webpack_require__(
    /*! ./decorators/shared */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/shared.js"), __webpack_require__(
    /*! ./decorators/subclass */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/subclass.js"), __webpack_require__(
    /*! ./decorators/writer */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/writer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, o, a, t, s, d, c, n, i, u, f) {
      function l(r) {
        for (var o in r) e.hasOwnProperty(o) || (e[o] = r[o]);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), l(o), l(a), l(t), l(s), l(d), l(c), l(n), l(i), l(u), l(f);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/aliasOf.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/aliasOf.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsAliasOfJs(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__(
    /*! ../metadata */
    "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a) {
      function n(e) {
        return function (t, n) {
          a.getPropertyMetadata(t, n).aliasOf = e;
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/autoDestroy.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/autoDestroy.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsAutoDestroyJs(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__(
    /*! ../metadata */
    "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      function n() {
        return function (e, t) {
          return r.getMetadata(e).autoDestroy = !0, e[t];
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsCastJs(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__(
    /*! ../../deprecate */
    "./node_modules/arcgis-js-api/core/deprecate.js"), __webpack_require__(
    /*! ../../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../metadata */
    "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, n, o) {
      function c(e) {
        var t = "_meta" in e ? n.ensureType(e) : e;
        return function () {
          for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r];

          return e.push(t), "number" == typeof e[2] ? s.apply(this, e) : i.apply(this, e);
        };
      }

      function i(e, t, r, a) {
        o.getPropertyMetadata(e, t).cast = a;
      }

      function s(e, t, n, c) {
        r.deprecated(a.getLogger("esri.core.accessorSupport.decorators.cast"), "@cast decorator on method parameters is deprecated for compatibility with ES decorator spec", {
          version: "4.14",
          see: "https://arcg.is/vvbW8"
        }), o.getParameterMetadata(e, t, n).cast = c;
      }

      function u(e) {
        return function (t, r) {
          o.getPropertyMetadata(t, e).cast = t[r];
        };
      }

      function d(e, t, r) {
        if (o.hasParametersMetadata(e, t)) {
          var a = o.getParametersMetadata(e, t).filter(function (e) {
            return null != e.cast;
          });
          if (!a.length) return void console.warn("Method " + e.declaredClass + "::" + t + " is decorated with @cast but no parameters are decorated");
          var n = r.value;
          return r.value = function () {
            for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

            for (var r = 0, o = a; r < o.length; r++) {
              var c = o[r];
              e[c.index] = c.cast(e[c.index]);
            }

            return n.apply(this, e);
          }, r;
        }
      }

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

        if (3 !== e.length || "string" != typeof e[1]) return 1 === e.length && "[object Function]" === f.call(e[0]) ? c(e[0]) : 1 === e.length && "string" == typeof e[0] ? u(e[0]) : void 0;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var f = Object.prototype.toString;
      t.autocastMethod = d, t.cast = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/declared.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/declared.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsDeclaredJs(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__(
    /*! ../../declare */
    "./node_modules/arcgis-js-api/core/declare.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      function o(e) {
        var t = function t() {
          return this || {};
        };

        if (arguments.length > 1) {
          for (var o = [], n = 0; n < arguments.length; n++) o.push(arguments[n]);

          e = r(o), a(e);
        }

        return t.__bases__ = [e], t;
      }

      function a(e) {
        var t = Object.getPrototypeOf(e.prototype),
            r = e._meta && e._meta.bases,
            o = e._meta && e._meta.parents;
        if (t && r && o && !(o.length <= 1)) for (var a = 1; a < r.length; a++) {
          var i = r[a],
              c = i.__accessorMetadata__ && i.__accessorMetadata__.properties,
              s = t;
          if (t = Object.getPrototypeOf(t), -1 !== o.indexOf(i)) for (var f = Object.getOwnPropertyNames(i.prototype), p = 0, _ = f; p < _.length; p++) {
            var d = _[p];

            if ("initialized" !== d && "constructed" !== d && "destroyed" !== d && !(c && d in c)) {
              var u = Object.getOwnPropertyDescriptor(i.prototype, d);
              n(u) && Object.defineProperty(s, d, u);
            }
          }
        }
      }

      function n(e) {
        return e && !(!e.get && !e.set);
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/enumeration.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/enumeration.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsEnumerationJs(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__(
    /*! ../../jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ./property */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r, t) {
      function o(e) {
        return t.property({
          type: e
        });
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.enumeration = o, function (e) {
        function n() {
          return function (e, n) {
            void 0 === n && (n = {
              ignoreUnknown: !0
            });
            var o = e instanceof r.JSONMap ? e : new r.JSONMap(e, n);
            return t.property({
              type: n && n.ignoreUnknown ? o.apiValues : String,
              json: {
                type: o.jsonValues,
                read: {
                  reader: o.read
                },
                write: {
                  writer: o.write
                }
              }
            });
          };
        }

        e.serializable = n;
      }(o = n.enumeration || (n.enumeration = {}));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsPropertyJs(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__(
    /*! ../../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../metadata */
    "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, a, n) {
      function s(e) {
        return void 0 === e && (e = {}), function (r, a) {
          var s = r.constructor.prototype;
          if (s === Function.prototype) return void (t("dojo-debug-messages") && i.error("Inappropriate use of @property() on a static field: " + r.name + "." + a + ". Accessor does not support static properties."));
          var p = Object.getOwnPropertyDescriptor(r, a);
          p && (p.get || p.set) ? (e = o.clone(e), p.set && (e.set = p.set), p.get && (e.get = p.get)) : p && p.hasOwnProperty("value") && (e = o.clone(e), t("dojo-debug-messages") && e.hasOwnProperty("value") && i.warn('@property() will redefine the value of "' + a + '" on "' + r.constructor.name + '" already defined in the metadata', e), e.value = p.value);
          var c = n.getPropertyMetadata(s, a);
          n.mergeProperty(c, e);
        };
      }

      function p(e, r, t) {
        var o = n.getPropertyMetadata(e.constructor.prototype, t);
        o.json || (o.json = {});
        var a = o.json;
        return void 0 !== r && (a.origins || (a.origins = {}), a.origins[r] || (a.origins[r] = {}), a = a.origins[r]), a;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var i = a.getLogger("esri.core.accessorSupport.decorators.property");
      r.property = s, r.propertyJSONMeta = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/reader.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/reader.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsReaderJs(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__(
    /*! ../../object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ./property */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, o, a) {
      function t(r, e, t) {
        var c, d;
        return void 0 === e || Array.isArray(e) ? (d = r, t = e, c = [void 0]) : (d = e, c = Array.isArray(r) ? r : [r]), function (r, e) {
          var n = r.constructor.prototype;
          c.forEach(function (c) {
            var u = a.propertyJSONMeta(r, c, d);
            u.read && "object" != typeof u.read && (u.read = {}), o.setDeepValue("read.reader", n[e], u), t && (u.read.source = (u.read.source || []).concat(t));
          });
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/shared.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/shared.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsSharedJs(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, n) {
      function r(e) {
        return function (n, r) {
          n[r] = e;
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/subclass.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/subclass.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsSubclassJs(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__(
    /*! ../../declare */
    "./node_modules/arcgis-js-api/core/declare.js"), __webpack_require__(
    /*! ../metadata */
    "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o) {
      function a(e) {
        return function (t) {
          var o = c(t),
              a = u(t);
          null != e && (o.values.declaredClass = e);
          var s = r(t.__bases__, o.values);
          n(s), Object.defineProperties(s.prototype, o.descriptors);

          for (var p in a.values) s[p] = a.values[p];

          return Object.defineProperties(s, a.descriptors), s;
        };
      }

      function n(e) {
        var t = Object.getPrototypeOf(e.prototype),
            r = e._meta && e._meta.bases,
            o = e._meta && e._meta.parents;
        if (t && r && o && !(o.length <= 1)) for (var a = 1; a < r.length; a++) {
          var n = r[a],
              s = n.__accessorMetadata__ && n.__accessorMetadata__.properties,
              p = t;
          if (t = Object.getPrototypeOf(t), -1 !== o.indexOf(n)) for (var i = Object.getOwnPropertyNames(n.prototype), c = 0, u = i; c < u.length; c++) {
            var d = u[c];

            if ("initialized" !== d && "constructed" !== d && "destroyed" !== d && !(s && d in s)) {
              var y = Object.getOwnPropertyDescriptor(n.prototype, d);
              f(y) && Object.defineProperty(p, d, y);
            }
          }
        }
      }

      function s(e, t) {
        e.read && ("function" == typeof e.read ? t.push(e.read) : "object" == typeof e.read && e.read.reader && t.push(e.read.reader));
      }

      function p(e, t) {
        e.write && ("function" == typeof e.write ? t.push(e.write) : "object" == typeof e.write && e.write.writer && t.push(e.write.writer));
      }

      function i(e) {
        var t = [],
            r = o.getPropertiesMetadata(e.prototype);
        if (!r) return t;

        for (var a in r) {
          var n = r[a];
          n.cast && t.push(n.cast), n.copy && t.push(n.copy);
          var i = n.json;

          if (i) {
            s(i, t), p(i, t);
            var c = i.origins;
            if (c) for (var u in c) {
              var f = c[u];
              s(f, t), p(f, t);
            }
          }
        }

        return t;
      }

      function c(e) {
        var t = {
          values: {},
          descriptors: {}
        },
            r = ["__bases__"],
            a = o.getPropertiesMetadata(e.prototype),
            n = i(e);
        return Object.getOwnPropertyNames(e.prototype).filter(function (t) {
          return !(-1 !== r.indexOf(t) || a && a.hasOwnProperty(t) || !f(Object.getOwnPropertyDescriptor(e.prototype, t)) && -1 !== n.indexOf(e.prototype[t]));
        }).forEach(function (r) {
          var o = Object.getOwnPropertyDescriptor(e.prototype, r);
          f(o) ? t.descriptors[r] = o : t.values[r] = e.prototype[r];
        }), t;
      }

      function u(e) {
        var t = Object.getOwnPropertyNames(e),
            r = Object.getPrototypeOf(e.prototype).constructor,
            o = Object.getOwnPropertyNames(Function);
        o.push("__bases__", "caller", "arguments");
        var a = Object.getOwnPropertyNames(r),
            n = {
          values: {},
          descriptors: {}
        };
        return t.filter(function (t) {
          return -1 === o.indexOf(t) && (-1 === a.indexOf(t) || r[t] !== e[t]);
        }).forEach(function (t) {
          var r = Object.getOwnPropertyDescriptor(e, t);
          f(r) ? n.descriptors[t] = r : n.values[t] = e[t];
        }), n;
      }

      function f(e) {
        return e && !(!e.get && !e.set);
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/decorators/writer.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/decorators/writer.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDecoratorsWriterJs(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__(
    /*! ../../object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ./property */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/property.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o) {
      function i(e, r, i) {
        var n, p;
        return void 0 === r ? (p = e, n = [void 0]) : "string" != typeof r ? (p = e, n = [void 0], i = r) : (p = r, n = Array.isArray(e) ? e : [e]), function (e, r) {
          var a = e.constructor.prototype;
          n.forEach(function (n) {
            var u = o.propertyJSONMeta(e, n, p);
            u.write && "object" != typeof u.write && (u.write = {}), i && t.setDeepValue("write.target", i, u), t.setDeepValue("write.writer", a[r], u);
          });
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/diffUtils.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/diffUtils.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportDiffUtilsJs(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__(
    /*! ../Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, r, o, i) {
      function f(e) {
        return e instanceof n;
      }

      function u(e) {
        return e instanceof r ? Object.keys(e.items) : f(e) ? i.getProperties(e).keys() : e ? Object.keys(e) : [];
      }

      function l(e, t) {
        return e instanceof r ? e.items[t] : e[t];
      }

      function c(e, t) {
        return !(!Array.isArray(e) || !Array.isArray(t)) && e.length !== t.length;
      }

      function a(e) {
        return e ? e.declaredClass : null;
      }

      function s(e, t) {
        var n,
            r = e.diff;
        if (r && "function" == typeof r) return r(e, t);
        var i = u(e),
            p = u(t);

        if (0 !== i.length || 0 !== p.length) {
          if (!i.length || !p.length || c(e, t)) return {
            type: "complete",
            oldValue: e,
            newValue: t
          };
          var y = p.filter(function (e) {
            return -1 === i.indexOf(e);
          }),
              v = i.filter(function (e) {
            return -1 === p.indexOf(e);
          }),
              m = i.filter(function (n) {
            return p.indexOf(n) > -1 && l(e, n) !== l(t, n);
          }),
              h = m.concat(y, v).sort(),
              g = a(e);
          if (g && d.indexOf(g) > -1 && h.length) return {
            type: "complete",
            oldValue: e,
            newValue: t
          };

          for (var b, V = f(e) && f(t), j = 0, A = h; j < A.length; j++) {
            var O = A[j],
                w = l(e, O),
                x = l(t, O),
                P = void 0;
            (V || "function" != typeof w && "function" != typeof x) && w !== x && (null == w && null == x || (P = r && r[O] && "function" == typeof r[O] ? r[O](w, x) : "object" == typeof w && "object" == typeof x && a(w) === a(x) ? s(w, x) : {
              type: "complete",
              oldValue: w,
              newValue: x
            }, o.isSome(P) && (o.isSome(b) ? b.diff[O] = P : b = {
              type: "partial",
              diff: (n = {}, n[O] = P, n)
            })));
          }

          return b;
        }
      }

      function p(e, t) {
        if ("function" != typeof e && "function" != typeof t && (e || t)) return !e || !t || "object" == typeof e && "object" == typeof t && a(e) !== a(t) ? {
          type: "complete",
          oldValue: e,
          newValue: t
        } : s(e, t);
      }

      function y(e) {
        if (o.isNone(e)) return !0;

        switch (e.type) {
          case "complete":
            return !1;

          case "collection":
            for (var t = e, n = 0, r = t.added; n < r.length; n++) {
              var i = r[n];
              if (!y(i)) return !1;
            }

            for (var f = 0, u = t.removed; f < u.length; f++) {
              var i = u[f];
              if (!y(i)) return !1;
            }

            for (var l = 0, c = t.changed; l < c.length; l++) {
              var i = c[l];
              if (!y(i)) return !1;
            }

            return !0;

          case "partial":
            for (var a in e.diff) {
              var i = e.diff[a];
              if (!y(i)) return !1;
            }

            return !0;
        }
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var d = ["esri.Color", "esri.portal.Portal", "esri.symbols.support.Symbol3DAnchorPosition2D", "esri.symbols.support.Symbol3DAnchorPosition3D"];
      t.diff = p, t.isEmpty = y;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportEnsureTypeJs(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__(
    /*! ../compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r, t) {
      function u(e) {
        return null == e ? e : new Date(e);
      }

      function o(e) {
        return null == e ? e : !!e;
      }

      function a(e) {
        return null == e ? e : e.toString();
      }

      function i(e) {
        return null == e ? e : "number" == typeof e && isNaN(e) ? 0 : parseFloat(e);
      }

      function s(e) {
        return null == e ? e : Math.round(parseFloat(e));
      }

      function l(e) {
        return e && e.constructor && void 0 !== e.constructor._meta;
      }

      function c(e, n) {
        return null != n && e && !(n instanceof e);
      }

      function f(e) {
        return e && ("isCollection" in e || e._meta && e._meta.bases && e._meta.bases.some(function (e) {
          return "isCollection" in e;
        }));
      }

      function y(e) {
        return e && e.Type ? "function" == typeof e.Type ? e.Type : e.Type.base : null;
      }

      function p(e, n) {
        if (!n || !n.constructor || !f(n.constructor)) return v(e, n) ? n : new e(n);
        var r = y(e.prototype.itemType),
            t = y(n.constructor.prototype.itemType);
        if (!r) return n;
        if (!t) return new e(n);
        if (r === t) return n;
        var u = t._meta && t._meta.bases;
        return u && -1 !== u.indexOf(r) ? new e(n) : (v(e, n), n);
      }

      function v(e, n) {
        return !!l(n) && (D.error("Accessor#set", "Assigning an instance of '" + (n.declaredClass || "unknown") + "' which is not a subclass of '" + g(e) + "'"), !0);
      }

      function d(e, n) {
        return null == n ? n : f(e) ? p(e, n) : c(e, n) ? v(e, n) ? n : new e(n) : n;
      }

      function g(e) {
        return e && e.prototype && e.prototype.declaredClass || "unknown";
      }

      function b(e) {
        switch (e) {
          case Number:
            return i;

          case F:
            return s;

          case Boolean:
            return o;

          case String:
            return a;

          case Date:
            return u;

          default:
            return d.bind(null, e);
        }
      }

      function h(e, n) {
        var r = b(e);
        return 1 === arguments.length ? r : r(n);
      }

      function m(e, n, r) {
        return 1 === arguments.length ? m.bind(null, e) : n ? Array.isArray(n) ? n.map(function (n) {
          return e(n, r);
        }) : [e(n, r)] : n;
      }

      function A(e, n) {
        return 1 === arguments.length ? m(h.bind(null, e)) : m(h.bind(null, e), n);
      }

      function w(e, n, r) {
        return 0 !== n && Array.isArray(r) ? r.map(function (r) {
          return w(e, n - 1, r);
        }) : e(r);
      }

      function T(e, n, r) {
        if (2 === arguments.length) return T.bind(null, e, n);
        if (!r) return r;
        r = w(e, n, r);

        for (var t = n, u = r; t > 0 && Array.isArray(u);) t--, u = u[0];

        if (void 0 !== u) for (var o = 0; o < t; o++) r = [r];
        return r;
      }

      function N(e, n, r) {
        return 2 === arguments.length ? T(h.bind(null, e), n) : T(h.bind(null, e), n, r);
      }

      function O(e) {
        return !!Array.isArray(e) && !e.some(function (n) {
          var r = typeof n;
          return !("string" === r || "number" === r || "function" === r && e.length > 1);
        });
      }

      function j(e, n) {
        if (2 === arguments.length) return j(e).call(null, n);

        for (var r = new Set(), t = e.filter(function (e) {
          return "function" != typeof e;
        }), u = e.filter(function (e) {
          return "function" == typeof e;
        }), o = 0, a = e; o < a.length; o++) {
          var i = a[o];
          "string" != typeof i && "number" != typeof i || r.add(i);
        }

        var s = null,
            l = null;
        return function (e, n) {
          if (null == e) return e;
          var o = typeof e,
              a = "string" === o || "number" === o;
          return a && (r.has(e) || u.some(function (e) {
            return "string" === o && e === String || "number" === o && e === Number;
          })) ? e : "object" === o && u.some(function (n) {
            return !c(e, n);
          }) ? e : (a && t.length ? (s || (s = t.map(function (e) {
            return "string" == typeof e ? "'" + e + "'" : "" + e;
          }).join(", ")), D.error("Accessor#set", "'" + e + "' is not a valid value for this property, only the following values are valid: " + s)) : "object" == typeof e && u.length ? (l || (l = u.map(function (e) {
            return g(e);
          }).join(", ")), D.error("Accessor#set", "'" + e + "' is not a valid value for this property, value must be one of " + l)) : D.error("Accessor#set", "'" + e + "' is not a valid value for this property"), n && (n.valid = !1), null);
        };
      }

      function k(e, n) {
        if (2 === arguments.length) return k(e).call(null, n);
        var r = {},
            t = [],
            u = [];

        for (var o in e.typeMap) {
          var a = e.typeMap[o];
          r[o] = h(a), t.push(g(a)), u.push(o);
        }

        var i = function i() {
          return "'" + t.join("', '") + "'";
        },
            s = function s() {
          return "'" + u.join("', '") + "'";
        },
            f = "string" == typeof e.key ? function (n) {
          return n[e.key];
        } : e.key;

        return function (n) {
          if (e.base && !c(e.base, n)) return n;
          if (null == n) return n;
          var t = f(n) || e.defaultKeyValue,
              u = r[t];
          if (!u) return D.error("Accessor#set", "Invalid property value, value needs to be one of " + i() + ", or a plain object that can autocast (having .type = " + s() + ")"), null;
          if (!c(e.typeMap[t], n)) return n;

          if ("string" == typeof e.key && !l(n)) {
            var o = {};

            for (var a in n) a !== e.key && (o[a] = n[a]);

            return u(o);
          }

          return u(n);
        };
      }

      function S(e) {
        if (!(e && "type" in e)) return !1;

        switch (e.type) {
          case "native":
          case "array":
          case "one-of":
            return !0;

          default:
            r.neverReachedSilent(e);
        }

        return !1;
      }

      function _(e) {
        switch (e.type) {
          case "native":
            return h(e.value);

          case "array":
            return m(_(e.value));

          case "one-of":
            return C(e);

          default:
            r.neverReached(e);
        }

        return null;
      }

      function C(e) {
        var n = null;
        return function (r, t) {
          return B(r, e) ? r : (null == n && (n = M(e)), D.error("Accessor#set", "Invalid property value, value needs to be of type " + n), t && (t.valid = !1), null);
        };
      }

      function M(e) {
        switch (e.type) {
          case "native":
            switch (e.value) {
              case Number:
                return "number";

              case String:
                return "string";

              case Boolean:
                return "boolean";

              case F:
                return "integer";

              case Date:
                return "date";

              default:
                return g(e.value);
            }

          case "array":
            return "array of " + M(e.value);

          case "one-of":
            var n = e.values.map(function (e) {
              return M(e);
            });
            return "one of " + n.slice(0, n.length - 1) + " or " + n[n.length - 1];

          default:
            r.neverReached(e);
        }

        return "unknown";
      }

      function B(e, n) {
        if (null == e) return !0;

        switch (n.type) {
          case "native":
            switch (n.value) {
              case Number:
              case F:
                return "number" == typeof e;

              case Boolean:
                return "boolean" == typeof e;

              case String:
                return "string" == typeof e;
            }

            return e instanceof n.value;

          case "array":
            return !!Array.isArray(e) && !e.some(function (e) {
              return !B(e, n.value);
            });

          case "one-of":
            return n.values.some(function (n) {
              return B(e, n);
            });
        }
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var D = t.getLogger("esri.core.Accessor");
      n.ensureDate = u, n.ensureBoolean = o, n.ensureString = a, n.ensureNumber = i, n.ensureInteger = s, n.isClassedType = l, n.requiresType = c, n.ensureClass = d, n.ensureType = h, n.ensureArrayTyped = m, n.ensureArray = A, n.ensureNArrayTyped = T, n.ensureNArray = N, n.isOneOf = O, n.ensureOneOf = j, n.ensureOneOfType = k;

      var F = function () {
        function e() {}

        return e;
      }();

      n.Integer = F, n.types = {
        "native": function native(e) {
          return {
            type: "native",
            value: e
          };
        },
        array: function array(e) {
          return {
            type: "array",
            value: e
          };
        },
        oneOf: function oneOf(e) {
          return {
            type: "one-of",
            values: e
          };
        }
      }, n.isLongFormType = S, n.ensureLongFormType = _, n["default"] = h;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsJs(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__(
    /*! ./extensions/aliasedProperty */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/aliasedProperty.js"), __webpack_require__(
    /*! ./extensions/computedProperty */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/computedProperty.js"), __webpack_require__(
    /*! ./extensions/serializableProperty */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, o) {
      function s(e, t) {
        for (var r = 0, a = p; r < a.length; r++) {
          var o = a[r];
          if (o.processPrototypePropertyMetadata) for (var s in e) {
            var n = e[s];
            o.processPrototypePropertyMetadata(s, n, e, t);
          }
        }
      }

      function n(e, t) {
        for (var r = 0, a = p; r < a.length; r++) {
          var o = a[r];
          if (o.processClassPropertyMetadata) for (var s in e) {
            var n = e[s];
            o.processClassPropertyMetadata(s, n, e, t);
          }
        }
      }

      function i(e, t) {
        for (var r = Object.getOwnPropertyNames(t), a = 0, o = p; a < o.length; a++) {
          var s = o[a];
          s.instanceCreated && s.instanceCreated(e, t, r);
        }
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var p = [r["default"], a["default"], o["default"]];
      t.processPrototypeMetadatas = s, t.processClassMetadatas = n, t.instanceCreated = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/aliasedProperty.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/aliasedProperty.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsAliasedPropertyJs(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__(
    /*! ../../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../get */
    "./node_modules/arcgis-js-api/core/accessorSupport/get.js"), __webpack_require__(
    /*! ../set */
    "./node_modules/arcgis-js-api/core/accessorSupport/set.js"), __webpack_require__(
    /*! ../utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ../wire */
    "./node_modules/arcgis-js-api/core/accessorSupport/wire.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, s, i, o) {
      function n(e, r, t) {
        var a = i.getProperties(e);
        return o.wire(e, t.aliasOf, function () {
          a.propertyInvalidated(r);
        });
      }

      function f(e) {
        return "function" == typeof e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var l = t("dojo-debug-messages");
      r.AliasedPropertyExtension = {
        processClassPropertyMetadata: function processClassPropertyMetadata(e, r, t, i) {
          var o = r.aliasOf;

          if (o) {
            var n = o.split(".")[0];
            if (null == t[n]) return void (l && console.error("[accessor] class '" + i + "' - property '" + e + "' is alias of aliased of '" + o + "', but '" + n + "' isn't declared as property. This can be fix by adding '" + n + "' to the metadata for example."));
            if (r.set) return void (l && console.error("[accessor] class '" + i + "' - property '" + e + "' is alias of aliased of '" + o + "', so it cannot have a setter defined"));
            if (r.get) return void (l && console.error("[accessor] class '" + i + "' - property '" + e + "' is alias of aliased of '" + o + "', so it cannot have a getter defined"));
            var d;
            r.get = function () {
              var e = a["default"](this, o);

              if (f(e)) {
                d || (d = o.split(".").slice(0, -1).join("."));
                var r = a["default"](this, d);
                r && (e = e.bind(r));
              }

              return e;
            }, r.readOnly || (r.set = function (e) {
              return s["default"](this, o, e);
            });
          }
        },
        instanceCreated: function instanceCreated(e, r, t) {
          for (var a = 0, s = t; a < s.length; a++) {
            var i = s[a],
                o = r[i];
            o.aliasOf && n(e, i, o);
          }
        }
      }, r["default"] = r.AliasedPropertyExtension;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/computedProperty.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/computedProperty.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsComputedPropertyJs(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__(
    /*! ../../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ../wire */
    "./node_modules/arcgis-js-api/core/accessorSupport/wire.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r, t, o, s) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var i = r("dojo-debug-messages"),
          a = t.getLogger("esri.core.accessorSupport.extensions.computedProperty");
      n.ComputedPropertyExtension = {
        processClassPropertyMetadata: function processClassPropertyMetadata(e, n, r, t) {
          if (i) {
            var d = n.dependsOn;
            d && d.length && d.map(function (e) {
              return e.split(".")[0];
            }).forEach(function (n) {
              "?" !== n[n.length - 1] && null == r[n] && a.error("[accessor] class '" + t + "' - property '" + e + "' depends on unknown property '" + n + "' which hasn't been found during introspection. This can be fix by adding '" + n + "' to the metadata for example.");
            });
          }

          n.dependsOn && n.dependsOn.length && (n.wire = s.create(n.dependsOn, function (n) {
            return o.getProperties(n).propertyInvalidated(e);
          }));
        },
        instanceCreated: function instanceCreated(e, n, r) {
          for (var t = 0, o = r; t < o.length; t++) {
            var s = o[t],
                i = n[s];
            i.wire && i.wire(e);
          }
        }
      }, n["default"] = n.ComputedPropertyExtension;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsSerializablePropertyJs(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__(
    /*! ../ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./serializableProperty/originAliases */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/originAliases.js"), __webpack_require__(
    /*! ./serializableProperty/reader */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/reader.js"), __webpack_require__(
    /*! ./serializableProperty/shorthands */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/shorthands.js"), __webpack_require__(
    /*! ./serializableProperty/writer */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/writer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, i, n, o, t, s) {
      function a(r, e) {
        return c(r, "read", e);
      }

      function p(r, e) {
        return c(r, "write", e);
      }

      function c(r, e, i) {
        var n = r && r.json;

        if (r && r.json && r.json.origins && i) {
          var o = r.json.origins[i.origin];
          o && ("any" === e || e in o) && (n = o);
        }

        return n;
      }

      function f(r, e) {
        for (var n = e.type, t = 0; Array.isArray(n) && !i.isOneOf(n);) n = n[0], t++;

        if (e.json.origins) for (var a in e.json.origins) {
          var p = e.json.origins[a];
          o.create(n, t, r, p), s.create(n, t, r, p);
        }
        o.create(n, t, r, e.json), s.create(n, t, r, e.json);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.originSpecificReadPropertyDefinition = a, e.originSpecificWritePropertyDefinition = p, e.originSpecificPropertyDefinition = c, e.SerializablePropertyExtension = {
        processPrototypePropertyMetadata: function processPrototypePropertyMetadata(r, e) {
          t.process(e) && (n.process(e), f(r, e));
        }
      }, e["default"] = e.SerializablePropertyExtension;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/originAliases.js":
  /*!**********************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/originAliases.js ***!
    \**********************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsSerializablePropertyOriginAliasesJs(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, n) {
      function o(e) {
        if (e.json && e.json.origins) {
          var n = e.json.origins,
              o = {
            "web-document": ["web-scene", "web-map"]
          };

          for (var i in o) !function (e) {
            if (n[e]) {
              var i = n[e];
              o[e].forEach(function (e) {
                n[e] = i;
              }), delete n[e];
            }
          }(i);
        }
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/reader.js":
  /*!***************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/reader.js ***!
    \***************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsSerializablePropertyReaderJs(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__(
    /*! ../../../object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ./type */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/type.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, n, t) {
      function u(r, e, t, u) {
        u.read && (u.read.reader || !1 === u.read.enabled) || c(r) && n.setDeepValue("read.reader", i(r, e), u);
      }

      function i(r, e) {
        if (e > 1) return f(r, e);
        if (1 === e) return p(r);

        if (y(r)) {
          var n = r.prototype.itemType.Type,
              t = p(n);
          return function (e, n, u) {
            var i = t(e, n, u);
            return i ? new r(i) : i;
          };
        }

        return o(r);
      }

      function o(r) {
        return r.prototype.read ? function (e, n, t) {
          if (null == e) return e;
          var u = new r();
          return u.read(e, t), u;
        } : r.fromJSON;
      }

      function a(r, e, n, t) {
        return 0 !== t && Array.isArray(e) ? e.map(function (e) {
          return a(r, e, n, t - 1);
        }) : r(e, null, n);
      }

      function f(r, e) {
        var n = o(r),
            t = a.bind(null, n);
        return function (r, n, u) {
          if (null == r) return r;
          r = t(r, u, e);

          for (var i = e, o = r; i > 0 && Array.isArray(o);) i--, o = o[0];

          if (void 0 !== o) for (var a = 0; a < i; a++) r = [r];
          return r;
        };
      }

      function p(r) {
        var e = o(r);
        return function (r, n, t) {
          return null == r ? r : Array.isArray(r) ? r.map(function (r) {
            return e(r, null, t);
          }) : [e(r, null, t)];
        };
      }

      function y(r) {
        if (!t.isCollection(r)) return !1;
        var e = r.prototype.itemType;
        return !(!e || !e.Type || "function" != typeof e.Type) && c(e.Type);
      }

      function c(r) {
        return !Array.isArray(r) && !!r && r.prototype && ("read" in r.prototype || "fromJSON" in r || y(r));
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/shorthands.js":
  /*!*******************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/shorthands.js ***!
    \*******************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsSerializablePropertyShorthandsJs(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, n) {
      function r(e) {
        if (e.json || (e.json = {}), o(e.json), i(e.json), e.json.origins) for (var n in e.json.origins) o(e.json.origins[n]), i(e.json.origins[n]);
        return !0;
      }

      function o(e) {
        "boolean" == typeof e.read ? e.read = {
          enabled: e.read
        } : "function" == typeof e.read ? e.read = {
          enabled: !0,
          reader: e.read
        } : e.read && "object" == typeof e.read && void 0 === e.read.enabled && (e.read.enabled = !0);
      }

      function i(e) {
        "boolean" == typeof e.write ? e.write = {
          enabled: e.write
        } : "function" == typeof e.write ? e.write = {
          enabled: !0,
          writer: e.write
        } : e.write && "object" == typeof e.write && void 0 === e.write.enabled && (e.write.enabled = !0);
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/type.js":
  /*!*************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/type.js ***!
    \*************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsSerializablePropertyTypeJs(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, o) {
      function r(e) {
        return !!e && e.prototype && e.prototype.declaredClass && 0 === e.prototype.declaredClass.indexOf("esri.core.Collection");
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/writer.js":
  /*!***************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/writer.js ***!
    \***************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportExtensionsSerializablePropertyWriterJs(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__(
    /*! ../../../object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ./type */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty/type.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n) {
      function i(e, r, t, i) {
        !i.write || i.write.writer || !1 === i.write.enabled && !i.write.overridePolicy || (1 === r || n.isCollection(e) ? i.write.writer = a : i.write.writer = r > 1 ? l(r) : o);
      }

      function o(e, r, n, i) {
        t.setDeepValue(n, u(e, i), r);
      }

      function u(e, r) {
        return e && "function" == typeof e.write ? e.write({}, r) : e && "function" == typeof e.toJSON ? e.toJSON() : "number" == typeof e ? f(e) : e;
      }

      function f(e) {
        return e === -1 / 0 ? -Number.MAX_VALUE : e === 1 / 0 ? Number.MAX_VALUE : isNaN(e) ? null : e;
      }

      function a(e, r, n, i) {
        var o;
        null === e ? o = null : e && "function" == typeof e.map ? (o = e.map(function (e) {
          return u(e, i);
        }), "function" == typeof o.toArray && (o = o.toArray())) : o = [u(e, i)], t.setDeepValue(n, o, r);
      }

      function c(e, r, t) {
        return 0 !== t && Array.isArray(e) ? e.map(function (e) {
          return c(e, r, t - 1);
        }) : u(e, r);
      }

      function l(e) {
        return function (r, n, i, o) {
          var u;
          if (null === r) u = null;else {
            u = c(r, o, e);

            for (var f = e, a = u; f > 0 && Array.isArray(a);) f--, a = a[0];

            if (void 0 !== a) for (var l = 0; l < f; l++) u = [u];
          }
          t.setDeepValue(i, u, n);
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/get.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/get.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportGetJs(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__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n(e, r, n) {
        var i = "?" === e[e.length - 1] ? e.slice(0, -1) : e;

        if (null != n.getItemAt || Array.isArray(n)) {
          var u = parseInt(i, 10);
          if (!isNaN(u)) return Array.isArray(n) ? n[u] : n.getItemAt(u);
        }

        var a = t.getProperties(n);
        return r ? t.isPropertyDeclared(a, i) ? a.get(i) : n[i] : t.isPropertyDeclared(a, i) ? a.internalGet(i) : n[i];
      }

      function i(e, r, t, u) {
        if (null == e) return e;
        var a = r[u],
            o = n(a, t, e);
        return !o && u < r.length - 1 ? void 0 : u === r.length - 1 ? o : i(o, r, t, u + 1);
      }

      function u(e, r, u, a) {
        return void 0 === u && (u = !1), void 0 === a && (a = 0), "string" == typeof r && -1 === r.indexOf(".") ? n(r, u, e) : i(e, t.pathToArray(r), u, a);
      }

      function a(e, r) {
        return u(e, r, !0);
      }

      function o(e, r) {
        return void 0 !== u(r, e, !0);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.valueOf = u, r.get = a, r.exists = o, r["default"] = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/introspection.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/introspection.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportIntrospectionJs(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__(
    /*! ./ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./extensions */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions.js"), __webpack_require__(
    /*! ./metadata */
    "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ./decorators/cast */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, s, n, o) {
      function c(e) {
        var r = e.declaredClass,
            o = e.properties || {};

        for (var c in o) {
          var p = o[c],
              y = typeof p;
          null == p ? s.setPropertyMetadata(e, c, {
            value: p
          }) : Array.isArray(p) ? s.setPropertyMetadata(e, c, {
            type: [p[0]],
            value: null
          }) : "object" === y ? n.getProperties(p) || p instanceof Date ? s.setPropertyMetadata(e, c, {
            type: p.constructor,
            value: p
          }) : s.setPropertyMetadata(e, c, p) : "boolean" === y ? s.setPropertyMetadata(e, c, {
            type: Boolean,
            value: p
          }) : "string" === y ? s.setPropertyMetadata(e, c, {
            type: String,
            value: p
          }) : "number" === y ? s.setPropertyMetadata(e, c, {
            type: Number,
            value: p
          }) : "function" === y && s.setPropertyMetadata(e, c, {
            type: p,
            value: null
          });
        }

        var l = s.getPropertiesMetadata(e);

        for (var c in l) {
          var f = l[c],
              d = f.type,
              v = f.types;
          f.cast || (d ? f.cast = i(d) : v && (Array.isArray(v) ? f.cast = t.ensureArrayTyped(t.ensureOneOfType(v[0])) : f.cast = t.ensureOneOfType(v))), f.range && (f.cast = u(f.cast, f.range));
        }

        return a.processPrototypeMetadatas(l, r), l;
      }

      function i(e) {
        var r = 0,
            a = e;
        if (t.isLongFormType(e)) return t.ensureLongFormType(e);

        for (; Array.isArray(a) && 1 === a.length && "string" != typeof a[0] && "number" != typeof a[0];) a = a[0], r++;

        var s = a;
        return t.isOneOf(s) ? 0 === r ? t.ensureOneOf(s) : t.ensureNArrayTyped(t.ensureOneOf(s), r) : 1 === r ? t.ensureArray(s) : r > 1 ? t.ensureNArray(s, r) : t.ensureType(e);
      }

      function u(e, r) {
        return function (t) {
          var a = +e(t);
          return null != r.min && (a = Math.max(r.min, a)), null != r.max && (a = Math.min(r.max, a)), a;
        };
      }

      function p(e, r) {
        return null == r.get ? function () {
          return this.__accessor__ ? this.__accessor__.getterStatic(e, r) : r.value;
        } : function () {
          return this.__accessor__ ? this.__accessor__.getterComputed(e, r) : r.value;
        };
      }

      function y(e) {
        for (var r = e.prototype, t = r.declaredClass, n = e._meta.bases, c = {}, i = n.length - 1; i >= 0; i--) s.merge(c, s.getMetadata(n[i].prototype));

        var u = c.properties;
        a.processClassMetadatas(u, t), Object.defineProperty(e, "__accessorMetadata__", {
          value: {
            properties: u,
            autoDestroy: !!c.autoDestroy
          }
        });

        for (var y = {}, l = 0, f = Object.getOwnPropertyNames(u); l < f.length; l++) {
          var d = f[l];
          !function (e) {
            var r = u[e];
            y[e] = {
              enumerable: !0,
              configurable: !0,
              get: p(e, r),
              set: function set(t) {
                var a = this.__accessor__;
                if (!a) return void Object.defineProperty(this, e, {
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                  value: t
                });

                if (!Object.isFrozen(this)) {
                  if (a.initialized && r.readOnly) throw new TypeError("[accessor] cannot assign to read-only property '" + e + "' of " + this.declaredClass);
                  if (2 === a.lifecycle && r.constructOnly) throw new TypeError("[accessor] cannot assign to construct-only property '" + e + "' of " + this.declaredClass);
                  a.set(e, t);
                }
              }
            };
          }(d);
        }

        if (Object.defineProperties(e.prototype, y), c.parameters) for (var v = Object.getOwnPropertyNames(c.parameters), _ = 0, g = v; _ < g.length; _++) {
          var O = g[_],
              m = Object.getOwnPropertyDescriptor(r, O) || {
            value: r[O]
          },
              b = o.autocastMethod(r, O, m);
          b && Object.defineProperty(r, O, b);
        }
        return c;
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/metadata.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/metadata.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportMetadataJs(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__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      function a(e) {
        return null != e.__accessorMetadata__;
      }

      function n(e) {
        return a(e) && null != s(e).properties;
      }

      function u(e, t) {
        return n(e) && null != i(e)[t];
      }

      function o(e, t) {
        return a(e) && null != s(e).parameters && null != s(e).parameters[t];
      }

      function s(e) {
        return e.__accessorMetadata__ || Object.defineProperty(e, "__accessorMetadata__", {
          value: {},
          enumerable: !0,
          configurable: !0,
          writable: !0
        }), e.__accessorMetadata__;
      }

      function i(e) {
        var t = s(e),
            r = t.properties;
        return r || (r = t.properties = {}), r;
      }

      function c(e, t) {
        var r = i(e),
            a = r[t];
        return a || (a = r[t] = {}), a;
      }

      function p(e, t, r) {
        i(e)[t] = r;
      }

      function l(e, t) {
        var r = s(e),
            a = r.parameters;
        a || (a = r.parameters = {});
        var n = a[t];
        return n || (n = [], a[t] = n), n;
      }

      function d(e, t, r) {
        var a = l(e, t)[r];
        return a || (l(e, t)[r] = a = {
          index: r
        }), a;
      }

      function f(e, t) {
        return r.merge(e, t, m);
      }

      function _(e, t) {
        return r.merge(e, t, M);
      }

      function M(e) {
        return g.test(e) ? "replace" : "merge";
      }

      function m(e) {
        return P.test(e) ? M(e.slice(11)) : "merge";
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.hasMetadata = a, t.hasPropertiesMetadata = n, t.hasPropertyMetadata = u, t.hasParametersMetadata = o, t.getMetadata = s, t.getPropertiesMetadata = i, t.getPropertyMetadata = c, t.setPropertyMetadata = p, t.getParametersMetadata = l, t.getParameterMetadata = d, t.merge = f, t.mergeProperty = _;
      var g = /^[^.]+\.(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/,
          P = /^properties\./;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/read.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/read.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportReadJs(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__(
    /*! ../tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ./get */
    "./node_modules/arcgis-js-api/core/accessorSupport/get.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ./extensions/serializableProperty */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i, t, n, a) {
      function o(e, r, i) {
        if (!e || !e.read || !1 === e.read.enabled || !e.read.source) return !1;
        var n = e.read.source;

        if ("string" == typeof n) {
          if (n === r) return !0;
          if (n.indexOf(".") > -1 && 0 === n.indexOf(r) && t.exists(n, i)) return !0;
        } else for (var a = 0, o = n; a < o.length; a++) {
          var f = o[a];
          if (f === r) return !0;
          if (f.indexOf(".") > -1 && 0 === f.indexOf(r) && t.exists(f, i)) return !0;
        }

        return !1;
      }

      function f(e) {
        return e && (!e.read || !1 !== e.read.enabled && !e.read.source);
      }

      function s(e, r, i, t, n) {
        var s = a.originSpecificReadPropertyDefinition(r[i], n);
        f(s) && (e[i] = !0);

        for (var d = 0, u = Object.getOwnPropertyNames(r); d < u.length; d++) {
          var c = u[d];
          s = a.originSpecificReadPropertyDefinition(r[c], n), o(s, i, t) && (e[c] = !0);
        }
      }

      function d(e, r, i, t) {
        var n = i.metadatas,
            o = a.originSpecificPropertyDefinition(n[r], "any", t),
            f = o && o["default"];

        if (void 0 !== f) {
          var s = "function" == typeof f ? f.call(e, r, t) : f;
          void 0 !== s && i.set(r, s);
        }
      }

      function u(e, r, i) {
        if (void 0 === i && (i = g), r && "object" == typeof r) {
          for (var o = n.getProperties(e), f = o.metadatas, u = {}, c = 0, l = Object.getOwnPropertyNames(r); c < l.length; c++) {
            s(u, f, l[c], r, i);
          }

          o.setDefaultOrigin(i.origin);

          for (var p = 0, v = Object.getOwnPropertyNames(u); p < v.length; p++) {
            var y = v[p],
                O = a.originSpecificReadPropertyDefinition(f[y], i),
                P = O.read,
                b = P && P.source,
                m = void 0;
            m = b && "string" == typeof b ? t.valueOf(r, b) : r[y], P && P.reader && (m = P.reader.call(e, m, r, i)), void 0 !== m && o.set(y, m);
          }

          if (!i || !i.ignoreDefaults) for (var h = 0, x = Object.getOwnPropertyNames(f); h < x.length; h++) {
            var y = x[h];
            u[y] || d(e, y, o, i);
          }
          o.setDefaultOrigin("user");
        }
      }

      function c(e, r, t, n) {
        void 0 === n && (n = g);
        var a = i({}, n, {
          messages: []
        });
        t(a), a.messages.forEach(function (r) {
          "warning" !== r.type || e.loaded ? n && n.messages.push(r) : e.loadWarnings.push(r);
        });
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var g = {
        origin: "service"
      };
      r.read = u, r.readLoadable = c, r["default"] = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/set.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/set.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportSetJs(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__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./get */
    "./node_modules/arcgis-js-api/core/accessorSupport/get.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, s) {
      function n(e, t, o) {
        if (e && t) if ("object" == typeof t) for (var i = 0, f = Object.getOwnPropertyNames(t); i < f.length; i++) {
          var c = f[i];
          n(e, c, t[c]);
        } else {
          if ("_" === t[0]) return;

          if (-1 !== t.indexOf(".")) {
            var l = t.split("."),
                c = l.splice(l.length - 1, 1)[0];
            return void n(s["default"](e, l), c, o);
          }

          if (r("dojo-debug-messages")) {
            var u = e.__accessor__;
            null == u || u.metadatas[t] || a.warn("setting unknown property '" + t + "' on instance of " + u.host.declaredClass);
          }

          e[t] = o;
        }
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var a = o.getLogger("esri.core.accessorSupport.set");
      t.set = n, t["default"] = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/testSupport.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/testSupport.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportTestSupportJs(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) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.interceptor = null;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/utils.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/utils.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportUtilsJs(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__(
    /*! ../lang */
    "./node_modules/arcgis-js-api/core/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, n, e) {
      function t(r) {
        return r ? r.__accessor__ ? r.__accessor__ : r.propertyInvalidated ? r : null : null;
      }

      function i(r, n) {
        return r && r.metadatas && null != r.metadatas[n];
      }

      function a(r, n, e) {
        if (e) {
          return u(r, n, {
            policy: e,
            path: ""
          });
        }

        return u(r, n, null);
      }

      function u(r, n, t) {
        return n ? Object.keys(n).reduce(function (r, i) {
          var a = null,
              o = "merge";
          if (t && (a = t.path ? t.path + "." + i : i, o = t.policy(a)), "replace" === o) return r[i] = n[i], r;
          if (void 0 === r[i]) return r[i] = e.clone(n[i]), r;
          var f = r[i],
              l = n[i];
          if (f === l) return r;
          if (Array.isArray(l) || Array.isArray(r)) f = f ? Array.isArray(f) ? r[i] = f.concat() : r[i] = [f] : r[i] = [], l && (Array.isArray(l) || (l = [l]), l.forEach(function (r) {
            -1 === f.indexOf(r) && f.push(r);
          }));else if (l && "object" == typeof l) {
            if (t) {
              var c = t.path;
              t.path = a, r[i] = u(f, l, t), t.path = c;
            } else r[i] = u(f, l, null);
          } else r.hasOwnProperty(i) && !n.hasOwnProperty(i) || (r[i] = l);
          return r;
        }, r || {}) : r;
      }

      function o(r) {
        return r ? "string" == typeof r && -1 === r.indexOf(".") ? r : f(r) : r;
      }

      function f(r) {
        return Array.isArray(r) ? r : r.split(".");
      }

      function l(r) {
        if (Array.isArray(r) || r.indexOf(",") > -1) {
          for (var n = Array.isArray(r) ? r : r.split(","), e = 0; e < n.length; e++) n[e] = n[e].trim();

          return 1 === n.length ? n[0] : n;
        }

        return r.trim();
      }

      function c(r) {
        if (-1 === r.indexOf("?")) return null;

        for (var n = f(r), e = new Array(n.length), t = 0; t < n.length; t++) {
          var i = n[t];
          e[t] = "?" === i[i.length - 1], e[t] && (n[t] = i.slice(0, -1));
        }

        return {
          fullPath: n.join("."),
          conditional: e
        };
      }

      function s(r) {
        return {
          remove: y(function () {
            return r.forEach(function (r) {
              return r.remove();
            });
          })
        };
      }

      function p(r, n, e, t) {
        var i = l(n);

        if (Array.isArray(i)) {
          return s(i.map(function (n) {
            return t(r, n.trim(), e);
          }));
        }

        return t(r, i.trim(), e);
      }

      function y(r) {
        var n = !1;
        return function () {
          n || (n = !0, r());
        };
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.getProperties = t, n.isPropertyDeclared = i, n.merge = a, n.pathToStringOrArray = o, n.pathToArray = f, n.splitPath = l, n.parseConditionalPath = c, n.handlesGroup = s, n.parse = p, n.once = y;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/watch.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/watch.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportWatchJs(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__(
    /*! ../ArrayPool */
    "./node_modules/arcgis-js-api/core/ArrayPool.js"), __webpack_require__(
    /*! ../lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../ReentrantObjectPool */
    "./node_modules/arcgis-js-api/core/ReentrantObjectPool.js"), __webpack_require__(
    /*! ../scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ./get */
    "./node_modules/arcgis-js-api/core/accessorSupport/get.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ./wire */
    "./node_modules/arcgis-js-api/core/accessorSupport/wire.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, a, o, i, u, l) {
      function c(e) {
        b.has(e) ? q.splice(q.indexOf(e), 1) : b.add(e), q.push(e), O || (O = o.schedule(h));
      }

      function d(e) {
        if (!e.removed) {
          var r = e.callback,
              t = e.path,
              n = e.propertyPath,
              a = e.oldValue,
              o = e.target,
              u = i.valueOf(o, n, !0);
          s(a, u) && (e.oldValue = u, r.call(o, u, a, t, o));
        }
      }

      function s(e, r) {
        return !n.equals(e, r);
      }

      function f(e) {
        for (var r = P.copy(q), t = 0; t < r.length; t++) {
          var n = r[t];
          n.target === e && (d(n), b["delete"](n), q.splice(q.indexOf(n), 1));
        }
      }

      function v(e) {
        for (var r = 0; r < q.length; r++) {
          var t = q[r];
          t.target === e && (t.removed = !0);
        }

        if (V) for (var r = 0; r < V.length; r++) {
          var t = V[r];
          t.target === e && (t.removed = !0);
        }
      }

      function h() {
        for (var e = 10; O && e--;) {
          O = null;
          var r = q;
          q = P.acquire(), b.clear();

          for (var t = P.acquire(), n = 0, a = r; n < a.length; n++) {
            var o = a[n],
                i = o.uid;
            d(o), i === o.uid && o.removed && t.push(o);
          }

          for (var u = 0; u < q.length; u++) {
            var o = q[u];
            o.removed && (t.push(o), b["delete"](o), q.splice(u, 1), u -= 1);
          }

          for (var u = 0; u < t.length; u++) w.pool.release(t[u]);

          P.release(r), P.release(t), j.forEach(function (e) {
            return e();
          });
        }
      }

      function p(e) {
        return j.add(e), {
          remove: function remove() {
            j["delete"](e);
          }
        };
      }

      function g(e, r, t) {
        var n = u.parse(e, r, t, function (e, r, t) {
          var a,
              o,
              d = i.valueOf(e, r, !0),
              s = l.wire(e, r, function (e, r) {
            if (e.__accessor__.destroyed || a && a.uid !== o) return void n.remove();
            a || (a = w.pool.acquire(e, r, d, t), o = a.uid, d = null), c(a);
          });
          return {
            remove: u.once(function () {
              s.remove(), a && (a.uid !== o || a.removed || (a.removed = !0, c(a)), a = null), n = s = d = null;
            })
          };
        });
        return n;
      }

      function _(e, r, t) {
        var n = u.parse(e, r, t, function (e, r, t) {
          var a = i.valueOf(e, r, !0),
              o = !1;
          return l.wire(e, r, function (e, r) {
            if (e.__accessor__.destroyed) return void n.remove();

            if (!o) {
              o = !0;
              var u = i.valueOf(e, r, !0);
              s(a, u) && t.call(e, u, a, r, e), a = i.valueOf(e, r, !0), o = !1;
            }
          });
        });
        return n;
      }

      function m(e, r, t, n) {
        return void 0 === n && (n = !1), !e.__accessor__ || e.__accessor__.destroyed ? {
          remove: function remove() {}
        } : n ? _(e, r, t) : g(e, r, t);
      }

      function y(e) {
        return q.some(function (r) {
          return r.oldValue === e;
        });
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var O,
          w = function () {
        function e(r, t, n, a) {
          this.target = r, this.path = t, this.oldValue = n, this.callback = a, this.uid = 0, this.removed = !1, this.propertyPath = u.pathToStringOrArray(t), this.uid = ++e.uid;
        }

        return e.prototype.release = function () {
          this.target = this.path = this.propertyPath = this.callback = this.oldValue = null, this.uid = ++e.uid, this.removed = !0;
        }, e.pool = new a.ReentrantObjectPool(e, !0), e.uid = 0, e;
      }(),
          P = new t(),
          b = new Set(),
          q = P.acquire(),
          V = null;

      r.dispatchTarget = f, r.removeTarget = v, r.dispatch = h;
      var j = new Set();
      r.afterDispatch = p, r.watch = m, r.isValueInUse = y, r["default"] = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/wire.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/wire.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportWireJs(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__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, r) {
      function n(t, i) {
        return t.chain ? new h(t, i) : new a(t, i);
      }

      function e(t, i) {
        var n = r.splitPath(t);

        if (Array.isArray(n)) {
          for (var e = [], o = 0, a = n; o < a.length; o++) {
            var h = a[o];
            e.push(new s(h, i));
          }

          return function (t) {
            for (var i = [], r = 0; r < e.length; r++) i[r] = e[r].install(t);

            return new p(i);
          };
        }

        var c = new s(n, i);
        return function (t) {
          return new u(c.install(t));
        };
      }

      function o(t, i, n) {
        var e = r.splitPath(i);

        if (Array.isArray(e)) {
          for (var o = [], a = 0, h = e; a < h.length; a++) {
            var c = h[a];
            o.push(new s(c, n).install(t));
          }

          return new p(o);
        }

        var l = new s(e, n).install(t);
        return new u(l);
      }

      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var s = function () {
        function t(t, i) {
          if (this.path = t, this.callback = i, this.chain = null, this.conditional = null, t.indexOf(".") > -1) {
            var n = r.parseConditionalPath(t);
            n && (this.path = n.fullPath, this.conditional = n.conditional), this.chain = r.pathToArray(this.path);
          } else "?" === t[t.length - 1] && (this.path = t.slice(0, t.length - 1), this.conditional = [!0], this.chain = [this.path]);

          return this.callback = i, this;
        }

        return t.prototype.install = function (t) {
          return n(this, t);
        }, t.prototype.notify = function (t) {
          this.callback(t, this.path);
        }, t;
      }(),
          a = function () {
        function t(t, i) {
          this.binding = t, this.target = i, r.getProperties(i).addCursor(this.binding.path, this);
        }

        return t.prototype.destroy = function () {
          this.target && (r.getProperties(this.target).removeCursor(this.binding.path, this), this.target = this.binding = null);
        }, t.prototype.propertyDestroyed = function (t, i) {
          r.getProperties(this.target).removeCursor(i, this);
        }, t.prototype.propertyInvalidated = function () {
          this.binding && this.binding.notify(this.target);
        }, t.prototype.propertyCommitted = function () {
          this.binding && this.binding.notify(this.target);
        }, t;
      }(),
          h = function () {
        function t(t, i) {
          return this.binding = t, this.target = i, this.stack = [], this.properties = r.getProperties(i), this.stack.push({
            properties: this.properties,
            propertyName: t.chain[0]
          }), this.properties.addCursor(t.chain[0], this), this.moveForward(), this;
        }

        return t.prototype.destroy = function () {
          for (;;) {
            var t = this.stack.pop();
            if (null == t) break;
            t.properties.removeCursor(t.propertyName, this);
          }

          this.target = this.binding = null;
        }, t.prototype.propertyDestroyed = function (t, i) {
          this.moveBackward(t, i);
        }, t.prototype.propertyInvalidated = function () {
          this.binding && this.binding.notify(this.target);
        }, t.prototype.propertyCommitted = function (t, i) {
          this.binding && (this.moveBackward(t, i), this.moveForward(), this.binding.notify(this.target));
        }, t.prototype.moveBackward = function (t, i) {
          for (var r = this.stack, n = r[r.length - 1]; n.properties !== t && n.propertyName !== i;) n.properties.removeCursor(n.propertyName, this), r.pop(), n = r[r.length - 1];
        }, t.prototype.moveForward = function () {
          var t = this.stack,
              i = t[t.length - 1];

          if (1 !== t.length || !this.binding.conditional || !this.binding.conditional[t.length - 1] || i.properties.metadatas[i.propertyName]) {
            var n = i.properties.internalGet(i.propertyName),
                e = r.getProperties(n);

            if (e && t.length < this.binding.chain.length) {
              var o = this.binding.chain[t.length];
              if (this.binding.conditional && this.binding.conditional[t.length] && !e.metadatas[o]) return;
              this.stack.push({
                properties: e,
                propertyName: o
              }), e.addCursor(o, this), this.moveForward();
            }
          }
        }, t;
      }(),
          p = function () {
        function t(t) {
          this.cursors = t;
        }

        return t.prototype.remove = function () {
          for (var t = this.cursors; t.length > 0;) t.pop().destroy();

          this.cursors = null;
        }, t;
      }(),
          u = function () {
        function t(t) {
          this.cursor = t;
        }

        return t.prototype.remove = function () {
          this.cursor.destroy(), this.cursor = null;
        }, t;
      }();

      i.create = e, i.wire = o, i["default"] = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/accessorSupport/write.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/accessorSupport/write.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAccessorSupportWriteJs(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__(
    /*! ../arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./PropertyOrigin */
    "./node_modules/arcgis-js-api/core/accessorSupport/PropertyOrigin.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ./extensions/serializableProperty */
    "./node_modules/arcgis-js-api/core/accessorSupport/extensions/serializableProperty.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, i, t, n, o, a, u) {
      function l(r, e, i, t, n) {
        var o = {};
        return e.write.writer.call(r, t, o, i, n), o;
      }

      function f(r, e, i, n, a, u) {
        if (!n || !n.write) return !1;
        var l = r.get(i);

        if (!a && n.write.overridePolicy) {
          var f = n.write.overridePolicy.call(r, l, i, u);
          void 0 !== f && (a = f);
        }

        if (a || (a = n.write), !a || !1 === a.enabled) return !1;

        if ((null === l && !a.allowNull || void 0 === l) && a.isRequired) {
          var g = new t("web-document-write:property-required", "Missing value for required property '" + i + "' on '" + r.declaredClass + "'", {
            propertyName: i,
            target: r
          });
          return g && u && u.messages ? u.messages.push(g) : g && !u && d.error(g.name, g.message), !1;
        }

        if (void 0 === l) return !1;
        if (null === l && !a.allowNull) return !1;
        if (s(r, i, u, n, l)) return !1;
        if (void 0 !== n["default"]) return !0;

        if (!a.ignoreOrigin && u && u.origin) {
          if (e.store.originOf(i) < o.nameToId(u.origin)) return !1;
        }

        return !0;
      }

      function s(r, e, t, n, o) {
        var a = n["default"];
        if (void 0 === a) return !1;

        if ("function" == typeof a) {
          if (Array.isArray(o)) {
            var u = a.call(r, e, t);
            return i.equals(u, o);
          }

          return !1;
        }

        return a === o;
      }

      function g(r, e, i, t) {
        var n = a.getProperties(r),
            o = n.metadatas,
            l = u.originSpecificWritePropertyDefinition(o[e], t);
        return !!l && f(r, n, e, l, i, t);
      }

      function p(r, e, i) {
        if (r && "function" == typeof r.toJSON && (!r.toJSON.isDefaultToJSON || !r.write)) return a.merge(e, r.toJSON());
        var t = a.getProperties(r),
            n = t.metadatas;

        for (var s in n) {
          var g = u.originSpecificWritePropertyDefinition(n[s], i);

          if (f(r, t, s, g, null, i)) {
            var p = r.get(s),
                d = "string" == typeof g.write.target ? g.write.target : s,
                c = l(r, g, d, p, i);
            Object.keys(c).length > 0 && (e = a.merge(e, c), i && i.writtenProperties && i.writtenProperties.push({
              target: r,
              propName: s,
              oldOrigin: o.idToReadableName(t.store.originOf(s)),
              newOrigin: i.origin
            }));
          }
        }

        return e;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var d = n.getLogger("esri.core.accessorSupport.write");
      e.willPropertyWrite = g, e.write = p, e["default"] = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/arrayUtils.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/arrayUtils.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreArrayUtilsJs(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__(
    /*! @dojo/framework/shim/array */
    "./node_modules/@dojo/framework/shim/array.mjs"), __webpack_require__(
    /*! ./RandomLCG */
    "./node_modules/arcgis-js-api/core/RandomLCG.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, n, e, t) {
      function u(r) {
        return r.filter(function (r, n, e) {
          return e.indexOf(r) === n;
        });
      }

      function f(r, n, e) {
        if (!r && !n) return !0;
        if (!r || !n || r.length !== n.length) return !1;

        if (e) {
          for (var t = 0; t < r.length; t++) if (!e(r[t], n[t])) return !1;
        } else for (var t = 0; t < r.length; t++) if (r[t] !== n[t]) return !1;

        return !0;
      }

      function i(r, n, e) {
        var t, u;
        return e ? (t = n.filter(A.bind(null, r, e)), u = r.filter(A.bind(null, n, e))) : (t = n.filter(w.bind(null, r)), u = r.filter(w.bind(null, n))), {
          added: t,
          removed: u
        };
      }

      function o(r, n, t) {
        return r && n ? t ? r.filter(function (r) {
          return e.findIndex(n, function (n) {
            return t(r, n);
          }) > -1;
        }) : r.filter(function (r) {
          return n.indexOf(r) > -1;
        }) : [];
      }

      function a(r, n) {
        if (b) return new Array(r).fill(n);

        for (var e = new Array(r), t = 0; t < r; t++) e[t] = n;

        return e;
      }

      function l(r, n) {
        void 0 === n && (n = r, r = 0);

        for (var e = new Array(n - r), t = r; t < n; t++) e[t - r] = t;

        return e;
      }

      function c(r, n, e) {
        for (var t = r.length, u = 0, f = t - 1; u < f;) {
          var i = u + Math.floor((f - u) / 2);
          n > r[i] ? u = i + 1 : f = i;
        }

        var o = r[u];
        return e ? n >= r[t - 1] ? -1 : o === n ? u : u - 1 : o === n ? u : -1;
      }

      function d(r) {
        return r.reduce(function (r, n) {
          return r.concat(n || []);
        }, []);
      }

      function v(r, n, e, t) {
        t = t || k;

        for (var u = Math.max(0, t.last - 10), f = u; f < e; ++f) if (r[f] === n) return t.last = f, f;

        for (var i = Math.min(u, e), f = 0; f < i; ++f) if (r[f] === n) return t.last = f, f;

        return -1;
      }

      function s(r, n, e, t) {
        var u = null == e ? r.length : e,
            f = v(r, n, u, t);
        if (-1 !== f) return r[f] = r[u - 1], null == e && r.pop(), n;
      }

      function h(r, n, e, t, u, f) {
        if (void 0 === e && (e = r.length), void 0 === t && (t = n.length), 0 === t || 0 === e) return e;
        I.clear();

        for (var i = 0; i < t; ++i) I.add(n[i]);

        u = u || k;

        for (var o = Math.max(0, u.last - 10), i = o; i < e; ++i) if (I.has(r[i]) && (f && f.push(r[i]), I["delete"](r[i]), r[i] = r[e - 1], --e, --i, 0 === I.size || 0 === e)) return I.clear(), e;

        for (var i = 0; i < o; ++i) if (I.has(r[i]) && (f && f.push(r[i]), I["delete"](r[i]), r[i] = r[e - 1], --e, --i, 0 === I.size || 0 === e)) return I.clear(), e;

        return I.clear(), e;
      }

      function m(r, n, e) {
        var t = r.length;
        if (n >= t) return r.slice(0);
        q.seed = e;

        for (var u = e ? function () {
          return q.getFloat();
        } : Math.random, f = new Set(), i = []; i.length < n;) {
          var o = Math.floor(u() * t);
          f.has(o) || (f.add(o), i.push(r[o]));
        }

        return i;
      }

      function y(r, n) {
        q.seed = n;

        for (var e = n ? function () {
          return q.getFloat();
        } : Math.random, t = r.length - 1; t > 0; t--) {
          var u = Math.floor(e() * (t + 1)),
              f = r[t];
          r[t] = r[u], r[u] = f;
        }

        return r;
      }

      function g(r) {
        var n = new Array(r.size),
            e = 0;
        return r.forEach(function (r, t) {
          return n[e++] = t;
        }), n;
      }

      function p(r, n) {
        void 0 === n && (n = O);
        var e = new Array(r.size),
            t = 0;
        return r.forEach(function (r) {
          return e[t++] = n(r);
        }), e;
      }

      function x(r) {
        if (Array.from) return Array.from(r.values());
        var n = new Array(r.size),
            e = 0;
        return r.forEach(function (r) {
          return n[e++] = r;
        }), n;
      }

      function M(r, n) {
        var e = r.indexOf(n);
        return -1 !== e ? (r.splice(e, 1), n) : null;
      }

      function w(r, n) {
        return -1 === r.indexOf(n);
      }

      function A(r, n, e) {
        return !r.some(n.bind(null, e));
      }

      function O(r) {
        return r;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.find = e.find, n.findIndex = e.findIndex, n.includes = e.includes, n.unique = u, n.equals = f, n.difference = i, n.intersect = o;
      var b = !!Array.prototype.fill;
      n.constant = a, n.range = l, n.binaryIndexOf = c, n.flatten = d;

      var z = function () {
        function r() {
          this.last = 0;
        }

        return r;
      }();

      n.PositionHint = z;
      var k = new z();
      n.indexOf = v, n.removeUnordered = s;
      var I = new Set();
      n.removeUnorderedMany = h, n.pickRandom = m, n.shuffle = y;
      var q = new t();
      n.keysOfMap = g, n.keysOfSet = p, n.fromMapValues = x, n.remove = M;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/asyncUtils.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/asyncUtils.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreAsyncUtilsJs(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__(
    /*! ./tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ./tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, n, u) {
      function o(r, e, t) {
        return u.eachAlways(r.map(function (r, n) {
          return e.apply(t, [r, n]);
        }));
      }

      function a(r, e, t) {
        return u.eachAlways(r.map(function (r, n) {
          return e.apply(t, [r, n]);
        })).then(function (r) {
          return r.map(function (r) {
            return r.value;
          });
        });
      }

      function i(r) {
        return r.then(function (r) {
          return {
            ok: !0,
            value: r
          };
        })["catch"](function (r) {
          return {
            ok: !1,
            error: r
          };
        });
      }

      function c(r) {
        if (!0 === r.ok) return r.value;
        throw r.error;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.forEach = o, e.map = a, e.result = i, e.assertResult = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/clock.js":
  /*!**************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/clock.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreClockJs(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__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      function u(e) {
        return {
          setTimeout: function setTimeout(t, r) {
            var u = e.setTimeout(t, r);
            return {
              remove: function remove() {
                return e.clearTimeout(u);
              }
            };
          }
        };
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.wrap = u, t["default"] = u(r);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/collectionUtils.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/collectionUtils.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreCollectionUtilsJs(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__(
    /*! ./Collection */
    "./node_modules/arcgis-js-api/core/Collection.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function t(e, r, t) {
        return void 0 === t && (t = n), r || (r = new t()), r === e ? r : (r.removeAll(), o(e) ? r.addMany(e) : e && r.add(e), r);
      }

      function i(e) {
        return e;
      }

      function o(e) {
        return e && (Array.isArray(e) || "items" in e && Array.isArray(e.items));
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/colorUtils.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/colorUtils.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreColorUtilsJs(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 (n, r) {
      function t(n) {
        return "r" in n && "g" in n && "b" in n;
      }

      function a(n) {
        return "h" in n && "s" in n && "v" in n;
      }

      function u(n) {
        return "l" in n && "a" in n && "b" in n;
      }

      function o(n) {
        return "l" in n && "c" in n && "h" in n;
      }

      function e(n) {
        return "x" in n && "y" in n && "z" in n;
      }

      function i(n, r) {
        var t,
            a,
            u = [];
        if (n[0].length !== r.length) throw "dimensions do not match";
        var o = n.length,
            e = n[0].length,
            i = 0;

        for (t = 0; t < o; t++) {
          for (i = 0, a = 0; a < e; a++) i += n[t][a] * r[a];

          u.push(i);
        }

        return u;
      }

      function c(n) {
        var r = [n.r / 255, n.g / 255, n.b / 255].map(function (n) {
          return n <= .04045 ? n / 12.92 : Math.pow((n + .055) / 1.055, 2.4);
        }),
            t = i(q, r);
        return {
          x: 100 * t[0],
          y: 100 * t[1],
          z: 100 * t[2]
        };
      }

      function h(n) {
        var r = i(B, [n.x / 100, n.y / 100, n.z / 100]),
            t = r.map(function (n) {
          var r = n <= .0031308 ? 12.92 * n : 1.055 * Math.pow(n, 1 / 2.4) - .055;
          return Math.min(1, Math.max(r, 0));
        });
        return {
          r: Math.round(255 * t[0]),
          g: Math.round(255 * t[1]),
          b: Math.round(255 * t[2])
        };
      }

      function f(n) {
        var r = [n.x / 95.047, n.y / 100, n.z / 108.883].map(function (n) {
          return n > Math.pow(6 / 29, 3) ? Math.pow(n, 1 / 3) : 1 / 3 * Math.pow(29 / 6, 2) * n + 4 / 29;
        });
        return {
          l: 116 * r[1] - 16,
          a: 500 * (r[0] - r[1]),
          b: 200 * (r[1] - r[2])
        };
      }

      function b(n) {
        var r = n.l,
            t = n.a,
            a = n.b,
            u = [(r + 16) / 116 + t / 500, (r + 16) / 116, (r + 16) / 116 - a / 200].map(function (n) {
          return n > 6 / 29 ? Math.pow(n, 3) : 3 * Math.pow(6 / 29, 2) * (n - 4 / 29);
        });
        return {
          x: 95.047 * u[0],
          y: 100 * u[1],
          z: 108.883 * u[2]
        };
      }

      function M(n) {
        var r = n.l,
            t = n.a,
            a = n.b,
            u = Math.sqrt(t * t + a * a),
            o = Math.atan2(a, t);
        return o = o > 0 ? o : o + 2 * Math.PI, {
          l: r,
          c: u,
          h: o
        };
      }

      function s(n) {
        var r = n.l,
            t = n.c,
            a = n.h;
        return {
          l: r,
          a: t * Math.cos(a),
          b: t * Math.sin(a)
        };
      }

      function g(n) {
        return f(c(n));
      }

      function v(n) {
        return h(b(n));
      }

      function l(n) {
        return M(f(c(n)));
      }

      function p(n) {
        return h(b(s(n)));
      }

      function d(n) {
        var r,
            t,
            a,
            u = n.r,
            o = n.g,
            e = n.b,
            i = Math.max(u, o, e),
            c = Math.min(u, o, e),
            h = i - c;
        return a = i, 0 === h ? r = 0 : i === u ? r = (o - e) / h % 6 : i === o ? r = (e - u) / h + 2 : i === e && (r = (u - o) / h + 4), t = 0 === h ? 0 : h / a, r < 0 && (r += 6), r *= 60, t *= 100, a *= 100 / 255, {
          h: r,
          s: t,
          v: a
        };
      }

      function m(n) {
        var r,
            t = (n.h + 360) % 360 / 60,
            a = n.s / 100,
            u = n.v / 100 * 255,
            o = u * a,
            e = o * (1 - Math.abs(t % 2 - 1));

        switch (Math.floor(t)) {
          case 0:
            r = {
              r: o,
              g: e,
              b: 0
            };
            break;

          case 1:
            r = {
              r: e,
              g: o,
              b: 0
            };
            break;

          case 2:
            r = {
              r: 0,
              g: o,
              b: e
            };
            break;

          case 3:
            r = {
              r: 0,
              g: e,
              b: o
            };
            break;

          case 4:
            r = {
              r: e,
              g: 0,
              b: o
            };
            break;

          case 5:
          case 6:
            r = {
              r: o,
              g: 0,
              b: e
            };
            break;

          default:
            r = {
              r: 0,
              g: 0,
              b: 0
            };
        }

        return r.r = Math.round(r.r + u - o), r.g = Math.round(r.g + u - o), r.b = Math.round(r.b + u - o), r;
      }

      function w(n) {
        return t(n) ? n : o(n) ? p(n) : u(n) ? v(n) : e(n) ? h(n) : a(n) ? m(n) : void 0;
      }

      function x(n) {
        return a(n) ? n : d(w(n));
      }

      function k(n) {
        return u(n) ? n : g(w(n));
      }

      function y(n) {
        return o(n) ? n : l(w(n));
      }

      function z(n) {
        return e(n) ? n : c(w(n));
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var q = [[.4124, .3576, .1805], [.2126, .7152, .0722], [.0193, .1192, .9505]],
          B = [[3.2406, -1.5372, -.4986], [-.9689, 1.8758, .0415], [.0557, -.204, 1.057]];
      r.toRGB = w, r.toHSV = x, r.toLAB = k, r.toLCH = y, r.toXYZ = z;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/compilerUtils.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/compilerUtils.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreCompilerUtilsJs(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__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r) {
      function t(e) {
        r("dojo-debug-messages") && console.error("Should never be reached (uncaught value " + e + ")", new Error().stack);
      }

      function u(e) {}

      function o(e) {
        return function () {
          return e;
        };
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.neverReached = t, n.neverReachedSilent = u, n.typeCast = o, n.tuple = function () {
        for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n];

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

  /***/
  "./node_modules/arcgis-js-api/core/date.js":
  /*!*************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/date.js ***!
    \*************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreDateJs(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__(
    /*! ./jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, a) {
      function o(t) {
        return e.formats[t];
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.formats = {
        "short-date": "(datePattern: 'M/d/y', selector: 'date')",
        "short-date-short-time": "(datePattern: 'M/d/y', timePattern: 'h:mm a', selector: 'date and time')",
        "short-date-short-time-24": "(datePattern: 'M/d/y', timePattern: 'H:mm', selector: 'date and time')",
        "short-date-long-time": "(datePattern: 'M/d/y', timePattern: 'h:mm:ss a', selector: 'date and time')",
        "short-date-long-time-24": "(datePattern: 'M/d/y', timePattern: 'H:mm:ss', selector: 'date and time')",
        "short-date-le": "(datePattern: 'd/M/y', selector: 'date')",
        "short-date-le-short-time": "(datePattern: 'd/M/y', timePattern: 'h:mm a', selector: 'date and time')",
        "short-date-le-short-time-24": "(datePattern: 'd/M/y', timePattern: 'H:mm', selector: 'date and time')",
        "short-date-le-long-time": "(datePattern: 'd/M/y', timePattern: 'h:mm:ss a', selector: 'date and time')",
        "short-date-le-long-time-24": "(datePattern: 'd/M/y', timePattern: 'H:mm:ss', selector: 'date and time')",
        "long-month-day-year": "(datePattern: 'MMMM d, y', selector: 'date')",
        "long-month-day-year-short-time": "(datePattern: 'MMMM d, y', timePattern: 'h:mm a', selector: 'date and time')",
        "long-month-day-year-short-time-24": "(datePattern: 'MMMM d, y', timePattern: 'H:mm', selector: 'date and time')",
        "long-month-day-year-long-time": "(datePattern: 'MMMM d, y', timePattern: 'h:mm:ss a', selector: 'date and time')",
        "long-month-day-year-long-time-24": "(datePattern: 'MMMM d, y', timePattern: 'H:mm:ss', selector: 'date and time')",
        "day-short-month-year": "(datePattern: 'd MMM y', selector: 'date')",
        "day-short-month-year-short-time": "(datePattern: 'd MMM y', timePattern: 'h:mm a', selector: 'date and time')",
        "day-short-month-year-short-time-24": "(datePattern: 'd MMM y', timePattern: 'H:mm', selector: 'date and time')",
        "day-short-month-year-long-time": "(datePattern: 'd MMM y', timePattern: 'h:mm:ss a', selector: 'date and time')",
        "day-short-month-year-long-time-24": "(datePattern: 'd MMM y', timePattern: 'H:mm:ss', selector: 'date and time')",
        "long-date": "(datePattern: 'EEEE, MMMM d, y', selector: 'date')",
        "long-date-short-time": "(datePattern: 'EEEE, MMMM d, y', timePattern: 'h:mm a', selector: 'date and time')",
        "long-date-short-time-24": "(datePattern: 'EEEE, MMMM d, y', timePattern: 'H:mm', selector: 'date and time')",
        "long-date-long-time": "(datePattern: 'EEEE, MMMM d, y', timePattern: 'h:mm:ss a', selector: 'date and time')",
        "long-date-long-time-24": "(datePattern: 'EEEE, MMMM d, y', timePattern: 'H:mm:ss', selector: 'date and time')",
        "long-month-year": "(datePattern: 'MMMM y', selector: 'date')",
        "short-month-year": "(datePattern: 'MMM y', selector: 'date')",
        year: "(datePattern: 'y', selector: 'date')"
      }, e.dictionary = a.strict()({
        shortDate: "short-date",
        shortDateShortTime: "short-date-short-time",
        shortDateShortTime24: "short-date-short-time-24",
        shortDateLongTime: "short-date-long-time",
        shortDateLongTime24: "short-date-long-time-24",
        shortDateLE: "short-date-le",
        shortDateLEShortTime: "short-date-le-short-time",
        shortDateLEShortTime24: "short-date-le-short-time-24",
        shortDateLELongTime: "short-date-le-long-time",
        shortDateLELongTime24: "short-date-le-long-time-24",
        longMonthDayYear: "long-month-day-year",
        longMonthDayYearShortTime: "long-month-day-year-short-time",
        longMonthDayYearShortTime24: "long-month-day-year-short-time-24",
        longMonthDayYearLongTime: "long-month-day-year-long-time",
        longMonthDayYearLongTime24: "long-month-day-year-long-time-24",
        dayShortMonthYear: "day-short-month-year",
        dayShortMonthYearShortTime: "day-short-month-year-short-time",
        dayShortMonthYearShortTime24: "day-short-month-year-short-time-24",
        dayShortMonthYearLongTime: "day-short-month-year-long-time",
        dayShortMonthYearLongTime24: "day-short-month-year-long-time-24",
        longDate: "long-date",
        longDateShortTime: "long-date-short-time",
        longDateShortTime24: "long-date-short-time-24",
        longDateLongTime: "long-date-long-time",
        longDateLongTime24: "long-date-long-time-24",
        longMonthYear: "long-month-year",
        shortMonthYear: "short-month-year",
        year: "year"
      }), e.toJSON = e.dictionary.toJSON.bind(e.dictionary), e.fromJSON = e.dictionary.fromJSON.bind(e.dictionary), e.getFormat = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/declare.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/declare.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreDeclareJs(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__(
    /*! dojo/_base/declare */
    "./node_modules/dojo/_base/declare.js"), __webpack_require__(
    /*! ./deprecate */
    "./node_modules/arcgis-js-api/core/deprecate.js"), __webpack_require__(
    /*! ./Logger */
    "./node_modules/arcgis-js-api/core/Logger.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t, o) {
      function s(e, r) {
        return e && !Array.isArray(e) && "function" != typeof e && (r = e, e = null), e = e || [], r = r || {}, i([this].concat(e), r);
      }

      function i(e, r) {
        e && !Array.isArray(e) && "function" != typeof e && (r = e, e = null), "function" == typeof e ? e = [e] : e || (e = []), e.length > 1 && t.deprecated(c, "Extending multiple classes with Accessor", {
          version: "4.13",
          see: "https://arcg.is/T8fr4"
        }), r = r || {};
        var o, i;

        for (o = 0, i = a.length; o < i; o++) a[o](e, r);

        var u = n(e, r);
        u.createSubclass = s;
        var p = u.prototype.isInstanceOf;

        for (u.prototype.isInstanceOf = function () {
          return t.deprecatedFunction(c, "isInstanceOf", {
            moduleName: "Accessor",
            replacement: "Use `instanceof` or check for property presence `'property' in instance`",
            version: "4.13"
          }), p.apply(this, arguments);
        }, o = 0, i = f.length; o < i; o++) f[o](u);

        return u;
      }

      var c = o.getLogger("esri.core.Accessor"),
          a = [],
          f = [];
      return function (e) {
        function r(e, r) {
          var n;
          if (!(n = Array.isArray(e) ? e.reduce(function (e, r) {
            return r._meta ? e.concat(r._meta.bases) : e;
          }, []) : e._meta ? e._meta.bases : e)) return !1;
          if ("string" == typeof r) for (var t = n.length - 1; t >= 0; t--) if (n[t].prototype.declaredClass === r) return !0;
          return -1 !== n.indexOf(r);
        }

        function t(e, r) {
          return n.safeMixin(e, r);
        }

        function o(e) {
          a.push(e);
        }

        function s(e) {
          f.push(e);
        }

        e.hasMixin = r, e.safeMixin = t, e.before = o, e.after = s;
      }(i || (i = {})), i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/deprecate.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/deprecate.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreDeprecateJs(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__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, i) {
      function r(e, n, i) {
        void 0 === i && (i = !1), i && d.has(n) || (i && d.add(n), e.warn("🛑 DEPRECATED - " + n));
      }

      function o(e, n, r) {
        void 0 === r && (r = {}), i("esri-deprecation-warnings") && a(e, "Module: " + n, r);
      }

      function t(e, n, r) {
        if (void 0 === r && (r = {}), i("esri-deprecation-warnings")) {
          var o = r.moduleName;
          a(e, "Function: " + ((o ? o + "::" : "") + n + "()"), r);
        }
      }

      function a(e, n, o) {
        if (void 0 === o && (o = {}), i("esri-deprecation-warnings")) {
          var t = o.replacement,
              a = o.version,
              d = o.see,
              c = o.warnOnce,
              s = n;
          t && (s += "\n\t🛠️ Replacement: " + t), a && (s += "\n\t⚙️ Version: " + a), d && (s += "\n\t🔗 See " + d + " for more details."), r(e, s, c);
        }
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var d = new Set();
      n.deprecatedModule = o, n.deprecatedFunction = t, n.deprecated = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/devEnvironmentUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/devEnvironmentUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreDevEnvironmentUtilsJs(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__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (c, t, a) {
      function e(c) {
        return c = c || a.location.hostname, g.some(function (t) {
          return null != c.match(t);
        });
      }

      function r(c, t) {
        return c ? (t = t || a.location.hostname, null != t.match(n) ? c.replace("static.arcgis.com", "staticdev.arcgis.com") : null != t.match(l) ? c.replace("static.arcgis.com", "staticdev.arcgis.com") : null != t.match(s) ? c.replace("static.arcgis.com", "staticqa.arcgis.com") : null != t.match(u) ? c.replace("static.arcgis.com", "staticqa.arcgis.com") : c) : c;
      }

      function i(c) {
        return c = c || a.location.hostname, [/^zrh-.+?\.esri\.com$/].concat(g).some(function (t) {
          return null != c.match(t);
        });
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.isDevEnvironment = e, t.adjustStaticAGOUrl = r, t.isTelemetryDevEnvironment = i;
      var o = /^([\w-]*\.)?[\w-]*\.zrh-dev-local.esri.com$/,
          n = /^devext.arcgis.com$/,
          s = /^qaext.arcgis.com$/,
          m = /^jsapps.esri.com$/,
          l = /^[\w-]*\.mapsdevext.arcgis.com$/,
          u = /^[\w-]*\.mapsqa.arcgis.com$/,
          g = [o, n, s, m, l, u];
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/domUtils.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/domUtils.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreDomUtilsJs(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__(
    /*! ../widgets/support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n) {
      function o(e) {
        (e = r(e)) && (e.style.display = "block");
      }

      function r(e) {
        return n.isWidgetBase(e) ? e.domNode : e;
      }

      function i(e) {
        (e = r(e)) && (e.style.display = "none");
      }

      function l(e) {
        (e = r(e)) && (e.style.display = "none" === e.style.display ? "block" : "none");
      }

      function d(e) {
        return "string" == typeof e ? document.getElementById(e) : e;
      }

      function s(e) {
        for (; e.hasChildNodes();) e.removeChild(e.firstChild);
      }

      function u(e, t) {
        var n = t.parentNode;
        n && (n.lastChild === t ? n.appendChild(e) : n.insertBefore(e, t.nextSibling));
      }

      function f(e, t) {
        var n = t.parentNode;
        n && n.insertBefore(e, t);
      }

      function p(e, t) {
        for (; e.hasChildNodes();) t.appendChild(e.firstChild);
      }

      function c(e) {
        e.parentNode && e.parentNode.removeChild(e);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.show = o, t.getNode = r, t.hide = i, t.toggle = l, t.byId = d, t.empty = s, t.insertAfter = u, t.insertBefore = f, t.reparent = p, t.remove = c, t.closest = function () {
        if (Element.prototype.closest) return function (e, t) {
          return e.closest(t);
        };
        var e = Element.prototype.matches || Element.prototype.msMatchesSelector;
        return function (t, n) {
          var o = t;

          do {
            if (e.call(o, n)) return o;
            o = o.parentElement;
          } while (null !== o && 1 === o.nodeType);

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

  /***/
  "./node_modules/arcgis-js-api/core/events.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/events.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreEventsJs(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, n) {
      function r(e) {
        return e && ("function" == typeof e.on || "function" == typeof e.addEventListener);
      }

      function t(e, n, t) {
        if (!r(e)) throw new TypeError("target is not a Evented or EventTarget object");
        if ("on" in e) return e.on(n, t);

        if (Array.isArray(n)) {
          for (var o = n.slice(), i = 0, a = o; i < a.length; i++) {
            var c = a[i];
            e.addEventListener(c, t);
          }

          return {
            remove: function remove() {
              for (var n = 0, r = o; n < r.length; n++) {
                var i = r[n];
                e.removeEventListener(i, t);
              }
            }
          };
        }

        return e.addEventListener(n, t), {
          remove: function remove() {
            e.removeEventListener(n, t);
          }
        };
      }

      function o(e, n, o) {
        if (!r(e)) throw new TypeError("target is not a Evented or EventTarget object");
        if ("once" in e) return e.once(n, o);
        var i = t(e, n, function (n) {
          i.remove(), o.call(e, n);
        });
        return {
          remove: function remove() {
            i.remove();
          }
        };
      }

      function i(e, n, r) {
        var o = !1,
            i = t(e, n, function (n) {
          o || r.call(e, n);
        });
        return {
          resume: function resume() {
            o = !1;
          },
          pause: function pause() {
            o = !0;
          },
          remove: function remove() {
            i.remove();
          }
        };
      }

      function a(e) {
        var r = e.key;
        return n.ieKeyNormalizationMap[r] || r;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.isEventTarget = r, n.on = t, n.once = o, n.pausable = i, n.ieKeyNormalizationMap = {
        Win: "Meta",
        Scroll: "ScrollLock",
        Spacebar: " ",
        Down: "ArrowDown",
        Left: "ArrowLeft",
        Right: "ArrowRight",
        Up: "ArrowUp",
        Del: "Delete",
        Apps: "ContextMenu",
        Esc: "Escape",
        Multiply: "*",
        Add: "+",
        Subtract: "-",
        Decimal: ".",
        Divide: "/"
      }, n.eventKey = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/geolocationUtils.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/geolocationUtils.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreGeolocationUtilsJs(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__(
    /*! ./tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ./Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ../tasks/GeometryService */
    "./node_modules/arcgis-js-api/tasks/GeometryService.js"), __webpack_require__(
    /*! ../tasks/support/ProjectParameters */
    "./node_modules/arcgis-js-api/tasks/support/ProjectParameters.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, u, c, a, s, l, g, d) {
      function p() {
        var e = i("esri-geolocation");
        return e || U.warn("geolocation-unsupported", "Geolocation unsupported."), e;
      }

      function f() {
        var e = i("esri-secure-context");
        return e || U.warn("insecure-context", "Geolocation requires a secure origin."), e;
      }

      function m() {
        return p() && f();
      }

      function v(e) {
        return e || (e = b), c.create(function (t, r) {
          setTimeout(function () {
            return r(new n("geolocation:timeout", "getting the current geolocation position timed out"));
          }, 15e3), navigator.geolocation.getCurrentPosition(t, r, e);
        });
      }

      function y(e, t) {
        var r = e.position,
            o = e.view;
        return P(w(h(r)), o, t);
      }

      function h(e) {
        var t = e && e.coords || {},
            r = {
          accuracy: t.accuracy,
          altitude: t.altitude,
          altitudeAccuracy: t.altitudeAccuracy,
          heading: t.heading,
          latitude: t.latitude,
          longitude: t.longitude,
          speed: t.speed
        };
        return e ? {
          coords: r,
          timestamp: e.timestamp
        } : e;
      }

      function w(e) {
        var t = e && e.coords;
        return t ? new a({
          longitude: t.longitude,
          latitude: t.latitude,
          z: t.altitude || null,
          spatialReference: {
            wkid: 4326
          }
        }) : null;
      }

      function P(e, t, r) {
        if (!t) return c.resolve(e);
        var o = t.spatialReference;
        return o.isWGS84 ? c.resolve(e) : o.isWebMercator ? c.resolve(s.geographicToWebMercator(e)) : S(r).then(function (t) {
          if (!t) throw new n("geometry-service:missing-url", "Geometry service URL is missing");
          var i = new g({
            url: t
          }),
              u = new d({
            geometries: [e],
            outSR: o
          });
          return i.project(u, r).then(function (e) {
            return e[0];
          });
        });
      }

      function S(e) {
        if (o.geometryServiceUrl) return c.resolve(o.geometryServiceUrl);
        var t = l.getDefault();
        return t.load(e)["catch"](function () {}).then(function () {
          return t.get("helperServices.geometry.url");
        });
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var U = u.getLogger("esri.core.geolocationUtils"),
          b = {
        maximumAge: 0,
        timeout: 15e3,
        enableHighAccuracy: !0
      };
      t.supported = m, t.getCurrentPosition = v, t.positionToPoint = y;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/has.js":
  /*!************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/has.js ***!
    \************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreHasJs(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__(
    /*! dojo/sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js"), __webpack_require__(
    /*! ../views/webgl/context-util */
    "./node_modules/arcgis-js-api/views/webgl/context-util.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, n, i) {
      if ("object" == typeof a.has) {
        for (var o = 0, s = Object.keys(a.has); o < s.length; o++) {
          var d = s[o];
          t.add(d, a.has[d], !1, !0);
        }

        delete a.has;
      }

      !function () {
        if (!t("host-node")) {
          var e = navigator.userAgent,
              r = e.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i),
              a = e.match(/iPhone/i);
          r && t.add("esri-mobile", r), a && t.add("esri-iPhone", a), t.add("esri-geolocation", function () {
            return !!navigator.geolocation;
          }), t.add("esri-canvas-svg-support", function () {
            return !(t("trident") || t("ie"));
          }), t.add("esri-secure-context", function () {
            return "isSecureContext" in n ? n.isSecureContext : n.location && n.location.origin ? 0 === n.location.origin.indexOf("https:") : void 0;
          }), t.add("esri-wasm", "WebAssembly" in n), t.add("esri-shared-array-buffer", function () {
            var e = ("SharedArrayBuffer" in n),
                r = !1 === n.crossOriginIsolated;
            return e && !r;
          }), t.add("esri-atomics", "Atomics" in n), t.add("esri-workers", "Worker" in n), t.add("esri-text-decoder", "TextDecoder" in n), t.add("esri-deprecation-warnings", !0), t.add("esri-native-promise", !t("disable-feature:esri-native-promise")), t("host-webworker") || (t.add("esri-abortable-fetch", "fetch" in n && "signal" in new Request("https://www.arcgis.com")), t.add("esri-image-decode", function () {
            if ("decode" in new Image()) {
              var e = new Image();
              return e.src = 'data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>', void e.decode().then(function () {
                t.add("esri-image-decode", !0, !0, !0);
              })["catch"](function () {
                t.add("esri-image-decode", !1, !0, !0);
              });
            }

            return !1;
          }), t.add("esri-url-encodes-apostrophe", function () {
            var e = n.document.createElement("a");
            return e.href = "?'", e.href.indexOf("?%27") > -1;
          }), t.add("esri-webgl", function () {
            return l().available;
          }), t.add("esri-webgl-high-precision-fragment", function () {
            return l().supportsHighPrecisionFragment;
          }), t.add("esri-webgl-vertex-shader-samplers", function () {
            return l().supportsVertexShaderSamplers;
          }), t.add("esri-webgl-element-index-uint", function () {
            return l().supportsElementIndexUint;
          }), t.add("esri-webgl-standard-derivatives", function () {
            return l().supportsStandardDerivatives;
          }), t.add("esri-webgl-texture-float", function () {
            return l().supportsTextureFloat;
          }), t.add("esri-webgl-color-buffer-float", function () {
            return l().supportsColorBufferFloat;
          }), t.add("esri-webgl-instanced-arrays", function () {
            return l().supportsInstancedArrays;
          }), t.add("esri-webgl-major-performance-caveat", function () {
            return l().majorPerformanceCaveat;
          }), t.add("esri-featurelayer-webgl", !0), t.add("esri-featurelayer-webgl-labeling", !0), t.add("esri-webgl2", function () {
            return function () {
              if (c) return c;
              if (c = {
                available: !1,
                version: 0
              }, void 0 === typeof WebGL2RenderingContext) return c;
              var e = document.createElement("canvas");
              if (!e) return c;
              var r = i.createContext(e, {}, "webgl2");
              if (!r) return c;
              c.available = !0;
              var t = r.getParameter(r.VERSION);
              if (!t) return c;
              var a = t.match(/^WebGL\s+([\d.]*)/);
              a && (c.version = parseFloat(a[1]));
              return c;
            }().available;
          }), t.add("esri-webgl-max-texture-size", function () {
            return l().maxTextureSize;
          }));
        }
      }();
      var u = null;

      function l() {
        if (u) return u;
        if (u = {
          available: !1,
          majorPerformanceCaveat: !1,
          maxTextureSize: 0,
          supportsHighPrecisionFragment: !1,
          supportsVertexShaderSamplers: !1,
          supportsElementIndexUint: !1,
          supportsStandardDerivatives: !1,
          supportsInstancedArrays: !1,
          supportsTextureFloat: !1,
          supportsColorBufferFloat: !1,
          version: 0
        }, void 0 === typeof WebGLRenderingContext) return u;
        var e = document.createElement("canvas");
        if (!e) return u;
        var r = i.createContext(e, {
          failIfMajorPerformanceCaveat: !0
        }, "webgl");
        if (r || (r = i.createContext(e, {}, "webgl")) && (u.majorPerformanceCaveat = !0), !r) return u;
        var t = r.getParameter(r.VERSION);
        if (!t) return u;
        var a = t.match(/^WebGL\s+([\d.]*)/);

        if (a) {
          u.version = parseFloat(a[1]), u.available = u.version >= .94;
          var n = r.getShaderPrecisionFormat(r.FRAGMENT_SHADER, r.HIGH_FLOAT);
          n && (u.supportsHighPrecisionFragment = n.precision > 0), u.supportsVertexShaderSamplers = r.getParameter(r.MAX_VERTEX_TEXTURE_IMAGE_UNITS) > 0, u.supportsElementIndexUint = null !== r.getExtension("OES_element_index_uint"), u.supportsStandardDerivatives = null !== r.getExtension("OES_standard_derivatives"), u.supportsInstancedArrays = null !== r.getExtension("ANGLE_instanced_arrays"), u.supportsTextureFloat = null !== r.getExtension("OES_texture_float"), u.supportsColorBufferFloat = null !== r.getExtension("WEBGL_color_buffer_float");
        }

        return u.maxTextureSize = r.getParameter(r.MAX_TEXTURE_SIZE), u;
      }

      var c = null;
      return t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/iteratorUtils.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/iteratorUtils.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreIteratorUtilsJs(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__(
    /*! @dojo/framework/shim/array */
    "./node_modules/@dojo/framework/shim/array.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, n) {
      function t(r) {
        var e = [];
        return r.forEach(function (r, n) {
          return e.push([n, r]);
        }), e;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var u = !!Map.prototype.entries;
      e.someMap = u ? function (r, e) {
        for (var n = r.entries(), t = n.next(); !t.done; t = n.next()) if (e(t.value[1], t.value[0])) return !0;

        return !1;
      } : function (r, e) {
        var n = !0,
            t = function t(r, _t2) {
          n && (n = !e(r, _t2));
        };

        return r.forEach(t), !n;
      };
      var o = !!Map.prototype.values;
      e.pairsOfMap = t, e.valuesOfMap = o ? function (r) {
        return n.from(r.values());
      } : function (r) {
        var e = new Array(r.size),
            n = 0;
        return r.forEach(function (r) {
          return e[n++] = r;
        }), e;
      }, e.keysOfMap = function (r) {
        var e = new Array(r.size),
            n = 0;
        return r.forEach(function (r, t) {
          return e[n++] = t;
        }), e;
      }, e.MapFromValues = o ? function (r) {
        return new Map(r);
      } : function (r) {
        for (var e = new Map(), n = 0, t = r; n < t.length; n++) {
          var u = t[n];
          e.set(u[0], u[1]);
        }

        return e;
      };
      var a = !!Set.prototype.entries;
      e.someSet = a ? function (r, e) {
        for (var n = r.entries(), t = n.next(); !t.done; t = n.next()) if (e(t.value[0])) return !0;

        return !1;
      } : function (r, e) {
        var n = !0,
            t = function t(r) {
          n && (n = !e(r));
        };

        return r.forEach(t), !n;
      };
      var f = !!Set.prototype.values;
      e.valuesOfSet = f ? function (r) {
        return n.from(r.values());
      } : function (r) {
        var e = new Array(r.size),
            n = 0;
        return r.forEach(function (r) {
          return e[n++] = r;
        }), e;
      }, e.createSetFromValues = f ? function (r) {
        return new Set(r);
      } : function (r) {
        for (var e = new Set(), n = 0, t = r; n < t.length; n++) {
          var u = t[n];
          e.add(u);
        }

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

  /***/
  "./node_modules/arcgis-js-api/core/jsonMap.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/jsonMap.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreJsonMapJs(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 (t, o) {
      function n() {
        return function (t) {
          return new i(t, {
            ignoreUnknown: !0
          });
        };
      }

      Object.defineProperty(o, "__esModule", {
        value: !0
      });

      var i = function () {
        function t(t, o) {
          void 0 === o && (o = {
            ignoreUnknown: !1
          });
          var n = this;
          this.jsonToAPI = t, this.options = o, this.apiValues = [], this.jsonValues = [], this.apiToJSON = this.invertMap(t), this.apiValues = this.getKeysSorted(this.apiToJSON), this.jsonValues = this.getKeysSorted(this.jsonToAPI), this.read = function (t) {
            return n.fromJSON(t);
          }, this.write = function (t, o, i) {
            var r = n.toJSON(t);
            void 0 !== r && (o[i] = r);
          };
        }

        return t.prototype.toJSON = function (t) {
          return this.apiToJSON.hasOwnProperty(t) ? this.apiToJSON[t] : this.options.ignoreUnknown ? void 0 : t;
        }, t.prototype.fromJSON = function (t) {
          return this.jsonToAPI.hasOwnProperty(t) ? this.jsonToAPI[t] : this.options.ignoreUnknown ? void 0 : t;
        }, t.prototype.invertMap = function (t) {
          var o = {};

          for (var n in t) o[t[n]] = n;

          return o;
        }, t.prototype.getKeysSorted = function (t) {
          var o = [];

          for (var n in t) o.push(n);

          return o.sort(), o;
        }, t;
      }();

      o.JSONMap = i, o.strict = n, o["default"] = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/lang.js":
  /*!*************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/lang.js ***!
    \*************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLangJs(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__(
    /*! ./typedArrayUtil */
    "./node_modules/arcgis-js-api/core/typedArrayUtil.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t) {
      function r(e, n) {
        var t;
        if (n) for (t in e) e.hasOwnProperty(t) && (void 0 === e[t] ? delete e[t] : e[t] instanceof Object && r(e[t], !0));else for (t in e) e.hasOwnProperty(t) && void 0 === e[t] && delete e[t];
        return e;
      }

      function i(e) {
        if (!e || "object" != typeof e || "function" == typeof e) return e;
        if (t.isInt8Array(e) || t.isUint8Array(e) || t.isUint8ClampedArray(e) || t.isInt16Array(e) || t.isUint16Array(e) || t.isInt32Array(e) || t.isUint32Array(e) || t.isFloat32Array(e) || t.isFloat64Array(e)) return t.slice(e);
        if (e instanceof Date) return new Date(e.getTime());

        if (e instanceof ArrayBuffer) {
          return e.slice(0, e.byteLength);
        }

        var n = e;
        return "function" == typeof n.clone ? n.clone() : "function" == typeof n.map && "function" == typeof n.forEach ? n.map(i) : "function" == typeof n.notifyChange && "function" == typeof n.watch ? n.clone() : a({}, e, i);
      }

      function o(e, n) {
        return e === n || "number" == typeof e && isNaN(e) && "number" == typeof n && isNaN(n) || "function" == typeof (e || {}).getTime && "function" == typeof (n || {}).getTime && e.getTime() === n.getTime() || !1;
      }

      function f(e) {
        void 0 === e && (e = {});

        for (var n = [], t = 1; t < arguments.length; t++) n[t - 1] = arguments[t];

        for (var r = 0, i = n; r < i.length; r++) {
          a(e, i[r]);
        }

        return e;
      }

      function a(e, n, t) {
        var r,
            i,
            o = {};

        for (r in n) {
          i = n[r];
          var f = !(r in o) || o[r] !== i;
          r in e && (e[r] === i || !f) || (e[r] = t ? t(i) : i);
        }

        return e;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.fixJson = r, n.clone = i, n.equals = o, n.mixin = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/earcut/earcut.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/earcut/earcut.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsEarcutEarcutJs(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_AMD_DEFINE_RESULT__ = function () {
      "use strict";

      function e(e, t, x) {
        x = x || 2;
        var i = t && t.length,
            u = i ? t[0] * x : e.length,
            v = n(e, 0, u, x, !0),
            y = [];
        if (!v || v.next === v.prev) return y;
        var o, p, l, a, h, s, c;

        if (i && (v = f(e, t, v, x)), e.length > 80 * x) {
          o = l = e[0], p = a = e[1];

          for (var Z = x; Z < u; Z += x) h = e[Z], s = e[Z + 1], h < o && (o = h), s < p && (p = s), h > l && (l = h), s > a && (a = s);

          c = Math.max(l - o, a - p), c = 0 !== c ? 1 / c : 0;
        }

        return r(v, y, x, o, p, c), y;
      }

      function n(e, n, t, r, x) {
        var i, u;
        if (x === A(e, n, t, r) > 0) for (i = n; i < t; i += r) u = m(i, e[i], e[i + 1], u);else for (i = t - r; i >= n; i -= r) u = m(i, e[i], e[i + 1], u);
        return u && d(u, u.next) && (j(u), u = u.next), u;
      }

      function t(e, n) {
        if (!e) return e;
        n || (n = e);
        var t,
            r = e;

        do {
          if (t = !1, r.steiner || !d(r, r.next) && 0 !== g(r.prev, r, r.next)) r = r.next;else {
            if (j(r), (r = n = r.prev) === r.next) break;
            t = !0;
          }
        } while (t || r !== n);

        return n;
      }

      function r(e, n, f, y, o, p, a) {
        if (e) {
          !a && p && l(e, y, o, p);

          for (var h, s, c = e; e.prev !== e.next;) if (h = e.prev, s = e.next, p ? i(e, y, o, p) : x(e)) n.push(h.i / f), n.push(e.i / f), n.push(s.i / f), j(e), e = s.next, c = s.next;else if ((e = s) === c) {
            a ? 1 === a ? (e = u(e, n, f), r(e, n, f, y, o, p, 2)) : 2 === a && v(e, n, f, y, o, p) : r(t(e), n, f, y, o, p, 1);
            break;
          }
        }
      }

      function x(e) {
        var n = e.prev,
            t = e,
            r = e.next;
        if (g(n, t, r) >= 0) return !1;

        for (var x = e.next.next, i = x, u = 0; x !== e.prev && (0 === u || x !== i);) {
          if (u++, c(n.x, n.y, t.x, t.y, r.x, r.y, x.x, x.y) && g(x.prev, x, x.next) >= 0) return !1;
          x = x.next;
        }

        return !0;
      }

      function i(e, n, t, r) {
        var x = e.prev,
            i = e,
            u = e.next;
        if (g(x, i, u) >= 0) return !1;

        for (var v = x.x < i.x ? x.x < u.x ? x.x : u.x : i.x < u.x ? i.x : u.x, f = x.y < i.y ? x.y < u.y ? x.y : u.y : i.y < u.y ? i.y : u.y, y = x.x > i.x ? x.x > u.x ? x.x : u.x : i.x > u.x ? i.x : u.x, o = x.y > i.y ? x.y > u.y ? x.y : u.y : i.y > u.y ? i.y : u.y, p = h(v, f, n, t, r), l = h(y, o, n, t, r), a = e.prevZ, s = e.nextZ; a && a.z >= p && s && s.z <= l;) {
          if (a !== e.prev && a !== e.next && c(x.x, x.y, i.x, i.y, u.x, u.y, a.x, a.y) && g(a.prev, a, a.next) >= 0) return !1;
          if (a = a.prevZ, s !== e.prev && s !== e.next && c(x.x, x.y, i.x, i.y, u.x, u.y, s.x, s.y) && g(s.prev, s, s.next) >= 0) return !1;
          s = s.nextZ;
        }

        for (; a && a.z >= p;) {
          if (a !== e.prev && a !== e.next && c(x.x, x.y, i.x, i.y, u.x, u.y, a.x, a.y) && g(a.prev, a, a.next) >= 0) return !1;
          a = a.prevZ;
        }

        for (; s && s.z <= l;) {
          if (s !== e.prev && s !== e.next && c(x.x, x.y, i.x, i.y, u.x, u.y, s.x, s.y) && g(s.prev, s, s.next) >= 0) return !1;
          s = s.nextZ;
        }

        return !0;
      }

      function u(e, n, t) {
        var r = e;

        do {
          var x = r.prev,
              i = r.next.next;
          !d(x, i) && w(x, r, r.next, i) && b(x, i) && b(i, x) && (n.push(x.i / t), n.push(r.i / t), n.push(i.i / t), j(r), j(r.next), r = e = i), r = r.next;
        } while (r !== e);

        return r;
      }

      function v(e, n, x, i, u, v) {
        var f = e;

        do {
          for (var y = f.next.next; y !== f.prev;) {
            if (f.i !== y.i && Z(f, y)) {
              var o = k(f, y);
              return f = t(f, f.next), o = t(o, o.next), r(f, n, x, i, u, v), void r(o, n, x, i, u, v);
            }

            y = y.next;
          }

          f = f.next;
        } while (f !== e);
      }

      function f(e, r, x, i) {
        var u,
            v,
            f,
            p,
            l,
            a = [];

        for (u = 0, v = r.length; u < v; u++) f = r[u] * i, p = u < v - 1 ? r[u + 1] * i : e.length, l = n(e, f, p, i, !1), l === l.next && (l.steiner = !0), a.push(s(l));

        for (a.sort(y), u = 0; u < a.length; u++) o(a[u], x), x = t(x, x.next);

        return x;
      }

      function y(e, n) {
        return e.x - n.x;
      }

      function o(e, n) {
        if (n = p(e, n)) {
          var r = k(n, e);
          t(r, r.next);
        }
      }

      function p(e, n) {
        var t,
            r = n,
            x = e.x,
            i = e.y,
            u = -1 / 0;

        do {
          if (i <= r.y && i >= r.next.y && r.next.y !== r.y) {
            var v = r.x + (i - r.y) * (r.next.x - r.x) / (r.next.y - r.y);

            if (v <= x && v > u) {
              if (u = v, v === x) {
                if (i === r.y) return r;
                if (i === r.next.y) return r.next;
              }

              t = r.x < r.next.x ? r : r.next;
            }
          }

          r = r.next;
        } while (r !== n);

        if (!t) return null;
        if (x === u) return t.prev;
        var f,
            y = t,
            o = t.x,
            p = t.y,
            l = 1 / 0;

        for (r = t.next; r !== y;) x >= r.x && r.x >= o && x !== r.x && c(i < p ? x : u, i, o, p, i < p ? u : x, i, r.x, r.y) && ((f = Math.abs(i - r.y) / (x - r.x)) < l || f === l && r.x > t.x) && b(r, e) && (t = r, l = f), r = r.next;

        return t;
      }

      function l(e, n, t, r) {
        var x = e;

        do {
          null === x.z && (x.z = h(x.x, x.y, n, t, r)), x.prevZ = x.prev, x.nextZ = x.next, x = x.next;
        } while (x !== e);

        x.prevZ.nextZ = null, x.prevZ = null, a(x);
      }

      function a(e) {
        var n,
            t,
            r,
            x,
            i,
            u,
            v,
            f,
            y = 1;

        do {
          for (t = e, e = null, i = null, u = 0; t;) {
            for (u++, r = t, v = 0, n = 0; n < y && (v++, r = r.nextZ); n++);

            for (f = y; v > 0 || f > 0 && r;) 0 !== v && (0 === f || !r || t.z <= r.z) ? (x = t, t = t.nextZ, v--) : (x = r, r = r.nextZ, f--), i ? i.nextZ = x : e = x, x.prevZ = i, i = x;

            t = r;
          }

          i.nextZ = null, y *= 2;
        } while (u > 1);

        return e;
      }

      function h(e, n, t, r, x) {
        return e = 32767 * (e - t) * x, n = 32767 * (n - r) * x, e = 16711935 & (e | e << 8), e = 252645135 & (e | e << 4), e = 858993459 & (e | e << 2), e = 1431655765 & (e | e << 1), n = 16711935 & (n | n << 8), n = 252645135 & (n | n << 4), n = 858993459 & (n | n << 2), n = 1431655765 & (n | n << 1), e | n << 1;
      }

      function s(e) {
        var n = e,
            t = e;

        do {
          (n.x < t.x || n.x === t.x && n.y < t.y) && (t = n), n = n.next;
        } while (n !== e);

        return t;
      }

      function c(e, n, t, r, x, i, u, v) {
        return (x - u) * (n - v) - (e - u) * (i - v) >= 0 && (e - u) * (r - v) - (t - u) * (n - v) >= 0 && (t - u) * (i - v) - (x - u) * (r - v) >= 0;
      }

      function Z(e, n) {
        return e.next.i !== n.i && e.prev.i !== n.i && !z(e, n) && b(e, n) && b(n, e) && M(e, n);
      }

      function g(e, n, t) {
        return (n.y - e.y) * (t.x - n.x) - (n.x - e.x) * (t.y - n.y);
      }

      function d(e, n) {
        return e.x === n.x && e.y === n.y;
      }

      function w(e, n, t, r) {
        return !!(d(e, n) && d(t, r) || d(e, r) && d(t, n)) || g(e, n, t) > 0 != g(e, n, r) > 0 && g(t, r, e) > 0 != g(t, r, n) > 0;
      }

      function z(e, n) {
        var t = e;

        do {
          if (t.i !== e.i && t.next.i !== e.i && t.i !== n.i && t.next.i !== n.i && w(t, t.next, e, n)) return !0;
          t = t.next;
        } while (t !== e);

        return !1;
      }

      function b(e, n) {
        return g(e.prev, e, e.next) < 0 ? g(e, n, e.next) >= 0 && g(e, e.prev, n) >= 0 : g(e, n, e.prev) < 0 || g(e, e.next, n) < 0;
      }

      function M(e, n) {
        var t = e,
            r = !1,
            x = (e.x + n.x) / 2,
            i = (e.y + n.y) / 2;

        do {
          t.y > i != t.next.y > i && t.next.y !== t.y && x < (t.next.x - t.x) * (i - t.y) / (t.next.y - t.y) + t.x && (r = !r), t = t.next;
        } while (t !== e);

        return r;
      }

      function k(e, n) {
        var t = new q(e.i, e.x, e.y),
            r = new q(n.i, n.x, n.y),
            x = e.next,
            i = n.prev;
        return e.next = n, n.prev = e, t.next = x, x.prev = t, r.next = t, t.prev = r, i.next = r, r.prev = i, r;
      }

      function m(e, n, t, r) {
        var x = new q(e, n, t);
        return r ? (x.next = r.next, x.prev = r, r.next.prev = x, r.next = x) : (x.prev = x, x.next = x), x;
      }

      function j(e) {
        e.next.prev = e.prev, e.prev.next = e.next, e.prevZ && (e.prevZ.nextZ = e.nextZ), e.nextZ && (e.nextZ.prevZ = e.prevZ);
      }

      function q(e, n, t) {
        this.i = e, this.x = n, this.y = t, this.prev = null, this.next = null, this.z = null, this.prevZ = null, this.nextZ = null, this.steiner = !1;
      }

      function A(e, n, t, r) {
        for (var x = 0, i = n, u = t - r; i < t; i += r) x += (e[u] - e[i]) * (e[i + 1] + e[u + 1]), u = i;

        return x;
      }

      return e.deviation = function (e, n, t, r) {
        var x = n && n.length,
            i = x ? n[0] * t : e.length,
            u = Math.abs(A(e, 0, i, t));
        if (x) for (var v = 0, f = n.length; v < f; v++) {
          var y = n[v] * t,
              o = v < f - 1 ? n[v + 1] * t : e.length;
          u -= Math.abs(A(e, y, o, t));
        }
        var p = 0;

        for (v = 0; v < r.length; v += 3) {
          var l = r[v] * t,
              a = r[v + 1] * t,
              h = r[v + 2] * t;
          p += Math.abs((e[l] - e[h]) * (e[a + 1] - e[l + 1]) - (e[l] - e[a]) * (e[h + 1] - e[l + 1]));
        }

        return 0 === u && 0 === p ? 0 : Math.abs((p - u) / u);
      }, e.flatten = function (e) {
        for (var n = e[0][0].length, t = {
          vertices: [],
          holes: [],
          dimensions: n
        }, r = 0, x = 0; x < e.length; x++) {
          for (var i = 0; i < e[x].length; i++) for (var u = 0; u < n; u++) t.vertices.push(e[x][i][u]);

          x > 0 && (r += e[x - 1].length, t.holes.push(r));
        }

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

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/common.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/common.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2CommonJs(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__(
    /*! ./math/common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, n) {
      Object.defineProperty(o, "__esModule", {
        value: !0
      }), o.common = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df32.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df32.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesMat2df32Js(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 n() {
        var e = new Float32Array(6);
        return e[0] = 1, e[3] = 1, e;
      }

      function t(e) {
        var r = new Float32Array(6);
        return r[0] = e[0], r[1] = e[1], r[2] = e[2], r[3] = e[3], r[4] = e[4], r[5] = e[5], r;
      }

      function a(e, r, n, t, a, o) {
        var u = new Float32Array(6);
        return u[0] = e, u[1] = r, u[2] = n, u[3] = t, u[4] = a, u[5] = o, u;
      }

      function o(e, r) {
        return new Float32Array(e, r, 6);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = n, r.clone = t, r.fromValues = a, r.createView = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df64.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df64.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesMat2df64Js(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, n) {
      function r() {
        return [1, 0, 0, 1, 0, 0];
      }

      function t(e) {
        return [e[0], e[1], e[2], e[3], e[4], e[5]];
      }

      function u(e, n, r, t, u, o) {
        return [e, n, r, t, u, o];
      }

      function o(e, n) {
        return new Float64Array(e, n, 6);
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.create = r, n.clone = t, n.fromValues = u, n.createView = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat3f32.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat3f32.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesMat3f32Js(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 n() {
        var e = new Float32Array(9);
        return e[0] = 1, e[4] = 1, e[8] = 1, e;
      }

      function t(e) {
        var r = new Float32Array(9);
        return r[0] = e[0], r[1] = e[1], r[2] = e[2], r[3] = e[3], r[4] = e[4], r[5] = e[5], r[6] = e[6], r[7] = e[7], r[8] = e[8], r;
      }

      function a(e, r, n, t, a, o, u, c, i) {
        var f = new Float32Array(9);
        return f[0] = e, f[1] = r, f[2] = n, f[3] = t, f[4] = a, f[5] = o, f[6] = u, f[7] = c, f[8] = i, f;
      }

      function o(e, r) {
        return new Float32Array(e, r, 9);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = n, r.clone = t, r.fromValues = a, r.createView = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat4f32.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat4f32.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesMat4f32Js(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 n() {
        var e = new Float32Array(16);
        return e[0] = 1, e[5] = 1, e[10] = 1, e[15] = 1, e;
      }

      function t(e) {
        var r = new Float32Array(16);
        return r[0] = e[0], r[1] = e[1], r[2] = e[2], r[3] = e[3], r[4] = e[4], r[5] = e[5], r[6] = e[6], r[7] = e[7], r[8] = e[8], r[9] = e[9], r[10] = e[10], r[11] = e[11], r[12] = e[12], r[13] = e[13], r[14] = e[14], r[15] = e[15], r;
      }

      function a(e, r, n, t, a, o, u, c, i, f, l, w, y, v, A, F) {
        var d = new Float32Array(16);
        return d[0] = e, d[1] = r, d[2] = n, d[3] = t, d[4] = a, d[5] = o, d[6] = u, d[7] = c, d[8] = i, d[9] = f, d[10] = l, d[11] = w, d[12] = y, d[13] = v, d[14] = A, d[15] = F, d;
      }

      function o(e, r) {
        return new Float32Array(e, r, 16);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = n, r.clone = t, r.fromValues = a, r.createView = o, r.IDENTITY = n();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f32.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f32.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesVec2f32Js(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 (n, r) {
      function e() {
        return new Float32Array(2);
      }

      function t(n) {
        var r = new Float32Array(2);
        return r[0] = n[0], r[1] = n[1], r;
      }

      function u(n, r) {
        var e = new Float32Array(2);
        return e[0] = n, e[1] = r, e;
      }

      function o(n, r) {
        return new Float32Array(n, r, 2);
      }

      function i() {
        return e();
      }

      function a() {
        return u(1, 1);
      }

      function c() {
        return u(1, 0);
      }

      function f() {
        return u(0, 1);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = e, r.clone = t, r.fromValues = u, r.createView = o, r.zeros = i, r.ones = a, r.unitX = c, r.unitY = f, r.ZEROS = i(), r.ONES = a(), r.UNIT_X = c(), r.UNIT_Y = f();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f64.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f64.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesVec2f64Js(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 (n, r) {
      function e() {
        return [0, 0];
      }

      function t(n) {
        return [n[0], n[1]];
      }

      function u(n, r) {
        return [n, r];
      }

      function o(n) {
        for (var r = e(), t = Math.min(2, n.length), u = 0; u < t; ++u) r[u] = n[u];

        return r;
      }

      function i(n, r) {
        return new Float64Array(n, r, 2);
      }

      function f() {
        return e();
      }

      function c() {
        return u(1, 1);
      }

      function a() {
        return u(1, 0);
      }

      function l() {
        return u(0, 1);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = e, r.clone = t, r.fromValues = u, r.fromArray = o, r.createView = i, r.zeros = f, r.ones = c, r.unitX = a, r.unitY = l, r.ZEROS = f(), r.ONES = c(), r.UNIT_X = a(), r.UNIT_Y = l();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec3f64.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec3f64.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesVec3f64Js(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 (n, r) {
      function e() {
        return [0, 0, 0];
      }

      function t(n) {
        return [n[0], n[1], n[2]];
      }

      function u(n, r, e) {
        return [n, r, e];
      }

      function o(n) {
        for (var r = e(), t = Math.min(3, n.length), u = 0; u < t; ++u) r[u] = n[u];

        return r;
      }

      function i(n, r) {
        return new Float64Array(n, r, 3);
      }

      function f() {
        return e();
      }

      function c() {
        return u(1, 1, 1);
      }

      function a() {
        return u(1, 0, 0);
      }

      function l() {
        return u(0, 1, 0);
      }

      function s() {
        return u(0, 0, 1);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = e, r.clone = t, r.fromValues = u, r.fromArray = o, r.createView = i, r.zeros = f, r.ones = c, r.unitX = a, r.unitY = l, r.unitZ = s, r.ZEROS = f(), r.ONES = c(), r.UNIT_X = a(), r.UNIT_Y = l(), r.UNIT_Z = s();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec4f32.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec4f32.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2FactoriesVec4f32Js(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 (n, r) {
      function e() {
        return new Float32Array(4);
      }

      function t(n) {
        var r = new Float32Array(4);
        return r[0] = n[0], r[1] = n[1], r[2] = n[2], r[3] = n[3], r;
      }

      function u(n, r, e, t) {
        var u = new Float32Array(4);
        return u[0] = n, u[1] = r, u[2] = e, u[3] = t, u;
      }

      function o(n, r) {
        return new Float32Array(n, r, 4);
      }

      function i() {
        return e();
      }

      function c() {
        return u(1, 1, 1, 1);
      }

      function a() {
        return u(1, 0, 0, 0);
      }

      function f() {
        return u(0, 1, 0, 0);
      }

      function l() {
        return u(0, 0, 1, 0);
      }

      function _() {
        return u(0, 0, 0, 1);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.create = e, r.clone = t, r.fromValues = u, r.createView = o, r.zeros = i, r.ones = c, r.unitX = a, r.unitY = f, r.unitZ = l, r.unitW = _, r.ZEROS = i(), r.ONES = c(), r.UNIT_X = a(), r.UNIT_Y = f(), r.UNIT_Z = l(), r.UNIT_W = _();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Mat2dJs(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__(
    /*! ./math/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat2d.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, d) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.mat2d = d;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Mat2df32Js(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__(
    /*! ./factories/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df32.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, f) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.mat2df32 = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df64.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df64.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Mat2df64Js(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__(
    /*! ./factories/mat2df64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat2df64.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, f) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.mat2df64 = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Mat3Js(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__(
    /*! ./math/mat3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat3.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.mat3 = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Mat3f32Js(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__(
    /*! ./factories/mat3f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat3f32.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, f) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.mat3f32 = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat4f32.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat4f32.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Mat4f32Js(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__(
    /*! ./factories/mat4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/mat4f32.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, f) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.mat4f32 = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2MathCommonJs(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, t) {
      function a(e) {
        return e * u;
      }

      function n(e) {
        return e * o;
      }

      function r(e, a) {
        return Math.abs(e - a) <= t.EPSILON * Math.max(1, Math.abs(e), Math.abs(a));
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.EPSILON = 1e-6, t.RANDOM = Math.random;
      var u = Math.PI / 180,
          o = 180 / Math.PI;
      t.toRadian = a, t.toDegree = n, t.equals = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat2d.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat2d.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2MathMat2dJs(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__(
    /*! ./common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, a, n) {
      function r(t, a) {
        return t[0] = a[0], t[1] = a[1], t[2] = a[2], t[3] = a[3], t[4] = a[4], t[5] = a[5], t;
      }

      function u(t) {
        return t[0] = 1, t[1] = 0, t[2] = 0, t[3] = 1, t[4] = 0, t[5] = 0, t;
      }

      function o(t, a, n, r, u, o, e) {
        return t[0] = a, t[1] = n, t[2] = r, t[3] = u, t[4] = o, t[5] = e, t;
      }

      function e(t, a) {
        var n = a[0],
            r = a[1],
            u = a[2],
            o = a[3],
            e = a[4],
            i = a[5],
            M = n * o - r * u;
        return M ? (M = 1 / M, t[0] = o * M, t[1] = -r * M, t[2] = -u * M, t[3] = n * M, t[4] = (u * i - o * e) * M, t[5] = (r * e - n * i) * M, t) : null;
      }

      function i(t) {
        return t[0] * t[3] - t[1] * t[2];
      }

      function M(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            i = a[4],
            M = a[5],
            h = n[0],
            s = n[1],
            c = n[2],
            f = n[3],
            b = n[4],
            l = n[5];
        return t[0] = r * h + o * s, t[1] = u * h + e * s, t[2] = r * c + o * f, t[3] = u * c + e * f, t[4] = r * b + o * l + i, t[5] = u * b + e * l + M, t;
      }

      function h(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            i = a[4],
            M = a[5],
            h = Math.sin(n),
            s = Math.cos(n);
        return t[0] = r * s + o * h, t[1] = u * s + e * h, t[2] = r * -h + o * s, t[3] = u * -h + e * s, t[4] = i, t[5] = M, t;
      }

      function s(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            i = a[4],
            M = a[5],
            h = n[0],
            s = n[1];
        return t[0] = r * h, t[1] = u * h, t[2] = o * s, t[3] = e * s, t[4] = i, t[5] = M, t;
      }

      function c(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            i = a[4],
            M = a[5],
            h = n[0],
            s = n[1];
        return t[0] = r, t[1] = u, t[2] = o, t[3] = e, t[4] = r * h + o * s + i, t[5] = u * h + e * s + M, t;
      }

      function f(t, a) {
        var n = Math.sin(a),
            r = Math.cos(a);
        return t[0] = r, t[1] = n, t[2] = -n, t[3] = r, t[4] = 0, t[5] = 0, t;
      }

      function b(t, a) {
        return t[0] = a[0], t[1] = 0, t[2] = 0, t[3] = a[1], t[4] = 0, t[5] = 0, t;
      }

      function l(t, a) {
        return t[0] = 1, t[1] = 0, t[2] = 0, t[3] = 1, t[4] = a[0], t[5] = a[1], t;
      }

      function m(t) {
        return "mat2d(" + t[0] + ", " + t[1] + ", " + t[2] + ", " + t[3] + ", " + t[4] + ", " + t[5] + ")";
      }

      function p(t) {
        return Math.sqrt(Math.pow(t[0], 2) + Math.pow(t[1], 2) + Math.pow(t[2], 2) + Math.pow(t[3], 2) + Math.pow(t[4], 2) + Math.pow(t[5], 2) + 1);
      }

      function d(t, a, n) {
        return t[0] = a[0] + n[0], t[1] = a[1] + n[1], t[2] = a[2] + n[2], t[3] = a[3] + n[3], t[4] = a[4] + n[4], t[5] = a[5] + n[5], t;
      }

      function v(t, a, n) {
        return t[0] = a[0] - n[0], t[1] = a[1] - n[1], t[2] = a[2] - n[2], t[3] = a[3] - n[3], t[4] = a[4] - n[4], t[5] = a[5] - n[5], t;
      }

      function S(t, a, n) {
        return t[0] = a[0] * n, t[1] = a[1] * n, t[2] = a[2] * n, t[3] = a[3] * n, t[4] = a[4] * n, t[5] = a[5] * n, t;
      }

      function x(t, a, n, r) {
        return t[0] = a[0] + n[0] * r, t[1] = a[1] + n[1] * r, t[2] = a[2] + n[2] * r, t[3] = a[3] + n[3] * r, t[4] = a[4] + n[4] * r, t[5] = a[5] + n[5] * r, t;
      }

      function E(t, a) {
        return t[0] === a[0] && t[1] === a[1] && t[2] === a[2] && t[3] === a[3] && t[4] === a[4] && t[5] === a[5];
      }

      function O(t, a) {
        var r = t[0],
            u = t[1],
            o = t[2],
            e = t[3],
            i = t[4],
            M = t[5],
            h = a[0],
            s = a[1],
            c = a[2],
            f = a[3],
            b = a[4],
            l = a[5];
        return Math.abs(r - h) <= n.EPSILON * Math.max(1, Math.abs(r), Math.abs(h)) && Math.abs(u - s) <= n.EPSILON * Math.max(1, Math.abs(u), Math.abs(s)) && Math.abs(o - c) <= n.EPSILON * Math.max(1, Math.abs(o), Math.abs(c)) && Math.abs(e - f) <= n.EPSILON * Math.max(1, Math.abs(e), Math.abs(f)) && Math.abs(i - b) <= n.EPSILON * Math.max(1, Math.abs(i), Math.abs(b)) && Math.abs(M - l) <= n.EPSILON * Math.max(1, Math.abs(M), Math.abs(l));
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      }), a.copy = r, a.identity = u, a.set = o, a.invert = e, a.determinant = i, a.multiply = M, a.rotate = h, a.scale = s, a.translate = c, a.fromRotation = f, a.fromScaling = b, a.fromTranslation = l, a.str = m, a.frob = p, a.add = d, a.subtract = v, a.multiplyScalar = S, a.multiplyScalarAndAdd = x, a.exactEquals = E, a.equals = O, a.mul = M, a.sub = v;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat3.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat3.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2MathMat3Js(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__(
    /*! ./common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, a, n) {
      function r(t, a) {
        return t[0] = a[0], t[1] = a[1], t[2] = a[2], t[3] = a[4], t[4] = a[5], t[5] = a[6], t[6] = a[8], t[7] = a[9], t[8] = a[10], t;
      }

      function u(t, a) {
        return t[0] = a[0], t[1] = a[1], t[2] = a[2], t[3] = a[3], t[4] = a[4], t[5] = a[5], t[6] = a[6], t[7] = a[7], t[8] = a[8], t;
      }

      function o(t, a, n, r, u, o, e, M, h, i) {
        return t[0] = a, t[1] = n, t[2] = r, t[3] = u, t[4] = o, t[5] = e, t[6] = M, t[7] = h, t[8] = i, t;
      }

      function e(t) {
        return t[0] = 1, t[1] = 0, t[2] = 0, t[3] = 0, t[4] = 1, t[5] = 0, t[6] = 0, t[7] = 0, t[8] = 1, t;
      }

      function M(t, a) {
        if (t === a) {
          var n = a[1],
              r = a[2],
              u = a[5];
          t[1] = a[3], t[2] = a[6], t[3] = n, t[5] = a[7], t[6] = r, t[7] = u;
        } else t[0] = a[0], t[1] = a[3], t[2] = a[6], t[3] = a[1], t[4] = a[4], t[5] = a[7], t[6] = a[2], t[7] = a[5], t[8] = a[8];

        return t;
      }

      function h(t, a) {
        var n = a[0],
            r = a[1],
            u = a[2],
            o = a[3],
            e = a[4],
            M = a[5],
            h = a[6],
            i = a[7],
            s = a[8],
            c = s * e - M * i,
            f = -s * o + M * h,
            b = i * o - e * h,
            l = n * c + r * f + u * b;
        return l ? (l = 1 / l, t[0] = c * l, t[1] = (-s * r + u * i) * l, t[2] = (M * r - u * e) * l, t[3] = f * l, t[4] = (s * n - u * h) * l, t[5] = (-M * n + u * o) * l, t[6] = b * l, t[7] = (-i * n + r * h) * l, t[8] = (e * n - r * o) * l, t) : null;
      }

      function i(t, a) {
        var n = a[0],
            r = a[1],
            u = a[2],
            o = a[3],
            e = a[4],
            M = a[5],
            h = a[6],
            i = a[7],
            s = a[8];
        return t[0] = e * s - M * i, t[1] = u * i - r * s, t[2] = r * M - u * e, t[3] = M * h - o * s, t[4] = n * s - u * h, t[5] = u * o - n * M, t[6] = o * i - e * h, t[7] = r * h - n * i, t[8] = n * e - r * o, t;
      }

      function s(t) {
        var a = t[0],
            n = t[1],
            r = t[2],
            u = t[3],
            o = t[4],
            e = t[5],
            M = t[6],
            h = t[7],
            i = t[8];
        return a * (i * o - e * h) + n * (-i * u + e * M) + r * (h * u - o * M);
      }

      function c(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            M = a[4],
            h = a[5],
            i = a[6],
            s = a[7],
            c = a[8],
            f = n[0],
            b = n[1],
            l = n[2],
            m = n[3],
            p = n[4],
            v = n[5],
            d = n[6],
            S = n[7],
            x = n[8];
        return t[0] = f * r + b * e + l * i, t[1] = f * u + b * M + l * s, t[2] = f * o + b * h + l * c, t[3] = m * r + p * e + v * i, t[4] = m * u + p * M + v * s, t[5] = m * o + p * h + v * c, t[6] = d * r + S * e + x * i, t[7] = d * u + S * M + x * s, t[8] = d * o + S * h + x * c, t;
      }

      function f(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            M = a[4],
            h = a[5],
            i = a[6],
            s = a[7],
            c = a[8],
            f = n[0],
            b = n[1];
        return t[0] = r, t[1] = u, t[2] = o, t[3] = e, t[4] = M, t[5] = h, t[6] = f * r + b * e + i, t[7] = f * u + b * M + s, t[8] = f * o + b * h + c, t;
      }

      function b(t, a, n) {
        var r = a[0],
            u = a[1],
            o = a[2],
            e = a[3],
            M = a[4],
            h = a[5],
            i = a[6],
            s = a[7],
            c = a[8],
            f = Math.sin(n),
            b = Math.cos(n);
        return t[0] = b * r + f * e, t[1] = b * u + f * M, t[2] = b * o + f * h, t[3] = b * e - f * r, t[4] = b * M - f * u, t[5] = b * h - f * o, t[6] = i, t[7] = s, t[8] = c, t;
      }

      function l(t, a, n) {
        var r = n[0],
            u = n[1],
            o = n[2];
        return t[0] = r * a[0], t[1] = r * a[1], t[2] = r * a[2], t[3] = u * a[3], t[4] = u * a[4], t[5] = u * a[5], t[6] = o * a[6], t[7] = o * a[7], t[8] = o * a[8], t;
      }

      function m(t, a, n) {
        var r = n[0],
            u = n[1];
        return t[0] = r * a[0], t[1] = r * a[1], t[2] = r * a[2], t[3] = u * a[3], t[4] = u * a[4], t[5] = u * a[5], t;
      }

      function p(t, a) {
        return t[0] = 1, t[1] = 0, t[2] = 0, t[3] = 0, t[4] = 1, t[5] = 0, t[6] = a[0], t[7] = a[1], t[8] = 1, t;
      }

      function v(t, a) {
        var n = Math.sin(a),
            r = Math.cos(a);
        return t[0] = r, t[1] = n, t[2] = 0, t[3] = -n, t[4] = r, t[5] = 0, t[6] = 0, t[7] = 0, t[8] = 1, t;
      }

      function d(t, a) {
        return t[0] = a[0], t[1] = 0, t[2] = 0, t[3] = 0, t[4] = a[1], t[5] = 0, t[6] = 0, t[7] = 0, t[8] = 1, t;
      }

      function S(t, a) {
        return t[0] = a[0], t[1] = a[1], t[2] = 0, t[3] = a[2], t[4] = a[3], t[5] = 0, t[6] = a[4], t[7] = a[5], t[8] = 1, t;
      }

      function x(t, a) {
        var n = a[0],
            r = a[1],
            u = a[2],
            o = a[3],
            e = n + n,
            M = r + r,
            h = u + u,
            i = n * e,
            s = r * e,
            c = r * M,
            f = u * e,
            b = u * M,
            l = u * h,
            m = o * e,
            p = o * M,
            v = o * h;
        return t[0] = 1 - c - l, t[3] = s - v, t[6] = f + p, t[1] = s + v, t[4] = 1 - i - l, t[7] = b - m, t[2] = f - p, t[5] = b + m, t[8] = 1 - i - c, t;
      }

      function E(t, a) {
        var n = a[0],
            r = a[1],
            u = a[2],
            o = a[4],
            e = a[5],
            M = a[6],
            h = a[8],
            i = a[9],
            s = a[10],
            c = s * e - M * i,
            f = -s * o + M * h,
            b = i * o - e * h,
            l = n * c + r * f + u * b;
        if (!l) return null;
        var m = 1 / l;
        return t[0] = c * m, t[1] = (-s * r + u * i) * m, t[2] = (M * r - u * e) * m, t[3] = f * m, t[4] = (s * n - u * h) * m, t[5] = (-M * n + u * o) * m, t[6] = b * m, t[7] = (-i * n + r * h) * m, t[8] = (e * n - r * o) * m, t;
      }

      function L(t, a) {
        var n = a[0],
            r = a[1],
            u = a[2],
            o = a[3],
            e = a[4],
            M = a[5],
            h = a[6],
            i = a[7],
            s = a[8],
            c = a[9],
            f = a[10],
            b = a[11],
            l = a[12],
            m = a[13],
            p = a[14],
            v = a[15],
            d = n * M - r * e,
            S = n * h - u * e,
            x = n * i - o * e,
            E = r * h - u * M,
            L = r * i - o * M,
            O = u * i - o * h,
            P = s * m - c * l,
            w = s * p - f * l,
            I = s * v - b * l,
            N = c * p - f * m,
            y = c * v - b * m,
            q = f * v - b * p,
            j = d * q - S * y + x * N + E * I - L * w + O * P;
        return j ? (j = 1 / j, t[0] = (M * q - h * y + i * N) * j, t[1] = (h * I - e * q - i * w) * j, t[2] = (e * y - M * I + i * P) * j, t[3] = (u * y - r * q - o * N) * j, t[4] = (n * q - u * I + o * w) * j, t[5] = (r * I - n * y - o * P) * j, t[6] = (m * O - p * L + v * E) * j, t[7] = (p * x - l * O - v * S) * j, t[8] = (l * L - m * x + v * d) * j, t) : null;
      }

      function O(t, a, n) {
        return t[0] = 2 / a, t[1] = 0, t[2] = 0, t[3] = 0, t[4] = -2 / n, t[5] = 0, t[6] = -1, t[7] = 1, t[8] = 1, t;
      }

      function P(t) {
        return "mat3(" + t[0] + ", " + t[1] + ", " + t[2] + ", " + t[3] + ", " + t[4] + ", " + t[5] + ", " + t[6] + ", " + t[7] + ", " + t[8] + ")";
      }

      function w(t) {
        return Math.sqrt(Math.pow(t[0], 2) + Math.pow(t[1], 2) + Math.pow(t[2], 2) + Math.pow(t[3], 2) + Math.pow(t[4], 2) + Math.pow(t[5], 2) + Math.pow(t[6], 2) + Math.pow(t[7], 2) + Math.pow(t[8], 2));
      }

      function I(t, a, n) {
        return t[0] = a[0] + n[0], t[1] = a[1] + n[1], t[2] = a[2] + n[2], t[3] = a[3] + n[3], t[4] = a[4] + n[4], t[5] = a[5] + n[5], t[6] = a[6] + n[6], t[7] = a[7] + n[7], t[8] = a[8] + n[8], t;
      }

      function N(t, a, n) {
        return t[0] = a[0] - n[0], t[1] = a[1] - n[1], t[2] = a[2] - n[2], t[3] = a[3] - n[3], t[4] = a[4] - n[4], t[5] = a[5] - n[5], t[6] = a[6] - n[6], t[7] = a[7] - n[7], t[8] = a[8] - n[8], t;
      }

      function y(t, a, n) {
        return t[0] = a[0] * n, t[1] = a[1] * n, t[2] = a[2] * n, t[3] = a[3] * n, t[4] = a[4] * n, t[5] = a[5] * n, t[6] = a[6] * n, t[7] = a[7] * n, t[8] = a[8] * n, t;
      }

      function q(t, a, n, r) {
        return t[0] = a[0] + n[0] * r, t[1] = a[1] + n[1] * r, t[2] = a[2] + n[2] * r, t[3] = a[3] + n[3] * r, t[4] = a[4] + n[4] * r, t[5] = a[5] + n[5] * r, t[6] = a[6] + n[6] * r, t[7] = a[7] + n[7] * r, t[8] = a[8] + n[8] * r, t;
      }

      function j(t, a) {
        return t[0] === a[0] && t[1] === a[1] && t[2] === a[2] && t[3] === a[3] && t[4] === a[4] && t[5] === a[5] && t[6] === a[6] && t[7] === a[7] && t[8] === a[8];
      }

      function g(t, a) {
        var r = t[0],
            u = t[1],
            o = t[2],
            e = t[3],
            M = t[4],
            h = t[5],
            i = t[6],
            s = t[7],
            c = t[8],
            f = a[0],
            b = a[1],
            l = a[2],
            m = a[3],
            p = a[4],
            v = a[5],
            d = a[6],
            S = a[7],
            x = a[8];
        return Math.abs(r - f) <= n.EPSILON * Math.max(1, Math.abs(r), Math.abs(f)) && Math.abs(u - b) <= n.EPSILON * Math.max(1, Math.abs(u), Math.abs(b)) && Math.abs(o - l) <= n.EPSILON * Math.max(1, Math.abs(o), Math.abs(l)) && Math.abs(e - m) <= n.EPSILON * Math.max(1, Math.abs(e), Math.abs(m)) && Math.abs(M - p) <= n.EPSILON * Math.max(1, Math.abs(M), Math.abs(p)) && Math.abs(h - v) <= n.EPSILON * Math.max(1, Math.abs(h), Math.abs(v)) && Math.abs(i - d) <= n.EPSILON * Math.max(1, Math.abs(i), Math.abs(d)) && Math.abs(s - S) <= n.EPSILON * Math.max(1, Math.abs(s), Math.abs(S)) && Math.abs(c - x) <= n.EPSILON * Math.max(1, Math.abs(c), Math.abs(x));
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      }), a.fromMat4 = r, a.copy = u, a.set = o, a.identity = e, a.transpose = M, a.invert = h, a.adjoint = i, a.determinant = s, a.multiply = c, a.translate = f, a.rotate = b, a.scale = l, a.scaleByVec2 = m, a.fromTranslation = p, a.fromRotation = v, a.fromScaling = d, a.fromMat2d = S, a.fromQuat = x, a.normalFromMat4Legacy = E, a.normalFromMat4 = L, a.projection = O, a.str = P, a.frob = w, a.add = I, a.subtract = N, a.multiplyScalar = y, a.multiplyScalarAndAdd = q, a.exactEquals = j, a.equals = g, a.mul = c, a.sub = N;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec2.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec2.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2MathVec2Js(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__(
    /*! ./common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, n, r) {
      function a(t, n) {
        return t[0] = n[0], t[1] = n[1], t;
      }

      function u(t, n, r) {
        return t[0] = n, t[1] = r, t;
      }

      function e(t, n, r) {
        return t[0] = n[0] + r[0], t[1] = n[1] + r[1], t;
      }

      function o(t, n, r) {
        return t[0] = n[0] - r[0], t[1] = n[1] - r[1], t;
      }

      function i(t, n, r) {
        return t[0] = n[0] * r[0], t[1] = n[1] * r[1], t;
      }

      function c(t, n, r) {
        return t[0] = n[0] / r[0], t[1] = n[1] / r[1], t;
      }

      function f(t, n) {
        return t[0] = Math.ceil(n[0]), t[1] = Math.ceil(n[1]), t;
      }

      function s(t, n) {
        return t[0] = Math.floor(n[0]), t[1] = Math.floor(n[1]), t;
      }

      function M(t, n, r) {
        return t[0] = Math.min(n[0], r[0]), t[1] = Math.min(n[1], r[1]), t;
      }

      function h(t, n, r) {
        return t[0] = Math.max(n[0], r[0]), t[1] = Math.max(n[1], r[1]), t;
      }

      function v(t, n) {
        return t[0] = Math.round(n[0]), t[1] = Math.round(n[1]), t;
      }

      function d(t, n, r) {
        return t[0] = n[0] * r, t[1] = n[1] * r, t;
      }

      function l(t, n, r, a) {
        return t[0] = n[0] + r[0] * a, t[1] = n[1] + r[1] * a, t;
      }

      function m(t, n) {
        var r = n[0] - t[0],
            a = n[1] - t[1];
        return Math.sqrt(r * r + a * a);
      }

      function q(t, n) {
        var r = n[0] - t[0],
            a = n[1] - t[1];
        return r * r + a * a;
      }

      function b(t) {
        var n = t[0],
            r = t[1];
        return Math.sqrt(n * n + r * r);
      }

      function x(t) {
        var n = t[0],
            r = t[1];
        return n * n + r * r;
      }

      function p(t, n) {
        return t[0] = -n[0], t[1] = -n[1], t;
      }

      function P(t, n) {
        return t[0] = 1 / n[0], t[1] = 1 / n[1], t;
      }

      function g(t, n) {
        var r = n[0],
            a = n[1],
            u = r * r + a * a;
        return u > 0 && (u = 1 / Math.sqrt(u), t[0] = n[0] * u, t[1] = n[1] * u), t;
      }

      function I(t, n) {
        return t[0] * n[0] + t[1] * n[1];
      }

      function L(t, n, r) {
        var a = n[0] * r[1] - n[1] * r[0];
        return t[0] = t[1] = 0, t[2] = a, t;
      }

      function O(t, n, r, a) {
        var u = n[0],
            e = n[1];
        return t[0] = u + a * (r[0] - u), t[1] = e + a * (r[1] - e), t;
      }

      function y(t, n) {
        n = n || 1;
        var a = 2 * r.RANDOM() * Math.PI;
        return t[0] = Math.cos(a) * n, t[1] = Math.sin(a) * n, t;
      }

      function A(t, n, r) {
        var a = n[0],
            u = n[1];
        return t[0] = r[0] * a + r[2] * u, t[1] = r[1] * a + r[3] * u, t;
      }

      function D(t, n, r) {
        var a = n[0],
            u = n[1];
        return t[0] = r[0] * a + r[2] * u + r[4], t[1] = r[1] * a + r[3] * u + r[5], t;
      }

      function E(t, n, r) {
        var a = n[0],
            u = n[1];
        return t[0] = r[0] * a + r[3] * u + r[6], t[1] = r[1] * a + r[4] * u + r[7], t;
      }

      function N(t, n, r) {
        var a = n[0],
            u = n[1];
        return t[0] = r[0] * a + r[4] * u + r[12], t[1] = r[1] * a + r[5] * u + r[13], t;
      }

      function S(t, n, r, a) {
        var u = n[0] - r[0],
            e = n[1] - r[1],
            o = Math.sin(a),
            i = Math.cos(a);
        return t[0] = u * i - e * o + r[0], t[1] = u * o + e * i + r[1], t;
      }

      function _(t, n) {
        var r = t[0],
            a = t[1],
            u = n[0],
            e = n[1],
            o = r * r + a * a;
        o > 0 && (o = 1 / Math.sqrt(o));
        var i = u * u + e * e;
        i > 0 && (i = 1 / Math.sqrt(i));
        var c = (r * u + a * e) * o * i;
        return c > 1 ? 0 : c < -1 ? Math.PI : Math.acos(c);
      }

      function j(t) {
        return "vec2(" + t[0] + ", " + t[1] + ")";
      }

      function z(t, n) {
        return t[0] === n[0] && t[1] === n[1];
      }

      function R(t, n) {
        var a = t[0],
            u = t[1],
            e = n[0],
            o = n[1];
        return Math.abs(a - e) <= r.EPSILON * Math.max(1, Math.abs(a), Math.abs(e)) && Math.abs(u - o) <= r.EPSILON * Math.max(1, Math.abs(u), Math.abs(o));
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.copy = a, n.set = u, n.add = e, n.subtract = o, n.multiply = i, n.divide = c, n.ceil = f, n.floor = s, n.min = M, n.max = h, n.round = v, n.scale = d, n.scaleAndAdd = l, n.distance = m, n.squaredDistance = q, n.length = b, n.squaredLength = x, n.negate = p, n.inverse = P, n.normalize = g, n.dot = I, n.cross = L, n.lerp = O, n.random = y, n.transformMat2 = A, n.transformMat2d = D, n.transformMat3 = E, n.transformMat4 = N, n.rotate = S, n.angle = _, n.str = j, n.exactEquals = z, n.equals = R, n.len = b, n.sub = o, n.mul = i, n.div = c, n.dist = m, n.sqrDist = q, n.sqrLen = x;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec3.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec3.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2MathVec3Js(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__(
    /*! ../factories/vec3f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec3f64.js"), __webpack_require__(
    /*! ./common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/common.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, n, r, a) {
      function u(t) {
        var n = t[0],
            r = t[1],
            a = t[2];
        return Math.sqrt(n * n + r * r + a * a);
      }

      function e(t, n) {
        return t[0] = n[0], t[1] = n[1], t[2] = n[2], t;
      }

      function o(t, n, r, a) {
        return t[0] = n, t[1] = r, t[2] = a, t;
      }

      function i(t, n, r) {
        return t[0] = n[0] + r[0], t[1] = n[1] + r[1], t[2] = n[2] + r[2], t;
      }

      function c(t, n, r) {
        return t[0] = n[0] - r[0], t[1] = n[1] - r[1], t[2] = n[2] - r[2], t;
      }

      function s(t, n, r) {
        return t[0] = n[0] * r[0], t[1] = n[1] * r[1], t[2] = n[2] * r[2], t;
      }

      function M(t, n, r) {
        return t[0] = n[0] / r[0], t[1] = n[1] / r[1], t[2] = n[2] / r[2], t;
      }

      function h(t, n) {
        return t[0] = Math.ceil(n[0]), t[1] = Math.ceil(n[1]), t[2] = Math.ceil(n[2]), t;
      }

      function f(t, n) {
        return t[0] = Math.floor(n[0]), t[1] = Math.floor(n[1]), t[2] = Math.floor(n[2]), t;
      }

      function v(t, n, r) {
        return t[0] = Math.min(n[0], r[0]), t[1] = Math.min(n[1], r[1]), t[2] = Math.min(n[2], r[2]), t;
      }

      function l(t, n, r) {
        return t[0] = Math.max(n[0], r[0]), t[1] = Math.max(n[1], r[1]), t[2] = Math.max(n[2], r[2]), t;
      }

      function d(t, n) {
        return t[0] = Math.round(n[0]), t[1] = Math.round(n[1]), t[2] = Math.round(n[2]), t;
      }

      function m(t, n, r) {
        return t[0] = n[0] * r, t[1] = n[1] * r, t[2] = n[2] * r, t;
      }

      function b(t, n, r, a) {
        return t[0] = n[0] + r[0] * a, t[1] = n[1] + r[1] * a, t[2] = n[2] + r[2] * a, t;
      }

      function q(t, n) {
        var r = n[0] - t[0],
            a = n[1] - t[1],
            u = n[2] - t[2];
        return Math.sqrt(r * r + a * a + u * u);
      }

      function x(t, n) {
        var r = n[0] - t[0],
            a = n[1] - t[1],
            u = n[2] - t[2];
        return r * r + a * a + u * u;
      }

      function O(t) {
        var n = t[0],
            r = t[1],
            a = t[2];
        return n * n + r * r + a * a;
      }

      function P(t, n) {
        return t[0] = -n[0], t[1] = -n[1], t[2] = -n[2], t;
      }

      function p(t, n) {
        return t[0] = 1 / n[0], t[1] = 1 / n[1], t[2] = 1 / n[2], t;
      }

      function I(t, n) {
        var r = n[0],
            a = n[1],
            u = n[2],
            e = r * r + a * a + u * u;
        return e > 0 && (e = 1 / Math.sqrt(e), t[0] = n[0] * e, t[1] = n[1] * e, t[2] = n[2] * e), t;
      }

      function L(t, n) {
        return t[0] * n[0] + t[1] * n[1] + t[2] * n[2];
      }

      function N(t, n, r) {
        var a = n[0],
            u = n[1],
            e = n[2],
            o = r[0],
            i = r[1],
            c = r[2];
        return t[0] = u * c - e * i, t[1] = e * o - a * c, t[2] = a * i - u * o, t;
      }

      function g(t, n, r, a) {
        var u = n[0],
            e = n[1],
            o = n[2];
        return t[0] = u + a * (r[0] - u), t[1] = e + a * (r[1] - e), t[2] = o + a * (r[2] - o), t;
      }

      function A(t, n, r, a, u, e) {
        var o = e * e,
            i = o * (2 * e - 3) + 1,
            c = o * (e - 2) + e,
            s = o * (e - 1),
            M = o * (3 - 2 * e);
        return t[0] = n[0] * i + r[0] * c + a[0] * s + u[0] * M, t[1] = n[1] * i + r[1] * c + a[1] * s + u[1] * M, t[2] = n[2] * i + r[2] * c + a[2] * s + u[2] * M, t;
      }

      function D(t, n, r, a, u, e) {
        var o = 1 - e,
            i = o * o,
            c = e * e,
            s = i * o,
            M = 3 * e * i,
            h = 3 * c * o,
            f = c * e;
        return t[0] = n[0] * s + r[0] * M + a[0] * h + u[0] * f, t[1] = n[1] * s + r[1] * M + a[1] * h + u[1] * f, t[2] = n[2] * s + r[2] * M + a[2] * h + u[2] * f, t;
      }

      function E(t, n) {
        n = n || 1;
        var r = 2 * a.RANDOM() * Math.PI,
            u = 2 * a.RANDOM() - 1,
            e = Math.sqrt(1 - u * u) * n;
        return t[0] = Math.cos(r) * e, t[1] = Math.sin(r) * e, t[2] = u * n, t;
      }

      function y(t, n, r) {
        var a = n[0],
            u = n[1],
            e = n[2];
        return t[0] = r[0] * a + r[4] * u + r[8] * e + r[12], t[1] = r[1] * a + r[5] * u + r[9] * e + r[13], t[2] = r[2] * a + r[6] * u + r[10] * e + r[14], t;
      }

      function S(t, n, r) {
        var a = n[0],
            u = n[1],
            e = n[2];
        return t[0] = a * r[0] + u * r[3] + e * r[6], t[1] = a * r[1] + u * r[4] + e * r[7], t[2] = a * r[2] + u * r[5] + e * r[8], t;
      }

      function z(t, n, r) {
        var a = r[0],
            u = r[1],
            e = r[2],
            o = r[3],
            i = n[0],
            c = n[1],
            s = n[2],
            M = u * s - e * c,
            h = e * i - a * s,
            f = a * c - u * i,
            v = u * f - e * h,
            l = e * M - a * f,
            d = a * h - u * M,
            m = 2 * o;
        return M *= m, h *= m, f *= m, v *= 2, l *= 2, d *= 2, t[0] = i + M + v, t[1] = c + h + l, t[2] = s + f + d, t;
      }

      function R(t, n, r, a) {
        var u = [],
            e = [];
        return u[0] = n[0] - r[0], u[1] = n[1] - r[1], u[2] = n[2] - r[2], e[0] = u[0], e[1] = u[1] * Math.cos(a) - u[2] * Math.sin(a), e[2] = u[1] * Math.sin(a) + u[2] * Math.cos(a), t[0] = e[0] + r[0], t[1] = e[1] + r[1], t[2] = e[2] + r[2], t;
      }

      function _(t, n, r, a) {
        var u = [],
            e = [];
        return u[0] = n[0] - r[0], u[1] = n[1] - r[1], u[2] = n[2] - r[2], e[0] = u[2] * Math.sin(a) + u[0] * Math.cos(a), e[1] = u[1], e[2] = u[2] * Math.cos(a) - u[0] * Math.sin(a), t[0] = e[0] + r[0], t[1] = e[1] + r[1], t[2] = e[2] + r[2], t;
      }

      function j(t, n, r, a) {
        var u = [],
            e = [];
        return u[0] = n[0] - r[0], u[1] = n[1] - r[1], u[2] = n[2] - r[2], e[0] = u[0] * Math.cos(a) - u[1] * Math.sin(a), e[1] = u[0] * Math.sin(a) + u[1] * Math.cos(a), e[2] = u[2], t[0] = e[0] + r[0], t[1] = e[1] + r[1], t[2] = e[2] + r[2], t;
      }

      function Q(t, n) {
        e(k, t), e(w, n), I(k, k), I(w, w);
        var r = L(k, w);
        return r > 1 ? 0 : r < -1 ? Math.PI : Math.acos(r);
      }

      function X(t) {
        return "vec3(" + t[0] + ", " + t[1] + ", " + t[2] + ")";
      }

      function Y(t, n) {
        return t[0] === n[0] && t[1] === n[1] && t[2] === n[2];
      }

      function Z(t, n) {
        var r = t[0],
            u = t[1],
            e = t[2],
            o = n[0],
            i = n[1],
            c = n[2];
        return Math.abs(r - o) <= a.EPSILON * Math.max(1, Math.abs(r), Math.abs(o)) && Math.abs(u - i) <= a.EPSILON * Math.max(1, Math.abs(u), Math.abs(i)) && Math.abs(e - c) <= a.EPSILON * Math.max(1, Math.abs(e), Math.abs(c));
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.length = u, n.copy = e, n.set = o, n.add = i, n.subtract = c, n.multiply = s, n.divide = M, n.ceil = h, n.floor = f, n.min = v, n.max = l, n.round = d, n.scale = m, n.scaleAndAdd = b, n.distance = q, n.squaredDistance = x, n.squaredLength = O, n.negate = P, n.inverse = p, n.normalize = I, n.dot = L, n.cross = N, n.lerp = g, n.hermite = A, n.bezier = D, n.random = E, n.transformMat4 = y, n.transformMat3 = S, n.transformQuat = z, n.rotateX = R, n.rotateY = _, n.rotateZ = j, n.angle = Q;
      var k = r.create(),
          w = r.create();
      n.str = X, n.exactEquals = Y, n.equals = Z, n.sub = c, n.mul = s, n.div = M, n.dist = q, n.sqrDist = x, n.len = u, n.sqrLen = O;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/types/vec2.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/types/vec2.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2TypesVec2Js(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, n) {
      function r(e) {
        return e instanceof Float32Array && e.length >= 2;
      }

      function t(e) {
        return Array.isArray(e) && e.length >= 2;
      }

      function i(e) {
        return r(e) || t(e);
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Vec2Js(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__(
    /*! ./math/vec2 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec2.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.vec2 = t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Vec2f32Js(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__(
    /*! ./factories/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f32.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, f, r) {
      Object.defineProperty(f, "__esModule", {
        value: !0
      }), f.vec2f32 = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Vec2f64Js(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__(
    /*! ./factories/vec2f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec2f64.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, f, r) {
      Object.defineProperty(f, "__esModule", {
        value: !0
      }), f.vec2f64 = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Vec3Js(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__(
    /*! ./math/vec3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/vec3.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.vec3 = t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3f64.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3f64.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Vec3f64Js(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__(
    /*! ./factories/vec3f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec3f64.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, f, r) {
      Object.defineProperty(f, "__esModule", {
        value: !0
      }), f.vec3f64 = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsGlMatrix2Vec4f32Js(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__(
    /*! ./factories/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/factories/vec4f32.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, f, r) {
      Object.defineProperty(f, "__esModule", {
        value: !0
      }), f.vec4f32 = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/libtess/libtess.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/libtess/libtess.js ***!
    \*****************************************************************/

  /*! no static exports found */

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

    /**
       * @license
       * Copyright 2000, Silicon Graphics, Inc. All Rights Reserved.
       * Copyright 2015, Google Inc. All Rights Reserved.
       *
       * Permission is hereby granted, free of charge, to any person obtaining a copy
       * of this software and associated documentation files (the "Software"), to
       * deal in the Software without restriction, including without limitation the
       * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
       * sell copies of the Software, and to permit persons to whom the Software is
       * furnished to do so, subject to the following conditions:
       *
       * The above copyright notice including the dates of first publication and
       * either this permission notice or a reference to http://oss.sgi.com/projects/FreeB/
       * shall be included in all copies or substantial portions of the Software.
       *
       * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
       * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
       * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
       * IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
       *
       * Original Code. The Original Code is: OpenGL Sample Implementation,
       * Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
       * Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
       * Copyright in any portions created by third parties is as indicated
       * elsewhere herein. All Rights Reserved.
       */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
      "use strict";

      var e = {};
      return e.DEBUG = !1, e.assert = function (t, s) {
        if (e.DEBUG && !t) throw new Error("Assertion failed" + (s ? ": " + s : ""));
      }, e.GLU_TESS_MAX_COORD = 1e150, e.TRUE_PROJECT = !1, e.GLU_TESS_DEFAULT_TOLERANCE = 0, e.windingRule = {
        GLU_TESS_WINDING_ODD: 100130,
        GLU_TESS_WINDING_NONZERO: 100131,
        GLU_TESS_WINDING_POSITIVE: 100132,
        GLU_TESS_WINDING_NEGATIVE: 100133,
        GLU_TESS_WINDING_ABS_GEQ_TWO: 100134
      }, e.primitiveType = {
        GL_LINE_LOOP: 2,
        GL_TRIANGLES: 4,
        GL_TRIANGLE_STRIP: 5,
        GL_TRIANGLE_FAN: 6
      }, e.errorType = {
        GLU_TESS_MISSING_BEGIN_POLYGON: 100151,
        GLU_TESS_MISSING_END_POLYGON: 100153,
        GLU_TESS_MISSING_BEGIN_CONTOUR: 100152,
        GLU_TESS_MISSING_END_CONTOUR: 100154,
        GLU_TESS_COORD_TOO_LARGE: 100155,
        GLU_TESS_NEED_COMBINE_CALLBACK: 100156
      }, e.gluEnum = {
        GLU_TESS_BEGIN: 100100,
        GLU_TESS_VERTEX: 100101,
        GLU_TESS_END: 100102,
        GLU_TESS_ERROR: 100103,
        GLU_TESS_EDGE_FLAG: 100104,
        GLU_TESS_COMBINE: 100105,
        GLU_TESS_BEGIN_DATA: 100106,
        GLU_TESS_VERTEX_DATA: 100107,
        GLU_TESS_END_DATA: 100108,
        GLU_TESS_ERROR_DATA: 100109,
        GLU_TESS_EDGE_FLAG_DATA: 100110,
        GLU_TESS_COMBINE_DATA: 100111,
        GLU_TESS_MESH: 100112,
        GLU_TESS_TOLERANCE: 100142,
        GLU_TESS_WINDING_RULE: 100140,
        GLU_TESS_BOUNDARY_ONLY: 100141,
        GLU_INVALID_ENUM: 100900,
        GLU_INVALID_VALUE: 100901
      }, e.PQHandle, e.geom = {}, e.geom.vertEq = function (e, t) {
        return e.s === t.s && e.t === t.t;
      }, e.geom.vertLeq = function (e, t) {
        return e.s < t.s || e.s === t.s && e.t <= t.t;
      }, e.geom.edgeEval = function (t, s, r) {
        e.assert(e.geom.vertLeq(t, s) && e.geom.vertLeq(s, r));
        var i = s.s - t.s,
            n = r.s - s.s;
        return i + n > 0 ? i < n ? s.t - t.t + (t.t - r.t) * (i / (i + n)) : s.t - r.t + (r.t - t.t) * (n / (i + n)) : 0;
      }, e.geom.edgeSign = function (t, s, r) {
        e.assert(e.geom.vertLeq(t, s) && e.geom.vertLeq(s, r));
        var i = s.s - t.s,
            n = r.s - s.s;
        return i + n > 0 ? (s.t - r.t) * i + (s.t - t.t) * n : 0;
      }, e.geom.transLeq = function (e, t) {
        return e.t < t.t || e.t === t.t && e.s <= t.s;
      }, e.geom.transEval = function (t, s, r) {
        e.assert(e.geom.transLeq(t, s) && e.geom.transLeq(s, r));
        var i = s.t - t.t,
            n = r.t - s.t;
        return i + n > 0 ? i < n ? s.s - t.s + (t.s - r.s) * (i / (i + n)) : s.s - r.s + (r.s - t.s) * (n / (i + n)) : 0;
      }, e.geom.transSign = function (t, s, r) {
        e.assert(e.geom.transLeq(t, s) && e.geom.transLeq(s, r));
        var i = s.t - t.t,
            n = r.t - s.t;
        return i + n > 0 ? (s.s - r.s) * i + (s.s - t.s) * n : 0;
      }, e.geom.edgeGoesLeft = function (t) {
        return e.geom.vertLeq(t.dst(), t.org);
      }, e.geom.edgeGoesRight = function (t) {
        return e.geom.vertLeq(t.org, t.dst());
      }, e.geom.vertL1dist = function (e, t) {
        return Math.abs(e.s - t.s) + Math.abs(e.t - t.t);
      }, e.geom.vertCCW = function (e, t, s) {
        return e.s * (t.t - s.t) + t.s * (s.t - e.t) + s.s * (e.t - t.t) >= 0;
      }, e.geom.interpolate_ = function (e, t, s, r) {
        return e = e < 0 ? 0 : e, s = s < 0 ? 0 : s, e <= s ? 0 === s ? (t + r) / 2 : t + e / (e + s) * (r - t) : r + s / (e + s) * (t - r);
      }, e.geom.edgeIntersect = function (t, s, r, i, n) {
        var o, a, l;
        e.geom.vertLeq(t, s) || (l = t, t = s, s = l), e.geom.vertLeq(r, i) || (l = r, r = i, i = l), e.geom.vertLeq(t, r) || (l = t, t = r, r = l, l = s, s = i, i = l), e.geom.vertLeq(r, s) ? e.geom.vertLeq(s, i) ? (o = e.geom.edgeEval(t, r, s), a = e.geom.edgeEval(r, s, i), o + a < 0 && (o = -o, a = -a), n.s = e.geom.interpolate_(o, r.s, a, s.s)) : (o = e.geom.edgeSign(t, r, s), a = -e.geom.edgeSign(t, i, s), o + a < 0 && (o = -o, a = -a), n.s = e.geom.interpolate_(o, r.s, a, i.s)) : n.s = (r.s + s.s) / 2, e.geom.transLeq(t, s) || (l = t, t = s, s = l), e.geom.transLeq(r, i) || (l = r, r = i, i = l), e.geom.transLeq(t, r) || (l = t, t = r, r = l, l = s, s = i, i = l), e.geom.transLeq(r, s) ? e.geom.transLeq(s, i) ? (o = e.geom.transEval(t, r, s), a = e.geom.transEval(r, s, i), o + a < 0 && (o = -o, a = -a), n.t = e.geom.interpolate_(o, r.t, a, s.t)) : (o = e.geom.transSign(t, r, s), a = -e.geom.transSign(t, i, s), o + a < 0 && (o = -o, a = -a), n.t = e.geom.interpolate_(o, r.t, a, i.t)) : n.t = (r.t + s.t) / 2;
      }, e.mesh = {}, e.mesh.makeEdge = function (t) {
        var s = e.mesh.makeEdgePair_(t.eHead);
        return e.mesh.makeVertex_(s, t.vHead), e.mesh.makeVertex_(s.sym, t.vHead), e.mesh.makeFace_(s, t.fHead), s;
      }, e.mesh.meshSplice = function (t, s) {
        var r = !1,
            i = !1;
        t !== s && (s.org !== t.org && (i = !0, e.mesh.killVertex_(s.org, t.org)), s.lFace !== t.lFace && (r = !0, e.mesh.killFace_(s.lFace, t.lFace)), e.mesh.splice_(s, t), i || (e.mesh.makeVertex_(s, t.org), t.org.anEdge = t), r || (e.mesh.makeFace_(s, t.lFace), t.lFace.anEdge = t));
      }, e.mesh.deleteEdge = function (t) {
        var s = t.sym,
            r = !1;
        t.lFace !== t.rFace() && (r = !0, e.mesh.killFace_(t.lFace, t.rFace())), t.oNext === t ? e.mesh.killVertex_(t.org, null) : (t.rFace().anEdge = t.oPrev(), t.org.anEdge = t.oNext, e.mesh.splice_(t, t.oPrev()), r || e.mesh.makeFace_(t, t.lFace)), s.oNext === s ? (e.mesh.killVertex_(s.org, null), e.mesh.killFace_(s.lFace, null)) : (t.lFace.anEdge = s.oPrev(), s.org.anEdge = s.oNext, e.mesh.splice_(s, s.oPrev())), e.mesh.killEdge_(t);
      }, e.mesh.addEdgeVertex = function (t) {
        var s = e.mesh.makeEdgePair_(t),
            r = s.sym;
        return e.mesh.splice_(s, t.lNext), s.org = t.dst(), e.mesh.makeVertex_(r, s.org), s.lFace = r.lFace = t.lFace, s;
      }, e.mesh.splitEdge = function (t) {
        var s = e.mesh.addEdgeVertex(t),
            r = s.sym;
        return e.mesh.splice_(t.sym, t.sym.oPrev()), e.mesh.splice_(t.sym, r), t.sym.org = r.org, r.dst().anEdge = r.sym, r.sym.lFace = t.rFace(), r.winding = t.winding, r.sym.winding = t.sym.winding, r;
      }, e.mesh.connect = function (t, s) {
        var r = !1,
            i = e.mesh.makeEdgePair_(t),
            n = i.sym;
        return s.lFace !== t.lFace && (r = !0, e.mesh.killFace_(s.lFace, t.lFace)), e.mesh.splice_(i, t.lNext), e.mesh.splice_(n, s), i.org = t.dst(), n.org = s.org, i.lFace = n.lFace = t.lFace, t.lFace.anEdge = n, r || e.mesh.makeFace_(i, t.lFace), i;
      }, e.mesh.zapFace = function (t) {
        var s,
            r = t.anEdge,
            i = r.lNext;

        do {
          if (s = i, i = s.lNext, s.lFace = null, null === s.rFace()) {
            s.oNext === s ? e.mesh.killVertex_(s.org, null) : (s.org.anEdge = s.oNext, e.mesh.splice_(s, s.oPrev()));
            var n = s.sym;
            n.oNext === n ? e.mesh.killVertex_(n.org, null) : (n.org.anEdge = n.oNext, e.mesh.splice_(n, n.oPrev())), e.mesh.killEdge_(s);
          }
        } while (s !== r);

        var o = t.prev,
            a = t.next;
        a.prev = o, o.next = a;
      }, e.mesh.meshUnion = function (e, t) {
        var s = e.fHead,
            r = e.vHead,
            i = e.eHead,
            n = t.fHead,
            o = t.vHead,
            a = t.eHead;
        return n.next !== n && (s.prev.next = n.next, n.next.prev = s.prev, n.prev.next = s, s.prev = n.prev), o.next !== o && (r.prev.next = o.next, o.next.prev = r.prev, o.prev.next = r, r.prev = o.prev), a.next !== a && (i.sym.next.sym.next = a.next, a.next.sym.next = i.sym.next, a.sym.next.sym.next = i, i.sym.next = a.sym.next), e;
      }, e.mesh.deleteMesh = function (e) {}, e.mesh.makeEdgePair_ = function (t) {
        var s = new e.GluHalfEdge(),
            r = new e.GluHalfEdge(),
            i = t.sym.next;
        return r.next = i, i.sym.next = s, s.next = t, t.sym.next = r, s.sym = r, s.oNext = s, s.lNext = r, r.sym = s, r.oNext = r, r.lNext = s, s;
      }, e.mesh.splice_ = function (e, t) {
        var s = e.oNext,
            r = t.oNext;
        s.sym.lNext = t, r.sym.lNext = e, e.oNext = r, t.oNext = s;
      }, e.mesh.makeVertex_ = function (t, s) {
        var r = s.prev,
            i = new e.GluVertex(s, r);
        r.next = i, s.prev = i, i.anEdge = t;
        var n = t;

        do {
          n.org = i, n = n.oNext;
        } while (n !== t);
      }, e.mesh.makeFace_ = function (t, s) {
        var r = s.prev,
            i = new e.GluFace(s, r);
        r.next = i, s.prev = i, i.anEdge = t, i.inside = s.inside;
        var n = t;

        do {
          n.lFace = i, n = n.lNext;
        } while (n !== t);
      }, e.mesh.killEdge_ = function (e) {
        var t = e.next,
            s = e.sym.next;
        t.sym.next = s, s.sym.next = t;
      }, e.mesh.killVertex_ = function (e, t) {
        var s = e.anEdge,
            r = s;

        do {
          r.org = t, r = r.oNext;
        } while (r !== s);

        var i = e.prev,
            n = e.next;
        n.prev = i, i.next = n;
      }, e.mesh.killFace_ = function (e, t) {
        var s = e.anEdge,
            r = s;

        do {
          r.lFace = t, r = r.lNext;
        } while (r !== s);

        var i = e.prev,
            n = e.next;
        n.prev = i, i.next = n;
      }, e.normal = {}, e.normal.S_UNIT_X_ = 1, e.normal.S_UNIT_Y_ = 0, e.normal.projectPolygon = function (t, s, r, i) {
        var n = !1,
            o = [s, r, i];
        0 === s && 0 === r && 0 === i && (e.normal.computeNormal_(t, o), n = !0);
        var a,
            l = e.normal.longAxis_(o),
            _ = t.mesh.vHead;

        if (e.TRUE_PROJECT) {
          e.normal.normalize_(o);
          var g = [0, 0, 0],
              d = [0, 0, 0];
          g[l] = 0, g[(l + 1) % 3] = e.normal.S_UNIT_X_, g[(l + 2) % 3] = e.normal.S_UNIT_Y_;
          var h = e.normal.dot_(g, o);

          for (g[0] -= h * o[0], g[1] -= h * o[1], g[2] -= h * o[2], e.normal.normalize_(g), d[0] = o[1] * g[2] - o[2] * g[1], d[1] = o[2] * g[0] - o[0] * g[2], d[2] = o[0] * g[1] - o[1] * g[0], e.normal.normalize_(d), a = _.next; a !== _; a = a.next) a.s = e.normal.dot_(a.coords, g), a.t = e.normal.dot_(a.coords, d);
        } else {
          var c = (l + 1) % 3,
              u = (l + 2) % 3,
              p = o[l] > 0 ? 1 : -1;

          for (a = _.next; a !== _; a = a.next) a.s = a.coords[c], a.t = p * a.coords[u];
        }

        n && e.normal.checkOrientation_(t);
      }, e.normal.dot_ = function (e, t) {
        return e[0] * t[0] + e[1] * t[1] + e[2] * t[2];
      }, e.normal.normalize_ = function (t) {
        var s = t[0] * t[0] + t[1] * t[1] + t[2] * t[2];
        e.assert(s > 0), s = Math.sqrt(s), t[0] /= s, t[1] /= s, t[2] /= s;
      }, e.normal.longAxis_ = function (e) {
        var t = 0;
        return Math.abs(e[1]) > Math.abs(e[0]) && (t = 1), Math.abs(e[2]) > Math.abs(e[t]) && (t = 2), t;
      }, e.normal.computeNormal_ = function (t, s) {
        var r,
            i = [-2 * e.GLU_TESS_MAX_COORD, -2 * e.GLU_TESS_MAX_COORD, -2 * e.GLU_TESS_MAX_COORD],
            n = [2 * e.GLU_TESS_MAX_COORD, 2 * e.GLU_TESS_MAX_COORD, 2 * e.GLU_TESS_MAX_COORD],
            o = [],
            a = [],
            l = t.mesh.vHead;

        for (r = l.next; r !== l; r = r.next) for (var _ = 0; _ < 3; ++_) {
          var g = r.coords[_];
          g < n[_] && (n[_] = g, a[_] = r), g > i[_] && (i[_] = g, o[_] = r);
        }

        var d = 0;
        if (i[1] - n[1] > i[0] - n[0] && (d = 1), i[2] - n[2] > i[d] - n[d] && (d = 2), n[d] >= i[d]) return s[0] = 0, s[1] = 0, void (s[2] = 1);
        var h = 0,
            c = a[d],
            u = o[d],
            p = [0, 0, 0],
            m = [c.coords[0] - u.coords[0], c.coords[1] - u.coords[1], c.coords[2] - u.coords[2]],
            E = [0, 0, 0];

        for (r = l.next; r !== l; r = r.next) {
          E[0] = r.coords[0] - u.coords[0], E[1] = r.coords[1] - u.coords[1], E[2] = r.coords[2] - u.coords[2], p[0] = m[1] * E[2] - m[2] * E[1], p[1] = m[2] * E[0] - m[0] * E[2], p[2] = m[0] * E[1] - m[1] * E[0];
          var v = p[0] * p[0] + p[1] * p[1] + p[2] * p[2];
          v > h && (h = v, s[0] = p[0], s[1] = p[1], s[2] = p[2]);
        }

        h <= 0 && (s[0] = s[1] = s[2] = 0, s[e.normal.longAxis_(m)] = 1);
      }, e.normal.checkOrientation_ = function (e) {
        for (var t = 0, s = e.mesh.fHead, r = s.next; r !== s; r = r.next) {
          var i = r.anEdge;
          if (!(i.winding <= 0)) do {
            t += (i.org.s - i.dst().s) * (i.org.t + i.dst().t), i = i.lNext;
          } while (i !== r.anEdge);
        }

        if (t < 0) for (var n = e.mesh.vHead, o = n.next; o !== n; o = o.next) o.t = -o.t;
      }, e.render = {}, e.render.renderMesh = function (t, s, r) {
        for (var i = !1, n = -1, o = s.fHead.prev; o !== s.fHead; o = o.prev) if (o.inside) {
          i || (t.callBeginCallback(e.primitiveType.GL_TRIANGLES), i = !0);
          var a = o.anEdge;
          e.assert(a.lNext.lNext.lNext === a, "renderMesh called with non-triangulated mesh");

          do {
            if (r) {
              var l = a.rFace().inside ? 0 : 1;
              n !== l && (n = l, t.callEdgeFlagCallback(!!n));
            }

            t.callVertexCallback(a.org.data), a = a.lNext;
          } while (a !== o.anEdge);
        }

        i && t.callEndCallback();
      }, e.render.renderBoundary = function (t, s) {
        for (var r = s.fHead.next; r !== s.fHead; r = r.next) if (r.inside) {
          t.callBeginCallback(e.primitiveType.GL_LINE_LOOP);
          var i = r.anEdge;

          do {
            t.callVertexCallback(i.org.data), i = i.lNext;
          } while (i !== r.anEdge);

          t.callEndCallback();
        }
      }, e.sweep = {}, e.sweep.SENTINEL_COORD_ = 4 * e.GLU_TESS_MAX_COORD, e.sweep.TOLERANCE_NONZERO_ = !1, e.sweep.computeInterior = function (t) {
        t.fatalError = !1, e.sweep.removeDegenerateEdges_(t), e.sweep.initPriorityQ_(t), e.sweep.initEdgeDict_(t);

        for (var s; null !== (s = t.pq.extractMin());) {
          for (;;) {
            var r = t.pq.minimum();
            if (null === r || !e.geom.vertEq(r, s)) break;
            r = t.pq.extractMin(), e.sweep.spliceMergeVertices_(t, s.anEdge, r.anEdge);
          }

          e.sweep.sweepEvent_(t, s);
        }

        var i = t.dict.getMin().getKey();
        t.event = i.eUp.org, e.sweep.doneEdgeDict_(t), e.sweep.donePriorityQ_(t), e.sweep.removeDegenerateFaces_(t.mesh), t.mesh.checkMesh();
      }, e.sweep.addWinding_ = function (e, t) {
        e.winding += t.winding, e.sym.winding += t.sym.winding;
      }, e.sweep.edgeLeq_ = function (t, s, r) {
        var i = t.event,
            n = s.eUp,
            o = r.eUp;
        return n.dst() === i ? o.dst() === i ? e.geom.vertLeq(n.org, o.org) ? e.geom.edgeSign(o.dst(), n.org, o.org) <= 0 : e.geom.edgeSign(n.dst(), o.org, n.org) >= 0 : e.geom.edgeSign(o.dst(), i, o.org) <= 0 : o.dst() === i ? e.geom.edgeSign(n.dst(), i, n.org) >= 0 : e.geom.edgeEval(n.dst(), i, n.org) >= e.geom.edgeEval(o.dst(), i, o.org);
      }, e.sweep.deleteRegion_ = function (t, s) {
        s.fixUpperEdge && e.assert(0 === s.eUp.winding), s.eUp.activeRegion = null, t.dict.deleteNode(s.nodeUp), s.nodeUp = null;
      }, e.sweep.fixUpperEdge_ = function (t, s) {
        e.assert(t.fixUpperEdge), e.mesh.deleteEdge(t.eUp), t.fixUpperEdge = !1, t.eUp = s, s.activeRegion = t;
      }, e.sweep.topLeftRegion_ = function (t) {
        var s = t.eUp.org;

        do {
          t = t.regionAbove();
        } while (t.eUp.org === s);

        if (t.fixUpperEdge) {
          var r = e.mesh.connect(t.regionBelow().eUp.sym, t.eUp.lNext);
          e.sweep.fixUpperEdge_(t, r), t = t.regionAbove();
        }

        return t;
      }, e.sweep.topRightRegion_ = function (e) {
        var t = e.eUp.dst();

        do {
          e = e.regionAbove();
        } while (e.eUp.dst() === t);

        return e;
      }, e.sweep.addRegionBelow_ = function (t, s, r) {
        var i = new e.ActiveRegion();
        return i.eUp = r, i.nodeUp = t.dict.insertBefore(s.nodeUp, i), r.activeRegion = i, i;
      }, e.sweep.isWindingInside_ = function (t, s) {
        switch (t.windingRule) {
          case e.windingRule.GLU_TESS_WINDING_ODD:
            return 0 != (1 & s);

          case e.windingRule.GLU_TESS_WINDING_NONZERO:
            return 0 !== s;

          case e.windingRule.GLU_TESS_WINDING_POSITIVE:
            return s > 0;

          case e.windingRule.GLU_TESS_WINDING_NEGATIVE:
            return s < 0;

          case e.windingRule.GLU_TESS_WINDING_ABS_GEQ_TWO:
            return s >= 2 || s <= -2;
        }

        return e.assert(!1), !1;
      }, e.sweep.computeWinding_ = function (t, s) {
        s.windingNumber = s.regionAbove().windingNumber + s.eUp.winding, s.inside = e.sweep.isWindingInside_(t, s.windingNumber);
      }, e.sweep.finishRegion_ = function (t, s) {
        var r = s.eUp,
            i = r.lFace;
        i.inside = s.inside, i.anEdge = r, e.sweep.deleteRegion_(t, s);
      }, e.sweep.finishLeftRegions_ = function (t, s, r) {
        for (var i = s, n = s.eUp; i !== r;) {
          i.fixUpperEdge = !1;
          var o = i.regionBelow(),
              a = o.eUp;

          if (a.org !== n.org) {
            if (!o.fixUpperEdge) {
              e.sweep.finishRegion_(t, i);
              break;
            }

            a = e.mesh.connect(n.lPrev(), a.sym), e.sweep.fixUpperEdge_(o, a);
          }

          n.oNext !== a && (e.mesh.meshSplice(a.oPrev(), a), e.mesh.meshSplice(n, a)), e.sweep.finishRegion_(t, i), n = o.eUp, i = o;
        }

        return n;
      }, e.sweep.addRightEdges_ = function (t, s, r, i, n, o) {
        var a = !0,
            l = r;

        do {
          e.assert(e.geom.vertLeq(l.org, l.dst())), e.sweep.addRegionBelow_(t, s, l.sym), l = l.oNext;
        } while (l !== i);

        null === n && (n = s.regionBelow().eUp.rPrev());

        for (var _, g = s, d = n; _ = g.regionBelow(), l = _.eUp.sym, l.org === d.org;) l.oNext !== d && (e.mesh.meshSplice(l.oPrev(), l), e.mesh.meshSplice(d.oPrev(), l)), _.windingNumber = g.windingNumber - l.winding, _.inside = e.sweep.isWindingInside_(t, _.windingNumber), g.dirty = !0, !a && e.sweep.checkForRightSplice_(t, g) && (e.sweep.addWinding_(l, d), e.sweep.deleteRegion_(t, g), e.mesh.deleteEdge(d)), a = !1, g = _, d = l;

        g.dirty = !0, e.assert(g.windingNumber - l.winding === _.windingNumber), o && e.sweep.walkDirtyRegions_(t, g);
      }, e.sweep.callCombine_ = function (t, s, r, i, n) {
        var o = [s.coords[0], s.coords[1], s.coords[2]];
        s.data = null, s.data = t.callCombineCallback(o, r, i), null === s.data && (n ? t.fatalError || (t.callErrorCallback(e.errorType.GLU_TESS_NEED_COMBINE_CALLBACK), t.fatalError = !0) : s.data = r[0]);
      }, e.sweep.spliceMergeVertices_ = function (t, s, r) {
        var i = [null, null, null, null],
            n = [.5, .5, 0, 0];
        i[0] = s.org.data, i[1] = r.org.data, e.sweep.callCombine_(t, s.org, i, n, !1), e.mesh.meshSplice(s, r);
      }, e.sweep.vertexWeights_ = function (t, s, r, i, n) {
        var o = e.geom.vertL1dist(s, t),
            a = e.geom.vertL1dist(r, t),
            l = n,
            _ = n + 1;

        i[l] = .5 * a / (o + a), i[_] = .5 * o / (o + a), t.coords[0] += i[l] * s.coords[0] + i[_] * r.coords[0], t.coords[1] += i[l] * s.coords[1] + i[_] * r.coords[1], t.coords[2] += i[l] * s.coords[2] + i[_] * r.coords[2];
      }, e.sweep.getIntersectData_ = function (t, s, r, i, n, o) {
        var a = [0, 0, 0, 0],
            l = [r.data, i.data, n.data, o.data];
        s.coords[0] = s.coords[1] = s.coords[2] = 0, e.sweep.vertexWeights_(s, r, i, a, 0), e.sweep.vertexWeights_(s, n, o, a, 2), e.sweep.callCombine_(t, s, l, a, !0);
      }, e.sweep.checkForRightSplice_ = function (t, s) {
        var r = s.regionBelow(),
            i = s.eUp,
            n = r.eUp;

        if (e.geom.vertLeq(i.org, n.org)) {
          if (e.geom.edgeSign(n.dst(), i.org, n.org) > 0) return !1;
          e.geom.vertEq(i.org, n.org) ? i.org !== n.org && (t.pq.remove(i.org.pqHandle), e.sweep.spliceMergeVertices_(t, n.oPrev(), i)) : (e.mesh.splitEdge(n.sym), e.mesh.meshSplice(i, n.oPrev()), s.dirty = r.dirty = !0);
        } else {
          if (e.geom.edgeSign(i.dst(), n.org, i.org) < 0) return !1;
          s.regionAbove().dirty = s.dirty = !0, e.mesh.splitEdge(i.sym), e.mesh.meshSplice(n.oPrev(), i);
        }

        return !0;
      }, e.sweep.checkForLeftSplice_ = function (t, s) {
        var r,
            i = s.regionBelow(),
            n = s.eUp,
            o = i.eUp;

        if (e.assert(!e.geom.vertEq(n.dst(), o.dst())), e.geom.vertLeq(n.dst(), o.dst())) {
          if (e.geom.edgeSign(n.dst(), o.dst(), n.org) < 0) return !1;
          s.regionAbove().dirty = s.dirty = !0, r = e.mesh.splitEdge(n), e.mesh.meshSplice(o.sym, r), r.lFace.inside = s.inside;
        } else {
          if (e.geom.edgeSign(o.dst(), n.dst(), o.org) > 0) return !1;
          s.dirty = i.dirty = !0, r = e.mesh.splitEdge(o), e.mesh.meshSplice(n.lNext, o.sym), r.rFace().inside = s.inside;
        }

        return !0;
      }, e.sweep.checkForIntersect_ = function (t, s) {
        var r = s.regionBelow(),
            i = s.eUp,
            n = r.eUp,
            o = i.org,
            a = n.org,
            l = i.dst(),
            _ = n.dst(),
            g = new e.GluVertex();

        if (e.assert(!e.geom.vertEq(_, l)), e.assert(e.geom.edgeSign(l, t.event, o) <= 0), e.assert(e.geom.edgeSign(_, t.event, a) >= 0), e.assert(o !== t.event && a !== t.event), e.assert(!s.fixUpperEdge && !r.fixUpperEdge), o === a) return !1;
        if (Math.min(o.t, l.t) > Math.max(a.t, _.t)) return !1;

        if (e.geom.vertLeq(o, a)) {
          if (e.geom.edgeSign(_, o, a) > 0) return !1;
        } else if (e.geom.edgeSign(l, a, o) < 0) return !1;

        e.geom.edgeIntersect(l, o, _, a, g), e.assert(Math.min(o.t, l.t) <= g.t), e.assert(g.t <= Math.max(a.t, _.t)), e.assert(Math.min(_.s, l.s) <= g.s), e.assert(g.s <= Math.max(a.s, o.s)), e.geom.vertLeq(g, t.event) && (g.s = t.event.s, g.t = t.event.t);
        var d = e.geom.vertLeq(o, a) ? o : a;
        if (e.geom.vertLeq(d, g) && (g.s = d.s, g.t = d.t), e.geom.vertEq(g, o) || e.geom.vertEq(g, a)) return e.sweep.checkForRightSplice_(t, s), !1;

        if (!e.geom.vertEq(l, t.event) && e.geom.edgeSign(l, t.event, g) >= 0 || !e.geom.vertEq(_, t.event) && e.geom.edgeSign(_, t.event, g) <= 0) {
          if (_ === t.event) return e.mesh.splitEdge(i.sym), e.mesh.meshSplice(n.sym, i), s = e.sweep.topLeftRegion_(s), i = s.regionBelow().eUp, e.sweep.finishLeftRegions_(t, s.regionBelow(), r), e.sweep.addRightEdges_(t, s, i.oPrev(), i, i, !0), !0;

          if (l === t.event) {
            e.mesh.splitEdge(n.sym), e.mesh.meshSplice(i.lNext, n.oPrev()), r = s, s = e.sweep.topRightRegion_(s);
            var h = s.regionBelow().eUp.rPrev();
            return r.eUp = n.oPrev(), n = e.sweep.finishLeftRegions_(t, r, null), e.sweep.addRightEdges_(t, s, n.oNext, i.rPrev(), h, !0), !0;
          }

          return e.geom.edgeSign(l, t.event, g) >= 0 && (s.regionAbove().dirty = s.dirty = !0, e.mesh.splitEdge(i.sym), i.org.s = t.event.s, i.org.t = t.event.t), e.geom.edgeSign(_, t.event, g) <= 0 && (s.dirty = r.dirty = !0, e.mesh.splitEdge(n.sym), n.org.s = t.event.s, n.org.t = t.event.t), !1;
        }

        return e.mesh.splitEdge(i.sym), e.mesh.splitEdge(n.sym), e.mesh.meshSplice(n.oPrev(), i), i.org.s = g.s, i.org.t = g.t, i.org.pqHandle = t.pq.insert(i.org), e.sweep.getIntersectData_(t, i.org, o, l, a, _), s.regionAbove().dirty = s.dirty = r.dirty = !0, !1;
      }, e.sweep.walkDirtyRegions_ = function (t, s) {
        for (var r = s.regionBelow();;) {
          for (; r.dirty;) s = r, r = r.regionBelow();

          if (!s.dirty && (r = s, null === (s = s.regionAbove()) || !s.dirty)) return;
          s.dirty = !1;
          var i = s.eUp,
              n = r.eUp;
          if (i.dst() !== n.dst() && e.sweep.checkForLeftSplice_(t, s) && (r.fixUpperEdge ? (e.sweep.deleteRegion_(t, r), e.mesh.deleteEdge(n), r = s.regionBelow(), n = r.eUp) : s.fixUpperEdge && (e.sweep.deleteRegion_(t, s), e.mesh.deleteEdge(i), s = r.regionAbove(), i = s.eUp)), i.org !== n.org) if (i.dst() === n.dst() || s.fixUpperEdge || r.fixUpperEdge || i.dst() !== t.event && n.dst() !== t.event) e.sweep.checkForRightSplice_(t, s);else if (e.sweep.checkForIntersect_(t, s)) return;
          i.org === n.org && i.dst() === n.dst() && (e.sweep.addWinding_(n, i), e.sweep.deleteRegion_(t, s), e.mesh.deleteEdge(i), s = r.regionAbove());
        }
      }, e.sweep.connectRightVertex_ = function (t, s, r) {
        var i = r.oNext,
            n = s.regionBelow(),
            o = s.eUp,
            a = n.eUp,
            l = !1;
        if (o.dst() !== a.dst() && e.sweep.checkForIntersect_(t, s), e.geom.vertEq(o.org, t.event) && (e.mesh.meshSplice(i.oPrev(), o), s = e.sweep.topLeftRegion_(s), i = s.regionBelow().eUp, e.sweep.finishLeftRegions_(t, s.regionBelow(), n), l = !0), e.geom.vertEq(a.org, t.event) && (e.mesh.meshSplice(r, a.oPrev()), r = e.sweep.finishLeftRegions_(t, n, null), l = !0), l) return void e.sweep.addRightEdges_(t, s, r.oNext, i, i, !0);

        var _;

        _ = e.geom.vertLeq(a.org, o.org) ? a.oPrev() : o, _ = e.mesh.connect(r.lPrev(), _), e.sweep.addRightEdges_(t, s, _, _.oNext, _.oNext, !1), _.sym.activeRegion.fixUpperEdge = !0, e.sweep.walkDirtyRegions_(t, s);
      }, e.sweep.connectLeftDegenerate_ = function (t, s, r) {
        var i = s.eUp;
        if (e.geom.vertEq(i.org, r)) return e.assert(e.sweep.TOLERANCE_NONZERO_), void (e.sweep.TOLERANCE_NONZERO_ && e.sweep.spliceMergeVertices_(t, i, r.anEdge));
        if (!e.geom.vertEq(i.dst(), r)) return e.mesh.splitEdge(i.sym), s.fixUpperEdge && (e.mesh.deleteEdge(i.oNext), s.fixUpperEdge = !1), e.mesh.meshSplice(r.anEdge, i), void e.sweep.sweepEvent_(t, r);

        if (e.assert(e.sweep.TOLERANCE_NONZERO_), e.sweep.TOLERANCE_NONZERO_) {
          s = e.sweep.topRightRegion_(s);
          var n = s.regionBelow(),
              o = n.eUp.sym,
              a = o.oNext,
              l = a;
          n.fixUpperEdge && (e.assert(a !== o), e.sweep.deleteRegion_(t, n), e.mesh.deleteEdge(o), o = a.oPrev()), e.mesh.meshSplice(r.anEdge, o), e.geom.edgeGoesLeft(a) || (a = null), e.sweep.addRightEdges_(t, s, o.oNext, l, a, !0);
        }
      }, e.sweep.connectLeftVertex_ = function (t, s) {
        var r = new e.ActiveRegion();
        r.eUp = s.anEdge.sym;
        var i = t.dict.search(r).getKey(),
            n = i.regionBelow(),
            o = i.eUp,
            a = n.eUp;
        if (0 === e.geom.edgeSign(o.dst(), s, o.org)) return void e.sweep.connectLeftDegenerate_(t, i, s);

        var l,
            _ = e.geom.vertLeq(a.dst(), o.dst()) ? i : n;

        if (i.inside || _.fixUpperEdge) {
          if (_ === i) l = e.mesh.connect(s.anEdge.sym, o.lNext);else {
            l = e.mesh.connect(a.dNext(), s.anEdge).sym;
          }
          _.fixUpperEdge ? e.sweep.fixUpperEdge_(_, l) : e.sweep.computeWinding_(t, e.sweep.addRegionBelow_(t, i, l)), e.sweep.sweepEvent_(t, s);
        } else e.sweep.addRightEdges_(t, i, s.anEdge, s.anEdge, null, !0);
      }, e.sweep.sweepEvent_ = function (t, s) {
        t.event = s;

        for (var r = s.anEdge; null === r.activeRegion;) if ((r = r.oNext) === s.anEdge) return void e.sweep.connectLeftVertex_(t, s);

        var i = e.sweep.topLeftRegion_(r.activeRegion),
            n = i.regionBelow(),
            o = n.eUp,
            a = e.sweep.finishLeftRegions_(t, n, null);
        a.oNext === o ? e.sweep.connectRightVertex_(t, i, a) : e.sweep.addRightEdges_(t, i, a.oNext, o, o, !0);
      }, e.sweep.addSentinel_ = function (t, s) {
        var r = new e.ActiveRegion(),
            i = e.mesh.makeEdge(t.mesh);
        i.org.s = e.sweep.SENTINEL_COORD_, i.org.t = s, i.dst().s = -e.sweep.SENTINEL_COORD_, i.dst().t = s, t.event = i.dst(), r.eUp = i, r.windingNumber = 0, r.inside = !1, r.fixUpperEdge = !1, r.sentinel = !0, r.dirty = !1, r.nodeUp = t.dict.insert(r);
      }, e.sweep.initEdgeDict_ = function (t) {
        t.dict = new e.Dict(t, e.sweep.edgeLeq_), e.sweep.addSentinel_(t, -e.sweep.SENTINEL_COORD_), e.sweep.addSentinel_(t, e.sweep.SENTINEL_COORD_);
      }, e.sweep.doneEdgeDict_ = function (t) {
        for (var s, r = 0; null !== (s = t.dict.getMin().getKey());) s.sentinel || (e.assert(s.fixUpperEdge), e.assert(1 == ++r)), e.assert(0 === s.windingNumber), e.sweep.deleteRegion_(t, s);

        t.dict = null;
      }, e.sweep.removeDegenerateEdges_ = function (t) {
        for (var s, r = t.mesh.eHead, i = r.next; i !== r; i = s) {
          s = i.next;
          var n = i.lNext;
          e.geom.vertEq(i.org, i.dst()) && i.lNext.lNext !== i && (e.sweep.spliceMergeVertices_(t, n, i), e.mesh.deleteEdge(i), i = n, n = i.lNext), n.lNext === i && (n !== i && (n !== s && n !== s.sym || (s = s.next), e.mesh.deleteEdge(n)), i !== s && i !== s.sym || (s = s.next), e.mesh.deleteEdge(i));
        }
      }, e.sweep.initPriorityQ_ = function (t) {
        var s = new e.PriorityQ();
        t.pq = s;
        var r,
            i = t.mesh.vHead;

        for (r = i.next; r !== i; r = r.next) r.pqHandle = s.insert(r);

        s.init();
      }, e.sweep.donePriorityQ_ = function (e) {
        e.pq.deleteQ(), e.pq = null;
      }, e.sweep.removeDegenerateFaces_ = function (t) {
        for (var s, r = t.fHead.next; r !== t.fHead; r = s) {
          s = r.next;
          var i = r.anEdge;
          e.assert(i.lNext !== i), i.lNext.lNext === i && (e.sweep.addWinding_(i.oNext, i), e.mesh.deleteEdge(i));
        }
      }, e.tessmono = {}, e.tessmono.tessellateMonoRegion_ = function (t) {
        var s = t.anEdge;

        for (e.assert(s.lNext !== s && s.lNext.lNext !== s); e.geom.vertLeq(s.dst(), s.org); s = s.lPrev());

        for (; e.geom.vertLeq(s.org, s.dst()); s = s.lNext);

        for (var r, i = s.lPrev(); s.lNext !== i;) if (e.geom.vertLeq(s.dst(), i.org)) {
          for (; i.lNext !== s && (e.geom.edgeGoesLeft(i.lNext) || e.geom.edgeSign(i.org, i.dst(), i.lNext.dst()) <= 0);) r = e.mesh.connect(i.lNext, i), i = r.sym;

          i = i.lPrev();
        } else {
          for (; i.lNext !== s && (e.geom.edgeGoesRight(s.lPrev()) || e.geom.edgeSign(s.dst(), s.org, s.lPrev().org) >= 0);) r = e.mesh.connect(s, s.lPrev()), s = r.sym;

          s = s.lNext;
        }

        for (e.assert(i.lNext !== s); i.lNext.lNext !== s;) r = e.mesh.connect(i.lNext, i), i = r.sym;
      }, e.tessmono.tessellateInterior = function (t) {
        for (var s, r = t.fHead.next; r !== t.fHead; r = s) s = r.next, r.inside && e.tessmono.tessellateMonoRegion_(r);
      }, e.tessmono.discardExterior = function (t) {
        for (var s, r = t.fHead.next; r !== t.fHead; r = s) s = r.next, r.inside || e.mesh.zapFace(r);
      }, e.tessmono.setWindingNumber = function (t, s, r) {
        for (var i, n = t.eHead.next; n !== t.eHead; n = i) i = n.next, n.rFace().inside !== n.lFace.inside ? n.winding = n.lFace.inside ? s : -s : r ? e.mesh.deleteEdge(n) : n.winding = 0;
      }, e.Dict = function (t, s) {
        this.head_ = new e.DictNode(), this.frame_ = t, this.leq_ = s;
      }, e.Dict.prototype.deleteDict_ = function () {}, e.Dict.prototype.insertBefore = function (t, s) {
        do {
          t = t.prev;
        } while (null !== t.key && !this.leq_(this.frame_, t.key, s));

        var r = new e.DictNode(s, t.next, t);
        return t.next.prev = r, t.next = r, r;
      }, e.Dict.prototype.insert = function (e) {
        return this.insertBefore(this.head_, e);
      }, e.Dict.prototype.deleteNode = function (e) {
        e.next.prev = e.prev, e.prev.next = e.next;
      }, e.Dict.prototype.search = function (e) {
        var t = this.head_;

        do {
          t = t.next;
        } while (null !== t.key && !this.leq_(this.frame_, e, t.key));

        return t;
      }, e.Dict.prototype.getMin = function () {
        return this.head_.next;
      }, e.Dict.prototype.getMax = function () {
        return this.head_.prev;
      }, e.DictNode = function (e, t, s) {
        this.key = e || null, this.next = t || this, this.prev = s || this;
      }, e.DictNode.prototype.getKey = function () {
        return this.key;
      }, e.DictNode.prototype.getSuccessor = function () {
        return this.next;
      }, e.DictNode.prototype.getPredecessor = function () {
        return this.prev;
      }, e.GluTesselator = function () {
        this.state_ = e.GluTesselator.tessState_.T_DORMANT, this.lastEdge_ = null, this.mesh = null, this.errorCallback_ = null, this.normal_ = [0, 0, 0], this.windingRule = e.windingRule.GLU_TESS_WINDING_ODD, this.fatalError = !1, this.dict = null, this.pq = null, this.event = null, this.combineCallback_ = null, this.boundaryOnly_ = !1, this.beginCallback_ = null, this.edgeFlagCallback_ = null, this.vertexCallback_ = null, this.endCallback_ = null, this.meshCallback_ = null, this.polygonData_ = null;
      }, e.GluTesselator.tessState_ = {
        T_DORMANT: 0,
        T_IN_POLYGON: 1,
        T_IN_CONTOUR: 2
      }, e.GluTesselator.prototype.gluDeleteTess = function () {
        this.requireState_(e.GluTesselator.tessState_.T_DORMANT);
      }, e.GluTesselator.prototype.gluTessProperty = function (t, s) {
        switch (t) {
          case e.gluEnum.GLU_TESS_TOLERANCE:
            return;

          case e.gluEnum.GLU_TESS_WINDING_RULE:
            var r = s;

            switch (r) {
              case e.windingRule.GLU_TESS_WINDING_ODD:
              case e.windingRule.GLU_TESS_WINDING_NONZERO:
              case e.windingRule.GLU_TESS_WINDING_POSITIVE:
              case e.windingRule.GLU_TESS_WINDING_NEGATIVE:
              case e.windingRule.GLU_TESS_WINDING_ABS_GEQ_TWO:
                return void (this.windingRule = r);
            }

            break;

          case e.gluEnum.GLU_TESS_BOUNDARY_ONLY:
            return void (this.boundaryOnly_ = !!s);

          default:
            return void this.callErrorCallback(e.gluEnum.GLU_INVALID_ENUM);
        }

        this.callErrorCallback(e.gluEnum.GLU_INVALID_VALUE);
      }, e.GluTesselator.prototype.gluGetTessProperty = function (t) {
        switch (t) {
          case e.gluEnum.GLU_TESS_TOLERANCE:
            return 0;

          case e.gluEnum.GLU_TESS_WINDING_RULE:
            var s = this.windingRule;
            return e.assert(s === e.windingRule.GLU_TESS_WINDING_ODD || s === e.windingRule.GLU_TESS_WINDING_NONZERO || s === e.windingRule.GLU_TESS_WINDING_POSITIVE || s === e.windingRule.GLU_TESS_WINDING_NEGATIVE || s === e.windingRule.GLU_TESS_WINDING_ABS_GEQ_TWO), s;

          case e.gluEnum.GLU_TESS_BOUNDARY_ONLY:
            return e.assert(!0 === this.boundaryOnly_ || !1 === this.boundaryOnly_), this.boundaryOnly_;

          default:
            this.callErrorCallback(e.gluEnum.GLU_INVALID_ENUM);
        }

        return !1;
      }, e.GluTesselator.prototype.gluTessNormal = function (e, t, s) {
        this.normal_[0] = e, this.normal_[1] = t, this.normal_[2] = s;
      }, e.GluTesselator.prototype.gluTessCallback = function (t, s) {
        var r = s || null;

        switch (t) {
          case e.gluEnum.GLU_TESS_BEGIN:
          case e.gluEnum.GLU_TESS_BEGIN_DATA:
            return void (this.beginCallback_ = r);

          case e.gluEnum.GLU_TESS_EDGE_FLAG:
          case e.gluEnum.GLU_TESS_EDGE_FLAG_DATA:
            return void (this.edgeFlagCallback_ = r);

          case e.gluEnum.GLU_TESS_VERTEX:
          case e.gluEnum.GLU_TESS_VERTEX_DATA:
            return void (this.vertexCallback_ = r);

          case e.gluEnum.GLU_TESS_END:
          case e.gluEnum.GLU_TESS_END_DATA:
            return void (this.endCallback_ = r);

          case e.gluEnum.GLU_TESS_ERROR:
          case e.gluEnum.GLU_TESS_ERROR_DATA:
            return void (this.errorCallback_ = r);

          case e.gluEnum.GLU_TESS_COMBINE:
          case e.gluEnum.GLU_TESS_COMBINE_DATA:
            return void (this.combineCallback_ = r);

          case e.gluEnum.GLU_TESS_MESH:
            return void (this.meshCallback_ = r);

          default:
            return void this.callErrorCallback(e.gluEnum.GLU_INVALID_ENUM);
        }
      }, e.GluTesselator.prototype.gluTessVertex = function (t, s) {
        var r = !1,
            i = [0, 0, 0];
        this.requireState_(e.GluTesselator.tessState_.T_IN_CONTOUR);

        for (var n = 0; n < 3; ++n) {
          var o = t[n];
          o < -e.GLU_TESS_MAX_COORD && (o = -e.GLU_TESS_MAX_COORD, r = !0), o > e.GLU_TESS_MAX_COORD && (o = e.GLU_TESS_MAX_COORD, r = !0), i[n] = o;
        }

        r && this.callErrorCallback(e.errorType.GLU_TESS_COORD_TOO_LARGE), this.addVertex_(i, s);
      }, e.GluTesselator.prototype.gluTessBeginPolygon = function (t) {
        this.requireState_(e.GluTesselator.tessState_.T_DORMANT), this.state_ = e.GluTesselator.tessState_.T_IN_POLYGON, this.mesh = new e.GluMesh(), this.polygonData_ = t;
      }, e.GluTesselator.prototype.gluTessBeginContour = function () {
        this.requireState_(e.GluTesselator.tessState_.T_IN_POLYGON), this.state_ = e.GluTesselator.tessState_.T_IN_CONTOUR, this.lastEdge_ = null;
      }, e.GluTesselator.prototype.gluTessEndContour = function () {
        this.requireState_(e.GluTesselator.tessState_.T_IN_CONTOUR), this.state_ = e.GluTesselator.tessState_.T_IN_POLYGON;
      }, e.GluTesselator.prototype.gluTessEndPolygon = function () {
        if (this.requireState_(e.GluTesselator.tessState_.T_IN_POLYGON), this.state_ = e.GluTesselator.tessState_.T_DORMANT, e.normal.projectPolygon(this, this.normal_[0], this.normal_[1], this.normal_[2]), e.sweep.computeInterior(this), !this.fatalError) {
          var t = this.mesh;
          if (this.boundaryOnly_ ? e.tessmono.setWindingNumber(t, 1, !0) : e.tessmono.tessellateInterior(t), this.mesh.checkMesh(), this.beginCallback_ || this.endCallback_ || this.vertexCallback_ || this.edgeFlagCallback_) if (this.boundaryOnly_) e.render.renderBoundary(this, this.mesh);else {
            var s = !!this.edgeFlagCallback_;
            e.render.renderMesh(this, this.mesh, s);
          }
          if (this.meshCallback_) return e.tessmono.discardExterior(this.mesh), this.meshCallback_(this.mesh), this.mesh = null, void (this.polygonData_ = null);
        }

        e.mesh.deleteMesh(this.mesh), this.polygonData_ = null, this.mesh = null;
      }, e.GluTesselator.prototype.requireState_ = function (e) {
        this.state_ !== e && this.gotoState_(e);
      }, e.GluTesselator.prototype.gotoState_ = function (t) {
        for (; this.state_ !== t;) if (this.state_ < t) switch (this.state_) {
          case e.GluTesselator.tessState_.T_DORMANT:
            this.callErrorCallback(e.errorType.GLU_TESS_MISSING_BEGIN_POLYGON), this.gluTessBeginPolygon(null);
            break;

          case e.GluTesselator.tessState_.T_IN_POLYGON:
            this.callErrorCallback(e.errorType.GLU_TESS_MISSING_BEGIN_CONTOUR), this.gluTessBeginContour();
        } else switch (this.state_) {
          case e.GluTesselator.tessState_.T_IN_CONTOUR:
            this.callErrorCallback(e.errorType.GLU_TESS_MISSING_END_CONTOUR), this.gluTessEndContour();
            break;

          case e.GluTesselator.tessState_.T_IN_POLYGON:
            this.callErrorCallback(e.errorType.GLU_TESS_MISSING_END_POLYGON), this.gluTessEndPolygon();
        }
      }, e.GluTesselator.prototype.addVertex_ = function (t, s) {
        var r = this.lastEdge_;
        null === r ? (r = e.mesh.makeEdge(this.mesh), e.mesh.meshSplice(r, r.sym)) : (e.mesh.splitEdge(r), r = r.lNext), r.org.data = s, r.org.coords[0] = t[0], r.org.coords[1] = t[1], r.org.coords[2] = t[2], r.winding = 1, r.sym.winding = -1, this.lastEdge_ = r;
      }, e.GluTesselator.prototype.callBeginCallback = function (e) {
        this.beginCallback_ && this.beginCallback_(e, this.polygonData_);
      }, e.GluTesselator.prototype.callVertexCallback = function (e) {
        this.vertexCallback_ && this.vertexCallback_(e, this.polygonData_);
      }, e.GluTesselator.prototype.callEdgeFlagCallback = function (e) {
        this.edgeFlagCallback_ && this.edgeFlagCallback_(e, this.polygonData_);
      }, e.GluTesselator.prototype.callEndCallback = function () {
        this.endCallback_ && this.endCallback_(this.polygonData_);
      }, e.GluTesselator.prototype.callCombineCallback = function (e, t, s) {
        return this.combineCallback_ ? this.combineCallback_(e, t, s, this.polygonData_) || null : null;
      }, e.GluTesselator.prototype.callErrorCallback = function (e) {
        this.errorCallback_ && this.errorCallback_(e, this.polygonData_);
      }, e.GluFace = function (e, t) {
        this.next = e || this, this.prev = t || this, this.anEdge = null, this.inside = !1;
      }, e.GluHalfEdge = function (e) {
        this.next = e || this, this.sym = null, this.oNext = null, this.lNext = null, this.org = null, this.lFace = null, this.activeRegion = null, this.winding = 0;
      }, e.GluHalfEdge.prototype.rFace = function () {
        return this.sym.lFace;
      }, e.GluHalfEdge.prototype.dst = function () {
        return this.sym.org;
      }, e.GluHalfEdge.prototype.oPrev = function () {
        return this.sym.lNext;
      }, e.GluHalfEdge.prototype.lPrev = function () {
        return this.oNext.sym;
      }, e.GluHalfEdge.prototype.dPrev = function () {
        return this.lNext.sym;
      }, e.GluHalfEdge.prototype.rPrev = function () {
        return this.sym.oNext;
      }, e.GluHalfEdge.prototype.dNext = function () {
        return this.rPrev().sym;
      }, e.GluHalfEdge.prototype.rNext = function () {
        return this.oPrev().sym;
      }, e.GluMesh = function () {
        this.vHead = new e.GluVertex(), this.fHead = new e.GluFace(), this.eHead = new e.GluHalfEdge(), this.eHeadSym = new e.GluHalfEdge(), this.eHead.sym = this.eHeadSym, this.eHeadSym.sym = this.eHead;
      }, e.GluMesh.prototype.checkMesh = function () {
        if (e.DEBUG) {
          var t,
              s,
              r = this.fHead,
              i = this.vHead,
              n = this.eHead,
              o = r;

          for (o = r; (s = o.next) !== r; o = s) {
            e.assert(s.prev === o), t = s.anEdge;

            do {
              e.assert(t.sym !== t), e.assert(t.sym.sym === t), e.assert(t.lNext.oNext.sym === t), e.assert(t.oNext.sym.lNext === t), e.assert(t.lFace === s), t = t.lNext;
            } while (t !== s.anEdge);
          }

          e.assert(s.prev === o && null === s.anEdge);
          var a,
              l = i;

          for (l = i; (a = l.next) !== i; l = a) {
            e.assert(a.prev === l), t = a.anEdge;

            do {
              e.assert(t.sym !== t), e.assert(t.sym.sym === t), e.assert(t.lNext.oNext.sym === t), e.assert(t.oNext.sym.lNext === t), e.assert(t.org === a), t = t.oNext;
            } while (t !== a.anEdge);
          }

          e.assert(a.prev === l && null === a.anEdge && null === a.data);
          var _ = n;

          for (_ = n; (t = _.next) !== n; _ = t) e.assert(t.sym.next === _.sym), e.assert(t.sym !== t), e.assert(t.sym.sym === t), e.assert(null !== t.org), e.assert(null !== t.dst()), e.assert(t.lNext.oNext.sym === t), e.assert(t.oNext.sym.lNext === t);

          e.assert(t.sym.next === _.sym && t.sym === this.eHeadSym && t.sym.sym === t && null === t.org && null === t.dst() && null === t.lFace && null === t.rFace());
        }
      }, e.GluVertex = function (e, t) {
        this.next = e || this, this.prev = t || this, this.anEdge = null, this.data = null, this.coords = [0, 0, 0], this.s = 0, this.t = 0, this.pqHandle = 0;
      }, e.PriorityQ = function () {
        this.verts_ = [], this.order_ = null, this.size_ = 0, this.initialized_ = !1, this.heap_ = new e.PriorityQHeap();
      }, e.PriorityQ.prototype.deleteQ = function () {
        this.heap_ = null, this.order_ = null, this.verts_ = null;
      }, e.PriorityQ.prototype.init = function () {
        this.order_ = [];

        for (var t = 0; t < this.size_; t++) this.order_[t] = t;

        var s = function (t) {
          return function (s, r) {
            return e.geom.vertLeq(t[s], t[r]) ? 1 : -1;
          };
        }(this.verts_);

        if (this.order_.sort(s), this.initialized_ = !0, this.heap_.init(), e.DEBUG) {
          var r = 0 + this.size_ - 1;

          for (t = 0; t < r; ++t) e.assert(e.geom.vertLeq(this.verts_[this.order_[t + 1]], this.verts_[this.order_[t]]));
        }
      }, e.PriorityQ.prototype.insert = function (e) {
        if (this.initialized_) return this.heap_.insert(e);
        var t = this.size_++;
        return this.verts_[t] = e, -(t + 1);
      }, e.PriorityQ.prototype.extractMin = function () {
        if (0 === this.size_) return this.heap_.extractMin();
        var t = this.verts_[this.order_[this.size_ - 1]];

        if (!this.heap_.isEmpty()) {
          var s = this.heap_.minimum();
          if (e.geom.vertLeq(s, t)) return this.heap_.extractMin();
        }

        do {
          --this.size_;
        } while (this.size_ > 0 && null === this.verts_[this.order_[this.size_ - 1]]);

        return t;
      }, e.PriorityQ.prototype.minimum = function () {
        if (0 === this.size_) return this.heap_.minimum();
        var t = this.verts_[this.order_[this.size_ - 1]];

        if (!this.heap_.isEmpty()) {
          var s = this.heap_.minimum();
          if (e.geom.vertLeq(s, t)) return s;
        }

        return t;
      }, e.PriorityQ.prototype.remove = function (t) {
        if (t >= 0) return void this.heap_.remove(t);

        for (t = -(t + 1), e.assert(t < this.verts_.length && null !== this.verts_[t]), this.verts_[t] = null; this.size_ > 0 && null === this.verts_[this.order_[this.size_ - 1]];) --this.size_;
      }, e.PriorityQHeap = function () {
        this.heap_ = e.PriorityQHeap.reallocNumeric_([0], e.PriorityQHeap.INIT_SIZE_ + 1), this.verts_ = [null, null], this.handles_ = [0, 0], this.size_ = 0, this.max_ = e.PriorityQHeap.INIT_SIZE_, this.freeList_ = 0, this.initialized_ = !1, this.heap_[1] = 1;
      }, e.PriorityQHeap.INIT_SIZE_ = 32, e.PriorityQHeap.reallocNumeric_ = function (e, t) {
        for (var s = new Array(t), r = 0; r < e.length; r++) s[r] = e[r];

        for (; r < t; r++) s[r] = 0;

        return s;
      }, e.PriorityQHeap.prototype.init = function () {
        for (var e = this.size_; e >= 1; --e) this.floatDown_(e);

        this.initialized_ = !0;
      }, e.PriorityQHeap.prototype.insert = function (t) {
        var s = ++this.size_;
        2 * s > this.max_ && (this.max_ *= 2, this.handles_ = e.PriorityQHeap.reallocNumeric_(this.handles_, this.max_ + 1));
        var r;
        return 0 === this.freeList_ ? r = s : (r = this.freeList_, this.freeList_ = this.handles_[this.freeList_]), this.verts_[r] = t, this.handles_[r] = s, this.heap_[s] = r, this.initialized_ && this.floatUp_(s), r;
      }, e.PriorityQHeap.prototype.isEmpty = function () {
        return 0 === this.size_;
      }, e.PriorityQHeap.prototype.minimum = function () {
        return this.verts_[this.heap_[1]];
      }, e.PriorityQHeap.prototype.extractMin = function () {
        var e = this.heap_,
            t = this.verts_,
            s = this.handles_,
            r = e[1],
            i = t[r];
        return this.size_ > 0 && (e[1] = e[this.size_], s[e[1]] = 1, t[r] = null, s[r] = this.freeList_, this.freeList_ = r, --this.size_ > 0 && this.floatDown_(1)), i;
      }, e.PriorityQHeap.prototype.remove = function (t) {
        var s = this.heap_,
            r = this.verts_,
            i = this.handles_;
        e.assert(t >= 1 && t <= this.max_ && null !== r[t]);
        var n = i[t];
        if (s[n] = s[this.size_], i[s[n]] = n, n <= --this.size_) if (n <= 1) this.floatDown_(n);else {
          var o = r[s[n]],
              a = r[s[n >> 1]];
          e.geom.vertLeq(a, o) ? this.floatDown_(n) : this.floatUp_(n);
        }
        r[t] = null, i[t] = this.freeList_, this.freeList_ = t;
      }, e.PriorityQHeap.prototype.floatDown_ = function (t) {
        for (var s = this.heap_, r = this.verts_, i = this.handles_, n = t, o = s[n];;) {
          var a = n << 1;
          a < this.size_ && e.geom.vertLeq(r[s[a + 1]], r[s[a]]) && (a += 1), e.assert(a <= this.max_);
          var l = s[a];
          if (a > this.size_ || e.geom.vertLeq(r[o], r[l])) return s[n] = o, void (i[o] = n);
          s[n] = l, i[l] = n, n = a;
        }
      }, e.PriorityQHeap.prototype.floatUp_ = function (t) {
        for (var s = this.heap_, r = this.verts_, i = this.handles_, n = t, o = s[n];;) {
          var a = n >> 1,
              l = s[a];
          if (0 === a || e.geom.vertLeq(r[l], r[o])) return s[n] = o, void (i[o] = n);
          s[n] = l, i[l] = n, n = a;
        }
      }, e.ActiveRegion = function () {
        this.eUp = null, this.nodeUp = null, this.windingNumber = 0, this.inside = !1, this.sentinel = !1, this.dirty = !1, this.fixUpperEdge = !1;
      }, e.ActiveRegion.prototype.regionBelow = function () {
        return this.nodeUp.getPredecessor().getKey();
      }, e.ActiveRegion.prototype.regionAbove = function () {
        return this.nodeUp.getSuccessor().getKey();
      }, e;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/pep/pep.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/pep/pep.js ***!
    \*********************************************************/

  /*! no static exports found */

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

    /*!
     * PEP v0.4.4-pre | https://github.com/jquery/PEP
     * Copyright jQuery Foundation and other contributors | http://jquery.org/license
     */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
      "use strict";

      function t(t, e) {
        e = e || Object.create(null);
        var n = document.createEvent("Event");
        n.initEvent(t, e.bubbles || !1, e.cancelable || !1);

        for (var i, r = 2; r < v.length; r++) i = v[r], n[i] = e[i] || f[r];

        n.buttons = e.buttons || 0;
        var o = 0;
        return o = e.pressure && n.buttons ? e.pressure : n.buttons ? .5 : 0, n.x = n.clientX, n.y = n.clientY, n.pointerId = e.pointerId || 0, n.width = e.width || 0, n.height = e.height || 0, n.pressure = o, n.tiltX = e.tiltX || 0, n.tiltY = e.tiltY || 0, n.twist = e.twist || 0, n.tangentialPressure = e.tangentialPressure || 0, n.pointerType = e.pointerType || "", n.hwTimestamp = e.hwTimestamp || 0, n.isPrimary = e.isPrimary || !1, n;
      }

      function e() {
        this.array = [], this.size = 0;
      }

      function n(t, e, n, i) {
        this.addCallback = t.bind(i), this.removeCallback = e.bind(i), this.changedCallback = n.bind(i), C && (this.observer = new C(this.mutationWatcher.bind(this)));
      }

      function i(t) {
        return "body /shadow-deep/ " + r(t);
      }

      function r(t) {
        return '[touch-action="' + t + '"]';
      }

      function o(t) {
        return "{ -ms-touch-action: " + t + "; touch-action: " + t + "; }";
      }

      function a() {
        if (_) {
          N.forEach(function (t) {
            String(t) === t ? (Y += r(t) + o(t) + "\n", D && (Y += i(t) + o(t) + "\n")) : (Y += t.selectors.map(r) + o(t.rule) + "\n", D && (Y += t.selectors.map(i) + o(t.rule) + "\n"));
          });
          var t = document.createElement("style");
          t.textContent = Y, document.head.appendChild(t);
        }
      }

      function s() {
        if (!window.PointerEvent) {
          if (window.PointerEvent = t, window.navigator.msPointerEnabled) {
            var e = window.navigator.msMaxTouchPoints;
            Object.defineProperty(window.navigator, "maxTouchPoints", {
              value: e,
              enumerable: !0
            }), w.registerSource("ms", W);
          } else Object.defineProperty(window.navigator, "maxTouchPoints", {
            value: 0,
            enumerable: !0
          }), w.registerSource("mouse", F), void 0 !== window.ontouchstart && w.registerSource("touch", j);

          w.register(document);
        }
      }

      function u(t) {
        window.PointerEvent || (window.navigator.msPointerEnabled ? w.registerSource("ms", W) : (w.registerSource("mouse", F), void 0 !== window.ontouchstart && w.registerSource("touch", j)), w.register(document));
      }

      function c(t) {
        if (!w.pointermap.has(t)) {
          var e = new Error("NotFoundError");
          throw e.name = "NotFoundError", e;
        }
      }

      function l(t) {
        for (var e = t.parentNode; e && e !== t.ownerDocument;) e = e.parentNode;

        if (!e) {
          var n = new Error("InvalidStateError");
          throw n.name = "InvalidStateError", n;
        }
      }

      function h(t) {
        return 0 !== w.pointermap.get(t).buttons;
      }

      function p() {
        window.Element && !Element.prototype.setPointerCapture && Object.defineProperties(Element.prototype, {
          setPointerCapture: {
            value: z
          },
          releasePointerCapture: {
            value: H
          },
          hasPointerCapture: {
            value: G
          }
        });
      }

      function d(t) {
        window.Element && !Element.prototype.setPointerCapture && (t.setPointerCapture = z.bind(t), t.releasePointerCapture = H.bind(t), t.hasPointerCapture = G.bind(t));
      }

      var v = ["bubbles", "cancelable", "view", "detail", "screenX", "screenY", "clientX", "clientY", "ctrlKey", "altKey", "shiftKey", "metaKey", "button", "relatedTarget", "pageX", "pageY"],
          f = [!1, !1, null, null, 0, 0, 0, 0, !1, !1, !1, !1, 0, null, 0, 0],
          m = window.Map && window.Map.prototype.forEach,
          E = m ? Map : e;
      e.prototype = {
        set: function set(t, e) {
          if (void 0 === e) return this["delete"](t);
          this.has(t) || this.size++, this.array[t] = e;
        },
        has: function has(t) {
          return void 0 !== this.array[t];
        },
        "delete": function _delete(t) {
          this.has(t) && (delete this.array[t], this.size--);
        },
        get: function get(t) {
          return this.array[t];
        },
        clear: function clear() {
          this.array.length = 0, this.size = 0;
        },
        forEach: function forEach(t, e) {
          return this.array.forEach(function (n, i) {
            t.call(e, n, i, this);
          }, this);
        }
      };
      var b = ["bubbles", "cancelable", "view", "detail", "screenX", "screenY", "clientX", "clientY", "ctrlKey", "altKey", "shiftKey", "metaKey", "button", "relatedTarget", "buttons", "pointerId", "width", "height", "pressure", "tiltX", "tiltY", "pointerType", "hwTimestamp", "isPrimary", "type", "target", "currentTarget", "which", "pageX", "pageY", "timeStamp"],
          g = [!1, !1, null, null, 0, 0, 0, 0, !1, !1, !1, !1, 0, null, 0, 0, 0, 0, 0, 0, 0, "", 0, !1, "", null, null, 0, 0, 0, 0],
          T = {
        pointerover: 1,
        pointerout: 1,
        pointerenter: 1,
        pointerleave: 1
      },
          y = "undefined" != typeof SVGElementInstance,
          w = {
        pointermap: new E(),
        eventMap: Object.create(null),
        captureInfo: Object.create(null),
        eventSources: Object.create(null),
        eventSourceList: [],
        registerSource: function registerSource(t, e) {
          var n = e,
              i = n.events;
          i && (i.forEach(function (t) {
            n[t] && (this.eventMap[t] = n[t].bind(n));
          }, this), this.eventSources[t] = n, this.eventSourceList.push(n));
        },
        register: function register(t) {
          for (var e, n = this.eventSourceList.length, i = 0; i < n && (e = this.eventSourceList[i]); i++) e.register.call(e, t);
        },
        unregister: function unregister(t) {
          for (var e, n = this.eventSourceList.length, i = 0; i < n && (e = this.eventSourceList[i]); i++) e.unregister.call(e, t);
        },
        contains: function contains(t, e) {
          try {
            return t.contains(e);
          } catch (t) {
            return !1;
          }
        },
        down: function down(t) {
          t.bubbles = !0, this.fireEvent("pointerdown", t);
        },
        move: function move(t) {
          t.bubbles = !0, this.fireEvent("pointermove", t);
        },
        up: function up(t) {
          t.bubbles = !0, this.fireEvent("pointerup", t);
        },
        enter: function enter(t) {
          t.bubbles = !1, this.fireEvent("pointerenter", t);
        },
        leave: function leave(t) {
          t.bubbles = !1, this.fireEvent("pointerleave", t);
        },
        over: function over(t) {
          t.bubbles = !0, this.fireEvent("pointerover", t);
        },
        out: function out(t) {
          t.bubbles = !0, this.fireEvent("pointerout", t);
        },
        cancel: function cancel(t) {
          t.bubbles = !0, this.fireEvent("pointercancel", t);
        },
        leaveOut: function leaveOut(t) {
          this.out(t), this.propagate(t, this.leave, !1);
        },
        enterOver: function enterOver(t) {
          this.over(t), this.propagate(t, this.enter, !0);
        },
        eventHandler: function eventHandler(t) {
          if (!t._handledByPE) {
            var e = t.type,
                n = this.eventMap && this.eventMap[e];
            n && n(t), t._handledByPE = !0;
          }
        },
        listen: function listen(t, e) {
          e.forEach(function (e) {
            this.addEvent(t, e);
          }, this);
        },
        unlisten: function unlisten(t, e) {
          e.forEach(function (e) {
            this.removeEvent(t, e);
          }, this);
        },
        addEvent: function addEvent(t, e) {
          t.addEventListener(e, this.boundHandler);
        },
        removeEvent: function removeEvent(t, e) {
          t.removeEventListener(e, this.boundHandler);
        },
        makeEvent: function makeEvent(e, n) {
          this.captureInfo[n.pointerId] && (n.relatedTarget = null);
          var i = new t(e, n);
          return n.preventDefault && (i.preventDefault = n.preventDefault), i._target = i._target || n.target, i;
        },
        fireEvent: function fireEvent(t, e) {
          var n = this.makeEvent(t, e);
          return this.dispatchEvent(n);
        },
        cloneEvent: function cloneEvent(t) {
          for (var e, n = Object.create(null), i = 0; i < b.length; i++) e = b[i], n[e] = t[e] || g[i], !y || "target" !== e && "relatedTarget" !== e || n[e] instanceof SVGElementInstance && (n[e] = n[e].correspondingUseElement);

          return t.preventDefault && (n.preventDefault = function () {
            t.preventDefault();
          }), n;
        },
        getTarget: function getTarget(t) {
          var e = this.captureInfo[t.pointerId];
          return e ? t._target !== e && t.type in T ? void 0 : e : t._target;
        },
        propagate: function propagate(t, e, n) {
          for (var i = t.target, r = []; null != i && i !== document && !i.contains(t.relatedTarget);) if (r.push(i), !(i = i.parentNode)) return;

          n && r.reverse(), r.forEach(function (n) {
            t.target = n, e.call(this, t);
          }, this);
        },
        setCapture: function setCapture(e, n, i) {
          this.captureInfo[e] && this.releaseCapture(e, i), this.captureInfo[e] = n, this.implicitRelease = this.releaseCapture.bind(this, e, i), document.addEventListener("pointerup", this.implicitRelease), document.addEventListener("pointercancel", this.implicitRelease);
          var r = new t("gotpointercapture");
          r.pointerId = e, r._target = n, i || this.asyncDispatchEvent(r);
        },
        releaseCapture: function releaseCapture(e, n) {
          var i = this.captureInfo[e];

          if (i) {
            this.captureInfo[e] = void 0, document.removeEventListener("pointerup", this.implicitRelease), document.removeEventListener("pointercancel", this.implicitRelease);
            var r = new t("lostpointercapture");
            r.pointerId = e, r._target = i, n || this.asyncDispatchEvent(r);
          }
        },
        dispatchEvent: function dispatchEvent(t) {
          var e = this.getTarget(t);
          if (e) return e.dispatchEvent(t);
        },
        asyncDispatchEvent: function asyncDispatchEvent(t) {
          requestAnimationFrame(this.dispatchEvent.bind(this, t));
        }
      };
      w.boundHandler = w.eventHandler.bind(w);
      var P = {
        shadow: function shadow(t) {
          if (t) return t.shadowRoot || t.webkitShadowRoot;
        },
        canTarget: function canTarget(t) {
          return t && Boolean(t.elementFromPoint);
        },
        targetingShadow: function targetingShadow(t) {
          var e = this.shadow(t);
          if (this.canTarget(e)) return e;
        },
        olderShadow: function olderShadow(t) {
          var e = t.olderShadowRoot;

          if (!e) {
            var n = t.querySelector("shadow");
            n && (e = n.olderShadowRoot);
          }

          return e;
        },
        allShadows: function allShadows(t) {
          for (var e = [], n = this.shadow(t); n;) e.push(n), n = this.olderShadow(n);

          return e;
        },
        searchRoot: function searchRoot(t, e, n) {
          if (t) {
            var i,
                r,
                o = t.elementFromPoint(e, n);

            for (r = this.targetingShadow(o); r;) {
              if (i = r.elementFromPoint(e, n)) {
                var a = this.targetingShadow(i);
                return this.searchRoot(a, e, n) || i;
              }

              r = this.olderShadow(r);
            }

            return o;
          }
        },
        owner: function owner(t) {
          for (var e = t; e.parentNode;) e = e.parentNode;

          return e.nodeType !== Node.DOCUMENT_NODE && e.nodeType !== Node.DOCUMENT_FRAGMENT_NODE && (e = document), e;
        },
        findTarget: function findTarget(t) {
          var e = t.clientX,
              n = t.clientY,
              i = this.owner(t.target);
          return i.elementFromPoint(e, n) || (i = document), this.searchRoot(i, e, n);
        }
      },
          S = Array.prototype.forEach.call.bind(Array.prototype.forEach),
          O = Array.prototype.map.call.bind(Array.prototype.map),
          I = Array.prototype.slice.call.bind(Array.prototype.slice),
          M = Array.prototype.filter.call.bind(Array.prototype.filter),
          C = window.MutationObserver || window.WebKitMutationObserver,
          R = {
        subtree: !0,
        childList: !0,
        attributes: !0,
        attributeOldValue: !0,
        attributeFilter: ["touch-action"]
      };
      n.prototype = {
        watchSubtree: function watchSubtree(t) {
          this.observer && P.canTarget(t) && this.observer.observe(t, R);
        },
        enableOnSubtree: function enableOnSubtree(t) {
          this.watchSubtree(t), t === document && "complete" !== document.readyState ? this.installOnLoad() : this.installNewSubtree(t);
        },
        installNewSubtree: function installNewSubtree(t) {
          S(this.findElements(t), this.addElement, this);
        },
        findElements: function findElements(t) {
          return t.querySelectorAll ? t.querySelectorAll("[touch-action]") : [];
        },
        removeElement: function removeElement(t) {
          this.removeCallback(t);
        },
        addElement: function addElement(t) {
          this.addCallback(t);
        },
        elementChanged: function elementChanged(t, e) {
          this.changedCallback(t, e);
        },
        concatLists: function concatLists(t, e) {
          return t.concat(I(e));
        },
        installOnLoad: function installOnLoad() {
          document.addEventListener("readystatechange", function () {
            "complete" === document.readyState && this.installNewSubtree(document);
          }.bind(this));
        },
        isElement: function isElement(t) {
          return t.nodeType === Node.ELEMENT_NODE;
        },
        flattenMutationTree: function flattenMutationTree(t) {
          var e = O(t, this.findElements, this);
          return e.push(M(t, this.isElement)), e.reduce(this.concatLists, []);
        },
        mutationWatcher: function mutationWatcher(t) {
          t.forEach(this.mutationHandler, this);
        },
        mutationHandler: function mutationHandler(t) {
          if ("childList" === t.type) {
            this.flattenMutationTree(t.addedNodes).forEach(this.addElement, this);
            this.flattenMutationTree(t.removedNodes).forEach(this.removeElement, this);
          } else "attributes" === t.type && this.elementChanged(t.target, t.oldValue);
        }
      };

      var N = ["none", "auto", "pan-x", "pan-y", {
        rule: "pan-x pan-y",
        selectors: ["pan-x pan-y", "pan-y pan-x"]
      }],
          Y = "",
          _ = window.PointerEvent || window.MSPointerEvent,
          D = !window.ShadowDOMPolyfill && document.head.createShadowRoot,
          L = w.pointermap,
          X = [1, 4, 2, 8, 16],
          A = !1;

      try {
        A = 1 === new MouseEvent("test", {
          buttons: 1
        }).buttons;
      } catch (t) {}

      var k,
          F = {
        POINTER_ID: 1,
        POINTER_TYPE: "mouse",
        events: ["mousedown", "mousemove", "mouseup", "mouseover", "mouseout"],
        register: function register(t) {
          w.listen(t, this.events);
        },
        unregister: function unregister(t) {
          w.unlisten(t, this.events);
        },
        lastTouches: [],
        isEventSimulatedFromTouch: function isEventSimulatedFromTouch(t) {
          for (var e, n = this.lastTouches, i = t.clientX, r = t.clientY, o = 0, a = n.length; o < a && (e = n[o]); o++) {
            var s = Math.abs(i - e.x),
                u = Math.abs(r - e.y);
            if (s <= 25 && u <= 25) return !0;
          }
        },
        prepareEvent: function prepareEvent(t) {
          var e = w.cloneEvent(t),
              n = e.preventDefault;
          return e.preventDefault = function () {
            t.preventDefault(), n();
          }, e.pointerId = this.POINTER_ID, e.isPrimary = !0, e.pointerType = this.POINTER_TYPE, e;
        },
        prepareButtonsForMove: function prepareButtonsForMove(t, e) {
          var n = L.get(this.POINTER_ID);
          0 !== e.which && n ? t.buttons = n.buttons : t.buttons = 0, e.buttons = t.buttons;
        },
        mousedown: function mousedown(t) {
          if (!this.isEventSimulatedFromTouch(t)) {
            var e = L.get(this.POINTER_ID),
                n = this.prepareEvent(t);
            A || (n.buttons = X[n.button], e && (n.buttons |= e.buttons), t.buttons = n.buttons), L.set(this.POINTER_ID, t), e && 0 !== e.buttons ? w.move(n) : w.down(n);
          }
        },
        mousemove: function mousemove(t) {
          if (!this.isEventSimulatedFromTouch(t)) {
            var e = this.prepareEvent(t);
            A || this.prepareButtonsForMove(e, t), e.button = -1, L.set(this.POINTER_ID, t), w.move(e);
          }
        },
        mouseup: function mouseup(t) {
          if (!this.isEventSimulatedFromTouch(t)) {
            var e = L.get(this.POINTER_ID),
                n = this.prepareEvent(t);

            if (!A) {
              var i = X[n.button];
              n.buttons = e ? e.buttons & ~i : 0, t.buttons = n.buttons;
            }

            L.set(this.POINTER_ID, t), n.buttons &= ~X[n.button], 0 === n.buttons ? w.up(n) : w.move(n);
          }
        },
        mouseover: function mouseover(t) {
          if (!this.isEventSimulatedFromTouch(t)) {
            var e = this.prepareEvent(t);
            A || this.prepareButtonsForMove(e, t), e.button = -1, L.set(this.POINTER_ID, t), w.enterOver(e);
          }
        },
        mouseout: function mouseout(t) {
          if (!this.isEventSimulatedFromTouch(t)) {
            var e = this.prepareEvent(t);
            A || this.prepareButtonsForMove(e, t), e.button = -1, w.leaveOut(e);
          }
        },
        cancel: function cancel(t) {
          var e = this.prepareEvent(t);
          w.cancel(e), this.deactivateMouse();
        },
        deactivateMouse: function deactivateMouse() {
          L["delete"](this.POINTER_ID);
        }
      },
          K = w.captureInfo,
          x = P.findTarget.bind(P),
          B = P.allShadows.bind(P),
          U = w.pointermap,
          j = {
        events: ["touchstart", "touchmove", "touchend", "touchcancel"],
        register: function register(t) {
          k.enableOnSubtree(t);
        },
        unregister: function unregister() {},
        elementAdded: function elementAdded(t) {
          var e = t.getAttribute("touch-action"),
              n = this.touchActionToScrollType(e);
          n && (t._scrollType = n, w.listen(t, this.events), B(t).forEach(function (t) {
            t._scrollType = n, w.listen(t, this.events);
          }, this));
        },
        elementRemoved: function elementRemoved(t) {
          t._scrollType = void 0, w.unlisten(t, this.events), B(t).forEach(function (t) {
            t._scrollType = void 0, w.unlisten(t, this.events);
          }, this);
        },
        elementChanged: function elementChanged(t, e) {
          var n = t.getAttribute("touch-action"),
              i = this.touchActionToScrollType(n),
              r = this.touchActionToScrollType(e);
          i && r ? (t._scrollType = i, B(t).forEach(function (t) {
            t._scrollType = i;
          }, this)) : r ? this.elementRemoved(t) : i && this.elementAdded(t);
        },
        scrollTypes: {
          EMITTER: "none",
          XSCROLLER: "pan-x",
          YSCROLLER: "pan-y",
          SCROLLER: /^(?:pan-x pan-y)|(?:pan-y pan-x)|auto$/
        },
        touchActionToScrollType: function touchActionToScrollType(t) {
          var e = t,
              n = this.scrollTypes;
          return "none" === e ? "none" : e === n.XSCROLLER ? "X" : e === n.YSCROLLER ? "Y" : n.SCROLLER.exec(e) ? "XY" : void 0;
        },
        POINTER_TYPE: "touch",
        firstTouch: null,
        isPrimaryTouch: function isPrimaryTouch(t) {
          return this.firstTouch === t.identifier;
        },
        setPrimaryTouch: function setPrimaryTouch(t) {
          (0 === U.size || 1 === U.size && U.has(1)) && (this.firstTouch = t.identifier, this.firstXY = {
            X: t.clientX,
            Y: t.clientY
          }, this.scrolling = !1, this.cancelResetClickCount());
        },
        removePrimaryPointer: function removePrimaryPointer(t) {
          t.isPrimary && (this.firstTouch = null, this.firstXY = null, this.resetClickCount());
        },
        clickCount: 0,
        resetId: null,
        resetClickCount: function resetClickCount() {
          var t = function () {
            this.clickCount = 0, this.resetId = null;
          }.bind(this);

          this.resetId = setTimeout(t, 200);
        },
        cancelResetClickCount: function cancelResetClickCount() {
          this.resetId && clearTimeout(this.resetId);
        },
        typeToButtons: function typeToButtons(t) {
          var e = 0;
          return "touchstart" !== t && "touchmove" !== t || (e = 1), e;
        },
        touchToPointer: function touchToPointer(t) {
          var e = this.currentTouchEvent,
              n = w.cloneEvent(t),
              i = n.pointerId = t.identifier + 2;
          n.target = K[i] || x(n), n.bubbles = !0, n.cancelable = !0, n.detail = this.clickCount, n.button = 0, n.buttons = this.typeToButtons(e.type), n.width = 2 * (t.radiusX || t.webkitRadiusX || 0), n.height = 2 * (t.radiusY || t.webkitRadiusY || 0), n.pressure = t.force || t.webkitForce || .5, n.isPrimary = this.isPrimaryTouch(t), n.pointerType = this.POINTER_TYPE, n.altKey = e.altKey, n.ctrlKey = e.ctrlKey, n.metaKey = e.metaKey, n.shiftKey = e.shiftKey;
          var r = this;
          return n.preventDefault = function () {
            r.scrolling = !1, r.firstXY = null, e.preventDefault();
          }, n;
        },
        processTouches: function processTouches(t, e) {
          var n = t.changedTouches;
          this.currentTouchEvent = t;

          for (var i, r = 0; r < n.length; r++) i = n[r], e.call(this, this.touchToPointer(i));
        },
        shouldScroll: function shouldScroll(t) {
          if (this.firstXY) {
            var e,
                n = t.currentTarget._scrollType;
            if ("none" === n) e = !1;else if ("XY" === n) e = !0;else {
              var i = t.changedTouches[0],
                  r = n,
                  o = "Y" === n ? "X" : "Y",
                  a = Math.abs(i["client" + r] - this.firstXY[r]),
                  s = Math.abs(i["client" + o] - this.firstXY[o]);
              e = a >= s;
            }
            return this.firstXY = null, e;
          }
        },
        findTouch: function findTouch(t, e) {
          for (var n, i = 0, r = t.length; i < r && (n = t[i]); i++) if (n.identifier === e) return !0;
        },
        vacuumTouches: function vacuumTouches(t) {
          var e = t.touches;

          if (U.size >= e.length) {
            var n = [];
            U.forEach(function (t, i) {
              if (1 !== i && !this.findTouch(e, i - 2)) {
                var r = t.out;
                n.push(r);
              }
            }, this), n.forEach(this.cancelOut, this);
          }
        },
        touchstart: function touchstart(t) {
          this.vacuumTouches(t), this.setPrimaryTouch(t.changedTouches[0]), this.dedupSynthMouse(t), this.scrolling || (this.clickCount++, this.processTouches(t, this.overDown));
        },
        overDown: function overDown(t) {
          U.set(t.pointerId, {
            target: t.target,
            out: t,
            outTarget: t.target
          }), w.enterOver(t), w.down(t);
        },
        touchmove: function touchmove(t) {
          this.scrolling || (this.shouldScroll(t) ? (this.scrolling = !0, this.touchcancel(t)) : (t.preventDefault(), this.processTouches(t, this.moveOverOut)));
        },
        moveOverOut: function moveOverOut(t) {
          var e = t,
              n = U.get(e.pointerId);

          if (n) {
            var i = n.out,
                r = n.outTarget;
            w.move(e), i && r !== e.target && (i.relatedTarget = e.target, e.relatedTarget = r, i.target = r, e.target ? (w.leaveOut(i), w.enterOver(e)) : (e.target = r, e.relatedTarget = null, this.cancelOut(e))), n.out = e, n.outTarget = e.target;
          }
        },
        touchend: function touchend(t) {
          this.dedupSynthMouse(t), this.processTouches(t, this.upOut);
        },
        upOut: function upOut(t) {
          this.scrolling || (w.up(t), w.leaveOut(t)), this.cleanUpPointer(t);
        },
        touchcancel: function touchcancel(t) {
          this.processTouches(t, this.cancelOut);
        },
        cancelOut: function cancelOut(t) {
          w.cancel(t), w.leaveOut(t), this.cleanUpPointer(t);
        },
        cleanUpPointer: function cleanUpPointer(t) {
          U["delete"](t.pointerId), this.removePrimaryPointer(t);
        },
        dedupSynthMouse: function dedupSynthMouse(t) {
          var e = F.lastTouches,
              n = t.changedTouches[0];

          if (this.isPrimaryTouch(n)) {
            var i = {
              x: n.clientX,
              y: n.clientY
            };
            e.push(i);

            var r = function (t, e) {
              var n = t.indexOf(e);
              n > -1 && t.splice(n, 1);
            }.bind(null, e, i);

            setTimeout(r, 2500);
          }
        }
      };
      k = new n(j.elementAdded, j.elementRemoved, j.elementChanged, j);
      var z,
          H,
          G,
          q = w.pointermap,
          V = window.MSPointerEvent && "number" == typeof window.MSPointerEvent.MSPOINTER_TYPE_MOUSE,
          W = {
        events: ["MSPointerDown", "MSPointerMove", "MSPointerUp", "MSPointerOut", "MSPointerOver", "MSPointerCancel", "MSGotPointerCapture", "MSLostPointerCapture"],
        register: function register(t) {
          w.listen(t, this.events);
        },
        unregister: function unregister(t) {
          w.unlisten(t, this.events);
        },
        POINTER_TYPES: ["", "unavailable", "touch", "pen", "mouse"],
        prepareEvent: function prepareEvent(t) {
          var e = t;
          return V && (e = w.cloneEvent(t), e.pointerType = this.POINTER_TYPES[t.pointerType]), e;
        },
        cleanup: function cleanup(t) {
          q["delete"](t);
        },
        MSPointerDown: function MSPointerDown(t) {
          q.set(t.pointerId, t);
          var e = this.prepareEvent(t);
          w.down(e);
        },
        MSPointerMove: function MSPointerMove(t) {
          var e = this.prepareEvent(t);
          w.move(e);
        },
        MSPointerUp: function MSPointerUp(t) {
          var e = this.prepareEvent(t);
          w.up(e), this.cleanup(t.pointerId);
        },
        MSPointerOut: function MSPointerOut(t) {
          var e = this.prepareEvent(t);
          w.leaveOut(e);
        },
        MSPointerOver: function MSPointerOver(t) {
          var e = this.prepareEvent(t);
          w.enterOver(e);
        },
        MSPointerCancel: function MSPointerCancel(t) {
          var e = this.prepareEvent(t);
          w.cancel(e), this.cleanup(t.pointerId);
        },
        MSLostPointerCapture: function MSLostPointerCapture(t) {
          var e = w.makeEvent("lostpointercapture", t);
          w.dispatchEvent(e);
        },
        MSGotPointerCapture: function MSGotPointerCapture(t) {
          var e = w.makeEvent("gotpointercapture", t);
          w.dispatchEvent(e);
        }
      },
          $ = window.navigator;
      $.msPointerEnabled ? (z = function z(t) {
        c(t), l(this), h(t) && (w.setCapture(t, this, !0), this.msSetPointerCapture(t));
      }, H = function H(t) {
        c(t), w.releaseCapture(t, !0), this.msReleasePointerCapture(t);
      }) : (z = function z(t) {
        c(t), l(this), h(t) && w.setCapture(t, this);
      }, H = function H(t) {
        c(t), w.releaseCapture(t);
      }), G = function G(t) {
        return !!w.captureInfo[t];
      };
      var J = window.PointerEvent || window.MSPointerEvent;
      return {
        dispatcher: w,
        Installer: n,
        PointerEvent: t,
        PointerMap: E,
        targetFinding: P,
        applyGlobal: function applyGlobal() {
          a(), s(), p();
        },
        applyLocal: function applyLocal(t) {
          J || (u(t), d(t), t.getAttribute("touch-action") || t.setAttribute("touch-action", "none"));
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/loadAll.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/loadAll.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLoadAllJs(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__(
    /*! ./tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ./tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ./asyncUtils */
    "./node_modules/arcgis-js-api/core/asyncUtils.js"), __webpack_require__(
    /*! ./Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ./Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, t, n, e, o, i, l) {
      function a(r, t) {
        return e(this, void 0, void 0, function () {
          return n(this, function (n) {
            switch (n.label) {
              case 0:
                return [4, r.load()];

              case 1:
                return n.sent(), [2, u(r, t)];
            }
          });
        });
      }

      function u(r, t) {
        return e(this, void 0, void 0, function () {
          var a,
              _u,
              c,
              d = this;

          return n(this, function (f) {
            switch (f.label) {
              case 0:
                return a = [], _u = function u() {
                  for (var r = [], t = 0; t < arguments.length; t++) r[t] = arguments[t];

                  for (var n = 0, e = r; n < e.length; n++) {
                    var o = e[n];
                    o && (Array.isArray(o) ? _u.apply(void 0, o) : i.isCollection(o) ? o.forEach(function (r) {
                      return _u(r);
                    }) : l.isLoadable(o) && a.push(o));
                  }
                }, t(_u), c = null, [4, o.map(a, function (r) {
                  return e(d, void 0, void 0, function () {
                    var t;
                    return n(this, function (n) {
                      switch (n.label) {
                        case 0:
                          return [4, o.result(s(r) ? r.loadAll() : r.load())];

                        case 1:
                          return t = n.sent(), !1 !== t.ok || c || (c = r), [2];
                      }
                    });
                  });
                })];

              case 1:
                if (f.sent(), c) throw c.loadError;
                return [2, r];
            }
          });
        });
      }

      function s(r) {
        return "loadAll" in r && "function" == typeof r.loadAll;
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/mathUtils.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/mathUtils.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreMathUtilsJs(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 (n, t) {
      function e(n) {
        --n;

        for (var t = 1; t < 32; t <<= 1) n |= n >> t;

        return n + 1;
      }

      function r(n, t, e) {
        return n < t ? t : n > e ? e : n;
      }

      function i(n) {
        return 0 == (n & n - 1);
      }

      function a(n) {
        return Math.pow(10, Math.ceil(Math.LOG10E * Math.log(n)));
      }

      function u(n, t, e) {
        return n + (t - n) * e;
      }

      function o(n) {
        return n * Math.PI / 180;
      }

      function f(n) {
        return 180 * n / Math.PI;
      }

      function s(n) {
        return Math.acos(r(n, -1, 1));
      }

      function c(n) {
        return Math.asin(r(n, -1, 1));
      }

      function M(n, e, r) {
        if (void 0 === r && (r = 1e-6), t.isNaN(n) || t.isNaN(e)) return !1;
        if (n === e) return !0;
        var i = Math.abs(n - e),
            a = Math.abs(n),
            u = Math.abs(e);

        if (0 === n || 0 === e || a < 1e-12 && u < 1e-12) {
          if (i > .01 * r) return !1;
        } else if (i / (a + u) > r) return !1;

        return !0;
      }

      function l(n, e, r) {
        return void 0 === r && (r = 1e-6), !t.isNaN(n) && !t.isNaN(e) && (n > e ? n - e : e - n) <= r;
      }

      function h(n) {
        return N(Math.max(-t.NUMBER_MAX_FLOAT32, Math.min(n, t.NUMBER_MAX_FLOAT32)));
      }

      function N(n) {
        return d[0] = n, d[0];
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var d = new Float32Array(1);
      t.isFinite = Number.isFinite || function (n) {
        return "number" == typeof n && window.isFinite(n);
      }, t.isNaN = Number.isNaN || function (n) {
        return n !== n;
      }, t.nextHighestPowerOfTwo = e, t.clamp = r, t.isPowerOfTwo = i, t.nextHighestPowerOfTen = a, t.sign = Math.sign || function (n) {
        return +(n > 0) - +(n < 0) || +n;
      }, t.log2 = Math.log2 || function (n) {
        return Math.log(n) / Math.LN2;
      }, t.lerp = u, t.deg2rad = o, t.rad2deg = f, t.acosClamped = s, t.asinClamped = c, t.floatEqualRelative = M, t.floatEqualAbsolute = l, t.clampFloat32 = h, t.NUMBER_MAX_FLOAT32 = N(3.4028234663852886e38);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/maybe.js":
  /*!**************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/maybe.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreMaybeJs(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__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, r, e) {
      function u(n) {
        return null != n;
      }

      function t(n) {
        return null == n;
      }

      function o(n, r) {
        return u(n) ? r(n) : null;
      }

      function a(n) {
        return n;
      }

      function f(n, r) {
        return u(n) ? n : "function" == typeof r ? r() : r;
      }

      function l(n) {
        return t(n) && (e("dojo-debug-messages") || e("esri-2d-debug")) && console.error("Expected value to not be null", new Error().stack), n;
      }

      function i(n, r) {
        var e = new Array();
        return n.forEach(function (n) {
          var t = r(n);
          u(t) && e.push(t);
        }), e;
      }

      function c(n, r) {
        for (var e = new Array(), u = 0, t = n; u < t.length; u++) {
          var o = t[u];
          e.push(s(o, null, r));
        }

        return e;
      }

      function p(n, r) {
        for (var e = 0, u = n; e < u.length; e++) {
          s(u[e], null, r);
        }
      }

      function s(n, r, e) {
        return u(n) ? e(n) : r;
      }

      function h(n, r) {
        return u(n) ? r(n) : null;
      }

      function v(n, r) {
        for (var e = 0, t = n; e < t.length; e++) {
          var o = t[e],
              a = r(o);
          if (u(a)) return a;
        }

        return null;
      }

      function m(n) {
        for (var r = [], e = 1; e < arguments.length; e++) r[e - 1] = arguments[e];

        for (var u = n, t = 0; t < r.length && u;) u = u[r[t++]];

        return u;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.isSome = u, r.isNone = t, r.applySome = o, r.unwrap = a, r.unwrapOr = f, r.expect = l, r.mapSome = i, r.mapMany = c, r.forEachSome = p, r.mapOr = s, r.andThen = h, r.mapSomeFirst = v, r.get = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/nextTick.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/nextTick.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreNextTickJs(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__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n) {
      function r() {
        if (n.postMessage && !n.importScripts) {
          var e = n.onmessage,
              t = !0;
          return n.onmessage = function () {
            t = !1;
          }, n.postMessage("", "*"), n.onmessage = e, t;
        }

        return !1;
      }

      function s(e) {
        u.push(e), 1 === u.length && o(function () {
          for (var e = 0, t = f; e < t.length; e++) {
            (0, t[e])();
          }

          var n = u.slice();
          u.length = 0;

          for (var r = 0, s = n; r < s.length; r++) {
            (0, s[r])();
          }
        });
      }

      var i = n.MutationObserver || n.WebKitMutationObserver,
          o = function () {
        if (n.process && n.process.nextTick) return function (e) {
          n.process.nextTick(e);
        };
        if (n.Promise) return function (e) {
          n.Promise.resolve().then(e);
        };

        if (i) {
          var e = [],
              t = document.createElement("div");
          return new i(function () {
            for (; e.length > 0;) e.shift()();
          }).observe(t, {
            attributes: !0
          }), function (n) {
            e.push(n), t.setAttribute("queueStatus", "1");
          };
        }

        if (r()) {
          var s = [];
          return n.addEventListener("message", function (e) {
            if (e.source === n && "esri-nexttick-message" === e.data) for (e.stopPropagation(); s.length;) s.shift()();
          }, !0), function (e) {
            s.push(e), n.postMessage("esri-nexttick-message", "*");
          };
        }

        return n.setImmediate ? function (e) {
          return n.setImmediate(e);
        } : function (e) {
          return n.setTimeout(e, 0);
        };
      }(),
          u = [],
          f = [];

      return function (e) {
        function t(e) {
          return f.push(e), {
            remove: function remove() {
              f = f.filter(function (t) {
                return t !== e;
              });
            }
          };
        }

        e.before = t;
      }(s || (s = {})), s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/now.js":
  /*!************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/now.js ***!
    \************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreNowJs(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__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, r, t) {
      return function () {
        var n = t.performance || {};

        if (n) {
          if (n.now) return function () {
            return n.now();
          };
          if (n.webkitNow) return function () {
            return n.webkitNow();
          };
          if (n.mozNow) return function () {
            return n.mozNow();
          };
          if (n.msNow) return function () {
            return n.msNow();
          };
          if (n.oNow) return function () {
            return n.oNow();
          };
        }

        var r;
        return r = n.timing && n.timing.navigationStart ? n.timing.navigationStart : Date.now(), function () {
          return Date.now() - r;
        };
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/object.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/object.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreObjectJs(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, n) {
      function r(e, n) {
        if (null != n) return n[e] || u(e.split("."), !1, n);
      }

      function t(e, n, r) {
        var t = e.split("."),
            i = t.pop(),
            f = u(t, !0, r);
        f && i && (f[i] = n);
      }

      function u(e, n, r) {
        for (var t = r, u = 0, i = e; u < i.length; u++) {
          var f = i[u];
          if (null == t) return;

          if (!(f in t)) {
            if (!n) return;
            t[f] = {};
          }

          t = t[f];
        }

        return t;
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/pbf.js":
  /*!************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/pbf.js ***!
    \************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCorePbfJs(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__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, o) {
      var r = i("esri-text-decoder") ? new TextDecoder("utf-8") : null,
          s = i("safari") || i("ios") ? 6 : i("ff") ? 12 : 32;
      return function () {
        function t(t, e, i, o) {
          void 0 === i && (i = 0), void 0 === o && (o = t ? t.byteLength : 0), this._tag = 0, this._dataType = 99, this.init(t, e, i, o);
        }

        return t.prototype.init = function (t, e, i, o) {
          this._data = t, this._dataView = e, this._pos = i, this._end = o;
        }, t.prototype.clone = function () {
          return new t(this._data, this._dataView, this._pos, this._end);
        }, t.prototype.pos = function () {
          return this._pos;
        }, t.prototype.next = function (t) {
          for (;;) {
            if (this._pos === this._end) return !1;

            var e = this._decodeVarint();

            if (this._tag = e >> 3, this._dataType = 7 & e, !t || t === this._tag) break;
            this.skip();
          }

          return !0;
        }, t.prototype.empty = function () {
          return this._pos >= this._end;
        }, t.prototype.tag = function () {
          return this._tag;
        }, t.prototype.getInt32 = function () {
          return this._decodeVarint();
        }, t.prototype.getInt64 = function () {
          return this._decodeVarint();
        }, t.prototype.getUInt32 = function () {
          var t = 4294967295;
          return t = (127 & this._data[this._pos]) >>> 0, this._data[this._pos++] < 128 ? t : (t = (t | (127 & this._data[this._pos]) << 7) >>> 0, this._data[this._pos++] < 128 ? t : (t = (t | (127 & this._data[this._pos]) << 14) >>> 0, this._data[this._pos++] < 128 ? t : (t = (t | (127 & this._data[this._pos]) << 21) >>> 0, this._data[this._pos++] < 128 ? t : (t = (t | (15 & this._data[this._pos]) << 28) >>> 0, this._data[this._pos++] < 128 ? t : void 0))));
        }, t.prototype.getUInt64 = function () {
          return this._decodeVarint();
        }, t.prototype.getSInt32 = function () {
          var t = this.getUInt32();
          return t >>> 1 ^ -(1 & t) | 0;
        }, t.prototype.getSInt64 = function () {
          return this._decodeSVarint();
        }, t.prototype.getBool = function () {
          var t = 0 !== this._data[this._pos];
          return this._skip(1), t;
        }, t.prototype.getEnum = function () {
          return this._decodeVarint();
        }, t.prototype.getFixed64 = function () {
          var t = this._dataView,
              e = this._pos,
              i = t.getUint32(e, !0) + 4294967296 * t.getUint32(e + 4, !0);
          return this._skip(8), i;
        }, t.prototype.getSFixed64 = function () {
          var t = this._dataView,
              e = this._pos,
              i = t.getUint32(e, !0) + 4294967296 * t.getInt32(e + 4, !0);
          return this._skip(8), i;
        }, t.prototype.getDouble = function () {
          var t = this._dataView.getFloat64(this._pos, !0);

          return this._skip(8), t;
        }, t.prototype.getFixed32 = function () {
          var t = this._dataView.getUint32(this._pos, !0);

          return this._skip(4), t;
        }, t.prototype.getSFixed32 = function () {
          var t = this._dataView.getInt32(this._pos, !0);

          return this._skip(4), t;
        }, t.prototype.getFloat = function () {
          var t = this._dataView.getFloat32(this._pos, !0);

          return this._skip(4), t;
        }, t.prototype.getString = function () {
          var t = this._getLength(),
              e = this._pos,
              i = this._toString(this._data, e, e + t);

          return this._skip(t), i;
        }, t.prototype.getBytes = function () {
          var t = this._getLength(),
              e = this._pos,
              i = this._toBytes(this._data, e, e + t);

          return this._skip(t), i;
        }, t.prototype.processMessageWithArgs = function (t, e, i, o) {
          var r = this.getMessage(),
              s = t(r, e, i, o);
          return r.release(), s;
        }, t.prototype.processMessage = function (t) {
          var e = this.getMessage(),
              i = t(e);
          return e.release(), i;
        }, t.prototype.getMessage = function () {
          var e = this._getLength(),
              i = t.pool.acquire();

          return i.init(this._data, this._dataView, this._pos, this._pos + e), this._skip(e), i;
        }, t.prototype.release = function () {
          t.pool.release(this);
        }, t.prototype.skip = function () {
          switch (this._dataType) {
            case 0:
              this._decodeVarint();

              break;

            case 1:
              this._skip(8);

              break;

            case 2:
              this._skip(this._getLength());

              break;

            case 5:
              this._skip(4);

              break;

            default:
              throw new Error("Invalid data type!");
          }
        }, t.prototype._skip = function (t) {
          if (this._pos + t > this._end) throw new Error("Attempt to skip past the end of buffer!");
          this._pos += t;
        }, t.prototype._decodeVarint = function () {
          var t,
              e = this._data,
              i = this._pos,
              o = 0;
          if (this._end - i >= 10) do {
            if (t = e[i++], o |= 127 & t, 0 == (128 & t)) break;
            if (t = e[i++], o |= (127 & t) << 7, 0 == (128 & t)) break;
            if (t = e[i++], o |= (127 & t) << 14, 0 == (128 & t)) break;
            if (t = e[i++], o |= (127 & t) << 21, 0 == (128 & t)) break;
            if (t = e[i++], o += 268435456 * (127 & t), 0 == (128 & t)) break;
            if (t = e[i++], o += 34359738368 * (127 & t), 0 == (128 & t)) break;
            if (t = e[i++], o += 4398046511104 * (127 & t), 0 == (128 & t)) break;
            if (t = e[i++], o += 562949953421312 * (127 & t), 0 == (128 & t)) break;
            if (t = e[i++], o += 72057594037927940 * (127 & t), 0 == (128 & t)) break;
            if (t = e[i++], o += 0x8000000000000000 * (127 & t), 0 == (128 & t)) break;
            throw new Error("Varint too long!");
          } while (!1);else {
            for (var r = 1; i !== this._end && 0 != (128 & (t = e[i]));) ++i, o += (127 & t) * r, r *= 128;

            if (i === this._end) throw new Error("Varint overrun!");
            ++i, o += t * r;
          }
          return this._pos = i, o;
        }, t.prototype._decodeSVarint = function () {
          var t = this._decodeVarint();

          return t % 2 ? -(t + 1) / 2 : t / 2;
        }, t.prototype._getLength = function () {
          if (2 !== this._dataType) throw new Error("Not a delimited data type!");
          return this._decodeVarint();
        }, t.prototype._toString = function (t, e, i) {
          if ((i = Math.min(this._end, i)) - e > s && r) {
            var o = t.subarray(e, i);
            return r.decode(o);
          }

          for (var n = "", a = "", p = e; p < i; ++p) {
            var h = t[p];
            128 & h ? a += "%" + h.toString(16) : (n += decodeURIComponent(a) + String.fromCharCode(h), a = "");
          }

          return a.length && (n += decodeURIComponent(a)), n;
        }, t.prototype._toBytes = function (t, e, i) {
          return i = Math.min(this._end, i), new Uint8Array(t.buffer, e, i - e);
        }, t.pool = new o(t, !1, function (t) {
          t._data = null, t._dataView = null;
        }), t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/promiseUtils.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/promiseUtils.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCorePromiseUtilsJs(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__(
    /*! @dojo/framework/shim/AbortController */
    "./node_modules/@dojo/framework/shim/AbortController.mjs"), __webpack_require__(
    /*! dojo/Deferred */
    "./node_modules/dojo/Deferred.js"), __webpack_require__(
    /*! dojo/promise/all */
    "./node_modules/dojo/promise/all.js"), __webpack_require__(
    /*! ./Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ./events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ./maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./clock */
    "./node_modules/arcgis-js-api/core/clock.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, n, e, t, o, i, u, c, f, a) {
      function l(r) {
        return f("esri-native-promise") ? Promise.all(r) : o(r);
      }

      function s(r, n) {
        var e = r.slice();
        return l(r.map(function (r, e) {
          return n(r, e);
        })).then(function (r) {
          return e.filter(function (n, e) {
            return r[e];
          });
        });
      }

      function v(r, n) {
        if (f("esri-native-promise")) return new Promise(r);
        var e = new t(n);

        try {
          r(function (r) {
            return S(r).then(e.resolve);
          }, e.reject);
        } catch (r) {
          e.reject(r);
        }

        return e.promise;
      }

      function m(r) {
        void 0 === r && (r = "Aborted");
        var n = new i("AbortError", r);
        return n.dojoType = "cancel", n;
      }

      function h() {
        return new e["default"]();
      }

      function p(r) {
        if (b(r)) throw m();
      }

      function d(r) {
        return c.isSome(r) ? "aborted" in r ? r : r.signal : r;
      }

      function b(r) {
        var n = d(r);
        return c.isSome(n) && n.aborted;
      }

      function w(r) {
        if (A(r)) throw r;
      }

      function j(r, n) {
        var e = d(r);
        if (!c.isNone(e)) return e.aborted ? void n(m()) : u.once(e, "abort", function () {
          return n(m());
        });
      }

      function y(r, n) {
        var e = d(r);
        if (!c.isNone(e)) return p(e), u.once(e, "abort", function () {
          return n(m());
        });
      }

      function A(r) {
        return r && ("AbortError" === r.name || "cancel" === r.dojoType);
      }

      function E(r) {
        var n = null,
            e = v(function (r, e) {
          n = {
            resolve: r,
            reject: e
          };
        }, r);
        return n.promise = e, n.cancel = function () {
          n.reject(m());
        }, n;
      }

      function T(r) {
        if (r) {
          if ("function" != typeof r.forEach) {
            var n = Object.keys(r);
            return T(n.map(function (n) {
              return r[n];
            })).then(function (r) {
              var e = {};
              return n.forEach(function (n, t) {
                return e[n] = r[t];
              }), e;
            });
          }

          var e = r,
              t = null,
              o = C;
          return v(function (r, n) {
            var i = [],
                u = e.length;
            0 === u && r(i), e.forEach(function (e) {
              var c = {
                promise: e || o(e)
              };
              i.push(c), c.promise.then(function (r) {
                c.value = r;
              })["catch"](function (r) {
                c.error = r;
              }).then(function () {
                0 === --u && (t ? n(m()) : r(i));
              });
            });
          }, function (r) {
            t = r || "Invocation cancellation", e.forEach(function (n) {
              "cancel" in n && n.cancel(r);
            });
          });
        }
      }

      function P(r) {
        return T(r).then(function (r) {
          return r.filter(function (r) {
            return !!r.value;
          }).map(function (r) {
            return r.value;
          });
        });
      }

      function g(r) {
        return r && r.length ? v(function (n, e) {
          for (var t = 0, o = r; t < o.length; t++) {
            o[t].then(n, e);
          }
        }) : C();
      }

      function k(r) {
        if (f("esri-native-promise")) return Promise.reject(r);
        var n = new t();
        return n.reject(r), n.promise;
      }

      function C(r) {
        if (void 0 === r && (r = void 0), f("esri-native-promise")) return Promise.resolve(r);
        var n = new t();
        return n.resolve(r), n.promise;
      }

      function I(r, n, e) {
        void 0 === n && (n = void 0);
        var t = h();
        return j(e, function () {
          return t.abort();
        }), v(function (e) {
          var o = setTimeout(function () {
            o = 0, e(n);
          }, r);
          j(t, function () {
            o && (clearTimeout(o), k(m()));
          });
        }, function () {
          return t.abort();
        });
      }

      function O(r, n, e, t) {
        var o = e && "abort" in e ? e : null;
        null != t || o || (t = e);

        var u = setTimeout(function () {
          u = 0, o && o.abort();
        }, n),
            c = function c() {
          throw t || new i("promiseUtils:timeout", "The wrapped promise did not resolve within " + n + " ms");
        };

        return r.then(function (r) {
          if (0 === u) throw c();
          return clearTimeout(u), r;
        }, function (r) {
          throw clearTimeout(u), 0 === u ? c() : r;
        });
      }

      function D(r) {
        var n = !1;
        return v(function () {
          r(function (r) {
            n || C(r);
          });
        }, function () {
          return n = !0;
        });
      }

      function N(r) {
        return r && "function" == typeof r.then;
      }

      function S(r) {
        return r && "object" == typeof r && "then" in r && "function" == typeof r.then ? r : C(r);
      }

      function _(r, n) {
        void 0 === n && (n = -1);

        var e,
            t,
            o,
            i,
            u = null,
            c = function c() {
          for (var f = [], a = 0; a < arguments.length; a++) f[a] = arguments[a];

          if (e) {
            t = f, i && i.reject(m()), i = E();
            var l = i.promise;

            if (u) {
              var s = u;
              u = null, s.abort();
            }

            return l;
          }

          if (o = i || E(), i = null, n > 0) {
            var v = h();
            e = S(r.apply(void 0, f.concat([v.signal])));
            var p = e;
            I(n).then(function () {
              e === p && (i ? v.abort() : u = v);
            });
          } else e = 1, e = S(r.apply(void 0, f));

          var d = function d() {
            var r = t;
            t = o = e = u = null, null != r && c.apply(void 0, r);
          },
              b = e,
              w = o;

          return b.then(d, d), b.then(w.resolve, w.reject), w.promise;
        };

        return c;
      }

      function q(r) {
        var n,
            e,
            t = v(function (r, t) {
          n = r, e = t;
        }, r),
            o = function o(r) {
          n(r);
        };

        return o.resolve = function (r) {
          return n(r);
        }, o.reject = function (r) {
          return e(r);
        }, o.timeout = function (r, n) {
          return a["default"].setTimeout(function () {
            return o.reject(n);
          }, r);
        }, o.promise = t, o;
      }

      function x(r, n) {
        return r.then(n, n);
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), f.add("esri-native-promise", !1), n.all = l, n.filter = s, n.create = v, n.createAbortError = m, n.createAbortController = h, n.throwIfAborted = p, n.isAborted = b, n.throwIfAbortError = w, n.onAbort = j, n.onAbortOrThrow = y, n.isAbortError = A, n.createDeferred = E, n.eachAlways = T, n.eachAlwaysValues = P, n.first = g, n.reject = k, n.resolve = C, n.after = I, n.timeout = O, n.wrapCallback = D, n.isPromiseLike = N, n.when = S, n.debounce = _, n.createResolver = q, n.always = x;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/requestAnimationFrame.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/requestAnimationFrame.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreRequestAnimationFrameJs(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__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js"), __webpack_require__(
    /*! ./now */
    "./node_modules/arcgis-js-api/core/now.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t, r) {
      var i = r(),
          o = t.requestAnimationFrame;

      if (!o) {
        for (var a = ["ms", "moz", "webkit", "o"], u = 0; u < a.length && !o; ++u) o = t[a[u] + "RequestAnimationFrame"];

        o || (o = function o(e) {
          var n = r(),
              o = Math.max(0, 16 - (n - i)),
              a = t.setTimeout(function () {
            e(r());
          }, o);
          return i = n + o, a;
        });
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/requireUtils.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/requireUtils.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreRequireUtilsJs(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__(
    /*! ./deprecate */
    "./node_modules/arcgis-js-api/core/deprecate.js"), __webpack_require__(
    /*! ./Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i) {
      function o(e, r) {
        return t.deprecatedFunction(s, "when", {
          moduleName: "requireUtils",
          replacement: "Use `promiseUtils.create()` instead.",
          version: "4.10",
          warnOnce: !0
        }), Array.isArray(r) ? i.create(function (t) {
          e(r, function () {
            for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r];

            t(e);
          });
        }) : o(e, [r]).then(function (e) {
          return e[0];
        });
      }

      function c(e, r, t) {
        return r.toAbsMid ? r.toAbsMid(e) : t.id.replace(/\/[^\/]*$/gi, "/") + e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var s = n.getLogger("esri.core.requireUtils");
      r.when = o, r.getAbsMid = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/scheduling.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/scheduling.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreSchedulingJs(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__(
    /*! ./nextTick */
    "./node_modules/arcgis-js-api/core/nextTick.js"), __webpack_require__(
    /*! ./now */
    "./node_modules/arcgis-js-api/core/now.js"), __webpack_require__(
    /*! ./PooledArray */
    "./node_modules/arcgis-js-api/core/PooledArray.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./requestAnimationFrame */
    "./node_modules/arcgis-js-api/core/requestAnimationFrame.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, a, i, o) {
      function u(e) {
        var n = new g(e);
        return y.push(n), t.debug.willDispatch || (t.debug.willDispatch = !0, r(h)), n;
      }

      function s(e) {
        var r = new b(e);
        return D.push(r), t.debug.rafId || (w = -1, t.debug.rafId = m()), new q(r);
      }

      function c(e) {
        void 0 === e && (e = !1), D.forEach(function (e) {
          e.removed = !0;
        }), e && p();
      }

      function d(e) {
        F = Math.max(0, e);
      }

      function f(e) {
        if (void 0 === e && (e = t.now()), t.debug.rafId = null, D.length > 0 && (t.debug.rafId = m()), w > 0) {
          var r = e - w;
          T = Math.min(r, T);
        }

        t.debug.executeFrameTasks(e);
      }

      function l(e) {
        void 0 === e && (e = t.now()), w < 0 && (w = e);
        var r = e - w,
            n = F > 0 ? F : T,
            a = Math.max(0, r - n);
        w = e;

        for (var i = 0; i < A.length; i++) !function (i) {
          var o = A[i];
          D.forEach(function (u) {
            if (!u.paused && !u.removed) {
              0 === i && u.ticks++;
              u.phases[o] && (x.time = e, x.deltaTime = 0 === u.ticks ? 0 : r, x.elapsedFrameTime = t.now() - e, x.frameDuration = n - a, u.phases[o].call(u, x));
            }
          });
        }(i);

        p();
      }

      function m() {
        return t.debug.requestNextFrame ? t.debug.requestNextFrame(v) : v();
      }

      function p() {
        D.forEach(function (e) {
          e.removed && _.push(e);
        }), D.removeUnorderedMany(_.data, _.length), _.clear();
      }

      function h() {
        for (; y.length;) {
          var e = y.shift();
          e.isActive && (e.isActive = !1, e.callback());
        }

        t.debug.willDispatch = !1;
      }

      function v() {
        return o(f);
      }

      function k(e, t) {
        void 0 === e && (e = 1);

        var n = i.createResolver(),
            a = function a() {
          i.isAborted(t) ? n.reject(i.createAbortError()) : 0 === e ? n() : (--e, r(function () {
            return a();
          }));
        };

        return a(), n.promise;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.now = n;

      var b = function () {
        function e(e) {
          this.phases = e, this.paused = !1, this.ticks = -1, this.removed = !1;
        }

        return e;
      }(),
          g = function () {
        function e(e) {
          this.callback = e, this.isActive = !0;
        }

        return e.prototype.remove = function () {
          this.isActive = !1;
        }, e;
      }(),
          w = -1,
          F = 0,
          T = 1e3,
          x = {
        time: 0,
        deltaTime: 0,
        elapsedFrameTime: 0,
        frameDuration: 0
      },
          A = ["prepare", "preRender", "render", "postRender", "update"],
          y = [],
          D = new a(),
          q = function () {
        function e(e) {
          this._task = e;
        }

        return e.prototype.remove = function () {
          this._task.removed = !0;
        }, e.prototype.pause = function () {
          this._task.paused = !0;
        }, e.prototype.resume = function () {
          this._task.paused = !1;
        }, e;
      }();

      t.FrameTaskHandle = q, t.debug = {
        frameTasks: D,
        rafId: null,
        requestNextFrame: null,
        willDispatch: !1,
        clearFrameTasks: c,
        dispatch: h,
        executeFrameTasks: l
      }, t.schedule = u, t.addFrameTask = s, t.setFrameDuration = d, t.requestNextFrame = m;

      var _ = new a();

      t.waitTicks = k;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/screenUtils.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/screenUtils.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreScreenUtilsJs(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__(
    /*! ./compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function t(e) {
        return e ? e / 72 * g : 0;
      }

      function c(e) {
        return e ? 72 * e / g : 0;
      }

      function i(e) {
        if ("string" == typeof e) {
          if (A.test(e)) {
            var r = e.match(A),
                n = Number(r[1]),
                t = r[3] && r[3].toLowerCase(),
                i = "-" === e.charAt(0),
                o = "px" === t ? c(n) : n;
            return i ? -o : o;
          }

          return console.warn(T), null;
        }

        return e;
      }

      function o(e, r) {
        return void 0 === e && (e = 0), void 0 === r && (r = 0), {
          x: e,
          y: r
        };
      }

      function a(e, r) {
        return void 0 === e && (e = 0), void 0 === r && (r = 0), [e, r];
      }

      function u(e, r) {
        return void 0 === e && (e = 0), void 0 === r && (r = 0), {
          x: e,
          y: r
        };
      }

      function s(e, r) {
        return void 0 === e && (e = 0), void 0 === r && (r = 0), v([e, r]);
      }

      function d(e, r, n) {
        return void 0 === e && (e = 0), void 0 === r && (r = 0), void 0 === n && (n = 0), f([e, r, n]);
      }

      function v(e) {
        return e;
      }

      function f(e) {
        return e;
      }

      function p(e) {
        return e;
      }

      function y(e, r, n) {
        var t, c;

        switch (e.type) {
          case "2d":
            var i = window.devicePixelRatio || 1;
            t = r.x * i, c = r.y * i;
            break;

          case "3d":
            w(r, E), e.state.camera.screenToRender(E, k), t = k[0], c = k[1];
        }

        return n ? (n.x = t, n.y = c, n) : u(t, c);
      }

      function l(e, r, n) {
        var t, c;

        switch (e.type) {
          case "2d":
            var i = window.devicePixelRatio || 1;
            t = r.x / i, c = r.y / i;
            break;

          case "3d":
            w(r, k), e.state.camera.renderToScreen(k, E), t = E[0], c = E[1];
        }

        return n ? (n.x = t, n.y = c, n) : o(t, c);
      }

      function P(e, r, n) {
        var t, c;

        switch (e.type) {
          case "2d":
            var i = window.devicePixelRatio || 1;
            t = r[0] * i, c = r[1] * i;
            break;

          case "3d":
            e.state.camera.screenToRender(r, k), t = k[0], c = k[1];
        }

        return n ? (n[0] = t, n[1] = c, n.length > 2 && (n[2] = 0), n) : s(t, c);
      }

      function x(e, r, n) {
        var t, c;

        switch (e.type) {
          case "2d":
            var i = window.devicePixelRatio || 1;
            t = r[0] / i, c = r[0] / i;
            break;

          case "3d":
            e.state.camera.renderToScreen(r, E), t = E[0], c = E[1];
        }

        return n ? (n[0] = t, n[1] = c, n) : a(t, c);
      }

      function S(e, r) {
        return r ? (r.x = e[0], r.y = e[1], r) : {
          x: e[0],
          y: e[1]
        };
      }

      function w(e, r) {
        return r ? (r[0] = e.x, r[1] = e.y, r.length > 2 && (r[2] = 0), r) : [e.x, e.y];
      }

      function m(e) {
        return o(e.x, e.y);
      }

      function R(e, r) {
        var n = (e instanceof HTMLElement ? e : e.surface).getBoundingClientRect();
        return o(r.clientX - n.left, r.clientY - n.top);
      }

      function h(e, r) {
        return r instanceof Event ? R(e, r) : m(r);
      }

      function b(e) {
        if (e instanceof Event) return !0;

        if ("object" == typeof e && "type" in e) {
          var r = e.type;

          switch (r) {
            case "click":
            case "double-click":
            case "pointer-down":
            case "pointer-drag":
            case "pointer-enter":
            case "pointer-leave":
            case "pointer-up":
            case "pointer-move":
            case "immediate-click":
            case "hold":
            case "drag":
            case "mouse-wheel":
              return !0;

            case "key-down":
            case "key-up":
            case "gamepad":
            case "focus":
            case "blur":
              return !1;

            default:
              return n.neverReachedSilent(r), !1;
          }
        }

        return !1;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var A = /^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/i,
          T = "screenUtils.toPt: input not recognized!",
          g = 96;
      r.pt2px = t, r.px2pt = c, r.toPt = i, r.createScreenPoint = o, r.createScreenPointArray = a, r.createRenderScreenPoint = u, r.createRenderScreenPointArray = s, r.createRenderScreenPointArray3 = d, r.castRenderScreenPointArray = v, r.castRenderScreenPointArray3 = f, r.castScreenPointArray = p, r.screenToRender = y, r.renderToScreen = l, r.screenArrayToRender = P, r.renderArrayToScreen = x, r.screenPointArrayToObject = S, r.screenPointObjectToArray = w, r.createScreenPointFromEvent = m, r.createScreenPointFromNativeEvent = R, r.createScreenPointFromSupportedEvent = h, r.isSupportedScreenPointEvent = b;
      var k = s(),
          E = a();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/string.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/string.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreStringJs(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__(
    /*! ./object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! @dojo/framework/shim/string */
    "./node_modules/@dojo/framework/shim/string.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n) {
      function i(e, t) {
        return e.replace(c, "object" == typeof t ? function (e, n) {
          return r.getDeepValue(n, t);
        } : function (e, r) {
          return t(r);
        });
      }

      function o(e) {
        return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g, function (e) {
          return "\\" + e;
        });
      }

      function u(e) {
        for (var t = 0, r = 0; r < e.length; r++) t = (t << 5) - t + e.charCodeAt(r), t |= 0;

        return t;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var c = /\{([^\}]+)\}/g;
      t.endsWith = n.endsWith, t.startsWith = n.startsWith, t.replace = i, t.escapeRegExpString = o, t.numericHash = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportAssignHelperJs(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_AMD_DEFINE_RESULT__ = function () {
      return Object.assign || function (n) {
        for (var r, t = 1, e = arguments.length; t < e; t++) {
          r = arguments[t];

          for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
        }

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

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportAwaiterHelperJs(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__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n) {
      function t(t, e, c, u) {
        function i(n) {
          o && o.cancel && o.cancel(n);
        }

        var o = null;
        return n.create(function (c, i) {
          function r(n) {
            try {
              f(u.next(n));
            } catch (n) {
              i(n);
            }
          }

          function a(n) {
            try {
              f(u["throw"](n));
            } catch (n) {
              i(n);
            }
          }

          function f(t) {
            t.done ? (o = n.when(t.value), o.then(c, i)) : (o = n.when(t.value), o.then(r, a));
          }

          f((u = u.apply(t, e || [])).next());
        }, i);
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportDeclareExtendsHelperJs(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, _) {
      function n(e, _) {
        e.__bases__ = _.__bases__;
      }

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

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportDecorateHelperJs(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_AMD_DEFINE_RESULT__ = function () {
      return function (e, t, r, n) {
        var c,
            f = arguments.length,
            o = f < 3 ? t : null === n ? n = Object.getOwnPropertyDescriptor(t, r) : n;
        if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) o = Reflect.decorate(e, t, r, n);else for (var l = e.length - 1; l >= 0; l--) (c = e[l]) && (o = (f < 3 ? c(o) : f > 3 ? c(t, r, o) : c(t, r)) || o);
        return f > 3 && o && Object.defineProperty(t, r, o), o;
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportExtendsHelperJs(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_AMD_DEFINE_RESULT__ = function () {
      return function () {
        var t = Object.setPrototypeOf || {
          __proto__: []
        } instanceof Array && function (t, o) {
          t.__proto__ = o;
        } || function (t, o) {
          for (var n in o) o.hasOwnProperty(n) && (t[n] = o[n]);
        };

        return function (o, n) {
          function r() {
            this.constructor = o;
          }

          t(o, n), o.prototype = null === n ? Object.create(n) : (r.prototype = n.prototype, new r());
        };
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportGeneratorHelperJs(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_AMD_DEFINE_RESULT__ = function () {
      return function (e, n) {
        function r(e) {
          return function (n) {
            return t([e, n]);
          };
        }

        function t(r) {
          if (o) throw new TypeError("Generator is already executing.");

          for (; i;) try {
            if (o = 1, l && (a = 2 & r[0] ? l["return"] : r[0] ? l["throw"] || ((a = l["return"]) && a.call(l), 0) : l.next) && !(a = a.call(l, r[1])).done) return a;

            switch (l = 0, a && (r = [2 & r[0], a.value]), r[0]) {
              case 0:
              case 1:
                a = r;
                break;

              case 4:
                return i.label++, {
                  value: r[1],
                  done: !1
                };

              case 5:
                i.label++, l = r[1], r = [0];
                continue;

              case 7:
                r = i.ops.pop(), i.trys.pop();
                continue;

              default:
                if (a = i.trys, !(a = a.length > 0 && a[a.length - 1]) && (6 === r[0] || 2 === r[0])) {
                  i = 0;
                  continue;
                }

                if (3 === r[0] && (!a || r[1] > a[0] && r[1] < a[3])) {
                  i.label = r[1];
                  break;
                }

                if (6 === r[0] && i.label < a[1]) {
                  i.label = a[1], a = r;
                  break;
                }

                if (a && i.label < a[2]) {
                  i.label = a[2], i.ops.push(r);
                  break;
                }

                a[2] && i.ops.pop(), i.trys.pop();
                continue;
            }

            r = n.call(e, i);
          } catch (e) {
            r = [6, e], l = 0;
          } finally {
            o = a = 0;
          }

          if (5 & r[0]) throw r[1];
          return {
            value: r[0] ? r[1] : void 0,
            done: !0
          };
        }

        var o,
            l,
            a,
            u,
            i = {
          label: 0,
          sent: function sent() {
            if (1 & a[0]) throw a[1];
            return a[1];
          },
          trys: [],
          ops: []
        };
        return u = {
          next: r(0),
          "throw": r(1),
          "return": r(2)
        }, "function" == typeof Symbol && (u[Symbol.iterator] = function () {
          return this;
        }), u;
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTsSupportParamHelperJs(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_AMD_DEFINE_RESULT__ = function () {
      return function (n, t) {
        return function (u, e) {
          t(u, e, n);
        };
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/typedArrayUtil.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/typedArrayUtil.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreTypedArrayUtilJs(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 (r, n) {
      function t(r, n) {
        if (r.forEach) r.forEach(n);else for (var t = 0; t < r.length; t++) n(r[t], t, r);
      }

      function o(r, n, t) {
        if (r.slice) return r.slice(n, t);
        void 0 === n ? n = 0 : (n < 0 && (n += r.length), n = Math.min(r.length, Math.max(0, n))), void 0 === t ? t = r.length : (t < 0 && (t += r.length), t = Math.min(r.length, Math.max(0, t)));

        for (var o = Math.max(0, t - n), a = r.constructor, c = new a(o), e = 0; e < o; e++) c[e] = r[n + e];

        return c;
      }

      function a(r) {
        return r instanceof ArrayBuffer || r && r.constructor && "ArrayBuffer" === r.constructor.name;
      }

      function c(r) {
        return r instanceof Int8Array || r && r.constructor && "Int8Array" === r.constructor.name;
      }

      function e(r) {
        return r instanceof Uint8Array || r && r.constructor && "Uint8Array" === r.constructor.name;
      }

      function i(r) {
        return r instanceof Uint8ClampedArray || r && r.constructor && "Uint8ClampedArray" === r.constructor.name;
      }

      function u(r) {
        return r instanceof Int16Array || r && r.constructor && "Int16Array" === r.constructor.name;
      }

      function s(r) {
        return r instanceof Uint16Array || r && r.constructor && "Uint16Array" === r.constructor.name;
      }

      function f(r) {
        return r instanceof Int32Array || r && r.constructor && "Int32Array" === r.constructor.name;
      }

      function y(r) {
        return r instanceof Uint32Array || r && r.constructor && "Uint32Array" === r.constructor.name;
      }

      function A(r) {
        return r instanceof Float32Array || r && r.constructor && "Float32Array" === r.constructor.name;
      }

      function l(r) {
        return r instanceof Float64Array || r && r.constructor && "Float64Array" === r.constructor.name;
      }

      function m(r) {
        for (var n = new Array(r.length), t = 0; t < r.length; t++) n[t] = r[t];

        return n;
      }

      function h(r) {
        return r ? 128 + r.buffer.byteLength + 64 : 0;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.forEach = t, n.slice = o, n.isArrayBuffer = a, n.isInt8Array = c, n.isUint8Array = e, n.isUint8ClampedArray = i, n.isInt16Array = u, n.isUint16Array = s, n.isInt32Array = f, n.isUint32Array = y, n.isFloat32Array = A, n.isFloat64Array = l, n.toArray = m, n.estimateSize = h;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/unitUtils.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/unitUtils.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreUnitUtilsJs(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__(
    /*! ./compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ./iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ./jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ./wgs84Constants */
    "./node_modules/arcgis-js-api/core/wgs84Constants.js"), __webpack_require__(
    /*! ../geometry/support/WKIDUnitConversion */
    "./node_modules/arcgis-js-api/geometry/support/WKIDUnitConversion.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, s, t, r, i, n, a) {
      function u(e, s, t) {
        return e * E[t].units[s].inBaseUnits;
      }

      function c(e, s, t) {
        return e / E[t].units[s].inBaseUnits;
      }

      function o(e) {
        var s = A[e];
        if (s) return s;
        throw new Error("unknown measure");
      }

      function l(e) {
        return E[e].baseUnit;
      }

      function f(e) {
        return l(o(e));
      }

      function m(e, s) {
        return void 0 === s && (s = null), s = s || o(e), E[s].baseUnit === e;
      }

      function U(e, s, t) {
        if (s === t) return e;
        var r = o(s);
        if (r !== o(t)) throw new Error("incompatible units");
        var i = m(s, r) ? e : u(e, s, r);
        return m(t, r) ? i : c(i, t, r);
      }

      function d(e, s) {
        return U(e, s, "meters") < 3e3 ? "meters" : "kilometers";
      }

      function B(e, s) {
        return U(e, s, "meters") < 1e5 ? "meters" : "kilometers";
      }

      function h(e, s) {
        return U(e, s, "feet") < 1e3 ? "feet" : "miles";
      }

      function k(e, s) {
        return U(e, s, "feet") < 1e5 ? "feet" : "miles";
      }

      function b(e, s) {
        return U(e, s, "square-meters") < 3e6 ? "square-meters" : "square-kilometers";
      }

      function g(e, s) {
        return U(e, s, "square-feet") < 1e6 ? "square-feet" : "square-miles";
      }

      function p(e, s, t) {
        return void 0 === t && (t = n.wgs84Radius), U(e, s, "meters") / (t * Math.PI / 180);
      }

      function y(e) {
        return L.fromJSON(e.toLowerCase()) || null;
      }

      function q(e) {
        return L.toJSON(e) || null;
      }

      function v(e) {
        var s = w(e);
        return s > 1e5 ? 1 : s;
      }

      function _(e) {
        return w(e) > 1e5 ? "meters" : M(e);
      }

      function w(e, s) {
        return void 0 === s && (s = R), S(e, !0) || s;
      }

      function S(e, s) {
        void 0 === s && (s = !1);
        var t, r, i;
        if (null != e && ("object" == typeof e ? (t = e.wkid, r = e.wkt) : "number" == typeof e ? t = e : "string" == typeof e && (r = e)), t) !(i = O.values[O[t]]) && s && J.has(t) && (i = F);else if (r && -1 !== r.search(/^PROJCS/i)) {
          var n = I.exec(r);
          n && n[1] && (i = parseFloat(n[1].split(",")[1]));
        }
        return i;
      }

      function M(e) {
        var s, t, r;
        if (null != e && ("object" == typeof e ? (s = e.wkid, t = e.wkt) : "number" == typeof e ? s = e : "string" == typeof e && (t = e)), s) r = O.units[O[s]];else if (t && -1 !== t.search(/^PROJCS/i)) {
          var i = I.exec(t);
          i && i[1] && (i = /[\\"\\']{1}([^\\"\\']+)/.exec(i[1]), r = i && i[1]);
        }
        return r ? y(r) : null;
      }

      function P(e) {
        if (!e) return null;
        var s = M(e);

        switch (s) {
          case "feet":
          case "us-feet":
          case "clarke-feet":
          case "clarke-yards":
          case "clarke-links":
          case "sears-yards":
          case "sears-feet":
          case "sears-chains":
          case "benoit-1895-b-chains":
          case "indian-yards":
          case "indian-1937-yards":
          case "gold-coast-feet":
          case "sears-1922-truncated-chains":
            return "imperial";

          case "50-kilometers":
          case "150-kilometers":
          case "meters":
            return "metric";

          case null:
          case void 0:
            return null;

          default:
            t.neverReached(s);
        }

        return null;
      }

      Object.defineProperty(s, "__esModule", {
        value: !0
      }), s.inchesPerMeter = 39.37;

      var R = n.wgs84Radius * Math.PI / 180,
          F = n.wgs84Radius * Math.PI / 200,
          I = /UNIT\[([^\]]+)\]\]$/i,
          O = a,
          J = r.createSetFromValues([4261, 4305, 4807, 4810, 4811, 4812, 4816, 4819, 4821, 4901, 4902, 37225, 104139, 104140]),
          L = i.strict()({
        meter: "meters",
        foot: "feet",
        foot_us: "us-feet",
        foot_clarke: "clarke-feet",
        yard_clarke: "clarke-yards",
        link_clarke: "clarke-links",
        yard_sears: "sears-yards",
        foot_sears: "sears-feet",
        chain_sears: "sears-chains",
        chain_benoit_1895_b: "benoit-1895-b-chains",
        yard_indian: "indian-yards",
        yard_indian_1937: "indian-1937-yards",
        foot_gold_coast: "gold-coast-feet",
        chain_sears_1922_truncated: "sears-1922-truncated-chains",
        "50_kilometers": "50-kilometers",
        "150_kilometers": "150-kilometers"
      }),
          C = {
        millimeters: {
          inBaseUnits: .001
        },
        centimeters: {
          inBaseUnits: .01
        },
        decimeters: {
          inBaseUnits: .1
        },
        meters: {
          inBaseUnits: 1
        },
        kilometers: {
          inBaseUnits: 1e3
        },
        inches: {
          inBaseUnits: .0254
        },
        feet: {
          inBaseUnits: .3048
        },
        yards: {
          inBaseUnits: .9144
        },
        miles: {
          inBaseUnits: 1609.344
        },
        "nautical-miles": {
          inBaseUnits: 1852
        },
        "us-feet": {
          inBaseUnits: 1200 / 3937
        }
      },
          N = function N(e) {
        return e * e;
      },
          T = {
        "square-millimeters": {
          inBaseUnits: N(.001)
        },
        "square-centimeters": {
          inBaseUnits: N(.01)
        },
        "square-decimeters": {
          inBaseUnits: N(.1)
        },
        "square-meters": {
          inBaseUnits: 1
        },
        "square-kilometers": {
          inBaseUnits: N(1e3)
        },
        "square-inches": {
          inBaseUnits: N(.0254)
        },
        "square-feet": {
          inBaseUnits: N(.3048)
        },
        "square-yards": {
          inBaseUnits: N(.9144)
        },
        "square-miles": {
          inBaseUnits: N(1609.344)
        },
        "square-us-feet": {
          inBaseUnits: N(1200 / 3937)
        },
        acres: {
          inBaseUnits: .0015625 * N(1609.344)
        },
        ares: {
          inBaseUnits: 100
        },
        hectares: {
          inBaseUnits: 1e4
        }
      },
          V = function V(e) {
        return e * e * e;
      },
          j = {
        liters: {
          inBaseUnits: 1
        },
        "cubic-millimeters": {
          inBaseUnits: 1e3 * V(.001)
        },
        "cubic-centimeters": {
          inBaseUnits: 1e3 * V(.01)
        },
        "cubic-decimeters": {
          inBaseUnits: 1e3 * V(.1)
        },
        "cubic-meters": {
          inBaseUnits: 1e3
        },
        "cubic-kilometers": {
          inBaseUnits: 1e3 * V(1e3)
        },
        "cubic-inches": {
          inBaseUnits: 1e3 * V(.0254)
        },
        "cubic-feet": {
          inBaseUnits: 1e3 * V(.3048)
        },
        "cubic-yards": {
          inBaseUnits: 1e3 * V(.9144)
        },
        "cubic-miles": {
          inBaseUnits: 1e3 * V(1609.344)
        }
      },
          x = {
        radians: {
          inBaseUnits: 1
        },
        degrees: {
          inBaseUnits: Math.PI / 180
        }
      },
          E = {
        length: {
          baseUnit: "meters",
          units: C
        },
        area: {
          baseUnit: "square-meters",
          units: T
        },
        volume: {
          baseUnit: "liters",
          units: j
        },
        angle: {
          baseUnit: "radians",
          units: x
        }
      },
          A = function () {
        var e = {};

        for (var s in E) for (var t in E[s].units) e[t] = s;

        return e;
      }();

      s.measurementAreaUnits = ["metric", "imperial", "square-inches", "square-feet", "square-yards", "square-miles", "square-us-feet", "square-meters", "square-kilometers", "acres", "ares", "hectares"], s.measurementLengthUnits = ["metric", "imperial", "inches", "feet", "yards", "miles", "nautical-miles", "us-feet", "meters", "kilometers"], s.measureForUnit = o, s.baseUnitForMeasure = l, s.baseUnitForUnit = f, s.isBaseUnit = m, s.convertUnit = U, s.preferredMetricLengthUnit = d, s.preferredMetricVerticalLengthUnit = B, s.preferredImperialLengthUnit = h, s.preferredImperialVerticalLengthUnit = k, s.preferredMetricAreaUnit = b, s.preferredImperialAreaUnit = g, s.lengthToDegrees = p, s.unitFromRESTJSON = y, s.unitToRESTJSON = q, s.getMetersPerVerticalUnitForSR = v, s.getVerticalUnitStringForSR = _, s.getMetersPerUnitForSR = w, s.getMetersPerUnit = S, s.getUnitString = M, s.getDefaultUnitSystem = P;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/urlUtils.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/urlUtils.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreUrlUtilsJs(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__(
    /*! ./tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ../kernel */
    "./node_modules/arcgis-js-api/kernel.js"), __webpack_require__(
    /*! ./Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ./global */
    "./node_modules/arcgis-js-api/core/global.js"), __webpack_require__(
    /*! ./Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./string */
    "./node_modules/arcgis-js-api/core/string.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i, o, a, u, l) {
      function s(e) {
        var r = {
          path: null,
          query: null
        },
            t = new Se(e),
            n = e.indexOf("?");
        return null === t.query ? r.path = e : (r.path = e.substring(0, n), r.query = c(t.query)), t.fragment && (r.hash = t.fragment, null === t.query && (r.path = r.path.substring(0, r.path.length - (t.fragment.length + 1)))), r;
      }

      function c(e) {
        for (var r = e.split("&"), t = {}, n = 0, i = r; n < i.length; n++) {
          var o = i[n];

          if (o) {
            var a = o.indexOf("="),
                u = void 0,
                l = void 0;
            a < 0 ? (u = decodeURIComponent(o), l = "") : (u = decodeURIComponent(o.slice(0, a)), l = decodeURIComponent(o.slice(a + 1)));
            var s = t[u];
            "string" == typeof s && (s = t[u] = [s]), Array.isArray(s) ? s.push(l) : t[u] = l;
          }
        }

        return t;
      }

      function f(e) {
        return e && "object" == typeof e && "toJSON" in e && "function" == typeof e.toJSON;
      }

      function p(e, r) {
        return e ? r && "function" == typeof r ? Object.keys(e).map(function (t) {
          return encodeURIComponent(t) + "=" + encodeURIComponent(r(t, e[t]));
        }).join("&") : Object.keys(e).map(function (t) {
          var n = e[t];
          if (null == n) return "";
          var i = encodeURIComponent(t) + "=",
              o = r && r[t];
          return o ? i + encodeURIComponent(o(n)) : Array.isArray(n) ? n.map(function (e) {
            return f(e) ? i + encodeURIComponent(JSON.stringify(e)) : i + encodeURIComponent(e);
          }).join("&") : f(n) ? i + encodeURIComponent(JSON.stringify(n)) : i + encodeURIComponent(n);
        }).filter(function (e) {
          return e;
        }).join("&") : "";
      }

      function h(e) {
        void 0 === e && (e = !1);
        var r,
            t = ge.proxyUrl;

        if ("string" == typeof e) {
          r = E(e);
          var n = g(e);
          n && (t = n.proxyUrl);
        } else r = !!e;

        if (!t) throw ye.warn(Ue), new o("urlutils:proxy-not-set", Ue);
        return r && _() && (t = F(t)), s(t);
      }

      function v(e) {
        var r,
            n,
            i = g(e);

        if (i) {
          var o = d(i.proxyUrl);
          r = o.path, n = o.query ? c(o.query) : null;
        }

        if (r) {
          var a = s(e);
          e = r + "?" + a.path;
          var u = p(t({}, n, a.query));
          u && (e = e + "?" + u);
        }

        return e;
      }

      function d(e) {
        var r = e.indexOf("?");
        return -1 !== r ? (Ie.path = e.slice(0, r), Ie.query = e.slice(r + 1)) : (Ie.path = e, Ie.query = null), Ie;
      }

      function m(e) {
        return e = d(e).path, e = Y(e), e = G(e, !0), e = e.toLowerCase();
      }

      function y(e) {
        for (var r = {
          proxyUrl: e.proxyUrl,
          urlPrefix: m(e.urlPrefix)
        }, t = ge.proxyRules, n = r.urlPrefix, i = t.length, o = 0; o < t.length; o++) {
          var a = t[o].urlPrefix;

          if (0 === n.indexOf(a)) {
            if (n.length === a.length) return -1;
            i = o;
            break;
          }

          0 === a.indexOf(n) && (i = o + 1);
        }

        return t.splice(i, 0, r), i;
      }

      function g(e) {
        for (var r = ge.proxyRules, t = m(e), n = 0; n < r.length; n++) if (0 === t.indexOf(r[n].urlPrefix)) return r[n];
      }

      function U(e, r) {
        return e = x(e), r = x(r), G(e) === G(r);
      }

      function x(e) {
        e = q(e);
        var r = e.indexOf("/sharing");
        return r > 0 ? e.substring(0, r) : e.replace(/\/+$/, "");
      }

      function O(e) {
        var r = function r(_r2) {
          return null == _r2 || _r2 instanceof RegExp && _r2.test(e) || "string" == typeof _r2 && l.startsWith(e, _r2);
        },
            t = ge.interceptors;

        if (t) for (var n = 0, i = t; n < i.length; n++) {
          var o = i[n];

          if (Array.isArray(o.urls)) {
            var a = o.urls.some(r);
            if (a) return o;
          } else if (r(o.urls)) return o;
        }
        return null;
      }

      function w(e, r, t) {
        void 0 === t && (t = !1);
        var n = ie(e),
            i = ie(r);
        return !(!t && n.scheme !== i.scheme) && n.host.toLowerCase() === i.host.toLowerCase() && n.port === i.port;
      }

      function b(e) {
        if ("string" == typeof e) {
          if (!L(e)) return !0;
          e = ie(e);
        }

        if (w(e, r.appUrl)) return !0;

        for (var t = ge.trustedServers || [], n = 0; n < t.length; n++) for (var i = t[n], o = R(i), a = 0; a < o.length; a++) if (w(e, o[a])) return !0;

        return !1;
      }

      function R(e) {
        return r.trustedServersUrlCache[e] || (D(e) || Q(e) ? r.trustedServersUrlCache[e] = [new Se(C(e))] : r.trustedServersUrlCache[e] = [new Se("http://" + e), new Se("https://" + e)]), r.trustedServersUrlCache[e];
      }

      function C(e, t, n) {
        return void 0 === t && (t = r.appBaseUrl), Q(e) ? n && n.preserveProtocolRelative ? e : "http" === r.appUrl.scheme && r.appUrl.authority === I(e).slice(2) ? "http:" + e : "https:" + e : D(e) ? e : S("/" === e[0] ? V(t) : t, e);
      }

      function P(e, t, n) {
        if (void 0 === t && (t = r.appBaseUrl), !L(e)) return e;
        var i = q(e),
            o = i.toLowerCase(),
            a = q(t).toLowerCase().replace(/\/+$/, ""),
            u = n ? q(n).toLowerCase().replace(/\/+$/, "") : null;
        if (u && 0 !== a.indexOf(u)) return e;

        for (var l = function l(e, r, t) {
          return t = e.indexOf(r, t), -1 === t ? e.length : t;
        }, s = l(o, "/", o.indexOf("//") + 2), c = -1; o.slice(0, s + 1) === a.slice(0, s) + "/" && (c = s + 1, s !== o.length);) s = l(o, "/", s + 1);

        if (-1 === c) return e;
        if (u && c < u.length) return e;
        e = i.slice(c);
        var f = a.slice(c - 1).replace(/[^\/]+/g, "").length;
        if (f > 0) for (var p = 0; p < f; p++) e = "../" + e;else e = "./" + e;
        return e;
      }

      function q(e) {
        return e = e.trim(), e = C(e), e = ee(e), e = re(e), e = te(e);
      }

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

        if (e && e.length) {
          var t = [];

          if (L(e[0])) {
            var n = e[0],
                i = n.indexOf("//");
            -1 !== i && (t.push(n.slice(0, i + 1)), z(e[0]) && (t[0] += "/"), e[0] = n.slice(i + 2));
          } else "/" === e[0][0] && t.push("");

          for (var o = e.reduce(function (e, r) {
            return r ? e.concat(r.split("/")) : e;
          }, []), a = 0; a < o.length; a++) {
            var u = o[a];
            ".." === u && t.length > 0 && ".." !== t[t.length - 1] ? t.pop() : (!u && a === o.length - 1 || u && ("." !== u || 0 === t.length)) && t.push(u);
          }

          return t.join("/");
        }
      }

      function I(e, r) {
        if (void 0 === r && (r = !1), T(e) || j(e)) return null;
        var t = e.indexOf("://");
        if (-1 === t && Q(e)) t = 2;else {
          if (-1 === t) return null;
          t += 3;
        }
        var n = e.indexOf("/", t);
        return -1 !== n && (e = e.slice(0, n)), r && (e = G(e, !0)), e;
      }

      function L(e) {
        return Q(e) || D(e);
      }

      function T(e) {
        return "blob:" === e.slice(0, 5);
      }

      function j(e) {
        return "data:" === e.slice(0, 5);
      }

      function k(e) {
        var r = B(e);
        if (!r || !r.isBase64) return null;

        for (var t = atob(r.data), n = new Uint8Array(t.length), i = 0; i < t.length; i++) n[i] = t.charCodeAt(i);

        return n.buffer;
      }

      function B(e) {
        var r = e.match(Le);
        return r ? {
          mediaType: r[1],
          isBase64: !!r[2],
          data: r[3]
        } : null;
      }

      function A(e) {
        return e.isBase64 ? "data:" + e.mediaType + ";base64," + e.data : "data:" + e.mediaType + "," + e.data;
      }

      function $(e) {
        var r = k(e);
        if (!r) return null;
        var t = B(e);
        return new Blob([r], {
          type: t.mediaType
        });
      }

      function H(e, r) {
        J(e, r) || N(e, r);
      }

      function J(e, r) {
        var t = document.createElement("a");
        if (!("download" in t)) return !1;
        var n = null;

        if (a.URL && a.URL.createObjectURL) {
          var i = $(e);
          if (!i) return !1;
          n = a.URL.createObjectURL(i);
        }

        t.download = r, t.href = n || e, t.style.display = "none", document.body.appendChild(t), t.click(), document.body.removeChild(t), n && a.URL.revokeObjectURL(n);
      }

      function N(e, r) {
        return !!window.navigator.msSaveOrOpenBlob && window.navigator.msSaveOrOpenBlob($(e), r);
      }

      function Q(e) {
        return e && "/" === e[0] && "/" === e[1];
      }

      function D(e) {
        return xe.test(e);
      }

      function E(e) {
        return we.test(e) || "https" === r.appUrl.scheme && Q(e);
      }

      function K(e) {
        return Oe.test(e) || "http" === r.appUrl.scheme && Q(e);
      }

      function z(e) {
        return be.test(e);
      }

      function W(e) {
        return Q(e) ? "http:" + e : e.replace(we, "http:");
      }

      function F(e) {
        return Q(e) ? "https:" + e : e.replace(Oe, "https:");
      }

      function M() {
        return "http" === r.appUrl.scheme;
      }

      function _() {
        return "https" === r.appUrl.scheme;
      }

      function G(e, r) {
        return void 0 === r && (r = !1), Q(e) ? e.slice(2) : (e = e.replace(xe, ""), r && e.length > 1 && "/" === e[0] && "/" === e[1] && (e = e.slice(2)), e);
      }

      function V(e) {
        var r = e.indexOf("//"),
            t = e.indexOf("/", r + 2);
        return -1 === t ? e : e.slice(0, t);
      }

      function X(e) {
        var r = 0;

        if (L(e)) {
          var t = e.indexOf("//");
          -1 !== t && (r = t + 2);
        }

        var n = e.lastIndexOf("/");
        return n < r ? e : e.slice(0, n + 1);
      }

      function Y(e) {
        return e && "/" === e[e.length - 1] ? e : e + "/";
      }

      function Z(e) {
        return e.replace(/\/+$/, "");
      }

      function ee(e) {
        if (/^https?:\/\//i.test(e)) {
          var r = d(e);
          e = r.path.replace(/\/{2,}/g, "/"), e = e.replace("/", "//"), r.query && (e += "?" + r.query);
        }

        return e;
      }

      function re(e) {
        return e.replace(/^(https?:\/\/)(arcgis\.com)/i, "$1www.$2");
      }

      function te(e) {
        var t = ge.httpsDomains;
        if (!K(e)) return e;
        var n,
            i = e.indexOf("/", 7);

        if (n = -1 === i ? e : e.slice(0, i), n = n.toLowerCase().slice(7), Re.test(n)) {
          if (!l.endsWith(n, ":80")) return e;
          n = n.slice(0, -3), e = e.replace(":80", "");
        }

        return M() && n === r.appUrl.authority && !Ce.test(e) ? e : ((_() && n === r.appUrl.authority || t && t.some(function (e) {
          return n === e || l.endsWith(n, "." + e);
        }) || _() && !g(e)) && (e = F(e)), e);
      }

      function ne(e, r, t) {
        if (!(r && t && e && L(e))) return e;
        var n = e.indexOf("//"),
            i = e.indexOf("/", n + 2),
            o = e.indexOf(":", n + 2),
            a = Math.min(i < 0 ? e.length : i, o < 0 ? e.length : o);
        return e.slice(n + 2, a).toLowerCase() !== r.toLowerCase() ? e : "" + e.slice(0, n + 2) + t + e.slice(a);
      }

      function ie(e) {
        return "string" == typeof e ? new Se(C(e)) : (e.scheme || (e.scheme = r.appUrl.scheme), e);
      }

      function oe(e, r) {
        return r && !r.isPortal && r.urlKey && r.customBaseUrl ? ne(e, r.urlKey + "." + r.customBaseUrl, r.portalHostname) : e;
      }

      function ae(e, t) {
        if (!t || t.isPortal || !t.urlKey || !t.customBaseUrl) return e;
        var n = t.urlKey + "." + t.customBaseUrl;
        return w(r.appUrl, r.appUrl.scheme + "://" + n) ? ne(e, t.portalHostname, n) : ne(e, n, t.portalHostname);
      }

      function ue(e, r) {
        var t = r && r.url && r.url.path;
        return e && t && (e = C(e, t, {
          preserveProtocolRelative: !0
        })), ae(e, r && r.portal);
      }

      function le(e, r, t) {
        return ue(e, t);
      }

      function se(e, r) {
        if (!e) return e;
        !L(e) && r && r.blockedRelativeUrls && r.blockedRelativeUrls.push(e);
        var t = C(e);

        if (r) {
          var n = r.verifyItemRelativeUrls && r.verifyItemRelativeUrls.rootPath || r.url && r.url.path;
          n && (t = P(t, n, n)) !== e && r.verifyItemRelativeUrls && r.verifyItemRelativeUrls.writtenUrls.push(t);
        }

        return t = oe(t, r && r.portal), L(t) && (t = q(t)), t;
      }

      function ce(e, r, t, n) {
        var i = se(e, n);
        i && (r[t] = i);
      }

      function fe(e) {
        return Te.test(e);
      }

      function pe(e, r) {
        var t = s(e),
            n = Object.keys(t.query || {});
        return n.length > 0 && r && r.warn("removeQueryParameters()", "Url query parameters are not supported, the following parameters have been removed: " + n.join(", ") + "."), t.path;
      }

      function he(e, r, t) {
        var n = s(e),
            i = n.query || {};
        return i[r] = String(t), n.path + "?" + p(i);
      }

      function ve(e, r) {
        var t = s(e),
            n = t.query || {};

        for (var i in r) n[i] = r[i];

        var o = p(n);
        return o ? t.path + "?" + o : t.path;
      }

      function de(e, r) {
        var t = s(e),
            n = t.path,
            i = t.query;
        if (!i) return e;
        delete i[r];
        var o = p(i);
        return o ? n + "?" + o : n;
      }

      function me(e) {
        var r = i.id && i.id.findCredential(e);
        return r && r.token ? he(e, "token", r.token) : e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var ye = u.getLogger("esri.core.urlUtils"),
          ge = n.request,
          Ue = "esri/config: esriConfig.request.proxyUrl is not set.",
          xe = /^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,
          Oe = /^\s*http:/i,
          we = /^\s*https:/i,
          be = /^\s*file:/i,
          Re = /:\d+$/,
          Ce = /^https?:\/\/[^\/]+\.arcgis.com\/sharing(\/|$)/i,
          Pe = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),
          qe = new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),
          Se = function () {
        function e(e) {
          void 0 === e && (e = ""), this.uri = e, this.scheme = null, this.authority = null, this.path = null, this.query = null, this.fragment = null, this.user = null, this.password = null, this.host = null, this.port = null;
          var r = this.uri.match(Pe);
          this.scheme = r[2] || (r[1] ? "" : null), this.authority = r[4] || (r[3] ? "" : null), this.path = r[5], this.query = r[7] || (r[6] ? "" : null), this.fragment = r[9] || (r[8] ? "" : null), null != this.authority && (r = this.authority.match(qe), this.user = r[3] || null, this.password = r[4] || null, this.host = r[6] || r[7], this.port = r[9] || null);
        }

        return e.prototype.toString = function () {
          return this.uri;
        }, e;
      }();

      r.Url = Se, r.appUrl = new Se(n.applicationUrl), r.trustedServersUrlCache = {}, r.appBaseUrl = function () {
        var e = r.appUrl.path,
            t = e.substring(0, e.lastIndexOf(e.split("/")[e.split("/").length - 1]));
        return r.appUrl.scheme + "://" + r.appUrl.host + (null != r.appUrl.port ? ":" + r.appUrl.port : "") + t;
      }(), r.urlToObject = s, r.queryToObject = c, r.objectToQuery = p, r.getProxyUrl = h, r.addProxy = v;
      var Ie = {
        path: "",
        query: ""
      };
      r.addProxyRule = y, r.getProxyRule = g, r.hasSamePortal = U, r.getInterceptor = O, r.hasSameOrigin = w, r.isTrustedServer = b, r.makeAbsolute = C, r.makeRelative = P, r.normalize = q, r.join = S, r.getOrigin = I, r.isAbsolute = L, r.isBlobProtocol = T, r.isDataProtocol = j, r.dataToArrayBuffer = k;
      var Le = /^data:(.*?)(;base64)?,(.*)$/;
      r.dataComponents = B, r.makeData = A, r.dataToBlob = $, r.downloadDataAsFile = H, r.isProtocolRelative = Q, r.hasProtocol = D, r.toHTTP = W, r.toHTTPS = F, r.isAppHTTPS = _, r.removeFile = X, r.removeTrailingSlash = Z, r.changeDomain = ne, r.fromJSON = ue, r.read = le, r.toJSON = se, r.write = ce, r.isSVG = fe, r.removeQueryParameters = pe, r.addQueryParameter = he, r.addQueryParameters = ve, r.removeQueryParameter = de, r.addTokenParameter = me;
      var Te = /(^data:image\/svg|\.svg$)/i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/watchUtils.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/watchUtils.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWatchUtilsJs(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__(
    /*! ./events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ./has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, e, r, t, u, o) {
      function c(n, e, r, t, u) {
        var o = n.watch(e, function (e, u, o, c) {
          r && !r(e) || t.call(n, e, u, o, c);
        }, u);
        if (Array.isArray(e)) for (var c = 0, i = e; c < i.length; c++) {
          var a = i[c],
              f = n.get(a);
          r && r(f) && t.call(n, f, f, e, n);
        } else {
          var f = n.get(e);
          r && r(f) && t.call(n, f, f, e, n);
        }
        return o;
      }

      function i(n, e, r, u, i) {
        function a() {
          h && (h.remove(), h = null);
        }

        var f = "function" == typeof u ? u : null,
            l = "object" == typeof u ? u : null;
        "boolean" == typeof u && (i = u);
        var h,
            v = !1,
            s = o.createDeferred(a);
        o.onAbort(l, function () {
          a(), s.reject(o.createAbortError());
        });
        var d = t("esri-native-promise") ? {
          then: s.promise.then.bind(s.promise),
          "catch": s.promise["catch"].bind(s.promise),
          remove: a
        } : {
          cancel: s.cancel,
          then: s.promise.then.bind(s.promise),
          "catch": s.promise["catch"].bind(s.promise),
          remove: a
        };
        return Object.freeze(d), h = c(n, e, r, function (e, r, t, u) {
          v = !0, a(), f && f.call(n, e, r, t, u), s.resolve({
            value: e,
            oldValue: r,
            propertyName: t,
            target: u
          });
        }, i), v && a(), d;
      }

      function a(n) {
        return !!n;
      }

      function f(n) {
        return !n;
      }

      function l(n) {
        return !0 === n;
      }

      function h(n) {
        return !1 === n;
      }

      function v(n) {
        return void 0 !== n;
      }

      function s(n) {
        return void 0 === n;
      }

      function d(n, e, r, t) {
        for (var u = Array.isArray(e) ? e : e.indexOf(",") > -1 ? e.split(",") : [e], o = m(n, e, r, t), c = 0, i = u; c < i.length; c++) {
          var a = i[c],
              f = a.trim().replace($, "$1"),
              l = n.get(f);
          r.call(n, l, l, f, n);
        }

        return o;
      }

      function m(n, e, r, t) {
        return n.watch(e, r, t);
      }

      function p(n, e, r, t) {
        return i(n, e, null, r, t);
      }

      function w(n, e, r, t) {
        return c(n, e, a, r, t);
      }

      function b(n, e, r, t) {
        return i(n, e, a, r, t);
      }

      function g(n, e, r, t) {
        return c(n, e, f, r, t);
      }

      function O(n, e, r, t) {
        return i(n, e, f, r, t);
      }

      function y(n, e, r, t) {
        return c(n, e, l, r, t);
      }

      function A(n, e, r, t) {
        return i(n, e, l, r, t);
      }

      function q(n, e, r, t) {
        return c(n, e, h, r, t);
      }

      function j(n, e, r, t) {
        return i(n, e, h, r, t);
      }

      function E(n, e, r, t) {
        return c(n, e, v, r, t);
      }

      function D(n, e, r, t) {
        return i(n, e, v, r, t);
      }

      function N(n, e, r, t) {
        return c(n, e, s, r, t);
      }

      function T(n, e, r, t) {
        return i(n, e, s, r, t);
      }

      function U(n, e, r, t, o) {
        return c(n, e, function (n) {
          return u.equals(r, n);
        }, t, o);
      }

      function x(n, e, r, t, o) {
        return i(n, e, function (n) {
          return u.equals(r, n);
        }, t, o);
      }

      function F(n, e, r, t) {
        var u = !1,
            o = n.watch(e, function (e, t, o, c) {
          u || r.call(n, e, t, o, c);
        }, t);
        return {
          remove: function remove() {
            o.remove();
          },
          pause: function pause() {
            u = !0;
          },
          resume: function resume() {
            u = !1;
          }
        };
      }

      function V(n, e, t, u, o, c, i) {
        function a(e) {
          var r = f[e];
          r && (c && c(r.target, e, n, t), r.handle.remove(), delete f[e]);
        }

        var f = {},
            l = d(n, e, function (e, c, i) {
          a(i), r.isEventTarget(e) && (f[i] = {
            handle: r.on(e, t, u),
            target: e
          }, o && o(e, i, n, t));
        }, i);
        return {
          remove: function remove() {
            l.remove();

            for (var n in f) a(n);
          }
        };
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.whenValidOnce = i;
      var $ = /\?(\.|$)/g;
      e.init = d, e.watch = m, e.once = p, e.when = w, e.whenOnce = b, e.whenNot = g, e.whenNotOnce = O, e.whenTrue = y, e.whenTrueOnce = A, e.whenFalse = q, e.whenFalseOnce = j, e.whenDefined = E, e.whenDefinedOnce = D, e.whenUndefined = N, e.whenUndefinedOnce = T, e.whenEqual = U, e.whenEqualOnce = x, e.pausable = F, e.on = V;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/wgs84Constants.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/wgs84Constants.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWgs84ConstantsJs(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, n) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.wgs84Radius = 6378137, n.wgs84InverseFlattening = 298.257223563, n.wgs84Flattening = 1 / n.wgs84InverseFlattening, n.wgs84PolarRadius = n.wgs84Radius * (1 - n.wgs84Flattening), n.wgs84Eccentricity = .0818191908426215;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersJs(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__(
    /*! ./workers/workers */
    "./node_modules/arcgis-js-api/core/workers/workers.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), function (e) {
        for (var o in e) r.hasOwnProperty(o) || (r[o] = e[o]);
      }(o);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/Connection.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/Connection.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersConnectionJs(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__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../accessorSupport/utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, r, i) {
      var o = n.getLogger("esri.core.workers.Connection");
      return function () {
        function t(t) {
          this._clientIdx = 0, this._clients = t;
        }

        return t.prototype.broadcast = function (t, e, n) {
          for (var r = [], i = 0, o = this._clients; i < o.length; i++) {
            var s = o[i];
            r.push(s.invoke(t, e, n));
          }

          return r;
        }, t.prototype.close = function () {
          for (var t = 0, e = this._clients; t < e.length; t++) {
            e[t].close();
          }

          this._clients = [];
        }, t.prototype.getAvailableClient = function () {
          var t;
          return this._clients.some(function (e) {
            return !e.isBusy() && (t = e, !0);
          }) || (this._clientIdx = (this._clientIdx + 1) % this._clients.length, t = this._clients[this._clientIdx]), t;
        }, t.prototype.invoke = function (t, e, n) {
          var i = null;
          return Array.isArray(n) ? (o.warn("invoke()", "The transferList parameter is deprecated, use the options object instead"), i = {
            transferList: n
          }) : i = n, this._clients && this._clients.length ? this.getAvailableClient().invoke(t, e, i) : r.reject(new Error("Connection closed"));
        }, t.prototype.on = function (t, e) {
          var n = this._clients.map(function (n) {
            return n.on(t, e);
          });

          return i.handlesGroup(n);
        }, t.prototype.openPorts = function () {
          return this._clients.map(function (t) {
            return t.openPort();
          });
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/RemoteClient.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/RemoteClient.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersRemoteClientJs(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__(
    /*! ../Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/workers/utils.js"), __webpack_require__(
    /*! ../../views/support/Scheduler */
    "./node_modules/arcgis-js-api/views/support/Scheduler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, s, o, n, r, i) {
      function a(e, t) {
        e["delete"](t);
      }

      var p = r.MessageType.CLOSE,
          h = r.MessageType.ABORT,
          c = r.MessageType.INVOKE,
          u = r.MessageType.RESPONSE,
          l = r.MessageType.OPEN_PORT,
          _ = r.MessageType.ON,
          f = function () {
        function e(e) {
          this._timer = null, this._cancelledJobIds = new Set(), this._invokeMessages = [], this._invoke = e, this._timer = null, this._process = this._process.bind(this);
        }

        return e.prototype.push = function (e) {
          e.type === r.MessageType.ABORT ? this._cancelledJobIds.add(e.jobId) : (this._invokeMessages.push(e), null === this._timer && (this._timer = setTimeout(this._process, 0)));
        }, e.prototype.clear = function () {
          this._invokeMessages.length = 0, this._cancelledJobIds.clear(), this._timer = null;
        }, e.prototype._process = function () {
          this._timer = null;

          for (var e = 0, t = this._invokeMessages; e < t.length; e++) {
            var s = t[e];
            this._cancelledJobIds.has(s.jobId) || this._invoke(s);
          }

          this._cancelledJobIds.clear(), this._invokeMessages.length = 0;
        }, e;
      }();

      return function () {
        function e(e, t, s) {
          var o = this;
          this._port = e, this._client = t, this._outJobs = new Map(), this._inJobs = new Map(), this._invokeQueue = new f(function (e) {
            return o._onInvokeMessage(e);
          }), this._responseQueue = [], this._onMessage = this._onMessage.bind(this), this._channel = s.channel, s.scheduler && (this._frameTask = s.scheduler.registerTask(i.Task.REMOTE_CLIENT, function (e) {
            return o._update(e);
          }, function () {
            return o._responseQueue.length > 0;
          })), this._port.addEventListener("message", this._onMessage), this._port.start();
        }

        return e.connect = function (t) {
          var s,
              o = new MessageChannel();
          return s = "function" == typeof t ? new t() : "default" in t && "function" == typeof t["default"] ? new t["default"]() : t, s.remoteClient = new e(o.port1, s, {
            channel: o
          }), o.port2;
        }, e.prototype.close = function () {
          this._post({
            type: p
          }), this._close();
        }, e.prototype.isBusy = function () {
          return this._outJobs.size > 0;
        }, e.prototype.invoke = function (e, t, o) {
          var i = this,
              p = o && o.signal,
              u = o && o.transferList;
          if (!this._port) return n.reject(new s("remote-client:port-closed", "Can't invoke(), port is closed"));

          var l = r.newJobId(),
              _ = function _() {
            var e = i._outJobs.get(l);

            e && (a(i._outJobs, l), i._post({
              type: h,
              jobId: l
            }), e.reject(n.createAbortError()));
          };

          return n.create(function (s, o) {
            n.onAbortOrThrow(p, function () {
              _(), o(n.createAbortError());
            });
            var r = {
              resolve: s,
              reject: o
            };
            i._outJobs.set(l, r), i._post({
              type: c,
              jobId: l,
              methodName: e,
              abortable: !0
            }, t, u);
          }, _);
        }, e.prototype.on = function (e, t) {
          function s(e) {
            t(e.data);
          }

          var o = new MessageChannel();
          return this._port.postMessage({
            type: r.MessageType.ON,
            eventType: e,
            port: o.port2
          }, [o.port2]), o.port1.addEventListener("message", s), o.port1.start(), {
            remove: function remove() {
              o.port1.postMessage({
                type: r.MessageType.CLOSE
              }), o.port1.close(), o.port1.removeEventListener("message", s);
            }
          };
        }, e.prototype.openPort = function () {
          var e = new MessageChannel();
          return this._post({
            type: l,
            port: e.port2
          }), e.port1;
        }, e.prototype._close = function () {
          this._channel && (this._channel = null), this._port.removeEventListener("message", this._onMessage), this._port.close(), this._outJobs.forEach(function (e) {
            return e.reject(n.createAbortError("Abort job: worker closing"));
          }), this._inJobs.clear(), this._outJobs.clear(), this._invokeQueue.clear(), this._port = this._client = null, this._frameTask && this._frameTask.remove(), this._frameTask = null, this._responseQueue = null;
        }, e.prototype._onMessage = function (e) {
          var t = r.receiveMessage(e);
          if (t) switch (t.type) {
            case u:
              this._onResponseMessage(t);

              break;

            case c:
              this._invokeQueue.push(t);

              break;

            case h:
              this._onAbortMessage(t);

              break;

            case p:
              this._onCloseMessage();

              break;

            case l:
              this._onOpenPortMessage(t);

              break;

            case _:
              this._onOnMessage(t);

          }
        }, e.prototype._onAbortMessage = function (e) {
          var t = this._inJobs,
              s = e.jobId,
              o = t.get(s);
          this._invokeQueue.push(e), o && (o.controller && o.controller.abort(), a(t, s));
        }, e.prototype._onCloseMessage = function () {
          var e = this._client;
          this._close(), e && e.remoteClient === this && "destroy" in e && e.destroy(), e.remoteClient = null;
        }, e.prototype._onInvokeMessage = function (e) {
          var t,
              s = this,
              o = e.methodName,
              i = e.jobId,
              p = e.data,
              h = e.abortable,
              c = h ? n.createAbortController() : null,
              l = this._inJobs,
              _ = this._client,
              f = _[o];

          try {
            if (!f && o && -1 !== o.indexOf(".")) for (var g = o.split("."), d = 0; d < g.length - 1; d++) _ = _[g[d]], f = _[g[d + 1]];
            if ("function" != typeof f) throw new TypeError(o + " is not a function");
            t = f.call(_, p, {
              client: this,
              signal: c ? c.signal : null
            });
          } catch (e) {
            return void this._post({
              type: u,
              jobId: i,
              error: r.toInvokeError(e)
            });
          }

          n.isPromiseLike(t) ? (l.set(i, {
            controller: c,
            promise: t
          }), c && "cancel" in t && n.onAbort(c.signal, function () {
            return t.cancel();
          }), t.then(function (e) {
            l.has(i) && (a(l, i), s._post({
              type: u,
              jobId: i
            }, e));
          }, function (e) {
            l.has(i) && (a(l, i), n.isAbortError(e) || s._post({
              type: u,
              jobId: i,
              error: r.toInvokeError(e || {
                message: "Error encountered at method " + o
              })
            }));
          })) : this._post({
            type: u,
            jobId: i
          }, t);
        }, e.prototype._onOpenPortMessage = function (t) {
          new e(t.port, this._client, {});
        }, e.prototype._onOnMessage = function (e) {
          var t = e.port,
              s = this._client.on(e.eventType, function (e) {
            delete e.target, t.postMessage(e);
          }),
              n = o.on(e.port, "message", function (e) {
            r.receiveMessage(e).type === r.MessageType.CLOSE && (n.remove(), s.remove(), t.close());
          });
        }, e.prototype._onResponseMessage = function (e) {
          this._frameTask ? this._responseQueue.push(e) : this._handleResponse(e);
        }, e.prototype._update = function (e) {
          for (; !e.done && this._responseQueue.length > 0;) this._handleResponse(this._responseQueue.shift()), e.madeProgress();
        }, e.prototype._handleResponse = function (e) {
          var t = e.jobId,
              o = e.error,
              n = e.data,
              r = this._outJobs;

          if (r.has(t)) {
            var i = r.get(t);
            a(r, t), o ? i.reject(s.fromJSON(JSON.parse(o))) : i.resolve(n);
          }
        }, e.prototype._post = function (e, t, s) {
          return r.postMessage(this._port, e, t, s);
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/WorkerFallback.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/WorkerFallback.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersWorkerFallbackJs(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__(
    /*! ../tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../global */
    "./node_modules/arcgis-js-api/core/global.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/workers/utils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, s, n, i, o, a) {
      var c = function () {
        function e() {
          var e = this,
              r = document.createDocumentFragment();
          ["addEventListener", "dispatchEvent", "removeEventListener"].forEach(function (t) {
            e[t] = function () {
              for (var e = [], s = 0; s < arguments.length; s++) e[s] = arguments[s];

              return r[t].apply(r, e);
            };
          });
        }

        return e;
      }(),
          u = n.MutationObserver || n.WebKitMutationObserver,
          d = function () {
        var e;
        if (n.process && n.process.nextTick) e = function e(_e2) {
          n.process.nextTick(_e2);
        };else if (n.Promise) e = function e(_e3) {
          n.Promise.resolve().then(_e3);
        };else if (u) {
          var r = [],
              t = document.createElement("div"),
              s = new u(function () {
            for (; r.length > 0;) r.shift()();
          });
          s.observe(t, {
            attributes: !0
          }), e = function e(_e4) {
            r.push(_e4), t.setAttribute("queueStatus", "1");
          };
        }
        return e;
      }(),
          p = function () {
        var e = n.MessageEvent;

        try {
          new e("message", {
            data: null
          });
        } catch (e) {
          return function (e, r) {
            void 0 === r && (r = {});
            var t = r.data,
                s = r.bubbles,
                n = void 0 !== s && s,
                i = r.cancelable,
                o = void 0 !== i && i,
                a = document.createEvent("Event");
            return a.initEvent(e, n, o), a.data = t, a;
          };
        }

        return function (r, t) {
          return new e(r, t);
        };
      }();

      return function () {
        function r() {
          this._dispatcher = new c(), this._isInitialized = !1, this._workerPostMessage({
            type: a.MessageType.HANDSHAKE
          });
        }

        return r.prototype.terminate = function () {}, Object.defineProperty(r.prototype, "onmessage", {
          get: function get() {
            return this._onmessageHandler;
          },
          set: function set(e) {
            this._onmessageHandler && this.removeEventListener("message", this._onmessageHandler), this._onmessageHandler = e, e && this.addEventListener("message", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "onerror", {
          get: function get() {
            return this._onerrorHandler;
          },
          set: function set(e) {
            this._onerrorHandler && this.removeEventListener("error", this._onerrorHandler), this._onerrorHandler = e, e && this.addEventListener("error", e);
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.postMessage = function (e) {
          var r = this;
          d(function () {
            r._workerMessageHandler(p("message", {
              data: e
            }));
          });
        }, r.prototype.dispatchEvent = function (e) {
          return this._dispatcher.dispatchEvent(e);
        }, r.prototype.addEventListener = function (e, r, t) {
          this._dispatcher.addEventListener(e, r, t);
        }, r.prototype.removeEventListener = function (e, r, t) {
          this._dispatcher.removeEventListener(e, r, t);
        }, r.prototype._workerPostMessage = function (e) {
          var r = this;
          d(function () {
            r.dispatchEvent(p("message", {
              data: e
            }));
          });
        }, r.prototype._workerMessageHandler = function (r) {
          return s(this, void 0, void 0, function () {
            var s,
                n,
                c,
                u,
                d,
                p,
                l,
                v,
                f = this;
            return t(this, function (t) {
              switch (t.label) {
                case 0:
                  if (!(s = a.receiveMessage(r))) return [2];

                  switch (n = s.type) {
                    case a.MessageType.CONFIGURE:
                      return [3, 1];

                    case a.MessageType.OPEN:
                      return [3, 2];
                  }

                  return [3, 27];

                case 1:
                  return this._isInitialized || this._workerPostMessage({
                    type: a.MessageType.CONFIGURED
                  }), [3, 27];

                case 2:
                  return c = s.modulePath, (u = s.jobId, i("esri-webpack")) ? (d = void 0, [4, new Promise(function (r, t) {
                    Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/core/workers/RemoteClient */
                      "./node_modules/arcgis-js-api/core/workers/RemoteClient.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })]) : [3, 25];

                case 3:
                  switch (p = t.sent(), l = c) {
                    case "esri/tasks/operations/PBFWorker":
                      return [3, 4];

                    case "esri/views/2d/engine/vectorTiles/WorkerTileHandler":
                      return [3, 6];

                    case "esri/views/2d/layers/features/Pipeline":
                      return [3, 8];

                    case "esri/views/3d/layers/PointCloudWorker":
                      return [3, 10];

                    case "esri/views/3d/layers/SceneLayerWorker":
                      return [3, 12];

                    case "esri/layers/graphics/sources/support/CSVSourceWorker":
                      return [3, 14];

                    case "esri/layers/support/LercWorker":
                      return [3, 16];

                    case "esri/views/3d/webgl-engine/lib/edgeRendering/EdgeProcessingWorker":
                      return [3, 18];

                    case "esri/geometry/support/meshUtils/ElevationSamplerWorker":
                      return [3, 20];
                  }

                  return [3, 22];

                case 4:
                  return [4, new Promise(function (r, t) {
                    Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/tasks/operations/PBFWorker */
                      "./node_modules/arcgis-js-api/tasks/operations/PBFWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 5:
                  return d = t.sent(), [3, 24];

                case 6:
                  return [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(20), __webpack_require__.e(56)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/views/2d/engine/vectorTiles/WorkerTileHandler */
                      "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/WorkerTileHandler.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 7:
                  return d = t.sent(), [3, 24];

                case 8:
                  return [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(8), __webpack_require__.e(78)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/views/2d/layers/features/Pipeline */
                      "./node_modules/arcgis-js-api/views/2d/layers/features/Pipeline.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 9:
                  return d = t.sent(), [3, 24];

                case 10:
                  return [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(2), __webpack_require__.e(13), __webpack_require__.e(18), __webpack_require__.e(36), __webpack_require__.e(83)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/views/3d/layers/PointCloudWorker */
                      "./node_modules/arcgis-js-api/views/3d/layers/PointCloudWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 11:
                  return d = t.sent(), [3, 24];

                case 12:
                  return [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(2), __webpack_require__.e(13), __webpack_require__.e(17), __webpack_require__.e(36), __webpack_require__.e("common"), __webpack_require__.e(62)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/views/3d/layers/SceneLayerWorker */
                      "./node_modules/arcgis-js-api/views/3d/layers/SceneLayerWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 13:
                  return d = t.sent(), [3, 24];

                case 14:
                  return [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(0), __webpack_require__.e(3), __webpack_require__.e(7), __webpack_require__.e(11), __webpack_require__.e(15), __webpack_require__.e(21), __webpack_require__.e(44), __webpack_require__.e(91)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/layers/graphics/sources/support/CSVSourceWorker */
                      "./node_modules/arcgis-js-api/layers/graphics/sources/support/CSVSourceWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 15:
                  return d = t.sent(), [3, 24];

                case 16:
                  return [4, new Promise(function (r, t) {
                    __webpack_require__.e(
                    /*! AMD require */
                    "common").then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/layers/support/LercWorker */
                      "./node_modules/arcgis-js-api/layers/support/LercWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 17:
                  return d = t.sent(), [3, 24];

                case 18:
                  return [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(19), __webpack_require__.e("common"), __webpack_require__.e(63)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/views/3d/webgl-engine/lib/edgeRendering/EdgeProcessingWorker */
                      "./node_modules/arcgis-js-api/views/3d/webgl-engine/lib/edgeRendering/EdgeProcessingWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 19:
                  return d = t.sent(), [3, 24];

                case 20:
                  return [4, new Promise(function (r, t) {
                    __webpack_require__.e(
                    /*! AMD require */
                    73).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! esri/geometry/support/meshUtils/ElevationSamplerWorker */
                      "./node_modules/arcgis-js-api/geometry/support/meshUtils/ElevationSamplerWorker.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 21:
                  return d = t.sent(), [3, 24];

                case 22:
                  return [4, o.create(function (r) {
                    return Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [e(c, null, false)];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](__webpack_require__.oe);
                  })];

                case 23:
                  d = t.sent(), t.label = 24;

                case 24:
                  return v = p.connect(d), this._workerPostMessage({
                    type: a.MessageType.OPENED,
                    jobId: u,
                    data: v
                  }), [3, 26];

                case 25:
                  Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! esri/core/workers/RemoteClient */
                    "./node_modules/arcgis-js-api/core/workers/RemoteClient.js"), e(c, null, false)];
                    (function (e, r) {
                      var t = e.connect(r);

                      f._workerPostMessage({
                        type: a.MessageType.OPENED,
                        jobId: u,
                        data: t
                      });
                    }).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  })["catch"](__webpack_require__.oe), t.label = 26;

                case 26:
                  return [3, 27];

                case 27:
                  return [2];
              }
            });
          });
        }, r;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/WorkerOwner.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/WorkerOwner.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersWorkerOwnerJs(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__(
    /*! ../tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../kernel */
    "./node_modules/arcgis-js-api/kernel.js"), __webpack_require__(
    /*! ../Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/workers/utils.js"), __webpack_require__(
    /*! ./workerFactory */
    "./node_modules/arcgis-js-api/core/workers/workerFactory.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, s, n, i, a, p, u) {
      function c(e, t) {
        e["delete"](t);
      }

      var h = i.getLogger("esri.core.workers"),
          d = p.MessageType.ABORT,
          l = p.MessageType.INVOKE,
          b = p.MessageType.OPEN,
          g = p.MessageType.OPENED,
          f = p.MessageType.RESPONSE;
      return function () {
        function e(e, t) {
          this._outJobs = new Map(), this._inJobs = new Map(), this.worker = e, this.id = t, e.addEventListener("message", this._onMessage.bind(this)), e.addEventListener("error", function (e) {
            e.preventDefault(), h.error(e);
          });
        }

        return e.create = function (t) {
          return r(this, void 0, void 0, function () {
            var r;
            return o(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, u.createWorker()];

                case 1:
                  return r = o.sent(), [2, new e(r, t)];
              }
            });
          });
        }, e.prototype.terminate = function () {
          this.worker.terminate();
        }, e.prototype.open = function (e, t) {
          return void 0 === t && (t = {}), r(this, void 0, void 0, function () {
            var r,
                s,
                n = this;
            return o(this, function (o) {
              return r = t.signal, s = p.newJobId(), [2, a.create(function (t, o) {
                var i = {
                  resolve: t,
                  reject: o
                };
                a.onAbortOrThrow(r, function () {
                  c(n._outJobs, s), n._post({
                    type: d,
                    jobId: s
                  });
                }), n._outJobs.set(s, i), n._post({
                  type: b,
                  jobId: s,
                  modulePath: e
                });
              })];
            });
          });
        }, e.prototype._onMessage = function (e) {
          var t = p.receiveMessage(e);
          if (t) switch (t.type) {
            case g:
              this._onOpenedMessage(t);

              break;

            case f:
              this._onResponseMessage(t);

              break;

            case d:
              this._onAbortMessage(t);

              break;

            case l:
              this._onInvokeMessage(t);

          }
        }, e.prototype._onAbortMessage = function (e) {
          var t = this._inJobs,
              o = e.jobId,
              r = t.get(o);
          r && (r.controller && r.controller.abort(), c(t, o));
        }, e.prototype._onInvokeMessage = function (e) {
          var t,
              o = this,
              r = e.methodName,
              n = e.jobId,
              i = e.data,
              u = e.abortable,
              h = u ? a.createAbortController() : null,
              d = this._inJobs,
              l = s.workerMessages[r];

          try {
            if ("function" != typeof l) throw new TypeError(r + " is not a function");
            t = l.call(null, i, {
              signal: h ? h.signal : null
            });
          } catch (e) {
            return void this._post({
              type: f,
              jobId: n,
              error: p.toInvokeError(e)
            });
          }

          a.isPromiseLike(t) ? (d.set(n, {
            controller: h,
            promise: t
          }), h && "cancel" in t && a.onAbort(h.signal, function () {
            return t.cancel();
          }), t.then(function (e) {
            d.has(n) && (c(d, n), o._post({
              type: f,
              jobId: n
            }, e));
          }, function (e) {
            d.has(n) && (c(d, n), e || (e = {
              message: "Error encountered at method" + r
            }), a.isAbortError(e) || o._post({
              type: f,
              jobId: n,
              error: p.toInvokeError(e || {
                message: "Error encountered at method " + r
              })
            }));
          })) : this._post({
            type: f,
            jobId: n
          }, t);
        }, e.prototype._onOpenedMessage = function (e) {
          var t = e.jobId,
              o = e.data,
              r = this._outJobs.get(t);

          r && (c(this._outJobs, t), r.resolve(o));
        }, e.prototype._onResponseMessage = function (e) {
          var t = e.jobId,
              o = e.error,
              r = e.data,
              s = this._outJobs.get(t);

          s && (c(this._outJobs, t), o ? s.reject(n.fromJSON(JSON.parse(o))) : s.resolve(r));
        }, e.prototype._post = function (e, t, o) {
          return p.postMessage(this.worker, e, t, o);
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/loaderConfig.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/loaderConfig.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersLoaderConfigJs(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__(
    /*! ../tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, s, t, n) {
      function r(a) {
        return n.removeQueryParameters(e.toUrl(a));
      }

      function l(e, a) {
        for (var t = 0, l = e; t < l.length; t++) {
          if (l[t].name === a.name) return;
        }

        var o = s({}, a),
            i = r(o.name + "/x.js"),
            m = i.slice(0, i.length - 5);
        o.location = n.makeAbsolute(m), e.push(o);
      }

      function o(e) {
        var t = {
          async: e.async,
          isDebug: e.isDebug,
          locale: e.locale,
          baseUrl: e.baseUrl,
          has: s({}, e.has),
          map: s({}, e.map),
          packages: e.packages && e.packages.concat() || [],
          paths: s({}, e.paths)
        };
        e.hasOwnProperty("async") || (t.async = !0), e.hasOwnProperty("isDebug") || (t.isDebug = !1), e.baseUrl || (t.baseUrl = a.DEFAULT_CONFIG.baseUrl), a.DEFAULT_CONFIG.packages.forEach(function (e) {
          l(t.packages, e);
        });

        for (var n = t.map = t.map || {}, r = 0, o = Object.keys(a.DEFAULT_CONFIG.map); r < o.length; r++) {
          var i = o[r];
          n[i] || (n[i] = a.DEFAULT_CONFIG.map[i]);
        }

        return t;
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var i = t("esri-built") ? "dojo/dojo-lite.js" : "dojo/dojo.js";
      a.DEFAULT_LOADER_URL = n.makeAbsolute(r(i)), a.DEFAULT_CONFIG = {
        baseUrl: function () {
          var e = r("dojo/x.js");
          return n.makeAbsolute(e.slice(0, e.length - 5));
        }(),
        packages: [{
          name: "esri"
        }, {
          name: "dojo"
        }, {
          name: "dojox"
        }, {
          name: "dstore"
        }, {
          name: "moment",
          main: "moment"
        }, {
          name: "@dojo"
        }, {
          name: "cldrjs",
          main: "dist/cldr"
        }, {
          name: "globalize",
          main: "dist/globalize"
        }, {
          name: "maquette-css-transitions",
          main: "dist/maquette-css-transitions.umd"
        }, {
          name: "maquette-jsx",
          main: "dist/maquette-jsx.umd"
        }, {
          name: "tslib",
          main: "tslib"
        }],
        map: {
          globalize: {
            cldr: "cldrjs/dist/cldr",
            "cldr/event": "cldrjs/dist/cldr/event",
            "cldr/supplemental": "cldrjs/dist/cldr/supplemental",
            "cldr/unresolved": "cldrjs/dist/cldr/unresolved"
          }
        }
      }, a["default"] = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/utils.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/utils.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersUtilsJs(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__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n() {
        return E++;
      }

      function s(e) {
        return e && "object" == typeof e && ("result" in e || "transferList" in e);
      }

      function a(e) {
        return e ? e.toJSON ? JSON.stringify(e) : JSON.stringify({
          name: e.name,
          message: e.message,
          details: e.details,
          stack: e.stack
        }) : null;
      }

      function u(e, r, t, n) {
        if (r.type === O.OPEN_PORT) return void e.postMessage(r, [r.port]);
        if (r.type !== O.INVOKE && r.type !== O.RESPONSE) return void e.postMessage(r);
        var a;
        s(t) ? (a = o(t.transferList), r.data = t.result) : (a = o(n), r.data = t), a ? e.postMessage(r, a) : e.postMessage(r);
      }

      function i(e) {
        if (!e) return null;
        var r = e.data;
        return r ? "string" == typeof r ? JSON.parse(r) : r : null;
      }

      function o(e) {
        if (!e || !e.length) return null;
        if (t("esri-workers-arraybuffer-transfer")) return e;
        var r = e.filter(function (e) {
          return !f(e);
        });
        return r.length ? r : null;
      }

      function f(e) {
        return e instanceof ArrayBuffer || e && e.constructor && "ArrayBuffer" === e.constructor.name;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var O;
      !function (e) {
        e[e.HANDSHAKE = 0] = "HANDSHAKE", e[e.CONFIGURE = 1] = "CONFIGURE", e[e.CONFIGURED = 2] = "CONFIGURED", e[e.OPEN = 3] = "OPEN", e[e.OPENED = 4] = "OPENED", e[e.RESPONSE = 5] = "RESPONSE", e[e.INVOKE = 6] = "INVOKE", e[e.ABORT = 7] = "ABORT", e[e.CLOSE = 8] = "CLOSE", e[e.OPEN_PORT = 9] = "OPEN_PORT", e[e.ON = 10] = "ON";
      }(O = r.MessageType || (r.MessageType = {}));
      var E = 0;
      r.newJobId = n, r.isTranferableResult = s, r.toInvokeError = a, r.postMessage = u, r.receiveMessage = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/workerFactory.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/workerFactory.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersWorkerFactoryJs(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__(
    /*! ../tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! dojo/_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./loaderConfig */
    "./node_modules/arcgis-js-api/core/workers/loaderConfig.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/core/workers/utils.js"), __webpack_require__(
    /*! ./WorkerFallback */
    "./node_modules/arcgis-js-api/core/workers/WorkerFallback.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, o, s, n, i, f, d, u, g, c) {
      function l() {
        return o(this, void 0, void 0, function () {
          var e;
          return a(this, function (r) {
            if (!i("esri-workers")) return [2, v(new c())];
            if (m) try {
              e = new Worker(m);
            } catch (r) {
              b.warn(j, event), e = new c();
            } else b.warn(j, event), e = new c();
            return [2, v(e)];
          });
        });
      }

      function v(e) {
        return o(this, void 0, void 0, function () {
          return a(this, function (r) {
            return [2, d.create(function (r) {
              function t(o) {
                var s = g.receiveMessage(o);
                if (s) switch (s.type) {
                  case w:
                    p(e);
                    break;

                  case E:
                    e.removeEventListener("message", t), e.removeEventListener("error", a), r(e);
                }
              }

              function a(r) {
                r.preventDefault(), e.removeEventListener("message", t), e.removeEventListener("error", a), b.warn("Failed to create Worker. Fallback to execute module in main thread", r), e = new c(), e.addEventListener("message", t), e.addEventListener("error", a);
              }

              e.addEventListener("message", t), e.addEventListener("error", a);
            })];
          });
        });
      }

      function p(e) {
        var r,
            a = n.workers.loaderUrl || u.DEFAULT_LOADER_URL;

        if (null != n["default"]) {
          var o = t({}, n);
          delete o["default"], r = JSON.parse(JSON.stringify(o));
        } else r = JSON.parse(JSON.stringify(n));

        var f = n.workers.loaderConfig,
            d = u["default"]({
          baseUrl: f.baseUrl,
          locale: s.locale,
          has: t({
            "config-deferredInstrumentation": 0,
            "csp-restrictions": i("csp-restrictions"),
            "dojo-test-sniff": 0,
            "esri-native-promise": i("esri-native-promise"),
            "esri-secure-context": i("esri-secure-context"),
            "esri-workers-arraybuffer-transfer": i("esri-workers-arraybuffer-transfer"),
            "events-keypress-typed": 0,
            "host-webworker": 1,
            "esri-webgl-texture-float": i("esri-webgl-texture-float"),
            "esri-shared-array-buffer": i("esri-shared-array-buffer"),
            "esri-atomics": i("esri-atomics"),
            "esri-2d-debug": i("esri-2d-debug"),
            "esri-webgl-max-texture-size": i("esri-webgl-max-texture-size")
          }, f.has),
          map: t({}, f.map),
          paths: t({}, f.paths),
          packages: f.packages || []
        });
        e.postMessage({
          type: y,
          configure: {
            esriConfig: r,
            loaderUrl: a,
            loaderConfig: d
          }
        });
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var b = f.getLogger("esri.core.workers");
      i.add("esri-workers-arraybuffer-transfer", !i("safari") || i("safari") >= 12);
      var m,
          E = g.MessageType.CONFIGURED,
          y = g.MessageType.CONFIGURE,
          w = g.MessageType.HANDSHAKE;

      try {
        m = URL.createObjectURL(new Blob(['var globalId=0;var outgoing=new Map;var configured=false;var HANDSHAKE=0;var CONFIGURE=1;var CONFIGURED=2;var OPEN=3;var OPENED=4;var RESPONSE=5;var INVOKE=6;var ABORT=7;function mapDelete(map,key){map["delete"](key)}function createAbortError(){var error=new Error("AbortError");error.dojoType="cancel";return error}function receiveMessage(event){if(!event||!event.data){return null}if(typeof event.data==="string"){return JSON.parse(event.data)}return event.data}function invokeStaticMessage(methodName,data,options){var signal=options&&options.signal;var Deferred=require("dojo/Deferred");var jobId=globalId++;var abort=function(){var outJob=outgoing.get(jobId);if(!outJob){return}mapDelete(outgoing,jobId);self.postMessage({type:ABORT,jobId:jobId});outJob.reject(createAbortError())};var deferred=new Deferred(abort);if(signal){if(signal.aborted){return deferred.reject(createAbortError())}signal.addEventListener("abort",function(){abort();deferred.reject(createAbortError())})}outgoing.set(jobId,deferred);self.postMessage({type:INVOKE,jobId:jobId,methodName:methodName,abortable:true,data:data});return deferred.promise}function messageHandler(event){var message=receiveMessage(event);if(!message){return}var jobId=message.jobId;switch(message.type){case CONFIGURE:var configuration=message.configure;if(configured){return}self.dojoConfig=configuration.loaderConfig;self.importScripts(configuration.loaderUrl);if(typeof require.config==="function"){require.config(configuration.loaderConfig)}require(["esri/config"],function(esriConfig){for(var name in configuration.esriConfig){if(Object.prototype.hasOwnProperty.call(configuration.esriConfig,name)){esriConfig[name]=configuration.esriConfig[name]}}self.postMessage({type:CONFIGURED})});break;case OPEN:var modulePath=message.modulePath;require(["esri/core/workers/RemoteClient",modulePath],function(RemoteClient,Module){var port=RemoteClient.connect(Module);self.postMessage({type:OPENED,jobId:jobId,data:port},[port])});break;case RESPONSE:if(outgoing.has(jobId)){var deferred=outgoing.get(jobId);mapDelete(outgoing,jobId);if(message.error){deferred.reject(JSON.parse(message.error))}else{deferred.resolve(message.data)}}break}}self.addEventListener("message",messageHandler);self.postMessage({type:HANDSHAKE});'], {
          type: "text/javascript"
        }));
      } catch (e) {}

      var j = "Failed to create Worker. Fallback to execute module in main thread";
      r.createWorker = l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/workers/workers.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/workers/workers.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreWorkersWorkersJs(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__(
    /*! ../tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./Connection */
    "./node_modules/arcgis-js-api/core/workers/Connection.js"), __webpack_require__(
    /*! ./RemoteClient */
    "./node_modules/arcgis-js-api/core/workers/RemoteClient.js"), __webpack_require__(
    /*! ./WorkerOwner */
    "./node_modules/arcgis-js-api/core/workers/WorkerOwner.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t, r, o, i, u, a, c, s) {
      function l() {
        h();
      }

      function f(e, t) {
        return new n.Connection(e.map(function (e) {
          return new n.RemoteClient(e, t, {});
        }));
      }

      function d(a, c) {
        return void 0 === c && (c = {}), r(this, void 0, void 0, function () {
          var r, s, l, f, d, w, d, v;
          return t(this, function (t) {
            switch (t.label) {
              case 0:
                if ("string" != typeof a) throw new o("workers:undefined-module", "modulePath is missing");
                return r = c.signal, s = c.strategy || "distributed", i("host-webworker") && !i("esri-workers") && (s = "local"), "local" !== s ? [3, 2] : [4, u.create(function (n) {
                  return Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [e(a, null, false)];
                    n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](__webpack_require__.oe);
                })];

              case 1:
                return l = t.sent(), u.throwIfAborted(r), f = c.client || l, d = n.RemoteClient.connect(l), [2, new n.Connection([new n.RemoteClient(d, f, c)])];

              case 2:
                return [4, h()];

              case 3:
                return t.sent(), (u.throwIfAborted(r), "dedicated" !== s) ? [3, 5] : (w = m++, m %= p, [4, C[w].open(a, c)]);

              case 4:
                return d = t.sent(), [2, new n.Connection([new n.RemoteClient(d, c.client, c)])];

              case 5:
                return [4, u.all(C.map(function (e) {
                  return e.open(a, c);
                }))];

              case 6:
                return v = t.sent(), [2, new n.Connection(v.map(function (e) {
                  return new n.RemoteClient(e, c.client, c);
                }))];
            }
          });
        });
      }

      function w() {
        b && (v.abort(), b = null);

        for (var e = 0; e < C.length; e++) C[e] && C[e].terminate();

        C.length = 0;
      }

      function h() {
        return r(this, void 0, void 0, function () {
          var e, n, r;
          return t(this, function (t) {
            if (b) return [2, b];

            for (v = u.createAbortController(), e = [], n = function n(_n2) {
              var t = s.create(_n2).then(function (e) {
                return C[_n2] = e, e;
              });
              e.push(t);
            }, r = 0; r < p; r++) n(r);

            return b = u.all(e), [2, b];
          });
        });
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.Connection = a, n.RemoteClient = c;
      var p = i("esri-workers-debug") ? 1 : i("host-browser") ? navigator.hardwareConcurrency - 1 : 0;
      p || (p = i("safari") && i("mac") || i("trident") ? 7 : 2);
      var m = 0,
          C = [];
      n.initialize = l, n.openWithPorts = f, n.open = d, n.terminate = w;
      var v,
          b = null;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ./core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./geometry/Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ./geometry/Multipoint */
    "./node_modules/arcgis-js-api/geometry/Multipoint.js"), __webpack_require__(
    /*! ./geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./geometry/Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! ./geometry/Polyline */
    "./node_modules/arcgis-js-api/geometry/Polyline.js"), __webpack_require__(
    /*! ./geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, t, n, i, r, y, l, p, m, s, u) {
      function a(e) {
        return e instanceof o.BaseGeometry;
      }

      function g(e) {
        return "point" === e || "multipoint" === e || "polyline" === e || "polygon" === e;
      }

      Object.defineProperty(o, "__esModule", {
        value: !0
      }), o.Extent = i, o.BaseGeometry = r, o.Multipoint = y, o.Point = l, o.Polygon = p, o.Polyline = m, o.SpatialReference = s, o.isGeometry = a, o.fromJSON = u.fromJSON, o.typeKebabDictionary = t.strict()({
        esriGeometryPoint: "point",
        esriGeometryMultipoint: "multipoint",
        esriGeometryPolyline: "polyline",
        esriGeometryPolygon: "polygon",
        esriGeometryEnvelope: "extent",
        mesh: "mesh"
      }), o.isFeatureGeometryType = g, o.featureGeometryTypeKebabDictionary = t.strict()({
        esriGeometryPoint: "point",
        esriGeometryMultipoint: "multipoint",
        esriGeometryPolyline: "polyline",
        esriGeometryPolygon: "polygon"
      }), o.geometryTypes = {
        base: o.BaseGeometry,
        key: "type",
        typeMap: {
          extent: o.Extent,
          multipoint: o.Multipoint,
          point: o.Point,
          polyline: o.Polyline,
          polygon: o.Polygon
        }
      }, o.ensureType = n.ensureOneOfType(o.geometryTypes);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/Circle.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Circle.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryCircleJs(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/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! ./support/geodesicUtils */
    "./node_modules/arcgis-js-api/geometry/support/geodesicUtils.js"), __webpack_require__(
    /*! ./support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ./support/WKIDUnitConversion */
    "./node_modules/arcgis-js-api/geometry/support/WKIDUnitConversion.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, o, s, n, a, c, p, u, d) {
      return function (e) {
        function r() {
          for (var r = [], t = 0; t < arguments.length; t++) r[t] = arguments[t];

          var i = e.apply(this, r) || this;
          return i.center = null, i.geodesic = !1, i.numberOfPoints = 60, i.radius = 1e3, i.radiusUnit = "meters", i;
        }

        i(r, e), l = r, r.prototype.normalizeCtorArgs = function (e, r) {
          var i;
          if (e && e.center) i = e;else {
            if (e && e.rings) return this.inherited(arguments);
            i = {
              center: e
            };
          }
          return t({}, this.inherited(arguments, []), i, r);
        }, r.prototype.initialize = function () {
          var e = this.center,
              r = this.numberOfPoints;

          if (this.hasZ = e && e.hasZ, 0 === this.rings.length && e) {
            var t,
                i = s.convertUnit(this.radius, this.radiusUnit, "meters"),
                o = e.spatialReference,
                n = "geographic";

            if (o.isWebMercator ? n = "webMercator" : (null != d[o.wkid] || o.wkt && 0 === o.wkt.indexOf("PROJCS")) && (n = "projected"), this.geodesic) {
              var a = void 0;

              switch (n) {
                case "webMercator":
                  a = u.webMercatorToGeographic(e);
                  break;

                case "projected":
                  console.error("Creating a geodesic circle requires the center to be specified in web mercator or geographic coordinate system");
                  break;

                case "geographic":
                  a = e;
              }

              t = this._createGeodesicCircle(a, i, r), "webMercator" === n && (t = u.geographicToWebMercator(t));
            } else {
              var c = void 0;
              "webMercator" === n || "projected" === n ? c = i / this._convert2Meters(1, e.spatialReference) : "geographic" === n && (c = s.lengthToDegrees(i, "meters")), t = this._createPlanarCircle(e, c, r);
            }

            this.spatialReference = t.spatialReference, this.addRing(t.rings[0]);
          }
        }, r.prototype.clone = function () {
          var e = this,
              r = e.center,
              t = e.numberOfPoints,
              i = e.radius,
              o = e.radiusUnit,
              s = e.geodesic;
          return new l({
            center: r.clone(),
            numberOfPoints: t,
            radius: i,
            radiusUnit: o,
            geodesic: s
          });
        }, r.prototype._createGeodesicCircle = function (e, r, t) {
          for (var i = 0, o = []; i < 360;) {
            var s = [0, 0],
                n = [e.x, e.y];
            p.directGeodeticSolver(s, n, i, r), this.hasZ && s.push(e.z), o.push(s), i += 360 / t;
          }

          return o.push(o[0]), new c(o);
        }, r.prototype._createPlanarCircle = function (e, r, t) {
          for (var i = 0, o = []; i < 2 * Math.PI;) {
            var s = [e.x + Math.cos(-i) * r, e.y + Math.sin(-i) * r];
            this.hasZ && s.push(e.z), o.push(s), i += Math.PI / (t / 2);
          }

          return o.push(o[0]), new c({
            spatialReference: e.spatialReference,
            rings: [o]
          });
        }, r.prototype._convert2Meters = function (e, r) {
          var t;
          if (null != d[r.wkid]) t = d.values[d[r.wkid]];else {
            var i = r.wkt,
                o = i.lastIndexOf(",") + 1,
                s = i.lastIndexOf("]]");
            t = parseFloat(i.substring(o, s));
          }
          return e * t;
        };
        var l;
        return o([n.property({
          type: a
        })], r.prototype, "center", void 0), o([n.property()], r.prototype, "geodesic", void 0), o([n.property()], r.prototype, "numberOfPoints", void 0), o([n.property()], r.prototype, "radius", void 0), o([n.property()], r.prototype, "radiusUnit", void 0), r = l = o([n.subclass("esri.geometry.Circle")], r);
      }(n.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/Extent.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Extent.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryExtentJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/string */
    "./node_modules/arcgis-js-api/core/string.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ./Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./support/contains */
    "./node_modules/arcgis-js-api/geometry/support/contains.js"), __webpack_require__(
    /*! ./support/intersects */
    "./node_modules/arcgis-js-api/geometry/support/intersects.js"), __webpack_require__(
    /*! ./support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ./support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, n, r, a, s, m, o, h, p, x, c, l) {
      function u(t) {
        return t && ("esri.geometry.SpatialReference" === t.declaredClass || null != t.wkid);
      }

      function y(t, e, i) {
        return null == e ? i : null == i ? e : t(e, i);
      }

      var f = function (t) {
        function e() {
          for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];

          var n = t.apply(this, e) || this;
          return n.type = "extent", n.xmin = 0, n.ymin = 0, n.mmin = void 0, n.zmin = void 0, n.xmax = 0, n.ymax = 0, n.mmax = void 0, n.zmax = void 0, n;
        }

        i(e, t), m = e, e.prototype.normalizeCtorArgs = function (t, e, i, n, r) {
          return u(t) ? {
            spatialReference: t,
            xmin: 0,
            ymin: 0,
            xmax: 0,
            ymax: 0
          } : "object" == typeof t ? (t.spatialReference = null == t.spatialReference ? h.WGS84 : t.spatialReference, t) : {
            xmin: t,
            ymin: e,
            xmax: i,
            ymax: n,
            spatialReference: null == r ? h.WGS84 : r
          };
        }, e.fromBounds = function (t, e) {
          return new m({
            xmin: t[0],
            ymin: t[1],
            xmax: t[2],
            ymax: t[3],
            spatialReference: e
          });
        }, Object.defineProperty(e.prototype, "center", {
          get: function get() {
            var t = new o({
              x: .5 * (this.xmin + this.xmax),
              y: .5 * (this.ymin + this.ymax),
              spatialReference: this.spatialReference
            });
            return this.hasZ && (t.z = .5 * (this.zmin + this.zmax)), this.hasM && (t.m = .5 * (this.mmin + this.mmax)), t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "extent", {
          get: function get() {
            return this.clone();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "hasM", {
          get: function get() {
            return null != this.mmin && null != this.mmax;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "hasZ", {
          get: function get() {
            return null != this.zmin && null != this.zmax;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "height", {
          get: function get() {
            return Math.abs(this.ymax - this.ymin);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "width", {
          get: function get() {
            return Math.abs(this.xmax - this.xmin);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.centerAt = function (t) {
          var e = this.center;
          return null != t.z && this.hasZ ? this.offset(t.x - e.x, t.y - e.y, t.z - e.z) : this.offset(t.x - e.x, t.y - e.y);
        }, e.prototype.clone = function () {
          var t = new m();
          return t.xmin = this.xmin, t.ymin = this.ymin, t.xmax = this.xmax, t.ymax = this.ymax, t.spatialReference = this.spatialReference, null != this.zmin && (t.zmin = this.zmin, t.zmax = this.zmax), null != this.mmin && (t.mmin = this.mmin, t.mmax = this.mmax), t;
        }, e.prototype.contains = function (t) {
          if (!t) return !1;
          var e = this.spatialReference,
              i = t.spatialReference;
          return e && i && !e.equals(i) && l.canProject(e, i) && (t = e.isWebMercator ? l.geographicToWebMercator(t) : l.webMercatorToGeographic(t, !0)), "point" === t.type ? p.extentContainsPoint(this, t) : "extent" === t.type && p.extentContainsExtent(this, t);
        }, e.prototype.equals = function (t) {
          if (!t) return !1;
          var e = this.spatialReference,
              i = t.spatialReference;
          return e && i && !e.equals(i) && l.canProject(e, i) && (t = e.isWebMercator ? l.geographicToWebMercator(t) : l.webMercatorToGeographic(t, !0)), this.xmin === t.xmin && this.ymin === t.ymin && this.zmin === t.zmin && this.mmin === t.mmin && this.xmax === t.xmax && this.ymax === t.ymax && this.zmax === t.zmax && this.mmax === t.mmax;
        }, e.prototype.expand = function (t) {
          var e = .5 * (1 - t),
              i = this.width * e,
              n = this.height * e;

          if (this.xmin += i, this.ymin += n, this.xmax -= i, this.ymax -= n, this.hasZ) {
            var r = (this.zmax - this.zmin) * e;
            this.zmin += r, this.zmax -= r;
          }

          if (this.hasM) {
            var a = (this.mmax - this.mmin) * e;
            this.mmin += a, this.mmax -= a;
          }

          return this;
        }, e.prototype.intersects = function (t) {
          if (r.isNone(t)) return !1;
          var e = this.spatialReference,
              i = t.spatialReference;
          e && i && !e.equals(i) && l.canProject(e, i) && (t = e.isWebMercator ? l.geographicToWebMercator(t) : l.webMercatorToGeographic(t, !0));
          var n = x.getExtentIntersector(t.type);
          return "mesh" !== t.type ? n(this, t) : n(this, t.extent);
        }, e.prototype.normalize = function () {
          var t = this._normalize(!1, !0);

          return Array.isArray(t) ? t : [t];
        }, e.prototype.offset = function (t, e, i) {
          return this.xmin += t, this.ymin += e, this.xmax += t, this.ymax += e, null != i && (this.zmin += i, this.zmax += i), this;
        }, e.prototype.shiftCentralMeridian = function () {
          return this._normalize(!0);
        }, e.prototype.union = function (t) {
          return this.xmin = Math.min(this.xmin, t.xmin), this.ymin = Math.min(this.ymin, t.ymin), this.xmax = Math.max(this.xmax, t.xmax), this.ymax = Math.max(this.ymax, t.ymax), (this.hasZ || t.hasZ) && (this.zmin = y(Math.min, this.zmin, t.zmin), this.zmax = y(Math.max, this.zmax, t.zmax)), (this.hasM || t.hasM) && (this.mmin = y(Math.min, this.mmin, t.mmin), this.mmax = y(Math.max, this.mmax, t.mmax)), this;
        }, e.prototype.intersection = function (t) {
          return this.intersects(t) ? (this.xmin = Math.max(this.xmin, t.xmin), this.ymin = Math.max(this.ymin, t.ymin), this.xmax = Math.min(this.xmax, t.xmax), this.ymax = Math.min(this.ymax, t.ymax), (this.hasZ || t.hasZ) && (this.zmin = y(Math.max, this.zmin, t.zmin), this.zmax = y(Math.min, this.zmax, t.zmax)), (this.hasM || t.hasM) && (this.mmin = y(Math.max, this.mmin, t.mmin), this.mmax = y(Math.min, this.mmax, t.mmax)), this) : null;
        }, e.prototype.toJSON = function (t) {
          return this.write(null, t);
        }, e.prototype._shiftCM = function (t) {
          if (void 0 === t && (t = c.getInfo(this.spatialReference)), !t || !this.spatialReference) return this;

          var e = this.spatialReference,
              i = this._getCM(t);

          if (i) {
            var n = e.isWebMercator ? l.webMercatorToGeographic(i) : i;
            this.xmin -= i.x, this.xmax -= i.x, e.isWebMercator || (n.x = this._normalizeX(n.x, t).x), this.spatialReference = new h(a.replace(e.isWGS84 ? t.altTemplate : t.wkTemplate, {
              Central_Meridian: n.x
            }));
          }

          return this;
        }, e.prototype._getCM = function (t) {
          var e = null,
              i = t.valid,
              n = i[0],
              r = i[1],
              a = this.xmin,
              s = this.xmax,
              m = a >= n && a <= r,
              o = s >= n && s <= r;
          return m && o || (e = this.center), e;
        }, e.prototype._normalize = function (t, e, i) {
          var n = this.spatialReference;
          if (!n) return this;
          if (!(i = i || c.getInfo(n))) return this;

          var r = this._getParts(i).map(function (t) {
            return t.extent;
          });

          if (r.length < 2) return r[0] || this;
          if (r.length > 2) return t ? this._shiftCM(i) : this.set({
            xmin: i.valid[0],
            xmax: i.valid[1]
          });
          if (t) return this._shiftCM(i);
          if (e) return r;
          var a = !0,
              s = !0;
          return r.forEach(function (t) {
            t.hasZ || (a = !1), t.hasM || (s = !1);
          }), {
            rings: r.map(function (t) {
              var e = [[t.xmin, t.ymin], [t.xmin, t.ymax], [t.xmax, t.ymax], [t.xmax, t.ymin], [t.xmin, t.ymin]];
              if (a) for (var i = (t.zmax - t.zmin) / 2, n = 0; n < e.length; n++) e[n].push(i);
              if (s) for (var r = (t.mmax - t.mmin) / 2, n = 0; n < e.length; n++) e[n].push(r);
              return e;
            }),
            hasZ: a,
            hasM: s,
            spatialReference: n
          };
        }, e.prototype._getParts = function (t) {
          var e = this.cache._parts;

          if (!e) {
            e = [];
            var i = this,
                n = i.ymin,
                r = i.ymax,
                a = i.spatialReference,
                s = this.width,
                o = this.xmin,
                h = this.xmax,
                p = void 0;
            t = t || c.getInfo(a);
            var x = t.valid,
                l = x[0],
                u = x[1];
            p = this._normalizeX(this.xmin, t);
            var y = p.x,
                f = p.frameId;
            p = this._normalizeX(this.xmax, t);
            var d = p.x,
                v = p.frameId,
                b = y === d && s > 0;

            if (s > 2 * u) {
              var z = new m(o < h ? y : d, n, u, r, a),
                  M = new m(l, n, o < h ? d : y, r, a),
                  g = new m(0, n, u, r, a),
                  w = new m(l, n, 0, r, a),
                  R = [],
                  O = [];
              z.contains(g) && R.push(f), z.contains(w) && O.push(f), M.contains(g) && R.push(v), M.contains(w) && O.push(v);

              for (var j = f + 1; j < v; j++) R.push(j), O.push(j);

              e.push({
                extent: z,
                frameIds: [f]
              }, {
                extent: M,
                frameIds: [v]
              }, {
                extent: g,
                frameIds: R
              }, {
                extent: w,
                frameIds: O
              });
            } else y > d || b ? e.push({
              extent: new m(y, n, u, r, a),
              frameIds: [f]
            }, {
              extent: new m(l, n, d, r, a),
              frameIds: [v]
            }) : e.push({
              extent: new m(y, n, d, r, a),
              frameIds: [f]
            });

            this.cache._parts = e;
          }

          var P = this.hasZ,
              _ = this.hasM;

          if (P || _) {
            var I = {};
            P && (I.zmin = this.zmin, I.zmax = this.zmax), _ && (I.mmin = this.mmin, I.mmax = this.mmax);

            for (var N = 0; N < e.length; N++) e[N].extent.set(I);
          }

          return e;
        }, e.prototype._normalizeX = function (t, e) {
          var i,
              n = e.valid,
              r = n[0],
              a = n[1],
              s = 2 * a,
              m = 0;
          return t > a ? (i = Math.ceil(Math.abs(t - a) / s), t -= i * s, m = i) : t < r && (i = Math.ceil(Math.abs(t - r) / s), t += i * s, m = -i), {
            x: t,
            frameId: m
          };
        };
        var m;
        return n([s.property({
          dependsOn: ["xmin", "ymin", "zmin", "mmin", "xmax", "ymax", "zmax", "mmax", "spatialReference"]
        })], e.prototype, "cache", void 0), n([s.property({
          readOnly: !0,
          dependsOn: ["cache"]
        })], e.prototype, "center", null), n([s.property({
          readOnly: !0,
          dependsOn: ["cache"]
        })], e.prototype, "extent", null), n([s.property({
          readOnly: !0,
          dependsOn: ["mmin", "mmax"],
          json: {
            write: {
              enabled: !1,
              overridePolicy: null
            }
          }
        })], e.prototype, "hasM", null), n([s.property({
          readOnly: !0,
          dependsOn: ["zmin", "zmax"],
          json: {
            write: {
              enabled: !1,
              overridePolicy: null
            }
          }
        })], e.prototype, "hasZ", null), n([s.property({
          readOnly: !0,
          dependsOn: ["ymin", "ymax"]
        })], e.prototype, "height", null), n([s.property({
          readOnly: !0,
          dependsOn: ["xmin", "xmax"]
        })], e.prototype, "width", null), n([s.property({
          type: Number,
          json: {
            type: [Number, String],
            write: {
              enabled: !0,
              allowNull: !0
            }
          }
        })], e.prototype, "xmin", void 0), n([s.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "ymin", void 0), n([s.property({
          type: Number,
          json: {
            origins: {
              "web-scene": {
                write: !1
              }
            },
            write: {
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this.hasM
                };
              }
            }
          }
        })], e.prototype, "mmin", void 0), n([s.property({
          type: Number,
          json: {
            origins: {
              "web-scene": {
                write: !1
              }
            },
            write: {
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this.hasZ
                };
              }
            }
          }
        })], e.prototype, "zmin", void 0), n([s.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "xmax", void 0), n([s.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "ymax", void 0), n([s.property({
          type: Number,
          json: {
            origins: {
              "web-scene": {
                write: !1
              }
            },
            write: {
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this.hasM
                };
              }
            }
          }
        })], e.prototype, "mmax", void 0), n([s.property({
          type: Number,
          json: {
            origins: {
              "web-scene": {
                write: !1
              }
            },
            write: {
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this.hasZ
                };
              }
            }
          }
        })], e.prototype, "zmax", void 0), e = m = n([s.subclass("esri.geometry.Extent")], e);
      }(s.declared(m));

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

  /***/
  "./node_modules/arcgis-js-api/geometry/Geometry.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Geometry.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryGeometryJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, a) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.type = null, t.extent = null, t.hasM = !1, t.hasZ = !1, t.spatialReference = a.WGS84, t;
        }

        return t(r, e), Object.defineProperty(r.prototype, "cache", {
          get: function get() {
            return {};
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.readSpatialReference = function (e, r) {
          if (e instanceof a) return e;

          if (null != e) {
            var t = new a();
            return t.read(e, r), t;
          }

          return e;
        }, r.prototype.clone = function () {
          return console.warn(".clone() is not implemented for " + this.declaredClass), null;
        }, r.prototype.clearCache = function () {
          this.notifyChange("cache");
        }, r.prototype.getCacheValue = function (e) {
          return this.cache[e];
        }, r.prototype.setCacheValue = function (e, r) {
          this.cache[e] = r;
        }, o([p.property()], r.prototype, "type", void 0), o([p.property({
          readOnly: !0,
          dependsOn: ["spatialReference"]
        })], r.prototype, "cache", null), o([p.property({
          readOnly: !0,
          dependsOn: ["spatialReference"]
        })], r.prototype, "extent", void 0), o([p.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(e) {
                return {
                  enabled: e
                };
              }
            }
          }
        })], r.prototype, "hasM", void 0), o([p.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(e) {
                return {
                  enabled: e
                };
              }
            }
          }
        })], r.prototype, "hasZ", void 0), o([p.property({
          type: a,
          json: {
            write: !0
          }
        })], r.prototype, "spatialReference", void 0), o([p.reader("spatialReference")], r.prototype, "readSpatialReference", null), r = o([p.subclass("esri.geometry.Geometry")], r);
      }(p.declared(n.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/HeightModelInfo.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/HeightModelInfo.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryHeightModelInfoJs(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/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../core/Warning */
    "./node_modules/arcgis-js-api/core/Warning.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, s, a, l, h, d) {
      function p(e, t) {
        return new h("height-unit:unsupported", "Height unit of value '" + e + "' is not supported", t);
      }

      function c(e, t) {
        return new h("height-model:unsupported", "Height model of value '" + e + "' is not supported", t);
      }

      var u = s.strict()({
        orthometric: "gravity-related-height",
        gravity_related_height: "gravity-related-height",
        ellipsoidal: "ellipsoidal"
      }),
          g = u.jsonValues.slice();
      n.removeUnordered(g, "orthometric");
      var y = s.strict()({
        meter: "meters",
        foot: "feet",
        "us-foot": "us-feet",
        "clarke-foot": "clarke-feet",
        "clarke-yard": "clarke-yards",
        "clarke-link": "clarke-links",
        "sears-yard": "sears-yards",
        "sears-foot": "sears-feet",
        "sears-chain": "sears-chains",
        "benoit-1895-b-chain": "benoit-1895-b-chains",
        "indian-yard": "indian-yards",
        "indian-1937-yard": "indian-1937-yards",
        "gold-coast-foot": "gold-coast-feet",
        "sears-1922-truncated-chain": "sears-1922-truncated-chains",
        "50-kilometers": "50-kilometers",
        "150-kilometers": "150-kilometers"
      });
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.heightModel = "gravity-related-height", r.heightUnit = "meters", r.vertCRS = null, r;
        }

        i(t, e), n = t, t.prototype.writeHeightModel = function (e, t, r) {
          return u.write(e, t, r);
        }, t.prototype.readHeightModel = function (e, t, r) {
          var i = u.read(e);
          return i || (r && r.messages && r.messages.push(c(e, {
            context: r
          })), null);
        }, t.prototype.readHeightUnit = function (e, t, r) {
          var i = y.read(e);
          return i || (r && r.messages && r.messages.push(p(e, {
            context: r
          })), null);
        }, t.prototype.readHeightUnitService = function (e, t, r) {
          var i = l.unitFromRESTJSON(e) || y.read(e);
          return i || (r && r.messages && r.messages.push(p(e, {
            context: r
          })), null);
        }, t.prototype.readVertCRS = function (e, t) {
          return t.vertCRS || t.ellipsoid || t.geoid;
        }, t.prototype.clone = function () {
          return new n({
            heightModel: this.heightModel,
            heightUnit: this.heightUnit,
            vertCRS: this.vertCRS
          });
        }, t.prototype.equals = function (e) {
          return !!e && (this === e || this.heightModel === e.heightModel && this.heightUnit === e.heightUnit && this.vertCRS === e.vertCRS);
        }, t.deriveUnitFromSR = function (e, t) {
          var r = l.getVerticalUnitStringForSR(t);
          return new n({
            heightModel: e.heightModel,
            heightUnit: r,
            vertCRS: e.vertCRS
          });
        }, t.prototype.write = function (e, t) {
          return t = r({
            origin: "web-scene"
          }, t), this.inherited(arguments, [e, t]);
        }, t.fromJSON = function (e) {
          if (!e) return null;
          var t = new n();
          return t.read(e, {
            origin: "web-scene"
          }), t;
        };
        var n;
        return o([d.property({
          type: u.apiValues,
          constructOnly: !0,
          json: {
            origins: {
              "web-scene": {
                type: g,
                "default": "ellipsoidal"
              }
            }
          }
        })], t.prototype, "heightModel", void 0), o([d.writer("web-scene", "heightModel")], t.prototype, "writeHeightModel", null), o([d.reader(["web-scene", "service"], "heightModel")], t.prototype, "readHeightModel", null), o([d.property({
          type: y.apiValues,
          constructOnly: !0,
          json: {
            origins: {
              "web-scene": {
                type: y.jsonValues,
                write: y.write
              }
            }
          }
        })], t.prototype, "heightUnit", void 0), o([d.reader("web-scene", "heightUnit")], t.prototype, "readHeightUnit", null), o([d.reader("service", "heightUnit")], t.prototype, "readHeightUnitService", null), o([d.property({
          type: String,
          constructOnly: !0,
          json: {
            origins: {
              "web-scene": {
                write: !0
              }
            }
          }
        })], t.prototype, "vertCRS", void 0), o([d.reader("service", "vertCRS", ["vertCRS", "ellipsoid", "geoid"])], t.prototype, "readVertCRS", null), t = n = o([d.subclass("esri.geometry.HeightModelInfo")], t);
      }(d.declared(a.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/Multipoint.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Multipoint.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryMultipointJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ./Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./support/zmUtils */
    "./node_modules/arcgis-js-api/geometry/support/zmUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, r, i, s, o, a, p, l) {
      function h(t) {
        return function (e, n) {
          return null == e ? n : null == n ? e : t(e, n);
        };
      }

      function u(t) {
        return t && ("esri.geometry.SpatialReference" === t.declaredClass || null != t.wkid);
      }

      var c = function (t) {
        function e() {
          for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n];

          var r = t.apply(this, e) || this;
          return r.points = [], r.type = "multipoint", r;
        }

        n(e, t), a = e, e.prototype.normalizeCtorArgs = function (t, e) {
          if (!t && !e) return null;
          var n = {};
          Array.isArray(t) ? (n.points = t, n.spatialReference = e) : u(t) ? n.spatialReference = t : (t.points && (n.points = t.points), t.spatialReference && (n.spatialReference = t.spatialReference), t.hasZ && (n.hasZ = t.hasZ), t.hasM && (n.hasM = t.hasM));
          var r = n.points && n.points[0];
          return r && (void 0 === n.hasZ && void 0 === n.hasM ? (n.hasZ = r.length > 2, n.hasM = !1) : void 0 === n.hasZ ? n.hasZ = r.length > 3 : void 0 === n.hasM && (n.hasM = r.length > 3)), n;
        }, Object.defineProperty(e.prototype, "extent", {
          get: function get() {
            var t = this.points;
            if (!t.length) return null;

            for (var e, n, r, i, s = new o(), a = this.hasZ, p = this.hasM, l = a ? 3 : 2, u = t[0], c = h(Math.min), f = h(Math.max), y = u[0], d = u[1], m = u[0], v = u[1], g = 0, x = t.length; g < x; g++) {
              var M = t[g],
                  R = M[0],
                  Z = M[1];

              if (y = c(y, R), d = c(d, Z), m = f(m, R), v = f(v, Z), a && M.length > 2) {
                var w = M[2];
                e = c(e, w), r = f(r, w);
              }

              if (p && M.length > l) {
                var P = M[l];
                n = c(n, P), i = f(i, P);
              }
            }

            return s.xmin = y, s.ymin = d, s.xmax = m, s.ymax = v, s.spatialReference = this.spatialReference, a ? (s.zmin = e, s.zmax = r) : (s.zmin = null, s.zmax = null), p ? (s.mmin = n, s.mmax = i) : (s.mmin = null, s.mmax = null), s;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.writePoints = function (t, e) {
          e.points = i.clone(this.points);
        }, e.prototype.addPoint = function (t) {
          return this.clearCache(), l.updateSupportFromPoint(this, t), Array.isArray(t) ? this.points.push(t) : this.points.push(t.toArray()), this;
        }, e.prototype.clone = function () {
          var t = {
            points: i.clone(this.points),
            spatialReference: this.spatialReference
          };
          return this.hasZ && (t.hasZ = !0), this.hasM && (t.hasM = !0), new a(t);
        }, e.prototype.getPoint = function (t) {
          if (!this._validateInputs(t)) return null;
          var e = this.points[t],
              n = {
            x: e[0],
            y: e[1],
            spatialReference: this.spatialReference
          },
              r = 2;
          return this.hasZ && (n.z = e[2], r = 3), this.hasM && (n.m = e[r]), new p(n);
        }, e.prototype.removePoint = function (t) {
          return this._validateInputs(t) ? (this.clearCache(), new p(this.points.splice(t, 1)[0], this.spatialReference)) : null;
        }, e.prototype.setPoint = function (t, e) {
          return this._validateInputs(t) ? (this.clearCache(), l.updateSupportFromPoint(e), this.points[t] = e.toArray(), this) : this;
        }, e.prototype.toJSON = function (t) {
          return this.write(null, t);
        }, e.prototype._validateInputs = function (t) {
          return null != t && t >= 0 && t < this.points.length;
        };
        var a;
        return r([s.property({
          dependsOn: ["points", "hasZ", "hasM", "spatialReference"]
        })], e.prototype, "cache", void 0), r([s.property({
          dependsOn: ["cache"]
        })], e.prototype, "extent", null), r([s.property({
          type: [[Number]],
          json: {
            write: {
              isRequired: !0
            }
          }
        })], e.prototype, "points", void 0), r([s.writer("points")], e.prototype, "writePoints", null), e = a = r([s.subclass("esri.geometry.Multipoint")], e);
      }(s.declared(a));

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

  /***/
  "./node_modules/arcgis-js-api/geometry/Point.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Point.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryPointJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ./SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./support/offset */
    "./node_modules/arcgis-js-api/geometry/support/offset.js"), __webpack_require__(
    /*! ./support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ./support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, s, a, l, u, p, c) {
      function y(e) {
        return e && ("esri.geometry.SpatialReference" === e.declaredClass || null != e.wkid);
      }

      var d = [0, 0],
          h = o.getLogger("esri.geometry.Point"),
          f = function (e) {
        function t() {
          for (var t = [], r = 0; r < arguments.length; r++) t[r] = arguments[r];

          var i = e.apply(this, t) || this;
          return i.x = 0, i.y = 0, i.z = void 0, i.m = void 0, i.type = "point", i;
        }

        r(t, e), o = t, t.copy = function (e, t) {
          t._set("x", e._get("x")), t._set("y", e._get("y")), t._set("z", e._get("z")), t._set("m", e._get("m"));

          var r = e._get("spatialReference");

          t._set("spatialReference", Object.isFrozen(r) ? r : r.clone());
        }, t.distance = function (e, t) {
          var r = e.x - t.x,
              i = e.y - t.y,
              o = e.hasZ && t.hasZ ? e.z - t.z : 0;
          return Math.sqrt(r * r + i * i + o * o);
        }, t.prototype.normalizeCtorArgs = function (e, t, r, i, o) {
          var n;
          if (Array.isArray(e)) n = e, o = t, e = n[0], t = n[1], r = n[2], i = n[3];else if (e && "object" == typeof e) {
            if (n = e, e = null != n.x ? n.x : n.longitude, t = null != n.y ? n.y : n.latitude, r = null != n.z ? n.z : n.altitude, i = n.m, o = n.spatialReference, o && "esri.geometry.SpatialReference" !== o.declaredClass && (o = new l(o)), null != n.longitude || null != n.latitude) if (null == n.longitude) h.warn(".longitude=", "Latitude was defined without longitude");else if (null == n.latitude) h.warn(".latitude=", "Longitude was defined without latitude");else if (!n.declaredClass && o && o.isWebMercator) {
              var s = c.lngLatToXY(n.longitude, n.latitude, d);
              e = s[0], t = s[1];
            }
          } else y(r) ? (o = r, r = null) : y(i) && (o = i, i = null);
          var a = {
            x: e,
            y: t
          };
          return null == a.x && null != a.y ? h.warn(".y=", "Y coordinate was defined without an X coordinate") : null == a.y && null != a.x && h.warn(".x=", "X coordinate was defined without a Y coordinate"), null != o && (a.spatialReference = o), null != r && (a.z = r), null != i && (a.m = i), a;
        }, Object.defineProperty(t.prototype, "hasM", {
          get: function get() {
            return void 0 !== this.m;
          },
          set: function set(e) {
            e !== this.hasM && (this._set("m", e ? 0 : void 0), this._set("hasM", e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "hasZ", {
          get: function get() {
            return void 0 !== this.z;
          },
          set: function set(e) {
            e !== this.hasZ && (this._set("z", e ? 0 : void 0), this._set("hasZ", e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "latitude", {
          get: function get() {
            var e = this._get("spatialReference");

            if (e) {
              if (e.isWebMercator) return c.xyToLngLat(this.x, this.y, d)[1];
              if (e.isGeographic) return this._get("y");
            }

            return null;
          },
          set: function set(e) {
            var t = this._get("spatialReference");

            t && (t.isWebMercator ? this._set("y", c.lngLatToXY(this.x, e, d)[1]) : t.isGeographic && this._set("y", e), this._set("latitude", e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "longitude", {
          get: function get() {
            var e = this._get("spatialReference");

            if (e) {
              if (e.isWebMercator) return c.xyToLngLat(this._get("x"), this._get("y"), d)[0];
              if (e.isGeographic) return this._get("x");
            }

            return null;
          },
          set: function set(e) {
            var t = this._get("spatialReference");

            t && (t.isWebMercator ? this._set("x", c.lngLatToXY(e, this._get("y"), d)[0]) : t.isGeographic && this._set("x", e), this._set("longitude", e));
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.writeX = function (e, t, r) {
          t[r] = isNaN(e) ? "NaN" : e;
        }, t.prototype.readX = function (e) {
          return "string" == typeof e ? NaN : e;
        }, t.prototype.clone = function () {
          var e = new o();
          return e.x = this.x, e.y = this.y, e.z = this.z, e.m = this.m, e.spatialReference = this.spatialReference, e;
        }, t.prototype.copy = function (e) {
          return o.copy(e, this), this;
        }, t.prototype.equals = function (e) {
          var t, r;
          if (!e) return !1;
          var i = this,
              o = i.x,
              n = i.y,
              s = i.z,
              a = i.m,
              l = i.spatialReference,
              u = e.z,
              p = e.m,
              y = e.x,
              d = e.y,
              h = e.spatialReference;
          if (!l.equals(h)) if (l.isWebMercator && h.isWGS84) t = c.lngLatToXY(y, d), y = t[0], d = t[1], h = l;else {
            if (!l.isWGS84 || !h.isWebMercator) return !1;
            r = c.xyToLngLat(y, d), y = r[0], d = r[1], h = l;
          }
          return o === y && n === d && s === u && a === p && l.wkid === h.wkid;
        }, t.prototype.offset = function (e, t, r) {
          return u.offsetPoint(this, e, t, r);
        }, t.prototype.normalize = function () {
          if (!this.spatialReference) return this;
          var e = p.getInfo(this.spatialReference);
          if (!e) return this;
          var t,
              r = this.x,
              i = e.valid,
              o = i[0],
              n = i[1],
              s = 2 * n;
          return r > n ? (t = Math.ceil(Math.abs(r - n) / s), r -= t * s) : r < o && (t = Math.ceil(Math.abs(r - o) / s), r += t * s), this._set("x", r), this;
        }, t.prototype.distance = function (e) {
          return o.distance(this, e);
        }, t.prototype.toArray = function () {
          var e = this.hasZ,
              t = this.hasM;
          return e && t ? [this.x, this.y, this.z, this.m] : e ? [this.x, this.y, this.z] : t ? [this.x, this.y, this.m] : [this.x, this.y];
        }, t.prototype.toJSON = function (e) {
          return this.write(null, e);
        };
        var o;
        return i([n.property({
          dependsOn: ["x", "y", "z", "m", "spatialReference"]
        })], t.prototype, "cache", void 0), i([n.property({
          type: Boolean,
          dependsOn: ["m"],
          json: {
            read: !1,
            write: {
              enabled: !1,
              overridePolicy: null
            }
          }
        })], t.prototype, "hasM", null), i([n.property({
          type: Boolean,
          dependsOn: ["z"],
          json: {
            read: !1,
            write: {
              enabled: !1,
              overridePolicy: null
            }
          }
        })], t.prototype, "hasZ", null), i([n.property({
          type: Number,
          dependsOn: ["y"]
        })], t.prototype, "latitude", null), i([n.property({
          type: Number,
          dependsOn: ["x"]
        })], t.prototype, "longitude", null), i([n.property({
          type: Number,
          json: {
            type: [Number, String],
            write: {
              isRequired: !0,
              allowNull: !0
            }
          }
        }), n.cast(function (e) {
          return isNaN(e) ? e : s.ensureNumber(e);
        })], t.prototype, "x", void 0), i([n.writer("x")], t.prototype, "writeX", null), i([n.reader("x")], t.prototype, "readX", null), i([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "y", void 0), i([n.property({
          type: Number,
          json: {
            write: {
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this.hasZ
                };
              }
            }
          }
        })], t.prototype, "z", void 0), i([n.property({
          type: Number,
          json: {
            write: {
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this.hasM
                };
              }
            }
          }
        })], t.prototype, "m", void 0), t = o = i([n.subclass("esri.geometry.Point")], t);
      }(n.declared(a));

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

  /***/
  "./node_modules/arcgis-js-api/geometry/Polygon.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Polygon.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryPolygonJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ./Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./support/centroid */
    "./node_modules/arcgis-js-api/geometry/support/centroid.js"), __webpack_require__(
    /*! ./support/contains */
    "./node_modules/arcgis-js-api/geometry/support/contains.js"), __webpack_require__(
    /*! ./support/coordsUtils */
    "./node_modules/arcgis-js-api/geometry/support/coordsUtils.js"), __webpack_require__(
    /*! ./support/extentUtils */
    "./node_modules/arcgis-js-api/geometry/support/extentUtils.js"), __webpack_require__(
    /*! ./support/intersects */
    "./node_modules/arcgis-js-api/geometry/support/intersects.js"), __webpack_require__(
    /*! ./support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ./support/zmUtils */
    "./node_modules/arcgis-js-api/geometry/support/zmUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, s, o, a, p, l, u, c, h, f, y, g, d) {
      function m(e) {
        return !Array.isArray(e[0]);
      }

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

          var n = e.apply(this, t) || this;
          return n.rings = [], n.type = "polygon", n;
        }

        r(t, e), a = t, t.fromExtent = function (e) {
          var t = e.clone().normalize(),
              r = e.spatialReference,
              n = !1,
              i = !1;
          t.map(function (e) {
            e.hasZ && (n = !0), e.hasM && (i = !0);
          });
          var s = {
            rings: t.map(function (e) {
              var t = [[e.xmin, e.ymin], [e.xmin, e.ymax], [e.xmax, e.ymax], [e.xmax, e.ymin], [e.xmin, e.ymin]];
              if (n && e.hasZ) for (var r = e.zmin + .5 * (e.zmax - e.zmin), s = 0; s < t.length; s++) t[s].push(r);
              if (i && e.hasM) for (var o = e.mmin + .5 * (e.mmax - e.mmin), s = 0; s < t.length; s++) t[s].push(o);
              return t;
            }),
            spatialReference: r
          };
          return n && (s.hasZ = !0), i && (s.hasM = !0), new a(s);
        }, t.prototype.normalizeCtorArgs = function (e, t) {
          var r,
              n,
              i = null,
              s = null;
          return e && !Array.isArray(e) ? (i = e.rings ? e.rings : null, t || (e.spatialReference ? t = e.spatialReference : e.rings || (t = e)), r = e.hasZ, n = e.hasM) : i = e, i = i || [], t = t || l.WGS84, i.length && i[0] && null != i[0][0] && "number" == typeof i[0][0] && (i = [i]), s = i[0] && i[0][0], s && (void 0 === r && void 0 === n ? (r = s.length > 2, n = !1) : void 0 === r ? r = !n && s.length > 3 : void 0 === n && (n = !r && s.length > 3)), {
            rings: i,
            spatialReference: t,
            hasZ: r,
            hasM: n
          };
        }, Object.defineProperty(t.prototype, "centroid", {
          get: function get() {
            var e = u.polygonCentroid(this);
            if (!e || isNaN(e[0]) || isNaN(e[1]) || this.hasZ && isNaN(e[2])) return null;
            var t = new p();
            return t.x = e[0], t.y = e[1], t.spatialReference = this.spatialReference, this.hasZ && (t.z = e[2]), t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "extent", {
          get: function get() {
            var e = this.spatialReference,
                t = f.getPolygonExtent(this);
            if (!t) return null;
            var r = new o(t);
            return r.spatialReference = e, r;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "isSelfIntersecting", {
          get: function get() {
            return y.isSelfIntersecting(this.rings);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.writePaths = function (e, t) {
          t.rings = i.clone(this.rings);
        }, t.prototype.addRing = function (e) {
          if (e) {
            this.clearCache();
            var t = this.rings,
                r = t.length;

            if (m(e)) {
              for (var n = [], i = 0, s = e.length; i < s; i++) n[i] = e[i].toArray();

              t[r] = n;
            } else t[r] = e.concat();

            return this;
          }
        }, t.prototype.clone = function () {
          var e = new a();
          return e.spatialReference = this.spatialReference, e.rings = i.clone(this.rings), e.hasZ = this.hasZ, e.hasM = this.hasM, e;
        }, t.prototype.contains = function (e) {
          return !!e && (g.canProject(e, this.spatialReference) && (e = g.project(e, this.spatialReference)), c.polygonContainsPoint(this, e));
        }, t.prototype.isClockwise = function (e) {
          var t,
              r = this;
          return t = m(e) ? e.map(function (e) {
            return r.hasZ ? r.hasM ? [e.x, e.y, e.z, e.m] : [e.x, e.y, e.z] : [e.x, e.y];
          }) : e, h.isClockwise(t, this.hasM, this.hasZ);
        }, t.prototype.getPoint = function (e, t) {
          if (!this._validateInputs(e, t)) return null;
          var r = this.rings[e][t],
              n = this.hasZ,
              i = this.hasM;
          return n && !i ? new p(r[0], r[1], r[2], void 0, this.spatialReference) : i && !n ? new p(r[0], r[1], void 0, r[2], this.spatialReference) : n && i ? new p(r[0], r[1], r[2], r[3], this.spatialReference) : new p(r[0], r[1], this.spatialReference);
        }, t.prototype.insertPoint = function (e, t, r) {
          return this._validateInputs(e, t, !0) ? (this.clearCache(), d.updateSupportFromPoint(this, r), Array.isArray(r) || (r = r.toArray()), this.rings[e].splice(t, 0, r), this) : this;
        }, t.prototype.removePoint = function (e, t) {
          return this._validateInputs(e, t) ? (this.clearCache(), new p(this.rings[e].splice(t, 1)[0], this.spatialReference)) : null;
        }, t.prototype.removeRing = function (e) {
          if (!this._validateInputs(e, null)) return null;
          this.clearCache();
          var t = this.rings.splice(e, 1)[0],
              r = this.spatialReference;
          return t.map(function (e) {
            return new p(e, r);
          });
        }, t.prototype.setPoint = function (e, t, r) {
          return this._validateInputs(e, t) ? (this.clearCache(), d.updateSupportFromPoint(this, r), Array.isArray(r) || (r = r.toArray()), this.rings[e][t] = r, this) : this;
        }, t.prototype._validateInputs = function (e, t, r) {
          if (void 0 === r && (r = !1), null == e || e < 0 || e >= this.rings.length) return !1;

          if (null != t) {
            var n = this.rings[e];
            if (r && (t < 0 || t > n.length)) return !1;
            if (!r && (t < 0 || t >= n.length)) return !1;
          }

          return !0;
        }, t.prototype.toJSON = function (e) {
          return this.write(null, e);
        };
        var a;
        return n([s.property({
          dependsOn: ["hasM", "hasZ", "rings"]
        })], t.prototype, "cache", void 0), n([s.property({
          readOnly: !0,
          dependsOn: ["cache"]
        })], t.prototype, "centroid", null), n([s.property({
          dependsOn: ["cache"],
          readOnly: !0
        })], t.prototype, "extent", null), n([s.property({
          dependsOn: ["cache"],
          readOnly: !0
        })], t.prototype, "isSelfIntersecting", null), n([s.property({
          type: [[[Number]]],
          json: {
            write: {
              isRequired: !0
            }
          }
        })], t.prototype, "rings", void 0), n([s.writer("rings")], t.prototype, "writePaths", null), t = a = n([s.subclass("esri.geometry.Polygon")], t);
      }(s.declared(a));

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

  /***/
  "./node_modules/arcgis-js-api/geometry/Polyline.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/Polyline.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryPolylineJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ./Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ./SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./support/extentUtils */
    "./node_modules/arcgis-js-api/geometry/support/extentUtils.js"), __webpack_require__(
    /*! ./support/zmUtils */
    "./node_modules/arcgis-js-api/geometry/support/zmUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, i, a, s, o, p, h, l, u) {
      function c(t) {
        return !Array.isArray(t[0]);
      }

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

          var n = t.apply(this, e) || this;
          return n.paths = [], n.type = "polyline", n;
        }

        r(e, t), o = e, e.prototype.normalizeCtorArgs = function (t, e) {
          var r,
              n,
              i = null,
              a = null;
          return t && !Array.isArray(t) ? (i = t.paths ? t.paths : null, e || (t.spatialReference ? e = t.spatialReference : t.paths || (e = t)), r = t.hasZ, n = t.hasM) : i = t, i = i || [], e = e || h.WGS84, i.length && i[0] && null != i[0][0] && "number" == typeof i[0][0] && (i = [i]), a = i[0] && i[0][0], a && (void 0 === r && void 0 === n ? (r = a.length > 2, n = !1) : void 0 === r ? r = !n && a.length > 3 : void 0 === n && (n = !r && a.length > 3)), {
            paths: i,
            spatialReference: e,
            hasZ: r,
            hasM: n
          };
        }, Object.defineProperty(e.prototype, "extent", {
          get: function get() {
            var t = this.spatialReference,
                e = l.getPolylineExtent(this);
            if (!e) return null;
            var r = new s(e);
            return r.spatialReference = t, r;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.writePaths = function (t, e) {
          e.paths = i.clone(this.paths);
        }, e.prototype.addPath = function (t) {
          if (t) {
            this.clearCache();
            var e = this.paths,
                r = e.length;

            if (c(t)) {
              for (var n = [], i = 0, a = t.length; i < a; i++) n[i] = t[i].toArray();

              e[r] = n;
            } else e[r] = t.concat();

            return this;
          }
        }, e.prototype.clone = function () {
          var t = new o();
          return t.spatialReference = this.spatialReference, t.paths = i.clone(this.paths), t.hasZ = this.hasZ, t.hasM = this.hasM, t;
        }, e.prototype.getPoint = function (t, e) {
          if (!this._validateInputs(t, e)) return null;
          var r = this.paths[t][e],
              n = this.hasZ,
              i = this.hasM;
          return n && !i ? new p(r[0], r[1], r[2], void 0, this.spatialReference) : i && !n ? new p(r[0], r[1], void 0, r[2], this.spatialReference) : n && i ? new p(r[0], r[1], r[2], r[3], this.spatialReference) : new p(r[0], r[1], this.spatialReference);
        }, e.prototype.insertPoint = function (t, e, r) {
          return this._validateInputs(t, e, !0) ? (this.clearCache(), u.updateSupportFromPoint(this, r), Array.isArray(r) || (r = r.toArray()), this.paths[t].splice(e, 0, r), this) : this;
        }, e.prototype.removePath = function (t) {
          if (!this._validateInputs(t, null)) return null;
          this.clearCache();
          var e = this.paths.splice(t, 1)[0],
              r = this.spatialReference;
          return e.map(function (t) {
            return new p(t, r);
          });
        }, e.prototype.removePoint = function (t, e) {
          return this._validateInputs(t, e) ? (this.clearCache(), new p(this.paths[t].splice(e, 1)[0], this.spatialReference)) : null;
        }, e.prototype.setPoint = function (t, e, r) {
          return this._validateInputs(t, e) ? (this.clearCache(), u.updateSupportFromPoint(this, r), Array.isArray(r) || (r = r.toArray()), this.paths[t][e] = r, this) : this;
        }, e.prototype._validateInputs = function (t, e, r) {
          if (void 0 === r && (r = !1), null == t || t < 0 || t >= this.paths.length) return !1;

          if (null != e) {
            var n = this.paths[t];
            if (r && (e < 0 || e > n.length)) return !1;
            if (!r && (e < 0 || e >= n.length)) return !1;
          }

          return !0;
        }, e.prototype.toJSON = function (t) {
          return this.write(null, t);
        };
        var o;
        return n([a.property({
          dependsOn: ["hasM", "hasZ", "paths"]
        })], e.prototype, "cache", void 0), n([a.property({
          dependsOn: ["cache"],
          readOnly: !0
        })], e.prototype, "extent", null), n([a.property({
          type: [[[Number]]],
          json: {
            write: {
              isRequired: !0
            }
          }
        })], e.prototype, "paths", void 0), n([a.writer("paths")], e.prototype, "writePaths", null), e = o = n([a.subclass("esri.geometry.Polyline")], e);
      }(a.declared(o));

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

  /***/
  "./node_modules/arcgis-js-api/geometry/SpatialReference.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/SpatialReference.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySpatialReferenceJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, s, p, a) {
      var l = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.latestWkid = null, r.wkid = null, r.wkt = null, r.imageCoordinateSystem = null, r;
        }

        i(t, e), r = t, t.fromJSON = function (e) {
          if (!e) return null;

          if (e.wkid) {
            if (102100 === e.wkid) return r.WebMercator;
            if (4326 === e.wkid) return r.WGS84;
          }

          var t = new r();
          return t.read(e), t;
        }, t.prototype.normalizeCtorArgs = function (e) {
          var t;
          if (e && "object" == typeof e) return e;
          var r = "string" == typeof e ? "wkt" : "wkid";
          return t = {}, t[r] = e, t;
        }, Object.defineProperty(t.prototype, "isWGS84", {
          get: function get() {
            return a.isWGS84(this);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "isWebMercator", {
          get: function get() {
            return a.isWebMercator(this);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "isGeographic", {
          get: function get() {
            return a.isGeographic(this);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "isWrappable", {
          get: function get() {
            return a.isWrappable(this);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.writeWkt = function (e, t) {
          this.wkid || (t.wkt = e);
        }, t.prototype.clone = function () {
          if (this === r.WGS84) return r.WGS84;
          if (this === r.WebMercator) return r.WebMercator;
          var e = new r();
          return null != this.wkid ? (e.wkid = this.wkid, null != this.latestWkid && (e.latestWkid = this.latestWkid), null != this.vcsWkid && (e.vcsWkid = this.vcsWkid), null != this.latestVcsWkid && (e.latestVcsWkid = this.latestVcsWkid)) : null != this.wkt && (e.wkt = this.wkt), this.imageCoordinateSystem && (e.imageCoordinateSystem = s.clone(this.imageCoordinateSystem)), e;
        }, t.prototype.equals = function (e) {
          if (null == e) return !1;

          if (this.imageCoordinateSystem || e.imageCoordinateSystem) {
            if (null == this.imageCoordinateSystem || null == e.imageCoordinateSystem) return !1;
            var t = e.imageCoordinateSystem,
                r = t.id,
                i = t.referenceServiceName,
                o = e.imageCoordinateSystem.geodataXform,
                n = this.imageCoordinateSystem;
            return null == r || o ? JSON.stringify(n) === JSON.stringify(e.imageCoordinateSystem) : i ? n.id === r && n.referenceServiceName === i : n.id === r;
          }

          return a.equals(this, e);
        }, t.prototype.toJSON = function (e) {
          return this.write(null, e);
        };
        var r;
        return t.GCS_NAD_1927 = null, t.WGS84 = null, t.WebMercator = null, o([p.property({
          dependsOn: ["wkid"],
          readOnly: !0
        })], t.prototype, "isWGS84", null), o([p.property({
          dependsOn: ["wkid"],
          readOnly: !0
        })], t.prototype, "isWebMercator", null), o([p.property({
          dependsOn: ["wkid", "wkt"],
          readOnly: !0
        })], t.prototype, "isGeographic", null), o([p.property({
          dependsOn: ["wkid"],
          readOnly: !0
        })], t.prototype, "isWrappable", null), o([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "latestWkid", void 0), o([p.property({
          type: Number,
          json: {
            write: !0,
            origins: {
              "web-scene": {
                write: {
                  overridePolicy: function overridePolicy() {
                    return {
                      isRequired: null === this.wkt
                    };
                  }
                }
              }
            }
          }
        })], t.prototype, "wkid", void 0), o([p.property({
          type: String,
          json: {
            origins: {
              "web-scene": {
                write: {
                  overridePolicy: function overridePolicy() {
                    return {
                      isRequired: null === this.wkid
                    };
                  }
                }
              }
            }
          }
        })], t.prototype, "wkt", void 0), o([p.writer("wkt"), p.writer("web-scene", "wkt")], t.prototype, "writeWkt", null), o([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "vcsWkid", void 0), o([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "latestVcsWkid", void 0), o([p.property()], t.prototype, "imageCoordinateSystem", void 0), t = r = o([p.subclass("esri.geometry.SpatialReference")], t);
      }(p.declared(n.JSONSupport));

      return l.prototype.toJSON.isDefaultToJSON = !0, l.GCS_NAD_1927 = new l({
        wkid: 4267,
        wkt: 'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'
      }), l.WGS84 = new l(a.WGS84), l.WebMercator = new l(a.WebMercator), Object.freeze && (Object.freeze(l.GCS_NAD_1927), Object.freeze(l.WGS84), Object.freeze(l.WebMercator)), l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/geometryEngine.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/geometryEngine.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometryGeometryEngineJs(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__(
    /*! esri/kernel */
    "./node_modules/arcgis-js-api/kernel.js"), __webpack_require__(
    /*! esri/geometry/Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! esri/geometry/Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! esri/geometry/Polyline */
    "./node_modules/arcgis-js-api/geometry/Polyline.js"), __webpack_require__(
    /*! esri/geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! esri/geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! esri/geometry/Multipoint */
    "./node_modules/arcgis-js-api/geometry/Multipoint.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (pa, za, ua, ca, ja, ka, ha, la, ma, qa) {
      function W(c) {
        if (void 0 === ha.fromJson) {
          if (void 0 !== c.x && void 0 !== c.y) return new ha(c);
          if (void 0 !== c.paths) return new ka(c);
          if (void 0 !== c.rings) return new ja(c);
          if (void 0 !== c.points) return new ma(c);
          if (void 0 !== c.xmin && void 0 !== c.ymin && void 0 !== c.xmax && void 0 !== c.ymax) return new la(c);
        } else {
          if (void 0 !== c.x && void 0 !== c.y) return ha.fromJson(c);
          if (void 0 !== c.paths) return ka.fromJson(c);
          if (void 0 !== c.rings) return ja.fromJson(c);
          if (void 0 !== c.points) return ma.fromJson(c);
          if (void 0 !== c.xmin && void 0 !== c.ymin && void 0 !== c.xmax && void 0 !== c.ymax) return la.fromJson(c);
        }
      }

      function Y(c) {
        if (void 0 === ha.fromJson) {
          if (void 0 !== c.x && void 0 !== c.y) return new ha(c);
          if (void 0 !== c.paths) return new ka(c);
          if (void 0 !== c.rings) return new ja(c);
          if (void 0 !== c.points) return new ma(c);
          if (void 0 !== c.xmin && void 0 !== c.ymin && void 0 !== c.xmax && void 0 !== c.ymax) return new la(c);
        } else {
          if (void 0 !== c.x && void 0 !== c.y) return ha.fromJSON(c);
          if (void 0 !== c.paths) return ka.fromJSON(c);
          if (void 0 !== c.rings) return ja.fromJSON(c);
          if (void 0 !== c.points) return ma.fromJSON(c);
          if (void 0 !== c.xmin && void 0 !== c.ymin && void 0 !== c.xmax && void 0 !== c.ymax) return la.fromJSON(c);
        }
      }

      function X(c, n) {
        var g;
        if (null == c || void 0 === c) return c;
        if ("number" === typeof c) return c;
        var b = c.toString();
        if ("" === b) return null;

        if (2 == n) {
          if (g = va[b], void 0 !== g) return g;
        } else if (0 == n) {
          g = ra[b];
          if (void 0 !== g) return g;
          g = sa[c];
          if (void 0 !== g) return g;
        } else if (3 == n && (g = ra[b], void 0 !== g)) return g;

        if (1 == n && (g = sa[c], void 0 !== g)) return g;
        if (!0 === /^\d+$/.test(b)) return parseInt(b);
        throw Error("Unrecognised Unit Type");
      }

      function na(c) {
        if (void 0 !== c && null !== c) switch (c) {
          case "loxodrome":
            return 1;

          case "great-elliptic":
            return 2;

          case "normal-section":
            return 3;

          case "shape-preserving":
            return 4;
        }
        return 0;
      }

      function Q(c, n) {
        if (null === c || void 0 === c || c.u()) return null;

        switch (c.G()) {
          case r.Fj.Point:
            var g = new ha(c.Be(), c.nf(), n);

            if (N) {
              var b = c.hasAttribute(r.Wc.M);
              c.hasAttribute(r.Wc.Z) && g.set("z", c.rH());
              b && g.set("m", c.aH());
            }

            return g;

          case r.Fj.Polygon:
            var g = c.hasAttribute(r.Wc.Z),
                b = c.hasAttribute(r.Wc.M),
                a = oa(c, g, b),
                g = new ja({
              rings: a,
              hasZ: g,
              hasM: b
            });
            N ? g.set("spatialReference", n) : g.setSpatialReference(n);
            g.setCacheValue("_geVersion", c);
            return g;

          case r.Fj.Polyline:
            return g = c.hasAttribute(r.Wc.Z), b = c.hasAttribute(r.Wc.M), a = oa(c, g, b), g = new ka({
              paths: a,
              hasZ: g,
              hasM: b
            }), N ? g.set("spatialReference", n) : g.setSpatialReference(n), g.setCacheValue("_geVersion", c), g;

          case r.Fj.MultiPoint:
            var g = c.hasAttribute(r.Wc.Z),
                b = c.hasAttribute(r.Wc.M),
                d = a = null;
            g && (a = c.Pa(r.Wc.Z));
            b && (d = c.Pa(r.Wc.M));
            var f = new r.b(),
                e = c.D(),
                h = new ma(n);
            N && (h.set("hasZ", g), h.set("hasM", b));

            for (var l = 0; l < e; l++) {
              c.w(l, f);
              var k = [f.x, f.y];
              g && k.push(a.get(l));
              b && k.push(d.get(l));
              h.addPoint(k);
            }

            h.setCacheValue("_geVersion", c);
            return h;

          case r.Fj.Envelope:
            return a = c.hasAttribute(r.Wc.Z), g = c.hasAttribute(r.Wc.M), b = new la(c.R.o, c.R.A, c.R.v, c.R.B, n), N && (a && (a = c.xf(r.Wc.Z, 0), b.set("zmin", a.ca), b.set("zmax", a.ha)), g && (a = c.xf(r.Wc.M, 0), b.set("mmin", a.ca), b.set("mmax", a.ha))), b.setCacheValue("_geVersion", c), b;
        }

        return null;
      }

      function oa(c, n, g) {
        var b = [],
            a = c.aa(),
            d = null,
            f = null;
        n && (d = c.Pa(r.Wc.Z));
        g && (f = c.Pa(r.Wc.M));

        for (var e = new r.b(), h = 0; h < a; h++) {
          for (var l = c.wa(h), k = c.La(h), m = 0, w = 0, p = NaN, q = NaN, t = NaN, u = NaN, z = c.Qb(h), v = [], x = l; x < l + k; x++) {
            c.w(x, e);
            var u = t = NaN,
                B = [e.x, e.y];
            n && (t = d.get(x), B.push(t));
            g && (u = f.get(x), B.push(u));
            x == l && z && (m = e.x, w = e.y, p = t, q = u);
            v.push(B);
          }

          !z || m == e.x && w == e.y && (!n || isNaN(p) && isNaN(t) || p == t) && (!g || isNaN(q) && isNaN(u) || q == u) || v.push(v[0].slice(0));
          b.push(v);
        }

        return b;
      }

      function aa(c) {
        var n = c._geVersion;

        if (null == n || void 0 == n) {
          if (Object.freeze && Object.isFrozen(c)) return 102100 === c.wkid ? wa : 4326 === c.wkid ? xa : n = r.Sd.create(c.wkid);
          -1 != c.wkid && null !== c.wkid && void 0 !== c.wkid ? (n = r.Sd.create(c.wkid), c._geVersion = n) : "" !== c.wkt && void 0 !== c.wkt && null !== c.wkt && (n = r.Sd.qR(c.wkt), c._geVersion = n);
        }

        return n;
      }

      function J(c) {
        if (null == c) return null;

        if (void 0 === c.getCacheValue) {
          var n = c._geVersion;
          if (null == n || void 0 == n) n = r.cc.dG(c), c._geVersion = n;
        } else if (n = c.getCacheValue("_geVersion"), null == n || void 0 == n) n = r.cc.dG(c), c.setCacheValue("_geVersion", n);

        return n;
      }

      function M(c) {
        return null === c.spatialReference ? null : aa(c.spatialReference);
      }

      function ea(c) {
        return "[object Array]" === Object.prototype.toString.call(c);
      }

      function ya(c) {
        if (null === c || void 0 === c || c.u()) return null;

        switch (c.G()) {
          case r.Fj.Point:
            var n = {};
            n.x = c.Be();
            n.y = c.nf();

            if (N) {
              var g = c.hasAttribute(r.Wc.M);
              c.hasAttribute(r.Wc.Z) && (n.z = c.rH());
              g && (n.m = c.aH());
            }

            return n;

          case r.Fj.Polygon:
            return n = c.hasAttribute(r.Wc.Z), g = c.hasAttribute(r.Wc.M), {
              rings: oa(c, n, g),
              hasZ: n,
              hasM: g
            };

          case r.Fj.Polyline:
            return n = c.hasAttribute(r.Wc.Z), g = c.hasAttribute(r.Wc.M), {
              paths: oa(c, n, g),
              hasZ: n,
              hasM: g
            };

          case r.Fj.MultiPoint:
            var n = c.hasAttribute(r.Wc.Z),
                g = c.hasAttribute(r.Wc.M),
                b = null,
                a = null;
            n && (b = c.Pa(r.Wc.Z));
            g && (a = c.Pa(r.Wc.M));
            var d = new r.b(),
                f = c.D(),
                e = {
              points: []
            };
            N && (e.hasZ = n, e.hasM = g);

            for (var h = 0; h < f; h++) {
              c.w(h, d);
              var l = [d.x, d.y];
              n && l.push(b.get(h));
              g && l.push(a.get(h));
              e.points.push(l);
            }

            return e;

          case r.Fj.Envelope:
            return b = c.hasAttribute(r.Wc.Z), n = c.hasAttribute(r.Wc.M), g = {}, g.xmin = c.R.o, g.ymin = c.R.A, g.xmax = c.R.v, g.ymax = c.R.B, N && (b && (b = c.xf(r.Wc.Z, 0), g.zmin = b.ca, g.zmax = b.ha), n && (b = c.xf(r.Wc.M, 0), g.mmin = b.ca, g.mmax = b.ha)), g;
        }

        return null;
      }

      var O = this && this.__extends || function (c, n) {
        function g() {
          this.constructor = c;
        }

        for (var b in n) n.hasOwnProperty(b) && (c[b] = n[b]);

        c.prototype = null === n ? Object.create(n) : (g.prototype = n.prototype, new g());
      },
          r;

      (function (c) {
        var n = function () {
          function b() {}

          b.Bm = !1;
          b.jw = !1;
          b.yz = "";
          return b;
        }();

        c.Xh = n;
        if ("undefined" !== typeof window) c.Xh.yz = "browser", "Float64Array" in window && (c.Xh.jw = !0), "ArrayBuffer" in window && (c.Xh.Bm = !0);else if ("undefined" !== typeof process) n.yz = "node", c.Xh.Bm = !0, c.Xh.jw = !0;else {
          n.yz = "browser";

          try {
            var g = new ArrayBuffer(0);
            new Uint8Array(g);
            c.Xh.Bm = !0;
            c.Xh.jw = !0;
          } catch (b) {
            c.Xh.Bm = !1;
          }
        }
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.Unknown = 0] = "Unknown";
          c[c.Point = 33] = "Point";
          c[c.Line = 322] = "Line";
          c[c.Envelope = 197] = "Envelope";
          c[c.MultiPoint = 550] = "MultiPoint";
          c[c.Polyline = 1607] = "Polyline";
          c[c.Polygon = 1736] = "Polygon";
        })(c.Fj || (c.Fj = {}));

        (function (c) {
          c[c.enumMild = 0] = "enumMild";
          c[c.enumMedium = 1] = "enumMedium";
          c[c.enumHot = 2] = "enumHot";
        })(c.uM || (c.uM = {}));

        var n = function () {
          function g() {
            this.description = null;
            this.CB = 0;
          }

          g.prototype.G = function () {
            return 0;
          };

          g.prototype.tb = function () {
            return -1;
          };

          g.prototype.Fg = function (b) {
            this.Bc();
            b != this.description && this.mo(b);
          };

          g.prototype.mo = function () {};

          g.prototype.om = function (b) {
            this.Bc();
            b != this.description && (b = c.ye.wT(this.description, b), b != this.description && this.mo(b));
          };

          g.prototype.hasAttribute = function (b) {
            return this.description.hasAttribute(b);
          };

          g.prototype.Ud = function (b) {
            this.Bc();
            this.description.hasAttribute(b) || (b = c.ye.vT(this.description, b), this.mo(b));
          };

          g.prototype.xf = function () {
            return null;
          };

          g.prototype.Qn = function () {};

          g.prototype.s = function () {};

          g.prototype.Cp = function () {};

          g.prototype.ac = function (b) {
            this.s(b);
          };

          g.prototype.u = function () {
            return !0;
          };

          g.prototype.Oa = function () {};

          g.prototype.Xc = function () {};

          g.prototype.Ka = function () {
            return null;
          };

          g.prototype.copyTo = function () {};

          g.prototype.hf = function () {
            return 0;
          };

          g.prototype.Rb = function () {
            return 0;
          };

          g.prototype.uH = function () {
            return this.hasAttribute(1);
          };

          g.lf = function (b) {
            return ((b & 192) >> 6) + 1 >> 1;
          };

          g.Jo = function (b) {
            return 0 != (b & 32);
          };

          g.l_ = function (b) {
            return 0 != (b & 64);
          };

          g.PU = function (b) {
            return 0 != (b & 128);
          };

          g.Oc = function (b) {
            return 0 != (b & 256);
          };

          g.gh = function (b) {
            return 0 != (b & 512);
          };

          g.Ic = function (b) {
            return 0 != (b & 1024);
          };

          g.prototype.Vf = function () {
            var b = this.Ka();
            this.copyTo(b);
            return b;
          };

          g.prototype.Gg = function () {
            return null;
          };

          g.oe = function (b) {
            var a = b.Ka();
            b.copyTo(a);
            return a;
          };

          g.prototype.Bc = function () {
            0 <= this.CB && (this.CB += 2147483649);
          };

          g.gy = function (b) {
            var a = b.G();
            if (g.gh(a)) return b.D();
            if (b.u()) return 0;
            if (197 == a) return 4;
            if (33 == a) return 1;
            if (g.Oc(a)) return 2;
            throw c.g.X("missing type");
          };

          return g;
        }();

        c.T = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {
            this.y = this.x = 0;
          }

          g.pa = function (b, a) {
            var d = new g();
            d.x = b;
            d.y = a;
            return d;
          };

          g.El = function (b) {
            var a = new g();
            a.x = b.x;
            a.y = b.y;
            return a;
          };

          g.prototype.ka = function (b, a) {
            this.x = b;
            this.y = a;
          };

          g.prototype.L = function (b) {
            this.x = b.x;
            this.y = b.y;
          };

          g.prototype.Uq = function (b, a) {
            return this.x === b && this.y === a;
          };

          g.prototype.xA = function (b) {
            return 2.220446049250313E-16 >= Math.abs(this.x - b.x) && 2.220446049250313E-16 >= Math.abs(this.y - b.y);
          };

          g.prototype.ub = function (b) {
            return this.x === b.x && this.y === b.y;
          };

          g.prototype.Eb = function (b) {
            return b == this ? !0 : b instanceof g ? this.x == b.x && this.y == b.y : !1;
          };

          g.prototype.sub = function (b) {
            this.x -= b.x;
            this.y -= b.y;
          };

          g.prototype.zc = function (b, a) {
            this.x = b.x - a.x;
            this.y = b.y - a.y;
          };

          g.prototype.add = function (b, a) {
            void 0 !== a ? (this.x = b.x + a.x, this.y = b.y + a.y) : (this.x += b.x, this.y += b.y);
          };

          g.prototype.Lr = function () {
            this.x = -this.x;
            this.y = -this.y;
          };

          g.prototype.bu = function (b) {
            this.x = -b.x;
            this.y = -b.y;
          };

          g.prototype.JU = function (b, a, d) {
            this.x = b.x * (1 - d) + a.x * d;
            this.y = b.y * (1 - d) + a.y * d;
          };

          g.prototype.ru = function (b, a) {
            this.x = this.x * b + a.x;
            this.y = this.y * b + a.y;
          };

          g.prototype.FX = function (b, a, d) {
            this.x = a.x * b + d.x;
            this.y = a.y * b + d.y;
          };

          g.prototype.scale = function (b) {
            this.x *= b;
            this.y *= b;
          };

          g.prototype.compare = function (b) {
            return this.y < b.y ? -1 : this.y > b.y ? 1 : this.x < b.x ? -1 : this.x > b.x ? 1 : 0;
          };

          g.prototype.normalize = function () {
            var b = this.length();
            0 == b && (this.x = 1, this.y = 0);
            this.x /= b;
            this.y /= b;
          };

          g.prototype.length = function () {
            return Math.sqrt(this.x * this.x + this.y * this.y);
          };

          g.prototype.qk = function () {
            return this.x * this.x + this.y * this.y;
          };

          g.Cb = function (b, a) {
            return Math.sqrt(this.sc(b, a));
          };

          g.xz = function (b, a, d, f) {
            b -= d;
            a -= f;
            return Math.sqrt(b * b + a * a);
          };

          g.prototype.oi = function (b) {
            return this.x * b.x + this.y * b.y;
          };

          g.prototype.zE = function (b) {
            return Math.abs(this.x * b.x) + Math.abs(this.y * b.y);
          };

          g.prototype.Ui = function (b) {
            return this.x * b.y - this.y * b.x;
          };

          g.prototype.qu = function (b, a) {
            var d = -this.x * a + this.y * b;
            this.x = this.x * b + this.y * a;
            this.y = d;
          };

          g.prototype.uw = function () {
            var b = this.x;
            this.x = -this.y;
            this.y = b;
          };

          g.prototype.aI = function (b) {
            this.x = -b.y;
            this.y = b.x;
          };

          g.prototype.Ur = function () {
            var b = this.x;
            this.x = this.y;
            this.y = -b;
          };

          g.prototype.dv = function () {
            this.y = this.x = NaN;
          };

          g.prototype.Hy = function () {
            return isNaN(this.x);
          };

          g.prototype.$u = function () {
            return 0 < this.x ? 0 <= this.y ? 1 : 4 : 0 < this.y ? 2 : 0 == this.x ? 4 : 3;
          };

          g.vs = function (b, a) {
            var d = b.$u(),
                f = a.$u();
            return f == d ? (d = b.Ui(a), 0 > d ? 1 : 0 < d ? -1 : 0) : d < f ? -1 : 1;
          };

          g.AZ = function (b, a) {
            return g.vs(b, a);
          };

          g.sc = function (b, a) {
            var d = b.x - a.x,
                f = b.y - a.y;
            return d * d + f * f;
          };

          g.prototype.toString = function () {
            return "(" + this.x + " , " + this.y + ")";
          };

          g.prototype.$c = function () {
            this.y = this.x = NaN;
          };

          g.prototype.isNaN = function () {
            return isNaN(this.x) || isNaN(this.y);
          };

          g.prototype.SO = function () {
            return this.Hy() ? NaN : Math.abs(this.x) >= Math.abs(this.y) ? Math.abs(this.x) : Math.abs(this.y);
          };

          g.prototype.offset = function (b, a) {
            var d = g.Cb(b, a),
                f = g.pa(this.x, this.y);
            if (0 == d) return g.Cb(f, b);
            var e = new g();
            e.L(a);
            e.sub(b);
            f.sub(b);
            return f.Ui(e) / d;
          };

          g.zp = function (b, a, d) {
            var f = new c.Xb();
            f.set(a.x);
            f.sub(b.x);
            var e = new c.Xb();
            e.set(d.y);
            e.sub(b.y);
            var h = new c.Xb();
            h.set(a.y);
            h.sub(b.y);
            var l = new c.Xb();
            l.set(d.x);
            l.sub(b.x);
            f.Vg(e);
            h.Vg(l);
            f.sub(h);
            if (!f.lt()) return d = f.value(), 0 > d ? -1 : 0 < d ? 1 : 0;
            f = new c.Tp(a.x);
            e = new c.Tp(b.x);
            h = new c.Tp(b.y);
            f = f.Zt(e);
            b = new c.Tp(d.y);
            b = b.Zt(h);
            a = new c.Tp(a.y);
            a = a.Zt(h);
            d = new c.Tp(d.x);
            d = d.Zt(e);
            f = f.ds(b);
            a = a.ds(d);
            f = f.ds(a);
            return f.pV() ? -1 : f.aU() ? 1 : 0;
          };

          g.prototype.jc = function () {
            return c.J.Zi(c.J.Zi());
          };

          return g;
        }();

        c.b = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c(b) {
            this.kz = this.Au = 0;
            this.IY = b;
          }

          c.prototype.reset = function () {
            this.kz = this.Au = 0;
          };

          c.prototype.add = function (b) {
            b -= this.kz;
            var a = this.Au + b;
            this.kz = a - this.Au - b;
            this.Au = a;
          };

          c.prototype.sub = function (b) {
            this.add(-b);
          };

          c.prototype.en = function () {
            return this.IY + this.Au;
          };

          return c;
        }();

        c.ry = n;

        n = function () {
          function c() {}

          c.Fl = function (b, a) {
            return 0 <= a ? Math.abs(b) : -Math.abs(b);
          };

          c.sign = function (b) {
            return 0 > b ? -1 : 0 < b ? 1 : 0;
          };

          c.hM = function (b) {
            return b - 360 * Math.floor(b / 360);
          };

          c.round = function (b) {
            return Math.floor(b + .5);
          };

          c.Yx = function (b) {
            return b * b;
          };

          c.Xq = function (b, a, d) {
            var f;
            .5 >= d ? f = b + (a - b) * d : f = a - (a - b) * (1 - d);
            return f;
          };

          c.cI = function (b, a, d, f) {
            .5 >= d ? (f.x = b.x + (a.x - b.x) * d, f.y = b.y + (a.y - b.y) * d) : (f.x = a.x - (a.x - b.x) * (1 - d), f.y = a.y - (a.y - b.y) * (1 - d));
          };

          c.nV = function (b, a, d, f, e, h) {
            .5 >= e ? (h.x = b + (d - b) * e, h.y = a + (f - a) * e) : (h.x = d - (d - b) * (1 - e), h.y = f - (f - a) * (1 - e));
          };

          return c;
        }();

        c.Ub = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.call(this);
            this.oa = this.sa = this.ra = this.ua = 0;
            this.la = null;
          }

          O(b, g);

          b.prototype.ec = function () {
            return c.b.pa(this.ua, this.ra);
          };

          b.prototype.Oq = function (a) {
            a.x = this.ua;
            a.y = this.ra;
          };

          b.prototype.Mc = function (a) {
            this.Qm(0, a);
          };

          b.prototype.xC = function (a, d) {
            this.Qm(0, c.b.pa(a, d));
          };

          b.prototype.Dp = function (a) {
            this.BE(0, a);
          };

          b.prototype.setStart = function (a) {
            this.LE(0, a);
          };

          b.prototype.dt = function (a, d) {
            return this.ae(0, a, d);
          };

          b.prototype.Tx = function (a, d, f) {
            this.oo(0, a, d, f);
          };

          b.prototype.Cc = function () {
            return c.b.pa(this.sa, this.oa);
          };

          b.prototype.Ps = function (a) {
            a.x = this.sa;
            a.y = this.oa;
          };

          b.prototype.Zc = function (a) {
            this.Qm(1, a);
          };

          b.prototype.vm = function (a, d) {
            this.Qm(1, c.b.pa(a, d));
          };

          b.prototype.Bp = function (a) {
            this.BE(1, a);
          };

          b.prototype.setEnd = function (a) {
            this.LE(1, a);
          };

          b.prototype.Os = function (a, d) {
            return this.ae(1, a, d);
          };

          b.prototype.Lx = function (a, d, f) {
            this.oo(1, a, d, f);
          };

          b.prototype.tb = function () {
            return 1;
          };

          b.prototype.u = function () {
            return this.Hc();
          };

          b.prototype.Oa = function () {};

          b.prototype.hf = function () {
            return 0;
          };

          b.prototype.Ma = function (a, d, f, b, h) {
            return this.QO(a, d, f, b, h);
          };

          b.prototype.Yb = function (a, d) {
            return 0 != this.ys(a, d, !1);
          };

          b.prototype.mt = function (a, d) {
            return this.av(a, d, !1);
          };

          b.prototype.av = function () {
            return null;
          };

          b.prototype.Hc = function () {
            return !1;
          };

          b.prototype.Jy = function (a) {
            this.Bc();
            if (null == this.la && 0 < a) this.la = c.J.gf(2 * a);else if (null != this.la && this.la.length < 2 * a) {
              for (var d = this.la.slice(0), f = this.la.length; f < 2 * a; f++) d[f] = 0;

              this.la = d;
            }
          };

          b.cX = function (a, d, f) {
            if (0 < f) var b = 0;

            for (var h = 0; h < f; h++) d[0 + b] = a[0], b++;
          };

          b.prototype.Qm = function (a, d) {
            0 != a ? (this.sa = d.x, this.oa = d.y) : (this.ua = d.x, this.ra = d.y);
          };

          b.prototype.mo = function (a) {
            if (null != this.la) {
              for (var d = c.ye.vx(a, this.description), f = [], e = b.vl(this.description, 0), h = b.vl(this.description, 1), l = b.vl(a, 0), k = b.vl(a, 1), m = 0, g = 1, p = a.Ga; g < p; g++) {
                var q = a.rd(g),
                    t = c.ma.Xa(q);
                if (-1 == d[g]) for (var u = c.ma.de(q), q = 0; q < t; q++) f[l + m] = u, f[k + m] = u, m++;else for (u = this.description.xk(d[g]) - 2, q = 0; q < t; q++) f[l + m] = this.la[e + u], f[k + m] = this.la[h + u], m++, u++;
              }

              this.la = f;
            }

            this.description = a;
          };

          b.prototype.BE = function (a, d) {
            if (this.Hc()) throw c.g.X("empty geometry");
            d.Fg(this.description);
            d.Hc() && d.nq();

            for (var f = 0; f < this.description.Ga; f++) for (var b = this.description.Td(f), h = 0, l = c.ma.Xa(b); h < l; h++) {
              var k = this.ae(a, b, h);
              d.setAttribute(b, h, k);
            }
          };

          b.prototype.LE = function (a, d) {
            this.Bc();
            if (d.Hc()) throw c.g.X("empty geometry");

            for (var f = d.description, b = 0, h = f.Ga; b < h; b++) for (var l = f.Td(b), k = c.ma.Xa(l), m = 0; m < k; m++) {
              var g = d.Yc(l, m);
              this.oo(a, l, m, g);
            }
          };

          b.prototype.ae = function (a, d, f) {
            if (this.Hc()) throw c.g.X("This operation was performed on an Empty Geometry.");
            if (0 == d) return 0 != a ? 0 != f ? this.oa : this.sa : 0 != f ? this.ra : this.ua;
            if (f >= c.ma.Xa(d)) throw c.g.wd();
            var e = this.description.mg(d);
            return 0 <= e ? (null != this.la && this.Jy(this.description.af.length - 2), this.la[b.vl(this.description, a) + this.description.xk(e) - 2 + f]) : c.ma.de(d);
          };

          b.prototype.oo = function (a, d, f, e) {
            this.Bc();
            if (f >= c.ma.Xa(d)) throw c.g.wd();
            var h = this.description.mg(d);
            0 > h && (this.Ud(d), h = this.description.mg(d));
            0 == d ? 0 != a ? 0 != f ? this.oa = e : this.sa = e : 0 != f ? this.ra = e : this.ua = e : (null == this.la && this.Jy(this.description.af.length - 2), this.la[b.vl(this.description, a) + this.description.xk(h) - 2 + f] = e);
          };

          b.prototype.copyTo = function (a) {
            if (a.G() != this.G()) throw c.g.F();
            a.description = this.description;
            a.Jy(this.description.af.length - 2);
            b.cX(this.la, a.la, 2 * (this.description.af.length - 2));
            a.ua = this.ua;
            a.ra = this.ra;
            a.sa = this.sa;
            a.oa = this.oa;
            a.Bc();
            this.iq(a);
          };

          b.prototype.xf = function (a, d) {
            var f = new c.Ac();
            if (this.Hc()) return f.Oa(), f;
            f.ca = this.ae(0, a, d);
            f.ha = f.ca;
            f.ml(this.ae(1, a, d));
            return f;
          };

          b.prototype.SJ = function (a) {
            this.Hc() ? a.Oa() : (a.ca = this.ae(0, 0, 0), a.ha = a.ca, a.ml(this.ae(1, 0, 0)));
          };

          b.prototype.Fx = function (a, d) {
            d.Fg(this.description);
            d.rb(this.gc(a));

            for (var f = 1, b = this.description.Ga; f < b; f++) for (var h = this.description.Td(f), l = c.ma.Xa(h), k = 0; k < l; k++) {
              var m = this.Yc(a, h, k);
              d.setAttribute(h, k, m);
            }
          };

          b.prototype.NO = function (a) {
            if (this.description != a.description || this.ua != a.ua || this.sa != a.sa || this.ra != a.ra || this.oa != a.oa) return !1;

            for (var d = 0; d < 2 * (this.description.af.length - 2); d++) if (this.la[d] != a.la[d]) return !1;

            return !0;
          };

          b.prototype.OH = function () {
            return this.ua == this.sa && this.ra == this.oa;
          };

          b.prototype.reverse = function () {
            var a = this.ua;
            this.ua = this.sa;
            this.sa = a;
            a = this.ra;
            this.ra = this.oa;
            this.oa = a;

            for (var a = 1, d = this.description.Ga; a < d; a++) for (var f = this.description.rd(a), b = 0, h = c.ma.Xa(f); b < h; b++) {
              var l = this.ae(0, f, b),
                  k = this.ae(1, f, b);
              this.oo(0, f, b, k);
              this.oo(1, f, b, l);
            }
          };

          b.prototype.ys = function (a, d, f) {
            var b = a.G();

            switch (this.G()) {
              case 322:
                if (322 == b) return c.Hb.RO(this, a, d, f);
                throw c.g.za();

              default:
                throw c.g.za();
            }
          };

          b.prototype.QO = function (a, d, f, b, h) {
            var l = a.G();

            switch (this.G()) {
              case 322:
                if (322 == l) return c.Hb.Gy(this, a, d, f, b, h);
                throw c.g.za();

              default:
                throw c.g.za();
            }
          };

          b.prototype.Cy = function () {
            return null;
          };

          b.vl = function (a, d) {
            return d * (a.af.length - 2);
          };

          b.prototype.gc = function (a, d) {
            if (void 0 === d) {
              var f = new c.b();
              this.gc(a, f);
              return f;
            }

            c.Ub.nV(this.ua, this.ra, this.sa, this.oa, a, d);
          };

          b.prototype.pe = function () {
            return null;
          };

          b.prototype.qH = function () {
            return null;
          };

          b.prototype.Tq = function () {
            return null;
          };

          b.prototype.fh = function () {
            return null;
          };

          b.prototype.Go = function () {
            return null;
          };

          b.prototype.Eg = function () {
            return null;
          };

          b.prototype.Dy = function (a, d) {
            return void 0 !== d ? this.cy(d) - this.cy(a) : this.cy(a);
          };

          b.prototype.iq = function () {};

          b.prototype.Hl = function () {
            return null;
          };

          b.prototype.yh = function () {};

          b.prototype.Yc = function () {
            return null;
          };

          b.prototype.pf = function () {
            return null;
          };

          b.prototype.cy = function () {
            return null;
          };

          b.prototype.bI = function () {
            return null;
          };

          b.prototype.Cb = function (a, d) {
            if (!d && 0 != this.ys(a, 0, !1)) return 0;
            var f = 1.7976931348623157E308,
                b,
                h;
            b = this.ec();
            h = a.pe(b, !1);
            b.sub(a.gc(h));
            b = b.length();
            b < f && (f = b);
            b = this.Cc();
            h = a.pe(b, !1);
            b.sub(a.gc(h));
            b = b.length();
            b < f && (f = b);
            b = a.ec();
            h = this.pe(b, !1);
            b.sub(this.gc(h));
            b = b.length();
            b < f && (f = b);
            b = a.Cc();
            h = this.pe(b, !1);
            b.sub(this.gc(h));
            b = b.length();
            b < f && (f = b);
            return f;
          };

          b.prototype.Gg = function () {
            return c.Pi.Rm(this, null);
          };

          return b;
        }(c.T);

        c.dE = n;
      })(r || (r = {}));

      new r.b();

      (function (c) {
        (function (c) {
          c[c.Unknown = -1] = "Unknown";
          c[c.Not = 0] = "Not";
          c[c.Weak = 1] = "Weak";
          c[c.Strong = 2] = "Strong";
        })(c.wM || (c.wM = {}));

        (function (c) {
          c[c.DirtyIsKnownSimple = 1] = "DirtyIsKnownSimple";
          c[c.IsWeakSimple = 2] = "IsWeakSimple";
          c[c.IsStrongSimple = 4] = "IsStrongSimple";
          c[c.DirtyOGCFlags = 8] = "DirtyOGCFlags";
          c[c.DirtyVerifiedStreams = 32] = "DirtyVerifiedStreams";
          c[c.DirtyExactIntervals = 64] = "DirtyExactIntervals";
          c[c.DirtyLooseIntervals = 128] = "DirtyLooseIntervals";
          c[c.DirtyIntervals = 192] = "DirtyIntervals";
          c[c.DirtyIsEnvelope = 256] = "DirtyIsEnvelope";
          c[c.DirtyLength2D = 512] = "DirtyLength2D";
          c[c.DirtyRingAreas2D = 1024] = "DirtyRingAreas2D";
          c[c.DirtyCoordinates = 1993] = "DirtyCoordinates";
          c[c.DirtyAllInternal = 65535] = "DirtyAllInternal";
          c[c.DirtyAll = 16777215] = "DirtyAll";
        })(c.aM || (c.aM = {}));

        var n = function (g) {
          function b() {
            g.call(this);
            this.tn = 65535;
            this.qa = 0;
            this.lh = -1;
            this.ob = null;
          }

          O(b, g);

          b.prototype.iq = function () {};

          b.prototype.Iy = function () {};

          b.prototype.Py = function () {};

          b.prototype.D = function () {
            return this.qa;
          };

          b.prototype.u = function () {
            return this.Hc();
          };

          b.prototype.Hc = function () {
            return 0 == this.qa;
          };

          b.prototype.yk = function (a) {
            return 0 != (this.tn & a);
          };

          b.prototype.lg = function (a, d) {
            this.tn = d ? this.tn | a : this.tn & ~a;
          };

          b.prototype.wc = function () {
            this.yk(32) && this.$O();
          };

          b.prototype.Cu = function () {
            if (this.Hc()) throw c.g.X("This operation was performed on an Empty Geometry.");
          };

          b.prototype.Ae = function (a, d) {
            if (0 > a || a >= this.qa) throw c.g.X("index out of bounds");
            this.wc();
            d.Fg(this.description);
            d.u() && d.nq();

            for (var f = 0; f < this.description.Ga; f++) for (var b = this.description.Td(f), h = 0, l = c.ma.Xa(b); h < l; h++) {
              var k = this.ya[f].Of(l * a + h);
              d.setAttribute(b, h, k);
            }
          };

          b.prototype.vu = function (a, d) {
            this.wc();

            for (var f = d.description, b = 0; b < f.Ga; b++) for (var h = f.Td(b), l = c.ma.Xa(h), k = 0; k < l; k++) {
              var m = d.Yc(h, k);
              this.setAttribute(h, a, k, m);
            }
          };

          b.prototype.w = function (a, d) {
            if (0 > a || a >= this.D()) throw c.g.wd();
            this.wc();
            this.ya[0].fc(2 * a, d);
          };

          b.prototype.Ba = function (a) {
            var d = new c.b();
            this.w(a, d);
            return d;
          };

          b.prototype.Nc = function (a, d) {
            this.ya[0].fc(2 * a, d);
          };

          b.prototype.rb = function (a, d, f) {
            if (0 > a || a >= this.qa) throw c.g.wd();
            this.wc();
            var b = this.ya[0];
            void 0 !== f ? (b.write(2 * a, d), b.write(2 * a + 1, f)) : b.fo(2 * a, d);
            this.Dc(1993);
          };

          b.prototype.mA = function (a) {
            if (0 > a || a >= this.D()) throw c.g.wd();
            this.wc();
            var d = this.ya[0],
                f = new c.qd();
            f.x = d.read(2 * a);
            f.y = d.read(2 * a + 1);
            f.z = this.hasAttribute(1) ? this.ya[1].Of(a) : c.ma.de(1);
            return f;
          };

          b.prototype.CC = function (a, d) {
            if (0 > a || a >= this.D()) throw c.g.wd();
            this.Ud(1);
            this.wc();
            this.Dc(1993);
            var f = this.ya[0];
            f.write(2 * a, d.x);
            f.write(2 * a + 1, d.y);
            this.ya[1].Dm(a, d.z);
          };

          b.prototype.Yc = function (a, d, f) {
            if (0 > d || d >= this.qa) throw c.g.wd();
            var b = c.ma.Xa(a);
            if (f >= b) throw c.g.wd();
            this.wc();
            var h = this.description.mg(a);
            return 0 <= h ? this.ya[h].Of(d * b + f) : c.ma.de(a);
          };

          b.prototype.KG = function (a, d, f) {
            return this.Yc(a, d, f);
          };

          b.prototype.setAttribute = function (a, d, f, b) {
            if (0 > d || d >= this.qa) throw c.g.wd();
            var h = c.ma.Xa(a);
            if (f >= h) throw c.g.wd();
            this.Ud(a);
            this.wc();
            a = this.description.mg(a);
            this.Dc(1993);
            this.ya[a].Dm(d * h + f, b);
          };

          b.prototype.Pa = function (a) {
            this.Cu();
            this.Ud(a);
            this.wc();
            return this.ya[this.description.mg(a)];
          };

          b.prototype.Yn = function (a, d) {
            if (null != d && c.ma.si(a) != d.si()) throw c.g.F();
            this.Ud(a);
            var f = this.description.mg(a);
            null == this.ya && (this.ya = c.Uc.JB(this.description.Ga));
            this.ya[f] = d;
            this.Dc(16777215);
          };

          b.prototype.mo = function (a) {
            var d = null;
            if (null != this.ya) for (var f = c.ye.vx(a, this.description), d = [], b = 0, h = a.Ga; b < h; b++) -1 != f[b] && (d[b] = this.ya[f[b]]);
            this.description = a;
            this.ya = d;
            this.lh = -1;
            this.Dc(16777215);
          };

          b.prototype.QE = function (a) {
            this.fv(!0);
            a instanceof c.h ? this.R.s(a) : this.R.Cp(a);
          };

          b.prototype.ZO = function (a) {
            this.fv(!1);
            a instanceof c.h ? this.R.s(a) : this.R.Cp(a);
          };

          b.prototype.Qn = function (a) {
            this.fv(!0);
            this.R.copyTo(a);
          };

          b.prototype.s = function (a) {
            this.QE(a);
          };

          b.prototype.Cp = function (a) {
            this.QE(a);
          };

          b.prototype.ac = function (a) {
            this.ZO(a);
          };

          b.prototype.xf = function (a, d) {
            var f = new c.Ac();
            if (this.Hc()) return f.Oa(), f;
            this.fv(!0);
            return this.R.xf(a, d);
          };

          b.prototype.jc = function () {
            var a = this.description.jc();
            if (!this.Hc()) for (var d = this.D(), f = 0, b = this.description.Ga; f < b; f++) a = this.ya[f].Ak(a, 0, d * c.ma.Xa(this.description.Td(f)));
            return a;
          };

          b.prototype.Eb = function (a) {
            if (a == this) return !0;
            if (!(a instanceof b && this.description.Eb(a.description)) || this.Hc() != a.Hc()) return !1;
            if (this.Hc()) return !0;
            var d = this.D();
            if (d != a.D()) return !1;

            for (var f = 0; f < this.description.Ga; f++) {
              var e = this.description.rd(f),
                  h = this.Pa(e),
                  l = a.Pa(e);
              if (!h.Eb(l, 0, d * c.ma.Xa(e))) return !1;
            }

            return !0;
          };

          b.prototype.copyTo = function (a) {
            if (a.G() != this.G()) throw c.g.F();
            this.yE(a);
          };

          b.prototype.yE = function (a) {
            this.wc();
            a.description = this.description;
            a.ya = null;
            var d = this.description.Ga,
                f = null;
            if (null != this.ya) for (var f = [], b = 0; b < d; b++) null != this.ya[b] && (f[b] = this.ya[b].Tr(this.D() * c.ma.Xa(this.description.Td(b))));
            null != this.R ? (a.R = this.R.Ka(), this.R.copyTo(a.R)) : a.R = null;
            a.qa = this.qa;
            a.tn = this.tn;
            a.ya = f;

            try {
              this.iq(a);
            } catch (h) {
              throw a.Oa(), c.g.UN();
            }
          };

          b.prototype.NE = function () {
            this.qa = 0;
            this.lh = -1;
            this.ya = null;
            this.Dc(16777215);
          };

          b.prototype.Dc = function (a) {
            16777215 == a && (this.lh = -1, this.Iy());
            this.tn |= a;
            this.EO();
            this.Bc();
          };

          b.prototype.fv = function (a) {
            this.wc();
            if (this.yk(192)) if (null == this.R ? this.R = new c.ci(this.description) : this.R.Fg(this.description), this.u()) this.R.Oa();else {
              this.Oy(a);

              for (var d = 1; d < this.description.Ga; d++) for (var f = this.description.Td(d), b = c.ma.Xa(f), h = this.ya[d], l = 0; l < b; l++) {
                var k = new c.Ac();
                k.Oa();

                for (var m = 0; m < this.qa; m++) {
                  var g = h.Of(m * b + l);
                  k.Nb(g);
                }

                this.R.setInterval(f, l, k);
              }

              a && this.lg(192, !1);
            }
          };

          b.prototype.Oy = function () {
            this.R.Oa();

            for (var a = this.ya[0], d = new c.b(), f = 0; f < this.qa; f++) a.fc(2 * f, d), this.R.Nb(d);
          };

          b.prototype.uo = function (a) {
            a.Oa();

            for (var d = this.ya[0], f = new c.b(), b = 0; b < this.qa; b++) d.fc(2 * b, f), a.Nb(f);
          };

          b.prototype.$O = function () {
            if (this.lh < this.qa) {
              null == this.ya && (this.ya = c.Uc.JB(this.description.Ga));
              this.lh = 2147483647;

              for (var a = 0; a < this.description.Ga; a++) {
                var d = this.description.Td(a);

                if (null != this.ya[a]) {
                  var f = c.ma.Xa(d),
                      b = c.J.truncate(this.ya[a].size / f);
                  b < this.qa && (b = c.J.truncate(this.lh > this.qa + 5 ? (5 * this.qa + 3) / 4 : this.qa), this.ya[a].resize(b * f, c.ma.de(d)));
                  b < this.lh && (this.lh = b);
                } else this.ya[a] = c.Uc.qz(d, this.qa), this.lh = this.qa;
              }
            }

            this.Py();
            this.lg(32, !1);
          };

          b.prototype.zl = function (a) {
            if (0 > a) throw c.g.F();
            a != this.qa && (this.qa = a, this.Dc(65535));
          };

          b.prototype.Lk = function (a) {
            if (!this.yk(1)) {
              if (!this.yk(2)) return 0;
              if (this.PV >= a) return this.yk(8) ? 1 : 2;
            }

            return -1;
          };

          b.prototype.Zg = function (a, d) {
            this.PV = d;
            if (-1 == a) this.lg(1, !0), this.lg(8, !0);else if (this.lg(1, !1), this.lg(8, !0), 0 == a) this.lg(2, !1), this.lg(4, !1);else if (1 == a) this.lg(2, !0), this.lg(4, !1);else if (2 == a) this.lg(2, !0), this.lg(4, !0);else throw c.g.X("internal error.");
          };

          b.prototype.EO = function () {
            null != this.ob && (this.ob = null);
          };

          b.prototype.EE = function (a, d, f, b) {
            if (0 > a || a >= this.qa) throw c.g.X("index out of bounds");
            if (0 > d || d >= this.qa) throw c.g.X("index out of bounds");
            this.wc();
            b.Fg(this.description);
            b.u() && b.nq();

            for (var h = 0; h < this.description.Ga; h++) for (var l = this.description.Td(h), k = 0, m = c.ma.Xa(l); k < m; k++) {
              var g = this.ya[h].Of(m * a + k),
                  p = this.ya[h].Of(m * d + k);
              b.setAttribute(l, k, c.Ub.Xq(g, p, f));
            }
          };

          b.prototype.xs = function (a, d) {
            var f = this.ya[0].f,
                b = f[2 * a] - f[2 * d],
                f = f[2 * a + 1] - f[2 * d + 1];
            return Math.sqrt(b * b + f * f);
          };

          b.prototype.Yh = function (a, d) {
            if (0 > a || a >= this.qa) throw c.g.wd();
            if (d.u()) throw c.g.F();
            this.wc();

            for (var f = d.description, b = 0; b < f.Ga; b++) for (var h = f.rd(b), l = c.ma.Xa(h), k = 0; k < l; k++) {
              var m = d.Yc(h, k);
              this.setAttribute(h, a, k, m);
            }
          };

          b.prototype.Xu = function () {
            return null;
          };

          b.prototype.Hj = function () {
            return null;
          };

          return b;
        }(c.T);

        c.Mu = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {
            this.pb = this.Oo = null;
            this.Gn = 124234251;
            this.Dw = !0;
            this.qf = -1;
            this.pb = new c.ad(7);
            this.Oo = null;
          }

          g.prototype.Ep = function (b) {
            this.Oo = b;
          };

          g.prototype.PR = function () {
            this.Dw = !1;
          };

          g.prototype.Qe = function (b) {
            this.pb.Qe(b);
          };

          g.prototype.Ks = function (b) {
            var a = this.pb.Pe();
            this.nY(a);
            this.qY(b, a);
            return a;
          };

          g.prototype.JR = function (b) {
            this.pb.kd(b);
          };

          g.prototype.addElement = function (b, a) {
            var d;
            -1 == a ? (-1 == this.qf && (this.qf = this.Ks(-1)), d = this.qf) : d = a;
            return this.XE(b, 0, d);
          };

          g.prototype.aF = function (b) {
            -1 == this.qf && (this.qf = this.Ks(-1));
            return this.XE(b, 1, this.qf);
          };

          g.prototype.ro = function (b) {
            var a;
            -1 == this.qf && (this.qf = this.Ks(-1));
            a = this.qf;
            var d = this.pb.f;
            if (-1 == a || -1 == d[7 * a]) return b = this.pb.nl([-1, -1, -1, b, this.Ll(), -1, -1]), d = this.pb.f, d[7 * a] = b, this.pq(-1, b, a, d), b;
            var f = -1 == a ? -1 : d[7 * a + 2];
            b = this.pb.nl([-1, -1, f, b, this.Ll(), -1, -1]);
            d = this.pb.f;
            d[7 * f + 1] = b;
            this.Vy(b, d);
            -1 === d[7 * b + 2] && (d[7 * a] = b);
            this.pq(-1, b, a, d);
            return b;
          };

          g.prototype.jv = function (b, a, d, f) {
            var e = -1;
            -1 == e && (-1 == this.qf && (this.qf = this.Ks(-1)), e = this.qf);
            var h = this.pb.f;
            if (-1 == e || -1 == h[7 * e]) return d = this.pb.nl([-1, -1, -1, d, this.Ll(), -1, -1]), h = this.pb.f, h[7 * e] = d, this.pq(-1, d, e, h), d;
            var l;
            f ? (f = -1 != a ? this.Oo.compare(this, d, a) : -1, l = -1 != b ? this.Oo.compare(this, d, b) : 1) : (f = -1, l = 1);
            if (0 == f || 0 == l) return h[7 * e + 3] = 0 == f ? a : b, -1;
            (-1 != a && -1 != b ? this.Gn > c.J.IB(this.Gn) >> 1 : -1 != a) ? b = a : f = l;

            for (a = !0;;) {
              if (0 > f) {
                if (l = h[7 * b], -1 != l) b = l;else {
                  f = b;
                  d = this.pb.nl([-1, -1, b, d, this.Ll(), -1, -1]);
                  h = this.pb.f;
                  h[7 * b] = d;
                  break;
                }
              } else if (l = h[7 * b + 1], -1 != l) b = l;else {
                f = h[7 * b + 6];
                d = this.pb.nl([-1, -1, b, d, this.Ll(), -1, -1]);
                h = this.pb.f;
                h[7 * b + 1] = d;
                break;
              }
              a && (f *= -1, a = !1);
            }

            this.Vy(d, h);
            -1 === h[7 * d + 2] && (h[7 * e] = d);
            this.pq(f, d, e, h);
            return d;
          };

          g.prototype.QG = function () {
            return this.aT(this.qf);
          };

          g.prototype.Kd = function (b, a) {
            var d;
            d = -1 == a ? this.qf : a;
            this.Dw ? this.IR(b, d) : this.gZ(b, d);
          };

          g.prototype.search = function (b, a) {
            for (var d = this.fw(a); -1 != d;) {
              var f = this.Oo.compare(this, b, d);
              if (0 == f) return d;
              d = 0 > f ? this.Pl(d) : this.Nq(d);
            }

            return -1;
          };

          g.prototype.IX = function (b) {
            for (var a = this.fw(-1), d = -1; -1 != a;) {
              var f = b.compare(this, a);
              if (0 == f) return a;
              0 > f ? a = this.Pl(a) : (d = a, a = this.Nq(a));
            }

            return d;
          };

          g.prototype.lK = function (b) {
            for (var a = this.fw(-1), d = -1; -1 != a;) {
              var f = b.compare(this, a);
              if (0 == f) return a;
              0 > f ? (d = a, a = this.Pl(a)) : a = this.Nq(a);
            }

            return d;
          };

          g.prototype.ja = function (b) {
            return this.pb.S(b, 3);
          };

          g.prototype.Pl = function (b) {
            return this.pb.S(b, 0);
          };

          g.prototype.Nq = function (b) {
            return this.pb.S(b, 1);
          };

          g.prototype.getParent = function (b) {
            return this.pb.S(b, 2);
          };

          g.prototype.nb = function (b) {
            return this.pb.S(b, 6);
          };

          g.prototype.Ve = function (b) {
            return this.pb.S(b, 5);
          };

          g.prototype.xc = function (b) {
            return -1 == b ? this.Ol(this.qf) : this.Ol(b);
          };

          g.prototype.Fc = function (b) {
            return -1 == b ? this.Zs(this.qf) : this.Zs(b);
          };

          g.prototype.TT = function (b) {
            return -1 == b ? this.nH(this.qf) : this.nH(b);
          };

          g.prototype.kk = function (b, a) {
            this.oC(b, a);
          };

          g.prototype.fw = function (b) {
            return -1 == b ? this.iH(this.qf) : this.iH(b);
          };

          g.prototype.clear = function () {
            this.pb.Vi(!1);
            this.qf = -1;
          };

          g.prototype.size = function (b) {
            return -1 == b ? this.kH(this.qf) : this.kH(b);
          };

          g.prototype.PP = function (b, a) {
            for (var d = a[7 * b], f = a[7 * b + 1], e = a[7 * b + 4]; -1 != d || -1 != f;) {
              var h = -1 != d ? a[7 * d + 4] : 2147483647,
                  f = -1 != f ? a[7 * f + 4] : 2147483647;
              if (e <= Math.min(h, f)) break;
              h <= f ? this.iK(d, a) : this.hK(b, a);
              d = a[7 * b];
              f = a[7 * b + 1];
            }
          };

          g.prototype.Vy = function (b, a) {
            if (this.Dw) for (var d = a[7 * b + 4], f = a[7 * b + 2]; -1 != f && a[7 * f + 4] > d;) a[7 * f] == b ? this.iK(b, a) : this.hK(f, a), f = a[7 * b + 2];
          };

          g.prototype.hK = function (b, a) {
            var d = a[7 * b + 1],
                f;
            a[7 * d + 2] = a[7 * b + 2];
            a[7 * b + 2] = d;
            f = a[7 * d];
            a[7 * b + 1] = f;
            -1 != f && (a[7 * f + 2] = b);
            a[7 * d] = b;
            f = a[7 * d + 2];
            -1 != f && (a[7 * f] == b ? a[7 * f] = d : a[7 * f + 1] = d);
          };

          g.prototype.iK = function (b, a) {
            var d = a[7 * b + 2],
                f;
            a[7 * b + 2] = a[7 * d + 2];
            a[7 * d + 2] = b;
            f = a[7 * b + 1];
            a[7 * d] = f;
            -1 != f && (a[7 * f + 2] = d);
            a[7 * b + 1] = d;
            f = a[7 * b + 2];
            -1 != f && (a[7 * f] === d ? a[7 * f] = b : a[7 * f + 1] = b);
          };

          g.prototype.sl = function (b, a) {
            this.pb.P(b, 2, a);
          };

          g.prototype.sC = function (b, a) {
            this.pb.P(b, 0, a);
          };

          g.prototype.wC = function (b, a) {
            this.pb.P(b, 1, a);
          };

          g.prototype.vC = function (b, a) {
            this.pb.P(b, 5, a);
          };

          g.prototype.Qx = function (b, a) {
            this.pb.P(b, 6, a);
          };

          g.prototype.OK = function (b, a) {
            this.pb.P(a, 0, b);
          };

          g.prototype.nY = function (b) {
            this.pb.P(b, 4, 0);
          };

          g.prototype.qY = function (b, a) {
            this.pb.P(a, 5, b);
          };

          g.prototype.iH = function (b) {
            return -1 == b ? -1 : this.pb.S(b, 0);
          };

          g.prototype.Ol = function (b) {
            return -1 == b ? -1 : this.pb.S(b, 1);
          };

          g.prototype.Zs = function (b) {
            return -1 == b ? -1 : this.pb.S(b, 2);
          };

          g.prototype.aT = function (b) {
            return -1 == b ? -1 : this.pb.S(b, 3);
          };

          g.prototype.kH = function (b) {
            return -1 == b ? 0 : this.pb.S(b, 4);
          };

          g.prototype.nH = function (b) {
            return this.pb.S(b, 5);
          };

          g.prototype.Bx = function (b) {
            return this.pb.nl([-1, -1, -1, b, this.Ll(), -1, -1]);
          };

          g.prototype.Kl = function (b) {
            -1 != b && this.pb.kd(b);
          };

          g.prototype.Ll = function () {
            this.Gn = c.J.IB(this.Gn);
            return this.Gn & 1073741823;
          };

          g.prototype.XE = function (b, a, d) {
            var f = this.pb.f;
            if (-1 == d || -1 == f[7 * d]) return b = this.pb.nl([-1, -1, -1, b, this.Ll(), -1, -1]), f = this.pb.f, f[7 * d] = b, this.pq(-1, b, d, f), b;

            for (var e = -1 == d ? -1 : f[7 * d];;) {
              var h = -1 == a ? 1 : this.Oo.compare(this, b, e);
              if (0 > h) {
                if (h = this.Pl(e), -1 != h) e = h;else {
                  a = e;
                  b = this.pb.nl([-1, -1, e, b, this.Ll(), -1, -1]);
                  f = this.pb.f;
                  f[7 * e] = b;
                  break;
                }
              } else {
                if (1 == a && 0 == h) return f[7 * d + 3] = e, -1;
                h = f[7 * e + 1];
                if (-1 != h) e = h;else {
                  a = f[7 * e + 6];
                  b = this.pb.nl([-1, -1, e, b, this.Ll(), -1, -1]);
                  f = this.pb.f;
                  f[7 * e + 1] = b;
                  break;
                }
              }
            }

            this.Vy(b, f);
            -1 === f[7 * b + 2] && (f[7 * d] = b);
            this.pq(a, b, d, f);
            return b;
          };

          g.prototype.pq = function (b, a, d, f) {
            var e;
            -1 != b ? (e = f[7 * b + 5], f[7 * b + 5] = a) : e = -1 == d ? -1 : f[7 * d + 2];
            f[7 * a + 5] = e;
            -1 != e && (f[7 * e + 6] = a);
            f[7 * a + 6] = b;
            b == (-1 == d ? -1 : f[7 * d + 1]) && (f[7 * d + 1] = a);
            -1 == b && (f[7 * d + 2] = a);
            f[7 * d + 4] = (-1 == d ? 0 : f[7 * d + 4]) + 1;
          };

          g.prototype.aC = function (b, a) {
            var d = this.pb.f,
                f = d[7 * b + 5],
                e = d[7 * b + 6];
            -1 != f ? d[7 * f + 6] = e : d[7 * a + 1] = e;
            -1 != e ? d[7 * e + 5] = f : d[7 * a + 2] = f;
            d[7 * a + 4] = -1 === a ? -1 : d[7 * a + 4] - 1;
          };

          g.prototype.gZ = function (b, a) {
            this.aC(b, a);
            var d = this.Pl(b),
                f = this.Nq(b),
                e = this.getParent(b),
                h = b;

            if (-1 != d && -1 != f) {
              this.Gn = c.J.IB(this.Gn);
              var l;
              l = 1073741823 < this.Gn ? this.nb(b) : this.Ve(b);
              var k = this.getParent(l) == b;
              this.pb.ay(b, l, 0);
              this.pb.ay(b, l, 1);
              this.pb.ay(b, l, 2);
              -1 != e ? this.Pl(e) == b ? this.sC(e, l) : this.wC(e, l) : this.OK(l, a);
              k ? (d == l ? (this.sC(l, b), this.sl(f, l)) : f == l && (this.wC(l, b), this.sl(d, l)), this.sl(b, l), e = l) : (this.sl(d, l), this.sl(f, l), e = this.getParent(b), h = l);
              d = this.Pl(b);
              f = this.Nq(b);
              -1 != d && this.sl(d, b);
              -1 != f && this.sl(f, b);
            }

            d = -1 != d ? d : f;
            -1 == e ? this.OK(d, a) : this.Pl(e) == h ? this.sC(e, d) : this.wC(e, d);
            -1 != d && this.sl(d, e);
            this.Kl(b, a);
          };

          g.prototype.IR = function (b, a) {
            var d = this.pb.f;
            d[7 * b + 4] = 2147483647;
            var f = -1,
                e = -1,
                h = -1 === a ? -1 : d[7 * a],
                c = h == b;

            if (c && (f = d[7 * h], e = d[7 * h + 1], -1 == f && -1 == e)) {
              this.aC(h, a);
              this.Kl(h, a);
              d[7 * a] = -1;
              return;
            }

            this.PP(b, d);
            h = d[7 * b + 2];
            -1 != h && (d[7 * h] == b ? d[7 * h] = -1 : d[7 * h + 1] = -1);
            this.aC(b, a);
            this.Kl(b, a);
            c && (d[7 * a] = -1 == f || -1 != d[7 * f + 2] ? e : f);
          };

          g.prototype.oC = function (b, a) {
            this.pb.P(b, 3, a);
          };

          return g;
        }();

        c.uk = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a) {
            void 0 !== b && this.I(b, a);
          }

          g.prototype.I = function (b, a) {
            this.ca = b;
            this.ha = a;
            this.normalize();
          };

          g.prototype.Yb = function (b) {
            return this.ca <= b.ca ? this.ha >= b.ca : b.ha >= this.ca;
          };

          g.prototype.move = function (b) {
            this.u() || (this.ca += b, this.ha += b);
          };

          g.prototype.normalize = function () {
            if (!isNaN(this.ca)) {
              if (this.ca > this.ha) {
                var b = this.ca;
                this.ca = this.ha;
                this.ha = b;
              }

              isNaN(this.ha) && this.Oa();
            }
          };

          g.prototype.Oa = function () {
            this.ha = this.ca = NaN;
          };

          g.prototype.u = function () {
            return isNaN(this.ca);
          };

          g.prototype.Nb = function (b) {
            "number" === typeof b ? this.u() ? this.ha = this.ca = b : this.ml(b) : b.u() || (this.u() ? (this.ca = b.ca, this.ha = b.ha) : (this.ca > b.ca && (this.ca = b.ca), this.ha < b.ha && (this.ha = b.ha), this.ca > this.ha && this.Oa()));
          };

          g.prototype.ml = function (b) {
            b < this.ca ? this.ca = b : b > this.ha && (this.ha = b);
          };

          g.prototype.contains = function (b) {
            return "number" === typeof b ? b >= this.ca && b <= this.ha : b.ca >= this.ca && b.ha <= this.ha;
          };

          g.prototype.Ma = function (b) {
            this.u() || b.u() ? this.Oa() : (this.ca < b.ca && (this.ca = b.ca), this.ha > b.ha && (this.ha = b.ha), this.ca > this.ha && this.Oa());
          };

          g.prototype.O = function (b) {
            this.u() || (this.ca -= b, this.ha += b, this.ha < this.ca && this.Oa());
          };

          g.prototype.no = function () {
            return this.u() ? 2.220446049250313E-14 : 2.220446049250313E-14 * (Math.abs(this.ca) + Math.abs(this.ha) + 1);
          };

          g.prototype.lC = function (b, a) {
            b > a ? (this.ca = a, this.ha = b) : (this.ca = b, this.ha = a);
          };

          g.prototype.wu = function (b) {
            return c.J.pk(b, this.ca, this.ha);
          };

          g.prototype.N = function () {
            return this.ha - this.ca;
          };

          g.prototype.Wf = function () {
            return .5 * (this.ca + this.ha);
          };

          g.prototype.Eb = function (b) {
            return b == this ? !0 : b instanceof g ? this.u() && b.u() ? !0 : this.ca != b.ca || this.ha != b.ha ? !1 : !0 : !1;
          };

          g.prototype.jc = function () {
            return c.J.Zi(c.J.Zi());
          };

          return g;
        }();

        c.Ac = n;
      })(r || (r = {}));

      (function (c) {
        var n = new c.Ac(),
            g = new c.Ac(),
            b = function () {
          return function () {
            this.Le = null;
            this.qb = -1;
            this.wb = new c.Hb();
            this.ZA = 55555555;
            this.Fw = this.Iw = !1;
            this.rg = new c.Ac();
            this.rg.lC(0, 0);
          };
        }();

        c.k_ = b;

        var a = function () {
          function a(d, e, h) {
            this.a = d;
            this.il = NaN;
            this.aJ = this.Ar = 0;
            this.bJ = NaN;
            this.ta = e;
            this.Dr = 10 * e;
            this.cJ = this.dJ = NaN;
            this.Ng = !1;
            this.rn = this.Yt = this.vp = this.St = this.Rt = -1;
            this.QA = h;
            this.AB = new b();
            this.kJ = new b();
            c.J.truncate(3 * d.vd / 2);
          }

          a.prototype.AH = function (a, d, b, c) {
            a.Le = null === c ? null : c[b[5 * d]];
            a.Fw = null != a.Le;
            a.Fw || (c = b[5 * d + 2], -1 !== c && this.a.hX(b[5 * d], b[5 * c], a.wb), a.Le = a.wb, a.rg.lC(a.wb.ua, a.wb.sa), a.rg.ha += this.ta, a.wb.BJ(), a.Iw = a.wb.oa == a.wb.ra, a.Iw || (a.ZA = (a.wb.sa - a.wb.ua) / (a.wb.oa - a.wb.ra)));
          };

          a.prototype.SQ = function (a, d) {
            var b = a.ys(d, this.ta, !0);
            if (0 != b) return 2 == b ? this.Az() : this.Wi();
            a.Oq(da);
            a.Ps(fa);
            d.Oq(ga);
            d.Ps(ia);
            P.ka(this.Ar, this.il);
            da.ub(ga) && this.il == da.y ? 0 > fa.compare(ia) ? P.L(fa) : P.L(ia) : da.ub(ia) && this.il == da.y ? 0 > fa.compare(ga) ? P.L(fa) : P.L(ga) : ga.ub(fa) && this.il == ga.y ? 0 > da.compare(ia) ? P.L(da) : P.L(ia) : fa.ub(ia) && this.il == fa.y && (0 > da.compare(ga) ? P.L(da) : P.L(ga));
            return a.pf(P.y, P.x) < d.pf(P.y, P.x) ? -1 : 1;
          };

          a.prototype.QQ = function (a, d) {
            if (a.wb.ra == d.wb.ra && a.wb.ua == d.wb.ua) return a.wb.oa == d.wb.oa && a.wb.sa == d.wb.sa ? this.QA ? this.Az() : 0 : this.WF(a, d);
            if (a.wb.oa == d.wb.oa && a.wb.sa == d.wb.sa) return this.VF(a, d);
            var b = this.VF(a, d),
                c = this.WF(a, d);
            return 0 > b && 0 > c ? -1 : 0 < b && 0 < c ? 1 : this.Wi();
          };

          a.prototype.MQ = function (a, d) {
            if (a.sa > d.sa) {
              if (d.sa > d.ua && d.oa - d.ra < 2 * this.ta && a.Si(d.sa, d.oa, this.ta)) return this.Wi();
            } else if ((d.oa - d.ra) / (d.sa - d.ua) * (a.sa - a.ua) < this.Dr && d.Si(a.sa, a.oa, this.ta)) return this.Wi();

            return 1;
          };

          a.prototype.NQ = function (a, d) {
            if (a.ua < d.ua) {
              if (d.sa > d.ua && d.oa - d.ra < 2 * this.ta && a.Si(d.sa, d.oa, this.ta)) return this.Wi();
            } else if ((d.oa - d.ra) / (d.sa - d.ua) * (a.ua - a.sa) < this.Dr && d.Si(a.ua, a.ra, this.ta)) return this.Wi();

            return -1;
          };

          a.prototype.OQ = function (a, d) {
            var b = new c.b();
            b.zc(d.Cc(), d.ec());
            b.Ur();
            b.normalize();
            var l = new c.b();
            l.zc(a.ec(), d.ec());
            var k = new c.b();
            k.zc(a.Cc(), d.ec());
            var l = l.oi(b),
                b = k.oi(b),
                k = Math.abs(l),
                m = Math.abs(b);

            if (k < m) {
              if (k < this.Dr && d.Si(a.ua, a.ra, this.ta)) return this.Wi();
            } else if (m < this.Dr && d.Si(a.sa, a.oa, this.ta)) return this.Wi();

            return 0 > l && 0 > b ? -1 : 0 < l && 0 < b ? 1 : this.Wi();
          };

          a.prototype.UF = function (a, d) {
            return a.ra == d.ra && a.ua == d.ua ? this.MQ(a, d) : a.oa == d.oa && a.sa == d.sa ? this.NQ(a, d) : this.OQ(a, d);
          };

          a.prototype.PQ = function (a, d) {
            return a.oa == d.oa && a.sa == d.sa && a.ra == d.ra && a.ua == d.ua ? this.QA ? this.Az() : 0 : this.Wi();
          };

          a.prototype.VF = function (a, d) {
            var b = 1;

            if (a.wb.ra < d.wb.ra) {
              var b = -1,
                  c = a;
              a = d;
              d = c;
            }

            var c = a.wb,
                k = d.wb,
                m = c.ua - k.ua,
                g = d.ZA * (c.ra - k.ra),
                p = this.Dr;
            return m < g - p ? -b : m > g + p ? b : k.Si(c.ua, c.ra, this.ta) ? this.Wi() : m < g ? -b : b;
          };

          a.prototype.WF = function (a, d) {
            var b = 1;

            if (d.wb.oa < a.wb.oa) {
              var b = -1,
                  c = a;
              a = d;
              d = c;
            }

            var c = a.wb,
                k = d.wb,
                m = c.sa - k.ua,
                g = d.ZA * (c.oa - k.ra),
                p = this.Dr;
            return m < g - p ? -b : m > g + p ? b : k.Si(c.sa, c.oa, this.ta) ? this.Wi() : m < g ? -b : b;
          };

          a.prototype.Az = function () {
            this.Ng = !0;
            this.mj = new c.$d(5, this.vp, this.Yt);
            return -1;
          };

          a.prototype.Wi = function () {
            this.Ng = !0;
            this.QA ? this.mj = new c.$d(4, this.vp, this.Yt) : this.Yt = this.vp = this.St = this.Rt = -1;
            return -1;
          };

          a.prototype.RQ = function (a, d, b, c) {
            if (this.Ng) return -1;
            var k = this.bJ == this.il && this.aJ == this.Ar,
                m;
            k && a == this.Rt ? m = this.cJ : (m = NaN, this.Rt = -1);
            k && d == this.St ? k = this.dJ : (k = NaN, this.St = -1);
            b.Le.SJ(n);
            c.Le.SJ(g);
            if (n.ha < g.ca) return -1;
            if (g.ha < n.ca) return 1;
            this.bJ = this.il;
            this.aJ = this.Ar;
            isNaN(m) && (this.Rt = a, this.cJ = m = a = b.Le.pf(this.il, this.Ar));
            isNaN(k) && (this.St = d, this.dJ = k = a = c.Le.pf(this.il, this.Ar));
            return Math.abs(m - k) <= this.ta ? this.SQ(b.Le, c.Le) : m < k ? -1 : m > k ? 1 : 0;
          };

          a.prototype.Gs = function () {
            this.Ng = !1;
          };

          a.prototype.en = function () {
            return this.mj;
          };

          a.prototype.QK = function (a, d) {
            this.il = a;
            this.Ar = d;
            this.Yt = this.vp = this.St = this.Rt = -1;
          };

          a.prototype.compare = function (a, d, b) {
            if (this.Ng) return -1;
            a = a.ja(b);
            this.rn = b;
            return this.YF(d, d, a, a);
          };

          a.prototype.YF = function (a, d, b, c) {
            var k;
            this.vp == d ? k = this.AB : (this.vp = d, k = this.AB, this.AB.qb = a, this.AH(k, d, this.a.Dd.f, this.a.wf));
            var m;
            null == m && (this.Yt = c, m = this.kJ, this.kJ.qb = b, this.AH(m, c, this.a.Dd.f, this.a.wf));
            if (k.Fw || m.Fw) return this.RQ(d, c, k, m);
            if (k.rg.ha < m.rg.ca) return -1;
            if (m.rg.ha < k.rg.ca) return 1;
            a = k.Iw ? 1 : 0;
            a |= m.Iw ? 2 : 0;
            return 0 == a ? this.QQ(k, m) : 1 == a ? this.UF(k.wb, m.wb) : 2 == a ? -1 * this.UF(m.wb, k.wb) : this.PQ(k.wb, m.wb);
          };

          return a;
        }();

        c.gE = a;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a) {
            this.a = b;
            this.ta = a;
            this.Ng = !1;
            this.vp = -1;
            this.rg = new c.Ac();
            this.wr = new c.b();
            this.wr.$c();
            this.Fe = new c.Hb();
            this.rn = -1;
            this.iB = 1.7976931348623157E308;
          }

          g.prototype.Gs = function () {
            this.Ng = !1;
            this.iB = 1.7976931348623157E308;
          };

          g.prototype.Yh = function (b) {
            this.wr.L(b);
          };

          g.prototype.compare = function (b, a) {
            return this.ZF(a, b.ja(a));
          };

          g.prototype.ZF = function (b, a) {
            var d = null != this.a.ic(a);
            d || (this.a.pd(a, this.Fe), this.rg.lC(this.Fe.ua, this.Fe.sa));
            if (d) throw c.g.X("not implemented");
            if (this.wr.x + this.ta < this.rg.ca) return -1;
            if (this.wr.x - this.ta > this.rg.ha) return 1;
            if (this.Fe.ra == this.Fe.oa) return this.rn = b, this.Ng = !0, 0;
            this.Fe.BJ();
            var f = this.Fe.ec(),
                d = new c.b();
            d.zc(this.Fe.Cc(), f);
            d.Ur();
            var e = new c.b();
            e.zc(this.wr, f);
            f = d.oi(e);
            f /= d.length();
            return f < 10 * -this.ta ? -1 : f > 10 * this.ta ? 1 : this.Fe.mt(this.wr, this.ta) && (d = Math.abs(f), d < this.iB && (this.rn = b, this.iB = d), this.Ng = !0, d < .25 * this.ta) ? 0 : 0 > f ? -1 : 1;
          };

          return g;
        }();

        c.bO = n;
      })(r || (r = {}));

      (function (c) {
        function n(b, a, d, f) {
          d = new Float64Array(b.subarray(d, f));
          b.set(d, a);
        }

        var g = function () {
          function b(a) {
            this.xa = this.Ce = !1;
            this.f = [];
            var d = a;
            2 > d && (d = 2);
            this.f = c.J.gf(d, b.Bb);
            this.size = a;
          }

          b.prototype.rotate = function (a, d, f) {
            if (this.xa) throw c.g.X("invalid_call");
            if (d < a || d > f || a > f) throw c.g.F();
            a != d && f != d && (this.Zd(a, d - a, 1), this.Zd(d, f - d, 1), this.Zd(a, f - a, 1));
          };

          b.zd = function (a, d) {
            b.Bb = d;
            var f = new b(a);
            b.Bb = 0;
            return f;
          };

          b.Bk = function (a) {
            var d = new b(0);
            d.f = a.f.slice(0);
            d.size = a.size;
            return d;
          };

          b.$ = function (a, d) {
            var f = new b(0);
            f.size = a.size;
            f.size > d && (f.size = d);
            f.f = a.f.slice(0, f.size);
            return f;
          };

          b.prototype.yb = function () {};

          b.prototype.read = function (a) {
            return this.f[a];
          };

          b.prototype.fc = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.pX = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.get = function (a) {
            return this.f[a];
          };

          b.prototype.write = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.set = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.fo = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.add = function (a) {
            this.resize(this.size + 1);
            this.f[this.size - 1] = a;
          };

          b.prototype.Tr = function (a) {
            return b.$(this, a);
          };

          b.prototype.Of = function (a) {
            return this.read(a);
          };

          b.prototype.resize = function (a, d) {
            void 0 === d && (d = 0);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");

            if (a <= this.size) {
              if (c.J.truncate(5 * a / 4) < this.f.length) {
                var f = this.f.slice(0, a);
                this.f = f;
              }
            } else if (a > this.f.length) {
              c.J.truncate(64 > a ? Math.max(2 * a, 4) : 5 * a / 4);

              for (var f = this.f.slice(0), b = this.f.length; b < a; b++) f[b] = d;

              this.f = f;
            }

            this.size = a;
          };

          b.prototype.yf = function (a) {
            (null == this.f || a > this.f.length) && this.resize(a);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");
            this.size = a;
          };

          b.prototype.Dm = function (a, d) {
            this.write(a, d);
          };

          b.prototype.Ak = function (a, d, f) {
            for (var b = this.size; d < b && d < f; d++) a = c.J.Zi(this.read(d));

            return a;
          };

          b.prototype.Eb = function (a, d, f) {
            if (null == a || !(a instanceof b)) return !1;
            var e = this.size,
                h = a.size;
            if (f > e || f > h && e != h) return !1;

            for (f > e && (f = e); d < f; d++) if (this.read(d) != a.read(d)) return !1;

            return !0;
          };

          b.prototype.Sq = function (a, d, f, b, h, l) {
            if (this.xa) throw c.g.Da();
            0 > l && (l = this.size);
            this.size + 2 * b > this.f.length ? this.resize(this.size + 2 * b) : this.size += 2 * b;
            l -= a;

            for (var k = this.f.slice(a, a + l), m = 0; m < l; m++) this.f[a + 2 * b + m] = k[m];

            if (h) for (h = 0; h < b; h++) l = d[f++], this.f[a++] = l.x, this.f[a++] = l.y;else for (h = 0, k = b - 1; h < b; ++h) l = d[f + k], this.f[a++] = l.x, this.f[a++] = l.y, k--;
          };

          b.prototype.Rk = function (a, d, f, b, h, l, k) {
            if (this.xa) throw c.g.Da();
            if (!h && (1 > l || 0 != b % l)) throw c.g.F();
            var m = this.size - k;
            m < b && this.resize(this.size + b - m);

            for (m = 0; m < k - a; m++) this.f[a + b + m] = this.f[a + m];

            this.f == d.f && a < f && (f += b);
            if (h) for (m = 0; m < b; m++) this.f[m + a] = d.f[f + m];else for (h = b, k = 0; k < b; k += l) for (h -= l, m = 0; m < l; m++) this.f[a + k + m] = d.f[f + h + m];
          };

          b.prototype.Vj = function (a, d, f, b) {
            if (this.xa) throw c.g.Da();
            b -= a;

            for (var h = this.f.slice(a, a + b), l = 0; l < b; l++) this.f[a + f + l] = h[l];

            for (b = 0; b < f; b++) this.f[a + b] = d;
          };

          b.prototype.eh = function (a, d, f) {
            if (this.xa) throw c.g.Da();

            for (var b = this.f.slice(a, a + (f - a)), h = 0; h < f - a; h++) this.f[h + a + 2] = b[h];

            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.js = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (f.length < b + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), h) for (h = 0; h < d; h++) this.f[a + h] = f[b + h];else for (h || (a += d - 1), d = b + d; b < d; b++) this.f[a] = f[b], a--;
          };

          b.prototype.ho = function (a, d, f, b, h, l) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (!h && (0 >= l || 0 != d % l)) throw c.g.F();
            if (f.size < b + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), f == this) this.Ij(a, d, b, h, l);else if (h) for (h = 0; h < d; h++) this.f[a] = f.f[b], a++, b++;else if (b = b + d - l, 1 == l) for (h = 0; h < d; h++) this.f[a] = f.f[b], a++, b--;else for (h = 0, d = c.J.truncate(d / l); h < d; h++) {
              for (var k = 0; k < l; k++) this.f[a + k] = f.f[b + k];

              a += l;
              b -= l;
            }
          };

          b.prototype.Fk = function (a, d, f) {
            if (this.xa) throw c.g.Da();
            if (a + d > this.size) throw c.g.Da();

            if (0 < f - (a + d)) {
              f -= a + d;

              for (var b = this.f.slice(a + d, a + f + d), h = 0; h < f; h++) this.f[a + h] = b[h];
            }

            this.size -= d;
          };

          b.prototype.Zd = function (a, d, f) {
            if (this.xa) throw c.g.Da();
            if (1 > f || 0 != d % f) throw c.g.Da();

            for (var b = d >> 1, h = 0; h < b; h += f) {
              d -= f;

              for (var l = 0; l < f; l++) {
                var k = this.f[a + h + l];
                this.f[a + h + l] = this.f[a + d + l];
                this.f[a + d + l] = k;
              }
            }
          };

          b.prototype.Zh = function (a, d, f) {
            if (0 > d || 0 > f || 0 > d || f + d > this.size) throw c.g.F();

            for (var b = d; b < d + f; b++) this.f[b] = a;
          };

          b.prototype.Ij = function (a, d, f, b, h) {
            if (!b || a != f) {
              for (var l = 0; l < d; l++) this.f[a + l] = this.f[f + l];

              if (!b) for (f = a, a = a + d - h, b = 0, d = c.J.truncate(d / 2); b < d; b++) {
                for (l = 0; l < h; l++) {
                  var k = this.f[f + l];
                  this.f[f + l] = this.f[a + l];
                  this.f[a + l] = k;
                }

                f += h;
                a -= h;
              }
            }
          };

          b.prototype.ks = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += b; b < d; b++) this.f[a] = f[b].x, this.f[a + 1] = f[b].y, a += h;
          };

          b.prototype.hy = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += b; b < d; b++) this.f[a] = f[b][0], this.f[a + 1] = f[b][1], a += h;
          };

          b.prototype.pl = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b || this.size < d + a) throw c.g.F();
            if (h) for (h = 0; h < d; h++) f[b + h] = this.f[a + h];else for (b = b + d - 1; a < d; a++) f[b] = this.f[a], b--;
          };

          b.prototype.Hx = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b || this.size < (d >> 1) + a) throw c.g.F();
            if (0 != d) for (h || (a += d - 1), h = h ? 2 : -2, d = b + d; b < d; b++) f[b][0] = this.f[a], f[b][1] = this.f[a + 1], a += h;
          };

          b.prototype.clear = function (a) {
            a ? this.resize(0) : this.yf(0);
          };

          b.prototype.Mp = function () {
            this.Ce = this.xa = !0;
          };

          b.prototype.Gd = function (a, d, f) {
            var b = this.f.slice(0, a),
                h = this.f.slice(d);
            a = this.f.slice(a, d).sort(f);
            this.f.length = 0;
            this.f.push.apply(this.f, b.concat(a).concat(h));
          };

          b.prototype.si = function () {
            return 1;
          };

          b.Bb = 0;
          return b;
        }();

        c.Rd = g;

        g = function () {
          function b(a) {
            this.xa = this.Ce = !1;
            this.f = null;
            var d = a;
            2 > d && (d = 2);
            this.f = new Float64Array(d);
            this.size = a;
          }

          b.prototype.rotate = function (a, d, f) {
            if (this.xa) throw c.g.X("invalid_call");
            if (d < a || d > f || a > f) throw c.g.F();
            a != d && f != d && (this.Zd(a, d - a, 1), this.Zd(d, f - d, 1), this.Zd(a, f - a, 1));
          };

          b.zd = function (a, d) {
            var f = new b(a),
                e = a,
                h = f.f;
            2 > e && (e = 2);
            if (0 !== d) for (var c = 0; c < e; c++) h[c] = d;
            return f;
          };

          b.Bk = function (a) {
            var d = new b(0);
            d.f = new Float64Array(a.f);
            d.size = a.size;
            return d;
          };

          b.$ = function (a, d) {
            var f = new b(0);
            f.size = a.size;
            f.size > d && (f.size = d);
            var e = f.size;
            2 > e && (e = 2);
            f.f = new Float64Array(e);
            f.f.set(a.f.length <= e ? a.f : a.f.subarray(0, e), 0);
            return f;
          };

          b.prototype.yb = function (a) {
            0 >= a || (null == this.f ? this.f = new Float64Array(a) : a <= this.f.length || (0 < this.f.length ? (a = new Float64Array(a), a.set(this.f), this.f = a) : this.f = new Float64Array(a)));
          };

          b.prototype.read = function (a) {
            return this.f[a];
          };

          b.prototype.fc = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.get = function (a) {
            return this.f[a];
          };

          b.prototype.write = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.set = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.fo = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.add = function (a) {
            this.resize(this.size + 1);
            this.f[this.size - 1] = a;
          };

          b.prototype.Tr = function (a) {
            return b.$(this, a);
          };

          b.prototype.Of = function (a) {
            return this.read(a);
          };

          b.prototype.resize = function (a, d) {
            void 0 === d && (d = 0);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");

            if (a <= this.size) {
              if (30 < this.f.length && 5 * a / 4 < this.f.length) {
                var f = new Float64Array(this.f, 0, a);
                this.f = f;
              }
            } else {
              a > this.f.length && (f = c.J.truncate(64 > a ? Math.max(2 * a, 4) : 5 * a / 4), f = new Float64Array(f), f.set(this.f), this.f = f);

              for (var f = this.f, b = this.size; b < a; b++) f[b] = d;
            }

            this.size = a;
          };

          b.prototype.yf = function (a) {
            (null == this.f || a > this.f.length) && this.resize(a);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");
            this.size = a;
          };

          b.prototype.Dm = function (a, d) {
            this.write(a, d);
          };

          b.prototype.Ak = function (a, d, f) {
            for (var b = this.size; d < b && d < f; d++) a = c.J.Zi(this.read(d));

            return a;
          };

          b.prototype.Eb = function (a, d, f) {
            if (null == a || !(a instanceof b)) return !1;
            var e = this.size,
                h = a.size;
            if (f > e || f > h && e != h) return !1;

            for (f > e && (f = e); d < f; d++) if (this.read(d) != a.read(d)) return !1;

            return !0;
          };

          b.prototype.Rk = function (a, d, f, b, h, l, k) {
            if (this.xa) throw c.g.Da();
            if (!h && (1 > l || 0 != b % l)) throw c.g.F();
            var m = this.size - k;
            m < b && this.resize(this.size + b - m);
            n(this.f, a + b, a, a + (k - a));
            this.f == d.f && a < f && (f += b);
            if (h) this.f.set(d.f.subarray(f, f + b), a);else for (h = b, k = 0; k < b; k += l) for (h -= l, m = 0; m < l; m++) this.f[a + k + m] = d.f[f + h + m];
          };

          b.prototype.Sq = function (a, d, f, b, h, l) {
            if (this.xa) throw c.g.Da();
            0 > l && (l = this.size);
            this.size + 2 * b > this.f.length ? this.resize(this.size + 2 * b) : this.size += 2 * b;
            n(this.f, a + 2 * b, a, a + (l - a));
            if (h) for (h = 0; h < b; h++) l = d[f++], this.f[a++] = l.x, this.f[a++] = l.y;else {
              h = 0;

              for (var k = b - 1; h < b; ++h) l = d[f + k], this.f[a++] = l.x, this.f[a++] = l.y, k--;
            }
          };

          b.prototype.Vj = function (a, d, f, b) {
            if (this.xa) throw c.g.Da();
            b -= a;
            n(this.f, a + b, a, a + b);

            for (b = 0; b < f; b++) this.f[a + b] = d;
          };

          b.prototype.eh = function (a, d, f) {
            if (this.xa) throw c.g.Da();
            n(this.f, a + 2, a, a + (f - a));
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.js = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (f.length < b + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), h) this.f.set(f.subarray(b, d), a);else for (h || (a += d - 1), d = b + d; b < d; b++) this.f[a] = f[b], a--;
          };

          b.prototype.ho = function (a, d, f, b, h, l) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (!h && (0 >= l || 0 != d % l)) throw c.g.F();
            if (f.size < b + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), f == this) this.Ij(a, d, b, h, l);else if (h) for (h = 0; h < d; h++) this.f[a] = f.f[b], a++, b++;else if (b = b + d - l, 1 == l) for (h = 0; h < d; h++) this.f[a] = f.f[b], a++, b--;else for (h = 0, d = c.J.truncate(d / l); h < d; h++) {
              for (var k = 0; k < l; k++) this.f[a + k] = f.f[b + k];

              a += l;
              b -= l;
            }
          };

          b.prototype.Fk = function (a, d, f) {
            if (this.xa) throw c.g.Da();
            if (a + d > this.size) throw c.g.Da();
            0 < f - (a + d) && n(this.f, a, a + d, a + (f - (a + d)) + d);
            this.size -= d;
          };

          b.prototype.Zd = function (a, d, f) {
            if (this.xa) throw c.g.Da();
            if (1 > f || 0 != d % f) throw c.g.Da();

            for (var b = d >> 1, h = 0; h < b; h += f) {
              d -= f;

              for (var l = 0; l < f; l++) {
                var k = this.f[a + h + l];
                this.f[a + h + l] = this.f[a + d + l];
                this.f[a + d + l] = k;
              }
            }
          };

          b.prototype.Zh = function (a, d, f) {
            if (0 > d || 0 > f || 0 > d || f + d > this.size) throw c.g.F();

            for (var b = d; b < d + f; b++) this.f[b] = a;
          };

          b.prototype.Ij = function (a, d, f, b, h) {
            if (!b || a != f) if (this.f.set(this.f.subarray(f, f + d), a), !b) for (f = a, a = a + d - h, b = 0, d = c.J.truncate(d / 2); b < d; b++) {
              for (var l = 0; l < h; l++) {
                var k = this.f[f + l];
                this.f[f + l] = this.f[a + l];
                this.f[a + l] = k;
              }

              f += h;
              a -= h;
            }
          };

          b.prototype.ks = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += b; b < d; b++) this.f[a] = f[b].x, this.f[a + 1] = f[b].y, a += h;
          };

          b.prototype.hy = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += b; b < d; b++) this.f[a] = f[b][0], this.f[a + 1] = f[b][1], a += h;
          };

          b.prototype.pl = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b || this.size < d + a) throw c.g.F();
            if (h) for (h = 0; h < d; h++) f[b + h] = this.f[a + h];else for (b = b + d - 1; a < d; a++) f[b] = this.f[a], b--;
          };

          b.prototype.Hx = function (a, d, f, b, h) {
            if (0 > a || 0 > d || 0 > b || this.size < (d >> 1) + a) throw c.g.F();
            if (0 != d) for (h || (a += d - 1), h = h ? 2 : -2, d = b + d; b < d; b++) f[b][0] = this.f[a], f[b][1] = this.f[a + 1], a += h;
          };

          b.prototype.clear = function (a) {
            a ? this.resize(0) : this.yf(0);
          };

          b.prototype.Mp = function () {
            this.Ce = this.xa = !0;
          };

          b.prototype.Gd = function (a, d, f) {
            Array.prototype.sort.call(this.f.subarray(a, d), f);
          };

          b.prototype.si = function () {
            return 1;
          };

          return b;
        }();

        c.LL = g;
      })(r || (r = {}));

      !0 === r.Xh.Bm && !0 === r.Xh.jw && (r.Rd = r.LL);

      (function (c) {
        function n(b, a, d, f) {
          d = new Int32Array(b.subarray(d, f));
          b.set(d, a);
        }

        c.BZ = function () {
          return function () {
            this.random = 1973;
          };
        }();

        var g = function () {
          function b(a) {
            this.xa = this.Ce = !1;
            this.f = [];
            var d = a;
            2 > d && (d = 2);
            this.f = this.f = c.J.gf(d, b.Bb);
            this.size = a;
          }

          b.prototype.rotate = function (a, d, f) {
            if (this.xa) throw c.g.X("invalid_call");
            if (d < a || d > f || a > f) throw c.g.F();
            a != d && f != d && (this.Zd(a, d - a, 1), this.Zd(d, f - d, 1), this.Zd(a, f - a, 1));
          };

          b.zd = function (a, d) {
            b.Bb = d;
            var f = new b(a);
            b.Bb = 0;
            return f;
          };

          b.Bk = function (a) {
            var d = new b(0);
            d.f = a.f.slice(0);
            d.size = a.size;
            return d;
          };

          b.$ = function (a, d) {
            var f = new b(0);
            f.size = a.size;
            f.size > d && (f.size = d);
            f.f = a.f.slice(0, f.size);
            return f;
          };

          b.prototype.yb = function () {};

          b.prototype.read = function (a) {
            return this.f[a];
          };

          b.prototype.fc = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.get = function (a) {
            return this.f[a];
          };

          b.prototype.write = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.set = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.fo = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.add = function (a) {
            this.resize(this.size + 1);
            this.f[this.size - 1] = a;
          };

          b.prototype.Tr = function (a) {
            return b.$(this, a);
          };

          b.prototype.Of = function (a) {
            return this.read(a);
          };

          b.prototype.resize = function (a, d) {
            void 0 === d && (d = 0);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");

            if (a <= this.size) {
              if (c.J.truncate(5 * a / 4) < this.f.length) {
                var f = this.f.slice(0, a);
                this.f = f;
              }
            } else if (a > this.f.length) {
              c.J.truncate(64 > a ? Math.max(2 * a, 4) : 5 * a / 4);

              for (var f = this.f.slice(0), b = this.f.length; b < a; b++) f[b] = d;

              this.f = f;
            }

            this.size = a;
          };

          b.prototype.yf = function (a) {
            (null == this.f || a > this.f.length) && this.resize(a);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");
            this.size = a;
          };

          b.prototype.Dm = function (a, d) {
            this.write(a, d);
          };

          b.prototype.Ak = function (a, d, f) {
            for (var b = this.size; d < b && d < f; d++) a = c.J.dh(this.read(d), a);

            return a;
          };

          b.prototype.Eb = function (a, d, f) {
            if (null == a || !(a instanceof b)) return !1;
            var e = this.size,
                h = a.size;
            if (f > e || f > h && e != h) return !1;

            for (f > e && (f = e); d < f; d++) if (this.read(d) != a.read(d)) return !1;

            return !0;
          };

          b.prototype.Rk = function (a, d, f, b, h, l, k) {
            if (this.xa) throw c.g.Da();
            if (!h && (1 > l || 0 != b % l)) throw c.g.F();

            for (var m = 0; m < k - a; m++) this.f[a + b + m] = this.f[a + m];

            this.f == d.f && a < f && (f += b);
            if (h) for (m = 0; m < b; m++) this.f[m + a] = d.f[f + m];else for (h = b, k = 0; k < b; k += l) for (h -= l, m = 0; m < l; m++) this.f[a + k + m] = d.f[f + h + m];
          };

          b.prototype.Sq = function (a, d, f, b, h, l) {
            if (this.xa) throw c.g.Da();
            0 > l && (l = this.size);
            this.size + 2 * b > this.f.length ? this.resize(this.size + 2 * b) : this.size += 2 * b;
            l -= a;

            for (var k = this.f.slice(a, a + l), m = 0; m < l; m++) this.f[a + 2 * b + m] = k[m];

            if (h) for (h = 0; h < b; h++) l = d[f++], this.f[a++] = l.x, this.f[a++] = l.y;else for (h = 0, k = b - 1; h < b; ++h) l = d[f + k], this.f[a++] = l.x, this.f[a++] = l.y, k--;
          };

          b.prototype.Vj = function (a, d, f, b) {
            if (this.xa) throw c.g.Da();
            b -= a;

            for (var h = this.f.slice(a, a + b), l = 0; l < b; l++) this.f[a + f + l] = h[l];

            for (b = 0; b < f; b++) this.f[a + b] = d;
          };

          b.prototype.eh = function (a, d, b) {
            if (this.xa) throw c.g.Da();

            for (var e = this.f.slice(a, a + (b - a)), h = 0; h < b - a; h++) this.f[h + a + 2] = e[h];

            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.js = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (b.length < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), h) for (h = 0; h < d; h++) this.f[a + h] = b[e + h];else for (h || (a += d - 1), d = e + d; e < d; e++) this.f[a] = b[e], a--;
          };

          b.prototype.ho = function (a, d, b, e, h, l) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (!h && (0 >= l || 0 != d % l)) throw c.g.F();
            if (b.size < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), b == this) this.Ij(a, d, e, h, l);else if (h) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e++;else if (e = e + d - l, 1 == l) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e--;else for (h = 0, d = c.J.truncate(d / l); h < d; h++) {
              for (var k = 0; k < l; k++) this.f[a + k] = b.f[e + k];

              a += l;
              e -= l;
            }
          };

          b.prototype.Fk = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (a + d > this.size) throw c.g.Da();

            if (0 < b - (a + d)) {
              b -= a + d;

              for (var e = this.f.slice(a + d, a + b + d), h = 0; h < b; h++) this.f[a + h] = e[h];
            }

            this.size -= d;
          };

          b.prototype.Zd = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (1 > b || 0 != d % b) throw c.g.Da();

            for (var e = d >> 1, h = 0; h < e; h += b) {
              d -= b;

              for (var l = 0; l < b; l++) {
                var k = this.f[a + h + l];
                this.f[a + h + l] = this.f[a + d + l];
                this.f[a + d + l] = k;
              }
            }
          };

          b.prototype.Zh = function (a, d, b) {
            if (0 > d || 0 > b || 0 > d || b + d > this.size) throw c.g.F();

            for (var e = d; e < d + b; e++) this.f[e] = a;
          };

          b.prototype.Ij = function (a, d, b, e, h) {
            if (!e || a != b) {
              for (var l = 0; l < d; l++) this.f[a + l] = this.f[b + l];

              if (!e) for (b = a, a = a + d - h, e = 0, d = c.J.truncate(d / 2); e < d; e++) {
                for (l = 0; l < h; l++) {
                  var k = this.f[b + l];
                  this.f[b + l] = this.f[a + l];
                  this.f[a + l] = k;
                }

                b += h;
                a -= h;
              }
            }
          };

          b.prototype.ks = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += e; e < d; e++) this.f[a] = b[e].x, this.f[a + 1] = b[e].y, a += h;
          };

          b.prototype.pl = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e || this.size < d + a) throw c.g.F();
            if (h) for (h = 0; h < d; h++) b[e + h] = this.f[a + h];else for (e = e + d - 1; a < d; a++) b[e] = this.f[a], e--;
          };

          b.prototype.clear = function (a) {
            a ? this.resize(0) : this.yf(0);
          };

          b.prototype.Mp = function () {
            this.Ce = this.xa = !0;
          };

          b.prototype.Gd = function (a, d, b) {
            var e = this.f.slice(0, a),
                h = this.f.slice(d);
            a = this.f.slice(a, d).sort(b);
            this.f.length = 0;
            this.f.push.apply(this.f, e.concat(a).concat(h));
          };

          b.prototype.si = function () {
            return 2;
          };

          b.prototype.Fc = function () {
            return this.f[this.size - 1];
          };

          b.prototype.Pf = function () {
            this.resize(this.size - 1);
          };

          b.prototype.CK = function (a) {
            this.f[this.size - 1] = a;
          };

          b.prototype.HJ = function (a) {
            a < this.size - 1 && (this.f[a] = this.f[this.size - 1]);
            this.resize(this.size - 1);
          };

          b.prototype.Ov = function (a) {
            for (var d = 0, b = this.size; d < b; d++) if (this.f[d] == a) return d;

            return -1;
          };

          b.prototype.oA = function (a) {
            return 0 <= this.Ov(a);
          };

          b.Bb = 0;
          return b;
        }();

        c.ia = g;

        g = function () {
          function b(a) {
            this.xa = this.Ce = !1;
            this.f = null;
            var d = a;
            2 > d && (d = 2);
            this.f = new Int32Array(d);
            this.size = a;
          }

          b.prototype.rotate = function (a, d, b) {
            if (this.xa) throw c.g.X("invalid_call");
            if (d < a || d > b || a > b) throw c.g.F();
            a != d && b != d && (this.Zd(a, d - a, 1), this.Zd(d, b - d, 1), this.Zd(a, b - a, 1));
          };

          b.zd = function (a, d) {
            var f = new b(a),
                e = a,
                h = f.f;
            2 > e && (e = 2);
            if (0 !== d) for (var c = 0; c < e; c++) h[c] = d;
            return f;
          };

          b.Bk = function (a) {
            var d = new b(0);
            d.f = new Int32Array(a.f);
            d.size = a.size;
            return d;
          };

          b.$ = function (a, d) {
            var f = new b(0);
            f.size = a.size;
            f.size > d && (f.size = d);
            var e = f.size;
            2 > e && (e = 2);
            f.f = new Int32Array(e);
            f.f.set(a.f.length <= e ? a.f : a.f.subarray(0, e), 0);
            return f;
          };

          b.prototype.yb = function (a) {
            0 >= a || (null == this.f ? this.f = new Int32Array(a) : a <= this.f.length || (0 < this.f.length ? (a = new Int32Array(a), a.set(this.f), this.f = a) : this.f = new Int32Array(a)));
          };

          b.prototype.read = function (a) {
            return this.f[a];
          };

          b.prototype.fc = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.get = function (a) {
            return this.f[a];
          };

          b.prototype.write = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.set = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.fo = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.add = function (a) {
            this.resize(this.size + 1);
            this.f[this.size - 1] = a;
          };

          b.prototype.Tr = function (a) {
            return b.$(this, a);
          };

          b.prototype.Of = function (a) {
            return this.read(a);
          };

          b.prototype.resize = function (a, d) {
            void 0 === d && (d = 0);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");

            if (a <= this.size) {
              if (30 < this.f.length && 5 * a / 4 < this.f.length) {
                var b = new Int32Array(this.f, 0, a);
                this.f = b;
              }
            } else {
              a > this.f.length && (b = c.J.truncate(64 > a ? Math.max(2 * a, 4) : 5 * a / 4), b = new Int32Array(b), b.set(this.f), this.f = b);

              for (var b = this.f, e = this.size; e < a; e++) b[e] = d;
            }

            this.size = a;
          };

          b.prototype.yf = function (a) {
            (null == this.f || a > this.f.length) && this.resize(a);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");
            this.size = a;
          };

          b.prototype.Dm = function (a, d) {
            this.write(a, d);
          };

          b.prototype.Ak = function (a, d, b) {
            for (var e = this.size; d < e && d < b; d++) a = c.J.dh(this.read(d), a);

            return a;
          };

          b.prototype.Eb = function (a, d, f) {
            if (null == a || !(a instanceof b)) return !1;
            var e = this.size,
                h = a.size;
            if (f > e || f > h && e != h) return !1;

            for (f > e && (f = e); d < f; d++) if (this.read(d) != a.read(d)) return !1;

            return !0;
          };

          b.prototype.Rk = function (a, d, b, e, h, l, k) {
            if (this.xa) throw c.g.Da();
            if (!h && (1 > l || 0 != e % l)) throw c.g.F();
            n(this.f, a + e, a, a + (k - a));
            this.f == d.f && a < b && (b += e);
            if (h) this.f.set(d.f.subarray(b, b + e), a);else for (h = e, k = 0; k < e; k += l) {
              h -= l;

              for (var m = 0; m < l; m++) this.f[a + k + m] = d.f[b + h + m];
            }
          };

          b.prototype.Sq = function (a, d, b, e, h, l) {
            if (this.xa) throw c.g.Da();
            0 > l && (l = this.size);
            this.size + 2 * e > this.f.length ? this.resize(this.size + 2 * e) : this.size += 2 * e;
            n(this.f, a + 2 * e, a, a + (l - a));
            if (h) for (h = 0; h < e; h++) l = d[b++], this.f[a++] = l.x, this.f[a++] = l.y;else {
              h = 0;

              for (var k = e - 1; h < e; ++h) l = d[b + k], this.f[a++] = l.x, this.f[a++] = l.y, k--;
            }
          };

          b.prototype.Vj = function (a, d, b, e) {
            if (this.xa) throw c.g.Da();
            e -= a;
            n(this.f, a + e, a, a + e);

            for (e = 0; e < b; e++) this.f[a + e] = d;
          };

          b.prototype.eh = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            n(this.f, a + 2, a, a + (b - a));
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.js = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (b.length < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), h) this.f.set(b.subarray(e, d), a);else for (h || (a += d - 1), d = e + d; e < d; e++) this.f[a] = b[e], a--;
          };

          b.prototype.ho = function (a, d, b, e, h, l) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (!h && (0 >= l || 0 != d % l)) throw c.g.F();
            if (b.size < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), b == this) this.Ij(a, d, e, h, l);else if (h) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e++;else if (e = e + d - l, 1 == l) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e--;else for (h = 0, d = c.J.truncate(d / l); h < d; h++) {
              for (var k = 0; k < l; k++) this.f[a + k] = b.f[e + k];

              a += l;
              e -= l;
            }
          };

          b.prototype.Fk = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (a + d > this.size) throw c.g.Da();
            0 < b - (a + d) && n(this.f, a, a + d, a + (b - (a + d)) + d);
            this.size -= d;
          };

          b.prototype.Zd = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (1 > b || 0 != d % b) throw c.g.Da();

            for (var e = d >> 1, h = 0; h < e; h += b) {
              d -= b;

              for (var l = 0; l < b; l++) {
                var k = this.f[a + h + l];
                this.f[a + h + l] = this.f[a + d + l];
                this.f[a + d + l] = k;
              }
            }
          };

          b.prototype.Zh = function (a, d, b) {
            if (0 > d || 0 > b || 0 > d || b + d > this.size) throw c.g.F();

            for (var e = d; e < d + b; e++) this.f[e] = a;
          };

          b.prototype.Ij = function (a, d, b, e, h) {
            if (!e || a != b) if (this.f.set(this.f.subarray(b, b + d), a), !e) for (b = a, a = a + d - h, e = 0, d = c.J.truncate(d / 2); e < d; e++) {
              for (var l = 0; l < h; l++) {
                var k = this.f[b + l];
                this.f[b + l] = this.f[a + l];
                this.f[a + l] = k;
              }

              b += h;
              a -= h;
            }
          };

          b.prototype.ks = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += e; e < d; e++) this.f[a] = b[e].x, this.f[a + 1] = b[e].y, a += h;
          };

          b.prototype.pl = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e || this.size < d + a) throw c.g.F();
            if (h) for (h = 0; h < d; h++) b[e + h] = this.f[a + h];else for (e = e + d - 1; a < d; a++) b[e] = this.f[a], e--;
          };

          b.prototype.clear = function (a) {
            a ? this.resize(0) : this.yf(0);
          };

          b.prototype.Mp = function () {
            this.Ce = this.xa = !0;
          };

          b.prototype.Gd = function (a, d, f) {
            10 > d - a ? b.ul(this.f, a, d, f) : b.Oi(this.f, a, d - 1, f);
          };

          b.prototype.si = function () {
            return 2;
          };

          b.prototype.Fc = function () {
            return this.f[this.size - 1];
          };

          b.prototype.Pf = function () {
            this.resize(this.size - 1);
          };

          b.prototype.CK = function (a) {
            this.f[this.size - 1] = a;
          };

          b.prototype.HJ = function (a) {
            a < this.size - 1 && (this.f[a] = this.f[this.size - 1]);
            this.resize(this.size - 1);
          };

          b.prototype.Ov = function (a) {
            for (var d = 0, b = this.size; d < b; d++) if (this.f[d] == a) return d;

            return -1;
          };

          b.prototype.oA = function (a) {
            return 0 <= this.Ov(a);
          };

          b.ul = function (a, d, b, e) {
            for (var h = d; h < b; h++) {
              for (var c = a[h], k = h - 1; k >= d && 0 < e(a[k], c);) a[k + 1] = a[k], k--;

              a[k + 1] = c;
            }
          };

          b.Wg = function (a, d, b) {
            var e = a[b];
            a[b] = a[d];
            a[d] = e;
          };

          b.Oi = function (a, d, f, e) {
            if (!(d >= f)) for (;;) {
              if (9 > f - d) {
                b.ul(a, d, f + 1, e);
                break;
              }

              var h = a[d];
              b.Wg(a, d, f);

              for (var c = d, k = d; k < f; k++) 0 >= e(a[k], h) && (b.Wg(a, c, k), c += 1);

              b.Wg(a, c, f);
              c - d < f - c ? (b.Oi(a, d, c - 1, e), d = c + 1) : (b.Oi(a, c + 1, f, e), f = c - 1);
            }
          };

          return b;
        }();

        c.jy = g;
      })(r || (r = {}));

      !0 === r.Xh.Bm && (r.ia = r.jy);

      (function (c) {
        function n(b, a, d, f) {
          d = new Int8Array(b.subarray(d, f));
          b.set(d, a);
        }

        var g = function () {
          function b(a) {
            this.xa = this.Ce = !1;
            this.f = [];
            var d = a;
            2 > d && (d = 2);
            this.f = c.J.gf(d, b.Bb);
            this.size = a;
          }

          b.prototype.rotate = function (a, d, b) {
            if (this.xa) throw c.g.X("invalid_call");
            if (d < a || d > b || a > b) throw c.g.F();
            a != d && b != d && (this.Zd(a, d - a, 1), this.Zd(d, b - d, 1), this.Zd(a, b - a, 1));
          };

          b.zd = function (a, d) {
            b.Bb = d;
            var f = new b(a);
            b.Bb = 0;
            return f;
          };

          b.Bk = function (a) {
            var d = new b(0);
            d.f = a.f.slice(0);
            d.size = a.size;
            return d;
          };

          b.$ = function (a, d) {
            var f = new b(0);
            f.size = a.size;
            f.size > d && (f.size = d);
            f.f = a.f.slice(0, f.size);
            return f;
          };

          b.prototype.yb = function () {};

          b.prototype.read = function (a) {
            return this.f[a];
          };

          b.prototype.fc = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.get = function (a) {
            return this.f[a];
          };

          b.prototype.write = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.set = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.fo = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.add = function (a) {
            this.resize(this.size + 1);
            this.f[this.size - 1] = a;
          };

          b.prototype.Tr = function (a) {
            return b.$(this, a);
          };

          b.prototype.Of = function (a) {
            return this.read(a);
          };

          b.prototype.resize = function (a, d) {
            void 0 === d && (d = 0);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");

            if (a <= this.size) {
              if (c.J.truncate(5 * a / 4) < this.f.length) {
                var b = this.f.slice(0, a);
                this.f = b;
              }
            } else if (a > this.f.length) {
              c.J.truncate(64 > a ? Math.max(2 * a, 4) : 5 * a / 4);

              for (var b = this.f.slice(0), e = this.f.length; e < a; e++) b[e] = d;

              this.f = b;
            }

            this.size = a;
          };

          b.prototype.yf = function (a) {
            (null == this.f || a > this.f.length) && this.resize(a);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");
            this.size = a;
          };

          b.prototype.Dm = function (a, d) {
            this.write(a, d);
          };

          b.prototype.Ak = function (a, d, b) {
            for (var e = this.size; d < e && d < b; d++) a = c.J.dh(this.read(d), a);

            return a;
          };

          b.prototype.Eb = function (a, d, f) {
            if (null == a || !(a instanceof b)) return !1;
            var e = this.size,
                h = a.size;
            if (f > e || f > h && e != h) return !1;

            for (f > e && (f = e); d < f; d++) if (this.read(d) != a.read(d)) return !1;

            return !0;
          };

          b.prototype.Rk = function (a, d, b, e, h, l, k) {
            if (this.xa) throw c.g.Da();
            if (!h && (1 > l || 0 != e % l)) throw c.g.F();

            for (var m = 0; m < k - a; m++) this.f[a + e + m] = this.f[a + m];

            this.f == d.f && a < b && (b += e);
            if (h) for (m = 0; m < e; m++) this.f[m + a] = d.f[b + m];else for (h = e, k = 0; k < e; k += l) for (h -= l, m = 0; m < l; m++) this.f[a + k + m] = d.f[b + h + m];
          };

          b.prototype.Sq = function (a, d, b, e, h, l) {
            if (this.xa) throw c.g.Da();
            0 > l && (l = this.size);
            this.size + 2 * e > this.f.length ? this.resize(this.size + 2 * e) : this.size += 2 * e;
            l -= a;

            for (var k = this.f.slice(a, a + l), m = 0; m < l; m++) this.f[a + 2 * e + m] = k[m];

            if (h) for (h = 0; h < e; h++) l = d[b++], this.f[a++] = l.x, this.f[a++] = l.y;else for (h = 0, k = e - 1; h < e; ++h) l = d[b + k], this.f[a++] = l.x, this.f[a++] = l.y, k--;
          };

          b.prototype.Vj = function (a, d, b, e) {
            if (this.xa) throw c.g.Da();
            e -= a;

            for (var h = this.f.slice(a, a + e), l = 0; l < e; l++) this.f[a + b + l] = h[l];

            for (e = 0; e < b; e++) this.f[a + e] = d;
          };

          b.prototype.eh = function (a, d, b) {
            if (this.xa) throw c.g.Da();

            for (var e = this.f.slice(a, a + (b - a)), h = 0; h < b - a; h++) this.f[h + a + 2] = e[h];

            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.js = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (b.length < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), h) for (h = 0; h < d; h++) this.f[a + h] = b[e + h];else for (h || (a += d - 1), d = e + d; e < d; e++) this.f[a] = b[e], a--;
          };

          b.prototype.ho = function (a, d, b, e, h, l) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (!h && (0 >= l || 0 != d % l)) throw c.g.F();
            if (b.size < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), b == this) this.Ij(a, d, e, h, l);else if (h) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e++;else if (e = e + d - l, 1 == l) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e--;else for (h = 0, d = c.J.truncate(d / l); h < d; h++) {
              for (var k = 0; k < l; k++) this.f[a + k] = b.f[e + k];

              a += l;
              e -= l;
            }
          };

          b.prototype.Fk = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (a + d > this.size) throw c.g.Da();

            if (0 < b - (a + d)) {
              b -= a + d;

              for (var e = this.f.slice(a + d, a + b + d), h = 0; h < b; h++) this.f[a + h] = e[h];
            }

            this.size -= d;
          };

          b.prototype.Zd = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (1 > b || 0 != d % b) throw c.g.Da();

            for (var e = d >> 1, h = 0; h < e; h += b) {
              d -= b;

              for (var l = 0; l < b; l++) {
                var k = this.f[a + h + l];
                this.f[a + h + l] = this.f[a + d + l];
                this.f[a + d + l] = k;
              }
            }
          };

          b.prototype.Zh = function (a, d, b) {
            if (0 > d || 0 > b || 0 > d || b + d > this.size) throw c.g.F();

            for (var e = d; e < d + b; e++) this.f[e] = a;
          };

          b.prototype.Ij = function (a, d, b, e, h) {
            if (!e || a != b) {
              for (var l = 0; l < d; l++) this.f[a + l] = this.f[b + l];

              if (!e) for (b = a, a = a + d - h, e = 0, d = c.J.truncate(d / 2); e < d; e++) {
                for (l = 0; l < h; l++) {
                  var k = this.f[b + l];
                  this.f[b + l] = this.f[a + l];
                  this.f[a + l] = k;
                }

                b += h;
                a -= h;
              }
            }
          };

          b.prototype.ks = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += e; e < d; e++) this.f[a] = b[e].x, this.f[a + 1] = b[e].y, a += h;
          };

          b.prototype.pl = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e || this.size < d + a) throw c.g.F();
            if (h) for (h = 0; h < d; h++) b[e + h] = this.f[a + h];else for (e = e + d - 1; a < d; a++) b[e] = this.f[a], e--;
          };

          b.prototype.clear = function (a) {
            a ? this.resize(0) : this.yf(0);
          };

          b.prototype.Mp = function () {
            this.Ce = this.xa = !0;
          };

          b.prototype.Gd = function (a, d, b) {
            var e = this.f.slice(0, a),
                h = this.f.slice(d);
            a = this.f.slice(a, d).sort(b);
            this.f.length = 0;
            this.f.push.apply(this.f, e.concat(a).concat(h));
          };

          b.prototype.si = function () {
            return 1;
          };

          b.prototype.jC = function (a, d) {
            if (this.xa) throw c.g.X("invalid call. Attribute Stream is read only.");
            this.f[a] |= d;
          };

          b.prototype.fz = function (a, d) {
            if (this.xa) throw c.g.X("invalid call. Attribute Stream is read only.");
            this.f[a] &= ~d;
          };

          b.Bb = 0;
          return b;
        }();

        c.Fm = g;

        g = function () {
          function b(a) {
            this.f = null;
            var d = a;
            2 > d && (d = 2);
            this.f = new Int8Array(d);
            this.size = a;
          }

          b.prototype.rotate = function (a, d, b) {
            if (this.xa) throw c.g.X("invalid_call");
            if (d < a || d > b || a > b) throw c.g.F();
            a != d && b != d && (this.Zd(a, d - a, 1), this.Zd(d, b - d, 1), this.Zd(a, b - a, 1));
          };

          b.zd = function (a, d) {
            var f = new b(a),
                e = a,
                h = f.f;
            2 > e && (e = 2);
            if (0 !== d) for (var c = 0; c < e; c++) h[c] = d;
            return f;
          };

          b.Bk = function (a) {
            var d = new b(0);
            d.f = new Int8Array(a.f);
            d.size = a.size;
            return d;
          };

          b.$ = function (a, d) {
            var f = new b(0);
            f.size = a.size;
            f.size > d && (f.size = d);
            var e = f.size;
            2 > e && (e = 2);
            f.f = new Int8Array(e);
            f.f.set(a.f.length <= e ? a.f : a.f.subarray(0, e), 0);
            return f;
          };

          b.prototype.yb = function (a) {
            0 >= a || (null == this.f ? this.f = new Int8Array(a) : a <= this.f.length || (0 < this.f.length ? (a = new Int8Array(a), a.set(this.f), this.f = a) : this.f = new Int8Array(a)));
          };

          b.prototype.read = function (a) {
            return this.f[a];
          };

          b.prototype.fc = function (a, d) {
            d.x = this.f[a];
            d.y = this.f[a + 1];
          };

          b.prototype.get = function (a) {
            return this.f[a];
          };

          b.prototype.write = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.set = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d;
          };

          b.prototype.fo = function (a, d) {
            if (this.xa) throw c.g.Da();
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.add = function (a) {
            this.resize(this.size + 1);
            this.f[this.size - 1] = a;
          };

          b.prototype.Tr = function (a) {
            return b.$(this, a);
          };

          b.prototype.Of = function (a) {
            return this.read(a);
          };

          b.prototype.resize = function (a, d) {
            void 0 === d && (d = 0);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");

            if (a <= this.size) {
              if (30 < this.f.length && 5 * a / 4 < this.f.length) {
                var b = new Int8Array(this.f, 0, a);
                this.f = b;
              }
            } else {
              a > this.f.length && (b = c.J.truncate(64 > a ? Math.max(2 * a, 4) : 5 * a / 4), b = new Int8Array(b), b.set(this.f), this.f = b);

              for (var b = this.f, e = this.size; e < a; e++) b[e] = d;
            }

            this.size = a;
          };

          b.prototype.yf = function (a) {
            (null == this.f || a > this.f.length) && this.resize(a);
            if (this.Ce) throw c.g.X("invalid call. Attribute Stream is locked and cannot be resized.");
            this.size = a;
          };

          b.prototype.Dm = function (a, d) {
            this.write(a, d);
          };

          b.prototype.Ak = function (a, d, b) {
            for (var e = this.size; d < e && d < b; d++) a = c.J.dh(this.read(d), a);

            return a;
          };

          b.prototype.Eb = function (a, d, f) {
            if (null == a || !(a instanceof b)) return !1;
            var e = this.size,
                h = a.size;
            if (f > e || f > h && e != h) return !1;

            for (f > e && (f = e); d < f; d++) if (this.read(d) != a.read(d)) return !1;

            return !0;
          };

          b.prototype.Rk = function (a, d, b, e, h, l, k) {
            if (this.xa) throw c.g.Da();
            if (!h && (1 > l || 0 != e % l)) throw c.g.F();
            n(this.f, a + e, a, a + (k - a));
            this.f == d.f && a < b && (b += e);
            if (h) this.f.set(d.f.subarray(b, b + e), a);else for (h = e, k = 0; k < e; k += l) {
              h -= l;

              for (var m = 0; m < l; m++) this.f[a + k + m] = d.f[b + h + m];
            }
          };

          b.prototype.Vj = function (a, d, b, e) {
            if (this.xa) throw c.g.Da();
            e -= a;
            n(this.f, a + e, a, a + e);

            for (e = 0; e < b; e++) this.f[a + e] = d;
          };

          b.prototype.Sq = function (a, d, b, e, h, l) {
            if (this.xa) throw c.g.Da();
            0 > l && (l = this.size);
            this.size + 2 * e > this.f.length ? this.resize(this.size + 2 * e) : this.size += 2 * e;
            n(this.f, a + 2 * e, a, a + (l - a));
            if (h) for (h = 0; h < e; h++) l = d[b++], this.f[a++] = l.x, this.f[a++] = l.y;else {
              h = 0;

              for (var k = e - 1; h < e; ++h) l = d[b + k], this.f[a++] = l.x, this.f[a++] = l.y, k--;
            }
          };

          b.prototype.eh = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            n(this.f, a + 2, a, a + (b - a));
            this.f[a] = d.x;
            this.f[a + 1] = d.y;
          };

          b.prototype.js = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (b.length < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), h) this.f.set(b.subarray(e, d), a);else for (h || (a += d - 1), d = e + d; e < d; e++) this.f[a] = b[e], a--;
          };

          b.prototype.ho = function (a, d, b, e, h, l) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (!h && (0 >= l || 0 != d % l)) throw c.g.F();
            if (b.size < e + d) throw c.g.F();
            if (0 != d) if (this.size < d + a && this.resize(d + a), b == this) this.Ij(a, d, e, h, l);else if (h) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e++;else if (e = e + d - l, 1 == l) for (h = 0; h < d; h++) this.f[a] = b.f[e], a++, e--;else for (h = 0, d = c.J.truncate(d / l); h < d; h++) {
              for (var k = 0; k < l; k++) this.f[a + k] = b.f[e + k];

              a += l;
              e -= l;
            }
          };

          b.prototype.Fk = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (a + d > this.size) throw c.g.Da();
            0 < b - (a + d) && n(this.f, a, a + d, a + (b - (a + d)) + d);
            this.size -= d;
          };

          b.prototype.Zd = function (a, d, b) {
            if (this.xa) throw c.g.Da();
            if (1 > b || 0 != d % b) throw c.g.Da();

            for (var e = d >> 1, h = 0; h < e; h += b) {
              d -= b;

              for (var l = 0; l < b; l++) {
                var k = this.f[a + h + l];
                this.f[a + h + l] = this.f[a + d + l];
                this.f[a + d + l] = k;
              }
            }
          };

          b.prototype.Zh = function (a, d, b) {
            if (0 > d || 0 > b || 0 > d || b + d > this.size) throw c.g.F();

            for (var e = d; e < d + b; e++) this.f[e] = a;
          };

          b.prototype.Ij = function (a, d, b, e, h) {
            if (!e || a != b) if (this.f.set(this.f.subarray(b, b + d), a), !e) for (b = a, a = a + d - h, e = 0, d = c.J.truncate(d / 2); e < d; e++) {
              for (var l = 0; l < h; l++) {
                var k = this.f[b + l];
                this.f[b + l] = this.f[a + l];
                this.f[a + l] = k;
              }

              b += h;
              a -= h;
            }
          };

          b.prototype.ks = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e) throw c.g.F();
            if (0 != d) for (this.size < (d << 1) + a && this.resize((d << 1) + a), h || (a += d - 1 << 1), h = h ? 2 : -2, d += e; e < d; e++) this.f[a] = b[e].x, this.f[a + 1] = b[e].y, a += h;
          };

          b.prototype.pl = function (a, d, b, e, h) {
            if (0 > a || 0 > d || 0 > e || this.size < d + a) throw c.g.F();
            if (h) for (h = 0; h < d; h++) b[e + h] = this.f[a + h];else for (e = e + d - 1; a < d; a++) b[e] = this.f[a], e--;
          };

          b.prototype.clear = function (a) {
            a ? this.resize(0) : this.yf(0);
          };

          b.prototype.Mp = function () {
            this.Ce = this.xa = !0;
          };

          b.prototype.Gd = function (a, d, b) {
            d = this.f.subarray(a, d);
            Array.prototype.sort.call(d, b);
            this.f.set(d, a);
          };

          b.prototype.jC = function (a, d) {
            if (this.xa) throw c.g.X("invalid call. Attribute Stream is read only.");
            this.f[a] |= d;
          };

          b.prototype.fz = function (a, d) {
            if (this.xa) throw c.g.X("invalid call. Attribute Stream is read only.");
            this.f[a] &= ~d;
          };

          b.prototype.si = function () {
            return 1;
          };

          return b;
        }();

        c.ky = g;
      })(r || (r = {}));

      !0 === r.Xh.Bm && (r.Fm = r.ky);

      (function (c) {
        var n = function () {
          function g() {}

          g.vq = function (b, a) {
            return c.Fm.zd(b, a);
          };

          g.Um = function (b, a) {
            return c.Rd.zd(b, a);
          };

          g.pz = function (b, a, d) {
            switch (b) {
              case 1:
                b = c.Rd.zd(a, d);
                break;

              case 2:
                b = c.ia.zd(a, d);
                break;

              case 4:
                b = c.Fm.zd(a, d);
                break;

              default:
                throw c.g.za();
            }

            return b;
          };

          g.qz = function (b, a) {
            return g.pz(c.ma.si(b), a * c.ma.Xa(b), c.ma.de(b));
          };

          g.wh = function (b, a) {
            return c.ia.zd(b, a);
          };

          g.JB = function (b) {
            var a,
                d = [];

            for (a = 0; a < b; a++) d.push(null);

            return d;
          };

          return g;
        }();

        c.Uc = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.vq = function (b, a) {
            return c.ky.zd(b, a);
          };

          g.Um = function (b, a) {
            return c.Rd.zd(b, a);
          };

          g.pz = function (b, a, d) {
            switch (b) {
              case 1:
                b = c.Rd.zd(a, d);
                break;

              case 2:
                b = c.jy.zd(a, d);
                break;

              case 4:
                b = c.ky.zd(a, d);
                break;

              default:
                throw c.g.za();
            }

            return b;
          };

          g.qz = function (b, a) {
            return c.Uc.pz(c.ma.si(b), a * c.ma.Xa(b), c.ma.de(b));
          };

          g.wh = function (b, a) {
            return c.jy.zd(b, a);
          };

          g.JB = function (b) {
            var a,
                d = [];

            for (a = 0; a < b; a++) d.push(null);

            return d;
          };

          return g;
        }();

        c.ML = n;
      })(r || (r = {}));

      !0 === r.Xh.Bm && (r.Uc = r.ML);

      (function (c) {
        c.ea = function () {
          return function (c) {
            void 0 === c && (c = 0);
            this.j = c;
          };
        }();
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.bind = function (b) {
            c.Vc = b.PeDefs;
            c.Tf = b.PeFactory;
            c.RD = b.PeVertcs;
            c.OD = b.PeCoordsys;
            c.fi = b.PeCSTransformations;
            c.QD = b.PeGTTransformations;
            c.zN = b.PeGeogtran;
            c.yN = b.PeFactoryCodechange;
            c.PD = b.PeGCSExtent;
            c.Bg = b.PePCSInfo;
            c.AN = b.PeHorizon;
            c.OD = b.PeCoordsys;
            c.fq = b.PeGTlistExtended;
            c.fq.PE_GTLIST_OPTS_USE_DEFAULT = 128;
            c.Tf.initialize(null);
            c.wy = b.PeGTlistExtendedEntry;
            g.RY = c.Tf.fromString(c.Vc.PE_TYPE_UNIT, 'UNIT["Meter",1.0]');
          };

          g.w_ = function () {};

          g.RY = null;
          return g;
        }();

        c.BN = n;
        c.Tf = null;
        c.RD = null;
        c.OD = null;
        c.AN = null;
        c.Bg = null;
        c.fq = null;
        c.wy = null;
        c.PD = null;
        c.yN = null;
        c.zN = null;
        c.Vc = null;
        c.QD = null;
        c.fi = null;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b() {}

          b.Ab = function (a, d) {
            return 0 <= d ? b.K(a) : -b.K(a);
          };

          b.K = function (a) {
            return 0 > a ? -a : a;
          };

          b.Qi = function (a) {
            return 3.552713678800501E-15 > a;
          };

          b.ND = function (a, d, f) {
            return b.K(a - d) <= f * (1 + (b.K(a) + b.K(d)) / 2);
          };

          b.W = function (a, d) {
            return b.ND(a, d, 3.552713678800501E-15);
          };

          b.kW = function (a) {
            return 3.552713678800501E-15 >= b.K(a);
          };

          b.xd = function (a) {
            return b.kW(a);
          };

          return b;
        }();

        c.l = n;

        var g = function () {
          function b() {}

          b.Sp = function (a, d) {
            var b = n.K(a),
                e = n.K(d),
                h = 0;
            0 != b + e && (b > e ? (h = e / b, h = b * Math.sqrt(1 + h * h)) : (h = b / e, h = e * Math.sqrt(1 + h * h)));
            return h;
          };

          b.Or = function (a, d, f, e, h) {
            for (var c = [0, 0, 0], k = [0, 0, 0], m = 0; 2 >= m; m++) d[m] -= a[m], f[m] -= d[m];

            f = c[1] * k[2] - c[2] * k[1];
            d = c[2] * k[0] - c[0] * k[2];
            c = c[0] * k[1] - c[1] * k[0];
            a = -1 * (f * a[0] + d * a[1] + c * a[2]);
            e[0] = f;
            e[1] = d;
            e[2] = c;
            e[3] = a;
            k = b.eo(e);
            e[0] /= k;
            e[1] /= k;
            e[2] /= k;
            e[3] /= k;
            0 != h && (k = n.xd(c) ? n.xd(a) ? n.Ab(1, d) : -n.Ab(1, a) : n.Ab(1, c), k *= n.Ab(1, h), e[0] *= k, e[1] *= k, e[2] *= k, e[3] *= k);
          };

          b.fy = function (a, d, b) {
            b[0] = a[1] * d[2] - d[1] * a[2];
            b[1] = a[2] * d[0] - d[2] * a[0];
            b[2] = a[0] * d[1] - d[0] * a[1];
          };

          b.Eu = function (a, d) {
            return a[0] * d[0] + a[1] * d[1] + a[2] * d[2];
          };

          b.eo = function (a) {
            return b.Sp(b.Sp(a[0], a[1]), a[2]);
          };

          b.Dk = function (a, d, f, e, h, c, k, m) {
            a = b.n(a, d, f);
            var g = Math.cos(f);
            c.j = (a + h) * g * Math.cos(e);
            k.j = (a + h) * g * Math.sin(e);
            m.j = (a * (1 - d) + h) * Math.sin(f);
          };

          b.kQ = function (a, d, f, e, h, c, k) {
            var m = b.Sp(d, f),
                g = 1 * Math.sqrt(1 - a),
                p = g / 1;
            if (n.W(m, 0)) c.j = 0, h.j = n.Ab(1.570796326794897, e), k.j = n.K(e) - g;else {
              c.j = Math.atan2(f, d);
              f = Math.atan2(1 * e, g * m);
              c = Math.cos(f);
              var q = Math.sin(f);
              d = g * a / (1 - a);
              a = 1 * a;
              f = Math.atan2(e + d * q * q * q, m - a * c * c * c);
              3.141592653589793 < n.K(f) && (f = n.Ab(3.141592653589793, f) - f);
              f = Math.atan(p * Math.tan(f));
              q = Math.sin(f);
              c = Math.cos(f);
              h.j = Math.atan2(e + d * q * q * q, m - a * c * c * c);
              1.570796326794897 < n.K(h.j) && (h.j = n.Ab(3.141592653589793, h.j) - h.j);
              f = Math.atan(p * Math.tan(h.j));
              q = Math.sin(f);
              c = Math.cos(f);
              k.j = (e - g * q) * Math.sin(h.j) + (m - 1 * c) * Math.cos(h.j);
            }
          };

          b.n = function (a, d, b) {
            b = Math.sin(b);
            return a / Math.sqrt(1 - d * b * b);
          };

          b.du = function (a, d) {
            return Math.atan2(Math.sin(d) * (1 - a), Math.cos(d));
          };

          b.ik = function (a, d) {
            return Math.atan2(Math.sin(d), Math.cos(d) * (1 - a));
          };

          b.xp = function (a, d) {
            if (n.Qi(a) || 0 == d || n.W(n.K(d), 1.570796326794897)) return d;
            var f, e, h, c, k, m, g, p, q;

            if (.006884661117170036 > a) {
              c = Math.sqrt(1 - a);
              k = (1 - c) / (1 + c);
              m = k * k;
              g = k * m;
              p = k * g;
              f = k * p;
              q = k * f;
              e = k * q;
              h = 1.572916666666667 * g - 3.2578125 * f + 4.295068359375 * e;
              c = 2.142578125 * p - 6.071484375 * q;
              var t = 3.129296875 * f - 11.249837239583334 * e,
                  u = 4.775276692708333 * q,
                  z = 7.958636765252976 * e,
                  v = Math.cos(2 * d);
              return d + Math.sin(2 * d) * (1.5 * k - .84375 * g + .525390625 * f - .2688395182291667 * e - h + t - z + v * (2 * (1.3125 * m - 1.71875 * p + 1.650146484375 * q) - 4 * c + 6 * u + v * (4 * h - 12 * t + 24 * z + v * (8 * c - 32 * u + v * (16 * t - 80 * z + v * (32 * u + 64 * v * z))))));
            }

            c = 1 - a;
            k = a / 2;
            m = n.K(d);
            g = m * b.Tu(a) / (1.570796326794897 * c);
            p = 9999;
            q = m;

            for (m = 0; 1E-16 < p && 50 > m; m++) e = b.Cm(a, q), f = (b.EG(q, a) - k * Math.sin(2 * q) / e) / c - g, e = 1 / (e * e * e), h = f / e, f = q - h, p = n.K(h), q = f;

            return 0 <= d ? q : -q;
          };

          b.qX = function (a, d) {
            return n.Qi(d) ? a : a * b.Tu(d) / 1.570796326794897;
          };

          b.da = function (a) {
            a = b.rG(a, 6.283185307179586);
            return 0 > a ? a + 6.283185307179586 : 3.141592653589793 > n.K(a) || n.W(n.K(a), 3.141592653589793) ? a : a - 6.283185307179586;
          };

          b.rG = function (a, d) {
            return a - Math.floor(a / d) * d;
          };

          b.Yg = function (a, d) {
            if (.006884661117170036 > d) {
              var f = Math.sqrt(1 - d),
                  f = (1 - f) / (1 + f),
                  e = f * f,
                  h = e * e;
              return a / (1 + f) * (1 + .25 * e + .015625 * h + .00390625 * e * h) * 1.570796326794897;
            }

            return a * b.Tu(d);
          };

          b.Nr = function (a, d) {
            var f = n.Ab(1, Math.sin(d)),
                e = n.K(b.rG(d, 3.141592653589793));
            d = 1.570796326794897 >= e ? e : 3.141592653589793 - e;
            var h;
            n.W(d, 1.570796326794897) ? h = d : h = Math.atan(Math.sqrt(1 - a) * Math.tan(d));
            return h * f;
          };

          b.q = function (a, d, f) {
            if (.006884661117170036 > d) {
              d = Math.sqrt(1 - d);
              d = (1 - d) / (1 + d);
              var e = d * d,
                  h = d * e,
                  c = d * h,
                  k = d * c,
                  m = d * k,
                  g = d * m,
                  p = -.7291666666666666 * h + .2278645833333333 * k + .03987630208333334 * g,
                  q = .615234375 * c - .21533203125 * m,
                  t = -.54140625 * k + .20302734375 * g,
                  u = .48876953125 * m,
                  z = -.4488699776785715 * g,
                  n = Math.cos(2 * f);
              return a / (1 + d) * ((1 + .25 * e + .015625 * c + .00390625 * m) * f + Math.sin(2 * f) * (-1.5 * d + .1875 * h + .0234375 * k + .00732421875 * g - p + t - z + n * (2 * (.9375 * e - .234375 * c - .03662109375 * m) - 4 * q + 6 * u + n * (4 * p - 12 * t + 24 * z + n * (8 * q - 32 * u + n * (16 * t - 80 * z + n * (32 * u + 64 * n * z)))))));
            }

            return a * (b.EG(f, d) - .5 * d * Math.sin(2 * f) / b.Cm(d, f));
          };

          b.Cm = function (a, d) {
            var b = Math.sin(d);
            return Math.sqrt(1 - a * b * b);
          };

          b.Tu = function (a) {
            return n.ND(a, 1, 2.220446049250313E-16) ? 1 : 1 > a ? b.Lv(0, 1 - a) - a / 3 * b.Iv(0, 1 - a) : NaN;
          };

          b.EG = function (a, d) {
            var f = n.Ab(1, a);
            a = n.K(a);
            var e = Math.floor(a / 1.570796326794897),
                h;
            if (1 < d) h = 0 == a ? 0 : NaN;else if (n.xd(e)) h = b.sin(a), h = h * b.Lv(1 - h * h, 1 - d * h * h) - d / 3 * h * h * h * b.Iv(1 - h * h, 1 - d * h * h);else {
              h = c.J.truncate(e % 2);
              var l = b.Tu(d);
              0 < h ? (h = Math.sin(1.570796326794897 * (e + 1) - a), h = h * b.Lv(1 - h * h, 1 - d * h * h) - d / 3 * h * h * h * b.Iv(1 - h * h, 1 - d * h * h), h = l * (e + 1) - h) : (h = Math.sin(a - 1.570796326794897 * e), h = h * b.Lv(1 - h * h, 1 - d * h * h) - d / 3 * h * h * h * b.Iv(1 - h * h, 1 - d * h * h), h = l * e + h);
            }
            return h * f;
          };

          b.sin = function (a) {
            a = b.da(a);
            var d = n.Ab(1, a);
            a = n.K(a);
            return n.W(a, 3.141592653589793) ? 0 : n.W(a, 1.570796326794897) ? 1 * d : Math.sin(a) * d;
          };

          b.Iv = function (a, d) {
            for (var b = a, e = d, h = 1, c = 0, k = 1, m, g, p, q;;) {
              m = .2 * (b + e + 3 * h);
              g = (m - b) / m;
              p = (m - e) / m;
              q = (m - h) / m;
              if (1E-4 > n.K(g) && 1E-4 > n.K(p) && 1E-4 > n.K(q)) break;
              q = Math.sqrt(e);
              m = Math.sqrt(h);
              q = Math.sqrt(b) * (q + m) + q * m;
              c += k / (m * (h + q));
              k *= .25;
              b = .25 * (b + q);
              e = .25 * (e + q);
              h = .25 * (h + q);
            }

            b = g * p;
            h = q * q;
            e = b - h;
            h = b - 6 * h;
            g = h + e + e;
            return 3 * c + k * (1 + h * (-.2142857142857143 + .10227272727272728 * h - .1730769230769231 * q * g) + q * (.1666666666666667 * g + q * (-.4090909090909091 * e + .1153846153846154 * q * b))) / (m * Math.sqrt(m));
          };

          b.Lv = function (a, d) {
            for (var b = a, e = d, h, c, k, m, g = 1;; g = .25 * (g + h)) {
              h = (b + e + g) / 3;
              c = 2 - (h + b) / h;
              k = 2 - (h + e) / h;
              m = 2 - (h + g) / h;
              if (1E-4 > n.K(c) && 1E-4 > n.K(k) && 1E-4 > n.K(m)) break;
              h = Math.sqrt(e);
              c = Math.sqrt(g);
              h = Math.sqrt(b) * (h + c) + h * c;
              b = .25 * (b + h);
              e = .25 * (e + h);
            }

            b = c * k - m * m;
            e = c * k * m;
            return (1 + (.04166666666666666 * b - .1 - .06818181818181818 * e) * b + .07142857142857142 * e) / Math.sqrt(h);
          };

          b.Cx = function (a, d) {
            if (n.Qi(a) || 0 == d || n.W(n.K(d), 1.570796326794897)) return d;
            var b, e, h;

            if (.006884661117170036 > a) {
              b = a * a;
              e = a * b;
              h = a * e;
              var c = a * h,
                  k = a * c,
                  m = a * k,
                  g = -(.02708333333333333 * e + .03430059523809524 * h + .03149181547619048 * c + .02634359154541446 * k + .02156896735835538 * m),
                  p = .007669890873015873 * h + .01299603174603175 * c + .0148051353064374 * k + .01454454953803912 * m,
                  q = -(.002275545634920635 * c + .004830845032667949 * k + .006558395368616723 * m),
                  t = 6.957236677288761E-4 * k + .001775193002406544 * m,
                  u = -(2.17324089394402E-4 * m),
                  z = Math.cos(2 * d);
              return d + Math.sin(2 * d) * (-(.5 * a + .2083333333333333 * b + .09375 * e + .04878472222222222 * h + .02916666666666667 * c + .01938905423280423 * k + .01388255931712963 * m) - g + q - u + z * (2 * (.1041666666666667 * b + .0875 * e + .06050347222222222 * h + .04151785714285714 * c + .02958958540013228 * k + .02203667534722222 * m) - 4 * p + 6 * t + z * (4 * g - 12 * q + 24 * u + z * (8 * p - 32 * t + z * (16 * q - 80 * u + z * (32 * t + 64 * z * u))))));
            }

            0 == d || n.W(n.K(d), 1.570796326794897) ? b = d : (e = Math.sqrt(a), h = e * Math.sin(d), b = Math.tan(.7853981633974483 + d / 2) * Math.pow((1 - h) / (1 + h), e / 2), b = 2 * Math.atan(b) - 1.570796326794897);
            return b;
          };

          b.CQ = function (a, d) {
            if (n.Qi(a) || 0 == d || n.W(n.K(d), 1.570796326794897)) return d;
            var b, e;

            if (.006884661117170036 > a) {
              z = a * a;
              q = a * z;
              t = a * q;
              b = a * t;
              u = a * b;
              e = a * u;
              var h = .05833333333333333 * q + .07232142857142858 * t + .05634300595238095 * b + .0355325796406526 * u + .020235546186067 * e,
                  c = .02653149801587302 * t + .04379960317460317 * b + .0429211791776896 * u + .03255384637546096 * e,
                  k = .01294022817460318 * b + .02668104344536636 * u + .03155651254609588 * e,
                  m = .00659454790965208 * u + .0163075268674227 * e,
                  g = .003463473736911237 * e,
                  p = Math.cos(2 * d);
              return d + Math.sin(2 * d) * (.5 * a + .2083333333333333 * z + .08333333333333333 * q + .03611111111111111 * t + .01875 * b + .01195601851851852 * u + .008863673941798942 * e - h + k - g + p * (2 * (.1458333333333333 * z + .1208333333333333 * q + .07039930555555556 * t + .03616071428571429 * b + .01839451058201058 * u + .01017113095238095 * e) - 4 * c + 6 * m + p * (4 * h - 12 * k + 24 * g + p * (8 * c - 32 * m + p * (16 * k - 80 * g + p * (32 * m + 64 * p * g))))));
            }

            for (var q = Math.sqrt(a), t = q / 2, u = Math.tan(.7853981633974483 + d / 2), h = 0, c = 1, z = d; 0 != c; z = e) if (b = q * Math.sin(z), e = u * Math.pow((1 + b) / (1 - b), t), e = 2 * Math.atan(e) - 1.570796326794897, h++, n.W(e, z) || 3E4 < h) c = 0;

            return z;
          };

          return b;
        }();

        c.C = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            this.Zl = this.Pt = null;
            this.vw = !1;
            this.nB = this.oB = 0;
            this.lB = new c.b();
            this.yB = new c.b();
            this.ix = !1;
            this.kr = new c.h();
            this.II = this.fx = 0;
            this.gx = null;
            this.al = !1;
            this.Fr = null;
            this.LA = 0;
            this.uf = b;
            this.wt = c.Ib.iw(this.uf, 0, !0);
            this.lB.$c();
            this.yB.$c();
            this.eJ = NaN;
            var a = b.getCode();
            0 < a ? (this.ll = a, c.Tf.getCode(b)) : this.ll = c.Tf.getCode(b);
            0 > this.ll && (this.ll = 0);
            var d = this.uf.getType();
            this.vI = d == c.Vc.PE_TYPE_PROJCS ? 2 : 1;
            if (d == c.Vc.PE_TYPE_PROJCS && !b.loadConstants()) throw c.g.F("PeProjcs.loadConstants failed");
            a = d == c.Vc.PE_TYPE_GEOGCS ? this.uf : this.uf.getGeogcs();
            d != c.Vc.PE_TYPE_GEOGCS && c.Tf.getCode(a);
            this.Fr = b.getUnit();
            this.eJ = a.getPrimem().getLongitude();
            this.II = b = a.getUnit().getUnitFactor();
            b = Math.PI / (180 * b);
            1E-10 > Math.abs(b - 1) && (b = 1);
            this.nB = b;
            0 != (d & c.Vc.PE_TYPE_PROJCS) ? (a = this.uf, this.oB = 1 / a.getUnit().getUnitFactor(), this.fx = .001 / this.uf.getUnit().getUnitFactor(), this.gx = c.Bg.generate(a, c.Bg.PE_PCSINFO_OPTION_NONE), this.al = this.gx.isPannableRectangle(), this.LA = c.Ib.rP(this.gx.getCentralMeridian(), this.nB)) : (this.ix = this.al = !0, this.oB = 0, d = 1 / a.getUnit().getUnitFactor(), this.fx = .001 / a.getDatum().getSpheroid().getAxis() * d, this.LA = 0);
            this.al && (this.dy(), this.uL(), this.vL(), this.tL(), this.jZ(), this.kZ());
          }

          g.prototype.$s = function () {
            return this.ll;
          };

          g.prototype.Sj = function () {
            return this.gx;
          };

          g.zz = function (b, a) {
            return b == a ? !0 : null != b && null != a && 0 == b.ll && 0 == a.ll ? b.wt === a.wt : !1;
          };

          g.prototype.Jc = function () {
            return this.al;
          };

          g.prototype.Bh = function (b) {
            b.I(this.gp);
          };

          g.prototype.bw = function () {
            return this.gp.o;
          };

          g.prototype.aw = function () {
            return this.gp.v;
          };

          g.prototype.AT = function (b) {
            b.I(this.hx);
          };

          g.prototype.jZ = function () {
            var b = this.uf.getType();

            if (b == c.Vc.PE_TYPE_PROJCS) {
              var b = this.uf,
                  a = this.Sj().getCentralMeridian(),
                  d = b.getGeogcs();
              if (null == d) throw c.g.X("internal error");
              d = 1 / d.getUnit().getUnitFactor() * Math.PI;
              a = [[a + d, 0]];
              c.fi.geogToProj(b, 1, a);
              var a = a[0][0],
                  d = b.getParameters()[c.Vc.PE_PARM_X0].getValue(),
                  f = this.Mk(),
                  b = new c.h();
              f.s(b);
              var f = Math.abs(a - d),
                  a = f + d,
                  d = -1 * f + d,
                  f = b.B,
                  b = b.A,
                  e = new c.h();
              e.I(d, b, a, f);
              null == this.gp && (this.gp = e);
            } else if (b == c.Vc.PE_TYPE_GEOGCS) d = 1 / this.uf.getUnit().getUnitFactor() * Math.PI, b = new c.h(), b.I(-d, -d / 2, d, d / 2), null == this.gp && (this.gp = b);else throw c.g.X("internal error");
          };

          g.prototype.kZ = function () {
            var b = this.uf.getType();

            if (b == c.Vc.PE_TYPE_PROJCS) {
              var a = this.uf,
                  b = this.Sj().getCentralMeridian(),
                  a = a.getGeogcs();
              if (null == a) throw c.g.X("internal error");
              var a = 1 / a.getUnit().getUnitFactor() * Math.PI,
                  d = this.Vs(),
                  f = new c.h();
              d.s(f);
              d = new c.h();
              d.I(b - a, f.A, b + a, f.B);
              null == this.hx && (this.hx = d);
            } else if (b == c.Vc.PE_TYPE_GEOGCS) a = 1 / this.uf.getUnit().getUnitFactor() * Math.PI, b = new c.h(), b.I(-a, -a / 2, a, a / 2), null == this.hx && (this.hx = b);else throw c.g.X("internal error");
          };

          g.prototype.ee = function () {
            return this.nB;
          };

          g.prototype.bn = function () {
            return this.oB;
          };

          g.prototype.Vs = function () {
            if (this.al) return this.Zl;
            var b = this.Zl;
            if (null != b) return b;
            this.dy();
            return this.Zl;
          };

          g.prototype.Ws = function () {
            if (this.al) return null;
            if (null != this.Zl) return this.hI;
            this.dy();
            return this.hI;
          };

          g.prototype.dy = function () {
            if (this.uf.getType() == c.Vc.PE_TYPE_PROJCS) {
              var b;
              b = this.uf;
              var a = b.getGeogcs(),
                  d = b.horizonGcsGenerate();

              if (null != d) {
                var f = d[0].getNump(),
                    e = d[0].getKind();
                b = 0 < d[0].getInclusive();
                var h = this.ee(),
                    l = 90 * h,
                    k = 360 * h,
                    m = 370 * h,
                    g = 180 * h * c.Vc.PE_HORIZON_DELTA / Math.PI,
                    p = new c.h(),
                    q = null;
                if (1 < f) for (var t = 1; t < f; t++) if (d[t].getKind() == c.Vc.PE_HORIZON_LINE) {
                  null == q && (q = new c.Ua());
                  var u = d[t].getCoord();
                  q.$x(u[0][0], u[0][1]);
                  q.Xj(u[1][0], u[1][1]);
                }
                if (e == c.Vc.PE_HORIZON_RECT) d = d[0].getCoord(), p.I(d[0][0], d[0][1]), p.Nb(d[1][0], d[1][1]), Math.abs(p.B - l) < 1E-7 * g && (p.B = l), Math.abs(p.A + l) < 1E-7 * g && (p.A = -l), p.N() > m && (d = -400 * h, p.I(d, p.A, d + 5 * k, p.B)), d = new c.ci(p), null == this.Zl && (this.Zl = d, this.vw = b);else {
                  m = new c.Ja();
                  k = this.Sj().isGcsHorizonMultiOverlap();
                  p = c.Ou.jG(a, c.ts.Integer64);

                  if (k) {
                    m = new c.RM();
                    g = c.ei.local().V(m, p, null);

                    for (t = 0; t < f; t++) if (d[t].getKind() == c.Vc.PE_HORIZON_POLY) {
                      a = d[t].getSize();
                      h = d[t].getCoord();
                      e = [];

                      for (l = 0; l < a; l++) e[l] = c.b.pa(h[l][0], h[l][1]);

                      d[t].getInclusive();
                      k && (h = new c.Ja(), h.Bl(e, a - 1), m.TY(h), g.Re());
                    }

                    m = g.next();
                  } else for (t = 0; t < f; t++) if (d[t].getKind() == c.Vc.PE_HORIZON_POLY) {
                    a = d[t].getSize();
                    h = d[t].getCoord();
                    k = [];

                    for (l = 0; l < a; l++) k[l] = c.b.pa(h[l][0], h[l][1]);

                    d[t].getInclusive();
                    m.Bl(k, a - 1);
                  }

                  b ? c.tk.local().qo(m, p, 1) : c.cq.local().qo(m, p, 1);
                  c.Gj.local().qo(m, p, 1);
                  null == this.Zl && (this.Zl = m, this.vw = b, this.hI = q);
                }
              }
            }
          };

          g.prototype.Uv = function () {
            if (this.al) return this.vw;
            null == this.Zl && this.dy();
            return this.vw;
          };

          g.prototype.uL = function () {
            if (2 == this.vI) {
              var b = this.uf.horizonPcsGenerate();

              if (null != b) {
                var a = b[0].getKind();
                b[0].getInclusive();
                var d = b[0].getNump(),
                    f = !1;
                if (a == c.Vc.PE_HORIZON_RECT) b = b[0].getCoord(), d = new c.h(), d.I(b[0][0], b[0][1]), d.Nb(b[1][0], b[1][1]), b = new c.ci(d);else {
                  a = -1;

                  for (f = 0; f < d; f++) b[f].getKind() == c.Vc.PE_HORIZON_POLY && (a = f);

                  f = b[a].getSize() - 1;
                  b = b[a].getCoord();
                  d = [];

                  for (a = 0; a < f; a++) d[a] = c.b.pa(b[a][0], b[a][1]);

                  b = a = new c.Ja();
                  a.Bl(d, f);
                  f = !0;
                }
                this.Sj().isDensificationNeeded() && (d = 1E5 * this.bn(), b = c.Jm.local().V(b, d, null));
                f && (f = new c.ci(), b.Qn(f), b.hf(), b.Rb(), b.hT(), c.tk.local().qo(b, null, 1));
                null == this.Pt && (this.Pt = b);
              }
            }
          };

          g.prototype.Mk = function () {
            if (this.al) return this.Pt;
            var b = this.Pt;
            if (null != b) return b;
            this.uL();
            return this.Pt;
          };

          g.prototype.vL = function () {
            if (this.uf.getType() == c.Vc.PE_TYPE_PROJCS) {
              var b = 90 * this.ee(),
                  b = [[0, b], [0, -b]];
              c.fi.geogToProj(this.uf, 2, b);
              var a = this.Sj(),
                  d = a.getNorthPoleLocation() != c.Bg.PE_POLE_OUTSIDE_BOUNDARY,
                  a = a.getSouthPoleLocation() != c.Bg.PE_POLE_OUTSIDE_BOUNDARY;
              this.ix || (d && this.lB.ka(b[0][0], b[0][1]), a && this.yB.ka(b[1][0], b[1][1]));
            }

            this.ix = !0;
          };

          g.prototype.eA = function (b, a) {
            this.al || this.ix || this.vL();
            b ? a.L(this.yB) : a.L(this.lB);
          };

          g.prototype.tL = function () {
            if (1 == this.vI) {
              var b = 400 * this.ee();
              this.kr.I(-b, -b, b, b);
            } else b = c.Bg.generate(this.uf, c.Bg.PE_PCSINFO_OPTION_DOMAIN), b = c.h.pa(b.getDomainMinx(), b.getDomainMiny(), b.getDomainMaxx(), b.getDomainMaxy()), this.kr.u() && this.kr.I(b);
          };

          g.prototype.$S = function (b) {
            this.al && b.I(this.kr);
            this.kr.u() && this.tL();
            b.I(this.kr);
          };

          g.prototype.dn = function () {
            return this.eJ;
          };

          g.prototype.pi = function () {
            return this.LA;
          };

          g.prototype.Nd = function () {
            return this.Fr;
          };

          g.prototype.Xs = function () {
            return this.II;
          };

          return g;
        }();

        c.UD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            this.JV = b;
            this.wt = c.Ib.iw(b, 0, !0);
            var a = b.getCode();
            this.nt = 0 < a ? a : c.Tf.getCode(b);
            0 > this.nt && (this.nt = 0);
            this.Fr = a = this.JV.getUnit();
            this.XI = 1 / a.getUnitFactor();
            c.Tf.getCode(b);
          }

          g.zz = function (b, a) {
            return b == a ? !0 : null != b && null != a && 0 == b.nt && 0 == a.nt ? b.wt === a.wt : !1;
          };

          g.prototype.$s = function () {
            return this.nt;
          };

          return g;
        }();

        c.GN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Cb = function (b, a, d, f, e, h, l, k) {
            if (null != h || null != l || null != k) {
              f = c.C.da(f);
              a = c.C.da(a);
              d = c.C.da(d);
              e = c.C.da(e);
              1.570796326794897 < c.l.K(d) && (d = c.l.Ab(3.141592653589793, d) - d, a = c.C.da(a + 3.141592653589793));
              1.570796326794897 < c.l.K(e) && (e = c.l.Ab(3.141592653589793, e) - e, f = c.C.da(f + 3.141592653589793));
              var m = c.C.da(f - a);
              if (c.l.W(d, e) && (c.l.W(a, f) || c.l.W(c.l.K(d), 1.570796326794897))) null != h && (h.j = 0), null != l && (l.j = 0), null != k && (k.j = 0);else {
                if (c.l.W(d, -e)) {
                  if (c.l.W(c.l.K(d), 1.570796326794897)) {
                    null != h && (h.j = 3.141592653589793 * b);
                    null != l && (l.j = 0 < d ? c.C.da(3.141592653589793 - c.C.da(f)) : c.C.da(f));
                    null != k && (k.j = 0 < d ? c.C.da(f) : c.C.da(3.141592653589793 - c.C.da(f)));
                    return;
                  }

                  if (c.l.W(c.l.K(m), 3.141592653589793)) {
                    null != h && (h.j = 3.141592653589793 * b);
                    null != l && (l.j = 0);
                    null != k && (k.j = 0);
                    return;
                  }
                }

                var g = 1.570796326794897 == c.l.K(d) ? 0 : Math.cos(d),
                    p = Math.sin(d),
                    q = 1.570796326794897 == c.l.K(e) ? 0 : Math.cos(e),
                    t = Math.sin(e),
                    u = 1.570796326794897 == c.l.K(m) ? 0 : Math.cos(m),
                    z = 3.141592653589793 == c.l.K(m) ? 0 : Math.sin(m);

                if (null != h) {
                  var n = Math.sin((e - d) / 2),
                      m = Math.sin(m / 2);
                  h.j = 2 * Math.asin(Math.sqrt(n * n + g * q * m * m)) * b;
                }

                null != l && (c.l.W(c.l.K(d), 1.570796326794897) ? l.j = 0 > d ? f : c.C.da(3.141592653589793 - f) : l.j = Math.atan2(q * z, g * t - p * q * u));
                null != k && (c.l.W(c.l.K(e), 1.570796326794897) ? k.j = 0 > e ? a : c.C.da(3.141592653589793 - a) : (k.j = Math.atan2(g * z, t * g * u - q * p), k.j = c.C.da(k.j + 3.141592653589793)));
              }
            }
          };

          g.Uf = function (b, a, d, f, e, h, l) {
            if (null != h || null != l) {
              a = c.C.da(a);
              d = c.C.da(d);
              1.570796326794897 < c.l.K(d) && (d = c.l.Ab(3.141592653589793, d) - d, a = c.C.da(a + 3.141592653589793));
              c.l.W(c.l.K(d), 1.570796326794897) && (a = 0);
              e = c.C.da(e);
              var k = c.l.W(c.l.K(e), 1.570796326794897) ? 0 : Math.cos(e),
                  m = c.l.W(c.l.K(e), 3.141592653589793) ? 0 : Math.sin(e),
                  g = c.l.W(c.l.K(d), 1.570796326794897) ? 0 : Math.cos(d),
                  p = Math.sin(d);
              b = f / b;
              f = c.l.W(c.l.K(b), 1.570796326794897) ? 0 : Math.cos(b);
              var q = c.l.W(c.l.K(b), 3.141592653589793) ? 0 : Math.sin(b),
                  t = Math.asin(p * f + g * q * k);
              null != l && (l.j = t);
              null != h && (h.j = c.l.W(c.l.K(t), 1.570796326794897) ? c.l.W(d, -t) ? 0 > t ? e : c.C.da(3.141592653589793 - e) : a : c.l.W(c.l.K(d), 1.570796326794897) && c.l.W(b, 3.141592653589793) ? 0 > d ? e : c.C.da(3.141592653589793 - e) : c.C.da(a + Math.atan2(q * m, g * f - p * q * k)));
            }
          };

          return g;
        }();

        c.vh = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Cb = function (b, a, d, f, e, h, l, k, m) {
            var g = new c.ea(0),
                p = new c.ea(0),
                q = [0, 0, 0],
                t = [0, 0, 0],
                u = [0, 0, 0],
                z = new c.ea(0),
                n = new c.ea(0),
                x = new c.ea(0),
                B = new c.ea(0),
                r = new c.ea(0);
            if (null != l || null != k || null != m) if (c.l.Qi(a)) c.vh.Cb(b, d, f, e, h, l, k, m);else {
              e = c.C.da(e);
              d = c.C.da(d);
              var A = c.C.da(e - d);
              if (c.l.W(f, h) && (c.l.W(d, e) || c.l.W(c.l.K(f), 1.570796326794897))) null != l && (l.j = 0), null != k && (k.j = 0), null != m && (m.j = 0);else {
                if (c.l.W(f, -h)) {
                  if (c.l.W(c.l.K(f), 1.570796326794897)) {
                    null != l && (l.j = 2 * c.C.Yg(b, a));
                    null != k && (k.j = 0 < f ? c.C.da(3.141592653589793 - c.C.da(e)) : c.C.da(e));
                    null != m && (m.j = 0 < f ? c.C.da(e) : c.C.da(3.141592653589793 - c.C.da(e)));
                    return;
                  }

                  c.l.W(c.l.K(A), 3.141592653589793) && (null != l && (l.j = 2 * c.C.Yg(b, a)), null != k && (k.j = 0), null != m && (m.j = 0));
                } else if (c.l.W(c.l.K(f), 1.570796326794897) || c.l.W(c.l.K(h), 1.570796326794897)) c.l.W(c.l.K(f), 1.570796326794897) ? d = e : e = d;

                var C = 0,
                    D;
                0 > A && (C = 1, D = d, d = e, e = D, D = f, f = h, h = D);
                var A = c.C.du(a, f),
                    E = c.C.du(a, h);
                if (null != k || null != m) c.vh.Cb(b, d, A, e, E, null, g, p), g = Math.atan2(Math.sin(g.j) * Math.cos(f - A), Math.cos(g.j)), p = Math.atan2(Math.sin(p.j) * Math.cos(h - E), Math.cos(p.j)), 0 != C && (D = g, g = p, p = D), null != k && (k.j = g), null != m && (m.j = p);
                null != l && (c.C.Dk(1, a, f, d, 0, x, B, r), q[0] = x.j, q[1] = B.j, q[2] = r.j, c.C.Dk(1, a, h, e, 0, x, B, r), t[0] = x.j, t[1] = B.j, t[2] = r.j, u[0] = q[1] * t[2] - t[1] * q[2], u[1] = -(q[0] * t[2] - t[0] * q[2]), u[2] = q[0] * t[1] - t[0] * q[1], a = 1 - c.C.Cm(a, c.C.Nr(a, c.C.ik(a, Math.acos(u[2] / Math.sqrt(u[0] * u[0] + u[1] * u[1] + u[2] * u[2]))))), a *= 2 - a, k = Math.atan2(-u[1], -u[0]), u = c.C.da(k - 1.570796326794897), k = c.C.da(k + 1.570796326794897), u = c.l.K(c.C.da(d - u)) <= c.l.K(c.C.da(d - k)) ? u : k, c.vh.Cb(1, u, 0, d, A, z, null, null), c.vh.Cb(1, u, 0, e, E, n, null, null), 3.141592653589793 < z.j + n.j && (u = c.C.da(u + 3.141592653589793), c.vh.Cb(1, u, 0, d, A, z, null, null), c.vh.Cb(1, u, 0, e, E, n, null, null)), z.j *= c.l.Ab(1, f), n.j *= c.l.Ab(1, h), z.j = c.C.ik(a, z.j), n.j = c.C.ik(a, n.j), d = c.C.q(b, a, z.j), b = c.C.q(b, a, n.j), l.j = c.l.K(b - d));
              }
            }
          };

          g.Uf = function (b, a, d, f, e, h, l, k) {
            var m = 0,
                g = new c.ea(0),
                p = new c.ea(0),
                q = [0, 0, 0],
                t = [0, 0, 0],
                u = new c.ea(0),
                z = new c.ea(0),
                n = new c.ea(0);
            if (null != l || null != k) if (c.l.Qi(a)) c.vh.Uf(b, d, f, e, h, l, k);else if (c.l.xd(e)) null != l && (l.j = d), null != k && (k.j = f);else {
              h = c.C.da(h);
              0 > e && (e = c.l.K(e), h = c.C.da(h + 3.141592653589793));
              d = c.C.da(d);
              f = c.C.da(f);
              1.570796326794897 < c.l.K(f) && (d = c.C.da(d + 3.141592653589793), f = c.l.Ab(3.141592653589793, f) - f);
              c.l.W(c.l.K(f), 1.570796326794897) && (d = 0);
              var x;
              if (c.l.xd(f)) x = c.l.K(1.570796326794897 - c.l.K(h)), x = c.C.ik(a, x), x = 1 - c.C.Cm(a, c.C.Nr(a, x)), x *= 2 - x, b = e / c.C.Yg(b, x) * 1.570796326794897, b = c.C.xp(x, b), b = c.C.du(x, b), c.vh.Uf(1, d, f, b, h, l, g), null != k && (m = g.j), null != k && (k.j = c.C.ik(a, m));else if (c.l.W(c.l.K(f), 1.570796326794897)) m = c.C.Yg(b, a), g = 2 * m, b = c.l.Ab(1.570796326794897, f), h = 0 < b ? c.C.da(3.141592653589793 - h) : h, f = m - e, c.l.K(f) <= m ? null != l && (l.j = h) : (f = Math.floor(e / g), 0 == c.J.truncate(f % 2) ? (null != l && (l.j = h), f = m - (e - f * g)) : (null != l && (l.j = c.C.da(h + 3.141592653589793)), f = m - ((f + 1) * g - e))), null != k && (k.j = c.C.xp(a, f / m * b));else {
                x = c.C.du(a, f);
                h = Math.atan2(Math.sin(h), Math.cos(h) * Math.cos(f - x));
                var B = c.J.truncate(c.l.Ab(1, x)) * (1.570796326794897 >= c.l.K(h) ? 1 : -1);
                h = c.C.da(d + Math.atan(Math.tan(h) * -Math.sin(x)));
                c.vh.Cb(b, h, 0, d, x, null, p, null);
                x = c.l.K(1.570796326794897 - c.l.K(p.j));
                x = c.C.ik(a, x);
                x = 1 - c.C.Cm(a, c.C.Nr(a, x));
                x *= 2 - x;
                c.C.Dk(1, a, 0, h, 0, u, z, n);
                q[0] = u.j;
                q[1] = z.j;
                q[2] = n.j;
                c.C.Dk(1, a, f, d, 0, u, z, n);
                t[0] = u.j;
                t[1] = z.j;
                t[2] = n.j;
                f = Math.acos((q[0] * t[0] + q[1] * t[1] + q[2] * t[2]) / Math.sqrt(t[0] * t[0] + t[1] * t[1] + t[2] * t[2]));
                f = c.C.ik(x, f);
                f = c.C.q(b, x, f) + e * B;
                e = 0 < f ? p.j : c.C.da(p.j + 3.141592653589793);
                b = c.l.K(f) / c.C.Yg(b, x) * 1.570796326794897;
                b = c.C.xp(x, b);
                b = c.C.du(x, b);
                c.vh.Uf(1, h, 0, b, e, l, g);
                null != k && (m = g.j);
                null != k && (k.j = c.C.ik(a, m));
              }
            }
          };

          return g;
        }();

        c.yl = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Cb = function (b, a, d, f, e, h, l, k, m) {
            var g = 0,
                p = 0,
                q = 0;
            if (null != l || null != k || null != m) if (c.l.Qi(a)) c.vh.Cb(b, d, f, e, h, l, k, m);else {
              var t = c.C.da(e - d);
              if (c.l.W(f, h) && (c.l.xd(t) || c.l.W(c.l.K(f), 1.570796326794897))) null != l && (l.j = 0), null != k && (k.j = 0), null != m && (m.j = 0);else {
                if (c.l.W(f, -h)) {
                  if (c.l.W(c.l.K(f), 1.570796326794897)) {
                    null != l && (l.j = 2 * c.C.Yg(b, a));
                    null != k && (k.j = 0 < f ? c.C.da(3.141592653589793 - c.C.da(e)) : c.C.da(e));
                    null != m && (m.j = 0 < f ? c.C.da(e) : c.C.da(3.141592653589793 - c.C.da(e)));
                    return;
                  }

                  c.l.W(c.l.K(t), 3.141592653589793) && (null != l && (l.j = 2 * c.C.Yg(b, a)), null != k && (k.j = 0), null != m && (m.j = 0));
                } else {
                  if (c.l.W(c.l.K(f), 1.570796326794897) || c.l.W(c.l.K(h), 1.570796326794897)) {
                    c.yl.Cb(b, a, d, f, e, h, l, k, m);
                    return;
                  }

                  if (c.l.xd(t) || c.l.W(c.l.K(t), 3.141592653589793)) {
                    c.yl.Cb(b, a, d, f, e, h, l, k, m);
                    return;
                  }
                }

                var u = 1 - Math.sqrt(1 - a),
                    z = a / (1 - a),
                    n = b * (1 - u);
                b = c.C.Nr(a, f);
                var x = c.C.Nr(a, h);
                a = 1.570796326794897 == c.l.K(b) ? 0 : Math.cos(b);
                var B = Math.sin(b),
                    r = 1.570796326794897 == c.l.K(x) ? 0 : Math.cos(x),
                    A = Math.sin(x),
                    C = t,
                    D = Math.cos(C),
                    E = Math.sin(C),
                    F = 1,
                    G = 0,
                    H,
                    I,
                    K,
                    S,
                    L;

                do {
                  H = C;
                  I = Math.sqrt(Math.pow(r * E, 2) + Math.pow(a * A - B * r * D, 2));
                  K = B * A + a * r * D;
                  S = Math.atan2(I, K);

                  if (0 == I) {
                    F = 0;
                    break;
                  }

                  L = a * r * E / I;
                  g = Math.cos(Math.asin(L));
                  g *= g;
                  p = K - 2 * B * A / g;
                  1 < c.l.K(p) && (p = c.l.Ab(1, p));
                  q = p * p;
                  C = u / 16 * g * (4 + u * (4 - 3 * g));
                  C = t + (1 - C) * u * L * (S + C * I * (p + C * K * (2 * q - 1)));
                  D = Math.cos(C);
                  E = Math.sin(C);
                  G++;

                  if (3.141592653589793 < c.l.K(C) && 30 < G) {
                    F = 0;
                    break;
                  }
                } while (5E3 >= G && !c.l.W(H, C));

                if (0 != F) z *= g, u = z * (256 + z * (-128 + z * (74 - 47 * z))) / 1024, null != l && (l.j = n * (1 + z * (4096 + z * (-768 + z * (320 - 175 * z))) / 16384) * (S - u * I * (p + u / 4 * (K * (2 * q - 1) - u / 6 * p * (4 * I * I - 3) * (4 * q - 3))))), null != k && (c.l.W(c.l.K(f), 1.570796326794897) ? k.j = 0 > f ? e : c.C.da(3.141592653589793 - e) : k.j = Math.atan2(r * E, a * A - B * r * D)), null != m && (c.l.W(c.l.K(h), 1.570796326794897) ? m.j = 0 > h ? d : c.C.da(3.141592653589793 - d) : (m.j = Math.atan2(a * E, a * A * D - B * r), m.j = c.C.da(m.j + 3.141592653589793)));else {
                  C = c.l.Ab(3.141592653589793, t);
                  K = B * A - a * r;
                  S = Math.acos(K);
                  I = Math.sin(S);
                  g = 1;
                  G = L = 0;

                  do q = L, g *= g, D = g * g, L = u * g * (1 + u + u * u), p = u * u * D * (1 + 2.25 * u), F = u * u * u * D * g, D = 1 - .25 * L + .1875 * p - .1953125 * F, L = .25 * L - .25 * p + .29296875 * F, E = .03125 * p - .05859375 * F, F *= .00651041666666667, p = K - 2 * B * A / g, 1 < c.l.K(p) && (p = c.l.Ab(1, p)), g = Math.acos(p), K = Math.cos(2 * g), H = Math.cos(3 * g), L = c.l.W(f, -h) ? c.C.da(3.141592653589793 - t) / (3.141592653589793 * u * D) : c.C.da(C - t) / (u * (D * S + L * I * p + E * Math.sin(2 * S) * K + F * Math.sin(3 * S) * H)), E = L * I / (a * r), C = 1.570796326794897 < c.l.K(t) ? c.l.Ab(3.141592653589793, E) - Math.asin(E) : Math.asin(E), D = Math.cos(C), I = Math.sqrt(Math.pow(r * E, 2) + Math.pow(a * A - B * r * D, 2)), S = 3.141592653589793 - Math.asin(c.l.K(I)), K = Math.cos(S), g = Math.cos(Math.asin(L)), G++; while (70 >= G && !c.l.W(q, L));

                  null != l && (g *= g, z *= g, D = 1 + z * (4096 + z * (-768 + z * (320 - 175 * z))) / 16384, c.l.W(f, -h) ? l.j = 3.141592653589793 * n * D : (p = K - 2 * B * A / g, g = Math.acos(p), K = Math.cos(2 * g), H = Math.cos(3 * g), l.j = n * (D * S + z * (-512 + z * (128 + z * (-60 + 35 * z))) / 2048 * I * p + z * (-4 + 5 * z) / 6144 * z * z * Math.sin(2 * S) * K + F * Math.sin(3 * S) * H + -7.62939453125E-5 * z * z * z * z * Math.sin(4 * S) * Math.cos(4 * g))));
                  null != k && (c.l.xd(f) && c.l.xd(h) ? (g = Math.sqrt(1 - L * L), k.j = Math.acos(g), 0 > t && (k.j *= -1)) : c.l.W(c.l.K(f), 1.570796326794897) ? k.j = 0 > f ? e : c.C.da(3.141592653589793 - e) : (l = L / a, n = Math.sqrt(1 - l * l), 0 > a * A - B * r * Math.cos(C) && (n *= -1), k.j = Math.atan2(l, n), c.l.W(f, -h) && c.l.K(c.C.da(d - e)) > 3.141592653589793 * (1 - u * Math.cos(f)) && (0 < f && 1.570796326794897 > c.l.K(k.j) || 0 > f && 1.570796326794897 < c.l.K(k.j)) && (k.j = c.l.Ab(3.141592653589793, k.j) - k.j)));
                  if (null != m) if (c.l.xd(f) && c.l.xd(h)) g = Math.sqrt(1 - L * L), m.j = Math.acos(g), 0 <= t && (m.j *= -1);else if (c.l.W(c.l.K(h), 1.570796326794897)) m.j = 0 > h ? d : c.C.da(3.141592653589793 - d);else if (t = L / r, l = Math.sqrt(1 - t * t), n = Math.sin(C / 2), 0 > Math.sin(x - b) - 2 * a * A * n * n && (l *= -1), m.j = Math.atan2(t, l), m.j = c.C.da(m.j + 3.141592653589793), c.l.W(f, -h) && !c.l.xd(f) && !c.l.W(c.l.K(f), 1.570796326794897) && c.l.K(c.C.da(d - e)) > 3.141592653589793 * (1 - u * Math.cos(f)) && (null != k ? n = k.j : (l = L / a, n = Math.sqrt(1 - l * l), 0 > a * A - B * r * Math.cos(C) && (n *= -1), n = Math.atan2(l, n), c.l.W(f, -h) && c.l.K(c.C.da(d - e)) > 3.141592653589793 * (1 - u * Math.cos(f)) && (0 < f && 1.570796326794897 > c.l.K(n) || 0 > f && 1.570796326794897 < c.l.K(n)) && (n = c.l.Ab(3.141592653589793, n) - n)), 1.570796326794897 >= c.l.K(n) && 1.570796326794897 < c.l.K(m.j) || 1.570796326794897 <= c.l.K(n) && 1.570796326794897 > c.l.K(m.j))) m.j = -1 * c.C.da(m.j + 3.141592653589793);
                }
              }
            }
          };

          g.Uf = function (b, a, d, f, e, h, l, k) {
            if (null != l || null != k) if (c.l.Qi(a)) c.vh.Uf(b, d, f, e, h, l, k);else if (h = c.C.da(h), c.l.W(c.l.K(f), 1.570796326794897) || c.l.xd(h) || c.l.W(c.l.K(h), 3.141592653589793)) c.yl.Uf(b, a, d, f, e, h, l, k);else {
              var m = 1.570796326794897 == c.l.K(h) ? 0 : Math.cos(h),
                  g = 3.141592653589793 == c.l.K(h) ? 0 : Math.sin(h);
              c.l.W(c.l.K(f), 1.570796326794897) && (d = 0);
              h = 1 - Math.sqrt(1 - a);
              var p = c.C.Nr(a, f);
              f = 1.570796326794897 == c.l.K(p) ? 0 : Math.cos(p);
              var q = Math.sin(p),
                  p = Math.atan2(Math.tan(p), m),
                  t = f * g,
                  u = t * t,
                  z = 1 - u,
                  n = a / (1 - a) * z;
              a = n * (256 + n * (-128 + n * (74 - 47 * n))) / 1024;
              var x = a / 4,
                  r = a / 6,
                  y = e / (b * (1 - h) * (1 + n * (4096 + n * (-768 + n * (320 - 175 * n))) / 16384)),
                  A = y,
                  C;

              do {
                C = A;
                e = 1.570796326794897 == c.l.K(A) ? 0 : Math.cos(A);
                var n = 3.141592653589793 == c.l.K(A) ? 0 : Math.sin(A),
                    D = n * n;
                b = Math.cos(2 * p + A);
                A = b * b;
                A = a * n * (b + x * (e * (2 * A - 1) - r * b * (4 * D - 3) * (4 * A - 3))) + y;
              } while (!c.l.W(C, A));

              e = 1.570796326794897 == c.l.K(A) ? 0 : Math.cos(A);
              n = 3.141592653589793 == c.l.K(A) ? 0 : Math.sin(A);
              null != l && (g = Math.atan2(n * g, f * e - q * n * m), z = h / 16 * z * (4 + h * (4 - 3 * z)), b = Math.cos(2 * p + A), l.j = c.C.da(d + (g - (1 - z) * h * t * (A + z * n * (b + z * e * (2 * b * b - 1))))));
              null != k && (z = q * n - f * e * m, z = (1 - h) * Math.sqrt(u + z * z), k.j = Math.atan2(q * e + f * n * m, z));
            }
          };

          return g;
        }();

        c.Nu = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Cb = function (b, a, d, f, e, h, l, k, m) {
            var g = c.C.da(e - d),
                p = c.l.W(c.l.K(f), 1.570796326794897),
                q = c.l.W(c.l.K(h), 1.570796326794897);
            if (c.l.W(f, h) && (c.l.xd(g) || p)) null != l && (l.j = 0), null != k && (k.j = 0), null != m && (m.j = 0);else {
              var t, u;
              c.l.Qi(a) ? (t = Math.sin(f), u = Math.sin(h), t = Math.sqrt((1 + t) / (1 - t)), u = Math.sqrt((1 + u) / (1 - u)), t = Math.log(u) - Math.log(t), t = Math.atan2(g, t), null != l && (l.j = c.l.W(f, h) ? c.l.K(b * Math.cos(f) * g) : c.l.K((b * h - b * f) / Math.cos(t)))) : (u = c.C.Cx(a, h), t = Math.sin(c.C.Cx(a, f)), u = Math.sin(u), t = Math.sqrt((1 + t) / (1 - t)), u = Math.sqrt((1 + u) / (1 - u)), t = Math.log(u) - Math.log(t), t = Math.atan2(g, t), null != l && (c.l.W(f, h) ? l.j = c.l.K(b * g * Math.cos(f) / c.C.Cm(a, f)) : (g = c.C.q(b, a, f), b = c.C.q(b, a, h), l.j = c.l.K((b - g) / Math.cos(t)))));
              if (null != k || null != m) l = c.C.da(t + 3.141592653589793), p && q || !p && !q || (p ? t = 0 > f ? e : c.C.da(3.141592653589793 - e) : q && (l = 0 > h ? d : c.C.da(3.141592653589793 - d))), null != k && (k.j = t), null != m && (m.j = l);
            }
          };

          g.Uf = function (b, a, d, f, e, h, l, k) {
            h = c.C.da(h);
            0 > e && (e = c.l.K(e), h = c.C.da(h + 3.141592653589793));
            c.l.Qi(a) ? c.l.W(c.l.K(f), 1.570796326794897) ? (d = 0 > f ? h : c.C.da(3.141592653589793 - h), h = e / b % 6.283185307179586, 3.141592653589793 >= h ? b = f - c.l.Ab(h, f) : (d = c.C.da(d + 3.141592653589793), b = -f + c.l.Ab(h - 3.141592653589793, f))) : c.l.W(c.l.K(h), 1.570796326794897) ? (d = c.C.da(d + c.l.Ab(e, h) / (b * Math.cos(f))), b = f) : (b = f + e * Math.cos(h) / b, 1.570796326794897 < c.l.K(b) && (b = 1.570796326794897), c.l.W(c.l.K(b), 1.570796326794897) && (c.l.xd(h) || c.l.W(c.l.K(h), 3.141592653589793)) || (1.570796316258184 < c.l.K(b) && (b = c.l.Ab(1.570796316258184, b)), a = Math.sin(f), f = Math.sin(b), a = Math.sqrt((1 + a) / (1 - a)), f = Math.sqrt((1 + f) / (1 - f)), a = Math.log(f) - Math.log(a), d = c.C.da(d + Math.tan(h) * a))) : c.l.W(c.l.K(f), 1.570796326794897) ? (d = 0 > f ? h : c.C.da(3.141592653589793 - h), h = e / c.C.qX(b, a), h %= 6.283185307179586, 3.141592653589793 >= h ? (b = f - c.l.Ab(h, f), b = c.C.xp(a, b)) : (d = c.C.da(d + 3.141592653589793), b = -f + c.l.Ab(h - 3.141592653589793, f), b = c.C.xp(a, b))) : c.l.W(c.l.K(h), 1.570796326794897) ? (d = c.C.da(d + c.l.Ab(e, h) * c.C.Cm(a, f) / (b * Math.cos(f))), b = f) : (b = 1.570796326794897 * (e * Math.cos(h) + c.C.q(b, a, f)) / c.C.Yg(b, a), 1.570796326794897 < c.l.K(b) && (b = c.l.Ab(1.570796326794897, b)), b = c.C.xp(a, b), c.l.W(c.l.K(b), 1.570796326794897) && (c.l.xd(h) || c.l.W(c.l.K(h), 3.141592653589793)) || (e = c.C.Cx(a, f), f = c.C.Cx(a, b), 1.570796316258184 < c.l.K(f) && (f = c.l.Ab(1.570796316258184, b), b = c.C.CQ(a, f)), a = Math.sin(e), f = Math.sin(f), a = Math.sqrt((1 + a) / (1 - a)), f = Math.sqrt((1 + f) / (1 - f)), a = Math.log(f) - Math.log(a), d = c.C.da(d + Math.tan(h) * a)));
            null != l && (l.j = d);
            null != k && (k.j = b);
          };

          return g;
        }();

        c.VD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Gz = function (b, a, d, f, e, h, l) {
            c.Nu.Cb(b, a, d, f, e, h, null, l, null);
          };

          g.Xi = function (b, a, d, f, e, h, l, k) {
            c.Nu.Uf(b, a, d, f, e, h, l, k);
          };

          g.Ld = function (b, a, d, f, e, h, l, k, m, g) {
            switch (g) {
              case 2:
                c.yl.Cb(b, a, d, f, e, h, l, k, m);
                break;

              case 3:
                c.WD.Cb(b, a, d, f, e, h, l, k, m);
                break;

              case 1:
                c.VD.Cb(b, a, d, f, e, h, l, k, m);
                break;

              default:
                c.Nu.Cb(b, a, d, f, e, h, l, k, m);
            }
          };

          g.Oj = function (b, a, d, f, e, h, l, k, m) {
            switch (m) {
              case 2:
                c.yl.Uf(b, a, d, f, e, h, l, k);
                break;

              case 3:
                c.WD.Uf(b, a, d, f, e, h, l, k);
                break;

              case 1:
                c.VD.Uf(b, a, d, f, e, h, l, k);
                break;

              default:
                c.Nu.Uf(b, a, d, f, e, h, l, k);
            }
          };

          return g;
        }();

        c.mb = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a() {
            this.y = this.x = null;
          }

          a.pa = function (d) {
            var b = new a();
            b.x = new c.Xb();
            b.x.set(d.x);
            b.y = new c.Xb();
            b.y.set(d.y);
            return b;
          };

          a.bG = function (d, b) {
            var e = new a();
            e.x = new c.Xb();
            e.x.set(d);
            e.y = new c.Xb();
            e.y.set(b);
            return e;
          };

          a.prototype.Lg = function () {
            return this.x.Lg() && this.y.Lg();
          };

          a.prototype.value = function () {
            return c.b.pa(this.x.value(), this.y.value());
          };

          return a;
        }();

        c.IZ = n;

        var g = function () {
          function a() {
            this.z = this.y = this.x = null;
          }

          a.pa = function (d) {
            var b = new a();
            b.x = new c.Xb();
            b.x.set(d.x);
            b.y = new c.Xb();
            b.y.set(d.y);
            b.z = new c.Xb();
            b.z.set(d.z);
            return b;
          };

          a.bG = function (d, b, e) {
            var h = new a();
            h.x = new c.Xb();
            h.x.set(d);
            h.y = new c.Xb();
            h.y.set(b);
            h.z = new c.Xb();
            h.z.set(e);
            return h;
          };

          a.prototype.Lg = function () {
            return this.x.Lg() && this.y.Lg() && this.z.Lg();
          };

          a.prototype.value = function () {
            return new c.qd(this.x.value(), this.y.value(), this.z.value());
          };

          a.prototype.oi = function (a) {
            var b = new c.Xb(),
                e = new c.Xb(),
                h = new c.Xb();
            b.pm(this.x, a.x);
            e.pm(this.y, a.y);
            h.pm(this.z, a.z);
            a = new c.Xb();
            a.cP(b, e);
            a.add(h);
            return a;
          };

          a.prototype.kG = function (d) {
            var b = new a();
            b.x.pm(this.y, d.z);
            b.y.pm(this.z, d.x);
            b.z.pm(this.x, d.y);
            var e = new c.Xb(),
                h = new c.Xb(),
                l = new c.Xb();
            e.pm(this.z, d.y);
            h.pm(this.x, d.z);
            l.pm(this.y, d.x);
            b.x.sub(e);
            b.y.sub(h);
            b.z.sub(l);
            return b;
          };

          return a;
        }();

        c.JZ = g;

        var b = function () {
          function a() {}

          a.qO = function (d, b, e) {
            var h = b.x;
            b = b.y;
            a.Dk(1, d, Math.cos(h), Math.sin(h), Math.cos(b), Math.sin(b), e);
          };

          a.nO = function (d, b) {
            var e = new c.qd();
            a.qO(d, b, e);
            return e;
          };

          a.HZ = function (d, b, e, h, l, k) {
            var m = new c.qd();
            a.Dk(d, b, e, h, l, k, m);
            return m;
          };

          a.Dk = function (a, b, e, h, c, k, m) {
            a /= Math.sqrt(1 - b * k * k);
            m.I(a * c * e, a * c * h, a * (1 - b) * k);
          };

          a.Su = function (a, b) {
            var e = new c.Xb(),
                h = new c.Xb(),
                l = new c.Xb(),
                k = new c.Xb();
            e.cos(b.x);
            h.sin(b.x);
            l.cos(b.y);
            k.sin(b.y);
            var m = new c.Xb();
            m.set(k);
            m.Vg(k);
            m.yp(a);
            m.yp(-1);
            m.jP();
            m.sqrt();
            var w = new c.Xb();
            w.set(1);
            w.Wm(m);
            m = new c.Xb();
            m.set(w);
            m.Vg(l);
            m.Vg(e);
            e = new c.Xb();
            e.set(w);
            e.Vg(l);
            e.Vg(h);
            h = new c.Xb();
            h.set(w);
            h.yp(1 - a);
            h.Vg(k);
            return g.bG(m, e, h);
          };

          a.MN = function (a, b, e) {
            var h = b.x,
                c = b.y;
            e.ka(Math.atan2(c, h), Math.atan2(b.z, (1 - a) * Math.sqrt(h * h + c * c)));
          };

          a.Y_ = function (d, b, e) {
            d = new c.b();
            a.MN(b, e, d);
            return d;
          };

          a.NU = function (d, b, e, h) {
            if (Math.abs(b.x - e.x) > Math.PI || Math.abs(b.y) > .5 * Math.PI || Math.abs(e.y) > .5 * Math.PI || (Math.abs(b.y) == .5 * Math.PI || Math.abs(e.y) == .5 * Math.PI) && b.x != e.x) return NaN;
            h = a.SC(h, Math.min(b.x, e.x), Math.max(b.x, e.x));
            if (!new c.Ac(b.x, e.x).contains(h)) return NaN;
            var l = n.pa(b);
            e = n.pa(e);
            l = a.Su(d, l);
            e = a.Su(d, e);
            e = l.kG(e);
            if (e.z.Lg()) return b = b.y;
            var k = new c.Xb();
            k.set(e.x);
            k.Wm(e.z);
            k.yp(-1);
            var m = new c.Xb();
            m.set(e.y);
            m.Wm(e.z);
            m.yp(-1);
            var g = new c.Xb();
            g.set(m);
            g.Vg(m);
            l = new c.Xb();
            l.set(k);
            l.Vg(k);
            l.add(g);
            l.sqrt();
            if (l.Lg() || k.Lg() && m.Lg()) return b = b.y;
            b = Math.atan2(m.value(), k.value());
            b = Math.atan2(l.value() * Math.cos(b - h), 1 - d);
            h = a.nO(d, c.b.pa(h, b));
            d = new c.qd(h.x, h.y, -h.z);
            h = e.value().oi(h);
            d = e.value().oi(d);
            Math.abs(d) < Math.abs(h) && (b = -b);
            return b;
          };

          a.vA = function (d, b, e, h, l, k) {
            k[0] = NaN;
            k[1] = NaN;
            if (Math.abs(e.x - h.x) > Math.PI || Math.abs(e.y) > .5 * Math.PI || Math.abs(h.y) > .5 * Math.PI || (Math.abs(e.y) == .5 * Math.PI || Math.abs(h.y) == .5 * Math.PI) && e.x != h.x || Math.abs(l) >= .5 * Math.PI || 0 < e.y && 0 < h.y && e.y > l && h.y > l || 0 > e.y && 0 > h.y && e.y < l && h.y < l) return 0;
            var m = n.pa(e);
            d = n.pa(h);
            m = a.Su(b, m);
            d = a.Su(b, d);
            var g = m.kG(d);
            if (g.z.Lg()) return new c.Ac(e.y, h.y).contains(l) ? (k[0] = e.x, 1) : 0;
            d = new c.Xb();
            d.set(g.x);
            d.Wm(g.z);
            d.yp(-1);
            m = new c.Xb();
            m.set(g.y);
            m.Wm(g.z);
            m.yp(-1);
            g = new c.Xb();
            g.set(m);
            g.Vg(m);
            var p = new c.Xb();
            p.set(d);
            p.Vg(d);
            p.add(g);
            p.sqrt();
            if (p.Lg() || d.Lg() && m.Lg()) return 0 == l ? (k[0] = e.x, k[1] = h.x, 2) : 0;
            b = (1 - b) * Math.tan(l) / p.value();
            if (1 < Math.abs(b)) return 0;
            b = Math.acos(b);
            g = Math.atan2(m.value(), d.value());
            d = Math.min(e.x, h.x);
            m = Math.max(e.x, h.x);
            h = a.SC(g - b, d, m);
            b = 0 != l ? a.SC(g + b, d, m) : h;
            l = 0;
            d <= h && h <= m && (k[l] = h, l++);
            b != h && d <= b && b <= m && (k[l] = b, l++, 2 == l && Math.abs(k[0] - e.x) > Math.abs(k[1] - e.x) && (e = k[0], k[0] = k[1], k[1] = e));
            return l;
          };

          a.SC = function (a, b, e) {
            a > e ? (b = Math.ceil((a - e) / (2 * Math.PI)), a -= 2 * b * Math.PI) : a < b && (b = Math.ceil((b - a) / (2 * Math.PI)), a += 2 * b * Math.PI);
            return a;
          };

          a.LB = function (a, b) {
            b[0] > .5 * Math.PI ? (a[0] += Math.PI, b[0] = Math.PI - b[0]) : b[0] < -.5 * Math.PI && (a[0] -= Math.PI, b[0] = -Math.PI - b[0]);
          };

          return a;
        }();

        c.yy = b;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.UY = function (b, a) {
            var d = 8;
            0 > d && (d = 8);
            var f = [0, 0, 0, 0],
                e = new c.b();
            e.L(a);
            e.scale(9102 == c.fb.kc(b).Nd().yc() ? 1 : c.fb.kc(b).Nd().Ai / 3.141592653589793 * 180);
            -180 > e.x ? (e.x -= e.x % 360, -180 > e.x && (e.x += 360)) : 180 < e.x && (e.x -= e.x % 360, 180 < e.x && (e.x -= 360));
            90 < e.y && (e.y = 90);
            -90 > e.y && (e.y = -90);

            for (var h = 5 * d, l = (h + 31) / 32, k = -180, m = 180, w = h - 1, p = l - 1; 0 <= p; p--) for (var q = w - 32 * p, t = Math.min(32, h - 32 * p), u = 1; u < t; u += 2) {
              var z = .5 * (m + k);
              e.x >= z ? (f[p] |= 1 << q, k = z) : m = z;
              q -= 2;
              w -= 2;
            }

            k = -90;
            m = 90;
            w = h - 2;

            for (p = l - 1; 0 <= p; p--) for (q = w - 32 * p, t = Math.min(32, h - 32 * p), u = 0; u < t; u += 2) z = .5 * (m + k), e.y >= z ? (f[p] |= 1 << q, k = z) : m = z, q -= 2, w -= 2;

            return g.wO(f, d, d);
          };

          g.wO = function (b, a, d) {
            for (var f = [], e = 0; e < a; e++) f[e] = "";

            for (var h = e = 0, c = 0; c < a; c++) {
              var k = b[e] >> h & 31,
                  h = h + 5;

              if (31 < h) {
                var m = 37 - h,
                    k = k & (1 << m) - 1,
                    h = h - 32;
                e++;
                k |= (b[e] & (1 << h) - 1) << m;
              }

              f[a - 1 - c] = "0123456789bcdefghjkmnpqrstuvwxyz".split("")[k];
            }

            if (d > a) for (c = 0; c < d - a; c++) f.push("0");else d < a && (f.length = d);
            return f.join("");
          };

          return g;
        }();

        c.tM = n;
      })(r || (r = {}));

      (function (c) {
        var n = {
          gcstol: [0, 2E-9, 1, 2.241706620489156E-9, 2, 2.313672246530541E-9, 3, 8.98240164660333E-9, 4, 8.982433838020134E-9, 5, 8.982439417325895E-9, 6, 8.982466029667677E-9, 7, 8.982476760268133E-9, 8, 8.982492642167149E-9, 9, 8.98251968292634E-9, 10, 8.98253685210448E-9, 11, 8.982546725256576E-9, 12, 8.982557456049832E-9, 13, 8.98257333682596E-9, 14, 8.982575482995276E-9, 15, 8.982578488197342E-9, 16, 8.982579775336987E-9, 17, 8.9825840676828E-9, 18, 8.982599090925448E-9, 19, 8.982605529473397E-9, 20, 8.982609220517402E-9, 21, 8.982611968030573E-9, 22, 8.982616260407152E-9, 23, 8.982620552787834E-9, 24, 8.982633429954492E-9, 25, 8.982637722351582E-9, 26, 8.98264416095491E-9, 27, 8.982646307158072E-9, 28, 8.982654891980968E-9, 29, 8.982667769246082E-9, 30, 8.982674207892485E-9, 31, 8.982680646548117E-9, 32, 8.982682792768713E-9, 33, 8.982685798042582E-9, 34, 8.982689231436652E-9, 35, 8.98269137766135E-9, 36, 8.98269266624163E-9, 37, 8.982705114087017E-9, 38, 8.982706830791106E-9, 39, 8.982711958374661E-9, 40, 8.982712839964735E-9, 41, 8.982717991496125E-9, 42, 8.982721424914803E-9, 43, 8.982723571154887E-9, 44, 8.982727863638127E-9, 45, 8.982730868942154E-9, 46, 8.982734302370678E-9, 47, 8.982745033612112E-9, 48, 8.982751472369276E-9, 49, 8.982755764879183E-9, 50, 8.982762203651733E-9, 51, 8.982764776628385E-9, 52, 8.982766496171896E-9, 53, 8.98277722749025E-9, 54, 8.98278152002477E-9, 55, 8.98279933943848E-9, 56, 8.9829143024805E-9, 57, 8.982922161948598E-9, 58, 8.98292327314211E-9, 59, 8.982925667349601E-9, 60, 8.982932222965576E-9, 61, 8.982961298941316E-9, 62, 8.982965524049989E-9, 63, 8.982994818246099E-9, 64, 8.982994895706967E-9, 65, 8.98299489597736E-9, 66, 8.983000733443498E-9, 67, 8.983055097289157E-9, 68, 8.983064111047368E-9, 69, 8.983111996941178E-9, 70, 8.983120447446023E-9, 71, 8.98312748954554E-9, 72, 8.983134531656096E-9, 73, 8.983141573777694E-9, 74, 8.983148615910332E-9, 75, 8.983152841195215E-9, 76, 8.983153545409748E-9, 77, 8.983153827095593E-9, 78, 8.98315396793852E-9, 79, 8.983154249624393E-9, 80, 8.983155658054012E-9, 81, 8.983960794340072E-9, 82, 8.984061344391998E-9, 83, 8.984072829255685E-9, 84, 8.984194981201908E-9, 85, 8.984275233099427E-9, 86, 8.984326127007554E-9, 87, 8.984330099816539E-9, 88, 8.98433275258421E-9, 89, 8.984333047023206E-9, 90, 8.984333885258723E-9, 91, 8.984337959508212E-9, 92, 8.984365176209457E-9, 93, 8.984727360418079E-9, 94, 8.984901041679577E-9, 95, 8.98542662091587E-9, 96, 8.98610024130669E-9, 97, 8.992894229037531E-9, 98, 8.993203677616635E-9, 99, 8.993206178094346E-9, 100, 8.993216059187305E-9, 101, 8.99322029394808E-9, 102, 8.994627867045891E-9, 103, 9.467559984315793E-9, 104, 9.46881168618118E-9, 105, 9.980888154931644E-9, 106, 9.981105353606775E-9, 107, 9.983807356573187E-9, 108, 1.687060485811522E-8, 109, 1.688447560354875E-8, 110, 2.176606011487185E-8, 111, 2.225078816042032E-8, 112, 2.348476432064694E-8, 113, 2.348765250187846E-8, 114, 2.378108974103778E-8, 115, 3.14559636297708E-8, 116, 3.297788621680806E-8, 117, 3.667892343788279E-8, 118, 4.235973644320739E-8, 119, 4.794625900676345E-8, 120, 7.262742998235812E-8, 121, 7.499447580246377E-8, 122, 7.525056410964318E-8, 123, 7.979913581209237E-8, 124, 9.662020153976783E-8, 125, 9.799175562353741E-8, 126, 9.897353517547472E-8, 127, 1.02313891987647E-7, 128, 1.081460541960784E-7, 129, 1.21905913857622E-7, 130, 2.246893314238523E-7, 131, 2.297344808062643E-7, 132, 2.42984645941825E-7, 133, 2.754604784282804E-7, 134, 2.884548130346993E-7, 135, 3.370339971357784E-7, 136, 4.307953346848296E-7, 137, 5.208707228462029E-7, 138, 5.509209568565608E-7, 139, 6.452227422644406E-7, 140, 6.740679942715567E-7, 141, 6.861770001566745E-7, 142, 7.252630318111686E-7, 143, 7.441010326374328E-7, 144, 7.742672907173287E-7, 145, 9.629542775307953E-7, 146, 1.061032953945969E-6, 147, 1.143628333594458E-6, 148, 1.162186197019925E-6, 149, 1.36418522650196E-6, 150, 1.367441038498385E-6, 151, 1.432394487827058E-6, 152, 1.736235742820677E-6, 153, 1.848250952034914E-6, 154, 1.909859317102744E-6, 155, 1.975716534933873E-6, 156, 2.122065907891938E-6, 157, 2.72837045300392E-6, 158, 3.183098861837907E-6, 159, 3.580986219567645E-6, 160, 3.819718634205488E-6, 161, 4.09255567950588E-6, 162, 4.407367654852486E-6, 163, 4.774648292756861E-6, 164, 5.161781938115525E-6, 165, 5.20870722846203E-6, 166, 5.729577951308232E-6, 167, 6.031134685587613E-6, 168, 6.987290184522236E-6, 169, 9.241254760174569E-6, 170, 1.145915590261646E-5],
          pcstol: [0, 6.666666666666667E-9, 1, 2E-8, 2, 4.970973863636364E-5, 3, 4.970978156565657E-5, 4, 4.970980410559237E-5, 5, .001, 6, .001093615055555556, 7, .001093615194444445, 8, .001093619003239988, 9, .001093623110088878, 10, .003280833333333333, 11, .003280839895013123, 12, .003280843014596366, 13, .003280845583333334, 14, .003280869330266636, 15, .00497101413676763],
          newtoold: [2154, 102110, 2195, 102200, 2204, 32036, 2205, 26979, 2225, 102641, 2226, 102642, 2227, 102643, 2228, 102644, 2229, 102645, 2230, 102646, 2231, 102653, 2232, 102654, 2233, 102655, 2234, 102656, 2235, 102657, 2236, 102658, 2237, 102659, 2238, 102660, 2239, 102666, 2240, 102667, 2241, 102668, 2242, 102669, 2243, 102670, 2246, 102679, 2247, 102680, 2248, 102685, 2249, 102686, 2250, 102687, 2254, 102694, 2255, 102695, 2257, 102712, 2258, 102713, 2259, 102714, 2260, 102715, 2261, 102716, 2262, 102717, 2263, 102718, 2264, 102719, 2267, 102724, 2268, 102725, 2271, 102728, 2272, 102729, 2274, 102736, 2275, 102737, 2276, 102738, 2277, 102739, 2278, 102740, 2279, 102741, 2283, 102746, 2284, 102747, 2285, 102748, 2286, 102749, 2287, 102752, 2288, 102753, 2289, 102754, 2312, 23433, 2326, 102140, 2395, 2091, 2396, 2092, 2397, 2166, 2398, 2167, 2399, 2168, 2759, 102229, 2760, 102230, 2761, 102248, 2762, 102249, 2763, 102250, 2764, 102251, 2765, 102252, 2766, 102241, 2767, 102242, 2768, 102243, 2769, 102244, 2770, 102245, 2771, 102246, 2772, 102253, 2773, 102254, 2774, 102255, 2775, 102256, 2776, 102257, 2777, 102258, 2778, 102259, 2779, 102260, 2780, 102266, 2781, 102267, 2782, 102261, 2783, 102262, 2784, 102263, 2785, 102264, 2786, 102265, 2787, 102268, 2788, 102269, 2789, 102270, 2790, 102271, 2791, 102272, 2792, 102273, 2793, 102274, 2794, 102275, 2795, 102276, 2796, 102277, 2797, 102278, 2798, 102279, 2799, 102280, 2800, 102281, 2801, 102282, 2802, 102283, 2803, 102284, 2804, 102285, 2805, 102286, 2806, 102287, 2807, 102288, 2808, 102289, 2809, 102290, 2810, 102291, 2811, 102292, 2812, 102293, 2813, 102294, 2814, 102295, 2815, 102296, 2816, 102297, 2817, 102298, 2818, 102300, 2819, 102304, 2820, 102307, 2821, 102308, 2822, 102309, 2823, 102310, 2824, 102311, 2825, 102312, 2826, 102313, 2827, 102314, 2828, 102315, 2829, 102316, 2830, 102317, 2831, 102318, 2832, 102320, 2833, 102321, 2834, 102322, 2835, 102323, 2836, 102324, 2837, 102325, 2838, 102326, 2839, 102327, 2840, 102330, 2841, 102334, 2842, 102335, 2843, 102336, 2844, 102337, 2845, 102338, 2846, 102339, 2847, 102340, 2848, 102341, 2849, 102342, 2850, 102343, 2851, 102344, 2852, 102345, 2853, 102346, 2854, 102347, 2855, 102348, 2856, 102349, 2857, 102350, 2858, 102351, 2859, 102352, 2860, 102353, 2861, 102354, 2862, 102355, 2863, 102356, 2864, 102357, 2865, 102358, 2866, 102361, 2942, 102167, 2943, 102169, 2944, 2139, 2945, 2140, 2946, 2141, 2947, 2142, 2948, 2143, 2949, 2144, 2950, 2145, 2951, 2146, 2952, 2147, 2953, 2036, 2954, 2291, 2955, 2153, 2956, 2152, 2957, 2151, 2958, 2150, 2959, 2149, 2960, 2037, 2961, 2038, 2962, 2148, 2965, 2244, 2966, 2245, 3003, 102091, 3004, 102092, 3005, 102190, 3060, 2982, 3067, 102139, 3072, 102606, 3074, 102608, 3075, 102208, 3077, 102210, 3078, 102123, 3080, 102119, 3081, 102603, 3082, 102602, 3083, 102601, 3088, 65163, 3089, 102763, 3090, 102363, 3092, 102151, 3093, 102152, 3094, 102153, 3095, 102154, 3096, 102155, 3097, 102145, 3098, 102146, 3099, 102147, 3100, 102148, 3101, 102149, 3102, 2155, 3107, 102172, 3110, 102170, 3111, 102171, 3119, 2214, 3158, 102234, 3159, 102235, 3160, 102236, 3336, 2979, 3338, 102006, 3346, 2600, 3370, 102126, 3371, 102127, 3372, 102130, 3373, 102131, 3389, 2577, 3390, 2694, 3400, 102184, 3401, 102185, 3404, 3359, 3407, 3366, 3417, 102675, 3418, 102676, 3419, 102677, 3420, 102678, 3421, 102707, 3422, 102708, 3423, 102709, 3424, 102711, 3433, 102651, 3434, 102652, 3435, 102671, 3436, 102672, 3437, 102710, 3438, 102730, 3448, 102095, 3451, 102681, 3452, 102682, 3455, 102735, 3461, 2063, 3462, 2064, 3463, 3073, 3464, 3076, 3560, 102742, 3566, 102743, 3567, 102744, 3734, 102722, 3735, 102723, 3736, 102755, 3737, 102756, 3738, 102757, 3739, 102758, 3741, 102205, 3742, 102206, 3743, 102207, 3748, 102211, 3750, 102202, 3751, 102203, 3759, 102663, 3760, 102463, 3764, 102112, 3770, 102090, 3771, 102180, 3772, 102181, 3773, 102182, 3775, 102186, 3776, 102187, 3777, 102188, 3800, 102183, 3801, 102189, 3812, 102199, 3814, 102609, 3815, 102469, 3819, 104990, 3821, 104136, 3824, 104137, 3825, 102444, 3826, 102443, 3827, 102442, 3828, 102441, 3857, 102100, 3889, 104991, 3906, 104992, 4048, 103201, 4049, 103202, 4050, 103203, 4051, 103204, 4056, 103205, 4057, 103206, 4058, 103207, 4059, 103208, 4060, 103209, 4061, 103210, 4062, 103211, 4063, 103212, 4071, 103213, 4082, 103214, 4083, 103215, 4093, 103216, 4094, 103217, 4095, 103218, 4096, 103219, 4167, 104108, 4169, 37252, 4171, 104107, 4189, 104110, 4197, 4234, 4223, 37223, 4304, 104304, 4414, 102201, 4415, 102762, 4417, 102764, 4434, 102765, 4437, 102647, 4455, 32029, 4456, 32018, 4457, 3454, 4462, 102439, 4463, 4466, 4470, 4469, 4484, 103794, 4485, 103795, 4486, 103796, 4487, 103797, 4488, 103798, 4489, 103799, 4611, 104104, 4612, 104111, 4613, 37255, 4615, 37247, 4616, 37250, 4617, 4140, 4618, 4291, 4620, 37211, 4626, 37235, 4647, 102362, 4658, 37204, 4668, 37201, 4669, 4126, 4672, 37217, 4673, 104125, 4675, 37220, 4684, 37232, 4698, 4631, 4707, 37213, 4708, 37231, 4709, 37212, 4710, 37238, 4711, 37214, 4712, 37237, 4713, 37208, 4714, 37215, 4715, 37253, 4716, 37216, 4717, 37239, 4719, 37219, 4722, 37242, 4724, 37233, 4725, 37222, 4727, 37224, 4728, 37246, 4729, 37226, 4730, 37227, 4731, 37228, 4732, 37229, 4733, 37230, 4734, 37251, 4735, 37259, 4736, 37254, 4739, 37205, 4758, 104133, 4760, 37001, 4762, 104114, 4826, 102214, 5013, 104142, 5014, 102331, 5015, 102332, 5016, 102333, 5173, 102085, 5174, 102086, 5175, 102087, 5176, 102088, 5177, 102089, 5178, 102040, 5179, 102080, 5185, 102081, 5186, 102082, 5187, 102083, 5188, 102084, 5221, 102066, 5246, 104100, 5247, 102490, 5324, 104144, 5325, 102420, 5329, 2934, 5365, 104143, 5367, 102305, 5451, 104132, 5513, 102065, 5514, 102067, 5519, 102111, 5520, 31461, 5646, 102745, 5839, 5388, 5858, 5532, 5879, 4474, 6207, 104256, 6244, 102769, 6245, 102790, 6246, 102770, 6247, 102771, 6248, 102793, 6249, 102796, 6250, 102772, 6251, 102788, 6252, 102775, 6253, 102795, 6254, 102781, 6255, 102767, 6256, 102774, 6257, 102768, 6258, 102797, 6259, 102789, 6260, 102780, 6261, 102783, 6262, 102787, 6263, 102791, 6264, 102777, 6265, 102798, 6266, 102779, 6267, 102784, 6268, 102792, 6269, 102782, 6270, 102785, 6271, 102794, 6272, 102773, 6273, 102778, 6274, 102786, 6275, 102776, 6311, 104141, 6318, 104145, 6322, 104287, 6325, 104286, 6328, 102046, 6329, 102047, 6330, 102048, 6331, 102049, 6332, 102050, 6333, 102051, 6334, 102052, 6335, 102053, 6336, 102054, 6337, 102055, 6338, 102056, 6339, 102057, 6340, 102058, 6341, 102059, 6342, 102382, 6343, 102383, 6344, 102384, 6345, 102385, 6346, 102386, 6347, 102387, 6348, 102388, 6350, 102965, 6355, 102975, 6356, 102976, 6391, 6141, 6393, 102966, 6394, 102977, 6395, 102978, 6396, 102979, 6397, 102980, 6398, 102981, 6399, 102982, 6400, 102983, 6401, 102984, 6402, 102985, 6403, 102986, 6404, 102988, 6405, 102991, 6406, 102987, 6407, 102990, 6408, 102989, 6409, 102992, 6410, 102993, 6411, 102995, 6412, 102994, 6413, 102996, 6414, 102962, 6415, 102997, 6416, 103003, 6417, 102998, 6418, 103004, 6419, 102999, 6420, 103005, 6421, 103E3, 6422, 103006, 6423, 103001, 6424, 103007, 6425, 103002, 6426, 103008, 6427, 103010, 6428, 103013, 6429, 103009, 6430, 103012, 6431, 103011, 6432, 103014, 6433, 103015, 6434, 103016, 6435, 103017, 6436, 103018, 6437, 103019, 6438, 103022, 6439, 102967, 6440, 103021, 6441, 103024, 6442, 103020, 6443, 103023, 6444, 103025, 6445, 103027, 6446, 103026, 6447, 103028, 6448, 103030, 6449, 103033, 6450, 103029, 6451, 103032, 6452, 103031, 6453, 103034, 6454, 103035, 6455, 103037, 6456, 103036, 6457, 103038, 6458, 103039, 6459, 103041, 6460, 103040, 6461, 103042, 6462, 103043, 6463, 103045, 6464, 103044, 6465, 103046, 6466, 103047, 6467, 103049, 6468, 103048, 6469, 103050, 6470, 103051, 6471, 103052, 6472, 103053, 6473, 103054, 6474, 103055, 6475, 103056, 6476, 103057, 6477, 103059, 6478, 103058, 6479, 103060, 6480, 103066, 6481, 103065, 6482, 103067, 6483, 103061, 6484, 103063, 6485, 103062, 6486, 103064, 6487, 103068, 6488, 103069, 6489, 103071, 6490, 103073, 6491, 103070, 6492, 103072, 6493, 103075, 6494, 103078, 6495, 103074, 6496, 103077, 6497, 102968, 6498, 103076, 6499, 103079, 6500, 103081, 6501, 103084, 6502, 103080, 6503, 103083, 6504, 103082, 6505, 103085, 6506, 103086, 6507, 103088, 6508, 102963, 6509, 103087, 6510, 103089, 6511, 103091, 6512, 103090, 6513, 103092, 6514, 103093, 6515, 103094, 6516, 103095, 6518, 103098, 6519, 103101, 6520, 103097, 6521, 103100, 6522, 103099, 6523, 103102, 6524, 103103, 6525, 103104, 6526, 103105, 6527, 103106, 6528, 103108, 6529, 103111, 6530, 103107, 6531, 103110, 6532, 103109, 6533, 103112, 6534, 103114, 6535, 103118, 6536, 103113, 6537, 103117, 6538, 103116, 6539, 103120, 6540, 103115, 6541, 103119, 6542, 103121, 6543, 103122, 6544, 103123, 6545, 103125, 6546, 103124, 6547, 103126, 6548, 103127, 6549, 103129, 6550, 103128, 6551, 103130, 6552, 103131, 6553, 103133, 6554, 103132, 6555, 103134, 6556, 102969, 6557, 102970, 6558, 103135, 6559, 103137, 6560, 103136, 6561, 103138, 6562, 103139, 6563, 103140, 6564, 103141, 6565, 103142, 6566, 103200, 6567, 103143, 6568, 103144, 6569, 103145, 6570, 103146, 6571, 103147, 6572, 103149, 6573, 103148, 6574, 103150, 6575, 103151, 6576, 103152, 6577, 103155, 6578, 103160, 6579, 102971, 6580, 102972, 6581, 103153, 6582, 103158, 6583, 103154, 6584, 103159, 6585, 103157, 6586, 103162, 6587, 103156, 6588, 103161, 6589, 103172, 6590, 103173, 6592, 103174, 6593, 103176, 6594, 103175, 6595, 103177, 6596, 103178, 6597, 103180, 6598, 103179, 6599, 103181, 6600, 103182, 6601, 103184, 6602, 103183, 6603, 103185, 6605, 103190, 6606, 103186, 6607, 103189, 6608, 103188, 6609, 103191, 6610, 102973, 6611, 103192, 6612, 103196, 6613, 103193, 6614, 103197, 6615, 103195, 6616, 103199, 6617, 103194, 6618, 103198, 6619, 103164, 6620, 103163, 6621, 103165, 6625, 103170, 6626, 103169, 6627, 103171, 6628, 102520, 6629, 102521, 6630, 102522, 6631, 102523, 6632, 102524, 6633, 102527, 6634, 102493, 6635, 102494, 6636, 102496, 6637, 102495, 6668, 104020, 6669, 102610, 6670, 102611, 6671, 102612, 6672, 102613, 6673, 102614, 6674, 102615, 6675, 102616, 6676, 102617, 6677, 102618, 6678, 102619, 6679, 102620, 6680, 102621, 6681, 102622, 6682, 102623, 6683, 102624, 6684, 102625, 6685, 102626, 6686, 102627, 6687, 102628, 6688, 102593, 6689, 102594, 6690, 102595, 6691, 102596, 6692, 102597, 6783, 104223, 6784, 102530, 6785, 102500, 6788, 102532, 6789, 102502, 6792, 102533, 6793, 102503, 6796, 102531, 6797, 102501, 6800, 102534, 6801, 102504, 6804, 102535, 6805, 102505, 6808, 102536, 6809, 102506, 6812, 102537, 6813, 102507, 6816, 102538, 6817, 102508, 6820, 102539, 6821, 102509, 6824, 102540, 6825, 102510, 6828, 102541, 6829, 102511, 6832, 102542, 6833, 102512, 6836, 102543, 6837, 102513, 6840, 102544, 6841, 102514, 6844, 102546, 6845, 102516, 6848, 102545, 6849, 102515, 6852, 102547, 6853, 102517, 6856, 102548, 6857, 102518, 6860, 102549, 6861, 102519, 6867, 102380, 6868, 102381, 6879, 103187, 6880, 103096, 6884, 102376, 6885, 102378, 6886, 102377, 6887, 102379, 7136, 6980, 7139, 6987, 7142, 102706, 7692, 102557, 7693, 102558, 7694, 102559, 7695, 102560, 7696, 102561, 8090, 103318, 8091, 103418, 8092, 103317, 8093, 103417, 8095, 103371, 8096, 103471, 8097, 103369, 8098, 103469, 8099, 103368, 8100, 103468, 8101, 103367, 8102, 103467, 8103, 103366, 8104, 103466, 8105, 103365, 8106, 103465, 8107, 103364, 8108, 103464, 8109, 103363, 8110, 103463, 8111, 103362, 8112, 103462, 8113, 103361, 8114, 103461, 8115, 103360, 8116, 103460, 8117, 103359, 8118, 103459, 8119, 103357, 8120, 103457, 8121, 103356, 8122, 103456, 8123, 103355, 8124, 103455, 8125, 103354, 8126, 103454, 8127, 103353, 8128, 103453, 8129, 103352, 8130, 103452, 8131, 103350, 8132, 103450, 8133, 103349, 8134, 103449, 8135, 103348, 8136, 103448, 8139, 103343, 8140, 103443, 8141, 103342, 8142, 103442, 8143, 103341, 8144, 103441, 8145, 103339, 8146, 103439, 8147, 103337, 8148, 103437, 8149, 103336, 8150, 103436, 8151, 103334, 8152, 103434, 8153, 103333, 8154, 103433, 8155, 103331, 8156, 103431, 8161, 103326, 8162, 103426, 8163, 103325, 8164, 103425, 8165, 103324, 8166, 103424, 8171, 103321, 8172, 103421, 8173, 103320, 8177, 103420, 8179, 103316, 8180, 103416, 8181, 103315, 8182, 103415, 8184, 103314, 8185, 103414, 8191, 103312, 8193, 103412, 8196, 103311, 8197, 103411, 8198, 103310, 8200, 103410, 8201, 103309, 8202, 103409, 8203, 103308, 8204, 103408, 8207, 103306, 8208, 103406, 8209, 103305, 8210, 103405, 8212, 103304, 8213, 103404, 8214, 103303, 8216, 103403, 8218, 103302, 8220, 103402, 8222, 103301, 8224, 103401, 8431, 104248, 8441, 102590, 8693, 102449, 8826, 102605, 8857, 54035, 8858, 54036, 8859, 54037, 8860, 8449, 8988, 104115, 8989, 104116, 8990, 104117, 8991, 104118, 8992, 104119, 8993, 104120, 8994, 104121, 8995, 104122, 8996, 104123, 8997, 104124, 8998, 104896, 8999, 104257, 9E3, 104019, 9014, 104010, 9019, 104021, 9053, 104011, 9054, 104012, 9055, 104013, 9056, 104014, 9057, 104015, 9059, 104258, 9060, 104179, 9061, 104180, 9062, 104181, 9063, 104182, 9064, 104183, 9065, 104184, 9066, 104185, 9067, 104186, 21896, 21891, 21897, 21892, 21898, 21893, 21899, 21894, 26701, 102124, 26702, 102125, 26799, 26747, 26847, 102683, 26848, 102684, 26849, 102691, 26850, 102692, 26851, 102693, 26852, 102704, 26853, 102750, 26854, 102751, 26857, 102466, 26858, 102467, 26859, 102468, 26901, 102128, 26902, 102129, 27493, 27492, 29101, 29100, 29168, 29118, 29169, 29119, 29170, 29120, 29171, 29121, 29172, 29122, 29187, 29177, 29188, 29178, 29189, 29179, 29190, 29180, 29191, 29181, 29192, 29182, 29193, 29183, 29194, 29184, 29195, 29185, 29902, 29900, 31279, 31278, 31281, 31291, 31282, 31292, 31283, 31293, 31284, 31294, 31285, 31295, 31286, 31296, 31287, 31297, 31466, 31462, 31467, 31463, 31468, 31464, 31469, 31465, 31986, 31917, 31987, 31918, 31988, 31919, 31989, 31920, 31990, 31921, 31991, 31922, 32064, 32074, 32065, 32075, 32066, 32076, 32067, 32077, 102550, 2181, 102551, 2182, 102552, 2183, 102553, 2184, 102554, 2185, 102555, 2186, 102556, 2187],
          pcsid: [2066, 15, 2136, 12, 2155, 10, 2157, 5, 2158, 5, 2159, 12, 2160, 12, 2219, 5, 2220, 5, 2244, 10, 2245, 10, 2256, 11, 2265, 11, 2266, 11, 2269, 11, 2270, 11, 2273, 11, 2290, 5, 2291, 5, 2294, 5, 2295, 5, 2313, 5, 2314, 14, 2899, 10, 2900, 10, 2901, 11, 2909, 11, 2910, 11, 2911, 10, 2912, 10, 2913, 11, 2914, 11, 2964, 10, 2967, 10, 2968, 10, 2991, 5, 2992, 11, 2993, 5, 2994, 11, 3073, 5, 3076, 5, 3079, 5, 3091, 10, 3106, 5, 3108, 5, 3109, 5, 3141, 5, 3142, 5, 3167, 4, 3337, 5, 3347, 5, 3348, 5, 3359, 10, 3360, 5, 3361, 11, 3362, 5, 3363, 10, 3364, 5, 3365, 10, 3366, 14, 3402, 5, 3403, 5, 3405, 5, 3406, 5, 3439, 5, 3440, 5, 3447, 5, 3449, 5, 3450, 5, 3453, 10, 3454, 10, 3460, 5, 3479, 11, 3480, 5, 3481, 11, 3482, 5, 3483, 11, 3484, 5, 3485, 10, 3486, 5, 3487, 10, 3488, 5, 3489, 5, 3490, 10, 3491, 5, 3492, 10, 3493, 5, 3494, 10, 3495, 5, 3496, 10, 3497, 5, 3498, 10, 3499, 5, 3500, 10, 3501, 5, 3502, 10, 3503, 5, 3504, 10, 3505, 5, 3506, 10, 3507, 5, 3508, 10, 3509, 5, 3510, 10, 3511, 5, 3512, 10, 3513, 5, 3514, 5, 3515, 10, 3516, 5, 3517, 10, 3518, 5, 3519, 10, 3520, 5, 3521, 10, 3522, 5, 3523, 10, 3524, 5, 3525, 10, 3526, 5, 3527, 10, 3528, 5, 3529, 10, 3530, 5, 3531, 10, 3532, 5, 3533, 10, 3534, 5, 3535, 10, 3536, 5, 3537, 10, 3538, 5, 3539, 10, 3540, 5, 3541, 10, 3542, 5, 3543, 10, 3544, 5, 3545, 10, 3546, 5, 3547, 10, 3548, 5, 3549, 10, 3550, 5, 3551, 10, 3552, 5, 3553, 10, 3582, 10, 3583, 5, 3584, 10, 3585, 5, 3586, 10, 3587, 5, 3588, 11, 3589, 5, 3590, 11, 3591, 5, 3592, 5, 3593, 11, 3598, 10, 3599, 5, 3600, 10, 3605, 11, 3606, 5, 3607, 5, 3608, 10, 3609, 5, 3610, 10, 3611, 5, 3612, 10, 3613, 5, 3614, 10, 3615, 5, 3616, 10, 3617, 5, 3618, 10, 3619, 5, 3620, 10, 3621, 5, 3622, 10, 3623, 5, 3624, 10, 3625, 5, 3626, 10, 3627, 5, 3628, 10, 3629, 5, 3630, 10, 3631, 5, 3632, 10, 3633, 5, 3634, 11, 3635, 5, 3636, 11, 3640, 10, 3641, 5, 3642, 10, 3643, 5, 3644, 11, 3645, 5, 3646, 11, 3647, 5, 3648, 11, 3649, 5, 3650, 10, 3651, 5, 3652, 10, 3653, 5, 3654, 10, 3655, 5, 3656, 11, 3657, 5, 3658, 10, 3659, 5, 3660, 10, 3661, 5, 3662, 10, 3663, 5, 3664, 10, 3668, 10, 3669, 5, 3670, 10, 3671, 5, 3672, 10, 3673, 5, 3674, 10, 3675, 5, 3676, 11, 3677, 10, 3678, 5, 3679, 11, 3680, 10, 3681, 5, 3682, 11, 3683, 10, 3684, 5, 3685, 5, 3686, 10, 3687, 5, 3688, 10, 3689, 5, 3690, 10, 3691, 5, 3692, 10, 3696, 10, 3697, 5, 3698, 10, 3699, 5, 3700, 10, 3740, 5, 3749, 5, 3783, 5, 3784, 5, 3793, 5, 3794, 5, 3802, 5, 3816, 5, 3829, 5, 3854, 5, 3911, 5, 3912, 5, 3920, 5, 3978, 5, 3979, 5, 3991, 10, 3992, 10, 4026, 5, 4037, 5, 4038, 5, 4087, 5, 4088, 5, 4217, 10, 4438, 10, 4439, 10, 4467, 5, 4471, 5, 4474, 5, 4559, 5, 4822, 5, 4839, 5, 5018, 5, 5048, 5, 5167, 5, 5168, 5, 5223, 5, 5234, 5, 5235, 5, 5243, 5, 5266, 5, 5316, 5, 5320, 5, 5321, 5, 5330, 5, 5331, 5, 5337, 5, 5361, 5, 5362, 5, 5382, 5, 5383, 5, 5396, 5, 5456, 5, 5457, 5, 5469, 5, 5472, 9, 5490, 5, 5518, 5, 5523, 5, 5559, 5, 5588, 11, 5589, 14, 5596, 5, 5627, 5, 5629, 5, 5641, 5, 5643, 5, 5644, 5, 5654, 10, 5655, 10, 5659, 5, 5700, 5, 5825, 5, 5836, 5, 5837, 5, 5842, 5, 5844, 5, 5880, 5, 5887, 5, 5890, 5, 6128, 11, 6129, 11, 6141, 11, 6204, 5, 6210, 5, 6211, 5, 6307, 5, 6312, 5, 6316, 5, 6362, 5, 6591, 5, 6646, 5, 6703, 5, 6786, 5, 6787, 11, 6790, 5, 6791, 11, 6794, 5, 6795, 11, 6798, 5, 6799, 11, 6802, 5, 6803, 11, 6806, 5, 6807, 11, 6810, 5, 6811, 11, 6814, 5, 6815, 11, 6818, 5, 6819, 11, 6822, 5, 6823, 11, 6826, 5, 6827, 11, 6830, 5, 6831, 11, 6834, 5, 6835, 11, 6838, 5, 6839, 11, 6842, 5, 6843, 11, 6846, 5, 6847, 11, 6850, 5, 6851, 11, 6854, 5, 6855, 11, 6858, 5, 6859, 11, 6862, 5, 6863, 11, 6870, 5, 6875, 5, 6876, 5, 6915, 5, 6922, 5, 6923, 10, 6924, 5, 6925, 10, 6962, 5, 6984, 5, 6991, 5, 7128, 10, 7131, 5, 7132, 10, 7257, 5, 7258, 10, 7259, 5, 7260, 10, 7261, 5, 7262, 10, 7263, 5, 7264, 10, 7265, 5, 7266, 10, 7267, 5, 7268, 10, 7269, 5, 7270, 10, 7271, 5, 7272, 10, 7273, 5, 7274, 10, 7275, 5, 7276, 10, 7277, 5, 7278, 10, 7279, 5, 7280, 10, 7281, 5, 7282, 10, 7283, 5, 7284, 10, 7285, 5, 7286, 10, 7287, 5, 7288, 10, 7289, 5, 7290, 10, 7291, 5, 7292, 10, 7293, 5, 7294, 10, 7295, 5, 7296, 10, 7297, 5, 7298, 10, 7299, 5, 7300, 10, 7301, 5, 7302, 10, 7303, 5, 7304, 10, 7305, 5, 7306, 10, 7307, 5, 7308, 10, 7309, 5, 7310, 10, 7311, 5, 7312, 10, 7313, 5, 7314, 10, 7315, 5, 7316, 10, 7317, 5, 7318, 10, 7319, 5, 7320, 10, 7321, 5, 7322, 10, 7323, 5, 7324, 10, 7325, 5, 7326, 10, 7327, 5, 7328, 10, 7329, 5, 7330, 10, 7331, 5, 7332, 10, 7333, 5, 7334, 10, 7335, 5, 7336, 10, 7337, 5, 7338, 10, 7339, 5, 7340, 10, 7341, 5, 7342, 10, 7343, 5, 7344, 10, 7345, 5, 7346, 10, 7347, 5, 7348, 10, 7349, 5, 7350, 10, 7351, 5, 7352, 10, 7353, 5, 7354, 10, 7355, 5, 7356, 10, 7357, 5, 7358, 10, 7359, 5, 7360, 10, 7361, 5, 7362, 10, 7363, 5, 7364, 10, 7365, 5, 7366, 10, 7367, 5, 7368, 10, 7369, 5, 7370, 10, 7877, 5, 7878, 5, 7882, 5, 7883, 5, 7887, 5, 7899, 5, 7991, 5, 7992, 5, 8035, 10, 8036, 10, 8058, 5, 8059, 5, 8082, 5, 8083, 5, 8088, 5, 8137, 5, 8138, 10, 8157, 5, 8158, 10, 8159, 5, 8160, 10, 8167, 5, 8168, 10, 8169, 5, 8170, 10, 8187, 5, 8189, 10, 8205, 5, 8206, 10, 8225, 5, 8226, 10, 8311, 5, 8312, 11, 8313, 5, 8314, 11, 8315, 5, 8316, 11, 8317, 5, 8318, 11, 8319, 5, 8320, 11, 8321, 5, 8322, 11, 8323, 5, 8324, 11, 8325, 5, 8326, 11, 8327, 5, 8328, 11, 8329, 5, 8330, 11, 8331, 5, 8332, 11, 8333, 5, 8334, 11, 8335, 5, 8336, 11, 8337, 5, 8338, 11, 8339, 5, 8340, 11, 8341, 5, 8342, 11, 8343, 5, 8344, 11, 8345, 5, 8346, 11, 8347, 5, 8348, 11, 8352, 5, 8353, 5, 8379, 5, 8380, 10, 8381, 5, 8382, 10, 8383, 5, 8384, 10, 8385, 5, 8387, 10, 8391, 5, 8395, 5, 8433, 5, 8455, 5, 8456, 5, 8531, 10, 8682, 5, 8687, 5, 8692, 5, 8903, 5, 8950, 5, 8951, 5, 9039, 5, 9040, 5, 9141, 5, 9149, 5, 9150, 5, 9191, 5, 9221, 5, 9222, 5, 20499, 5, 20538, 5, 20539, 5, 20790, 5, 20791, 5, 21291, 5, 21292, 5, 21500, 5, 21817, 5, 21818, 5, 22032, 5, 22033, 5, 22091, 5, 22092, 5, 22332, 5, 22391, 5, 22392, 5, 22700, 5, 22770, 5, 22780, 5, 22832, 5, 23090, 5, 23095, 5, 23239, 5, 23240, 5, 23433, 5, 23700, 5, 24047, 5, 24048, 5, 24100, 14, 24200, 5, 24305, 5, 24306, 5, 24382, 6, 24383, 5, 24500, 5, 24547, 5, 24548, 5, 24571, 2, 24600, 5, 25E3, 5, 25231, 5, 25884, 5, 25932, 5, 26237, 5, 26331, 5, 26332, 5, 26591, 5, 26592, 5, 26632, 5, 26692, 5, 26855, 10, 26856, 10, 27120, 5, 27200, 5, 27291, 7, 27292, 7, 27429, 5, 27492, 5, 27500, 5, 27700, 5, 28232, 5, 28600, 5, 28991, 5, 28992, 5, 29100, 5, 29220, 5, 29221, 5, 29333, 5, 29635, 5, 29636, 5, 29701, 5, 29738, 5, 29739, 5, 29849, 5, 29850, 5, 29871, 3, 29872, 13, 29873, 5, 29900, 5, 29901, 5, 29903, 5, 30200, 15, 30339, 5, 30340, 5, 30791, 5, 30792, 5, 31028, 5, 31121, 5, 31154, 5, 31170, 5, 31171, 5, 31370, 5, 31528, 5, 31529, 5, 31600, 5, 31700, 5, 31838, 5, 31839, 5, 31901, 5, 32061, 5, 32062, 5, 32098, 5, 32099, 10, 32100, 5, 32104, 5, 32161, 5, 32766, 5, 53048, 5, 53049, 5, 54090, 5, 54091, 5, 65061, 10, 65062, 10, 65161, 5, 65163, 5, 102041, 10, 102064, 8, 102068, 1, 102069, 0, 102118, 10, 102119, 11, 102120, 10, 102121, 10, 102217, 10, 102218, 5, 102219, 10, 102220, 10, 102378, 11, 102379, 11, 102380, 5, 102381, 11, 102498, 5, 102499, 5, 102589, 10, 102590, 5, 102599, 10, 102600, 10, 102604, 10, 102605, 5, 102606, 5, 102647, 5, 102704, 10, 102705, 10, 102706, 5, 102733, 10, 102761, 10, 102762, 5, 102763, 10, 102764, 5, 102765, 5, 102766, 10, 102962, 5, 102963, 5, 102970, 11, 102974, 10, 102993, 5, 102994, 5, 102995, 10, 102996, 10, 103015, 5, 103016, 10, 103017, 5, 103018, 10, 103025, 5, 103026, 5, 103027, 10, 103028, 10, 103035, 5, 103036, 5, 103037, 10, 103038, 10, 103039, 5, 103040, 5, 103041, 10, 103042, 10, 103043, 5, 103044, 5, 103045, 10, 103046, 10, 103047, 5, 103048, 5, 103049, 10, 103050, 10, 103051, 5, 103052, 10, 103053, 5, 103054, 10, 103055, 5, 103056, 10, 103057, 5, 103058, 5, 103059, 10, 103060, 10, 103061, 5, 103062, 5, 103063, 10, 103064, 10, 103069, 10, 103070, 5, 103071, 5, 103072, 10, 103073, 10, 103086, 5, 103087, 5, 103088, 10, 103089, 10, 103094, 11, 103095, 5, 103096, 10, 103103, 5, 103104, 10, 103105, 5, 103106, 10, 103121, 5, 103122, 10, 103123, 5, 103124, 5, 103125, 11, 103126, 11, 103127, 5, 103128, 5, 103129, 10, 103130, 10, 103131, 5, 103132, 5, 103133, 10, 103134, 10, 103135, 5, 103136, 5, 103137, 11, 103138, 11, 103139, 5, 103140, 10, 103141, 5, 103142, 10, 103143, 5, 103144, 10, 103145, 5, 103146, 11, 103147, 5, 103148, 5, 103149, 10, 103150, 10, 103151, 5, 103152, 10, 103172, 5, 103173, 10, 103174, 5, 103175, 5, 103176, 10, 103177, 10, 103178, 5, 103179, 5, 103180, 10, 103181, 10, 103182, 5, 103183, 5, 103184, 10, 103185, 10, 103228, 5, 103229, 5, 103230, 10, 103231, 10, 103250, 5, 103251, 10, 103252, 5, 103253, 10, 103260, 5, 103261, 5, 103262, 10, 103263, 10, 103270, 5, 103271, 5, 103272, 10, 103273, 10, 103274, 5, 103275, 5, 103276, 10, 103277, 10, 103278, 5, 103279, 5, 103280, 10, 103281, 10, 103282, 5, 103283, 5, 103284, 10, 103285, 10, 103286, 5, 103287, 10, 103288, 5, 103289, 10, 103290, 5, 103291, 10, 103292, 5, 103293, 5, 103294, 10, 103295, 10, 103296, 5, 103297, 5, 103298, 10, 103299, 10, 103376, 10, 103377, 5, 103378, 5, 103379, 10, 103380, 10, 103393, 5, 103394, 5, 103395, 10, 103396, 10, 103472, 5, 103473, 11, 103474, 5, 103475, 10, 103482, 5, 103483, 10, 103484, 5, 103485, 10, 103500, 5, 103501, 10, 103502, 5, 103503, 5, 103504, 11, 103505, 11, 103506, 5, 103507, 5, 103508, 10, 103509, 10, 103510, 5, 103511, 5, 103512, 10, 103513, 10, 103514, 5, 103515, 10, 103516, 5, 103517, 10, 103518, 5, 103519, 10, 103520, 5, 103521, 11, 103522, 5, 103523, 5, 103524, 10, 103525, 10, 103526, 5, 103527, 10, 103561, 10, 103562, 10, 103563, 5, 103564, 5, 103565, 10, 103566, 10, 103567, 5, 103568, 5, 103569, 10, 103570, 10, 103585, 10, 103586, 5, 103587, 10, 103588, 11, 103589, 5, 103590, 10, 103591, 11, 103592, 5, 103593, 10, 103594, 11, 103695, 10, 103846, 5, 103946, 10],
          pcsidc: [[2E3, 2045, 5], [2056, 2065, 5], [2067, 2135, 5], [2137, 2153, 5], [2161, 2170, 5], [2172, 2193, 5], [2196, 2198, 5], [2200, 2203, 5], [2206, 2217, 5], [2222, 2224, 11], [2251, 2253, 11], [2280, 2282, 11], [2308, 2311, 5], [2315, 2325, 5], [2327, 2394, 5], [2400, 2491, 5], [2494, 2758, 5], [2867, 2869, 11], [2870, 2888, 10], [2891, 2895, 10], [2896, 2898, 11], [2902, 2908, 10], [2915, 2920, 10], [2921, 2923, 11], [2924, 2930, 10], [2931, 2941, 5], [2969, 2973, 5], [2975, 2982, 5], [2984, 2988, 5], [2995, 3002, 5], [3006, 3051, 5], [3054, 3059, 5], [3061, 3066, 5], [3068, 3071, 5], [3084, 3087, 5], [3112, 3118, 5], [3120, 3138, 5], [3146, 3151, 5], [3153, 3157, 5], [3161, 3166, 5], [3168, 3172, 5], [3174, 3203, 5], [3294, 3313, 5], [3315, 3335, 5], [3339, 3345, 5], [3350, 3358, 5], [3367, 3369, 5], [3374, 3388, 5], [3391, 3399, 5], [3408, 3416, 5], [3425, 3432, 10], [3441, 3446, 10], [3456, 3459, 10], [3465, 3478, 5], [3554, 3559, 5], [3561, 3565, 10], [3568, 3570, 10], [3571, 3581, 5], [3594, 3597, 5], [3601, 3604, 5], [3637, 3639, 5], [3665, 3667, 5], [3693, 3695, 5], [3701, 3727, 5], [3728, 3733, 10], [3744, 3747, 5], [3753, 3758, 10], [3761, 3763, 5], [3765, 3769, 5], [3779, 3781, 5], [3788, 3791, 5], [3797, 3799, 5], [3832, 3841, 5], [3844, 3852, 5], [3873, 3885, 5], [3890, 3893, 5], [3942, 3950, 5], [3968, 3970, 5], [3973, 3976, 5], [3986, 3989, 5], [3994, 3997, 5], [4390, 4398, 5], [4399, 4413, 10], [4418, 4433, 10], [4491, 4554, 5], [4568, 4589, 5], [4652, 4656, 5], [4766, 4800, 5], [5069, 5072, 5], [5105, 5130, 5], [5180, 5184, 5], [5253, 5259, 5], [5269, 5275, 5], [5292, 5311, 5], [5343, 5349, 5], [5355, 5357, 5], [5387, 5389, 5], [5459, 5463, 5], [5479, 5482, 5], [5530, 5539, 5], [5550, 5552, 5], [5562, 5583, 5], [5623, 5625, 10], [5631, 5639, 5], [5649, 5653, 5], [5663, 5680, 5], [5682, 5685, 5], [5875, 5877, 5], [5896, 5899, 5], [5921, 5940, 5], [6050, 6125, 5], [6351, 6354, 5], [6366, 6372, 5], [6381, 6387, 5], [6622, 6624, 5], [6707, 6709, 5], [6720, 6723, 5], [6732, 6738, 5], [6931, 6933, 5], [7005, 7007, 5], [7057, 7070, 10], [7074, 7082, 5], [7109, 7118, 5], [7119, 7127, 11], [7374, 7376, 5], [7528, 7586, 5], [7587, 7645, 10], [7755, 7787, 5], [7791, 7795, 5], [7799, 7801, 5], [7803, 7805, 5], [7825, 7831, 5], [7845, 7859, 5], [8013, 8032, 5], [8065, 8068, 11], [8518, 8529, 10], [8533, 8536, 10], [8538, 8540, 10], [8677, 8679, 5], [8836, 8840, 5], [8908, 8910, 5], [9154, 9159, 5], [9205, 9218, 5], [20002, 20032, 5], [20062, 20092, 5], [20135, 20138, 5], [20248, 20258, 5], [20348, 20358, 5], [20436, 20440, 5], [20822, 20824, 5], [20934, 20936, 5], [21035, 21037, 5], [21095, 21097, 5], [21148, 21150, 5], [21413, 21423, 5], [21473, 21483, 5], [21780, 21782, 5], [21891, 21894, 5], [22171, 22177, 5], [22181, 22187, 5], [22191, 22197, 5], [22234, 22236, 5], [22521, 22525, 5], [22991, 22994, 5], [23028, 23038, 5], [23830, 23853, 5], [23866, 23872, 5], [23877, 23884, 5], [23886, 23894, 5], [23946, 23948, 5], [24311, 24313, 5], [24342, 24347, 5], [24370, 24374, 6], [24375, 24381, 5], [24718, 24721, 5], [24817, 24821, 5], [24877, 24882, 5], [24891, 24893, 5], [25391, 25395, 5], [25828, 25838, 5], [26191, 26195, 5], [26391, 26393, 5], [26703, 26722, 5], [26729, 26760, 10], [26766, 26798, 10], [26860, 26870, 10], [26891, 26899, 5], [26903, 26923, 5], [26929, 26946, 5], [26948, 26998, 5], [27037, 27040, 5], [27205, 27232, 5], [27258, 27260, 5], [27391, 27398, 5], [27561, 27564, 5], [27571, 27574, 5], [27581, 27584, 5], [27591, 27594, 5], [28191, 28193, 5], [28348, 28358, 5], [28402, 28432, 5], [28462, 28492, 5], [29118, 29122, 5], [29177, 29185, 5], [30161, 30179, 5], [30491, 30494, 5], [30729, 30732, 5], [31251, 31259, 5], [31265, 31268, 5], [31275, 31278, 5], [31288, 31297, 5], [31461, 31465, 5], [31491, 31495, 5], [31917, 31922, 5], [31965, 31985, 5], [31992, 32E3, 5], [32001, 32003, 10], [32005, 32031, 10], [32033, 32060, 10], [32074, 32077, 10], [32081, 32086, 5], [32107, 32130, 5], [32133, 32158, 5], [32164, 32167, 10], [32180, 32199, 5], [32201, 32260, 5], [32301, 32360, 5], [32601, 32662, 5], [32664, 32667, 10], [32701, 32761, 5], [53001, 53004, 5], [53008, 53019, 5], [53021, 53032, 5], [53034, 53037, 5], [53042, 53046, 5], [53074, 53080, 5], [54001, 54004, 5], [54008, 54019, 5], [54021, 54032, 5], [54034, 54037, 5], [54042, 54046, 5], [54048, 54053, 5], [54074, 54080, 5], [54098, 54101, 5], [102001, 102040, 5], [102042, 102063, 5], [102065, 102067, 5], [102070, 102112, 5], [102114, 102117, 5], [102122, 102208, 5], [102210, 102216, 5], [102221, 102300, 5], [102304, 102377, 5], [102382, 102388, 5], [102389, 102398, 10], [102399, 102444, 5], [102445, 102447, 10], [102448, 102458, 5], [102459, 102468, 10], [102469, 102496, 5], [102500, 102519, 11], [102520, 102524, 5], [102525, 102529, 10], [102530, 102549, 5], [102557, 102588, 5], [102593, 102598, 5], [102601, 102603, 5], [102608, 102628, 5], [102629, 102646, 10], [102648, 102672, 10], [102675, 102700, 10], [102701, 102703, 5], [102707, 102730, 10], [102735, 102758, 10], [102767, 102900, 5], [102965, 102969, 5], [102971, 102973, 5], [102975, 102989, 5], [102990, 102992, 11], [102997, 103002, 5], [103003, 103008, 10], [103009, 103011, 5], [103012, 103014, 10], [103019, 103021, 5], [103022, 103024, 10], [103029, 103031, 5], [103032, 103034, 10], [103065, 103068, 5], [103074, 103076, 5], [103077, 103079, 11], [103080, 103082, 5], [103083, 103085, 10], [103090, 103093, 5], [103097, 103099, 5], [103100, 103102, 10], [103107, 103109, 5], [103110, 103112, 10], [103113, 103116, 5], [103117, 103120, 10], [103153, 103157, 5], [103158, 103162, 10], [103163, 103165, 5], [103166, 103168, 11], [103169, 103171, 10], [103186, 103188, 5], [103189, 103191, 10], [103192, 103195, 5], [103196, 103199, 10], [103200, 103224, 5], [103225, 103227, 11], [103232, 103237, 5], [103238, 103243, 10], [103244, 103246, 5], [103247, 103249, 10], [103254, 103256, 5], [103257, 103259, 10], [103264, 103266, 5], [103267, 103269, 10], [103300, 103375, 5], [103381, 103383, 5], [103384, 103386, 11], [103387, 103389, 5], [103390, 103392, 10], [103397, 103399, 5], [103400, 103471, 10], [103476, 103478, 5], [103479, 103481, 10], [103486, 103488, 5], [103489, 103491, 10], [103492, 103495, 5], [103496, 103499, 10], [103539, 103543, 5], [103544, 103548, 10], [103549, 103551, 5], [103552, 103554, 11], [103555, 103557, 10], [103558, 103560, 5], [103571, 103573, 5], [103574, 103576, 10], [103577, 103580, 5], [103581, 103583, 10], [103595, 103597, 5], [103600, 103694, 5], [103696, 103698, 5], [103700, 103793, 10], [103794, 103799, 5]],
          gcsid: [4001, 81, 4002, 85, 4003, 70, 4004, 84, 4005, 82, 4006, 83, 4007, 60, 4008, 67, 4009, 39, 4010, 57, 4011, 63, 4012, 64, 4013, 64, 4014, 63, 4015, 92, 4016, 90, 4018, 86, 4019, 75, 4020, 68, 4021, 70, 4022, 55, 4023, 75, 4024, 66, 4025, 73, 4027, 95, 4028, 59, 4029, 58, 4031, 75, 4032, 78, 4033, 77, 4034, 65, 4035, 100, 4036, 70, 4042, 88, 4044, 87, 4045, 89, 4046, 75, 4047, 99, 4052, 101, 4053, 97, 4054, 61, 4075, 75, 4081, 75, 4120, 84, 4121, 75, 4122, 80, 4123, 55, 4124, 84, 4126, 75, 4130, 75, 4131, 92, 4132, 64, 4133, 75, 4134, 64, 4140, 75, 4141, 75, 4142, 64, 4143, 64, 4144, 92, 4145, 87, 4146, 89, 4147, 66, 4148, 75, 4149, 84, 4150, 84, 4151, 75, 4152, 75, 4153, 55, 4154, 55, 4155, 63, 4156, 84, 4157, 60, 4162, 84, 4163, 75, 4164, 66, 4165, 55, 4166, 75, 4168, 58, 4170, 75, 4172, 75, 4173, 75, 4174, 58, 4175, 64, 4176, 75, 4178, 66, 4179, 66, 4180, 75, 4188, 81, 4190, 75, 4191, 66, 4192, 55, 4193, 63, 4198, 64, 4199, 55, 4200, 66, 4201, 64, 4202, 70, 4203, 70, 4204, 55, 4205, 66, 4206, 63, 4207, 55, 4208, 55, 4209, 64, 4210, 64, 4211, 84, 4212, 64, 4213, 63, 4214, 66, 4215, 55, 4216, 67, 4218, 55, 4219, 84, 4220, 64, 4221, 55, 4222, 64, 4224, 55, 4225, 55, 4229, 68, 4230, 55, 4231, 55, 4232, 64, 4234, 64, 4235, 55, 4236, 55, 4237, 70, 4238, 70, 4239, 92, 4240, 92, 4241, 65, 4242, 67, 4243, 88, 4244, 92, 4245, 86, 4246, 64, 4250, 64, 4251, 64, 4252, 63, 4253, 67, 4254, 55, 4255, 55, 4256, 64, 4257, 84, 4258, 75, 4259, 55, 4260, 64, 4261, 106, 4262, 84, 4263, 64, 4265, 55, 4266, 63, 4267, 67, 4269, 75, 4270, 64, 4271, 55, 4272, 55, 4273, 82, 4274, 55, 4275, 63, 4276, 73, 4280, 84, 4281, 57, 4282, 63, 4283, 75, 4284, 66, 4285, 55, 4286, 68, 4288, 55, 4289, 84, 4291, 70, 4292, 55, 4293, 83, 4294, 84, 4295, 84, 4296, 63, 4297, 55, 4298, 90, 4299, 85, 4300, 85, 4301, 84, 4302, 60, 4303, 68, 4306, 84, 4307, 64, 4308, 84, 4309, 55, 4310, 63, 4311, 55, 4312, 84, 4313, 55, 4314, 84, 4315, 63, 4316, 55, 4317, 66, 4318, 75, 4319, 75, 4322, 80, 4324, 80, 4326, 75, 4466, 75, 4469, 75, 4475, 55, 4483, 75, 4490, 75, 4555, 66, 4558, 75, 4608, 67, 4609, 67, 4610, 74, 4614, 55, 4619, 75, 4624, 75, 4625, 55, 4627, 75, 4636, 55, 4637, 55, 4638, 67, 4639, 55, 4657, 93, 4659, 75, 4660, 55, 4661, 75, 4666, 84, 4667, 75, 4670, 75, 4671, 63, 4674, 75, 4679, 64, 4680, 64, 4682, 92, 4683, 67, 4686, 75, 4687, 75, 4693, 75, 4694, 75, 4695, 67, 4696, 64, 4697, 64, 4702, 75, 4703, 64, 4704, 55, 4705, 55, 4706, 68, 4718, 55, 4720, 80, 4721, 55, 4723, 67, 4726, 67, 4737, 75, 4738, 60, 4740, 79, 4741, 55, 4742, 75, 4743, 64, 4744, 64, 4745, 84, 4746, 84, 4747, 75, 4748, 56, 4749, 75, 4750, 75, 4751, 91, 4752, 56, 4753, 55, 4754, 55, 4759, 75, 4761, 75, 4801, 84, 4802, 55, 4803, 55, 4804, 84, 4805, 84, 4806, 55, 4807, 106, 4808, 84, 4809, 55, 4810, 105, 4811, 106, 4816, 106, 4817, 82, 4818, 84, 4820, 84, 4821, 106, 4823, 55, 4824, 55, 4901, 107, 4902, 107, 4903, 59, 4904, 84, 5228, 84, 5229, 84, 5233, 92, 5252, 75, 5264, 75, 5340, 75, 5354, 75, 5360, 75, 5371, 75, 5373, 75, 5381, 75, 5393, 75, 5464, 60, 5467, 67, 5489, 75, 5524, 55, 5527, 70, 5546, 75, 5561, 66, 5593, 75, 5681, 84, 5886, 75, 6135, 75, 6365, 75, 6706, 75, 6881, 64, 6882, 64, 6883, 55, 6892, 64, 6894, 64, 6980, 75, 6983, 75, 6987, 75, 6990, 75, 7035, 75, 7037, 75, 7039, 75, 7041, 75, 7073, 75, 7084, 75, 7086, 75, 7133, 75, 7373, 75, 7683, 76, 7798, 75, 7844, 75, 7881, 75, 7886, 75, 8042, 96, 8043, 96, 8086, 75, 8232, 75, 8237, 75, 8240, 75, 8246, 75, 8249, 75, 8252, 75, 8255, 75, 8351, 84, 8427, 75, 8428, 55, 8449, 75, 8545, 75, 8685, 75, 8694, 64, 8699, 75, 8818, 75, 8888, 75, 8900, 75, 8902, 75, 8907, 75, 8949, 75, 9003, 75, 9006, 75, 9009, 75, 9012, 75, 9017, 75, 9068, 75, 9069, 75, 9140, 75, 9148, 75, 9153, 75, 37001, 73, 37002, 69, 37003, 72, 37004, 71, 37005, 62, 37006, 91, 37007, 94, 37008, 101, 37201, 55, 37202, 92, 37203, 87, 37204, 55, 37205, 55, 37206, 64, 37207, 71, 37208, 64, 37211, 64, 37220, 67, 37221, 55, 37222, 55, 37223, 63, 37224, 55, 37225, 106, 37226, 55, 37227, 55, 37228, 64, 37229, 62, 37230, 55, 37231, 70, 37232, 55, 37233, 55, 37235, 55, 37237, 55, 37238, 55, 37239, 67, 37240, 64, 37241, 55, 37242, 55, 37243, 67, 37252, 67, 37253, 55, 37254, 64, 37255, 84, 37257, 66, 37259, 55, 37260, 67, 104017, 79, 104018, 79, 104024, 75, 104027, 75, 104047, 98, 104050, 75, 104100, 75, 104101, 84, 104102, 84, 104103, 64, 104104, 55, 104105, 84, 104106, 55, 104107, 75, 104108, 75, 104109, 67, 104110, 75, 104111, 75, 104112, 67, 104113, 67, 104128, 102, 104129, 75, 104130, 55, 104131, 84, 104132, 67, 104133, 75, 104134, 75, 104135, 66, 104136, 70, 104137, 75, 104138, 55, 104139, 106, 104140, 106, 104223, 75, 104248, 55, 104256, 92, 104261, 63, 104286, 75, 104287, 75, 104304, 63, 104700, 49, 104701, 9, 104702, 24, 104703, 15, 104704, 28, 104705, 32, 104706, 53, 104707, 46, 104708, 37, 104709, 54, 104710, 11, 104711, 14, 104712, 30, 104713, 52, 104714, 4, 104715, 4, 104716, 23, 104717, 14, 104718, 48, 104719, 29, 104720, 22, 104721, 21, 104722, 35, 104723, 21, 104724, 46, 104725, 22, 104726, 49, 104727, 45, 104728, 52, 104729, 10, 104730, 10, 104731, 21, 104732, 31, 104733, 26, 104734, 40, 104735, 19, 104736, 30, 104737, 34, 104738, 27, 104739, 46, 104740, 5, 104741, 12, 104742, 50, 104743, 9, 104744, 43, 104745, 21, 104746, 26, 104747, 25, 104748, 21, 104749, 7, 104750, 53, 104751, 6, 104752, 33, 104753, 29, 104754, 19, 104755, 41, 104756, 31, 104757, 3, 104758, 41, 104759, 25, 104760, 49, 104761, 41, 104762, 44, 104763, 50, 104764, 46, 104765, 6, 104766, 40, 104767, 16, 104768, 8, 104769, 17, 104770, 48, 104771, 42, 104772, 50, 104773, 25, 104774, 29, 104775, 25, 104776, 32, 104777, 13, 104778, 36, 104779, 47, 104780, 14, 104781, 29, 104782, 23, 104783, 38, 104784, 42, 104785, 18, 104786, 20, 104808, 51, 104896, 75, 104900, 112, 104901, 104, 104902, 103, 104903, 116, 104904, 109, 104905, 108, 104906, 169, 104907, 164, 104908, 0, 104909, 168, 104910, 141, 104911, 166, 104912, 114, 104913, 160, 104914, 151, 104915, 117, 104916, 110, 104917, 140, 104918, 115, 104919, 170, 104920, 163, 104921, 154, 104922, 158, 104923, 161, 104924, 148, 104925, 0, 104926, 159, 104927, 167, 104928, 127, 104929, 131, 104930, 145, 104931, 159, 104932, 136, 104933, 123, 104934, 139, 104935, 134, 104936, 166, 104937, 150, 104938, 137, 104939, 147, 104940, 121, 104941, 165, 104942, 128, 104943, 111, 104944, 1, 104945, 126, 104946, 152, 104947, 157, 104948, 162, 104949, 153, 104950, 156, 104951, 149, 104952, 132, 104953, 122, 104954, 160, 104955, 146, 104956, 143, 104957, 156, 104958, 120, 104959, 125, 104960, 2, 104961, 144, 104962, 142, 104963, 138, 104964, 155, 104965, 135, 104966, 133, 104967, 151, 104968, 118, 104969, 119, 104970, 124, 104971, 108, 104972, 129, 104973, 130, 104974, 113, 104975, 0, 104990, 84, 104991, 75, 104992, 84],
          gcsidc: [[4127, 4129, 67], [4135, 4139, 67], [4158, 4161, 55], [4181, 4185, 55], [4194, 4196, 55], [4226, 4228, 63], [4247, 4249, 55], [4277, 4279, 81], [4600, 4607, 64], [4621, 4623, 55], [4628, 4633, 55], [4641, 4646, 55], [4662, 4665, 55], [4676, 4678, 66], [4688, 4692, 55], [4699, 4701, 64], [4755, 4757, 75], [4763, 4765, 75], [4813, 4815, 84], [8972, 8987, 75], [37212, 37219, 55], [37245, 37247, 55], [37249, 37251, 55], [104009, 104015, 75], [104019, 104022, 75], [104114, 104124, 75], [104125, 104127, 55], [104141, 104145, 75], [104179, 104186, 75], [104257, 104260, 75]]
        },
            g = {
          c: [[2E3, 2035, 9001], [2039, 2045, 9001], [2056, 2062, 9001], [2067, 2090, 9001], [2093, 2135, 9001], [2161, 2165, 9001], [2172, 2180, 9001], [2188, 2193, 9001], [2195, 2198, 9001], [2200, 2203, 9001], [2205, 2213, 9001], [2215, 2217, 9001], [2222, 2224, 9002], [2225, 2243, 9003], [2246, 2250, 9003], [2251, 2253, 9002], [2257, 2264, 9003], [2274, 2279, 9003], [2280, 2282, 9002], [2283, 2289, 9003], [2308, 2313, 9001], [2315, 2491, 9001], [2494, 2576, 9001], [2578, 2599, 9001], [2601, 2693, 9001], [2695, 2866, 9001], [2867, 2869, 9002], [2870, 2888, 9003], [2891, 2895, 9003], [2896, 2898, 9002], [2902, 2908, 9003], [2915, 2920, 9003], [2921, 2923, 9002], [2924, 2930, 9003], [2931, 2933, 9001], [2935, 2962, 9001], [2964, 2968, 9003], [2969, 2973, 9001], [2975, 2978, 9001], [2984, 2988, 9001], [2995, 3051, 9001], [3054, 3072, 9001], [3077, 3079, 9001], [3081, 3088, 9001], [3092, 3101, 9001], [3106, 3138, 9001], [3146, 3151, 9001], [3153, 3166, 9001], [3168, 3172, 9001], [3174, 3203, 9001], [3294, 3313, 9001], [3315, 3348, 9001], [3350, 3358, 9001], [3367, 3403, 9001], [3408, 3416, 9001], [3417, 3438, 9003], [3441, 3446, 9003], [3447, 3450, 9001], [3451, 3453, 9003], [3455, 3459, 9003], [3460, 3478, 9001], [3554, 3559, 9001], [3560, 3570, 9003], [3571, 3581, 9001], [3594, 3597, 9001], [3601, 3604, 9001], [3637, 3639, 9001], [3665, 3667, 9001], [3693, 3695, 9001], [3701, 3727, 9001], [3728, 3739, 9003], [3740, 3751, 9001], [3753, 3760, 9003], [3761, 3773, 9001], [3775, 3777, 9001], [3779, 3781, 9001], [3788, 3791, 9001], [3797, 3802, 9001], [3814, 3816, 9001], [3825, 3829, 9001], [3832, 3841, 9001], [3844, 3852, 9001], [3873, 3885, 9001], [3890, 3893, 9001], [3942, 3950, 9001], [3968, 3970, 9001], [3973, 3976, 9001], [3986, 3989, 9001], [3994, 3997, 9001], [4001, 4016, 9102], [4018, 4025, 9102], [4027, 4029, 9102], [4031, 4036, 9102], [4044, 4047, 9102], [4048, 4051, 9001], [4052, 4054, 9102], [4056, 4063, 9001], [4093, 4096, 9001], [4120, 4124, 9102], [4127, 4139, 9102], [4141, 4176, 9102], [4178, 4185, 9102], [4188, 4216, 9102], [4218, 4232, 9102], [4235, 4260, 9102], [4265, 4267, 9102], [4269, 4286, 9102], [4292, 4304, 9102], [4306, 4319, 9102], [4390, 4398, 9001], [4399, 4413, 9003], [4418, 4433, 9003], [4455, 4457, 9003], [4484, 4489, 9001], [4491, 4554, 9001], [4568, 4589, 9001], [4600, 4630, 9102], [4636, 4639, 9102], [4641, 4646, 9102], [4652, 4656, 9001], [4657, 4680, 9102], [4682, 4684, 9102], [4686, 4765, 9102], [4766, 4800, 9001], [4801, 4806, 9102], [4813, 4815, 9102], [5014, 5016, 9001], [5069, 5072, 9001], [5105, 5130, 9001], [5173, 5188, 9001], [5253, 5259, 9001], [5269, 5275, 9001], [5292, 5311, 9001], [5329, 5331, 9001], [5343, 5349, 9001], [5355, 5357, 9001], [5459, 5463, 9001], [5479, 5482, 9001], [5518, 5520, 9001], [5533, 5539, 9001], [5550, 5552, 9001], [5562, 5583, 9001], [5623, 5625, 9003], [5631, 5639, 9001], [5649, 5653, 9001], [5663, 5680, 9001], [5682, 5685, 9001], [5875, 5877, 9001], [5896, 5899, 9001], [5921, 5940, 9001], [6050, 6125, 9001], [6244, 6275, 9001], [6328, 6348, 9001], [6350, 6356, 9001], [6366, 6372, 9001], [6381, 6387, 9001], [6393, 6404, 9001], [6480, 6483, 9001], [6511, 6514, 9001], [6579, 6581, 9001], [6619, 6624, 9001], [6625, 6627, 9003], [6628, 6632, 9001], [6634, 6637, 9001], [6669, 6692, 9001], [6707, 6709, 9001], [6720, 6723, 9001], [6732, 6738, 9001], [6881, 6883, 9102], [6931, 6933, 9001], [7005, 7007, 9001], [7057, 7070, 9003], [7074, 7082, 9001], [7109, 7118, 9001], [7119, 7127, 9002], [7374, 7376, 9001], [7528, 7586, 9001], [7587, 7645, 9003], [7692, 7696, 9001], [7755, 7787, 9001], [7791, 7795, 9001], [7799, 7801, 9001], [7803, 7805, 9001], [7825, 7831, 9001], [7845, 7859, 9001], [8013, 8032, 9001], [8065, 8068, 9002], [8518, 8529, 9003], [8533, 8536, 9003], [8538, 8540, 9003], [8677, 8679, 9001], [8836, 8840, 9001], [8857, 8859, 9001], [8908, 8910, 9001], [8972, 9E3, 9102], [9053, 9057, 9102], [9059, 9069, 9102], [9154, 9159, 9001], [9205, 9218, 9001], [20002, 20032, 9001], [20062, 20092, 9001], [20135, 20138, 9001], [20248, 20258, 9001], [20348, 20358, 9001], [20436, 20440, 9001], [20822, 20824, 9001], [20934, 20936, 9001], [21035, 21037, 9001], [21095, 21097, 9001], [21148, 21150, 9001], [21413, 21423, 9001], [21473, 21483, 9001], [21780, 21782, 9001], [21896, 21899, 9001], [22171, 22177, 9001], [22181, 22187, 9001], [22191, 22197, 9001], [22234, 22236, 9001], [22521, 22525, 9001], [22991, 22994, 9001], [23028, 23038, 9001], [23830, 23853, 9001], [23866, 23872, 9001], [23877, 23884, 9001], [23886, 23894, 9001], [23946, 23948, 9001], [24311, 24313, 9001], [24342, 24347, 9001], [24370, 24374, 9084], [24375, 24381, 9001], [24718, 24721, 9001], [24817, 24821, 9001], [24877, 24882, 9001], [24891, 24893, 9001], [25391, 25395, 9001], [25828, 25838, 9001], [26191, 26195, 9001], [26391, 26393, 9001], [26701, 26722, 9001], [26729, 26746, 9003], [26748, 26760, 9003], [26766, 26799, 9003], [26847, 26870, 9003], [26891, 26899, 9001], [26901, 26923, 9001], [26929, 26946, 9001], [26948, 26978, 9001], [26980, 26998, 9001], [27037, 27040, 9001], [27205, 27232, 9001], [27258, 27260, 9001], [27391, 27398, 9001], [27561, 27564, 9001], [27571, 27574, 9001], [27581, 27584, 9001], [27591, 27594, 9001], [28191, 28193, 9001], [28348, 28358, 9001], [28402, 28432, 9001], [28462, 28492, 9001], [29168, 29172, 9001], [29187, 29195, 9001], [29901, 29903, 9001], [30161, 30179, 9001], [30491, 30494, 9001], [30729, 30732, 9001], [31251, 31259, 9001], [31265, 31268, 9001], [31275, 31277, 9001], [31281, 31290, 9001], [31466, 31469, 9001], [31491, 31495, 9001], [31965, 32E3, 9001], [32001, 32003, 9003], [32005, 32017, 9003], [32019, 32028, 9003], [32033, 32035, 9003], [32037, 32060, 9003], [32064, 32067, 9003], [32081, 32086, 9001], [32107, 32130, 9001], [32133, 32158, 9001], [32164, 32167, 9003], [32180, 32199, 9001], [32201, 32260, 9001], [32301, 32360, 9001], [32601, 32662, 9001], [32664, 32667, 9003], [32701, 32761, 9001], [37002, 37008, 9102], [53001, 53004, 9001], [53008, 53019, 9001], [53021, 53032, 9001], [53034, 53037, 9001], [53042, 53046, 9001], [53074, 53080, 9001], [54001, 54004, 9001], [54008, 54019, 9001], [54021, 54032, 9001], [54042, 54046, 9001], [54048, 54053, 9001], [54074, 54080, 9001], [54098, 54101, 9001], [102001, 102005, 9001], [102007, 102039, 9001], [102042, 102045, 9001], [102060, 102063, 9001], [102070, 102079, 9001], [102096, 102099, 9001], [102101, 102109, 9001], [102114, 102117, 9001], [102132, 102138, 9001], [102141, 102144, 9001], [102156, 102166, 9001], [102173, 102179, 9001], [102191, 102198, 9001], [102221, 102228, 9001], [102231, 102233, 9001], [102237, 102240, 9001], [102364, 102375, 9001], [102389, 102398, 9003], [102399, 102419, 9001], [102421, 102438, 9001], [102445, 102447, 9003], [102450, 102458, 9001], [102459, 102462, 9003], [102470, 102489, 9001], [102550, 102556, 9001], [102562, 102588, 9001], [102629, 102640, 9003], [102648, 102650, 9003], [102688, 102690, 9003], [102696, 102700, 9003], [102701, 102703, 9001], [102799, 102900, 9001], [103166, 103168, 9002], [103220, 103224, 9001], [103225, 103227, 9002], [103232, 103237, 9001], [103238, 103243, 9003], [103244, 103246, 9001], [103247, 103249, 9003], [103254, 103256, 9001], [103257, 103259, 9003], [103264, 103266, 9001], [103267, 103269, 9003], [103327, 103330, 9001], [103344, 103347, 9001], [103372, 103375, 9001], [103381, 103383, 9001], [103384, 103386, 9002], [103387, 103389, 9001], [103390, 103392, 9003], [103397, 103399, 9001], [103427, 103430, 9003], [103444, 103447, 9003], [103476, 103478, 9001], [103479, 103481, 9003], [103486, 103488, 9001], [103489, 103491, 9003], [103492, 103495, 9001], [103496, 103499, 9003], [103539, 103543, 9001], [103544, 103548, 9003], [103549, 103551, 9001], [103552, 103554, 9002], [103555, 103557, 9003], [103558, 103560, 9001], [103571, 103573, 9001], [103574, 103576, 9003], [103577, 103580, 9001], [103581, 103583, 9003], [103595, 103597, 9001], [103600, 103694, 9001], [103696, 103698, 9001], [103700, 103793, 9003], [104101, 104103, 9102], [104126, 104131, 9102], [104259, 104261, 9102], [104700, 104786, 9102], [104900, 104975, 9102]],
          nc: [2065, 9001, 2066, 9039, 2136, 9094, 2137, 9001, 2138, 9001, 2154, 9001, 2157, 9001, 2158, 9001, 2159, 9094, 2160, 9094, 2169, 9001, 2170, 9001, 2204, 9003, 2219, 9001, 2220, 9001, 2254, 9003, 2255, 9003, 2256, 9002, 2265, 9002, 2266, 9002, 2267, 9003, 2268, 9003, 2269, 9002, 2270, 9002, 2271, 9003, 2272, 9003, 2273, 9002, 2290, 9001, 2294, 9001, 2295, 9001, 2314, 9005, 2899, 9003, 2900, 9003, 2901, 9002, 2909, 9002, 2910, 9002, 2911, 9003, 2912, 9003, 2913, 9002, 2914, 9002, 2980, 9001, 2981, 9001, 2991, 9001, 2992, 9002, 2993, 9001, 2994, 9002, 3074, 9001, 3075, 9001, 3080, 9002, 3089, 9003, 3090, 9001, 3091, 9003, 3102, 9003, 3141, 9001, 3142, 9001, 3167, 9301, 3360, 9001, 3361, 9002, 3362, 9001, 3363, 9003, 3364, 9001, 3365, 9003, 3404, 9003, 3405, 9001, 3406, 9001, 3407, 9005, 3439, 9001, 3440, 9001, 3479, 9002, 3480, 9001, 3481, 9002, 3482, 9001, 3483, 9002, 3484, 9001, 3485, 9003, 3486, 9001, 3487, 9003, 3488, 9001, 3489, 9001, 3490, 9003, 3491, 9001, 3492, 9003, 3493, 9001, 3494, 9003, 3495, 9001, 3496, 9003, 3497, 9001, 3498, 9003, 3499, 9001, 3500, 9003, 3501, 9001, 3502, 9003, 3503, 9001, 3504, 9003, 3505, 9001, 3506, 9003, 3507, 9001, 3508, 9003, 3509, 9001, 3510, 9003, 3511, 9001, 3512, 9003, 3513, 9001, 3514, 9001, 3515, 9003, 3516, 9001, 3517, 9003, 3518, 9001, 3519, 9003, 3520, 9001, 3521, 9003, 3522, 9001, 3523, 9003, 3524, 9001, 3525, 9003, 3526, 9001, 3527, 9003, 3528, 9001, 3529, 9003, 3530, 9001, 3531, 9003, 3532, 9001, 3533, 9003, 3534, 9001, 3535, 9003, 3536, 9001, 3537, 9003, 3538, 9001, 3539, 9003, 3540, 9001, 3541, 9003, 3542, 9001, 3543, 9003, 3544, 9001, 3545, 9003, 3546, 9001, 3547, 9003, 3548, 9001, 3549, 9003, 3550, 9001, 3551, 9003, 3552, 9001, 3553, 9003, 3582, 9003, 3583, 9001, 3584, 9003, 3585, 9001, 3586, 9003, 3587, 9001, 3588, 9002, 3589, 9001, 3590, 9002, 3591, 9001, 3592, 9001, 3593, 9002, 3598, 9003, 3599, 9001, 3600, 9003, 3605, 9002, 3606, 9001, 3607, 9001, 3608, 9003, 3609, 9001, 3610, 9003, 3611, 9001, 3612, 9003, 3613, 9001, 3614, 9003, 3615, 9001, 3616, 9003, 3617, 9001, 3618, 9003, 3619, 9001, 3620, 9003, 3621, 9001, 3622, 9003, 3623, 9001, 3624, 9003, 3625, 9001, 3626, 9003, 3627, 9001, 3628, 9003, 3629, 9001, 3630, 9003, 3631, 9001, 3632, 9003, 3633, 9001, 3634, 9002, 3635, 9001, 3636, 9002, 3640, 9003, 3641, 9001, 3642, 9003, 3643, 9001, 3644, 9002, 3645, 9001, 3646, 9002, 3647, 9001, 3648, 9002, 3649, 9001, 3650, 9003, 3651, 9001, 3652, 9003, 3653, 9001, 3654, 9003, 3655, 9001, 3656, 9002, 3657, 9001, 3658, 9003, 3659, 9001, 3660, 9003, 3661, 9001, 3662, 9003, 3663, 9001, 3664, 9003, 3668, 9003, 3669, 9001, 3670, 9003, 3671, 9001, 3672, 9003, 3673, 9001, 3674, 9003, 3675, 9001, 3676, 9002, 3677, 9003, 3678, 9001, 3679, 9002, 3680, 9003, 3681, 9001, 3682, 9002, 3683, 9003, 3684, 9001, 3685, 9001, 3686, 9003, 3687, 9001, 3688, 9003, 3689, 9001, 3690, 9003, 3691, 9001, 3692, 9003, 3696, 9003, 3697, 9001, 3698, 9003, 3699, 9001, 3700, 9003, 3783, 9001, 3784, 9001, 3793, 9001, 3794, 9001, 3812, 9001, 3819, 9102, 3821, 9102, 3824, 9102, 3854, 9001, 3857, 9001, 3889, 9102, 3906, 9102, 3911, 9001, 3912, 9001, 3920, 9001, 3978, 9001, 3979, 9001, 3991, 9003, 3992, 9003, 4026, 9001, 4037, 9001, 4038, 9001, 4042, 9102, 4071, 9001, 4075, 9102, 4081, 9102, 4082, 9001, 4083, 9001, 4087, 9001, 4088, 9001, 4217, 9003, 4261, 9105, 4262, 9102, 4263, 9102, 4288, 9102, 4289, 9102, 4322, 9102, 4324, 9102, 4326, 9102, 4414, 9001, 4415, 9001, 4417, 9001, 4434, 9001, 4437, 9001, 4438, 9003, 4439, 9003, 4462, 9001, 4463, 9102, 4467, 9001, 4470, 9102, 4471, 9001, 4475, 9102, 4483, 9102, 4490, 9102, 4555, 9102, 4558, 9102, 4559, 9001, 4632, 9102, 4633, 9102, 4647, 9001, 4807, 9105, 4808, 9102, 4809, 9102, 4810, 9105, 4811, 9105, 4816, 9105, 4817, 9102, 4818, 9102, 4820, 9102, 4821, 9105, 4822, 9001, 4823, 9102, 4824, 9102, 4826, 9001, 4839, 9001, 4901, 9105, 4902, 9105, 4903, 9102, 4904, 9102, 5013, 9102, 5018, 9001, 5048, 9001, 5167, 9001, 5168, 9001, 5221, 9001, 5223, 9001, 5228, 9102, 5229, 9102, 5233, 9102, 5234, 9001, 5235, 9001, 5243, 9001, 5246, 9102, 5247, 9001, 5252, 9102, 5264, 9102, 5266, 9001, 5316, 9001, 5320, 9001, 5321, 9001, 5324, 9102, 5325, 9001, 5337, 9001, 5340, 9102, 5354, 9102, 5360, 9102, 5361, 9001, 5362, 9001, 5365, 9102, 5367, 9001, 5371, 9102, 5373, 9102, 5381, 9102, 5382, 9001, 5383, 9001, 5387, 9001, 5389, 9001, 5393, 9102, 5396, 9001, 5451, 9102, 5456, 9001, 5457, 9001, 5464, 9102, 5467, 9102, 5469, 9001, 5472, 9037, 5489, 9102, 5490, 9001, 5513, 9001, 5514, 9001, 5523, 9001, 5524, 9102, 5527, 9102, 5530, 9001, 5531, 9001, 5546, 9102, 5559, 9001, 5561, 9102, 5588, 9002, 5589, 9005, 5593, 9102, 5596, 9001, 5627, 9001, 5629, 9001, 5641, 9001, 5643, 9001, 5644, 9001, 5646, 9003, 5654, 9003, 5655, 9003, 5659, 9001, 5681, 9102, 5700, 9001, 5825, 9001, 5836, 9001, 5837, 9001, 5839, 9001, 5842, 9001, 5844, 9001, 5858, 9001, 5879, 9001, 5880, 9001, 5886, 9102, 5887, 9001, 5890, 9001, 6128, 9002, 6129, 9002, 6135, 9102, 6204, 9001, 6207, 9102, 6210, 9001, 6211, 9001, 6307, 9001, 6311, 9102, 6312, 9001, 6316, 9001, 6318, 9102, 6322, 9102, 6325, 9102, 6362, 9001, 6365, 9102, 6391, 9002, 6405, 9002, 6406, 9001, 6407, 9002, 6408, 9001, 6409, 9002, 6410, 9001, 6411, 9003, 6412, 9001, 6413, 9003, 6414, 9001, 6415, 9001, 6416, 9003, 6417, 9001, 6418, 9003, 6419, 9001, 6420, 9003, 6421, 9001, 6422, 9003, 6423, 9001, 6424, 9003, 6425, 9001, 6426, 9003, 6427, 9001, 6428, 9003, 6429, 9001, 6430, 9003, 6431, 9001, 6432, 9003, 6433, 9001, 6434, 9003, 6435, 9001, 6436, 9003, 6437, 9001, 6438, 9003, 6439, 9001, 6440, 9001, 6441, 9003, 6442, 9001, 6443, 9003, 6444, 9001, 6445, 9003, 6446, 9001, 6447, 9003, 6448, 9001, 6449, 9003, 6450, 9001, 6451, 9003, 6452, 9001, 6453, 9003, 6454, 9001, 6455, 9003, 6456, 9001, 6457, 9003, 6458, 9001, 6459, 9003, 6460, 9001, 6461, 9003, 6462, 9001, 6463, 9003, 6464, 9001, 6465, 9003, 6466, 9001, 6467, 9003, 6468, 9001, 6469, 9003, 6470, 9001, 6471, 9003, 6472, 9001, 6473, 9003, 6474, 9001, 6475, 9003, 6476, 9001, 6477, 9003, 6478, 9001, 6479, 9003, 6484, 9003, 6485, 9001, 6486, 9003, 6487, 9001, 6488, 9003, 6489, 9001, 6490, 9003, 6491, 9001, 6492, 9003, 6493, 9001, 6494, 9002, 6495, 9001, 6496, 9002, 6497, 9001, 6498, 9001, 6499, 9002, 6500, 9001, 6501, 9003, 6502, 9001, 6503, 9003, 6504, 9001, 6505, 9003, 6506, 9001, 6507, 9003, 6508, 9001, 6509, 9001, 6510, 9003, 6515, 9002, 6516, 9001, 6518, 9001, 6519, 9003, 6520, 9001, 6521, 9003, 6522, 9001, 6523, 9003, 6524, 9001, 6525, 9003, 6526, 9001, 6527, 9003, 6528, 9001, 6529, 9003, 6530, 9001, 6531, 9003, 6532, 9001, 6533, 9003, 6534, 9001, 6535, 9003, 6536, 9001, 6537, 9003, 6538, 9001, 6539, 9003, 6540, 9001, 6541, 9003, 6542, 9001, 6543, 9003, 6544, 9001, 6545, 9002, 6546, 9001, 6547, 9002, 6548, 9001, 6549, 9003, 6550, 9001, 6551, 9003, 6552, 9001, 6553, 9003, 6554, 9001, 6555, 9003, 6556, 9001, 6557, 9002, 6558, 9001, 6559, 9002, 6560, 9001, 6561, 9002, 6562, 9001, 6563, 9003, 6564, 9001, 6565, 9003, 6566, 9001, 6567, 9001, 6568, 9003, 6569, 9001, 6570, 9002, 6571, 9001, 6572, 9003, 6573, 9001, 6574, 9003, 6575, 9001, 6576, 9003, 6577, 9001, 6578, 9003, 6582, 9003, 6583, 9001, 6584, 9003, 6585, 9001, 6586, 9003, 6587, 9001, 6588, 9003, 6589, 9001, 6590, 9003, 6591, 9001, 6592, 9001, 6593, 9003, 6594, 9001, 6595, 9003, 6596, 9001, 6597, 9003, 6598, 9001, 6599, 9003, 6600, 9001, 6601, 9003, 6602, 9001, 6603, 9003, 6605, 9003, 6606, 9001, 6607, 9003, 6608, 9001, 6609, 9003, 6610, 9001, 6611, 9001, 6612, 9003, 6613, 9001, 6614, 9003, 6615, 9001, 6616, 9003, 6617, 9001, 6618, 9003, 6633, 9003, 6646, 9001, 6668, 9102, 6703, 9001, 6706, 9102, 6783, 9102, 6784, 9001, 6785, 9002, 6786, 9001, 6787, 9002, 6788, 9001, 6789, 9002, 6790, 9001, 6791, 9002, 6792, 9001, 6793, 9002, 6794, 9001, 6795, 9002, 6796, 9001, 6797, 9002, 6798, 9001, 6799, 9002, 6800, 9001, 6801, 9002, 6802, 9001, 6803, 9002, 6804, 9001, 6805, 9002, 6806, 9001, 6807, 9002, 6808, 9001, 6809, 9002, 6810, 9001, 6811, 9002, 6812, 9001, 6813, 9002, 6814, 9001, 6815, 9002, 6816, 9001, 6817, 9002, 6818, 9001, 6819, 9002, 6820, 9001, 6821, 9002, 6822, 9001, 6823, 9002, 6824, 9001, 6825, 9002, 6826, 9001, 6827, 9002, 6828, 9001, 6829, 9002, 6830, 9001, 6831, 9002, 6832, 9001, 6833, 9002, 6834, 9001, 6835, 9002, 6836, 9001, 6837, 9002, 6838, 9001, 6839, 9002, 6840, 9001, 6841, 9002, 6842, 9001, 6843, 9002, 6844, 9001, 6845, 9002, 6846, 9001, 6847, 9002, 6848, 9001, 6849, 9002, 6850, 9001, 6851, 9002, 6852, 9001, 6853, 9002, 6854, 9001, 6855, 9002, 6856, 9001, 6857, 9002, 6858, 9001, 6859, 9002, 6860, 9001, 6861, 9002, 6862, 9001, 6863, 9002, 6867, 9001, 6868, 9002, 6870, 9001, 6875, 9001, 6876, 9001, 6879, 9001, 6880, 9003, 6884, 9001, 6885, 9002, 6886, 9001, 6887, 9002, 6892, 9102, 6894, 9102, 6915, 9001, 6922, 9001, 6923, 9003, 6924, 9001, 6925, 9003, 6962, 9001, 6983, 9102, 6984, 9001, 6990, 9102, 6991, 9001, 7035, 9102, 7037, 9102, 7039, 9102, 7041, 9102, 7073, 9102, 7084, 9102, 7086, 9102, 7128, 9003, 7131, 9001, 7132, 9003, 7133, 9102, 7136, 9102, 7139, 9102, 7142, 9001, 7257, 9001, 7258, 9003, 7259, 9001, 7260, 9003, 7261, 9001, 7262, 9003, 7263, 9001, 7264, 9003, 7265, 9001, 7266, 9003, 7267, 9001, 7268, 9003, 7269, 9001, 7270, 9003, 7271, 9001, 7272, 9003, 7273, 9001, 7274, 9003, 7275, 9001, 7276, 9003, 7277, 9001, 7278, 9003, 7279, 9001, 7280, 9003, 7281, 9001, 7282, 9003, 7283, 9001, 7284, 9003, 7285, 9001, 7286, 9003, 7287, 9001, 7288, 9003, 7289, 9001, 7290, 9003, 7291, 9001, 7292, 9003, 7293, 9001, 7294, 9003, 7295, 9001, 7296, 9003, 7297, 9001, 7298, 9003, 7299, 9001, 7300, 9003, 7301, 9001, 7302, 9003, 7303, 9001, 7304, 9003, 7305, 9001, 7306, 9003, 7307, 9001, 7308, 9003, 7309, 9001, 7310, 9003, 7311, 9001, 7312, 9003, 7313, 9001, 7314, 9003, 7315, 9001, 7316, 9003, 7317, 9001, 7318, 9003, 7319, 9001, 7320, 9003, 7321, 9001, 7322, 9003, 7323, 9001, 7324, 9003, 7325, 9001, 7326, 9003, 7327, 9001, 7328, 9003, 7329, 9001, 7330, 9003, 7331, 9001, 7332, 9003, 7333, 9001, 7334, 9003, 7335, 9001, 7336, 9003, 7337, 9001, 7338, 9003, 7339, 9001, 7340, 9003, 7341, 9001, 7342, 9003, 7343, 9001, 7344, 9003, 7345, 9001, 7346, 9003, 7347, 9001, 7348, 9003, 7349, 9001, 7350, 9003, 7351, 9001, 7352, 9003, 7353, 9001, 7354, 9003, 7355, 9001, 7356, 9003, 7357, 9001, 7358, 9003, 7359, 9001, 7360, 9003, 7361, 9001, 7362, 9003, 7363, 9001, 7364, 9003, 7365, 9001, 7366, 9003, 7367, 9001, 7368, 9003, 7369, 9001, 7370, 9003, 7373, 9102, 7683, 9102, 7798, 9102, 7844, 9102, 7877, 9001, 7878, 9001, 7881, 9102, 7882, 9001, 7883, 9001, 7886, 9102, 7887, 9001, 7899, 9001, 7991, 9001, 7992, 9001, 8035, 9003, 8036, 9003, 8042, 9102, 8043, 9102, 8058, 9001, 8059, 9001, 8082, 9001, 8083, 9001, 8086, 9102, 8088, 9001, 8090, 9001, 8091, 9003, 8092, 9001, 8093, 9003, 8095, 9001, 8096, 9003, 8097, 9001, 8098, 9003, 8099, 9001, 8100, 9003, 8101, 9001, 8102, 9003, 8103, 9001, 8104, 9003, 8105, 9001, 8106, 9003, 8107, 9001, 8108, 9003, 8109, 9001, 8110, 9003, 8111, 9001, 8112, 9003, 8113, 9001, 8114, 9003, 8115, 9001, 8116, 9003, 8117, 9001, 8118, 9003, 8119, 9001, 8120, 9003, 8121, 9001, 8122, 9003, 8123, 9001, 8124, 9003, 8125, 9001, 8126, 9003, 8127, 9001, 8128, 9003, 8129, 9001, 8130, 9003, 8131, 9001, 8132, 9003, 8133, 9001, 8134, 9003, 8135, 9001, 8136, 9003, 8137, 9001, 8138, 9003, 8139, 9001, 8140, 9003, 8141, 9001, 8142, 9003, 8143, 9001, 8144, 9003, 8145, 9001, 8146, 9003, 8147, 9001, 8148, 9003, 8149, 9001, 8150, 9003, 8151, 9001, 8152, 9003, 8153, 9001, 8154, 9003, 8155, 9001, 8156, 9003, 8157, 9001, 8158, 9003, 8159, 9001, 8160, 9003, 8161, 9001, 8162, 9003, 8163, 9001, 8164, 9003, 8165, 9001, 8166, 9003, 8167, 9001, 8168, 9003, 8169, 9001, 8170, 9003, 8171, 9001, 8172, 9003, 8173, 9001, 8177, 9003, 8179, 9001, 8180, 9003, 8181, 9001, 8182, 9003, 8184, 9001, 8185, 9003, 8187, 9001, 8189, 9003, 8191, 9001, 8193, 9003, 8196, 9001, 8197, 9003, 8198, 9001, 8200, 9003, 8201, 9001, 8202, 9003, 8203, 9001, 8204, 9003, 8205, 9001, 8206, 9003, 8207, 9001, 8208, 9003, 8209, 9001, 8210, 9003, 8212, 9001, 8213, 9003, 8214, 9001, 8216, 9003, 8218, 9001, 8220, 9003, 8222, 9001, 8224, 9003, 8225, 9001, 8226, 9003, 8232, 9102, 8237, 9102, 8240, 9102, 8246, 9102, 8249, 9102, 8252, 9102, 8255, 9102, 8311, 9001, 8312, 9002, 8313, 9001, 8314, 9002, 8315, 9001, 8316, 9002, 8317, 9001, 8318, 9002, 8319, 9001, 8320, 9002, 8321, 9001, 8322, 9002, 8323, 9001, 8324, 9002, 8325, 9001, 8326, 9002, 8327, 9001, 8328, 9002, 8329, 9001, 8330, 9002, 8331, 9001, 8332, 9002, 8333, 9001, 8334, 9002, 8335, 9001, 8336, 9002, 8337, 9001, 8338, 9002, 8339, 9001, 8340, 9002, 8341, 9001, 8342, 9002, 8343, 9001, 8344, 9002, 8345, 9001, 8346, 9002, 8347, 9001, 8348, 9002, 8351, 9102, 8352, 9001, 8353, 9001, 8379, 9001, 8380, 9003, 8381, 9001, 8382, 9003, 8383, 9001, 8384, 9003, 8385, 9001, 8387, 9003, 8391, 9001, 8395, 9001, 8427, 9102, 8428, 9102, 8431, 9102, 8433, 9001, 8441, 9001, 8455, 9001, 8456, 9001, 8531, 9003, 8545, 9102, 8682, 9001, 8685, 9102, 8687, 9001, 8692, 9001, 8693, 9001, 8694, 9102, 8699, 9102, 8818, 9102, 8826, 9001, 8860, 9102, 8888, 9102, 8900, 9102, 8902, 9102, 8903, 9001, 8907, 9102, 8949, 9102, 8950, 9001, 8951, 9001, 9003, 9102, 9006, 9102, 9009, 9102, 9012, 9102, 9014, 9102, 9017, 9102, 9019, 9102, 9039, 9001, 9040, 9001, 9140, 9102, 9141, 9001, 9148, 9102, 9149, 9001, 9150, 9001, 9153, 9102, 9191, 9001, 9221, 9001, 9222, 9001, 20499, 9001, 20538, 9001, 20539, 9001, 20790, 9001, 20791, 9001, 21291, 9001, 21292, 9001, 21500, 9001, 21817, 9001, 21818, 9001, 22032, 9001, 22033, 9001, 22091, 9001, 22092, 9001, 22332, 9001, 22391, 9001, 22392, 9001, 22700, 9001, 22770, 9001, 22780, 9001, 22832, 9001, 23090, 9001, 23095, 9001, 23239, 9001, 23240, 9001, 23700, 9001, 24047, 9001, 24048, 9001, 24100, 9005, 24200, 9001, 24305, 9001, 24306, 9001, 24382, 9084, 24383, 9001, 24500, 9001, 24547, 9001, 24548, 9001, 24571, 9062, 24600, 9001, 25E3, 9001, 25231, 9001, 25884, 9001, 25932, 9001, 26237, 9001, 26331, 9001, 26332, 9001, 26591, 9001, 26592, 9001, 26632, 9001, 26692, 9001, 27120, 9001, 27200, 9001, 27291, 9040, 27292, 9040, 27429, 9001, 27493, 9001, 27500, 9001, 27700, 9001, 28232, 9001, 28600, 9001, 28991, 9001, 28992, 9001, 29101, 9001, 29220, 9001, 29221, 9001, 29333, 9001, 29635, 9001, 29636, 9001, 29701, 9001, 29738, 9001, 29739, 9001, 29849, 9001, 29850, 9001, 29871, 9042, 29872, 9041, 29873, 9001, 30200, 9039, 30339, 9001, 30340, 9001, 30791, 9001, 30792, 9001, 31028, 9001, 31121, 9001, 31154, 9001, 31170, 9001, 31171, 9001, 31279, 9001, 31370, 9001, 31528, 9001, 31529, 9001, 31600, 9001, 31700, 9001, 31838, 9001, 31839, 9001, 31901, 9001, 32030, 9003, 32031, 9003, 32061, 9001, 32062, 9001, 32098, 9001, 32099, 9003, 32100, 9001, 32104, 9001, 32161, 9001, 32766, 9001, 37202, 9102, 37203, 9102, 37206, 9102, 37207, 9102, 37218, 9102, 37221, 9102, 37225, 9105, 37240, 9102, 37241, 9102, 37243, 9102, 37245, 9102, 37249, 9102, 37257, 9102, 37260, 9102, 53048, 9001, 53049, 9001, 54034, 9001, 54090, 9001, 54091, 9001, 65061, 9003, 65062, 9003, 65161, 9001, 102041, 9003, 102064, 9085, 102068, 109030, 102069, 109031, 102093, 9001, 102094, 9001, 102118, 9003, 102120, 9003, 102121, 9003, 102122, 9001, 102150, 9001, 102168, 9001, 102204, 9001, 102212, 9001, 102213, 9001, 102215, 9001, 102216, 9001, 102217, 9003, 102218, 9001, 102219, 9003, 102220, 9003, 102247, 9001, 102299, 9001, 102306, 9001, 102319, 9001, 102328, 9001, 102329, 9001, 102359, 9001, 102360, 9001, 102440, 9001, 102448, 9001, 102464, 9003, 102465, 9003, 102491, 9001, 102492, 9001, 102498, 9001, 102499, 9001, 102525, 9003, 102526, 9003, 102528, 9003, 102529, 9003, 102589, 9003, 102598, 9001, 102599, 9003, 102600, 9003, 102604, 9003, 102661, 9003, 102662, 9003, 102664, 9003, 102665, 9003, 102705, 9003, 102720, 9003, 102721, 9003, 102726, 9003, 102727, 9003, 102733, 9003, 102761, 9003, 102766, 9003, 102974, 9003, 103228, 9001, 103229, 9001, 103230, 9003, 103231, 9003, 103250, 9001, 103251, 9003, 103252, 9001, 103253, 9003, 103260, 9001, 103261, 9001, 103262, 9003, 103263, 9003, 103270, 9001, 103271, 9001, 103272, 9003, 103273, 9003, 103274, 9001, 103275, 9001, 103276, 9003, 103277, 9003, 103278, 9001, 103279, 9001, 103280, 9003, 103281, 9003, 103282, 9001, 103283, 9001, 103284, 9003, 103285, 9003, 103286, 9001, 103287, 9003, 103288, 9001, 103289, 9003, 103290, 9001, 103291, 9003, 103292, 9001, 103293, 9001, 103294, 9003, 103295, 9003, 103296, 9001, 103297, 9001, 103298, 9003, 103299, 9003, 103300, 9001, 103307, 9001, 103313, 9001, 103319, 9001, 103322, 9001, 103323, 9001, 103332, 9001, 103335, 9001, 103338, 9001, 103340, 9001, 103351, 9001, 103358, 9001, 103370, 9001, 103376, 9003, 103377, 9001, 103378, 9001, 103379, 9003, 103380, 9003, 103393, 9001, 103394, 9001, 103395, 9003, 103396, 9003, 103400, 9003, 103407, 9003, 103413, 9003, 103419, 9003, 103422, 9003, 103423, 9003, 103432, 9003, 103435, 9003, 103438, 9003, 103440, 9003, 103451, 9003, 103458, 9003, 103470, 9003, 103472, 9001, 103473, 9002, 103474, 9001, 103475, 9003, 103482, 9001, 103483, 9003, 103484, 9001, 103485, 9003, 103500, 9001, 103501, 9003, 103502, 9001, 103503, 9001, 103504, 9002, 103505, 9002, 103506, 9001, 103507, 9001, 103508, 9003, 103509, 9003, 103510, 9001, 103511, 9001, 103512, 9003, 103513, 9003, 103514, 9001, 103515, 9003, 103516, 9001, 103517, 9003, 103518, 9001, 103519, 9003, 103520, 9001, 103521, 9002, 103522, 9001, 103523, 9001, 103524, 9003, 103525, 9003, 103526, 9001, 103527, 9003, 103561, 9003, 103562, 9003, 103563, 9001, 103564, 9001, 103565, 9003, 103566, 9003, 103567, 9001, 103568, 9001, 103569, 9003, 103570, 9003, 103585, 9003, 103586, 9001, 103587, 9003, 103588, 9002, 103589, 9001, 103590, 9003, 103591, 9002, 103592, 9001, 103593, 9003, 103594, 9002, 103695, 9003, 103846, 9001, 103946, 9003, 104009, 9102, 104017, 9102, 104018, 9102, 104022, 9102, 104024, 9102, 104027, 9102, 104047, 9102, 104050, 9102, 104105, 9102, 104106, 9102, 104109, 9102, 104112, 9102, 104113, 9102, 104134, 9102, 104135, 9102, 104138, 9102, 104139, 9105, 104140, 9105, 104808, 9102]
        },
            b = function () {
          function a() {}

          a.Cz = function (d) {
            !1 === a.ul && a.hq();
            var b = a.fU(d);

            if (-1 == b) {
              var e = a.Qv(d);
              e != d && (b = a.Cz(e));
            }

            -1 == b && (e = a.AL(d), e != d && (b = a.Cz(e)));
            return b;
          };

          a.fU = function (d) {
            return void 0 !== a.hv[d] ? a.hv[d] : -1;
          };

          a.vS = function (d) {
            !1 === a.ul && a.hq();
            var b = a.LF(d);

            if (1E38 == b) {
              var e = a.Qv(d);
              e != d && (b = a.LF(e));
              if (1E38 == b) return 1E-10;
            }

            return b;
          };

          a.TU = function (d) {
            if (void 0 !== a.$p[d]) return !0;
            var b = a.Qv(d);
            return b != d && void 0 !== a.$p[b] ? !0 : !1;
          };

          a.VU = function (d) {
            if (void 0 !== a.Dj[d]) return !0;
            var b = a.Qv(d);
            return b != d && void 0 !== a.Dj[b] ? !0 : !1;
          };

          a.LF = function (d) {
            !1 === a.ul && a.hq();
            return void 0 !== a.$p[d] ? a.$p[d] : void 0 !== a.Dj[d] ? a.Dj[d] : 1E38;
          };

          a.AL = function (d) {
            !1 === a.ul && a.hq();
            return void 0 !== a.IC[d] ? a.IC[d] : d;
          };

          a.Qv = function (d) {
            !1 === a.ul && a.hq();
            return void 0 !== a.QC[d] ? a.QC[d] : d;
          };

          a.hq = function () {
            for (var d = n, b, e = 0; e < d.pcsid.length; e += 2) a.Dj[d.pcsid[e]] = d.pcstol[2 * d.pcsid[e + 1] + 1];

            for (e = 0; e < d.pcsidc.length; e += 1) {
              b = d.pcsidc[e];

              for (var h = b[0]; h <= b[1]; h++) a.Dj[h] = d.pcstol[2 * b[2] + 1];
            }

            for (e = 0; e < d.gcsid.length; e += 2) a.$p[d.gcsid[e]] = d.gcstol[2 * d.gcsid[e + 1] + 1];

            for (e = 0; e < d.gcsidc.length; e += 1) for (b = d.gcsidc[e], h = b[0]; h <= b[1]; h++) a.Dj[h] = d.gcstol[2 * b[2] + 1];

            for (e = 0; e < g.c.length; e += 1) for (b = g.c[e], h = b[0]; h <= b[1]; h++) a.hv[h] = b[2];

            for (e = 0; e < g.nc.length; e += 2) a.hv[g.nc[e]] = g.nc[e + 1];

            g = null;

            for (e = 0; e < d.newtoold.length; e += 2) a.IC[d.newtoold[e + 1]] = d.newtoold[e], a.QC[d.newtoold[e]] = d.newtoold[e + 1];

            n = null;
            a.ul = !0;
          };

          a.ul = !1;
          a.$p = [];
          a.Dj = [];
          a.IC = [];
          a.QC = [];
          a.hv = [];
          return a;
        }();

        c.us = b;
      })(r || (r = {}));

      (function (c) {
        function n(a) {
          return 0 === a.length ? '""' : '"' == a[0] || "." == a[0] || "0" <= a[0] && "9" >= a[0] ? a : '"' + a.trim() + '"';
        }

        var g = [],
            b = function () {
          function a() {}

          a.xS = function (d) {
            try {
              for (var b = 0; b < g.length; b++) if (g[b].wkttext === d) return g[b].unit;

              for (var e, h = b = "", l = !1, k = 0; k < d.length; k++) {
                var m = d[k];
                !0 === l ? '"' == m ? '"' == d[k + 1] ? b += m : l = !1 : b += m : /[\s]/.test(m) || ("," == m ? (h = "" !== b ? h + (n(b) + ",") : h + ",", b = "") : ")" == m || "]" == m ? (h = "" !== b ? h + (n(b) + "]}") : h + "]}", b = "") : "(" == m || "[" == m ? (h += '{ "entity": "' + b.toUpperCase().trim() + '", "values":[', b = "") : '"' == m ? (l = !0, b = "") : b += m);
              }

              e = JSON.parse(h);
              var w = a.qF(e);
              if (null === w) return null;
              e = null;

              for (m = 0; m < w.values.length; m++) if ("object" === typeof w.values[m] && "UNIT" === w.values[m].entity) {
                e = w.values[m];
                break;
              }

              if (null === e) return null;
              var p = c.oc.cR("GEOGCS" === w.entity ? 1 : 0, e.values[1], e.values[2]);
              g.push({
                wkttext: d,
                unit: p
              });
              10 < g.length && g.shift();
              return p;
            } catch (q) {
              return null;
            }
          };

          a.qF = function (d) {
            if (null === d) return null;
            if ("GEOGCS" === d.entity || "PROJCS" === d.entity) return d;

            for (var b = [], e = 0; e < d.values.length; e++) if ("object" === typeof d.values[e] && void 0 !== d.values[e].entity) {
              if ("GEOGCS" === d.values[e].entity || "PROJCS" == d.values[e].entity) return d.values[e];
              b.push(d.values[e]);
            }

            for (d = 0; d < b.length; d++) if (e = a.qF(b[d]), null !== e) return e;

            return null;
          };

          a.wS = function (a) {
            var b = -1;

            if (null != a && 0 < a.length) {
              var e, h;
              e = a.indexOf("PROJCS");

              if (0 <= e) {
                var c = 0;
                e = a.lastIndexOf("UNIT");
                if (0 <= e && (e = a.indexOf(",", e + 4), 0 < e && (e++, h = a.indexOf("]", e + 1), 0 < h))) try {
                  c = parseFloat(a.substring(e, h));
                } catch (m) {
                  c = 0;
                }
                0 < c && (b = .001 / c);
              } else if (e = a.indexOf("GEOGCS"), 0 <= e) {
                var k = 0,
                    c = 0;
                e = a.indexOf("SPHEROID", e + 6);

                if (0 < e && (e = a.indexOf(",", e + 8), 0 < e)) {
                  e++;
                  h = a.indexOf(",", e + 1);
                  if (0 < h) try {
                    k = parseFloat(a.substring(e, h));
                  } catch (m) {
                    k = 0;
                  }
                  if (0 < k && (e = a.indexOf("UNIT", h + 1), 0 <= e && (e = a.indexOf(",", e + 4), 0 < e && (e++, h = a.indexOf("]", e + 1), 0 < h)))) try {
                    c = parseFloat(a.substring(e, h));
                  } catch (m) {
                    c = 0;
                  }
                }

                0 < k && 0 < c && (b = .001 / (k * c));
              }
            }

            return b;
          };

          return a;
        }();

        c.pE = b;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.NONE = 0] = "NONE";
          c[c.LINEAR = 1] = "LINEAR";
          c[c.ANGULAR = 2] = "ANGULAR";
        })(c.GM || (c.GM = {}));

        (function (c) {
          c[c.enumFloat = 0] = "enumFloat";
          c[c.enumDouble = 1] = "enumDouble";
          c[c.enumInt32 = 2] = "enumInt32";
          c[c.enumInt64 = 3] = "enumInt64";
          c[c.enumInt8 = 4] = "enumInt8";
          c[c.enumInt16 = 5] = "enumInt16";
        })(c.HN || (c.HN = {}));

        (function (c) {
          c[c.POSITION = 0] = "POSITION";
          c[c.Z = 1] = "Z";
          c[c.M = 2] = "M";
          c[c.ID = 3] = "ID";
          c[c.NORMAL = 4] = "NORMAL";
          c[c.TEXTURE1D = 5] = "TEXTURE1D";
          c[c.TEXTURE2D = 6] = "TEXTURE2D";
          c[c.TEXTURE3D = 7] = "TEXTURE3D";
          c[c.ID2 = 8] = "ID2";
          c[c.MAXSEMANTICS = 10] = "MAXSEMANTICS";
        })(c.Wc || (c.Wc = {}));

        var n = function () {
          function g(b, a) {
            this.Qt = this.af = null;
            this.Er = this.Ga = 0;
            this.Sh = this.wg = null;
            this.bm = 0;

            if (void 0 !== a) {
              this.Ga = a.Ga;
              this.Er = a.Er;
              this.wg = a.wg.slice(0);
              this.Sh = a.Sh.slice(0);
              this.bm = a.bm;
              this.Qt = [];

              for (var d = 0, f = 0; f < this.Ga; f++) this.Qt[f] = d, d += g.Xa(this.wg[f]);

              this.Er = d;
              this.af = [];

              for (f = 0; f < this.Ga; f++) for (var d = g.Xa(this.rd(f)), e = g.de(this.rd(f)), h = 0; h < d; h++) this.af[this.Qt[f] + h] = e;
            } else this.Er = this.Ga = 0;
          }

          g.prototype.rd = function (b) {
            if (0 > b || b > this.Ga) throw c.g.F();
            return this.wg[b];
          };

          g.prototype.mg = function (b) {
            return this.Sh[b];
          };

          g.Xz = function (b) {
            return g.tc[b];
          };

          g.si = function (b) {
            return g.bd[b];
          };

          g.Mg = function (b) {
            return g.fe[b];
          };

          g.Cj = function (b) {
            return g.Mg(g.si(b)) * g.Xa(b);
          };

          g.Xa = function (b) {
            return g.Bb[b];
          };

          g.Wg = function (b) {
            return 2 > b;
          };

          g.rk = function (b) {
            return g.Wg(g.si(b));
          };

          g.prototype.hasAttribute = function (b) {
            return 0 <= this.Sh[b];
          };

          g.prototype.uH = function () {
            return this.hasAttribute(1);
          };

          g.de = function (b) {
            return g.$[b];
          };

          g.prototype.FT = function (b) {
            return this.Qt[b];
          };

          g.PH = function (b, a) {
            return g.$[b] === a;
          };

          g.Oi = function (b) {
            if (4 == b) return 2;
            if (8 == b) return 3;
            throw c.g.F();
          };

          g.prototype.Eb = function (b) {
            return this === b;
          };

          g.prototype.Ak = function () {
            for (var b = c.J.dh(this.wg[0]), a = 1; a < this.Ga; a++) b = c.J.dh(this.wg[a], b);

            return b;
          };

          g.prototype.xk = function (b) {
            return this.Qt[b];
          };

          g.prototype.jc = function () {
            return this.bm;
          };

          g.prototype.Td = function (b) {
            return this.wg[b];
          };

          g.$ = [0, 0, NaN, 0, 0, 0, 0, 0, 0];
          g.tc = [1, 1, 1, 0, 2, 1, 1, 1, 0];
          g.bd = [1, 1, 1, 2, 0, 0, 0, 0, 2];
          g.fe = [4, 8, 4, 8, 1, 2];
          g.Bb = [2, 1, 1, 1, 3, 1, 2, 3, 2];
          return g;
        }();

        c.ma = n;
      })(r || (r = {}));

      (function (c) {
        function n(a, b, e, h) {
          var c = a.Jd,
              k = a.e + b + 1;
          1 === e ? h = 5 <= c[k] : 2 === e ? h = 5 < c[k] || 5 == c[k] && (h || 0 > k || void 0 !== c[k + 1] || c[k - 1] & 1) : 3 === e ? h = h || void 0 !== c[k] || 0 > k : (h = !1, 0 !== e && g("!Big.RM!"));
          if (1 > k || !c[0]) h ? (a.e = -b, a.Jd = [1]) : a.Jd = [a.e = 0];else {
            c.length = k--;
            if (h) for (; 9 < ++c[k];) c[k] = 0, k-- || (++a.e, c.unshift(1));

            for (k = c.length; !c[--k]; c.pop());
          }
        }

        function g(a) {
          a = Error(a);
          a.name = "BigError";
          throw a;
        }

        var b = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,
            a = function () {
          function a(f) {
            if (f instanceof a) this.me = f.me, this.e = f.e, this.Jd = f.Jd.slice();else {
              var e, h, c;
              0 === f && 0 > 1 / f ? f = "-0" : b.test(f += "") || g(NaN);
              this.me = "-" == f.charAt(0) ? (f = f.slice(1), -1) : 1;
              -1 < (e = f.indexOf(".")) && (f = f.replace(".", ""));
              0 < (h = f.search(/e/i)) ? (0 > e && (e = h), e += +f.slice(h + 1), f = f.substring(0, h)) : 0 > e && (e = f.length);

              for (h = 0; "0" == f.charAt(h); h++);

              if (h == (c = f.length)) this.Jd = [this.e = 0];else {
                for (; "0" == f.charAt(--c););

                this.e = e - h - 1;
                this.Jd = [];

                for (e = 0; h <= c; this.Jd[e++] = +f.charAt(h++));
              }
            }
          }

          a.prototype.abs = function () {
            var b = new a(this);
            b.me = 1;
            return b;
          };

          a.prototype.SF = function () {
            var b = 0,
                e = this.Jd,
                h = (b = new a(b)).Jd,
                c = this.me,
                k = b.me,
                m = this.e,
                g = b.e;
            if (!e[0] || !h[0]) return e[0] ? c : h[0] ? -k : 0;
            if (c != k) return c;
            b = 0 > c;
            if (m != g) return m > (g ^ b) ? 1 : -1;
            c = -1;

            for (k = (m = e.length) < (g = h.length) ? m : g; ++c < k;) if (e[c] != h[c]) return e[c] > (h[c] ^ b) ? 1 : -1;

            return m == g ? 0 : m > (g ^ b) ? 1 : -1;
          };

          a.prototype.Wm = function (b) {
            var e = this.Jd,
                h = (b = new a(b)).Jd,
                c = this.me == b.me ? 1 : -1,
                k = a.bd;
            (k !== ~~k || 0 > k || 1E6 < k) && g("!Big.DP!");
            if (!e[0] || !h[0]) return e[0] == h[0] && g(NaN), h[0] || g(c / 0), new a(0 * c);
            var m,
                w,
                p,
                q,
                t = h.slice(),
                u = m = h.length,
                z = e.length,
                v = e.slice(0, m),
                x = v.length,
                r = b,
                y = r.Jd = [],
                A = 0,
                C = k + (r.e = this.e - b.e) + 1;
            r.me = c;
            c = 0 > C ? 0 : C;

            for (t.unshift(0); x++ < m; v.push(0));

            do {
              for (w = 0; 10 > w; w++) {
                if (m != (x = v.length)) p = m > x ? 1 : -1;else for (q = -1, p = 0; ++q < m;) if (h[q] != v[q]) {
                  p = h[q] > v[q] ? 1 : -1;
                  break;
                }

                if (0 > p) {
                  for (b = x == m ? h : t; x;) {
                    if (v[--x] < b[x]) {
                      for (q = x; q && !v[--q]; v[q] = 9);

                      --v[q];
                      v[x] += 10;
                    }

                    v[x] -= b[x];
                  }

                  for (; !v[0]; v.shift());
                } else break;
              }

              y[A++] = p ? w : ++w;
              v[0] && p ? v[x] = e[u] || 0 : v = [e[u]];
            } while ((u++ < z || void 0 !== v[0]) && c--);

            y[0] || 1 == A || (y.shift(), r.e--);
            A > C && n(r, k, a.Mg, void 0 !== v[0]);
            return r;
          };

          a.prototype.aU = function () {
            return 0 < this.SF();
          };

          a.prototype.pV = function () {
            return 0 > this.SF();
          };

          a.prototype.Zt = function (b) {
            var e,
                h,
                c = this.me,
                k = (b = new a(b)).me;
            if (c != k) return b.me = -k, this.EJ(b);
            var m = this.Jd.slice();
            h = this.e;
            var g = b.Jd,
                p = b.e;
            if (!m[0] || !g[0]) return g[0] ? (b.me = -k, b) : new a(m[0] ? this : 0);

            if (c = h - p) {
              (e = 0 > c) ? (c = -c, h = m) : (p = h, h = g);
              h.reverse();

              for (k = c; k--; h.push(0));

              h.reverse();
            } else for (h = ((e = m.length < g.length) ? m : g).length, c = k = 0; k < h; k++) if (m[k] != g[k]) {
              e = m[k] < g[k];
              break;
            }

            e && (h = m, m = g, g = h, b.me = -b.me);
            if (0 < (k = (h = g.length) - (e = m.length))) for (; k--; m[e++] = 0);

            for (k = e; h > c;) {
              if (m[--h] < g[h]) {
                for (e = h; e && !m[--e]; m[e] = 9);

                --m[e];
                m[h] += 10;
              }

              m[h] -= g[h];
            }

            for (; 0 == m[--k]; m.pop());

            for (; 0 == m[0];) m.shift(), --p;

            m[0] || (b.me = 1, m = [p = 0]);
            b.Jd = m;
            b.e = p;
            return b;
          };

          a.prototype.EJ = function (b) {
            var e,
                h = this.me;
            e = (b = new a(b)).me;
            if (h != e) return b.me = -e, this.Zt(b);
            e = this.e;
            var c = this.Jd,
                k = b.e,
                m = b.Jd;
            if (!c[0] || !m[0]) return m[0] ? b : new a(c[0] ? this : 0 * h);
            c = c.slice();

            if (h = e - k) {
              0 < h ? (k = e, e = m) : (h = -h, e = c);

              for (e.reverse(); h--; e.push(0));

              e.reverse();
            }

            0 > c.length - m.length && (e = m, m = c, c = e);
            h = m.length;

            for (e = 0; h;) e = (c[--h] = c[h] + m[h] + e) / 10 | 0, c[h] %= 10;

            e && (c.unshift(e), ++k);

            for (h = c.length; 0 == c[--h]; c.pop());

            b.Jd = c;
            b.e = k;
            return b;
          };

          a.prototype.pow = function (b) {
            var e = this,
                h = new a(1),
                c = h,
                k = 0 > b;
            (b !== ~~b || -1E6 > b || 1E6 < b) && g("!pow!");

            for (b = k ? -b : b;;) {
              b & 1 && (c = c.ds(e));
              b >>= 1;
              if (!b) break;
              e = e.ds(e);
            }

            return k ? h.Wm(c) : c;
          };

          a.prototype.round = function (b, e) {
            var h = this;
            null == b ? b = 0 : (b !== ~~b || 0 > b || 1E6 < b) && g("!round!");
            n(h = new a(h), b, null == e ? a.Mg : e);
            return h;
          };

          a.prototype.sqrt = function () {
            var b, e, h;
            e = this.Jd;
            b = this.me;
            h = this.e;
            var c = new a("0.5");
            if (!e[0]) return new a(this);
            0 > b && g(NaN);
            b = Math.sqrt(this.toString());
            0 == b || b == 1 / 0 ? (b = e.join(""), b.length + h & 1 || (b += "0"), e = new a(Math.sqrt(b).toString()), e.e = ((h + 1) / 2 | 0) - (0 > h || h & 1)) : e = new a(b.toString());
            b = e.e + (a.bd += 4);

            do h = e, e = c.ds(h.EJ(this.Wm(h))); while (h.Jd.slice(0, b).join("") !== e.Jd.slice(0, b).join(""));

            n(e, a.bd -= 4, a.Mg);
            return e;
          };

          a.prototype.ds = function (b) {
            var e,
                h = this.Jd,
                c = (b = new a(b)).Jd,
                k = h.length,
                m = c.length,
                g = this.e,
                p = b.e;
            b.me = this.me == b.me ? 1 : -1;
            if (!h[0] || !c[0]) return new a(0 * b.me);
            b.e = g + p;
            k < m && (e = h, h = c, c = e, p = k, k = m, m = p);

            for (e = Array(p = k + m); p--; e[p] = 0);

            for (g = m; g--;) {
              m = 0;

              for (p = k + g; p > g;) m = e[p] + c[g] * h[p - g - 1] + m, e[p--] = m % 10, m = m / 10 | 0;

              e[p] = (e[p] + m) % 10;
            }

            m && ++b.e;
            e[0] || e.shift();

            for (g = e.length; !e[--g]; e.pop());

            b.Jd = e;
            return b;
          };

          a.prototype.toString = function () {
            var a = this.e,
                d = this.Jd.join(""),
                b = d.length;
            if (-7 >= a || 21 <= a) d = d.charAt(0) + (1 < b ? "." + d.slice(1) : "") + (0 > a ? "e" : "e+") + a;else if (0 > a) {
              for (; ++a; d = "0" + d);

              d = "0." + d;
            } else if (0 < a) {
              if (++a > b) for (a -= b; a--; d += "0");else a < b && (d = d.slice(0, a) + "." + d.slice(a));
            } else 1 < b && (d = d.charAt(0) + "." + d.slice(1));
            return 0 > this.me && this.Jd[0] ? "-" + d : d;
          };

          a.bd = 20;
          a.Mg = 1;
          return a;
        }();

        c.Tp = a;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b(a) {
            this.Nf = a;
          }

          b.prototype.hs = function (a, d, b) {
            var e = new c.b(),
                h = new c.b(),
                l = this.Nf;
            b.Gd(a, d, function (a, d) {
              l.fc(2 * a, e);
              l.fc(2 * d, h);
              return e.compare(h);
            });
          };

          b.prototype.Qq = function (a) {
            return this.Nf.read(2 * a + 1);
          };

          return b;
        }(),
            g = function () {
          function b() {}

          b.Rq = function (a) {
            if (a.u()) return !1;
            var d = a.G();
            return 1736 == d ? 0 == a.hf() ? !1 : !0 : 1607 == d ? (d = [!1], b.nE(a, !0, d), d[0]) : 197 == d || c.T.Oc(d) && !a.OH() ? !0 : !1;
          };

          b.Rm = function (a) {
            var d = a.G();
            if (1736 == d) return d = new c.Ua(a.description), a.u() || a.yE(d), d;
            if (1607 == d) return b.nE(a, !1, null);
            if (197 == d) return d = new c.Ua(a.description), a.u() || d.jd(a, !1), d;

            if (c.T.Oc(d)) {
              d = new c.Ed(a.description);

              if (!a.u() && !a.OH()) {
                var f = new c.Wa();
                a.Dp(f);
                d.add(f);
                a.Bp(f);
                d.add(f);
              }

              return d;
            }

            if (c.T.Jo(d)) return null;
            throw c.g.F();
          };

          b.nE = function (a, d, b) {
            null != b && (b[0] = !1);
            var e = null;
            d || (e = new c.Ed(a.description));

            if (!a.u()) {
              var h = new c.ia(0);
              h.yb(2 * a.aa());

              for (var l = 0, k = a.aa(); l < k; l++) if (0 < a.La(l) && !a.Eo(l)) {
                var m = a.wa(l);
                h.add(m);
                m = a.Gc(l) - 1;
                h.add(m);
              }

              if (0 < h.size) {
                k = new c.Hu();
                l = a.Pa(0);
                k.sort(h, 0, h.size, new n(l));
                k = new c.b();
                l.fc(2 * h.get(0), k);

                for (var m = 0, g = 1, p = new c.Wa(), q = new c.b(), t = 1, u = h.size; t < u; t++) if (l.fc(2 * h.get(t), q), q.ub(k)) h.get(m) > h.get(t) ? (h.set(m, 2147483647), m = t) : h.set(t, 2147483647), g++;else {
                  if (0 == (g & 1)) h.set(m, 2147483647);else if (d) return null != b && (b[0] = !0), null;
                  k.L(q);
                  m = t;
                  g = 1;
                }

                if (0 == (g & 1)) h.set(m, 2147483647);else if (d) return null != b && (b[0] = !0), null;
                if (!d) for (h.Gd(0, h.size, function (a, d) {
                  return a - d;
                }), t = 0, u = h.size; t < u && 2147483647 != h.get(t); t++) a.Ae(h.get(t), p), e.add(p);
              }
            }

            return d ? null : e;
          };

          return b;
        }();

        c.Pi = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {
            this.ag = new c.ia(0);
            this.ut = new c.ia(0);
            this.UI = 1;
            this.At = NaN;
          }

          g.prototype.sort = function (b, a, d, f) {
            if (32 > d - a) f.hs(a, d, b);else {
              var e = !0;

              try {
                for (var h = Infinity, c = -Infinity, k = a; k < d; k++) {
                  var m = f.Qq(b.get(k));
                  m < h && (h = m);
                  m > c && (c = m);
                }

                if (this.reset(d - a, h, c, d - a)) {
                  for (k = a; k < d; k++) {
                    var g = b.get(k),
                        m = f.Qq(g),
                        p = this.LG(m);
                    this.ag.set(p, this.ag.get(p) + 1);
                    this.ut.write(k - a, g);
                  }

                  var q = this.ag.get(0);
                  this.ag.set(0, 0);

                  for (var k = 1, t = this.ag.size; k < t; k++) {
                    var u = this.ag.get(k);
                    this.ag.set(k, q);
                    q += u;
                  }

                  for (k = a; k < d; k++) {
                    var g = this.ut.read(k - a),
                        m = f.Qq(g),
                        p = this.LG(m),
                        z = this.ag.get(p);
                    b.set(z + a, g);
                    this.ag.set(p, z + 1);
                  }

                  e = !1;
                }
              } catch (n) {
                this.ag.resize(0), this.ut.resize(0);
              }

              if (e) f.hs(a, d, b);else {
                k = d = 0;

                for (t = this.ag.size; k < t; k++) e = d, d = this.ag.get(k), d > e && f.hs(a + e, a + d, b);

                100 < this.ag.size && (this.ag.resize(0), this.ut.resize(0));
              }
            }
          };

          g.prototype.reset = function (b, a, d, f) {
            if (2 > b || d == a) return !1;
            b = Math.min(g.RV, b);
            this.ag.yb(b);
            this.ag.resize(b);
            this.ag.Zh(0, 0, this.ag.size);
            this.UI = a;
            this.ut.resize(f);
            this.At = (d - a) / (b - 1);
            return !0;
          };

          g.prototype.LG = function (b) {
            return c.J.truncate((b - this.UI) / this.At);
          };

          g.RV = 65536;
          return g;
        }();

        c.Hu = n;
      })(r || (r = {}));

      (function (c) {
        var n;

        (function (a) {
          a[a.enum_line = 1] = "enum_line";
          a[a.enum_arc = 2] = "enum_arc";
          a[a.enum_dummy = 4] = "enum_dummy";
          a[a.enum_concave_dip = 8] = "enum_concave_dip";
          a[a.enum_connection = 3] = "enum_connection";
        })(n || (n = {}));

        var g = function () {
          function a() {}

          a.Ev = function (d, b, f, m, g, p) {
            var q = new a();
            q.un = new c.b();
            q.In = new c.b();
            q.Ow = new c.b();
            q.un.L(d);
            q.In.L(b);
            q.Ow.L(f);
            q.qp = m;
            q.Nh = g;
            q.Qh = p;
            return q;
          };

          a.pa = function (d, b, f, m) {
            var g = new a();
            g.un = new c.b();
            g.In = new c.b();
            g.Ow = new c.b();
            g.un.L(d);
            g.In.L(b);
            g.Ow.$c();
            g.qp = 4;
            g.Nh = f;
            g.Qh = m;
            return g;
          };

          return a;
        }(),
            b = function () {
          function a(d, b, f, e, c, g) {
            this.Lw = null;
            this.Ca = 0;
            this.kB = d;
            this.oJ = this.mJ = 0;
            this.Qa = b;
            this.fk = f;
            this.Xk = e;
            this.tr = c;
            this.lc = g;
          }

          a.prototype.next = function () {
            for (var a = new c.Wa();;) {
              if (this.Ca == this.kB.D()) return null;
              this.kB.Ae(this.Ca, a);
              this.Ca++;
              if (!a.u()) break;
            }

            var d = !1;
            null == this.Lw && (this.mJ = a.Be(), this.oJ = a.nf(), this.Lw = f.buffer(a, this.Qa, this.fk, this.Xk, this.tr, this.lc), d = !0);
            var b;
            this.Ca < this.kB.D() ? (b = new c.Ja(), this.Lw.copyTo(b)) : b = this.Lw;

            if (!d) {
              var d = new c.Hd(),
                  e = a.Be() - this.mJ,
                  a = a.nf() - this.oJ;
              d.Ag(e, a);
              b.Xc(d);
            }

            return b;
          };

          a.prototype.Ia = function () {
            return 0;
          };

          a.prototype.Re = function () {
            return !0;
          };

          return a;
        }(),
            a = function () {
          function a(d, b) {
            this.$a = d;
            this.Ca = 0;
            this.dr = b;
          }

          a.prototype.next = function () {
            var a = this.$a.Y;

            if (this.Ca < a.aa()) {
              var d = this.Ca;
              this.Ca++;
              if (!a.Eo(d)) for (var b = a.Ba(a.Gc(d) - 1); this.Ca < a.aa();) {
                var f = a.Ba(a.wa(this.Ca));
                if (a.Eo(this.Ca)) break;
                if (f != b) break;
                b = a.Ba(a.Gc(this.Ca) - 1);
                this.Ca++;
              }
              if (1 == this.Ca - d) return this.$a.yF(this.$a.Y, d, this.dr);
              b = new c.Ua(this.$a.Y.description);
              b.Ti(this.$a.Y, d, !0);

              for (d += 1; d < this.Ca; d++) b.Bs(this.$a.Y, d, 0, a.ew(d), !1);

              return this.$a.yF(b, 0, this.dr);
            }

            return null;
          };

          a.prototype.Ia = function () {
            return 0;
          };

          a.prototype.Re = function () {
            return !0;
          };

          return a;
        }(),
            d = function () {
          function a(d) {
            this.$a = d;
            this.Ca = 0;
          }

          a.prototype.next = function () {
            var a = this.$a.Y;

            if (this.Ca < a.aa()) {
              var d = this.Ca;
              a.Sm(this.Ca);

              for (this.Ca++; this.Ca < a.aa() && !(0 < a.Sm(this.Ca));) this.Ca++;

              return 0 == d && this.Ca == a.aa() ? this.$a.Wy(a, 0, a.aa()) : this.$a.Wy(a, d, this.Ca);
            }

            return null;
          };

          a.prototype.Ia = function () {
            return 0;
          };

          a.prototype.Re = function () {
            return !0;
          };

          return a;
        }(),
            f = function () {
          function f(a) {
            this.Ft = this.Zw = this.Gt = this.Wd = null;
            this.te = [];
            this.lc = a;
            this.vb = this.xw = this.IV = this.Qa = this.$A = this.Vt = this.ta = 0;
            this.XA = this.Xk = -1;
            this.dr = !0;
          }

          f.buffer = function (a, d, b, m, g, p) {
            if (null == a) throw c.g.F();
            if (0 > m) throw c.g.F();
            if (a.u()) return new c.Ja(a.description);
            var q = new c.h();
            a.ac(q);
            0 < d && q.O(d, d);
            p = new f(p);
            p.fk = b;
            p.Y = a;
            p.ta = c.na.be(b, q, !0);
            p.Vt = c.na.be(null, q, !0);
            p.Qa = d;
            p.IV = a.G();
            0 >= g && (g = 96);
            p.vb = Math.abs(p.Qa);
            p.xw = 0 != p.vb ? 1 / p.vb : 0;
            isNaN(m) || 0 == m ? m = 1E-5 * p.vb : m > .5 * p.vb && (m = .5 * p.vb);
            12 > g && (g = 12);
            a = Math.abs(d) * (1 - Math.cos(Math.PI / g));
            a > m ? m = a : (a = Math.PI / Math.acos(1 - m / Math.abs(d)), a < g - 1 && (g = c.J.truncate(a), 12 > g && (g = 12, m = Math.abs(d) * (1 - Math.cos(Math.PI / g)))));
            p.Xk = m;
            p.tr = g;
            p.$A = Math.min(p.Vt, .25 * m);
            return p.zF();
          };

          f.prototype.Rv = function () {
            if (null == this.Wd) this.Wd = [];else if (0 !== this.Wd.length) return;
            var a = this.DF(),
                a = c.J.truncate((a + 3) / 4),
                d = .5 * Math.PI / a;
            this.XA = d;

            for (var b = 0; b < 4 * a; b++) this.Wd.push(null);

            for (var f = Math.cos(d), d = Math.sin(d), e = c.b.pa(0, 1), b = 0; b < a; b++) this.Wd[b + 0 * a] = c.b.pa(e.y, -e.x), this.Wd[b + 1 * a] = c.b.pa(-e.x, -e.y), this.Wd[b + 2 * a] = c.b.pa(-e.y, e.x), this.Wd[b + 3 * a] = e, e = c.b.pa(e.x, e.y), e.qu(f, d);
          };

          f.prototype.zF = function () {
            var a = this.Y.G();
            if (c.T.Oc(a)) return a = new c.Ua(this.Y.description), a.dc(this.Y, !0), this.Y = a, this.zF();
            if (this.Qa <= this.ta) if (c.T.PU(a)) {
              if (0 >= this.Qa && (a = new c.h(), this.Y.s(a), a.N() <= 2 * -this.Qa || a.fa() <= 2 * this.Qa)) return new c.Ja(this.Y.description);
            } else return new c.Ja(this.Y.description);

            switch (this.Y.G()) {
              case 33:
                return this.TP();

              case 550:
                return this.SP();

              case 1607:
                return this.VP();

              case 1736:
                return this.UP();

              case 197:
                return this.QP();

              default:
                throw c.g.za();
            }
          };

          f.prototype.VP = function () {
            if (this.QH(this.Y)) {
              var d = new c.Wa();
              this.Y.Ae(0, d);
              var b = new c.h();
              this.Y.s(b);
              d.rb(b.Wf());
              return this.rv(d);
            }

            this.Y = this.PW(this.Y);
            d = new a(this, this.dr);
            return c.ei.local().V(d, this.fk, this.lc).next();
          };

          f.prototype.UP = function () {
            if (0 == this.Qa) return this.Y;
            var a = c.Km.local();
            this.Rv();
            this.Y = a.V(this.Y, null, !1, this.lc);

            if (0 > this.Qa) {
              var b = this.Y,
                  b = this.Wy(b, 0, b.aa());
              return a.V(b, this.fk, !1, this.lc);
            }

            if (this.QH(this.Y)) return a = new c.Wa(), this.Y.Ae(0, a), b = new c.h(), this.Y.s(b), a.rb(b.Wf()), this.rv(a);
            a = new d(this);
            return c.ei.local().V(a, this.fk, this.lc).next();
          };

          f.prototype.Wy = function (a, d, b) {
            for (var m = new c.Ja(a.description); d < b; d++) if (!(1 > a.La(d))) {
              var g = a.Sm(d),
                  p = new c.h();
              a.jk(d, p);
              if (0 < this.Qa) {
                if (0 < g) {
                  if (this.RH(a, d)) g = new c.Wa(), a.Ae(a.wa(d), g), g.rb(p.Wf()), this.iv(m, g);else {
                    var q = g = new c.Ua(a.description),
                        q = c.Ju.VH(this.Y, d) || 2 == this.to(this.Y, d, q, !0, 1) ? this.xF(a, d) : this.so(g);
                    m.add(q, !1);
                  }
                } else {
                  if (!(p.N() + this.ta <= 2 * this.vb || p.fa() + this.ta <= 2 * this.vb || (q = g = new c.Ua(a.description), this.to(this.Y, d, q, !0, 1), g.u()))) {
                    var t = new c.h();
                    t.I(p);
                    t.O(this.vb, this.vb);
                    q.oq(t);
                    q = this.so(g);
                    p = 1;

                    for (g = q.aa(); p < g; p++) m.Ti(q, p, !0);
                  }
                }
              } else if (0 < g) {
                if (!(p.N() + this.ta <= 2 * this.vb || p.fa() + this.ta <= 2 * this.vb || (q = g = new c.Ua(a.description), this.to(this.Y, d, q, !0, -1), g.u()))) for (t = new c.h(), q.ac(t), t.O(this.vb, this.vb), q.oq(t), q = this.so(g), p = 1, g = q.aa(); p < g; p++) m.Ti(q, p, !0);
              } else for (q = g = new c.Ua(a.description), this.to(this.Y, d, q, !0, -1), q = this.so(g), p = 0, g = q.aa(); p < g; p++) m.Ti(q, p, !0);
            }

            if (0 < this.Qa) return 1 < m.aa() ? m = this.so(m) : f.We(m);
            a = new c.h();
            m.ac(a);
            if (m.u()) return f.We(m);
            a.O(this.vb, this.vb);
            m.oq(a);
            m = this.so(m);
            a = new c.Ja(m.description);
            p = 1;

            for (g = m.aa(); p < g; p++) a.Ti(m, p, !1);

            return f.We(a);
          };

          f.prototype.TP = function () {
            return this.rv(this.Y);
          };

          f.prototype.rv = function (a) {
            var d = new c.Ja(this.Y.description);
            this.iv(d, a);
            return this.oY(d);
          };

          f.prototype.SP = function () {
            var a = new b(this.Y, this.Qa, this.fk, this.Xk, this.tr, this.lc);
            return c.ei.local().V(a, this.fk, this.lc).next();
          };

          f.prototype.QP = function () {
            var a = new c.Ja(this.Y.description);

            if (0 >= this.Qa) {
              if (0 == this.Qa) a.jd(this.Y, !1);else {
                var d = new c.ci();
                this.Y.Qn(d);
                d.O(this.Qa, this.Qa);
                a.jd(d, !1);
              }
              return a;
            }

            a.jd(this.Y, !1);
            this.Y = a;
            return this.xF(a, 0);
          };

          f.prototype.xF = function (a, d) {
            this.Rv();

            for (var b = new c.Ja(a.description), m = new c.b(), g = new c.b(), p = new c.b(), q = new c.b(), t = new c.b(), u = new c.b(), z = new c.b(), n = new c.b(), x = a.La(d), r = a.wa(d), y = 0, A = a.La(d); y < A; y++) {
              a.w(r + y, g);
              a.w(r + (y + 1) % x, q);
              a.w(r + (y + 2) % x, u);
              z.zc(q, g);
              if (0 == z.length()) throw c.g.za();
              z.uw();
              z.normalize();
              z.scale(this.vb);
              m.add(z, g);
              p.add(z, q);
              0 == y ? b.zu(m) : b.aj(m);
              b.aj(p);
              n.zc(u, q);
              if (0 == n.length()) throw c.g.za();
              n.uw();
              n.normalize();
              n.scale(this.vb);
              t.add(n, q);
              this.YE(b, q, p, t, !1);
            }

            return f.We(b);
          };

          f.prototype.yF = function (a, d, b) {
            this.Rv();
            if (1 > a.La(d)) return null;

            if (this.RH(a, d) && 0 < this.Qa) {
              b = new c.Wa();
              a.Ae(a.wa(d), b);
              var f = new c.h();
              a.jk(d, f);
              b.rb(f.Wf());
              return this.rv(b);
            }

            f = new c.Ua(a.description);
            if (a.Eo(d)) this.to(a, d, f, b, 1), this.to(a, d, f, b, -1);else {
              var e = new c.Ua(a.description);
              e.Ti(a, d, !1);
              e.Bs(a, d, 0, a.ew(d), !1);
              this.to(e, 0, f, b, 1);
            }
            return this.so(f);
          };

          f.prototype.Pr = function () {
            this.kx++;
          };

          f.prototype.so = function (a) {
            return c.Dg.ol(a, this.Vt, !0, !0, this.lc);
          };

          f.prototype.DF = function () {
            if (0 == this.Xk) return this.tr;
            var a = 1 - this.Xk * Math.abs(this.xw),
                d;
            -1 > a ? d = 4 : d = 2 * Math.PI / Math.acos(a) + .5;
            4 > d ? d = 4 : d > this.tr && (d = this.tr);
            return c.J.truncate(d);
          };

          f.prototype.YE = function (a, d, b, f, e) {
            this.Rv();
            var g = new c.b();
            g.zc(b, d);
            g.scale(this.xw);
            var q = new c.b();
            q.zc(f, d);
            q.scale(this.xw);
            g = Math.atan2(g.y, g.x) / this.XA;
            0 > g && (g = this.Wd.length + g);
            g = this.Wd.length - g;
            q = Math.atan2(q.y, q.x) / this.XA;
            0 > q && (q = this.Wd.length + q);
            q = this.Wd.length - q;
            q < g && (q += this.Wd.length);
            var t = c.J.truncate(q),
                q = c.J.truncate(Math.ceil(g)),
                g = new c.b();
            g.L(this.Wd[q % this.Wd.length]);
            g.ru(this.vb, d);
            var u = 10 * this.ta;
            g.sub(b);
            g.length() < u && (q += 1);
            g.L(this.Wd[t % this.Wd.length]);
            g.ru(this.vb, d);
            g.sub(f);
            g.length() < u && --t;
            b = t - q;
            b++;
            t = 0;

            for (q %= this.Wd.length; t < b; t++, q = (q + 1) % this.Wd.length) g.L(this.Wd[q]), g.ru(this.vb, d), a.aj(g), this.Pr();

            e && a.aj(f);
          };

          f.prototype.to = function (a, d, b, f, e) {
            var p = new c.fd(),
                q = p.lP(a, d);
            p.zq(this.$A, !1, !1);

            if (2 > p.D(q)) {
              if (0 > e) return 1;
              e = a;
              p = new c.Wa();
              e.Ae(e.wa(d), p);
              this.iv(b, p);
              return 1;
            }

            var t = p.Ba(p.cb(p.Pb(q))),
                u = new c.Hd();
            u.Ag(-t.x, -t.y);
            p.Xc(u);

            if (f && (this.pS(p, q, e), 2 > p.D(q))) {
              if (0 > e) return 1;
              e = a;
              p = new c.Wa();
              e.Ae(e.wa(d), p);
              this.iv(b, p);
              return 1;
            }

            this.te.length = 0;
            var z = p.Pb(q);
            d = p.cb(z);
            var n = 1 == e ? p.Ra(d) : p.U(d);
            a = 1 == e ? p.U(d) : p.Ra(d);
            var x = !0;
            f = new c.b();

            for (var q = new c.b(), r = new c.b(), y = new c.b(), A = new c.b(), C = new c.b(), D = new c.b(), E = new c.b(), F = new c.b(), G = new c.b(), H = this.vb, z = p.La(z), I = 0; I < z; I++) p.w(a, q), x && (p.w(d, f), p.w(n, r), E.zc(f, r), E.normalize(), G.aI(E), G.scale(H), y.add(G, f)), D.zc(q, f), D.normalize(), F.aI(D), F.scale(H), A.add(f, F), n = E.Ui(D), x = E.oi(D), 0 > n || 0 > x && 0 == n ? this.te.push(g.Ev(y, A, f, 2, this.te.length + 1, this.te.length - 1)) : y.ub(A) || (this.te.push(g.pa(y, f, this.te.length + 1, this.te.length - 1, "dummy")), this.te.push(g.pa(f, A, this.te.length + 1, this.te.length - 1, "dummy"))), C.add(q, F), this.te.push(g.Ev(A, C, f, 1, this.te.length + 1, this.te.length - 1)), y.L(C), G.L(F), r.L(f), f.L(q), E.L(D), n = d, d = a, x = !1, a = 1 == e ? p.U(d) : p.Ra(d);

            this.te[this.te.length - 1].Nh = 0;
            this.te[0].Qh = this.te.length - 1;
            this.RW(b);
            u.Ag(t.x, t.y);
            b.lF(u, b.aa() - 1);
            return 1;
          };

          f.prototype.RW = function (a) {
            for (var d = this.DQ(), b = !0, f = d + 1, e = d; f != d; e = f) {
              var c = this.te[e],
                  f = -1 != c.Nh ? c.Nh : (e + 1) % this.te.length;
              0 != c.qp && (b && a.zu(c.un), 2 == c.qp ? this.YE(a, c.Ow, c.un, c.In, !0) : a.aj(c.In), b = !1);
            }
          };

          f.prototype.DQ = function () {
            null == this.Ft && (this.Ft = [null, null, null, null, null, null, null, null, null]);

            for (var a = 0, d = 0, b = this.te.length; d < b;) {
              var f = this.te[d];

              if (0 != (f.qp & 3)) {
                a = d;
                break;
              }

              d = f.Nh;
            }

            b = a + 1;

            for (d = a; b != a; d = b) {
              for (var f = this.te[d], b = f.Nh, e = 1, g = null; b != d;) {
                g = this.te[b];
                if (0 != (g.qp & 3)) break;
                b = g.Nh;
                e++;
              }

              1 != e && 1 == (f.qp & g.qp) && (null == this.Gt && (this.Gt = new c.Hb(), this.Zw = new c.Hb()), this.Gt.Mc(f.un), this.Gt.Zc(f.In), this.Zw.Mc(g.un), this.Zw.Zc(g.In), 1 == this.Gt.Ma(this.Zw, this.Ft, null, null, this.Vt) && (f.In.L(this.Ft[0]), g.un.L(this.Ft[0]), f.Nh = b, g.Qh = d));
            }

            return a;
          };

          f.prototype.sw = function (a, d, b) {
            var f = new c.b();
            f.zc(b, a);
            b = f.length();
            b = this.vb * this.vb - b * b * .25;

            if (0 < b) {
              b = Math.sqrt(b);
              f.normalize();
              f.Ur();
              var e = new c.b();
              e.zc(d, a);
              if (e.oi(f) + b >= this.vb) return !0;
            }

            return !1;
          };

          f.prototype.pS = function (a, d, b) {
            for (var f = 0; 1 > f; f++) {
              var e = !1,
                  g = a.Pb(d),
                  q = a.La(g);
              if (0 == q) break;
              var t = q;
              if (3 > q) break;
              !a.Qb(g) && (t = q - 1);

              for (var g = a.cb(g), q = 0 < b ? a.Ra(g) : a.U(g), u = 0 < b ? a.U(g) : a.Ra(g), z = q, n = !0, x = new c.b(), r = new c.b(), y = new c.b(), A = new c.b(), C = new c.b(), D = c.b.pa(0, 0), E = new c.b(), F = new c.b(), G = new c.b(), H = new c.b(), I = this.vb, K = 0, S = 0; S < t;) {
                a.w(u, r);
                n && (a.w(g, x), a.w(q, y), z = q);
                F.zc(x, y);
                F.normalize();
                E.zc(r, x);
                E.normalize();
                if (z == u) break;
                var L = F.Ui(E),
                    J = F.oi(E),
                    R = !0;
                0 > L || 0 > J && 0 == L || !this.sw(y, x, r) || (D.L(r), R = !1, ++K, e = !0);

                if (R) {
                  if (0 < K) for (;;) {
                    L = 0 < b ? a.Ra(z) : a.U(z);
                    if (L == g) break;
                    a.w(L, A);
                    if (this.sw(A, y, D)) y.L(A), z = L, R = !1, ++K;else {
                      L != u && this.sw(A, y, r) && this.sw(A, x, r) && (y.L(A), z = L, R = !1, ++K);
                      break;
                    }
                  }
                  if (!R) continue;

                  if (0 < K) {
                    z = 0 < b ? a.Ra(q) : a.U(q);

                    for (n = 1; n < K; n++) R = 0 < b ? a.Ra(z) : a.U(z), a.ud(z, !0), z = R;

                    G.zc(x, y);
                    K = G.length();
                    K = I * I - K * K * .25;
                    K = Math.sqrt(K);
                    I - K > .5 * this.Xk ? (C.add(y, x), C.scale(.5), G.normalize(), G.Ur(), H.L(G), H.scale(I - K), C.add(H), a.Qf(q, C)) : a.ud(q, !0);
                    K = 0;
                  }

                  y.L(x);
                  z = g;
                }

                x.L(r);
                q = g;
                g = u;
                u = 0 < b ? a.U(g) : a.Ra(g);
                S++;
                n = !1;
              }

              if (0 < K) {
                z = 0 < b ? a.Ra(q) : a.U(q);

                for (n = 1; n < K; n++) R = 0 < b ? a.Ra(z) : a.U(z), a.ud(z, !0), z = R;

                C.add(y, x);
                C.scale(.5);
                G.zc(x, y);
                K = G.length();
                K = I * I - K * K * .25;
                K = Math.sqrt(K);
                G.normalize();
                G.Ur();
                H.L(G);
                H.scale(I - K);
                C.add(H);
                a.Qf(q, C);
              }

              a.zq(this.$A, !1, !1);
              if (!e) break;
            }
          };

          f.prototype.RH = function (a, d) {
            if (1 == a.La(d)) return !0;
            var b = new c.h();
            a.jk(d, b);
            return Math.max(b.N(), b.fa()) < .5 * this.Xk ? !0 : !1;
          };

          f.prototype.QH = function (a) {
            var d = new c.h();
            a.s(d);
            return Math.max(d.N(), d.fa()) < .5 * this.Xk ? !0 : !1;
          };

          f.prototype.PW = function (a) {
            a = c.HD.local().V(a, .25 * this.Xk, !1, this.lc);

            for (var d = 0, b = 0, f = a.aa(); b < f; b++) d = Math.max(a.La(b), d);

            if (32 > d) return this.dr = !1, a;
            this.dr = !0;
            return c.Dg.ol(a, this.Vt, !1, !0, this.lc);
          };

          f.prototype.iv = function (a, d) {
            var b = d.w();

            if (null != this.Wd && 0 !== this.Wd.length) {
              var f = new c.b();
              f.L(this.Wd[0]);
              f.ru(this.vb, b);
              a.zu(f);

              for (var e = 1, g = this.Wd.length; e < g; e++) f.L(this.Wd[e]), f.ru(this.vb, b), a.aj(f);
            } else for (var e = this.DF(), f = c.J.truncate((e + 3) / 4), e = .5 * Math.PI / f, g = Math.cos(e), q = Math.sin(e), t = new c.b(), u = 3; 0 <= u; u--) {
              t.ka(0, this.vb);

              switch (u) {
                case 0:
                  for (e = 0; e < f; e++) a.Xj(t.x + b.x, t.y + b.y), t.qu(g, q);

                  break;

                case 1:
                  for (e = 0; e < f; e++) a.Xj(-t.y + b.x, t.x + b.y), t.qu(g, q);

                  break;

                case 2:
                  for (e = 0; e < f; e++) a.Xj(-t.x + b.x, -t.y + b.y), t.qu(g, q);

                  break;

                default:
                  for (a.$x(t.y + b.x, -t.x + b.y), e = 1; e < f; e++) t.qu(g, q), a.Xj(t.y + b.x, -t.x + b.y);

              }

              this.Pr();
            }
          };

          f.We = function (a) {
            a.Zg(1, 0);
            return a;
          };

          f.prototype.oY = function (a) {
            a.Zg(2, this.ta);
            a.Al();
            return a;
          };

          return f;
        }();

        c.QL = f;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            this.Ha = b;
            this.a = new c.fd();
            this.od = new c.ia(0);
          }

          g.prototype.ji = function (b, a, d) {
            switch (a) {
              case 0:
                if (b.o < d && b.v <= d) break;else return b.o >= d ? 1 : -1;

              case 1:
                if (b.A < d && b.B <= d) break;else return b.A >= d ? 1 : -1;

              case 2:
                if (b.o >= d && b.v > d) break;else return b.v <= d ? 1 : -1;

              case 3:
                if (!(b.A >= d && b.B > d)) return b.B <= d ? 1 : -1;
            }

            return 0;
          };

          g.prototype.hz = function (b, a, d) {
            return 1736 == b.G() ? this.iz(b, a, d) : this.jz(b, a);
          };

          g.prototype.iz = function (b, a, d) {
            if (0 == this.Ha.N() || 0 == this.Ha.fa()) return b.Ka();
            a = new c.h();
            b.ac(a);
            this.Y = this.a.Jb(b);
            var f = new c.h(),
                e = new c.h(),
                h = new c.b(),
                l = new c.b(),
                k = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                m = [0, 0, 0, 0, 0, 0, 0, 0, 0];
            new c.Cg();
            var g = new c.Hb(),
                p = new c.ia(0);
            p.yb(Math.min(100, b.D()));

            for (var q = !1, t = 0; !q && 4 > t; t++) {
              var u = !1,
                  n = 0 != (t & 1),
                  v = 0;

              switch (t) {
                case 0:
                  v = this.Ha.o;
                  u = a.o <= v && a.v >= v;
                  break;

                case 1:
                  v = this.Ha.A;
                  u = a.A <= v && a.B >= v;
                  break;

                case 2:
                  v = this.Ha.v;
                  u = a.o <= v && a.v >= v;
                  break;

                case 3:
                  v = this.Ha.B, u = a.A <= v && a.B >= v;
              }

              if (u) for (q = !0, u = this.a.Pb(this.Y); -1 != u;) {
                var x = -1,
                    r = -1,
                    y = this.a.cb(u),
                    A = y;

                do {
                  var C = this.a.ic(A);
                  null == C && (C = g, this.a.w(A, h), C.Mc(h), this.a.w(this.a.U(A), l), C.Zc(l));
                  C.s(f);
                  var D = this.ji(f, t, v),
                      E = 0,
                      F = -1;

                  if (-1 == D) {
                    C = C.Tq(n, v, k, m);
                    0 < C ? E = this.a.zm(A, m, C) : E = 0;

                    for (var E = E + 1, G = A, H = this.a.U(G), C = 0; C < E; C++) {
                      this.a.w(G, h);
                      this.a.w(H, l);
                      F = this.a.ic(G);
                      null == F && (F = g, F.Mc(h), F.Zc(l));
                      F.s(e);
                      F = this.ji(e, t, v);

                      if (-1 == F) {
                        if (n) F = Math.abs(h.y - v), I = Math.abs(l.y - v), F < I ? (h.y = v, this.a.Qf(G, h)) : (l.y = v, this.a.Qf(H, l));else {
                          var F = Math.abs(h.x - v),
                              I = Math.abs(l.x - v);
                          F < I ? (h.x = v, this.a.Qf(G, h)) : (l.x = v, this.a.Qf(H, l));
                        }
                        F = this.a.ic(G);
                        null == F && (F = g, F.Mc(h), F.Zc(l));
                        F.s(e);
                        F = this.ji(e, t, v);
                      }

                      I = x;
                      x = F;
                      -1 == r && (r = x);
                      if (0 != I || 1 != x) 1 == I && 0 == x || 0 != I || 0 != x || p.add(G);
                      1 == x && (q = !1);
                      F = G = H;
                      H = this.a.U(H);
                    }
                  }

                  if (0 == E) {
                    I = x;
                    x = D;
                    -1 == r && (r = x);
                    if (0 != I || 1 != x) 1 == I && 0 == x || 0 != I || 0 != x || p.add(A);
                    1 == x && (q = !1);
                    F = this.a.U(A);
                  }

                  A = F;
                } while (A != y);

                0 == r && 0 == x && p.add(y);
                C = 0;

                for (x = p.size; C < x; C++) r = p.get(C), this.a.ud(r, !1);

                p.clear(!1);
                u = 3 > this.a.La(u) ? this.a.Rr(u) : this.a.Sb(u);
              }
            }

            if (q) return b.Ka();
            this.gC();
            0 < d && this.vz(d);
            return this.a.Se(this.Y);
          };

          g.prototype.jz = function (b) {
            var a = new c.h(),
                d = new c.h(),
                f = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                e = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                h = new c.Cg(),
                l = b,
                k = new c.h();
            b.ac(k);

            for (var m = 0; 4 > m; m++) {
              var g = !1,
                  p = 0 != (m & 1),
                  q = 0;

              switch (m) {
                case 0:
                  q = this.Ha.o;
                  g = k.o <= q && k.v >= q;
                  break;

                case 1:
                  q = this.Ha.A;
                  g = k.A <= q && k.B >= q;
                  break;

                case 2:
                  q = this.Ha.v;
                  g = k.o <= q && k.v >= q;
                  break;

                case 3:
                  q = this.Ha.B, g = k.A <= q && k.B >= q;
              }

              if (g) {
                g = l;
                l = b.Ka();
                g = g.Fa();
                g.yj();

                for (var t, u = new c.b(); g.Ya();) for (var n, v = !0; g.Ea();) {
                  var x = g.ba();
                  x.s(a);
                  var r = this.ji(a, m, q);

                  if (-1 == r) {
                    if (r = x.Tq(p, q, f, e), 0 < r) {
                      var y = 0;
                      t = x.ec();

                      for (var A = 0; A <= r; A++) if (n = A < r ? e[A] : 1, y != n) {
                        x.yh(y, n, h);
                        var C = h.get();
                        C.Mc(t);
                        A < r && (p ? (u.x = f[A], u.y = q) : (u.x = q, u.y = f[A]), C.Zc(u));
                        C.s(d);
                        var D = this.ji(d, m, q);

                        if (-1 == D) {
                          t = C.ec();
                          y = C.Cc();
                          if (p) D = Math.abs(t.y - q), E = Math.abs(y.y - q), D < E ? (t.y = q, C.Mc(t)) : (y.y = q, C.Zc(y));else {
                            var D = Math.abs(t.x - q),
                                E = Math.abs(y.x - q);
                            D < E ? (t.x = q, C.Mc(t)) : (y.x = q, C.Zc(y));
                          }
                          C.s(d);
                          D = this.ji(d, m, q);
                        }

                        t = C.Cc();
                        y = n;
                        n = D;
                        1 == n ? (l.dc(C, v), v = !1) : v = !0;
                      }
                    }
                  } else n = r, 1 == n ? (l.dc(x, v), v = !1) : v = !0;
                }
              }
            }

            return l;
          };

          g.prototype.gC = function () {
            this.Ki = -1;
            this.Am(!1, this.Ha.o);
            this.Am(!1, this.Ha.v);
            this.Am(!0, this.Ha.A);
            this.Am(!0, this.Ha.B);
            this.od.resize(0);
            this.od.yb(100);
            this.Ki = this.a.Vd();

            for (var b = new c.b(), a = this.a.Pb(this.Y); -1 != a; a = this.a.Sb(a)) for (var d = this.a.cb(a), f = 0, e = this.a.La(a); f < e; f++, d = this.a.U(d)) if (this.a.w(d, b), this.Ha.o == b.x || this.Ha.v == b.x || this.Ha.A == b.y || this.Ha.B == b.y) this.a.Va(d, this.Ki, this.od.size), this.od.add(d);

            this.sm(!1, this.Ha.o);
            this.sm(!1, this.Ha.v);
            this.sm(!0, this.Ha.A);
            this.sm(!0, this.Ha.B);
            this.Dz();
          };

          g.prototype.vz = function (b) {
            for (var a = new c.b(), d = new c.b(), f = c.J.gf(2048, 0), e = this.a.Pb(this.Y); -1 != e; e = this.a.Sb(e)) {
              var h = this.a.cb(e),
                  l = h;

              do {
                var k = this.a.U(l);
                this.a.w(l, a);
                var m = -1;
                a.x == this.Ha.o ? (this.a.w(k, d), d.x == this.Ha.o && (m = 1)) : a.x == this.Ha.v && (this.a.w(k, d), d.x == this.Ha.v && (m = 1));
                a.y == this.Ha.A ? (this.a.w(k, d), d.y == this.Ha.A && (m = 0)) : a.y == this.Ha.B && (this.a.w(k, d), d.y == this.Ha.B && (m = 0));

                if (-1 != m && (m = c.b.Cb(a, d), m = c.J.truncate(Math.min(Math.ceil(m / b), 2048)), !(1 >= m))) {
                  for (var g = 1; g < m; g++) f[g - 1] = 1 * g / m;

                  this.a.zm(l, f, m - 1);
                }

                l = k;
              } while (l != h);
            }
          };

          g.prototype.Am = function (b, a) {
            var d = this.a.Vd(),
                f = new c.b(),
                e = new c.ia(0);
            e.yb(100);

            for (var h = this.a.Pb(this.Y); -1 != h; h = this.a.Sb(h)) for (var l = this.a.cb(h), k = 0, m = this.a.La(h); k < m; k++) {
              var g = this.a.U(l);
              this.a.w(l, f);
              if (b ? f.y == a : f.x == a) if (this.a.w(g, f), b ? f.y == a : f.x == a) 1 != this.a.Sa(l, d) && (e.add(l), this.a.Va(l, d, 1)), 1 != this.a.Sa(g, d) && (e.add(g), this.a.Va(g, d, 1));
              l = g;
            }

            this.a.le(d);

            if (!(3 > e.size)) {
              var p = this;
              e.Gd(0, e.size, function (a, d) {
                return p.ki(a, d);
              });
              d = new c.b();
              h = new c.b();
              l = new c.b();
              h.$c();

              for (var q = -1, k = new c.ia(0), m = new c.ia(0), g = this.a.Vd(), t = this.a.Vd(), u = 0, n = e.size; u < n; u++) {
                var v = e.get(u);
                this.a.w(v, f);

                if (!f.ub(h)) {
                  if (-1 != q) {
                    for (var x = q; x < u; x++) {
                      var q = e.get(x),
                          r = this.a.U(q),
                          v = this.a.Ra(q),
                          y = !1;
                      0 > this.ki(q, r) && (this.a.w(r, d), b ? d.y == a : d.x == a) && (k.add(q), y = !0, this.a.Va(q, t, 1));
                      0 > this.ki(q, v) && (this.a.w(v, d), b ? d.y == a : d.x == a) && (y || k.add(q), this.a.Va(q, g, 1));
                    }

                    x = 0;

                    for (y = k.size; x < y; x++) {
                      q = k.get(x);
                      v = this.a.Sa(q, g);
                      r = this.a.Sa(q, t);

                      if (1 == v) {
                        v = this.a.Ra(q);
                        this.a.w(v, l);
                        var A = [0];
                        A[0] = 0;

                        if (!l.ub(f)) {
                          var C = c.b.Cb(h, l);
                          A[0] = c.b.Cb(l, f) / C;
                          0 == A[0] ? A[0] = 2.220446049250313E-16 : 1 == A[0] && (A[0] = .9999999999999998);
                          this.a.zm(v, A, 1);
                          v = this.a.Ra(q);
                          this.a.Qf(v, f);
                          m.add(v);
                          this.a.Va(v, g, 1);
                          this.a.Va(v, t, -1);
                        }
                      }

                      1 == r && (r = this.a.U(q), this.a.w(r, l), A = [0], A[0] = 0, l.ub(f) || (C = c.b.Cb(h, l), A[0] = c.b.Cb(h, f) / C, 0 == A[0] ? A[0] = 2.220446049250313E-16 : 1 == A[0] && (A[0] = .9999999999999998), this.a.zm(q, A, 1), v = this.a.U(q), this.a.Qf(v, f), m.add(v), this.a.Va(v, g, -1), this.a.Va(v, t, 1)));
                    }

                    q = k;
                    k = m;
                    m = q;
                    m.clear(!1);
                  }

                  q = u;
                  h.L(f);
                }
              }

              this.a.le(g);
              this.a.le(t);
            }
          };

          g.prototype.sm = function (b, a) {
            var d = new c.b(),
                f = new c.ia(0);
            f.yb(100);

            for (var e = this.a.Vd(), h = 0, l = this.od.size; h < l; h++) {
              var k = this.od.get(h);

              if (-1 != k) {
                var m = this.a.U(k);
                this.a.w(k, d);
                if (b ? d.y == a : d.x == a) if (this.a.w(m, d), b ? d.y == a : d.x == a) -2 != this.a.Sa(k, e) && (f.add(k), this.a.Va(k, e, -2)), -2 != this.a.Sa(m, e) && (f.add(m), this.a.Va(m, e, -2));
              }
            }

            if (0 != f.size) {
              var g = this;
              f.Gd(0, f.size, function (a, d) {
                return g.ki(a, d);
              });
              h = 0;

              for (l = f.size; h < l; h++) {
                var p = f.get(h);
                this.a.Va(p, e, h);
              }

              k = new c.b();
              m = new c.b();
              m.$c();

              for (var q = -1, h = 0, l = f.size; h < l; h++) if (p = f.get(h), -1 != p && (this.a.w(p, d), !d.ub(m))) {
                if (-1 != q) for (;;) {
                  for (var p = !1, t = 1 < h - q ? h - 1 : h, u = q; u < t; u++) {
                    var n = f.get(u);

                    if (-1 != n) {
                      var v = -1,
                          x = this.a.U(n);
                      0 > this.ki(n, x) && (this.a.w(x, k), b ? k.y == a : k.x == a) && (v = x);
                      var x = -1,
                          r = this.a.Ra(n);
                      0 > this.ki(n, r) && (this.a.w(r, k), b ? k.y == a : k.x == a) && (x = r);
                      if (-1 != v && -1 != x) this.ii(n, f, e), this.a.ud(n, !1), this.ii(v, f, e), this.a.ud(v, !1), p = !0;else if (-1 != v || -1 != x) {
                        for (r = u + 1; r < h; r++) {
                          var y = f.get(r);

                          if (-1 != y) {
                            var A = this.a.U(y),
                                C = -1;
                            0 > this.ki(y, A) && (this.a.w(A, k), b ? k.y == a : k.x == a) && (C = A);
                            var A = this.a.Ra(y),
                                D = -1;
                            0 > this.ki(y, A) && (this.a.w(A, k), b ? k.y == a : k.x == a) && (D = A);

                            if (-1 != C && -1 != D) {
                              this.ii(y, f, e);
                              this.a.ud(y, !1);
                              this.ii(C, f, e);
                              this.a.ud(C, !1);
                              p = !0;
                              break;
                            }

                            if (-1 != v && -1 != D) {
                              this.ou(f, n, v, y, D, e);
                              p = !0;
                              break;
                            } else if (-1 != x && -1 != C) {
                              this.ou(f, y, C, n, x, e);
                              p = !0;
                              break;
                            }
                          }
                        }

                        if (p) break;
                      }
                    }
                  }

                  if (!p) break;
                }
                q = h;
                m.L(d);
              }
            }

            this.a.le(e);
          };

          g.prototype.ii = function (b, a, d) {
            d = this.a.Sa(b, d);
            a.set(d, -1);
            d = this.a.Sa(b, this.Ki);
            this.od.set(d, -1);
            a = this.a.ld(b);
            -1 != a && this.a.cb(a) == b && (this.a.jg(a, -1), this.a.sh(a, -1));
          };

          g.prototype.ou = function (b, a, d, f, e, c) {
            this.a.Kc(a, f);
            this.a.Lc(f, a);
            this.a.Lc(d, e);
            this.a.Kc(e, d);
            this.ii(f, b, c);
            this.a.Mi(f, !1);
            this.ii(e, b, c);
            this.a.Mi(e, !0);
          };

          g.prototype.Dz = function () {
            for (var b = 0, a = this.od.size; b < a; b++) {
              var d = this.od.get(b);
              -1 != d && this.a.Aj(d, -1);
            }

            for (var f = 0, e = 0, c = this.a.Pb(this.Y); -1 != c;) {
              var l = this.a.cb(c);

              if (-1 == l || c != this.a.ld(l)) {
                var k = c,
                    c = this.a.Sb(c);
                this.a.jg(k, -1);
                this.a.Sr(k);
              } else {
                d = l;
                k = 0;

                do this.a.Aj(d, c), k++, d = this.a.U(d); while (d != l);

                2 >= k ? (d = this.a.Sa(l, this.Ki), this.od.set(d, -1), l = this.a.ud(l, !1), 2 == k && (d = this.a.Sa(l, this.Ki), this.od.set(d, -1), this.a.ud(l, !1)), k = c, c = this.a.Sb(c), this.a.jg(k, -1), this.a.Sr(k)) : (this.a.Np(c, !1), this.a.sh(c, this.a.Ra(l)), this.a.nk(c, k), e += k, f++, c = this.a.Sb(c));
              }
            }

            b = 0;

            for (a = this.od.size; b < a; b++) if (d = this.od.get(b), -1 != d && (c = this.a.ld(d), -1 == c)) {
              c = this.a.Yf(this.Y, -1);
              k = 0;
              l = d;

              do this.a.Aj(d, c), k++, d = this.a.U(d); while (d != l);

              2 >= k ? (d = this.a.Sa(l, this.Ki), this.od.set(d, -1), l = this.a.ud(l, !1), 2 == k && (d = this.a.Sa(l, this.Ki), 0 <= d && this.od.set(d, -1), this.a.ud(l, !1)), k = c, this.a.jg(k, -1), this.a.Sr(k)) : (this.a.$n(c, !0), this.a.nk(c, k), this.a.jg(c, l), this.a.sh(c, this.a.Ra(l)), this.a.Np(c, !1), e += k, f++);
            }

            this.a.wm(this.Y, f);
            this.a.lk(this.Y, e);
            b = 0;

            for (a = this.a.sd; -1 != a; a = this.a.Ue(a)) b += this.a.D(a);

            this.a.AC(b);
          };

          g.Hm = function (b, a, d, f) {
            return new g(a).hz(b, d, f);
          };

          g.clip = function (b, a, d, f) {
            if (b.u()) return b;
            if (a.u()) return b.Ka();
            var e = b.G();
            if (33 == e) return d = b.w(), a.contains(d) ? b : b.Ka();
            if (197 == e) return d = new c.h(), b.s(d), d.Ma(a) ? (a = new c.ci(), b.copyTo(a), a.Gp(d), a) : b.Ka();
            var h = new c.h();
            b.ac(h);
            if (a.contains(h)) return b;
            if (!a.Yb(h)) return b.Ka();
            h = b.ob;

            if (null != h && (h = h.Hi, null != h)) {
              h = h.Rn(a);

              if (1 == h) {
                if (1736 != e) throw c.g.za();
                b = new c.Ja(b.description);
                b.oq(a);
                return b;
              }

              if (0 == h) return b.Ka();
            }

            switch (e) {
              case 550:
                f = null;

                for (var e = b.D(), h = b.Pa(0), l = 0, k = 0; k < e; k++) d = new c.b(), h.fc(2 * k, d), a.contains(d) || (0 == l && (f = b.Ka()), l < k && f.Id(b, l, k), l = k + 1);

                0 < l && f.Id(b, l, e);
                return 0 == l ? b : f;

              case 1736:
              case 1607:
                return g.Hm(b, a, d, f);

              default:
                throw c.g.za();
            }
          };

          g.prototype.ki = function (b, a) {
            var d = new c.b();
            this.a.w(b, d);
            var f = new c.b();
            this.a.w(a, f);
            return d.compare(f);
          };

          return g;
        }();

        c.ne = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a) {
            this.Ha = b;
            this.a = new c.fd();
            this.od = new c.ia(0);
            this.ke = a;
          }

          g.prototype.ji = function (b, a, d) {
            switch (a) {
              case 0:
                if (b.o < d && b.v <= d) break;else return b.o >= d ? 1 : -1;

              case 1:
                if (b.A < d && b.B <= d) break;else return b.A >= d ? 1 : -1;

              case 2:
                if (b.o >= d && b.v > d) break;else return b.v <= d ? 1 : -1;

              case 3:
                if (!(b.A >= d && b.B > d)) return b.B <= d ? 1 : -1;
            }

            return 0;
          };

          g.prototype.hz = function (b, a, d) {
            return 1736 == b.G() ? this.iz(b, a, d) : this.jz(b, a);
          };

          g.prototype.iz = function (b, a, d) {
            if (0 == this.Ha.N() || 0 == this.Ha.fa()) return b.Ka();
            a = new c.h();
            b.ac(a);
            this.Y = this.a.Jb(b);
            var f = new c.h(),
                e = new c.h(),
                h = new c.b(),
                l = new c.b(),
                k = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                m = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                g = new c.Hb(),
                p = new c.ia(0);
            p.yb(256);

            for (var q = !1, t = 0; !q && 4 > t; t++) {
              var u = !1,
                  n = 0 != (t & 1),
                  v = 0;

              switch (t) {
                case 0:
                  v = this.Ha.o;
                  u = a.o <= v && a.v >= v;
                  break;

                case 1:
                  v = this.Ha.A;
                  u = a.A <= v && a.B >= v;
                  break;

                case 2:
                  v = this.Ha.v;
                  u = a.o <= v && a.v >= v;
                  break;

                case 3:
                  v = this.Ha.B, u = a.A <= v && a.B >= v;
              }

              if (u) for (q = !0, u = this.a.Pb(this.Y); -1 != u;) {
                var x = !0,
                    r = -1,
                    y = -1,
                    A = this.a.cb(u),
                    C = A;

                do {
                  var D = this.a.ic(C);
                  null == D && (D = g, this.a.w(C, h), D.Mc(h), this.a.w(this.a.U(C), l), D.Zc(l));
                  D.s(f);
                  var E = this.ji(f, t, v),
                      F = 0,
                      G = -1;

                  if (-1 == E) {
                    D = D.Tq(n, v, k, m);
                    0 < D ? F = this.a.FY(C, m, D) : F = 0;

                    for (var F = F + 1, H = C, I = this.a.U(H), D = 0; D < F; D++) {
                      this.a.w(H, h);
                      this.a.w(I, l);
                      G = this.a.ic(H);
                      null == G && (G = g, G.Mc(h), G.Zc(l));
                      G.s(e);
                      G = this.ji(e, t, v);

                      if (-1 == G) {
                        if (n) G = Math.abs(h.y - v), K = Math.abs(l.y - v), G < K ? (h.y = v, this.a.Qf(H, h)) : (l.y = v, this.a.Qf(I, l));else {
                          var G = Math.abs(h.x - v),
                              K = Math.abs(l.x - v);
                          G < K ? (h.x = v, this.a.Qf(H, h)) : (l.x = v, this.a.Qf(I, l));
                        }
                        G = this.a.ic(H);
                        null == G && (G = g, G.Mc(h), G.Zc(l));
                        G.s(e);
                        G = this.ji(e, t, v);
                      }

                      K = r;
                      r = G;
                      -1 == y && (y = r);
                      if (0 != K || 1 != r) 1 == K && 0 == r || 0 != K || 0 != r || p.add(H);
                      1 == r && (x = q = !1);
                      G = H = I;
                      I = this.a.U(I);
                    }
                  }

                  if (0 == F) {
                    K = r;
                    r = E;
                    -1 == y && (y = r);
                    if (0 != K || 1 != r) 1 == K && 0 == r || 0 != K || 0 != r || p.add(C);
                    1 == r && (x = q = !1);
                    G = this.a.U(C);
                  }

                  C = G;

                  if (256 <= p.size) {
                    D = 1;

                    for (E = p.size - 1; D < E; D++) F = p.get(D), this.a.ud(F, !1);

                    p.set(1, p.Fc());
                    p.yf(2);
                  }
                } while (C != A);

                if (!x) for (0 == y && 0 == r && p.add(A), D = 0, E = p.size; D < E; D++) F = p.get(D), this.a.ud(F, !1);
                p.clear(!1);
                u = x || 0 == this.a.La(u) ? this.a.Rr(u) : this.a.Sb(u);
              }
            }

            if (q) return b.Ka();
            this.gC();
            0 < d && this.vz(d);
            return this.a.Se(this.Y);
          };

          g.prototype.jz = function (b) {
            var a = new c.h(),
                d = new c.h(),
                f = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                e = [0, 0, 0, 0, 0, 0, 0, 0, 0],
                h = new c.Cg(),
                l = b,
                k = new c.h();
            b.ac(k);

            for (var m = new c.b(), g = new c.b(), p = null, q = null, t = 0; 4 > t; t++) {
              var u = !1,
                  n = 0 != (t & 1),
                  v = 0;

              switch (t) {
                case 0:
                  v = this.Ha.o;
                  u = k.o <= v && k.v >= v;
                  break;

                case 1:
                  v = this.Ha.A;
                  u = k.A <= v && k.B >= v;
                  break;

                case 2:
                  v = this.Ha.v;
                  u = k.o <= v && k.v >= v;
                  break;

                case 3:
                  v = this.Ha.B, u = k.A <= v && k.B >= v;
              }

              if (u) for (u = l, l = b.Ka(), u = u.Fa(), u.yj(); u.Ya();) for (var x, r = !0; u.Ea();) {
                var y = u.ba();
                y.s(a);
                var A = this.ji(a, t, v);

                if (-1 == A) {
                  if (A = y.Tq(n, v, f, e), 0 < A) {
                    var C = 0;
                    y.Oq(m);

                    for (var D = 0; D <= A; D++) if (x = D < A ? e[D] : 1, C != x) {
                      y.yh(C, x, h);
                      var E = h.get();
                      E.Mc(m);
                      D < A && (n ? (g.x = f[D], g.y = v) : (g.x = v, g.y = f[D]), E.Zc(g));
                      E.s(d);
                      var F = this.ji(d, t, v);
                      -1 == F && (null == p && (p = new c.b()), null == q && (q = new c.b()), E.Oq(p), E.Ps(q), n ? (C = Math.abs(p.y - v), F = Math.abs(q.y - v), C < F ? (p.y = v, E.Mc(p)) : (q.y = v, E.Zc(q))) : (C = Math.abs(p.x - v), F = Math.abs(q.x - v), C < F ? (p.x = v, E.Mc(p)) : (q.x = v, E.Zc(q))), E.s(d), F = this.ji(d, t, v));
                      E.Ps(m);
                      C = x;
                      x = F;
                      1 == x ? (l.dc(E, r), r = !1) : r = !0;
                    }
                  }
                } else x = A, 1 == x ? (l.dc(y, r), r = !1) : r = !0;
              }
            }

            return l;
          };

          g.prototype.gC = function () {
            this.Ki = -1;
            this.Am(!1, this.Ha.o);
            this.Am(!1, this.Ha.v);
            this.Am(!0, this.Ha.A);
            this.Am(!0, this.Ha.B);
            this.od.resize(0);
            this.od.yb(100);
            this.Ki = this.a.Vd();

            for (var b = new c.b(), a = this.a.Pb(this.Y); -1 != a; a = this.a.Sb(a)) for (var d = this.a.cb(a), f = 0, e = this.a.La(a); f < e; f++, d = this.a.U(d)) if (this.a.w(d, b), this.Ha.o == b.x || this.Ha.v == b.x || this.Ha.A == b.y || this.Ha.B == b.y) this.a.Va(d, this.Ki, this.od.size), this.od.add(d);

            this.sm(!1, this.Ha.o);
            this.sm(!1, this.Ha.v);
            this.sm(!0, this.Ha.A);
            this.sm(!0, this.Ha.B);
            this.Dz();
          };

          g.prototype.vz = function (b) {
            for (var a = new c.b(), d = new c.b(), f = null, e = null, h = c.J.gf(2048, 0), l = this.a.Pb(this.Y); -1 != l; l = this.a.Sb(l)) {
              var k = this.a.cb(l),
                  m = k;

              do {
                var g = this.a.U(m);
                this.a.w(m, a);
                var p = -1;
                a.x == this.Ha.o ? (this.a.w(g, d), d.x == this.Ha.o && (p = 1)) : a.x == this.Ha.v && (this.a.w(g, d), d.x == this.Ha.v && (p = 1));
                a.y == this.Ha.A ? (this.a.w(g, d), d.y == this.Ha.A && (p = 0)) : a.y == this.Ha.B && (this.a.w(g, d), d.y == this.Ha.B && (p = 0));

                if (-1 != p) {
                  null == f && (f = new c.b());
                  null == e && (e = new c.b());
                  f.L(a);
                  e.ka(0, 0);

                  if (0 == p) {
                    var q = a.x - this.Ha.o;
                    e.x = c.Ub.sign(d.x - a.x);
                    f.x = b * c.Ub.Fl(Math.floor(Math.abs(q / b)), q) + this.Ha.o;
                    0 > f.x && (f.x += b);
                  } else q = a.y - this.Ha.A, e.y = c.Ub.sign(d.y - a.y), f.y = b * c.Ub.Fl(Math.floor(Math.abs(q / b)), q) + this.Ha.A, 0 > f.y && (f.y += b);

                  var q = 0 != p ? d.y - a.y : d.x - a.x,
                      t = Math.abs(q);
                  if (65536 < t / b) throw c.g.X("internal error");

                  if (0 < t) {
                    t = c.J.truncate(t / b) + 2;
                    h.length < t && (h = c.J.gf(t));

                    for (var u = t = 0;; u++) {
                      var n = new c.b();
                      n.x = f.x + e.x * u * b;
                      n.y = f.y + e.y * u * b;
                      n = (0 != p ? n.y - a.y : n.x - a.x) / q;
                      if (1 <= n) break;
                      0 >= n || (h[t] = n, t++);
                    }

                    0 != t && this.a.zm(m, h, t);
                  }
                }

                m = g;
              } while (m != k);
            }
          };

          g.prototype.Am = function (b, a) {
            for (var d = -1, f = new c.b(), e = null, h = this.a.Pb(this.Y); -1 != h; h = this.a.Sb(h)) for (var l = this.a.cb(h), k = 0, m = this.a.La(h); k < m; k++) {
              var g = this.a.U(l);
              this.a.w(l, f);
              if (b ? f.y == a : f.x == a) if (this.a.w(g, f), b ? f.y == a : f.x == a) -1 == d && (d = this.a.Vd()), null == e && (e = new c.ia(0), e.yb(100)), 1 != this.a.Sa(l, d) && (e.add(l), this.a.Va(l, d, 1)), 1 != this.a.Sa(g, d) && (e.add(g), this.a.Va(g, d, 1));
              l = g;
            }

            -1 != d && this.a.le(d);

            if (!(null == e || 3 > e.size)) {
              var p = this;
              e.Gd(0, e.size, function (a, d) {
                return p.ki(a, d);
              });
              d = new c.b();
              h = new c.b();
              l = new c.b();
              h.$c();

              for (var q = -1, k = new c.ia(0), m = new c.ia(0), g = null, t = this.a.Vd(), u = this.a.Vd(), n = 0, v = e.size; n < v; n++) {
                var x = e.get(n);
                this.a.w(x, f);

                if (!f.ub(h)) {
                  if (-1 != q) {
                    for (var r = q; r < n; r++) {
                      var q = e.get(r),
                          y = this.a.U(q),
                          x = this.a.Ra(q),
                          A = !1;
                      this.a.w(y, d);
                      0 > h.compare(d) && (b ? d.y == a : d.x == a) && (k.add(q), A = !0, this.a.Va(q, u, 1));
                      this.a.w(x, d);
                      0 > h.compare(d) && (b ? d.y == a : d.x == a) && (A || k.add(q), this.a.Va(q, t, 1));
                    }

                    r = 0;

                    for (A = k.size; r < A; r++) {
                      q = k.get(r);
                      x = this.a.Sa(q, t);
                      y = this.a.Sa(q, u);

                      if (1 == x && (x = this.a.Ra(q), this.a.w(x, l), !l.ub(f))) {
                        null == g && (g = []);
                        var C = c.b.Cb(h, l);
                        g[0] = c.b.Cb(l, f) / C;
                        0 == g[0] ? g[0] = 2.220446049250313E-16 : 1 == g[0] && (g[0] = .9999999999999998);
                        this.a.zm(x, g, 1);
                        x = this.a.Ra(q);
                        this.a.Qf(x, f);
                        m.add(x);
                        this.a.Va(x, t, 1);
                        this.a.Va(x, u, -1);
                      }

                      1 == y && (y = this.a.U(q), this.a.w(y, l), l.ub(f) || (null == g && (g = []), C = c.b.Cb(h, l), g[0] = c.b.Cb(h, f) / C, 0 == g[0] ? g[0] = 2.220446049250313E-16 : 1 == g[0] && (g[0] = .9999999999999998), this.a.zm(q, g, 1), x = this.a.U(q), this.a.Qf(x, f), m.add(x), this.a.Va(x, t, -1), this.a.Va(x, u, 1)));
                    }

                    q = k;
                    k = m;
                    m = q;
                    m.clear(!1);
                  }

                  q = n;
                  h.L(f);
                }
              }

              this.a.le(t);
              this.a.le(u);
            }
          };

          g.prototype.sm = function (b, a) {
            for (var d = new c.b(), f = null, e = -1, h = 0, l = this.od.size; h < l; h++) {
              var k = this.od.get(h);

              if (-1 != k) {
                var m = this.a.U(k);
                this.a.w(k, d);
                if (b ? d.y == a : d.x == a) if (this.a.w(m, d), b ? d.y == a : d.x == a) -1 == e && (e = this.a.Vd()), null == f && (f = new c.ia(0), f.yb(100)), -2 != this.a.Sa(k, e) && (f.add(k), this.a.Va(k, e, -2)), -2 != this.a.Sa(m, e) && (f.add(m), this.a.Va(m, e, -2));
              }
            }

            if (null == f) -1 != e && this.a.le(e);else {
              var g = this;
              f.Gd(0, f.size, function (a, d) {
                return g.ki(a, d);
              });
              h = 0;

              for (l = f.size; h < l; h++) {
                var p = f.get(h);
                this.a.Va(p, e, h);
              }

              k = new c.b();
              m = new c.b();
              m.$c();

              for (var q = -1, h = 0, l = f.size; h < l; h++) if (p = f.get(h), -1 != p && (this.a.w(p, d), !d.ub(m))) {
                if (-1 != q) for (;;) {
                  for (var p = !1, t = 1 < h - q ? h - 1 : h, u = q; u < t; u++) {
                    var n = f.get(u);

                    if (-1 != n) {
                      var v = -1,
                          x = this.a.U(n);
                      this.a.w(x, k);
                      0 > m.compare(k) && (b ? k.y == a : k.x == a) && (v = x);
                      var x = -1,
                          r = this.a.Ra(n);
                      this.a.w(r, k);
                      0 > m.compare(k) && (b ? k.y == a : k.x == a) && (x = r);
                      if (-1 != v && -1 != x) this.ii(n, f, e), this.a.ud(n, !1), this.ii(v, f, e), this.a.ud(v, !1), p = !0;else if (-1 != v || -1 != x) {
                        for (r = u + 1; r < h; r++) {
                          var y = f.get(r);

                          if (-1 != y) {
                            var A = this.a.U(y),
                                C = -1;
                            this.a.w(A, k);
                            0 > m.compare(k) && (b ? k.y == a : k.x == a) && (C = A);
                            var A = this.a.Ra(y),
                                D = -1;
                            this.a.w(A, k);
                            0 > m.compare(k) && (b ? k.y == a : k.x == a) && (D = A);

                            if (-1 != C && -1 != D) {
                              this.ii(y, f, e);
                              this.a.ud(y, !1);
                              this.ii(C, f, e);
                              this.a.ud(C, !1);
                              p = !0;
                              break;
                            }

                            if (-1 != v && -1 != D) {
                              this.ou(f, n, v, y, D, e);
                              p = !0;
                              break;
                            } else if (-1 != x && -1 != C) {
                              this.ou(f, y, C, n, x, e);
                              p = !0;
                              break;
                            }
                          }
                        }

                        if (p) break;
                      }
                    }
                  }

                  if (!p) break;
                }
                q = h;
                m.L(d);
              }

              this.a.le(e);
            }
          };

          g.prototype.ii = function (b, a, d) {
            d = this.a.Sa(b, d);
            a.set(d, -1);
            d = this.a.Sa(b, this.Ki);
            this.od.set(d, -1);
            a = this.a.ld(b);
            -1 != a && this.a.cb(a) == b && (this.a.jg(a, -1), this.a.sh(a, -1));
          };

          g.prototype.ou = function (b, a, d, f, e, c) {
            this.a.Kc(a, f);
            this.a.Lc(f, a);
            this.a.Lc(d, e);
            this.a.Kc(e, d);
            this.ii(f, b, c);
            this.a.Mi(f, !1);
            this.ii(e, b, c);
            this.a.Mi(e, !0);
          };

          g.prototype.Dz = function () {
            for (var b = 0, a = this.od.size; b < a; b++) {
              var d = this.od.get(b);
              -1 != d && this.a.Aj(d, -1);
            }

            for (var f = 0, e = 0, c = this.a.Pb(this.Y); -1 != c;) {
              var l = this.a.cb(c);

              if (-1 == l || c != this.a.ld(l)) {
                var k = c,
                    c = this.a.Sb(c);
                this.a.jg(k, -1);
                this.a.Sr(k);
              } else {
                d = l;
                k = 0;

                do this.a.Aj(d, c), k++, d = this.a.U(d); while (d != l);

                this.a.Np(c, !1);
                this.a.sh(c, this.a.Ra(l));
                this.a.nk(c, k);
                e += k;
                f++;
                c = this.a.Sb(c);
              }
            }

            b = 0;

            for (a = this.od.size; b < a; b++) if (d = this.od.get(b), -1 != d && (c = this.a.ld(d), -1 == c)) {
              c = this.a.Yf(this.Y, -1);
              k = 0;
              l = d;

              do this.a.Aj(d, c), k++, d = this.a.U(d); while (d != l);

              2 >= k ? (d = this.a.Sa(l, this.Ki), this.od.set(d, -1), l = this.a.ud(l, !1), 2 == k && (d = this.a.Sa(l, this.Ki), 0 <= d && this.od.set(d, -1), this.a.ud(l, !1)), k = c, this.a.jg(k, -1), this.a.Sr(k)) : (this.a.$n(c, !0), this.a.nk(c, k), this.a.jg(c, l), this.a.sh(c, this.a.Ra(l)), this.a.Np(c, !1), e += k, f++);
            }

            this.a.wm(this.Y, f);
            this.a.lk(this.Y, e);
            b = 0;

            for (a = this.a.sd; -1 != a; a = this.a.Ue(a)) b += this.a.D(a);

            this.a.AC(b);
          };

          g.We = function (b, a, d, f, e) {
            return new g(a, e).hz(b, d, f);
          };

          g.clip = function (b, a, d, f, e) {
            return g.rq(b, a, null, d, f, e);
          };

          g.rq = function (b, a, d, f, e, h) {
            var l = b.G();
            if (33 == l) return e = b.w(), a.contains(e) ? b : b.Ka();
            if (197 == l) return e = new c.h(), b.s(e), e.Ma(a) ? (a = new c.ci(), b.copyTo(a), a.Gp(e), a) : b.Ka();
            if (b.u()) return b;
            if (a.u()) return b.Ka();
            var k = new c.h();
            b.ac(k);
            if (a.contains(k)) return b;
            if (!a.Yb(k)) return b.Ka();
            if (null != d || isNaN(f)) f = c.na.Zy(d, a, !1);
            if (!c.T.gh(l)) throw c.g.F();
            d = b.ob;

            if (null != d && (d = d.Hi, null != d)) {
              d = d.Rn(a);

              if (1 == d) {
                if (1736 != l) throw c.g.X("internal error");
                b = new c.Ja(b.description);
                b.oq(a);
                return b;
              }

              if (0 == d) return b.Ka();
            }

            switch (l) {
              case 550:
                h = null;
                l = b.D();
                f = b.Pa(0);
                d = 0;
                e = new c.b();

                for (k = 0; k < l; k++) f.fc(2 * k, e), a.contains(e) || (0 == d && (h = b.Ka()), d < k && h.Id(b, d, k), d = k + 1);

                0 < d && h.Id(b, d, l);
                return 0 == d ? b : h;

              case 1736:
              case 1607:
                return g.We(b, a, f, e, h);

              default:
                throw c.g.X("internal error");
            }
          };

          g.prototype.ki = function (b, a) {
            var d = new c.b();
            this.a.w(b, d);
            var f = new c.b();
            this.a.w(a, f);
            return d.compare(f);
          };

          return g;
        }();

        c.uh = n;
      })(r || (r = {}));

      (function (c) {
        var n = new c.b(),
            g = function () {
          function a(a, b, e, h, l) {
            this.Cn = new c.b();
            this.fl = new c.b();
            this.oj = new c.b();
            this.a = a;
            this.px = e;
            this.ap = h;
            this.Cn = b;
            this.dm = l;
            this.fl.$c();
            this.oj.$c();
          }

          a.prototype.HF = function (a) {
            this.a.w(a, this.fl);
            a = c.J.truncate((this.fl.x - this.Cn.x) * this.ap + .5);
            var f = c.J.truncate((this.fl.y - this.Cn.y) * this.ap + .5);
            return b.vH(a, f);
          };

          a.prototype.Wz = function (a) {
            return this.a.Sa(a, this.dm);
          };

          a.prototype.zz = function (a, f) {
            this.a.w(a, this.fl);
            this.a.w(f, this.oj);
            return b.pw(this.fl.x, this.fl.y, this.oj.x, this.oj.y, this.px);
          };

          return a;
        }();

        c.EZ = function () {
          return function () {};
        }();

        var b = function () {
          function a() {
            this.Cn = new c.b();
            this.er = [0, 0, 0, 0];
            this.tt = [0, 0, 0, 0];
            this.ep = this.dm = -1;
          }

          a.cS = function (d, b) {
            var e = new a();
            e.a = d;
            e.ta = b;
            e.px = b * b;
            e.Nw = 2 * b;
            e.ap = 1 / e.Nw;
            return e.FQ();
          };

          a.pw = function (a, b, e, c, l) {
            a -= e;
            b -= c;
            return a * a + b * b <= l;
          };

          a.vH = function (a, b) {
            return c.J.dh(b, c.J.dh(a));
          };

          a.prototype.HQ = function (d, b) {
            this.a.Nc(d, n);

            for (var e = (n.y - this.Cn.y) * this.ap, h = c.J.truncate((n.x - this.Cn.x) * this.ap), l = c.J.truncate(e), k = e = 0; 1 >= k; k += 1) for (var m = 0; 1 >= m; m += 1) {
              var g = a.vH(h + k, l + m),
                  p = this.cm.iT(g);
              -1 != p && (this.er[e] = p, this.tt[e] = g, e++);
            }

            for (h = e - 1; 1 <= h; h--) for (p = this.er[h], l = h - 1; 0 <= l; l--) if (p == this.er[l]) {
              this.tt[l] = -1;
              e--;
              h != e && (this.tt[h] = this.tt[e], this.er[h] = this.er[e]);
              break;
            }

            for (l = 0; l < e; l++) this.IQ(d, this.tt[l], n, this.er[l], b);
          };

          a.prototype.IQ = function (d, b, e, h, l) {
            for (var k = new c.b(); -1 != h; h = this.cm.yT(h)) {
              var m = this.cm.ja(h);
              d == m || -1 != b && this.a.Sa(m, this.dm) != b || (this.a.Nc(m, k), a.pw(e.x, e.y, k.x, k.y, this.px) && l.add(h));
            }
          };

          a.prototype.Ln = function (a, b, e) {
            var c = this.a.Sa(a, this.ep),
                l = this.a.Sa(b, this.ep);
            -1 == c && (c = this.Od.mi(), this.Od.addElement(c, a), this.a.Va(a, this.ep, c));
            -1 == l ? this.Od.addElement(c, b) : this.Od.mz(c, l);
            this.a.Va(b, this.ep, -2);
            b = this.XV(a, b);
            e && (e = this.Yw.HF(a), this.a.Va(a, this.dm, e));
            return b;
          };

          a.WV = function (d, b, e) {
            d.Eb(b);
            e = d;
            var h = new c.b();
            a.GX(d.w(), b.w(), h);
            e.rb(h);
          };

          a.GX = function (a, b, e) {
            var c = a.x;
            a.x != b.x && (c = (1 * a.x + 1 * b.x) / 2);
            var l = a.y;
            a.y != b.y && (l = (1 * a.y + 1 * b.y) / 2);
            e.ka(c, l);
          };

          a.prototype.XV = function (a, b) {
            var e = new c.b();
            this.a.w(a, e);
            var h = new c.b();
            this.a.w(b, h);
            var l = this.a.oH(a),
                k = this.a.oH(b),
                m = l + k,
                g = 0,
                p = e.x;
            e.x != h.x && (p = (e.x * l + h.x * k) / m, g++);
            var q = e.y;
            e.y != h.y && (q = (e.y * l + h.y * k) / m, g++);
            0 < g && this.a.rb(a, p, q);
            this.a.rY(a, m);
            return 0 != g;
          };

          a.prototype.FQ = function () {
            var a = this.a.vd,
                b = this.a.TG();
            this.Cn = b.Zz();
            b = Math.max(b.fa(), b.N()) / 2147483646;
            this.Nw < b && (this.Nw = b, this.ap = 1 / this.Nw);
            this.Od = new c.Lu();
            this.Od.pu(c.J.truncate(this.a.vd / 3 + 1));
            this.Od.Vn(c.J.truncate(this.a.vd / 3 + 1));
            this.dm = this.a.Vd();
            this.ep = this.a.Vd();
            this.Yw = new g(this.a, this.Cn, this.px, this.ap, this.dm);
            this.cm = new c.FM(c.J.truncate(4 * a / 3), this.Yw);
            this.cm.yX(this.a.vd);
            a = !1;

            for (b = this.a.sd; -1 != b; b = this.a.Ue(b)) for (var e = this.a.Pb(b); -1 != e; e = this.a.Sb(e)) for (var h = this.a.cb(e), l = 0, k = this.a.La(e); l < k; l++) {
              var m = this.Yw.HF(h);
              this.a.Va(h, this.dm, m);
              this.cm.addElement(h, m);
              h = this.a.U(h);
            }

            var w = new c.ia(0);
            w.yb(10);

            for (b = this.a.sd; -1 != b; b = this.a.Ue(b)) for (e = this.a.Pb(b); -1 != e; e = this.a.Sb(e)) for (h = this.a.cb(e), l = 0, k = this.a.La(e); l < k; l++) {
              if (-2 != this.a.Sa(h, this.ep)) for (m = this.a.Sa(h, this.dm), this.cm.kd(h, m);;) {
                this.HQ(h, w);
                if (0 == w.size) break;

                for (var m = !1, p = 0, q = w.size; p < q; p++) {
                  var t = w.get(p),
                      u = this.cm.ja(t);
                  this.cm.Kd(t);
                  m = this.Ln(h, u, p + 1 == q) || m;
                }

                a = a || m;
                w.clear(!1);
                if (!m) break;
              }
              h = this.a.U(h);
            }

            a && this.yP();
            this.Yw = this.cm = null;
            this.a.le(this.dm);
            this.a.le(this.ep);
            return a;
          };

          a.prototype.yP = function () {
            for (var a = new c.b(), b = this.Od.Ge; -1 != b; b = this.Od.cA(b)) {
              var e = this.Od.xc(b);
              this.a.w(this.Od.ja(e), a);

              for (e = this.Od.nb(e); -1 != e; e = this.Od.nb(e)) this.a.Qf(this.Od.ja(e), a);
            }
          };

          return a;
        }();

        c.Iu = b;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            void 0 === b && (b = null);
            this.Oe = null;
            this.xa = !1;
            null === b ? this.Oe = [] : this.Oe = b;
          }

          g.prototype.copyTo = function (b) {
            if (b.xa) throw c.g.X("CompositeGeographicTransformation is read-only");

            for (var a = 0; a < this.Oe.length; a++) b.Oe.push(this.Oe[a].Vf());
          };

          g.prototype.count = function () {
            return this.Oe.length;
          };

          g.prototype.kT = function (b) {
            return this.Oe[b];
          };

          g.prototype.add = function (b) {
            if (this.xa) throw c.g.X("CompositeGeographicTransformation is read-only");
            this.Oe.push(b.Vf());
          };

          g.prototype.clear = function () {
            if (this.xa) throw c.g.X("CompositeGeographicTransformation is read-only");
            this.Oe.length = 0;
          };

          g.prototype.remove = function (b) {
            if (this.xa) throw c.g.X("CompositeGeographicTransformation is read-only");
            this.Oe.splice(b, 1);
          };

          g.prototype.Wv = function () {
            for (var b = this.oe(), a = 0; a < b.count(); a++) b.kT(a).kt();

            b.Oe = b.Oe.reverse();
            return b;
          };

          g.prototype.oe = function () {
            var b = new g();
            this.copyTo(b);
            return b;
          };

          g.prototype.Vf = function () {
            return this.oe();
          };

          g.prototype.transform = function (b, a, d, f) {
            if (b.length < a) throw c.g.X("invalid Argument");
            var e = d;

            for (d = 0; d < this.Oe.length; d++) {
              var h = this.Oe[d];

              if (null != h.cn()) {
                var l = h.nn,
                    k = l ? 1 : 0,
                    m = l ? h.cn().getGeogcs2() : h.cn().getGeogcs1(),
                    m = m.getUnit().getUnitFactor(),
                    m = e / m;
                if (3.552713678800501E-15 < Math.abs(m - 1)) for (e = 0; e < a; e++) b[e][0] *= m, b[e][1] *= m;
                c.QD.geogToGeog(h.cn(), a, b, null, k);
                e = (l ? h.cn().getGeogcs1() : h.cn().getGeogcs2()).getUnit().getUnitFactor();
              }
            }

            m = e / f;
            if (3.552713678800501E-15 < Math.abs(m - 1)) for (e = 0; e < a; e++) b[e][0] *= m, b[e][1] *= m;
            return a;
          };

          g.prototype.getName = function () {
            if (0 == this.Oe.length) return "";

            for (var b = "", a = 0, d = this.Oe.length; a < d; ++a) "" !== b && (b += " + "), b += this.Oe[a].getName();

            return b;
          };

          g.prototype.Eb = function (b) {
            if (b == this) return !0;
            if (!(b instanceof g) || this.Oe.length != b.Oe.length) return !1;

            for (var a = 0; a < this.Oe.length; a++) if (!this.Oe[a].Eb(b.Oe[a])) return !1;

            return !0;
          };

          g.prototype.Mp = function () {
            this.xa = !0;
          };

          g.prototype.toString = function () {
            var b = toString();
            return 200 < b.length ? b.substring(0, 197) + "... (" + b.length.toString() + " characters)" : b;
          };

          g.create = function () {
            return new g();
          };

          g.aq = function (b, a) {
            var d = new g();
            d.add(c.io.create(b, a));
            return d;
          };

          g.bq = function (b, a) {
            var d = new g();
            d.add(c.io.gG(b, a));
            return d;
          };

          return g;
        }();

        c.ny = n;
      })(r || (r = {}));

      (function (c) {
        var n = Math.PI,
            g = 2 * Math.PI,
            b = Math.PI / 2,
            a = function () {
          function a() {}

          a.XQ = function (d, b) {
            var f = new a();
            f.x = d;
            f.y = b;
            f.type = 0;
            f.ui = 0;
            return f;
          };

          a.El = function (d) {
            var b = new a();
            b.x = d.x;
            b.y = d.y;
            b.type = 0;
            b.ui = 0;
            return b;
          };

          a.WQ = function (d) {
            var b = new a();
            b.x = d.x;
            b.y = d.y;
            b.type = d.type;
            b.ui = d.ui;
            return b;
          };

          a.ce = function (d, b, f) {
            var c = new a();
            c.x = d.x + b * Math.cos(f);
            c.y = d.y + b * Math.sin(f);
            c.type = d.type;
            c.ui = d.ui;
            return c;
          };

          a.Dv = function (d, b) {
            var f = new a();
            f.x = .5 * (d.x + b.x);
            f.y = .5 * (d.y + b.y);
            f.type = d.type;
            f.ui = d.ui;
            return f;
          };

          a.$F = function (d, b) {
            var f = new a();
            f.x = d.x + .001 * (b.x - d.x);
            f.y = d.y + .001 * (b.y - d.y);
            f.type = d.type;
            f.ui = d.ui;
            return f;
          };

          return a;
        }(),
            d = function () {
          return function () {};
        }();

        (function (a) {
          a[a.Round = 0] = "Round";
          a[a.Bevel = 1] = "Bevel";
          a[a.Miter = 2] = "Miter";
          a[a.Square = 3] = "Square";
        })(c.KM || (c.KM = {}));

        var f = function () {
          function f(a) {
            this.tB = this.$b = this.Sg = null;
            this.ke = a;
          }

          f.V = function (a, d, b, m, g, p) {
            if (null == a) throw c.g.F();
            if (1 > a.tb()) throw c.g.F();
            if (0 == d || a.u()) return a;
            p = new f(p);
            p.Yo = a;
            p.Qa = d;
            p.ta = g;
            p.jj = b;
            p.jB = m;
            return p.Ay();
          };

          f.prototype.AO = function () {
            var a = this.Yo,
                d = a.ec(),
                b = a.Cc(),
                f = new c.b();
            f.zc(b, d);
            f.normalize();
            f.uw();
            f.scale(this.Qa);
            d.add(f);
            b.add(f);
            f = a.Ka();
            a.Mc(d);
            a.Zc(b);
            return f;
          };

          f.prototype.zO = function () {
            var a = this.Yo;

            if (0 < this.Qa && 2 != this.jj) {
              var d = new c.Ja();
              d.jd(a, !1);
              this.Yo = d;
              return this.Ay();
            }

            a = new c.ci(a.R);
            a.O(this.Qa, this.Qa);
            return a;
          };

          f.prototype.kK = function (a, d, b, f) {
            return (d.x - a.x) * (f.x - b.x) + (d.y - a.y) * (f.y - b.y);
          };

          f.prototype.pc = function (d, f) {
            if (void 0 === f) this.$b.push(d), this.Kf++;else if (0 == this.Kf) this.pc(d);else {
              var e = this.qx,
                  c,
                  g;
              c = this.Sg[0 == f ? e - 1 : f - 1];
              g = this.Sg[f];
              var p = this.kK(c, g, this.$b[this.Kf - 1], d);
              0 < p ? this.pc(d) : 0 > p && (0 < this.kK(c, g, g, this.$b[this.Kf - 1]) ? (g = this.Sg[0 == f ? e - 2 : 1 == f ? e - 1 : f - 2], e = a.ce(c, this.Qa, Math.atan2(c.y - g.y, c.x - g.x) - b), this.$b[this.Kf - 1] = e, 1 == this.jj || 2 == this.jj ? (e = a.Dv(e, c), this.pc(e), e = a.ce(c, this.Qa, this.ww + b), c = a.Dv(e, c), c.type |= 256, this.pc(c)) : (e = a.ce(c, this.Qa, this.ww + b), e.type |= 256), this.pc(e), this.pc(d, f)) : (e = a.ce(g, this.Qa, this.ww + b), this.pc(e), 1 == this.jj || 2 == this.jj ? (e = a.Dv(e, g), this.pc(e), e = a.ce(g, this.Qa, this.KA - b), c = a.Dv(e, g), c.type |= 256, this.pc(c)) : (e = a.ce(g, this.Qa, this.KA - b), e.type |= 256), this.pc(e)));
            }
          };

          f.prototype.AF = function () {
            var d,
                f,
                e,
                m,
                w,
                p,
                q = this.qx;
            this.Kf = 0;
            var t = .5 * this.ta,
                u = 0,
                z = 0;

            for (d = 0; d < q; d++) {
              m = this.Sg[d];
              w = 0 == d ? this.Sg[q - 1] : this.Sg[d - 1];
              p = d == q - 1 ? this.Sg[0] : this.Sg[d + 1];
              var v = w.x - m.x,
                  x = w.y - m.y,
                  r = p.x - m.x,
                  y = p.y - m.y;
              f = Math.atan2(x, v);
              e = Math.atan2(y, r);
              this.ww = f;
              this.KA = e;
              0 == d && (u = f, z = e);
              v = v * y - r * x;
              x = e;
              e < f && (e += g);
              if (0 < v * this.Qa) 1 == this.jj || 2 == this.jj ? (f = a.ce(m, this.Qa, f + b), this.pc(f), f = a.$F(m, f), this.pc(f), f = a.ce(m, this.Qa, e - b), m = a.$F(m, f), m.type |= 256, this.pc(m), this.pc(f)) : (v = .5 * (e - f), v = this.Qa / Math.abs(Math.sin(v)), f = a.ce(m, v, .5 * (f + e)), this.pc(f, d));else if (0 != (m.type & 512)) {
                v = 1 - t / Math.abs(this.Qa);
                w = 1;
                p = 0 > this.Qa ? -n : n;
                -1 < v && 1 > v && (x = 2 * Math.acos(v), .017453292519943295 > x && (x = .017453292519943295), w = c.J.truncate(n / x + 1.5), 1 < w && (p /= w));
                x = f + b;
                f = a.ce(m, this.Qa, x);
                0 == d && (f.type |= 1024);
                this.pc(f, d);
                v = this.Qa / Math.cos(p / 2);
                x += p / 2;
                f = a.ce(m, v, x);
                f.type |= 1024;

                for (this.pc(f); 0 < --w;) x += p, f = a.ce(m, v, x), f.type |= 1024, this.pc(f);

                f = a.ce(m, this.Qa, e - b);
                f.type |= 1024;
                this.pc(f);
              } else if (1 == this.jj) f = a.ce(m, this.Qa, f + b), this.pc(f, d), f = a.ce(m, this.Qa, e - b), this.pc(f);else if (0 == this.jj) for (v = 1 - t / Math.abs(this.Qa), w = 1, p = e - b - (f + b), -1 < v && 1 > v && (x = 2 * Math.acos(v), .017453292519943295 > x && (x = .017453292519943295), w = c.J.truncate(Math.abs(p) / x + 1.5), 1 < w && (p /= w)), v = this.Qa / Math.cos(.5 * p), x = f + b + .5 * p, f = a.ce(m, v, x), this.pc(f, d); 0 < --w;) x += p, f = a.ce(m, v, x), this.pc(f);else 2 == this.jj ? (v = w.x - m.x, x = w.y - m.y, r = p.x - m.x, y = p.y - m.y, w = (v * r + x * y) / Math.sqrt(v * v + x * x) / Math.sqrt(r * r + y * y), .99999999 < w ? (f = a.ce(m, 1.4142135623730951 * this.Qa, e - .25 * n), this.pc(f, d), f = a.ce(m, 1.4142135623730951 * this.Qa, e + .25 * n), this.pc(f)) : (w = Math.abs(this.Qa / Math.sin(.5 * Math.acos(w))), p = Math.abs(this.jB * this.Qa), w > p ? (v = .5 * (e - f), v = this.Qa / Math.abs(Math.sin(v)), f = a.ce(m, v, .5 * (f + e)), e = c.b.pa(f.x, f.y), f = c.b.pa(m.x, m.y), m = new c.b(), m.zc(e, f), e = new c.b(), e.FX(p / m.length(), m, f), f = (w - p) * Math.abs(this.Qa) / Math.sqrt(w * w - this.Qa * this.Qa), 0 < this.Qa ? m.uw() : m.Ur(), m.scale(f / m.length()), f = new c.b(), f.add(e, m), w = new c.b(), w.zc(e, m), f = a.El(f), this.pc(f, d), f = a.El(w), this.pc(f)) : (v = .5 * (e - f), v = this.Qa / Math.abs(Math.sin(v)), f = a.ce(m, v, .5 * (f + e)), this.pc(f, d)))) : (e = x, 0 < this.Qa ? (e > f && (e -= g), w = f - e < b) : (e < f && (e += g), w = e - f < b), w ? (v = 1.4142135623730951 * this.Qa, x = 0 > v ? f + .25 * n : f + .75 * n, f = a.ce(m, v, x), this.pc(f, d), x = 0 > v ? e - .25 * n : e - .75 * n, f = a.ce(m, v, x), this.pc(f)) : (v = .5 * (e - f), v = this.Qa / Math.abs(Math.sin(v)), e < f && (e += g), f = a.ce(m, v, (f + e) / 2), this.pc(f, d)));
            }

            this.ww = u;
            this.KA = z;
            this.pc(this.$b[0], 0);
            m = a.WQ(this.$b[this.Kf - 1]);
            this.$b[0] = m;
            return this.uX();
          };

          f.prototype.kv = function (a, d) {
            if (!(2 > d)) for (var b = 0; b < d; b++) {
              var f = this.$b[a + b];
              0 != b ? this.tB.aj(c.b.pa(f.x, f.y)) : this.tB.zu(c.b.pa(f.x, f.y));
            }
          };

          f.prototype.BO = function (d, b, f) {
            var e = d.wa(b),
                c = d.Gc(b);
            this.$b = [];
            this.tB = f;

            if (d.Qb(b)) {
              for (b = d.Ba(e); d.Ba(c - 1).ub(b);) c--;

              if (2 <= c - e) {
                this.qx = c - e;
                this.Sg = [];

                for (b = e; b < c; b++) this.Sg.push(a.El(d.Ba(b)));

                this.AF() && this.kv(0, this.Kf - 1);
              }
            } else {
              for (b = d.Ba(e); e < c && d.Ba(e + 1).ub(b);) e++;

              for (b = d.Ba(c - 1); e < c && d.Ba(c - 2).ub(b);) c--;

              if (2 <= c - e) {
                this.qx = 2 * (c - e) - 2;
                this.Sg = [];
                f = a.El(d.Ba(e));
                f.type |= 1536;
                this.Sg.push(f);

                for (b = e + 1; b < c - 1; b++) f = a.El(d.Ba(b)), this.Sg.push(f);

                f = a.El(d.Ba(c - 1));
                f.type |= 512;
                this.Sg.push(f);

                for (b = c - 2; b >= e + 1; b--) f = a.El(d.Ba(b)), f.type |= 1024, this.Sg.push(f);

                if (this.AF()) if (2 <= this.$b.length) {
                  d = -1;
                  (c = 0 != (this.$b[this.Kf - 1].type & 1024)) || (d = 0);

                  for (b = 1; b < this.Kf; b++) e = 0 != (this.$b[b].type & 1024), e ? c || (c = b - 1, 1 < c - d + 1 && this.kv(d, c - d + 1)) : c && (d = b - 1), c = e;

                  c || (c = this.Kf - 1, 1 < c - d + 1 && this.kv(d, c - d + 1));
                } else d = 0, c = this.Kf - 1, 0 <= d && 1 <= c - d && this.kv(d, c - d + 1);
              }
            }

            this.Sg = null;
            this.qx = 0;
            this.$b = null;
            this.Kf = 0;
          };

          f.prototype.uX = function () {
            for (var a = !1, d = 0; d < this.Kf; d++) {
              var b = this.$b[d];
              b.Nh = d + 1;
              b.Qh = d - 1;
              this.$b[d] = b;
            }

            b = this.$b[0];
            b.Qh = this.Kf - 2;
            this.$b[0] = b;
            b = this.$b[this.Kf - 2];
            b.Nh = 0;
            this.$b[this.Kf - 2] = b;

            for (d = b = 0; d < this.Kf; d++) if (0 != (this.$b[b].type & 256)) {
              var f = this.DR(b);
              if (-1 != f) b = f;else {
                a = !0;
                break;
              }
            } else b = this.$b[b].Nh;

            if (a) return !1;
            this.UQ(b);
            return !0;
          };

          f.prototype.DR = function (a) {
            for (var d = this.Kf - 1, b = a, f, e, c = 1; c <= d - 2; c++) {
              f = b = this.$b[b].Nh;
              e = a;

              for (var g = 1; g <= c; g++) {
                e = this.$b[e].Qh;

                if (0 == (this.$b[e].type & 256) && 0 == (this.$b[f].type & 256)) {
                  var t = this.bU(e, f);
                  if (-1 != t) return t;
                }

                f = this.$b[f].Qh;
              }
            }

            return -1;
          };

          f.prototype.bU = function (a, b) {
            var f, e, g, p;
            f = this.$b[this.$b[a].Qh];
            e = this.$b[a];
            g = this.$b[this.$b[b].Qh];
            p = this.$b[b];
            if (!this.JX(f, e, g, p)) return -1;
            var q = new d();
            return this.qS(f, e, g, p, q) && !q.pF && c.J.SK((e.x - f.x) * (p.y - g.y) - (e.y - f.y) * (p.x - g.x)) != c.J.SK(this.Qa) ? (f = this.$b[a].Qh, q.Pn.type = e.type, q.Pn.Nh = b, q.Pn.Qh = f, this.$b[a] = q.Pn, q.Pn = this.$b[b], q.Pn.Qh = a, this.$b[b] = q.Pn, b) : -1;
          };

          f.prototype.JX = function (a, d, b, f) {
            return Math.max(a.x, d.x) >= Math.min(b.x, f.x) && Math.max(b.x, f.x) >= Math.min(a.x, d.x) && Math.max(a.y, d.y) >= Math.min(b.y, f.y) && Math.max(b.y, f.y) >= Math.min(a.y, d.y);
          };

          f.prototype.qS = function (d, b, f, e, c) {
            c.pF = !1;
            var g, q, t;
            g = (b.y - d.y) * (e.x - f.x) - (b.x - d.x) * (e.y - f.y);
            q = (f.y - d.y) * (b.x - d.x) - (f.x - d.x) * (b.y - d.y);
            g = 0 == g ? 2 : q / g;
            return 0 <= g && 1 >= g && (t = g, g = (e.y - f.y) * (b.x - d.x) - (e.x - f.x) * (b.y - d.y), q = (d.y - f.y) * (e.x - f.x) - (d.x - f.x) * (e.y - f.y), g = 0 == g ? 2 : q / g, 0 <= g && 1 >= g) ? (c.Pn = a.XQ(d.x + g * (b.x - d.x), d.y + g * (b.y - d.y)), c.Pn.ui = f.ui + t * (e.ui - f.ui), 0 != t && 1 != t || 0 != g && 1 != g || (c.pF = !0), c.N_ = g, c.O_ = t, (0 == t || 1 == t) && 0 < g && 1 > g || (0 == g || 1 == g) && 0 < t && 1 > t ? !1 : !0) : !1;
          };

          f.prototype.UQ = function (a) {
            for (; this.$b[a].Qh < a;) a = this.$b[a].Qh;

            var d = 0,
                b = a;

            do b = this.$b[b], this.$b[d] = b, b = b.Nh, d++; while (b != a);

            this.$b[d] = this.$b[0];
            this.Kf = d + 1;
          };

          f.prototype.wE = function (a) {
            var d = this.Yo,
                b = d.Fa();

            if (null != b) {
              b.yj();

              for (var f = -1; b.Ya();) f++, this.BO(d, f, a);
            }
          };

          f.prototype.Ay = function () {
            var a = this.Yo.G();
            return 322 == a ? this.AO() : 197 == a ? this.zO() : c.T.Oc(a) ? (a = new c.Ua(), a.dc(this.Yo, !0), this.Yo = a, this.Ay()) : 1607 == a ? (a = new c.Ua(), this.wE(a), a) : 1736 == a ? (a = new c.Ja(), this.wE(a), a) : null;
          };

          return f;
        }();

        c.UL = f;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a(d) {
            this.Sk = d;
          }

          a.prototype.w = function (a, d) {
            this.Sk.a.w(a, d);
          };

          a.prototype.Kd = function (a) {
            var d = this.Sk.Na.ja(a);
            this.Sk.Na.Kd(a, -1);
            this.Sk.a.ud(d, !1);
          };

          return a;
        }(),
            g = function () {
          function a(d) {
            this.Sk = d;
          }

          a.prototype.w = function (a, d) {
            this.Sk.HV.w(a, d);
          };

          a.prototype.Kd = function (a) {
            this.Sk.Na.Kd(a, -1);
          };

          return a;
        }(),
            b = function () {
          function a(d) {
            this.Sk = d;
          }

          a.prototype.w = function (a, d) {
            d.L(this.Sk.KV[a]);
          };

          a.prototype.Kd = function (a) {
            this.Sk.Na.Kd(a, -1);
          };

          return a;
        }(),
            a = function () {
          function a(d) {
            void 0 === d ? (this.Na = new c.uk(), this.Na.Qe(20), this.a = new c.fd(), this.yV = this.a.bh(550), this.Nt = this.a.Yf(this.yV, -1), this.wi = new n(this)) : d instanceof Array ? (this.Na = new c.uk(), this.Na.Qe(20), this.KV = d, this.wi = new b(this)) : (this.Na = new c.uk(), this.Na.Qe(20), this.HV = d, this.wi = new g(this));
          }

          a.prototype.Jb = function (a) {
            var d = a.G();
            if (c.Mu.gh(d)) this.iP(a);else if (c.xl.Oc(d)) this.pP(a);else if (197 == d) this.fP(a);else if (33 == d) this.mP(a);else throw c.g.F("invalid shape type");
          };

          a.prototype.VS = function () {
            var a = new c.Wa(),
                d = this.Na.xc(-1),
                b = new c.Ja(this.a.Hr);
            this.a.wj(this.Na.ja(d), a);
            b.Rf(a);

            for (d = this.Na.nb(d); -1 != d; d = this.Na.nb(d)) this.a.wj(this.Na.ja(d), a), b.lineTo(a);

            return b;
          };

          a.VQ = function (b) {
            var e = new a(b),
                h = b.D(),
                l = 1,
                k = new c.b(),
                m = new c.b(),
                g = new c.b();

            for (b.w(0, k);;) {
              b.w(l, m);
              if (!(m.xA(k) && l < h - 1)) break;
              l++;
            }

            e.Na.addElement(0, -1);
            e.Na.ro(l);

            for (h = l + 1; h < b.D(); h++) b.w(h, g), l = e.PC(g), -1 != l && e.Na.kk(l, h);

            g = new c.Wa();
            l = e.Na.xc(-1);
            h = new c.Ja(b.description);
            b.Ae(e.Na.ja(l), g);
            h.Rf(g);

            for (l = e.Na.nb(l); -1 != l; l = e.Na.nb(l)) b.Ae(e.Na.ja(l), g), h.lineTo(g);

            return h;
          };

          a.pa = function (b, e, c) {
            for (var l = new a(b), k = 1, m = b[0]; b[k].xA(m) && k < e - 1;) k++;

            l.Na.addElement(0, -1);
            l.Na.ro(k);

            for (k += 1; k < e; k++) m = l.PC(b[k]), -1 != m && l.Na.kk(m, k);

            b = 0;

            for (e = l.Na.xc(-1); -1 != e; e = l.Na.nb(e)) c[b++] = l.Na.ja(e);

            return b;
          };

          a.VH = function (b, e) {
            var h = b.wa(e),
                l = b.Gc(e),
                k = !b.Qb(e) && b.Eo(e),
                m = b.Pa(0),
                h = 2 * h,
                l = 2 * l;
            k && (l -= 2);
            if (6 > l - h) return !0;
            var k = new c.b(),
                g = new c.b(),
                p = new c.b();
            m.fc(h, k);
            m.fc(h + 2, g);
            m.fc(h + 4, p);
            var q = a.fe(g, p, k);
            if (q.lt() || !a.tc(q.value())) return !1;

            for (var t = c.b.pa(g.x, g.y), u = new c.b(), h = h + 6; h < l; h += 2) {
              u.L(g);
              g.L(p);
              m.fc(h, p);
              q = a.fe(g, p, k);
              if (q.lt() || !a.tc(q.value())) return !1;
              q = a.fe(t, p, k);
              if (q.lt() || !a.tc(q.value())) return !1;
              q = a.fe(g, p, u);
              if (q.lt() || !a.tc(q.value())) return !1;
            }

            return !0;
          };

          a.prototype.iP = function (a) {
            for (var d = new c.Wa(), b = new c.b(), l = 0; l < a.D(); l++) {
              a.w(l, b);
              var k = this.As(b);

              if (-1 != k) {
                a.Ae(l, d);
                var m = this.a.pc(this.Nt, d);
                this.Na.kk(k, m);
              }
            }
          };

          a.prototype.fP = function (a) {
            for (var d = new c.Wa(), b = new c.b(), l = 0; 4 > l; l++) {
              a.Gx(l, b);
              var k = this.As(b);

              if (-1 != k) {
                a.ig(l, d);
                var m = this.a.pc(this.Nt, d);
                this.Na.kk(k, m);
              }
            }
          };

          a.prototype.pP = function (a) {
            var d = new c.Wa(),
                b = a.ec(),
                b = this.As(b);

            if (-1 != b) {
              a.Dp(d);
              var l = this.a.pc(this.Nt, d);
              this.Na.kk(b, l);
            }

            b = a.Cc();
            b = this.As(b);
            -1 != b && (a.Bp(d), a = this.a.pc(this.Nt, d), this.Na.kk(b, a));
          };

          a.prototype.mP = function (a) {
            var d = a.w(),
                d = this.As(d);
            -1 != d && (a = this.a.pc(this.Nt, a), this.Na.kk(d, a));
          };

          a.prototype.As = function (a) {
            var d = -1;
            if (0 == this.Na.size(-1)) return d = this.Na.addElement(-4, -1);

            if (1 == this.Na.size(-1)) {
              var b = this.a.Ba(this.Na.ja(this.Na.xc(-1)));
              a.xA(b) || (d = this.Na.ro(-5));
              return d;
            }

            return d = this.PC(a);
          };

          a.prototype.PC = function (b) {
            var e = -1;

            do {
              var h = this.Na.xc(-1),
                  l = this.Na.Fc(-1),
                  k = this.Na.ja(h),
                  m = this.Na.ja(l),
                  g = new c.b(),
                  p = new c.b();
              this.wi.w(k, g);
              this.wi.w(m, p);
              k = c.b.zp(p, b, g);
              if (a.tc(k)) e = this.Na.ro(-1), g = this.NC(b, l, h), g != h && this.OC(b, h, this.Na.Ve(g));else if (a.vl(k)) {
                for (var p = this.Na.fw(-1), q = this.Na.xc(-1), t = this.Na.Fc(-1), u, k = new c.b(), m = new c.b(); q != this.Na.Ve(t);) u = this.Na.ja(p), this.wi.w(u, k), u = c.b.zp(k, b, g), a.vl(u) ? (t = p, p = this.Na.Pl(p)) : (q = p, p = this.Na.Nq(p));

                p = t;
                g = q;
                u = this.Na.ja(p);
                q = this.Na.ja(g);
                this.wi.w(u, k);
                this.wi.w(q, m);
                if (g != h && (k = c.b.zp(m, b, k), !a.tc(k))) continue;
                e = this.Na.jv(g, p, -2, !1);
                this.OC(b, p, l);
                this.NC(b, g, h);
              } else null == this.wb && (this.wb = new c.Hb()), this.wb.Mc(p), this.wb.Zc(g), g = this.wb.pe(b, !0), 0 > g ? (g = this.Na.Ve(l), this.Na.Kd(l, -1), e = this.Na.ro(-3), this.NC(b, g, h)) : 1 < g && (g = this.Na.nb(h), this.Na.Kd(h, -1), e = this.Na.jv(-1, g, -3, !1), this.OC(b, g, l));
            } while (0);

            return e;
          };

          a.prototype.OC = function (b, e, h) {
            if (e != h) {
              var l = this.Na.ja(e),
                  k = this.Na.nb(e),
                  m = new c.b(),
                  g = new c.b();

              for (this.wi.w(l, m); e != h && 2 < this.Na.size(-1);) {
                this.wi.w(this.Na.ja(k), g);
                l = c.b.zp(g, b, m);
                if (a.tc(l)) break;
                l = e;
                e = k;
                m.L(g);
                k = this.Na.nb(e);
                this.wi.Kd(l);
              }
            }
          };

          a.prototype.NC = function (b, e, h) {
            if (e == h) return h;
            var l = this.Na.ja(e),
                k = this.Na.Ve(e),
                m = new c.b(),
                g = new c.b();

            for (this.wi.w(l, m); e != h && 2 < this.Na.size(-1);) {
              this.wi.w(this.Na.ja(k), g);
              l = c.b.zp(m, b, g);
              if (a.tc(l)) break;
              l = e;
              e = k;
              m.L(g);
              k = this.Na.Ve(e);
              this.wi.Kd(l);
            }

            return e;
          };

          a.fe = function (a, d, b) {
            var l = new c.Xb();
            l.set(d.x);
            l.sub(a.x);
            var k = new c.Xb();
            k.set(b.y);
            k.sub(a.y);
            var m = new c.Xb();
            m.set(d.y);
            m.sub(a.y);
            d = new c.Xb();
            d.set(b.x);
            d.sub(a.x);
            l.Vg(k);
            m.Vg(d);
            l.sub(m);
            return l;
          };

          a.tc = function (a) {
            return 0 > a;
          };

          a.vl = function (a) {
            return 0 < a;
          };

          a.hq = function (a) {
            return 0 == a;
          };

          return a;
        }();

        c.Ju = a;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            this.ke = this.a = null;
            this.FI = !0;
            this.ke = b;
          }

          g.yJ = function (b, a, d) {
            b = c.na.Cs(b);
            return c.Iu.pw(a.Be(), a.nf(), d.Be(), d.nf(), c.Ub.Yx(b));
          };

          g.GQ = function (b, a) {
            var d = new c.Wa();
            c.Iu.WV(b, a, d);
            return d;
          };

          g.V = function (b, a, d, f) {
            d = new g(d);
            d.a = b;
            d.ta = a;
            d.FI = f;
            return d.MO();
          };

          g.prototype.GO = function (b) {
            return c.Iu.cS(this.a, b);
          };

          g.prototype.JO = function (b) {
            return c.Ku.V(this.a, b, this.ke);
          };

          g.prototype.MO = function () {
            for (var b = this.ta, a = c.na.Cs(b), b = c.na.sP(b), d = 1.00001 * b, b = 1.000001 * b, f = !1, e = 30 < this.a.vd + 10 ? 1E3 : (this.a.vd + 10) * (this.a.vd + 10), h = 0, l = this.a.eU();; h++) {
              if (h > e) throw c.g.X("Internal Error: max number of iterations exceeded");
              var k = this.GO(a),
                  f = f || k;
              this.FI && (k = 0 != this.a.zq(a, !0, !1), f = f || k);
              k = !1;
              if (0 == h || l || c.Ku.tJ(!0, this.a, b, null, this.ke)) k = this.JO(d), f = f || k;
              if (!k) break;
            }

            return f;
          };

          return g;
        }();

        c.sk = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b(a) {
            this.we = this.Tc = null;
            this.kx = 0;
            this.lc = a;
            this.MA = !0;
          }

          b.prototype.gw = function (a, d) {
            var b = this.a.ic(a);

            if (null == b) {
              if (!this.a.pd(a, d)) return null;
              b = d;
            }

            return b;
          };

          b.prototype.Pr = function (a) {
            void 0 === a && (a = !1);
            this.kx++;
            if (a || 0 == (this.kx & 4095)) this.kx = 0;
          };

          b.prototype.nR = function () {
            var a = this.a.Qr(!1),
                d = !1,
                b = new c.Hb(),
                e = new c.Hb(),
                h = new c.h();
            h.Oa();
            var l = new c.h();
            l.Oa();

            for (var k = new c.Wa(), m = new c.eE(), g = a.next(); -1 != g; g = a.next()) {
              var p = null,
                  q = !1;

              if (!c.T.Jo(this.a.hc(a.Ck))) {
                p = this.gw(g, b);
                if (null == p) continue;
                p.s(h);
                h.O(this.ta, this.ta);
                if (p.fh(this.ta)) if (p.fh(0)) q = !0, p = null;else continue;
              }

              var t = this.a.Qr(a),
                  u = t.next();

              for (-1 != u && (u = t.next()); -1 != u; u = t.next()) {
                var n = null,
                    v = !1;

                if (!c.T.Jo(this.a.hc(t.Ck))) {
                  n = this.gw(u, e);
                  if (null == n) continue;
                  n.s(l);
                  if (n.fh(this.ta)) if (n.fh(0)) v = !0, n = null;else continue;
                }

                var r = 0,
                    B = 0;
                if (null != p && null != n) h.TH(l) && (m.Ap(p), m.Ap(n), m.Ma(this.ta, !1), r = m.Rl(0), B = m.Rl(1), 0 < r + B && (this.a.bs(g, m, 0, !0), this.a.bs(u, m, 1, !0)), m.clear());else if (null != p) {
                  var y = new c.b();
                  this.a.w(u, y);

                  if (h.contains(y)) {
                    m.Ap(p);
                    this.a.wj(u, k);
                    m.tA(this.ta, k, !1);
                    r = m.Rl(0);
                    if (0 < r) if (this.a.bs(g, m, 0, !0), v) {
                      v = -1;

                      for (y = this.a.U(u); -1 != y && y != u && (n = this.gw(y, e), v = y, null != n && n.fh(0)); y = this.a.U(y));

                      for (y = u; -1 != y && (this.a.Yh(y, m.cg), y != v); y = this.a.U(y));
                    } else this.a.Yh(u, m.cg);
                    m.clear();
                  }
                } else if (null != n) {
                  if (y = new c.b(), this.a.w(g, y), l.O(this.ta, this.ta), l.contains(y)) {
                    m.Ap(n);
                    this.a.wj(g, k);
                    m.tA(this.ta, k, !1);
                    B = m.Rl(0);
                    if (0 < B) if (this.a.bs(u, m, 0, !0), q) {
                      v = -1;

                      for (y = this.a.U(g); -1 != y && y != g && (n = this.gw(y, e), v = y, null != n && n.fh(0)); y = this.a.U(y));

                      for (y = g; -1 != y && (this.a.Yh(y, m.cg), y != v); y = this.a.U(y));
                    } else this.a.Yh(g, m.cg);
                    m.clear();
                  }
                } else continue;

                if (0 != r + B) {
                  if (0 != r) {
                    p = this.a.ic(g);

                    if (null == p) {
                      if (!this.a.pd(g, b)) continue;
                      p = b;
                      b.s(h);
                    } else p.s(h);

                    if (p.fh(this.ta)) break;
                  }

                  d = !0;
                }
              }
            }

            return d;
          };

          b.prototype.oR = function () {
            return this.EW();
          };

          b.prototype.EW = function () {
            return new c.XD().JY(this.a, this.ta);
          };

          b.prototype.uJ = function () {
            var a = !1,
                d,
                b;
            null == this.Tc && (this.Tc = new c.uk());
            var e = new c.ia(0);
            e.yb(this.a.vd + 1);

            for (var h = this.a.Qr(), l = h.next(); -1 != l; l = h.next()) e.add(l);

            this.a.Xx(e, e.size);
            e.add(-1);
            h = this.a.Vd();
            l = this.a.Vd();
            this.we = new c.gE(this.a, this.ta, !this.MA);
            this.Tc.Ep(this.we);
            var k = new c.ia(0),
                m = new c.ia(0),
                g = 0;
            new c.b();
            var p = this.a.Dd;
            this.a.xb.wc();

            for (var q = this.a.xb.ya[0].f, t, u, n = e.get(g++); -1 != n;) {
              u = p.S(n, 0);
              t = q[2 * u];
              u = q[2 * u + 1];
              var v = t,
                  r = u;

              do {
                var B = p.S(n, 2),
                    y = p.S(n, 1);
                -1 != B && (d = p.S(B, 0), b = q[2 * d], d = q[2 * d + 1], 0 > (r < d ? -1 : r > d ? 1 : v < b ? -1 : v > b ? 1 : 0) && (m.add(n), m.add(B)));
                -1 != y && (d = p.S(y, 0), b = q[2 * d], d = q[2 * d + 1], 0 > (r < d ? -1 : r > d ? 1 : v < b ? -1 : v > b ? 1 : 0) && (m.add(y), m.add(y)));
                b = this.a.Sa(n, h);
                -1 != b && (k.add(b), this.a.Va(n, h, -1));
                b = this.a.Sa(n, l);
                -1 != b && (k.add(b), this.a.Va(n, l, -1));
                n = e.get(g++);
                -1 !== n && (r = p.S(n, 0), v = q[2 * r], r = q[2 * r + 1]);
              } while (-1 != n && v === t && r === u);

              v = 1 == k.size && 2 == m.size;
              b = r = -1;
              B = 0;

              for (y = k.size; B < y; B++) {
                d = k.get(B);
                var A = this.Tc.Ve(d);
                -1 == A || k.oA(A) || (r = A);
                d = this.Tc.nb(d);
                -1 == d || k.oA(d) || (b = d);
                if (-1 != r && -1 != b) break;
              }

              this.we.QK(u, t);
              B = 0;

              for (y = k.size; B < y; B++) d = k.get(B), this.Tc.Kd(d, -1);

              k.clear(!1);

              if (!v && -1 != r && -1 != b && this.uQ(r, b)) {
                a = !0;
                this.mj = this.we.en();
                break;
              }

              B = 0;

              for (y = m.size; B < y; B += 2) {
                u = m.get(B);
                t = m.get(B + 1);
                v ? (u = this.Tc.jv(r, b, u, !0), v = !1) : u = this.Tc.addElement(u, -1);

                if (this.we.Ng) {
                  this.mj = this.we.en();
                  a = !0;
                  break;
                }

                -1 == this.a.Sa(t, h) ? this.a.Va(t, h, u) : this.a.Va(t, l, u);
              }

              if (a) break;
              m.yf(0);
            }

            this.a.le(h);
            this.a.le(l);
            return a;
          };

          b.prototype.uQ = function (a, d) {
            this.we.compare(this.Tc, this.Tc.ja(a), d);
            var b = this.we.Ng;
            this.we.Gs();
            return b;
          };

          b.Cj = function (a) {
            for (var d = a.sd; -1 != d; d = a.Ue(d)) if (c.T.Ic(a.hc(d))) return !0;

            return !1;
          };

          b.Gm = function (a, d, f, e) {
            if (!b.Cj(a)) return !1;
            d = new b(e);
            d.a = a;
            d.ta = f;
            if (15 > a.vd) a = d.nR();else return d.oR();
            return a;
          };

          b.V = function (a, d, f) {
            return b.Gm(a, a.TG(), d, f);
          };

          b.tJ = function (a, d, f, e, h) {
            if (!b.Cj(d)) return !1;
            var l = new b(h);
            l.a = d;
            l.ta = f;
            l.MA = a;
            if (l.uJ()) return null != e && e.ms(l.mj), !0;
            var k = new c.Hd();
            k.yC();
            d.Xc(k);
            l = new b(h);
            l.a = d;
            l.ta = f;
            l.MA = a;
            a = l.uJ();
            k.yC();
            d.Xc(k);
            return a ? (null != e && e.ms(l.mj), !0) : !1;
          };

          b.qm = function (a, d) {
            var b = a.D();
            return 16 > b ? !1 : 2 * b + Math.log(b) * Math.LOG10E / Math.log(2) * 1 * d < 1 * b * d;
          };

          b.lR = function (a, d, f, e) {
            if (c.T.Ic(d.G())) return new b(e).mR(a, d, f);
            throw c.g.X("crack_A_with_B");
          };

          b.prototype.mR = function (a, d, f) {
            var e = new c.h();
            a.ac(e);
            var h = new c.h();
            d.ac(h);
            h.O(f, f);
            if (!h.Yb(e)) return a;
            var l = a.ob,
                k = null;
            null != l && (k = l.Mb);
            b.qm(a, a.D()) && (k = c.na.Lj(a, h));
            var m = null != k ? k.mf() : null,
                w = d.Fa();
            d = a.Fa();

            for (var p = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], h = []; w.Ya();) for (; w.Ea();) {
              var q = w.ba();
              if (null != k) for (m.Wn(q, f), l = m.next(); -1 != l; l = m.next()) {
                if (this.Pr(), d.Tb(k.ja(l), -1), d.Ea()) for (var l = d.ba(), t = l.Ma(q, null, p, null, f), l = 0; l < t; ++l) {
                  var u = p[l];

                  if (0 != u && 1 != u) {
                    var n = d.Db(),
                        v = new g();
                    v.t = u;
                    v.index = n;
                    h.push(v);
                  }
                }
              } else {
                var r = new c.h();
                q.ac(r);
                r.O(f, f);
                if (e.Yb(r)) for (d.yj(); d.Ya();) for (; d.Ea();) if (this.Pr(), l = d.ba(), u = new c.h(), l.ac(u), u.Yb(r)) for (t = l.Ma(q, null, p, null, f), l = 0; l < t; ++l) u = p[l], 0 != u && 1 != u && (n = d.Db(), v = new g(), v.t = u, v.index = n, h.push(v));
              }
            }

            if (0 == h.length) return a;
            h = h.sort(g.Hs);
            a = a.Ka();

            for (d.yj(); d.Ya() && !d.Ea(););

            f = d.ba();
            e = new c.Cg();
            k = -1;
            l = 0;

            for (m = h.length; l < m;) {
              p = h[l].index;

              for (w = l + 1; w < m && h[w].index == p;) ++w;

              for (; d.Db() < p;) {
                this.Pr();
                q = d.Ea();
                u = d.Ta;
                (r = q || !d.Fo() || d.Go()) && a.dc(f, k != u);
                k = u;
                if (!q) for (; d.Ya() && !d.Ea(););
                f = d.ba();
              }

              for (p = 0; l < w; l++) u = h[l].t, u != p && (f.yh(p, u, e), p = u, u = d.Ta, a.dc(e.get(), k != u), k = u);

              if (r = (q = d.Ea()) || !d.Fo() || d.Go()) f.yh(p, 1, e), a.dc(e.get(), !1);
              if (q) f = d.ba();else {
                for (; d.Ya() && !d.Ea(););

                d.Ea() ? f = d.ba() : f = null;
              }
              l = w;
            }

            null != f && (u = d.Ta, (r = (q = d.Ea()) || !d.Fo() || d.Go()) && a.dc(f, k != u), k = u);

            for (q = d.Ea();;) {
              if (!q) {
                for (; d.Ya() && !(q = d.Ea()););

                if (!q) break;
              }

              f = d.ba();
              u = d.Ta;
              (r = (q = d.Ea()) || !d.Fo() || d.Go()) && a.dc(f, k != u);
              k = u;
            }

            return a;
          };

          return b;
        }();

        c.Ku = n;

        var g = function () {
          function b() {}

          b.Hs = function (a, d) {
            return a.index == d.index ? a.t > d.t ? 1 : a.t < d.t ? -1 : 0 : a.index > d.index ? 1 : -1;
          };

          return b;
        }();
      })(r || (r = {}));

      (function (c) {
        (function (a) {
          a[a.Left = 0] = "Left";
          a[a.Right = 1] = "Right";
          a[a.Coincident = 2] = "Coincident";
          a[a.Undefined = 3] = "Undefined";
          a[a.Uncut = 4] = "Uncut";
        })(c.WL || (c.WL = {}));

        var n = function () {
          return function (a, b, e, c, l, k, m, g, p, q, t) {
            this.Y = a;
            this.nx = b;
            this.It = e;
            this.Pg = c;
            this.yn = q;
            this.em = t;
          };
        }();

        c.GZ = n;

        var g = function () {
          function a(d, b) {
            this.YI = d;
            this.gj = b;
          }

          a.prototype.IO = function (a, d) {
            var b = new c.b();
            this.gj.w(a, b);
            var l = new c.b();
            this.gj.w(d, l);
            b = b.compare(l);
            if (0 != b) return b;
            b = this.gj.Sa(a, this.YI);
            l = this.gj.Sa(d, this.YI);
            return b < l ? -1 : b == l ? 0 : 1;
          };

          return a;
        }(),
            b = function () {
          return function (a, b, e, c, l, k, m, g, p) {
            this.Pg = a;
            this.It = b;
            this.uB = e;
            this.hJ = c;
            this.dj = l;
            this.em = k;
            this.yn = m;
            this.iJ = g;
            this.NV = p;
          };
        }();

        c.FZ = b;

        var a = function () {
          function a() {}

          a.VL = function (b, e, h, l, k, m) {
            if (e.u()) b = new n(e, 4, -1, -1, NaN, 4, -1, -1, NaN, -1, -1, NaN, -1, -1, NaN), k.push(b);else {
              var g = new c.fd();
              g.Jb(e);
              g.Jb(h);
              c.sk.V(g, l, m, !0);
              e = 0;
              h = g.Vd();

              for (l = g.sd; -1 != l; l = g.Ue(l)) for (m = g.Pb(l); -1 != m; m = g.Sb(m)) for (var p = g.cb(m), q = 0, t = g.La(m); q < t; p = g.U(p), q++) g.Va(p, h, e++);

              e = a.mM(h, g);
              a.uW(b, e, g, k);
            }
          };

          a.mM = function (b, e) {
            for (var h = e.vd, l = new c.ia(0), k = e.sd; -1 != k; k = e.Ue(k)) for (var m = e.Pb(k); -1 != m; m = e.Sb(m)) for (var w = e.cb(m), p = 0, q = e.La(m); p < q; w = e.U(w), p++) l.add(w);

            var t = new g(b, e);
            l.Gd(0, h, function (a, d) {
              return t.IO(a, d);
            });
            var u = [],
                n = [],
                v = e.Vd(),
                r = e.Vd(),
                k = e.sd,
                m = e.Ue(k),
                q = new c.b(),
                B = new c.b(),
                y = l.get(0),
                A = e.ld(y),
                C = e.ng(A);
            e.w(y, q);

            for (var D = 1, w = 0; D < h - 1;) {
              for (var E = !1, p = D; p < h; p++) if (p != w) {
                var F = l.get(p),
                    G = e.ld(F),
                    H = e.ng(G);
                e.w(F, B);
                if (q.ub(B)) C == k && H == m && (E = a.oZ(v, r, e, u, n, A, y, G, F));else break;
              }

              if (E || w == D - 1) {
                E && w == D - 1 && D--;
                if (++w == h) break;
                y = l.get(w);
                A = e.ld(y);
                C = e.ng(A);
                e.w(y, q);
              }

              E || (D = w + 1);
            }

            h = [];

            for (k = e.sd; -1 != k; k = e.Ue(k)) for (m = e.Pb(k); -1 != m; m = e.Sb(m)) for (l = e.cb(m), p = 0, q = e.La(m); p < q; l = e.U(l), p++) {
              w = e.Sa(l, r);
              if (0 <= w) for (; w < n.length && n[w].Pg == l;) h.push(n[w++]);
              w = e.Sa(l, v);
              if (0 <= w) for (; w < u.length && u[w].Pg == l;) h.push(u[w++]);
            }

            e.le(v);
            e.le(r);
            return h;
          };

          a.oZ = function (b, e, c, l, k, m, g, p, q) {
            var t = c.Rj(m),
                u = c.Rj(p),
                n = c.cb(m),
                v = c.cb(p),
                r = c.Ra(g),
                B = c.Ra(q),
                y = !1,
                A = !1,
                C = !1,
                D = !1;
            g != n && (q != v && (y = a.tZ(b, c, l, m, r, p, B)), q != u && (A = a.vZ(b, c, l, m, r, p, q)));
            g != t && (q != v && (C = a.xZ(e, c, k, m, g, p, B, n)), q != u && (D = a.HL(e, c, k, m, g, p, q, n)));
            y && A && C ? (b = l.length - 1, 2 == k[D ? k.length - 2 : k.length - 1].dj && (l[b - 1] = l[b], l.length = l.length - 1)) : y && A && D && 2 == k[k.length - 1].dj && (k = l[l.length - 1], l.length = l.length - 1, c.Sa(k.Pg, b) == l.length && c.Va(k.Pg, b, -1));
            return y || A || C || D;
          };

          a.tZ = function (a, d, h, l, k, m, g) {
            var p, q;
            q = new c.Hb();
            var t = new c.Hb(),
                u = [0, 0],
                n = [0, 0];
            p = d.ic(k);
            null == p && (d.pd(k, q), p = q);
            q = d.ic(g);
            null == q && (d.pd(g, t), q = t);
            p = p.Ma(q, null, u, n, 0);
            2 > p && (l = new b(k, l, u[0], NaN, p, g, m, n[0], NaN), h.push(l), l = d.Sa(k, a), 0 > l && d.Va(k, a, h.length - 1));
            return !0;
          };

          a.vZ = function (a, d, h, l, k, m, g) {
            var p, q;
            q = new c.Hb();
            var t = new c.Hb(),
                u = [0, 0],
                n = [0, 0];
            p = d.ic(k);
            null == p && (d.pd(k, q), p = q);
            q = d.ic(g);
            null == q && (d.pd(g, t), q = t);
            p = p.Ma(q, null, u, n, 0);
            return 2 > p ? (l = new b(k, l, u[0], NaN, p, g, m, n[0], NaN), h.push(l), l = d.Sa(k, a), 0 > l && d.Va(k, a, h.length - 1), !0) : !1;
          };

          a.xZ = function (a, d, h, l, k, m, g, p) {
            var q, t;
            t = new c.Hb();
            var u = new c.Hb(),
                n = [0, 0],
                v = [0, 0];
            q = d.ic(k);
            null == q && (d.pd(k, t), q = t);
            t = d.ic(g);
            null == t && (d.pd(g, u), t = u);
            q = q.Ma(t, null, n, v, 0);
            if (2 == q) return l = new b(k, l, n[0], n[1], q, g, m, v[0], v[1]), h.push(l), l = d.Sa(k, a), 0 > l && d.Va(k, a, h.length - 1), !0;
            u = !1;
            k == p && (l = new b(k, l, n[0], NaN, q, g, m, v[0], NaN), h.push(l), l = d.Sa(k, a), 0 > l && d.Va(k, a, h.length - 1), u = !0);
            return u;
          };

          a.HL = function (a, d, h, l, k, m, g, p) {
            var q, t;
            t = new c.Hb();
            var u = new c.Hb(),
                n = [0, 0],
                v = [0, 0];
            q = d.ic(k);
            null == q && (d.pd(k, t), q = t);
            t = d.ic(g);
            null == t && (d.pd(g, u), t = u);
            q = q.Ma(t, null, n, v, 0);
            if (2 == q) return l = new b(k, l, n[0], n[1], q, g, m, v[0], v[1]), h.push(l), l = d.Sa(k, a), 0 > l && d.Va(k, a, h.length - 1), !0;
            u = !1;
            k == p && (l = new b(k, l, n[0], NaN, q, g, m, v[0], NaN), h.push(l), l = d.Sa(k, a), 0 > l && d.Va(k, a, h.length - 1), u = !0);
            return u;
          };

          a.uW = function (b, e, h, l) {
            var k,
                m = [];
            m[0] = new c.b();
            m[1] = new c.b();
            m[2] = new c.b();
            m[3] = new c.b();
            var g = new c.b(),
                p = new c.b(),
                q = new c.b(),
                t = new c.b(),
                u = null;
            null != l && (u = new c.Cg(), u.Js());
            var z,
                v = 0,
                r = null,
                B = new c.Hb();
            new c.Hb();

            for (var y = h.Pb(h.sd); -1 != y; y = h.Sb(y)) {
              var A,
                  C = 4,
                  D = -1,
                  E,
                  F,
                  G,
                  H = -1,
                  I,
                  K,
                  S,
                  L,
                  J = -1,
                  R = -1,
                  M = NaN;
              A = !0;
              var O = !1,
                  N = !0,
                  Q = !0,
                  Z = !0,
                  T = 0;
              G = y;
              I = 0;

              for (var P = h.cb(y), X = h.La(y), ca = 0; ca < X; P = h.U(P), ca++) {
                z = h.ic(P);

                if (null == z) {
                  if (!h.pd(P, B)) continue;
                  z = B;
                }

                -1 == H && (H = P);

                for (var V = 0; v < e.length && P == e[v].Pg;) {
                  D = e[v].It;
                  E = e[v].Pg;
                  F = e[v].uB;
                  K = e[v].yn;
                  S = e[v].em;
                  L = e[v].iJ;

                  if (2 == e[v].dj) {
                    if (O || (G = D, H = E, I = F, J = K, R = S, M = L, C = 2, null != l ? r = new c.Ua() : T = 0, Z = !1, Q = !0), F = e[v].hJ, L = e[v].NV, null != l ? (z.yh(V, e[v].hJ, u), r.dc(u.get(), Q)) : T++, V = F, O = !0, Q = A = !1, v + 1 == e.length || 2 != e[v + 1].dj || e[v + 1].Pg == E && e[v + 1].uB != V) null != l ? (k = new n(r, 2, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T), G = D, H = E, I = F, J = K, R = S, M = L, C = 2, O = A = !1, Q = Z = !0;
                  } else {
                    var ba = h.U(E);
                    if (v < e.length - 1 && e[v + 1].Pg == ba && e[v + 1].em == S && 2 == e[v + 1].dj) F != V && (Z && (null != l ? r = new c.Ua() : T = 0), A = 0 < v && e[v - 1].It == D ? 1 == C ? 0 : 0 == C ? 1 : 3 : 3, null != l ? (z.yh(V, F, u), r.dc(u.get(), Q), k = new n(r, A, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : (T++, null.add(T)), V = F, G = D, H = E, I = F, J = K, R = S, M = L, C = A, A = N = !1, Q = Z = !0);else if (!a.bM(b, h, e, v, g, p)) {
                      a.NL(h, e, v, y, P, q, t);
                      var U = !1,
                          ba = !1;
                      k = !0;

                      if (!(g.ub(q) || p.ub(q) || g.ub(t) || p.ub(t))) {
                        m[0].L(g);
                        m[1].L(p);
                        m[2].L(q);
                        m[3].L(t);
                        m.sort(c.b.vs);
                        var W = m[0],
                            Y = m[1],
                            aa = m[2],
                            da = m[3];
                        W.ub(g) ? Y.ub(p) ? b ? (ba = U = !0, k = !1) : U = !1 : da.ub(p) ? b ? k = ba = U = !0 : U = !1 : (U = !0, k = Y.ub(q)) : Y.ub(g) ? aa.ub(p) ? b ? (ba = U = !0, k = !1) : U = !1 : W.ub(p) ? b ? k = ba = U = !0 : U = !1 : (U = !0, k = aa.ub(q)) : aa.ub(g) ? da.ub(p) ? b ? (ba = U = !0, k = !1) : U = !1 : Y.ub(p) ? b ? k = ba = U = !0 : U = !1 : (U = !0, k = da.ub(q)) : W.ub(p) ? b ? (ba = U = !0, k = !1) : U = !1 : aa.ub(p) ? b ? k = ba = U = !0 : U = !1 : (U = !0, k = W.ub(q));
                      }

                      if (U) {
                        U = P == E;
                        if (F != V || U && 0 == V) Z && (null != l ? r = new c.Ua() : T = 0), null != l ? (z.yh(V, F, u), r.dc(u.get(), Q)) : T++;
                        if (k) {
                          if (1 != C) {
                            if (F != V || U && 0 == V) null != l ? (k = new n(r, 1, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T);
                            if (!ba) C = 1;else if (v == e.length - 2 || e[v + 2].It != D) C = 0;
                          } else {
                            if (F != V || U && 0 == V) null != l ? (k = new n(r, 3, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T);
                            C = 1;
                          }
                        } else if (0 != C) {
                          if (F != V || U && 0 == V) null != l ? (k = new n(r, 0, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T);
                          if (!ba) C = 0;else if (v == e.length - 2 || e[v + 2].It != D) C = 1;
                        } else {
                          if (F != V || U && 0 == V) null != l ? (k = new n(r, 3, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T);
                          C = 0;
                        }
                        if (F != V || U && 0 == V) V = F, G = D, H = E, I = F, J = K, R = S, M = L, A = N = !1, Q = Z = !0;
                      }
                    }
                  }

                  v++;
                }

                1 != V && (Z && (null != l ? r = new c.Ua() : T = 0), null != l ? (z.yh(V, 1, u), r.dc(u.get(), Q)) : T++, Q = Z = !1, N = !0);
              }

              N && (F = 1, E = h.Rj(y), E = h.Ra(E), S = K = -1, L = NaN, A ? null != l ? (k = new n(r, 4, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T) : (A = 1 == C ? 0 : 0 == C ? 1 : 3, null != l ? (k = new n(r, A, D, E, F, C, G, H, I, K, S, L, J, R, M), l.push(k)) : null.add(T)));
            }
          };

          a.bM = function (b, e, h, l, k, m) {
            var g = h[l].iJ;
            if (1 == g) return a.RL(b, e, h, l, k, m);
            if (0 == g) return a.YL(b, e, h, l, k, m);
            throw c.g.za();
          };

          a.RL = function (a, d, b, l, k, m) {
            var g = new c.Hb(),
                p = b[l].Pg,
                q = b[l].yn,
                t = b[l].em,
                u = -1,
                n = -1,
                v = -1,
                r = -1;
            if (!a && 0 < l) var B = b[l - 1],
                u = B.Pg,
                n = B.yn,
                v = B.em,
                r = B.dj;
            var y = -1,
                A = -1,
                C = -1,
                D = -1;
            l < b.length - 1 && (B = b[l + 1], y = B.Pg, A = B.yn, C = B.em, D = B.dj);
            var E = d.U(p),
                B = d.U(t);
            if (!a) return 0 < l && u == p && n == q && v == B && 2 == r || l < b.length - 1 && y == E && A == q && C == B && 2 == D ? (a = d.ic(t), null == a && (d.pd(t, g), a = g), m.L(a.Eg(1)), k.bu(m), m.normalize(), k.normalize(), !1) : l < b.length - 1 && y == p && A == q && C == B ? (a = d.ic(t), null == a && (d.pd(t, g), a = g), k.L(a.Eg(1)), a = d.ic(B), null == a && (d.pd(B, g), a = g), m.L(a.Eg(0)), k.Lr(), m.normalize(), k.normalize(), !1) : !0;
            if (l == b.length - 1 || y != p || A != q || C != B || 2 == D) return a = d.ic(t), null == a && (d.pd(t, g), a = g), m.L(a.Eg(1)), k.bu(m), m.normalize(), k.normalize(), !1;
            a = d.ic(t);
            null == a && (d.pd(t, g), a = g);
            k.L(a.Eg(1));
            a = d.ic(B);
            null == a && (d.pd(B, g), a = g);
            m.L(a.Eg(0));
            k.Lr();
            m.normalize();
            k.normalize();
            return !1;
          };

          a.YL = function (a, d, b, l, k, m) {
            var g = new c.Hb(),
                p = b[l].Pg,
                q = b[l].yn,
                t = b[l].em,
                u = -1,
                n = -1,
                v = -1,
                r = -1;
            if (!a && l < b.length - 1) var B = b[l + 1],
                u = B.Pg,
                n = B.yn,
                v = B.em,
                r = B.dj;
            var y = -1,
                A = -1,
                C = -1,
                B = -1;
            0 < l && (B = b[l - 1], y = B.Pg, A = B.yn, C = B.em, B = B.dj);
            var D = d.U(p),
                E = d.Ra(t);
            return a ? 0 == l || y != p || A != q || C != E || 2 == B ? (a = d.ic(t), null == a && (d.pd(t, g), a = g), m.L(a.Eg(0)), k.bu(m), m.normalize(), k.normalize(), !1) : !0 : 0 < l && y == p && A == q && C == E && 2 == B || l < b.length - 1 && u == D && n == q && v == E && 2 == r ? (a = d.ic(t), null == a && (d.pd(t, g), a = g), m.L(a.Eg(0)), k.bu(m), m.normalize(), k.normalize(), !1) : !0;
          };

          a.NL = function (a, d, b, l, k, m, g) {
            var p = new c.Hb(),
                q = a.ic(k);
            null == q && (a.pd(k, p), q = p);
            b = d[b];
            d = b.Pg;
            b = b.uB;
            k = a.U(d);
            if (1 == b) m.L(q.Eg(1)), -1 != k && k != a.Rj(l) ? (q = a.ic(k), null == q && (a.pd(k, p), q = p), g.L(q.Eg(0)), q = a.ic(d), null == q && a.pd(d, p)) : g.L(m), m.Lr(), g.normalize(), m.normalize();else if (0 == b) g.L(q.Eg(b)), m.bu(g), g.normalize(), m.normalize();else throw c.g.za();
          };

          return a;
        }();

        c.XL = a;
      })(r || (r = {}));

      (function (c) {
        (function (a) {
          a[a.Linear = 0] = "Linear";
          a[a.Angular = 1] = "Angular";
          a[a.Area = 2] = "Area";
        })(c.jO || (c.jO = {}));

        var n = function () {
          function a(d, b, f) {
            this.nd = b;
            this.Ai = f;
            this.cB = d;
          }

          a.prototype.Eb = function (d) {
            return d instanceof a ? this.Ai === d.Ai : !1;
          };

          a.lH = function (d) {
            return 0 !== d.nd ? null : -1 === d.cB ? new a(-1, 2, d.Ai * d.Ai) : a.ze(f[d.cB]);
          };

          a.ze = function (a) {
            a = d[a];
            return void 0 === a ? null : a;
          };

          a.cR = function (d, b, f) {
            var e = null;
            if (void 0 !== f && null !== f) try {
              "EPSG" === f.values[0] && (e = a.ze(parseInt(f.values[1])));
            } catch (c) {}
            null === e && (e = new a(-1, d, b));
            return e;
          };

          a.prototype.yc = function () {
            return this.cB;
          };

          a.prototype.OG = function (a) {
            if (a.nd != this.nd) throw c.g.Da();
            return this.Ai / a.Ai;
          };

          a.li = function (a, d, b) {
            return d.OG(b) * a;
          };

          a.eG = function (a, d, b, f, e) {
            b = b.OG(f);

            for (f = 0; f < d; f++) e[f] = a[f] * b;
          };

          return a;
        }();

        c.oc = n;

        for (var g = [109401, 1E4, 109402, 4046.8564224, 109403, 4046.87260987425, 109404, 1, 109405, .09290304, 109406, .09290341161327487, 109407, .09290137299531805, 109408, 3.34450944, 109409, 3429904, 109410, 1.000027193184865, 109411, 404.6872609874253, 109412, .04046872609874253, 109413, 2589998.4703195216, 109414, 1E6, 109415, .8361123569578626, 109416, 404.67838076760535, 109417, .04046783807676053, 109418, .8361244606523066, 109419, .09290271785025629, 109420, 404.68423895571647, 109421, .04046842389557164, 109422, .83612589696064, 109423, .0929028774400711, 109424, 404.6849341289498, 109425, .04046849341289498, 109426, .836125904805842, 109427, .09290287831176021, 109428, 404.68493792602754, 109429, .04046849379260275, 109430, .09290354800069446, 109431, .09290274144751023, 109432, .09290207073852812, 109433, .09290279616016, 109434, .09290273520025, 109435, .836124673027592, 109436, .836118636646753, 109437, .8361251654414399, 109438, .83612461680225, 109439, 2589988.110336, 109440, .09290286332673177, 109441, .09290349665192114, 109442, .83612736, 109443, .8361307045194736, 109444, 404.68564224000005, 109445, .04046856422400001, 109446, .8361237024040001, 109447, .0929026336004445, 109448, 404.683871963536, 109449, .0404683871963536, 109450, .01, 109451, 1E-4, 109452, 1E-6, 109453, 6.4516E-4, 109454, 6.451625806477421E-4, 109455, 25.292852640000003, 109456, 25.29295381171408, 109457, 3434528.1495040003, 109458, 3434290.937856, 109459, 2.89612324, 109460, 25E8, 109461, 225E8, 109462, .7168473118308245, 109463, 100, 109464, 1.244521604938272E-7, 109465, 1E-12, 109466, 1E-18], b = [1031, 4.84813681109536E-9, 9101, 1, 9102, .0174532925199433, 9103, 2.908882086657216E-4, 9104, 4.84813681109536E-6, 9105, .01570796326794897, 9106, .01570796326794897, 9109, 1E-6, 9112, 1.570796326794897E-4, 9113, 1.570796326794897E-6, 9114, 9.817477042468104E-4], a = [1025, .001, 109452, 1033, .01, 109451, 9001, 1, 109404, 9002, .3048, 109405, 9003, .3048006096012192, 109406, 9005, .3047972654, 109407, 9014, 1.8288, 109408, 9030, 1852, 109409, 9031, 1.0000135965, 109410, 9033, 20.11684023368047, 109411, 9034, .2011684023368047, 109412, 9035, 1609.3472186944375, 109413, 9036, 1E3, 109414, 9037, .9143917962000001, 109415, 9038, 20.1166195164, 109416, 9039, .201166195164, 109417, 9040, .9143984146160287, 109418, 9041, .304799471538676, 109419, 9042, 20.116765121552632, 109420, 9043, .2011676512155263, 109421, 9050, .9143992, 109422, 9051, .3047997333333333, 109423, 9052, 20.1167824, 109424, 9053, .201167824, 109425, 9060, .9143992042898124, 109426, 9061, .3047997347632708, 109427, 9062, 20.116782494375872, 109428, 9063, .2011678249437587, 109429, 9070, .3048008333333334, 109430, 9080, .3047995102481469, 109431, 9081, .30479841, 109432, 9082, .3047996, 109433, 9083, .3047995, 109434, 9084, .9143985307444408, 109435, 9085, .91439523, 109436, 9086, .9143988, 109437, 9087, .9143985, 109438, 9093, 1609.344, 109439, 9094, .3047997101815088, 109440, 9095, .3048007491, 109441, 9096, .9144, 109442, 9097, 20.1168, 109444, 9098, .201168, 109445, 9099, .914398, 109446, 9300, .3047993333333334, 109447, 9301, 20.116756, 109448, 9302, .20116756, 109449, 109001, .9144, 109442, 109002, .9144018288036576, 109443, 109003, 20.1168, 109444, 109004, .201168, 109445, 109005, .1, 109450, 109006, .01, 109451, 109007, .001, 109452, 109008, .0254, 109453, 109009, .0254000508001016, 109454, 109010, 5.0292, 109455, 109011, 5.029210058420118, 109456, 109012, 1853.248, 109457, 109013, 1853.184, 109458, 109014, 1.7018, 109459, 109015, .8466683600033867, 109462, 109016, 3.527777777777778E-4, 109464, 109017, 1E-6, 109465, 109018, 1E-9, 109466, 109030, 5E4, 109460, 109031, 15E4, 109461], d = [], f = [], e = 0; e < g.length; e += 2) d[g[e]] = new n(g[e], 2, g[e + 1]);

        g = null;

        for (e = 0; e < b.length; e += 2) d[b[e]] = new n(b[e], 1, b[e + 1]);

        b = null;

        for (e = 0; e < a.length; e += 3) d[a[e]] = new n(a[e], 0, a[e + 1]), f[a[e]] = a[e + 2];

        a = null;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c() {
            this.Gb = this.qb = 0;
          }

          c.prototype.set = function (b, a) {
            void 0 !== a ? (this.qb = b, this.Gb = a) : "number" === typeof b ? (this.qb = b, this.Gb = 0) : (this.qb = b.qb, this.Gb = b.Gb);
          };

          c.prototype.value = function () {
            return this.qb;
          };

          c.prototype.add = function (b) {
            var a = this.qb + b.qb;
            b = this.Gb + b.Gb + 2.220446049250313E-16 * Math.abs(a);
            this.qb = a;
            this.Gb = b;
          };

          c.prototype.jP = function () {
            var b = this.qb + 1,
                a = this.Gb + 2.220446049250313E-16 * Math.abs(b);
            this.qb = b;
            this.Gb = a;
          };

          c.prototype.cP = function (b, a) {
            this.qb = b.qb + a.qb;
            this.Gb = b.Gb + a.Gb + 2.220446049250313E-16 * Math.abs(this.qb);
          };

          c.prototype.sub = function (b) {
            if ("number" === typeof b) {
              var a = this.qb - b;
              b = this.Gb + 2.220446049250313E-16 * Math.abs(a);
            } else a = this.qb - b.qb, b = this.Gb + b.Gb + 2.220446049250313E-16 * Math.abs(a);

            this.qb = a;
            this.Gb = b;
          };

          c.prototype.Vg = function (b) {
            var a = this.qb * b.qb;
            this.Gb = this.Gb * Math.abs(b.qb) + b.Gb * Math.abs(this.qb) + this.Gb * b.Gb + 2.220446049250313E-16 * Math.abs(a);
            this.qb = a;
          };

          c.prototype.yp = function (b) {
            var a = this.qb * b;
            this.Gb = this.Gb * Math.abs(b) + 2.220446049250313E-16 * Math.abs(a);
            this.qb = a;
          };

          c.prototype.pm = function (b, a) {
            var d = Math.abs(b.qb) * Math.abs(a.qb);
            this.Gb = b.Gb * Math.abs(a.qb) + a.Gb * Math.abs(b.qb) + b.Gb * a.Gb + 2.220446049250313E-16 * Math.abs(d);
            this.qb = d;
          };

          c.prototype.Wm = function (b) {
            var a = Math.abs(b.qb),
                d = this.qb / b.qb,
                f = (this.Gb + Math.abs(d) * b.Gb) / a;
            b.Gb > .01 * a && (b = b.Gb / a, f *= 1 + (1 + b) * b);
            this.qb = d;
            this.Gb = f + 2.220446049250313E-16 * Math.abs(d);
          };

          c.prototype.sqrt = function () {
            var b, a;
            0 <= this.qb ? (b = Math.sqrt(this.qb), a = this.qb > 10 * this.Gb ? .5 * this.Gb / b : this.qb > this.Gb ? b - Math.sqrt(this.qb - this.Gb) : Math.max(b, Math.sqrt(this.qb + this.Gb) - b), a += 2.220446049250313E-16 * Math.abs(b)) : this.qb < -1 * this.Gb ? a = b = NaN : (b = 0, a = Math.sqrt(this.Gb));
            this.qb = b;
            this.Gb = a;
          };

          c.prototype.sin = function (b) {
            var a = Math.sin(b.qb),
                d = Math.cos(b.qb);
            this.qb = a;
            a = Math.abs(a);
            this.Gb = (Math.abs(d) + .5 * a * b.Gb) * b.Gb + 2.220446049250313E-16 * a;
          };

          c.prototype.cos = function (b) {
            var a = Math.sin(b.qb),
                d = Math.cos(b.qb);
            this.qb = d;
            d = Math.abs(d);
            this.Gb = (Math.abs(a) + .5 * d * b.Gb) * b.Gb + 2.220446049250313E-16 * d;
          };

          c.prototype.Lg = function () {
            return Math.abs(this.qb) <= this.Gb;
          };

          c.prototype.lt = function () {
            return this.Lg() && 0 != this.Gb;
          };

          return c;
        }();

        c.Xb = n;
      })(r || (r = {}));

      var P = new r.b(),
          da = new r.b(),
          fa = new r.b(),
          ga = new r.b(),
          ia = new r.b();

      (function (c) {
        var n;

        (function (b) {
          b[b.closedPath = 1] = "closedPath";
          b[b.exteriorPath = 2] = "exteriorPath";
          b[b.ringAreaValid = 4] = "ringAreaValid";
        })(n || (n = {}));

        var g = function () {
          function b(a, d, b, e, c, l, k) {
            void 0 !== d ? (this.bb = a, this.Ck = d, this.Gl = b, this.Ji = e, this.Ca = l, this.RA = k, this.Uw = c) : (this.bb = a.bb, this.Ck = a.Ck, this.Gl = a.Gl, this.Ji = a.Ji, this.Ca = a.Ca, this.RA = a.RA, this.Uw = a.Uw);
            this.nI = !0;
          }

          b.prototype.next = function () {
            return this.nI ? (this.nI = !1, this.Ji) : -1 != this.Ji ? (this.Ji = this.bb.U(this.Ji), this.Ca++, -1 != this.Ji && this.Ji != this.Uw ? this.Ji : this.ZV()) : -1;
          };

          b.prototype.ZV = function () {
            this.Gl = this.bb.Sb(this.Gl);

            for (this.Ca = 0; -1 != this.Ck;) {
              for (; -1 != this.Gl; this.Gl = this.bb.Sb(this.Gl)) if (this.Uw = this.Ji = this.bb.cb(this.Gl), -1 != this.Ji) return this.Ji;

              this.Ck = this.bb.Ue(this.Ck);
              if (-1 == this.Ck) break;
              if (!this.RA || c.T.Ic(this.bb.hc(this.Ck))) this.Gl = this.bb.Pb(this.Ck);
            }

            return -1;
          };

          b.yR = function (a, d, f, e, c, l, k) {
            return new b(a, d, f, e, c, l, k);
          };

          return b;
        }();

        c.MZ = g;

        n = function () {
          function b() {
            this.Xo = this.on = this.Yk = this.md = this.el = this.jp = this.nj = this.td = this.Bi = this.ph = this.wf = this.Hr = this.Kr = this.xb = this.nm = null;
            this.cx = this.sd = -1;
            this.vd = 0;
            this.PA = !1;
            this.Hr = this.Kr = this.xb = null;
          }

          b.prototype.ti = function (a) {
            return null != this.wf ? this.wf[a] : null;
          };

          b.prototype.th = function (a, d) {
            if (null == this.wf) {
              if (null == d) return;
              this.wf = [];

              for (var b = 0, e = this.xb.D(); b < e; b++) this.wf.push(null);
            }

            this.wf[a] = d;
          };

          b.prototype.Lp = function (a, d) {
            this.td.P(a, 1, d);
          };

          b.prototype.Kp = function (a, d) {
            this.td.P(a, 2, d);
          };

          b.prototype.uC = function (a, d) {
            this.td.P(a, 6, d);
          };

          b.prototype.Lq = function (a) {
            return this.td.S(a, 6);
          };

          b.prototype.Rx = function (a, d) {
            this.td.P(a, 7, d);
          };

          b.prototype.dw = function (a) {
            return this.td.S(a, 0);
          };

          b.prototype.FK = function (a, d) {
            this.md.P(a, 1, d);
          };

          b.prototype.JK = function (a, d) {
            this.md.P(a, 0, d);
          };

          b.prototype.UG = function (a) {
            return this.md.S(a, 7);
          };

          b.prototype.Ip = function (a, d) {
            this.md.P(a, 3, d);
          };

          b.prototype.Jp = function (a, d) {
            this.md.P(a, 4, d);
          };

          b.prototype.fW = function (a) {
            null == this.md && (this.md = new c.ad(8));
            var d = this.md.Pe();
            this.md.P(d, 2, a);
            this.md.P(d, 5, 0);
            this.md.P(d, 6, 0);
            this.md.P(d, 7, d);
            return d;
          };

          b.prototype.DS = function (a) {
            this.md.kd(a);
          };

          b.prototype.hW = function (a) {
            null == this.td && (this.td = new c.ad(8), this.Dd = new c.ad(5), this.nj = new c.Rd(0), this.jp = new c.Rd(0));
            var d = this.td.Pe();
            this.td.P(d, 0, d);
            this.td.P(d, 3, 0);
            this.td.P(d, 6, 0);
            this.Rx(d, a);
            d >= this.nj.size && (a = 16 > d ? 16 : c.J.truncate(3 * d / 2), this.nj.resize(a), this.jp.resize(a));
            this.nj.set(d, 0);
            this.jp.set(d, 0);
            return d;
          };

          b.prototype.DG = function (a) {
            this.td.kd(a);
          };

          b.prototype.Ez = function (a) {
            this.Dd.kd(a);
            this.vd--;
          };

          b.prototype.xJ = function (a) {
            null == this.td && (this.td = new c.ad(8), this.Dd = new c.ad(5), this.nj = new c.Rd(0), this.jp = new c.Rd(0));
            var d = this.Dd.Pe(),
                b = 0 <= a ? a : d;
            this.Dd.P(d, 0, b);

            if (0 > a) {
              if (b >= this.xb.D()) {
                a = 16 > b ? 16 : c.J.truncate(3 * b / 2);
                this.xb.resize(a);
                if (null != this.wf) for (var e = 0; e < a; e++) this.wf.push(null);
                null != this.ph && this.ph.resize(a);
                this.Kr = this.xb.Pa(0);
              }

              this.xb.rb(b, -1E38, -1E38);
              null != this.wf && (this.wf[b] = null);
              null != this.ph && this.ph.write(b, 1);
            }

            this.Dd.P(d, 4, 2 * b);
            this.vd++;
            return d;
          };

          b.prototype.Wj = function (a, d, b) {
            var e = -1 != d ? this.Ra(d) : this.Rj(a),
                c = -1 != e ? this.U(e) : -1,
                l = this.xJ(null == b ? this.vd : -1),
                k = this.Za(l);
            null != b && this.xb.vu(k, b);
            this.Aj(l, a);
            this.Kc(l, c);
            this.Lc(l, e);
            -1 != c && this.Lc(c, l);
            -1 != e && this.Kc(e, l);
            b = this.Qb(a);
            e = this.cb(a);
            -1 == d && this.sh(a, l);
            d == e && this.jg(a, l);
            b && -1 == c && (this.Kc(l, l), this.Lc(l, l));
            this.nk(a, this.La(a) + 1);
            a = this.ng(a);
            this.lk(a, this.D(a) + 1);
            return l;
          };

          b.prototype.an = function () {
            null == this.Xo && (this.Xo = new c.Wa(this.xb.description));
            return this.Xo;
          };

          b.prototype.Hp = function (a, d) {
            this.md.P(a, 2, this.md.S(a, 2) & -134217729 || (1 == d ? 134217728 : 0));
          };

          b.prototype.xo = function (a) {
            return 0 != (this.md.S(a, 2) & 134217728) ? 1 : 0;
          };

          b.prototype.gP = function (a) {
            var d = this.bh(a.G(), a.description);
            1736 == a.G() && this.Hp(d, a.xo());
            this.hF(d, a);
            return d;
          };

          b.prototype.hP = function (a) {
            var d = this.bh(a.G(), a.description);
            this.iF(d, a);
            return d;
          };

          b.prototype.QW = function (a, d) {
            null == this.td && (this.td = new c.ad(8), this.Dd = new c.ad(5), this.nj = new c.Rd(0), this.jp = new c.Rd(0));
            this.td.Qe(this.td.yd + a);
            this.Dd.Qe(this.Dd.yd + d);
            this.nj.yb(this.nj.size + a);
            this.jp.yb(this.jp.size + a);
          };

          b.prototype.hF = function (a, d) {
            this.QW(d.aa(), d.D());
            this.nm.Id(d, 0, d.D());
            this.Kr = this.xb.Pa(0);

            for (var b = null != this.wf && null != d.cf, e = 0, h = d.aa(); e < h; e++) if (!(2 > d.La(e))) {
              var l = this.Yf(a, -1);
              this.$n(l, d.Qb(e));

              for (var k = d.wa(e), m = d.Gc(e); k < m; k++) {
                var g = this.Wj(l, -1, null);
                if (b) if (g = this.Za(g), 0 != (d.jH(k) & 1)) this.th(g, null);else {
                  var p = new c.Cg();
                  d.ic(k, p, !0);
                  this.th(g, p.get());
                }
              }
            }
          };

          b.prototype.iF = function (a, d) {
            this.nm.Id(d, 0, d.D());
            this.Kr = this.xb.Pa(0);

            for (var b = this.Yf(a, -1), e = 0, c = d.D(); e < c; e++) this.Wj(b, -1, null);
          };

          b.prototype.HY = function (a, d, b) {
            var e = this.U(a);
            if (-1 == e) throw c.g.za();

            for (var h = this.an(), l = this.ld(a), k = 0, m = d.Rl(b); k < m; k++) {
              var g = this.Za(a),
                  p = this.U(a),
                  q = d.Mq(b, k);
              0 == k && (q.Dp(h), this.Yh(a, h));
              322 == q.G() ? this.th(g, null) : this.th(g, c.T.oe(q));
              q.Bp(h);
              k < m - 1 ? a = this.Wj(l, p, h) : this.Yh(e, h);
            }
          };

          b.prototype.GY = function (a, d, b) {
            var e = this.U(a);
            if (-1 == e) throw c.g.za();

            for (var h = this.an(), l = this.ld(a), k = 0, m = d.Rl(b); k < m; k++) {
              var g = this.Za(a),
                  p = this.U(a),
                  q = d.Mq(b, m - k - 1);
              0 == k && (q.Bp(h), this.Yh(a, h));
              322 == q.G() ? this.th(g, null) : this.th(g, c.T.oe(q));
              q.Dp(h);
              k < m - 1 ? a = this.Wj(l, p, h) : this.Yh(e, h);
            }
          };

          b.prototype.TG = function () {
            var a = new c.h();
            a.Oa();

            for (var d = this.Qr(), b = new c.b(), e = !0, h = d.next(); -1 != h; h = d.next()) this.w(h, b), e ? a.Nb(b.x, b.y) : a.ml(b.x, b.y), e = !1;

            return a;
          };

          b.prototype.Jb = function (a) {
            var d = a.G();
            if (c.T.Ic(d)) return this.gP(a);
            if (550 == d) return this.hP(a);
            throw c.g.za();
          };

          b.prototype.xP = function (a, d) {
            var b = d.G();
            if (c.T.Ic(b)) this.hF(a, d);else if (550 == b) this.iF(a, d);else throw c.g.za();
          };

          b.prototype.lP = function (a, d) {
            var b = this.bh(1736, a.description);
            if (2 > a.La(d)) return b;
            this.nm.Id(a, a.wa(d), a.Gc(d));
            this.Kr = this.xb.Pa(0);
            var e = this.Yf(b, -1);
            this.$n(e, a.Qb(d) || !0);

            for (var h = null != this.wf && null != a.cf, l = a.wa(d), k = a.Gc(d); l < k; l++) {
              var m = this.Wj(e, -1, null);
              if (h) if (m = this.Za(m), 0 != (a.jH(l) & 1)) this.th(m, null);else {
                var g = new c.Cg();
                a.ic(l, g, !0);
                this.th(m, g.get());
              }
            }

            return b;
          };

          b.prototype.Se = function (a) {
            var d = this.hc(a),
                b = c.vM.bh(d, this.nm.description),
                e = this.D(a);
            if (0 == e) return b;

            if (c.T.Ic(d)) {
              for (var d = this.aa(a), h = c.Uc.wh(d + 1), l = c.Uc.vq(d + 1, 0), k = b.description, m = 0, g = k.Ga; m < g; m++) {
                for (var p = k.rd(m), q = c.ma.Xa(p), t = c.Uc.qz(p, e), u = this.xb.Pa(p), n = 0, v = 0, r = 0, B = this.Pb(a); -1 != B; B = this.Sb(B)) {
                  var y = 0;
                  this.Qb(B) && (y |= 1);
                  this.SU(B) && (y |= 4);
                  0 != y && l.jC(v, y);
                  var A = this.La(B);
                  h.write(v++, r);
                  r += A;
                  if (0 == p) for (var A = u, C = t, D = new c.b(), y = this.cb(B); n < r; y = this.U(y), n++) {
                    var E = this.Za(y);
                    A.fc(2 * E, D);
                    C.fo(2 * n, D);
                  } else for (y = this.cb(B); n < r; y = this.U(y), n++) for (E = this.Za(y), C = 0; C < q; C++) D = u.Of(E * q + C), t.Dm(n * q + C, D);
                }

                b.Yn(p, t);
                h.write(d, e);
              }

              b.GK(l);
              b.HK(h);
              b.Dc(16777215);
            } else if (550 == d) {
              k = b.description;
              b.resize(e);
              m = 0;

              for (g = k.Ga; m < g; m++) {
                p = k.rd(m);
                q = c.ma.Xa(p);
                t = b.Pa(p);
                u = this.xb.Pa(p);
                n = 0;
                B = this.Pb(a);
                A = this.La(B);

                for (y = this.cb(B); n < A; y = this.U(y), n++) for (E = this.Za(y), C = 0; C < q; C++) D = u.Of(E * q + C), t.Dm(n * q + C, D);

                b.Yn(p, t);
              }

              b.Dc(16777215);
            }

            return b;
          };

          b.prototype.bC = function (a) {
            for (var d = this.Pb(a); -1 != d; d = this.Rr(d));

            var d = this.JT(a),
                b = this.Ue(a);
            -1 != d ? this.FK(d, b) : this.sd = b;
            -1 != b ? this.JK(b, d) : this.cx = d;
            this.DS(a);
          };

          b.prototype.bh = function (a, d) {
            return void 0 === d ? this.hG(a, c.ye.Ig()) : this.hG(a, d);
          };

          b.prototype.hG = function (a, d) {
            var b = this.fW(a);
            null == this.xb ? this.xb = this.nm = new c.Ed(d) : this.nm.om(d);
            this.Hr = this.nm.description;
            this.PA = 1 < this.Hr.Ga;
            -1 == this.sd ? this.sd = b : (this.JK(b, this.cx), this.FK(this.cx, b));
            return this.cx = b;
          };

          b.prototype.Ue = function (a) {
            return this.md.S(a, 1);
          };

          b.prototype.JT = function (a) {
            return this.md.S(a, 0);
          };

          b.prototype.hc = function (a) {
            return this.md.S(a, 2) & 2147483647;
          };

          b.prototype.xK = function (a, d, b) {
            d = this.Yk[d];
            a = this.UG(a);
            a >= d.size && d.resize(Math.max(c.J.truncate(1.25 * a), 16), -1);
            d.write(a, b);
          };

          b.prototype.VG = function (a, d) {
            var b = this.UG(a),
                e = this.Yk[d];
            return b < e.size ? e.read(b) : -1;
          };

          b.prototype.iG = function () {
            null == this.Yk && (this.Yk = []);

            for (var a = 0; a < this.Yk.length; a++) if (null == this.Yk[a]) return this.Yk[a] = c.Uc.wh(0), a;

            this.Yk.push(c.Uc.wh(0));
            return this.Yk.length - 1;
          };

          b.prototype.vX = function (a) {
            this.Yk[a] = null;
          };

          b.prototype.Pb = function (a) {
            return this.md.S(a, 3);
          };

          b.prototype.Xv = function (a) {
            return this.md.S(a, 4);
          };

          b.prototype.D = function (a) {
            return this.md.S(a, 5);
          };

          b.prototype.aa = function (a) {
            return this.md.S(a, 6);
          };

          b.prototype.zq = function (a, d, b) {
            for (var e = 0, h = this.sd; -1 != h; h = this.Ue(h)) {
              var l = this.hc(h);
              if (c.T.Ic(l) && (!b || 1736 == l)) for (var l = 1736 == this.hc(h), k = this.Pb(h); -1 != k;) {
                for (var m = 0, g = this.cb(k); m < c.J.truncate(this.La(k) / 2);) {
                  var p = this.U(g);
                  if (-1 == p) break;
                  var q = this.Za(g),
                      t = this.ti(q);
                  null != t ? q = t.Rb() : (t = this.Za(p), q = this.xb.xs(q, t));
                  q <= a ? (0 == q ? 0 == e && (e = -1) : e = 1, p != this.Rj(k) && (this.KC(p, g), this.ud(p, !0))) : g = this.U(g);
                  m++;
                }

                m = this.cb(k);

                for (g = this.Qb(k) ? m : this.Rj(k); 0 < this.La(k);) if (p = this.Ra(g), -1 != p) {
                  var u = this.Za(p),
                      t = this.ti(u);
                  null != t ? q = t.Rb() : (q = this.Za(g), q = this.xb.xs(q, u));
                  if (q <= a) 0 == q ? 0 == e && (e = -1) : e = 1, this.KC(p, g), this.ud(p, !1), m == p && (m = this.cb(k));else if (g = this.Ra(g), g == m) break;
                } else {
                  this.ud(g, !0);
                  0 == e && (e = -1);
                  break;
                }

                g = this.La(k);
                d && (l ? 3 > g : 2 > g) ? (k = this.Rr(k), e = 0 < g ? 1 : 0 == e ? -1 : e) : k = this.Sb(k);
              }
            }

            return e;
          };

          b.prototype.KC = function (a, d) {
            var b = this.Za(a),
                e = this.Za(d);
            null != this.ph && (b = this.ph.read(b), this.ph.write(e, b));
            if (null != this.Bi) for (e = 0, b = this.Bi.length; e < b; e++) if (null != this.Bi[e]) {
              var c = this.Sa(a, e);
              -1 != c && this.Va(d, e, c);
            }
          };

          b.prototype.zm = function (a, d, b) {
            var e = 0,
                h = this.U(a);
            if (-1 == h) throw c.g.za();

            for (var l = this.Za(a), k = this.Za(h), g = this.ti(l), w = null == g ? this.xb.xs(l, k) : g.Rb(), p = 0; p < b; p++) {
              var q = d[p];

              if (0 < q && 1 > q) {
                var t = q;
                null != g && (t = 0 < w ? g.Dy(q) / w : 0);
                this.xb.EE(l, k, t, this.an());
                var u = this.Wj(this.ld(a), h, this.an());
                e++;

                if (null != g) {
                  var n = g.Hl(0, q),
                      t = this.Za(this.Ra(u));
                  this.th(t, n);
                  this.Qf(u, n.Cc());
                  if (p == b - 1 || 1 == d[p + 1]) q = g.Hl(q, 1), this.th(t, q);
                }
              }
            }

            return e;
          };

          b.prototype.FY = function (a, d, b) {
            var e = 0,
                h = this.U(a);
            if (-1 == h) throw c.g.X("internal error");
            var l = this.Za(a),
                k = this.Za(h),
                g = this.ti(l),
                w = null == g ? this.xb.xs(l, k) : g.Rb(),
                p = 0;
            a = this.ld(a);

            for (var q = 0; q < b; q++) {
              var t = d[q];

              if (p < t && 1 > t) {
                var u = t;
                null != g && (u = 0 < w ? g.Dy(t) / w : 0);
                this.xb.EE(l, k, u, this.an());
                u = this.uU(a, h, this.an());
                e++;

                if (null != g) {
                  var p = g.Hl(p, t),
                      n = this.Za(this.Ra(u));
                  this.th(n, p);
                  this.rb(u, p.sa, p.oa);
                  if (q == b - 1 || 1 == d[q + 1]) p = g.Hl(t, 1), u = this.Za(u), this.th(u, p);
                }
              }

              p = t;
            }

            return e;
          };

          b.prototype.uU = function (a, d, b) {
            var e = -1 != d ? this.Ra(d) : this.Rj(a),
                c = -1 != e ? this.U(e) : -1,
                l = this.xJ(null == b ? this.vd : -1),
                k = this.Za(l);
            null != b && this.xb.vu(k, b);
            this.Aj(l, a);
            this.Kc(l, c);
            this.Lc(l, e);
            -1 != c && this.Lc(c, l);
            -1 != e && this.Kc(e, l);
            b = this.Qb(a);
            e = this.cb(a);
            -1 == d && this.sh(a, l);
            d == e && (b && -1 != e || this.jg(a, l));
            b && -1 == c && (this.Kc(l, l), this.Lc(l, l));
            this.nk(a, this.La(a) + 1);
            a = this.ng(a);
            this.lk(a, this.D(a) + 1);
            return l;
          };

          b.prototype.FF = function (a, d, b) {
            var e = this.Za(d),
                h = this.Za(b);
            if (0 > e || h > this.vd - 1) throw c.g.F("invalid call");
            if (e > h && !this.Qb(a)) throw c.g.F("cannot iterate across an open path");

            for (a = 0; d != b; d = this.U(d)) e = this.Za(d), h = this.ti(e), null != h ? a += h.Rb() : (h = this.Za(this.U(d)), a += this.xb.xs(e, h));

            return a;
          };

          b.prototype.Yh = function (a, d) {
            var b = this.Za(a);
            this.xb.vu(b, d);
            b = this.ti(b);
            null != b && b.setStart(d);
            var e = this.Ra(a);
            -1 != e && (e = this.Za(e), null != this.ti(e) && b.setEnd(d));
          };

          b.prototype.wj = function (a, d) {
            var b = this.Za(a);
            this.xb.Ae(b, d);
          };

          b.prototype.Qf = function (a, d) {
            this.rb(a, d.x, d.y);
          };

          b.prototype.rb = function (a, d, b) {
            var e = this.Za(a);
            this.xb.rb(e, d, b);
            e = this.ti(e);
            null != e && e.xC(d, b);
            a = this.Ra(a);
            -1 != a && (a = this.Za(a), null != this.ti(a) && e.vm(d, b));
          };

          b.prototype.w = function (a, d) {
            this.xb.w(this.Dd.S(a, 0), d);
          };

          b.prototype.Nc = function (a, d) {
            this.xb.ya[0].fc(2 * this.Dd.S(a, 0), d);
          };

          b.prototype.Ba = function (a) {
            var d = new c.b();
            this.xb.w(this.Dd.S(a, 0), d);
            return d;
          };

          b.prototype.pH = function (a, d) {
            this.Kr.fc(2 * a, d);
          };

          b.prototype.Yc = function (a, d, b) {
            return this.xb.Yc(a, this.Za(d), b);
          };

          b.prototype.setAttribute = function (a, d, b, e) {
            this.xb.setAttribute(a, this.Za(d), b, e);
          };

          b.prototype.Za = function (a) {
            return this.Dd.S(a, 0);
          };

          b.prototype.nf = function (a) {
            var d = new c.b();
            this.w(a, d);
            return d.y;
          };

          b.prototype.Uq = function (a, d) {
            var b = this.Za(a),
                e = this.Za(d),
                c = this.xb.ya[0].f;
            return c[2 * b] === c[2 * e] && c[2 * b + 1] === c[2 * e + 1];
          };

          b.prototype.qw = function (a, d) {
            var b = this.Za(a),
                e = this.xb.ya[0].f;
            return e[2 * b] === d.x && e[2 * b + 1] === d.y;
          };

          b.prototype.rY = function (a, d) {
            1 > d && (d = 1);

            if (null == this.ph) {
              if (1 == d) return;
              this.ph = c.Uc.Um(this.xb.D(), 1);
            }

            var b = this.Za(a);
            b >= this.ph.size && this.ph.resize(b + 1, 1);
            this.ph.write(b, d);
          };

          b.prototype.oH = function (a) {
            a = this.Za(a);
            return null == this.ph || a >= this.ph.size ? 1 : this.ph.read(a);
          };

          b.prototype.Va = function (a, d, b) {
            d = this.Bi[d];
            a = this.Za(a);
            d.size < this.xb.D() && d.resize(this.xb.D(), -1);
            d.write(a, b);
          };

          b.prototype.Sa = function (a, d) {
            var b = this.Za(a),
                e = this.Bi[d];
            return b < e.size ? e.read(b) : -1;
          };

          b.prototype.Vd = function () {
            null == this.Bi && (this.Bi = []);

            for (var a = 0; a < this.Bi.length; a++) if (null == this.Bi[a]) return this.Bi[a] = c.Uc.wh(0, -1), a;

            this.Bi.push(c.Uc.wh(0, -1));
            return this.Bi.length - 1;
          };

          b.prototype.le = function (a) {
            this.Bi[a] = null;
          };

          b.prototype.ic = function (a) {
            return null != this.wf ? (a = this.Za(a), this.wf[a]) : null;
          };

          b.prototype.pd = function (a, d) {
            var b = this.Dd.S(a, 2);
            if (-1 == b) return !1;

            if (this.PA) {
              var e = new c.Wa();
              this.wj(a, e);
              d.setStart(e);
              this.wj(b, e);
              d.setEnd(e);
            } else this.xb.Nc(this.Dd.S(a, 0), P), d.Qm(0, P), this.xb.Nc(this.Dd.S(b, 0), P), d.Qm(1, P);

            return !0;
          };

          b.prototype.hX = function (a, d, b) {
            if (this.PA) {
              var e = new c.Wa();
              this.wj(a, e);
              b.setStart(e);
              this.wj(d, e);
              b.setEnd(e);
            } else this.xb.Nc(a, P), b.Qm(0, P), this.xb.Nc(d, P), b.Qm(1, P);
          };

          b.prototype.Yf = function (a, d) {
            var b;

            if (-1 != d) {
              if (a != this.ng(d)) throw c.g.za();
              b = this.ct(d);
            } else b = this.Xv(a);

            var e = this.hW(a);
            -1 != d && this.Lp(d, e);
            this.Kp(e, d);
            this.Lp(e, b);
            -1 != b ? this.Kp(b, e) : this.Ip(a, e);
            -1 == d && this.Jp(a, e);
            this.wm(a, this.aa(a) + 1);
            return e;
          };

          b.prototype.BH = function (a, d, b, e) {
            a = this.Yf(a, -1);

            for (var c = 0, l = d, k = !1; l == b && (k = !0), this.Aj(l, a), c++, l = this.U(l), l != d;);

            this.$n(a, !0);
            this.nk(a, c);
            k && (d = b);
            this.jg(a, d);
            this.sh(a, this.Ra(d));
            this.Np(a, !1);
            null != e && (e[0] = k);
            return a;
          };

          b.prototype.Rr = function (a) {
            var d = this.ct(a),
                b = this.Sb(a),
                e = this.ng(a);
            -1 != d ? this.Kp(d, b) : this.Ip(e, b);
            -1 != b ? this.Lp(b, d) : this.Jp(e, d);
            this.EQ(a);
            this.wm(e, this.aa(e) - 1);
            this.DG(a);
            return b;
          };

          b.prototype.EQ = function (a) {
            var d = this.cb(a);

            if (-1 != d) {
              for (var b = 0, e = this.La(a); b < e; b++) {
                var c = d,
                    d = this.U(d);
                this.Ez(c);
              }

              d = this.ng(a);
              this.lk(d, this.D(d) - this.La(a));
            }

            this.nk(a, 0);
          };

          b.prototype.Sb = function (a) {
            return this.td.S(a, 2);
          };

          b.prototype.ct = function (a) {
            return this.td.S(a, 1);
          };

          b.prototype.La = function (a) {
            return this.td.S(a, 3);
          };

          b.prototype.Qb = function (a) {
            return 0 != (this.Lq(a) & 1);
          };

          b.prototype.$n = function (a, d) {
            if (this.Qb(a) != d) {
              if (0 < this.La(a)) {
                var b = this.cb(a),
                    e = this.Rj(a);
                d ? (this.Kc(e, b), this.Lc(b, e)) : (this.Kc(e, -1), this.Lc(b, -1));
                b = this.Za(e);
                this.th(b, null);
              }

              this.uC(a, (this.Lq(a) | 1) - 1 | (d ? 1 : 0));
            }
          };

          b.prototype.ng = function (a) {
            return this.td.S(a, 7);
          };

          b.prototype.SU = function (a) {
            return 0 != (this.Lq(a) & 2);
          };

          b.prototype.pC = function (a, d) {
            this.uC(a, (this.Lq(a) | 2) - 2 | (d ? 2 : 0));
          };

          b.prototype.hA = function (a) {
            if (this.YU(a)) return this.nj.get(this.dw(a));
            var d = new c.Hb(),
                b = this.cb(a);
            if (-1 == b) return 0;
            var e = new c.b();
            this.w(b, e);

            for (var h = 0, l = 0, k = this.La(a); l < k; l++, b = this.U(b)) {
              var g = this.ic(b);

              if (null == g) {
                if (!this.pd(b, d)) continue;
                g = d;
              }

              h += g.Cy(e.x, e.y);
            }

            this.Np(a, !0);
            this.nj.set(this.dw(a), h);
            return h;
          };

          b.prototype.$r = function (a, d, b) {
            d = this.el[d];
            a = this.dw(a);
            d.size < this.nj.size && d.resize(this.nj.size, -1);
            d.write(a, b);
          };

          b.prototype.Tj = function (a, d) {
            var b = this.dw(a),
                e = this.el[d];
            return b < e.size ? e.read(b) : -1;
          };

          b.prototype.rz = function () {
            null == this.el && (this.el = []);

            for (var a = 0; a < this.el.length; a++) if (null == this.el[a]) return this.el[a] = c.Uc.wh(0), a;

            this.el.push(c.Uc.wh(0));
            return this.el.length - 1;
          };

          b.prototype.cC = function (a) {
            this.el[a] = null;
          };

          b.prototype.YV = function (a, d, b) {
            if (-1 == b) throw c.g.F();

            if (d != b) {
              var e = this.Sb(b),
                  h = this.ct(b),
                  l = this.ng(b);
              -1 == h ? this.Ip(l, e) : this.Kp(h, e);
              -1 == e ? this.Jp(l, h) : this.Lp(e, h);
              this.lk(l, this.D(l) - this.La(b));
              this.wm(l, this.aa(l) - 1);
              h = -1 == d ? this.Xv(a) : this.ct(d);
              this.Lp(b, h);
              this.Kp(b, d);
              -1 == d ? this.Jp(a, b) : this.Lp(d, b);
              -1 == h ? this.Ip(a, b) : this.Kp(h, b);
              this.lk(a, this.D(a) + this.La(b));
              this.wm(a, this.aa(a) + 1);
              this.Rx(b, a);
            }
          };

          b.prototype.Kj = function (a, d) {
            this.xb.Ae(this.Za(d), this.an());
            this.Wj(a, -1, this.an());
          };

          b.prototype.ud = function (a, d) {
            var b = this.ld(a),
                e = this.Ra(a),
                h = this.U(a);
            -1 != e && this.Kc(e, h);
            var l = this.La(b);
            a == this.cb(b) && this.jg(b, 1 < l ? h : -1);
            -1 != h && this.Lc(h, e);
            a == this.Rj(b) && this.sh(b, 1 < l ? e : -1);

            if (-1 != e && -1 != h) {
              var e = this.Za(e),
                  k = this.Za(h);

              if (d) {
                var g = this.ti(e);
                null != g && (e = new c.b(), this.xb.w(k, e), g.Zc(e));
              } else k = this.Za(a), g = this.ti(k), this.th(e, g), null != g && (e = this.xb.Ba(e), g.Mc(e));
            }

            this.nk(b, l - 1);
            b = this.ng(b);
            this.lk(b, this.D(b) - 1);
            this.Ez(a);
            return h;
          };

          b.prototype.cb = function (a) {
            return this.td.S(a, 4);
          };

          b.prototype.Rj = function (a) {
            return this.td.S(a, 5);
          };

          b.prototype.U = function (a) {
            return this.Dd.S(a, 2);
          };

          b.prototype.Ra = function (a) {
            return this.Dd.S(a, 1);
          };

          b.prototype.ld = function (a) {
            return this.Dd.S(a, 3);
          };

          b.prototype.pc = function (a, d) {
            return this.Wj(a, -1, d);
          };

          b.prototype.Qr = function (a) {
            if (void 0 === a) return this.Qr(!1);
            if (a instanceof g) return new g(a);
            var d,
                b = -1,
                e = -1,
                h = -1,
                l = 0,
                k = !1;

            for (d = this.sd; -1 != d; d = this.Ue(d)) if (!a || c.T.Ic(this.hc(d))) {
              for (b = this.Pb(d); -1 != b; b = this.Sb(b)) if (h = e = this.cb(b), l = 0, -1 != e) {
                k = !0;
                break;
              }

              if (k) break;
            }

            return g.yR(this, d, b, e, h, l, a);
          };

          b.prototype.Xc = function (a) {
            this.nm.Xc(a);
            if (null != this.wf) for (var d = 0, b = this.wf.length; d < b; d++) null != this.wf[d] && this.wf[d].Xc(a);
          };

          b.prototype.bs = function (a, d, b, e) {
            e ? this.HY(a, d, b) : this.GY(a, d, b);
          };

          b.prototype.Lc = function (a, d) {
            this.Dd.P(a, 1, d);
          };

          b.prototype.Kc = function (a, d) {
            this.Dd.P(a, 2, d);
          };

          b.prototype.Aj = function (a, d) {
            this.Dd.P(a, 3, d);
          };

          b.prototype.nk = function (a, d) {
            this.td.P(a, 3, d);
          };

          b.prototype.jg = function (a, d) {
            this.td.P(a, 4, d);
          };

          b.prototype.sh = function (a, d) {
            this.td.P(a, 5, d);
          };

          b.prototype.wm = function (a, d) {
            this.md.P(a, 6, d);
          };

          b.prototype.lk = function (a, d) {
            this.md.P(a, 5, d);
          };

          b.prototype.fK = function (a) {
            var d = a;

            do {
              var b = this.U(d);
              this.Kc(d, this.Ra(d));
              this.Lc(d, b);
              d = b;
            } while (d != a);
          };

          b.prototype.AC = function (a) {
            this.vd = a;
          };

          b.prototype.Sr = function (a) {
            var d = this.ct(a),
                b = this.Sb(a),
                e = this.ng(a);
            -1 != d ? this.Kp(d, b) : this.Ip(e, b);
            -1 != b ? this.Lp(b, d) : this.Jp(e, d);
            this.jg(a, -1);
            this.sh(a, -1);
            this.DG(a);
          };

          b.prototype.Mi = function (a, d) {
            var b = this.Ra(a),
                e = this.U(a);
            -1 != b && this.Kc(b, e);
            -1 != e && this.Lc(e, b);
            if (-1 != b && -1 != e) if (b = this.Za(b), e = this.Za(e), d) {
              var h = this.ti(b);

              if (null != h) {
                var l = new c.b();
                this.xb.w(e, l);
                h.Zc(l);
              }
            } else e = this.Za(a), h = this.ti(e), this.th(b, h), null != h && (l = new c.b(), this.xb.w(b, l), h.Mc(l));
            this.Ez(a);
          };

          b.prototype.YU = function (a) {
            return 0 != (this.Lq(a) & 4);
          };

          b.prototype.Np = function (a, d) {
            this.uC(a, (this.Lq(a) | 4) - 4 | (d ? 4 : 0));
          };

          b.prototype.Xx = function (a, d) {
            var b = this.Dd.f;
            this.xb.wc();
            var e = this.xb.ya[0].f;
            a.Gd(0, d, function (a, d) {
              var c = b[5 * a],
                  g = b[5 * d],
                  w = e[2 * c],
                  c = e[2 * c + 1],
                  p = e[2 * g],
                  g = e[2 * g + 1];
              return c < g ? -1 : c > g ? 1 : w < p ? -1 : w > p ? 1 : 0;
            });
          };

          b.prototype.eU = function () {
            for (var a = this.sd; -1 != a; a = this.Ue(a)) if (!c.T.Ic(this.hc(a))) return !0;

            return !1;
          };

          b.prototype.FC = function (a, d) {
            for (var b = this.Pb(a), e = this.Pb(d), c = this.Xv(a), l = this.Xv(d), k = this.Pb(a); -1 != k; k = this.Sb(k)) this.Rx(k, d);

            for (k = this.Pb(d); -1 != k; k = this.Sb(k)) this.Rx(k, a);

            this.Ip(a, e);
            this.Ip(d, b);
            this.Jp(a, l);
            this.Jp(d, c);
            b = this.D(a);
            e = this.aa(a);
            c = this.aa(d);
            this.lk(a, this.D(d));
            this.lk(d, b);
            this.wm(a, c);
            this.wm(d, e);
            b = this.md.S(a, 2);
            this.md.P(a, 2, this.md.S(d, 2));
            this.md.P(d, 2, b);
          };

          return b;
        }();

        c.fd = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b(a, d, b, e) {
            g.call(this);
            this.R = new c.h();
            void 0 === a ? this.aG() : "number" === typeof a ? this.ZQ(a, d, b, e) : a instanceof c.Wa ? void 0 !== d ? this.Ev(a, d, b) : this.$Q(a) : a instanceof c.ma ? void 0 !== d ? this.bR(a, d) : this.aR(a) : a instanceof c.h ? this.YQ(a) : this.aG();
          }

          O(b, g);

          b.prototype.Ev = function (a, d, b) {
            this.description = c.ye.Ig();
            this.R.Oa();
            a.u() || this.cv(a, d, b);
          };

          b.prototype.YQ = function (a) {
            this.description = c.ye.Ig();
            this.R.I(a);
            this.R.normalize();
          };

          b.prototype.aR = function (a) {
            if (null == a) throw c.g.F();
            this.description = a;
            this.R.Oa();
          };

          b.prototype.bR = function (a, d) {
            if (null == a) throw c.g.F();
            this.description = a;
            this.R.I(d);
            this.R.normalize();
          };

          b.prototype.aG = function () {
            this.description = c.ye.Ig();
            this.R.Oa();
          };

          b.prototype.$Q = function (a) {
            this.description = c.ye.Ig();
            this.R.Oa();
            a.u() || this.cv(a);
          };

          b.prototype.ZQ = function (a, d, b, e) {
            this.description = c.ye.Ig();
            this.I(a, d, b, e);
          };

          b.prototype.I = function (a, d, b, e) {
            this.Bc();
            if ("number" === typeof a) this.R.I(a, d, b, e);else for (this.Oa(), d = 0, b = a.length; d < b; d++) this.Nb(a[d]);
          };

          b.prototype.Gp = function (a) {
            this.Bc();
            if (!a.$U()) throw c.g.F();
            this.R.I(a);
          };

          b.prototype.Oa = function () {
            this.Bc();
            this.R.Oa();
          };

          b.prototype.u = function () {
            return this.R.u();
          };

          b.prototype.N = function () {
            return this.R.N();
          };

          b.prototype.fa = function () {
            return this.R.fa();
          };

          b.prototype.Hk = function () {
            return this.R.Hk();
          };

          b.prototype.Cq = function () {
            return this.R.Cq();
          };

          b.prototype.Bq = function () {
            return this.R.Wf();
          };

          b.prototype.Nb = function (a) {
            if (a instanceof c.b) this.Bc(), this.R.Nb(a);else if (a instanceof c.h) this.Bc(), this.R.Nb(a);else if (a instanceof c.Wa) {
              if (this.Bc(), !a.Hc()) {
                var d = a.description;
                this.description != d && this.om(d);
                if (this.u()) this.cv(a);else {
                  this.R.Nb(a.w());

                  for (var f = 1, e = d.Ga; f < e; f++) for (var h = d.Td(f), l = c.ma.Xa(h), k = 0; k < l; k++) {
                    var g = a.Yc(h, k),
                        w = this.xf(h, k);
                    w.Nb(g);
                    setInterval(h, k, w);
                  }
                }
              }
            } else if (a instanceof b && !a.u()) for (d = a.description, d != this.description && this.om(d), this.R.Nb(a.R), f = 1, e = d.Ga; f < e; f++) for (h = d.rd(f), l = c.ma.Xa(h), k = 0; k < l; k++) g = a.xf(h, k), w = this.xf(h, k), w.Nb(g), setInterval(h, k, w);
          };

          b.prototype.cv = function (a, d, b) {
            if (void 0 !== d) {
              this.R.I(a.w(), d, b);
              d = a.description;
              b = 1;

              for (var e = d.Ga; b < e; b++) for (var h = d.Td(b), l = c.ma.Xa(h), k = 0; k < l; k++) {
                var g = a.Yc(h, k);
                this.setInterval(h, k, g, g);
              }
            } else for (this.R.I(a.la[0], a.la[1]), d = a.description, b = 1, e = d.Ga; b < e; b++) for (h = d.Td(b), l = c.ma.Xa(h), k = 0; k < l; k++) g = a.Yc(h, k), this.setInterval(h, k, g, g);
          };

          b.prototype.setInterval = function (a, d, b, e) {
            var h = null;
            "number" === typeof b ? h = new c.Ac(b, e) : h = b;
            this.Bc();
            if (0 == a) {
              if (0 == d) this.R.o = h.ca, this.R.v = h.ha;else if (1 == d) this.R.A = h.ca, this.R.B = h.ha;else throw c.g.wd();
            } else this.ME(0, a, d, h.ca), this.ME(1, a, d, h.ha);
          };

          b.prototype.O = function (a, d) {
            this.Bc();
            this.R.O(a, d);
          };

          b.prototype.Xc = function (a) {
            if (a instanceof c.Hd) this.Bc(), a.LC(this.R);else if (this.Bc(), !this.R.u()) {
              var d = new c.eM();
              this.Cp(d);
              d.RU() ? d.Oa() : a.LC(d);
            }
          };

          b.prototype.copyTo = function (a) {
            if (a.G() != this.G()) throw c.g.F();
            a.Bc();
            a.description = this.description;
            a.R.I(this.R);
            a.la = null;

            if (null != this.la) {
              a.Yu();

              for (var d = 0; d < 2 * (this.description.af.length - 2); d++) a.la[d] = this.la[d];
            }
          };

          b.prototype.Ka = function () {
            return new b(this.description);
          };

          b.prototype.hf = function () {
            return this.R.IG();
          };

          b.prototype.Rb = function () {
            return this.R.ZG();
          };

          b.prototype.G = function () {
            return 197;
          };

          b.prototype.tb = function () {
            return 2;
          };

          b.prototype.Qn = function (a) {
            this.copyTo(a);
          };

          b.prototype.s = function (a) {
            a.o = this.R.o;
            a.A = this.R.A;
            a.v = this.R.v;
            a.B = this.R.B;
          };

          b.prototype.Cp = function (a) {
            a.o = this.R.o;
            a.A = this.R.A;
            a.v = this.R.v;
            a.B = this.R.B;
            a.I(this.R.o, this.R.A, this.ae(0, 1, 0), this.R.v, this.R.B, this.ae(1, 1, 0));
          };

          b.prototype.xf = function (a, d) {
            var b = new c.Ac();
            b.I(this.ae(0, a, d), this.ae(1, a, d));
            return b;
          };

          b.prototype.ig = function (a, d) {
            d.Fg(this.description);
            var b = this.description.Ga - 1;

            switch (a) {
              case 0:
                for (var e = 0; e < b; e++) for (var h = this.description.rd(e), l = c.ma.Xa(h), k = 0; k < l; k++) d.setAttribute(h, k, this.ae(0, h, k));

                d.rb(this.R.o, this.R.A);
                break;

              case 1:
                for (e = 0; e < b; e++) for (h = this.description.rd(e), l = c.ma.Xa(h), k = 0; k < l; k++) d.setAttribute(h, k, this.ae(1, h, k));

                d.rb(this.R.o, this.R.B);
                break;

              case 2:
                for (e = 0; e < b; e++) for (h = this.description.rd(e), l = c.ma.Xa(h), k = 0; k < l; k++) d.setAttribute(h, k, this.ae(0, h, k));

                d.rb(this.R.v, this.R.B);
                break;

              case 3:
                for (e = 0; e < b; e++) for (h = this.description.rd(e), l = c.ma.Xa(h), k = 0; k < l; k++) d.setAttribute(h, k, this.ae(1, h, k));

                d.rb(this.R.v, this.R.A);
                break;

              default:
                throw c.g.wd();
            }
          };

          b.prototype.Gx = function (a, d) {
            var b = this.R.Gx(a);
            d.ka(b.x, b.y);
          };

          b.prototype.cT = function (a, d) {
            return d * (a.Er - 2);
          };

          b.prototype.JG = function (a, d, b) {
            if (this.R.u()) throw c.g.X("empty geometry");
            if (0 == d) return 0 != a ? 0 != b ? this.R.B : this.R.v : 0 != b ? this.R.A : this.R.o;
            if (b >= c.ma.Xa(d)) throw c.g.F();
            var e = this.description.mg(d);
            this.Yu();
            return 0 <= e ? this.la[this.cT(this.description, a) + this.description.FT(e) - 2 + b] : c.ma.de(d);
          };

          b.prototype.Yu = function () {
            this.Bc();

            if (null == this.la && 2 < this.description.af.length) {
              this.la = [];

              for (var a = b.$(this.description, 0), d = b.$(this.description, 1), f = 0, e = 1, h = this.description.Ga; e < h; e++) for (var l = this.description.rd(e), k = c.ma.Xa(l), l = c.ma.de(l), g = 0; g < k; g++) this.la[a + f] = l, this.la[d + f] = l, f++;
            }
          };

          b.prototype.mo = function (a) {
            if (null != this.la) if (2 < a.af.length) {
              for (var d = c.ye.vx(a, this.description), f = [], e = b.$(this.description, 0), h = b.$(this.description, 1), l = b.$(a, 0), k = b.$(a, 1), g = 0, w = 1, p = a.Ga; w < p; w++) {
                var q = a.rd(w),
                    t = c.ma.Xa(q);
                if (-1 == d[w]) for (var u = c.ma.de(q), q = 0; q < t; q++) f[l + g] = u, f[k + g] = u, g++;else for (u = this.description.xk(d[w]) - 2, q = 0; q < t; q++) f[l + g] = this.la[e + u], f[k + g] = this.la[h + u], g++, u++;
              }

              this.la = f;
            } else this.la = null;
            this.description = a;
          };

          b.prototype.ae = function (a, d, f) {
            if (this.R.u()) throw c.g.X("This operation was performed on an Empty Geometry.");
            if (0 == d) return 0 != a ? 0 != f ? this.R.B : this.R.v : 0 != f ? this.R.A : this.R.o;
            if (f >= c.ma.Xa(d)) throw c.g.wd();
            var e = this.description.mg(d);
            return 0 <= e ? (this.Yu(), this.la[b.$(this.description, a) + this.description.xk(e) - 2 + f]) : c.ma.de(d);
          };

          b.prototype.ME = function (a, d, f, e) {
            this.Bc();
            if (0 == d) 0 != a ? 0 != f ? this.R.B = e : this.R.v = e : 0 != f ? this.R.A = e : this.R.o = e;else {
              if (f >= c.ma.Xa(d)) throw c.g.wd();

              if (!this.hasAttribute(d)) {
                if (c.ma.PH(d, e)) return;
                this.Ud(d);
              }

              d = this.description.mg(d);
              this.Yu();
              this.la[b.$(this.description, a) + this.description.xk(d) - 2 + f] = e;
            }
          };

          b.$ = function (a, d) {
            return d * (a.af.length - 2);
          };

          b.prototype.Ma = function (a) {
            this.Bc();
            var d = new c.h();
            a.s(d);
            return this.R.Ma(d);
          };

          b.prototype.Yb = function (a) {
            return a instanceof c.h ? this.R.Yb(a) : this.R.Yb(a.R);
          };

          b.prototype.xv = function (a, d, b) {
            this.Bc();
            a.u() ? this.Oa() : void 0 !== d ? this.cv(a, d, b) : this.R.xv(a.Be(), a.nf());
          };

          b.prototype.offset = function (a, d) {
            this.Bc();
            this.R.offset(a, d);
          };

          b.prototype.normalize = function () {
            this.Bc();
            this.R.normalize();
          };

          b.prototype.Wf = function (a) {
            if (void 0 !== a) {
              if (a.Fg(this.description), this.u()) a.Oa();else {
                for (var d = this.description.Ga, b = 1; b < d; b++) for (var e = this.description.rd(b), h = c.ma.Xa(e), l = 0; l < h; l++) {
                  var k = .5 * (this.JG(0, e, l) + this.JG(1, e, l));
                  a.setAttribute(e, l, k);
                }

                a.rb(this.R.Wf());
              }
            } else {
              a = new c.Wa(this.description);
              if (this.u()) return a;
              d = this.description.Ga;

              for (b = 1; b < d; b++) for (e = this.description.Td(b), h = c.ma.Xa(e), l = 0; l < h; l++) k = .5 * (this.ae(0, e, l) + this.ae(1, e, l)), a.setAttribute(e, l, k);

              a.rb(this.R.Hk(), this.R.Cq());
              return a;
            }
          };

          b.prototype.Zz = function () {
            return new c.Wa(this.R.Zz());
          };

          b.prototype.contains = function (a) {
            return a instanceof c.Wa ? a.u() ? !1 : this.R.contains(a.Be(), a.nf()) : this.R.contains(a.R);
          };

          b.prototype.hR = function (a) {
            return this.R.contains(a);
          };

          b.prototype.Eb = function (a) {
            if (a == this) return !0;
            if (!(a instanceof b) || this.description != a.description) return !1;
            if (this.u()) return a.u() ? !0 : !1;
            if (!this.R.Eb(a.R)) return !1;

            for (var d = 0, f = 2 * (this.description.af.length - 2); d < f; d++) if (this.la[d] != a.la[d]) return !1;

            return !0;
          };

          b.prototype.jc = function () {
            var a = this.description.jc(),
                a = c.J.dh(a, this.R.jc());
            if (!this.u() && null != this.la) for (var d = 0, b = 2 * (this.description.af.length - 2); d < b; d++) a = c.J.dh(a, this.la[d]);
            return a;
          };

          b.prototype.Gg = function () {
            return c.Pi.Rm(this, null);
          };

          b.prototype.toString = function () {
            return this.u() ? "Envelope: []" : "Envelope: [" + this.R.o + ", " + this.R.A + ", " + this.R.v + ", " + this.R.B + "]";
          };

          return b;
        }(c.T);

        c.ci = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f) {
            void 0 === b ? this.Oa() : (this.o = b, this.A = a, this.v = d, this.B = f);
          }

          g.pa = function (b, a, d, f) {
            var e = new g();
            e.o = b;
            e.A = a;
            e.v = d;
            e.B = f;
            return e;
          };

          g.prototype.I = function (b, a, d, f) {
            "number" === typeof b ? void 0 !== d ? (this.o = b, this.A = a, this.v = d, this.B = f, this.normalize()) : (this.o = b, this.A = a, this.v = b, this.B = a) : b instanceof c.b ? void 0 !== a ? (this.o = b.x - .5 * a, this.v = this.o + a, this.A = b.y - .5 * d, this.B = this.A + d, this.normalize()) : (this.o = b.x, this.A = b.y, this.v = b.x, this.B = b.y) : b instanceof g ? this.I(b.o, b.A, b.v, b.B) : b instanceof c.Ac && (b.u() || a.u() ? this.Oa() : (this.o = b.ca, this.v = b.ha, this.A = a.ca, this.B = a.ha));
          };

          g.prototype.oT = function (b, a) {
            var d = new g();
            d.I(this.o, this.A, this.v, this.B);
            d.O(b, a);
            return d;
          };

          g.prototype.Mx = function (b, a) {
            if (void 0 !== a) {
              if (0 == a) this.Oa();else {
                this.o = b[0].x;
                this.A = b[0].y;
                this.v = this.o;
                this.B = this.A;

                for (var d = 1; d < a; d++) {
                  var f = b[d];
                  f.x < this.o ? this.o = f.x : f.x > this.v && (this.v = f.x);
                  f.y < this.A ? this.A = f.y : f.y > this.B && (this.B = f.y);
                }
              }
            } else if (null == b || 0 == b.length) this.Oa();else for (f = b[0], this.I(f.x, f.y), d = 1; d < b.length; d++) f = b[d], this.ml(f.x, f.y);
          };

          g.prototype.Oa = function () {
            this.B = this.v = this.A = this.o = NaN;
          };

          g.prototype.u = function () {
            return isNaN(this.o);
          };

          g.prototype.Nb = function (b, a) {
            "number" === typeof b ? this.u() ? (this.o = b, this.A = a, this.v = b, this.B = a) : (this.o > b ? this.o = b : this.v < b && (this.v = b), this.A > a ? this.A = a : this.B < a && (this.B = a)) : b instanceof c.b ? this.Nb(b.x, b.y) : b instanceof c.qd ? this.Nb(b.x, b.y) : b instanceof g && !b.u() && (this.Nb(b.o, b.A), this.Nb(b.v, b.B));
          };

          g.prototype.ml = function (b, a) {
            this.o > b ? this.o = b : this.v < b && (this.v = b);
            this.A > a ? this.A = a : this.B < a && (this.B = a);
          };

          g.prototype.O = function (b, a) {
            this.u() || (this.o -= b, this.v += b, this.A -= a, this.B += a, (this.o > this.v || this.A > this.B) && this.Oa());
          };

          g.prototype.scale = function (b) {
            0 > b && this.Oa();
            this.u() || (this.o *= b, this.v *= b, this.A *= b, this.B *= b);
          };

          g.prototype.Yb = function (b) {
            return !this.u() && !b.u() && (this.o <= b.o ? this.v >= b.o : b.v >= this.o) && (this.A <= b.A ? this.B >= b.A : b.B >= this.A);
          };

          g.prototype.TH = function (b) {
            return (this.o <= b.o ? this.v >= b.o : b.v >= this.o) && (this.A <= b.A ? this.B >= b.A : b.B >= this.A);
          };

          g.prototype.Ma = function (b) {
            if (this.u() || b.u()) return !1;
            b.o > this.o && (this.o = b.o);
            b.v < this.v && (this.v = b.v);
            b.A > this.A && (this.A = b.A);
            b.B < this.B && (this.B = b.B);
            (b = this.o <= this.v && this.A <= this.B) || this.Oa();
            return b;
          };

          g.prototype.Gx = function (b) {
            switch (b) {
              case 0:
                return c.b.pa(this.o, this.A);

              case 1:
                return c.b.pa(this.o, this.B);

              case 2:
                return c.b.pa(this.v, this.B);

              case 3:
                return c.b.pa(this.v, this.A);

              default:
                throw c.g.wd();
            }
          };

          g.prototype.QB = function (b) {
            if (null == b || 4 > b.length) throw c.g.F();
            null != b[0] ? b[0].ka(this.o, this.A) : b[0] = c.b.pa(this.o, this.A);
            null != b[1] ? b[1].ka(this.o, this.B) : b[1] = c.b.pa(this.o, this.B);
            null != b[2] ? b[2].ka(this.v, this.B) : b[2] = c.b.pa(this.v, this.B);
            null != b[3] ? b[3].ka(this.v, this.A) : b[3] = c.b.pa(this.v, this.A);
          };

          g.prototype.IG = function () {
            return this.u() ? 0 : this.N() * this.fa();
          };

          g.prototype.ZG = function () {
            return this.u() ? 0 : 2 * (this.N() + this.fa());
          };

          g.prototype.Hk = function () {
            return (this.v + this.o) / 2;
          };

          g.prototype.Cq = function () {
            return (this.B + this.A) / 2;
          };

          g.prototype.N = function () {
            return this.v - this.o;
          };

          g.prototype.fa = function () {
            return this.B - this.A;
          };

          g.prototype.move = function (b, a) {
            this.u() || (this.o += b, this.A += a, this.v += b, this.B += a);
          };

          g.prototype.xv = function (b, a) {
            if (void 0 !== a) this.move(b - this.Hk(), a - this.Cq());else if (b instanceof c.b) this.xv(b.x, b.y);else if (b instanceof c.Wa) {
              var d = (this.v - this.o) / 2,
                  f = (this.B - this.A) / 2;
              this.o = b.Be() - d;
              this.v = b.Be() + d;
              this.A = b.nf() - f;
              this.B = b.nf() + f;
            } else throw c.g.F();
          };

          g.prototype.offset = function (b, a) {
            this.o += b;
            this.v += b;
            this.A += a;
            this.B += a;
          };

          g.prototype.normalize = function () {
            if (!this.u()) {
              var b = Math.min(this.o, this.v),
                  a = Math.max(this.o, this.v);
              this.o = b;
              this.v = a;
              b = Math.min(this.A, this.B);
              a = Math.max(this.A, this.B);
              this.A = b;
              this.B = a;
            }
          };

          g.prototype.Tn = function (b) {
            b.ka(this.o, this.A);
          };

          g.prototype.TJ = function (b) {
            b.ka(this.v, this.A);
          };

          g.prototype.WJ = function (b) {
            b.ka(this.o, this.B);
          };

          g.prototype.Un = function (b) {
            b.ka(this.v, this.B);
          };

          g.prototype.$U = function () {
            return this.u() || this.o <= this.v && this.A <= this.B;
          };

          g.prototype.Wf = function () {
            return c.b.pa((this.v + this.o) / 2, (this.B + this.A) / 2);
          };

          g.prototype.Zz = function () {
            return c.b.pa(this.o, this.A);
          };

          g.prototype.contains = function (b, a) {
            if (void 0 !== a) return b >= this.o && b <= this.v && a >= this.A && a <= this.B;
            if (b instanceof c.Wa) return this.contains(b.Be(), b.nf());
            if (b instanceof c.b) return this.contains(b.x, b.y);
            if (b instanceof g) return b.o >= this.o && b.v <= this.v && b.A >= this.A && b.B <= this.B;
            throw c.g.F();
          };

          g.prototype.Tm = function (b, a) {
            if (void 0 !== a) return b > this.o && b < this.v && a > this.A && a < this.B;
            if (b instanceof c.b) return this.Tm(b.x, b.y);
            if (b instanceof g) return b.o > this.o && b.v < this.v && b.A > this.A && b.B < this.B;
            throw c.g.F();
          };

          g.prototype.Eb = function (b) {
            return b == this ? !0 : b instanceof g ? this.u() && b.u() ? !0 : this.o != b.o || this.A != b.A || this.v != b.v || this.B != b.B ? !1 : !0 : !1;
          };

          g.prototype.jc = function () {
            var b = this.o,
                b = c.J.truncate(b ^ b >>> 32),
                a = c.J.dh(b),
                b = this.v,
                b = c.J.truncate(b ^ b >>> 32),
                a = c.J.dh(b, a),
                b = this.A,
                b = c.J.truncate(b ^ b >>> 32),
                a = c.J.dh(b, a),
                b = this.B,
                b = c.J.truncate(b ^ b >>> 32);
            return a = c.J.dh(b, a);
          };

          g.prototype.Ny = function (b) {
            var a = new c.b();
            a.L(b);
            if (a.Hy()) return a;
            if (this.u()) return a.dv(), a;
            a.x < this.o ? a.x = this.o : a.x > this.v && (a.x = this.v);
            a.y < this.A ? a.y = this.A : a.y > this.B && (a.y = this.B);
            if (!a.Eb(b)) return a;
            b = this.Wf();
            (a.x < b.x ? a.x - this.o : this.v - a.x) < (a.y < b.y ? a.y - this.A : this.B - a.y) ? a.x = a.x < b.x ? this.o : this.v : a.y = a.y < b.y ? this.A : this.B;
            return a;
          };

          g.prototype.Wu = function (b) {
            if (this.u()) return NaN;
            if (b.x == this.o) return b.y - this.A;
            var a = this.B - this.A,
                d = this.v - this.o;
            return b.y == this.B ? a + b.x - this.o : b.x == this.v ? a + d + this.B - b.y : b.y == this.A ? 2 * a + d + this.v - b.x : this.Wu(this.Ny(b));
          };

          g.prototype.AE = function (b) {
            if (this.u()) return -1;
            b = this.Wu(b);
            var a = this.B - this.A,
                d = this.v - this.o;
            return b < a ? 0 : (b -= a) < d ? 1 : b - d < a ? 2 : 3;
          };

          g.prototype.no = function () {
            return this.u() ? 2.220446049250313E-14 : 2.220446049250313E-14 * (Math.abs(this.o) + Math.abs(this.v) + Math.abs(this.A) + Math.abs(this.B) + 1);
          };

          g.prototype.gz = function (b, a) {
            var d = this.wk(b),
                f = this.wk(a);
            if (0 != (d & f)) return 0;
            if (0 == (d | f)) return 4;
            var e = (0 != d ? 1 : 0) | (0 != f ? 2 : 0);

            do {
              var c = a.x - b.x,
                  l = a.y - b.y;
              c > l ? 0 != (d & g.bd) ? (0 != (d & g.Bb) ? (b.y += l * (this.o - b.x) / c, b.x = this.o) : (b.y += l * (this.v - b.x) / c, b.x = this.v), d = this.wk(b)) : 0 != (f & g.bd) ? (0 != (f & g.Bb) ? (a.y += l * (this.o - a.x) / c, a.x = this.o) : (a.y += l * (this.v - a.x) / c, a.x = this.v), f = this.wk(a)) : 0 != d ? (0 != (d & g.tc) ? (b.x += c * (this.A - b.y) / l, b.y = this.A) : (b.x += c * (this.B - b.y) / l, b.y = this.B), d = this.wk(b)) : (0 != (f & g.tc) ? (a.x += c * (this.A - a.y) / l, a.y = this.A) : (a.x += c * (this.B - a.y) / l, a.y = this.B), f = this.wk(a)) : 0 != (d & g.fe) ? (0 != (d & g.tc) ? (b.x += c * (this.A - b.y) / l, b.y = this.A) : (b.x += c * (this.B - b.y) / l, b.y = this.B), d = this.wk(b)) : 0 != (f & g.fe) ? (0 != (f & g.tc) ? (a.x += c * (this.A - a.y) / l, a.y = this.A) : (a.x += c * (this.B - a.y) / l, a.y = this.B), f = this.wk(a)) : 0 != d ? (0 != (d & g.Bb) ? (b.y += l * (this.o - b.x) / c, b.x = this.o) : (b.y += l * (this.v - b.x) / c, b.x = this.v), d = this.wk(b)) : (0 != (f & g.Bb) ? (a.y += l * (this.o - a.x) / c, a.x = this.o) : (a.y += l * (this.v - a.x) / c, a.x = this.v), f = this.wk(a));
              if (0 != (d & f)) return 0;
            } while (0 != (d | f));

            return e;
          };

          g.prototype.wk = function (b) {
            return (b.x < this.o ? 1 : 0) | (b.x > this.v ? 1 : 0) << 1 | (b.y < this.A ? 1 : 0) << 2 | (b.y > this.B ? 1 : 0) << 3;
          };

          g.prototype.fh = function (b) {
            return !this.u() && (this.N() <= b || this.fa() <= b);
          };

          g.prototype.Cb = function (b) {
            return b instanceof c.b ? Math.sqrt(this.ZK(b)) : Math.sqrt(this.Zx(b));
          };

          g.prototype.Zx = function (b) {
            var a = 0,
                d = 0,
                f;
            f = this.o - b.v;
            f > a && (a = f);
            f = this.A - b.B;
            f > d && (d = f);
            f = b.o - this.v;
            f > a && (a = f);
            f = b.A - this.B;
            f > d && (d = f);
            return a * a + d * d;
          };

          g.prototype.ZK = function (b) {
            var a = 0,
                d = 0,
                f;
            f = this.o - b.x;
            f > a && (a = f);
            f = this.A - b.y;
            f > d && (d = f);
            f = b.x - this.v;
            f > a && (a = f);
            f = b.y - this.B;
            f > d && (d = f);
            return a * a + d * d;
          };

          g.prototype.Sn = function (b) {
            this.u() ? b.Oa() : b.I(this.o, this.v);
          };

          g.DO = function (b, a, d, f) {
            var e = 1;
            isNaN(b) || (e += Math.abs(b));
            isNaN(a) || (e += Math.abs(a));
            isNaN(d) || (e += Math.abs(d));
            isNaN(f) || (e += Math.abs(f));
            return 2.220446049250313E-14 * e;
          };

          g.Bb = 1;
          g.tc = 4;
          g.bd = 3;
          g.fe = 12;
          return g;
        }();

        c.h = n;
      })(r || (r = {}));

      (function (c) {
        var n;

        (function (b) {
          b[b.initialize = 0] = "initialize";
          b[b.initializeRed = 1] = "initializeRed";
          b[b.initializeBlue = 2] = "initializeBlue";
          b[b.initializeRedBlue = 3] = "initializeRedBlue";
          b[b.sweep = 4] = "sweep";
          b[b.sweepBruteForce = 5] = "sweepBruteForce";
          b[b.sweepRedBlueBruteForce = 6] = "sweepRedBlueBruteForce";
          b[b.sweepRedBlue = 7] = "sweepRedBlue";
          b[b.sweepRed = 8] = "sweepRed";
          b[b.sweepBlue = 9] = "sweepBlue";
          b[b.iterate = 10] = "iterate";
          b[b.iterateRed = 11] = "iterateRed";
          b[b.iterateBlue = 12] = "iterateBlue";
          b[b.iterateBruteForce = 13] = "iterateBruteForce";
          b[b.iterateRedBlueBruteForce = 14] = "iterateRedBlueBruteForce";
          b[b.resetRed = 15] = "resetRed";
          b[b.resetBlue = 16] = "resetBlue";
        })(n || (n = {}));

        var g = function () {
          function b(a, d) {
            this.Ci = a;
            this.pI = d;
          }

          b.prototype.hs = function (a, d, b) {
            this.Ci.EY(b, a, d, this.pI);
          };

          b.prototype.Qq = function (a) {
            return this.Ci.Ms(a, this.pI);
          };

          return b;
        }();

        n = function () {
          function b() {
            this.ax = this.bp = this.If = this.Bd = null;
            this.lr = new c.h();
            this.on = this.ck = this.dk = this.Qd = this.fg = this.Yd = this.Qw = this.Uo = this.Ad = this.Lb = null;
            this.Zb = -1;
            this.ta = 0;
            this.ql();
          }

          b.prototype.cs = function () {
            this.ql();
            this.Bw = !0;
            null == this.Lb ? (this.Uo = new c.ia(0), this.Lb = []) : (this.Uo.yf(0), this.Lb.length = 0);
          };

          b.prototype.jd = function (a, d) {
            if (!this.Bw) throw c.g.Da();
            var b = new c.h();
            b.I(d);
            this.Uo.add(a);
            this.Lb.push(b);
          };

          b.prototype.yq = function () {
            if (!this.Bw) throw c.g.Da();
            this.Bw = !1;
            null != this.Lb && 0 < this.Lb.length && (this.Zb = 0, this.Pc = !1);
          };

          b.prototype.bL = function () {
            this.ql();
            this.Aw = !0;
            null == this.Lb ? (this.Uo = new c.ia(0), this.Lb = []) : (this.Uo.yf(0), this.Lb.length = 0);
          };

          b.prototype.$E = function (a, d) {
            if (!this.Aw) throw c.g.Da();
            var b = new c.h();
            b.I(d);
            this.Uo.add(a);
            this.Lb.push(b);
          };

          b.prototype.uG = function () {
            if (!this.Aw) throw c.g.Da();
            this.Aw = !1;
            null != this.Lb && 0 < this.Lb.length && null != this.Ad && 0 < this.Ad.length && (-1 == this.Zb ? this.Zb = 3 : 2 == this.Zb ? this.Zb = 3 : 3 != this.Zb && (this.Zb = 1), this.Pc = !1);
          };

          b.prototype.aL = function () {
            this.ql();
            this.zw = !0;
            null == this.Ad ? (this.Qw = new c.ia(0), this.Ad = []) : (this.Qw.yf(0), this.Ad.length = 0);
          };

          b.prototype.WE = function (a, d) {
            if (!this.zw) throw c.g.Da();
            var b = new c.h();
            b.I(d);
            this.Qw.add(a);
            this.Ad.push(b);
          };

          b.prototype.tG = function () {
            if (!this.zw) throw c.g.Da();
            this.zw = !1;
            null != this.Lb && 0 < this.Lb.length && null != this.Ad && 0 < this.Ad.length && (-1 == this.Zb ? this.Zb = 3 : 1 == this.Zb ? this.Zb = 3 : 3 != this.Zb && (this.Zb = 2), this.Pc = !1);
          };

          b.prototype.next = function () {
            if (this.Pc) return !1;

            for (var a = !0; a;) switch (this.Zb) {
              case 0:
                a = this.rA();
                break;

              case 1:
                a = this.nU();
                break;

              case 2:
                a = this.kU();
                break;

              case 3:
                a = this.mU();
                break;

              case 4:
                a = this.OY();
                break;

              case 5:
                a = this.KY();
                break;

              case 6:
                a = this.LY();
                break;

              case 7:
                a = this.MY();
                break;

              case 8:
                a = this.by();
                break;

              case 9:
                a = this.GC();
                break;

              case 10:
                a = this.DA();
                break;

              case 11:
                a = this.dV();
                break;

              case 12:
                a = this.aV();
                break;

              case 13:
                a = this.bV();
                break;

              case 14:
                a = this.cV();
                break;

              case 15:
                a = this.$J();
                break;

              case 16:
                a = this.ZJ();
                break;

              default:
                throw c.g.za();
            }

            return this.Pc ? !1 : !0;
          };

          b.prototype.zC = function (a) {
            this.ta = a;
          };

          b.prototype.fA = function (a) {
            return this.Lb[a];
          };

          b.prototype.Jz = function (a) {
            return this.Ad[a];
          };

          b.prototype.Ql = function (a) {
            return this.Uo.read(a);
          };

          b.prototype.Ml = function (a) {
            return this.Qw.read(a);
          };

          b.KB = function (a) {
            return 1 == (a & 1);
          };

          b.Gm = function (a) {
            return 0 == (a & 1);
          };

          b.prototype.ql = function () {
            this.Bw = this.zw = this.Aw = !1;
            this.dg = this.eg = this.nh = this.Ne = -1;
            this.Pc = !0;
          };

          b.prototype.rA = function () {
            this.bg = this.sg = -1;
            if (10 > this.Lb.length) return this.Ne = this.Lb.length, this.Zb = 5, !0;
            null == this.Bd && (this.Bd = new c.ns(!0), this.bp = this.Bd.mf(), this.Yd = new c.ia(0));
            this.Bd.cs();

            for (var a = 0; a < this.Lb.length; a++) {
              var d = this.Lb[a];
              this.Bd.zs(d.o, d.v);
            }

            this.Bd.yq();
            this.Yd.yb(2 * this.Lb.length);
            this.Yd.resize(0);

            for (a = 0; a < 2 * this.Lb.length; a++) this.Yd.add(a);

            this.yu(this.Yd, 2 * this.Lb.length, !0);
            this.Ne = 2 * this.Lb.length;
            this.Zb = 4;
            return !0;
          };

          b.prototype.nU = function () {
            this.bg = this.sg = -1;
            if (10 > this.Lb.length || 10 > this.Ad.length) return this.Ne = this.Lb.length, this.Zb = 6, !0;
            null == this.Bd && (this.Bd = new c.ns(!0), this.bp = this.Bd.mf(), this.Yd = new c.ia(0));
            this.Bd.cs();

            for (var a = 0; a < this.Lb.length; a++) {
              var d = this.Lb[a];
              this.Bd.zs(d.o, d.v);
            }

            this.Bd.yq();
            this.Yd.yb(2 * this.Lb.length);
            this.Yd.resize(0);

            for (a = 0; a < 2 * this.Lb.length; a++) this.Yd.add(a);

            this.yu(this.Yd, this.Yd.size, !0);
            this.Ne = this.Yd.size;
            -1 != this.eg && (this.Qd.zh(this.eg), this.dk.resize(0), this.eg = -1);
            this.Zb = 7;
            return this.ZJ();
          };

          b.prototype.kU = function () {
            this.bg = this.sg = -1;
            if (10 > this.Lb.length || 10 > this.Ad.length) return this.Ne = this.Lb.length, this.Zb = 6, !0;
            null == this.If && (this.If = new c.ns(!0), this.ax = this.If.mf(), this.fg = new c.ia(0));
            this.If.cs();

            for (var a = 0; a < this.Ad.length; a++) {
              var d = this.Ad[a];
              this.If.zs(d.o, d.v);
            }

            this.If.yq();
            this.fg.yb(2 * this.Ad.length);
            this.fg.resize(0);

            for (a = 0; a < 2 * this.Ad.length; a++) this.fg.add(a);

            this.yu(this.fg, this.fg.size, !1);
            this.nh = this.fg.size;
            -1 != this.dg && (this.Qd.zh(this.dg), this.ck.resize(0), this.dg = -1);
            this.Zb = 7;
            return this.$J();
          };

          b.prototype.mU = function () {
            this.bg = this.sg = -1;
            if (10 > this.Lb.length || 10 > this.Ad.length) return this.Ne = this.Lb.length, this.Zb = 6, !0;
            null == this.Bd && (this.Bd = new c.ns(!0), this.bp = this.Bd.mf(), this.Yd = new c.ia(0));
            null == this.If && (this.If = new c.ns(!0), this.ax = this.If.mf(), this.fg = new c.ia(0));
            this.Bd.cs();

            for (var a = 0; a < this.Lb.length; a++) {
              var d = this.Lb[a];
              this.Bd.zs(d.o, d.v);
            }

            this.Bd.yq();
            this.If.cs();

            for (a = 0; a < this.Ad.length; a++) d = this.Ad[a], this.If.zs(d.o, d.v);

            this.If.yq();
            this.Yd.yb(2 * this.Lb.length);
            this.fg.yb(2 * this.Ad.length);
            this.Yd.resize(0);
            this.fg.resize(0);

            for (a = 0; a < 2 * this.Lb.length; a++) this.Yd.add(a);

            for (a = 0; a < 2 * this.Ad.length; a++) this.fg.add(a);

            this.yu(this.Yd, this.Yd.size, !0);
            this.yu(this.fg, this.fg.size, !1);
            this.Ne = this.Yd.size;
            this.nh = this.fg.size;
            -1 != this.eg && (this.Qd.zh(this.eg), this.dk.resize(0), this.eg = -1);
            -1 != this.dg && (this.Qd.zh(this.dg), this.ck.resize(0), this.dg = -1);
            this.Zb = 7;
            return !0;
          };

          b.prototype.OY = function () {
            var a = this.Yd.get(--this.Ne),
                d = a >> 1;
            if (b.Gm(a)) return this.Bd.remove(d), 0 == this.Ne ? (this.bg = this.sg = -1, this.Pc = !0, !1) : !0;
            this.bp.eC(this.Lb[d].o, this.Lb[d].v, this.ta);
            this.sg = d;
            this.Zb = 10;
            return !0;
          };

          b.prototype.KY = function () {
            if (-1 == --this.Ne) return this.bg = this.sg = -1, this.Pc = !0, !1;
            this.nh = this.sg = this.Ne;
            this.Zb = 13;
            return !0;
          };

          b.prototype.LY = function () {
            if (-1 == --this.Ne) return this.bg = this.sg = -1, this.Pc = !0, !1;
            this.sg = this.Ne;
            this.nh = this.Ad.length;
            this.Zb = 14;
            return !0;
          };

          b.prototype.MY = function () {
            var a = this.Yd.get(this.Ne - 1),
                d = this.fg.get(this.nh - 1),
                f = this.Ms(a, !0),
                e = this.Ms(d, !1);
            return f > e ? this.by() : f < e ? this.GC() : b.KB(a) ? this.by() : b.KB(d) ? this.GC() : this.by();
          };

          b.prototype.by = function () {
            var a = this.Yd.get(--this.Ne),
                d = a >> 1;
            if (b.Gm(a)) return -1 != this.eg && -1 != this.dk.get(d) ? (this.Qd.kd(this.eg, this.dk.get(d)), this.dk.set(d, -1)) : this.Bd.remove(d), 0 == this.Ne ? (this.bg = this.sg = -1, this.Pc = !0, !1) : !0;
            if (-1 != this.dg && 0 < this.Qd.at(this.dg)) for (a = this.Qd.xc(this.dg); -1 != a;) {
              var f = this.Qd.getData(a);
              this.If.eh(f);
              this.ck.set(f, -1);
              f = this.Qd.nb(a);
              this.Qd.kd(this.dg, a);
              a = f;
            }
            0 < this.If.size() ? (this.ax.eC(this.Lb[d].o, this.Lb[d].v, this.ta), this.sg = d, this.Zb = 12) : (-1 == this.eg && (null == this.Qd && (this.Qd = new c.Xp()), this.dk = new c.ia(0), this.dk.resize(this.Lb.length, -1), this.dk.Zh(-1, 0, this.Lb.length), this.eg = this.Qd.mi(1)), this.dk.set(d, this.Qd.addElement(this.eg, d)), this.Zb = 7);
            return !0;
          };

          b.prototype.GC = function () {
            var a = this.fg.get(--this.nh),
                d = a >> 1;
            if (b.Gm(a)) return -1 != this.dg && -1 != this.ck.get(d) ? (this.Qd.kd(this.dg, this.ck.get(d)), this.ck.set(d, -1)) : this.If.remove(d), 0 == this.nh ? (this.bg = this.sg = -1, this.Pc = !0, !1) : !0;
            if (-1 != this.eg && 0 < this.Qd.at(this.eg)) for (a = this.Qd.xc(this.eg); -1 != a;) {
              var f = this.Qd.getData(a);
              this.Bd.eh(f);
              this.dk.set(f, -1);
              f = this.Qd.nb(a);
              this.Qd.kd(this.eg, a);
              a = f;
            }
            0 < this.Bd.size() ? (this.bp.eC(this.Ad[d].o, this.Ad[d].v, this.ta), this.bg = d, this.Zb = 11) : (-1 == this.dg && (null == this.Qd && (this.Qd = new c.Xp()), this.ck = new c.ia(0), this.ck.resize(this.Ad.length, -1), this.ck.Zh(-1, 0, this.Ad.length), this.dg = this.Qd.mi(0)), this.ck.set(d, this.Qd.addElement(this.dg, d)), this.Zb = 7);
            return !0;
          };

          b.prototype.DA = function () {
            this.bg = this.bp.next();
            if (-1 != this.bg) return !1;
            var a = this.Yd.get(this.Ne) >> 1;
            this.Bd.eh(a);
            this.Zb = 4;
            return !0;
          };

          b.prototype.dV = function () {
            this.sg = this.bp.next();
            if (-1 != this.sg) return !1;
            this.bg = this.sg = -1;
            var a = this.fg.get(this.nh) >> 1;
            this.If.eh(a);
            this.Zb = 7;
            return !0;
          };

          b.prototype.aV = function () {
            this.bg = this.ax.next();
            if (-1 != this.bg) return !1;
            var a = this.Yd.get(this.Ne) >> 1;
            this.Bd.eh(a);
            this.Zb = 7;
            return !0;
          };

          b.prototype.bV = function () {
            if (-1 == --this.nh) return this.Zb = 5, !0;
            this.lr.I(this.Lb[this.Ne]);
            var a = this.Lb[this.nh];
            this.lr.O(this.ta, this.ta);
            return this.lr.Yb(a) ? (this.bg = this.nh, !1) : !0;
          };

          b.prototype.cV = function () {
            if (-1 == --this.nh) return this.Zb = 6, !0;
            this.lr.I(this.Lb[this.Ne]);
            var a = this.Ad[this.nh];
            this.lr.O(this.ta, this.ta);
            return this.lr.Yb(a) ? (this.bg = this.nh, !1) : !0;
          };

          b.prototype.$J = function () {
            if (null == this.Bd) return this.Pc = !0, !1;
            this.Ne = this.Yd.size;
            0 < this.Bd.size() && this.Bd.reset();
            -1 != this.eg && (this.Qd.zh(this.eg), this.dk.resize(0), this.eg = -1);
            this.Pc = !1;
            return !0;
          };

          b.prototype.ZJ = function () {
            if (null == this.If) return this.Pc = !0, !1;
            this.nh = this.fg.size;
            0 < this.If.size() && this.If.reset();
            -1 != this.dg && (this.Qd.zh(this.dg), this.ck.resize(0), this.dg = -1);
            this.Pc = !1;
            return !0;
          };

          b.prototype.yu = function (a, d, b) {
            null == this.on && (this.on = new c.Hu());
            b = new g(this, b);
            this.on.sort(a, 0, d, b);
          };

          b.prototype.EY = function (a, d, f, e) {
            var c = this;
            a.Gd(d, f, function (a, d) {
              var f = c.Ms(a, e),
                  g = c.Ms(d, e);
              return f < g || f == g && b.Gm(a) && b.KB(d) ? -1 : 1;
            });
          };

          b.prototype.Ms = function (a, d) {
            var f = .5 * this.ta;

            if (d) {
              var e = this.Lb[a >> 1];
              return f = b.Gm(a) ? e.A - f : e.B + f;
            }

            e = this.Ad[a >> 1];
            return f = b.Gm(a) ? e.A - f : e.B + f;
          };

          return b;
        }();

        c.gD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.pa = function (b, a, d, f, e, c) {
            var l = new g();
            l.o = b;
            l.A = a;
            l.Bf = d;
            l.v = f;
            l.B = e;
            l.$g = c;
            return l;
          };

          g.prototype.Oa = function () {
            this.Bf = this.o = NaN;
          };

          g.prototype.u = function () {
            return isNaN(this.o);
          };

          g.prototype.RU = function () {
            return isNaN(this.Bf);
          };

          g.prototype.I = function (b, a, d, f, e, c) {
            void 0 !== f ? "number" === typeof b ? (this.o = b, this.A = a, this.Bf = d, this.v = f, this.B = e, this.$g = c) : (this.o = b.x - .5 * a, this.v = this.o + a, this.A = b.y - .5 * d, this.B = this.A + d, this.Bf = b.z - .5 * f, this.$g = this.Bf + f) : (this.o = b, this.A = a, this.Bf = d, this.v = b, this.B = a, this.$g = d);
          };

          g.prototype.move = function (b) {
            this.o += b.x;
            this.A += b.y;
            this.Bf += b.z;
            this.v += b.x;
            this.B += b.y;
            this.$g += b.z;
          };

          g.prototype.copyTo = function (b) {
            b.o = this.o;
            b.A = this.A;
            b.v = this.v;
            b.B = this.B;
          };

          g.prototype.ml = function (b, a, d) {
            this.o > b ? this.o = b : this.v < b && (this.v = b);
            this.A > a ? this.A = a : this.B < a && (this.B = a);
            0 == isNaN(this.Bf) ? this.Bf > d ? this.Bf = d : this.$g < d && (this.$g = d) : this.$g = this.Bf = d;
          };

          g.prototype.Nb = function (b, a, d, f, e, h) {
            if ("number" === typeof b) f ? (this.Nb(b, a, d), this.Nb(f, e, h)) : this.u() ? (this.o = b, this.A = a, this.Bf = d, this.v = b, this.B = a, this.$g = d) : this.ml(b, a, d);else if (b instanceof c.qd) this.Nb(b.x, b.y, b.z);else if (b instanceof g) b.u() || (this.Nb(b.o, b.A, b.Bf), this.Nb(b.v, b.B, b.$g));else throw c.g.F();
          };

          g.prototype.pa = function (b, a, d) {
            b.u() || a.u() ? this.Oa() : (this.o = b.ca, this.v = b.ha, this.A = a.ca, this.B = a.ha, this.Bf = d.ca, this.$g = d.ha);
          };

          g.prototype.QB = function (b) {
            if (null == b || 8 > b.length) throw c.g.F();
            b[0] = new c.qd(this.o, this.A, this.Bf);
            b[1] = new c.qd(this.o, this.B, this.Bf);
            b[2] = new c.qd(this.v, this.B, this.Bf);
            b[3] = new c.qd(this.v, this.A, this.Bf);
            b[4] = new c.qd(this.o, this.A, this.$g);
            b[5] = new c.qd(this.o, this.B, this.$g);
            b[6] = new c.qd(this.v, this.B, this.$g);
            b[7] = new c.qd(this.v, this.A, this.$g);
          };

          g.prototype.Mx = function (b) {
            if (null == b || 0 == b.length) this.Oa();else {
              var a = b[0];
              this.I(a.x, a.y, a.z);

              for (a = 1; a < b.length; a++) {
                var d = b[a];
                this.ml(d.x, d.y, d.z);
              }
            }
          };

          return g;
        }();

        c.eM = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c.za = function () {
            var c = Error();
            c.message = "Internal Error";
            return c;
          };

          c.df = function () {
            var c = Error();
            c.message = "Not Implemented";
            return c;
          };

          c.vk = function () {
            var c = Error();
            c.message = "The input unit and the spatial reference unit are not of the same unit type.ie Linear vs.Angular";
            return c;
          };

          c.Da = function () {
            var c = Error();
            c.message = "Invalid Call";
            return c;
          };

          c.F = function (c) {
            var b = Error();
            b.message = "Illegal Argument Exception";
            void 0 !== c && (b.message += ": " + c);
            return b;
          };

          c.UN = function () {
            var c = Error();
            c.message = "Runtime Exception.";
            return c;
          };

          c.X = function (c) {
            var b = Error();
            b.message = "Geometry Exception: " + c;
            return b;
          };

          c.KL = function () {
            var c = Error();
            c.message = "Assert Failed Exception";
            return c;
          };

          c.wd = function () {
            var c = Error();
            c.message = "IndexOutOfBoundsException";
            return c;
          };

          c.n_ = function (c) {
            c.message = "UserCancelException";
            return c;
          };
        })(c.g || (c.g = {}));
      })(r || (r = {}));

      (function (c) {
        c = c.Om || (c.Om = {});
        c[c.forward = 0] = "forward";
        c[c.reverse = 1] = "reverse";
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a(a, b) {
            this.$a = a;
            this.VI = b;
            this.ZI = -1;
            this.Wl = !1;
          }

          a.prototype.Re = function () {
            return !0;
          };

          a.prototype.next = function () {
            if (++this.ZI == this.VI.D()) return null;
            var a = this.VI.Ba(this.ZI);
            a.scale(this.$a.mc);
            var b = new c.Ja();
            this.$a.Yy(a, this.Wl, b);
            return b;
          };

          a.prototype.Ia = function () {
            return 0;
          };

          return a;
        }(),
            g = function () {
          function a(a, b, e) {
            this.$a = a;
            this.ex = b;
            this.Mo = !1;
            this.So = e;
            this.Pw = [0];
            this.Uk = [0];
            this.gk = [0];
            this.Ct = [0];
            this.Wl = !1;
            this.fr = new c.Ja();
            this.Wk = [];
          }

          a.prototype.Re = function () {
            return !0;
          };

          a.prototype.next = function () {
            if (this.Mo) {
              this.Mo = !1;
              this.Cd.ba();
              var a = c.T.oe(this.fr);
              return a = c.Dg.ol(a, this.$a.pr, !0, !0, this.$a.lc);
            }

            null == this.Cd && (this.Cd = this.ex.Fa(), this.Cd.Ya(), null != this.So && this.So.Bl(null, 0));

            if (!this.Cd.Ea()) {
              if (!this.Cd.Ya()) return null;
              null != this.So && this.So.Bl(null, 0);
            }

            a = null;
            this.Uk[0] = 0;
            this.mB = this.Pw[0] = 0;
            this.Di = NaN;
            this.Mo = !1;

            for (var f = this.Wk.length = 0, e = new c.b(), h = new c.b(), l = [0]; this.Cd.Ea() && 8 > this.mB;) {
              var k = this.Cd.ba();
              e.L(k.ec());
              h.L(k.Cc());
              e.scale(this.$a.mc);
              h.scale(this.$a.mc);
              c.Ej.Bv(e, h) ? e.x = h.x : c.Ej.zv(e, h) && (h.x = e.x);
              this.Wk.length = 0;
              c.Ej.GG(this.$a.Vb, this.$a.rc, this.$a.$e, e, h, this.$a.wB, this.$a.Tt, l, this.gk, this.Ct, this.Wk, this.Pw);
              null != this.So && (k = this.Wk.slice(0), this.So.EH(this.So.aa() - 1, k, k.length - 1));
              c.Ej.Av(e, h) ? (this.fr.Oa(), this.$a.Yy(e, this.Wl, this.fr), this.Mo = !0) : (this.fr.Oa(), this.Mo = this.dz(l[0], this.fr));

              if (this.Mo) {
                this.Cd.Li();

                if (this.Cd.pA()) {
                  this.Cd.Li();
                  this.Cd.ba();
                  break;
                }

                this.Cd.AX();
                break;
              }

              null == a && (a = new c.Ja(), a.Bl(null, 0));
              this.eF(a);
              f++;
            }

            this.Pw[0] = 0;

            if (0 < f) {
              for (l = this.Cd.Db(); 0 < f;) this.Cd.Li(), e.L(this.ex.Ba(this.Cd.Db())), h.L(this.ex.Ba(this.Cd.Jk())), e.scale(this.$a.mc), h.scale(this.$a.mc), this.Wl && (c.Ej.Bv(e, h) ? e.x = h.x : c.Ej.zv(e, h) && (h.x = e.x)), this.Wk.length = 0, c.Ej.GG(this.$a.Vb, this.$a.rc, this.$a.$e, h, e, this.$a.wB, this.$a.Tt, null, this.gk, this.Ct, this.Wk, this.Pw), this.eF(a), f--;

              e.L(this.ex.Ba(this.Cd.Db()));
              e.scale(this.$a.mc);
              b.Fs(this.$a.Vb, this.$a.rc, this.$a.mc, this.$a.vb, e, this.Di + 1.570796326794897, this.Di + 4.71238898038469, this.$a.Qo, this.Wl, this.Uk, a, NaN, NaN);
              this.Cd.Tb(l);
              this.Cd.ba();
              f = c.na.ah(null, a, !0);
              return a = c.Dg.ol(a, f, !0, !0, this.$a.lc);
            }

            this.Mo = !1;
            this.Cd.ba();
            a = c.T.oe(this.fr);
            return a = c.Dg.ol(a, this.$a.pr, !0, !0, this.$a.lc);
          };

          a.prototype.eF = function (a) {
            var f = this.Wk[0],
                e,
                h = this.gk[0] - 1.570796326794897,
                l = this.Ct[0] + 1.570796326794897,
                k;

            if (!isNaN(this.Di)) {
              this.Di >= this.gk[0] ? (e = this.Di + 1.570796326794897, h = e + 3.141592653589793 - (this.Di - this.gk[0])) : (e = this.Di + 1.570796326794897, h = e + 3.141592653589793 - (6.283185307179586 - (this.gk[0] - this.Di)));
              k = this.Di >= this.gk[0] && 3.141592653589793 >= this.Di - this.gk[0] ? !1 : this.Di < this.gk[0] && 3.141592653589793 <= this.gk[0] - this.Di ? !1 : !0;
              var g = !1;
              if (Math.abs(h - e) <= .5 * this.$a.Qo) if (k) {
                var w = a.Ba(a.D() - 2);
                w.scale(this.$a.mc);
                var p = new c.ea(0);
                c.mb.Gz(this.$a.Vb, this.$a.rc, f.x, f.y, w.x, w.y, p);

                for (w = p.j; w <= e;) w += 6.283185307179586;

                for (; w > e;) w -= 6.283185307179586;

                w < h && (g = !0);
              } else g = !0;
              g ? (a.dC(0, a.D() - 1), this.Wl || (f = new c.b(), f.L(a.Ba(a.D() - 1)), f.scale(this.$a.mc), -3.141592653589793 > f.x - this.Uk[0] ? this.Uk[0] -= 6.283185307179586 : 3.141592653589793 < f.x - this.Uk[0] && (this.Uk[0] += 6.283185307179586)), k || (h = .5 * (h + e))) : (k ? (e = new c.b(), e.L(f), e.scale(1 / this.$a.mc), a.Zf(0, -1, e)) : b.Fs(this.$a.Vb, this.$a.rc, this.$a.mc, this.$a.vb, this.Wk[0], e, h, this.$a.Qo, this.Wl, this.Uk, a, NaN, NaN), this.mB += 1);
            }

            b.Xy(this.$a.Vb, this.$a.rc, this.$a.mc, this.$a.vb, this.$a.$e, this.Wk, h, l, this.Wl, this.Uk, a);
            this.Di = this.Ct[0];
          };

          a.prototype.dz = function (a, b) {
            return this.$a.dz(this.Wk, a, this.gk[0], this.Ct[0], this.Wl, b);
          };

          a.prototype.Ia = function () {
            return 0;
          };

          return a;
        }(),
            b = function () {
          function a() {}

          a.buffer = function (d, b, e, h, l, k) {
            if (null == d) throw c.g.F("Geometry::Geodesic_bufferer::buffer");
            if (d.u()) return new c.Ja(d.description);
            var g = new a();
            g.mh = b;
            g.Qc = c.fb.kc(b);
            var w = c.fb.hw(g.Qc);
            g.lc = k;
            g.Vb = c.fb.Sv(g.Qc);
            g.rc = w * (2 - w);
            g.mc = g.Qc.Nd().Ai;
            g.ta = g.mh.Bo();
            g.pr = g.Qc.Bo();
            g.Tt = g.pr * g.mc;
            g.or = 1.570796326794897 / g.mc;
            g.E_ = 3.141592653589793 / g.mc;
            g.Et = 6.283185307179586 / g.mc;
            g.F_ = g.Et / 6;
            g.rB = 0;
            g.D_ = 1.5707963267948966 * g.Vb / g.rB;
            4 == e ? (g.$e = 2, g.Jw = !0) : (g.$e = e, g.Jw = !1);
            g.Qa = h;
            g.vb = Math.abs(h);
            isNaN(l) || .001 > l ? g.tY() : g.Po = l;
            e = d.G();
            c.T.Oc(e) ? (e = new c.Ua(d.description), e.dc(d, !0), d = e, e = 1607) : 197 == e && (e = new c.h(), d.s(e), e.N() <= g.ta || e.fa() <= g.ta ? (e = new c.Ua(d.description), e.jd(d, !1), d = e, e = 1607) : (e = new c.Ja(d.description), e.jd(d, !1), d = e, e = 1736));
            g.uY();
            c.T.Jo(e) || g.vY();
            if (g.vb <= .5 * g.Po) return 1736 != e ? new c.Ja(d.description) : g.Jw ? d : c.Ej.Ls(d, g.mh, g.$e, g.wB, -1, k);
            if (0 > g.Qa && 1736 != e) return new c.Ja(d.description);
            g.Jw && c.T.Ic(e) ? (b = c.Ej.Ls(d, b, 4, NaN, g.Po, k), d = c.fb.Xg(b, g.mh, g.Qc, k)) : d = c.fb.Xg(d, g.mh, g.Qc, k);
            d = c.gi.Mj(d, g.Qc);
            if (d.u()) return new c.Ja(d.description);
            !g.Jw && c.T.Ic(e) && (d = c.Ej.zJ(g.mc, d));
            d = a.nQ(d, g.Qc);

            switch (e) {
              case 1736:
                k = g.YP(d);
                break;

              case 1607:
                k = g.ZP(d);
                break;

              case 550:
                k = g.WP(d);
                break;

              case 33:
                k = g.XP(d);
                break;

              default:
                throw c.g.X("corrupted_geometry");
            }

            g = c.fb.Xg(k, g.Qc, g.mh, g.lc);
            g.om(d.description);
            return g;
          };

          a.prototype.YP = function (a) {
            var b = new c.Ja();
            a = new g(this, a, b);
            a = c.ei.local().V(a, this.Qc, this.lc).next();
            a = c.Vp.Nj(a, this.Qc, 2);
            var e = new c.Hd();
            e.scale(1 / this.mc, 1 / this.mc);
            b.Xc(e);
            b = c.Vp.Nj(b, this.Qc, 2);
            return 0 <= this.Qa ? c.ei.local().V(b, a, this.Qc, this.lc) : c.cq.local().V(b, a, this.Qc, this.lc);
          };

          a.prototype.ZP = function (a) {
            a = new g(this, a, null);
            a = c.ei.local().V(a, this.Qc, this.lc).next();
            return a = c.Vp.Nj(a, this.Qc, 2);
          };

          a.prototype.WP = function (a) {
            a = new n(this, a);
            a = c.ei.local().V(a, this.Qc, this.lc).next();
            return a = c.Vp.Nj(a, this.Qc, 2);
          };

          a.prototype.XP = function (a) {
            a = a.w();
            a.scale(this.mc);
            var b = new c.Ja();
            this.Yy(a, !1, b);
            return b = c.Vp.Nj(b, this.Qc, 2);
          };

          a.prototype.dz = function (d, b, e, h, l, k) {
            var g = d[0],
                w = d[d.length - 1],
                p = g.y > w.y ? g.y : w.y,
                q = c.C.q(this.Vb, this.rc, g.y < w.y ? g.y : w.y),
                p = c.C.q(this.Vb, this.rc, p);
            if (.001 < this.rB - (q + b + this.vb) && .001 < this.rB + (p - b - this.vb)) return !1;
            b = e - 1.570796326794897;
            e = h + 1.570796326794897;
            var q = b - 3.141592653589793,
                p = b + 3.141592653589793,
                t = e + 3.141592653589793,
                u = [NaN],
                n = [NaN],
                v = [NaN],
                r = [NaN];
            h = !1;
            a.AD(this.Vb, this.rc, this.vb, g, b, q, w, e, u, n);
            a.AD(this.Vb, this.rc, this.vb, w, t, e, g, q, v, r);
            e < u[0] && u[0] < t ? h = !0 : e < n[0] && n[0] < t && (h = !0);
            h || (q < v[0] && v[0] < b ? h = !0 : q < r[0] && r[0] < b && (h = !0));
            if (!h && l) return !1;

            for (var B = [], y = d.length - 1; 0 <= y; y--) B.push(d[y]);

            k.Oa();
            k.Bl(null, 0);
            y = [0];
            a.Xy(this.Vb, this.rc, this.mc, this.vb, this.$e, d, b, e, l, y, k);
            a.Fs(this.Vb, this.rc, this.mc, this.vb, w, e, t, this.Qo, l, y, k, u[0], n[0]);
            a.Xy(this.Vb, this.rc, this.mc, this.vb, this.$e, B, t, p, l, y, k);
            a.Fs(this.Vb, this.rc, this.mc, this.vb, g, q, b, this.Qo, l, y, k, v[0], r[0]);
            d = !1;
            l || (d = this.PF(this.mc, k));
            return h || d;
          };

          a.prototype.Yy = function (d, b, e) {
            e.Oa();
            e.Bl(null, 0);
            a.Fs(this.Vb, this.rc, this.mc, this.vb, d, -this.Qo, 6.283185307179586, this.Qo, b, [0], e, NaN, NaN);
            b || this.PF(this.mc, e);
          };

          a.prototype.PF = function (a, b) {
            var e = this.zQ(a, b),
                c = this.AQ(a, b);
            return e || c;
          };

          a.prototype.zQ = function (a, b) {
            var e = b.D(),
                h = !1,
                l = new c.h();
            b.s(l);
            if (!c.l.W(l.B * a, 1.570796326794897) && !c.l.W(l.A * a, -1.570796326794897)) return !1;

            for (var k = new c.b(), e = e - 1; 0 <= e; e--) b.w(e, k), k.y == l.B && c.l.W(k.y * a, 1.570796326794897) ? (h = !0, this.IJ(k, e, b)) : k.y == l.A && c.l.W(k.y * a, -1.570796326794897) && (h = !0, this.IJ(k, e, b));

            return h;
          };

          a.prototype.AQ = function (a, b) {
            var e = b.Ba(0),
                c = b.Ba(b.D() - 1);
            return 3.141592653589793 < Math.abs(e.x - c.x) * a ? (this.OW(b), !0) : this.yQ(b);
          };

          a.prototype.yQ = function (a) {
            return 0 > a.hf() ? (this.NW(a), !0) : !1;
          };

          a.prototype.IJ = function (a, b, e) {
            var h = e.D(),
                l = 0 < b ? b - 1 : h - 1,
                h = e.Ba(b < h - 1 ? b + 1 : 0),
                l = e.Ba(l);

            if (!c.l.W(h.y, a.y) && !c.l.W(h.x, a.x)) {
              var k = new c.b();
              k.ka(h.x, a.y);
              e.rb(b, k);
            }

            c.l.W(l.y, a.y) || c.l.W(l.x, a.x) || (h = new c.b(), h.ka(l.x, a.y), e.Zf(0, b, h));
          };

          a.prototype.OW = function (a) {
            var b = new c.Ja(),
                e = new c.Ja(),
                h = new c.Hd(),
                l = a.Ba(0),
                k = a.Ba(a.D() - 1),
                g = new c.b();
            l.x > k.x ? (k = this.or, h.Ag(-this.Et, 0)) : (k = -this.or, h.Ag(this.Et, 0));
            b.add(a, !1);
            a.Oa();
            e.add(b, !1);
            e.Xc(h);
            l = new c.h();
            e.s(l);
            l.O((this.Et - l.N()) / 2, 0);
            l.A = -this.or;
            l.B = this.or;

            for (var w = 0; w < e.D(); w++) e.w(w, g), b.Zf(0, -1, g);

            e.Xc(h);

            for (w = 0; w < e.D(); w++) e.w(w, g), b.Zf(0, -1, g);

            e = b.Ba(0);
            h = b.Ba(b.D() - 1);
            g.ka(h.x, k);
            b.Zf(0, -1, g);
            g.ka(.5 * (h.x + e.x), k);
            b.Zf(0, -1, g);
            g.ka(e.x, k);
            b.Zf(0, -1, g);
            b = c.gi.ht(b, this.Qc, 2, !0, l.o);
            b = c.gi.ht(b, this.Qc, 2, !0, l.v);
            b = c.ne.clip(b, l, this.pr, NaN);
            a.add(b, !1);
          };

          a.prototype.NW = function (a) {
            var b = new c.h();
            a.s(b);
            b.O((this.Et - b.N()) / 2, 0);
            b.A = -this.or;
            b.B = this.or;
            a.Bl(null, 0);
            var e = new c.b();
            e.ka(b.o, b.A);
            a.Zf(1, -1, e);
            e.ka(b.o, b.B);
            a.Zf(1, -1, e);
            e.ka(.5 * (b.o + b.v), b.B);
            a.Zf(1, -1, e);
            e.ka(b.v, b.B);
            a.Zf(1, -1, e);
            e.ka(b.v, b.A);
            a.Zf(1, -1, e);
            e.ka(.5 * (b.o + b.v), b.A);
            a.Zf(1, -1, e);
          };

          a.Xy = function (b, f, e, h, l, k, g, w, p, q, t) {
            var u = null;
            p || (u = new c.b(), u.$c(), 0 < t.D() && (u.L(t.Ba(t.D() - 1)), u.scale(e)));
            var n = new c.ea(0),
                v = new c.ea(0),
                r = new c.ea(0),
                B = new c.b(),
                y = new c.b(),
                A = k[k.length - 1];
            e = 1 / e;

            for (var C = 0; C < k.length; C++) {
              var D = k[C],
                  E;
              0 == C ? E = g : C == k.length - 1 ? E = w : (c.mb.Ld(b, f, A.x, A.y, D.x, D.y, null, null, n, l), E = n.j - 1.570796326794897);
              c.mb.Xi(b, f, D.x, D.y, h, E, v, r);
              p ? y.ka(v.j, r.j) : (B.ka(v.j, r.j), a.MF(D.x, B.x, u.x, q), y.ka(q[0] + B.x, B.y), u.L(y));
              y.scale(e);
              t.Zf(0, -1, y);
            }
          };

          a.Fs = function (b, f, e, h, l, k, g, w, p, q, t, u, n) {
            if (!(g - k < w)) {
              var v = new c.ea(0),
                  r = new c.ea(0),
                  B = new c.b(),
                  y = new c.b(),
                  A = null;
              p || (A = new c.b(), A.$c(), 0 < t.D() && (A.L(t.Ba(t.D() - 1)), A.scale(e)));
              var C = c.J.truncate(Math.ceil(k / w)),
                  D = C++ * w;
              D == k && (D = C++ * w);

              for (e = 1 / e; D < g + w;) {
                k < u && u < D ? (D = u, C--) : k < n && n < D && (D = n, C--);
                if (D >= g) break;
                c.mb.Xi(b, f, l.x, l.y, h, D, v, r);
                p ? y.ka(v.j, r.j) : (B.ka(v.j, r.j), a.MF(l.x, B.x, A.x, q), y.ka(q[0] + B.x, B.y), A.L(y));
                y.scale(e);
                t.Zf(0, -1, y);
                k = D;
                D = C++ * w;
              }
            }
          };

          a.AD = function (a, b, e, h, l, k, g, w, p, q) {
            var t = new c.b(),
                u = new c.b(),
                n = new c.ea(0),
                v = new c.ea(0);
            c.mb.Xi(a, b, h.x, h.y, e, l, n, v);
            t.ka(n.j, v.j);
            c.mb.Xi(a, b, h.x, h.y, e, k, n, v);
            u.ka(n.j, v.j);
            e = new c.ea(0);
            c.mb.Gz(a, b, g.x, g.y, t.x, t.y, e);
            p[0] = e.j;
            c.mb.Gz(a, b, g.x, g.y, u.x, u.y, e);

            for (q[0] = e.j; p[0] <= q[0];) p[0] += 6.283185307179586;

            for (; p[0] > q[0];) p[0] -= 6.283185307179586;

            for (; p[0] >= w;) p[0] -= 6.283185307179586, q[0] -= 6.283185307179586;

            for (; p[0] < w;) p[0] += 6.283185307179586, q[0] += 6.283185307179586;
          };

          a.MF = function (a, b, e, c) {
            if (isNaN(e)) {
              for (; 3.141592653589793 < c[0] + b - a;) c[0] -= 6.283185307179586;

              for (; 3.141592653589793 < a - (c[0] + b);) c[0] += 6.283185307179586;
            } else 3.141592653589793 < c[0] + b - e ? c[0] -= 6.283185307179586 : 3.141592653589793 < e - (c[0] + b) && (c[0] += 6.283185307179586);
          };

          a.nQ = function (a, b) {
            var e = a.G(),
                h;
            c.T.Ic(e) ? h = a.aa() : 550 == e ? h = a.D() : h = 1;
            if (1 == h) return a;
            var l = new c.ia(0);
            l.resize(h);

            for (var k = [], g = new c.h(), w = 0; w < h; w++) {
              l.write(w, w);
              var p;
              c.T.Ic(e) ? (a.jk(w, g), p = g.Wf()) : p = a.Ba(w);
              p = c.tM.UY(b, p);
              k[w] = p;
            }

            l.Gd(0, l.size, function (a, b) {
              return k[a] < k[b] ? -1 : k[a] > k[b] ? 1 : 0;
            });
            g = a.Ka();

            for (w = 0; w < h; w++) p = l.read(w), c.T.Ic(e) ? g.Ti(a, p, !0) : g.Id(a, p, p + 1);

            return g;
          };

          a.prototype.uY = function () {
            var a = Math.min(3.141592653589793 * this.Vb - this.vb, this.vb),
                a = Math.min(a, .39269908169872414 * this.Vb),
                b = new c.b();
            b.ka(0, 10 * this.mc);
            var e = 45 * this.mc,
                h = new c.ea(0),
                l = new c.ea(0),
                k = new c.ea(0),
                g = new c.ea(0),
                w = new c.ea(0),
                p = new c.ea(0),
                q = new c.ea(0),
                t = new c.ea(0),
                u = new c.b(),
                n = new c.b(),
                v = new c.b(),
                r = new c.b();
            c.mb.Xi(this.Vb, this.rc, b.x, b.y, a, 0, h, l);
            u.ka(h.j, l.j);
            c.mb.Xi(this.Vb, this.rc, b.x, b.y, a, e, k, g);
            n.ka(k.j, g.j);

            for (var h = new c.ea(0), l = new c.ea(0), B = new c.ea(0);;) {
              c.mb.Xi(this.Vb, this.rc, b.x, b.y, a, .5 * (0 + e), w, p);
              v.ka(w.j, p.j);
              c.mb.Ld(this.Vb, this.rc, u.x, u.y, n.x, n.y, h, l, null, 2);
              c.mb.Oj(this.Vb, this.rc, u.x, u.y, .5 * h.j, l.j, q, t, 2);
              r.ka(q.j, t.j);
              c.mb.Ld(this.Vb, this.rc, v.x, v.y, r.x, r.y, B, null, null, 2);
              if (B.j <= this.Po) break;
              e *= .9;
              c.mb.Xi(this.Vb, this.rc, b.x, b.y, a, e, k, g);
              n.ka(k.j, g.j);
            }

            this.Qo = 6.283185307179586 / Math.ceil(6.283185307179586 / (e - 0));
          };

          a.prototype.vY = function () {
            var a = Math.min(3.141592653589793 * this.Vb - this.vb, this.vb),
                a = Math.min(a, .39269908169872414 * this.Vb),
                b = new c.b(),
                e = new c.b();
            b.ka(0, 10 * this.mc);
            e.ka(10 * this.mc, 10 * this.mc);
            var h = new c.ea(0),
                l = new c.ea(0),
                k = new c.ea(0);
            c.mb.Ld(this.Vb, this.rc, b.x, b.y, e.x, e.y, k, h, l, this.$e);
            var g = new c.ea(0),
                w = new c.ea(0),
                p = new c.ea(0),
                q = new c.ea(0),
                t = new c.b(),
                u = new c.ea(0),
                n = new c.ea(0),
                v = new c.ea(0),
                r = new c.ea(0),
                B = new c.ea(0),
                y = new c.ea(0),
                A = new c.ea(0),
                C = new c.ea(0),
                D = new c.ea(0),
                E = new c.b(),
                F = new c.b(),
                G = new c.b(),
                H = new c.b(),
                I = 1,
                h = h.j,
                l = l.j + 1.570796326794897,
                k = k.j;
            c.mb.Xi(this.Vb, this.rc, b.x, b.y, a, h - 1.570796326794897, n, v);
            E.ka(n.j, v.j);
            c.mb.Xi(this.Vb, this.rc, e.x, e.y, a, l, r, B);
            F.ka(r.j, B.j);

            for (var n = new c.ea(0), v = new c.ea(0), l = new c.ea(0), K = new c.ea(0);;) {
              c.mb.Oj(this.Vb, this.rc, b.x, b.y, .5 * (0 + I) * k, h, g, w, this.$e);
              t.ka(g.j, w.j);
              c.mb.Ld(this.Vb, this.rc, b.x, b.y, t.x, t.y, null, null, u, this.$e);
              c.mb.Xi(this.Vb, this.rc, t.x, t.y, a, u.j + 1.570796326794897, y, A);
              G.ka(y.j, A.j);
              c.mb.Ld(this.Vb, this.rc, E.x, E.y, F.x, F.y, n, v, null, 2);
              c.mb.Oj(this.Vb, this.rc, E.x, E.y, .5 * n.j, v.j, C, D, 2);
              H.ka(C.j, D.j);
              c.mb.Ld(this.Vb, this.rc, G.x, G.y, H.x, H.y, l, null, null, 2);
              if (l.j <= this.Po) break;
              I *= .9;
              c.mb.Oj(this.Vb, this.rc, b.x, b.y, I * k, h, p, q, this.$e);
              e.ka(p.j, q.j);
              c.mb.Ld(this.Vb, this.rc, b.x, b.y, e.x, e.y, null, null, K, this.$e);
              c.mb.Xi(this.Vb, this.rc, e.x, e.y, a, K.j + 1.570796326794897, r, B);
              F.ka(r.j, B.j);
            }

            a = I * k;
            1E5 < a && (a = 1E5);
            this.wB = a;
          };

          a.prototype.tY = function () {
            var a;
            a = 5E4 < this.vb ? 100 : 1E4 < this.vb ? 10 : 1;
            500 > this.vb / a && (a = this.vb / 500);
            .01 > a && (a = .01);
            this.Po = a;
          };

          return a;
        }();

        c.sM = b;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.tc = function (b, a) {
            var d = new c.b();
            d.L(a);
            b.push(d);
          };

          g.rk = function (b, a) {
            b.add(a.x);
            b.add(a.y);
          };

          g.ZC = function (b) {
            b.yf(b.size - 2);
          };

          g.oy = function (b, a) {
            a.ka(b.get(b.size - 2), b.get(b.size - 1));
          };

          g.Ls = function (b, a, d, f, e, h) {
            if (null == b) throw c.g.F();
            var l = b.G();
            if (b.u() || c.T.Jo(l)) return b;
            var k = new g();
            k.mh = a;
            k.Qc = c.fb.kc(a);
            var m = c.fb.hw(k.Qc);
            k.lc = h;
            k.Vb = c.fb.Sv(k.Qc);
            k.rc = m * (2 - m);
            k.mc = k.Qc.Nd().Ai;
            k.pr = k.Qc.Bo();
            k.Tt = k.pr * k.mc;
            k.hB = f;
            k.gB = e;
            k.$e = d;
            197 == l ? (d = new c.Ja(b.description), d.jd(b, !1)) : c.T.Oc(l) ? (d = new c.Ua(b.description), d.dc(b, !0)) : d = b;

            if (4 != k.$e) {
              a = 0 == k.mh.Eb(k.Qc) ? c.fb.Xg(d, k.mh, k.Qc, h) : c.gi.Mj(d, k.Qc);
              if (a.u()) return a;
              a = g.zJ(k.mc, a);
              a = k.Hz(a);
              a = c.Vp.Nj(a, k.Qc, k.$e);
              k = c.fb.Xg(a, k.Qc, k.mh, h);
            } else {
              2 == c.Sd.Fb(a) ? (b = c.fb.Mk(a), h = c.tk.local().V(d, b, a, h), h == b && (h = new c.Ja(), b.copyTo(h))) : h = c.gi.Mj(d, k.Qc);
              a = h;
              if (a.u()) return a;
              k = k.xY(a);
            }

            return k;
          };

          g.zJ = function (b, a) {
            var d = new c.h();
            a.ac(d);
            if (3.141592653589793 > d.N() * b) return a;

            for (var f = !1, d = a.Fa(), e = new c.b(), h = new c.b(); d.Ya();) for (; d.Ea();) {
              var l = d.ba();
              e.L(l.ec());
              h.L(l.Cc());
              e.scale(b);
              h.scale(b);

              if (3.141592653589793 < Math.abs(e.x - h.x)) {
                var k = g.Av(e, h);

                if (!k) {
                  f = !0;
                  break;
                }

                if (6.283185307179586 < Math.abs(e.x - h.x)) {
                  f = !0;
                  break;
                }
              }
            }

            if (!f) return a;
            var f = a.Ka(),
                m = 1 < a.description.Ga,
                w = new c.b(),
                p = new c.b(),
                q = new c.b(),
                t = new c.b(),
                u = new c.Wa();

            for (d.yj(); d.Ya();) for (var n = NaN, v = [0]; d.Ea();) {
              l = d.ba();
              e.L(l.ec());
              h.L(l.Cc());
              e.scale(b);
              h.scale(b);
              isNaN(n) ? (g.fe(e.x, NaN, v), p.L(e)) : p.L(q);
              n = p.x;

              if (k = g.Av(e, h)) {
                if (6.283185307179586 < h.x - e.x) for (; 6.283185307179586 < h.x - e.x;) h.x -= 6.283185307179586;
                if (-6.283185307179586 > h.x - e.x) for (; -6.283185307179586 > h.x - e.x;) h.x += 6.283185307179586;
                g.fe(h.x, NaN, v);
                q.L(h);
              } else w.L(h), g.WM(w), g.fe(w.x, n, v), q.ka(v[0] + w.x, w.y);

              .5 > Math.abs(q.x - h.x) && q.L(h);
              m ? (l.Fx(0, u), t.L(p), t.scale(1 / b), u.rb(t), (k = d.jn()) ? f.Rf(u) : f.lineTo(u), d.Io() && !a.Qb(d.Ta) && (l.Fx(1, u), t.L(q), t.scale(1 / b), u.rb(t), f.lineTo(u))) : ((k = d.jn()) && f.sA(null, 0), l = f.aa() - 1, t.L(p), t.scale(1 / b), f.Zf(l, -1, t), d.Io() && !a.Qb(d.Ta) && (t.L(q), t.scale(1 / b), f.Zf(l, -1, t)));
            }

            return f;
          };

          g.GG = function (b, a, d, f, e, h, l, k, m, w, p, q) {
            var t = new c.b(),
                u = new c.b(),
                n = 0 < f.compare(e);
            g.rF(n, f, e, t, u);
            g.wG(b, a, d, t, u, h, NaN, l, k, m, w, null, p, q);
            n && g.qy(m, w, null, p);
          };

          g.prototype.Hz = function (b) {
            var a = b.Ka(),
                d = b.Fa(),
                f = [],
                e = null,
                h = null,
                l = 1 < b.description.Ga;
            l && (e = new c.Rd(0), h = new c.Cg());

            for (var k = [0], m = new c.b(), w = new c.b(), p = new c.b(), q = new c.b(); d.Ya();) for (k[0] = 0; d.Ea();) {
              var t = d.ba();
              m.L(t.ec());
              w.L(t.Cc());
              m.scale(this.mc);
              w.scale(this.mc);
              var u = 0 < m.compare(w);
              g.rF(u, m, w, p, q);
              f.length = 0;
              null != e && e.yf(0);
              0 < this.hB ? g.wG(this.Vb, this.rc, this.$e, p, q, this.hB, this.gB, this.Tt, null, null, null, l ? e : null, f, k) : g.SV(this.Vb, this.rc, this.$e, p, q, this.gB, this.Tt, l ? e : null, f, k);
              u && g.qy(null, null, l ? e : null, f);
              f[0].L(t.ec());
              f[f.length - 1].L(t.Cc());

              for (var n = 1; n < f.length - 1; n++) f[n].scale(1 / this.mc);

              l ? (u = g.TE(u, t, h), g.jE(d.jn(), d.Io() && !b.Qb(d.Ta), t, u, e, f, a)) : g.hE(d.jn(), d.Io() && !b.Qb(d.Ta), f, a);
            }

            return a;
          };

          g.prototype.xY = function (b) {
            var a = b.Ka(),
                d = b.Fa(),
                f = [],
                e = null,
                h = new c.Cg(),
                l = 1 < b.description.Ga;

            for (l && (e = new c.Rd(0)); d.Ya();) for (; d.Ea();) {
              var k = d.ba(),
                  m = k.ec(),
                  w = k.Cc(),
                  m = 0 < m.compare(w),
                  w = g.TE(m, k, h);
              f.length = 0;
              null != e && e.yf(0);
              g.GL(this.Vb, this.rc, this.mc, w, this.mh, this.hB, this.gB, l ? e : null, f);
              m && g.qy(null, null, l ? e : null, f);
              l ? g.jE(d.jn(), d.Io() && !b.Qb(d.Ta), k, w, e, f, a) : g.hE(d.jn(), d.Io() && !b.Qb(d.Ta), f, a);
            }

            return a;
          };

          g.hE = function (b, a, d, f) {
            b && f.sA(null, 0);
            b = f.aa() - 1;
            var e = d.slice(0);
            f.EH(b, e, e.length - 1);
            a && f.Zf(b, -1, d[d.length - 1]);
          };

          g.jE = function (b, a, d, f, e, h, l) {
            var k = new c.Wa();
            d.Dp(k);
            b ? l.Rf(k) : l.lineTo(k);

            if (2 < h.length) {
              b = f.Rb();

              for (var g = 1; g < h.length - 1; g++) {
                var w = f.bI(e.get(g) * b);
                f.Fx(w, k);
                k.rb(h[g]);
                l.lineTo(k);
              }
            }

            a && (d.Bp(k), l.lineTo(k));
          };

          g.wG = function (b, a, d, f, e, h, l, k, m, w, p, q, t, u) {
            var n = new c.ea(0),
                v = new c.ea(0),
                r = new c.ea(0);
            c.mb.Ld(b, a, f.x, f.y, e.x, e.y, r, n, v, d);
            var r = r.j,
                B = n = n.j,
                v = v.j;
            0 > B && (B += 6.283185307179586);
            0 > v && (v += 6.283185307179586);
            null != m && (m[0] = r);
            null != w && (w[0] = B);
            null != p && (p[0] = v);
            w = m = NaN;
            null != q && (w = c.C.Yg(b, a), p = c.C.q(b, a, f.y), m = (w - p) / r, w = (w + p) / r);
            p = g.Bv(f, e);
            var v = g.zv(f, e),
                B = p || v,
                y = g.uE(f, e, k),
                A = new c.ea(0),
                C = new c.ea(0),
                D = new c.b(),
                E = new c.b(),
                F = new c.b();
            g.fe(f.x, NaN, u);
            var G = [u[0]];
            if (r <= h) g.tc(t, f), g.fe(e.x, NaN, u), null != q && q.add(0), B ? (p && g.my(f, e, q, t), v && g.iy(f, e, q, t)) : y ? g.ly(f, e, n, m, w, q, t) : 0 < l && (E.ka(f.x - G[0], f.y), D.ka(e.x - u[0], e.y), g.GA(b, a, d, f, r, n, E, D, 0, 1, l, q, t, G)), g.tc(t, e);else {
              h = 1 + c.J.truncate(Math.ceil(r / h));
              var H = r / (h - 1),
                  I = new c.b(),
                  K = 0;
              g.tc(t, f);
              I.L(f);
              E.ka(f.x - u[0], f.y);
              null != q && q.add(0);

              for (var J = 1; J < h; J++) {
                var L;
                J < h - 1 ? (c.mb.Oj(b, a, f.x, f.y, J * H, n, A, C, d), D.ka(A.j, C.j), g.fe(D.x, I.x, u), F.ka(u[0] + D.x, D.y), L = J / (h - 1)) : (g.fe(e.x, NaN, u), D.ka(e.x - u[0], e.y), F.L(e), L = 1);
                B ? (1 == J && p && g.my(f, F, q, t), J == h - 1 && v && g.iy(I, e, q, t)) : y ? g.sE(I, F, k) && (f.x < e.x ? I.x > F.x && (u[0] += 6.283185307179586, F.ka(u[0] + D.x, D.y)) : I.x < F.x && (u[0] -= 6.283185307179586, F.ka(u[0] + D.x, D.y)), g.ly(I, F, n, m, w, q, t)) : 0 < l && g.GA(b, a, d, f, r, n, E, D, K, L, l, q, t, G);
                g.tc(t, F);
                null != q && q.add(L);
                I.L(F);
                E.L(D);
                G[0] = u[0];
                K = L;
              }
            }
          };

          g.SV = function (b, a, d, f, e, h, l, k, m, w) {
            var p = new c.ea(0),
                q = new c.ea(0),
                t = new c.ea(0);
            c.mb.Ld(b, a, f.x, f.y, e.x, e.y, t, p, q, d);
            var q = t.j,
                p = p.j,
                u = t = NaN;
            if (null != k) var u = c.C.Yg(b, a),
                n = c.C.q(b, a, f.y),
                t = (u - n) / q,
                u = (u + n) / q;
            var n = g.Bv(f, e),
                v = g.zv(f, e),
                r = n || v;
            l = g.uE(f, e, l);
            var B = g.Av(f, e),
                B = r || l || B;
            g.fe(f.x, NaN, w);
            var y = new c.b();
            g.tc(m, f);
            y.L(f);
            null != k && k.add(0);
            B ? (r ? (n && g.my(f, e, k, m), v && g.iy(f, e, k, m)) : l && g.ly(f, e, p, t, u, k, m), g.fe(e.x, NaN, w), g.tc(m, e)) : q <= h ? (g.fe(e.x, NaN, w), g.tc(m, e)) : (t = new c.b(), l = new c.b(), t.L(f), l.L(e), t.x -= w[0], l.x -= w[0], -3.141592653589793 > l.x ? l.x += 6.283185307179586 : 3.141592653589793 < l.x && (l.x -= 6.283185307179586), g.GA(b, a, d, f, q, p, t, l, 0, 1, h, k, m, w), g.tc(m, e), g.fe(e.x, NaN, w));
            null != k && k.add(1);
          };

          g.GA = function (b, a, d, f, e, h, l, k, m, w, p, q, t, u) {
            var n = new c.b(),
                v = new c.b();
            n.ka(l.x + u[0], l.y);
            new c.ea(0);
            new c.ea(0);
            new c.ea(0);
            new c.ea(0);
            var r = new c.ea(0),
                B = new c.ea(0),
                y = new c.ea(0),
                A = new c.b(),
                C = new c.b(),
                D = new c.b(),
                E = new c.b();
            A.L(l);
            C.L(k);
            l = new c.Rd(0);
            k = new c.Rd(0);
            g.rk(l, C);
            k.add(w);
            var F = new c.b(),
                G = new c.Hb(),
                H = [];

            for (g.sG(4, H); 0 < l.size;) {
              for (var I = !1, K, J = NaN, L = 0; 3 > L; L++) if (K = H[L] * w + (1 - H[L]) * m, c.mb.Oj(b, a, f.x, f.y, K * e, h, r, B, d), D.ka(r.j, B.j), 0 == L && (J = K, E.L(D)), g.yO(A, D, C, G), G.gc(G.pe(D, !0), F), c.mb.Ld(b, a, D.x, D.y, F.x, F.y, y, null, null, 2), y.j > p) {
                I = !0;
                break;
              }

              I ? (C.L(E), w = J, g.rk(l, C), k.add(w)) : (g.ZC(l), k.Fk(k.size - 1, 1, k.size - 1), 0 < l.size && (g.fe(C.x, n.x, u), v.ka(u[0] + C.x, C.y), g.tc(t, v), n.L(v), null != q && q.add(w), A.L(C), m = w, g.oy(l, C), w = k.get(k.size - 1)));
            }
          };

          g.GL = function (b, a, d, f, e, h, l, k, m) {
            var w = new c.b(),
                p = new c.b(),
                q = new c.b(),
                t = new c.b(),
                u = new c.b(),
                n = new c.b(),
                v = new c.b(),
                r = new c.b(),
                B = new c.b(),
                y = new c.b(),
                A = new c.ea(0),
                C = new c.ea(0),
                D = new c.b(),
                E = [[], []],
                F = 1 == c.Sd.Fb(e);
            e = e.re(0);
            var G = f.ec(),
                H = f.Cc();
            F ? (n.ka(G.x * d, G.y * d), v.ka(H.x * d, H.y * d)) : (E[0][0] = G.x, E[0][1] = G.y, E[1][0] = H.x, E[1][1] = H.y, c.fb.lu(), n.x = E[0][0] * d, n.y = E[0][1] * d, v.x = E[1][0] * d, v.y = E[1][1] * d);
            var I = 0,
                K = 0,
                J = 1,
                L = f.Go();
            w.L(G);
            p.L(H);
            var H = new c.Rd(0),
                M = new c.Rd(0),
                R = new c.Rd(0);
            g.rk(H, p);
            g.rk(M, v);
            R.add(J);
            g.tc(m, w);
            null != k && k.add(K);
            var O = [],
                Q;
            Q = 0 < l ? L ? 5 : 3 : L ? 5 : 1;
            g.sG(Q, O);

            for (var N = new c.ea(0), P = new c.ea(0), Z = new c.ea(0), T = new c.ea(0), X = new c.ea(0), W = new c.ea(0), Y = new c.ea(0); 0 < M.size;) {
              var V = !1,
                  ba,
                  U = NaN;
              c.mb.Ld(b, a, n.x, n.y, v.x, v.y, N, P, null, 2);

              for (G = 0; G < Q; G++) {
                if (0 == G) {
                  if (!L && 0 >= l && N.j <= h && 3.141592653589793 > Math.abs(n.x - v.x)) break;
                  if (f.Dy(K, J) <= e) break;
                }

                ba = O[G] * J + (1 - O[G]) * K;
                f.gc(ba, q);
                F ? r.ka(q.x * d, q.y * d) : (E[0][0] = q.x, E[0][1] = q.y, c.fb.lu(), r.x = E[0][0] * d, r.y = E[0][1] * d);

                if (0 == G && (U = ba, u.L(q), y.L(r), 0 < h && (N.j > h || 3.141592653589793 <= Math.abs(n.x - v.x)))) {
                  V = !0;
                  break;
                }

                if (L && 0 < h) {
                  if (c.mb.Ld(b, a, n.x, n.y, r.x, r.y, Z, null, null, 2), Z.j > h || 3.141592653589793 <= Math.abs(n.x - r.x)) {
                    V = !0;
                    break;
                  }
                } else if (0 < l) if (L ? (t.JU(w, p, O[G]), F ? B.ka(t.x * d, t.y * d) : (E[0][0] = t.x, E[0][1] = t.y, c.fb.lu(), B.x = E[0][0] * d, B.y = E[0][1] * d)) : (t.L(q), B.L(r)), c.mb.Ld(b, a, n.x, n.y, B.x, B.y, T, null, null, 2), T.j <= N.j) {
                  c.mb.Oj(b, a, n.x, n.y, T.j, P.j, A, C, 2);
                  D.ka(A.j, C.j);
                  c.mb.Ld(b, a, D.x, D.y, r.x, r.y, X, null, null, 2);

                  if (X.j > l) {
                    V = !0;
                    break;
                  }

                  if (L) {
                    c.mb.Ld(b, a, D.x, D.y, B.x, B.y, W, null, null, 2);

                    if (W.j > l) {
                      V = !0;
                      break;
                    }

                    c.mb.Ld(b, a, B.x, B.y, r.x, r.y, Y, null, null, 2);

                    if (Y.j > l) {
                      V = !0;
                      break;
                    }
                  }
                } else {
                  V = !0;
                  break;
                }
              }

              V ? (p.L(u), v.L(y), J = U, g.rk(H, p), g.rk(M, v), R.add(J)) : (g.ZC(H), g.ZC(M), R.Fk(R.size - 1, 1, R.size - 1), g.tc(m, p), I += N.j, null != k && k.add(I), 0 < M.size && (w.L(p), n.L(v), K = J, g.oy(H, p), g.oy(M, v), J = R.get(R.size - 1)));
            }

            if (null != k) for (b = 1 / I, G = 0; G < k.size; G++) k.write(G, k.read(G) * b);
          };

          g.qy = function (b, a, d, f) {
            f.reverse();
            null != d && d.Zd(0, d.size, 1);
            d = null != b ? b[0] : NaN;
            f = null != a ? a[0] : NaN;
            null != b && (b[0] = f);
            null != a && (a[0] = d);
          };

          g.rF = function (b, a, d, f, e) {
            b ? (f.L(d), e.L(a)) : (f.L(a), e.L(d));
          };

          g.TE = function (b, a, d) {
            if (!b) return a;
            d.create(a.G());
            a.copyTo(d.get());
            d.get().reverse();
            return d.get();
          };

          g.fe = function (b, a, d) {
            if (isNaN(a)) {
              for (; 3.141592653589793 < d[0] - b;) d[0] -= 6.283185307179586;

              for (; 3.141592653589793 < b - d[0];) d[0] += 6.283185307179586;
            } else 3.141592653589793 < d[0] + b - a ? d[0] -= 6.283185307179586 : 3.141592653589793 < a - (d[0] + b) && (d[0] += 6.283185307179586);
          };

          g.yO = function (b, a, d, f) {
            3.141592653589793 > Math.abs(a.x - b.x) ? (f.Mc(b), 3.141592653589793 <= d.x - b.x ? f.vm(d.x - 6.283185307179586, d.y) : 3.141592653589793 <= b.x - d.x ? f.vm(d.x + 6.283185307179586, d.y) : f.vm(d.x, d.y)) : (f.Mc(d), 3.141592653589793 <= b.x - d.x ? f.vm(b.x - 6.283185307179586, b.y) : 3.141592653589793 <= d.x - b.x ? f.vm(b.x + 6.283185307179586, b.y) : f.vm(b.x, b.y));
          };

          g.sG = function (b, a) {
            for (var d = 0; d < b; d++) {
              var f = Math.ceil(d / 2) / (b + 1);
              0 != d % 2 && (f = -f);
              a[d] = .5 + f;
            }
          };

          g.Bv = function (b, a) {
            return c.l.W(b.y, 1.570796326794897) && !c.l.W(a.y, 1.570796326794897) || c.l.W(b.y, -1.570796326794897) && !c.l.W(a.y, -1.570796326794897) ? !0 : !1;
          };

          g.zv = function (b, a) {
            return c.l.W(a.y, 1.570796326794897) && !c.l.W(b.y, 1.570796326794897) || c.l.W(a.y, -1.570796326794897) && !c.l.W(b.y, -1.570796326794897) ? !0 : !1;
          };

          g.uE = function (b, a, d) {
            return !g.sE(b, a, d) || c.l.W(b.y, 1.570796326794897) || c.l.W(b.y, -1.570796326794897) || c.l.W(a.y, 1.570796326794897) || c.l.W(a.y, -1.570796326794897) ? !1 : !0;
          };

          g.sE = function (b, a, d) {
            return Math.abs(Math.abs(b.x - a.x) - 3.141592653589793) <= d ? !0 : !1;
          };

          g.Av = function (b, a) {
            return c.l.W(b.y, 1.570796326794897) && c.l.W(a.y, 1.570796326794897) || c.l.W(b.y, -1.570796326794897) && c.l.W(a.y, -1.570796326794897) ? !0 : !1;
          };

          g.my = function (b, a, d, f) {
            if (0 < b.y) {
              var e = new c.b();
              e.ka(a.x, 1.570796326794897);
            } else e = new c.b(), e.ka(a.x, -1.570796326794897);

            c.l.W(b.x, e.x) || c.l.W(a.y, e.y) || (g.tc(f, e), null != d && d.add(0));
          };

          g.iy = function (b, a, d, f) {
            if (0 < a.y) {
              var e = new c.b();
              e.ka(b.x, 1.570796326794897);
            } else e = new c.b(), e.ka(b.x, -1.570796326794897);

            c.l.W(a.x, e.x) || c.l.W(b.y, e.y) || (g.tc(f, e), null != d && d.add(1));
          };

          g.ly = function (b, a, d, f, e, h, l) {
            c.l.xd(d) ? (0 < 1.570796326794897 - b.y && (d = new c.b(), d.ka(b.x, 1.570796326794897), g.tc(l, d), null != h && h.add(f)), 0 < 1.570796326794897 - a.y && (d = new c.b(), d.ka(a.x, 1.570796326794897), g.tc(l, d), null != h && h.add(f))) : (0 < 1.570796326794897 + b.y && (d = new c.b(), d.ka(b.x, -1.570796326794897), g.tc(l, d), null != h && h.add(e)), 0 < 1.570796326794897 + a.y && (d = new c.b(), d.ka(a.x, -1.570796326794897), g.tc(l, d), null != h && h.add(e)));
          };

          g.WM = function (b) {
            if (-3.141592653589793 > b.x) for (; -3.141592653589793 > b.x;) b.x += 6.283185307179586;
            if (3.141592653589793 < b.x) for (; 3.141592653589793 < b.x;) b.x -= 6.283185307179586;
          };

          return g;
        }();

        c.Ej = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Nj = function (b, a, d) {
            if (null == b || null == a || !c.fb.Jc(a)) throw c.g.F();
            if (b.u()) return b;
            var f = b,
                e = f.G();

            if (c.T.Ic(e)) {
              f = c.gi.Mj(b, a);
              b = new c.h();
              f.s(b);

              for (var e = c.na.be(a, b, !1), h = c.fb.Bh(a), l = Math.floor((b.o - h.o) / h.N()) * h.N() + h.o; l < b.v;) l > b.o + e && l < b.v - e && (f = c.gi.ht(f, a, d, !0, l)), l += h.N();
            } else {
              if (197 == e) return b = new c.Ja(f.description), b.jd(f, !1), g.Nj(b, a, d);
              if (c.T.Oc(e)) return b = new c.Ua(f.description), b.dc(f, !0), g.Nj(b, a, d);
            }

            return g.kV(f, a);
          };

          g.kV = function (b, a) {
            if (null == b || null == a || !c.fb.Jc(a)) throw c.g.F();
            if (b.u()) return b;
            var d;
            d = b.G();
            197 == d ? (d = new c.Ja(b.description), d.jd(b, !1)) : c.T.Oc(d) ? (d = new c.Ua(b.description), d.dc(b, !0)) : d = b;
            d = c.gi.Mj(d, a);
            return d.u() ? d : 1 == c.Sd.Fb(a) ? c.gi.Xm(d, a, 0, d != b, 0) : g.eV(d, a, d != b);
          };

          g.eV = function (b, a, d) {
            if (!c.fb.Jc(a)) throw c.g.F();
            if (b.u()) return b;
            var f = c.fb.ee(a),
                e = 0 - 180 * f,
                f = 360 * f;
            2 == c.Sd.Fb(a) && (e = c.fb.Bh(a), f = e.v, e = e.o, f -= e);
            return c.gi.Aq(b, e, f, a, d, 0, !0);
          };

          return g;
        }();

        c.Vp = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.gV = function (b, a) {
            var d = Math.abs(b % a);
            return isNaN(d) || d == b || d <= Math.abs(a) / 2 ? d : 0 > b ? -1 * (d - a) : 0 < b ? 1 * (d - a) : 0 * (d - a);
          };

          g.K = function (b) {
            return 0 > b ? -b : b;
          };

          g.Ab = function (b, a) {
            return 0 <= a ? g.K(b) : -g.K(b);
          };

          g.W = function (b, a) {
            return b == a || g.K(b - a) <= g.hD * (1 + (g.K(b) + g.K(a)) / 2);
          };

          g.xd = function (b) {
            return 0 == b || g.K(b) <= g.hD;
          };

          g.Fu = function (b) {
            b = g.gV(b, g.nA);
            return g.K(b) <= g.Oi ? b : 0 > b ? b + g.nA : b - g.nA;
          };

          g.LB = function (b, a) {
            b.j = g.Fu(b.j);
            a.j = g.Fu(a.j);
            g.K(a.j) > g.ss && (b.j = g.Fu(b.j + g.Oi), a.j = g.Ab(g.Oi, a.j) - a.j);
          };

          g.Yg = function (b, a) {
            var d = Math.sqrt(1 - a),
                d = (1 - d) / (1 + d),
                f = d * d;
            return b / (1 + d) * (1 + f * (.25 + f * (.015625 + 1 / 256 * f))) * g.ss;
          };

          g.TS = function (b, a, d, f, e) {
            var h,
                l,
                k,
                m,
                w,
                p,
                q,
                t = 0,
                u = p = 0,
                n = 0,
                v = 0,
                r = 0;
            w = 0;
            var B, y, A;
            q = 0;
            var C, D, E;
            A = new c.ea();
            h = new c.ea();
            if (null != e) if (A.j = b, h.j = a, g.LB(A, h), b = A.j, a = h.j, A.j = d, h.j = f, g.LB(A, h), d = A.j, f = h.j, d = g.Fu(d - b), g.W(a, f) && (g.xd(d) || g.W(g.K(a), g.ss))) null != e && (e.j = 0);else {
              if (g.W(a, -f)) {
                if (g.W(g.K(a), g.ss)) {
                  null != e && (e.j = 2 * g.Yg(6378137, .0066943799901413165));
                  return;
                }

                if (g.W(g.K(d), g.Oi)) {
                  null != e && (e.j = 2 * g.Yg(6378137, .0066943799901413165));
                  return;
                }
              }

              if (g.xd(.0066943799901413165)) v = Math.cos(a), r = Math.cos(f), null != e && (t = Math.sin((f - a) / 2), p = Math.sin(d / 2), q = 2 * Math.asin(Math.sqrt(t * t + v * r * p * p)), e.j = 6378137 * q);else {
                A = 1 - Math.sqrt(.9933056200098587);
                b = 1 - A;
                h = Math.atan(b * Math.tan(a));
                a = Math.sin(h);
                h = Math.cos(h);
                l = Math.atan(b * Math.tan(f));
                f = Math.sin(l);
                l = Math.cos(l);
                m = k = d;
                D = 0;
                E = 1;
                C = d;

                for (y = !0; 1 == y;) D += 1, 1 == E && (w = Math.sin(C), p = Math.cos(C), t = l * w, q = h * f - a * l * p, t = Math.sqrt(t * t + q * q), p = a * f + h * l * p, q = Math.atan2(t, p), u = 1E-15 > g.K(t) ? h * l * w / g.Ab(1E-15, t) : h * l * w / t, n = 1 - u * u, v = 1E-15 > g.K(n) ? p - a * f / g.Ab(1E-15, n) * 2 : p - a * f / n * 2, r = v * v, w = ((-3 * n + 4) * A + 4) * n * A / 16), B = (1 - w) * A * (q + w * t * (v + p * w * (2 * r - 1))), 1 == E ? (C = d + B * u, 1E-14 > g.K(C - m) ? y = !1 : g.K(C) > g.Oi ? (E = 2, C = g.Oi, 0 > d && (C = -C), u = 0, n = 1, k = m = 2, q = g.Oi - g.K(Math.atan(a / h) + Math.atan(f / l)), t = Math.sin(q), p = Math.cos(q), w = ((-3 * n + 4) * A + 4) * n * A / 16, 1E-14 > g.K(u - k) ? y = !1 : (v = 1E-15 > g.K(n) ? p - a * f / g.Ab(1E-15, n) * 2 : p - a * f / n * 2, r = v * v)) : (0 > (C - m) * (m - k) && 5 < D && (C = (2 * C + 3 * m + k) / 6), k = m, m = C)) : (u = (C - d) / B, 0 > (u - m) * (m - k) && 5 < D && (u = (2 * u + 3 * m + k) / 6), k = m, m = u, n = 1 - u * u, w = u * t / (h * l), p = -Math.sqrt(g.K(1 - w * w)), C = Math.atan2(w, p), t = l * w, q = h * f - a * l * p, t = Math.sqrt(t * t + q * q), p = a * f + h * l * p, q = Math.atan2(t, p), w = ((-3 * n + 4) * A + 4) * n * A / 16, 1E-14 > g.K(u - k) ? y = !1 : (v = 1E-15 > g.K(n) ? p - a * f / g.Ab(1E-15, n) * 2 : p - a * f / n * 2, r = v * v));

                null != e && (u = Math.sqrt(1 + (1 / (b * b) - 1) * n), u = (u - 1) / (u + 1), n = u * (1 - .375 * u * u), e.j = (1 + u * u / 4) / (1 - u) * b * 6378137 * (q - n * t * (v + n / 4 * (p * (-1 + 2 * r) - n / 6 * v * (-3 + 4 * t * t) * (-3 + 4 * r)))));
              }
            }
          };

          g.Oi = 3.141592653589793;
          g.ss = 1.5707963267948966;
          g.nA = 6.283185307179586;
          g.hD = 3.552713678800501E-15;
          return g;
        }();

        c.qM = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          return function (b) {
            this.ue = b;
            this.ll = this.ue.getCode();
            0 > this.ll && (this.ll = 0);
          };
        }();

        c.SZ = n;

        var g = function () {
          function b(a) {
            void 0 === a && (a = null);
            this.Kh = null;
            this.nn = !1;
            null !== a && (this.Kh = new n(a));
          }

          b.prototype.yc = function () {
            return null != this.Kh ? this.Kh.ll : 0;
          };

          b.prototype.Vf = function () {
            var a = new b();
            this.copyTo(a);
            return a;
          };

          b.prototype.copyTo = function (a) {
            a.Kh = this.Kh;
            a.nn = this.nn;
          };

          b.prototype.Wv = function () {
            var a = this.Vf();
            a.kt();
            return a;
          };

          b.prototype.kt = function () {
            this.nn = !this.nn;
          };

          b.prototype.cn = function () {
            return null != this.Kh ? this.Kh.ue : null;
          };

          b.prototype.BK = function (a) {
            if (0 >= a) throw c.g.F();

            if (a != this.yc()) {
              a = c.Tf.geogtran(a);
              if (null == a) throw c.g.F("Geogtran not found.");
              this.Kh = new n(a);
            }
          };

          b.prototype.mH = function () {
            return null == this.Kh ? null : this.Kh.ue.toString();
          };

          b.prototype.getName = function () {
            if (null == this.Kh || null == this.Kh.ue) return "";
            var a = "";
            this.nn && (a += "~");
            return a += this.Kh.ue.getName();
          };

          b.prototype.pY = function (a) {
            if (null == a) throw c.g.F();
            var b = null;

            try {
              b = c.Tf.fromString(c.Vc.PE_TYPE_GEOGTRAN, a);
            } catch (f) {
              throw c.g.F();
            }

            this.Kh = new n(b);
          };

          b.prototype.Eb = function (a) {
            return a == this ? !0 : a instanceof b && (!(0 >= this.yc() || this.yc() != a.yc()) || this.cn().isEqual(a.cn())) ? this.nn == a.nn : !1;
          };

          b.prototype.toString = function () {
            var a = toString();
            return 200 < a.length ? a.substring(0, 197) + "... (" + a.length.toString() + " characters)" : a;
          };

          b.create = function (a, d) {
            var f = new b();
            f.BK(a);
            d && f.kt();
            return f;
          };

          b.gG = function (a, d) {
            var f = new b();
            f.pY(a);
            d && f.kt();
            return f;
          };

          return b;
        }();

        c.io = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b() {}

          b.pa = function (a, d, f, e) {
            var c = new b();
            c.vn = a;
            c.wn = d;
            c.MI = f;
            c.NI = e;
            return c;
          };

          b.Hs = function (a, b) {
            return a.vn == b.vn ? a.wn == b.wn ? 0 : a.wn < b.wn ? -1 : 1 : a.vn < b.vn ? -1 : 1;
          };

          return b;
        }(),
            g = function () {
          function b() {
            this.Hw = !1;
            this.OI = [];
            this.aB = [];
            this.jI = this.Hw = this.iI = !1;
            this.kq();
          }

          b.zo = function () {
            null == b.FG && (b.FG = new b());
            return b.FG;
          };

          b.c_ = function () {
            return b.zo().Hw;
          };

          b.f_ = function () {
            return b.zo().jI;
          };

          b.z_ = function (a, d) {
            if (a == d) return null;
            var f = b.zo();

            if (f.iI) {
              var e = b.FA(f.aB, a, d);
              return null != e ? e : null;
            }

            e = b.FA(f.aB, a, d);
            return null != e ? e : b.FA(f.OI, a, d);
          };

          b.gO = function (a, b, f, e, h) {
            var l = c.ny.create();
            if (0 < a) try {
              var k = c.io.create(a, b);
              if (0 == k.yc()) return null;
              l.add(k);

              if (0 < f) {
                var g = c.io.create(f, e);
                if (0 == g.yc()) return null;
                l.add(g);
              }

              h && (l = l.Wv());
            } catch (w) {
              l = null;
            }
            return l;
          };

          b.FA = function (a, d, f) {
            if (d == f || 0 == a.length) return null;

            for (var e = n.pa(d, f, 0, 0), c = !1, l = !1, k = 0, g = 0, w = -1, p = 0; p < a.length; p++) if (0 === n.Hs(e, a[p])) {
              w = p;
              break;
            }

            if (0 > w || a[w].vn != e.vn || a[w].wn != e.wn) {
              e = n.pa(f, d, 0, 0);
              d = -1;

              for (p = 0; p < a.length; p++) if (0 === n.Hs(e, a[p])) {
                d = p;
                break;
              }

              0 <= d && a[d].vn == e.vn && a[d].wn == e.wn && (k = a[d].MI, g = a[d].NI, l = c = !0);
            } else k = a[w].MI, g = a[w].NI, c = !1, l = !0;

            if (!l) return null;
            0 == k && (k = g, g = 0);
            e = a = !1;
            0 > k && (k = -k, a = !0);
            0 > g && (g = -g, e = !0);
            return b.gO(k, a, g, e, c);
          };

          b.prototype.kq = function () {
            this.CE(this.OI) && (this.Hw = !0);
            this.CE(this.aB) && (this.jI = !0);
            this.iI = !this.Hw;
          };

          b.prototype.CE = function (a) {
            try {
              for (var b = [], b = b.sort(n.Hs), f = 0; f < b.length; f++) a.push(b[f]);
            } catch (e) {}

            return !0;
          };

          b.Q_ = function () {
            return null;
          };

          return b;
        }();

        c.RZ = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c() {}

          c.prototype.My = function (b) {
            this.Hi = b;
          };

          c.prototype.OE = function (b) {
            this.Mb = b;
          };

          c.prototype.PE = function (b) {
            this.np = b;
          };

          c.KF = function (b) {
            return b.u() || 1607 != b.G() && 1736 != b.G() ? !1 : !0;
          };

          c.IF = function (b) {
            return b.u() || 1607 != b.G() && 1736 != b.G() || 20 > b.D() ? !1 : !0;
          };

          c.JF = function (b) {
            return b.u() || 1607 != b.G() && 1736 != b.G() || 20 > b.D() ? !1 : !0;
          };

          return c;
        }();

        c.wl = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.nX = function (b) {
            var a = new c.Ja();
            a.$x(b.R.o, b.R.A);
            a.Xj(b.R.o, b.R.B);
            a.Xj(b.R.v, b.R.B);
            a.Xj(b.R.v, b.R.A);
            return a;
          };

          g.Xg = function (b, a) {
            return null === b ? null : c.os.local().V(b, a, null);
          };

          g.hZ = function (b, a) {
            var d = c.ei.local(),
                f = new c.hd(b);
            return d.V(f, a, null).next();
          };

          g.Vm = function (b, a, d) {
            return c.cq.local().V(b, a, d, null);
          };

          g.Pp = function (b, a, d) {
            return c.uy.local().V(b, a, d, null);
          };

          g.PY = function (b, a, d) {
            var f = c.uy.local();
            b = new c.hd(b);
            a = new c.hd(a);
            d = f.V(b, a, d, null);

            for (f = []; null != (a = d.next());) f.push(a);

            return f;
          };

          g.Eb = function (b, a, d) {
            return c.Gj.local().V(3, b, a, d, null);
          };

          g.RR = function (b, a, d) {
            return c.Gj.local().V(4, b, a, d, null);
          };

          g.MU = function (b, a, d) {
            var f = c.tk.local();
            b = new c.hd(b);
            a = new c.hd(a);
            d = f.V(b, a, d, null);

            for (f = []; null != (a = d.next());) f.push(a);

            return f;
          };

          g.OR = function (b, a, d) {
            var f = c.cq.local();
            b = new c.hd(b);
            a = new c.hd(a);
            d = f.V(b, a, d, null);

            for (f = []; null != (a = d.next());) f.push(a);

            return f;
          };

          g.Ma = function (b, a, d) {
            return c.tk.local().V(b, a, d, null);
          };

          g.sZ = function (b, a, d) {
            return c.Gj.local().V(2, b, a, d, null);
          };

          g.contains = function (b, a, d) {
            return c.Gj.local().V(1, b, a, d, null);
          };

          g.zR = function (b, a, d) {
            return c.Gj.local().V(16, b, a, d, null);
          };

          g.touches = function (b, a, d) {
            return c.Gj.local().V(8, b, a, d, null);
          };

          g.pW = function (b, a, d) {
            return c.Gj.local().V(32, b, a, d, null);
          };

          g.OU = function (b, a, d) {
            return c.Gj.local().V(1073741824, b, a, d, null);
          };

          g.ZB = function (b, a, d, f) {
            return c.qN.local().V(b, a, d, f, null);
          };

          g.Cb = function (b, a, d, f) {
            var e = null;

            if (null != d) {
              if (e = d.Nd(), null != f && e.yc() != f.yc() && e.nd != f.nd) throw c.g.vk();
            } else if (null != f) throw c.g.F();

            b = c.iN.local().V(b, a, null);
            null !== e && null !== f && (b = c.oc.li(b, e, f));
            return b;
          };

          g.clip = function (b, a, d) {
            return c.cN.local().V(b, c.h.pa(a.R.o, a.R.A, a.R.v, a.R.B), d, null);
          };

          g.Hl = function (b, a, d) {
            if (null == b || null == a) return null;
            b = c.eN.local().V(!0, b, a, d, null);

            for (a = []; null != (d = b.next());) d.u() || a.push(d);

            return a.slice(0);
          };

          g.RP = function (b, a, d, f, e, h, l, k) {
            if (!0 === e) return g.ZM(b, a, d, f, h, l, k);
            e = d;

            if (null != a) {
              if (l = a.Nd(), null != f && l.yc() != f.yc()) {
                if (l.nd != f.nd) throw c.g.vk();
                e = [];
                c.oc.eG(d, d.length, f, l, e);
              }
            } else if (null != f) throw c.g.F();

            d = c.DD.local();

            if (h) {
              b = new c.hd(b);
              a = d.V(b, a, e, h, null);

              for (b = []; null != (h = a.next());) b.push(h);

              h = b.slice(0);
            } else for (h = [], f = 0; f < b.length; f++) h[f] = d.V(b[f], a, e[f], null);

            return h;
          };

          g.ZM = function (b, a, d, f, e, h, l) {
            if (null === a) throw c.g.F();
            if (null === f || void 0 === f) f = 4326 !== a.yc() ? a.Nd() : c.oc.ze(9001);
            if (0 !== f.nd) throw c.g.F();
            c.oc.eG(d, d.length, f, c.oc.ze(9001), d);
            f = c.JD.local();

            if (e) {
              b = new c.hd(b);
              a = f.V(b, a, h, d, l, !1, e, null);

              for (d = []; null != (h = a.next());) d.push(h);

              e = d.slice(0);
            } else {
              e = [];

              for (var k = 0; k < b.length; k++) e[k] = f.V(b[k], a, h, d[k], l, !1, null);
            }

            return e;
          };

          g.buffer = function (b, a, d, f, e, h, l) {
            var k = d;

            if (!1 === e) {
              if (null != a) {
                if (e = a.Nd(), null != f && e.yc() != f.yc()) {
                  if (e.nd != f.nd) throw c.g.vk();
                  k = c.oc.li(d, f, e);
                }
              } else if (null != f) throw c.g.F();

              b = c.DD.local().V(b, a, k, null);
            } else {
              if (null === a) throw c.g.F();
              if (null === f || void 0 === f) f = 4326 !== a.yc() ? a.Nd() : c.oc.ze(9001);
              if (0 !== f.nd) throw c.g.F();
              k = c.oc.li(d, f, c.oc.ze(9001));
              b = c.JD.local().V(b, a, h, k, l, !1, null);
            }

            return b;
          };

          g.nW = function (b, a, d, f, e, h, l) {
            if (null != a) {
              var k = a.Nd();

              if (null != l && k.yc() != l.yc()) {
                if (k.nd != l.nd) throw c.g.vk();
                d = c.oc.li(d, l, k);
              }
            } else if (null != l) throw c.g.F();

            b = new c.hd(b);
            a = c.MD.local().V(b, a, d, f, e, h, null);

            for (d = []; null != (f = a.next());) d.push(f);

            return d.slice(0);
          };

          g.offset = function (b, a, d, f, e, h, l) {
            if (null != a) {
              var k = a.Nd();

              if (null != l && k.yc() != l.yc()) {
                if (k.nd != l.nd) throw c.g.vk();
                d = c.oc.li(d, l, k);
              }
            } else if (null != l) throw c.g.F();

            return c.MD.local().V(b, a, d, f, e, h, null);
          };

          g.iR = function (b) {
            return c.FD.local().V(b, null);
          };

          g.jR = function (b, a) {
            for (var d = c.FD.local(), f = new c.hd(b), d = d.V(f, a, null), f = [], e; null != (e = d.next());) f.push(e);

            return f;
          };

          g.$z = function (b, a, d) {
            return c.sy.local().$z(b, a, d);
          };

          g.aA = function (b, a) {
            return c.sy.local().aA(b, a);
          };

          g.bA = function (b, a, d, f) {
            return c.sy.local().bA(b, a, d, f);
          };

          g.DC = function (b, a) {
            return c.Km.local().V(b, a, !1, null);
          };

          g.ZU = function (b, a) {
            return c.Km.local().Wq(b, a, null);
          };

          g.HS = function (b, a, d, f, e) {
            var h = c.HD.local();

            if (null != a) {
              if (a = a.Nd(), null != e && a.yc() != e.yc()) {
                if (a.nd != e.nd) throw c.g.vk();
                d = c.oc.li(d, e, a);
              }
            } else if (null != e) throw c.g.F();

            return h.V(b, d, f, null);
          };

          g.Ls = function (b, a, d, f) {
            var e = c.Jm.local();

            if (null != a) {
              if (a = a.Nd(), null != f && a.yc() != f.yc()) {
                if (a.nd != f.nd) throw c.g.vk();
                d = c.oc.li(d, f, a);
              }
            } else if (null != f) throw c.g.F();

            return e.V(b, d, null);
          };

          g.Fz = function (b, a, d, f, e) {
            void 0 === e && (e = 0);
            var h = c.kN.local();
            if (4 == e) throw c.g.df();
            if (0 !== e) throw c.g.df();

            if (null != a) {
              var l = a.Nd();

              if (null != f && l.yc() != f.yc()) {
                if (l.nd != f.nd) throw c.g.vk();
                d = c.oc.li(d, f, l);
              }
            } else if (null != f) throw c.g.F();

            return h.V(b, d, a, e, null);
          };

          g.NS = function (b, a, d, f) {
            if (null === b) return 0;
            if (4 == f) throw c.g.df();
            if (0 !== f) throw c.g.df();
            if (197 == b.G()) b = g.nX(b);else if (1736 != b.G()) return 0;
            f = c.fb.kc(a);
            b = c.fb.Xg(b, a, f, null);
            b = c.rM.OS([b])[0];

            if (null !== d) {
              if (2 !== d.nd) throw c.g.F("Unit must be a area unit type");
              b = c.oc.li(b, c.oc.ze(109404), d);
            }

            return b;
          };

          g.RS = function (b, a, d, f) {
            b = c.mN.local().V(b, a, f, null);

            if (null !== d) {
              if (0 !== d.nd) throw c.g.F("Unit must be a linear unit type");
              b = c.oc.li(b, c.oc.ze(9001), d);
            }

            return b;
          };

          g.xW = function (b, a, d) {
            if (null === b) return 0;
            var f = null;

            if (null != a) {
              f = a.Nd();
              if (0 == f.nd && (f = c.oc.lH(f), null == f && null !== d)) throw c.g.F();
              if (null != d && f.yc() != d.yc() && f.nd != d.nd) throw c.g.vk();
            } else if (null != d) throw c.g.F();

            return 1736 == b.G() || 197 == b.G() ? (b = b.hf(), null !== d ? c.oc.li(b, f, d) : b) : 0;
          };

          g.yW = function (b, a, d) {
            if (null === b || b.u() || 1 > b.tb()) return 0;
            var f = null;

            if (null != a) {
              if (f = a.Nd(), null != d && f.yc() != d.yc() && f.nd != d.nd) throw c.g.vk();
            } else if (null != d) throw c.g.F();

            1736 == b.G() || 197 == b.G() ? a = b.Gg() : c.T.Oc(b.G()) ? (a = new c.Ua(b.description), a.dc(b, !0)) : a = b;
            b = 0;
            a = a.Fa();

            for (var e = new c.b(), h = new c.b(); a.Ya();) for (; a.Ea();) {
              var l = a.ba();
              l.Oq(e);
              l.Ps(h);
              b += c.b.Cb(e, h);
            }

            null !== f && null !== d && (b = c.oc.li(b, f, d));
            return b;
          };

          g.$Z = function (b, a) {
            return c.Sd.QS(b, a);
          };

          g.dG = function (b) {
            return void 0 !== b.points ? g.lW(b, void 0 === b.hasZ ? !1 : b.hasZ, void 0 === b.hasM ? !1 : b.hasM) : void 0 !== b.rings ? g.wH(b.rings, void 0 === b.hasZ ? !1 : b.hasZ, void 0 === b.hasM ? !1 : b.hasM, "P") : void 0 !== b.paths ? g.wH(b.paths, void 0 === b.hasZ ? !1 : b.hasZ, void 0 === b.hasM ? !1 : b.hasM, "L") : void 0 !== b.x ? g.vW(b) : void 0 !== b.xmin ? g.dW(b) : null;
          };

          g.vW = function (b) {
            if (null == b.x || "NaN" == b.x) return new c.Wa();
            var a = new c.Wa(b.x, b.y);
            void 0 !== b.z && null !== b.z && a.sY(b.z);
            void 0 !== b.m && null !== b.m && a.cY(b.m);
            return a;
          };

          g.dW = function (b) {
            if (null == b.xmin || "NaN" == b.xmin) return new c.ci();
            var a = new c.ci(b.xmin, b.ymin, b.xmax, b.ymax);
            void 0 !== b.zmin && null !== b.zmin && a.setInterval(1, 0, b.zmin, b.zmax);
            void 0 !== b.mmin && null !== b.mmin && a.setInterval(2, 0, b.mmin, b.mmax);
            return a;
          };

          g.lW = function (b, a, d) {
            var f = 0,
                e = new c.Ed(),
                h = 3 * b.points.length;
            0 != h % 2 && h++;
            2 > h && (h = 2);
            var l = c.J.truncate(3 * b.points.length / 2);
            4 > l ? l = 4 : 16 > l && (l = 16);

            for (var h = c.Uc.Um(h, 0), k = c.Uc.Um(l), l = c.Uc.Um(l), g = 0; g < b.points.length; g++) h.write(2 * g, b.points[g][0]), h.write(2 * g + 1, b.points[g][1]), k.write(g, a || d ? b.points[g][2] : NaN), l.write(g, d && a ? b.points[g][3] : NaN), f++;

            0 != f && (e.resize(f), e.Yn(0, h));
            a && (e.Ud(1), e.Yn(1, k));
            d && (e.Ud(2), e.Yn(2, 0 == a ? k : l));
            e.Dc(16777215);
            return e;
          };

          g.wH = function (b, a, d, f) {
            var e,
                h = 0,
                l = 2;
            "P" == f ? (e = new c.Ja(), h = 1, l = 3) : e = new c.Ua();

            for (var k = c.Uc.wh(0), g = c.Uc.vq(0), w = 0, p = 0, q = [], t = [], n = 0; n < b.length; n++) {
              var r = b[n].length;
              q[n] = !1;

              if ("P" === f && b[n][0][0] === b[n][b[n].length - 1][0] && b[n][0][1] === b[n][b[n].length - 1][1]) {
                var v = 0 == d ? !0 : b[n][0][3] === b[n][b[n].length - 1][3] || void 0 === b[n][0][3] && void 0 === b[n][b[n].length - 1][3];
                (0 == a || b[n][0][2] === b[n][b[n].length - 1][2] || void 0 === b[n][0][2] && void 0 === b[n][b[n].length - 1][2]) && v && (q[n] = !0, --r);
              }

              r >= l ? (t[n] = !1, p += 1, k.add(w), g.add(h), w += r) : t[n] = !0;
            }

            f = 3 * w;
            0 != f % 2 && f++;
            2 > f && (f = 2);
            n = c.J.truncate(3 * w / 2);
            4 > n ? n = 4 : 16 > n && (n = 16);
            f = c.Uc.Um(f, 0);
            h = c.Uc.Um(n);
            l = c.Uc.Um(n);

            for (n = r = 0; n < b.length; n++) if (!1 === t[n]) for (v = 0; v < b[n].length; v++) {
              var x = !1;
              v === b[n].length - 1 && !0 === q[n] && (x = !0);
              x || (f.write(2 * r, b[n][v][0]), f.write(2 * r + 1, b[n][v][1]), h.write(r, a || d ? b[n][v][2] : NaN), l.write(r, d && a ? b[n][v][3] : NaN), r++);
            }

            0 != w && (b = e, k.resize(p), g.resize(p), 0 < w && (k.add(w), g.add(0)), b.Yn(0, f), b.GK(g), b.HK(k));
            a && (e.Ud(1), e.Yn(1, h));
            d && (e.Ud(2), e.Yn(2, 0 == a ? h : l));
            e.Dc(16777215);
            return e;
          };

          return g;
        }();

        c.cc = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c() {}

          c.Hm = function (b) {
            var a = 0,
                d,
                f = b.length,
                e = b[0],
                c;

            for (d = 0; d < f - 1; d++) c = b[d + 1], a += (c[0] - e[0]) * (c[1] + e[1]), e = c;

            return 0 <= a;
          };

          c.rotate = function (b, a, d) {
            a = a * Math.PI / 180;
            var f = Math.cos(a),
                e = Math.sin(a);

            if (void 0 !== b.paths) {
              a = {
                paths: []
              };

              for (var h = 0; h < b.paths.length; h++) {
                for (var l = b.paths[h], k = [], m = 0; m < l.length; m++) {
                  var w = l[m].slice(0);
                  k.push(w);
                  var p = f * (l[m][0] - d.x) - e * (l[m][1] - d.y) + d.x,
                      q = e * (l[m][0] - d.x) + f * (l[m][1] - d.y) + d.y;
                  w[0] = p;
                  w[1] = q;
                }

                a.paths.push(k);
              }

              return a;
            }

            if (void 0 !== b.rings) {
              a = {
                rings: []
              };

              for (h = 0; h < b.rings.length; h++) {
                for (var l = b.rings[h], k = [], t = c.Hm(l), m = 0; m < l.length; m++) w = l[m].slice(0), k.push(w), p = f * (l[m][0] - d.x) - e * (l[m][1] - d.y) + d.x, q = e * (l[m][0] - d.x) + f * (l[m][1] - d.y) + d.y, w[0] = p, w[1] = q;

                c.Hm(k) !== t && k.reverse();
                a.rings.push(k);
              }

              return a;
            }

            if (void 0 !== b.x) return a = {
              x: f * (b.x - d.x) - e * (b.y - d.y) + d.x,
              y: e * (b.x - d.x) + f * (b.y - d.y) + d.y
            }, void 0 !== b.z && (a.z = b.z), void 0 !== b.m && (a.m = b.m), a;

            if (void 0 !== b.points) {
              a = {
                points: []
              };
              b = b.points;

              for (m = 0; m < b.length; m++) h = b[m].slice(0), h[0] = f * (b[m][0] - d.x) - e * (b[m][1] - d.y) + d.x, h[1] = e * (b[m][0] - d.x) + f * (b[m][1] - d.y) + d.y, a.points.push(h);

              return a;
            }

            return null;
          };

          c.zG = function (b, a) {
            var d, f;

            if (void 0 !== b.paths) {
              d = {
                paths: []
              };

              for (var e = 0; e < b.paths.length; e++) {
                for (var h = b.paths[e], l = [], k = 0; k < h.length; k++) {
                  var m = h[k].slice(0);
                  l.push(m);
                  f = a.x - h[k][0];
                  m[0] = h[k][0] + 2 * f;
                }

                d.paths.push(l);
              }

              return d;
            }

            if (void 0 !== b.rings) {
              d = {
                rings: []
              };

              for (e = 0; e < b.rings.length; e++) {
                for (var h = b.rings[e], w = c.Hm(h), l = [], k = 0; k < h.length; k++) m = h[k].slice(0), l.push(m), f = a.x - h[k][0], m[0] = h[k][0] + 2 * f;

                c.Hm(l) !== w && l.reverse();
                d.rings.push(l);
              }

              return d;
            }

            if (void 0 !== b.x) return f = a.x - b.x, d = {
              x: b.x + 2 * f,
              y: b.y
            }, void 0 !== b.z && (d.z = b.z), void 0 !== b.m && (d.m = b.m), d;

            if (void 0 !== b.points) {
              d = {
                points: []
              };
              e = b.points;

              for (k = 0; k < e.length; k++) h = e[k].slice(0), f = a.x - h[0], h[0] += 2 * f, d.points.push(h);

              return d;
            }

            return void 0 !== b.xmin ? (d = {
              o: b.xmin,
              A: b.ymin,
              v: b.xmax,
              B: b.ymax
            }, void 0 !== b.zmin && (d.zmin = b.zmin, d.zmax = b.zmax), void 0 !== b.mmin && (d.mmin = b.mmin, d.mmax = b.mmax), f = a.x - b.xmin, d.xmax = b.xmin + 2 * f, f = a.x - b.xmax, d.xmin = b.xmax + 2 * f, d) : null;
          };

          c.AG = function (b, a) {
            var d, f;

            if (void 0 !== b.paths) {
              d = {
                paths: []
              };

              for (var e = 0; e < b.paths.length; e++) {
                for (var h = b.paths[e], l = [], k = 0; k < h.length; k++) {
                  var m = h[k].slice(0);
                  l.push(m);
                  f = a.y - h[k][1];
                  m[1] = h[k][1] + 2 * f;
                }

                d.paths.push(l);
              }

              return d;
            }

            if (void 0 !== b.rings) {
              d = {
                rings: []
              };

              for (e = 0; e < b.rings.length; e++) {
                for (var h = b.rings[e], w = c.Hm(h), l = [], k = 0; k < h.length; k++) m = h[k].slice(0), l.push(m), f = a.y - h[k][1], m[1] = h[k][1] + 2 * f;

                c.Hm(l) !== w && l.reverse();
                d.rings.push(l);
              }

              return d;
            }

            if (void 0 !== b.x) return f = a.y - b.y, d = {
              y: b.y + 2 * f,
              x: b.x
            }, void 0 !== b.z && (d.z = b.z), void 0 !== b.m && (d.m = b.m), d;

            if (void 0 !== b.points) {
              d = {
                points: []
              };
              e = b.points;

              for (k = 0; k < e.length; k++) h = e[k].slice(0), f = a.y - h[1], h[1] += 2 * f, d.points.push(h);

              return d;
            }

            return void 0 !== b.xmin ? (d = {
              o: b.xmin,
              A: b.ymin,
              v: b.xmax,
              B: b.ymax
            }, void 0 !== b.zmin && (d.zmin = b.zmin, d.zmax = b.zmax), void 0 !== b.mmin && (d.mmin = b.mmin, d.mmax = b.mmax), f = a.y - b.ymin, d.ymax = b.ymin + 2 * f, f = a.y - b.ymax, d.ymin = b.ymax + 2 * f, d) : null;
          };

          return c;
        }();

        c.Wp = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.bh = function (b, a) {
            var d = a;
            null == d && (d = c.ye.Ig());

            switch (b) {
              case 33:
                return new c.Wa(d);

              case 322:
                return new c.Hb(d);

              case 197:
                return new c.ci(d);

              case 550:
                return new c.Ed(d);

              case 1607:
                return new c.Ua(d);

              case 1736:
                return new c.Ja(d);

              default:
                throw c.g.X("invalid argument.");
            }
          };

          return g;
        }();

        c.vM = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a) {
            this.tf = c.ia.zd(b, -1);
            this.va = new c.Lu();
            this.bm = a;
          }

          g.prototype.yX = function (b) {
            this.va.pu(Math.min(this.tf.size, b));
            this.va.Vn(b);
          };

          g.prototype.addElement = function (b, a) {
            if (void 0 === a) return this.dP(b);
            var d = c.J.truncate(a % this.tf.size),
                f = this.tf.get(d);
            -1 == f && (f = this.va.mi(), this.tf.set(d, f));
            return this.va.addElement(f, b);
          };

          g.prototype.dP = function (b) {
            var a = this.bm.Wz(b),
                a = c.J.truncate(a % this.tf.size),
                d = this.tf.get(a);
            -1 == d && (d = this.va.mi(), this.tf.set(a, d));
            return this.va.addElement(d, b);
          };

          g.prototype.kd = function (b, a) {
            if (void 0 === a) this.HR(b);else {
              var d = c.J.truncate(a % this.tf.size),
                  f = this.tf.get(d);
              if (-1 == f) throw c.g.F();

              for (var e = this.va.xc(f), h = -1; -1 != e;) {
                var l = this.va.nb(e);
                this.va.ja(e) == b ? (this.va.kd(f, h, e), -1 == this.va.xc(f) && (this.va.zh(f), this.tf.set(d, -1))) : h = e;
                e = l;
              }
            }
          };

          g.prototype.HR = function (b) {
            var a = this.bm.Wz(b),
                a = c.J.truncate(a % this.tf.size),
                d = this.tf.get(a);
            if (-1 == d) throw c.g.F();

            for (var f = this.va.xc(d), e = -1; -1 != f;) {
              var h = this.va.nb(f);
              this.va.ja(f) == b ? (this.va.kd(d, e, f), -1 == this.va.xc(d) && (this.va.zh(d), this.tf.set(a, -1))) : e = f;
              f = h;
            }
          };

          g.prototype.iT = function (b) {
            b = c.J.truncate(b % this.tf.size);
            b = this.tf.get(b);
            return -1 == b ? -1 : this.va.xc(b);
          };

          g.prototype.yT = function (b) {
            return this.va.nb(b);
          };

          g.prototype.Kd = function (b) {
            var a = this.bm.Wz(this.ja(b)),
                a = c.J.truncate(a % this.tf.size),
                d = this.tf.get(a);
            if (-1 == d) throw c.g.F();

            for (var f = this.va.xc(d), e = -1; -1 != f;) {
              if (f == b) {
                this.va.kd(d, e, f);
                -1 == this.va.xc(d) && (this.va.zh(d), this.tf.set(a, -1));
                return;
              }

              e = f;
              f = this.va.nb(f);
            }

            throw c.g.F();
          };

          g.prototype.ja = function (b) {
            return this.va.ja(b);
          };

          g.prototype.clear = function () {
            this.tf = c.ia.zd(this.tf.size, -1);
            this.va.clear();
          };

          g.prototype.size = function () {
            return this.va.eH();
          };

          return g;
        }();

        c.FM = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {
            this.kj = new c.ad(3);
            this.va = new c.ad(6);
            this.tV = !1;
            this.Ge = -1;
          }

          g.prototype.Kl = function (b) {
            this.kj.kd(b);
          };

          g.prototype.Bx = function () {
            return this.kj.Pe();
          };

          g.prototype.Pv = function (b) {
            this.va.kd(b);
          };

          g.prototype.GB = function () {
            return this.va.Pe();
          };

          g.prototype.vC = function (b, a) {
            this.kj.P(b, 1, a);
          };

          g.prototype.Qx = function (b, a) {
            this.kj.P(b, 2, a);
          };

          g.prototype.bY = function (b, a) {
            this.kj.P(b, 3, a);
          };

          g.prototype.tC = function (b, a) {
            this.va.P(b, 4, a);
          };

          g.prototype.eY = function (b, a) {
            this.va.P(b, 3, a);
          };

          g.prototype.KK = function (b, a) {
            this.va.P(b, 2, a);
          };

          g.prototype.mi = function (b) {
            var a = this.GB();
            this.va.P(a, 3, this.Ge);
            this.va.P(a, 4, 0);
            this.va.P(a, 5, b);
            -1 != this.Ge && this.KK(this.Ge, a);
            return this.Ge = a;
          };

          g.prototype.zh = function (b) {
            this.RF(b);
            var a = this.va.S(b, 2),
                d = this.va.S(b, 3);
            -1 != a ? this.eY(a, d) : this.Ge = d;
            -1 != d && this.KK(d, a);
            this.Pv(b);
            return d;
          };

          g.prototype.pu = function (b) {
            this.va.Qe(b);
          };

          g.prototype.$G = function (b) {
            return this.va.S(b, 5);
          };

          g.prototype.aY = function (b, a) {
            this.va.P(b, 5, a);
          };

          g.prototype.addElement = function (b, a) {
            return this.pU(b, a);
          };

          g.prototype.pU = function (b, a) {
            var d = this.Bx();
            this.Qx(d, -1);
            -1 == this.va.S(b, 0) && this.va.P(b, 0, d);
            var f = this.va.S(b, 1);
            this.vC(d, f);
            -1 != f && this.Qx(f, d);
            this.va.P(b, 1, d);
            this.setData(d, a);
            this.tC(b, this.at(b) + 1);
            this.tV && this.bY(d, b);
            return d;
          };

          g.prototype.kd = function (b, a) {
            var d = this.Ve(a),
                f = this.nb(a);
            -1 != d ? this.Qx(d, f) : this.va.P(b, 0, f);
            -1 != f ? this.vC(f, d) : this.va.P(b, 1, d);
            this.Kl(a);
            this.tC(b, this.at(b) - 1);
            return f;
          };

          g.prototype.Vn = function (b) {
            this.kj.Qe(b);
          };

          g.prototype.getData = function (b) {
            return this.kj.S(b, 0);
          };

          g.prototype.setData = function (b, a) {
            this.kj.P(b, 0, a);
          };

          g.prototype.nb = function (b) {
            return this.kj.S(b, 2);
          };

          g.prototype.Ve = function (b) {
            return this.kj.S(b, 1);
          };

          g.prototype.xc = function (b) {
            return this.va.S(b, 0);
          };

          g.prototype.Fc = function (b) {
            return this.va.S(b, 1);
          };

          g.prototype.clear = function () {
            for (var b = this.Ge; -1 != b;) b = this.zh(b);
          };

          g.prototype.RF = function (b) {
            for (var a = this.Fc(b); -1 != a;) {
              var d = a,
                  a = this.Ve(d);
              this.Kl(d);
            }

            this.va.P(b, 0, -1);
            this.va.P(b, 1, -1);
            this.tC(b, 0);
          };

          g.prototype.u = function () {
            return 0 == this.kj.size;
          };

          g.prototype.eH = function () {
            return this.kj.size;
          };

          g.prototype.at = function (b) {
            return this.va.S(b, 4);
          };

          g.prototype.cA = function (b) {
            return this.va.S(b, 3);
          };

          return g;
        }();

        c.Xp = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            void 0 === b ? (this.Qg = new c.ad(2), this.va = new c.ad(4), this.Ge = -1, this.Cw = !0) : (this.Qg = new c.ad(2), this.va = new c.ad(b ? 4 : 2), this.Ge = -1, this.Cw = b);
          }

          g.prototype.Kl = function (b) {
            this.Qg.kd(b);
          };

          g.prototype.Bx = function () {
            return this.Qg.Pe();
          };

          g.prototype.Pv = function (b) {
            this.va.kd(b);
          };

          g.prototype.GB = function () {
            return this.va.Pe();
          };

          g.prototype.mi = function () {
            var b = this.GB();
            this.Cw && (this.va.P(b, 3, this.Ge), -1 != this.Ge && this.va.P(this.Ge, 2, b), this.Ge = b);
            return b;
          };

          g.prototype.zh = function (b) {
            for (var a = this.xc(b); -1 != a;) {
              var d = a,
                  a = this.nb(a);
              this.Kl(d);
            }

            this.Cw && (a = this.va.S(b, 2), d = this.va.S(b, 3), -1 != a ? this.va.P(a, 3, d) : this.Ge = d, -1 != d && this.va.P(d, 2, a));
            this.Pv(b);
          };

          g.prototype.pu = function (b) {
            this.va.Qe(b);
          };

          g.prototype.addElement = function (b, a) {
            var d = this.va.S(b, 1),
                f = this.Bx();
            -1 != d ? this.Qg.P(d, 1, f) : this.va.P(b, 0, f);
            this.va.P(b, 1, f);
            this.Qg.P(f, 0, a);
            return f;
          };

          g.prototype.Vn = function (b) {
            this.Qg.Qe(b);
          };

          g.prototype.kd = function (b, a, d) {
            -1 != a ? (this.Qg.P(a, 1, this.Qg.S(d, 1)), this.va.S(b, 1) == d && this.va.P(b, 1, a)) : (this.va.P(b, 0, this.Qg.S(d, 1)), this.va.S(b, 1) == d && this.va.P(b, 1, -1));
            this.Kl(d);
          };

          g.prototype.mz = function (b, a) {
            var d = this.va.S(b, 1),
                f = this.va.S(a, 0);
            -1 != f && (-1 != d ? this.Qg.P(d, 1, f) : this.va.P(b, 0, f), this.va.P(b, 1, this.va.S(a, 1)));
            this.Cw && (d = this.va.S(a, 2), f = this.va.S(a, 3), -1 != d ? this.va.P(d, 3, f) : this.Ge = f, -1 != f && this.va.P(f, 2, d));
            this.Pv(a);
          };

          g.prototype.ja = function (b) {
            return this.Qg.S(b, 0);
          };

          g.prototype.kk = function (b, a) {
            this.Qg.P(b, 0, a);
          };

          g.prototype.nb = function (b) {
            return this.Qg.S(b, 1);
          };

          g.prototype.xc = function (b) {
            return this.va.S(b, 0);
          };

          g.prototype.yo = function (b) {
            return this.ja(this.xc(b));
          };

          g.prototype.clear = function () {
            this.Qg.Vi(!0);
            this.va.Vi(!0);
            this.Ge = -1;
          };

          g.prototype.u = function (b) {
            return void 0 === b ? 0 == this.Qg.size : -1 == this.va.S(b, 0);
          };

          g.prototype.eH = function () {
            return this.Qg.size;
          };

          g.prototype.cA = function (b) {
            return this.va.S(b, 3);
          };

          return g;
        }();

        c.Lu = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.$D = function (b, a, d, f, e, h, l) {
            var k = new c.b();
            k.L(b);
            b = new c.b();
            b.L(a);
            e.Ny(k);
            e.Ny(b);
            a = e.Wu(k);
            var m = e.Wu(b);
            0 == m && (m = e.ZG());

            if (k.x != b.x && (k.y != b.y || k.y != e.A && k.y != e.B) || m > a != h) {
              a = e.AE(k);
              var m = e.AE(b),
                  w,
                  p = h ? 1 : 3;

              do a = a + p & 3, w = e.Gx(a), 0 != l && (f = g.$D(k, w, d, f, e, h, l)), d[f++].ka(w.x, w.y), k = w; while ((a & 3) != m);

              0 != l && (f = g.$D(k, b, d, f, e, h, l));
            } else if (e = new c.b(), e.ka(b.x - k.x, b.y - k.y), 0 != l && (l = c.J.truncate(e.SO() / l), 0 < l)) for (e.scale(1 / (l + 1)), h = 0; h < l; h++) k.add(e), d[f++].ka(k.x, k.y);

            return f;
          };

          g.be = function (b, a, d) {
            a = a.no();
            b = null != b && void 0 !== b.re ? b.re(0) : 0;
            d && (a *= 4, b *= 1.1);
            return Math.max(b, a);
          };

          g.Cs = function (b) {
            return 2 * Math.sqrt(2) * b;
          };

          g.sP = function (b) {
            return Math.sqrt(2) * b;
          };

          g.ah = function (b, a, d) {
            var f = new c.h();
            a.s(f);
            return g.be(b, f, d);
          };

          g.GF = function (b, a, d) {
            a = a.xf(1, 0).no();
            b = null != b ? b.re(1) : 0;
            d && (a *= 4, b *= 1.1);
            return Math.max(b, a);
          };

          g.a_ = function (b, a) {
            var d = new c.h();
            b.ac(d);
            d.Nb(a);
            return d;
          };

          g.Zv = function (b, a) {
            var d = new c.h();
            b.ac(d);
            var f = new c.h();
            a.ac(f);
            d.Nb(f);
            return d;
          };

          g.j_ = function (b, a) {
            var d = b.nT(a),
                f = b.wa(a),
                e = b.Gc(a),
                h = b.Ba(d);
            d == f ? (e = b.Ba(e - 1), d = b.Ba(f + 1)) : d == e - 1 ? (e = b.Ba(d - 1), d = b.Ba(f)) : (e = b.Ba(d - 1), d = b.Ba(d + 1));
            h = c.b.zp(e, h, d);
            return 0 == h ? 0 < b.Sm(a) : -1 == h;
          };

          g.bQ = function (b) {
            var a = new c.h();
            b.ac(a);
            if (a.u()) return null;
            var d = new c.gq(a, 8),
                f = -1,
                e = new c.h(),
                h = !1;

            do for (var l = 0, k = b.aa(); l < k; l++) if (b.jk(l, e), f = d.lw(l, e, f), -1 == f) {
              if (h) throw c.g.X("internal error");
              b.uo(a, !1);
              h = !0;
              d.reset(a, 8);
              break;
            } else h = !1; while (h);

            return d;
          };

          g.BF = function (b) {
            var a = new c.h();
            b.ac(a);

            for (var d = new c.gq(a, 8), f = -1, e = b.Fa(), h = new c.h(), l = !1; e.Ya();) for (; e.Ea();) {
              var k = e.ba(),
                  g = e.Db();
              k.s(h);
              f = d.lw(g, h, f);

              if (-1 == f) {
                if (l) throw c.g.za();
                b.uo(a, !1);
                l = !0;
                d.reset(a, 8);
                e.yj();
                break;
              }
            }

            return d;
          };

          g.Lj = function (b, a) {
            var d = new c.h();
            b.ac(d);

            for (var f = new c.gq(d, 8), e = -1, h = new c.h(), l = b.Fa(), k = !1; l.Ya();) for (; l.Ea();) {
              var g = l.ba(),
                  w = l.Db();
              g.s(h);

              if (h.Yb(a) && (e = f.lw(w, h, e), -1 == e)) {
                if (k) throw c.g.X("internal error.");
                b.uo(d, !1);
                k = !0;
                f.reset(d, 8);
                l.yj();
                break;
              }
            }

            return f;
          };

          g.S_ = function (b) {
            var a = new c.h();
            b.ac(a);

            for (var d = new c.gq(a, 8), f = new c.b(), e = new c.h(), h = !1, l = 0; l < b.D(); l++) if (b.w(l, f), e.I(f), -1 == d.eh(l, e)) {
              if (h) throw c.g.za();
              b.uo(a, !1);
              h = !0;
              d.reset(a, 8);
              l = -1;
            }

            return d;
          };

          g.CF = function (b, a) {
            for (var d = new c.gq(a, 8), f = new c.b(), e = !1, h = new c.h(), l = 0; l < b.D(); l++) if (b.w(l, f), a.contains(f) && (h.I(f), -1 == d.eh(l, h))) {
              if (e) throw c.g.za();
              e = !0;
              l = new c.h();
              b.uo(l, !1);
              d.reset(l, 8);
              l = -1;
            }

            return d;
          };

          g.dT = function (b, a, d) {
            var f = new c.h(),
                e = new c.h();
            b.ac(f);
            a.ac(e);
            f.O(d, d);
            e.O(d, d);
            var h = new c.h();
            h.I(f);
            h.Ma(e);
            b = b.Fa();
            a = a.Fa();
            var l = new c.gD();
            l.zC(d);
            var k = !1;

            for (l.bL(); b.Ya();) for (; b.Ea();) b.ba().s(f), f.Yb(h) && (k = !0, d = new c.h(), d.I(f), l.$E(b.Db(), d));

            l.uG();
            if (!k) return null;
            f = !1;

            for (l.aL(); a.Ya();) for (; a.Ea();) a.ba().s(e), e.Yb(h) && (f = !0, d = new c.h(), d.I(e), l.WE(a.Db(), d));

            l.tG();
            return f ? l : null;
          };

          g.eT = function (b, a, d, f, e) {
            var h = b.G(),
                l = a.G(),
                k = new c.h(),
                g = new c.h();
            b.ac(k);
            a.ac(g);
            k.O(d, d);
            g.O(d, d);
            var w = new c.h();
            w.I(k);
            w.Ma(g);
            var p = new c.gD();
            p.zC(d);
            var q = !1;
            p.bL();
            var t = 0;

            for (d = b.aa(); t < d; t++) if (!f || 1736 != h || b.rw(t)) b.jk(t, k), k.Yb(w) && (q = !0, p.$E(t, k));

            p.uG();
            if (!q) return null;
            b = !1;
            p.aL();
            f = 0;

            for (d = a.aa(); f < d; f++) if (!e || 1736 != l || a.rw(f)) a.jk(f, g), g.Yb(w) && (b = !0, p.WE(f, g));

            p.tG();
            return b ? p : null;
          };

          g.o_ = function (b, a) {
            return 0 < b.Lk(a);
          };

          g.R_ = function (b, a) {
            var d = new c.h();
            b.iX(a, d);
            var d = new c.gq(d, 8),
                f = -1,
                e = new c.h(),
                h = b.Fa();
            h.fC(a);
            if (h.Ya()) for (; h.Ea();) {
              var l = h.ba(),
                  k = h.Db();
              l.ac(e);
              f = d.lw(k, e, f);
              if (-1 == f) throw c.g.X("internal error");
            }
            return d;
          };

          g.Fv = function (b, a, d) {
            if (b != a) for (var f = 0; f < d; f++) null == b[f] ? b[f] = c.b.El(a[f]) : b[f].L(a[f]);
          };

          g.oz = function (b, a, d, f) {
            var e = 0;

            for (f += 0; e < f; d++, e++) null == b[e] && (b[e] = [0, 0]), b[e][0] = a[d].x, b[e][1] = a[d].y;
          };

          g.nz = function (b, a, d, f) {
            var e = a,
                h = 0;

            for (a = f + a; e < a; h++, e++) null == b[e] ? b[e] = c.b.pa(d[h][0], d[h][1]) : b[e].ka(d[h][0], d[h][1]);
          };

          g.kR = function (b, a, d) {
            if (b != a) for (var f = 0; f < d; f++) null == b[f] ? b[f] = new c.Wa(a[f]) : a[f].copyTo(b[f]);
          };

          g.FP = function (b, a, d, f) {
            var e = f.ca;
            f = f.ha;

            for (var c = 0; c < a; c += d) {
              var l = b.read(c);
              l < e ? b.write(c, e) : l > f && b.write(c, f);
            }
          };

          g.vP = function (b, a, d, f) {
            var e = f.ca;
            f = f.ha;

            for (var c = 0; c < a; c += d) {
              var l = b.read(c);
              l < e ? b.write(c, e) : l > f && b.write(c, f);
            }
          };

          g.UK = function (b, a, d) {
            if (b.hasAttribute(d)) {
              var f = b.G();

              if (c.T.gh(f)) {
                var e = c.ma.si(d),
                    f = c.ma.Xa(d),
                    h = b.D();

                if (1 == e) {
                  b = b.Pa(d);
                  g.FP(b, h * f, f, a);
                  return;
                }

                if (2 == e) {
                  b = b.Pa(d);
                  g.vP(b, h * f, f, a);
                  return;
                }

                throw c.g.X("snap_coordinate not implemented");
              }

              if (197 == f) h = b.xf(d, 0), f = !1, h.ca < a.ca && (f = !0, h.ca = a.ca), h.ha > a.ha && (f = !0, h.ha = a.ha), f && b.setInterval(d, 0, h);else if (33 == f) h = b.Yc(d, 0), f = !1, h < a.ca && (f = !0, h = a.ca), h > a.ha && (f = !0, h = a.ha), f && b.setAttribute(d, 0, h);else if (c.T.Oc(f)) h = b.dt(d, 0), f = !1, h < a.ca && (f = !0, h = a.ca), h > a.ha && (f = !0, h = a.ha), f && b.Tx(d, 0, h), h = b.Os(d, 0), h < a.ca && (f = !0, h = a.ca), h > a.ha && (f = !0, h = a.ha), f && b.Lx(d, 0, h);else throw c.g.X("snap_coordinate not implemented");
            }
          };

          g.jo = function (b, a, d, f, e) {
            var c = 0;
            null != a && (c = a.re(b), e && !f || null == a || (c += 1.01 * a.gA(b)));
            f && (d *= 4, c *= 1.01);
            return Math.max(c, d);
          };

          g.T_ = function (b, a, d, f) {
            a = c.h.DO(a.Be(), a.nf(), d.Be(), d.nf());
            return g.jo(0, b, a, f, !1);
          };

          g.Zy = function (b, a, d) {
            a = a.no();
            return g.jo(0, b, a, d, !1);
          };

          g.U_ = function (b, a, d) {
            a = a.no();
            return g.jo(1, b, a, d, !1);
          };

          g.hQ = function (b, a) {
            var d = new c.h();
            a.s(d);
            return g.Zy(b, d, !0);
          };

          g.$y = function (b, a) {
            var d = a.no();
            return g.jo(0, b, d, !1, !0);
          };

          g.V_ = function (b, a, d) {
            a = a.no();
            return g.jo(1, b, a, d, !0);
          };

          g.vv = function (b, a) {
            var d = new c.h();
            a.s(d);
            return g.$y(b, d);
          };

          g.NH = function (b, a, d, f) {
            f *= f;
            var e = new c.b();
            e.zc(b, a);
            b = new c.b();
            b.zc(d, a);
            a = e.qk();
            d = b.qk();
            if (a <= f && d <= f) return !0;
            var h = c.Ub.Yx(e.Ui(b));
            return h <= f * a || h <= f * d ? 0 <= e.oi(b) : !1;
          };

          g.VK = function (b, a, d, f) {
            for (var e = 0; e < a; e++) {
              var h = b[e].y,
                  l = c.J.pk(h, d, f);
              l != h && (b[e].y = l);
            }
          };

          return g;
        }();

        c.na = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a(b) {
            this.ab = b;
          }

          a.prototype.compare = function (a, b, f) {
            a = a.ja(f);
            f = this.ab.Pk(b);
            var c = this.ab.Pk(a);
            return f < c ? -1 : f == c ? d.Vq(b) && d.tw(a) ? -1 : d.Vq(a) && d.tw(b) ? 1 : 0 : 1;
          };

          return a;
        }(),
            g = function () {
          function a(b) {
            this.ab = b;
          }

          a.prototype.hs = function (a, b, d) {
            this.ab.BY(d, a, b);
          };

          a.prototype.Qq = function (a) {
            return this.ab.Pk(a);
          };

          return a;
        }(),
            b;

        (function (a) {
          a[a.initialize = 0] = "initialize";
          a[a.pIn = 1] = "pIn";
          a[a.pL = 2] = "pL";
          a[a.pR = 3] = "pR";
          a[a.pT = 4] = "pT";
          a[a.right = 5] = "right";
          a[a.left = 6] = "left";
          a[a.all = 7] = "all";
        })(b || (b = {}));

        var a = function () {
          function a() {
            this.ab = null;
            this.pj = new c.Ac();
            this.oh = new c.ia(0);
            this.Og = [0, 0];
          }

          a.prototype.Ni = function (a, b) {
            this.pj.ca = a.ca - b;
            this.pj.ha = a.ha + b;
            this.oh.resize(0);
            this.Ee = 0;
            this.Og[0] = 0;
          };

          a.prototype.eC = function (a, b, d) {
            if (a > b) throw c.g.F();
            this.pj.ca = a - d;
            this.pj.ha = b + d;
            this.oh.resize(0);
            this.Ee = 0;
            this.Og[0] = 0;
          };

          a.prototype.Wn = function (a, b) {
            this.pj.ca = a - b;
            this.pj.ha = a + b;
            this.oh.resize(0);
            this.Ee = 0;
            this.Og[0] = 0;
          };

          a.prototype.next = function () {
            if (!this.ab.ar) throw c.g.Da();
            if (0 > this.Ee) return -1;

            for (var a = !0; a;) switch (this.Og[this.Ee]) {
              case 1:
                a = this.qW();
                break;

              case 2:
                a = this.rW();
                break;

              case 3:
                a = this.sW();
                break;

              case 4:
                a = this.tW();
                break;

              case 5:
                a = this.DX();
                break;

              case 6:
                a = this.mV();
                break;

              case 7:
                a = this.wP();
                break;

              case 0:
                a = this.rA();
                break;

              default:
                throw c.g.za();
            }

            return -1 != this.jh ? this.Gq() >> 1 : -1;
          };

          a.CZ = function (b, d, c) {
            var k = new a();
            k.ab = b;
            k.oh.yb(20);
            k.Ni(d, c);
            return k;
          };

          a.DZ = function (b, d, c) {
            var k = new a();
            k.ab = b;
            k.oh.yb(20);
            k.Wn(d, c);
            return k;
          };

          a.pa = function (b) {
            var d = new a();
            d.ab = b;
            d.oh.yb(20);
            d.Ee = -1;
            return d;
          };

          a.prototype.rA = function () {
            this.jh = this.HI = this.lj = this.Sc = -1;
            if (null != this.ab.Je && 0 < this.ab.Je.size) return this.Og[0] = 1, this.lj = this.ab.Mf, !0;
            this.Ee = -1;
            return !1;
          };

          a.prototype.qW = function () {
            this.Sc = this.lj;
            if (-1 == this.Sc) return this.jh = this.Ee = -1, !1;
            var a = this.ab.Hq(this.Sc);
            if (this.pj.ha < a) return a = this.ab.Ok(this.Sc), this.lj = this.ab.Qj(this.Sc), -1 != a && (this.Ei = this.ab.Ol(a), this.Og[++this.Ee] = 6), !0;
            if (a < this.pj.ca) return a = this.ab.Ok(this.Sc), this.lj = this.ab.Nk(this.Sc), -1 != a && (this.Ei = this.ab.Zs(a), this.Og[++this.Ee] = 5), !0;
            this.Og[this.Ee] = 2;
            this.HI = this.Sc;
            a = this.ab.Ok(this.Sc);
            this.lj = this.ab.Qj(this.Sc);
            -1 != a && (this.Ei = this.ab.Ol(a), this.Og[++this.Ee] = 7);
            return !0;
          };

          a.prototype.rW = function () {
            this.Sc = this.lj;
            if (-1 == this.Sc) return this.Og[this.Ee] = 3, this.lj = this.ab.Nk(this.HI), !0;

            if (this.ab.Hq(this.Sc) < this.pj.ca) {
              var a = this.ab.Ok(this.Sc);
              this.lj = this.ab.Nk(this.Sc);
              -1 != a && (this.Ei = this.ab.Zs(a), this.Og[++this.Ee] = 5);
              return !0;
            }

            a = this.ab.Ok(this.Sc);
            this.lj = this.ab.Qj(this.Sc);
            -1 != a && (this.Ei = this.ab.Ol(a), this.Og[++this.Ee] = 7);
            a = this.ab.Nk(this.Sc);
            -1 != a && this.oh.add(a);
            return !0;
          };

          a.prototype.sW = function () {
            this.Sc = this.lj;
            if (-1 == this.Sc) return this.Og[this.Ee] = 4, !0;

            if (this.pj.ha < this.ab.Hq(this.Sc)) {
              var a = this.ab.Ok(this.Sc);
              this.lj = this.ab.Qj(this.Sc);
              -1 != a && (this.Ei = this.ab.Ol(a), this.Og[++this.Ee] = 6);
              return !0;
            }

            a = this.ab.Ok(this.Sc);
            this.lj = this.ab.Nk(this.Sc);
            -1 != a && (this.Ei = this.ab.Ol(a), this.Og[++this.Ee] = 7);
            a = this.ab.Qj(this.Sc);
            -1 != a && this.oh.add(a);
            return !0;
          };

          a.prototype.tW = function () {
            if (0 == this.oh.size) return this.jh = this.Ee = -1, !1;
            this.Sc = this.oh.get(this.oh.size - 1);
            this.oh.resize(this.oh.size - 1);
            var a = this.ab.Ok(this.Sc);
            -1 != a && (this.Ei = this.ab.Ol(a), this.Og[++this.Ee] = 7);
            -1 != this.ab.Qj(this.Sc) && this.oh.add(this.ab.Qj(this.Sc));
            -1 != this.ab.Nk(this.Sc) && this.oh.add(this.ab.Nk(this.Sc));
            return !0;
          };

          a.prototype.mV = function () {
            this.jh = this.Ei;
            if (-1 != this.jh && d.Vq(this.Gq()) && this.ab.Pk(this.Gq()) <= this.pj.ha) return this.Ei = this.dH(), !1;
            this.Ee--;
            return !0;
          };

          a.prototype.DX = function () {
            this.jh = this.Ei;
            if (-1 != this.jh && d.tw(this.Gq()) && this.ab.Pk(this.Gq()) >= this.pj.ca) return this.Ei = this.KT(), !1;
            this.Ee--;
            return !0;
          };

          a.prototype.wP = function () {
            this.jh = this.Ei;
            if (-1 != this.jh && d.Vq(this.Gq())) return this.Ei = this.dH(), !1;
            this.Ee--;
            return !0;
          };

          a.prototype.dH = function () {
            return this.ab.pg ? this.ab.vg.nb(this.jh) : this.ab.sj.nb(this.jh);
          };

          a.prototype.KT = function () {
            return this.ab.pg ? this.ab.vg.Ve(this.jh) : this.ab.sj.Ve(this.jh);
          };

          a.prototype.Gq = function () {
            return this.ab.pg ? this.ab.vg.ja(this.jh) : this.ab.sj.getData(this.jh);
          };

          return a;
        }();

        c.WZ = a;

        var d = function () {
          function b(a) {
            this.on = this.zi = this.vg = this.sj = this.xn = this.ak = this.Je = this.bk = null;
            this.pg = a;
            this.ar = this.Ew = !1;
          }

          b.prototype.cs = function () {
            this.ql(!0);
          };

          b.prototype.zs = function (a, b) {
            if (!this.Ew) throw c.g.Da();
            this.bk.push(new c.Ac(a, b));
          };

          b.prototype.yq = function () {
            if (!this.Ew) throw c.g.X("invalid call");
            this.Ew = !1;
            this.ar = !0;
            this.pg || (this.rU(), this.Mw = this.bk.length);
          };

          b.prototype.eh = function (a) {
            if (!this.pg || !this.ar) throw c.g.F("invalid call");

            if (-1 == this.Mf) {
              var b = this.bk.length;

              if (this.SA) {
                var d = new c.ia(0);
                d.yb(2 * b);
                this.VJ(d);
                this.zi.yb(2 * b);
                this.zi.resize(0);
                this.UJ(d);
                this.xn.resize(b, -1);
                this.xn.Zh(-1, 0, b);
                this.SA = !1;
              } else this.xn.Zh(-1, 0, b);

              this.Mf = this.Hv();
            }

            b = this.DH(a << 1, this.Mf);
            d = this.vg.addElement((a << 1) + 1, this.iA(b));
            this.MK(b, d);
            this.xn.set(a, b);
            this.Mw++;
          };

          b.prototype.remove = function (a) {
            if (!this.pg || !this.ar) throw c.g.X("invalid call");
            var b = this.xn.get(a);
            if (-1 == b) throw c.g.F("the interval does not exist in the interval tree");
            this.xn.set(a, -1);
            this.Mw--;
            var d = this.iA(b),
                f;
            f = this.vg.TT(d);
            this.vg.Kd(this.rT(b), d);
            this.vg.Kd(this.NT(b), d);
            a = this.vg.size(d);
            0 == a && (this.vg.JR(d), this.PK(f, -1));
            this.ak.kd(b);

            for (var d = this.fH(f), g = this.Qj(f), w = this.Nk(f), b = 0; !(0 < a || f == this.Mf || -1 != g && -1 != w);) f == this.Qj(d) ? -1 != g ? (this.rl(d, g), this.mk(g, d), this.rl(f, -1)) : -1 != w ? (this.rl(d, w), this.mk(w, d), this.tl(f, -1)) : this.rl(d, -1) : -1 != g ? (this.tl(d, g), this.mk(g, d), this.rl(f, -1)) : -1 != w ? (this.tl(d, w), this.mk(w, d), this.tl(f, -1)) : this.tl(d, -1), this.mk(f, -1), b++, f = d, d = this.Ok(f), a = -1 != d ? this.vg.size(d) : 0, g = this.Qj(f), w = this.Nk(f), d = this.fH(f);
          };

          b.prototype.reset = function () {
            if (!this.pg || !this.ar) throw c.g.F("invalid call");
            this.ql(!1);
          };

          b.prototype.size = function () {
            return this.Mw;
          };

          b.prototype.mf = function () {
            return a.pa(this);
          };

          b.prototype.VJ = function (a) {
            for (var b = this.bk.length, d = 0; d < 2 * b; d++) a.add(d);

            this.CY(a, 2 * b);
          };

          b.prototype.UJ = function (a) {
            for (var b = NaN, d = 0; d < a.size; d++) {
              var f = a.get(d),
                  c = this.Pk(f);
              c != b && (this.zi.add(f), b = c);
            }
          };

          b.prototype.rU = function () {
            var a = this.bk.length,
                b = new c.ia(0);
            b.yb(2 * a);
            this.VJ(b);
            this.zi.yb(2 * a);
            this.zi.resize(0);
            this.UJ(b);
            this.ak.Qe(a);
            this.sj.Vn(2 * a);
            var d = c.Uc.wh(a);
            d.Zh(-1, 0, a);
            this.Mf = this.Hv();

            for (a = 0; a < b.size; a++) {
              var f = b.get(a),
                  g = d.get(f >> 1);
              -1 != g ? this.MK(g, this.sj.addElement(this.iA(g), f)) : (g = this.DH(f, this.Mf), d.set(f >> 1, g));
            }
          };

          b.prototype.DH = function (a, b) {
            var d = b,
                f = b,
                g = b,
                w,
                p = -1,
                q = 0,
                t = this.zi.size - 1,
                n = 0,
                r = a >> 1,
                v = NaN,
                x = NaN;
            w = !0;

            for (var B = this.xT(r), r = this.uT(r); w;) {
              q < t ? (n = q + c.J.truncate((t - q) / 2), -1 == this.Qz(d) && this.vK(d, this.zi.get(n), this.zi.get(n + 1))) : -1 == this.Qz(d) && this.vK(d, this.zi.get(q), this.zi.get(q));
              var y = this.Hq(d);
              if (r < y) -1 != g && (g == d ? (f = d, v = y, g = this.Qj(d), -1 != g ? x = this.Hq(g) : x = NaN) : x > y && (y < v ? this.rl(f, d) : this.tl(f, d), this.tl(d, g), this.pg && (this.mk(d, f), this.mk(g, d)), f = d, v = y, g = -1, x = NaN)), t = this.sT(d), -1 == t && (t = this.Hv(), this.ZX(d, t)), d = t, t = n;else if (B > y) -1 != g && (g == d ? (f = d, v = y, g = this.Nk(d), -1 != g ? x = this.Hq(g) : x = NaN) : x < y && (y < v ? this.rl(f, d) : this.tl(f, d), this.rl(d, g), this.pg && (this.mk(d, f), this.mk(g, d)), f = d, v = y, g = -1, x = NaN)), q = this.OT(d), -1 == q && (q = this.Hv(), this.jY(d, q)), d = q, q = n + 1;else {
                w = this.Ok(d);
                -1 == w && (w = this.xR(d), this.PK(d, w));
                var A = this.eP(w, a),
                    p = this.vR();
                this.mY(p, w);
                this.YX(p, A);
                d != g && (y < v ? this.rl(f, d) : this.tl(f, d), this.pg && this.mk(d, f), -1 != g && (x < y ? this.rl(d, g) : this.tl(d, g), this.pg && this.mk(g, d)));
                w = !1;
              }
            }

            return p;
          };

          b.prototype.Hv = function () {
            return this.Je.Pe();
          };

          b.prototype.xR = function (a) {
            return this.pg ? this.vg.Ks(a) : this.sj.mi(a);
          };

          b.prototype.vR = function () {
            return this.ak.Pe();
          };

          b.prototype.ql = function (a) {
            a ? (this.Ew = this.SA = !0, this.ar = !1, null == this.zi ? this.zi = c.Uc.wh(0) : this.zi.resize(0), null == this.bk ? this.bk = [] : this.bk.length = 0) : this.SA = !1;
            this.pg ? null == this.xn ? (this.xn = c.Uc.wh(0), this.vg = new c.uk(), this.vg.Ep(new n(this))) : this.vg.clear() : null == this.sj ? this.sj = new c.Xp() : this.sj.clear();
            null == this.Je ? (this.ak = new c.ad(3), this.Je = new c.ad(this.pg ? 8 : 7)) : (this.ak.Vi(!1), this.Je.Vi(!1));
            this.Mf = -1;
            this.Mw = 0;
          };

          b.prototype.vK = function (a, b, d) {
            this.TX(a, b);
            this.UX(a, d);
          };

          b.prototype.Hq = function (a) {
            var b = this.Qz(a);
            if (-1 == b) return NaN;
            b = this.Pk(b);
            a = this.Pk(this.ZS(a));
            return b == a ? b : .5 * (b + a);
          };

          b.prototype.TX = function (a, b) {
            this.Je.P(a, 0, b);
          };

          b.prototype.UX = function (a, b) {
            this.Je.P(a, 1, b);
          };

          b.prototype.ZX = function (a, b) {
            this.Je.P(a, 3, b);
          };

          b.prototype.jY = function (a, b) {
            this.Je.P(a, 4, b);
          };

          b.prototype.PK = function (a, b) {
            this.Je.P(a, 2, b);
          };

          b.prototype.rl = function (a, b) {
            this.Je.P(a, 5, b);
          };

          b.prototype.tl = function (a, b) {
            this.Je.P(a, 6, b);
          };

          b.prototype.mk = function (a, b) {
            this.Je.P(a, 7, b);
          };

          b.prototype.mY = function (a, b) {
            this.ak.P(a, 0, b);
          };

          b.prototype.eP = function (a, b) {
            return this.pg ? this.vg.addElement(b, a) : this.sj.addElement(a, b);
          };

          b.prototype.YX = function (a, b) {
            this.ak.P(a, 1, b);
          };

          b.prototype.MK = function (a, b) {
            this.ak.P(a, 2, b);
          };

          b.prototype.Ol = function (a) {
            return this.pg ? this.vg.xc(a) : this.sj.xc(a);
          };

          b.prototype.Zs = function (a) {
            return this.pg ? this.vg.Fc(a) : this.sj.Fc(a);
          };

          b.Vq = function (a) {
            return 0 == (a & 1);
          };

          b.tw = function (a) {
            return 1 == (a & 1);
          };

          b.prototype.Qz = function (a) {
            return this.Je.S(a, 0);
          };

          b.prototype.ZS = function (a) {
            return this.Je.S(a, 1);
          };

          b.prototype.Ok = function (a) {
            return this.Je.S(a, 2);
          };

          b.prototype.sT = function (a) {
            return this.Je.S(a, 3);
          };

          b.prototype.OT = function (a) {
            return this.Je.S(a, 4);
          };

          b.prototype.Qj = function (a) {
            return this.Je.S(a, 5);
          };

          b.prototype.Nk = function (a) {
            return this.Je.S(a, 6);
          };

          b.prototype.fH = function (a) {
            return this.Je.S(a, 7);
          };

          b.prototype.iA = function (a) {
            return this.ak.S(a, 0);
          };

          b.prototype.rT = function (a) {
            return this.ak.S(a, 1);
          };

          b.prototype.NT = function (a) {
            return this.ak.S(a, 2);
          };

          b.prototype.xT = function (a) {
            return this.bk[a].ca;
          };

          b.prototype.uT = function (a) {
            return this.bk[a].ha;
          };

          b.prototype.CY = function (a, b) {
            null == this.on && (this.on = new c.Hu());
            var d = new g(this);
            this.on.sort(a, 0, b, d);
          };

          b.prototype.BY = function (a, d, c) {
            var k = this;
            a.Gd(d, c, function (a, d) {
              var c = k.Pk(a),
                  e = k.Pk(d);
              return c < e || c == e && b.Vq(a) && b.tw(d) ? -1 : 1;
            });
          };

          b.prototype.Pk = function (a) {
            var d = this.bk[a >> 1];
            return b.Vq(a) ? d.ca : d.ha;
          };

          return b;
        }();

        c.ns = d;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            if (null == b) throw c.g.X("Invalid arguement");
            this.Ke = b;
            var a = b.fT();
            a.cU() ? b.je.UH() ? this.Zo = c.di.PannableFold : this.Zo = c.di.Clip : this.Zo = c.di.DontClip;
            a.dU() ? b.He.UH() ? this.Dn = c.di.PannableFold : this.Dn = c.di.Clip : this.Dn = c.di.DontClip;
            this.pn = a.yv;
            this.yI = a.uz;
            b = this.Ke.EI;
            this.mI = b.et(2147483648);
            this.Gw = b.et(1073741824);
          }

          g.Xg = function (b, a, d) {
            return a.xr.Xg(b, d);
          };

          g.gs = function (b, a, d, f) {
            return b.xr.gs(a, d, f);
          };

          g.Du = function (b, a, d, f) {
            d = 0 > d ? a.length : d;
            b = b.xr.gs(a, d, f);
            if (b == d) return b;

            for (var c = a = 0; c < d; c++) {
              var h = f[c];
              h.isNaN() || (a < c && f[a].L(h), a++);
            }

            for (; a < d; a++) f[a].$c();

            return b;
          };

          g.MC = function (b, a, d, f) {
            return b.xr.MC(a, d, f);
          };

          g.iL = function (b, a, d, f) {
            d = 0 > d ? a.length : d;
            b = b.xr.MC(a, d, f);
            if (b == d) return b;

            for (var c = a = 0; c < d; c++) {
              var h = f[c];
              isNaN(h.x) || (a < c && f[a].I(h.x, h.y, h.z), a++);
            }

            for (; a < d; a++) f[a].dv();

            return b;
          };

          g.transform = function (b, a, d, f, e) {
            if (b.Ho()) return c.na.kR(f, a, d), d;

            for (var h = [], l = 0, k = 0; k < d;) {
              for (var m = Math.min(h.length, d - k), w = k, p = 0; w < m; w++, p++) null == h[p] ? h[p] = a[w].w() : a[w].w(h[p]);

              var q;
              q = e ? g.Du(b, h, m, h) : g.gs(b, h, m, h);

              for (p = w = 0; w < q; w++, p++) null == f[k] && (f[k] = new c.Wa(a[k])), f[k].rb(h[p]);

              k += m;
              l += q;
            }

            return l;
          };

          g.jL = function (b, a, d) {
            if (0 == d) return [];
            var f = new c.Ed();
            f.oP(a, 2 * d);
            a = this.Xg(f, b, null);
            b = a.Pa(0);
            a = 2 * a.D();
            d = c.J.gf(a);
            b.pl(0, a, d, 0, !0);
            return d;
          };

          g.prototype.gs = function (b, a, d) {
            if (this.Ke.Ho()) return b != d && c.na.Fv(d, b, a), a;
            var f = this.Ke.je,
                e = this.Ke.He,
                h = f.Fb(),
                l = e.Fb();

            if (0 == h && h === l) {
              var k = f.Yi(),
                  e = e.Yi(),
                  e = k / e,
                  k = new c.Hd();
              k.Op(e, e);
              k.$Y(b, a, d);
              return a;
            }

            k = c.J.qv(Math.min(a, 64));

            if (3 == h) {
              var g;
              g = f.ij;
              f = g.Gk();
              h = f.Fb();
              d != b && c.na.Fv(d, b, a);
              c.Ib.Dl(g, d, a, !0);
              g.Du(c.Om.forward, d, a);
              c.Ib.Cl(g, d, a, !0);
            }

            if (3 == h || 3 === l) throw c.g.X("image: transform_in_place_");
            if (2 == h) this.Zo == c.di.Clip ? (d != b && c.na.Fv(d, b, a), b = f.Mk(), c.Ib.KU(b, f, d, a)) : (d != b && c.na.Fv(d, b, a), f.Jc() && (h = f.re(0), g = f.qe(), c.Ib.zY(d, a, g, h), c.Ib.BG(d, a, f, 0))), c.Ib.xN(f, d, a, k);else for (h = f.re(0), g = f.qe(), f = 0; f < a; f++) c.Ib.AY(b[f], g, h, d[f]);
            c.Ib.vN(this.Ke, d, a, k);
            b = 0;
            (l = 2 == l) ? b = e.pi() : isNaN(this.pn) || (b = this.pn);
            l && this.Dn != c.di.Clip || c.Ib.BG(d, a, e.kc(), b);
            l && (c.Ib.LH(d, a, e, this.Dn), c.Ib.wN(e, d, a, k));
            b = a;

            for (f = 0; f < a; ++f) d[f].isNaN() && b--;

            return b;
          };

          g.prototype.MC = function (b, a, d) {
            a = 0 > a ? b.length : a;

            if (this.Ke.Ho()) {
              for (var f = 0; f < a; ++f) null == d[f] && (d[f] = new c.qd()), d[f].I(b[f].x, b[f].y, b[f].z);

              return a;
            }

            var e = this.Ke.je,
                f = this.Ke.He,
                h = e.Fb(),
                l = f.Fb();
            if (0 == h && h == l) return e = e.Yi(), f = f.Yi(), f = e / f, e = new c.fO(), e.Op(f, f, f), e.transform(b, a, d), a;
            h = new c.Ed();
            h.Ud(1);
            h.Ud(3);
            h.nP(b);
            b = h.Pa(3);
            f = 0;

            for (e = a; f < e; f++) b.write(f, f);

            h = this.Xg(h, null);

            for (f = 0; f < a; ++f) null == d[f] ? d[f] = c.qd.pa(NaN, NaN, NaN) : d[f].dv();

            if (null == h) return 0;
            b = h.Pa(3);
            var l = h.Pa(0),
                k = h.Pa(1);
            h.gX(d, a);
            f = 0;

            for (e = h.D(); f < e; f++) a = b.read(f), l.pX(2 * f, d[a]), d[a].z = k.read(f);

            return h.D();
          };

          g.prototype.Xg = function (b, a) {
            if (this.Ke.Ho() || b.u()) return b;
            if (33 == b.G()) return this.PJ(b);
            var d = this.Ke.je,
                f = this.Ke.He,
                e = d.Fb(),
                h = f.Fb();
            if (0 == e && e == h) return d = d.Yi(), f = f.Yi(), d /= f, f = new c.Hd(), f.Op(d, d), d = c.T.oe(b), d.Xc(f), d;

            switch (b.G()) {
              case 1607:
              case 1736:
                f = this.NJ(b, a);
                break;

              case 550:
                f = this.XW(b, a);
                break;

              case 197:
                f = this.WW(b, a);
                break;

              default:
                throw c.g.X("");
            }

            return f;
          };

          g.prototype.PJ = function (b) {
            var a = b.w(),
                d = [];
            d[0] = a;
            this.gs(d, 1, d);
            b = new c.Wa(b);
            b.rb(d[0]);
            return b;
          };

          g.prototype.NJ = function (b, a) {
            if (b.hn()) throw c.g.X("curves not supported");
            var d = b.G();
            if (1736 == d) return this.YW(b, a);
            if (1607 == d) return this.ZW(b, a);
            throw c.g.X("projectMultiPath");
          };

          g.prototype.YW = function (b, a) {
            var d = this.Ke.je,
                f = this.Ke.He,
                e = d.Fb(),
                h = f.Fb(),
                l = c.J.qv(Math.min(b.D(), 64)),
                k = c.Ja.oe(b);

            if (3 == e) {
              var m = d.ij,
                  d = m.Gk(),
                  e = d.Fb(),
                  k = m.Dl(k, !0);
              this.qq(m, c.Om.forward, k);
              k = m.Cl(k, !0);
            }

            m = null;
            3 == h && (m = f.ij, f = m.Gk(), h = f.Fb());
            var w = 2 == e,
                p = 2 == h,
                q = p ? f.kc() : f,
                t = !p && !this.Gw,
                h = !1,
                n = k;

            if (w) {
              if (n = c.Ib.MJ(n, d, this.Zo, a), n.u()) return n;
            } else {
              k = new c.h();
              n.ac(k);
              e = d.qe();

              if (k.A < e.A || k.B > e.B) {
                var r = c.h.pa(k.o - 1, e.A, k.v + 1, e.B),
                    n = c.uh.rq(n, r, d, NaN, 0, a);
                if (n.u()) return n;
              }

              k.N() > 2 * e.N() && (n = c.Ib.Aq(n, -2 * e.N(), 2 * e.N(), d, !0, 0, !0, a));
            }

            k = this.yI;
            (e = !isNaN(k)) && (n = c.Jm.local().V(n, k, a));
            var r = p ? f.Sj() : null,
                v = NaN;
            w && (v = d.pi());
            var x = null != f.Ws();
            if (this.mI) w && (c.Ib.qs(d, v, n, l), e && (w = d.Ch(), v = d.kc().Ch(), k *= v / w)), c.Ib.ps(this.Ke, n, t, l), e && (w = d.kc().Ch(), v = f.kc().Ch(), k *= v / w), d = n;else {
              var B = new c.Ua(n.description);
              B.VE(n);
              w && (c.Ib.qs(d, v, B, l), e && (w = d.Ch(), v = d.kc().Ch(), k *= v / w));
              c.Ib.ps(this.Ke, B, t, l);
              e && (w = d.kc().bn(), v = f.kc().bn(), k *= v / w);
              t = NaN;
              p ? (r = f.Sj(), t = f.pi()) : isNaN(this.pn) || (t = this.pn);
              w = g.se(d) | g.se(f);
              v = 10 * q.re(0);
              this.Gw && (w = 3, v = 0);
              d = c.Ib.LS(n, d, B, q, t, a, w, v);
            }
            x && (d = c.Ib.kF(d, f, a));
            p && (h || (p = q.qe().N(), d.xf(0, 0).N() >= p - q.re(0) && (q = r.getNorthPoleLocation(), p = r.getSouthPoleLocation(), n = r.getNorthPoleGeometry(), r = r.getSouthPoleGeometry(), t = 0, n == c.Bg.PE_POLE_POINT && q != c.Bg.PE_POLE_OUTSIDE_BOUNDARY && (t = 1), r == c.Bg.PE_POLE_POINT && p != c.Bg.PE_POLE_OUTSIDE_BOUNDARY && (t |= 2), 0 !== t && (h = !0))), d = c.Ib.uA(d, f, this.Dn, a), e && (d = c.Jm.local().V(d, k, a)), c.Ib.vy(f, d, l));
            if (d.u()) return d;
            h && (d = c.Km.local().V(d, f, !1, a));
            null != m && (d = m.Cl(d, !1), this.qq(m, c.Om.reverse, d), d = m.Dl(d, !1));
            return d;
          };

          g.se = function (b) {
            if (2 != b.Fb()) return 0;
            var a = 0,
                d = b.Sj();
            b = d.getNorthPoleLocation();
            var f = d.getSouthPoleLocation(),
                e = d.getNorthPoleGeometry(),
                d = d.getSouthPoleGeometry();
            e == c.Bg.PE_POLE_POINT && b != c.Bg.PE_POLE_OUTSIDE_BOUNDARY && (a = 1);
            d == c.Bg.PE_POLE_POINT && f != c.Bg.PE_POLE_OUTSIDE_BOUNDARY && (a |= 2);
            return a;
          };

          g.prototype.ZW = function (b, a) {
            var d = this.Ke.je,
                f = this.Ke.He,
                e = d.Fb(),
                h = f.Fb(),
                l = c.J.qv(Math.min(b.D(), 64)),
                k = c.Ua.oe(b);

            if (3 == e) {
              var m = d.ij,
                  d = m.Gk(),
                  e = d.Fb(),
                  k = m.Dl(k, !0);
              this.qq(m, c.Om.forward, k);
              k = m.Cl(k, !0);
            }

            m = null;
            3 == h && (m = f.ij, f = m.Gk(), h = f.Fb());
            var w = 2 == e,
                e = (h = 2 == h) ? f.kc() : f,
                p = !h && !this.Gw;

            if (w) {
              if (k = c.Ib.MJ(k, d, this.Zo, a), k.u()) return k;
            } else {
              var q = new c.h();
              k.ac(q);
              var t = d.qe();
              if (q.A < t.A || q.B > t.B) if (q = c.h.pa(q.o - 1, t.A, q.v + 1, t.B), k = c.uh.rq(k, q, d, NaN, 0, a), k.u()) return k;
            }

            var n = NaN;
            w && (n = d.pi());
            var q = null != f.Ws(),
                t = this.yI,
                r = !isNaN(t);
            r && (k = c.Jm.local().V(k, t, a));
            if (this.mI) w && c.Ib.qs(d, n, k, l), r && (w = d.Ch(), n = d.kc().Ch(), t *= n / w), c.Ib.ps(this.Ke, k, p, l), r && (w = d.kc().Ch(), n = f.kc().Ch(), t *= n / w), d = k;else {
              var v = new c.Ua(k.description);
              v.VE(k);
              w && (c.Ib.qs(d, n, v, l), r && (w = d.Ch(), n = d.kc().Ch(), t *= n / w));
              c.Ib.ps(this.Ke, v, p, l);
              r && (w = d.kc().Ch(), n = f.kc().Ch(), t *= n / w);
              p = NaN;
              h ? p = f.pi() : isNaN(this.pn) || (p = this.pn);
              w = g.se(d) | g.se(f);
              n = 10 * e.re(0);
              this.Gw && (w = 3, n = 0);
              d = c.Ib.MS(k, d, v, e, p, a, w, n);
            }
            q && (d = c.Ib.kF(d, f, a));
            h && (d = c.Ib.uA(d, f, this.Dn, a), r && (d = c.Jm.local().V(d, t, a)), c.Ib.vy(f, d, l));
            if (d.u()) return d;
            null != m && (d = m.Cl(d, !1), this.qq(m, c.Om.reverse, d), d = m.Dl(d, !1));
            return d;
          };

          g.prototype.WW = function (b, a) {
            var d = (b.fa() + b.N()) / 400;

            if (0 != d) {
              var f = c.Jm.local().V(b, d, a),
                  f = this.NJ(f, a),
                  d = b.Ka();
              f.Qn(d);
            } else d = new c.Wa(b.Bq()), f = this.PJ(d), d = b.Ka(), f.u() ? d.Oa() : (b.copyTo(d), f = f.w(), d.I(f.x, f.y, f.x, f.y));

            return d;
          };

          g.prototype.XW = function (b, a) {
            var d = c.T.oe(b),
                f = this.Ke.je,
                e = this.Ke.He,
                h = f.Fb(),
                l = e.Fb(),
                k = c.J.qv(Math.min(d.D(), 64));

            if (3 == h) {
              var g = f.ij,
                  f = g.Gk(),
                  h = f.Fb(),
                  d = g.Cl(d, !0);
              this.qq(g, c.Om.forward, d);
              d = g.Dl(d, !0);
            }

            if (2 == h) {
              this.Zo == c.di.Clip ? d = c.tk.local().V(d, f.Mk(), f, a) : f.Jc() && (h = new c.h(), d.ac(h), f.qe().contains(h) || (this.Zo == c.di.PannableFold && (d = c.Ib.Mj(d, f)), c.Ib.xu(d, f.qe(), f.re(0), !0), d = c.Ib.Xm(d, f, 0, !0, 0, a)));
              if (d.u()) return d;
              c.Ib.qs(f, 0, d, k);
            } else c.Ib.xu(d, f.qe(), f.re(0), !0);

            c.Ib.ps(this.Ke, d, !1, k);
            f = 0;
            h = !1;
            g = null;
            3 == l && (h = !0, g = e.ij, e = g.Gk(), l = e.Fb());
            (l = 2 == l) ? f = e.pi() : isNaN(this.pn) || (f = this.pn);
            l && this.Dn != c.di.Clip || (d = c.Ib.Xm(d, e.kc(), f, !1, 0, a));
            if (l && (d = c.Ib.uA(d, e, this.Dn, a), c.Ib.vy(e, d, k), d.u())) return d;
            h && (d = g.Cl(d, !0), this.qq(g, c.Om.reverse, d), d = g.Dl(d, !0));
            return d;
          };

          g.prototype.qq = function (b, a, d) {
            var f = d.D();

            if (0 != f) {
              for (var e = d.Pa(0), h = c.J.gf(200, 0), l = [], k = 0; k < f;) {
                var g = Math.min(100, f - k);
                e.pl(2 * k, 2 * g, h, 2, !0);

                for (var w = 0; w < g; ++w) l[w] = c.b.pa(h[2 * k], h[2 * k + 1]);

                b.Du(a, l, g);
                k += g;
              }

              d.Dc(1993);
            }
          };

          g.rk = function (b, a, d) {
            if (null == b || null == a || !a.Jc()) throw c.g.X("Invalid Arguement");
            if (b.u()) return b;
            var f;
            f = b.G();
            197 == f ? (f = new c.Ja(b.description), f.jd(b, !1)) : c.T.Oc(f) ? (f = new c.Ua(b.description), f.dc(b, !0)) : f = b;
            f = c.Ib.Mj(f, a);
            return f.u() ? f : c.Ib.Xm(f, a, 0, f != b, 0, d);
          };

          g.Nj = function (b, a, d, f) {
            if (null == b || null == a || !a.Jc()) throw c.g.X("Invalid Arguement");
            if (b.u()) return b;
            var e = b.G();

            if (c.T.Ic(e)) {
              b = c.Ib.Mj(b, a);
              e = new c.h();
              b.s(e);

              for (var h = c.na.Zy(a, e, !1), l = a.Bh(), k = Math.floor((e.o - l.o) / l.N()) * l.N() + l.o; k < e.v;) k > e.o + h && k < e.v - h && (b = c.Ib.qU(b, a, d, k)), k += l.N();
            } else {
              if (197 == e) return e = new c.Ja(b.description), e.jd(b, !1), g.Nj(e, a, d, f);
              if (c.T.Oc(e)) return e = new c.Ua(b.description), e.dc(b, !0), g.Nj(e, a, d, f);
            }

            return g.rk(b, a, f);
          };

          g.Yp = function (b, a, d, f) {
            var e = a.Fb(),
                h = new c.fE();
            a.jX(h);
            if (0 == e) return g.Dj(b, h, a, d);
            f == c.Up.foldAndClipWithHorizon && a.Jc() && (b = g.rk(b, a, d));
            b = g.Dj(b, h, a, d);
            if (f == c.Up.clipToDomainOnly || b.u()) return b;
            if (1 == e) return f == c.Up.clipWithHorizon ? (f = new c.h(), b.ac(f), e = a.qe(), h = .01 * e.N(), f.A = e.A, f.B = e.B, f.o -= h, f.v += h, c.uh.rq(b, f, a, NaN, 0, d)) : b;
            if (2 == e) return e = a.Mk(), f == c.Up.clipWithHorizon || f == c.Up.foldAndClipWithHorizon ? (a = c.tk.local().V(b, e, a, d), a == e ? c.T.oe(a) : a) : b;
            if (3 == e) return b;
            throw c.g.X("missing implementation");
          };

          g.Dj = function (b, a, d, f) {
            var e = a.XT(),
                h = b.hasAttribute(1),
                l = b.hasAttribute(2),
                k = new c.Ac();
            k.Oa();
            var g = new c.Ac();
            g.Oa();
            h && (k = a.YT());
            l && (g = a.tT());
            a = c.uh.rq(b, e, d, NaN, 0, f);
            h && (h = a.xf(1, 0), k.contains(h) || (b == a && (a = c.T.oe(a)), c.na.UK(a, k, 1)));
            l && (h = a.xf(2, 0), g.contains(h) || (b == a && (a = c.T.oe(a)), c.na.UK(a, g, 2)));
            return a;
          };

          return g;
        }();

        c.ko = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b(a, b, f, e) {
            g.call(this);
            void 0 === a ? this.description = c.ye.Ig() : void 0 === f ? this.description = a : (this.description = c.ye.Ig(), this.xC(a, b), this.vm(f, e));
          }

          O(b, g);

          b.prototype.G = function () {
            return 322;
          };

          b.prototype.Rb = function () {
            var a = this.ua - this.sa,
                b = this.ra - this.oa;
            return Math.sqrt(a * a + b * b);
          };

          b.prototype.fh = function (a) {
            var b = this.ua - this.sa,
                f = this.ra - this.oa;
            return Math.sqrt(b * b + f * f) <= a;
          };

          b.prototype.Go = function () {
            return !1;
          };

          b.prototype.Eg = function () {
            var a = new c.b();
            a.zc(this.Cc(), this.ec());
            return a;
          };

          b.gR = function (a, d) {
            return new b(a.x, a.y, d.x, d.y);
          };

          b.prototype.Qn = function (a) {
            a.Oa();
            a.Fg(this.description);
            var b = new c.h();
            this.s(b);
            a.Gp(b);

            for (var b = 1, f = this.description.Ga; b < f; b++) for (var e = this.description.rd(b), h = c.ma.Xa(e); b < h; b++) {
              var l = this.xf(e, 0);
              a.setInterval(e, 0, l);
            }
          };

          b.prototype.s = function (a) {
            a.I(this.ua, this.ra, this.sa, this.oa);
            a.normalize();
          };

          b.prototype.Cp = function (a) {
            a.Oa();
            a.Nb(this.ua, this.ra, this.ae(0, 1, 0));
            a.Nb(this.sa, this.oa, this.ae(1, 1, 0));
          };

          b.prototype.Xc = function (a) {
            if (a instanceof c.Hd) {
              this.Bc();
              var b = new c.b();
              b.x = this.ua;
              b.y = this.ra;
              a.$h(b, b);
              this.ua = b.x;
              this.ra = b.y;
              b.x = this.sa;
              b.y = this.oa;
              a.$h(b, b);
              this.sa = b.x;
              this.oa = b.y;
            } else this.Bc(), b = new c.qd(), b.x = this.ua, b.y = this.ra, b.z = this.ae(0, 1, 0), b = a.Rp(b), this.ua = b.x, this.ra = b.y, this.oo(0, 1, 0, b.z), b.x = this.sa, b.y = this.oa, b.z = this.ae(1, 1, 0), b = a.Rp(b), this.sa = b.x, this.oa = b.y, this.oo(1, 1, 0, b.z);
          };

          b.prototype.Ka = function () {
            return new b(this.description);
          };

          b.prototype.Cy = function (a, b) {
            return (this.sa - a - (this.ua - a)) * (this.oa - b + (this.ra - b)) * .5;
          };

          b.prototype.cy = function (a) {
            return a * this.Rb();
          };

          b.prototype.bI = function (a) {
            return a / this.Rb();
          };

          b.prototype.PG = function (a) {
            return c.Ub.Xq(this.ua, this.sa, a);
          };

          b.prototype.YS = function (a) {
            return c.Ub.Xq(this.ra, this.oa, a);
          };

          b.prototype.Hl = function (a, b) {
            var f = new c.Cg();
            this.yh(a, b, f);
            return f.get();
          };

          b.prototype.yh = function (a, b, f) {
            if (null == f) throw c.g.F();
            f.Js();
            f = f.get();
            f.Fg(this.description);
            var e = new c.b();
            this.gc(a, e);
            f.xC(e.x, e.y);
            this.gc(b, e);
            f.vm(e.x, e.y);

            for (var e = 1, h = this.description.Ga; e < h; e++) for (var l = this.description.Td(e), k = c.ma.Xa(l), g = 0; g < k; g++) {
              var w = this.Yc(a, l, g);
              f.Tx(l, g, w);
              w = this.Yc(b, l, g);
              f.Lx(l, g, w);
            }
          };

          b.prototype.Yc = function (a, b, f) {
            if (0 == b) return 0 == f ? this.gc(a).x : this.gc(a).y;

            switch (c.ma.Xz(b)) {
              case 0:
                return .5 > a ? this.dt(b, f) : this.Os(b, f);

              case 1:
                var e = this.dt(b, f);
                b = this.Os(b, f);
                return c.Ub.Xq(e, b, a);

              case 2:
                throw c.g.X("not implemented");
            }

            throw c.g.za();
          };

          b.prototype.pe = function (a, b) {
            var f = this.sa - this.ua,
                c = this.oa - this.ra,
                h = f * f + c * c;
            if (0 == h) return .5;
            f = ((a.x - this.ua) * f + (a.y - this.ra) * c) / h;
            b || (0 > f ? f = 0 : 1 < f && (f = 1));
            return f;
          };

          b.prototype.Tq = function (a, b, f, c) {
            if (a) {
              a = this.oa - this.ra;
              if (0 == a) return b == this.oa ? -1 : 0;
              b = (b - this.ra) / a;
              if (0 > b || 1 < b) return 0;
              null != f && (f[0] = this.PG(b));
            } else {
              a = this.sa - this.ua;
              if (0 == a) return b == this.sa ? -1 : 0;
              b = (b - this.ua) / a;
              if (0 > b || 1 < b) return 0;
              null != f && (f[0] = this.YS(b));
            }

            null != c && (c[0] = b);
            return 1;
          };

          b.prototype.pf = function (a, b) {
            var f = this.oa - this.ra;
            if (0 == f) return a == this.oa ? b : NaN;
            var f = (a - this.ra) / f,
                c = this.PG(f);
            1 == f && (c = this.sa);
            return c;
          };

          b.prototype.av = function (a, b, f) {
            return 0 <= this.lq(a.x, a.y, b, f);
          };

          b.prototype.Si = function (a, b, f) {
            return 0 <= this.lq(a, b, f, !0);
          };

          b.prototype.mt = function (a, b) {
            return this.av(a, b, !1);
          };

          b.prototype.BJ = function () {
            if (this.oa < this.ra || this.oa == this.ra && this.sa < this.ua) {
              var a = this.ua;
              this.ua = this.sa;
              this.sa = a;
              a = this.ra;
              this.ra = this.oa;
              this.oa = a;

              for (var a = 0, b = this.description.Er - 2; a < b; a++) {
                var f = this.la[a];
                this.la[a] = this.la[a + b];
                this.la[a + b] = f;
              }
            }
          };

          b.prototype.ev = function (a, b) {
            var f = c.b.pa(a, b);
            f.sub(this.ec());
            var e = new c.b();
            e.zc(this.Cc(), this.ec());
            var h = e.Ui(f),
                f = 8.881784197001252E-16 * (Math.abs(e.x * f.y) + Math.abs(e.y * f.x));
            return h > f ? -1 : h < -f ? 1 : 0;
          };

          b.prototype.lq = function (a, b, f, e) {
            var h = this.ua,
                l = this.ra,
                k = a - h,
                g = b - l,
                k = Math.sqrt(k * k + g * g);
            if (k <= Math.max(f, 6.661338147750939E-16 * k)) return e && 0 == k ? NaN : 0;
            k = a - this.sa;
            g = b - this.oa;
            k = Math.sqrt(k * k + g * g);
            if (k <= Math.max(f, 6.661338147750939E-16 * k)) return e && 0 == k ? NaN : 1;
            k = this.sa - this.ua;
            g = this.oa - this.ra;
            e = Math.sqrt(k * k + g * g);

            if (0 < e) {
              var w = 1 / e,
                  k = k * w,
                  g = g * w,
                  p = a - h,
                  q = b - l,
                  t = p * k + q * g,
                  n = 1.7763568394002505E-15 * (Math.abs(p * k) + Math.abs(q * g)),
                  r = k,
                  k = -g,
                  g = r,
                  n = Math.max(f, n);
              if (t < -n || t > e + n) return NaN;

              if (Math.abs(p * k + q * g) <= Math.max(f, 1.7763568394002505E-15 * (Math.abs(p * k) + Math.abs(q * g))) && (k = c.J.pk(t * w, 0, 1), .5 >= k ? (g = this.ua + (this.sa - this.ua) * k, e = this.ra + (this.oa - this.ra) * k) : (g = this.sa - (this.sa - this.ua) * (1 - k), e = this.oa - (this.oa - this.ra) * (1 - k)), c.b.xz(g, e, a, b) <= f)) {
                if (.5 > k) {
                  if (c.b.xz(g, e, h, l) <= f) return 0;
                } else if (c.b.xz(g, e, this.sa, this.oa) <= f) return 1;

                return k;
              }
            }

            return NaN;
          };

          b.prototype.Eb = function (a) {
            return null == a ? !1 : a == this ? !0 : a.constructor !== this.constructor ? !1 : this.NO(a);
          };

          b.prototype.JE = function (a, b, f) {
            var e = f ? this.ua : this.sa;
            f = f ? this.ra : this.oa;
            var h = new c.b();
            h.x = a.sa - e;
            h.y = a.oa - f;
            return b.oi(h) > 6.661338147750939E-16 * b.zE(h) ? (h.x = a.ua - e, h.y = a.ra - f, b.oi(h) <= 6.661338147750939E-16 * b.zE(h)) : !0;
          };

          b.prototype.IE = function (a) {
            var b = new c.b();
            b.x = this.sa - this.ua;
            b.y = this.oa - this.ra;
            if (!this.JE(a, b, !1)) return !1;
            b.Lr();
            return this.JE(a, b, !0) ? !0 : !1;
          };

          b.We = function (a, b) {
            var f = a.ev(b.ua, b.ra),
                c = a.ev(b.sa, b.oa);
            if (0 > f && 0 > c || 0 < f && 0 < c) return !1;
            f = b.ev(a.ua, a.ra);
            c = b.ev(a.sa, a.oa);
            if (0 > f && 0 > c || 0 < f && 0 < c) return !1;
            f = a.Rb();
            c = b.Rb();
            return f > c ? a.IE(b) : b.IE(a);
          };

          b.se = function (a, b, f) {
            var e = c.b.pa(NaN, NaN),
                h = a.sa - a.ua,
                l = a.oa - a.ra,
                k = b.sa - b.ua,
                g = b.oa - b.ra,
                w = k * l - h * g;
            if (0 == w) return e;
            var p = 8.881784197001252E-16 * (Math.abs(k * l) + Math.abs(h * g)),
                q = b.ua - a.ua,
                t = b.ra - a.ra,
                n = k * t - q * g,
                r = n / w,
                v = Math.abs(w),
                k = (8.881784197001252E-16 * (Math.abs(k * t) + Math.abs(q * g)) * v + p * Math.abs(n)) / (w * w) + 2.220446049250313E-16 * Math.abs(r);
            if (r < -k || r > 1 + k) return e;
            g = h * t - q * l;
            k = g / w;
            h = (8.881784197001252E-16 * (Math.abs(h * t) + Math.abs(q * l)) * v + p * Math.abs(g)) / (w * w) + 2.220446049250313E-16 * Math.abs(k);
            if (k < -h || k > 1 + h) return e;
            r = c.J.pk(r, 0, 1);
            h = c.J.pk(k, 0, 1);
            l = a.gc(r);
            w = b.gc(h);
            p = new c.b();
            p.zc(l, w);
            if (p.length() > f && (p.add(l, w), p.scale(.5), r = a.pe(p, !1), h = b.pe(p, !1), a = a.gc(r), b = b.gc(h), a.sub(b), a.length() > f)) return e;
            e.ka(r, h);
            return e;
          };

          b.RO = function (a, d, f, c) {
            var h = 0;
            if (a.ua == d.ua && a.ra == d.ra || a.ua == d.sa && a.ra == d.oa) if (h++, !c) return 1;

            if (a.sa == d.ua && a.oa == d.ra || a.sa == d.sa && a.oa == d.oa) {
              h++;
              if (2 == h) return 2;
              if (!c) return 1;
            }

            return d.Si(a.ua, a.ra, f) || d.Si(a.sa, a.oa, f) || a.Si(d.ua, d.ra, f) || a.Si(d.sa, d.oa, f) ? 1 : c && 0 != h ? 0 : 0 == b.We(a, d) ? 0 : 1;
          };

          b.Gy = function (a, d, f, e, h, l) {
            var k = 0,
                g = a.lq(d.ua, d.ra, l, !1),
                w = a.lq(d.sa, d.oa, l, !1),
                p = d.lq(a.ua, a.ra, l, !1),
                q = d.lq(a.sa, a.oa, l, !1);
            isNaN(g) || (null != e && (e[k] = g), null != h && (h[k] = 0), null != f && (f[k] = c.b.pa(d.ua, d.ra)), k++);
            isNaN(w) || (null != e && (e[k] = w), null != h && (h[k] = 1), null != f && (f[k] = c.b.pa(d.sa, d.oa)), k++);
            2 == k || isNaN(p) || 0 == g && 0 == p || 0 == w && 1 == p || (null != e && (e[k] = 0), null != h && (h[k] = p), null != f && (f[k] = c.b.pa(a.ua, a.ra)), k++);
            2 == k || isNaN(q) || 1 == g && 0 == q || 1 == w && 1 == q || (null != e && (e[k] = 1), null != h && (h[k] = q), null != f && (f[k] = c.b.pa(d.sa, d.oa)), k++);
            if (0 < k) return 2 == k && null != e && e[0] > e[1] && (a = e[0], e[0] = e[1], e[1] = a, null != h && (e = h[0], h[0] = h[1], h[1] = e), null != f && (h = c.b.pa(f[0].x, f[0].y), f[0] = f[1], f[1] = h)), k;
            k = b.se(a, d, l);
            if (isNaN(k.x)) return 0;
            null != f && (f[0] = a.gc(k.x));
            null != e && (e[0] = k.x);
            null != h && (h[0] = k.y);
            return 1;
          };

          b.prototype.qH = function () {
            return 0;
          };

          b.prototype.iq = function () {};

          b.prototype.toString = function () {
            return "Line: [" + this.ua.toString() + ", " + this.ra.toString() + ", " + this.sa.toString() + ", " + this.oa.toString() + "]";
          };

          return b;
        }(c.dE);

        c.Hb = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c() {
            this.am = [];
            this.Ca = -1;
          }

          c.prototype.Ia = function () {
            return this.Ca;
          };

          c.prototype.next = function () {
            if (null != this.am && 0 != this.am.length) {
              this.Ca++;
              var b = this.am[0];
              1 >= this.am.length ? this.am = [] : this.am = this.am.slice(1);
              return b;
            }

            return this.am = null;
          };

          c.prototype.TY = function (b) {
            this.am.push(b);
          };

          c.prototype.Re = function () {
            return !0;
          };

          return c;
        }();

        c.RM = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.enumFillRuleOddEven = 0] = "enumFillRuleOddEven";
          c[c.enumFillRuleWinding = 1] = "enumFillRuleWinding";
        })(c.JN || (c.JN = {}));

        var n = function (g) {
          function b(a, b) {
            g.call(this);
            this.$f = !1;
            this.ur = null;
            this.gr = this.hr = 0;
            this.bj = null;
            this.hh = !1;
            this.Xd = this.tj = this.cf = this.jb = this.kb = null;
            this.mr = this.Ta = this.ir = 0;
            if (void 0 === b) this.$f = a, this.hh = !1, this.qa = this.gr = this.hr = this.ir = 0, this.description = c.ye.Ig();else {
              if (null == b) throw c.g.F();
              this.$f = a;
              this.hh = !1;
              this.qa = this.gr = this.hr = this.ir = 0;
              this.description = b;
            }
            this.bj = null;
            this.Ta = 0;
          }

          O(b, g);

          b.prototype.hn = function () {
            return 0 < this.ir;
          };

          b.prototype.Fy = function () {
            this.Bc();
            null == this.ur ? this.ur = new c.Wa(this.description) : this.ur.Fg(this.description);
          };

          b.prototype.$x = function (a, b) {
            var f = new c.b();
            f.x = a;
            f.y = b;
            this.zu(f);
          };

          b.prototype.zu = function (a) {
            this.Fy();
            this.ur.rb(a);
            this.hh = !0;
          };

          b.prototype.Rf = function (a) {
            if (a.u()) throw c.g.F();
            this.om(a.description);
            this.Fy();
            a.copyTo(this.ur);
            this.hh = !0;
          };

          b.prototype.By = function () {
            var a = 1;
            this.hh && (this.Fy(), null == this.kb ? (this.kb = c.Uc.wh(2), this.kb.write(0, 0), this.jb = c.Uc.vq(2, 0)) : (this.kb.resize(this.kb.size + 1, 0), this.jb.resize(this.jb.size + 1, 0)), this.$f && this.jb.write(this.jb.size - 2, 1), a++);
            var b = this.qa;
            this.kb.write(this.kb.size - 1, this.qa + a);
            this.zl(b + a);
            this.jb.write(this.kb.size - 1, 0);
            this.hh && (this.vu(b, this.ur), this.hh = !1);
          };

          b.prototype.Xj = function (a, b) {
            this.By();
            this.rb(this.qa - 1, a, b);
          };

          b.prototype.aj = function (a) {
            this.By();
            this.rb(this.qa - 1, a);
          };

          b.prototype.lineTo = function (a) {
            this.By();
            this.vu(this.qa - 1, a);
          };

          b.prototype.oW = function (a) {
            this.Bc();
            if (this.$f) throw c.g.za();
            var b = this.aa();
            if (a > b) throw c.g.za();

            if (this.Qb(a)) {
              if (null == this.jb) throw c.g.za();
              var f = this.qa,
                  e = this.wa(a),
                  h = this.Gc(a);
              this.zl(this.qa + 1);
              this.wc();

              for (var l = 0, k = this.description.Ga; l < k; l++) if (null != this.ya[l]) {
                var g = c.ma.Xa(this.description.Td(l));
                this.ya[l].Rk(g * h, this.ya[l], g * e, g, !0, 1, g * f);
              }

              for (; b > a; b--) f = this.kb.read(b), this.kb.write(b, f + 1);

              this.jb.fz(a, 1);
            }
          };

          b.prototype.sq = function () {
            var a;
            this.Cu();
            void 0 === a && (this.hh = !1, a = this.aa() - 1);
            var b = this.jb.read(a);
            this.jb.write(a, b | 1);
            null != this.cf && (a = this.Gc(a) - 1, this.cf.write(a, 1), this.tj.write(a, -1));
          };

          b.Dj = function (a) {
            return b.se[a];
          };

          b.prototype.Qb = function (a) {
            return 0 != (this.jb.read(a) & 1);
          };

          b.prototype.Eo = function (a) {
            if (this.Qb(a)) return !0;
            var b = this.wa(a);
            a = this.Gc(a) - 1;
            if (b > a) return !1;
            b = this.Ba(b);
            a = this.Ba(a);
            return b.ub(a);
          };

          b.prototype.ft = function (a) {
            return 0 != (this.jb.read(a) & 2);
          };

          b.prototype.dc = function (a, b) {
            this.om(a.description);

            if (322 == a.G()) {
              var f = new c.Wa();
              if (b || this.u()) a.Dp(f), this.Rf(f);
              a.Bp(f);
              this.lineTo(f);
            } else throw c.g.za();
          };

          b.prototype.oq = function (a) {
            var b = 0 == this.qa;
            this.$x(a.o, a.A);
            this.Xj(a.o, a.B);
            this.Xj(a.v, a.B);
            this.Xj(a.v, a.A);
            this.sq();
            this.hh = !1;
            b && this.lg(256, !1);
          };

          b.prototype.jd = function (a, b) {
            if (!a.u()) {
              for (var f = 0 == this.qa, e = new c.Wa(this.description), h = 0; 4 > h; h++) a.ig(b ? 4 - h - 1 : h, e), 0 == h ? this.Rf(e) : this.lineTo(e);

              this.sq();
              this.hh = !1;
              f && !b && this.lg(256, !1);
            }
          };

          b.prototype.add = function (a, b) {
            for (var f = 0; f < a.aa(); f++) this.Ti(a, f, !b);
          };

          b.prototype.Ti = function (a, b, f) {
            this.Yf(-1, a, b, f);
          };

          b.prototype.Bl = function (a, b) {
            this.sA(a, b);
          };

          b.prototype.Bs = function (a, b, f, e, h) {
            h || 0 != this.aa() || (h = !0);
            0 > b && (b = a.aa() - 1);
            if (b >= a.aa() || 0 > f || 0 > e || e > a.ew(b)) throw c.g.X("index out of bounds");

            if (0 != e) {
              var l = a.Qb(b) && f + e == a.ew(b);

              if (!l || 1 != e) {
                this.hh = !1;
                this.om(a.description);
                f = a.wa(b) + f + 1;
                h && (e++, f--);
                l && e--;
                l = this.qa;
                this.zl(this.qa + e);
                this.wc();

                if (h) {
                  if (0 == e) return;
                  this.kb.add(this.qa);
                  h = a.jb.read(b);
                  h &= -5;
                  this.$f && (h |= 1);
                  this.jb.write(this.jb.size - 1, h);
                  this.jb.add(0);
                } else this.kb.write(this.jb.size - 1, this.qa);

                h = 0;

                for (var k = this.description.Ga; h < k; h++) {
                  var g = this.description.rd(h),
                      w = c.ma.Xa(g),
                      p = a.description.mg(g);
                  0 > p || null == a.ya[p] ? this.ya[h].Vj(w * l, c.ma.de(g), e * w, w * l) : this.ya[h].Rk(w * l, a.ya[p], w * f, e * w, !0, w, w * l);
                }

                if (this.hn()) throw c.g.za();
                if (a.ft(b)) throw c.g.za();
                this.Dc(1993);
              }
            }
          };

          b.prototype.eK = function () {
            for (var a = 0, b = this.aa(); a < b; a++) this.CX(a);
          };

          b.prototype.CX = function (a) {
            this.wc();
            if (a >= this.aa()) throw c.g.F();
            var b = this.wa(a),
                f = this.La(a);
            a = this.Qb(a) ? 1 : 0;

            for (var e = 0, h = this.description.Ga; e < h; e++) if (null != this.ya[e]) {
              var l = c.ma.Xa(this.description.Td(e));
              this.ya[e].Zd(l * (b + a), l * (f - a), l);
            }

            this.Dc(1993);
          };

          b.prototype.Rr = function (a) {
            this.wc();
            var b = this.aa();
            0 > a && (a = b - 1);
            if (a >= b) throw c.g.F();

            for (var f = this.wa(a), e = this.La(a), h = 0, l = this.description.Ga; h < l; h++) if (null != this.ya[h]) {
              var k = c.ma.Xa(this.description.Td(h));
              this.ya[h].Fk(k * f, k * e, k * this.qa);
            }

            for (f = a + 1; f <= b; f++) h = this.kb.read(f), this.kb.write(f - 1, h - e);

            if (null == this.jb) for (f = a + 1; f <= b; f++) a = this.jb.read(f), this.jb.write(f - 1, a);
            this.kb.resize(b);
            this.jb.resize(b);
            this.qa -= e;
            this.lh -= e;
            this.Dc(1993);
          };

          b.prototype.Yf = function (a, b, f, e) {
            if (b == this) throw c.g.F();
            if (f >= b.aa()) throw c.g.F();
            var h = this.aa();
            if (a > h) throw c.g.F();
            0 > a && (a = h);
            0 > f && (f = b.aa() - 1);
            this.hh = !1;
            this.om(b.description);
            b.wc();
            var l = b.wa(f),
                k = b.La(f),
                g = this.qa,
                w = b.Qb(f) && !e ? 1 : 0;
            this.zl(this.qa + k);
            this.wc();

            for (var p = a < h ? this.wa(a) : g, q = 0, t = this.description.Ga; q < t; q++) {
              var n = this.description.Td(q),
                  r = b.description.mg(n),
                  v = c.ma.Xa(n);
              0 <= r && null != b.ya[r] ? (0 != w && this.ya[q].Rk(p * v, b.ya[r], v * l, v, !0, v, v * g), this.ya[q].Rk((p + w) * v, b.ya[r], v * (l + w), v * (k - w), e, v, v * (g + w))) : this.ya[q].Vj(p * v, c.ma.de(n), v * k, v * g);
            }

            this.kb.add(g + k);

            for (e = h; e >= a + 1; e--) l = this.kb.read(e - 1), this.kb.write(e, l + k);

            b.ft(f);
            this.jb.add(0);

            for (e = h - 1; e >= a + 1; e--) h = this.jb.read(e), h &= -5, this.jb.write(e + 1, h);

            h = b.DT().read(f);
            h &= -5;
            this.$f && (h |= 1);
            this.jb.write(a, h);
          };

          b.prototype.sA = function (a, b) {
            var f = -1,
                e = this.aa();
            if (f > e) throw c.g.F();
            0 > f && (f = e);
            this.hh = !1;
            var h = this.qa;
            this.zl(this.qa + b);
            this.wc();
            var l = f < e ? this.wa(f) : h;
            if (null != a) this.ya[0].Sq(2 * l, a, 0, b, !0, 2 * h);else {
              var k = c.ma.de(0);
              this.ya[0].Vj(2 * l, k, 2 * b, 2 * h);
            }

            for (var g = 1, w = this.description.Ga; g < w; g++) {
              var k = this.description.rd(g),
                  p = c.ma.Xa(k),
                  k = c.ma.de(k);
              this.ya[g].Vj(l * p, k, p * b, p * h);
            }

            this.kb.add(this.qa);

            for (h = e; h >= f + 1; h--) l = this.kb.read(h - 1), this.kb.write(h, l + b);

            this.jb.add(0);

            for (h = e - 1; h >= f + 1; h--) e = this.jb.read(h), e &= -5, this.jb.write(h + 1, e);

            this.$f && this.jb.write(f, 1);
          };

          b.prototype.EH = function (a, b, f) {
            var e = -1;
            0 > a && (a = this.aa());
            if (a > this.aa() || e > this.La(a) || f > b.length) throw c.g.X("index out of bounds");

            if (0 != f) {
              a == this.aa() && (this.kb.add(this.qa), this.$f ? this.jb.add(1) : this.jb.add(0));
              0 > e && (e = this.La(a));
              this.wc();
              var h = this.qa;
              this.zl(this.qa + f);
              this.wc();

              for (var l = 0, k = this.description.Ga; l < k; l++) {
                var g = this.description.Td(l),
                    w = c.ma.Xa(g);
                this.ya[l].ho(w * (this.wa(a) + e + f), (h - this.wa(a) - e) * w, this.ya[l], w * (this.wa(a) + e), !0, w);
                0 == l ? this.ya[l].ks(w * (this.wa(a) + e), f, b, 0, !0) : this.ya[l].Zh(c.ma.de(g), (this.wa(a) + e) * w, f * w);
              }

              this.hn() && (this.cf.ho(this.wa(a) + e + f, h - this.wa(a) - e, this.cf, this.wa(a) + e, !0, 1), this.tj.ho(this.wa(a) + e + f, h - this.wa(a) - e, this.tj, this.wa(a) + e, !0, 1), this.cf.Zh(1, this.wa(a) + e, f), this.tj.Zh(-1, this.wa(a) + e, f));
              a += 1;

              for (b = this.aa(); a <= b; a++) this.kb.write(a, this.kb.read(a) + f);
            }
          };

          b.prototype.Zf = function (a, b, f) {
            var e = this.aa();
            0 > a && (a = this.aa());
            if (a >= e || b > this.La(a)) throw c.g.X("index out of bounds");
            a == this.aa() && (this.kb.add(this.qa), this.$f ? this.jb.add(1) : this.jb.add(0));
            0 > b && (b = this.La(a));
            var h = this.qa;
            this.zl(this.qa + 1);
            this.wc();
            var l = this.wa(a);
            this.ya[0].eh(2 * (l + b), f, 2 * h);
            f = 1;

            for (var k = this.description.Ga; f < k; f++) {
              var g = this.description.Td(f),
                  w = c.ma.Xa(g);
              this.ya[f].Vj(w * (l + b), c.ma.de(g), w, w * h);
            }

            for (a += 1; a <= e; a++) this.kb.write(a, this.kb.read(a) + 1);
          };

          b.prototype.dC = function (a, b) {
            var f = this.aa();
            0 > a && (a = f - 1);
            if (a >= f || b >= this.La(a)) throw c.g.X("index out of bounds");
            this.wc();
            var e = this.wa(a);
            0 > b && (b = this.La(a) - 1);

            for (var e = e + b, h = 0, l = this.description.Ga; h < l; h++) if (null != this.ya[h]) {
              var k = c.ma.Xa(this.description.Td(h));
              this.ya[h].Fk(k * e, k, k * this.qa);
            }

            for (; f >= a + 1; f--) e = this.kb.read(f), this.kb.write(f, e - 1);

            this.qa--;
            this.lh--;
            this.Dc(1993);
          };

          b.prototype.FF = function (a, b, f, e) {
            a = this.wa(a) + b;
            f = this.wa(f) + e;
            if (f < a || 0 > a || f > this.D() - 1) throw c.g.F();
            e = this.Fa();
            b = 0;
            e.Tb(a);

            do {
              for (; e.Ea();) {
                a = e.ba();
                if (e.Db() == f) break;
                a = a.Rb();
                b += a;
              }

              if (e.Db() == f) break;
            } while (e.Ya());

            return b;
          };

          b.prototype.gQ = function (a, b, f) {
            b = this.wa(a) + b;
            f = this.wa(a) + f;
            if (0 > b || f > this.D() - 1) throw c.g.F();
            var e = this.Fa();

            if (b > f) {
              if (!this.Qb(a)) throw c.g.F("cannot iterate across an open path");
              e.kC();
            }

            var h = a = 0;
            e.Tb(b);

            do h += a, a = e.ba().Rb(); while (e.Db() != f);

            return h;
          };

          b.prototype.Gg = function () {
            return c.Pi.Rm(this, null);
          };

          b.prototype.GU = function (a, b, f, e) {
            for (var h = a; h < f - 1; h++) if (this.Qb(h)) throw c.g.F("cannot interpolate across closed paths");

            h = this.description.Ga;

            if (1 != h) {
              var l = this.FF(a, b, f, e);
              if (0 != l) for (var k = 1; k < h; k++) {
                var g = this.description.rd(k);
                if (2 != c.ma.Xz(g)) for (var w = c.ma.Xa(g), p = 0; p < w; p++) this.IU(g, a, b, f, e, l, p);
              }
            }
          };

          b.prototype.FU = function (a, b, f) {
            var e = this.description.Ga;

            if (1 != e) {
              var h = this.gQ(a, b, f);
              if (0 != h) for (var l = 1; l < e; l++) {
                var k = this.description.rd(l);
                if (2 != c.ma.Xz(k)) for (var g = c.ma.Xa(k), w = 0; w < g; w++) this.HU(k, a, b, f, h, w);
              }
            }
          };

          b.prototype.IU = function (a, b, f, e, h, l, k) {
            var g = this.Fa();
            b = this.wa(b) + f;
            e = this.wa(e) + h;
            h = this.Yc(a, b, k);
            f = this.Yc(a, e, k);
            var w = h,
                p = 0;
            g.Tb(b);

            do if (g.Ea()) {
              g.ba();
              if (g.Db() == e) break;
              this.setAttribute(a, g.Db(), k, w);
              g.Li();

              do {
                b = g.ba();
                if (g.Jk() == e) return;
                b = b.Rb();
                p += b;
                w = c.Ub.Xq(h, f, p / l);
                g.Fo() || this.setAttribute(a, g.Jk(), k, w);
              } while (g.Ea());
            } while (g.Ya());
          };

          b.prototype.HU = function (a, b, f, e, h, l) {
            var k = this.Fa(),
                g = this.wa(b) + f;
            b = this.wa(b) + e;

            if (b != g) {
              e = this.Yc(a, g, l);
              f = this.Yc(a, b, l);
              var w = 0;
              k.Tb(g);
              k.kC();
              g = e;

              do {
                var p = k.ba();
                this.setAttribute(a, k.Db(), l, g);
                g = p.Rb();
                w += g;
                g = c.Ub.Xq(e, f, w / h);
              } while (k.Jk() != b);
            }
          };

          b.prototype.Oa = function () {
            this.ir = 0;
            this.hh = !1;
            this.Xd = this.cf = this.tj = this.jb = this.kb = null;
            this.NE();
          };

          b.prototype.Xc = function (a) {
            a instanceof c.Hd ? this.lF(a, -1) : this.zP(a);
          };

          b.prototype.lF = function (a, b) {
            if (!this.u() && !a.Ho()) {
              this.wc();
              var f = this.ya[0],
                  e = new c.b(),
                  h = new c.b(),
                  l,
                  k,
                  g;
              0 > b ? (l = this.hn(), k = 0, g = this.qa) : (l = this.ft(b), k = this.wa(b), g = this.Gc(b));

              for (; k < g; k++) {
                e.x = f.read(2 * k);
                e.y = f.read(2 * k + 1);

                if (l) {
                  var w = this.tj.read(k);
                  if (0 <= w) switch (this.cf.read(k) & 7) {
                    case 2:
                      h.x = this.Xd.read(w);
                      h.y = this.Xd.read(w + 1);
                      a.$h(h, h);
                      this.Xd.write(w, h.x);
                      this.Xd.write(w + 1, h.y);
                      h.x = this.Xd.read(w + 3);
                      h.y = this.Xd.read(w + 4);
                      a.$h(h, h);
                      this.Xd.write(w + 3, h.x);
                      this.Xd.write(w + 4, h.y);
                      break;

                    case 4:
                      throw c.g.za();
                  }
                }

                a.$h(e, e);
                f.write(2 * k, e.x);
                f.write(2 * k + 1, e.y);
              }

              this.Dc(1993);
            }
          };

          b.prototype.zP = function (a) {
            if (!this.u()) {
              this.Ud(1);
              this.wc();

              for (var b = this.ya[0], f = this.ya[1], e = new c.qd(), h = new c.qd(), l = this.hn(), k = 0; k < this.qa; k++) {
                e.x = b.read(2 * k);
                e.y = b.read(2 * k + 1);
                e.z = f.read(k);

                if (l) {
                  var g = this.tj.read(k);
                  if (0 <= g) switch (this.cf.read(k) & 7) {
                    case 2:
                      h.x = this.Xd.read(g);
                      h.y = this.Xd.read(g + 1);
                      h.z = this.Xd.read(g + 2);
                      h = a.Rp(h);
                      this.Xd.write(g, h.x);
                      this.Xd.write(g + 1, h.y);
                      this.Xd.write(g + 1, h.z);
                      h.x = this.Xd.read(g + 3);
                      h.y = this.Xd.read(g + 4);
                      h.z = this.Xd.read(g + 5);
                      h = a.Rp(h);
                      this.Xd.write(g + 3, h.x);
                      this.Xd.write(g + 4, h.y);
                      this.Xd.write(g + 5, h.z);
                      break;

                    case 4:
                      throw c.g.za();
                  }
                }

                e = a.Rp(e);
                b.write(2 * k, e.x);
                b.write(2 * k + 1, e.y);
                f.write(k, e.z);
              }

              this.Dc(1993);
            }
          };

          b.prototype.Py = function () {
            null == this.kb && (this.kb = c.Uc.wh(1, 0), this.jb = c.Uc.vq(1, 0));
            null != this.cf && (this.cf.resize(this.lh, 1), this.tj.resize(this.lh, -1));
          };

          b.prototype.iq = function (a) {
            a.hh = !1;
            a.ir = this.ir;
            a.mr = this.mr;
            null != this.kb ? a.kb = c.ia.Bk(this.kb) : a.kb = null;
            null != this.jb ? a.jb = c.Fm.Bk(this.jb) : a.jb = null;
            null != this.tj ? a.tj = c.ia.Bk(this.tj) : a.tj = null;
            null != this.cf ? a.cf = c.Fm.Bk(this.cf) : a.cf = null;
            null != this.Xd ? a.Xd = c.Rd.Bk(this.Xd) : a.Xd = null;
            a.hr = this.hr;
            a.gr = this.gr;
            this.yk(1024) ? a.bj = null : a.bj = this.bj;
          };

          b.prototype.Rb = function () {
            if (!this.yk(512)) return this.hr;

            for (var a = this.Fa(), b = new c.ry(0); a.Ya();) for (; a.Ea();) b.add(a.ba().Rb());

            this.hr = b.en();
            this.lg(512, !1);
            return b.en();
          };

          b.prototype.Eb = function (a) {
            if (a == this) return !0;
            if (!(a instanceof b && g.prototype.Eb.call(this, a))) return !1;
            var d = this.aa();
            return d != a.aa() || null != this.kb && !this.kb.Eb(a.kb, 0, d + 1) || this.mr != a.mr || null != this.jb && !this.jb.Eb(a.jb, 0, d) ? !1 : g.prototype.Eb.call(this, a);
          };

          b.prototype.Fa = function () {
            return new c.ZN(this);
          };

          b.prototype.Oy = function (a) {
            g.prototype.Oy.call(this, a);
            if (this.hn()) for (a = this.Fa(); a.Ya();) for (; a.Ea();) break;
          };

          b.prototype.uo = function (a, b) {
            g.prototype.uo.call(this, a, b);
            if (this.hn()) for (var f = this.Fa(); f.Ya();) for (; f.Ea();) break;
          };

          b.prototype.Iy = function () {
            null == this.kb || 0 == this.kb.size ? this.qa = 0 : this.qa = this.kb.read(this.kb.size - 1);
          };

          b.prototype.hf = function () {
            if (!this.$f) return 0;
            this.gv();
            return this.gr;
          };

          b.prototype.rw = function (a) {
            if (!this.$f) return !1;
            if (!this.yk(8)) return 0 != (this.jb.read(a) & 4);
            this.gv();
            return 0 < this.bj.read(a);
          };

          b.prototype.Sm = function (a) {
            if (!this.$f) return 0;
            this.gv();
            return this.bj.read(a);
          };

          b.prototype.gv = function () {
            if (this.yk(1024)) {
              var a = this.aa();
              null == this.bj ? this.bj = new c.Rd(a) : this.bj.size != a && this.bj.resize(a);

              for (var a = new c.ry(0), b = new c.ry(0), f = new c.b(), e = 0, h = this.Fa(); h.Ya();) {
                b.reset();

                for (this.w(this.wa(h.Ta), f); h.Ea();) b.add(h.ba().Cy(f.x, f.y));

                a.add(b.en());
                var l = e++;
                this.bj.write(l, b.en());
              }

              this.gr = a.en();
              this.lg(1024, !1);
            }
          };

          b.prototype.zT = function () {
            if (this.$f) {
              this.Al();

              for (var a = 0, b = this.aa(), f = 0; f < b; f++) 0 != (this.jb.read(f) & 4) && a++;
            }
          };

          b.prototype.Al = function () {
            if (this.yk(8)) {
              this.gv();
              var a = this.aa();
              if (null == this.jb || this.jb.size < a) this.jb = c.Uc.vq(a + 1);

              for (var b = 1, f = 0; f < a; f++) {
                var e = this.bj.read(f);
                0 == f && (b = 0 < e ? 1 : -1);
                0 < e * b ? this.jb.jC(f, 4) : this.jb.fz(f, 4);
              }

              this.lg(8, !1);
            }
          };

          b.prototype.cw = function (a) {
            var b = this.Ta,
                f = this.aa();

            if (0 <= b && b < f) {
              if (a < this.Gc(b)) {
                if (a >= this.wa(b)) return b;
                b--;
              } else b++;

              if (0 <= b && b < f && a >= this.wa(b) && a < this.Gc(b)) return this.Ta = b;
            }

            if (5 > f) {
              for (b = 0; b < f; b++) if (a < this.Gc(b)) return this.Ta = b;

              throw c.g.X("corrupted geometry");
            }

            b = 0;

            for (--f; f > b;) {
              var e = b + (f - b >> 1),
                  h = this.wa(e);
              if (a < h) f = e - 1;else if (b = this.Gc(e), a >= b) b = e + 1;else return this.Ta = e;
            }

            return this.Ta = b;
          };

          b.prototype.nT = function (a) {
            var b = this.Pa(0);
            this.ET();
            var f = this.Gc(a),
                e = this.wa(a);
            a = -1;
            var h = new c.b(),
                l = new c.b();
            h.y = -Infinity;
            h.x = -Infinity;

            for (e += 0; e < f; e++) b.fc(2 * e, l), -1 == h.compare(l) && (a = e, h.L(l));

            return a;
          };

          b.prototype.jA = function () {
            var a = this.D();
            if (!this.$f) for (var a = a - this.aa(), b = 0, f = this.aa(); b < f; b++) this.Qb(b) && a++;
            return a;
          };

          b.prototype.ew = function (a) {
            var b = this.La(a);
            this.Qb(a) || b--;
            return b;
          };

          b.prototype.Ka = function () {
            return new b(this.$f, this.description);
          };

          b.prototype.tb = function () {
            return this.$f ? 2 : 1;
          };

          b.prototype.G = function () {
            return this.$f ? 1736 : 1607;
          };

          b.prototype.ET = function () {
            this.Cu();
          };

          b.prototype.HK = function (a) {
            this.kb = a;
            this.Dc(16777215);
          };

          b.prototype.PT = function () {
            this.Cu();
            return this.cf;
          };

          b.prototype.DT = function () {
            this.Cu();
            return this.jb;
          };

          b.prototype.GK = function (a) {
            this.jb = a;
            this.Dc(16777215);
          };

          b.prototype.aa = function () {
            return null != this.kb ? this.kb.size - 1 : 0;
          };

          b.prototype.Gc = function (a) {
            return this.kb.read(a + 1);
          };

          b.prototype.La = function (a) {
            return this.kb.read(a + 1) - this.kb.read(a);
          };

          b.prototype.wa = function (a) {
            return this.kb.read(a);
          };

          b.prototype.Xu = function (a, b) {
            null == this.ob && (this.ob = new c.wl());
            var f = c.xy.lX(b),
                e = this.ob.Hi;
            if (null != e) if (e.jl < a || f > e.LT()) this.ob.My(null);else return !0;
            e = c.xy.create(this, a, f);
            this.ob.My(e);
            return !0;
          };

          b.prototype.jc = function () {
            var a = g.prototype.jc.call(this);

            if (!this.Hc()) {
              var b = this.aa();
              null != this.kb && this.kb.Ak(a, 0, b + 1);
              null != this.jb && this.jb.Ak(a, 0, b);
            }

            return a;
          };

          b.prototype.jH = function (a) {
            return null != this.cf ? this.cf.read(a) : 1;
          };

          b.prototype.ic = function (a, b, f) {
            var e = this.cw(a);
            if (a == this.Gc(e) - 1 && !this.Qb(e)) throw c.g.X("index out of bounds");
            this.wc();
            var h = this.cf,
                l = 1;
            null != h && (l = h.read(a) & 7);

            switch (l) {
              case 1:
                b.Js();
                break;

              case 2:
                throw c.g.za();

              case 4:
                throw c.g.za();

              default:
                throw c.g.za();
            }

            b = b.get();
            f ? b.Fg(c.ye.Ig()) : b.Fg(this.description);
            e = a == this.Gc(e) - 1 && this.Qb(e) ? this.wa(e) : a + 1;
            h = new c.b();
            this.w(a, h);
            b.Mc(h);
            this.w(e, h);
            b.Zc(h);
            if (!f) for (f = 1, h = this.description.Ga; f < h; f++) for (var l = this.description.Td(f), g = c.ma.Xa(l), m = 0; m < g; m++) {
              var w = this.Yc(l, a, m);
              b.Tx(l, m, w);
              w = this.Yc(l, e, m);
              b.Lx(l, m, w);
            }
          };

          b.prototype.jk = function (a, b) {
            if (a >= this.aa()) throw c.g.F();
            if (this.u()) b.Oa();else {
              if (this.ft(a)) throw c.g.X("not implemented");
              var f = this.Pa(0),
                  e = new c.b(),
                  h = new c.h();
              h.Oa();

              for (var l = this.wa(a), g = this.Gc(a); l < g; l++) f.fc(2 * l, e), h.Nb(e);

              b.I(h);
            }
          };

          b.prototype.iX = function (a, b) {
            if (a >= this.aa()) throw c.g.F();
            if (this.u()) b.Oa();else {
              if (this.ft(a)) throw c.g.X("not implemented");
              var f = this.Pa(0),
                  e = new c.b(),
                  h = new c.h();
              h.Oa();

              for (var l = this.wa(a), g = this.Gc(a); l < g; l++) f.fc(2 * l, e), h.Nb(e);

              b.I(h);
            }
          };

          b.prototype.Hj = function (a) {
            null == this.ob && (this.ob = new c.wl());
            if (0 == a || 16 > this.D()) return !1;
            a = c.na.BF(this);
            this.ob.OE(a);
            return !0;
          };

          b.prototype.CO = function () {
            null == this.ob && (this.ob = new c.wl());
            if (null != this.ob.np) return !0;
            this.ob.PE(null);
            var a = c.na.bQ(this);
            this.ob.PE(a);
            return !0;
          };

          b.prototype.Hp = function (a) {
            this.mr = a;
          };

          b.prototype.xo = function () {
            return this.mr;
          };

          b.prototype.VE = function (a) {
            if (this == a) throw c.g.X("MultiPathImpl.add");

            for (var b = this.aa(), f = 0; f < a.aa(); f++) this.Ti(a, f, !0), this.oW(b), b++;
          };

          b.prototype.oQ = function (a) {
            var b = this.cw(a),
                f = this.wa(b);

            if (f != a) {
              b = this.Gc(b);
              if (a >= b || a < f) throw c.g.X("change_ring_start_point");

              for (var e = 0, h = this.description.Ga; e < h; e++) {
                var l = this.description.rd(e),
                    l = c.ma.Xa(l);
                this.ya[e].rotate(f * l, a * l, b * l);
              }
            }
          };

          b.se = [0, 0, 6, 0, 8, 0];
          return b;
        }(c.Mu);

        c.xl = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b(a) {
            g.call(this);

            if (void 0 !== a) {
              if (null == a) throw c.g.F();
              this.description = a;
            } else this.description = c.ye.Ig();

            this.qa = 0;
          }

          O(b, g);

          b.prototype.Ka = function () {
            return new b(this.description);
          };

          b.prototype.add = function (a) {
            this.resize(this.qa + 1);
            this.Yh(this.qa - 1, a);
          };

          b.prototype.lv = function (a, b) {
            this.resize(this.qa + 1);
            var f = new c.b();
            f.ka(a, b);
            this.rb(this.qa - 1, f);
          };

          b.prototype.Id = function (a, b, f) {
            f = 0 > f ? a.D() : f;
            if (0 > b || b > a.D() || f < b) throw c.g.F();

            if (b != f) {
              this.om(a.description);
              f -= b;
              var e = this.qa;
              this.resize(this.qa + f);
              this.wc();

              for (var h = 0, l = a.description.Ga; h < l; h++) {
                var g = a.description.Td(h),
                    m = c.ma.Xa(g),
                    w = this.Pa(g),
                    g = a.Pa(g);
                w.Rk(e * m, g, b * m, f * m, !0, 1, e * m);
              }
            }
          };

          b.prototype.ZE = function (a, b) {
            var f = a.length,
                e = 0 > b ? f : b;
            if (0 > f || 0 > e) throw c.g.F();

            if (0 != e) {
              f = e - 0;
              e = this.qa;
              this.resize(this.qa + f);

              for (var h = 0; h < f; h++) this.rb(e + h, a[0 + h]);
            }
          };

          b.prototype.dC = function (a) {
            if (0 > a || a >= this.D()) throw c.g.X("index out of bounds");
            this.wc();

            for (var b = 0, f = this.description.Ga; b < f; b++) if (null != this.ya[b]) {
              var e = c.ma.Xa(this.description.Td(b));
              this.ya[b].Fk(e * a, e, e * this.qa);
            }

            this.qa--;
            this.lh--;
            this.Dc(1993);
          };

          b.prototype.resize = function (a) {
            this.zl(a);
          };

          b.prototype.iq = function () {};

          b.prototype.Oa = function () {
            g.prototype.NE.call(this);
          };

          b.prototype.Xc = function (a) {
            if (a instanceof c.Hd) {
              if (!this.u()) {
                this.wc();

                for (var b = this.ya[0], f = new c.b(), e = 0; e < this.qa; e++) f.x = b.read(2 * e), f.y = b.read(2 * e + 1), a.$h(f, f), b.write(2 * e, f.x), b.write(2 * e + 1, f.y);

                this.Dc(1993);
              }
            } else if (!this.u()) {
              this.wc();
              this.Ud(1);
              this.wc();

              for (var b = this.ya[0], f = this.ya[1], h = new c.qd(), e = 0; e < this.qa; e++) {
                h.x = b.read(2 * e);
                h.y = b.read(2 * e + 1);
                h.z = f.read(e);
                var l = a.Rp(h);
                b.write(2 * e, l.x);
                b.write(2 * e + 1, l.y);
                f.write(e, l.z);
              }

              this.Dc(1993);
            }
          };

          b.prototype.tb = function () {
            return 0;
          };

          b.prototype.G = function () {
            return 550;
          };

          b.prototype.hf = function () {
            return 0;
          };

          b.prototype.Rb = function () {
            return 0;
          };

          b.prototype.Eb = function (a) {
            return a == this ? !0 : a instanceof b ? g.prototype.Eb.call(this, a) : !1;
          };

          b.prototype.nP = function (a) {
            var b = a.length,
                f = b;
            if (0 > b || 0 > b || 0 > f) throw c.g.F();
            this.Ud(1);

            if (0 != f) {
              b = f - 0;
              f = this.qa;
              this.aK(this.qa + b);

              for (var e = this.Pa(0), h = 0; h < b; h++) {
                var l = a[0 + h].y;
                e.write(2 * (f + h), a[0 + h].x);
                e.write(2 * (f + h) + 1, l);
              }

              e = this.Pa(1);

              for (h = 0; h < b; h++) e.write(f + h, a[0 + h].z);

              this.Dc(1993);
            }
          };

          b.prototype.oP = function (a, b) {
            var f = a.length,
                e = 0 > b ? f : b;
            if (0 > f || 0 > e) throw c.g.F();

            if (0 != e) {
              f = e - 0;
              if (0 != (f & 1)) throw c.g.F();
              e = this.qa;
              this.aK(this.qa + f / 2);
              this.ya[0].js(2 * e, f, a, 0, !0);
            }
          };

          b.prototype.aK = function (a) {
            var b = this.qa;
            this.zl(a);

            if (this.qa > b) {
              a = 1;

              for (var f = this.description.Ga; a < f; a++) {
                var e = this.description.rd(a),
                    h = c.ma.Xa(e);
                this.ya[a].Vj(h * b, c.ma.de(e), h * (this.qa - b), h * b);
              }
            }
          };

          b.prototype.fX = function (a, b) {
            var f = this.qa,
                f = Math.min(f, b + 1E3);
            if (0 > b || b >= this.qa || f < b || 1E3 != a.length) throw c.g.F();
            var e = this.Pa(0),
                h = f - b,
                l = [];
            e.pl(2 * b, 2 * h, l, 0, !0);

            for (e = 0; e < h; e++) a[e] = c.b.pa(l[2 * e], l[2 * e + 1]);

            return f;
          };

          b.prototype.gX = function (a, b) {
            var f = this.qa,
                f = Math.min(f, 0 + b);
            if (0 >= this.qa || 0 > f || a.length != b) throw c.g.F();
            var e = this.Pa(0),
                h = null,
                l = c.ma.de(1),
                g = this.hasAttribute(1);
            g && (h = this.Pa(1));
            var f = f - 0,
                m = [],
                w = [];
            e.pl(0, 2 * f, m, 0, !0);
            h.pl(0, f, w, 0, !0);

            for (e = 0; e < f; e++) a[e] = new c.qd(m[2 * e], m[2 * e + 1], g ? w[e] : l);
          };

          b.prototype.Iy = function () {};

          b.prototype.Py = function () {};

          b.prototype.Xu = function () {
            return !1;
          };

          b.prototype.Hj = function () {
            return !1;
          };

          b.prototype.Gg = function () {
            return null;
          };

          return b;
        }(c.Mu);

        c.Ed = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.NotDetermined = 0] = "NotDetermined";
          c[c.Structure = 1] = "Structure";
          c[c.DegenerateSegments = 2] = "DegenerateSegments";
          c[c.Clustering = 3] = "Clustering";
          c[c.Cracking = 4] = "Cracking";
          c[c.CrossOver = 5] = "CrossOver";
          c[c.RingOrientation = 6] = "RingOrientation";
          c[c.RingOrder = 7] = "RingOrder";
          c[c.OGCPolylineSelfTangency = 8] = "OGCPolylineSelfTangency";
          c[c.OGCPolygonSelfTangency = 9] = "OGCPolygonSelfTangency";
          c[c.OGCDisconnectedInterior = 10] = "OGCDisconnectedInterior";
        })(c.YM || (c.YM = {}));

        var n = function () {
          function c(b, a, d) {
            void 0 === b ? (this.Ii = 0, this.mm = this.lm = -1) : (this.Ii = b, this.lm = a, this.mm = d);
          }

          c.prototype.ms = function (b) {
            this.Ii = b.Ii;
            this.lm = b.lm;
            this.mm = b.mm;
          };

          return c;
        }();

        c.$d = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.YZ = function (b) {
            if (!1 === b) throw c.g.KL();
          };

          g.SK = function (b) {
            return isNaN(b) ? NaN : 0 === b ? b : 0 < b ? 1 : -1;
          };

          g.qv = function (b) {
            var a;
            void 0 === a && (a = 0);

            for (var d = [], f = 0; f < b; f++) d[f] = g.gf(2, a);

            return d;
          };

          g.gf = function (b, a) {
            void 0 === a && (a = 0);

            for (var d = [], f = 0; f < b; f++) d[f] = a;

            return d;
          };

          g.Nv = function (b, a) {
            var d, f;
            void 0 === d && (d = 0);

            for (void 0 === f && (f = b.length - 1); d <= f; d++) b[d] = a;
          };

          g.pk = function (b, a, d) {
            return b < a ? a : b > d ? d : b;
          };

          g.t_ = function () {
            return 4;
          };

          g.dh = function (b, a) {
            var d = 5381;
            void 0 !== a ? d = (a << 5) + a + (b & 255) : d = (d << 5) + d + (b & 255);
            d = (d << 5) + d + (b >> 8 & 255);
            d = (d << 5) + d + (b >> 16 & 255);
            return (d << 5) + d + (b >> 24 & 255) & 2147483647;
          };

          g.Zi = function () {
            throw Error("Not Implemented");
          };

          g.p_ = function () {
            return -Infinity;
          };

          g.r_ = function () {
            return Infinity;
          };

          g.h_ = function () {
            return 2147483647;
          };

          g.UZ = function () {
            return 2.220446049250313E-16;
          };

          g.VZ = function () {
            return 1.7976931348623157E308;
          };

          g.IB = function (b) {
            return g.eZ(b) + 12345 & 2147483647;
          };

          g.gI = function (b) {
            var a = 32,
                d = b % g.qA | 0,
                f = b / g.qA | 0;
            if (0 === (a &= 63)) return b;
            32 > a ? (b = d >>> a | f << 32 - a, a = f >> a) : (b = f >> a - 32, a = 0 <= f ? 0 : -1);
            return a * g.qA + (b >>> 0);
          };

          g.eZ = function (b) {
            var a;
            a = 1103515245;
            b |= 0;
            var d = a & 65535;
            return ((a - d) * b | 0) + (d * b | 0) | 0;
          };

          g.truncate = function (b) {
            return 0 > b ? -1 * Math.floor(Math.abs(b)) : Math.floor(b);
          };

          g.hV = Math.pow(2, 53) - 1;
          g.XZ = -g.hV;
          g.jD = 65536;
          g.K_ = 16777216;
          g.qA = g.jD * g.jD;
          return g;
        }();

        c.J = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.Project = 0] = "Project";
          c[c.Union = 1] = "Union";
          c[c.Difference = 2] = "Difference";
          c[c.Proximity2D = 3] = "Proximity2D";
          c[c.Relate = 4] = "Relate";
          c[c.Equals = 5] = "Equals";
          c[c.Disjoint = 6] = "Disjoint";
          c[c.Intersects = 7] = "Intersects";
          c[c.Within = 8] = "Within";
          c[c.Contains = 9] = "Contains";
          c[c.Crosses = 10] = "Crosses";
          c[c.Touches = 11] = "Touches";
          c[c.Overlaps = 12] = "Overlaps";
          c[c.Buffer = 13] = "Buffer";
          c[c.Distance = 14] = "Distance";
          c[c.Intersection = 15] = "Intersection";
          c[c.Clip = 16] = "Clip";
          c[c.Cut = 17] = "Cut";
          c[c.DensifyByLength = 18] = "DensifyByLength";
          c[c.DensifyByAngle = 19] = "DensifyByAngle";
          c[c.LabelPoint = 20] = "LabelPoint";
          c[c.GeodesicBuffer = 21] = "GeodesicBuffer";
          c[c.GeodeticDensifyByLength = 22] = "GeodeticDensifyByLength";
          c[c.ShapePreservingDensify = 23] = "ShapePreservingDensify";
          c[c.GeodeticLength = 24] = "GeodeticLength";
          c[c.GeodeticArea = 25] = "GeodeticArea";
          c[c.Simplify = 26] = "Simplify";
          c[c.SimplifyOGC = 27] = "SimplifyOGC";
          c[c.Offset = 28] = "Offset";
          c[c.Generalize = 29] = "Generalize";
          c[c.SymmetricDifference = 30] = "SymmetricDifference";
          c[c.ConvexHull = 31] = "ConvexHull";
          c[c.Boundary = 32] = "Boundary";
          c[c.SimpleRelation = 33] = "SimpleRelation";
        })(c.tN || (c.tN = {}));

        var n = function () {
          function g() {}

          g.prototype.G = function () {
            return null;
          };

          g.prototype.qo = function () {
            return !1;
          };

          g.prototype.wv = function () {
            return !1;
          };

          g.NZ = function (b) {
            c.T.gh(b.G()) && (b = b.ob, null != b && (b.My(null), b.OE(null)));
          };

          return g;
        }();

        c.ef = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 13;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e, h) {
            return a instanceof c.T ? (h = new c.hd(a), this.V(h, b, [f], !1, e).next()) : !0 === e ? (f = new c.ED(a, b, f, !1, h), c.ei.local().V(f, b, h)) : new c.ED(a, b, f, !1, h);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.DD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f, e) {
            this.Ca = -1;
            this.ie = b;
            this.JA = a;
            this.yt = d;
            this.uV = new c.h();
            this.uV.Oa();
            this.To = -1;
            this.lc = e;
          }

          g.prototype.next = function () {
            for (var b; null != (b = this.ie.next());) return this.Ca = this.ie.Ia(), this.To + 1 < this.yt.length && this.To++, this.buffer(b, this.yt[this.To]);

            return null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.buffer = function (b, a) {
            return c.QL.buffer(b, a, this.JA, NaN, 96, this.lc);
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.ED = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 16;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e) {
            return a instanceof c.T ? (a = new c.hd(a), this.V(a, b, f, e).next()) : new c.dN(a, b, f, e);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.cN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d) {
            this.Ca = -1;
            if (null == b) throw c.g.F();
            this.R = a;
            this.$k = b;
            this.ta = c.na.be(d, a, !1);
          }

          g.prototype.next = function () {
            var b;
            return null != (b = this.$k.next()) ? (this.Ca = this.$k.Ia(), c.ne.clip(b, this.R, this.ta, 0)) : null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.dN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 31;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f) {
            return a instanceof c.T ? c.GD.EF(a) : new c.GD(b, a, f);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.FD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d) {
            this.bB = new c.Ju();
            this.Ca = -1;
            if (null == a) throw c.g.F();
            this.oI = b;
            this.Pc = !1;
            this.$k = a;
            this.lc = d;
          }

          g.prototype.next = function () {
            if (this.oI) {
              if (!this.Pc) {
                var b = this.fQ(this.$k);
                this.Pc = !0;
                return b;
              }

              return null;
            }

            if (!this.Pc) {
              b = this.$k.next();
              if (null != b) return this.Ca = this.$k.Ia(), g.EF(b);
              this.Pc = !0;
            }

            return null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.fQ = function (b) {
            for (var a; null != (a = b.next());) this.bB.Jb(a);

            return this.bB.VS();
          };

          g.prototype.Re = function () {
            if (this.Pc) return !0;
            if (!this.oI) throw c.g.X("Invalid call for non merging convex hull.");
            var b = this.$k.next();
            if (null != b) return this.bB.Jb(b), !0;
            throw c.g.X("Expects a non-null geometry.");
          };

          g.EF = function (b) {
            if (g.Wg(b)) return b;
            var a = b.G();
            if (c.xl.Oc(a)) return a = new c.Ua(b.description), a.dc(b, !0), a;

            if (550 == a && 2 == b.D()) {
              var d = new c.Wa(),
                  a = new c.Ua(b.description);
              b.Ae(0, d);
              a.Rf(d);
              b.Ae(1, d);
              a.lineTo(d);
              return a;
            }

            return c.Ju.VQ(b);
          };

          g.Wg = function (b) {
            if (b.u()) return !0;
            var a = b.G();
            return 33 == a || 197 == a ? !0 : c.xl.Oc(a) ? !1 : 550 == a ? 1 == b.D() ? !0 : !1 : 1607 == a ? 1 == b.aa() && 2 >= b.D() ? !0 : !1 : 1 != b.aa() ? !1 : 2 >= b.D() ? !0 : c.Ju.VH(b, 0);
          };

          return g;
        }();

        c.GD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 17;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e, h) {
            return new c.fN(a, b, f, e, h);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.eN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f, e) {
            this.qg = null;
            if (null == a || null == d) throw c.g.X("invalid argument");
            this.rV = b;
            this.WA = a;
            this.xI = d;
            b = c.na.Zv(a, d);
            this.ta = c.na.be(f, b, !0);
            this.wI = -1;
            this.ke = e;
          }

          g.prototype.Ia = function () {
            return 0;
          };

          g.prototype.next = function () {
            this.IS();
            return ++this.wI < this.qg.length ? this.qg[this.wI] : null;
          };

          g.prototype.IS = function () {
            if (null == this.qg) switch (this.qg = [], this.WA.G()) {
              case 1607:
                this.KS();
                break;

              case 1736:
                this.JS();
            }
          };

          g.prototype.KS = function () {
            var b = new c.Ua(),
                a = new c.Ua(),
                d = new c.Ua();
            this.qg.push(b);
            this.qg.push(a);
            var f = [];
            c.XL.VL(this.rV, this.WA, this.xI, this.ta, f, this.ke);

            for (var e = 0; e < f.length; e++) {
              var h = f[e];
              0 == h.nx ? b.add(h.Y, !1) : 1 == h.nx || 2 == h.nx ? a.add(h.Y, !1) : 3 == h.nx ? this.qg.push(h.Y) : d.add(h.Y, !1);
            }

            d.u() || b.u() && a.u() && !(3 <= this.qg.length) || this.qg.push(d);
            b.u() && a.u() && 3 > this.qg.length && (this.qg.length = 0);
          };

          g.prototype.JS = function () {
            var b = new c.ia(0),
                a = new c.fd(),
                d = a.iG(),
                f = a.Jb(this.WA),
                e = a.Jb(this.xI),
                h = new c.Dg();

            try {
              h.Xr(a, this.ta, this.ke);
              h.Hl(d, f, e, b);
              var l = a.Se(f),
                  k = new c.Ja(),
                  g = new c.Ja();
              this.qg.length = 0;
              this.qg.push(k);
              this.qg.push(g);

              for (f = 0; f < b.size; f++) {
                var w,
                    p = new c.fd(),
                    q = p.Jb(l),
                    t = p.Jb(a.Se(b.get(f)));
                h.Wr(p, this.ke);
                var n = h.nw(q, t);
                w = p.Se(n);

                if (!w.u()) {
                  var r = a.VG(b.get(f), d);
                  2 == r ? k.add(w, !1) : 1 == r ? g.add(w, !1) : this.qg.push(w);
                  var v = new c.fd(),
                      q = v.Jb(l),
                      t = v.Jb(a.Se(b.get(f)));
                  h.Wr(v, this.ke);
                  l = v.Se(h.Vm(q, t));
                }
              }

              !l.u() && 0 < b.size && this.qg.push(l);
              k.u() && g.u() && (this.qg.length = 0);
            } finally {
              h.qh();
            }
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.fN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 18;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f) {
            if (a instanceof c.T) return a = new c.hd(a), this.V(a, b, f).next();
            if (0 >= b) throw c.g.F();
            return new c.gN(a, b, f);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.Jm = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a) {
            this.Ca = -1;
            this.ie = b;
            this.Kt = a;
          }

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.next = function () {
            var b;
            return null != (b = this.ie.next()) ? (this.Ca = this.ie.Ia(), this.KR(b)) : null;
          };

          g.prototype.KR = function (b) {
            if (b.u() || 1 > b.tb()) return b;
            var a = b.G();
            if (1736 == a || 1607 == a) return this.wz(b);
            if (c.T.Oc(a)) return this.MR(b);
            if (197 == a) return this.LR(b);
            throw c.g.za();
          };

          g.prototype.MR = function (b) {
            if (b.Rb() <= this.Kt) return b;
            var a = new c.Ua(b.description);
            a.dc(b, !0);
            return this.wz(a);
          };

          g.prototype.LR = function (b) {
            var a = new c.Ja(b.description);
            a.jd(b, !1);
            var d = new c.h();
            b.s(d);
            b = d.fa();
            return d.N() <= this.Kt && b <= this.Kt ? a : this.wz(a);
          };

          g.prototype.wz = function (b) {
            for (var a = b.Ka(), d = b.Fa(); d.Ya();) for (var f = !0; d.Ea();) {
              var e = d.ba();
              if (322 != e.G()) throw c.g.X("not implemented");
              var h = d.Fo(),
                  l = e.Rb();

              if (l > this.Kt) {
                var k = Math.ceil(l / this.Kt),
                    l = new c.Wa(b.description);
                f && (e.Dp(l), a.Rf(l));

                for (var g = f = 1 / k, w = 0, k = k - 1; w < k; w++) e.Fx(g, l), a.lineTo(l), g += f;

                h ? a.sq() : (e.Bp(l), a.lineTo(l));
              } else h ? a.sq() : a.dc(e, f);

              f = !1;
            }

            return a;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.gN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.G = function () {
            return 2;
          };

          b.prototype.V = function (a, b, f, e) {
            return a instanceof c.T ? (a = new c.hd(a), b = new c.hd(b), this.V(a, b, f, e).next()) : new c.hN(a, b, f, e);
          };

          b.Vm = function (a, d, f, e) {
            if (a.u() || d.u()) return a;
            var h = a.tb(),
                l = d.tb();
            if (h > l) return a;
            var k = a.G(),
                g = d.G(),
                w = new c.h(),
                p = new c.h(),
                q = new c.h();
            a.s(w);
            d.s(p);
            q.I(w);
            q.Nb(p);
            var q = c.na.be(f, q, !0),
                t = q * Math.sqrt(2) * 1.00001,
                n = new c.h();
            n.I(w);
            n.O(t, t);
            if (!n.Yb(p)) return a;
            if (1 == h && 2 == l) return b.TL(a, d, g, f, e);
            if (33 == k) switch (c.xl.Oc(g) ? (f = new c.Ua(d.description), f.dc(d, !0)) : f = d, g) {
              case 1736:
                return b.hO(a, f, q);

              case 1607:
                return b.lO(a, f, q);

              case 550:
                return b.WN(a, f, q);

              case 197:
                return b.QN(a, f, q);

              case 33:
                return b.dO(a, f, q);

              default:
                throw c.g.F();
            } else if (550 == k) switch (g) {
              case 1736:
                return b.DM(a, d, q);

              case 197:
                return b.nM(a, d, q);

              case 33:
                return b.yM(a, d, q);
            }
            return c.Dg.Vm(a, d, f, e);
          };

          b.hO = function (a, b, f) {
            return 0 == c.gd.WH(b, a, f) ? a : a.Ka();
          };

          b.lO = function (a, b, f) {
            var e = a.w();
            b = b.Fa();

            for (var h = f * Math.sqrt(2) * 1.00001, l = h * h, k = new c.h(); b.Ya();) for (; b.Ea();) {
              var g = b.ba();
              g.s(k);
              k.O(h, h);

              if (k.contains(e)) {
                if (g.mt(e, f)) return a.Ka();
                var w = g.ec();
                if (c.b.sc(e, w) <= l) return a.Ka();
                w = g.Cc();
                if (c.b.sc(e, w) <= l) return a.Ka();
              }
            }

            return a;
          };

          b.WN = function (a, b, f) {
            var e = b.Pa(0);
            b = b.D();
            var h = a.w(),
                l = new c.b();
            f = f * Math.sqrt(2) * 1.00001;
            f *= f;

            for (var k = 0; k < b; k++) if (e.fc(2 * k, l), c.b.sc(l, h) <= f) return a.Ka();

            return a;
          };

          b.QN = function (a, b, f) {
            var e = new c.h();
            b.s(e);
            e.O(f, f);
            b = a.w();
            return e.contains(b) ? a.Ka() : a;
          };

          b.dO = function (a, b, f) {
            f = f * Math.sqrt(2) * 1.00001;
            f *= f;
            var e = a.w();
            b = b.w();
            return c.b.sc(e, b) <= f ? a.Ka() : a;
          };

          b.DM = function (a, b, f) {
            var e = new c.h();
            b.s(e);
            e.O(f, f);

            for (var h = a.D(), l = !1, k = [], g = 0; g < h; g++) k[g] = !1;

            for (var w = new c.b(), g = 0; g < h; g++) a.w(g, w), e.contains(w) && 0 != c.gd.ge(b, w, f) && (l = !0, k[g] = !0);

            if (!l) return a;
            b = a.Ka();

            for (g = 0; g < h; g++) k[g] || b.Id(a, g, g + 1);

            return b;
          };

          b.nM = function (a, b, f) {
            var e = new c.h();
            b.s(e);
            e.O(f, f);
            b = a.D();
            var h = !1;
            f = [];

            for (var l = 0; l < b; l++) f[l] = !1;

            for (var k = new c.b(), l = 0; l < b; l++) a.w(l, k), e.contains(k) && (h = !0, f[l] = !0);

            if (!h) return a;
            e = a.Ka();

            for (l = 0; l < b; l++) f[l] || e.Id(a, l, l + 1);

            return e;
          };

          b.yM = function (a, b, f) {
            var e = a.Pa(0),
                h = a.D(),
                l = b.w(),
                k = new c.b(),
                g = !1;
            b = [];

            for (var w = 0; w < h; w++) b[w] = !1;

            w = f * Math.sqrt(2) * 1.00001;
            f = w * w;

            for (w = 0; w < h; w++) e.fc(2 * w, k), c.b.sc(k, l) <= f && (g = !0, b[w] = !0);

            if (!g) return a;
            e = a.Ka();

            for (w = 0; w < h; w++) b[w] || e.Id(a, w, w + 1);

            return e;
          };

          b.TL = function (a, b, f, e, h) {
            var l = new c.ci();
            a.Qn(l);
            var k = new c.h();
            b.s(k);
            l.Nb(k);
            l.O(.1 * l.N(), .1 * l.fa());
            k = new c.Ja();
            k.jd(l, !1);
            1736 == f ? k.add(b, !0) : k.jd(b, !0);
            return c.tk.local().V(a, k, e, h);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.cq = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f) {
            this.ot = null == a;
            this.Ca = -1;
            this.ie = b;
            this.JA = d;
            this.xV = a.next();
            this.lc = f;
          }

          g.prototype.next = function () {
            if (this.ot) return null;
            var b;
            return null != (b = this.ie.next()) ? (this.Ca = this.ie.Ia(), c.cq.Vm(b, this.xV, this.JA, this.lc)) : null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.hN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b(a) {
            this.ke = a;
            this.Zj = new c.h();
            this.Zj.Oa();
            this.Jh = new c.h();
            this.Jh.Oa();
          }

          b.prototype.Bu = function () {
            var a;
            a = this.Zj.o;
            this.Zj.o = this.Jh.o;
            this.Jh.o = a;
            a = this.Zj.v;
            this.Zj.v = this.Jh.v;
            this.Jh.v = a;
            a = this.Zj.A;
            this.Zj.A = this.Jh.A;
            this.Jh.A = a;
            a = this.Zj.B;
            this.Zj.B = this.Jh.B;
            this.Jh.B = a;
          };

          b.prototype.$R = function (a, b) {
            var f = !this.Zj.Yb(this.Jh);

            if (c.T.Ic(a.G()) && c.T.Ic(b.G())) {
              if (a.D() > b.D()) return this.uF(a, b, f);
              this.Bu();
              f = this.uF(b, a, f);
              this.Bu();
              return f;
            }

            if (550 == a.G() && c.T.Ic(b.G())) return f = this.vF(b, a, f), this.Bu(), f;
            if (550 == b.G() && c.T.Ic(a.G())) return this.vF(a, b, f);

            if (550 == a.G() && 550 == b.G()) {
              if (a.D() > b.D()) return this.wF(a, b);
              this.Bu();
              f = this.wF(b, a);
              this.Bu();
              return f;
            }

            return 0;
          };

          b.prototype.uF = function (a, b, f) {
            var e = a.Fa(),
                h = b.Fa(),
                l = new c.h(),
                k = new c.h(),
                g = 1.7976931348623157E308;
            if (!f && this.rZ(a, b, e, h)) return 0;

            for (; e.Ya();) for (; e.Ea();) if (a = e.ba(), a.s(l), !(l.Zx(this.Jh) > g)) {
              for (; h.Ya();) for (; h.Ea();) if (b = h.ba(), b.s(k), l.Zx(k) < g && (b = a.Cb(b, f), b *= b, b < g)) {
                if (0 == b) return 0;
                g = b;
              }

              h.yj();
            }

            return Math.sqrt(g);
          };

          b.prototype.vF = function (a, b, f) {
            var e = a.Fa(),
                h = new c.h(),
                l = 1.7976931348623157E308,
                k = new c.b(),
                g,
                w = b.D();

            for (f = !f && 1736 == a.G(); e.Ya();) for (; e.Ea();) {
              var p = e.ba();
              p.s(h);

              if (!(1 < w && h.Zx(this.Jh) > l)) {
                for (var q = 0; q < w; q++) {
                  b.w(q, k);
                  if (f && 0 != c.gd.ge(a, k, 0)) return 0;
                  g = p.pe(k, !1);
                  k.sub(p.gc(g));
                  g = k.qk();

                  if (g < l) {
                    if (0 == g) return 0;
                    l = g;
                  }
                }

                f = !1;
              }
            }

            return Math.sqrt(l);
          };

          b.prototype.wF = function (a, b) {
            for (var f = 1.7976931348623157E308, e = new c.b(), h = new c.b(), l, k = a.D(), g = b.D(), w = 0; w < k; w++) if (a.w(w, e), !(1 < g && this.Jh.ZK(e) > f)) for (var p = 0; p < g; p++) if (b.w(p, h), l = c.b.sc(e, h), l < f) {
              if (0 == l) return 0;
              f = l;
            }

            return Math.sqrt(f);
          };

          b.prototype.rZ = function (a, b, f, e) {
            if (1736 == a.G()) {
              for (; e.Ya();) if (e.Ea()) {
                var h = e.ba();
                if (0 != c.gd.ge(a, h.Cc(), 0)) return !0;
              }

              e.yj();
            }

            if (1736 == b.G()) {
              for (; f.Ya();) if (f.Ea() && (a = f.ba(), 0 != c.gd.ge(b, a.Cc(), 0))) return !0;

              f.yj();
            }

            return !1;
          };

          b.prototype.Rm = function (a, b) {
            if (a.u() || b.u()) return NaN;
            a.s(this.Zj);
            b.s(this.Jh);
            return this.$R(a, b);
          };

          return b;
        }(),
            g = function (b) {
          function a() {
            b.apply(this, arguments);
          }

          O(a, b);

          a.prototype.V = function (a, b, e) {
            if (null == a || null == b) throw c.g.F();
            if (a.u() || b.u()) return NaN;
            var h, l;
            h = a.G();
            l = b.G();

            if (33 == h) {
              if (33 == l) return c.b.Cb(a.w(), b.w());
              if (197 == l) return e = new c.h(), b.s(e), e.Cb(a.w());
              h = new c.Ed();
              h.add(a);
              a = h;
            } else if (197 == h) {
              if (197 == l) return l = new c.h(), a.s(l), e = new c.h(), b.s(e), e.Cb(l);
              h = new c.Ja();
              h.jd(a, !1);
              a = h;
            }

            33 == l ? (l = new c.Ed(), l.add(b), b = l) : 197 == l && (l = new c.Ja(), l.jd(b, !1), b = l);
            return new n(e).Rm(a, b);
          };

          a.local = function () {
            null === a.$ && (a.$ = new a());
            return a.$;
          };

          a.prototype.G = function () {
            return 14;
          };

          a.$ = null;
          return a;
        }(c.ef);

        c.iN = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f) {
            this.LI = b;
            this.TI = a;
            this.ke = f;
            this.lI = d;
          }

          g.prototype.next = function () {
            var b = this.LI.next();
            return null == b ? null : this.lD(b);
          };

          g.prototype.Ia = function () {
            return this.LI.Ia();
          };

          g.prototype.lD = function (b) {
            var a = b.G();
            if (c.T.Jo(a)) return b;
            if (197 == a) return a = new c.Ja(b.description), a.jd(b, !1), this.lD(a);
            if (b.u()) return b;
            if (null == b) throw c.g.za();

            for (var a = b.Ka(), d = new c.Hb(), f = 0, e = b.aa(); f < e; f++) this.pM(b, f, a, d);

            return a;
          };

          g.prototype.pM = function (b, a, d, f) {
            if (!(2 > b.La(a))) {
              var e = b.wa(a),
                  h = b.Gc(a) - 1,
                  l = b.Pa(0),
                  k = b.Qb(a),
                  g = new c.ia(0);
              g.yb(b.La(a) + 1);
              var w = new c.ia(0);
              w.yb(b.La(a) + 1);
              g.add(k ? e : h);
              g.add(e);

              for (e = new c.b(); 1 < g.size;) {
                var p = g.Fc();
                g.Pf();
                var q = g.Fc();
                b.w(p, e);
                f.Mc(e);
                b.w(q, e);
                f.Zc(e);
                q = this.lM(f, e, l, p, q, h);
                0 <= q ? (g.add(q), g.add(p)) : w.add(p);
              }

              k || w.add(g.get(0));
              if (w.size == g.size) d.Ti(b, a, !0);else if (2 <= w.size && (!this.lI || 2 != w.size || !(k || c.b.Cb(b.Ba(w.get(0)), b.Ba(w.get(1))) <= this.TI))) {
                a = new c.Wa();
                f = 0;

                for (h = w.size; f < h; f++) b.Ae(w.get(f), a), 0 == f ? d.Rf(a) : d.lineTo(a);

                k && (this.lI || 2 != w.size || d.lineTo(a), d.sq());
              }
            }
          };

          g.prototype.lM = function (b, a, d, f, c, h) {
            var l = c - 1;
            c <= f && (l = h);
            h = c = -1;

            for (f += 1; f <= l; f++) {
              d.fc(2 * f, a);
              var g = a.x,
                  m = a.y;
              b.gc(b.pe(a, !1), a);
              a.x -= g;
              a.y -= m;
              g = a.length();
              g > this.TI && g > h && (c = f, h = g);
            }

            return c;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.jN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 29;
          };

          b.prototype.V = function (a, b, f, e) {
            return a instanceof c.T ? (a = new c.hd(a), this.V(a, b, f, e).next()) : new c.jN(a, b, f, e);
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.HD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 21;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e, h, l, g, m) {
            return a instanceof c.T ? (m = new c.hd(a), this.V(m, b, f, [e], h, l, !1, g).next()) : !0 === g ? (f = new c.KD(a, b, f, e, h, !1, !1, m), c.ei.local().V(f, b, m)) : new c.KD(a, b, f, e, h, !1, !1, m);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.JD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f, e, h, l, g) {
            if (h) throw c.g.df();
            if (null == a) throw c.g.F();
            this.Ca = -1;
            this.Ht = b;
            this.Rg = a;
            this.$e = d;
            this.yt = f;
            this.Po = e;
            this.To = -1;
            this.lc = g;
            this.vV = new c.h();
            this.vV.Oa();
          }

          g.prototype.next = function () {
            for (var b; null != (b = this.Ht.next());) return this.Ca = this.Ht.Ia(), this.To + 1 < this.yt.length && this.To++, this.SS(b, this.yt[this.To]);

            return null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.SS = function (b, a) {
            return c.sM.buffer(b, this.Rg, this.$e, a, this.Po, this.lc);
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.KD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 24;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e) {
            if (null == b) throw c.g.F();
            if (a.u() || 1 > a.tb()) return 0;
            if (4 == f) throw c.g.df();
            var h = c.fb.kc(b),
                l = c.fb.hw(h),
                g = c.fb.Sv(h),
                l = l * (2 - l),
                m = h.Nd().Ai,
                w = a.G(),
                p;
            1736 == w || 197 == w ? p = a.Gg() : c.T.Oc(w) ? (p = new c.Ua(a.description), p.dc(a, !0)) : p = a;

            if (0 == h.Eb(b)) {
              if (c.fb.Jc(b)) {
                p = c.gi.Mj(p, b);
                1607 == w && p == a && (p = c.T.oe(a));
                a = new c.Ac();
                c.fb.Bh(b).Sn(a);

                for (var w = 0, q = p.D(); w < q; w++) {
                  var t = p.Ba(w);
                  t.x = c.gi.Nn(t.x, a);
                  p.rb(w, t);
                }
              }

              a = p.Ka();
              p = c.gi.OJ(b, h, p, a, e) ? a : c.fb.Xg(p, b, h, e);
            }

            return this.bS(p, f, g, l, m);
          };

          b.prototype.bS = function (a, b, f, e, h) {
            var l = new c.ea(0),
                g = 0;

            for (a = a.Fa(); a.Ya();) for (; a.Ea();) {
              var m = a.ba(),
                  w = m.ec(),
                  m = m.Cc();
              w.scale(h);
              m.scale(h);
              c.mb.Ld(f, e, w.x, w.y, m.x, m.y, l, null, null, b);
              g += l.j;
            }

            return g;
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.mN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 18;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e, h) {
            return a instanceof c.T ? (a = new c.hd(a), this.V(a, b, f, e, h).next()) : new c.lN(a, f, e, b, -1, -1, h);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.kN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f, e, h) {
            if (0 < h) throw c.g.df();
            if (4 != d && 0 < e) throw c.g.df();
            if (null == a) throw c.g.F();
            this.Ca = -1;
            this.Ht = b;
            this.Rg = a;
            this.$e = d;
            this.CV = f;
            this.BV = e;
          }

          g.prototype.next = function () {
            for (var b; null != (b = this.Ht.next());) return this.Ca = this.Ht.Ia(), this.Hz(b);

            return null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.Hz = function (b) {
            return c.Ej.Ls(b, this.Rg, this.$e, this.CV, this.BV, this.lc);
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.lN = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.Unknown = 0] = "Unknown";
          c[c.Contains = 1] = "Contains";
          c[c.Within = 2] = "Within";
          c[c.Equals = 3] = "Equals";
          c[c.Disjoint = 4] = "Disjoint";
          c[c.Touches = 8] = "Touches";
          c[c.Crosses = 16] = "Crosses";
          c[c.Overlaps = 32] = "Overlaps";
          c[c.NoThisRelation = 64] = "NoThisRelation";
          c[c.Intersects = 1073741824] = "Intersects";
          c[c.IntersectsOrDisjoint = 1073741828] = "IntersectsOrDisjoint";
        })(c.BM || (c.BM = {}));

        var n = function () {
          function g() {}

          g.s_ = function (b, a, d, f) {
            if (a.u() || b.u()) return 4;
            var e = b.G(),
                h = a.G(),
                l;
            c.T.Oc(e) && (b = l = new c.Ua(b.description), l.dc(b, !0));
            c.T.Oc(h) && (a = l = new c.Ua(a.description), l.dc(a, !0));

            switch (e) {
              case 33:
                switch (h) {
                  case 33:
                    return g.FN(b, a, d);

                  case 197:
                    return g.se(g.CD(a, b, d));

                  case 550:
                    return g.se(g.aE(a, b, d));

                  case 1607:
                    return g.se(g.aD(a, b, d, f));

                  case 1736:
                    return g.se(g.oE(a, b, d));
                }

                throw c.g.za();

              case 197:
                switch (h) {
                  case 33:
                    return g.CD(b, a, d);

                  case 197:
                    return g.JM(b, a, d);

                  case 550:
                    return g.se(g.TD(a, b, d, f));

                  case 1607:
                    return g.se(g.tE(a, b));

                  case 1736:
                    return g.se(g.kE(a, b));
                }

                throw c.g.za();

              case 550:
                switch (h) {
                  case 33:
                    return g.aE(b, a, d);

                  case 197:
                    return g.TD(b, a, d, f);

                  case 550:
                    return g.ZD(b, a, d, f);

                  case 1607:
                    return g.se(g.vE(a, b));

                  case 1736:
                    return g.se(g.mE(a, b));
                }

                throw c.g.za();

              case 1607:
                switch (h) {
                  case 33:
                    return g.aD(b, a, d, f);

                  case 197:
                    return g.tE(b, a);

                  case 550:
                    return g.vE(b, a);

                  case 1607:
                    return g.mO(b, a);

                  case 1736:
                    return g.se(g.rE(a, b));
                }

                throw c.g.za();

              case 1736:
                switch (h) {
                  case 33:
                    return g.oE(b, a, d);

                  case 197:
                    return g.kE(b, a);

                  case 550:
                    return g.mE(b, a);

                  case 1607:
                    return g.rE(b, a);

                  case 1736:
                    return g.XN(b, a);
                }

                throw c.g.za();

              default:
                throw c.g.za();
            }
          };

          g.FN = function (b, a, d) {
            b = b.w();
            a = a.w();
            return g.iE(b, a, d);
          };

          g.iE = function (b, a, d) {
            b.sub(a);
            return b.qk() <= d * d ? 3 : 4;
          };

          g.CD = function (b, a, d) {
            var f = new c.h();
            b.s(f);
            b = a.w();
            return g.QM(f, b, d);
          };

          g.QM = function (b, a, d) {
            b.O(-d, -d);
            if (b.contains(a)) return 1;
            b.O(d, d);
            return b.contains(a) ? 8 : 4;
          };

          g.UM = function (b, a, d) {
            return a.contains(d) ? 1 : b.contains(d) ? 8 : 4;
          };

          g.JM = function (b, a, d) {
            var f = new c.h();
            b.s(f);
            b = new c.h();
            a.s(b);
            return g.NM(f, b, d);
          };

          g.NM = function (b, a, d) {
            var f = 0;
            b.contains(a) && (f |= 1);
            a.contains(b) && (f |= 2);
            if (0 != f) return f;
            b.O(-d, -d);
            a.O(-d, -d);
            if (b.Yb(a)) return f = b, f.O(d, d), f = f.contains(a) ? 1 : 0, a.O(d, d), f |= a.contains(b) ? 2 : 0, 0 != f ? f : 32;
            f = b;
            f.O(d, d);
            a.O(d, d);
            return f.Yb(a) ? 8 : 4;
          };

          g.aE = function (b, a, d) {
            a = a.w();
            return g.cE(b, a, d);
          };

          g.cE = function (b, a, d) {
            for (var f = 0, c = b.D(); f < c; f++) {
              var h;
              h = b.Ba(f);
              h = g.iE(h, a, d);
              if (4 != h) return 0 != (h & 2) && 1 != c ? 1 : h;
            }

            return 4;
          };

          g.TD = function (b, a, d, f) {
            var e = new c.h();
            a.s(e);
            return g.aN(b, e, d, f);
          };

          g.aN = function (b, a, d, f) {
            a.O(-d, -d);
            a.O(d, d);

            for (var c = d = 0, h = b.D(); c < h; c++) {
              var l;
              l = b.Ba(c);
              l = g.se(g.UM(a, a, l));
              if (4 != l && (d |= l, 4 == f)) return 1073741824;
            }

            return 0 == d ? 4 : 2 == d ? d : 32;
          };

          g.ZD = function (b, a, d, f) {
            for (var c = 0, h = 0, l = a.D(); h < l; h++) {
              var k;
              k = a.Ba(h);
              k = g.cE(b, k, d);
              if (4 != k && (c++, 4 == f)) return 1073741824;
            }

            return 0 < c ? c == a.D() ? 3 == f ? (k = g.ZD(a, b, d, 1), 1 == k ? 3 : 0) : 1 : 32 : 0;
          };

          g.aD = function (b, a, d, f) {
            a = a.w();
            return g.iO(b, a, d, f);
          };

          g.XM = function (b, a) {
            var d = null,
                f = b.ob;
            null != f && (d = f.Hi);

            if (null != d) {
              d = d.rm(a.x, a.y);
              if (0 == d) return 4;
              if (1 == d) return 1;
            } else return -1;

            return 0;
          };

          g.iO = function (b, a, d, f) {
            if (0 == (f & 1073741839)) return 64;
            var e = g.XM(b, a);
            if (0 < e) return e;
            d *= d;

            for (e = b.Fa(); e.Ya();) {
              var h = e.Ta;

              if (!b.Qb(h)) {
                var l = b.La(h),
                    h = b.wa(h);
                if (0 == l) continue;
                if (c.b.sc(b.Ba(h), a) <= d || 1 < l && c.b.sc(b.Ba(h + l - 1), a) <= d) return 8;
              }

              if (8 != f) for (; e.Ea();) if (l = e.ba(), l = l.gc(l.pe(a, !1)), c.b.sc(l, a) <= d) return 0 != (f & 1073741828) ? 1073741824 : 1;
            }

            return 0 != (f & 1073741828) ? 4 : 64;
          };

          g.tE = function (b, a) {
            var d = new c.h();
            a.s(d);
            return g.eO(b, d);
          };

          g.eO = function (b, a) {
            var d = g.eq(b, a);
            return 0 < d ? d : 0;
          };

          g.eq = function (b, a) {
            var d;
            d = b.ob;
            if (null != d) d = d.Hi;else return -1;

            if (null != d) {
              d = d.Rn(a);
              if (0 == d) return 4;
              if (1 == d) return 1;
            } else return -1;

            return 0;
          };

          g.vE = function (b, a) {
            var d = new c.h();
            a.s(d);
            d = g.eq(b, d);
            return 0 < d ? d : 0;
          };

          g.uv = function (b, a) {
            var d = new c.h();
            a.s(d);
            d = g.eq(b, d);
            return 0 < d ? d : -1 == d && (d = new c.h(), b.s(d), d = g.eq(a, d), 0 < d) ? g.se(d) : 0;
          };

          g.mO = function (b, a) {
            var d = g.uv(b, a);
            return 0 < d ? d : 0;
          };

          g.oE = function (b, a, d) {
            a = a.w();
            return g.RN(b, a, d);
          };

          g.RN = function (b, a, d) {
            b = c.gd.ge(b, a, d);
            if (0 == b) return 4;
            if (1 == b) return 1;
            if (2 == b) return 8;
            throw c.g.za();
          };

          g.kE = function (b, a) {
            var d = new c.h();
            a.s(d);
            return g.ON(b, d);
          };

          g.ON = function (b, a) {
            var d = g.eq(b, a);
            return 0 < d ? d : 0;
          };

          g.mE = function (b, a) {
            var d = g.uv(b, a);
            return 0 < d ? d : 0;
          };

          g.rE = function (b, a) {
            var d = g.uv(b, a);
            return 0 < d ? d : 0;
          };

          g.XN = function (b, a) {
            var d = g.uv(b, a);
            return 0 < d ? d : 0;
          };

          g.kX = function (b, a) {
            var d = b.G(),
                f = a.G(),
                e;

            if (c.T.gh(d) && (e = b.ob, null != e && (e = e.Hi, null != e))) {
              if (33 == f) {
                var h = a.w();
                e = e.rm(h.x, h.y);
              } else h = new c.h(), a.s(h), e = e.Rn(h);

              if (1 == e) return 1;
              if (0 == e) return 4;
            }

            if (c.T.gh(f) && (e = a.ob, null != e && (e = e.Hi, null != e))) {
              33 == d ? (d = b.w(), e = e.rm(d.x, d.y)) : (d = new c.h(), b.s(d), e = e.Rn(d));
              if (1 == e) return 2;
              if (0 == e) return 4;
            }

            return 0;
          };

          g.se = function (b) {
            0 != (b & 1) && (b = b & -2 | 2);
            0 != (b & 2) && (b = b & -3 | 1);
            return b;
          };

          return g;
        }();

        c.nN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.G = function () {
            return 15;
          };

          b.prototype.V = function (a, b, f, e, h) {
            return a instanceof c.T ? (a = new c.hd(a), b = new c.hd(b), this.V(a, b, f, e, h).next()) : void 0 === h ? new c.LD(a, b, f, e, -1) : new c.LD(a, b, f, e, h);
          };

          b.prototype.qo = function (a, b, f) {
            if (!this.wv(a)) return !1;
            b = c.na.ah(b, a, !1);
            var e = a.Hj(f);
            return e = e || a.Xu(b, f);
          };

          b.prototype.wv = function (a) {
            return c.xy.bz(a);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.tk = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f, e) {
            this.ot = null == a;
            this.Ca = -1;
            this.ie = b;
            this.Rg = d;
            this.sf = a.next();
            this.$j = this.sf.G();
            this.lc = f;
            this.ej = e;
            if (-1 != this.ej && (0 >= this.ej || 7 < this.ej)) throw c.g.F("bad dimension mask");
          }

          g.prototype.next = function () {
            if (this.ot) return null;
            var b;

            if (null != this.ox) {
              b = this.ox.next();
              if (null != b) return b;
              this.ox = null;
            }

            for (; null != (b = this.ie.next());) {
              this.Ca = this.ie.Ia();
              if (-1 == this.ej) return b = this.Ma(b);
              this.ox = this.LU(b);
              return b = this.ox.next();
            }

            return null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.Ma = function (b) {
            var a = this.oL(b);
            if (null != a) return a;
            var a = c.na.Zv(this.sf, b),
                d = c.na.be(this.Rg, a, !0),
                a = new c.h();
            this.sf.s(a);
            var f = new c.h();
            b.s(f);
            a.O(2 * d, 2 * d);
            a.Ma(f);
            a.O(100 * d, 100 * d);
            d = c.ne.clip(this.sf, a, 0, 0);
            b = c.ne.clip(b, a, 0, 0);
            return c.Dg.nw(b, d, this.Rg, this.lc);
          };

          g.prototype.JJ = function (b, a, d) {
            var f = 0;
            if (0 != (a & 1)) null == d[0] && (d[0] = new c.Ed(b)), f++;else for (var e = 0; e < d.length - 1; e++) d[e] = d[e + 1];
            if (0 != (a & 2)) null == d[f] && (d[f] = new c.Ua(b)), f++;else for (e = f; e < d.length - 1; e++) d[e] = d[e + 1];
            if (0 != (a & 4)) null == d[f] && (d[f] = new c.Ja(b)), f++;else for (e = f; e < d.length - 1; e++) d[e] = d[e + 1];

            if (3 != f) {
              b = [];

              for (e = 0; e < f; e++) b[e] = d[e];

              return new c.hd(b);
            }

            return new c.hd(d);
          };

          g.prototype.LU = function (b) {
            var a = this.oL(b);

            if (null != a) {
              var d = [null, null, null];
              d[a.tb()] = a;
              return this.JJ(b.description, this.ej, d);
            }

            a = c.na.Zv(this.sf, b);
            d = c.na.be(this.Rg, a, !0);
            a = new c.h();
            this.sf.s(a);
            a.O(2 * d, 2 * d);
            var f = new c.h();
            b.s(f);
            a.Ma(f);
            a.O(100 * d, 100 * d);
            d = c.ne.clip(this.sf, a, 0, 0);
            a = c.ne.clip(b, a, 0, 0);
            d = c.Dg.wA(a, d, this.Rg, this.lc);
            return this.JJ(b.description, this.ej, d);
          };

          g.prototype.oL = function (b) {
            var a = c.na.Zv(b, this.sf),
                d = c.na.be(this.Rg, a, !0),
                a = b.G(),
                f = b.u(),
                e = this.sf.u(),
                e = f || e;

            if (!e) {
              e = new c.h();
              b.s(e);
              var h = new c.h();
              this.sf.s(h);
              h.O(2 * d, 2 * d);
              e = !e.Yb(h);
            }

            if (!e) if (h = c.nN.kX(this.sf, b), 4 == h) e = !0;else {
              if (0 != (h & 2)) return this.sf;
              if (0 != (h & 1)) return b;
            }
            if (e) return d = c.T.lf(a), e = c.T.lf(this.$j), d < e ? g.$(b, f) : d > e ? this.dK() : 0 == d ? 550 == a && 33 == this.$j ? this.dK() : g.$(b, f) : g.$(b, f);
            if ((-1 == this.ej || 4 == this.ej) && 197 == a && 197 == this.$j) return d = this.sf, a = new c.h(), b.s(a), f = new c.h(), d.s(f), a.Ma(f), d = new c.ci(), b.copyTo(d), d.Gp(a), d;
            if (197 == a && 0 == c.T.lf(this.$j) || 197 == this.$j && 0 == c.T.lf(a)) return f = 197 == a ? b : this.sf, b = 197 == a ? this.sf : b, a = new c.h(), f.s(a), c.ne.clip(b, a, d, 0);

            if (0 == c.T.lf(a) && 0 < c.T.lf(this.$j) || 0 < c.T.lf(a) && 0 == c.T.lf(this.$j)) {
              d = c.na.ah(this.Rg, b, !1);
              if (550 == a || 33 == a) return c.Dg.MH(b, this.sf, d);
              if (550 == this.$j || 33 == this.$j) return c.Dg.MH(this.sf, b, d);
              throw c.g.za();
            }

            return -1 != this.ej && 2 != this.ej || 1607 != a || 1736 != this.$j ? -1 != this.ej && 2 != this.ej || 1736 != a || 1607 != this.$j ? null : this.lL(this.sf, b) : this.lL(b, this.sf);
          };

          g.prototype.lL = function (b, a) {
            var d = b,
                f = a,
                e = c.na.ah(this.Rg, a, !1),
                h = new c.h();
            f.s(h);
            var l = new c.h();
            d.s(l);
            l.O(2 * e, 2 * e);
            h.Ma(l);
            h.O(10 * e, 10 * e);
            var d = b = c.ne.clip(b, h, 0, 0),
                l = new c.ia(0),
                g = -1,
                m = f.ob;

            if (null != m) {
              var w = m.Hi;

              if (null != w) {
                g = 0;
                l.yb(d.D() + d.aa());

                for (var p = new c.h(), q = d.Fa(); q.Ya();) for (; q.Ea();) {
                  q.ba().s(p);
                  var t = w.Rn(p);
                  1 == t ? l.add(1) : 0 == t ? l.add(0) : (l.add(-1), g++);
                }
              }
            }

            5 < a.D() && (f = a = c.ne.clip(a, h, 0, 0), m = f.ob);
            0 > g && (g = d.jA());
            h = d.D() + f.D();
            if (g * f.D() > Math.log(h) * h * 4) return null;
            h = null;
            g = f.Fa();
            null != m && null != m.Mb && (h = m.Mb);
            null == h && 20 < f.D() && (h = c.na.BF(f));

            for (var f = b.Ka(), m = null, w = d.Fa(), p = [0, 0, 0, 0, 0, 0, 0, 0, 0], q = new c.Rd(0), t = new c.Cg(), n = -1, r = 0, v = 0, x = 0 < l.size, B = -1; w.Ya();) {
              for (var B = w.Ta, y = 0, n = -1, r = 0; w.Ea();) {
                var A = x ? c.J.truncate(l.get(v)) : -1;
                v++;
                var C = w.ba();

                if (0 > A) {
                  if (null != h) for (null == m ? m = h.qT(C, e) : m.Wn(C, e), A = m.next(); -1 != A; A = m.next()) {
                    g.Tb(h.ja(A));

                    for (var A = g.ba(), D = C.Ma(A, null, p, null, e), A = 0; A < D; A++) q.add(p[A]);
                  } else for (g.yj(); g.Ya();) for (; g.Ea();) for (A = g.ba(), D = C.Ma(A, null, p, null, e), A = 0; A < D; A++) q.add(p[A]);

                  if (0 < q.size) {
                    q.Gd(0, q.size, function (a, b) {
                      return a - b;
                    });
                    var E = 0;
                    q.add(1);

                    for (var D = -1, A = 0, F = q.size; A < F; A++) {
                      var G = q.get(A);

                      if (G != E) {
                        var H = !1;
                        0 != E || 1 != G ? (C.yh(E, G, t), E = t.get()) : (E = C, H = !0);

                        if (2 <= y) {
                          f.Bs(d, B, n, r, 3 == y);
                          if (1 != this.fF(a, E.ec(), e) && 1 != this.gF(a, E, e)) return null;
                          f.dc(E, !1);
                          y = 1;
                          r = 0;
                        } else switch (D = this.gF(a, E, e), D) {
                          case 1:
                            H ? 2 > y ? (n = w.Db() - d.wa(B), r = 1, y = 0 == y ? 3 : 2) : r++ : (f.dc(E, 0 == y), y = 1);
                            break;

                          case 0:
                            y = 0;
                            n = -1;
                            r = 0;
                            break;

                          default:
                            return null;
                        }

                        E = G;
                      }
                    }
                  } else {
                    A = this.fF(a, C.ec(), e);
                    if (0 > A) return null;
                    1 == A ? (2 > y && (n = w.Db() - d.wa(B), y = 0 == y ? 3 : 2), r++) : (n = -1, r = 0);
                  }

                  q.clear(!1);
                } else 0 != A && 1 == A && (0 == y ? (y = 3, n = w.Db() - d.wa(B)) : 1 == y ? (y = 2, n = w.Db() - d.wa(B)) : r++);
              }

              2 <= y && (f.Bs(d, B, n, r, 3 == y), n = -1);
            }

            return f;
          };

          g.prototype.fF = function (b, a, d) {
            return c.ff.kn(b, a, d);
          };

          g.prototype.gF = function (b, a, d) {
            var f = a.ec();
            a = a.Cc();
            var e = c.ff.kn(b, f, d),
                h = c.ff.kn(b, a, d);
            if (1 == e && 0 == h || 0 == e && 1 == h) return -1;
            if (0 == e || 0 == h) return 0;
            if (1 == e || 1 == h) return 1;
            e = new c.b();
            e.add(f, a);
            e.scale(.5);
            b = c.ff.kn(b, e, d);
            return 0 == b ? 0 : 1 == b ? 1 : -1;
          };

          g.$ = function (b, a) {
            return a ? b : b.Ka();
          };

          g.prototype.dK = function () {
            null == this.KI && (this.KI = this.sf.Ka());
            return this.KI;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.LD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 28;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e, h, l, g) {
            return a instanceof c.T ? (a = new c.hd(a), this.V(a, b, f, e, h, l, g).next()) : new c.oN(a, b, f, e, h, l, g);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.MD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f, c, h, l) {
            this.Ca = -1;
            this.ie = b;
            this.fk = a;
            this.Qa = d;
            this.jj = f;
            this.jB = c;
            this.GI = h;
            this.ke = l;
          }

          g.prototype.next = function () {
            var b = this.ie.next();
            return null != b ? (this.Ca = this.ie.Ia(), this.bN(b)) : null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.bN = function (b) {
            var a;
            a = 0 >= this.GI ? c.na.ah(this.fk, b, !1) : this.GI;
            return c.UL.V(b, this.Qa, this.jj, this.jB, a, this.ke);
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.oN = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.clipToDomainOnly = 1] = "clipToDomainOnly";
          c[c.clipWithHorizon = 2] = "clipWithHorizon";
          c[c.foldAndClipWithHorizon = 3] = "foldAndClipWithHorizon";
        })(c.Up || (c.Up = {}));

        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 0;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f) {
            return a instanceof c.T ? (a = new c.hd(a), this.V(a, b, f).next()) : new c.pN(a, b, f);
          };

          b.prototype.transform = function (a, b, f, e) {
            return c.ko.transform(a, b, f, e, !0);
          };

          b.prototype.jL = function (a, b, f) {
            return c.ko.jL(a, b, f);
          };

          b.prototype.Du = function (a, b, f, e) {
            return c.ko.Du(a, b, f, e);
          };

          b.prototype.XY = function (a, b, f, e) {
            return c.ko.gs(a, b, f, e);
          };

          b.prototype.iL = function (a, b, f, e) {
            return c.ko.iL(a, b, f, e);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.os = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d) {
            this.Ca = -1;
            this.ie = b;
            this.LV = a;
            this.ke = d;
          }

          g.prototype.next = function () {
            var b = this.ie.next();
            return null != b ? (this.Ca = this.ie.Ia(), c.ko.Xg(b, this.LV, this.ke)) : null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.pN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b() {}

          b.prototype.reset = function () {
            this.Lh = this.Zk = -1;
            this.qt = this.$q = !1;
          };

          b.prototype.tS = function (a, b, f) {
            for (a.Tb(b, f); a.Ea();) {
              var c = a.ba(),
                  c = c.Rb();
              if (0 != c) return a.Db();
            }

            for (a.Tb(b, f); a.pA();) if (c = a.Li(), c = c.Rb(), 0 != c) return a.Db();

            return -1;
          };

          b.prototype.uS = function (a, b) {
            for (a.Tb(b, -1); a.pA();) if (0 != a.Li().Rb()) return a.Db();

            return -1;
          };

          b.prototype.sS = function (a, b) {
            a.Tb(b, -1);

            for (a.ba(); a.Ea();) if (0 != a.ba().Rb()) return a.Db();

            return -1;
          };

          b.prototype.rS = function (a, b, f, e) {
            this.Zk = this.tS(b, f, e);

            if (-1 != this.Zk) {
              b.Tb(this.Zk, -1);
              var h = b.ba(),
                  l = h.gc(h.pe(a, !1));
              f = c.b.sc(l, a);
              e = new c.b();
              e.L(l);
              e.sub(h.ec());
              l = new c.b();
              l.L(a);
              l.sub(h.ec());
              this.$q = 0 > e.Ui(l);
              this.Lh = this.sS(b, this.Zk);

              if (-1 != this.Lh) {
                b.Tb(this.Lh, -1);
                var h = b.ba(),
                    g = h.pe(a, !1),
                    g = h.gc(g),
                    m = c.b.sc(g, a);
                m > f ? this.Lh = -1 : (e.L(g), e.sub(h.ec()), l.L(a), l.sub(h.ec()), this.qt = 0 > e.Ui(l));
              }

              -1 == this.Lh && (this.Lh = this.uS(b, this.Zk), -1 != this.Lh && (b.Tb(this.Lh, -1), h = b.ba(), g = h.pe(a, !1), g = h.gc(g), m = c.b.sc(g, a), m > f ? this.Lh = -1 : (e.L(g), e.sub(h.ec()), l.L(a), l.sub(h.ec()), this.qt = 0 > e.Ui(l), a = this.Zk, this.Zk = this.Lh, this.Lh = a, a = this.$q, this.$q = this.qt, this.qt = a)));
            }
          };

          b.prototype.eQ = function (a, b, f, c, h) {
            f = f.Fa();
            this.rS(a, f, c, h);
            if (-1 != this.Zk && -1 == this.Lh) return this.$q;

            if (-1 != this.Zk && -1 != this.Lh) {
              if (this.$q == this.qt) return this.$q;
              f.Tb(this.Zk, -1);
              a = f.ba().Eg(1);
              f.Tb(this.Lh, -1);
              b = f.ba().Eg(0);
              return 0 <= a.Ui(b) ? !0 : !1;
            }

            return b;
          };

          return b;
        }(),
            g = function (b) {
          function a() {
            b.apply(this, arguments);
          }

          O(a, b);

          a.local = function () {
            null === a.$ && (a.$ = new a());
            return a.$;
          };

          a.prototype.G = function () {
            return 3;
          };

          a.prototype.$z = function (a, b, e, h) {
            void 0 === h && (h = !1);
            if (a.u()) return new c.Mm();
            b = b.w();
            var l = a,
                g = a.G();
            197 == g && (l = new c.Ja(), l.jd(a, !1), g = 1736);

            switch (g) {
              case 33:
                return this.FJ(l, b);

              case 550:
                return this.rJ(l, b);

              case 1607:
              case 1736:
                return this.$V(l, b, e, h);

              default:
                throw c.g.X("not implemented");
            }
          };

          a.prototype.aA = function (a, b) {
            if (a.u()) return new c.Mm();
            var e = b.w(),
                h = a,
                l = a.G();
            197 == l && (h = new c.Ja(), h.jd(a, !1), l = 1736);

            switch (l) {
              case 33:
                return this.FJ(h, e);

              case 550:
              case 1607:
              case 1736:
                return this.rJ(h, e);

              default:
                throw c.g.X("not implemented");
            }
          };

          a.prototype.bA = function (a, b, e, h) {
            if (0 > h) throw c.g.F();
            if (a.u()) return [];
            b = b.w();
            var l = a,
                g = a.G();
            197 == g && (l = new c.Ja(), l.jd(a, !1), g = 1736);

            switch (g) {
              case 33:
                return this.FW(l, b, e, h);

              case 550:
              case 1607:
              case 1736:
                return this.cW(l, b, e, h);

              default:
                throw c.g.X("not implemented");
            }
          };

          a.prototype.$V = function (a, b, e, h) {
            if (1736 == a.G() && e && (e = new c.h(), a.s(e), e = c.na.be(null, e, !1), 0 != (h ? c.gd.ge(a, b, 0) : c.gd.ge(a, b, e)))) {
              var l = new c.Mm(b, 0, 0);
              h && l.NK(!0);
              return l;
            }

            for (var g = a.Fa(), l = new c.b(), m = e = -1, w = 1.7976931348623157E308, p = 0; g.Ya();) for (; g.Ea();) {
              var q = g.ba(),
                  q = q.gc(q.pe(b, !1)),
                  t = c.b.sc(q, b);
              t < w ? (p = 1, l = q, e = g.Db(), m = g.Ta, w = t) : t == w && p++;
            }

            l = new c.Mm(l, e, Math.sqrt(w));
            h && (g.Tb(e, m), q = g.ba(), h = 0 > c.b.zp(b, q.ec(), q.Cc()), 1 < p && (p = new n(), p.reset(), h = p.eQ(b, h, a, e, m)), l.NK(h));
            return l;
          };

          a.prototype.FJ = function (a, b) {
            var e = a.w(),
                h = c.b.Cb(e, b);
            return new c.Mm(e, 0, h);
          };

          a.prototype.rJ = function (a, b) {
            for (var e = a.Pa(0), h = a.D(), l = 0, g = 0, m = 0, w = 1.7976931348623157E308, p = 0; p < h; p++) {
              var q = new c.b();
              e.fc(2 * p, q);
              var n = c.b.sc(q, b);
              n < w && (g = q.x, m = q.y, l = p, w = n);
            }

            e = new c.Mm();
            e.Ly(g, m, l, Math.sqrt(w));
            return e;
          };

          a.prototype.FW = function (a, b, e, h) {
            if (0 == h) return e = [];
            e *= e;
            a = a.w();
            b = c.b.sc(a, b);
            b <= e ? (e = [], h = new c.Mm(), h.Ly(a.x, a.y, 0, Math.sqrt(b)), e[0] = h) : e = [];
            return e;
          };

          a.prototype.cW = function (a, b, e, h) {
            if (0 == h) return h = [];
            var l = a.Pa(0),
                g = a.D();
            a = [];
            var m = 0;
            e *= e;

            for (var w = 0; w < g; w++) {
              var p = l.read(2 * w),
                  q = l.read(2 * w + 1),
                  n = b.x - p,
                  u = b.y - q,
                  n = n * n + u * u;
              n <= e && (u = new c.Mm(), u.Ly(p, q, w, Math.sqrt(n)), m++, a.push(u));
            }

            b = a.length;
            a.sort(function (a, b) {
              return a.Qa < b.Qa ? -1 : a.Qa == b.Qa ? 0 : 1;
            });
            if (h >= b) return a.slice(0);
            a.length = h;
            return a.slice(0);
          };

          a.$ = null;
          return a;
        }(c.ef);

        c.sy = g;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 4;
          };

          b.prototype.V = function (a, b, f, e, h) {
            return c.Nm.ZB(a, b, f, e, h);
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.wv = function (a) {
            return c.Gu.cz(a);
          };

          b.prototype.qo = function (a, b, f) {
            return c.Gu.UE(a, b, f);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.qN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 33;
          };

          b.prototype.V = function (a, b, f, e, h) {
            return 1073741824 === a ? !c.Fd.$B(b, f, e, 4, h) : c.Fd.$B(b, f, e, a, h);
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.wv = function (a) {
            return c.Gu.cz(a);
          };

          b.prototype.qo = function (a, b, f) {
            return c.Gu.UE(a, b, f);
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.Gj = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f) {
            this.ke = f;
            this.sV = d;
            this.Ca = -1;
            if (null == b) throw c.g.F();
            this.$k = b;
            this.fk = a;
          }

          g.prototype.next = function () {
            var b;
            return null != (b = this.$k.next()) ? (this.Ca = this.$k.Ia(), this.DC(b)) : null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.DC = function (b) {
            if (null == b) throw c.g.F();
            return c.ty.TK(b, this.fk, this.sV, this.ke);
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.rN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 26;
          };

          b.prototype.V = function (a, b, f, e) {
            return a instanceof c.T ? (a = new c.hd(a), this.V(a, b, f, e).next()) : new c.rN(a, b, f, e);
          };

          b.prototype.Wq = function (a, b, f, e, h) {
            return 0 < (void 0 !== e ? c.ty.Wq(a, b, f, e, h) : c.ty.Wq(a, b, !1, null, f));
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.Km = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a() {
            this.nr = 0;
          }

          a.prototype.iY = function (a) {
            this.nr &= -2;
            this.nr = this.nr | (a ? 1 : 0);
          };

          a.prototype.fn = function () {
            return 0 != (this.nr & 1);
          };

          a.prototype.hH = function () {
            return this.fn() ? 0 : 1;
          };

          return a;
        }();

        c.KZ = n;

        var g = function () {
          return function () {};
        }(),
            b = function () {
          return function (a, b, d, f) {
            this.x = a;
            this.y = b;
            this.$i = d;
            this.ln = f;
          };
        }(),
            a = function () {
          function a(b) {
            this.bf = b;
          }

          a.prototype.compare = function (a, b, d) {
            a = a.ja(d);
            b = this.bf.Nf.read(2 * b);
            a = this.bf.Nf.read(2 * a);
            b -= a;
            return 0 > b ? -1 : 0 < b ? 1 : 0;
          };

          return a;
        }(),
            d = function () {
          function a(b) {
            this.bf = b;
          }

          a.prototype.compare = function (a, b, d) {
            b = this.bf.ib[b];
            a = this.bf.ib[a.ja(d)];
            var f = b.fn(),
                c = a.fn();
            d = b.Le.pf(this.bf.wp, 0);
            var e = a.Le.pf(this.bf.wp, 0);
            d == e && (d = Math.min(f ? b.Le.ra : b.Le.oa, c ? a.Le.ra : a.Le.oa), f = .5 * (d - this.bf.wp) + this.bf.wp, f == this.bf.wp && (f = d), d = b.Le.pf(f, 0), e = a.Le.pf(f, 0));
            return d < e ? -1 : d > e ? 1 : 0;
          };

          return a;
        }(),
            f = function () {
          function a(b, d) {
            this.QJ = new c.b();
            this.parent = b;
            this.ZT = d;
          }

          a.prototype.hs = function (a, b, d) {
            var f = this.parent,
                c = this.ZT;
            d.Gd(a, b, function (a, b) {
              return f.ki(a, b, c);
            });
          };

          a.prototype.Qq = function (a) {
            a = this.parent.Gi.get(a);
            this.parent.Nf.fc(2 * (a >> 1), this.QJ);
            return this.QJ.y + (0 != (a & 1) ? this.parent.hk : -this.parent.hk);
          };

          return a;
        }(),
            e = function () {
          function e(a, b, d, f, h) {
            this.zI = a.description;
            this.Y = a;
            this.mh = b;
            this.hk = c.na.ah(this.mh, a, !1);
            this.pp = c.na.ah(this.mh, a, !0);
            this.eB = d;
            this.qV = this.zI.Ga;
            this.ib = [];
            this.cp = [];
            this.Hh = new c.Xp();
            this.hb = new c.uk();
            this.ve = new c.$d();
            this.kI = this.Ul = h;
          }

          e.prototype.BA = function () {
            this.kI = !0;
            return (!c.T.Ic(this.Y.G()) || this.OF() && this.NF(!1)) && this.qQ() ? c.T.Ic(this.Y.G()) ? this.tQ() ? 1607 == this.Y.G() ? this.vQ() ? 2 : 0 : this.wQ() ? this.xQ() : 0 : 0 : 2 : 0;
          };

          e.prototype.JC = function (a, b) {
            var d = this.Nf.read(2 * a),
                f = this.Nf.read(2 * a + 1),
                e = this.Nf.read(2 * b),
                h = this.Nf.read(2 * b + 1),
                g = !c.Iu.pw(d, f, e, h, this.hk * this.hk);
            return g ? g : 0 == this.Y.tb() ? !1 : d == e && f == h;
          };

          e.prototype.OF = function () {
            for (var a = this.Y, b = a.$f ? 3 : 2, d = 0, f = a.aa(); d < f; d++) if (a.La(d) < b) return this.ve = new c.$d(1, d, 0), !1;

            return !0;
          };

          e.prototype.NF = function (a) {
            for (var b = this.Y, d = b.Fa(), f = b.hasAttribute(1), b = f ? c.na.GF(this.mh, b, !1) : 0; d.Ya();) for (; d.Ea();) {
              var e = d.ba();

              if (!(e.Rb() > this.hk)) {
                if (a && f) {
                  var h = e.dt(1, 0),
                      e = e.dt(1, 0);
                  if (Math.abs(e - h) > b) continue;
                }

                this.ve = new c.$d(2, d.Db(), -1);
                return !1;
              }
            }

            return !0;
          };

          e.prototype.qQ = function () {
            var b = this.Y,
                d = null;
            c.T.Ic(this.Y.G()) && (d = this.Y);
            var e = (this.kI || this.Ul) && null != d,
                h = b.D();
            this.Nf = b.Pa(0);
            this.Gi = new c.ia(0);
            this.Gi.yb(2 * h);
            this.Fi = new c.ia(0);
            this.Fi.yb(2 * h);
            e && (null == this.im && (this.im = new c.ia(0)), this.im.yb(h));

            for (var g = b = 0; g < h; g++) if (this.Gi.add(2 * g), this.Gi.add(2 * g + 1), this.Fi.add(2 * g), this.Fi.add(2 * g + 1), e) {
              for (; g >= d.Gc(b);) b++;

              this.im.add(b);
            }

            new c.Hu().sort(this.Fi, 0, 2 * h, new f(this, e));
            this.hb.clear();
            this.hb.Ep(new a(this));
            this.hb.Qe(h);
            d = 0;

            for (h *= 2; d < h; d++) if (e = this.Fi.get(d), b = this.Gi.get(e), e = b >> 1, 0 == (b & 1)) {
              b = this.hb.addElement(e, -1);
              g = this.hb.Ve(b);
              if (-1 != g && !this.JC(this.hb.ja(g), e)) return this.ve = new c.$d(3, e, this.hb.ja(g)), !1;
              var q = this.hb.nb(b);
              if (-1 != q && !this.JC(this.hb.ja(q), e)) return this.ve = new c.$d(3, e, this.hb.ja(q)), !1;
            } else if (b = this.hb.search(e, -1), g = this.hb.Ve(b), q = this.hb.nb(b), this.hb.Kd(b, -1), -1 != g && -1 != q && !this.JC(this.hb.ja(g), this.hb.ja(q))) return this.ve = new c.$d(3, this.hb.ja(g), this.hb.ja(q)), !1;

            return !0;
          };

          e.prototype.tQ = function () {
            return 10 > this.Y.D() ? this.rQ() : this.sQ();
          };

          e.prototype.sQ = function () {
            var a = new c.fd();
            a.Jb(this.Y);
            var b = new c.$d();
            return c.Ku.tJ(!1, a, this.hk, b, this.ke) ? (b.lm = a.Za(b.lm), b.mm = a.Za(b.mm), this.ve.ms(b), !1) : !0;
          };

          e.prototype.rQ = function () {
            for (var a = this.Y, b = a.Fa(), a = a.Fa(); b.Ya();) for (; b.Ea();) {
              var d = b.ba();

              if (!b.Io() || !b.UU()) {
                a.zX(b);

                do for (; a.Ea();) {
                  var f = a.ba(),
                      f = d.ys(f, this.hk, !0);
                  if (0 != f) return this.ve = new c.$d(2 == f ? 5 : 4, b.Db(), a.Db()), !1;
                } while (a.Ya());
              }
            }

            return !0;
          };

          e.prototype.wQ = function () {
            var a = this.Y;
            this.ib.length = 0;
            this.cp.length = 0;
            this.ug = a.Fa();
            this.ug.kC();
            var b = new c.ia(0);
            b.yb(10);

            for (var d = NaN, f = 0, e = 0, a = 2 * a.D(); e < a; e++) {
              var h = this.Fi.get(e),
                  h = this.Gi.get(h);

              if (0 == (h & 1)) {
                var h = h >> 1,
                    g = this.Nf.read(2 * h),
                    n = this.Nf.read(2 * h + 1);

                if (0 != b.size && (g != d || n != f)) {
                  if (!this.KJ(b)) return !1;
                  null != b && b.clear(!1);
                }

                b.add(h);
                d = g;
                f = n;
              }
            }

            return this.KJ(b) ? !0 : !1;
          };

          e.prototype.vQ = function () {
            for (var a = this.Y, b = Array(a.aa()), d = 0, f = a.aa(); d < f; d++) b[d] = a.Eo(d);

            var f = new g(),
                e,
                h,
                n,
                u = new c.b(),
                d = this.Fi.get(0),
                d = this.Gi.get(d),
                r = d >> 1;
            this.Nf.fc(2 * r, u);
            d = this.im.get(r);
            e = b[d];
            h = a.wa(d);
            n = a.Gc(d) - 1;
            f.Il = r == h || r == n;
            f.Uy = this.Ul ? !e && f.Il : f.Il;
            f.$i = d;
            f.x = u.x;
            f.y = u.y;
            f.ln = r;

            for (var v = new g(), x = 1, B = this.Fi.size; x < B; x++) if (d = this.Fi.get(x), d = this.Gi.get(d), 0 == (d & 1)) {
              r = d >> 1;
              this.Nf.fc(2 * r, u);
              d = this.im.get(r);
              d != f.$i && (e = b[d], h = a.wa(d), n = a.Gc(d) - 1);
              var y,
                  A = r == h || r == n;
              y = this.Ul ? !e && f.Il : f.Il;
              v.x = u.x;
              v.y = u.y;
              v.$i = d;
              v.ln = r;
              v.Uy = y;
              v.Il = A;
              if (v.x == f.x && v.y == f.y) if (this.Ul) {
                if (!v.Uy || !f.Uy) if (v.$i != f.$i || !v.Il && !f.Il) return this.ve = new c.$d(8, v.ln, f.ln), !1;
              } else if (!v.Il || !f.Il) return this.ve = new c.$d(5, v.ln, f.ln), !1;
              d = f;
              f = v;
              v = d;
            }

            return !0;
          };

          e.prototype.QF = function () {
            for (var a = this.Y, d = [], f = -1, e = !1, h = 0, g = a.aa(); h < g; h++) a.rw(h) && (e = !1, f++, h < g - 1 && (a.rw(h + 1) || (e = !0))), d[h] = e ? f : -1;

            var e = new c.b(),
                h = this.Fi.get(0),
                h = this.Gi.get(h),
                n = h >> 1;
            this.Nf.fc(2 * n, e);

            for (var h = this.im.get(n), f = new b(e.x, e.y, h, n, d[h]), a = [], u = 1, g = this.Fi.size; u < g; u++) if (h = this.Fi.get(u), h = this.Gi.get(h), 0 == (h & 1)) {
              n = h >> 1;
              this.Nf.fc(2 * n, e);
              h = this.im.get(n);
              h = new b(e.x, e.y, h, n, d[h]);

              if (h.x == f.x && h.y == f.y) {
                if (h.$i == f.$i) return this.ve = new c.$d(9, h.ln, f.ln), !1;
                0 <= d[h.$i] && d[h.$i] == d[f.$i] && (0 != a.length && a[a.length - 1] == f || a.push(f), a.push(h));
              }

              f = h;
            }

            if (0 == a.length) return !0;
            h = new c.Xp(!0);
            c.J.Nv(d, -1);
            e = -1;
            u = new c.b();
            u.$c();
            f = 0;

            for (g = a.length; f < g; f++) {
              n = a[f];
              if (n.x != u.x || n.y != u.y) e = h.mi(0), u.x = n.x, u.y = n.y;
              var r = d[n.$i];
              -1 == r && (r = h.mi(2), d[n.$i] = r);
              h.addElement(r, e);
              h.addElement(e, r);
            }

            g = new c.ia(0);
            g.yb(10);

            for (f = h.Ge; -1 != f; f = h.cA(f)) if (a = h.$G(f), 0 == (a & 1) && 0 != (a & 2)) {
              a = -1;
              g.add(f);

              for (g.add(-1); 0 < g.size;) {
                e = g.Fc();
                g.Pf();
                u = g.Fc();
                g.Pf();
                n = h.$G(u);

                if (0 != (n & 1)) {
                  a = 0 == (n & 2) ? e : u;
                  break;
                }

                h.aY(u, n | 1);

                for (n = h.xc(u); -1 != n; n = h.nb(n)) r = h.getData(n), r != e && (g.add(r), g.add(u));
              }

              if (-1 != a) {
                h = -1;
                f = 0;

                for (g = d.length; f < g; f++) if (d[f] == a) {
                  h = f;
                  break;
                }

                this.ve = new c.$d(10, h, -1);
                return !1;
              }
            }

            return !0;
          };

          e.prototype.xQ = function () {
            var a = this.Y;
            if (0 >= a.hf()) return this.ve = new c.$d(6, 1 == a.aa() ? 1 : -1, -1), 0;
            if (1 == a.aa()) return this.Ul && !this.QF() ? 0 : 2;
            this.hp = c.ia.zd(a.aa(), 0);
            this.qB = c.ia.zd(a.aa(), -1);

            for (var b = -1, f = 0, e = 0, h = a.aa(); e < h; e++) {
              var g = a.Sm(e);
              this.hp.write(e, 0 > g ? 0 : 256);
              if (0 < g) b = e, f = g;else {
                if (0 == g) return this.ve = new c.$d(6, e, -1), 0;
                if (0 > b || f < Math.abs(g)) if (this.ve = new c.$d(7, e, -1), this.Ul) return 0;
                this.qB.write(e, b);
              }
            }

            this.Wt = a.aa();
            this.Bn = new c.ia(0);
            this.Bn.yb(10);
            h = a.D();
            this.wp = NaN;
            a = new c.ia(0);
            a.yb(10);
            this.Jr = c.ia.zd(h, -1);
            this.ux = c.ia.zd(h, -1);
            null != this.Yj ? this.Yj.clear(!1) : this.Yj = new c.ia(0);
            this.Yj.yb(10);
            this.hb.clear();
            this.hb.Ep(new d(this));
            b = 0;

            for (h *= 2; 0 < this.Wt && b < h; b++) if (f = this.Fi.get(b), f = this.Gi.get(f), 0 == (f & 1)) {
              f >>= 1;
              e = this.Nf.read(2 * f + 1);

              if (e != this.wp && 0 != a.size) {
                if (!this.ju(a)) return 0;
                null != a && a.clear(!1);
              }

              a.add(f);
              this.wp = e;
            }

            return 0 < this.Wt && !this.ju(a) ? 0 : this.Ul ? 0 == this.ve.Ii && this.QF() ? 2 : 0 : 0 == this.ve.Ii ? 2 : 1;
          };

          e.prototype.KJ = function (a) {
            if (1 == a.size) return !0;

            for (var b = 0, d = a.size; b < d; b++) {
              var f = a.get(b);
              this.ug.Tb(f);
              var e = this.ug.Li();
              this.ib.push(this.Gv(e, f, this.ug.Ta, !0));
              this.ug.ba();
              e = this.ug.ba();
              this.ib.push(this.Gv(e, f, this.ug.Ta, !1));
            }

            var h = this;
            this.ib.sort(function (a, b) {
              return h.VR(a, b);
            });
            f = this.Hh.Ge;
            -1 == f && (f = this.Hh.mi(0));
            this.Hh.Vn(this.ib.length);
            b = 0;

            for (d = this.ib.length; b < d; b++) this.Hh.addElement(f, b);

            for (var b = !0, g = d = -1; b;) {
              b = !1;
              e = this.Hh.xc(f);
              if (-1 == e) break;

              for (var n = this.Hh.nb(e); -1 != n;) {
                d = this.Hh.getData(e);
                g = this.Hh.getData(n);
                d = this.ib[d].up;
                g = this.ib[g].up;
                if (d == g) if (b = !0, this.Hh.kd(f, e), e = this.Hh.Ve(n), n = this.Hh.kd(f, n), -1 == n || -1 == e) break;else continue;
                e = n;
                n = this.Hh.nb(e);
              }
            }

            b = this.Hh.at(f);
            this.Hh.RF(f);
            if (0 < b) return this.ve = new c.$d(5, d, g), !1;
            b = 0;

            for (d = a.size; b < d; b++) this.WB(this.ib[b]);

            this.ib.length = 0;
            return !0;
          };

          e.prototype.ju = function (a) {
            for (var b = 0, d = a.size; b < d; b++) {
              var f = a.get(b),
                  e = this.Jr.read(f);

              if (-1 != e) {
                var h = this.hb.ja(e);
                this.Yj.add(h);
                this.hb.Kd(e, -1);
                this.WB(this.ib[h]);
                this.ib[h] = null;
                this.Jr.write(f, -1);
              }

              e = this.ux.read(f);
              -1 != e && (h = this.hb.ja(e), this.Yj.add(h), this.hb.Kd(e, -1), this.WB(this.ib[h]), this.ib[h] = null, this.ux.write(f, -1));
            }

            b = 0;

            for (d = a.size; b < d; b++) {
              f = a.get(b);
              this.ug.Tb(f);
              e = this.ug.Li();

              if (e.ra > e.oa) {
                var g = this.ug.Db(),
                    n = this.Gv(e, f, this.ug.Ta, !0);
                0 < this.Yj.size ? (h = this.Yj.Fc(), this.Yj.Pf(), this.ib[h] = n) : (h = this.ib.length, this.ib.push(n));
                e = this.hb.addElement(h, -1);
                -1 == this.Jr.read(g) ? this.Jr.write(g, e) : this.ux.write(g, e);
                0 == (this.hp.read(this.ug.Ta) & 3) && this.Bn.add(e);
              }

              this.ug.ba();
              e = this.ug.ba();
              e.ra < e.oa && (g = this.ug.Jk(), n = this.Gv(e, f, this.ug.Ta, !1), 0 < this.Yj.size ? (h = this.Yj.Fc(), this.Yj.Pf(), this.ib[h] = n) : (h = this.ib.length, this.ib.push(n)), e = this.hb.addElement(h, -1), -1 == this.Jr.read(g) ? this.Jr.write(g, e) : this.ux.write(g, e), 0 == (this.hp.read(this.ug.Ta) & 3) && this.Bn.add(e));
            }

            b = 0;

            for (d = this.Bn.size; b < d && 0 < this.Wt; b++) if (e = this.Bn.get(b), 0 == (this.hp.read(this.ib[this.hb.ja(e)].pB) & 3)) {
              a = -1;

              for (var f = this.hb.Ve(e), r = e, n = null, h = -1, v = 0; -1 != f;) {
                h = this.hb.ja(f);
                n = this.ib[h];
                h = n.pB;
                v = this.hp.read(h);
                if (0 != (v & 3)) break;
                r = f;
                f = this.hb.Ve(f);
              }

              -1 == f ? (g = 1, f = r) : (a = 1 == (v & 3) ? h : this.qB.read(h), g = 0 != n.hH() ? 0 : 1, f = this.hb.nb(f));

              do {
                h = this.hb.ja(f);
                n = this.ib[h];
                h = n.pB;
                r = this.hp.read(h);

                if (0 == (r & 3)) {
                  if (g != n.hH()) return this.ve = new c.$d(6, h, -1), !1;
                  v = 0 == g || n.fn() ? 2 : 1;
                  r = r & 252 | v;
                  this.hp.write(h, v);
                  if (2 == v && 0 == this.ve.Ii && this.qB.read(h) != a && (this.ve = new c.$d(7, h, -1), this.Ul)) return !1;
                  this.Wt--;
                  if (0 == this.Wt) return !0;
                }

                1 == (r & 3) && (a = h);
                r = f;
                f = this.hb.nb(f);
                g = 0 != g ? 0 : 1;
              } while (r != e);
            }

            null != this.Bn ? this.Bn.clear(!1) : this.Bn = new c.ia(0);
            return !0;
          };

          e.prototype.Gv = function (a, b, d, f) {
            if (322 == a.G()) a = this.sR(a);else throw c.g.za();
            a.up = b;
            a.pB = d;
            a.nr = 0;
            a.iY(f);
            return a;
          };

          e.prototype.sR = function (a) {
            var b;
            0 < this.cp.length ? (b = this.cp[this.cp.length - 1], this.cp.length = this.cp.length - 1, a.copyTo(b.Le)) : (b = new n(), b.Le = c.dE.oe(a));
            return b;
          };

          e.prototype.WB = function (a) {
            322 == a.Le.G() && this.cp.push(a);
          };

          e.prototype.aW = function () {
            for (var a = this.Y.D(), b = new c.ia(0), d = 0; d < a; d++) b.add(d);

            var f = this;
            b.Gd(0, a, function (a, b) {
              return f.Cv(a, b);
            });

            for (d = 1; d < a; d++) if (0 == this.Cv(b.get(d - 1), b.get(d))) return this.ve = new c.$d(3, b.get(d - 1), b.get(d)), 0;

            return 2;
          };

          e.prototype.KW = function () {
            return this.OF() ? this.NF(!0) ? 2 : 0 : 0;
          };

          e.prototype.IW = function () {
            return this.BA();
          };

          e.prototype.bW = function () {
            for (var a = this.Y.D(), b = new c.ia(0), d = 0; d < a; d++) b.add(d);

            var f = this;
            b.Gd(0, a, function (a, b) {
              return f.TQ(a, b);
            });
            var e = Array(a);
            c.J.Nv(e, !1);
            e[b.get(0)] = !0;

            for (d = 1; d < a; d++) {
              var h = b.get(d - 1),
                  g = b.get(d);
              0 == this.Cv(h, g) ? e[g] = !1 : e[g] = !0;
            }

            for (var b = this.Y.Ka(), h = this.Y, g = 0, n = 1, d = 0; d < a; d++) e[d] ? n = d + 1 : (g < n && b.Id(h, g, n), g = d + 1);

            g < n && b.Id(h, g, n);
            b.Zg(2, this.pp);
            return b;
          };

          e.prototype.LW = function () {
            var a = this.Y,
                b = a.Fa(),
                d = a.Fa(),
                f = this.Y.Ka(),
                e = this.Y,
                h = a.hasAttribute(1),
                g = h ? c.na.GF(this.mh, a, !0) : 0,
                n = new c.ia(0),
                r = new c.ia(0);
            n.yb(c.J.truncate(a.D() / 2 + 1));

            for (r.yb(c.J.truncate(a.D() / 2 + 1)); b.Ya();) if (d.Ya(), !(2 > a.La(b.Ta))) {
              d.BX();

              for (var v, x, B = !0; b.Ea();) {
                var y = b.ba(),
                    A = d.Li();
                if (b.Db() > d.Db()) break;
                B && (n.add(b.Db()), r.add(d.Jk()), B = !1);
                x = n.Fc();
                var C = b.Jk();

                if (1 < C - x) {
                  var D = new c.b();
                  D.zc(a.Ba(x), a.Ba(C));
                  v = D.length();
                } else v = y.Rb();

                x = r.Fc();
                C = d.Db();
                1 < C - x ? (D = new c.b(), D.zc(a.Ba(x), a.Ba(C)), x = D.length()) : x = A.Rb();
                v > this.pp ? n.add(b.Jk()) : h && (v = a.Yc(1, n.Fc(), 0), y = y.Os(1, 0), Math.abs(y - v) > g && n.add(b.Jk()));
                x > this.pp ? r.add(d.Db()) : h && (v = a.Yc(1, r.Fc(), 0), y = A.Os(1, 0), Math.abs(y - v) > g && r.add(d.Db()));
              }

              n.Fc() < r.Fc() ? n.size > r.size ? n.Pf() : r.Pf() : (n.Fc() != r.Fc() && r.Pf(), r.Pf());

              if (2 <= r.size + n.size) {
                B = new c.Wa();
                A = 0;

                for (y = n.size; A < y; A++) e.Ae(n.get(A), B), 0 == A ? f.Rf(B) : f.lineTo(B);

                for (A = r.size - 1; 0 < A; A--) e.Ae(r.get(A), B), f.lineTo(B);

                e.Qb(b.Ta) ? f.sq() : 0 < r.size && (e.Ae(r.get(0), B), f.lineTo(B));
              }

              null != n && n.clear(!1);
              null != r && r.clear(!1);
            }

            f.Zg(2, this.pp);
            return f;
          };

          e.prototype.JW = function () {
            return this.yY();
          };

          e.prototype.yY = function () {
            if (1736 == this.Y.G() && 1 == this.Y.xo()) return c.Dg.ol(this.Y, this.pp, !0, !1, this.ke);
            this.gj = new c.fd();
            this.gj.Jb(this.Y);
            0 != this.gj.vd && (1 != this.eB && c.sk.V(this.gj, this.pp, this.ke, !0), 1736 == this.Y.G() && c.lo.V(this.gj, this.gj.sd, this.eB, !1, this.ke));
            this.Y = this.gj.Se(this.gj.sd);
            1736 == this.Y.G() && (this.Y.Al(), this.Y.Hp(0));
            this.Y.Zg(2, this.pp);
            return this.Y;
          };

          e.tc = function (a, b, d) {
            if (a.u()) return 1;
            var f = a.G();
            if (33 == f) return 1;
            if (197 == f) return d = new c.h(), a.s(d), d.fh(c.na.ah(b, a, !1)) ? 0 : 1;
            if (c.T.Oc(f)) throw c.g.za();
            if (!c.T.gh(f)) throw c.g.za();
            var f = c.na.ah(b, a, !1),
                g = a.Lk(f);
            d = d ? -1 : g;
            if (-1 != d) return d;
            1 == d && (f = 0);
            d = new e(a, b, d, 0, !1).BA();
            a.Zg(d, f);
            return d;
          };

          e.Wq = function (a, b, d, f, g) {
            null != f && (f.Ii = 0, f.lm = -1, f.mm = -1);
            if (a.u()) return 1;
            var q = a.G();
            if (33 == q) return 1;
            var n = c.na.ah(b, a, !1);
            if (197 == q) return b = new c.h(), a.s(b), b.fh(n) ? (null != f && (f.Ii = 2, f.lm = -1, f.mm = -1), 0) : 1;
            if (c.T.Oc(q)) return n = new c.Ua(a.description), n.dc(a, !0), e.Wq(n, b, d, f, g);
            g = a.Lk(n);
            d = d ? -1 : g;
            if (-1 != d) return d;
            b = new e(a, b, d, 0, !1);
            if (550 == q) d = b.aW();else if (1607 == q) d = b.KW();else if (1736 == q) d = b.IW();else throw c.g.za();
            a.Zg(d, n);
            null != f && 0 == d && f.ms(b.ve);
            return d;
          };

          e.Bb = function (a, b, d, f, g) {
            null != f && (f.Ii = 0, f.lm = -1, f.mm = -1);
            if (a.u()) return 1;
            var q = a.G();
            if (33 == q) return 1;
            var n = c.na.ah(b, a, !1);
            if (197 == q) return b = new c.h(), a.s(b), b.fh(n) ? (null != f && (f.Ii = 2, f.lm = -1, f.mm = -1), 0) : 1;
            if (c.T.Oc(q)) return q = new c.Ua(a.description), q.dc(a, !0), e.Wq(q, b, d, f, g);
            a = new e(a, b, -1, 0, !0);
            if (550 == q || 1607 == q || 1736 == q) b = a.BA();else throw c.g.za();
            null != f && f.ms(a.ve);
            return b;
          };

          e.TK = function (a, b, d, f) {
            if (a.u()) return a;
            var g = a.G();
            if (33 == g) return a;
            var q = c.na.ah(b, a, !1);
            if (197 == g) return b = new c.h(), a.s(b), b.fh(q) ? a.Ka() : a;
            if (c.T.Oc(g)) return g = new c.Ua(a.description), g.dc(a, !0), e.TK(g, b, d, f);
            f = a.Lk(q);
            d = d ? -1 : f;
            if (2 == d) return a;
            a = new e(a, b, d, 0, !1);
            if (550 == g) a = a.bW();else if (1607 == g) a = a.LW();else if (1736 == g) a = a.JW();else throw c.g.za();
            return a;
          };

          e.EC = function (a, b, d, f) {
            if (a.u()) return a;
            var g = a.G();
            if (33 == g) return a;
            var q = c.na.ah(b, a, !1);
            if (197 == g) return b = new c.h(), a.s(b), b.fh(q) ? a.Ka() : a;
            if (c.T.Oc(g)) return q = new c.Ua(a.description), q.dc(a, !0), e.EC(q, b, d, f);
            if (!c.T.gh(g)) throw c.g.X("OGC simplify is not implemented for this geometry type " + g);
            return c.Dg.EC(a, q, !1, f);
          };

          e.prototype.ki = function (a, b, d) {
            if (a == b) return 0;
            a = this.Gi.get(a);
            var f = this.Gi.get(b);
            b = a >> 1;
            var e = f >> 1,
                h = new c.b(),
                g = new c.b();
            this.Nf.fc(2 * b, h);
            h.y += 0 != (a & 1) ? this.hk : -this.hk;
            this.Nf.fc(2 * e, g);
            g.y += 0 != (f & 1) ? this.hk : -this.hk;
            a = h.compare(g);
            return 0 == a && d ? (d = this.im.get(b) - this.im.get(e), 0 > d ? -1 : 0 < d ? 1 : 0) : a;
          };

          e.prototype.Cv = function (a, b) {
            if (a == b) return 0;
            var d = this.Y,
                f = d.Ba(a),
                e = d.Ba(b);
            if (f.x < e.x) return -1;
            if (f.x > e.x) return 1;
            if (f.y < e.y) return -1;
            if (f.y > e.y) return 1;

            for (f = 1; f < this.qV; f++) for (var e = this.zI.rd(f), h = c.ma.Xa(e), g = 0; g < h; g++) {
              var n = d.Yc(e, a, g),
                  r = d.Yc(e, b, g);
              if (n < r) return -1;
              if (n > r) return 1;
            }

            return 0;
          };

          e.prototype.TQ = function (a, b) {
            var d = this.Cv(a, b);
            return 0 == d ? a < b ? -1 : 1 : d;
          };

          e.prototype.VR = function (a, b) {
            if (a === b) return 0;
            var d = a.Le.Eg(a.fn() ? 1 : 0);
            a.fn() && d.Lr();
            var f = b.Le.Eg(b.fn() ? 1 : 0);
            b.fn() && f.Lr();
            var c = d.$u(),
                e = f.$u();
            return e == c ? (c = d.Ui(f), Math.abs(c) <= 8.881784197001252E-16 * (Math.abs(f.x * d.y) + Math.abs(f.y * d.x)) && (c--, c++), 0 > c ? 1 : 0 < c ? -1 : 0) : c < e ? -1 : 1;
          };

          return e;
        }();

        c.ty = e;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 30;
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.prototype.V = function (a, b, f, e) {
            return a instanceof c.T ? (a = new c.hd(a), b = new c.hd(b), this.V(a, b, f, e).next()) : new c.sN(a, b, f, e);
          };

          b.Pp = function (a, d, f, e) {
            var h = a.tb(),
                l = d.tb();
            if (a.u() && d.u()) return h > l ? a : d;
            if (a.u()) return d;
            if (d.u()) return a;
            var g = new c.h(),
                m = new c.h(),
                n = new c.h();
            a.s(g);
            d.s(m);
            n.I(g);
            n.Nb(m);
            g = c.na.be(f, n, !0);
            m = a.G();
            n = d.G();
            return 33 == m && 33 == n ? b.oO(a, d, g) : m != n ? 0 < h || 0 < l ? h > l ? a : d : 550 == m ? b.XJ(a, d, g) : b.XJ(d, a, g) : c.Dg.Pp(a, d, f, e);
          };

          b.oO = function (a, b, f) {
            f = f * Math.sqrt(2) * 1.00001;
            f *= f;
            var e = a.w(),
                h = b.w(),
                l = new c.Ed(a.description);
            c.b.sc(e, h) > f && (l.add(a), l.add(b));
            return l;
          };

          b.XJ = function (a, b, f) {
            var e = a.Pa(0),
                h = a.D(),
                l = b.w(),
                g = a.Ka();
            f = f * Math.sqrt(2) * 1.00001;
            var m = new c.h();
            a.s(m);
            m.O(f, f);

            if (m.contains(l)) {
              f *= f;

              for (var m = !1, n = [], p = 0; p < h; p++) n[p] = !1;

              for (p = 0; p < h; p++) {
                var q = e.read(2 * p),
                    t = e.read(2 * p + 1),
                    q = q - l.x,
                    t = t - l.y;
                q * q + t * t <= f && (m = !0, n[p] = !0);
              }

              if (m) for (p = 0; p < h; p++) n[p] || g.Id(a, p, p + 1);else g.Id(a, 0, h), g.add(b);
            } else g.Id(a, 0, h), g.add(b);

            return g;
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.uy = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d, f) {
            this.ot = null == a;
            this.Ca = -1;
            this.ie = b;
            this.Rg = d;
            this.MV = a.next();
            this.lc = f;
          }

          g.prototype.next = function () {
            if (this.ot) return null;
            var b;
            return null != (b = this.ie.next()) ? (this.Ca = this.ie.Ia(), c.uy.Pp(b, this.MV, this.Rg, this.lc)) : null;
          };

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.sN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a() {}

          a.prototype.kw = function () {
            this.Iz = null;
            this.gy = -1;
            this.rL = !1;
          };

          return a;
        }(),
            g = function () {
          function a() {
            this.Es = 0;
            this.Pj = [];
          }

          a.prototype.qP = function (a) {
            this.Es += a.gy;
            this.Pj.push(a);
          };

          a.prototype.MW = function () {
            this.Es -= this.Pj[this.Pj.length - 1].gy;
            this.Pj.length = this.Pj.length - 1;
          };

          a.prototype.Ty = function () {
            return this.Pj[this.Pj.length - 1];
          };

          a.prototype.Eb = function (a) {
            return a === this;
          };

          return a;
        }(),
            b = function () {
          function a(a, b, c) {
            this.Ca = -1;
            this.Pc = !1;
            this.QI = [!1, !1, !1, !1];
            this.jr = [0, 0, 0, 0];
            this.TA = !1;
            this.bl = -1;
            this.Yq = 0;
            this.Ro = -1;
            this.rp = [];
            this.ie = a;
            this.Rg = b;
            this.lc = c;
          }

          a.tc = function (a) {
            var b = [],
                c;

            for (c in a) b.push(Number(c));

            b.sort(function (a, b) {
              return a - b;
            });
            return b;
          };

          a.prototype.sH = function (b) {
            var f = this.rp[b],
                e = a.tc(f)[0],
                h = f[e],
                l = h.Ty().Iz,
                h = h.Ty().rL;
            delete f[e];
            h && (l = c.Km.local().V(l, this.Rg, !1, this.lc), 0 == b && 33 == l.G() && (b = new c.Ed(l.description), l.u() || b.add(l), l = b));
            return l;
          };

          a.prototype.next = function () {
            if (this.Pc && this.Ro == this.bl) return null;

            for (; !this.cL(););

            if (-1 == this.bl) return null;

            if (this.TA) {
              for (this.Ro++;;) {
                if (this.Ro > this.bl || 0 > this.Ro) throw c.g.za();
                if (this.QI[this.Ro]) break;
              }

              this.Ca++;
              return this.sH(this.Ro);
            }

            this.Ca = 0;
            this.Ro = this.bl;
            return this.sH(this.bl);
          };

          a.prototype.Ia = function () {
            return this.Ca;
          };

          a.prototype.cL = function () {
            if (this.Pc) return !0;
            var a = null;
            null != this.ie && (a = this.ie.next(), null == a && (this.Pc = !0, this.ie = null));

            if (null != a) {
              var b = a.tb();
              this.QI[b] = !0;
              b >= this.bl && !this.TA && (this.dF(b, !1, a), b > this.bl && !this.TA && this.xX(b));
            }

            if (0 < this.Yq) for (b = 0; b <= this.bl; b++) for (; 1 < this.jr[b];) if (a = this.JQ(b), 0 != a.length) a = c.Dg.SR(a, this.Rg, this.lc), this.dF(b, !0, a);else break;
            return this.Pc;
          };

          a.prototype.JQ = function (b) {
            for (var f = [], c = [], h = this.rp[b], l = a.tc(h), g = 0; g < l.length; g++) {
              var m = l[g],
                  n = h[m];

              if (this.Pc || 1E4 < n.Es && 1 < n.Pj.length) {
                this.jr[b] -= n.Pj.length;

                for (this.Yq -= n.Pj.length; 0 < n.Pj.length;) f.push(n.Ty().Iz), n.MW();

                c.push(m);
              }
            }

            for (g = 0; g < c.length; g++) delete h[c[g]];

            return f;
          };

          a.prototype.xX = function (a) {
            for (var b = 0; b < a; b++) this.rp[b] = [], this.Yq -= this.jr[b], this.jr[b] = 0;
          };

          a.prototype.dF = function (b, f, c) {
            var h = new n();
            h.kw();
            h.Iz = c;
            c = a.Mg(c);
            h.gy = c;
            c = a.We(c);
            if (b + 1 > this.rp.length) for (var l = 0, k = Math.max(2, b + 1); l < k; l++) this.rp.push([]);
            l = this.rp[b][c];
            void 0 === l && (l = new g(), this.rp[b][c] = l);
            h.rL = f;
            l.qP(h);
            this.jr[b]++;
            this.Yq++;
            this.bl = Math.max(this.bl, b);
          };

          a.We = function (a) {
            return 0 < a ? c.J.truncate(Math.log(a) / Math.log(4) + .5) : 0;
          };

          a.Mg = function (a) {
            var b = a.G();
            if (c.T.gh(b)) return a.D();
            if (33 == b) return 1;
            if (197 == b) return 4;
            if (c.T.Oc(b)) return 2;
            throw c.g.za();
          };

          a.prototype.Re = function () {
            return this.cL();
          };

          return a;
        }();

        c.uN = b;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
          }

          O(b, g);

          b.prototype.G = function () {
            return 1;
          };

          b.prototype.V = function (a, b, f, e) {
            return void 0 === e ? new c.uN(a, b, f) : this.aS(a, b, f, e);
          };

          b.prototype.aS = function (a, b, f, e) {
            a = new c.hd([a, b]);
            return this.V(a, f, e).next();
          };

          b.local = function () {
            null === b.$ && (b.$ = new b());
            return b.$;
          };

          b.$ = null;
          return b;
        }(c.ef);

        c.ei = n;
      })(r || (r = {}));

      (function (c) {
        var n;

        (function (c) {
          c[c.nextPath = 0] = "nextPath";
          c[c.nextSegment = 1] = "nextSegment";
          c[c.iterate = 2] = "iterate";
        })(n || (n = {}));

        n = function () {
          function g(b, a, d, f) {
            this.Ot = new c.h();
            this.FV = b;
            this.GV = a;
            this.br = f;
            this.ip = -1;
            this.Vl = !1;
            var e = b.ob;
            null != e && (e = f ? e.np : e.Mb, null != e && (this.Pc = !1, this.ta = d, this.Mb = e, this.lx = this.Mb.mf(), this.cr = this.Vl = !0, this.Zb = 0, f ? this.ip = a.aa() : this.Cd = a.Fa()));
            this.Vl || (e = a.ob, null != e && (e = f ? e.np : e.Mb, null != e && (this.Pc = !1, this.ta = d, this.Mb = e, this.lx = this.Mb.mf(), this.Vl = !0, this.cr = !1, this.Zb = 0, f ? this.ip = b.aa() : this.Cd = b.Fa())));
            this.Vl || (this.Ci = f ? c.na.eT(b, a, d, 1 <= b.Lk(0), 1 <= a.Lk(0)) : c.na.dT(b, a, d));
          }

          g.prototype.next = function () {
            if (this.Vl) {
              if (this.Pc) return !1;

              for (var b = !0; b;) switch (this.Zb) {
                case 0:
                  b = this.iW();
                  break;

                case 1:
                  b = this.jW();
                  break;

                case 2:
                  b = this.DA();
                  break;

                default:
                  throw c.g.X("internal error");
              }

              return this.Pc ? !1 : !0;
            }

            return null == this.Ci ? !1 : this.Ci.next();
          };

          g.prototype.Ql = function () {
            return this.Vl ? this.cr ? this.Mb.ja(this.Bt) : this.br ? this.ip : this.Cd.Db() : this.Ci.Ql(this.Ci.sg);
          };

          g.prototype.Ml = function () {
            return this.Vl ? this.cr ? this.br ? this.ip : this.Cd.Db() : this.Mb.ja(this.Bt) : this.Ci.Ml(this.Ci.bg);
          };

          g.prototype.fA = function () {
            if (!this.br) throw c.g.X("internal error");
            return this.Vl ? this.cr ? this.Mb.RG(this.Bt) : this.Ot : this.Ci.fA(this.Ci.sg);
          };

          g.prototype.Jz = function () {
            if (!this.br) throw c.g.X("internal error");
            return this.Vl ? this.cr ? this.Ot : this.Mb.RG(this.Bt) : this.Ci.Jz(this.Ci.bg);
          };

          g.prototype.iW = function () {
            if (!this.br) {
              if (!this.Cd.Ya()) return this.Pc = !0, !1;
              this.Zb = 1;
              return !0;
            }

            if (-1 == --this.ip) return this.Pc = !0, !1;
            this.cr ? this.GV.jk(this.ip, this.Ot) : this.FV.jk(this.ip, this.Ot);
            this.lx.Ni(this.Ot, this.ta);
            this.Zb = 2;
            return !0;
          };

          g.prototype.jW = function () {
            if (!this.Cd.Ea()) return this.Zb = 0, !0;
            var b = this.Cd.ba();
            this.lx.Wn(b, this.ta);
            this.Zb = 2;
            return !0;
          };

          g.prototype.DA = function () {
            this.Bt = this.lx.next();
            return -1 == this.Bt ? (this.Zb = this.br ? 0 : 1, !0) : !1;
          };

          return g;
        }();

        c.Lm = n;
      })(r || (r = {}));

      (function (c) {
        c = c.CN || (c.CN = {});
        c[c.enumClosed = 1] = "enumClosed";
        c[c.enumHasNonlinearSegments = 2] = "enumHasNonlinearSegments";
        c[c.enumOGCStartPolygon = 4] = "enumOGCStartPolygon";
        c[c.enumCalcMask = 4] = "enumCalcMask";
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.Cb = function (b, a, d, f, e, h, l, k, m) {
            var n = [0, 0, 0],
                p = [0, 0, 0],
                q = [0, 0, 0],
                t = [0, 0, 0, 0],
                u = new c.ea(0),
                r = new c.ea(0),
                v = new c.ea(0);
            if (null != l || null != k || null != m) if (c.l.Qi(a)) c.vh.Cb(b, d, f, e, h, l, k, m);else {
              e = c.C.da(e);
              d = c.C.da(d);
              var x = c.C.da(e - d);
              if (c.l.W(f, h) && (c.l.W(d, e) || c.l.W(c.l.K(f), 1.570796326794897))) null != l && (l.j = 0), null != k && (k.j = 0), null != m && (m.j = 0);else {
                if (c.l.W(f, -h)) {
                  if (c.l.W(c.l.K(f), 1.570796326794897)) {
                    null != l && (l.j = 2 * c.C.Yg(b, a));
                    null != k && (k.j = 0 < f ? c.C.da(3.141592653589793 - c.C.da(e)) : c.C.da(e));
                    null != m && (m.j = 0 < f ? c.C.da(e) : c.C.da(3.141592653589793 - c.C.da(e)));
                    return;
                  }

                  c.l.W(c.l.K(x), 3.141592653589793) && (null != l && (l.j = 2 * c.C.Yg(b, a)), null != k && (k.j = 0), null != m && (m.j = 0));
                } else {
                  if (c.l.W(c.l.K(f), 1.570796326794897) || c.l.W(c.l.K(h), 1.570796326794897)) {
                    c.yl.Cb(b, a, d, f, e, h, l, k, m);
                    return;
                  }

                  if (c.l.W(d, e) || c.l.W(c.l.K(x), 3.141592653589793)) {
                    c.yl.Cb(b, a, d, f, e, h, l, k, m);
                    return;
                  }

                  if (c.l.xd(f)) {
                    c.yl.Cb(b, a, d, f, e, h, l, k, m);
                    return;
                  }
                }

                var B = Math.sqrt(1 - a);
                e = c.C.da(e - d);
                d = 0;
                c.C.Dk(1, a, f, d, 0, u, r, v);
                n[0] = u.j;
                n[1] = r.j;
                n[2] = v.j;
                c.C.Dk(1, a, h, e, 0, u, r, v);
                p[0] = u.j;
                p[1] = r.j;
                p[2] = v.j;
                q[0] = 0;
                q[1] = 0;
                q[2] = -1 * a * c.C.n(1, a, f) * Math.sin(f);
                0 > e ? c.C.Or(q, p, n, t, 0) : c.C.Or(q, n, p, t, 0);

                for (var r = [0, 0, 0], v = [0, 0, 0], y = [0, 0, 0], n = [0, 0, 0], u = [0, 0, 0], A = Math.acos(t[2] / 1), C = 1 - a, D = Math.tan(A), E = 1 + D * D / C, F = 2 * q[2] * D / C, D = Math.sqrt(F * F - 4 * E * (q[2] * q[2] / C - 1)), E = 2 * E, C = (-F + D) / E, F = (-F - D) / E, D = Math.tan(A), E = D * C + q[2], A = (C + F) / 2, q = (E + (D * F + q[2])) / 2, D = c.C.Sp(C - A, E - q), C = q / B * 1.570796326794897, F = 0; 100 > F; F++) {
                  E = c.C.Cm(a, C);
                  E = E * E / Math.cos(C) * (Math.sin(C) - q * E / (1 * (1 - a)));
                  if (c.l.xd(E)) break;
                  C -= E;
                }

                var q = c.C.n(1, a, C) * Math.cos(C),
                    q = Math.sqrt((q - A) * (q + A)),
                    D = 1 - D / q,
                    D = D * (2 - D),
                    E = c.C.eo(r),
                    A = c.C.eo(v),
                    C = c.C.eo(y),
                    G = c.C.Eu(y, r),
                    F = c.C.Eu(y, v);
                c.C.fy(y, r, n);
                c.C.fy(y, v, u);
                r = Math.acos(G / (C * E));
                v = Math.acos(F / (C * A));
                v *= c.l.Ab(1, c.C.Eu(n, u));
                if (1.570796326794897 <= c.l.K(r) && 1.570796326794897 <= c.l.K(v) || 3.141592653589793 < c.l.K(r - v)) r = (3.141592653589793 - c.l.K(r)) * c.l.Ab(1, r), v = (3.141592653589793 - c.l.K(v)) * c.l.Ab(1, v);
                n = c.C.ik(D, v);
                u = c.C.q(q, D, c.C.ik(D, r));
                n = c.C.q(q, D, n);
                n = c.l.K(n - u) * b;
                r = new c.ea(0);
                v = new c.ea(0);
                y = t[1] / 1;
                y *= -c.l.Ab(1, x);
                u = Math.acos(y) * c.l.Ab(1, x);
                g.Uf(b, a, d, f, n, u, r, v);
                c.l.W(e, r.j) && c.l.W(h, v.j) || (D = c.C.Sp(c.C.da(e - r.j), h - v.j), g.Uf(b, a, d, f, n, c.C.da(u + 3.141592653589793), r, v), E = c.C.Sp(c.C.da(e - r.j), h - v.j), E < D && (u = c.C.da(u + 3.141592653589793)));
                r = [0, 0, 0, 0];
                v = [0, 0, 0, 0];
                q = [0, 0, 0];
                D = [0, 0, 0];
                b = [0, 0, 0];
                d = [0, 0, 0];
                f = [0, 0, 0];
                y = [0, 0, 0];
                q[0] = 0;
                q[1] = 0;
                q[2] = B;
                D[0] = 0;
                D[1] = 0;
                D[2] = 0;
                c.C.Or(D, q, p, r, 0);
                c.l.xd(h) ? (b[0] = p[0], b[1] = p[1], b[2] = 1, d[0] = 1 * Math.cos(e) - 1 * Math.sin(e), d[1] = 1 * Math.sin(e) + 1 * Math.cos(e)) : (a = c.C.n(1, a, h) * Math.cos(h), b[0] = 0, b[1] = 0, p[2] += Math.tan(1.570796326794897 - c.l.K(h)) * a * c.l.Ab(1, h), d[0] = a * Math.cos(e) - a * Math.sin(e), d[1] = a * Math.sin(e) + a * Math.cos(e));
                d[2] = p[2];
                c.C.Or(p, d, b, v, 1);
                c.C.fy(v, r, f);
                c.C.fy(v, t, y);
                y = c.C.Eu(f, y) / (c.C.eo(f) * c.C.eo(y));
                y *= c.l.Ab(1, x);
                e = Math.acos(y) * -c.l.Ab(1, x);
                0 < u && 0 < e ? e = c.C.da(e + 3.141592653589793) : 0 > u && 0 > e && (e = c.C.da(e + 3.141592653589793));
                null != l && (l.j = n);
                null != k && (k.j = u);
                null != m && (m.j = e);
              }
            }
          };

          g.Uf = function (b, a, d, f, e, h, l, g) {
            var m = [0, 0, 0],
                n = [0, 0, 0],
                p = [0, 0, 0],
                q = [0, 0, 0],
                t = [0, 0, 0],
                u = [0, 0, 0],
                r = [0, 0, 0],
                v = [0, 0, 0, 0],
                x = new c.ea(0),
                B = new c.ea(0),
                y = new c.ea(0),
                A = new c.ea(0),
                C = new c.ea(0),
                D = new c.ea(0);
            if (null != l && null != g) if (c.l.Qi(a)) c.vh.Uf(b, d, f, e, h, l, g);else if (c.l.xd(e)) null != l && (l.j = d), null != g && (g.j = f);else if (h = c.C.da(h), 0 > e && (e = c.l.K(e), h = c.C.da(h + 3.141592653589793)), d = c.C.da(d), f = c.C.da(f), 1.570796326794897 < c.l.K(f) && (d = c.C.da(d + 3.141592653589793), f = c.l.Ab(3.141592653589793, f) - f), c.l.W(c.l.K(f), 1.570796326794897) || c.l.xd(f) || c.l.xd(h) || c.l.W(c.l.K(h), 3.141592653589793)) c.yl.Uf(b, a, d, f, e, h, l, g);else {
              var E = Math.sqrt(1 - a);
              b = e / b;
              c.C.Dk(1, a, f, 0, 0, A, C, D);
              m[0] = A.j;
              m[1] = C.j;
              m[2] = C.j;
              r[0] = 0;
              r[1] = 0;
              r[2] = -1 * a * c.C.n(1, a, f) * Math.sin(f);
              A = c.C.n(1, a, f);
              C = c.C.da(1.570796326794897 - h);
              D = Math.sin(C);
              e = Math.cos(f);
              f = Math.sin(f);
              t[0] = A * e - f * D;
              t[1] = Math.cos(C);
              t[2] = (1 - a) * A * f + e * D;
              0 > h ? c.C.Or(r, t, m, v, 0) : c.C.Or(r, m, t, v, 0);
              m = Math.acos(v[2] / 1);
              v = Math.atan2(-v[1], -v[0]);
              f = 1 - a;
              t = Math.tan(m);
              C = 1 + t * t / f;
              A = 2 * r[2] * t / f;
              t = Math.sqrt(A * A - 4 * C * (r[2] * r[2] / f - 1));
              C *= 2;
              f = (-A + t) / C;
              A = (-A - t) / C;
              t = Math.tan(m);
              C = t * f + r[2];
              m = (f + A) / 2;
              r = (C + (t * A + r[2])) / 2;
              t = c.C.Sp(f - m, C - r);
              E = r / E * 1.570796326794897;

              for (f = 0; 100 > f; f++) {
                A = c.C.Cm(a, E);
                A = A * A / Math.cos(E) * (Math.sin(E) - r * A / (1 * (1 - a)));
                if (c.l.xd(A)) break;
                E -= A;
              }

              E = c.C.n(1, a, E) * Math.cos(E);
              E = Math.sqrt((E - m) * (E + m));
              r = 1 - t / E;
              r *= 2 - r;
              u = Math.acos(c.C.Eu(u, n) / (c.C.eo(u) * c.C.eo(n)));
              u *= c.l.Ab(1, n[0]);
              h = (c.C.q(E, r, c.C.ik(r, u)) + b * c.l.Ab(1, h)) / c.C.Yg(E, r);
              h = c.C.da(1.570796326794897 * h);
              h = c.C.xp(r, h);
              c.C.n(E, r, h);
              t = c.C.da(v + d);
              d = Math.cos(t);
              h = Math.sin(t);
              p[0] = q[0] * d + q[1] * -h;
              p[1] = q[0] * h + q[1] * d;
              p[2] = q[2];
              c.C.kQ(a, p[0], p[1], p[2], y, B, x);
              null != l && (l.j = B.j);
              null != g && (g.j = y.j);
            }
          };

          return g;
        }();

        c.WD = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a(b) {
            this.ab = null;
            this.mu = new c.b();
            this.nu = new c.b();
            this.a = b;
          }

          a.prototype.compare = function (a, b, d) {
            this.a.Nc(b, this.mu);
            this.a.Nc(a.ja(d), this.nu);
            return this.mu.compare(this.nu);
          };

          return a;
        }(),
            g = function () {
          function a(b) {
            this.cg = new c.b();
            this.fl = new c.b();
            this.a = b;
          }

          a.prototype.Yh = function (a) {
            this.cg.L(a);
          };

          a.prototype.compare = function (a, b) {
            this.a.Nc(a.ja(b), this.fl);
            return this.cg.compare(this.fl);
          };

          return a;
        }(),
            b = function (a) {
          function b(d) {
            a.call(this, d.a, d.ta, !1);
            this.bb = d;
          }

          O(b, a);

          b.prototype.compare = function (a, b, d) {
            if (this.Ng) return -1;
            var f = this.bb.he.yo(this.bb.ri(b));
            a = a.ja(d);
            var c = this.bb.he.yo(this.bb.ri(a));
            this.rn = d;
            return this.YF(b, f, a, c);
          };

          return b;
        }(c.gE),
            a = function (a) {
          function b(d) {
            a.call(this, d.a, d.ta);
            this.bb = d;
          }

          O(b, a);

          b.prototype.compare = function (a, b) {
            if (this.Ng) return -1;
            var d = this.bb.he.yo(this.bb.ri(a.ja(b)));
            this.rn = b;
            return this.ZF(b, d);
          };

          return b;
        }(c.bO),
            d = function () {
          function d() {
            this.Tc = this.Hf = this.Xo = this.he = this.Gh = this.Od = this.ib = this.a = null;
            this.ih = !1;
            this.Th = this.An = this.Fe = this.hl = this.Ih = this.cl = this.gg = this.we = null;
            this.Vh = this.zr = this.BB = this.ta = 0;
            this.Kw = this.Lo = !1;
            this.mp = new c.b();
            this.oj = new c.b();
            this.ib = new c.ad(8);
            this.Od = new c.ad(5);
            this.Gh = new c.Lu();
            this.he = new c.Lu();
            this.ih = !1;
            this.Th = new c.b();
            this.Th.ka(0, 0);
            this.ta = 0;
            this.Vh = -1;
            this.Lo = !1;
            this.a = null;
            this.Hf = new c.uk();
            this.Tc = new c.uk();
            this.Ih = new c.ia(0);
            this.hl = new c.eE();
            this.gg = new c.ia(0);
            this.cl = new c.ia(0);
            this.Xo = new c.Wa();
          }

          d.prototype.JY = function (a, b) {
            var d = new c.Hd();
            d.yC();
            a.Xc(d);
            this.Yr(a);
            this.Lo = !1;
            this.ta = b;
            this.BB = b * b;
            var f = this.HC();
            a.Xc(d);
            f || (this.mS(), f || this.HC());
            -1 != this.Vh && (this.a.le(this.Vh), this.Vh = -1);
            this.a = null;
            return this.Lo;
          };

          d.prototype.NY = function (a, b) {
            this.Yr(a);
            this.Lo = !1;
            this.ta = b;
            this.BB = b * b;
            this.ih = !1;
            this.HC();
            this.ih || (this.ih = 1 == a.zq(b, !0, !1));
            -1 != this.Vh && (this.a.le(this.Vh), this.Vh = -1);
            this.a = null;
          };

          d.prototype.Jg = function (a, b) {
            return this.ib.S(a, 0 + b);
          };

          d.prototype.mC = function (a, b, d) {
            this.ib.P(a, 0 + b, d);
          };

          d.prototype.ri = function (a) {
            return this.ib.S(a, 2);
          };

          d.prototype.VX = function (a, b) {
            this.ib.P(a, 2, b);
          };

          d.prototype.cH = function (a, b) {
            return this.ib.S(a, 3 + b);
          };

          d.prototype.Jq = function (a) {
            return this.ib.S(a, 7);
          };

          d.prototype.um = function (a, b) {
            this.ib.P(a, 7, b);
          };

          d.prototype.Kq = function (a, b) {
            return this.ib.S(a, 3 + this.Iq(a, b));
          };

          d.prototype.Zr = function (a, b, d) {
            this.ib.P(a, 3 + this.Iq(a, b), d);
          };

          d.prototype.HT = function (a, b) {
            return this.ib.S(a, 5 + this.Iq(a, b));
          };

          d.prototype.as = function (a, b, d) {
            this.ib.P(a, 5 + this.Iq(a, b), d);
          };

          d.prototype.Ns = function (a) {
            return this.Od.S(a, 0);
          };

          d.prototype.SX = function (a, b) {
            this.Od.P(a, 0, b);
          };

          d.prototype.Nz = function (a) {
            return this.Od.S(a, 4);
          };

          d.prototype.Vr = function (a, b) {
            this.Od.P(a, 4, b);
          };

          d.prototype.Nl = function (a) {
            return this.Od.S(a, 1);
          };

          d.prototype.ao = function (a, b) {
            this.Od.P(a, 1, b);
          };

          d.prototype.Mz = function (a) {
            return this.Od.S(a, 3);
          };

          d.prototype.tu = function (a, b) {
            this.Od.P(a, 3, b);
          };

          d.prototype.Mn = function (a) {
            var b = this.Od.Pe(),
                d = this.Gh.mi();
            this.SX(b, d);
            -1 != a ? (this.Gh.addElement(d, a), this.a.Va(a, this.Vh, b), this.Vr(b, this.a.Za(a))) : this.Vr(b, -1);
            return b;
          };

          d.prototype.ER = function (a) {
            this.Od.kd(a);
          };

          d.prototype.bF = function (a, b) {
            this.Gh.addElement(this.Ns(a), b);
            this.a.Va(b, this.Vh, a);
          };

          d.prototype.cu = function (a) {
            var b = this.ib.Pe(),
                d = this.he.mi();
            this.VX(b, d);
            -1 != a && this.he.addElement(d, a);
            return b;
          };

          d.prototype.cF = function (a, b) {
            this.he.addElement(this.ri(a), b);
          };

          d.prototype.Jv = function (a) {
            this.ib.kd(a);
            a = this.Ih.Ov(a);
            0 <= a && this.Ih.HJ(a);
          };

          d.prototype.Jj = function (a, b) {
            if (-1 == this.Jg(a, 0)) this.mC(a, 0, b);else if (-1 == this.Jg(a, 1)) this.mC(a, 1, b);else throw c.g.za();
            this.Ry(a, b);
          };

          d.prototype.Ry = function (a, b) {
            var d = this.Nl(b);

            if (-1 != d) {
              var f = this.Kq(d, b);
              this.as(f, b, a);
              this.Zr(a, b, f);
              this.Zr(d, b, a);
              this.as(a, b, d);
            } else this.as(a, b, a), this.Zr(a, b, a), this.ao(b, a);
          };

          d.prototype.Iq = function (a, b) {
            return this.Jg(a, 0) == b ? 0 : 1;
          };

          d.prototype.Ln = function (a, b) {
            var d = this.Mz(b);
            -1 != d && (this.Hf.Kd(d, -1), this.tu(b, -1));
            var f,
                d = this.Nl(b);

            if (-1 != d) {
              var c = f = d,
                  g;

              do {
                g = !1;
                var p = this.Iq(f, b),
                    q = this.cH(f, p);

                if (this.Jg(f, p + 1 & 1) == a) {
                  this.Kv(f);
                  this.he.zh(this.ri(f));
                  this.Jv(f);

                  if (f == q) {
                    d = -1;
                    break;
                  }

                  d == f && (d = this.Nl(b), c = q, g = !0);
                }

                f = q;
              } while (f != c || g);

              if (-1 != d) {
                do p = this.Iq(f, b), q = this.cH(f, p), this.mC(f, p, a), f = q; while (f != c);

                f = this.Nl(a);
                -1 != f ? (c = this.Kq(f, a), g = this.Kq(d, a), c == f ? (this.ao(a, d), this.Ry(f, a), this.ao(a, f)) : g == d && this.Ry(d, a), this.Zr(d, a, c), this.as(c, a, d), this.Zr(f, a, g), this.as(g, a, f)) : this.ao(a, d);
              }
            }

            d = this.Ns(a);
            f = this.Ns(b);

            for (c = this.Gh.xc(f); -1 != c; c = this.Gh.nb(c)) this.a.Va(this.Gh.ja(c), this.Vh, a);

            this.Gh.mz(d, f);
            this.ER(b);
          };

          d.prototype.UV = function (a, b) {
            var d = this.Jg(a, 0),
                f = this.Jg(a, 1),
                c = this.Jg(b, 0),
                g = this.Jg(b, 1);
            this.he.mz(this.ri(a), this.ri(b));
            b == this.Nl(d) && this.ao(d, a);
            b == this.Nl(f) && this.ao(f, a);
            this.Kv(b);
            this.Jv(b);
            d == c && f == g || f == c && d == g || (this.wo(d, this.mp), this.wo(c, this.oj), this.mp.ub(this.oj) ? (d != c && this.Ln(d, c), f != g && this.Ln(f, g)) : (f != c && this.Ln(f, c), d != g && this.Ln(d, g)));
          };

          d.prototype.Kv = function (a) {
            var b = this.Jg(a, 1);
            this.mG(a, this.Jg(a, 0));
            this.mG(a, b);
          };

          d.prototype.mG = function (a, b) {
            var d = this.Kq(a, b),
                f = this.HT(a, b),
                c = this.Nl(b);
            d != a ? (this.Zr(f, b, d), this.as(d, b, f), c == a && this.ao(b, d)) : this.ao(b, -1);
          };

          d.prototype.jF = function (a, b, d) {
            var f = this.he.xc(a),
                c = this.he.ja(f);
            a = this.jf(c);
            var g = this.jf(this.a.U(c));
            this.a.bs(c, b, d, !0);

            for (f = this.he.nb(f); -1 != f; f = this.he.nb(f)) {
              var c = this.he.ja(f),
                  p = this.jf(c) == a;
              this.a.bs(c, b, d, p);
            }

            f = b.Mq(d, 0).ec();
            b = b.Mq(d, b.Rl(d) - 1).Cc();
            this.sL(a, f);
            this.sL(g, b);
          };

          d.prototype.fG = function (a, b, d) {
            var f = this.ri(a),
                c = this.Jg(a, 0),
                g = this.Jg(a, 1),
                p = this.cu(-1);
            this.Ih.add(p);
            this.um(p, -3);
            this.gg.add(p);
            this.Jj(p, c);
            a = 1;

            for (b = b.Rl(d); a < b; a++) d = this.Mn(-1), this.cl.add(d), this.gg.add(d), this.Jj(p, d), p = this.cu(-1), this.Ih.add(p), this.um(p, -3), this.gg.add(p), this.Jj(p, d);

            this.Jj(p, g);

            for (f = this.he.xc(f); -1 != f; f = this.he.nb(f)) if (g = this.he.ja(f), this.jf(g) == c) {
              a = 0;

              do 0 < a && (p = this.gg.get(a - 1), this.bF(p, g), -1 == this.Nz(p) && this.Vr(p, this.a.Za(g))), p = this.gg.get(a), a += 2, this.cF(p, g), g = this.a.U(g); while (a < this.gg.size);
            } else {
              a = this.gg.size - 1;

              do a < this.gg.size - 2 && (p = this.gg.get(a + 1), this.bF(p, g), 0 > this.Nz(p) && this.Vr(p, this.a.Za(g))), p = this.gg.get(a), a -= 2, this.cF(p, g), g = this.a.U(g); while (0 <= a);
            }

            this.gg.clear(!1);
          };

          d.prototype.jf = function (a) {
            return this.a.Sa(a, this.Vh);
          };

          d.prototype.LJ = function (a, b, d) {
            var f = this.Jg(b, 0),
                g = new c.b();
            this.wo(f, g);
            var n = new c.b(),
                p = this.Jg(b, 1);
            this.wo(p, n);
            var q = d.Rl(a),
                t = d.Mq(a, 0),
                u = new c.b();
            t.Oq(u);

            if (!g.ub(u)) {
              if (!this.ih) {
                var r = g.compare(this.Th),
                    u = u.compare(this.Th);
                0 > r * u && (this.ih = !0);
              }

              this.HG(f, this.gg);
              this.cl.add(f);
            }

            !this.ih && 1 < q && (r = g.compare(n), t = t.Cc(), g.compare(t) != r || t.compare(n) != r ? this.ih = !0 : 0 > t.compare(this.Th) && (this.ih = !0));
            t = d.Mq(a, q - 1);
            a = t.Cc();
            n.ub(a) || (this.ih || (r = n.compare(this.Th), u = a.compare(this.Th), 0 > r * u && (this.ih = !0)), this.HG(p, this.gg), this.cl.add(p));
            this.gg.add(b);
            n = 0;

            for (p = this.gg.size; n < p; n++) a = this.gg.get(n), d = this.Jq(a), c.ad.CA(d) && (this.Tc.Kd(d, -1), this.um(a, -1)), a != b && -3 != this.Jq(a) && (this.Ih.add(a), this.um(a, -3));

            this.gg.clear(!1);
          };

          d.prototype.pQ = function (a, b) {
            this.we.compare(this.Tc, this.Tc.ja(a), b);
            this.we.Ng && (this.we.Gs(), this.yG(a, b));
          };

          d.prototype.yG = function (a, b) {
            this.Lo = !0;
            var d = this.Tc.ja(a),
                f = this.Tc.ja(b),
                g,
                n;
            n = this.he.yo(this.ri(d));
            var p = this.he.yo(this.ri(f));
            g = this.a.ic(n);
            null == g && (null == this.Fe && (this.Fe = new c.Hb()), this.a.pd(n, this.Fe), g = this.Fe);
            n = this.a.ic(p);
            null == n && (null == this.An && (this.An = new c.Hb()), this.a.pd(p, this.An), n = this.An);
            this.hl.Ap(g);
            this.hl.Ap(n);
            this.hl.Ma(this.ta, !0) && (this.ih = !0);
            this.YK(d, f, -1, this.hl);
            this.hl.clear();
          };

          d.prototype.yS = function (a, b) {
            this.Lo = !0;
            var d = this.Tc.ja(b),
                f,
                g = this.he.yo(this.ri(d));
            f = this.a.ic(g);
            null == f && (null == this.Fe && (this.Fe = new c.Hb()), this.a.pd(g, this.Fe), f = this.Fe);
            g = this.NG(a);
            this.hl.Ap(f);
            this.a.wj(g, this.Xo);
            this.hl.tA(this.ta, this.Xo, !0);
            this.YK(d, -1, a, this.hl);
            this.hl.clear();
          };

          d.prototype.tU = function () {
            if (0 != this.Ih.size) for (; 0 != this.Ih.size;) {
              if (this.Ih.size > Math.max(100, this.a.vd)) {
                this.Ih.clear(!1);
                this.ih = !0;
                break;
              }

              var a = this.Ih.Fc();
              this.Ih.Pf();
              this.um(a, -1);
              -1 != this.QU(a) && this.sU(a);
              this.Ko = !1;
            }
          };

          d.prototype.sU = function (a) {
            var b;
            this.Ko ? (b = this.Tc.jv(this.$I, this.WI, a, !0), this.Ko = !1) : b = this.Tc.aF(a);
            -1 == b ? this.UV(this.Tc.ja(this.Tc.QG()), a) : (this.um(a, b), this.we.Ng && (this.we.Gs(), this.yG(this.we.rn, b)));
          };

          d.prototype.QU = function (a) {
            var b = this.Jg(a, 0);
            a = this.Jg(a, 1);
            this.wo(b, this.mp);
            this.wo(a, this.oj);
            if (c.b.sc(this.mp, this.oj) <= this.BB) return this.ih = !0, -1;
            var d = this.mp.compare(this.Th),
                f = this.oj.compare(this.Th);
            return 0 >= d && 0 < f ? a : 0 >= f && 0 < d ? b : -1;
          };

          d.prototype.kS = function () {
            var a = new c.ia(0);
            a.yb(this.a.vd);

            for (var b = this.a.Qr(), d = b.next(); -1 != d; d = b.next()) -1 != this.a.Sa(d, this.Vh) && a.add(d);

            this.a.Xx(a, a.size);
            this.lS(a);
          };

          d.prototype.lS = function (a) {
            this.Hf.clear();
            this.Hf.Qe(a.size);
            this.Hf.Ep(new n(this.a));
            var b = new c.b();
            b.$c();

            for (var d = -1, f = new c.b(), g = 0, w = a.size; g < w; g++) {
              var p = a.get(g);
              this.a.Nc(p, f);
              f.ub(b) ? (p = this.a.Sa(p, this.Vh), this.Ln(d, p)) : (d = this.jf(p), this.a.Nc(p, b), p = this.Hf.ro(p), this.tu(d, p));
            }
          };

          d.prototype.mS = function () {
            var a = new c.ia(0);
            a.yb(this.a.vd);

            for (var b = this.Hf.xc(-1); -1 != b; b = this.Hf.nb(b)) a.add(this.Hf.ja(b));

            this.Hf.clear();
            this.a.Xx(a, a.size);

            for (var b = 0, d = a.size; b < d; b++) {
              var f = a.get(b),
                  g = this.jf(f),
                  f = this.Hf.ro(f);
              this.tu(g, f);
            }
          };

          d.prototype.HG = function (a, b) {
            var d = this.Nl(a);

            if (-1 != d) {
              var f = d;

              do c.ad.CA(this.Jq(f)) && b.add(f), f = this.Kq(f, a); while (f != d);
            }
          };

          d.prototype.sL = function (a, b) {
            for (var d = this.Gh.xc(this.Ns(a)); -1 != d; d = this.Gh.nb(d)) this.a.Qf(this.Gh.ja(d), b);
          };

          d.prototype.YK = function (a, b, d, f) {
            this.Kv(a);
            -1 != b && this.Kv(b);
            this.LJ(0, a, f);
            -1 != b && this.LJ(1, b, f);
            -1 != d && (f.cg.w(this.mp), this.wo(d, this.oj), this.oj.ub(this.mp) || this.cl.add(d));
            d = 0;

            for (var c = this.cl.size; d < c; d++) {
              var g = this.cl.get(d),
                  p = this.Mz(g);
              -1 != p && (this.Hf.Kd(p, -1), this.tu(g, -1));
            }

            d = this.ri(a);
            c = -1 != b ? this.ri(b) : -1;
            this.jF(d, f, 0);
            -1 != b && this.jF(c, f, 1);
            this.fG(a, f, 0);
            -1 != b && this.fG(b, f, 1);
            this.he.zh(d);
            this.Jv(a);
            -1 != b && (this.he.zh(c), this.Jv(b));
            d = 0;

            for (c = this.cl.size; d < c; d++) g = this.cl.get(d), g == this.zr && (this.Kw = !0), p = this.Mz(g), -1 == p && (p = this.Hf.aF(this.NG(g)), -1 == p ? (a = this.jf(this.Hf.ja(this.Hf.QG())), this.Ln(a, g)) : this.tu(g, p));

            this.cl.clear(!1);
          };

          d.prototype.wo = function (a, b) {
            this.a.pH(this.Nz(a), b);
          };

          d.prototype.NG = function (a) {
            return this.Gh.yo(this.Ns(a));
          };

          d.prototype.HC = function () {
            this.Kw = !1;
            this.zr = -1;
            null == this.we && (this.Tc.Dw = !1, this.we = new b(this), this.Tc.Oo = this.we);
            var d = new c.ia(0),
                f = null,
                l = null,
                k = 0;
            this.WI = this.$I = -1;
            this.Ko = !1;

            for (var m = this.Hf.xc(-1); -1 != m;) {
              k++;
              this.Ko = !1;
              var n = this.Hf.ja(m);
              this.zr = this.jf(n);
              this.a.Nc(n, this.Th);
              this.we.QK(this.Th.y, this.Th.x);
              var p,
                  q = this.Nl(this.zr);
              p = -1 == q;

              if (!p) {
                n = q;

                do {
                  var t = this.Jq(n);
                  -1 == t ? (this.Ih.add(n), this.um(n, -3)) : -3 != t && d.add(t);
                  n = this.Kq(n, this.zr);
                } while (n != q);
              }

              if (0 < d.size) {
                this.Ko = 1 == d.size && 1 == this.Ih.size;
                p = 0;

                for (q = d.size; p < q; p++) n = this.Tc.ja(d.get(p)), this.um(n, -2);

                var u = -2,
                    r = -2;
                p = 0;

                for (q = d.size; p < q; p++) {
                  t = d.get(p);

                  if (-2 == u) {
                    var v = this.Tc.Ve(t);
                    -1 != v ? (n = this.Tc.ja(v), n = this.Jq(n), -2 != n && (u = v)) : u = -1;
                  }

                  -2 == r && (t = this.Tc.nb(t), -1 != t ? (n = this.Tc.ja(t), n = this.Jq(n), -2 != n && (r = t)) : r = -1);
                  if (-2 != u && -2 != r) break;
                }

                p = 0;

                for (q = d.size; p < q; p++) t = d.get(p), n = this.Tc.ja(t), this.Tc.Kd(t, -1), this.um(n, -1);

                d.clear(!1);
                this.$I = -1 != u ? u : -1;
                this.WI = -1 != r ? r : -1;
                -1 != u && -1 != r ? this.Ko || this.pQ(u, r) : -1 == u && -1 == r && (this.Ko = !1);
              } else p && (null == f && (f = new a(this)), f.Yh(this.Th), this.Tc.lK(f), f.Ng && (f.Gs(), this.yS(this.zr, f.rn)));

              this.tU();
              this.Kw ? (this.Kw = !1, null == l && (l = new g(this.a)), l.Yh(this.Th), m = this.Hf.lK(l)) : m = this.Hf.nb(m);
            }

            return this.Lo;
          };

          d.prototype.Yr = function (a) {
            this.a = a;
            this.Vh = this.a.Vd();
            this.ib.Qe(a.vd + 32);
            this.Od.Qe(a.vd);
            this.Gh.pu(a.vd);
            this.Gh.Vn(a.vd);
            this.he.pu(a.vd + 32);
            this.he.Vn(a.vd + 32);

            for (a = this.a.sd; -1 != a; a = this.a.Ue(a)) if (c.T.Ic(this.a.hc(a))) for (q = this.a.Pb(a); -1 != q; q = this.a.Sb(q)) {
              var b = this.a.La(q),
                  d = this.a.cb(q),
                  f = this.Mn(d),
                  g = this.cu(d);
              this.Jj(g, f);
              t = this.a.U(d);
              d = 0;

              for (b -= 2; d < b; d++) {
                var n = this.a.U(t),
                    p = this.Mn(t);
                this.Jj(g, p);
                g = this.cu(t);
                this.Jj(g, p);
                t = n;
              }

              this.a.Qb(q) ? (p = this.Mn(t), this.Jj(g, p), g = this.cu(t), this.Jj(g, p), this.Jj(g, f)) : (p = this.Mn(t), this.Jj(g, p));
            } else for (var q = this.a.Pb(a); -1 != q; q = this.a.Sb(q)) for (var t = this.a.cb(q), f = 0, b = this.a.La(q); f < b; f++) this.Mn(t), t = this.a.U(t);

            this.kS();
          };

          return d;
        }();

        c.XD = d;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b(a, d, f) {
            g.call(this);
            if (void 0 !== a) {
              if (void 0 !== f) {
                this.description = c.ye.Ig();
                var e = new c.qd();
                e.I(a, d, f);
                this.CC(e);
              } else if (void 0 !== d) this.description = c.ye.Ig(), this.rb(a, d);else if (a instanceof c.ma) this.description = a;else if (a instanceof c.b) this.description = c.ye.Ig(), this.rb(a);else if (a instanceof b) this.description = a.description, this.rb(a.Be(), a.nf()), null !== a.la && (this.la = a.la.slice(0));else throw c.g.F();
            } else this.description = c.ye.Ig();
          }

          O(b, g);

          b.prototype.w = function (a) {
            if (void 0 !== a) {
              if (this.Hc()) throw c.g.X("This operation should not be performed on an empty geometry.");
              a.ka(this.la[0], this.la[1]);
            } else {
              if (this.Hc()) throw c.g.X("This operation should not be performed on an empty geometry.");
              a = new c.b();
              a.ka(this.la[0], this.la[1]);
              return a;
            }
          };

          b.prototype.rb = function (a, b) {
            "number" === typeof a ? (this.Bc(), null == this.la && this.nq(), this.la[0] = a, this.la[1] = b) : (this.Bc(), this.rb(a.x, a.y));
          };

          b.prototype.mA = function () {
            if (this.Hc()) throw c.g.X("This operation should not be performed on an empty geometry.");
            var a = new c.qd();
            a.x = this.la[0];
            a.y = this.la[1];
            this.description.uH() ? a.z = this.la[2] : a.z = c.ma.de(1);
            return a;
          };

          b.prototype.CC = function (a) {
            this.Bc();
            var b = this.hasAttribute(1);
            b || c.ma.PH(1, a.z) || (this.Ud(1), b = !0);
            null == this.la && this.nq();
            this.la[0] = a.x;
            this.la[1] = a.y;
            b && (this.la[2] = a.z);
          };

          b.prototype.Be = function () {
            if (this.Hc()) throw c.g.X("This operation should not be performed on an empty geometry.");
            return this.la[0];
          };

          b.prototype.BC = function (a) {
            this.setAttribute(0, 0, a);
          };

          b.prototype.nf = function () {
            if (this.Hc()) throw c.g.X("This operation should not be performed on an empty geometry.");
            return this.la[1];
          };

          b.prototype.RK = function (a) {
            this.setAttribute(0, 1, a);
          };

          b.prototype.rH = function () {
            return this.Yc(1, 0);
          };

          b.prototype.sY = function (a) {
            this.setAttribute(1, 0, a);
          };

          b.prototype.aH = function () {
            return this.Yc(2, 0);
          };

          b.prototype.cY = function (a) {
            this.setAttribute(2, 0, a);
          };

          b.prototype.yc = function () {
            return this.KG(3, 0);
          };

          b.prototype.BK = function (a) {
            this.setAttribute(3, 0, a);
          };

          b.prototype.Yc = function (a, b) {
            var f = this.description.mg(a);
            return 0 <= f ? this.la[this.description.xk(f) + b] : c.ma.de(a);
          };

          b.prototype.KG = function (a, b) {
            var f = this.description.mg(a);
            return 0 <= f ? this.la[this.description.xk(f) + b] : c.ma.de(a);
          };

          b.prototype.setAttribute = function (a, b, f) {
            this.Bc();
            var c = this.description.mg(a);
            0 > c && (this.Ud(a), c = this.description.mg(a));
            null == this.la && this.nq();
            this.la[this.description.xk(c) + b] = f;
          };

          b.prototype.G = function () {
            return 33;
          };

          b.prototype.tb = function () {
            return 0;
          };

          b.prototype.Oa = function () {
            this.Bc();
            null != this.la && (this.la[0] = NaN, this.la[1] = NaN);
          };

          b.prototype.mo = function (a) {
            if (null != this.la) {
              for (var b = c.ye.vx(a, this.description), f = [], e = 0, h = 0, g = a.Ga; h < g; h++) {
                var k = a.rd(h),
                    m = c.ma.Xa(k);
                if (-1 == b[h]) for (var n = c.ma.de(k), k = 0; k < m; k++) f[e] = n, e++;else for (n = this.description.xk(b[h]), k = 0; k < m; k++) f[e] = this.la[n], e++, n++;
              }

              this.la = f;
            }

            this.description = a;
          };

          b.prototype.nq = function () {
            this.bK(this.description.af.length);
            b.Bb(this.description.af, this.la, this.description.af.length);
            this.la[0] = NaN;
            this.la[1] = NaN;
          };

          b.prototype.Xc = function (a) {
            if (a instanceof c.Hd) {
              if (!this.Hc()) {
                var b = this.w();
                a.$h(b, b);
                this.rb(b);
              }
            } else this.Hc() || (this.Ud(1), b = this.mA(), this.CC(a.Rp(b)));
          };

          b.prototype.copyTo = function (a) {
            if (33 != a.G()) throw c.g.F();
            a.Bc();
            null == this.la ? (a.Oa(), a.la = null, a.Fg(this.description)) : (a.Fg(this.description), a.bK(this.description.af.length), b.Bb(this.la, a.la, this.description.af.length));
          };

          b.prototype.Ka = function () {
            return new b(this.description);
          };

          b.prototype.u = function () {
            return this.Hc();
          };

          b.prototype.Hc = function () {
            return null == this.la || isNaN(this.la[0]) || isNaN(this.la[1]);
          };

          b.prototype.Qn = function (a) {
            a.Oa();
            this.description != a.description && a.Fg(this.description);
            a.Nb(this);
          };

          b.prototype.s = function (a) {
            this.Hc() ? a.Oa() : (a.o = this.la[0], a.A = this.la[1], a.v = this.la[0], a.B = this.la[1]);
          };

          b.prototype.Cp = function (a) {
            if (this.Hc()) a.Oa();else {
              var b = this.mA();
              a.o = b.x;
              a.A = b.y;
              a.Bf = b.z;
              a.v = b.x;
              a.B = b.y;
              a.$g = b.z;
            }
          };

          b.prototype.xf = function (a, b) {
            var f = new c.Ac();
            if (this.Hc()) return f.Oa(), f;
            var e = this.Yc(a, b);
            f.ca = e;
            f.ha = e;
            return f;
          };

          b.prototype.bK = function (a) {
            if (null == this.la) this.la = c.J.gf(a);else if (this.la.length < a) {
              for (var b = this.la.slice(0), f = this.la.length; f < a; f++) b[f] = 0;

              this.la = b;
            }
          };

          b.Bb = function (a, b, f) {
            if (0 < f) for (f = 0; f < a.length; f++) b[f] = a[f];
          };

          b.prototype.Eb = function (a) {
            if (a == this) return !0;
            if (!(a instanceof b) || this.description != a.description) return !1;
            if (this.Hc()) return a.Hc() ? !0 : !1;

            for (var d = 0, f = this.description.af.length; d < f; d++) if (this.la[d] != a.la[d]) return !1;

            return !0;
          };

          b.prototype.jc = function () {
            var a = this.description.jc();
            if (!this.Hc()) for (var b = 0, f = this.description.af.length; b < f; b++) var e = this.la[b], e = c.J.truncate(e ^ e >>> 32), a = c.J.dh(e, a);
            return a;
          };

          b.prototype.Gg = function () {
            return null;
          };

          return b;
        }(c.T);

        c.Wa = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c(b, a, d) {
            void 0 !== b && (this.x = b, this.y = a, this.z = d);
          }

          c.pa = function (b, a, d) {
            var f = new c();
            f.x = b;
            f.y = a;
            f.z = d;
            return f;
          };

          c.prototype.I = function (b, a, d) {
            this.x = b;
            this.y = a;
            this.z = d;
          };

          c.prototype.Vx = function () {
            this.z = this.y = this.x = 0;
          };

          c.prototype.normalize = function () {
            var b = this.length();
            0 == b && (this.x /= b, this.y /= b, this.z /= b);
          };

          c.prototype.length = function () {
            return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z);
          };

          c.prototype.sub = function (b) {
            return new c(this.x - b.x, this.y - b.y, this.z - b.z);
          };

          c.prototype.Vg = function (b) {
            return new c(this.x * b, this.y * b, this.z * b);
          };

          c.prototype.dv = function () {
            this.x = NaN;
          };

          c.prototype.Hy = function () {
            return isNaN(this.x);
          };

          c.prototype.oi = function (b) {
            return this.x * b.x + this.y * b.y + this.z * b.z;
          };

          return c;
        }();

        c.qd = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b, a, d) {
            this.tx = this.dx = null;
            this.tg = a;
            this.EV = a.y - d;
            this.DV = a.y + d;
            this.Ir = 0;
            this.NA = b;
            this.ta = d;
            this.QV = d * d;
            this.OA = 0 != d;
            this.yw = !1;
          }

          g.prototype.result = function () {
            return 0 != this.Ir ? 1 : 0;
          };

          g.prototype.YO = function (b) {
            b = b.gc(b.pe(this.tg, !1));
            return c.b.sc(b, this.tg) <= this.QV ? !0 : !1;
          };

          g.prototype.pG = function (b) {
            if (!this.OA && (this.NA && this.tg.ub(b.ec()) || this.tg.ub(b.Cc()))) this.yw = !0;else if (b.ra == this.tg.y && b.ra == b.oa) {
              if (this.NA && !this.OA) {
                var a = Math.max(b.ua, b.sa);
                this.tg.x > Math.min(b.ua, b.sa) && this.tg.x < a && (this.yw = !0);
              }
            } else {
              var d = !1,
                  a = Math.max(b.ua, b.sa);
              this.tg.x > a ? d = !0 : this.tg.x >= Math.min(b.ua, b.sa) && (d = 0 < b.Tq(!0, this.tg.y, this.tx, null) && this.tx[0] <= this.tg.x);

              if (d) {
                if (this.tg.y == b.ec().y) {
                  if (this.tg.y < b.Cc().y) return;
                } else if (this.tg.y == b.Cc().y && this.tg.y < b.ec().y) return;

                this.Ir = this.NA ? this.Ir ^ 1 : this.Ir + (b.ec().y > b.Cc().y ? 1 : -1);
              }
            }
          };

          g.prototype.ku = function (b) {
            var a = b.xf(0, 1);
            if (a.ca > this.DV || a.ha < this.EV) return !1;
            if (this.OA && this.YO(b)) return !0;
            if (a.ca > this.tg.y || a.ha < this.tg.y) return !1;
            null == this.dx && (this.dx = [null, null, null, null, null]);
            null == this.tx && (this.tx = [0, 0, 0]);
            a = b.qH(this.dx);
            if (0 < a) for (b = 0; b < a; b++) {
              var d = this.dx[b].get();
              this.pG(d);
              if (this.yw) return !0;
            } else if (this.pG(b), this.yw) return !0;
            return !1;
          };

          g.$ = function (b, a, d) {
            a = new g(0 == b.xo(), a, d);

            for (b = b.Fa(); b.Ya();) for (; b.Ea();) if (d = b.ba(), a.ku(d)) return -1;

            return a.result();
          };

          g.bd = function (b, a, d, f) {
            var e = new c.h();
            b.ac(e);
            e.O(f, f);
            var h = new g(0 == b.xo(), d, f);
            b = b.Fa();
            var l = new c.h();
            l.I(e);
            l.v = d.x + f;
            l.A = d.y - f;
            l.B = d.y + f;
            d = a.Yz(l, f);

            for (f = d.next(); -1 != f; f = d.next()) if (b.Tb(a.ja(f)), b.Ea() && (f = b.ba(), h.ku(f))) return -1;

            return h.result();
          };

          g.kn = function (b, a, d) {
            if (b.u()) return 0;
            var f = new c.h();
            b.ac(f);
            f.O(d, d);
            if (!f.contains(a)) return 0;
            f = b.ob;

            if (null != f) {
              var e = f.Hi;

              if (null != e) {
                e = e.rm(a.x, a.y);
                if (1 == e) return 1;
                if (0 == e) return 0;
              }

              f = f.Mb;
              if (null != f) return g.bd(b, f, a, d);
            }

            return g.$(b, a, d);
          };

          g.XU = function (b, a, d, f) {
            if (b.u()) return 0;
            var e = new c.h();
            b.ac(e);
            e.O(f, f);
            if (!e.contains(a, d)) return 0;
            e = b.ob;

            if (null != e && (e = e.Hi, null != e)) {
              e = e.rm(a, d);
              if (1 == e) return 1;
              if (0 == e) return 0;
            }

            return g.$(b, c.b.pa(a, d), f);
          };

          g.WU = function (b, a, d) {
            return a.u() ? 0 : g.kn(b, a.w(), d);
          };

          g.zA = function (b, a, d, f, e) {
            var h = new c.h();
            b.ac(h);
            h.O(f, f);
            if (!h.contains(d)) return 0;
            var l = new g(!0, d, f);

            if (null != e) {
              var k = new c.h();
              k.I(h);
              k.v = d.x + f;
              k.A = d.y - f;
              k.B = d.y + f;
              b = b.Fa();
              f = e.Yz(k, f);

              for (k = f.next(); -1 != k; k = f.next()) if (b.Tb(e.ja(k), a), b.Ea() && b.Ta == a && (k = b.ba(), l.ku(k))) return -1;
            } else if (b = b.Fa(), b.fC(a), b.Ya()) for (; b.Ea();) if (k = b.ba(), l.ku(k)) return -1;

            return l.result();
          };

          g.yA = function (b, a, d) {
            var f = new c.h();
            b.ac(f);
            f.O(d, d);
            if (!f.contains(a)) return 0;
            a = new g(!1, a, d);

            for (d = b.Fa(); d.Ya();) if (!(0 > b.Sm(d.Ta))) {
              for (a.Ir = 0; d.Ea();) if (f = d.ba(), a.ku(f)) return -1;

              if (0 != a.Ir) return 1;
            }

            return a.result();
          };

          g.Oi = function (b, a, d, f, e) {
            var h = b.Fa();
            h.fC(a);
            if (!h.Ya() || !h.Ea()) throw c.g.X("corrupted geometry");

            for (a = 2; 2 == a && h.Ea();) a = h.ba().gc(.5), a = g.zA(b, d, a, f, e);

            if (2 == a) throw c.g.X("internal error");
            return 1 == a ? !0 : !1;
          };

          g.qm = function (b, a) {
            var d = b.D();
            return 16 > d ? !1 : 2 * d + Math.log(d) / Math.log(2) * 1 * a < 1 * d * a;
          };

          return g;
        }();

        c.ff = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (c) {
          function b(a) {
            c.call(this, !0, a);
          }

          O(b, c);

          b.prototype.Ka = function () {
            return new b(this.description);
          };

          b.prototype.tb = function () {
            return 2;
          };

          b.prototype.G = function () {
            return 1736;
          };

          b.prototype.KH = function (a, b, f) {
            this.FU(a, b, f);
          };

          b.prototype.hT = function () {
            this.zT();
          };

          return b;
        }(c.xl);

        c.Ja = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.PiPOutside = 0] = "PiPOutside";
          c[c.PiPInside = 1] = "PiPInside";
          c[c.PiPBoundary = 2] = "PiPBoundary";
        })(c.IN || (c.IN = {}));

        var n = function () {
          function g() {}

          g.WH = function (b, a, d) {
            b = c.ff.WU(b, a, d);
            return 0 == b ? 0 : 1 == b ? 1 : 2;
          };

          g.ge = function (b, a, d) {
            b = c.ff.kn(b, a, d);
            return 0 == b ? 0 : 1 == b ? 1 : 2;
          };

          g.dX = function (b, a, d, f) {
            b = c.ff.XU(b, a, d, f);
            return 0 == b ? 0 : 1 == b ? 1 : 2;
          };

          g.m_ = function (b, a, d, f) {
            return 0 == c.ff.zA(b, a, d, f, null) ? 0 : 1;
          };

          g.yA = function (b, a, d) {
            return 0 == c.ff.yA(b, a, d) ? 0 : 1;
          };

          g.NR = function (b, a, d, f, e) {
            if (a.length < d || e.length < d) throw c.g.F();

            for (var h = 0; h < d; h++) e[h] = g.ge(b, a[h], f);
          };

          g.YR = function (b, a, d, f, e) {
            if (a.length / 2 < d || e.length < d) throw c.g.F();

            for (var h = 0; h < d; h++) e[h] = g.dX(b, a[2 * h], a[2 * h + 1], f);
          };

          g.fL = function (b, a, d, f, e) {
            if (1736 == b.G()) g.NR(b, a, d, f, e);else if (197 == b.G()) {
              var h = new c.h();
              b.s(h);
              g.OM(h, a, d, f, e);
            } else throw c.g.X("invalid_call");
          };

          g.v_ = function (b, a, d, f, e) {
            if (1736 == b.G()) g.YR(b, a, d, f, e);else if (197 == b.G()) {
              var h = new c.h();
              b.s(h);
              g.SM(h, a, d, f, e);
            } else throw c.g.Da();
          };

          g.OM = function (b, a, d, f, e) {
            if (a.length < d || e.length < d) throw c.g.F();
            if (b.u()) for (f = 0; f < d; f++) e[f] = 0;else for (b.O(.5 * -f, .5 * -f), b.O(.5 * f, .5 * f), f = 0; f < d; f++) b.contains(a[f]) ? e[f] = 1 : b.contains(a[f]) ? e[f] = 2 : e[f] = 0;
          };

          g.SM = function (b, a, d, f, e) {
            if (a.length / 2 < d || e.length < d) throw c.g.F();
            if (b.u()) for (f = 0; f < d; f++) e[f] = 0;else for (b.O(.5 * -f, .5 * -f), b.O(.5 * f, .5 * f), f = 0; f < d; f++) b.contains(a[2 * f], a[2 * f + 1]) ? e[f] = 1 : b.contains(a[2 * f], a[2 * f + 1]) ? e[f] = 2 : e[f] = 0;
          };

          g.$T = function (b, a, d, f, c) {
            for (var h = 0; h < d; h++) c[h] = b.mt(a[h], f) ? 2 : 0;
          };

          g.jS = function (b, a, d, f, c) {
            var h = b.ob,
                g = null;
            null != h && (g = h.Hi);

            for (var h = d, k = 0; k < d; k++) if (c[k] = 1, null != g) {
              var m = a[k];
              0 == g.rm(m.x, m.y) && (c[k] = 0, h--);
            }

            if (0 != h) for (b = b.Fa(); b.Ya() && 0 != h;) for (; b.Ea() && 0 != h;) for (g = b.ba(), k = 0; k < d && 0 != h; k++) 1 == c[k] && g.mt(a[k], f) && (c[k] = 2, h--);

            for (k = 0; k < d; k++) 1 == c[k] && (c[k] = 0);
          };

          g.gL = function (b, a, d, f, e) {
            var h = b.G();
            if (1607 == h) g.jS(b, a, d, f, e);else if (c.T.Oc(h)) g.$T(b, a, d, f, e);else throw c.g.X("Invalid call.");
          };

          return g;
        }();

        c.gd = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (c) {
          function b(a, b) {
            2 == arguments.length ? (c.call(this, !1, a.description), this.Rf(a), this.lineTo(b)) : c.call(this, !1, a);
          }

          O(b, c);

          b.prototype.Ka = function () {
            return new b(this.description);
          };

          b.prototype.tb = function () {
            return 1;
          };

          b.prototype.G = function () {
            return 1607;
          };

          b.prototype.KH = function (a, b, f, c) {
            this.GU(a, b, f, c);
          };

          return b;
        }(c.xl);

        c.Ua = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function c() {}

          c.$_ = function () {};

          return c;
        }();

        c.d_ = n;
      })(r || (r = {}));

      (function (c) {
        (function (a) {
          a[a.clipWithInputHorizon = 1] = "clipWithInputHorizon";
          a[a.clipWithOutputHorizon = 2] = "clipWithOutputHorizon";
        })(c.fM || (c.fM = {}));

        var n = function () {
          function a() {
            this.Jl = 3;
            this.uz = this.yv = NaN;
          }

          a.prototype.cU = function () {
            return this.et(1);
          };

          a.prototype.dU = function () {
            return this.et(2);
          };

          a.prototype.et = function (a) {
            return 0 != (this.Jl & a);
          };

          a.prototype.Vf = function () {
            var b = new a();
            b.yv = this.yv;
            b.uz = this.uz;
            b.Jl = this.Jl;
            return b;
          };

          return a;
        }();

        c.OZ = n;

        (function (a) {
          a[a.Dont_Geonomalize_Polygon = 2147483648] = "Dont_Geonomalize_Polygon";
          a[a.Dont_Adjust_At_Poles = 1073741824] = "Dont_Adjust_At_Poles";
        })(c.gM || (c.gM = {}));

        var g = function () {
          function a() {
            this.Jl = 0;
          }

          a.prototype.et = function (a) {
            return 0 != (this.Jl & a);
          };

          a.oe = function (b) {
            var f = new a();
            f.Jl = b.Jl;
            return f;
          };

          a.prototype.FO = function (a) {
            this.Jl = a.Jl;
          };

          return a;
        }();

        c.PZ = g;

        var b = function () {
          function a(a, b, e) {
            this.je = a;
            this.He = b;
            this.rg = new c.h();
            this.rg.I(e);
            this.zV = a.jc() + b.jc() + this.rg.jc().toString();
          }

          a.prototype.jc = function () {
            return this.zV;
          };

          a.prototype.Eb = function (a) {
            return this == a || this.je.Eb(a.je) && this.He.Eb(a.He) && this.rg.Eb(a.rg);
          };

          return a;
        }();

        c.e_ = b;

        b = function () {
          function a() {
            this.He = this.je = null;
            this.DI = new n();
            this.EI = new g();
            this.xr = this.ue = null;
            this.sr = this.Tl = !0;
          }

          a.Is = function (b, f, c, h) {
            var g;
            void 0 === h && (h = null);
            void 0 === g && (g = null);
            var k = new a();
            k.kq(b, f, c, h, g);
            return k;
          };

          a.prototype.kq = function (a, b, e, h, g) {
            if (null == a || null == b) throw c.g.X("invalidArgument");
            this.je = a;
            this.He = b;
            this.sr = this.Tl = !1;
            null != h && (this.DI = h.Vf());
            null != g && this.EI.FO(g);
            g = !1;
            1 == b.Fb() && null != h && (h = h.yv, isNaN(h) || 0 == h || (g = !0));
            if (a == b) this.Tl = !g, this.sr = !0;else {
              h = a.Fb();
              var k = b.Fb();

              if (0 == h || 0 == k) {
                if (null != e) throw c.g.F();
                null != a.Nd() && null != b.Nd() && (this.Tl = a.Nd().Eb(b.Nd()));
              } else 3 == h || 3 == k ? this.Tl = a.Eb(b) : this.je.iU(this.He) ? this.Tl = !g : this.Tl = !1, this.ue = e, null != this.ue && this.ue.Mp(), this.sr = (null == this.ue || 0 == this.ue.count()) && this.je.kc().Eb(this.He.kc());
            }
            this.wL();
          };

          a.prototype.Wv = function () {
            var b = new a();
            b.je = this.He;
            b.He = this.je;
            null != this.ue && (b.ue = this.ue.Wv());
            b.Tl = this.Tl;
            b.sr = this.sr;
            b.wL();
            return b;
          };

          a.prototype.Ho = function () {
            return this.Tl;
          };

          a.prototype.fT = function () {
            return this.DI.Vf();
          };

          a.prototype.Eb = function (b) {
            return b == this ? !0 : b instanceof a && this.je.Eb(b.je) && this.He.Eb(b.He) ? this.ue == b.ue ? !0 : null != this.ue && null != b.ue && this.ue.Eb(b.ue) ? !0 : !1 : !1;
          };

          a.prototype.wL = function () {
            this.xr = new c.ko(this);
          };

          a.u_ = {};
          return a;
        }();

        c.rs = b;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b() {}

          b.uq = function (a) {
            return a * b.pO;
          };

          b.Wx = function (a, d) {
            return b.VN(d - a);
          };

          b.cO = function (a) {
            if (-360 <= a && 720 > a) return 0 > a ? a += 360 : 360 <= a && (a -= 360), a;
            a = c.Ub.hM(a);
            0 > a && (a += 360);
            return a;
          };

          b.VN = function (a) {
            a = b.cO(a);
            180 < a && (a -= 360);
            return a;
          };

          b.QZ = .0174532925199433;
          b.pO = 57.29577951308232;
          return b;
        }();

        c.ls = n;

        var g = function () {
          function b() {}

          b.Mj = function (a, b) {
            var f = new c.h();
            a.s(f);
            var e = c.fb.Bh(b),
                h = new c.h();
            h.I(e);
            h.o = f.o;
            h.v = f.v;
            h.O(.01 * h.fa(), 0);
            e = c.na.be(b, f, !1);
            return h.contains(f) ? a : c.ne.clip(a, h, e, 0);
          };

          b.ht = function (a, d, f, e, h) {
            if (!c.fb.Jc(d)) throw c.g.F();
            var g = c.na.ah(d, a, !1),
                k = c.fb.Bh(d),
                m = c.fb.kc(d),
                n = m.Nd().Ai,
                p = c.fb.hw(m),
                m = c.fb.Sv(m),
                p = p * (2 - p),
                q = new c.Ac();
            k.Sn(q);
            var t = [[0, 0], [0, 0]];
            2 == c.Sd.Fb(d) ? e ? (t[0][0] = b.Nn(h, q), t[0][1] = k.Cq(), c.fb.lu(), k = t[0][0] * n) : (t[0][0] = k.Hk(), t[0][1] = h, c.fb.lu(), k = t[0][1] * n) : k = h * n;
            if (!e && 0 != k) throw c.g.F();
            var u = new c.ea(),
                r = new c.fd();
            a = r.Jb(a);

            for (var v = [0], x = new c.b(), B = new c.b(), y = new c.b(), A = new c.b(), C = new c.b(), D = new c.b(), E = r.Pb(a); -1 != E; E = r.Sb(E)) {
              var F = r.cb(E);
              r.w(F, y);

              for (var G = !1, H = F = r.U(F); -1 != H; H = r.U(H)) {
                if (H == F) {
                  if (G) break;
                  G = !0;
                }

                r.w(H, A);

                if (e && g < h - y.x && A.x - h > g || g < h - A.x && y.x - h > g || !e && g < -y.y && A.y > g || g < -A.y && y.y > g) {
                  do if (!(Math.abs(y.x - A.x) >= .5 * q.N())) {
                    2 == c.Sd.Fb(d) ? (t[0][0] = b.Nn(y.x, q), t[0][1] = y.y, t[1][0] = b.Nn(A.x, q), t[1][1] = A.y, c.fb.VW(), C.x = t[0][0] * n, C.y = t[0][1] * n, D.x = t[1][0] * n, D.y = t[1][1] * n) : (C.x = y.x * n, C.y = y.y * n, D.x = A.x * n, D.y = A.y * n);
                    D.x = 6.283185307179586 * (A.x - y.x) / q.N() + C.x;

                    if (e) {
                      if (B.x = k, B.y = b.FB(m, p, C, D, k, f), isNaN(B.y)) break;
                    } else {
                      B.x = b.DB(m, p, C, D, f);
                      if (isNaN(B.x)) break;
                      B.y = 0;
                    }

                    c.mb.Ld(m, p, C.x, C.y, D.x, D.y, u, null, null, f);
                    var I = u.j;
                    c.mb.Ld(m, p, C.x, C.y, B.x, B.y, u, null, null, f);
                    var K = u.j;
                    2 == c.Sd.Fb(d) ? (t[0][0] = B.x / n, t[0][1] = B.y / n, c.fb.US(), e ? (x.y = t[0][1], x.x = h) : (x.x = b.Zp(t[0][0], y.x, A.x, q), x.y = h)) : e ? (x.x = h, x.y = B.y / n) : (x.x = b.Zp(B.x / n, y.x, A.x, q), x.y = h);
                    v[0] = 0 < I ? c.J.pk(K / I, 0, 1) : .5;
                    0 != v[0] && 1 != v[0] && (I = r.Ra(H), r.zm(I, v, 1), r.rb(r.U(I), x.x, x.y));
                  } while (0);
                }

                y.L(A);
              }
            }

            return r.Se(a);
          };

          b.Xm = function (a, d, f, e, h) {
            if (a.u()) return a;
            var g = c.fb.ee(d);
            return b.Aq(a, f - 180 * g, 360 * g, d, e, h, !0);
          };

          b.FB = function (a, d, f, e, h, g) {
            if (3.141592653589793 <= Math.abs(f.x - e.x) || !b.Cj(f.x, e.x, h)) return NaN;
            var k;
            f.x > e.x ? k = e : (k = f, f = e);
            e = new c.ea(0);
            var m = new c.ea(0),
                n = new c.ea(0);
            c.mb.Ld(a, d, k.x, k.y, f.x, f.y, m, e, null, g);
            var p = m.j,
                q = 0,
                t = 1,
                u = new c.b();

            for (u.L(k); p * (t - q) > 1E-12 * a;) {
              var r = .5 * (q + t);
              c.mb.Oj(a, d, k.x, k.y, p * r, e.j, m, n, g);
              u.x = m.j;
              u.y = n.j;
              if (u.x == h) break;
              if (b.Cj(k.x, u.x, h)) t = r;else if (b.Cj(f.x, u.x, h)) q = r;else return NaN;
            }

            return u.y;
          };

          b.Cj = function (a, b, f) {
            a = n.uq(a);
            b = n.Wx(a, n.uq(b));
            f = n.Wx(a, n.uq(f));
            return 0 == f || 0 < b && 0 < f && f <= b || 0 > b && 0 > f && f >= b ? !0 : !1;
          };

          b.Nn = function (a, b) {
            var f = b.ha - b.ca;
            return b.wu(a - Math.floor((a - b.ca) / f) * f);
          };

          b.Zp = function (a, b, f, e) {
            var h = new c.Ac();
            h.I(b, f);
            f = e.N();
            a = Math.floor((a - b) / f) * f + a;

            for (h = h.Wf(); Math.abs(a - h) > Math.abs(a + f - h);) a += f;

            return a;
          };

          b.DB = function (a, b, f, e, h) {
            var g;
            f.y > e.y ? g = e : (g = f, f = e);
            e = new c.Ac();
            e.I(g.y, f.y);
            if (!e.contains(0) || 3.141592653589793 <= Math.abs(g.x - f.x)) return NaN;
            if (g.x == f.x) return g.x;
            var k = new c.ea(0),
                m = new c.ea(0),
                n = new c.ea(0);
            c.mb.Ld(a, b, g.x, g.y, f.x, f.y, m, k, null, h);
            var p = m.j,
                q = 0,
                t = 1,
                u = new c.b();

            for (u.L(g); p * (t - q) > 1E-12 * a;) {
              var r = .5 * (q + t);
              c.mb.Oj(a, b, g.x, g.y, p * r, k.j, m, n, h);
              u.x = m.j;
              u.y = n.j;
              e.I(g.y, u.y);
              if (0 == u.y) break;
              if (e.contains(0)) t = r;else if (e.I(f.y, u.y), e.contains(0)) q = r;else return NaN;
            }

            return u.x;
          };

          b.Aq = function (a, b, f, e, h, g, k) {
            var m = new c.h();
            a.s(m);
            if (m.u()) return a;
            var n = new c.Ac();
            m.Sn(n);
            var p = new c.Ac();
            p.I(b, b + f);
            if (p.contains(n) && p.ha != n.ha) return a;
            var q = new c.h();
            q.I(m);
            var t = a.G();

            if (33 == t) {
              q = h ? a : a.Vf();
              m = q.Be();
              if (m < p.ca || m >= p.ha || k && m == p.ha) m += Math.ceil((p.ca - m) / f) * f, m = p.wu(m), q.BC(m);
              return q;
            }

            if (550 == t) {
              q = h ? a : a.Vf();
              e = q.Pa(0);
              t = 2 * q.D();
              a = !1;

              for (h = 0; h < t; h += 2) if (m = e.read(h), m < p.ca || m >= p.ha || k && m == p.ha) a = !0, m += Math.ceil((p.ca - m) / f) * f, m = p.wu(m), e.write(h, m);

              a && q.Dc(1993);
              return q;
            }

            if (p.contains(n)) return a;
            if (197 == t) return f = h ? a : a.Vf(), m.Ma(q), f.Gp(m), f;
            var u = .1 * Math.max(m.fa(), m.N());
            q.O(0, u);
            k = a;
            p = e.re(0);
            a = c.ei.local();
            h = new c.Hd();

            for (var r = 0;;) {
              var v = Math.floor((n.ca - b) / f),
                  x = Math.ceil((n.ha - b) / f);

              if (3 < x - v) {
                v = Math.floor(.5 * (x + v));
                q.o = m.o - u;
                q.v = b + f * v;
                var B = c.ne.clip(k, q, p, g);
                q.o = q.v;
                q.v = m.v + u;
                var y = c.ne.clip(k, q, p, g);
                h.Ag((v - x) * f, 0);
                y.Xc(h);
                1736 == t ? k = a.V(B, y, e, null) : (k = B, k.add(y, !1));
                k.s(m);
                m.Sn(n);
                r++;
              } else break;
            }

            q.o = b;
            q.v = b + f;
            b = new c.h();
            b.I(q);
            b.O(p, 0);
            b = Math.floor((m.o - q.o) / f) * f;
            0 != b ? (q.move(b, 0), h.Ag(-b, 0)) : h.qC();
            b = 1607 == t ? new c.Ua(k.description) : new c.Ja(k.description);
            g = new c.h();

            for (n = new c.h(); m.v > q.o;) {
              u = c.ne.clip(k, q, p, 0);
              u.s(n);
              if (1607 == t ? !u.u() && (n.N() > p || n.fa() > p) : !u.u() && (1736 != t || n.N() > p)) u.Xc(h), u.s(n), b.s(g), g.O(p, p), g.Yb(n) && 1736 == t ? b = a.V(b, u, e, null) : b.add(u, !1);
              q.move(f, 0);
              h.shift(-f, 0);
            }

            return b;
          };

          b.OJ = function (a, b, f, e, h) {
            var g = new c.Ed(f.description);
            g.Id(f, 0, -1);
            h = c.fb.Xg(g, a, b, h);
            g = f.D();
            e.Oa();
            if (!c.fb.Jc(a) || g != h.D()) return !1;
            var k = new c.h();
            f.s(k);
            var m = new c.h();
            h.s(m);
            k = k.N();
            m = m.N();

            if (0 != k && 0 != m) {
              if (m /= k, a = c.fb.Bh(b).N() / c.fb.Bh(a).N(), 1E-10 < Math.abs(m / a - 1)) return !1;
            } else if (0 != k || 0 != m) return !1;

            e.add(f, !1);

            for (f = 0; f < g; f++) a = h.Ba(f), e.rb(f, a);

            return !0;
          };

          b.vA = function () {
            throw c.g.df();
          };

          return b;
        }();

        c.gi = g;
      })(r || (r = {}));

      (function (c) {
        (function (a) {
          a[a.Clip = 0] = "Clip";
          a[a.DontClip = 1] = "DontClip";
          a[a.PannableFold = 2] = "PannableFold";
        })(c.di || (c.di = {}));

        var n = c.di;

        (function (a) {
          a[a.Geodesic = 0] = "Geodesic";
          a[a.Loxodrome = 1] = "Loxodrome";
          a[a.GreatElliptic = 2] = "GreatElliptic";
          a[a.NormalSection = 3] = "NormalSection";
          a[a.ShapePreserving = 4] = "ShapePreserving";
        })(c.mD || (c.mD = {}));

        var g = c.mD,
            b = function () {
          function a() {}

          a.iw = function (a, b, e) {
            if (e || 0 < b) {
              a = a.toString(c.Vc.PE_STR_NAME_CANON | c.Vc.PE_STR_AUTH_NONE);
              b = [];

              for (e = 0; e < a.length; e++) b[e] = "a" <= a[e] && "z" >= a[e] ? b[e] = a[e].toUpperCase() : a[e];

              return b.join();
            }

            return a.toString(c.Vc.PE_STR_AUTH_TOP);
          };

          a.qs = function (a, b, e, h) {
            var g = h.length,
                k = e.D();

            if (0 != k) {
              var m = e.Pa(0),
                  n = Math.min(k, g),
                  p = 0,
                  q = a.Kg();
              isNaN(b) && (b = 0);
              var t = a.Jc();
              a = t ? a.kc().qe().N() : 0;

              for (var u = 179 * a / 360; 0 < k;) {
                m.Hx(p << 1, n, h, 0, !0);
                c.fi.projToGeogCenter(q, n, h, b);
                if (t) for (var r = 0; r < n; r++) {
                  var v = h[r][0] - b,
                      x = c.Ub.sign(v),
                      B = m.read(2 * (p + r));
                  0 > x * c.Ub.sign(B) && Math.abs(v) > u && (h[r][0] += -x * a);
                }
                m.hy(p << 1, n, h, 0, !0);
                p += n;
                k -= n;
                n = Math.min(k, g);
              }

              e.Dc(1993);
            }
          };

          a.J_ = function (a, b, e, h) {
            var g = a.Kg();
            isNaN(b) && (b = 0);
            var k = e.Be();
            h[0][0] = k;
            h[0][1] = e.nf();
            c.fi.projToGeogCenter(g, 1, h, b);
            a.Jc() && (b = c.Ub.sign(h[0][0] - b), 0 > b * c.Ub.sign(k) && (a = a.kc().qe().N(), Math.abs(h[0][0]) > 179 * a / 360 && (h[0][0] -= b * a)));
            e.rb(h[0][0], h[0][1]);
          };

          a.xN = function (a, b, e, h) {
            var g = 0,
                k = a.Kg();
            isNaN(g) && (g = 0);
            var m = a.Jc(),
                n = a.ee();
            a = 360 * n;

            for (var n = 179 * n, p = h.length, q = 0; q < e;) {
              for (var t = q; t < e && b[t].isNaN(); ++t) q++;

              var u = Math.min(p, e - q);

              if (0 < u) {
                for (var t = 1, r = q + 1; t < u; ++t, ++r) if (b[r].isNaN()) {
                  u = t;
                  break;
                }

                c.na.oz(h, b, q, u);
                c.fi.projToGeogCenter(k, u, h, g);
                if (m) for (t = 0, r = q; t < u; ++t, ++r) {
                  var v = b[r].x,
                      x = h[t][0] - g,
                      B = c.Ub.sign(x);
                  0 > B * c.Ub.sign(v) && Math.abs(x) > n && (h[t][0] -= B * a);
                }
                c.na.nz(b, q, h, u);
                q += u;
              }
            }
          };

          a.vy = function (a, b, e) {
            var h = e.length,
                g = b.D();

            if (!(1 > g)) {
              var k = b.Pa(0),
                  m = Math.min(g, h),
                  n = 0,
                  p = a.Kg(),
                  q = a.Jc(),
                  t = q ? a.qe().N() : 0,
                  u = 179 * t / 360,
                  r = 0;

              for (q && (r = a.pi()); 0 < g;) {
                k.Hx(n << 1, m, e, 0, !0);
                c.fi.geogToProj(p, m, e);
                if (q) for (a = 0; a < m; a++) {
                  var v = e[a][0],
                      x = c.Ub.sign(v),
                      B = k.read(2 * (n + a)) - r;
                  0 > x * c.Ub.sign(B) && Math.abs(v) > u && (e[a][0] += -x * t);
                }
                k.hy(n << 1, m, e, 0, !0);
                n += m;
                g -= m;
                m = Math.min(g, h);
              }

              b.Dc(1993);
            }
          };

          a.B_ = function (a, b, e) {
            if (!b.u()) {
              var h = a.Kg();
              e[0][0] = b.Be();
              e[0][1] = b.nf();
              c.fi.geogToProj(h, 1, e);

              if (a.Jc()) {
                var h = c.Ub.sign(e[0][0]),
                    g = a.pi();
                0 > h * c.Ub.sign(b.Be() - g) && (a = a.qe().N(), Math.abs(e[0][0]) > 179 * a / 360 && (e[0][0] -= h * a));
              }

              b.rb(e[0][0], e[0][1]);
            }
          };

          a.wN = function (a, b, e, h) {
            if (0 != e) {
              var g = a.Kg(),
                  k = a.Jc(),
                  m = k ? a.qe().N() : 0,
                  n = 179 * m / 360,
                  p = 0;
              k && (p = a.pi());

              for (a = 0; a < e;) {
                for (var q = a; q < e && b[q].isNaN(); ++q) a++;

                var t = Math.min(h.length, e - a);

                if (0 < t) {
                  for (var q = 1, u = a + 1; q < t; ++q, ++u) if (b[u].isNaN()) {
                    t = q;
                    break;
                  }

                  c.na.oz(h, b, a, t);
                  c.fi.geogToProj(g, t, h);
                  if (k) for (q = 0, u = a; q < t; q++) {
                    var r = h[q][0],
                        v = c.Ub.sign(r);
                    0 > v * c.Ub.sign(b[u].x - p) && Math.abs(r) > n && (h[q][0] -= v * m);
                  }
                  c.na.nz(b, a, h, t);
                  a += t;
                }
              }
            }
          };

          a.ps = function (a, b, e, h) {
            var g = b.D();

            if (0 != g) {
              var k = b.Pa(0),
                  m = a.je,
                  n = a.He,
                  p = m.kc().Yi(),
                  q = n.kc().Yi(),
                  t = m.ee(),
                  u = n.ee();
              a = a.ue;

              if (null == a || 0 == a.count()) {
                e = p / q;
                h = (m.dn() - n.dn()) * u;
                q = -90 * t;
                a = 90 * t;
                p = !1;
                u = 1;

                for (m = 2 * g; u < m;) t = k.get(u), n = c.J.pk(t, q, a), n != t && (k.set(u, n), p = !0), u += 2;

                if (0 != h || 1 != e) for (p = !0, q = new c.b(), u = 0; u < g; u++) k.fc(2 * u, q), q.x *= e, q.x += h, q.y *= e, k.fo(2 * u, q);
                p && b.Dc(1993);
              } else {
                var m = h.length,
                    n = Math.min(g, m),
                    r = c.J.gf(n),
                    v = null,
                    x = 0,
                    B = NaN,
                    y = NaN,
                    A = 360 * u,
                    C = u / t;
                e && (y = 90 * u, B = 89.9 * t, v = c.J.gf(n));

                for (var D = !0, E = 0; 0 != g;) {
                  t = !1;
                  k.Hx(x << 1, n, h, 0, !0);

                  for (u = 0; u < n; u++) r[u] = h[u][0];

                  if (e) for (u = 0; u < n; u++) {
                    var F = Math.abs(h[u][1]) - B;
                    0 < F && (t = h[u][1], h[u][1] = c.Ub.Fl(B, t), v[u] = c.Ub.Fl(F, t), t = !0);
                  }
                  u = h[0][0];
                  a.transform(h, n, p, q);
                  D && (E = h[0][0] - C * u, D = !1);

                  for (u = 0; u < n; u++) F = h[u][0] - r[u] * C - E, 200 < Math.abs(F) && (h[u][0] = 0 < F ? h[u][0] - A : h[u][0] + A);

                  if (t) {
                    for (u = 0; u < n; u++) 0 != v[u] && (h[u][1] += C * v[u], h[u][1] > y ? h[u][1] = y : h[u][1] < -y && (h[u][1] = -y));

                    for (t = 0; t < n; t++) v[t] = 0;
                  }

                  k.hy(x << 1, n, h, 0, !0);
                  x += n;
                  g -= n;
                  n = Math.min(g, m);
                }

                b.Dc(1993);
              }
            }
          };

          a.A_ = function (a, b, e, h) {
            if (b.u()) return !1;
            var g = a.je,
                k = a.He,
                m = a.ue,
                n = g.kc().Yi(),
                p = k.kc().Yi();
            h[0][0] = b.Be();
            h[0][1] = b.nf();

            if (null != m && 0 < m.count()) {
              a = !0;
              var q = !1,
                  t = NaN,
                  u = 0,
                  r = 1;
              e && (e = g.ee(), t = k.ee(), r = t / e, t *= 90, g = 89.9 * e, k = Math.abs(h[0][1]) - g, 0 < k && (q = h[0][1], h[0][1] = c.Ub.Fl(g, q), u = c.Ub.Fl(k, q), q = !0));
              m.transform(h, 1, n, p);
              q && 0 != u && (h[0][1] += r * u, h[0][1] > t ? h[0][1] = t : h[0][1] < -t && (h[0][1] = -t));
              b.rb(h[0][0], h[0][1]);
            } else {
              e = g.ee();
              a = c.J.pk(h[0][1], -90 * e, 90 * e) != h[0][1];
              t = k.ee();
              m = (g.dn() - k.dn()) * t;
              n /= p;
              if (1 != n || 0 != m) a = !0, h[0][0] *= n, h[0][0] += m, h[0][1] *= n;
              a && b.rb(h[0][0], h[0][1]);
            }

            return a;
          };

          a.vN = function (a, b, e, h) {
            var g;
            if (a.sr) h = 90 * a.je.ee(), c.na.VK(b, e, -h, h);else {
              var k = a.ue,
                  m = a.je,
                  n = a.He;
              a = m.Xs();
              var p = n.Xs(),
                  q = m.ee(),
                  t = 90 * q,
                  u = n.ee();

              if (null == k || 0 == k.count()) {
                if (h = a / p, k = (m.dn() - n.dn()) * u, c.na.VK(b, e, -t, t), 0 != k || 1 != h) for (u = 0; u < e; u++) b[u].x *= h, b[u].x += k, b[u].y *= h;
              } else for (var m = Math.min(e, h.length), t = c.J.gf(m), n = 360 * u, q = u / q, r = !0, v = 0, x = 0; 0 != e;) {
                for (u = 0; u < m; u++) t[u] = b[u + x].x;

                u = b[0].x;
                c.na.oz(h, b, x, m);
                k.transform(h, m, a, p);
                c.na.nz(b, x, h, m);
                r && (v = b[0].x - q * u, r = !1);

                for (u = 0; u < m; u++) g = b[x + u].x - t[u] * q - v, 200 < Math.abs(g) && (b[x + u].x = 0 < g ? b[x + u].x - n : b[x + u].x + n);

                x += m;
                e -= m;
                m = Math.min(e, h.length);
              }
            }
          };

          a.ZZ = function (b, f, c, h) {
            return a.Xm(b, f, isNaN(c) ? 0 : c, !0, h, null);
          };

          a.Vu = function (a, b) {
            var c = a.Bh();
            isNaN(b) || c.xv(b, 0);
            return c;
          };

          a.LS = function (b, f, e, h, g, k, m, n) {
            for (var p = a.Vu(h, g), q = p.N(), t = q / 360, u = a.lE * t, r = b.Pa(0), v = f.Jc(), x = v ? q / f.qe().N() : 0, B = !1, y = new c.Ja(e.description), A = 0, C = e.aa(); A < C; ++A) {
              var D = v,
                  E = new c.Ua(e.description);
              E.Ti(e, A, !0);

              if (0 != m) {
                var F = a.bE(!0, E, p.B - n, p.B, m);
                (B = B || F) && (D = !1);
              }

              var G = -1;
              D && (G = b.wa(A));
              var H = E.Pa(0),
                  I = E.D(),
                  K = 0,
                  J = H.read(0),
                  L = 0,
                  F = 3 * h.re(0),
                  M = !1,
                  R = new c.b();
              R.$c();
              var O = new c.b();
              O.$c();

              for (var Q = !1, N = 1; N < I; ++N) {
                var P = c.b.pa(H.Of(2 * N), H.Of(2 * N + 1)),
                    Z = P.x,
                    T = Z + K,
                    X = T - J;
                P.x = T;

                if (Math.abs(X) > u) {
                  if (D) {
                    var W = G + (N + 1 < I ? N : 0),
                        Y = r.read(2 * (G + N - 1)),
                        W = (r.read(2 * W) - Y) * x;
                    Math.abs(X - W) > 1 * t && (D = !1);
                  }

                  D || (K -= c.Ub.Fl(q, T - J), T = Z + K, ++L, Q = 0 != K, P.x = T);
                } else M || c.na.NH(O, R, P, F) && (M = !0);

                Q && H.write(2 * N, T);
                J = T;
                O.L(R);
                R.L(P);
              }

              0 < L && E.Dc(1993);
              D = E.Ba(0);
              I = E.Ba(I - 1);
              E = c.b.Cb(D, I) < F ? a.UR(E, h, g, k, M) : a.hS(b, A, E, h, g);
              y.add(E, !1);
            }

            g = h.re(0);
            e = p.N() / 180;
            a.xu(y, p, .1 * g, !1);
            g = c.uh.clip(y, p, g, e, k);
            y = y != g;
            b = b.hf();
            n = g.hf();
            m = 0;
            0 < n && 0 > b ? m = 1 : 0 >= n && 0 < b && (0 == n ? (n = NaN, 2 == f.Fb() ? n = f.Mk().hf() : 1 == f.Fb() && (n = f.qe().IG()), b > .99 * n && (m = -1)) : m = -1);
            0 != m && (f = new c.Ja(g.description), f.oq(p), f = c.Jm.local().V(f, e, k), f.add(g, !1), y = !0, g = f);
            y && (g = c.Km.local().V(g, h, !1, k));
            return g;
          };

          a.hS = function (b, f, e, h, g) {
            var k = e.D(),
                m = e.Ba(0),
                n = e.Ba(k - 1);
            h = a.Vu(h, g);
            g = h.N();
            var m = c.Ub.sign(n.x - m.x),
                p = new c.h();
            e.ac(p);
            var q = h.Hk(),
                t,
                n = q - g,
                q = q + g;

            if (0 <= m) {
              for (var u = Math.ceil((n - p.o) / g), u = u * g; n > p.o + u;) u += g;

              for (; n < p.v + u;) u -= g;

              t = u;
              720 < p.N() && (q = n + 360 * Math.ceil(p.N() / 360));
            } else {
              u = Math.ceil((q - p.v) / g);

              for (u *= g; q < p.v + u;) u -= g;

              for (; q > p.o + u;) u += g;

              t = u;
              720 < p.N() && (n = q - 360 * Math.ceil(p.N() / 360));
            }

            var u = m * g,
                r = c.h.pa(p.o, p.A, p.v, p.B);
            r.move(t, 0);
            var v = new c.Hd();
            v.Ag(t, 0);
            e.Xc(v);
            p = new c.Ua(e.description);
            p.add(e, !1);
            t = e.Ba(k - 1);
            g = 0;

            for (var x = p.Ba(0).x, B = 0; 0 < m ? r.v < q : r.o > n;) 1024 <= B && (B = 0), r.move(u, 0), v.Wb = u, e.Xc(v), x += u, h.o <= x && h.v >= x && (g = p.D() - 1), e.rb(0, t), t = e.Ba(k - 1), p.Bs(e, 0, 0, k - 1, !1);

            e = new c.Ja(p.description);
            k = 0 < b.Sm(f);
            e.add(p, !1);
            b = p.Ba(0);
            n = p.Ba(p.D() - 1);
            f = e.aa() - 1;
            (0 > m ? k : !k) ? (m = c.b.pa(n.x, h.B), e.aj(m), m = c.b.pa(h.Hk(), h.B), e.aj(m), h = c.b.pa(b.x, h.B)) : (m = c.b.pa(n.x, h.A), e.aj(m), m = c.b.pa(h.Hk(), h.A), e.aj(m), h = c.b.pa(b.x, h.A));
            e.aj(h);
            e.KH(0, f, 0);
            e.oQ(g);
            return e;
          };

          a.UR = function (b, f, e, h, g) {
            var k = new c.Ja(b.description);
            k.add(b, !1);
            k.dC(0, k.D() - 1);
            var m = new c.h();
            k.ac(m);
            e = a.Vu(f, e);

            for (var n = e.N(), p = Math.ceil((e.o - m.o) / n), p = p * n; e.o > m.o + p;) p += n;

            for (; e.o < m.v + p;) p -= n;

            p += n;

            if (0 != p) {
              m.move(p, 0);
              var q = new c.Hd();
              q.Ag(p, 0);
              k.Xc(q);
            }

            if (e.o <= m.o && e.v > m.v) return g && (g = k.hf(), k = c.Km.local().V(k, f, !0, h), f = k.hf(), (f = c.Ub.sign(g) != c.Ub.sign(f)) && k.eK()), k;
            b = new c.Ja(b.description);
            b.add(k, !1);

            for (g = g || m.N() > n - f.re(0); m.o < e.v;) m.move(n, 0), q = new c.Hd(), q.Ag(n, 0), k.Xc(q), b.add(k, !1);

            g && (g = b.hf(), b.Hp(1), b = c.Km.local().V(b, f, !0, h), f = b.hf(), (f = c.Ub.sign(g) != c.Ub.sign(f)) && b.eK());
            return b;
          };

          a.bE = function (a, b, e, h, g) {
            for (var k = b.Pa(0), m = b.D(), n = !1, p = 0; p < m; p++) {
              var q = c.b.pa(k.Of(2 * p), k.Of(2 * p + 1));

              if (0 != (g & 1) && q.y >= e) {
                n = !0;
                break;
              }

              if (0 != (g & 2) && q.y <= -e) {
                n = !0;
                break;
              }
            }

            if (!n) return !1;
            k = !1;
            a && (k = b.Eo(0));
            a = new c.fd();
            var m = a.Jb(b),
                n = a.Pb(m),
                t = -1,
                u = !0,
                r = new c.b();
            r.$c();

            for (var p = new c.Wa(), v = -1, x = a.cb(n); -1 != x; x = a.U(x)) {
              var q = a.Ba(x),
                  B = 0 != (g & 1) && 90 <= q.y ? 1 : 0,
                  B = B | (0 != (g & 2) && q.y <= -e ? 2 : 0);

              if (0 < t && t != B) {
                if (r.x != q.x) {
                  r.x = q.x;
                  a.wj(a.Ra(x), p);
                  var y = a.Wj(n, x, p);
                  a.Qf(y, r);
                }

                if (k) for (v = -1 != v ? a.U(v) : a.cb(n), y = a.Ra(x); v != y;) v = a.ud(v, !1);
                v = -1;
              }

              0 < B && (q.y = c.Ub.Fl(h, q.y), a.Qf(x, q), u || t == B || (q.x != r.x ? (a.wj(x, p), y = a.Wj(n, x, p), a.rb(y, r.x, q.y), v = y) : v = x));
              t = B;
              r = q;
              u = !1;
            }

            if (k) {
              if (-1 != v) for (v = a.U(v); -1 != v;) v = a.ud(v, !1);
              e = a.cb(n);
              a.Uq(e, a.Rj(n)) || (a.wj(e, p), a.Wj(n, -1, p));
            }

            a.Se(m).copyTo(b);
            return !0;
          };

          a.zZ = function (a, b) {
            for (var c = 0, h = a.La(b), g = b + 1, k = a.aa(); g < k && !(0 < a.Sm(g)); ++g) c++;

            return 64 < h && 3 <= c;
          };

          a.uA = function (b, f, e, h) {
            var g = b;
            if (g.u() || e == n.DontClip) return g;
            var k = g.G();
            if (33 == k) return h = g, g = [h.w()], a.LH(g, 1, f, e), g[0].isNaN() ? h.Oa() : h.rb(g[0]), b;
            b = f.kc();
            var m = b.ee(),
                w = 90 * m,
                p = 180 * m,
                q = 360 * m,
                t = f.pi(),
                r = .5 * m,
                z = new c.h();
            g.s(z);
            var v = f.Vs(),
                x = f.ES(),
                B = 197 == v.G();
            f = new c.h();
            v.s(f);
            e == n.PannableFold && (e = b.qe().N(), f.o = t - .5 * e, f.v = f.o + e);

            if (z.A < -w || z.B > w) {
              new c.h().I(z.o - m, -w, z.v + m, w);
              g = c.uh.rq(g, f, b, NaN, 0, h);
              if (g.u()) return g;
              g.s(z);
            }

            if (x && (f.B < z.A || f.A > z.B)) return g.Ka();
            z.N() > q && (g = a.Aq(g, t - p, q, b, !0, 0, !0, h), g.s(z));
            w = a.DN(z.o, z.v, f.o, f.v, q);
            0 != w && z.move(w, 0);

            if (z.v > f.v || z.o < f.o) {
              if (z.v > f.v) for (; z.o >= f.v;) z.move(-q, 0), w -= q;

              for (; z.o < f.v - q;) z.move(q, 0), w += q;
            }

            e = c.na.vv(b, v);
            0 != w && (m = new c.Hd(), m.Ag(w, 0), g.Xc(m));

            if (x) {
              if (B && f.contains(z)) return g;
              x = [null, null];

              for (w = 0; 2 > w; w++) {
                B ? m = c.T.Ic(k) ? c.uh.clip(g, f, e, r, h) : c.uh.clip(g, f, e, 0, h) : (m = c.tk.local().V(g, v, b, h), m == v && (m = c.T.oe(m)));
                if (f.o <= z.o && f.v >= z.v || f.o >= z.o && f.v <= z.v) return m;
                x[w] = m;
                0 == w && (z.move(-q, 0), m = new c.Hd(), m.Ag(-q, 0), g.Xc(m));
              }

              if (550 == k) x[0].Id(x[1], 0, -1);else if (c.T.Ic(k)) x[0].add(x[1], !1);else if (33 == k) x[0].u() && (x[0] = x[1]);else throw c.g.X("intersect_with_GCS_horizon: unexpected geometry type");
              return x[0];
            }

            if (f.B < z.A || f.A > z.B) return g;

            for (k = 0; !g.u() && z.v > f.o;) 0 != k && (m = new c.Hd(), m.Ag(k, 0), g.Xc(m)), c.Gj.local().V(4, g, v, b, h) || (g = c.cq.local().V(g, v, b, h), v == g && (g = c.T.oe(g))), 0 != k && (r = new c.Hd(), r.Ag(-k, 0), g.Xc(r)), k -= q, z.move(-q, 0);

            return g;
          };

          a.LH = function (b, f, e, h) {
            if (0 != f && h != n.DontClip) if (h == n.PannableFold) {
              h = e.BT();

              for (var g = f, k = 0; k < f; k++) if (b[k].y > h.B || b[k].y < h.A) b[k].$c(), g--;

              0 != g && a.Uu(b, f, h.o, h.N());
            } else {
              h = e.ee();
              var m = 90 * h,
                  w = 180 * h;
              h *= 360;
              g = f;

              for (k = 0; k < f; k++) if (b[k].y > m || b[k].y < -m) b[k].$c(), g--;

              if (0 != g) {
                g = new c.h();
                g.Mx(b, f);
                var m = e.Vs(),
                    p = e.Uv(),
                    k = 197 == m.G(),
                    q = new c.h();
                m.s(q);
                if (!p || !(q.B < g.A || q.A > g.B)) if (p) {
                  if (a.Uu(b, f, q.Hk() - w, h), g = f, k) for (k = 0; k < f; k++) q.contains(b[k]) || (b[k].$c(), g--);else for (e = c.na.vv(e.kc(), m), k = 0; k < f; k++) w = 0 != c.gd.ge(m, b[k], e), w || (b[k].$c(), g--);
                } else for (a.Uu(b, f, -w, h), g = f, e = c.na.vv(e.kc(), m), k = 0; k < f; k++) if (w = b[k], w.isNaN() && g--, p = a.qE(w.x, q.o, q.v, h), w.x += p, w = 0 != c.gd.ge(m, w, e)) b[k].$c(), g--;
              }
            }
          };

          a.b_ = function (a, b, e) {
            if (0 <= b && !a.Qb(b)) return 0;
            var h = 0;
            if (1 == e.Fb()) return b = 90 * e.ee(), b -= 2 * b / Math.PI * c.Vc.PE_HORIZON_DELTA, e = new c.h(), a.s(e), e.B >= b && (h = 1), e.A <= -b && (h |= 2), h;
            var g = e.Sj();
            if (null == g) return 0;
            var k = null;
            0 <= b && (k = a);

            for (var m = 0; 2 > m; m++) if ((0 < m ? g.getSouthPoleLocation() : g.getNorthPoleLocation()) != c.Bg.PE_POLE_OUTSIDE_BOUNDARY) {
              var n = e.eA(0 < m);
              n.isNaN() || (n = 0 > b ? c.ff.yA(a, n, 0) : c.ff.zA(k, b, n, 0, null), h |= n << m);
            }

            return h;
          };

          a.Aq = function (a, b, e, h, g, k, m, n) {
            var p = a.G(),
                q = b + e;

            if (33 === p) {
              h = g ? a : a.Vf();
              var t = h.Be();
              if (t < b || t >= q || m && t == q) t += Math.ceil((b - t) / e) * e, t = c.J.pk(t, b, q), h.BC(t);
              return h;
            }

            if (a.u()) return a;
            t = new c.h();
            a.s(t);
            if (t.u()) return a;
            var r = new c.Ac();
            t.Sn(r);
            var z = new c.Ac();
            z.I(b, q);
            if (z.contains(r)) return a;
            q = new c.h();
            q.I(t);

            if (550 === p) {
              h = g ? a : a.Vf();
              n = h.Pa(0);
              p = 2 * h.D();
              q = !1;

              for (b = 0; b < p; b += 2) if (t = n.read(b), t < z.ca || t >= z.ha || m && t == z.ha) q = !0, t += Math.ceil((z.ca - t) / e) * e, t = z.wu(t), n.write(b, t);

              q && h.Dc(1993);
              return h;
            }

            if (197 == p) return e = g ? a : a.Vf(), t.Ma(q), e.Gp(t), e;
            var v = .1 * Math.max(t.fa(), t.N());
            q.O(0, v);
            m = a;
            z = h.re(0);
            a = c.ei.local();

            for (g = new c.Hd();;) {
              var x = Math.floor((r.ca - b) / e),
                  B = Math.ceil((r.ha - b) / e);

              if (3 < B - x) {
                x = Math.floor(.5 * (B + x));
                q.o = t.o - v;
                q.v = b + e * x;
                var y = c.uh.clip(m, q, z, k, n);
                q.o = q.v;
                q.v = t.v + v;
                var A = c.uh.clip(m, q, z, k, n);
                g.Ag((x - B) * e, 0);
                A.Xc(g);
                1736 == p ? m = a.V(y, A, h, null) : (m = y, m.add(A, !1));
                m.s(t);
                t.Sn(r);
              } else break;
            }

            q.o = b;
            q.v = b + e;
            b = new c.h();
            b.I(q);
            b.O(z, 0);
            b = Math.floor((t.o - q.o) / e) * e;
            0 != b ? (q.move(b, 0), g.Ag(-b, 0)) : g.qC();
            b = 1607 == p ? new c.Ua(m.description) : new c.Ja(m.description);
            k = new c.h();

            for (r = new c.h(); t.v > q.o;) {
              v = c.uh.clip(m, q, z, 0, n);
              v.s(r);
              if (1607 == p ? !v.u() && (r.N() > z || r.fa() > z) : !v.u() && (1736 != p || r.N() > z)) v.Xc(g), v.s(r), b.s(k), k.O(z, z), k.Yb(r) && 1736 == p ? b = a.V(b, v, h, null) : b.add(v, !1);
              q.move(e, 0);
              g.shift(-e, 0);
            }

            return b;
          };

          a.Uu = function (a, b, e, h) {
            for (var g = e + h, k = 0; k < b; k++) {
              var m = a[k].x;
              e <= m && m < g || !(m < e || m > g || m == g) || (m += Math.ceil((e - m) / h) * h, m = c.J.pk(m, e, g), a[k].x = m);
            }
          };

          a.Xm = function (b, f, e, h, g, k) {
            if (!f.Jc()) throw c.g.X("fold_into_360_degree_range");
            if (b.u()) return b;
            var m;
            if (2 == f.Fb()) e = f.bw(), m = f.aw() - e;else {
              var n = f.ee();
              m = 360 * n;
              e -= 180 * n;
            }
            return a.Aq(b, e, m, f, h, g, !0, k);
          };

          a.BG = function (b, c, e, h) {
            if (2 == e.Fb()) h = e.bw(), e = e.aw() - h;else {
              var g = e.ee();
              e = 360 * g;
              h -= 180 * g;
            }
            a.Uu(b, c, h, e);
          };

          a.Mj = function (a, b) {
            var e = b.qe();

            if (33 == a.G()) {
              var h = a.nf();
              return e.A <= h && h <= e.B ? a : a.Ka();
            }

            h = new c.h();
            a.s(h);
            var g = new c.h();
            g.I(e);
            g.o = h.o;
            g.v = h.v;
            g.O(.01 * g.fa(), 0);
            e = c.na.$y(b, h);
            return g.contains(h) ? a : c.uh.clip(a, g, e, 0, null);
          };

          a.Im = function (a, b, c) {
            return a > b.v && a - b.v < c ? b.v : a < b.o && b.o - a < c ? b.o : a;
          };

          a.AY = function (b, c, e, h) {
            h.x = a.Im(b.x, c, e);
            h.y = b.y;
          };

          a.zY = function (b, c, e, h) {
            for (var g = 0; g < c; g++) b[g].y < e.A || b[g].y > e.B ? b[g].$c() : b[g].x = a.Im(b[g].x, e, h);
          };

          a.xu = function (b, f, e, h) {
            if (!b.u()) {
              var g = b.G();
              if (!h || 1736 != g) if (c.T.gh(g)) {
                h = b.Pa(0);

                for (var g = 0, k = b.D(); g < k; g++) {
                  var m = h.read(2 * g),
                      n = a.Im(m, f, e);
                  n != m && h.write(2 * g, n);
                }

                b.Dc(1993);
              } else if (197 == g) h = new c.h(), b.s(h), h.o = a.Im(h.o, f, e), h.v = a.Im(h.v, f, e), b.Gp(h);else if (33 == g) b.BC(a.Im(b.Be(), f, e));else throw c.g.X("internal error");
            }
          };

          a.qU = function (b, f, e, h) {
            var g = new c.fd(),
                k = g.Jb(b);
            b = c.na.vv(f, b);
            a.ht(g, k, f, b, e, !0, h);
            return g.Se(k);
          };

          a.ht = function (b, f, e, h, l, k, m) {
            if (!e.Jc()) throw c.g.F("invalid call");
            var n = e.qe(),
                p = e.kc(),
                q = p.Kg().getDatum().getSpheroid(),
                p = p.Nd().Ai,
                t = q.getFlattening(),
                q = q.getAxis(),
                t = t * (2 - t),
                r = new c.Ac();
            n.Sn(r);
            var z = null,
                v = [[0, 0], [0, 0]];
            2 == e.Fb() ? (z = e.Kg(), k ? (v[0][0] = a.Nn(m, r), v[0][1] = n.Cq(), c.fi.projToGeog(z, 1, v), n = v[0][0] * p) : (v[0][0] = n.Hk(), v[0][1] = m, c.fi.projToGeog(z, 1, v), n = v[0][1] * p)) : n = m * p;
            if (!k && 0 != n && l != g.GreatElliptic) throw c.g.X("invalid argument");
            var x = new c.ea(),
                B = [0],
                y = new c.b(),
                A = new c.b(),
                C = new c.b(),
                D = [null, null],
                E = new c.b(),
                F = new c.b(),
                G = new c.b(),
                H = new c.b();

            for (f = b.Pb(f); -1 != f; f = b.Sb(f)) {
              var I = b.cb(f);
              b.w(I, E);

              for (var J = !1, M = I = b.U(I); -1 != M; M = b.U(M)) {
                if (M == I) {
                  if (J) break;
                  J = !0;
                }

                b.w(M, F);

                if (k && (h < m - E.x && F.x - m > h || h < m - F.x && E.x - m > h) || !k && (0 != m || h < -E.y && F.y > h || h < -F.y && E.y > h)) {
                  do if (!(Math.abs(E.x - F.x) >= .5 * r.N())) {
                    2 == e.Fb() ? (v[0][0] = a.Nn(E.x, r), v[0][1] = E.y, v[1][0] = a.Nn(F.x, r), v[1][1] = F.y, c.fi.projToGeogCenter(z, 2, v, 0), G.x = v[0][0] * p, G.y = v[0][1] * p, H.y = v[1][1] * p) : (G.x = E.x * p, G.y = E.y * p, H.y = F.y * p);
                    H.x = 2 * (F.x - E.x) * Math.PI / r.N() + G.x;
                    var L;

                    if (k) {
                      A.x = n;
                      A.y = a.FB(q, t, G, H, n, l);
                      if (isNaN(A.y)) break;
                      D[0] = A;
                      L = 1;
                    } else if (l == g.GreatElliptic) {
                      var N = [0, 0];
                      L = c.yy.vA(q, t, G, H, n, N);
                      if (0 == L) break;
                      A.x = N[0];
                      A.y = n;
                      D[0] = A;
                      2 == L && (C.x = N[1], C.y = n, D[1] = C);
                    } else {
                      A.x = a.DB(q, t, G, H, l);
                      if (isNaN(A.x)) break;
                      A.y = 0;
                      D[0] = A;
                      L = 1;
                    }

                    for (var R = -1, N = 0; N < L; N++) {
                      c.mb.Ld(q, t, G.x, G.y, H.x, H.y, x, null, null, l);
                      var O = x.j;
                      c.mb.Ld(q, t, G.x, G.y, D[N].x, D[N].y, x, null, null, l);
                      var Q = x.j;
                      2 == e.Fb() ? (v[0][0] = D[N].x / p, v[0][1] = D[N].y / p, c.fi.geogToProj(z, 1, v), k ? (y.y = v[0][1], y.x = m) : (y.x = a.Zp(v[0][0], E.x, F.x, r), y.y = m)) : k ? (y.x = m, y.y = D[N].y / p) : (y.x = a.Zp(D[N].x / p, E.x, F.x, r), y.y = m);
                      B[0] = 0 < O ? c.J.pk(Q / O, 0, 1) : .5;
                      if (0 == B[0] || 1 == B[0]) break;
                      R > B[0] || (R = b.Ra(M), b.zm(R, B, 1), b.rb(b.U(R), y.x, y.y), R = B[0]);
                    }
                  } while (0);
                }

                E.L(F);
              }
            }
          };

          a.Nn = function (a, b) {
            var c = b.ha - b.ca;
            return b.wu(a - Math.floor((a - b.ca) / c) * c);
          };

          a.Zp = function (a, b, e, h) {
            var g = new c.Ac();
            g.I(b, e);
            e = h.N();
            a = Math.floor((a - b) / e) * e + a;

            for (g = g.Wf(); Math.abs(a - g) > Math.abs(a + e - g);) a += e;

            return a;
          };

          a.Cj = function (a, b, e) {
            a = c.ls.uq(a);
            b = c.ls.Wx(a, c.ls.uq(b));
            e = c.ls.Wx(a, c.ls.uq(e));
            return 0 == e || 0 < b && 0 < e && e <= b || 0 > b && 0 > e && e >= b ? !0 : !1;
          };

          a.FB = function (b, f, e, h, l, k) {
            if (k == g.GreatElliptic) return c.yy.NU(f, e, h, l);
            if (Math.abs(e.x - h.x) >= Math.PI || !a.Cj(e.x, h.x, l)) return NaN;
            var m;
            e.x > h.x ? m = h : (m = e, e = h);
            h = new c.ea();
            var n = new c.ea(),
                p = new c.ea();
            c.mb.Ld(b, f, m.x, m.y, e.x, e.y, n, h, null, k);
            var q = n.j,
                t = 0,
                r = 1,
                z = new c.b();

            for (z.L(m); q * (r - t) > 1E-12 * b;) {
              var v = .5 * (t + r);
              c.mb.Oj(b, f, m.x, m.y, q * v, h.j, n, p, k);
              z.x = n.j;
              z.y = p.j;
              if (z.x == l) break;
              if (a.Cj(m.x, z.x, l)) r = v;else if (a.Cj(e.x, z.x, l)) t = v;else return NaN;
            }

            return z.y;
          };

          a.DB = function (a, b, e, h, l) {
            if (l == g.GreatElliptic) return l = [0, 0], c.yy.vA(a, b, e, h, 0, l), l[0];
            var k;
            e.y > h.y ? k = h : (k = e, e = h);
            h = new c.Ac();
            h.I(k.y, e.y);
            if (!h.contains(0) || Math.abs(k.x - e.x) >= Math.PI) return NaN;
            if (k.x == e.x) return k.x;
            var m = new c.ea(),
                n = new c.ea(),
                p = new c.ea();
            c.mb.Ld(a, b, k.x, k.y, e.x, e.y, n, m, null, l);
            var q = n.j,
                t = 0,
                r = 1,
                z = new c.b();

            for (z.L(k); q * (r - t) > 1E-12 * a;) {
              var v = .5 * (t + r);
              c.mb.Oj(a, b, k.x, k.y, q * v, m.j, n, p, l);
              z.x = n.j;
              z.y = p.j;
              h.I(k.y, z.y);
              if (0 == z.y) break;
              if (h.contains(0)) r = v;else if (h.I(e.y, z.y), h.contains(0)) t = v;else return NaN;
            }

            return z.x;
          };

          a.x_ = function (a, b, e, h, g, k) {
            if (b == g && e != k) throw c.g.F();
            if (0 >= h) return 0;

            if (a.Ho()) {
              k *= 2;
              var m = 2 * e;
              a = 2 * h;

              for (e = 0; e < a; e++) g[k + e] = b[m + e];

              return h;
            }

            if (2 >= h) {
              k = [new c.b(), new c.b()];

              for (m = 0; m < h; m++) k[m].ka(b[2 * m], b[2 * m + 1]);

              b = c.os.local().XY(a, k, h, k);

              for (m = 0; m < h; m++) g[2 * m] = k[m].x, g[2 * m + 1] = k[m].y;

              return b;
            }

            var n = a.je,
                m = a.He,
                p = n.Fb(),
                q = m.Fb();
            if (0 == p && p == q) return a = n.Yi(), m = m.Yi(), m = a / m, a = new c.Hd(), a.Op(m, m), a.YY(b, e, g, k, h), h;
            p = new c.Ed();
            p.Ud(3);
            p.resize(h);

            for (var q = p.Pa(0), t = p.Pa(3), m = 0, r = 2 * e, z = 2 * k; m < h; m++, z += 2) {
              e = b[r++];
              var n = b[r++],
                  v = z;
              if (isNaN(e) || isNaN(n)) n = e = 0, v = -1;
              t.write(m, v);
              q.write(2 * m, e);
              q.write(2 * m + 1, n);
            }

            p.Dc(1993);
            b = c.os.local().V(p, a, null);
            m = 0;

            for (k *= 2; m < h; m++, k += 2) g[k] = NaN, g[k + 1] = NaN;

            if (b.u()) return 0;
            k = b.Pa(3);
            a = b.Pa(0);
            m = p = 0;

            for (h = b.D(); m < h; m++) b = k.read(m), -1 != b && (e = a.read(2 * m), n = a.read(2 * m + 1), g[b] = e, g[b + 1] = n, p++);

            return p;
          };

          a.OJ = function (a, b, e, h) {
            if (!a.je.Jc()) return !1;
            var g = new c.Ed(b.description);
            g.Id(b, 0, -1);
            h = c.os.local().V(g, a, h);
            g = b.D();
            e.Oa();
            if (g != h.D()) return !1;
            var k = new c.h();
            b.s(k);
            var m = new c.h();
            h.s(m);
            k = k.N();
            m = m.N();

            if (0 != k && 0 != m) {
              if (m /= k, a = a.He.Bh().N() / a.je.Bh().N(), 1E-10 < Math.abs(m / a - 1)) return !1;
            } else if (0 != k || 0 != m) return !1;

            e.add(b, !1);
            b = new c.b();

            for (a = 0; a < g; a++) h.w(a, b), e.rb(a, b);

            return !0;
          };

          a.rP = function (a, b) {
            var c = a % (360 * b);
            c >= 180 * b && (c -= 360 * b);
            return c;
          };

          a.MJ = function (b, f, e, h) {
            if (e == n.Clip) {
              var g = f.Mk();
              197 == g.G() ? (e = new c.h(), g.s(e), g = c.na.$y(f, e), b = c.uh.clip(b, e, g, 5E4 * f.bn(), h)) : c.Gj.local().V(1, g, b, f, h) || (b = c.tk.local().V(b, g, f, h), b == g && (b = c.xl.oe(b)));
            } else f.Jc() && (h = new c.h(), b.ac(h), f.qe().contains(h) || (a.xu(b, f.qe(), f.re(0), !0), e == n.PannableFold && (b = a.Mj(b, f)), b = a.Xm(b, f, 0, !0, 1E5 * f.bn(), null)));

            return b;
          };

          a.kF = function (a, b, e) {
            var h = b.Ws();
            if (null == h) return a;
            b = b.kc();
            var g = b.qe().N(),
                k = new c.h();
            a.ac(k);
            var m = new c.Ac();
            k.Sn(m);

            for (var k = h.Fa(), h = null, n = new c.Hd(); k.Ya();) for (; k.Ea();) {
              var p = k.ba(),
                  q = p.xf(0, 0),
                  t = new c.Ac();
              t.I(q.ca, q.ha);

              for (q = 0; t.ha > m.ca;) t.move(-g), --q;

              for (; t.ca <= m.ha;) {
                if (t.Yb(m)) {
                  null == h && (h = new c.Ua());
                  var r = c.Hb.gR(p.ec(), p.Cc());
                  0 != q && (n.Ag(q * g, 0), r.Xc(n));
                  h.dc(r, !0);
                }

                t.move(g);
                ++q;
              }
            }

            return null != h ? (b = c.na.hQ(b, h), b = c.na.Cs(b), c.Ku.lR(a, h, b, e)) : a;
          };

          a.DN = function (b, c, e, h, g) {
            return b >= e && c <= h ? 0 : a.qE(.5 * (c + b), e, h, g);
          };

          a.qE = function (a, b, e, h) {
            return c.Ub.round((.5 * (e + b) - a) / h) * h;
          };

          a.MS = function (b, f, e, h, g, k, m, n) {
            var p = a.Vu(h, g),
                q = p.N(),
                t = q / 360,
                r = a.lE * t,
                z = b.Pa(0),
                v = f.Jc(),
                x = v ? q / f.qe().N() : 0,
                B;
            f = b.Ka();

            for (var y = 0, A = e.aa(); y < A; ++y) {
              var C = v,
                  D = new c.Ua(e.description);
              D.Ti(e, y, !0);
              B = e.Qb(y);
              0 != m && (B = a.bE(B, D, p.B - n, p.B, m)) && (C = !1);
              var E = -1;
              B = D.D();
              var F = !1;
              C && (E = b.wa(y), F = b.Qb(y));
              var G = D.Pa(0),
                  H = 0,
                  I = G.read(0),
                  J = 0,
                  M = 3 * h.re(0),
                  L = !1,
                  N = new c.b();
              N.$c();
              var O = new c.b();
              O.$c();

              for (var Q = !1, P = 1; P < B; ++P) {
                var W = c.b.pa(G.Of(2 * P), G.Of(2 * P + 1)),
                    X = W.x,
                    Z = X + H,
                    T = Z - I;
                W.x = Z;

                if (Math.abs(T) > r) {
                  if (C) {
                    var Y = E + P - 1,
                        aa = E;
                    if (!F || P + 1 < B) aa += P;
                    Y = z.read(2 * Y);
                    aa = (z.read(2 * aa) - Y) * x;
                    Math.abs(T - aa) > 1 * t && (v = !1);
                  }

                  C || (H -= c.Ub.Fl(q, Z - I), Z = X + H, ++J, Q = 0 != H, W.x = Z);
                } else L || c.na.NH(N, O, W, M) && (L = !0);

                Q && G.write(2 * P, Z);
                I = Z;
                N.L(O);
                O.L(W);
              }

              0 != J && D.Dc(1993);
              C = D.Ba(0);
              B = D.Ba(B - 1);
              c.b.Cb(C, B);
              D = a.FS(D, h, isNaN(g) ? 0 : g, k);
              f.add(D, !1);
            }

            b = h.re(0);
            e = p.N() / 180;
            a.xu(f, p, .1 * b, !1);
            return c.uh.clip(f, p, b, e, k);
          };

          a.FS = function (b, c, e, h) {
            return a.Xm(b, c, e, !0, 0, h);
          };

          a.KU = function (a, b, e, h) {
            var g = a.G();
            if (1736 == g) for (b = null != b ? b.re(0) : 0, g = 0; g < h; g++) 1 != c.gd.ge(a, e[g], b) && e[g].$c();else if (197 == g) for (g = 0; g < h; g++) a.hR(e[g]) || e[g].$c();else throw c.g.F();
          };

          a.Dl = function (a, b, e, h) {
            if (32 > e) for (var g = new c.Wa(), k = 0; k < e; k++) g.rb(b[k]), a.Dl(g, h).w(b[k]);else {
              var m = new c.Ed();
              m.Ud(3);
              m.ZE(b, e);
              g = m.Pa(3);

              for (k = 0; k < e; k++) g.write(k, k);

              k = a.Dl(m, h);
              a = k.Pa(0);
              g = k.Pa(3);
              h = c.b.pa(NaN, NaN);

              for (m = 0; m < e; m++) b[m] = h;

              e = k.D();

              for (k = 0; k < e; k++) h = g.read(k), a.fc(2 * k, b[h]);
            }
          };

          a.Cl = function (a, b, e, h) {
            if (32 > e) for (var g = new c.Wa(), k = 0; k < e; k++) g.rb(b[k]), a.Cl(g, h).w(b[k]);else {
              var m = new c.Ed();
              m.Ud(3);
              m.ZE(b, e);
              g = m.Pa(3);

              for (k = 0; k < e; k++) g.write(k, k);

              k = a.Cl(m, h);
              a = k.Pa(0);
              g = k.Pa(3);
              h = c.b.pa(NaN, NaN);

              for (m = 0; m < e; m++) b[m] = h;

              e = k.D();

              for (k = 0; k < e; k++) h = g.read(k), a.fc(2 * k, b[h]);
            }
          };

          a.Z_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
          a.lE = 210;
          return a;
        }();

        c.Ib = b;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.rightSide = 1] = "rightSide";
        })(c.LN || (c.LN = {}));

        var n = function () {
          function g(b, a, d) {
            this.xt = new c.b();
            void 0 === b ? this.up = -1 : (this.xt.L(b), this.up = a, this.Qa = d, this.$w = 0);
          }

          g.prototype.NK = function (b) {
            this.$w = b ? this.$w | 1 : this.$w & -2;
          };

          g.prototype.u = function () {
            return 0 > this.up;
          };

          g.prototype.Oz = function () {
            if (this.u()) throw c.g.X("invalid call");
            return new c.Wa(this.xt.x, this.xt.y);
          };

          g.prototype.Za = function () {
            if (this.u()) throw c.g.X("invalid call");
            return this.up;
          };

          g.prototype.Rz = function () {
            if (this.u()) throw c.g.X("invalid call");
            return this.Qa;
          };

          g.prototype.AA = function () {
            return 0 != (this.$w & 1);
          };

          g.prototype.Ly = function (b, a, d, c) {
            this.xt.x = b;
            this.xt.y = a;
            this.up = d;
            this.Qa = c;
          };

          return g;
        }();

        c.Mm = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function b() {}

          b.prototype.Wn = function (a, b) {
            this.Rh.resize(0);
            this.hj.length = 0;
            this.Vk = -1;
            a.ac(this.gl);
            this.gl.O(b, b);
            this.gl.Yb(this.Mb.Ha) ? ((this.rt = c.T.Oc(a.G())) ? (this.gJ = a.ec(), this.fJ = a.Cc(), this.ta = b) : this.ta = NaN, this.Rh.add(this.Mb.Mf), this.hj.push(this.Mb.Ha), this.Lt = this.Mb.Us(this.Mb.Mf)) : this.Lt = -1;
          };

          b.prototype.Ni = function (a, b) {
            this.Rh.resize(0);
            this.hj.length = 0;
            this.Vk = -1;
            this.gl.I(a);
            this.gl.O(b, b);
            this.ta = NaN;
            this.gl.Yb(this.Mb.Ha) ? (this.Rh.add(this.Mb.Mf), this.hj.push(this.Mb.Ha), this.Lt = this.Mb.Us(this.Mb.Mf), this.rt = !1) : this.Lt = -1;
          };

          b.prototype.next = function () {
            if (0 == this.Rh.size) return -1;
            this.Vk = this.Lt;
            var a = null,
                b = null,
                f,
                e = null,
                h = null;
            this.rt && (a = new c.b(), b = new c.b(), e = new c.h());

            for (var l = !1; !l;) {
              for (; -1 != this.Vk;) {
                f = this.Mb.Kz(this.Mb.Tv(this.Vk));
                if (f.Yb(this.gl)) if (this.rt) {
                  if (a.L(this.gJ), b.L(this.fJ), e.I(f), e.O(this.ta, this.ta), 0 < e.gz(a, b)) {
                    l = !0;
                    break;
                  }
                } else {
                  l = !0;
                  break;
                }
                this.Vk = this.Mb.$v(this.Vk);
              }

              if (-1 == this.Vk) {
                f = this.Rh.Fc();
                var k = this.hj[this.hj.length - 1];
                null == h && (h = [], h[0] = new c.h(), h[1] = new c.h(), h[2] = new c.h(), h[3] = new c.h());
                g.uK(k, h);
                this.Rh.Pf();
                this.hj.length = this.hj.length - 1;

                for (k = 0; 4 > k; k++) {
                  var m = this.Mb.Eq(f, k);
                  if (-1 != m && 0 < this.Mb.QT(m) && h[k].Yb(this.gl)) if (this.rt) {
                    if (a.L(this.gJ), b.L(this.fJ), e.I(h[k]), e.O(this.ta, this.ta), 0 < e.gz(a, b)) {
                      var n = new c.h();
                      n.I(h[k]);
                      this.Rh.add(m);
                      this.hj.push(n);
                    }
                  } else n = new c.h(), n.I(h[k]), this.Rh.add(m), this.hj.push(n);
                }

                if (0 == this.Rh.size) return -1;
                this.Vk = this.Mb.Us(this.Rh.get(this.Rh.size - 1));
              }
            }

            this.Lt = this.Mb.$v(this.Vk);
            return this.Vk;
          };

          b.fR = function (a, d, f) {
            var e = new b();
            e.Mb = a;
            e.gl = new c.h();
            e.Rh = new c.ia(0);
            e.hj = [];
            e.Wn(d, f);
            return e;
          };

          b.eR = function (a, d, f) {
            var e = new b();
            e.Mb = a;
            e.gl = new c.h();
            e.Rh = new c.ia(0);
            e.hj = [];
            e.Ni(d, f);
            return e;
          };

          b.dR = function (a) {
            var d = new b();
            d.Mb = a;
            d.gl = new c.h();
            d.Rh = new c.ia(0);
            d.hj = [];
            return d;
          };

          return b;
        }();

        c.g_ = n;

        var g = function () {
          function b(a, b) {
            this.Lf = new c.ad(11);
            this.yi = new c.ad(5);
            this.st = [];
            this.Ww = new c.ia(0);
            this.Ha = new c.h();
            this.ql(a, b);
          }

          b.prototype.reset = function (a, b) {
            this.Lf.Vi(!1);
            this.yi.Vi(!1);
            this.st.length = 0;
            this.Ww.clear(!1);
            this.ql(a, b);
          };

          b.prototype.eh = function (a, b) {
            return this.mw(a, b, 0, this.Ha, this.Mf, !1, -1);
          };

          b.prototype.lw = function (a, b, c) {
            c = -1 == c ? this.Mf : this.gH(c);
            var e = this.fa(c),
                h = this.gT(c);
            return this.mw(a, b, e, h, c, !1, -1);
          };

          b.prototype.ja = function (a) {
            return this.bT(a);
          };

          b.prototype.RG = function (a) {
            return this.Kz(this.Tv(a));
          };

          b.prototype.fa = function (a) {
            return this.Vv(a);
          };

          b.prototype.gT = function (a) {
            var b = new c.h();
            b.I(this.Ha);
            var f = this.Vv(a);
            a = this.bH(a);

            for (var e = 0; e < 2 * f; e += 2) {
              var h = c.J.truncate(3 & a >> e);
              0 == h ? (b.o = .5 * (b.o + b.v), b.A = .5 * (b.A + b.B)) : 1 == h ? (b.v = .5 * (b.o + b.v), b.A = .5 * (b.A + b.B)) : (2 == h ? b.v = .5 * (b.o + b.v) : b.o = .5 * (b.o + b.v), b.B = .5 * (b.A + b.B));
            }

            return b;
          };

          b.prototype.QT = function (a) {
            return this.lA(a);
          };

          b.prototype.qT = function (a, b) {
            return n.fR(this, a, b);
          };

          b.prototype.Yz = function (a, b) {
            return n.eR(this, a, b);
          };

          b.prototype.mf = function () {
            return n.dR(this);
          };

          b.prototype.ql = function (a, b) {
            if (0 > b || 32 < 2 * b) throw c.g.F("invalid height");
            this.AV = b;
            this.Ha.I(a);
            this.Mf = this.Lf.Pe();
            this.Ux(this.Mf, 0);
            this.Ox(this.Mf, 0);
            this.EK(this.Mf, 0);
            this.AK(this.Mf, 0);
          };

          b.prototype.mw = function (a, d, f, e, h, g, k) {
            if (!e.contains(d)) return 0 == f ? -1 : this.mw(a, d, 0, this.Ha, this.Mf, g, k);
            if (!g) for (var m = h; -1 != m; m = this.CT(m)) this.Ux(m, this.lA(m) + 1);
            m = new c.h();
            m.I(e);
            e = h;
            var n = [];
            n[0] = new c.h();
            n[1] = new c.h();
            n[2] = new c.h();

            for (n[3] = new c.h(); f < this.AV && this.jQ(e); f++) {
              b.uK(m, n);

              for (var p = !1, q = 0; 4 > q; q++) if (n[q].contains(d)) {
                var p = !0,
                    t = this.Eq(e, q);
                -1 == t && (t = this.rR(e, q));
                this.Ux(t, this.lA(t) + 1);
                e = t;
                m.I(n[q]);
                break;
              }

              if (!p) break;
            }

            return this.oU(a, d, f, m, e, g, h, k);
          };

          b.prototype.oU = function (a, b, c, e, h, g, k, m) {
            var n = this.XG(h);

            if (g) {
              if (h == k) return m;
              this.QR(m);
              g = m;
            } else g = this.tR(), this.oC(g, a), this.KX(this.Tv(g), b);

            this.hY(g, h);
            -1 != n ? (this.Sx(g, n), this.Px(n, g)) : this.wK(h, g);
            this.rC(h, g);
            this.Ox(h, this.Yv(h) + 1);
            this.iQ(h) && this.CS(c, e, h);
            return g;
          };

          b.prototype.QR = function (a) {
            var b = this.gH(a),
                c = this.XG(b),
                e = this.IT(a),
                h = this.$v(a);
            this.Us(b) == a ? (-1 != h ? this.Sx(h, -1) : this.rC(b, -1), this.wK(b, h)) : c == a ? (this.Px(e, -1), this.rC(b, e)) : (this.Sx(h, e), this.Px(e, h));
            this.Sx(a, -1);
            this.Px(a, -1);
            this.Ox(b, this.Yv(b) - 1);
          };

          b.uK = function (a, b) {
            var c = .5 * (a.o + a.v),
                e = .5 * (a.A + a.B);
            b[0].I(c, e, a.v, a.B);
            b[1].I(a.o, e, c, a.B);
            b[2].I(a.o, a.A, c, e);
            b[3].I(c, a.A, a.v, e);
          };

          b.prototype.iQ = function (a) {
            return 8 == this.Yv(a) && !this.tH(a);
          };

          b.prototype.CS = function (a, b, c) {
            var e,
                h,
                g = this.Us(c);

            do h = this.Tv(g), e = this.yi.S(g, 0), h = this.Kz(h), this.mw(e, h, a, b, c, !0, g), g = e = this.$v(g); while (-1 != g);
          };

          b.prototype.jQ = function (a) {
            return 8 <= this.Yv(a) || this.tH(a);
          };

          b.prototype.tH = function (a) {
            return -1 != this.Eq(a, 0) || -1 != this.Eq(a, 1) || -1 != this.Eq(a, 2) || -1 != this.Eq(a, 3);
          };

          b.prototype.rR = function (a, b) {
            var c = this.Lf.Pe();
            this.OX(a, b, c);
            this.Ux(c, 0);
            this.Ox(c, 0);
            this.sl(c, a);
            this.AK(c, this.Vv(a) + 1);
            this.EK(c, b << 2 * this.Vv(a) | this.bH(a));
            return c;
          };

          b.prototype.tR = function () {
            var a = this.yi.Pe(),
                b;
            0 < this.Ww.size ? (b = this.Ww.Fc(), this.Ww.Pf()) : (b = this.st.length, this.st.push(new c.h()));
            this.LX(a, b);
            return a;
          };

          b.prototype.Eq = function (a, b) {
            return this.Lf.S(a, b);
          };

          b.prototype.OX = function (a, b, c) {
            this.Lf.P(a, b, c);
          };

          b.prototype.Us = function (a) {
            return this.Lf.S(a, 4);
          };

          b.prototype.wK = function (a, b) {
            this.Lf.P(a, 4, b);
          };

          b.prototype.XG = function (a) {
            return this.Lf.S(a, 5);
          };

          b.prototype.rC = function (a, b) {
            this.Lf.P(a, 5, b);
          };

          b.prototype.bH = function (a) {
            return this.Lf.S(a, 6);
          };

          b.prototype.EK = function (a, b) {
            this.Lf.P(a, 6, b);
          };

          b.prototype.Yv = function (a) {
            return this.Lf.S(a, 7);
          };

          b.prototype.lA = function (a) {
            return this.Lf.S(a, 8);
          };

          b.prototype.Ox = function (a, b) {
            this.Lf.P(a, 7, b);
          };

          b.prototype.Ux = function (a, b) {
            this.Lf.P(a, 8, b);
          };

          b.prototype.CT = function (a) {
            return this.Lf.S(a, 9);
          };

          b.prototype.sl = function (a, b) {
            this.Lf.P(a, 9, b);
          };

          b.prototype.Vv = function (a) {
            return this.Lf.S(a, 10);
          };

          b.prototype.AK = function (a, b) {
            this.Lf.P(a, 10, b);
          };

          b.prototype.bT = function (a) {
            return this.yi.S(a, 0);
          };

          b.prototype.oC = function (a, b) {
            this.yi.P(a, 0, b);
          };

          b.prototype.IT = function (a) {
            return this.yi.S(a, 1);
          };

          b.prototype.$v = function (a) {
            return this.yi.S(a, 2);
          };

          b.prototype.Sx = function (a, b) {
            this.yi.P(a, 1, b);
          };

          b.prototype.Px = function (a, b) {
            this.yi.P(a, 2, b);
          };

          b.prototype.gH = function (a) {
            return this.yi.S(a, 3);
          };

          b.prototype.hY = function (a, b) {
            this.yi.P(a, 3, b);
          };

          b.prototype.Tv = function (a) {
            return this.yi.S(a, 4);
          };

          b.prototype.LX = function (a, b) {
            this.yi.P(a, 4, b);
          };

          b.prototype.Kz = function (a) {
            return this.st[a];
          };

          b.prototype.KX = function (a, b) {
            this.st[a].I(b);
          };

          return b;
        }();

        c.gq = g;
      })(r || (r = {}));

      (function (c) {
        (function (b) {
          b[b.Outside = 0] = "Outside";
          b[b.Inside = 1] = "Inside";
          b[b.Border = 2] = "Border";
        })(c.AM || (c.AM = {}));

        var n = function () {
          function b(a, b) {
            this.Dh = null;
            this.OV = b;
            this.Dh = a;
          }

          b.prototype.Kx = function (a, b) {
            this.uI != b && a.flush();
            this.uI = b;
          };

          b.prototype.qG = function (a, b) {
            for (var c = 0; c < b;) for (var e = a[c++], h = a[c++], g = a[c++] * this.OV; e < h; e++) this.Dh[g + (e >> 4)] |= this.uI << 2 * (e & 15);
          };

          return b;
        }();

        c.i_ = n;

        var g = function () {
          function b(a, b, f) {
            this.Dh = null;
            this.zB = this.jl = this.pJ = this.nJ = this.At = this.CI = this.hg = this.Hn = 0;
            this.qj = this.kl = this.$l = null;
            a instanceof c.Mu ? this.kw(a, b, f) : this.kw(a, b, f);
          }

          b.create = function (a, d, f) {
            if (!b.bz(a)) throw c.g.F();
            return b.fe(a, d, f);
          };

          b.Cj = function (a, d, f) {
            if (!b.bz(a)) throw c.g.F();
            return b.se(a, d, f);
          };

          b.lX = function (a) {
            switch (a) {
              case 0:
                a = 1024;
                break;

              case 1:
                a = 16384;
                break;

              case 2:
                a = 262144;
                break;

              default:
                throw c.g.X("Internal Error");
            }

            return a;
          };

          b.bz = function (a) {
            return a.u() || 1607 != a.G() && 1736 != a.G() ? !1 : !0;
          };

          b.prototype.nS = function (a, b) {
            for (var f = b.Fa(), e = new c.b(), h = new c.b(); f.Ya();) for (; f.Ea();) {
              var g = f.ba();
              if (322 != g.G()) throw c.g.X("Internal Error");
              a.$h(g.ec(), e);
              a.$h(g.Cc(), h);
              this.qj.Qy(e.x, e.y, h.x, h.y);
            }

            this.qj.YJ(c.zy.py);
          };

          b.prototype.oS = function () {
            throw c.g.X("Internal Error");
          };

          b.prototype.Bz = function (a, b) {
            for (var f = 1; 4 > f; f++) a.Qy(b[f - 1].x, b[f - 1].y, b[f].x, b[f].y);

            a.Qy(b[3].x, b[3].y, b[0].x, b[0].y);
            this.qj.YJ(c.zy.py);
          };

          b.prototype.dL = function (a, b, f) {
            for (var e = [null, null, null, null], h = 0; h < e.length; h++) e[h] = new c.b();

            b = b.Fa();
            f = this.kl.ZY(f) + 1.5;

            for (var h = new c.b(), g = new c.b(), k = new c.b(), m = new c.b(), n = new c.b(), p = new c.h(), q = new c.b(); b.Ya();) {
              var t = !1,
                  r = !0;

              for (q.ka(0, 0); b.Ea();) {
                var z = b.ba();
                m.x = z.ua;
                m.y = z.ra;
                n.x = z.sa;
                n.y = z.oa;
                p.Oa();
                p.Nb(m.x, m.y);
                p.ml(n.x, n.y);

                if (this.$l.TH(p)) {
                  this.kl.$h(n, n);
                  r ? (this.kl.$h(m, m), q.L(m), r = !1) : m.L(q);
                  h.zc(n, m);
                  var z = h.length(),
                      v = .5 > z;
                  0 == z ? h.ka(1, 0) : (v || q.L(n), h.scale(f / z), g.ka(-h.y, h.x), k.ka(h.y, -h.x), m.sub(h), n.add(h), e[0].add(m, g), e[1].add(m, k), e[2].add(n, k), e[3].add(n, g), v ? t = !0 : this.Bz(a, e));
                } else t && (this.Bz(a, e), t = !1), r = !0;
              }

              t && this.Bz(a, e);
            }
          };

          b.prototype.VC = function (a) {
            return c.J.truncate(a * this.CI + this.nJ);
          };

          b.prototype.WC = function (a) {
            return c.J.truncate(a * this.At + this.pJ);
          };

          b.fe = function (a, d, c) {
            return new b(a, d, c);
          };

          b.se = function (a, d, c) {
            return new b(a, d, c);
          };

          b.prototype.kw = function (a, b, f) {
            this.hg = Math.max(c.J.truncate(2 * Math.sqrt(f) + .5), 64);
            this.Hn = c.J.truncate((2 * this.hg + 31) / 32);
            this.$l = new c.h();
            this.jl = b;
            f = 0;

            for (var e = this.hg, h = this.Hn; 8 <= e;) f += e * h, e = c.J.truncate(e / 2), h = c.J.truncate((2 * e + 31) / 32);

            this.Dh = c.J.gf(f, 0);
            this.qj = new c.zy();
            f = new n(this.Dh, this.Hn, this);
            this.qj.wY(this.hg, this.hg, f);
            a.s(this.$l);
            this.$l.O(b, b);
            var e = new c.h(),
                h = c.h.pa(1, 1, this.hg - 2, this.hg - 2),
                g = b * h.N();
            b *= h.fa();
            e.I(this.$l.Wf(), Math.max(g, this.$l.N()), Math.max(b, this.$l.fa()));
            this.zB = this.jl;
            this.kl = new c.Hd();
            this.kl.lU(e, h);
            new c.Hd();

            switch (a.G()) {
              case 550:
                f.Kx(this.qj, 2);
                this.oS();
                break;

              case 1607:
                f.Kx(this.qj, 2);
                this.dL(this.qj, a, this.zB);
                break;

              case 1736:
                f.Kx(this.qj, 1), this.nS(this.kl, a), f.Kx(this.qj, 2), this.dL(this.qj, a, this.zB);
            }

            this.CI = this.kl.lb;
            this.At = this.kl.gb;
            this.nJ = this.kl.Wb;
            this.pJ = this.kl.bc;
            this.aQ();
          };

          b.prototype.aQ = function () {
            this.qj.flush();

            for (var a = 0, b = this.hg * this.Hn, f = this.hg, e = c.J.truncate(this.hg / 2), h = this.Hn, g = c.J.truncate((2 * e + 31) / 32); 8 < f;) {
              for (f = 0; f < e; f++) for (var k = 2 * f, m = 2 * f + 1, n = 0; n < e; n++) {
                var p = 2 * n,
                    q = 2 * n + 1,
                    t = p >> 4,
                    p = 2 * (p & 15),
                    r = q >> 4,
                    q = 2 * (q & 15),
                    z = this.Dh[a + h * k + t] >> p & 3,
                    z = z | this.Dh[a + h * k + r] >> q & 3,
                    z = z | this.Dh[a + h * m + t] >> p & 3,
                    z = z | this.Dh[a + h * m + r] >> q & 3;
                this.Dh[b + g * f + (n >> 4)] |= z << 2 * (n & 15);
              }

              f = e;
              h = g;
              a = b;
              e = c.J.truncate(f / 2);
              g = c.J.truncate((2 * e + 31) / 32);
              b = a + h * f;
            }
          };

          b.prototype.rm = function (a, b) {
            if (!this.$l.contains(a, b)) return 0;
            var c = this.VC(a),
                e = this.WC(b);
            if (0 > c || c >= this.hg || 0 > e || e >= this.hg) return 0;
            c = this.Dh[this.Hn * e + (c >> 4)] >> 2 * (c & 15) & 3;
            return 0 == c ? 0 : 1 == c ? 1 : 2;
          };

          b.prototype.Rn = function (a) {
            if (!a.Ma(this.$l)) return 0;
            var b = this.VC(a.o),
                f = this.VC(a.v),
                e = this.WC(a.A);
            a = this.WC(a.B);
            0 > b && (b = 0);
            0 > e && (e = 0);
            f >= this.hg && (f = this.hg - 1);
            a >= this.hg && (a = this.hg - 1);
            if (b > f || e > a) return 0;

            for (var h = Math.max(f - b, 1) * Math.max(a - e, 1), g = 0, k = this.Hn, m = this.hg, n = 0;;) {
              if (32 > h || 16 > m) {
                for (h = e; h <= a; h++) for (var p = b; p <= f; p++) if (n = this.Dh[g + k * h + (p >> 4)] >> 2 * (p & 15) & 3, 1 < n) return 2;

                if (0 == n) return 0;
                if (1 == n) return 1;
              }

              g += k * m;
              m = c.J.truncate(m / 2);
              k = c.J.truncate((2 * m + 31) / 32);
              b = c.J.truncate(b / 2);
              e = c.J.truncate(e / 2);
              f = c.J.truncate(f / 2);
              a = c.J.truncate(a / 2);
              h = Math.max(f - b, 1) * Math.max(a - e, 1);
            }
          };

          b.prototype.LT = function () {
            return this.hg * this.Hn;
          };

          return b;
        }();

        c.xy = g;
      })(r || (r = {}));

      (function (c) {
        (function (b) {
          b[b.contains = 1] = "contains";
          b[b.within = 2] = "within";
          b[b.equals = 3] = "equals";
          b[b.disjoint = 4] = "disjoint";
          b[b.touches = 8] = "touches";
          b[b.crosses = 16] = "crosses";
          b[b.overlaps = 32] = "overlaps";
          b[b.unknown = 0] = "unknown";
          b[b.intersects = 1073741824] = "intersects";
        })(c.SN || (c.SN = {}));

        var n = function () {
          function b() {}

          b.pa = function (a, d, c, e, h, g, k, m) {
            var n = new b();
            n.bx = a;
            n.zn = d;
            n.ek = c;
            n.rj = e;
            n.RI = h;
            n.G_ = g;
            n.H_ = k;
            n.I_ = m;
            return n;
          };

          return b;
        }(),
            g = function () {
          function b() {}

          b.UE = function (a, d, f) {
            if (!b.cz(a)) return !1;
            var e = c.na.ah(d, a, !1);
            d = !1;
            c.wl.KF(a) && (d = d || a.Xu(e, f));
            e = a.G();
            1736 != e && 1607 != e || !c.wl.IF(a) || 0 == f || (d = d || a.Hj(f));
            1736 != e && 1607 != e || !c.wl.JF(a) || 0 == f || (d = d || a.CO());
            return d;
          };

          b.cz = function (a) {
            return c.wl.KF(a) || c.wl.IF(a) || c.wl.JF(a);
          };

          return b;
        }();

        c.Gu = g;

        g = function () {
          function b() {
            this.Ph = [];
          }

          b.$B = function (a, d, f, e, h) {
            var g = a.G(),
                k = d.G();

            if (197 == g) {
              if (197 == k) return b.sO(a, d, f, e);
              if (33 == k) return 2 == e ? e = 1 : 1 == e && (e = 2), b.lG(d, a, f, e);
            } else if (33 == g) {
              if (197 == k) return b.lG(a, d, f, e);
              if (33 == k) return b.vO(a, d, f, e);
            }

            if (a.u() || d.u()) return 4 == e ? !0 : !1;
            var m = new c.h();
            a.s(m);
            var n = new c.h();
            d.s(n);
            var p = new c.h();
            p.I(m);
            p.Nb(n);
            f = c.na.be(f, p, !1);
            if (b.Ek(m, n, f)) return 4 == e ? !0 : !1;
            m = !1;
            c.xl.Oc(g) && (g = new c.Ua(a.description), g.dc(a, !0), a = g, g = 1607);
            c.xl.Oc(k) && (k = new c.Ua(d.description), k.dc(d, !0), d = k, k = 1607);

            if (197 != g && 197 != k) {
              if (a.tb() < d.tb() || 33 == g && 550 == k) 2 == e ? e = 1 : 1 == e && (e = 2);
            } else 1736 != g && 197 != k && (2 == e ? e = 1 : 1 == e && (e = 2));

            switch (g) {
              case 1736:
                switch (k) {
                  case 1736:
                    m = b.gu(a, d, f, e, h);
                    break;

                  case 1607:
                    m = b.On(a, d, f, e, h);
                    break;

                  case 33:
                    m = b.fu(a, d, f, e, h);
                    break;

                  case 550:
                    m = b.eu(a, d, f, e, h);
                    break;

                  case 197:
                    m = b.eD(a, d, f, e, h);
                }

                break;

              case 1607:
                switch (k) {
                  case 1736:
                    m = b.On(d, a, f, e, h);
                    break;

                  case 1607:
                    m = b.NB(a, d, f, e, h);
                    break;

                  case 33:
                    m = b.iu(a, d, f, e, h);
                    break;

                  case 550:
                    m = b.hu(a, d, f, e, h);
                    break;

                  case 197:
                    m = b.sD(a, d, f, e);
                }

                break;

              case 33:
                switch (k) {
                  case 1736:
                    m = b.fu(d, a, f, e, h);
                    break;

                  case 1607:
                    m = b.iu(d, a, f, e, h);
                    break;

                  case 550:
                    m = b.au(d, a, f, e, h);
                }

                break;

              case 550:
                switch (k) {
                  case 1736:
                    m = b.eu(d, a, f, e, h);
                    break;

                  case 1607:
                    m = b.hu(d, a, f, e, h);
                    break;

                  case 550:
                    m = b.EB(a, d, f, e, h);
                    break;

                  case 33:
                    m = b.au(a, d, f, e, h);
                    break;

                  case 197:
                    m = b.RJ(a, d, f, e);
                }

                break;

              case 197:
                switch (k) {
                  case 1736:
                    m = b.eD(d, a, f, e, h);
                    break;

                  case 1607:
                    m = b.sD(d, a, f, e);
                    break;

                  case 550:
                    m = b.RJ(d, a, f, e);
                }

            }

            return m;
          };

          b.sO = function (a, d, f, e) {
            if (a.u() || d.u()) return 4 == e ? !0 : !1;
            var h = new c.h(),
                g = new c.h(),
                k = new c.h();
            a.s(h);
            d.s(g);
            k.I(h);
            k.Nb(g);
            a = c.na.be(f, k, !1);

            switch (e) {
              case 4:
                return b.Ek(h, g, a);

              case 2:
                return b.SE(g, h, a);

              case 1:
                return b.SE(h, g, a);

              case 3:
                return b.We(h, g, a);

              case 8:
                return b.DP(h, g, a);

              case 32:
                return b.aP(h, g, a);

              case 16:
                return b.EL(h, g, a);
            }

            return !1;
          };

          b.lG = function (a, d, f, e) {
            if (a.u() || d.u()) return 4 == e ? !0 : !1;
            a = a.w();
            var h = new c.h(),
                g = new c.h();
            d.s(h);
            g.I(a);
            g.Nb(h);
            d = c.na.be(f, g, !1);

            switch (e) {
              case 4:
                return b.Dx(a, h, d);

              case 2:
                return b.YC(a, h, d);

              case 1:
                return b.EN(a, h, d);

              case 3:
                return b.qL(a, h, d);

              case 8:
                return b.XC(a, h, d);
            }

            return !1;
          };

          b.vO = function (a, d, f, e) {
            if (a.u() || d.u()) return 4 == e ? !0 : !1;
            a = a.w();
            d = d.w();
            var h = new c.h();
            h.I(a);
            h.Nb(d);
            f = c.na.be(f, h, !1);

            switch (e) {
              case 4:
                return b.NN(a, d, f);

              case 2:
                return b.eL(d, a, f);

              case 1:
                return b.eL(a, d, f);

              case 3:
                return b.yL(a, d, f);
            }

            return !1;
          };

          b.gu = function (a, d, c, e, h) {
            switch (e) {
              case 4:
                return b.iS(a, d, c);

              case 2:
                return b.Ex(d, a, c, h);

              case 1:
                return b.Ex(a, d, c, h);

              case 3:
                return b.jU(a, d, c);

              case 8:
                return b.mW(a, d, c);

              case 32:
                return b.iV(a, d, c, h);
            }

            return !1;
          };

          b.On = function (a, d, c, e, h) {
            switch (e) {
              case 4:
                return b.GS(a, d, c);

              case 1:
                return b.MB(a, d, c, h);

              case 8:
                return b.wW(a, d, c, h);

              case 16:
                return b.EP(a, d, c);
            }

            return !1;
          };

          b.fu = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.XR(a, d, c);

              case 1:
                return b.xO(a, d, c);

              case 8:
                return b.eW(a, d, c);
            }

            return !1;
          };

          b.eu = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.CR(a, d, c);

              case 1:
                return b.uO(a, d, c);

              case 8:
                return b.TV(a, d, c);

              case 16:
                return b.uP(a, d, c);
            }

            return !1;
          };

          b.eD = function (a, d, c, e, h) {
            if (b.mQ(a, d, c)) return 4 == e ? !0 : !1;
            if (4 == e) return !1;

            switch (e) {
              case 2:
                return b.eX(a, d, c);

              case 1:
                return b.rO(a, d, c);

              case 3:
                return b.gU(a, d, c);

              case 8:
                return b.lV(a, d, c, h);

              case 32:
                return b.fV(a, d, c, h);

              case 16:
                return b.FL(a, d, c, h);
            }

            return !1;
          };

          b.NB = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.yZ(a, d, c);

              case 2:
                return b.oD(d, a, c);

              case 1:
                return b.oD(a, d, c);

              case 3:
                return b.PL(a, d, c);

              case 8:
                return b.uD(a, d, c);

              case 32:
                return b.dM(a, d, c);

              case 16:
                return b.qD(a, d, c);
            }

            return !1;
          };

          b.iu = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.wZ(a, d, c);

              case 1:
                return b.SY(a, d, c);

              case 8:
                return b.zM(a, d, c);
            }

            return !1;
          };

          b.hu = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.uZ(a, d, c);

              case 1:
                return b.HX(a, d, c);

              case 8:
                return b.oM(a, d, c);

              case 16:
                return b.nZ(a, d, c);
            }

            return !1;
          };

          b.sD = function (a, d, c, e) {
            if (b.qZ(a, d, c)) return 4 == e ? !0 : !1;
            if (4 == e) return !1;

            switch (e) {
              case 2:
                return b.EM(a, d, c);

              case 1:
                return b.oX(a, d, c);

              case 3:
                return b.JL(a, d, c);

              case 8:
                return b.kM(a, d, c);

              case 32:
                return b.$L(a, d, c);

              case 16:
                return b.fZ(a, d, c);
            }

            return !1;
          };

          b.EB = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.SL(a, d, c);

              case 2:
                return b.sJ(d, a, c);

              case 1:
                return b.sJ(a, d, c);

              case 3:
                return b.cM(a, d, c);

              case 32:
                return b.IM(a, d, c);
            }

            return !1;
          };

          b.au = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.AJ(a, d, c);

              case 2:
                return b.TM(a, d, c);

              case 1:
                return b.pZ(a, d, c);

              case 3:
                return b.zx(a, d, c);
            }

            return !1;
          };

          b.RJ = function (a, d, c, e) {
            switch (e) {
              case 4:
                return b.OL(a, d, c);

              case 2:
                return b.PM(a, d, c);

              case 1:
                return b.mZ(a, d, c);

              case 3:
                return b.ZL(a, d, c);

              case 8:
                return b.MM(a, d, c);

              case 16:
                return b.IL(a, d, c);
            }

            return !1;
          };

          b.jU = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.We(e, h, f)) return !1;
            e = b.vc(a, d, !1);
            if (4 == e || 1 == e || 2 == e) return !1;
            if (b.qJ(a, d, f)) return !0;
            e = a.Rb();
            h = d.Rb();
            return Math.abs(e - h) > 4 * Math.max(a.D(), d.D()) * f ? !1 : b.PB(a, d, f, !0);
          };

          b.iS = function (a, d, c) {
            var e = b.vc(a, d, !0);
            return 4 == e ? !0 : 1 == e || 2 == e || 1073741824 == e ? !1 : b.cD(a, d, c);
          };

          b.mW = function (a, d, c) {
            var e = b.vc(a, d, !1);
            return 4 == e || 1 == e || 2 == e ? !1 : b.iD(a, d, c, null);
          };

          b.iV = function (a, d, c, e) {
            var h = b.vc(a, d, !1);
            return 4 == h || 1 == h || 2 == h ? !1 : b.dD(a, d, c, e);
          };

          b.Ex = function (a, d, f, e) {
            var h = new c.h(),
                g = new c.h();
            a.s(h);
            d.s(g);
            if (!b.Ec(h, g, f)) return !1;
            h = b.vc(a, d, !1);
            return 4 == h || 2 == h ? !1 : 1 == h ? !0 : b.CL(a, d, f, e);
          };

          b.GS = function (a, d, c) {
            var e = b.vc(a, d, !0);
            return 4 == e ? !0 : 1 == e || 1073741824 == e ? !1 : b.cD(a, d, c);
          };

          b.wW = function (a, d, c, e) {
            var h = b.vc(a, d, !1);
            return 4 == h || 1 == h ? !1 : b.kD(a, d, c, e);
          };

          b.EP = function (a, d, c) {
            var e = b.vc(a, d, !1);
            return 4 == e || 1 == e ? !1 : b.bD(a, d, c, null);
          };

          b.MB = function (a, d, f, e) {
            var h = new c.h(),
                g = new c.h();
            a.s(h);
            d.s(g);
            if (!b.Ec(h, g, f)) return !1;
            h = b.vc(a, d, !1);
            return 4 == h ? !1 : 1 == h ? !0 : b.DL(a, d, f, e);
          };

          b.XR = function (a, b, f) {
            return 0 == c.gd.WH(a, b, f) ? !0 : !1;
          };

          b.eW = function (a, d, c) {
            d = d.w();
            return b.fD(a, d, c);
          };

          b.xO = function (a, d, c) {
            d = d.w();
            return b.BL(a, d, c);
          };

          b.CR = function (a, d, f) {
            var e = b.vc(a, d, !1);
            if (4 == e) return !0;
            if (1 == e) return !1;
            e = new c.h();
            a.s(e);
            e.O(f, f);

            for (var h = new c.b(), g = 0; g < d.D(); g++) if (d.w(g, h), e.contains(h)) {
              var k = c.gd.ge(a, h, f);
              if (1 == k || 2 == k) return !1;
            }

            return !0;
          };

          b.TV = function (a, b, f) {
            var e = this.vc(a, b, !1);
            if (4 == e || 1 == e) return !1;
            e = new c.h();
            a.s(e);
            e.O(f, f);
            var h,
                g = !1,
                k;
            k = a;

            for (var m = !1, n = 0; n < b.D(); n++) {
              h = b.Ba(n);
              if (e.contains(h)) if (h = c.gd.ge(k, h, f), 2 == h) g = !0;else if (1 == h) return !1;
              m || (!c.ff.qm(a, b.D() - 1) || null != a.ob && null != a.ob.Mb ? k = a : (k = new c.Ja(), a.copyTo(k), k.Hj(1)), m = !0);
            }

            return g ? !0 : !1;
          };

          b.uP = function (a, b, f) {
            var e = this.vc(a, b, !1);
            if (4 == e || 1 == e) return !1;
            var h = new c.h(),
                e = new c.h(),
                g = new c.h();
            a.s(h);
            b.s(g);
            e.I(h);
            e.O(f, f);
            var g = h = !1,
                k,
                m;
            m = a;

            for (var n = !1, p = 0; p < b.D(); p++) {
              k = b.Ba(p);
              e.contains(k) ? (k = c.gd.ge(m, k, f), 0 == k ? g = !0 : 1 == k && (h = !0)) : g = !0;
              if (h && g) return !0;
              n || (!c.ff.qm(a, b.D() - 1) || null != a.ob && null != a.ob.Mb ? m = a : (m = new c.Ja(), a.copyTo(m), m.Hj(1)), n = !0);
            }

            return !1;
          };

          b.uO = function (a, b, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            b.s(h);
            if (!this.Ec(e, h, f)) return !1;
            h = this.vc(a, b, !1);
            if (4 == h) return !1;
            if (1 == h) return !0;
            var h = !1,
                g,
                k;
            k = a;

            for (var m = !1, n = 0; n < b.D(); n++) {
              g = b.Ba(n);
              if (!e.contains(g)) return !1;
              g = c.gd.ge(k, g, f);
              if (1 == g) h = !0;else if (0 == g) return !1;
              m || (!c.ff.qm(a, b.D() - 1) || null != a.ob && null != a.ob.Mb ? k = a : (k = new c.Ja(), a.copyTo(k), k.Hj(1)), m = !0);
            }

            return h;
          };

          b.gU = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.We(e, h, f)) return !1;
            e = new c.Ja();
            e.jd(d, !1);
            return b.PB(a, e, f, !0);
          };

          b.mQ = function (a, d, f) {
            var e = b.vc(a, d, !1);
            if (4 == e) return !0;
            if (1 == e || 2 == e) return !1;
            var h = new c.h(),
                e = new c.h();
            a.s(h);
            d.s(e);
            if (b.Ec(e, h, f)) return !1;
            h = new c.b();
            e.Tn(h);
            d = c.gd.ge(a, h, f);
            if (0 != d) return !1;
            e.TJ(h);
            d = c.gd.ge(a, h, f);
            if (0 != d) return !1;
            e.Un(h);
            d = c.gd.ge(a, h, f);
            if (0 != d) return !1;
            e.WJ(h);
            d = c.gd.ge(a, h, f);
            if (0 != d) return !1;
            d = a.Pa(0);
            h = new c.h();
            h.I(e);
            h.O(f, f);

            for (var g = 0, k = a.D(); g < k; g++) {
              var m = d.read(2 * g),
                  n = d.read(2 * g + 1);
              if (h.contains(m, n)) return !1;
            }

            return !b.XH(a, e, f);
          };

          b.lV = function (a, d, f, e) {
            var h = b.vc(a, d, !1);
            if (4 == h || 1 == h || 2 == h) return !1;
            var h = new c.h(),
                g = new c.h();
            a.s(h);
            d.s(g);
            if (b.Ec(g, h, f)) return !1;
            if (g.N() <= f && g.fa() <= f) return d = d.Bq(), b.fD(a, d, f);
            if (g.N() <= f || g.fa() <= f) return h = new c.Ua(), g = new c.Wa(), d.ig(0, g), h.Rf(g), d.ig(2, g), h.lineTo(g), b.kD(a, h, f, e);
            h = new c.Ja();
            h.jd(d, !1);
            return b.iD(a, h, f, e);
          };

          b.fV = function (a, d, f, e) {
            var h = b.vc(a, d, !1);
            if (4 == h || 1 == h || 2 == h) return !1;
            var h = new c.h(),
                g = new c.h();
            a.s(h);
            d.s(g);
            if (b.Ec(g, h, f) || g.N() <= f || g.fa() <= f) return !1;
            h = new c.Ja();
            h.jd(d, !1);
            return b.dD(a, h, f, e);
          };

          b.eX = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.Ec(h, e, f);
          };

          b.rO = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.Ec(e, h, f)) return !1;
            e = b.vc(a, d, !1);
            if (4 == e || 2 == e) return !1;
            if (1 == e) return !0;
            if (h.N() <= f && h.fa() <= f) return d = d.Bq(), b.BL(a, d, f);
            if (h.N() <= f || h.fa() <= f) return h = new c.Ua(), e = new c.Wa(), d.ig(0, e), h.Rf(e), d.ig(2, e), h.lineTo(e), b.DL(a, h, f, null);
            h = new c.Ja();
            h.jd(d, !1);
            return b.CL(a, h, f, null);
          };

          b.FL = function (a, d, f, e) {
            var h = new c.h(),
                g = new c.h();
            a.s(h);
            d.s(g);
            if (b.Ec(g, h, f) || g.fa() > f && g.N() > f || g.fa() <= f && g.N() <= f) return !1;
            h = new c.Ua();
            g = new c.Wa();
            d.ig(0, g);
            h.Rf(g);
            d.ig(2, g);
            h.lineTo(g);
            return b.bD(a, h, f, e);
          };

          b.PL = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.We(e, h, f) && 4 != b.vc(a, d, !1) ? b.qJ(a, d, f) ? !0 : b.PB(a, d, f, !1) : !1;
          };

          b.yZ = function (a, b, f) {
            return 4 == this.vc(a, b, !1) ? !0 : new c.Lm(a, b, f, !0).next() ? !this.fI(a, b, f) : !1;
          };

          b.uD = function (a, d, f) {
            if (4 == b.vc(a, d, !1)) return !1;
            var e = new c.Rd(0);
            if (0 != b.SB(a, d, f, e)) return !1;

            for (var h = new c.Ed(), g = 0; g < e.size; g += 2) {
              var k = e.read(g),
                  m = e.read(g + 1);
              h.lv(k, m);
            }

            a = a.Gg();
            d = d.Gg();
            a.Id(d, 0, d.D());
            return b.yx(a, h, f);
          };

          b.qD = function (a, d, f) {
            if (4 == b.vc(a, d, !1)) return !1;
            var e = new c.Rd(0);
            if (0 != b.SB(a, d, f, e)) return !1;

            for (var h = new c.Ed(), g = 0; g < e.size; g += 2) {
              var k = e.read(g),
                  m = e.read(g + 1);
              h.lv(k, m);
            }

            a = a.Gg();
            d = d.Gg();
            a.Id(d, 0, d.D());
            return !b.yx(a, h, f);
          };

          b.dM = function (a, d, c) {
            return 4 == b.vc(a, d, !1) ? !1 : b.$H(a, d, c);
          };

          b.oD = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.Ec(e, h, f) && 4 != b.vc(a, d, !1) ? b.Wg(d, a, f, !1) : !1;
          };

          b.wZ = function (a, d, c) {
            if (4 == b.vc(a, d, !1)) return !0;
            d = d.w();
            return !b.IA(a, d, c);
          };

          b.zM = function (a, d, c) {
            if (4 == b.vc(a, d, !1)) return !1;
            d = d.w();
            return b.hC(a, d, c);
          };

          b.SY = function (a, d, c) {
            if (4 == b.vc(a, d, !1)) return !1;
            d = d.w();
            return b.yH(a, d, c);
          };

          b.uZ = function (a, d, c) {
            return 4 == b.vc(a, d, !1) ? !0 : !b.ZH(a, d, c, !1);
          };

          b.oM = function (a, b, f) {
            if (4 == this.vc(a, b, !1)) return !1;
            var e = a.Fa(),
                h = new c.h(),
                g = new c.h(),
                k = new c.h();
            a.s(h);
            b.s(g);
            h.O(f, f);
            g.O(f, f);
            k.I(h);
            k.Ma(g);
            var m,
                n,
                h = null;
            m = a.ob;
            null != m ? (n = m.Mb, h = m.np, null == n && (n = m = c.na.Lj(a, k))) : n = m = c.na.Lj(a, k);
            var p = n.mf(),
                q = null;
            null != h && (q = h.mf());
            var t = new c.b(),
                r = new c.b(),
                z = !1,
                v = f * f,
                h = new c.Fm(b.D());

            for (m = 0; m < b.D(); m++) h.write(m, 0);

            for (m = 0; m < b.D(); m++) if (b.w(m, t), k.contains(t)) {
              g.I(t.x, t.y, t.x, t.y);
              if (null != q && (q.Ni(g, f), -1 == q.next())) continue;
              p.Ni(g, f);

              for (var x = p.next(); -1 != x; x = p.next()) if (e.Tb(n.ja(x)), x = e.ba(), x.gc(x.pe(t, !1), r), c.b.sc(t, r) <= v) {
                h.write(m, 1);
                z = !0;
                break;
              }
            }

            if (!z) return !1;
            a = a.Gg();
            e = new c.Ed();
            g = new c.b();

            for (m = 0; m < b.D(); m++) 0 != h.read(m) && (b.w(m, g), e.lv(g.x, g.y));

            return this.yx(a, e, f);
          };

          b.nZ = function (a, b, f) {
            if (4 == this.vc(a, b, !1)) return !1;
            var e = a.Fa(),
                h = new c.h(),
                g = new c.h(),
                k = new c.h();
            a.s(h);
            b.s(g);
            h.O(f, f);
            g.O(f, f);
            k.I(h);
            k.Ma(g);
            var m,
                n,
                h = null;
            m = a.ob;
            null != m ? (n = m.Mb, h = m.np, null == n && (n = m = c.na.Lj(a, k))) : n = m = c.na.Lj(a, k);
            var p = n.mf(),
                q = null;
            null != h && (q = h.mf());
            var t = new c.b(),
                r = new c.b(),
                z = !1,
                v = !1,
                x = f * f,
                h = new c.Fm(b.D());

            for (m = 0; m < b.D(); m++) h.write(m, 0);

            for (m = 0; m < b.D(); m++) if (b.w(m, t), k.contains(t)) {
              g.I(t.x, t.y, t.x, t.y);

              if (null != q && (q.Ni(g, f), -1 == q.next())) {
                v = !0;
                continue;
              }

              p.Ni(g, f);

              for (var B = !1, y = p.next(); -1 != y; y = p.next()) if (e.Tb(n.ja(y)), y = e.ba(), y.gc(y.pe(t, !1), r), c.b.sc(t, r) <= x) {
                h.write(m, 1);
                B = z = !0;
                break;
              }

              B || (v = !0);
            } else v = !0;

            if (!z || !v) return !1;
            a = a.Gg();
            e = new c.Ed();
            g = new c.b();

            for (m = 0; m < b.D(); m++) 0 != h.read(m) && (b.w(m, g), e.lv(g.x, g.y));

            return !this.yx(a, e, f);
          };

          b.HX = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.Ec(e, h, f) || 4 == b.vc(a, d, !1) || !b.ZH(a, d, f, !0)) return !1;
            a = a.Gg();
            return !b.CJ(a, d, f);
          };

          b.JL = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return h.fa() > f && h.N() > f ? !1 : b.We(e, h, f);
          };

          b.qZ = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.Ec(h, e, f) ? !1 : !b.XH(a, h, f);
          };

          b.kM = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (h.fa() <= f && h.N() <= f) return h = d.Bq(), b.hC(a, h, f);
            if (h.fa() <= f || h.N() <= f) return h = new c.Ua(), e = new c.Wa(), d.ig(0, e), h.Rf(e), d.ig(2, e), h.lineTo(e), b.uD(a, h, f);
            a = a.Fa();
            d = new c.h();
            e = new c.h();
            d.I(h);
            e.I(h);
            d.O(-f, -f);
            e.O(f, f);

            for (var h = !1, g = new c.h(), k = new c.h(); a.Ya();) for (; a.Ea();) {
              a.ba().s(g);
              k.I(d);
              k.Ma(g);
              if (!k.u() && (k.fa() > f || k.N() > f)) return !1;
              k.I(e);
              k.Ma(g);
              k.u() || (h = !0);
            }

            return h;
          };

          b.$L = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (b.Ec(e, h, f) || b.Ec(h, e, f) || b.Ec(h, e, f) || h.fa() > f && h.N() > f || h.fa() <= f && h.N() <= f) return !1;
            e = new c.Ua();
            h = new c.Wa();
            d.ig(0, h);
            e.Rf(h);
            d.ig(2, h);
            e.lineTo(h);
            return b.$H(a, e, f);
          };

          b.EM = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.Ec(h, e, f) || h.fa() <= f && h.N() <= f) return !1;
            if (h.fa() <= f || h.N() <= f) return b.Ec(h, e, f);
            a = a.Fa();
            d = new c.h();
            d.I(h);
            d.O(-f, -f);

            for (var h = !1, e = new c.h(), g = new c.h(); a.Ya();) for (; a.Ea();) a.ba().s(e), d.Tm(e) ? h = !0 : (g.I(d), g.Ma(e), !g.u() && (g.fa() > f || g.N() > f) && (h = !0));

            return h;
          };

          b.oX = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            d.s(h);
            a.s(e);
            if (!b.Ec(e, h, f) || h.fa() > f && h.N() > f) return !1;
            if (h.fa() <= f && h.N() <= f) return d = d.Bq(), b.yH(a, d, f);
            e = new c.Ua();
            h = new c.Wa();
            d.ig(0, h);
            e.Rf(h);
            d.ig(2, h);
            e.lineTo(h);
            return b.Wg(e, a, f, !1);
          };

          b.fZ = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (b.Ec(h, e, f) || h.fa() <= f && h.N() <= f) return !1;
            if (h.fa() <= f || h.N() <= f) return e = new c.Ua(), h = new c.Wa(), d.ig(0, h), e.Rf(h), d.ig(2, h), e.lineTo(h), b.qD(a, e, f);
            a = a.Fa();
            d = new c.h();
            e = new c.h();
            e.I(h);
            d.I(h);
            e.O(-f, -f);
            d.O(f, f);

            for (var g = h = !1, k = new c.h(), m = new c.h(); a.Ya();) for (; a.Ea();) if (a.ba().s(k), g || d.contains(k) || (g = !0), h || (m.I(e), m.Ma(k), !m.u() && (m.fa() > f || m.N() > f) && (h = !0)), h && g) return !0;

            return !1;
          };

          b.cM = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.We(e, h, f) ? b.jM(a, d, f) ? !0 : b.RC(a, d, f, !1, !0, !1) : !1;
          };

          b.SL = function (a, d, c) {
            return !b.CJ(a, d, c);
          };

          b.IM = function (a, d, c) {
            return b.RC(a, d, c, !1, !1, !0);
          };

          b.sJ = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.Ec(e, h, f) ? b.RC(d, a, f, !0, !1, !1) : !1;
          };

          b.yx = function (a, b, f) {
            f *= f;

            for (var e = new c.b(), h = new c.b(), g = 0; g < b.D(); g++) {
              b.w(g, h);

              for (var k = !1, m = 0; m < a.D(); m++) if (a.w(m, e), c.b.sc(e, h) <= f) {
                k = !0;
                break;
              }

              if (!k) return !1;
            }

            return !0;
          };

          b.zx = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return b.We(e, h, f);
          };

          b.AJ = function (a, d, c) {
            d = d.w();
            return b.$t(a, d, c);
          };

          b.TM = function (a, d, c) {
            return b.zx(a, d, c);
          };

          b.pZ = function (a, d, c) {
            return !b.AJ(a, d, c);
          };

          b.ZL = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            return h.fa() > f || h.N() > f ? !1 : b.We(e, h, f);
          };

          b.OL = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (b.Ec(h, e, f)) return !1;
            d = new c.h();
            d.I(h);
            d.O(f, f);
            f = new c.b();

            for (h = 0; h < a.D(); h++) if (a.w(h, f), d.contains(f)) return !1;

            return !0;
          };

          b.MM = function (a, b, f) {
            var e = new c.h(),
                h = new c.h(),
                g = new c.h();
            b.s(e);
            if (e.fa() <= f && e.N() <= f) return !1;

            if (e.fa() <= f || e.N() <= f) {
              b = new c.b();
              var k = !1;
              h.I(e);
              g.I(e);
              h.O(f, f);
              e.fa() > f ? g.O(0, -f) : g.O(-f, 0);

              for (var m = 0; m < a.D(); m++) if (a.w(m, b), h.contains(b)) {
                if (e.fa() > f) {
                  if (b.y > g.A && b.y < g.B) return !1;
                } else if (b.x > g.o && b.x < g.v) return !1;

                k = !0;
              }

              return k;
            }

            h.I(e);
            g.I(e);
            h.O(f, f);
            g.O(-f, -f);
            b = new c.b();
            k = !1;

            for (m = 0; m < a.D(); m++) if (a.w(m, b), h.contains(b)) {
              if (g.Tm(b)) return !1;
              k = !0;
            }

            return k;
          };

          b.PM = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.Ec(h, e, f)) return !1;
            if (h.fa() <= f && h.N() <= f) return b.We(e, h, f);

            if (h.fa() <= f || h.N() <= f) {
              d = !1;
              var e = new c.h(),
                  g = new c.h();
              e.I(h);
              g.I(h);
              h.fa() > f ? e.O(0, -f) : e.O(-f, 0);
              g.O(f, f);

              for (var k = new c.b(), m = 0; m < a.D(); m++) {
                a.w(m, k);
                if (!g.contains(k)) return !1;
                h.fa() > f ? k.y > e.A && k.y < e.B && (d = !0) : k.x > e.o && k.x < e.v && (d = !0);
              }

              return d;
            }

            d = !1;
            e = new c.h();
            g = new c.h();
            e.I(h);
            g.I(h);
            e.O(-f, -f);
            g.O(f, f);
            k = new c.b();

            for (m = 0; m < a.D(); m++) {
              a.w(m, k);
              if (!g.contains(k)) return !1;
              e.Tm(k) && (d = !0);
            }

            return d;
          };

          b.mZ = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (!b.Ec(e, h, f) || h.fa() > f || h.N() > f) return !1;
            d = d.Bq();
            return !b.$t(a, d, f);
          };

          b.IL = function (a, d, f) {
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            if (b.Ec(h, e, f) || h.fa() <= f && h.N() <= f) return !1;

            if (h.fa() <= f || h.N() <= f) {
              d = new c.h();
              e = new c.h();
              d.I(h);
              h.fa() > f ? d.O(0, -f) : d.O(-f, 0);
              e.I(h);
              e.O(f, f);

              for (var g = new c.b(), k = !1, m = !1, n = 0; n < a.D(); n++) if (a.w(n, g), k || (h.fa() > f ? g.y > d.A && g.y < d.B && (k = !0) : g.x > d.o && g.x < d.v && (k = !0)), m || e.contains(g) || (m = !0), k && m) return !0;

              return !1;
            }

            d = new c.h();
            e = new c.h();
            d.I(h);
            d.O(-f, -f);
            e.I(h);
            e.O(f, f);
            g = new c.b();
            m = k = !1;

            for (n = 0; n < a.D(); n++) if (a.w(n, g), !k && d.Tm(g) && (k = !0), m || e.contains(g) || (m = !0), k && m) return !0;

            return !1;
          };

          b.yL = function (a, b, f) {
            return c.b.sc(a, b) <= f * f ? !0 : !1;
          };

          b.NN = function (a, b, f) {
            return c.b.sc(a, b) > f * f ? !0 : !1;
          };

          b.eL = function (a, d, c) {
            return b.yL(a, d, c);
          };

          b.qL = function (a, d, f) {
            var e = new c.h();
            e.I(a);
            return b.We(e, d, f);
          };

          b.Dx = function (a, b, f) {
            var e = new c.h();
            e.I(b);
            e.O(f, f);
            return !e.contains(a);
          };

          b.XC = function (a, b, f) {
            if (b.fa() <= f && b.N() <= f) return !1;
            var e = new c.h(),
                h = new c.h();
            e.I(b);
            e.O(f, f);
            if (!e.contains(a)) return !1;

            if (b.fa() <= f || b.N() <= f) {
              h.I(b);
              b.fa() > f ? h.O(0, -f) : h.O(-f, 0);

              if (b.fa() > f) {
                if (a.y > h.A && a.y < h.B) return !1;
              } else if (a.x > h.o && a.x < h.v) return !1;

              return !0;
            }

            h.I(b);
            h.O(-f, -f);
            return h.Tm(a) ? !1 : !0;
          };

          b.YC = function (a, b, f) {
            if (b.fa() <= f && b.N() <= f) return !0;

            if (b.fa() <= f || b.N() <= f) {
              var e = new c.h();
              e.I(b);
              b.fa() > f ? e.O(0, -f) : e.O(-f, 0);
              var h = !1;
              b.fa() > f ? a.y > e.A && a.y < e.B && (h = !0) : a.x > e.o && a.x < e.v && (h = !0);
              return h;
            }

            e = new c.h();
            e.I(b);
            e.O(-f, -f);
            return e.Tm(a);
          };

          b.EN = function (a, d, c) {
            return b.qL(a, d, c);
          };

          b.We = function (a, d, c) {
            return b.Ec(a, d, c) && b.Ec(d, a, c);
          };

          b.Ek = function (a, b, f) {
            var e = new c.h();
            e.I(b);
            e.O(f, f);
            return !a.Yb(e);
          };

          b.DP = function (a, d, f) {
            if (a.fa() <= f && a.N() <= f) {
              var e = a.Wf();
              return b.XC(e, d, f);
            }

            if (d.fa() <= f && d.N() <= f) return e = d.Wf(), b.XC(e, a, f);
            a.fa() > f && a.N() > f && (d.fa() <= f || d.N() <= f) ? e = d : (e = a, a = d);

            if (e.fa() <= f || e.N() <= f) {
              if (a.fa() <= f || a.N() <= f) {
                d = new c.Hb();
                var h = new c.Hb(),
                    g = [0, 0],
                    k = [0, 0],
                    m = new c.b();
                e.Tn(m);
                d.Mc(m);
                e.Un(m);
                d.Zc(m);
                a.Tn(m);
                h.Mc(m);
                a.Un(m);
                h.Zc(m);
                d.Ma(h, null, g, k, f);
                return 1 != d.Ma(h, null, null, null, f) ? !1 : 0 == g[0] || 1 == g[1] || 0 == k[0] || 1 == k[1];
              }

              d = new c.h();
              h = new c.h();
              d.I(a);
              d.O(-f, -f);
              h.I(d);
              h.Ma(e);
              return !h.u() && (h.fa() > f || h.N() > f) ? !1 : !0;
            }

            a.O(f, f);
            h = new c.h();
            h.I(e);
            h.Ma(a);
            return h.u() || !h.u() && h.fa() > f && h.N() > f ? !1 : !0;
          };

          b.aP = function (a, d, f) {
            if (b.Ec(a, d, f) || b.Ec(d, a, f) || a.fa() <= f && a.N() <= f || d.fa() <= f && d.N() <= f) return !1;

            if (a.fa() <= f || a.N() <= f) {
              if (d.fa() > f && d.N() > f) return !1;
              var e = new c.Hb(),
                  h = new c.Hb(),
                  g = [0, 0],
                  k = [0, 0],
                  m = new c.b();
              a.Tn(m);
              e.Mc(m);
              a.Un(m);
              e.Zc(m);
              d.Tn(m);
              h.Mc(m);
              d.Un(m);
              h.Zc(m);
              e.Ma(h, null, g, k, f);
              return 2 != e.Ma(h, null, null, null, f) ? !1 : (0 < g[0] || 1 > g[1]) && (0 < k[0] || 1 > k[1]);
            }

            if (d.fa() <= f || d.N() <= f) return !1;
            e = new c.h();
            e.I(a);
            e.Ma(d);
            return e.u() || e.fa() <= f || e.N() <= f ? !1 : !0;
          };

          b.SE = function (a, d, f) {
            if (!b.Ec(a, d, f)) return !1;
            if (a.fa() <= f && a.N() <= f) return a = a.Wf(), b.YC(a, d, f);
            if (d.fa() <= f && d.N() <= f) return d = d.Wf(), b.YC(d, a, f);
            if (a.fa() <= f || a.N() <= f) return b.Ec(a, d, f);

            if (d.fa() <= f || d.N() <= f) {
              var e = new c.h();
              e.I(a);
              e.O(-f, -f);
              if (e.Tm(d)) return !0;
              a = new c.h();
              a.I(e);
              a.Ma(d);
              return a.u() || a.fa() <= f && a.N() <= f ? !1 : !0;
            }

            return b.Ec(a, d, f);
          };

          b.EL = function (a, d, f) {
            if (b.Ec(a, d, f) || b.Ec(d, a, f) || a.fa() <= f && a.N() <= f || d.fa() <= f && d.N() <= f || d.fa() > f && d.N() > f && a.fa() > f && a.N() > f) return !1;
            var e;
            a.fa() > f && a.N() > f ? e = d : (e = a, a = d);

            if (a.fa() > f && a.N() > f) {
              d = new c.h();
              var h = new c.h();
              h.I(a);
              h.O(-f, -f);
              d.I(h);
              d.Ma(e);
              return d.u() || d.fa() <= f && d.N() <= f ? !1 : !0;
            }

            d = new c.Hb();
            var h = new c.Hb(),
                g = [0, 0],
                k = [0, 0],
                m = new c.b();
            e.Tn(m);
            d.Mc(m);
            e.Un(m);
            d.Zc(m);
            a.Tn(m);
            h.Mc(m);
            a.Un(m);
            h.Zc(m);
            d.Ma(h, null, g, k, f);
            return 1 != d.Ma(h, null, null, null, f) ? !1 : 0 < g[0] && 1 > g[1] && 0 < k[0] && 1 > k[1];
          };

          b.cD = function (a, b, f) {
            var e,
                h,
                g = new c.h(),
                k = new c.h(),
                m = new c.Lm(a, b, f, !0);
            if (!m.next()) return !0;
            if (this.fI(a, b, f)) return !1;
            var n;
            n = a;
            var p;
            p = null;
            1736 == b.G() && (p = b);
            var q = !1,
                t = !1;

            do {
              e = m.Ql();
              h = m.Ml();
              h = b.Ba(b.wa(h));
              g.I(m.fA());
              g.O(f, f);
              if (g.contains(h) && (h = c.gd.ge(n, h, 0), 0 != h) || 1736 == b.G() && (e = a.Ba(a.wa(e)), k.I(m.Jz()), k.O(f, f), k.contains(e) && (h = c.gd.ge(p, e, 0), 0 != h))) return !1;
              q || (!c.ff.qm(a, b.aa() - 1) || null != a.ob && null != a.ob.Mb ? n = a : (n = new c.Ja(), a.copyTo(n), n.Hj(1)), q = !0);
              1736 != b.G() || t || (t = b, !c.ff.qm(t, a.aa() - 1) || null != b.ob && null != b.ob.Mb ? p = b : (p = new c.Ja(), t.copyTo(p), p.Hj(1)), t = !0);
            } while (m.next());

            return !0;
          };

          b.Ec = function (a, b, f) {
            var e = new c.h();
            e.I(a);
            e.O(f, f);
            return e.contains(b);
          };

          b.Yp = function (a, b, f) {
            var e = new c.h();
            e.I(b);
            e.O(f, f);
            b = new c.b();
            a.Tn(b);
            if (!e.contains(b)) return !0;
            a.TJ(b);
            if (!e.contains(b)) return !0;
            a.WJ(b);
            if (!e.contains(b)) return !0;
            a.Un(b);
            return e.contains(b) ? !1 : !0;
          };

          b.qJ = function (a, b, f) {
            if (a.aa() != b.aa() || a.D() != b.D()) return !1;
            var e = new c.b(),
                h = new c.b(),
                g = !0;
            f *= f;

            for (var k = 0; k < a.aa(); k++) {
              if (a.Gc(k) != b.Gc(k)) {
                g = !1;
                break;
              }

              for (var m = a.wa(k); m < b.Gc(k); m++) if (a.w(m, e), b.w(m, h), c.b.sc(e, h) > f) {
                g = !1;
                break;
              }

              if (!g) break;
            }

            return g ? !0 : !1;
          };

          b.jM = function (a, b, f) {
            if (a.D() != b.D()) return !1;
            var e = new c.b(),
                h = new c.b(),
                g = !0;
            f *= f;

            for (var k = 0; k < a.D(); k++) if (a.w(k, e), b.w(k, h), c.b.sc(e, h) > f) {
              g = !1;
              break;
            }

            return g ? !0 : !1;
          };

          b.RC = function (a, b, f, e, h, g) {
            var k = !1,
                m;
            a.D() > b.D() ? (e && (e = !1, k = !0), m = b) : (m = a, a = b);
            b = null;

            if (h || g || k) {
              b = new c.Fm(a.D());

              for (var n = 0; n < a.D(); n++) b.write(n, 0);
            }

            var n = new c.h(),
                p = new c.h(),
                q = new c.h();
            m.s(n);
            a.s(p);
            n.O(f, f);
            p.O(f, f);
            q.I(n);
            q.Ma(p);

            for (var p = new c.b(), t = new c.b(), r = !0, z = c.na.CF(a, q), v = z.mf(), x = f * f, B = 0; B < m.D(); B++) if (m.w(B, p), q.contains(p)) {
              var y = !1;
              n.I(p.x, p.y, p.x, p.y);
              v.Ni(n, f);

              for (var A = v.next(); -1 != A && !(A = z.ja(A), a.w(A, t), c.b.sc(p, t) <= x && ((h || g || k) && b.write(A, 1), y = !0, e)); A = v.next());

              if (!y && (r = !1, h || e)) return !1;
            } else {
              if (h || e) return !1;
              r = !1;
            }

            if (g && r) return !1;
            if (e) return !0;

            for (n = 0; n < a.D(); n++) if (1 == b.read(n)) {
              if (g) return !0;
            } else if (h || k) return !1;

            return g ? !1 : !0;
          };

          b.CJ = function (a, b, f) {
            var e;
            a.D() > b.D() ? e = b : (e = a, a = b);
            b = new c.h();
            var h = new c.h(),
                g = new c.h();
            e.s(b);
            a.s(h);
            b.O(f, f);
            h.O(f, f);
            g.I(b);
            g.Ma(h);

            for (var h = new c.b(), k = new c.b(), m = f * f, n = c.na.CF(a, g), p = n.mf(), q = 0; q < e.D(); q++) if (e.w(q, h), g.contains(h)) {
              b.I(h.x, h.y, h.x, h.y);
              p.Ni(b, f);

              for (var t = p.next(); -1 != t; t = p.next()) if (a.w(n.ja(t), k), c.b.sc(h, k) <= m) return !0;
            }

            return !1;
          };

          b.PB = function (a, d, c, e) {
            return b.Wg(a, d, c, e) && b.Wg(d, a, c, e);
          };

          b.Wg = function (a, d, f, e) {
            function h(a, b) {
              return q.XF(a, b);
            }

            var g = !0,
                k = [0, 0],
                m = [0, 0],
                r = 0,
                p = new c.ia(0),
                q = new b(),
                t,
                u = new c.h(),
                z = new c.h(),
                v = new c.h();
            a.s(u);
            d.s(z);
            u.O(f, f);
            z.O(f, f);
            v.I(u);
            v.Ma(z);
            a = a.Fa();
            var z = d.Fa(),
                x = null,
                B = x = null,
                y = d.ob;
            null != y ? (x = y.Mb, B = y.np, null == x && (x = c.na.Lj(d, v))) : x = c.na.Lj(d, v);
            d = x.mf();
            y = null;

            for (null != B && (y = B.mf()); a.Ya();) for (; a.Ea();) {
              var A = !1,
                  C = a.ba();
              C.s(u);
              if (!u.Yb(v)) return !1;
              if (null != y && (y.Ni(u, f), -1 == y.next())) return g = !1;
              B = C.Rb();
              d.Wn(C, f);

              for (t = d.next(); -1 != t; t = d.next()) {
                z.Tb(x.ja(t));
                t = z.ba();
                var D = C.Ma(t, null, k, m, f);

                if (2 == D && (!e || m[0] <= m[1])) {
                  var D = k[0],
                      E = k[1],
                      F = m[0],
                      G = m[1];

                  if (D * B <= f && (1 - E) * B <= f) {
                    A = !0;
                    r = 0;
                    p.resize(0);
                    q.Ph.length = 0;

                    for (var H = a.Db(), F = !0; F;) {
                      if (a.Ea()) {
                        C = a.ba();
                        B = C.Rb();
                        D = C.Ma(t, null, k, m, f);

                        if (2 == D && (!e || m[0] <= m[1]) && (D = k[0], E = k[1], D * B <= f && (1 - E) * B <= f)) {
                          H = a.Db();
                          continue;
                        }

                        if (z.Ea() && (t = z.ba(), D = C.Ma(t, null, k, m, f), 2 == D && (!e || m[0] <= m[1]) && (D = k[0], E = k[1], D * B <= f && (1 - E) * B <= f))) {
                          H = a.Db();
                          continue;
                        }
                      }

                      F = !1;
                    }

                    H != a.Db() && (a.Tb(H), a.ba());
                    break;
                  } else H = a.Db(), t = n.pa(H, a.Ta, D, E, z.Db(), z.Ta, F, G), q.Ph.push(t), p.add(p.size);
                }
              }

              if (!A) {
                if (r == q.Ph.length) return !1;
                1 < p.size - r && p.Gd(r, p.size, h);

                for (A = 0; r < q.Ph.length; r++) if (t = q.Ph[p.get(r)], !(t.ek < A && t.rj < A)) {
                  if (B * (t.ek - A) > f) return !1;
                  A = t.rj;
                  if (B * (1 - A) <= f || 1 == A) break;
                }

                if (B * (1 - A) > f) return !1;
                r = 0;
                p.resize(0);
                q.Ph.length = 0;
              }
            }

            return g;
          };

          b.$H = function (a, d, f) {
            if (1 > b.SB(a, d, f, null)) return !1;
            var e = new c.h(),
                h = new c.h();
            a.s(e);
            d.s(h);
            var g = b.Yp(e, h, f),
                e = b.Yp(h, e, f);
            return g && e ? !0 : g && !e ? !b.Wg(d, a, f, !1) : e && !g ? !b.Wg(a, d, f, !1) : !b.Wg(a, d, f, !1) && !b.Wg(d, a, f, !1);
          };

          b.SB = function (a, d, f, e) {
            function h(a, b) {
              return z.XF(a, b);
            }

            var g, k;
            a.jA() > d.jA() ? (g = d, k = a) : (g = a, k = d);
            a = g.Fa();
            d = k.Fa();
            var m = [0, 0],
                r = [0, 0],
                p = -1,
                q = 0,
                t,
                u = new c.ia(0),
                z = new b(),
                v,
                x = new c.h(),
                B = new c.h(),
                y = new c.h();
            g.s(x);
            k.s(B);
            x.O(f, f);
            B.O(f, f);
            y.I(x);
            y.Ma(B);
            g = null;
            null != e && (g = new c.b());
            t = B = B = null;
            var A = k.ob;
            null != A ? (B = A.Mb, t = A.np, null == B && (B = c.na.Lj(k, y))) : B = c.na.Lj(k, y);
            k = B.mf();
            A = null;

            for (null != t && (A = t.mf()); a.Ya();) for (t = 0; a.Ea();) {
              var C = a.ba();
              C.s(x);

              if (x.Yb(y)) {
                if (null != A && (A.Ni(x, f), -1 == A.next())) continue;
                var D = C.Rb();
                k.Wn(C, f);

                for (var E = k.next(); -1 != E; E = k.next()) {
                  var F = B.ja(E);
                  d.Tb(F);
                  v = d.ba();
                  var G = v.Rb(),
                      H = C.Ma(v, null, m, r, f);

                  if (0 < H) {
                    var E = m[0],
                        p = r[0],
                        I = 2 == H ? m[1] : NaN,
                        J = 2 == H ? r[1] : NaN;

                    if (2 == H) {
                      if (D * (I - E) > f) return p = 1;
                      var M = D * (I - E);

                      if (d.Ea()) {
                        v = d.ba();
                        H = C.Ma(v, null, m, null, f);

                        if (2 == H) {
                          var H = m[0],
                              L = m[1],
                              H = D * (L - H);
                          if (M + H > f) return p = 1;
                        }

                        d.Tb(F);
                        d.ba();
                      }

                      if (!d.jn()) {
                        d.Li();
                        v = d.Li();
                        H = C.Ma(v, null, m, null, f);
                        if (2 == H && (H = m[0], L = m[1], H = D * (L - H), M + H > f)) return p = 1;
                        d.Tb(F);
                        d.ba();
                      }

                      if (a.Ea()) {
                        F = a.Db();
                        C = a.ba();
                        H = C.Ma(v, null, m, null, f);
                        if (2 == H && (H = m[0], L = m[1], H = D * (L - H), M + H > f)) return p = 1;
                        a.Tb(F);
                        a.ba();
                      }

                      if (!a.jn()) {
                        F = a.Db();
                        a.Li();
                        C = a.Li();
                        H = C.Ma(v, null, m, null, f);
                        if (2 == H && (H = m[0], L = m[1], H = G * (L - H), M + H > f)) return p = 1;
                        a.Tb(F);
                        a.ba();
                      }

                      v = n.pa(a.Db(), a.Ta, E, I, d.Db(), d.Ta, p, J);
                      z.Ph.push(v);
                      u.add(u.size);
                    }

                    p = 0;
                    null != e && (C.gc(E, g), e.add(g.x), e.add(g.y));
                  }
                }

                if (q < z.Ph.length) {
                  u.Gd(q, u.size, h);
                  C = 0;

                  for (E = z.Ph[u.get(q)].zn; q < z.Ph.length; q++) if (v = z.Ph[u.get(q)], !(v.ek < C && v.rj < C)) if (D * (v.ek - C) > f) t = D * (v.rj - v.ek), C = v.rj, E = v.zn;else {
                    v.zn != E ? (t = D * (v.rj - v.ek), E = v.zn) : t += D * (v.rj - v.ek);
                    if (t > f) return p = 1;
                    C = v.rj;
                    if (1 == C) break;
                  }

                  D * (1 - C) > f && (t = 0);
                  q = 0;
                  u.resize(0);
                  z.Ph.length = 0;
                }
              }
            }

            return p;
          };

          b.fI = function (a, b, f) {
            var e = a.Fa(),
                h = b.Fa();

            for (a = new c.Lm(a, b, f, !1); a.next();) {
              b = a.Ql();
              var g = a.Ml();
              e.Tb(b);
              h.Tb(g);
              b = e.ba();
              if (0 < h.ba().Ma(b, null, null, null, f)) return !0;
            }

            return !1;
          };

          b.ZH = function (a, b, f, e) {
            var h = a.Fa(),
                g = new c.h(),
                k = new c.h(),
                m = new c.h();
            a.s(g);
            b.s(k);
            g.O(f, f);
            g.contains(k);
            k.O(f, f);
            m.I(g);
            m.Ma(k);
            g = a.ob;
            null != g ? (g = g.Mb, null == g && (g = c.na.Lj(a, m))) : g = c.na.Lj(a, m);
            a = g.mf();

            for (var n = new c.b(), p = new c.b(), q = f * f, t = 0; t < b.D(); t++) if (b.w(t, n), m.contains(n)) {
              k.I(n.x, n.y, n.x, n.y);
              a.Ni(k, f);

              for (var r = !1, z = a.next(); -1 != z; z = a.next()) if (h.Tb(g.ja(z)), z = h.ba(), z.gc(z.pe(n, !1), p), c.b.sc(p, n) <= q) {
                r = !0;
                break;
              }

              if (e) {
                if (!r) return !1;
              } else if (r) return !0;
            }

            return e ? !0 : !1;
          };

          b.IA = function (a, b, f) {
            var e = new c.b(),
                h = f * f,
                g = a.Fa();
            a = a.ob;

            if (null != a && (a = a.Mb, null != a)) {
              var k = new c.h();
              k.I(b);
              f = a.Yz(k, f);

              for (k = f.next(); -1 != k; k = f.next()) if (g.Tb(a.ja(k)), g.Ea()) {
                var k = g.ba(),
                    m = k.pe(b, !1);
                k.gc(m, e);
                if (c.b.sc(b, e) <= h) return !0;
              }

              return !1;
            }

            for (a = new c.h(); g.Ya();) for (; g.Ea();) if (k = g.ba(), k.s(a), a.O(f, f), a.contains(b) && (m = k.pe(b, !1), k.gc(m, e), c.b.sc(b, e) <= h)) return !0;

            return !1;
          };

          b.yH = function (a, d, c) {
            return b.IA(a, d, c) && !b.hC(a, d, c);
          };

          b.hC = function (a, d, c) {
            a = a.Gg();
            return !b.$t(a, d, c);
          };

          b.XH = function (a, b, f) {
            if (a.hn()) {
              var e = new c.Hb(b.o, b.A, b.o, b.B),
                  h = new c.Hb(b.o, b.B, b.v, b.B),
                  g = new c.Hb(b.v, b.B, b.v, b.A);
              b = new c.Hb(b.v, b.A, b.o, b.A);

              for (a = a.Fa(); a.Ya();) for (; a.Ea();) {
                var k = a.ba();
                if (k.Yb(e, f) || k.Yb(h, f) || k.Yb(g, f) || k.Yb(b, f)) return !0;
              }
            } else {
              e = new c.h();
              e.I(b);
              e.O(f, f);
              f = a.Pa(0);
              h = new c.b();
              g = new c.b();
              b = new c.b();

              for (var k = new c.b(), m = 0, n = a.aa(); m < n; m++) for (var p = !0, q = a.wa(m), t = a.Gc(m); q < t; q++) if (p) f.fc(2 * q, g), p = !1;else {
                f.fc(2 * q, h);
                b.L(g);
                k.L(h);
                if (0 != e.gz(b, k)) return !0;
                g.L(h);
              }
            }

            return !1;
          };

          b.vc = function (a, d, f) {
            var e = a.G(),
                h = d.G();

            if (c.T.gh(e)) {
              var g = a.ob;
              if (null != g && (g = g.Hi, null != g)) if (33 == h) {
                var k = d.w(),
                    k = g.rm(k.x, k.y);
                if (1 == k) return 1;
                if (0 == k) return 4;
              } else {
                k = new c.h();
                d.s(k);
                k = g.Rn(k);
                if (1 == k) return 1;
                if (0 == k) return 4;
                if (f && c.T.gh(h) && b.$C(d, g)) return 1073741824;
              }
            }

            if (c.T.gh(h) && (g = d.ob, null != g && (g = g.Hi, null != g))) if (33 == e) {
              a = a.w();
              k = g.rm(a.x, a.y);
              if (1 == k) return 2;
              if (0 == k) return 4;
            } else {
              d = new c.h();
              a.s(d);
              k = g.Rn(d);
              if (1 == k) return 2;
              if (0 == k) return 4;
              if (f && c.T.gh(e) && b.$C(a, g)) return 1073741824;
            }
            return 0;
          };

          b.$C = function (a, b) {
            for (var f = a.D(), e = new c.b(), h = 0; h < f; h++) if (a.w(h, e), 1 == b.rm(e.x, e.y)) return !0;

            return !1;
          };

          b.iD = function (a, b, f, e) {
            for (var h = 1 <= a.Lk(0) && 1 <= b.Lk(0), g = a.Fa(), k = b.Fa(), m = [0, 0], n = [0, 0], p = new c.Lm(a, b, f, !1), q = !1; p.next();) {
              var t = p.Ql(),
                  r = p.Ml();
              g.Tb(t);
              k.Tb(r);
              t = g.ba();
              r = k.ba().Ma(t, null, n, m, f);

              if (2 == r) {
                q = m[0];
                r = m[1];
                t = t.Rb();
                if (h && (r - q) * t > f) return !1;
                q = !0;
              } else if (0 != r) {
                q = m[0];
                t = n[0];
                if (0 < q && 1 > q && 0 < t && 1 > t) return !1;
                q = !0;
              }
            }

            if (!q) return !1;
            g = new c.h();
            k = new c.h();
            h = new c.h();
            a.s(g);
            b.s(k);
            g.O(1E3 * f, 1E3 * f);
            k.O(1E3 * f, 1E3 * f);
            h.I(g);
            h.Ma(k);
            return 10 < a.D() && (a = c.ne.clip(a, h, f, 0), a.u()) || 10 < b.D() && (b = c.ne.clip(b, h, f, 0), b.u()) ? !1 : c.Nm.gu(a, b, f, "F********", e);
          };

          b.dD = function (a, d, f, e) {
            var h = 1 <= a.Lk(0) && 1 <= d.Lk(0),
                g = new c.h(),
                k = new c.h(),
                m = new c.h();
            a.s(g);
            d.s(k);

            for (var n = !1, p = b.Yp(g, k, f), q = b.Yp(k, g, f), t = a.Fa(), r = d.Fa(), z = [0, 0], v = [0, 0], x = new c.Lm(a, d, f, !1); x.next();) {
              var B = x.Ql(),
                  y = x.Ml();
              t.Tb(B);
              r.Tb(y);
              y = t.ba();
              B = r.ba().Ma(y, null, v, z, f);

              if (2 == B) {
                var B = z[0],
                    A = z[1],
                    y = y.Rb();
                if (h && (A - B) * y > f && (n = !0, p && q)) return !0;
              } else if (0 != B && (B = z[0], y = v[0], 0 < B && 1 > B && 0 < y && 1 > y)) return !0;
            }

            h = new c.h();
            t = new c.h();
            h.I(g);
            h.O(1E3 * f, 1E3 * f);
            t.I(k);
            t.O(1E3 * f, 1E3 * f);
            m.I(h);
            m.Ma(t);
            g = "";
            g = n ? g + "**" : g + "T*";

            if (p) {
              if (10 < d.D() && (d = c.ne.clip(d, m, f, 0), d.u())) return !1;
              g += "****";
            } else g += "T***";

            if (q) {
              if (10 < a.D() && (a = c.ne.clip(a, m, f, 0), a.u())) return !1;
              g += "***";
            } else g += "T**";

            return c.Nm.gu(a, d, f, g.toString(), e);
          };

          b.CL = function (a, d, f, e) {
            var h = [!1],
                g = b.zL(a, d, f, h);
            if (h[0]) return g;
            h = new c.h();
            d.s(h);
            h.O(1E3 * f, 1E3 * f);
            return 10 < a.D() && (a = c.ne.clip(a, h, f, 0), a.u()) ? !1 : c.Nm.Ex(a, d, f, e);
          };

          b.zL = function (a, b, f, e) {
            e[0] = !1;

            for (var h = a.Fa(), g = b.Fa(), k = [0, 0], m = [0, 0], n = new c.Lm(a, b, f, !1), p = !1; n.next();) {
              var q = n.Ql(),
                  t = n.Ml();
              h.Tb(q, -1);
              g.Tb(t, -1);
              q = h.ba();
              q = g.ba().Ma(q, null, m, k, f);
              if (0 != q && (p = !0, 1 == q && (q = k[0], t = m[0], 0 < q && 1 > q && 0 < t && 1 > t))) return e[0] = !0, !1;
            }

            if (!p) {
              e[0] = !0;
              k = new c.h();
              a.s(k);
              k.O(f, f);
              n = a;
              p = !1;
              m = new c.h();
              e = 0;

              for (h = b.aa(); e < h; e++) if (0 < b.La(e)) {
                b.jk(e, m);

                if (k.Yb(m)) {
                  if (g = b.Ba(b.wa(e)), g = c.ff.kn(n, g, 0), 0 == g) return !1;
                } else return !1;

                p || (!c.ff.qm(a, b.aa() - 1) || null != a.ob && null != a.ob.Mb ? n = a : (g = new c.Ja(), a.copyTo(g), g.Hj(1), n = g), p = !0);
              }

              if (1 == a.aa() || 1607 == b.G()) return !0;
              k = new c.h();
              b.s(k);
              k.O(f, f);
              m = b;
              n = !1;
              f = new c.h();
              e = 0;

              for (h = a.aa(); e < h; e++) if (0 < a.La(e)) {
                a.jk(e, f);
                if (k.Yb(f) && (g = a.Ba(a.wa(e)), g = c.ff.kn(m, g, 0), 1 == g)) return !1;
                n || (!c.ff.qm(b, a.aa() - 1) || null != b.ob && null != b.ob.Mb ? m = b : (g = new c.Ja(), b.copyTo(g), g.Hj(1), m = g), n = !0);
              }

              return !0;
            }

            return !1;
          };

          b.kD = function (a, b, f, e) {
            for (var h = a.Fa(), g = b.Fa(), k = [0, 0], m = [0, 0], n = new c.Lm(a, b, f, !1), p = !1; n.next();) {
              var q = n.Ql(),
                  t = n.Ml();
              h.Tb(q);
              g.Tb(t);
              q = h.ba();
              q = g.ba().Ma(q, null, m, k, f);
              if (2 == q) p = !0;else if (0 != q) {
                p = k[0];
                q = m[0];
                if (0 < p && 1 > p && 0 < q && 1 > q) return !1;
                p = !0;
              }
            }

            if (!p) return !1;
            g = new c.h();
            k = new c.h();
            h = new c.h();
            a.s(g);
            b.s(k);
            g.O(1E3 * f, 1E3 * f);
            k.O(1E3 * f, 1E3 * f);
            h.I(g);
            h.Ma(k);
            return 10 < a.D() && (a = c.ne.clip(a, h, f, 0), a.u()) || 10 < b.D() && (b = c.ne.clip(b, h, f, 0), b.u()) ? !1 : c.Nm.On(a, b, f, "F********", e);
          };

          b.bD = function (a, d, f, e) {
            for (var h = a.Fa(), g = d.Fa(), k = [0, 0], m = [0, 0], n = new c.Lm(a, d, f, !1), p = !1; n.next();) {
              var q = n.Ql(),
                  t = n.Ml();
              h.Tb(q);
              g.Tb(t);
              q = h.ba();
              q = g.ba().Ma(q, null, m, k, f);
              if (2 == q) p = !0;else if (0 != q) {
                p = k[0];
                q = m[0];
                if (0 < p && 1 > p && 0 < q && 1 > q) return !0;
                p = !0;
              }
            }

            if (!p) return !1;
            g = new c.h();
            k = new c.h();
            m = new c.h();
            n = new c.h();
            h = new c.h();
            a.s(g);
            d.s(k);
            return b.Yp(k, g, f) ? (m.I(g), m.O(1E3 * f, 1E3 * f), n.I(k), n.O(1E3 * f, 1E3 * f), h.I(m), h.Ma(n), 10 < a.D() && (a = c.ne.clip(a, h, f, 0), a.u()) || 10 < d.D() && (d = c.ne.clip(d, h, f, 0), d.u()) ? !1 : f = c.Nm.On(a, d, f, "T********", e)) : f = c.Nm.On(a, d, f, "T*****T**", e);
          };

          b.DL = function (a, d, f, e) {
            var h = [!1],
                g = b.zL(a, d, f, h);
            if (h[0]) return g;
            h = new c.h();
            d.s(h);
            h.O(1E3 * f, 1E3 * f);
            return 10 < a.D() && (a = c.ne.clip(a, h, f, 0), a.u()) ? !1 : c.Nm.MB(a, d, f, e);
          };

          b.BL = function (a, b, f) {
            return 1 == c.gd.ge(a, b, f) ? !0 : !1;
          };

          b.fD = function (a, b, f) {
            return 2 == c.gd.ge(a, b, f) ? !0 : !1;
          };

          b.$t = function (a, b, f) {
            var e = new c.b();
            f *= f;

            for (var h = 0; h < a.D(); h++) if (a.w(h, e), c.b.sc(e, b) <= f) return !1;

            return !0;
          };

          b.prototype.XF = function (a, b) {
            var c = this.Ph[a],
                e = this.Ph[b];
            return c.zn < e.zn || c.zn == e.zn && (c.bx < e.bx || c.bx == e.bx && (c.ek < e.ek || c.ek == e.ek && (c.rj < e.rj || c.rj == e.rj && c.RI < e.RI))) ? -1 : 1;
          };

          return b;
        }();

        c.Fd = g;
      })(r || (r = {}));

      (function (c) {
        var n;

        (function (b) {
          b[b.InteriorInterior = 0] = "InteriorInterior";
          b[b.InteriorBoundary = 1] = "InteriorBoundary";
          b[b.InteriorExterior = 2] = "InteriorExterior";
          b[b.BoundaryInterior = 3] = "BoundaryInterior";
          b[b.BoundaryBoundary = 4] = "BoundaryBoundary";
          b[b.BoundaryExterior = 5] = "BoundaryExterior";
          b[b.ExteriorInterior = 6] = "ExteriorInterior";
          b[b.ExteriorBoundary = 7] = "ExteriorBoundary";
          b[b.ExteriorExterior = 8] = "ExteriorExterior";
        })(n || (n = {}));

        var g;

        (function (b) {
          b[b.AreaAreaPredicates = 0] = "AreaAreaPredicates";
          b[b.AreaLinePredicates = 1] = "AreaLinePredicates";
          b[b.LineLinePredicates = 2] = "LineLinePredicates";
          b[b.AreaPointPredicates = 3] = "AreaPointPredicates";
          b[b.LinePointPredicates = 4] = "LinePointPredicates";
          b[b.PointPointPredicates = 5] = "PointPointPredicates";
        })(g || (g = {}));

        n = function () {
          function b() {
            this.Ie = 0;
            this.i = new c.Qu();
            this.H = [0, 0, 0, 0, 0, 0, 0, 0, 0];
            this.eb = [0, 0, 0, 0, 0, 0, 0, 0, 0];
            this.ga = [!1, !1, !1, !1, !1, !1, !1, !1, !1];
            this.Fn = this.jx = -1;
          }

          b.ZB = function (a, b, f, e, h) {
            if (9 != e.length) throw c.g.X("relation string length has to be 9 characters");

            for (var g = 0; 9 > g; g++) {
              var k = e.charAt(g);
              if ("*" != k && "T" != k && "F" != k && "0" != k && "1" != k && "2" != k) throw c.g.X("relation string");
            }

            g = this.GT(e, a.tb(), b.tb());
            if (0 != g) return c.Fd.$B(a, b, f, g, h);
            g = new c.h();
            a.s(g);
            k = new c.h();
            b.s(k);
            var m = new c.h();
            m.I(g);
            m.Nb(k);
            f = c.na.be(f, m, !1);
            a = this.cG(a, f);
            b = this.cG(b, f);
            if (a.u() || b.u()) return this.tX(a, b, e);
            g = b.G();
            k = !1;

            switch (a.G()) {
              case 1736:
                switch (g) {
                  case 1736:
                    k = this.gu(a, b, f, e, h);
                    break;

                  case 1607:
                    k = this.On(a, b, f, e, h);
                    break;

                  case 33:
                    k = this.fu(a, b, f, e, h);
                    break;

                  case 550:
                    k = this.eu(a, b, f, e, h);
                }

                break;

              case 1607:
                switch (g) {
                  case 1736:
                    k = this.On(b, a, f, this.Pq(e), h);
                    break;

                  case 1607:
                    k = this.NB(a, b, f, e, h);
                    break;

                  case 33:
                    k = this.iu(a, b, f, e, h);
                    break;

                  case 550:
                    k = this.hu(a, b, f, e, h);
                }

                break;

              case 33:
                switch (g) {
                  case 1736:
                    k = this.fu(b, a, f, this.Pq(e), h);
                    break;

                  case 1607:
                    k = this.iu(b, a, f, this.Pq(e), h);
                    break;

                  case 33:
                    k = this.HW(a, b, f, e);
                    break;

                  case 550:
                    k = this.au(b, a, f, this.Pq(e), h);
                }

                break;

              case 550:
                switch (g) {
                  case 1736:
                    k = this.eu(b, a, f, this.Pq(e), h);
                    break;

                  case 1607:
                    k = this.hu(b, a, f, this.Pq(e), h);
                    break;

                  case 550:
                    k = this.EB(a, b, f, e, h);
                    break;

                  case 33:
                    k = this.au(a, b, f, e, h);
                }

                break;

              default:
                k = !1;
            }

            return k;
          };

          b.gu = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.oK();
            var k = new c.h(),
                m = new c.h();
            a.s(k);
            d.s(m);
            e = !1;
            c.Fd.Ek(k, m, f) && (g.mv(a, d), e = !0);
            e || (k = c.Fd.vc(a, d, !1), 4 == k ? (g.mv(a, d), e = !0) : 1 == k ? (g.Sy(d), e = !0) : 2 == k && (g.mF(a), e = !0));
            e || (e = new c.fd(), a = e.Jb(a), d = e.Jb(d), g.Fp(e, f, h), g.tq(a, d), g.i.qh());
            return b.zg(g.H, g.dd);
          };

          b.Ex = function (a, d, f, e) {
            var h = new b();
            h.xj();
            h.Bj("T*****F**");
            h.oK();
            var g = new c.h(),
                k = new c.h();
            a.s(g);
            d.s(k);
            var m = !1;
            c.Fd.Ek(g, k, f) && (h.mv(a, d), m = !0);
            m || (g = c.Fd.vc(a, d, !1), 4 == g ? (h.mv(a, d), m = !0) : 1 == g ? (h.Sy(d), m = !0) : 2 == g && (h.mF(a), m = !0));
            if (m) return g = this.zg(h.H, h.dd);
            m = new c.fd();
            a = m.Jb(a);
            g = m.Jb(d);
            c.sk.V(m, f, e, !1);
            f = m.Se(g).Gg();
            m.zq(0, !0, !0);
            c.lo.V(m, a, -1, !1, e);
            if (0 == m.D(a)) return !1;
            c.lo.V(m, g, -1, !1, e);
            h.Yr(m, e);
            d = 0 == m.D(g);
            if (!d && (h.tq(a, g), h.i.qh(), g = this.zg(h.H, h.dd), !g)) return g;
            a = m.Se(a);
            m = new c.fd();
            a = m.Jb(a);
            g = m.Jb(f);
            h.Yr(m, e);
            h.Ie = 0;
            h.xj();
            h.Bj(d ? "T*****F**" : "******F**");
            h.iC();
            h.tq(a, g);
            h.i.qh();
            return g = this.zg(h.H, h.dd);
          };

          b.On = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.iC();
            var k = new c.h(),
                m = new c.h();
            a.s(k);
            d.s(m);
            e = !1;
            c.Fd.Ek(k, m, f) && (g.nv(a, d), e = !0);
            e || (k = c.Fd.vc(a, d, !1), 4 == k ? (g.nv(a, d), e = !0) : 1 == k && (g.nF(d), e = !0));
            e || (e = new c.fd(), a = e.Jb(a), d = e.Jb(d), g.Fp(e, f, h), g.Fh = g.i.wq(), b.pv(d, g.i, g.Fh), g.tq(a, d), g.i.xq(g.Fh), g.i.qh());
            return b.zg(g.H, g.dd);
          };

          b.MB = function (a, d, f, e) {
            var h = new b();
            h.xj();
            h.Bj("T*****F**");
            h.iC();
            var g = new c.h(),
                k = new c.h();
            a.s(g);
            d.s(k);
            var m = !1;
            c.Fd.Ek(g, k, f) && (h.nv(a, d), m = !0);
            m || (g = c.Fd.vc(a, d, !1), 4 == g ? (h.nv(a, d), m = !0) : 1 == g && (h.nF(d), m = !0));
            if (m) return f = this.zg(h.H, h.dd);
            m = new c.fd();
            a = m.Jb(a);
            d = m.Jb(d);
            h.Fp(m, f, e);
            if (0 == m.D(a)) return !1;
            h.tq(a, d);
            h.i.qh();
            return f = this.zg(h.H, h.dd);
          };

          b.eu = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.pK();
            var k = new c.h(),
                m = new c.h();
            a.s(k);
            d.s(m);
            e = !1;
            c.Fd.Ek(k, m, f) && (g.ov(a), e = !0);
            e || (k = c.Fd.vc(a, d, !1), 4 == k ? (g.ov(a), e = !0) : 1 == k && (g.CP(), e = !0));
            e || (e = new c.fd(), a = e.Jb(a), d = e.Jb(d), g.Fp(e, f, h), g.lz(a, d), g.i.qh());
            return b.zg(g.H, g.dd);
          };

          b.NB = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.$X();
            e = new c.h();
            var k = new c.h();
            a.s(e);
            d.s(k);
            var m = !1;
            c.Fd.Ek(e, k, f) && (g.dI(a, d), m = !0);
            m || 4 != c.Fd.vc(a, d, !1) || (g.dI(a, d), m = !0);
            m || (e = new c.fd(), a = e.Jb(a), d = e.Jb(d), g.Fp(e, f, h), g.xi = g.i.wq(), g.Fh = g.i.wq(), b.pv(a, g.i, g.xi), b.pv(d, g.i, g.Fh), g.tq(a, d), g.i.xq(g.xi), g.i.xq(g.Fh), g.i.qh());
            return b.zg(g.H, g.dd);
          };

          b.hu = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.DK();
            e = new c.h();
            var k = new c.h();
            a.s(e);
            d.s(k);
            var m = !1;
            c.Fd.Ek(e, k, f) && (g.HA(a), m = !0);
            m || 4 != c.Fd.vc(a, d, !1) || (g.HA(a), m = !0);
            m || (e = new c.fd(), a = e.Jb(a), d = e.Jb(d), g.Fp(e, f, h), g.xi = g.i.wq(), b.pv(a, g.i, g.xi), g.lz(a, d), g.i.xq(g.xi), g.i.qh());
            return b.zg(g.H, g.dd);
          };

          b.EB = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.IK();
            e = new c.h();
            var k = new c.h();
            a.s(e);
            d.s(k);
            var m = !1;
            c.Fd.Ek(e, k, f) && (g.GJ(), m = !0);
            m || (e = new c.fd(), a = e.Jb(a), d = e.Jb(d), g.Fp(e, f, h), g.lz(a, d), g.i.qh());
            return b.zg(g.H, g.dd);
          };

          b.fu = function (a, d, f, e) {
            var h = new b();
            h.xj();
            h.Bj(e);
            h.pK();
            var g = new c.h();
            a.s(g);
            d = d.w();
            var k = !1;
            c.Fd.Dx(d, g, f) && (h.ov(a), k = !0);
            k || (f = c.gd.ge(a, d, f), 1 == f ? (h.H[0] = 0, h.H[2] = 2, h.H[3] = -1, h.H[5] = 1, h.H[6] = -1) : 2 == f ? (h.H[6] = -1, 0 != a.hf() ? (h.H[0] = -1, h.H[3] = 0, h.H[2] = 2, h.H[5] = 1) : (h.H[0] = 0, h.H[3] = -1, h.H[5] = -1, f = new c.h(), a.s(f), h.H[2] = 0 == f.fa() && 0 == f.N() ? -1 : 1)) : h.ov(a));
            return this.zg(h.H, e);
          };

          b.iu = function (a, d, f, e, h) {
            var g = new b();
            g.xj();
            g.Bj(e);
            g.DK();
            var k = new c.h();
            a.s(k);
            e = d.w();
            var m = !1;
            c.Fd.Dx(e, k, f) && (g.HA(a), m = !0);

            if (!m) {
              var k = null,
                  n = m = !1;
              if (g.ga[0] || g.ga[6]) c.Fd.IA(a, e, f) ? (g.ga[0] && (k = c.Pi.Rm(a, h), n = !c.Fd.$t(k, e, f), m = !0, g.H[0] = n ? -1 : 0), g.H[6] = -1) : (g.H[0] = -1, g.H[6] = 0);
              g.ga[3] && (null != k && k.u() ? g.H[3] = -1 : (m || (null == k && (k = c.Pi.Rm(a, h)), n = !c.Fd.$t(k, e, f), m = !0), g.H[3] = n ? 0 : -1));
              g.ga[5] && (null != k && k.u() ? g.H[5] = -1 : m && !n ? g.H[5] = 0 : (null == k && (k = c.Pi.Rm(a, h)), h = c.Fd.zx(k, d, f), g.H[5] = h ? -1 : 0));
              g.ga[2] && (0 != a.Rb() ? g.H[2] = 1 : (h = new c.Ed(a.description), h.Id(a, 0, a.D()), a = c.Fd.zx(h, d, f), g.H[2] = a ? -1 : 0));
            }

            return this.zg(g.H, g.dd);
          };

          b.au = function (a, d, f, e) {
            var h = new b();
            h.xj();
            h.Bj(e);
            h.IK();
            var g = new c.h();
            a.s(g);
            d = d.w();
            var k = !1;
            c.Fd.Dx(d, g, f) && (h.GJ(), k = !0);

            if (!k) {
              g = !1;
              k = !0;
              f *= f;

              for (var m = 0; m < a.D(); m++) {
                var n = a.Ba(m);
                c.b.sc(n, d) <= f ? g = !0 : k = !1;
                if (g && !k) break;
              }

              g ? (h.H[0] = 0, h.H[2] = k ? -1 : 0, h.H[6] = -1) : (h.H[0] = -1, h.H[2] = 0, h.H[6] = 0);
            }

            return b.zg(h.H, e);
          };

          b.HW = function (a, d, f, e) {
            a = a.w();
            d = d.w();

            for (var h = [], g = 0; 9 > g; g++) h[g] = -1;

            c.b.sc(a, d) <= f * f ? h[0] = 0 : (h[2] = 0, h[6] = 0);
            h[8] = 2;
            return b.zg(h, e);
          };

          b.zg = function (a, b) {
            for (var c = 0; 9 > c; c++) switch (b.charAt(c)) {
              case "T":
                if (-1 == a[c]) return !1;
                break;

              case "F":
                if (-1 != a[c]) return !1;
                break;

              case "0":
                if (0 != a[c]) return !1;
                break;

              case "1":
                if (1 != a[c]) return !1;
                break;

              case "2":
                if (2 != a[c]) return !1;
            }

            return !0;
          };

          b.tX = function (a, b, f) {
            var e = [-1, -1, -1, -1, -1, -1, -1, -1, -1];

            if (a.u() && b.u()) {
              for (var h = 0; 9 > h; h++) e[h] = -1;

              return this.zg(e, f);
            }

            h = !1;
            a.u() && (a = b, h = !0);
            e[0] = -1;
            e[1] = -1;
            e[3] = -1;
            e[4] = -1;
            e[6] = -1;
            e[7] = -1;
            e[8] = 2;
            b = a.G();
            c.T.Ic(b) ? 1736 == b ? 0 != a.hf() ? (e[2] = 2, e[5] = 1) : (e[5] = -1, b = new c.h(), a.s(b), e[2] = 0 == b.fa() && 0 == b.N() ? 0 : 1) : (b = 0 != a.Rb(), e[2] = b ? 1 : 0, e[5] = c.Pi.Rq(a) ? 0 : -1) : (e[2] = 0, e[5] = -1);
            h && this.kL(e);
            return this.zg(e, f);
          };

          b.GT = function (a, d, c) {
            return b.lQ(a) ? 3 : b.tO(a) ? 4 : b.hU(a, d, c) ? 8 : b.kO(a, d, c) ? 16 : b.PN(a) ? 1 : b.$M(a, d, c) ? 32 : 0;
          };

          b.lQ = function (a) {
            return "T" == a.charAt(0) && "*" == a.charAt(1) && "F" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "F" == a.charAt(5) && "F" == a.charAt(6) && "F" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1;
          };

          b.tO = function (a) {
            return "F" == a.charAt(0) && "F" == a.charAt(1) && "*" == a.charAt(2) && "F" == a.charAt(3) && "F" == a.charAt(4) && "*" == a.charAt(5) && "*" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1;
          };

          b.hU = function (a, b, c) {
            if (0 == b && 0 == c) return !1;
            if (2 != b || 2 != c) if ("F" == a.charAt(0) && "*" == a.charAt(1) && "*" == a.charAt(2) && "T" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "*" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8) || 1 == b && 1 == c && "F" == a.charAt(0) && "T" == a.charAt(1) && "*" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "*" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8)) return !0;
            return 0 != c && "F" == a.charAt(0) && "*" == a.charAt(1) && "*" == a.charAt(2) && "*" == a.charAt(3) && "T" == a.charAt(4) && "*" == a.charAt(5) && "*" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1;
          };

          b.kO = function (a, b, c) {
            return b > c ? "T" == a.charAt(0) && "*" == a.charAt(1) && "*" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "T" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1 : 1 == b && 1 == c && "0" == a.charAt(0) && "*" == a.charAt(1) && "*" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "*" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1;
          };

          b.PN = function (a) {
            return "T" == a.charAt(0) && "*" == a.charAt(1) && "*" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "F" == a.charAt(6) && "F" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1;
          };

          b.$M = function (a, b, c) {
            if (b == c) {
              if (1 != b) return "T" == a.charAt(0) && "*" == a.charAt(1) && "T" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "T" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8) ? !0 : !1;
              if ("1" == a.charAt(0) && "*" == a.charAt(1) && "T" == a.charAt(2) && "*" == a.charAt(3) && "*" == a.charAt(4) && "*" == a.charAt(5) && "T" == a.charAt(6) && "*" == a.charAt(7) && "*" == a.charAt(8)) return !0;
            }

            return !1;
          };

          b.pv = function (a, b, c) {
            a = b.Ia(a);

            for (var e = b.rf; -1 != e; e = b.og(e)) if (0 != (b.Md(e) & a)) {
              var h = b.kf(e);
              if (-1 == h) b.co(e, c, 0);else {
                var g = h,
                    k = 0;

                do 0 != (b.Ah(g) & a) && k++, g = b.qc(b.Aa(g)); while (g != h);

                b.co(e, c, k);
              }
            }
          };

          b.Pq = function (a) {
            var b;
            b = "" + a.charAt(0);
            b += a.charAt(3);
            b += a.charAt(6);
            b += a.charAt(1);
            b += a.charAt(4);
            b += a.charAt(7);
            b += a.charAt(2);
            b += a.charAt(5);
            return b += a.charAt(8);
          };

          b.prototype.xj = function () {
            for (var a = 0; 9 > a; a++) this.H[a] = -2, this.eb[a] = -2;
          };

          b.kL = function (a) {
            var b = a[1],
                c = a[2],
                e = a[5];
            a[1] = a[3];
            a[2] = a[6];
            a[5] = a[7];
            a[3] = b;
            a[6] = c;
            a[7] = e;
          };

          b.prototype.Bj = function (a) {
            this.dd = a;

            for (a = 0; 9 > a; a++) "*" != this.dd.charAt(a) ? (this.ga[a] = !0, this.Ie++) : this.ga[a] = !1;
          };

          b.prototype.LK = function () {
            for (var a = 0; 9 > a; a++) this.ga[a] && -2 == this.H[a] && (this.H[a] = -1, this.ga[a] = !1);
          };

          b.prototype.uc = function (a) {
            if (-2 == this.H[a]) return !1;
            if (-1 == this.H[a]) return this.ga[a] = !1, this.Ie--, !0;

            if ("T" != this.dd.charAt(a) && "F" != this.dd.charAt(a)) {
              if (this.H[a] < this.eb[a]) return !1;
              this.ga[a] = !1;
              this.Ie--;
              return !0;
            }

            this.ga[a] = !1;
            this.Ie--;
            return !0;
          };

          b.prototype.oK = function () {
            this.jx = 0;
            this.eb[0] = 2;
            this.eb[1] = 1;
            this.eb[2] = 2;
            this.eb[3] = 1;
            this.eb[4] = 1;
            this.eb[5] = 1;
            this.eb[6] = 2;
            this.eb[7] = 1;
            this.eb[8] = 2;
            this.ga[8] && (this.H[8] = 2, this.ga[8] = !1, this.Ie--);
          };

          b.prototype.iC = function () {
            this.jx = 1;
            this.Fn = 3;
            this.eb[0] = 1;
            this.eb[1] = 0;
            this.eb[2] = 2;
            this.eb[3] = 1;
            this.eb[4] = 0;
            this.eb[5] = 1;
            this.eb[6] = 1;
            this.eb[7] = 0;
            this.eb[8] = 2;
            this.ga[8] && (this.H[8] = 2, this.ga[8] = !1, this.Ie--);
          };

          b.prototype.$X = function () {
            this.jx = 2;
            this.Fn = 4;
            this.eb[0] = 1;
            this.eb[1] = 0;
            this.eb[2] = 1;
            this.eb[3] = 0;
            this.eb[4] = 0;
            this.eb[5] = 0;
            this.eb[6] = 1;
            this.eb[7] = 0;
            this.eb[8] = 2;
            this.ga[8] && (this.H[8] = 2, this.ga[8] = !1, this.Ie--);
          };

          b.prototype.pK = function () {
            this.Fn = 3;
            this.eb[0] = 0;
            this.eb[1] = -1;
            this.eb[2] = 2;
            this.eb[3] = 0;
            this.eb[4] = -1;
            this.eb[5] = 1;
            this.eb[6] = 0;
            this.eb[7] = -1;
            this.eb[8] = 2;
            this.ga[1] && (this.H[1] = -1, this.ga[1] = !1, this.Ie--);
            this.ga[4] && (this.H[4] = -1, this.ga[4] = !1, this.Ie--);
            this.ga[7] && (this.H[7] = -1, this.ga[7] = !1, this.Ie--);
            this.ga[8] && (this.H[8] = 2, this.ga[8] = !1, this.Ie--);
          };

          b.prototype.DK = function () {
            this.Fn = 4;
            this.eb[0] = 0;
            this.eb[1] = -1;
            this.eb[2] = 1;
            this.eb[3] = 0;
            this.eb[4] = -1;
            this.eb[5] = 0;
            this.eb[6] = 0;
            this.eb[7] = -1;
            this.eb[8] = 2;
            this.ga[1] && (this.H[1] = -1, this.ga[1] = !1, this.Ie--);
            this.ga[4] && (this.H[4] = -1, this.ga[4] = !1, this.Ie--);
            this.ga[7] && (this.H[7] = -1, this.ga[7] = !1, this.Ie--);
            this.ga[8] && (this.H[8] = 2, this.ga[8] = !1, this.Ie--);
          };

          b.prototype.IK = function () {
            this.Fn = 5;
            this.eb[0] = 0;
            this.eb[1] = -1;
            this.eb[2] = 0;
            this.eb[3] = -1;
            this.eb[4] = -1;
            this.eb[5] = -1;
            this.eb[6] = 0;
            this.eb[7] = -1;
            this.eb[8] = 2;
            this.ga[1] && (this.H[1] = -1, this.ga[1] = !1, this.Ie--);
            this.ga[3] && (this.H[3] = -1, this.ga[3] = !1, this.Ie--);
            this.ga[4] && (this.H[4] = -1, this.ga[4] = !1, this.Ie--);
            this.ga[5] && (this.H[5] = -1, this.ga[5] = !1, this.Ie--);
            this.ga[7] && (this.H[7] = -1, this.ga[7] = !1, this.Ie--);
            this.ga[8] && (this.H[8] = 2, this.ga[8] = !1, this.Ie--);
          };

          b.prototype.AP = function (a, b, c) {
            var e = !0;
            this.ga[0] && (this.yU(a, b, c), e = e && this.uc(0));
            this.ga[1] && (this.FH(a, b, 1), e = e && this.uc(1));
            this.ga[2] && (this.GH(a, b, c, 2), e = e && this.uc(2));
            this.ga[3] && (this.FH(a, c, 3), e = e && this.uc(3));
            this.ga[4] && (this.GP(a, b, c), e = e && this.uc(4));
            this.ga[5] && (this.sF(a, c, 5), e = e && this.uc(5));
            this.ga[6] && (this.GH(a, c, b, 6), e = e && this.uc(6));
            this.ga[7] && (this.sF(a, b, 7), e = e && this.uc(7));
            return e;
          };

          b.prototype.mv = function (a, b) {
            this.H[0] = -1;
            this.H[1] = -1;
            this.H[3] = -1;
            this.H[4] = -1;
            this.Ds(a, this.ga[2] ? 2 : -1, this.dd.charAt(2), this.ga[5] ? 5 : -1, this.dd.charAt(5));
            this.Ds(b, this.ga[6] ? 6 : -1, this.dd.charAt(6), this.ga[7] ? 7 : -1, this.dd.charAt(7));
          };

          b.prototype.Ds = function (a, b, f, e, h) {
            if (-1 != b || -1 != e) ("T" != f && "F" != f && -1 != b || "T" != h && "F" != h && -1 != e ? 0 != a.hf() : 1) ? (-1 != b && (this.H[b] = 2), -1 != e && (this.H[e] = 1)) : (-1 != e && (this.H[e] = -1), -1 != b && (f = new c.h(), a.s(f), this.H[b] = 0 == f.fa() && 0 == f.N() ? 0 : 1));
          };

          b.prototype.Sy = function (a) {
            this.H[2] = 2;
            this.H[3] = -1;
            this.H[4] = -1;
            this.H[5] = 1;
            this.H[6] = -1;
            this.H[7] = -1;
            this.Ds(a, this.ga[0] ? 0 : -1, this.dd.charAt(0), this.ga[1] ? 1 : -1, this.dd.charAt(1));
          };

          b.prototype.mF = function (a) {
            this.Sy(a);
            b.kL(this.H);
          };

          b.prototype.nv = function (a, b) {
            this.H[0] = -1;
            this.H[1] = -1;
            this.H[3] = -1;
            this.H[4] = -1;

            if (this.ga[6]) {
              var f = this.dd.charAt(6),
                  f = "T" != f && "F" != f ? 0 != b.Rb() : !0;
              this.H[6] = f ? 1 : 0;
            }

            this.ga[7] && (f = c.Pi.Rq(b), this.H[7] = f ? 0 : -1);
            this.Ds(a, this.ga[2] ? 2 : -1, this.dd.charAt(2), this.ga[5] ? 5 : -1, this.dd.charAt(5));
          };

          b.prototype.nF = function (a) {
            if (this.ga[0]) {
              var b = this.dd.charAt(0),
                  b = "T" != b && "F" != b ? 0 != a.Rb() : !0;
              this.H[0] = b ? 1 : 0;
            }

            this.ga[1] && (a = c.Pi.Rq(a), this.H[1] = a ? 0 : -1);
            this.H[2] = 2;
            this.H[3] = -1;
            this.H[4] = -1;
            this.H[5] = 1;
            this.H[6] = -1;
            this.H[7] = -1;
          };

          b.prototype.ov = function (a) {
            this.H[0] = -1;
            this.H[3] = -1;
            this.H[6] = 0;
            this.Ds(a, this.ga[2] ? 2 : -1, this.dd.charAt(2), this.ga[5] ? 5 : -1, this.dd.charAt(5));
          };

          b.prototype.CP = function () {
            this.H[0] = 0;
            this.H[2] = 2;
            this.H[3] = -1;
            this.H[5] = 1;
            this.H[6] = -1;
          };

          b.prototype.dI = function (a, b) {
            this.H[0] = -1;
            this.H[1] = -1;
            this.H[3] = -1;
            this.H[4] = -1;

            if (this.ga[2]) {
              var f = this.dd.charAt(2),
                  f = "T" != f && "F" != f ? 0 != a.Rb() : !0;
              this.H[2] = f ? 1 : 0;
            }

            this.ga[5] && (f = c.Pi.Rq(a), this.H[5] = f ? 0 : -1);
            this.ga[6] && (f = this.dd.charAt(6), f = "T" != f && "F" != f ? 0 != b.Rb() : !0, this.H[6] = f ? 1 : 0);
            this.ga[7] && (f = c.Pi.Rq(b), this.H[7] = f ? 0 : -1);
          };

          b.prototype.HA = function (a) {
            this.H[0] = -1;
            this.H[3] = -1;

            if (this.ga[2]) {
              var b = this.dd.charAt(2),
                  b = "T" != b && "F" != b ? 0 != a.Rb() : !0;
              this.H[2] = b ? 1 : 0;
            }

            this.ga[5] && (a = c.Pi.Rq(a), this.H[5] = a ? 0 : -1);
            this.H[6] = 0;
          };

          b.prototype.GJ = function () {
            this.H[0] = -1;
            this.H[2] = 0;
            this.H[6] = 0;
          };

          b.prototype.BP = function (a, b, c) {
            var e = !0;
            this.ga[0] && (this.zU(a, b), e = e && this.uc(0));
            this.ga[1] && (this.vU(a, b, c, this.Fh), e = e && this.uc(1));
            this.ga[2] && (this.wU(a, b), e = e && this.uc(2));
            this.ga[3] && (this.KP(a, b, c, this.Fh), e = e && this.uc(3));
            this.ga[4] && (this.HP(a, b, c, this.Fh), e = e && this.uc(4));
            this.ga[5] && (this.IP(a, b, c), e = e && this.uc(5));
            this.ga[6] && (this.eS(a, b), e = e && this.uc(6));
            this.ga[7] && (this.dS(a, b, c, this.Fh), e = e && this.uc(7));
            return e;
          };

          b.prototype.oV = function (a, b, c) {
            var e = !0;
            this.ga[0] && (this.CU(a, b, c, this.xi, this.Fh), e = e && this.uc(0));
            this.ga[1] && (this.HH(a, b, c, this.xi, this.Fh, 1), e = e && this.uc(1));
            this.ga[2] && (this.IH(a, b, c, 2), e = e && this.uc(2));
            this.ga[3] && (this.HH(a, c, b, this.Fh, this.xi, 3), e = e && this.uc(3));
            this.ga[4] && (this.MP(a, b, c, this.xi, this.Fh), e = e && this.uc(4));
            this.ga[5] && (this.tF(a, c, this.xi, 5), e = e && this.uc(5));
            this.ga[6] && (this.IH(a, c, b, 6), e = e && this.uc(6));
            this.ga[7] && (this.tF(a, b, this.Fh, 7), e = e && this.uc(7));
            return e;
          };

          b.prototype.oF = function (a, b, c) {
            var e = !0;
            this.ga[0] && (this.AU(a, b), e = e && this.uc(0));
            this.ga[2] && (this.xU(a, b), e = e && this.uc(2));
            this.ga[3] && (this.LP(a, b, c), e = e && this.uc(3));
            this.ga[5] && (this.JP(a, b), e = e && this.uc(5));
            this.ga[6] && (this.fS(a, b), e = e && this.uc(6));
            return e;
          };

          b.prototype.eI = function (a, b, c) {
            var e = !0;
            this.ga[0] && (this.DU(a, b, c, this.xi), e = e && this.uc(0));
            this.ga[2] && (this.BU(a, c), e = e && this.uc(2));
            this.ga[3] && (this.OP(a, b, c, this.xi), e = e && this.uc(3));
            this.ga[5] && (this.NP(a, b, c, this.xi), e = e && this.uc(5));
            this.ga[6] && (this.gS(a, b, c), e = e && this.uc(6));
            return e;
          };

          b.prototype.GW = function (a, b, c) {
            var e = !0;
            this.ga[0] && (this.EU(a, b, c), e = e && this.uc(0));
            this.ga[2] && (this.JH(a, b, c, 2), e = e && this.uc(2));
            this.ga[6] && (this.JH(a, c, b, 6), e = e && this.uc(6));
            return e;
          };

          b.prototype.yU = function (a, b, c) {
            2 != this.H[0] && (a = this.i.Ff(a), 0 != (a & b) && 0 != (a & c) && (this.H[0] = 2));
          };

          b.prototype.FH = function (a, b, c) {
            if (1 != this.H[c]) {
              var e = this.i.Ff(this.i.Aa(a));
              0 != (this.i.Ff(a) & b) && 0 != (e & b) && (this.H[c] = 1);
            }
          };

          b.prototype.GH = function (a, b, c, e) {
            2 != this.H[e] && (a = this.i.Ff(a), 0 != (a & b) && 0 == (a & c) && (this.H[e] = 2));
          };

          b.prototype.GP = function (a, b, c) {
            if (1 != this.H[4]) {
              var e = this.i.Ah(a);
              0 != (e & b) && 0 != (e & c) ? this.H[4] = 1 : 0 != this.H[4] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj) && (a = this.i.Md(this.i.Xf(a)), 0 != (a & b) && 0 != (a & c) && (this.H[4] = 0));
            }
          };

          b.prototype.sF = function (a, b, c) {
            if (1 != this.H[c]) {
              var e = this.i.Ff(this.i.Aa(a));
              0 == (this.i.Ff(a) & b) && 0 == (e & b) && (this.H[c] = 1);
            }
          };

          b.prototype.zU = function (a, b) {
            if (1 != this.H[0]) {
              var c = this.i.Ff(this.i.Aa(a));
              0 != (this.i.Ff(a) & b) && 0 != (c & b) && (this.H[0] = 1);
            }
          };

          b.prototype.vU = function (a, b, c, e) {
            if (0 != this.H[1] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj)) {
              var h = this.i.Xf(a),
                  g = this.i.Md(h);
              0 == (g & b) && 0 != (this.i.Ff(a) & b) && (a = this.i.Hg(h, e), 0 != (g & c) && 0 != a % 2 && (this.H[1] = 0));
            }
          };

          b.prototype.wU = function (a, b) {
            2 != this.H[2] && 0 != (this.i.Ah(a) & b) && (this.H[2] = 2);
          };

          b.prototype.KP = function (a, b, c, e) {
            if (1 != this.H[3]) {
              var h = this.i.Ah(a);
              0 != (h & b) && 0 != (h & c) ? this.H[3] = 1 : 0 != this.H[3] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj) && (h = this.i.Xf(a), a = this.i.Md(h), 0 != (a & b) && (b = this.i.Hg(h, e), 0 != (a & c) && 0 == b % 2 && (this.H[3] = 0)));
            }
          };

          b.prototype.HP = function (a, b, c, e) {
            if (0 != this.H[4] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj)) {
              var h = this.i.Xf(a);
              a = this.i.Md(h);
              0 != (a & b) && (b = this.i.Hg(h, e), 0 != (a & c) && 0 != b % 2 && (this.H[4] = 0));
            }
          };

          b.prototype.IP = function (a, b, c) {
            1 != this.H[5] && (a = this.i.Ah(a), 0 != (a & b) && 0 == (a & c) && (this.H[5] = 1));
          };

          b.prototype.eS = function (a, b) {
            if (1 != this.H[6]) {
              var c = this.i.Ff(this.i.Aa(a));
              0 == (this.i.Ff(a) & b) && 0 == (c & b) && (this.H[6] = 1);
            }
          };

          b.prototype.dS = function (a, b, c, e) {
            if (0 != this.H[7] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj)) {
              var h = this.i.Xf(a),
                  g = this.i.Md(h);
              0 == (g & b) && 0 == (this.i.Ff(a) & b) && (a = this.i.Hg(h, e), 0 != (g & c) && 0 != a % 2 && (this.H[7] = 0));
            }
          };

          b.prototype.CU = function (a, b, c, e, h) {
            if (1 != this.H[0]) {
              var g = this.i.Ah(a);
              0 != (g & b) && 0 != (g & c) ? this.H[0] = 1 : 0 != this.H[0] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj) && (a = this.i.Xf(a), g = this.i.Md(a), 0 != (g & b) && 0 != (g & c) && (b = this.i.Hg(a, e), h = this.i.Hg(a, h), 0 == b % 2 && 0 == h % 2 && (this.H[0] = 0)));
            }
          };

          b.prototype.HH = function (a, b, c, e, h, g) {
            if (0 != this.H[g] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj)) {
              a = this.i.Xf(a);
              var k = this.i.Md(a);
              0 != (k & b) && 0 != (k & c) && (b = this.i.Hg(a, e), h = this.i.Hg(a, h), 0 == b % 2 && 0 != h % 2 && (this.H[g] = 0));
            }
          };

          b.prototype.IH = function (a, b, c, e) {
            1 != this.H[e] && (a = this.i.Ah(a), 0 != (a & b) && 0 == (a & c) && (this.H[e] = 1));
          };

          b.prototype.MP = function (a, b, c, e, h) {
            if (0 != this.H[4] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj)) {
              a = this.i.Xf(a);
              var g = this.i.Md(a);
              0 != (g & b) && 0 != (g & c) && (b = this.i.Hg(a, e), h = this.i.Hg(a, h), 0 != b % 2 && 0 != h % 2 && (this.H[4] = 0));
            }
          };

          b.prototype.tF = function (a, b, c, e) {
            0 != this.H[e] && 1 != this.i.Kb(this.i.Te(this.i.Aa(a)), this.vj) && (a = this.i.Xf(a), 0 == (this.i.Md(a) & b) && 0 != this.i.Hg(a, c) % 2 && (this.H[e] = 0));
          };

          b.prototype.AU = function (a, b) {
            0 != this.H[0] && 0 == (this.i.Md(a) & b) && 0 != (this.i.Ik(this.i.Lz(a)) & b) && (this.H[0] = 0);
          };

          b.prototype.xU = function (a, b) {
            2 != this.H[2] && 0 != (this.i.Md(a) & b) && (this.H[2] = 2);
          };

          b.prototype.LP = function (a, b, c) {
            0 != this.H[3] && (a = this.i.Md(a), 0 != (a & b) && 0 != (a & c) && (this.H[3] = 0));
          };

          b.prototype.JP = function (a, b) {
            1 != this.H[5] && 0 != (this.i.Md(a) & b) && (this.H[5] = 1);
          };

          b.prototype.fS = function (a, b) {
            0 != this.H[6] && 0 == (this.i.Md(a) & b) && 0 == (this.i.Ik(this.i.Lz(a)) & b) && (this.H[6] = 0);
          };

          b.prototype.DU = function (a, b, c, e) {
            if (0 != this.H[0]) {
              var h = this.i.Md(a);
              0 != (h & b) && 0 != (h & c) && 0 == this.i.Hg(a, e) % 2 && (this.H[0] = 0);
            }
          };

          b.prototype.BU = function (a, b) {
            1 != this.H[2] && (-1 != this.i.kf(a) ? this.H[2] = 1 : 0 != this.H[2] && 0 == (this.i.Md(a) & b) && (this.H[2] = 0));
          };

          b.prototype.OP = function (a, b, c, e) {
            if (0 != this.H[3]) {
              var h = this.i.Md(a);
              0 != (h & b) && 0 != (h & c) && 0 != this.i.Hg(a, e) % 2 && (this.H[3] = 0);
            }
          };

          b.prototype.NP = function (a, b, c, e) {
            if (0 != this.H[5]) {
              var h = this.i.Md(a);
              0 != (h & b) && 0 == (h & c) && 0 != this.i.Hg(a, e) % 2 && (this.H[5] = 0);
            }
          };

          b.prototype.gS = function (a, b, c) {
            0 != this.H[6] && (a = this.i.Md(a), 0 == (a & b) && 0 != (a & c) && (this.H[6] = 0));
          };

          b.prototype.EU = function (a, b, c) {
            0 != this.H[0] && (a = this.i.Md(a), 0 != (a & b) && 0 != (a & c) && (this.H[0] = 0));
          };

          b.prototype.JH = function (a, b, c, e) {
            0 != this.H[e] && (a = this.i.Md(a), 0 != (a & b) && 0 == (a & c) && (this.H[e] = 0));
          };

          b.prototype.tq = function (a, b) {
            var f = !1,
                e = this.i.Ia(a),
                h = this.i.Ia(b);
            this.vj = this.i.xh();

            for (var g = this.i.rf; -1 != g; g = this.i.og(g)) {
              var k = this.i.kf(g);

              if (-1 == k) {
                if (-1 != this.Fn) switch (this.Fn) {
                  case 3:
                    f = this.oF(g, e, h);
                    break;

                  case 4:
                    f = this.eI(g, e, h);
                    break;

                  default:
                    throw c.g.X("internal error");
                }
              } else {
                var m = k;

                do {
                  var n = m;

                  if (1 != this.i.Kb(n, this.vj)) {
                    do {
                      switch (this.jx) {
                        case 0:
                          f = this.AP(n, e, h);
                          break;

                        case 1:
                          f = this.BP(n, e, h);
                          break;

                        case 2:
                          f = this.oV(n, e, h);
                          break;

                        default:
                          throw c.g.X("internal error");
                      }

                      if (f) break;
                      this.i.Ob(n, this.vj, 1);
                      n = this.i.qc(n);
                    } while (n != m && !f);
                  }

                  if (f) break;
                  m = this.i.qc(this.i.Aa(n));
                } while (m != k);

                if (f) break;
              }
            }

            f || this.LK();
            this.i.ni(this.vj);
          };

          b.prototype.lz = function (a, b) {
            for (var f = !1, e = this.i.Ia(a), h = this.i.Ia(b), g = this.i.rf; -1 != g; g = this.i.og(g)) {
              switch (this.Fn) {
                case 3:
                  f = this.oF(g, e, h);
                  break;

                case 4:
                  f = this.eI(g, e, h);
                  break;

                case 5:
                  f = this.GW(g, e, h);
                  break;

                default:
                  throw c.g.za();
              }

              if (f) break;
            }

            f || this.LK();
          };

          b.prototype.Yr = function (a, b) {
            this.i.Wr(a, b);
          };

          b.prototype.Fp = function (a, b, c) {
            this.WR(a, b, c);
            this.Yr(a, c);
          };

          b.prototype.WR = function (a, b, f) {
            c.sk.V(a, b, f, !1);
            a.zq(0, !0, !0);

            for (b = a.sd; -1 != b; b = a.Ue(b)) 1736 == a.hc(b) && c.lo.V(a, b, -1, !1, f);
          };

          b.cG = function (a, b) {
            var f = a.G();
            if (c.T.Oc(f)) return f = new c.Ua(a.description), f.dc(a, !0), f;

            if (197 == f) {
              f = new c.h();
              a.s(f);
              if (f.fa() <= b && f.N() <= b) return f = new c.Wa(a.description), a.Wf(f), f;

              if (f.fa() <= b || f.N() <= b) {
                var f = new c.Ua(a.description),
                    e = new c.Wa();
                a.ig(0, e);
                f.Rf(e);
                a.ig(2, e);
                f.lineTo(e);
                return f;
              }

              f = new c.Ja(a.description);
              f.jd(a, !1);
              return f;
            }

            return a;
          };

          return b;
        }();

        c.Nm = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function a(a) {
            this.sn = new c.ia(0);
            this.Rw = new c.ia(0);
            this.mu = new c.b();
            this.nu = new c.b();
            this.a = a;
            this.Dt = -1;
          }

          a.prototype.ic = function (a) {
            return this.a.ic(this.kA(a));
          };

          a.prototype.ow = function (a) {
            var b = this.Sz(a);
            a = this.SG(a);

            if (this.a.Ra(b) == a) {
              var c = b,
                  b = a;
              a = c;
            }

            this.a.Nc(b, this.mu);
            this.a.Nc(a, this.nu);
            return this.mu.y < this.nu.y;
          };

          a.prototype.kA = function (a) {
            var b = this.Sz(a);
            a = this.SG(a);
            return this.a.U(b) == a ? b : a;
          };

          a.prototype.Sz = function (a) {
            return this.sn.get(a);
          };

          a.prototype.SG = function (a) {
            return this.Rw.get(a);
          };

          a.prototype.CG = function (a) {
            this.sn.set(a, this.Dt);
            this.Dt = a;
          };

          a.prototype.wJ = function (a) {
            if (-1 != this.Dt) {
              var b = this.Dt;
              this.Dt = this.sn.get(b);
              this.sn.set(b, a);
              this.Rw.set(b, this.a.U(a));
              return b;
            }

            null == this.sn && (this.sn = new c.ia(0), this.Rw = new c.ia(0));
            b = this.sn.size;
            this.sn.add(a);
            this.Rw.add(this.a.U(a));
            return b;
          };

          a.prototype.dA = function (a) {
            return this.a.ld(this.Sz(a));
          };

          return a;
        }();

        c.LZ = n;

        var g = function () {
          function a(a) {
            this.bf = a;
            this.Fe = new c.Hb();
            this.An = new c.Hb();
            this.SI = 0;
            this.op = null;
            this.fB = -1;
          }

          a.prototype.compare = function (a, b, c) {
            c = a.ja(c);
            var h = this.bf.ib,
                g;
            this.fB == b ? g = this.SI : (this.op = h.ic(b), null == this.op ? (a = h.a, a.pd(h.kA(b), this.Fe), this.op = this.Fe, g = this.Fe.pf(this.bf.Wh, 0)) : g = this.op.pf(this.bf.Wh, 0), this.SI = g, this.fB = b);
            a = h.ic(c);
            var k;
            null == a ? (a = h.a, a.pd(h.kA(c), this.An), a = this.An, k = this.An.pf(this.bf.Wh, 0)) : k = a.pf(this.bf.Wh, 0);
            g == k && (b = h.ow(b), c = h.ow(c), c = Math.min(b ? this.op.oa : this.op.ra, c ? a.oa : a.ra), b = .5 * (c + this.bf.Wh), b == this.bf.Wh && (b = c), g = this.op.pf(b, 0), k = a.pf(b, 0));
            return g < k ? -1 : g > k ? 1 : 0;
          };

          a.prototype.reset = function () {
            this.fB = -1;
          };

          return a;
        }(),
            b = function () {
          function a() {
            this.Kn = this.jm = null;
            this.hb = new c.uk();
            this.hb.PR();
            this.we = new g(this);
            this.hb.Ep(this.we);
          }

          a.prototype.zS = function () {
            var a = !1;
            this.Vw && (a = this.AS());

            if (1 == this.a.aa(this.Y)) {
              var b = this.a.Pb(this.Y),
                  a = this.a.hA(b);
              this.a.pC(b, !0);
              return 0 > a ? (a = this.a.cb(b), this.a.fK(a), this.a.sh(b, this.a.Ra(a)), !0) : !1;
            }

            this.hm = this.a.rz();
            this.kp = this.a.rz();

            for (b = this.a.Pb(this.Y); -1 != b; b = this.a.Sb(b)) this.a.$r(b, this.hm, 0), this.a.$r(b, this.kp, -1);

            b = new c.ia(0);
            this.Wh = NaN;
            var e = new c.b();
            this.Xt = this.a.aa(this.Y);
            this.fp = this.a.Vd();
            this.Mt = this.a.Vd();

            for (var h = this.jm.xc(this.jm.Ge); -1 != h; h = this.jm.nb(h)) {
              var g = this.jm.getData(h);
              this.a.Nc(g, e);
              e.y != this.Wh && 0 != b.size && (a = this.ju(b) || a, this.we.reset(), b.clear(!1));
              b.add(g);
              this.Wh = e.y;
              if (0 == this.Xt) break;
            }

            0 < this.Xt && (a = this.ju(b) || a, b.clear(!1));
            this.a.le(this.fp);
            this.a.le(this.Mt);

            for (b = this.a.Pb(this.Y); -1 != b;) if (3 == this.a.Tj(b, this.hm)) {
              this.a.pC(b, !0);
              e = b;

              for (b = this.a.Tj(b, this.kp); -1 != b;) h = this.a.Tj(b, this.kp), this.a.YV(this.Y, this.a.Sb(e), b), e = b, b = h;

              b = this.a.Sb(e);
            } else this.a.pC(b, !1), b = this.a.Sb(b);

            this.a.cC(this.hm);
            this.a.cC(this.kp);
            return a;
          };

          a.prototype.ju = function (a) {
            return this.TW(a);
          };

          a.prototype.TW = function (a) {
            var b = !1;
            null == this.ib && (this.ib = new n(this.a));
            null == this.Kn ? (this.Kn = new c.ia(0), this.Kn.yb(16)) : this.Kn.clear(!1);
            this.SW(a);

            for (var e = 0, h = a.size; e < h; e++) {
              var g = a.get(e);
              -1 != g && this.CH(g, -1);
            }

            for (e = 0; e < this.Kn.size && 0 < this.Xt; e++) if (a = this.Kn.get(e), g = this.ib.dA(this.hb.ja(a)), h = -1, 0 == this.a.Tj(g, this.hm)) {
              for (var g = this.hb.Ve(a), k = a, m; -1 != g;) {
                var r = this.hb.ja(g),
                    p = this.ib.dA(r),
                    q = this.a.Tj(p, this.hm);

                if (0 != q) {
                  h = p;
                  break;
                }

                k = g;
                g = this.hb.Ve(g);
              }

              -1 == g ? (m = !0, g = k) : (r = this.hb.ja(g), m = this.ib.ow(r), g = this.hb.nb(g), m = !m);

              do {
                r = this.hb.ja(g);
                p = this.ib.dA(r);
                q = this.a.Tj(p, this.hm);
                if (0 == q && (m != this.ib.ow(r) && (b = this.a.cb(p), this.a.fK(b), this.a.sh(p, this.a.Ra(b)), b = !0), this.a.$r(p, this.hm, m ? 3 : 2), m || (k = this.a.Tj(h, this.kp), this.a.$r(h, this.kp, p), this.a.$r(p, this.kp, k)), this.Xt--, 0 == this.Xt)) return b;
                h = p;
                k = g;
                g = this.hb.nb(g);
                m = !m;
              } while (k != a);
            }

            return b;
          };

          a.prototype.SW = function (a) {
            for (var b = 0, c = a.size; b < c; b++) {
              var h = a.get(b),
                  g = this.a.Sa(h, this.fp),
                  k = this.a.Sa(h, this.Mt);

              if (-1 != g) {
                var m = this.hb.ja(g);
                this.ib.CG(m);
                this.a.Va(h, this.fp, -1);
              }

              -1 != k && (m = this.hb.ja(k), this.ib.CG(m), this.a.Va(h, this.Mt, -1));
              m = -1;
              -1 != g && -1 != k ? (this.hb.Kd(g, -1), this.hb.Kd(k, -1), a.set(b, -1)) : m = -1 != g ? g : k;
              -1 != m && (this.CH(h, m) || this.hb.Kd(m, -1), a.set(b, -1));
            }
          };

          a.prototype.CH = function (a, b) {
            var e = new c.b(),
                h = new c.b();
            this.a.Nc(a, e);
            var g = this.a.U(a);
            this.a.Nc(g, h);
            var k = !1;

            if (e.y < h.y) {
              var k = !0,
                  m = this.ib.wJ(a),
                  n;
              -1 == b ? n = this.hb.addElement(m, -1) : (n = b, this.hb.kk(n, m));
              m = this.a.Sa(g, this.fp);
              -1 == m ? this.a.Va(g, this.fp, n) : this.a.Va(g, this.Mt, n);
              g = this.a.ld(a);
              0 == this.a.Tj(g, this.hm) && this.Kn.add(n);
            }

            g = this.a.Ra(a);
            this.a.Nc(g, h);
            e.y < h.y && (k = !0, m = this.ib.wJ(g), -1 == b ? n = this.hb.addElement(m, -1) : (n = b, this.hb.kk(n, m)), m = this.a.Sa(g, this.fp), -1 == m ? this.a.Va(g, this.fp, n) : this.a.Va(g, this.Mt, n), g = this.a.ld(a), 0 == this.a.Tj(g, this.hm) && this.Kn.add(n));
            return k;
          };

          a.V = function (b, c, e, h) {
            var g = new a();
            g.a = b;
            g.Y = c;
            g.jm = e;
            g.Vw = h;
            return g.zS();
          };

          a.prototype.AS = function () {
            var a = new c.ia(0),
                b = new c.ia(0),
                e = -1,
                h = -1,
                g = new c.b();
            g.$c();

            for (var k = -1, m = -1, n = -1, p = new c.b(), q = this.jm.xc(this.jm.Ge); -1 != q; q = this.jm.nb(q)) {
              var t = this.jm.getData(q);
              this.a.Nc(t, p);
              var r = this.a.ld(t);
              g.ub(p) && m == r ? (-1 == h && (e = this.a.rz(), h = this.a.Vd()), -1 == n && (n = b.size, this.a.Va(k, h, n), b.add(1), -1 == this.a.Tj(r, e) && (this.a.$r(r, e, k), a.add(r))), this.a.Va(t, h, n), b.CK(b.Fc() + 1)) : (n = -1, g.L(p));
              k = t;
              m = r;
            }

            if (0 == a.size) return !1;
            g = new c.ia(0);
            k = new c.ia(0);
            m = 0;

            for (n = a.size; m < n; m++) {
              var r = a.get(m),
                  z = this.a.Tj(r, e),
                  t = this.a.Sa(z, h);
              g.clear(!1);
              k.clear(!1);
              g.add(z);
              k.add(t);

              for (t = this.a.U(z); t != z; t = this.a.U(t)) {
                var v = t,
                    p = this.a.Sa(v, h);
                if (-1 != p) if (0 == k.size) k.add(p), g.add(v);else if (k.Fc() == p) {
                  var q = g.Fc(),
                      x = this.a.U(q),
                      z = this.a.U(v);
                  this.a.Kc(q, z);
                  this.a.Lc(z, q);
                  this.a.Kc(v, x);
                  this.a.Lc(x, v);
                  v = [!1];
                  x = this.a.BH(this.Y, x, this.a.cb(r), v);
                  this.a.Va(t, h, -1);
                  v[0] && this.a.jg(r, z);
                  t = this.a.La(r);
                  z = this.a.La(x);
                  t -= z;
                  this.a.nk(r, t);
                  b.set(p, b.get(p) - 1);
                  1 == b.get(p) && (b.set(p, 0), k.Pf(), g.Pf());
                  t = z = q;
                } else g.add(t), k.add(p);
              }
            }

            this.a.cC(e);
            this.a.le(h);
            return !0;
          };

          return a;
        }();

        c.TN = b;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.prototype.Cg = function () {
            this.vB = this.wb = null;
          };

          g.prototype.get = function () {
            return this.vB;
          };

          g.prototype.set = function (b) {
            this.vB = b;
            if (null != b) throw 322 == b.G() && (this.wb = b), c.g.za();
          };

          g.prototype.create = function (b) {
            if (322 == b) this.Js();else throw c.g.X("Not Implemented");
          };

          g.prototype.Js = function () {
            null == this.wb && (this.wb = new c.Hb());
            this.vB = this.wb;
          };

          return g;
        }();

        c.Cg = n;
      })(r || (r = {}));

      (function (c) {
        c = c.YN || (c.YN = {});
        c[c.enumLineSeg = 1] = "enumLineSeg";
        c[c.enumBezierSeg = 2] = "enumBezierSeg";
        c[c.enumArcSeg = 4] = "enumArcSeg";
        c[c.enumNonlinearSegmentMask = 6] = "enumNonlinearSegmentMask";
        c[c.enumSegmentMask = 7] = "enumSegmentMask";
        c[c.enumDensified = 8] = "enumDensified";
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          return function (b) {
            this.zj = b;
            this.TC = this.UC = 1;
            this.UB = this.TB = this.VB = 0;
          };
        }(),
            g = function () {
          function b() {
            this.vr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
            this.dl = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
            this.cg = new c.Wa();
            this.ta = this.sx = 0;
            this.$o = [];
            this.Ut = [];
            this.mx = [];
            this.yr = [];
            this.sB = [];
          }

          b.prototype.XB = function (a) {
            if (null != a) {
              for (var b = 0, c = a.length; b < c; b++) this.rX(a[b]);

              a.length = 0;
            }
          };

          b.prototype.rX = function (a) {
            a.zj = null;
            this.yr.push(a);
          };

          b.prototype.Ax = function (a) {
            if (0 === this.yr.length) var b = new n(a);else b = this.yr[this.yr.length - 1], b.zj = a, this.yr.length = this.yr.length - 1;
            return b;
          };

          b.prototype.MT = function (a, b) {
            return 0 == a ? this.Ut[b] : this.mx[b];
          };

          b.prototype.HB = function () {
            this.sx >= this.sB.length && this.sB.push(new c.Cg());
            var a = this.sB[this.sx];
            this.sx++;
            return a;
          };

          b.prototype.clear = function () {
            this.XB(this.$o);
            this.XB(this.Ut);
            this.XB(this.mx);
            this.sx = 0;
          };

          b.prototype.Ap = function (a) {
            this.$o.push(this.Ax(a));
          };

          b.prototype.Rl = function (a) {
            return 0 == a ? this.Ut.length : this.mx.length;
          };

          b.prototype.Mq = function (a, b) {
            return this.MT(a, b).zj;
          };

          b.prototype.Ma = function (a, b) {
            if (2 != this.$o.length) throw c.g.za();
            this.ta = a;
            var f = c.Ub.Yx(.01 * a),
                e = !1,
                h = this.$o[0],
                g = this.$o[1];

            if (b || 0 != (h.zj.ys(g.zj, a, !0) & 5)) {
              if (322 == h.zj.G()) {
                var k = h.zj;

                if (322 == g.zj.G()) {
                  var m = g.zj,
                      n = c.Hb.Gy(k, m, null, this.vr, this.dl, a);
                  if (0 == n) throw c.Hb.Gy(k, m, null, this.vr, this.dl, a), c.g.za();
                  var p = Array(9);
                  c.J.Nv(p, null);

                  for (var q = 0; q < n; q++) {
                    var t = this.vr[q],
                        r = this.dl[q],
                        z = h.UB,
                        v = 1;
                    0 == t ? (z = h.VB, v = h.UC) : 1 == t && (z = h.TB, v = h.TC);
                    var x = g.UB,
                        B = 1;
                    0 == r ? (x = g.VB, B = g.UC) : 1 == r && (x = g.TB, B = g.TC);
                    var y = new c.b();
                    z == x ? (z = new c.b(), k.gc(t, z), t = new c.b(), m.gc(r, t), r = v + B, B /= r, c.Ub.cI(z, t, B, y), c.b.sc(y, z) + c.b.sc(y, t) > f && (e = !0)) : z > x ? (k.gc(t, y), t = new c.b(), m.gc(r, t), c.b.sc(y, t) > f && (e = !0)) : (m.gc(r, y), z = new c.b(), k.gc(t, z), c.b.sc(y, z) > f && (e = !0));
                    p[q] = y;
                  }

                  h = 0;
                  g = -1;

                  for (q = 0; q <= n; q++) B = q < n ? this.vr[q] : 1, B != h && (f = this.HB(), k.yh(h, B, f), -1 != g && f.get().Mc(p[g]), q != n && f.get().Zc(p[q]), h = B, this.Ut.push(this.Ax(f.get()))), g = q;

                  k = [0, 0, 0, 0, 0, 0, 0, 0, 0];

                  for (q = 0; q < n; q++) k[q] = q;

                  1 < n && this.dl[0] > this.dl[1] && (B = this.dl[0], this.dl[0] = this.dl[1], this.dl[1] = B, q = k[0], k[0] = k[1], k[1] = q);
                  h = 0;
                  g = -1;

                  for (q = 0; q <= n; q++) B = q < n ? this.dl[q] : 1, B != h && (f = this.HB(), m.yh(h, B, f), -1 != g && (h = k[g], f.get().Mc(p[h])), q != n && (h = k[q], f.get().Zc(p[h])), h = B, this.mx.push(this.Ax(f.get()))), g = q;

                  return e;
                }
              }

              throw c.g.za();
            }

            return !1;
          };

          b.prototype.tA = function (a, b, f) {
            b.copyTo(this.cg);
            if (1 != this.$o.length) throw c.g.za();
            this.ta = a;
            var e = this.$o[0];
            if (f || e.zj.av(b.w(), a, !0)) if (322 == e.zj.G()) {
              a = e.zj;
              var h = a.pe(b.w(), !1);
              this.vr[0] = h;
              var g = e.UB;
              f = 1;
              0 == h ? (g = e.VB, f = e.UC) : 1 == h && (g = e.TB, f = e.TC);
              e = new c.b();
              0 == g ? (g = new c.b(), a.gc(h, g), b = b.w(), c.Ub.cI(g, b, 1 / (f + 1), e)) : 0 < g ? (e = new c.b(), a.gc(h, e)) : e = b.w();
              f = 0;
              h = -1;

              for (g = 0; 1 >= g; g++) {
                b = 1 > g ? this.vr[g] : 1;

                if (b != f) {
                  var k = this.HB();
                  a.yh(f, b, k);
                  -1 != h && k.get().Mc(e);
                  1 != g && k.get().Zc(e);
                  f = b;
                  this.Ut.push(this.Ax(k.get()));
                }

                h = g;
              }

              this.cg.rb(e);
            } else throw c.g.za();
          };

          return b;
        }();

        c.eE = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            this.zt = this.Tk = this.wb = null;
            this.gm = this.vf = this.cd = this.Ze = this.Oh = this.Ta = 0;
            this.bb = null;
            this.Sl = this.mn = !1;
            this.Ze = -1;
            this.Oh = this.cd = 0;
            this.Ta = -1;
            this.bb = b;
            this.vf = this.ws(this.Oh);
            this.mn = !1;
            this.Tk = null;
            this.gm = -1;
            this.Sl = !1;
            this.zt = new c.b();
          }

          g.$p = function (b, a) {
            if (0 > a || a >= b.D()) throw c.g.wd();
            var d = new g(b),
                f = b.cw(a);
            d.cd = a - b.wa(f);
            d.Oh = f + 1;
            d.Ta = f;
            d.vf = d.ws(d.Ta);
            d.gm = d.bb.wa(d.Ta);
            d.Sl = d.bb.Qb(d.Ta);
            return d;
          };

          g.Zp = function (b, a, d) {
            if (0 > a || a >= b.aa() || 0 > d) throw c.g.wd();
            var f = b.Qb(a) ? 0 : 1;
            if (d >= b.La(a) - f) throw c.g.wd();
            b = new g(b);
            b.Ze = -1;
            b.cd = d;
            b.Ta = a;
            b.Oh = b.cd + 1;
            b.vf = b.ws(b.Oh);
            b.gm = b.bb.wa(b.Ta);
            b.Sl = b.bb.Qb(b.Ta);
            return b;
          };

          g.prototype.zX = function (b) {
            if (this.bb != b.bb) throw c.g.Da();
            this.Ze = b.Ze;
            this.cd = b.cd;
            this.Ta = b.Ta;
            this.Oh = b.Oh;
            this.vf = b.vf;
            this.mn = b.mn;
            this.gm = b.gm;
            this.Tk = null;
            this.Sl = b.Sl;
          };

          g.prototype.ba = function () {
            this.Ze != this.cd && this.RE();
            if (this.mn) this.cd = (this.cd + 1) % this.vf;else {
              if (this.cd == this.vf) throw c.g.wd();
              this.cd++;
            }
            return this.Tk;
          };

          g.prototype.Li = function () {
            if (this.mn) this.cd = (this.vf + this.cd - 1) % this.vf;else {
              if (0 == this.cd) throw c.g.wd();
              this.cd--;
            }
            this.cd != this.Ze && this.RE();
            return this.Tk;
          };

          g.prototype.AX = function () {
            this.Ze = -1;
            this.cd = 0;
          };

          g.prototype.BX = function () {
            this.cd = this.vf;
            this.Ze = -1;
          };

          g.prototype.Tb = function (b, a) {
            void 0 === a && (a = -1);

            if (0 <= this.Ta && this.Ta < this.bb.aa()) {
              var d = this.PO();

              if (b >= d && b < this.bb.Gc(this.Ta)) {
                this.Ze = -1;
                this.cd = b - d;
                return;
              }
            }

            d = 0 <= a && a < this.bb.aa() && b >= this.bb.wa(a) && b < this.bb.Gc(a) ? a : this.bb.cw(b);
            this.Oh = d + 1;
            this.Ta = d;
            this.Ze = -1;
            this.cd = b - this.bb.wa(d);
            this.vf = this.ws(d);
            this.gm = this.bb.wa(this.Ta);
            this.Sl = this.bb.Qb(this.Ta);
          };

          g.prototype.Ya = function () {
            this.Ta = this.Oh;
            if (this.Ta >= this.bb.aa()) return !1;
            this.Ze = -1;
            this.cd = 0;
            this.vf = this.ws(this.Ta);
            this.gm = this.bb.wa(this.Ta);
            this.Sl = this.bb.Qb(this.Ta);
            this.Oh++;
            return !0;
          };

          g.prototype.yj = function () {
            this.vf = this.cd = this.Ze = -1;
            this.Oh = 0;
            this.Ta = -1;
            this.Sl = !1;
            this.gm = -1;
          };

          g.prototype.fC = function (b) {
            if (0 > b) throw c.g.wd();
            this.Oh = b;
            this.gm = this.vf = this.cd = this.Ze = this.Ta = -1;
            this.Sl = !1;
          };

          g.prototype.ws = function (b) {
            if (this.bb.Hc()) return 0;
            var a = 1;
            this.bb.Qb(b) && (a = 0);
            return this.bb.La(b) - a;
          };

          g.prototype.Fo = function () {
            return this.Ze == this.vf - 1 && this.bb.Qb(this.Ta);
          };

          g.prototype.kC = function () {
            this.mn = !0;
          };

          g.prototype.Db = function () {
            return this.bb.kb.f[this.Ta] + this.Ze;
          };

          g.prototype.PO = function () {
            return this.bb.wa(this.Ta);
          };

          g.prototype.Jk = function () {
            return this.Fo() ? this.bb.wa(this.Ta) : this.Db() + 1;
          };

          g.prototype.jn = function () {
            return 0 == this.Ze;
          };

          g.prototype.Io = function () {
            return this.Ze == this.vf - 1;
          };

          g.prototype.Ea = function () {
            return this.cd < this.vf;
          };

          g.prototype.pA = function () {
            return 0 < this.cd;
          };

          g.prototype.Vf = function () {
            var b = new g(this.bb);
            b.Ze = this.Ze;
            b.cd = this.cd;
            b.vf = this.vf;
            b.Ta = this.Ta;
            b.Oh = this.Oh;
            b.bb = this.bb;
            b.mn = this.mn;
            return b;
          };

          g.prototype.RE = function () {
            if (0 > this.cd || this.cd >= this.vf) throw c.g.wd();
            this.Ze = this.cd;
            var b = this.Db();
            this.bb.wc();
            var a = this.bb.cf,
                d = 1;
            null != a && (d = a.read(b) & 7);
            a = this.bb.description;

            switch (d) {
              case 1:
                null == this.wb && (this.wb = new c.Hb());
                this.Tk = this.wb;
                break;

              case 2:
                throw c.g.X("internal error");

              case 4:
                throw c.g.za();

              default:
                throw c.g.za();
            }

            this.Tk.Fg(a);
            d = this.Jk();
            this.bb.Nc(b, this.zt);
            this.Tk.Mc(this.zt);
            this.bb.Nc(d, this.zt);
            this.Tk.Zc(this.zt);

            for (var f = 1, e = a.Ga; f < e; f++) for (var h = a.rd(f), g = c.ma.Xa(h), k = 0; k < g; k++) {
              var m = this.bb.Yc(h, b, k);
              this.Tk.Tx(h, k, m);
              m = this.bb.Yc(h, d, k);
              this.Tk.Lx(h, k, m);
            }
          };

          g.prototype.UU = function () {
            return this.Ta == this.bb.aa() - 1;
          };

          g.prototype.Go = function () {
            var b = this.bb.PT();
            return null != b ? 1 != (b.read(this.Ze) & 7) : !1;
          };

          return g;
        }();

        c.ZN = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            b instanceof c.T ? (this.JI = b, this.Ca = -1, this.dj = 1) : (this.wV = b.slice(0), this.Ca = -1, this.dj = b.length);
          }

          g.prototype.Ia = function () {
            return this.Ca;
          };

          g.prototype.next = function () {
            return this.Ca < this.dj - 1 ? (this.Ca++, null != this.JI ? this.JI : this.wV[this.Ca]) : null;
          };

          g.prototype.Re = function () {
            return !0;
          };

          return g;
        }();

        c.hd = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          return function () {
            this.next = null;
          };
        }(),
            g = function () {
          function b() {
            this.Mr = this.wx = this.xx = this.Qk = this.ai = 0;
            this.vG = !1;
            this.XK = 0;
            this.Xn = this.kg = this.Em = this.hi = null;
            this.tm = 0;
            this.az = null;
            this.Qk = this.ai = -1;
          }

          b.prototype.wY = function (a, b, f) {
            this.ai = a;
            this.Qk = b;
            this.hi = this.Em = null;
            this.Mr = 0;
            this.az = f;
            null == this.Xn && (this.Xn = c.J.gf(384, 0));
            this.$K();
          };

          b.prototype.N = function () {
            return this.ai;
          };

          b.prototype.fa = function () {
            return this.Qk;
          };

          b.prototype.flush = function () {
            0 < this.tm && (this.az.qG(this.Xn, this.tm), this.tm = 0);
          };

          b.prototype.$K = function () {
            if (0 < this.Mr) {
              for (var a = 0; a < this.Qk; a++) {
                for (var b = this.Em[a]; null != b;) {
                  var c = b,
                      b = b.next;
                  c.next = null;
                }

                this.Em[a] = null;
              }

              this.hi = null;
            }

            this.xx = this.Qk;
            this.wx = -1;
            this.Mr = 0;
          };

          b.prototype.YJ = function (a) {
            this.vG = a == b.py;

            for (a = this.xx; a <= this.wx; a++) this.tP(), this.kP(a), this.ZR();

            this.$K();
          };

          b.prototype.Qy = function (a, b, f, e) {
            if (b != e) {
              var h = 1;
              b > e && (h = a, a = f, f = h, h = b, b = e, e = h, h = -1);

              if (!(0 > e || b >= this.Qk)) {
                0 > a && 0 > f ? f = a = -1 : a >= this.ai && f >= this.ai && (f = a = this.ai);
                var g = (f - a) / (e - b);
                e > this.Qk && (e = this.Qk, f = g * (e - b) + a);
                0 > b && (a = g * (0 - b) + a, b = 0);
                var k = Math.max(this.ai + 1, 8388607);
                -8388607 > a ? (b = (0 - a) / g + b, a = 0) : a > k && (b = (this.ai - a) / g + b, a = this.ai);
                -8388607 > f ? e = (0 - a) / g + b : f > k && (e = (this.ai - a) / g + b);
                b = c.J.truncate(b);
                e = c.J.truncate(e);
                b != e && (f = new n(), f.x = c.J.truncate(4294967296 * a), f.y = b, f.B = e, f.TR = c.J.truncate(4294967296 * g), f.dir = h, null == this.Em && (this.Em = c.J.gf(this.Qk, null)), f.next = this.Em[f.y], this.Em[f.y] = f, f.y < this.xx && (this.xx = f.y), f.B > this.wx && (this.wx = f.B), this.Mr++);
              }
            }
          };

          b.prototype.tP = function () {
            if (null != this.hi) {
              for (var a = !1, b = null, c = this.hi; null != c;) if (c.y++, c.y == c.B) {
                var e = c,
                    c = c.next;
                null != b ? b.next = c : this.hi = c;
                e.next = null;
              } else c.x += c.TR, null != b && b.x > c.x && (a = !0), b = c, c = c.next;

              a && (this.hi = this.WK(this.hi));
            }
          };

          b.prototype.kP = function (a) {
            if (!(a >= this.Qk)) {
              var b = this.Em[a];

              if (null != b) {
                this.Em[a] = null;
                b = this.WK(b);
                this.Mr -= this.XK;
                a = this.hi;

                for (var c = !0, e = b, h = null; null != a && null != e;) a.x > e.x ? (c && (this.hi = e), c = e.next, e.next = a, null != h && (h.next = e), h = e, e = c) : (c = a.next, a.next = e, null != h && (h.next = a), h = a, a = c), c = !1;

                null == this.hi && (this.hi = b);
              }
            }
          };

          b.xG = function (a, b) {
            return 0 > a ? 0 : a > b ? b : a;
          };

          b.prototype.ZR = function () {
            if (null != this.hi) for (var a = 0, d = this.hi, f = c.J.truncate(c.J.gI(d.x)), e = d.next; null != e; e = e.next) if (a = this.vG ? a ^ 1 : a + e.dir, e.x > d.x) {
              var h = c.J.truncate(c.J.gI(e.x));
              0 != a && (d = b.xG(f, this.ai), f = b.xG(h, this.ai), f > d && d < this.ai && (this.Xn[this.tm++] = d, this.Xn[this.tm++] = f, this.Xn[this.tm++] = e.y, this.tm == this.Xn.length && (this.az.qG(this.Xn, this.tm), this.tm = 0)));
              d = e;
              f = h;
            }
          };

          b.prototype.WK = function (a) {
            for (var d = 0, f = a; null != f; f = f.next) d++;

            this.XK = d;
            if (1 == d) return a;
            null == this.kg ? this.kg = c.J.gf(Math.max(d, 16), null) : this.kg.length < d && (this.kg = c.J.gf(Math.max(d, 2 * this.kg.length), null));

            for (var e = 0, f = a; null != f; f = f.next) this.kg[e++] = f;

            2 == d ? this.kg[0].x > this.kg[1].x && (a = this.kg[0], this.kg[0] = this.kg[1], this.kg[1] = a) : b.VM(this.kg, d, function (a, b) {
              return a == b ? 0 : a.x < b.x ? -1 : a.x > b.x ? 1 : 0;
            });
            a = this.kg[0];
            this.kg[0] = null;
            f = a;

            for (e = 1; e < d; e++) f.next = this.kg[e], f = this.kg[e], this.kg[e] = null;

            f.next = null;
            return a;
          };

          b.VM = function (a, b, c) {
            if (b == a.length) a.sort(c);else {
              var e = a.slice(0, 0),
                  h = a.slice(b);
              b = a.slice(0, b).sort(c);
              a.length = 0;
              a.push.apply(a, e.concat(b).concat(h));
            }
          };

          b.py = 0;
          b.L_ = 1;
          return b;
        }();

        c.zy = g;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.prototype.Ri = function (b, a) {
            var d = this.a.Sa(b, this.Gr);
            this.fm == d && (this.fm = this.Me.nb(this.fm));
            this.Vo == d && (this.Vo = this.Me.nb(this.Vo));
            this.Me.kd(this.xB, d);
            this.zk(b);

            if (a && (d = this.a.ld(b), -1 != d && this.a.cb(d) == b)) {
              var c = this.a.U(b);

              if (c != b) {
                var e = this.a.ld(c);

                if (e == d) {
                  this.a.jg(d, c);
                  return;
                }

                c = this.a.Ra(b);

                if (c != b && (e = this.a.ld(c), e == d)) {
                  this.a.jg(d, c);
                  return;
                }
              }

              this.a.jg(d, -1);
              this.a.sh(d, -1);
            }
          };

          g.prototype.HE = function () {
            for (var b = !1, a = 0, d = new c.b();;) {
              a++;
              null == this.vi ? (this.vi = new c.ia(0), this.vt = new c.ia(0), this.Xe = new c.ia(0)) : (this.vi.clear(!1), this.vt.clear(!1), this.Xe.clear(!1));

              for (var f = this.Vo, e = 0, h = !0; f != this.fm;) {
                var g = this.Me.getData(f),
                    k = new c.b();
                this.a.Nc(g, k);
                h && (this.a.Nc(g, d), h = !1);
                var k = this.a.Ra(g),
                    m = this.a.U(g);
                -559038737 != this.a.Sa(k, this.Ug) && (this.vi.add(k), this.a.Va(k, this.Ug, -559038737), this.vt.add(g), this.Xe.add(e++));
                -559038737 != this.a.Sa(m, this.Ug) && (this.vi.add(m), this.a.Va(m, this.Ug, -559038737), this.vt.add(g), this.Xe.add(e++));
                f = this.Me.nb(f);
              }

              if (2 > this.vi.size) break;
              var n = this;
              this.Xe.Gd(0, this.Xe.size, function (a, b) {
                return n.HO(a, b);
              });
              f = 0;

              for (e = this.Xe.size; f < e; f++) h = this.Xe.get(f), h = this.vi.get(h), this.a.Va(h, this.Ug, f), k = new c.b(), this.a.Nc(h, k);

              k = this.TO(d);
              f = 0;

              for (e = this.Xe.size; f < e; f++) h = this.Xe.get(f), -1 != h && (h = this.vi.get(h), this.a.Va(h, this.Ug, -1));

              if (k) b = !0;else break;
            }

            return b;
          };

          g.prototype.TO = function (b) {
            for (var a = !1, d = !0; d;) {
              var d = !1,
                  c = 0;
              -1 == this.Xe.get(c) && (c = this.Pm(c));

              for (var e = this.Pm(c), h = 0, g = this.Xe.size; h < g && -1 != c && -1 != e && c != e; h++) {
                var k = this.Xe.get(c),
                    e = this.Xe.get(e),
                    k = this.vi.get(k),
                    e = this.vi.get(e),
                    m = this.a.U(k);
                this.a.qw(m, b) || (m = this.a.Ra(k));
                var n = this.a.U(e);
                this.a.qw(n, b) || (n = this.a.Ra(e));
                var p = this.Zu(m, k),
                    q = this.Zu(n, e),
                    t = p ? this.a.Ra(m) : this.a.U(m),
                    r = q ? this.a.Ra(n) : this.a.U(n),
                    z = !1;
                this.mq(m) ? z = !0 : this.mq(n) ? z = !0 : this.mq(k) ? z = !0 : this.mq(e) ? z = !0 : this.mq(t) ? z = !0 : this.mq(r) && (z = !0);
                !z && this.a.Uq(k, e) && (z = !0, this.KE(p, q, m, k, n, e));
                !z && this.a.Uq(t, r) && (z = !0, this.KE(!p, !q, m, t, n, r));
                z && (a = !0);
                d = d || z;
                c = this.Pm(c);
                e = this.Pm(c);
              }
            }

            if (!a) for (c = 0, -1 == this.Xe.get(c) && (c = this.Pm(c)), e = this.Pm(c), h = 0, g = this.Xe.size; h < g && -1 != c && -1 != e && c != e; h++) k = this.Xe.get(c), e = this.Xe.get(e), k = this.vi.get(k), e = this.vi.get(e), m = this.a.U(k), this.a.qw(m, b) || (m = this.a.Ra(k)), n = this.a.U(e), this.a.qw(n, b) || (n = this.a.Ra(e)), p = this.Zu(m, k), q = this.Zu(n, e), t = p ? this.a.Ra(m) : this.a.U(m), r = q ? this.a.Ra(n) : this.a.U(n), this.LO(p, q, k, m, t, e, n, r) && (a = !0), c = this.Pm(c), e = this.Pm(c);
            return a;
          };

          g.prototype.WO = function () {
            1736 == this.a.hc(this.Y) && 1 == this.a.xo(this.Y) && new c.Dg().zW(this.Vw, this.a, this.Y, this.ke);
            var b = !1,
                a = !0;
            this.Ug = this.Gr = -1;
            var d = this.a.D(this.Y),
                f = new c.ia(0);
            f.yb(d);

            for (var e = this.a.Pb(this.Y); -1 != e; e = this.a.Sb(e)) for (var h = this.a.cb(e), g = 0, k = this.a.La(e); g < k; g++) f.add(h), h = this.a.U(h);

            var m = this.a.Dd.f,
                n = this.a.Dd.ed;
            this.a.xb.wc();
            var p = this.a.xb.ya[0].f;
            f.Gd(0, d, function (a, b) {
              var d = m[n * a],
                  c = m[n * b],
                  f = p[2 * d],
                  d = p[2 * d + 1],
                  e = p[2 * c],
                  c = p[2 * c + 1],
                  f = d < c ? -1 : d > c ? 1 : f < e ? -1 : f > e ? 1 : 0;
              0 == f && (f = m[n * a + 3], c = m[n * b + 3], f = f < c ? -1 : f == c ? 0 : 1);
              return f;
            });
            this.Gr = this.a.Vd();
            this.Me = new c.Xp();
            this.xB = this.Me.mi(0);
            this.Me.Vn(d);

            for (e = 0; e < d; e++) h = f.get(e), g = this.Me.addElement(this.xB, h), this.a.Va(h, this.Gr, g);

            this.Ug = this.a.Vd();
            this.fm = -1;

            for (this.xE() && (b = !0); a;) {
              a = !1;
              d = 0;
              f = !1;

              do {
                f = !1;
                this.Vo = -1;

                for (var k = 0, e = new c.b(), g = new c.b(), q = this.Me.xc(this.xB); -1 != q;) h = this.Me.getData(q), -1 != this.Vo ? (this.a.Nc(h, g), e.ub(g)) ? k++ : (e.L(g), this.fm = q, 0 < k && (h = this.HE()) && (f = !0, -1 != this.fm && (h = this.Me.getData(this.fm), this.a.Nc(h, e))), this.Vo = q = this.fm, k = 0) : (this.Vo = q, this.a.Nc(this.Me.getData(q), e), k = 0), -1 != q && (q = this.Me.nb(q));

                this.fm = -1;
                0 < k && (h = this.HE()) && (f = !0);
                if (10 < d++) throw c.g.za();
                f && this.OO();
                this.xE() && (f = !0);
                a = a || f && !1;
                b = b || f;
              } while (f);
            }

            this.a.le(this.Gr);
            this.a.le(this.Ug);
            return b = c.TN.V(this.a, this.Y, this.Me, this.Vw) || b;
          };

          g.prototype.Zu = function (b, a) {
            return this.a.U(a) == b ? !1 : !0;
          };

          g.prototype.LO = function (b, a, d, c, e, h, g, k) {
            if (c == g) return this.zk(d), this.zk(h), !1;
            var m = this.a.Sa(d, this.Ug),
                n = this.a.Sa(e, this.Ug),
                p = this.a.Sa(h, this.Ug),
                q = this.a.Sa(k, this.Ug);
            d = [0, 0, 0, 0, 0, 0, 0, 0];
            var t = [0, 0, 0, 0];
            d[0] = 0;
            t[0] = m;
            d[1] = 0;
            t[1] = n;
            d[2] = 1;
            t[2] = p;
            d[3] = 1;
            t[3] = q;

            for (m = 1; 4 > m; m++) {
              n = t[m];
              p = d[m];

              for (q = m - 1; 0 <= q && t[q] > n;) t[q + 1] = t[q], d[q + 1] = d[q], q--;

              t[q + 1] = n;
              d[q + 1] = p;
            }

            t = 0;
            0 != d[0] && (t |= 1);
            0 != d[1] && (t |= 2);
            0 != d[2] && (t |= 4);
            0 != d[3] && (t |= 8);
            if (5 != t && 10 != t) return !1;
            b == a ? b ? (this.a.Kc(k, c), this.a.Lc(c, k), this.a.Kc(e, g), this.a.Lc(g, e)) : (this.a.Lc(k, c), this.a.Kc(c, k), this.a.Lc(e, g), this.a.Kc(g, e)) : b ? (this.a.Lc(c, h), this.a.Kc(h, c), this.a.Lc(g, e), this.a.Kc(e, g)) : (this.a.Kc(c, h), this.a.Lc(h, c), this.a.Kc(g, e), this.a.Lc(e, g));
            return !0;
          };

          g.prototype.KE = function (b, a, d, c, e, h) {
            this.C_ ? this.VO() : this.UO(b, a, d, c, e, h);
          };

          g.prototype.VO = function () {
            throw c.g.X("not implemented.");
          };

          g.prototype.UO = function (b, a, d, c, e, h) {
            if (b != a) b ? (this.a.Kc(d, e), this.a.Lc(e, d), this.a.Kc(h, c), this.a.Lc(c, h), this.po(e, d), this.Ri(e, !0), this.a.Mi(e, !0), this.zk(d), this.po(h, c), this.Ri(h, !0), this.a.Mi(h, !1)) : (this.a.Kc(e, d), this.a.Lc(d, e), this.a.Kc(c, h), this.a.Lc(h, c), this.po(e, d), this.Ri(e, !0), this.a.Mi(e, !1), this.zk(d), this.po(h, c), this.Ri(h, !0), this.a.Mi(h, !0)), this.zk(c);else {
              var g = b ? d : c,
                  k = a ? e : h;
              b = b ? c : d;
              a = a ? h : e;
              e = !1;
              this.a.Kc(g, k);
              this.a.Kc(k, g);
              this.a.Lc(b, a);
              this.a.Lc(a, b);

              for (h = a; h != k;) d = this.a.Ra(h), c = this.a.U(h), this.a.Lc(h, c), this.a.Kc(h, d), e = e || h == g, h = c;

              e || (d = this.a.Ra(k), c = this.a.U(k), this.a.Lc(k, c), this.a.Kc(k, d));
              this.po(k, g);
              this.Ri(k, !0);
              this.a.Mi(k, !1);
              this.zk(g);
              this.po(a, b);
              this.Ri(a, !0);
              this.a.Mi(a, !1);
              this.zk(b);
            }
          };

          g.prototype.xE = function () {
            for (var b = !1, a = this.a.Pb(this.Y); -1 != a;) {
              for (var d = this.a.cb(a), c = 0, e = this.a.La(a); c < e && 1 < e;) {
                var h = this.a.Ra(d),
                    g = this.a.U(d);
                this.a.Uq(h, g) ? (b = !0, this.Ri(d, !1), this.a.ud(d, !0), this.Ri(g, !1), this.a.ud(g, !0), d = h, c = 0, e = this.a.La(a)) : (d = g, c++);
              }

              if (2 > this.a.La(a)) {
                b = this.a.cb(a);
                c = 0;

                for (e = this.a.La(a); c < e; c++) this.Ri(b, !1), b = this.a.U(b);

                a = this.a.Rr(a);
                b = !0;
              } else a = this.a.Sb(a);
            }

            return b;
          };

          g.prototype.mq = function (b) {
            for (var a = !1;;) {
              var d = this.a.U(b),
                  c = this.a.Ra(b);
              if (d == b) return this.Ri(b, !0), this.a.Mi(b, !1), !0;
              if (!this.a.Uq(d, c)) break;
              a = !0;
              this.zk(c);
              this.zk(d);
              this.Ri(b, !0);
              this.a.Mi(b, !1);
              this.po(d, c);
              this.Ri(d, !0);
              this.a.Mi(d, !0);
              if (d == c) break;
              b = c;
            }

            return a;
          };

          g.prototype.OO = function () {
            for (var b = 0, a = this.Me.xc(this.Me.Ge); -1 != a; a = this.Me.nb(a)) {
              var d = this.Me.getData(a);
              this.a.Aj(d, -1);
            }

            for (var c = 0, e = this.a.Pb(this.Y); -1 != e;) if (a = this.a.cb(e), -1 == a || -1 != this.a.ld(a)) d = e, e = this.a.Sb(e), this.a.Sr(d);else {
              this.a.Aj(a, e);

              for (var h = 1, d = this.a.U(a); d != a; d = this.a.U(d)) this.a.Aj(d, e), h++;

              this.a.Np(e, !1);
              this.a.nk(e, h);
              this.a.sh(e, this.a.Ra(a));
              c += h;
              b++;
              e = this.a.Sb(e);
            }

            for (a = this.Me.xc(this.Me.Ge); -1 != a; a = this.Me.nb(a)) d = this.Me.getData(a), -1 == this.a.ld(d) && (e = this.a.BH(this.Y, d, d, null), c += this.a.La(e), b++);

            this.a.wm(this.Y, b);
            this.a.lk(this.Y, c);
            b = 0;

            for (c = this.a.sd; -1 != c; c = this.a.Ue(c)) b += this.a.D(c);

            this.a.AC(b);
          };

          g.prototype.Pm = function (b) {
            for (var a = 0, d = this.Xe.size - 1; a < d; a++) if (b = (b + 1) % this.Xe.size, -1 != this.Xe.get(b)) return b;

            return -1;
          };

          g.prototype.po = function (b, a) {
            var d = this.a.Sa(a, this.Gr),
                c = this.a.Sa(a, this.Ug);
            this.a.KC(b, a);
            this.a.Va(a, this.Gr, d);
            this.a.Va(a, this.Ug, c);
          };

          g.prototype.zk = function (b) {
            var a = this.a.Sa(b, this.Ug);
            -1 != a && (this.Xe.set(a, -1), this.a.Va(b, this.Ug, -1));
          };

          g.V = function (b, a, d, c, e) {
            var h = new g();
            h.a = b;
            h.Y = a;
            h.eB = d;
            h.Vw = c;
            h.ke = e;
            return h.WO();
          };

          g.prototype.HO = function (b, a) {
            var d = this.vi.get(b),
                f = new c.b();
            this.a.Nc(d, f);
            var d = new c.b(),
                e = this.vi.get(a);
            this.a.Nc(e, d);
            if (f.ub(d)) return 0;
            var h = this.vt.get(b),
                e = new c.b();
            this.a.Nc(h, e);
            var g = this.vt.get(a),
                h = new c.b();
            this.a.Nc(g, h);
            g = new c.b();
            g.zc(f, e);
            f = new c.b();
            f.zc(d, h);
            return c.b.vs(g, f);
          };

          return g;
        }();

        c.lo = n;
      })(r || (r = {}));

      (function (c) {
        (function (c) {
          c[c.Local = 0] = "Local";
          c[c.Geographic = 1] = "Geographic";
          c[c.Projected = 2] = "Projected";
          c[c.Image = 3] = "Image";
          c[c.Unknown = 4] = "Unknown";
        })(c.$N || (c.$N = {}));

        (function (c) {
          c[c.Integer32 = 0] = "Integer32";
          c[c.Integer64 = 1] = "Integer64";
          c[c.FloatingPoint = 2] = "FloatingPoint";
        })(c.KN || (c.KN = {}));

        var n = function () {
          function g() {
            this.jq = "";
            this.bv = null;
            this.yg = 0;
            this.lJ = this.tp = -1;
            this.Uh = null;
          }

          g.prototype.yc = function () {
            return this.yg;
          };

          g.prototype.Rs = function () {
            return 0;
          };

          g.prototype.Ss = function () {
            return 0;
          };

          g.prototype.Ts = function () {
            return 0;
          };

          g.prototype.Qs = function () {
            return 0;
          };

          g.prototype.Uz = function () {
            return 5.7295779513082306E10;
          };

          g.prototype.Vz = function () {
            return 1E3;
          };

          g.prototype.Tz = function () {
            return 1E3;
          };

          g.prototype.bt = function () {
            return 1;
          };

          g.prototype.re = function () {
            var b = .001;
            0 != this.yg ? b = c.us.vS(this.yg) : null != this.Uh && (b = c.pE.wS(this.Uh));
            return b;
          };

          g.prototype.mH = function () {
            return this.Uh;
          };

          g.prototype.Nd = function () {
            if (0 != this.yg) return c.oc.ze(c.us.Cz(this.yg));
            if (null != this.Uh) return c.pE.xS(this.Uh);
          };

          g.Fb = function (b) {
            if (0 != b.yg) {
              if (!0 === c.us.TU(b.yg)) return 1;
              if (!0 === c.us.VU(b.yg)) return 2;
            }

            return 4;
          };

          g.prototype.$s = function () {
            var b = this.yc();
            if (-1 != this.tp) return this.tp;
            this.tp = c.us.AL(b);
            return -1 != this.tp ? this.tp : b;
          };

          g.create = function (b) {
            if (0 >= b) throw c.g.F("Invalid or unsupported wkid: " + b);
            var a = new g();
            a.yg = b;
            return a;
          };

          g.qR = function (b) {
            if (null == b || 0 == b.length) throw c.g.F("Cannot create SpatialReference from null or empty text.");
            var a = new g();
            a.Uh = b;
            return a;
          };

          g.prototype.Eb = function (b) {
            return this == b ? !0 : null == b || this.constructor != b.constructor || this.yg != b.yg || 0 == this.yg && this.Uh !== b.Uh ? !1 : !0;
          };

          g.QS = function (b, a) {
            var d = Math.PI / 180,
                f = new c.ea();
            c.qM.TS(b.w().x * d, b.w().y * d, a.w().x * d, a.w().y * d, f);
            return f.j;
          };

          g.prototype.toString = function () {
            return "[ tol: " + this.Bo() + "; wkid: " + this.yc() + "; wkt: " + this.mH() + "]";
          };

          g.prototype.jc = function () {
            if ("" !== this.jq) return this.jq;
            var b = this.toString();
            if (Array.prototype.reduce) return this.jq = "S" + b.split("").reduce(function (a, b) {
              a = (a << 5) - a + b.charCodeAt(0);
              return a & a;
            }, 0);
            var a = 0;
            if (0 === b.length) return "";

            for (var d = 0; d < b.length; d++) a = (a << 5) - a + b.charCodeAt(d), a &= a;

            return this.jq = "S" + a;
          };

          g.prototype.Bo = function () {
            return this.re(0);
          };

          g.prototype.Ao = function () {
            return null !== this.bv ? this.bv : this.bv = c.Ou.wR(this);
          };

          g.q_ = !0;
          g.sv = 2147483645;
          g.tv = 9007199254740990;
          return g;
        }();

        c.Sd = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (g) {
          function b() {
            g.apply(this, arguments);
            this.ij = null;
            this.lp = new c.fE();
            this.Xw = this.Fr = null;
          }

          O(b, g);

          b.wR = function (a) {
            var d = new b();
            d.yg = a.yg;
            d.tp = a.tp;
            d.lJ = a.lJ;
            d.Uh = a.Uh;

            if ("" !== d.Uh && null !== d.Uh) {
              a = b.QY(d.Uh);
              var f = b.mX(d.Uh);
              d.lp.Ey(a, f, c.ts.Integer64);
              d.Ky(a);
              d.yg = a.$s();
            } else a = b.EX(d.yg), d.Ky(a), d.lp.Ey(a, null, c.ts.Integer64);

            return d;
          };

          b.prototype.re = function (a) {
            return this.lp.Bo(a);
          };

          b.mX = function (a) {
            if (0 >= a.length) throw c.g.F();
            var d = null;

            try {
              d = c.RD.fromString(a);
            } catch (f) {
              d = null;
            }

            return null == d ? null : b.tD(d, !0);
          };

          b.prototype.Ky = function (a) {
            this.Pd = a;
            this.Fr = this.Pd.Nd();
          };

          b.prototype.Jc = function () {
            return 0 == this.Fb() || 3 == this.Fb() ? !1 : this.Pd.Jc();
          };

          b.prototype.UH = function () {
            return 0 == this.Fb() ? !1 : 3 == this.Fb() ? this.ij.Gk().Jc() : this.Pd.Jc();
          };

          b.prototype.Kg = function () {
            return null != this.Pd ? this.Pd.uf : null;
          };

          b.prototype.bn = function () {
            return this.Pd.bn();
          };

          b.prototype.ee = function () {
            return this.Pd.ee();
          };

          b.prototype.Ch = function () {
            return null != this.Pd ? this.Pd.fx : NaN;
          };

          b.prototype.dn = function () {
            return this.Pd.dn();
          };

          b.prototype.Ws = function () {
            return this.Pd.Ws();
          };

          b.prototype.Sj = function () {
            return this.Pd.Sj();
          };

          b.prototype.iU = function (a) {
            return c.UD.zz(this.Pd, a.Pd);
          };

          b.prototype.Mk = function () {
            return this.Pd.Mk();
          };

          b.prototype.Vs = function () {
            return this.Pd.Vs();
          };

          b.prototype.pi = function () {
            return 3 == this.Fb() ? this.ij.Gk().pi() : this.Pd.pi();
          };

          b.prototype.Bh = function () {
            if (!this.Jc()) throw c.g.F("!isPannable()");
            var a = new c.h();
            this.Pd.Bh(a);
            return a;
          };

          b.prototype.qe = function () {
            if (!this.Jc()) throw c.g.F("!isPannable()");
            return this.Pd.gp;
          };

          b.prototype.BT = function () {
            if (!this.Jc()) throw c.g.F("!isPannable()");
            var a = new c.h();
            this.Pd.AT(a);
            return a;
          };

          b.prototype.bw = function () {
            if (!this.Jc()) throw c.g.F("!isPannable()");
            return this.Pd.bw();
          };

          b.prototype.aw = function () {
            if (!this.Jc()) throw c.g.F("!isPannable()");
            return this.Pd.aw();
          };

          b.prototype.Xs = function () {
            return null != this.ij ? this.ij.Gk().Xs() : this.Pd.Xs();
          };

          b.prototype.ES = function () {
            return this.Pd.Uv();
          };

          b.prototype.jX = function (a) {
            a.assign(this.lp);
          };

          b.prototype.Yi = function () {
            return this.Fr.getUnitFactor();
          };

          b.prototype.gA = function (a) {
            return this.lp.gA(a);
          };

          b.prototype.kc = function () {
            var a = this.Fb();
            if (1 == a) return this;
            if (3 == a) return this.ij.Gk().kc();
            if (0 == a) throw c.g.X("invalid call");
            if (4 === a) throw c.g.X("invalid call");
            if (null !== this.Xw) return this.Xw;
            a = this.Kg().getGeogcs();
            if (null == a) throw c.g.za();
            return this.Xw = b.jG(a, this.lp.bt());
          };

          b.jG = function (a, d) {
            if (null == a) throw c.g.F("null pointer.");
            var f = new b(),
                e;
            e = b.Pu(a, !0);
            f.lp.Ey(e, null, d);
            f.Ky(e);
            f.yg = e.$s();
            return f;
          };

          b.prototype.Fb = function () {
            var a = this.Kg();
            if (null != a) switch (a.getType()) {
              case c.Vc.PE_TYPE_GEOGCS:
                return 1;

              case c.Vc.PE_TYPE_PROJCS:
                return 2;
            }
            return 4;
          };

          b.prototype.eA = function (a) {
            var b = new c.b();
            this.Pd.eA(a, b);
            return b;
          };

          b.prototype.Uv = function () {
            return this.Pd.Uv();
          };

          b.Pu = function (a, d) {
            var f = a.getCode();

            if (0 >= f && (f = c.Tf.getCode(a), 0 < f)) {
              var e = c.Tf.coordsys(f);
              if (null == e) throw c.g.F("Text to wkid mapping had failed: " + f);
              return b.Pu(e, d);
            }

            if (d && 0 < f && (e = b.Mv[f])) return e;
            var e = c.Ib.iw(a, f, !1),
                h = b.zH[e];
            if (h) return h;
            h = 0 >= f ? a : c.Tf.coordsys(f);
            h = new c.UD(h);
            b.zH[e] = h;
            0 < f && (b.Mv[f] = h);
            return h;
          };

          b.EX = function (a) {
            if (0 >= a) throw c.g.F("Invalid or unsupported wkid: " + a);
            var d = b.Mv[a];
            if (null != d) return d;
            d = c.Tf.coordsys(a);
            if (null == d) throw c.g.F("Invalid or unsupported wkid: " + a);
            d = b.Pu(d, !1);
            d.$s() != a && (b.Mv[a] = d);
            return d;
          };

          b.QY = function (a) {
            if (null == a || void 0 === a || 0 == a.length) throw c.g.F("Cannot create SpatialReference from null or empty text.");
            var d = null;

            try {
              d = c.Tf.fromString(c.Vc.PE_TYPE_COORDSYS, a);
            } catch (f) {
              throw c.g.F("Cannot create SpatialReference from text. " + f.message);
            }

            if (null === d) throw c.g.F("Cannot create SpatialReference from text. ");
            return b.Pu(d, !0);
          };

          b.tD = function (a, d) {
            var f = a.getCode();

            if (0 >= f && (f = c.Tf.getCode(a), 0 < f)) {
              f = c.Tf.vertcs(f);
              if (null === f) throw c.g.F();
              return b.tD(f, d);
            }

            if (d && 0 < f) {
              var e = b.xH[f];
              if (e) return e;
            }

            var h = c.Ib.iw(a, f, !1);
            if (e = b.YH[h]) return e;
            var g;
            0 >= f || (g = c.Tf.vertcs(f));
            if (null === g) throw c.g.F();
            e = new c.GN(g);
            b.YH[h] = e;
            0 < f && (b.xH[f] = e);
            return e;
          };

          b.jK = function (a, b) {
            var f;
            if (null === b || b.u()) return null;
            var e = new c.h(),
                h;
            null !== b && 1 != a.Fb() ? (f = a.kc(), h = f.Kg(), f = c.rs.Is(a, f, null, null), f = c.os.local().V(b, f, null), f.s(e)) : (h = a.Kg(), b.s(e));
            f = h.getPrimem().getLongitude();
            h = h.getUnit().getUnitFactor();
            return new c.PD(e.o, e.A, e.v, e.B, f, h);
          };

          b.FE = function (a) {
            var b = {
              name: "",
              steps: [],
              _pt: null,
              _entry: null
            },
                c = 0;

            for (a = a.getEntries(); c < a.length; c++) {
              var e = a[c],
                  h = {
                y_: !1,
                X_: "",
                W_: -1,
                geogtran: null
              };
              0 === e.getDirection() ? h.isInverse = !1 : h.isInverse = !0;
              var g = e.getGeogtran().getCode();
              -1 < g ? h.wkid = g : h.wkt = e.getGeogtran().toString();
              b.steps.push(h);
            }

            return b;
          };

          b.RT = function (a, d, f, e) {
            void 0 === f && (f = null);
            f = b.jK(e, f);
            a = c.fq.getGTlist(a.Kg(), d.Kg(), 2, c.fq.PE_GTLIST_OPTS_COMMON, f, 1);
            d = null;
            a && 0 < a.length && (d = this.FE(a[0]), c.wy.destroy(a));
            null !== f && f.destroy();
            return d;
          };

          b.ST = function (a, d, f, e) {
            var h;
            void 0 === f && (f = null);
            void 0 === e && (e = null);
            void 0 === h && (h = 30);
            f = b.jK(e, f);
            a = c.fq.getGTlist(a.Kg(), d.Kg(), 2, c.fq.PE_GTLIST_OPTS_COMMON, f, h);
            d = [];

            if (a && 0 < a.length) {
              for (h = 0; h < a.length; h++) d.push(this.FE(a[h]));

              c.wy.destroy(a);
            }

            null !== f && f.destroy();
            return d;
          };

          b.Mv = {};
          b.zH = {};
          b.xH = {};
          b.YH = {};
          return b;
        }(c.Sd);

        c.Ou = n;
      })(r || (r = {}));

      (function (c) {
        (function (b) {
          b[b.Integer32 = 0] = "Integer32";
          b[b.Integer64 = 1] = "Integer64";
          b[b.FloatingPoint = 2] = "FloatingPoint";
        })(c.ts || (c.ts = {}));

        var n = c.ts,
            g = function () {
          function b() {
            this.kq();
          }

          b.prototype.assign = function (a) {
            this.Xl = a.Xl;
            this.Yl = a.Yl;
            this.uj = a.uj;
            this.Tw = a.Tw;
            this.Jn = a.Jn;
            this.Sw = a.Sw;
            this.rx = a.rx;
            this.jl = a.jl;
            this.Cr = a.Cr;
            this.Br = a.Br;
            this.En = a.En;
          };

          b.prototype.Rs = function () {
            return this.Xl;
          };

          b.prototype.Ss = function () {
            return this.Yl;
          };

          b.prototype.Ts = function () {
            return this.Tw;
          };

          b.prototype.Qs = function () {
            return this.Sw;
          };

          b.prototype.Uz = function () {
            return this.uj;
          };

          b.prototype.Vz = function () {
            return this.Jn;
          };

          b.prototype.Tz = function () {
            return this.rx;
          };

          b.prototype.bt = function () {
            return this.En;
          };

          b.prototype.kq = function () {
            this.Yl = this.Xl = 0;
            this.uj = 1;
            this.Tw = 0;
            this.Jn = 1;
            this.Sw = 0;
            this.rx = 1;
            this.Br = this.Cr = this.jl = 2.220446049250313E-14;
            this.En = n.FloatingPoint;
          };

          b.prototype.Ey = function (a, b, f) {
            this.kq();
            this.En = f;

            if (f != n.FloatingPoint) {
              var e = new c.h();
              a.$S(e);
              this.Xl = e.o;
              this.Yl = e.A;
            } else this.Yl = this.Xl = -1.7976931348623157E308;

            e = a.uf.getType();
            e == c.Vc.PE_TYPE_GEOGCS ? (e = (f == n.Integer64 ? 1E-9 : 1 / 18E5) * a.ee(), this.uj = 1 / e) : e == c.Vc.PE_TYPE_PROJCS && (e = (f == n.Integer64 ? 1E-4 : .001) * a.bn(), this.uj = 1 / e);
            null != b ? (e = (f == n.Integer32 ? .001 : 1E-4) * b.XI, this.Jn = 1 / e) : this.Jn = 1E4;
            this.rx = 1E4;
            this.XO();
            this.jl = a.fx;
            this.Cr = null != b ? .001 * b.XI : .001;
            this.Br = 2.220446049250313E-14;
          };

          b.prototype.XO = function () {
            if (this.En != n.FloatingPoint) {
              var a = this.En == n.Integer64 ? c.Sd.tv : c.Sd.sv,
                  b = a / this.uj,
                  f = this.Xl + b,
                  e = c.J.truncate((f - this.Xl) * this.uj);
              e > a && (this.uj = a / (f - this.Xl));
              b = this.Yl + b;
              e = c.J.truncate((b - this.Yl) * this.uj);
              e > a && (this.uj = a / (b - this.Yl));
            }
          };

          b.prototype.zC = function (a, b) {
            switch (a) {
              case 0:
                this.jl = b;

              case 1:
                this.Cr = b;

              case 2:
                this.Br = b;
            }
          };

          b.prototype.Bo = function (a) {
            switch (a) {
              case 0:
                return this.jl;

              case 1:
                return this.Cr;

              case 2:
                return this.Br;
            }

            return 0;
          };

          b.prototype.XT = function () {
            var a = new c.h();

            switch (this.bt()) {
              case n.Integer32:
                var b = c.Sd.sv / this.Uz();
                a.I(this.Rs(), this.Ss(), this.Rs() + b, this.Ss() + b);
                break;

              case n.Integer64:
                b = c.Sd.tv / this.Uz();
                a.I(this.Rs(), this.Ss(), this.Rs() + b, this.Ss() + b);
                break;

              case n.FloatingPoint:
                a.I(-1.7976931348623157E308, -1 * 1.7976931348623157E308, 1.7976931348623157E308, 1.7976931348623157E308);
                break;

              default:
                throw c.g.X("internal error");
            }

            return a;
          };

          b.prototype.YT = function () {
            var a = new c.Ac();

            switch (this.bt()) {
              case n.Integer32:
                var b = c.Sd.sv / this.Vz();
                a.I(this.Ts(), this.Ts() + b);
                break;

              case n.Integer64:
                b = c.Sd.tv / this.Vz();
                a.I(this.Ts(), this.Ts() + b);
                break;

              case n.FloatingPoint:
                a.I(-1 * 1.7976931348623157E308, 1.7976931348623157E308);
                break;

              default:
                throw c.g.X("internal error");
            }

            return a;
          };

          b.prototype.tT = function () {
            var a = new c.Ac();

            switch (this.bt()) {
              case n.Integer32:
                var b = c.Sd.sv / this.Tz();
                a.I(this.Qs(), this.Qs() + b);
                break;

              case n.Integer64:
                b = c.Sd.tv / this.Tz();
                a.I(this.Qs(), this.Qs() + b);
                break;

              case n.FloatingPoint:
                a.I(-1 * 1.7976931348623157E308, 1.7976931348623157E308);
                break;

              default:
                throw c.g.X("internal error");
            }

            return a;
          };

          b.prototype.gA = function (a) {
            if (this.En == n.FloatingPoint) return 0;

            switch (a) {
              case 0:
                return 1 / this.uj;

              case 1:
                return 1 / this.Jn;

              case 2:
                return 1 / this.Jn;

              default:
                return 0;
            }
          };

          b.prototype.toString = function () {
            var a;
            a = "SRPD [m_toleranceXY: " + this.jl.toString();
            a = a + ";m_falseX: " + this.Xl.toString();
            a = a + ";m_falseY: " + this.Yl.toString();
            a = a + ";m_unitsXY: " + this.uj.toString();
            a = a + ";m_falseZ: " + this.Tw.toString();
            a = a + ";m_unitsZ: " + this.Jn.toString();
            a = a + ";m_falseM: " + this.Sw.toString();
            a = a + ";m_toleranceZ: " + this.Cr.toString();
            a = a + ";m_toleranceM: " + this.Br.toString();
            a = a + ";m_precision: " + this.En.toString();
            return a + "] ";
          };

          return b;
        }();

        c.fE = g;
      })(r || (r = {}));

      (function (c) {
        function n(a, b) {
          89.99999 < b ? b = 89.99999 : -89.99999 > b && (b = -89.99999);
          var d = .017453292519943 * b;
          return [111319.49079327169 * a, 3189068.5 * Math.log((1 + Math.sin(d)) / (1 - Math.sin(d)))];
        }

        function g(a, b, d) {
          a = a / 6378137 * 57.29577951308232;
          return d ? [a, 57.29577951308232 * (1.5707963267948966 - 2 * Math.atan(Math.exp(-1 * b / 6378137)))] : [a - 360 * Math.floor((a + 180) / 360), 57.29577951308232 * (1.5707963267948966 - 2 * Math.atan(Math.exp(-1 * b / 6378137)))];
        }

        function b(a, b) {
          var d = a.Vf();

          if (33 === a.G()) {
            var e = b(d.Be(), d.nf());
            d.rb(e[0], e[1]);
          } else if (197 === a.G()) {
            var e = b(a.R.o, a.R.A, !0),
                f = b(a.R.v, a.R.B, !0);
            d.I(e[0], e[1], f[0], f[1]);
          } else for (e = new c.b(), f = 0; f < d.D(); f++) {
            d.w(f, e);
            var g = b(e.x, e.y, !0);
            e.ka(g[0], g[1]);
            d.rb(f, e);
          }

          return d;
        }

        function a(a) {
          return b(a, g);
        }

        function d(a) {
          return b(a, n);
        }

        var f = Math.PI / 180,
            e = function () {
          function a() {}

          a.Ru = function (a) {
            var b = Math.sqrt(.006694379990197414),
                d = Math.sin(a.y * f);
            return c.b.pa(6378137 * a.x * f, 3167719.6636462314 * (d / (1 - .006694379990197414 * d * d) - 1 / (2 * b) * Math.log((1 - b * d) / (1 + b * d))));
          };

          a.EA = function (a, b, d, e) {
            var h = 1 / 298.257223563,
                g = Math.sin(d);
            d = Math.cos(d);
            var n = (1 - h) * Math.tan(a);
            a = 1 / Math.sqrt(1 + n * n);

            for (var r = n * a, z = Math.atan2(n, d), n = a * g, v = n * n, x = 1 - v, B = 2.7233160610754688E11 * x / 4.040829998466145E13, y = 1 + B / 16384 * (4096 + B * (-768 + B * (320 - 175 * B))), A = B / 1024 * (256 + B * (-128 + B * (74 - 47 * B))), B = e / (6356752.31424518 * y), C = 2 * Math.PI, D, E, F, G; 1E-12 < Math.abs(B - C);) F = Math.cos(2 * z + B), D = Math.sin(B), E = Math.cos(B), G = A * D * (F + A / 4 * (E * (-1 + 2 * F * F) - A / 6 * F * (-3 + 4 * D * D) * (-3 + 4 * F * F))), C = B, B = e / (6356752.31424518 * y) + G;

            e = r * D - a * E * d;
            x = h / 16 * x * (4 + h * (4 - 3 * x));
            return c.b.pa((b + (Math.atan2(D * g, a * E - r * D * d) - (1 - x) * h * n * (B + x * D * (F + x * E * (-1 + 2 * F * F))))) / f, Math.atan2(r * E + a * D * d, (1 - h) * Math.sqrt(v + e * e)) / f);
          };

          a.CM = function (a, b, d, c) {
            var e = 1 / 298.257223563,
                f = c - b,
                h = Math.atan((1 - e) * Math.tan(a)),
                g = Math.atan((1 - e) * Math.tan(d)),
                n = Math.sin(h),
                h = Math.cos(h),
                r = Math.sin(g),
                g = Math.cos(g),
                x = f,
                B,
                y = 1E3,
                A,
                C,
                D,
                E,
                F,
                G,
                H;

            do {
              D = Math.sin(x);
              E = Math.cos(x);
              C = Math.sqrt(g * D * g * D + (h * r - n * g * E) * (h * r - n * g * E));
              if (0 === C) return 0;
              E = n * r + h * g * E;
              F = Math.atan2(C, E);
              G = h * g * D / C;
              A = 1 - G * G;
              D = E - 2 * n * r / A;
              isNaN(D) && (D = 0);
              H = e / 16 * A * (4 + e * (4 - 3 * A));
              B = x;
              x = f + (1 - H) * e * G * (F + H * C * (D + H * E * (-1 + 2 * D * D)));
            } while (1E-12 < Math.abs(x - B) && 0 < --y);

            if (0 === y) return n = c - b, {
              azimuth: Math.atan2(Math.sin(n) * Math.cos(d), Math.cos(a) * Math.sin(d) - Math.sin(a) * Math.cos(d) * Math.cos(n)),
              geodesicDistance: 6371008.771415059 * Math.acos(Math.sin(a) * Math.sin(d) + Math.cos(a) * Math.cos(d) * Math.cos(c - b))
            };
            a = 2.7233160610754688E11 * A / 4.040829998466145E13;
            b = a / 1024 * (256 + a * (-128 + a * (74 - 47 * a)));
            return {
              azimuth: Math.atan2(g * Math.sin(x), h * r - n * g * Math.cos(x)),
              PS: 6356752.31424518 * (1 + a / 16384 * (4096 + a * (-768 + a * (320 - 175 * a)))) * (F - b * C * (D + b / 4 * (E * (-1 + 2 * D * D) - b / 6 * D * (-3 + 4 * C * C) * (-3 + 4 * D * D)))),
              P_: Math.atan2(h * Math.sin(x), h * r * Math.cos(x) - n * g)
            };
          };

          a.BR = function (a) {
            var b = a.hasAttribute(1),
                d = a.hasAttribute(2),
                e = [],
                f = a.aa(),
                h = null,
                g = null;
            b && (h = a.Pa(1));
            d && (g = a.Pa(2));

            for (var n = new c.b(), r = 0; r < f; r++) {
              for (var v = a.wa(r), x = a.La(r), B = 0, y = 0, A = NaN, C = NaN, D = NaN, E = NaN, F = a.Qb(r), G = [], H = v; H < v + x; H++) {
                a.w(H, n);
                var E = D = NaN,
                    I = [n.x, n.y];
                b && (D = h.get(H), I.push(D));
                d && (f = g.get(H), I.push(E));
                H == v && F && (B = n.x, y = n.y, A = D, C = E);
                G.push(I);
              }

              !F || B == n.x && y == n.y && (!b || isNaN(A) && isNaN(D) || A == D) && (!d || isNaN(C) && isNaN(E) || C == E) || G.push(G[0].slice(0));
              e.push(G);
            }

            return e;
          };

          a.Fz = function (b, d) {
            var c = a.BR(b);
            637.100877141506 > d && (d = 637.100877141506);

            for (var e = [], g, n = 0; n < c.length; n++) {
              var t = c[n];
              e.push(g = []);
              g.push([t[0][0], t[0][1]]);
              var r, z, v, x, B, y;
              r = t[0][0] * f;
              z = t[0][1] * f;

              for (B = 0; B < t.length - 1; B++) if (v = t[B + 1][0] * f, x = t[B + 1][1] * f, r !== v || z !== x) {
                x = a.CM(z, r, x, v);
                v = x.azimuth;
                x = x.PS;
                var A = x / d;

                if (1 < A) {
                  for (y = 1; y <= A - 1; y++) {
                    var C = a.EA(z, r, v, y * d);
                    g.push([C.x, C.y]);
                  }

                  y = a.EA(z, r, v, (x + Math.floor(A - 1) * d) / 2);
                  g.push([y.x, y.y]);
                }

                z = a.EA(z, r, v, x);
                g.push([z.x, z.y]);
                r = z.x * f;
                z = z.y * f;
              }
            }

            return {
              gK: e
            };
          };

          a.OS = function (b) {
            for (var d = [], e = 0; e < b.length; e++) {
              var f = b[e],
                  f = a.Fz(f, 1E4);
              d.push(f);
            }

            b = [];

            for (var g = 0; g < d.length; g++) {
              for (var f = d[g], n = 0, e = 0; e < f.gK.length; e++) {
                var t = f.gK[e],
                    r = a.Ru(c.b.pa(t[0][0], t[0][1])),
                    z = a.Ru(c.b.pa(t[t.length - 1][0], t[t.length - 1][1])),
                    v = z.x * r.y - r.x * z.y,
                    x;

                for (x = 0; x < t.length - 1; x++) r = a.Ru(c.b.pa(t[x + 1][0], t[x + 1][1])), z = a.Ru(c.b.pa(t[x][0], t[x][1])), v += z.x * r.y - r.x * z.y;

                n += v;
              }

              n /= 1;
              b.push(n / -2);
            }

            return b;
          };

          return a;
        }();

        c.rM = e;

        e = function () {
          function b() {}

          b.YB = function (a, d, c, e, f, g, n) {
            b.vD[a.jc()] = d;
            0 == isNaN(c) && (b.xD[a.jc()] = c);
            0 == isNaN(e) && (b.YD[a.jc()] = e);
            0 == isNaN(f) && (b.pD[a.jc()] = f);
            b.zD[a.jc()] = g;
            null !== n && (b.BD[a.jc()] = n);
          };

          b.Ix = function (a, d, c) {
            b.SD[a.jc() + "-" + d.jc()] = c;
          };

          b.kc = function (a) {
            a = b.vD[a.jc()];
            if (void 0 == a) throw c.g.df();
            return a;
          };

          b.ee = function (a) {
            a = b.xD[a.jc()];
            if (void 0 == a) throw c.g.df();
            return a;
          };

          b.hw = function (a) {
            a = b.YD[a.jc()];
            if (void 0 == a) throw c.g.df();
            return a;
          };

          b.Sv = function (a) {
            a = b.pD[a.jc()];
            if (void 0 == a) throw c.g.df();
            return a;
          };

          b.Bh = function (a) {
            a = b.BD[a.jc()];
            if (void 0 == a) throw c.g.df();
            return c.h.pa(a[0], a[1], a[2], a[3]);
          };

          b.Jc = function (a) {
            a = b.zD[a.jc()];
            if (void 0 == a) throw c.g.df();
            return a;
          };

          b.Xg = function (a, d, e) {
            if (d.Eb(e)) return a;
            var f = b.SD[d.jc() + "-" + e.jc()];
            if (void 0 !== f) return f(a, d, e);
            throw c.g.df();
          };

          b.lu = function () {
            throw c.g.df();
          };

          b.US = function () {
            throw c.g.df();
          };

          b.VW = function () {
            throw c.g.df();
          };

          b.Mk = function () {
            throw c.g.df();
          };

          b.sX = function () {
            var b = c.Sd.create(102100),
                e = c.Sd.create(3857),
                f = c.Sd.create(4326);
            c.fb.YB(b, f, NaN, NaN, NaN, !1, null);
            c.fb.YB(f, f, 1, .0033528106647474805, 6378137, !0, [-180, -90, 180, 90]);
            c.fb.YB(e, f, NaN, NaN, NaN, !1, null);
            c.fb.Ix(b, f, a);
            c.fb.Ix(f, b, d);
            c.fb.Ix(e, f, a);
            c.fb.Ix(f, e, d);
          };

          b.vD = [];
          b.xD = [];
          b.YD = [];
          b.pD = [];
          b.zD = [];
          b.BD = [];
          b.SD = [];
          return b;
        }();

        c.fb = e;
      })(r || (r = {}));

      r.fb.sX();

      (function (c) {
        var n = function () {
          function g(b) {
            this.f = null;
            this.kh = -1;
            this.yd = this.size = this.Jf = 0;
            this.ed = b;
          }

          g.prototype.kd = function (b) {
            b < this.Jf ? (this.f[b * this.ed] = this.kh, this.kh = b) : this.Jf--;
            this.size--;
          };

          g.prototype.S = function (b, a) {
            return this.f[b * this.ed + a];
          };

          g.prototype.P = function (b, a, d) {
            this.f[b * this.ed + a] = d;
          };

          g.prototype.Pe = function () {
            var b = this.kh;

            if (-1 == b) {
              if (this.Jf == this.yd) {
                b = 0 != this.yd ? c.J.truncate(3 * (this.yd + 1) / 2) : 1;
                2147483647 < b && (b = 2147483647);
                if (b == this.yd) throw c.g.wd();
                this.Co(b);
              }

              b = this.Jf;
              this.Jf++;
            } else this.kh = this.f[b * this.ed];

            this.size++;

            for (var a = b * this.ed + this.ed, d = b * this.ed; d < a; d++) this.f[d] = -1;

            return b;
          };

          g.prototype.nl = function (b) {
            var a = this.kh;

            if (-1 == a) {
              if (this.Jf == this.yd) {
                a = 0 != this.yd ? c.J.truncate(3 * (this.yd + 1) / 2) : 1;
                2147483647 < a && (a = 2147483647);
                if (a == this.yd) throw c.g.wd();
                this.Co(a);
              }

              a = this.Jf;
              this.Jf++;
            } else this.kh = this.f[a * this.ed];

            this.size++;

            for (var d = a * this.ed, f = this.ed, e = 0; e < f; e++) this.f[d + e] = b[e];

            return a;
          };

          g.prototype.Vi = function (b) {
            this.kh = -1;
            this.size = this.Jf = 0;
            b && (this.f = null, this.yd = 0);
          };

          g.prototype.Qe = function (b) {
            b > this.yd && this.Co(b);
          };

          g.prototype.ay = function (b, a, d) {
            var c = this.f[this.ed * a + d];
            this.f[this.ed * a + d] = this.f[this.ed * b + d];
            this.f[this.ed * b + d] = c;
          };

          g.Im = function () {
            return -2;
          };

          g.jo = function () {
            return -3;
          };

          g.CA = function (b) {
            return 0 <= b;
          };

          g.prototype.Co = function (b) {
            null == this.f && (this.f = []);
            this.yd = b;
          };

          return g;
        }();

        c.ad = n;

        n = function () {
          function g(b) {
            this.f = new Int32Array(0);
            this.kh = -1;
            this.yd = this.size = this.Jf = 0;
            this.ed = b;
          }

          g.prototype.kd = function (b) {
            b < this.Jf ? (this.f[b * this.ed] = this.kh, this.kh = b) : this.Jf--;
            this.size--;
          };

          g.prototype.S = function (b, a) {
            return this.f[b * this.ed + a];
          };

          g.prototype.P = function (b, a, d) {
            this.f[b * this.ed + a] = d;
          };

          g.prototype.Pe = function () {
            var b = this.kh;

            if (-1 == b) {
              if (this.Jf == this.yd) {
                b = 0 != this.yd ? c.J.truncate(3 * (this.yd + 1) / 2) : 1;
                2147483647 < b && (b = 2147483647);
                if (b == this.yd) throw c.g.wd();
                this.Co(b);
              }

              b = this.Jf;
              this.Jf++;
            } else this.kh = this.f[b * this.ed];

            this.size++;

            for (var a = b * this.ed; a < b * this.ed + this.ed; a++) this.f[a] = -1;

            return b;
          };

          g.prototype.nl = function (b) {
            var a = this.kh;

            if (-1 == a) {
              if (this.Jf == this.yd) {
                a = 0 != this.yd ? c.J.truncate(3 * (this.yd + 1) / 2) : 1;
                2147483647 < a && (a = 2147483647);
                if (a == this.yd) throw c.g.wd();
                this.Co(a);
              }

              a = this.Jf;
              this.Jf++;
            } else this.kh = this.f[a * this.ed];

            this.size++;

            for (var d = a * this.ed, f = 0; f < b.length; f++) this.f[d + f] = b[f];

            return a;
          };

          g.prototype.Vi = function (b) {
            this.kh = -1;
            this.size = this.Jf = 0;
            b && (this.f = null, this.yd = 0);
          };

          g.prototype.Qe = function (b) {
            b > this.yd && this.Co(b);
          };

          g.prototype.ay = function (b, a, d) {
            var c = this.f[this.ed * a + d];
            this.f[this.ed * a + d] = this.f[this.ed * b + d];
            this.f[this.ed * b + d] = c;
          };

          g.Im = function () {
            return -2;
          };

          g.jo = function () {
            return -3;
          };

          g.CA = function (b) {
            return 0 <= b;
          };

          g.prototype.Co = function (b) {
            null == this.f && (this.f = new Int32Array(0));
            var a = new Int32Array(this.ed * b);
            a.set(this.f, 0);
            this.f = a;
            this.yd = b;
          };

          return g;
        }();

        c.aO = n;
        !0 === c.Xh.Bm && (c.ad = c.aO);
      })(r || (r = {}));

      (function (c) {
        var n;

        (function (a) {
          a[a.enumInputModeBuildGraph = 0] = "enumInputModeBuildGraph";
          a[a.enumInputModeSimplifyAlternate = 4] = "enumInputModeSimplifyAlternate";
          a[a.enumInputModeSimplifyWinding = 5] = "enumInputModeSimplifyWinding";
          a[a.enumInputModeIsSimplePolygon = 7] = "enumInputModeIsSimplePolygon";
        })(n || (n = {}));

        var g = function () {
          function a(a) {
            this.bf = a;
            this.Wh = NaN;
            this.qI = new c.Cg();
            this.rI = new c.Cg();
            this.it = new c.Ac();
            this.jt = new c.Ac();
          }

          a.prototype.compare = function (a, b, c) {
            a = a.ja(c);
            this.bf.RB(b, this.qI);
            this.bf.RB(a, this.rI);
            b = this.qI.get();
            a = this.rI.get();
            this.it.I(b.ua, b.sa);
            this.jt.I(a.ua, a.sa);
            if (this.it.ha < this.jt.ca) return -1;
            if (this.it.ca > this.jt.ha) return 1;
            c = b.ra == b.oa;
            var h = a.ra == a.oa;

            if (c || h) {
              if (c && h) return 0;
              if (b.ra == a.ra && b.ua == a.ua) return c ? 1 : -1;
              if (b.oa == a.oa && b.sa == a.sa) return c ? -1 : 1;
            }

            c = b.pf(this.Wh, this.it.ca);
            h = a.pf(this.Wh, this.jt.ca);
            c == h && (c = Math.min(b.oa, a.oa), h = .5 * (c + this.Wh), h == this.Wh && (h = c), c = b.pf(h, this.it.ca), h = a.pf(h, this.jt.ca));
            return c < h ? -1 : c > h ? 1 : 0;
          };

          a.prototype.RK = function (a) {
            this.Wh = a;
          };

          return a;
        }(),
            b = function () {
          function a(a) {
            this.bb = a;
            this.jJ = new c.Cg();
            this.cg = new c.b();
            this.dB = new c.Ac();
          }

          a.prototype.fY = function (a) {
            this.cg.L(a);
          };

          a.prototype.compare = function (a, b) {
            this.bb.RB(a.ja(b), this.jJ);
            var c = this.jJ.get();
            this.dB.I(c.ua, c.sa);
            if (this.cg.x < this.dB.ca) return -1;
            if (this.cg.x > this.dB.ha) return 1;
            c = c.pf(this.cg.y, this.cg.x);
            return this.cg.x < c ? -1 : this.cg.x > c ? 1 : 0;
          };

          return a;
        }();

        n = function () {
          function a() {
            this.tI = this.cj = this.fj = this.UA = this.No = this.Ye = this.Rc = this.Eh = this.De = null;
            this.sp = this.Tg = -1;
            this.sI = !0;
            this.YA = !1;
            this.VA = NaN;
            this.mj = new c.$d();
            this.dQ = 2147483647;
            this.cQ = c.J.truncate(-2147483648);
            this.xg = this.xe = this.km = this.rr = this.qn = this.qr = this.Jt = this.rf = -1;
            this.qa = 0;
          }

          a.prototype.ez = function (a) {
            this.VA = a;
          };

          a.prototype.Mn = function () {
            null == this.De && (this.De = new c.ad(8));
            var a = this.De.Pe();
            this.De.P(a, 1, 0);
            return a;
          };

          a.prototype.gW = function () {
            null == this.Rc && (this.Rc = new c.ad(8));
            var a = this.Rc.Pe();
            this.Rc.P(a, 2, 0);
            this.Rc.P(a, 3, 0);
            var b = this.Rc.Pe();
            this.Rc.P(b, 2, 0);
            this.Rc.P(b, 3, 0);
            this.zK(a, b);
            this.zK(b, a);
            return a;
          };

          a.prototype.vJ = function () {
            null == this.Ye && (this.Ye = new c.ad(8));
            var a = this.Ye.Pe();
            this.Ye.P(a, 2, 0);
            return a;
          };

          a.prototype.RX = function (a, b) {
            this.De.P(a, 7, b);
          };

          a.prototype.bo = function (a, b) {
            this.De.P(a, 2, b);
          };

          a.prototype.QX = function (a, b) {
            this.De.P(a, 1, b);
          };

          a.prototype.gY = function (a, b) {
            this.De.P(a, 3, b);
          };

          a.prototype.dY = function (a, b) {
            this.De.P(a, 4, b);
          };

          a.prototype.Vr = function (a, b) {
            this.De.P(a, 5, b);
          };

          a.prototype.XS = function (a) {
            return this.De.S(a, 5);
          };

          a.prototype.PX = function (a, b) {
            this.De.P(a, 6, b);
          };

          a.prototype.bP = function (a, b) {
            this.PX(b, a);
          };

          a.prototype.yK = function (a, b) {
            this.Rc.P(a, 1, b);
          };

          a.prototype.zK = function (a, b) {
            this.Rc.P(a, 4, b);
          };

          a.prototype.ym = function (a, b) {
            this.Rc.P(a, 5, b);
          };

          a.prototype.xm = function (a, b) {
            this.Rc.P(a, 6, b);
          };

          a.prototype.WX = function (a, b) {
            this.Rc.P(a, 2, b);
          };

          a.prototype.Nx = function (a, b) {
            this.Rc.P(a, 3, b);
          };

          a.prototype.WG = function (a) {
            return this.Rc.S(a, 3);
          };

          a.prototype.uu = function (a, b) {
            this.Rc.P(a, 7, b);
          };

          a.prototype.xL = function (a, b) {
            if (-1 != this.$m(a)) for (var c = b ? -1 : a, h = this.$m(a); -1 != h; h = this.gt(h)) this.a.Va(this.Uj(h), this.rr, c);
          };

          a.prototype.ey = function (a, b) {
            -1 != a && (this.xL(a, b), this.xL(this.Aa(a), b));
          };

          a.prototype.su = function (a, b) {
            this.Ye.P(a, 1, b);
          };

          a.prototype.rh = function (a, b) {
            this.Ye.P(a, 2, b);
          };

          a.prototype.Zn = function (a, b) {
            this.Ye.P(a, 3, b);
            this.NX(a, this.WS(b));
            this.MX(b, a);
          };

          a.prototype.MX = function (a, b) {
            this.Ye.P(a, 4, b);
          };

          a.prototype.NX = function (a, b) {
            this.Ye.P(a, 5, b);
          };

          a.prototype.tK = function (a, b) {
            this.Ye.P(a, 6, b);
          };

          a.prototype.rK = function (a, b) {
            this.Ye.P(a, 7, b);
          };

          a.prototype.qK = function (a, b) {
            this.No.write(a, b);
          };

          a.prototype.sK = function (a, b) {
            this.UA.write(a, b);
          };

          a.prototype.iZ = function (a) {
            var b = 0,
                e = 0,
                h = this.MG(a),
                g = new c.b(),
                k = new c.b(),
                m = new c.b();
            this.Ys(h, g);
            k.L(g);
            var n = h;

            do this.Zm(n, m), e += c.b.Cb(k, m), this.Ef(this.Aa(n)) != a && (b += (m.x - g.x - (k.x - g.x)) * (m.y - g.y + (k.y - g.y)) * .5), k.L(m), n = this.qc(n); while (n != h);

            this.No.write(a, b);
            this.UA.write(a, e);
          };

          a.prototype.DW = function (a) {
            var f = new g(this),
                e = new c.uk();
            e.Qe(c.J.truncate(this.qa / 2));
            e.Ep(f);

            for (var h = new c.ia(0), l = this.xh(), k = null, m = 0, n = new c.b(), p = this.rf; -1 != p; p = this.og(p)) {
              m++;
              var q = this.kf(p);

              if (-1 != q) {
                h.yf(0);

                if (!this.bZ(e, l, h, q)) {
                  this.w(p, n);
                  f.RK(n.y);
                  var t = q;

                  do {
                    var r = this.Kb(t, l);
                    -1 != r && (e.Kd(r, -1), this.Ob(t, l, -2));
                    t = this.qc(this.Aa(t));
                  } while (q != t);

                  t = q;

                  do r = this.Kb(t, l), -1 == r && (r = e.addElement(t, -1), h.add(r)), t = this.qc(this.Aa(t)); while (q != t);
                }

                for (q = h.size - 1; 0 <= q; q--) r = h.get(q), t = e.ja(r), this.Ob(this.Aa(t), l, r), this.BW(e, r, a);
              } else -1 == this.Lz(p) && (null == k && (k = new b(this)), this.w(p, n), k.fY(n), t = e.IX(k), q = this.km, -1 != t && (r = e.ja(t), this.Ef(r) == this.Ef(this.Aa(r)) && (r = this.YG(e, t)), -1 != r && (q = this.Ef(r))), this.bP(q, p));
            }

            this.ni(l);
          };

          a.prototype.BW = function (a, b, c) {
            var h = a.ja(b),
                g = this.Ef(h);

            if (-1 == this.vo(g)) {
              var k = this.YG(a, b),
                  m = this.Aa(h),
                  n = this.Ef(m);
              this.Dq(g);
              this.Dq(n);
              var p = this.vo(g),
                  q = this.vo(n);
              -1 == k && -1 == p && (n == g ? (this.Zn(n, this.km), p = q = this.km) : (-1 == q && (this.Zn(n, this.km), q = this.km), this.Zn(g, n), p = n));

              if (-1 != k) {
                var r = this.Ef(k);
                -1 == q && (0 >= this.Dq(r) ? (q = this.vo(r), this.Zn(n, q)) : (this.Zn(n, r), q = r), n == g && (p = q));
              }

              -1 == p && this.cZ(g, n);
              0 == c ? this.aX(a, b, h, k, g, n) : 5 == c ? this.bX(a, b, h, m, g, n) : 4 == c && this.$W(h, k, g, n);
            }
          };

          a.prototype.aX = function (a, b, c, h, g, k) {
            var m = this.Ik(g);

            if (-1 != h) {
              var n = this.Ik(k),
                  p = this.Ik(this.Ef(h));
              h = m & n & p;
              p ^= p & this.Ah(c);
              p |= h;
              0 != p && (this.rh(k, n | p), this.rh(g, p | m), m = m || p);
            }

            for (b = a.nb(b); -1 != b; b = a.nb(b)) {
              h = a.ja(b);
              c = this.Ef(this.Aa(h));
              g = this.Ik(c);
              k = this.Ah(h);
              n = this.Ef(h);
              p = this.Ik(n);
              h = g & p & m;
              m ^= m & k;
              m |= h;
              if (0 == m) break;
              this.rh(c, g | m);
              this.rh(n, p | m);
            }
          };

          a.prototype.bX = function (a, b, e, h, g, k) {
            if (g != k) {
              e = this.Kb(e, this.xg);
              e += this.Kb(h, this.xg);
              h = 0;
              var m = new c.ia(0),
                  n = new c.ia(0);
              n.add(0);

              for (var p = a.xc(-1); p != b; p = a.nb(p)) {
                var q = a.ja(p),
                    r = this.Aa(q),
                    u = this.Ef(q),
                    z = this.Ef(r);

                if (u != z) {
                  q = this.Kb(q, this.xg);
                  q += this.Kb(r, this.xg);
                  h += q;
                  r = !1;
                  0 != m.size && m.Fc() == z && (n.Pf(), m.Pf(), r = !0);
                  if (-1 == this.vo(z)) throw c.g.za();
                  r && this.vo(z) == u || (n.add(h), m.add(u));
                }
              }

              h += e;
              0 != m.size && m.Fc() == k && (n.Pf(), m.Pf());
              0 != h ? 0 == n.Fc() && (a = this.a.sd, a = this.Ia(a), this.rh(g, a)) : 0 != n.Fc() && (a = this.a.sd, a = this.Ia(a), this.rh(g, a));
            }
          };

          a.prototype.$W = function (a, b, c, h) {
            var g = this.Ia(this.a.sd);
            if (-1 == b) this.rh(h, this.sp), a = this.Kb(a, this.Tg), 0 != (a & 1) ? this.rh(c, g) : this.rh(c, this.sp);else {
              var k = this.Ik(h);
              0 == k && (k = this.Ik(this.Ef(b)), this.rh(h, k));
              a = this.Kb(a, this.Tg);
              0 != (a & 1) ? this.rh(c, k == g ? this.sp : g) : this.rh(c, k);
            }
          };

          a.prototype.bZ = function (a, b, c, h) {
            var g = h,
                k = -1,
                m = -1,
                n = 0;

            do {
              if (2 == n) return !1;
              var p = this.Kb(g, b);

              if (-1 != p) {
                if (-1 != k) return !1;
                k = p;
              } else {
                if (-1 != m) return !1;
                m = g;
              }

              n++;
              g = this.qc(this.Aa(g));
            } while (h != g);

            if (-1 == m || -1 == k) return !1;
            this.Ob(a.ja(k), b, -2);
            a.kk(k, m);
            c.add(k);
            return !0;
          };

          a.prototype.cZ = function (a, b) {
            var c = this.Dq(a);

            if (0 != c) {
              var h = this.Dq(b);
              0 < c && 0 > h ? this.Zn(a, b) : 0 > c && 0 < h ? this.Zn(a, b) : (c = this.vo(b), -1 != c && this.Zn(a, c));
            }
          };

          a.prototype.uR = function (a, b) {
            this.rr = this.a.Vd();

            for (var e = 0, h = b.size; e < h; e++) {
              var g = b.get(e),
                  k = this.a.Sa(g, this.qn),
                  m = this.a.ng(this.a.ld(g)),
                  n = this.a.hc(m);

              if (c.T.Ic(n)) {
                var p = this.a.U(g);

                if (-1 != p) {
                  var q = this.a.Sa(p, this.qn);

                  if (k != q) {
                    var r = this.gW(),
                        u = this.Aa(r),
                        z = this.Eh.Pe();
                    this.Eh.P(z, 0, g);
                    this.Eh.P(z, 1, -1);
                    this.uu(r, z);
                    this.yK(r, k);
                    z = this.kf(k);
                    -1 == z ? (this.bo(k, r), this.ym(r, u), this.xm(u, r)) : (k = this.Te(z), this.ym(z, u), this.xm(u, z), this.xm(k, r), this.ym(r, k));
                    this.yK(u, q);
                    k = this.kf(q);
                    -1 == k ? (this.bo(q, u), this.xm(r, u), this.ym(u, r)) : (q = this.Te(k), this.ym(k, r), this.xm(r, k), this.xm(q, u), this.ym(u, q));
                    m = this.Ia(m);
                    0 == a ? (this.Ob(u, this.xe, 0), this.Ob(r, this.xe, 1736 == n ? m : 0)) : 5 == a ? (q = new c.b(), this.a.w(g, q), g = new c.b(), this.a.w(p, g), k = p = 0, 0 > q.compare(g) ? p = 1 : k = -1, this.Ob(u, this.xe, 0), this.Ob(r, this.xe, 0), this.Ob(r, this.xg, p), this.Ob(u, this.xg, k)) : 7 == a ? (this.Ob(u, this.xe, this.sp), this.Ob(r, this.xe, 1736 == n ? m : 0)) : 4 == a && (this.Ob(u, this.xe, 0), this.Ob(r, this.xe, 0), this.Ob(r, this.Tg, 1), this.Ob(u, this.Tg, 1));
                    n = 1736 == n ? this.cQ : 0;
                    this.Nx(r, m | n);
                    this.Nx(u, m | n);
                  }
                }
              }
            }
          };

          a.prototype.VV = function (a, b) {
            var c = this.$m(b);

            if (-1 != c) {
              var h = this.$m(a);
              this.Eh.P(c, 1, h);
              this.uu(a, c);
              this.uu(b, -1);
            }

            var g = this.Aa(a),
                k = this.Aa(b),
                c = this.$m(k);
            -1 != c && (h = this.$m(g), this.Eh.P(c, 1, h), this.uu(g, c), this.uu(k, -1));
          };

          a.prototype.DY = function (a) {
            function b(a, d) {
              return h.LQ(a, d);
            }

            var e = new c.ia(0);
            e.yb(10);

            for (var h = this, g = this.rf; -1 != g; g = this.og(g)) {
              e.clear(!1);
              var k = this.kf(g);

              if (-1 != k) {
                var m = k;

                do e.add(m), m = this.qc(this.Aa(m)); while (m != k);

                if (1 < e.size) {
                  m = !0;
                  if (2 < e.size) e.Gd(0, e.size, b), e.add(e.get(0));else if (0 < this.KQ(e.get(0), e.get(1))) {
                    var n = e.get(0);
                    e.set(0, e.get(1));
                    e.set(1, n);
                  } else m = !1;

                  for (var p = n = e.get(0), q = this.Xf(p), r = this.Aa(p), u = -1, z = 1, v = e.size; z < v; z++) {
                    var x = e.get(z),
                        B = this.Aa(x),
                        y = this.Kk(B);

                    if (y == q && x != p) {
                      if (0 == a) u = this.WG(p) | this.WG(x), this.Nx(p, u), this.Nx(r, u), this.Ob(p, this.xe, this.Kb(p, this.xe) | this.Kb(x, this.xe)), this.Ob(r, this.xe, this.Kb(r, this.xe) | this.Kb(B, this.xe));else if (-1 != this.xg) u = this.Kb(p, this.xg) + this.Kb(x, this.xg), B = this.Kb(r, this.xg) + this.Kb(B, this.xg), this.Ob(p, this.xg, u), this.Ob(r, this.xg, B);else {
                        if (7 == a) {
                          this.mj = new c.$d(5, g, -1);
                          return;
                        }

                        -1 != this.Tg && (u = this.Kb(p, this.Tg) + this.Kb(x, this.Tg), B = this.Kb(r, this.Tg) + this.Kb(B, this.Tg), this.Ob(p, this.Tg, u), this.Ob(r, this.Tg, B));
                      }
                      this.VV(p, x);
                      this.sz(x);
                      u = p;
                      e.set(z, -1);
                      x == n && (e.set(0, -1), n = -1);
                    } else this.ey(u, !1), u = -1, p = x, q = y, r = B;
                  }

                  this.ey(u, !1);
                  u = -1;

                  if (m) {
                    n = -1;
                    z = 0;

                    for (v = e.size; z < v; z++) if (x = e.get(z), -1 != x) if (-1 == n) p = n = x, q = this.Xf(p), r = this.Aa(p);else if (x != p && (B = this.Aa(x), y = this.Kk(B), this.xm(r, x), this.ym(x, r), p = x, q = y, r = B, 7 == a && (this.Kb(x, this.xe) | this.Kb(this.Te(x), this.xe)) == (this.sp | 1))) {
                      this.mj = new c.$d(5, g, -1);
                      return;
                    }

                    this.bo(g, n);
                  } else {
                    n = -1;
                    z = 0;

                    for (v = e.size; z < v; z++) if (x = e.get(z), -1 != x) {
                      n = x;
                      break;
                    }

                    k != n && this.bo(g, n);
                  }
                }
              }
            }
          };

          a.prototype.$P = function () {
            for (var a = -1, b = this.xh(), e = this.rf; -1 != e; e = this.og(e)) {
              var h = this.kf(e);

              if (-1 != h) {
                var g = h;

                do {
                  if (1 != this.Kb(g, b)) {
                    var k = this.vJ();
                    this.su(k, g);
                    this.rK(k, a);
                    -1 != a && this.tK(a, k);
                    var a = k,
                        m = 0,
                        n = g;

                    do m |= this.Kb(n, this.xe), this.WX(n, k), this.Ob(n, b, 1), n = this.qc(n); while (n != g);

                    this.rh(k, m);
                  }

                  g = this.qc(this.Aa(g));
                } while (g != h);
              }
            }

            k = this.vJ();
            this.su(k, -1);
            this.rK(k, a);
            -1 != a && this.tK(a, k);
            this.km = k;
            this.No = c.Rd.zd(this.Ye.size, NaN);
            this.UA = c.Rd.zd(this.Ye.size, NaN);
            this.qK(this.km, Infinity);
            this.sK(this.km, Infinity);
            this.ni(b);
          };

          a.prototype.jT = function (a, b, c) {
            b = -1 != b ? b : this.kf(a);
            if (-1 == b) return -1;

            for (a = b;;) {
              if (1 != this.Kb(b, c)) return b;
              b = this.qc(this.Aa(b));
              if (b == a) return -1;
            }
          };

          a.prototype.wX = function () {
            for (var a = this.xh(), b = this.rf; -1 != b; b = this.og(b)) for (var c = -1;;) {
              var h = this.jT(b, c, a);
              if (-1 == h) break;

              for (var c = this.qc(this.Aa(h)), g = h;;) {
                var k = this.qc(g),
                    m = this.Te(g),
                    n = this.Aa(g);

                if (m == n) {
                  this.FR(g);
                  if (c == g || c == n) c = -1;

                  if (g == h || m == h) {
                    h = k;
                    if (g == h || m == h) break;
                    g = k;
                    continue;
                  }
                } else this.Ob(g, a, 1);

                g = k;
                if (g == h) break;
              }
            }
          };

          a.prototype.nC = function (a, b, e, g) {
            this.qh();
            this.sI = g;
            this.a = a;
            this.qr = this.a.iG();
            a = new c.ia(0);
            a.yb(null != e ? this.a.D(e.get(0)) : this.a.vd);
            var l = 0,
                k = 1,
                m = null != e ? e.get(0) : this.a.sd;

            for (g = 1; -1 != m;) {
              this.a.xK(m, this.qr, k);

              for (var k = k << 1, n = this.a.Pb(m); -1 != n; n = this.a.Sb(n)) for (var p = this.a.cb(n), q = 0, r = this.a.La(n); q < r; q++) a.add(p), p = this.a.U(p);

              c.T.Jo(this.a.hc(m)) || (l += this.a.aa(m));
              null != e ? (m = g < e.size ? e.get(g) : -1, g++) : m = this.a.Ue(m);
            }

            this.sp = k;
            this.qa = a.size;
            this.a.Xx(a, this.qa);
            null == this.Eh && (this.Eh = new c.ad(2), this.De = new c.ad(8), this.Rc = new c.ad(8), this.Ye = new c.ad(8));
            this.Eh.Qe(this.qa);
            this.De.Qe(this.qa + 10);
            this.Rc.Qe(2 * this.qa + 32);
            this.Ye.Qe(Math.max(32, l));
            this.qn = this.a.Vd();
            e = new c.b();
            g = 0;
            l = new c.b();
            e.$c();

            for (k = 0; k <= this.qa; k++) if (k < this.qa ? (p = a.get(k), this.a.w(p, l)) : l.$c(), !e.ub(l)) {
              if (g < k) {
                p = this.Mn();

                for (r = q = -1; g < k; g++) r = a.get(g), this.a.Va(r, this.qn, p), m = this.Eh.Pe(), this.Eh.P(m, 0, r), this.Eh.P(m, 1, q), q = m, n = this.a.ld(r), m = this.a.ng(n), m = this.Ia(m), this.QX(p, this.Md(p) | m);

                this.RX(p, q);
                this.Vr(p, this.a.Za(r));
                -1 != this.Jt && this.dY(this.Jt, p);
                this.gY(p, this.Jt);
                this.Jt = p;
                -1 == this.rf && (this.rf = p);
              }

              g = k;
              e.L(l);
            }

            this.xe = this.xh();
            5 == b && (this.xg = this.xh());
            4 == b && (this.Tg = this.xh());
            this.uR(b, a);
            0 == this.mj.Ii && (this.DY(b), 0 == this.mj.Ii && (isNaN(this.VA) || this.BQ() ? (this.$P(), 0 == this.mj.Ii && (this.ni(this.xe), this.xe = -1, this.sI && this.DW(b))) : this.YA = !0));
          };

          a.prototype.sz = function (a) {
            var b = this.qc(a),
                c = this.Te(a),
                g = this.Aa(a),
                l = this.qc(g),
                k = this.Te(g);
            b != g && (this.xm(k, b), this.ym(b, k));
            c != g && (this.xm(c, l), this.ym(l, c));
            c = this.Kk(a);
            this.kf(c) == a && (l != a ? this.bo(c, l) : this.bo(c, -1));
            l = this.Kk(g);
            this.kf(l) == g && (b != g ? this.bo(l, b) : this.bo(l, -1));
            this.Rc.kd(a);
            this.Rc.kd(g);
          };

          a.prototype.YG = function (a, b) {
            for (var c = b;;) if (c = a.Ve(c), -1 != c) {
              var g = a.ja(c);
              if (this.Ef(g) != this.Ef(this.Aa(g))) return g;
            } else return -1;
          };

          a.prototype.Wr = function (a, b, c) {
            void 0 === c && (c = !0);
            this.nC(a, 0, null, c);
          };

          a.prototype.mK = function (a, b) {
            var e = new c.ia(0);
            e.add(b);
            this.nC(a, 4, e, 1736 == a.hc(b));
          };

          a.prototype.nK = function (a, b) {
            var e = new c.ia(0);
            e.add(b);
            this.nC(a, 5, e, !0);
          };

          a.prototype.qh = function () {
            null != this.a && (-1 != this.qr && (this.a.vX(this.qr), this.qr = -1), -1 != this.qn && (this.a.le(this.qn), this.qn = -1), -1 != this.rr && (this.a.le(this.rr), this.rr = -1), -1 != this.xe && (this.ni(this.xe), this.xe = -1), -1 != this.xg && (this.ni(this.xg), this.xg = -1), -1 != this.Tg && (this.ni(this.Tg), this.Tg = -1), this.a = null, this.De.Vi(!0), this.Eh.Vi(!0), this.Jt = this.rf = -1, null != this.Rc && this.Rc.Vi(!0), null != this.fj && (this.fj.length = 0), null != this.cj && (this.cj.length = 0), null != this.tI && (this.tI.length = 0), null != this.Ye && this.Ye.Vi(!0), this.km = -1, this.No = null);
          };

          a.prototype.kf = function (a) {
            return this.De.S(a, 2);
          };

          a.prototype.w = function (a, b) {
            this.a.pH(this.XS(a), b);
          };

          a.prototype.Md = function (a) {
            return this.De.S(a, 1);
          };

          a.prototype.og = function (a) {
            return this.De.S(a, 4);
          };

          a.prototype.Lz = function (a) {
            return this.De.S(a, 6);
          };

          a.prototype.Ym = function (a) {
            return this.De.S(a, 7);
          };

          a.prototype.gt = function (a) {
            return this.Eh.S(a, 1);
          };

          a.prototype.Uj = function (a) {
            return this.Eh.S(a, 0);
          };

          a.prototype.Hg = function (a, b) {
            var c = this.cj[b];
            return c.size <= a ? -1 : c.read(a);
          };

          a.prototype.co = function (a, b, c) {
            b = this.cj[b];
            b.size <= a && b.resize(this.De.size, -1);
            b.write(a, c);
          };

          a.prototype.wq = function () {
            null == this.cj && (this.cj = []);

            for (var a = c.ia.zd(this.De.yd, -1), b = 0, e = this.cj.length; b < e; b++) if (null == this.cj[b]) return this.cj[b] = a, b;

            this.cj.push(a);
            return this.cj.length - 1;
          };

          a.prototype.xq = function (a) {
            this.cj[a] = null;
          };

          a.prototype.Kk = function (a) {
            return this.Rc.S(a, 1);
          };

          a.prototype.Xf = function (a) {
            return this.Kk(this.Aa(a));
          };

          a.prototype.Aa = function (a) {
            return this.Rc.S(a, 4);
          };

          a.prototype.Te = function (a) {
            return this.Rc.S(a, 5);
          };

          a.prototype.qc = function (a) {
            return this.Rc.S(a, 6);
          };

          a.prototype.Ef = function (a) {
            return this.Rc.S(a, 2);
          };

          a.prototype.Ff = function (a) {
            return this.Ik(this.Rc.S(a, 2));
          };

          a.prototype.$m = function (a) {
            return this.Rc.S(a, 7);
          };

          a.prototype.Ys = function (a, b) {
            this.w(this.Kk(a), b);
          };

          a.prototype.Zm = function (a, b) {
            this.w(this.Xf(a), b);
          };

          a.prototype.Ah = function (a) {
            return this.Rc.S(a, 3) & this.dQ;
          };

          a.prototype.Kb = function (a, b) {
            var c = this.fj[b];
            return c.size <= a ? -1 : c.read(a);
          };

          a.prototype.Ob = function (a, b, c) {
            b = this.fj[b];
            b.size <= a && b.resize(this.Rc.size, -1);
            b.write(a, c);
          };

          a.prototype.xh = function () {
            null == this.fj && (this.fj = []);

            for (var a = c.ia.zd(this.Rc.yd, -1), b = 0, e = this.fj.length; b < e; b++) if (null == this.fj[b]) return this.fj[b] = a, b;

            this.fj.push(a);
            return this.fj.length - 1;
          };

          a.prototype.ni = function (a) {
            this.fj[a] = null;
          };

          a.prototype.FR = function (a) {
            var b = this.Ef(a),
                c = this.qc(a);
            c == this.Aa(a) && (c = this.qc(c), c == a && (c = -1));
            this.MG(b) == a && this.su(b, c);
            c = this.No.read(b);
            isNaN(c) || (this.qK(b, NaN), this.sK(b, NaN));
            this.ey(a, !0);
            this.sz(a);
          };

          a.prototype.GR = function (a) {
            for (var b = 0, c = a.size; b < c; b++) {
              var g = a.get(b),
                  l = this.Ef(this.Aa(g));
              this.su(this.Ef(g), -1);
              this.su(l, -1);
              this.ey(g, !0);
              this.sz(g);
            }
          };

          a.prototype.MG = function (a) {
            return this.Ye.S(a, 1);
          };

          a.prototype.Ik = function (a) {
            return this.Ye.S(a, 2);
          };

          a.prototype.vo = function (a) {
            return this.Ye.S(a, 3);
          };

          a.prototype.WS = function (a) {
            return this.Ye.S(a, 4);
          };

          a.prototype.Dq = function (a) {
            var b = this.No.read(a);
            isNaN(b) && (this.iZ(a), b = this.No.read(a));
            return b;
          };

          a.prototype.Ia = function (a) {
            return this.a.VG(a, this.qr);
          };

          a.prototype.jf = function (a) {
            return this.a.Sa(a, this.qn);
          };

          a.prototype.mT = function (a) {
            return this.a.Sa(a, this.rr);
          };

          a.prototype.lT = function (a, b) {
            var c = this.kf(a);
            if (-1 == c) return -1;
            var g = c,
                l = -1,
                k = -1;

            do {
              if (this.Xf(g) == b) return g;

              if (-1 == l) {
                l = this.kf(b);
                if (-1 == l) break;
                k = l;
              }

              if (this.Xf(k) == a) return g = this.Aa(k);
              g = this.qc(this.Aa(g));
              k = this.qc(this.Aa(k));
            } while (g != c && k != l);

            return -1;
          };

          a.prototype.RB = function (a, b) {
            b.Js();
            var e = b.get(),
                g = new c.b();
            this.Ys(a, g);
            e.Mc(g);
            this.Zm(a, g);
            e.Zc(g);
          };

          a.prototype.LQ = function (a, b) {
            if (a == b) return 0;
            var e = new c.b();
            this.Zm(a, e);
            var g = new c.b();
            this.Zm(b, g);
            if (e.ub(g)) return 0;
            var l = new c.b();
            this.Ys(a, l);
            var k = new c.b();
            k.zc(e, l);
            e = new c.b();
            e.zc(g, l);
            return c.b.vs(k, e);
          };

          a.prototype.KQ = function (a, b) {
            if (a == b) return 0;
            var e = new c.b();
            this.Zm(a, e);
            var g = new c.b();
            this.Zm(b, g);
            if (e.ub(g)) return 0;
            var l = new c.b();
            this.Ys(a, l);
            var k = new c.b();
            k.zc(e, l);
            e = new c.b();
            e.zc(g, l);
            return 0 <= e.y && 0 < k.y ? c.b.vs(k, e) : 0;
          };

          a.prototype.BQ = function () {
            for (var a = c.Ub.Yx(this.VA), b = new c.b(), e = new c.b(), g = new c.b(), l = new c.b(), k = new c.b(), m = this.rf; -1 != m; m = this.og(m)) {
              var n = this.kf(m);

              if (-1 != n) {
                var p = n;
                this.Ys(p, b);
                this.Zm(p, e);
                k.zc(e, b);
                var q = k.qk();

                do {
                  var r = p,
                      p = this.qc(this.Aa(p));

                  if (p != r) {
                    this.Zm(p, g);
                    l.zc(g, b);
                    var r = l.qk(),
                        u = l.Ui(k);
                    if (u * u / (r * q) * Math.min(r, q) <= a) return !1;
                    k.L(l);
                    q = r;
                    e.L(g);
                  }
                } while (p != n);
              }
            }

            return !0;
          };

          return a;
        }();

        c.Qu = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {
            this.i = null;
            this.AI = new c.b();
            this.BI = new c.b();
            this.Mh = null;
            this.pt = !1;
            this.Wo = -1;
          }

          g.prototype.Gf = function (b) {
            return b < this.Mh.length ? this.Mh[b] : !1;
          };

          g.prototype.Hl = function (b, a, d, f) {
            var e = c.T.lf(this.i.a.hc(d));
            if (2 == c.T.lf(this.i.a.hc(a)) && 1 == e) this.AR(b, a, d, f);else throw c.g.za();
          };

          g.prototype.Wr = function (b, a) {
            null == this.i && (this.i = new c.Qu());
            this.i.Wr(b, a);
          };

          g.prototype.Xr = function (b, a, d) {
            c.sk.V(b, a, d, !0);

            for (a = b.sd; -1 != a; a = b.Ue(a)) 1736 == b.hc(a) && c.lo.V(b, a, -1, this.pt, d);

            this.Wr(b, d);
          };

          g.prototype.TF = function (b, a, d, c, e) {
            var g = this.i.a;
            if (1736 == g.hc(b)) for (b = g.Pb(b); -1 != b; b = g.Sb(b)) {
              var l = g.cb(b);
              this.i.jf(l);
              this.i.jf(g.U(l));
              var k = this.i.mT(l);

              if (-1 != k) {
                var m = this.i.Kb(k, d);
                if (1 != m && 2 != m) if (this.Gf(this.i.Ff(k))) {
                  this.i.Ob(k, d, 1);
                  var m = g.Yf(a, -1),
                      n = k,
                      p = this.i.jf(l),
                      q = 1;

                  do {
                    var r = this.gn(l, e);
                    g.Kj(m, r);
                    -1 != c && this.i.co(p, c, 1);
                    this.i.Ob(n, d, 1);
                    var n = this.i.qc(n),
                        u;

                    do r = 1 == q ? g.U(l) : g.Ra(l), u = -1 != r ? this.i.jf(r) : -1; while (u == p);

                    var z = this.i.Kk(n);

                    if (z != u) {
                      do r = 1 == q ? g.Ra(l) : g.U(l), u = -1 != r ? this.i.jf(r) : -1; while (u == p);

                      z != u ? (u = z, r = this.i.Uj(this.i.Ym(u))) : q = -q;
                    }

                    p = u;
                    l = r;
                  } while (n != k);

                  g.$n(m, !0);
                } else this.i.Ob(k, d, 2);
              }
            }
          };

          g.prototype.oG = function () {
            for (var b = this.i.xh(), a = new c.ia(0), d = this.i.rf; -1 != d; d = this.i.og(d)) {
              var f = this.i.kf(d),
                  e = f;

              if (-1 != f) {
                do {
                  if (1 != this.i.Kb(e, b)) {
                    var g = this.i.Aa(e);
                    this.i.Ob(g, b, 1);
                    this.i.Ob(e, b, 1);
                    this.Gf(this.i.Ff(e)) && this.Gf(this.i.Ff(g)) && a.add(e);
                  }

                  e = this.i.qc(this.i.Aa(e));
                } while (e != f);
              }
            }

            this.i.ni(b);
            this.i.GR(a);
          };

          g.prototype.gn = function (b, a) {
            return -1 == a ? b : this.WT(b, a);
          };

          g.prototype.WT = function (b, a) {
            var d = this.i.a,
                c,
                e,
                g = this.i.Ym(this.i.jf(b));

            do {
              c = this.i.Uj(g);
              e = d.ng(d.ld(c));
              if (e == a) return c;
              g = this.i.gt(g);
            } while (-1 != g);

            return b;
          };

          g.prototype.es = function (b, a, d) {
            this.oG();
            var f = this.i.a,
                e = f.bh(1736),
                g = this.i.xh();
            this.hL(b, a, e, d, g, -1);
            this.i.ni(g);
            c.lo.V(f, e, 1, this.pt, null);
            return e;
          };

          g.prototype.hL = function (b, a, d, c, e, g) {
            this.TF(b, d, e, g, c);
            -1 != a && this.TF(a, d, e, g, c);
            b = this.i.a;

            for (a = this.i.rf; -1 != a; a = this.i.og(a)) {
              var l = this.i.kf(a);

              if (-1 != l) {
                var k = l;

                do {
                  var m = this.i.Kb(k, e);
                  if (1 != m && 2 != m) if (this.Gf(this.i.Ff(k))) {
                    var m = b.Yf(d, -1),
                        n = k;

                    do {
                      var p = this.i.$m(n);
                      -1 != p ? p = this.i.Uj(p) : (p = this.i.Uj(this.i.$m(this.i.Aa(n))), p = this.i.a.U(p));
                      p = this.gn(p, c);
                      b.Kj(m, p);
                      this.i.Ob(n, e, 1);
                      -1 != g && (p = this.i.jf(p), this.i.co(p, g, 1));
                      n = this.i.qc(n);
                    } while (n != k);

                    b.$n(m, !0);
                  } else this.i.Ob(k, e, 2);
                  k = this.i.qc(this.i.Aa(k));
                } while (k != l);
              }
            }
          };

          g.prototype.VY = function (b, a, d) {
            var f = this.i.a,
                e = f.bh(1736),
                g = f.bh(1607),
                l = f.bh(550);
            this.oG();
            var k = -1,
                m = this.i.xh(),
                n = this.i.wq();
            this.hL(b, a, e, d, m, n);

            for (b = this.i.rf; -1 != b; b = this.i.og(b)) if (a = this.i.kf(b), -1 != a) {
              var p = a;

              do {
                var q = this.i.Kb(p, m),
                    r = this.i.Kb(this.i.Aa(p), m),
                    q = q | r;
                if (2 == q) if (q = this.i.Ah(p), this.Gf(q)) {
                  var u = f.Yf(g, -1),
                      z = p,
                      q = this.Jx(b, f),
                      q = this.gn(q, d);
                  f.Kj(u, q);
                  this.i.co(b, n, 1);

                  do {
                    q = this.i.Xf(z);
                    r = this.Jx(q, f);
                    r = this.gn(r, d);
                    f.Kj(u, r);
                    this.i.Ob(z, m, 1);
                    this.i.Ob(this.i.Aa(z), m, 1);
                    this.i.co(q, n, 1);
                    z = this.i.qc(z);
                    q = this.i.Kb(z, m);
                    r = this.i.Kb(this.i.Aa(z), m);
                    q |= r;
                    if (2 != q) break;
                    q = this.i.Ah(z);

                    if (!this.Gf(q)) {
                      this.i.Ob(z, m, 1);
                      this.i.Ob(this.i.Aa(z), m, 1);
                      break;
                    }
                  } while (z != p);
                } else this.i.Ob(p, m, 1), this.i.Ob(this.i.Aa(p), m, 1);
                p = this.i.qc(this.i.Aa(p));
              } while (p != a);
            }

            for (b = this.i.rf; -1 != b; b = this.i.og(b)) q = this.i.Hg(b, n), 1 != q && (q = this.i.Md(b), this.Gf(q) && (-1 == k && (k = f.Yf(l, -1)), a = this.i.Ym(b), -1 != a && (a = this.i.Uj(a), q = this.gn(a, d), f.Kj(k, q))));

            this.i.xq(n);
            this.i.ni(m);
            c.lo.V(f, e, 1, this.pt, null);
            d = [];
            d[0] = l;
            d[1] = g;
            d[2] = e;
            return d;
          };

          g.prototype.Jx = function (b, a) {
            for (var d = -1, c = this.i.Ym(b); -1 != c; c = this.i.gt(c)) {
              var e = this.i.Uj(c);
              -1 == d && (d = e);
              var g = this.i.Ia(a.ng(a.ld(e)));

              if (this.Gf(g)) {
                d = e;
                break;
              }
            }

            return d;
          };

          g.prototype.OB = function (b, a) {
            for (var d = this.i.Kk(a), f = this.i.Xf(a), e = 0, g = 0, l = this.i.Ym(d); -1 != l; l = this.i.gt(l)) {
              var k = this.i.Uj(l),
                  m = b.ld(k),
                  n = this.i.Ia(b.ng(m)),
                  p = b.U(k),
                  q = b.Ra(k),
                  m = b.cb(m);
              m == k && (this.Wo = a);
              -1 != p && this.i.jf(p) == f ? (e++, this.Gf(n) && (m == p && (this.Wo = this.i.qc(a)), g++)) : -1 != q && this.i.jf(q) == f && (e--, this.Gf(n) && (m == q && (this.Wo = this.i.qc(a)), g--));
            }

            this.i.w(d, this.AI);
            this.i.w(f, this.BI);
            d = c.b.Cb(this.AI, this.BI);
            return (0 != g ? g : e) * d;
          };

          g.prototype.Fq = function (b) {
            return this.i.Ah(b) | this.i.Ff(b) | this.i.Ff(this.i.Aa(b));
          };

          g.prototype.mL = function (b) {
            for (var a = this.i.Aa(this.i.Te(b)), c = -1; a != b;) {
              if (this.Gf(this.Fq(a))) {
                if (-1 != c) return -1;
                c = a;
              }

              a = this.i.Aa(this.i.Te(a));
            }

            return -1 != c ? this.i.Aa(c) : -1;
          };

          g.prototype.nL = function (b) {
            for (var a = this.i.Aa(this.i.qc(b)), c = -1; a != b;) {
              if (this.Gf(this.Fq(a))) {
                if (-1 != c) return -1;
                c = a;
              }

              a = this.i.Aa(this.i.qc(a));
            }

            return -1 != c ? this.i.Aa(c) : -1;
          };

          g.prototype.cK = function (b, a, d, f, e) {
            var g = this.i.a,
                l = b,
                k = this.i.Aa(l);
            this.i.Ob(l, d, 1);
            this.i.Ob(k, d, 1);
            var m = this.OB(g, l);
            this.Wo = -1;

            for (var n = l, p = -1, q = !1, r = 1;;) {
              var u = this.i.Te(l);
              if (u == k) break;
              k = this.i.qc(k);
              if (this.i.Aa(u) != k) {
                if (l = this.mL(l), -1 == l) break;else q = !0, k = this.i.Aa(l);
              } else l = u;

              if (l == b) {
                p = b;
                break;
              }

              u = this.Fq(l);
              if (!this.Gf(u)) break;
              this.i.Ob(l, d, 1);
              this.i.Ob(k, d, 1);
              n = l;
              m += this.OB(g, l);
              r++;
            }

            if (-1 == p) for (l = b, k = this.i.Aa(l), p = l;;) {
              b = this.i.qc(l);
              if (b == k) break;
              k = this.i.Te(k);
              if (this.i.Aa(b) != k) {
                if (l = this.nL(l), -1 == l) {
                  q = !0;
                  break;
                } else k = this.i.Aa(l);
              } else l = b;
              u = this.Fq(l);
              if (!this.Gf(u)) break;
              this.i.Ob(l, d, 1);
              this.i.Ob(k, d, 1);
              p = l;
              m += this.OB(g, l);
              r++;
            } else if (-1 != this.Wo && (n = this.Wo, p = this.i.Te(this.Wo), this.i.Aa(p) != this.i.qc(this.i.Aa(n)) && (p = this.mL(n), -1 == p))) throw c.g.za();
            0 <= m || (l = p, p = this.i.Aa(n), n = this.i.Aa(l));
            d = g.Yf(a, -1);
            l = n;
            n = this.i.Kk(n);
            q = this.i.Xf(p) == n && q;
            m = this.Jx(n, g);
            m = this.gn(m, e);
            g.Kj(d, m);
            -1 != f && this.i.co(n, f, 1);
            n = 0;

            for (r = q ? c.J.truncate((r + 1) / 2) : -1;;) {
              b = this.i.Xf(l);
              m = this.Jx(b, g);
              m = this.gn(m, e);
              g.Kj(d, m);
              n++;
              -1 != f && this.i.co(b, f, 1);
              q && n == r && (d = g.Yf(a, -1), g.Kj(d, m));
              if (l == p) break;
              b = this.i.qc(l);

              if (this.i.Te(this.i.Aa(l)) != this.i.Aa(b)) {
                if (l = this.nL(l), -1 == l) throw c.g.za();
              } else l = b;
            }
          };

          g.prototype.fs = function (b) {
            for (var a = this.i.a.bh(1607), c = this.i.xh(), f = this.i.rf; -1 != f; f = this.i.og(f)) {
              var e = this.i.kf(f),
                  g = e;

              do 1 != this.i.Kb(g, c) && this.Gf(this.Fq(g)) && this.cK(g, a, c, -1, b), g = this.i.qc(this.i.Aa(g)); while (g != e);
            }

            this.i.ni(c);
            return a;
          };

          g.prototype.WY = function (b) {
            for (var a = this.i.a, c = a.bh(1607), f = a.bh(550), e = this.i.xh(), g = this.i.wq(), l = -1, k = this.i.rf; -1 != k; k = this.i.og(k)) {
              var n = this.i.kf(k),
                  r = n;

              do {
                var p = this.i.Kb(r, e);
                1 != p && (p = this.Fq(r), this.Gf(p) && this.cK(r, c, e, g, b));
                r = this.i.qc(this.i.Aa(r));
              } while (r != n);
            }

            for (k = this.i.rf; -1 != k; k = this.i.og(k)) p = this.i.Hg(k, g), 1 != p && (p = this.i.Md(k), this.Gf(p) && (-1 == l && (l = a.Yf(f, -1)), n = this.i.Ym(k), -1 != n && (n = this.i.Uj(n), n = this.gn(n, b), a.Kj(l, n))));

            this.i.ni(e);
            this.i.xq(g);
            b = [];
            b[0] = f;
            b[1] = c;
            return b;
          };

          g.prototype.Qp = function () {
            for (var b = this.i.a, a = b.bh(550), c = b.Yf(a, -1), f = this.i.rf; -1 != f; f = this.i.og(f)) if (this.Gf(this.i.Md(f))) {
              for (var e = -1, g = this.i.Ym(f); -1 != g; g = this.i.gt(g)) {
                var l = this.i.Uj(g);
                -1 == e && (e = l);
                var k = this.i.Ia(b.ng(b.ld(l)));

                if (this.Gf(k)) {
                  e = l;
                  break;
                }
              }

              b.Kj(c, e);
            }

            return a;
          };

          g.prototype.Do = function (b) {
            this.Mh = [];

            for (var a = 0; a < b; a++) this.Mh[a] = !1;
          };

          g.wD = function (b, a, d, f) {
            var e = b.Ka(),
                g = Array(1E3);
            c.J.Nv(g, null);
            var l = c.J.gf(1E3, 0),
                k = b.D(),
                n = !0,
                r = 2 == a.tb();
            if (1 != a.tb() && 2 != a.tb()) throw c.g.za();

            for (var p = 0; p < k;) {
              var q = c.J.truncate(b.fX(g, p) - p);
              r ? c.gd.fL(a, g, q, d, l) : c.gd.gL(a, g, q, d, l);

              for (var t = 0, u = 0; u < q; u++) {
                var z = 0 == l[u];
                f || (z = !z);
                z && (n && (n = !1, e.Id(b, 0, p)), t != u && e.Id(b, p + t, p + u), t = u + 1);
              }

              n || t == q || e.Id(b, p + t, p + q);
              p += q;
            }

            return n ? b : e;
          };

          g.MH = function (b, a, d) {
            return b instanceof c.Ed ? g.wD(b, a, d, !0) : a instanceof c.Wa ? b.u() || a.u() ? b.Ka() : c.sk.yJ(d, b, a) ? c.sk.GQ(b, a) : b.Ka() : g.yD(b, a, d, !0);
          };

          g.nw = function (b, a, d, f) {
            var e = new c.h();
            b.s(e);
            var h = new c.h();
            a.s(h);
            var l = new c.h();
            l.I(e);
            l.Nb(h);
            d = c.na.be(d, l, !0);
            l = new c.h();
            l.I(h);
            h = c.na.Cs(d);
            l.O(h, h);

            if (!e.Yb(l)) {
              if (b.tb() <= a.tb()) return g.bd(g.Bb(b.Ka()), b, "&");
              if (b.tb() > a.tb()) return g.bd(g.Bb(a.Ka()), b, "&");
            }

            h = new g();
            e = new c.fd();
            l = e.Jb(g.Bb(b));
            a = e.Jb(g.Bb(a));
            h.Xr(e, d, f);
            f = h.nw(l, a);
            b = g.bd(e.Se(f), b, "&");
            c.T.Ic(b.G()) && (b.Zg(2, d), 1736 == b.G() && b.Al());
            return b;
          };

          g.yD = function (b, a, d, f) {
            if (b.u()) return b.Ka();
            if (a.u()) return f ? b.Ka() : null;
            var e = [null],
                g = [0],
                l = 2 == a.tb();
            if (1 != a.tb() && 2 != a.tb()) throw c.g.za();
            e[0] = b.w();
            l ? c.gd.fL(a, e, 1, d, g) : c.gd.gL(a, e, 1, d, g);
            a = 0 == g[0];
            f || (a = !a);
            return a ? b.Ka() : b;
          };

          g.TZ = function (b, a, d) {
            return b instanceof c.Ed ? g.wD(b, a, d, !1) : a instanceof c.Wa ? b.u() ? b.Ka() : a.u() ? b : c.sk.yJ(d, b, a) ? b.Ka() : b : g.yD(b, a, d, !1);
          };

          g.prototype.DJ = function (b, a, d, f, e) {
            if (b.u()) return b;
            var g = new c.fd();
            b = g.Jb(b);
            return this.ol(g, b, a, d, f, e);
          };

          g.prototype.AW = function (b, a, d, f, e, g) {
            if (e && 550 != b.hc(a)) {
              var l = new c.XD();
              l.NY(b, d);
              l.ih ? (c.sk.V(b, d, g, !0), e = !1) : this.i.ez(d);
            } else c.sk.V(b, d, g, !0), e = !1;

            f && 550 != b.hc(a) ? this.i.nK(b, a) : this.i.mK(b, a);
            if (this.i.YA) return this.i.qh(), this.i = null, this.ol(b, a, d, f, !1, g);
            this.i.ez(NaN);
            g = this.i.Ia(a);
            this.Do(g + 1);
            this.Mh[g] = !0;
            if (1736 == b.hc(a) || f && 550 != b.hc(a)) return b.Hp(a, 0), a = this.es(a, -1, -1), b = b.Se(a), b.Hp(0), e ? b.Zg(1, 0) : (b.Zg(2, d), b.Al()), b;
            if (1607 == b.hc(a)) return a = this.fs(-1), b = b.Se(a), e || b.Zg(2, d), b;
            if (550 == b.hc(a)) return a = this.Qp(), b = b.Se(a), e || b.Zg(2, d), b;
            throw c.g.za();
          };

          g.prototype.ol = function (b, a, d, f, e, g) {
            this.i = new c.Qu();

            try {
              return this.AW(b, a, d, f, e, g);
            } finally {
              this.i.qh();
            }
          };

          g.ol = function (b, a, c, f, e) {
            return new g().DJ(b, a, c, f, e);
          };

          g.prototype.zW = function (b, a, d) {
            this.pt = b;
            this.i = new c.Qu();
            b = a.xo(d);
            var f = a.hc(d);
            1 != b || 550 == f ? this.i.mK(a, d) : this.i.nK(a, d);
            if (!this.i.YA) if (this.i.ez(NaN), f = this.i.Ia(d), this.Do(f + 1), this.Mh[f] = !0, 1736 == a.hc(d) || 1 == b && 550 != a.hc(d)) a.Hp(d, 0), b = this.es(d, -1, -1), a.FC(b, d), a.bC(b);else if (1607 == a.hc(d)) b = this.fs(-1), a.FC(b, d), a.bC(b);else if (550 == a.hc(d)) b = this.Qp(), a.FC(b, d), a.bC(b);else throw c.g.X("internal error");
          };

          g.EC = function (b, a, c, f) {
            var e = new g();
            e.pt = !0;
            return e.DJ(b, a, !1, c, f);
          };

          g.prototype.Vm = function (b, a) {
            var d = c.T.lf(this.i.a.hc(b)),
                f = c.T.lf(this.i.a.hc(a));
            if (d > f) return b;
            var e = this.i.Ia(b),
                g = this.i.Ia(a);
            this.Do((e | g) + 1);
            this.Mh[this.i.Ia(b)] = !0;
            if (2 == d && 2 == f) return this.es(b, a, -1);
            if (1 == d && 2 == f || 1 == d && 1 == f) return this.fs(-1);
            if (0 == d) return this.Qp();
            throw c.g.za();
          };

          g.prototype.nG = function (b, a) {
            var d = c.T.lf(this.i.a.hc(b)),
                f = c.T.lf(this.i.a.hc(a));
            if (d > f) return b;
            if (d < f) return a;
            var e = this.i.Ia(b),
                g = this.i.Ia(a);
            this.Do((e | g) + 1);
            this.Mh[this.i.Ia(b)] = !0;
            this.Mh[this.i.Ia(a)] = !0;
            this.Mh[this.i.Ia(b) | this.i.Ia(a)] = !0;
            if (2 == d && 2 == f) return this.es(b, a, -1);
            if (1 == d && 1 == f) return this.fs(-1);
            if (0 == d && 0 == f) return this.Qp();
            throw c.g.za();
          };

          g.prototype.nw = function (b, a) {
            var d = c.T.lf(this.i.a.hc(b)),
                f = c.T.lf(this.i.a.hc(a)),
                e = this.i.Ia(b),
                g = this.i.Ia(a);
            this.Do((e | g) + 1);
            this.Mh[this.i.Ia(b) | this.i.Ia(a)] = !0;
            e = -1;
            1 < this.i.a.Hr.Ga && (e = b);
            if (2 == d && 2 == f) return this.es(b, a, e);
            if (1 == d && 0 < f || 1 == f && 0 < d) return this.fs(e);
            if (0 == d || 0 == f) return this.Qp();
            throw c.g.za();
          };

          g.prototype.wA = function (b, a) {
            var d = c.T.lf(this.i.a.hc(b)),
                f = c.T.lf(this.i.a.hc(a)),
                e = this.i.Ia(b),
                g = this.i.Ia(a);
            this.Do((e | g) + 1);
            this.Mh[this.i.Ia(b) | this.i.Ia(a)] = !0;
            e = -1;
            1 < this.i.a.Hr.Ga && (e = b);
            if (2 == d && 2 == f) return this.VY(b, a, e);
            if (1 == d && 0 < f || 1 == f && 0 < d) return this.WY(e);
            if (0 == d || 0 == f) return d = [], d[0] = this.Qp(), d;
            throw c.g.za();
          };

          g.prototype.Pp = function (b, a) {
            var d = c.T.lf(this.i.a.hc(b)),
                f = c.T.lf(this.i.a.hc(a)),
                e = this.i.Ia(b),
                g = this.i.Ia(a);
            this.Do((e | g) + 1);
            this.Mh[this.i.Ia(b)] = !0;
            this.Mh[this.i.Ia(a)] = !0;
            if (2 == d && 2 == f) return this.es(b, a, -1);
            if (1 == d && 1 == f) return this.fs(-1);
            if (0 == d && 0 == f) return this.Qp();
            throw c.g.za();
          };

          g.Bb = function (b) {
            var a = b.G();
            return 197 == a ? (a = new c.Ja(b.description), b.u() || a.jd(b, !1), a) : 33 == a ? (a = new c.Ed(b.description), b.u() || a.add(b), a) : 322 == a ? (a = new c.Ua(b.description), b.u() || a.dc(b, !0), a) : b;
          };

          g.bd = function (b, a, d) {
            var f = b.G();
            return 197 == f ? (a = new c.Ja(b.description), b.u() || a.jd(b, !1), a) : 33 != f || "|" != d && "^" != d ? 322 == f ? (a = new c.Ua(b.description), b.u() || a.dc(b, !0), a) : 33 == f && "-" == d && 33 == a.G() || 550 == f && "&" == d && 33 == a.G() ? (a = new c.Wa(b.description), b.u() || b.Ae(0, a), a) : b : (a = new c.Ed(b.description), b.u() || a.add(b), a);
          };

          g.Vm = function (b, a, d, f) {
            if (b.u() || a.u() || b.tb() > a.tb()) return g.bd(g.Bb(b), b, "-");
            var e = new c.h();
            b.s(e);
            var h = new c.h();
            a.s(h);
            if (!e.Yb(h)) return g.bd(g.Bb(b), b, "-");
            var l = new c.h();
            l.I(e);
            l.Nb(h);
            d = c.na.be(d, l, !0);
            h = new g();
            e = new c.fd();
            l = e.Jb(g.Bb(b));
            a = e.Jb(g.Bb(a));
            h.Xr(e, d, f);
            f = h.Vm(l, a);
            f = e.Se(f);
            b = g.bd(f, b, "-");
            c.T.Ic(b.G()) && (b.Zg(2, d), 1736 == b.G() && b.Al());
            return b;
          };

          g.nG = function (b, a, d, f) {
            if (b.tb() > a.tb()) return g.bd(g.Bb(b), b, "|");
            if (b.tb() < a.tb() || b.u()) return g.bd(g.Bb(a), b, "|");
            if (a.u()) return g.bd(g.Bb(b), b, "|");
            var e = new c.h();
            b.s(e);
            var h = new c.h();
            a.s(h);
            var l = new c.h();
            l.I(e);
            l.Nb(h);
            d = c.na.be(d, l, !0);
            if (!e.Yb(h.oT(d, d))) switch (b = g.Bb(b), a = g.Bb(a), b.G()) {
              case 550:
                return b = c.T.oe(b), b.Id(a, 0, -1), b;

              case 1607:
                return b = c.T.oe(b), b.add(a, !1), b;

              case 1736:
                return b = c.T.oe(b), b.add(a, !1), b;

              default:
                throw c.g.za();
            }
            h = new g();
            e = new c.fd();
            l = e.Jb(g.Bb(b));
            a = e.Jb(g.Bb(a));
            h.Xr(e, d, f);
            a = h.nG(l, a);
            b = g.bd(e.Se(a), b, "|");
            c.T.Ic(b.G()) && (b.Zg(2, d), 1736 == b.G() && b.Al());
            return b;
          };

          g.SR = function (b, a, d) {
            if (2 > b.length) throw c.g.F("not enough geometries to dissolve");

            for (var f = 0, e = 0, h = b.length; e < h; e++) f = Math.max(b[e].tb(), f);

            var l = new c.h();
            l.Oa();

            for (var k = new c.fd(), n = -1, r = 0, p = -1, e = 0, h = b.length; e < h; e++) if (b[e].tb() == f) if (b[e].u()) -1 == p && (p = e);else {
              p = e;
              -1 == n ? n = k.Jb(g.Bb(b[e])) : k.xP(n, g.Bb(b[e]));
              var q = new c.h();
              b[e].ac(q);
              l.Nb(q);
              r++;
            }

            if (2 > r) return g.Bb(b[p]);
            b = 2 == f;
            a = c.na.be(0 == f ? a : null, l, !0);
            return new g().ol(k, n, a, b, !0, d);
          };

          g.wA = function (b, a, d, f) {
            var e = [null, null, null],
                h = new c.h();
            b.s(h);
            var l = new c.h();
            a.s(l);
            var k = new c.h();
            k.I(h);
            k.Nb(l);
            d = c.na.be(d, k, !0);
            k = new c.h();
            k.I(l);
            l = c.na.Cs(d);
            k.O(l, l);

            if (!h.Yb(k)) {
              if (b.tb() <= a.tb()) return b = g.bd(g.Bb(b.Ka()), b, "&"), e[b.tb()] = b, e;
              if (b.tb() > a.tb()) return b = g.bd(g.Bb(a.Ka()), b, "&"), e[b.tb()] = b, e;
            }

            l = new g();
            h = new c.fd();
            k = h.Jb(g.Bb(b));
            a = h.Jb(g.Bb(a));
            l.Xr(h, d, f);
            f = l.wA(k, a);

            for (a = 0; a < f.length; a++) l = g.bd(h.Se(f[a]), b, "&"), c.T.Ic(l.G()) && (l.Zg(2, d), 1736 == l.G() && l.Al()), e[l.tb()] = l;

            return e;
          };

          g.Pp = function (b, a, d, f) {
            if (b.tb() > a.tb()) return g.bd(g.Bb(b), b, "^");
            if (b.tb() < a.tb() || b.u()) return g.bd(g.Bb(a), b, "^");
            if (a.u()) return g.bd(g.Bb(b), b, "^");
            var e = new c.h();
            b.s(e);
            var h = new c.h();
            a.s(h);
            var l = new c.h();
            l.I(e);
            l.Nb(h);
            d = c.na.be(d, l, !0);
            h = new g();
            e = new c.fd();
            l = e.Jb(g.Bb(b));
            a = e.Jb(g.Bb(a));
            h.Xr(e, d, f);
            f = h.Pp(l, a);
            b = g.bd(e.Se(f), b, "^");
            c.T.Ic(b.G()) && (b.Zg(2, d), 1736 == b.G() && b.Al());
            return b;
          };

          g.M_ = function (b, a, d) {
            a = a.G();
            d = d.G();
            return 550 == b.G() && (33 == a || 33 == d) && 1 >= b.D() ? (d = new c.Wa(b.description), b.u() || b.Ae(0, d), d) : b;
          };

          g.prototype.BS = function (b, a) {
            for (var c = this.i.a, f = c.Yf(b, -1), e = a.size, g = 0; g < e; g++) {
              var l = a.get(g);
              c.Kj(f, l);
            }

            c.$n(f, !0);
          };

          g.prototype.XX = function (b, a) {
            for (var c = this.i.a, f = c.sd; -1 != f; f = c.Ue(f)) if (f == a) for (var e = c.Pb(f); -1 != e; e = c.Sb(e)) {
              var g = c.cb(e);
              if (-1 != g) for (var l = c.U(g); -1 != l;) {
                var g = this.i.jf(g),
                    k = this.i.jf(l),
                    g = this.i.lT(g, k);
                -1 != g && (k = this.i.Aa(g), this.i.Ob(g, b, 1), this.i.Ob(k, b, 2));
                g = l;
                l = c.U(g);
              }
            }
          };

          g.prototype.UW = function (b, a, d, f) {
            d = this.i.Ia(d);
            f = this.i.Ia(f);
            var e = new c.ia(0);
            e.yb(256);

            for (var g = this.i.a, l = this.i.xh(), k = this.i.rf; -1 != k; k = this.i.og(k)) {
              var n = this.i.kf(k);

              if (-1 != n) {
                var r = n;

                do {
                  if (1 != this.i.Kb(r, l)) {
                    var p = r,
                        q = r,
                        t = !1,
                        u = 0;

                    do {
                      this.i.Ob(p, l, 1);

                      if (!t) {
                        var z = this.i.Ah(p);
                        0 != (z & f) && 0 != (this.i.Ff(p) & d) && (q = p, t = !0);
                      }

                      t && (e.add(this.i.Uj(this.i.Ym(this.i.Kk(p)))), -1 != b && (z = this.i.Ah(p), 0 != (z & f) && (z = this.i.Kb(p, b), u |= z)));
                      p = this.i.qc(p);
                    } while (p != q);

                    t && 0 < this.i.Dq(this.i.Ef(q)) && (p = g.bh(1736), this.BS(p, e), -1 != a && g.xK(p, a, u));
                    e.clear(!1);
                  }

                  r = this.i.qc(this.i.Aa(r));
                } while (r != n);
              }
            }

            this.i.ni(l);
          };

          g.prototype.AR = function (b, a, c, f) {
            this.i.wX();
            var e = -1;
            -1 != b && (e = this.i.xh(), this.XX(e, c));
            this.UW(e, b, a, c);
            var g = this.i.a;
            b = 0;

            for (e = g.sd; -1 != e; e = g.Ue(e)) e != a && e != c && (f.add(e), b++);

            f.Gd(0, b, function (a, b) {
              var c = g.hA(g.Pb(a)),
                  d = g.hA(g.Pb(b));
              return c < d ? -1 : c == d ? 0 : 1;
            });
          };

          g.prototype.qh = function () {
            null != this.i && (this.i.qh(), this.i = null);
          };

          return g;
        }();

        c.Dg = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g(b) {
            void 0 !== b ? this.Op(b) : this.qC();
          }

          g.prototype.Vx = function () {
            this.bc = this.Wb = this.zb = this.sb = this.gb = this.lb = 0;
          };

          g.prototype.Eb = function (b) {
            return this == b ? !0 : b instanceof g ? this.lb == b.lb && this.sb == b.sb && this.Wb == b.Wb && this.zb == b.zb && this.gb == b.gb && this.bc == b.bc : !1;
          };

          g.prototype.jc = function () {
            c.J.Zi();
            c.J.Zi();
            c.J.Zi();
            c.J.Zi();
            c.J.Zi();
            return c.J.Zi();
          };

          g.prototype.$h = function (b, a) {
            var c = this.zb * b.x + this.gb * b.y + this.bc;
            a.x = this.lb * b.x + this.sb * b.y + this.Wb;
            a.y = c;
          };

          g.prototype.YY = function (b, a, c, f, e) {
            var g = 2 * a;
            f = 2 * f;

            for (a = 2 * (a + e); g < a; g += 2, f += 2) {
              e = b[g];
              var l = b[g + 1];
              c[f] = this.lb * e + this.sb * l + this.Wb;
              c[f + 1] = this.zb * e + this.gb * l + this.bc;
            }
          };

          g.prototype.$Y = function (b, a, d) {
            for (var f = 0; f < a; f++) {
              var e = b[f].x,
                  g = b[f].y,
                  l = this.lb * e + this.sb * g + this.Wb,
                  e = this.zb * e + this.gb * g + this.bc;
              null != d[f] ? d[f].ka(l, e) : d[f] = c.b.pa(l, e);
            }
          };

          g.prototype.multiply = function (b) {
            g.multiply(this, b, this);
          };

          g.multiply = function (b, a, c) {
            var f, e, g, l, k;
            f = b.lb * a.lb + b.zb * a.sb;
            e = b.sb * a.lb + b.gb * a.sb;
            g = b.Wb * a.lb + b.bc * a.sb + a.Wb;
            l = b.lb * a.zb + b.zb * a.gb;
            k = b.sb * a.zb + b.gb * a.gb;
            b = b.Wb * a.zb + b.bc * a.gb + a.bc;
            c.lb = f;
            c.sb = e;
            c.Wb = g;
            c.zb = l;
            c.gb = k;
            c.bc = b;
          };

          g.prototype.Vf = function () {
            var b = new g();
            b.lb = this.lb;
            b.sb = this.sb;
            b.Wb = this.Wb;
            b.zb = this.zb;
            b.gb = this.gb;
            b.bc = this.bc;
            return b;
          };

          g.prototype.LC = function (b) {
            if (!b.u()) {
              for (var a = [], d = 0; 4 > d; d++) a[d] = new c.b();

              b.QB(a);
              this.aZ(a, a);
              b.Mx(a, 4);
            }
          };

          g.prototype.aZ = function (b, a) {
            for (var d = 0; d < b.length; d++) {
              var f = new c.b(),
                  e = b[d];
              f.x = this.lb * e.x + this.sb * e.y + this.Wb;
              f.y = this.zb * e.x + this.gb * e.y + this.bc;
              a[d] = f;
            }
          };

          g.prototype.lU = function (b, a) {
            b.u() || a.u() || 0 == b.N() || 0 == b.fa() ? this.Vx() : (this.sb = this.zb = 0, this.lb = a.N() / b.N(), this.gb = a.fa() / b.fa(), this.Wb = a.o - b.o * this.lb, this.bc = a.A - b.A * this.gb);
          };

          g.prototype.ZY = function (b) {
            var a = new c.b(),
                d = new c.b();
            a.ka(this.lb, this.zb);
            d.ka(this.sb, this.gb);
            a.sub(a);
            var f = .5 * a.qk();
            a.ka(this.lb, this.zb);
            d.ka(this.sb, this.gb);
            a.add(d);
            a = .5 * a.qk();
            return b * (f > a ? Math.sqrt(f) : Math.sqrt(a));
          };

          g.prototype.qC = function () {
            this.lb = 1;
            this.zb = this.Wb = this.sb = 0;
            this.gb = 1;
            this.bc = 0;
          };

          g.prototype.Ho = function (b) {
            if (void 0 !== b) {
              var a = c.b.pa(0, 1);
              this.$h(a, a);
              a.sub(c.b.pa(0, 1));
              if (a.qk() > b * b) return !1;
              a.ka(0, 0);
              this.$h(a, a);
              if (a.qk() > b * b) return !1;
              a.ka(1, 0);
              this.$h(a, a);
              a.sub(c.b.pa(1, 0));
              return a.qk() <= b * b;
            }

            return 1 == this.lb && 1 == this.gb && 0 == this.sb && 0 == this.Wb && 0 == this.zb && 0 == this.bc;
          };

          g.prototype.fh = function (b) {
            return Math.abs(this.lb * this.gb - this.zb * this.sb) <= 2 * b * (Math.abs(this.lb * this.gb) + Math.abs(this.zb * this.sb));
          };

          g.prototype.Ag = function (b, a) {
            this.lb = 1;
            this.sb = 0;
            this.Wb = b;
            this.zb = 0;
            this.gb = 1;
            this.bc = a;
          };

          g.prototype.Op = function (b, a) {
            void 0 !== a ? (this.lb = b, this.zb = this.Wb = this.sb = 0, this.gb = a, this.bc = 0) : this.Op(b, b);
          };

          g.prototype.yC = function () {
            this.lb = 0;
            this.sb = 1;
            this.Wb = 0;
            this.zb = 1;
            this.bc = this.gb = 0;
          };

          g.prototype.kY = function (b) {
            this.lY(Math.cos(b), Math.sin(b));
          };

          g.prototype.lY = function (b, a) {
            this.lb = b;
            this.sb = -a;
            this.Wb = 0;
            this.zb = a;
            this.gb = b;
            this.bc = 0;
          };

          g.prototype.shift = function (b, a) {
            this.Wb += b;
            this.bc += a;
          };

          g.prototype.scale = function (b, a) {
            this.lb *= b;
            this.sb *= b;
            this.Wb *= b;
            this.zb *= a;
            this.gb *= a;
            this.bc *= a;
          };

          g.prototype.rotate = function (b) {
            var a = new g();
            a.kY(b);
            this.multiply(a);
          };

          g.prototype.inverse = function (b) {
            if (void 0 !== b) {
              var a = this.lb * this.gb - this.sb * this.zb;
              0 == a ? b.Vx() : (a = 1 / a, b.Wb = (this.sb * this.bc - this.Wb * this.gb) * a, b.bc = (this.Wb * this.zb - this.lb * this.bc) * a, b.lb = this.gb * a, b.sb = -this.sb * a, b.zb = -this.zb * a, b.gb = this.lb * a);
            } else this.inverse(this);
          };

          return g;
        }();

        c.Hd = n;
      })(r || (r = {}));

      (function (c) {
        var n = function () {
          function g() {}

          g.prototype.Vx = function () {
            this.bi = this.bc = this.Wb = this.Df = this.Af = this.zf = this.Cf = this.gb = this.sb = this.Sf = this.zb = this.lb = 0;
          };

          g.prototype.Op = function (b, a, c) {
            this.lb = b;
            this.sb = this.Sf = this.zb = 0;
            this.gb = a;
            this.Af = this.zf = this.Cf = 0;
            this.Df = c;
            this.bi = this.bc = this.Wb = 0;
          };

          g.prototype.LC = function (b) {
            if (b.u()) return b;

            for (var a = new c.qd[8](), d = 0; 8 > d; d++) a[d] = new c.qd();

            b.QB(a);
            this.transform(a, 8, a);
            b.Mx(a);
            return b;
          };

          g.prototype.transform = function (b, a, d) {
            for (var f = 0; f < a; f++) {
              var e = new c.qd(),
                  g = b[f];
              e.x = this.lb * g.x + this.sb * g.y + this.zf * g.z + this.Wb;
              e.y = this.zb * g.x + this.gb * g.y + this.Af * g.z + this.bc;
              e.z = this.Sf * g.x + this.Cf * g.y + this.Df * g.z + this.bi;
              d[f] = e;
            }
          };

          g.prototype.Rp = function (b) {
            var a = new c.qd();
            a.x = this.lb * b.x + this.sb * b.y + this.zf * b.z + this.Wb;
            a.y = this.zb * b.x + this.gb * b.y + this.Af * b.z + this.bc;
            a.z = this.Sf * b.x + this.Cf * b.y + this.Df * b.z + this.bi;
            return a;
          };

          g.prototype.Vg = function (b) {
            g.multiply(this, b, this);
          };

          g.multiply = function (b, a, c) {
            var f, e, g, l, k, n, r, p, q, t, u;
            f = b.lb * a.lb + b.zb * a.sb + b.Sf * a.zf;
            e = b.lb * a.zb + b.zb * a.gb + b.Sf * a.Af;
            g = b.lb * a.Sf + b.zb * a.Cf + b.Sf * a.Df;
            l = b.sb * a.lb + b.gb * a.sb + b.Cf * a.zf;
            k = b.sb * a.zb + b.gb * a.gb + b.Cf * a.Af;
            n = b.sb * a.Sf + b.gb * a.Cf + b.Cf * a.Df;
            r = b.zf * a.lb + b.Af * a.sb + b.Df * a.zf;
            p = b.zf * a.zb + b.Af * a.gb + b.Df * a.Af;
            q = b.zf * a.Sf + b.Af * a.Cf + b.Df * a.Df;
            t = b.Wb * a.lb + b.bc * a.sb + b.bi * a.zf + a.Wb;
            u = b.Wb * a.zb + b.bc * a.gb + b.bi * a.Af + a.bc;
            b = b.Wb * a.Sf + b.bc * a.Cf + b.bi * a.Df + a.bi;
            c.lb = f;
            c.zb = e;
            c.Sf = g;
            c.sb = l;
            c.gb = k;
            c.Cf = n;
            c.zf = r;
            c.Af = p;
            c.Df = q;
            c.Wb = t;
            c.bc = u;
            c.bi = b;
          };

          g.inverse = function (b, a) {
            var d = b.lb * (b.gb * b.Df - b.Cf * b.Af) - b.zb * (b.sb * b.Df - b.Cf * b.zf) + b.Sf * (b.sb * b.Af - b.gb * b.zf);

            if (0 != d) {
              var f, e, g, l, k, n, r, p, q, t, u;
              p = 1 / d;
              d = (b.gb * b.Df - b.Cf * b.Af) * p;
              g = -(b.sb * b.Df - b.Cf * b.zf) * p;
              n = (b.sb * b.Af - b.gb * b.zf) * p;
              f = -(b.zb * b.Df - b.Af * b.Sf) * p;
              l = (b.lb * b.Df - b.Sf * b.zf) * p;
              r = -(b.lb * b.Af - b.zb * b.zf) * p;
              e = (b.zb * b.Cf - b.Sf * b.gb) * p;
              k = -(b.lb * b.Cf - b.Sf * b.sb) * p;
              p *= b.lb * b.gb - b.zb * b.sb;
              q = -(b.Wb * d + b.bc * g + b.bi * n);
              t = -(b.Wb * f + b.bc * l + b.bi * r);
              u = -(b.Wb * e + b.bc * k + b.bi * p);
              a.lb = d;
              a.zb = f;
              a.Sf = e;
              a.sb = g;
              a.gb = l;
              a.Cf = k;
              a.zf = n;
              a.Af = r;
              a.Df = p;
              a.Wb = q;
              a.bc = t;
              a.bi = u;
            } else throw c.g.X("math singularity");
          };

          g.prototype.Vf = function () {
            var b = new g();
            b.lb = this.lb;
            b.zb = this.zb;
            b.Sf = this.Sf;
            b.sb = this.sb;
            b.gb = this.gb;
            b.Cf = this.Cf;
            b.zf = this.zf;
            b.Af = this.Af;
            b.Df = this.Df;
            b.Wb = this.Wb;
            b.bc = this.bc;
            b.bi = this.bi;
            return b;
          };

          return g;
        }();

        c.fO = n;
      })(r || (r = {}));

      (function (c) {
        var n = function (b) {
          function a(a) {
            if (void 0 !== a) b.call(this, a.jc(), a);else {
              b.call(this);
              this.wg = [];
              this.wg[0] = 0;
              this.Ga = 1;
              this.Sh = [];

              for (a = 0; 10 > a; a++) this.Sh[a] = -1;

              this.Sh[this.wg[0]] = 0;
            }
            this.Zq = !0;
          }

          O(a, b);

          a.prototype.Ud = function (a) {
            this.hasAttribute(a) || (this.Sh[a] = 0, this.DE());
          };

          a.prototype.removeAttribute = function (a) {
            if (0 == a) throw c.g.F("Position attribue cannot be removed");
            this.hasAttribute(a) && (this.Sh[a] = -1, this.DE());
          };

          a.prototype.reset = function () {
            this.wg[0] = 0;
            this.Ga = 1;

            for (var a = 0; a < this.Sh.length; a++) this.Sh[a] = -1;

            this.Sh[this.wg[0]] = 0;
            this.Zq = !0;
          };

          a.prototype.Pz = function () {
            return g.zo().add(this);
          };

          a.Ig = function () {
            return g.zo().UT();
          };

          a.eq = function () {
            return g.zo().VT();
          };

          a.prototype.KO = function () {
            var a = this.jc();
            return new c.ma(a, this);
          };

          a.prototype.DE = function () {
            for (var a = this.Ga = 0, b = 0; 10 > a; a++) 0 <= this.Sh[a] && (this.wg[b] = a, this.Sh[a] = b, b++, this.Ga++);

            this.Zq = !0;
          };

          a.prototype.jc = function () {
            this.Zq && (this.bm = this.Ak(), this.Zq = !1);
            return this.bm;
          };

          a.prototype.Eb = function (b) {
            if (null == b) return !1;
            if (b == this) return !0;
            if (!(b instanceof a) || b.Ga != this.Ga) return !1;

            for (var c = 0; c < this.Ga; c++) if (this.wg[c] != b.wg[c]) return !1;

            return this.Zq != b.Zq ? !1 : !0;
          };

          a.prototype.SH = function (a) {
            if (a.Ga != this.Ga) return !1;

            for (var b = 0; b < this.Ga; b++) if (this.wg[b] != a.wg[b]) return !1;

            return !0;
          };

          a.vx = function (a, b) {
            for (var c = [], g = 0; g < a.Ga; g++) c[g] = -1;

            for (var g = 0, l = a.Ga; g < l; g++) c[g] = b.mg(a.rd(g));

            return c;
          };

          a.vT = function (b, c) {
            var e = new a(b);
            e.Ud(c);
            return e.Pz();
          };

          a.wT = function (b, c) {
            for (var e = null, g = 0; 10 > g; g++) !b.hasAttribute(g) && c.hasAttribute(g) && (null == e && (e = new a(b)), e.Ud(g));

            return null != e ? e.Pz() : b;
          };

          a.ss = function (b, c) {
            var e = new a(b);
            e.removeAttribute(c);
            return e.Pz();
          };

          return a;
        }(c.ma);

        c.ye = n;

        var g = function () {
          function b() {
            this.map = [];
            var a = new n();
            this.add(a);
            a = new n();
            a.Ud(1);
            this.add(a);
          }

          b.zo = function () {
            return b.jV;
          };

          b.prototype.UT = function () {
            return b.aq;
          };

          b.prototype.VT = function () {
            return b.bq;
          };

          b.prototype.add = function (a) {
            var c = a.jc();
            if (null != b.aq && b.aq.jc() == c && a.SH(b.aq)) return b.aq;
            if (null != b.bq && b.bq.jc() == c && a.SH(b.bq)) return b.bq;
            var f = null;
            void 0 !== this.map[c] && (f = this.map[c]);
            null == f && (f = a.KO(), 1 == f.Ga ? b.aq = f : 2 == f.Ga && 1 == f.rd(1) ? b.bq = f : this.map[c] = f);
            return f;
          };

          b.jV = new b();
          return b;
        }();
      })(r || (r = {}));

      var N = 0 == ua.version.indexOf("4."),
          ta;

      (function (c) {
        c[c.Linear = 0] = "Linear";
        c[c.Angular = 1] = "Angular";
        c[c.Area = 2] = "Area";
        c[c.LinearOrAngular = 3] = "LinearOrAngular";
      })(ta || (ta = {}));

      var ra = {
        feet: 9002,
        kilometers: 9036,
        meters: 9001,
        miles: 9035,
        "nautical-miles": 9030,
        yards: 9096
      },
          va = {
        acres: 109402,
        ares: 109463,
        hectares: 109401,
        "square-feet": 109405,
        "square-kilometers": 109414,
        "square-meters": 109404,
        "square-miles": 109413,
        "square-yards": 109442
      },
          sa = {
        degrees: 9102,
        radians: 9101
      };
      void 0 === ca.prototype.getCacheValue && qa.extend(ca, {
        cache: null,
        getCacheValue: function getCacheValue(c) {
          if (null === this.cache || void 0 === this.cache) this.cache = {};
          return this.cache[c];
        },
        setCacheValue: function setCacheValue(c, n) {
          if (null === this.cache || void 0 === this.cache) this.cache = {};
          this.cache[c] = n;
        }
      });
      var xa = r.Sd.create(4326),
          wa = r.Sd.create(102100);

      pa = function () {
        function c() {}

        c.extendedSpatialReferenceInfo = function (c) {
          if (null === c) return null;
          c = aa(c);
          var g = c.Nd();
          return {
            tolerance: c.Bo(),
            unitType: null == g ? -1 : g.nd,
            unitID: null == g ? -1 : g.yc(),
            unitBaseFactor: null == g ? 0 : g.Ai,
            unitSquareDerivative: null == g ? 0 : r.oc.lH(g).yc()
          };
        };

        c.clip = function (c, g) {
          if (null === c) return null;
          var b = r.cc.clip(J(c), J(g), M(c));
          return Q(b, c.spatialReference);
        };

        c.cut = function (c, g) {
          for (var b = J(g), b = r.cc.Hl(J(c), b, M(c)), a = [], d = 0; d < b.length; d++) a.push(Q(b[d], c.spatialReference));

          return a;
        };

        c.contains = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.contains(J(c), J(g), M(c));
        };

        c.crosses = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.zR(J(c), J(g), M(c));
        };

        c.distance = function (c, g, b) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.Cb(J(c), J(g), M(c), r.oc.ze(X(b, 3)));
        };

        c.equals = function (c, g) {
          return null === c && null !== g || null === g && null !== c ? !1 : r.cc.Eb(J(c), J(g), M(c));
        };

        c.intersects = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.OU(J(c), J(g), M(c));
        };

        c.touches = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.touches(J(c), J(g), M(c));
        };

        c.within = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.sZ(J(c), J(g), M(c));
        };

        c.disjoint = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.RR(J(c), J(g), M(c));
        };

        c.overlaps = function (c, g) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.pW(J(c), J(g), M(c));
        };

        c.relate = function (c, g, b) {
          if (null === c || null === g) throw Error("Illegal Argument Exception");
          return r.cc.ZB(J(c), J(g), M(c), b);
        };

        c.isSimple = function (c) {
          if (null === c) throw Error("Illegal Argument Exception");
          return r.cc.ZU(J(c), M(c));
        };

        c.simplify = function (c) {
          if (null === c) throw Error("Illegal Argument Exception");
          var g = r.cc.DC(J(c), M(c));
          return Q(g, c.spatialReference);
        };

        c.convexHull = function (n, g) {
          void 0 === g && (g = !1);
          if (null === n) throw Error("Illegal Argument Exception");

          if (!1 === ea(n)) {
            var b = r.cc.iR(J(n), M(n));
            return Q(b, n.spatialReference);
          }

          return c.lZ(n, g);
        };

        c.lZ = function (c, g) {
          for (var b = [], a = 0; a < c.length; a++) b.push(J(c[a]));

          b = r.cc.jR(b, g);

          for (a = 0; a < b.length; a++) b[a] = Q(b[a], c[0].spatialReference);

          return b;
        };

        c.difference = function (n, g) {
          if (null === n || null === g) throw Error("Illegal Argument Exception");

          if (!1 === ea(n)) {
            var b = r.cc.Vm(J(n), J(g), M(n));
            return Q(b, n.spatialReference);
          }

          return c.iM(n, g);
        };

        c.iM = function (c, g) {
          for (var b = [], a = 0; a < c.length; a++) b.push(J(c[a]));

          b = r.cc.OR(b, J(g), M(g));

          for (a = 0; a < b.length; a++) b[a] = Q(b[a], g.spatialReference);

          return b;
        };

        c.symmetricDifference = function (n, g) {
          if (null === n || null === g) throw Error("Illegal Argument Exception");

          if (!1 === ea(n)) {
            var b = r.cc.Pp(J(n), J(g), M(n));
            return Q(b, n.spatialReference);
          }

          return c.LM(n, g);
        };

        c.LM = function (c, g) {
          for (var b = [], a = 0; a < c.length; a++) b.push(J(c[a]));

          b = r.cc.PY(b, J(g), M(g));

          for (a = 0; a < b.length; a++) b[a] = Q(b[a], g.spatialReference);

          return b;
        };

        c.intersect = function (n, g) {
          if (null === n || null === g) throw Error("Illegal Argument Exception");

          if (!1 === ea(n)) {
            var b = r.cc.Ma(J(n), J(g), M(n));
            return Q(b, n.spatialReference);
          }

          return c.xM(n, g);
        };

        c.xM = function (c, g) {
          for (var b = [], a = 0; a < c.length; a++) b.push(J(c[a]));

          b = r.cc.MU(b, J(g), M(g));

          for (a = 0; a < b.length; a++) b[a] = Q(b[a], g.spatialReference);

          return b;
        };

        c.union = function (c, g) {
          void 0 === g && (g = null);
          if (null === c) return null;
          !1 === ea(c) && (c = [c], null !== g && c.push(g));
          if (0 === c.length) return null;

          for (var b = [], a = 0; a < c.length; a++) b.push(J(c[a]));

          return Q(r.cc.hZ(b, M(c[0])), c[0].spatialReference);
        };

        c.offset = function (n, g, b, a, d, f) {
          var e = 0;
          if (null != a && void 0 != a) switch (a) {
            case "round":
              e = 0;
              break;

            case "bevel":
              e = 1;
              break;

            case "miter":
              e = 2;
              break;

            case "square":
              e = 3;
          }
          return !1 === ea(n) ? (g = r.cc.offset(J(n), M(n), g, e, d, f, r.oc.ze(X(b, 3))), Q(g, n.spatialReference)) : c.HM(n, g, b, e, d, f);
        };

        c.HM = function (c, g, b, a, d, f) {
          if (null === c) return null;
          if (0 === c.length) return [];

          for (var e = [], h = 0; h < c.length; h++) e.push(J(c[h]));

          g = r.cc.nW(e, M(c[0]), g, a, d, f, r.oc.ze(X(b, 3)));

          for (h = 0; h < g.length; h++) g[h] = Q(g[h], c[0].spatialReference);

          return g;
        };

        c.buffer = function (n, g, b, a) {
          void 0 === a && (a = !1);
          if (!1 === ea(n)) return g = r.cc.buffer(J(n), M(n), g, r.oc.ze(X(b, 3)), !1, 0, NaN), Q(g, n.spatialReference);

          if ("[object Array]" !== Object.prototype.toString.call(g)) {
            for (var d = [], f = 0; f < n.length; f++) d.push(g);

            g = d;
          }

          if (g.length != n.length) {
            if (0 == g.length) throw Error("Illegal Argument Exception");

            for (var d = [], e = 0, f = 0; f < n.length; f++) void 0 === g[f] ? d.push(e) : (d.push(g[f]), e = g[f]);

            g = d;
          }

          return c.rD(n, g, b, !1, a, "geodesic", NaN);
        };

        c.geodesicBuffer = function (n, g, b, a, d, f) {
          if (!1 === ea(n)) return void 0 === d && (d = NaN), g = r.cc.buffer(J(n), M(n), g, r.oc.ze(X(b, 0)), !0, na(a), d), Q(g, n.spatialReference);

          if ("[object Array]" !== Object.prototype.toString.call(g)) {
            for (var e = [], h = 0; h < n.length; h++) e.push(g);

            g = e;
          }

          if (g.length != n.length) {
            if (0 == g.length) throw Error("Illegal Argument Exception");

            for (var e = [], l = 0, h = 0; h < n.length; h++) void 0 === g[h] ? e.push(l) : (e.push(g[h]), l = g[h]);

            g = e;
          }

          return c.rD(n, g, b, !0, a, d, f);
        };

        c.rD = function (c, g, b, a, d, f, e) {
          if (null === c) return null;
          if (0 === c.length) return [];
          void 0 === e && (e = NaN);

          for (var h = [], l = 0; l < c.length; l++) h.push(J(c[l]));

          g = r.cc.RP(h, M(c[0]), g, r.oc.ze(X(b, 0)), a, d, na(f), e);

          for (l = 0; l < g.length; l++) g[l] = Q(g[l], c[0].spatialReference);

          return g;
        };

        c.nearestCoordinate = function (c, g, b) {
          void 0 === b && (b = !0);
          g = r.cc.$z(J(c), J(g), b);
          return {
            coordinate: Q(g.Oz(), c.spatialReference),
            distance: g.Rz(),
            isRightSide: g.AA(),
            vertexIndex: g.Za(),
            isEmpty: g.u()
          };
        };

        c.nearestVertex = function (c, g) {
          var b = r.cc.aA(J(c), J(g));
          return {
            coordinate: Q(b.Oz(), c.spatialReference),
            distance: b.Rz(),
            isRightSide: b.AA(),
            vertexIndex: b.Za(),
            isEmpty: b.u()
          };
        };

        c.nearestVertices = function (c, g, b, a) {
          g = J(g);
          b = r.cc.bA(J(c), g, b, a);
          a = [];

          for (g = 0; g < b.length; g++) !1 === b[g].u() && a.push({
            coordinate: Q(b[g].Oz(), c.spatialReference),
            distance: b[g].Rz(),
            isRightSide: b[g].AA(),
            vertexIndex: b[g].Za(),
            isEmpty: b[g].u()
          });

          return a;
        };

        c.generalize = function (c, g, b, a) {
          g = r.cc.HS(J(c), M(c), g, b, r.oc.ze(X(a, 3)));
          return Q(g, c.spatialReference);
        };

        c.densify = function (c, g, b) {
          g = r.cc.Ls(J(c), M(c), g, r.oc.ze(X(b, 3)));
          return Q(g, c.spatialReference);
        };

        c.geodesicDensify = function (c, g, b, a) {
          void 0 === a && (a = 0);
          g = r.cc.Fz(J(c), M(c), g, r.oc.ze(X(b, 3)), a);
          return Q(g, c.spatialReference);
        };

        c.rotate = function (c, g, b) {
          if (void 0 === b || null === b) void 0 !== c.x ? b = c : void 0 !== c.xmin ? (!1 === c instanceof ca && (c = N ? Y(c) : W(c)), b = N ? c.get("center") : c.getCenter()) : (!1 === c instanceof ca && (c = N ? Y(c) : W(c)), b = N ? c.get("extent").get("center") : c.getExtent().getCenter());
          g = N ? r.Wp.rotate(c.toJSON ? c.toJSON() : c, g, b.toJSON ? b.toJSON() : b) : r.Wp.rotate(c.toJson ? c.toJson() : c, g, b.toJson ? b.toJson() : b);
          N ? (g = Y(g), g.set("spatialReference", c.spatialReference)) : (g = W(g), g.setSpatialReference(c.spatialReference));
          return g;
        };

        c.flipHorizontal = function (c, g) {
          if (void 0 === g || null === g) void 0 !== c.x ? g = c : void 0 !== c.xmin ? (!1 === c instanceof ca && (c = N ? Y(c) : W(c)), g = N ? c.get("center") : c.getCenter()) : (!1 === c instanceof ca && (c = N ? Y(c) : W(c)), g = N ? c.get("extent").get("center") : c.getExtent().getCenter());
          var b;
          b = N ? r.Wp.zG(c.toJSON ? c.toJSON() : c, g.toJSON ? g.toJSON() : g) : r.Wp.zG(c.toJson ? c.toJson() : c, g.toJson ? g.toJson() : g);
          N ? (b = Y(b), b.set("spatialReference", c.spatialReference)) : (b = W(b), b.setSpatialReference(c.spatialReference));
          return b;
        };

        c.flipVertical = function (c, g) {
          if (void 0 === g || null === g) void 0 !== c.x ? g = c : void 0 !== c.xmin ? (!1 === c instanceof ca && (c = N ? Y(c) : W(c)), g = N ? c.get("center") : c.getCenter()) : (!1 === c instanceof ca && (c = N ? Y(c) : W(c)), g = N ? c.get("extent").get("center") : c.getExtent().getCenter());
          var b;
          b = N ? r.Wp.AG(c.toJSON ? c.toJSON() : c, g.toJSON ? g.toJSON() : g) : r.Wp.AG(c.toJson ? c.toJson() : c, g.toJson ? g.toJson() : g);
          N ? (b = Y(b), b.set("spatialReference", c.spatialReference)) : (b = W(b), b.setSpatialReference(c.spatialReference));
          return b;
        };

        c.planarArea = function (c, g) {
          if (null === c) throw Error("Illegal Argument Exception");
          return r.cc.xW(J(c), M(c), r.oc.ze(X(g, 2)));
        };

        c.planarLength = function (c, g) {
          if (null === c) throw Error("Illegal Argument Exception");
          return r.cc.yW(J(c), M(c), r.oc.ze(X(g, 3)));
        };

        c.geodesicArea = function (c, g, b) {
          if (null === c) throw Error("Illegal Argument Exception");
          return r.cc.NS(J(c), M(c), r.oc.ze(X(g, 2)), na(b));
        };

        c.geodesicLength = function (c, g, b) {
          if (null === c) throw Error("Illegal Argument Exception");
          return r.cc.RS(J(c), M(c), r.oc.ze(X(g, 0)), na(b));
        };

        c._enableProjection = function (n) {
          c.GE = !0;
          r.BN.bind(n);
        };

        c.Mg = function (c) {
          return aa(c).Ao();
        };

        c._getTransformation = function (c, g, b) {
          void 0 === b && (b = null);
          var a = null,
              d = null;

          if (b) {
            if (!b.spatialReference) throw r.g.F("AOI missing Spatial Reference");
            a = J(b);
            d = aa(b.spatialReference).Ao();
          }

          c = r.Ou.RT(aa(c).Ao(), aa(g).Ao(), a, d);
          return null !== c ? c : null;
        };

        c._getTransformationBySuitability = function (c, g, b) {
          void 0 === b && (b = null);
          var a = null,
              d = null;

          if (b) {
            if (!b.spatialReference) throw r.g.F("AOI missing Spatial Reference");
            a = J(b);
            d = aa(b.spatialReference).Ao();
          }

          return r.Ou.ST(aa(c).Ao(), aa(g).Ao(), a, d);
        };

        c.dZ = function (n, g, b) {
          var a = null;

          if (b) {
            var d = b.getGTListEntry();

            if (null !== d) {
              for (var a = new r.ny(null), f = 0, e = d.steps; f < e.length; f++) {
                var d = e[f],
                    h = new r.io(d.geogtran);
                d.isInverse && h.kt();
                a.add(h);
              }

              a = r.rs.Is(c.Mg(n), c.Mg(g), a);
              b.assignCachedGe(n, g, a);
              return a;
            }
          }

          if (null === a && b && b.steps && 0 < b.steps.length) {
            a = new r.ny(null);
            f = 0;

            for (e = b.steps; f < e.length; f++) d = e[f], -1 != d.wkid && null !== d.wkid && void 0 !== d.wkid ? a.add(r.io.create(d.wkid, d.isInverse)) : a.add(r.io.gG(d.wkt, d.isInverse));

            a = r.rs.Is(c.Mg(n), c.Mg(g), a);
            b.assignCachedGe(n, g, a);
            return a;
          }

          return r.rs.Is(c.Mg(n), c.Mg(g), a);
        };

        c._project = function (n, g, b, a, d) {
          void 0 === a && (a = null);
          void 0 === d && (d = !1);
          if (!1 === this.GE) throw Error("Projection Engine must be enabled using enableProjection");
          if (0 === n.length) return [];

          if (a) {
            var f = a.getCachedGeTransformation(g, b);
            f || (f = c.dZ(g, b, a));
            g = [];
            var e = 0;
          } else f = r.rs.Is(c.Mg(g), c.Mg(b), null), g = [], e = 0;

          for (; e < n.length; e++) a = n[e], g.push(c.nD(a, b, f, d));

          return g;
        };

        c.nD = function (c, g, b, a) {
          c = r.cc.Xg(J(c), b);
          return a ? ya(c) : Q(c, g);
        };

        c.GE = !1;
        return c;
      }();

      void 0 === ca.prototype.getCacheValue && qa.extend(ca, {
        cache: null,
        getCacheValue: function getCacheValue(c) {
          if (null === this.cache || void 0 === this.cache) this.cache = {};
          return this.cache[c];
        },
        setCacheValue: function setCacheValue(c, n) {
          if (null === this.cache || void 0 === this.cache) this.cache = {};
          this.cache[c] = n;
        }
      });
      return pa;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/WKIDUnitConversion.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/WKIDUnitConversion.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportWKIDUnitConversionJs(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_AMD_DEFINE_RESULT__ = function () {
      var r,
          o = {
        values: [1, .3048, .3048006096012192, .3047972654, .9143917962, .201166195164, .9143984146160287, .3047994715386762, 20.11676512155263, 20.11678249437587, .9143985307444408, .91439523, .3047997101815088, 20.116756, 5e4, 15e4],
        units: ["Meter", "Foot", "Foot_US", "Foot_Clarke", "Yard_Clarke", "Link_Clarke", "Yard_Sears", "Foot_Sears", "Chain_Sears", "Chain_Benoit_1895_B", "Yard_Indian", "Yard_Indian_1937", "Foot_Gold_Coast", "Chain_Sears_1922_Truncated", "50_Kilometers", "150_Kilometers"],
        2066: 5,
        2136: 12,
        2155: 2,
        2157: 0,
        2158: 0,
        2159: 12,
        2160: 12,
        2204: 2,
        2219: 0,
        2220: 0,
        2254: 2,
        2255: 2,
        2256: 1,
        2265: 1,
        2266: 1,
        2267: 2,
        2268: 2,
        2269: 1,
        2270: 1,
        2271: 2,
        2272: 2,
        2273: 1,
        2294: 0,
        2295: 0,
        2314: 3,
        2899: 2,
        2900: 2,
        2901: 1,
        2909: 1,
        2910: 1,
        2911: 2,
        2912: 2,
        2913: 1,
        2914: 1,
        2992: 1,
        2993: 0,
        2994: 1,
        3080: 1,
        3089: 2,
        3090: 0,
        3091: 2,
        3102: 2,
        3141: 0,
        3142: 0,
        3167: 13,
        3359: 2,
        3360: 0,
        3361: 1,
        3362: 0,
        3363: 2,
        3364: 0,
        3365: 2,
        3366: 3,
        3404: 2,
        3405: 0,
        3406: 0,
        3407: 3,
        3439: 0,
        3440: 0,
        3479: 1,
        3480: 0,
        3481: 1,
        3482: 0,
        3483: 1,
        3484: 0,
        3485: 2,
        3486: 0,
        3487: 2,
        3488: 0,
        3489: 0,
        3490: 2,
        3491: 0,
        3492: 2,
        3493: 0,
        3494: 2,
        3495: 0,
        3496: 2,
        3497: 0,
        3498: 2,
        3499: 0,
        3500: 2,
        3501: 0,
        3502: 2,
        3503: 0,
        3504: 2,
        3505: 0,
        3506: 2,
        3507: 0,
        3508: 2,
        3509: 0,
        3510: 2,
        3511: 0,
        3512: 2,
        3513: 0,
        3514: 0,
        3515: 2,
        3516: 0,
        3517: 2,
        3518: 0,
        3519: 2,
        3520: 0,
        3521: 2,
        3522: 0,
        3523: 2,
        3524: 0,
        3525: 2,
        3526: 0,
        3527: 2,
        3528: 0,
        3529: 2,
        3530: 0,
        3531: 2,
        3532: 0,
        3533: 2,
        3534: 0,
        3535: 2,
        3536: 0,
        3537: 2,
        3538: 0,
        3539: 2,
        3540: 0,
        3541: 2,
        3542: 0,
        3543: 2,
        3544: 0,
        3545: 2,
        3546: 0,
        3547: 2,
        3548: 0,
        3549: 2,
        3550: 0,
        3551: 2,
        3552: 0,
        3553: 2,
        3582: 2,
        3583: 0,
        3584: 2,
        3585: 0,
        3586: 2,
        3587: 0,
        3588: 1,
        3589: 0,
        3590: 1,
        3591: 0,
        3592: 0,
        3593: 1,
        3598: 2,
        3599: 0,
        3600: 2,
        3605: 1,
        3606: 0,
        3607: 0,
        3608: 2,
        3609: 0,
        3610: 2,
        3611: 0,
        3612: 2,
        3613: 0,
        3614: 2,
        3615: 0,
        3616: 2,
        3617: 0,
        3618: 2,
        3619: 0,
        3620: 2,
        3621: 0,
        3622: 2,
        3623: 0,
        3624: 2,
        3625: 0,
        3626: 2,
        3627: 0,
        3628: 2,
        3629: 0,
        3630: 2,
        3631: 0,
        3632: 2,
        3633: 0,
        3634: 1,
        3635: 0,
        3636: 1,
        3640: 2,
        3641: 0,
        3642: 2,
        3643: 0,
        3644: 1,
        3645: 0,
        3646: 1,
        3647: 0,
        3648: 1,
        3649: 0,
        3650: 2,
        3651: 0,
        3652: 2,
        3653: 0,
        3654: 2,
        3655: 0,
        3656: 1,
        3657: 0,
        3658: 2,
        3659: 0,
        3660: 2,
        3661: 0,
        3662: 2,
        3663: 0,
        3664: 2,
        3668: 2,
        3669: 0,
        3670: 2,
        3671: 0,
        3672: 2,
        3673: 0,
        3674: 2,
        3675: 0,
        3676: 1,
        3677: 2,
        3678: 0,
        3679: 1,
        3680: 2,
        3681: 0,
        3682: 1,
        3683: 2,
        3684: 0,
        3685: 0,
        3686: 2,
        3687: 0,
        3688: 2,
        3689: 0,
        3690: 2,
        3691: 0,
        3692: 2,
        3696: 2,
        3697: 0,
        3698: 2,
        3699: 0,
        3700: 2,
        3793: 0,
        3794: 0,
        3812: 0,
        3854: 0,
        3857: 0,
        3920: 0,
        3978: 0,
        3979: 0,
        3991: 2,
        3992: 2,
        4026: 0,
        4037: 0,
        4038: 0,
        4071: 0,
        4082: 0,
        4083: 0,
        4087: 0,
        4088: 0,
        4217: 2,
        4414: 0,
        4415: 0,
        4417: 0,
        4434: 0,
        4437: 0,
        4438: 2,
        4439: 2,
        4462: 0,
        4467: 0,
        4471: 0,
        4474: 0,
        4559: 0,
        4647: 0,
        4822: 0,
        4826: 0,
        4839: 0,
        5018: 0,
        5048: 0,
        5167: 0,
        5168: 0,
        5221: 0,
        5223: 0,
        5234: 0,
        5235: 0,
        5243: 0,
        5247: 0,
        5266: 0,
        5316: 0,
        5320: 0,
        5321: 0,
        5325: 0,
        5337: 0,
        5361: 0,
        5362: 0,
        5367: 0,
        5382: 0,
        5383: 0,
        5396: 0,
        5456: 0,
        5457: 0,
        5469: 0,
        5472: 4,
        5490: 0,
        5513: 0,
        5514: 0,
        5523: 0,
        5559: 0,
        5588: 1,
        5589: 3,
        5596: 0,
        5627: 0,
        5629: 0,
        5641: 0,
        5643: 0,
        5644: 0,
        5646: 2,
        5654: 2,
        5655: 2,
        5659: 0,
        5700: 0,
        5825: 0,
        5836: 0,
        5837: 0,
        5839: 0,
        5842: 0,
        5844: 0,
        5858: 0,
        5879: 0,
        5880: 0,
        5887: 0,
        5890: 0,
        6128: 1,
        6129: 1,
        6141: 1,
        6204: 0,
        6210: 0,
        6211: 0,
        6307: 0,
        6312: 0,
        6316: 0,
        6362: 0,
        6391: 1,
        6405: 1,
        6406: 0,
        6407: 1,
        6408: 0,
        6409: 1,
        6410: 0,
        6411: 2,
        6412: 0,
        6413: 2,
        6414: 0,
        6415: 0,
        6416: 2,
        6417: 0,
        6418: 2,
        6419: 0,
        6420: 2,
        6421: 0,
        6422: 2,
        6423: 0,
        6424: 2,
        6425: 0,
        6426: 2,
        6427: 0,
        6428: 2,
        6429: 0,
        6430: 2,
        6431: 0,
        6432: 2,
        6433: 0,
        6434: 2,
        6435: 0,
        6436: 2,
        6437: 0,
        6438: 2,
        6439: 0,
        6440: 0,
        6441: 2,
        6442: 0,
        6443: 2,
        6444: 0,
        6445: 2,
        6446: 0,
        6447: 2,
        6448: 0,
        6449: 2,
        6450: 0,
        6451: 2,
        6452: 0,
        6453: 2,
        6454: 0,
        6455: 2,
        6456: 0,
        6457: 2,
        6458: 0,
        6459: 2,
        6460: 0,
        6461: 2,
        6462: 0,
        6463: 2,
        6464: 0,
        6465: 2,
        6466: 0,
        6467: 2,
        6468: 0,
        6469: 2,
        6470: 0,
        6471: 2,
        6472: 0,
        6473: 2,
        6474: 0,
        6475: 2,
        6476: 0,
        6477: 2,
        6478: 0,
        6479: 2,
        6484: 2,
        6485: 0,
        6486: 2,
        6487: 0,
        6488: 2,
        6489: 0,
        6490: 2,
        6491: 0,
        6492: 2,
        6493: 0,
        6494: 1,
        6495: 0,
        6496: 1,
        6497: 0,
        6498: 0,
        6499: 1,
        6500: 0,
        6501: 2,
        6502: 0,
        6503: 2,
        6504: 0,
        6505: 2,
        6506: 0,
        6507: 2,
        6508: 0,
        6509: 0,
        6510: 2,
        6515: 1,
        6516: 0,
        6518: 0,
        6519: 2,
        6520: 0,
        6521: 2,
        6522: 0,
        6523: 2,
        6524: 0,
        6525: 2,
        6526: 0,
        6527: 2,
        6528: 0,
        6529: 2,
        6530: 0,
        6531: 2,
        6532: 0,
        6533: 2,
        6534: 0,
        6535: 2,
        6536: 0,
        6537: 2,
        6538: 0,
        6539: 2,
        6540: 0,
        6541: 2,
        6542: 0,
        6543: 2,
        6544: 0,
        6545: 1,
        6546: 0,
        6547: 1,
        6548: 0,
        6549: 2,
        6550: 0,
        6551: 2,
        6552: 0,
        6553: 2,
        6554: 0,
        6555: 2,
        6556: 0,
        6557: 1,
        6558: 0,
        6559: 1,
        6560: 0,
        6561: 1,
        6562: 0,
        6563: 2,
        6564: 0,
        6565: 2,
        6566: 0,
        6567: 0,
        6568: 2,
        6569: 0,
        6570: 1,
        6571: 0,
        6572: 2,
        6573: 0,
        6574: 2,
        6575: 0,
        6576: 2,
        6577: 0,
        6578: 2,
        6582: 2,
        6583: 0,
        6584: 2,
        6585: 0,
        6586: 2,
        6587: 0,
        6588: 2,
        6589: 0,
        6590: 2,
        6591: 0,
        6592: 0,
        6593: 2,
        6594: 0,
        6595: 2,
        6596: 0,
        6597: 2,
        6598: 0,
        6599: 2,
        6600: 0,
        6601: 2,
        6602: 0,
        6603: 2,
        6605: 2,
        6606: 0,
        6607: 2,
        6608: 0,
        6609: 2,
        6610: 0,
        6611: 0,
        6612: 2,
        6613: 0,
        6614: 2,
        6615: 0,
        6616: 2,
        6617: 0,
        6618: 2,
        6633: 2,
        6646: 0,
        6703: 0,
        6784: 0,
        6785: 1,
        6786: 0,
        6787: 1,
        6788: 0,
        6789: 1,
        6790: 0,
        6791: 1,
        6792: 0,
        6793: 1,
        6794: 0,
        6795: 1,
        6796: 0,
        6797: 1,
        6798: 0,
        6799: 1,
        6800: 0,
        6801: 1,
        6802: 0,
        6803: 1,
        6804: 0,
        6805: 1,
        6806: 0,
        6807: 1,
        6808: 0,
        6809: 1,
        6810: 0,
        6811: 1,
        6812: 0,
        6813: 1,
        6814: 0,
        6815: 1,
        6816: 0,
        6817: 1,
        6818: 0,
        6819: 1,
        6820: 0,
        6821: 1,
        6822: 0,
        6823: 1,
        6824: 0,
        6825: 1,
        6826: 0,
        6827: 1,
        6828: 0,
        6829: 1,
        6830: 0,
        6831: 1,
        6832: 0,
        6833: 1,
        6834: 0,
        6835: 1,
        6836: 0,
        6837: 1,
        6838: 0,
        6839: 1,
        6840: 0,
        6841: 1,
        6842: 0,
        6843: 1,
        6844: 0,
        6845: 1,
        6846: 0,
        6847: 1,
        6848: 0,
        6849: 1,
        6850: 0,
        6851: 1,
        6852: 0,
        6853: 1,
        6854: 0,
        6855: 1,
        6856: 0,
        6857: 1,
        6858: 0,
        6859: 1,
        6860: 0,
        6861: 1,
        6862: 0,
        6863: 1,
        6867: 0,
        6868: 1,
        6870: 0,
        6875: 0,
        6876: 0,
        6879: 0,
        6880: 2,
        6884: 0,
        6885: 1,
        6886: 0,
        6887: 1,
        6915: 0,
        6922: 0,
        6923: 2,
        6924: 0,
        6925: 2,
        6962: 0,
        6984: 0,
        6991: 0,
        7128: 2,
        7131: 0,
        7132: 2,
        7142: 0,
        7257: 0,
        7258: 2,
        7259: 0,
        7260: 2,
        7261: 0,
        7262: 2,
        7263: 0,
        7264: 2,
        7265: 0,
        7266: 2,
        7267: 0,
        7268: 2,
        7269: 0,
        7270: 2,
        7271: 0,
        7272: 2,
        7273: 0,
        7274: 2,
        7275: 0,
        7276: 2,
        7277: 0,
        7278: 2,
        7279: 0,
        7280: 2,
        7281: 0,
        7282: 2,
        7283: 0,
        7284: 2,
        7285: 0,
        7286: 2,
        7287: 0,
        7288: 2,
        7289: 0,
        7290: 2,
        7291: 0,
        7292: 2,
        7293: 0,
        7294: 2,
        7295: 0,
        7296: 2,
        7297: 0,
        7298: 2,
        7299: 0,
        7300: 2,
        7301: 0,
        7302: 2,
        7303: 0,
        7304: 2,
        7305: 0,
        7306: 2,
        7307: 0,
        7308: 2,
        7309: 0,
        7310: 2,
        7311: 0,
        7312: 2,
        7313: 0,
        7314: 2,
        7315: 0,
        7316: 2,
        7317: 0,
        7318: 2,
        7319: 0,
        7320: 2,
        7321: 0,
        7322: 2,
        7323: 0,
        7324: 2,
        7325: 0,
        7326: 2,
        7327: 0,
        7328: 2,
        7329: 0,
        7330: 2,
        7331: 0,
        7332: 2,
        7333: 0,
        7334: 2,
        7335: 0,
        7336: 2,
        7337: 0,
        7338: 2,
        7339: 0,
        7340: 2,
        7341: 0,
        7342: 2,
        7343: 0,
        7344: 2,
        7345: 0,
        7346: 2,
        7347: 0,
        7348: 2,
        7349: 0,
        7350: 2,
        7351: 0,
        7352: 2,
        7353: 0,
        7354: 2,
        7355: 0,
        7356: 2,
        7357: 0,
        7358: 2,
        7359: 0,
        7360: 2,
        7361: 0,
        7362: 2,
        7363: 0,
        7364: 2,
        7365: 0,
        7366: 2,
        7367: 0,
        7368: 2,
        7369: 0,
        7370: 2,
        7877: 0,
        7878: 0,
        7882: 0,
        7883: 0,
        7887: 0,
        7899: 0,
        7991: 0,
        7992: 0,
        8035: 2,
        8036: 2,
        8058: 0,
        8059: 0,
        8082: 0,
        8083: 0,
        8088: 0,
        8090: 0,
        8091: 2,
        8092: 0,
        8093: 2,
        8095: 0,
        8096: 2,
        8097: 0,
        8098: 2,
        8099: 0,
        8100: 2,
        8101: 0,
        8102: 2,
        8103: 0,
        8104: 2,
        8105: 0,
        8106: 2,
        8107: 0,
        8108: 2,
        8109: 0,
        8110: 2,
        8111: 0,
        8112: 2,
        8113: 0,
        8114: 2,
        8115: 0,
        8116: 2,
        8117: 0,
        8118: 2,
        8119: 0,
        8120: 2,
        8121: 0,
        8122: 2,
        8123: 0,
        8124: 2,
        8125: 0,
        8126: 2,
        8127: 0,
        8128: 2,
        8129: 0,
        8130: 2,
        8131: 0,
        8132: 2,
        8133: 0,
        8134: 2,
        8135: 0,
        8136: 2,
        8137: 0,
        8138: 2,
        8139: 0,
        8140: 2,
        8141: 0,
        8142: 2,
        8143: 0,
        8144: 2,
        8145: 0,
        8146: 2,
        8147: 0,
        8148: 2,
        8149: 0,
        8150: 2,
        8151: 0,
        8152: 2,
        8153: 0,
        8154: 2,
        8155: 0,
        8156: 2,
        8157: 0,
        8158: 2,
        8159: 0,
        8160: 2,
        8161: 0,
        8162: 2,
        8163: 0,
        8164: 2,
        8165: 0,
        8166: 2,
        8167: 0,
        8168: 2,
        8169: 0,
        8170: 2,
        8171: 0,
        8172: 2,
        8173: 0,
        8177: 2,
        8179: 0,
        8180: 2,
        8181: 0,
        8182: 2,
        8184: 0,
        8185: 2,
        8187: 0,
        8189: 2,
        8191: 0,
        8193: 2,
        8196: 0,
        8197: 2,
        8198: 0,
        8200: 2,
        8201: 0,
        8202: 2,
        8203: 0,
        8204: 2,
        8205: 0,
        8206: 2,
        8207: 0,
        8208: 2,
        8209: 0,
        8210: 2,
        8212: 0,
        8213: 2,
        8214: 0,
        8216: 2,
        8218: 0,
        8220: 2,
        8222: 0,
        8224: 2,
        8225: 0,
        8226: 2,
        8311: 0,
        8312: 1,
        8313: 0,
        8314: 1,
        8315: 0,
        8316: 1,
        8317: 0,
        8318: 1,
        8319: 0,
        8320: 1,
        8321: 0,
        8322: 1,
        8323: 0,
        8324: 1,
        8325: 0,
        8326: 1,
        8327: 0,
        8328: 1,
        8329: 0,
        8330: 1,
        8331: 0,
        8332: 1,
        8333: 0,
        8334: 1,
        8335: 0,
        8336: 1,
        8337: 0,
        8338: 1,
        8339: 0,
        8340: 1,
        8341: 0,
        8342: 1,
        8343: 0,
        8344: 1,
        8345: 0,
        8346: 1,
        8347: 0,
        8348: 1,
        8352: 0,
        8353: 0,
        8379: 0,
        8380: 2,
        8381: 0,
        8382: 2,
        8383: 0,
        8384: 2,
        8385: 0,
        8387: 2,
        8391: 0,
        8395: 0,
        8433: 0,
        8441: 0,
        8455: 0,
        8456: 0,
        8531: 2,
        8682: 0,
        8687: 0,
        8692: 0,
        8693: 0,
        8826: 0,
        8903: 0,
        8950: 0,
        8951: 0,
        9039: 0,
        9040: 0,
        9141: 0,
        9149: 0,
        9150: 0,
        9191: 0,
        9221: 0,
        9222: 0,
        20499: 0,
        20538: 0,
        20539: 0,
        20790: 0,
        20791: 0,
        21291: 0,
        21292: 0,
        21500: 0,
        21817: 0,
        21818: 0,
        22032: 0,
        22033: 0,
        22091: 0,
        22092: 0,
        22332: 0,
        22391: 0,
        22392: 0,
        22700: 0,
        22770: 0,
        22780: 0,
        22832: 0,
        23090: 0,
        23095: 0,
        23239: 0,
        23240: 0,
        23433: 0,
        23700: 0,
        24047: 0,
        24048: 0,
        24100: 3,
        24200: 0,
        24305: 0,
        24306: 0,
        24382: 10,
        24383: 0,
        24500: 0,
        24547: 0,
        24548: 0,
        24571: 9,
        24600: 0,
        25e3: 0,
        25231: 0,
        25884: 0,
        25932: 0,
        26237: 0,
        26331: 0,
        26332: 0,
        26432: 0,
        26591: 0,
        26592: 0,
        26632: 0,
        26692: 0,
        27120: 0,
        27200: 0,
        27291: 6,
        27292: 6,
        27429: 0,
        27492: 0,
        27493: 0,
        27500: 0,
        27700: 0,
        28232: 0,
        28600: 0,
        28991: 0,
        28992: 0,
        29100: 0,
        29101: 0,
        29220: 0,
        29221: 0,
        29333: 0,
        29635: 0,
        29636: 0,
        29701: 0,
        29738: 0,
        29739: 0,
        29849: 0,
        29850: 0,
        29871: 8,
        29872: 7,
        29873: 0,
        30200: 5,
        30339: 0,
        30340: 0,
        30591: 0,
        30592: 0,
        30791: 0,
        30792: 0,
        30800: 0,
        31028: 0,
        31121: 0,
        31154: 0,
        31170: 0,
        31171: 0,
        31370: 0,
        31528: 0,
        31529: 0,
        31600: 0,
        31700: 0,
        31838: 0,
        31839: 0,
        31900: 0,
        31901: 0,
        32061: 0,
        32062: 0,
        32098: 0,
        32099: 2,
        32100: 0,
        32104: 0,
        32161: 0,
        32766: 0,
        53048: 0,
        53049: 0,
        54090: 0,
        54091: 0,
        65061: 2,
        65062: 2,
        65161: 0,
        65163: 0,
        102041: 2,
        102064: 11,
        102068: 14,
        102069: 15,
        102118: 2,
        102119: 1,
        102120: 2,
        102121: 2,
        102217: 2,
        102218: 0,
        102219: 2,
        102220: 2,
        102378: 1,
        102379: 1,
        102380: 0,
        102381: 1,
        102589: 2,
        102599: 2,
        102600: 2,
        102604: 2,
        102647: 0,
        102704: 2,
        102705: 2,
        102706: 0,
        102761: 2,
        102762: 0,
        102763: 2,
        102764: 0,
        102765: 0,
        102766: 2,
        102962: 0,
        102963: 0,
        102970: 1,
        102974: 2,
        102993: 0,
        102994: 0,
        102995: 2,
        102996: 2,
        103015: 0,
        103016: 2,
        103017: 0,
        103018: 2,
        103025: 0,
        103026: 0,
        103027: 2,
        103028: 2,
        103035: 0,
        103036: 0,
        103037: 2,
        103038: 2,
        103039: 0,
        103040: 0,
        103041: 2,
        103042: 2,
        103043: 0,
        103044: 0,
        103045: 2,
        103046: 2,
        103047: 0,
        103048: 0,
        103049: 2,
        103050: 2,
        103051: 0,
        103052: 2,
        103053: 0,
        103054: 2,
        103055: 0,
        103056: 2,
        103057: 0,
        103058: 0,
        103059: 2,
        103060: 2,
        103061: 0,
        103062: 0,
        103063: 2,
        103064: 2,
        103069: 2,
        103070: 0,
        103071: 0,
        103072: 2,
        103073: 2,
        103086: 0,
        103087: 0,
        103088: 2,
        103089: 2,
        103094: 1,
        103095: 0,
        103096: 2,
        103103: 0,
        103104: 2,
        103105: 0,
        103106: 2,
        103121: 0,
        103122: 2,
        103123: 0,
        103124: 0,
        103125: 1,
        103126: 1,
        103127: 0,
        103128: 0,
        103129: 2,
        103130: 2,
        103131: 0,
        103132: 0,
        103133: 2,
        103134: 2,
        103135: 0,
        103136: 0,
        103137: 1,
        103138: 1,
        103139: 0,
        103140: 2,
        103141: 0,
        103142: 2,
        103143: 0,
        103144: 2,
        103145: 0,
        103146: 1,
        103147: 0,
        103148: 0,
        103149: 2,
        103150: 2,
        103151: 0,
        103152: 2,
        103172: 0,
        103173: 2,
        103174: 0,
        103175: 0,
        103176: 2,
        103177: 2,
        103178: 0,
        103179: 0,
        103180: 2,
        103181: 2,
        103182: 0,
        103183: 0,
        103184: 2,
        103185: 2,
        103228: 0,
        103229: 0,
        103230: 2,
        103231: 2,
        103250: 0,
        103251: 2,
        103252: 0,
        103253: 2,
        103260: 0,
        103261: 0,
        103262: 2,
        103263: 2,
        103270: 0,
        103271: 0,
        103272: 2,
        103273: 2,
        103274: 0,
        103275: 0,
        103276: 2,
        103277: 2,
        103278: 0,
        103279: 0,
        103280: 2,
        103281: 2,
        103282: 0,
        103283: 0,
        103284: 2,
        103285: 2,
        103286: 0,
        103287: 2,
        103288: 0,
        103289: 2,
        103290: 0,
        103291: 2,
        103292: 0,
        103293: 0,
        103294: 2,
        103295: 2,
        103296: 0,
        103297: 0,
        103298: 2,
        103299: 2,
        103376: 2,
        103377: 0,
        103378: 0,
        103379: 2,
        103380: 2,
        103393: 0,
        103394: 0,
        103395: 2,
        103396: 2,
        103472: 0,
        103473: 1,
        103474: 0,
        103475: 2,
        103482: 0,
        103483: 2,
        103484: 0,
        103485: 2,
        103500: 0,
        103501: 2,
        103502: 0,
        103503: 0,
        103504: 1,
        103505: 1,
        103506: 0,
        103507: 0,
        103508: 2,
        103509: 2,
        103510: 0,
        103511: 0,
        103512: 2,
        103513: 2,
        103514: 0,
        103515: 2,
        103516: 0,
        103517: 2,
        103518: 0,
        103519: 2,
        103520: 0,
        103521: 1,
        103522: 0,
        103523: 0,
        103524: 2,
        103525: 2,
        103526: 0,
        103527: 2,
        103561: 2,
        103562: 2,
        103563: 0,
        103564: 0,
        103565: 2,
        103566: 2,
        103567: 0,
        103568: 0,
        103569: 2,
        103570: 2,
        103584: 0,
        103585: 2,
        103586: 0,
        103587: 2,
        103588: 1,
        103589: 0,
        103590: 2,
        103591: 1,
        103592: 0,
        103593: 2,
        103594: 1,
        103695: 2
      };

      for (r = 2e3; r <= 2045; r++) o[r] = 0;

      for (r = 2056; r <= 2065; r++) o[r] = 0;

      for (r = 2067; r <= 2135; r++) o[r] = 0;

      for (r = 2137; r <= 2154; r++) o[r] = 0;

      for (r = 2161; r <= 2170; r++) o[r] = 0;

      for (r = 2172; r <= 2193; r++) o[r] = 0;

      for (r = 2195; r <= 2198; r++) o[r] = 0;

      for (r = 2200; r <= 2203; r++) o[r] = 0;

      for (r = 2205; r <= 2217; r++) o[r] = 0;

      for (r = 2222; r <= 2224; r++) o[r] = 1;

      for (r = 2225; r <= 2250; r++) o[r] = 2;

      for (r = 2251; r <= 2253; r++) o[r] = 1;

      for (r = 2257; r <= 2264; r++) o[r] = 2;

      for (r = 2274; r <= 2279; r++) o[r] = 2;

      for (r = 2280; r <= 2282; r++) o[r] = 1;

      for (r = 2283; r <= 2289; r++) o[r] = 2;

      for (r = 2290; r <= 2292; r++) o[r] = 0;

      for (r = 2308; r <= 2313; r++) o[r] = 0;

      for (r = 2315; r <= 2491; r++) o[r] = 0;

      for (r = 2494; r <= 2866; r++) o[r] = 0;

      for (r = 2867; r <= 2869; r++) o[r] = 1;

      for (r = 2870; r <= 2888; r++) o[r] = 2;

      for (r = 2891; r <= 2895; r++) o[r] = 2;

      for (r = 2896; r <= 2898; r++) o[r] = 1;

      for (r = 2902; r <= 2908; r++) o[r] = 2;

      for (r = 2915; r <= 2920; r++) o[r] = 2;

      for (r = 2921; r <= 2923; r++) o[r] = 1;

      for (r = 2924; r <= 2930; r++) o[r] = 2;

      for (r = 2931; r <= 2962; r++) o[r] = 0;

      for (r = 2964; r <= 2968; r++) o[r] = 2;

      for (r = 2969; r <= 2973; r++) o[r] = 0;

      for (r = 2975; r <= 2991; r++) o[r] = 0;

      for (r = 2995; r <= 3051; r++) o[r] = 0;

      for (r = 3054; r <= 3079; r++) o[r] = 0;

      for (r = 3081; r <= 3088; r++) o[r] = 0;

      for (r = 3092; r <= 3101; r++) o[r] = 0;

      for (r = 3106; r <= 3138; r++) o[r] = 0;

      for (r = 3146; r <= 3151; r++) o[r] = 0;

      for (r = 3153; r <= 3166; r++) o[r] = 0;

      for (r = 3168; r <= 3172; r++) o[r] = 0;

      for (r = 3174; r <= 3203; r++) o[r] = 0;

      for (r = 3294; r <= 3358; r++) o[r] = 0;

      for (r = 3367; r <= 3403; r++) o[r] = 0;

      for (r = 3408; r <= 3416; r++) o[r] = 0;

      for (r = 3417; r <= 3438; r++) o[r] = 2;

      for (r = 3441; r <= 3446; r++) o[r] = 2;

      for (r = 3447; r <= 3450; r++) o[r] = 0;

      for (r = 3451; r <= 3459; r++) o[r] = 2;

      for (r = 3460; r <= 3478; r++) o[r] = 0;

      for (r = 3554; r <= 3559; r++) o[r] = 0;

      for (r = 3560; r <= 3570; r++) o[r] = 2;

      for (r = 3571; r <= 3581; r++) o[r] = 0;

      for (r = 3594; r <= 3597; r++) o[r] = 0;

      for (r = 3601; r <= 3604; r++) o[r] = 0;

      for (r = 3637; r <= 3639; r++) o[r] = 0;

      for (r = 3665; r <= 3667; r++) o[r] = 0;

      for (r = 3693; r <= 3695; r++) o[r] = 0;

      for (r = 3701; r <= 3727; r++) o[r] = 0;

      for (r = 3728; r <= 3739; r++) o[r] = 2;

      for (r = 3740; r <= 3751; r++) o[r] = 0;

      for (r = 3753; r <= 3760; r++) o[r] = 2;

      for (r = 3761; r <= 3773; r++) o[r] = 0;

      for (r = 3775; r <= 3777; r++) o[r] = 0;

      for (r = 3779; r <= 3781; r++) o[r] = 0;

      for (r = 3783; r <= 3785; r++) o[r] = 0;

      for (r = 3788; r <= 3791; r++) o[r] = 0;

      for (r = 3797; r <= 3802; r++) o[r] = 0;

      for (r = 3814; r <= 3816; r++) o[r] = 0;

      for (r = 3825; r <= 3829; r++) o[r] = 0;

      for (r = 3832; r <= 3841; r++) o[r] = 0;

      for (r = 3844; r <= 3852; r++) o[r] = 0;

      for (r = 3873; r <= 3885; r++) o[r] = 0;

      for (r = 3890; r <= 3893; r++) o[r] = 0;

      for (r = 3907; r <= 3912; r++) o[r] = 0;

      for (r = 3942; r <= 3950; r++) o[r] = 0;

      for (r = 3968; r <= 3970; r++) o[r] = 0;

      for (r = 3973; r <= 3976; r++) o[r] = 0;

      for (r = 3986; r <= 3989; r++) o[r] = 0;

      for (r = 3994; r <= 3997; r++) o[r] = 0;

      for (r = 4048; r <= 4051; r++) o[r] = 0;

      for (r = 4056; r <= 4063; r++) o[r] = 0;

      for (r = 4093; r <= 4096; r++) o[r] = 0;

      for (r = 4390; r <= 4398; r++) o[r] = 0;

      for (r = 4399; r <= 4413; r++) o[r] = 2;

      for (r = 4418; r <= 4433; r++) o[r] = 2;

      for (r = 4455; r <= 4457; r++) o[r] = 2;

      for (r = 4484; r <= 4489; r++) o[r] = 0;

      for (r = 4491; r <= 4554; r++) o[r] = 0;

      for (r = 4568; r <= 4589; r++) o[r] = 0;

      for (r = 4652; r <= 4656; r++) o[r] = 0;

      for (r = 4766; r <= 4800; r++) o[r] = 0;

      for (r = 5014; r <= 5016; r++) o[r] = 0;

      for (r = 5069; r <= 5072; r++) o[r] = 0;

      for (r = 5105; r <= 5130; r++) o[r] = 0;

      for (r = 5173; r <= 5188; r++) o[r] = 0;

      for (r = 5253; r <= 5259; r++) o[r] = 0;

      for (r = 5269; r <= 5275; r++) o[r] = 0;

      for (r = 5292; r <= 5311; r++) o[r] = 0;

      for (r = 5329; r <= 5331; r++) o[r] = 0;

      for (r = 5343; r <= 5349; r++) o[r] = 0;

      for (r = 5355; r <= 5357; r++) o[r] = 0;

      for (r = 5387; r <= 5389; r++) o[r] = 0;

      for (r = 5459; r <= 5463; r++) o[r] = 0;

      for (r = 5479; r <= 5482; r++) o[r] = 0;

      for (r = 5518; r <= 5520; r++) o[r] = 0;

      for (r = 5530; r <= 5539; r++) o[r] = 0;

      for (r = 5550; r <= 5552; r++) o[r] = 0;

      for (r = 5562; r <= 5583; r++) o[r] = 0;

      for (r = 5623; r <= 5625; r++) o[r] = 2;

      for (r = 5631; r <= 5639; r++) o[r] = 0;

      for (r = 5649; r <= 5653; r++) o[r] = 0;

      for (r = 5663; r <= 5680; r++) o[r] = 0;

      for (r = 5682; r <= 5685; r++) o[r] = 0;

      for (r = 5875; r <= 5877; r++) o[r] = 0;

      for (r = 5896; r <= 5899; r++) o[r] = 0;

      for (r = 5921; r <= 5940; r++) o[r] = 0;

      for (r = 6050; r <= 6125; r++) o[r] = 0;

      for (r = 6244; r <= 6275; r++) o[r] = 0;

      for (r = 6328; r <= 6348; r++) o[r] = 0;

      for (r = 6350; r <= 6356; r++) o[r] = 0;

      for (r = 6366; r <= 6372; r++) o[r] = 0;

      for (r = 6381; r <= 6387; r++) o[r] = 0;

      for (r = 6393; r <= 6404; r++) o[r] = 0;

      for (r = 6480; r <= 6483; r++) o[r] = 0;

      for (r = 6511; r <= 6514; r++) o[r] = 0;

      for (r = 6579; r <= 6581; r++) o[r] = 0;

      for (r = 6619; r <= 6624; r++) o[r] = 0;

      for (r = 6625; r <= 6627; r++) o[r] = 2;

      for (r = 6628; r <= 6632; r++) o[r] = 0;

      for (r = 6634; r <= 6637; r++) o[r] = 0;

      for (r = 6669; r <= 6692; r++) o[r] = 0;

      for (r = 6707; r <= 6709; r++) o[r] = 0;

      for (r = 6720; r <= 6723; r++) o[r] = 0;

      for (r = 6732; r <= 6738; r++) o[r] = 0;

      for (r = 6931; r <= 6933; r++) o[r] = 0;

      for (r = 6956; r <= 6959; r++) o[r] = 0;

      for (r = 7005; r <= 7007; r++) o[r] = 0;

      for (r = 7057; r <= 7070; r++) o[r] = 2;

      for (r = 7074; r <= 7082; r++) o[r] = 0;

      for (r = 7109; r <= 7118; r++) o[r] = 0;

      for (r = 7119; r <= 7127; r++) o[r] = 1;

      for (r = 7374; r <= 7376; r++) o[r] = 0;

      for (r = 7528; r <= 7586; r++) o[r] = 0;

      for (r = 7587; r <= 7645; r++) o[r] = 2;

      for (r = 7692; r <= 7696; r++) o[r] = 0;

      for (r = 7755; r <= 7787; r++) o[r] = 0;

      for (r = 7791; r <= 7795; r++) o[r] = 0;

      for (r = 7799; r <= 7801; r++) o[r] = 0;

      for (r = 7803; r <= 7805; r++) o[r] = 0;

      for (r = 7825; r <= 7831; r++) o[r] = 0;

      for (r = 7845; r <= 7859; r++) o[r] = 0;

      for (r = 8013; r <= 8032; r++) o[r] = 0;

      for (r = 8065; r <= 8068; r++) o[r] = 1;

      for (r = 8518; r <= 8529; r++) o[r] = 2;

      for (r = 8533; r <= 8536; r++) o[r] = 2;

      for (r = 8538; r <= 8540; r++) o[r] = 2;

      for (r = 8677; r <= 8679; r++) o[r] = 0;

      for (r = 8836; r <= 8840; r++) o[r] = 0;

      for (r = 8857; r <= 8859; r++) o[r] = 0;

      for (r = 8908; r <= 8910; r++) o[r] = 0;

      for (r = 9154; r <= 9159; r++) o[r] = 0;

      for (r = 9205; r <= 9218; r++) o[r] = 0;

      for (r = 20002; r <= 20032; r++) o[r] = 0;

      for (r = 20062; r <= 20092; r++) o[r] = 0;

      for (r = 20135; r <= 20138; r++) o[r] = 0;

      for (r = 20248; r <= 20258; r++) o[r] = 0;

      for (r = 20348; r <= 20358; r++) o[r] = 0;

      for (r = 20436; r <= 20440; r++) o[r] = 0;

      for (r = 20822; r <= 20824; r++) o[r] = 0;

      for (r = 20934; r <= 20936; r++) o[r] = 0;

      for (r = 21035; r <= 21037; r++) o[r] = 0;

      for (r = 21095; r <= 21097; r++) o[r] = 0;

      for (r = 21148; r <= 21150; r++) o[r] = 0;

      for (r = 21413; r <= 21423; r++) o[r] = 0;

      for (r = 21473; r <= 21483; r++) o[r] = 0;

      for (r = 21780; r <= 21782; r++) o[r] = 0;

      for (r = 21891; r <= 21894; r++) o[r] = 0;

      for (r = 21896; r <= 21899; r++) o[r] = 0;

      for (r = 22171; r <= 22177; r++) o[r] = 0;

      for (r = 22181; r <= 22187; r++) o[r] = 0;

      for (r = 22191; r <= 22197; r++) o[r] = 0;

      for (r = 22234; r <= 22236; r++) o[r] = 0;

      for (r = 22521; r <= 22525; r++) o[r] = 0;

      for (r = 22991; r <= 22994; r++) o[r] = 0;

      for (r = 23028; r <= 23038; r++) o[r] = 0;

      for (r = 23830; r <= 23853; r++) o[r] = 0;

      for (r = 23866; r <= 23872; r++) o[r] = 0;

      for (r = 23877; r <= 23884; r++) o[r] = 0;

      for (r = 23886; r <= 23894; r++) o[r] = 0;

      for (r = 23946; r <= 23948; r++) o[r] = 0;

      for (r = 24311; r <= 24313; r++) o[r] = 0;

      for (r = 24342; r <= 24347; r++) o[r] = 0;

      for (r = 24370; r <= 24374; r++) o[r] = 10;

      for (r = 24375; r <= 24381; r++) o[r] = 0;

      for (r = 24718; r <= 24721; r++) o[r] = 0;

      for (r = 24817; r <= 24821; r++) o[r] = 0;

      for (r = 24877; r <= 24882; r++) o[r] = 0;

      for (r = 24891; r <= 24893; r++) o[r] = 0;

      for (r = 25391; r <= 25395; r++) o[r] = 0;

      for (r = 25828; r <= 25838; r++) o[r] = 0;

      for (r = 26191; r <= 26195; r++) o[r] = 0;

      for (r = 26391; r <= 26393; r++) o[r] = 0;

      for (r = 26701; r <= 26722; r++) o[r] = 0;

      for (r = 26729; r <= 26799; r++) o[r] = 2;

      for (r = 26801; r <= 26803; r++) o[r] = 2;

      for (r = 26811; r <= 26813; r++) o[r] = 2;

      for (r = 26847; r <= 26870; r++) o[r] = 2;

      for (r = 26891; r <= 26899; r++) o[r] = 0;

      for (r = 26901; r <= 26923; r++) o[r] = 0;

      for (r = 26929; r <= 26946; r++) o[r] = 0;

      for (r = 26948; r <= 26998; r++) o[r] = 0;

      for (r = 27037; r <= 27040; r++) o[r] = 0;

      for (r = 27205; r <= 27232; r++) o[r] = 0;

      for (r = 27258; r <= 27260; r++) o[r] = 0;

      for (r = 27391; r <= 27398; r++) o[r] = 0;

      for (r = 27561; r <= 27564; r++) o[r] = 0;

      for (r = 27571; r <= 27574; r++) o[r] = 0;

      for (r = 27581; r <= 27584; r++) o[r] = 0;

      for (r = 27591; r <= 27594; r++) o[r] = 0;

      for (r = 28191; r <= 28193; r++) o[r] = 0;

      for (r = 28348; r <= 28358; r++) o[r] = 0;

      for (r = 28402; r <= 28432; r++) o[r] = 0;

      for (r = 28462; r <= 28492; r++) o[r] = 0;

      for (r = 29118; r <= 29122; r++) o[r] = 0;

      for (r = 29168; r <= 29172; r++) o[r] = 0;

      for (r = 29177; r <= 29185; r++) o[r] = 0;

      for (r = 29187; r <= 29195; r++) o[r] = 0;

      for (r = 29900; r <= 29903; r++) o[r] = 0;

      for (r = 30161; r <= 30179; r++) o[r] = 0;

      for (r = 30491; r <= 30494; r++) o[r] = 0;

      for (r = 30729; r <= 30732; r++) o[r] = 0;

      for (r = 31251; r <= 31259; r++) o[r] = 0;

      for (r = 31265; r <= 31268; r++) o[r] = 0;

      for (r = 31275; r <= 31279; r++) o[r] = 0;

      for (r = 31281; r <= 31297; r++) o[r] = 0;

      for (r = 31461; r <= 31469; r++) o[r] = 0;

      for (r = 31491; r <= 31495; r++) o[r] = 0;

      for (r = 31917; r <= 31922; r++) o[r] = 0;

      for (r = 31965; r <= 32e3; r++) o[r] = 0;

      for (r = 32001; r <= 32003; r++) o[r] = 2;

      for (r = 32005; r <= 32031; r++) o[r] = 2;

      for (r = 32033; r <= 32060; r++) o[r] = 2;

      for (r = 32064; r <= 32067; r++) o[r] = 2;

      for (r = 32074; r <= 32077; r++) o[r] = 2;

      for (r = 32081; r <= 32086; r++) o[r] = 0;

      for (r = 32107; r <= 32130; r++) o[r] = 0;

      for (r = 32133; r <= 32158; r++) o[r] = 0;

      for (r = 32164; r <= 32167; r++) o[r] = 2;

      for (r = 32180; r <= 32199; r++) o[r] = 0;

      for (r = 32201; r <= 32260; r++) o[r] = 0;

      for (r = 32301; r <= 32360; r++) o[r] = 0;

      for (r = 32601; r <= 32662; r++) o[r] = 0;

      for (r = 32664; r <= 32667; r++) o[r] = 2;

      for (r = 32701; r <= 32761; r++) o[r] = 0;

      for (r = 53001; r <= 53004; r++) o[r] = 0;

      for (r = 53008; r <= 53019; r++) o[r] = 0;

      for (r = 53021; r <= 53032; r++) o[r] = 0;

      for (r = 53034; r <= 53037; r++) o[r] = 0;

      for (r = 53042; r <= 53046; r++) o[r] = 0;

      for (r = 53074; r <= 53080; r++) o[r] = 0;

      for (r = 54001; r <= 54004; r++) o[r] = 0;

      for (r = 54008; r <= 54019; r++) o[r] = 0;

      for (r = 54021; r <= 54032; r++) o[r] = 0;

      for (r = 54034; r <= 54037; r++) o[r] = 0;

      for (r = 54042; r <= 54046; r++) o[r] = 0;

      for (r = 54048; r <= 54053; r++) o[r] = 0;

      for (r = 54074; r <= 54080; r++) o[r] = 0;

      for (r = 54098; r <= 54101; r++) o[r] = 0;

      for (r = 102001; r <= 102040; r++) o[r] = 0;

      for (r = 102042; r <= 102063; r++) o[r] = 0;

      for (r = 102065; r <= 102067; r++) o[r] = 0;

      for (r = 102070; r <= 102117; r++) o[r] = 0;

      for (r = 102122; r <= 102216; r++) o[r] = 0;

      for (r = 102221; r <= 102377; r++) o[r] = 0;

      for (r = 102382; r <= 102388; r++) o[r] = 0;

      for (r = 102389; r <= 102398; r++) o[r] = 2;

      for (r = 102399; r <= 102444; r++) o[r] = 0;

      for (r = 102445; r <= 102447; r++) o[r] = 2;

      for (r = 102448; r <= 102458; r++) o[r] = 0;

      for (r = 102459; r <= 102468; r++) o[r] = 2;

      for (r = 102469; r <= 102499; r++) o[r] = 0;

      for (r = 102500; r <= 102519; r++) o[r] = 1;

      for (r = 102520; r <= 102524; r++) o[r] = 0;

      for (r = 102525; r <= 102529; r++) o[r] = 2;

      for (r = 102530; r <= 102588; r++) o[r] = 0;

      for (r = 102590; r <= 102598; r++) o[r] = 0;

      for (r = 102601; r <= 102603; r++) o[r] = 0;

      for (r = 102605; r <= 102628; r++) o[r] = 0;

      for (r = 102629; r <= 102646; r++) o[r] = 2;

      for (r = 102648; r <= 102700; r++) o[r] = 2;

      for (r = 102701; r <= 102703; r++) o[r] = 0;

      for (r = 102707; r <= 102730; r++) o[r] = 2;

      for (r = 102733; r <= 102758; r++) o[r] = 2;

      for (r = 102767; r <= 102900; r++) o[r] = 0;

      for (r = 102965; r <= 102969; r++) o[r] = 0;

      for (r = 102971; r <= 102973; r++) o[r] = 0;

      for (r = 102975; r <= 102989; r++) o[r] = 0;

      for (r = 102990; r <= 102992; r++) o[r] = 1;

      for (r = 102997; r <= 103002; r++) o[r] = 0;

      for (r = 103003; r <= 103008; r++) o[r] = 2;

      for (r = 103009; r <= 103011; r++) o[r] = 0;

      for (r = 103012; r <= 103014; r++) o[r] = 2;

      for (r = 103019; r <= 103021; r++) o[r] = 0;

      for (r = 103022; r <= 103024; r++) o[r] = 2;

      for (r = 103029; r <= 103031; r++) o[r] = 0;

      for (r = 103032; r <= 103034; r++) o[r] = 2;

      for (r = 103065; r <= 103068; r++) o[r] = 0;

      for (r = 103074; r <= 103076; r++) o[r] = 0;

      for (r = 103077; r <= 103079; r++) o[r] = 1;

      for (r = 103080; r <= 103082; r++) o[r] = 0;

      for (r = 103083; r <= 103085; r++) o[r] = 2;

      for (r = 103090; r <= 103093; r++) o[r] = 0;

      for (r = 103097; r <= 103099; r++) o[r] = 0;

      for (r = 103100; r <= 103102; r++) o[r] = 2;

      for (r = 103107; r <= 103109; r++) o[r] = 0;

      for (r = 103110; r <= 103112; r++) o[r] = 2;

      for (r = 103113; r <= 103116; r++) o[r] = 0;

      for (r = 103117; r <= 103120; r++) o[r] = 2;

      for (r = 103153; r <= 103157; r++) o[r] = 0;

      for (r = 103158; r <= 103162; r++) o[r] = 2;

      for (r = 103163; r <= 103165; r++) o[r] = 0;

      for (r = 103166; r <= 103168; r++) o[r] = 1;

      for (r = 103169; r <= 103171; r++) o[r] = 2;

      for (r = 103186; r <= 103188; r++) o[r] = 0;

      for (r = 103189; r <= 103191; r++) o[r] = 2;

      for (r = 103192; r <= 103195; r++) o[r] = 0;

      for (r = 103196; r <= 103199; r++) o[r] = 2;

      for (r = 103200; r <= 103224; r++) o[r] = 0;

      for (r = 103225; r <= 103227; r++) o[r] = 1;

      for (r = 103232; r <= 103237; r++) o[r] = 0;

      for (r = 103238; r <= 103243; r++) o[r] = 2;

      for (r = 103244; r <= 103246; r++) o[r] = 0;

      for (r = 103247; r <= 103249; r++) o[r] = 2;

      for (r = 103254; r <= 103256; r++) o[r] = 0;

      for (r = 103257; r <= 103259; r++) o[r] = 2;

      for (r = 103264; r <= 103266; r++) o[r] = 0;

      for (r = 103267; r <= 103269; r++) o[r] = 2;

      for (r = 103300; r <= 103375; r++) o[r] = 0;

      for (r = 103381; r <= 103383; r++) o[r] = 0;

      for (r = 103384; r <= 103386; r++) o[r] = 1;

      for (r = 103387; r <= 103389; r++) o[r] = 0;

      for (r = 103390; r <= 103392; r++) o[r] = 2;

      for (r = 103397; r <= 103399; r++) o[r] = 0;

      for (r = 103400; r <= 103471; r++) o[r] = 2;

      for (r = 103476; r <= 103478; r++) o[r] = 0;

      for (r = 103479; r <= 103481; r++) o[r] = 2;

      for (r = 103486; r <= 103488; r++) o[r] = 0;

      for (r = 103489; r <= 103491; r++) o[r] = 2;

      for (r = 103492; r <= 103495; r++) o[r] = 0;

      for (r = 103496; r <= 103499; r++) o[r] = 2;

      for (r = 103528; r <= 103543; r++) o[r] = 0;

      for (r = 103544; r <= 103548; r++) o[r] = 2;

      for (r = 103549; r <= 103551; r++) o[r] = 0;

      for (r = 103552; r <= 103554; r++) o[r] = 1;

      for (r = 103555; r <= 103557; r++) o[r] = 2;

      for (r = 103558; r <= 103560; r++) o[r] = 0;

      for (r = 103571; r <= 103573; r++) o[r] = 0;

      for (r = 103574; r <= 103576; r++) o[r] = 2;

      for (r = 103577; r <= 103580; r++) o[r] = 0;

      for (r = 103581; r <= 103583; r++) o[r] = 2;

      for (r = 103595; r <= 103597; r++) o[r] = 0;

      for (r = 103600; r <= 103694; r++) o[r] = 0;

      for (r = 103696; r <= 103698; r++) o[r] = 0;

      for (r = 103700; r <= 103793; r++) o[r] = 2;

      for (r = 103794; r <= 103871; r++) o[r] = 0;

      for (r = 103900; r <= 103971; r++) o[r] = 2;

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

  /***/
  "./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportAaBoundingBoxJs(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__(
    /*! ../Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./aaBoundingRect */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, t, i, a) {
      function r(n) {
        return n;
      }

      function e(n) {
        return void 0 === n && (n = t.ZERO), r([n[0], n[1], n[2], n[3], n[4], n[5]]);
      }

      function u(n, t, i, a, r, u, m) {
        return void 0 === m && (m = e()), m[0] = n, m[1] = t, m[2] = i, m[3] = a, m[4] = r, m[5] = u, m;
      }

      function m(n, t) {
        return void 0 === t && (t = e()), t[0] = n.xmin, t[1] = n.ymin, t[2] = n.zmin, t[3] = n.xmax, t[4] = n.ymax, t[5] = n.zmax, t;
      }

      function o(n, t) {
        var a = isFinite(n[2]) || isFinite(n[5]);
        return new i(a ? {
          xmin: n[0],
          xmax: n[3],
          ymin: n[1],
          ymax: n[4],
          zmin: n[2],
          zmax: n[5],
          spatialReference: t
        } : {
          xmin: n[0],
          xmax: n[3],
          ymin: n[1],
          ymax: n[4],
          spatialReference: t
        });
      }

      function h(n, t, i) {
        return void 0 === i && (i = e()), i[0] = n[0], i[1] = n[1], i[2] = n[2], i[3] = t[0], i[4] = t[1], i[5] = t[2], i;
      }

      function f(n, t) {
        t[0] < n[0] && (n[0] = t[0]), t[0] > n[3] && (n[3] = t[0]), t[1] < n[1] && (n[1] = t[1]), t[1] > n[4] && (n[4] = t[1]), t[2] < n[2] && (n[2] = t[2]), t[2] > n[5] && (n[5] = t[2]);
      }

      function M(n, t, i) {
        return void 0 === i && (i = n), G(t) ? (i[0] = Math.min(n[0], t[0]), i[1] = Math.min(n[1], t[1]), i[2] = Math.min(n[2], t[2]), i[3] = Math.max(n[3], t[3]), i[4] = Math.max(n[4], t[4]), i[5] = Math.max(n[5], t[5])) : a.is(t) ? (i[0] = Math.min(n[0], t[0]), i[1] = Math.min(n[1], t[1]), i[3] = Math.max(n[3], t[2]), i[4] = Math.max(n[4], t[3])) : 2 === t.length ? (i[0] = Math.min(n[0], t[0]), i[1] = Math.min(n[1], t[1]), i[3] = Math.max(n[3], t[0]), i[4] = Math.max(n[4], t[1])) : 3 === t.length && (i[0] = Math.min(n[0], t[0]), i[1] = Math.min(n[1], t[1]), i[2] = Math.min(n[2], t[2]), i[3] = Math.max(n[3], t[0]), i[4] = Math.max(n[4], t[1]), i[5] = Math.max(n[5], t[2])), i;
      }

      function x(n, t, i, a, r) {
        void 0 === r && (r = n);

        for (var e = n[0], u = n[1], m = n[2], o = n[3], h = n[4], f = n[5], M = 0; M < a; M++) e = Math.min(e, t[i + 3 * M]), u = Math.min(u, t[i + 3 * M + 1]), m = Math.min(m, t[i + 3 * M + 2]), o = Math.max(o, t[i + 3 * M]), h = Math.max(h, t[i + 3 * M + 1]), f = Math.max(f, t[i + 3 * M + 2]);

        return r[0] = e, r[1] = u, r[2] = m, r[3] = o, r[4] = h, r[5] = f, r;
      }

      function c(n, t, i, a, r) {
        return void 0 === r && (r = n), r[0] = Math.min(n[0], n[0] + t), r[3] = Math.max(n[3], n[3] + t), r[1] = Math.min(n[1], n[1] + i), r[4] = Math.max(n[4], n[4] + i), r[2] = Math.min(n[2], n[2] + a), r[5] = Math.max(n[5], n[5] + a), r;
      }

      function s(n, t, i, a) {
        void 0 === a && (a = n);
        var r = t.length,
            e = n[0],
            u = n[1],
            m = n[2],
            o = n[3],
            h = n[4],
            f = n[5];
        if (i) for (var M = 0; M < r; M++) {
          var x = t[M];
          e = Math.min(e, x[0]), u = Math.min(u, x[1]), m = Math.min(m, x[2]), o = Math.max(o, x[0]), h = Math.max(h, x[1]), f = Math.max(f, x[2]);
        } else for (var M = 0; M < r; M++) {
          var x = t[M];
          e = Math.min(e, x[0]), u = Math.min(u, x[1]), o = Math.max(o, x[0]), h = Math.max(h, x[1]);
        }
        return a[0] = e, a[1] = u, a[2] = m, a[3] = o, a[4] = h, a[5] = f, a;
      }

      function I(n) {
        for (var t = 0; t < 6; t++) if (!isFinite(n[t])) return !1;

        return !0;
      }

      function d(n) {
        return n[0] >= n[3] ? 0 : n[3] - n[0];
      }

      function v(n) {
        return n[1] >= n[4] ? 0 : n[4] - n[1];
      }

      function l(n) {
        return n[2] >= n[5] ? 0 : n[5] - n[2];
      }

      function N(n) {
        var t = d(n),
            i = l(n),
            a = v(n);
        return Math.sqrt(t * t + i * i + a * a);
      }

      function E(n, t) {
        return void 0 === t && (t = [0, 0, 0]), t[0] = n[0] + d(n) / 2, t[1] = n[1] + v(n) / 2, t[2] = n[2] + l(n) / 2, t;
      }

      function p(n, t) {
        return void 0 === t && (t = [0, 0, 0]), t[0] = d(n), t[1] = v(n), t[2] = l(n), t;
      }

      function T(n) {
        return Math.max(d(n), l(n), v(n));
      }

      function F(n, t) {
        return t[0] >= n[0] && t[1] >= n[1] && t[2] >= n[2] && t[0] <= n[3] && t[1] <= n[4] && t[2] <= n[5];
      }

      function g(n, t, i) {
        return t[0] >= n[0] - i && t[1] >= n[1] - i && t[2] >= n[2] - i && t[0] <= n[3] + i && t[1] <= n[4] + i && t[2] <= n[5] + i;
      }

      function y(n, t) {
        return t[0] >= n[0] && t[1] >= n[1] && t[2] >= n[2] && t[3] <= n[3] && t[4] <= n[4] && t[5] <= n[5];
      }

      function P(n, t) {
        return Math.max(t[0], n[0]) <= Math.min(t[3], n[3]) && Math.max(t[1], n[1]) <= Math.min(t[4], n[4]) && Math.max(t[2], n[2]) <= Math.min(t[5], n[5]);
      }

      function _(n, t, i, a, r) {
        return void 0 === r && (r = n), r[0] = n[0] + t, r[1] = n[1] + i, r[2] = n[2] + a, r[3] = n[3] + t, r[4] = n[4] + i, r[5] = n[5] + a, r;
      }

      function R(n, t, i) {
        return void 0 === i && (i = n), i[0] = t[0], i[1] = t[1], i[2] = t[2], i !== n && (i[3] = n[3], i[4] = n[4], i[5] = n[5]), i;
      }

      function V(n, t, i) {
        return void 0 === i && (i = n), i[3] = t[0], i[4] = t[1], i[5] = t[2], i !== n && (i[0] = n[0], i[1] = n[1], i[2] = n[2]), n;
      }

      function O(n, t) {
        return n[0] = t[0], n[1] = t[1], n[2] = t[2], n[3] = t[3], n[4] = t[4], n[5] = t[5], n;
      }

      function Y(n) {
        return n ? O(n, t.NEGATIVE_INFINITY) : e(t.NEGATIVE_INFINITY);
      }

      function z(n, t) {
        return t || (t = a.create()), t[0] = n[0], t[1] = n[1], t[2] = n[3], t[3] = n[4], t;
      }

      function A(n, t) {
        return n[0] = t[0], n[1] = t[1], n[2] = Number.NEGATIVE_INFINITY, n[3] = t[2], n[4] = t[3], n[5] = Number.POSITIVE_INFINITY, n;
      }

      function G(n) {
        return 6 === n.length;
      }

      function W(n) {
        return 0 === d(n) && 0 === v(n) && 0 === l(n);
      }

      function b(n, t, i) {
        if (null == n || null == t) return n === t;
        if (!G(n) || !G(t)) return !1;

        if (i) {
          for (var a = 0; a < n.length; a++) if (!i(n[a], t[a])) return !1;
        } else for (var a = 0; a < n.length; a++) if (n[a] !== t[a]) return !1;

        return !0;
      }

      function q(n, t, i, a, r, e) {
        return u(n, t, i, a, r, e, w);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.create = e, t.fromValues = u, t.fromExtent = m, t.toExtent = o, t.fromMinMax = h, t.expandPointInPlace = f, t.expand = M, t.expandWithBuffer = x, t.expandWithOffset = c, t.expandWithNestedArray = s, t.allFinite = I, t.width = d, t.depth = v, t.height = l, t.diameter = N, t.center = E, t.size = p, t.maximumDimension = T, t.containsPoint = F, t.containsPointWithMargin = g, t.contains = y, t.intersects = P, t.offset = _, t.setMin = R, t.setMax = V, t.set = O, t.empty = Y, t.toRect = z, t.fromRect = A, t.is = G, t.isPoint = W, t.equals = b, t.wrap = q, t.POSITIVE_INFINITY = r([-1 / 0, -1 / 0, -1 / 0, 1 / 0, 1 / 0, 1 / 0]), t.NEGATIVE_INFINITY = r([1 / 0, 1 / 0, 1 / 0, -1 / 0, -1 / 0, -1 / 0]), t.ZERO = r([0, 0, 0, 0, 0, 0]);
      var w = e();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportAaBoundingRectJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, t, e, i) {
      function r(n) {
        return n;
      }

      function a(n) {
        return void 0 === n && (n = t.ZERO), r([n[0], n[1], n[2], n[3]]);
      }

      function u(n) {
        return r([n[0], n[1], n[2], n[3]]);
      }

      function o(n, t, e, i, r) {
        return void 0 === r && (r = a()), r[0] = n, r[1] = t, r[2] = e, r[3] = i, r;
      }

      function c(n, t) {
        return void 0 === t && (t = a()), t[0] = n.xmin, t[1] = n.ymin, t[2] = n.xmax, t[3] = n.ymax, t;
      }

      function f(n, t) {
        return new i({
          xmin: n[0],
          ymin: n[1],
          xmax: n[2],
          ymax: n[3],
          spatialReference: t
        });
      }

      function h(n, t) {
        t[0] < n[0] && (n[0] = t[0]), t[0] > n[2] && (n[2] = t[0]), t[1] < n[1] && (n[1] = t[1]), t[1] > n[3] && (n[3] = t[1]);
      }

      function m(n, t, i) {
        if (void 0 === i && (i = n), "length" in t) Y(t) ? (i[0] = Math.min(n[0], t[0]), i[1] = Math.min(n[1], t[1]), i[2] = Math.max(n[2], t[2]), i[3] = Math.max(n[3], t[3])) : 2 !== t.length && 3 !== t.length || (i[0] = Math.min(n[0], t[0]), i[1] = Math.min(n[1], t[1]), i[2] = Math.max(n[2], t[0]), i[3] = Math.max(n[3], t[1]));else switch (t.type) {
          case "extent":
            i[0] = Math.min(n[0], t.xmin), i[1] = Math.min(n[1], t.ymin), i[2] = Math.max(n[2], t.xmax), i[3] = Math.max(n[3], t.ymax);
            break;

          case "point":
            i[0] = Math.min(n[0], t.x), i[1] = Math.min(n[1], t.y), i[2] = Math.max(n[2], t.x), i[3] = Math.max(n[3], t.y);
            break;

          default:
            e.neverReached(t);
        }
        return i;
      }

      function x(n, t, e) {
        void 0 === e && (e = n);

        for (var i = t.length, r = n[0], a = n[1], u = n[2], o = n[3], c = 0; c < i; c++) {
          var f = t[c];
          r = Math.min(r, f[0]), a = Math.min(a, f[1]), u = Math.max(u, f[0]), o = Math.max(o, f[1]);
        }

        return e[0] = r, e[1] = a, e[2] = u, e[3] = o, e;
      }

      function s(n) {
        for (var t = 0; t < 4; t++) if (!isFinite(n[t])) return !1;

        return !0;
      }

      function M(n) {
        return n[0] >= n[2] ? 0 : n[2] - n[0];
      }

      function l(n) {
        return n[1] >= n[3] ? 0 : n[3] - n[1];
      }

      function d(n) {
        var t = M(n),
            e = l(n);
        return Math.sqrt(t * t + e * e);
      }

      function v(n) {
        return M(n) * l(n);
      }

      function I(n, t) {
        return void 0 === t && (t = [0, 0]), t[0] = n[0] + M(n) / 2, t[1] = n[1] + l(n) / 2, t;
      }

      function y(n, t) {
        return E(n, t[0], t[1]);
      }

      function N(n, t) {
        return E(n, t.x, t.y);
      }

      function E(n, t, e) {
        return t >= n[0] && e >= n[1] && t <= n[2] && e <= n[3];
      }

      function p(n, t, e) {
        return t[0] >= n[0] - e && t[1] >= n[1] - e && t[0] <= n[2] + e && t[1] <= n[3] + e;
      }

      function g(n, t) {
        return Math.max(t[0], n[0]) <= Math.min(t[2], n[2]) && Math.max(t[1], n[1]) <= Math.min(t[3], n[3]);
      }

      function T(n, t) {
        return t[0] >= n[0] && t[2] <= n[2] && t[1] >= n[1] && t[3] <= n[3];
      }

      function F(n, t, e) {
        void 0 === e && (e = n);
        var i = t[0],
            r = t[1],
            a = t[2],
            u = t[3];
        return e[0] = j(n[0], i, a), e[1] = j(n[1], r, u), e[2] = j(n[2], i, a), e[3] = j(n[3], r, u), e;
      }

      function P(n, t) {
        var e = (n[0] + n[2]) / 2,
            i = (n[1] + n[3]) / 2,
            r = Math.max(Math.abs(t[0] - e) - M(n) / 2, 0),
            a = Math.max(Math.abs(t[1] - i) - l(n) / 2, 0);
        return Math.sqrt(r * r + a * a);
      }

      function b(n, t) {
        t[0] = n[2] - n[0], t[1] = n[3] - n[1];
      }

      function _(n, t, e, i) {
        return void 0 === i && (i = n), i[0] = n[0] + t, i[1] = n[1] + e, i[2] = n[2] + t, i[3] = n[3] + e, i;
      }

      function O(n, t, e) {
        return void 0 === e && (e = n), e[0] = n[0] - t, e[1] = n[1] - t, e[2] = n[2] + t, e[3] = n[3] + t, e;
      }

      function V(n, t, e) {
        return void 0 === e && (e = n), e[0] = t[0], e[1] = t[1], e !== n && (e[2] = n[2], e[3] = n[3]), e;
      }

      function q(n, t, e) {
        return void 0 === e && (e = n), e[2] = t[0], e[3] = t[1], e !== n && (e[0] = n[0], e[1] = n[1]), n;
      }

      function A(n, t) {
        return n[0] = t[0], n[1] = t[1], n[2] = t[2], n[3] = t[3], n;
      }

      function R(n) {
        return n ? A(n, t.NEGATIVE_INFINITY) : a(t.NEGATIVE_INFINITY);
      }

      function Y(n) {
        return 4 === n.length;
      }

      function w(n) {
        return !(0 !== M(n) && isFinite(n[0]) || 0 !== l(n) && isFinite(n[1]));
      }

      function G(n, t, e) {
        if (null == n || null == t) return n === t;
        if (!Y(n) || !Y(t)) return !1;

        if (e) {
          for (var i = 0; i < n.length; i++) if (!e(n[i], t[i])) return !1;
        } else for (var i = 0; i < n.length; i++) if (n[i] !== t[i]) return !1;

        return !0;
      }

      function j(n, t, e) {
        return n < t ? t : n > e ? e : n;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.create = a, t.clone = u, t.fromValues = o, t.fromExtent = c, t.toExtent = f, t.expandPointInPlace = h, t.expand = m, t.expandWithNestedArray = x, t.allFinite = s, t.width = M, t.height = l, t.diameter = d, t.area = v, t.center = I, t.containsPoint = y, t.containsPointObject = N, t.containsPointWithMargin = p, t.intersects = g, t.contains = T, t.intersection = F, t.distance = P, t.size = b, t.offset = _, t.pad = O, t.setMin = V, t.setMax = q, t.set = A, t.empty = R, t.is = Y, t.isPoint = w, t.equals = G, t.POSITIVE_INFINITY = r([-1 / 0, -1 / 0, 1 / 0, 1 / 0]), t.NEGATIVE_INFINITY = r([1 / 0, 1 / 0, -1 / 0, -1 / 0]), t.ZERO = r([0, 0, 0, 0]), t.UNIT = r([0, 0, 1, 1]);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/boundsUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/boundsUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportBoundsUtilsJs(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 (n, t) {
      function r(n) {
        return void 0 !== n.xmin && void 0 !== n.ymin && void 0 !== n.xmax && void 0 !== n.ymax;
      }

      function e(n) {
        return void 0 !== n.points;
      }

      function i(n) {
        return void 0 !== n.x && void 0 !== n.y;
      }

      function o(n) {
        return void 0 !== n.paths;
      }

      function u(n) {
        return void 0 !== n.rings;
      }

      function l(n) {
        return function (t, r) {
          return null == t ? r : null == r ? t : n(t, r);
        };
      }

      function v(n, t) {
        return o(t) ? a(n, t.paths, !1, !1) : u(t) ? a(n, t.rings, !1, !1) : e(t) ? d(n, t.points, !1, !1, !1, !1) : r(t) ? f(n, t) : (i(t) && (n[0] = t.x, n[1] = t.y, n[2] = t.x, n[3] = t.y), n);
      }

      function g(n, t) {
        return o(t) ? a(n, t.paths, !0, !1) : u(t) ? a(n, t.rings, !0, !1) : e(t) ? d(n, t.points, !0, !1, !0, !1) : r(t) ? f(n, t, !0, !1, !0, !1) : (i(t) && (n[0] = t.x, n[1] = t.y, n[2] = t.z, n[3] = t.x, n[4] = t.y, n[5] = t.z), n);
      }

      function a(n, t, r, e) {
        var i = r ? 3 : 2;
        if (!t.length || !t[0].length) return null;

        for (var o = t[0][0], u = o[0], l = o[1], v = t[0][0], g = v[0], a = v[1], f = void 0, d = void 0, h = void 0, s = void 0, m = 0; m < t.length; m++) for (var y = t[m], p = 0; p < y.length; p++) {
          var B = y[p],
              P = B[0],
              z = B[1];

          if (u = x(u, P), l = x(l, z), g = c(g, P), a = c(a, z), r && B.length > 2) {
            var M = B[2];
            f = x(f, M), d = c(d, M);
          }

          if (e && B.length > i) {
            var X = B[i];
            h = x(f, X), s = c(d, X);
          }
        }

        return r ? e ? (n[0] = u, n[1] = l, n[2] = f, n[3] = h, n[4] = g, n[5] = a, n[6] = d, n[7] = s, n.length = 8, n) : (n[0] = u, n[1] = l, n[2] = f, n[3] = g, n[4] = a, n[5] = d, n.length = 6, n) : e ? (n[0] = u, n[1] = l, n[2] = h, n[3] = g, n[4] = a, n[5] = s, n.length = 6, n) : (n[0] = u, n[1] = l, n[2] = g, n[3] = a, n.length = 4, n);
      }

      function f(n, t, r, e, i, o) {
        var u = t.xmin,
            l = t.xmax,
            v = t.ymin,
            g = t.ymax,
            a = t.zmin,
            f = t.zmax,
            d = t.mmin,
            h = t.mmax;
        return i ? (a = a || 0, f = f || 0, o ? (d = d || 0, h = h || 0, n[0] = u, n[1] = v, n[2] = a, n[3] = d, n[4] = l, n[5] = g, n[6] = f, n[7] = h, n) : (n[0] = u, n[1] = v, n[2] = a, n[3] = l, n[4] = g, n[5] = f, n)) : o ? (d = d || 0, h = h || 0, n[0] = u, n[1] = v, n[2] = d, n[3] = l, n[4] = g, n[5] = h, n) : (n[0] = u, n[1] = v, n[2] = l, n[3] = g, n);
      }

      function d(n, t, r, e, i, o) {
        var u = r ? 3 : 2,
            l = e && o,
            v = r && i;
        if (!t.length || !t[0].length) return null;

        for (var g = t[0], a = g[0], f = g[1], d = t[0], h = d[0], s = d[1], m = void 0, y = void 0, p = void 0, B = void 0, P = 0; P < t.length; P++) {
          var z = t[P],
              M = z[0],
              X = z[1];

          if (a = x(a, M), f = x(f, X), h = c(h, M), s = c(s, X), v && z.length > 2) {
            var O = z[2];
            m = x(m, O), y = c(y, O);
          }

          if (l && z.length > u) {
            var Y = z[u];
            p = x(m, Y), B = c(y, Y);
          }
        }

        return i ? (m = m || 0, y = y || 0, o ? (p = p || 0, B = B || 0, n[0] = a, n[1] = f, n[2] = m, n[3] = p, n[4] = h, n[5] = s, n[6] = y, n[7] = B, n) : (n[0] = a, n[1] = f, n[2] = m, n[3] = h, n[4] = s, n[5] = y, n)) : o ? (p = p || 0, B = B || 0, n[0] = a, n[1] = f, n[2] = p, n[3] = h, n[4] = s, n[5] = B, n) : (n[0] = a, n[1] = f, n[2] = h, n[3] = s, n);
      }

      function h(n) {
        if (!n.length || !n[0].length) return null;

        for (var t = n[0][0], r = n[0][0], e = 0; e < n.length; e++) {
          var i = n[e],
              o = i[0];
          t = x(t, o), r = c(r, o);
        }

        return r - t;
      }

      function s(n) {
        if (!n.length || !n[0].length) return null;

        for (var t = n[0][0], r = n[0][0], e = 0; e < n.length; e++) {
          var i = n[e],
              o = i[0];
          t = x(t, o), r = c(r, o);
        }

        return t + .5 * (r - t);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var x = l(Math.min),
          c = l(Math.max);
      t.getBoundsXY = v, t.getBoundsXYZ = g, t.getRingsOrPathsBounds = a, t.getExtentBounds = f, t.getPointsBounds = d, t.getPointsBoundsWidth = h, t.getPointsBoundsCenterX = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/centroid.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/centroid.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportCentroidJs(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__(
    /*! ./coordsUtils */
    "./node_modules/arcgis-js-api/geometry/support/coordsUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, e, t) {
      function r(n) {
        return n ? n.hasZ ? [n.xmax - n.xmin / 2, n.ymax - n.ymin / 2, n.zmax - n.zmin / 2] : [n.xmax - n.xmin / 2, n.ymax - n.ymin / 2] : null;
      }

      function l(n) {
        return n ? i(n.rings, n.hasZ) : null;
      }

      function i(n, e) {
        if (!n || !n.length) return null;

        for (var t = [], r = [], l = e ? [1 / 0, -1 / 0, 1 / 0, -1 / 0, 1 / 0, -1 / 0] : [1 / 0, -1 / 0, 1 / 0, -1 / 0], i = 0, g = n.length; i < g; i++) {
          var a = u(n[i], e, l);
          a && r.push(a);
        }

        if (r.sort(function (n, t) {
          var r = n[2] - t[2];
          return 0 === r && e && (r = n[4] - t[4]), r;
        }), r.length) {
          var h = 6 * r[0][2];
          t[0] = r[0][0] / h, t[1] = r[0][1] / h, e && (h = 6 * r[0][4], t[2] = 0 !== h ? r[0][3] / h : 0), (t[0] < l[0] || t[0] > l[1] || t[1] < l[2] || t[1] > l[3] || e && (t[2] < l[4] || t[2] > l[5])) && (t.length = 0);
        }

        if (!t.length) {
          var f = n[0] && n[0].length ? o(n[0], e) : null;
          if (!f) return null;
          t[0] = f[0], t[1] = f[1], e && f.length > 2 && (t[2] = f[2]);
        }

        return t;
      }

      function u(n, e, t) {
        for (var r = 0, l = 0, i = 0, u = 0, o = 0, g = 0; g < n.length; g++) {
          var a = n[g],
              h = a[0],
              f = a[1],
              v = a[2],
              x = n[(g + 1) % n.length],
              m = x[0],
              s = x[1],
              c = x[2],
              d = h * s - m * f;
          u += d, r += (h + m) * d, l += (f + s) * d, e && a.length > 2 && x.length > 2 && (d = h * c - m * v, i += (v + c) * d, o += d), h < t[0] && (t[0] = h), h > t[1] && (t[1] = h), f < t[2] && (t[2] = f), f > t[3] && (t[3] = f), e && (v < t[4] && (t[4] = v), v > t[5] && (t[5] = v));
        }

        if (u > 0 && (u *= -1), o > 0 && (o *= -1), !u) return null;
        var y = [r, l, .5 * u];
        return e && (y[3] = i, y[4] = .5 * o), y;
      }

      function o(n, e) {
        for (var r = e ? [0, 0, 0] : [0, 0], l = e ? [0, 0, 0] : [0, 0], i = 0, u = 0, o = 0, g = 0, a = 0, h = n.length; a < h - 1; a++) {
          var f = n[a],
              v = n[a + 1];

          if (f && v) {
            r[0] = f[0], r[1] = f[1], l[0] = v[0], l[1] = v[1], e && f.length > 2 && v.length > 2 && (r[2] = f[2], l[2] = v[2]);
            var x = t.getLength(r, l);

            if (x) {
              i += x;
              var m = t.getMidpoint(f, v);
              u += x * m[0], o += x * m[1], e && m.length > 2 && (g += x * m[2]);
            }
          }
        }

        return i > 0 ? e ? [u / i, o / i, g / i] : [u / i, o / i] : n.length ? n[0] : null;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.extentCentroid = r, e.polygonCentroid = l, e.ringsCentroid = i, e.lineCentroid = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/contains.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/contains.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportContainsJs(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 (n, t) {
      function r(n, t) {
        return a(n, t.x, t.y, t.z);
      }

      function e(n, t) {
        if (!t.points || t.points.length) return !1;

        for (var r = 0, e = t.points; r < e.length; r++) {
          if (!o(n, e[r])) return !1;
        }

        return !0;
      }

      function i(n, t) {
        var r = t.xmin,
            e = t.ymin,
            i = t.zmin,
            o = t.xmax,
            u = t.ymax,
            f = t.zmax;
        return n.hasZ && t.hasZ ? a(n, r, e, i) && a(n, r, u, i) && a(n, o, u, i) && a(n, o, e, i) && a(n, r, e, f) && a(n, r, u, f) && a(n, o, u, f) && a(n, o, e, f) : a(n, r, e) && a(n, r, u) && a(n, o, u) && a(n, o, e);
      }

      function o(n, t) {
        return a(n, t[0], t[1]);
      }

      function u(n, t) {
        return a(n, t[0], t[1], t[2]);
      }

      function a(n, t, r, e) {
        return t >= n.xmin && t <= n.xmax && r >= n.ymin && r <= n.ymax && (null == e || !n.hasZ || e >= n.zmin && e <= n.zmax);
      }

      function f(n, t) {
        return l[1] = t.y, l[0] = t.x, s(n, l);
      }

      function s(n, t) {
        return x(n.rings, t);
      }

      function x(n, t) {
        if (!n) return !1;
        if (c(n)) return m(!1, n, t);

        for (var r = !1, e = 0, i = n.length; e < i; e++) r = m(r, n[e], t);

        return r;
      }

      function c(n) {
        return !Array.isArray(n[0][0]);
      }

      function m(n, t, r) {
        for (var e = r[0], i = r[1], o = n, u = 0, a = 0, f = t.length; a < f; a++) {
          u++, u === f && (u = 0);
          var s = t[a],
              x = s[0],
              c = s[1],
              m = t[u],
              l = m[0],
              y = m[1];
          (c < i && y >= i || y < i && c >= i) && x + (i - c) / (y - c) * (l - x) < e && (o = !o);
        }

        return o;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var l = [0, 0];
      t.extentContainsPoint = r, t.extentContainsMultipoint = e, t.extentContainsExtent = i, t.extentContainsCoords2D = o, t.extentContainsCoords3D = u, t.polygonContainsPoint = f, t.polygonContainsCoords = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/coordsUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/coordsUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportCoordsUtilsJs(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__(
    /*! ./spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, r, e) {
      function t(n) {
        if (!n) return null;
        if (Array.isArray(n)) return n;
        var r = n.hasZ,
            e = n.hasM;
        if ("point" === n.type) return e && r ? [n.x, n.y, n.z, n.m] : r ? [n.x, n.y, n.z] : e ? [n.x, n.y, n.m] : [n.x, n.y];
        if ("polygon" === n.type) return n.rings.slice(0);
        if ("polyline" === n.type) return n.paths.slice(0);
        if ("multipoint" === n.type) return n.points.slice(0);

        if ("extent" === n.type) {
          var t = n.clone().normalize();
          if (!t) return null;
          var i = !1,
              o = !1;
          return t.forEach(function (n) {
            n.hasZ && (i = !0), n.hasM && (o = !0);
          }), t.map(function (n) {
            var r = [[n.xmin, n.ymin], [n.xmin, n.ymax], [n.xmax, n.ymax], [n.xmax, n.ymin], [n.xmin, n.ymin]];
            if (i && n.hasZ) for (var e = .5 * (n.zmax - n.zmin), t = 0; t < r.length; t++) r[t].push(e);
            if (o && n.hasM) for (var a = .5 * (n.mmax - n.mmin), t = 0; t < r.length; t++) r[t].push(a);
            return r;
          });
        }

        return null;
      }

      function i(n, r) {
        var e = r[0] - n[0],
            t = r[1] - n[1];

        if (n.length > 2 && r.length > 2) {
          var i = n[2] - r[2];
          return Math.sqrt(e * e + t * t + i * i);
        }

        return Math.sqrt(e * e + t * t);
      }

      function o(n, r, e) {
        var t = n[0] + e * (r[0] - n[0]),
            i = n[1] + e * (r[1] - n[1]);
        return n.length > 2 && r.length > 2 ? [t, i, n[2] + e * (r[2] - n[2])] : [t, i];
      }

      function a(n, r) {
        return o(n, r, .5);
      }

      function l(n) {
        for (var r = n.length, e = 0, t = 0; t < r - 1; ++t) e += i(n[t], n[t + 1]);

        return e;
      }

      function s(n, r) {
        if (r <= 0) return n[0];

        for (var e = n.length, t = 0, a = 0; a < e - 1; ++a) {
          var l = i(n[a], n[a + 1]);

          if (r - t < l) {
            var s = (r - t) / l;
            return o(n[a], n[a + 1], s);
          }

          t += l;
        }

        return n[e - 1];
      }

      function f(n, r, e) {
        for (var t = n.length, i = 0, o = 0, a = 0, l = 0; l < t; l++) {
          var s = n[l],
              f = n[(l + 1) % t],
              u = 2;
          i += s[0] * f[1] - f[0] * s[1], s.length > 2 && f.length > 2 && e && (o += s[0] * f[2] - f[0] * s[2], u = 3), s.length > u && f.length > u && r && (a += s[0] * f[u] - f[0] * s[u]);
        }

        return i <= 0 && o <= 0 && a <= 0;
      }

      function u(n) {
        if ("rings" in n) {
          for (var r = 0, e = n.rings; r < e.length; r++) {
            var t = e[r];
            t.length < 3 || t[0][0] === t[t.length - 1][0] && t[0][1] === t[t.length - 1][1] || t.push([t[0][0], t[0][1]]);
          }

          if (n.rings.length > 0) {
            if (!f(n.rings[0], n.hasM, n.hasZ)) for (var i = 0; i < n.rings.length; ++i) n.rings[i] = n.rings[i].reverse();
          }
        }
      }

      function g(n) {
        if ("rings" in n) for (var r = 0, e = n.rings; r < e.length; r++) {
          var t = e[r];
          t.length < 3 || t[0][0] === t[t.length - 1][0] && t[0][1] === t[t.length - 1][1] || t.push([t[0][0], t[0][1]]);
        }
      }

      function h(n) {
        for (var r = n.length, e = 0, t = 0; t < r; t++) {
          var i = n[t],
              o = n[(t + 1) % r];
          e += i[0] * o[1] - o[0] * i[1];
        }

        return e;
      }

      function c(n) {
        return "polygon" !== n.type && "polyline" !== n.type ? n : (m("polygon" === n.type ? n.rings : n.paths, n.spatialReference), n);
      }

      function m(n, r) {
        var t = e.getInfo(r);
        if (t) for (var i = t.valid[0], o = t.valid[1], a = o - i, l = 0, s = n; l < s.length; l++) {
          var f = s[l];
          !function (n) {
            var r = 1 / 0,
                e = -1 / 0;
            n.forEach(function (n) {
              for (var t = n[0]; t < i;) t += a;

              for (; t > o;) t -= a;

              r = Math.min(r, t), e = Math.max(e, t), n[0] = t;
            });
            var t = e - r;
            a - t < t && n.forEach(function (n) {
              n[0] < 0 && (n[0] += a);
            });
          }(f);
        }
      }

      function p(n, r, e, t) {
        var i = 1 / 0,
            o = -1 / 0;
        n.forEach(function (n) {
          for (var a = n.pos[0]; a < r;) a += t;

          for (; a > e;) a -= t;

          i = Math.min(i, a), o = Math.max(o, a), n.unnormalizedPos[0] = a, n.unnormalizedPos[1] = n.pos[1], n.pos.length > 2 && (n.unnormalizedPos[2] = n.pos[2]), n.pos.length > 3 && (n.unnormalizedPos[3] = n.pos[3]);
        });
        var a = o - i;
        t - a < a && n.forEach(function (n) {
          n.unnormalizedPos[0] < 0 && (n.unnormalizedPos[0] += t);
        });
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.geometryToCoordinates = t, r.getLength = i, r.getMidpoint = a, r.getPathLength = l, r.getPointOnPath = s, r.isClockwise = f, r.closeRingsAndFixWinding = u, r.closeRings = g, r.getRingArea = h, r.unnormalizeGeometryOnDatelineCrossing = c, r.unnormalizeVerticesOnDatelineCrossing = m, r.computeUnnormalizedVertexPositionsOnDateLineCrossing = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/extentUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/extentUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportExtentUtilsJs(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__(
    /*! ./boundsUtils */
    "./node_modules/arcgis-js-api/geometry/support/boundsUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, t, i) {
      function r(n) {
        return void 0 !== n.xmin && void 0 !== n.ymin && void 0 !== n.xmax && void 0 !== n.ymax;
      }

      function u(n) {
        return void 0 !== n.points;
      }

      function e(n) {
        return void 0 !== n.x && void 0 !== n.y;
      }

      function o(n) {
        return void 0 !== n.paths;
      }

      function m(n) {
        return void 0 !== n.rings;
      }

      function x(n, t, i, r) {
        return {
          xmin: n,
          ymin: t,
          xmax: i,
          ymax: r
        };
      }

      function a(n, t, i, r, u, e) {
        return {
          xmin: n,
          ymin: t,
          zmin: i,
          xmax: r,
          ymax: u,
          zmax: e
        };
      }

      function s(n, t, i, r, u, e) {
        return {
          xmin: n,
          ymin: t,
          mmin: i,
          xmax: r,
          ymax: u,
          mmax: e
        };
      }

      function l(n, t, i, r, u, e, o, m) {
        return {
          xmin: n,
          ymin: t,
          zmin: i,
          mmin: r,
          xmax: u,
          ymax: e,
          zmax: o,
          mmax: m
        };
      }

      function d(n, t, i) {
        return void 0 === t && (t = !1), void 0 === i && (i = !1), t ? i ? l(n[0], n[1], n[2], n[3], n[4], n[5], n[6], n[7]) : a(n[0], n[1], n[2], n[3], n[4], n[5]) : i ? s(n[0], n[1], n[2], n[3], n[4], n[5]) : x(n[0], n[1], n[2], n[3]);
      }

      function f(n) {
        return n ? r(n) ? n : e(n) ? v(n) : m(n) ? y(n) : o(n) ? g(n) : u(n) ? c(n) : null : null;
      }

      function c(n) {
        var t = n.hasZ,
            r = n.hasM,
            u = n.points;
        return d(i.getPointsBounds(h, u, t, r), t, r);
      }

      function v(n) {
        var t = n.x,
            i = n.y,
            r = n.z,
            u = n.m,
            e = null != r,
            o = null != u;
        return e ? o ? l(t, i, r, u, t, i, r, u) : a(t, i, r, t, i, r) : o ? s(t, i, u, t, i, u) : x(t, i, t, i);
      }

      function y(n) {
        var t = n.hasZ,
            r = n.hasM,
            u = n.rings,
            e = i.getRingsOrPathsBounds(h, u, t, r);
        return e ? d(e, t, r) : null;
      }

      function g(n) {
        var t = n.hasZ,
            r = n.hasM,
            u = n.paths,
            e = i.getRingsOrPathsBounds(h, u, t, r);
        return e ? d(e, t, r) : null;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var h = [];
      t.getGeometryExtent = f, t.getMultipointExtent = c, t.getPointExtent = v, t.getPolygonExtent = y, t.getPolylineExtent = g;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/geodesicUtils.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/geodesicUtils.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportGeodesicUtilsJs(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__(
    /*! @dojo/framework/shim/object */
    "./node_modules/@dojo/framework/shim/object.mjs"), __webpack_require__(
    /*! ../. */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, t, n, r, i) {
      function s(e) {
        if (!e || !e.isGeographic) return null;

        if (e.wkid) {
          var a = b[e.wkid];
          if (a) return a;
        }

        if (e.wkt) {
          var t = y.exec(e.wkt);
          if (!t || 2 !== t.length) return null;
          var n = t[1].split(",");
          if (!n || 3 !== n.length) return null;
          var r = parseFloat(n[1]),
              i = parseFloat(n[2]);
          if (isNaN(r) || isNaN(i)) return null;
          return {
            a: r,
            f: 0 === i ? 0 : 1 / i
          };
        }

        return null;
      }

      function f(e) {
        return "b" in e && "eSq" in e && "radius" in e;
      }

      function o(e) {
        var a = s(e || w);
        if (f(a)) return a;
        var n = a.a * (1 - a.f);
        return t.assign(a, {
          b: n,
          eSq: 1 - Math.pow(n / a.a, 2),
          radius: (2 * a.a + n) / 3
        });
      }

      function c(e, a, t) {
        var n,
            r = o(t),
            i = r.a,
            s = r.eSq,
            f = Math.sqrt(s),
            c = Math.sin(a[1] * m),
            h = i * a[0] * m;

        if (s > 0) {
          n = i * ((1 - s) * (c / (1 - s * (c * c)) - 1 / (2 * f) * Math.log((1 - f * c) / (1 + f * c)))) * .5;
        } else n = i * c;

        return e[0] = h, e[1] = n, e;
      }

      function h(e) {
        return null !== s(e);
      }

      function l(e, a) {
        if (void 0 === a && (a = "square-meters"), e.some(function (e) {
          return !h(e.spatialReference);
        })) throw new r("geodesic-areas:invalid-spatial-reference", "the input geometries spatial reference is not supported");

        for (var t = [], n = 0; n < e.length; n++) {
          var s = e[n],
              f = s.spatialReference,
              l = o(f).radius,
              p = l * R;
          t.push(u(s, p));
        }

        for (var d = [], v = [0, 0], g = [0, 0], M = 0; M < t.length; M++) {
          for (var m = t[M], w = m.rings, f = m.spatialReference, y = 0, b = 0; b < w.length; b++) {
            var q = w[b];
            c(v, q[0], f), c(g, q[q.length - 1], f);

            for (var S = g[0] * v[1] - v[0] * g[1], z = 0; z < q.length - 1; z++) c(v, q[z + 1], f), c(g, q[z], f), S += g[0] * v[1] - v[0] * g[1];

            y += S;
          }

          y = i.convertUnit(y, "square-meters", a), d.push(y / -2);
        }

        return d;
      }

      function p(e, a) {
        void 0 === a && (a = "meters");
        var t = e,
            n = e;
        if (!t && !n) throw new r("geodesic-lengths:invalid-geometries", "the input geometries type is not supported");
        if (t ? t.some(function (e) {
          return !h(e.spatialReference);
        }) : n.some(function (e) {
          return !h(e.spatialReference);
        })) throw new r("geodesic-lengths:invalid-spatial-reference", "the input geometries spatial reference is not supported");

        for (var s = [], f = 0; f < e.length; f++) {
          for (var o = e[f], c = o.spatialReference, l = "polyline" === o.type ? o.paths : o.rings, p = 0, u = 0; u < l.length; u++) {
            for (var d = l[u], g = 0, M = 1; M < d.length; M++) {
              var m = d[M - 1][0],
                  w = d[M][0],
                  y = d[M - 1][1],
                  R = d[M][1];

              if (y !== R || m !== w) {
                var b = {
                  distance: null
                };
                v(b, [m, y], [w, R], c), g += b.distance;
              }
            }

            p += g;
          }

          p = i.convertUnit(p, "meters", a), s.push(p);
        }

        return s;
      }

      function u(e, a) {
        if ("polyline" !== e.type && "polygon" !== e.type) throw new r("geodesic-densify:invalid-geometry", "the input geometry is neither polyline nor polygon");
        var t = e.spatialReference;
        if (!h(t)) throw new r("geodesic-densify:invalid-spatial-reference", "the input geometry spatial reference is not supported");
        var i = o(t).radius,
            s = i / 1e4;
        a < s && (a = s);

        for (var f = "polyline" === e.type ? e.paths : e.rings, c = [], l = [0, 0], p = {
          distance: null
        }, u = 0, g = f; u < g.length; u++) {
          var M = g[u],
              m = [];
          c.push(m), m.push([M[0][0], M[0][1]]);

          for (var w = M[0][0], y = M[0][1], R = void 0, b = void 0, q = 0; q < M.length - 1; q++) if (R = M[q + 1][0], b = M[q + 1][1], w !== R || y !== b) {
            var S = [w, y];
            v(p, [w, y], [R, b], t);
            var z = p.azimuth,
                P = p.distance,
                x = P / a;

            if (x > 1) {
              for (var N = 1; N <= x - 1; N++) {
                var k = N * a;
                d(l, S, z, k, t), m.push(l.slice(0));
              }

              var D = (P + Math.floor(x - 1) * a) / 2;
              d(l, S, z, D, t), m.push(l.slice(0));
            }

            d(l, S, z, P, t), m.push(l.slice(0)), w = l[0], y = l[1];
          }
        }

        return "polyline" === e.type ? new n.Polyline({
          paths: c,
          spatialReference: t
        }) : new n.Polygon({
          rings: c,
          spatialReference: t
        });
      }

      function d(e, a, t, n, r) {
        for (var i, s, f, c, h = a[0], l = a[1], p = h * m, u = l * m, d = t * m, v = o(r), g = v.a, M = v.b, w = v.f, y = Math.sin(d), R = Math.cos(d), b = (1 - w) * Math.tan(u), q = 1 / Math.sqrt(1 + b * b), S = b * q, z = Math.atan2(b, R), P = q * y, x = P * P, N = 1 - x, k = N * (g * g - M * M) / (M * M), D = 1 + k / 16384 * (4096 + k * (k * (320 - 175 * k) - 768)), G = k / 1024 * (256 + k * (k * (74 - 47 * k) - 128)), U = n / (M * D), j = 2 * Math.PI; Math.abs(U - j) > 1e-12;) f = Math.cos(2 * z + U), i = Math.sin(U), s = Math.cos(U), c = G * i * (f + G / 4 * (s * (2 * f * f - 1) - G / 6 * f * (4 * i * i - 3) * (4 * f * f - 3))), j = U, U = n / (M * D) + c;

        var A = S * i - q * s * R,
            F = Math.atan2(S * s + q * i * R, (1 - w) * Math.sqrt(x + A * A)),
            I = Math.atan2(i * y, q * s - S * i * R),
            E = w / 16 * N * (4 + w * (4 - 3 * N)),
            O = I - (1 - E) * w * P * (U + E * i * (f + E * s * (2 * f * f - 1))),
            _ = F / m,
            H = (p + O) / m;

        return e.splice(0, e.length), e.push(H, _), e;
      }

      function v(e, a, t, n) {
        var r,
            i,
            s,
            f,
            c,
            h,
            l,
            p,
            u,
            d,
            v = a[0] * m,
            g = a[1] * m,
            M = t[0] * m,
            w = t[1] * m,
            y = o(n),
            R = y.a,
            b = y.b,
            q = y.f,
            S = y.radius,
            z = M - v,
            P = Math.atan((1 - q) * Math.tan(g)),
            x = Math.atan((1 - q) * Math.tan(w)),
            N = Math.sin(P),
            k = Math.cos(P),
            D = Math.sin(x),
            G = Math.cos(x),
            U = 1e3,
            j = z;

        do {
          if (l = Math.sin(j), p = Math.cos(j), 0 === (s = Math.sqrt(G * l * (G * l) + (k * D - N * G * p) * (k * D - N * G * p)))) return {
            distance: 0
          };
          c = N * D + k * G * p, h = Math.atan2(s, c), u = k * G * l / s, i = 1 - u * u, f = c - 2 * N * D / i, isNaN(f) && (f = 0), d = q / 16 * i * (4 + q * (4 - 3 * i)), r = j, j = z + (1 - d) * q * u * (h + d * s * (f + d * c * (2 * f * f - 1)));
        } while (Math.abs(j - r) > 1e-12 && --U > 0);

        if (0 === U) {
          var A = S,
              F = Math.acos(Math.sin(g) * Math.sin(w) + Math.cos(g) * Math.cos(w) * Math.cos(M - v)) * A,
              I = M - v,
              E = Math.sin(I) * Math.cos(w),
              O = Math.cos(g) * Math.sin(w) - Math.sin(g) * Math.cos(w) * Math.cos(I);
          return {
            azimuth: Math.atan2(E, O) / m,
            distance: F
          };
        }

        var _ = i * (R * R - b * b) / (b * b),
            H = 1 + _ / 16384 * (4096 + _ * (_ * (320 - 175 * _) - 768)),
            L = _ / 1024 * (256 + _ * (_ * (74 - 47 * _) - 128)),
            W = L * s * (f + L / 4 * (c * (2 * f * f - 1) - L / 6 * f * (4 * s * s - 3) * (4 * f * f - 3))),
            B = b * H * (h - W),
            C = Math.atan2(G * Math.sin(j), k * D - N * G * Math.cos(j)),
            J = Math.atan2(k * Math.sin(j), k * D * Math.cos(j) - N * G);

        return e.azimuth = C / m, e.distance = B, e.reverseAzimuth = J / m, e;
      }

      function g(e, a, t) {
        if (void 0 === t && (t = "meters"), !e || !a) throw new r("geodesic-distance:missing-parameters", "one or both input parameters are missing");
        if (!e.spatialReference || !a.spatialReference) throw new r("geodesic-distance:invalid-parameters", "one or both input points do not have a spatial reference");
        if (!e.spatialReference.equals(a.spatialReference)) throw new r("geodesic-distance:invalid-parameters", "spatial references of input parameters do not match");
        var n = e.spatialReference;
        if (!h(n)) throw new r("geodesic-distance:not-supported", "input geometry spatial reference is not supported");
        if (e.equals(a)) return {
          distance: 0,
          azimuth: 0,
          reverseAzimuth: 0
        };
        var s = {
          distance: null
        };
        return v(s, [e.x, e.y], [a.x, a.y], n), s.distance = i.convertUnit(s.distance, "meters", t), s;
      }

      function M(e, a, t) {
        if (!e || null == a || null == t) throw new r("point-from-distance:missing-parameters", "one or more input parameters are missing or undefined");
        if (t < 0 || t > 360) throw new r("point-from-distance:-of-bounds", "azimuth is restricted to angles between, and including, 0° to 360° degrees");
        if (!e.spatialReference) throw new r("point-from-distance:missing-spatial-reference", "the input point must have a spatial reference");
        var i = e.spatialReference;
        if (!h(i)) throw new r("geodesic-distance:not-supported", "input geometry spatial reference is not supported");
        var s = [0, 0];
        return d(s, [e.x, e.y], t, a, i), new n.Point({
          x: s[0],
          y: s[1],
          spatialReference: i
        });
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var m = Math.PI / 180,
          w = n.SpatialReference.WGS84,
          y = /SPHEROID\[([^\]]+)]/i,
          R = .0015696101447650193,
          b = {
        4326: {
          a: 6378137,
          f: 1 / 298.257223563
        },
        104900: {
          a: 2439700,
          f: 0
        },
        104901: {
          a: 6051e3,
          f: 0
        },
        104902: {
          a: 6051800,
          f: 0
        },
        104903: {
          a: 1737400,
          f: 0
        },
        104904: {
          a: 3393400,
          f: .005207166853303471
        },
        104905: {
          a: 3396190,
          f: .005886007555525457
        },
        104906: {
          a: 6200,
          f: 0
        },
        104907: {
          a: 11100,
          f: 0
        },
        104908: {
          a: 71492e3,
          f: .06487439154031222
        },
        104909: {
          a: 8200,
          f: 0
        },
        104910: {
          a: 83500,
          f: 0
        },
        104911: {
          a: 1e4,
          f: 0
        },
        104912: {
          a: 2409300,
          f: 0
        },
        104913: {
          a: 15e3,
          f: 0
        },
        104914: {
          a: 4e4,
          f: 0
        },
        104915: {
          a: 1562090,
          f: 0
        },
        104916: {
          a: 2632345,
          f: 0
        },
        104917: {
          a: 85e3,
          f: 0
        },
        104918: {
          a: 1821460,
          f: 0
        },
        104919: {
          a: 5e3,
          f: 0
        },
        104920: {
          a: 12e3,
          f: 0
        },
        104921: {
          a: 3e4,
          f: 3
        },
        104922: {
          a: 18e3,
          f: 0
        },
        104923: {
          a: 14e3,
          f: 0
        },
        104924: {
          a: 49300,
          f: 0
        },
        104925: {
          a: 60268e3,
          f: .09796243445941462
        },
        104926: {
          a: 16e3,
          f: 0
        },
        104927: {
          a: 9500,
          f: 0
        },
        104928: {
          a: 56e4,
          f: 0
        },
        104929: {
          a: 249400,
          f: 0
        },
        104930: {
          a: 59500,
          f: 0
        },
        104931: {
          a: 16e3,
          f: 0
        },
        104932: {
          a: 133e3,
          f: 0
        },
        104933: {
          a: 718e3,
          f: 0
        },
        104934: {
          a: 888e3,
          f: 0
        },
        104935: {
          a: 1986300,
          f: 0
        },
        104936: {
          a: 1e4,
          f: 0
        },
        104937: {
          a: 41900,
          f: 0
        },
        104938: {
          a: 11e4,
          f: 0
        },
        104939: {
          a: 50100,
          f: 0
        },
        104940: {
          a: 764e3,
          f: 0
        },
        104941: {
          a: 11e3,
          f: 0
        },
        104942: {
          a: 529800,
          f: 0
        },
        104943: {
          a: 2575e3,
          f: 0
        },
        104944: {
          a: 25559e3,
          f: .022927344575296365
        },
        104945: {
          a: 578900,
          f: 0
        },
        104946: {
          a: 33e3,
          f: 0
        },
        104947: {
          a: 21e3,
          f: 0
        },
        104948: {
          a: 13e3,
          f: 0
        },
        104949: {
          a: 31e3,
          f: 0
        },
        104950: {
          a: 27e3,
          f: 0
        },
        104951: {
          a: 42e3,
          f: 0
        },
        104952: {
          a: 235800,
          f: 0
        },
        104953: {
          a: 761400,
          f: 0
        },
        104954: {
          a: 15e3,
          f: 0
        },
        104955: {
          a: 54e3,
          f: 0
        },
        104956: {
          a: 77e3,
          f: 0
        },
        104957: {
          a: 27e3,
          f: 0
        },
        104958: {
          a: 788900,
          f: 0
        },
        104959: {
          a: 584700,
          f: 0
        },
        104960: {
          a: 24764e3,
          f: .01708124697141011
        },
        104961: {
          a: 74e3,
          f: 0
        },
        104962: {
          a: 79e3,
          f: 0
        },
        104963: {
          a: 104e3,
          f: .14423076923076922
        },
        104964: {
          a: 29e3,
          f: 0
        },
        104965: {
          a: 17e4,
          f: 0
        },
        104966: {
          a: 208e3,
          f: 0
        },
        104967: {
          a: 4e4,
          f: 0
        },
        104968: {
          a: 1352600,
          f: 0
        },
        104969: {
          a: 1195e3,
          f: 0
        },
        104970: {
          a: 593e3,
          f: 0
        },
        104971: {
          a: 3396190,
          f: 0
        },
        104972: {
          a: 47e4,
          f: 0
        },
        104973: {
          a: 255e3,
          f: 0
        },
        104974: {
          a: 2439400,
          f: 0
        }
      };
      a.isSupported = h, a.geodesicAreas = l, a.geodesicLengths = p, a.geodesicDensify = u, a.directGeodeticSolver = d, a.inverseGeodeticSolver = v, a.geodesicDistance = g, a.pointFromDistance = M;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/heightModelInfoUtils.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/heightModelInfoUtils.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportHeightModelInfoUtilsJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../HeightModelInfo */
    "./node_modules/arcgis-js-api/geometry/HeightModelInfo.js"), __webpack_require__(
    /*! ../../layers/support/arcgisLayerUrl */
    "./node_modules/arcgis-js-api/layers/support/arcgisLayerUrl.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, i, r, a) {
      function l(e, t) {
        if (!e) return null;
        if (!c(e)) return new i("webscene:unsupported-height-model-info", "The vertical coordinate system of the scene is not supported", {
          heightModelInfo: e
        });
        var n = e.heightUnit,
            a = r.deriveUnitFromSR(e, t).heightUnit;
        return n !== a ? new i("webscene:incompatible-height-unit", "The vertical units of the scene (" + n + ") must match the horizontal units of the scene (" + a + ")", {
          verticalUnit: n,
          horizontalUnit: a
        }) : null;
      }

      function o(e, t, n) {
        var a = u(e),
            l = t,
            o = s(a, l, n),
            c = null;

        if (a) {
          var d = r.deriveUnitFromSR(a, e.spatialReference).heightUnit;
          n || d === a.heightUnit || (c = new i("layerview:unmatched-height-unit", "The vertical units of the layer must match the horizontal units (" + d + ")", {
            horizontalUnit: d
          }));
        }

        if (!h(e) || 4 === o || c) return new i("layerview:unsupported-height-model-info", "The vertical coordinate system of the layer is not supported", {
          heightModelInfo: a,
          error: c
        });
        var c = null;

        switch (o) {
          case 1:
            var f = a.heightUnit || "unknown",
                g = l.heightUnit || "unknown";
            c = new i("layerview:incompatible-height-unit", "The vertical units of the layer (" + f + ") must match the vertical units of the scene (" + g + ")", {
              layerUnit: f,
              sceneUnit: g
            });
            break;

          case 2:
            var m = a.heightModel || "unknown",
                v = l.heightModel || "unknown";
            c = new i("layerview:incompatible-height-model", "The height model of the layer (" + m + ") must match the height model of the scene (" + v + ")", {
              layerHeightModel: m,
              sceneHeightModel: v
            });
            break;

          case 3:
            var p = a.vertCRS || "unknown",
                y = l.vertCRS || "unknown";
            c = new i("layerview:incompatible-vertical-datum", "The vertical datum of the layer (" + p + ") must match the vertical datum of the scene (" + y + ")", {
              layerDatum: p,
              sceneDatum: y
            });
        }

        return c ? new i("layerview:incompatible-height-model-info", "The vertical coordinate system of the layer is incompatible with the scene", {
          layerHeightModelInfo: a,
          sceneHeightModelInfo: l,
          error: c
        }) : null;
      }

      function s(e, t, n) {
        if (!c(e) || !c(t)) return 4;
        if (null == e || null == t) return 0;
        if (!n && e.heightUnit !== t.heightUnit) return 1;
        if (e.heightModel !== t.heightModel) return 2;

        switch (e.heightModel) {
          case "gravity-related-height":
            return 0;

          case "ellipsoidal":
            return e.vertCRS === t.vertCRS ? 0 : 3;

          default:
            return 4;
        }
      }

      function c(e) {
        return null == e || null != e.heightModel && null != e.heightUnit;
      }

      function h(e) {
        return "heightModelInfo" in e && null != e.heightModelInfo || null != e.spatialReference || !g(e);
      }

      function u(e) {
        var t = e.url && a.parse(e.url);
        return null == (e.spatialReference && e.spatialReference.vcsWkid) && t && "ImageServer" === t.serverType || !d(e) || !e.heightModelInfo ? g(e) ? r.deriveUnitFromSR(p, e.spatialReference) : null : e.heightModelInfo;
      }

      function d(e) {
        return "heightModelInfo" in e;
      }

      function f(e) {
        if ("unknown" === e.type || !("capabilities" in e)) return !1;

        switch (e.type) {
          case "csv":
          case "feature":
          case "geojson":
          case "stream":
            return !0;

          case "imagery":
          case "map-image":
          case "tile":
          case "vector-tile":
          case null:
            return !1;

          default:
            return n.neverReached(e), !1;
        }
      }

      function g(e) {
        return f(e) ? !!(e.capabilities && e.capabilities.data && e.capabilities.data.supportsZ) : v(e);
      }

      function m(e) {
        return null != e.layers || v(e) || f(e) || d(e);
      }

      function v(e) {
        switch (e.type) {
          case "building-scene":
          case "elevation":
          case "integrated-mesh":
          case "point-cloud":
          case "scene":
            return !0;

          case "base-dynamic":
          case "base-elevation":
          case "base-tile":
          case "bing-maps":
          case "csv":
          case "geojson":
          case "feature":
          case "geo-rss":
          case "graphics":
          case "group":
          case "imagery":
          case "kml":
          case "map-image":
          case "map-notes":
          case "open-street-map":
          case "stream":
          case "tile":
          case "unknown":
          case "unsupported":
          case "vector-tile":
          case "web-tile":
          case "wms":
          case "wmts":
          case null:
            return !1;

          default:
            n.neverReached(e);
        }

        return !1;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.validateWebSceneError = l, t.rejectLayerError = o, t.deriveHeightModelInfoFromLayer = u, t.mayHaveHeightModelInfo = m;
      var p = new r({
        heightModel: "gravity-related-height"
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/intersects.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/intersects.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportIntersectsJs(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__(
    /*! ./contains */
    "./node_modules/arcgis-js-api/geometry/support/contains.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, e, r) {
      function t(n, e) {
        return r.extentContainsPoint(n, e);
      }

      function i(n, e) {
        var r,
            t,
            i,
            o = n.hasZ && e.hasZ;

        if (n.xmin <= e.xmin) {
          if (r = e.xmin, n.xmax < r) return !1;
        } else if (r = n.xmin, e.xmax < r) return !1;

        if (n.ymin <= e.ymin) {
          if (t = e.ymin, n.ymax < t) return !1;
        } else if (t = n.ymin, e.ymax < t) return !1;

        if (o && e.hasZ) if (n.zmin <= e.zmin) {
          if (i = e.zmin, n.zmax < i) return !1;
        } else if (i = n.zmin, e.zmax < i) return !1;
        return !0;
      }

      function o(n, e) {
        for (var t = e.points, i = e.hasZ, o = i ? r.extentContainsCoords3D : r.extentContainsCoords2D, a = 0, s = t; a < s.length; a++) {
          if (o(n, s[a])) return !0;
        }

        return !1;
      }

      function a(n, e) {
        l[0] = n.xmin, l[1] = n.ymax, c[0] = n.xmax, c[1] = n.ymax, v[0] = n.xmin, v[1] = n.ymin, y[0] = n.xmax, y[1] = n.ymin;

        for (var t = 0, i = g; t < i.length; t++) {
          var o = i[t];
          if (r.polygonContainsCoords(e, o)) return !0;
        }

        for (var a = 0, s = e.rings; a < s.length; a++) {
          var f = s[a];

          if (f.length) {
            var x = f[0];
            if (r.extentContainsCoords2D(n, x)) return !0;

            for (var m = 1; m < f.length; m++) {
              var C = f[m];
              if (r.extentContainsCoords2D(n, C) || u(x, C, h)) return !0;
              x = C;
            }
          }
        }

        return !1;
      }

      function s(n, e) {
        l[0] = n.xmin, l[1] = n.ymax, c[0] = n.xmax, c[1] = n.ymax, v[0] = n.xmin, v[1] = n.ymin, y[0] = n.xmax, y[1] = n.ymin;

        for (var t = e.paths, i = 0, o = t; i < o.length; i++) {
          var a = o[i];

          if (t.length) {
            var s = a[0];
            if (r.extentContainsCoords2D(n, s)) return !0;

            for (var f = 1; f < a.length; f++) {
              var x = a[f];
              if (r.extentContainsCoords2D(n, x) || u(s, x, h)) return !0;
              s = x;
            }
          }
        }

        return !1;
      }

      function f(n) {
        for (var e = 0; e < n.length; e++) {
          for (var r = n[e], t = 0; t < r.length - 1; t++) for (var i = r[t], o = r[t + 1], a = e + 1; a < n.length; a++) for (var s = 0; s < n[a].length - 1; s++) {
            var f = n[a][s],
                u = n[a][s + 1],
                m = x(i, o, f, u, C);
            if (m && !(C[0] === i[0] && C[1] === i[1] || C[0] === f[0] && C[1] === f[1] || C[0] === o[0] && C[1] === o[1] || C[0] === u[0] && C[1] === u[1])) return !0;
          }

          var l = r.length;
          if (!(l <= 4)) for (var t = 0; t < l - 3; t++) {
            var c = l - 1;
            0 === t && (c = l - 2);

            for (var i = r[t], o = r[t + 1], a = t + 2; a < c; a++) {
              var f = r[a],
                  u = r[a + 1],
                  m = x(i, o, f, u, C);
              if (m && !(C[0] === i[0] && C[1] === i[1] || C[0] === f[0] && C[1] === f[1] || C[0] === o[0] && C[1] === o[1] || C[0] === u[0] && C[1] === u[1])) return !0;
            }
          }
        }

        return !1;
      }

      function u(n, e, r) {
        for (var t = 0; t < r.length; t++) if (x(n, e, r[t][0], r[t][1])) return !0;

        return !1;
      }

      function x(n, e, r, t, i) {
        var o = n[0],
            a = n[1],
            s = e[0],
            f = e[1],
            u = r[0],
            x = r[1],
            m = t[0],
            l = t[1],
            c = m - u,
            v = o - u,
            y = s - o,
            g = l - x,
            h = a - x,
            C = f - a,
            p = g * y - c * C;
        if (0 === p) return !1;
        var d = (c * h - g * v) / p,
            I = (y * h - C * v) / p;
        return d >= 0 && d <= 1 && I >= 0 && I <= 1 && (i && (i[0] = o + d * (s - o), i[1] = a + d * (f - a)), !0);
      }

      function m(n) {
        switch (n) {
          case "esriGeometryEnvelope":
          case "extent":
            return i;

          case "esriGeometryMultipoint":
          case "multipoint":
            return o;

          case "esriGeometryPoint":
          case "point":
            return t;

          case "esriGeometryPolygon":
          case "polygon":
            return a;

          case "esriGeometryPolyline":
          case "polyline":
            return s;

          case "mesh":
            return i;
        }
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.extentIntersectsPoint = t, e.extentIntersectsExtent = i, e.extentIntersectsMultipoint = o;
      var l = [0, 0],
          c = [0, 0],
          v = [0, 0],
          y = [0, 0],
          g = [l, c, v, y],
          h = [[v, l], [l, c], [c, y], [y, v]];
      e.extentIntersectsPolygon = a, e.extentIntersectsPolyline = s;
      var C = [0, 0];
      e.isSelfIntersecting = f, e.segmentIntersects = x, e.getExtentIntersector = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/jsonUtils.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportJsonUtilsJs(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__(
    /*! ../Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ../Multipoint */
    "./node_modules/arcgis-js-api/geometry/Multipoint.js"), __webpack_require__(
    /*! ../Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ../Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! ../Polyline */
    "./node_modules/arcgis-js-api/geometry/Polyline.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, n, r, t, i, u, s) {
      function l(e) {
        try {
          throw new Error("fromJson is deprecated, use fromJSON instead");
        } catch (e) {
          console.warn(e.stack);
        }

        return p(e);
      }

      function y(e) {
        return void 0 !== e.xmin && void 0 !== e.ymin && void 0 !== e.xmax && void 0 !== e.ymax;
      }

      function m(e) {
        return void 0 !== e.points;
      }

      function f(e) {
        return void 0 !== e.x && void 0 !== e.y;
      }

      function c(e) {
        return void 0 !== e.paths;
      }

      function d(e) {
        return void 0 !== e.rings;
      }

      function v(e) {
        return void 0 !== e.vertexAttributes;
      }

      function p(e) {
        return e ? e instanceof r ? e : f(e) ? i.fromJSON(e) : c(e) ? s.fromJSON(e) : d(e) ? u.fromJSON(e) : m(e) ? t.fromJSON(e) : y(e) ? n.fromJSON(e) : null : null;
      }

      function P(e) {
        return e ? f(e) ? "esriGeometryPoint" : c(e) ? "esriGeometryPolyline" : d(e) ? "esriGeometryPolygon" : y(e) ? "esriGeometryEnvelope" : m(e) ? "esriGeometryMultipoint" : null : null;
      }

      function G(e) {
        return e && a[e] || null;
      }

      Object.defineProperty(o, "__esModule", {
        value: !0
      }), o.fromJson = l, o.isExtent = y, o.isMultipoint = m, o.isPoint = f, o.isPolyline = c, o.isPolygon = d, o.isMesh = v, o.fromJSON = p, o.getJsonType = P;
      var a = {
        esriGeometryPoint: i,
        esriGeometryPolyline: s,
        esriGeometryPolygon: u,
        esriGeometryEnvelope: n,
        esriGeometryMultipoint: t
      };
      o.getGeometryType = G;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/normalizeUtils.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/normalizeUtils.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportNormalizeUtilsJs(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__(
    /*! ../../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! ../Polyline */
    "./node_modules/arcgis-js-api/geometry/Polyline.js"), __webpack_require__(
    /*! ../SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ./webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../../tasks/geometry/cut */
    "./node_modules/arcgis-js-api/tasks/geometry/cut.js"), __webpack_require__(
    /*! ../../tasks/geometry/simplify */
    "./node_modules/arcgis-js-api/tasks/geometry/simplify.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t, i, a, o, s, u, f, l, p, h, c, g, m) {
      function v(e) {
        return "polygon" === e.type;
      }

      function x(e) {
        return "polygon" === e[0].type;
      }

      function y(e) {
        return "polyline" === e[0].type;
      }

      function d(e) {
        return v(e) ? e.rings : e.paths;
      }

      function M(e, r) {
        return Math.ceil((e - r) / (2 * r));
      }

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

        return e;
      }

      function b(e) {
        for (var r = [], n = 0, t = 0, i = 0; i < e.length; i++) {
          for (var a = e[i], o = null, s = 0; s < a.length; s++) o = a[s], r.push(o), 0 === s ? (n = o[0], t = n) : (n = Math.min(n, o[0]), t = Math.max(t, o[0]));

          o && r.push([(n + t) / 2, 0]);
        }

        return r;
      }

      function R(e, r) {
        if (!(e instanceof l || e instanceof f)) {
          var n = "straightLineDensify: the input geometry is neither polyline nor polygon";
          throw I.error(n), new a(n);
        }

        for (var t = d(e), i = [], o = 0, s = t; o < s.length; o++) {
          var u = s[o],
              p = [];
          i.push(p), p.push([u[0][0], u[0][1]]);

          for (var h = 0; h < u.length - 1; h++) {
            var c = u[h][0],
                g = u[h][1],
                m = u[h + 1][0],
                x = u[h + 1][1],
                y = Math.sqrt((m - c) * (m - c) + (x - g) * (x - g)),
                M = (x - g) / y,
                w = (m - c) / y,
                b = y / r;

            if (b > 1) {
              for (var R = 1; R <= b - 1; R++) {
                var L = R * r,
                    W = w * L + c,
                    P = M * L + g;
                p.push([W, P]);
              }

              var S = (y + Math.floor(b - 1) * r) / 2,
                  X = w * S + c,
                  z = M * S + g;
              p.push([X, z]);
            }

            p.push([m, x]);
          }
        }

        return v(e) ? new f({
          rings: i,
          spatialReference: e.spatialReference
        }) : new l({
          paths: i,
          spatialReference: e.spatialReference
        });
      }

      function L(e, r, n) {
        if (r) {
          var t = R(e, 1e6);
          e = c.webMercatorToGeographic(t, !0);
        }

        return n && (e = w(e, n)), e;
      }

      function W(e, r, n) {
        if (Array.isArray(e)) {
          var t = e[0];

          if (t > r) {
            var i = M(t, r);
            e[0] = t + i * (-2 * r);
          } else if (t < n) {
            var i = M(t, n);
            e[0] = t + i * (-2 * n);
          }
        } else {
          var t = e.x;

          if (t > r) {
            var i = M(t, r);
            e = e.clone().offset(i * (-2 * r), 0);
          } else if (t < n) {
            var i = M(t, n);
            e = e.clone().offset(i * (-2 * n), 0);
          }
        }

        return e;
      }

      function P(e, r) {
        for (var n = -1, t = 0; t < r.cutIndexes.length; t++) !function (t) {
          for (var i = r.cutIndexes[t], a = r.geometries[t], o = d(a), s = 0; s < o.length; s++) !function (e) {
            var r = o[e];
            r.some(function (n) {
              if (n[0] < 180) return !0;

              for (var t = 0, i = 0; i < r.length; i++) {
                var o = r[i][0];
                t = o > t ? o : t;
              }

              t = Number(t.toFixed(9));

              for (var s = M(t, 180), u = -360 * s, f = 0; f < r.length; f++) {
                var l = a.getPoint(e, f);
                a.setPoint(e, f, l.clone().offset(u, 0));
              }

              return !0;
            });
          }(s);

          if (i === n) {
            if (x(e)) for (var u = 0, f = d(a); u < f.length; u++) {
              var l = f[u];
              e[i] = e[i].addRing(l);
            } else if (y(e)) for (var p = 0, h = d(a); p < h.length; p++) {
              var c = h[p];
              e[i] = e[i].addPath(c);
            }
          } else n = i, e[i] = a;
        }(t);

        return e;
      }

      function S(e, r, a) {
        return t(this, void 0, void 0, function () {
          var t, o, p, v, x, y, d, b, R, X, z, I, k, A, T, D, G, _, G, q, E, H, N, j, C, F, O, B, J, K, Q, V, Y, Z, $, ee, re, V, Y, ne, V, Y, Z;

          return n(this, function (n) {
            switch (n.label) {
              case 0:
                if (!Array.isArray(e)) return [2, S([e], r)];

                for (t = r ? r.url : i.geometryServiceUrl, X = 0, z = [], I = [], k = 0, A = e; k < A.length; k++) T = A[k], s.isNone(T) ? I.push(T) : (o || (o = T.spatialReference, p = h.getInfo(o), v = o.isWebMercator, d = v ? 102100 : 4326, x = U[d].maxX, y = U[d].minX, b = U[d].plus180Line, R = U[d].minus180Line), p ? "mesh" === T.type ? I.push(T) : "point" === T.type ? I.push(W(T.clone(), x, y)) : "multipoint" === T.type ? (D = T.clone(), D.points = D.points.map(function (e) {
                  return W(e, x, y);
                }), I.push(D)) : "extent" === T.type ? (G = T.clone(), _ = G._normalize(!1, !1, p), I.push(_.rings ? new f(_) : _)) : T.extent ? (G = T.extent, q = M(G.xmin, y), E = q * (2 * x), H = 0 === E ? T.clone() : w(T.clone(), E), G.offset(E, 0), G.intersects(b) && G.xmax !== x ? (X = G.xmax > X ? G.xmax : X, H = L(H, v), z.push(H), I.push("cut")) : G.intersects(R) && G.xmin !== y ? (X = G.xmax * (2 * x) > X ? G.xmax * (2 * x) : X, H = L(H, v, 360), z.push(H), I.push("cut")) : I.push(H)) : I.push(T.clone()) : I.push(T));

                for (N = M(X, x), j = -90, C = N, F = new l(); N > 0;) O = 360 * N - 180, F.addPath([[O, j], [O, -1 * j]]), j *= -1, N--;

                return z.length > 0 && C > 0 ? [4, g.cut(t, z, F, a)] : [3, 3];

              case 1:
                for (B = n.sent(), J = P(z, B), K = [], Q = [], V = 0; V < I.length; V++) Y = I[V], "cut" !== Y ? Q.push(Y) : (Z = J.shift(), $ = e[V], s.isSome($) && "polygon" === $.type && $.rings && $.rings.length > 1 && Z.rings.length >= $.rings.length ? (K.push(Z), Q.push("simplify")) : Q.push(v ? c.geographicToWebMercator(Z) : Z));

                return K.length ? [4, m.simplify(t, K, a)] : [2, Q];

              case 2:
                for (ee = n.sent(), re = [], V = 0; V < Q.length; V++) Y = Q[V], "simplify" !== Y ? re.push(Y) : re.push(v ? c.geographicToWebMercator(ee.shift()) : ee.shift());

                return [2, re];

              case 3:
                for (ne = [], V = 0; V < I.length; V++) Y = I[V], "cut" !== Y ? ne.push(Y) : (Z = z.shift(), ne.push(!0 === v ? c.geographicToWebMercator(Z) : Z));

                return [2, u.resolve(ne)];
            }
          });
        });
      }

      function X(e) {
        var r;
        if (!e) return null;
        var n = e.extent;
        if (!n) return null;
        var t = e.spatialReference && h.getInfo(e.spatialReference);
        if (!t) return n;
        var i = t.valid,
            a = i[0],
            o = i[1],
            s = 2 * o,
            u = n.width,
            f = n.xmin,
            l = n.xmax;
        if (r = [l, f], f = r[0], l = r[1], "extent" === e.type || 0 === u || u <= o || u > s || f < a || l > o) return n;
        var p;

        switch (e.type) {
          case "polygon":
            if (!(e.rings.length > 1)) return n;
            p = b(e.rings);
            break;

          case "polyline":
            if (!(e.paths.length > 1)) return n;
            p = b(e.paths);
            break;

          case "multipoint":
            p = e.points;
        }

        for (var c = n.clone(), g = 0; g < p.length; g++) {
          var m = p[g][0];
          m < 0 ? (m += o, l = Math.max(m, l)) : (m -= o, f = Math.min(m, f));
        }

        return c.xmin = f, c.xmax = l, c.width < u ? (c.xmin -= o, c.xmax -= o, c) : n;
      }

      function z(e, r) {
        var n = h.getInfo(r);

        if (n) {
          var t = n.valid,
              i = t[0],
              a = t[1],
              o = a - i;
          if (e < i) for (; e < i;) e += o;
          if (e > a) for (; e > a;) e -= o;
        }

        return e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var I = o.getLogger("esri.geometry.support.normalizeUtils"),
          U = {
        102100: {
          maxX: 20037508.342788905,
          minX: -20037508.342788905,
          plus180Line: new l({
            paths: [[[20037508.342788905, -20037508.342788905], [20037508.342788905, 20037508.342788905]]],
            spatialReference: p.WebMercator
          }),
          minus180Line: new l({
            paths: [[[-20037508.342788905, -20037508.342788905], [-20037508.342788905, 20037508.342788905]]],
            spatialReference: p.WebMercator
          })
        },
        4326: {
          maxX: 180,
          minX: -180,
          plus180Line: new l({
            paths: [[[180, -180], [180, 180]]],
            spatialReference: p.WGS84
          }),
          minus180Line: new l({
            paths: [[[-180, -180], [-180, 180]]],
            spatialReference: p.WGS84
          })
        }
      };
      r.straightLineDensify = R, r.normalizeCentralMeridian = S, r.getDenormalizedExtent = X, r.normalizeMapX = z;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/offset.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/offset.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportOffsetJs(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, n) {
      function o(e, n, o, t) {
        return e.x = e.x + n, e.y = e.y + o, null != t && null != e.z && (e.z = e.z + t), e;
      }

      function t(e, n) {
        return e[0] += n, e;
      }

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

  /***/
  "./node_modules/arcgis-js-api/geometry/support/quantizationUtils.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/quantizationUtils.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportQuantizationUtilsJs(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__(
    /*! ./jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, t, r) {
      function e(n) {
        return n && "upperLeft" === n.originPosition;
      }

      function i(n) {
        return n ? {
          originPosition: "upper-left" === n.originPosition ? "upperLeft" : "lower-left" === n.originPosition ? "lowerLeft" : n.originPosition,
          scale: [n.tolerance, n.tolerance],
          translate: [n.extent.xmin, n.extent.ymax]
        } : null;
      }

      function u(n, t) {
        if (n === t || null == n && null == t) return !0;
        if (null == n || null == t) return !1;
        var r, i, u, a, o, l;
        return e(n) ? (r = n.translate[0], i = n.translate[1], u = n.scale[0]) : (r = n.extent.xmin, i = n.extent.ymax, u = n.tolerance), e(t) ? (a = t.translate[0], o = t.translate[1], l = t.scale[0]) : (a = t.extent.xmin, o = t.extent.ymax, l = t.tolerance), r === a && i === o && u === l;
      }

      function a(n, t) {
        var r = n.scale,
            e = n.translate;
        return Math.round((t - e[0]) / r[0]);
      }

      function o(n, t) {
        var r = n.scale,
            e = n.translate;
        return Math.round((e[1] - t) / r[1]);
      }

      function l(n, t, r) {
        for (var e, i, u, l, s = [], m = 0; m < r.length; m++) {
          var f = r[m];
          m > 0 ? (u = a(n, f[0]), l = o(n, f[1]), u === e && l === i || (s.push(t(f, u - e, l - i)), e = u, i = l)) : (e = a(n, f[0]), i = o(n, f[1]), s.push(t(f, e, i)));
        }

        return s.length > 0 ? s : null;
      }

      function s(n, t, r) {
        return t[0] = a(n, r[0]), t[3] = o(n, r[1]), t[2] = a(n, r[2]), t[1] = o(n, r[3]), t;
      }

      function m(n, t, r, e) {
        return l(n, r ? e ? O : G : e ? G : C, t);
      }

      function f(n, t, r, e) {
        for (var i = [], u = r ? e ? O : G : e ? G : C, a = 0; a < t.length; a++) {
          var o = l(n, u, t[a]);
          o && o.length >= 3 && i.push(o);
        }

        return i.length ? i : null;
      }

      function c(n, t, r, e) {
        for (var i = [], u = r ? e ? O : G : e ? G : C, a = 0; a < t.length; a++) {
          var o = l(n, u, t[a]);
          o && o.length >= 2 && i.push(o);
        }

        return i.length ? i : null;
      }

      function h(n, t) {
        var r = n.scale,
            e = n.translate;
        return t * r[0] + e[0];
      }

      function x(n, t) {
        var r = n.scale;
        return n.translate[1] - t * r[1];
      }

      function y(n, t, r) {
        var e = new Array(r.length);
        if (!r.length) return e;
        var i = n.scale,
            u = i[0],
            a = i[1],
            o = h(n, r[0][0]),
            l = x(n, r[0][1]);
        e[0] = t(r[0], o, l);

        for (var s = 1; s < r.length; s++) {
          var m = r[s];
          o += m[0] * u, l -= m[1] * a, e[s] = t(m, o, l);
        }

        return e;
      }

      function g(n, t, r) {
        for (var e = new Array(r.length), i = 0; i < r.length; i++) e[i] = y(n, t, r[i]);

        return e;
      }

      function d(n, t, r) {
        return r ? (t[0] = h(n, r[0]), t[1] = x(n, r[3]), t[2] = h(n, r[2]), t[3] = x(n, r[1]), t) : [h(n, t[0]), x(n, t[3]), h(n, t[2]), x(n, t[1])];
      }

      function z(n, t, r, e) {
        return y(n, r ? e ? O : G : e ? G : C, t);
      }

      function I(n, t, r, e) {
        return g(n, r ? e ? O : G : e ? G : C, t);
      }

      function v(n, t, r, e) {
        return g(n, r ? e ? O : G : e ? G : C, t);
      }

      function P(n, t, r) {
        for (var e = r[0], i = e[0], u = e[1], a = Math.min(i, t[0]), o = Math.min(u, t[1]), l = Math.max(i, t[2]), s = Math.max(u, t[3]), m = 1; m < r.length; m++) {
          var f = r[m],
              c = f[0],
              h = f[1];
          i += c, u += h, c < 0 && (a = Math.min(a, i)), c > 0 && (l = Math.max(l, i)), h < 0 ? o = Math.min(o, u) : h > 0 && (s = Math.max(s, u));
        }

        return n[0] = a, n[1] = o, n[2] = l, n[3] = s, n;
      }

      function p(n, t) {
        if (!t.length) return null;
        n[0] = n[1] = Number.POSITIVE_INFINITY, n[2] = n[3] = Number.NEGATIVE_INFINITY;

        for (var r = 0; r < t.length; r++) P(n, n, t[r]);

        return n;
      }

      function N(n) {
        var t = [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY];
        return P(t, t, n);
      }

      function q(n) {
        return p([0, 0, 0, 0], n);
      }

      function M(n) {
        return p([0, 0, 0, 0], n);
      }

      function T(n, t, r, e, i) {
        return t.xmin = a(n, r.xmin), t.ymin = o(n, r.ymin), t.xmax = a(n, r.xmax), t.ymax = o(n, r.ymax), t !== r && (e && (t.zmin = r.zmin, t.zmax = r.zmax), i && (t.mmin = r.mmin, t.mmax = r.mmax)), t;
      }

      function E(n, t, r, e, i) {
        return t.points = m(n, r.points, e, i), t;
      }

      function A(n, t, r, e, i) {
        return t.x = a(n, r.x), t.y = o(n, r.y), t !== r && (e && (t.z = r.z), i && (t.m = r.m)), t;
      }

      function Y(n, t, r, e, i) {
        var u = f(n, r.rings, e, i);
        return u ? (t.rings = u, t) : null;
      }

      function _(n, t, r, e, i) {
        var u = c(n, r.paths, e, i);
        return u ? (t.paths = u, t) : null;
      }

      function b(n, t) {
        return n && t ? r.isPoint(t) ? A(n, {}, t, !1, !1) : r.isPolyline(t) ? _(n, {}, t, !1, !1) : r.isPolygon(t) ? Y(n, {}, t, !1, !1) : r.isMultipoint(t) ? E(n, {}, t, !1, !1) : r.isExtent(t) ? T(n, {}, t, !1, !1) : null : null;
      }

      function B(n, t, r, e, i) {
        return t.xmin = h(n, r.xmin), t.ymin = x(n, r.ymin), t.xmax = h(n, r.xmax), t.ymax = x(n, r.ymax), t !== r && (e && (t.zmin = r.zmin, t.zmax = r.zmax), i && (t.mmin = r.mmin, t.mmax = r.mmax)), t;
      }

      function F(n, t, r, e, i) {
        return t.points = z(n, r.points, e, i), t;
      }

      function Q(n, t, r, e, i) {
        return t.x = h(n, r.x), t.y = x(n, r.y), t !== r && (e && (t.z = r.z), i && (t.m = r.m)), t;
      }

      function V(n, t, r, e, i) {
        return t.rings = v(n, r.rings, e, i), t;
      }

      function w(n, t, r, e, i) {
        return t.paths = I(n, r.paths, e, i), t;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var C = function C(n, t, r) {
        return [t, r];
      },
          G = function G(n, t, r) {
        return [t, r, n[2]];
      },
          O = function O(n, t, r) {
        return [t, r, n[2], n[3]];
      };

      t.toQuantizationTransform = i, t.equals = u, t.quantizeX = a, t.quantizeY = o, t.quantizeBounds = s, t.quantizePoints = m, t.quantizeRings = f, t.quantizePaths = c, t.hydrateX = h, t.hydrateY = x, t.hydrateCoordsArray = y, t.hydrateCoordsArrayArray = g, t.hydrateBounds = d, t.hydratePoints = z, t.hydratePaths = I, t.hydrateRings = v, t.getQuantizedBoundsCoordsArray = P, t.getQuantizedBoundsCoordsArrayArray = p, t.getQuantizedBoundsPoints = N, t.getQuantizedBoundsPaths = q, t.getQuantizedBoundsRings = M, t.quantizeExtent = T, t.quantizeMultipoint = E, t.quantizePoint = A, t.quantizePolygon = Y, t.quantizePolyline = _, t.quantizeGeometry = b, t.hydrateExtent = B, t.hydrateMultipoint = F, t.hydratePoint = Q, t.hydratePolygon = V, t.hydratePolyline = w;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/scaleUtils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/scaleUtils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportScaleUtilsJs(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/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      function n(e, t) {
        var n = t || e.extent,
            i = e.width,
            o = r.getMetersPerUnitForSR(n && n.spatialReference);
        return n && i ? n.width / i * o * r.inchesPerMeter * u : 0;
      }

      function i(e, t) {
        return e / (r.getMetersPerUnitForSR(t) * r.inchesPerMeter * u);
      }

      function o(e, t) {
        return e * (r.getMetersPerUnitForSR(t) * r.inchesPerMeter * u);
      }

      function c(e, t) {
        var r = e.extent,
            n = e.width,
            o = i(t, r.spatialReference);
        return r.clone().expand(o * n / r.width);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var u = 96;
      t.getScale = n, t.getResolutionForScale = i, t.getScaleForResolution = o, t.getExtentForScale = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportSpatialReferenceUtilsJs(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/string */
    "./node_modules/arcgis-js-api/core/string.js"), __webpack_require__(
    /*! ./WKIDUnitConversion */
    "./node_modules/arcgis-js-api/geometry/support/WKIDUnitConversion.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i, a) {
      function _(e, r) {
        return !(!e || !r) && (e === r || (null != e.wkid || null != r.wkid ? e.wkid === r.wkid || M(e) && M(r) || null != r.latestWkid && e.wkid === r.latestWkid || null != e.latestWkid && r.wkid === e.latestWkid : !(!e.wkt || !r.wkt) && e.wkt.toUpperCase() === r.wkt.toUpperCase()));
      }

      function t(e) {
        return d(e) && e.wkid ? o[e.wkid] : null;
      }

      function l(e) {
        return !!d(e) && (e.wkid ? null == a[e.wkid] : !!e.wkt && !!/^\s*GEOGCS/i.test(e.wkt));
      }

      function n(e) {
        return d(e) && 4326 === e.wkid;
      }

      function M(e) {
        return d(e) && !0 === S[e.wkid];
      }

      function E(e) {
        return d(e) && !0 === R[e.wkid];
      }

      function d(e) {
        return null != e && (null != e.wkid && e.wkid >= 2e3 || null != e.wkt);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var S = {
        102113: !0,
        102100: !0,
        3857: !0,
        3785: !0
      },
          R = {
        102113: !0,
        102100: !0,
        3857: !0,
        3785: !0,
        4326: !0
      },
          A = 'PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',
          G = [-20037508.342788905, 20037508.342788905],
          T = [-20037508.342787, 20037508.342787],
          o = {
        102113: {
          wkTemplate: 'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',
          valid: G,
          origin: T,
          dx: 1e-5
        },
        102100: {
          wkTemplate: A,
          valid: G,
          origin: T,
          dx: 1e-5
        },
        3785: {
          wkTemplate: 'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',
          valid: G,
          origin: T,
          dx: 1e-5
        },
        3857: {
          wkTemplate: A,
          valid: G,
          origin: T,
          dx: 1e-5
        },
        4326: {
          wkTemplate: 'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',
          altTemplate: 'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',
          valid: [-180, 180],
          origin: [-180, 180],
          dx: 1e-5
        }
      };
      r.equals = _, r.getInfo = t, r.isGeographic = l, r.isWGS84 = n, r.isWebMercator = M, r.isWrappable = E, r.isValid = d, r.WGS84 = {
        wkid: 4326,
        wkt: i.replace(t({
          wkid: 4326
        }).wkTemplate, {
          Central_Meridian: "0.0"
        })
      }, r.WebMercator = {
        wkid: 102100,
        latestWkid: 3857
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportWebMercatorUtilsJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/wgs84Constants */
    "./node_modules/arcgis-js-api/core/wgs84Constants.js"), __webpack_require__(
    /*! ../SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t, i, r, a) {
      function o(e) {
        return e * d;
      }

      function s(e) {
        return e * b;
      }

      function l(e) {
        return null != e.wkid || null != e.wkt;
      }

      function u(e, n, t, i, r) {
        var a,
            o,
            s,
            l = e,
            u = r;
        if ("x" in l && "x" in u) a = n(l.x, l.y, m, i), u.x = a[0], u.y = a[1];else if ("xmin" in l && "xmin" in u) o = n(l.xmin, l.ymin, m, i), u.xmin = o[0], u.ymin = o[1], s = n(l.xmax, l.ymax, m, i), u.xmax = s[0], u.ymax = s[1];else if ("paths" in l && "paths" in u || "rings" in l && "rings" in u) {
          for (var c = ("paths" in l) ? l.paths : l.rings, p = [], f = void 0, h = 0; h < c.length; h++) {
            var v = c[h];
            f = [], p.push(f);

            for (var g = 0; g < v.length; g++) f.push(n(v[g][0], v[g][1], [0, 0], i)), v[g].length > 2 && f[g].push(v[g][2]), v[g].length > 3 && f[g].push(v[g][3]);
          }

          "paths" in u ? u.paths = p : u.rings = p;
        } else if ("points" in l && "points" in u) {
          for (var x = l.points, M = [], h = 0; h < x.length; h++) M[h] = n(x[h][0], x[h][1], [0, 0], i), x[h].length > 2 && M[h].push(x[h][2]), x[h].length > 3 && M[h].push(x[h][3]);

          u.points = M;
        } else if ("type" in l && "mesh" === l.type && "type" in u && "mesh" === u.type) {
          var d = l.vertexAttributes && l.vertexAttributes.position,
              b = u.vertexAttributes && u.vertexAttributes.position;
          if (d) for (var y = [0, 0], h = 0; h < d.length; h += 3) n(d[h], d[h + 1], y, i), b[h] = y[0], b[h + 1] = y[1];
        }
        return u.spatialReference = t, r;
      }

      function c(e, n) {
        var t = e && (l(e) ? e : e.spatialReference),
            i = n && (l(n) ? n : n.spatialReference);
        return !(!t || !i) && (!!a.equals(i, t) || a.isWebMercator(i) && a.isWGS84(t) || a.isWebMercator(t) && a.isWGS84(i));
      }

      function p(e, n) {
        var i = e && e.spatialReference,
            o = n && (l(n) ? n : n.spatialReference);
        return c(i, o) ? a.equals(i, o) ? t.clone(e) : a.isWebMercator(o) ? u(e, f, r.WebMercator, !1, t.clone(e)) : a.isWGS84(o) ? u(e, h, r.WGS84, !1, t.clone(e)) : null : null;
      }

      function f(e, n, t) {
        void 0 === t && (t = [0, 0]), n > 89.99999 ? n = 89.99999 : n < -89.99999 && (n = -89.99999);
        var i = s(n);
        return t[0] = s(e) * x, t[1] = M * Math.log((1 + Math.sin(i)) / (1 - Math.sin(i))), t;
      }

      function h(e, n, t, i) {
        void 0 === t && (t = [0, 0]), void 0 === i && (i = !1);
        var r = o(e / x);
        return t[0] = i ? r : r - 360 * Math.floor((r + 180) / 360), t[1] = o(Math.PI / 2 - 2 * Math.atan(Math.exp(-1 * n / x))), t;
      }

      function v(e, n, i) {
        return void 0 === n && (n = !1), void 0 === i && (i = t.clone(e)), u(e, f, r.WebMercator, n, i);
      }

      function g(e, n, i) {
        return void 0 === n && (n = !1), void 0 === i && (i = t.clone(e)), u(e, h, r.WGS84, n, i);
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var x = i.wgs84Radius,
          M = x / 2,
          d = 57.29577951308232,
          b = .017453292519943,
          m = [0, 0];
      n.canProject = c, n.project = p, n.lngLatToXY = f, n.xyToLngLat = h, n.geographicToWebMercator = v, n.webMercatorToGeographic = g;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/geometry/support/zmUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/geometry/support/zmUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGeometrySupportZmUtilsJs(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, a) {
      function r(e, a, r) {
        void 0 === r && (r = !1);
        var h = e.hasM,
            s = e.hasZ;
        Array.isArray(a) ? 4 !== a.length || h || s ? 3 === a.length && r && !h ? (s = !0, h = !1) : 3 === a.length && h && s && (h = !1, s = !1) : (h = !0, s = !0) : (s = !s && a.hasZ && (!h || a.hasM), h = !h && a.hasM && (!s || a.hasZ)), e.hasZ = s, e.hasM = h;
      }

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

  /***/
  "./node_modules/arcgis-js-api/ground/NavigationConstraint.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/ground/NavigationConstraint.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiGroundNavigationConstraintJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var p = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "none", r;
        }

        r(t, e), n = t, t.prototype.clone = function () {
          return new n({
            type: this.type
          });
        };
        var n;
        return o([a.enumeration.serializable()({
          none: "none",
          stayAbove: "stay-above"
        })], t.prototype, "type", void 0), t = n = o([a.subclass("esri.ground.NavigationConstraint")], t);
      }(a.declared(n.JSONSupport));

      t.NavigationConstraint = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiIntlJs(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__(
    /*! ./intl/date */
    "./node_modules/arcgis-js-api/intl/date.js"), __webpack_require__(
    /*! ./intl/number */
    "./node_modules/arcgis-js-api/intl/number.js"), __webpack_require__(
    /*! ./intl/substitute */
    "./node_modules/arcgis-js-api/intl/substitute.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r, n) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.formatDate = o.formatDate, e.convertDateFormatToIntlOptions = o.convertDateFormatToIntlOptions, e.formatNumber = r.formatNumber, e.convertNumberFormatToIntlOptions = r.convertNumberFormatToIntlOptions, e.substitute = n.substitute;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/intl/date.js":
  /*!*************************************************!*\
    !*** ./node_modules/arcgis-js-api/intl/date.js ***!
    \*************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiIntlDateJs(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__(
    /*! @dojo/framework/shim/WeakMap */
    "./node_modules/@dojo/framework/shim/WeakMap.mjs"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ./locale */
    "./node_modules/arcgis-js-api/intl/locale.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, o, e, r, a, n) {
      function h(t) {
        var o = t || S;

        if (!T.has(o)) {
          var e = n.getLocale(),
              r = D[n.getLocale()] || e;
          T.set(o, new Intl.DateTimeFormat(r, o));
        }

        return T.get(o);
      }

      function m(t) {
        return c[t] || null;
      }

      function i(t, o) {
        return h(o).format(t);
      }

      Object.defineProperty(o, "__esModule", {
        value: !0
      });
      var l = {
        year: "numeric",
        month: "numeric",
        day: "numeric"
      },
          s = {
        year: "numeric",
        month: "long",
        day: "numeric"
      },
          d = {
        year: "numeric",
        month: "short",
        day: "numeric"
      },
          y = {
        year: "numeric",
        month: "long",
        weekday: "long",
        day: "numeric"
      },
          g = {
        hour: "numeric",
        minute: "numeric"
      },
          u = e({}, g, {
        second: "numeric"
      }),
          c = {
        "short-date": l,
        "short-date-short-time": e({}, l, g),
        "short-date-short-time-24": e({}, l, g, {
          hour12: !1
        }),
        "short-date-long-time": e({}, l, u),
        "short-date-long-time-24": e({}, l, u, {
          hour12: !1
        }),
        "short-date-le": l,
        "short-date-le-short-time": e({}, l, g),
        "short-date-le-short-time-24": e({}, l, g, {
          hour12: !1
        }),
        "short-date-le-long-time": e({}, l, u),
        "short-date-le-long-time-24": e({}, l, u, {
          hour12: !1
        }),
        "long-month-day-year": s,
        "long-month-day-year-short-time": e({}, s, g),
        "long-month-day-year-short-time-24": e({}, s, g, {
          hour12: !1
        }),
        "long-month-day-year-long-time": e({}, s, u),
        "long-month-day-year-long-time-24": e({}, s, u, {
          hour12: !1
        }),
        "day-short-month-year": d,
        "day-short-month-year-short-time": e({}, d, g),
        "day-short-month-year-short-time-24": e({}, d, g, {
          hour12: !1
        }),
        "day-short-month-year-long-time": e({}, d, u),
        "day-short-month-year-long-time-24": e({}, d, u, {
          hour12: !1
        }),
        "long-date": y,
        "long-date-short-time": e({}, y, g),
        "long-date-short-time-24": e({}, y, g, {
          hour12: !1
        }),
        "long-date-long-time": e({}, y, u),
        "long-date-long-time-24": e({}, y, u, {
          hour12: !1
        }),
        "long-month-year": {
          month: "long",
          year: "numeric"
        },
        "short-month-year": {
          month: "short",
          year: "numeric"
        },
        year: {
          year: "numeric"
        },
        "short-time": g,
        "long-time": u
      };
      o.dictionary = a.strict()({
        shortDate: "short-date",
        shortDateShortTime: "short-date-short-time",
        shortDateShortTime24: "short-date-short-time-24",
        shortDateLongTime: "short-date-long-time",
        shortDateLongTime24: "short-date-long-time-24",
        shortDateLE: "short-date-le",
        shortDateLEShortTime: "short-date-le-short-time",
        shortDateLEShortTime24: "short-date-le-short-time-24",
        shortDateLELongTime: "short-date-le-long-time",
        shortDateLELongTime24: "short-date-le-long-time-24",
        longMonthDayYear: "long-month-day-year",
        longMonthDayYearShortTime: "long-month-day-year-short-time",
        longMonthDayYearShortTime24: "long-month-day-year-short-time-24",
        longMonthDayYearLongTime: "long-month-day-year-long-time",
        longMonthDayYearLongTime24: "long-month-day-year-long-time-24",
        dayShortMonthYear: "day-short-month-year",
        dayShortMonthYearShortTime: "day-short-month-year-short-time",
        dayShortMonthYearShortTime24: "day-short-month-year-short-time-24",
        dayShortMonthYearLongTime: "day-short-month-year-long-time",
        dayShortMonthYearLongTime24: "day-short-month-year-long-time-24",
        longDate: "long-date",
        longDateShortTime: "long-date-short-time",
        longDateShortTime24: "long-date-short-time-24",
        longDateLongTime: "long-date-long-time",
        longDateLongTime24: "long-date-long-time-24",
        longMonthYear: "long-month-year",
        shortMonthYear: "short-month-year",
        year: "year"
      }), o.dateFormats = o.dictionary.apiValues, o.toJSON = o.dictionary.toJSON.bind(o.dictionary), o.fromJSON = o.dictionary.fromJSON.bind(o.dictionary);
      var D = {
        ar: "ar-u-nu-latn-ca-gregory"
      },
          T = new r["default"](),
          S = c["short-date-short-time"];
      n.onLocaleChange(function () {
        T = new r["default"](), S = c["short-date-short-time"];
      }), o.getDateTimeFormatter = h, o.convertDateFormatToIntlOptions = m, o.formatDate = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/intl/locale.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/intl/locale.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiIntlLocaleJs(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__(
    /*! dojo/_base/kernel */
    "./node_modules/dojo/_base/kernel.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, o) {
      function c() {
        return t;
      }

      function l(e) {
        t = e, u.slice().forEach(function (n) {
          n.call(null, e);
        });
      }

      function r(e) {
        return u.push(e), {
          remove: function remove() {
            u.splice(u.indexOf(e), 1);
          }
        };
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var t = o.locale;
      n.getLocale = c, n.setLocale = l;
      var u = [];
      n.onLocaleChange = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/intl/number.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/intl/number.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiIntlNumberJs(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__(
    /*! @dojo/framework/shim/WeakMap */
    "./node_modules/@dojo/framework/shim/WeakMap.mjs"), __webpack_require__(
    /*! ./locale */
    "./node_modules/arcgis-js-api/intl/locale.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, n) {
      function o(e) {
        var r = e || m;

        if (!c.has(r)) {
          var t = n.getLocale(),
              a = l[n.getLocale()] || t;
          c.set(r, new Intl.NumberFormat(a, e));
        }

        return c.get(r);
      }

      function i(e) {
        void 0 === e && (e = {});
        var r = {};
        return null != e.digitSeparator && (r.useGrouping = e.digitSeparator), null != e.places && (r.minimumFractionDigits = r.maximumFractionDigits = e.places), r;
      }

      function u(e, r) {
        return o(r).format(e);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var l = {
        ar: "ar-u-nu-arab"
      },
          c = new a["default"](),
          m = {};
      n.onLocaleChange(function () {
        c = new a["default"](), m = {};
      }), r.getFormatter = o, r.convertNumberFormatToIntlOptions = i, r.formatNumber = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/intl/substitute.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/intl/substitute.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiIntlSubstituteJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ../core/string */
    "./node_modules/arcgis-js-api/core/string.js"), __webpack_require__(
    /*! ./date */
    "./node_modules/arcgis-js-api/intl/date.js"), __webpack_require__(
    /*! ./number */
    "./node_modules/arcgis-js-api/intl/number.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, a, o, i) {
      function u(e, r, t) {
        void 0 === t && (t = {});
        var n = t.format,
            o = void 0 === n ? {} : n;
        return a.replace(e, function (e) {
          return f(e, r, o);
        });
      }

      function f(e, r, t) {
        var a,
            o,
            i = e.indexOf(":");
        if (-1 === i ? a = e.trim() : (a = e.slice(0, i).trim(), o = e.slice(i + 1).trim()), !a) return "";
        var u = n.getDeepValue(a, r);
        if (null == u) return "";
        var f = t[o] || t[a];
        return f ? s(u, f) : o ? c(u, o) : m(u);
      }

      function s(e, r) {
        switch (r.type) {
          case "date":
            return o.formatDate(e, r.intlOptions);

          case "number":
            return i.formatNumber(e, r.intlOptions);

          default:
            return d.warn("missing format descriptor for key {key}"), m(e);
        }
      }

      function c(e, r) {
        switch (r.toLowerCase()) {
          case "dateformat":
            return o.formatDate(e);

          case "numberformat":
            return i.formatNumber(e);

          default:
            return d.warn("inline format is unsupported since 4.12: " + r), /^(dateformat|datestring)/i.test(r) ? o.formatDate(e) : /^numberformat/i.test(r) ? i.formatNumber(e) : m(e);
        }
      }

      function m(e) {
        switch (typeof e) {
          case "string":
            return e;

          case "number":
            return i.formatNumber(e);

          case "boolean":
            return "" + e;

          default:
            return e instanceof Date ? o.formatDate(e) : "";
        }
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var d = t.getLogger("esri.intl");
      r.substitute = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiKernelJs(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__(
    /*! dojo/_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./support/revision */
    "./node_modules/arcgis-js-api/support/revision.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, s, o, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.revision = t.commitHash, function () {
        var e = n.config,
            r = void 0 !== e.useDeferredInstrumentation,
            o = e.has && void 0 !== e.has["config-deferredInstrumentation"],
            t = e.has && void 0 !== e.has["config-useDeferredInstrumentation"];
        r || o || t || (s.add("config-deferredInstrumentation", !1, !0, !0), s.add("config-useDeferredInstrumentation", !1, !0, !0));
      }(), r.version = "4.14", r.workerMessages = {
        request: function request(r) {
          return o.create(function (r) {
            Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./request */
              "./node_modules/arcgis-js-api/request.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (e) {
            var n = r.options || {};
            return n.responseType = "array-buffer", e(r.url, n);
          }).then(function (e) {
            return {
              result: {
                data: e.data,
                ssl: e.ssl
              },
              transferList: [e.data]
            };
          });
        }
      }, !s("host-webworker") && s("esri-console-log-version") && (s("esri-next") ? console.warn("Using ArcGIS API for JavaScript " + r.version + "-next [Date: " + t.buildDate + ", Revision: " + t.commitHash.slice(0, 8) + "]") : console.debug("Using ArcGIS API for JavaScript " + r.version + " [Date: " + t.buildDate + ", Revision: " + t.commitHash.slice(0, 8) + "]"));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersFeatureLayerJs(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 for the layer.
                 *
                 * @name copyright
                 * @instance
                 * @type {string}
                 */


    !(__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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.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__(
    /*! ../PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__(
    /*! ../renderers */
    "./node_modules/arcgis-js-api/renderers.js"), __webpack_require__(
    /*! ../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.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/MultiOriginJSONSupport */
    "./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js"), __webpack_require__(
    /*! ../core/object */
    "./node_modules/arcgis-js-api/core/object.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/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/HeightModelInfo */
    "./node_modules/arcgis-js-api/geometry/HeightModelInfo.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__(
    /*! ./graphics/sources/MemorySource */
    "./node_modules/arcgis-js-api/layers/graphics/sources/MemorySource.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/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__(
    /*! ./mixins/TemporalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/TemporalLayer.js"), __webpack_require__(
    /*! ./support/arcgisLayerUrl */
    "./node_modules/arcgis-js-api/layers/support/arcgisLayerUrl.js"), __webpack_require__(
    /*! ./support/commonProperties */
    "./node_modules/arcgis-js-api/layers/support/commonProperties.js"), __webpack_require__(
    /*! ./support/FeatureIndex */
    "./node_modules/arcgis-js-api/layers/support/FeatureIndex.js"), __webpack_require__(
    /*! ./support/FeatureReduction */
    "./node_modules/arcgis-js-api/layers/support/FeatureReduction.js"), __webpack_require__(
    /*! ./support/FeatureReductionCluster */
    "./node_modules/arcgis-js-api/layers/support/FeatureReductionCluster.js"), __webpack_require__(
    /*! ./support/FeatureReductionSelection */
    "./node_modules/arcgis-js-api/layers/support/FeatureReductionSelection.js"), __webpack_require__(
    /*! ./support/featureReductionUtils */
    "./node_modules/arcgis-js-api/layers/support/featureReductionUtils.js"), __webpack_require__(
    /*! ./support/FeatureTemplate */
    "./node_modules/arcgis-js-api/layers/support/FeatureTemplate.js"), __webpack_require__(
    /*! ./support/FeatureType */
    "./node_modules/arcgis-js-api/layers/support/FeatureType.js"), __webpack_require__(
    /*! ./support/fieldProperties */
    "./node_modules/arcgis-js-api/layers/support/fieldProperties.js"), __webpack_require__(
    /*! ./support/FieldsIndex */
    "./node_modules/arcgis-js-api/layers/support/FieldsIndex.js"), __webpack_require__(
    /*! ./support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ./support/LabelClass */
    "./node_modules/arcgis-js-api/layers/support/LabelClass.js"), __webpack_require__(
    /*! ./support/labelingInfo */
    "./node_modules/arcgis-js-api/layers/support/labelingInfo.js"), __webpack_require__(
    /*! ./support/layerSourceUtils */
    "./node_modules/arcgis-js-api/layers/support/layerSourceUtils.js"), __webpack_require__(
    /*! ./support/Relationship */
    "./node_modules/arcgis-js-api/layers/support/Relationship.js"), __webpack_require__(
    /*! ./support/TimeInfo */
    "./node_modules/arcgis-js-api/layers/support/TimeInfo.js"), __webpack_require__(
    /*! ../renderers/support/jsonUtils */
    "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js"), __webpack_require__(
    /*! ../renderers/support/styleUtils */
    "./node_modules/arcgis-js-api/renderers/support/styleUtils.js"), __webpack_require__(
    /*! ../support/popupUtils */
    "./node_modules/arcgis-js-api/support/popupUtils.js"), __webpack_require__(
    /*! ../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js"), __webpack_require__(
    /*! ../tasks/support/AttachmentQuery */
    "./node_modules/arcgis-js-api/tasks/support/AttachmentQuery.js"), __webpack_require__(
    /*! ../tasks/support/FeatureSet */
    "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js"), __webpack_require__(
    /*! ../tasks/support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js"), __webpack_require__(
    /*! ../tasks/support/RelationshipQuery */
    "./node_modules/arcgis-js-api/tasks/support/RelationshipQuery.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, a, s, p, l, u, d, y, c, f, h, m, b, v, g, w, S, I, F, D, x, T, O, R, M, A, j, E, C, P, L, _, Q, q, U, G, V, z, k, B, N, W, H, J, Z, K, $, X, Y, ee, te, re, ie, oe) {
      function ne(e) {
        return e && e instanceof y;
      }

      function ae(e, t, r) {
        return !!(e && e.hasOwnProperty(t) ? e[t] : r);
      }

      function se(e, t, r) {
        return e && e.hasOwnProperty(t) ? e[t] : r;
      }

      var pe = new h["default"]({
        esriGeometryPoint: "point",
        esriGeometryMultipoint: "multipoint",
        esriGeometryPolyline: "polyline",
        esriGeometryPolygon: "polygon",
        esriGeometryMultiPatch: "multipatch"
      }),
          le = {
        name: "supportsName",
        size: "supportsSize",
        contentType: "supportsContentType",
        keywords: "supportsKeywords",
        exifInfo: "supportsExifInfo"
      },
          ue = "FeatureLayer",
          de = m.getLogger("esri.layers.FeatureLayer"),
          ye = k.defineFieldProperties();
      return function (t) {
        function n(e) {
          var r = t.call(this, e) || this;
          return r._handles = new f(), r.capabilities = null, r.copyright = null, r.displayField = null, r.definitionExpression = null, r.dynamicDataSource = null, r.editFieldsInfo = null, r.editingEnabled = !0, r.editingInfo = null, r.elevationInfo = null, r.featureReduction = null, r.fields = null, r.fullExtent = null, r.gdbVersion = null, r.geometryProperties = null, r.geometryType = null, r.hasM = void 0, r.hasZ = void 0, r.heightModelInfo = null, r.historicMoment = null, r.isTable = !1, r.labelsVisible = !0, r.labelingInfo = null, r.layerId = void 0, r.legendEnabled = !0, r.minScale = 0, r.maxScale = 0, r.globalIdField = null, r.objectIdField = null, r.outFields = null, r.path = null, r.popupEnabled = !0, r.popupTemplate = null, r.relationships = null, r.sourceJSON = null, r.returnM = void 0, r.returnZ = void 0, r.screenSizePerspectiveEnabled = !0, r.serviceDefinitionExpression = null, r.spatialReference = x.WGS84, r.templates = null, r.timeInfo = null, r.title = null, r.sublayerTitleMode = "item-title", r.trackIdField = null, r.type = "feature", r.typeIdField = null, r.types = null, r.indexes = new (y.ofType(_.FeatureIndex))(), r.userIsAdmin = !1, r.version = void 0, r.visible = !0, r;
        }

        return i(n, t), n.prototype.destroy = function () {
          this._handles && (this._handles.destroy(), this._handles = null);
        }, n.prototype.normalizeCtorArgs = function (e, t) {
          return "string" == typeof e ? r({
            url: e
          }, t) : e;
        }, n.prototype.load = function (e) {
          var t = this,
              r = b.isSome(e) ? e.signal : null;
          if (this.portalItem && this.portalItem.loaded && this.source) return void this.addResolvingPromise(this.createGraphicsSource(r).then(function (e) {
            return t._initLayerProperties(e);
          }));
          var i = this.loadFromPortal({
            supportedTypes: ["Feature Service", "Feature Collection"]
          }, e)["catch"](function (e) {
            return e;
          }).then(function () {
            return s(t, void 0, void 0, function () {
              var e, t;
              return a(this, function (i) {
                switch (i.label) {
                  case 0:
                    return this.url && null == this.layerId && /FeatureServer|MapServer\/*$/i.test(this.url) ? [4, this._fetchFirstLayerId(r)] : [3, 2];

                  case 1:
                    e = i.sent(), null != e && (this.layerId = e), i.label = 2;

                  case 2:
                    if (!this.url && !this._hasMemorySource()) throw new c("feature-layer:missing-url-or-source", "Feature layer must be created with either a url or a source");
                    return t = this._initLayerProperties, [4, this.createGraphicsSource(r)];

                  case 3:
                    return [2, t.apply(this, [i.sent()])];
                }
              });
            });
          });
          return this.addResolvingPromise(i), this.when();
        }, n.prototype.readCapabilities = function (e, t) {
          return t = t.layerDefinition || t, {
            attachment: this._readAttachmentCapabilities(t.attachmentProperties),
            data: this._readDataCapabilities(t),
            metadata: this._readMetadataCapabilities(t),
            operations: this._readOperationsCapabilities(t.capabilities || e, t),
            query: this._readQueryCapabilities(t),
            queryRelated: this._readQueryRelatedCapabilities(t),
            editing: this._readEditingCapabilities(t)
          };
        }, n.prototype.readEditingEnabled = function (e, t) {
          return !t.layerDefinition || "Query" !== t.layerDefinition.capabilities;
        }, n.prototype.writeEditingEnabled = function (e, t) {
          e || g.setDeepValue("layerDefinition.capabilities", "Query", t);
        }, n.prototype.readEditingInfo = function (e, t) {
          var r = t.editingInfo;
          return r ? {
            lastEditDate: null != r.lastEditDate ? new Date(r.lastEditDate) : null
          } : null;
        }, n.prototype.readFeatureReduction = function (e, t, r) {
          return G.read(e, t, r);
        }, n.prototype.writeWebSceneFeatureReduction = function (e, t, r, i) {
          G.writeTarget(e, t, "layerDefinition.featureReduction", i);
        }, Object.defineProperty(n.prototype, "fieldsIndex", {
          get: function get() {
            return new B(this.fields || []);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readIsTable = function (e, t) {
          return t = t && t.layerDefinition || t, "Table" === t.type;
        }, Object.defineProperty(n.prototype, "hasService", {
          get: function get() {
            return !this._hasMemorySource();
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readMinScale = function (e, t) {
          return t.effectiveMinScale || e || 0;
        }, n.prototype.readMaxScale = function (e, t) {
          return t.effectiveMaxScale || e || 0;
        }, n.prototype.readGlobalIdFieldFromService = function (e, t) {
          if (t = t.layerDefinition || t, t.globalIdField) return t.globalIdField;
          if (t.fields) for (var r = 0, i = t.fields; r < i.length; r++) {
            var o = i[r];
            if ("esriFieldTypeGlobalID" === o.type) return o.name;
          }
        }, n.prototype.readObjectIdFieldFromService = function (e, t) {
          if (t = t.layerDefinition || t, t.objectIdField) return t.objectIdField;
          if (t.fields) for (var r = 0, i = t.fields; r < i.length; r++) {
            var o = i[r];
            if ("esriFieldTypeOID" === o.type) return o.name;
          }
        }, Object.defineProperty(n.prototype, "parsedUrl", {
          get: function get() {
            var e = this.url ? S.urlToObject(this.url) : null;
            if (null != e) if (null != this.layerId) e.path = S.join(e.path, this.layerId.toString());else if (null != this.dynamicDataSource) {
              var t = {
                source: J.sourceToJSON(this.dynamicDataSource)
              };
              e.query = {
                layer: JSON.stringify(t)
              };
            }
            return e;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "defaultPopupTemplate", {
          get: function get() {
            return this.createPopupTemplate();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "renderer", {
          set: function set(e) {
            N.fixRendererFields(e, this.fields), this._set("renderer", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readRenderer = function (e, t, r) {
          t = t.layerDefinition || t;
          var i,
              o,
              n = t.drawingInfo && t.drawingInfo.renderer || void 0;
          if (n) (i = $.read(n, t, r) || void 0) || de.error("Failed to create renderer", {
            rendererDefinition: t.drawingInfo.renderer,
            layer: this,
            context: r
          });else if (t.defaultSymbol) ee.read(t.defaultSymbol, t, r), t.types && t.types.length ? (i = new l.UniqueValueRenderer({
            defaultSymbol: o,
            field: t.typeIdField
          }), t.types.forEach(function (e) {
            n.addUniqueValueInfo(e.id, ee.read(e.symbol, e, r));
          })) : i = new l.SimpleRenderer({
            symbol: o
          });else if ("Table" !== t.type) {
            switch (t.geometryType) {
              case "esriGeometryPoint":
              case "esriGeometryMultipoint":
                o = new d.SimpleMarkerSymbol();
                break;

              case "esriGeometryPolyline":
                o = new d.SimpleLineSymbol();
                break;

              case "esriGeometryPolygon":
                o = new d.SimpleFillSymbol();
            }

            i = o && new l.SimpleRenderer({
              symbol: o
            });
          }
          return i;
        }, n.prototype.writeRenderer = function (e, t, r, i) {
          $.writeTarget(e, t, r, i);
        }, n.prototype.writeWebSceneRenderer = function (e, t, r, i) {
          $.writeTarget(e, t, "layerDefinition.drawingInfo.renderer", i);
        }, Object.defineProperty(n.prototype, "source", {
          set: function set(e) {
            var t = this._get("source");

            t !== e && (ne(t) && this._resetMemorySource(t), ne(e) && this._initMemorySource(e), this._set("source", e));
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.castSource = function (e) {
          return e ? Array.isArray(e) || e instanceof y ? new O["default"]({
            layer: this,
            items: e
          }) : e : null;
        }, n.prototype.readSource = function (e, t) {
          var r = re.fromJSON(t.featureSet);
          return new O["default"]({
            layer: this,
            items: r && r.features || []
          });
        }, n.prototype.readTemplates = function (e, t) {
          var r = t.editFieldsInfo,
              i = r && r.creatorField,
              o = r && r.editorField;
          return e = e && e.map(function (e) {
            return V.fromJSON(e);
          }), this._fixTemplates(e, i), this._fixTemplates(e, o), e;
        }, n.prototype.readTitle = function (e, t) {
          var r = t.layerDefinition && t.layerDefinition.name || t.name,
              i = t.title || t.layerDefinition && t.layerDefinition.title;

          if (r) {
            var o = this.portalItem && this.portalItem.title;
            if ("item-title" === this.sublayerTitleMode) return this.url ? P.titleFromUrlAndName(this.url, r) : r;
            var n = r || this.url && P.parse(this.url).title;
            if (!n) return;
            return "item-title-and-service-name" === this.sublayerTitleMode && o && (n = o + " - " + n), P.cleanTitle(n);
          }

          if ("item-title" === this.sublayerTitleMode && i) return i;
        }, n.prototype.readTitleFromWebMap = function (e, t) {
          return t.title || t.layerDefinition && t.layerDefinition.name;
        }, n.prototype.readTypeIdField = function (e, t) {
          t = t.layerDefinition || t;
          var r = t.typeIdField;

          if (r) {
            var i = N.getField(t.fields, r);
            i && (r = i.name);
          }

          return r;
        }, n.prototype.readTypes = function (e, t) {
          var r = this;
          t = t.layerDefinition || t, e = t.types;
          var i = t.editFieldsInfo,
              o = i && i.creatorField,
              n = i && i.editorField;
          return e && e.map(function (e) {
            return e = z.fromJSON(e), r._fixTemplates(e.templates, o), r._fixTemplates(e.templates, n), e;
          });
        }, Object.defineProperty(n.prototype, "url", {
          set: function set(e) {
            var t = P.sanitizeUrlWithLayerId(this, e, de);
            this._set("url", t.url), null != t.layerId && this._set("layerId", t.layerId);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.writeUrl = function (e, t, r, i) {
          P.writeUrlWithLayerId(this, e, null, t, i);
        }, n.prototype.readVersion = function (e, t) {
          return t.currentVersion ? t.currentVersion : t.hasOwnProperty("capabilities") || t.hasOwnProperty("drawingInfo") || t.hasOwnProperty("hasAttachments") || t.hasOwnProperty("htmlPopupType") || t.hasOwnProperty("relationships") || t.hasOwnProperty("timeInfo") || t.hasOwnProperty("typeIdField") || t.hasOwnProperty("types") ? 10 : 9.3;
        }, n.prototype.readVisible = function (e, t) {
          return t.layerDefinition && null != t.layerDefinition.defaultVisibility ? !!t.layerDefinition.defaultVisibility : null != t.visibility ? !!t.visibility : void 0;
        }, n.prototype.addAttachment = function (e, t) {
          var r = this;
          return this.load().then(function () {
            return r._checkAttachmentSupport(e);
          }).then(function () {
            if (!("addAttachment" in r.source)) throw new c(ue, "Layer source does not support addAttachment capability");
            return r.source.addAttachment(e, t);
          });
        }, n.prototype.updateAttachment = function (e, t, r) {
          var i = this;
          return this.load().then(function () {
            return i._checkAttachmentSupport(e);
          }).then(function () {
            if (!("updateAttachment" in i.source)) throw new c(ue, "Layer source does not support updateAttachment capability");
            return i.source.updateAttachment(e, t, r);
          });
        }, n.prototype.applyEdits = function (t, r) {
          return s(this, void 0, void 0, function () {
            var i;
            return a(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, new Promise(function (t, r) {
                    __webpack_require__.e(
                    /*! AMD require */
                    92).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./graphics/editingSupport */
                      "./node_modules/arcgis-js-api/layers/graphics/editingSupport.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](r.bind(this));
                  })];

                case 1:
                  return i = o.sent(), [2, i.applyEdits(this, t, r)];
              }
            });
          });
        }, n.prototype.on = function (e, t) {
          return this.inherited(arguments, [e, t]);
        }, n.prototype.createPopupTemplate = function (e) {
          return Y.createPopupTemplate(this, e);
        }, n.prototype.createGraphicsSource = function (t) {
          return s(this, void 0, void 0, function () {
            var r, i;
            return a(this, function (o) {
              switch (o.label) {
                case 0:
                  return this._hasMemorySource() ? (this.emit("graphics-source-create", {
                    graphicsSource: this.source
                  }), [2, this.source.load({
                    signal: t
                  })]) : [4, w.create(function (t) {
                    return __webpack_require__.e(
                    /*! AMD require */
                    93).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./graphics/sources/FeatureLayerSource */
                      "./node_modules/arcgis-js-api/layers/graphics/sources/FeatureLayerSource.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](__webpack_require__.oe);
                  })];

                case 1:
                  return r = o.sent(), w.throwIfAborted(t), [4, new r["default"]({
                    layer: this
                  }).load({
                    signal: t
                  })];

                case 2:
                  return i = o.sent(), this.emit("graphics-source-create", {
                    graphicsSource: i
                  }), [2, i];
              }
            });
          });
        }, n.prototype.createQuery = function () {
          var e = new ie(),
              t = this.get("capabilities.data");
          return e.gdbVersion = this.gdbVersion, e.historicMoment = this.historicMoment, e.returnGeometry = !0, t && (t.supportsZ && null != this.returnZ && (e.returnZ = this.returnZ), t.supportsM && null != this.returnM && (e.returnM = this.returnM)), e.outFields = ["*"], e.where = this.definitionExpression || "1=1", e.multipatchOption = "multipatch" === this.geometryType ? "xyFootprint" : null, e;
        }, n.prototype.deleteAttachments = function (e, t) {
          var r = this;
          return this.load().then(function () {
            return r._checkAttachmentSupport(e);
          }).then(function () {
            if (!("deleteAttachments" in r.source)) throw new c(ue, "Layer source does not support deleteAttachments capability");
            return r.source.deleteAttachments(e, t);
          });
        }, n.prototype.getFeatureType = function (e) {
          var t = this,
              r = t.typeIdField,
              i = t.types;
          if (!r || !e) return null;
          var o = e.attributes ? e.attributes[r] : void 0;
          if (null == o) return null;
          var n = null;
          return i.some(function (e) {
            var t = e.id;
            return null != t && (t.toString() === o.toString() && (n = e), !!n);
          }), n;
        }, n.prototype.getFieldDomain = function (e, t) {
          var r,
              i = this,
              o = !1,
              n = t && t.feature,
              a = n && n.attributes,
              s = this.typeIdField && a && a[this.typeIdField];
          return null != s && this.types && this.types.some(function (t) {
            return t.id == s && (r = t.domains && t.domains[e], r && "inherited" === r.type && (r = i._getLayerDomain(e), o = !0), !0);
          }), o || r || (r = this._getLayerDomain(e)), r;
        }, n.prototype.getField = function (e) {
          return this.fieldsIndex.get(e);
        }, n.prototype.queryAttachments = function (e, t) {
          var r = this;
          return e = te.from(e), this.load().then(function () {
            if (!r.get("capabilities.data.supportsAttachment")) throw new c(ue, "this layer doesn't support attachments");
            var t = e.attachmentTypes,
                i = e.objectIds,
                o = e.globalIds,
                n = e.num,
                a = e.size,
                s = e.start,
                p = e.where;

            if (!r.get("capabilities.operations.supportsQueryAttachments")) {
              var l = i && i.length > 1,
                  u = t && t.length,
                  d = o && o.length,
                  y = a && a.length;
              if (l || u || d || y || n || s || p) throw new c(ue, "when 'supportsQueryAttachments' is false, only objectIds of length 1 are supported", e);
            }

            if (!(i && i.length || p)) throw new c(ue, "'objectIds' or 'where' are required to perform attachment query", e);
            if (!("queryAttachments" in r.source)) throw new c(ue, "Layer source does not support queryAttachments capability", e);
            return r.source.queryAttachments(e);
          });
        }, n.prototype.queryFeatures = function (e, t) {
          var r = this;
          return this.load().then(function () {
            return r.source.queryFeatures(ie.from(e) || r.createQuery(), t);
          }).then(function (e) {
            if (e && e.features) for (var t = 0, i = e.features; t < i.length; t++) {
              var o = i[t];
              o.layer = o.sourceLayer = r;
            }
            return e;
          });
        }, n.prototype.queryObjectIds = function (e, t) {
          var r = this;
          return this.load().then(function () {
            if (r.source.queryObjectIds) return r.source.queryObjectIds(ie.from(e) || r.createQuery(), t);
            throw new c(ue, "Layer source does not support queryObjectIds capability");
          });
        }, n.prototype.queryFeatureCount = function (e, t) {
          var r = this;
          return this.load().then(function () {
            if (r.source.queryFeatureCount) return r.source.queryFeatureCount(ie.from(e) || r.createQuery(), t);
            throw new c(ue, "Layer source does not support queryFeatureCount capability");
          });
        }, n.prototype.queryExtent = function (e, t) {
          var r = this;
          return this.load().then(function () {
            if (r.source.queryExtent) return r.source.queryExtent(ie.from(e) || r.createQuery(), t);
            throw new c(ue, "Layer source does not support queryExtent capability");
          });
        }, n.prototype.queryRelatedFeatures = function (e, t) {
          var r = this;
          return this.load().then(function () {
            if ("queryRelatedFeatures" in r.source) return r.source.queryRelatedFeatures(oe.from(e), t);
            throw new c(ue, "Layer source does not support queryRelatedFeatures capability");
          });
        }, n.prototype.read = function (e, t) {
          var r = e.featureCollection;

          if (r) {
            var i = r.layers;
            i && 1 === i.length && (this.inherited(arguments, [i[0], t]), null != r.showLegend && this.inherited(arguments, [{
              showLegend: r.showLegend
            }, t]));
          }

          this.inherited(arguments, [e, t]), t && "service" === t.origin && this.revert(["objectIdField", "fields", "timeInfo"], "service");
        }, n.prototype.write = function (e, t) {
          return t && ("web-scene" === t.origin || "web-map" === t.origin) && t.messages && this.isTable ? (t.messages.push(new c("layer:unsupported", "Layers (" + this.title + ", " + this.id + ") of type '" + this.declaredClass + "' using a Table source cannot written to web scenes and web maps", {
            layer: this
          })), null) : this.inherited(arguments);
        }, n.prototype._checkAttachmentSupport = function (e) {
          var t = e.attributes,
              r = this.objectIdField;
          return this.get("capabilities.data.supportsAttachment") ? e ? t ? t[r] ? void 0 : w.reject(new c(ue, "feature is missing the identifying attribute " + r)) : w.reject(new c(ue, "'attributes' are required on a feature to query attachments")) : w.reject(new c(ue, "A feature is required to add/delete/update attachments")) : w.reject(new c(ue, "this layer doesn't support attachments"));
        }, n.prototype._getLayerDomain = function (e) {
          if (!this.fields) return null;
          var t = null;
          return this.fields.some(function (r) {
            return r.name === e && (t = r.domain), !!t;
          }), t;
        }, n.prototype._fetchFirstLayerId = function (e) {
          return u(this.url, {
            query: {
              f: "json"
            },
            responseType: "json",
            signal: e
          }).then(function (e) {
            var t = e.data;
            if (t) return Array.isArray(t.layers) && t.layers.length > 0 ? t.layers[0].id : Array.isArray(t.tables) && t.tables.length > 0 ? t.tables[0].id : void 0;
          });
        }, n.prototype._initLayerProperties = function (e) {
          return s(this, void 0, void 0, function () {
            return a(this, function (t) {
              return this._set("source", e), e.sourceJSON && (this.sourceJSON = e.sourceJSON, this.read(e.sourceJSON, {
                origin: "service",
                url: this.parsedUrl
              })), this._verifySource(), this._verifyFields(), N.fixRendererFields(this.renderer, this.fields), N.fixTimeInfoFields(this.timeInfo, this.fields), [2, X.loadStyleRenderer(this, {
                origin: "service"
              })];
            });
          });
        }, n.prototype._verifyFields = function () {
          var e = this.parsedUrl && this.parsedUrl.path || "undefined";
          this.objectIdField || console.log("FeatureLayer: 'objectIdField' property is not defined (url: " + e + ")"), this.isTable || this._hasMemorySource() || -1 !== e.search(/\/FeatureServer\//i) || this.fields && this.fields.some(function (e) {
            return "geometry" === e.type;
          }) || console.log("FeatureLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: " + e + ")");
        }, n.prototype._fixTemplates = function (e, t) {
          e && e.forEach(function (e) {
            var r = e.prototype && e.prototype.attributes;
            r && t && delete r[t];
          });
        }, n.prototype._verifySource = function () {
          if (this._hasMemorySource()) {
            if (this.url) throw new c("feature-layer:mixed-source-and-url", "FeatureLayer cannot be created with both an in-memory source and a url");
          } else if (!this.url) throw new c("feature-layer:source-or-url-required", "FeatureLayer requires either a url, a valid portal item or a source");
        }, n.prototype._initMemorySource = function (e) {
          var t = this;
          e.forEach(function (e) {
            e.layer = t, e.sourceLayer = t;
          }), this._handles.add([e.on("after-add", function (e) {
            e.item.layer = t, e.item.sourceLayer = t;
          }), e.on("after-remove", function (e) {
            e.item.layer = null, e.item.sourceLayer = null;
          })], "fl-source");
        }, n.prototype._resetMemorySource = function (e) {
          e.forEach(function (e) {
            e.layer = null, e.sourceLayer = null;
          }), this._handles.remove("fl-source");
        }, n.prototype._hasMemorySource = function () {
          return !(this.url || !this.source);
        }, n.prototype._readAttachmentCapabilities = function (e) {
          var t = {
            supportsName: !1,
            supportsSize: !1,
            supportsContentType: !1,
            supportsKeywords: !1,
            supportsExifInfo: !1
          };
          return e && Array.isArray(e) && e.forEach(function (e) {
            var r = le[e.name];
            r && (t[r] = !!e.isEnabled);
          }), t;
        }, n.prototype._readDataCapabilities = function (e) {
          return {
            isVersioned: ae(e, "isDataVersioned", !1),
            supportsAttachment: ae(e, "hasAttachments", !1),
            supportsM: ae(e, "hasM", !1),
            supportsZ: ae(e, "hasZ", !1)
          };
        }, n.prototype._readMetadataCapabilities = function (e) {
          return {
            supportsAdvancedFieldProperties: ae(e, "supportsFieldDescriptionProperty", !1)
          };
        }, n.prototype._readOperationsCapabilities = function (e, t) {
          var r = e ? e.toLowerCase().split(",").map(function (e) {
            return e.trim();
          }) : [],
              i = -1 !== r.indexOf("editing"),
              o = i && -1 !== r.indexOf("create"),
              n = i && -1 !== r.indexOf("delete"),
              a = i && -1 !== r.indexOf("update");
          return i && !(o || n || a) && (o = n = a = !0), {
            supportsCalculate: ae(t, "supportsCalculate", !1),
            supportsTruncate: ae(t, "supportsTruncate", !1),
            supportsValidateSql: ae(t, "supportsValidateSql", !1),
            supportsAdd: o,
            supportsDelete: n,
            supportsEditing: i,
            supportsQuery: -1 !== r.indexOf("query"),
            supportsQueryAttachments: ae(t.advancedQueryCapabilities, "supportsQueryAttachments", !1),
            supportsResizeAttachments: ae(t, "supportsAttachmentsResizing", !1),
            supportsSync: -1 !== r.indexOf("sync"),
            supportsUpdate: a,
            supportsExceedsLimitStatistics: ae(t, "supportsExceedsLimitStatistics", !1)
          };
        }, n.prototype._readQueryCapabilities = function (e) {
          var t = e.advancedQueryCapabilities,
              r = e.ownershipBasedAccessControlForFeatures,
              i = e.archivingInfo,
              o = (e.supportedQueryFormats || "").split(",").reduce(function (e, t) {
            var r = t.toLowerCase().trim();
            return r && e.add(r), e;
          }, new Set());
          return {
            supportsStatistics: ae(t, "supportsStatistics", e.supportsStatistics),
            supportsCentroid: ae(t, "supportsReturningGeometryCentroid", !1),
            supportsDistance: ae(t, "supportsQueryWithDistance", !1),
            supportsDistinct: ae(t, "supportsDistinct", e.supportsAdvancedQueries),
            supportsExtent: ae(t, "supportsReturningQueryExtent", !1),
            supportsGeometryProperties: ae(t, "supportsReturningGeometryProperties", !1),
            supportsHavingClause: ae(t, "supportsHavingClause", !1),
            supportsOrderBy: ae(t, "supportsOrderBy", e.supportsAdvancedQueries),
            supportsPagination: ae(t, "supportsPagination", !1),
            supportsQuantization: ae(e, "supportsCoordinatesQuantization", !1),
            supportsQuantizationEditMode: ae(e, "supportsQuantizationEditMode", !1),
            supportsQueryGeometry: ae(e, "supportsReturningQueryGeometry", !1),
            supportsResultType: ae(t, "supportsQueryWithResultType", !1),
            supportsMaxRecordCountFactor: ae(t, "supportsMaxRecordCountFactor", !1),
            supportsSqlExpression: ae(t, "supportsSqlExpression", !1),
            supportsStandardizedQueriesOnly: ae(e, "useStandardizedQueries", !1),
            supportsQueryByOthers: ae(r, "allowOthersToQuery", !0),
            supportsHistoricMoment: ae(i, "supportsQueryWithHistoricMoment", !1),
            supportsFormatPBF: o.has("pbf"),
            supportsDisjointSpatialRelationship: ae(t, "supportsDisjointSpatialRel", !1),
            supportsCacheHint: ae(t, "supportsQueryWithCacheHint", !1),
            maxRecordCountFactor: se(e, "maxRecordCountFactor", void 0),
            maxRecordCount: se(e, "maxRecordCount", void 0),
            standardMaxRecordCount: se(e, "standardMaxRecordCount", void 0),
            tileMaxRecordCount: se(e, "tileMaxRecordCount", void 0)
          };
        }, n.prototype._readQueryRelatedCapabilities = function (e) {
          var t = e.advancedQueryCapabilities,
              r = ae(t, "supportsAdvancedQueryRelated", !1);
          return {
            supportsPagination: ae(t, "supportsQueryRelatedPagination", !1),
            supportsCount: r,
            supportsOrderBy: r
          };
        }, n.prototype._readEditingCapabilities = function (e) {
          var t = e.ownershipBasedAccessControlForFeatures;
          return {
            supportsGeometryUpdate: ae(e, "allowGeometryUpdates", !0),
            supportsGlobalId: ae(e, "supportsApplyEditsWithGlobalIds", !1),
            supportsRollbackOnFailure: ae(e, "supportsRollbackOnFailureParameter", !1),
            supportsUpdateWithoutM: ae(e, "allowUpdateWithoutMValues", !1),
            supportsUploadWithItemId: ae(e, "supportsAttachmentsByUploadId", !1),
            supportsDeleteByAnonymous: ae(t, "allowAnonymousToDelete", !0),
            supportsDeleteByOthers: ae(t, "allowOthersToDelete", !0),
            supportsUpdateByAnonymous: ae(t, "allowAnonymousToUpdate", !0),
            supportsUpdateByOthers: ae(t, "allowOthersToUpdate", !0)
          };
        }, o([I.property({
          readOnly: !0,
          json: {
            read: !1
          }
        })], n.prototype, "capabilities", void 0), o([I.reader("service", "capabilities", ["advancedQueryCapabilities", "allowGeometryUpdates", "allowUpdateWithoutMValues", "archivingInfo", "capabilities", "hasAttachments", "hasM", "hasZ", "maxRecordCount", "maxRecordCountFactor", "ownershipBasedAccessControlForFeatures", "standardMaxRecordCount", "supportedQueryFormats", "supportsAdvancedQueries", "supportsApplyEditsWithGlobalIds", "supportsAttachmentsByUploadId", "supportsAttachmentsResizing", "supportsCalculate", "supportsCoordinatesQuantization", "supportsExceedsLimitStatistics", "supportsFieldDescriptionProperty", "supportsQuantizationEditMode", "supportsRollbackOnFailureParameter", "supportsStatistics", "supportsTruncate", "supportsValidateSql", "tileMaxRecordCount", "useStandardizedQueries"])], n.prototype, "readCapabilities", null), o([I.property({
          type: String,
          json: {
            read: {
              source: "layerDefinition.copyrightText"
            },
            origins: {
              service: {
                read: {
                  source: "copyrightText"
                }
              }
            }
          }
        })], n.prototype, "copyright", void 0), o([I.property({
          type: String,
          json: {
            read: {
              source: "layerDefinition.displayField"
            },
            origins: {
              service: {
                read: {
                  source: "displayField"
                }
              }
            }
          }
        })], n.prototype, "displayField", void 0), o([I.property({
          type: String,
          json: {
            origins: {
              service: {
                read: !1,
                write: !1
              }
            },
            read: {
              source: "layerDefinition.definitionExpression"
            },
            write: {
              target: "layerDefinition.definitionExpression"
            }
          }
        })], n.prototype, "definitionExpression", void 0), o([I.property({
          readOnly: !0,
          json: {
            read: ee.read
          }
        })], n.prototype, "defaultSymbol", void 0), o([I.property()], n.prototype, "dynamicDataSource", void 0), o([I.property({
          readOnly: !0
        })], n.prototype, "editFieldsInfo", void 0), o([I.property({
          type: Boolean
        })], n.prototype, "editingEnabled", void 0), o([I.reader(["portal-item", "web-map", "web-scene"], "editingEnabled", ["layerDefinition.capabilities"])], n.prototype, "readEditingEnabled", null), o([I.writer(["portal-item", "web-map", "web-scene"], "editingEnabled", {
          "layerDefinition.capabilities": {
            type: String
          }
        })], n.prototype, "writeEditingEnabled", null), o([I.property({
          readOnly: !0
        })], n.prototype, "editingInfo", void 0), o([I.reader("editingInfo")], n.prototype, "readEditingInfo", null), o([I.property(L.elevationInfo)], n.prototype, "elevationInfo", void 0), o([I.property({
          types: {
            key: "type",
            base: Q["default"],
            typeMap: {
              selection: U["default"],
              cluster: q["default"]
            }
          },
          json: {
            write: {
              target: "layerDefinition.featureReduction"
            }
          }
        })], n.prototype, "featureReduction", void 0), o([I.reader("featureReduction", ["layerDefinition.featureReduction"])], n.prototype, "readFeatureReduction", null), o([I.writer("web-scene", "featureReduction", {
          "layerDefinition.featureReduction": {
            types: G.webSceneFeatureReductionTypes
          }
        })], n.prototype, "writeWebSceneFeatureReduction", null), o([I.property(r({}, ye.fields, {
          json: {
            origins: {
              service: {
                read: !0
              }
            },
            read: {
              source: "layerDefinition.fields"
            }
          }
        }))], n.prototype, "fields", void 0), o([I.property({
          readOnly: !0,
          dependsOn: ["fields"]
        })], n.prototype, "fieldsIndex", null), o([I.property({
          type: F,
          json: {
            origins: {
              service: {
                read: {
                  source: "extent"
                }
              }
            },
            read: {
              source: "layerDefinition.extent"
            }
          }
        })], n.prototype, "fullExtent", void 0), o([I.property()], n.prototype, "gdbVersion", void 0), o([I.property({
          readOnly: !0
        })], n.prototype, "geometryProperties", void 0), o([I.property({
          type: ["point", "polygon", "polyline", "multipoint", "multipatch", "mesh"],
          json: {
            origins: {
              service: {
                read: pe.read
              }
            },
            read: {
              source: "layerDefinition.geometryType",
              reader: pe.read
            }
          }
        })], n.prototype, "geometryType", void 0), o([I.property({
          type: Boolean,
          json: {
            origins: {
              service: {
                read: !0
              }
            },
            read: {
              source: "layerDefinition.hasM"
            }
          }
        })], n.prototype, "hasM", void 0), o([I.property({
          type: Boolean,
          json: {
            origins: {
              service: {
                read: !0
              }
            },
            read: {
              source: "layerDefinition.hasZ"
            }
          }
        })], n.prototype, "hasZ", void 0), o([I.property({
          readOnly: !0,
          type: D
        })], n.prototype, "heightModelInfo", void 0), o([I.property({
          type: Date
        })], n.prototype, "historicMoment", void 0), o([I.property({
          json: {
            origins: {
              service: {
                read: !1
              },
              "portal-item": {
                read: !1
              }
            }
          }
        })], n.prototype, "id", void 0), o([I.property({
          readOnly: !0
        })], n.prototype, "isTable", void 0), o([I.reader("service", "isTable", ["type"]), I.reader("isTable", ["layerDefinition.type"])], n.prototype, "readIsTable", null), o([I.property({
          dependsOn: ["loaded", "url", "source"],
          readOnly: !0
        })], n.prototype, "hasService", null), o([I.property(L.labelsVisible)], n.prototype, "labelsVisible", void 0), o([I.property({
          type: [W],
          json: {
            origins: {
              service: {
                read: {
                  source: "drawingInfo.labelingInfo",
                  reader: H.reader
                },
                write: {
                  target: "drawingInfo.labelingInfo",
                  enabled: !1
                }
              }
            },
            read: {
              source: "layerDefinition.drawingInfo.labelingInfo",
              reader: H.reader
            },
            write: {
              target: "layerDefinition.drawingInfo.labelingInfo"
            }
          }
        })], n.prototype, "labelingInfo", void 0), o([I.property(L.opacityDrawingInfo)], n.prototype, "opacity", void 0), o([I.property({
          type: Number,
          json: {
            origins: {
              service: {
                read: {
                  source: "id"
                }
              }
            },
            read: !1
          }
        })], n.prototype, "layerId", void 0), o([I.property(L.legendEnabled)], n.prototype, "legendEnabled", void 0), o([I.property({
          type: ["show", "hide"]
        })], n.prototype, "listMode", void 0), o([I.property({
          type: Number,
          json: {
            origins: {
              service: {
                write: {
                  enabled: !1
                }
              }
            },
            read: {
              source: "layerDefinition.minScale"
            },
            write: {
              target: "layerDefinition.minScale"
            }
          }
        })], n.prototype, "minScale", void 0), o([I.reader("service", "minScale", ["minScale", "effectiveMinScale"])], n.prototype, "readMinScale", null), o([I.property({
          type: Number,
          json: {
            origins: {
              service: {
                write: {
                  enabled: !1
                }
              }
            },
            read: {
              source: "layerDefinition.maxScale"
            },
            write: {
              target: "layerDefinition.maxScale"
            }
          }
        })], n.prototype, "maxScale", void 0), o([I.reader("service", "maxScale", ["maxScale", "effectiveMaxScale"])], n.prototype, "readMaxScale", null), o([I.property({
          type: String
        })], n.prototype, "globalIdField", void 0), o([I.reader("globalIdField", ["layerDefinition.globalIdField", "layerDefinition.fields"]), I.reader("service", "globalIdField", ["globalIdField", "fields"])], n.prototype, "readGlobalIdFieldFromService", null), o([I.property({
          type: String
        })], n.prototype, "objectIdField", void 0), o([I.reader("objectIdField", ["layerDefinition.objectIdField", "layerDefinition.fields"]), I.reader("service", "objectIdField", ["objectIdField", "fields"])], n.prototype, "readObjectIdFieldFromService", null), o([I.property({
          value: "ArcGISFeatureLayer",
          type: ["ArcGISFeatureLayer"]
        })], n.prototype, "operationalLayerType", void 0), o([I.property(ye.outFields)], n.prototype, "outFields", void 0), o([I.property({
          readOnly: !0,
          dependsOn: ["layerId"]
        })], n.prototype, "parsedUrl", null), o([I.property({
          type: String,
          json: {
            origins: {
              "web-scene": {
                read: !0,
                write: !0
              }
            },
            read: !1
          }
        })], n.prototype, "path", void 0), o([I.property(L.popupEnabled)], n.prototype, "popupEnabled", void 0), o([I.property({
          type: p,
          json: {
            read: {
              source: "popupInfo"
            },
            write: {
              target: "popupInfo"
            }
          }
        })], n.prototype, "popupTemplate", void 0), o([I.property({
          readOnly: !0,
          dependsOn: ["fields", "title"]
        })], n.prototype, "defaultPopupTemplate", null), o([I.property({
          type: [Z],
          readOnly: !0
        })], n.prototype, "relationships", void 0), o([I.property({
          types: l.rendererTypes,
          json: {
            origins: {
              service: {
                write: {
                  target: "drawingInfo.renderer",
                  enabled: !1
                }
              }
            },
            write: {
              target: "layerDefinition.drawingInfo.renderer"
            }
          }
        })], n.prototype, "renderer", null), o([I.reader("service", "renderer", ["drawingInfo.renderer", "defaultSymbol", "type"]), I.reader("renderer", ["layerDefinition.drawingInfo.renderer", "layerDefinition.defaultSymbol", "layerDefinition.type"])], n.prototype, "readRenderer", null), o([I.writer("renderer")], n.prototype, "writeRenderer", null), o([I.writer("web-scene", "renderer", {
          "layerDefinition.drawingInfo.renderer": {
            types: l.webSceneRendererTypes
          }
        })], n.prototype, "writeWebSceneRenderer", null), o([I.property()], n.prototype, "sourceJSON", void 0), o([I.property({
          type: Boolean
        })], n.prototype, "returnM", void 0), o([I.property({
          type: Boolean
        })], n.prototype, "returnZ", void 0), o([I.property(L.screenSizePerspectiveEnabled)], n.prototype, "screenSizePerspectiveEnabled", void 0), o([I.property()], n.prototype, "source", null), o([I.cast("source")], n.prototype, "castSource", null), o([I.reader("portal-item", "source", ["featureSet"]), I.reader("web-map", "source", ["featureSet"])], n.prototype, "readSource", null), o([I.property({
          readOnly: !0,
          json: {
            origins: {
              service: {
                read: {
                  source: "definitionExpression"
                }
              }
            }
          }
        })], n.prototype, "serviceDefinitionExpression", void 0), o([I.property({
          type: x,
          json: {
            origins: {
              service: {
                read: {
                  source: "extent.spatialReference"
                }
              }
            },
            read: {
              source: "layerDefinition.extent.spatialReference"
            }
          }
        })], n.prototype, "spatialReference", void 0), o([I.property({
          type: [V]
        })], n.prototype, "templates", void 0), o([I.reader("templates", ["editFieldsInfo", "creatorField", "editorField", "templates"])], n.prototype, "readTemplates", null), o([I.property({
          type: K
        })], n.prototype, "timeInfo", void 0), o([I.property()], n.prototype, "title", void 0), o([I.reader("service", "title", ["name"]), I.reader("portal-item", "title", ["layerDefinition.title", "layerDefinition.name", "title"])], n.prototype, "readTitle", null), o([I.reader("web-map", "title", ["layerDefinition.name", "title"])], n.prototype, "readTitleFromWebMap", null), o([I.property({
          type: String
        })], n.prototype, "sublayerTitleMode", void 0), o([I.property({
          type: String,
          json: {
            read: {
              source: "timeInfo.trackIdField"
            }
          }
        })], n.prototype, "trackIdField", void 0), o([I.property({
          json: {
            read: !1
          }
        })], n.prototype, "type", void 0), o([I.property({
          type: String
        })], n.prototype, "typeIdField", void 0), o([I.reader("service", "typeIdField"), I.reader("typeIdField", ["layerDefinition.typeIdField"])], n.prototype, "readTypeIdField", null), o([I.property({
          type: [z]
        })], n.prototype, "types", void 0), o([I.reader("service", "types", ["types"]), I.reader("types", ["layerDefinition.types"])], n.prototype, "readTypes", null), o([I.property({
          type: y.ofType(_.FeatureIndex),
          readOnly: !0
        })], n.prototype, "indexes", void 0), o([I.property(L.url)], n.prototype, "url", null), o([I.writer("url")], n.prototype, "writeUrl", null), o([I.property({
          readOnly: !0
        })], n.prototype, "userIsAdmin", void 0), o([I.property({
          json: {
            origins: {
              service: {
                read: !0
              }
            },
            read: !1
          }
        })], n.prototype, "version", void 0), o([I.reader("service", "version", ["currentVersion", "capabilities", "drawingInfo", "hasAttachments", "htmlPopupType", "relationships", "timeInfo", "typeIdField", "types"])], n.prototype, "readVersion", null), o([I.property({
          type: Boolean,
          json: {
            origins: {
              "portal-item": {
                write: {
                  target: "layerDefinition.defaultVisibility"
                }
              }
            }
          }
        })], n.prototype, "visible", void 0), o([I.reader("portal-item", "visible", ["visibility", "layerDefinition.defaultVisibility"])], n.prototype, "readVisible", null), n = o([I.subclass("esri.layers.FeatureLayer")], n);
      }(I.declared(C.TemporalLayer(E.ScaleRangeLayer(j.RefreshableLayer(R.ArcGISService(M.OperationalLayer(A.PortalLayer(v.MultiOriginJSONMixin(T)))))))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsLayerJs(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/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__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Layer */
    "./node_modules/arcgis-js-api/layers/Layer.js"), __webpack_require__(
    /*! ./mixins/ScaleRangeLayer */
    "./node_modules/arcgis-js-api/layers/mixins/ScaleRangeLayer.js"), __webpack_require__(
    /*! ../support/GraphicsCollection */
    "./node_modules/arcgis-js-api/support/GraphicsCollection.js"), __webpack_require__(
    /*! ../symbols/support/ElevationInfo */
    "./node_modules/arcgis-js-api/symbols/support/ElevationInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, i, n, s, a, c, y, l) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.elevationInfo = null, t.graphics = new y["default"](), t.screenSizePerspectiveEnabled = !0, t.type = "graphics", t;
        }

        return t(r, e), r.prototype.destroy = function () {
          this.removeAll();
        }, r.prototype.add = function (e) {
          return this.graphics.add(e), this;
        }, r.prototype.addMany = function (e) {
          return this.graphics.addMany(e), this;
        }, r.prototype.removeAll = function () {
          return this.graphics.removeAll(), this;
        }, r.prototype.remove = function (e) {
          this.graphics.remove(e);
        }, r.prototype.removeMany = function (e) {
          this.graphics.removeMany(e);
        }, r.prototype.on = function (e, r) {
          return this.inherited(arguments, [e, r]);
        }, r.prototype.graphicChanged = function (e) {
          this.emit("graphic-update", e);
        }, o([s.property({
          type: l
        })], r.prototype, "elevationInfo", void 0), o([s.property(y.graphicsCollectionProperty)], r.prototype, "graphics", void 0), o([s.property({
          type: ["show", "hide"]
        })], r.prototype, "listMode", void 0), o([s.property()], r.prototype, "screenSizePerspectiveEnabled", void 0), o([s.property({
          readOnly: !0
        })], r.prototype, "type", void 0), r = o([s.subclass("esri.layers.GraphicsLayer")], r);
      }(s.declared(c.ScaleRangeLayer(a)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGroupLayerJs(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/loadAll */
    "./node_modules/arcgis-js-api/core/loadAll.js"), __webpack_require__(
    /*! ../core/MultiOriginJSONSupport */
    "./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../core/accessorSupport/utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ./Layer */
    "./node_modules/arcgis-js-api/layers/Layer.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__(
    /*! ../support/LayersMixin */
    "./node_modules/arcgis-js-api/support/LayersMixin.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (i, e, t, r, o, s, n, l, a, p, y, c, u, h) {
      return function (i) {
        function e(e) {
          var t = i.call(this, e) || this;
          return t._visibilityHandles = {}, t.fullExtent = void 0, t.operationalLayerType = "GroupLayer", t.spatialReference = void 0, t.type = "group", t._visibilityWatcher = t._visibilityWatcher.bind(t), t;
        }

        return t(e, i), e.prototype.initialize = function () {
          this._enforceVisibility(this.visibilityMode, this.visible), this.watch("visible", this._visibleWatcher.bind(this), !0);
        }, e.prototype._writeLayers = function (i, e, t, r) {
          var o = [];
          if (!i) return o;
          i.forEach(function (i) {
            if ("write" in i && i.write) {
              var e = i.write(null, r);
              e && e.layerType && o.push(e);
            }
          }), e.layers = o;
        }, Object.defineProperty(e.prototype, "portalItem", {
          set: function set(i) {
            this._set("portalItem", i);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "visibilityMode", {
          set: function set(i) {
            var e = this._get("visibilityMode") !== i;
            this._set("visibilityMode", i), e && this._enforceVisibility(i, this.visible);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.load = function (i) {
          return this.addResolvingPromise(this.loadFromPortal({
            supportedTypes: ["Feature Service", "Feature Collection", "Scene Service"]
          }, i)), this.when();
        }, e.prototype.loadAll = function () {
          var i = this;
          return n.loadAll(this, function (e) {
            e(i.layers);
          });
        }, e.prototype.layerAdded = function (i) {
          i.visible && "exclusive" === this.visibilityMode ? this._turnOffOtherLayers(i) : "inherited" === this.visibilityMode && (i.visible = this.visible), this._visibilityHandles[i.uid] = i.watch("visible", this._visibilityWatcher, !0);
        }, e.prototype.layerRemoved = function (i) {
          var e = this._visibilityHandles[i.uid];
          e && (e.remove(), delete this._visibilityHandles[i.uid]), this._enforceVisibility(this.visibilityMode, this.visible);
        }, e.prototype._turnOffOtherLayers = function (i) {
          this.layers.forEach(function (e) {
            e !== i && (e.visible = !1);
          });
        }, e.prototype._enforceVisibility = function (i, e) {
          if (p.getProperties(this).initialized) {
            var t = this.layers,
                r = t.find(function (i) {
              return i.visible;
            });

            switch (i) {
              case "exclusive":
                t.length && !r && (r = t.getItemAt(0), r.visible = !0), this._turnOffOtherLayers(r);
                break;

              case "inherited":
                t.forEach(function (i) {
                  i.visible = e;
                });
            }
          }
        }, e.prototype._visibleWatcher = function (i) {
          "inherited" === this.visibilityMode && this.layers.forEach(function (e) {
            e.visible = i;
          });
        }, e.prototype._visibilityWatcher = function (i, e, t, r) {
          var o = r;

          switch (this.visibilityMode) {
            case "exclusive":
              i ? this._turnOffOtherLayers(o) : this._isAnyLayerVisible() || (o.visible = !0);
              break;

            case "inherited":
              o.visible = this.visible;
          }
        }, e.prototype._isAnyLayerVisible = function () {
          return this.layers.some(function (i) {
            return i.visible;
          });
        }, r([a.property()], e.prototype, "fullExtent", void 0), r([a.property({
          json: {
            read: !1,
            write: {
              ignoreOrigin: !0
            }
          }
        })], e.prototype, "layers", void 0), r([a.writer("layers")], e.prototype, "_writeLayers", null), r([a.property({
          type: ["GroupLayer"]
        })], e.prototype, "operationalLayerType", void 0), r([a.property({
          json: {
            origins: {
              "web-scene": {
                read: !1,
                write: !1
              }
            }
          }
        })], e.prototype, "portalItem", null), r([a.property()], e.prototype, "spatialReference", void 0), r([a.property({
          json: {
            read: !1
          },
          readOnly: !0,
          value: "group"
        })], e.prototype, "type", void 0), r([a.property({
          type: String,
          value: "independent",
          json: {
            write: !0
          }
        })], e.prototype, "visibilityMode", null), e = r([a.subclass("esri.layers.GroupLayer")], e);
      }(a.declared(c.OperationalLayer(u.PortalLayer(h.LayersMixin(l.MultiOriginJSONMixin(y))))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersLayerJs(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__(
    /*! ../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ../geometry */
    "./node_modules/arcgis-js-api/geometry.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/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../core/Identifiable */
    "./node_modules/arcgis-js-api/core/Identifiable.js"), __webpack_require__(
    /*! ../core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.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__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, a, i, p, l, u, s, c, y, d, f, b, h) {
      var v = 0,
          g = f.getLogger("esri.layers.Layer");
      return function (t) {
        function r() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.attributionDataUrl = null, e.fullExtent = new l.Extent(-180, -90, 180, 90, l.SpatialReference.WGS84), e.legendEnabled = !0, e.listMode = "show", e.opacity = 1, e.parent = null, e.popupEnabled = !0, e.attributionVisible = !0, e.spatialReference = l.SpatialReference.WGS84, e.title = null, e.type = null, e.url = null, e.visible = !0, e;
        }

        return o(r, t), r.fromArcGISServerUrl = function (t) {
          return i(this, void 0, void 0, function () {
            var r, o, n;
            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return r = "string" == typeof t ? {
                    url: t
                  } : t, [4, new Promise(function (t, r) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e("common"), __webpack_require__.e(94)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./support/arcgisLayers */
                      "./node_modules/arcgis-js-api/layers/support/arcgisLayers.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](r.bind(this));
                  })];

                case 1:
                  o = a.sent(), a.label = 2;

                case 2:
                  return a.trys.push([2, 4,, 5]), [4, o.fromUrl(r)];

                case 3:
                  return [2, a.sent()];

                case 4:
                  throw n = a.sent(), g.error("#fromArcGISServerUrl({ url: '" + r.url + "'})", "Failed to create layer from arcgis server url", n), n;

                case 5:
                  return [2];
              }
            });
          });
        }, r.fromPortalItem = function (t) {
          return i(this, void 0, void 0, function () {
            var r, o, n, i, l, u;
            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return r = "portalItem" in t ? t : {
                    portalItem: t
                  }, [4, new Promise(function (t, r) {
                    __webpack_require__.e(
                    /*! AMD require */
                    "common").then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../portal/support/portalLayers */
                      "./node_modules/arcgis-js-api/portal/support/portalLayers.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](r.bind(this));
                  })];

                case 1:
                  o = a.sent(), a.label = 2;

                case 2:
                  return a.trys.push([2, 4,, 5]), [4, o.fromItem(r)];

                case 3:
                  return [2, a.sent()];

                case 4:
                  throw n = a.sent(), i = r && r.portalItem, l = i && i.id || "unset", u = i && i.portal && i.portal.url || p.portalUrl, g.error("#fromPortalItem()", "Failed to create layer from portal item (portal: '" + u + "', id: '" + l + "')", n), n;

                case 5:
                  return [2];
              }
            });
          });
        }, r.prototype.initialize = function () {
          var e = this;
          this.when()["catch"](function (t) {
            f.getLogger(e.declaredClass).error("#load()", "Failed to load layer (title: '" + e.title + "', id: '" + e.id + "')", t);
          });
        }, Object.defineProperty(r.prototype, "hasAttributionData", {
          get: function get() {
            return null != this.attributionDataUrl;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "id", {
          get: function get() {
            return Date.now().toString(16) + "-layer-" + v++;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "parsedUrl", {
          get: function get() {
            var e = this._get("url");

            return e ? b.urlToObject(e) : null;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.fetchAttributionData = function () {
          return i(this, void 0, void 0, function () {
            var e, t;
            return a(this, function (r) {
              switch (r.label) {
                case 0:
                  return e = this.attributionDataUrl, this.hasAttributionData && e ? [4, u(e, {
                    query: {
                      f: "json"
                    },
                    responseType: "json"
                  })] : [3, 2];

                case 1:
                  return t = r.sent(), [2, t.data];

                case 2:
                  throw new s("layer:no-attribution-data", "Layer does not have attribution data");
              }
            });
          });
        }, n([h.property({
          type: String
        })], r.prototype, "attributionDataUrl", void 0), n([h.property({
          type: l.Extent
        })], r.prototype, "fullExtent", void 0), n([h.property({
          readOnly: !0,
          dependsOn: ["attributionDataUrl"]
        })], r.prototype, "hasAttributionData", null), n([h.property({
          type: String
        })], r.prototype, "id", null), n([h.property({
          type: Boolean
        })], r.prototype, "legendEnabled", void 0), n([h.property({
          type: ["show", "hide", "hide-children"]
        })], r.prototype, "listMode", void 0), n([h.property({
          type: Number,
          range: {
            min: 0,
            max: 1
          },
          nonNullable: !0
        })], r.prototype, "opacity", void 0), n([h.property()], r.prototype, "parent", void 0), n([h.property({
          readOnly: !0,
          dependsOn: ["url"]
        })], r.prototype, "parsedUrl", null), n([h.property({
          type: Boolean
        })], r.prototype, "popupEnabled", void 0), n([h.property({
          type: Boolean
        })], r.prototype, "attributionVisible", void 0), n([h.property({
          type: l.SpatialReference
        })], r.prototype, "spatialReference", void 0), n([h.property({
          type: String
        })], r.prototype, "title", void 0), n([h.property({
          type: String,
          readOnly: !0,
          json: {
            read: !1
          }
        })], r.prototype, "type", void 0), n([h.property()], r.prototype, "url", void 0), n([h.property({
          type: Boolean,
          nonNullable: !0
        })], r.prototype, "visible", void 0), r = n([h.subclass("esri.layers.Layer")], r);
      }(h.declared(c.EventedMixin(y.IdentifiableMixin(d))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

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

    /**
     * ## Overview
     *
     * MapImageLayer allows you to display and analyze data from
     * [sublayers](#sublayers) defined in a
     * [map service](http://server.arcgis.com/en/server/latest/publish-services/windows/what-is-a-map-service.htm), exporting images
     * instead of features. Map service images are
     * dynamically generated on the server based on a request, which includes an
     * LOD (level of detail), a bounding box, dpi, spatial reference and other
     * options. The exported image is of the entire map extent specified.
     *
     * ::: esri-md class="panel trailer-1"
     * Unlike {@link module:esri/layers/FeatureLayer}, MapImageLayer processing
     * is handled by the server, not the client. Offloading the processing to the
     * server allows MapImageLayer to render more features with a higher level
     * of performance in some cases.
     * :::
     *
     * MapImageLayer does not display tiled images. To display
     * tiled map service layers, see {@link module:esri/layers/TileLayer}.
     *
     * ## Creating a MapImageLayer
     *
     * MapImageLayer may be created in one of two ways: from a [service URL](#url) or from an ArcGIS
     * Portal [item ID](#portalItem).
     *
     * ### Reference a service URL
     *
     * To create a MapImageLayer instance from a service, you must set the [url](#url) property
     * to the REST endpoint of a layer in a Map Service. The URL will typically look
     * like the following.
     *
     * ```js
     * https://<hostname>/arcgis/rest/services/<service-name>/MapServer
     * ```
     *
     * For a layer to be visible in a view, it must be added to the {@link module:esri/Map}
     * referenced by the view. See {@link module:esri/Map#add Map.add()} for information about adding layers to a map.
     *
     * ```js
     * require(["esri/layers/MapImageLayer"], function(MapImageLayer){
     *   // points to the states layer in a service storing U.S. census data
     *   var layer = new MapImageLayer({
     *     url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer"
     *   });
     *   map.add(layer);  // adds the layer to the map
     * });
     * ```
     *
     * If the map service is requested from a different domain, a [CORS enabled server](../guide/cors/index.html) or a [proxy](../guide/proxies/index.html) is
     * required.
     *
     * ### Reference an ArcGIS portal Item ID
     *
     * You can also create a MapImageLayer from its ID if it exists as an item in ArcGIS Online or ArcGIS Enterprise.
     * For example, the following snippet shows how to add a new MapImageLayer instance to a map using the
     * [portalItem](#portalItem) property.
     *
     * ```js
     * // references an ArcGIS Online item pointing to a Map Service Layer
     * var layer = new MapImageLayer({
     *   portalItem: {  // autocasts as esri/portal/PortalItem
     *     id: "8444e275037549c1acab02d2626daaee"
     *   }
     * });
     * map.add(layer);  // adds the layer to the map
     * ```
     *
     * ## Sublayers
     *
     * Map services contain one or more sublayers. Sublayers may even contain nested sublayers.
     * When the [sublayers](#sublayers) property of the MapImageLayer is not specified, then an image of all sublayers
     * in the service is exported to the client. If a subset of sublayers from the service are
     * specified, then only the subset of sublayers are rendered on the client.
     * Sublayers have default rendering, scale visibility, labels, and other properties saved to the server. However, these properties may be dynamically
     * changed so a new map image is exported to the view. Sublayers of a MapImageLayer can only be styled with 2D symbology even if they are rendered in
     * a {@link module:esri/WebScene}.
     * To learn more about working with sublayers, see the {@link module:esri/layers/support/Sublayer} API
     * documentation.
     *
     * [![mapimagelayer-renderer](../../assets/img/apiref/layers/mapimagelayer-renderer.png)](../sample-code/layers-mapimagelayer-renderers/index.html)
     *
     * <a name="dynamic-layers"></a>
     * ## Dynamic layers
     *
     * Sublayers may be rendered on the fly as dynamic layers. There are two types of dynamic layers:
     * {@link module:esri/layers/support/Sublayer#source DynamicMapLayer} and
     * {@link module:esri/layers/support/Sublayer#source DynamicDataLayer}.
     *
     * {@link module:esri/layers/support/Sublayer#source Dynamic map layers} allow you
     * to override sublayers in the map service with new renderers,
     * definition expressions, opacity, scale visibility, etc. Multiple dynamic map layers may exist
     * for a single map service layer.
     *
     * {@link module:esri/layers/support/Sublayer#source Dynamic data layers} provide
     * the ability to create layers on the fly from data referenced in
     * registered workspaces.
     * The data may be tables with or without geometries, feature classes, and
     * rasters. These data sources are not directly visible to the services directory, but may be
     * published and configured with the ArcGIS Server Manager.
     * Data from tables may be joined to other tables or dynamic map layers.
     *
     * ::: esri-md class="panel trailer-1"
     * Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
     * For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
     * For information on terms of use, see the [Terms of Use FAQ](https://developers.arcgis.com/terms/faq/).
     * :::
     *
     * @module esri/layers/MapImageLayer
     * @since 4.0
     * @see module:esri/layers/support/Sublayer
     * @see module:esri/layers/TileLayer
     * @see [Sample - MapImageLayer](../sample-code/layers-mapimagelayer/index.html)
     * @see [Sample - MapImageLayer: toggle sublayer visibility](../sample-code/layers-mapimagelayer-sublayers/index.html)
     * @see [Sample - MapImageLayer: set definition expression](../sample-code/layers-mapimagelayer-definitionexpression/index.html)
     * @see [Sample - MapImageLayer: set renderers on sublayers](../sample-code/layers-mapimagelayer-renderers/index.html)
     * @see [Sample - MapImageLayer: label sublayer features](../sample-code/layers-mapimagelayer-dynamic-labels/index.html)
     * @see [Sample - MapImageLayer: create dynamic map layers](../sample-code/layers-dynamicmaplayer/index.html)
     * @see [Sample - MapImageLayer: dynamic data layer with table join](../sample-code/layers-dynamicdatalayer-table-join/index.html)
     * @see [Sample - MapImageLayer: dynamic data layer with query table](../sample-code/layers-dynamicdatalayer-query-table/index.html)
     * @see [Sample - MapImageLayer: dynamic data layer with raster](../sample-code/layers-dynamicdatalayer-raster/index.html)
     *
     * @example
     * var layer = new MapImageLayer({
     * url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer",
     *   sublayers: [
     *    {
     *      id: 3,
     *      visible: false
     *    }, {
     *      id: 2,
     *      visible: true
     *    }, {
     *      id: 1,
     *      visible: true
     *    }, {
     *      id: 0,
     *      visible: true,
     *      definitionExpression: "pop2000 > 100000"
     *    }
     *  ]
     * });
     */


    !(__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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.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/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/support/scaleUtils */
    "./node_modules/arcgis-js-api/geometry/support/scaleUtils.js"), __webpack_require__(
    /*! ./Layer */
    "./node_modules/arcgis-js-api/layers/Layer.js"), __webpack_require__(
    /*! ./mixins/ArcGISMapService */
    "./node_modules/arcgis-js-api/layers/mixins/ArcGISMapService.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/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__(
    /*! ./mixins/SublayersOwner */
    "./node_modules/arcgis-js-api/layers/mixins/SublayersOwner.js"), __webpack_require__(
    /*! ./mixins/TemporalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/TemporalLayer.js"), __webpack_require__(
    /*! ./support/commonProperties */
    "./node_modules/arcgis-js-api/layers/support/commonProperties.js"), __webpack_require__(
    /*! ./support/ExportImageParameters */
    "./node_modules/arcgis-js-api/layers/support/ExportImageParameters.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, a, i, p, s, n, l, y, u, c, d, m, h, g, v, S, f, x, b, w, O, I, L) {
      return function (e) {
        function r(r, t) {
          var o = e.call(this, r) || this;
          return o.alwaysRefetch = !1, o.dpi = 96, o.gdbVersion = null, o.imageFormat = "png24", o.imageMaxHeight = 2048, o.imageMaxWidth = 2048, o.imageTransparency = !0, o.labelsVisible = !1, o.isReference = null, o.operationalLayerType = "ArcGISMapServiceLayer", o.sourceJSON = null, o.sublayers = null, o.type = "map-image", 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.load = function (e) {
          var r = this,
              t = y.isSome(e) ? e.signal : null;
          return this.addResolvingPromise(this.loadFromPortal({
            supportedTypes: ["Map Service"]
          }, e).then(function () {
            return r._fetchService(t);
          })), this.when();
        }, r.prototype.readImageFormat = function (e, r) {
          var t = r.supportedImageFormatTypes;
          return t && t.indexOf("PNG32") > -1 ? "png32" : "png24";
        }, r.prototype.createExportImageParameters = function (e, r, o, a) {
          var i = a && a.pixelRatio || 1;
          e && this.version >= 10 && (e = e.clone().shiftCentralMeridian());
          var p = new L.ExportImageParameters({
            layer: this,
            scale: m.getScale({
              extent: e,
              width: r
            }) * i
          }),
              s = p.toJSON();
          p.layer = null, p.destroy();
          var n = !a || !a.rotation || this.version < 10.3 ? {} : {
            rotation: -a.rotation
          },
              l = e && e.spatialReference,
              y = l.wkid || JSON.stringify(l.toJSON());
          s.dpi *= i;
          var u = {};

          if (a && a.timeExtent) {
            var c = a.timeExtent.toJSON(),
                d = c.start,
                h = c.end;
            d && h && d === h ? u.time = "" + d : null == d && null == h || (u.time = (null == d ? "null" : d) + "," + (null == h ? "null" : h));
          }

          return t({
            bbox: e && e.xmin + "," + e.ymin + "," + e.xmax + "," + e.ymax,
            bboxSR: y,
            imageSR: y,
            size: r + "," + o
          }, s, n, u);
        }, r.prototype.fetchImage = function (e, r, o, a) {
          var i = {
            responseType: "image"
          };
          a && a.timestamp && (i.query = {
            _ts: a.timestamp
          }), a && a.signal && (i.signal = a.signal);
          var p = this.parsedUrl.path + "/export",
              s = t({}, this.parsedUrl.query, this.createExportImageParameters(e, r, o, a), {
            f: "image",
            _ts: this.alwaysRefetch ? Date.now() : null
          });
          return null == s.dynamicLayers || this.capabilities.exportMap.supportsDynamicLayers ? (i.query ? i.query = t({}, s, i.query) : i.query = s, n(p, i).then(function (e) {
            return e.data;
          })["catch"](function (e) {
            if (c.isAbortError(e)) throw e;
            throw new l("mapimagelayer:image-fetch-error", "Unable to load image: " + p, {
              error: e
            });
          })) : c.reject(new l("mapimagelayer:dynamiclayer-not-supported", "service " + this.url + " doesn't support dynamic layers, which is required to be able to change the sublayer's order, rendering, labeling or source.", {
            query: s
          }));
        }, r.prototype._fetchService = function (e) {
          return s(this, void 0, void 0, function () {
            var r, o, a;
            return p(this, function (i) {
              switch (i.label) {
                case 0:
                  return this.sourceJSON ? (this.read(this.sourceJSON, {
                    origin: "service",
                    url: this.parsedUrl
                  }), [2]) : [4, n(this.parsedUrl.path, {
                    query: t({
                      f: "json"
                    }, this.parsedUrl.query),
                    signal: e
                  })];

                case 1:
                  return r = i.sent(), o = r.data, a = r.ssl, a && (this.url = this.url.replace(/^http:/i, "https:")), this.sourceJSON = o, this.read(o, {
                    origin: "service",
                    url: this.parsedUrl
                  }), [2];
              }
            });
          });
        }, a([d.property()], r.prototype, "alwaysRefetch", void 0), a([d.property()], r.prototype, "dpi", void 0), a([d.property()], r.prototype, "gdbVersion", void 0), a([d.property({
          json: {
            read: !1,
            write: !1
          }
        })], r.prototype, "popupEnabled", void 0), a([d.property()], r.prototype, "imageFormat", void 0), a([d.reader("imageFormat", ["supportedImageFormatTypes"])], r.prototype, "readImageFormat", null), a([d.property({
          json: {
            origins: {
              service: {
                read: {
                  source: "maxImageHeight"
                }
              }
            }
          }
        })], r.prototype, "imageMaxHeight", void 0), a([d.property({
          json: {
            origins: {
              service: {
                read: {
                  source: "maxImageWidth"
                }
              }
            }
          }
        })], r.prototype, "imageMaxWidth", void 0), a([d.property()], r.prototype, "imageTransparency", void 0), a([d.property({
          json: {
            read: !1,
            write: !1
          }
        })], r.prototype, "labelsVisible", void 0), a([d.property({
          type: Boolean,
          json: {
            read: !1,
            write: {
              enabled: !0,
              overridePolicy: function overridePolicy() {
                return {
                  enabled: !1
                };
              }
            }
          }
        })], r.prototype, "isReference", void 0), a([d.property({
          type: ["ArcGISMapServiceLayer"]
        })], r.prototype, "operationalLayerType", void 0), a([d.property()], r.prototype, "sourceJSON", void 0), a([d.property()], r.prototype, "sublayers", void 0), a([d.property({
          type: ["show", "hide", "hide-children"]
        })], r.prototype, "listMode", void 0), a([d.property({
          json: {
            read: !1
          },
          readOnly: !0,
          value: "map-image"
        })], r.prototype, "type", void 0), a([d.property(I.url)], r.prototype, "url", void 0), r = a([d.subclass("esri.layers.MapImageLayer")], r);
      }(d.declared(O.TemporalLayer(b.ScaleRangeLayer(x.RefreshableLayer(w.SublayersOwner(g.ArcGISMapService(v.ArcGISService(S.OperationalLayer(f.PortalLayer(u.MultiOriginJSONMixin(h)))))))))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsOptimizedFeatureJs(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_AMD_DEFINE_RESULT__ = function (e, t, i) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var o = function () {
        function e(e, t, i, o) {
          void 0 === e && (e = null), void 0 === t && (t = {}), this.localId = 0, this.geohashIndexed = !1, this.geohashX = 0, this.geohashY = 0, this.geometry = e, t && (this.attributes = t), i && (this.centroid = i), null != o && (this.objectId = o);
        }

        return e;
      }();

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsOptimizedFeatureSetJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e() {
          this.objectIdFieldName = null, this.globalIdFieldName = null, this.geohashFieldName = null, this.geometryProperties = null, this.geometryType = null, this.spatialReference = null, this.hasZ = !1, this.hasM = !1, this.features = [], this.fields = [], this.transform = null, this.exceededTransferLimit = !1;
        }

        return e;
      }();

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsOptimizedGeometryJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e, t) {
          void 0 === e && (e = []), void 0 === t && (t = []), this.lengths = e, this.coords = t;
        }

        return e;
      }();

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsDehydratedFeatureComparisonJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r, t) {
      function a(e, n) {
        if (e === n) return !0;
        if (null == e || null == n) return !1;
        if (e.length !== n.length) return !1;

        for (var r = 0; r < e.length; r++) {
          var t = e[r],
              a = n[r];
          if (t.length !== a.length) return !1;

          for (var i = 0; i < t.length; i++) if (t[i] !== a[i]) return !1;
        }

        return !0;
      }

      function i(e, n) {
        if (e === n) return !0;
        if (null == e || null == n) return !1;
        if (e.length !== n.length) return !1;

        for (var r = 0; r < e.length; r++) if (!a(e[r], n[r])) return !1;

        return !0;
      }

      function u(e, n) {
        return !!o(e.spatialReference, n.spatialReference) && e.x === n.x && e.y === n.y && e.z === n.z && e.m === n.m;
      }

      function s(e, n) {
        return e.hasZ === n.hasZ && e.hasM === n.hasM && !!o(e.spatialReference, n.spatialReference) && i(e.paths, n.paths);
      }

      function f(e, n) {
        return e.hasZ === n.hasZ && e.hasM === n.hasM && !!o(e.spatialReference, n.spatialReference) && i(e.rings, n.rings);
      }

      function l(e, n) {
        return e.hasZ === n.hasZ && e.hasM === n.hasM && !!o(e.spatialReference, n.spatialReference) && a(e.points, n.points);
      }

      function c(e, n) {
        return e.hasZ === n.hasZ && e.hasM === n.hasM && !!o(e.spatialReference, n.spatialReference) && e.xmin === n.xmin && e.ymin === n.ymin && e.zmin === n.zmin && e.xmax === n.xmax && e.ymax === n.ymax && e.zmax === n.zmax;
      }

      function o(e, n) {
        return e === n || e && n && e.equals(n);
      }

      function h(e, n) {
        if (e === n) return !0;
        if (t.isNone(e) || t.isNone(n)) return !1;
        if (e.type !== n.type) return !1;

        switch (e.type) {
          case "point":
            return u(e, n);

          case "extent":
            return c(e, n);

          case "polyline":
            return s(e, n);

          case "polygon":
            return f(e, n);

          case "multipoint":
            return l(e, n);

          case "mesh":
            return !1;

          default:
            return void r.neverReached(e);
        }
      }

      function p(e, n) {
        if (e === n) return !0;
        if (!e || !n) return !1;
        var r = Object.keys(e),
            t = Object.keys(n);
        if (r.length !== t.length) return !1;

        for (var a = 0, i = r; a < i.length; a++) {
          var u = i[a];
          if (e[u] !== n[u]) return !1;
        }

        return !0;
      }

      function m(e, n) {
        return e === n || null != e && null != n && e.objectId === n.objectId && !!h(e.geometry, n.geometry) && !!p(e.attributes, n.attributes);
      }

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsDehydratedFeaturesJs(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__(
    /*! ../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/typedArrayUtil */
    "./node_modules/arcgis-js-api/core/typedArrayUtil.js"), __webpack_require__(
    /*! ../../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ../../geometry/support/aaBoundingBox */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js"), __webpack_require__(
    /*! ../../geometry/support/aaBoundingRect */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../../geometry/support/quantizationUtils */
    "./node_modules/arcgis-js-api/geometry/support/quantizationUtils.js"), __webpack_require__(
    /*! ../support/Field */
    "./node_modules/arcgis-js-api/layers/support/Field.js"), __webpack_require__(
    /*! ./dehydratedFeatureComparison */
    "./node_modules/arcgis-js-api/layers/graphics/dehydratedFeatureComparison.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, n, i, s, o, l, u, h, c, p, m, y, f) {
      function d(e) {
        return o.isSome(e.geometry);
      }

      function g(e) {
        return r.isFeatureGeometryType(e.type);
      }

      function b(e) {
        return "point" === e.type;
      }

      function x(e) {
        var t = r.featureGeometryTypeKebabDictionary.fromJSON(e.geometryType),
            a = u.fromJSON(e.spatialReference),
            i = e.transform,
            s = e.features.map(function (r) {
          var s = v(r, t, a, e.objectIdFieldName),
              o = s.geometry;
          if (o && i) switch (o.type) {
            case "point":
              s.geometry = m.hydratePoint(i, o, o, o.hasZ, o.hasM);
              break;

            case "multipoint":
              s.geometry = m.hydrateMultipoint(i, o, o, o.hasZ, o.hasM);
              break;

            case "polygon":
              s.geometry = m.hydratePolygon(i, o, o, o.hasZ, o.hasM);
              break;

            case "polyline":
              s.geometry = m.hydratePolyline(i, o, o, o.hasZ, o.hasM);
              break;

            default:
              n.neverReached(o);
          }
          return s;
        });
        return {
          geometryType: t,
          features: s,
          spatialReference: a,
          fields: e.fields ? e.fields.map(function (e) {
            return y.fromJSON(e);
          }) : null,
          objectIdFieldName: e.objectIdFieldName,
          globalIdFieldName: e.globalIdFieldName,
          geohashFieldName: e.geohashFieldName,
          geometryProperties: e.geometryProperties,
          hasZ: e.hasZ,
          hasM: e.hasM,
          exceededTransferLimit: e.exceededTransferLimit,
          transform: null
        };
      }

      function v(e, t, r, n) {
        return {
          uid: a.generateUID(),
          objectId: n && e.attributes ? e.attributes[n] : null,
          attributes: e.attributes,
          geometry: Z(e.geometry, t, r),
          visible: !0
        };
      }

      function Z(e, t, r) {
        if (!e) return null;

        switch (t) {
          case "point":
            var a = e,
                n = {
              x: a.x,
              y: a.y,
              z: a.z,
              m: a.m,
              hasZ: null != a.z,
              hasM: null != a.m,
              type: "point",
              spatialReference: r
            };
            return n;

          case "polyline":
            var i = e,
                n = {
              paths: i.paths,
              hasZ: !!i.hasZ,
              hasM: !!i.hasM,
              type: "polyline",
              spatialReference: r
            };
            return n;

          case "polygon":
            var s = e,
                n = {
              rings: s.rings,
              hasZ: !!s.hasZ,
              hasM: !!s.hasM,
              type: "polygon",
              spatialReference: r
            };
            return n;

          case "multipoint":
            var o = e,
                n = {
              points: o.points,
              hasZ: !!o.hasZ,
              hasM: !!o.hasM,
              type: "multipoint",
              spatialReference: r
            };
            return n;
        }
      }

      function M(e, t, r, a) {
        return {
          x: e,
          y: t,
          z: r,
          hasZ: null != r,
          hasM: !1,
          spatialReference: a,
          type: "point"
        };
      }

      function A(e) {
        return "declaredClass" in e;
      }

      function R(e) {
        return "declaredClass" in e;
      }

      function z(e) {
        return "declaredClass" in e;
      }

      function N(e, t) {
        if (!e || z(e)) return e;
        var r = new a({
          layer: t,
          sourceLayer: t
        });
        return r.visible = e.visible, r.symbol = s.clone(e.symbol), r.attributes = s.clone(e.attributes), r.geometry = k(e.geometry), r;
      }

      function k(e) {
        return o.isNone(e) ? null : A(e) ? e : p.fromJSON(w(e));
      }

      function F(e, t) {
        if (!e) return null;
        var r;

        if (R(e)) {
          if (null == t) return e.clone();
          if (R(t)) return t.copy(e);
        }

        return null != t ? (r = t, r.x = e.x, r.y = e.y, r.spatialReference = e.spatialReference, e.hasZ ? (r.z = e.z, r.hasZ = e.hasZ) : (r.z = null, r.hasZ = !1), e.hasM ? (r.m = e.m, r.hasM = !0) : (r.m = null, r.hasM = !1)) : (r = M(e.x, e.y, e.z, e.spatialReference), e.hasM && (r.m = e.m, r.hasM = !0)), r;
      }

      function S(e) {
        if (!e) return 0;
        var t = 32;

        for (var r in e) if (e.hasOwnProperty(r)) {
          var a = e[r];

          switch (typeof a) {
            case "string":
              t += V(a);
              break;

            default:
            case "number":
              t += 16;
          }
        }

        return t;
      }

      function j(e) {
        if (o.isNone(e)) return 0;
        var t = 32;

        switch (e.type) {
          case "point":
            t += 42;
            break;

          case "polyline":
          case "polygon":
            for (var r = 0, a = 2 + (e.hasZ ? 1 : 0) + (e.hasM ? 1 : 0), i = "polyline" === e.type ? e.paths : e.rings, s = 0, u = i; s < u.length; s++) {
              r += u[s].length;
            }

            t += 8 * r * a + 64, t += 128 * r, t += 34, t += 32 * (i.length + 1);
            break;

          case "multipoint":
            var h = 2 + (e.hasZ ? 1 : 0) + (e.hasM ? 1 : 0),
                c = e.points.length;
            t += 8 * c * h + 64, t += 128 * c, t += 34, t += 32;
            break;

          case "extent":
            t += 98, e.hasM && (t += 32), e.hasZ && (t += 32);
            break;

          case "mesh":
            t += l.estimateSize(e.vertexAttributes.position), t += l.estimateSize(e.vertexAttributes.normal), t += l.estimateSize(e.vertexAttributes.uv), t += l.estimateSize(e.vertexAttributes.tangent);
            break;

          default:
            n.neverReached(e);
        }

        return t;
      }

      function I(e) {
        var t = 32;
        return t += S(e.attributes), t += 3, t += 8 + j(e.geometry);
      }

      function O(e) {
        if (o.isNone(e)) return 0;

        switch (e.type) {
          case "point":
            return 1;

          case "polyline":
            for (var t = 0, r = 0, a = e.paths; r < a.length; r++) {
              t += a[r].length;
            }

            return t;

          case "polygon":
            for (var t = 0, i = 0, s = e.rings; i < s.length; i++) {
              t += s[i].length;
            }

            return t;

          case "multipoint":
            return e.points.length;

          case "extent":
            return 2;

          case "mesh":
            var l = e.vertexAttributes && e.vertexAttributes.position;
            return l ? l.length / 3 : 0;

          default:
            return void n.neverReached(e);
        }
      }

      function P(e) {
        if (!e) return !1;

        switch (e.type) {
          case "extent":
          case "point":
            return !0;

          case "polyline":
            for (var t = 0, r = e.paths; t < r.length; t++) {
              if (r[t].length > 0) return !0;
            }

            return !1;

          case "polygon":
            for (var a = 0, i = e.rings; a < i.length; a++) {
              if (i[a].length > 0) return !0;
            }

            return !1;

          case "multipoint":
            return e.points.length > 0;

          case "mesh":
            return e.vertexAttributes && e.vertexAttributes.position && e.vertexAttributes.position.length > 0;

          default:
            return void n.neverReached(e);
        }
      }

      function w(e) {
        var t = e.spatialReference.toJSON();

        switch (e.type) {
          case "point":
            return {
              x: e.x,
              y: e.y,
              z: e.z,
              m: e.m,
              spatialReference: t
            };

          case "polygon":
            var r = e.rings,
                a = e.hasZ,
                i = e.hasM;
            return {
              rings: G(r),
              hasZ: a,
              hasM: i,
              spatialReference: t
            };

          case "polyline":
            var s = e.paths,
                a = e.hasZ,
                i = e.hasM;
            return {
              paths: G(s),
              hasZ: a,
              hasM: i,
              spatialReference: t
            };

          case "extent":
            var o = e.xmin,
                l = e.xmax,
                u = e.ymin,
                h = e.ymax,
                c = e.zmin,
                p = e.zmax,
                m = e.mmin,
                y = e.mmax,
                a = e.hasZ,
                i = e.hasM;
            return {
              xmin: o,
              xmax: l,
              ymin: u,
              ymax: h,
              zmin: c,
              zmax: p,
              mmin: m,
              mmax: y,
              hasZ: a,
              hasM: i,
              spatialReference: t
            };

          case "multipoint":
            var f = e.points,
                a = e.hasZ,
                i = e.hasM;
            return {
              points: J(f) ? B(f) : f,
              hasZ: a,
              hasM: i,
              spatialReference: t
            };

          default:
            return void n.neverReached(e);
        }
      }

      function G(e) {
        return T(e) ? e.map(function (e) {
          return B(e);
        }) : e;
      }

      function B(e) {
        return e.map(function (e) {
          return l.toArray(e);
        });
      }

      function T(e) {
        for (var t = 0, r = e; t < r.length; t++) {
          var a = r[t];
          if (0 !== a.length) return J(a);
        }

        return !1;
      }

      function J(e) {
        return e.length && (l.isFloat32Array(e[0]) || l.isFloat64Array(e[0]));
      }

      function C(e, t) {
        switch (h.empty(t), "mesh" === e.type && (e = e.extent), e.type) {
          case "point":
            t[0] = t[3] = e.x, t[1] = t[4] = e.y, e.hasZ && (t[2] = t[5] = e.z);
            break;

          case "polyline":
            for (var r = 0; r < e.paths.length; r++) h.expandWithNestedArray(t, e.paths[r], e.hasZ);

            break;

          case "polygon":
            for (var r = 0; r < e.rings.length; r++) h.expandWithNestedArray(t, e.rings[r], e.hasZ);

            break;

          case "multipoint":
            h.expandWithNestedArray(t, e.points, e.hasZ);
            break;

          case "extent":
            t[0] = e.xmin, t[1] = e.ymin, t[3] = e.xmax, t[4] = e.ymax, null != e.zmin && (t[2] = e.zmin), null != e.zmax && (t[5] = e.zmax);
            break;

          default:
            n.neverReached(e);
        }
      }

      function W(e, t) {
        C(e, _), h.expand(t, _);
      }

      function D(e, t) {
        switch (c.empty(t), "mesh" === e.type && (e = e.extent), e.type) {
          case "point":
            t[0] = t[2] = e.x, t[1] = t[3] = e.y;
            break;

          case "polyline":
            for (var r = 0; r < e.paths.length; r++) c.expandWithNestedArray(t, e.paths[r]);

            break;

          case "polygon":
            for (var r = 0; r < e.rings.length; r++) c.expandWithNestedArray(t, e.rings[r]);

            break;

          case "multipoint":
            c.expandWithNestedArray(t, e.points);
            break;

          case "extent":
            t[0] = e.xmin, t[1] = e.ymin, t[2] = e.xmax, t[3] = e.ymax;
            break;

          default:
            n.neverReached(e);
        }
      }

      function U(e, t) {
        D(e, K), c.expand(t, K);
      }

      function q(e, t) {
        return null != e.objectId ? e.objectId : e.attributes && t ? e.attributes[t] : null;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.equals = f.equals;

      var L = function () {
        function e(e, t, r) {
          this.uid = e, this.geometry = t, this.attributes = r, this.visible = !0, this.objectId = null, this.centroid = null;
        }

        return e;
      }();

      t.DehydratedFeatureClass = L, t.hasGeometry = d, t.isFeatureGeometry = g;

      var H = function () {
        function e() {
          this.exceededTransferLimit = !1, this.features = [], this.fields = [], this.hasM = !1, this.hasZ = !1, this.geometryType = null, this.objectIdFieldName = null, this.globalIdFieldName = null, this.geometryProperties = null, this.geohashFieldName = null, this.spatialReference = null, this.transform = null;
        }

        return e;
      }();

      t.DehydratedFeatureSetClass = H, t.isPoint = b, t.fromFeatureSetJSON = x, t.fromJSONGeometry = Z, t.makeDehydratedPoint = M, t.isHydratedGeometry = A, t.isHydratedPoint = R, t.isHydratedGraphic = z, t.hydrateGraphic = N, t.hydrateGeometry = k, t.clonePoint = F;
      var V = i("esri-text-decoder") ? function (e) {
        return 32 + e.length;
      } : function (e) {
        return 32 * e.length;
      };
      t.estimateAttributesObjectSize = S, t.estimateGeometryObjectSize = j, t.estimateSize = I, t.numVertices = O, t.hasVertices = P, t.computeAABB = C, t.expandAABB = W, t.computeAABR = D, t.expandAABR = U, t.getObjectId = q;

      var _ = h.create(),
          K = c.create();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsFeatureConversionUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ./OptimizedFeature */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeature.js"), __webpack_require__(
    /*! ./OptimizedFeatureSet */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeatureSet.js"), __webpack_require__(
    /*! ./OptimizedGeometry */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedGeometry.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, o, s, a, u) {
      function i(e, r) {
        return e ? r ? 4 : 3 : r ? 3 : 2;
      }

      function l(e, r, t, n) {
        if (e) {
          if (t) return r && n ? ce : ie;
          if (r && n) return le;
        } else if (r && n) return ie;

        return ue;
      }

      function c(e, r) {
        var t = e.scale,
            n = e.translate;
        return Math.round((r - n[0]) / t[0]);
      }

      function h(e, r) {
        var t = e.scale,
            n = e.translate;
        return Math.round((n[1] - r) / t[1]);
      }

      function d(e, r) {
        var t = e.scale,
            n = e.translate;
        return r * t[0] + n[0];
      }

      function g(e, r) {
        var t = e.scale;
        return e.translate[1] - r * t[1];
      }

      function f(e, r, t) {
        return e ? r ? t ? M(e) : y(e) : t ? I(e) : v(e) : null;
      }

      function v(e) {
        var r = e.coords;
        return {
          x: r[0],
          y: r[1]
        };
      }

      function m(e, r) {
        return e.coords[0] = r.x, e.coords[1] = r.y, e;
      }

      function y(e) {
        var r = e.coords;
        return {
          x: r[0],
          y: r[1],
          z: r[2]
        };
      }

      function p(e, r) {
        return e.coords[0] = r.x, e.coords[1] = r.y, e.coords[2] = r.z, e;
      }

      function I(e) {
        var r = e.coords;
        return {
          x: r[0],
          y: r[1],
          m: r[2]
        };
      }

      function F(e, r) {
        return e.coords[0] = r.x, e.coords[1] = r.y, e.coords[2] = r.m, e;
      }

      function M(e) {
        var r = e.coords;
        return {
          x: r[0],
          y: r[1],
          z: r[2],
          m: r[3]
        };
      }

      function b(e, r) {
        return e.coords[0] = r.x, e.coords[1] = r.y, e.coords[2] = r.z, e.coords[3] = r.m, e;
      }

      function N(e, r, t, n) {
        var o = v;
        t && n ? o = M : t ? o = y : n && (o = I);

        for (var s = 0, a = r; s < a.length; s++) {
          var u = a[s],
              i = u.geometry,
              l = u.attributes,
              c = i ? o(i) : null;
          e.push({
            attributes: l,
            geometry: c
          });
        }

        return e;
      }

      function T(e, r) {
        return e && r ? b : e ? p : r ? F : m;
      }

      function w(e, r, t, n, o) {
        for (var a = T(t, n), i = 0, l = r; i < l.length; i++) {
          var c = l[i],
              h = c.geometry,
              d = c.attributes,
              g = void 0;
          h && (g = a(new u["default"](), h)), e.push(new s["default"](g, d, null, d[o]));
        }

        return e;
      }

      function G(e, r, t) {
        return void 0 === t && (t = T(null != r.z, null != r.m)), t(e, r);
      }

      function P(e, r, t, n) {
        for (var o = 0, s = r; o < s.length; o++) {
          var a = s[o],
              u = a.geometry,
              i = a.attributes,
              l = void 0;
          u && (l = z(u, t, n)), e.push({
            attributes: i,
            geometry: l
          });
        }

        return e;
      }

      function z(e, r, t) {
        if (!e) return null;

        for (var n = i(r, t), o = [], s = 0; s < e.coords.length; s += n) {
          for (var a = [], u = 0; u < n; u++) a.push(e.coords[s + u]);

          o.push(a);
        }

        return r ? t ? {
          points: o,
          hasZ: r,
          hasM: t
        } : {
          points: o,
          hasZ: r
        } : t ? {
          points: o,
          hasM: t
        } : {
          points: o
        };
      }

      function x(e, r, t, n, o) {
        for (var a = i(t, n), l = 0, c = r; l < c.length; l++) {
          var h = c[l],
              d = h.geometry,
              g = h.attributes,
              f = void 0;
          d && (f = Z(new u["default"](), d, a)), e.push(new s["default"](f, g, null, g[o]));
        }

        return e;
      }

      function Z(e, r, t) {
        void 0 === t && (t = i(r.hasZ, r.hasM)), e.lengths[0] = r.points.length;

        for (var n = e.coords, o = 0, s = 0, a = r.points; s < a.length; s++) for (var u = a[s], l = 0; l < t; l++) n[o++] = u[l];

        return e;
      }

      function O(e, r, t, n) {
        for (var o = 0, s = r; o < s.length; o++) {
          var a = s[o],
              u = a.geometry,
              i = a.attributes,
              l = void 0;
          u && (l = E(u, t, n)), e.push({
            attributes: i,
            geometry: l
          });
        }

        return e;
      }

      function E(e, r, t) {
        if (!e) return null;

        for (var n = i(r, t), o = e.coords, s = e.lengths, a = [], u = 0, l = 0, c = s; l < c.length; l++) {
          for (var h = c[l], d = [], g = 0; g < h; g++) {
            for (var f = [], v = 0; v < n; v++) f.push(o[u++]);

            d.push(f);
          }

          a.push(d);
        }

        return r ? t ? {
          paths: a,
          hasZ: r,
          hasM: t
        } : {
          paths: a,
          hasZ: r
        } : t ? {
          paths: a,
          hasM: t
        } : {
          paths: a
        };
      }

      function S(e, r, t, n, o) {
        for (var a = i(t, n), l = 0, c = r; l < c.length; l++) {
          var h = c[l],
              d = h.geometry,
              g = h.attributes,
              f = void 0;
          d && (f = j(new u["default"](), d, a)), e.push(new s["default"](f, g, null, g[o]));
        }

        return e;
      }

      function j(e, r, t) {
        void 0 === t && (t = i(r.hasZ, r.hasM));

        for (var n = e.lengths, o = e.coords, s = 0, a = 0, u = r.paths; a < u.length; a++) {
          for (var l = u[a], c = 0, h = l; c < h.length; c++) for (var d = h[c], g = 0; g < t; g++) o[s++] = d[g];

          n.push(l.length);
        }

        return e;
      }

      function V(e, r, t, n) {
        for (var o = 0, s = r; o < s.length; o++) {
          var a = s[o],
              u = a.geometry,
              i = a.attributes,
              l = a.centroid,
              c = void 0;

          if (u && (c = Y(u, t, n)), l) {
            var h = v(l);
            e.push({
              attributes: i,
              centroid: h,
              geometry: c
            });
          } else e.push({
            attributes: i,
            geometry: c
          });
        }

        return e;
      }

      function Y(e, r, t) {
        if (!e) return null;

        for (var n = i(r, t), o = e.coords, s = e.lengths, a = [], u = 0, l = 0, c = s; l < c.length; l++) {
          for (var h = c[l], d = [], g = 0; g < h; g++) {
            for (var f = [], v = 0; v < n; v++) f.push(o[u++]);

            d.push(f);
          }

          a.push(d);
        }

        return r ? t ? {
          rings: a,
          hasZ: r,
          hasM: t
        } : {
          rings: a,
          hasZ: r
        } : t ? {
          rings: a,
          hasM: t
        } : {
          rings: a
        };
      }

      function _(e, r, t, n, o) {
        for (var a = 0, i = r; a < i.length; a++) {
          var l = i[a],
              c = l.geometry,
              h = l.centroid,
              d = l.attributes,
              g = void 0;
          c && (g = k(new u["default"](), c, t, n)), h ? e.push(new s["default"](g, d, m(new u["default"](), h), d[o])) : e.push(new s["default"](g, d, null, d[o]));
        }

        return e;
      }

      function k(e, r, t, n) {
        return void 0 === t && (t = r.hasZ), void 0 === n && (n = r.hasM), L(e, r.rings, t, n), e;
      }

      function L(e, r, t, n) {
        var o = i(t, n),
            s = e.lengths,
            a = e.coords,
            u = 0;
        s.length = a.length = 0;

        for (var l = 0, c = r; l < c.length; l++) {
          for (var h = c[l], d = 0, g = h; d < g.length; d++) for (var f = g[d], v = 0; v < o; v++) a[u++] = f[v];

          s.push(h.length);
        }

        return e;
      }

      function q(e, r, t, n, o) {
        he[0] = e;
        var s = A(de, he, r, t, n, o)[0];
        return he.length = de.length = 0, s;
      }

      function A(e, r, n, o, a, u) {
        if (e.length = 0, !n) {
          for (var i = 0, l = r; i < l.length; i++) {
            var c = l[i],
                h = c.attributes[u];
            e.push(new s["default"](null, c.attributes, null, h));
          }

          return e;
        }

        switch (n) {
          case "esriGeometryPoint":
            return w(e, r, o, a, u);

          case "esriGeometryMultipoint":
            return x(e, r, o, a, u);

          case "esriGeometryPolyline":
            return S(e, r, o, a, u);

          case "esriGeometryPolygon":
            return _(e, r, o, a, u);

          default:
            se.error("convertToFeatureSet:unknown-geometry", new t("Unable to parse unknown geometry type '" + n + "'")), e.length = 0;
        }

        return e;
      }

      function U(e, r, t, n) {
        de[0] = e, X(he, de, r, t, n);
        var o = he[0];
        return he.length = de.length = 0, o;
      }

      function R(e, r, n) {
        if (!e) return null;
        var s = new u["default"]();

        if ("hasZ" in e && null == r && (r = e.hasZ), "hasM" in e && null == n && (n = e.hasM), o.isPoint(e)) {
          return T(null != r ? r : null != e.z, null != n ? n : null != e.m)(s, e);
        }

        return o.isPolygon(e) ? k(s, e, r, n) : o.isPolyline(e) ? j(s, e, i(r, n)) : o.isMultipoint(e) ? Z(s, e, i(r, n)) : void se.error("convertFromGeometry:unknown-geometry", new t("Unable to parse unknown geometry type '" + e + "'"));
      }

      function B(e, r, n, o) {
        var s = e && ("coords" in e ? e : e.geometry);
        if (!s) return null;

        switch (r) {
          case "esriGeometryPoint":
            var a = v;
            return n && o ? a = M : n ? a = y : o && (a = I), a(s);

          case "esriGeometryMultipoint":
            return z(s, n, o);

          case "esriGeometryPolyline":
            return E(s, n, o);

          case "esriGeometryPolygon":
            return Y(s, n, o);

          default:
            return void se.error("convertToGeometry:unknown-geometry", new t("Unable to parse unknown geometry type '" + r + "'"));
        }
      }

      function X(e, r, n, o, s) {
        switch (e.length = 0, n) {
          case "esriGeometryPoint":
            return N(e, r, o, s);

          case "esriGeometryMultipoint":
            return P(e, r, o, s);

          case "esriGeometryPolyline":
            return O(e, r, o, s);

          case "esriGeometryPolygon":
            return V(e, r, o, s);

          default:
            se.error("convertToFeatureSet:unknown-geometry", new t("Unable to parse unknown geometry type '" + n + "'"));
        }

        return e;
      }

      function C(e) {
        var r = e.objectIdFieldName,
            t = e.spatialReference,
            n = e.transform,
            o = e.fields,
            s = e.hasM,
            a = e.hasZ,
            u = e.features,
            i = e.geometryType,
            l = e.exceededTransferLimit,
            c = X([], u, i, a, s),
            h = {
          features: c,
          fields: o,
          geometryType: i,
          objectIdFieldName: r,
          spatialReference: t
        };
        return n && (h.transform = n), l && (h.exceededTransferLimit = l), s && (h.hasM = s), a && (h.hasZ = a), h;
      }

      function Q(e, r) {
        var n = new a["default"](),
            o = e.hasM,
            s = e.hasZ,
            u = e.features,
            i = e.objectIdFieldName,
            l = e.spatialReference,
            c = e.geometryType,
            h = e.exceededTransferLimit,
            d = e.transform;
        return n.fields = e.fields, n.geometryType = c, n.objectIdFieldName = i || r, n.spatialReference = l, n.objectIdFieldName ? (u && A(n.features, u, c, s, o, n.objectIdFieldName), h && (n.exceededTransferLimit = h), o && (n.hasM = o), s && (n.hasZ = s), d && (n.transform = d), n) : (se.error(new t("optimized-features:invalid-objectIdFieldName", "objectIdFieldName is missing")), n);
      }

      function D(e) {
        var r = e.transform,
            t = e.features,
            n = e.hasM,
            o = e.hasZ;
        if (!r) return e;

        for (var s = 0, a = t; s < a.length; s++) {
          var u = a[s];
          u.geometry && te(u.geometry, u.geometry, n, o, r), u.centroid && te(u.centroid, u.centroid, n, o, r);
        }

        return e.transform = null, e;
      }

      function H(e, r) {
        var t = r.geometryType,
            n = r.features,
            o = r.hasM,
            a = r.hasZ;
        if (!e) return r;

        for (var i = 0; i < n.length; i++) {
          var l = n[i],
              c = new s["default"](new u["default"](), l.attributes);
          J(c.geometry, l.geometry, o, a, t, e), l.centroid && (c.centroid = new u["default"](), J(c.centroid, l.centroid, o, a, "esriGeometryPoint", e)), n[i] = c;
        }

        return r.transform = e, r;
      }

      function J(e, r, t, n, o, s, a, u) {
        if (void 0 === a && (a = t), void 0 === u && (u = n), e.lengths.length && (e.lengths.length = 0), e.coords.length && (e.coords.length = 0), !r || !r.coords.length) return null;
        var d = ae[o],
            g = r.coords,
            f = r.lengths,
            v = i(t, n),
            m = i(t && a, n && u),
            y = l(t, n, a, u);
        if (!f.length) return y(e.coords, g, 0, 0, c(s, g[0]), h(s, g[1])), e.lengths.length && (e.lengths.length = 0), e.coords.length = v, e;

        for (var p, I, F, M, b = 0, N = 0, T = N, w = 0, G = f; w < G.length; w++) {
          var P = G[w];

          if (!(P < d)) {
            var z = 0;
            N = T, F = p = c(s, g[b]), M = I = h(s, g[b + 1]), y(e.coords, g, N, b, F, M), z++, b += v, N += m;

            for (var x = 1; x < P; x++, b += v) F = c(s, g[b]), M = h(s, g[b + 1]), F === p && M === I || (y(e.coords, g, N, b, F - p, M - I), N += m, z++, p = F, I = M);

            z >= d && (e.lengths.push(z), T = N);
          }
        }

        return e.coords.length = T, e.coords.length ? e : null;
      }

      function K(e, r, t, n, o, s, a, u) {
        if (void 0 === a && (a = t), void 0 === u && (u = n), e.lengths.length && (e.lengths.length = 0), e.coords.length && (e.coords.length = 0), !r || !r.coords.length) return null;
        var c = ae[o],
            h = r.coords,
            d = r.lengths,
            g = i(t, n),
            f = i(t && a, n && u),
            v = l(t, n, a, u);
        if (!d.length) return v(e.coords, h, 0, 0, h[0], h[1]), e.lengths.length && (e.lengths.length = 0), e.coords.length = g, e;

        for (var m = 0, y = s * s, p = 0, I = d; p < I.length; p++) {
          var F = I[p];
          if (F < c) m += F * g;else {
            var M = e.coords.length / f,
                b = m,
                N = m + (F - 1) * g;
            v(e.coords, h, e.coords.length, b, h[b], h[b + 1]), $(e.coords, h, g, y, v, b, N), v(e.coords, h, e.coords.length, N, h[N], h[N + 1]);
            var T = e.coords.length / f - M;
            T >= c ? e.lengths.push(T) : e.coords.length = M * f, m += F * g;
          }
        }

        return e.coords.length ? e : null;
      }

      function W(e, r, t, n) {
        var o = e[r],
            s = e[r + 1],
            a = e[t],
            u = e[t + 1],
            i = e[n],
            l = e[n + 1],
            c = a,
            h = u,
            d = i - c,
            g = l - h;

        if (0 !== d || 0 !== g) {
          var f = d * d + g * g,
              v = ((o - c) * d + (s - h) * g) / f;
          v > 1 ? (c = i, h = l) : v > 0 && (c += d * v, h += g * v);
        }

        return d = o - c, g = s - h, d * d + g * g;
      }

      function $(e, r, t, n, o, s, a) {
        for (var u, i = n, l = 0, c = s + t; c < a; c += t) (u = W(r, c, s, a)) > i && (l = c, i = u);

        i > n && (l - s > t && $(e, r, t, n, o, s, l), o(e, r, e.length, l, r[l], r[l + 1]), a - l > t && $(e, r, t, n, o, l, a));
      }

      function ee(e, r, t, n) {
        var o = i(t, n),
            s = Number.POSITIVE_INFINITY,
            a = Number.POSITIVE_INFINITY,
            u = Number.NEGATIVE_INFINITY,
            l = Number.NEGATIVE_INFINITY;
        if (r && r.coords) for (var c = r.coords, h = 0; h < c.length; h += o) {
          var d = c[h],
              g = c[h + 1];
          s = Math.min(s, d), u = Math.max(u, d), a = Math.min(a, g), l = Math.max(l, g);
        }
        return e[0] = s, e[1] = a, e[2] = u, e[3] = l, e;
      }

      function re(e, r, t, n) {
        for (var o = i(t, n), s = r.lengths, a = r.coords, u = Number.POSITIVE_INFINITY, l = Number.POSITIVE_INFINITY, c = Number.NEGATIVE_INFINITY, h = Number.NEGATIVE_INFINITY, d = 0, g = 0, f = s; g < f.length; g++) {
          var v = f[g],
              m = a[d],
              y = a[d + 1];
          u = Math.min(m, u), l = Math.min(y, l), c = Math.max(m, c), h = Math.max(y, h), d += o;

          for (var p = 1; p < v; p++, d += o) {
            var I = a[d],
                F = a[d + 1];
            m += I, y += F, I < 0 && (u = Math.min(u, m)), I > 0 && (c = Math.max(c, m)), F < 0 ? l = Math.min(l, y) : F > 0 && (h = Math.max(h, y));
          }
        }

        return e[0] = u, e[1] = l, e[2] = c, e[3] = h, e;
      }

      function te(e, r, t, n, o) {
        var s = r.coords,
            a = r.lengths,
            u = t ? n ? ce : ie : n ? ie : ue,
            l = i(t, n);
        if (!s.length) return e !== r && (e.lengths.length = 0, e.coords.length = 0), e;
        if (!a.length) return u(e.coords, s, 0, 0, d(o, s[0]), g(o, s[1])), e !== r && (e.lengths.length = 0, e.coords.length = l), e;

        for (var c = o.scale, h = c[0], f = c[1], v = 0, m = 0; m < a.length; m++) {
          var y = a[m];
          e.lengths[m] = y;
          var p = d(o, s[v]),
              I = g(o, s[v + 1]);
          u(e.coords, s, v, v, p, I), v += l;

          for (var F = 1; F < y; F++, v += l) p += s[v] * h, I -= s[v + 1] * f, u(e.coords, s, v, v, p, I);
        }

        return e !== r && (e.lengths.length = a.length, e.coords.length = s.length), e;
      }

      function ne(e, r, t, n, o, s) {
        var a,
            u = i(t, n),
            c = l(t, n, o, s),
            h = r.coords;
        e.coords.length = 0, e.lengths.length = 0, (a = e.lengths).push.apply(a, r.lengths);

        for (var d = 0; d < h.length; d += u) c(e.coords, h, e.coords.length, d, h[d], h[d + 1]);

        return e;
      }

      function oe(e, r, t, n, o) {
        if (!r || !r.coords || !r.coords.length) return null;

        for (var s = ae[t], a = r.coords, u = r.lengths, c = l(n, o, n, o), h = i(n, o), d = 0, g = 0, f = 0, v = 0, m = 0, y = u; m < y.length; m++) {
          var p = y[m];
          g = v, c(e.coords, a, g, d, a[d], a[d + 1]), d += h;
          var I = a[d],
              F = a[d + 1],
              M = I,
              b = F,
              N = F / I;
          g += h, c(e.coords, a, g, d, M, b), d += h;

          for (var T = 2; T < p; T++) {
            I = a[d], F = a[d + 1];
            var w = F / I,
                G = N === w || !isFinite(N) && !isFinite(w),
                P = G && isFinite(w) ? N >= 0 && w >= 0 || N <= 0 && w <= 0 : b >= 0 && F >= 0 || b <= 0 && F <= 0;
            G && P ? (M += I, b += F) : (M = I, b = F, g += h), c(e.coords, a, g, d, M, b), d += h, N = w;
          }

          g += h;
          var z = (g - v) / h;
          z >= s && (e.lengths[f] = z, v = g, f++);
        }

        return e.coords.length > g && (e.coords.length = g), e.lengths.length > f && (e.lengths.length = f), e.coords.length ? e : null;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var se = n.getLogger("esri.tasks.support.optimizedFeatureSet"),
          ae = {
        esriGeometryPoint: 0,
        esriGeometryPolyline: 2,
        esriGeometryPolygon: 3,
        esriGeometryMultipoint: 0
      },
          ue = function ue(e, r, t, n, o, s) {
        e[t] = o, e[t + 1] = s;
      },
          ie = function ie(e, r, t, n, o, s) {
        e[t] = o, e[t + 1] = s, e[t + 2] = r[n + 2];
      },
          le = function le(e, r, t, n, o, s) {
        e[t] = o, e[t + 1] = s, e[t + 2] = r[n + 3];
      },
          ce = function ce(e, r, t, n, o, s) {
        e[t] = o, e[t + 1] = s, e[t + 2] = r[n + 2], e[t + 3] = r[n + 3];
      };

      r.quantizeX = c, r.quantizeY = h, r.hydrateX = d, r.hydrateY = g, r.convertToPoint = f, r.convertFromPoint = G, r.convertToMultipoint = z, r.convertFromMultipoint = Z, r.convertToPolyline = E, r.convertFromPolyline = j, r.convertToPolygon = Y, r.convertFromPolygon = k, r.convertFromNestedArray = L;
      var he = [],
          de = [];
      r.convertFromFeature = q, r.convertFromFeatures = A, r.convertToFeature = U, r.convertFromGeometry = R, r.convertToGeometry = B, r.convertToFeatures = X, r.convertToFeatureSet = C, r.convertFromFeatureSet = Q, r.hydrateOptimizedFeatureSet = D, r.quantizeOptimizedFeatureSet = H, r.quantizeOptimizedGeometry = J, r.generalizeOptimizedGeometry = K, r.getBoundsOptimizedGeometry = ee, r.getQuantizedBoundsOptimizedGeometry = re, r.hydrateOptimizedGeometry = te, r.removeZMValues = ne, r.removeCollinearVectices = oe;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/layers/graphics/sources/MemorySource.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/graphics/sources/MemorySource.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsSourcesMemorySourceJs(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/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__(
    /*! ../../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.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/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.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/Promise */
    "./node_modules/arcgis-js-api/core/Promise.js"), __webpack_require__(
    /*! ../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../core/requireUtils */
    "./node_modules/arcgis-js-api/core/requireUtils.js"), __webpack_require__(
    /*! ../../../core/workers */
    "./node_modules/arcgis-js-api/core/workers.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../../tasks/support/FeatureSet */
    "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js"), __webpack_require__.dj.m(module)], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, s, a, u, p, l, c, d, y, h, f, g, m, v, _, b, S, F) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var T = 0,
          R = y.getLogger("esri.layers.graphics.sources.MemorySource"),
          O = function (t) {
        function i(e) {
          var r = t.call(this, e) || this;
          return r._idToClientGraphic = null, r.type = "memory", r;
        }

        return r(i, t), i.prototype.load = function (e) {
          var t = h.isSome(e) ? e.signal : null;
          return this.addResolvingPromise(this._startWorker(t)), this.when();
        }, Object.defineProperty(i.prototype, "workerGeometryType", {
          get: function get() {
            var e = this.layer && this.layer.geometryType;
            return e ? this._geometryTypeRequiresClientGraphicMapping(e) ? "polygon" : e : null;
          },
          enumerable: !0,
          configurable: !0
        }), i.prototype.applyEdits = function (e) {
          var t = this;
          return this.load().then(function () {
            return t._applyEdits(e);
          });
        }, i.prototype.openPorts = function () {
          var e = this;
          return this.load().then(function () {
            return e._connection.openPorts();
          });
        }, i.prototype.queryFeatures = function (e, t) {
          var r = this;
          return void 0 === t && (t = {}), this.load(t).then(function () {
            return r._connection.invoke("queryFeatures", e ? e.toJSON() : null, t);
          }).then(function (e) {
            var t = S.fromJSON(e);
            if (!r._requiresClientGraphicMapping()) return t;

            for (var o = r.layer.objectIdField, i = 0, n = t.features; i < n.length; i++) {
              var s = n[i],
                  a = s.attributes[o],
                  u = r._idToClientGraphic.get(a);

              u && (s.geometry = u.geometry);
            }

            return t.geometryType = r.layer.geometryType, t;
          });
        }, i.prototype.queryFeaturesJSON = function (e, t) {
          var r = this;
          return void 0 === t && (t = {}), this._requiresClientGraphicMapping() ? g.reject(new l("query-features-json:unsupported", "Cannot query in JSON format for client only geometry types (mesh and extent)")) : this.load(t).then(function () {
            return r._connection.invoke("queryFeatures", e ? e.toJSON() : null, t);
          });
        }, i.prototype.queryFeatureCount = function (e, t) {
          var r = this;
          return void 0 === t && (t = {}), this.load(t).then(function () {
            return r._connection.invoke("queryFeatureCount", e ? e.toJSON() : null, t);
          });
        }, i.prototype.queryObjectIds = function (e, t) {
          var r = this;
          return void 0 === t && (t = {}), this.load(t).then(function () {
            return r._connection.invoke("queryObjectIds", e ? e.toJSON() : null, t);
          });
        }, i.prototype.queryExtent = function (e, t) {
          var r = this;
          return void 0 === t && (t = {}), this.load(t).then(function () {
            return r._connection.invoke("queryExtent", e ? e.toJSON() : null, t);
          }).then(function (e) {
            return {
              count: e.count,
              extent: a.Extent.fromJSON(e.extent)
            };
          });
        }, i.prototype._applyEdits = function (e) {
          var t = this;
          if (!this._connection) throw new l("feature-layer-source:edit-failure", "Memory source not loaded");
          var r = this.layer.objectIdField,
              o = null,
              i = [],
              n = [];
          if (e.addFeatures && (o = this._prepareAddFeatures(e.addFeatures)), e.deleteFeatures) for (var s = 0, a = e.deleteFeatures; s < a.length; s++) {
            var u = a[s];
            "objectId" in u && null != u.objectId ? i.push(u.objectId) : "attributes" in u && null != u.attributes[r] && i.push(u.attributes[r]);
          }
          if (e.updateFeatures) for (var p = 0, c = e.updateFeatures; p < c.length; p++) {
            var u = c[p];
            n.push(this._serializeFeature(u));
          }
          return this._connection.invoke("applyEdits", {
            adds: o ? o.features : [],
            updates: n,
            deletes: i
          }).then(function (e) {
            var r = e.fullExtent,
                i = e.featureEditResults;
            if (t.fullExtent = r, o && o.finish(i.uidToObjectId), t._idToClientGraphic) for (var n = 0, s = i.deleteResults; n < s.length; n++) {
              var a = s[n];
              a.success && t._idToClientGraphic["delete"](a.objectId);
            }
            return t._createEditsResult(i);
          });
        }, i.prototype._createEditsResult = function (e) {
          return {
            addFeatureResults: e.addResults ? e.addResults.map(this._createFeatureEditResult, this) : [],
            updateFeatureResults: e.updateResults ? e.updateResults.map(this._createFeatureEditResult, this) : [],
            deleteFeatureResults: e.deleteResults ? e.deleteResults.map(this._createFeatureEditResult, this) : [],
            addAttachmentResults: [],
            updateAttachmentResults: [],
            deleteAttachmentResults: []
          };
        }, i.prototype._createFeatureEditResult = function (e) {
          var t = !0 === e.success ? null : e.error || {
            code: void 0,
            description: void 0
          };
          return {
            objectId: e.objectId,
            globalId: e.globalId,
            error: t ? new l("feature-layer-source:edit-failure", t.description, {
              code: t.code
            }) : null
          };
        }, i.prototype._prepareAddFeatures = function (e) {
          for (var t = new Map(), r = new Array(e.length), o = null, i = 0; i < e.length; i++) {
            var n = e[i],
                s = this._serializeFeature(n);

            !o && h.isSome(n.geometry) && (o = n.geometry.type), r[i] = s, t.set("" + s.uid, n);
          }

          var a = this;
          return {
            features: r,
            inferredGeometryType: o,
            finish: function finish(e) {
              var r = a.sourceJSON.objectIdField;

              for (var o in e) {
                var i = e[o],
                    n = t.get(o);
                n && (n.attributes || (n.attributes = {}), -1 === i ? delete n.attributes[r] : n.attributes[r] = i, a._addIdToClientGraphic(n));
              }
            }
          };
        }, i.prototype._addIdToClientGraphic = function (e) {
          if (this._idToClientGraphic) {
            var t = this.sourceJSON.objectIdField,
                r = e.attributes && e.attributes[t];
            null != r && this._idToClientGraphic.set(r, e);
          }
        }, i.prototype._requiresClientGraphicMapping = function () {
          var e = this.layer.geometryType || this.sourceJSON.geometryType;
          return this._geometryTypeRequiresClientGraphicMapping(e);
        }, i.prototype._geometryRequiresClientGraphicMapping = function (e) {
          return this._geometryTypeRequiresClientGraphicMapping(e.type);
        }, i.prototype._geometryTypeRequiresClientGraphicMapping = function (e) {
          return "mesh" === e || "multipatch" === e || "extent" === e;
        }, i.prototype._serializeFeature = function (e) {
          var t = e.attributes,
              r = this._geometryForSerialization(e),
              o = (T++).toString();

          return r ? {
            uid: o,
            geometry: r.toJSON(),
            attributes: t
          } : {
            uid: o,
            attributes: t
          };
        }, i.prototype._geometryForSerialization = function (e) {
          var t = e.geometry;
          return h.isNone(t) ? null : this._geometryRequiresClientGraphicMapping(t) ? a.Polygon.fromExtent(t.extent) : t;
        }, i.prototype._startWorker = function (t) {
          return s(this, void 0, void 0, function () {
            var r, o, i, s, u, p, l, d, y, h, f, _, b, S, T, O;

            return n(this, function (n) {
              switch (n.label) {
                case 0:
                  return c("esri-webpack") ? [4, g.create(function (t) {
                    return Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(0), __webpack_require__.e(3), __webpack_require__.e(7), __webpack_require__.e(11), __webpack_require__.e(21), __webpack_require__.e(74)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./support/MemorySourceWorker */
                      "./node_modules/arcgis-js-api/layers/graphics/sources/support/MemorySourceWorker.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](__webpack_require__.oe);
                  })] : [3, 2];

                case 1:
                  n.sent(), n.label = 2;

                case 2:
                  return r = this, [4, v.open(m.getAbsMid("./support/MemorySourceWorker", e, F), {
                    strategy: c("esri-workers-for-memory-layers") ? "dedicated" : "local",
                    signal: t
                  })];

                case 3:
                  return r._connection = n.sent(), o = this.layer, i = o.fields, s = o.spatialReference, u = o.objectIdField, p = o.hasM, l = o.hasZ, d = o.timeInfo, y = "defaults" === this.layer.originOf("spatialReference"), h = this._prepareAddFeatures(this.items), this.on("before-changes", function (e) {
                    R.error("Source modifications will not propagate after layer has been loaded. Please use .applyEdits() instead"), e.preventDefault();
                  }), f = {
                    features: h.features,
                    fields: i && i.map(function (e) {
                      return e.toJSON();
                    }),
                    geometryType: a.typeKebabDictionary.toJSON(this.workerGeometryType),
                    hasM: p,
                    hasZ: l,
                    objectIdField: u,
                    spatialReference: y ? null : s && s.toJSON(),
                    timeInfo: d ? d.toJSON() : null
                  }, [4, this._connection.invoke("load", f, {
                    signal: t
                  })];

                case 4:
                  for (_ = n.sent(), b = 0, S = _.warnings; b < S.length; b++) T = S[b], R.warn(T.message, {
                    layer: this.layer,
                    warning: T
                  });

                  return _.featureErrors.length && R.warn("Encountered " + _.featureErrors.length + " validation errors while loading features", _.featureErrors), O = _.layerDefinition, this._geometryTypeRequiresClientGraphicMapping(h.inferredGeometryType) && (O.geometryType = a.typeKebabDictionary.toJSON(h.inferredGeometryType)), this.sourceJSON = O, this._requiresClientGraphicMapping() && (this._idToClientGraphic = new Map()), h.finish(_.assignedObjectIds), [2];
              }
            });
          });
        }, o([_.shared({
          Type: u,
          ensureType: b.ensureType(u)
        })], i.prototype, "itemType", void 0), o([_.property()], i.prototype, "type", void 0), o([_.property({
          constructOnly: !0
        })], i.prototype, "layer", void 0), o([_.property({
          readOnly: !0,
          dependsOn: ["layer.geometryType"]
        })], i.prototype, "workerGeometryType", null), o([_.property()], i.prototype, "sourceJSON", void 0), i = o([_.subclass("esri.layers.graphics.sources.MemorySource")], i);
      }(_.declared(d.LoadableMixin(f.EsriPromiseMixin(p))));

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsArcGISMapServiceJs(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

    /**
                     * The copyright text as defined by the service.
                     *
                     * @name copyright
                     * @type {string}
                     *
                     * @memberof module:esri/layers/mixins/ArcGISMapService
                     */


    !(__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/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__(
    /*! ../support/commonProperties */
    "./node_modules/arcgis-js-api/layers/support/commonProperties.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, p, o, i, s, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.ArcGISMapService = function (e) {
        return function (e) {
          function r() {
            var r = null !== e && e.apply(this, arguments) || this;
            return r.capabilities = void 0, r.copyright = null, r.fullExtent = null, r.legendEnabled = !0, r.spatialReference = null, r.version = null, r;
          }

          return t(r, e), r.prototype.readCapabilities = function (e, r) {
            var t = r.capabilities && r.capabilities.split(",").map(function (e) {
              return e.toLowerCase().trim();
            });
            if (!t) return {
              operations: {
                supportsQuery: !1,
                supportsExportMap: !1,
                supportsExportTiles: !1,
                supportsTileMap: !1
              },
              exportMap: null,
              exportTiles: null
            };
            var p = this.type,
                o = -1 !== t.indexOf("query"),
                i = -1 !== t.indexOf("map"),
                s = !!r.exportTilesAllowed,
                a = -1 !== t.indexOf("tilemap"),
                n = "tile" !== p && !!r.supportsDynamicLayers,
                l = "tile" !== p && (!r.tileInfo || n),
                u = "tile" !== p && (!r.tileInfo || n),
                y = "tile" !== p;
            return {
              operations: {
                supportsQuery: o,
                supportsExportMap: i,
                supportsExportTiles: s,
                supportsTileMap: a
              },
              exportMap: i ? {
                supportsSublayersChanges: y,
                supportsDynamicLayers: n,
                supportsSublayerVisibility: l,
                supportsSublayerDefinitionExpression: u
              } : null,
              exportTiles: s ? {
                maxExportTilesCount: +r.maxExportTilesCount
              } : null
            };
          }, r.prototype.readVersion = function (e, r) {
            var t = r.currentVersion;
            return t || (t = r.hasOwnProperty("capabilities") || r.hasOwnProperty("tables") ? 10 : r.hasOwnProperty("supportedImageFormatTypes") ? 9.31 : 9.3), t;
          }, p([o.property({
            readOnly: !0
          })], r.prototype, "capabilities", void 0), p([o.reader("service", "capabilities", ["capabilities", "exportTilesAllowed", "maxExportTilesCount", "supportsDynamicLayers", "tileInfo"])], r.prototype, "readCapabilities", null), p([o.property({
            json: {
              read: {
                source: "copyrightText"
              }
            }
          })], r.prototype, "copyright", void 0), p([o.property({
            type: i
          })], r.prototype, "fullExtent", void 0), p([o.property({
            json: {
              origins: {
                service: {
                  read: !1
                },
                "portal-item": {
                  read: !1
                }
              }
            }
          })], r.prototype, "id", void 0), p([o.property({
            type: Boolean,
            json: {
              origins: {
                service: {
                  read: {
                    enabled: !1
                  }
                }
              },
              read: {
                source: "showLegend"
              },
              write: {
                target: "showLegend"
              }
            }
          })], r.prototype, "legendEnabled", void 0), p([o.property(a.popupEnabled)], r.prototype, "popupEnabled", void 0), p([o.property({
            type: s
          })], r.prototype, "spatialReference", void 0), p([o.property()], r.prototype, "version", void 0), p([o.reader("version", ["currentVersion", "capabilities", "tables", "supportedImageFormatTypes"])], r.prototype, "readVersion", null), r = p([o.subclass("esri.layers.mixins.ArcGISMapService")], r);
        }(o.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsArcGISServiceJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../support/arcgisLayerUrl */
    "./node_modules/arcgis-js-api/layers/support/arcgisLayerUrl.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, o, l) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var s = n.getLogger("esri.layers.mixins.ArcGISService");

      t.ArcGISService = function (e) {
        return function (e) {
          function t() {
            return null !== e && e.apply(this, arguments) || this;
          }

          return r(t, e), Object.defineProperty(t.prototype, "title", {
            get: function get() {
              if (this._get("title") && "defaults" !== this.originOf("title")) return this._get("title");

              if (this.url) {
                var e = l.parse(this.url);
                if (e && e.title) return e.title;
              }

              return this._get("title") || "";
            },
            set: function set(e) {
              this._set("title", e);
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "url", {
            set: function set(e) {
              this._set("url", l.sanitizeUrl(e, s));
            },
            enumerable: !0,
            configurable: !0
          }), i([o.property({
            dependsOn: ["url"]
          })], t.prototype, "title", null), i([o.property({
            type: String
          })], t.prototype, "url", null), t = i([o.subclass("esri.layers.mixins.ArcGISService")], t);
        }(o.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsOperationalLayerJs(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/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__(
    /*! ../../core/accessorSupport/read */
    "./node_modules/arcgis-js-api/core/accessorSupport/read.js"), __webpack_require__(
    /*! ../../core/accessorSupport/write */
    "./node_modules/arcgis-js-api/core/accessorSupport/write.js"), __webpack_require__(
    /*! ../support/commonProperties */
    "./node_modules/arcgis-js-api/layers/support/commonProperties.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, a, n, o, c, u, y) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.OperationalLayer = function (e) {
        return function (e) {
          function n() {
            var r = null !== e && e.apply(this, arguments) || this;
            return r.title = "Layer", r;
          }

          return t(n, e), n.prototype.writeListMode = function (e, r, t, i) {
            i && "ground" === i.layerContainerType ? r[t] = e : e && u.willPropertyWrite(this, t, {}, i) && (r[t] = e);
          }, n.prototype.writeTitle = function (e, r) {
            r.title = e || "Layer";
          }, n.prototype.writeOperationalLayerType = function (e, r) {
            e && (r.layerType = e);
          }, n.prototype.read = function (e, r) {
            var t = this,
                i = arguments;
            r && (r.layer = this), c.readLoadable(this, e, function (r) {
              return t.inherited(i, [e, r]);
            }, r);
          }, n.prototype.write = function (e, t) {
            if (t && t.origin) {
              var i = t.origin + "/" + (t.layerContainerType || "operational-layers"),
                  n = r.supportedTypes[i],
                  o = n && n[this.operationalLayerType];
              if ("write" !== o && "readwrite" !== o) return t.messages && t.messages.push(new a("layer:unsupported", "Layers (" + this.title + ", " + this.id + ") of type '" + this.declaredClass + "' are not supported in the context of '" + i + "'", {
                layer: this
              })), null;
            }

            var c = this.inherited(arguments, [e, t]),
                u = !!t && !!t.messages && !!t.messages.filter(function (e) {
              return e instanceof a && "web-document-write:property-required" === e.name;
            }).length;
            return !this.url && u ? null : c;
          }, i([o.property({
            type: String,
            json: {
              write: {
                ignoreOrigin: !0
              },
              origins: {
                "web-scene": {
                  write: {
                    isRequired: !0,
                    ignoreOrigin: !0
                  }
                }
              }
            }
          })], n.prototype, "id", void 0), i([o.property({
            json: {
              write: {
                ignoreOrigin: !0
              }
            }
          })], n.prototype, "listMode", void 0), i([o.writer("listMode")], n.prototype, "writeListMode", null), i([o.property({
            type: String,
            json: {
              write: {
                ignoreOrigin: !0,
                allowNull: !0
              },
              origins: {
                "web-scene": {
                  write: {
                    isRequired: !0,
                    ignoreOrigin: !0
                  }
                }
              }
            }
          })], n.prototype, "title", void 0), i([o.writer("title")], n.prototype, "writeTitle", null), i([o.property({
            type: String,
            readOnly: !0,
            json: {
              write: {
                target: "layerType",
                ignoreOrigin: !0
              }
            }
          })], n.prototype, "operationalLayerType", void 0), i([o.writer("operationalLayerType")], n.prototype, "writeOperationalLayerType", null), i([o.property(y.opacity)], n.prototype, "opacity", void 0), i([o.property({
            type: Boolean,
            json: {
              read: {
                source: "visibility"
              },
              write: {
                target: "visibility"
              },
              origins: {
                "web-document": {
                  read: {
                    source: "visibility"
                  },
                  write: {
                    target: "visibility"
                  },
                  "default": !0
                }
              }
            }
          })], n.prototype, "visible", void 0), n = i([o.subclass("esri.layers.mixins.OperationalLayer")], n);
        }(o.declared(e));
      }, r.typeModuleMap = {
        ArcGISFeatureLayer: function ArcGISFeatureLayer() {
          return n.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../FeatureLayer */
              "./node_modules/arcgis-js-api/layers/FeatureLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISImageServiceLayer: function ArcGISImageServiceLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(24), __webpack_require__.e("common"), __webpack_require__.e(28)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../ImageryLayer */
              "./node_modules/arcgis-js-api/layers/ImageryLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISImageServiceVectorLayer: function ArcGISImageServiceVectorLayer() {
          return n.resolve(null);
        },
        ArcGISMapServiceLayer: function ArcGISMapServiceLayer() {
          return n.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../MapImageLayer */
              "./node_modules/arcgis-js-api/layers/MapImageLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISSceneServiceLayer: function ArcGISSceneServiceLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(9), __webpack_require__.e(41)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../SceneLayer */
              "./node_modules/arcgis-js-api/layers/SceneLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISStreamLayer: function ArcGISStreamLayer() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            42).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../StreamLayer */
              "./node_modules/arcgis-js-api/layers/StreamLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISTiledElevationServiceLayer: function ArcGISTiledElevationServiceLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(25)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../ElevationLayer */
              "./node_modules/arcgis-js-api/layers/ElevationLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISTiledImageServiceLayer: function ArcGISTiledImageServiceLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(26)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../TileLayer */
              "./node_modules/arcgis-js-api/layers/TileLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        ArcGISTiledMapServiceLayer: function ArcGISTiledMapServiceLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(26)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../TileLayer */
              "./node_modules/arcgis-js-api/layers/TileLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        BingMapsAerial: function BingMapsAerial() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            16).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../BingMapsLayer */
              "./node_modules/arcgis-js-api/layers/BingMapsLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        BingMapsRoad: function BingMapsRoad() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            16).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../BingMapsLayer */
              "./node_modules/arcgis-js-api/layers/BingMapsLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        BingMapsHybrid: function BingMapsHybrid() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            16).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../BingMapsLayer */
              "./node_modules/arcgis-js-api/layers/BingMapsLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        BuildingSceneLayer: function BuildingSceneLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(9), __webpack_require__.e(31)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../BuildingSceneLayer */
              "./node_modules/arcgis-js-api/layers/BuildingSceneLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        CSV: function CSV() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            38).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../CSVLayer */
              "./node_modules/arcgis-js-api/layers/CSVLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        GeoRSS: function GeoRSS() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            47).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../GeoRSSLayer */
              "./node_modules/arcgis-js-api/layers/GeoRSSLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        GroupLayer: function GroupLayer() {
          return n.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../GroupLayer */
              "./node_modules/arcgis-js-api/layers/GroupLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        IntegratedMeshLayer: function IntegratedMeshLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(9), __webpack_require__.e(48)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../IntegratedMeshLayer */
              "./node_modules/arcgis-js-api/layers/IntegratedMeshLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        KML: function KML() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e("common"), __webpack_require__.e(40)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../KMLLayer */
              "./node_modules/arcgis-js-api/layers/KMLLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        OpenStreetMap: function OpenStreetMap() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(12), __webpack_require__.e(49)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../OpenStreetMapLayer */
              "./node_modules/arcgis-js-api/layers/OpenStreetMapLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        PointCloudLayer: function PointCloudLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(18), __webpack_require__.e(32)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../PointCloudLayer */
              "./node_modules/arcgis-js-api/layers/PointCloudLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        VectorTileLayer: function VectorTileLayer() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(4), __webpack_require__.e(20), __webpack_require__.e("common"), __webpack_require__.e(35)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../VectorTileLayer */
              "./node_modules/arcgis-js-api/layers/VectorTileLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        WebTiledLayer: function WebTiledLayer() {
          return n.create(function (r) {
            return __webpack_require__.e(
            /*! AMD require */
            12).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../WebTileLayer */
              "./node_modules/arcgis-js-api/layers/WebTileLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        WFS: function WFS() {
          return n.resolve(null);
        },
        WMS: function WMS() {
          return n.create(function (r) {
            return Promise.all(
            /*! AMD require */
            [__webpack_require__.e(23), __webpack_require__.e(43)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../WMSLayer */
              "./node_modules/arcgis-js-api/layers/WMSLayer.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        RasterDataLayer: function RasterDataLayer() {
          return n.resolve(null);
        }
      }, r.supportedTypes = {
        "web-scene/operational-layers": {
          ArcGISFeatureLayer: "readwrite",
          ArcGISImageServiceLayer: "readwrite",
          ArcGISMapServiceLayer: "readwrite",
          ArcGISSceneServiceLayer: "readwrite",
          ArcGISTiledElevationServiceLayer: "read",
          ArcGISTiledImageServiceLayer: "readwrite",
          ArcGISTiledMapServiceLayer: "readwrite",
          BuildingSceneLayer: "readwrite",
          GroupLayer: "readwrite",
          IntegratedMeshLayer: "readwrite",
          PointCloudLayer: "readwrite",
          WebTiledLayer: "readwrite",
          CSV: "readwrite",
          VectorTileLayer: "readwrite",
          WMS: "readwrite",
          KML: "readwrite",
          RasterDataLayer: "readwrite"
        },
        "web-scene/basemap": {
          ArcGISTiledImageServiceLayer: "readwrite",
          ArcGISTiledMapServiceLayer: "readwrite",
          WebTiledLayer: "readwrite",
          OpenStreetMap: "readwrite",
          VectorTileLayer: "readwrite",
          ArcGISImageServiceLayer: "readwrite",
          WMS: "readwrite",
          ArcGISMapServiceLayer: "readwrite"
        },
        "web-scene/ground": {
          ArcGISTiledElevationServiceLayer: "readwrite"
        },
        "web-map/operational-layers": {
          ArcGISImageServiceLayer: "readwrite",
          ArcGISImageServiceVectorLayer: "readwrite",
          ArcGISMapServiceLayer: "readwrite",
          ArcGISStreamLayer: "readwrite",
          ArcGISTiledImageServiceLayer: "readwrite",
          ArcGISTiledMapServiceLayer: "readwrite",
          ArcGISFeatureLayer: "readwrite",
          BingMapsAerial: "readwrite",
          BingMapsRoad: "readwrite",
          BingMapsHybrid: "readwrite",
          CSV: "readwrite",
          GeoRSS: "readwrite",
          KML: "readwrite",
          VectorTileLayer: "readwrite",
          WFS: "readwrite",
          WMS: "readwrite",
          WebTiledLayer: "readwrite"
        },
        "web-map/basemap": {
          ArcGISImageServiceLayer: "readwrite",
          ArcGISImageServiceVectorLayer: "readwrite",
          ArcGISMapServiceLayer: "readwrite",
          ArcGISTiledImageServiceLayer: "readwrite",
          ArcGISTiledMapServiceLayer: "readwrite",
          OpenStreetMap: "readwrite",
          VectorTileLayer: "readwrite",
          WMS: "readwrite",
          WebTiledLayer: "readwrite",
          BingMapsAerial: "readwrite",
          BingMapsRoad: "readwrite",
          BingMapsHybrid: "readwrite"
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsPortalLayerJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ../../portal/PortalItem */
    "./node_modules/arcgis-js-api/portal/PortalItem.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, a, i, s, l, p, n, u, c, d) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var h = l.getLogger("esri.layers.mixins.PortalLayer");

      e.PortalLayer = function (e) {
        return function (e) {
          function l() {
            return null !== e && e.apply(this, arguments) || this;
          }

          return r(l, e), Object.defineProperty(l.prototype, "portalItem", {
            set: function set(t) {
              t !== this._get("portalItem") && (this.removeOrigin("portal-item"), this._set("portalItem", t));
            },
            enumerable: !0,
            configurable: !0
          }), l.prototype.readPortalItem = function (t, e, r) {
            if (e.itemId) return new d({
              id: e.itemId,
              portal: r && r.portal
            });
          }, l.prototype.writePortalItem = function (t, e) {
            t && t.id && (e.itemId = t.id);
          }, l.prototype.loadFromPortal = function (e, r) {
            return i(this, void 0, void 0, function () {
              var o, i;
              return a(this, function (a) {
                switch (a.label) {
                  case 0:
                    if (!this.portalItem || !this.portalItem.id) return [2];
                    a.label = 1;

                  case 1:
                    return a.trys.push([1, 4,, 5]), [4, p.create(function (e) {
                      return Promise.all(
                      /*! AMD require */
                      [__webpack_require__.e("common"), __webpack_require__.e(97)]).then(function () {
                        var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                        /*! ../../portal/support/layersLoader */
                        "./node_modules/arcgis-js-api/portal/support/layersLoader.js")];
                        e.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                      }.bind(this))["catch"](__webpack_require__.oe);
                    })];

                  case 2:
                    return o = a.sent(), p.throwIfAborted(r), [4, o.load({
                      instance: this,
                      supportedTypes: e.supportedTypes,
                      validateItem: e.validateItem,
                      supportsData: e.supportsData
                    }, r)];

                  case 3:
                    return [2, a.sent()];

                  case 4:
                    throw i = a.sent(), h.warn("Failed to load layer (" + this.title + ", " + this.id + ") portal item (" + this.portalItem.id + ")\n  " + i), i;

                  case 5:
                    return [2];
                }
              });
            });
          }, l.prototype.read = function (t, e) {
            var r = arguments;
            e && (e.layer = this), this.inherited(r);
          }, l.prototype.write = function (t, e) {
            var r = e && e.portal,
                o = this.portalItem && this.portalItem.id && (this.portalItem.portal || c.getDefault());
            return r && o && !n.hasSamePortal(o.restUrl, r.restUrl) ? (e.messages && e.messages.push(new s("layer:cross-portal", "The layer '" + this.title + " (" + this.id + ")' cannot be persisted because it refers to an item on a different portal than the one being saved to. To save the scene, set the layer.portalItem to null or save the scene to the same portal as the item associated with the layer", {
              layer: this
            })), null) : this.inherited(arguments);
          }, o([u.property({
            type: d
          })], l.prototype, "portalItem", null), o([u.reader("web-document", "portalItem", ["itemId"])], l.prototype, "readPortalItem", null), o([u.writer("portalItem", {
            itemId: {
              type: String
            }
          })], l.prototype, "writePortalItem", null), l = o([u.subclass("esri.layers.mixins.PortalLayer")], l);
        }(u.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsRefreshableLayerJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.RefreshableLayer = function (e) {
        return function (e) {
          function r() {
            var r = null !== e && e.apply(this, arguments) || this;
            return r.refreshInterval = 0, r;
          }

          return t(r, e), r.prototype.refresh = function () {
            this.emit("refresh");
          }, o([n.property({
            type: Number,
            cast: function cast(e) {
              return e >= .1 ? e : e <= 0 ? 0 : .1;
            },
            json: {
              write: !0,
              origins: {
                "web-document": {
                  write: !0
                }
              }
            }
          })], r.prototype, "refreshInterval", void 0), r = o([n.subclass("esri.layers.mixins.RefreshableLayer")], r);
        }(n.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsScaleRangeLayerJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.ScaleRangeLayer = function (e) {
        return function (e) {
          function r() {
            var r = null !== e && e.apply(this, arguments) || this;
            return r.minScale = 0, r.maxScale = 0, r;
          }

          return t(r, e), Object.defineProperty(r.prototype, "scaleRangeId", {
            get: function get() {
              return this.minScale + "," + this.maxScale;
            },
            enumerable: !0,
            configurable: !0
          }), n([a.property({
            type: Number,
            json: {
              write: !0
            }
          })], r.prototype, "minScale", void 0), n([a.property({
            type: Number,
            json: {
              write: !0
            }
          })], r.prototype, "maxScale", void 0), n([a.property({
            readOnly: !0,
            dependsOn: ["minScale", "maxScale"]
          })], r.prototype, "scaleRangeId", null), r = n([a.subclass("esri.layers.mixins.ScaleRangeLayer")], r);
        }(a.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersMixinsSublayersOwnerJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/CollectionFlattener */
    "./node_modules/arcgis-js-api/core/CollectionFlattener.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../support/Sublayer */
    "./node_modules/arcgis-js-api/layers/support/Sublayer.js"), __webpack_require__(
    /*! ../support/sublayerUtils */
    "./node_modules/arcgis-js-api/layers/support/sublayerUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, s, a, n, i, u, l, o, y, c, p, b) {
      function f(e, r, t) {
        var s = [],
            a = {};
        return e ? (e.forEach(function (e) {
          var n = new p();

          if (n.read(e, r), t && (-1 === t.indexOf(n.id) ? n.visible = !1 : n.visible = !0), a[n.id] = n, null != e.parentLayerId && -1 !== e.parentLayerId) {
            var i = a[e.parentLayerId];
            i.sublayers || (i.sublayers = []), i.sublayers.unshift(n);
          } else s.unshift(n);
        }), s) : s;
      }

      function d(e) {
        return e.__accessor__.store;
      }

      function v(e) {
        return e.__accessor__.overridden;
      }

      function h(e, r) {
        var t = r.get(e.id);

        if (t) {
          var s = d(e);
          d(t).forEach(function (e, r) {
            return s.set(r, e);
          }), v(t) && (e.__accessor__.overridden = l.mixin(v(e) || {}, v(t))), t.sublayers && (e.sublayers = t.sublayers.map(function (e) {
            return h(e, r);
          }));
        } else e.sublayers && e.sublayers.forEach(function (e) {
          return h(e, r);
        });

        return e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var S = o.getLogger("esri.layers.TileLayer");

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

            var s = e.apply(this, r) || this;
            return s.allSublayers = new i({
              root: s,
              rootCollectionNames: ["sublayers"],
              getChildrenFunction: function getChildrenFunction(e) {
                return e.sublayers;
              }
            }), s.watch("sublayers", function (e, r) {
              return s._handleSublayersChange(e, r);
            }, !0), s;
          }

          return s(r, e), r.prototype.readServiceSublayers = function (e, r, t) {
            return f(r.layers, t);
          }, r.prototype.readSublayersFromItemOrWebMap = function (e, r, t) {
            return !r.layers && r.visibleLayers ? r.visibleLayers.map(function (e) {
              return {
                id: e
              };
            }) : f(r.layers, t, r.visibleLayers);
          }, r.prototype.readSublayers = function (e, r, t) {
            var s = f(r.layers, t);
            return this._updateSublayersForOrigin(3, s), this._updateSublayersForOrigin(5, s), this._updateSublayersForOrigin(4, s), s;
          }, r.prototype.writeSublayers = function (e, r, s, a) {
            if (e && this.serviceSublayers) {
              var n = e.slice().reverse().flatten(function (e) {
                var r = e.sublayers;
                return r && r.toArray().reverse();
              }).toArray(),
                  i = this.serviceSublayers.flatten(function (e) {
                var r = e.sublayers;
                return r && r.toArray().reverse();
              }).toArray().reduce(function (e, r) {
                return e.set(r.id, r), e;
              }, new Map()),
                  u = !1,
                  l = !0;
              this.capabilities && this.capabilities.operations.supportsExportMap && this.capabilities.exportMap.supportsDynamicLayers ? (u = b.isExportDynamic(n, this.serviceSublayers, this), l = !u && b.sameStructureAsService(n, this.serviceSublayers)) : l = b.sameStructureAsService(n, this.serviceSublayers), r.layers = [], n.forEach(function (e) {
                var s = i.get(e.id),
                    n = t({
                  writeAsDynamic: u,
                  writeOverridesOnly: l,
                  serviceSublayer: s
                }, a),
                    o = e.write({}, n);
                (!l || l && Object.keys(o).length > 1) && r.layers.push(o);
              });
              var o = n.filter(function (e) {
                return e.visible;
              }).map(function (e) {
                return e.id;
              });
              "tile" !== this.type && (r.visibleLayers = o);
            }
          }, r.prototype.findSublayerById = function (e) {
            return this.allSublayers.find(function (r) {
              return r.id === e;
            });
          }, r.prototype.createServiceSublayers = function () {
            return this.serviceSublayers.map(function (e) {
              return e.clone();
            });
          }, r.prototype._updateSublayersForOrigin = function (e, r) {
            var t = d(this);

            if (t.has("sublayers", e)) {
              var s = t.get("sublayers", e),
                  a = s.flatten(function (e) {
                return e.sublayers;
              });

              if (a.every(function (e) {
                return !d(e).has("minScale");
              })) {
                var i = a.reduce(function (e, r) {
                  return e.set(r.id, r), e;
                }, new Map()),
                    u = r.map(function (e) {
                  return h(e.clone(), i);
                });
                t.set("sublayers", new (n.ofType(p))(u), e);
              }
            }
          }, r.prototype._handleSublayersChange = function (e, r) {
            var t = this;
            r && (r.forEach(function (e) {
              e.parent = null, e.layer = null;
            }), this._sublayersHandles.forEach(function (e) {
              return e.remove();
            }), this._sublayersHandles = null), e && (e.forEach(function (e) {
              e.parent = t, e.layer = t;
            }), this._sublayersHandles = [e.on("after-add", function (e) {
              var r = e.item;
              r.parent = t, r.layer = t;
            }), e.on("after-remove", function (e) {
              var r = e.item;
              r.parent = null, r.layer = null;
            })], "tile" === this.type && this._sublayersHandles.push(e.on("before-changes", function (e) {
              S.error(new u("tilelayer:sublayers-non-modifiable", "Sublayer can't be added, moved, or removed from the layer's sublayers", {
                layer: t
              })), e.preventDefault();
            })));
          }, a([y.property({
            readOnly: !0
          })], r.prototype, "allSublayers", void 0), a([y.property({
            readOnly: !0,
            type: n.ofType(p)
          })], r.prototype, "serviceSublayers", void 0), a([y.reader("service", "serviceSublayers", ["layers"])], r.prototype, "readServiceSublayers", null), a([y.property({
            value: null,
            type: n.ofType(p),
            json: {
              type: [Number],
              write: {
                target: "subLayerIds",
                allowNull: !0
              }
            }
          })], r.prototype, "sublayers", void 0), a([y.reader(["web-map", "web-scene", "portal-item"], "sublayers", ["layers", "visibleLayers"])], r.prototype, "readSublayersFromItemOrWebMap", null), a([y.reader("service", "sublayers", ["layers"])], r.prototype, "readSublayers", null), a([y.writer("sublayers", {
            layers: {
              type: [p]
            },
            visibleLayers: {
              type: [c.Integer]
            }
          })], r.prototype, "writeSublayers", null), r = a([y.subclass("esri.layers.mixins.SublayersOwner")], r);
        }(y.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

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

    /**
                     * TimeInfo provides information such as date fields that store
                     * {@link module:esri/layers/support/TimeInfo#startField start}
                     * and {@link module:esri/layers/support/TimeInfo#endField end} time
                     * for each feature and the {@link module:esri/layers/support/TimeInfo#fullTimeExtent fullTimeExtent}
                     * for the layer. The `timeInfo` property, along with its `startField` and `endField` properties, must be set at the
                     * time of layer initialization if it is being set for a
                     * {@link module:esri/layers/GeoJSONLayer}, {@link module:esri/layers/CSVLayer} or
                     * {@link module:esri/layers/FeatureLayer} initialized from
                     * [client-side features](esri-layers-FeatureLayer.html#creating-a-featurelayer).
                     * The {@link module:esri/layers/support/TimeInfo#fullTimeExtent fullTimeExtent} for `timeInfo` is
                     * automatically calculated based on its `startField` and `endField` properties.
                     * The timeInfo parameters cannot be changed after the layer is {@link module:esri/layers/FeatureLayer#load loaded}.
                     *
                     * @name timeInfo
                     * @type {module:esri/layers/support/TimeInfo}
                     * @memberof module:esri/layers/mixins/TemporalLayer
                     * @default null
                     * @since 4.11
                     * @autocast
                     *
                     * @example
                     * // create geojson layer from usgs earthquakes geojson feed
                     * const geojsonLayer = new GeoJSONLayer({
                     *   url: "https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/all_month.geojson",
                     *   copyright: "USGS Earthquakes",
                     *   fields: [
                     *     { "name": "mag", "type": "double" },
                     *     { "name": "place", "type": "string" },
                     *     { "name": "time", "type": "date" }, // date field
                     *     { "name": "depth", "type": "double" }
                     *   ],
                     *   // timeInfo can be used to do temporal queries
                     *   // set the startField and endField.
                     *   // timeExtent is automatically calculated from the
                     *   // the start and end date fields
                     *   timeInfo: {
                     *     startField: "time"
                     *   }
                     * });
                     */


    !(__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__(
    /*! ../../TimeExtent */
    "./node_modules/arcgis-js-api/TimeExtent.js"), __webpack_require__(
    /*! ../../TimeInterval */
    "./node_modules/arcgis-js-api/TimeInterval.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../layers/support/TimeInfo */
    "./node_modules/arcgis-js-api/layers/support/TimeInfo.js"), __webpack_require__(
    /*! ../support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ../support/timeUtils */
    "./node_modules/arcgis-js-api/layers/support/timeUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, p, s, l, u) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.TemporalLayer = function (e) {
        return function (e) {
          function t() {
            var t = null !== e && e.apply(this, arguments) || this;
            return t.timeExtent = null, t.timeOffset = null, t.useViewTime = !0, t;
          }

          return r(t, e), t.prototype.readOffset = function (e, t) {
            var r = t.timeInfo.exportOptions;
            if (!r) return null;
            var o = r.timeOffset,
                i = u.timeUnitKebabDictionary.fromJSON(r.timeOffsetUnits);
            return o && i ? new n({
              value: o,
              unit: i
            }) : null;
          }, Object.defineProperty(t.prototype, "timeInfo", {
            set: function set(e) {
              l.fixTimeInfoFields(e, this.fields), this._set("timeInfo", e);
            },
            enumerable: !0,
            configurable: !0
          }), o([p.property({
            type: i,
            json: {
              write: !1
            }
          })], t.prototype, "timeExtent", void 0), o([p.property({
            type: n
          })], t.prototype, "timeOffset", void 0), o([p.reader("service", "timeOffset", ["timeInfo.exportOptions"])], t.prototype, "readOffset", null), o([p.property({
            value: null,
            type: s,
            json: {
              write: !0,
              origins: {
                "web-document": {
                  read: !1,
                  write: !1
                }
              }
            }
          })], t.prototype, "timeInfo", null), o([p.property({
            type: Boolean,
            json: {
              write: !1
            }
          })], t.prototype, "useViewTime", void 0), t = o([p.subclass("esri.layers.mixins.TemporalLayer")], t);
        }(p.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportAttachmentInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./exifUtils */
    "./node_modules/arcgis-js-api/layers/support/exifUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, i, p, d) {
      var l = {
        1: {
          id: 1,
          rotation: 0,
          mirrored: !1
        },
        2: {
          id: 2,
          rotation: 0,
          mirrored: !0
        },
        3: {
          id: 3,
          rotation: 180,
          mirrored: !1
        },
        4: {
          id: 4,
          rotation: 180,
          mirrored: !0
        },
        5: {
          id: 5,
          rotation: -90,
          mirrored: !0
        },
        6: {
          id: 6,
          rotation: 90,
          mirrored: !1
        },
        7: {
          id: 7,
          rotation: 90,
          mirrored: !0
        },
        8: {
          id: 8,
          rotation: -90,
          mirrored: !1
        }
      };
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.contentType = null, t.exifInfo = null, t.id = null, t.globalId = null, t.keywords = null, t.name = null, t.parentGlobalId = null, t.parentObjectId = null, t.size = null, t.url = null, t;
        }

        t(r, e), n = r, Object.defineProperty(r.prototype, "orientationInfo", {
          get: function get() {
            var e = this.exifInfo,
                r = d.getExifValue({
              exifName: "Exif IFD0",
              tagName: "Orientation",
              exifInfo: e
            });
            return l[r] || null;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.clone = function () {
          return new n({
            contentType: this.contentType,
            exifInfo: this.exifInfo,
            id: this.id,
            globalId: this.globalId,
            keywords: this.keywords,
            name: this.name,
            parentGlobalId: this.parentGlobalId,
            parentObjectId: this.parentObjectId,
            size: this.size,
            url: this.url
          });
        };
        var n;
        return o([i.property({
          type: String
        })], r.prototype, "contentType", void 0), o([i.property()], r.prototype, "exifInfo", void 0), o([i.property({
          readOnly: !0,
          dependsOn: ["exifInfo"]
        })], r.prototype, "orientationInfo", null), o([i.property({
          type: p.Integer
        })], r.prototype, "id", void 0), o([i.property({
          type: String
        })], r.prototype, "globalId", void 0), o([i.property({
          type: String
        })], r.prototype, "keywords", void 0), o([i.property({
          type: String
        })], r.prototype, "name", void 0), o([i.property({
          json: {
            read: !1
          }
        })], r.prototype, "parentGlobalId", void 0), o([i.property({
          json: {
            read: !1
          }
        })], r.prototype, "parentObjectId", void 0), o([i.property({
          type: p.Integer
        })], r.prototype, "size", void 0), o([i.property({
          json: {
            read: !1
          }
        })], r.prototype, "url", void 0), r = n = o([i.subclass("esri.layers.support.AttachmentInfo")], r);
      }(i.declared(n.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportCodedValueJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, p, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var u = function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.name = null, o.code = null, o;
        }

        t(r, e), p = r, r.prototype.clone = function () {
          return new p({
            name: this.name,
            code: this.code
          });
        };
        var p;
        return o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "name", void 0), o([n.property({
          type: [String, Number],
          json: {
            write: !0
          }
        })], r.prototype, "code", void 0), r = p = o([n.subclass("esri.layers.support.CodedValue")], r);
      }(n.declared(p.JSONSupport));

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportCodedValueDomainJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./CodedValue */
    "./node_modules/arcgis-js-api/layers/support/CodedValue.js"), __webpack_require__(
    /*! ./Domain */
    "./node_modules/arcgis-js-api/layers/support/Domain.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, n, a, d, u) {
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.codedValues = null, r.type = "coded-value", r;
        }

        r(o, e), u = o, o.prototype.getName = function (e) {
          var o = null;

          if (this.codedValues) {
            var r = String(e);
            this.codedValues.some(function (e) {
              return String(e.code) === r && (o = e.name), !!o;
            });
          }

          return o;
        }, o.prototype.clone = function () {
          return new u({
            codedValues: n.clone(this.codedValues),
            name: this.name
          });
        };
        var u;
        return t([a.property({
          type: [d["default"]],
          json: {
            write: !0
          }
        })], o.prototype, "codedValues", void 0), t([a.enumeration.serializable()({
          codedValue: "coded-value"
        })], o.prototype, "type", void 0), o = u = t([a.subclass("esri.layers.support.CodedValueDomain")], o);
      }(a.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportDomainJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, a) {
      var i = new n["default"]({
        inherited: "inherited",
        codedValue: "coded-value",
        range: "range"
      });
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.name = null, t.type = null, t;
        }

        return t(r, e), o([a.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "name", void 0), o([a.enumeration.serializable()(i)], r.prototype, "type", void 0), r = o([a.subclass("esri.layers.support.Domain")], r);
      }(a.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportExportImageParametersJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./sublayerUtils */
    "./node_modules/arcgis-js-api/layers/support/sublayerUtils.js"), __webpack_require__(
    /*! ./timeUtils */
    "./node_modules/arcgis-js-api/layers/support/timeUtils.js"), __webpack_require__(
    /*! ../../views/View */
    "./node_modules/arcgis-js-api/views/View.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, i, n, s, l, y, o) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var u = {
        visible: "visibleSublayers",
        definitionExpression: "layerDefs",
        labelingInfo: "hasDynamicLayers",
        labelsVisible: "hasDynamicLayers",
        opacity: "hasDynamicLayers",
        minScale: "visibleSublayers",
        maxScale: "visibleSublayers",
        renderer: "hasDynamicLayers",
        source: "hasDynamicLayers"
      },
          p = function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r._scale = null, r.view = null, r;
        }

        return a(r, e), Object.defineProperty(r.prototype, "dynamicLayers", {
          get: function get() {
            if (!this.hasDynamicLayers) return null;
            var e = this.visibleSublayers.map(function (e) {
              return e.toExportImageJSON();
            });
            return e.length ? JSON.stringify(e) : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "hasDynamicLayers", {
          get: function get() {
            return this.layer && l.isExportDynamic(this.visibleSublayers, this.layer.serviceSublayers, this.layer);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "layer", {
          set: function set(e) {
            var r = this;
            this._get("layer") !== e && (this._set("layer", e), this._layerHandles && (this._layerHandles.forEach(function (e) {
              return e.remove();
            }), this._layerHandles.length = 0), e && (this._layerHandles = [e.allSublayers.on("change", function () {
              return r.notifyChange("visibleSublayers");
            }), e.on("sublayer-update", function (e) {
              return r.notifyChange(u[e.propertyName]);
            })]));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "layers", {
          get: function get() {
            var e = this.visibleSublayers;
            return e ? e.length ? "show:" + e.map(function (e) {
              return e.id;
            }).join(",") : "show:-1" : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "layerDefs", {
          get: function get() {
            var e = this.visibleSublayers.filter(function (e) {
              return null != e.definitionExpression;
            });
            return e.length ? JSON.stringify(e.reduce(function (e, r) {
              return e[r.id] = r.definitionExpression, e;
            }, {})) : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "scale", {
          get: function get() {
            return null != this._scale ? this._scale : this.view && this.view.scale || 0;
          },
          set: function set(e) {
            this.view || (this._scale = e, this.notifyChange("scale"));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "version", {
          get: function get() {
            var e = this;
            e.layers, e.layerDefs, e.dynamicLayers, e.timeExtent;
            var r = e.layer;
            return r && (r.dpi, r.imageFormat, r.imageTransparency, r.gdbVersion), (this._get("version") || 0) + 1;
          },
          set: function set(e) {
            this._set("version", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "visibleSublayers", {
          get: function get() {
            var e = this,
                r = [];
            if (!this.layer) return r;

            var t = this.layer.sublayers,
                a = function a(t) {
              var i = e.scale,
                  n = 0 === i,
                  s = 0 === t.minScale || i <= t.minScale,
                  l = 0 === t.maxScale || i >= t.maxScale;
              t.visible && (n || s && l) && (t.sublayers ? t.sublayers.forEach(a) : r.unshift(t));
            };

            t && t.forEach(a);

            var i = this._get("visibleSublayers");

            return !i || i.length !== r.length || i.some(function (e, t) {
              return r[t] !== e;
            }) ? r : i;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.toJSON = function () {
          var e = this.layer,
              r = {
            dpi: e.dpi,
            format: e.imageFormat,
            transparent: e.imageTransparency,
            gdbVersion: e.gdbVersion || null
          };
          return this.hasDynamicLayers && this.dynamicLayers ? r.dynamicLayers = this.dynamicLayers : r = t({}, r, {
            layers: this.layers,
            layerDefs: this.layerDefs
          }), r;
        }, i([s.property({
          readOnly: !0,
          dependsOn: ["hasDynamicLayers", "visibleSublayers"]
        })], r.prototype, "dynamicLayers", null), i([s.property({
          readOnly: !0,
          dependsOn: ["visibleSublayers", "layer.serviceSublayers", "layer.capabilities"]
        })], r.prototype, "hasDynamicLayers", null), i([s.property()], r.prototype, "layer", null), i([s.property({
          readOnly: !0,
          dependsOn: ["visibleSublayers"]
        })], r.prototype, "layers", null), i([s.property({
          readOnly: !0,
          dependsOn: ["visibleSublayers"]
        })], r.prototype, "layerDefs", null), i([s.property({
          type: Number,
          dependsOn: ["view.scale"]
        })], r.prototype, "scale", null), i([s.property(y.combinedViewLayerTimeExtentProperty)], r.prototype, "timeExtent", void 0), i([s.property({
          dependsOn: ["layers", "layerDefs", "dynamicLayers", "layer.dpi", "layer.imageFormat", "layer.imageTransparency", "layer.gdbVersion", "timeExtent"]
        })], r.prototype, "version", null), i([s.property({
          type: o
        })], r.prototype, "view", void 0), i([s.property({
          readOnly: !0,
          dependsOn: ["layer.sublayers", "scale"]
        })], r.prototype, "visibleSublayers", null), r = i([s.subclass("esri.layers.mixins.ExportImageParameters")], r);
      }(s.declared(n));

      r.ExportImageParameters = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureIndexJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = function (e) {
        function r(r) {
          return e.call(this, r) || this;
        }

        t(r, e), n = r, r.prototype.clone = function () {
          var e = this,
              r = e.name,
              t = e.fields,
              o = e.isAscending,
              p = e.isUnique,
              i = e.description;
          return new n({
            name: r,
            fields: t,
            isAscending: o,
            isUnique: p,
            description: i
          });
        };
        var n;
        return o([p.property({
          constructOnly: !0
        })], r.prototype, "name", void 0), o([p.property({
          constructOnly: !0
        })], r.prototype, "fields", void 0), o([p.property({
          constructOnly: !0
        })], r.prototype, "isAscending", void 0), o([p.property({
          constructOnly: !0
        })], r.prototype, "isUnique", void 0), o([p.property({
          constructOnly: !0
        })], r.prototype, "description", void 0), r = n = o([p.subclass("esri.layers.support.FeatureIndex")], r);
      }(p.declared(n.JSONSupport));

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureReductionJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, u) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var c = function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.type = null, r;
        }

        return t(r, e), o([u.property({
          type: ["selection", "cluster"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], r.prototype, "type", void 0), r = o([u.subclass("esri.layers.support.FeatureReduction")], r);
      }(u.declared(p.JSONSupport));

      r.FeatureReduction = c, r["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/FeatureReductionCluster.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/support/FeatureReductionCluster.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureReductionClusterJs(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__(
    /*! ../../PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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_AMD_DEFINE_RESULT__ = function (e, t, r, p, o, u, s, c) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "cluster", r.clusterRadius = s.toPt("80px"), r.popupTemplate = null, r;
        }

        return r(t, e), p([c.property({
          type: ["cluster"],
          readOnly: !0,
          json: {
            write: !0
          }
        })], t.prototype, "type", void 0), p([c.property({
          type: Number,
          cast: function cast(e) {
            return "auto" === e ? e : s.toPt(e);
          },
          json: {
            write: !0
          }
        })], t.prototype, "clusterRadius", void 0), p([c.property({
          type: o,
          json: {
            read: {
              source: "popupInfo"
            },
            write: {
              target: "popupInfo"
            }
          }
        })], t.prototype, "popupTemplate", void 0), t = p([c.subclass("esri.layers.support.FeatureReductionCluster")], t);
      }(c.declared(u.JSONSupport));

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureReductionSelectionJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./FeatureReduction */
    "./node_modules/arcgis-js-api/layers/support/FeatureReduction.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, c, u) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var p = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "selection", r;
        }

        return r(t, e), o([c.property({
          type: ["selection"]
        })], t.prototype, "type", void 0), t = o([c.subclass("esri.layers.support.FeatureReductionSelection")], t);
      }(c.declared(u["default"]));

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureTemplateJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, i, l, n, p) {
      var a = new i["default"]({
        esriFeatureEditToolAutoCompletePolygon: "auto-complete-polygon",
        esriFeatureEditToolCircle: "circle",
        esriFeatureEditToolEllipse: "ellipse",
        esriFeatureEditToolFreehand: "freehand",
        esriFeatureEditToolLine: "line",
        esriFeatureEditToolNone: "none",
        esriFeatureEditToolPoint: "point",
        esriFeatureEditToolPolygon: "polygon",
        esriFeatureEditToolRectangle: "rectangle",
        esriFeatureEditToolArrow: "arrow",
        esriFeatureEditToolTriangle: "triangle",
        esriFeatureEditToolLeftArrow: "left-arrow",
        esriFeatureEditToolRightArrow: "right-arrow",
        esriFeatureEditToolUpArrow: "up-arrow",
        esriFeatureEditToolDownArrow: "down-arrow"
      });
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.name = null, r.description = null, r.drawingTool = null, r.prototype = null, r.thumbnail = null, r;
        }

        return r(o, e), o.prototype.writeDrawingTool = function (e, o) {
          o.drawingTool = a.toJSON(e);
        }, o.prototype.writePrototype = function (e, o) {
          o.prototype = n.fixJson(n.clone(e), !0);
        }, o.prototype.writeThumbnail = function (e, o) {
          o.thumbnail = n.fixJson(n.clone(e));
        }, t([p.property({
          json: {
            write: !0
          }
        })], o.prototype, "name", void 0), t([p.property({
          json: {
            write: !0
          }
        })], o.prototype, "description", void 0), t([p.property({
          json: {
            read: a.read,
            write: a.write
          }
        })], o.prototype, "drawingTool", void 0), t([p.writer("drawingTool")], o.prototype, "writeDrawingTool", null), t([p.property({
          json: {
            write: !0
          }
        })], o.prototype, "prototype", void 0), t([p.writer("prototype")], o.prototype, "writePrototype", null), t([p.property({
          json: {
            write: !0
          }
        })], o.prototype, "thumbnail", void 0), t([p.writer("thumbnail")], o.prototype, "writeThumbnail", null), o = t([p.subclass("esri.layers.support.FeatureTemplate")], o);
      }(p.declared(l.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureTypeJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./domains */
    "./node_modules/arcgis-js-api/layers/support/domains.js"), __webpack_require__(
    /*! ./FeatureTemplate */
    "./node_modules/arcgis-js-api/layers/support/FeatureTemplate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, a, i, s) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.id = null, t.name = null, t.domains = null, t.templates = null, t;
        }

        return t(r, e), r.prototype.readDomains = function (e) {
          var r = {};

          for (var t in e) if (e.hasOwnProperty(t)) {
            var o = e[t];

            switch (o.type) {
              case "range":
                r[t] = i.RangeDomain.fromJSON(o);
                break;

              case "codedValue":
                r[t] = i.CodedValueDomain.fromJSON(o);
                break;

              case "inherited":
                r[t] = i.InheritedDomain.fromJSON(o);
            }
          }

          return r;
        }, r.prototype.writeDomains = function (e, r) {
          var t = {};

          for (var o in e) e.hasOwnProperty(o) && (t[o] = e[o] && e[o].toJSON());

          p.fixJson(t), r.domains = t;
        }, r.prototype.readTemplates = function (e) {
          return e && e.map(function (e) {
            return new s(e);
          });
        }, r.prototype.writeTemplates = function (e, r) {
          r.templates = e && e.map(function (e) {
            return e.toJSON();
          });
        }, o([a.property({
          json: {
            write: !0
          }
        })], r.prototype, "id", void 0), o([a.property({
          json: {
            write: !0
          }
        })], r.prototype, "name", void 0), o([a.property({
          json: {
            write: !0
          }
        })], r.prototype, "domains", void 0), o([a.reader("domains")], r.prototype, "readDomains", null), o([a.writer("domains")], r.prototype, "writeDomains", null), o([a.property({
          json: {
            write: !0
          }
        })], r.prototype, "templates", void 0), o([a.reader("templates")], r.prototype, "readTemplates", null), o([a.writer("templates")], r.prototype, "writeTemplates", null), r = o([a.subclass("esri.layers.support.FeatureType")], r);
      }(a.declared(n.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFieldJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./domains */
    "./node_modules/arcgis-js-api/layers/support/domains.js"), __webpack_require__(
    /*! ./fieldType */
    "./node_modules/arcgis-js-api/layers/support/fieldType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, p, a, l, d) {
      var u = new n["default"]({
        binary: "binary",
        coordinate: "coordinate",
        countOrAmount: "count-or-amount",
        dateAndTime: "date-and-time",
        description: "description",
        locationOrPlaceName: "location-or-place-name",
        measurement: "measurement",
        nameOrTitle: "name-or-title",
        none: "none",
        orderedOrRanked: "ordered-or-ranked",
        percentageOrRatio: "percentage-or-ratio",
        typeOrCategory: "type-or-category",
        uniqueIdentifier: "unique-identifier"
      });
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.alias = null, r.defaultValue = void 0, r.description = null, r.domain = null, r.editable = !0, r.length = -1, r.name = null, r.nullable = !0, r.type = null, r.valueType = null, r;
        }

        r(t, e), n = t, t.prototype.readDescription = function (e, t) {
          var r,
              o = t.description;

          try {
            r = JSON.parse(o);
          } catch (e) {}

          return r ? r.value : null;
        }, t.prototype.readValueType = function (e, t) {
          var r,
              o = t.description;

          try {
            r = JSON.parse(o);
          } catch (e) {}

          return r ? u.fromJSON(r.fieldValueType) : null;
        }, t.prototype.clone = function () {
          return new n({
            alias: this.alias,
            defaultValue: this.defaultValue,
            description: this.description,
            domain: this.domain && this.domain.clone() || null,
            editable: this.editable,
            length: this.length,
            name: this.name,
            nullable: this.nullable,
            type: this.type,
            valueType: this.valueType
          });
        };
        var n;
        return o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "alias", void 0), o([p.property({
          type: [String, Number],
          json: {
            write: {
              allowNull: !0
            }
          }
        })], t.prototype, "defaultValue", void 0), o([p.property()], t.prototype, "description", void 0), o([p.reader("description")], t.prototype, "readDescription", null), o([p.property({
          types: l.types,
          json: {
            read: {
              reader: l.fromJSON
            },
            write: !0
          }
        })], t.prototype, "domain", void 0), o([p.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], t.prototype, "editable", void 0), o([p.property({
          type: a.Integer,
          json: {
            write: !0
          }
        })], t.prototype, "length", void 0), o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "name", void 0), o([p.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], t.prototype, "nullable", void 0), o([p.enumeration.serializable()(d.kebabDict)], t.prototype, "type", void 0), o([p.property()], t.prototype, "valueType", void 0), o([p.reader("valueType", ["description"])], t.prototype, "readValueType", null), t = n = o([p.subclass("esri.layers.support.Field")], t);
      }(p.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFieldsIndexJs(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_AMD_DEFINE_RESULT__ = function (t, e, i) {
      function s(t) {
        return "date" === t.type || "esriFieldTypeDate" === t.type;
      }

      function n(t) {
        return t.toLowerCase().trim();
      }

      return function () {
        function t(t) {
          if (this.fields = t, this._fieldsMap = new Map(), this._dateFieldsSet = new Set(), this.dateFields = [], t) {
            for (var e = [], i = 0, r = t; i < r.length; i++) {
              var o = r[i],
                  a = o && o.name;

              if (a) {
                var d = n(a);
                this._fieldsMap.set(a, o), this._fieldsMap.set(d, o), e.push(d), s(o) && (this.dateFields.push(o), this._dateFieldsSet.add(o));
              }
            }

            e.sort(), this.uid = e.join(",");
          }
        }

        return t.prototype.destroy = function () {
          this._fieldsMap.clear();
        }, t.prototype.has = function (t) {
          return null != this.get(t);
        }, t.prototype.get = function (t) {
          return null != t ? this._fieldsMap.get(t) || this._fieldsMap.get(n(t)) : void 0;
        }, t.prototype.isDateField = function (t) {
          return this._dateFieldsSet.has(this.get(t));
        }, t.prototype.normalizeFieldName = function (t) {
          var e = this.get(t);
          if (e) return e.name;
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportInheritedDomainJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Domain */
    "./node_modules/arcgis-js-api/layers/support/Domain.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, i) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.type = "inherited", t;
        }

        t(r, e), i = r, r.prototype.clone = function () {
          return new i();
        };
        var i;
        return o([n.enumeration.serializable()({
          inherited: "inherited"
        })], r.prototype, "type", void 0), r = i = o([n.subclass("esri.layers.support.InheritedDomain")], r);
      }(n.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportLODJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, l, s) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.level = 0, t.levelValue = null, t.resolution = 0, t.scale = 0, t;
        }

        t(r, e), p = r, r.prototype.clone = function () {
          return new p({
            level: this.level,
            levelValue: this.levelValue,
            resolution: this.resolution,
            scale: this.scale
          });
        };
        var p;
        return o([l.property({
          type: s.Integer,
          json: {
            write: !0
          }
        })], r.prototype, "level", void 0), o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "levelValue", void 0), o([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "resolution", void 0), o([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "scale", void 0), r = p = o([l.subclass("esri.layers.support.LOD")], r);
      }(l.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportLabelClassJs(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/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__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./LabelExpressionInfo */
    "./node_modules/arcgis-js-api/layers/support/LabelExpressionInfo.js"), __webpack_require__(
    /*! ./labelUtils */
    "./node_modules/arcgis-js-api/layers/support/labelUtils.js"), __webpack_require__(
    /*! ./types */
    "./node_modules/arcgis-js-api/layers/support/types.js"), __webpack_require__(
    /*! ../../symbols/support/defaults */
    "./node_modules/arcgis-js-api/symbols/support/defaults.js"), __webpack_require__(
    /*! ../../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, o, l, s, i, a, p, c, u, b, f, v, y) {
      function x(e) {
        return !e || "service" !== e.origin && (!e.layer || !f.isOfType(e.layer, "map-image"));
      }

      function m(e) {
        var r = e.match(E);
        return r && r[1].trim() || null;
      }

      function w(e) {
        if (!e) return null;
        var r = g.exec(e);
        return r && (r[1] || r[3]) || null;
      }

      function S(e) {
        return e.replace(new RegExp("\\[", "g"), "{").replace(new RegExp("\\]", "g"), "}");
      }

      function d(e) {
        return e.replace(new RegExp("\\{", "g"), "[").replace(new RegExp("\\}", "g"), "]");
      }

      var h = new i["default"]({
        esriServerPointLabelPlacementAboveCenter: "above-center",
        esriServerPointLabelPlacementAboveLeft: "above-left",
        esriServerPointLabelPlacementAboveRight: "above-right",
        esriServerPointLabelPlacementBelowCenter: "below-center",
        esriServerPointLabelPlacementBelowLeft: "below-left",
        esriServerPointLabelPlacementBelowRight: "below-right",
        esriServerPointLabelPlacementCenterCenter: "center-center",
        esriServerPointLabelPlacementCenterLeft: "center-left",
        esriServerPointLabelPlacementCenterRight: "center-right",
        esriServerLinePlacementAboveAfter: "above-after",
        esriServerLinePlacementAboveAlong: "above-along",
        esriServerLinePlacementAboveBefore: "above-before",
        esriServerLinePlacementAboveStart: "above-start",
        esriServerLinePlacementAboveEnd: "above-end",
        esriServerLinePlacementBelowAfter: "below-after",
        esriServerLinePlacementBelowAlong: "below-along",
        esriServerLinePlacementBelowBefore: "below-before",
        esriServerLinePlacementBelowStart: "below-start",
        esriServerLinePlacementBelowEnd: "below-end",
        esriServerLinePlacementCenterAfter: "center-after",
        esriServerLinePlacementCenterAlong: "center-along",
        esriServerLinePlacementCenterBefore: "center-before",
        esriServerLinePlacementCenterStart: "center-start",
        esriServerLinePlacementCenterEnd: "center-end",
        esriServerPolygonPlacementAlwaysHorizontal: "always-horizontal"
      }, {
        ignoreUnknown: !0
      }),
          E = /^\s*\{([^}]+)\}\s*$/i,
          g = /^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])([\w\s]+)(\2)\]))\s*$/i;
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.name = null, t.labelExpression = null, t.labelExpressionInfo = null, t.labelPlacement = null, t.maxScale = 0, t.minScale = 0, t.symbol = v.defaultTextSymbol2D, t.useCodedValues = void 0, t.where = null, t;
        }

        n(r, e), o = r, r.evaluateWhere = function (e, r) {
          var t = function t(e, r, _t3) {
            switch (r) {
              case "=":
                return e == _t3;

              case "<>":
                return e != _t3;

              case ">":
                return e > _t3;

              case ">=":
                return e >= _t3;

              case "<":
                return e < _t3;

              case "<=":
                return e <= _t3;
            }

            return !1;
          };

          try {
            if (null == e) return !0;
            var n = e.split(" ");
            if (3 === n.length) return t(r[n[0]], n[1], n[2]);

            if (7 === n.length) {
              var o = t(r[n[0]], n[1], n[2]),
                  l = n[3],
                  s = t(r[n[4]], n[5], n[6]);

              switch (l) {
                case "AND":
                  return o && s;

                case "OR":
                  return o || s;
              }
            }

            return !1;
          } catch (r) {
            console.log("Error.: can't parse = " + e);
          }
        }, r.prototype.readLabelExpression = function (e, r) {
          var t = r.labelExpressionInfo;
          if (!t || !t.value && !t.expression) return e;
        }, r.prototype.writeLabelExpression = function (e, r, t, n) {
          if (this.labelExpressionInfo && x(n)) if (null != this.labelExpressionInfo.value) e = d(this.labelExpressionInfo.value);else if (null != this.labelExpressionInfo.expression) {
            var o = w(this.labelExpressionInfo.expression);
            o && (e = "[" + o + "]");
          }
          null != e && (r[t] = e);
        }, r.prototype.writeLabelExpressionInfo = function (e, r, t, n) {
          if (null == e && null != this.labelExpression && x(n)) e = new u({
            expression: this.getLabelExpressionArcade()
          });else if (!e) return;
          var o = e.toJSON(n);
          o.expression && (r[t] = o);
        }, r.prototype.writeMaxScale = function (e, r) {
          (e || this.minScale) && (r.maxScale = e);
        }, r.prototype.writeMinScale = function (e, r) {
          (e || this.maxScale) && (r.minScale = e);
        }, r.prototype.getLabelExpression = function () {
          var e = {
            expression: "",
            type: "none"
          };
          return this.labelExpressionInfo ? this.labelExpressionInfo.value ? (e.expression = this.labelExpressionInfo.value, e.type = "conventional") : this.labelExpressionInfo.expression && (e.expression = this.labelExpressionInfo.expression, e.type = "arcade") : null != this.labelExpression && (e.expression = S(this.labelExpression), e.type = "conventional"), e;
        }, r.prototype.getLabelExpressionArcade = function () {
          var e = this.getLabelExpression();
          if (!e) return null;

          switch (e.type) {
            case "conventional":
              return b.convertTemplatedStringToArcade(e.expression);

            case "arcade":
              return e.expression;
          }

          return null;
        }, r.prototype.getLabelExpressionSingleField = function () {
          var e = this.getLabelExpression();
          if (!e) return null;

          switch (e.type) {
            case "conventional":
              return m(e.expression);

            case "arcade":
              return w(e.expression);
          }

          return null;
        }, r.prototype.clone = function () {
          return new o({
            labelExpression: this.labelExpression,
            labelExpressionInfo: p.clone(this.labelExpressionInfo),
            labelPlacement: this.labelPlacement,
            maxScale: this.maxScale,
            minScale: this.minScale,
            name: this.name,
            symbol: p.clone(this.symbol),
            where: this.where,
            useCodedValues: this.useCodedValues
          });
        };
        var o;
        return t([c.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "name", void 0), t([c.property({
          type: String,
          json: {
            write: {
              allowNull: !0
            }
          }
        })], r.prototype, "labelExpression", void 0), t([c.reader("labelExpression")], r.prototype, "readLabelExpression", null), t([c.writer("labelExpression")], r.prototype, "writeLabelExpression", null), t([c.property({
          type: u,
          json: {
            write: {
              overridePolicy: function overridePolicy(e, r, t) {
                return x(t) ? {
                  allowNull: !0
                } : {
                  enabled: !1
                };
              }
            }
          }
        })], r.prototype, "labelExpressionInfo", void 0), t([c.writer("labelExpressionInfo")], r.prototype, "writeLabelExpressionInfo", null), t([c.property({
          type: h.apiValues,
          json: {
            type: h.jsonValues,
            read: h.read,
            write: h.write
          }
        })], r.prototype, "labelPlacement", void 0), t([c.property({
          type: Number
        })], r.prototype, "maxScale", void 0), t([c.writer("maxScale")], r.prototype, "writeMaxScale", null), t([c.property({
          type: Number
        })], r.prototype, "minScale", void 0), t([c.writer("minScale")], r.prototype, "writeMinScale", null), t([c.property({
          types: s.symbolTypesLabel,
          json: {
            origins: {
              "web-scene": {
                types: s.symbolTypesLabel3D,
                read: y.read,
                write: y.writeTarget,
                "default": null
              }
            },
            read: y.read,
            write: y.writeTarget,
            "default": null
          }
        })], r.prototype, "symbol", void 0), t([c.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], r.prototype, "useCodedValues", void 0), t([c.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "where", void 0), r = o = t([c.subclass("esri.layers.support.LabelClass")], r);
      }(c.declared(a.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportLabelExpressionInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./labelUtils */
    "./node_modules/arcgis-js-api/layers/support/labelUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, p, n, s) {
      return function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.value = null, r.expression = null, r;
        }

        o(r, e), p = r, r.prototype.readExpression = function (e, r) {
          return r.value ? s.convertTemplatedStringToArcade(r.value) : e;
        }, r.prototype.writeExpression = function (e, r, o) {
          null != this.value && (e = s.convertTemplatedStringToArcade(this.value)), r[o] = e;
        }, r.prototype.clone = function () {
          return new p({
            value: this.value,
            expression: this.expression
          });
        };
        var p;
        return t([n.property({
          json: {
            read: !1,
            write: !1
          }
        })], r.prototype, "value", void 0), t([n.property({
          type: String,
          json: {
            write: {
              allowNull: !0
            }
          }
        })], r.prototype, "expression", void 0), t([n.reader("expression", ["expression", "value"])], r.prototype, "readExpression", null), t([n.writer("expression")], r.prototype, "writeExpression", null), r = p = t([n.subclass("esri.layers.support.LabelExpressionInfo")], r);
      }(n.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportMapImageJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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_AMD_DEFINE_RESULT__ = function (t, e, r, o, p, i, l, n) {
      return function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.extent = null, e.height = null, e.href = null, e.opacity = 1, e.rotation = 0, e.scale = null, e.visible = !0, e.width = null, e;
        }

        return r(e, t), o([l.property({
          type: n
        })], e.prototype, "extent", void 0), o([l.property()], e.prototype, "height", void 0), o([l.property()], e.prototype, "href", void 0), o([l.property()], e.prototype, "opacity", void 0), o([l.property()], e.prototype, "rotation", void 0), o([l.property()], e.prototype, "scale", void 0), o([l.property()], e.prototype, "visible", void 0), o([l.property()], e.prototype, "width", void 0), e = o([l.subclass("esri.layer.support.MapImage")], e);
      }(l.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportRangeDomainJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Domain */
    "./node_modules/arcgis-js-api/layers/support/Domain.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t, a, u) {
      return function (e) {
        function r(r) {
          var n = e.call(this, r) || this;
          return n.maxValue = null, n.minValue = null, n.type = "range", n;
        }

        n(r, e), u = r, r.prototype.clone = function () {
          return new u({
            maxValue: this.maxValue,
            minValue: this.minValue,
            name: this.name
          });
        };
        var u;
        return t([a.property({
          type: Number,
          json: {
            type: [Number],
            read: {
              source: "range",
              reader: function reader(e, r) {
                return r.range && r.range[1];
              }
            },
            write: {
              enabled: !1,
              overridePolicy: function overridePolicy() {
                return {
                  enabled: null != this.maxValue && null == this.minValue
                };
              },
              target: "range",
              writer: function writer(e, r, n) {
                r[n] = [this.minValue || 0, e];
              }
            }
          }
        })], r.prototype, "maxValue", void 0), t([a.property({
          type: Number,
          json: {
            type: [Number],
            read: {
              source: "range",
              reader: function reader(e, r) {
                return r.range && r.range[0];
              }
            },
            write: {
              target: "range",
              writer: function writer(e, r, n) {
                r[n] = [e, this.maxValue || 0];
              }
            }
          }
        })], r.prototype, "minValue", void 0), t([a.enumeration.serializable()({
          range: "range"
        })], r.prototype, "type", void 0), r = u = t([a.subclass("esri.layers.support.RangeDomain")], r);
      }(a.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportRelationshipJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, n, a, i) {
      var p = new n["default"]({
        esriRelCardinalityOneToOne: "one-to-one",
        esriRelCardinalityOneToMany: "one-to-many",
        esriRelCardinalityManyToMany: "many-to-many"
      });
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.cardinality = null, o.id = null, o.keyField = null, o.name = null, o.relatedTableId = null, o;
        }

        return o(r, e), t([i.property({
          json: {
            read: p.read,
            write: p.write
          }
        })], r.prototype, "cardinality", void 0), t([i.property({
          json: {
            read: !0,
            write: !0
          }
        })], r.prototype, "id", void 0), t([i.property({
          json: {
            read: !0,
            write: !0
          }
        })], r.prototype, "keyField", void 0), t([i.property({
          json: {
            read: !0,
            write: !0
          }
        })], r.prototype, "name", void 0), t([i.property({
          json: {
            read: !0,
            write: !0
          }
        })], r.prototype, "relatedTableId", void 0), r = t([i.subclass("esri.layers.support.Relationship")], r);
      }(i.declared(a.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportSublayerJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.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__(
    /*! ../../PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__(
    /*! ../../renderers */
    "./node_modules/arcgis-js-api/renderers.js"), __webpack_require__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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/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__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../core/accessorSupport/write */
    "./node_modules/arcgis-js-api/core/accessorSupport/write.js"), __webpack_require__(
    /*! ./commonProperties */
    "./node_modules/arcgis-js-api/layers/support/commonProperties.js"), __webpack_require__(
    /*! ./LabelClass */
    "./node_modules/arcgis-js-api/layers/support/LabelClass.js"), __webpack_require__(
    /*! ./layerSourceUtils */
    "./node_modules/arcgis-js-api/layers/support/layerSourceUtils.js"), __webpack_require__(
    /*! ../../renderers/support/jsonUtils */
    "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js"), __webpack_require__(
    /*! ../../tasks/support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, n, o, a, l, s, p, u, y, c, f, d, h, b, g, m, w, S, O, v, P, _) {
      function x(e) {
        return e && "esriSMS" === e.type;
      }

      var E = d.getLogger("esri.layers.support.Sublayer"),
          I = 0;
      return function (r) {
        function n(e) {
          var t = r.call(this, e) || this;
          return t._sublayersHandles = null, t;
        }

        t(n, r), c = n, Object.defineProperty(n.prototype, "definitionExpression", {
          get: function get() {
            return this._get("definitionExpression");
          },
          set: function set(e) {
            this._setAndNotifyLayer("definitionExpression", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "id", {
          get: function get() {
            var e = this._get("id");

            return null == e ? I++ : e;
          },
          set: function set(e) {
            if (this._get("id") !== e) return !1 === this.get("layer.capabilities.exportMap.supportsDynamicLayers") ? void this._logLockedError("id") : void this._set("id", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "labelingInfo", {
          get: function get() {
            return this._get("labelingInfo");
          },
          set: function set(e) {
            this._setAndNotifyLayer("labelingInfo", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.writeLabelingInfo = function (e, r, t, i) {
          i && !i.writeAsDynamic || e && e.length && (r.layerDefinition = {
            drawingInfo: {
              labelingInfo: e.map(function (e) {
                return e.write({}, i);
              })
            }
          });
        }, Object.defineProperty(n.prototype, "labelsVisible", {
          get: function get() {
            return this._get("labelsVisible");
          },
          set: function set(e) {
            this._setAndNotifyLayer("labelsVisible", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.writeLabelsVisible = function (e, r, t, i) {
          i && !i.writeAsDynamic || (r.showLabels = e);
        }, Object.defineProperty(n.prototype, "layer", {
          set: function set(e) {
            this._set("layer", e), this.sublayers && this.sublayers.forEach(function (r) {
              return r.layer = e;
            });
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "legendEnabled", {
          get: function get() {
            return this._get("legendEnabled");
          },
          set: function set(e) {
            this._set("legendEnabled", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "listMode", {
          get: function get() {
            return this._get("listMode");
          },
          set: function set(e) {
            this._set("listMode", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "minScale", {
          get: function get() {
            return this._get("minScale");
          },
          set: function set(e) {
            this._setAndNotifyLayer("minScale", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readMinScale = function (e, r) {
          return r.minScale || r.layerDefinition && r.layerDefinition.minScale || 0;
        }, n.prototype.writeMinScale = function (e, r, t, i) {
          if (i && i.writeOverridesOnly) {
            var n = i && i.serviceSublayer;
            if (n && n.minScale === e && n.maxScale === this.maxScale) return;
          }

          r.minScale = e;
        }, Object.defineProperty(n.prototype, "maxScale", {
          get: function get() {
            return this._get("maxScale");
          },
          set: function set(e) {
            this._setAndNotifyLayer("maxScale", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readMaxScale = function (e, r) {
          return r.maxScale || r.layerDefinition && r.layerDefinition.maxScale || 0;
        }, n.prototype.writeMaxScale = function (e, r, t, i) {
          if (i && i.writeOverridesOnly) {
            var n = i && i.serviceSublayer;
            if (n && n.maxScale === e && n.minScale === this.minScale) return;
          }

          r.maxScale = e;
        }, Object.defineProperty(n.prototype, "opacity", {
          get: function get() {
            return this._get("opacity");
          },
          set: function set(e) {
            this._setAndNotifyLayer("opacity", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readOpacity = function (e, r) {
          var t = r.layerDefinition;
          return 1 - .01 * (null != t.transparency ? t.transparency : t.drawingInfo.transparency);
        }, n.prototype.writeOpacity = function (e, r, t, i) {
          i && !i.writeAsDynamic || (r.layerDefinition = {
            drawingInfo: {
              transparency: 100 - 100 * e
            }
          });
        }, n.prototype.writeParent = function (e, r, t, i) {
          i && i.writeOverridesOnly || (this.parent && this.parent !== this.layer ? r.parentLayerId = this.parent.id : r.parentLayerId = -1);
        }, Object.defineProperty(n.prototype, "popupEnabled", {
          get: function get() {
            return this._get("popupEnabled");
          },
          set: function set(e) {
            this._set("popupEnabled", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "popupTemplate", {
          get: function get() {
            return this._get("popupTemplate");
          },
          set: function set(e) {
            this._set("popupTemplate", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "renderer", {
          get: function get() {
            return this._get("renderer");
          },
          set: function set(e) {
            if (e) for (var r = 0, t = e.getSymbols(); r < t.length; r++) {
              var i = t[r];

              if (p.isSymbol3D(i)) {
                E.warn("Sublayer renderer should use 2D symbols");
                break;
              }
            }

            this._setAndNotifyLayer("renderer", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.readRenderer = function (e, r, t) {
          return e = r.layerDefinition.drawingInfo.renderer || void 0, e && ((e = P.read(e, r, t) || void 0) || E.error("Failed to create renderer", {
            rendererDefinition: r.drawingInfo.renderer,
            layer: this,
            context: t
          })), e;
        }, n.prototype.writeRenderer = function (e, r, t, i) {
          i && !i.writeAsDynamic || (r.layerDefinition = {
            drawingInfo: {
              renderer: e.toJSON()
            }
          });
        }, n.prototype.writeWebSceneRenderer = function (e, r, t, i) {
          i && !i.writeAsDynamic || (r.layerDefinition = {
            drawingInfo: {
              renderer: e.toJSON()
            }
          });
        }, Object.defineProperty(n.prototype, "source", {
          get: function get() {
            return this._get("source") || {
              mapLayerId: this.id,
              type: v.MAPLAYER
            };
          },
          set: function set(e) {
            this._setAndNotifyLayer("source", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.writeSource = function (e, r, t, i) {
          i && !i.writeAsDynamic && i.writeOverridesOnly || (r.layerDefinition = {
            source: v.sourceToJSON(e)
          });
        }, Object.defineProperty(n.prototype, "sublayers", {
          set: function set(e) {
            this._handleSublayersChange(e, this._get("sublayers")), this._set("sublayers", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.castSublayers = function (e) {
          return m["default"](u.ofType(c), e);
        }, n.prototype.writeSublayers = function (e, r, t, i) {
          i && i.writeOverridesOnly || this.get("sublayers.length") && (r[t] = this.sublayers.map(function (e) {
            return e.id;
          }).toArray().reverse());
        }, Object.defineProperty(n.prototype, "title", {
          get: function get() {
            return this._get("title");
          },
          set: function set(e) {
            this._set("title", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.writeTitle = function (e, r, t, i) {
          if (i && i.writeOverridesOnly) {
            var n = i && i.serviceSublayer;
            if (n && n.title === e) return;
          }

          r[t] = e;
        }, Object.defineProperty(n.prototype, "url", {
          get: function get() {
            var e = this.layer,
                r = this.source;
            if (!e) return null;
            if (v.isMapLayerSource(r)) return e.parsedUrl.path + "/" + r.mapLayerId;
            var t = {
              layer: JSON.stringify({
                source: v.sourceToJSON(this.source)
              })
            };
            return e.parsedUrl.path + "/dynamicLayer?" + b.objectToQuery(t);
          },
          set: function set(e) {
            e ? this._override("url", e) : this._clearOverride("url");
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "visible", {
          get: function get() {
            return this._get("visible");
          },
          set: function set(e) {
            this._setAndNotifyLayer("visible", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.writeVisible = function (e, r, t, i) {
          if (i && i.writeOverridesOnly) {
            var n = i && i.serviceSublayer;
            if (n && n.visible === e) return;
          }

          r[t] = e;
        }, n.prototype.clone = function () {
          var e = new c();
          return this.hasOwnProperty("definitionExpression") && (e.definitionExpression = this.definitionExpression), this.hasOwnProperty("id") && (e.id = this.id), this.hasOwnProperty("labelingInfo") && (e.labelingInfo = f.clone(this.labelingInfo)), this.hasOwnProperty("labelsVisible") && (e.labelsVisible = this.labelsVisible), this.hasOwnProperty("legendEnabled") && (e.legendEnabled = this.legendEnabled), this.hasOwnProperty("visible") && (e.visible = this.visible), this.hasOwnProperty("layer") && (e.layer = this.layer), this.hasOwnProperty("minScale") && (e.minScale = this.minScale), this.hasOwnProperty("maxScale") && (e.maxScale = this.maxScale), this.hasOwnProperty("opacity") && (e.opacity = this.opacity), this.hasOwnProperty("parent") && (e.parent = this.parent), this.hasOwnProperty("popupEnabled") && (e.popupEnabled = this.popupEnabled), this.hasOwnProperty("popupTemplate") && (e.popupTemplate = this.popupTemplate ? this.popupTemplate.clone() : this.popupTemplate), this.hasOwnProperty("renderer") && (e.renderer = this.renderer ? this.renderer.clone() : this.renderer), this.hasOwnProperty("source") && (e.source = f.clone(this.source)), this.hasOwnProperty("sublayers") && (e.sublayers = this.sublayers ? this.sublayers.clone() : this.sublayers), this.hasOwnProperty("title") && (e.title = this.title), e;
        }, n.prototype.createQuery = function () {
          return new _({
            returnGeometry: !0,
            where: this.definitionExpression || "1=1"
          });
        }, n.prototype.createFeatureLayer = function () {
          return a(this, void 0, void 0, function () {
            var r, t, i, n, a;
            return o(this, function (o) {
              switch (o.label) {
                case 0:
                  return this.hasOwnProperty("sublayers") ? [2, null] : (r = this.layer && this.layer.parsedUrl, t = this.source, i = null, r && (i = v.isMapLayerSource(t) ? r.path + "/" + t.mapLayerId : r.path + "/dynamicLayer"), [4, h.create(function (r) {
                    return Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../FeatureLayer */
                      "./node_modules/arcgis-js-api/layers/FeatureLayer.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](__webpack_require__.oe);
                  })]);

                case 1:
                  return n = o.sent(), a = new n({
                    url: i
                  }), this.hasOwnProperty("definitionExpression") && (a.definitionExpression = this.definitionExpression), this.hasOwnProperty("labelingInfo") && (a.labelingInfo = f.clone(this.labelingInfo)), this.hasOwnProperty("labelsVisible") && (a.labelsVisible = this.labelsVisible), this.hasOwnProperty("legendEnabled") && (a.legendEnabled = this.legendEnabled), this.hasOwnProperty("visible") && (a.visible = this.visible), this.hasOwnProperty("minScale") && (a.minScale = this.minScale), this.hasOwnProperty("maxScale") && (a.maxScale = this.maxScale), this.hasOwnProperty("opacity") && (a.opacity = this.opacity), this.hasOwnProperty("popupTemplate") && (a.popupTemplate = this.popupTemplate ? this.popupTemplate.clone() : this.popupTemplate), this.hasOwnProperty("renderer") && (a.renderer = this.renderer ? this.renderer.clone() : this.renderer), this.hasOwnProperty("source") && v.isDataLayerSource(this.source) && (a.dynamicDataSource = f.clone(this.source)), this.hasOwnProperty("title") && (a.title = this.title), [2, a];
              }
            });
          });
        }, n.prototype.queryFeatures = function (r, t) {
          var i = this;
          return void 0 === r && (r = this.createQuery()), h.all([h.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../../tasks/operations/query */
              "./node_modules/arcgis-js-api/tasks/operations/query.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }), h.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../../tasks/support/FeatureSet */
              "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          })]).then(function (e) {
            var n = e[0].executeQuery,
                o = e[1];
            return n(i.url, _.from(r), t).then(function (e) {
              return o.fromJSON(e.data);
            });
          }).then(function (e) {
            return e && e.features && e.features.forEach(function (e) {
              e.sourceLayer = i;
            }), e;
          });
        }, n.prototype.toExportImageJSON = function () {
          var e = {
            id: this.id,
            source: v.sourceToJSON(this.source)
          };

          if (this.definitionExpression && (e.definitionExpression = this.definitionExpression), this.renderer || this.labelingInfo || null != this.opacity || null != this.labelsVisible) {
            var r = e.drawingInfo = {};
            this.renderer && (r.renderer = this.renderer.toJSON()), null != this.labelsVisible && (r.showLabels = this.labelsVisible), !1 !== this.labelsVisible && this.labelingInfo && (r.labelingInfo = this.labelingInfo.map(function (e) {
              return e.write({}, {
                origin: "service"
              });
            }), r.showLabels = !0), null != this.opacity && (r.transparency = 100 - 100 * this.opacity, this._assignDefaultSymbolColors(r.renderer));
          }

          return e;
        }, n.prototype._assignDefaultSymbolColors = function (e) {
          this._forEachSimpleMarkerSymbols(e, function (e) {
            e.color || "esriSMSX" !== e.style && "esriSMSCross" !== e.style || (e.outline && e.outline.color ? e.color = e.outline.color : e.color = [0, 0, 0, 0]);
          });
        }, n.prototype._forEachSimpleMarkerSymbols = function (e, r) {
          if (e) {
            for (var t = ("uniqueValueInfos" in e) ? e.uniqueValueInfos : ("classBreakInfos" in e) ? e.classBreakInfos : [], i = 0, n = t; i < n.length; i++) {
              var o = n[i];
              x(o.symbol) && r(o.symbol);
            }

            "symbol" in e && x(e.symbol) && r(e.symbol), "defaultSymbol" in e && x(e.defaultSymbol) && r(e.defaultSymbol);
          }
        }, n.prototype._setAndNotifyLayer = function (e, r) {
          var t,
              i = this.layer,
              n = this._get(e);

          switch (e) {
            case "definitionExpression":
              t = "supportsSublayerDefinitionExpression";

            case "minScale":
            case "maxScale":
            case "visible":
              t = "supportsSublayerVisibility";
              break;

            case "labelingInfo":
            case "labelsVisible":
            case "opacity":
            case "renderer":
            case "source":
              t = "supportsDynamicLayers";
          }

          if (t && !1 === this.get("layer.capabilities.exportMap." + t)) return void this._logLockedError(e);
          this._set(e, r), n !== r && i && i.emit && i.emit("sublayer-update", {
            propertyName: e
          });
        }, n.prototype._handleSublayersChange = function (e, r) {
          var t = this;
          r && (r.forEach(function (e) {
            e.parent = null, e.layer = null;
          }), this._sublayersHandles.forEach(function (e) {
            return e.remove();
          }), this._sublayersHandles = null), e && (e.forEach(function (e) {
            e.parent = t, e.layer = t.layer;
          }), this._sublayersHandles = [e.on("after-add", function (e) {
            var r = e.item;
            r.parent = t, r.layer = t.layer;
          }), e.on("after-remove", function (e) {
            var r = e.item;
            r.parent = null, r.layer = null;
          }), e.on("before-changes", function (e) {
            var r = t.get("layer.capabilities.exportMap.supportsSublayersChanges");
            null == r || r || (E.error(new y("sublayer:sublayers-non-modifiable", "Sublayer can't be added, moved, or removed from the layer's sublayers", {
              layer: t
            })), e.preventDefault());
          })]);
        }, n.prototype._logLockedError = function (e) {
          E.error(new y("sublayer:locked", "Property '" + e + "' can't be changed on Sublayer from the layer '" + this.layer.id + "'", {
            sublayer: this,
            layer: this.layer
          }));
        };
        var c;
        return i([g.property({
          type: String,
          value: null,
          json: {
            read: {
              source: "layerDefinition.definitionExpression"
            },
            write: {
              target: "layerDefinition.definitionExpression"
            }
          }
        })], n.prototype, "definitionExpression", null), i([g.property({
          type: Number,
          json: {
            write: {
              ignoreOrigin: !0
            }
          }
        })], n.prototype, "id", null), i([g.property({
          value: null,
          type: [O],
          json: {
            read: {
              source: "layerDefinition.drawingInfo.labelingInfo"
            },
            write: {
              target: "layerDefinition.drawingInfo.labelingInfo"
            }
          }
        })], n.prototype, "labelingInfo", null), i([g.writer("labelingInfo")], n.prototype, "writeLabelingInfo", null), i([g.property({
          type: Boolean,
          json: {
            read: {
              source: "showLabels"
            },
            write: {
              target: "showLabels"
            }
          }
        })], n.prototype, "labelsVisible", null), i([g.writer("labelsVisible")], n.prototype, "writeLabelsVisible", null), i([g.property({
          value: null
        })], n.prototype, "layer", null), i([g.property(S.legendEnabled)], n.prototype, "legendEnabled", null), i([g.property({
          type: ["show", "hide", "hide-children"],
          value: "show",
          json: {
            read: !1,
            write: !1,
            origins: {
              "web-scene": {
                read: !0,
                write: !0
              }
            }
          }
        })], n.prototype, "listMode", null), i([g.property({
          type: Number,
          value: 0,
          json: {
            write: {
              overridePolicy: function overridePolicy(e, r, t) {
                if (w.willPropertyWrite(this, "maxScale", {}, t)) return {
                  ignoreOrigin: !0
                };
              }
            }
          }
        })], n.prototype, "minScale", null), i([g.reader("portal-item", "minScale", ["minScale", "layerDefinition.minScale"])], n.prototype, "readMinScale", null), i([g.writer("minScale")], n.prototype, "writeMinScale", null), i([g.property({
          type: Number,
          value: 0,
          json: {
            write: {
              overridePolicy: function overridePolicy(e, r, t) {
                if (w.willPropertyWrite(this, "minScale", {}, t)) return {
                  ignoreOrigin: !0
                };
              }
            }
          }
        })], n.prototype, "maxScale", null), i([g.reader("portal-item", "maxScale", ["maxScale", "layerDefinition.maxScale"])], n.prototype, "readMaxScale", null), i([g.writer("maxScale")], n.prototype, "writeMaxScale", null), i([g.property({
          type: Number,
          json: {
            write: {
              target: "layerDefinition.drawingInfo.transparency"
            }
          }
        })], n.prototype, "opacity", null), i([g.reader("opacity", ["layerDefinition.drawingInfo.transparency", "layerDefinition.transparency"])], n.prototype, "readOpacity", null), i([g.writer("opacity")], n.prototype, "writeOpacity", null), i([g.property({
          json: {
            type: Number,
            write: {
              target: "parentLayerId",
              allowNull: !0
            }
          }
        })], n.prototype, "parent", void 0), i([g.writer("parent")], n.prototype, "writeParent", null), i([g.property(S.popupEnabled)], n.prototype, "popupEnabled", null), i([g.property({
          value: null,
          type: l,
          json: {
            read: {
              source: "popupInfo"
            },
            write: {
              target: "popupInfo"
            }
          }
        })], n.prototype, "popupTemplate", null), i([g.property({
          types: s.rendererTypes,
          value: null,
          json: {
            write: {
              target: "layerDefinition.drawingInfo.renderer"
            }
          }
        })], n.prototype, "renderer", null), i([g.reader("renderer", ["layerDefinition.drawingInfo.renderer"])], n.prototype, "readRenderer", null), i([g.writer("renderer")], n.prototype, "writeRenderer", null), i([g.writer("web-scene", "renderer", {
          "layerDefinition.drawingInfo.renderer": {
            types: s.webSceneRendererTypes
          }
        })], n.prototype, "writeWebSceneRenderer", null), i([g.property({
          cast: v.castSource,
          json: {
            read: {
              source: "layerDefinition.source",
              reader: v.sourceFromJSON
            },
            write: {
              target: "layerDefinition.source"
            }
          }
        })], n.prototype, "source", null), i([g.writer("source")], n.prototype, "writeSource", null), i([g.property({
          value: null,
          json: {
            type: [m.Integer],
            write: {
              target: "subLayerIds",
              allowNull: !0
            }
          }
        })], n.prototype, "sublayers", null), i([g.cast("sublayers")], n.prototype, "castSublayers", null), i([g.writer("sublayers")], n.prototype, "writeSublayers", null), i([g.property({
          type: String,
          value: null,
          json: {
            read: {
              source: "name"
            },
            write: {
              target: "name",
              allowNull: !0,
              ignoreOrigin: !0
            }
          }
        })], n.prototype, "title", null), i([g.writer("title")], n.prototype, "writeTitle", null), i([g.property({
          type: String,
          dependsOn: ["layer", "source"],
          json: {
            read: {
              source: "layerUrl"
            },
            write: {
              target: "layerUrl",
              overridePolicy: function overridePolicy() {
                return {
                  enabled: this._isOverridden("url")
                };
              }
            }
          }
        })], n.prototype, "url", null), i([g.property({
          type: Boolean,
          value: !0,
          json: {
            read: {
              source: "defaultVisibility"
            },
            write: {
              target: "defaultVisibility"
            }
          }
        })], n.prototype, "visible", null), i([g.writer("visible")], n.prototype, "writeVisible", null), n = c = i([g.subclass("esri.layers.support.Sublayer")], n);
      }(g.declared(c.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportTileInfoJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../geometry/support/aaBoundingRect */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"), __webpack_require__(
    /*! ../../geometry/support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ./LOD */
    "./node_modules/arcgis-js-api/layers/support/LOD.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, l, n, s, p, a, c, u, f, v, y) {
      var h = new n["default"]({
        PNG: "png",
        PNG8: "png8",
        PNG24: "png24",
        PNG32: "png32",
        JPEG: "jpg",
        JPG: "jpg",
        DIB: "dib",
        TIFF: "tiff",
        EMF: "emf",
        PS: "ps",
        PDF: "pdf",
        GIF: "gif",
        SVG: "svg",
        SVGZ: "svgz",
        Mixed: "mixed",
        MIXED: "mixed",
        LERC: "lerc",
        pbf: "pbf"
      });
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.dpi = 96, r.format = null, r.origin = null, r.minScale = 0, r.maxScale = 0, r.size = null, r.spatialReference = null, r;
        }

        o(t, e), n = t, t.create = function (e) {
          void 0 === e && (e = {
            size: 256,
            spatialReference: l.SpatialReference.WebMercator
          });
          var t = e.resolutionFactor || 1,
              r = e.scales,
              o = e.size || 256,
              i = e.spatialReference || l.SpatialReference.WebMercator;

          if (!f.isValid(i)) {
            var s = [];
            if (r) for (var a = 0; a < r.length; a++) {
              var c = r[a];
              s.push({
                level: a,
                scale: c,
                resolution: c
              });
            } else for (var u = 5e-4, a = 23; a >= 0; a--) s.unshift({
              level: a,
              scale: u,
              resolution: u
            }), u *= 2;
            return new n({
              dpi: 96,
              lods: s,
              origin: new l.Point(0, 0, i),
              size: [o, o],
              spatialReference: i
            });
          }

          var v = f.getInfo(i),
              y = v ? new l.Point(v.origin[0], v.origin[1], i) : new l.Point(0, 0, i),
              h = p.getMetersPerUnitForSR(i),
              d = 1 / (39.37 * h * 96),
              g = [];
          if (r) for (var a = 0; a < r.length; a++) {
            var c = r[a],
                u = c * d;
            g.push({
              level: a,
              scale: c,
              resolution: u
            });
          } else {
            var m = f.isGeographic(i) ? 512 / o * 591657527.5917094 : 256 / o * 591657527.591555,
                S = Math.ceil(24 / t);
            g.push({
              level: 0,
              scale: m,
              resolution: m * d
            });

            for (var a = 1; a < S; a++) {
              var c = m / Math.pow(2, t),
                  u = c * d;
              g.push({
                level: a,
                scale: c,
                resolution: u
              }), m = c;
            }
          }
          return new n({
            dpi: 96,
            lods: g,
            origin: y,
            size: [o, o],
            spatialReference: i
          });
        }, Object.defineProperty(t.prototype, "isWrappable", {
          get: function get() {
            var e = this,
                t = e.spatialReference,
                r = e.origin;

            if (t && r) {
              var o = f.getInfo(t);
              return t.isWrappable && Math.abs(o.origin[0] - r.x) <= o.dx;
            }

            return !1;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readOrigin = function (e, t) {
          return l.Point.fromJSON(r({
            spatialReference: t.spatialReference
          }, e));
        }, Object.defineProperty(t.prototype, "lods", {
          set: function set(e) {
            var t = this,
                r = 0,
                o = 0,
                i = [];
            this._levelToLOD = {}, e && (r = -1 / 0, o = 1 / 0, e.forEach(function (e) {
              i.push(e.scale), r = e.scale > r ? e.scale : r, o = e.scale < o ? e.scale : o, t._levelToLOD[e.level] = e;
            })), this._set("scales", i), this._set("minScale", r), this._set("maxScale", o), this._set("lods", e), this._initializeUpsampleLevels();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readSize = function (e, t) {
          return [t.cols, t.rows];
        }, t.prototype.writeSize = function (e, t) {
          t.cols = e[0], t.rows = e[0];
        }, t.prototype.zoomToScale = function (e) {
          var t = this.scales;
          if (e <= 0) return t[0];
          if (e >= t.length) return t[t.length - 1];
          var r = Math.round(e - .5),
              o = Math.round(e);
          return t[o] + (o - e) * (t[r] - t[o]);
        }, t.prototype.scaleToZoom = function (e) {
          for (var t = this.scales, r = t.length - 1, o = 0; o < r; o++) {
            var i = t[o],
                l = t[o + 1];
            if (i <= e) return o;
            if (l === e) return o + 1;
            if (i > e && l < e) return o + 1 - (e - l) / (i - l);
          }

          return o;
        }, t.prototype.snapScale = function (e, t) {
          void 0 === t && (t = .95);
          var r = this.scaleToZoom(e);
          return r % Math.floor(r) >= t ? this.zoomToScale(Math.ceil(r)) : this.zoomToScale(Math.floor(r));
        }, t.prototype.tileAt = function (e, t, r, o) {
          var i = this.lodAt(e);
          if (!i) return null;
          var l, n;
          if ("number" == typeof t) l = t, n = r;else if (f.equals(t.spatialReference, this.spatialReference)) l = t.x, n = t.y, o = r;else {
            var s = v.project(t, this.spatialReference);
            if (!s) return null;
            l = s.x, n = s.y, o = r;
          }
          var p = i.resolution * this.size[0],
              a = i.resolution * this.size[1];
          return o || (o = {
            id: null,
            level: 0,
            row: 0,
            col: 0,
            extent: u.create()
          }), o.level = e, o.row = Math.floor((this.origin.y - n) / a + .001), o.col = Math.floor((l - this.origin.x) / p + .001), this.updateTileInfo(o), o;
        }, t.prototype.updateTileInfo = function (e) {
          var t = this.lodAt(e.level);

          if (t) {
            var r = t.resolution * this.size[0],
                o = t.resolution * this.size[1];
            e.id = e.level + "/" + e.row + "/" + e.col, e.extent || (e.extent = u.create()), e.extent[0] = this.origin.x + e.col * r, e.extent[1] = this.origin.y - (e.row + 1) * o, e.extent[2] = e.extent[0] + r, e.extent[3] = e.extent[1] + o;
          }
        }, t.prototype.upsampleTile = function (e) {
          var t = this._upsampleLevels[e.level];
          return !(!t || -1 === t.parentLevel) && (e.level = t.parentLevel, e.row = Math.floor(e.row / t.factor + .001), e.col = Math.floor(e.col / t.factor + .001), this.updateTileInfo(e), !0);
        }, t.prototype.getTileBounds = function (e, t) {
          var r = this.lodAt(t.level).resolution,
              o = r * this.size[0],
              i = r * this.size[1];
          return e[0] = this.origin.x + t.col * o, e[1] = this.origin.y - (t.row + 1) * i, e[2] = e[0] + o, e[3] = e[1] + i, e;
        }, t.prototype.lodAt = function (e) {
          return this._levelToLOD && this._levelToLOD[e] || null;
        }, t.prototype.clone = function () {
          return n.fromJSON(this.write({}));
        }, t.prototype._initializeUpsampleLevels = function () {
          var e = this.lods;
          this._upsampleLevels = [];

          for (var t = null, r = 0; r < e.length; r++) {
            var o = e[r];
            this._upsampleLevels[o.level] = {
              parentLevel: t ? t.level : -1,
              factor: t ? t.resolution / o.resolution : 0
            }, t = o;
          }
        };
        var n;
        return i([a.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "compressionQuality", void 0), i([a.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "dpi", void 0), i([a.property({
          type: String,
          json: {
            read: h.read,
            write: h.write,
            origins: {
              "web-scene": {
                read: !1,
                write: !1
              }
            }
          }
        })], t.prototype, "format", void 0), i([a.property({
          readOnly: !0,
          dependsOn: ["spatialReference", "origin"]
        })], t.prototype, "isWrappable", null), i([a.property({
          type: l.Point,
          json: {
            write: !0
          }
        })], t.prototype, "origin", void 0), i([a.reader("origin")], t.prototype, "readOrigin", null), i([a.property({
          type: [y],
          value: null,
          json: {
            write: !0
          }
        })], t.prototype, "lods", null), i([a.property({
          readOnly: !0
        })], t.prototype, "minScale", void 0), i([a.property({
          readOnly: !0
        })], t.prototype, "maxScale", void 0), i([a.property({
          readOnly: !0
        })], t.prototype, "scales", void 0), i([a.property({
          cast: function cast(e) {
            return Array.isArray(e) ? e : "number" == typeof e ? [e, e] : [256, 256];
          }
        })], t.prototype, "size", void 0), i([a.reader("size", ["rows", "cols"])], t.prototype, "readSize", null), i([a.writer("size", {
          cols: {
            type: c.Integer
          },
          rows: {
            type: c.Integer
          }
        })], t.prototype, "writeSize", null), i([a.property({
          type: l.SpatialReference,
          json: {
            write: !0
          }
        })], t.prototype, "spatialReference", void 0), t = n = i([a.subclass("esri.layers.support.TileInfo")], t);
      }(a.declared(s.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportTimeInfoJs(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__(
    /*! ../../TimeExtent */
    "./node_modules/arcgis-js-api/TimeExtent.js"), __webpack_require__(
    /*! ../../TimeInterval */
    "./node_modules/arcgis-js-api/TimeInterval.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./TimeReference */
    "./node_modules/arcgis-js-api/layers/support/TimeReference.js"), __webpack_require__(
    /*! ./timeUtils */
    "./node_modules/arcgis-js-api/layers/support/timeUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, l, n, o, a, u, p, m) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.cumulative = !1, r.endField = null, r.fullTimeExtent = null, r.hasLiveData = !1, r.interval = null, r.startField = null, r.timeReference = null, r.trackIdField = null, r.useTime = !0, r;
        }

        r(t, e), o = t, t.prototype.readFullTimeExtent = function (e, t) {
          if (!t.timeExtent || !Array.isArray(t.timeExtent) || 2 !== t.timeExtent.length) return null;
          var r = t.timeExtent[0],
              i = t.timeExtent[1];
          return new l({
            start: r,
            end: i
          });
        }, t.prototype.writeFullTimeExtent = function (e, t) {
          e && e.start && e.end ? t.timeExtent = [e.start.getTime(), e.end.getTime()] : t.timeExtent = null;
        }, t.prototype.readInterval = function (e, t) {
          return t.timeInterval && t.timeIntervalUnits ? new n({
            value: t.timeInterval,
            unit: m.timeUnitKebabDictionary.fromJSON(t.timeIntervalUnits)
          }) : t.defaultTimeInterval && t.defaultTimeIntervalUnits ? new n({
            value: t.defaultTimeInterval,
            unit: m.timeUnitKebabDictionary.fromJSON(t.defaultTimeIntervalUnits)
          }) : null;
        }, t.prototype.writeInterval = function (e, t) {
          if (e) {
            var r = e.toJSON();
            t.timeInterval = r.value, t.timeIntervalUnits = r.unit;
          } else t.timeInterval = null, t.timeIntervalUnits = null;
        }, t.prototype.clone = function () {
          var e = this,
              t = e.cumulative,
              r = e.endField,
              i = e.hasLiveData,
              l = e.interval,
              n = e.startField,
              u = e.timeReference,
              p = e.fullTimeExtent,
              m = e.trackIdField,
              d = e.useTime;
          return new o({
            cumulative: t,
            endField: r,
            hasLiveData: i,
            interval: l,
            startField: n,
            timeReference: a.clone(u),
            fullTimeExtent: a.clone(p),
            trackIdField: m,
            useTime: d
          });
        };
        var o;
        return i([u.property({
          type: Boolean,
          json: {
            read: {
              source: "exportOptions.timeDataCumulative"
            },
            write: {
              target: "exportOptions.timeDataCumulative"
            }
          }
        })], t.prototype, "cumulative", void 0), i([u.property({
          type: String,
          json: {
            read: {
              source: "endTimeField"
            },
            write: {
              target: "endTimeField",
              allowNull: !0
            }
          }
        })], t.prototype, "endField", void 0), i([u.property({
          type: l,
          json: {
            write: {
              enabled: !0,
              allowNull: !0
            }
          }
        })], t.prototype, "fullTimeExtent", void 0), i([u.reader("fullTimeExtent", ["timeExtent"])], t.prototype, "readFullTimeExtent", null), i([u.writer("fullTimeExtent")], t.prototype, "writeFullTimeExtent", null), i([u.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], t.prototype, "hasLiveData", void 0), i([u.property({
          type: n,
          json: {
            write: {
              enabled: !0,
              allowNull: !0
            }
          }
        })], t.prototype, "interval", void 0), i([u.reader("interval", ["timeInterval", "timeIntervalUnits", "defaultTimeInterval", "defaultTimeIntervalUnits"])], t.prototype, "readInterval", null), i([u.writer("interval")], t.prototype, "writeInterval", null), i([u.property({
          type: String,
          json: {
            read: {
              source: "startTimeField"
            },
            write: {
              target: "startTimeField",
              allowNull: !0
            }
          }
        })], t.prototype, "startField", void 0), i([u.property({
          type: p,
          json: {
            write: {
              enabled: !0,
              allowNull: !0
            }
          }
        })], t.prototype, "timeReference", void 0), i([u.property({
          type: String,
          json: {
            write: {
              enabled: !0,
              allowNull: !0
            }
          }
        })], t.prototype, "trackIdField", void 0), i([u.property({
          type: Boolean,
          json: {
            read: {
              source: "exportOptions.useTime"
            },
            write: {
              target: "exportOptions.useTime"
            }
          }
        })], t.prototype, "useTime", void 0), t = o = i([u.subclass("esri.layers.support.TimeInfo")], t);
      }(u.declared(o.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportTimeReferenceJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.respectsDaylightSaving = !1, r.timezone = null, r;
        }

        r(t, e), o = t, t.prototype.readRespectsDaylightSaving = function (e, t) {
          return void 0 !== t.respectsDaylightSaving ? t.respectsDaylightSaving : void 0 !== t.respectDaylightSaving && t.respectDaylightSaving;
        }, t.prototype.clone = function () {
          var e = this,
              t = e.respectsDaylightSaving,
              r = e.timezone;
          return new o({
            respectsDaylightSaving: t,
            timezone: r
          });
        };
        var o;
        return i([n.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], t.prototype, "respectsDaylightSaving", void 0), i([n.reader("respectsDaylightSaving", ["respectsDaylightSaving", "respectDaylightSaving"])], t.prototype, "readRespectsDaylightSaving", null), i([n.property({
          type: String,
          json: {
            read: {
              source: "timeZone"
            },
            write: {
              target: "timeZone"
            }
          }
        })], t.prototype, "timezone", void 0), t = o = i([n.subclass("esri.layers.support.TimeReference")], t);
      }(n.declared(o.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportArcgisLayerUrlJs(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/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function i(e) {
        return !!p.test(e);
      }

      function n(e) {
        var r = t.urlToObject(e),
            i = r.path.match(p) || r.path.match(m);
        if (!i) return null;
        var n = i[1],
            a = i[2],
            l = i[3],
            u = i[4],
            o = a.indexOf("/");
        return {
          title: s(-1 !== o ? a.slice(o + 1) : a),
          serverType: l,
          sublayer: null != u && "" !== u ? parseInt(u, 10) : null,
          url: {
            path: n
          }
        };
      }

      function s(e) {
        return e = e.replace(/\s*[\/_]+\s*/g, " "), e[0].toUpperCase() + e.slice(1);
      }

      function a(e, r) {
        var t = [];

        if (e) {
          var i = n(e);
          i && i.title && t.push(i.title);
        }

        if (r) {
          var a = s(r);
          t.push(a);
        }

        if (2 === t.length) {
          if (-1 !== t[0].toLowerCase().indexOf(t[1].toLowerCase())) return t[0];
          if (-1 !== t[1].toLowerCase().indexOf(t[0].toLowerCase())) return t[1];
        }

        return t.join(" - ");
      }

      function l(e) {
        if (!e) return !1;
        e = e.toLowerCase();
        var r = -1 !== e.indexOf(".arcgis.com/"),
            t = -1 !== e.indexOf("//services") || -1 !== e.indexOf("//tiles") || -1 !== e.indexOf("//features");
        return r && t;
      }

      function u(e, r) {
        return r && e && -1 !== e.toLowerCase().indexOf(r.toLowerCase());
      }

      function o(e, r) {
        return e ? t.removeTrailingSlash(t.removeQueryParameters(e, r)) : e;
      }

      function v(e, r, i) {
        if (!r) return {
          url: r
        };
        r = t.removeQueryParameters(r, i);
        var s,
            a = t.urlToObject(r),
            l = n(a.path);
        return l && null != l.sublayer && (null == e.layerId && (s = l.sublayer), r = l.url.path), {
          url: t.removeTrailingSlash(r),
          layerId: s
        };
      }

      function c(e, r, i, n, s) {
        t.write(r, n, "url", s), n.url && null != e.layerId && (n.url = t.join(n.url, i, e.layerId.toString()));
      }

      function f(e) {
        if (!e) return !1;
        var r = e.toLowerCase(),
            t = -1 !== r.indexOf("/services/"),
            i = -1 !== r.indexOf("/mapserver/wmsserver"),
            n = -1 !== r.indexOf("/imageserver/wmsserver"),
            s = -1 !== r.indexOf("/wmsserver");
        return t && (i || n || s);
      }

      function d(e) {
        if (!e) return !1;
        var r = new t.Url(t.makeAbsolute(e)),
            i = r.authority.toLowerCase();
        return "server.arcgisonline.com" === i || "services.arcgisonline.com" === i;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.serverTypes = ["MapServer", "ImageServer", "FeatureServer", "SceneServer", "StreamServer", "VectorTileServer"];
      var p = new RegExp("^((?:https?:)?\\/\\/\\S+?\\/rest\\/services\\/(.+?)\\/(" + r.serverTypes.join("|") + "))(?:\\/(?:layers\\/)?(\\d+))?", "i"),
          m = new RegExp("^((?:https?:)?\\/\\/\\S+?\\/([^\\/\\n]+)\\/(" + r.serverTypes.join("|") + "))(?:\\/(?:layers\\/)?(\\d+))?", "i");
      r.isArcGISUrl = i, r.parse = n, r.cleanTitle = s, r.titleFromUrlAndName = a, r.isHostedAgolService = l, r.isHostedSecuredProxyService = u, r.sanitizeUrl = o, r.sanitizeUrlWithLayerId = v, r.writeUrlWithLayerId = c, r.isWmsServer = f, r.isServerOrServicesAGOLUrl = d;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportCommonPropertiesJs(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/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/write */
    "./node_modules/arcgis-js-api/core/accessorSupport/write.js"), __webpack_require__(
    /*! ../../symbols/support/ElevationInfo */
    "./node_modules/arcgis-js-api/symbols/support/ElevationInfo.js"), __webpack_require__(
    /*! ../../webdoc/support/opacityUtils */
    "./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, i, o, t, a, s) {
      function c(e) {
        return {
          type: e,
          readOnly: !0,
          json: {
            origins: {
              service: {
                read: !0
              }
            },
            read: !1
          }
        };
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.screenSizePerspectiveEnabled = {
        type: Boolean,
        value: !0,
        json: {
          origins: {
            "web-scene": {
              read: {
                source: ["id", "url", "layerType"],
                reader: function reader(e, r) {
                  return null == r.screenSizePerspective && "defaults" === this.originOf("screenSizePerspectiveEnabled") ? void o.getProperties(this).store.set("screenSizePerspectiveEnabled", !1, 0) : r.screenSizePerspective;
                }
              },
              write: {
                ignoreOrigin: !0,
                target: "screenSizePerspective",
                writer: function writer(e, r, n, i) {
                  "defaults" === this.originOf("screenSizePerspectiveEnabled") && e ? r[n] = e : t.willPropertyWrite(this, "screenSizePerspectiveEnabled", {}, i) && (r[n] = e);
                }
              }
            }
          }
        }
      }, r.popupEnabled = {
        type: Boolean,
        value: !0,
        json: {
          read: {
            source: "disablePopup",
            reader: function reader(e, r) {
              return !r.disablePopup;
            }
          },
          write: {
            target: "disablePopup",
            writer: function writer(e, r, n) {
              r[n] = !e;
            }
          }
        }
      }, r.labelsVisible = {
        type: Boolean,
        json: {
          read: {
            source: "showLabels"
          },
          write: {
            target: "showLabels"
          }
        }
      }, r.url = {
        type: String,
        json: {
          write: {
            isRequired: !0,
            ignoreOrigin: !0,
            writer: i.write
          }
        }
      }, r.legendEnabled = {
        type: Boolean,
        value: !0,
        json: {
          origins: {
            service: {
              read: {
                enabled: !1
              }
            }
          },
          read: {
            source: "showLegend"
          },
          write: {
            target: "showLegend"
          }
        }
      }, r.elevationInfo = {
        value: null,
        type: a,
        json: {
          origins: {
            service: {
              read: {
                source: "elevationInfo"
              },
              write: {
                target: "elevationInfo",
                enabled: !1
              }
            }
          },
          read: {
            source: "layerDefinition.elevationInfo"
          },
          write: {
            target: "layerDefinition.elevationInfo"
          }
        }
      }, r.readOnlyService = c, r.opacity = {
        type: Number,
        json: {
          origins: {
            "web-document": {
              "default": 1,
              write: !0,
              read: !0
            }
          }
        }
      }, r.opacityDrawingInfo = n({}, r.opacity, {
        json: n({}, r.opacity.json, {
          origins: {
            "web-document": n({}, r.opacity.json.origins["web-document"], {
              write: {
                enabled: !0,
                target: {
                  opacity: {
                    type: Number
                  },
                  "layerDefinition.drawingInfo.transparency": {
                    type: Number
                  }
                }
              }
            })
          },
          read: {
            source: ["layerDefinition.drawingInfo.transparency", "drawingInfo.transparency"],
            reader: function reader(e, r, n) {
              return n && "service" !== n.origin || !r.drawingInfo || void 0 === r.drawingInfo.transparency ? r.layerDefinition && r.layerDefinition.drawingInfo && void 0 !== r.layerDefinition.drawingInfo.transparency ? s.transparencyToOpacity(r.layerDefinition.drawingInfo.transparency) : void 0 : s.transparencyToOpacity(r.drawingInfo.transparency);
            }
          }
        })
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportDomainsJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ./CodedValueDomain */
    "./node_modules/arcgis-js-api/layers/support/CodedValueDomain.js"), __webpack_require__(
    /*! ./Domain */
    "./node_modules/arcgis-js-api/layers/support/Domain.js"), __webpack_require__(
    /*! ./InheritedDomain */
    "./node_modules/arcgis-js-api/layers/support/InheritedDomain.js"), __webpack_require__(
    /*! ./RangeDomain */
    "./node_modules/arcgis-js-api/layers/support/RangeDomain.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, a, r, i, o, u) {
      function t(e, n) {
        return null === d(e, n);
      }

      function d(e, n) {
        switch (e.type) {
          case "range":
            var a = "range" in e ? e.range[0] : e.minValue,
                r = "range" in e ? e.range[1] : e.maxValue;
            if (+n < a || +n > r) return c.VALUE_OUT_OF_RANGE;
            break;

          case "coded-value":
          case "codedValue":
            if (null == e.codedValues || e.codedValues.every(function (e) {
              return null == e || e.code !== n;
            })) return c.INVALID_CODED_VALUE;
        }

        return null;
      }

      function l(e) {
        if (e && "range" === e.type) {
          return {
            min: "range" in e ? e.range[0] : e.minValue,
            max: "range" in e ? e.range[1] : e.maxValue
          };
        }
      }

      function m(e) {
        if (!e || !e.type) return null;

        switch (e.type) {
          case "range":
            return n.RangeDomain.fromJSON(e);

          case "codedValue":
            return n.CodedValueDomain.fromJSON(e);

          case "inherited":
            return n.InheritedDomain.fromJSON(e);

          default:
            a.neverReached(e);
        }

        return null;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.CodedValueDomain = r, n.DomainBase = i, n.InheritedDomain = o, n.RangeDomain = u;
      var c;
      !function (e) {
        e.VALUE_OUT_OF_RANGE = "domain-validation-error::value-out-of-range", e.INVALID_CODED_VALUE = "domain-validation-error::invalid-coded-value";
      }(c = n.DomainValidationError || (n.DomainValidationError = {})), n.isValidDomainValue = t, n.validateDomainValue = d, n.types = {
        key: "type",
        base: n.DomainBase,
        typeMap: {
          range: n.RangeDomain,
          "coded-value": n.CodedValueDomain,
          inherited: n.InheritedDomain
        }
      }, n.getDomainRange = l, n.fromJSON = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportExifUtilsJs(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/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r) {
      function t(e) {
        var n = e.exifInfo,
            t = e.exifName,
            u = e.tagName;
        if (!n || !t || !u) return null;
        var i = r.find(n, function (e) {
          return e.name === t;
        });
        return i ? a({
          tagName: u,
          tags: i.tags
        }) : null;
      }

      function a(e) {
        var n = e.tagName,
            t = e.tags;
        if (!t || !n) return null;
        var a = r.find(t, function (e) {
          return e.name === n;
        });
        return a && a.value || null;
      }

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFeatureReductionUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ./FeatureReduction */
    "./node_modules/arcgis-js-api/layers/support/FeatureReduction.js"), __webpack_require__(
    /*! ./FeatureReductionCluster */
    "./node_modules/arcgis-js-api/layers/support/FeatureReductionCluster.js"), __webpack_require__(
    /*! ./FeatureReductionSelection */
    "./node_modules/arcgis-js-api/layers/support/FeatureReductionSelection.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, u, n, o, a) {
      function c(e, t, r) {
        t = t.layerDefinition || t;
        var u = t.featureReduction;
        if (u) switch (u.type) {
          case "selection":
            return a["default"].fromJSON(u);

          case "cluster":
            return o["default"].fromJSON(u);
        }
        return null;
      }

      function i(e, t, r, n) {
        var o = s(e, {}, n);
        o && u.setDeepValue(r, o, t);
      }

      function s(e, t, u) {
        return e ? "selection" !== e.type ? (u.messages && u.messages.push(new r("featureReduction:unsupported", "FeatureReduction of type '" + e.declaredClass + "' are not supported in scenes.", {
          featureReduction: e,
          context: u
        })), null) : e.write(t, u) : null;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.webSceneFeatureReductionTypes = {
        key: "type",
        base: n["default"],
        typeMap: {
          selection: a["default"]
        }
      }, t.read = c, t.writeTarget = i, t.write = 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/fieldProperties.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/support/fieldProperties.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFieldPropertiesJs(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__(
    /*! @dojo/framework/shim/array */
    "./node_modules/@dojo/framework/shim/array.mjs"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./Field */
    "./node_modules/arcgis-js-api/layers/support/Field.js"), __webpack_require__(
    /*! ./fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, r, t, l, s) {
      function d() {
        return {
          fields: {
            type: [l],
            value: null
          },
          outFields: {
            type: [String],
            dependsOn: ["fields"],
            json: {
              read: !1
            },
            set: function set(e) {
              this._userOutFields = e, this.notifyChange("outFields");
            },
            get: function get() {
              var e = this._userOutFields;
              if (!e || !e.length) return null;
              if (r.includes(e, "*")) return ["*"];
              if (!this.fields) return e;

              for (var i = 0, t = e; i < t.length; i++) {
                var l = t[i];
                s.hasField(this.fields, l) || n.error("field-attributes-layer:invalid-field", "Invalid field " + l + " found in outFields", {
                  layer: this,
                  outFields: e
                });
              }

              return s.fixFields(this.fields, e);
            }
          }
        };
      }

      Object.defineProperty(i, "__esModule", {
        value: !0
      });
      var n = t.getLogger("esri.layers.support.fieldProperties");
      i.defineFieldProperties = d;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFieldTypeJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, l) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      }), i.kebabDict = new l["default"]({
        esriFieldTypeSmallInteger: "small-integer",
        esriFieldTypeInteger: "integer",
        esriFieldTypeSingle: "single",
        esriFieldTypeDouble: "double",
        esriFieldTypeLong: "long",
        esriFieldTypeString: "string",
        esriFieldTypeDate: "date",
        esriFieldTypeOID: "oid",
        esriFieldTypeGeometry: "geometry",
        esriFieldTypeBlob: "blob",
        esriFieldTypeRaster: "raster",
        esriFieldTypeGUID: "guid",
        esriFieldTypeGlobalID: "global-id",
        esriFieldTypeXML: "xml"
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportFieldUtilsJs(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__(
    /*! @dojo/framework/shim/array */
    "./node_modules/@dojo/framework/shim/array.mjs"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./domains */
    "./node_modules/arcgis-js-api/layers/support/domains.js"), __webpack_require__(
    /*! ../../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, i, r, t, l, a, o, u, s, d, c, f) {
      function g(e, i) {
        if (null != e && null != i) for (var r = 0, t = Array.isArray(e) ? e : [e]; r < t.length; r++) {
          var l = t[r];
          if (m(n.rendererFields, l, i), "visualVariables" in l && l.visualVariables) for (var a = 0, o = l.visualVariables; a < o.length; a++) {
            var u = o[a];
            m(n.visualVariableFields, u, i);
          }
        }
      }

      function m(e, n, i) {
        if (e) for (var r = 0, t = e; r < t.length; r++) {
          var l = t[r],
              a = s.getDeepValue(l, n),
              o = a && "function" != typeof a && I(i, a);
          o && s.setDeepValue(l, o.name, n);
        }
      }

      function F(e, n) {
        if (null != e && null != n) if ("startField" in e) {
          var i = I(n, e.startField),
              r = I(n, e.endField);
          e.startField = i && i.name || null, e.endField = r && r.name || null;
        } else {
          var t = I(n, e.startTimeField),
              l = I(n, e.endTimeField);
          e.startTimeField = t && t.name || null, e.endTimeField = l && l.name || null;
        }
      }

      function p(e, n) {
        return e && n ? (ee.clear(), v(ee, e, n), o.valuesOfSet(ee).sort()) : [];
      }

      function v(e, n, i) {
        if (i) if (n && n.length) {
          if (l.includes(i, "*")) for (var r = 0, t = n; r < t.length; r++) {
            var a = t[r].name;
            e.add(a);
          } else for (var o = 0, u = i; o < u.length; o++) {
            var s = u[o];
            h(e, n, s);
          }
        } else {
          if (l.includes(i, "*")) return e.clear(), void e.add("*");

          for (var d = 0, c = i; d < c.length; d++) {
            var s = c[d];
            e.add(s);
          }
        }
      }

      function h(e, n, i) {
        if (n && n.length) {
          var r = I(n, i);
          return void (r && e.add(r.name));
        }

        "string" == typeof i && e.add(i);
      }

      function y(e, n) {
        return n && e ? l.includes(n, "*") ? e.map(function (e) {
          return e.name;
        }) : n : [];
      }

      function b(e, n, i) {
        if (void 0 === i && (i = 1), !n || !e) return [];
        if (l.includes(n, "*")) return ["*"];
        var r = p(e, n);
        return r.length / e.length >= i ? ["*"] : r;
      }

      function I(e, n) {
        if ("string" != typeof n) return null;

        if (null != e) {
          n = n.toLowerCase();

          for (var i = 0, r = e; i < r.length; i++) {
            var t = r[i];
            if (t && t.name.toLowerCase() === n) return t;
          }
        }

        return null;
      }

      function T(e, n) {
        if (!e || !n || "string" != typeof n) return !1;
        n = n.toLowerCase();

        for (var i = 0, r = e; i < r.length; i++) {
          var t = r[i];
          if (t && t.name.toLowerCase() === n) return !0;
        }

        return !1;
      }

      function V(e, n, i) {
        return t(this, void 0, void 0, function () {
          var t, l, a, o, u;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return i ? [4, f.loadArcade()] : [2];

              case 1:
                for (t = r.sent().arcadeUtils, l = t.extractFieldNames(i), a = 0, o = l; a < o.length; a++) u = o[a], h(e, n, u);

                return [2];
            }
          });
        });
      }

      function N(e) {
        return t(this, void 0, void 0, function () {
          var n;
          return r(this, function (i) {
            switch (i.label) {
              case 0:
                return e ? (n = new Set(), [4, S(n, e)]) : [2, []];

              case 1:
                return i.sent(), [2, o.valuesOfSet(n).sort()];
            }
          });
        });
      }

      function S(e, n) {
        return t(this, void 0, void 0, function () {
          var i, t;
          return r(this, function (r) {
            return n ? (i = n.fields, t = s.getDeepValue("elevationInfo.featureExpressionInfo", n), t ? [2, t.collectRequiredFields(e, i)] : [2]) : [2];
          });
        });
      }

      function E(n, i, l) {
        return t(this, void 0, void 0, function () {
          var t, o;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return i && l && (l.where && "1=1" !== l.where || l.timeExtent) ? (i.timeInfo && l.timeExtent && v(n, i.fields, [i.timeInfo.startField, i.timeInfo.endField]), l.where ? [4, d.create(function (n) {
                  __webpack_require__.e(
                  /*! AMD require */
                  3).then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ../../core/sql/WhereClause */
                    "./node_modules/arcgis-js-api/core/sql/WhereClause.js")];
                    n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](__webpack_require__.oe);
                })] : [3, 2]) : [2];

              case 1:
                if (t = r.sent(), o = t.WhereClause.create(l.where, i.fieldsIndex), !o.isStandardized) throw new a("fieldUtils:collectFilterFields", "Where clause is not standardized");
                v(n, i.fields, o.fieldNames), r.label = 2;

              case 2:
                return [2];
            }
          });
        });
      }

      function w(e) {
        return t(this, void 0, void 0, function () {
          var n;
          return r(this, function (i) {
            return e ? (n = "timeInfo" in e && e.timeInfo, n ? [2, p(e.fields, [e.trackIdField, n.startField, n.endField])] : [2, []]) : [2, []];
          });
        });
      }

      function R(e) {
        if (!e) return [];
        var n = "editFieldsInfo" in e && e.editFieldsInfo;
        return n ? p(e.fields, [n && n.creatorField, n && n.creationDateField, n && n.editorField, n && n.editDateField]) : [];
      }

      function D(e) {
        if (!e) return [];
        var n = "geometryProperties" in e && e.geometryProperties;
        return n ? p(e.fields, [n && n.shapeAreaFieldName, n && n.shapeLengthFieldName]) : [];
      }

      function x(e) {
        return t(this, void 0, void 0, function () {
          var n;
          return r(this, function (i) {
            switch (i.label) {
              case 0:
                return e ? (n = new Set(), [4, A(n, e)]) : [2, []];

              case 1:
                return i.sent(), [2, o.valuesOfSet(n).sort()];
            }
          });
        });
      }

      function A(e, n) {
        return t(this, void 0, void 0, function () {
          var i, t;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return i = n.labelingInfo, t = n.fields, i && i.length ? [4, d.all(i.map(function (n) {
                  return _(e, t, n);
                }))] : [2];

              case 1:
                return r.sent(), [2];
            }
          });
        });
      }

      function _(e, n, i) {
        return t(this, void 0, void 0, function () {
          var t, l, a, o, u;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return i ? (t = i.getLabelExpression(), l = i.where, "arcade" !== t.type ? [3, 2] : [4, V(e, n, t.expression)]) : [2];

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

              case 2:
                a = t.expression.match(/{[^}]*}/g), a && a.forEach(function (i) {
                  h(e, n, i.slice(1, -1));
                }), r.label = 3;

              case 3:
                return o = /['"]+/g, l && (u = l.split(" "), 3 === u.length && h(e, n, u[0].replace(o, "")), 7 === u.length && (h(e, n, u[0].replace(o, "")), h(e, n, u[4].replace(o, "")))), [2];
            }
          });
        });
      }

      function L(e) {
        var n = e.defaultValue;
        return void 0 !== n && P(e, n) ? n : e.nullable ? null : void 0;
      }

      function O(e) {
        return "number" == typeof e && !isNaN(e) && isFinite(e);
      }

      function U(e) {
        return null === e || O(e);
      }

      function k(e) {
        return null === e || ne(e);
      }

      function z(e) {
        return null != e && "string" == typeof e;
      }

      function C(e) {
        return null === e || z(e);
      }

      function M() {
        return !0;
      }

      function P(e, n) {
        var i;

        switch (e.type) {
          case "date":
          case "integer":
          case "long":
          case "small-integer":
          case "esriFieldTypeDate":
          case "esriFieldTypeInteger":
          case "esriFieldTypeLong":
          case "esriFieldTypeSmallInteger":
            i = e.nullable ? k : ne;
            break;

          case "double":
          case "single":
          case "esriFieldTypeSingle":
          case "esriFieldTypeDouble":
            i = e.nullable ? U : O;
            break;

          case "string":
          case "esriFieldTypeString":
            i = e.nullable ? C : z;
            break;

          default:
            i = M;
        }

        return 1 === arguments.length ? i : i(n);
      }

      function G(e) {
        return null != e && ie.has(e.type);
      }

      function H(e) {
        return null != e && ("string" === e.type || "esriFieldTypeString" === e.type);
      }

      function j(e) {
        return null != e && ("date" === e.type || "esriFieldTypeDate" === e.type);
      }

      function q(e, n) {
        return null === Y(e, n);
      }

      function W(e) {
        return null == e || "number" == typeof e && isNaN(e) ? null : e;
      }

      function Y(e, n) {
        return e.nullable && null === n ? null : G(e) && !J(e.type, Number(n)) ? re.OUT_OF_RANGE : P(e, n) ? e.domain ? c.validateDomainValue(e.domain, n) : null : te.INVALID_TYPE;
      }

      function J(e, n) {
        var i = "string" == typeof e ? B(e) : e;
        return !!i && (i.isInteger ? ne(n) && n >= i.min && n <= i.max : n >= i.min && n <= i.max);
      }

      function X(e) {
        var n = c.getDomainRange(e.domain);
        if (n) return n;
        if (G(e)) return B(e.type);
      }

      function B(e) {
        switch (e) {
          case "esriFieldTypeSmallInteger":
          case "small-integer":
            return n.smallIntegerRange;

          case "esriFieldTypeInteger":
          case "integer":
            return n.integerRange;

          case "esriFieldTypeSingle":
          case "single":
            return n.singleRange;

          case "esriFieldTypeDouble":
          case "double":
            return n.doubleRange;
        }
      }

      function K(e) {
        if (!O(e)) return null;

        if (ne(e)) {
          if (e >= n.smallIntegerRange.min && e <= n.smallIntegerRange.max) return "esriFieldTypeSmallInteger";
          if (e >= n.integerRange.min && e <= n.integerRange.max) return "esriFieldTypeInteger";
        }

        return e >= n.singleRange.min && e <= n.singleRange.max ? "esriFieldTypeSingle" : "esriFieldTypeDouble";
      }

      function Q(e, n, i) {
        switch (e) {
          case c.DomainValidationError.INVALID_CODED_VALUE:
            return "Value " + i + " is not in the coded domain - field: " + n.name + ", domain: " + JSON.stringify(n.domain);

          case c.DomainValidationError.VALUE_OUT_OF_RANGE:
            return "Value " + i + " is out of the range of valid values - field: " + n.name + ", domain: " + JSON.stringify(n.domain);

          case te.INVALID_TYPE:
            return "Value " + i + " is not a valid value for the field type - field: " + n.name + ", type: " + n.type + ", nullable: " + n.nullable;

          case re.OUT_OF_RANGE:
            var r = B(n.type),
                t = r.min,
                l = r.max;
            return "Value " + i + " is out of range for the number type - field: " + n.name + ", type: " + n.type + ", value range is " + t + " to " + l;
        }
      }

      function Z(e, n) {
        return !$(e, n, null);
      }

      function $(e, n, i) {
        if (!n || !n.attributes || !e) {
          if (u.isSome(i)) for (var r = 0, t = e; r < t.length; r++) {
            var l = t[r];
            i.add(l);
          }
          return !0;
        }

        for (var a = n.attributes, o = !1, s = 0, d = e; s < d.length; s++) {
          var l = d[s];

          if (!(l in a)) {
            if (o = !0, !u.isSome(i)) break;
            i.add(l);
          }
        }

        return o;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.rendererFields = ["field", "field2", "field3", "normalizationField", "rotationInfo.field", "proportionalSymbolInfo.field", "proportionalSymbolInfo.normalizationField", "colorInfo.field", "colorInfo.normalizationField"], n.visualVariableFields = ["field", "normalizationField"], n.fixRendererFields = g, n.fixTimeInfoFields = F;
      var ee = new Set();
      n.fixFields = p, n.collectFields = v, n.collectField = h, n.unpackFieldNames = y, n.packFields = b, n.getField = I, n.hasField = T, n.collectArcadeFieldNames = V, n.getElevationFields = N, n.collectElevationFields = S, n.collectFilterFields = E, n.getTimeFields = w, n.getFeatureEditFields = R, n.getFeatureGeometryFields = D, n.getLabelingFields = x, n.collectLabelingFields = A, n.getFieldDefaultValue = L;

      var ne = function () {
        return "isInteger" in Number ? Number.isInteger : function (e) {
          return "number" == typeof e && isFinite(e) && Math.floor(e) === e;
        };
      }();

      n.isValueMatchingFieldType = P, n.numericTypes = ["integer", "small-integer", "single", "double"];
      var ie = o.createSetFromValues(n.numericTypes.concat(["esriFieldTypeInteger", "esriFieldTypeSmallInteger", "esriFieldTypeSingle", "esriFieldTypeDouble"]));
      n.isNumericField = G, n.isStringField = H, n.isDateField = j, n.isValidFieldValue = q;
      var re;
      !function (e) {
        e.OUT_OF_RANGE = "numeric-range-validation-error::out-of-range";
      }(re = n.NumericRangeValidationError || (n.NumericRangeValidationError = {}));
      var te;
      !function (e) {
        e.INVALID_TYPE = "type-validation-error::invalid-type";
      }(te = n.TypeValidationError || (n.TypeValidationError = {})), n.sanitizeNullFieldValue = W, n.validateFieldValue = Y, n.isNumberInRange = J, n.getFieldRange = X, n.getNumericTypeForValue = K, n.smallIntegerRange = {
        min: -32768,
        max: 32767,
        isInteger: !0
      }, n.integerRange = {
        min: -2147483648,
        max: 2147483647,
        isInteger: !0
      }, n.singleRange = {
        min: -3.4e38,
        max: 1.2e38,
        isInteger: !1
      }, n.doubleRange = {
        min: -Number.MAX_VALUE,
        max: Number.MAX_VALUE,
        isInteger: !1
      }, n.validationErrorToString = Q, n.featureHasFields = Z, n.populateMissingFields = $;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportLabelUtilsJs(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/string */
    "./node_modules/arcgis-js-api/core/string.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function t(e) {
        var r;
        return e ? (r = n.replace(e, function (e) {
          return i + '$feature["' + e + '"]' + c;
        }), r = _.test(r) ? r.replace(_, "") : o + r, r = g.test(r) ? r.replace(g, "") : r + o, r = r.replace(p, u).replace(a, l)) : r = '""', r;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = "__begin__",
          c = "__end__",
          p = new RegExp(i, "ig"),
          a = new RegExp(c, "ig"),
          _ = new RegExp("^" + i, "i"),
          g = new RegExp(c + "$", "i"),
          o = '"',
          u = o + " + ",
          l = " + " + o;

      r.convertTemplatedStringToArcade = t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportLabelingInfoJs(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__(
    /*! ./LabelClass */
    "./node_modules/arcgis-js-api/layers/support/LabelClass.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function i(e, r, i) {
        var l = this;
        return e ? e.map(function (e) {
          var o = new n();

          if (o.read(e, i), o.labelExpression) {
            var f = r.fields || r.layerDefinition && r.layerDefinition.fields || l.fields;
            o.labelExpression = o.labelExpression.replace(t, function (e, r) {
              return "[" + a(r, f) + "]";
            });
          }

          return o;
        }) : null;
      }

      function a(e, r) {
        if (!r) return e;

        for (var n = e.toLowerCase(), i = 0; i < r.length; i++) {
          var a = r[i].name;
          if (a.toLowerCase() === n) return a;
        }

        return e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var t = /\[([^\[\]]+)\]/gi;
      r.reader = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportLayerSourceUtilsJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a, t) {
      function o(e) {
        return null != e && e.hasOwnProperty("mapLayerId");
      }

      function i(e) {
        return null != e && e.hasOwnProperty("dataSource");
      }

      function l(e) {
        return e ? (o(e) && (e.type = r.MAPLAYER), i(e) && (e.type = r.DATALAYER, e.dataSource.type || y(e.dataSource)), e) : e;
      }

      function n(e) {
        var a = {};
        return e.type === r.MAPLAYER ? (a.mapLayerId = e.mapLayerId, e.gdbVersion && (a.gdbVersion = e.gdbVersion)) : e.type === r.DATALAYER && (e.fields && (a.fields = e.fields), a.dataSource = u(e.dataSource)), a.type = p.toJSON(e.type), t.fixJson(a);
      }

      function c(e) {
        var a = {};
        return p.fromJSON(e.type) === r.MAPLAYER ? (a.mapLayerId = e.mapLayerId, e.gdbVersion && (a.gdbVersion = e.gdbVersion)) : p.fromJSON(e.type) === r.DATALAYER && (e.fields && (a.fields = e.fields), a.dataSource = s(e.dataSource)), a.type = p.fromJSON(e.type), t.fixJson(a);
      }

      function y(e) {
        e.workspaceId ? e.gdbVersion ? e.type = "table" : e.query || e.oidFields ? e.type = "query-table" : e.type = "raster" : e.leftTableKey && e.rightTableKey && e.leftTableSource && e.rightTableSource && (e.type = "join-table", e.leftTableSource = l(e.leftTableSource), e.rightTableSource = l(e.rightTableSource));
      }

      function u(e) {
        var r;

        switch (e.type) {
          case "table":
            r = {
              dataSourceName: e.dataSourceName,
              workspaceId: e.workspaceId,
              gdbVersion: e.gdbVersion
            };
            break;

          case "query-table":
            r = {
              geometryType: d.toJSON(e.geometryType),
              workspaceId: e.workspaceId,
              query: e.query,
              oidFields: e.oidFields,
              spatialReference: e.spatialReference
            };
            break;

          case "join-table":
            r = {
              leftTableSource: n(e.leftTableSource),
              rightTableSource: n(e.rightTableSource),
              leftTableKey: e.leftTableKey,
              rightTableKey: e.rightTableKey,
              joinType: f.toJSON(e.joinType)
            };
            break;

          case "raster":
            r = {
              workspaceId: e.workspaceId,
              dataSourceName: e.dataSourceName
            };
        }

        return r.type = b.toJSON(e.type), t.fixJson(r);
      }

      function s(e) {
        var r;

        switch (e.type) {
          case "table":
            r = {
              dataSourceName: e.dataSourceName,
              workspaceId: e.workspaceId,
              gdbVersion: e.gdbVersion
            };
            break;

          case "queryTable":
            r = {
              geometryType: d.fromJSON(e.geometryType),
              workspaceId: e.workspaceId,
              query: e.query,
              oidFields: e.oidFields,
              spatialReference: e.spatialReference
            };
            break;

          case "joinTable":
            r = {
              leftTableSource: c(e.leftTableSource),
              rightTableSource: c(e.rightTableSource),
              leftTableKey: e.leftTableKey,
              rightTableKey: e.rightTableKey,
              joinType: f.fromJSON(e.joinType)
            };
            break;

          case "raster":
            r = {
              workspaceId: e.workspaceId,
              dataSourceName: e.dataSourceName
            };
        }

        return r.type = b.fromJSON(e.type), t.fixJson(r);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.MAPLAYER = "map-layer", r.DATALAYER = "data-layer";
      var d = new a["default"]({
        esriGeometryPoint: "point",
        esriGeometryMultipoint: "multipoint",
        esriGeometryPolyline: "polyline",
        esriGeometryPolygon: "polygon",
        esriGeometryMultiPatch: "multipatch"
      }),
          p = new a["default"]({
        mapLayer: r.MAPLAYER,
        dataLayer: r.DATALAYER
      }),
          b = new a["default"]({
        joinTable: "join-table",
        queryTable: "query-table"
      }),
          f = new a["default"]({
        esriLeftOuterJoin: "left-outer-join",
        esriLeftInnerJoin: "left-inner-join"
      });
      r.isMapLayerSource = o, r.isDataLayerSource = i, r.castSource = l, r.sourceToJSON = n, r.sourceFromJSON = 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/sublayerUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/support/sublayerUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportSublayerUtilsJs(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__(
    /*! ./layerSourceUtils */
    "./node_modules/arcgis-js-api/layers/support/layerSourceUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, n) {
      function u(r, e, u) {
        return !!r.some(function (r) {
          var e = r.source;
          return !(!e || e.type === n.MAPLAYER && e.mapLayerId === r.id && (!e.gdbVersion || e.gdbVersion === u.gdbVersion)) || null != r.renderer || null != r.labelingInfo || r.hasOwnProperty("opacity") && null != r.opacity || r.hasOwnProperty("labelsVisible") && null != r.labelsVisible;
        }) || !t(r, e);
      }

      function l(r, e) {
        return e.slice().reverse().flatten(function (r) {
          var e = r.sublayers;
          return e && e.toArray().reverse();
        }).every(function (e, n) {
          var u = r[n];
          return u && e.id === u.id && (null == e.sublayers && null == u.sublayers || null != e.sublayers && null != u.sublayers && e.sublayers.map(function (r) {
            return r.id;
          }).join(",") === u.sublayers.map(function (r) {
            return r.id;
          }).join(","));
        });
      }

      function t(r, e) {
        function n(r) {
          var e = r.id,
              l = r.sublayers;
          u.unshift(e), l && l.toArray().forEach(n);
        }

        if (!r || !r.length) return !0;
        var u = [];
        if (e.forEach(n), r.length > u.length) return !1;

        for (var l = 0, t = u.length, i = 0, s = r; i < s.length; i++) {
          for (var a = s[i].id; l < t && u[l] !== a;) l++;

          if (l >= t) return !1;
        }

        return !0;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.isExportDynamic = u, e.sameStructureAsService = l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportTimeUtilsJs(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__(
    /*! ../../TimeExtent */
    "./node_modules/arcgis-js-api/TimeExtent.js"), __webpack_require__(
    /*! ../../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, s, r, i) {
      function n(e) {
        return e;
      }

      function l(e, t, s) {
        var r = new Date(e.getTime());

        if (t && s) {
          var i = u[s],
              n = i.getter,
              l = i.setter,
              a = i.multiplier;
          r[l](r[n]() + t * a);
        }

        return r;
      }

      function a(e, t) {
        switch (t) {
          case "milliseconds":
            return new Date(e.getTime());

          case "seconds":
            return new Date(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds());

          case "minutes":
            return new Date(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes());

          case "hours":
            return new Date(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours());

          case "days":
            return new Date(e.getFullYear(), e.getMonth(), e.getDate());

          case "weeks":
            return new Date(e.getFullYear(), e.getMonth(), e.getDate() - e.getDay());

          case "months":
            return new Date(e.getFullYear(), e.getMonth(), 1);

          case "years":
            return new Date(e.getFullYear(), 0, 1);

          case "decades":
            return new Date(e.getFullYear() - e.getFullYear() % 10, 0, 1);

          case "centuries":
            return new Date(e.getFullYear() - e.getFullYear() % 100, 0, 1);

          default:
            return r.neverReached(t), null;
        }
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.Milliseconds = n;
      var u = {
        milliseconds: {
          getter: "getUTCMilliseconds",
          setter: "setUTCMilliseconds",
          multiplier: 1
        },
        seconds: {
          getter: "getUTCSeconds",
          setter: "setUTCSeconds",
          multiplier: 1
        },
        minutes: {
          getter: "getUTCMinutes",
          setter: "setUTCMinutes",
          multiplier: 1
        },
        hours: {
          getter: "getUTCHours",
          setter: "setUTCHours",
          multiplier: 1
        },
        days: {
          getter: "getUTCDate",
          setter: "setUTCDate",
          multiplier: 1
        },
        weeks: {
          getter: "getUTCDate",
          setter: "setUTCDate",
          multiplier: 7
        },
        months: {
          getter: "getUTCMonth",
          setter: "setUTCMonth",
          multiplier: 1
        },
        years: {
          getter: "getUTCFullYear",
          setter: "setUTCFullYear",
          multiplier: 1
        },
        decades: {
          getter: "getUTCFullYear",
          setter: "setUTCFullYear",
          multiplier: 10
        },
        centuries: {
          getter: "getUTCFullYear",
          setter: "setUTCFullYear",
          multiplier: 100
        }
      };
      t.timeUnitKebabDictionary = i.strict()({
        esriTimeUnitsMilliseconds: "milliseconds",
        esriTimeUnitsSeconds: "seconds",
        esriTimeUnitsMinutes: "minutes",
        esriTimeUnitsHours: "hours",
        esriTimeUnitsDays: "days",
        esriTimeUnitsWeeks: "weeks",
        esriTimeUnitsMonths: "months",
        esriTimeUnitsYears: "years",
        esriTimeUnitsDecades: "decades",
        esriTimeUnitsCenturies: "centuries",
        esriTimeUnitsUnknown: null
      }), t.offsetDate = l, t.combinedViewLayerTimeExtentProperty = {
        type: s,
        dependsOn: ["view.timeExtent", "layer.timeExtent", "layer.timeInfo", "layer.timeOffset", "layer.timeOffset.value", "layer.timeOffset.unit", "layer.useViewTime"],
        readOnly: !0,
        get: function get() {
          if (!this.layer || !this.layer.timeInfo) return null;
          var e = this.view ? this.view.timeExtent : null,
              t = this.layer.useViewTime ? e : this.layer.timeExtent;
          if (!t) return null;

          var s = this.layer.timeOffset,
              r = s ? t.offset(-s.value, s.unit) : t,
              i = this._get("timeExtent");

          return r.equals(i) ? i : r;
        }
      }, t.millisecondsPerTimeUnit = {
        milliseconds: 1,
        seconds: 1e3,
        minutes: 6e4,
        hours: 36e5,
        days: 864e5,
        weeks: 6048e5,
        months: 26784e5,
        years: 31536e6,
        decades: 31536e7,
        centuries: 31536e8
      }, t.truncateDate = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportTypesJs(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) {
        var t = e.constructor._meta;
        if (!t || !t.bases) return !1;
        var a = t.bases,
            n = Array.isArray(r);
        return a.some(function (e) {
          var t = e.__accessorMetadata__;
          if (!t) return !1;
          var a = t.properties;
          if (!a || !a.type || !a.type.value) return !1;
          var u = a.type.value;
          return n ? -1 !== r.indexOf(u) : u === r;
        });
      }

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

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/cache.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/cache.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteCacheJs(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, n) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.createCache = function () {
        var e, n;
        return {
          invalidate: function invalidate() {
            n = void 0, e = void 0;
          },
          result: function result(r, i) {
            if (e) for (var t = 0; t < r.length; t++) e[t] !== r[t] && (n = void 0);
            return n || (n = i(), e = r), n;
          }
        };
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/dom.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/dom.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteDomJs(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__(
    /*! ./projection */
    "./node_modules/arcgis-js-api/libs/maquette/projection.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var n = {
        namespace: void 0,
        performanceLogger: function performanceLogger() {},
        eventHandlerInterceptor: void 0,
        styleApplyer: function styleApplyer(e, t, o) {
          e.style[t] = o;
        }
      };
      t.applyDefaultProjectionOptions = function (e) {
        return o.extend(n, e);
      }, t.dom = {
        create: function create(e, n) {
          return n = t.applyDefaultProjectionOptions(n), o.createDom(e, document.createElement("div"), void 0, n), o.createProjection(e, n);
        },
        append: function append(e, n, r) {
          return r = t.applyDefaultProjectionOptions(r), o.createDom(n, e, void 0, r), o.createProjection(n, r);
        },
        insertBefore: function insertBefore(e, n, r) {
          return r = t.applyDefaultProjectionOptions(r), o.createDom(n, e.parentNode, e, r), o.createProjection(n, r);
        },
        merge: function merge(e, n, r) {
          return r = t.applyDefaultProjectionOptions(r), n.domNode = e, o.initPropertiesAndChildren(e, n, r), o.createProjection(n, r);
        },
        replace: function replace(e, n, r) {
          return r = t.applyDefaultProjectionOptions(r), o.createDom(n, e.parentNode, e, r), e.parentNode.removeChild(e), o.createProjection(n, r);
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/h.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/h.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteHJs(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 o(e, r, o) {
        if (Array.isArray(r)) o = r, r = void 0;else if (r && ("string" == typeof r || r.hasOwnProperty("vnodeSelector")) || o && ("string" == typeof o || o.hasOwnProperty("vnodeSelector"))) throw new Error("h called with invalid arguments");
        var t, i;
        return o && 1 === o.length && "string" == typeof o[0] ? t = o[0] : o && (i = [], n(e, o, i), 0 === i.length && (i = void 0)), {
          vnodeSelector: e,
          properties: r,
          children: i,
          text: "" === t ? void 0 : t,
          domNode: null
        };
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var t = function t(e) {
        return {
          vnodeSelector: "",
          properties: void 0,
          children: void 0,
          text: e.toString(),
          domNode: null
        };
      },
          n = function n(e, r, o) {
        for (var i = 0, d = r.length; i < d; i++) {
          var l = r[i];
          Array.isArray(l) ? n(e, l, o) : null !== l && void 0 !== l && !1 !== l && ("string" == typeof l && (l = t(l)), o.push(l));
        }
      };

      r.h = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/index.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/index.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteIndexJs(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__(
    /*! ./dom */
    "./node_modules/arcgis-js-api/libs/maquette/dom.js"), __webpack_require__(
    /*! ./h */
    "./node_modules/arcgis-js-api/libs/maquette/h.js"), __webpack_require__(
    /*! ./projector */
    "./node_modules/arcgis-js-api/libs/maquette/projector.js"), __webpack_require__(
    /*! ./cache */
    "./node_modules/arcgis-js-api/libs/maquette/cache.js"), __webpack_require__(
    /*! ./mapping */
    "./node_modules/arcgis-js-api/libs/maquette/mapping.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, c, a, o, t, p) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.dom = c.dom, r.h = a.h, r.createProjector = o.createProjector, r.createCache = t.createCache, r.createMapping = p.createMapping;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/mapping.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/mapping.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteMappingJs(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) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.createMapping = function (e, r, n) {
        var t = [],
            a = [];
        return {
          results: a,
          map: function map(i) {
            for (var l = i.map(e), f = a.slice(), o = 0, u = 0; u < i.length; u++) {
              var c = i[u],
                  g = l[u];
              if (g === t[o]) a[u] = f[o], n(c, f[o], u), o++;else {
                for (var p = !1, s = 1; s < t.length + 1; s++) {
                  var v = (o + s) % t.length;

                  if (t[v] === g) {
                    a[u] = f[v], n(i[u], f[v], u), o = v + 1, p = !0;
                    break;
                  }
                }

                p || (a[u] = r(c, u));
              }
            }

            a.length = i.length, t = l;
          }
        };
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/projection.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/projection.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteProjectionJs(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__(
    /*! ../../widgets/support/widgetUtils */
    "./node_modules/arcgis-js-api/widgets/support/widgetUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var o = "http://www.w3.org/2000/svg",
          i = [];

      t.extend = function (e, t) {
        var r = {};
        return Object.keys(e).forEach(function (t) {
          r[t] = e[t];
        }), t && Object.keys(t).forEach(function (e) {
          r[e] = t[e];
        }), r;
      };

      var n = function n(e, t) {
        return e.vnodeSelector === t.vnodeSelector && (e.properties && t.properties ? e.properties.key === t.properties.key && e.properties.bind === t.properties.bind : !e.properties && !t.properties);
      },
          s = function s(e) {
        if ("string" != typeof e) throw new Error("Style values must be strings");
      },
          p = function p(e, t, r) {
        if ("" !== t.vnodeSelector) for (var o = r; o < e.length; o++) if (n(e[o], t)) return o;
        return -1;
      },
          a = function a(e, t, r, o) {
        var i = e[t];

        if ("" !== i.vnodeSelector) {
          var s = i.properties;
          if (!(s ? void 0 === s.key ? s.bind : s.key : void 0)) for (var p = 0; p < e.length; p++) if (p !== t) {
            var a = e[p];
            if (n(a, i)) throw new Error(r.vnodeSelector + " had a " + i.vnodeSelector + " child " + ("added" === o ? o : "removed") + ", but there is now more than one. You must add unique key properties to make them distinguishable.");
          }
        }
      },
          d = function d(e) {
        if (e.properties) {
          var t = e.properties.enterAnimation;
          t && t(e.domNode, e.properties);
        }
      },
          l = [],
          c = !1,
          f = function f(e) {
        (e.children || []).forEach(f), e.properties && e.properties.afterRemoved && e.properties.afterRemoved.apply(e.properties.bind || e.properties, [e.domNode]);
      },
          v = function v() {
        c = !1, l.forEach(f), l.length = 0;
      },
          u = function u(e) {
        l.push(e), c || (c = !0, "undefined" != typeof window && "requestIdleCallback" in window ? window.requestIdleCallback(v, {
          timeout: 16
        }) : setTimeout(v, 16));
      },
          h = function h(e) {
        var t = e.domNode;

        if (e.properties) {
          var r = e.properties.exitAnimation;

          if (r) {
            t.style.pointerEvents = "none";
            return void r(t, function () {
              t.parentNode && (t.parentNode.removeChild(t), u(e));
            }, e.properties);
          }
        }

        t.parentNode && (t.parentNode.removeChild(t), u(e));
      },
          m = function m(e, t, i) {
        if (t) for (var n = i.eventHandlerInterceptor, p = Object.keys(t), a = p.length, d = 0; d < a; d++) !function (a) {
          var d = p[a],
              l = t[d];
          if ("className" === d) throw new Error('Property "className" is not supported, use "class".');
          if ("class" === d) w(e, l, !0);else if ("classes" === d) for (var c = Object.keys(l), f = c.length, v = 0; v < f; v++) {
            var u = c[v];
            l[u] && e.classList.add(u);
          } else if ("styles" === d) for (var h = Object.keys(l), m = h.length, v = 0; v < m; v++) {
            var y = h[v],
                g = l[y];
            g && (s(g), i.styleApplyer(e, y, g));
          } else if ("key" !== d && null !== l && void 0 !== l) {
            var b = typeof l;
            "function" === b ? 0 === d.lastIndexOf("on", 0) && (n && (l = n(d, l, e, t)), "oninput" === d && function () {
              var e = l;

              l = function l(t) {
                e.apply(this, [t]), t.target["oninput-value"] = t.target.value;
              };
            }(), e[d] = l) : i.namespace === o ? "href" === d ? e.setAttributeNS("http://www.w3.org/1999/xlink", d, l) : e.setAttribute(d, l) : "string" === b && "value" !== d ? "innerHTML" === d ? e[d] = r.sanitizer.sanitize(l) : e.setAttribute(d, l) : e[d] = l;
          }
        }(d);
      },
          y = function y(e, r, o) {
        if (r) for (var i = 0, n = r; i < n.length; i++) {
          var s = n[i];
          t.createDom(s, e, void 0, o);
        }
      };

      t.initPropertiesAndChildren = function (e, t, r) {
        y(e, t.children, r), t.text && (e.textContent = t.text), m(e, t.properties, r), t.properties && t.properties.afterCreate && t.properties.afterCreate.apply(t.properties.bind || t.properties, [e, r, t.vnodeSelector, t.properties, t.children]);
      }, t.createDom = function (e, r, i, n) {
        var s,
            p = 0,
            a = e.vnodeSelector,
            d = r.ownerDocument;
        if ("" === a) s = e.domNode = d.createTextNode(e.text), void 0 !== i ? r.insertBefore(s, i) : r.appendChild(s);else {
          for (var l = 0; l <= a.length; ++l) {
            var c = a.charAt(l);

            if (l === a.length || "." === c || "#" === c) {
              var f = a.charAt(p - 1),
                  v = a.slice(p, l);
              "." === f ? s.classList.add(v) : "#" === f ? s.id = v : ("svg" === v && (n = t.extend(n, {
                namespace: o
              })), void 0 !== n.namespace ? s = e.domNode = d.createElementNS(n.namespace, v) : (s = e.domNode = e.domNode || d.createElement(v), "input" === v && e.properties && void 0 !== e.properties.type && s.setAttribute("type", e.properties.type)), void 0 !== i ? r.insertBefore(s, i) : s.parentNode !== r && r.appendChild(s)), p = l + 1;
            }
          }

          t.initPropertiesAndChildren(s, e, n);
        }
      };

      var g,
          w = function w(e, t, r) {
        t && t.split(" ").forEach(function (t) {
          t && e.classList.toggle(t, r);
        });
      },
          b = function b(e, t, i, n) {
        if (i) {
          for (var p = !1, a = Object.keys(i), d = a.length, l = 0; l < d; l++) {
            var c = a[l],
                f = i[c],
                v = t[c];
            if ("class" === c) v !== f && (w(e, v, !1), w(e, f, !0));else if ("classes" === c) for (var u = e.classList, h = Object.keys(f), m = h.length, y = 0; y < m; y++) {
              var g = h[y],
                  b = !!f[g],
                  N = !!v[g];
              b !== N && (p = !0, b ? u.add(g) : u.remove(g));
            } else if ("styles" === c) for (var x = Object.keys(f), k = x.length, y = 0; y < k; y++) {
              var A = x[y],
                  S = f[A],
                  C = v[A];
              S !== C && (p = !0, S ? (s(S), n.styleApplyer(e, A, S)) : n.styleApplyer(e, A, ""));
            } else if (f || "string" != typeof v || (f = ""), "value" === c) {
              var E = e[c];
              E !== f && (e["oninput-value"] ? E === e["oninput-value"] : f !== v) && (e[c] = f, e["oninput-value"] = void 0), f !== v && (p = !0);
            } else if (f !== v) {
              var O = typeof f;
              "function" === O && n.eventHandlerInterceptor || (n.namespace === o ? "href" === c ? e.setAttributeNS("http://www.w3.org/1999/xlink", c, f) : e.setAttribute(c, f) : "string" === O ? "innerHTML" === c ? e[c] = r.sanitizer.sanitize(f) : "role" === c && "" === f ? e.removeAttribute(c) : e.setAttribute(c, f) : e[c] !== f && (e[c] = f), p = !0);
            }
          }

          return p;
        }
      },
          N = function N(e, r, o, s, l) {
        if (o === s) return !1;
        o = o || i, s = s || i;

        for (var c, f = o.length, v = s.length, u = 0, m = 0, y = !1; m < v;) {
          var w = u < f ? o[u] : void 0,
              b = s[m];
          if (void 0 !== w && n(w, b)) y = g(w, b, l) || y, u++;else {
            var N = p(o, b, u + 1);

            if (N >= 0) {
              for (c = u; c < N; c++) h(o[c]), a(o, c, e, "removed");

              y = g(o[N], b, l) || y, u = N + 1;
            } else t.createDom(b, r, u < f ? o[u].domNode : void 0, l), d(b), a(s, m, e, "added");
          }
          m++;
        }

        if (f > u) for (c = u; c < f; c++) h(o[c]), a(o, c, e, "removed");
        return y;
      };

      g = function g(e, r, i) {
        var n = e.domNode,
            s = !1;
        if (e === r) return !1;
        var p = !1;

        if ("" === r.vnodeSelector) {
          if (r.text !== e.text) {
            var a = n.ownerDocument.createTextNode(r.text);
            return n.parentNode.replaceChild(a, n), r.domNode = a, s = !0;
          }

          r.domNode = n;
        } else 0 === r.vnodeSelector.lastIndexOf("svg", 0) && (i = t.extend(i, {
          namespace: o
        })), e.text !== r.text && (p = !0, void 0 === r.text ? n.removeChild(n.firstChild) : n.textContent = r.text), r.domNode = n, p = N(r, n, e.children, r.children, i) || p, p = b(n, e.properties, r.properties, i) || p, r.properties && r.properties.afterUpdate && r.properties.afterUpdate.apply(r.properties.bind || r.properties, [n, i, r.vnodeSelector, r.properties, r.children]);

        return p && r.properties && r.properties.updateAnimation && r.properties.updateAnimation(n, r.properties, e.properties), s;
      }, t.createProjection = function (e, t) {
        return {
          getLastRender: function getLastRender() {
            return e;
          },
          update: function update(r) {
            if (e.vnodeSelector !== r.vnodeSelector) throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");
            var o = e;
            e = r, g(o, r, t);
          },
          domNode: e.domNode
        };
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/maquette/projector.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/maquette/projector.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsMaquetteProjectorJs(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__(
    /*! ./dom */
    "./node_modules/arcgis-js-api/libs/maquette/dom.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var o,
          t = function t(e, r) {
        for (var n = []; e !== r;) n.push(e), e = e.parentNode;

        return n;
      };

      o = Array.prototype.find ? function (e, r) {
        return e.find(r);
      } : function (e, r) {
        return e.filter(r)[0];
      };

      var i = function i(e, r) {
        var n = e;
        return r.forEach(function (e) {
          n = n && n.children ? o(n.children, function (r) {
            return r.domNode === e;
          }) : void 0;
        }), n;
      },
          u = function u(e, r, n) {
        var o = function o(_o) {
          n("domEvent", _o);
          var u = r(),
              d = t(_o.currentTarget, u.domNode);
          d.reverse();
          var c = i(u.getLastRender(), d);
          e.scheduleRender();
          var a;
          return c && (a = c.properties["on" + _o.type].apply(c.properties.bind || this, arguments)), n("domEventProcessed", _o), a;
        };

        return function (e, r, n, t) {
          return o;
        };
      };

      r.createProjector = function (e) {
        var r,
            o,
            t = n.applyDefaultProjectionOptions(e),
            i = t.performanceLogger,
            d = !0,
            c = !1,
            a = [],
            f = [],
            p = function p(e, n, o) {
          var d,
              c = function c() {
            return d;
          };

          t.eventHandlerInterceptor = u(r, c, i), d = e(n, o(), t), a.push(d), f.push(o);
        },
            v = function v() {
          if (o = void 0, d) {
            d = !1, i("renderStart", void 0);

            for (var e = 0; e < a.length; e++) {
              var r = f[e]();
              i("rendered", void 0), a[e].update(r), i("patched", void 0);
            }

            i("renderDone", void 0), d = !0;
          }
        };

        return r = {
          renderNow: v,
          scheduleRender: function scheduleRender() {
            o || c || (o = requestAnimationFrame(v));
          },
          stop: function stop() {
            o && (cancelAnimationFrame(o), o = void 0), c = !0;
          },
          resume: function resume() {
            c = !1, d = !0, r.scheduleRender();
          },
          append: function append(e, r) {
            p(n.dom.append, e, r);
          },
          insertBefore: function insertBefore(e, r) {
            p(n.dom.insertBefore, e, r);
          },
          merge: function merge(e, r) {
            p(n.dom.merge, e, r);
          },
          replace: function replace(e, r) {
            p(n.dom.replace, e, r);
          },
          detach: function detach(e) {
            for (var r = 0; r < f.length; r++) if (f[r] === e) return f.splice(r, 1), a.splice(r, 1)[0];

            throw new Error("renderFunction was not found");
          }
        };
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/sanitizer/Sanitizer.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/sanitizer/Sanitizer.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsSanitizerSanitizerJs(module, exports, __webpack_require__) {
    // 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.

    /*!
     * @esri/arcgis-html-sanitizer - v1.3.0 - Thu Sep 05 2019 13:28:05 GMT-0700 (Pacific Daylight Time)
     * Copyright (c) 2019 - Environmental Systems Research Institute, Inc.
     * Apache-2.0
     * 
     * js-xss
     * Copyright (c) 2012-2017 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
     * http://ucdok.com
     * MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details
     * 
     * Lodash/isPlainObject
     * Copyright (c) JS Foundation and other contributors <https://js.foundation/>
     * MIT License, see https://raw.githubusercontent.com/lodash/lodash/4.17.10-npm/LICENSE for details
     */
    !function (t, e) {
      true ? module.exports = e() : undefined;
    }(this, function () {
      return function (t) {
        function e(i) {
          if (r[i]) return r[i].exports;
          var n = r[i] = {
            i: i,
            l: !1,
            exports: {}
          };
          return t[i].call(n.exports, n, n.exports, e), n.l = !0, n.exports;
        }

        var r = {};
        return e.m = t, e.c = r, e.d = function (t, r, i) {
          e.o(t, r) || Object.defineProperty(t, r, {
            enumerable: !0,
            get: i
          });
        }, e.r = function (t) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
            value: "Module"
          }), Object.defineProperty(t, "__esModule", {
            value: !0
          });
        }, e.t = function (t, r) {
          if (1 & r && (t = e(t)), 8 & r) return t;
          if (4 & r && "object" == typeof t && t && t.__esModule) return t;
          var i = Object.create(null);
          if (e.r(i), Object.defineProperty(i, "default", {
            enumerable: !0,
            value: t
          }), 2 & r && "string" != typeof t) for (var n in t) e.d(i, n, function (e) {
            return t[e];
          }.bind(null, n));
          return i;
        }, e.n = function (t) {
          var r = t && t.__esModule ? function () {
            return t["default"];
          } : function () {
            return t;
          };
          return e.d(r, "a", r), r;
        }, e.o = function (t, e) {
          return Object.prototype.hasOwnProperty.call(t, e);
        }, e.p = "", e(e.s = 8);
      }([function (t, e, r) {
        function i(t, e) {
          return new s(e).process(t);
        }

        var n = void 0,
            o = r(3),
            a = r(6),
            s = r(11);

        for (var l in (e = t.exports = i).filterXSS = i, e.FilterXSS = s, o) e[l] = o[l];

        for (var l in a) e[l] = a[l];

        void 0 !== n && (n.filterXSS = t.exports), "undefined" != typeof self && "undefined" != typeof DedicatedWorkerGlobalScope && self instanceof DedicatedWorkerGlobalScope && (self.filterXSS = t.exports);
      }, function (t, e, r) {
        var i = void 0,
            n = r(4),
            o = r(9);

        for (var a in (e = t.exports = function (t, e) {
          return new o(e).process(t);
        }).FilterCSS = o, n) e[a] = n[a];

        void 0 !== i && (i.filterCSS = t.exports);
      }, function (t, e) {
        t.exports = {
          indexOf: function indexOf(t, e) {
            var r, i;
            if (Array.prototype.indexOf) return t.indexOf(e);

            for (r = 0, i = t.length; r < i; r++) if (t[r] === e) return r;

            return -1;
          },
          forEach: function forEach(t, e, r) {
            var i, n;
            if (Array.prototype.forEach) return t.forEach(e, r);

            for (i = 0, n = t.length; i < n; i++) e.call(r, t[i], i, t);
          },
          trim: function trim(t) {
            return String.prototype.trim ? t.trim() : t.replace(/(^\s*)|(\s*$)/g, "");
          },
          spaceIndex: function spaceIndex(t) {
            var e = /\s|\n|\t/.exec(t);
            return e ? e.index : -1;
          }
        };
      }, function (t, e, r) {
        function i() {
          return {
            a: ["target", "href", "title"],
            abbr: ["title"],
            address: [],
            area: ["shape", "coords", "href", "alt"],
            article: [],
            aside: [],
            audio: ["autoplay", "controls", "loop", "preload", "src"],
            b: [],
            bdi: ["dir"],
            bdo: ["dir"],
            big: [],
            blockquote: ["cite"],
            br: [],
            caption: [],
            center: [],
            cite: [],
            code: [],
            col: ["align", "valign", "span", "width"],
            colgroup: ["align", "valign", "span", "width"],
            dd: [],
            del: ["datetime"],
            details: ["open"],
            div: [],
            dl: [],
            dt: [],
            em: [],
            font: ["color", "size", "face"],
            footer: [],
            h1: [],
            h2: [],
            h3: [],
            h4: [],
            h5: [],
            h6: [],
            header: [],
            hr: [],
            i: [],
            img: ["src", "alt", "title", "width", "height"],
            ins: ["datetime"],
            li: [],
            mark: [],
            nav: [],
            ol: [],
            p: [],
            pre: [],
            s: [],
            section: [],
            small: [],
            span: [],
            sub: [],
            sup: [],
            strong: [],
            table: ["width", "border", "align", "valign"],
            tbody: ["align", "valign"],
            td: ["width", "rowspan", "colspan", "align", "valign"],
            tfoot: ["align", "valign"],
            th: ["width", "rowspan", "colspan", "align", "valign"],
            thead: ["align", "valign"],
            tr: ["rowspan", "align", "valign"],
            tt: [],
            u: [],
            ul: [],
            video: ["autoplay", "controls", "loop", "preload", "src", "height", "width"]
          };
        }

        function n(t) {
          return t.replace(m, "&lt;").replace(b, "&gt;");
        }

        function o(t) {
          return t.replace(v, "&quot;");
        }

        function a(t) {
          return t.replace(y, '"');
        }

        function s(t) {
          return t.replace(w, function (t, e) {
            return "x" === e[0] || "X" === e[0] ? String.fromCharCode(parseInt(e.substr(1), 16)) : String.fromCharCode(parseInt(e, 10));
          });
        }

        function l(t) {
          return t.replace(x, ":").replace(k, " ");
        }

        function c(t) {
          for (var e = "", r = 0, i = t.length; r < i; r++) e += t.charCodeAt(r) < 32 ? " " : t.charAt(r);

          return d.trim(e);
        }

        function u(t) {
          return t = c(t = l(t = s(t = a(t))));
        }

        function f(t) {
          return t = n(t = o(t));
        }

        var p = r(1).FilterCSS,
            g = r(1).getDefaultWhiteList,
            d = r(2),
            h = new p(),
            m = /</g,
            b = />/g,
            v = /"/g,
            y = /&quot;/g,
            w = /&#([a-zA-Z0-9]*);?/gim,
            x = /&colon;?/gim,
            k = /&newline;?/gim,
            A = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,
            S = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,
            O = /u\s*r\s*l\s*\(.*/gi,
            T = /<!--[\s\S]*?-->/g;
        e.whiteList = {
          a: ["target", "href", "title"],
          abbr: ["title"],
          address: [],
          area: ["shape", "coords", "href", "alt"],
          article: [],
          aside: [],
          audio: ["autoplay", "controls", "loop", "preload", "src"],
          b: [],
          bdi: ["dir"],
          bdo: ["dir"],
          big: [],
          blockquote: ["cite"],
          br: [],
          caption: [],
          center: [],
          cite: [],
          code: [],
          col: ["align", "valign", "span", "width"],
          colgroup: ["align", "valign", "span", "width"],
          dd: [],
          del: ["datetime"],
          details: ["open"],
          div: [],
          dl: [],
          dt: [],
          em: [],
          font: ["color", "size", "face"],
          footer: [],
          h1: [],
          h2: [],
          h3: [],
          h4: [],
          h5: [],
          h6: [],
          header: [],
          hr: [],
          i: [],
          img: ["src", "alt", "title", "width", "height"],
          ins: ["datetime"],
          li: [],
          mark: [],
          nav: [],
          ol: [],
          p: [],
          pre: [],
          s: [],
          section: [],
          small: [],
          span: [],
          sub: [],
          sup: [],
          strong: [],
          table: ["width", "border", "align", "valign"],
          tbody: ["align", "valign"],
          td: ["width", "rowspan", "colspan", "align", "valign"],
          tfoot: ["align", "valign"],
          th: ["width", "rowspan", "colspan", "align", "valign"],
          thead: ["align", "valign"],
          tr: ["rowspan", "align", "valign"],
          tt: [],
          u: [],
          ul: [],
          video: ["autoplay", "controls", "loop", "preload", "src", "height", "width"]
        }, e.getDefaultWhiteList = i, e.onTag = function (t, e, r) {}, e.onIgnoreTag = function (t, e, r) {}, e.onTagAttr = function (t, e, r) {}, e.onIgnoreTagAttr = function (t, e, r) {}, e.safeAttrValue = function (t, e, r, i) {
          if (r = u(r), "href" === e || "src" === e) {
            if ("#" === (r = d.trim(r))) return "#";
            if ("http://" !== r.substr(0, 7) && "https://" !== r.substr(0, 8) && "mailto:" !== r.substr(0, 7) && "tel:" !== r.substr(0, 4) && "#" !== r[0] && "/" !== r[0]) return "";
          } else if ("background" === e) {
            if (A.lastIndex = 0, A.test(r)) return "";
          } else if ("style" === e) {
            if (S.lastIndex = 0, S.test(r)) return "";
            if (O.lastIndex = 0, O.test(r) && (A.lastIndex = 0, A.test(r))) return "";
            !1 !== i && (r = (i = i || h).process(r));
          }

          return r = f(r);
        }, e.escapeHtml = n, e.escapeQuote = o, e.unescapeQuote = a, e.escapeHtmlEntities = s, e.escapeDangerHtml5Entities = l, e.clearNonPrintableCharacter = c, e.friendlyAttrValue = u, e.escapeAttrValue = f, e.onIgnoreTagStripAll = function () {
          return "";
        }, e.StripTagBody = function (t, e) {
          "function" != typeof e && (e = function e() {});
          var r = !Array.isArray(t),
              i = [],
              n = !1;
          return {
            onIgnoreTag: function onIgnoreTag(o, a, s) {
              if (function (e) {
                return !!r || -1 !== d.indexOf(t, e);
              }(o)) {
                if (s.isClosing) {
                  var l = "[/removed]",
                      c = s.position + l.length;
                  return i.push([!1 !== n ? n : s.position, c]), n = !1, l;
                }

                return n || (n = s.position), "[removed]";
              }

              return e(o, a, s);
            },
            remove: function remove(t) {
              var e = "",
                  r = 0;
              return d.forEach(i, function (i) {
                e += t.slice(r, i[0]), r = i[1];
              }), e += t.slice(r);
            }
          };
        }, e.stripCommentTag = function (t) {
          return t.replace(T, "");
        }, e.stripBlankChar = function (t) {
          var e = t.split("");
          return (e = e.filter(function (t) {
            var e = t.charCodeAt(0);
            return !(127 === e || e <= 31 && 10 !== e && 13 !== e);
          })).join("");
        }, e.cssFilter = h, e.getDefaultCSSWhiteList = g;
      }, function (t, e) {
        function r() {
          return {
            "align-content": !1,
            "align-items": !1,
            "align-self": !1,
            "alignment-adjust": !1,
            "alignment-baseline": !1,
            all: !1,
            "anchor-point": !1,
            animation: !1,
            "animation-delay": !1,
            "animation-direction": !1,
            "animation-duration": !1,
            "animation-fill-mode": !1,
            "animation-iteration-count": !1,
            "animation-name": !1,
            "animation-play-state": !1,
            "animation-timing-function": !1,
            azimuth: !1,
            "backface-visibility": !1,
            background: !0,
            "background-attachment": !0,
            "background-clip": !0,
            "background-color": !0,
            "background-image": !0,
            "background-origin": !0,
            "background-position": !0,
            "background-repeat": !0,
            "background-size": !0,
            "baseline-shift": !1,
            binding: !1,
            bleed: !1,
            "bookmark-label": !1,
            "bookmark-level": !1,
            "bookmark-state": !1,
            border: !0,
            "border-bottom": !0,
            "border-bottom-color": !0,
            "border-bottom-left-radius": !0,
            "border-bottom-right-radius": !0,
            "border-bottom-style": !0,
            "border-bottom-width": !0,
            "border-collapse": !0,
            "border-color": !0,
            "border-image": !0,
            "border-image-outset": !0,
            "border-image-repeat": !0,
            "border-image-slice": !0,
            "border-image-source": !0,
            "border-image-width": !0,
            "border-left": !0,
            "border-left-color": !0,
            "border-left-style": !0,
            "border-left-width": !0,
            "border-radius": !0,
            "border-right": !0,
            "border-right-color": !0,
            "border-right-style": !0,
            "border-right-width": !0,
            "border-spacing": !0,
            "border-style": !0,
            "border-top": !0,
            "border-top-color": !0,
            "border-top-left-radius": !0,
            "border-top-right-radius": !0,
            "border-top-style": !0,
            "border-top-width": !0,
            "border-width": !0,
            bottom: !1,
            "box-decoration-break": !0,
            "box-shadow": !0,
            "box-sizing": !0,
            "box-snap": !0,
            "box-suppress": !0,
            "break-after": !0,
            "break-before": !0,
            "break-inside": !0,
            "caption-side": !1,
            chains: !1,
            clear: !0,
            clip: !1,
            "clip-path": !1,
            "clip-rule": !1,
            color: !0,
            "color-interpolation-filters": !0,
            "column-count": !1,
            "column-fill": !1,
            "column-gap": !1,
            "column-rule": !1,
            "column-rule-color": !1,
            "column-rule-style": !1,
            "column-rule-width": !1,
            "column-span": !1,
            "column-width": !1,
            columns: !1,
            contain: !1,
            content: !1,
            "counter-increment": !1,
            "counter-reset": !1,
            "counter-set": !1,
            crop: !1,
            cue: !1,
            "cue-after": !1,
            "cue-before": !1,
            cursor: !1,
            direction: !1,
            display: !0,
            "display-inside": !0,
            "display-list": !0,
            "display-outside": !0,
            "dominant-baseline": !1,
            elevation: !1,
            "empty-cells": !1,
            filter: !1,
            flex: !1,
            "flex-basis": !1,
            "flex-direction": !1,
            "flex-flow": !1,
            "flex-grow": !1,
            "flex-shrink": !1,
            "flex-wrap": !1,
            "float": !1,
            "float-offset": !1,
            "flood-color": !1,
            "flood-opacity": !1,
            "flow-from": !1,
            "flow-into": !1,
            font: !0,
            "font-family": !0,
            "font-feature-settings": !0,
            "font-kerning": !0,
            "font-language-override": !0,
            "font-size": !0,
            "font-size-adjust": !0,
            "font-stretch": !0,
            "font-style": !0,
            "font-synthesis": !0,
            "font-variant": !0,
            "font-variant-alternates": !0,
            "font-variant-caps": !0,
            "font-variant-east-asian": !0,
            "font-variant-ligatures": !0,
            "font-variant-numeric": !0,
            "font-variant-position": !0,
            "font-weight": !0,
            grid: !1,
            "grid-area": !1,
            "grid-auto-columns": !1,
            "grid-auto-flow": !1,
            "grid-auto-rows": !1,
            "grid-column": !1,
            "grid-column-end": !1,
            "grid-column-start": !1,
            "grid-row": !1,
            "grid-row-end": !1,
            "grid-row-start": !1,
            "grid-template": !1,
            "grid-template-areas": !1,
            "grid-template-columns": !1,
            "grid-template-rows": !1,
            "hanging-punctuation": !1,
            height: !0,
            hyphens: !1,
            icon: !1,
            "image-orientation": !1,
            "image-resolution": !1,
            "ime-mode": !1,
            "initial-letters": !1,
            "inline-box-align": !1,
            "justify-content": !1,
            "justify-items": !1,
            "justify-self": !1,
            left: !1,
            "letter-spacing": !0,
            "lighting-color": !0,
            "line-box-contain": !1,
            "line-break": !1,
            "line-grid": !1,
            "line-height": !1,
            "line-snap": !1,
            "line-stacking": !1,
            "line-stacking-ruby": !1,
            "line-stacking-shift": !1,
            "line-stacking-strategy": !1,
            "list-style": !0,
            "list-style-image": !0,
            "list-style-position": !0,
            "list-style-type": !0,
            margin: !0,
            "margin-bottom": !0,
            "margin-left": !0,
            "margin-right": !0,
            "margin-top": !0,
            "marker-offset": !1,
            "marker-side": !1,
            marks: !1,
            mask: !1,
            "mask-box": !1,
            "mask-box-outset": !1,
            "mask-box-repeat": !1,
            "mask-box-slice": !1,
            "mask-box-source": !1,
            "mask-box-width": !1,
            "mask-clip": !1,
            "mask-image": !1,
            "mask-origin": !1,
            "mask-position": !1,
            "mask-repeat": !1,
            "mask-size": !1,
            "mask-source-type": !1,
            "mask-type": !1,
            "max-height": !0,
            "max-lines": !1,
            "max-width": !0,
            "min-height": !0,
            "min-width": !0,
            "move-to": !1,
            "nav-down": !1,
            "nav-index": !1,
            "nav-left": !1,
            "nav-right": !1,
            "nav-up": !1,
            "object-fit": !1,
            "object-position": !1,
            opacity: !1,
            order: !1,
            orphans: !1,
            outline: !1,
            "outline-color": !1,
            "outline-offset": !1,
            "outline-style": !1,
            "outline-width": !1,
            overflow: !1,
            "overflow-wrap": !1,
            "overflow-x": !1,
            "overflow-y": !1,
            padding: !0,
            "padding-bottom": !0,
            "padding-left": !0,
            "padding-right": !0,
            "padding-top": !0,
            page: !1,
            "page-break-after": !1,
            "page-break-before": !1,
            "page-break-inside": !1,
            "page-policy": !1,
            pause: !1,
            "pause-after": !1,
            "pause-before": !1,
            perspective: !1,
            "perspective-origin": !1,
            pitch: !1,
            "pitch-range": !1,
            "play-during": !1,
            position: !1,
            "presentation-level": !1,
            quotes: !1,
            "region-fragment": !1,
            resize: !1,
            rest: !1,
            "rest-after": !1,
            "rest-before": !1,
            richness: !1,
            right: !1,
            rotation: !1,
            "rotation-point": !1,
            "ruby-align": !1,
            "ruby-merge": !1,
            "ruby-position": !1,
            "shape-image-threshold": !1,
            "shape-outside": !1,
            "shape-margin": !1,
            size: !1,
            speak: !1,
            "speak-as": !1,
            "speak-header": !1,
            "speak-numeral": !1,
            "speak-punctuation": !1,
            "speech-rate": !1,
            stress: !1,
            "string-set": !1,
            "tab-size": !1,
            "table-layout": !1,
            "text-align": !0,
            "text-align-last": !0,
            "text-combine-upright": !0,
            "text-decoration": !0,
            "text-decoration-color": !0,
            "text-decoration-line": !0,
            "text-decoration-skip": !0,
            "text-decoration-style": !0,
            "text-emphasis": !0,
            "text-emphasis-color": !0,
            "text-emphasis-position": !0,
            "text-emphasis-style": !0,
            "text-height": !0,
            "text-indent": !0,
            "text-justify": !0,
            "text-orientation": !0,
            "text-overflow": !0,
            "text-shadow": !0,
            "text-space-collapse": !0,
            "text-transform": !0,
            "text-underline-position": !0,
            "text-wrap": !0,
            top: !1,
            transform: !1,
            "transform-origin": !1,
            "transform-style": !1,
            transition: !1,
            "transition-delay": !1,
            "transition-duration": !1,
            "transition-property": !1,
            "transition-timing-function": !1,
            "unicode-bidi": !1,
            "vertical-align": !1,
            visibility: !1,
            "voice-balance": !1,
            "voice-duration": !1,
            "voice-family": !1,
            "voice-pitch": !1,
            "voice-range": !1,
            "voice-rate": !1,
            "voice-stress": !1,
            "voice-volume": !1,
            volume: !1,
            "white-space": !1,
            widows: !1,
            width: !0,
            "will-change": !1,
            "word-break": !0,
            "word-spacing": !0,
            "word-wrap": !0,
            "wrap-flow": !1,
            "wrap-through": !1,
            "writing-mode": !1,
            "z-index": !1
          };
        }

        var i = /javascript\s*\:/gim;
        e.whiteList = r(), e.getDefaultWhiteList = r, e.onAttr = function (t, e, r) {}, e.onIgnoreAttr = function (t, e, r) {}, e.safeAttrValue = function (t, e) {
          return i.test(e) ? "" : e;
        };
      }, function (t, e) {
        t.exports = {
          indexOf: function indexOf(t, e) {
            var r, i;
            if (Array.prototype.indexOf) return t.indexOf(e);

            for (r = 0, i = t.length; r < i; r++) if (t[r] === e) return r;

            return -1;
          },
          forEach: function forEach(t, e, r) {
            var i, n;
            if (Array.prototype.forEach) return t.forEach(e, r);

            for (i = 0, n = t.length; i < n; i++) e.call(r, t[i], i, t);
          },
          trim: function trim(t) {
            return String.prototype.trim ? t.trim() : t.replace(/(^\s*)|(\s*$)/g, "");
          },
          trimRight: function trimRight(t) {
            return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
          }
        };
      }, function (t, e, r) {
        function i(t) {
          var e = l.spaceIndex(t);
          if (-1 === e) var r = t.slice(1, -1);else r = t.slice(1, e + 1);
          return "/" === (r = l.trim(r).toLowerCase()).slice(0, 1) && (r = r.slice(1)), "/" === r.slice(-1) && (r = r.slice(0, -1)), r;
        }

        function n(t) {
          return "</" === t.slice(0, 2);
        }

        function o(t, e) {
          for (; e < t.length; e++) {
            var r = t[e];
            if (" " !== r) return "=" === r ? e : -1;
          }
        }

        function a(t, e) {
          for (; e > 0; e--) {
            var r = t[e];
            if (" " !== r) return "=" === r ? e : -1;
          }
        }

        function s(t) {
          return function (t) {
            return '"' === t[0] && '"' === t[t.length - 1] || "'" === t[0] && "'" === t[t.length - 1];
          }(t) ? t.substr(1, t.length - 2) : t;
        }

        var l = r(2),
            c = /[^a-zA-Z0-9_:\.\-]/gim;
        e.parseTag = function (t, e, r) {
          var o = "",
              a = 0,
              s = !1,
              l = !1,
              c = 0,
              u = t.length,
              f = "",
              p = "";

          for (c = 0; c < u; c++) {
            var g = t.charAt(c);

            if (!1 === s) {
              if ("<" === g) {
                s = c;
                continue;
              }
            } else if (!1 === l) {
              if ("<" === g) {
                o += r(t.slice(a, c)), s = c, a = c;
                continue;
              }

              if (">" === g) {
                o += r(t.slice(a, s)), f = i(p = t.slice(s, c + 1)), o += e(s, o.length, f, p, n(p)), a = c + 1, s = !1;
                continue;
              }

              if (('"' === g || "'" === g) && "=" === t.charAt(c - 1)) {
                l = g;
                continue;
              }
            } else if (g === l) {
              l = !1;
              continue;
            }
          }

          return a < t.length && (o += r(t.substr(a))), o;
        }, e.parseAttr = function (t, e) {
          function r(t, r) {
            if (!((t = (t = l.trim(t)).replace(c, "").toLowerCase()).length < 1)) {
              var i = e(t, r || "");
              i && n.push(i);
            }
          }

          for (var i = 0, n = [], u = !1, f = t.length, p = 0; p < f; p++) {
            var g,
                d = t.charAt(p);
            if (!1 !== u || "=" !== d) {
              if (!1 === u || p !== i || '"' !== d && "'" !== d || "=" !== t.charAt(p - 1)) {
                if (/\s|\n|\t/.test(d)) {
                  if (t = t.replace(/\s|\n|\t/g, " "), !1 === u) {
                    if (-1 === (g = o(t, p))) {
                      r(l.trim(t.slice(i, p))), u = !1, i = p + 1;
                      continue;
                    }

                    p = g - 1;
                    continue;
                  }

                  if (-1 === (g = a(t, p - 1))) {
                    r(u, s(l.trim(t.slice(i, p)))), u = !1, i = p + 1;
                    continue;
                  }
                }
              } else {
                if (-1 === (g = t.indexOf(d, p + 1))) break;
                r(u, l.trim(t.slice(i + 1, g))), u = !1, i = (p = g) + 1;
              }
            } else u = t.slice(i, p), i = p + 1;
          }

          return i < t.length && (!1 === u ? r(t.slice(i)) : r(u, s(l.trim(t.slice(i))))), l.trim(n.join(" "));
        };
      }, function (t, e) {
        var r,
            i,
            n = Function.prototype,
            o = Object.prototype,
            a = n.toString,
            s = o.hasOwnProperty,
            l = a.call(Object),
            c = o.toString,
            u = (r = Object.getPrototypeOf, i = Object, function (t) {
          return r(i(t));
        });

        t.exports = function (t) {
          if (!function (t) {
            return !!t && "object" == typeof t;
          }(t) || "[object Object]" != c.call(t) || function (t) {
            var e = !1;
            if (null != t && "function" != typeof t.toString) try {
              e = !!(t + "");
            } catch (t) {}
            return e;
          }(t)) return !1;
          var e = u(t);
          if (null === e) return !0;
          var r = s.call(e, "constructor") && e.constructor;
          return "function" == typeof r && r instanceof r && a.call(r) == l;
        };
      }, function (t, e, r) {
        "use strict";

        r.r(e), r.d(e, "Sanitizer", function () {
          return s;
        });

        var i = r(7),
            n = r.n(i),
            o = r(0),
            a = r.n(o),
            s = function () {
          function t(t, e) {
            var r,
                i = this;
            this.arcgisWhiteList = {
              a: ["href", "target", "style"],
              img: ["src", "width", "height", "border", "alt", "style"],
              video: ["autoplay", "controls", "height", "loop", "muted", "poster", "preload", "src", "width"],
              audio: ["autoplay", "controls", "loop", "muted", "preload", "src"],
              span: ["style"],
              table: ["width", "height", "cellpadding", "cellspacing", "border", "style"],
              div: ["style", "align"],
              font: ["size", "color", "style"],
              tr: ["height", "valign", "align", "style"],
              td: ["height", "width", "valign", "align", "colspan", "rowspan", "nowrap", "style"],
              th: ["height", "width", "valign", "align", "colspan", "rowspan", "nowrap", "style"],
              p: ["style"],
              b: [],
              strong: [],
              i: [],
              em: [],
              u: [],
              br: [],
              li: [],
              ul: [],
              ol: [],
              hr: [],
              tbody: []
            }, this.allowedProtocols = ["http", "https", "mailto", "iform", "tel", "flow", "lfmobile", "arcgis-navigator", "arcgis-appstudio-player", "arcgis-survey123", "arcgis-collector", "arcgis-workforce", "arcgis-explorer", "arcgis-trek2there", "mspbi", "comgooglemaps", "pdfefile", "pdfehttp", "pdfehttps", "boxapp", "boxemm", "awb", "awbs", "gropen", "radarscope"], this.arcgisFilterOptions = {
              allowCommentTag: !0,
              safeAttrValue: function safeAttrValue(t, e, r, n) {
                return "a" === t && "href" === e || ("img" === t || "audio" === t || "video" === t) && "src" === e ? i.sanitizeUrl(r) : a.a.safeAttrValue(t, e, r, n);
              }
            }, t && !e ? r = t : t && e ? (r = Object.create(this.arcgisFilterOptions), Object.keys(t).forEach(function (e) {
              "whiteList" === e ? r.whiteList = i._extendObjectOfArrays([i.arcgisWhiteList, t.whiteList || {}]) : r[e] = t[e];
            })) : (r = Object.create(this.arcgisFilterOptions)).whiteList = this.arcgisWhiteList, this.xssFilterOptions = r, this._xssFilter = new a.a.FilterXSS(r);
          }

          return t.prototype.sanitize = function (t) {
            switch (typeof t) {
              case "number":
                return isNaN(t) || !isFinite(t) ? null : t;

              case "boolean":
                return t;

              case "string":
                return this._xssFilter.process(t);

              case "object":
                return this._iterateOverObject(t);

              default:
                return null;
            }
          }, t.prototype.sanitizeUrl = function (t) {
            var e = this._trim(t.substring(0, t.indexOf(":")));

            return "/" === t || "#" === t || "#" === t[0] || this.allowedProtocols.indexOf(e.toLowerCase()) > -1 ? a.a.escapeAttrValue(t) : "";
          }, t.prototype.validate = function (t) {
            var e = this.sanitize(t);
            return {
              isValid: t === e,
              sanitized: e
            };
          }, t.prototype._extendObjectOfArrays = function (t) {
            var e = {};
            return t.forEach(function (t) {
              Object.keys(t).forEach(function (r) {
                Array.isArray(t[r]) && Array.isArray(e[r]) ? e[r] = e[r].concat(t[r]) : e[r] = t[r];
              });
            }), e;
          }, t.prototype._iterateOverObject = function (t) {
            var e = this;

            try {
              var r = !1,
                  i = void 0;
              if (Array.isArray(t)) i = t.reduce(function (t, i) {
                var n = e.validate(i);
                return n.isValid ? t.concat([i]) : (r = !0, t.concat([n.sanitized]));
              }, []);else {
                if (!n()(t)) return null;
                i = Object.keys(t).reduce(function (i, n) {
                  var o = t[n],
                      a = e.validate(o);
                  return a.isValid ? i[n] = o : (r = !0, i[n] = a.sanitized), i;
                }, {});
              }
              return r ? i : t;
            } catch (t) {
              return null;
            }
          }, t.prototype._trim = function (t) {
            return String.prototype.trim ? t.trim() : t.replace(/(^\s*)|(\s*$)/g, "");
          }, t;
        }();
      }, function (t, e, r) {
        function i(t) {
          return null == t;
        }

        function n(t) {
          (t = function (t) {
            var e = {};

            for (var r in t) e[r] = t[r];

            return e;
          }(t || {})).whiteList = t.whiteList || o.whiteList, t.onAttr = t.onAttr || o.onAttr, t.onIgnoreAttr = t.onIgnoreAttr || o.onIgnoreAttr, t.safeAttrValue = t.safeAttrValue || o.safeAttrValue, this.options = t;
        }

        var o = r(4),
            a = r(10);
        r(5), n.prototype.process = function (t) {
          if (!(t = (t = t || "").toString())) return "";
          var e = this.options,
              r = e.whiteList,
              n = e.onAttr,
              o = e.onIgnoreAttr,
              s = e.safeAttrValue;
          return a(t, function (t, e, a, l, c) {
            var u = r[a],
                f = !1;

            if (!0 === u ? f = u : "function" == typeof u ? f = u(l) : u instanceof RegExp && (f = u.test(l)), !0 !== f && (f = !1), l = s(a, l)) {
              var p,
                  g = {
                position: e,
                sourcePosition: t,
                source: c,
                isWhite: f
              };
              return f ? i(p = n(a, l, g)) ? a + ":" + l : p : i(p = o(a, l, g)) ? void 0 : p;
            }
          });
        }, t.exports = n;
      }, function (t, e, r) {
        var i = r(5);

        t.exports = function (t, e) {
          function r() {
            if (!o) {
              var r = i.trim(t.slice(a, s)),
                  n = r.indexOf(":");

              if (-1 !== n) {
                var c = i.trim(r.slice(0, n)),
                    u = i.trim(r.slice(n + 1));

                if (c) {
                  var f = e(a, l.length, c, u, r);
                  f && (l += f + "; ");
                }
              }
            }

            a = s + 1;
          }

          ";" !== (t = i.trimRight(t))[t.length - 1] && (t += ";");

          for (var n = t.length, o = !1, a = 0, s = 0, l = ""; s < n; s++) {
            var c = t[s];

            if ("/" === c && "*" === t[s + 1]) {
              var u = t.indexOf("*/", s + 2);
              if (-1 === u) break;
              a = (s = u + 1) + 1, o = !1;
            } else "(" === c ? o = !0 : ")" === c ? o = !1 : ";" === c ? o || r() : "\n" === c && r();
          }

          return i.trim(l);
        };
      }, function (t, e, r) {
        function i(t) {
          return null == t;
        }

        function n(t) {
          (t = function (t) {
            var e = {};

            for (var r in t) e[r] = t[r];

            return e;
          }(t || {})).stripIgnoreTag && (t.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), t.onIgnoreTag = a.onIgnoreTagStripAll), t.whiteList = t.whiteList || a.whiteList, t.onTag = t.onTag || a.onTag, t.onTagAttr = t.onTagAttr || a.onTagAttr, t.onIgnoreTag = t.onIgnoreTag || a.onIgnoreTag, t.onIgnoreTagAttr = t.onIgnoreTagAttr || a.onIgnoreTagAttr, t.safeAttrValue = t.safeAttrValue || a.safeAttrValue, t.escapeHtml = t.escapeHtml || a.escapeHtml, this.options = t, !1 === t.css ? this.cssFilter = !1 : (t.css = t.css || {}, this.cssFilter = new o(t.css));
        }

        var o = r(1).FilterCSS,
            a = r(3),
            s = r(6),
            l = s.parseTag,
            c = s.parseAttr,
            u = r(2);
        n.prototype.process = function (t) {
          if (!(t = (t = t || "").toString())) return "";
          var e = this.options,
              r = e.whiteList,
              n = e.onTag,
              o = e.onIgnoreTag,
              s = e.onTagAttr,
              f = e.onIgnoreTagAttr,
              p = e.safeAttrValue,
              g = e.escapeHtml,
              d = this.cssFilter;
          e.stripBlankChar && (t = a.stripBlankChar(t)), e.allowCommentTag || (t = a.stripCommentTag(t));
          var h = !1;
          e.stripIgnoreTagBody && (h = a.StripTagBody(e.stripIgnoreTagBody, o), o = h.onIgnoreTag);
          var m = l(t, function (t, e, a, l, h) {
            var m,
                b = {
              sourcePosition: t,
              position: e,
              isClosing: h,
              isWhite: r.hasOwnProperty(a)
            };
            if (!i(m = n(a, l, b))) return m;

            if (b.isWhite) {
              if (b.isClosing) return "</" + a + ">";

              var v = function (t) {
                var e = u.spaceIndex(t);
                if (-1 === e) return {
                  html: "",
                  closing: "/" === t[t.length - 2]
                };
                var r = "/" === (t = u.trim(t.slice(e + 1, -1)))[t.length - 1];
                return r && (t = u.trim(t.slice(0, -1))), {
                  html: t,
                  closing: r
                };
              }(l),
                  y = r[a],
                  w = c(v.html, function (t, e) {
                var r,
                    n = -1 !== u.indexOf(y, t);
                return i(r = s(a, t, e, n)) ? n ? (e = p(a, t, e, d)) ? t + '="' + e + '"' : t : i(r = f(a, t, e, n)) ? void 0 : r : r;
              });

              return l = "<" + a, w && (l += " " + w), v.closing && (l += " /"), l += ">";
            }

            return i(m = o(a, l, b)) ? g(l) : m;
          }, g);
          return h && (m = h.remove(m)), m;
        }, t.exports = n;
      }]).Sanitizer;
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/libs/sortablejs/Sortable.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/libs/sortablejs/Sortable.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLibsSortablejsSortableJs(module, exports, __webpack_require__) {
    // 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.

    /**!
     * Sortable 1.10.0
     * @author	RubaXa   <trash@rubaxa.org>
     * @author	owenm    <owen23355@gmail.com>
     * @license MIT
     */
    !function (t, e) {
      true ? module.exports = e() : undefined;
    }(this, function () {
      "use strict";

      function t(e) {
        return (t = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (t) {
          return typeof t;
        } : function (t) {
          return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
        })(e);
      }

      function e(t, e, n) {
        return e in t ? Object.defineProperty(t, e, {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }) : t[e] = n, t;
      }

      function n() {
        return n = Object.assign || function (t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = arguments[e];

            for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
          }

          return t;
        }, n.apply(this, arguments);
      }

      function o(t) {
        for (var n = 1; n < arguments.length; n++) {
          var o = null != arguments[n] ? arguments[n] : {},
              i = Object.keys(o);
          "function" == typeof Object.getOwnPropertySymbols && (i = i.concat(Object.getOwnPropertySymbols(o).filter(function (t) {
            return Object.getOwnPropertyDescriptor(o, t).enumerable;
          }))), i.forEach(function (n) {
            e(t, n, o[n]);
          });
        }

        return t;
      }

      function i(t, e) {
        if (null == t) return {};
        var n,
            o,
            i = {},
            r = Object.keys(t);

        for (o = 0; o < r.length; o++) n = r[o], e.indexOf(n) >= 0 || (i[n] = t[n]);

        return i;
      }

      function r(t, e) {
        if (null == t) return {};
        var n,
            o,
            r = i(t, e);

        if (Object.getOwnPropertySymbols) {
          var a = Object.getOwnPropertySymbols(t);

          for (o = 0; o < a.length; o++) n = a[o], e.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(t, n) && (r[n] = t[n]);
        }

        return r;
      }

      function a(t) {
        return l(t) || s(t) || c();
      }

      function l(t) {
        if (Array.isArray(t)) {
          for (var e = 0, n = new Array(t.length); e < t.length; e++) n[e] = t[e];

          return n;
        }
      }

      function s(t) {
        if (Symbol.iterator in Object(t) || "[object Arguments]" === Object.prototype.toString.call(t)) return Array.from(t);
      }

      function c() {
        throw new TypeError("Invalid attempt to spread non-iterable instance");
      }

      function u(t) {
        return !!navigator.userAgent.match(t);
      }

      function d(t, e, n) {
        t.addEventListener(e, n, !ht && bt);
      }

      function h(t, e, n) {
        t.removeEventListener(e, n, !ht && bt);
      }

      function f(t, e) {
        if (e) {
          if (">" === e[0] && (e = e.substring(1)), t) try {
            if (t.matches) return t.matches(e);
            if (t.msMatchesSelector) return t.msMatchesSelector(e);
            if (t.webkitMatchesSelector) return t.webkitMatchesSelector(e);
          } catch (t) {
            return !1;
          }
          return !1;
        }
      }

      function p(t) {
        return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
      }

      function g(t, e, n, o) {
        if (t) {
          n = n || document;

          do {
            if (null != e && (">" === e[0] ? t.parentNode === n && f(t, e) : f(t, e)) || o && t === n) return t;
            if (t === n) break;
          } while (t = p(t));
        }

        return null;
      }

      function v(t, e, n) {
        if (t && e) if (t.classList) t.classList[n ? "add" : "remove"](e);else {
          var o = (" " + t.className + " ").replace(yt, " ").replace(" " + e + " ", " ");
          t.className = (o + (n ? " " + e : "")).replace(yt, " ");
        }
      }

      function m(t, e, n) {
        var o = t && t.style;

        if (o) {
          if (void 0 === n) return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(t, "") : t.currentStyle && (n = t.currentStyle), void 0 === e ? n : n[e];
          e in o || -1 !== e.indexOf("webkit") || (e = "-webkit-" + e), o[e] = n + ("string" == typeof n ? "" : "px");
        }
      }

      function b(t, e) {
        var n = "";
        if ("string" == typeof t) n = t;else do {
          var o = m(t, "transform");
          o && "none" !== o && (n = o + " " + n);
        } while (!e && (t = t.parentNode));
        var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix;
        return i && new i(n);
      }

      function y(t, e, n) {
        if (t) {
          var o = t.getElementsByTagName(e),
              i = 0,
              r = o.length;
          if (n) for (; i < r; i++) n(o[i], i);
          return o;
        }

        return [];
      }

      function w() {
        return ht ? document.documentElement : document.scrollingElement;
      }

      function E(t, e, n, o, i) {
        if (t.getBoundingClientRect || t === window) {
          var r, a, l, s, c, u, d;
          if (t !== window && t !== w() ? (r = t.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, c = r.right, u = r.height, d = r.width) : (a = 0, l = 0, s = window.innerHeight, c = window.innerWidth, u = window.innerHeight, d = window.innerWidth), (e || n) && t !== window && (i = i || t.parentNode, !ht)) do {
            if (i && i.getBoundingClientRect && ("none" !== m(i, "transform") || n && "static" !== m(i, "position"))) {
              var h = i.getBoundingClientRect();
              a -= h.top + parseInt(m(i, "border-top-width")), l -= h.left + parseInt(m(i, "border-left-width")), s = a + r.height, c = l + r.width;
              break;
            }
          } while (i = i.parentNode);

          if (o && t !== window) {
            var f = b(i || t),
                p = f && f.a,
                g = f && f.d;
            f && (a /= g, l /= p, d /= p, u /= g, s = a + u, c = l + d);
          }

          return {
            top: a,
            left: l,
            bottom: s,
            right: c,
            width: d,
            height: u
          };
        }
      }

      function D(t, e, n) {
        for (var o = M(t, !0), i = E(t)[e]; o;) {
          var r = E(o)[n];
          if (!("top" === n || "left" === n ? i >= r : i <= r)) return o;
          if (o === w()) break;
          o = M(o, !1);
        }

        return !1;
      }

      function _(t, e, n) {
        for (var o = 0, i = 0, r = t.children; i < r.length;) {
          if ("none" !== r[i].style.display && r[i] !== j.ghost && r[i] !== j.dragged && g(r[i], n.draggable, t, !1)) {
            if (o === e) return r[i];
            o++;
          }

          i++;
        }

        return null;
      }

      function S(t, e) {
        for (var n = t.lastElementChild; n && (n === j.ghost || "none" === m(n, "display") || e && !f(n, e));) n = n.previousElementSibling;

        return n || null;
      }

      function C(t, e) {
        var n = 0;
        if (!t || !t.parentNode) return -1;

        for (; t = t.previousElementSibling;) "TEMPLATE" === t.nodeName.toUpperCase() || t === j.clone || e && !f(t, e) || n++;

        return n;
      }

      function T(t) {
        var e = 0,
            n = 0,
            o = w();
        if (t) do {
          var i = b(t),
              r = i.a,
              a = i.d;
          e += t.scrollLeft * r, n += t.scrollTop * a;
        } while (t !== o && (t = t.parentNode));
        return [e, n];
      }

      function x(t, e) {
        for (var n in t) if (t.hasOwnProperty(n)) for (var o in e) if (e.hasOwnProperty(o) && e[o] === t[n][o]) return Number(n);

        return -1;
      }

      function M(t, e) {
        if (!t || !t.getBoundingClientRect) return w();
        var n = t,
            o = !1;

        do {
          if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
            var i = m(n);

            if (n.clientWidth < n.scrollWidth && ("auto" == i.overflowX || "scroll" == i.overflowX) || n.clientHeight < n.scrollHeight && ("auto" == i.overflowY || "scroll" == i.overflowY)) {
              if (!n.getBoundingClientRect || n === document.body) return w();
              if (o || e) return n;
              o = !0;
            }
          }
        } while (n = n.parentNode);

        return w();
      }

      function O(t, e) {
        if (t && e) for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n]);
        return t;
      }

      function A(t, e) {
        return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
      }

      function N(t, e) {
        return function () {
          if (!dt) {
            var n = arguments,
                o = this;
            1 === n.length ? t.call(o, n[0]) : t.apply(o, n), dt = setTimeout(function () {
              dt = void 0;
            }, e);
          }
        };
      }

      function I() {
        clearTimeout(dt), dt = void 0;
      }

      function P(t, e, n) {
        t.scrollLeft += e, t.scrollTop += n;
      }

      function k(t) {
        var e = window.Polymer,
            n = window.jQuery || window.Zepto;
        return e && e.dom ? e.dom(t).cloneNode(!0) : n ? n(t).clone(!0)[0] : t.cloneNode(!0);
      }

      function R(t, e) {
        m(t, "position", "absolute"), m(t, "top", e.top), m(t, "left", e.left), m(t, "width", e.width), m(t, "height", e.height);
      }

      function X(t) {
        m(t, "position", ""), m(t, "top", ""), m(t, "left", ""), m(t, "width", ""), m(t, "height", "");
      }

      function Y() {
        var t,
            e = [];
        return {
          captureAnimationState: function captureAnimationState() {
            if (e = [], this.options.animation) {
              [].slice.call(this.el.children).forEach(function (t) {
                if ("none" !== m(t, "display") && t !== j.ghost) {
                  e.push({
                    target: t,
                    rect: E(t)
                  });
                  var n = o({}, e[e.length - 1].rect);

                  if (t.thisAnimationDuration) {
                    var i = b(t, !0);
                    i && (n.top -= i.f, n.left -= i.e);
                  }

                  t.fromRect = n;
                }
              });
            }
          },
          addAnimationState: function addAnimationState(t) {
            e.push(t);
          },
          removeAnimationState: function removeAnimationState(t) {
            e.splice(x(e, {
              target: t
            }), 1);
          },
          animateAll: function animateAll(n) {
            var o = this;
            if (!this.options.animation) return clearTimeout(t), void ("function" == typeof n && n());
            var i = !1,
                r = 0;
            e.forEach(function (t) {
              var e = 0,
                  n = t.target,
                  a = n.fromRect,
                  l = E(n),
                  s = n.prevFromRect,
                  c = n.prevToRect,
                  u = t.rect,
                  d = b(n, !0);
              d && (l.top -= d.f, l.left -= d.e), n.toRect = l, n.thisAnimationDuration && A(s, l) && !A(a, l) && (u.top - l.top) / (u.left - l.left) == (a.top - l.top) / (a.left - l.left) && (e = F(u, s, c, o.options)), A(l, a) || (n.prevFromRect = a, n.prevToRect = l, e || (e = o.options.animation), o.animate(n, u, l, e)), e && (i = !0, r = Math.max(r, e), clearTimeout(n.animationResetTimer), n.animationResetTimer = setTimeout(function () {
                n.animationTime = 0, n.prevFromRect = null, n.fromRect = null, n.prevToRect = null, n.thisAnimationDuration = null;
              }, e), n.thisAnimationDuration = e);
            }), clearTimeout(t), i ? t = setTimeout(function () {
              "function" == typeof n && n();
            }, r) : "function" == typeof n && n(), e = [];
          },
          animate: function animate(t, e, n, o) {
            if (o) {
              m(t, "transition", ""), m(t, "transform", "");
              var i = b(this.el),
                  r = i && i.a,
                  a = i && i.d,
                  l = (e.left - n.left) / (r || 1),
                  s = (e.top - n.top) / (a || 1);
              t.animatingX = !!l, t.animatingY = !!s, m(t, "transform", "translate3d(" + l + "px," + s + "px,0)"), B(t), m(t, "transition", "transform " + o + "ms" + (this.options.easing ? " " + this.options.easing : "")), m(t, "transform", "translate3d(0,0,0)"), "number" == typeof t.animated && clearTimeout(t.animated), t.animated = setTimeout(function () {
                m(t, "transition", ""), m(t, "transform", ""), t.animated = !1, t.animatingX = !1, t.animatingY = !1;
              }, o);
            }
          }
        };
      }

      function B(t) {
        return t.offsetWidth;
      }

      function F(t, e, n, o) {
        return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) * o.animation;
      }

      function H(t) {
        var e = t.sortable,
            n = t.rootEl,
            i = t.name,
            r = t.targetEl,
            a = t.cloneEl,
            l = t.toEl,
            s = t.fromEl,
            c = t.oldIndex,
            u = t.newIndex,
            d = t.oldDraggableIndex,
            h = t.newDraggableIndex,
            f = t.originalEvent,
            p = t.putSortable,
            g = t.extraEventProperties;

        if (e = e || n && n[wt]) {
          var v,
              m = e.options,
              b = "on" + i.charAt(0).toUpperCase() + i.substr(1);
          !window.CustomEvent || ht || ft ? (v = document.createEvent("Event"), v.initEvent(i, !0, !0)) : v = new CustomEvent(i, {
            bubbles: !0,
            cancelable: !0
          }), v.to = l || n, v.from = s || n, v.item = r || n, v.clone = a, v.oldIndex = c, v.newIndex = u, v.oldDraggableIndex = d, v.newDraggableIndex = h, v.originalEvent = f, v.pullMode = p ? p.lastPutMode : void 0;
          var y = o({}, g, _t.getEventProperties(i, e));

          for (var w in y) v[w] = y[w];

          n && n.dispatchEvent(v), m[b] && m[b].call(e, v);
        }
      }

      function L(t) {
        H(o({
          putSortable: Bt,
          cloneEl: Nt,
          targetEl: Ct,
          rootEl: Mt,
          oldIndex: Pt,
          oldDraggableIndex: Rt,
          newIndex: kt,
          newDraggableIndex: Xt
        }, t));
      }

      function j(t, e) {
        if (!t || !t.nodeType || 1 !== t.nodeType) throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
        this.el = t, this.options = e = n({}, e), t[wt] = this;
        var o = {
          group: null,
          sort: !0,
          disabled: !1,
          store: null,
          handle: null,
          draggable: /^[uo]l$/i.test(t.nodeName) ? ">li" : ">*",
          swapThreshold: 1,
          invertSwap: !1,
          invertedSwapThreshold: null,
          removeCloneOnHide: !0,
          direction: function direction() {
            return se(t, this.options);
          },
          ghostClass: "sortable-ghost",
          chosenClass: "sortable-chosen",
          dragClass: "sortable-drag",
          ignore: "a, img",
          filter: null,
          preventOnFilter: !0,
          animation: 0,
          easing: null,
          setData: function setData(t, e) {
            t.setData("Text", e.textContent);
          },
          dropBubble: !1,
          dragoverBubble: !1,
          dataIdAttr: "data-id",
          delay: 0,
          delayOnTouchOnly: !1,
          touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
          forceFallback: !1,
          fallbackClass: "sortable-fallback",
          fallbackOnBody: !1,
          fallbackTolerance: 0,
          fallbackOffset: {
            x: 0,
            y: 0
          },
          supportPointer: !1 !== j.supportPointer && "PointerEvent" in window,
          emptyInsertThreshold: 5
        };

        _t.initializePlugins(this, t, o);

        for (var i in o) !(i in e) && (e[i] = o[i]);

        de(e);

        for (var r in this) "_" === r.charAt(0) && "function" == typeof this[r] && (this[r] = this[r].bind(this));

        this.nativeDraggable = !e.forceFallback && ae, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? d(t, "pointerdown", this._onTapStart) : (d(t, "mousedown", this._onTapStart), d(t, "touchstart", this._onTapStart)), this.nativeDraggable && (d(t, "dragover", this), d(t, "dragenter", this)), $t.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), n(this, Y());
      }

      function K(t) {
        t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
      }

      function W(t, e, n, o, i, r, a, l) {
        var s,
            c,
            u = t[wt],
            d = u.options.onMove;
        return !window.CustomEvent || ht || ft ? (s = document.createEvent("Event"), s.initEvent("move", !0, !0)) : s = new CustomEvent("move", {
          bubbles: !0,
          cancelable: !0
        }), s.to = e, s.from = t, s.dragged = n, s.draggedRect = o, s.related = i || e, s.relatedRect = r || E(e), s.willInsertAfter = l, s.originalEvent = a, t.dispatchEvent(s), d && (c = d.call(u, s, a)), c;
      }

      function z(t) {
        t.draggable = !1;
      }

      function G() {
        ne = !1;
      }

      function U(t, e, n) {
        var o = E(S(n.el, n.options.draggable));
        return e ? t.clientX > o.right + 10 || t.clientX <= o.right && t.clientY > o.bottom && t.clientX >= o.left : t.clientX > o.right && t.clientY > o.top || t.clientX <= o.right && t.clientY > o.bottom + 10;
      }

      function q(t, e, n, o, i, r, a, l) {
        var s = o ? t.clientY : t.clientX,
            c = o ? n.height : n.width,
            u = o ? n.top : n.left,
            d = o ? n.bottom : n.right,
            h = !1;
        if (!a) if (l && qt < c * i) {
          if (!Jt && (1 === Ut ? s > u + c * r / 2 : s < d - c * r / 2) && (Jt = !0), Jt) h = !0;else if (1 === Ut ? s < u + qt : s > d - qt) return -Ut;
        } else if (s > u + c * (1 - i) / 2 && s < d - c * (1 - i) / 2) return V(e);
        return h = h || a, h && (s < u + c * r / 2 || s > d - c * r / 2) ? s > u + c / 2 ? 1 : -1 : 0;
      }

      function V(t) {
        return C(Ct) < C(t) ? 1 : -1;
      }

      function Z(t) {
        for (var e = t.tagName + t.className + t.src + t.href + t.textContent, n = e.length, o = 0; n--;) o += e.charCodeAt(n);

        return o.toString(36);
      }

      function Q(t) {
        oe.length = 0;

        for (var e = t.getElementsByTagName("input"), n = e.length; n--;) {
          var o = e[n];
          o.checked && oe.push(o);
        }
      }

      function $(t) {
        return setTimeout(t, 0);
      }

      function J(t) {
        return clearTimeout(t);
      }

      function tt() {
        function t() {
          this.defaults = {
            scroll: !0,
            scrollSensitivity: 30,
            scrollSpeed: 10,
            bubbleScroll: !0
          };

          for (var t in this) "_" === t.charAt(0) && "function" == typeof this[t] && (this[t] = this[t].bind(this));
        }

        return t.prototype = {
          dragStarted: function dragStarted(t) {
            var e = t.originalEvent;
            this.sortable.nativeDraggable ? d(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? d(document, "pointermove", this._handleFallbackAutoScroll) : e.touches ? d(document, "touchmove", this._handleFallbackAutoScroll) : d(document, "mousemove", this._handleFallbackAutoScroll);
          },
          dragOverCompleted: function dragOverCompleted(t) {
            var e = t.originalEvent;
            this.options.dragOverBubble || e.rootEl || this._handleAutoScroll(e);
          },
          drop: function drop() {
            this.sortable.nativeDraggable ? h(document, "dragover", this._handleAutoScroll) : (h(document, "pointermove", this._handleFallbackAutoScroll), h(document, "touchmove", this._handleFallbackAutoScroll), h(document, "mousemove", this._handleFallbackAutoScroll)), nt(), et(), I();
          },
          nulling: function nulling() {
            we = me = ve = _e = Ee = be = ye = null, De.length = 0;
          },
          _handleFallbackAutoScroll: function _handleFallbackAutoScroll(t) {
            this._handleAutoScroll(t, !0);
          },
          _handleAutoScroll: function _handleAutoScroll(t, e) {
            var n = this,
                o = (t.touches ? t.touches[0] : t).clientX,
                i = (t.touches ? t.touches[0] : t).clientY,
                r = document.elementFromPoint(o, i);

            if (we = t, e || ft || ht || gt) {
              Se(t, this.options, r, e);
              var a = M(r, !0);
              !_e || Ee && o === be && i === ye || (Ee && nt(), Ee = setInterval(function () {
                var r = M(document.elementFromPoint(o, i), !0);
                r !== a && (a = r, et()), Se(t, n.options, r, e);
              }, 10), be = o, ye = i);
            } else {
              if (!this.options.bubbleScroll || M(r, !0) === w()) return void et();
              Se(t, this.options, M(r, !1), !1);
            }
          }
        }, n(t, {
          pluginName: "scroll",
          initializeByDefault: !0
        });
      }

      function et() {
        De.forEach(function (t) {
          clearInterval(t.pid);
        }), De = [];
      }

      function nt() {
        clearInterval(Ee);
      }

      function ot() {}

      function it() {}

      function rt() {
        function t() {
          this.defaults = {
            swapClass: "sortable-swap-highlight"
          };
        }

        return t.prototype = {
          dragStart: function dragStart(t) {
            var e = t.dragEl;
            Te = e;
          },
          dragOverValid: function dragOverValid(t) {
            var e = t.completed,
                n = t.target,
                o = t.onMove,
                i = t.activeSortable,
                r = t.changed,
                a = t.cancel;

            if (i.options.swap) {
              var l = this.sortable.el,
                  s = this.options;

              if (n && n !== l) {
                var c = Te;
                !1 !== o(n) ? (v(n, s.swapClass, !0), Te = n) : Te = null, c && c !== Te && v(c, s.swapClass, !1);
              }

              r(), e(!0), a();
            }
          },
          drop: function drop(t) {
            var e = t.activeSortable,
                n = t.putSortable,
                o = t.dragEl,
                i = n || this.sortable,
                r = this.options;
            Te && v(Te, r.swapClass, !1), Te && (r.swap || n && n.options.swap) && o !== Te && (i.captureAnimationState(), i !== e && e.captureAnimationState(), at(o, Te), i.animateAll(), i !== e && e.animateAll());
          },
          nulling: function nulling() {
            Te = null;
          }
        }, n(t, {
          pluginName: "swap",
          eventProperties: function eventProperties() {
            return {
              swapItem: Te
            };
          }
        });
      }

      function at(t, e) {
        var n,
            o,
            i = t.parentNode,
            r = e.parentNode;
        i && r && !i.isEqualNode(e) && !r.isEqualNode(t) && (n = C(t), o = C(e), i.isEqualNode(r) && n < o && o++, i.insertBefore(e, i.children[n]), r.insertBefore(t, r.children[o]));
      }

      function lt() {
        function t(t) {
          for (var e in this) "_" === e.charAt(0) && "function" == typeof this[e] && (this[e] = this[e].bind(this));

          t.options.supportPointer ? d(document, "pointerup", this._deselectMultiDrag) : (d(document, "mouseup", this._deselectMultiDrag), d(document, "touchend", this._deselectMultiDrag)), d(document, "keydown", this._checkKeyDown), d(document, "keyup", this._checkKeyUp), this.defaults = {
            selectedClass: "sortable-selected",
            multiDragKey: null,
            setData: function setData(e, n) {
              var o = "";
              Ie.length && Me === t ? Ie.forEach(function (t, e) {
                o += (e ? ", " : "") + t.textContent;
              }) : o = n.textContent, e.setData("Text", o);
            }
          };
        }

        return t.prototype = {
          multiDragKeyDown: !1,
          isMultiDrag: !1,
          delayStartGlobal: function delayStartGlobal(t) {
            var e = t.dragEl;
            Oe = e;
          },
          delayEnded: function delayEnded() {
            this.isMultiDrag = ~Ie.indexOf(Oe);
          },
          setupClone: function setupClone(t) {
            var e = t.sortable,
                n = t.cancel;

            if (this.isMultiDrag) {
              for (var o = 0; o < Ie.length; o++) Pe.push(k(Ie[o])), Pe[o].sortableIndex = Ie[o].sortableIndex, Pe[o].draggable = !1, Pe[o].style["will-change"] = "", v(Pe[o], this.options.selectedClass, !1), Ie[o] === Oe && v(Pe[o], this.options.chosenClass, !1);

              e._hideClone(), n();
            }
          },
          clone: function clone(t) {
            var e = t.sortable,
                n = t.rootEl,
                o = t.dispatchSortableEvent,
                i = t.cancel;
            this.isMultiDrag && (this.options.removeCloneOnHide || Ie.length && Me === e && (ct(!0, n), o("clone"), i()));
          },
          showClone: function showClone(t) {
            var e = t.cloneNowShown,
                n = t.rootEl,
                o = t.cancel;
            this.isMultiDrag && (ct(!1, n), Pe.forEach(function (t) {
              m(t, "display", "");
            }), e(), Ne = !1, o());
          },
          hideClone: function hideClone(t) {
            var e = this,
                n = (t.sortable, t.cloneNowHidden),
                o = t.cancel;
            this.isMultiDrag && (Pe.forEach(function (t) {
              m(t, "display", "none"), e.options.removeCloneOnHide && t.parentNode && t.parentNode.removeChild(t);
            }), n(), Ne = !0, o());
          },
          dragStartGlobal: function dragStartGlobal(t) {
            t.sortable;
            !this.isMultiDrag && Me && Me.multiDrag._deselectMultiDrag(), Ie.forEach(function (t) {
              t.sortableIndex = C(t);
            }), Ie = Ie.sort(function (t, e) {
              return t.sortableIndex - e.sortableIndex;
            }), Xe = !0;
          },
          dragStarted: function dragStarted(t) {
            var e = this,
                n = t.sortable;

            if (this.isMultiDrag) {
              if (this.options.sort && (n.captureAnimationState(), this.options.animation)) {
                Ie.forEach(function (t) {
                  t !== Oe && m(t, "position", "absolute");
                });
                var o = E(Oe, !1, !0, !0);
                Ie.forEach(function (t) {
                  t !== Oe && R(t, o);
                }), Re = !0, ke = !0;
              }

              n.animateAll(function () {
                Re = !1, ke = !1, e.options.animation && Ie.forEach(function (t) {
                  X(t);
                }), e.options.sort && ut();
              });
            }
          },
          dragOver: function dragOver(t) {
            var e = t.target,
                n = t.completed,
                o = t.cancel;
            Re && ~Ie.indexOf(e) && (n(!1), o());
          },
          revert: function revert(t) {
            var e = t.fromSortable,
                n = t.rootEl,
                o = t.sortable,
                i = t.dragRect;
            Ie.length > 1 && (Ie.forEach(function (t) {
              o.addAnimationState({
                target: t,
                rect: Re ? E(t) : i
              }), X(t), t.fromRect = i, e.removeAnimationState(t);
            }), Re = !1, st(!this.options.removeCloneOnHide, n));
          },
          dragOverCompleted: function dragOverCompleted(t) {
            var e = t.sortable,
                n = t.isOwner,
                o = t.insertion,
                i = t.activeSortable,
                r = t.parentEl,
                a = t.putSortable,
                l = this.options;

            if (o) {
              if (n && i._hideClone(), ke = !1, l.animation && Ie.length > 1 && (Re || !n && !i.options.sort && !a)) {
                var s = E(Oe, !1, !0, !0);
                Ie.forEach(function (t) {
                  t !== Oe && (R(t, s), r.appendChild(t));
                }), Re = !0;
              }

              if (!n) if (Re || ut(), Ie.length > 1) {
                var c = Ne;
                i._showClone(e), i.options.animation && !Ne && c && Pe.forEach(function (t) {
                  i.addAnimationState({
                    target: t,
                    rect: Ae
                  }), t.fromRect = Ae, t.thisAnimationDuration = null;
                });
              } else i._showClone(e);
            }
          },
          dragOverAnimationCapture: function dragOverAnimationCapture(t) {
            var e = t.dragRect,
                o = t.isOwner,
                i = t.activeSortable;

            if (Ie.forEach(function (t) {
              t.thisAnimationDuration = null;
            }), i.options.animation && !o && i.multiDrag.isMultiDrag) {
              Ae = n({}, e);
              var r = b(Oe, !0);
              Ae.top -= r.f, Ae.left -= r.e;
            }
          },
          dragOverAnimationComplete: function dragOverAnimationComplete() {
            Re && (Re = !1, ut());
          },
          drop: function drop(t) {
            var e = t.originalEvent,
                n = t.rootEl,
                o = t.parentEl,
                i = t.sortable,
                r = t.dispatchSortableEvent,
                a = t.oldIndex,
                l = t.putSortable,
                s = l || this.sortable;

            if (e) {
              var c = this.options,
                  u = o.children;
              if (!Xe) if (c.multiDragKey && !this.multiDragKeyDown && this._deselectMultiDrag(), v(Oe, c.selectedClass, !~Ie.indexOf(Oe)), ~Ie.indexOf(Oe)) Ie.splice(Ie.indexOf(Oe), 1), xe = null, H({
                sortable: i,
                rootEl: n,
                name: "deselect",
                targetEl: Oe,
                originalEvt: e
              });else {
                if (Ie.push(Oe), H({
                  sortable: i,
                  rootEl: n,
                  name: "select",
                  targetEl: Oe,
                  originalEvt: e
                }), e.shiftKey && xe && i.el.contains(xe)) {
                  var d = C(xe),
                      h = C(Oe);

                  if (~d && ~h && d !== h) {
                    var f, p;

                    for (h > d ? (p = d, f = h) : (p = h, f = d + 1); p < f; p++) ~Ie.indexOf(u[p]) || (v(u[p], c.selectedClass, !0), Ie.push(u[p]), H({
                      sortable: i,
                      rootEl: n,
                      name: "select",
                      targetEl: u[p],
                      originalEvt: e
                    }));
                  }
                } else xe = Oe;

                Me = s;
              }

              if (Xe && this.isMultiDrag) {
                if ((o[wt].options.sort || o !== n) && Ie.length > 1) {
                  var g = E(Oe),
                      m = C(Oe, ":not(." + this.options.selectedClass + ")");

                  if (!ke && c.animation && (Oe.thisAnimationDuration = null), s.captureAnimationState(), !ke && (c.animation && (Oe.fromRect = g, Ie.forEach(function (t) {
                    if (t.thisAnimationDuration = null, t !== Oe) {
                      var e = Re ? E(t) : g;
                      t.fromRect = e, s.addAnimationState({
                        target: t,
                        rect: e
                      });
                    }
                  })), ut(), Ie.forEach(function (t) {
                    u[m] ? o.insertBefore(t, u[m]) : o.appendChild(t), m++;
                  }), a === C(Oe))) {
                    var b = !1;
                    Ie.forEach(function (t) {
                      if (t.sortableIndex !== C(t)) return void (b = !0);
                    }), b && r("update");
                  }

                  Ie.forEach(function (t) {
                    X(t);
                  }), s.animateAll();
                }

                Me = s;
              }

              (n === o || l && "clone" !== l.lastPutMode) && Pe.forEach(function (t) {
                t.parentNode && t.parentNode.removeChild(t);
              });
            }
          },
          nullingGlobal: function nullingGlobal() {
            this.isMultiDrag = Xe = !1, Pe.length = 0;
          },
          destroyGlobal: function destroyGlobal() {
            this._deselectMultiDrag(), h(document, "pointerup", this._deselectMultiDrag), h(document, "mouseup", this._deselectMultiDrag), h(document, "touchend", this._deselectMultiDrag), h(document, "keydown", this._checkKeyDown), h(document, "keyup", this._checkKeyUp);
          },
          _deselectMultiDrag: function _deselectMultiDrag(t) {
            if (!Xe && Me === this.sortable && !(t && g(t.target, this.options.draggable, this.sortable.el, !1) || t && 0 !== t.button)) for (; Ie.length;) {
              var e = Ie[0];
              v(e, this.options.selectedClass, !1), Ie.shift(), H({
                sortable: this.sortable,
                rootEl: this.sortable.el,
                name: "deselect",
                targetEl: e,
                originalEvt: t
              });
            }
          },
          _checkKeyDown: function _checkKeyDown(t) {
            t.key === this.options.multiDragKey && (this.multiDragKeyDown = !0);
          },
          _checkKeyUp: function _checkKeyUp(t) {
            t.key === this.options.multiDragKey && (this.multiDragKeyDown = !1);
          }
        }, n(t, {
          pluginName: "multiDrag",
          utils: {
            select: function select(t) {
              var e = t.parentNode[wt];
              e && e.options.multiDrag && !~Ie.indexOf(t) && (Me && Me !== e && (Me.multiDrag._deselectMultiDrag(), Me = e), v(t, e.options.selectedClass, !0), Ie.push(t));
            },
            deselect: function deselect(t) {
              var e = t.parentNode[wt],
                  n = Ie.indexOf(t);
              e && e.options.multiDrag && ~n && (v(t, e.options.selectedClass, !1), Ie.splice(n, 1));
            }
          },
          eventProperties: function eventProperties() {
            var t = this,
                e = [],
                n = [];
            return Ie.forEach(function (o) {
              e.push({
                multiDragElement: o,
                index: o.sortableIndex
              });
              var i;
              i = Re && o !== Oe ? -1 : Re ? C(o, ":not(." + t.options.selectedClass + ")") : C(o), n.push({
                multiDragElement: o,
                index: i
              });
            }), {
              items: a(Ie),
              clones: [].concat(Pe),
              oldIndicies: e,
              newIndicies: n
            };
          },
          optionListeners: {
            multiDragKey: function multiDragKey(t) {
              return t = t.toLowerCase(), "ctrl" === t ? t = "Control" : t.length > 1 && (t = t.charAt(0).toUpperCase() + t.substr(1)), t;
            }
          }
        });
      }

      function st(t, e) {
        Ie.forEach(function (n, o) {
          var i = e.children[n.sortableIndex + (t ? Number(o) : 0)];
          i ? e.insertBefore(n, i) : e.appendChild(n);
        });
      }

      function ct(t, e) {
        Pe.forEach(function (n, o) {
          var i = e.children[n.sortableIndex + (t ? Number(o) : 0)];
          i ? e.insertBefore(n, i) : e.appendChild(n);
        });
      }

      function ut() {
        Ie.forEach(function (t) {
          t !== Oe && t.parentNode && t.parentNode.removeChild(t);
        });
      }

      var dt,
          ht = u(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),
          ft = u(/Edge/i),
          pt = u(/firefox/i),
          gt = u(/safari/i) && !u(/chrome/i) && !u(/android/i),
          vt = u(/iP(ad|od|hone)/i),
          mt = u(/chrome/i) && u(/android/i),
          bt = {
        capture: !1,
        passive: !1
      },
          yt = /\s+/g,
          wt = "Sortable" + new Date().getTime(),
          Et = [],
          Dt = {
        initializeByDefault: !0
      },
          _t = {
        mount: function mount(t) {
          for (var e in Dt) !Dt.hasOwnProperty(e) || e in t || (t[e] = Dt[e]);

          Et.push(t);
        },
        pluginEvent: function pluginEvent(t, e, n) {
          var i = this;
          this.eventCanceled = !1, n.cancel = function () {
            i.eventCanceled = !0;
          };
          var r = t + "Global";
          Et.forEach(function (i) {
            e[i.pluginName] && (e[i.pluginName][r] && e[i.pluginName][r](o({
              sortable: e
            }, n)), e.options[i.pluginName] && e[i.pluginName][t] && e[i.pluginName][t](o({
              sortable: e
            }, n)));
          });
        },
        initializePlugins: function initializePlugins(t, e, o, i) {
          Et.forEach(function (i) {
            var r = i.pluginName;

            if (t.options[r] || i.initializeByDefault) {
              var a = new i(t, e, t.options);
              a.sortable = t, a.options = t.options, t[r] = a, n(o, a.defaults);
            }
          });

          for (var r in t.options) if (t.options.hasOwnProperty(r)) {
            var a = this.modifyOption(t, r, t.options[r]);
            void 0 !== a && (t.options[r] = a);
          }
        },
        getEventProperties: function getEventProperties(t, e) {
          var o = {};
          return Et.forEach(function (i) {
            "function" == typeof i.eventProperties && n(o, i.eventProperties.call(e[i.pluginName], t));
          }), o;
        },
        modifyOption: function modifyOption(t, e, n) {
          var o;
          return Et.forEach(function (i) {
            t[i.pluginName] && i.optionListeners && "function" == typeof i.optionListeners[e] && (o = i.optionListeners[e].call(t[i.pluginName], n));
          }), o;
        }
      },
          St = function St(t, e) {
        var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
            i = n.evt,
            a = r(n, ["evt"]);

        _t.pluginEvent.bind(j)(t, e, o({
          dragEl: Ct,
          parentEl: Tt,
          ghostEl: xt,
          rootEl: Mt,
          nextEl: Ot,
          lastDownEl: At,
          cloneEl: Nt,
          cloneHidden: It,
          dragStarted: zt,
          putSortable: Bt,
          activeSortable: j.active,
          originalEvent: i,
          oldIndex: Pt,
          oldDraggableIndex: Rt,
          newIndex: kt,
          newDraggableIndex: Xt,
          hideGhostForTarget: he,
          unhideGhostForTarget: fe,
          cloneNowHidden: function cloneNowHidden() {
            It = !0;
          },
          cloneNowShown: function cloneNowShown() {
            It = !1;
          },
          dispatchSortableEvent: function dispatchSortableEvent(t) {
            L({
              sortable: e,
              name: t,
              originalEvent: i
            });
          }
        }, a));
      };

      if ("undefined" == typeof window || !window.document) throw new Error("Sortable.js requires a window with a document");

      var Ct,
          Tt,
          xt,
          Mt,
          Ot,
          At,
          Nt,
          It,
          Pt,
          kt,
          Rt,
          Xt,
          Yt,
          Bt,
          Ft,
          Ht,
          Lt,
          jt,
          Kt,
          Wt,
          zt,
          Gt,
          Ut,
          qt,
          Vt,
          Zt = !1,
          Qt = !1,
          $t = [],
          Jt = !1,
          te = !1,
          ee = [],
          ne = !1,
          oe = [],
          ie = vt,
          re = ft || ht ? "cssFloat" : "float",
          ae = !mt && !vt && "draggable" in document.createElement("div"),
          le = function () {
        if (ht) return !1;
        var t = document.createElement("x");
        return t.style.cssText = "pointer-events:auto", "auto" === t.style.pointerEvents;
      }(),
          se = function se(t, e) {
        var n = m(t),
            o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth),
            i = _(t, 0, e),
            r = _(t, 1, e),
            a = i && m(i),
            l = r && m(r),
            s = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + E(i).width,
            c = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + E(r).width;

        if ("flex" === n.display) return "column" === n.flexDirection || "column-reverse" === n.flexDirection ? "vertical" : "horizontal";
        if ("grid" === n.display) return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";

        if (i && a["float"] && "none" !== a["float"]) {
          var u = "left" === a["float"] ? "left" : "right";
          return !r || "both" !== l.clear && l.clear !== u ? "horizontal" : "vertical";
        }

        return i && ("block" === a.display || "flex" === a.display || "table" === a.display || "grid" === a.display || s >= o && "none" === n[re] || r && "none" === n[re] && s + c > o) ? "vertical" : "horizontal";
      },
          ce = function ce(t, e, n) {
        var o = n ? t.left : t.top,
            i = n ? t.right : t.bottom,
            r = n ? t.width : t.height,
            a = n ? e.left : e.top,
            l = n ? e.right : e.bottom,
            s = n ? e.width : e.height;
        return o === a || i === l || o + r / 2 === a + s / 2;
      },
          ue = function ue(t, e) {
        var n;
        return $t.some(function (o) {
          if (!S(o)) {
            var i = E(o),
                r = o[wt].options.emptyInsertThreshold,
                a = t >= i.left - r && t <= i.right + r,
                l = e >= i.top - r && e <= i.bottom + r;
            return r && a && l ? n = o : void 0;
          }
        }), n;
      },
          de = function de(e) {
        function n(t, e) {
          return function (o, i, r, a) {
            var l = o.options.group.name && i.options.group.name && o.options.group.name === i.options.group.name;
            if (null == t && (e || l)) return !0;
            if (null == t || !1 === t) return !1;
            if (e && "clone" === t) return t;
            if ("function" == typeof t) return n(t(o, i, r, a), e)(o, i, r, a);
            var s = (e ? o : i).options.group.name;
            return !0 === t || "string" == typeof t && t === s || t.join && t.indexOf(s) > -1;
          };
        }

        var o = {},
            i = e.group;
        i && "object" == t(i) || (i = {
          name: i
        }), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, e.group = o;
      },
          he = function he() {
        !le && xt && m(xt, "display", "none");
      },
          fe = function fe() {
        !le && xt && m(xt, "display", "");
      };

      document.addEventListener("click", function (t) {
        if (Qt) return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Qt = !1, !1;
      }, !0);

      var pe = function pe(t) {
        if (Ct) {
          t = t.touches ? t.touches[0] : t;
          var e = ue(t.clientX, t.clientY);

          if (e) {
            var n = {};

            for (var o in t) t.hasOwnProperty(o) && (n[o] = t[o]);

            n.target = n.rootEl = e, n.preventDefault = void 0, n.stopPropagation = void 0, e[wt]._onDragOver(n);
          }
        }
      },
          ge = function ge(t) {
        Ct && Ct.parentNode[wt]._isOutsideThisEl(t.target);
      };

      j.prototype = {
        constructor: j,
        _isOutsideThisEl: function _isOutsideThisEl(t) {
          this.el.contains(t) || t === this.el || (Gt = null);
        },
        _getDirection: function _getDirection(t, e) {
          return "function" == typeof this.options.direction ? this.options.direction.call(this, t, e, Ct) : this.options.direction;
        },
        _onTapStart: function _onTapStart(t) {
          if (t.cancelable) {
            var e = this,
                n = this.el,
                o = this.options,
                i = o.preventOnFilter,
                r = t.type,
                a = t.touches && t.touches[0] || t.pointerType && "touch" === t.pointerType && t,
                l = (a || t).target,
                s = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l,
                c = o.filter;

            if (Q(n), !Ct && !(/mousedown|pointerdown/.test(r) && 0 !== t.button || o.disabled || s.isContentEditable || (l = g(l, o.draggable, n, !1)) && l.animated || At === l)) {
              if (Pt = C(l), Rt = C(l, o.draggable), "function" == typeof c) {
                if (c.call(this, t, l, this)) return L({
                  sortable: e,
                  rootEl: s,
                  name: "filter",
                  targetEl: l,
                  toEl: n,
                  fromEl: n
                }), St("filter", e, {
                  evt: t
                }), void (i && t.cancelable && t.preventDefault());
              } else if (c && (c = c.split(",").some(function (o) {
                if (o = g(s, o.trim(), n, !1)) return L({
                  sortable: e,
                  rootEl: o,
                  name: "filter",
                  targetEl: l,
                  fromEl: n,
                  toEl: n
                }), St("filter", e, {
                  evt: t
                }), !0;
              }))) return void (i && t.cancelable && t.preventDefault());

              o.handle && !g(s, o.handle, n, !1) || this._prepareDragStart(t, a, l);
            }
          }
        },
        _prepareDragStart: function _prepareDragStart(t, e, n) {
          var o,
              i = this,
              r = i.el,
              a = i.options,
              l = r.ownerDocument;

          if (n && !Ct && n.parentNode === r) {
            var s = E(n);
            if (Mt = r, Ct = n, Tt = Ct.parentNode, Ot = Ct.nextSibling, At = n, Yt = a.group, j.dragged = Ct, Ft = {
              target: Ct,
              clientX: (e || t).clientX,
              clientY: (e || t).clientY
            }, Kt = Ft.clientX - s.left, Wt = Ft.clientY - s.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, Ct.style["will-change"] = "all", o = function o() {
              if (St("delayEnded", i, {
                evt: t
              }), j.eventCanceled) return void i._onDrop();
              i._disableDelayedDragEvents(), !pt && i.nativeDraggable && (Ct.draggable = !0), i._triggerDragStart(t, e), L({
                sortable: i,
                name: "choose",
                originalEvent: t
              }), v(Ct, a.chosenClass, !0);
            }, a.ignore.split(",").forEach(function (t) {
              y(Ct, t.trim(), z);
            }), d(l, "dragover", pe), d(l, "mousemove", pe), d(l, "touchmove", pe), d(l, "mouseup", i._onDrop), d(l, "touchend", i._onDrop), d(l, "touchcancel", i._onDrop), pt && this.nativeDraggable && (this.options.touchStartThreshold = 4, Ct.draggable = !0), St("delayStart", this, {
              evt: t
            }), !a.delay || a.delayOnTouchOnly && !e || this.nativeDraggable && (ft || ht)) o();else {
              if (j.eventCanceled) return void this._onDrop();
              d(l, "mouseup", i._disableDelayedDrag), d(l, "touchend", i._disableDelayedDrag), d(l, "touchcancel", i._disableDelayedDrag), d(l, "mousemove", i._delayedDragTouchMoveHandler), d(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && d(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(o, a.delay);
            }
          }
        },
        _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(t) {
          var e = t.touches ? t.touches[0] : t;
          Math.max(Math.abs(e.clientX - this._lastX), Math.abs(e.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
        },
        _disableDelayedDrag: function _disableDelayedDrag() {
          Ct && z(Ct), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
        },
        _disableDelayedDragEvents: function _disableDelayedDragEvents() {
          var t = this.el.ownerDocument;
          h(t, "mouseup", this._disableDelayedDrag), h(t, "touchend", this._disableDelayedDrag), h(t, "touchcancel", this._disableDelayedDrag), h(t, "mousemove", this._delayedDragTouchMoveHandler), h(t, "touchmove", this._delayedDragTouchMoveHandler), h(t, "pointermove", this._delayedDragTouchMoveHandler);
        },
        _triggerDragStart: function _triggerDragStart(t, e) {
          e = e || "touch" == t.pointerType && t, !this.nativeDraggable || e ? this.options.supportPointer ? d(document, "pointermove", this._onTouchMove) : e ? d(document, "touchmove", this._onTouchMove) : d(document, "mousemove", this._onTouchMove) : (d(Ct, "dragend", this), d(Mt, "dragstart", this._onDragStart));

          try {
            document.selection ? $(function () {
              document.selection.empty();
            }) : window.getSelection().removeAllRanges();
          } catch (t) {}
        },
        _dragStarted: function _dragStarted(t, e) {
          if (Zt = !1, Mt && Ct) {
            St("dragStarted", this, {
              evt: e
            }), this.nativeDraggable && d(document, "dragover", ge);
            var n = this.options;
            !t && v(Ct, n.dragClass, !1), v(Ct, n.ghostClass, !0), j.active = this, t && this._appendGhost(), L({
              sortable: this,
              name: "start",
              originalEvent: e
            });
          } else this._nulling();
        },
        _emulateDragOver: function _emulateDragOver() {
          if (Ht) {
            this._lastX = Ht.clientX, this._lastY = Ht.clientY, he();

            for (var t = document.elementFromPoint(Ht.clientX, Ht.clientY), e = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Ht.clientX, Ht.clientY)) !== e;) e = t;

            if (Ct.parentNode[wt]._isOutsideThisEl(t), e) do {
              if (e[wt]) {
                if (e[wt]._onDragOver({
                  clientX: Ht.clientX,
                  clientY: Ht.clientY,
                  target: t,
                  rootEl: e
                }) && !this.options.dragoverBubble) break;
              }

              t = e;
            } while (e = e.parentNode);
            fe();
          }
        },
        _onTouchMove: function _onTouchMove(t) {
          if (Ft) {
            var e = this.options,
                n = e.fallbackTolerance,
                o = e.fallbackOffset,
                i = t.touches ? t.touches[0] : t,
                r = xt && b(xt),
                a = xt && r && r.a,
                l = xt && r && r.d,
                s = ie && Vt && T(Vt),
                c = (i.clientX - Ft.clientX + o.x) / (a || 1) + (s ? s[0] - ee[0] : 0) / (a || 1),
                u = (i.clientY - Ft.clientY + o.y) / (l || 1) + (s ? s[1] - ee[1] : 0) / (l || 1);

            if (!j.active && !Zt) {
              if (n && Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) < n) return;

              this._onDragStart(t, !0);
            }

            if (xt) {
              r ? (r.e += c - (Lt || 0), r.f += u - (jt || 0)) : r = {
                a: 1,
                b: 0,
                c: 0,
                d: 1,
                e: c,
                f: u
              };
              var d = "matrix(".concat(r.a, ",").concat(r.b, ",").concat(r.c, ",").concat(r.d, ",").concat(r.e, ",").concat(r.f, ")");
              m(xt, "webkitTransform", d), m(xt, "mozTransform", d), m(xt, "msTransform", d), m(xt, "transform", d), Lt = c, jt = u, Ht = i;
            }

            t.cancelable && t.preventDefault();
          }
        },
        _appendGhost: function _appendGhost() {
          if (!xt) {
            var t = this.options.fallbackOnBody ? document.body : Mt,
                e = E(Ct, !0, ie, !0, t),
                n = this.options;

            if (ie) {
              for (Vt = t; "static" === m(Vt, "position") && "none" === m(Vt, "transform") && Vt !== document;) Vt = Vt.parentNode;

              Vt !== document.body && Vt !== document.documentElement ? (Vt === document && (Vt = w()), e.top += Vt.scrollTop, e.left += Vt.scrollLeft) : Vt = w(), ee = T(Vt);
            }

            xt = Ct.cloneNode(!0), v(xt, n.ghostClass, !1), v(xt, n.fallbackClass, !0), v(xt, n.dragClass, !0), m(xt, "transition", ""), m(xt, "transform", ""), m(xt, "box-sizing", "border-box"), m(xt, "margin", 0), m(xt, "top", e.top), m(xt, "left", e.left), m(xt, "width", e.width), m(xt, "height", e.height), m(xt, "opacity", "0.8"), m(xt, "position", ie ? "absolute" : "fixed"), m(xt, "zIndex", "100000"), m(xt, "pointerEvents", "none"), j.ghost = xt, t.appendChild(xt), m(xt, "transform-origin", Kt / parseInt(xt.style.width) * 100 + "% " + Wt / parseInt(xt.style.height) * 100 + "%");
          }
        },
        _onDragStart: function _onDragStart(t, e) {
          var n = this,
              o = t.dataTransfer,
              i = n.options;
          if (St("dragStart", this, {
            evt: t
          }), j.eventCanceled) return void this._onDrop();
          St("setupClone", this), j.eventCanceled || (Nt = k(Ct), Nt.draggable = !1, Nt.style["will-change"] = "", this._hideClone(), v(Nt, this.options.chosenClass, !1), j.clone = Nt), n.cloneId = $(function () {
            St("clone", n), j.eventCanceled || (n.options.removeCloneOnHide || Mt.insertBefore(Nt, Ct), n._hideClone(), L({
              sortable: n,
              name: "clone"
            }));
          }), !e && v(Ct, i.dragClass, !0), e ? (Qt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (h(document, "mouseup", n._onDrop), h(document, "touchend", n._onDrop), h(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", i.setData && i.setData.call(n, o, Ct)), d(document, "drop", n), m(Ct, "transform", "translateZ(0)")), Zt = !0, n._dragStartId = $(n._dragStarted.bind(n, e, t)), d(document, "selectstart", n), zt = !0, gt && m(document.body, "user-select", "none");
        },
        _onDragOver: function _onDragOver(t) {
          function e(e, n) {
            St(e, _, o({
              evt: t,
              isOwner: b,
              axis: c ? "vertical" : "horizontal",
              revert: s,
              dragRect: a,
              targetRect: l,
              canSort: y,
              fromSortable: w,
              target: d,
              completed: i,
              onMove: function onMove(e, n) {
                return W(Mt, u, Ct, a, e, E(e), t, n);
              },
              changed: r
            }, n));
          }

          function n() {
            e("dragOverAnimationCapture"), _.captureAnimationState(), _ !== w && w.captureAnimationState();
          }

          function i(n) {
            return e("dragOverCompleted", {
              insertion: n
            }), n && (b ? p._hideClone() : p._showClone(_), _ !== w && (v(Ct, Bt ? Bt.options.ghostClass : p.options.ghostClass, !1), v(Ct, h.ghostClass, !0)), Bt !== _ && _ !== j.active ? Bt = _ : _ === j.active && Bt && (Bt = null), w === _ && (_._ignoreWhileAnimating = d), _.animateAll(function () {
              e("dragOverAnimationComplete"), _._ignoreWhileAnimating = null;
            }), _ !== w && (w.animateAll(), w._ignoreWhileAnimating = null)), (d === Ct && !Ct.animated || d === u && !d.animated) && (Gt = null), h.dragoverBubble || t.rootEl || d === document || (Ct.parentNode[wt]._isOutsideThisEl(t.target), !n && pe(t)), !h.dragoverBubble && t.stopPropagation && t.stopPropagation(), T = !0;
          }

          function r() {
            kt = C(Ct), Xt = C(Ct, h.draggable), L({
              sortable: _,
              name: "change",
              toEl: u,
              newIndex: kt,
              newDraggableIndex: Xt,
              originalEvent: t
            });
          }

          var a,
              l,
              s,
              c,
              u = this.el,
              d = t.target,
              h = this.options,
              f = h.group,
              p = j.active,
              b = Yt === f,
              y = h.sort,
              w = Bt || p,
              _ = this,
              T = !1;

          if (!ne) {
            if (void 0 !== t.preventDefault && t.cancelable && t.preventDefault(), d = g(d, h.draggable, u, !0), e("dragOver"), j.eventCanceled) return T;
            if (Ct.contains(t.target) || d.animated && d.animatingX && d.animatingY || _._ignoreWhileAnimating === d) return i(!1);

            if (Qt = !1, p && !h.disabled && (b ? y || (s = !Mt.contains(Ct)) : Bt === this || (this.lastPutMode = Yt.checkPull(this, p, Ct, t)) && f.checkPut(this, p, Ct, t))) {
              if (c = "vertical" === this._getDirection(t, d), a = E(Ct), e("dragOverValid"), j.eventCanceled) return T;
              if (s) return Tt = Mt, n(), this._hideClone(), e("revert"), j.eventCanceled || (Ot ? Mt.insertBefore(Ct, Ot) : Mt.appendChild(Ct)), i(!0);
              var x = S(u, h.draggable);

              if (!x || U(t, c, this) && !x.animated) {
                if (x === Ct) return i(!1);
                if (x && u === t.target && (d = x), d && (l = E(d)), !1 !== W(Mt, u, Ct, a, d, l, t, !!d)) return n(), u.appendChild(Ct), Tt = u, r(), i(!0);
              } else if (d.parentNode === u) {
                l = E(d);
                var M,
                    O = 0,
                    A = Ct.parentNode !== u,
                    N = !ce(Ct.animated && Ct.toRect || a, d.animated && d.toRect || l, c),
                    I = c ? "top" : "left",
                    k = D(d, "top", "top") || D(Ct, "top", "top"),
                    R = k ? k.scrollTop : void 0;
                Gt !== d && (M = l[I], Jt = !1, te = !N && h.invertSwap || A), O = q(t, d, l, c, N ? 1 : h.swapThreshold, null == h.invertedSwapThreshold ? h.swapThreshold : h.invertedSwapThreshold, te, Gt === d);
                var X;

                if (0 !== O) {
                  var Y = C(Ct);

                  do {
                    Y -= O, X = Tt.children[Y];
                  } while (X && ("none" === m(X, "display") || X === xt));
                }

                if (0 === O || X === d) return i(!1);
                Gt = d, Ut = O;
                var B = d.nextElementSibling,
                    F = !1;
                F = 1 === O;
                var H = W(Mt, u, Ct, a, d, l, t, F);
                if (!1 !== H) return 1 !== H && -1 !== H || (F = 1 === H), ne = !0, setTimeout(G, 30), n(), F && !B ? u.appendChild(Ct) : d.parentNode.insertBefore(Ct, F ? B : d), k && P(k, 0, R - k.scrollTop), Tt = Ct.parentNode, void 0 === M || te || (qt = Math.abs(M - E(d)[I])), r(), i(!0);
              }

              if (u.contains(Ct)) return i(!1);
            }

            return !1;
          }
        },
        _ignoreWhileAnimating: null,
        _offMoveEvents: function _offMoveEvents() {
          h(document, "mousemove", this._onTouchMove), h(document, "touchmove", this._onTouchMove), h(document, "pointermove", this._onTouchMove), h(document, "dragover", pe), h(document, "mousemove", pe), h(document, "touchmove", pe);
        },
        _offUpEvents: function _offUpEvents() {
          var t = this.el.ownerDocument;
          h(t, "mouseup", this._onDrop), h(t, "touchend", this._onDrop), h(t, "pointerup", this._onDrop), h(t, "touchcancel", this._onDrop), h(document, "selectstart", this);
        },
        _onDrop: function _onDrop(t) {
          var e = this.el,
              n = this.options;
          if (kt = C(Ct), Xt = C(Ct, n.draggable), St("drop", this, {
            evt: t
          }), Tt = Ct && Ct.parentNode, kt = C(Ct), Xt = C(Ct, n.draggable), j.eventCanceled) return void this._nulling();
          Zt = !1, te = !1, Jt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), J(this.cloneId), J(this._dragStartId), this.nativeDraggable && (h(document, "drop", this), h(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), gt && m(document.body, "user-select", ""), t && (zt && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), xt && xt.parentNode && xt.parentNode.removeChild(xt), (Mt === Tt || Bt && "clone" !== Bt.lastPutMode) && Nt && Nt.parentNode && Nt.parentNode.removeChild(Nt), Ct && (this.nativeDraggable && h(Ct, "dragend", this), z(Ct), Ct.style["will-change"] = "", zt && !Zt && v(Ct, Bt ? Bt.options.ghostClass : this.options.ghostClass, !1), v(Ct, this.options.chosenClass, !1), L({
            sortable: this,
            name: "unchoose",
            toEl: Tt,
            newIndex: null,
            newDraggableIndex: null,
            originalEvent: t
          }), Mt !== Tt ? (kt >= 0 && (L({
            rootEl: Tt,
            name: "add",
            toEl: Tt,
            fromEl: Mt,
            originalEvent: t
          }), L({
            sortable: this,
            name: "remove",
            toEl: Tt,
            originalEvent: t
          }), L({
            rootEl: Tt,
            name: "sort",
            toEl: Tt,
            fromEl: Mt,
            originalEvent: t
          }), L({
            sortable: this,
            name: "sort",
            toEl: Tt,
            originalEvent: t
          })), Bt && Bt.save()) : kt !== Pt && kt >= 0 && (L({
            sortable: this,
            name: "update",
            toEl: Tt,
            originalEvent: t
          }), L({
            sortable: this,
            name: "sort",
            toEl: Tt,
            originalEvent: t
          })), j.active && (null != kt && -1 !== kt || (kt = Pt, Xt = Rt), L({
            sortable: this,
            name: "end",
            toEl: Tt,
            originalEvent: t
          }), this.save()))), this._nulling();
        },
        _nulling: function _nulling() {
          St("nulling", this), Mt = Ct = Tt = xt = Ot = Nt = At = It = Ft = Ht = zt = kt = Xt = Pt = Rt = Gt = Ut = Bt = Yt = j.dragged = j.ghost = j.clone = j.active = null, oe.forEach(function (t) {
            t.checked = !0;
          }), oe.length = Lt = jt = 0;
        },
        handleEvent: function handleEvent(t) {
          switch (t.type) {
            case "drop":
            case "dragend":
              this._onDrop(t);

              break;

            case "dragenter":
            case "dragover":
              Ct && (this._onDragOver(t), K(t));
              break;

            case "selectstart":
              t.preventDefault();
          }
        },
        toArray: function toArray() {
          for (var t, e = [], n = this.el.children, o = 0, i = n.length, r = this.options; o < i; o++) t = n[o], g(t, r.draggable, this.el, !1) && e.push(t.getAttribute(r.dataIdAttr) || Z(t));

          return e;
        },
        sort: function sort(t) {
          var e = {},
              n = this.el;
          this.toArray().forEach(function (t, o) {
            var i = n.children[o];
            g(i, this.options.draggable, n, !1) && (e[t] = i);
          }, this), t.forEach(function (t) {
            e[t] && (n.removeChild(e[t]), n.appendChild(e[t]));
          });
        },
        save: function save() {
          var t = this.options.store;
          t && t.set && t.set(this);
        },
        closest: function closest(t, e) {
          return g(t, e || this.options.draggable, this.el, !1);
        },
        option: function option(t, e) {
          var n = this.options;
          if (void 0 === e) return n[t];

          var o = _t.modifyOption(this, t, e);

          n[t] = void 0 !== o ? o : e, "group" === t && de(n);
        },
        destroy: function destroy() {
          St("destroy", this);
          var t = this.el;
          t[wt] = null, h(t, "mousedown", this._onTapStart), h(t, "touchstart", this._onTapStart), h(t, "pointerdown", this._onTapStart), this.nativeDraggable && (h(t, "dragover", this), h(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function (t) {
            t.removeAttribute("draggable");
          }), this._onDrop(), $t.splice($t.indexOf(this.el), 1), this.el = t = null;
        },
        _hideClone: function _hideClone() {
          if (!It) {
            if (St("hideClone", this), j.eventCanceled) return;
            m(Nt, "display", "none"), this.options.removeCloneOnHide && Nt.parentNode && Nt.parentNode.removeChild(Nt), It = !0;
          }
        },
        _showClone: function _showClone(t) {
          if ("clone" !== t.lastPutMode) return void this._hideClone();

          if (It) {
            if (St("showClone", this), j.eventCanceled) return;
            Mt.contains(Ct) && !this.options.group.revertClone ? Mt.insertBefore(Nt, Ct) : Ot ? Mt.insertBefore(Nt, Ot) : Mt.appendChild(Nt), this.options.group.revertClone && this.animate(Ct, Nt), m(Nt, "display", ""), It = !1;
          }
        }
      }, d(document, "touchmove", function (t) {
        (j.active || Zt) && t.cancelable && t.preventDefault();
      }), j.utils = {
        on: d,
        off: h,
        css: m,
        find: y,
        is: function is(t, e) {
          return !!g(t, e, t, !1);
        },
        extend: O,
        throttle: N,
        closest: g,
        toggleClass: v,
        clone: k,
        index: C,
        nextTick: $,
        cancelNextTick: J,
        detectDirection: se,
        getChild: _
      }, j.get = function (t) {
        return t[wt];
      }, j.mount = function () {
        for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++) e[n] = arguments[n];

        e[0].constructor === Array && (e = e[0]), e.forEach(function (t) {
          if (!t.prototype || !t.prototype.constructor) throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));
          t.utils && (j.utils = o({}, j.utils, t.utils)), _t.mount(t);
        });
      }, j.create = function (t, e) {
        return new j(t, e);
      }, j.version = "1.10.0";

      var ve,
          me,
          be,
          ye,
          we,
          Ee,
          De = [],
          _e = !1,
          Se = N(function (t, e, n, o) {
        if (e.scroll) {
          var i,
              r = (t.touches ? t.touches[0] : t).clientX,
              a = (t.touches ? t.touches[0] : t).clientY,
              l = e.scrollSensitivity,
              s = e.scrollSpeed,
              c = w(),
              u = !1;
          me !== n && (me = n, et(), ve = e.scroll, i = e.scrollFn, !0 === ve && (ve = M(n, !0)));
          var d = 0,
              h = ve;

          do {
            var f = h,
                p = E(f),
                g = p.top,
                v = p.bottom,
                b = p.left,
                y = p.right,
                D = p.width,
                _ = p.height,
                S = void 0,
                C = void 0,
                T = f.scrollWidth,
                x = f.scrollHeight,
                O = m(f),
                A = f.scrollLeft,
                N = f.scrollTop;
            f === c ? (S = D < T && ("auto" === O.overflowX || "scroll" === O.overflowX || "visible" === O.overflowX), C = _ < x && ("auto" === O.overflowY || "scroll" === O.overflowY || "visible" === O.overflowY)) : (S = D < T && ("auto" === O.overflowX || "scroll" === O.overflowX), C = _ < x && ("auto" === O.overflowY || "scroll" === O.overflowY));
            var I = S && (Math.abs(y - r) <= l && A + D < T) - (Math.abs(b - r) <= l && !!A),
                k = C && (Math.abs(v - a) <= l && N + _ < x) - (Math.abs(g - a) <= l && !!N);
            if (!De[d]) for (var R = 0; R <= d; R++) De[R] || (De[R] = {});
            De[d].vx == I && De[d].vy == k && De[d].el === f || (De[d].el = f, De[d].vx = I, De[d].vy = k, clearInterval(De[d].pid), 0 == I && 0 == k || (u = !0, De[d].pid = setInterval(function () {
              o && 0 === this.layer && j.active._onTouchMove(we);
              var e = De[this.layer].vy ? De[this.layer].vy * s : 0,
                  n = De[this.layer].vx ? De[this.layer].vx * s : 0;
              "function" == typeof i && "continue" !== i.call(j.dragged.parentNode[wt], n, e, t, we, De[this.layer].el) || P(De[this.layer].el, n, e);
            }.bind({
              layer: d
            }), 24))), d++;
          } while (e.bubbleScroll && h !== c && (h = M(h, !1)));

          _e = u;
        }
      }, 30),
          Ce = function Ce(t) {
        var e = t.originalEvent,
            n = t.putSortable,
            o = t.dragEl,
            i = t.activeSortable,
            r = t.dispatchSortableEvent,
            a = t.hideGhostForTarget,
            l = t.unhideGhostForTarget,
            s = n || i;
        a();
        var c = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e,
            u = document.elementFromPoint(c.clientX, c.clientY);
        l(), s && !s.el.contains(u) && (r("spill"), this.onSpill({
          dragEl: o,
          putSortable: n
        }));
      };

      ot.prototype = {
        startIndex: null,
        dragStart: function dragStart(t) {
          var e = t.oldDraggableIndex;
          this.startIndex = e;
        },
        onSpill: function onSpill(t) {
          var e = t.dragEl,
              n = t.putSortable;
          this.sortable.captureAnimationState(), n && n.captureAnimationState();

          var o = _(this.sortable.el, this.startIndex, this.options);

          o ? this.sortable.el.insertBefore(e, o) : this.sortable.el.appendChild(e), this.sortable.animateAll(), n && n.animateAll();
        },
        drop: Ce
      }, n(ot, {
        pluginName: "revertOnSpill"
      }), it.prototype = {
        onSpill: function onSpill(t) {
          var e = t.dragEl,
              n = t.putSortable,
              o = n || this.sortable;
          o.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), o.animateAll();
        },
        drop: Ce
      }, n(it, {
        pluginName: "removeOnSpill"
      });
      var Te,
          xe,
          Me,
          Oe,
          Ae,
          Ne,
          Ie = [],
          Pe = [],
          ke = !1,
          Re = !1,
          Xe = !1;
      return j.mount(new tt()), j.mount(it, ot), j.mount(new rt()), j.mount(new lt()), j;
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/nls/basemaps.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/nls/basemaps.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiNlsBasemapsJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'streets': 'Streets',
        'satellite': 'Imagery',
        'hybrid': 'Imagery with Labels',
        'terrain': 'Terrain with Labels',
        'topo': 'Topographic',
        'gray': 'Light Gray Canvas',
        'dark-gray': 'Dark Gray Canvas',
        'oceans': 'Oceans',
        'national-geographic': 'National Geographic',
        'osm': 'OpenStreetMap',
        'streets-night-vector': 'World Street Map (Night)',
        'streets-relief-vector': 'World Street Map (with Relief)',
        'streets-navigation-vector': 'World Navigation Map'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/nls/common.js":
  /*!**************************************************!*\
    !*** ./node_modules/arcgis-js-api/nls/common.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiNlsCommonJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'about': 'About',
        'add': 'Add',
        'all': 'All',
        'apply': 'Apply',
        'auth': {
          'logOut': 'Log out',
          'signIn': 'Sign in'
        },
        'back': 'Back',
        'cancel': 'Cancel',
        'change': 'Change',
        'clear': 'Clear',
        'close': 'Close',
        'collapse': 'Collapse',
        'configure': 'Configure',
        'control': {
          'pause': 'Pause',
          'play': 'Play',
          'resume': 'Resume',
          'stop': 'Stop'
        },
        'copy': 'Copy',
        'create': 'Create',
        'cut': 'Cut',
        'delete': 'Delete',
        'details': 'Details',
        'done': 'Done',
        'dragHandleTitle': 'drag/reorder',
        'dragHandleLabel': 'Activate the reorder button and use the arrow keys to reorder the list or use your mouse to drag/reorder. Press escape to cancel the reordering.',
        'edit': 'Edit',
        'error': 'Error',
        'esri': 'Esri',
        'exit': 'Exit',
        'expand': 'Expand',
        'fieldsSummary': 'List of attributes and values',
        'find': 'Find',
        'form': {
          'no': 'No',
          'ok': 'OK',
          'password': 'Password',
          'submit': 'Submit',
          'username': 'Username',
          'yes': 'Yes'
        },
        'help': 'Help',
        'home': 'Home',
        'info': 'Info',
        'information': 'Information',
        'layer': 'Layer',
        'loading': 'Loading',
        'maximize': 'Maximize',
        'menu': 'Menu',
        'more': 'More',
        'none': 'None',
        'open': 'Open',
        'pagination': {
          'first': 'First',
          'last': 'Last',
          'next': 'Next',
          'page': 'Page',
          'pageText': '{index} of {total}',
          'previous': 'Previous'
        },
        'paste': 'Paste',
        'preview': 'Preview',
        'print': 'Print',
        'publish': 'Publish',
        'redo': 'Redo',
        'refresh': 'Refresh',
        'remove': 'Remove',
        'rename': 'Rename',
        'reset': 'Reset',
        'restore': 'Restore',
        'save': 'Save',
        'search': 'Search',
        'searching': 'Searching',
        'select': 'Select',
        'settings': 'Settings',
        'sort': 'Sort',
        'share': 'Share',
        'title': 'Title',
        'untitled': 'Untitled',
        'unnamed': 'Unnamed',
        'update': 'Update',
        'upload': 'Upload',
        'undo': 'Undo',
        'view': 'View',
        'visibility': {
          'hide': 'Hide',
          'show': 'Show',
          'toggle': 'Toggle'
        },
        'warning': 'Warning'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/nls/vi/basemaps.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/nls/vi/basemaps.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiNlsViBasemapsJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      streets: "Đường phố",
      satellite: "Dữ liệu hình ảnh",
      hybrid: "Hình ảnh có Dán nhãn",
      terrain: "Địa hình có Dán nhãn",
      topo: "Địa hình",
      gray: "Bức vẽ xám nhạt",
      "dark-gray": "Bức vẽ xám đậm",
      oceans: "Đại dương",
      "national-geographic": "National Geographic",
      osm: "OpenStreetMap",
      "streets-night-vector": "Bản đồ Đường phố Thế giới (Ban đêm)",
      "streets-relief-vector": "Bản đồ Đường phố Thế giới (có Địa hình)",
      "streets-navigation-vector": "Bản đồ Điều hướng Thế giới"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/nls/vi/common.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/nls/vi/common.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiNlsViCommonJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      about: "Về",
      add: "Thêm",
      all: "Tất cả",
      apply: "Áp dụng",
      auth: {
        logOut: "Đăng xuất",
        signIn: "Đăng nhập"
      },
      back: "Quay lại",
      cancel: "Hủy",
      change: "Thay đổi",
      clear: "Xóa",
      close: "Đóng",
      collapse: "Thu gọn",
      configure: "Cấu hình",
      control: {
        pause: "Tạm dừng",
        play: "Phát",
        resume: "Tiếp tục",
        stop: "Dừng"
      },
      copy: "Sao chép",
      create: "Tạo",
      cut: "Cắt",
      "delete": "Xóa",
      details: "Chi tiết",
      done: "Hoàn tất",
      dragHandleTitle: "kéo/sắp xếp lại",
      dragHandleLabel: "Kích hoạt nút sắp xếp lại và sử dụng các phím mũi tên để sắp xếp lại danh sách hoặc sử dụng chuột để kéo/sắp xếp lại. Nhấn thoát để hủy sắp xếp lại.",
      edit: "Chỉnh sửa",
      error: "Lỗi",
      esri: "Esri",
      exit: "Thoát",
      expand: "Mở rộng",
      fieldsSummary: "Danh sách các thuộc tính và giá trị",
      find: "Tìm",
      form: {
        no: "Không",
        ok: "OK",
        password: "Mật khẩu",
        submit: "Đệ trình",
        username: "Tên đăng nhập",
        yes: "Có"
      },
      help: "Trợ giúp",
      home: "Trang chủ",
      info: "Thông tin",
      information: "Thông tin",
      layer: "Lớp",
      loading: "Đang tải",
      maximize: "Phóng đại",
      menu: "Menu",
      more: "Khác",
      none: "Không có",
      open: "Mở",
      pagination: {
        first: "Đầu tiên",
        last: "Cuối cùng",
        next: "Tiếp",
        page: "Trang",
        pageText: "{index} trên {total}",
        previous: "Trước"
      },
      paste: "Dán",
      preview: "Xem trước",
      print: "In",
      publish: "Xuất bản",
      redo: "Làm lại",
      refresh: "Làm mới",
      remove: "Gỡ",
      rename: "Đổi tên",
      reset: "Thiết lập lại",
      restore: "Khôi phục",
      save: "Lưu",
      search: "Tìm kiếm",
      searching: "Đang tìm kiếm",
      select: "Chọn",
      settings: "Thiết lập",
      sort: "Sắp xếp",
      share: "Chia sẻ",
      title: "Tiêu đề",
      untitled: "Chưa có tiêu đề",
      unnamed: "Vô danh",
      update: "Cập nhật",
      upload: "Tải lên",
      undo: "Hoàn tác",
      view: "Xem",
      visibility: {
        hide: "Ẩn",
        show: "Hiển thị",
        toggle: "Chuyển đổi"
      },
      warning: "Cảnh báo"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/ExpressionInfo.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/ExpressionInfo.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupExpressionInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, n) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.name = null, t.title = null, t.expression = null, t.returnType = null, t;
        }

        t(r, e), p = r, r.prototype.clone = function () {
          return new p({
            name: this.name,
            title: this.title,
            expression: this.expression,
            returnType: this.returnType
          });
        };
        var p;
        return o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "name", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "title", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "expression", void 0), o([n.property({
          type: ["string", "number"],
          json: {
            write: !0
          }
        })], r.prototype, "returnType", void 0), r = p = o([n.subclass("esri.popup.ExpressionInfo")], r);
      }(n.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/FieldInfo.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/FieldInfo.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupFieldInfoJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./support/FieldInfoFormat */
    "./node_modules/arcgis-js-api/popup/support/FieldInfoFormat.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, i, r, p, n, l, s) {
      var a = new r["default"]({
        richtext: "rich-text",
        textarea: "text-area",
        textbox: "text-box"
      });
      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o.fieldName = null, o.format = null, o.isEditable = !1, o.label = null, o.stringFieldOption = "text-box", o.statisticType = null, o.tooltip = null, o.visible = !0, o;
        }

        o(e, t), r = e, e.prototype.writeStringFieldOption = function (t, e) {
          e.stringFieldOption = a.toJSON(t);
        }, e.prototype.readStringFieldOption = function (t) {
          if (t) return a.fromJSON(t);
        }, e.prototype.clone = function () {
          return new r({
            fieldName: this.fieldName,
            format: this.format ? n.clone(this.format) : null,
            isEditable: this.isEditable,
            label: this.label,
            stringFieldOption: this.stringFieldOption,
            statisticType: this.statisticType,
            tooltip: this.tooltip,
            visible: this.visible
          });
        };
        var r;
        return i([l.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "fieldName", void 0), i([l.property({
          type: s,
          json: {
            write: !0
          }
        })], e.prototype, "format", void 0), i([l.property({
          type: Boolean,
          json: {
            write: !0,
            "default": !1
          }
        })], e.prototype, "isEditable", void 0), i([l.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "label", void 0), i([l.property({
          type: a.apiValues,
          json: {
            write: !0,
            "default": "text-box",
            type: a.jsonValues
          }
        })], e.prototype, "stringFieldOption", void 0), i([l.writer("stringFieldOption")], e.prototype, "writeStringFieldOption", null), i([l.reader("stringFieldOption")], e.prototype, "readStringFieldOption", null), i([l.property({
          type: ["count", "sum", "min", "max", "avg", "stddev", "var"],
          json: {
            write: !0
          }
        })], e.prototype, "statisticType", void 0), i([l.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "tooltip", void 0), i([l.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], e.prototype, "visible", void 0), e = r = i([l.subclass("esri.popup.FieldInfo")], e);
      }(l.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/LayerOptions.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/LayerOptions.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupLayerOptionsJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, r, e, t, s, p) {
      return function (o) {
        function r(r) {
          var e = o.call(this, r) || this;
          return e.returnTopmostRaster = null, e.showNoDataRecords = null, e;
        }

        e(r, o), s = r, r.prototype.clone = function () {
          return new s({
            showNoDataRecords: this.showNoDataRecords,
            returnTopmostRaster: this.returnTopmostRaster
          });
        };
        var s;
        return t([p.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], r.prototype, "returnTopmostRaster", void 0), t([p.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], r.prototype, "showNoDataRecords", void 0), r = s = t([p.subclass("esri.popup.LayerOptions")], r);
      }(p.declared(s.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/RelatedRecordsInfo.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/RelatedRecordsInfo.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupRelatedRecordsInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./support/RelatedRecordsInfoFieldOrder */
    "./node_modules/arcgis-js-api/popup/support/RelatedRecordsInfoFieldOrder.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, s, d, p, l) {
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.showRelatedRecords = null, o.orderByFields = null, o;
        }

        o(r, e), s = r, r.prototype.clone = function () {
          return new s({
            showRelatedRecords: this.showRelatedRecords,
            orderByFields: this.orderByFields ? d.clone(this.orderByFields) : null
          });
        };
        var s;
        return t([p.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], r.prototype, "showRelatedRecords", void 0), t([p.property({
          type: [l],
          json: {
            write: !0
          }
        })], r.prototype, "orderByFields", void 0), r = s = t([p.subclass("esri.popup.RelatedRecordsInfo")], r);
      }(p.declared(s.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentJs(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__(
    /*! ./content/AttachmentsContent */
    "./node_modules/arcgis-js-api/popup/content/AttachmentsContent.js"), __webpack_require__(
    /*! ./content/Content */
    "./node_modules/arcgis-js-api/popup/content/Content.js"), __webpack_require__(
    /*! ./content/FieldsContent */
    "./node_modules/arcgis-js-api/popup/content/FieldsContent.js"), __webpack_require__(
    /*! ./content/MediaContent */
    "./node_modules/arcgis-js-api/popup/content/MediaContent.js"), __webpack_require__(
    /*! ./content/TextContent */
    "./node_modules/arcgis-js-api/popup/content/TextContent.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, o, C, a, i) {
      function s(t) {
        return t instanceof e.BaseContent;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.AttachmentsContent = n, e.BaseContent = o, e.FieldsContent = C, e.MediaContent = a, e.TextContent = i, e.isContent = s, e.types = {
        base: null,
        key: "type",
        typeMap: {
          attachment: e.AttachmentsContent,
          fields: e.FieldsContent,
          media: e.MediaContent,
          text: e.TextContent
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/AttachmentsContent.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/AttachmentsContent.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentAttachmentsContentJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../layers/support/AttachmentInfo */
    "./node_modules/arcgis-js-api/layers/support/AttachmentInfo.js"), __webpack_require__(
    /*! ./Content */
    "./node_modules/arcgis-js-api/popup/content/Content.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, o, p, a, s) {
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.attachmentInfos = null, r.displayType = null, r.type = "attachments", r;
        }

        r(e, t), s = e, e.prototype.clone = function () {
          return new s({
            displayType: this.displayType,
            attachmentInfos: this.attachmentInfos ? o.clone(this.attachmentInfos) : null
          });
        };
        var s;
        return n([p.property({
          type: [a]
        })], e.prototype, "attachmentInfos", void 0), n([p.property({
          type: ["preview", "list"],
          json: {
            write: !0
          }
        })], e.prototype, "displayType", void 0), n([p.property({
          type: ["attachments"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], e.prototype, "type", void 0), e = s = n([p.subclass("esri.popup.content.AttachmentsContent")], e);
      }(p.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/BarChartMediaInfo.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/BarChartMediaInfo.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentBarChartMediaInfoJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./mixins/ChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js"), __webpack_require__(
    /*! ./support/chartMediaInfoUtils */
    "./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, a, n, i) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "bar-chart", r;
        }

        r(t, e), n = t, t.prototype.clone = function () {
          return new n({
            title: this.title,
            caption: this.caption,
            value: this.value ? this.value.clone() : null
          });
        };
        var n;
        return o([a.property({
          type: ["bar-chart"],
          readOnly: !0,
          json: {
            read: !1,
            write: i.chartTypeKebabDict.write
          }
        })], t.prototype, "type", void 0), t = n = o([a.subclass("esri.popup.content.BarChartMediaInfo")], t);
      }(a.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/ColumnChartMediaInfo.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/ColumnChartMediaInfo.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentColumnChartMediaInfoJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./mixins/ChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js"), __webpack_require__(
    /*! ./support/chartMediaInfoUtils */
    "./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, c, i) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "column-chart", r;
        }

        r(t, e), c = t, t.prototype.clone = function () {
          return new c({
            title: this.title,
            caption: this.caption,
            value: this.value ? this.value.clone() : null
          });
        };
        var c;
        return o([n.property({
          type: ["column-chart"],
          readOnly: !0,
          json: {
            read: !1,
            write: i.chartTypeKebabDict.write
          }
        })], t.prototype, "type", void 0), t = c = o([n.subclass("esri.popup.content.ColumnChartMediaInfo")], t);
      }(n.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/Content.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/Content.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentContentJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, p, n) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = null, r;
        }

        return r(t, e), o([n.property({
          type: ["attachments", "fields", "media", "text"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], t.prototype, "type", void 0), t = o([n.subclass("esri.popup.content.Content")], t);
      }(n.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/FieldsContent.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/FieldsContent.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentFieldsContentJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../FieldInfo */
    "./node_modules/arcgis-js-api/popup/FieldInfo.js"), __webpack_require__(
    /*! ./Content */
    "./node_modules/arcgis-js-api/popup/content/Content.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, i, p, l) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.fieldInfos = null, t.type = "fields", t;
        }

        t(r, e), l = r, r.prototype.writeFieldInfos = function (e, r) {
          r.fieldInfos = e && e.map(function (e) {
            return e.toJSON();
          });
        }, r.prototype.clone = function () {
          return new l({
            fieldInfos: Array.isArray(this.fieldInfos) ? n.clone(this.fieldInfos) : null
          });
        };
        var l;
        return o([i.property({
          type: [p]
        })], r.prototype, "fieldInfos", void 0), o([i.writer("fieldInfos")], r.prototype, "writeFieldInfos", null), o([i.property({
          type: ["fields"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], r.prototype, "type", void 0), r = l = o([i.subclass("esri.popup.content.FieldsContent")], r);
      }(i.declared(l));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/ImageMediaInfo.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/ImageMediaInfo.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentImageMediaInfoJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./mixins/MediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/MediaInfo.js"), __webpack_require__(
    /*! ./support/ImageMediaInfoValue */
    "./node_modules/arcgis-js-api/popup/content/support/ImageMediaInfoValue.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, i) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.refreshInterval = null, t.type = "image", t.value = null, t;
        }

        t(r, e), p = r, r.prototype.clone = function () {
          return new p({
            title: this.title,
            caption: this.caption,
            refreshInterval: this.refreshInterval,
            value: this.value ? this.value.clone() : null
          });
        };
        var p;
        return o([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "refreshInterval", void 0), o([n.property({
          type: ["image"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], r.prototype, "type", void 0), o([n.property({
          type: i,
          json: {
            write: !0
          }
        })], r.prototype, "value", void 0), r = p = o([n.subclass("esri.popup.content.ImageMediaInfo")], r);
      }(n.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/LineChartMediaInfo.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/LineChartMediaInfo.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentLineChartMediaInfoJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./mixins/ChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js"), __webpack_require__(
    /*! ./support/chartMediaInfoUtils */
    "./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, a) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "line-chart", r;
        }

        r(t, e), i = t, t.prototype.clone = function () {
          return new i({
            title: this.title,
            caption: this.caption,
            value: this.value ? this.value.clone() : null
          });
        };
        var i;
        return o([n.property({
          type: ["line-chart"],
          readOnly: !0,
          json: {
            read: !1,
            write: a.chartTypeKebabDict.write
          }
        })], t.prototype, "type", void 0), t = i = o([n.subclass("esri.popup.content.LineChartMediaInfo")], t);
      }(n.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/MediaContent.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/MediaContent.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentMediaContentJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./BarChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/BarChartMediaInfo.js"), __webpack_require__(
    /*! ./ColumnChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/ColumnChartMediaInfo.js"), __webpack_require__(
    /*! ./Content */
    "./node_modules/arcgis-js-api/popup/content/Content.js"), __webpack_require__(
    /*! ./ImageMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/ImageMediaInfo.js"), __webpack_require__(
    /*! ./LineChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/LineChartMediaInfo.js"), __webpack_require__(
    /*! ./PieChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/PieChartMediaInfo.js"), __webpack_require__(
    /*! ./support/mediaInfoTypes */
    "./node_modules/arcgis-js-api/popup/content/support/mediaInfoTypes.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, t, r, n, a, i, p, d, f, s, c, u) {
      return function (e) {
        function o(o) {
          var t = e.call(this, o) || this;
          return t.mediaInfos = null, t.type = "media", t;
        }

        t(o, e), d = o, o.prototype.readMediaInfos = function (e) {
          return e && e.map(function (e) {
            return "image" === e.type ? f.fromJSON(e) : "barchart" === e.type ? i.fromJSON(e) : "columnchart" === e.type ? p.fromJSON(e) : "linechart" === e.type ? s.fromJSON(e) : "piechart" === e.type ? c.fromJSON(e) : void 0;
          }).filter(Boolean);
        }, o.prototype.writeMediaInfos = function (e, o) {
          o.mediaInfos = e && e.map(function (e) {
            return e.toJSON();
          });
        }, o.prototype.clone = function () {
          return new d({
            mediaInfos: this.mediaInfos ? n.clone(this.mediaInfos) : null
          });
        };
        var d;
        return r([a.property({
          types: [u.types]
        })], o.prototype, "mediaInfos", void 0), r([a.reader("mediaInfos")], o.prototype, "readMediaInfos", null), r([a.writer("mediaInfos")], o.prototype, "writeMediaInfos", null), r([a.property({
          type: ["media"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], o.prototype, "type", void 0), o = d = r([a.subclass("esri.popup.content.MediaContent")], o);
      }(a.declared(d));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/PieChartMediaInfo.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/PieChartMediaInfo.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentPieChartMediaInfoJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./mixins/ChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js"), __webpack_require__(
    /*! ./support/chartMediaInfoUtils */
    "./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, p) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "pie-chart", r;
        }

        r(t, e), n = t, t.prototype.clone = function () {
          return new n({
            title: this.title,
            caption: this.caption,
            value: this.value ? this.value.clone() : null
          });
        };
        var n;
        return o([i.property({
          type: ["pie-chart"],
          readOnly: !0,
          json: {
            read: !1,
            write: p.chartTypeKebabDict.write
          }
        })], t.prototype, "type", void 0), t = n = o([i.subclass("esri.popup.content.PieChartMediaInfo")], t);
      }(i.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/TextContent.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/TextContent.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentTextContentJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Content */
    "./node_modules/arcgis-js-api/popup/content/Content.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, n, p) {
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.text = null, r.type = "text", r;
        }

        r(e, t), p = e, e.prototype.clone = function () {
          return new p({
            text: this.text
          });
        };
        var p;
        return o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "text", void 0), o([n.property({
          type: ["text"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], e.prototype, "type", void 0), e = p = o([n.subclass("esri.popup.content.TextContent")], e);
      }(n.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/mixins/ChartMediaInfo.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentMixinsChartMediaInfoJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./MediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/MediaInfo.js"), __webpack_require__(
    /*! ../support/ChartMediaInfoValue */
    "./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValue.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, n, a) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.type = null, t.value = null, t;
        }

        return t(r, e), o([p.property({
          type: ["bar-chart", "column-chart", "line-chart", "pie-chart"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], r.prototype, "type", void 0), o([p.property({
          type: a,
          json: {
            write: !0
          }
        })], r.prototype, "value", void 0), r = o([p.subclass("esri.popup.content.mixins.ChartMediaInfo")], r);
      }(p.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/mixins/MediaInfo.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/mixins/MediaInfo.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentMixinsMediaInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, p, i) {
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.caption = "", r.title = "", r.type = null, r;
        }

        return r(e, t), o([i.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "caption", void 0), o([i.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "title", void 0), o([i.property({
          type: ["image", "bar-chart", "column-chart", "line-chart", "pie-chart"],
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], e.prototype, "type", void 0), e = o([i.subclass("esri.popup.content.mixins.MediaInfo")], e);
      }(i.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValue.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValue.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentSupportChartMediaInfoValueJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ChartMediaInfoValueSeries */
    "./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValueSeries.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, i, p, l, n) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.fields = [], t.normalizeField = null, t.series = [], t.tooltipField = null, t;
        }

        t(r, e), i = r, r.prototype.clone = function () {
          return new i({
            fields: p.clone(this.fields),
            normalizeField: this.normalizeField,
            tooltipField: this.tooltipField
          });
        };
        var i;
        return o([l.property({
          type: [String],
          json: {
            write: !0
          }
        })], r.prototype, "fields", void 0), o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "normalizeField", void 0), o([l.property({
          type: [n],
          json: {
            read: !1
          }
        })], r.prototype, "series", void 0), o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "tooltipField", void 0), r = i = o([l.subclass("esri.popup.content.support.ChartMediaInfoValue")], r);
      }(l.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValueSeries.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/support/ChartMediaInfoValueSeries.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentSupportChartMediaInfoValueSeriesJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, o, r, e, p, n) {
      return function (t) {
        function o(o) {
          var r = t.call(this, o) || this;
          return r.tooltip = null, r.x = null, r.y = null, r;
        }

        r(o, t), p = o, o.prototype.clone = function () {
          return new p({
            tooltip: this.tooltip,
            x: this.x,
            y: this.y
          });
        };
        var p;
        return e([n.property()], o.prototype, "tooltip", void 0), e([n.property()], o.prototype, "x", void 0), e([n.property()], o.prototype, "y", void 0), o = p = e([n.subclass("esri.popup.content.support.ChartMediaInfoValueSeries")], o);
      }(n.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/support/ImageMediaInfoValue.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/support/ImageMediaInfoValue.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentSupportImageMediaInfoValueJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, p, n) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.linkURL = null, t.sourceURL = null, t;
        }

        t(e, r), p = e, e.prototype.clone = function () {
          return new p({
            linkURL: this.linkURL,
            sourceURL: this.sourceURL
          });
        };
        var p;
        return o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "linkURL", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "sourceURL", void 0), e = p = o([n.subclass("esri.popup.content.support.ImageMediaInfoValue")], e);
      }(n.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/support/chartMediaInfoUtils.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentSupportChartMediaInfoUtilsJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, c) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.chartTypeKebabDict = c.strict()({
        barchart: "bar-chart",
        columnchart: "column-chart",
        linechart: "line-chart",
        piechart: "pie-chart"
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/content/support/mediaInfoTypes.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/content/support/mediaInfoTypes.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupContentSupportMediaInfoTypesJs(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__(
    /*! ../BarChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/BarChartMediaInfo.js"), __webpack_require__(
    /*! ../ColumnChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/ColumnChartMediaInfo.js"), __webpack_require__(
    /*! ../ImageMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/ImageMediaInfo.js"), __webpack_require__(
    /*! ../LineChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/LineChartMediaInfo.js"), __webpack_require__(
    /*! ../PieChartMediaInfo */
    "./node_modules/arcgis-js-api/popup/content/PieChartMediaInfo.js"), __webpack_require__(
    /*! ../mixins/MediaInfo */
    "./node_modules/arcgis-js-api/popup/content/mixins/MediaInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, i, t, n, r, o, d) {
      Object.defineProperty(a, "__esModule", {
        value: !0
      }), a.types = {
        base: d,
        key: "type",
        defaultKeyValue: "image",
        typeMap: {
          "bar-chart": i,
          "column-chart": t,
          "line-chart": r,
          "pie-chart": o,
          image: n
        }
      }, a["default"] = a.types;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/support/FieldInfoFormat.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/support/FieldInfoFormat.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupSupportFieldInfoFormatJs(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/date */
    "./node_modules/arcgis-js-api/core/date.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../intl/date */
    "./node_modules/arcgis-js-api/intl/date.js"), __webpack_require__(
    /*! ../../intl/number */
    "./node_modules/arcgis-js-api/intl/number.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, o, a, p, i, n, s, c) {
      return function (t) {
        function r(r) {
          var e = t.call(this, r) || this;
          return e.dateFormat = null, e.digitSeparator = !1, e.places = null, e;
        }

        e(r, t), p = r, r.prototype.clone = function () {
          return new p({
            dateFormat: this.dateFormat,
            digitSeparator: this.digitSeparator,
            places: this.places
          });
        }, r.prototype.format = function (t) {
          return this.dateFormat ? s.formatDate(t, s.convertDateFormatToIntlOptions(this.dateFormat)) : c.formatNumber(t, c.convertNumberFormatToIntlOptions(this));
        };
        var p;
        return o([i.enumeration.serializable()(a.dictionary)], r.prototype, "dateFormat", void 0), o([i.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], r.prototype, "digitSeparator", void 0), o([i.property({
          type: n.Integer,
          json: {
            write: !0
          }
        })], r.prototype, "places", void 0), r = p = o([i.subclass("esri.popup.support.FieldInfoFormat")], r);
      }(i.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/popup/support/RelatedRecordsInfoFieldOrder.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/popup/support/RelatedRecordsInfoFieldOrder.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPopupSupportRelatedRecordsInfoFieldOrderJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, o, t, p, d) {
      return function (r) {
        function e(e) {
          var o = r.call(this, e) || this;
          return o.field = null, o.order = null, o;
        }

        o(e, r), p = e, e.prototype.clone = function () {
          return new p({
            field: this.field,
            order: this.order
          });
        };
        var p;
        return t([d.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "field", void 0), t([d.property({
          type: ["asc", "desc"],
          json: {
            write: !0
          }
        })], e.prototype, "order", void 0), e = p = t([d.subclass("esri.popup.support.RelatedRecordsInfoFieldOrder")], e);
      }(d.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/Portal.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/Portal.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js"), __webpack_require__(
    /*! dojo/_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ../kernel */
    "./node_modules/arcgis-js-api/kernel.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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./PortalQueryParams */
    "./node_modules/arcgis-js-api/portal/PortalQueryParams.js"), __webpack_require__(
    /*! ./PortalQueryResult */
    "./node_modules/arcgis-js-api/portal/PortalQueryResult.js"), __webpack_require__(
    /*! ./PortalUser */
    "./node_modules/arcgis-js-api/portal/PortalUser.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, i, p, u, a, s, l, c, y, d, h, f, v, m, S, g, P, b, O, _) {
      var w,
          U = {
        PortalGroup: function PortalGroup() {
          return m.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./PortalGroup */
              "./node_modules/arcgis-js-api/portal/PortalGroup.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        PortalItem: function PortalItem() {
          return m.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./PortalItem */
              "./node_modules/arcgis-js-api/portal/PortalItem.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        },
        PortalUser: function PortalUser() {
          return m.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./PortalUser */
              "./node_modules/arcgis-js-api/portal/PortalUser.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          });
        }
      };
      return function (r) {
        function u(e) {
          var t = r.call(this, e) || this;
          return t.access = null, t.allSSL = !1, t.authMode = "auto", t.authorizedCrossOriginDomains = null, t.basemapGalleryGroupQuery = null, t.bingKey = null, t.canListApps = !1, t.canListData = !1, t.canListPreProvisionedItems = !1, t.canProvisionDirectPurchase = !1, t.canSearchPublic = !0, t.canShareBingPublic = !1, t.canSharePublic = !1, t.canSignInArcGIS = !1, t.canSignInIDP = !1, t.colorSetsGroupQuery = null, t.commentsEnabled = !1, t.created = null, t.culture = null, t.customBaseUrl = null, t.defaultBasemap = null, t.defaultExtent = null, t.defaultVectorBasemap = null, t.description = null, t.eueiEnabled = !1, t.featuredGroups = null, t.featuredItemsGroupQuery = null, t.galleryTemplatesGroupQuery = null, t.livingAtlasGroupQuery = null, t.hasCategorySchema = !1, t.helperServices = null, t.homePageFeaturedContent = null, t.homePageFeaturedContentCount = null, t.httpPort = null, t.httpsPort = null, t.id = null, t.ipCntryCode = null, t.isPortal = !1, t.isReadOnly = !1, t.layerTemplatesGroupQuery = null, t.maxTokenExpirationMinutes = null, t.modified = null, t.name = null, t.portalHostname = null, t.portalMode = null, t.portalProperties = null, t.region = null, t.rotatorPanels = null, t.showHomePageDescription = !1, t.sourceJSON = null, t.supportsHostedServices = !1, t.symbolSetsGroupQuery = null, t.templatesGroupQuery = null, t.units = null, t.url = s.portalUrl, t.urlKey = null, t.user = null, t.useStandardizedQuery = !1, t.useVectorBasemaps = !1, t.vectorBasemapGalleryGroupQuery = null, t;
        }

        n(u, r), d = u, u.prototype.normalizeCtorArgs = function (e) {
          return "string" == typeof e ? {
            url: e
          } : e;
        }, u.prototype.destroy = function () {
          this._esriId_credentialCreateHandle && (this._esriId_credentialCreateHandle.remove(), this._esriId_credentialCreateHandle = null);
        }, u.prototype.readAuthorizedCrossOriginDomains = function (e) {
          if (e) for (var r = 0, t = e; r < t.length; r++) {
            var o = t[r];
            -1 === s.request.trustedServers.indexOf(o) && s.request.trustedServers.push(o);
          }
          return e;
        }, u.prototype.readDefaultBasemap = function (e) {
          if (e) {
            var r = w.fromJSON(e);
            return r.portalItem = {
              portal: this
            }, r;
          }

          return null;
        }, u.prototype.readDefaultVectorBasemap = function (e) {
          if (e) {
            var r = w.fromJSON(e);
            return r.portalItem = {
              portal: this
            }, r;
          }

          return null;
        }, Object.defineProperty(u.prototype, "extraQuery", {
          get: function get() {
            var e = this.user && this.user.orgId,
                r = !e || this.canSearchPublic;
            return this.id && !r ? " AND orgid:" + this.id : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(u.prototype, "isOrganization", {
          get: function get() {
            return !!this.access;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(u.prototype, "restUrl", {
          get: function get() {
            var e = this.url;

            if (e) {
              var r = e.indexOf("/sharing");
              e = r > 0 ? e.substring(0, r) : this.url.replace(/\/+$/, ""), e += "/sharing/rest";
            }

            return e;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(u.prototype, "thumbnailUrl", {
          get: function get() {
            var e = this.restUrl,
                r = this.thumbnail;
            return e && r ? this._normalizeSSL(e + "/portals/self/resources/" + r) : null;
          },
          enumerable: !0,
          configurable: !0
        }), u.prototype.readUrlKey = function (e) {
          return e ? e.toLowerCase() : e;
        }, u.prototype.readUser = function (e) {
          var r = null;
          return e && (r = _.fromJSON(e), r.portal = this), r;
        }, u.prototype.load = function (r) {
          var t = this,
              o = m.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../Basemap */
              "./node_modules/arcgis-js-api/Basemap.js")];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (e) {
            m.throwIfAborted(r), w = e;
          }).then(function () {
            return t.sourceJSON ? t.sourceJSON : t._fetchSelf(t.authMode, !1, r);
          }).then(function (e) {
            if (l.id) {
              var r = l.id;
              t.credential = r.findCredential(t.restUrl), t.credential || t.authMode !== d.AUTH_MODE_AUTO || (t._esriId_credentialCreateHandle = r.on("credential-create", function () {
                r.findCredential(t.restUrl) && t._signIn();
              }));
            }

            t.sourceJSON = e, t.read(e);
          });
          return this.addResolvingPromise(o), this.when();
        }, u.prototype.createClosestFacilityTask = function () {
          return o(this, void 0, void 0, function () {
            var r, t;
            return p(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.load()];

                case 1:
                  return o.sent(), r = this._getHelperServiceUrl("closestFacility"), [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(37), __webpack_require__.e(80)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../tasks/ClosestFacilityTask */
                      "./node_modules/arcgis-js-api/tasks/ClosestFacilityTask.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 2:
                  return t = o.sent(), [2, new t(r)];
              }
            });
          });
        }, u.prototype.createElevationLayers = function () {
          return o(this, void 0, void 0, function () {
            var r, t;
            return p(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.load()];

                case 1:
                  return o.sent(), r = this._getHelperService("defaultElevationLayers"), [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(25)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../layers/ElevationLayer */
                      "./node_modules/arcgis-js-api/layers/ElevationLayer.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 2:
                  return t = o.sent(), [2, r ? r.map(function (e) {
                    return new t({
                      id: e.id,
                      url: e.url
                    });
                  }) : []];
              }
            });
          });
        }, u.prototype.createGeometryService = function () {
          return o(this, void 0, void 0, function () {
            var r, t;
            return p(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.load()];

                case 1:
                  return o.sent(), r = this._getHelperServiceUrl("geometry"), [4, new Promise(function (r, t) {
                    Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../tasks/GeometryService */
                      "./node_modules/arcgis-js-api/tasks/GeometryService.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 2:
                  return t = o.sent(), [2, new t(r)];
              }
            });
          });
        }, u.prototype.createPrintTask = function () {
          return o(this, void 0, void 0, function () {
            var r, t;
            return p(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.load()];

                case 1:
                  return o.sent(), r = this._getHelperServiceUrl("printTask"), [4, new Promise(function (r, t) {
                    Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../tasks/PrintTask */
                      "./node_modules/arcgis-js-api/tasks/PrintTask.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 2:
                  return t = o.sent(), [2, new t(r)];
              }
            });
          });
        }, u.prototype.createRouteTask = function () {
          return o(this, void 0, void 0, function () {
            var r, t;
            return p(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.load()];

                case 1:
                  return o.sent(), r = this._getHelperServiceUrl("route"), [4, new Promise(function (r, t) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(37), __webpack_require__.e(75)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../tasks/RouteTask */
                      "./node_modules/arcgis-js-api/tasks/RouteTask.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 2:
                  return t = o.sent(), [2, new t(r)];
              }
            });
          });
        }, u.prototype.createServiceAreaTask = function () {
          return o(this, void 0, void 0, function () {
            var r, t;
            return p(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.load()];

                case 1:
                  return o.sent(), r = this._getHelperServiceUrl("serviceArea"), [4, new Promise(function (r, t) {
                    __webpack_require__.e(
                    /*! AMD require */
                    67).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../tasks/ServiceAreaTask */
                      "./node_modules/arcgis-js-api/tasks/ServiceAreaTask.js")];
                      r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](t.bind(this));
                  })];

                case 2:
                  return t = o.sent(), [2, new t(r)];
              }
            });
          });
        }, u.prototype.fetchBasemaps = function (e, r) {
          var t = new b();
          return t.query = e || (this.useVectorBasemaps ? this.vectorBasemapGalleryGroupQuery : this.basemapGalleryGroupQuery), t.disableExtraQuery = !0, this.queryGroups(t, r).then(function (e) {
            if (t.num = 100, t.query = 'type:"Web Map" -type:"Web Application"', e.total) {
              var o = e.results[0];
              return t.sortField = o.sortField || "name", t.sortOrder = o.sortOrder || "desc", o.queryItems(t, r);
            }

            return null;
          }).then(function (e) {
            return e && e.total ? e.results.filter(function (e) {
              return "Web Map" === e.type;
            }).map(function (e) {
              return new w({
                portalItem: e
              });
            }) : [];
          });
        }, u.prototype.fetchCategorySchema = function (e) {
          return this.hasCategorySchema ? this._request(this.restUrl + "/portals/self/categorySchema", e).then(function (e) {
            return e.categorySchema;
          }) : m.isAborted(e) ? m.reject(m.createAbortError()) : m.resolve([]);
        }, u.prototype.fetchFeaturedGroups = function (e) {
          var r = this.featuredGroups,
              t = new b();

          if (t.num = 100, t.sortField = "title", r && r.length) {
            for (var o = [], n = 0, i = r; n < i.length; n++) {
              var p = i[n];
              o.push('(title:"' + p.title + '" AND owner:' + p.owner + ")");
            }

            return t.query = o.join(" OR "), this.queryGroups(t, e).then(function (e) {
              return e.results;
            });
          }

          return m.isAborted(e) ? m.reject(m.createAbortError()) : m.resolve([]);
        }, u.prototype.fetchRegions = function (e) {
          var r = this.user && this.user.culture || this.culture || a.locale;
          return this._request(this.restUrl + "/portals/regions", t({}, e, {
            query: {
              culture: r
            }
          }));
        }, u.getDefault = function () {
          return d._default && !d._default.destroyed || (d._default = new d()), d._default;
        }, u.prototype.queryGroups = function (e, r) {
          return this._queryPortal("/community/groups", e, "PortalGroup", r);
        }, u.prototype.queryItems = function (e, r) {
          return this._queryPortal("/search", e, "PortalItem", r);
        }, u.prototype.queryUsers = function (e, r) {
          return e.sortField || (e.sortField = "username"), this._queryPortal("/community/users", e, "PortalUser", r);
        }, u.prototype.toJSON = function () {
          throw new y("internal:not-yet-implemented", "Portal.toJSON is not yet implemented");
        }, u.fromJSON = function (e) {
          if (!e) return null;
          if (e.declaredClass) throw new Error("JSON object is already hydrated");
          return new d({
            sourceJSON: e
          });
        }, u.prototype._getHelperService = function (e) {
          var r = this.helperServices && this.helperServices[e];
          if (!r) throw new y("portal:service-not-found", 'The `helperServices` do not include an entry named "' + e + '"');
          return r;
        }, u.prototype._getHelperServiceUrl = function (e) {
          var r = this._getHelperService(e);

          if (!r.url) throw new y("portal:service-url-not-found", 'The `helperServices` entry "' + e + '" does not include a `url` value');
          return r.url;
        }, u.prototype._fetchSelf = function (e, r, o) {
          void 0 === e && (e = this.authMode), void 0 === r && (r = !1);
          var n = this.restUrl + "/portals/self",
              i = t({
            authMode: e,
            query: {
              culture: a.locale
            }
          }, o);
          return "auto" === i.authMode && (i.authMode = "no-prompt"), r && (i.query["default"] = !0), this._request(n, i);
        }, u.prototype._queryPortal = function (e, r, o, n) {
          var i = this,
              p = g.ensureType(b, r),
              u = function u(r) {
            return i._request(i.restUrl + e, t({}, p.toRequestOptions(i), n)).then(function (e) {
              var t = p.clone();
              return t.start = e.nextStart, new O({
                nextQueryParams: t,
                queryParams: p,
                total: e.total,
                results: d._resultsToTypedArray(r, {
                  portal: i
                }, e, n)
              });
            }).then(function (e) {
              return m.all(e.results.map(function (r) {
                return "function" == typeof r.when ? r.when() : e;
              })).then(function () {
                return e;
              }, function (r) {
                return m.throwIfAbortError(r), e;
              });
            });
          };

          return o && U[o] ? U[o]().then(function (e) {
            return m.throwIfAborted(n), u(e);
          }) : u();
        }, u.prototype._signIn = function () {
          var e = this;
          if (this.authMode === d.AUTH_MODE_ANONYMOUS) return m.reject(new y("portal:invalid-auth-mode", 'Current "authMode"\' is "' + this.authMode + '"'));
          if ("failed" === this.loadStatus) return m.reject(this.loadError);

          var r = function r(_r3) {
            return m.resolve().then(function () {
              return "not-loaded" === e.loadStatus ? (_r3 || (e.authMode = "immediate"), e.load().then(function () {
                return null;
              })) : "loading" === e.loadStatus ? e.load().then(function () {
                return e.credential ? null : (e.credential = _r3, e._fetchSelf("immediate"));
              }) : e.user && e.credential === _r3 ? null : (e.credential = _r3, e._fetchSelf("immediate"));
            }).then(function (r) {
              r && (e.sourceJSON = r, e.read(r));
            });
          };

          return l.id ? l.id.getCredential(this.restUrl).then(function (e) {
            return r(e);
          }) : r(this.credential);
        }, u.prototype._normalizeSSL = function (e) {
          return e.replace(/^http:/i, "https:").replace(":7080", ":7443");
        }, u.prototype._normalizeUrl = function (e) {
          var r = this.credential && this.credential.token;
          return this._normalizeSSL(r ? e + (e.indexOf("?") > -1 ? "&" : "?") + "token=" + r : e);
        }, u.prototype._requestToTypedArray = function (r, t, o) {
          var n = this,
              i = function i(e) {
            return n._request(r, t).then(function (r) {
              var t = d._resultsToTypedArray(e, {
                portal: n
              }, r);

              return m.all(t.map(function (e) {
                return "function" == typeof e.when ? e.when() : r;
              })).then(function () {
                return t;
              }, function () {
                return t;
              });
            });
          };

          return o ? m.create(function (r) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [e("./" + o, null, false)];
              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (e) {
            return i(e);
          }) : i();
        }, u.prototype._request = function (e, r) {
          void 0 === r && (r = {});
          var o = t({
            f: "json"
          }, r.query),
              n = r.authMode,
              i = void 0 === n ? this.authMode === d.AUTH_MODE_ANONYMOUS ? "anonymous" : "auto" : n,
              p = r.body,
              u = void 0 === p ? null : p,
              a = r.cacheBust,
              s = void 0 !== a && a,
              l = r.method,
              y = void 0 === l ? "auto" : l,
              h = r.responseType,
              f = void 0 === h ? "json" : h,
              v = r.signal,
              m = {
            authMode: i,
            body: u,
            cacheBust: s,
            method: y,
            query: o,
            responseType: f,
            timeout: 0,
            signal: v
          };
          return c(this._normalizeSSL(e), m).then(function (e) {
            return e.data;
          });
        }, u._resultsToTypedArray = function (e, r, t, o) {
          var n;

          if (t) {
            var i = v.isSome(o) ? o.signal : null;
            n = t.listings || t.notifications || t.userInvitations || t.tags || t.items || t.groups || t.comments || t.provisions || t.results || t.relatedItems || t, (e || r) && (n = n.map(function (t) {
              var o = h.mixin(e ? e.fromJSON(t) : t, r);
              return "function" == typeof o.load && o.load(i), o;
            }));
          } else n = [];

          return n;
        };
        var d;
        return u.AUTH_MODE_ANONYMOUS = "anonymous", u.AUTH_MODE_AUTO = "auto", u.AUTH_MODE_IMMEDIATE = "immediate", i([S.property()], u.prototype, "access", void 0), i([S.property()], u.prototype, "allSSL", void 0), i([S.property()], u.prototype, "authMode", void 0), i([S.property()], u.prototype, "authorizedCrossOriginDomains", void 0), i([S.reader("authorizedCrossOriginDomains")], u.prototype, "readAuthorizedCrossOriginDomains", null), i([S.property()], u.prototype, "basemapGalleryGroupQuery", void 0), i([S.property()], u.prototype, "bingKey", void 0), i([S.property()], u.prototype, "canListApps", void 0), i([S.property()], u.prototype, "canListData", void 0), i([S.property()], u.prototype, "canListPreProvisionedItems", void 0), i([S.property()], u.prototype, "canProvisionDirectPurchase", void 0), i([S.property()], u.prototype, "canSearchPublic", void 0), i([S.property()], u.prototype, "canShareBingPublic", void 0), i([S.property()], u.prototype, "canSharePublic", void 0), i([S.property()], u.prototype, "canSignInArcGIS", void 0), i([S.property()], u.prototype, "canSignInIDP", void 0), i([S.property()], u.prototype, "colorSetsGroupQuery", void 0), i([S.property()], u.prototype, "commentsEnabled", void 0), i([S.property({
          type: Date
        })], u.prototype, "created", void 0), i([S.property()], u.prototype, "credential", void 0), i([S.property()], u.prototype, "culture", void 0), i([S.property()], u.prototype, "currentVersion", void 0), i([S.property()], u.prototype, "customBaseUrl", void 0), i([S.property()], u.prototype, "defaultBasemap", void 0), i([S.reader("defaultBasemap")], u.prototype, "readDefaultBasemap", null), i([S.property({
          type: P
        })], u.prototype, "defaultExtent", void 0), i([S.property()], u.prototype, "defaultVectorBasemap", void 0), i([S.reader("defaultVectorBasemap")], u.prototype, "readDefaultVectorBasemap", null), i([S.property()], u.prototype, "description", void 0), i([S.property()], u.prototype, "eueiEnabled", void 0), i([S.property({
          dependsOn: ["user", "id", "canSearchPublic"],
          readOnly: !0
        })], u.prototype, "extraQuery", null), i([S.property()], u.prototype, "featuredGroups", void 0), i([S.property()], u.prototype, "featuredItemsGroupQuery", void 0), i([S.property()], u.prototype, "galleryTemplatesGroupQuery", void 0), i([S.property()], u.prototype, "livingAtlasGroupQuery", void 0), i([S.property()], u.prototype, "hasCategorySchema", void 0), i([S.property()], u.prototype, "helpBase", void 0), i([S.property()], u.prototype, "helperServices", void 0), i([S.property()], u.prototype, "helpMap", void 0), i([S.property()], u.prototype, "homePageFeaturedContent", void 0), i([S.property()], u.prototype, "homePageFeaturedContentCount", void 0), i([S.property()], u.prototype, "httpPort", void 0), i([S.property()], u.prototype, "httpsPort", void 0), i([S.property()], u.prototype, "id", void 0), i([S.property()], u.prototype, "ipCntryCode", void 0), i([S.property({
          dependsOn: ["access"],
          readOnly: !0
        })], u.prototype, "isOrganization", null), i([S.property()], u.prototype, "isPortal", void 0), i([S.property()], u.prototype, "isReadOnly", void 0), i([S.property()], u.prototype, "layerTemplatesGroupQuery", void 0), i([S.property()], u.prototype, "maxTokenExpirationMinutes", void 0), i([S.property({
          type: Date
        })], u.prototype, "modified", void 0), i([S.property()], u.prototype, "name", void 0), i([S.property()], u.prototype, "portalHostname", void 0), i([S.property()], u.prototype, "portalMode", void 0), i([S.property()], u.prototype, "portalProperties", void 0), i([S.property()], u.prototype, "region", void 0), i([S.property({
          dependsOn: ["url"],
          readOnly: !0
        })], u.prototype, "restUrl", null), i([S.property()], u.prototype, "rotatorPanels", void 0), i([S.property()], u.prototype, "showHomePageDescription", void 0), i([S.property()], u.prototype, "sourceJSON", void 0), i([S.property()], u.prototype, "staticImagesUrl", void 0), i([S.property()], u.prototype, "stylesGroupQuery", void 0), i([S.property()], u.prototype, "supportsHostedServices", void 0), i([S.property()], u.prototype, "symbolSetsGroupQuery", void 0), i([S.property()], u.prototype, "templatesGroupQuery", void 0), i([S.property()], u.prototype, "thumbnail", void 0), i([S.property({
          dependsOn: ["restUrl", "thumbnail"],
          readOnly: !0
        })], u.prototype, "thumbnailUrl", null), i([S.property()], u.prototype, "units", void 0), i([S.property()], u.prototype, "url", void 0), i([S.property()], u.prototype, "urlKey", void 0), i([S.reader("urlKey")], u.prototype, "readUrlKey", null), i([S.property()], u.prototype, "user", void 0), i([S.reader("user")], u.prototype, "readUser", null), i([S.property()], u.prototype, "useStandardizedQuery", void 0), i([S.property()], u.prototype, "useVectorBasemaps", void 0), i([S.property()], u.prototype, "vectorBasemapGalleryGroupQuery", void 0), u = d = i([S.subclass("esri.portal.Portal")], u);
      }(S.declared(d.JSONSupportMixin(f)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalFolder.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalFolder.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalFolderJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, l, n) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.created = null, t.id = null, t.portal = null, t.title = null, t.username = null, t;
        }

        return t(r, e), Object.defineProperty(r.prototype, "url", {
          get: function get() {
            var e = this.get("portal.restUrl");
            return e ? e + "/content/users/" + this.username + "/" + this.id : null;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.toJSON = function () {
          throw new p("internal:not-yet-implemented", "PortalFolder.toJSON is not yet implemented");
        }, o([n.property({
          type: Date
        })], r.prototype, "created", void 0), o([n.property()], r.prototype, "id", void 0), o([n.property()], r.prototype, "portal", void 0), o([n.property()], r.prototype, "title", void 0), o([n.property({
          dependsOn: ["portal.restUrl"],
          readOnly: !0
        })], r.prototype, "url", null), o([n.property()], r.prototype, "username", void 0), r = o([n.subclass("esri.portal.PortalFolder")], r);
      }(n.declared(l.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalGroup.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalGroup.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalGroupJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./PortalQueryParams */
    "./node_modules/arcgis-js-api/portal/PortalQueryParams.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, o, n, p, u, l, i, a) {
      return function (t) {
        function r(r) {
          var e = t.call(this, r) || this;
          return e.access = null, e.created = null, e.description = null, e.id = null, e.isInvitationOnly = !1, e.modified = null, e.owner = null, e.portal = null, e.snippet = null, e.sortField = null, e.sortOrder = null, e.tags = null, e.title = null, e;
        }

        return e(r, t), Object.defineProperty(r.prototype, "thumbnailUrl", {
          get: function get() {
            var t = this.url,
                r = this.thumbnail;
            return t && r ? this.portal._normalizeUrl(t + "/info/" + r + "?f=json") : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "url", {
          get: function get() {
            var t = this.get("portal.restUrl");
            return t ? t + "/community/groups/" + this.id : null;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.fetchCategorySchema = function (t) {
          var r = this;
          return this.portal._request(this.url + "/categorySchema", t).then(function (e) {
            var o = e.categorySchema || [];
            return o.some(function (t) {
              return "contentCategorySetsGroupQuery.LivingAtlas" === t.source;
            }) ? r._fetchCategorySchemaSet("LivingAtlas", t) : o;
          });
        }, r.prototype.fetchMembers = function (t) {
          return this.portal._request(this.url + "/users", t);
        }, r.prototype.getThumbnailUrl = function (t) {
          var r = this.thumbnailUrl;
          return r && t && (r += "&w=" + t), r;
        }, r.prototype.toJSON = function () {
          throw new p("internal:not-yet-implemented", "PortalGroup.toJSON is not yet implemented");
        }, r.prototype.queryItems = function (t, r) {
          var e = i.ensureType(a, t);
          return parseFloat(this.portal.currentVersion) > 5 ? (e = e || new a(), this.portal._queryPortal("/content/groups/" + this.id + "/search", e, "PortalItem", r)) : (e = e ? e.clone() : new a(), e.query = "group:" + this.id + (e.query ? " " + e.query : ""), this.portal.queryItems(e, r));
        }, r.prototype._fetchCategorySchemaSet = function (t, r) {
          var e = this;
          return this.portal._fetchSelf(this.portal.authMode, !0, r).then(function (t) {
            var o = t.contentCategorySetsGroupQuery;

            if (o) {
              var n = new a();
              return n.disableExtraQuery = !0, n.num = 1, n.query = o, e.portal.queryGroups(n, r);
            }

            throw new p("portal-group:fetchCategorySchema", "contentCategorySetsGroupQuery value not found");
          }).then(function (e) {
            if (e.total) {
              var o = e.results[0],
                  n = new a();
              return n.num = 1, n.query = 'typekeywords:"' + t + '"', o.queryItems(n, r);
            }

            throw new p("portal-group:fetchCategorySchema", "contentCategorySetsGroupQuery group not found");
          }).then(function (t) {
            if (t.total) {
              return t.results[0].fetchData("json", r).then(function (t) {
                var r = t && t.categorySchema;
                return r && r.length ? r : [];
              });
            }

            return [];
          });
        }, o([l.property()], r.prototype, "access", void 0), o([l.property({
          type: Date
        })], r.prototype, "created", void 0), o([l.property()], r.prototype, "description", void 0), o([l.property()], r.prototype, "id", void 0), o([l.property()], r.prototype, "isInvitationOnly", void 0), o([l.property({
          type: Date
        })], r.prototype, "modified", void 0), o([l.property()], r.prototype, "owner", void 0), o([l.property()], r.prototype, "portal", void 0), o([l.property()], r.prototype, "snippet", void 0), o([l.property()], r.prototype, "sortField", void 0), o([l.property()], r.prototype, "sortOrder", void 0), o([l.property()], r.prototype, "tags", void 0), o([l.property()], r.prototype, "thumbnail", void 0), o([l.property({
          dependsOn: ["url", "thumbnail", "portal.credential.token"],
          readOnly: !0
        })], r.prototype, "thumbnailUrl", null), o([l.property()], r.prototype, "title", void 0), o([l.property({
          dependsOn: ["portal.restUrl"],
          readOnly: !0
        })], r.prototype, "url", null), r = o([l.subclass("esri.portal.PortalGroup")], r);
      }(l.declared(u.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalItem.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalItem.js ***!
    \*********************************************************/

  /*! no static exports found */

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

    /**
                 * Information on the source of the item and its copyright status.
                 *
                 * @name accessInformation
                 * @instance
                 * @type {string}
                 */
    //  licenseInfo

    /**
                 * Information on license or restrictions related to the item.
                 *
                 * @name licenseInfo
                 * @instance
                 * @type {string}
                 */


    !(__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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ./Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ./PortalRating */
    "./node_modules/arcgis-js-api/portal/PortalRating.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, a, p, l, s, c, d, u, y, m, g, h) {
      return function (t) {
        function a(e) {
          var r = t.call(this, e) || this;
          return r.access = null, r.accessInformation = null, r.applicationProxies = null, r.avgRating = null, r.categories = null, r.created = null, r.culture = null, r.description = null, r.extent = null, r.groupCategories = null, r.id = null, r.itemControl = null, r.licenseInfo = null, r.modified = null, r.name = null, r.numComments = null, r.numRatings = null, r.numViews = null, r.owner = null, r.ownerFolder = null, r.portal = null, r.screenshots = null, r.size = null, r.snippet = null, r.sourceJSON = null, r.tags = null, r.title = null, r.type = null, r.typeKeywords = null, r.url = null, r;
        }

        r(a, t), l = a, a.from = function (e) {
          return y.ensureClass(l, e);
        }, Object.defineProperty(a.prototype, "displayName", {
          get: function get() {
            var e = this.type,
                t = this.typeKeywords || [],
                r = e;
            return "Feature Service" === e || "Feature Collection" === e ? r = t.indexOf("Table") > -1 ? "Table" : t.indexOf("Route Layer") > -1 ? "Route Layer" : t.indexOf("Markup") > -1 ? "Markup" : "Feature Layer" : "Image Service" === e ? r = t.indexOf("Elevation 3D Layer") > -1 ? "Elevation Layer" : "Imagery Layer" : "Scene Service" === e ? r = "Scene Layer" : "Scene Package" === e ? r = "Scene Layer Package" : "Stream Service" === e ? r = "Feature Layer" : "Geoprocessing Service" === e && this.portal && this.portal.isPortal ? r = t.indexOf("Web Tool") > -1 ? "Tool" : "Geoprocessing Service" : "Geocoding Service" === e ? r = "Locator" : "Microsoft Powerpoint" === e ? r = "Microsoft PowerPoint" : "GeoJson" === e ? r = "GeoJSON" : "Globe Service" === e ? r = "Globe Layer" : "Vector Tile Service" === e ? r = "Tile Layer" : "netCDF" === e ? r = "NetCDF" : "Map Service" === e ? r = -1 === t.indexOf("Spatiotemporal") && (t.indexOf("Hosted Service") > -1 || t.indexOf("Tiled") > -1) && -1 === t.indexOf("Relational") ? "Tile Layer" : "Map Image Layer" : e && e.toLowerCase().indexOf("add in") > -1 ? r = e.replace(/(add in)/gi, "Add-In") : "datastore catalog service" === e ? r = "Big Data File Share" : "Compact Tile Package" === e && (r = "Tile Package (tpkx)"), r;
          },
          enumerable: !0,
          configurable: !0
        }), a.prototype.readExtent = function (e) {
          return e && e.length ? new m(e[0][0], e[0][1], e[1][0], e[1][1]) : null;
        }, Object.defineProperty(a.prototype, "iconUrl", {
          get: function get() {
            var t,
                r = this.type && this.type.toLowerCase() || "",
                o = this.typeKeywords || [],
                i = !1,
                n = !1,
                a = !1,
                p = !1,
                l = !1;
            return r.indexOf("service") > 0 || "feature collection" === r || "kml" === r || "wms" === r || "wmts" === r || "wfs" === r ? (i = o.indexOf("Hosted Service") > -1, "feature service" === r || "feature collection" === r || "kml" === r || "wfs" === r ? (n = o.indexOf("Table") > -1, a = o.indexOf("Route Layer") > -1, p = o.indexOf("Markup") > -1, l = -1 !== o.indexOf("Spatiotemporal"), t = l && n ? "spatiotemporaltable" : n ? "table" : a ? "routelayer" : p ? "markup" : l ? "spatiotemporal" : i ? "featureshosted" : "features") : t = "map service" === r || "wms" === r || "wmts" === r ? i || o.indexOf("Tiled") > -1 || "wmts" === r ? "maptiles" : "mapimages" : "scene service" === r ? o.indexOf("Line") > -1 ? "sceneweblayerline" : o.indexOf("3DObject") > -1 ? "sceneweblayermultipatch" : o.indexOf("Point") > -1 ? "sceneweblayerpoint" : o.indexOf("IntegratedMesh") > -1 ? "sceneweblayermesh" : o.indexOf("PointCloud") > -1 ? "sceneweblayerpointcloud" : o.indexOf("Polygon") > -1 ? "sceneweblayerpolygon" : o.indexOf("Building") > -1 ? "sceneweblayerbuilding" : "sceneweblayer" : "image service" === r ? o.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : "imagery" : "stream service" === r ? "streamlayer" : "vector tile service" === r ? "vectortile" : "datastore catalog service" === r ? "datastorecollection" : "geocoding service" === r ? "geocodeservice" : "geoprocessing service" === r && o.indexOf("Web Tool") > -1 && this.portal && this.portal.isPortal ? "tool" : "layers") : t = "web map" === r || "cityengine web scene" === r ? "maps" : "web scene" === r ? o.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal" : "web mapping application" === r || "mobile application" === r || "application" === r || "operation view" === r || "desktop application" === r ? "apps" : "map document" === r || "map package" === r || "published map" === r || "scene document" === r || "globe document" === r || "basemap package" === r || "mobile basemap package" === r || "mobile map package" === r || "project package" === r || "project template" === r || "pro map" === r || "layout" === r || "layer" === r && o.indexOf("ArcGIS Pro") > -1 || "explorer map" === r && o.indexOf("Explorer Document") ? "mapsgray" : "service definition" === r || "csv" === r || "shapefile" === r || "cad drawing" === r || "geojson" === r || "360 vr experience" === r || "netcdf" === r ? "datafiles" : "explorer add in" === r || "desktop add in" === r || "windows viewer add in" === r || "windows viewer configuration" === r ? "appsgray" : "arcgis pro add in" === r || "arcgis pro configuration" === r ? "addindesktop" : "rule package" === r || "file geodatabase" === r || "sqlite geodatabase" === r || "csv collection" === r || "kml collection" === r || "windows mobile package" === r || "map template" === r || "desktop application template" === r || "arcpad package" === r || "code sample" === r || "form" === r || "document link" === r || "operations dashboard add in" === r || "rules package" === r || "image" === r || "workflow manager package" === r || "explorer map" === r && o.indexOf("Explorer Mapping Application") > -1 || o.indexOf("Document") > -1 ? "datafilesgray" : "network analysis service" === r || "geoprocessing service" === r || "geodata service" === r || "geometry service" === r || "geoprocessing package" === r || "locator package" === r || "geoprocessing sample" === r || "workflow manager service" === r ? "toolsgray" : "layer" === r || "layer package" === r || "explorer layer" === r ? "layersgray" : "scene package" === r ? "scenepackage" : "mobile scene package" === r ? "mobilescenepackage" : "tile package" === r || "compact tile package" === r ? "tilepackage" : "task file" === r ? "taskfile" : "report template" === r ? "report-template" : "statistical data collection" === r ? "statisticaldatacollection" : "insights workbook" === r ? "workbook" : "insights model" === r ? "insightsmodel" : "insights page" === r ? "insightspage" : "insights theme" === r ? "insightstheme" : "hub initiative" === r ? "hubinitiative" : "hubpage" === r ? "hubpage" : "hub site application" === r ? "hubsite" : "relational database connection" === r ? "relationaldatabaseconnection" : "big data file share" === r ? "datastorecollection" : "image collection" === r ? "imagecollection" : "style" === r ? "style" : "desktop style" === r ? "desktopstyle" : "dashboard" === r ? "dashboard" : "raster function template" === r ? "rasterprocessingtemplate" : "vector tile package" === r ? "vectortilepackage" : "ortho mapping project" === r ? "orthomappingproject" : "ortho mapping template" === r ? "orthomappingtemplate" : "solution" === r ? "solutions" : "geopackage" === r ? "geopackage" : "deep learning package" === r ? "deeplearningpackage" : "real time analytic" === r ? "realtimeanalytics" : "big data analytic" === r ? "bigdataanalytics" : "feed" === r ? "feed" : "excalibur imagery project" === r ? "excaliburimageryproject" : "notebook" === r ? "notebook" : "storymap" === r ? "storymap" : "survey123 add in" === r ? "survey123addin" : "mission" === r ? "mission" : "quickcapture project" === r ? "quickcaptureproject" : "pro report" === r ? "proreport" : "urban model" === r ? "urbanmodel" : "web experience" === r ? "experiencebuilder" : "web experience template" === r ? "webexperiencetemplate" : "workflow" === r ? "workflow" : "insights script" === r ? "insightsscript" : "kernel gateway connection" === r ? "kernelgatewayconnection" : "maps", t ? e.toUrl("../images/portal/" + t + "16.png") : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(a.prototype, "isLayer", {
          get: function get() {
            return ["Map Service", "Feature Service", "Feature Collection", "Scene Service", "Image Service", "Stream Service", "Vector Tile Service", "WMTS", "WMS"].indexOf(this.type) > -1;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(a.prototype, "itemUrl", {
          get: function get() {
            var e = this.get("portal.restUrl");
            return e ? e + "/content/items/" + this.id : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(a.prototype, "thumbnailUrl", {
          get: function get() {
            var e = this.itemUrl,
                t = this.thumbnail;
            return e && t ? this.portal._normalizeUrl(e + "/info/" + t + "?f=json") : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(a.prototype, "userItemUrl", {
          get: function get() {
            var e = this.get("portal.restUrl");
            if (!e) return null;
            var t = this.owner || this.get("portal.user.username");
            return t ? e + "/content/users/" + (this.ownerFolder ? t + "/" + this.ownerFolder : t) + "/items/" + this.id : null;
          },
          enumerable: !0,
          configurable: !0
        }), a.prototype.load = function (e) {
          var t = this;
          this.portal || (this.portal = g.getDefault());
          var r = this.portal.load(e).then(function () {
            return t.sourceJSON ? t.sourceJSON : t.id && t.itemUrl ? t.portal._request(t.itemUrl, {
              signal: s.isSome(e) ? e.signal : null
            }) : {};
          }).then(function (e) {
            t.sourceJSON = e, t.read(e);
          });
          return this.addResolvingPromise(r), this.when();
        }, a.prototype.addRating = function (e) {
          var t = {
            method: "post",
            query: {}
          };
          return e instanceof h && (e = e.rating), isNaN(e) || "number" != typeof e || (t.query.rating = e), this.portal._request(this.itemUrl + "/addRating", t).then(function () {
            return new h({
              rating: e,
              created: new Date()
            });
          });
        }, a.prototype.clone = function () {
          var e = {
            access: this.access,
            accessInformation: this.accessInformation,
            applicationProxies: p.clone(this.applicationProxies),
            avgRating: this.avgRating,
            categories: p.clone(this.categories),
            created: p.clone(this.created),
            culture: this.culture,
            description: this.description,
            extent: p.clone(this.extent),
            groupCategories: p.clone(this.groupCategories),
            id: this.id,
            itemControl: this.itemControl,
            licenseInfo: this.licenseInfo,
            modified: p.clone(this.modified),
            name: this.name,
            numComments: this.numComments,
            numRatings: this.numRatings,
            numViews: this.numViews,
            owner: this.owner,
            ownerFolder: this.ownerFolder,
            portal: this.portal,
            screenshots: p.clone(this.screenshots),
            size: this.size,
            snippet: this.snippet,
            tags: p.clone(this.tags),
            thumbnail: this.thumbnail,
            title: this.title,
            type: this.type,
            typeKeywords: p.clone(this.typeKeywords),
            url: this.url
          };
          return this.loaded && (e.loadStatus = "loaded"), new l({
            sourceJSON: this.sourceJSON
          }).set(e);
        }, a.prototype.createPostQuery = function () {
          var e = this.toJSON();

          for (var t in e) "tags" === t && null !== e[t] && (e[t] = e[t].join(", ")), "typeKeywords" === t && null !== e[t] && (e[t] = e[t].join(", ")), "extent" === t && e[t] && (e[t] = JSON.stringify(e[t]));

          return e;
        }, a.prototype.deleteRating = function () {
          return this.portal._request(this.itemUrl + "/deleteRating", {
            method: "post"
          }).then(function () {});
        }, a.prototype.fetchData = function (e, t) {
          return void 0 === e && (e = "json"), this.portal._request(this.itemUrl + "/data", i({
            responseType: e
          }, t));
        }, a.prototype.fetchRating = function (e) {
          return this.portal._request(this.itemUrl + "/rating", e).then(function (e) {
            return null != e.rating ? (e.created = new Date(e.created), new h(e)) : null;
          });
        }, a.prototype.fetchRelatedItems = function (e, t) {
          return this.portal._requestToTypedArray(this.itemUrl + "/relatedItems", i({
            query: e
          }, t), "PortalItem");
        }, a.prototype.getThumbnailUrl = function (e) {
          var t = this.thumbnailUrl;
          return t && e && (t += "&w=" + e), t;
        }, a.prototype.reload = function () {
          var e = this;
          return this.portal._request(this.itemUrl, {
            cacheBust: !0
          }).then(function (t) {
            return e.sourceJSON = t, e.read(t), e;
          });
        }, a.prototype.update = function (e) {
          var t = this;
          return this.id ? this.load().then(function () {
            return t.portal._signIn();
          }).then(function () {
            var r = e && e.data,
                o = {
              method: "post"
            };
            o.query = t.createPostQuery();

            for (var i in o.query) null === o.query[i] && (o.query[i] = "");

            return o.query.clearEmptyFields = !0, null != r && ("string" == typeof r ? o.query.text = r : "object" == typeof r && (o.query.text = JSON.stringify(r))), t.portal._request(t.userItemUrl + "/update", o).then(function () {
              return t.reload();
            });
          }) : c.reject(new n("portal:item-does-not-exist", "The item does not exist yet and cannot be updated"));
        }, a.prototype.updateThumbnail = function (e) {
          var t = this;
          return this.id ? this.load().then(function () {
            return t.portal._signIn();
          }).then(function () {
            var r = e.thumbnail,
                o = e.filename,
                i = {
              method: "post"
            };
            if ("string" == typeof r) d.isDataProtocol(r) ? i.query = {
              data: r
            } : i.query = {
              url: d.makeAbsolute(r)
            }, s.isSome(o) && (i.query.filename = o);else {
              var n = new FormData();
              s.isSome(o) ? n.append("file", r, o) : n.append("file", r), i.body = n;
            }
            return t.portal._request(t.userItemUrl + "/updateThumbnail", i).then(function () {
              return t.reload();
            });
          }) : c.reject(new n("portal:item-does-not-exist", "The item does not exist yet and cannot be updated"));
        }, a.prototype.toJSON = function () {
          var e = this.extent,
              t = {
            created: this.created && this.created.getTime(),
            description: this.description,
            extent: e && [[e.xmin, e.ymin], [e.xmax, e.ymax]],
            id: this.id,
            modified: this.modified && this.modified.getTime(),
            name: this.name,
            owner: this.owner,
            ownerFolder: this.ownerFolder,
            snippet: this.snippet,
            tags: this.tags,
            thumbnail: this.thumbnail,
            title: this.title,
            type: this.type,
            typeKeywords: this.typeKeywords,
            url: this.url
          };
          return p.fixJson(t);
        }, a.fromJSON = function (e) {
          if (!e) return null;
          if (e.declaredClass) throw new Error("JSON object is already hydrated");
          return new l({
            sourceJSON: e
          });
        }, a.prototype._getPostQuery = function () {
          var e = this.toJSON();

          for (var t in e) "tags" === t && null !== e[t] && (e[t] = e[t].join(", ")), "typeKeywords" === t && null !== e[t] && (e[t] = e[t].join(", ")), "extent" === t && e[t] && (e[t] = JSON.stringify(e[t]));

          return e;
        };
        var l;
        return o([u.property()], a.prototype, "access", void 0), o([u.property()], a.prototype, "accessInformation", void 0), o([u.property({
          json: {
            read: {
              source: "appProxies"
            }
          }
        })], a.prototype, "applicationProxies", void 0), o([u.property()], a.prototype, "avgRating", void 0), o([u.property()], a.prototype, "categories", void 0), o([u.property({
          type: Date
        })], a.prototype, "created", void 0), o([u.property()], a.prototype, "culture", void 0), o([u.property()], a.prototype, "description", void 0), o([u.property({
          dependsOn: ["type", "typeKeywords"],
          readOnly: !0
        })], a.prototype, "displayName", null), o([u.property({
          type: m
        })], a.prototype, "extent", void 0), o([u.reader("extent")], a.prototype, "readExtent", null), o([u.property()], a.prototype, "groupCategories", void 0), o([u.property({
          dependsOn: ["type", "typeKeywords"],
          readOnly: !0
        })], a.prototype, "iconUrl", null), o([u.property()], a.prototype, "id", void 0), o([u.property({
          dependsOn: ["type"],
          readOnly: !0
        })], a.prototype, "isLayer", null), o([u.property()], a.prototype, "itemControl", void 0), o([u.property({
          dependsOn: ["portal.restUrl", "id"],
          readOnly: !0
        })], a.prototype, "itemUrl", null), o([u.property()], a.prototype, "licenseInfo", void 0), o([u.property({
          type: Date
        })], a.prototype, "modified", void 0), o([u.property()], a.prototype, "name", void 0), o([u.property()], a.prototype, "numComments", void 0), o([u.property()], a.prototype, "numRatings", void 0), o([u.property()], a.prototype, "numViews", void 0), o([u.property()], a.prototype, "owner", void 0), o([u.property()], a.prototype, "ownerFolder", void 0), o([u.property({
          type: g
        })], a.prototype, "portal", void 0), o([u.property()], a.prototype, "screenshots", void 0), o([u.property()], a.prototype, "size", void 0), o([u.property()], a.prototype, "snippet", void 0), o([u.property()], a.prototype, "sourceJSON", void 0), o([u.property()], a.prototype, "tags", void 0), o([u.property()], a.prototype, "thumbnail", void 0), o([u.property({
          dependsOn: ["itemUrl", "thumbnail", "portal.credential.token"],
          readOnly: !0
        })], a.prototype, "thumbnailUrl", null), o([u.property()], a.prototype, "title", void 0), o([u.property()], a.prototype, "type", void 0), o([u.property()], a.prototype, "typeKeywords", void 0), o([u.property()], a.prototype, "url", void 0), o([u.property({
          dependsOn: ["portal.restUrl", "portal.user.username", "owner", "ownerFolder", "id"],
          readOnly: !0
        })], a.prototype, "userItemUrl", null), a = l = o([u.subclass("esri.portal.PortalItem")], a);
      }(u.declared(a.JSONSupportMixin(l)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalQueryParams.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalQueryParams.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalQueryParamsJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, o, s, i, n, a, u, p, l, c) {
      var y = new n["default"]({
        avgRating: "avg-rating",
        numRatings: "num-ratings",
        numComments: "num-comments",
        numViews: "num-views"
      });
      return function (t) {
        function r(r) {
          var e = t.call(this, r) || this;
          return e.categories = null, e.disableExtraQuery = !1, e.extent = null, e.num = 10, e.query = null, e.sortField = null, e.start = 1, e;
        }

        o(r, t), i = r, Object.defineProperty(r.prototype, "sortOrder", {
          get: function get() {
            return this._get("sortOrder") || "asc";
          },
          set: function set(t) {
            "asc" !== t && "desc" !== t || this._set("sortOrder", t);
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.clone = function () {
          return new i({
            categories: this.categories ? a.clone(this.categories) : null,
            disableExtraQuery: this.disableExtraQuery,
            extent: this.extent ? this.extent.clone() : null,
            num: this.num,
            query: this.query,
            sortField: this.sortField,
            sortOrder: this.sortOrder,
            start: this.start
          });
        }, r.prototype.toRequestOptions = function (t, r) {
          var o;
          this.categories && (o = this.categories.map(function (t) {
            return Array.isArray(t) ? JSON.stringify(t) : t;
          }));
          var s;

          if (this.extent) {
            var i = c.project(this.extent, l.WGS84);
            i && (s = i.xmin + "," + i.ymin + "," + i.xmax + "," + i.ymax);
          }

          var n = this.query;
          !this.disableExtraQuery && t.extraQuery && (n = "(" + n + ")" + t.extraQuery);
          var a = {
            categories: o,
            bbox: s,
            q: n,
            num: this.num,
            sortField: null,
            sortOrder: null,
            start: this.start
          };
          return this.sortField && (a.sortField = y.toJSON(this.sortField), a.sortOrder = this.sortOrder), {
            query: e({}, r, a)
          };
        };
        var i;
        return s([u.property()], r.prototype, "categories", void 0), s([u.property()], r.prototype, "disableExtraQuery", void 0), s([u.property({
          type: p
        })], r.prototype, "extent", void 0), s([u.property()], r.prototype, "num", void 0), s([u.property()], r.prototype, "query", void 0), s([u.property()], r.prototype, "sortField", void 0), s([u.property()], r.prototype, "sortOrder", null), s([u.property()], r.prototype, "start", void 0), r = i = s([u.subclass("esri.portal.PortalQueryParams")], r);
      }(u.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalQueryResult.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalQueryResult.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalQueryResultJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, p, s) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.nextQueryParams = null, t.queryParams = null, t.results = null, t.total = null, t;
        }

        return t(e, r), o([s.property()], e.prototype, "nextQueryParams", void 0), o([s.property()], e.prototype, "queryParams", void 0), o([s.property()], e.prototype, "results", void 0), o([s.property()], e.prototype, "total", void 0), e = o([s.subclass("esri.portal.PortalQueryResult")], e);
      }(s.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalRating.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalRating.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalRatingJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, c, p) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.created = null, t.rating = null, t;
        }

        return t(e, r), o([p.property()], e.prototype, "created", void 0), o([p.property()], e.prototype, "rating", void 0), e = o([p.subclass("esri.portal.PortalRating")], e);
      }(p.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/portal/PortalUser.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/portal/PortalUser.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiPortalPortalUserJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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__(
    /*! ./PortalFolder */
    "./node_modules/arcgis-js-api/portal/PortalFolder.js"), __webpack_require__(
    /*! ./PortalGroup */
    "./node_modules/arcgis-js-api/portal/PortalGroup.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, t, e, o, n, p, l, u, i, a) {
      return function (t) {
        function p() {
          var r = t.call(this) || this;
          return r.access = null, r.created = null, r.culture = null, r.description = null, r.email = null, r.fullName = null, r.modified = null, r.orgId = null, r.portal = null, r.preferredView = null, r.privileges = null, r.region = null, r.role = null, r.roleId = null, r.sourceJSON = null, r.units = null, r.username = null, r.userType = null, r;
        }

        e(p, t), s = p, Object.defineProperty(p.prototype, "thumbnailUrl", {
          get: function get() {
            var r = this.url,
                t = this.thumbnail;
            return r && t ? this.portal._normalizeUrl(r + "/info/" + t + "?f=json") : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(p.prototype, "userContentUrl", {
          get: function get() {
            var r = this.get("portal.restUrl");
            return r ? r + "/content/users/" + this.username : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(p.prototype, "url", {
          get: function get() {
            var r = this.get("portal.restUrl");
            return r ? r + "/community/users/" + this.username : null;
          },
          enumerable: !0,
          configurable: !0
        }), p.prototype.addItem = function (r) {
          var t = this,
              e = r && r.item,
              o = r && r.data,
              n = r && r.folder,
              p = {
            method: "post"
          };
          e && (p.query = e.createPostQuery(), null != o && ("string" == typeof o ? p.query.text = o : "object" == typeof o && (p.query.text = JSON.stringify(o))));
          var l = this.userContentUrl;
          return n && (l += "/" + ("string" == typeof n ? n : n.id)), this.portal._request(l + "/addItem", p).then(function (r) {
            return e.id = r.id, e.portal = t.portal, e.loaded ? e.reload() : e.load();
          });
        }, p.prototype.deleteItem = function (r) {
          var t = this.userContentUrl;
          return r.ownerFolder && (t += "/" + r.ownerFolder), this.portal._request(t + "/items/" + r.id + "/delete", {
            method: "post"
          }).then(function () {
            r.id = null, r.portal = null;
          });
        }, p.prototype.deleteItems = function (r) {
          var t = this.userContentUrl + "/deleteItems",
              e = r.map(function (r) {
            return r.id;
          });

          if (e.length) {
            var o = {
              method: "post",
              query: {
                items: e.join(",")
              }
            };
            return this.portal._request(t, o).then(function () {
              r.forEach(function (r) {
                r.id = null, r.portal = null;
              });
            });
          }

          return l.resolve(void 0);
        }, p.prototype.fetchFolders = function () {
          var r = this,
              t = {
            query: {
              num: 1
            }
          };
          return this.portal._request(this.userContentUrl, t).then(function (t) {
            return t && t.folders ? t.folders.map(function (t) {
              var e = i.fromJSON(t);
              return e.portal = r.portal, e;
            }) : [];
          });
        }, p.prototype.fetchGroups = function () {
          var r = this;
          return this.portal._request(this.url).then(function (t) {
            return t && t.groups ? t.groups.map(function (t) {
              var e = a.fromJSON(t);
              return e.portal = r.portal, e;
            }) : [];
          });
        }, p.prototype.fetchItems = function (t) {
          var e = this;
          t || (t = {});
          var o = this.userContentUrl;
          t.folder && (o += "/" + t.folder.id);
          var n;
          return l.create(function (t) {
            return Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./PortalItem */
              "./node_modules/arcgis-js-api/portal/PortalItem.js")];
              t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (r) {
            n = r;
            var p = t.num || 10,
                l = t.start || 1,
                u = t.sortField || "created",
                i = t.sortOrder || "asc",
                a = {
              folders: !1,
              num: p,
              start: l,
              sortField: u,
              sortOrder: i
            };
            return e.portal._request(o, {
              query: a
            });
          }).then(function (r) {
            var t;
            return r && r.items ? (t = r.items.map(function (r) {
              var t = n.fromJSON(r);
              return t.portal = e.portal, t;
            }), l.all(t.map(function (r) {
              return r.load();
            }))["catch"](function (r) {
              return r;
            }).then(function () {
              return {
                items: t,
                nextStart: r.nextStart,
                total: r.total
              };
            })) : {
              items: [],
              nextStart: -1,
              total: 0
            };
          });
        }, p.prototype.fetchTags = function () {
          return this.portal._request(this.url + "/tags").then(function (r) {
            return r.tags;
          });
        }, p.prototype.getThumbnailUrl = function (r) {
          var t = this.thumbnailUrl;
          return t && r && (t += "&w=" + r), t;
        }, p.prototype.queryFavorites = function (r) {
          return this.favGroupId ? (this._favGroup || (this._favGroup = new a({
            id: this.favGroupId,
            portal: this.portal
          })), this._favGroup.queryItems(r)) : l.reject(new n("internal:unknown", "Unknown internal error", {
            internalError: "Unknown favGroupId"
          }));
        }, p.prototype.toJSON = function () {
          throw new n("internal:not-yet-implemented", "PortalGroup.toJSON is not yet implemented");
        }, p.fromJSON = function (r) {
          if (!r) return null;
          if (r.declaredClass) throw new Error("JSON object is already hydrated");
          var t = new s();
          return t.sourceJSON = r, t.read(r), t;
        };
        var s;
        return o([u.property()], p.prototype, "access", void 0), o([u.property({
          type: Date
        })], p.prototype, "created", void 0), o([u.property()], p.prototype, "culture", void 0), o([u.property()], p.prototype, "description", void 0), o([u.property()], p.prototype, "email", void 0), o([u.property()], p.prototype, "favGroupId", void 0), o([u.property()], p.prototype, "fullName", void 0), o([u.property({
          type: Date
        })], p.prototype, "modified", void 0), o([u.property()], p.prototype, "orgId", void 0), o([u.property()], p.prototype, "portal", void 0), o([u.property()], p.prototype, "preferredView", void 0), o([u.property()], p.prototype, "privileges", void 0), o([u.property()], p.prototype, "region", void 0), o([u.property()], p.prototype, "role", void 0), o([u.property()], p.prototype, "roleId", void 0), o([u.property()], p.prototype, "sourceJSON", void 0), o([u.property()], p.prototype, "thumbnail", void 0), o([u.property({
          dependsOn: ["url", "thumbnail", "portal.credential.token"],
          readOnly: !0
        })], p.prototype, "thumbnailUrl", null), o([u.property()], p.prototype, "units", void 0), o([u.property({
          dependsOn: ["portal.restUrl"],
          readOnly: !0
        })], p.prototype, "userContentUrl", null), o([u.property({
          dependsOn: ["portal.restUrl"],
          readOnly: !0
        })], p.prototype, "url", null), o([u.property()], p.prototype, "username", void 0), o([u.property()], p.prototype, "userType", void 0), p = s = o([u.subclass("esri.portal.PortalUser")], p);
      }(u.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersJs(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__(
    /*! ./renderers/ClassBreaksRenderer */
    "./node_modules/arcgis-js-api/renderers/ClassBreaksRenderer.js"), __webpack_require__(
    /*! ./renderers/DictionaryRenderer */
    "./node_modules/arcgis-js-api/renderers/DictionaryRenderer.js"), __webpack_require__(
    /*! ./renderers/DotDensityRenderer */
    "./node_modules/arcgis-js-api/renderers/DotDensityRenderer.js"), __webpack_require__(
    /*! ./renderers/HeatmapRenderer */
    "./node_modules/arcgis-js-api/renderers/HeatmapRenderer.js"), __webpack_require__(
    /*! ./renderers/Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./renderers/SimpleRenderer */
    "./node_modules/arcgis-js-api/renderers/SimpleRenderer.js"), __webpack_require__(
    /*! ./renderers/UniqueValueRenderer */
    "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js"), __webpack_require__(
    /*! ./renderers/support/jsonUtils */
    "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, s, d, a, i, t, R, p) {
      function l(e) {
        return e instanceof r.BaseRenderer;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.ClassBreaksRenderer = n, r.DictionaryRenderer = s, r.DotDensityRenderer = d, r.HeatmapRenderer = a, r.BaseRenderer = i, r.SimpleRenderer = t, r.UniqueValueRenderer = R, r.isRenderer = l, r.read = p.read, r.write = p.write, r.fromJSON = p.fromJSON, r.rendererTypes = {
        key: "type",
        base: r.BaseRenderer,
        typeMap: {
          heatmap: r.HeatmapRenderer,
          simple: r.SimpleRenderer,
          "unique-value": r.UniqueValueRenderer,
          "class-breaks": r.ClassBreaksRenderer,
          "dot-density": r.DotDensityRenderer,
          dictionary: r.DictionaryRenderer
        }
      }, r.webSceneRendererTypes = {
        key: "type",
        base: r.BaseRenderer,
        typeMap: {
          simple: r.SimpleRenderer,
          "unique-value": r.UniqueValueRenderer,
          "class-breaks": r.ClassBreaksRenderer
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/ClassBreaksRenderer.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/ClassBreaksRenderer.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersClassBreaksRendererJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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/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__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ./Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./mixins/VisualVariablesMixin */
    "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js"), __webpack_require__(
    /*! ./support/ClassBreakInfo */
    "./node_modules/arcgis-js-api/renderers/support/ClassBreakInfo.js"), __webpack_require__(
    /*! ./support/LegendOptions */
    "./node_modules/arcgis-js-api/renderers/support/LegendOptions.js"), __webpack_require__(
    /*! ../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, a, i, s, l, u, p, c, d, f, y, m, h, b, v, g, k, I, B, S) {
      var x = d.getLogger("esri.renderers.ClassBreaksRenderer"),
          w = new p["default"]({
        esriNormalizeByLog: "log",
        esriNormalizeByPercentOfTotal: "percent-of-total",
        esriNormalizeByField: "field"
      }),
          F = h.ensureType(k.ClassBreakInfo);
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.backgroundFillSymbol = null, r.classBreakInfos = null, r.defaultLabel = null, r.defaultSymbol = null, r.field = null, r.isMaxInclusive = !0, r.legendOptions = null, r.normalizationField = null, r.normalizationTotal = null, r.type = "class-breaks", r.valueExpression = null, r.valueExpressionTitle = null, r._set("classBreakInfos", []), r;
        }

        r(t, e), n = t, Object.defineProperty(t.prototype, "_cache", {
          get: function get() {
            return {
              compiledFunc: null
            };
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readClassBreakInfos = function (e, t, r) {
          if (Array.isArray(e)) {
            var o = t.minValue;
            return e.map(function (e) {
              var t = new k.ClassBreakInfo();
              return t.read(e, r), null == t.minValue && (t.minValue = o), null == t.maxValue && (t.maxValue = t.minValue), o = t.maxValue, t;
            });
          }
        }, t.prototype.writeClassBreakInfos = function (e, t, r, o) {
          var n = e.map(function (e) {
            return e.write({}, o);
          });
          this._areClassBreaksConsecutive() && n.forEach(function (e) {
            return delete e.classMinValue;
          }), t[r] = n;
        }, t.prototype.readDefaultSymbol = function (e, t, r) {
          return S.read(e, t, r);
        }, t.prototype.writeDefaultSymbolWebScene = function (e, t, r, o) {
          S.writeTarget(e, t, r, o);
        }, t.prototype.writeDefaultSymbol = function (e, t, r, o) {
          S.writeTarget(e, t, r, o);
        }, t.prototype.castField = function (e) {
          return null == e ? e : "function" == typeof e ? (x.error(".field: field must be a string value"), null) : h.ensureString(e);
        }, Object.defineProperty(t.prototype, "minValue", {
          get: function get() {
            return this.classBreakInfos && this.classBreakInfos[0] && this.classBreakInfos[0].minValue || 0;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "normalizationType", {
          get: function get() {
            var e = this._get("normalizationType"),
                t = !!this.normalizationField,
                r = null != this.normalizationTotal;

            return t || r ? (e = t && "field" || r && "percent-of-total" || null, t && r && x.warn("warning: both normalizationField and normalizationTotal are set!")) : "field" !== e && "percent-of-total" !== e || (e = null), e;
          },
          set: function set(e) {
            this._set("normalizationType", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.addClassBreakInfo = function (e, t, r) {
          var o = null;
          o = "number" == typeof e ? new k.ClassBreakInfo({
            minValue: e,
            maxValue: t,
            symbol: u.ensureType(r)
          }) : F(c.clone(e)), this.classBreakInfos.push(o), 1 === this.classBreakInfos.length && this.notifyChange("minValue");
        }, t.prototype.removeClassBreakInfo = function (e, t) {
          for (var r = this.classBreakInfos.length, o = 0; o < r; o++) {
            var n = [this.classBreakInfos[o].minValue, this.classBreakInfos[o].maxValue];

            if (n[0] === e && n[1] === t) {
              this.classBreakInfos.splice(o, 1);
              break;
            }
          }
        }, t.prototype.getBreakIndex = function (e, t) {
          return this.valueExpression && (f.isNone(t) || f.isNone(t.arcade)) && x.warn(""), this.valueExpression ? this._getBreakIndexForExpression(e, t) : this._getBreakIndexForField(e);
        }, t.prototype.getClassBreakInfo = function (e, t) {
          return i(this, void 0, void 0, function () {
            var r, o, n, i;
            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return r = t, this.valueExpression && (f.isNone(t) || f.isNone(t.arcade)) ? (o = [{}, r], n = {}, [4, B.loadArcade()]) : [3, 2];

                case 1:
                  r = s.apply(void 0, o.concat([(n.arcade = a.sent(), n)])), a.label = 2;

                case 2:
                  return i = this.getBreakIndex(e, r), [2, -1 !== i ? this.classBreakInfos[i] : null];
              }
            });
          });
        }, t.prototype.getSymbol = function (e, t) {
          if (this.valueExpression && (f.isNone(t) || f.isNone(t.arcade))) return void x.error("#getSymbol()", "Please use getSymbolAsync if valueExpression is used");
          var r = this.getBreakIndex(e, t);
          return r > -1 ? this.classBreakInfos[r].symbol : this.defaultSymbol;
        }, t.prototype.getSymbolAsync = function (e, t) {
          return i(this, void 0, void 0, function () {
            var r, o, n, i;
            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return r = t, this.valueExpression && (f.isNone(t) || f.isNone(t.arcade)) ? (o = [{}, r], n = {}, [4, B.loadArcade()]) : [3, 2];

                case 1:
                  r = s.apply(void 0, o.concat([(n.arcade = a.sent(), n)])), a.label = 2;

                case 2:
                  return i = this.getBreakIndex(e, r), [2, i > -1 ? this.classBreakInfos[i].symbol : this.defaultSymbol];
              }
            });
          });
        }, t.prototype.getSymbols = function () {
          var e = [];
          return this.classBreakInfos.forEach(function (t) {
            t.symbol && e.push(t.symbol);
          }), this.defaultSymbol && e.push(this.defaultSymbol), e;
        }, t.prototype.getAttributeHash = function () {
          return this.visualVariables && this.visualVariables.reduce(function (e, t) {
            return e + t.getAttributeHash();
          }, "");
        }, t.prototype.getMeshHash = function () {
          var e = JSON.stringify(this.backgroundFillSymbol),
              t = JSON.stringify(this.defaultSymbol),
              r = this.normalizationField + "." + this.normalizationType + "." + this.normalizationTotal;
          return e + "." + t + "." + this.classBreakInfos.reduce(function (e, t) {
            return e + t.getMeshHash();
          }, "") + "." + r + "." + this.field + "." + this.valueExpression;
        }, Object.defineProperty(t.prototype, "arcadeRequired", {
          get: function get() {
            return this.arcadeRequiredForVisualVariables || !!this.valueExpression;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new n({
            field: this.field,
            backgroundFillSymbol: this.backgroundFillSymbol && this.backgroundFillSymbol.clone(),
            defaultLabel: this.defaultLabel,
            defaultSymbol: this.defaultSymbol && this.defaultSymbol.clone(),
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            classBreakInfos: c.clone(this.classBreakInfos),
            isMaxInclusive: this.isMaxInclusive,
            normalizationField: this.normalizationField,
            normalizationTotal: this.normalizationTotal,
            normalizationType: this.normalizationType,
            visualVariables: c.clone(this.visualVariables),
            legendOptions: c.clone(this.legendOptions),
            authoringInfo: this.authoringInfo && this.authoringInfo.clone()
          });
        }, t.prototype.collectRequiredFields = function (e, t) {
          return i(this, void 0, void 0, function () {
            var r;
            return a(this, function (o) {
              switch (o.label) {
                case 0:
                  return r = [this.collectVVRequiredFields(e, t), this.collectSymbolFields(e, t)], [4, y.all(r)];

                case 1:
                  return o.sent(), [2];
              }
            });
          });
        }, t.prototype.collectSymbolFields = function (e, t) {
          return i(this, void 0, void 0, function () {
            var r;
            return a(this, function (o) {
              switch (o.label) {
                case 0:
                  return r = this.getSymbols().map(function (r) {
                    return r.collectRequiredFields(e, t);
                  }).concat([b.collectArcadeFieldNames(e, t, this.valueExpression)]), b.collectField(e, t, this.field), b.collectField(e, t, this.normalizationField), [4, y.all(r)];

                case 1:
                  return o.sent(), [2];
              }
            });
          });
        }, t.prototype._getBreakIndexForExpression = function (e, t) {
          var r = f.unwrapOr(t, {}),
              o = r.viewingMode,
              n = r.scale,
              a = r.spatialReference,
              i = r.arcade,
              s = this._cache.compiledFunc,
              l = f.expect(i).arcadeUtils;

          if (!s) {
            var u = l.createSyntaxTree(this.valueExpression);
            s = l.createFunction(u), this._cache.compiledFunc = s;
          }

          var p = l.executeFunction(s, l.createExecContext(e, l.getViewInfo({
            viewingMode: o,
            scale: n,
            spatialReference: a
          })));
          return this._getBreakIndexfromInfos(p);
        }, t.prototype._getBreakIndexForField = function (e) {
          var t = this.field,
              r = e.attributes,
              o = this.normalizationType,
              n = parseFloat(r[t]);

          if (o) {
            var a = this.normalizationTotal,
                i = parseFloat(r[this.normalizationField]);
            if ("log" === o) n = Math.log(n) * Math.LOG10E;else if ("percent-of-total" !== o || isNaN(a)) {
              if ("field" === o && !isNaN(i)) {
                if (isNaN(n) || isNaN(i)) return -1;
                n /= i;
              }
            } else n = n / a * 100;
          }

          return this._getBreakIndexfromInfos(n);
        }, t.prototype._getBreakIndexfromInfos = function (e) {
          var t = this.isMaxInclusive;
          if (null != e && "number" == typeof e && !isNaN(e)) for (var r = 0; r < this.classBreakInfos.length; r++) {
            var o = [this.classBreakInfos[r].minValue, this.classBreakInfos[r].maxValue];
            if (o[0] <= e && (t ? e <= o[1] : e < o[1])) return r;
          }
          return -1;
        }, t.prototype._areClassBreaksConsecutive = function () {
          for (var e = this.classBreakInfos, t = e.length, r = 1; r < t; r++) if (e[r - 1].maxValue !== e[r].minValue) return !1;

          return !0;
        };
        var n;
        return o([m.property({
          readOnly: !0,
          dependsOn: ["valueExpression"]
        })], t.prototype, "_cache", null), o([m.property({
          types: {
            base: l.BaseSymbol,
            key: "type",
            typeMap: {
              "simple-fill": u.symbolTypesRenderer.typeMap["simple-fill"],
              "picture-fill": u.symbolTypesRenderer.typeMap["picture-fill"],
              "polygon-3d": u.symbolTypesRenderer.typeMap["polygon-3d"]
            }
          },
          json: {
            origins: {
              "web-scene": {
                type: l.PolygonSymbol3D,
                read: S.read,
                write: S.writeTarget
              }
            },
            read: S.read,
            write: S.writeTarget
          }
        })], t.prototype, "backgroundFillSymbol", void 0), o([m.property({
          type: [k.ClassBreakInfo]
        })], t.prototype, "classBreakInfos", void 0), o([m.reader("classBreakInfos")], t.prototype, "readClassBreakInfos", null), o([m.writer("classBreakInfos")], t.prototype, "writeClassBreakInfos", null), o([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "defaultLabel", void 0), o([m.property({
          types: u.symbolTypesRenderer
        })], t.prototype, "defaultSymbol", void 0), o([m.reader("defaultSymbol")], t.prototype, "readDefaultSymbol", null), o([m.writer("web-scene", "defaultSymbol", {
          defaultSymbol: {
            types: u.symbolTypesRenderer3D
          }
        })], t.prototype, "writeDefaultSymbolWebScene", null), o([m.writer("defaultSymbol")], t.prototype, "writeDefaultSymbol", null), o([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "field", void 0), o([m.cast("field")], t.prototype, "castField", null), o([m.property({
          type: Boolean
        })], t.prototype, "isMaxInclusive", void 0), o([m.property({
          type: I["default"],
          json: {
            write: !0
          }
        })], t.prototype, "legendOptions", void 0), o([m.property({
          type: Number,
          readOnly: !0,
          value: null,
          dependsOn: ["classBreakInfos"],
          json: {
            read: !1,
            write: {
              overridePolicy: function overridePolicy() {
                return 0 !== this.classBreakInfos.length && this._areClassBreaksConsecutive() ? {
                  enabled: !0
                } : {
                  enabled: !1
                };
              }
            }
          }
        })], t.prototype, "minValue", null), o([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "normalizationField", void 0), o([m.property({
          type: Number,
          cast: function cast(e) {
            return h.ensureNumber(e);
          },
          json: {
            write: !0
          }
        })], t.prototype, "normalizationTotal", void 0), o([m.property({
          type: w.apiValues,
          value: null,
          dependsOn: ["normalizationField", "normalizationTotal"],
          json: {
            type: w.jsonValues,
            read: w.read,
            write: w.write
          }
        })], t.prototype, "normalizationType", null), o([m.enumeration.serializable()({
          classBreaks: "class-breaks"
        })], t.prototype, "type", void 0), o([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "valueExpression", void 0), o([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "valueExpressionTitle", void 0), t = n = o([m.subclass("esri.renderers.ClassBreaksRenderer")], t);
      }(m.declared(g.VisualVariablesMixin(v)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/DictionaryRenderer.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/DictionaryRenderer.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersDictionaryRendererJs(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/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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.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/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/LRUCache */
    "./node_modules/arcgis-js-api/core/LRUCache.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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__(
    /*! ../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ./Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./mixins/VisualVariablesMixin */
    "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js"), __webpack_require__(
    /*! ../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ../symbols/CIMSymbol */
    "./node_modules/arcgis-js-api/symbols/CIMSymbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, s, n, a, l, u, c, p, h, f, y, d, m, b, g, v, S, _) {
      var w = h.getLogger("esri.renderers.DictionaryRenderer");
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._ongoingRequests = new Map(), r._symbolCache = new f(100), r.config = null, r.description = null, r.fieldMap = null, r.label = null, r.scaleExpression = null, r.url = null, r.type = "dictionary", r;
        }

        r(t, e), h = t, t.prototype.clone = function () {
          return new h({
            config: p.clone(this.config),
            scaleExpression: p.clone(this.scaleExpression),
            description: p.clone(this.description),
            fieldMap: p.clone(this.fieldMap),
            label: p.clone(this.label),
            url: p.clone(this.url),
            visualVariables: p.clone(this.visualVariables)
          });
        }, t.prototype.collectRequiredFields = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r, i;
            return s(this, function (o) {
              switch (o.label) {
                case 0:
                  return [4, this.collectVVRequiredFields(e, t)];

                case 1:
                  return o.sent(), this.scaleExpression ? [4, b.collectArcadeFieldNames(e, t, this.scaleExpression)] : [3, 3];

                case 2:
                  o.sent(), o.label = 3;

                case 3:
                  r = t.map(function (e) {
                    return e.name;
                  });

                  for (i in this.fieldMap) r.indexOf(this.fieldMap[i]) < 0 || e.add(this.fieldMap[i]);

                  return [2];
              }
            });
          });
        }, Object.defineProperty(t.prototype, "arcadeRequired", {
          get: function get() {
            return !0;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.fetchResources = function (e) {
          return n(this, void 0, void 0, function () {
            var t, r, i, n, a, p, h, f, m, b, f, g, v, _, R, M, f, x, j;

            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return this.url ? (t = y.isSome(e) ? e.abortOptions : null, r = l(this.url + "/resources/styles/dictionary-info.json", o({
                    responseType: "json",
                    query: {
                      f: "json"
                    }
                  }, t)), [4, d.all([r, S.loadArcade()])]) : (w.error("no valid URL!"), [2, void 0]);

                case 1:
                  if (!(i = s.sent()[0].data)) throw new u("esri.renderers.DictionaryRenderer", "Bad dictionary data!");

                  if (n = i.expression, a = i.authoringInfo, this._refSymbolUrlTemplate = this.url + "/" + i.cimRefTemplateUrl, this._itemNames = c.createSetFromValues(i.itemsNames), this._symbolAttributes = a.symbol, p = {}, this.config) {
                    h = this.config;

                    for (f in h) p[f] = h[f];
                  }

                  for (m = 0, b = a.configuration; m < b.length; m++) f = b[m], p.hasOwnProperty(f.name) || (p[f.name] = f.value);

                  if (g = [], y.isSome(e) && e.fields) for (v = function v(t) {
                    var r = _.fieldMap[t],
                        i = e.fields.filter(function (e) {
                      return e.name === r;
                    });
                    i.length > 0 && g.push(o({}, i[0], {
                      name: t
                    }));
                  }, _ = this, R = 0, M = this._symbolAttributes; R < M.length; R++) f = M[R], v(f);
                  return [4, S.createDictionaryExpression(n, y.isSome(e) ? e.spatialReference : null, g, p)];

                case 2:
                  return x = s.sent(), j = {
                    scale: 0
                  }, [2, function (e, t) {
                    var r = x.repurposeFeature({
                      geometry: null,
                      attributes: e
                    });
                    return j.scale = y.isSome(t) ? t.scale : void 0, x.evaluate({
                      $feature: r,
                      $view: j
                    });
                  }];
              }
            });
          });
        }, t.prototype.getSymbol = function () {
          return null;
        }, t.prototype.getSymbolAsync = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r, i, o, n, l, u, c, p, h, f, y, d, m, b, g, v, S, _, w, R, M, x, j, N, O;

            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return this._dictionaryPromise || (this._dictionaryPromise = this.fetchResources(t)), [4, this._dictionaryPromise];

                case 1:
                  for (r = s.sent(), i = {}, o = 0, n = this._symbolAttributes; o < n.length; o++) l = n[o], u = this.fieldMap[l], u && null !== e.attributes[u] && void 0 !== e.attributes[u] ? (c = "" + e.attributes[u], i[l] = c) : i[l] = "";

                  if (!(p = r(i, t)) || "string" != typeof p) return [2, null];

                  for (h = p.split(";"), f = [], y = [], d = 0, m = h; d < m.length; d++) if ((b = m[d]) && 0 !== b.length) if (-1 === b.indexOf("po:")) {
                    if (-1 !== b.indexOf("|")) for (R = 0, M = b.split("|"); R < M.length; R++) x = M[R], this._itemNames.has(x) && f.push(x);else this._itemNames.has(b) && f.push(b);
                  } else g = b.substr(3).split("|"), 3 === g.length && (v = g[0], S = g[1], _ = g[2], "DashTemplate" === S ? _ = _.split(" ").map(function (e) {
                    return Number(e);
                  }) : "Color" === S ? (w = new a(_).toRgba(), _ = [w[0], w[1], w[2], 255 * w[3]]) : _ = Number(_), y.push({
                    primitiveName: v,
                    propertyName: S,
                    value: _
                  }));

                  return j = f.join(";") + y.map(function (e) {
                    return e.primitiveName + ";" + e.propertyName + ";" + e.value;
                  }), (N = this._symbolCache.get(j)) ? [2, N] : (O = this._cimPartsToCIMSymbol(f, y, t), this._symbolCache.put(j, O, 1), [2, O]);
              }
            });
          });
        }, t.prototype.getSymbols = function () {
          return [];
        }, t.prototype.getAttributeHash = function () {
          return this.visualVariables && this.visualVariables.reduce(function (e, t) {
            return e + t.getAttributeHash();
          }, "");
        }, t.prototype.getMeshHash = function () {
          return this.url + "-" + JSON.stringify(this.fieldMap);
        }, t.prototype._getSymbolPart = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r, i, n;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return this._ongoingRequests.has(e) ? [2, this._ongoingRequests.get(e).then(function (e) {
                    return e.data;
                  })] : (r = this._refSymbolUrlTemplate.replace(/\{itemName\}/gi, e), i = l(r, o({
                    responseType: "json",
                    query: {
                      f: "json"
                    }
                  }, t)), this._ongoingRequests.set(e, i), [4, i]);

                case 1:
                  return n = s.sent(), [2, n.data];
              }
            });
          });
        }, t.prototype._combineSymbolParts = function (e, t) {
          var r;
          if (!e || 0 === e.length) return null;
          if (1 === e.length) return {
            type: "CIMSymbolReference",
            symbol: e[0],
            primitiveOverrides: t
          };
          var i = o({}, e[0]);
          i.symbolLayers = [];

          for (var s = 0, n = e; s < n.length; s++) {
            var a = n[s],
                l = a;
            (r = i.symbolLayers).unshift.apply(r, l.symbolLayers);
          }

          return {
            type: "CIMSymbolReference",
            symbol: i,
            primitiveOverrides: t
          };
        }, t.prototype._cimPartsToCIMSymbol = function (e, t, r) {
          return n(this, void 0, void 0, function () {
            var i, o, n;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  for (i = new Array(e.length), o = 0; o < e.length; o++) i[o] = this._getSymbolPart(e[o], r);

                  return [4, d.eachAlwaysValues(i)];

                case 1:
                  return n = s.sent(), [2, new _({
                    data: this._combineSymbolParts(n, t)
                  })];
              }
            });
          });
        };
        var h;
        return i([m.property({
          type: Object,
          json: {
            write: !0
          }
        })], t.prototype, "config", void 0), i([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "description", void 0), i([m.property({
          type: Object,
          json: {
            write: !0
          }
        })], t.prototype, "fieldMap", void 0), i([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "label", void 0), i([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "scaleExpression", void 0), i([m.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "url", void 0), t = h = i([m.subclass("esri.renderers.DictionaryRenderer")], t);
      }(m.declared(v.VisualVariablesMixin(g)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/DotDensityRenderer.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/DotDensityRenderer.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersDotDensityRendererJs(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/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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ./Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./mixins/VisualVariablesMixin */
    "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js"), __webpack_require__(
    /*! ./support/AttributeColorInfo */
    "./node_modules/arcgis-js-api/renderers/support/AttributeColorInfo.js"), __webpack_require__(
    /*! ./support/DotDensityLegendOptions */
    "./node_modules/arcgis-js-api/renderers/support/DotDensityLegendOptions.js"), __webpack_require__(
    /*! ../symbols/SimpleFillSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js"), __webpack_require__(
    /*! ../symbols/SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, n, i, l, s, p, u, a, d, c, y, h, b, f) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.attributes = null, o.backgroundColor = new s([0, 0, 0, 0]), o.blendDots = !0, o.dotBlendingEnabled = !0, o.dotShape = "square", o.dotSize = 1, o.legendOptions = null, o.outline = new f(), o.dotValue = null, o.referenceDotValue = null, o.referenceScale = null, o.seed = 1, o.type = "dot-density", o;
        }

        o(t, e), n = t, t.prototype.calculateDotValue = function (e) {
          if (null == this.referenceScale) return this.dotValue;
          var t = e / this.referenceScale * this.dotValue;
          return t < 1 ? 1 : t;
        }, t.prototype.getSymbol = function () {
          return new b({
            outline: this.outline
          });
        }, t.prototype.getSymbolAsync = function () {
          return l(this, void 0, void 0, function () {
            return i(this, function (e) {
              return [2, this.getSymbol()];
            });
          });
        }, t.prototype.getSymbols = function () {
          return [this.getSymbol()];
        }, t.prototype.getAttributeHash = function () {
          return this.attributes && this.attributes.reduce(function (e, t) {
            return e + t.getAttributeHash();
          }, "");
        }, t.prototype.getMeshHash = function () {
          return JSON.stringify(this.outline);
        }, t.prototype.clone = function () {
          return new n({
            attributes: p.clone(this.attributes),
            backgroundColor: p.clone(this.backgroundColor),
            dotBlendingEnabled: p.clone(this.dotBlendingEnabled),
            dotShape: p.clone(this.dotShape),
            dotSize: p.clone(this.dotSize),
            dotValue: p.clone(this.dotValue),
            legendOptions: p.clone(this.legendOptions),
            outline: p.clone(this.outline),
            referenceScale: p.clone(this.referenceScale),
            visualVariables: p.clone(this.visualVariables),
            authoringInfo: this.authoringInfo && this.authoringInfo.clone()
          });
        }, t.prototype.getControllerHash = function () {
          return this.attributes.map(function (e) {
            return e.field || e.valueExpression || "";
          }) + "-" + (this.outline && JSON.stringify(this.outline.toJSON()) || "");
        }, t.prototype.collectRequiredFields = function (e, t) {
          return l(this, void 0, void 0, function () {
            var o, r, n;
            return i(this, function (i) {
              switch (i.label) {
                case 0:
                  return [4, this.collectVVRequiredFields(e, t)];

                case 1:
                  i.sent(), o = 0, r = this.attributes, i.label = 2;

                case 2:
                  return o < r.length ? (n = r[o], n.valueExpression ? [4, a.collectArcadeFieldNames(e, t, n.valueExpression)] : [3, 4]) : [3, 6];

                case 3:
                  i.sent(), i.label = 4;

                case 4:
                  n.field && e.add(n.field), i.label = 5;

                case 5:
                  return o++, [3, 2];

                case 6:
                  return [2];
              }
            });
          });
        };
        var n;
        return r([u.property({
          type: [y],
          json: {
            write: !0
          }
        })], t.prototype, "attributes", void 0), r([u.property({
          type: s,
          json: {
            write: !0
          }
        })], t.prototype, "backgroundColor", void 0), r([u.property({
          type: Boolean
        }), u.aliasOf("dotBlendingEnabled")], t.prototype, "blendDots", void 0), r([u.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], t.prototype, "dotBlendingEnabled", void 0), r([u.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "dotShape", void 0), r([u.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "dotSize", void 0), r([u.property({
          type: h,
          json: {
            write: !0
          }
        })], t.prototype, "legendOptions", void 0), r([u.property({
          type: f,
          json: {
            "default": null,
            write: !0
          }
        })], t.prototype, "outline", void 0), r([u.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "dotValue", void 0), r([u.property({
          type: Number
        }), u.aliasOf("dotValue")], t.prototype, "referenceDotValue", void 0), r([u.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "referenceScale", void 0), r([u.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "seed", void 0), r([u.enumeration.serializable()({
          dotDensity: "dot-density"
        })], t.prototype, "type", void 0), t = n = r([u.subclass("esri.renderers.DotDensityRenderer")], t);
      }(u.declared(c.VisualVariablesMixin(d)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/HeatmapRenderer.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/HeatmapRenderer.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersHeatmapRendererJs(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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ./Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./support/HeatmapColorStop */
    "./node_modules/arcgis-js-api/renderers/support/HeatmapColorStop.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, p, l, s, a, u, c) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.blurRadius = 10, r.colorStops = [new c.HeatmapColorStop({
            ratio: 0,
            color: new p("rgba(255, 140, 0, 0)")
          }), new c.HeatmapColorStop({
            ratio: .75,
            color: new p("rgba(255, 140, 0, 1)")
          }), new c.HeatmapColorStop({
            ratio: .9,
            color: new p("rgba(255, 0,   0, 1)")
          })], r.field = null, r.fieldOffset = 0, r.maxPixelIntensity = 100, r.minPixelIntensity = 0, r.type = "heatmap", r;
        }

        r(t, e), u = t, t.prototype.collectRequiredFields = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r;
            return i(this, function (o) {
              return r = this.field, r && "string" == typeof r && a.collectField(e, t, r), [2];
            });
          });
        }, t.prototype.getAttributeHash = function () {
          return null;
        }, t.prototype.getMeshHash = function () {
          return JSON.stringify(this.colorStops) + "." + this.blurRadius;
        }, t.prototype.clone = function () {
          return new u({
            blurRadius: this.blurRadius,
            colorStops: l.clone(this.colorStops),
            field: this.field,
            maxPixelIntensity: this.maxPixelIntensity,
            minPixelIntensity: this.minPixelIntensity
          });
        };
        var u;
        return o([s.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "blurRadius", void 0), o([s.property({
          type: [c.HeatmapColorStop],
          json: {
            write: !0
          }
        })], t.prototype, "colorStops", void 0), o([s.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "field", void 0), o([s.property({
          type: Number,
          json: {
            write: {
              overridePolicy: function overridePolicy(e, t, r) {
                return {
                  enabled: null == r
                };
              }
            }
          }
        })], t.prototype, "fieldOffset", void 0), o([s.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "maxPixelIntensity", void 0), o([s.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "minPixelIntensity", void 0), o([s.enumeration.serializable()({
          heatmap: "heatmap"
        })], t.prototype, "type", void 0), t = u = o([s.subclass("esri.renderers.HeatmapRenderer")], t);
      }(s.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/Renderer.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/Renderer.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersRendererJs(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/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./support/AuthoringInfo */
    "./node_modules/arcgis-js-api/renderers/support/AuthoringInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, s, u, p, a, c) {
      var l = new u["default"]({
        simple: "simple",
        uniqueValue: "unique-value",
        classBreaks: "class-breaks",
        heatmap: "heatmap",
        dotDensity: "dot-density",
        dictionary: "dictionary"
      }, {
        ignoreUnknown: !0
      });
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.authoringInfo = null, r.type = null, r;
        }

        return r(t, e), t.prototype.getRequiredFields = function (e) {
          return i(this, void 0, void 0, function () {
            var t;
            return n(this, function (r) {
              switch (r.label) {
                case 0:
                  return this.collectRequiredFields ? (t = new Set(), [4, this.collectRequiredFields(t, e)]) : [2, []];

                case 1:
                  return r.sent(), [2, s.valuesOfSet(t).sort()];
              }
            });
          });
        }, t.prototype.getSymbol = function (e, t) {}, t.prototype.getSymbolAsync = function (e, t) {
          return i(this, void 0, void 0, function () {
            return n(this, function (e) {
              return [2];
            });
          });
        }, t.prototype.getSymbols = function () {
          return [];
        }, t.prototype.getAttributeHash = function () {
          return JSON.stringify(this);
        }, t.prototype.getMeshHash = function () {
          return JSON.stringify(this);
        }, o([a.property({
          type: c,
          json: {
            write: !0
          }
        })], t.prototype, "authoringInfo", void 0), o([a.property({
          type: l.apiValues,
          readOnly: !0,
          json: {
            type: l.jsonValues,
            read: !1,
            write: {
              writer: l.write,
              ignoreOrigin: !0
            }
          }
        })], t.prototype, "type", void 0), t = o([a.subclass("esri.renderers.Renderer")], t);
      }(a.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/SimpleRenderer.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/SimpleRenderer.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSimpleRendererJs(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__(
    /*! ../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./mixins/VisualVariablesMixin */
    "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js"), __webpack_require__(
    /*! ../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, s, l, u, p, c, a, y) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.description = null, r.label = null, r.symbol = null, r.type = "simple", r;
        }

        r(t, e), c = t, t.prototype.writeSymbolWebScene = function (e, t, r, o) {
          y.writeTarget(e, t, r, o);
        }, t.prototype.writeSymbol = function (e, t, r, o) {
          y.writeTarget(e, t, r, o);
        }, t.prototype.readSymbol = function (e, t, r) {
          return y.read(e, t, r);
        }, t.prototype.collectRequiredFields = function (e, t) {
          return n(this, void 0, void 0, function () {
            return i(this, function (r) {
              switch (r.label) {
                case 0:
                  return [4, u.all([this.collectSymbolFields(e, t), this.collectVVRequiredFields(e, t)])];

                case 1:
                  return r.sent(), [2];
              }
            });
          });
        }, t.prototype.collectSymbolFields = function (e, t) {
          return n(this, void 0, void 0, function () {
            return i(this, function (r) {
              switch (r.label) {
                case 0:
                  return [4, u.all(this.getSymbols().map(function (r) {
                    return r.collectRequiredFields(e, t);
                  }))];

                case 1:
                  return r.sent(), [2];
              }
            });
          });
        }, t.prototype.getSymbol = function (e, t) {
          return this.symbol;
        }, t.prototype.getSymbolAsync = function (e, t) {
          return n(this, void 0, void 0, function () {
            return i(this, function (e) {
              return [2, this.symbol];
            });
          });
        }, t.prototype.getSymbols = function () {
          return this.symbol ? [this.symbol] : [];
        }, t.prototype.getAttributeHash = function () {
          return this.visualVariables && this.visualVariables.reduce(function (e, t) {
            return e + t.getAttributeHash();
          }, "");
        }, t.prototype.getMeshHash = function () {
          return this.getSymbols().reduce(function (e, t) {
            return e += JSON.stringify(t);
          }, "");
        }, Object.defineProperty(t.prototype, "arcadeRequired", {
          get: function get() {
            return this.arcadeRequiredForVisualVariables;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new c({
            description: this.description,
            label: this.label,
            symbol: this.symbol && this.symbol.clone(),
            visualVariables: l.clone(this.visualVariables),
            authoringInfo: this.authoringInfo && this.authoringInfo.clone()
          });
        };
        var c;
        return o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "description", void 0), o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "label", void 0), o([p.property({
          types: s.symbolTypesRenderer
        })], t.prototype, "symbol", void 0), o([p.writer("web-scene", "symbol", {
          symbol: {
            types: s.symbolTypesRenderer3D
          }
        })], t.prototype, "writeSymbolWebScene", null), o([p.writer("symbol")], t.prototype, "writeSymbol", null), o([p.reader("symbol")], t.prototype, "readSymbol", null), o([p.enumeration.serializable()({
          simple: "simple"
        })], t.prototype, "type", void 0), t = c = o([p.subclass("esri.renderers.SimpleRenderer")], t);
      }(p.declared(a.VisualVariablesMixin(c)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersUniqueValueRendererJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.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__(
    /*! ../core/accessorSupport/diffUtils */
    "./node_modules/arcgis-js-api/core/accessorSupport/diffUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ./Renderer */
    "./node_modules/arcgis-js-api/renderers/Renderer.js"), __webpack_require__(
    /*! ./mixins/VisualVariablesMixin */
    "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js"), __webpack_require__(
    /*! ./support/LegendOptions */
    "./node_modules/arcgis-js-api/renderers/support/LegendOptions.js"), __webpack_require__(
    /*! ./support/UniqueValueInfo */
    "./node_modules/arcgis-js-api/renderers/support/UniqueValueInfo.js"), __webpack_require__(
    /*! ../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js"), __webpack_require__(
    /*! ../symbols/support/styleUtils */
    "./node_modules/arcgis-js-api/symbols/support/styleUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, l, o, i, n, a, u, s, p, f, y, d, c, h, m, b, v, g, S, V, w, q, I, O, U, _, F) {
      var D = d.getLogger("esri.renderers.UniqueValueRenderer"),
          x = g.ensureType(O["default"]);
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._valueInfoMap = {}, r._isDefaultSymbolDerived = !1, r.type = "unique-value", r.backgroundFillSymbol = null, r.field = null, r.field2 = null, r.field3 = null, r.valueExpression = null, r.valueExpressionTitle = null, r.legendOptions = null, r.defaultLabel = null, r.fieldDelimiter = null, r.portal = null, r.styleOrigin = null, r.diff = {
            uniqueValueInfos: function uniqueValueInfos(e, t) {
              if (e || t) {
                if (!e || !t) return {
                  type: "complete",
                  oldValue: e,
                  newValue: t
                };

                for (var r = !1, l = {
                  type: "collection",
                  added: [],
                  removed: [],
                  changed: [],
                  unchanged: []
                }, o = 0; o < t.length; o++) !function (o) {
                  var i = p.find(e, function (e) {
                    return e.value === t[o].value;
                  });
                  i ? v.diff(i, t[o]) ? (l.changed.push({
                    type: "complete",
                    oldValue: i,
                    newValue: t[o]
                  }), r = !0) : l.unchanged.push({
                    oldValue: i,
                    newValue: t[o]
                  }) : (l.added.push(t[o]), r = !0);
                }(o);

                for (var o = 0; o < e.length; o++) !function (o) {
                  p.find(t, function (t) {
                    return t.value === e[o].value;
                  }) || (l.removed.push(e[o]), r = !0);
                }(o);

                return r ? l : void 0;
              }
            }
          }, r._set("uniqueValueInfos", []), r;
        }

        r(t, e), o = t, Object.defineProperty(t.prototype, "_cache", {
          get: function get() {
            return {
              compiledFunc: null
            };
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.writeBackgroundFillSymbolWebScene = function (e, t, r, l) {
          _.writeTarget(e, t, r, l);
        }, t.prototype.castField = function (e) {
          return null == e ? e : "function" == typeof e ? e : g.ensureString(e);
        }, t.prototype.writeField = function (e, t, r, l) {
          "string" == typeof e ? t[r] = e : l && l.messages ? l.messages.push(new f("property:unsupported", "UniqueValueRenderer.field set to a function cannot be written to JSON")) : D.error(".field: cannot write field to JSON since it's not a string value");
        }, Object.defineProperty(t.prototype, "defaultSymbol", {
          set: function set(e) {
            this._isDefaultSymbolDerived = !1, this._set("defaultSymbol", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readDefaultSymbol = function (e, t, r) {
          return _.read(e, t, r);
        }, t.prototype.writeDefaultSymbolWebScene = function (e, t, r, l) {
          this._isDefaultSymbolDerived || _.writeTarget(e, t, r, l);
        }, t.prototype.writeDefaultSymbol = function (e, t, r, l) {
          this._isDefaultSymbolDerived || _.writeTarget(e, t, r, l);
        }, t.prototype.readPortal = function (e, t, r) {
          return r.portal || V.getDefault();
        }, t.prototype.readStyleOrigin = function (e, t, r) {
          if (t.styleName) return Object.freeze({
            styleName: t.styleName
          });

          if (t.styleUrl) {
            var l = m.fromJSON(t.styleUrl, r);
            return Object.freeze({
              styleUrl: l
            });
          }
        }, t.prototype.writeStyleOrigin = function (e, t, r, l) {
          e.styleName ? t.styleName = e.styleName : e.styleUrl && (t.styleUrl = m.toJSON(e.styleUrl, l));
        }, Object.defineProperty(t.prototype, "uniqueValueInfos", {
          set: function set(e) {
            if (this.styleOrigin) return void D.error("#uniqueValueInfos=", "Cannot modify unique value infos of a UniqueValueRenderer created from a web style");
            this._set("uniqueValueInfos", e), this._updateValueInfoMap();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.addUniqueValueInfo = function (e, t) {
          if (this.styleOrigin) return void D.error("#addUniqueValueInfo()", "Cannot modify unique value infos of a UniqueValueRenderer created from a web style");
          var r;
          r = "object" == typeof e ? x(e) : new O["default"]({
            value: e,
            symbol: s.ensureType(t)
          }), this.uniqueValueInfos.push(r), this._valueInfoMap[r.value] = r;
        }, t.prototype.removeUniqueValueInfo = function (e) {
          if (this.styleOrigin) return void D.error("#removeUniqueValueInfo()", "Cannot modify unique value infos of a UniqueValueRenderer created from a web style");

          for (var t = 0; t < this.uniqueValueInfos.length; t++) {
            if (this.uniqueValueInfos[t].value === e + "") {
              delete this._valueInfoMap[e], this.uniqueValueInfos.splice(t, 1);
              break;
            }
          }
        }, t.prototype.getUniqueValueInfo = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r, l, o;
            return i(this, function (i) {
              switch (i.label) {
                case 0:
                  return r = t, this.valueExpression && (c.isNone(t) || c.isNone(t.arcade)) ? (l = [{}, r], o = {}, [4, U.loadArcade()]) : [3, 2];

                case 1:
                  r = a.apply(void 0, l.concat([(o.arcade = i.sent(), o)])), i.label = 2;

                case 2:
                  return [2, this._getUniqueValueInfo(e, r)];
              }
            });
          });
        }, t.prototype.getSymbol = function (e, t) {
          if (this.valueExpression && (c.isNone(t) || c.isNone(t.arcade))) return void D.error("#getSymbol()", "Please use getSymbolAsync if valueExpression is used");

          var r = this._getUniqueValueInfo(e, t);

          return r && r.symbol || this.defaultSymbol;
        }, t.prototype.getSymbolAsync = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r, l, o, n;
            return i(this, function (i) {
              switch (i.label) {
                case 0:
                  return r = t, this.valueExpression && (c.isNone(r) || c.isNone(r.arcade)) ? (l = [{}, r], o = {}, [4, U.loadArcade()]) : [3, 2];

                case 1:
                  r = a.apply(void 0, l.concat([(o.arcade = i.sent(), o)])), i.label = 2;

                case 2:
                  return n = this._getUniqueValueInfo(e, r), [2, n && n.symbol || this.defaultSymbol];
              }
            });
          });
        }, t.prototype.getSymbols = function () {
          for (var e = [], t = 0, r = this.uniqueValueInfos; t < r.length; t++) {
            var l = r[t];
            l.symbol && e.push(l.symbol);
          }

          return this.defaultSymbol && e.push(this.defaultSymbol), e;
        }, t.prototype.getAttributeHash = function () {
          return this.visualVariables && this.visualVariables.reduce(function (e, t) {
            return e + t.getAttributeHash();
          }, "");
        }, t.prototype.getMeshHash = function () {
          return JSON.stringify(this.backgroundFillSymbol) + "." + JSON.stringify(this.defaultSymbol) + "." + this.uniqueValueInfos.reduce(function (e, t) {
            return e + t.getMeshHash();
          }, "") + "." + this.field + "." + this.field2 + "." + this.field3 + "." + this.fieldDelimiter + "." + this.valueExpression;
        }, t.prototype.clone = function () {
          var e = new o({
            field: this.field,
            field2: this.field2,
            field3: this.field3,
            defaultLabel: this.defaultLabel,
            defaultSymbol: y.clone(this.defaultSymbol),
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            fieldDelimiter: this.fieldDelimiter,
            visualVariables: y.clone(this.visualVariables),
            legendOptions: y.clone(this.legendOptions),
            authoringInfo: this.authoringInfo && this.authoringInfo.clone(),
            backgroundFillSymbol: y.clone(this.backgroundFillSymbol)
          });
          this._isDefaultSymbolDerived && (e._isDefaultSymbolDerived = !0), e._set("portal", this.portal);
          var t = y.clone(this.uniqueValueInfos);
          return this.styleOrigin && (e._set("styleOrigin", Object.freeze(y.clone(this.styleOrigin))), Object.freeze(t)), e._set("uniqueValueInfos", t), e._updateValueInfoMap(), e;
        }, Object.defineProperty(t.prototype, "arcadeRequired", {
          get: function get() {
            return this.arcadeRequiredForVisualVariables || !!this.valueExpression;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.collectRequiredFields = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r;
            return i(this, function (l) {
              switch (l.label) {
                case 0:
                  return r = [this.collectVVRequiredFields(e, t), this.collectSymbolFields(e, t)], [4, h.all(r)];

                case 1:
                  return l.sent(), [2];
              }
            });
          });
        }, t.prototype.collectSymbolFields = function (e, t) {
          return n(this, void 0, void 0, function () {
            var r;
            return i(this, function (l) {
              switch (l.label) {
                case 0:
                  return r = this.getSymbols().map(function (r) {
                    return r.collectRequiredFields(e, t);
                  }).concat([S.collectArcadeFieldNames(e, t, this.valueExpression)]), S.collectField(e, t, this.field), S.collectField(e, t, this.field2), S.collectField(e, t, this.field3), [4, h.all(r)];

                case 1:
                  return l.sent(), [2];
              }
            });
          });
        }, t.prototype.populateFromStyle = function () {
          var e = this;
          return F.fetchStyle(this.styleOrigin, {
            portal: this.portal
          }).then(function (t) {
            var r = [];
            return e._valueInfoMap = {}, t && t.data && Array.isArray(t.data.items) && t.data.items.forEach(function (l) {
              var o = new u.WebStyleSymbol({
                styleUrl: t.styleUrl,
                styleName: t.styleName,
                portal: e.portal,
                name: l.name
              });
              e.defaultSymbol || l.name !== t.data.defaultItem || (e.defaultSymbol = o, e._isDefaultSymbolDerived = !0);
              var i = new O["default"]({
                value: l.name,
                symbol: o
              });
              r.push(i), e._valueInfoMap[l.name] = i;
            }), e._set("uniqueValueInfos", Object.freeze(r)), !e.defaultSymbol && e.uniqueValueInfos.length && (e.defaultSymbol = e.uniqueValueInfos[0].symbol, e._isDefaultSymbolDerived = !0), e;
          });
        }, t.prototype._updateValueInfoMap = function () {
          var e = this;
          this._valueInfoMap = {}, this.uniqueValueInfos.forEach(function (t) {
            return e._valueInfoMap[t.value + ""] = t;
          });
        }, t.prototype._getUniqueValueInfo = function (e, t) {
          return this.valueExpression ? this._getUnqiueValueInfoForExpression(e, t) : this._getUnqiueValueInfoForFields(e);
        }, t.prototype._getUnqiueValueInfoForExpression = function (e, t) {
          var r = c.unwrapOr(t, {}),
              l = r.viewingMode,
              o = r.scale,
              i = r.spatialReference,
              n = r.arcade,
              a = this._cache.compiledFunc,
              u = c.expect(n).arcadeUtils;

          if (!a) {
            var s = u.createSyntaxTree(this.valueExpression);
            a = u.createFunction(s), this._cache.compiledFunc = a;
          }

          var p = u.executeFunction(a, u.createExecContext(e, u.getViewInfo({
            viewingMode: l,
            scale: o,
            spatialReference: i
          })));
          return this._valueInfoMap[p + ""];
        }, t.prototype._getUnqiueValueInfoForFields = function (e) {
          var t,
              r = this.field,
              l = e.attributes;

          if ("function" != typeof r && this.field2) {
            var o = this.field2,
                i = this.field3,
                n = [];
            r && n.push(l[r]), o && n.push(l[o]), i && n.push(l[i]), t = n.join(this.fieldDelimiter || "");
          } else "function" == typeof r ? t = r(e) : r && (t = l[r]);

          return this._valueInfoMap[t + ""];
        }, t.fromPortalStyle = function (e, t) {
          var r = new o(t && t.properties);
          r._set("styleOrigin", Object.freeze({
            styleName: e
          })), r._set("portal", t && t.portal || V.getDefault());
          var l = r.populateFromStyle();
          return l["catch"](function (t) {
            D.error("#fromPortalStyle('" + e + "'[, ...])", "Failed to create unique value renderer from style name", t);
          }), l;
        }, t.fromStyleUrl = function (e, t) {
          var r = new o(t && t.properties);

          r._set("styleOrigin", Object.freeze({
            styleUrl: e
          }));

          var l = r.populateFromStyle();
          return l["catch"](function (t) {
            D.error("#fromStyleUrl('" + e + "'[, ...])", "Failed to create unique value renderer from style URL", t);
          }), l;
        };
        var o;
        return l([b.property({
          readOnly: !0,
          dependsOn: ["valueExpression"]
        })], t.prototype, "_cache", null), l([b.enumeration.serializable()({
          uniqueValue: "unique-value"
        })], t.prototype, "type", void 0), l([b.property({
          types: {
            base: u.BaseSymbol,
            key: "type",
            typeMap: {
              "simple-fill": s.symbolTypesRenderer.typeMap["simple-fill"],
              "picture-fill": s.symbolTypesRenderer.typeMap["picture-fill"],
              "polygon-3d": s.symbolTypesRenderer.typeMap["polygon-3d"]
            }
          },
          json: {
            read: _.read,
            write: _.writeTarget
          }
        })], t.prototype, "backgroundFillSymbol", void 0), l([b.writer("web-scene", "backgroundFillSymbol", {
          backgroundFillSymbol: {
            type: u.PolygonSymbol3D
          }
        })], t.prototype, "writeBackgroundFillSymbolWebScene", null), l([b.property({
          json: {
            type: String,
            read: {
              source: "field1"
            },
            write: {
              target: "field1"
            }
          }
        })], t.prototype, "field", void 0), l([b.cast("field")], t.prototype, "castField", null), l([b.writer("field")], t.prototype, "writeField", null), l([b.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "field2", void 0), l([b.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "field3", void 0), l([b.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "valueExpression", void 0), l([b.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "valueExpressionTitle", void 0), l([b.property({
          type: I["default"],
          json: {
            write: !0
          }
        })], t.prototype, "legendOptions", void 0), l([b.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "defaultLabel", void 0), l([b.property({
          types: s.symbolTypesRenderer
        })], t.prototype, "defaultSymbol", null), l([b.reader("defaultSymbol")], t.prototype, "readDefaultSymbol", null), l([b.writer("web-scene", "defaultSymbol", {
          defaultSymbol: {
            types: s.symbolTypesRenderer3D
          }
        })], t.prototype, "writeDefaultSymbolWebScene", null), l([b.writer("defaultSymbol")], t.prototype, "writeDefaultSymbol", null), l([b.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "fieldDelimiter", void 0), l([b.property({
          type: V,
          readOnly: !0
        })], t.prototype, "portal", void 0), l([b.reader("portal", ["styleName"])], t.prototype, "readPortal", null), l([b.property({
          readOnly: !0,
          json: {
            write: {
              enabled: !1,
              overridePolicy: function overridePolicy() {
                return {
                  enabled: !0
                };
              }
            }
          }
        })], t.prototype, "styleOrigin", void 0), l([b.reader("styleOrigin", ["styleName", "styleUrl"])], t.prototype, "readStyleOrigin", null), l([b.writer("styleOrigin", {
          styleName: {
            type: String
          },
          styleUrl: {
            type: String
          }
        })], t.prototype, "writeStyleOrigin", null), l([b.property({
          type: [O["default"]],
          json: {
            write: {
              overridePolicy: function overridePolicy() {
                return this.styleOrigin ? {
                  enabled: !1
                } : {
                  enabled: !0
                };
              }
            }
          }
        })], t.prototype, "uniqueValueInfos", null), t = o = l([b.subclass("esri.renderers.UniqueValueRenderer")], t);
      }(b.declared(q.VisualVariablesMixin(w)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/mixins/VisualVariablesMixin.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersMixinsVisualVariablesMixinJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ../visualVariables/ColorVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/ColorVariable.js"), __webpack_require__(
    /*! ../visualVariables/OpacityVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/OpacityVariable.js"), __webpack_require__(
    /*! ../visualVariables/RotationVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/RotationVariable.js"), __webpack_require__(
    /*! ../visualVariables/SizeVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js"), __webpack_require__(
    /*! ../visualVariables/VisualVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js"), __webpack_require__(
    /*! ../visualVariables/VisualVariableFactory */
    "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariableFactory.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, r, i, t, l, s, o, u, n, p, c, V, b) {
      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var v = {
        base: V,
        key: "type",
        typeMap: {
          opacity: n,
          color: u,
          rotation: p,
          size: c
        }
      };

      a.VisualVariablesMixin = function (e) {
        return function (e) {
          function a() {
            var a = null !== e && e.apply(this, arguments) || this;
            return a._vvFactory = new b(), a;
          }

          return r(a, e), Object.defineProperty(a.prototype, "visualVariables", {
            set: function set(e) {
              this._vvFactory.visualVariables = e, this._set("visualVariables", this._vvFactory.visualVariables);
            },
            enumerable: !0,
            configurable: !0
          }), a.prototype.readVisualVariables = function (e, a, r) {
            return this._vvFactory.readVariables(e, a, r);
          }, a.prototype.writeVisualVariables = function (e, a, r, i) {
            a[r] = this._vvFactory.writeVariables(e, i);
          }, Object.defineProperty(a.prototype, "arcadeRequiredForVisualVariables", {
            get: function get() {
              if (!this.visualVariables) return !1;

              for (var e = 0, a = this.visualVariables; e < a.length; e++) {
                if (a[e].arcadeRequired) return !0;
              }

              return !1;
            },
            enumerable: !0,
            configurable: !0
          }), a.prototype.hasVisualVariables = function (e, a) {
            return e ? !!this.getVisualVariablesForType(e, a) : !!(this.getVisualVariablesForType("size", a) || this.getVisualVariablesForType("color", a) || this.getVisualVariablesForType("opacity", a) || this.getVisualVariablesForType("rotation", a));
          }, a.prototype.getVisualVariablesForType = function (e, a) {
            var r = this.visualVariables;

            if (r) {
              var i = r.filter(function (r) {
                return r.type === e && ("string" == typeof a ? r.target === a : !1 !== a || !r.target);
              });
              if (!i || 0 !== i.length) return i;
            }
          }, a.prototype.collectVVRequiredFields = function (e, a) {
            return l(this, void 0, void 0, function () {
              var r, i, l, s;
              return t(this, function (t) {
                switch (t.label) {
                  case 0:
                    r = [], this.visualVariables && (r = r.concat(this.visualVariables)), i = 0, l = r, t.label = 1;

                  case 1:
                    return i < l.length ? (s = l[i]) ? (s.field && o.collectField(e, a, s.field), s.normalizationField && o.collectField(e, a, s.normalizationField), s.valueExpression ? [4, o.collectArcadeFieldNames(e, a, s.valueExpression)] : [3, 3]) : [3, 3] : [3, 4];

                  case 2:
                    t.sent(), t.label = 3;

                  case 3:
                    return i++, [3, 1];

                  case 4:
                    return [2];
                }
              });
            });
          }, i([s.property({
            types: [v],
            value: null,
            json: {
              write: !0
            }
          })], a.prototype, "visualVariables", null), i([s.reader("visualVariables", ["visualVariables", "rotationType", "rotationExpression"])], a.prototype, "readVisualVariables", null), i([s.writer("visualVariables")], a.prototype, "writeVisualVariables", null), a = i([s.subclass("esri.renderers.mixins.VisualVariablesMixin")], a);
        }(s.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/AttributeColorInfo.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/AttributeColorInfo.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportAttributeColorInfoJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, l, p, i, n, s) {
      var u = i.getLogger("esri.renderers.support.AttributeColorInfo");
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.color = null, t.field = null, t.label = null, t.valueExpression = null, t.valueExpressionTitle = null, t;
        }

        t(r, e), p = r, r.prototype.castField = function (e) {
          return null == e ? e : "function" == typeof e ? (u.error(".field: field must be a string value"), null) : s.ensureString(e);
        }, r.prototype.getAttributeHash = function () {
          return this.field + "-" + this.valueExpression;
        }, r.prototype.clone = function () {
          return new p({
            color: this.color && this.color.clone(),
            field: this.field,
            label: this.label,
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle
          });
        };
        var p;
        return o([n.property({
          type: l,
          json: {
            type: [Number],
            write: !0
          }
        })], r.prototype, "color", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "field", void 0), o([n.cast("field")], r.prototype, "castField", null), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "label", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "valueExpression", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "valueExpressionTitle", void 0), r = p = o([n.subclass("esri.renderers.support.AttributeColorInfo")], r);
      }(n.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/AuthoringInfo.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/AuthoringInfo.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportAuthoringInfoJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./AuthoringInfoFieldInfo */
    "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoFieldInfo.js"), __webpack_require__(
    /*! ./AuthoringInfoVisualVariable */
    "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoVisualVariable.js"), __webpack_require__(
    /*! ../../tasks/support/colorRamps */
    "./node_modules/arcgis-js-api/tasks/support/colorRamps.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, s, n, l, o, a, p, u, d) {
      var c = new s["default"]({
        esriClassifyDefinedInterval: "defined-interval",
        esriClassifyEqualInterval: "equal-interval",
        esriClassifyManual: "manual",
        esriClassifyNaturalBreaks: "natural-breaks",
        esriClassifyQuantile: "quantile",
        esriClassifyStandardDeviation: "standard-deviation"
      }),
          y = new s["default"]({
        classedSize: "class-breaks-size",
        classedColor: "class-breaks-color",
        univariateColorSize: "univariate-color-size",
        relationship: "relationship",
        predominance: "predominance",
        dotDensity: "dot-density"
      }),
          f = ["inches", "feet", "yards", "miles", "nautical-miles", "millimeters", "centimeters", "decimeters", "meters", "kilometers", "decimal-degrees"];
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.colorRamp = null, r.lengthUnit = null, r.maxSliderValue = null, r.minSliderValue = null, r.visualVariables = null, r;
        }

        r(t, e), s = t, Object.defineProperty(t.prototype, "classificationMethod", {
          get: function get() {
            var e = this._get("classificationMethod"),
                t = this.type;

            return t && "relationship" !== t ? "class-breaks-size" === t || "class-breaks-color" === t ? e || "manual" : null : e;
          },
          set: function set(e) {
            this._set("classificationMethod", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readColorRamp = function (e) {
          if (e) return d.fromJSON(e);
        }, Object.defineProperty(t.prototype, "fields", {
          get: function get() {
            return this.type && "predominance" !== this.type ? null : this._get("fields");
          },
          set: function set(e) {
            this._set("fields", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "field1", {
          get: function get() {
            return this.type && "relationship" !== this.type ? null : this._get("field1");
          },
          set: function set(e) {
            this._set("field1", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "field2", {
          get: function get() {
            return this.type && "relationship" !== this.type ? null : this._get("field2");
          },
          set: function set(e) {
            this._set("field2", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "focus", {
          get: function get() {
            return this.type && "relationship" !== this.type ? null : this._get("focus");
          },
          set: function set(e) {
            this._set("focus", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "numClasses", {
          get: function get() {
            return this.type && "relationship" !== this.type ? null : this._get("numClasses");
          },
          set: function set(e) {
            this._set("numClasses", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "standardDeviationInterval", {
          get: function get() {
            var e = this.type;
            return e && "relationship" !== e && "class-breaks-size" !== e && "class-breaks-color" !== e ? null : this.classificationMethod && "standard-deviation" !== this.classificationMethod ? null : this._get("standardDeviationInterval");
          },
          set: function set(e) {
            this._set("standardDeviationInterval", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "type", {
          get: function get() {
            return this._get("type");
          },
          set: function set(e) {
            var t = e;
            "classed-size" === e ? t = "class-breaks-size" : "classed-color" === e && (t = "class-breaks-color"), this._set("type", t);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new s({
            classificationMethod: this.classificationMethod,
            colorRamp: l.clone(this.colorRamp),
            fields: this.fields && this.fields.slice(0),
            field1: l.clone(this.field1),
            field2: l.clone(this.field2),
            focus: this.focus,
            numClasses: this.numClasses,
            maxSliderValue: this.maxSliderValue,
            minSliderValue: this.minSliderValue,
            lengthUnit: this.lengthUnit,
            standardDeviationInterval: this.standardDeviationInterval,
            type: this.type,
            visualVariables: this.visualVariables && this.visualVariables.map(function (e) {
              return e.clone();
            })
          });
        };
        var s;
        return i([o.property({
          type: c.apiValues,
          value: null,
          dependsOn: ["type"],
          json: {
            type: c.jsonValues,
            read: c.read,
            write: c.write,
            origins: {
              "web-document": {
                "default": "manual",
                type: c.jsonValues,
                read: c.read,
                write: c.write
              }
            }
          }
        })], t.prototype, "classificationMethod", null), i([o.property({
          types: d.types,
          json: {
            write: !0
          }
        })], t.prototype, "colorRamp", void 0), i([o.reader("colorRamp")], t.prototype, "readColorRamp", null), i([o.property({
          type: [String],
          value: null,
          dependsOn: ["type"],
          json: {
            write: !0
          }
        })], t.prototype, "fields", null), i([o.property({
          type: p["default"],
          value: null,
          dependsOn: ["type"],
          json: {
            write: !0
          }
        })], t.prototype, "field1", null), i([o.property({
          type: p["default"],
          value: null,
          dependsOn: ["type"],
          json: {
            write: !0
          }
        })], t.prototype, "field2", null), i([o.property({
          type: ["HH", "HL", "LH", "LL"],
          value: null,
          dependsOn: ["type"],
          json: {
            write: !0
          }
        })], t.prototype, "focus", null), i([o.property({
          type: Number,
          value: null,
          dependsOn: ["type"],
          json: {
            type: a.Integer,
            write: !0
          }
        })], t.prototype, "numClasses", null), i([o.property({
          type: f,
          json: {
            type: f,
            read: !1,
            write: !1,
            origins: {
              "web-scene": {
                read: !0,
                write: !0
              }
            }
          }
        })], t.prototype, "lengthUnit", void 0), i([o.property({
          type: Number,
          json: {
            write: !0,
            origins: {
              "web-scene": {
                write: !1,
                read: !1
              }
            }
          }
        })], t.prototype, "maxSliderValue", void 0), i([o.property({
          type: Number,
          json: {
            write: !0,
            origins: {
              "web-scene": {
                write: !1,
                read: !1
              }
            }
          }
        })], t.prototype, "minSliderValue", void 0), i([o.property({
          type: [.25, .33, .5, 1],
          value: null,
          dependsOn: ["classificationMethod", "type"],
          json: {
            type: [.25, .33, .5, 1],
            write: !0
          }
        })], t.prototype, "standardDeviationInterval", null), i([o.property({
          type: String,
          value: null,
          json: {
            type: y.jsonValues,
            read: y.read,
            write: y.write,
            origins: {
              "web-scene": {
                type: y.jsonValues.filter(function (e) {
                  return "dotDensity" !== e;
                }),
                read: y.read,
                write: y.write
              }
            }
          }
        })], t.prototype, "type", null), i([o.property({
          type: [u],
          json: {
            write: !0
          }
        })], t.prototype, "visualVariables", void 0), t = s = i([o.subclass("esri.renderers.support.AuthoringInfo")], t);
      }(o.declared(n.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoClassBreakInfo.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/AuthoringInfoClassBreakInfo.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportAuthoringInfoClassBreakInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, u, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.minValue = 0, o.maxValue = 0, o;
        }

        o(r, e), u = r, r.prototype.clone = function () {
          return new u({
            minValue: this.minValue,
            maxValue: this.maxValue
          });
        };
        var u;
        return t([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "minValue", void 0), t([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "maxValue", void 0), r = u = t([n.subclass("esri.renderer.support.AuthoringInfoClassBreakInfo")], r);
      }(n.declared(u.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoFieldInfo.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/AuthoringInfoFieldInfo.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportAuthoringInfoFieldInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./AuthoringInfoClassBreakInfo */
    "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoClassBreakInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, n, i, s, l) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var p = function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.field = "", o.normalizationField = "", o.classBreakInfos = [], o;
        }

        o(r, e), n = r, r.prototype.clone = function () {
          return new n({
            field: this.field,
            normalizationField: this.normalizationField,
            classBreakInfos: i.clone(this.classBreakInfos)
          });
        };
        var n;
        return t([s.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "field", void 0), t([s.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "normalizationField", void 0), t([s.property({
          type: [l["default"]],
          json: {
            write: !0
          }
        })], r.prototype, "classBreakInfos", void 0), r = n = t([s.subclass("esri.renderers.support.AuthoringInfoFieldInfo")], r);
      }(s.declared(n.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/AuthoringInfoVisualVariable.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/AuthoringInfoVisualVariable.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportAuthoringInfoVisualVariableJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators/cast */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, p, s) {
      var l = new n["default"]({
        percentTotal: "percent-of-total",
        ratio: "ratio",
        percent: "percent"
      }),
          u = new n["default"]({
        sizeInfo: "size",
        colorInfo: "color",
        transparencyInfo: "opacity",
        rotationInfo: "rotation"
      }),
          a = {
        key: function key(e) {
          return "number" == typeof e ? "number" : "string";
        },
        typeMap: {
          number: Number,
          string: String
        },
        base: null
      },
          y = ["high-to-low", "above-and-below", "centered-on", "extremes"],
          c = ["seconds", "minutes", "hours", "days", "months", "years"];
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.endTime = null, r.field = null, r.maxSliderValue = null, r.minSliderValue = null, r.startTime = null, r.type = null, r.units = null, r;
        }

        r(t, e), n = t, t.prototype.castEndTime = function (e) {
          return "string" == typeof e || "number" == typeof e ? e : null;
        }, t.prototype.castStartTime = function (e) {
          return "string" == typeof e || "number" == typeof e ? e : null;
        }, Object.defineProperty(t.prototype, "style", {
          get: function get() {
            return "color" === this.type ? this._get("style") : null;
          },
          set: function set(e) {
            this._set("style", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "theme", {
          get: function get() {
            return "color" === this.type ? this._get("theme") || "high-to-low" : null;
          },
          set: function set(e) {
            this._set("theme", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new n({
            endTime: this.endTime,
            field: this.field,
            maxSliderValue: this.maxSliderValue,
            minSliderValue: this.minSliderValue,
            startTime: this.startTime,
            style: this.style,
            theme: this.theme,
            type: this.type,
            units: this.units
          });
        };
        var n;
        return o([p.property({
          types: a,
          json: {
            write: !0
          }
        })], t.prototype, "endTime", void 0), o([s.cast("endTime")], t.prototype, "castEndTime", null), o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "field", void 0), o([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "maxSliderValue", void 0), o([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "minSliderValue", void 0), o([p.property({
          types: a,
          json: {
            write: !0
          }
        })], t.prototype, "startTime", void 0), o([s.cast("startTime")], t.prototype, "castStartTime", null), o([p.property({
          type: l.apiValues,
          value: null,
          dependsOn: ["type"],
          json: {
            type: l.jsonValues,
            read: l.read,
            write: l.write
          }
        })], t.prototype, "style", null), o([p.property({
          type: y,
          value: null,
          dependsOn: ["type"],
          json: {
            type: y,
            write: !0
          }
        })], t.prototype, "theme", null), o([p.property({
          type: u.apiValues,
          json: {
            type: u.jsonValues,
            read: u.read,
            write: u.write
          }
        })], t.prototype, "type", void 0), o([p.property({
          type: c,
          json: {
            type: c,
            write: !0
          }
        })], t.prototype, "units", void 0), t = n = o([p.subclass("esri.renderers.support.AuthoringInfoVisualVariable")], t);
      }(p.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/ClassBreakInfo.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/ClassBreakInfo.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportClassBreakInfoJs(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__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, s, l, a, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var p = function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.description = null, t.label = null, t.minValue = null, t.maxValue = 0, t.symbol = null, t;
        }

        t(r, e), l = r, r.prototype.clone = function () {
          return new l({
            description: this.description,
            label: this.label,
            minValue: this.minValue,
            maxValue: this.maxValue,
            symbol: this.symbol ? this.symbol.clone() : null
          });
        }, r.prototype.getMeshHash = function () {
          var e = JSON.stringify(this.symbol);
          return this.minValue + "." + this.maxValue + "." + e;
        };
        var l;
        return o([a.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "description", void 0), o([a.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "label", void 0), o([a.property({
          type: Number,
          json: {
            read: {
              source: "classMinValue"
            },
            write: {
              target: "classMinValue"
            }
          }
        })], r.prototype, "minValue", void 0), o([a.property({
          type: Number,
          json: {
            read: {
              source: "classMaxValue"
            },
            write: {
              target: "classMaxValue"
            }
          }
        })], r.prototype, "maxValue", void 0), o([a.property({
          types: s.symbolTypesRenderer,
          json: {
            origins: {
              "web-scene": {
                types: s.symbolTypesRenderer3D,
                read: i.read,
                write: i.writeTarget
              }
            },
            read: i.read,
            write: i.writeTarget
          }
        })], r.prototype, "symbol", void 0), r = l = o([a.subclass("esri.renderers.support.ClassBreakInfo")], r);
      }(a.declared(l.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/DotDensityLegendOptions.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/DotDensityLegendOptions.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportDotDensityLegendOptionsJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, n, p) {
      return function (r) {
        function e() {
          var e = null !== r && r.apply(this, arguments) || this;
          return e.unit = null, e;
        }

        o(e, r), n = e, e.prototype.clone = function () {
          return new n({
            unit: this.unit
          });
        };
        var n;
        return t([p.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "unit", void 0), e = n = t([p.subclass("esri.renderers.support.DotDensityLegendOptions")], e);
      }(p.declared(n.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/HeatmapColorStop.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/HeatmapColorStop.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportHeatmapColorStopJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, o, e, t, p, c, l) {
      Object.defineProperty(o, "__esModule", {
        value: !0
      });

      var n = function (r) {
        function o(o) {
          var e = r.call(this, o) || this;
          return e.color = null, e.ratio = null, e;
        }

        e(o, r), c = o, o.prototype.clone = function () {
          return new c({
            color: this.color,
            ratio: this.ratio
          });
        };
        var c;
        return t([l.property({
          type: p,
          json: {
            write: !0
          }
        })], o.prototype, "color", void 0), t([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], o.prototype, "ratio", void 0), o = c = t([l.subclass("esri.renderers.support.HeatmapColorStop")], o);
      }(l.declared(c.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/LegendOptions.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/LegendOptions.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportLegendOptionsJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, p, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.title = null, t;
        }

        r(t, e), p = t, t.prototype.clone = function () {
          return new p({
            title: this.title
          });
        };
        var p;
        return o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "title", void 0), t = p = o([n.subclass("esri.renderers.support.LegendOptions")], t);
      }(n.declared(p.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/UniqueValueInfo.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/UniqueValueInfo.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportUniqueValueInfoJs(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__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, s, l, p, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var n = function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.description = null, t.label = null, t.symbol = null, t.value = null, t;
        }

        t(r, e), l = r, r.prototype.clone = function () {
          return new l({
            value: this.value,
            description: this.description,
            label: this.label,
            symbol: this.symbol ? this.symbol.clone() : null
          });
        }, r.prototype.getMeshHash = function () {
          var e = JSON.stringify(this.symbol && this.symbol.toJSON());
          return this.value + "." + e;
        };
        var l;
        return o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "description", void 0), o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "label", void 0), o([p.property({
          types: s.symbolTypesRenderer,
          json: {
            origins: {
              "web-scene": {
                types: s.symbolTypesRenderer3D,
                read: i.read,
                write: i.writeTarget
              }
            },
            read: i.read,
            write: i.writeTarget
          }
        })], r.prototype, "symbol", void 0), o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "value", void 0), r = l = o([p.subclass("esri.renderers.support.UniqueValueInfo")], r);
      }(p.declared(l.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/jsonUtils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportJsonUtilsJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/object */
    "./node_modules/arcgis-js-api/core/object.js"), __webpack_require__(
    /*! ../../core/Warning */
    "./node_modules/arcgis-js-api/core/Warning.js"), __webpack_require__(
    /*! ../ClassBreaksRenderer */
    "./node_modules/arcgis-js-api/renderers/ClassBreaksRenderer.js"), __webpack_require__(
    /*! ../DictionaryRenderer */
    "./node_modules/arcgis-js-api/renderers/DictionaryRenderer.js"), __webpack_require__(
    /*! ../DotDensityRenderer */
    "./node_modules/arcgis-js-api/renderers/DotDensityRenderer.js"), __webpack_require__(
    /*! ../HeatmapRenderer */
    "./node_modules/arcgis-js-api/renderers/HeatmapRenderer.js"), __webpack_require__(
    /*! ../SimpleRenderer */
    "./node_modules/arcgis-js-api/renderers/SimpleRenderer.js"), __webpack_require__(
    /*! ../UniqueValueRenderer */
    "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t, s, u, a, i, o, l, d, c) {
      function p(e) {
        return e ? g[e.type] || null : null;
      }

      function f(e, r, n) {
        if (!e) return null;
        if (e && (e.styleName || e.styleUrl) && "uniqueValue" !== e.type) return n && n.messages && n.messages.push(new u("renderer:unsupported", "Only UniqueValueRenderer can be referenced from a web style, but found '" + e.type + "'", {
          definition: e,
          context: n
        })), null;
        var t = p(e);

        if (t) {
          var s = new t();
          return s.read(e, n), s;
        }

        return n && n.messages && e && n.messages.push(new u("renderer:unsupported", "Renderers of type '" + (e.type || "unknown") + "' are not supported", {
          definition: e,
          context: n
        })), null;
      }

      function y(e, r, n, t) {
        var u = w(e, {}, t);
        u && s.setDeepValue(n, u, r);
      }

      function m(e, r) {
        if (!r || "web-scene" !== r.origin) return !0;

        switch (e.type) {
          case "simple":
          case "unique-value":
          case "class-breaks":
            return !0;

          case "heatmap":
          case "dictionary":
          case "dot-density":
            return !1;

          default:
            return n.neverReached(e), !1;
        }
      }

      function w(e, r, n) {
        return e ? m(e, n) ? e.write(r, n) : (n.messages && n.messages.push(new t("renderer:unsupported", "Renderer of type '" + e.declaredClass + "' are not supported in scenes.", {
          renderer: e,
          context: n
        })), null) : null;
      }

      function R(e, r) {
        return f(e, null, r);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var g = {
        simple: d,
        uniqueValue: c,
        classBreaks: a,
        heatmap: l,
        dotDensity: o,
        dictionary: i
      };
      r.read = f, r.writeTarget = y, r.write = w, r.fromJSON = R;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/numberUtils.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/numberUtils.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportNumberUtilsJs(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__(
    /*! ../../intl */
    "./node_modules/arcgis-js-api/intl.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, n, t) {
      function e(r, n) {
        return r - n;
      }

      function i(r, n) {
        var t, e;
        return t = Number(r.toFixed(n)), t < r ? e = t + 1 / Math.pow(10, n) : (e = t, t -= 1 / Math.pow(10, n)), t = Number(t.toFixed(n)), e = Number(e.toFixed(n)), [t, e];
      }

      function a(r, n, t, e, i) {
        var a = u(r, n, t, e),
            o = null == a.previous || a.previous <= i,
            l = null == a.next || a.next <= i;
        return o && l || a.previous + a.next <= 2 * i;
      }

      function o(r) {
        var n = String(r),
            t = n.match(v);
        if (t && t[1]) return {
          integer: t[1].split("").length,
          fractional: t[3] ? t[3].split("").length : 0
        };

        if (n.toLowerCase().indexOf("e") > -1) {
          var e = n.split("e"),
              i = e[0],
              a = e[1];

          if (i && a) {
            var u = Number(i),
                l = Number(a),
                f = l > 0;
            f || (l = Math.abs(l));
            var c = o(u);
            return f ? (c.integer += l, l > c.fractional ? c.fractional = 0 : c.fractional -= l) : (c.fractional += l, l > c.integer ? c.integer = 1 : c.integer -= l), c;
          }
        }

        return {
          integer: 0,
          fractional: 0
        };
      }

      function u(r, n, t, e) {
        var i = {
          previous: null,
          next: null
        };

        if (null != t) {
          var a = r - t,
              o = n - t,
              u = o - a;
          i.previous = Math.floor(Math.abs(100 * u / a));
        }

        if (null != e) {
          var a = e - r,
              o = e - n,
              u = o - a;
          i.next = Math.floor(Math.abs(100 * u / a));
        }

        return i;
      }

      function l(r, n) {
        void 0 === n && (n = {});
        var t = r.slice(0),
            u = n.tolerance,
            l = void 0 === u ? 2 : u,
            f = n.strictBounds,
            v = void 0 !== f && f,
            c = n.indexes,
            s = void 0 === c ? t.map(function (r, n) {
          return n;
        }) : c;
        s.sort(e);

        for (var d = 0; d < s.length; d++) {
          var g = s[d],
              m = t[g],
              p = 0 === g ? null : t[g - 1],
              h = g === t.length - 1 ? null : t[g + 1],
              x = o(m),
              b = x.fractional;

          if (b) {
            for (var M = 0, N = !1, F = void 0; M <= b && !N;) {
              var w = i(m, M);
              F = v && 0 === d ? w[1] : w[0], N = a(m, F, p, h, l), M++;
            }

            N && (t[g] = F);
          }
        }

        return t;
      }

      function f(r) {
        return t.formatNumber(r, c);
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var v = /^-?(\d+)(\.(\d+))?$/i;
      n.numDigits = o, n.percentChange = u, n.round = l;
      var c = {
        maximumFractionDigits: 20
      };
      n.format = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/support/styleUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/styleUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportStyleUtilsJs(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/asyncUtils */
    "./node_modules/arcgis-js-api/core/asyncUtils.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/Warning */
    "./node_modules/arcgis-js-api/core/Warning.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, o, i, s) {
      function a(e, r, a) {
        return n(this, void 0, void 0, function () {
          var n, l, u;
          return t(this, function (t) {
            switch (t.label) {
              case 0:
                return n = e && e.getAtOrigin && e.getAtOrigin("renderer", r.origin), n && "unique-value" === n.type && n.styleOrigin ? [4, o.result(n.populateFromStyle())] : [3, 2];

              case 1:
                l = t.sent(), i.throwIfAborted(a), !1 === l.ok && (u = l.error, r && r.messages && r.messages.push(new s("renderer:style-reference", "Failed to create unique value renderer from style reference: " + u.message, {
                  error: u,
                  context: r
                })), e.clear("renderer", r.origin)), t.label = 2;

              case 2:
                return [2];
            }
          });
        });
      }

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

  /***/
  "./node_modules/arcgis-js-api/renderers/support/utils.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/utils.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportUtilsJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../../intl/date */
    "./node_modules/arcgis-js-api/intl/date.js"), __webpack_require__(
    /*! ./numberUtils */
    "./node_modules/arcgis-js-api/renderers/support/numberUtils.js"), __webpack_require__(
    /*! ../visualVariables/support/ColorStop */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/ColorStop.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, n, r, o, l, i) {
      function s(e, t, a) {
        var n = "";
        return 0 === t ? n = h.lt + " " : t === a && (n = h.gt + " "), n + e;
      }

      function u(e) {
        var t = e.values,
            a = e.colors,
            n = e.labelIndexes,
            r = e.isDate,
            u = e.dateFormatOptions;
        return t.map(function (e, m) {
          var c = !n || n.indexOf(m) > -1,
              d = null;

          if (c) {
            var f = void 0;
            f = r ? o.formatDate(e, u) : l.format(e), f && (d = s(f, m, t.length - 1));
          }

          return new i({
            value: e,
            color: a[m],
            label: d
          });
        });
      }

      function m(e) {
        for (var t = e.stops, a = e.changes, n = e.isDate, r = e.dateFormatOptions, i = t.map(function (e) {
          return e.value;
        }), u = [], m = 0, c = a; m < c.length; m++) {
          var d = c[m];
          u.push(d.index), i[d.index] = d.value;
        }

        var f = l.round(i, {
          indexes: u
        });
        t.forEach(function (e, a) {
          if (e.value = i[a], null != e.label) {
            var u = void 0,
                m = null;
            u = n ? o.formatDate(f[a], r) : l.format(f[a]), u && (m = s(u, a, t.length - 1)), e.label = m;
          }
        });
      }

      function c(e) {
        var t = e.minValue,
            a = e.maxValue,
            n = e.isFirstBreak ? "" : h.gt + " ",
            r = "percent-of-total" === e.normalizationType ? h.pct : "";
        return t = null == t ? "" : l.format(t), a = null == a ? "" : l.format(a), n + t + r + " " + h.ld + " " + a + r;
      }

      function d(e) {
        var t = e.classBreakInfos,
            a = e.normalizationType,
            n = [];

        if (t && t.length) {
          if ("standard-deviation" === e.classificationMethod) return void p.warn("setLabelsForClassBreaks", "cannot set labels for class breaks generated using 'standard-deviation' method.");

          if (e.round) {
            n.push(t[0].minValue);

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

            n = l.round(n), t.forEach(function (e, t) {
              e.label = c({
                minValue: 0 === t ? n[0] : n[t],
                maxValue: n[t + 1],
                isFirstBreak: 0 === t,
                normalizationType: a
              });
            });
          } else t.forEach(function (e, t) {
            e.label = c({
              minValue: e.minValue,
              maxValue: e.maxValue,
              isFirstBreak: 0 === t,
              normalizationType: a
            });
          });
        }
      }

      function f(e) {
        if ("standard-deviation" === e.classificationMethod) return void p.warn("updateClassBreak", "cannot update labels for class breaks generated using 'standard-deviation' method.");
        var t = e.classBreaks,
            a = e.change,
            n = a.index,
            r = a.value,
            o = t.length,
            l = -1,
            i = -1;
        0 === n ? l = n : n === o ? i = n - 1 : (i = n - 1, l = n);
        var s = e.normalizationType,
            u = null;
        l > -1 && l < o && (u = t[l], u.minValue = r, u.label = c({
          minValue: u.minValue,
          maxValue: u.maxValue,
          isFirstBreak: 0 === l,
          normalizationType: s
        })), i > -1 && i < o && (u = t[i], u.maxValue = r, u.label = c({
          minValue: u.minValue,
          maxValue: u.maxValue,
          isFirstBreak: 0 === i,
          normalizationType: s
        }));
      }

      function v(e) {
        for (var t = e.map(function (e) {
          return new Date(e);
        }), a = t.length, n = 1 / 0, r = null, o = 0; o < a - 1; o++) {
          for (var l = t[o], i = [], s = 1 / 0, u = null, m = o + 1; m < a; m++) {
            var c = t[m],
                d = l.getFullYear() !== c.getFullYear() && "year" || l.getMonth() !== c.getMonth() && "month" || l.getDate() !== c.getDate() && "day" || l.getHours() !== c.getHours() && "hour" || l.getMinutes() !== c.getMinutes() && "minute" || l.getSeconds() !== c.getSeconds() && "second" || "millisecond",
                f = y[d];
            f < s && (s = f, u = d), i.push(d);
          }

          s < n && (n = s, r = u);
        }

        return r;
      }

      function g(e) {
        var t = e.value,
            a = e.domain,
            n = e.fieldInfo,
            r = e.dateFormatInterval,
            i = String(t),
            s = a && "codedValues" in a && a.codedValues ? a.getName(t) : null;
        return s ? i = s : "number" == typeof t && (i = n && "date" === n.type ? o.formatDate(t, r && o.convertDateFormatToIntlOptions(V[r])) : l.format(t)), i;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var p = n.getLogger("esri.renderers.support.utils"),
          h = {
        lte: "<=",
        gte: ">=",
        lt: "<",
        gt: ">",
        pct: "%",
        ld: "–"
      },
          y = {
        millisecond: 0,
        second: 1,
        minute: 2,
        hour: 3,
        day: 4,
        month: 5,
        year: 6
      },
          V = {
        millisecond: "long-month-day-year-long-time",
        second: "long-month-day-year-long-time",
        minute: "long-month-day-year-short-time",
        hour: "long-month-day-year-short-time",
        day: "long-month-day-year",
        month: "long-month-day-year",
        year: "year"
      };
      t.meterIn = {
        inches: r.convertUnit(1, "meters", "inches"),
        feet: r.convertUnit(1, "meters", "feet"),
        "us-feet": r.convertUnit(1, "meters", "us-feet"),
        yards: r.convertUnit(1, "meters", "yards"),
        miles: r.convertUnit(1, "meters", "miles"),
        "nautical-miles": r.convertUnit(1, "meters", "nautical-miles"),
        millimeters: r.convertUnit(1, "meters", "millimeters"),
        centimeters: r.convertUnit(1, "meters", "centimeters"),
        decimeters: r.convertUnit(1, "meters", "decimeters"),
        meters: r.convertUnit(1, "meters", "meters"),
        kilometers: r.convertUnit(1, "meters", "kilometers"),
        "decimal-degrees": 1 / r.lengthToDegrees(1, "meters")
      }, t.timelineDateFormatOptions = o.convertDateFormatToIntlOptions("short-date"), t.createColorStops = u, t.updateColorStops = m, t.createClassBreakLabel = c, t.setLabelsForClassBreaks = d, t.updateClassBreak = f, t.calculateDateFormatInterval = v, t.createUniqueValueLabel = g;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/ColorVariable.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/ColorVariable.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesColorVariableJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./VisualVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js"), __webpack_require__(
    /*! ./support/ColorStop */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/ColorStop.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, s) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "color", r.normalizationField = null, r;
        }

        r(t, e), i = t, Object.defineProperty(t.prototype, "cache", {
          get: function get() {
            return {
              ipData: this._interpolateData(),
              hasExpression: !!this.valueExpression,
              compiledFunc: null
            };
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "stops", {
          set: function set(e) {
            e && Array.isArray(e) && (e = e.filter(function (e) {
              return !!e;
            }), e.sort(function (e, t) {
              return e.value - t.value;
            })), this._set("stops", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new i({
            field: this.field,
            normalizationField: this.normalizationField,
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            stops: this.stops && this.stops.map(function (e) {
              return e.clone();
            }),
            legendOptions: this.legendOptions && this.legendOptions.clone()
          });
        }, t.prototype.getAttributeHash = function () {
          return this.inherited(arguments) + "-" + this.normalizationField;
        }, t.prototype._interpolateData = function () {
          return this.stops && this.stops.map(function (e) {
            return e.value || 0;
          });
        };
        var i;
        return o([n.property({
          readOnly: !0,
          dependsOn: ["valueExpression", "stops"]
        })], t.prototype, "cache", null), o([n.property({
          type: ["color"],
          json: {
            type: ["colorInfo"]
          }
        })], t.prototype, "type", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "normalizationField", void 0), o([n.property({
          type: [s],
          json: {
            write: !0
          }
        })], t.prototype, "stops", null), t = i = o([n.subclass("esri.renderers.visualVariables.ColorVariable")], t);
      }(n.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/OpacityVariable.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/OpacityVariable.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesOpacityVariableJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./VisualVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js"), __webpack_require__(
    /*! ./support/OpacityStop */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/OpacityStop.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, s) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "opacity", r.normalizationField = null, r;
        }

        r(t, e), i = t, Object.defineProperty(t.prototype, "cache", {
          get: function get() {
            return {
              ipData: this._interpolateData(),
              hasExpression: !!this.valueExpression,
              compiledFunc: null
            };
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "stops", {
          set: function set(e) {
            e && Array.isArray(e) && (e = e.filter(function (e) {
              return !!e;
            }), e.sort(function (e, t) {
              return e.value - t.value;
            })), this._set("stops", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new i({
            field: this.field,
            normalizationField: this.normalizationField,
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            stops: this.stops && this.stops.map(function (e) {
              return e.clone();
            }),
            legendOptions: this.legendOptions && this.legendOptions.clone()
          });
        }, t.prototype.getAttributeHash = function () {
          return this.inherited(arguments) + "-" + this.normalizationField;
        }, t.prototype._interpolateData = function () {
          return this.stops && this.stops.map(function (e) {
            return e.value || 0;
          });
        };
        var i;
        return o([n.property({
          readOnly: !0,
          dependsOn: ["valueExpression", "stops"]
        })], t.prototype, "cache", null), o([n.property({
          type: ["opacity"],
          json: {
            type: ["transparencyInfo"]
          }
        })], t.prototype, "type", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "normalizationField", void 0), o([n.property({
          type: [s],
          json: {
            write: !0
          }
        })], t.prototype, "stops", null), t = i = o([n.subclass("esri.renderers.visualVariables.OpacityVariable")], t);
      }(n.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/RotationVariable.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/RotationVariable.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesRotationVariableJs(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/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__(
    /*! ./VisualVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, s, n) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.axis = null, r.type = "rotation", r.rotationType = "geographic", r.valueExpressionTitle = null, r;
        }

        r(t, e), n = t, Object.defineProperty(t.prototype, "cache", {
          get: function get() {
            return {
              hasExpression: !!this.valueExpression,
              compiledFunc: null
            };
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.writeValueExpressionTitleWebScene = function (e, t, r, o) {
          if (o && o.messages) {
            var s = "visualVariables[" + this.index + "]";
            o.messages.push(new i("property:unsupported", this.type + "VisualVariable.valueExpressionTitle is not supported in Web Scene. Please remove this property to save the Web Scene.", {
              instance: this,
              propertyName: s + ".valueExpressionTitle",
              context: o
            }));
          }
        }, t.prototype.clone = function () {
          return new n({
            axis: this.axis,
            rotationType: this.rotationType,
            field: this.field,
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            legendOptions: this.legendOptions && this.legendOptions.clone()
          });
        };
        var n;
        return o([s.property({
          readOnly: !0,
          dependsOn: ["valueExpression"]
        })], t.prototype, "cache", null), o([s.property({
          type: ["heading", "tilt", "roll"],
          json: {
            origins: {
              "web-scene": {
                "default": "heading",
                write: !0
              }
            }
          }
        })], t.prototype, "axis", void 0), o([s.property({
          type: ["rotation"],
          json: {
            type: ["rotationInfo"]
          }
        })], t.prototype, "type", void 0), o([s.property({
          type: ["geographic", "arithmetic"],
          json: {
            write: !0,
            origins: {
              "web-document": {
                write: !0,
                "default": "geographic"
              }
            }
          }
        })], t.prototype, "rotationType", void 0), o([s.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "valueExpressionTitle", void 0), o([s.writer("web-scene", "valueExpressionTitle")], t.prototype, "writeValueExpressionTitleWebScene", null), t = n = o([s.subclass("esri.renderers.visualVariables.RotationVariable")], t);
      }(s.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSizeVariableJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.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__(
    /*! ./VisualVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js"), __webpack_require__(
    /*! ./support/SizeStop */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeStop.js"), __webpack_require__(
    /*! ./support/SizeVariableLegendOptions */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeVariableLegendOptions.js"), __webpack_require__(
    /*! ./support/sizeVariableUtils */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/sizeVariableUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, n, o, a, s, p, l, u, y, c, d) {
      function m(e) {
        if (null != e) return "string" == typeof e || "number" == typeof e ? p.toPt(e) : "size" === e.type ? d.isSizeVariable(e) ? e : (e = n({}, e), delete e.type, new v(e)) : void 0;
      }

      function h(e, t, i) {
        if ("object" != typeof e) return e;
        var r = new v();
        return r.read(e, i), r;
      }

      var f = /^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i,
          S = s.getLogger("esri.renderers.visualVariables.SizeVariable"),
          x = new a["default"]({
        width: "width",
        depth: "depth",
        height: "height",
        widthAndDepth: "width-and-depth",
        all: "all"
      }),
          z = new a["default"]({
        unknown: "unknown",
        inch: "inches",
        foot: "feet",
        yard: "yards",
        mile: "miles",
        "nautical-mile": "nautical-miles",
        millimeter: "millimeters",
        centimeter: "centimeters",
        decimeter: "decimeters",
        meter: "meters",
        kilometer: "kilometers",
        "decimal-degree": "decimal-degrees"
      }),
          v = function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i.axis = null, i.legendOptions = null, i.normalizationField = null, i.scaleBy = null, i.target = null, i.type = "size", i.useSymbolValue = null, i.valueExpression = null, i.valueRepresentation = null, i.valueUnit = null, i;
        }

        i(t, e), n = t, Object.defineProperty(t.prototype, "cache", {
          get: function get() {
            return {
              ipData: this._interpolateData(),
              hasExpression: !!this.valueExpression,
              compiledFunc: null,
              isScaleDriven: f.test(this.valueExpression)
            };
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "expression", {
          set: function set(e) {
            S.warn("'expression' is deprecated since version 4.2. Use 'valueExpression' instead. The only supported expression is 'view.scale'."), "view.scale" === e ? (this.valueExpression = "$view.scale", this._set("expression", e)) : this._set("expression", null);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "index", {
          set: function set(e) {
            d.isSizeVariable(this.maxSize) && (this.maxSize.index = "visualVariables[" + e + "].maxSize"), d.isSizeVariable(this.minSize) && (this.minSize.index = "visualVariables[" + e + "].minSize"), this._set("index", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "inputValueType", {
          get: function get() {
            return d.getInputValueType(this);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "maxDataValue", {
          set: function set(e) {
            e && this.stops && (S.warn("cannot set maxDataValue when stops is not null."), e = null), this._set("maxDataValue", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "maxSize", {
          set: function set(e) {
            e && this.stops && (S.warn("cannot set maxSize when stops is not null."), e = null), this._set("maxSize", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.castMaxSize = function (e) {
          return m(e);
        }, t.prototype.readMaxSize = function (e, t, i) {
          return h(e, t, i);
        }, Object.defineProperty(t.prototype, "minDataValue", {
          set: function set(e) {
            e && this.stops && (S.warn("cannot set minDataValue when stops is not null."), e = null), this._set("minDataValue", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "minSize", {
          set: function set(e) {
            e && this.stops && (S.warn("cannot set minSize when stops is not null."), e = null), this._set("minSize", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.castMinSize = function (e) {
          return m(e);
        }, t.prototype.readMinSize = function (e, t, i) {
          return h(e, t, i);
        }, Object.defineProperty(t.prototype, "arcadeRequired", {
          get: function get() {
            return !!this.valueExpression || this.minSize && "object" == typeof this.minSize && this.minSize.arcadeRequired || this.maxSize && "object" == typeof this.maxSize && this.maxSize.arcadeRequired;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "stops", {
          set: function set(e) {
            null == this.minDataValue && null == this.maxDataValue && null == this.minSize && null == this.maxSize ? e && Array.isArray(e) && (e = e.filter(function (e) {
              return !!e;
            }), e.sort(function (e, t) {
              return e.value - t.value;
            })) : e && (S.warn("cannot set stops when one of minDataValue, maxDataValue, minSize or maxSize is not null."), e = null), this._set("stops", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "transformationType", {
          get: function get() {
            return d.getTransformationType(this, this.inputValueType);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.readValueExpression = function (e, t) {
          return e || t.expression && "$view.scale";
        }, t.prototype.writeValueExpressionWebScene = function (e, t, i, r) {
          if ("$view.scale" === e) {
            if (r && r.messages) {
              var n = this.index,
                  a = "string" == typeof n ? n : "visualVariables[" + n + "]";
              r.messages.push(new o("property:unsupported", this.type + "VisualVariable.valueExpression = '$view.scale' is not supported in Web Scene. Please remove this property to save the Web Scene.", {
                instance: this,
                propertyName: a + ".valueExpression",
                context: r
              }));
            }
          } else t[i] = e;
        }, t.prototype.readValueUnit = function (e) {
          return e ? z.read(e) : null;
        }, t.prototype.clone = function () {
          return new n({
            axis: this.axis,
            field: this.field,
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            maxDataValue: this.maxDataValue,
            maxSize: d.isSizeVariable(this.maxSize) ? this.maxSize.clone() : this.maxSize,
            minDataValue: this.minDataValue,
            minSize: d.isSizeVariable(this.minSize) ? this.minSize.clone() : this.minSize,
            normalizationField: this.normalizationField,
            stops: this.stops && this.stops.map(function (e) {
              return e.clone();
            }),
            target: this.target,
            useSymbolValue: this.useSymbolValue,
            valueRepresentation: this.valueRepresentation,
            valueUnit: this.valueUnit,
            legendOptions: this.legendOptions && this.legendOptions.clone()
          });
        }, t.prototype.flipSizes = function () {
          if ("clamped-linear" === this.transformationType) {
            var e = this,
                t = e.minSize,
                i = e.maxSize;
            return this.minSize = i, this.maxSize = t, this;
          }

          if ("stops" === this.transformationType) {
            for (var r = this.stops, n = r.map(function (e) {
              return e.size;
            }).reverse(), o = r.length, a = 0; a < o; a++) r[a].size = n[a];

            return this;
          }

          return this;
        }, t.prototype.getAttributeHash = function () {
          return this.inherited(arguments) + "-" + this.target + "-" + this.normalizationField;
        }, t.prototype._interpolateData = function () {
          return this.stops && this.stops.map(function (e) {
            return e.value || 0;
          });
        };
        var n;
        return r([l.property({
          readOnly: !0,
          dependsOn: ["valueExpression", "stops"]
        })], t.prototype, "cache", null), r([l.property({
          type: x.apiValues,
          json: {
            type: x.jsonValues,
            origins: {
              "web-map": {
                read: !1
              }
            },
            read: x.read,
            write: x.write
          }
        })], t.prototype, "axis", void 0), r([l.property({
          type: String,
          value: null,
          json: {
            read: !1
          }
        })], t.prototype, "expression", null), r([l.property()], t.prototype, "index", null), r([l.property({
          type: String,
          readOnly: !0,
          dependsOn: ["field", "valueExpression"]
        })], t.prototype, "inputValueType", null), r([l.property({
          type: c,
          json: {
            write: !0
          }
        })], t.prototype, "legendOptions", void 0), r([l.property({
          type: Number,
          value: null,
          json: {
            write: !0
          }
        })], t.prototype, "maxDataValue", null), r([l.property({
          type: Number,
          value: null,
          json: {
            write: !0
          }
        })], t.prototype, "maxSize", null), r([l.cast("maxSize")], t.prototype, "castMaxSize", null), r([l.reader("maxSize")], t.prototype, "readMaxSize", null), r([l.property({
          type: Number,
          value: null,
          json: {
            write: !0
          }
        })], t.prototype, "minDataValue", null), r([l.property({
          type: Number,
          value: null,
          json: {
            write: !0
          }
        })], t.prototype, "minSize", null), r([l.cast("minSize")], t.prototype, "castMinSize", null), r([l.reader("minSize")], t.prototype, "readMinSize", null), r([l.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "normalizationField", void 0), r([l.property({
          readOnly: !0,
          dependsOn: ["valueExpression", "minSize.arcadeRequired", "maxSize.arcadeRequired"]
        })], t.prototype, "arcadeRequired", null), r([l.property({
          type: String
        })], t.prototype, "scaleBy", void 0), r([l.property({
          type: [y],
          value: null,
          json: {
            write: !0
          }
        })], t.prototype, "stops", null), r([l.property({
          type: ["outline"],
          json: {
            write: !0
          }
        })], t.prototype, "target", void 0), r([l.property({
          type: String,
          readOnly: !0,
          dependsOn: ["minDataValue", "maxDataValue", "minSize", "maxSize", "valueUnit", "inputValueType", "stops"]
        })], t.prototype, "transformationType", null), r([l.property({
          type: ["size"],
          json: {
            type: ["sizeInfo"]
          }
        })], t.prototype, "type", void 0), r([l.property({
          type: Boolean,
          json: {
            write: !0,
            origins: {
              "web-map": {
                read: !1
              }
            }
          }
        })], t.prototype, "useSymbolValue", void 0), r([l.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "valueExpression", void 0), r([l.reader("valueExpression", ["valueExpression", "expression"])], t.prototype, "readValueExpression", null), r([l.writer("web-scene", "valueExpression")], t.prototype, "writeValueExpressionWebScene", null), r([l.property({
          type: ["radius", "diameter", "area", "width", "distance"],
          json: {
            write: !0
          }
        })], t.prototype, "valueRepresentation", void 0), r([l.property({
          type: z.apiValues,
          json: {
            write: z.write,
            origins: {
              "web-map": {
                read: !1
              },
              "web-scene": {
                write: !0
              }
            }
          }
        })], t.prototype, "valueUnit", void 0), r([l.reader("valueUnit")], t.prototype, "readValueUnit", null), t = n = r([l.subclass("esri.renderers.visualVariables.SizeVariable")], t);
      }(l.declared(u));

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

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariable.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesVisualVariableJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./support/VisualVariableLegendOptions */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/VisualVariableLegendOptions.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, i, l, s, a) {
      var u = i.getLogger("esri.renderers.visualVariables.VisualVariable"),
          d = new n["default"]({
        colorInfo: "color",
        transparencyInfo: "opacity",
        rotationInfo: "rotation",
        sizeInfo: "size"
      });
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.index = null, t.type = null, t.field = null, t.valueExpression = null, t.valueExpressionTitle = null, t.legendOptions = null, t;
        }

        return t(r, e), r.prototype.castField = function (e) {
          return null == e ? e : "function" == typeof e ? (u.error(".field: field must be a string value"), null) : s.ensureString(e);
        }, Object.defineProperty(r.prototype, "arcadeRequired", {
          get: function get() {
            return !!this.valueExpression;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.clone = function () {}, r.prototype.getAttributeHash = function () {
          return this.type + "-" + this.field + "-" + this.valueExpression;
        }, o([l.property()], r.prototype, "index", void 0), o([l.property({
          type: d.apiValues,
          readOnly: !0,
          json: {
            read: d.read,
            write: d.write
          }
        })], r.prototype, "type", void 0), o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "field", void 0), o([l.cast("field")], r.prototype, "castField", null), o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "valueExpression", void 0), o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "valueExpressionTitle", void 0), o([l.property({
          readOnly: !0,
          dependsOn: ["valueExpression"]
        })], r.prototype, "arcadeRequired", null), o([l.property({
          type: a,
          json: {
            write: !0
          }
        })], r.prototype, "legendOptions", void 0), r = o([l.subclass("esri.renderers.visualVariables.VisualVariable")], r);
      }(l.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariableFactory.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/VisualVariableFactory.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesVisualVariableFactoryJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/Warning */
    "./node_modules/arcgis-js-api/core/Warning.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ColorVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/ColorVariable.js"), __webpack_require__(
    /*! ./OpacityVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/OpacityVariable.js"), __webpack_require__(
    /*! ./RotationVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/RotationVariable.js"), __webpack_require__(
    /*! ./SizeVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a, t, i, o, s, n, l, u, c, p, b) {
      var V = s.getLogger("esri.renderers.visualVariables.VisualVariableFactory"),
          f = {
        color: u,
        size: b,
        opacity: c,
        rotation: p
      },
          h = new o["default"]({
        colorInfo: "color",
        transparencyInfo: "opacity",
        rotationInfo: "rotation",
        sizeInfo: "size"
      }),
          y = /^\[([^\]]+)\]$/i;
      return function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.colorVariables = null, r.opacityVariables = null, r.rotationVariables = null, r.sizeVariables = null, r;
        }

        return a(r, e), Object.defineProperty(r.prototype, "visualVariables", {
          set: function set(e) {
            if (this._resetVariables(), !(e = e && e.filter(function (e) {
              return !!e;
            })) || !e.length) return void this._set("visualVariables", e);

            for (var r = 0, a = e; r < a.length; r++) {
              var t = a[r];

              switch (t.type) {
                case "color":
                  this.colorVariables.push(t);
                  break;

                case "opacity":
                  this.opacityVariables.push(t);
                  break;

                case "rotation":
                  this.rotationVariables.push(t);
                  break;

                case "size":
                  this.sizeVariables.push(t);
              }
            }

            if (this.sizeVariables.length) {
              this.sizeVariables.some(function (e) {
                return !!e.target;
              }) && e.sort(function (e, r) {
                return e.target === r.target ? 0 : e.target ? 1 : -1;
              });
            }

            for (var i = 0; i < e.length; i++) {
              var t = e[i];
              t.index = i;
            }

            this._set("visualVariables", e);
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.readVariables = function (e, r, a) {
          var t = r.rotationExpression,
              i = r.rotationType,
              o = t && t.match(y),
              s = o && o[1];
          if (s && (e || (e = []), e.push({
            type: "rotationInfo",
            rotationType: i,
            field: s
          })), e) return e.map(function (e) {
            var r = h.read(e.type),
                t = f[r];
            t || (V.warn("Unknown variable type: " + r), a && a.messages && a.messages.push(new n("visual-variable:unsupported", "visualVariable of type '" + r + "' is not supported", {
              definition: e,
              context: a
            })));
            var i = new t();
            return i.read(e, a), i;
          });
        }, r.prototype.writeVariables = function (e, r) {
          for (var a = [], t = 0, i = e; t < i.length; t++) {
            var o = i[t],
                s = o.toJSON(r);
            s && a.push(s);
          }

          return a;
        }, r.prototype._resetVariables = function () {
          this.colorVariables = [], this.opacityVariables = [], this.rotationVariables = [], this.sizeVariables = [];
        }, t([l.property()], r.prototype, "visualVariables", null), r = t([l.subclass("esri.renderers.visualVariables.VisualVariableFactory")], r);
      }(l.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/ColorStop.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/ColorStop.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportColorStopJs(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__(
    /*! ../../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, l, p, u, n) {
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.color = null, o.label = null, o.value = null, o;
        }

        o(r, e), p = r, r.prototype.writeValue = function (e, r, o) {
          r[o] = null == e ? 0 : e;
        }, r.prototype.clone = function () {
          return new p({
            color: this.color && this.color.clone(),
            label: this.label,
            value: this.value
          });
        };
        var p;
        return t([u.property({
          type: l,
          json: {
            type: [n.Integer],
            write: !0
          }
        })], r.prototype, "color", void 0), t([u.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "label", void 0), t([u.property({
          type: Number,
          json: {
            write: {
              allowNull: !0
            }
          }
        })], r.prototype, "value", void 0), t([u.writer("value")], r.prototype, "writeValue", null), r = p = t([u.subclass("esri.renderers.visualVariables.support.ColorStop")], r);
      }(u.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/OpacityStop.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/OpacityStop.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportOpacityStopJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../../webdoc/support/opacityUtils */
    "./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, p, o, a, n, c) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.label = null, t.opacity = null, t.value = null, t;
        }

        t(r, e), o = r, r.prototype.readOpacity = function (e, r) {
          return c.transparencyToOpacity(r.transparency);
        }, r.prototype.writeOpacity = function (e, r, t) {
          r[t] = c.opacityToTransparency(e);
        }, r.prototype.clone = function () {
          return new o({
            label: this.label,
            opacity: this.opacity,
            value: this.value
          });
        };
        var o;
        return p([a.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "label", void 0), p([a.property({
          type: Number,
          json: {
            type: n.Integer,
            write: {
              target: "transparency"
            }
          }
        })], r.prototype, "opacity", void 0), p([a.reader("opacity", ["transparency"])], r.prototype, "readOpacity", null), p([a.writer("opacity")], r.prototype, "writeOpacity", null), p([a.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "value", void 0), r = o = p([a.subclass("esri.renderers.visualVariables.support.OpacityStop")], r);
      }(a.declared(o.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeStop.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeStop.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportSizeStopJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, s, l) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.label = null, t.size = null, t.value = null, t;
        }

        t(r, e), p = r, r.prototype.clone = function () {
          return new p({
            label: this.label,
            size: this.size,
            value: this.value
          });
        };
        var p;
        return o([l.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "label", void 0), o([l.property({
          type: Number,
          cast: s.toPt,
          json: {
            write: !0
          }
        })], r.prototype, "size", void 0), o([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "value", void 0), r = p = o([l.subclass("esri.renderers.visualVariables.support.SizeStop")], r);
      }(l.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeVariableLegendOptions.js":
  /*!***************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeVariableLegendOptions.js ***!
    \***************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportSizeVariableLegendOptionsJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./VisualVariableLegendOptions */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/VisualVariableLegendOptions.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, s, o, u) {
      return function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.customValues = null, t;
        }

        r(t, e), u = t, t.prototype.clone = function () {
          return new u({
            title: this.title,
            showLegend: this.showLegend,
            customValues: this.customValues && this.customValues.slice(0)
          });
        };
        var u;
        return s([o.property({
          type: [Number],
          json: {
            write: !0
          }
        })], t.prototype, "customValues", void 0), t = u = s([o.subclass("esri.renderers.visualVariables.support.SizeVariableLegendOptions")], t);
      }(o.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/VisualVariableLegendOptions.js":
  /*!*****************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/VisualVariableLegendOptions.js ***!
    \*****************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportVisualVariableLegendOptionsJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../support/LegendOptions */
    "./node_modules/arcgis-js-api/renderers/support/LegendOptions.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, s) {
      return function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.showLegend = null, r;
        }

        t(r, e), s = r, r.prototype.clone = function () {
          return new s({
            title: this.title,
            showLegend: this.showLegend
          });
        };
        var s;
        return o([n.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], r.prototype, "showLegend", void 0), r = s = o([n.subclass("esri.renderers.visualVariables.support.VisualVariableLegendOptions")], r);
      }(n.declared(s["default"]));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/sizeVariableUtils.js":
  /*!*******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/sizeVariableUtils.js ***!
    \*******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportSizeVariableUtilsJs(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, n) {
      function i(e) {
        return e && "esri.renderers.visualVariables.SizeVariable" === e.declaredClass;
      }

      function a(e) {
        return null != e && !isNaN(e) && isFinite(e);
      }

      function l(e) {
        return e.valueExpression ? "expression" : e.field && "string" == typeof e.field ? "field" : "unknown";
      }

      function r(e, n) {
        var i = n || l(e),
            a = e.valueUnit || "unknown";
        return "unknown" === i ? "constant" : e.stops ? "stops" : null != e.minSize && null != e.maxSize && null != e.minDataValue && null != e.maxDataValue ? "clamped-linear" : "unknown" === a ? null != e.minSize && null != e.minDataValue ? e.minSize && e.minDataValue ? "proportional" : "additive" : "identity" : "real-world-size";
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.isSizeVariable = i, n.isValidNumber = a, n.getInputValueType = l, n.getTransformationType = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js":
  /*!*********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js ***!
    \*********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersVisualVariablesSupportVisualVariableUtilsJs(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__(
    /*! ../../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.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__(
    /*! ../../support/utils */
    "./node_modules/arcgis-js-api/renderers/support/utils.js"), __webpack_require__(
    /*! ./sizeVariableUtils */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/sizeVariableUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, r, i, n, t, s, l) {
      function o(e, a, i) {
        var n = "visualVariables" in e && e.visualVariables ? e.visualVariables.filter(function (e) {
          return "color" === e.type;
        })[0] : e;

        if (n) {
          if ("esri.renderers.visualVariables.ColorVariable" !== n.declaredClass) return void M.warn("The visualVariable should be an instance of esri.renderers.visualVariables.ColorVariable");
          var s = "number" == typeof a,
              l = s ? null : a,
              o = l && l.attributes,
              u = s ? a : null,
              c = n.field,
              v = n.cache,
              f = v.ipData,
              d = v.hasExpression,
              p = n.cache.compiledFunc;

          if (!c && !d) {
            var b = n.stops;
            return b && b[0] && b[0].color;
          }

          if ("number" != typeof u) if (d) {
            if (!t.isSome(i) || !t.isSome(i.arcade)) return void M.error("Use of arcade expressions requires an arcade context");
            var m = {
              viewingMode: i.viewingMode,
              scale: i.scale,
              spatialReference: i.spatialReference
            },
                h = i.arcade.arcadeUtils,
                V = h.getViewInfo(m),
                x = h.createExecContext(l, V);

            if (!p) {
              var g = h.createSyntaxTree(n.valueExpression);
              p = h.createFunction(g), n.cache.compiledFunc = p;
            }

            u = h.executeFunction(p, x);
          } else o && (u = o[c]);
          var y = n.normalizationField,
              S = o ? parseFloat(o[y]) : void 0;

          if (null != u && (!y || s || !isNaN(S) && 0 !== S)) {
            isNaN(S) || s || (u /= S);
            var z = N(u, f);

            if (z) {
              var w = z[0],
                  F = z[1],
                  E = w === F ? n.stops[w].color : r.blendColors(n.stops[w].color, n.stops[F].color, z[2], t.isSome(i) ? i.color : void 0);
              return new r(E);
            }
          }
        }
      }

      function u(e, a, r) {
        var i = "visualVariables" in e && e.visualVariables ? e.visualVariables.filter(function (e) {
          return "opacity" === e.type;
        })[0] : e;

        if (i) {
          if ("esri.renderers.visualVariables.OpacityVariable" !== i.declaredClass) return void M.warn("The visualVariable should be an instance of esri.renderers.visualVariables.OpacityVariable");
          var n = "number" == typeof a,
              s = n ? null : a,
              l = s && s.attributes,
              o = n ? a : null,
              u = i.field,
              c = i.cache,
              v = c.ipData,
              f = c.hasExpression,
              d = i.cache.compiledFunc;

          if (!u && !f) {
            var p = i.stops;
            return p && p[0] && p[0].opacity;
          }

          if ("number" != typeof o) if (f) {
            if (t.isNone(r) || t.isNone(r.arcade)) return void M.error("Use of arcade expressions requires an arcade context");
            var b = {
              viewingMode: r.viewingMode,
              scale: r.scale,
              spatialReference: r.spatialReference
            },
                m = r.arcade.arcadeUtils,
                h = m.getViewInfo(b),
                V = m.createExecContext(s, h);

            if (!d) {
              var x = m.createSyntaxTree(i.valueExpression);
              d = m.createFunction(x), i.cache.compiledFunc = d;
            }

            o = m.executeFunction(d, V);
          } else l && (o = l[u]);
          var g = i.normalizationField,
              y = l ? parseFloat(l[g]) : void 0;

          if (null != o && (!g || n || !isNaN(y) && 0 !== y)) {
            isNaN(y) || n || (o /= y);
            var S = N(o, v);

            if (S) {
              var z = S[0],
                  w = S[1];
              if (z === w) return i.stops[z].opacity;
              var F = i.stops[z].opacity;
              return F + (i.stops[w].opacity - F) * S[2];
            }
          }
        }
      }

      function c(e, a, r) {
        var i = "visualVariables" in e && e.visualVariables ? e.visualVariables.filter(function (e) {
          return "rotation" === e.type;
        })[0] : e;

        if (i) {
          if ("esri.renderers.visualVariables.RotationVariable" !== i.declaredClass) return void M.warn("The visualVariable should be an instance of esri.renderers.visualVariables.RotationVariable");
          var n = i.axis || "heading",
              s = "heading" === n && "arithmetic" === i.rotationType ? 90 : 0,
              l = "heading" === n && "arithmetic" === i.rotationType ? -1 : 1,
              o = "number" == typeof a ? null : a,
              u = o && o.attributes,
              c = i.field,
              v = i.cache.hasExpression,
              f = i.cache.compiledFunc,
              d = 0;
          if (!c && !v) return d;

          if (v) {
            if (t.isNone(r) || t.isNone(r.arcade)) return void M.error("Use of arcade expressions requires an arcade context");
            var p = {
              viewingMode: r.viewingMode,
              scale: r.scale,
              spatialReference: r.spatialReference
            },
                b = r.arcade.arcadeUtils,
                m = b.getViewInfo(p),
                h = b.createExecContext(o, m);

            if (!f) {
              var V = b.createSyntaxTree(i.valueExpression);
              f = b.createFunction(V), i.cache.compiledFunc = f;
            }

            d = b.executeFunction(f, h);
          } else u && (d = u[c] || 0);

          return d = "number" != typeof d || isNaN(d) ? null : s + l * d;
        }
      }

      function v(e, a, r) {
        var i = "number" == typeof a,
            n = i ? null : a,
            s = n && n.attributes,
            o = i ? a : null,
            u = e.cache.isScaleDriven,
            c = e.cache.compiledFunc;

        if (u) {
          var v = t.isSome(r) ? r.scale : void 0,
              d = t.isSome(r) ? r.view : void 0;
          o = null == v || d && "3d" === d.type ? f(e) : v;
        } else if (!i) switch (e.inputValueType) {
          case "expression":
            if (t.isNone(r) || t.isNone(r.arcade)) return void M.error("Use of arcade expressions requires an arcade context");
            var p = {
              viewingMode: r.viewingMode,
              scale: r.scale,
              spatialReference: r.spatialReference
            },
                b = r.arcade.arcadeUtils,
                m = b.getViewInfo(p),
                h = b.createExecContext(n, m);

            if (!c) {
              var V = b.createSyntaxTree(e.valueExpression);
              c = b.createFunction(V), e.cache.compiledFunc = c;
            }

            o = b.executeFunction(c, h);
            break;

          case "field":
            s && (o = s[e.field]);
            break;

          case "unknown":
            o = null;
        }

        if (!l.isValidNumber(o)) return null;
        if (i || !e.normalizationField) return o;
        var x = s ? parseFloat(s[e.normalizationField]) : null;
        return l.isValidNumber(x) && 0 !== x ? o / x : null;
      }

      function f(e) {
        var a = null,
            r = null,
            i = e.stops;
        return i ? (a = i[0].value, r = i[i.length - 1].value) : (a = e.minDataValue || 0, r = e.maxDataValue || 0), (a + r) / 2;
      }

      function d(e, a, r) {
        var i = "visualVariables" in e && e.visualVariables ? e.visualVariables.filter(function (e) {
          return "size" === e.type;
        })[0] : e;

        if (i) {
          if ("esri.renderers.visualVariables.SizeVariable" !== i.declaredClass) return void M.warn("The visualVariable should be an instance of esri.renderers.visualVariables.SizeVariable");
          var n = v(i, a, r),
              t = z(n, i, a, r, i.cache.ipData);
          return null === t || void 0 === t || isNaN(t) ? 0 : t;
        }
      }

      function p(e, a, r) {
        return null == e ? null : l.isSizeVariable(e) ? d(e, a, r) : l.isValidNumber(e) ? e : null;
      }

      function b(e, a, r) {
        return l.isValidNumber(r) && e > r ? r : l.isValidNumber(a) && e < a ? a : e;
      }

      function m(e, a, r, i) {
        return e + (p(a.minSize, r, i) || a.minDataValue);
      }

      function h(e, a, r) {
        var i = e.stops,
            n = i && i.length && i[0].size;
        return null == n && (n = e.minSize), p(n, a, r);
      }

      function V(e, a, r, i) {
        var n = (e - a.minDataValue) / (a.maxDataValue - a.minDataValue),
            s = p(a.minSize, r, i),
            l = p(a.maxSize, r, i),
            o = t.isSome(i) ? i.shape : void 0;
        if (e <= a.minDataValue) return s;
        if (e >= a.maxDataValue) return l;

        if ("area" === a.scaleBy && o) {
          var u = "circle" === o,
              c = u ? D * Math.pow(s / 2, 2) : s * s,
              v = u ? D * Math.pow(l / 2, 2) : l * l,
              f = c + n * (v - c);
          return u ? 2 * Math.sqrt(f / D) : Math.sqrt(f);
        }

        return s + n * (l - s);
      }

      function x(e, a, r, i) {
        var n = t.isSome(i) ? i.shape : void 0,
            s = e / a.minDataValue,
            l = p(a.minSize, r, i),
            o = p(a.maxSize, r, i),
            u = null;
        return u = "circle" === n ? 2 * Math.sqrt(s * Math.pow(l / 2, 2)) : "square" === n || "diamond" === n || "image" === n ? Math.sqrt(s * Math.pow(l, 2)) : s * l, b(u, l, o);
      }

      function g(e, a, r, i, n) {
        var t = N(e, n),
            s = t[0],
            l = t[1],
            o = t[2];
        if (s === l) return p(a.stops[s].size, r, i);
        var u = p(a.stops[s].size, r, i);
        return u + (p(a.stops[l].size, r, i) - u) * o;
      }

      function y(e, a, r, i) {
        var n = t.isSome(i) && i.resolution ? i.resolution : 1,
            l = n * s.meterIn[a.valueUnit],
            o = p(a.minSize, r, i),
            u = p(a.maxSize, r, i),
            c = a.valueRepresentation,
            v = null;
        return v = "area" === c ? 2 * Math.sqrt(e / D) / l : "radius" === c || "distance" === c ? 2 * e / l : e / l, b(v, o, u);
      }

      function S(e) {
        return e;
      }

      function z(e, a, r, i, n) {
        switch (a.transformationType) {
          case "additive":
            return m(e, a, r, i);

          case "constant":
            return h(a, r, i);

          case "clamped-linear":
            return V(e, a, r, i);

          case "proportional":
            return x(e, a, r, i);

          case "stops":
            return g(e, a, r, i, n);

          case "real-world-size":
            return y(e, a, r, i);

          case "identity":
            return S(e);

          case "unknown":
            return null;
        }
      }

      function w(e, a, r) {
        var i = e.cache.isScaleDriven,
            n = r && "3d" === r.type;
        if (!(i && n || a)) return null;
        var t = {
          scale: a,
          view: r
        },
            s = p(e.minSize, E, t),
            l = p(e.maxSize, E, t);

        if (null != s || null != l) {
          if (s > l) {
            var o = l;
            l = s, s = o;
          }

          return {
            minSize: s,
            maxSize: l
          };
        }
      }

      function F(e, a, r) {
        if (e.visualVariables) {
          for (var i = [], n = [], t = [], s = [], l = [], v = 0, f = e.visualVariables; v < f.length; v++) {
            var p = f[v];

            switch (p.type) {
              case "color":
                n.push(p);
                break;

              case "opacity":
                t.push(p);
                break;

              case "rotation":
                l.push(p);
                break;

              case "size":
                s.push(p);
            }
          }

          return n.forEach(function (e) {
            var n = o(e, a, r);
            i.push({
              variable: e,
              value: n
            });
          }), t.forEach(function (e) {
            var n = u(e, a, r);
            i.push({
              variable: e,
              value: n
            });
          }), l.forEach(function (e) {
            var n = c(e, a, r);
            i.push({
              variable: e,
              value: n
            });
          }), s.forEach(function (e) {
            var n = d(e, a, r);
            i.push({
              variable: e,
              value: n
            });
          }), i.filter(function (e) {
            return null != e.value;
          });
        }
      }

      function N(e, a) {
        if (a) {
          var r = 0,
              i = a.length - 1;
          return a.some(function (a, n) {
            return e < a ? (i = n, !0) : (r = n, !1);
          }), [r, i, (e - a[r]) / (a[i] - a[r])];
        }
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var M = n.getLogger("esri.renderers.visualVariables.support.visualVariableUtils"),
          E = new i(),
          D = Math.PI;
      a.getColor = o, a.getOpacity = u, a.getRotationAngle = c, a.getSize = d, a.getSizeFromNumberOrVariable = p, a.getSizeForValue = z, a.getSizeRangeAtScale = w, a.getVisualVariableValues = F;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRequestJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ./core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ./config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ./kernel */
    "./node_modules/arcgis-js-api/kernel.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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ./core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./core/string */
    "./node_modules/arcgis-js-api/core/string.js"), __webpack_require__(
    /*! ./core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, s, o, a, i, u, c, l, d, h, p) {
      function f(e, r) {
        var t = d.createAbortController();
        return d.create(function (n, s) {
          m(t.signal, e, r).then(n)["catch"](s);
        }, function () {
          t.abort();
        });
      }

      function m(e, r, a) {
        return n(this, void 0, void 0, function () {
          var n, i, u, l, h, f, m, b;
          return s(this, function (s) {
            switch (s.label) {
              case 0:
                return n = p.isDataProtocol(r), i = p.isBlobProtocol(r), i || n || (r = p.normalize(r)), u = {
                  url: r,
                  requestOptions: t({}, a)
                }, l = p.getInterceptor(r), l ? [4, k(l, u)] : [3, 2];

              case 1:
                if (null != (h = s.sent())) return [2, {
                  data: h,
                  getHeader: F,
                  requestOptions: u.requestOptions,
                  url: u.url
                }];
                l.after || l.error || (l = null), s.label = 2;

              case 2:
                if (r = u.url, a = u.requestOptions, "image" === a.responseType) {
                  if (c("host-webworker") || c("host-node")) throw w("request:invalid-parameters", new Error("responseType 'image' is not supported in Web Workers or Node environment"), u);
                } else if (n) throw w("request:invalid-parameters", new Error("Data URLs are not supported for responseType = " + a.responseType), u);

                if ("head" === a.method) {
                  if (a.body) throw w("request:invalid-parameters", new Error("body parameter cannot be set when method is 'head'"), u);
                  if (n || i) throw w("request:invalid-parameters", new Error("data and blob URLs are not supported for method 'head'"), u);
                }

                return [4, y()];

              case 3:
                return s.sent(), U ? [2, U.execute(r, a)] : (f = d.createAbortController(), d.onAbort(e, function () {
                  return f.abort();
                }), d.onAbort(a, function () {
                  return f.abort();
                }), m = {
                  controller: f,
                  credential: null,
                  credentialToken: null,
                  fetchOptions: null,
                  hasToken: !1,
                  interceptor: l,
                  params: u,
                  redoRequest: !1,
                  useIdentity: o.request.useIdentity,
                  useProxy: !1,
                  useSSL: !1,
                  withCredentials: !1
                }, [4, L(m)]);

              case 4:
                return b = s.sent(), l && l.after && l.after(b), [2, b];
            }
          });
        });
      }

      function b(e) {
        if (!p.isBlobProtocol(e) && !p.isDataProtocol(e)) {
          var r = p.getOrigin(e);
          r && -1 === f._corsServers.indexOf(r) && f._corsServers.push(r);
        }
      }

      function g(e) {
        var r = p.getOrigin(e);
        return !r || h.endsWith(r, ".arcgis.com") || -1 !== f._corsServers.indexOf(r) || p.isTrustedServer(r);
      }

      function v() {
        var e;

        try {
          e = new DOMException("Aborted", "AbortError");
        } catch (r) {
          e = new Error("Aborted"), e.name = "AbortError";
        }

        return e;
      }

      function w(e, r, t, n) {
        var s = "Error",
            o = {
          url: t.url,
          requestOptions: t.requestOptions,
          getHeader: F,
          ssl: !1
        };
        if (r instanceof i) return r.details ? (r.details = l.clone(r.details), r.details.url = t.url, r.details.requestOptions = t.requestOptions) : r.details = o, r;

        if (r) {
          var a = n && function (e) {
            return n.headers.get(e);
          },
              u = n && n.status,
              c = r.message;

          c && (s = c), a && (o.getHeader = a), o.httpStatus = (null != r.httpCode ? r.httpCode : r.code) || u || 0, o.subCode = r.subcode, o.messageCode = r.messageCode, "string" == typeof r.details ? o.messages = [r.details] : o.messages = r.details;
        }

        var d = new i(e, s, o);
        return r && "cancel" === r.dojoType && (d.dojoType = "cancel"), d;
      }

      function y() {
        return n(this, void 0, void 0, function () {
          var r;
          return s(this, function (t) {
            switch (t.label) {
              case 0:
                return c("host-webworker") ? U ? [3, 2] : [4, new Promise(function (r, t) {
                  __webpack_require__.e(
                  /*! AMD require */
                  86).then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ./core/workers/request */
                    "./node_modules/arcgis-js-api/core/workers/request.js")];
                    r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](t.bind(this));
                })] : [3, 3];

              case 1:
                U = t.sent(), t.label = 2;

              case 2:
                return [3, 6];

              case 3:
                return f._abortableFetch ? [3, 6] : !c("esri-abortable-fetch") || !c("esri-native-promise") && (c("safari") < 13 || c("ios") < 13) ? [3, 4] : (f._abortableFetch = u.fetch.bind(u), [3, 6]);

              case 4:
                return r = f, [4, new Promise(function (r, t) {
                  __webpack_require__.e(
                  /*! AMD require */
                  106).then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! whatwg-fetch */
                    "./node_modules/whatwg-fetch/fetch.js")];
                    r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](t.bind(this));
                })];

              case 5:
                r._abortableFetch = t.sent().fetch, t.label = 6;

              case 6:
                return [2];
            }
          });
        });
      }

      function q() {
        return n(this, void 0, void 0, function () {
          return s(this, function (r) {
            switch (r.label) {
              case 0:
                return a.id ? [3, 2] : [4, new Promise(function (r, t) {
                  __webpack_require__.e(
                  /*! AMD require */
                  53).then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ./identity/IdentityManager */
                    "./node_modules/arcgis-js-api/identity/IdentityManager.js")];
                    r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](t.bind(this));
                })];

              case 1:
                r.sent(), r.label = 2;

              case 2:
                return [2];
            }
          });
        });
      }

      function O(e) {
        return n(this, void 0, void 0, function () {
          var r, t, n, o, i, c, l, h, p;
          return s(this, function (s) {
            switch (s.label) {
              case 0:
                return r = e.params.url, (t = e.params.requestOptions, n = e.controller.signal, o = t.body, i = null, c = null, l = null, A && "HTMLFormElement" in u && (o instanceof FormData ? i = o : o instanceof HTMLFormElement && (c = o, i = new FormData(c))), "string" == typeof o && (l = o), e.fetchOptions = {
                  cache: t.cacheBust && !f._abortableFetch.polyfill ? "no-cache" : "default",
                  credentials: "same-origin",
                  headers: t.headers || {},
                  method: "head" === t.method ? "HEAD" : "GET",
                  mode: "cors",
                  redirect: "follow",
                  signal: n
                }, (i || l) && (e.fetchOptions.body = i || l), "anonymous" === t.authMode && (e.useIdentity = !1), e.hasToken = !!(/token=/i.test(r) || t.query && t.query.token || i && i.get && i.get("token") || c && c.elements.token), !e.useIdentity || e.hasToken || e.credentialToken || T(r) || d.isAborted(n)) ? [3, 11] : (h = void 0, "immediate" !== t.authMode ? [3, 3] : [4, q()]);

              case 1:
                return s.sent(), [4, a.id.getCredential(r, {
                  signal: n
                })];

              case 2:
                return h = s.sent(), e.credential = h, [3, 10];

              case 3:
                return "no-prompt" !== t.authMode ? [3, 9] : [4, q()];

              case 4:
                s.sent(), s.label = 5;

              case 5:
                return s.trys.push([5, 7,, 8]), [4, a.id.getCredential(r, {
                  prompt: !1,
                  signal: n
                })];

              case 6:
                return h = s.sent(), e.credential = h, [3, 8];

              case 7:
                return p = s.sent(), [3, 8];

              case 8:
                return [3, 10];

              case 9:
                a.id && (h = a.id.findCredential(r)), s.label = 10;

              case 10:
                h && (e.credentialToken = h.token, e.useSSL = !!h.ssl), s.label = 11;

              case 11:
                return [2];
            }
          });
        });
      }

      function T(e) {
        return j.some(function (r) {
          return r.test(e);
        });
      }

      function S(e) {
        return n(this, void 0, void 0, function () {
          var r, n, i, u, l, h, m, v, y, q, O, T, S, k, L, P, U, D, R, j, F, _, H, I;

          return s(this, function (s) {
            switch (s.label) {
              case 0:
                if (r = e.params.url, n = e.params.requestOptions, i = e.fetchOptions, u = p.isBlobProtocol(r) || p.isDataProtocol(r), l = n.responseType || "json", h = u ? 0 : null != n.timeout ? n.timeout : o.request.timeout, m = !1, !u) {
                  if (e.useSSL && (r = p.toHTTPS(r)), n.cacheBust && "default" === i.cache && (r = p.addQueryParameter(r, "request.preventCache", Date.now())), v = t({}, n.query), e.credentialToken && (v.token = e.credentialToken), y = p.objectToQuery(v), c("esri-url-encodes-apostrophe") && (y = y.replace(/'/g, "%27")), q = r.length + 1 + y.length, O = void 0, m = "post" === n.method || !!n.body || q > o.request.maxUrlLength, T = n.useProxy || !!p.getProxyRule(r), T && (S = p.getProxyUrl(r), O = S.path, !m && O.length + 1 + q > o.request.maxUrlLength && (m = !0), S.query && (v = t({}, S.query, v))), "HEAD" === i.method && (m || T)) {
                    if (m) {
                      if (q > o.request.maxUrlLength) throw w("request:invalid-parameters", new Error("URL exceeds maximum length"), e.params);
                      throw w("request:invalid-parameters", new Error("cannot use POST request when method is 'head'"), e.params);
                    }

                    if (T) throw w("request:invalid-parameters", new Error("cannot use proxy when method is 'head'"), e.params);
                  }

                  m ? (i.method = "POST", n.body ? r = p.addQueryParameters(r, v) : (i.body = p.objectToQuery(v), i.headers["Content-Type"] = "application/x-www-form-urlencoded")) : r = p.addQueryParameters(r, v), T && (e.useProxy = !0, r = O + "?" + r), v.token && A && i.body instanceof FormData && (k = i.body, k.set ? k.set("token", v.token) : k.append("token", v.token)), n.hasOwnProperty("withCredentials") ? e.withCredentials = n.withCredentials : p.isTrustedServer(r) ? e.withCredentials = !0 : a.id && (L = a.id.findServerInfo(r)) && L.webTierAuth && (e.withCredentials = !0), e.withCredentials && (i.credentials = "include");
                }

                P = 0, U = !1, h > 0 && (P = setTimeout(function () {
                  U = !0, e.controller.abort();
                }, h)), s.label = 1;

              case 1:
                return s.trys.push([1, 18, 19, 20]), "image" !== n.responseType || "default" !== i.cache || "GET" !== i.method || m || x(n.headers) || !u && !e.useProxy && o.request.proxyUrl && !g(r) ? [3, 3] : [4, C(r, e)];

              case 2:
                return R = s.sent(), [3, 17];

              case 3:
                return [4, f._abortableFetch(r, i)];

              case 4:
                if (D = s.sent(), e.useProxy || b(r), !D.ok || "HEAD" === i.method) return [3, 17];

                switch (j = l) {
                  case "array-buffer":
                    return [3, 5];

                  case "blob":
                  case "image":
                    return [3, 7];
                }

                return [3, 9];

              case 5:
                return [4, D.arrayBuffer()];

              case 6:
                return R = s.sent(), [3, 11];

              case 7:
                return [4, D.blob()];

              case 8:
                return R = s.sent(), [3, 11];

              case 9:
                return [4, D.text()];

              case 10:
                return R = s.sent(), [3, 11];

              case 11:
                if (P && (clearTimeout(P), P = 0), "json" === l || "xml" === l || "document" === l) if (R) switch (l) {
                  case "json":
                    R = JSON.parse(R);
                    break;

                  case "xml":
                    R = E(R, "application/xml");
                    break;

                  case "document":
                    R = E(R, "text/html");
                } else R = null;
                if (F = D.headers.get("Content-Type"), !/application\/json|text\/plain/i.test(F) || !(R instanceof ArrayBuffer && R.byteLength <= 750 || R instanceof Blob && R.size <= 750)) return [3, 15];
                s.label = 12;

              case 12:
                return s.trys.push([12, 14,, 15]), [4, new Response(R).json()];

              case 13:
                return _ = s.sent(), _.error && (R = _), [3, 15];

              case 14:
                return H = s.sent(), [3, 15];

              case 15:
                return "image" === l && R instanceof Blob ? [4, C(URL.createObjectURL(R), e, !0)] : [3, 17];

              case 16:
                R = s.sent(), s.label = 17;

              case 17:
                return [3, 20];

              case 18:
                if (I = s.sent(), "AbortError" === I.name) {
                  if (U) throw new Error("Timeout exceeded");
                  throw d.createAbortError("Request canceled");
                }

                if (!(!D && I instanceof TypeError && o.request.proxyUrl) || n.body || "post" === n.method || "head" === n.method || e.useProxy) throw I;
                return e.redoRequest = !0, p.addProxyRule({
                  proxyUrl: o.request.proxyUrl,
                  urlPrefix: p.removeFile(p.urlToObject(r).path)
                }), [3, 20];

              case 19:
                return P && clearTimeout(P), [7];

              case 20:
                return [2, [D, R]];
            }
          });
        });
      }

      function k(e, r) {
        return n(this, void 0, void 0, function () {
          var n, o, a;
          return s(this, function (s) {
            switch (s.label) {
              case 0:
                if (null != e.responseData) return [2, e.responseData];
                if (e.headers && (r.requestOptions.headers = t({}, r.requestOptions.headers, e.headers)), e.query && (r.requestOptions.query = t({}, r.requestOptions.query, e.query)), !e.before) return [3, 5];
                n = void 0, o = void 0, s.label = 1;

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

              case 2:
                return o = s.sent(), [3, 4];

              case 3:
                return a = s.sent(), n = w("request:interceptor", a, r), [3, 4];

              case 4:
                if ((o instanceof Error || o instanceof i) && (n = w("request:interceptor", o, r)), n) throw e.error && e.error(n), n;
                return [2, o];

              case 5:
                return [2];
            }
          });
        });
      }

      function x(e) {
        if (e) for (var r = 0, t = Object.getOwnPropertyNames(e); r < t.length; r++) {
          var n = t[r];
          if (e[n]) return !0;
        }
        return !1;
      }

      function E(e, r) {
        var t;

        try {
          t = new DOMParser().parseFromString(e, r);
        } catch (e) {}

        if (!t || t.getElementsByTagName("parsererror").length) throw new SyntaxError("XML Parse error");
        return t;
      }

      function L(e) {
        return n(this, void 0, void 0, function () {
          var r, t, n, i, u, c, l, d, h, f, m;
          return s(this, function (s) {
            switch (s.label) {
              case 0:
                return [4, O(e)];

              case 1:
                s.sent(), s.label = 2;

              case 2:
                s.trys.push([2, 8,, 9]), s.label = 3;

              case 3:
                return [4, S(e)];

              case 4:
                r = s.sent(), t = r[0], n = r[1], s.label = 5;

              case 5:
                return [4, P(e, t, n)];

              case 6:
                if (!s.sent()) return [3, 3];
                s.label = 7;

              case 7:
                return [3, 9];

              case 8:
                throw i = s.sent(), u = w("request:server", i, e.params, t), u.details.ssl = e.useSSL, e.interceptor && e.interceptor.error && e.interceptor.error(u), u;

              case 9:
                return c = e.params.url, /\/sharing\/rest\/(accounts|portals)\/self/i.test(c) && !e.hasToken && !e.credentialToken && n && n.user && n.user.username && !p.isTrustedServer(c) && (l = p.getOrigin(c, !0)) && o.request.trustedServers.push(l), d = e.credential, d && a.id && (h = a.id.findServerInfo(d.server), (f = h && h.owningSystemUrl) && (f = f.replace(/\/?$/, "/sharing"), (m = a.id.findCredential(f, d.userId)) && -1 === a.id._getIdenticalSvcIdx(f, m) && m.resources.unshift(f))), [2, {
                  data: n,
                  getHeader: t ? function (e) {
                    return t.headers.get(e);
                  } : F,
                  requestOptions: e.params.requestOptions,
                  ssl: e.useSSL,
                  url: e.params.url
                }];
            }
          });
        });
      }

      function P(e, r, t) {
        return n(this, void 0, void 0, function () {
          var n, o, i, u, c, d, h;
          return s(this, function (s) {
            switch (s.label) {
              case 0:
                if (e.redoRequest) return e.redoRequest = !1, [2, !1];
                if (!r) return [2, !0];
                if (!r.ok) throw new Error("Unable to load " + r.url + " status: " + r.status);
                return t && t.error && (n = l.mixin(new Error(), t.error)), n && (o = Number(n.code), i = n.hasOwnProperty("subcode") ? Number(n.subcode) : null, u = n.messageCode, u = u && u.toUpperCase()), c = e.params.requestOptions.authMode, 403 === o && (4 === i || n.message && n.message.toLowerCase().indexOf("ssl") > -1 && -1 === n.message.toLowerCase().indexOf("permission")) ? e.useSSL ? [3, 6] : (e.useSSL = !0, [2, !1]) : [3, 1];

              case 1:
                return !e.useIdentity || "no-prompt" === c && 498 !== o || -1 === D.indexOf(o) || T(e.params.url) || !(403 !== o || -1 === R.indexOf(u) && (null == i || 2 === i && e.credentialToken)) ? [3, 6] : [4, q()];

              case 2:
                s.sent(), s.label = 3;

              case 3:
                return s.trys.push([3, 5,, 6]), [4, a.id.getCredential(e.params.url, {
                  error: w("request:server", n, e.params),
                  prompt: "no-prompt" !== c,
                  signal: e.controller.signal,
                  token: e.credentialToken
                })];

              case 4:
                return d = s.sent(), e.credential = d, e.credentialToken = d.token, e.useSSL = e.useSSL || d.ssl, [2, !1];

              case 5:
                return h = s.sent(), "no-prompt" === c ? (e.credential = null, e.credentialToken = null, [2, !1]) : (n = h, [3, 6]);

              case 6:
                if (n) throw n;
                return [2, !0];
            }
          });
        });
      }

      function C(e, r, t) {
        return void 0 === t && (t = !1), d.create(function (n, s) {
          var o = r.controller.signal;
          if (d.isAborted(o)) throw v();
          var a = new Image();
          r.withCredentials ? a.crossOrigin = "use-credentials" : a.crossOrigin = "anonymous";

          var i = function i() {
            h(), s(new Error("Unable to load " + e));
          },
              u = function u() {
            var e = a;
            h(), n(e);
          },
              l = function l() {
            if (a) {
              var e = a;
              h(), e.src = "", s(v());
            }
          },
              h = function h() {
            c("esri-image-decode") || (a.removeEventListener("error", i), a.removeEventListener("load", u)), i = null, u = null, a = null, o.removeEventListener("abort", l), l = null, t && URL.revokeObjectURL(e);
          };

          a.alt = "", a.src = e, o.addEventListener("abort", l), c("esri-image-decode") ? a.decode().then(u, i) : (a.addEventListener("error", i), a.addEventListener("load", u));
        });
      }

      var U,
          A = ("FormData" in u),
          D = [499, 498, 403, 401],
          R = ["COM_0056", "COM_0057", "SB_0008"],
          j = [/\/arcgis\/tokens/i, /\/sharing(\/rest)?\/generatetoken/i, /\/rest\/info/i],
          F = function F() {
        return null;
      };

      return f._abortableFetch = null, f._corsServers = ["https://server.arcgisonline.com", "https://services.arcgisonline.com"], f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportGraphicsCollectionJs(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__(
    /*! ../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/collectionUtils */
    "./node_modules/arcgis-js-api/core/collectionUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, c, s, l) {
      function u(e) {
        var t = l["default"](a, e);
        return t && (t.owner = this), t;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.on("before-add", function (e) {
            e.item || e.preventDefault();
          }), r.on("after-add", function (e) {
            return r._own(e.item);
          }), r.on("after-remove", function (e) {
            e.item.layer = null;
          }), r;
        }

        o(t, e), n = t, t.prototype.destroy = function () {
          this._unownAll();
        }, Object.defineProperty(t.prototype, "owner", {
          get: function get() {
            return this._get("owner");
          },
          set: function set(e) {
            e !== this._get("owner") && (this._unownAll(), this._set("owner", e), this._ownAll());
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype._createNewInstance = function (e) {
          return new n(e);
        }, t.prototype._ownAll = function () {
          var e = this;
          this.items.forEach(function (t) {
            return e._own(t);
          });
        }, t.prototype._own = function (e) {
          e.layer && "group" !== e.layer.type && "remove" in e.layer && e.layer !== this.owner && e.layer.remove(e), e.layer = this.owner;
        }, t.prototype._unownAll = function () {
          var e = this;
          this.items.forEach(function (t) {
            return e._unown(t);
          });
        }, t.prototype._unown = function (e) {
          e.layer === this.owner && (e.layer = null);
        };
        var n;
        return r([s.property()], t.prototype, "owner", null), t = n = r([s.subclass("esri.support.GraphicsCollection")], t);
      }(s.declared(i.ofType(n)));

      t.GraphicsCollection = a, t.castGraphicsCollection = u, t.graphicsCollectionProperty = {
        type: a,
        cast: c.castForReferenceSetter,
        set: function set(e) {
          var t = c.referenceSetter(e, this._get("graphics"), a);
          t.owner = this, this._set("graphics", t);
        }
      }, t["default"] = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportLayersMixinJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/collectionUtils */
    "./node_modules/arcgis-js-api/core/collectionUtils.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../layers/Layer */
    "./node_modules/arcgis-js-api/layers/Layer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, i, a, s, p, y) {
      function d(e) {
        return e && "group" === e.type;
      }

      function l(e, r, t) {
        var o, n;
        if (e) for (var i = 0, a = e.length; i < a; i++) {
          if (o = e.getItemAt(i), o[r] === t) return o;
          if (d(o) && (n = l(o.layers, r, t))) return n;
        }
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var u = a.getLogger("esri.support.LayersMixin");

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

            var o = e.call(this, r) || this;
            o.layers = new n();

            var i = function i(e) {
              e.parent && e.parent !== o && "remove" in e.parent && e.parent.remove(e), e.parent = o, o.layerAdded(e), "elevation" === e.type && u.error("Layer '" + e.title + ", id:" + e.id + "' of type '" + e.type + "' is not supported as an operational layer and will therefore be ignored.");
            },
                a = function a(e) {
              e.parent = null, o.layerRemoved(e);
            };

            return o.layers.on("after-add", function (e) {
              return i(e.item);
            }), o.layers.on("after-remove", function (e) {
              return a(e.item);
            }), o;
          }

          return t(r, e), r.prototype.destroy = function () {
            this.layers.drain(this.layerRemoved, this);
          }, Object.defineProperty(r.prototype, "layers", {
            set: function set(e) {
              this._set("layers", i.referenceSetter(e, this._get("layers")));
            },
            enumerable: !0,
            configurable: !0
          }), r.prototype.add = function (e, r) {
            var t = this,
                o = this.layers;
            r = o.getNextIndex(r), e instanceof y ? (e.parent === this && this.reorder(e, r), o.add(e, r)) : s.isPromiseLike(e) ? e.then(function (e) {
              t.destroyed || t.add(e, r);
            }) : u.error("#add()", "The item being added is not a Layer or a Promise that resolves to a Layer.");
          }, r.prototype.addMany = function (e, r) {
            var t = this,
                o = this.layers;
            r = o.getNextIndex(r), e.slice().forEach(function (e) {
              if (e.parent === t) return void t.reorder(e, r);
              o.add(e, r), r += 1;
            });
          }, r.prototype.findLayerById = function (e) {
            return l(this.layers, "id", e);
          }, r.prototype.findLayerByUid = function (e) {
            return l(this.layers, "uid", e);
          }, r.prototype.remove = function (e) {
            return this.layers.remove(e);
          }, r.prototype.removeMany = function (e) {
            return this.layers.removeMany(e);
          }, r.prototype.removeAll = function () {
            return this.layers.removeAll();
          }, r.prototype.reorder = function (e, r) {
            return this.layers.reorder(e, r);
          }, r.prototype.layerAdded = function (e) {}, r.prototype.layerRemoved = function (e) {}, o([p.property()], r.prototype, "layers", null), r = o([p.subclass("esri.support.LayersMixin")], r);
        }(p.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/support/actions/ActionBase.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/support/actions/ActionBase.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportActionsActionBaseJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Identifiable */
    "./node_modules/arcgis-js-api/core/Identifiable.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, o, p, s) {
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i.active = !1, i.className = null, i.disabled = !1, i.id = null, i.indicator = !1, i.title = null, i.type = null, i.visible = !0, i;
        }

        i(t, e), o = t, t.prototype.clone = function () {
          return new o({
            active: this.active,
            className: this.className,
            disabled: this.disabled,
            id: this.id,
            indicator: this.indicator,
            title: this.title,
            visible: this.visible
          });
        };
        var o;
        return r([s.property()], t.prototype, "active", void 0), r([s.property()], t.prototype, "className", void 0), r([s.property()], t.prototype, "disabled", void 0), r([s.property()], t.prototype, "id", void 0), r([s.property()], t.prototype, "indicator", void 0), r([s.property()], t.prototype, "title", void 0), r([s.property()], t.prototype, "type", void 0), r([s.property()], t.prototype, "visible", void 0), t = o = r([s.subclass("esri.support.actions.ActionBase")], t);
      }(s.declared(p.IdentifiableMixin(o)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/support/actions/ActionButton.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/support/actions/ActionButton.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportActionsActionButtonJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ActionBase */
    "./node_modules/arcgis-js-api/support/actions/ActionBase.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, r, s, o) {
      return function (t) {
        function e(e) {
          var i = t.call(this, e) || this;
          return i.image = null, i.type = "button", i;
        }

        i(e, t), o = e, e.prototype.clone = function () {
          return new o({
            active: this.active,
            className: this.className,
            disabled: this.disabled,
            id: this.id,
            indicator: this.indicator,
            title: this.title,
            visible: this.visible,
            image: this.image
          });
        };
        var o;
        return r([s.property()], e.prototype, "image", void 0), e = o = r([s.subclass("esri.support.Action.ActionButton")], e);
      }(s.declared(o));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/support/actions/ActionSlider.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/support/actions/ActionSlider.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportActionsActionSliderJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ActionBase */
    "./node_modules/arcgis-js-api/support/actions/ActionBase.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, o, s) {
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i.displayValueEnabled = !1, i.max = 1, i.min = 0, i.step = .1, i.type = "slider", i.value = null, i;
        }

        i(t, e), s = t, t.prototype.clone = function () {
          return new s({
            active: this.active,
            className: this.className,
            disabled: this.disabled,
            id: this.id,
            indicator: this.indicator,
            title: this.title,
            visible: this.visible,
            displayValueEnabled: this.displayValueEnabled,
            max: this.max,
            min: this.min,
            step: this.step,
            value: this.value
          });
        };
        var s;
        return r([o.property()], t.prototype, "displayValueEnabled", void 0), r([o.property()], t.prototype, "max", void 0), r([o.property()], t.prototype, "min", void 0), r([o.property()], t.prototype, "step", void 0), r([o.property()], t.prototype, "value", void 0), t = s = r([o.subclass("esri.support.Action.ActionSlider")], t);
      }(o.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/support/actions/ActionToggle.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/support/actions/ActionToggle.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportActionsActionToggleJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ActionBase */
    "./node_modules/arcgis-js-api/support/actions/ActionBase.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, o, s) {
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i.image = null, i.type = "toggle", i.value = !1, i;
        }

        i(t, e), s = t, t.prototype.clone = function () {
          return new s({
            active: this.active,
            className: this.className,
            disabled: this.disabled,
            id: this.id,
            indicator: this.indicator,
            title: this.title,
            visible: this.visible,
            image: this.image,
            value: this.value
          });
        };
        var s;
        return r([o.property()], t.prototype, "image", void 0), r([o.property()], t.prototype, "value", void 0), t = s = r([o.subclass("esri.support.Action.ActionToggle")], t);
      }(o.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportArcadeOnDemandJs(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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i, a, c, s) {
      function o() {
        return n(this, void 0, void 0, function () {
          var r = this;
          return t(this, function (i) {
            return u || (u = function () {
              return n(r, void 0, void 0, function () {
                var r;
                return t(this, function (t) {
                  switch (t.label) {
                    case 0:
                      return [4, new Promise(function (r, t) {
                        Promise.all(
                        /*! AMD require */
                        [__webpack_require__.e(15), __webpack_require__.e(29)]).then(function () {
                          var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                          /*! ./arcadeUtils */
                          "./node_modules/arcgis-js-api/support/arcadeUtils.js")];
                          r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                        }.bind(this))["catch"](t.bind(this));
                      })];

                    case 1:
                      return r = t.sent(), [4, r.arcade.load()];

                    case 2:
                      return t.sent(), [2, {
                        arcade: r.arcade,
                        arcadeUtils: r,
                        Dictionary: r.Dictionary,
                        Feature: r.arcadeFeature
                      }];
                  }
                });
              });
            }()), [2, u];
          });
        });
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var u;
      r.loadArcade = o, r.createLabelExpression = function (e, r, t) {
        return l.create(e, r, t, null, ["$feature"]);
      }, r.createVVExpression = function (e, r, t) {
        return l.create(e, r, t, null, ["$feature", "$view"]);
      }, r.createRendererExpression = function (e, r, t) {
        return l.create(e, r, t, null, ["$feature", "$view"]);
      }, r.createDictionaryExpression = function (e, r, t, n) {
        return l.create(e, r, t, n, ["$feature", "$view"]);
      };

      var l = function () {
        function e(e, r, t, n, i, a, c) {
          this.evaluate = n, this._syntaxTree = t, this._arcade = e, this._arcadeDictionary = r, this._arcadeFeature = i, this._fields = a, this._spatialReference = c, this._referencesGeometry = e.scriptTouchesGeometry(this._syntaxTree), this._referencesScale = this._arcade.referencesMember(this._syntaxTree, "$view.scale");
        }

        return e.create = function (r, u, l, f, p, d) {
          return n(this, void 0, void 0, function () {
            var n, h, y, m, _, v, w, F, S, b, $, x, g, R, D;

            return t(this, function (t) {
              switch (t.label) {
                case 0:
                  return [4, o()];

                case 1:
                  return n = t.sent(), h = n.arcade, y = n.Feature, m = n.Dictionary, _ = a.SpatialReference.fromJSON(u), v = h.parseScript(r, d), w = p.reduce(function (e, r) {
                    var t;
                    return i({}, e, (t = {}, t[r] = null, t));
                  }, {}), F = null, c.isSome(f) && (F = new m(f), F.immutable = !0, w.$config = null), S = h.scriptUsesGeometryEngine(v) && h.enableGeometrySupport(), b = h.scriptUsesFeatureSet(v) && h.enableFeatureSetSupport(), $ = h.scriptIsAsync(v) && h.enableAsyncSupport(), x = {
                    vars: w,
                    spatialReference: _,
                    useAsync: !!$
                  }, g = new m(), g.immutable = !1, g.setField("scale", 0), R = h.compileScript(v, x), D = function D(e) {
                    return "$view" in e && e.$view && (g.setField("scale", e.$view.scale), e.$view = g), F && (e.$config = F), R({
                      vars: e,
                      spatialReference: _
                    });
                  }, [4, s.all([S, b, $])];

                case 2:
                  return t.sent(), [2, new e(h, m, v, D, new y(), l, _)];
              }
            });
          });
        }, e.prototype.repurposeFeature = function (e) {
          return e.geometry && !e.geometry.spatialReference && (e.geometry.spatialReference = this._spatialReference), this._arcadeFeature.repurposeFromGraphicLikeObject(e.geometry, e.attributes, {
            fields: this._fields
          }), this._arcadeFeature;
        }, e.prototype.createDictionary = function () {
          return new this._arcadeDictionary();
        }, e.prototype.referencesMember = function (e) {
          return this._arcade.referencesMember(this._syntaxTree, e);
        }, e.prototype.referencesFunction = function (e) {
          return this._arcade.referencesFunction(this._syntaxTree, e);
        }, e.prototype.referencesGeometry = function () {
          return this._referencesGeometry;
        }, e.prototype.referencesScale = function () {
          return this._referencesScale;
        }, e.prototype.extractFieldLiterals = function (e) {
          return this._arcade.extractFieldLiterals(this._syntaxTree, e);
        }, e;
      }();

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportBasemapDefinitionsJs(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__(
    /*! dojo/i18n!../nls/basemaps */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/basemaps.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.esriBasemapDefinitions = {
        streets: {
          id: "streets",
          title: a.streets,
          thumbnailUrl: e.toUrl("../images/basemap/streets.jpg"),
          baseMapLayers: [{
            id: "streets-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Street Map",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        satellite: {
          id: "satellite",
          title: a.satellite,
          thumbnailUrl: e.toUrl("../images/basemap/satellite.jpg"),
          baseMapLayers: [{
            id: "satellite-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Imagery",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        hybrid: {
          id: "hybrid",
          title: a.hybrid,
          thumbnailUrl: e.toUrl("../images/basemap/hybrid.jpg"),
          baseMapLayers: [{
            id: "hybrid-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Imagery",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "hybrid-reference-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Boundaries and Places",
            isReference: !0,
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        terrain: {
          id: "terrain",
          title: a.terrain,
          thumbnailUrl: e.toUrl("../images/basemap/terrain.jpg"),
          baseMapLayers: [{
            id: "terrain-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/World_Terrain_Base/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Terrain Base",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "terrain-reference-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Reference_Overlay/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Reference Overlay",
            isReference: !0,
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        topo: {
          id: "topo",
          title: a.topo,
          thumbnailUrl: e.toUrl("../images/basemap/topo.jpg"),
          baseMapLayers: [{
            id: "topo-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Topo Map",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        gray: {
          id: "gray",
          title: a.gray,
          thumbnailUrl: e.toUrl("../images/basemap/gray.jpg"),
          baseMapLayers: [{
            id: "gray-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Light Gray Base",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "gray-reference-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Reference/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Light Gray Reference",
            isReference: !0,
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        "dark-gray": {
          id: "dark-gray",
          title: a["dark-gray"],
          thumbnailUrl: e.toUrl("../images/basemap/dark-gray.jpg"),
          baseMapLayers: [{
            id: "dark-gray-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Base/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Dark Gray Base",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "dark-gray-reference-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Dark_Gray_Reference/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Dark Gray Reference",
            isReference: !0,
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        oceans: {
          id: "oceans",
          title: a.oceans,
          thumbnailUrl: e.toUrl("../images/basemap/oceans.jpg"),
          baseMapLayers: [{
            id: "oceans-base-layer",
            url: "//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Base/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Ocean Base",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "oceans-reference-layer",
            url: "//services.arcgisonline.com/arcgis/rest/services/Ocean/World_Ocean_Reference/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Ocean Reference",
            isReference: !0,
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        "national-geographic": {
          id: "national-geographic",
          title: a["national-geographic"],
          thumbnailUrl: e.toUrl("../images/basemap/national-geographic.jpg"),
          baseMapLayers: [{
            id: "national-geographic-base-layer",
            url: "//services.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",
            title: "NatGeo World Map",
            showLegend: !1,
            layerType: "ArcGISTiledMapServiceLayer",
            visibility: !0,
            opacity: 1
          }]
        },
        osm: {
          id: "osm",
          title: a.osm,
          thumbnailUrl: e.toUrl("../images/basemap/osm.jpg"),
          baseMapLayers: [{
            id: "osm-base-layer",
            layerType: "OpenStreetMap",
            title: "Open Street Map",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        "dark-gray-vector": {
          id: "dark-gray-vector",
          title: a["dark-gray"],
          thumbnailUrl: e.toUrl("../images/basemap/dark-gray-vector.jpg"),
          baseMapLayers: [{
            id: "dark-gray-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/c11ce4f7801740b2905eb03ddc963ac8/resources/styles/root.json",
            layerType: "VectorTileLayer",
            title: "World Dark Gray",
            visibility: !0,
            opacity: 1
          }]
        },
        "gray-vector": {
          id: "gray-vector",
          title: a.gray,
          thumbnailUrl: e.toUrl("../images/basemap/gray-vector.jpg"),
          baseMapLayers: [{
            id: "gray-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/8a2cba3b0ebf4140b7c0dc5ee149549a/resources/styles/root.json",
            layerType: "VectorTileLayer",
            title: "World Light Gray",
            visibility: !0,
            opacity: 1
          }]
        },
        "streets-vector": {
          id: "streets-vector",
          title: a.streets,
          thumbnailUrl: e.toUrl("../images/basemap/streets-vector.jpg"),
          baseMapLayers: [{
            id: "streets-vector-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/de26a3cf4cc9451298ea173c4b324736/resources/styles/root.json",
            layerType: "VectorTileLayer",
            title: "World Streets",
            visibility: !0,
            opacity: 1
          }]
        },
        "topo-vector": {
          id: "topo-vector",
          title: a.topo,
          thumbnailUrl: e.toUrl("../images/basemap/topo-vector.jpg"),
          baseMapLayers: [{
            id: "world-hillshade-layer",
            url: "//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Hillshade",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "topo-vector-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json",
            layerType: "VectorTileLayer",
            title: "World Topo",
            visibility: !0,
            opacity: 1
          }]
        },
        "streets-night-vector": {
          id: "streets-night-vector",
          title: a["streets-night-vector"],
          thumbnailUrl: e.toUrl("../images/basemap/streets-night.jpg"),
          baseMapLayers: [{
            id: "streets-night-vector-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/86f556a2d1fd468181855a35e344567f/resources/styles/root.json",
            layerType: "VectorTileLayer",
            title: "World Streets Night",
            visibility: !0,
            opacity: 1
          }]
        },
        "streets-relief-vector": {
          id: "streets-relief-vector",
          title: a["streets-relief-vector"],
          thumbnailUrl: e.toUrl("../images/basemap/streets-relief.jpg"),
          baseMapLayers: [{
            id: "world-hillshade-layer",
            url: "//services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
            layerType: "ArcGISTiledMapServiceLayer",
            title: "World Hillshade",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }, {
            id: "streets-relief-vector-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/b266e6d17fc345b498345613930fbd76/resources/styles/root.json",
            title: "World Streets Relief",
            layerType: "VectorTileLayer",
            showLegend: !1,
            visibility: !0,
            opacity: 1
          }]
        },
        "streets-navigation-vector": {
          id: "streets-navigation-vector",
          title: a["streets-navigation-vector"],
          thumbnailUrl: e.toUrl("../images/basemap/streets-navigation.jpg"),
          baseMapLayers: [{
            id: "streets-navigation-vector-base-layer",
            styleUrl: "//www.arcgis.com/sharing/rest/content/items/63c47b7177f946b49902c24129b87252/resources/styles/root.json",
            layerType: "VectorTileLayer",
            title: "World Streets Navigation",
            visibility: !0,
            opacity: 1
          }]
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportBasemapUtilsJs(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__(
    /*! ../Basemap */
    "./node_modules/arcgis-js-api/Basemap.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./basemapDefinitions */
    "./node_modules/arcgis-js-api/support/basemapDefinitions.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, a, t, i, l, s) {
      function u() {
        return {};
      }

      function c(e, r) {
        var a;

        if ("string" == typeof e) {
          if (!(e in s.esriBasemapDefinitions)) {
            var t = Object.keys(s.esriBasemapDefinitions).map(function (e) {
              return '"' + e + '"';
            }).join(", ");
            return T.warn("Unable to find basemap definition for: " + e + ". Try one of these: " + t), null;
          }

          r && (a = r[e]), a || (a = n.fromId(e), r && (r[e] = a));
        } else a = l["default"](n, e);

        return a;
      }

      function o(e, r) {
        void 0 === r && (r = null);
        var a = c(e);
        if (!a) return null;
        var t = new n({
          id: a.id,
          title: a.title,
          baseLayers: a.baseLayers.slice(),
          referenceLayers: a.referenceLayers.slice()
        });
        return r && (t.baseLayers = p(t.baseLayers, r.baseLayers), t.referenceLayers = p(t.referenceLayers, r.referenceLayers)), t.load(), t.portalItem = a.portalItem, t;
      }

      function f(e) {
        var r = null,
            n = m(e);

        for (var a in s.esriBasemapDefinitions) {
          var t = s.esriBasemapDefinitions[a],
              i = v(t),
              l = h(n, i, {
            mustMatchReferences: !1
          });

          if ("equal" === l) {
            r = a;
            break;
          }

          "base-layers-equal" === l && (r = a);
        }

        return r;
      }

      function y(e, r) {
        return e === r || "equal" === h(m(e), m(r), {
          mustMatchReferences: !0
        });
      }

      function p(e, r) {
        var n = new a();
        return e.forEach(function (e) {
          var a = r.find(function (r) {
            return q(L(e), L(r));
          }),
              t = a || e;
          n.some(function (e) {
            return e === t;
          }) ? n.push(e) : n.push(t);
        }), n;
      }

      function m(e) {
        return e ? !e.loaded && e.resourceInfo ? v(e.resourceInfo.data) : {
          baseLayers: b(e.baseLayers),
          referenceLayers: b(e.referenceLayers)
        } : null;
      }

      function b(e) {
        return (a.isCollection(e) ? e.toArray() : e).map(L);
      }

      function L(e) {
        return {
          type: e.type,
          url: x("urlTemplate" in e && e.urlTemplate || e.url || "styleUrl" in e && e.styleUrl),
          minScale: "minScale" in e && null != e.minScale ? e.minScale : 0,
          maxScale: "maxScale" in e && null != e.maxScale ? e.maxScale : 0,
          opacity: null != e.opacity ? e.opacity : 1,
          visible: null == e.visible || !!e.visible
        };
      }

      function v(e) {
        return e ? {
          baseLayers: S(e.baseMapLayers.filter(function (e) {
            return !e.isReference;
          })),
          referenceLayers: S(e.baseMapLayers.filter(function (e) {
            return e.isReference;
          }))
        } : null;
      }

      function S(e) {
        return e.map(function (e) {
          return d(e);
        });
      }

      function d(e) {
        var r;

        switch (e.layerType) {
          case "VectorTileLayer":
            r = "vector-tile";
            break;

          case "ArcGISTiledMapServiceLayer":
            r = "tile";
            break;

          default:
            r = "unknown";
        }

        return {
          type: r,
          url: x(e.templateUrl || e.urlTemplate || e.styleUrl || e.url),
          minScale: null != e.minScale ? e.minScale : 0,
          maxScale: null != e.maxScale ? e.maxScale : 0,
          opacity: null != e.opacity ? e.opacity : 1,
          visible: null == e.visibility || !!e.visibility
        };
      }

      function h(e, r, n) {
        return null != e != (null != r) ? "not-equal" : e ? g(e.baseLayers, r.baseLayers) ? g(e.referenceLayers, r.referenceLayers) ? "equal" : n.mustMatchReferences ? "not-equal" : "base-layers-equal" : "not-equal" : "equal";
      }

      function g(e, r) {
        if (e.length !== r.length) return !1;

        for (var n = 0; n < e.length; n++) if (!q(e[n], r[n])) return !1;

        return !0;
      }

      function q(e, r) {
        return e.type === r.type && e.url === r.url && e.minScale === r.minScale && e.maxScale === r.maxScale && e.visible === r.visible && e.opacity === r.opacity;
      }

      function x(e) {
        return e ? i.normalize(e).replace(/^\s*https?:/i, "").toLowerCase() : "";
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var T = t.getLogger("esri.support.basemapUtils");
      r.createCache = u, r.ensureType = c, r.clonePreservingTiledLayers = o, r.getWellKnownBasemapId = f, r.contentEquals = y;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportFeatureFlagsJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r) {
      function t(e, n) {
        return !!r("enable-feature:" + e + "/" + n);
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.hasEnableFeature = t, n.enableWebStyleForceWOSR = function () {
        return t("jschmid", "force-wosr");
      }, n.enableEditing3D = function () {
        return t("editing", "3d");
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportGroundUtilsJs(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__(
    /*! ../Ground */
    "./node_modules/arcgis-js-api/Ground.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, a, i) {
      function n(e) {
        var a;
        if ("string" == typeof e) {
          if (e in r.groundElevationLayers) {
            var n = r.groundElevationLayers[e];
            a = new o({
              resourceInfo: {
                data: {
                  layers: [n]
                }
              }
            });
          } else t.warn("Unable to find ground definition for: " + e + '. Try "world-elevation"');
        } else a = i["default"](o, e);
        return a;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var t = a.getLogger("esri.support.groundUtils");
      r.groundElevationLayers = {
        "world-elevation": {
          id: "worldElevation",
          url: "//elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",
          layerType: "ArcGISTiledElevationServiceLayer"
        },
        "world-topobathymetry": {
          id: "worldTopoBathymetry",
          url: "//elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/TopoBathy3D/ImageServer",
          layerType: "ArcGISTiledElevationServiceLayer"
        }
      }, r.ensureType = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportPopupUtilsJs(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__(
    /*! dojo/i18n!../widgets/Popup/nls/Popup */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js"), __webpack_require__(
    /*! ../PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__(
    /*! ../popup/content */
    "./node_modules/arcgis-js-api/popup/content.js"), __webpack_require__(
    /*! ../popup/FieldInfo */
    "./node_modules/arcgis-js-api/popup/FieldInfo.js"), __webpack_require__(
    /*! ../popup/support/FieldInfoFormat */
    "./node_modules/arcgis-js-api/popup/support/FieldInfoFormat.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n, r, a, l, o) {
      function s(e, t) {
        var n = e.displayField,
            a = e.fields,
            l = e.title,
            o = e.visibleFieldNames,
            s = e.editFieldsInfo;
        if (!a) return null;
        var u = i({}, b, t),
            f = d(a, u);
        if (!f) return null;
        var m = y({
          titleBase: l,
          fields: f.fields,
          displayField: n
        }),
            c = F(f.limitExceeded),
            v = p({
          fields: f.fields,
          visibleFieldNames: o,
          editFieldsInfo: s
        });
        return new r({
          title: m,
          content: c,
          fieldInfos: v
        });
      }

      function d(e, t) {
        var i = e;
        if (t.ignoreFieldTypes && (e = e.filter(function (e) {
          return -1 === t.ignoreFieldTypes.indexOf(e.type);
        })), 0 === e.length) return null;
        var n = t.maximumFields && e.length > t.maximumFields;
        return n && (e = e.slice(0, t.maximumFields)), e === i && (e = e.slice()), e.sort(u), {
          fields: e,
          limitExceeded: n
        };
      }

      function u(e, t) {
        return "oid" === e.type ? -1 : "oid" === t.type ? 1 : x(e) ? -1 : x(t) ? 1 : (e.alias || e.name).toLocaleLowerCase().localeCompare((t.alias || t.name).toLocaleLowerCase());
      }

      function f(e, t) {
        if (!e || !t) return !1;
        var i = t.creationDateField,
            n = t.creatorField,
            r = t.editDateField,
            a = t.editorField;
        return -1 !== [i && i.toLowerCase(), n && n.toLowerCase(), r && r.toLowerCase(), a && a.toLowerCase()].indexOf(e.toLowerCase());
      }

      function m(e, t) {
        return e.editable && -1 === C.indexOf(e.type) && !f(e.name, t);
      }

      function p(e) {
        var t = e.fields,
            i = e.visibleFieldNames,
            n = e.editFieldsInfo;
        return t.map(function (e) {
          return new l({
            fieldName: e.name,
            isEditable: m(e, n),
            label: e.alias,
            format: c(e),
            visible: !i || i.has(e.name)
          });
        });
      }

      function c(e) {
        switch (e.type) {
          case "small-integer":
          case "integer":
          case "single":
            return new o({
              digitSeparator: !0,
              places: 0
            });

          case "double":
            return new o({
              digitSeparator: !0,
              places: 2
            });

          case "date":
            return new o({
              dateFormat: "long-month-day-year"
            });

          default:
            return null;
        }
      }

      function F(e) {
        var t = [new a.FieldsContent(), new a.AttachmentsContent()];
        return e && t.push(new a.TextContent({
          text: "<small>" + n.tooManyFields + "</small>"
        })), t;
      }

      function v(e, t) {
        for (var i = 0, n = e; i < n.length; i++) {
          var r = n[i];
          if (r && r.valueType && r.valueType === t) return r.name;
        }

        return null;
      }

      function g(e) {
        for (var t = 0, i = e; t < i.length; t++) {
          var n = i[t];

          if (n && n.name) {
            var r = n.name.toLowerCase();
            if (r.indexOf("name") > -1 || r.indexOf("title") > -1) return n.name;
          }
        }

        return null;
      }

      function w(e) {
        return e && e.length ? v(e, "name-or-title") || v(e, "unique-identifier") || v(e, "type-or-category") || g(e) : null;
      }

      function y(e) {
        var t = e.titleBase,
            i = e.fields,
            n = e.displayField,
            r = n || w(i);
        return r ? t + ": {" + r.trim() + "}" : t;
      }

      function x(e) {
        return "name" === (e.name && e.name.toLowerCase()) || "name" === (e.alias && e.alias.toLowerCase()) || void 0;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var C = ["oid", "global-id", "guid"];
      t.createPopupTemplate = s;
      var b = {
        ignoreFieldTypes: ["geometry", "blob", "raster", "guid", "xml"],
        maximumFields: 75
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportRevisionJs(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, a) {
      Object.defineProperty(a, "__esModule", {
        value: !0
      }), a.buildDate = "20191220", a.commitHash = "2e21d5ca73053a5f34cf5503960a84aed8b3aa46";
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsJs(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/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./symbols/CIMSymbol */
    "./node_modules/arcgis-js-api/symbols/CIMSymbol.js"), __webpack_require__(
    /*! ./symbols/ExtrudeSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ExtrudeSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/FillSymbol */
    "./node_modules/arcgis-js-api/symbols/FillSymbol.js"), __webpack_require__(
    /*! ./symbols/FillSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/Font */
    "./node_modules/arcgis-js-api/symbols/Font.js"), __webpack_require__(
    /*! ./symbols/IconSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/LabelSymbol3D */
    "./node_modules/arcgis-js-api/symbols/LabelSymbol3D.js"), __webpack_require__(
    /*! ./symbols/LineSymbol3D */
    "./node_modules/arcgis-js-api/symbols/LineSymbol3D.js"), __webpack_require__(
    /*! ./symbols/LineSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/MarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/MarkerSymbol.js"), __webpack_require__(
    /*! ./symbols/MeshSymbol3D */
    "./node_modules/arcgis-js-api/symbols/MeshSymbol3D.js"), __webpack_require__(
    /*! ./symbols/ObjectSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/PathSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/PathSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/PictureFillSymbol */
    "./node_modules/arcgis-js-api/symbols/PictureFillSymbol.js"), __webpack_require__(
    /*! ./symbols/PictureMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js"), __webpack_require__(
    /*! ./symbols/PointSymbol3D */
    "./node_modules/arcgis-js-api/symbols/PointSymbol3D.js"), __webpack_require__(
    /*! ./symbols/PolygonSymbol3D */
    "./node_modules/arcgis-js-api/symbols/PolygonSymbol3D.js"), __webpack_require__(
    /*! ./symbols/SimpleFillSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js"), __webpack_require__(
    /*! ./symbols/SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js"), __webpack_require__(
    /*! ./symbols/SimpleMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleMarkerSymbol.js"), __webpack_require__(
    /*! ./symbols/Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js"), __webpack_require__(
    /*! ./symbols/Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js"), __webpack_require__(
    /*! ./symbols/Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/TextSymbol */
    "./node_modules/arcgis-js-api/symbols/TextSymbol.js"), __webpack_require__(
    /*! ./symbols/TextSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/WaterSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/WaterSymbol3DLayer.js"), __webpack_require__(
    /*! ./symbols/WebStyleSymbol */
    "./node_modules/arcgis-js-api/symbols/WebStyleSymbol.js"), __webpack_require__(
    /*! ./symbols/callouts/LineCallout3D */
    "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3D.js"), __webpack_require__(
    /*! ./symbols/callouts/LineCallout3DBorder */
    "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3DBorder.js"), __webpack_require__(
    /*! ./symbols/support/Symbol3DVerticalOffset */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DVerticalOffset.js"), __webpack_require__(
    /*! ./symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (l, e, y, o, m, b, s, S, i, t, r, a, n, p, D, c, u, L, d, M, f, P, k, T, h, x, B, F, g, O, C, W, w, I) {
      function j(l) {
        return l instanceof e.BaseSymbol;
      }

      function V(l) {
        if (!l) return !1;

        switch (l.type) {
          case "picture-fill":
          case "picture-marker":
          case "simple-fill":
          case "simple-line":
          case "simple-marker":
          case "text":
          case "cim":
            return !0;

          default:
            return !1;
        }
      }

      function E(l) {
        if (!l) return !1;

        switch (l.type) {
          case "label-3d":
          case "line-3d":
          case "mesh-3d":
          case "point-3d":
          case "polygon-3d":
            return !0;

          default:
            return !1;
        }
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.CIMSymbol = o, e.ExtrudeSymbol3DLayer = m, e.BaseFillSymbol = b, e.FillSymbol3DLayer = s, e.Font = S, e.IconSymbol3DLayer = i, e.LabelSymbol3D = t, e.LineSymbol3D = r, e.LineSymbol3DLayer = a, e.BaseMarkerSymbol = n, e.MeshSymbol3D = p, e.ObjectSymbol3DLayer = D, e.PathSymbol3DLayer = c, e.PictureFillSymbol = u, e.PictureMarkerSymbol = L, e.PointSymbol3D = d, e.PolygonSymbol3D = M, e.SimpleFillSymbol = f, e.SimpleLineSymbol = P, e.SimpleMarkerSymbol = k, e.BaseSymbol = T, e.BaseSymbol3D = h, e.BaseSymbol3DLayer = x, e.TextSymbol = B, e.TextSymbol3DLayer = F, e.WaterSymbol3DLayer = g, e.WebStyleSymbol = O, e.LineCallout3D = C, e.LineCallout3DBorder = W, e.Symbol3DVerticalOffset = w.Symbol3DVerticalOffset, e.fromJSON = I.fromJSON, e.isSymbol = j, e.isSymbol2D = V, e.isSymbol3D = E, e.symbolTypes = {
        base: e.BaseSymbol,
        key: "type",
        typeMap: {
          "simple-fill": e.SimpleFillSymbol,
          "picture-fill": e.PictureFillSymbol,
          "picture-marker": e.PictureMarkerSymbol,
          "simple-line": e.SimpleLineSymbol,
          "simple-marker": e.SimpleMarkerSymbol,
          text: e.TextSymbol,
          "label-3d": e.LabelSymbol3D,
          "line-3d": e.LineSymbol3D,
          "mesh-3d": e.MeshSymbol3D,
          "point-3d": e.PointSymbol3D,
          "polygon-3d": e.PolygonSymbol3D,
          "web-style": e.WebStyleSymbol,
          cim: e.CIMSymbol
        }
      }, e.symbolTypesRenderer = {
        base: e.BaseSymbol,
        key: "type",
        typeMap: {
          "simple-fill": e.SimpleFillSymbol,
          "picture-fill": e.PictureFillSymbol,
          "picture-marker": e.PictureMarkerSymbol,
          "simple-line": e.SimpleLineSymbol,
          "simple-marker": e.SimpleMarkerSymbol,
          text: e.TextSymbol,
          "line-3d": e.LineSymbol3D,
          "mesh-3d": e.MeshSymbol3D,
          "point-3d": e.PointSymbol3D,
          "polygon-3d": e.PolygonSymbol3D,
          "web-style": e.WebStyleSymbol,
          cim: e.CIMSymbol
        }
      }, e.symbolTypesLabel = {
        base: e.BaseSymbol,
        key: "type",
        typeMap: {
          text: e.TextSymbol,
          "label-3d": e.LabelSymbol3D
        }
      }, e.symbolTypes3D = {
        base: e.BaseSymbol,
        key: "type",
        typeMap: {
          "label-3d": e.LabelSymbol3D,
          "line-3d": e.LineSymbol3D,
          "mesh-3d": e.MeshSymbol3D,
          "point-3d": e.PointSymbol3D,
          "polygon-3d": e.PolygonSymbol3D,
          "web-style": e.WebStyleSymbol
        }
      }, e.symbolTypesRenderer3D = {
        base: e.BaseSymbol,
        key: "type",
        typeMap: {
          "line-3d": e.LineSymbol3D,
          "mesh-3d": e.MeshSymbol3D,
          "point-3d": e.PointSymbol3D,
          "polygon-3d": e.PolygonSymbol3D,
          "web-style": e.WebStyleSymbol
        }
      }, e.symbolTypesLabel3D = {
        base: e.BaseSymbol,
        key: "type",
        typeMap: {
          "label-3d": e.LabelSymbol3D
        }
      }, e.ensureType = y.ensureOneOfType(e.symbolTypes);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/CIMSymbol.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/CIMSymbol.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCIMSymbolJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js"), __webpack_require__(
    /*! ./support/cimSymbolUtils */
    "./node_modules/arcgis-js-api/symbols/support/cimSymbolUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, l, a, p, s, i, n, y, c, u) {
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.data = null, r.portal = null, r.styleUrl = "", r.type = "cim", r;
        }

        r(e, t), c = e, e.prototype.readData = function (t, e) {
          return e.symbol;
        }, e.prototype.writeData = function (t, e) {
          t && (e.symbol = t);
        }, e.prototype.readStyleUrl = function (t, e) {
          return e.symbolUrl ? e.symbolUrl : t;
        }, e.prototype.writeStyleUrl = function (t, e) {
          t && (e.symbolUrl = t);
        }, e.prototype.collectRequiredFields = function (t, e) {
          return a(this, void 0, void 0, function () {
            var r, o, a, p, i, y, c;
            return l(this, function (l) {
              switch (l.label) {
                case 0:
                  return [4, u.expandSymbol(this)];

                case 1:
                  l.sent(), r = "object" == typeof this.data && this.data.length, o = r ? this.data : [this.data], a = 0, p = o, l.label = 2;

                case 2:
                  return a < p.length ? (i = p[a], (y = i.primitiveOverrides) ? (c = y.map(function (r) {
                    var o = r.valueExpressionInfo;
                    return n.collectArcadeFieldNames(t, e, o.expression);
                  }), [4, s.all(c)]) : [3, 4]) : [3, 5];

                case 3:
                  l.sent(), l.label = 4;

                case 4:
                  return a++, [3, 2];

                case 5:
                  return [2];
              }
            });
          });
        }, e.prototype.clone = function () {
          return new c({
            color: this.color.clone(),
            data: p.clone(this.data),
            portal: this.portal,
            styleName: this.styleName,
            styleUrl: this.styleUrl
          });
        };
        var c;
        return o([i.property({
          json: {
            write: !1
          }
        })], e.prototype, "color", void 0), o([i.property({
          json: {
            write: !0
          }
        })], e.prototype, "data", void 0), o([i.reader("data", ["data", "symbol"])], e.prototype, "readData", null), o([i.writer("data")], e.prototype, "writeData", null), o([i.property({
          type: y,
          json: {
            write: !1
          }
        })], e.prototype, "portal", void 0), o([i.property({
          json: {
            write: !0
          }
        })], e.prototype, "styleName", void 0), o([i.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "styleUrl", void 0), o([i.reader("styleUrl", ["styleUrl", "symbolUrl"])], e.prototype, "readStyleUrl", null), o([i.writer("styleUrl")], e.prototype, "writeStyleUrl", null), o([i.enumeration.serializable()({
          CIMSymbolReference: "cim"
        })], e.prototype, "type", void 0), e = c = o([i.subclass("esri.symbols.CIMSymbol")], e);
      }(i.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/ExtrudeSymbol3DLayer.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/ExtrudeSymbol3DLayer.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsExtrudeSymbol3DLayerJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./edges/utils */
    "./node_modules/arcgis-js-api/symbols/edges/utils.js"), __webpack_require__(
    /*! ./support/Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, s, a, i, l, p) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "extrude", r.size = void 0, r.material = null, r.castShadows = !0, r.edges = null, r;
        }

        r(t, e), i = t, t.prototype.clone = function () {
          return new i({
            edges: this.edges && this.edges.clone(),
            enabled: this.enabled,
            material: s.isSome(this.material) ? this.material.clone() : null,
            castShadows: this.castShadows,
            size: this.size
          });
        };
        var i;
        return o([a.enumeration.serializable()({
          Extrude: "extrude"
        })], t.prototype, "type", void 0), o([a.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "size", void 0), o([a.property({
          type: p["default"],
          json: {
            write: !0
          }
        })], t.prototype, "material", void 0), o([a.property({
          type: Boolean,
          nonNullable: !0,
          json: {
            write: !0,
            "default": !0
          }
        })], t.prototype, "castShadows", void 0), o([a.property(l.symbol3dEdgesProperty)], t.prototype, "edges", void 0), t = i = o([a.subclass("esri.symbols.ExtrudeSymbol3DLayer")], t);
      }(a.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/FillSymbol.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/FillSymbol.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsFillSymbolJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js"), __webpack_require__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, l, p, s, i) {
      var n = new l["default"]({
        esriSFS: "simple-fill",
        esriPFS: "picture-fill"
      });
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.outline = null, t.type = null, t;
        }

        return t(r, e), o([p.property({
          type: s,
          json: {
            "default": null,
            write: !0
          }
        })], r.prototype, "outline", void 0), o([p.property({
          type: n.apiValues,
          readOnly: !0,
          json: {
            type: n.jsonValues
          }
        })], r.prototype, "type", void 0), r = o([p.subclass("esri.symbols.FillSymbol")], r);
      }(p.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsFillSymbol3DLayerJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./edges/utils */
    "./node_modules/arcgis-js-api/symbols/edges/utils.js"), __webpack_require__(
    /*! ./support/colors */
    "./node_modules/arcgis-js-api/symbols/support/colors.js"), __webpack_require__(
    /*! ./support/Symbol3DFillMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DFillMaterial.js"), __webpack_require__(
    /*! ./support/Symbol3DOutline */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DOutline.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, t, l, r, i, n, s, a, p, u) {
      return function (e) {
        function o(o) {
          var t = e.call(this, o) || this;
          return t.type = "fill", t.material = null, t.castShadows = !0, t.outline = null, t.edges = null, t;
        }

        t(o, e), n = o, o.prototype.clone = function () {
          return new n({
            edges: r.isSome(this.edges) ? this.edges.clone() : null,
            enabled: this.enabled,
            material: r.isSome(this.material) ? this.material.clone() : null,
            castShadows: this.castShadows,
            outline: r.isSome(this.outline) ? this.outline.clone() : null
          });
        }, o.fromSimpleFillSymbol = function (e) {
          return new n({
            material: {
              color: (e.color || a.transparentWhite).clone()
            },
            outline: e.outline ? new u["default"]({
              size: e.outline.width || 0,
              color: (e.outline.color || a.white).clone()
            }) : null
          });
        };
        var n;
        return l([i.enumeration.serializable()({
          Fill: "fill"
        })], o.prototype, "type", void 0), l([i.property({
          type: p["default"],
          json: {
            write: !0
          }
        })], o.prototype, "material", void 0), l([i.property({
          type: Boolean,
          nonNullable: !0,
          json: {
            write: !0,
            "default": !0
          }
        })], o.prototype, "castShadows", void 0), l([i.property({
          type: u["default"],
          json: {
            write: !0
          }
        })], o.prototype, "outline", void 0), l([i.property(s.symbol3dEdgesProperty)], o.prototype, "edges", void 0), o = n = l([i.subclass("esri.symbols.FillSymbol3DLayer")], o);
      }(i.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/Font.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/Font.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsFontJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, n, p) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.decoration = "none", o.family = "sans-serif", o.size = 9, o.style = "normal", o.weight = "normal", o;
        }

        o(t, e), i = t, t.prototype.castSize = function (e) {
          return n.toPt(e);
        }, t.prototype.clone = function () {
          return new i({
            decoration: this.decoration,
            family: this.family,
            size: this.size,
            style: this.style,
            weight: this.weight
          });
        };
        var i;
        return r([p.property({
          type: ["underline", "line-through", "none"],
          json: {
            "default": "none",
            write: !0
          }
        })], t.prototype, "decoration", void 0), r([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "family", void 0), r([p.property({
          type: Number,
          json: {
            write: {
              overridePolicy: function overridePolicy(e, t, o) {
                return {
                  enabled: !o || !o.textSymbol3D
                };
              }
            }
          }
        })], t.prototype, "size", void 0), r([p.cast("size")], t.prototype, "castSize", null), r([p.property({
          type: ["normal", "italic", "oblique"],
          json: {
            "default": "normal",
            write: !0
          }
        })], t.prototype, "style", void 0), r([p.property({
          type: ["normal", "bold", "bolder", "lighter"],
          json: {
            "default": "normal",
            write: !0
          }
        })], t.prototype, "weight", void 0), t = i = r([p.subclass("esri.symbols.Font")], t);
      }(p.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsIconSymbol3DLayerJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./support/colors */
    "./node_modules/arcgis-js-api/symbols/support/colors.js"), __webpack_require__(
    /*! ./support/IconSymbol3DLayerResource */
    "./node_modules/arcgis-js-api/symbols/support/IconSymbol3DLayerResource.js"), __webpack_require__(
    /*! ./support/materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js"), __webpack_require__(
    /*! ./support/Symbol3DAnchorPosition2D */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition2D.js"), __webpack_require__(
    /*! ./support/Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js"), __webpack_require__(
    /*! ./support/Symbol3DOutline */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DOutline.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, t, r, i, n, l, c, a, s, u, p, h, y, m) {
      function d(e) {
        var o = "width" in e ? e.width : e.size,
            t = "height" in e ? e.height : e.size,
            r = f(e.xoffset),
            i = f(e.yoffset);
        return (r || i) && o && t ? {
          x: -r / o,
          y: i / t
        } : null;
      }

      function f(e) {
        return isFinite(e) ? e : 0;
      }

      function b(e) {
        var o = w[e];
        return o || (v.warn(e + ' cannot be mapped to Icon symbol. Fallback to "circle"'), "circle");
      }

      var v = i.getLogger("esri.symbols.IconSymbol3DLayer"),
          w = {
        circle: "circle",
        cross: "cross",
        diamond: "kite",
        square: "square",
        x: "x",
        triangle: "triangle",
        path: null
      };
      return function (e) {
        function o(o) {
          var t = e.call(this, o) || this;
          return t.material = null, t.resource = null, t.type = "icon", t.size = 12, t.anchor = "center", t.anchorPosition = void 0, t.outline = void 0, t;
        }

        t(o, e), i = o, o.prototype.clone = function () {
          return new i({
            anchor: this.anchor,
            anchorPosition: this.anchorPosition && this.anchorPosition.clone(),
            enabled: this.enabled,
            material: n.isSome(this.material) ? this.material.clone() : null,
            outline: n.isSome(this.outline) ? this.outline.clone() : null,
            resource: this.resource && this.resource.clone(),
            size: this.size
          });
        }, o.fromSimpleMarkerSymbol = function (e) {
          var o = e.color || s.white,
              t = d(e),
              r = e.outline && e.outline.width > 0 ? {
            size: e.outline.width,
            color: (e.outline.color || s.white).clone()
          } : null;
          return new i({
            size: e.size,
            resource: {
              primitive: b(e.style)
            },
            material: {
              color: o
            },
            outline: r,
            anchor: t ? "relative" : void 0,
            anchorPosition: t
          });
        }, o.fromPictureMarkerSymbol = function (e) {
          var o = !e.color || s.isBlack(e.color) ? s.white : e.color,
              t = d(e);
          return new i({
            size: e.width <= e.height ? e.height : e.width,
            resource: {
              href: e.url
            },
            material: {
              color: o.clone()
            },
            anchor: t ? "relative" : void 0,
            anchorPosition: t
          });
        }, o.fromCIMSymbol = function (e) {
          return new i({
            resource: {
              href: l.makeData({
                mediaType: "application/json",
                data: JSON.stringify(e.data)
              })
            }
          });
        };
        var i;
        return r([c.property({
          type: y["default"],
          json: {
            write: !0
          }
        })], o.prototype, "material", void 0), r([c.property({
          type: u["default"],
          json: {
            write: !0
          }
        })], o.prototype, "resource", void 0), r([c.enumeration.serializable()({
          Icon: "icon"
        })], o.prototype, "type", void 0), r([c.property(p.screenSizeProperty)], o.prototype, "size", void 0), r([c.enumeration.serializable()({
          center: "center",
          left: "left",
          right: "right",
          top: "top",
          bottom: "bottom",
          topLeft: "top-left",
          topRight: "top-right",
          bottomLeft: "bottom-left",
          bottomRight: "bottom-right",
          relative: "relative"
        }), c.property({
          json: {
            "default": "center"
          }
        })], o.prototype, "anchor", void 0), r([c.property({
          type: h.Symbol3DAnchorPosition2D,
          json: {
            type: [Number],
            read: {
              reader: function reader(e) {
                return new h.Symbol3DAnchorPosition2D({
                  x: e[0],
                  y: e[1]
                });
              }
            },
            write: {
              writer: function writer(e, o) {
                o.anchorPosition = [e.x, e.y];
              },
              overridePolicy: function overridePolicy() {
                return {
                  enabled: "relative" === this.anchor
                };
              }
            }
          }
        })], o.prototype, "anchorPosition", void 0), r([c.property({
          type: m["default"],
          json: {
            write: !0
          }
        })], o.prototype, "outline", void 0), o = i = r([c.subclass("esri.symbols.IconSymbol3DLayer")], o);
      }(c.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/LabelSymbol3D.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/LabelSymbol3D.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsLabelSymbol3DJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js"), __webpack_require__(
    /*! ./TextSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js"), __webpack_require__(
    /*! ./callouts/calloutUtils */
    "./node_modules/arcgis-js-api/symbols/callouts/calloutUtils.js"), __webpack_require__(
    /*! ./support/Symbol3DVerticalOffset */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DVerticalOffset.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, l, r, s, i, a, n, p, y) {
      var c = r.ofType({
        base: null,
        key: "type",
        typeMap: {
          text: n
        }
      });
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.verticalOffset = null, o.callout = null, o.styleOrigin = null, o.symbolLayers = new c(), o.type = "label-3d", o;
        }

        o(t, e), r = t, t.prototype.supportsCallout = function () {
          return !0;
        }, t.prototype.hasVisibleCallout = function () {
          return p.hasVisibleCallout(this);
        }, t.prototype.hasVisibleVerticalOffset = function () {
          return p.hasVisibleVerticalOffset(this);
        }, t.prototype.clone = function () {
          return new r({
            styleOrigin: s.clone(this.styleOrigin),
            symbolLayers: s.clone(this.symbolLayers),
            thumbnail: s.clone(this.thumbnail),
            callout: s.clone(this.callout),
            verticalOffset: s.clone(this.verticalOffset)
          });
        }, t.fromTextSymbol = function (e) {
          return new r({
            symbolLayers: [n.fromTextSymbol(e)]
          });
        };
        var r;
        return l([i.property({
          type: y["default"],
          json: {
            write: !0
          }
        })], t.prototype, "verticalOffset", void 0), l([i.property(p.calloutProperty)], t.prototype, "callout", void 0), l([i.property({
          json: {
            read: !1,
            write: !1
          }
        })], t.prototype, "styleOrigin", void 0), l([i.property({
          type: c
        })], t.prototype, "symbolLayers", void 0), l([i.enumeration.serializable()({
          LabelSymbol3D: "label-3d"
        })], t.prototype, "type", void 0), t = r = l([i.subclass("esri.symbols.LabelSymbol3D")], t);
      }(i.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/LineSymbol.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/LineSymbol.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsLineSymbolJs(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/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__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, i, s, p) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.type = "simple-line", t.width = .75, t;
        }

        return t(r, e), o([s.enumeration.serializable()({
          esriSLS: "simple-line"
        })], r.prototype, "type", void 0), o([s.property({
          type: Number,
          cast: i.toPt,
          json: {
            write: !0
          }
        })], r.prototype, "width", void 0), r = o([s.subclass("esri.symbols.LineSymbol")], r);
      }(s.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/LineSymbol3D.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/LineSymbol3D.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsLineSymbol3DJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./LineSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js"), __webpack_require__(
    /*! ./PathSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/PathSymbol3DLayer.js"), __webpack_require__(
    /*! ./Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, n, l, y, i, s, p) {
      var a = n.ofType({
        base: null,
        key: "type",
        typeMap: {
          line: i,
          path: s
        }
      }),
          c = n.ofType({
        base: null,
        key: "type",
        typeMap: {
          line: i,
          path: s
        }
      });
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.symbolLayers = new a(), r.type = "line-3d", r;
        }

        r(o, e), n = o, o.prototype.clone = function () {
          return new n({
            styleOrigin: l.clone(this.styleOrigin),
            symbolLayers: l.clone(this.symbolLayers),
            thumbnail: l.clone(this.thumbnail)
          });
        }, o.fromSimpleLineSymbol = function (e) {
          return new n({
            symbolLayers: [i.fromSimpleLineSymbol(e)]
          });
        };
        var n;
        return t([y.property({
          type: a,
          json: {
            type: c
          }
        })], o.prototype, "symbolLayers", void 0), t([y.enumeration.serializable()({
          LineSymbol3D: "line-3d"
        })], o.prototype, "type", void 0), o = n = t([y.subclass("esri.symbols.LineSymbol3D")], o);
      }(y.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsLineSymbol3DLayerJs(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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.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__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./support/colors */
    "./node_modules/arcgis-js-api/symbols/support/colors.js"), __webpack_require__(
    /*! ./support/materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js"), __webpack_require__(
    /*! ./support/Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, p, i, l, n, s, a, u, c) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.material = null, r.type = "line", r.join = "miter", r.cap = "butt", r.size = l.px2pt(1), r.stipplePattern = null, r.stippleOffColor = null, r;
        }

        r(t, e), s = t, t.prototype.clone = function () {
          return new s({
            enabled: this.enabled,
            material: i.isSome(this.material) ? this.material.clone() : null,
            size: this.size,
            join: this.join,
            cap: this.cap,
            stipplePattern: this.stipplePattern ? this.stipplePattern.slice() : null,
            stippleOffColor: this.stippleOffColor ? this.stippleOffColor.clone() : null
          });
        }, t.fromSimpleLineSymbol = function (e) {
          return new s({
            size: e.width || 1,
            cap: e.cap || "butt",
            join: e.join || "miter",
            material: {
              color: (e.color || a.white).clone()
            }
          });
        };
        var s;
        return o([n.property({
          type: c["default"],
          json: {
            write: !0
          }
        })], t.prototype, "material", void 0), o([n.enumeration.serializable()({
          Line: "line"
        })], t.prototype, "type", void 0), o([n.property({
          type: ["miter", "bevel", "round"],
          json: {
            write: !0,
            "default": "miter"
          }
        })], t.prototype, "join", void 0), o([n.property({
          type: ["butt", "square", "round"],
          json: {
            write: !0,
            "default": "butt"
          }
        })], t.prototype, "cap", void 0), o([n.property(u.screenSizeProperty)], t.prototype, "size", void 0), o([n.property(u.stipplePatternProperty)], t.prototype, "stipplePattern", void 0), o([n.property({
          type: p
        })], t.prototype, "stippleOffColor", void 0), t = s = o([n.subclass("esri.symbols.LineSymbol3DLayer")], t);
      }(n.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/MarkerSymbol.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/MarkerSymbol.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsMarkerSymbolJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.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__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, s, n, i) {
      var u = new p["default"]({
        esriSMS: "simple-marker",
        esriPMS: "picture-marker"
      });
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.angle = 0, t.type = null, t.xoffset = 0, t.yoffset = 0, t.size = 9, t;
        }

        return t(r, e), o([n.property({
          type: Number,
          json: {
            read: function read(e) {
              return e && -1 * e;
            },
            write: function write(e, r) {
              return r.angle = e && -1 * e;
            }
          }
        })], r.prototype, "angle", void 0), o([n.property({
          type: u.apiValues,
          readOnly: !0,
          json: {
            type: u.jsonValues
          }
        })], r.prototype, "type", void 0), o([n.property({
          type: Number,
          cast: s.toPt,
          json: {
            write: !0
          }
        })], r.prototype, "xoffset", void 0), o([n.property({
          type: Number,
          cast: s.toPt,
          json: {
            write: !0
          }
        })], r.prototype, "yoffset", void 0), o([n.property({
          type: Number,
          cast: function cast(e) {
            return "auto" === e ? e : s.toPt(e);
          },
          json: {
            write: !0
          }
        })], r.prototype, "size", void 0), r = o([n.subclass("esri.symbols.MarkerSymbol")], r);
      }(n.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/MeshSymbol3D.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/MeshSymbol3D.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsMeshSymbol3DJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./FillSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js"), __webpack_require__(
    /*! ./Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, l, s, n, y, i) {
      var p = l.ofType({
        base: null,
        key: "type",
        typeMap: {
          fill: y
        }
      });
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.symbolLayers = new p(), o.type = "mesh-3d", o;
        }

        o(r, e), l = r, r.prototype.clone = function () {
          return new l({
            styleOrigin: s.clone(this.styleOrigin),
            symbolLayers: s.clone(this.symbolLayers),
            thumbnail: s.clone(this.thumbnail)
          });
        };
        var l;
        return t([n.property({
          type: p
        })], r.prototype, "symbolLayers", void 0), t([n.enumeration.serializable()({
          MeshSymbol3D: "mesh-3d"
        })], r.prototype, "type", void 0), r = l = t([n.subclass("esri.symbols.MeshSymbol3D")], r);
      }(n.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsObjectSymbol3DLayerJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./support/ObjectSymbol3DLayerResource */
    "./node_modules/arcgis-js-api/symbols/support/ObjectSymbol3DLayerResource.js"), __webpack_require__(
    /*! ./support/Symbol3DAnchorPosition3D */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition3D.js"), __webpack_require__(
    /*! ./support/Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, n, p, s, a, l) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.material = null, o.castShadows = !0, o.resource = null, o.type = "object", o.width = void 0, o.height = void 0, o.depth = void 0, o.anchor = void 0, o.anchorPosition = void 0, o.heading = void 0, o.tilt = void 0, o.roll = void 0, o;
        }

        o(t, e), p = t, t.prototype.clone = function () {
          return new p({
            heading: this.heading,
            tilt: this.tilt,
            roll: this.roll,
            anchor: this.anchor,
            anchorPosition: this.anchorPosition && this.anchorPosition.clone(),
            depth: this.depth,
            enabled: this.enabled,
            height: this.height,
            material: i.isSome(this.material) ? this.material.clone() : null,
            castShadows: this.castShadows,
            resource: this.resource && this.resource.clone(),
            width: this.width
          });
        }, Object.defineProperty(t.prototype, "isPrimitive", {
          get: function get() {
            return !this.resource || "string" != typeof this.resource.href;
          },
          enumerable: !0,
          configurable: !0
        });
        var p;
        return r([n.property({
          type: l["default"],
          json: {
            write: !0
          }
        })], t.prototype, "material", void 0), r([n.property({
          type: Boolean,
          nonNullable: !0,
          json: {
            write: !0,
            "default": !0
          }
        })], t.prototype, "castShadows", void 0), r([n.property({
          type: s["default"],
          json: {
            write: !0
          }
        })], t.prototype, "resource", void 0), r([n.enumeration.serializable()({
          Object: "object"
        })], t.prototype, "type", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "width", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "height", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "depth", void 0), r([n.enumeration.serializable()({
          center: "center",
          top: "top",
          bottom: "bottom",
          origin: "origin",
          relative: "relative"
        }), n.property({
          json: {
            "default": "origin"
          }
        })], t.prototype, "anchor", void 0), r([n.property({
          type: a.Symbol3DAnchorPosition3D,
          json: {
            type: [Number],
            read: {
              reader: function reader(e) {
                return new a.Symbol3DAnchorPosition3D({
                  x: e[0],
                  y: e[1],
                  z: e[2]
                });
              }
            },
            write: {
              writer: function writer(e, t) {
                t.anchorPosition = [e.x, e.y, e.z];
              },
              overridePolicy: function overridePolicy() {
                return {
                  enabled: "relative" === this.anchor
                };
              }
            }
          }
        })], t.prototype, "anchorPosition", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "heading", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "tilt", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "roll", void 0), r([n.property({
          readOnly: !0,
          dependsOn: ["resource", "resource.href"]
        })], t.prototype, "isPrimitive", null), t = p = r([n.subclass("esri.symbols.ObjectSymbol3DLayer")], t);
      }(n.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/PathSymbol3DLayer.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/PathSymbol3DLayer.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsPathSymbol3DLayerJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./support/Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r, i, p, a, h) {
      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o.material = null, o.castShadows = !0, o.type = "path", o.profile = "circle", o.join = "miter", o.cap = "butt", o.width = void 0, o.height = void 0, o.anchor = "center", o.profileRotation = "all", o;
        }

        o(e, t), a = e, Object.defineProperty(e.prototype, "size", {
          get: function get() {
            return this.width && this.height ? this.width === this.height ? this.width : void 0 : this.width ? this.width : this.height ? this.height : void 0;
          },
          set: function set(t) {
            this.width = t, this.height = t;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.readSize = function (t, e) {
          return e.height || e.width ? t : e.size;
        }, e.prototype.clone = function () {
          return new a({
            enabled: this.enabled,
            material: i.isSome(this.material) ? this.material.clone() : null,
            castShadows: this.castShadows,
            size: this.size,
            profile: this.profile,
            join: this.join,
            cap: this.cap,
            width: this.width,
            height: this.height,
            profileRotation: this.profileRotation,
            anchor: this.anchor
          });
        };
        var a;
        return r([p.property({
          type: h["default"],
          json: {
            write: !0
          }
        })], e.prototype, "material", void 0), r([p.property({
          type: Boolean,
          nonNullable: !0,
          json: {
            write: !0,
            "default": !0
          }
        })], e.prototype, "castShadows", void 0), r([p.enumeration.serializable()({
          Path: "path"
        })], e.prototype, "type", void 0), r([p.property({
          type: Number
        })], e.prototype, "size", null), r([p.reader("size")], e.prototype, "readSize", null), r([p.property({
          type: ["circle", "quad"],
          json: {
            write: !0,
            "default": "circle"
          }
        })], e.prototype, "profile", void 0), r([p.property({
          type: ["miter", "bevel", "round"],
          json: {
            write: !0,
            "default": "miter"
          }
        })], e.prototype, "join", void 0), r([p.property({
          type: ["none", "butt", "square", "round"],
          json: {
            write: !0,
            "default": "butt"
          }
        })], e.prototype, "cap", void 0), r([p.property({
          type: Number,
          json: {
            write: {
              enabled: !0,
              target: {
                width: {
                  type: Number
                },
                size: {
                  type: Number
                }
              }
            }
          }
        })], e.prototype, "width", void 0), r([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "height", void 0), r([p.property({
          type: ["center", "bottom", "top"],
          json: {
            write: !0,
            "default": "center"
          }
        })], e.prototype, "anchor", void 0), r([p.property({
          type: ["heading", "all"],
          json: {
            write: !0,
            "default": "all"
          }
        })], e.prototype, "profileRotation", void 0), e = a = r([p.subclass("esri.symbols.PathSymbol3DLayer")], e);
      }(p.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/PictureFillSymbol.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/PictureFillSymbol.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsPictureFillSymbolJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./FillSymbol */
    "./node_modules/arcgis-js-api/symbols/FillSymbol.js"), __webpack_require__(
    /*! ./support/urlUtils */
    "./node_modules/arcgis-js-api/symbols/support/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r, i, s, p, l, n, u) {
      return function (t) {
        function e(e, o, r, i) {
          var s = t.call(this, e) || this;
          return s.type = "picture-fill", s.url = null, s.xscale = 1, s.yscale = 1, s.width = 12, s.height = 12, s.xoffset = 0, s.yoffset = 0, s.source = null, s;
        }

        o(e, t), i = e, e.prototype.normalizeCtorArgs = function (t, e, o, r) {
          if (t && "string" != typeof t && null == t.imageData) return t;
          var i = {};
          return t && (i.url = t), e && (i.outline = e), null != o && (i.width = p.toPt(o)), null != r && (i.height = p.toPt(r)), i;
        }, e.prototype.clone = function () {
          var t = new i({
            color: s.clone(this.color),
            height: this.height,
            outline: this.outline && this.outline.clone(),
            url: this.url,
            width: this.width,
            xoffset: this.xoffset,
            xscale: this.xscale,
            yoffset: this.yoffset,
            yscale: this.yscale
          });
          return t._set("source", s.clone(this.source)), t;
        };
        var i;
        return r([l.enumeration.serializable()({
          esriPFS: "picture-fill"
        })], e.prototype, "type", void 0), r([l.property(u.urlPropertyDefinition)], e.prototype, "url", void 0), r([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "xscale", void 0), r([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "yscale", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], e.prototype, "width", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], e.prototype, "height", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], e.prototype, "xoffset", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], e.prototype, "yoffset", void 0), r([l.property(u.sourcePropertyDefinition)], e.prototype, "source", void 0), e = i = r([l.subclass("esri.symbols.PictureFillSymbol")], e);
      }(l.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsPictureMarkerSymbolJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./MarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/MarkerSymbol.js"), __webpack_require__(
    /*! ./support/urlUtils */
    "./node_modules/arcgis-js-api/symbols/support/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, i, p, n, s, u) {
      return function (t) {
        function e(e, r, o) {
          var i = t.call(this, e) || this;
          return i.color = null, i.type = "picture-marker", i.url = null, i.source = null, i.height = 12, i.width = 12, i.size = null, i;
        }

        r(e, t), s = e, e.prototype.normalizeCtorArgs = function (t, e, r) {
          if (t && "string" != typeof t && null == t.imageData) return t;
          var o = {};
          return t && (o.url = t), null != e && (o.width = p.toPt(e)), null != r && (o.height = p.toPt(r)), o;
        }, e.prototype.readHeight = function (t, e) {
          return e.size || t;
        }, e.prototype.readWidth = function (t, e) {
          return e.size || t;
        }, e.prototype.clone = function () {
          var t = new s({
            angle: this.angle,
            height: this.height,
            url: this.url,
            width: this.width,
            xoffset: this.xoffset,
            yoffset: this.yoffset
          });
          return t._set("source", i.clone(this.source)), t;
        };
        var s;
        return o([n.property({
          json: {
            write: !1
          }
        })], e.prototype, "color", void 0), o([n.enumeration.serializable()({
          esriPMS: "picture-marker"
        })], e.prototype, "type", void 0), o([n.property(u.urlPropertyDefinition)], e.prototype, "url", void 0), o([n.property(u.sourcePropertyDefinition)], e.prototype, "source", void 0), o([n.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], e.prototype, "height", void 0), o([n.reader("height", ["height", "size"])], e.prototype, "readHeight", null), o([n.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], e.prototype, "width", void 0), o([n.property({
          json: {
            write: !1
          }
        })], e.prototype, "size", void 0), e = s = o([n.subclass("esri.symbols.PictureMarkerSymbol")], e);
      }(n.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/PointSymbol3D.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/PointSymbol3D.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsPointSymbol3DJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./IconSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js"), __webpack_require__(
    /*! ./ObjectSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js"), __webpack_require__(
    /*! ./Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js"), __webpack_require__(
    /*! ./TextSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js"), __webpack_require__(
    /*! ./callouts/calloutUtils */
    "./node_modules/arcgis-js-api/symbols/callouts/calloutUtils.js"), __webpack_require__(
    /*! ./support/Symbol3DVerticalOffset */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DVerticalOffset.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, l, n, s, i, y, a, c, p, u, b) {
      var m = l.ofType({
        base: null,
        key: "type",
        typeMap: {
          icon: y,
          object: a,
          text: p
        }
      }),
          f = l.ofType({
        base: null,
        key: "type",
        typeMap: {
          icon: y,
          object: a
        }
      });
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.verticalOffset = null, o.callout = null, o.symbolLayers = new m(), o.type = "point-3d", o;
        }

        o(t, e), l = t, t.prototype.writeSymbolLayers = function (e, t, o, r) {
          var l = e.filter(function (e) {
            return "text" !== e.type;
          });

          if (r && r.messages && l.length < e.length) {
            var s = e.find(function (e) {
              return "text" === e.type;
            });
            r.messages.push(new n("symbol-layer:unsupported", "Symbol layers of type 'text' cannot be persisted in PointSymbol3D", {
              symbolLayer: s
            }));
          }

          t[o] = l.map(function (e) {
            return e.write({}, r);
          }).toArray();
        }, t.prototype.supportsCallout = function () {
          if ((this.symbolLayers ? this.symbolLayers.length : 0) < 1) return !1;

          for (var e = 0, t = this.symbolLayers.items; e < t.length; e++) {
            switch (t[e].type) {
              case "icon":
              case "text":
              case "object":
                continue;

              default:
                return !1;
            }
          }

          return !0;
        }, t.prototype.hasVisibleCallout = function () {
          return u.hasVisibleCallout(this);
        }, t.prototype.hasVisibleVerticalOffset = function () {
          return u.hasVisibleVerticalOffset(this);
        }, t.prototype.clone = function () {
          return new l({
            verticalOffset: s.clone(this.verticalOffset),
            callout: s.clone(this.callout),
            styleOrigin: s.clone(this.styleOrigin),
            symbolLayers: s.clone(this.symbolLayers),
            thumbnail: s.clone(this.thumbnail)
          });
        }, t.fromSimpleMarkerSymbol = function (e) {
          return new l({
            symbolLayers: [y.fromSimpleMarkerSymbol(e)]
          });
        }, t.fromPictureMarkerSymbol = function (e) {
          return new l({
            symbolLayers: [y.fromPictureMarkerSymbol(e)]
          });
        }, t.fromCIMSymbol = function (e) {
          return new l({
            symbolLayers: [y.fromCIMSymbol(e)],
            callout: {
              type: "line",
              size: .5,
              color: [0, 0, 0]
            },
            verticalOffset: {
              screenLength: 40
            }
          });
        }, t.fromTextSymbol = function (e) {
          return new l({
            symbolLayers: [p.fromTextSymbol(e)]
          });
        };
        var l;
        return r([i.property({
          type: b["default"],
          json: {
            write: !0
          }
        })], t.prototype, "verticalOffset", void 0), r([i.property(u.calloutProperty)], t.prototype, "callout", void 0), r([i.property({
          type: m,
          json: {
            type: f,
            origins: {
              "web-scene": {
                type: f
              }
            }
          }
        })], t.prototype, "symbolLayers", void 0), r([i.writer("web-scene", "symbolLayers")], t.prototype, "writeSymbolLayers", null), r([i.enumeration.serializable()({
          PointSymbol3D: "point-3d"
        })], t.prototype, "type", void 0), t = l = r([i.subclass("esri.symbols.PointSymbol3D")], t);
      }(i.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/PolygonSymbol3D.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/PolygonSymbol3D.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsPolygonSymbol3DJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ExtrudeSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ExtrudeSymbol3DLayer.js"), __webpack_require__(
    /*! ./FillSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js"), __webpack_require__(
    /*! ./IconSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js"), __webpack_require__(
    /*! ./LineSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js"), __webpack_require__(
    /*! ./ObjectSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js"), __webpack_require__(
    /*! ./Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js"), __webpack_require__(
    /*! ./TextSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js"), __webpack_require__(
    /*! ./WaterSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/WaterSymbol3DLayer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, l, y, n, s, a, i, m, b, p, c, u, L, f) {
      var S = l.ofType({
        base: null,
        key: "type",
        typeMap: {
          extrude: i,
          fill: m,
          icon: b,
          line: p,
          object: c,
          text: L,
          water: f
        }
      }),
          d = l.ofType({
        base: null,
        key: "type",
        typeMap: {
          extrude: i,
          fill: m,
          icon: b,
          line: p,
          object: c,
          water: f
        }
      });
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.type = "polygon-3d", o;
        }

        o(r, e), l = r, r.prototype.writeSymbolLayers = function (e, r, o, t) {
          var l = e.filter(function (e) {
            return "text" !== e.type;
          });

          if (t && t.messages && l.length < e.length) {
            var n = e.find(function (e) {
              return "text" === e.type;
            });
            t.messages.push(new y("symbol-layer:unsupported", "Symbol layers of type 'text' cannot be persisted in PolygonSymbol3D", {
              symbolLayer: n
            }));
          }

          r[o] = l.map(function (e) {
            return e.write({}, t);
          }).toArray();
        }, r.prototype.clone = function () {
          return new l({
            styleOrigin: n.clone(this.styleOrigin),
            symbolLayers: n.clone(this.symbolLayers),
            thumbnail: n.clone(this.thumbnail)
          });
        }, r.fromJSON = function (e) {
          var r = new l();

          if (r.read(e), 2 === r.symbolLayers.length && "fill" === r.symbolLayers.getItemAt(0).type && "line" === r.symbolLayers.getItemAt(1).type) {
            var o = r.symbolLayers.getItemAt(0),
                t = r.symbolLayers.getItemAt(1);
            !t.enabled || e.symbolLayers && e.symbolLayers[1] && !1 === e.symbolLayers[1].enable || (o.outline = {
              size: t.size,
              color: s.isSome(t.material) ? t.material.color : null
            }), r.symbolLayers.removeAt(1);
          }

          return r;
        }, r.fromSimpleFillSymbol = function (e) {
          return new l({
            symbolLayers: [m.fromSimpleFillSymbol(e)]
          });
        };
        var l;
        return t([a.property({
          type: S,
          json: {
            type: d
          }
        })], r.prototype, "symbolLayers", void 0), t([a.writer("web-scene", "symbolLayers")], r.prototype, "writeSymbolLayers", null), t([a.enumeration.serializable()({
          PolygonSymbol3D: "polygon-3d"
        })], r.prototype, "type", void 0), r = l = t([a.subclass("esri.symbols.PolygonSymbol3D")], r);
      }(a.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSimpleFillSymbolJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./FillSymbol */
    "./node_modules/arcgis-js-api/symbols/FillSymbol.js"), __webpack_require__(
    /*! ./SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, i, l, s, n, a, p, c) {
      var S = new s["default"]({
        esriSFSSolid: "solid",
        esriSFSNull: "none",
        esriSFSHorizontal: "horizontal",
        esriSFSVertical: "vertical",
        esriSFSForwardDiagonal: "forward-diagonal",
        esriSFSBackwardDiagonal: "backward-diagonal",
        esriSFSCross: "cross",
        esriSFSDiagonalCross: "diagonal-cross"
      });
      return function (e) {
        function o(o, r, t) {
          var i = e.call(this, o) || this;
          return i.color = new l([0, 0, 0, .25]), i.outline = new c(), i.type = "simple-fill", i.style = "solid", i;
        }

        r(o, e), i = o, o.prototype.normalizeCtorArgs = function (e, o, r) {
          if (e && "string" != typeof e) return e;
          var t = {};
          return e && (t.style = e), o && (t.outline = o), r && (t.color = r), t;
        }, o.prototype.clone = function () {
          return new i({
            color: n.clone(this.color),
            outline: this.outline && this.outline.clone(),
            style: this.style
          });
        };
        var i;
        return t([a.property()], o.prototype, "color", void 0), t([a.property()], o.prototype, "outline", void 0), t([a.enumeration.serializable()({
          esriSFS: "simple-fill"
        })], o.prototype, "type", void 0), t([a.property({
          type: S.apiValues,
          json: {
            read: S.read,
            write: S.write
          }
        })], o.prototype, "style", void 0), o = i = t([a.subclass("esri.symbols.SimpleFillSymbol")], o);
      }(a.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSimpleLineSymbolJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./LineSymbol */
    "./node_modules/arcgis-js-api/symbols/LineSymbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, i, s, n, l, d) {
      var a = new i["default"]({
        esriSLSSolid: "solid",
        esriSLSDash: "dash",
        esriSLSDot: "dot",
        esriSLSDashDot: "dash-dot",
        esriSLSDashDotDot: "long-dash-dot-dot",
        esriSLSNull: "none",
        esriSLSInsideFrame: "inside-frame",
        esriSLSShortDash: "short-dash",
        esriSLSShortDot: "short-dot",
        esriSLSShortDashDot: "short-dash-dot",
        esriSLSShortDashDotDot: "short-dash-dot-dot",
        esriSLSLongDash: "long-dash",
        esriSLSLongDashDot: "long-dash-dot"
      });
      return function (e) {
        function o(o, r, t, i, s, n) {
          var l = e.call(this, o) || this;
          return l.type = "simple-line", l.style = "solid", l.cap = "round", l.join = "round", l.miterLimit = 2, l;
        }

        r(o, e), i = o, o.prototype.normalizeCtorArgs = function (e, o, r, t, i, s) {
          if (e && "string" != typeof e) return e;
          var l = {};
          return null != e && (l.style = e), null != o && (l.color = o), null != r && (l.width = n.toPt(r)), null != t && (l.cap = t), null != i && (l.join = i), null != s && (l.miterLimit = n.toPt(s)), l;
        }, o.prototype.clone = function () {
          return new i({
            color: s.clone(this.color),
            style: this.style,
            width: this.width,
            cap: this.cap,
            join: this.join,
            miterLimit: this.miterLimit
          });
        };
        var i;
        return t([l.enumeration.serializable()({
          esriSLS: "simple-line"
        })], o.prototype, "type", void 0), t([l.property({
          type: a.apiValues,
          json: {
            read: a.read,
            write: a.write
          }
        })], o.prototype, "style", void 0), t([l.property({
          type: ["butt", "round", "square"],
          json: {
            write: {
              overridePolicy: function overridePolicy(e, o, r) {
                return {
                  enabled: "round" !== e && (null == r || null == r.origin)
                };
              }
            }
          }
        })], o.prototype, "cap", void 0), t([l.property({
          type: ["miter", "round", "bevel"],
          json: {
            write: {
              overridePolicy: function overridePolicy(e, o, r) {
                return {
                  enabled: "round" !== e && (null == r || null == r.origin)
                };
              }
            }
          }
        })], o.prototype, "join", void 0), t([l.property({
          type: Number,
          json: {
            read: !1,
            write: !1
          }
        })], o.prototype, "miterLimit", void 0), o = i = t([l.subclass("esri.symbols.SimpleLineSymbol")], o);
      }(l.declared(d));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/SimpleMarkerSymbol.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/SimpleMarkerSymbol.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSimpleMarkerSymbolJs(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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./MarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/MarkerSymbol.js"), __webpack_require__(
    /*! ./SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, s, l, n, p, a, c) {
      var u = new s["default"]({
        esriSMSCircle: "circle",
        esriSMSSquare: "square",
        esriSMSCross: "cross",
        esriSMSX: "x",
        esriSMSDiamond: "diamond",
        esriSMSTriangle: "triangle",
        esriSMSPath: "path"
      });
      return function (e) {
        function t(t, r, o, s) {
          var l = e.call(this, t) || this;
          return l.color = new i([255, 255, 255, .25]), l.type = "simple-marker", l.size = 12, l.style = "circle", l.outline = new c(), l;
        }

        r(t, e), s = t, t.prototype.normalizeCtorArgs = function (e, t, r, o) {
          if (e && "string" != typeof e) return e;
          var i = {};
          return e && (i.style = e), null != t && (i.size = n.toPt(t)), r && (i.outline = r), o && (i.color = o), i;
        }, t.prototype.writeColor = function (e, t) {
          e && "x" !== this.style && "cross" !== this.style && (t.color = e.toJSON()), null === e && (t.color = null);
        }, Object.defineProperty(t.prototype, "path", {
          set: function set(e) {
            this.style = "path", this._set("path", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new s({
            angle: this.angle,
            color: l.clone(this.color),
            outline: this.outline && this.outline.clone(),
            path: this.path,
            size: this.size,
            style: this.style,
            xoffset: this.xoffset,
            yoffset: this.yoffset
          });
        };
        var s;
        return o([p.property()], t.prototype, "color", void 0), o([p.writer("color")], t.prototype, "writeColor", null), o([p.enumeration.serializable()({
          esriSMS: "simple-marker"
        })], t.prototype, "type", void 0), o([p.property()], t.prototype, "size", void 0), o([p.property({
          type: u.apiValues,
          json: {
            read: u.read,
            write: u.write
          }
        })], t.prototype, "style", void 0), o([p.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "path", null), o([p.property({
          type: c,
          json: {
            "default": null,
            write: !0
          }
        })], t.prototype, "outline", void 0), t = s = o([p.subclass("esri.symbols.SimpleMarkerSymbol")], t);
      }(p.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/Symbol.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/Symbol.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSymbolJs(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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, l, i, n, p, s, u) {
      var c = new p["default"]({
        esriSMS: "simple-marker",
        esriPMS: "picture-marker",
        esriSLS: "simple-line",
        esriSFS: "simple-fill",
        esriPFS: "picture-fill",
        esriTS: "text",
        esriSHD: "shield-label-symbol",
        PointSymbol3D: "point-3d",
        LineSymbol3D: "line-3d",
        PolygonSymbol3D: "polygon-3d",
        WebStyleSymbol: "web-style",
        MeshSymbol3D: "mesh-3d",
        LabelSymbol3D: "label-3d",
        CIMSymbolReference: "cim"
      }),
          a = 0;
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.id = "sym" + a++, o.type = null, o;
        }

        return o(r, e), Object.defineProperty(r.prototype, "color", {
          set: function set(e) {
            this._set("color", e);
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.readColor = function (e) {
          return e && null != e[0] ? [e[0], e[1], e[2], e[3] / 255] : e;
        }, r.prototype.collectRequiredFields = function (e, r) {
          return i(this, void 0, void 0, function () {
            return l(this, function (e) {
              return [2];
            });
          });
        }, r.prototype.clone = function () {}, t([u.property({
          type: c.apiValues,
          json: {
            read: c.read,
            write: {
              ignoreOrigin: !0,
              writer: c.write
            }
          }
        })], r.prototype, "type", void 0), t([u.property({
          type: n,
          value: new n([0, 0, 0, 1]),
          json: {
            write: {
              allowNull: !0
            }
          }
        })], r.prototype, "color", null), t([u.reader("color")], r.prototype, "readColor", null), r = t([u.subclass("esri.symbols.Symbol")], r);
      }(u.declared(s.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/Symbol3D.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/Symbol3D.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSymbol3DJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/collectionUtils */
    "./node_modules/arcgis-js-api/core/collectionUtils.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../core/Warning */
    "./node_modules/arcgis-js-api/core/Warning.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ./ExtrudeSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ExtrudeSymbol3DLayer.js"), __webpack_require__(
    /*! ./FillSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/FillSymbol3DLayer.js"), __webpack_require__(
    /*! ./IconSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/IconSymbol3DLayer.js"), __webpack_require__(
    /*! ./LineSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/LineSymbol3DLayer.js"), __webpack_require__(
    /*! ./ObjectSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/ObjectSymbol3DLayer.js"), __webpack_require__(
    /*! ./PathSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/PathSymbol3DLayer.js"), __webpack_require__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./TextSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js"), __webpack_require__(
    /*! ./WaterSymbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/WaterSymbol3DLayer.js"), __webpack_require__(
    /*! ./support/StyleOrigin */
    "./node_modules/arcgis-js-api/symbols/support/StyleOrigin.js"), __webpack_require__(
    /*! ./support/Thumbnail */
    "./node_modules/arcgis-js-api/symbols/support/Thumbnail.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, l, s, n, a, y, i, p, m, u, b, c, d, g, S, f, L, h, O, D, w) {
      var v = {
        icon: c,
        object: g,
        line: d,
        path: S,
        fill: b,
        extrude: u,
        text: h,
        water: O
      },
          _ = l.ofType({
        base: L,
        key: "type",
        typeMap: v
      }),
          U = n.strict()({
        PointSymbol3D: "point-3d",
        PolygonSymbol3D: "polygon-3d",
        LineSymbol3D: "line-3d",
        MeshSymbol3D: "mesh-3d",
        LabelSymbol3D: "label-3d"
      }),
          N = a.getLogger("esri.symbols.Symbol3D");

      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          t.styleOrigin = null, t.thumbnail = null, t.type = null;
          var o = t.__accessor__ && t.__accessor__.metadatas && t.__accessor__.metadatas.symbolLayers,
              s = o && o.type,
              n = s || l;
          return t._set("symbolLayers", new n()), t;
        }

        return t(r, e), Object.defineProperty(r.prototype, "color", {
          get: function get() {
            return null;
          },
          set: function set(e) {
            N.error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.");
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "symbolLayers", {
          set: function set(e) {
            s.referenceSetter(e, this._get("symbolLayers"));
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.readSymbolLayers = function (e, r, t) {
          for (var o = [], l = 0; l < e.length; l++) {
            var s = e[l],
                n = L.typeJSONDictionary.read(s.type),
                a = n && v[n];

            if (a) {
              var y = new a();
              y.read(e[l], t), o.push(y);
            } else N.warn("Unknown symbol layer type: " + n), t && t.messages && t.messages.push(new i("symbol-layer:unsupported", "Symbol layers of type '" + (n || s.type || "unknown") + "' are not supported", {
              definition: s,
              context: t
            }));
          }

          return o;
        }, r.prototype.readStyleOrigin = function (e, r, t) {
          if (e.styleUrl && e.name) {
            var o = y.fromJSON(e.styleUrl, t);
            return new D({
              styleUrl: o,
              name: e.name
            });
          }

          if (e.styleName && e.name) return new D({
            portal: t && t.portal || m.getDefault(),
            styleName: e.styleName,
            name: e.name
          });
          t && t.messages && t.messages.push(new i("symbol3d:incomplete-style-origin", "Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property", {
            context: t,
            definition: e
          }));
        }, r.prototype.writeStyleOrigin = function (e, r, t, o) {
          if (e.styleUrl && e.name) {
            var l = y.toJSON(e.styleUrl, o);
            y.isAbsolute(l) && (l = y.normalize(l)), r.styleOrigin = {
              styleUrl: l,
              name: e.name
            };
          } else e.styleName && e.name && (e.portal && o && o.portal && !y.hasSamePortal(e.portal.restUrl, o.portal.restUrl) ? o && o.messages && o.messages.push(new i("symbol:cross-portal", "The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.", {
            symbol: this
          })) : r.styleOrigin = {
            styleName: e.styleName,
            name: e.name
          });
        }, r.prototype.normalizeCtorArgs = function (e) {
          return e instanceof L || e && v[e.type] ? {
            symbolLayers: [e]
          } : Array.isArray(e) ? {
            symbolLayers: e
          } : e;
        }, o([p.property({
          json: {
            read: !1,
            write: !1
          }
        })], r.prototype, "color", null), o([p.property({
          type: _,
          nonNullable: !0,
          json: {
            write: !0
          }
        }), p.cast(s.castForReferenceSetter)], r.prototype, "symbolLayers", null), o([p.reader("symbolLayers")], r.prototype, "readSymbolLayers", null), o([p.property({
          type: D
        })], r.prototype, "styleOrigin", void 0), o([p.reader("styleOrigin")], r.prototype, "readStyleOrigin", null), o([p.writer("styleOrigin", {
          "styleOrigin.styleUrl": {
            type: String
          },
          "styleOrigin.styleName": {
            type: String
          },
          "styleOrigin.name": {
            type: String
          }
        })], r.prototype, "writeStyleOrigin", null), o([p.property({
          type: w["default"],
          json: {
            read: !1
          }
        })], r.prototype, "thumbnail", void 0), o([p.property({
          type: U.apiValues,
          readOnly: !0,
          json: {
            type: U.jsonValues,
            read: !1
          }
        })], r.prototype, "type", void 0), r = o([p.subclass("esri.symbols.Symbol3D")], r);
      }(p.declared(f));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSymbol3DLayerJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, i) {
      var a = n.strict()({
        Icon: "icon",
        Object: "object",
        Line: "line",
        Path: "path",
        Fill: "fill",
        Extrude: "extrude",
        Text: "text",
        Water: "water"
      }),
          l = function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.enabled = !0, t.type = null, t;
        }

        return t(r, e), r.prototype.writeEnabled = function (e, r, t) {
          e || (r[t] = e);
        }, o([i.property({
          type: Boolean,
          json: {
            read: {
              source: "enable"
            },
            write: {
              target: "enable"
            }
          }
        })], r.prototype, "enabled", void 0), o([i.writer("enabled")], r.prototype, "writeEnabled", null), o([i.property({
          type: a.apiValues,
          readOnly: !0,
          json: {
            read: !1,
            write: {
              ignoreOrigin: !0,
              writer: a.write
            }
          }
        })], r.prototype, "type", void 0), r = o([i.subclass("esri.symbols.Symbol3DLayer")], r);
      }(i.declared(p.JSONSupport));

      return function (e) {
        e.typeJSONDictionary = a;
      }(l || (l = {})), l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/TextSymbol.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/TextSymbol.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsTextSymbolJs(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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./Font */
    "./node_modules/arcgis-js-api/symbols/Font.js"), __webpack_require__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, o, e, r, n, i, p, l, s, y) {
      return function (t) {
        function o(o, e, r) {
          var n = t.call(this, o) || this;
          return n.backgroundColor = null, n.borderLineColor = null, n.borderLineSize = null, n.font = new s(), n.horizontalAlignment = "center", n.kerning = !0, n.haloColor = null, n.haloSize = null, n.rightToLeft = null, n.rotated = !1, n.text = "", n.type = "text", n.verticalAlignment = null, n.xoffset = 0, n.yoffset = 0, n.angle = 0, n.width = null, n;
        }

        e(o, t), y = o, o.prototype.normalizeCtorArgs = function (t, o, e) {
          if (t && "string" != typeof t) return t;
          var r = {};
          return t && (r.text = t), o && (r.font = o), e && (r.color = e), r;
        }, o.prototype.clone = function () {
          return new y({
            angle: this.angle,
            backgroundColor: i.clone(this.backgroundColor),
            borderLineColor: i.clone(this.borderLineColor),
            borderLineSize: this.borderLineSize,
            color: i.clone(this.color),
            font: this.font && this.font.clone(),
            haloColor: i.clone(this.haloColor),
            haloSize: this.haloSize,
            horizontalAlignment: this.horizontalAlignment,
            kerning: this.kerning,
            rightToLeft: this.rightToLeft,
            rotated: this.rotated,
            text: this.text,
            verticalAlignment: this.verticalAlignment,
            width: this.width,
            xoffset: this.xoffset,
            yoffset: this.yoffset
          });
        };
        var y;
        return r([l.property({
          type: n,
          json: {
            write: !0
          }
        })], o.prototype, "backgroundColor", void 0), r([l.property({
          type: n,
          json: {
            write: !0
          }
        })], o.prototype, "borderLineColor", void 0), r([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], o.prototype, "borderLineSize", void 0), r([l.property({
          type: s,
          json: {
            write: !0
          }
        })], o.prototype, "font", void 0), r([l.property({
          type: ["left", "right", "center", "justify"],
          json: {
            write: !0
          }
        })], o.prototype, "horizontalAlignment", void 0), r([l.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], o.prototype, "kerning", void 0), r([l.property({
          type: n,
          json: {
            write: !0
          }
        })], o.prototype, "haloColor", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], o.prototype, "haloSize", void 0), r([l.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], o.prototype, "rightToLeft", void 0), r([l.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], o.prototype, "rotated", void 0), r([l.property({
          type: String,
          json: {
            write: !0
          }
        })], o.prototype, "text", void 0), r([l.property({
          type: String,
          readOnly: !0
        })], o.prototype, "type", void 0), r([l.property({
          type: ["baseline", "top", "middle", "bottom"],
          json: {
            write: !0
          }
        })], o.prototype, "verticalAlignment", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], o.prototype, "xoffset", void 0), r([l.property({
          type: Number,
          cast: p.toPt,
          json: {
            write: !0
          }
        })], o.prototype, "yoffset", void 0), r([l.property({
          type: Number,
          json: {
            read: function read(t) {
              return t && -1 * t;
            },
            write: function write(t, o) {
              return o.angle = t && -1 * t;
            }
          }
        })], o.prototype, "angle", void 0), r([l.property({
          type: Number,
          json: {
            write: !0
          }
        })], o.prototype, "width", void 0), o = y = r([l.subclass("esri.symbols.TextSymbol")], o);
      }(l.declared(y));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/TextSymbol3DLayer.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsTextSymbol3DLayerJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Font */
    "./node_modules/arcgis-js-api/symbols/Font.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js"), __webpack_require__(
    /*! ./support/materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js"), __webpack_require__(
    /*! ./support/Symbol3DHalo */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DHalo.js"), __webpack_require__(
    /*! ./support/Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, n, i, l, s, p, a, u, c, f) {
      function y(e, t) {
        return e && t > 0 ? {
          color: i.clone(e),
          size: t
        } : null;
      }

      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._userSize = void 0, o.halo = null, o.material = null, o.text = void 0, o.type = "text", o;
        }

        o(t, e), a = t, Object.defineProperty(t.prototype, "font", {
          get: function get() {
            return this._get("font") || null;
          },
          set: function set(e) {
            e && this._userSize && (e.size = this._userSize), this._set("font", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.writeFont = function (e, t, o, r) {
          var i = n({}, r, {
            textSymbol3D: !0
          });
          t.font = e.write({}, i), delete t.font.size;
        }, Object.defineProperty(t.prototype, "size", {
          get: function get() {
            return null != this._userSize ? this._userSize : this.font && null != this.font.size ? this.font.size : 9;
          },
          set: function set(e) {
            this._userSize = e, this.font && (this.font.size = this._userSize), this.notifyChange("size");
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new a({
            enabled: this.enabled,
            font: this.font && i.clone(this.font),
            halo: this.halo && i.clone(this.halo),
            material: l.isSome(this.material) ? this.material.clone() : null,
            size: this.size,
            text: this.text
          });
        }, t.fromTextSymbol = function (e) {
          var t = y(e.haloColor, e.haloSize),
              o = e.font ? e.font.clone() : new p();
          return new a({
            size: o.size,
            font: o,
            halo: t,
            material: e.color ? {
              color: e.color.clone()
            } : null,
            text: e.text
          });
        };
        var a;
        return r([s.property({
          type: p,
          json: {
            write: !0
          }
        })], t.prototype, "font", null), r([s.writer("font")], t.prototype, "writeFont", null), r([s.property({
          type: c["default"],
          json: {
            write: !0
          }
        })], t.prototype, "halo", void 0), r([s.property({
          type: f["default"],
          json: {
            write: !0
          }
        })], t.prototype, "material", void 0), r([s.property(u.screenSizeProperty), s.property({
          dependsOn: ["font.size"]
        })], t.prototype, "size", null), r([s.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "text", void 0), r([s.enumeration.serializable()({
          Text: "text"
        })], t.prototype, "type", void 0), t = a = r([s.subclass("esri.symbols.TextSymbol3DLayer")], t);
      }(s.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/WaterSymbol3DLayer.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/WaterSymbol3DLayer.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsWaterSymbol3DLayerJs(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__(
    /*! ../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./Symbol3DLayer */
    "./node_modules/arcgis-js-api/symbols/Symbol3DLayer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, a, i, p, n, l) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.color = new a("#0077BE"), t.type = "water", t.waterbodySize = "medium", t.waveDirection = null, t.waveStrength = "moderate", t;
        }

        t(r, e), l = r, r.prototype.clone = function () {
          return new l({
            color: i.clone(this.color),
            waterbodySize: this.waterbodySize,
            waveDirection: this.waveDirection,
            waveStrength: this.waveStrength
          });
        };
        var l;
        return o([p.property({
          type: a,
          json: {
            type: [n.Integer],
            write: !0,
            "default": null
          }
        })], r.prototype, "color", void 0), o([p.enumeration.serializable()({
          Water: "water"
        })], r.prototype, "type", void 0), o([p.property({
          type: ["small", "medium", "large"],
          json: {
            write: !0,
            "default": "medium"
          }
        })], r.prototype, "waterbodySize", void 0), o([p.property({
          type: Number,
          json: {
            write: !0,
            "default": null
          }
        })], r.prototype, "waveDirection", void 0), o([p.property({
          type: ["calm", "rippled", "slight", "moderate"],
          json: {
            write: !0,
            "default": "moderate"
          }
        })], r.prototype, "waveStrength", void 0), r = l = o([p.subclass("esri.symbols.WaterSymbol3DLayer")], r);
      }(p.declared(l));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/WebStyleSymbol.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/WebStyleSymbol.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsWebStyleSymbolJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.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/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__(
    /*! ../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ./Symbol */
    "./node_modules/arcgis-js-api/symbols/Symbol.js"), __webpack_require__(
    /*! ./support/Thumbnail */
    "./node_modules/arcgis-js-api/symbols/support/Thumbnail.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, l, p, n, i, s, y, a, c, u, d) {
      function h() {
        return p(this, void 0, void 0, function () {
          return l(this, function (e) {
            return [2, s.create(function (e) {
              return Promise.resolve().then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./support/styleUtils */
                "./node_modules/arcgis-js-api/symbols/support/styleUtils.js")];
                e.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](__webpack_require__.oe);
            })];
          });
        });
      }

      var f = i.getLogger("esri.symbols.WebStyleSymbol"),
          m = n.strict()({
        styleSymbolReference: "web-style"
      });
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.styleName = null, r.portal = null, r.styleUrl = null, r.thumbnail = null, r.name = null, r.type = "web-style", r;
        }

        r(e, t), n = e, e.prototype.read = function (t, e) {
          this.portal = e ? e.portal : void 0, this.inherited(arguments, [t, e]);
        }, e.prototype.clone = function () {
          return new n({
            name: this.name,
            styleUrl: this.styleUrl,
            styleName: this.styleName,
            portal: this.portal
          });
        }, e.prototype.fetchSymbol = function (t) {
          return this._fetchSymbol("webRef", t);
        }, e.prototype.fetchCIMSymbol = function (t) {
          return this._fetchSymbol("cimRef", t);
        }, e.prototype._fetchSymbol = function (t, e) {
          return p(this, void 0, void 0, function () {
            var r, o;
            return l(this, function (l) {
              switch (l.label) {
                case 0:
                  return [4, h()];

                case 1:
                  return r = l.sent(), s.throwIfAborted(e), o = r.resolveWebStyleSymbol(this, {
                    portal: this.portal
                  }, t, e), o["catch"](function (t) {
                    f.error("#fetchSymbol()", "Failed to create symbol from style", t);
                  }), [2, o];
              }
            });
          });
        };
        var n;
        return o([a.property({
          json: {
            write: !1
          }
        })], e.prototype, "color", void 0), o([a.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "styleName", void 0), o([a.property({
          type: c,
          json: {
            write: !1
          }
        })], e.prototype, "portal", void 0), o([a.property({
          type: String,
          json: {
            read: y.read,
            write: y.write
          }
        })], e.prototype, "styleUrl", void 0), o([a.property({
          type: d["default"],
          json: {
            read: !1
          }
        })], e.prototype, "thumbnail", void 0), o([a.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "name", void 0), o([a.property({
          type: m.apiValues,
          readOnly: !0,
          json: {
            type: m.jsonValues,
            read: !1,
            write: m.write
          }
        })], e.prototype, "type", void 0), e = n = o([a.subclass("esri.symbols.WebStyleSymbol")], e);
      }(a.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/callouts/Callout3D.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/callouts/Callout3D.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCalloutsCallout3DJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, n, i) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.visible = !0, t;
        }

        return o(r, e), r.prototype.normalizeCtorArgs = function (e) {
          if (e && e.type) {
            var r = t({}, e);
            return delete r.type, r;
          }

          return e;
        }, r.prototype.clone = function () {}, p([i.property({
          type: ["line"],
          readOnly: !0,
          json: {
            read: !1,
            write: {
              ignoreOrigin: !0
            }
          }
        })], r.prototype, "type", void 0), p([i.property({
          readOnly: !0
        })], r.prototype, "visible", void 0), r = p([i.subclass("esri.symbols.callouts.Callout3D")], r);
      }(i.declared(n.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3D.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/callouts/LineCallout3D.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCalloutsLineCallout3DJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ./Callout3D */
    "./node_modules/arcgis-js-api/symbols/callouts/Callout3D.js"), __webpack_require__(
    /*! ./LineCallout3DBorder */
    "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3DBorder.js"), __webpack_require__(
    /*! ../support/materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, p, l, i, n, s, c, u, a) {
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.type = "line", o.color = new p([0, 0, 0, 1]), o.size = n.px2pt(1), o.border = null, o;
        }

        o(r, e), c = r, Object.defineProperty(r.prototype, "visible", {
          get: function get() {
            return this.size > 0 && i.isSome(this.color) && this.color.a > 0;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.clone = function () {
          return new c({
            color: l.clone(this.color),
            size: this.size,
            border: l.clone(this.border)
          });
        };
        var c;
        return t([s.property({
          type: ["line"]
        })], r.prototype, "type", void 0), t([s.property(a.colorAndTransparencyProperty)], r.prototype, "color", void 0), t([s.property(a.screenSizeProperty)], r.prototype, "size", void 0), t([s.property({
          type: u["default"],
          json: {
            write: !0
          }
        })], r.prototype, "border", void 0), t([s.property({
          dependsOn: ["size", "color"],
          readOnly: !0
        })], r.prototype, "visible", null), r = c = t([s.subclass("esri.symbols.callouts.LineCallout3D")], r);
      }(s.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3DBorder.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/callouts/LineCallout3DBorder.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCalloutsLineCallout3DBorderJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../support/materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, o, t, l, c, p, n, u) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var s = function (r) {
        function e() {
          var e = null !== r && r.apply(this, arguments) || this;
          return e.color = new l("white"), e;
        }

        o(e, r), c = e, e.prototype.clone = function () {
          return new c({
            color: p.clone(this.color)
          });
        };
        var c;
        return t([n.property(u.colorAndTransparencyProperty)], e.prototype, "color", void 0), e = c = t([n.subclass("esri.symbols.callouts.LineCallout3DBorder")], e);
      }(n.declared(c.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/callouts/calloutUtils.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/callouts/calloutUtils.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCalloutsCalloutUtilsJs(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__(
    /*! ./Callout3D */
    "./node_modules/arcgis-js-api/symbols/callouts/Callout3D.js"), __webpack_require__(
    /*! ./LineCallout3D */
    "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n) {
      function l(e) {
        if (!e) return !1;
        var t = e.verticalOffset;
        return !!t && !(t.screenLength <= 0 || t.maxWorldLength <= 0);
      }

      function i(e) {
        if (!e) return !1;
        if (!e.supportsCallout || !e.supportsCallout()) return !1;
        var t = e.callout;
        return !!t && !!t.visible && !!l(e);
      }

      function u(e) {
        return "point-3d" === e.type || "label-3d" === e.type;
      }

      function a(e, t, r) {
        if (!e) return e;

        switch (e.type) {
          case "line":
            var l = new n();
            return l.read(e, r), l;
        }
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.hasVisibleVerticalOffset = l, t.hasVisibleCallout = i, t.isCalloutSupport = u, t.read = a, t.calloutProperty = {
        types: {
          key: "type",
          base: r,
          typeMap: {
            line: n
          }
        },
        json: {
          read: a,
          write: !0
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMCursor.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMCursor.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMCursorJs(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/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ./CIMPlacements */
    "./node_modules/arcgis-js-api/symbols/cim/CIMPlacements.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, n, e) {
      function h(t) {
        if (t) for (var i = t.length, n = i - 1; n > 0; --n) t[n][0] -= t[n - 1][0], t[n][1] -= t[n - 1][1];
      }

      function s(t) {
        if (t) for (var i = 0, n = t; i < n.length; i++) {
          var e = n[i];
          h(e);
        }
      }

      function o(t) {
        if (t) for (var i = t.length, n = 1; n < i; ++n) t[n][0] += t[n - 1][0], t[n][1] += t[n - 1][1];
      }

      function a(t) {
        if (t) for (var i = 0, n = t; i < n.length; i++) {
          var e = n[i];
          o(e);
        }
      }

      function r(t) {
        return n.isPolygon(t) ? a(t.rings) : n.isPolyline(t) ? a(t.paths) : n.isMultipoint(t) && o(t.points), t;
      }

      function l(t) {
        return n.isPolygon(t) ? s(t.rings) : n.isPolyline(t) ? s(t.paths) : n.isMultipoint(t) && h(t.points), t;
      }

      function u(t) {
        if (t) for (var i = 0, n = t; i < n.length; i++) {
          var e = n[i];
          P(e);
        }
      }

      function P(t) {
        t && t.reverse();
      }

      function p(t, i, n) {
        return [t[0] + (i[0] - t[0]) * n, t[1] + (i[1] - t[1]) * n];
      }

      function c(t) {
        return !(!t || 0 === t.length) && t[0][0] === t[t.length - 1][0] && t[0][1] === t[t.length - 1][1];
      }

      function f(t) {
        return t[4];
      }

      function m(t, i) {
        t[4] = i;
      }

      function d(t) {
        return {
          rings: [[[t.xmin, t.ymin], [t.xmin, t.ymax], [t.xmax, t.ymax], [t.xmax, t.ymin], [t.xmin, t.ymin]]]
        };
      }

      Object.defineProperty(i, "__esModule", {
        value: !0
      }), i.deltaEncodePath = h, i.deltaEncodeMultipath = s, i.deltaDecodeGeometry = r, i.deltaEncodeGeometry = l, i.reverseMultipath = u, i.reversePath = P, i.getCoord2D = p, i.isClosedPath = c, i.getId = f, i.setId = m;

      var g = function () {
        function t(t, i, h, s) {
          this.acceptPolygon = i, this.acceptPolyline = h, this.geomUnitsPerPoint = s, this.pathCount = -1, this.pathIndex = -1, this.iteratePath = !1, t && (n.isPolygon(t) ? i && (this.multiPath = t.rings, this.isClosed = !0) : n.isPolyline(t) ? h && (this.multiPath = t.paths, this.isClosed = !1) : n.isExtent(t) && i && (this.multiPath = d(t).rings, this.isClosed = !0), this.multiPath && (this.pathCount = this.multiPath.length)), this.internalPlacement = new e.Placement();
        }

        return t.prototype.next = function () {
          if (!this.multiPath) return null;

          for (; this.iteratePath || this.pathIndex < this.pathCount - 1;) {
            this.iteratePath || this.pathIndex++;
            var t = this.processPath(this.multiPath[this.pathIndex]);
            if (t) return t;
          }

          return this.pathCount = -1, this.pathIndex = -1, this.multiPath = null, null;
        }, t;
      }();

      i.PathTransformationCursor = g;

      var x = function () {
        function t(t, i, n, e) {
          this.inputGeometries = t, this.acceptPolygon = i, this.acceptPolyline = n, this.geomUnitsPerPoint = e, this.pathCount = -1, this.pathIndex = -1, this.iteratePath = !1;
        }

        return t.prototype.next = function () {
          for (;;) {
            if (!this.multiPath) {
              for (var t = this.inputGeometries.next(); t;) {
                n.isPolygon(t) ? this.acceptPolygon && (this.multiPath = t.rings, this.isClosed = !0) : n.isPolyline(t) ? this.acceptPolyline && (this.multiPath = t.paths, this.isClosed = !1) : n.isExtent(t) && this.acceptPolygon && (this.multiPath = d(t).rings, this.isClosed = !0);
                {
                  if (this.multiPath) {
                    this.pathCount = this.multiPath.length, this.pathIndex = -1;
                    break;
                  }

                  t = this.inputGeometries.next();
                }
              }

              if (!this.multiPath) return null;
            }

            for (; this.iteratePath || this.pathIndex < this.pathCount - 1;) {
              this.iteratePath || this.pathIndex++;
              var i = this.processPath(this.multiPath[this.pathIndex]);
              if (i) return i;
            }

            this.pathCount = -1, this.pathIndex = -1, this.multiPath = null;
          }
        }, t;
      }();

      i.PathGeometryCursor = x;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMEffects.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMEffects.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMEffectsJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n(e) {
        return t.clone(e);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var o = function () {
        function e(e) {
          this._geometry = e;
        }

        return e.prototype.next = function () {
          var e = this._geometry;
          return this._geometry = null, e;
        }, e;
      }();

      r.SimpleGeometryCursor = o, r.clone = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMOperators.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMOperators.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMOperatorsJs(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, t) {
      function n(e) {
        return null;
      }

      function r(e) {
        return null;
      }

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

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMPlacements.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMPlacements.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMPlacementsJs(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 (t, e) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function () {
        function t() {
          this.setIdentity();
        }

        return t.prototype.setIdentity = function () {
          this.tx = 0, this.ty = 0, this.tz = 0, this.s = 1, this.rx = 0, this.ry = 0, this.rz = 0, this.rz_c = 1, this.rz_s = 0;
        }, t.prototype.setTranslate = function (t, e) {
          this.tx = t, this.ty = e;
        }, t.prototype.setTranslateZ = function (t) {
          this.tz = t;
        }, t.prototype.setRotateCS = function (t, e) {
          this.rz = void 0, this.rz_c = t, this.rz_s = e;
        }, t.prototype.setRotate = function (t) {
          this.rz = t, this.rz_c = void 0, this.rz_s = void 0;
        }, t.prototype.setRotateY = function (t) {
          this.ry = t;
        }, t.prototype.setScale = function (t) {
          this.s = t;
        }, t.prototype.setMeasure = function (t) {
          this.m = t;
        }, t;
      }();

      e.Placement = i;

      var o = function () {
        function t() {}

        return t.prototype.next = function () {
          return null;
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolDrawHelper.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMSymbolDrawHelper.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMSymbolDrawHelperJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../cim/CIMEffects */
    "./node_modules/arcgis-js-api/symbols/cim/CIMEffects.js"), __webpack_require__(
    /*! ../cim/CIMOperators */
    "./node_modules/arcgis-js-api/symbols/cim/CIMOperators.js"), __webpack_require__(
    /*! ../cim/CIMPlacements */
    "./node_modules/arcgis-js-api/symbols/cim/CIMPlacements.js"), __webpack_require__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/symbols/cim/Rect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, o, i, a, n, s, f, h) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.C_DEG_TO_RAD = Math.PI / 180;

      var c = i.getLogger("esri.symbols.cim.CIMSymbolDrawHelper"),
          l = function () {
        function t(t) {
          this._t = t;
        }

        return t.createIdentity = function () {
          return new t([1, 0, 0, 0, 1, 0]);
        }, t.prototype.clone = function () {
          return new t(this._t.slice());
        }, t.prototype.transform = function (t) {
          var r = this._t;
          return [r[0] * t[0] + r[1] * t[1] + r[2], r[3] * t[0] + r[4] * t[1] + r[5]];
        }, t.createScale = function (r, e) {
          return new t([r, 0, 0, 0, e, 0]);
        }, t.prototype.scale = function (t, r) {
          var e = this._t;
          return e[0] *= t, e[1] *= t, e[2] *= t, e[3] *= r, e[4] *= r, e[5] *= r, this;
        }, t.prototype.scaleRatio = function () {
          return Math.sqrt(this._t[0] * this._t[0] + this._t[1] * this._t[1]);
        }, t.createTranslate = function (r, e) {
          return new t([0, 0, r, 0, 0, e]);
        }, t.prototype.translate = function (t, r) {
          var e = this._t;
          return e[2] += t, e[5] += r, this;
        }, t.createRotate = function (r) {
          var e = Math.cos(r),
              o = Math.sin(r);
          return new t([e, -o, 0, o, e, 0]);
        }, t.prototype.rotate = function (r) {
          return this.multiply(t.createRotate(r));
        }, t.prototype.multiply = function (t) {
          var r = this._t,
              e = t._t,
              o = r[0] * e[0] + r[3] * e[1],
              i = r[1] * e[0] + r[4] * e[1],
              a = r[2] * e[0] + r[5] * e[1] + e[2],
              n = r[0] * e[3] + r[3] * e[4],
              s = r[1] * e[3] + r[4] * e[4],
              f = r[2] * e[3] + r[5] * e[4] + e[5];
          return r[0] = o, r[1] = i, r[2] = a, r[3] = n, r[4] = s, r[5] = f, this;
        }, t;
      }();

      r.Transformation = l;

      var p = function () {
        function t(t) {
          this._transfos = [], this._sizeTransfos = [], this._transfos.push(t || l.createIdentity()), this._sizeTransfos.push(t ? t.scaleRatio() : 1);
        }

        return t.prototype.transformPt = function (t) {
          return this._transfos[this._transfos.length - 1].transform(t);
        }, t.prototype.transformSize = function (t) {
          return t * this._sizeTransfos[this._sizeTransfos.length - 1];
        }, t.prototype.back = function () {
          return this._transfos[this._transfos.length - 1];
        }, t.prototype.push = function (t) {
          var r = t.scaleRatio();
          t.multiply(this.back()), this._transfos.push(t), this._sizeTransfos.push(this._sizeTransfos[this._sizeTransfos.length - 1] * r);
        }, t.prototype.pop = function () {
          this._transfos.splice(-1, 1), this._sizeTransfos.splice(-1, 1);
        }, t.prototype.drawSymbol = function (t, r) {
          if (t) switch (t.type) {
            case "CIMPointSymbol":
            case "CIMLineSymbol":
            case "CIMPolygonSymbol":
              this.drawMultiLayerSymbol(t, r);
          }
        }, t.prototype.drawMultiLayerSymbol = function (t, r) {
          if (t) {
            var e = t.symbolLayers;

            if (e) {
              var o = t.effects;

              if (o) {
                var i = this.executeEffects(o, r);
                if (i) for (var a = i.next(); a;) this.drawSymbolLayers(e, a), a = i.next();
              } else this.drawSymbolLayers(e, r);
            }
          }
        }, t.prototype.executeEffects = function (t, r) {
          for (var e = new n.SimpleGeometryCursor(r), o = t ? t.length : 0, i = 0; i < o; ++i) {
            var a = t[i];

            if (a) {
              var f = s.getEffectOperator(a);
              f && (e = f.execute(e, a, 96 / 72));
            }
          }

          return e;
        }, t.prototype.drawSymbolLayers = function (t, r) {
          for (var e = t.length; e--;) {
            var o = t[e];

            if (o && !1 !== o.enable) {
              var i = o.effects;

              if (i) {
                var a = this.executeEffects(i, r);
                if (a) for (var n = a.next(); n;) this.drawSymbolLayer(o, n), n = a.next();
              } else this.drawSymbolLayer(o, r);
            }
          }
        }, t.prototype.drawSymbolLayer = function (t, r) {
          switch (t.type) {
            case "CIMSolidFill":
              this.drawSolidFill(r, t.color);
              break;

            case "CIMSolidStroke":
              this.drawSolidStroke(r, t.color, t.width);
              break;

            case "CIMCharacterMarker":
            case "CIMPictureMarker":
            case "CIMVectorMarker":
              this.drawMarkerLayer(t, r);
          }
        }, t.prototype.drawMarkerLayer = function (t, r) {
          var e = t.markerPlacement;

          if (e) {
            var o = s.getPlacementOperator(e);

            if (o) {
              var i = o.execute(r, e, 96 / 72);
              if (i) for (var a = i.next(); a;) this.drawMarker(t, a), a = i.next();
            }
          } else {
            var n = new f.Placement();
            n.tx = r.x, n.ty = r.y, this.drawMarker(t, n);
          }
        }, t.prototype.drawMarker = function (t, r) {
          switch (t.type) {
            case "CIMCharacterMarker":
            case "CIMPictureMarker":
              this.drawPictureMarker(t, r);
              break;

            case "CIMVectorMarker":
              this.drawVectorMarker(t, r);
          }
        }, t.prototype.drawPictureMarker = function (t, r) {}, t.prototype.drawVectorMarker = function (t, e) {
          if (t) {
            var o = t.markerGraphics;

            if (o) {
              var i = t.size,
                  a = t.frame,
                  n = a ? a.ymax - a.ymin : 0,
                  s = i && n ? i / n : 1,
                  f = l.createIdentity();
              a && f.translate(.5 * -(a.xmax + a.xmin), .5 * -(a.ymax + a.ymin));
              var h = t.anchorPoint;

              if (h) {
                var p = h.x,
                    u = h.y;
                "Absolute" !== t.anchorPointUnits && a && (p *= a.xmax - a.xmin, u *= a.ymax - a.ymin), f.translate(-p, -u);
              }

              1 !== s && f.scale(s, s), t.rotation && f.rotate(t.rotation * r.C_DEG_TO_RAD), f.translate(t.offsetX || 0, t.offsetY || 0), f.translate(e.tx, e.ty), this.push(f);

              for (var y = 0, m = o; y < m.length; y++) {
                var v = m[y];
                v && v.symbol && v.geometry || c.error("Invalid marker graphic", v), this.drawSymbol(v.symbol, v.geometry);
              }

              this.pop();
            }
          }
        }, t;
      }();

      r.CIMSymbolDrawHelper = p;

      var u = function (t) {
        function r() {
          var r = t.call(this) || this;
          return r.reset(), r;
        }

        return e(r, t), r.prototype.reset = function () {
          this._xmin = this._ymin = 1 / 0, this._xmax = this._ymax = -1 / 0;
        }, r.prototype.envelope = function () {
          return new h["default"](this._xmin, this._ymin, this._xmax - this._xmin, this._ymax - this._ymin);
        }, r.prototype._merge = function (t, r) {
          t[0] - r < this._xmin && (this._xmin = t[0] - r), t[0] + r > this._xmax && (this._xmax = t[0] + r), t[1] - r < this._ymin && (this._ymin = t[1] - r), t[1] + r > this._ymax && (this._ymax = t[1] + r);
        }, r.prototype.drawSolidFill = function (t) {
          if (t && t.rings) for (var r = 0, e = t.rings; r < e.length; r++) {
            var o = e[r],
                i = o ? o.length : 0;

            if (i > 2) {
              this._merge(this.transformPt(o[0]), 0);

              for (var a = 1; a < i; ++a) this._merge(this.transformPt(o[a]), 0);
            }
          }
        }, r.prototype.drawSolidStroke = function (t, r, e) {
          var o,
              i = .5 * this.transformSize(e);
          if (o = a.isPolygon(t) ? t.rings : t.paths) for (var n = 0, s = o; n < s.length; n++) {
            var f = s[n],
                h = f ? f.length : 0;

            if (h > 1) {
              this._merge(this.transformPt(f[0]), i);

              for (var c = 1; c < h; ++c) this._merge(this.transformPt(f[c]), i);
            }
          }
        }, r;
      }(p);

      r.EnvDrawHelper = u;

      var y = function (t) {
        function r(r, e) {
          var o = t.call(this, e) || this;
          return o._ctx = r, o;
        }

        return e(r, t), r.prototype.drawSolidFill = function (t, r) {
          if (t && t.rings) {
            var e = this._ctx;
            e.fillStyle = "string" == typeof r ? r : "rgba(" + Math.round(r[0]) + "," + Math.round(r[1]) + "," + Math.round(r[2]) + "," + r[3] / 255 + ")", e.beginPath();

            for (var o = 0, i = t.rings; o < i.length; o++) {
              var a = i[o],
                  n = a ? a.length : 0;

              if (n > 2) {
                var s = this.transformPt(a[0]);
                e.moveTo(s[0], s[1]);

                for (var f = 1; f < n; ++f) s = this.transformPt(a[f]), e.lineTo(s[0], s[1]);

                e.closePath();
              }
            }

            e.fill("evenodd");
          }
        }, r.prototype.drawSolidStroke = function (t, r, e) {
          var o = this._ctx;
          o.strokeStyle = "string" == typeof r ? r : "rgba(" + Math.round(r[0]) + "," + Math.round(r[1]) + "," + Math.round(r[2]) + "," + r[3] / 255 + ")", o.lineWidth = this.transformSize(e) + .5, o.beginPath();
          var i,
              n = !1;
          a.isPolygon(t) ? (i = t.rings, n = !0) : i = t.paths;

          for (var s = 0, f = i; s < f.length; s++) {
            var h = f[s],
                c = h ? h.length : 0;

            if (c > 1) {
              var l = this.transformPt(h[0]);
              o.moveTo(l[0], l[1]);

              for (var p = 1; p < c; ++p) l = this.transformPt(h[p]), o.lineTo(l[0], l[1]);

              n && o.closePath();
            }
          }

          o.stroke();
        }, r;
      }(p);

      r.CanvasDrawHelper = y;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolHelper.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMSymbolHelper.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMSymbolHelperJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../cim/CIMCursor */
    "./node_modules/arcgis-js-api/symbols/cim/CIMCursor.js"), __webpack_require__(
    /*! ../cim/CIMEffects */
    "./node_modules/arcgis-js-api/symbols/cim/CIMEffects.js"), __webpack_require__(
    /*! ../cim/CIMOperators */
    "./node_modules/arcgis-js-api/symbols/cim/CIMOperators.js"), __webpack_require__(
    /*! ../cim/CIMPlacements */
    "./node_modules/arcgis-js-api/symbols/cim/CIMPlacements.js"), __webpack_require__(
    /*! ./CIMSymbolDrawHelper */
    "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolDrawHelper.js"), __webpack_require__(
    /*! ./packingUtils */
    "./node_modules/arcgis-js-api/symbols/cim/packingUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a, t, i, o, s, n, l, c, f) {
      function m(e, r) {
        switch (r.type) {
          case "CIMSymbolReference":
            var a = {
              type: "point",
              x: 0,
              y: 0
            };
            e.drawSymbol(r.symbol, a);
            break;

          case "CIMPointSymbol":
            var a = {
              type: "point",
              x: 0,
              y: 0
            };
            e.drawSymbol(r, a);
            break;

          case "CIMTextSymbol":
            break;

          case "CIMVectorMarker":
            var t = new l.Placement();
            e.drawMarker(r, t);
        }

        return e.envelope();
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var y = Math.PI,
          h = y / 2,
          v = t.getLogger("esri.symbols.cim.CIMSymbolHelper"),
          S = function () {
        function e() {}

        return e.getEnvelope = function (e) {
          var r = new c.EnvDrawHelper();

          if (Array.isArray(e)) {
            for (var a = void 0, t = 0, i = e; t < i.length; t++) {
              var o = i[t];
              a ? a.union(m(r, o)) : a = m(r, o);
            }

            return a;
          }

          return m(r, e);
        }, e.getTextureAnchor = function (e) {
          var r = this.getEnvelope(e);
          if (!r || r.width <= 0 || r.height <= 0) return [0, 0];
          var a = (r.x + .5 * r.width) * (96 / 72),
              t = -(r.y + .5 * r.height) * (96 / 72);
          return [a / (r.width * (96 / 72) + 2), t / (r.height * (96 / 72) + 2)];
        }, e.rasterize = function (e, r, a) {
          void 0 === a && (a = !0);
          var t = this.getEnvelope(r);
          if (!t || t.width <= 0 || t.height <= 0) return [null, 0, 0, 0, 0];
          var i = (t.x + .5 * t.width) * (96 / 72),
              o = (t.y + .5 * t.height) * (96 / 72);
          e.width = t.width * (96 / 72) + 2, e.height = t.height * (96 / 72) + 2;
          var s = e.getContext("2d"),
              n = c.Transformation.createScale(96 / 72, -96 / 72);
          n.translate(.5 * e.width - i, .5 * e.height + o);
          var f = new c.CanvasDrawHelper(s, n);

          switch (r.type) {
            case "CIMPointSymbol":
              var m = {
                type: "point",
                x: 0,
                y: 0
              };
              f.drawSymbol(r, m);
              break;

            case "CIMVectorMarker":
              var y = new l.Placement();
              f.drawMarker(r, y);
          }

          var h = s.getImageData(0, 0, e.width, e.height),
              v = new Uint8Array(h.data);
          if (a) for (var S = void 0, p = 0; p < v.length; p += 4) S = v[p + 3] / 255, v[p] = v[p] * S, v[p + 1] = v[p + 1] * S, v[p + 2] = v[p + 2] * S;
          return [v, e.width, e.height, -i / e.width, -o / e.height];
        }, e.fromSimpleMarker = function (e) {
          var r,
              a,
              t = e.style;

          if ("circle" === t || "esriSMSCircle" === t) {
            var i = Math.acos(.995),
                o = Math.ceil(y / i / 4);
            0 === o && (o = 1), i = h / o, o *= 4;
            var s = [];
            s.push([50, 0]);

            for (var n = 1; n < o; n++) s.push([50 * Math.cos(n * i), -50 * Math.sin(n * i)]);

            s.push([50, 0]), r = {
              rings: [s]
            }, a = {
              xmin: -50,
              ymin: -50,
              xmax: 50,
              ymax: 50
            };
          } else if ("cross" === t || "esriSMSCross" === t) {
            var l = 0;
            r = {
              rings: [[[l, 50], [l, l], [50, l], [50, -l], [l, -l], [l, -50], [-l, -50], [-l, -l], [-50, -l], [-50, l], [-l, l], [-l, 50], [l, 50]]]
            }, a = {
              xmin: -50,
              ymin: -50,
              xmax: 50,
              ymax: 50
            };
          } else if ("diamond" === t || "esriSMSDiamond" === t) r = {
            rings: [[[-50, 0], [0, 50], [50, 0], [0, -50], [-50, 0]]]
          }, a = {
            xmin: -50,
            ymin: -50,
            xmax: 50,
            ymax: 50
          };else if ("square" === t || "esriSMSSquare" === t) r = {
            rings: [[[-50, -50], [-50, 50], [50, 50], [50, -50], [-50, -50]]]
          }, a = {
            xmin: -50,
            ymin: -50,
            xmax: 50,
            ymax: 50
          };else if ("x" === t || "esriSMSX" === t) {
            var l = 0;
            r = {
              rings: [[[0, l], [50 - l, 50], [50, 50 - l], [l, 0], [50, l - 50], [50 - l, -50], [0, -l], [l - 50, -50], [-50, l - 50], [-l, 0], [-50, 50 - l], [l - 50, 50], [0, l]]]
            }, a = {
              xmin: -50,
              ymin: -50,
              xmax: 50,
              ymax: 50
            };
          } else if ("triangle" === t || "esriSMSTriangle" === t) {
            var c = 57.735026918962575,
                f = -c,
                m = 2 / 3 * 100 - 100;
            r = {
              rings: [[[f, m], [0, 2 / 3 * 100], [c, m], [f, m]]]
            }, a = {
              xmin: f,
              ymin: m,
              xmax: c,
              ymax: 2 / 3 * 100
            };
          }

          var v;

          if (r && a) {
            var S = [{
              type: "CIMSolidFill",
              enable: !0,
              color: e.color
            }];
            e.outline && S.push({
              type: "CIMSolidStroke",
              enable: !0,
              width: e.outline.width,
              color: e.outline.color
            });
            var p = {
              type: "CIMPolygonSymbol",
              symbolLayers: S
            };
            v = {
              type: "CIMPointSymbol",
              symbolLayers: [{
                type: "CIMVectorMarker",
                enable: !0,
                rotation: e.angle,
                size: e.size,
                offsetX: e.xoffset,
                offsetY: e.yoffset,
                frame: a,
                markerGraphics: [{
                  type: "CIMMarkerGraphic",
                  geometry: r,
                  symbol: p
                }]
              }]
            };
          }

          return v;
        }, e.getFillColor = function (r) {
          if (!r) return null;

          switch (r.type) {
            case "CIMPolygonSymbol":
              if (r.symbolLayers) for (var a = 0, t = r.symbolLayers; a < t.length; a++) {
                var i = t[a],
                    o = e.getFillColor(i);
                if (null != o) return o;
              }
              break;

            case "CIMTextSymbol":
              return e.getFillColor(r.symbol);

            case "CIMSolidFill":
              return r.color;
          }
        }, e.getStrokeColor = function (r) {
          if (r) switch (r.type) {
            case "CIMPolygonSymbol":
            case "CIMLineSymbol":
              if (r.symbolLayers) for (var a = 0, t = r.symbolLayers; a < t.length; a++) {
                var i = t[a],
                    o = e.getStrokeColor(i);
                if (void 0 !== o) return o;
              }
              break;

            case "CIMTextSymbol":
              return e.getStrokeColor(r.symbol);

            case "CIMSolidStroke":
              return r.color;
          }
        }, e.getStrokeWidth = function (r) {
          if (r) switch (r.type) {
            case "CIMPolygonSymbol":
            case "CIMLineSymbol":
              if (r.symbolLayers) for (var a = 0, t = r.symbolLayers; a < t.length; a++) {
                var i = t[a],
                    o = e.getStrokeWidth(i);
                if (void 0 !== o) return o;
              }
              break;

            case "CIMTextSymbol":
              return e.getStrokeWidth(r.symbol);

            case "CIMSolidStroke":
            case "CIMGradientStroke":
            case "CIMPictureStroke":
              return r.width;
          }
        }, e.getSize = function (r) {
          if (r) switch (r.type) {
            case "CIMPointSymbol":
            case "CIMLineSymbol":
            case "CIMPolygonSymbol":
              var a = 0;
              if (r.symbolLayers) for (var t = 0, i = r.symbolLayers; t < i.length; t++) {
                var o = i[t],
                    s = e.getSize(o);
                s > a && (a = s);
              }
              return a;

            case "CIMSolidStroke":
            case "CIMPictureStroke":
            case "CIMGradientStroke":
              return r.width;

            case "CIMCharacterMarker":
            case "CIMPictureMarker":
            case "CIMVectorMarker":
              return r.size;
          }
        }, e.getMarkerScaleRatio = function (e) {
          if (e) switch (e.type) {
            case "CIMVectorMarker":
              if (!1 !== e.scaleSymbolsProportionally && e.frame) {
                var r = e.frame.ymax - e.frame.ymin;
                return e.size / r;
              }

          }
          return 1;
        }, e.executeEffects = function (e, r, a) {
          void 0 === a && (a = !1);
          var t = e ? e.length : 0;
          t && a && --t;

          for (var i = 0; i < t; ++i) {
            var o = e[i];

            if (o) {
              var s = n.getEffectOperator(o);
              s && (r = s.execute(r, o, 96 / 72));
            }
          }

          return r;
        }, e.processEffects = function (r, a, t) {
          var n;

          if (r.effects && r.effects.length > 0) {
            var l = o.deltaEncodeGeometry(t);
            n = new s.SimpleGeometryCursor(l), n = e.executeEffects(r.effects, n);
          }

          var c = r.symbolLayers[a];

          if (c.effects && c.effects.length > 0) {
            var f = !1;

            if ("CIMGeometricEffectDashes" === c.effects[c.effects.length - 1].type && (f = !0), !n) {
              var l = o.deltaEncodeGeometry(t);
              n = new s.SimpleGeometryCursor(l);
            }

            n = e.executeEffects(c.effects, n, f);
          }

          if (!n) return t;

          for (var m = [], y = n.next(); y;) m.push(y), y = n.next();

          var h = m.length;

          switch (h) {
            case 0:
              return null;

            case 1:
              return o.deltaEncodeGeometry(m[0]);

            default:
              for (var v = m[0], S = 1; S < h; ++S) {
                var p = m[S];
                i.isPolygon(v) && i.isPolygon(p) && Array.prototype.push.apply(v.rings, p.rings), i.isPolyline(v) && i.isPolyline(p) && Array.prototype.push.apply(v.paths, p.paths);
              }

              return o.deltaEncodeGeometry(v);
          }
        }, e;
      }();

      r.CIMSymbolHelper = S;

      var p = function () {
        function e() {}

        return e.rasterizeSimpleFill = function (e, r) {
          "solid" !== r && "none" !== r && "esriSFSSolid" !== r && "esriSFSNull" !== r || console.error("Unexpected: style does not require rasterization");
          e.width = 8, e.height = 8;
          var a = e.getContext("2d");
          a.strokeStyle = "#FFFFFF", a.lineWidth = 1, a.beginPath(), "vertical" !== r && "cross" !== r && "esriSFSCross" !== r && "esriSFSVertical" !== r || (a.moveTo(0, 0), a.lineTo(0, 8)), "horizontal" !== r && "cross" !== r && "esriSFSCross" !== r && "esriSFSHorizontal" !== r || (a.moveTo(0, 0), a.lineTo(8, 0)), "forward-diagonal" !== r && "diagonal-cross" !== r && "esriSFSDiagonalCross" !== r && "esriSFSForwardDiagonal" !== r || (a.moveTo(0, 0), a.lineTo(8, 8)), "backward-diagonal" !== r && "diagonal-cross" !== r && "esriSFSBackwardDiagonal" !== r && "esriSFSDiagonalCross" !== r || (a.moveTo(8, 0), a.lineTo(0, 8)), a.stroke();

          for (var t, i = a.getImageData(0, 0, e.width, e.height), o = new Uint8Array(i.data), s = 0; s < o.length; s += 4) t = o[s + 3] / 255, o[s] = o[s] * t, o[s + 1] = o[s + 1] * t, o[s + 2] = o[s + 2] * t;

          return [o, e.width, e.height];
        }, e.rasterizeSimpleLine = function (e, r) {
          var a;

          switch (r) {
            case "butt":
              a = "Butt";
              break;

            case "square":
              a = "Square";
              break;

            default:
              a = "Round";
          }

          var t,
              i = "Butt" === a;

          switch (e) {
            case "dash":
            case "esriSLSDash":
              t = i ? [4, 3] : [3, 4];
              break;

            case "dash-dot":
            case "esriSLSDashDot":
              t = i ? [4, 3, 1, 3] : [3, 4, 0, 4];
              break;

            case "dot":
            case "esriSLSDot":
              t = i ? [1, 3] : [0, 4];
              break;

            case "long-dash":
            case "esriSLSLongDash":
              t = i ? [8, 3] : [7, 4];
              break;

            case "long-dash-dot":
            case "esriSLSLongDashDot":
              t = i ? [8, 3, 1, 3] : [7, 4, 0, 4];
              break;

            case "long-dash-dot-dot":
            case "esriSLSDashDotDot":
              t = i ? [8, 3, 1, 3, 1, 3] : [7, 4, 0, 4, 0, 4];
              break;

            case "short-dash":
            case "esriSLSShortDash":
              t = i ? [4, 1] : [3, 2];
              break;

            case "short-dash-dot":
            case "esriSLSShortDashDot":
              t = i ? [4, 1, 1, 1] : [3, 2, 0, 2];
              break;

            case "short-dash-dot-dot":
            case "esriSLSShortDashDotDot":
              t = i ? [4, 1, 1, 1, 1, 1] : [3, 2, 0, 2, 0, 2];
              break;

            case "short-dot":
            case "esriSLSShortDot":
              t = i ? [1, 1] : [0, 2];
              break;

            case "solid":
            case "esriSLSSolid":
            case "none":
              v.error("Unexpected: style does not require rasterization"), t = [0, 0];
              break;

            default:
              v.error("Tried to rasterize SLS, but found an unexpected style: " + e + "!"), t = [0, 0];
          }

          return this.rasterizeDash(t, a);
        }, e.rasterizeDash = function (e, r) {
          for (var a = "Butt" === r, t = "Square" === r, i = !a && !t, o = 0, s = 0, n = e; s < n.length; s++) {
            var l = n[s];
            o += l;
          }

          for (var c = 15 * o, m = 31 * c, y = new Float32Array(m), h = i ? 225 : 15, v = 0; v < m; ++v) y[v] = h;

          for (var S = 0, p = 0, u = !0, d = 0, M = e; d < M.length; d++) {
            var l = M[d];
            S = p, p += 15 * l;

            for (var g = S; g < p;) {
              for (var b = 0; b < 31;) {
                var v = b * c + g,
                    C = i ? (b - 15) * (b - 15) : Math.abs(b - 15);
                y[v] = u ? a ? Math.max(Math.max(S + 7.5 - g, C), Math.max(g - p + 7.5, C)) : C : i ? Math.min((g - S) * (g - S) + C, (g - p) * (g - p) + C) : t ? Math.min(Math.max(g - S, C), Math.max(p - g, C)) : Math.min(Math.max(g - S + 7.5, C), Math.max(p + 7.5 - g, C)), b++;
              }

              g++;
            }

            u = !u;
          }

          for (var k = y.length, I = new Uint8Array(4 * k), v = 0; v < k; ++v) {
            var x = (i ? Math.sqrt(y[v]) : y[v]) / 15;
            f.packFloatRGBA(x, I, 4 * v);
          }

          return [I, c, 31];
        }, e;
      }();

      r.SymbolHelper = p;

      var u = function () {
        function e() {}

        return e.findApplicableOverrides = function (r, a, t) {
          if (a) {
            if (r.primitiveName) {
              for (var i = !1, o = 0, s = t; o < s.length; o++) {
                var n = s[o];

                if (n.primitiveName === r.primitiveName) {
                  i = !0;
                  break;
                }
              }

              if (!i) for (var l = 0, c = a; l < c.length; l++) {
                var n = c[l];
                n.primitiveName === r.primitiveName && t.push(n);
              }
            }

            switch (r.type) {
              case "CIMPointSymbol":
              case "CIMLineSymbol":
              case "CIMPolygonSymbol":
                if (r.effects) for (var f = 0, m = r.effects; f < m.length; f++) {
                  var y = m[f];
                  e.findApplicableOverrides(y, a, t);
                }
                if (r.symbolLayers) for (var h = 0, v = r.symbolLayers; h < v.length; h++) {
                  var S = v[h];
                  e.findApplicableOverrides(S, a, t);
                }
                break;

              case "CIMTextSymbol":
                break;

              case "CIMSolidStroke":
              case "CIMPictureStroke":
              case "CIMGradientStroke":
              case "CIMSolidFill":
              case "CIMPictureFill":
              case "CIMHatchFill":
              case "CIMGradientFill":
              case "CIMVectorMarker":
              case "CIMCharacterMarker":
              case "CIMPictureMarker":
                if (r.effects) for (var p = 0, u = r.effects; p < u.length; p++) {
                  var y = u[p];
                  e.findApplicableOverrides(y, a, t);
                }

                if (r.markerPlacement && e.findApplicableOverrides(r.markerPlacement, a, t), "CIMVectorMarker" === r.type) {
                  if (r.markerGraphics) for (var d = 0, M = r.markerGraphics; d < M.length; d++) {
                    var g = M[d];
                    e.findApplicableOverrides(g, a, t), e.findApplicableOverrides(g.symbol, a, t);
                  }
                } else "CIMCharacterMarker" === r.type ? e.findApplicableOverrides(r.symbol, a, t) : "CIMHatchFill" === r.type && e.findApplicableOverrides(r.lineSymbol, a, t);

            }
          }
        }, e.applyOverrides = function (r, a, t, i) {
          if (a) {
            if (r.primitiveName) for (var o = 0, s = a; o < s.length; o++) {
              var n = s[o];

              if (n.primitiveName === r.primitiveName) {
                var l = function (e) {
                  return e ? e.charAt(0).toLowerCase() + e.substr(1) : e;
                }(n.propertyName);

                if (i && i.push({
                  cim: r,
                  nocapPropertyName: l,
                  value: r[l]
                }), n.expression && (n.value = e.toValue(n.propertyName, n.expression)), t) {
                  for (var c = !1, f = 0, m = t; f < m.length; f++) {
                    var y = m[f];
                    y.primitiveName === r.primitiveName && (c = !0);
                  }

                  c || t.push(n);
                }

                r[l] = n.value;
              }
            }

            switch (r.type) {
              case "CIMPointSymbol":
              case "CIMLineSymbol":
              case "CIMPolygonSymbol":
                if (r.effects) for (var h = 0, v = r.effects; h < v.length; h++) {
                  var S = v[h];
                  e.applyOverrides(S, a, t, i);
                }
                if (r.symbolLayers) for (var p = 0, u = r.symbolLayers; p < u.length; p++) {
                  var d = u[p];
                  e.applyOverrides(d, a, t, i);
                }
                break;

              case "CIMTextSymbol":
                break;

              case "CIMSolidStroke":
              case "CIMSolidFill":
              case "CIMVectorMarker":
                if (r.effects) for (var M = 0, g = r.effects; M < g.length; M++) {
                  var S = g[M];
                  e.applyOverrides(S, a, t, i);
                }
                if ("CIMVectorMarker" === r.type && r.markerGraphics) for (var b = 0, C = r.markerGraphics; b < C.length; b++) {
                  var k = C[b];
                  e.applyOverrides(k, a, t, i), e.applyOverrides(k.symbol, a, t, i);
                }
            }
          }
        }, e.restoreOverrides = function (e) {
          for (var r = 0, a = e; r < a.length; r++) {
            var t = a[r];
            t.cim[t.nocapPropertyName] = t.value;
          }
        }, e.buildOverrideKey = function (e) {
          for (var r = "", a = 0, t = e; a < t.length; a++) {
            var i = t[a];
            void 0 !== i.value && (r += "" + i.primitiveName + i.propertyName + JSON.stringify(i.value));
          }

          return r;
        }, e.toValue = function (e, r) {
          if ("DashTemplate" === e) return r.split(" ").map(function (e) {
            return Number(e);
          });

          if ("Color" === e) {
            var t = new a(r).toRgba();
            return t[3] *= 255, t;
          }

          return r;
        }, e;
      }();

      r.OverrideHelper = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolRasterizer.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/CIMSymbolRasterizer.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCIMSymbolRasterizerJs(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__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ./cimAnalyzer */
    "./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js"), __webpack_require__(
    /*! ./Rasterizer */
    "./node_modules/arcgis-js-api/symbols/cim/Rasterizer.js"), __webpack_require__(
    /*! ./TextRasterizer */
    "./node_modules/arcgis-js-api/symbols/cim/TextRasterizer.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/symbols/cim/utils.js"), __webpack_require__(
    /*! ../support/cimSymbolUtils */
    "./node_modules/arcgis-js-api/symbols/support/cimSymbolUtils.js"), __webpack_require__(
    /*! ../support/Symbol3DAnchorPosition2D */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition2D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, r, i, n, o, s, l, c, u, h, p, m) {
      function g(e, t, a) {
        return {
          geometryType: t,
          spatialReference: a,
          fields: (e ? Object.keys(e) : []).map(function (t) {
            return {
              name: t,
              alias: t,
              type: "string" == typeof e[t] ? "esriFieldTypeString" : "esriFieldTypeDouble"
            };
          })
        };
      }

      return function () {
        function e(e, t) {
          this._spatialReference = e, this._avoidSDF = t, this._resourceCache = new Map(), this._rasterizer = new c["default"](), this._textRasterizer = new u["default"](), this._pictureMarkerCache = new Map();
        }

        return e.prototype.rasterizeCIMSymbolAsync = function (e, t, i, o, c, u) {
          return r(this, void 0, void 0, function () {
            var r, h, m, f, v, d, y, z, b, _;

            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return [4, p.expandSymbol(e)];

                case 1:
                  return r = a.sent(), h = [], t ? (f = null !== t.centroid ? "esriGeometryPolygon" : s.getJsonType(t.geometry), m = g(t.attributes, f, this._spatialReference)) : (r = r.clone(), r.data.primitiveOverrides = [], m = null), v = [], v.push(l.analyzeCIMSymbol(r.data, i, m, h, this._avoidSDF)), [4, n.all(v)];

                case 2:
                  a.sent(), d = [], y = 0, z = h, a.label = 3;

                case 3:
                  return y < z.length ? (b = z[y], "CIMPictureMarker" !== b.cim.type ? [3, 5] : [4, this.fetchPictureMarkerResource(b)]) : [3, 7];

                case 4:
                  a.sent(), a.label = 5;

                case 5:
                  _ = this._getRasterizedResource(b, t, o, c, u), null != _ && d.push({
                    cimLayer: b,
                    rasterizedResource: _
                  }), a.label = 6;

                case 6:
                  return y++, [3, 3];

                case 7:
                  return [2, this.getSymbolImage(d, t, o, c, u)];
              }
            });
          });
        }, e.prototype.analyzeCIMSymbol = function (e, t, i, o, s) {
          return r(this, void 0, void 0, function () {
            var r, c, u, h, m, f;
            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return [4, p.expandSymbol(e, s)];

                case 1:
                  return r = a.sent(), c = [], t ? u = g(t, o, this._spatialReference) : (r = r.clone(), r.data.primitiveOverrides = [], u = null), h = [], h.push(l.analyzeCIMSymbol(r.data, i, u, c, this._avoidSDF)), [4, n.all(h)];

                case 2:
                  a.sent(), n.throwIfAborted(s), m = 0, a.label = 3;

                case 3:
                  return m < c.length ? (f = c[m], "CIMPictureMarker" !== f.cim.type ? [3, 5] : [4, this.fetchPictureMarkerResource(f, s)]) : [3, 6];

                case 4:
                  a.sent(), a.label = 5;

                case 5:
                  return m++, [3, 3];

                case 6:
                  return [2, c];
              }
            });
          });
        }, e.prototype.fetchPictureMarkerResource = function (e, t) {
          return r(this, void 0, void 0, function () {
            var r, n, o;
            return a(this, function (a) {
              switch (a.label) {
                case 0:
                  return r = e.materialHash, this._pictureMarkerCache.get(r) ? [3, 2] : [4, i(e.cim.url, {
                    responseType: "image",
                    signal: t.signal
                  })];

                case 1:
                  n = a.sent(), o = n.data, this._pictureMarkerCache.set(r, o), a.label = 2;

                case 2:
                  return [2];
              }
            });
          });
        }, e.prototype.rasterizeCIMSymbol = function (e, t, a, r, i) {
          for (var n = [], o = 0, s = e; o < s.length; o++) {
            var l = s[o];
            !a || "function" != typeof a.scaleFactor || "marker" !== l.type && "text" !== l.type || (a.scaleFactor = a.scaleFactor(t, r, i));

            var c = this._getRasterizedResource(l, t, a, r, i);

            null != c && n.push({
              cimLayer: l,
              rasterizedResource: c
            });
          }

          return this.getSymbolImage(n, t, a, r, i);
        }, e.prototype.getSymbolImage = function (e, t, a, r, i) {
          for (var n = document.createElement("canvas"), s = n.getContext("2d"), l = 0, c = 0, u = 0, p = 0, g = [], f = 0; f < e.length; f++) {
            var v = e[f],
                d = v.rasterizedResource;

            if (d) {
              var y = v.cimLayer;

              if ("line" !== y.type && "fill" !== y.type) {
                var z = a.targetSize ? a.targetSize / y.referenceSize : a.scaleFactor ? a.scaleFactor : 1,
                    b = d.size,
                    _ = h.evaluateValueOrFunction(y.offsetX, t, r, i) * z,
                    C = h.evaluateValueOrFunction(y.offsetY, t, r, i) * z;

                _ = _ || 0, C = C || 0;
                var F = v.rasterizedResource.anchorX,
                    S = v.rasterizedResource.anchorY,
                    x = !1,
                    w = y.type,
                    M = void 0;

                if ("marker" === y.type && (M = h.evaluateValueOrFunction(y.rotation, t, r, i), x = !!y.rotateClockwise && y.rotateClockwise), "text" === y.type) {
                  if (M = h.evaluateValueOrFunction(y.angle, t, r, i), void 0 !== y.horizontalAlignment) switch (y.horizontalAlignment) {
                    case "left":
                      F = -.5;
                      break;

                    case "right":
                      F = .5;
                      break;

                    default:
                      F = 0;
                  }
                  if (void 0 !== y.verticalAlignment) switch (y.verticalAlignment) {
                    case "top":
                      S = .5;
                      break;

                    case "bottom":
                      S = -.5;
                      break;

                    case "baseline":
                      S = -.25;
                      break;

                    default:
                      S = 0;
                  }
                }

                var I = o.pt2px(_) - b[0] * (.5 + F),
                    R = o.pt2px(C) - b[1] * (.5 + S),
                    O = I + b[0],
                    k = R + b[1];

                if (M) {
                  x && (M = -M);
                  var D = Math.sin(M * Math.PI / 180),
                      A = Math.cos(M * Math.PI / 180),
                      P = I * A - R * D,
                      V = I * D + R * A,
                      T = I * A - k * D,
                      X = I * D + k * A,
                      Y = O * A - k * D,
                      H = O * D + k * A,
                      U = O * A - R * D,
                      E = O * D + R * A;
                  I = Math.min(P, T, Y, U), R = Math.min(V, X, H, E), O = Math.max(P, T, Y, U), k = Math.max(V, X, H, E);
                }

                l = I < l ? I : l, c = R < c ? R : c, u = O > u ? O : u, p = k > p ? k : p;
                var J = s.createImageData(d.size[0], d.size[1]);
                J.data.set(new Uint8ClampedArray(d.image.buffer));
                var L = J,
                    N = {
                  offsetX: _,
                  offsetY: C,
                  rotateClockwise: x,
                  type: w,
                  angle: M,
                  rasterizedImage: L,
                  anchorX: F,
                  anchorY: S
                };
                g.push(N);
              }
            }
          }

          n.width = u - l, n.height = p - c;

          for (var j = -l, q = p, f = 0; f < g.length; f++) {
            var N = g[f],
                G = this._imageDataToCanvas(N.rasterizedImage),
                B = N.rasterizedImage.width,
                K = N.rasterizedImage.height,
                Q = j - B * (.5 + N.anchorX),
                W = q - K * (.5 - N.anchorY);

            if (N.angle) {
              var Z = (360 - N.angle) * Math.PI / 180;
              s.save(), s.translate(o.pt2px(N.offsetX), -o.pt2px(N.offsetY)), s.translate(j, q), s.rotate(Z), s.translate(-j, -q), s.drawImage(G, Q, W), s.restore();
            } else s.drawImage(G, Q + o.pt2px(N.offsetX), W - o.pt2px(N.offsetY));
          }

          var $ = new m["default"]({
            x: j / n.width - .5,
            y: q / n.height - .5
          });
          return {
            imageData: s.getImageData(0, 0, n.width, n.height),
            anchorPosition: $
          };
        }, e.prototype._imageDataToCanvas = function (e) {
          this._imageDataCanvas || (this._imageDataCanvas = document.createElement("canvas"));
          var t = this._imageDataCanvas,
              a = t.getContext("2d");
          return t.width = e.width, t.height = e.height, a.putImageData(e, 0, 0), t;
        }, e.prototype._imageTo32Array = function (e, t, a) {
          this._imageDataCanvas || (this._imageDataCanvas = document.createElement("canvas"));
          var r = this._imageDataCanvas,
              i = r.getContext("2d");
          return r.width = t, r.height = a, i.drawImage(e, 0, 0, t, a), new Uint32Array(i.getImageData(0, 0, t, a).data.buffer);
        }, e.prototype._getRasterizedResource = function (e, t, a, r, i) {
          var n, s;
          if ("text" === e.type) n = e.cim, s = this._rasterizeTextResource(e, t, a, r, i);else {
            var c = this._resourceCache,
                u = void 0;

            if ("function" == typeof e.materialHash) {
              u = (0, e.materialHash)(t, r, i), n = l.analyzeCIMResource(e.cim, e.materialOverrides);
            } else u = e.materialHash, a && (u += JSON.stringify(a)), n = e.cim;

            if (c.has(u)) return c.get(u);
            var p = a.targetSize ? a.targetSize / e.referenceSize : a.scaleFactor ? a.scaleFactor : 1;

            if (n.size *= p, "CIMPictureMarker" === e.cim.type) {
              var m = h.evaluateValueOrFunction(e.cim.size, t, r, i) * p,
                  g = this._pictureMarkerCache.get(e.materialHash);

              if (!g) return null;
              var f = g.height / g.width,
                  v = f > 1 ? o.pt2px(m) : o.pt2px(m) / f,
                  d = f > 1 ? o.pt2px(m) * f : o.pt2px(m);
              s = {
                image: this._imageTo32Array(g, v, d),
                size: [v, d],
                sdf: !1,
                simplePattern: !1,
                anchorX: e.anchorPoint ? e.anchorPoint.x : 0,
                anchorY: e.anchorPoint ? e.anchorPoint.y : 0
              };
            } else s = this._rasterizer.rasterizeJSONResource(n, this._avoidSDF);

            c.set(u, s);
          }
          return s;
        }, e.prototype._rasterizeTextResource = function (e, t, a, r, i) {
          var n = a.targetSize ? a.targetSize / e.referenceSize : a.scaleFactor ? a.scaleFactor : 1,
              o = h.evaluateValueOrFunction(e.text, t, r, i);
          if (!o || 0 === o.length) return null;
          var s = h.evaluateValueOrFunction(e.fontName, t, r, i),
              l = h.evaluateValueOrFunction(e.style, t, r, i),
              c = h.evaluateValueOrFunction(e.weight, t, r, i),
              u = h.evaluateValueOrFunction(e.decoration, t, r, i),
              p = h.evaluateValueOrFunction(e.size, t, r, i) * n,
              m = h.evaluateValueOrFunction(e.horizontalAlignment, t, r, i),
              g = h.evaluateValueOrFunction(e.verticalAlignment, t, r, i),
              f = h.colorToArray(h.evaluateValueOrFunction(e.color, t, r, i)),
              v = h.colorToArray(h.evaluateValueOrFunction(e.outlineColor, t, r, i)),
              d = h.evaluateValueOrFunction(e.outlineSize, t, r, i),
              y = {
            color: f,
            size: p,
            horizontalAlignment: m,
            verticalAlignment: g,
            font: {
              family: s,
              style: l,
              weight: c,
              decoration: u
            },
            halo: {
              size: d || 0,
              color: v,
              style: l
            },
            pixelRatio: 1,
            premultiplyColors: !this._avoidSDF
          };
          return this._textRasterizer.rasterizeText(o, y);
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/Rasterizer.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/Rasterizer.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimRasterizerJs(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__(
    /*! ./CIMSymbolHelper */
    "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolHelper.js"), __webpack_require__(
    /*! ./SDFHelper */
    "./node_modules/arcgis-js-api/symbols/cim/SDFHelper.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/symbols/cim/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var n = function () {
        function e() {}

        return e.prototype.dispose = function () {
          this._rasterizationCanvas = null;
        }, e.prototype.rasterizeJSONResource = function (e, r) {
          if (this._rasterizationCanvas || (this._rasterizationCanvas = document.createElement("canvas")), "simple-fill" === e.type || "esriSFS" === e.type) {
            var i = t.SymbolHelper.rasterizeSimpleFill(this._rasterizationCanvas, e.style),
                n = i[0];
            return {
              size: [i[1], i[2]],
              image: new Uint32Array(n.buffer),
              sdf: !1,
              simplePattern: !0,
              anchorX: 0,
              anchorY: 0
            };
          }

          if ("simple-line" === e.type || "esriSLS" === e.type) {
            var o = t.SymbolHelper.rasterizeSimpleLine(e.style, e.cap),
                s = o[0];
            return {
              size: [o[1], o[2]],
              image: new Uint32Array(s.buffer),
              sdf: !0,
              simplePattern: !0,
              anchorX: 0,
              anchorY: 0
            };
          }

          var l, h;

          if ("simple-marker" === e.type || "esriSMS" === e.type ? (l = t.CIMSymbolHelper.fromSimpleMarker(e), h = a.getSDFInfo(l)) : (l = e, h = a.getSDFInfo(l)), h && !r) {
            var f = a.buildSDF(h),
                p = f[0],
                u = f[1],
                m = f[2];
            return p ? {
              size: [u, m],
              image: new Uint32Array(p.buffer),
              sdf: !0,
              simplePattern: !0,
              anchorX: 0,
              anchorY: 0
            } : null;
          }

          var d = t.CIMSymbolHelper.rasterize(this._rasterizationCanvas, l, !r),
              v = d[0],
              c = d[1],
              y = d[2],
              g = d[3],
              C = d[4];
          return v ? {
            size: [c, y],
            image: new Uint32Array(v.buffer),
            sdf: !1,
            simplePattern: !1,
            anchorX: g,
            anchorY: C
          } : null;
        }, e.prototype.rasterizeImageResource = function (e, r) {
          this._rasterizationCanvas || (this._rasterizationCanvas = document.createElement("canvas"));
          var t = e;
          this._rasterizationCanvas.width = t.width, this._rasterizationCanvas.height = t.height;

          var a = this._rasterizationCanvas.getContext("2d");

          a.drawImage(t, 0, 0, t.width, t.height);
          var n = a.getImageData(0, 0, t.width, t.height),
              o = new Uint8Array(n.data);
          if (r) for (var s = 0, l = r; s < l.length; s++) {
            var h = l[s];

            if (h && h.oldColor && 4 === h.oldColor.length && h.newColor && 4 === h.newColor.length) {
              var f = h.oldColor,
                  p = f[0],
                  u = f[1],
                  m = f[2],
                  d = f[3],
                  v = h.newColor,
                  c = v[0],
                  y = v[1],
                  g = v[2],
                  C = v[3];
              if (p === c && u === y && m === g && d === C) continue;

              for (var z = 0; z < o.length; z += 4) p === o[z] && u === o[z + 1] && m === o[z + 2] && d === o[z + 3] && (o[z] = c, o[z + 1] = y, o[z + 2] = g, o[z + 3] = C);
            }
          }

          for (var w, z = 0; z < o.length; z += 4) w = o[z + 3] / 255, o[z] = o[z] * w, o[z + 1] = o[z + 1] * w, o[z + 2] = o[z + 2] * w;

          var S = t.width,
              b = t.height,
              _ = o;

          if (S >= 512 || b >= 512) {
            var A = t.width / t.height;
            A > 1 ? (S = 512, b = Math.round(512 / A)) : (b = 512, S = Math.round(512 * A)), _ = new Uint8Array(4 * S * b), i.resampleHermite(o, t.width, t.height, new Uint8ClampedArray(_.buffer), S, b, !1);
          }

          return {
            size: [S, b],
            image: new Uint32Array(_.buffer),
            sdf: !1,
            simplePattern: !1,
            anchorX: 0,
            anchorY: 0
          };
        }, e;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/Rect.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/Rect.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimRectJs(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 (t, i) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var h = function () {
        function t(t, i, h, e) {
          void 0 === t && (t = 0), void 0 === i && (i = 0), void 0 === h && (h = 0), void 0 === e && (e = 0), this.x = t, this.y = i, this.width = h, this.height = e;
        }

        return Object.defineProperty(t.prototype, "isEmpty", {
          get: function get() {
            return this.width <= 0 || this.height <= 0;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.union = function (t) {
          this.x = Math.min(this.x, t.x), this.y = Math.min(this.y, t.y), this.width = Math.max(this.width, t.width), this.height = Math.max(this.height, t.height);
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/SDFHelper.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/SDFHelper.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimSDFHelperJs(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/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ./packingUtils */
    "./node_modules/arcgis-js-api/symbols/cim/packingUtils.js"), __webpack_require__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/symbols/cim/Rect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, n, a, t, o) {
      function e(r) {
        if (!r) return null;

        switch (r.type) {
          case "CIMPointSymbol":
            var n = r.symbolLayers;
            return n && 1 === n.length ? e(n[0]) : null;

          case "CIMVectorMarker":
            var a = r.markerGraphics;
            if (!a || 1 !== a.length) return null;
            var t = a[0];
            if (!t) return null;
            var o = t.geometry;
            if (!o) return null;
            var i = t.symbol;
            return !i || "CIMPolygonSymbol" !== i.type && "CIMLineSymbol" !== i.type ? null : {
              geom: o,
              asFill: "CIMPolygonSymbol" === i.type
            };

          case "sdf":
            return {
              geom: r.geom,
              asFill: r.asFill
            };
        }

        return null;
      }

      function i(r) {
        var n = r.markerGraphics;
        if (!n || 1 !== n.length) return null;
        var a = n[0];
        if (!a) return null;
        var t = a.symbol;
        return !t || "CIMPolygonSymbol" !== t.type && "CIMLineSymbol" !== t.type ? null : t;
      }

      function l(r) {
        return r ? r.rings ? r.rings : r.paths ? r.paths : void 0 !== r.xmin && void 0 !== r.ymin && void 0 !== r.xmax && void 0 !== r.ymax ? [[[r.xmin, r.ymin], [r.xmin, r.ymax], [r.xmax, r.ymax], [r.xmax, r.ymin], [r.xmin, r.ymin]]] : null : null;
      }

      function v(r) {
        for (var n = 1 / 0, a = -1 / 0, t = 1 / 0, e = -1 / 0, i = 0, l = r; i < l.length; i++) for (var v = l[i], f = 0, u = v; f < u.length; f++) {
          var m = u[f];
          m[0] < n && (n = m[0]), m[0] > a && (a = m[0]), m[1] < t && (t = m[1]), m[1] > e && (e = m[1]);
        }

        return new o["default"](n, t, a - n, e - t);
      }

      function f(r) {
        for (var n = 1 / 0, a = -1 / 0, t = 1 / 0, o = -1 / 0, e = 0, i = r; e < i.length; e++) for (var l = i[e], v = 0, f = l; v < f.length; v++) {
          var u = f[v];
          u[0] < n && (n = u[0]), u[0] > a && (a = u[0]), u[1] < t && (t = u[1]), u[1] > o && (o = u[1]);
        }

        return [n, t, a, o];
      }

      function u(r) {
        return r ? r.rings ? f(r.rings) : r.paths ? f(r.paths) : a.isExtent(r) ? [r.xmin, r.ymin, r.xmax, r.ymax] : null : null;
      }

      function m(r, n, a, t, o) {
        var e = r[0],
            i = r[1],
            l = r[2],
            v = r[3];
        if (l < e || v < i) return [0, 0, 0];
        var f = l - e,
            u = v - i,
            m = Math.floor(31.5),
            h = 128 - 2 * (m + 1),
            y = Math.max(f, u),
            x = h / y,
            s = Math.round(f * x),
            g = Math.round(u * x),
            M = s + 2 * m,
            d = g + 2 * m,
            c = 1;

        if (n) {
          c = d / x / (n.ymax - n.ymin);
        }

        var p = 0,
            b = 0;
        if (t) if (o) {
          if (n && a && n.ymax - n.ymin > 0) {
            var S = (n.xmax - n.xmin) / (n.ymax - n.ymin);
            p = t.x / (a * S), b = t.y / a;
          }
        } else p = t.x, b = t.y;
        return p = .5 * (n.xmax + n.xmin) + p * (n.xmax - n.xmin), b = .5 * (n.ymax + n.ymin) + b * (n.ymax - n.ymin), p -= e, b -= i, p *= x, b *= x, p += m, b += m, [c, p / M - .5, -(b / d - .5)];
      }

      function h(r) {
        for (var n = l(r.geom), a = v(n), t = Math.floor(31.5), o = 128 - 2 * (t + 1), e = Math.max(a.width, a.height), i = o / e, f = Math.round(a.width * i), u = Math.round(a.height * i), m = f + 2 * t, h = u + 2 * t, g = [], M = 0, d = n; M < d.length; M++) {
          var c = d[M];

          if (c && c.length > 1) {
            for (var p = [], b = 0, S = c; b < S.length; b++) {
              var F = S[b],
                  I = F[0],
                  C = F[1];
              I -= a.x, C -= a.y, I *= i, C *= i, I += t - .5, C += t - .5, p.push([I, C]);
            }

            if (r.asFill) {
              var w = p.length - 1;
              p[0][0] === p[w][0] && p[0][1] === p[w][1] || p.push(p[0]);
            }

            g.push(p);
          }
        }

        var k = y(g, m, h, t);
        return r.asFill && x(g, m, h, t, k), [s(k, t), m, h];
      }

      function y(r, n, a, t) {
        for (var o = n * a, e = new Array(o), i = t * t + 1, l = 0; l < o; ++l) e[l] = i;

        for (var v = 0, f = r; v < f.length; v++) for (var u = f[v], m = u.length, l = 1; l < m; ++l) {
          var h = u[l - 1],
              y = u[l],
              x = void 0,
              s = void 0;
          h[0] < y[0] ? (x = h[0], s = y[0]) : (x = y[0], s = h[0]);
          var g = void 0,
              M = void 0;
          h[1] < y[1] ? (g = h[1], M = y[1]) : (g = y[1], M = h[1]);
          var d = Math.floor(x) - t,
              c = Math.floor(s) + t,
              p = Math.floor(g) - t,
              b = Math.floor(M) + t;
          d < 0 && (d = 0), c > n && (c = n), p < 0 && (p = 0), b > a && (b = a);

          for (var S = y[0] - h[0], F = y[1] - h[1], I = S * S + F * F, C = d; C < c; C++) for (var w = p; w < b; w++) {
            var k = (C - h[0]) * S + (w - h[1]) * F,
                P = void 0,
                D = void 0;
            k < 0 ? (P = h[0], D = h[1]) : k > I ? (P = y[0], D = y[1]) : (k /= I, P = h[0] + k * S, D = h[1] + k * F);
            var A = (C - P) * (C - P) + (w - D) * (w - D),
                G = (a - w - 1) * n + C;
            A < e[G] && (e[G] = A);
          }
        }

        for (var l = 0; l < o; ++l) e[l] = Math.sqrt(e[l]);

        return e;
      }

      function x(r, n, a, t, o) {
        for (var e = 0, i = r; e < i.length; e++) for (var l = i[e], v = l.length, f = 1; f < v; ++f) {
          var u = l[f - 1],
              m = l[f],
              h = void 0,
              y = void 0;
          u[0] < m[0] ? (h = u[0], y = m[0]) : (h = m[0], y = u[0]);
          var x = void 0,
              s = void 0;
          u[1] < m[1] ? (x = u[1], s = m[1]) : (x = m[1], s = u[1]);
          var g = Math.floor(h),
              M = Math.floor(y) + 1,
              d = Math.floor(x),
              c = Math.floor(s) + 1;
          g < t && (g = t), M > n - t && (M = n - t), d < t && (d = t), c > a - t && (c = a - t);

          for (var p = d; p < c; ++p) if (u[1] > p != m[1] > p) {
            for (var b = (a - p - 1) * n, S = g; S < M; ++S) S < (m[0] - u[0]) * (p - u[1]) / (m[1] - u[1]) + u[0] && (o[b + S] = -o[b + S]);

            for (var S = t; S < g; ++S) o[b + S] = -o[b + S];
          }
        }
      }

      function s(r, n) {
        for (var a = 2 * n, o = r.length, e = new Uint8Array(4 * o), i = 0; i < o; ++i) {
          var l = .5 - r[i] / a;
          t.packFloatRGBA(l, e, 4 * i);
        }

        return e;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.getSDFInfo = e, n.getSDFSymbol = i, n.getExtent = u, n.getSDFMetrics = m, n.buildSDF = h;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/TextRasterizer.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/TextRasterizer.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimTextRasterizerJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i) {
      function r(e) {
        return "rgb(" + e.slice(0, 3).toString() + ")";
      }

      function a(e) {
        return "rgba(" + e.slice(0, 3).toString() + "," + e[3] + ")";
      }

      function n(e, t) {
        return "center" === e ? .5 * t : "right" === e ? t : 0;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var o = function () {
        function e() {}

        return e.prototype.rasterizeText = function (e, t) {
          this._textRasterizationCanvas || (this._textRasterizationCanvas = document.createElement("canvas"));
          var i = this._textRasterizationCanvas,
              o = i.getContext("2d");
          this.setFontProperties(o, t), this.parameters = t, this.textLines = e.split(/\r?\n/), this.lineHeight = this.computeLineHeight();
          var s = this.computeTextWidth(o, t),
              h = this.lineHeight * this.textLines.length;
          i.width = s, i.height = h, this.renderedLineHeight = Math.round(this.lineHeight * t.pixelRatio), this.renderedHaloSize = t.halo.size * t.pixelRatio, this.renderedWidth = s * t.pixelRatio, this.renderedHeight = h * t.pixelRatio, this.fillStyle = a(t.color), this.haloStyle = r(t.halo.color);
          var l = this.renderedLineHeight,
              d = this.renderedHaloSize;
          this.setFontProperties(o, t);
          var p = n(o.textAlign, this.renderedWidth) + d,
              g = d,
              u = d > 0,
              f = 0,
              c = 0;
          u && this.renderHalo(o, p, g, f, c, t), c += g, f += p;

          for (var v = 0, x = this.textLines; v < x.length; v++) {
            var m = x[v];
            o.globalCompositeOperation = "destination-out", o.fillStyle = "rgb(0, 0, 0)", o.fillText(m, f, c), o.globalCompositeOperation = "source-over", o.fillStyle = this.fillStyle, o.fillText(m, f, c), c += l;
          }

          var y = o.getImageData(0, 0, this.renderedWidth, this.renderedHeight),
              H = new Uint8Array(y.data);
          if (t.premultiplyColors) for (var z = void 0, S = 0; S < H.length; S += 4) z = H[S + 3] / 255, H[S] = H[S] * z, H[S + 1] = H[S + 1] * z, H[S + 2] = H[S + 2] * z;
          return {
            size: [this.renderedWidth, this.renderedHeight],
            image: new Uint32Array(H.buffer),
            sdf: !1,
            simplePattern: !1,
            anchorX: 0,
            anchorY: 0
          };
        }, e.prototype.renderHalo = function (e, t, i, r, a, n) {
          var o = this.renderedWidth,
              s = this.renderedHeight;
          this._haloRasterizationCanvas || (this._haloRasterizationCanvas = document.createElement("canvas")), this._haloRasterizationCanvas.width = o, this._haloRasterizationCanvas.height = s;
          var h = this._haloRasterizationCanvas,
              l = h.getContext("2d");
          l.clearRect(0, 0, o, s), this.setFontProperties(l, n), l.fillStyle = this.haloStyle, l.strokeStyle = this.haloStyle;
          var d = this.renderedHaloSize < 3;
          l.lineJoin = d ? "miter" : "round", d ? this.renderHaloEmulated(l, t, i) : this.renderHaloNative(l, t, i), e.globalAlpha = this.parameters.halo.color[3], e.drawImage(h, 0, 0, o, s, r, a, o, s), e.globalAlpha = 1;
        }, e.prototype.renderHaloEmulated = function (e, t, i) {
          for (var r = this.renderedLineHeight, a = this.renderedHaloSize, n = 0, o = this.textLines; n < o.length; n++) {
            for (var h = o[n], l = 0, d = s; l < d.length; l++) {
              var p = d[l],
                  g = p[0],
                  u = p[1];
              e.fillText(h, t + a * g, i + a * u);
            }

            i += r;
          }
        }, e.prototype.renderHaloNative = function (e, t, i) {
          for (var r = this.renderedLineHeight, a = this.renderedHaloSize, n = 0, o = this.textLines; n < o.length; n++) {
            for (var s = o[n], h = 2 * a, l = 0; l < 5; l++) {
              var d = .6 + .1 * l;
              e.lineWidth = d * h, e.strokeText(s, t, i);
            }

            i += r;
          }
        }, e.prototype.setFontProperties = function (e, t) {
          var r = t.font,
              a = r.style + " " + r.weight + " " + i.pt2px(t.size * t.pixelRatio) + "px " + r.family + ", sans-serif";
          e.font = a, e.textAlign = "left", e.textBaseline = "top";
        }, e.prototype.computeTextWidth = function (e, t) {
          for (var i = 0, r = 0, a = this.textLines; r < a.length; r++) {
            var n = a[r];
            i = Math.max(i, e.measureText(n).width);
          }

          var o = t.font;
          return ("italic" === o.style || "oblique" === o.style || "string" == typeof o.weight && ("bold" === o.weight || "bolder" === o.weight) || "number" == typeof o.weight && o.weight > 600) && (i += .3 * e.measureText("A").width), i += 2 * this.parameters.halo.size, Math.round(i);
        }, e.prototype.computeLineHeight = function () {
          var e = 1.275 * this.parameters.size;
          return Math.round(e + 2 * this.parameters.halo.size);
        }, e;
      }();

      t.TextRasterizer = o;

      for (var s = [], h = 0; h < 360; h += 22.5) s.push([Math.cos(Math.PI * h / 180), Math.sin(Math.PI * h / 180)]);

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

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimCimAnalyzerJs(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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.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/string */
    "./node_modules/arcgis-js-api/core/string.js"), __webpack_require__(
    /*! ../../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ./CIMSymbolHelper */
    "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolHelper.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ./SDFHelper */
    "./node_modules/arcgis-js-api/symbols/cim/SDFHelper.js"), __webpack_require__(
    /*! ../../views/2d/arcade/utils */
    "./node_modules/arcgis-js-api/views/2d/arcade/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, o, a, s, l, c, u, f, m, h) {
      function p(e) {
        return e ? {
          r: e[0],
          g: e[1],
          b: e[2],
          a: e[3] / 255
        } : {
          r: 0,
          g: 0,
          b: 0,
          a: 0
        };
      }

      function y(e) {
        switch (e) {
          case "Butt":
            return f.CapType.BUTT;

          case "Square":
            return f.CapType.SQUARE;

          case "Round":
          default:
            return f.CapType.ROUND;
        }
      }

      function d(e) {
        switch (e) {
          case "Bevel":
            return f.JoinType.BEVEL;

          case "Miter":
            return f.JoinType.MITER;

          case "Round":
          default:
            return f.JoinType.ROUND;
        }
      }

      function v(e) {
        switch (e) {
          case "Left":
          default:
            return "left";

          case "Right":
            return "right";

          case "Center":
            return "center";

          case "Justify":
            return "justify";
        }
      }

      function g(e) {
        switch (e) {
          case "Top":
          default:
            return "top";

          case "Center":
            return "middle";

          case "Baseline":
            return "baseline";

          case "Bottom":
            return "bottom";
        }
      }

      function S(e) {
        var t = "normal",
            r = "normal";

        if (e) {
          var n = e.toLowerCase();
          -1 !== n.indexOf("italic") ? t = "italic" : -1 !== n.indexOf("oblique") && (t = "oblique"), -1 !== n.indexOf("bold") ? r = "bold" : -1 !== n.indexOf("light") && (r = "lighter");
        }

        return {
          style: t,
          weight: r
        };
      }

      function b(e) {
        return e.underline ? "underline" : e.strikethrough ? "line-through" : "none";
      }

      function C(e, t, i, o, a) {
        return n(this, void 0, void 0, function () {
          var n, s, l, c;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                if (n = o || [], !e) return [2, n];

                switch ("CIMSymbolReference" === e.type ? (s = e.symbol, l = e.primitiveOverrides) : (s = e, l = null), c = s.type) {
                  case "CIMPointSymbol":
                  case "CIMLineSymbol":
                  case "CIMPolygonSymbol":
                    return [3, 1];

                  case "CIMTextSymbol":
                    return [3, 3];
                }

                return [3, 4];

              case 1:
                return [4, O(s, l, t, i, n, a)];

              case 2:
                return r.sent(), [3, 4];

              case 3:
                return [3, 4];

              case 4:
                return [2, n];
            }
          });
        });
      }

      function O(e, t, i, o, a, s) {
        return n(this, void 0, void 0, function () {
          var n, l, c, m, h, p, y;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                if (!e) return [2];
                if (!(n = e.symbolLayers)) return [2];
                c = u.CIMSymbolHelper.getSize(e), "CIMPointSymbol" === e.type && "Map" === e.angleAlignment && (l = f.Alignment.MAP), m = n.length, r.label = 1;

              case 1:
                if (!m--) return [3, 23];
                if (!(h = n[m]) || !1 === h.enable) return [3, 1];

                switch (p = [], u.OverrideHelper.findApplicableOverrides(h, t, p), y = h.type) {
                  case "CIMSolidFill":
                    return [3, 2];

                  case "CIMPictureFill":
                    return [3, 4];

                  case "CIMHatchFill":
                    return [3, 6];

                  case "CIMGradientFill":
                    return [3, 8];

                  case "CIMSolidStroke":
                    return [3, 10];

                  case "CIMPictureStroke":
                    return [3, 12];

                  case "CIMGradientStroke":
                    return [3, 14];

                  case "CIMCharacterMarker":
                    return [3, 16];

                  case "CIMPictureMarker":
                    return [3, 17];

                  case "CIMVectorMarker":
                    return [3, 19];
                }

                return [3, 21];

              case 2:
                return [4, H(h, p, o, a)];

              case 3:
                return r.sent(), [3, 22];

              case 4:
                return [4, N(h, p, o, a)];

              case 5:
                return r.sent(), [3, 22];

              case 6:
                return [4, w(h, p, o, a)];

              case 7:
                return r.sent(), [3, 22];

              case 8:
                return [4, M(h, p, o, a)];

              case 9:
                return r.sent(), [3, 22];

              case 10:
                return [4, k(h, p, o, a, "CIMPolygonSymbol" === e.type, c)];

              case 11:
                return r.sent(), [3, 22];

              case 12:
                return [4, I(h, p, o, a, "CIMPolygonSymbol" === e.type, c)];

              case 13:
                return r.sent(), [3, 22];

              case 14:
                return [4, L(h, p, o, a, "CIMPolygonSymbol" === e.type, c)];

              case 15:
                return r.sent(), [3, 22];

              case 16:
                return [3, 22];

              case 17:
                return [4, P(h, p, o, a, l, c)];

              case 18:
                return r.sent(), [3, 22];

              case 19:
                return [4, x(h, p, i, o, a, l, c, s)];

              case 20:
                return r.sent(), [3, 22];

              case 21:
                U.error("Cannot analyze CIM layer", h.type), r.label = 22;

              case 22:
                return [3, 1];

              case 23:
                return [2];
            }
          });
        });
      }

      function H(e, t, i, o) {
        return n(this, void 0, void 0, function () {
          var n, a, s, c, u, f;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = e.primitiveName, a = p(e.color), s = l.numericHash(JSON.stringify(e)).toString(), u = (c = o).push, f = {
                  type: "fill",
                  templateHash: s,
                  materialHash: 0 === t.length ? s : function () {
                    return s;
                  },
                  cim: e,
                  materialOverrides: null,
                  colorLocked: e.colorLocked
                }, [4, T(n, "Color", t, i, a, A)];

              case 1:
                return u.apply(c, [(f.color = r.sent(), f.height = 0, f.angle = 0, f.offsetX = 0, f.offsetY = 0, f.scaleX = 1, f)]), [2];
            }
          });
        });
      }

      function N(e, t, i, o) {
        return n(this, void 0, void 0, function () {
          var n, a, s, c, u, f, m;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = e.primitiveName, a = p(e.tintColor), s = l.numericHash(JSON.stringify(e)).toString(), c = l.numericHash("" + e.url + JSON.stringify(e.colorSubstitutions)).toString(), f = (u = o).push, m = {
                  type: "fill",
                  templateHash: s,
                  materialHash: 0 === t.length ? c : function () {
                    return c;
                  },
                  cim: e,
                  materialOverrides: null,
                  colorLocked: e.colorLocked
                }, [4, T(n, "TintColor", t, i, a, A)];

              case 1:
                return m.color = r.sent(), [4, T(n, "Height", t, i, e.height)];

              case 2:
                return m.height = r.sent(), [4, T(n, "ScaleX", t, i, e.scaleX)];

              case 3:
                return m.scaleX = r.sent(), [4, T(n, "Rotation", t, i, e.rotation)];

              case 4:
                return m.angle = r.sent(), [4, T(n, "OffsetX", t, i, e.offsetX)];

              case 5:
                return m.offsetX = r.sent(), [4, T(n, "OffsetY", t, i, e.offsetY)];

              case 6:
                return f.apply(u, [(m.offsetY = r.sent(), m)]), [2];
            }
          });
        });
      }

      function w(e, t, i, o) {
        return n(this, void 0, void 0, function () {
          var n, a, s, c, u, f, m, h;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = ["Rotation", "OffsetX", "OffsetY"], (a = t.filter(function (t) {
                  return t.primitiveName !== e.primitiveName && -1 === n.indexOf(t.propertyName);
                }), s = e.primitiveName, c = l.numericHash(JSON.stringify(e)).toString(), f = (u = o).push, m = {
                  type: "fill",
                  templateHash: c
                }, 0 !== t.length) ? [3, 1] : (h = c, [3, 3]);

              case 1:
                return [4, D(c, a, i)];

              case 2:
                h = r.sent(), r.label = 3;

              case 3:
                return m.materialHash = h, m.cim = e, m.materialOverrides = a, m.colorLocked = e.colorLocked, m.color = {
                  r: 128,
                  g: 128,
                  b: 128,
                  a: 1
                }, m.height = 0, m.scaleX = 1, [4, T(s, "Rotation", t, i, e.rotation)];

              case 4:
                return m.angle = r.sent(), [4, T(s, "OffsetX", t, i, e.offsetX)];

              case 5:
                return m.offsetX = r.sent(), [4, T(s, "OffsetY", t, i, e.offsetY)];

              case 6:
                return f.apply(u, [(m.offsetY = r.sent(), m)]), [2];
            }
          });
        });
      }

      function M(e, t, i, o) {
        return n(this, void 0, void 0, function () {
          var n, a, s, c, u;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = l.numericHash(JSON.stringify(e)).toString(), (s = (a = o).push, c = {
                  type: "fill",
                  templateHash: n
                }, 0 !== t.length) ? [3, 1] : (u = n, [3, 3]);

              case 1:
                return [4, D(n, t, i)];

              case 2:
                u = r.sent(), r.label = 3;

              case 3:
                return s.apply(a, [(c.materialHash = u, c.cim = e, c.materialOverrides = null, c.colorLocked = e.colorLocked, c.color = {
                  r: 128,
                  g: 128,
                  b: 128,
                  a: 1
                }, c.height = 0, c.angle = 0, c.offsetX = 0, c.offsetY = 0, c.scaleX = 1, c)]), [2];
            }
          });
        });
      }

      function k(e, t, i, o, a, s) {
        return n(this, void 0, void 0, function () {
          var n, c, u, f, m, h, v, g, S, b;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = l.numericHash(JSON.stringify(e)).toString(), c = e.primitiveName, u = p(e.color), f = void 0 !== e.width ? e.width : 4, m = y(e.capStyle), h = d(e.joinStyle), v = e.miterLimit, S = (g = o).push, b = {
                  type: "line",
                  templateHash: n,
                  materialHash: 0 === t.length ? n : function () {
                    return n;
                  },
                  cim: e,
                  materialOverrides: null,
                  isOutline: a,
                  colorLocked: e.colorLocked
                }, [4, T(c, "Color", t, i, u, A)];

              case 1:
                return b.color = r.sent(), [4, T(c, "Width", t, i, f)];

              case 2:
                return b.width = r.sent(), [4, T(c, "CapStyle", t, i, m)];

              case 3:
                return b.cap = r.sent(), [4, T(c, "JoinStyle", t, i, h)];

              case 4:
                return b.join = r.sent(), [4, T(c, "MiterLimit", t, i, v)];

              case 5:
                return S.apply(g, [(b.miterLimit = r.sent(), b.referenceWidth = s, b.zOrder = Y(e.name), b.isDashed = !1, b)]), [2];
            }
          });
        });
      }

      function I(e, t, i, o, a, s) {
        return n(this, void 0, void 0, function () {
          var n, c, u, f, m, h, v, g, S, b, C;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = l.numericHash("" + e.url + JSON.stringify(e.colorSubstitutions)).toString(), c = e.primitiveName, u = p(e.tintColor), f = void 0 !== e.width ? e.width : 4, m = y(e.capStyle), h = d(e.joinStyle), v = e.miterLimit, g = l.numericHash(JSON.stringify(e)).toString(), b = (S = o).push, C = {
                  type: "line",
                  templateHash: g,
                  materialHash: 0 === t.length ? n : function () {
                    return n;
                  },
                  cim: e,
                  materialOverrides: null,
                  isOutline: a,
                  colorLocked: e.colorLocked
                }, [4, T(c, "TintColor", t, i, u, A)];

              case 1:
                return C.color = r.sent(), [4, T(c, "Width", t, i, f)];

              case 2:
                return C.width = r.sent(), [4, T(c, "CapStyle", t, i, m)];

              case 3:
                return C.cap = r.sent(), [4, T(c, "JoinStyle", t, i, h)];

              case 4:
                return C.join = r.sent(), [4, T(c, "MiterLimit", t, i, v)];

              case 5:
                return b.apply(S, [(C.miterLimit = r.sent(), C.referenceWidth = s, C.zOrder = Y(e.name), C.isDashed = !1, C)]), [2];
            }
          });
        });
      }

      function L(e, t, i, o, a, s) {
        return n(this, void 0, void 0, function () {
          var n, c, u, f, m, h, p, v, g, S;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = e.primitiveName, (c = void 0 !== e.width ? e.width : 4, u = y(e.capStyle), f = d(e.joinStyle), m = e.miterLimit, h = l.numericHash(JSON.stringify(e)).toString(), v = (p = o).push, g = {
                  type: "line",
                  templateHash: h
                }, 0 !== t.length) ? [3, 1] : (S = h, [3, 3]);

              case 1:
                return [4, D(h, t, i)];

              case 2:
                S = r.sent(), r.label = 3;

              case 3:
                return g.materialHash = S, g.cim = e, g.materialOverrides = null, g.isOutline = a, g.colorLocked = e.colorLocked, g.color = {
                  r: 128,
                  g: 128,
                  b: 128,
                  a: 1
                }, [4, T(n, "Width", t, i, c)];

              case 4:
                return g.width = r.sent(), [4, T(n, "CapStyle", t, i, u)];

              case 5:
                return g.cap = r.sent(), [4, T(n, "JoinStyle", t, i, f)];

              case 6:
                return g.join = r.sent(), [4, T(n, "MiterLimit", t, i, m)];

              case 7:
                return v.apply(p, [(g.miterLimit = r.sent(), g.referenceWidth = s, g.zOrder = Y(e.name), g.isDashed = !1, g)]), [2];
            }
          });
        });
      }

      function P(e, t, i, o, a, s) {
        return n(this, void 0, void 0, function () {
          var n, c, u, f, m, h, y, d, v, g, S, b, C, O, H, N;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                for (n = e.primitiveName, c = e.size, u = e.scaleX, f = e.rotation, m = e.offsetX, h = e.offsetY, y = p(e.tintColor), d = l.numericHash("" + e.url + JSON.stringify(e.colorSubstitutions)).toString(), v = !1, g = "", S = 0, b = t; S < b.length; S++) C = b[S], C.primitiveName === n && (void 0 !== C.value ? g += "|" + C.primitiveName + "|" + C.propertyName + "|" + JSON.stringify(C.value) : C.valueExpressionInfo && (v = !0));

                return H = (O = o).push, N = {
                  type: "marker",
                  templateHash: l.numericHash(JSON.stringify(e) + g).toString(),
                  materialHash: v ? function () {
                    return d;
                  } : d,
                  cim: e,
                  materialOverrides: null,
                  colorLocked: e.colorLocked,
                  scaleSymbolsProportionally: !1,
                  alignment: a,
                  anchorPoint: e.anchorPoint,
                  isAbsoluteAnchorPoint: "Relative" !== e.anchorPointUnits
                }, [4, T(n, "Size", t, i, c)];

              case 1:
                return N.size = r.sent(), [4, T(n, "ScaleX", t, i, u)];

              case 2:
                return N.scaleX = r.sent(), [4, T(n, "Rotation", t, i, f)];

              case 3:
                return N.rotation = r.sent(), [4, T(n, "OffsetX", t, i, m)];

              case 4:
                return N.offsetX = r.sent(), [4, T(n, "OffsetY", t, i, h)];

              case 5:
                return N.offsetY = r.sent(), [4, T(n, "TintColor", t, i, y, A)];

              case 6:
                return H.apply(O, [(N.color = r.sent(), N.outlineColor = {
                  r: 0,
                  g: 0,
                  b: 0,
                  a: 0
                }, N.outlineWidth = 0, N.frameHeight = 0, N.rotateClockwise = e.rotateClockwise, N.referenceSize = s, N.sizeRatio = 1, N)]), [2];
            }
          });
        });
      }

      function x(e, t, i, o, a, l, c, u) {
        return n(this, void 0, void 0, function () {
          var n, f, m, h, p, y, d, v;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                if (!(n = e.markerGraphics)) return [2];

                for (f = 0, e.scaleSymbolsProportionally && (m = e.frame) && (f = m.ymax - m.ymin), h = [], p = 0, y = n; p < y.length; p++) if (d = y[p]) {
                  if (!(v = d.symbol)) continue;

                  switch (v.type) {
                    case "CIMPointSymbol":
                    case "CIMLineSymbol":
                    case "CIMPolygonSymbol":
                      h.push(z(e, d, t, o, a, l, c, f, u));
                      break;

                    case "CIMTextSymbol":
                      h.push(X(e, d, t, i, o, a, l, c, f));
                  }
                }

                return [4, s.all(h)];

              case 1:
                return r.sent(), [2];
            }
          });
        });
      }

      function X(e, t, o, a, s, c, f, m, h) {
        return n(this, void 0, void 0, function () {
          var n, y, d, C, O, H, N, w, M, k, I, L, P, x, X, z, J, R, Y, A, F, D, E, U;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                if (n = [], u.OverrideHelper.findApplicableOverrides(t, o, n), !("x" in (y = t.geometry) && "y" in y)) return [2];

                for (d = t.symbol, C = b(d), O = S(d.fontStyleName), d.font = i({
                  family: d.fontFamilyName,
                  decoration: C
                }, O), H = e.frame, N = y.x - .5 * (H.xmin + H.xmax), w = y.y - .5 * (H.ymin + H.ymax), M = e.size / h, k = e.primitiveName, I = (d.height || 0) * M, L = d.angle || 0, P = ((d.offsetX || 0) + N) * M, x = ((d.offsetY || 0) + w) * M, X = p(u.CIMSymbolHelper.getFillColor(d)), z = p(u.CIMSymbolHelper.getStrokeColor(d)), J = u.CIMSymbolHelper.getStrokeWidth(d), J || (z = p(u.CIMSymbolHelper.getFillColor(d.haloSymbol)), J = d.haloSize * M), R = "", Y = 0, A = o; Y < A.length; Y++) F = A[Y], F.primitiveName === k && void 0 !== F.value && (R += "|" + F.primitiveName + "|" + F.propertyName + "|" + JSON.stringify(F.value));

                return E = (D = c).push, U = {
                  type: "text",
                  templateHash: l.numericHash(JSON.stringify(t) + R).toString(),
                  materialHash: function materialHash() {
                    return l.numericHash(JSON.stringify(d.font)).toString();
                  },
                  cim: d,
                  materialOverrides: null,
                  colorLocked: e.colorLocked,
                  alignment: f,
                  anchorPoint: {
                    x: e.anchorPoint ? e.anchorPoint.x : 0,
                    y: e.anchorPoint ? e.anchorPoint.y : 0
                  },
                  isAbsoluteAnchorPoint: "Relative" !== e.anchorPointUnits,
                  fontName: d.fontFamilyName,
                  decoration: "none",
                  weight: "normal",
                  style: "normal"
                }, [4, T(k, "Height", o, s, I)];

              case 1:
                return U.size = r.sent(), [4, T(k, "Rotation", o, s, L)];

              case 2:
                return U.angle = r.sent(), [4, T(k, "OffsetX", o, s, P)];

              case 3:
                return U.offsetX = r.sent(), [4, T(k, "OffsetY", o, s, x)];

              case 4:
                return E.apply(D, [(U.offsetY = r.sent(), U.horizontalAlignment = v(d.horizontalAlignment), U.verticalAlignment = g(d.verticalAlignment), U.text = W(a, t.textString, d.textCase), U.color = X, U.outlineColor = z, U.outlineSize = J, U.referenceSize = m, U.sizeRatio = 1, U)]), [2];
            }
          });
        });
      }

      function z(e, t, i, o, a, s, c, f, h) {
        return n(this, void 0, void 0, function () {
          var n, y, d, v, g, S;
          return r(this, function (b) {
            switch (b.label) {
              case 0:
                if (n = t.symbol, !(y = t.geometry)) return [2];
                if (d = m.getExtent(y), "CIMTextSymbol" === n.type) return [2];
                if (!(v = n.symbolLayers)) return [2];
                g = v.length, S = function S() {
                  var n, S, b, C, O, H, N, w, M, k, I, L, P, x, X, z, R, Y, F, W, D, E, U, j, B, q, G, _, V;

                  return r(this, function (r) {
                    switch (r.label) {
                      case 0:
                        return n = v[g], n && !1 !== n.enable ? h ? [4, J(e, t, i, o, a, s, c, f)] : [3, 2] : [2, "continue"];

                      case 1:
                        return r.sent(), [2, "continue"];

                      case 2:
                        switch (S = n.type) {
                          case "CIMSolidFill":
                          case "CIMSolidStroke":
                            return [3, 3];
                        }

                        return [3, 15];

                      case 3:
                        if (b = m.getSDFMetrics(d, e.frame, e.size, e.anchorPoint, "Relative" !== e.anchorPointUnits), C = b[0], O = b[1], H = b[2], N = "CIMSolidFill" === n.type, w = {
                          type: "sdf",
                          geom: y,
                          asFill: N
                        }, M = e.primitiveName, k = e.size, I = e.rotation, L = e.offsetX, P = e.offsetY, x = n.primitiveName, X = p(N ? u.CIMSymbolHelper.getFillColor(n) : u.CIMSymbolHelper.getStrokeColor(n)), z = N ? {
                          r: 0,
                          g: 0,
                          b: 0,
                          a: 0
                        } : p(u.CIMSymbolHelper.getStrokeColor(n)), R = u.CIMSymbolHelper.getStrokeWidth(n), !N && !R) return [3, 16];

                        for (Y = !1, F = "", W = 0, D = i; W < D.length; W++) E = D[W], E.primitiveName !== x && E.primitiveName !== M || (void 0 !== E.value ? F += "|" + E.primitiveName + "|" + E.propertyName + "|" + JSON.stringify(E.value) : E.valueExpressionInfo && (Y = !0));

                        return U = l.numericHash(JSON.stringify(w)).toString(), j = l.numericHash(JSON.stringify(n) + JSON.stringify(t) + F).toString(), q = (B = a).push, G = {
                          type: "marker",
                          templateHash: j,
                          materialHash: Y ? function () {
                            return U;
                          } : U,
                          cim: w,
                          materialOverrides: null,
                          colorLocked: e.colorLocked,
                          scaleSymbolsProportionally: e.scaleSymbolsProportionally,
                          alignment: s,
                          anchorPoint: {
                            x: O,
                            y: H
                          },
                          isAbsoluteAnchorPoint: !1
                        }, [4, T(M, "Size", i, o, k)];

                      case 4:
                        return G.size = r.sent(), G.scaleX = 1, [4, T(M, "Rotation", i, o, I)];

                      case 5:
                        return G.rotation = r.sent(), [4, T(M, "OffsetX", i, o, L)];

                      case 6:
                        return G.offsetX = r.sent(), [4, T(M, "OffsetY", i, o, P)];

                      case 7:
                        return G.offsetY = r.sent(), [4, T(x, "Color", i, o, X, A)];

                      case 8:
                        return G.color = r.sent(), N ? (_ = {
                          r: 0,
                          g: 0,
                          b: 0,
                          a: 0
                        }, [3, 11]) : [3, 9];

                      case 9:
                        return [4, T(x, "Color", i, o, z, A)];

                      case 10:
                        _ = r.sent(), r.label = 11;

                      case 11:
                        return G.outlineColor = _, N ? (V = 0, [3, 14]) : [3, 12];

                      case 12:
                        return [4, T(x, "Width", i, o, R)];

                      case 13:
                        V = r.sent(), r.label = 14;

                      case 14:
                        return q.apply(B, [(G.outlineWidth = V, G.frameHeight = f, G.rotateClockwise = e.rotateClockwise, G.referenceSize = c, G.sizeRatio = C, G)]), [3, 16];

                      case 15:
                        return J(e, t, i, o, a, s, c, f), [3, 16];

                      case 16:
                        return [2];
                    }
                  });
                }, b.label = 1;

              case 1:
                return g-- ? [5, S()] : [3, 3];

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

              case 3:
                return [2];
            }
          });
        });
      }

      function J(e, t, i, o, a, s, c, f) {
        return n(this, void 0, void 0, function () {
          var n, m, h, p, y, d, v, g, S, b, C, O, H, N, w, M;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return n = R(e, t), (m = [], h = ["Rotation", "OffsetX", "OffsetY"], m = i.filter(function (t) {
                  return t.primitiveName !== e.primitiveName || -1 === h.indexOf(t.propertyName);
                }), p = u.CIMSymbolHelper.getTextureAnchor(n), y = p[0], d = p[1], v = JSON.stringify(n), g = e.primitiveName, S = e.rotation, b = e.offsetX, C = e.offsetY, O = l.numericHash(JSON.stringify(n)).toString(), N = (H = a).push, w = {
                  type: "marker",
                  templateHash: O
                }, 0 !== m.length) ? [3, 1] : (M = O, [3, 3]);

              case 1:
                return [4, D(v, m, o)];

              case 2:
                M = r.sent(), r.label = 3;

              case 3:
                return w.materialHash = M, w.cim = n, w.materialOverrides = m, w.colorLocked = e.colorLocked, w.scaleSymbolsProportionally = e.scaleSymbolsProportionally, w.alignment = s, w.anchorPoint = {
                  x: y,
                  y: d
                }, w.isAbsoluteAnchorPoint = !1, w.size = e.size, w.scaleX = 1, [4, T(g, "Rotation", i, o, S)];

              case 4:
                return w.rotation = r.sent(), [4, T(g, "OffsetX", i, o, b)];

              case 5:
                return w.offsetX = r.sent(), [4, T(g, "OffsetY", i, o, C)];

              case 6:
                return N.apply(H, [(w.offsetY = r.sent(), w.color = {
                  r: 0,
                  g: 0,
                  b: 0,
                  a: 0
                }, w.outlineColor = {
                  r: 0,
                  g: 0,
                  b: 0,
                  a: 0
                }, w.outlineWidth = 0, w.frameHeight = f, w.rotateClockwise = e.rotateClockwise, w.referenceSize = c, w.sizeRatio = 1, w)]), [2];
            }
          });
        });
      }

      function R(e, t) {
        return {
          type: e.type,
          enable: !0,
          name: e.name,
          colorLocked: e.colorLocked,
          primitiveName: e.primitiveName,
          anchorPoint: e.anchorPoint,
          anchorPointUnits: e.anchorPointUnits,
          offsetX: 0,
          offsetY: 0,
          rotateClockwise: e.rotateClockwise,
          rotation: 0,
          size: e.size,
          billboardMode3D: e.billboardMode3D,
          depth3D: e.depth3D,
          frame: e.frame,
          markerGraphics: [t],
          scaleSymbolsProportionally: e.scaleSymbolsProportionally,
          respectFrame: e.respectFrame,
          clippingPath: e.clippingPath
        };
      }

      function Y(e) {
        if (e && 0 === e.indexOf("Level_")) {
          var t = parseInt(e.substr(6), 10);
          if (NaN !== t) return t;
        }

        return 0;
      }

      function A(e) {
        if (!e || 0 === e.length) return null;
        var t = new o(e).toRgba();
        return {
          r: t[0],
          g: t[1],
          b: t[2],
          a: t[3]
        };
      }

      function T(e, t, i, o, a, s) {
        return n(this, void 0, void 0, function () {
          var n, l, u, f, m;
          return r(this, function (p) {
            switch (p.label) {
              case 0:
                if (!e) return [3, 4];
                n = function n(_n3) {
                  var i, l, u;
                  return r(this, function (r) {
                    switch (r.label) {
                      case 0:
                        return _n3.primitiveName !== e || _n3.propertyName !== t ? [3, 2] : void 0 !== _n3.value ? [2, {
                          value: s ? s(_n3.value) : _n3.value
                        }] : (i = _n3.valueExpressionInfo) ? (l = i.expression, [4, c.createRendererExpression(l, o.spatialReference, o.fields)]) : [3, 2];

                      case 1:
                        return u = r.sent(), [2, {
                          value: function value(e, t, r) {
                            var n = h.callWithFeature(u, e, {
                              $view: r
                            }, o.geometryType, t);
                            return null !== n && s && (n = s(n)), null !== n ? n : a;
                          }
                        }];

                      case 2:
                        return [2];
                    }
                  });
                }, l = 0, u = i, p.label = 1;

              case 1:
                return l < u.length ? (f = u[l], [5, n(f)]) : [3, 4];

              case 2:
                if ("object" == typeof (m = p.sent())) return [2, m.value];
                p.label = 3;

              case 3:
                return l++, [3, 1];

              case 4:
                return [2, a];
            }
          });
        });
      }

      function F(e, t) {
        switch (t) {
          case "LowerCase":
            return e.toLowerCase();

          case "Allcaps":
            return e.toUpperCase();

          default:
            return e;
        }
      }

      function W(e, t, r) {
        if (!e || -1 === t.indexOf("[")) return F(t, r);

        var n = " /-,\n",
            i = function i(e) {
          for (var t = e.length; t--;) if (-1 === n.indexOf(e.charAt(t))) return !1;

          return !0;
        },
            o = [],
            a = 0,
            s = -1;

        do {
          if ((s = t.indexOf("[", a)) >= a) {
            if (s > a) {
              var l = t.substr(a, s - a);
              o.push([l, null, i(l)]);
            }

            if (a = s + 1, (s = t.indexOf("]", a)) >= a) {
              if (s > a) {
                var c = t.substr(a, s - a),
                    u = e[c];
                u && o.push([null, u, !1]);
              }

              a = s + 1;
            }
          }
        } while (-1 !== s);

        if (a < t.length - 1) {
          var l = t.substr(a);
          o.push([l, null, i(l)]);
        }

        return function (e) {
          for (var t = "", n = null, i = 0, a = o; i < a.length; i++) {
            var s = a[i],
                l = s[0],
                c = s[1],
                u = s[2];
            if (l) u ? n = l : (n && (t += n, n = null), t += l);else {
              var f = e.attributes[c];
              f && (n && (t += n, n = null), t += f);
            }
          }

          return F(t, r);
        };
      }

      function D(e, t, i) {
        return n(this, void 0, void 0, function () {
          var n, o, a, s;
          return r(this, function (f) {
            switch (f.label) {
              case 0:
                n = function n(e) {
                  var t, n, o;
                  return r(this, function (r) {
                    switch (r.label) {
                      case 0:
                        return (t = e.valueExpressionInfo) ? (n = t.expression, [4, c.createRendererExpression(n, i.spatialReference, i.fields)]) : [3, 2];

                      case 1:
                        o = r.sent(), e.fn = function (e, t, r) {
                          return h.callWithFeature(o, e, {
                            $view: r
                          }, i.geometryType, t);
                        }, r.label = 2;

                      case 2:
                        return [2];
                    }
                  });
                }, o = 0, a = t, f.label = 1;

              case 1:
                return o < a.length ? (s = a[o], [5, n(s)]) : [3, 4];

              case 2:
                f.sent(), f.label = 3;

              case 3:
                return o++, [3, 1];

              case 4:
                return [2, function (r, n, i) {
                  for (var o = 0, a = t; o < a.length; o++) {
                    var s = a[o];
                    s.fn && (s.value = s.fn(r, n, i));
                  }

                  return l.numericHash(e + u.OverrideHelper.buildOverrideKey(t)).toString();
                }];
            }
          });
        });
      }

      function E(e, t) {
        if (!t || 0 === t.length) return e;
        var r = JSON.parse(JSON.stringify(e));
        return u.OverrideHelper.applyOverrides(r, t), r;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var U = a.getLogger("esri.symbols.cim.cimAnalyzer");
      t.analyzeCIMSymbol = C, t.analyzeCIMResource = E;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/enums.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/enums.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimEnumsJs(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, N) {
      Object.defineProperty(N, "__esModule", {
        value: !0
      });
      !function (e) {
        e[e.BUTT = 0] = "BUTT", e[e.ROUND = 1] = "ROUND", e[e.SQUARE = 2] = "SQUARE", e[e.UNKNOWN = 4] = "UNKNOWN";
      }(N.CapType || (N.CapType = {}));
      !function (e) {
        e[e.BEVEL = 0] = "BEVEL", e[e.ROUND = 1] = "ROUND", e[e.MITER = 2] = "MITER", e[e.UNKNOWN = 4] = "UNKNOWN";
      }(N.JoinType || (N.JoinType = {}));
      !function (e) {
        e[e.SCREEN = 0] = "SCREEN", e[e.MAP = 1] = "MAP";
      }(N.Alignment || (N.Alignment = {}));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/packingUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/packingUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimPackingUtilsJs(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 (r, e) {
      function n(r, e, n) {
        void 0 === n && (n = 0);

        for (var i = o(r, 0, u), a = 0; a < 4; a++) e[n + a] = Math.floor(256 * t(i * f[a]));
      }

      function o(r, e, n) {
        return r < e ? e : r > n ? n : r;
      }

      function t(r) {
        return r - Math.floor(r);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var f = [1, 256, 65536, 16777216],
          i = [1 / 256, 1 / 65536, 1 / 16777216, 1 / 4294967296],
          u = function (r, e) {
        void 0 === e && (e = 0);

        for (var n = 0, o = 0; o < 4; o++) n += r[e + o] * i[o];

        return n;
      }(new Uint8ClampedArray([255, 255, 255, 255]));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/cim/utils.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/cim/utils.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsCimUtilsJs(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 (r, e) {
      function t(r) {
        return "function" == typeof r;
      }

      function o(r, e, o, a) {
        return t(r) ? r(e, o, a) : r;
      }

      function a(r) {
        return [r.r, r.g, r.b, r.a];
      }

      function n(r, e, t, o, a, n, f) {
        void 0 === f && (f = !0);

        for (var u = e / a, i = t / n, c = Math.ceil(u / 2), l = Math.ceil(i / 2), v = 0; v < n; v++) for (var M = 0; M < a; M++) {
          for (var h = 4 * (M + (f ? n - v - 1 : v) * a), s = 0, b = 0, d = 0, p = 0, y = 0, m = 0, q = 0, O = (v + .5) * i, _ = Math.floor(v * i); _ < (v + 1) * i; _++) for (var g = Math.abs(O - (_ + .5)) / l, j = (M + .5) * u, x = g * g, A = Math.floor(M * u); A < (M + 1) * u; A++) {
            var F = Math.abs(j - (A + .5)) / c,
                H = Math.sqrt(x + F * F);
            H >= -1 && H <= 1 && (s = 2 * H * H * H - 3 * H * H + 1) > 0 && (F = 4 * (A + _ * e), q += s * r[F + 3], d += s, r[F + 3] < 255 && (s = s * r[F + 3] / 250), p += s * r[F], y += s * r[F + 1], m += s * r[F + 2], b += s);
          }

          o[h] = p / b, o[h + 1] = y / b, o[h + 2] = m / b, o[h + 3] = q / d;
        }
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.evaluateValueOrFunction = o, e.colorToArray = a, e.resampleHermite = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/edges/Edges3D.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/edges/Edges3D.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsEdgesEdges3DJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.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__(
    /*! ../support/materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, n, p, i, s, c, l, u) {
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.color = new p([0, 0, 0, 1]), o.extensionLength = 0, o.size = c.px2pt(1), o;
        }

        return o(r, e), r.prototype.normalizeCtorArgs = function (e) {
          if (e && e.type) {
            var r = n({}, e);
            return delete r.type, r;
          }

          return e;
        }, r.prototype.clone = function () {}, r.prototype.cloneProperties = function () {
          return {
            color: s.clone(this.color),
            size: this.size,
            extensionLength: this.extensionLength
          };
        }, t([l.property({
          type: ["solid", "sketch"],
          readOnly: !0,
          json: {
            read: !0,
            write: {
              ignoreOrigin: !0
            }
          }
        })], r.prototype, "type", void 0), t([l.property(u.colorAndTransparencyProperty)], r.prototype, "color", void 0), t([l.property(n({}, u.screenSizeProperty, {
          json: {
            write: {
              overridePolicy: function overridePolicy(e) {
                return {
                  enabled: !!e
                };
              }
            }
          }
        }))], r.prototype, "extensionLength", void 0), t([l.property(u.screenSizeProperty)], r.prototype, "size", void 0), r = t([l.subclass("esri.symbols.edges.Edges3D")], r);
      }(l.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/edges/SketchEdges3D.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/edges/SketchEdges3D.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsEdgesSketchEdges3DJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Edges3D */
    "./node_modules/arcgis-js-api/symbols/edges/Edges3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, s, c) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.type = "sketch", t;
        }

        t(r, e), c = r, r.prototype.clone = function () {
          return new c(this.cloneProperties());
        };
        var c;
        return o([s.property({
          type: ["sketch"]
        })], r.prototype, "type", void 0), r = c = o([s.subclass("esri.symbols.edges.SketchEdges3D")], r);
      }(s.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/edges/SolidEdges3D.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/edges/SolidEdges3D.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsEdgesSolidEdges3DJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Edges3D */
    "./node_modules/arcgis-js-api/symbols/edges/Edges3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, s, p) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.type = "solid", t;
        }

        t(r, e), p = r, r.prototype.clone = function () {
          return new p(this.cloneProperties());
        };
        var p;
        return o([s.property({
          type: ["solid"]
        })], r.prototype, "type", void 0), r = p = o([s.subclass("esri.symbols.support.SolidEdges3D")], r);
      }(s.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/edges/utils.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/edges/utils.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsEdgesUtilsJs(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__(
    /*! ./Edges3D */
    "./node_modules/arcgis-js-api/symbols/edges/Edges3D.js"), __webpack_require__(
    /*! ./SketchEdges3D */
    "./node_modules/arcgis-js-api/symbols/edges/SketchEdges3D.js"), __webpack_require__(
    /*! ./SolidEdges3D */
    "./node_modules/arcgis-js-api/symbols/edges/SolidEdges3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, s, d) {
      function n(e, r, t) {
        if (!e) return e;

        switch (e.type) {
          case "solid":
            var n = new d();
            return n.read(e, t), n;

          case "sketch":
            var n = new s();
            return n.read(e, t), n;
        }
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.read = n, r.symbol3dEdgesProperty = {
        types: {
          key: "type",
          base: t,
          typeMap: {
            solid: d,
            sketch: s
          }
        },
        json: {
          read: n,
          write: !0
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/ElevationInfo.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/ElevationInfo.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportElevationInfoJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./FeatureExpressionInfo */
    "./node_modules/arcgis-js-api/symbols/support/FeatureExpressionInfo.js"), __webpack_require__(
    /*! ./unitConversionUtils */
    "./node_modules/arcgis-js-api/symbols/support/unitConversionUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, s, i, p, u, a, f) {
      var l = i.strict()({
        onTheGround: "on-the-ground",
        relativeToGround: "relative-to-ground",
        relativeToScene: "relative-to-scene",
        absoluteHeight: "absolute-height"
      }),
          d = new i.JSONMap({
        foot: "feet",
        kilometer: "kilometers",
        meter: "meters",
        mile: "miles",
        "us-foot": "us-feet",
        yard: "yards"
      });
      return function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        r(t, e), n = t, t.prototype.readFeatureExpressionInfo = function (e, t) {
          return null != e ? e : t.featureExpression && 0 === t.featureExpression.value ? {
            expression: "0"
          } : void 0;
        }, t.prototype.writeFeatureExpressionInfo = function (e, t, r, o) {
          t[r] = e.write(null, o), "0" === e.expression && (t.featureExpression = {
            value: 0
          });
        }, Object.defineProperty(t.prototype, "mode", {
          get: function get() {
            return this._isOverridden("mode") ? this._get("mode") : null != this.offset || this.featureExpressionInfo ? "relative-to-ground" : "on-the-ground";
          },
          set: function set(e) {
            this._override("mode", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "unit", {
          set: function set(e) {
            this._set("unit", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.write = function () {
          return this.offset || this.mode || this.featureExpressionInfo || this.unit ? this.inherited(arguments) : null;
        }, t.prototype.clone = function () {
          return new n({
            mode: this.mode,
            offset: this.offset,
            featureExpressionInfo: this.featureExpressionInfo ? this.featureExpressionInfo.clone() : void 0,
            unit: this.unit
          });
        };
        var n;
        return o([u.property({
          type: a,
          json: {
            write: !0
          }
        })], t.prototype, "featureExpressionInfo", void 0), o([u.reader("featureExpressionInfo", ["featureExpressionInfo", "featureExpression"])], t.prototype, "readFeatureExpressionInfo", null), o([u.writer("featureExpressionInfo", {
          featureExpressionInfo: {
            type: a
          },
          "featureExpression.value": {
            type: [0]
          }
        })], t.prototype, "writeFeatureExpressionInfo", null), o([u.property({
          type: l.apiValues,
          dependsOn: ["offset", "featureExpressionInfo"],
          nonNullable: !0,
          json: {
            type: l.jsonValues,
            read: l.read,
            write: {
              writer: l.write,
              isRequired: !0
            }
          }
        })], t.prototype, "mode", null), o([u.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "offset", void 0), o([u.property({
          type: f.supportedUnits,
          json: {
            type: String,
            read: d.read,
            write: d.write
          }
        })], t.prototype, "unit", null), t = n = o([u.subclass("esri.layers.support.ElevationInfo")], t);
      }(u.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/FeatureExpressionInfo.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/FeatureExpressionInfo.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportFeatureExpressionInfoJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, i, s, n, u) {
      return function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        t(r, e), s = r, r.prototype.collectRequiredFields = function (e, r) {
          return i(this, void 0, void 0, function () {
            return p(this, function (t) {
              return [2, u.collectArcadeFieldNames(e, r, this.expression)];
            });
          });
        }, r.prototype.clone = function () {
          return new s({
            expression: this.expression,
            title: this.title
          });
        };
        var s;
        return o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "expression", void 0), o([n.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "title", void 0), r = s = o([n.subclass("esri.layers.support.FeatureExpressionInfo")], r);
      }(n.declared(s.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/IconSymbol3DLayerResource.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/IconSymbol3DLayerResource.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportIconSymbol3DLayerResourceJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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_AMD_DEFINE_RESULT__ = function (e, r, t, o, i, p, a, c) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var s = i.strict()({
        circle: "circle",
        square: "square",
        cross: "cross",
        x: "x",
        kite: "kite",
        triangle: "triangle"
      }),
          n = function (e) {
        function r(r) {
          return e.call(this, r) || this;
        }

        t(r, e), i = r, r.prototype.readHref = function (e, r, t) {
          return e ? a.fromJSON(e, t) : r.dataURI;
        }, r.prototype.writeHref = function (e, r, t, o) {
          e && (a.isDataProtocol(e) ? r.dataURI = e : (r.href = a.toJSON(e, o), a.isAbsolute(r.href) && (r.href = a.normalize(r.href))));
        }, r.prototype.clone = function () {
          return new i({
            href: this.href,
            primitive: this.primitive
          });
        };
        var i;
        return o([c.property({
          type: String,
          json: {
            write: !0,
            read: {
              source: ["href", "dataURI"]
            }
          }
        })], r.prototype, "href", void 0), o([c.reader("href")], r.prototype, "readHref", null), o([c.writer("href", {
          href: {
            type: String
          },
          dataURI: {
            type: String
          }
        })], r.prototype, "writeHref", null), o([c.enumeration.serializable()(s)], r.prototype, "primitive", void 0), r = i = o([c.subclass("esri.symbols.support.IconSymbol3DLayerResource")], r);
      }(c.declared(p.JSONSupport));

      r.IconSymbol3DLayerResource = n, r.defaultPrimitive = "circle", r["default"] = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/ObjectSymbol3DLayerResource.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/ObjectSymbol3DLayerResource.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportObjectSymbol3DLayerResourceJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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_AMD_DEFINE_RESULT__ = function (e, r, t, o, i, n, p, c) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var s = i.strict()({
        sphere: "sphere",
        cylinder: "cylinder",
        cube: "cube",
        cone: "cone",
        diamond: "diamond",
        tetrahedron: "tetrahedron",
        invertedCone: "inverted-cone"
      }),
          u = function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        t(r, e), i = r, r.prototype.clone = function () {
          return new i({
            href: this.href,
            primitive: this.primitive
          });
        };
        var i;
        return o([c.property({
          type: String,
          json: {
            read: p.read,
            write: p.write
          }
        })], r.prototype, "href", void 0), o([c.enumeration.serializable()(s)], r.prototype, "primitive", void 0), r = i = o([c.subclass("esri.symbols.support.ObjectSymbol3DLayerResource")], r);
      }(c.declared(n.JSONSupport));

      r.ObjectSymbol3DLayerResource = u, r.defaultPrimitive = "sphere", r["default"] = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/StyleOrigin.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/StyleOrigin.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportStyleOriginJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, o, p, l, s) {
      return function (t) {
        function r() {
          var r = null !== t && t.apply(this, arguments) || this;
          return r.portal = null, r;
        }

        e(r, t), p = r, r.prototype.clone = function () {
          return new p({
            name: this.name,
            styleUrl: this.styleUrl,
            styleName: this.styleName,
            portal: this.portal
          });
        };
        var p;
        return o([l.property({
          type: String
        })], r.prototype, "name", void 0), o([l.property({
          type: String
        })], r.prototype, "styleUrl", void 0), o([l.property({
          type: String
        })], r.prototype, "styleName", void 0), o([l.property({
          type: s
        })], r.prototype, "portal", void 0), r = p = o([l.subclass("esri.symbols.support.StyleOrigin")], r);
      }(l.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition2D.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition2D.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DAnchorPosition2DJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, p, s) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var c = function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.x = 0, r.y = 0, r;
        }

        o(r, e), p = r, r.prototype.clone = function () {
          return new p({
            x: this.x,
            y: this.y
          });
        };
        var p;
        return t([s.property({
          type: Number
        })], r.prototype, "x", void 0), t([s.property({
          type: Number
        })], r.prototype, "y", void 0), r = p = t([s.subclass("esri.symbols.support.Symbol3DAnchorPosition2D")], r);
      }(s.declared(p));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition3D.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DAnchorPosition3D.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DAnchorPosition3DJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, p, s) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var c = function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.x = 0, r.y = 0, r.z = 0, r;
        }

        o(r, e), p = r, r.prototype.clone = function () {
          return new p({
            x: this.x,
            y: this.y,
            z: this.z
          });
        };
        var p;
        return t([s.property({
          type: Number
        })], r.prototype, "x", void 0), t([s.property({
          type: Number
        })], r.prototype, "y", void 0), t([s.property({
          type: Number
        })], r.prototype, "z", void 0), r = p = t([s.subclass("esri.symbols.support.Symbol3DAnchorPosition3D")], r);
      }(s.declared(p));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DFillMaterial.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DFillMaterial.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DFillMaterialJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, l, t, i, c) {
      Object.defineProperty(o, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function o() {
          return null !== e && e.apply(this, arguments) || this;
        }

        r(o, e), c = o, o.prototype.clone = function () {
          return new c({
            color: t.isSome(this.color) ? this.color.clone() : null,
            colorMixMode: this.colorMixMode
          });
        };
        var c;
        return l([i.enumeration.serializable()({
          multiply: "multiply",
          replace: "replace",
          tint: "tint"
        })], o.prototype, "colorMixMode", void 0), o = c = l([i.subclass("esri.symbols.support.Symbol3DFillMaterial")], o);
      }(i.declared(c["default"]));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DHalo.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DHalo.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DHaloJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, p, l, c, s, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.color = new p([0, 0, 0, 1]), r.size = 0, r;
        }

        o(r, e), l = r, r.prototype.clone = function () {
          return new l({
            color: c.clone(this.color),
            size: this.size
          });
        };
        var l;
        return t([s.property(n.colorAndTransparencyProperty)], r.prototype, "color", void 0), t([s.property(n.screenSizeProperty)], r.prototype, "size", void 0), r = l = t([s.subclass("esri.symbols.support.Symbol3DHalo")], r);
      }(s.declared(l.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DMaterialJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, o, t, l, c, p, n) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var s = function (r) {
        function e() {
          var e = null !== r && r.apply(this, arguments) || this;
          return e.color = null, e;
        }

        o(e, r), l = e, e.prototype.clone = function () {
          return new l({
            color: c.isSome(this.color) ? this.color.clone() : null
          });
        };
        var l;
        return t([p.property(n.colorAndTransparencyProperty)], e.prototype, "color", void 0), e = l = t([p.subclass("esri.symbols.support.Symbol3DMaterial")], e);
      }(p.declared(l.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DOutline.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DOutline.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DOutlineJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.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__(
    /*! ./materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, p, l, s, i, n, c) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var u = function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.color = new p([0, 0, 0, 1]), t.size = i.px2pt(1), t.stipplePattern = null, t.stippleOffColor = null, t;
        }

        r(t, e), l = t, t.prototype.clone = function () {
          return new l({
            color: s.isSome(this.color) ? this.color.clone() : null,
            size: this.size,
            stipplePattern: this.stipplePattern ? this.stipplePattern.slice() : null,
            stippleOffColor: this.stippleOffColor ? this.stippleOffColor.clone() : null
          });
        };
        var l;
        return o([n.property(c.colorAndTransparencyProperty)], t.prototype, "color", void 0), o([n.property(c.screenSizeProperty)], t.prototype, "size", void 0), o([n.property(c.stipplePatternProperty)], t.prototype, "stipplePattern", void 0), o([n.property({
          type: p
        })], t.prototype, "stippleOffColor", void 0), t = l = o([n.subclass("esri.symbols.support.Symbol3DOutline")], t);
      }(n.declared(l.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Symbol3DVerticalOffset.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Symbol3DVerticalOffset.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbol3DVerticalOffsetJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./materialUtils */
    "./node_modules/arcgis-js-api/symbols/support/materialUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, p, s) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.screenLength = 0, r.minWorldLength = 0, r;
        }

        t(r, e), n = r, r.prototype.clone = function () {
          return new n({
            screenLength: this.screenLength,
            minWorldLength: this.minWorldLength,
            maxWorldLength: this.maxWorldLength
          });
        };
        var n;
        return o([p.property(s.screenSizeProperty)], r.prototype, "screenLength", void 0), o([p.property({
          type: Number,
          json: {
            write: !0,
            "default": 0
          }
        })], r.prototype, "minWorldLength", void 0), o([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], r.prototype, "maxWorldLength", void 0), r = n = o([p.subclass("esri.symbols.support.Symbol3DVerticalOffset")], r);
      }(p.declared(n.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/Thumbnail.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/Thumbnail.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportThumbnailJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, u, p) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var n = function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        t(r, e), u = r, r.prototype.clone = function () {
          return new u({
            url: this.url
          });
        };
        var u;
        return o([p.property({
          type: String
        })], r.prototype, "url", void 0), r = u = o([p.subclass("esri.symbols.support.Thumbnail")], r);
      }(p.declared(u));

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/cimSymbolUtils.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/cimSymbolUtils.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportCimSymbolUtilsJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.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, r, t, n, o, i, u, s) {
      function l(e, r) {
        return t(this, void 0, void 0, function () {
          var t, o;
          return n(this, function (n) {
            switch (n.label) {
              case 0:
                return !e.data && e.styleUrl && e.styleName ? (t = e.styleName, o = e, [4, a(t, e.styleUrl, r)]) : [2, e];

              case 1:
                return o.data = n.sent(), [2, e];
            }
          });
        });
      }

      function a(e, u, s) {
        return t(this, void 0, void 0, function () {
          var t, l;
          return n(this, function (n) {
            if (p.has(e)) return [2, p.get(e).then(function (e) {
              return r.makeSymbolRef(e.data);
            })];

            try {
              return t = u + "/resources/styles/cim/" + e + ".json", l = i(t, o({
                responseType: "json",
                query: {
                  f: "json"
                }
              }, s)), p.set(e, l), [2, l.then(function (e) {
                return r.makeSymbolRef(e.data);
              })];
            } catch (r) {
              return f.error("error requesting " + e + ", reason is " + r.message), p.has(e) && p["delete"](e), [2, null];
            }

            return [2];
          });
        });
      }

      var c = this;
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var f = u.getLogger("esri/symbols/support/cimSymbolUtils");
      r.expandSymbols = function (e, o) {
        return t(c, void 0, void 0, function () {
          return n(this, function (t) {
            return [2, s.all(e.map(function (e) {
              return r.expandSymbol(e, o);
            }))];
          });
        });
      }, r.expandSymbol = function (e, r) {
        return t(c, void 0, void 0, function () {
          return n(this, function (t) {
            return e ? "cim" === e.type ? [2, l(e, r)] : "web-style" === e.type ? [2, e.fetchCIMSymbol(r)] : [2, e] : [2, null];
          });
        });
      }, r.makeSymbolRef = function (e, r) {
        return null === e ? null : "CIMSymbolReference" === e.type ? e : {
          type: "CIMSymbolReference",
          symbol: e,
          primitiveOverrides: r
        };
      };
      var p = new Map();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/colors.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/colors.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportColorsJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r) {
      function t(e) {
        return 0 === e.r && 0 === e.g && 0 === e.b;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.white = new r("white"), n.black = new r("black"), n.transparentWhite = new r([255, 255, 255, 0]), n.isBlack = t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/defaults.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/defaults.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportDefaultsJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../SimpleFillSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js"), __webpack_require__(
    /*! ../SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js"), __webpack_require__(
    /*! ../SimpleMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleMarkerSymbol.js"), __webpack_require__(
    /*! ../TextSymbol */
    "./node_modules/arcgis-js-api/symbols/TextSymbol.js"), __webpack_require__(
    /*! ./defaultsJSON */
    "./node_modules/arcgis-js-api/symbols/support/defaultsJSON.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, l, o, r, t, S, n, y, m) {
      function i(e) {
        if (r.isNone(e)) return null;

        switch (e.type) {
          case "mesh":
            return null;

          case "point":
          case "multipoint":
            return l.defaultPointSymbol2D;

          case "polyline":
            return l.defaultPolylineSymbol2D;

          case "polygon":
          case "extent":
            return l.defaultPolygonSymbol2D;

          default:
            o.neverReached(e);
        }

        return null;
      }

      Object.defineProperty(l, "__esModule", {
        value: !0
      }), l.defaultPointSymbol2D = n.fromJSON(m.defaultPointSymbolJSON), l.defaultPolylineSymbol2D = S.fromJSON(m.defaultPolylineSymbolJSON), l.defaultPolygonSymbol2D = t.fromJSON(m.defaultPolygonSymbolJSON), l.defaultTextSymbol2D = y.fromJSON(m.defaultTextSymbolJSON), l.getDefaultSymbol2D = i, l.errorPointSymbol2D = n.fromJSON(m.errorPointSymbolJSON), l.errorPolylineSymbol2D = S.fromJSON(m.errorPolylineSymbolJSON), l.errorPolygonSymbol2D = t.fromJSON(m.errorPolygonSymbolJSON);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/defaultsJSON.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/defaultsJSON.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportDefaultsJSONJs(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, o) {
      Object.defineProperty(o, "__esModule", {
        value: !0
      }), o.defaultColor = [252, 146, 31, 255], o.defaultOutlineColor = [153, 153, 153, 255], o.defaultPointSymbolJSON = {
        type: "esriSMS",
        style: "esriSMSCircle",
        size: 6,
        color: o.defaultColor,
        outline: {
          width: .75,
          color: [153, 153, 153, 255]
        }
      }, o.defaultPolylineSymbolJSON = {
        type: "esriSLS",
        style: "esriSLSSolid",
        width: .75,
        color: o.defaultColor
      }, o.defaultPolygonSymbolJSON = {
        type: "esriSFS",
        style: "esriSFSSolid",
        color: [252, 146, 31, 196],
        outline: {
          width: .75,
          color: [255, 255, 255, 191]
        }
      }, o.defaultTextSymbolJSON = {
        type: "esriTS",
        color: [255, 255, 255, 255],
        font: {
          family: "arial-unicode-ms",
          size: 10,
          weight: "bold"
        },
        horizontalAlignment: "center",
        kerning: !0,
        haloColor: [0, 0, 0, 255],
        haloSize: 1,
        rotated: !1,
        text: "",
        xoffset: 0,
        yoffset: 0,
        angle: 0
      }, o.errorPointSymbolJSON = {
        type: "esriSMS",
        style: "esriSMSCircle",
        color: [0, 0, 0, 255],
        outline: null,
        size: 10.5
      }, o.errorPolylineSymbolJSON = {
        type: "esriSLS",
        style: "esriSLSSolid",
        color: [0, 0, 0, 255],
        width: 1.5
      }, o.errorPolygonSymbolJSON = {
        type: "esriSFS",
        style: "esriSFSSolid",
        color: [0, 0, 0, 255],
        outline: null
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/gfxUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/gfxUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportGfxUtilsJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/ItemCache */
    "./node_modules/arcgis-js-api/core/ItemCache.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, a, l, o) {
      function s(e) {
        var t = e.horizontalAlignment;
        return t = t && b[t.toLowerCase()] || "middle";
      }

      function c(e) {
        var t = e.verticalAlignment;
        return t && w[t.toLowerCase()] || "alphabetic";
      }

      function p(e) {
        return "bottom" === e.verticalAlignment ? "super" : null;
      }

      function u(e) {
        var t = e.style,
            r = null;
        if (e) switch (e.type) {
          case v:
            "cross" !== t && "x" !== t && (r = e.color);
            break;

          case h:
            "solid" === t ? r = e.color : "none" !== t && (r = {
              type: "pattern",
              x: 0,
              y: 0,
              src: x + t + ".png",
              width: 8,
              height: 8
            });
            break;

          case g:
            r = {
              type: "pattern",
              src: e.url,
              width: o.pt2px(e.width) * e.xscale,
              height: o.pt2px(e.height) * e.yscale,
              x: o.pt2px(e.xoffset),
              y: o.pt2px(e.yoffset)
            };
            break;

          case y:
            r = e.color;
        }
        return r;
      }

      function f(e, t) {
        var r = e + "-" + t;
        return void 0 !== C.get(r) ? l.resolve(C.get(r)) : i(e, {
          responseType: "image"
        }).then(function (e) {
          var n = e.data,
              i = n.naturalWidth,
              a = n.naturalHeight,
              l = document.createElement("canvas");
          l.width = i, l.height = a;
          var o = l.getContext("2d");
          o.fillStyle = t, o.fillRect(0, 0, i, a), o.globalCompositeOperation = "destination-in", o.drawImage(n, 0, 0);
          var s = l.toDataURL();
          return C.put(r, s), s;
        });
      }

      function d(e) {
        if (!e) return null;
        var t;

        switch (e.type) {
          case h:
          case g:
          case v:
            t = d(e.outline);
            break;

          case m:
            var r = o.pt2px(e.width);
            "none" !== e.style && 0 !== r && (t = {
              color: e.color,
              style: k(e.style),
              width: r,
              cap: e.cap,
              join: "miter" === e.join ? o.pt2px(e.miterLimit) : e.join
            });
            break;

          default:
            t = null;
        }

        return t;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var g = "picture-fill",
          h = "simple-fill",
          m = "simple-line",
          v = "simple-marker",
          y = "text",
          x = e.toUrl("../../symbols/patterns/"),
          b = {
        left: "start",
        center: "middle",
        right: "end",
        justify: "start"
      },
          w = {
        top: "text-before-edge",
        middle: "central",
        baseline: "alphabetic",
        bottom: "text-after-edge"
      },
          C = new a(1e3);
      t.getSVGAlign = s, t.getSVGBaseline = c, t.getSVGBaselineShift = p, t.getFill = u, t.getPatternUrlWithColor = f, t.getStroke = d;

      var k = function () {
        var e = {};
        return function (t) {
          if (e[t]) return e[t];
          var r = t.replace(/-/g, "");
          return e[t] = r, r;
        };
      }();

      t.defaultThematicColor = new n([128, 128, 128]);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/jsonUtils.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportJsonUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Warning */
    "./node_modules/arcgis-js-api/core/Warning.js"), __webpack_require__(
    /*! ../CIMSymbol */
    "./node_modules/arcgis-js-api/symbols/CIMSymbol.js"), __webpack_require__(
    /*! ../LabelSymbol3D */
    "./node_modules/arcgis-js-api/symbols/LabelSymbol3D.js"), __webpack_require__(
    /*! ../LineSymbol3D */
    "./node_modules/arcgis-js-api/symbols/LineSymbol3D.js"), __webpack_require__(
    /*! ../MeshSymbol3D */
    "./node_modules/arcgis-js-api/symbols/MeshSymbol3D.js"), __webpack_require__(
    /*! ../PictureFillSymbol */
    "./node_modules/arcgis-js-api/symbols/PictureFillSymbol.js"), __webpack_require__(
    /*! ../PictureMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js"), __webpack_require__(
    /*! ../PointSymbol3D */
    "./node_modules/arcgis-js-api/symbols/PointSymbol3D.js"), __webpack_require__(
    /*! ../PolygonSymbol3D */
    "./node_modules/arcgis-js-api/symbols/PolygonSymbol3D.js"), __webpack_require__(
    /*! ../SimpleFillSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js"), __webpack_require__(
    /*! ../SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js"), __webpack_require__(
    /*! ../SimpleMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleMarkerSymbol.js"), __webpack_require__(
    /*! ../Symbol3D */
    "./node_modules/arcgis-js-api/symbols/Symbol3D.js"), __webpack_require__(
    /*! ../TextSymbol */
    "./node_modules/arcgis-js-api/symbols/TextSymbol.js"), __webpack_require__(
    /*! ../WebStyleSymbol */
    "./node_modules/arcgis-js-api/symbols/WebStyleSymbol.js"), __webpack_require__(
    /*! ../callouts/LineCallout3D */
    "./node_modules/arcgis-js-api/symbols/callouts/LineCallout3D.js"), __webpack_require__(
    /*! ./symbolConversion */
    "./node_modules/arcgis-js-api/symbols/support/symbolConversion.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, o, r, l, s, t, i, y, u, m, b, S, a, c, p, f, d, w, D) {
      function g(e) {
        return e ? L[e.type] || null : null;
      }

      function M(e, n, o) {
        var l = g(e);

        if (l) {
          var s = new l();
          return s.read(e, o), s;
        }

        return o && o.messages && e && o.messages.push(new r("symbol:unsupported", "Symbols of type '" + (e.type || "unknown") + "' are not supported", {
          definition: e,
          context: o
        })), null;
      }

      function v(e, n, o, r) {
        var l = P(e, {}, r);
        l && (n[o] = l);
      }

      function P(e, n, r) {
        if (!e) return null;

        if (r && "web-scene" === r.origin && !(e instanceof p) && !(e instanceof d)) {
          var l = "cim" !== e.type ? D.to3D(e) : {
            symbol: null,
            error: new o("symbol-conversion:unsupported-cim-symbol", "CIM symbol is unsupported in web scenes", {
              symbol: e
            })
          };
          return l.symbol ? l.symbol.write(n, r) : (r.messages && r.messages.push(new o("symbol:unsupported", "Symbols of type '" + e.declaredClass + "' are not supported in scenes. Use 3D symbology instead when working with WebScene and SceneView", {
            symbol: e,
            context: r,
            error: l.error
          })), null);
        }

        return e.write(n, r);
      }

      function h(e, n) {
        return M(e, null, n);
      }

      function C(e, n) {
        if (!e || !e.type) return null;
        var o = null;

        switch (e.type) {
          case "line":
            o = new w();
        }

        return o && o.read(e, n), o;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var L = {
        esriSMS: c,
        esriPMS: u,
        esriTS: f,
        esriSLS: a,
        esriSFS: S,
        esriPFS: y,
        PointSymbol3D: m,
        LineSymbol3D: t,
        PolygonSymbol3D: b,
        MeshSymbol3D: i,
        LabelSymbol3D: s,
        styleSymbolReference: d,
        CIMSymbolReference: l
      };
      n.read = M, n.writeTarget = v, n.write = P, n.fromJSON = h, n.readCallout3D = C;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/materialUtils.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/materialUtils.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportMaterialUtilsJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../webdoc/support/opacityUtils */
    "./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, n, o, a) {
      function c(r, e) {
        var n = null != e.transparency ? a.transparencyToOpacity(e.transparency) : 1,
            o = e.color;
        return o && Array.isArray(o) ? new t([o[0] || 0, o[1] || 0, o[2] || 0, n]) : null;
      }

      function p(r, e) {
        e.color = r.toJSON().slice(0, 3);
        var t = a.opacityToTransparency(r.a);
        0 !== t && (e.transparency = t);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.colorAndTransparencyProperty = {
        type: t,
        json: {
          type: [o.Integer],
          "default": null,
          read: {
            source: ["color", "transparency"],
            reader: c
          },
          write: {
            target: {
              color: {
                type: [o.Integer]
              },
              transparency: {
                type: o.Integer
              }
            },
            writer: p
          }
        }
      }, e.screenSizeProperty = {
        type: Number,
        cast: n.toPt,
        json: {
          write: !0
        }
      }, e.stipplePatternProperty = {
        type: [Number],
        cast: function cast(r) {
          return null != r ? r : Array.isArray(r) ? r.map(n.toPt) : null;
        },
        json: {
          read: !1,
          write: !1
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/previewCIMSymbol.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/previewCIMSymbol.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportPreviewCIMSymbolJs(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__(
    /*! ../cim/CIMSymbolRasterizer */
    "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolRasterizer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, i, r) {
      function n(e, t) {
        return i(this, void 0, void 0, function () {
          var i, r, n, s, c, m, h, g;
          return a(this, function (a) {
            switch (a.label) {
              case 0:
                return i = t && t.size ? t.size : null, r = t && t.maxSize ? t.maxSize : null, n = Math.min(i || o, r || u), s = 3, [4, l.rasterizeCIMSymbolAsync(e, null, null, {
                  targetSize: n * s
                })];

              case 1:
                return c = a.sent(), m = document.createElement("canvas"), m.width = c.imageData.width, m.height = c.imageData.height, h = m.getContext("2d"), h.putImageData(c.imageData, 0, 0), g = new Image(m.width / s, m.height / s), g.src = m.toDataURL(), [2, g];
            }
          });
        });
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var l = new r(null, !0),
          o = 22,
          u = 120;
      t.previewCIMSymbol = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/previewSymbol2D.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/previewSymbol2D.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportPreviewSymbol2DJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ./gfxUtils */
    "./node_modules/arcgis-js-api/symbols/support/gfxUtils.js"), __webpack_require__(
    /*! ./previewUtils */
    "./node_modules/arcgis-js-api/symbols/support/previewUtils.js"), __webpack_require__(
    /*! ./renderUtils */
    "./node_modules/arcgis-js-api/symbols/support/renderUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, t, r, n, s, i, l) {
      function c(e, a) {
        var t = k.getContext("2d"),
            r = [];
        return a && (a.weight && r.push(a.weight), a.size && r.push(a.size + "px"), a.family && r.push(a.family)), t.font = r.join(" "), t.measureText(e).width;
      }

      function o(e) {
        if (0 === e.length) return 0;

        if (e.length > 2) {
          var a = n.px2pt(1),
              t = parseFloat(e);

          switch (e.slice(-2)) {
            case "px":
              return t;

            case "pt":
              return t * a;

            case "in":
              return 72 * t * a;

            case "pc":
              return 12 * t * a;

            case "mm":
              return t * b * a;

            case "cm":
              return t * L * a;
          }
        }

        return parseFloat(e);
      }

      function m(e, a) {
        var m = a && a.size ? n.pt2px(a.size) : null,
            k = a && a.maxSize ? n.pt2px(a.maxSize) : null,
            b = a && null != a.opacity ? a.opacity : null,
            L = a && null != a.rotation ? a.rotation : null,
            z = s.getStroke(e),
            S = {
          shape: null,
          fill: null,
          stroke: z
        };
        z && z.width && (z.width = Math.min(z.width, w));
        var U = 0,
            F = 0;

        switch (e.type) {
          case v:
            var E = e.style,
                P = n.pt2px(e.size);

            switch (U = Math.min(m || P || x, k || M), F = Math.min(m || P || x, k || M), E) {
              case "circle":
                S.shape = {
                  type: "circle",
                  cx: .5 * P,
                  cy: .5 * P,
                  r: .5 * P
                };
                break;

              case "cross":
                S.shape = {
                  type: "path",
                  path: [{
                    command: "M",
                    values: [0, .5 * F]
                  }, {
                    command: "L",
                    values: [U, .5 * F]
                  }, {
                    command: "M",
                    values: [.5 * U, 0]
                  }, {
                    command: "L",
                    values: [.5 * U, F]
                  }]
                };
                break;

              case "diamond":
                S.shape = {
                  type: "path",
                  path: [{
                    command: "M",
                    values: [0, .5 * F]
                  }, {
                    command: "L",
                    values: [.5 * U, 0]
                  }, {
                    command: "L",
                    values: [U, .5 * F]
                  }, {
                    command: "L",
                    values: [.5 * U, F]
                  }, {
                    command: "Z",
                    values: []
                  }]
                };
                break;

              case "square":
                S.shape = {
                  type: "path",
                  path: [{
                    command: "M",
                    values: [0, 0]
                  }, {
                    command: "L",
                    values: [U, 0]
                  }, {
                    command: "L",
                    values: [U, F]
                  }, {
                    command: "L",
                    values: [0, F]
                  }, {
                    command: "Z",
                    values: []
                  }]
                };
                break;

              case "triangle":
                S.shape = {
                  type: "path",
                  path: [{
                    command: "M",
                    values: [.5 * U, 0]
                  }, {
                    command: "L",
                    values: [U, F]
                  }, {
                    command: "L",
                    values: [0, F]
                  }, {
                    command: "Z",
                    values: []
                  }]
                };
                break;

              case "x":
                S.shape = {
                  type: "path",
                  path: [{
                    command: "M",
                    values: [0, 0]
                  }, {
                    command: "L",
                    values: [U, F]
                  }, {
                    command: "M",
                    values: [U, 0]
                  }, {
                    command: "L",
                    values: [0, F]
                  }]
                };
                break;

              case "path":
                S.shape = {
                  type: "path",
                  path: e.path || ""
                };
            }

            break;

          case d:
            var j = Math.min(m || z && z.width || x, k || w),
                C = j > x ? 2 * j : g;
            z.width = j, U = C, F = j, S.shape = {
              type: "path",
              path: [{
                command: "M",
                values: [0, F]
              }, {
                command: "L",
                values: [U, F]
              }]
            };
            break;

          case p:
          case u:
            U = Math.min(m || x, k || M), F = Math.min(m || x, k || M), S.shape = i.shapes.fill[0];
            break;

          case h:
            var Z = n.pt2px(e.width),
                q = n.pt2px(e.height),
                D = Math.max(Z, q),
                T = Z / q;
            Z = T <= 1 ? Math.ceil(D * T) : D, q = T <= 1 ? D : Math.ceil(D / T), U = Math.min(m || Z || x, k || M), F = Math.min(m || q || x, k || M), S.shape = {
              type: "image",
              x: -Math.round(U / 2),
              y: -Math.round(F / 2),
              width: U,
              height: F,
              src: e.url || ""
            };
            break;

          case y:
            var _ = e,
                A = _.text || f,
                H = _.font,
                O = Math.min(m || n.pt2px(H.size), k || M),
                W = c(A, {
              weight: H.weight,
              size: O,
              family: H.family
            }),
                B = /[\uE600-\uE6FF]/.test(A);
            U = B ? O : W, F = O;
            var G = .25 * o((H ? O : 0).toString());
            B && (G += 5), S.shape = {
              type: "text",
              text: A,
              x: 0,
              y: G,
              align: "middle",
              decoration: H && H.decoration,
              rotated: _.rotated,
              kerning: _.kerning
            }, S.font = H && {
              size: O,
              style: H.style,
              decoration: H.decoration,
              weight: H.weight,
              family: H.family
            };
        }

        if (!S.shape) return r.reject(new t("symbolPreview: renderPreviewHTML2D", "symbol not supported."));
        var I = s.getFill(e),
            J = I,
            K = e.color,
            N = null;
        return J && "pattern" === J.type && K && e.type !== p ? N = s.getPatternUrlWithColor(J.src, K.toCss(!0)).then(function (e) {
          return J.src = e, S.fill = J, S;
        }) : (S.fill = I, N = r.resolve(S)), N.then(function (e) {
          return l.renderSymbol([[e]], [U, F], {
            node: a && a.node,
            scale: !0,
            opacity: b,
            rotation: L
          });
        });
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var p = "picture-fill",
          h = "picture-marker",
          u = "simple-fill",
          d = "simple-line",
          v = "simple-marker",
          y = "text",
          f = "Aa",
          x = 22,
          M = 120,
          w = 80,
          g = 40,
          k = document.createElement("canvas"),
          b = 7.2 / 2.54,
          L = 72 / 2.54;
      a.previewSymbol2D = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/previewSymbol3D.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/previewSymbol3D.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportPreviewSymbol3DJs(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/colorUtils */
    "./node_modules/arcgis-js-api/core/colorUtils.js"), __webpack_require__(
    /*! ../../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ./gfxUtils */
    "./node_modules/arcgis-js-api/symbols/support/gfxUtils.js"), __webpack_require__(
    /*! ./IconSymbol3DLayerResource */
    "./node_modules/arcgis-js-api/symbols/support/IconSymbol3DLayerResource.js"), __webpack_require__(
    /*! ./ObjectSymbol3DLayerResource */
    "./node_modules/arcgis-js-api/symbols/support/ObjectSymbol3DLayerResource.js"), __webpack_require__(
    /*! ./previewUtils */
    "./node_modules/arcgis-js-api/symbols/support/previewUtils.js"), __webpack_require__(
    /*! ./renderUtils */
    "./node_modules/arcgis-js-api/symbols/support/renderUtils.js"), __webpack_require__(
    /*! ./styleUtils */
    "./node_modules/arcgis-js-api/symbols/support/styleUtils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/symbols/support/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, r, t, s, l, i, o, n, h, p, u, c, m, f, v, y) {
      function d(e) {
        var a = e.outline,
            r = o.isSome(e.material) ? e.material.color : null,
            t = o.isSome(r) ? r.toRgba().toString() : null;
        if (o.isNone(a)) return "fill" === e.type && "255,255,255,1" === t ? {
          color: "#bdc3c7",
          width: .75
        } : null;
        var s = h.pt2px(a.size) || 0;
        return {
          color: "rgba(" + (o.isSome(a.color) ? a.color.toRgba() : "255,255,255,1") + ")",
          width: Math.min(s, H)
        };
      }

      function b(e, a) {
        var r = a && a.resource,
            t = r && r.href;
        return e.thumbnail && e.thumbnail.url ? n.resolve(e.thumbnail.url) : t && "object" !== a.type ? n.resolve(y.getIconHref(e, a)) : e.styleOrigin && (e.styleOrigin.styleName || e.styleOrigin.styleUrl) ? v.resolveWebStyleSymbol(e.styleOrigin, {
          portal: e.styleOrigin.portal
        }, "webRef")["catch"](function (e) {
          return e;
        }).then(function (e) {
          return e && e.thumbnail && e.thumbnail.url || P;
        }) : n.resolve(P);
      }

      function g(e, a) {
        void 0 === a && (a = 1);
        var r = e.a,
            s = t.toHSV(e),
            l = s.h,
            i = s.s / a,
            o = 100 - (100 - s.v) / a,
            n = t.toRGB({
          h: l,
          s: i,
          v: o
        });
        return [n.r, n.g, n.b, r];
      }

      function x(e, a) {
        return Math.round(Math.min(Math.max(e + 255 * a * .75, 0), 255));
      }

      function k(e) {
        return "water" === e.type ? o.isNone(e.color) ? null : e.color : o.isNone(e.material) || o.isNone(e.material.color) ? null : e.material.color;
      }

      function M(e, a) {
        void 0 === a && (a = 0);
        var r = k(e);

        if (!r) {
          var t = p.defaultThematicColor.r,
              s = x(t, a);
          return [s, s, s, 100];
        }

        for (var l = r.toRgba(), i = 0; i < 3; i++) l[i] = x(l[i], a);

        return l;
      }

      function S(e) {
        return e.outline ? d(e) : {
          color: "rgba(0, 0, 0, 1)",
          width: 1.5
        };
      }

      function w(e, a) {
        var r = k(e);
        if (!r) return null;
        var t = "rgba(";
        return t += x(r.r, a) + ",", t += x(r.g, a) + ",", (t += x(r.b, a) + ",") + r.a + ");";
      }

      function L(e, a) {
        var r = w(e, a);
        return r ? {
          color: r,
          width: Math.min(e.size ? h.pt2px(e.size) : .75, H)
        } : {};
      }

      function z(e, a, r) {
        var t = .75 * r;
        return {
          type: "linear",
          x1: t ? .25 * t : 0,
          y1: t ? .5 * t : 0,
          x2: t || 4,
          y2: t ? .5 * t : 4,
          colors: [{
            color: e,
            offset: 0
          }, {
            color: a,
            offset: 1
          }]
        };
      }

      function U(e) {
        var a = e.depth,
            r = e.height,
            t = e.width;
        return t && a && r && t === a && t < r;
      }

      function j(e, a, r) {
        var t = [];
        if (!e) return t;

        switch (e.type) {
          case "icon":
            var l = a,
                i = a,
                o = e.resource && e.resource.primitive || u.defaultPrimitive;

            switch (o) {
              case "circle":
                t.push({
                  shape: {
                    type: "circle",
                    cx: 0,
                    cy: 0,
                    r: .5 * a
                  },
                  fill: M(e, 0),
                  stroke: d(e)
                });
                break;

              case "square":
                t.push({
                  shape: {
                    type: "path",
                    path: [{
                      command: "M",
                      values: [0, i]
                    }, {
                      command: "L",
                      values: [0, 0]
                    }, {
                      command: "L",
                      values: [l, 0]
                    }, {
                      command: "L",
                      values: [l, i]
                    }, {
                      command: "Z",
                      values: []
                    }]
                  },
                  fill: M(e, 0),
                  stroke: d(e)
                });
                break;

              case "triangle":
                t.push({
                  shape: {
                    type: "path",
                    path: [{
                      command: "M",
                      values: [0, i]
                    }, {
                      command: "L",
                      values: [.5 * l, 0]
                    }, {
                      command: "L",
                      values: [l, i]
                    }, {
                      command: "Z",
                      values: []
                    }]
                  },
                  fill: M(e, 0),
                  stroke: d(e)
                });
                break;

              case "cross":
                t.push({
                  shape: {
                    type: "path",
                    path: [{
                      command: "M",
                      values: [.5 * l, 0]
                    }, {
                      command: "L",
                      values: [.5 * l, i]
                    }, {
                      command: "M",
                      values: [0, .5 * i]
                    }, {
                      command: "L",
                      values: [l, .5 * i]
                    }]
                  },
                  stroke: S(e)
                });
                break;

              case "x":
                t.push({
                  shape: {
                    type: "path",
                    path: [{
                      command: "M",
                      values: [0, 0]
                    }, {
                      command: "L",
                      values: [l, i]
                    }, {
                      command: "M",
                      values: [l, 0]
                    }, {
                      command: "L",
                      values: [0, i]
                    }]
                  },
                  stroke: S(e)
                });
                break;

              case "kite":
                t.push({
                  shape: {
                    type: "path",
                    path: [{
                      command: "M",
                      values: [0, .5 * i]
                    }, {
                      command: "L",
                      values: [.5 * l, 0]
                    }, {
                      command: "L",
                      values: [l, .5 * i]
                    }, {
                      command: "L",
                      values: [.5 * l, i]
                    }, {
                      command: "Z",
                      values: []
                    }]
                  },
                  fill: M(e, 0),
                  stroke: d(e)
                });
                break;

              default:
                s.neverReached(o);
            }

            break;

          case "object":
            var o = e.resource && e.resource.primitive || c.defaultPrimitive;

            switch (o) {
              case "cone":
                var n = M(e, 0),
                    h = M(e, -.6),
                    p = r ? A : a,
                    f = z(n, h, p),
                    v = m.getConeShapes(a, r);
                t.push({
                  shape: v[0],
                  fill: f
                }), t.push({
                  shape: v[1],
                  fill: f
                });
                break;

              case "inverted-cone":
                var y = M(e, 0),
                    b = M(e, -.6),
                    g = z(y, b, a),
                    x = m.getInvertedConeShapes(a);
                t.push({
                  shape: x[0],
                  fill: g
                }), t.push({
                  shape: x[1],
                  fill: y
                });
                break;

              case "cube":
                var k = m.getCubeShapes(a, r);
                t.push({
                  shape: k[0],
                  fill: M(e, 0)
                }), t.push({
                  shape: k[1],
                  fill: M(e, -.3)
                }), t.push({
                  shape: k[2],
                  fill: M(e, -.5)
                });
                break;

              case "cylinder":
                var w = M(e, 0),
                    L = M(e, -.6),
                    U = r ? A : a,
                    j = z(w, L, U),
                    D = m.getCylinderShapes(a, r);
                t.push({
                  shape: D[0],
                  fill: j
                }), t.push({
                  shape: D[1],
                  fill: j
                }), t.push({
                  shape: D[2],
                  fill: M(e, 0)
                });
                break;

              case "diamond":
                var R = m.getDiamondShapes(a);
                t.push({
                  shape: R[0],
                  fill: M(e, -.3)
                }), t.push({
                  shape: R[1],
                  fill: M(e, 0)
                }), t.push({
                  shape: R[2],
                  fill: M(e, -.3)
                }), t.push({
                  shape: R[3],
                  fill: M(e, -.7)
                });
                break;

              case "sphere":
                var I = M(e, 0),
                    C = M(e, -.6),
                    O = z(I, C);
                O.x1 = 0, O.y1 = 0, O.x2 = .25 * a, O.y2 = .25 * a, t.push({
                  shape: {
                    type: "circle",
                    cx: 0,
                    cy: 0,
                    r: .5 * a
                  },
                  fill: O
                });
                break;

              case "tetrahedron":
                var P = m.getTetrahedronShapes(a);
                t.push({
                  shape: P[0],
                  fill: M(e, -.3)
                }), t.push({
                  shape: P[1],
                  fill: M(e, 0)
                }), t.push({
                  shape: P[2],
                  fill: M(e, -.6)
                });
                break;

              default:
                s.neverReached(o);
            }

        }

        return t;
      }

      function D(e) {
        return "icon" === e.type ? "multiply" : "tint";
      }

      function R(e, a) {
        var r,
            t = a && a.size ? h.pt2px(a.size) : null,
            s = a && a.maxSize ? h.pt2px(a.maxSize) : null,
            l = a && a.disableUpsampling,
            i = e.symbolLayers,
            o = [],
            p = 0,
            u = 0,
            c = i.getItemAt(i.length - 1);
        return c && "icon" === c.type && (r = c.size && h.pt2px(c.size)), i.forEach(function (i) {
          if ("icon" === i.type || "object" === i.type) {
            var c = "icon" === i.type ? i.size && h.pt2px(i.size) : 0,
                m = t || c ? Math.ceil(Math.min(t || c, s || E)) : N;

            if (i && i.resource && i.resource.href) {
              var v = b(e, i).then(function (e) {
                var a = i.get("material.color"),
                    r = D(i);
                return f.tintImageWithColor(e, m, a, r, l);
              }).then(function (e) {
                var a = e.width,
                    r = e.height;
                return p = Math.max(p, a), u = Math.max(u, r), [{
                  shape: {
                    type: "image",
                    x: 0,
                    y: 0,
                    width: a,
                    height: r,
                    src: e.url
                  },
                  fill: null,
                  stroke: null
                }];
              });
              o.unshift(v);
            } else {
              var y = m;
              "icon" === i.type && r && t && (y = m * (c / r));
              var d = a && "tall" === a.symbolConfig || "object" === i.type && U(i);
              p = Math.max(p, d ? A : y), u = Math.max(u, y), o.unshift(n.resolve(j(i, y, d)));
            }
          }
        }), n.eachAlways(o).then(function (e) {
          var r = [];
          return e.forEach(function (e) {
            e.value ? r.push(e.value) : e.error && T.warn("error while building swatchInfo!", e.error);
          }), f.renderSymbol(r, [p, u], {
            node: a && a.node,
            scale: !1,
            opacity: a && a.opacity
          });
        });
      }

      function I(e, a) {
        var t,
            s = e.symbolLayers,
            l = [],
            i = y.isVolumetricSymbol(e),
            o = a && a.size ? h.pt2px(a.size) : null,
            p = a && a.maxSize ? h.pt2px(a.maxSize) : null,
            u = p || H,
            c = 0,
            v = 0;
        return s.forEach(function (e, a) {
          if (e && ("line" === e.type || "path" === e.type)) {
            var s = [];

            switch (e.type) {
              case "line":
                var i = L(e, 0),
                    n = i && i.width || 0;
                0 === a && (t = n);
                var h = Math.min(o || n, u),
                    p = 0 === a ? h : o ? h * (n / t) : h,
                    f = p > q / 2 ? 2 * p : q;
                v = Math.max(v, p), c = Math.max(c, f), i.width = p, s.push({
                  shape: {
                    type: "path",
                    path: [{
                      command: "M",
                      values: [0, .5 * v]
                    }, {
                      command: "L",
                      values: [c, .5 * v]
                    }]
                  },
                  stroke: i
                });
                break;

              case "path":
                var y = Math.min(o || N, u),
                    d = M(e, 0),
                    b = M(e, -.2),
                    g = w(e, -.4),
                    i = g ? {
                  color: g,
                  width: 1
                } : {};

                if ("quad" === e.profile) {
                  var x = e.width || e.size,
                      k = e.height || e.size,
                      S = x && k ? x / k : 1,
                      z = m.getPathSymbolShapes(S),
                      U = r({}, i, {
                    join: "bevel"
                  });
                  s.push({
                    shape: z[0],
                    fill: b,
                    stroke: U
                  }), s.push({
                    shape: z[1],
                    fill: b,
                    stroke: U
                  }), s.push({
                    shape: z[2],
                    fill: d,
                    stroke: U
                  });
                } else s.push({
                  shape: m.shapes.pathSymbol3DLayer[0],
                  fill: b,
                  stroke: i
                }), s.push({
                  shape: m.shapes.pathSymbol3DLayer[1],
                  fill: d,
                  stroke: i
                });

                v = Math.max(v, y), c = v;
            }

            l.push(s);
          }
        }), n.resolve(f.renderSymbol(l, [c, v], {
          node: a && a.node,
          scale: i,
          opacity: a && a.opacity
        }));
      }

      function C(e, a) {
        for (var t = e.type, s = "mesh-3d" === t, l = e.symbolLayers, i = a && a.size ? h.pt2px(a.size) : null, o = a && a.maxSize ? h.pt2px(a.maxSize) : null, p = i || N, u = [], c = 0, v = 0, y = !1, b = 0; b < l.length; b++) {
          var x = l.getItemAt(b),
              S = [];

          if (!s || "fill" === x.type) {
            var w = m.shapes.fill[0];

            switch (x.type) {
              case "fill":
                var z = d(x),
                    U = Math.min(p, o || E);
                c = Math.max(c, U), v = Math.max(v, U), y = !0, S.push({
                  shape: w,
                  fill: M(x, 0),
                  stroke: z
                });
                break;

              case "line":
                var j = L(x, 0),
                    D = {
                  stroke: j,
                  shape: w
                };
                c = Math.max(c, N), v = Math.max(v, N), S.push(D);
                break;

              case "extrude":
                var R = r({
                  join: "round"
                }, L(x, -.4)),
                    I = M(x, 0),
                    C = M(x, -.2),
                    O = Math.min(p, o || E),
                    P = m.getExtrudeSymbolShapes(O);
                R.width = 1, S.push({
                  shape: P[0],
                  fill: C,
                  stroke: R
                }), S.push({
                  shape: P[1],
                  fill: C,
                  stroke: R
                }), S.push({
                  shape: P[2],
                  fill: I,
                  stroke: R
                });
                var H = N,
                    q = .7 * N + .5 * O;
                c = Math.max(c, H), v = Math.max(v, q);
                break;

              case "water":
                var A = k(x),
                    I = g(A),
                    T = g(A, 2),
                    W = g(A, 3),
                    Z = m.getWaterSymbolShapes();
                y = !0, S.push({
                  shape: Z[0],
                  fill: I
                }), S.push({
                  shape: Z[1],
                  fill: T
                }), S.push({
                  shape: Z[2],
                  fill: W
                });
                var U = Math.min(p, o || E);
                c = Math.max(c, U), v = Math.max(v, U);
            }

            u.push(S);
          }
        }

        return n.resolve(f.renderSymbol(u, [c, v], {
          node: a && a.node,
          scale: y,
          opacity: a && a.opacity
        }));
      }

      function O(e, a) {
        if (0 === e.symbolLayers.length) return n.reject(new l("symbolPreview: renderPreviewHTML3D", "No symbolLayers in the symbol."));
        var r = null;

        switch (e.type) {
          case "point-3d":
            r = R(e, a);
            break;

          case "line-3d":
            r = I(e, a);
            break;

          case "polygon-3d":
          case "mesh-3d":
            r = C(e, a);
        }

        return r || n.reject(new l("symbolPreview: swatchInfo3D", "symbol not supported."));
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var P = e.toUrl("../../images/Legend/legend3dsymboldefault.png"),
          N = 22,
          E = 120,
          H = 80,
          q = 40,
          A = 20,
          T = i.getLogger("esri.symbols.support.previewSymbol3D");
      a.getSymbolLayerFill = M, a.previewSymbol3D = O;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/previewUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/previewUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportPreviewUtilsJs(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 (a, e) {
      function t(a) {
        var e = 22,
            t = 22;
        a < 1 ? e *= .75 : a > 1 && (t *= 1.25);
        return [{
          type: "path",
          path: [{
            command: "M",
            values: [22, 0]
          }, {
            command: "L",
            values: [19.25, 0]
          }, {
            command: "L",
            values: [0, t - 11]
          }, {
            command: "L",
            values: [e - 11, t - 11]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [22, 0]
          }, {
            command: "L",
            values: [22, 2.75]
          }, {
            command: "L",
            values: [e - 11, 22]
          }, {
            command: "L",
            values: [e - 11, t - 11]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [e - 11, t - 11]
          }, {
            command: "L",
            values: [0, t - 11]
          }, {
            command: "L",
            values: [0, 22]
          }, {
            command: "L",
            values: [e - 11, 22]
          }, {
            command: "Z",
            values: []
          }]
        }];
      }

      function m(a) {
        var e = .5 * a;
        return [{
          type: "path",
          path: [{
            command: "M",
            values: [0, 22 * .7 * .5]
          }, {
            command: "L",
            values: [6.6, 22 * .7]
          }, {
            command: "L",
            values: [6.6, 22 * .7 + e]
          }, {
            command: "L",
            values: [0, 22 * .7 + e - 22 * .7 * .5]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [6.6, 22 * .7]
          }, {
            command: "L",
            values: [6.6, 22 * .7 + e]
          }, {
            command: "L",
            values: [22, e]
          }, {
            command: "L",
            values: [22, 0]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [6.6, 0]
          }, {
            command: "L",
            values: [22, 0]
          }, {
            command: "L",
            values: [6.6, 22 * .7]
          }, {
            command: "L",
            values: [0, 22 * .7 * .5]
          }, {
            command: "Z",
            values: []
          }]
        }];
      }

      function p() {
        return [{
          type: "path",
          path: "M80,80.2v-27c-1.5,0.7-2.8,1.6-3.9,2.8c-1.8,2.1-4.4,3.3-7.1,3.5c-2.7-0.1-5.3-1.4-7.1-3.4c-2.2-2.3-4.7-3.6-7.4-3.6s-5.1,1.3-7.3,3.6c-1.8,2.1-4.4,3.3-7.2,3.4c-2.7-0.1-5.3-1.4-7.1-3.4c-2.2-2.3-4.7-3.6-7.4-3.6s-5.1,1.3-7.4,3.6c-1.8,2.1-4.4,3.3-7.2,3.4C8.3,59.3,5.7,58,3.9,56c-1.1-1.2-2.4-2.1-3.9-2.8v27"
        }, {
          type: "path",
          path: "M11,59.4c2.7-0.1,5.3-1.4,7.1-3.4c2.2-2.3,4.7-3.6,7.4-3.6s5.1,1.3,7.4,3.6c1.8,2,4.4,3.3,7.2,3.4c2.7-0.1,5.3-1.4,7.1-3.4c2.2-2.3,4.7-3.6,7.3-3.6s5.1,1.3,7.4,3.6c1.8,2.1,4.4,3.3,7.2,3.4c2.7-0.1,5.3-1.4,7.1-3.4c1.1-1.2,2.4-2.1,3.9-2.8v-24c-1.5,0.7-2.8,1.6-3.9,2.8c-1.8,2.1-4.4,3.3-7.1,3.5c-2.7-0.1-5.3-1.4-7.1-3.4c-2.2-2.3-4.7-3.6-7.4-3.6s-5.1,1.3-7.3,3.6c-1.8,2.1-4.4,3.3-7.2,3.4c-2.7-0.1-5.3-1.4-7.1-3.4c-2.2-2.3-4.7-3.6-7.4-3.6s-5.1,1.3-7.4,3.6c-1.8,2.1-4.4,3.3-7.2,3.4c-2.7-0.1-5.3-1.4-7.1-3.4c-1.1-1.2-2.4-2.1-3.9-2.8v24c1.5,0.7,2.8,1.6,3.9,2.8C5.7,58,8.3,59.3,11,59.4z"
        }, {
          type: "path",
          path: "M11,35.4c2.7-0.1,5.3-1.4,7.1-3.4c2.2-2.3,4.7-3.6,7.4-3.6s5.1,1.3,7.4,3.6c1.8,2,4.4,3.3,7.2,3.4c2.7-0.1,5.3-1.4,7.1-3.4c2.2-2.3,4.7-3.6,7.3-3.6s5.1,1.3,7.4,3.6c1.8,2.1,4.4,3.3,7.2,3.4c2.7-0.1,5.3-1.4,7.1-3.4c1.1-1.2,2.4-2.1,3.9-2.8V3.6c-1.5,0.7-2.8,1.6-3.9,2.8c-2.2,2.1-4.6,3.4-7.1,3.4s-5-1.3-7.1-3.4s-4.7-3.6-7.4-3.6s-5.1,1.3-7.3,3.6S42.5,9.9,40,9.9s-5-1.3-7.1-3.4s-4.7-3.6-7.4-3.6s-5.1,1.3-7.3,3.6c-1.8,2.1-4.4,3.3-7.2,3.4c-2.5,0-5-1.3-7.1-3.4C2.8,5.3,1.4,4.3,0,3.6v25.6c1.5,0.7,2.8,1.6,3.9,2.8C5.7,34.1,8.3,35.3,11,35.4z"
        }];
      }

      function c(a, e) {
        var t = e ? 20 : a,
            m = a,
            p = e ? 4 : 6;
        t -= t <= 22 ? .5 * p : p;
        var c = t,
            L = e ? .35 * t : .5 * t;
        return [{
          type: "path",
          path: [{
            command: "M",
            values: [.5 * c, 0]
          }, {
            command: "L",
            values: [c, .5 * L]
          }, {
            command: "L",
            values: [.5 * c, L]
          }, {
            command: "L",
            values: [0, .5 * L]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [0, .5 * L]
          }, {
            command: "L",
            values: [.5 * c, L]
          }, {
            command: "L",
            values: [.5 * c, m]
          }, {
            command: "L",
            values: [0, m - .5 * L]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [.5 * c, L]
          }, {
            command: "L",
            values: [.5 * c, m]
          }, {
            command: "L",
            values: [c, m - .5 * L]
          }, {
            command: "L",
            values: [c, .5 * L]
          }, {
            command: "Z",
            values: []
          }]
        }];
      }

      function L(a, e) {
        var t = e ? 20 : a,
            m = a,
            p = e ? 4 : 6;
        t -= t <= 22 ? .5 * p : p;
        var c = .5 * t,
            L = .15 * t,
            n = L,
            s = t,
            l = m - L;
        return [{
          type: "ellipse",
          cx: .5 * s,
          cy: l,
          rx: c,
          ry: L
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [0, n]
          }, {
            command: "L",
            values: [0, l]
          }, {
            command: "L",
            values: [s, l]
          }, {
            command: "L",
            values: [s, n]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "ellipse",
          cx: .5 * s,
          cy: n,
          rx: c,
          ry: L
        }];
      }

      function n(a, e) {
        var t = e ? 20 : a,
            m = a,
            p = e ? 4 : 6;
        t -= t <= 22 ? .5 * p : p;
        var c = .5 * t,
            L = .15 * t,
            n = t,
            s = m - L;
        return [{
          type: "ellipse",
          cx: .5 * t,
          cy: s,
          rx: c,
          ry: L
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [.5 * n, 0]
          }, {
            command: "L",
            values: [n, s]
          }, {
            command: "L",
            values: [0, s]
          }, {
            command: "Z",
            values: []
          }]
        }];
      }

      function s(a) {
        var e = a,
            t = a;
        e -= e < 22 ? 3 : 6;
        var m = .5 * e,
            p = .15 * e,
            c = e;
        return [{
          type: "path",
          path: [{
            command: "M",
            values: [0, 0]
          }, {
            command: "L",
            values: [c, 0]
          }, {
            command: "L",
            values: [.5 * c, t - p]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "ellipse",
          cx: .5 * e,
          cy: 0,
          rx: m,
          ry: p
        }];
      }

      function l(a) {
        var e = a,
            t = a;
        e -= e < 22 ? 2 : 4;
        var m = e,
            p = t,
            c = Math.floor(a / 10) - 1 || 1;
        return [{
          type: "path",
          path: [{
            command: "M",
            values: [.45 * m, 0]
          }, {
            command: "L",
            values: [m, .5 * p - c]
          }, {
            command: "L",
            values: [.45 * m - c, .5 * p + c]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [.45 * m, 0]
          }, {
            command: "L",
            values: [.45 * m - c, .5 * p + c]
          }, {
            command: "L",
            values: [0, .5 * p - c]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [0, .5 * p - c]
          }, {
            command: "L",
            values: [.45 * m - c, .5 * p + c]
          }, {
            command: "L",
            values: [.45 * m, t]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [.45 * m, t]
          }, {
            command: "L",
            values: [m, .5 * p - c]
          }, {
            command: "L",
            values: [.45 * m - c, .5 * p + c]
          }, {
            command: "Z",
            values: []
          }]
        }];
      }

      function o(a) {
        var e = a,
            t = a;
        t -= t < 22 ? 1 : 2;
        var m = e,
            p = t;
        return [{
          type: "path",
          path: [{
            command: "M",
            values: [.45 * m, 0]
          }, {
            command: "L",
            values: [m, p]
          }, {
            command: "L",
            values: [.45 * m, .6 * p]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [.45 * m, 0]
          }, {
            command: "L",
            values: [.45 * m, .6 * p]
          }, {
            command: "L",
            values: [0, p]
          }, {
            command: "Z",
            values: []
          }]
        }, {
          type: "path",
          path: [{
            command: "M",
            values: [0, p]
          }, {
            command: "L",
            values: [.45 * m, .6 * p]
          }, {
            command: "L",
            values: [m, p]
          }, {
            command: "Z",
            values: []
          }]
        }];
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.shapes = {
        fill: [{
          type: "path",
          path: "M -10,-10 L 10,0 L 10,10 L -10,10 L -10,-10 Z"
        }],
        pathSymbol3DLayer: [{
          type: "path",
          path: "M 3,12 L 12,0 L 11,-2 L -4,5 L -1,5 L 1,7 L 3,10 L 3,12 Z"
        }, {
          type: "circle",
          cx: -2,
          cy: 10,
          r: 5
        }],
        extrudeSymbol3DLayer: [{
          type: "path",
          path: "M -7,-5 L -2,0 L -2,7 L -7,3 L -7,-5 Z"
        }, {
          type: "path",
          path: "M -2,0 L -2,7 L 10,-3 L 10,-10 L -2,0 Z"
        }, {
          type: "path",
          path: "M -7,-5 L -2,0 L 10,-10 L -2,-10 L -7,-5 Z"
        }],
        cone: [{
          type: "path",
          path: "M 0,-10 L -8,5 L -4,6.5 L 0,7 L 4,6.5 L 8,5 Z"
        }],
        tallCone: [{
          type: "path",
          path: "M 0,-9 L -3.5,7 L -1.5,7.8 L 0,8 L 1.5,7.8 L 3.5,7 L 0,-9 Z"
        }],
        invertedCone: [{
          type: "path",
          path: "M 0,7 L -8,-8 L 8,-8 Z"
        }, {
          type: "path",
          path: "M -8,-8 L -4,-9.5 L 0,-10 L 4,-9.5 L 8,-8 L 4,-6.5 L 0,-6 L -4,-6.5 Z"
        }],
        cube: [{
          type: "path",
          path: "M -10,-7 L 0,-12 L 10,-7 L 0,-2 L -10,-7 Z"
        }, {
          type: "path",
          path: "M -10,-7 L 0,-2 L 0,12 L -10,7 L -10,-7 Z"
        }, {
          type: "path",
          path: "M 0,-2 L 10,-7 L 10,7 L 0,12 L 0,-2 Z"
        }],
        tallCube: [{
          type: "path",
          path: "M -3.5,-8.5 L 0,-9.5 L 3.5,-8.5 L 0,-7.5 L -3.5,-8.5 Z"
        }, {
          type: "path",
          path: "M -3.5,-8.5 L 0,-7.5 L 0,9 L -3.5,8 L -3.5,-8.5 Z"
        }, {
          type: "path",
          path: "M 0,-7.5 L 3.5,-8.5 L 3.5,8 L 0,9 L 0,-7.5 Z"
        }],
        cylinder: [{
          type: "path",
          path: "M -8,-9 L -8,7 L -4,8.5 L 0,9 L 4,8.5 L 8,7 L 8,-9 Z"
        }, {
          type: "ellipse",
          cx: 0,
          cy: -9,
          rx: 8,
          ry: 2
        }],
        tallCylinder: [{
          type: "path",
          path: "M -3.5,-9 L -3.5,7 L -1.5,7.8 L 0,8 L 1.5,7.8 L 3.5,7 L 3.5,-9 Z"
        }, {
          type: "ellipse",
          cx: 0,
          cy: -9,
          rx: 3.5,
          ry: 1
        }],
        diamond: [{
          type: "path",
          path: "M 0,-10 L 10,-1 L -1,1 L 0,-10 Z"
        }, {
          type: "path",
          path: "M 0,-10 L -1,1 L -8,-1 L 0,-10 Z"
        }, {
          type: "path",
          path: "M -1,1 L 0,10 L -8,-1 L -1,1 Z"
        }, {
          type: "path",
          path: "M -1,0 L 0,10 L 10,-1 L -1,1 Z"
        }],
        tetrahedron: [{
          type: "path",
          path: "M 0,-10 L 10,7 L 0,0 L 0,-10 Z"
        }, {
          type: "path",
          path: "M 0,-10 L 0,0 L -8,7 L 0,-10 Z"
        }, {
          type: "path",
          path: "M 10,7 L 0,0 L -8,7 L 10,7 Z"
        }]
      }, e.getPathSymbolShapes = t, e.getExtrudeSymbolShapes = m, e.getWaterSymbolShapes = p, e.getCubeShapes = c, e.getCylinderShapes = L, e.getConeShapes = n, e.getInvertedConeShapes = s, e.getDiamondShapes = l, e.getTetrahedronShapes = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/previewWebStyleSymbol.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/previewWebStyleSymbol.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportPreviewWebStyleSymbolJs(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__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n) {
      function r(e, t, n) {
        var r = e.thumbnail && e.thumbnail.url;
        return r ? i(r, {
          responseType: "image"
        }).then(function (e) {
          var t = h(e.data, n);
          return n && n.node ? (n.node.appendChild(t), n.node) : t;
        }) : e.fetchSymbol().then(function (e) {
          return t(e, n);
        });
      }

      function h(e, t) {
        var i = /\\.svg$/i.test(e.src),
            r = !i && t && t.disableUpsampling,
            h = Math.max(e.width, e.height),
            a = t && null != t.maxSize ? n.pt2px(t.maxSize) : 120;
        r && (a = Math.min(h, a));
        var u = Math.min(a, t && null != t.size ? n.pt2px(t.size) : h);

        if (u !== h) {
          var l = 0 !== e.width && 0 !== e.height ? e.width / e.height : 1;
          l >= 1 ? (e.width = u, e.height = u / l) : (e.width = u * l, e.height = u);
        }

        return e;
      }

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/renderUtils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/renderUtils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportRenderUtilsJs(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__(
    /*! ../../kernel */
    "./node_modules/arcgis-js-api/kernel.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/colorUtils */
    "./node_modules/arcgis-js-api/core/colorUtils.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../libs/maquette/index */
    "./node_modules/arcgis-js-api/libs/maquette/index.js"), __webpack_require__(
    /*! ./svgUtils */
    "./node_modules/arcgis-js-api/symbols/support/svgUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, a, n, o, h, c, l) {
      function u(e, t, r) {
        var i = Math.ceil(t[0]),
            a = Math.ceil(t[1]);
        if (!e.some(function (e) {
          return !!e.length;
        })) return null;
        var n = r && r.node || document.createElement("div");
        return null != r.opacity && (n.style.opacity = r.opacity.toString()), f.append(n, l.renderSVG.bind(null, e, i, a, r)), n;
      }

      function d(e, t) {
        e = Math.ceil(e), t = Math.ceil(t);
        var r = document.createElement("canvas");
        r.width = e, r.height = t, r.style.width = e + "px", r.style.height = t + "px";
        var i = r.getContext("2d");
        return i.clearRect(0, 0, e, t), i;
      }

      function g(e, t, r) {
        return e ? i(e, {
          responseType: "image"
        }).then(function (e) {
          var i = e.data,
              a = i.width,
              n = i.height,
              o = a / n,
              h = t;

          if (r) {
            var c = Math.max(a, n);
            h = Math.min(h, c);
          }

          return {
            image: i,
            width: o <= 1 ? Math.ceil(h * o) : h,
            height: o <= 1 ? h : Math.ceil(h / o)
          };
        }) : h.reject(new n("renderUtils: imageDataSize", "href not provided."));
      }

      function s(e, t) {
        return !(!e || "ignore" === t) && ("multiply" !== t || 255 !== e.r || 255 !== e.g || 255 !== e.b || 1 !== e.a);
      }

      function v(e, t, r, i, n) {
        switch (n) {
          case "multiply":
            e[t + 0] *= r[0], e[t + 1] *= r[1], e[t + 2] *= r[2], e[t + 3] *= r[3];
            break;

          default:
            var o = a.toHSV({
              r: e[t + 0],
              g: e[t + 1],
              b: e[t + 2]
            });
            o.h = i.h, o.s = i.s, o.v = o.v / 100 * i.v;
            var h = a.toRGB(o);
            e[t + 0] = h.r, e[t + 1] = h.g, e[t + 2] = h.b, e[t + 3] *= r[3];
        }
      }

      function m(e, t, i, n, h) {
        return g(e, t, h).then(function (h) {
          var c = h.width ? h.width : t,
              l = h.height ? h.height : t;

          if (h.image && s(i, n)) {
            var u = h.image.width,
                g = h.image.height;
            (o("edge") || o("ie")) && /\.svg$/i.test(e) && (u -= 1, g -= 1);
            var m = d(c, l);
            m.drawImage(h.image, 0, 0, u, g, 0, 0, c, l);

            for (var f = m.getImageData(0, 0, c, l), p = [i.r / 255, i.g / 255, i.b / 255, i.a], w = a.toHSV(i), y = 0; y < f.data.length; y += 4) v(f.data, y, p, w, n);

            m.putImageData(f, 0, 0), e = m.canvas.toDataURL("image/png");
          } else {
            var b = r.id && r.id.findCredential(e);

            if (b && b.token) {
              var M = -1 === e.indexOf("?") ? "?" : "&";
              e = "" + e + M + "token=" + b.token;
            }
          }

          return {
            url: e,
            width: c,
            height: l
          };
        })["catch"](function () {
          return {
            url: e,
            width: t,
            height: t
          };
        });
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var f = c.createProjector();
      t.renderSymbol = u, t.tintImageWithColor = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/styleUtils.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/styleUtils.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportStyleUtilsJs(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__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/devEnvironmentUtils */
    "./node_modules/arcgis-js-api/core/devEnvironmentUtils.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/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../portal/Portal */
    "./node_modules/arcgis-js-api/portal/Portal.js"), __webpack_require__(
    /*! ../../portal/PortalQueryParams */
    "./node_modules/arcgis-js-api/portal/PortalQueryParams.js"), __webpack_require__(
    /*! ../../support/featureFlags */
    "./node_modules/arcgis-js-api/support/featureFlags.js"), __webpack_require__(
    /*! ./jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js"), __webpack_require__(
    /*! ./StyleOrigin */
    "./node_modules/arcgis-js-api/symbols/support/StyleOrigin.js"), __webpack_require__(
    /*! ./Thumbnail */
    "./node_modules/arcgis-js-api/symbols/support/Thumbnail.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, l, o, a, s, i, u, m, y, f, c, b) {
      function p(e, t) {
        return O(e, t).then(function (t) {
          return {
            data: t.data,
            baseUrl: i.removeFile(e),
            styleUrl: e
          };
        });
      }

      function d(e, t, r) {
        var n,
            l = t.portal || u.getDefault(),
            o = l.url + " - " + (l.user && l.user.username) + " - " + e;
        return D[o] || (D[o] = v(e, l, r).then(function (e) {
          return n = e, e.fetchData();
        }).then(function (t) {
          return {
            data: t,
            baseUrl: n.itemUrl,
            styleName: e
          };
        })), D[o];
      }

      function v(e, t, r) {
        return t.load(r).then(function () {
          var n = new m({
            disableExtraQuery: !0,
            query: "owner:" + E + " AND type:" + F + ' AND typekeywords:"' + e + '"'
          });
          return t.queryItems(n, r);
        }).then(function (t) {
          var n = t.results,
              l = null,
              o = e.toLowerCase();
          if (n && Array.isArray(n)) for (var s = 0, i = n; s < i.length; s++) {
            var u = i[s],
                m = u.typeKeywords.some(function (e) {
              return e.toLowerCase() === o;
            });

            if (m && u.type === F && u.owner === E) {
              l = u;
              break;
            }
          }
          if (!l) throw new a("symbolstyleutils:style-not-found", "The style '" + e + "' could not be found", {
            styleName: e
          });
          return l.load(r);
        });
      }

      function h(e, t, r) {
        return e.styleUrl ? p(e.styleUrl, r) : e.styleName ? d(e.styleName, t, r) : s.reject(new a("symbolstyleutils:style-url-and-name-missing", "Either styleUrl or styleName is required to resolve a style"));
      }

      function S(e, t, r, n) {
        return e.name ? e.styleName && "Esri2DPointSymbolsStyle" === e.styleName ? j(e, t, n) : h(e, t, n).then(function (l) {
          return g(l, e.name, t, r, n);
        }) : s.reject(new a("symbolstyleutils:style-symbol-reference-name-missing", "Missing name in style symbol reference"));
      }

      function g(e, t, r, n, u) {
        for (var m = e.data, y = {
          portal: r.portal,
          url: i.urlToObject(e.baseUrl),
          origin: "portal-item"
        }, p = 0, d = m.items; p < d.length; p++) {
          var v = d[p],
              h = function (a) {
            if (a.name !== t) return "continue";
            var s = i.fromJSON(w(a, n), y),
                m = a.thumbnail && a.thumbnail.href,
                p = a.thumbnail && a.thumbnail.imageData;
            o.isDevEnvironment() && (s = o.adjustStaticAGOUrl(s), m = o.adjustStaticAGOUrl(m));
            var d = {
              portal: r.portal,
              url: i.urlToObject(i.removeFile(s)),
              origin: "portal-item"
            };
            return {
              value: O(s, u).then(function (o) {
                var a = "cimRef" === n ? N(o.data) : o.data,
                    s = f.fromJSON(a, d);

                if (s && l.isSymbol3D(s)) {
                  if (m) {
                    var u = i.fromJSON(m, y);
                    s.thumbnail = new b["default"]({
                      url: u
                    });
                  } else p && (s.thumbnail = new b["default"]({
                    url: "data:image/png;base64," + p
                  }));

                  e.styleUrl ? s.styleOrigin = new c({
                    portal: r.portal,
                    styleUrl: e.styleUrl,
                    name: t
                  }) : e.styleName && (s.styleOrigin = new c({
                    portal: r.portal,
                    styleName: e.styleName,
                    name: t
                  }));
                }

                return s;
              })
            };
          }(v);

          if ("object" == typeof h) return h.value;
        }

        return s.reject(new a("symbolstyleutils:symbol-name-not-found", "The symbol name '" + t + "' could not be found", {
          symbolName: t
        }));
      }

      function N(e) {
        return null === e || "CIMSymbolReference" === e.type ? e : {
          type: "CIMSymbolReference",
          symbol: e
        };
      }

      function w(e, t) {
        if ("cimRef" === t) return e.cimRef;
        if (e.formatInfos && !y.enableWebStyleForceWOSR()) for (var r = 0, n = e.formatInfos; r < n.length; r++) {
          var l = n[r];
          if ("gltf" === l.type) return l.href;
        }
        return e.webRef;
      }

      function U(e) {
        for (var t = 0, r = e.typeKeywords; t < r.length; t++) {
          var n = r[t];
          if (/^Esri.*Style$/.test(n) && "Esri Style" !== n) return n;
        }
      }

      function j(e, t, r) {
        var n = R.replace(/\{SymbolName\}/gi, e.name);
        return O(n, r).then(function (e) {
          var r = N(e.data);
          return f.fromJSON(r, {
            portal: t.portal,
            url: i.urlToObject(i.removeFile(n)),
            origin: "portal-item"
          });
        });
      }

      function O(e, t) {
        var l = r({
          responseType: "json",
          query: {
            f: "json"
          }
        }, t);
        return n(i.normalize(e), l);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var D = {};
      t.fetchStyle = h, t.resolveWebStyleSymbol = S, t.fetchSymbolFromStyle = g, t.styleNameFromItem = U;
      var E = "esri_en",
          F = "Style",
          R = "https://cdn.arcgis.com/sharing/rest/content/items/220936cc6ed342c9937abd8f180e7d1e/resources/styles/cim/{SymbolName}.json?f=json";
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/svgUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/svgUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSvgUtilsJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/math/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/math/mat2d.js"), __webpack_require__(
    /*! ../../widgets/support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, i, n, a, o) {
      function l(t) {
        return t.map(function (t) {
          return t.command + " " + t.values.join(" ");
        }).join(" ").trim();
      }

      function h(t, e, r, i) {
        if (t) {
          if ("circle" === t.type) return o.tsx("circle", {
            fill: e,
            "fill-rule": "evenodd",
            stroke: r.color,
            "stroke-width": r.width,
            "stroke-linecap": r.cap,
            "stroke-linejoin": r.join,
            "stroke-dasharray": r.dashArray,
            "stroke-miterlimit": "4",
            cx: t.cx,
            cy: t.cy,
            r: t.r
          });
          if ("ellipse" === t.type) return o.tsx("ellipse", {
            fill: e,
            "fill-rule": "evenodd",
            stroke: r.color,
            "stroke-width": r.width,
            "stroke-linecap": r.cap,
            "stroke-linejoin": r.join,
            "stroke-dasharray": r.dashArray,
            "stroke-miterlimit": "4",
            cx: t.cx,
            cy: t.cy,
            rx: t.rx,
            ry: t.ry
          });
          if ("rect" === t.type) return o.tsx("rect", {
            fill: e,
            "fill-rule": "evenodd",
            stroke: r.color,
            "stroke-width": r.width,
            "stroke-linecap": r.cap,
            "stroke-linejoin": r.join,
            "stroke-dasharray": r.dashArray,
            "stroke-miterlimit": "4",
            x: t.x,
            y: t.y,
            width: t.width,
            height: t.height
          });
          if ("image" === t.type) return o.tsx("image", {
            href: t.src,
            x: t.x,
            y: t.y,
            width: t.width,
            height: t.height,
            preserveAspectRatio: "none"
          });

          if ("path" === t.type) {
            var n = "string" != typeof t.path ? l(t.path) : t.path;
            return o.tsx("path", {
              fill: e,
              "fill-rule": "evenodd",
              stroke: r.color,
              "stroke-width": r.width,
              "stroke-linecap": r.cap,
              "stroke-linejoin": r.join,
              "stroke-dasharray": r.dashArray,
              "stroke-miterlimit": "4",
              d: n
            });
          }

          if ("text" === t.type) return o.tsx("text", {
            fill: e,
            "fill-rule": "evenodd",
            stroke: r.color,
            "stroke-width": r.width,
            "stroke-linecap": r.cap,
            "stroke-linejoin": r.join,
            "stroke-dasharray": r.dashArray,
            "stroke-miterlimit": "4",
            "text-anchor": i.align,
            "text-decoration": i.decoration,
            kerning: i.kerning,
            rotate: i.rotate,
            "text-rendering": M,
            "font-style": i.font.style,
            "font-variant": i.font.variant,
            "font-weight": i.font.weight,
            "font-size": i.font.size,
            "font-family": i.font.family,
            x: t.x,
            y: t.y
          }, t.text);
        }

        return null;
      }

      function s(t) {
        var e = {
          fill: "none",
          pattern: null,
          linearGradient: null
        };
        if (t) if ("type" in t && "pattern" === t.type) {
          var i = "patternId-" + ++N;
          e.fill = "url(#" + i + ")", e.pattern = {
            id: i,
            x: t.x,
            y: t.y,
            width: t.width,
            height: t.height,
            image: {
              x: 0,
              y: 0,
              width: t.width,
              height: t.height,
              href: t.src
            }
          };
        } else if ("type" in t && "linear" === t.type) {
          var i = "linearGradientId-" + ++I;
          e.fill = "url(#" + i + ")", e.linearGradient = {
            id: i,
            x1: t.x1,
            y1: t.y1,
            x2: t.x2,
            y2: t.y2,
            stops: t.colors.map(function (t) {
              return {
                offset: t.offset,
                color: t.color && new r(t.color).toString()
              };
            })
          };
        } else if (t) {
          var n = new r(t);
          e.fill = n.toString();
        }
        return e;
      }

      function f(t) {
        var e = {
          color: "none",
          width: 1,
          cap: "butt",
          join: "4",
          dashArray: "none"
        };

        if (t && (null != t.width && (e.width = t.width), t.cap && (e.cap = t.cap), t.join && (e.join = t.join.toString()), t.color && (e.color = new r(t.color).toString()), t.style)) {
          var i = null;

          if (t.style in F && (i = F[t.style]), Array.isArray(i)) {
            i = i.slice(0);

            for (var n = 0; n < i.length; ++n) i[n] *= t.width;

            if ("butt" !== t.cap) {
              for (var n = 0; n < i.length; n += 2) i[n] -= t.width, i[n] < 1 && (i[n] = 1);

              for (var n = 1; n < i.length; n += 2) i[n] += t.width;
            }

            i = i.join(",");
          }

          e.dashArray = i;
        }

        return e;
      }

      function d(t, e) {
        var r = {
          align: null,
          decoration: null,
          kerning: null,
          rotate: null,
          font: {
            style: null,
            variant: null,
            weight: null,
            size: null,
            family: null
          }
        };
        return t && (r.align = t.align, r.decoration = t.decoration, r.kerning = t.kerning ? "auto" : "0", r.rotate = t.rotated ? "90" : "0", r.font.style = e.style || "normal", r.font.variant = e.variant || "normal", r.font.weight = e.weight || "normal", r.font.size = e.size && e.size.toString() || "10pt", r.font.family = e.family || "serif"), r;
      }

      function c(t) {
        var e = t.pattern,
            r = t.linearGradient;
        if (e) return o.tsx("pattern", {
          id: e.id,
          patternUnits: "userSpaceOnUse",
          x: e.x,
          y: e.y,
          width: e.width,
          height: e.height
        }, o.tsx("image", {
          x: e.image.x,
          y: e.image.y,
          width: e.image.width,
          height: e.image.height,
          href: e.image.href
        }));

        if (r) {
          var i = r.stops.map(function (t, e) {
            return o.tsx("stop", {
              key: e + "-stop",
              offset: t.offset,
              "stop-color": t.color
            });
          });
          return o.tsx("linearGradient", {
            id: r.id,
            gradientUnits: "userSpaceOnUse",
            x1: r.x1,
            y1: r.y1,
            x2: r.x2,
            y2: r.y2
          }, i);
        }

        return null;
      }

      function y(t, e, r) {
        return a.translate(t, a.identity(t), [e, r]);
      }

      function u(t, e, r, i, n) {
        return a.scale(t, a.identity(t), [e, r]), t[4] = t[4] * e - i * e + i, t[5] = t[5] * r - n * r + n, t;
      }

      function g(t, e, r, i) {
        var n = e % 360 * Math.PI / 180;
        a.rotate(t, a.identity(t), n);
        var o = Math.cos(n),
            l = Math.sin(n),
            h = t[4],
            s = t[5];
        return t[4] = h * o - s * l + i * l - r * o + r, t[5] = s * o + h * l - r * l - i * o + i, t;
      }

      function x(t, e) {
        T && "left" in T ? (T.left > t && (T.left = t), T.right < t && (T.right = t), T.top > e && (T.top = e), T.bottom < e && (T.bottom = e)) : T = {
          left: t,
          bottom: e,
          right: t,
          top: e
        };
      }

      function p(t) {
        var e,
            r = t.args,
            i = r.length;

        switch (t.action) {
          case "M":
          case "L":
          case "C":
          case "S":
          case "Q":
          case "T":
            for (e = 0; e < i; e += 2) x(r[e], r[e + 1]);

            E.x = r[i - 2], E.y = r[i - 1];
            break;

          case "H":
            for (e = 0; e < i; ++e) x(r[e], E.y);

            E.x = r[i - 1];
            break;

          case "V":
            for (e = 0; e < i; ++e) x(E.x, r[e]);

            E.y = r[i - 1];
            break;

          case "m":
            var n = 0;
            "x" in E || (x(E.x = r[0], E.y = r[1]), n = 2);

            for (e = n; e < i; e += 2) x(E.x += r[e], E.y += r[e + 1]);

            break;

          case "l":
          case "t":
            for (e = 0; e < i; e += 2) x(E.x += r[e], E.y += r[e + 1]);

            break;

          case "h":
            for (e = 0; e < i; ++e) x(E.x += r[e], E.y);

            break;

          case "v":
            for (e = 0; e < i; ++e) x(E.x, E.y += r[e]);

            break;

          case "c":
            for (e = 0; e < i; e += 6) x(E.x + r[e], E.y + r[e + 1]), x(E.x + r[e + 2], E.y + r[e + 3]), x(E.x += r[e + 4], E.y += r[e + 5]);

            break;

          case "s":
          case "q":
            for (e = 0; e < i; e += 4) x(E.x + r[e], E.y + r[e + 1]), x(E.x += r[e + 2], E.y += r[e + 3]);

            break;

          case "A":
            for (e = 0; e < i; e += 7) x(r[e + 5], r[e + 6]);

            E.x = r[i - 2], E.y = r[i - 1];
            break;

          case "a":
            for (e = 0; e < i; e += 7) x(E.x += r[e + 5], E.y += r[e + 6]);

        }
      }

      function m(t, e, r) {
        var i,
            n = z[t.toLowerCase()];
        "number" == typeof n && (n ? e.length >= n && (i = {
          action: t,
          args: e.slice(0, e.length - e.length % n)
        }, r.push(i), p(i)) : (i = {
          action: t,
          args: []
        }, r.push(i), p(i)));
      }

      function w(t) {
        var e = "string" != typeof t.path ? l(t.path) : t.path,
            r = e.match(G),
            i = [];
        if (T = {}, E = {}, !r) return null;

        for (var n = "", a = [], o = r.length, h = 0; h < o; ++h) {
          var s = r[h],
              f = parseFloat(s);
          isNaN(f) ? (n && m(n, a, i), a = [], n = s) : a.push(f);
        }

        m(n, a, i);
        var d = {
          x: 0,
          y: 0,
          width: 0,
          height: 0
        };
        return T && "left" in T && (d.x = T.left, d.y = T.top, d.width = T.right - T.left, d.height = T.bottom - T.top), d;
      }

      function v(t) {
        var e = {
          x: 0,
          y: 0,
          width: 0,
          height: 0
        };
        if ("circle" === t.type) e.x = t.cx - t.r, e.y = t.cy - t.r, e.width = 2 * t.r, e.height = 2 * t.r;else if ("ellipse" === t.type) e.x = t.cx - t.rx, e.y = t.cy - t.ry, e.width = 2 * t.rx, e.height = 2 * t.ry;else if ("image" === t.type || "rect" === t.type) e.x = t.x, e.y = t.y, e.width = t.width, e.height = t.height;else if ("path" === t.type) {
          var r = w(t);
          e.x = r.x, e.y = r.y, e.width = r.width, e.height = r.height;
        }
        return e;
      }

      function k(t) {
        for (var e = {
          x: 0,
          y: 0,
          width: 0,
          height: 0
        }, r = null, i = Number.NEGATIVE_INFINITY, n = Number.NEGATIVE_INFINITY, a = 0, o = t; a < o.length; a++) {
          var l = o[a];
          r ? (r.x = Math.min(r.x, l.x), r.y = Math.min(r.y, l.y), i = Math.max(i, l.x + l.width), n = Math.max(n, l.y + l.height)) : (r = e, r.x = l.x, r.y = l.y, i = l.x + l.width, n = l.y + l.height);
        }

        return r && (r.width = i - r.x, r.height = n - r.y), r;
      }

      function b(t, e, r, i, o, l) {
        var h = e / 2,
            s = r / 2,
            f = t.width + i,
            d = t.height + i,
            c = n.mat2df32.create(),
            x = n.mat2df32.create(),
            p = !1;

        if (o && 0 !== f && 0 !== d) {
          var m = f / d,
              w = e > r ? e : r,
              v = 1,
              k = 1;
          isNaN(w) || (m > 1 ? (v = w / f, k = w / m / d) : (k = w / d, v = w * m / f)), a.multiply(x, x, u(c, v, k, h, s)), p = !0;
        }

        var b = t.x + (f - i) / 2,
            j = t.y + (d - i) / 2,
            A = h - b,
            N = s - j;

        if (a.multiply(x, x, y(c, A, N)), !p && (f > e || d > r)) {
          var I = f / e > d / r,
              S = I ? f : d,
              M = I ? e : r,
              z = M / S;
          a.multiply(x, x, u(c, z, z, b, j));
        }

        return l && a.multiply(x, x, g(c, l, b, j)), "matrix(" + x[0] + "," + x[1] + "," + x[2] + "," + x[3] + "," + x[4] + "," + x[5] + ")";
      }

      function j(t, e, r, i) {
        for (var n = [], a = [], l = 0, y = t; l < y.length; l++) {
          for (var u = y[l], g = [], x = [], p = 0, m = 0, w = u; m < w.length; m++) {
            var j = w[m],
                N = j.shape,
                I = j.fill,
                S = j.stroke,
                M = j.font;
            p += S && S.width || 0;
            var z = s(I),
                G = f(S),
                T = "text" === N.type ? d(N, M) : null;
            n.push(c(z)), g.push(h(N, z.fill, G, T)), x.push(v(N));
          }

          var E = b(k(x), e, r, p, i && i.scale, i && i.rotation);
          a.push(o.tsx("g", {
            transform: E
          }, g));
        }

        return o.tsx("svg", {
          xmlns: A,
          width: e,
          height: r
        }, o.tsx("defs", null, n), a);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var A = "http://www.w3.org/2000/svg",
          N = 0,
          I = 0,
          S = i("android"),
          M = i("chrome") || S && S >= 4 ? "auto" : "optimizeLegibility",
          z = {
        m: 2,
        l: 2,
        h: 1,
        v: 1,
        c: 6,
        s: 4,
        q: 4,
        t: 2,
        a: 7,
        z: 0
      },
          G = /([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,
          T = {},
          E = {},
          F = {
        solid: "none",
        shortdash: [4, 1],
        shortdot: [1, 1],
        shortdashdot: [4, 1, 1, 1],
        shortdashdotdot: [4, 1, 1, 1, 1, 1],
        dot: [1, 3],
        dash: [4, 3],
        longdash: [8, 3],
        dashdot: [4, 3, 1, 3],
        longdashdot: [8, 3, 1, 3],
        longdashdotdot: [8, 3, 1, 3, 1, 3]
      };
      e.renderShape = h, e.generateFillAttributes = s, e.generateStrokeAttributes = f, e.generateTextAttributes = d, e.renderDef = c, e.getBoundingBox = v, e.computeBBox = k, e.getTransformMatrix = b, e.renderSVG = j;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/symbolConversion.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/symbolConversion.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbolConversionJs(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__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, l, i) {
      function r(e, o, r, m) {
        if (void 0 === o && (o = !1), void 0 === r && (r = !1), void 0 === m && (m = !0), !e) return {
          symbol: null
        };
        var n;
        if (l.isSymbol3D(e) || e instanceof l.WebStyleSymbol) n = e.clone();else if ("cim" === e.type) n = l.PointSymbol3D.fromCIMSymbol(e);else if (e instanceof l.SimpleLineSymbol) n = l.LineSymbol3D.fromSimpleLineSymbol(e);else if (e instanceof l.SimpleMarkerSymbol) n = l.PointSymbol3D.fromSimpleMarkerSymbol(e);else if (e instanceof l.PictureMarkerSymbol) n = l.PointSymbol3D.fromPictureMarkerSymbol(e);else if (e instanceof l.SimpleFillSymbol) n = l.PolygonSymbol3D.fromSimpleFillSymbol(e);else {
          if (!(e instanceof l.TextSymbol)) return {
            error: new i("symbol-conversion:unsupported-2d-symbol", "2D symbol of type '" + (e.type || e.declaredClass) + "' is unsupported in 3D", {
              symbol: e
            })
          };
          n = m ? l.LabelSymbol3D.fromTextSymbol(e) : l.PointSymbol3D.fromTextSymbol(e);
        }
        if (o && (n.id = e.id), r && l.isSymbol3D(n)) for (var y = 0; y < n.symbolLayers.length; ++y) n.symbolLayers.getItemAt(y)._ignoreDrivers = !0;
        return {
          symbol: n
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/symbols/support/symbolUtils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/symbolUtils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportSymbolUtilsJs(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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ./previewCIMSymbol */
    "./node_modules/arcgis-js-api/symbols/support/previewCIMSymbol.js"), __webpack_require__(
    /*! ./previewSymbol2D */
    "./node_modules/arcgis-js-api/symbols/support/previewSymbol2D.js"), __webpack_require__(
    /*! ./previewSymbol3D */
    "./node_modules/arcgis-js-api/symbols/support/previewSymbol3D.js"), __webpack_require__(
    /*! ./previewWebStyleSymbol */
    "./node_modules/arcgis-js-api/symbols/support/previewWebStyleSymbol.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/symbols/support/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, l, i, a, o, n, s, c, u, p, d, h) {
      function v(e, t) {
        return Math.floor(Math.random() * (t - e + 1) + e);
      }

      function y(e, t, r) {
        var l = e.backgroundColor,
            i = e.outline,
            a = e.dotSize,
            o = r && r.swatchSize || 22,
            n = Math.round(o * o / Math.pow(a, 2) * .8),
            s = window.devicePixelRatio,
            c = document.createElement("canvas"),
            u = o * s;
        c.width = u, c.height = u, c.style.width = c.width / s + "px", c.style.height = c.height / s + "px";
        var p = c.getContext("2d");
        if (l && (p.fillStyle = l.toCss(!0), p.fillRect(0, 0, u, u), p.fill()), p.fillStyle = t.toCss(!0), w && w.length / 2 === n) for (var d = 0; d < 2 * n; d += 2) {
          var h = w[d],
              y = w[d + 1];
          p.fillRect(h, y, a * s, a * s), p.fill();
        } else {
          w = [];

          for (var d = 0; d < 2 * n; d += 2) {
            var h = v(0, u),
                y = v(0, u);
            w.push(h, y), p.fillRect(h, y, a * s, a * s), p.fill();
          }
        }
        i && (i.color && (p.strokeStyle = i.color.toCss(!0)), p.lineWidth = i.width, p.strokeRect(0, 0, u, u));
        var f = new Image(o, o);
        return f.src = c.toDataURL(), f;
      }

      function f(e, t) {
        void 0 === t && (t = {});
        var r = "horizontal" === t.align,
            l = r ? 75 : 24,
            i = r ? 24 : 75,
            a = t.width,
            o = void 0 === a ? l : a,
            n = t.height,
            s = void 0 === n ? i : n,
            c = t.gradient,
            u = void 0 === c || c,
            p = window.devicePixelRatio,
            d = o * p,
            h = s * p,
            v = document.createElement("canvas");
        v.width = d, v.height = h, v.style.width = o + "px", v.style.height = s + "px";
        var y = v.getContext("2d"),
            f = r ? d : 0,
            b = r ? 0 : h;

        if (u) {
          var g = y.createLinearGradient(0, 0, f, b),
              m = e.length,
              w = 1 / (m - 1);
          e.forEach(function (e, t) {
            return g.addColorStop(t * w, e.toString());
          }), y.fillStyle = g, y.fillRect(0, 0, d, h);
        } else for (var S = r ? d / e.length : d, x = r ? h : h / e.length, C = 0, R = 0, V = 0, M = e; V < M.length; V++) {
          var D = M[V];
          y.fillStyle = D.toString(), y.fillRect(C, R, S, x), C = r ? C + S : 0, R = r ? 0 : R + x;
        }

        var k = document.createElement("div");
        return k.style.width = o + "px", k.style.height = s + "px", k.appendChild(v), k;
      }

      function b(e, t) {
        switch (e.type) {
          case "web-style":
            return d.previewWebStyleSymbol(e, b, t);

          case "label-3d":
          case "line-3d":
          case "mesh-3d":
          case "point-3d":
          case "polygon-3d":
            return p.previewSymbol3D(e, t);

          case "simple-marker":
          case "simple-line":
          case "simple-fill":
          case "picture-marker":
          case "picture-fill":
          case "text":
            return u.previewSymbol2D(e, t);

          case "cim":
            return c.previewCIMSymbol(e, t);

          default:
            return void a.neverReached(e);
        }
      }

      function g(e) {
        return e && "opacity" in e ? e.opacity * g(e.parent) : 1;
      }

      function m(t, a) {
        return l(this, void 0, void 0, function () {
          var l, c, u, p, d, v, y, f, b, m, w, S, x, C, R, V, M, D;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return t ? (l = g(t.layer || t.sourceLayer), o.isSome(t.symbol) ? (c = t.symbol.clone(), h.applyColorToSymbol(c, null, l), [2, c]) : (u = t.get("layer.renderer") || t.get("sourceLayer.renderer"), [4, u.getSymbolAsync(t)])) : [2, void 0];

              case 1:
                return (p = r.sent()) ? (p = p.clone(), !("visualVariables" in u) || "visualVariables" in u && !u.visualVariables || "visualVariables" in u && u.visualVariables && !u.visualVariables.length ? [2, p] : u.arcadeRequiredForVisualVariables && (o.isNone(a) || o.isNone(a.arcade)) ? (d = i({}, o.unwrap(a)), v = d, [4, s.loadArcade()]) : [3, 3]) : [2, void 0];

              case 2:
                v.arcade = r.sent(), a = d, r.label = 3;

              case 3:
                return [4, n.create(function (t) {
                  return Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ../../renderers/visualVariables/support/visualVariableUtils */
                    "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")];
                    t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](__webpack_require__.oe);
                })];

              case 4:
                for (y = r.sent(), f = [], b = [], m = [], w = [], S = 0, x = u.visualVariables; S < x.length; S++) switch (C = x[S], C.type) {
                  case "color":
                    f.push(C);
                    break;

                  case "opacity":
                    b.push(C);
                    break;

                  case "rotation":
                    w.push(C);
                    break;

                  case "size":
                    m.push(C);
                }

                return R = !!f.length && f[f.length - 1], V = R ? y.getColor(R, t, a) : null, M = !!b.length && b[b.length - 1], D = M ? y.getOpacity(M, t, a) : null, null != l && (D = null != D ? D * l : l), h.applyColorToSymbol(p, V, D), m.forEach(function (e) {
                  return h.applySizeToSymbol(p, y.getSize(e, t, a), e.axis);
                }), w.forEach(function (e) {
                  return h.applyRotationToSymbol(p, y.getRotationAngle(e, t, a), e.axis);
                }), [2, p];
            }
          });
        });
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var w = null;
      t.renderDotDensityPreviewHTML = y, t.renderColorRampPreviewHTML = f, t.renderPreviewHTML = b, t.getDisplayedSymbol = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/unitConversionUtils.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/unitConversionUtils.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportUnitConversionUtilsJs(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__(
    /*! ../../renderers/support/utils */
    "./node_modules/arcgis-js-api/renderers/support/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n(e) {
        return null != t.meterIn[e];
      }

      function u(e) {
        return 1 / (t.meterIn[e] || 1);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.supportsUnit = n, r.getMetersPerUnit = u, r.supportedUnits = function () {
        var e = Object.keys(t.meterIn);
        return e.sort(), e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/urlUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/urlUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportUrlUtilsJs(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/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, r) {
      function t(e, a, t) {
        return a.imageData ? r.makeData({
          mediaType: a.contentType || "image/png",
          isBase64: !0,
          data: a.imageData
        }) : i(a.url, t);
      }

      function i(e, a) {
        return o(a) && !r.isAbsolute(e) && a.layer.parsedUrl ? r.join(a.layer.parsedUrl.path, "images", e) : r.fromJSON(e, a);
      }

      function n(e, a, t, i) {
        if (r.isDataProtocol(e)) {
          var n = r.dataComponents(e);
          a.contentType = n.mediaType, a.imageData = n.data, t && t.imageData === a.imageData && t.url && r.write(t.url, a, "url", i);
        } else r.write(e, a, "url", i);
      }

      function o(e) {
        return e && ("service" === e.origin || "portal-item" === e.origin) && e.layer && ("feature" === e.layer.type || "stream" === e.layer.type);
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      }), a.readImageDataOrUrl = t, a.read = i, a.writeImageDataAndUrl = n, a.urlPropertyDefinition = {
        json: {
          read: {
            source: ["imageData", "url"],
            reader: t
          },
          write: {
            writer: function writer(e, a, r, t) {
              n(e, a, this.source, t);
            }
          }
        }
      }, a.sourcePropertyDefinition = {
        readOnly: !0,
        json: {
          read: {
            source: ["imageData", "url"],
            reader: function reader(e, a, r) {
              var t = {};
              return a.imageData && (t.imageData = a.imageData), a.contentType && (t.contentType = a.contentType), a.url && (t.url = i(a.url, r)), t;
            }
          }
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/symbols/support/utils.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/symbols/support/utils.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSymbolsSupportUtilsJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ./gfxUtils */
    "./node_modules/arcgis-js-api/symbols/support/gfxUtils.js"), __webpack_require__(
    /*! ./Symbol3DMaterial */
    "./node_modules/arcgis-js-api/symbols/support/Symbol3DMaterial.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, l, n, a, s, c, u) {
      function y(e) {
        var t = e.symbolLayers && e.symbolLayers.length;

        if (t) {
          var o = e.symbolLayers.getItemAt(t - 1);
          if ("outline" in o) return a.get(o, "outline", "size");
        }
      }

      function m(e) {
        if (!e) return 0;

        if (r.isSymbol3D(e)) {
          var t = y(e);
          return a.isSome(t) ? t : 0;
        }

        var o = c.getStroke(e);
        return o && s.px2pt(o.width) || 0;
      }

      function p(e) {
        if (!e || !e.symbolLayers) return !1;

        switch (e.type) {
          case "point-3d":
            return e.symbolLayers.some(function (e) {
              return "object" === e.type;
            });

          case "line-3d":
            return e.symbolLayers.some(function (e) {
              return "path" === e.type;
            });

          case "polygon-3d":
            return e.symbolLayers.some(function (e) {
              return "object" === e.type || "extrude" === e.type;
            });

          default:
            return !1;
        }
      }

      function f(e, t) {
        var o = t.resource.href;
        return !l("esri-canvas-svg-support") && e.styleOrigin && x.test(o) ? o.replace(x, "/resource/png/$1.png") : o;
      }

      function b(e, t) {
        if (null == t) return e;
        var r = e.toRgba();
        return r[3] = r[3] * t, new o(r);
      }

      function h(e, t, o) {
        var r = e.symbolLayers;

        if (r) {
          var i = function i(e) {
            var r = a.isSome(e) ? e : null;
            return t = t || r || null != o && D, b(t, o);
          };

          r.forEach(function (e) {
            if ("water" === e.type) e.color = i(e.color);else {
              var t = a.isSome(e.material) ? e.material.color : null,
                  r = i(t);
              a.isNone(e.material) ? e.material = new u["default"]({
                color: r
              }) : e.material.color = r, null != o && "outline" in e && a.isSome(e.outline) && a.isSome(e.outline.color) && (e.outline.color = b(e.outline.color, o));
            }
          });
        }
      }

      function d(e, t, o) {
        t = t || e.color, t && (e.color = b(t, o)), null != o && "outline" in e && e.outline && e.outline.color && (e.outline.color = b(e.outline.color, o));
      }

      function g(e, t, i) {
        e && (t || null != i) && (t && (t = new o(t)), r.isSymbol3D(e) ? h(e, t, i) : r.isSymbol2D(e) && d(e, t, i));
      }

      function S(e, t, o) {
        var r = e.symbolLayers;
        r && r.forEach(function (e) {
          if (e) switch (e.type) {
            case "icon":
            case "line":
            case "path":
            case "extrude":
            case "text":
              e.size = t;
              break;

            case "object":
              switch (o) {
                case "width":
                  e.width = t;
                  break;

                case "depth":
                  e.depth = t;
                  break;

                case "height":
                  e.height = t;
                  break;

                case "width-and-depth":
                  e.width = t, e.depth = t;
                  break;

                default:
                  e.width = t, e.depth = t, e.height = t;
              }

              break;

            default:
              L.warn("symbolUtils: applySizeToSymbol", "symbolLayer not supported");
          }
        });
      }

      function w(e, t) {
        switch (e.type) {
          case "simple-marker":
            e.size = t;
            break;

          case "picture-marker":
            var o = e.width / e.height;
            o > 1 ? (e.width = t, e.height = t * o) : (e.width = t * o, e.height = t);
            break;

          case "simple-line":
            e.width = t;
            break;

          case "text":
            e.font.size = t;
            break;

          case "simple-fill":
          case "picture-fill":
          case "cim":
            break;

          default:
            i.neverReached(e);
        }
      }

      function v(e, t, o) {
        e && null != t && (r.isSymbol3D(e) ? S(e, t, o) : r.isSymbol2D(e) && w(e, t));
      }

      function k(e, t, o) {
        if (e && null != t) if (r.isSymbol3D(e)) {
          var i = e.symbolLayers;
          i && i.forEach(function (e) {
            if (e && "object" === e.type) switch (o) {
              case "tilt":
                e.tilt = t;
                break;

              case "roll":
                e.roll = t;
                break;

              default:
                e.heading = t;
            }
          });
        } else r.isSymbol2D(e) && ("simple-marker" !== e.type && "picture-marker" !== e.type && "text" !== e.type || (e.angle = t));
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var L = n.getLogger("esri.symbols.support.utils"),
          x = /\/resource\/(.*?)\.svg$/,
          D = new o("white");
      t.getSymbolOutlineSize = m, t.isVolumetricSymbol = p, t.getIconHref = f, t.applyOpacityToColor = b, t.applyColorToSymbol = g, t.applySizeToSymbol = v, t.applyRotationToSymbol = k;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/GeometryService.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/GeometryService.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksGeometryServiceJs(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__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../geometry/Multipoint */
    "./node_modules/arcgis-js-api/geometry/Multipoint.js"), __webpack_require__(
    /*! ../geometry/Polyline */
    "./node_modules/arcgis-js-api/geometry/Polyline.js"), __webpack_require__(
    /*! ../geometry/Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! ../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ./Task */
    "./node_modules/arcgis-js-api/tasks/Task.js"), __webpack_require__(
    /*! ./support/ProjectParameters */
    "./node_modules/arcgis-js-api/tasks/support/ProjectParameters.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, s, o, a, u, N, p) {
      var f = new t.JSONMap({
        MGRS: "mgrs",
        USNG: "usng",
        UTM: "utm",
        GeoRef: "geo-ref",
        GARS: "gars",
        DMS: "dms",
        DDM: "ddm",
        DD: "dd"
      }),
          _ = r.ensureType(p),
          O = N.createSubclass({
        declaredClass: "esri.tasks.GeometryService",
        areasAndLengths: function areasAndLengths(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = {
            query: n
          };
          return (this.requestOptions || r) && (i = e.mixin({}, this.requestOptions, r, i)), u(this.parsedUrl.path + "/areasAndLengths", i).then(function (e) {
            return e.data;
          });
        },
        autoComplete: function autoComplete(t, r, n) {
          var i = t[0].spatialReference,
              s = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(i.toJSON()),
            polygons: JSON.stringify(this._encodeGeometries(t).geometries),
            polylines: JSON.stringify(this._encodeGeometries(r).geometries)
          }),
              a = {
            query: s
          };
          return (this.requestOptions || n) && (a = e.mixin({}, this.requestOptions, n, a)), u(this.parsedUrl.path + "/autoComplete", a).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return new o({
                spatialReference: i,
                rings: e.rings
              });
            });
          });
        },
        buffer: function buffer(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = t.outSpatialReference || t.geometries[0].spatialReference,
              s = {
            query: n
          };
          return (this.requestOptions || r) && (s = e.mixin({}, this.requestOptions, r, s)), u(this.parsedUrl.path + "/buffer", s).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return new o({
                spatialReference: i,
                rings: e.rings
              });
            });
          });
        },
        cut: function cut(t, r, n) {
          var i = t[0].spatialReference,
              s = t.map(function (e) {
            return e.toJSON();
          }),
              o = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(i.toJSON()),
            target: JSON.stringify({
              geometryType: a.getJsonType(t[0]),
              geometries: s
            }),
            cutter: JSON.stringify(r.toJSON())
          }),
              N = {
            query: o
          };
          return (this.requestOptions || n) && (N = e.mixin({}, this.requestOptions, n, N)), u(this.parsedUrl.path + "/cut", N).then(function (e) {
            var t = e.data,
                r = t.geometries || [];
            return {
              cutIndexes: t.cutIndexes,
              geometries: r.map(function (e) {
                return a.fromJSON(e).set("spatialReference", i);
              })
            };
          });
        },
        convexHull: function convexHull(t, r) {
          var n = t[0].spatialReference,
              i = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(n.toJSON()),
            geometries: JSON.stringify(this._encodeGeometries(t))
          }),
              s = {
            query: i
          };
          return (this.requestOptions || r) && (s = e.mixin({}, this.requestOptions, r, s)), u(this.parsedUrl.path + "/convexHull", s).then(function (e) {
            return a.fromJSON(e.data.geometry).set("spatialReference", n);
          });
        },
        densify: function densify(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = t.geometries[0].spatialReference,
              s = {
            query: n
          };
          return (this.requestOptions || r) && (s = e.mixin({}, this.requestOptions, r, s)), u(this.parsedUrl.path + "/densify", s).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return a.fromJSON(e).set("spatialReference", i);
            });
          });
        },
        difference: function difference(t, r, n) {
          var i = t[0].spatialReference,
              s = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(i.toJSON()),
            geometries: JSON.stringify(this._encodeGeometries(t)),
            geometry: JSON.stringify({
              geometryType: a.getJsonType(r),
              geometry: r.toJSON()
            })
          }),
              o = {
            query: s
          };
          return (this.requestOptions || n) && (o = e.mixin({}, this.requestOptions, n, o)), u(this.parsedUrl.path + "/difference", o).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return a.fromJSON(e).set("spatialReference", i);
            });
          });
        },
        distance: function distance(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = {
            query: n
          };
          return (this.requestOptions || r) && (i = e.mixin({}, this.requestOptions, r, i)), u(this.parsedUrl.path + "/distance", i).then(this._handleDistanceResponse);
        },
        fromGeoCoordinateString: function fromGeoCoordinateString(t, r) {
          var n = {};
          null != t.sr && "object" == typeof t.sr ? n.sr = t.sr.wkid || JSON.stringify(t.sr) : n.sr = t.sr, n.strings = JSON.stringify(t.strings);
          var i = t.conversionType || "mgrs";
          n.conversionType = f.toJSON(i), n.conversionMode = t.conversionMode;
          var s = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, n),
              o = {
            query: s
          };
          return (this.requestOptions || r) && (o = e.mixin({}, this.requestOptions, r, o)), u(this.parsedUrl.path + "/fromGeoCoordinateString", o).then(this._handleFromGeoCoordinateResponse);
        },
        generalize: function generalize(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = t.geometries[0].spatialReference,
              s = {
            query: n
          };
          return (this.requestOptions || r) && (s = e.mixin({}, this.requestOptions, r, s)), u(this.parsedUrl.path + "/generalize", s).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return a.fromJSON(e).set("spatialReference", i);
            });
          });
        },
        intersect: function intersect(t, r, n) {
          var i = t[0].spatialReference,
              s = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(i.toJSON()),
            geometries: JSON.stringify(this._encodeGeometries(t)),
            geometry: JSON.stringify({
              geometryType: a.getJsonType(r),
              geometry: r.toJSON()
            })
          }),
              o = {
            query: s
          };
          return (this.requestOptions || n) && (o = e.mixin({}, this.requestOptions, n, o)), u(this.parsedUrl.path + "/intersect", o).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return a.fromJSON(e).set("spatialReference", i);
            });
          });
        },
        lengths: function lengths(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = {
            query: n
          };
          return (this.requestOptions || r) && (i = e.mixin({}, this.requestOptions, r, i)), u(this.parsedUrl.path + "/lengths", i).then(function (e) {
            return e.data;
          });
        },
        labelPoints: function labelPoints(t, r) {
          var n = t.map(function (e) {
            return e.toJSON();
          }),
              i = t[0].spatialReference,
              s = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: i.wkid ? i.wkid : JSON.stringify(i.toJSON()),
            polygons: JSON.stringify(n)
          }),
              o = {
            query: s
          };
          return (this.requestOptions || r) && (o = e.mixin({}, this.requestOptions, r, o)), u(this.parsedUrl.path + "/labelPoints", o).then(function (e) {
            return (e.data.labelPoints || []).map(function (e) {
              return a.fromJSON(e).set("spatialReference", i);
            });
          });
        },
        offset: function offset(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = t.geometries[0].spatialReference,
              s = {
            query: n
          };
          return (this.requestOptions || r) && (s = e.mixin({}, this.requestOptions, r, s)), u(this.parsedUrl.path + "/offset", s).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return a.fromJSON(e).set("spatialReference", i);
            });
          });
        },
        project: function project(t, r) {
          t = _(t);
          var n = e.mixin({}, t.toJSON(), this.parsedUrl.query, {
            f: "json"
          }),
              i = t.outSpatialReference,
              s = a.getJsonType(t.geometries[0]),
              o = this._decodeGeometries,
              N = {
            query: n
          };
          return (this.requestOptions || r) && (N = e.mixin({}, this.requestOptions, r, N)), u(this.parsedUrl.path + "/project", N).then(function (e) {
            return o(e.data, s, i);
          });
        },
        relation: function relation(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = {
            query: n
          };
          return (this.requestOptions || r) && (i = e.mixin({}, this.requestOptions, r, i)), u(this.parsedUrl.path + "/relation", i).then(this._handleRelationResponse);
        },
        reshape: function reshape(t, r, n) {
          var i = t.spatialReference,
              s = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(i.toJSON()),
            target: JSON.stringify({
              geometryType: a.getJsonType(t),
              geometry: t.toJSON()
            }),
            reshaper: JSON.stringify(r.toJSON())
          }),
              o = {
            query: s
          };
          return (this.requestOptions || n) && (o = e.mixin({}, this.requestOptions, n, o)), u(this.parsedUrl.path + "/reshape", o).then(function (e) {
            return a.fromJSON(e.data.geometry).set("spatialReference", i);
          });
        },
        simplify: function simplify(t, r) {
          var n = t[0].spatialReference,
              i = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: n.wkid ? n.wkid : JSON.stringify(n.toJSON()),
            geometries: JSON.stringify(this._encodeGeometries(t))
          }),
              s = a.getJsonType(t[0]),
              o = this._decodeGeometries,
              N = {
            query: i
          };
          return (this.requestOptions || r) && (N = e.mixin({}, this.requestOptions, r, N)), u(this.parsedUrl.path + "/simplify", N).then(function (e) {
            return o(e.data, s, n);
          });
        },
        toGeoCoordinateString: function toGeoCoordinateString(t, r) {
          var n = {};
          null != t.sr && "object" == typeof t.sr ? n.sr = t.sr.wkid || JSON.stringify(t.sr) : n.sr = t.sr, n.coordinates = JSON.stringify(t.coordinates);
          var i = t.conversionType || "mgrs";
          n.conversionType = f.toJSON(i), n.conversionMode = t.conversionMode, n.numOfDigits = t.numOfDigits, n.rounding = t.rounding, n.addSpaces = t.addSpaces;
          var s = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, n),
              o = {
            query: s
          };
          return (this.requestOptions || r) && (o = e.mixin({}, this.requestOptions, r, o)), u(this.parsedUrl.path + "/toGeoCoordinateString", o).then(this._handleToGeoCoordinateResponse);
        },
        trimExtend: function trimExtend(t, r) {
          var n = e.mixin({}, this.parsedUrl.query, {
            f: "json"
          }, t.toJSON()),
              i = t.sr,
              o = {
            query: n
          };
          return (this.requestOptions || r) && (o = e.mixin({}, this.requestOptions, r, o)), u(this.parsedUrl.path + "/trimExtend", o).then(function (e) {
            return (e.data.geometries || []).map(function (e) {
              return new s({
                spatialReference: i,
                paths: e.paths
              });
            });
          });
        },
        union: function union(t, r) {
          var n = t[0].spatialReference,
              i = e.mixin({}, this.parsedUrl.query, {
            f: "json",
            sr: JSON.stringify(n.toJSON()),
            geometries: JSON.stringify(this._encodeGeometries(t))
          }),
              s = {
            query: i
          };
          return (this.requestOptions || r) && (s = e.mixin({}, this.requestOptions, r, s)), u(this.parsedUrl.path + "/union", s).then(function (e) {
            return a.fromJSON(e.data.geometry).set("spatialReference", n);
          });
        },
        _handleRelationResponse: function _handleRelationResponse(e) {
          return e.data.relations;
        },
        _handleDistanceResponse: function _handleDistanceResponse(e) {
          return (e = e.data) && e.distance;
        },
        _handleToGeoCoordinateResponse: function _handleToGeoCoordinateResponse(e) {
          return e.data.strings;
        },
        _handleFromGeoCoordinateResponse: function _handleFromGeoCoordinateResponse(e) {
          return e.data.coordinates;
        },
        _encodeGeometries: function _encodeGeometries(e) {
          var t,
              r = [],
              n = e.length;

          for (t = 0; t < n; t++) r.push(e[t].toJSON());

          return {
            geometryType: a.getJsonType(e[0]),
            geometries: r
          };
        },
        _decodeGeometries: function _decodeGeometries(t, r, n) {
          var i = a.getGeometryType(r),
              s = t.geometries,
              o = [],
              u = {
            spatialReference: n.toJSON()
          },
              N = e.mixin;
          return s.forEach(function (e, t) {
            o[t] = new i(N(e, u));
          }), o;
        },
        _toProjectGeometry: function _toProjectGeometry(e) {
          var t = e.spatialReference.toJSON();
          return e instanceof n ? new o({
            rings: [[[e.xmin, e.ymin], [e.xmin, e.ymax], [e.xmax, e.ymax], [e.xmax, e.ymin], [e.xmin, e.ymin]]],
            spatialReference: t
          }) : new s({
            paths: [[].concat(e.points)],
            spatialReference: t
          });
        },
        _fromProjectedGeometry: function _fromProjectedGeometry(e, t, r) {
          if ("extent" === t) {
            var s = e.rings[0];
            return new n(s[0][0], s[0][1], s[2][0], s[2][1], r);
          }

          return new i({
            points: e.paths[0],
            spatialReference: r.toJSON()
          });
        }
      });

      return e.mixin(O, {
        UNIT_METER: 9001,
        UNIT_GERMAN_METER: 9031,
        UNIT_FOOT: 9002,
        UNIT_SURVEY_FOOT: 9003,
        UNIT_CLARKE_FOOT: 9005,
        UNIT_FATHOM: 9014,
        UNIT_NAUTICAL_MILE: 9030,
        UNIT_SURVEY_CHAIN: 9033,
        UNIT_SURVEY_LINK: 9034,
        UNIT_SURVEY_MILE: 9035,
        UNIT_KILOMETER: 9036,
        UNIT_CLARKE_YARD: 9037,
        UNIT_CLARKE_CHAIN: 9038,
        UNIT_CLARKE_LINK: 9039,
        UNIT_SEARS_YARD: 9040,
        UNIT_SEARS_FOOT: 9041,
        UNIT_SEARS_CHAIN: 9042,
        UNIT_SEARS_LINK: 9043,
        UNIT_BENOIT_1895A_YARD: 9050,
        UNIT_BENOIT_1895A_FOOT: 9051,
        UNIT_BENOIT_1895A_CHAIN: 9052,
        UNIT_BENOIT_1895A_LINK: 9053,
        UNIT_BENOIT_1895B_YARD: 9060,
        UNIT_BENOIT_1895B_FOOT: 9061,
        UNIT_BENOIT_1895B_CHAIN: 9062,
        UNIT_BENOIT_1895B_LINK: 9063,
        UNIT_INDIAN_FOOT: 9080,
        UNIT_INDIAN_1937_FOOT: 9081,
        UNIT_INDIAN_1962_FOOT: 9082,
        UNIT_INDIAN_1975_FOOT: 9083,
        UNIT_INDIAN_YARD: 9084,
        UNIT_INDIAN_1937_YARD: 9085,
        UNIT_INDIAN_1962_YARD: 9086,
        UNIT_INDIAN_1975_YARD: 9087,
        UNIT_FOOT_1865: 9070,
        UNIT_RADIAN: 9101,
        UNIT_DEGREE: 9102,
        UNIT_ARCMINUTE: 9103,
        UNIT_ARCSECOND: 9104,
        UNIT_GRAD: 9105,
        UNIT_GON: 9106,
        UNIT_MICRORADIAN: 9109,
        UNIT_ARCMINUTE_CENTESIMAL: 9112,
        UNIT_ARCSECOND_CENTESIMAL: 9113,
        UNIT_MIL6400: 9114,
        UNIT_BRITISH_1936_FOOT: 9095,
        UNIT_GOLDCOAST_FOOT: 9094,
        UNIT_INTERNATIONAL_CHAIN: 109003,
        UNIT_INTERNATIONAL_LINK: 109004,
        UNIT_INTERNATIONAL_YARD: 109001,
        UNIT_STATUTE_MILE: 9093,
        UNIT_SURVEY_YARD: 109002,
        UNIT_50KILOMETER_LENGTH: 109030,
        UNIT_150KILOMETER_LENGTH: 109031,
        UNIT_DECIMETER: 109005,
        UNIT_CENTIMETER: 109006,
        UNIT_MILLIMETER: 109007,
        UNIT_INTERNATIONAL_INCH: 109008,
        UNIT_US_SURVEY_INCH: 109009,
        UNIT_INTERNATIONAL_ROD: 109010,
        UNIT_US_SURVEY_ROD: 109011,
        UNIT_US_NAUTICAL_MILE: 109012,
        UNIT_UK_NAUTICAL_MILE: 109013,
        UNIT_SQUARE_INCHES: "esriSquareInches",
        UNIT_SQUARE_FEET: "esriSquareFeet",
        UNIT_SQUARE_YARDS: "esriSquareYards",
        UNIT_ACRES: "esriAcres",
        UNIT_SQUARE_MILES: "esriSquareMiles",
        UNIT_SQUARE_MILLIMETERS: "esriSquareMillimeters",
        UNIT_SQUARE_CENTIMETERS: "esriSquareCentimeters",
        UNIT_SQUARE_DECIMETERS: "esriSquareDecimeters",
        UNIT_SQUARE_METERS: "esriSquareMeters",
        UNIT_ARES: "esriAres",
        UNIT_HECTARES: "esriHectares",
        UNIT_SQUARE_KILOMETERS: "esriSquareKilometers"
      }), O;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/Geoprocessor.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/Geoprocessor.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksGeoprocessorJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.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/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/normalizeUtils */
    "./node_modules/arcgis-js-api/geometry/support/normalizeUtils.js"), __webpack_require__(
    /*! ../layers/support/Field */
    "./node_modules/arcgis-js-api/layers/support/Field.js"), __webpack_require__(
    /*! ../layers/support/MapImage */
    "./node_modules/arcgis-js-api/layers/support/MapImage.js"), __webpack_require__(
    /*! ./Task */
    "./node_modules/arcgis-js-api/tasks/Task.js"), __webpack_require__(
    /*! ./support/DataFile */
    "./node_modules/arcgis-js-api/tasks/support/DataFile.js"), __webpack_require__(
    /*! ./support/FeatureSet */
    "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js"), __webpack_require__(
    /*! ./support/GPMessage */
    "./node_modules/arcgis-js-api/tasks/support/GPMessage.js"), __webpack_require__(
    /*! ./support/JobInfo */
    "./node_modules/arcgis-js-api/tasks/support/JobInfo.js"), __webpack_require__(
    /*! ./support/LinearUnit */
    "./node_modules/arcgis-js-api/tasks/support/LinearUnit.js"), __webpack_require__(
    /*! ./support/ParameterValue */
    "./node_modules/arcgis-js-api/tasks/support/ParameterValue.js"), __webpack_require__(
    /*! ./support/RasterData */
    "./node_modules/arcgis-js-api/tasks/support/RasterData.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, o, n, u, s, i, c, l, p, f, v, d, m, h, b, y, S, G, g, P, R) {
      return function (t) {
        function h(e) {
          var r = t.call(this, e) || this;
          return r._timers = new Map(), r.outSpatialReference = null, r.processExtent = null, r.processSpatialReference = null, r.returnFeatureCollection = !1, r.returnM = !1, r.returnZ = !1, r;
        }

        return a(h, t), h.prototype.destroy = function () {
          this._timers.forEach(function (e) {
            clearInterval(e);
          });
        }, h.prototype.cancelJob = function (e, t) {
          var a = this.parsedUrl.path,
              o = r({}, this.requestOptions, t, {
            query: {
              f: "json"
            }
          });
          return this._clearTimer(e), s(a + "/jobs/" + e + "/cancel", o).then(function (e) {
            return G.fromJSON(e.data);
          });
        }, h.prototype.checkJobStatus = function (e, t) {
          var a = this.parsedUrl.path,
              o = r({}, this.requestOptions, t, {
            query: {
              f: "json"
            }
          });
          return s(a + "/jobs/" + e, o).then(function (e) {
            return G.fromJSON(e.data);
          });
        }, h.prototype.execute = function (e, t) {
          var r = this;
          return this._constructRequest("execute", e, t).then(function (e) {
            var t = e.data.results || [],
                a = e.data.messages || [];
            return {
              results: t.map(r._decode),
              messages: a.map(function (e) {
                return S.fromJSON(e);
              })
            };
          });
        }, h.prototype.getResultData = function (e, t, a) {
          var o = this,
              n = this,
              u = n.returnFeatureCollection,
              i = n.returnM,
              c = n.returnZ,
              l = n.outSpatialReference,
              p = n.parsedUrl,
              f = p.path,
              v = {
            returnFeatureCollection: u || void 0,
            returnM: i || void 0,
            returnZ: c || void 0,
            outSR: l,
            returnType: "data",
            f: "json"
          },
              d = this._gpEncode(v, null),
              m = r({}, this.requestOptions, a, {
            query: d
          });

          return s(f + "/jobs/" + e + "/results/" + t, m).then(function (e) {
            return o._decode(e.data);
          });
        }, h.prototype.getResultImage = function (e, t, a, o) {
          var n = this,
              u = this.parsedUrl.path,
              i = r({}, a.toJSON(), {
            f: "json"
          }),
              c = this._gpEncode(i),
              l = r({}, this.requestOptions, o, {
            query: c
          });

          return s(u + "/jobs/" + e + "/results/" + t, l).then(function (e) {
            return n._decode(e.data);
          });
        }, h.prototype.getResultMapImageLayer = function (t) {
          return u(this, void 0, void 0, function () {
            var r, a, o, u, s;
            return n(this, function (n) {
              switch (n.label) {
                case 0:
                  return r = this.parsedUrl.path, a = r.indexOf("/GPServer/"), o = r.substring(0, a), u = o + "/MapServer/jobs/" + t, [4, c.create(function (t) {
                    return Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../layers/MapImageLayer */
                      "./node_modules/arcgis-js-api/layers/MapImageLayer.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](__webpack_require__.oe);
                  })];

                case 1:
                  return s = n.sent(), [2, new s({
                    url: u
                  })];
              }
            });
          });
        }, h.prototype.submitJob = function (e, t) {
          return this._constructRequest("submitJob", e, t).then(function (e) {
            return G.fromJSON(e.data);
          });
        }, h.prototype.waitForJobCompletion = function (e, t) {
          var r = this;
          void 0 === t && (t = {});
          var a = t.interval,
              o = void 0 === a ? 1e3 : a,
              n = t.signal,
              u = t.statusCallback;
          return c.create(function (t, a) {
            c.onAbort(n, function () {
              r._clearTimer(e), a(c.createAbortError());
            }), r._clearTimer(e);
            var s = setInterval(function () {
              r._timers.has(e) || a(c.createAbortError()), r._getJobStatus(e, r.requestOptions).then(function (o) {
                var n = o.jobStatus;

                switch (n) {
                  case "job-succeeded":
                    r._clearTimer(e), t(o);
                    break;

                  case "job-submitted":
                  case "job-executing":
                  case "job-waiting":
                  case "job-new":
                    u && u(o);
                    break;

                  case "job-cancelled":
                  case "job-cancelling":
                  case "job-deleted":
                  case "job-deleting":
                  case "job-timed-out":
                  case "job-failed":
                    r._clearTimer(e), a(o);
                    break;

                  default:
                    i.neverReached(n);
                }
              });
            }, o);

            r._timers.set(e, s);
          });
        }, h.prototype._clearTimer = function (e) {
          this._timers.has(e) && (clearInterval(this._timers.get(e)), this._timers["delete"](e));
        }, h.prototype._constructRequest = function (e, t, a) {
          var o = this,
              n = {},
              u = {},
              i = [];
          return this._collectGeometries(t, i, n), v.normalizeCentralMeridian(i).then(function (i) {
            var c = o,
                l = c.outSpatialReference,
                p = c.parsedUrl,
                f = c.processExtent,
                v = c.processSpatialReference,
                d = c.returnFeatureCollection,
                m = c.returnM,
                h = c.returnZ,
                b = p.path;

            for (var y in n) {
              var S = n[y];
              u[y] = i.slice(S[0], S[1]);
            }

            var G = l ? l.wkid || l : null,
                g = v ? v.wkid || v : null,
                P = f ? {
              context: {
                extent: f,
                outSR: G,
                processSR: g
              }
            } : {
              "env:outSR": G,
              "env:processSR": g
            },
                R = "execute" === e ? {
              returnFeatureCollection: d || void 0,
              returnM: m || void 0,
              returnZ: h || void 0
            } : null,
                _ = r({}, P, t, R, {
              f: "json"
            }),
                J = o._gpEncode(_, null, u),
                O = r({}, o.requestOptions, a, {
              query: J
            });

            return s(b + "/" + e, O);
          });
        }, h.prototype._collectGeometries = function (e, t, r) {
          for (var a in e) {
            var o = e[a];

            if (o && "object" == typeof o && o instanceof y) {
              var n = o.features;
              r[a] = [t.length, t.length + n.length], n.forEach(function (e) {
                t.push(e.geometry);
              });
            }
          }
        }, h.prototype._decode = function (e) {
          var t = e.dataType,
              r = P.fromJSON(e);

          switch (t) {
            case "GPBoolean":
            case "GPDouble":
            case "GPLong":
            case "GPString":
              return r;

            case "GPDate":
              r.value = new Date(r.value);
              break;

            case "GPDataFile":
              r.value = b.fromJSON(r.value);
              break;

            case "GPLinearUnit":
              r.value = g.fromJSON(r.value);
              break;

            case "GPFeatureRecordSetLayer":
            case "GPRecordSet":
              var a = e.value.url;
              r.value = a ? b.fromJSON(r.value) : y.fromJSON(r.value);
              break;

            case "GPRasterData":
            case "GPRasterDataLayer":
              var o = e.value.mapImage;
              r.value = o ? m.fromJSON(o) : R.fromJSON(r.value);
              break;

            case "GPField":
              r.value = d.fromJSON(r.value);
              break;

            case "GPMultiValue:GPBoolean":
            case "GPMultiValue:GPDouble":
            case "GPMultiValue:GPLong":
            case "GPMultiValue:GPString":
              return r;

            case "GPMultiValue:GPDate":
              var n = r.value;
              r.value = n.map(function (e) {
                return new Date(e);
              });
              break;

            case "GPMultiValue:GPDataFile":
              r.value = r.value.map(function (e) {
                return b.fromJSON(e);
              });
              break;

            case "GPMultiValue:GPLinearUnit":
              r.value = r.value.map(function (e) {
                return g.fromJSON(e);
              });
              break;

            case "GPMultiValue:GPFeatureRecordSetLayer":
            case "GPMultiValue:GPRecordSet":
              r.value = r.value.map(function (e) {
                return y.fromJSON(e);
              });
              break;

            case "GPMultiValue:GPRasterData":
            case "GPMultiValue:GPRasterDataLayer":
              r.value = r.value.map(function (e) {
                return e ? m.fromJSON(e) : R.fromJSON(r.value);
              });
              break;

            case "GPMultiValue:GPField":
              r.value = r.value.map(function (e) {
                return d.fromJSON(e);
              });
              break;

            default:
              i.neverReached(t);
          }

          return r;
        }, h.prototype._gpEncode = function (e, t, r) {
          var a = this;

          for (var o in e) {
            var n = e[o];
            Array.isArray(n) ? e[o] = JSON.stringify(n.map(function (e) {
              return a._gpEncode({
                item: e
              }, !0).item;
            }, this)) : n instanceof Date && (e[o] = n.getTime());
          }

          return this._encode(e, t, r);
        }, h.prototype._getJobStatus = function (e, t) {
          var a = this.parsedUrl.path,
              o = a + "/jobs/" + e,
              n = r({}, this.requestOptions, t, {
            query: {
              f: "json"
            }
          });
          return s(o, n).then(function (e) {
            return G.fromJSON(e.data);
          });
        }, o([l.property({
          type: f
        })], h.prototype, "outSpatialReference", void 0), o([l.property({
          type: p
        })], h.prototype, "processExtent", void 0), o([l.property({
          type: f
        })], h.prototype, "processSpatialReference", void 0), o([l.property({
          nonNullable: !0
        })], h.prototype, "returnFeatureCollection", void 0), o([l.property({
          nonNullable: !0
        })], h.prototype, "returnM", void 0), o([l.property({
          nonNullable: !0
        })], h.prototype, "returnZ", void 0), h = o([l.subclass("esri/tasks/Geoprocessor")], h);
      }(l.declared(h));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/PrintTask.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/PrintTask.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksPrintTaskJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.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__(
    /*! dojox/gfx/canvas */
    "./node_modules/dojox/gfx/canvas.js"), __webpack_require__(
    /*! ../kernel */
    "./node_modules/arcgis-js-api/kernel.js"), __webpack_require__(
    /*! ../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../core/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.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/Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js"), __webpack_require__(
    /*! ../renderers/visualVariables/support/visualVariableUtils */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js"), __webpack_require__(
    /*! ./Geoprocessor */
    "./node_modules/arcgis-js-api/tasks/Geoprocessor.js"), __webpack_require__(
    /*! ./Task */
    "./node_modules/arcgis-js-api/tasks/Task.js"), __webpack_require__(
    /*! ./support/fileFormat */
    "./node_modules/arcgis-js-api/tasks/support/fileFormat.js"), __webpack_require__(
    /*! ./support/layoutTemplate */
    "./node_modules/arcgis-js-api/tasks/support/layoutTemplate.js"), __webpack_require__(
    /*! ./support/printTaskUtils */
    "./node_modules/arcgis-js-api/tasks/support/printTaskUtils.js"), __webpack_require__(
    /*! ./support/PrintTemplate */
    "./node_modules/arcgis-js-api/tasks/support/PrintTemplate.js"), __webpack_require__(
    /*! ./support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, i, n, s, o, l, u, c, y, p, d, f, h, m, g, S, b, v, _, L, x, O, w) {
      function N(e) {
        return e && (e.path || "image/svg+xml" === e.contentType);
      }

      var J = {
        Feet: "ft",
        Kilometers: "km",
        Meters: "m",
        Miles: "mi"
      },
          M = new y["default"]({
        esriFeet: "Feet",
        esriKilometers: "Kilometers",
        esriMeters: "Meters",
        esriMiles: "Miles"
      }),
          T = new y["default"]({
        esriExecutionTypeSynchronous: "sync",
        esriExecutionTypeAsynchronous: "async"
      }),
          I = new w({
        returnGeometry: !0
      });
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._ssExtent = null, r._legendLayers = [], r._legendLayerNameMap = {}, r._gpServerUrl = null, r._cimVersion = null, r._is11xService = !1, r._gpMetadata = null, r.updateDelay = 1e3, r;
        }

        return i(t, e), Object.defineProperty(t.prototype, "_geoprocessor", {
          get: function get() {
            return new b({
              url: this.url
            });
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "mode", {
          get: function get() {
            return this._gpMetadata && this._gpMetadata.executionType ? T.fromJSON(this._gpMetadata.executionType) : "sync";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.execute = function (e, t) {
          var r = this,
              a = this.url,
              i = a.lastIndexOf("/GPServer/");
          return i > 0 && (a = a.slice(0, i + 9)), d.resolve().then(function () {
            return r._gpServerUrl === a ? {
              data: r._gpMetadata
            } : (r._gpServerUrl = a, u(a, {
              query: {
                f: "json"
              }
            }));
          }).then(function (t) {
            return r._gpMetadata = t.data, r._cimVersion = r._gpMetadata.cimVersion, r._is11xService = !!r._cimVersion, r._getGpPrintParams(e);
          }).then(function (e) {
            var a = function a(e) {
              return "sync" === r.mode ? e.results && e.results[0] && e.results[0].value : r._geoprocessor.getResultData(e.jobId, "Output_File", t).then(function (e) {
                return e.value;
              });
            };

            return "async" === r.mode ? r._geoprocessor.submitJob(e, t).then(function (e) {
              return r._geoprocessor.waitForJobCompletion(e.jobId, {
                interval: r.updateDelay
              }).then(a);
            }) : r._geoprocessor.execute(e, t).then(a);
          });
        }, t.prototype._createOperationalLayers = function (e, t) {
          return a(this, void 0, void 0, function () {
            var r, a, i, n, o, l, u, c, y, y;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  r = [], a = {
                    layerView: null,
                    printTemplate: t,
                    view: e
                  }, i = 0, t.preserveScale && (i = t.outScale || e.scale), n = x.getVisibleLayerViews(e, i), o = 0, l = n, s.label = 1;

                case 1:
                  return o < l.length ? (u = l[o], c = u.layer, !c.loaded || x.isGroupLayer(c) ? [3, 26] : (y = void 0, a.layerView = u, x.isBingMapsLayer(c) ? (y = this._createBingMapsLayerJSON(c), [3, 25]) : [3, 2])) : [3, 27];

                case 2:
                  return x.isCSVLayer(c) ? [4, this._createCSVLayerJSON(c, a)] : [3, 4];

                case 3:
                  return y = s.sent(), [3, 25];

                case 4:
                  return x.isFeatureLayer(c) ? [4, this._createFeatureLayerJSON(c, a)] : [3, 6];

                case 5:
                  return y = s.sent(), [3, 25];

                case 6:
                  return x.isGraphicsLayer(c) ? [4, this._createGraphicsLayerJSON(c, a)] : [3, 8];

                case 7:
                  return y = s.sent(), [3, 25];

                case 8:
                  return x.isImageryLayer(c) ? (y = this._createImageryLayerJSON(c), [3, 25]) : [3, 9];

                case 9:
                  return x.isKMLLayer(c) ? [4, this._createKMLLayerJSON(c, a)] : [3, 11];

                case 10:
                  return y = s.sent(), [3, 25];

                case 11:
                  return x.isMapImageLayer(c) ? (y = this._createMapImageLayerJSON(c, a), [3, 25]) : [3, 12];

                case 12:
                  return x.isMapNotesLayer(c) ? [4, this._createMapNotesLayerJSON(a)] : [3, 14];

                case 13:
                  return y = s.sent(), [3, 25];

                case 14:
                  return x.isOpenStreetMapLayer(c) ? (y = this._createOpenStreetMapLayerJSON(), [3, 25]) : [3, 15];

                case 15:
                  return x.isStreamLayer(c) ? [4, this._createStreamLayerJSON(c, a)] : [3, 17];

                case 16:
                  return y = s.sent(), [3, 25];

                case 17:
                  return x.isTileLayer(c) ? (y = this._createTileLayerJSON(c), [3, 25]) : [3, 18];

                case 18:
                  return x.isVectorTileLayer(c) ? [4, this._createVectorTileLayerJSON(c, a)] : [3, 20];

                case 19:
                  return y = s.sent(), [3, 25];

                case 20:
                  return x.isWebTileLayer(c) ? (y = this._createWebTileLayerJSON(c), [3, 25]) : [3, 21];

                case 21:
                  return x.isWMSLayer(c) ? (y = this._createWMSLayerJSON(c), [3, 25]) : [3, 22];

                case 22:
                  return x.isWMTSLayer(c) ? (y = this._createWMTSLayerJSON(c), [3, 25]) : [3, 23];

                case 23:
                  return [4, this._createScreenshotJSON(c, a)];

                case 24:
                  y = s.sent(), s.label = 25;

                case 25:
                  y && (Array.isArray(y) ? r.push.apply(r, y) : (y.id = c.id, y.title = this._legendLayerNameMap[c.id] || c.title, y.opacity = c.opacity, y.minScale = c.minScale || 0, y.maxScale = c.maxScale || 0, r.push(y))), s.label = 26;

                case 26:
                  return o++, [3, 1];

                case 27:
                  return i && r.forEach(function (e) {
                    e.minScale = 0, e.maxScale = 0;
                  }), e.graphics && e.graphics.length ? [4, this._createFeatureCollectionJSON(null, e.graphics, t)] : [3, 29];

                case 28:
                  y = s.sent(), y && r.push(y), s.label = 29;

                case 29:
                  return [2, r];
              }
            });
          });
        }, t.prototype._createBingMapsLayerJSON = function (e) {
          return {
            culture: e.culture,
            key: e.key,
            type: "BingMaps" + ("aerial" === e.style ? "Aerial" : "hybrid" === e.style ? "Hybrid" : "Road")
          };
        }, t.prototype._createCSVLayerJSON = function (e, t) {
          var r = t.layerView,
              i = t.printTemplate;
          return a(this, void 0, void 0, function () {
            var t, a;
            return s(this, function (n) {
              switch (n.label) {
                case 0:
                  return this._legendLayers && this._legendLayers.push({
                    id: e.id
                  }), this._is11xService ? (t = {
                    type: "CSV"
                  }, e.write(t, {
                    origin: "web-map"
                  }), delete t.popupInfo, delete t.layerType, t.showLabels = i.showLabels && e.labelsVisible, [3, 3]) : [3, 1];

                case 1:
                  return [4, this._getGraphics(r)];

                case 2:
                  return a = n.sent(), [2, this._createFeatureCollectionJSON(e, a, i)];

                case 3:
                  return [2, t];
              }
            });
          });
        }, t.prototype._createFeatureCollectionJSON = function (e, t, r) {
          return a(this, void 0, void 0, function () {
            var a,
                i,
                n,
                o,
                l,
                u,
                y,
                p,
                d,
                f,
                h,
                m,
                S,
                b,
                v,
                _,
                L,
                O,
                w = this;

            return s(this, function (J) {
              switch (J.label) {
                case 0:
                  return a = e, (i = x.createPolygonLayer(), n = x.createPolylineLayer(), o = x.createPointLayer(), l = x.createMultipointLayer(), u = x.createPointLayer(), u.layerDefinition.name = "textLayer", delete u.layerDefinition.drawingInfo, a && ("esri.layers.FeatureLayer" === a.declaredClass || "esri.layers.StreamLayer" === a.declaredClass ? i.layerDefinition.name = n.layerDefinition.name = o.layerDefinition.name = l.layerDefinition.name = this._legendLayerNameMap[a.id] || a.get("arcgisProps.title") || a.title : "esri.layers.GraphicsLayer" === a.declaredClass && (t = a.graphics.items)), a && a.renderer ? (y = a.renderer.toJSON(), i.layerDefinition.drawingInfo.renderer = y, n.layerDefinition.drawingInfo.renderer = y, o.layerDefinition.drawingInfo.renderer = y, l.layerDefinition.drawingInfo.renderer = y) : (delete i.layerDefinition.drawingInfo, delete n.layerDefinition.drawingInfo, delete o.layerDefinition.drawingInfo, delete l.layerDefinition.drawingInfo), d = a && a.fields, f = a && a.renderer, d && f && "function" == typeof f.collectRequiredFields) ? (h = new Set(), [4, f.collectRequiredFields(h, d)]) : [3, 2];

                case 1:
                  J.sent(), p = c.valuesOfSet(h), J.label = 2;

                case 2:
                  d && (m = d.map(function (e) {
                    return e.toJSON();
                  }), i.layerDefinition.fields = m, n.layerDefinition.fields = m, o.layerDefinition.fields = m, l.layerDefinition.fields = m), S = t && t.length, v = function v(e) {
                    var c, y, d, f, h;
                    return s(this, function (s) {
                      switch (s.label) {
                        case 0:
                          return c = t[e] || t.getItemAt(e), !1 !== c.visible && c.geometry ? (b = c.toJSON(), b.hasOwnProperty("popupTemplate") && delete b.popupTemplate, b.geometry && b.geometry.z && delete b.geometry.z, b.symbol && b.symbol.outline && "esriCLS" === b.symbol.outline.type && !_._is11xService ? [2, "continue"] : (!_._is11xService && b.symbol && b.symbol.outline && b.symbol.outline.color && b.symbol.outline.color[3] && (b.symbol.outline.color[3] = 255), y = a && a.renderer && ("valueExpression" in a.renderer && a.renderer.valueExpression || "hasVisualVariables" in a.renderer && a.renderer.hasVisualVariables()), !b.symbol && a && a.renderer && y && !_._is11xService ? (d = a.renderer, [4, d.getSymbolAsync(c)]) : [3, 2])) : [2, "continue"];

                        case 1:
                          if (!(f = s.sent())) return [2, "continue"];
                          b.symbol = f.toJSON(), "hasVisualVariables" in d && d.hasVisualVariables() && x.applyVisualVariables(b.symbol, {
                            renderer: d,
                            graphic: c,
                            symbol: f
                          }), s.label = 2;

                        case 2:
                          return b.symbol && (b.symbol.angle || delete b.symbol.angle, N(b.symbol) ? b.symbol = _._convertSvgToPictureMarkerSymbolJson(b.symbol) : b.symbol.text && delete b.attributes), r && r.forceFeatureAttributes || !p || !p.length || (h = {}, p.forEach(function (e) {
                            b.attributes && b.attributes.hasOwnProperty(e) && (h[e] = b.attributes[e]);
                          }), b.attributes = h), "polygon" === c.geometry.type ? i.featureSet.features.push(b) : "polyline" === c.geometry.type ? n.featureSet.features.push(b) : "point" === c.geometry.type ? b.symbol && b.symbol.text ? u.featureSet.features.push(b) : o.featureSet.features.push(b) : "multipoint" === c.geometry.type ? l.featureSet.features.push(b) : "extent" === c.geometry.type && (b.geometry = g.fromExtent(c.geometry).toJSON(), i.featureSet.features.push(b)), [2];
                      }
                    });
                  }, _ = this, L = 0, J.label = 3;

                case 3:
                  return L < S ? [5, v(L)] : [3, 6];

                case 4:
                  J.sent(), J.label = 5;

                case 5:
                  return L++, [3, 3];

                case 6:
                  return O = [i, n, l, o, u].filter(function (e) {
                    return e.featureSet.features.length > 0;
                  }), O.forEach(function (e) {
                    var t = e.featureSet.features.every(function (e) {
                      return e.symbol;
                    });
                    !t || r && r.forceFeatureAttributes || e.featureSet.features.forEach(function (e) {
                      delete e.attributes;
                    }), t && delete e.layerDefinition.drawingInfo, e.layerDefinition.drawingInfo && e.layerDefinition.drawingInfo.renderer && w._convertSvgRenderer(e.layerDefinition.drawingInfo.renderer);
                  }), [2, O.length ? {
                    featureCollection: {
                      layers: O
                    }
                  } : null];
              }
            });
          });
        }, t.prototype._createFeatureLayerJSON = function (e, t) {
          return a(this, void 0, void 0, function () {
            var r, a, i, n, o, l, u, c, y, p;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return this._legendLayers && this._legendLayers.push({
                    id: e.id
                  }), (a = e.renderer, e.featureReduction || a && "dot-density" === a.type) ? [2, this._createScreenshotJSON(e, t)] : (i = t.layerView, n = t.printTemplate, o = t.view, l = a && ("valueExpression" in a && a.valueExpression || "hasVisualVariables" in a && a.hasVisualVariables()), u = e.source && "feature-layer" !== e.source.type, !this._is11xService && l || e.featureReduction || u || !a || "field" in a && null != a.field && ("string" != typeof a.field || !e.getField(a.field)) ? [3, 1] : (r = {}, this._setURLandToken(r, e), e.write(r, {
                    origin: "web-map"
                  }), delete r.layerType, delete r.popupInfo, delete r.visibility, r.showLabels = n.showLabels && e.labelsVisible, r.layerDefinition && r.layerDefinition.drawingInfo && r.layerDefinition.drawingInfo.renderer && (this._convertSvgRenderer(r.layerDefinition.drawingInfo.renderer), "visualVariables" in a && a.visualVariables && a.visualVariables[0] && (c = a.visualVariables[0], "size" === c.type && c.maxSize && "number" != typeof c.maxSize && c.minSize && "number" != typeof c.minSize && (y = S.getSizeRangeAtScale(c, o.scale), r.layerDefinition.drawingInfo.renderer.visualVariables[0].minSize = y.minSize, r.layerDefinition.drawingInfo.renderer.visualVariables[0].maxSize = y.maxSize))), [3, 4]));

                case 1:
                  return [4, this._getGraphics(i)];

                case 2:
                  return p = s.sent(), [4, this._createFeatureCollectionJSON(e, p, n)];

                case 3:
                  r = s.sent(), s.label = 4;

                case 4:
                  return [2, r];
              }
            });
          });
        }, t.prototype._createGraphicsLayerJSON = function (e, t) {
          var r = t.printTemplate;
          return a(this, void 0, void 0, function () {
            return s(this, function (t) {
              return [2, this._createFeatureCollectionJSON(e, null, r)];
            });
          });
        }, t.prototype._createImageryLayerJSON = function (e) {
          this._legendLayers && this._legendLayers.push({
            id: e.id
          });
          var t = {
            bandIds: e.bandIds,
            compressionQuality: e.compressionQuality,
            format: e.format,
            interpolation: e.interpolation
          };
          if ((e.mosaicRule || e.definitionExpression) && (t.mosaicRule = e.exportImageServiceParameters.mosaicRule.toJSON()), e.renderingRule || e.renderer) if (this._is11xService) e.renderingRule && (t.renderingRule = e.renderingRule.toJSON()), e.renderer && (t.layerDefinition = t.layerDefinition || {}, t.layerDefinition.drawingInfo = t.layerDefinition.drawingInfo || {}, t.layerDefinition.drawingInfo.renderer = e.renderer.toJSON());else {
            var r = e.exportImageServiceParameters.combineRendererWithRenderingRule();
            r && (t.renderingRule = r.toJSON());
          }
          return this._setURLandToken(t, e), t;
        }, t.prototype._createKMLLayerJSON = function (e, t) {
          return a(this, void 0, void 0, function () {
            var a, i, n, o, l, u, c;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return a = t.printTemplate, this._is11xService ? (i = {
                    type: "kml"
                  }, e.write(i, {
                    origin: "web-map"
                  }), delete i.layerType, i.url = h.normalize(e.url), [2, i]) : (n = [], o = t.layerView, o.allVisibleMapImages.forEach(function (t, r) {
                    var a = {
                      id: e.id + "_image" + r,
                      type: "image",
                      title: e.id,
                      minScale: e.minScale || 0,
                      maxScale: e.maxScale || 0,
                      opacity: e.opacity,
                      extent: t.extent
                    };
                    "data:image/png;base64," === t.href.substr(0, 22) ? a.imageData = t.href.substr(22) : a.url = t.href, n.push(a);
                  }), l = o.allVisiblePoints.items.concat(o.allVisiblePolylines.items, o.allVisiblePolygons.items), c = [{
                    id: e.id
                  }], [4, this._createFeatureCollectionJSON(null, l, a)]);

                case 1:
                  return u = r.apply(void 0, c.concat([s.sent()])), n.push(u), [2, n];
              }
            });
          });
        }, t.prototype._createMapImageLayerJSON = function (e, t) {
          var r,
              a = t.view,
              i = {
            id: e.id,
            subLayerIds: []
          },
              n = [],
              s = a.scale,
              o = function o(e) {
            var t = 0 === s,
                r = 0 === e.minScale || s <= e.minScale,
                a = 0 === e.maxScale || s >= e.maxScale;
            if (e.visible && (t || r && a)) if (e.sublayers) e.sublayers.forEach(o);else {
              var l = e.toExportImageJSON().drawingInfo,
                  u = e.toJSON();
              u.layerDefinition.drawingInfo = l, n.unshift(u), i.subLayerIds.push(e.id);
            }
          };

          return e.sublayers && e.sublayers.forEach(o), n.length && (n = n.map(function (e) {
            return {
              id: e.id,
              name: e.name,
              layerDefinition: e.layerDefinition
            };
          }), r = {
            layers: n,
            visibleLayers: i.subLayerIds
          }, this._setURLandToken(r, e), this._legendLayers.push(i)), r;
        }, t.prototype._createMapNotesLayerJSON = function (e) {
          var t = e.layerView,
              r = e.printTemplate;
          return a(this, void 0, void 0, function () {
            var e, a, i, n, o;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  e = [], a = 0, i = t.graphicsViews, s.label = 1;

                case 1:
                  return a < i.length ? (n = i[a], [4, this._createFeatureCollectionJSON(n, n.graphics, r)]) : [3, 4];

                case 2:
                  o = s.sent(), o && e.push.apply(e, o.featureCollection.layers), s.label = 3;

                case 3:
                  return a++, [3, 1];

                case 4:
                  return [2, {
                    featureCollection: {
                      layers: e
                    }
                  }];
              }
            });
          });
        }, t.prototype._createOpenStreetMapLayerJSON = function () {
          return {
            type: "OpenStreetMap"
          };
        }, t.prototype._createScreenshotJSON = function (e, t) {
          var r = t.printTemplate,
              i = t.view;
          return a(this, void 0, void 0, function () {
            var t, a, n, o, l, u, c, y, p, d;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return t = {
                    type: "image"
                  }, a = {
                    format: "png",
                    ignoreBackground: !0,
                    layers: [e],
                    rotation: 0
                  }, n = this._ssExtent || i.extent.clone(), o = 96, l = !0, u = !0, r.exportOptions && (c = r.exportOptions, c.dpi > 0 && (o = c.dpi), c.width > 0 && (l = c.width % 2 == i.width % 2), c.height > 0 && (u = c.height % 2 == i.height % 2)), "map-only" !== r.layout || !r.preserveScale || r.outScale && r.outScale !== i.scale || 96 !== o || l && u || (a.area = {
                    x: 0,
                    y: 0,
                    width: i.width,
                    height: i.height
                  }, l || (a.area.width -= 1), u || (a.area.height -= 1), this._ssExtent || (y = i.toMap(f.createScreenPoint(a.area.width, a.area.height)), n.ymin = y.y, n.xmax = y.x, this._ssExtent = n)), t.extent = n.clone()._normalize(!0).toJSON(), [4, i.takeScreenshot(a)];

                case 1:
                  return p = s.sent(), d = h.dataComponents(p.dataUrl), t.imageData = d.data, [2, t];
              }
            });
          });
        }, t.prototype._createStreamLayerJSON = function (e, t) {
          var r = t.layerView,
              i = t.printTemplate;
          return a(this, void 0, void 0, function () {
            var t;
            return s(this, function (a) {
              switch (a.label) {
                case 0:
                  return this._legendLayers && this._legendLayers.push({
                    id: e.id
                  }), [4, this._getGraphics(r)];

                case 1:
                  return t = a.sent(), [2, this._createFeatureCollectionJSON(e, t, i)];
              }
            });
          });
        }, t.prototype._createTileLayerJSON = function (e) {
          var t = {};
          return this._setURLandToken(t, e), t;
        }, t.prototype._createVectorTileLayerJSON = function (e, t) {
          return a(this, void 0, void 0, function () {
            var r, a, i;
            return s(this, function (n) {
              return this._is11xService && e.serviceUrl && e.styleUrl && (r = l.id && l.id.findCredential(e.styleUrl), a = l.id && l.id.findCredential(e.serviceUrl), !r && !a || "2.1.0" !== this._cimVersion) ? (i = {
                type: "VectorTileLayer"
              }, i.styleUrl = h.normalize(e.styleUrl), r && (i.token = r.token), a && a.token !== i.token && (i.additionalTokens = [{
                url: e.serviceUrl,
                token: a.token
              }]), [2, i]) : [2, this._createScreenshotJSON(e, t)];
            });
          });
        }, t.prototype._createWebTileLayerJSON = function (e) {
          var t = e.urlTemplate.replace(/\${/g, "{"),
              r = {
            type: "WebTiledLayer",
            urlTemplate: t,
            credits: e.copyright
          };
          return e.subDomains && e.subDomains.length > 0 && (r.subDomains = e.subDomains), r;
        }, t.prototype._createWMSLayerJSON = function (e) {
          var t,
              r = [],
              a = function a(e) {
            e.visible && (e.sublayers ? e.sublayers.forEach(a) : e.name && r.unshift(e.name));
          };

          return e.sublayers && e.sublayers.forEach(a), r.length && (t = {
            type: "wms",
            customLayerParameters: e.customLayerParameters,
            customParameters: e.customParameters,
            transparentBackground: e.imageTransparency,
            visibleLayers: r,
            url: h.normalize(e.url),
            version: e.version
          }), t;
        }, t.prototype._createWMTSLayerJSON = function (e) {
          var t = e.activeLayer;
          return {
            type: "wmts",
            customLayerParameters: e.customLayerParameters,
            customParameters: e.customParameters,
            format: t.imageFormat,
            layer: t.id,
            style: t.styleId,
            tileMatrixSet: t.tileMatrixSetId,
            url: h.normalize(e.url)
          };
        }, t.prototype._setURLandToken = function (e, t) {
          if (t.url) {
            e.url = h.normalize(t.url);
            var r = l.id && l.id.findCredential(t.url);
            r && (e.token = r.token);
          }
        }, t.prototype._convertSvgToPictureMarkerSymbolJson = function (e) {
          this._canvasParent ? (this._canvasSurface.clear(), this._canvasSurface.setDimensions(1024, 1024)) : (this._canvasParent = document.createElement("div"), this._canvasSurface = o.createSurface(this._canvasParent, 1024, 1024));
          var t;
          t = "image/svg+xml" === e.contentType ? this._canvasSurface.createObject(o.Image, {
            src: "data:image/svg+xml;base64," + e.imageData,
            width: f.pt2px(e.width),
            height: f.pt2px(e.height),
            x: 0,
            y: 0
          }) : this._canvasSurface.createObject(o.Path, e.path).setFill(e.color).setStroke(e.outline), "pendingRender" in this._canvasSurface && this._canvasSurface._render(!0);

          var r = this._canvasSurface.rawNode.getContext("2d"),
              a = t.getBoundingBox(),
              i = Math.ceil(a.width + a.x),
              n = Math.ceil(a.height + a.y),
              s = r.getImageData(a.x, a.y, i, n);

          r.canvas.width = i, r.canvas.height = n, r.putImageData(s, 0, 0);
          return {
            type: "esriPMS",
            imageData: r.canvas.toDataURL("image/png").substr(22),
            angle: e.angle,
            contentType: "image/png",
            height: e.size ? e.size : n - a.y,
            width: e.size ? e.size : i - a.x,
            xoffset: e.xoffset,
            yoffset: e.yoffset
          };
        }, t.prototype._convertSvgRenderer = function (e) {
          var t = this,
              r = e.type;
          if ("simple" === r && N(e.symbol)) e.symbol = this._convertSvgToPictureMarkerSymbolJson(e.symbol);else if ("unique-value" === r || "class-breaks" === r) {
            N(e.defaultSymbol) && (e.defaultSymbol = this._convertSvgToPictureMarkerSymbolJson(e.defaultSymbol));
            var a = "unique-value" === r ? "uniqueValueInfos" : "classBreakInfos",
                i = e[a];
            i && i.forEach(function (e) {
              N(e.symbol) && (e.symbol = t._convertSvgToPictureMarkerSymbolJson(e.symbol));
            });
          }
        }, t.prototype._getGraphics = function (e) {
          return e.queryFeatures(I).then(function (e) {
            return e.features;
          });
        }, t.prototype._getPrintDefinition = function (e, t) {
          return a(this, void 0, void 0, function () {
            var r, a, i, n, o;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return r = e.view, a = r.spatialReference, n = {}, [4, this._createOperationalLayers(r, t)];

                case 1:
                  return n.operationalLayers = s.sent(), i = n, o = this._ssExtent || e.extent || r.extent, a && a.isWrappable && (o = o.clone()._normalize(!0), a = o.spatialReference), i.mapOptions = {
                    extent: o && o.toJSON(),
                    spatialReference: a && a.toJSON(),
                    showAttribution: t.attributionVisible
                  }, this._ssExtent = null, r.rotation && (i.mapOptions.rotation = -r.rotation), t.preserveScale && (i.mapOptions.scale = t.outScale || r.scale), [2, i];
              }
            });
          });
        }, t.prototype._getGpPrintParams = function (e) {
          return a(this, void 0, void 0, function () {
            var t,
                r,
                a,
                i,
                n,
                o,
                l,
                u,
                c,
                y,
                d,
                f,
                h,
                m,
                g,
                S,
                b,
                v,
                x,
                w = this;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return t = e.template || new O(), null == t.showLabels && (t.showLabels = !0), r = t.exportOptions, i = L.toJSON(t.layout), r && (n = r.dpi, a = {
                    dpi: n
                  }, "map_only" !== i.toLowerCase() && "" !== i || (o = r.width, l = r.height, a.outputSize = [o, l])), u = t.layoutOptions, u && (y = void 0, d = void 0, "Miles" === u.scalebarUnit || "Kilometers" === u.scalebarUnit ? (y = "Kilometers", d = "Miles") : "Meters" !== u.scalebarUnit && "Feet" !== u.scalebarUnit || (y = "Meters", d = "Feet"), c = {
                    titleText: u.titleText,
                    authorText: u.authorText,
                    copyrightText: u.copyrightText,
                    customTextElements: u.customTextElements,
                    scaleBarOptions: {
                      metricUnit: M.toJSON(y),
                      metricLabel: J[y],
                      nonMetricUnit: M.toJSON(d),
                      nonMetricLabel: J[d]
                    }
                  }), f = null, u && u.legendLayers && (f = u.legendLayers.map(function (e) {
                    w._legendLayerNameMap[e.layerId] = e.title;
                    var t = {
                      id: e.layerId
                    };
                    return e.subLayerIds && (t.subLayerIds = e.subLayerIds), t;
                  })), [4, this._getPrintDefinition(e, t)];

                case 1:
                  return h = s.sent(), h.operationalLayers && (g = new RegExp("[\\u4E00-\\u9FFF\\u0E00-\\u0E7F\\u0900-\\u097F\\u3040-\\u309F\\u30A0-\\u30FF\\u31F0-\\u31FF]"), S = /[\u0600-\u06FF]/, b = function b(e) {
                    var t = e.text,
                        r = e.font,
                        a = r && r.family && r.family.toLowerCase();
                    t && r && ("arial" === a || "arial unicode ms" === a) && (r.family = g.test(t) ? "Arial Unicode MS" : "Arial", "normal" !== r.style && S.test(t) && (r.family = "Arial Unicode MS"));
                  }, h.operationalLayers.forEach(function (e) {
                    e.featureCollection && e.featureCollection.layers && e.featureCollection.layers.forEach(function (e) {
                      e.layerDefinition && e.layerDefinition.drawingInfo && e.layerDefinition.drawingInfo.renderer && e.layerDefinition.drawingInfo.renderer.symbol && (m = e.layerDefinition.drawingInfo.renderer, "esriTS" === m.symbol.type && b(m.symbol)), e.featureSet && e.featureSet.features && e.featureSet.features.forEach(function (e) {
                        e.symbol && "esriTS" === e.symbol.type && b(e.symbol);
                      });
                    });
                  })), e.outSpatialReference && (h.mapOptions.spatialReference = e.outSpatialReference.toJSON()), p.mixin(h, {
                    exportOptions: a,
                    layoutOptions: c
                  }), p.mixin(h.layoutOptions, {
                    legendOptions: {
                      operationalLayers: null != f ? f : this._legendLayers.slice()
                    }
                  }), this._legendLayers.length = 0, v = JSON.stringify(h), x = {
                    Web_Map_as_JSON: v,
                    Format: _.toJSON(t.format),
                    Layout_Template: i
                  }, e.extraParameters && p.mixin(x, e.extraParameters), [2, x];
              }
            });
          });
        }, n([m.property({
          dependsOn: ["url"]
        })], t.prototype, "_geoprocessor", null), n([m.property()], t.prototype, "_gpMetadata", void 0), n([m.property({
          dependsOn: ["_gpMetadata"],
          readOnly: !0
        })], t.prototype, "mode", null), n([m.property()], t.prototype, "updateDelay", void 0), t = n([m.subclass("esri.tasks.PrintTask")], t);
      }(m.declared(v));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/QueryTask.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/QueryTask.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksQueryTaskJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Task */
    "./node_modules/arcgis-js-api/tasks/Task.js"), __webpack_require__(
    /*! ./operations/query */
    "./node_modules/arcgis-js-api/tasks/operations/query.js"), __webpack_require__(
    /*! ./operations/queryAttachments */
    "./node_modules/arcgis-js-api/tasks/operations/queryAttachments.js"), __webpack_require__(
    /*! ./operations/queryRelatedRecords */
    "./node_modules/arcgis-js-api/tasks/operations/queryRelatedRecords.js"), __webpack_require__(
    /*! ./support/AttachmentQuery */
    "./node_modules/arcgis-js-api/tasks/support/AttachmentQuery.js"), __webpack_require__(
    /*! ./support/FeatureSet */
    "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js"), __webpack_require__(
    /*! ./support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js"), __webpack_require__(
    /*! ./support/RelationshipQuery */
    "./node_modules/arcgis-js-api/tasks/support/RelationshipQuery.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, u, s, i, c, p, a, h, d, y, l, f) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.gdbVersion = null, r.source = null, r;
        }

        return r(t, e), t.prototype.execute = function (e, t) {
          return this.executeJSON(e, t).then(function (e) {
            return y.fromJSON(e);
          });
        }, t.prototype.executeJSON = function (e, t) {
          return p.executeQuery(this.parsedUrl, this._normalizeQuery(e), u({}, this.requestOptions, t)).then(function (e) {
            return e.data;
          });
        }, t.prototype.executeForCount = function (e, t) {
          return p.executeQueryForCount(this.parsedUrl, this._normalizeQuery(e), u({}, this.requestOptions, t)).then(function (e) {
            return e.data.count;
          });
        }, t.prototype.executeForExtent = function (e, t) {
          return p.executeQueryForExtent(this.parsedUrl, this._normalizeQuery(e), u({}, this.requestOptions, t)).then(function (e) {
            return {
              count: e.data.count,
              extent: s.Extent.fromJSON(e.data.extent)
            };
          });
        }, t.prototype.executeForIds = function (e, t) {
          return p.executeQueryForIds(this.parsedUrl, this._normalizeQuery(e), u({}, this.requestOptions, t)).then(function (e) {
            return e.data.objectIds;
          });
        }, t.prototype.executeRelationshipQuery = function (e, t) {
          return e = f.from(e), (this.gdbVersion || this.source) && (e = e.clone().set({
            gdbVersion: this.gdbVersion || e.gdbVersion,
            source: this.source || e.source
          })), h.executeRelationshipQuery(this.parsedUrl, e, u({}, this.requestOptions, t)).then(function (e) {
            var t = e.data,
                r = {};
            return Object.keys(t).forEach(function (e) {
              return r[e] = y.fromJSON(t[e]);
            }), r;
          });
        }, t.prototype.executeAttachmentQuery = function (e, t) {
          var r = this;
          return a.executeAttachmentQuery(this.parsedUrl, d.from(e), u({}, this.requestOptions, t)).then(function (e) {
            return a.processAttachmentQueryResult(e.data.attachmentGroups, r.parsedUrl.path);
          });
        }, t.prototype._normalizeQuery = function (e) {
          var t = l.from(e);
          return this.gdbVersion || this.source ? (t === e ? t.clone() : t).set({
            gdbVersion: this.gdbVersion || e.gdbVersion,
            source: this.source || e.source
          }) : t;
        }, o([i.property()], t.prototype, "gdbVersion", void 0), o([i.property()], t.prototype, "source", void 0), t = o([i.subclass("esri.tasks.QueryTask")], t);
      }(i.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/Task.js":
  /*!**************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/Task.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksTaskJs(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/paramHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/paramHelper.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/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, n, p, s, l, i) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.requestOptions = null, t.url = null, t;
        }

        return t(e, r), e.prototype.normalizeCtorArgs = function (r, e) {
          return "string" != typeof r ? r : p({
            url: r
          }, e);
        }, Object.defineProperty(e.prototype, "parsedUrl", {
          get: function get() {
            return this._parseUrl(this.url);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype._parseUrl = function (r) {
          return r ? l.urlToObject(r) : null;
        }, e.prototype._encode = function (r, e, t) {
          var o = {};

          for (var n in r) if ("declaredClass" !== n) {
            var p = r[n];
            if (null != p && "function" != typeof p) if (Array.isArray(p)) {
              o[n] = [];

              for (var s = 0; s < p.length; s++) o[n][s] = this._encode(p[s]);
            } else if ("object" == typeof p) {
              if (p.toJSON) {
                var l = p.toJSON(t && t[n]);
                o[n] = e ? l : JSON.stringify(l);
              } else o[n] = e ? p : JSON.stringify(p);
            } else o[n] = p;
          }

          return o;
        }, o([i.property({
          readOnly: !0,
          dependsOn: ["url"]
        })], e.prototype, "parsedUrl", null), o([i.property()], e.prototype, "requestOptions", void 0), o([i.property({
          type: String
        })], e.prototype, "url", void 0), e = o([i.subclass("esri.tasks.Task")], e);
      }(i.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/geometry/cut.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/geometry/cut.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksGeometryCutJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, s, n, i, u, c) {
      function p(e, t, p, a) {
        return o(this, void 0, void 0, function () {
          var o, f, g, l, y, d, m, S;
          return s(this, function (s) {
            switch (s.label) {
              case 0:
                return o = "string" == typeof e ? u.urlToObject(e) : e, f = t[0].spatialReference, g = r({}, a, {
                  query: r({}, o.query, {
                    f: "json",
                    sr: JSON.stringify(f),
                    target: JSON.stringify({
                      geometryType: c.getJsonType(t[0]),
                      geometries: t
                    }),
                    cutter: JSON.stringify(p)
                  })
                }), [4, i(o.path + "/cut", g)];

              case 1:
                return l = s.sent(), y = l.data, d = y.cutIndexes, m = y.geometries, S = void 0 === m ? [] : m, [2, {
                  cutIndexes: d,
                  geometries: S.map(function (e) {
                    return n.fromJSON(e).set(f);
                  })
                }];
            }
          });
        });
      }

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

  /***/
  "./node_modules/arcgis-js-api/tasks/geometry/simplify.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/geometry/simplify.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksGeometrySimplifyJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i, o, s, u) {
      function p(e, r, p) {
        return n(this, void 0, void 0, function () {
          var n, f, l, y, g;
          return i(this, function (i) {
            switch (i.label) {
              case 0:
                return n = "string" == typeof e ? s.urlToObject(e) : e, f = r[0].spatialReference, l = u.getJsonType(r[0]), y = t({}, p, {
                  query: t({}, n.query, {
                    f: "json",
                    sr: f.wkid ? f.wkid : JSON.stringify(f),
                    geometries: JSON.stringify(a(r))
                  })
                }), [4, o(n.path + "/simplify", y)];

              case 1:
                return g = i.sent(), [2, c(g.data, l, f)];
            }
          });
        });
      }

      function a(e) {
        return {
          geometryType: u.getJsonType(e[0]),
          geometries: e.map(function (e) {
            return e.toJSON();
          })
        };
      }

      function c(e, r, t) {
        var n = u.getGeometryType(r);
        return e.map(function (e) {
          var r = n.fromJSON(e);
          return r.spatialReference = t, r;
        });
      }

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

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/PBFWorker.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/PBFWorker.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsPBFWorkerJs(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__(
    /*! ../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/requireUtils */
    "./node_modules/arcgis-js-api/core/requireUtils.js"), __webpack_require__(
    /*! ../../core/workers */
    "./node_modules/arcgis-js-api/core/workers.js"), __webpack_require__(
    /*! ../../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ../../layers/support/Field */
    "./node_modules/arcgis-js-api/layers/support/Field.js"), __webpack_require__(
    /*! ./pbfQueryUtils */
    "./node_modules/arcgis-js-api/tasks/operations/pbfQueryUtils.js"), __webpack_require__.dj.m(module)], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, i, n, a, s, f, u, l) {
      function d() {
        return new p();
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var p = function () {
        function e() {}

        return e.prototype._parseFeatureQuery = function (e) {
          var r = u.parsePBFFeatureQuery(e.buffer, e.options);

          if (e.options && "dehydrated" === e.options.type) {
            var t = r;
            if (r.spatialReference = t.spatialReference.toJSON(), t.fields) for (var o = 0; o < t.fields.length; o++) t.fields[o] = t.fields[o].toJSON();
          }

          return i.resolve(r);
        }, e;
      }(),
          c = function (r) {
        function d() {
          var t = r.call(this) || this;
          return t._thread = void 0, a.open(n.getAbsMid("./PBFWorker", e, l), {
            strategy: "dedicated"
          }).then(function (e) {
            void 0 === t._thread ? t._thread = e : e.close();
          }), t;
        }

        return t(d, r), d.prototype.destroy = function () {
          this._thread && this._thread.close(), this._thread = null;
        }, d.prototype.parseFeatureQuery = function (e, r) {
          return e && 0 !== e.byteLength ? this._thread ? this._thread.invoke("_parseFeatureQuery", {
            buffer: e,
            options: r
          }, {
            transferList: [e]
          }).then(function (e) {
            if (r && "dehydrated" === r.type) {
              var t = e;
              if (t.spatialReference = s.fromJSON(t.spatialReference), t.fields) for (var i = 0; i < t.fields.length; i++) t.fields[i] = f.fromJSON(t.fields[i]);

              for (var n = t.spatialReference, a = 0, u = t.features; a < u.length; a++) {
                var l = u[a];
                l.uid = o.generateUID(), l.geometry && (l.geometry.spatialReference = n);
              }
            }

            return e;
          }) : i.resolve(u.parsePBFFeatureQuery(e, r)) : i.resolve(null);
        }, d;
      }(p);

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

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/pbfDehydratedFeatureSet.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/pbfDehydratedFeatureSet.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsPbfDehydratedFeatureSetJs(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__(
    /*! ../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ../../layers/graphics/dehydratedFeatures */
    "./node_modules/arcgis-js-api/layers/graphics/dehydratedFeatures.js"), __webpack_require__(
    /*! ../../layers/support/Field */
    "./node_modules/arcgis-js-api/layers/support/Field.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, o, i, a) {
      function s(t, e) {
        return e;
      }

      function u(t, e, r, n) {
        switch (r) {
          case 0:
            return f(t, e + n, 0);

          case 1:
            return ("lowerLeft" === t.originPosition ? f : d)(t, e + n, 1);
        }
      }

      function h(t, e, r, n) {
        switch (r) {
          case 0:
            return f(t, e + n, 0);

          case 1:
            return ("lowerLeft" === t.originPosition ? f : d)(t, e + n, 1);

          case 2:
            return f(t, e, 2);
        }
      }

      function p(t, e, r, n) {
        switch (r) {
          case 0:
            return f(t, e + n, 0);

          case 1:
            return ("lowerLeft" === t.originPosition ? f : d)(t, e + n, 1);

          case 2:
            return f(t, e, 3);
        }
      }

      function c(t, e, r, n) {
        switch (r) {
          case 0:
            return f(t, e + n, 0);

          case 1:
            return ("lowerLeft" === t.originPosition ? f : d)(t, e + n, 1);

          case 2:
            return f(t, e, 2);

          case 3:
            return f(t, e, 3);
        }
      }

      function f(t, e, r) {
        var n = t.translate,
            o = t.scale;
        return n[r] + e * o[r];
      }

      function d(t, e, r) {
        var n = t.translate,
            o = t.scale;
        return n[r] - e * o[r];
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var l = function () {
        function t(t) {
          this.options = t, this.geometryTypes = ["point", "multipoint", "polyline", "polygon"], this.previousCoordinate = [0, 0], this.transform = null, this.applyTransform = s, this.lengths = [], this.currentLengthIndex = 0, this.toAddInCurrentPath = 0, this.vertexDimension = 0, this.coordinateBuffer = null, this.coordinateBufferPtr = 0, this.AttributesConstructor = function () {};
        }

        return t.prototype.createFeatureResult = function () {
          return new i.DehydratedFeatureSetClass();
        }, t.prototype.finishFeatureResult = function (t) {
          this.options.applyTransform && (t.transform = null), this.AttributesConstructor = function () {}, this.coordinateBuffer = null, this.lengths.length = 0;
        }, t.prototype.createSpatialReference = function () {
          return new o();
        }, t.prototype.addField = function (t, e) {
          t.fields.push(a.fromJSON(e));
          var r = t.fields.map(function (t) {
            return t.name;
          });

          this.AttributesConstructor = function () {
            for (var t = 0, e = r; t < e.length; t++) {
              this[e[t]] = null;
            }
          };
        }, t.prototype.addFeature = function (t, e) {
          var r = this.options.maxStringAttributeLength ? this.options.maxStringAttributeLength : 0;
          if (r > 0) for (var n in e.attributes) {
            var o = e.attributes[n];
            "string" == typeof o && o.length > r && (e.attributes[n] = "");
          }
          t.features.push(e);
        }, t.prototype.prepareFeatures = function (t) {
          var e = this;

          switch (this.options.applyTransform && t.transform && (this.transform = t.transform, this.applyTransform = this.deriveApplyTransform(t)), this.vertexDimension = 2, t.hasZ && this.vertexDimension++, t.hasM && this.vertexDimension++, t.geometryType) {
            case "point":
              this.addCoordinate = function (t, r, n, o) {
                return e.addCoordinatePoint(t, r, o);
              }, this.createGeometry = function (t) {
                return e.createPointGeometry(t);
              };
              break;

            case "polygon":
              this.addCoordinate = function (t, r, n, o) {
                return e.addCoordinatePolygon(t, r, o);
              }, this.createGeometry = function (t) {
                return e.createPolygonGeometry(t);
              };
              break;

            case "polyline":
              this.addCoordinate = function (t, r, n, o) {
                return e.addCoordinatePolyline(t, r, o);
              }, this.createGeometry = function (t) {
                return e.createPolylineGeometry(t);
              };
              break;

            case "multipoint":
              this.addCoordinate = function (t, r, n, o) {
                return e.addCoordinateMultipoint(t, r, o);
              }, this.createGeometry = function (t) {
                return e.createMultipointGeometry(t);
              };
              break;

            default:
              n.neverReached(t.geometryType);
          }
        }, t.prototype.createFeature = function () {
          return this.lengths.length = 0, this.currentLengthIndex = 0, this.previousCoordinate[0] = 0, this.previousCoordinate[1] = 0, this.coordinateBuffer = null, this.coordinateBufferPtr = 0, new i.DehydratedFeatureClass(r.generateUID(), null, new this.AttributesConstructor());
        }, t.prototype.addLength = function (t, e, r) {
          0 === this.lengths.length && (this.toAddInCurrentPath = e), this.lengths.push(e);
        }, t.prototype.createPointGeometry = function (t) {
          var e = {
            type: "point",
            x: 0,
            y: 0,
            spatialReference: t.spatialReference,
            hasZ: !!t.hasZ,
            hasM: !!t.hasM
          };
          return e.hasZ && (e.z = 0), e.hasM && (e.m = 0), e;
        }, t.prototype.addCoordinatePoint = function (t, e, r) {
          switch (e = this.applyTransform(this.transform, e, r, 0), r) {
            case 0:
              t.x = e;
              break;

            case 1:
              t.y = e;
              break;

            case 2:
              t.hasZ ? t.z = e : t.m = e;
              break;

            case 3:
              t.m = e;
          }
        }, t.prototype.transformPathLikeValue = function (t, e) {
          var r = 0;
          return e <= 1 && (r = this.previousCoordinate[e], this.previousCoordinate[e] += t), this.applyTransform(this.transform, t, e, r);
        }, t.prototype.addCoordinatePolyline = function (t, e, r) {
          this.dehydratedAddPointsCoordinate(t.paths, e, r);
        }, t.prototype.addCoordinatePolygon = function (t, e, r) {
          this.dehydratedAddPointsCoordinate(t.rings, e, r);
        }, t.prototype.addCoordinateMultipoint = function (t, e, r) {
          0 === r && t.points.push([]);
          var n = this.transformPathLikeValue(e, r);
          t.points[t.points.length - 1].push(n);
        }, t.prototype.createPolygonGeometry = function (t) {
          return {
            type: "polygon",
            rings: [[]],
            spatialReference: t.spatialReference,
            hasZ: !!t.hasZ,
            hasM: !!t.hasM
          };
        }, t.prototype.createPolylineGeometry = function (t) {
          return {
            type: "polyline",
            paths: [[]],
            spatialReference: t.spatialReference,
            hasZ: !!t.hasZ,
            hasM: !!t.hasM
          };
        }, t.prototype.createMultipointGeometry = function (t) {
          return {
            type: "multipoint",
            points: [],
            spatialReference: t.spatialReference,
            hasZ: !!t.hasZ,
            hasM: !!t.hasM
          };
        }, t.prototype.dehydratedAddPointsCoordinate = function (t, e, r) {
          if (null === this.coordinateBuffer) {
            var n = this.lengths.reduce(function (t, e) {
              return t + e;
            }, 0);
            this.coordinateBuffer = new Float64Array(n * this.vertexDimension);
          }

          0 === r && 0 == this.toAddInCurrentPath-- && (t.push([]), this.toAddInCurrentPath = this.lengths[++this.currentLengthIndex] - 1, this.previousCoordinate[0] = 0, this.previousCoordinate[1] = 0);
          var o = this.transformPathLikeValue(e, r),
              i = t[t.length - 1];
          0 === r && i.push(new Float64Array(this.coordinateBuffer.buffer, this.coordinateBufferPtr * Float64Array.BYTES_PER_ELEMENT, this.vertexDimension)), this.coordinateBuffer[this.coordinateBufferPtr++] = o;
        }, t.prototype.deriveApplyTransform = function (t) {
          var e = t.hasZ,
              r = t.hasM;
          return e && r ? c : e ? h : r ? p : u;
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/pbfFeatureServiceParser.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/pbfFeatureServiceParser.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsPbfFeatureServiceParserJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/pbf */
    "./node_modules/arcgis-js-api/core/pbf.js"), __webpack_require__(
    /*! ./pbfDehydratedFeatureSet */
    "./node_modules/arcgis-js-api/tasks/operations/pbfDehydratedFeatureSet.js"), __webpack_require__(
    /*! ./pbfOptimizedFeatureSet */
    "./node_modules/arcgis-js-api/tasks/operations/pbfOptimizedFeatureSet.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, s, n, i) {
      function c(e) {
        return e >= v.length ? null : v[e];
      }

      function o(e) {
        return e >= D.length ? null : D[e];
      }

      function l(e) {
        return e >= x.length ? null : x[e];
      }

      function g(e, r) {
        return r >= e.geometryTypes.length ? null : e.geometryTypes[r];
      }

      function u(e, r, t) {
        for (var a = r.createPointGeometry(t); e.next();) switch (e.tag()) {
          case 3:
            for (var s = e.getUInt32(), n = e.pos() + s, i = 0; e.pos() < n;) r.addCoordinatePoint(a, e.getSInt64(), 0, i++);

            break;

          case 1:
          case 2:
          default:
            e.skip();
        }

        return a;
      }

      function p(e, r, t) {
        for (var a = r.createGeometry(t), s = 2 + (t.hasZ ? 1 : 0) + (t.hasM ? 1 : 0); e.next();) switch (e.tag()) {
          case 2:
            for (var n = e.getUInt32(), i = e.pos() + n, c = 0; e.pos() < i;) r.addLength(a, e.getUInt32(), c++);

            break;

          case 3:
            for (var o = e.getUInt32(), i = e.pos() + o, l = 0, g = 0; e.pos() < i;) r.addCoordinate(a, e.getSInt64(), g, l), ++l === s && (g++, l = 0);

            break;

          case 1:
          default:
            e.skip();
        }

        return a;
      }

      function y(e) {
        for (; e.next();) switch (e.tag()) {
          case 1:
            return e.getString();

          case 2:
            return e.getFloat();

          case 3:
            return e.getDouble();

          case 4:
            return e.getSInt32();

          case 5:
            return e.getUInt32();

          case 6:
            return e.getInt64();

          case 7:
            return e.getUInt64();

          case 8:
            return e.getSInt64();

          case 9:
            return e.getBool();

          default:
            return e.skip(), null;
        }

        return null;
      }

      function f(e) {
        for (var r = {
          type: c(0)
        }; e.next();) switch (e.tag()) {
          case 1:
            r.name = e.getString();
            break;

          case 2:
            r.type = c(e.getEnum());
            break;

          case 3:
            r.alias = e.getString();
            break;

          case 4:
            r.sqlType = o(e.getEnum());
            break;

          case 5:
          case 6:
          default:
            e.skip();
        }

        return r;
      }

      function b(e, r, t, a) {
        for (var s = r.createFeature(t), n = 0; e.next();) switch (e.tag()) {
          case 1:
            var i = a[n++].name;
            s.attributes[i] = e.processMessage(y);
            break;

          case 2:
            s.geometry = e.processMessageWithArgs(p, r, t);
            break;

          case 4:
            s.centroid = e.processMessageWithArgs(u, r, t);
            break;

          default:
            e.skip();
        }

        return s;
      }

      function d(e) {
        for (var r = [1, 1, 1, 1]; e.next();) switch (e.tag()) {
          case 1:
            r[0] = e.getDouble();
            break;

          case 2:
            r[1] = e.getDouble();
            break;

          case 4:
            r[2] = e.getDouble();
            break;

          case 3:
            r[3] = e.getDouble();
            break;

          default:
            e.skip();
        }

        return r;
      }

      function k(e) {
        for (var r = [0, 0, 0, 0]; e.next();) switch (e.tag()) {
          case 1:
            r[0] = e.getDouble();
            break;

          case 2:
            r[1] = e.getDouble();
            break;

          case 4:
            r[2] = e.getDouble();
            break;

          case 3:
            r[3] = e.getDouble();
            break;

          default:
            e.skip();
        }

        return r;
      }

      function T(e) {
        for (var r = {
          originPosition: l(0)
        }; e.next();) switch (e.tag()) {
          case 1:
            r.originPosition = l(e.getEnum());
            break;

          case 2:
            r.scale = e.processMessage(d);
            break;

          case 3:
            r.translate = e.processMessage(k);
            break;

          default:
            e.skip();
        }

        return r;
      }

      function h(e) {
        for (var r = {}; e.next();) switch (e.tag()) {
          case 1:
            r.shapeAreaFieldName = e.getString();
            break;

          case 2:
            r.shapeLengthFieldName = e.getString();
            break;

          case 3:
            r.units = e.getString();
            break;

          default:
            e.skip();
        }

        return r;
      }

      function m(e, r) {
        for (var t = r.createSpatialReference(); e.next();) switch (e.tag()) {
          case 1:
            t.wkid = e.getUInt32();
            break;

          case 5:
            t.wkt = e.getString();
            break;

          case 2:
          case 3:
          case 4:
          default:
            e.skip();
        }

        return t;
      }

      function F(e, r) {
        var t = r.createFeatureResult();
        t.geometryType = g(r, 0);

        for (var a = !1; e.next();) switch (e.tag()) {
          case 1:
            t.objectIdFieldName = e.getString();
            break;

          case 3:
            t.globalIdFieldName = e.getString();
            break;

          case 4:
            t.geohashFieldName = e.getString();
            break;

          case 5:
            t.geometryProperties = e.processMessage(h);
            break;

          case 7:
            t.geometryType = g(r, e.getEnum());
            break;

          case 8:
            t.spatialReference = e.processMessageWithArgs(m, r);
            break;

          case 10:
            t.hasZ = e.getBool();
            break;

          case 11:
            t.hasM = e.getBool();
            break;

          case 12:
            t.transform = e.processMessage(T);
            break;

          case 9:
            var s = e.getBool();
            t.exceededTransferLimit = s;
            break;

          case 13:
            r.addField(t, e.processMessage(f));
            break;

          case 15:
            a || (r.prepareFeatures(t), a = !0), r.addFeature(t, e.processMessageWithArgs(b, r, t, t.fields));
            break;

          case 2:
          case 6:
          default:
            e.skip();
        }

        return r.finishFeatureResult(t), t;
      }

      function q(e, r) {
        for (var t = {}; e.next();) switch (e.tag()) {
          case 1:
            t.featureResult = e.processMessageWithArgs(F, r);
            break;

          default:
            e.skip();
        }

        return t;
      }

      function w(e) {
        return e && "dehydrated" === e.type ? new n.Context(e) : new i.Context();
      }

      function I(e, r) {
        var a = w(r);

        try {
          for (var n = new s(new Uint8Array(e), new DataView(e)), i = {}; n.next();) switch (n.tag()) {
            case 2:
              i.queryResult = n.processMessageWithArgs(q, a);
              break;

            default:
              n.skip();
          }

          return i;
        } catch (e) {
          var c = new t("query:parsing-pbf", "Error while parsing FeatureSet PBF payload", {
            error: e
          });
          return S.error(c), {
            queryResult: {
              featureResult: a.createFeatureResult()
            }
          };
        }
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var S = a.getLogger("esri.tasks.operations.pbfFeatureServiceParser"),
          v = ["esriFieldTypeSmallInteger", "esriFieldTypeInteger", "esriFieldTypeSingle", "esriFieldTypeDouble", "esriFieldTypeString", "esriFieldTypeDate", "esriFieldTypeOID", "esriFieldTypeGeometry", "esriFieldTypeBlob", "esriFieldTypeRaster", "esriFieldTypeGUID", "esriFieldTypeGlobalID", "esriFieldTypeXML"],
          D = ["sqlTypeBigInt", "sqlTypeBinary", "sqlTypeBit", "sqlTypeChar", "sqlTypeDate", "sqlTypeDecimal", "sqlTypeDouble", "sqlTypeFloat", "sqlTypeGeometry", "sqlTypeGUID", "sqlTypeInteger", "sqlTypeLongNVarchar", "sqlTypeLongVarbinary", "sqlTypeLongVarchar", "sqlTypeNChar", "sqlTypeNVarchar", "sqlTypeOther", "sqlTypeReal", "sqlTypeSmallInt", "sqlTypeSqlXml", "sqlTypeTime", "sqlTypeTimestamp", "sqlTypeTimestamp2", "sqlTypeTinyInt", "sqlTypeVarbinary", "sqlTypeVarchar"],
          x = ["upperLeft", "lowerLeft"];
      r.parseFeatureQuery = I;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/pbfOptimizedFeatureSet.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/pbfOptimizedFeatureSet.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsPbfOptimizedFeatureSetJs(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/graphics/OptimizedFeature */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeature.js"), __webpack_require__(
    /*! ../../layers/graphics/OptimizedFeatureSet */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeatureSet.js"), __webpack_require__(
    /*! ../../layers/graphics/OptimizedGeometry */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedGeometry.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e() {
          this.geometryTypes = ["esriGeometryPoint", "esriGeometryMultipoint", "esriGeometryPolyline", "esriGeometryPolygon"];
        }

        return e.prototype.createFeatureResult = function () {
          return new o["default"]();
        }, e.prototype.prepareFeatures = function () {}, e.prototype.finishFeatureResult = function () {}, e.prototype.addFeature = function (e, t) {
          e.features.push(t);
        }, e.prototype.createFeature = function () {
          return new r["default"]();
        }, e.prototype.createSpatialReference = function () {
          return {
            wkid: 0
          };
        }, e.prototype.createGeometry = function () {
          return new n["default"]();
        }, e.prototype.addField = function (e, t) {
          e.fields.push(t);
        }, e.prototype.addCoordinate = function (e, t) {
          e.coords.push(t);
        }, e.prototype.addCoordinatePoint = function (e, t) {
          e.coords.push(t);
        }, e.prototype.addLength = function (e, t) {
          e.lengths.push(t);
        }, e.prototype.createPointGeometry = function () {
          return new n["default"]();
        }, e;
      }();

      t.Context = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/pbfQueryUtils.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/pbfQueryUtils.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsPbfQueryUtilsJs(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__(
    /*! ./pbfFeatureServiceParser */
    "./node_modules/arcgis-js-api/tasks/operations/pbfFeatureServiceParser.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function u(e, r) {
        var u = t.parseFeatureQuery(e, r),
            a = u.queryResult.featureResult;
        if (a && a.features && a.features.length && a.objectIdFieldName) for (var s = a.objectIdFieldName, f = 0, i = a.features; f < i.length; f++) {
          var n = i[f];
          n.attributes && (n.objectId = n.attributes[s]);
        }
        return a;
      }

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

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/query.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/query.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsQueryJs(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__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../../geometry/support/normalizeUtils */
    "./node_modules/arcgis-js-api/geometry/support/normalizeUtils.js"), __webpack_require__(
    /*! ./pbfQueryUtils */
    "./node_modules/arcgis-js-api/tasks/operations/pbfQueryUtils.js"), __webpack_require__(
    /*! ./PBFWorker */
    "./node_modules/arcgis-js-api/tasks/operations/PBFWorker.js"), __webpack_require__(
    /*! ./urlUtils */
    "./node_modules/arcgis-js-api/tasks/operations/urlUtils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, o, u, i, s, a, l, y) {
      function c(e, r) {
        var t = e.geometry,
            n = e.toJSON(),
            o = n;

        if (t && (o.geometry = JSON.stringify(t), o.geometryType = i.getJsonType(t), o.inSR = t.spatialReference.wkid || JSON.stringify(t.spatialReference)), n.groupByFieldsForStatistics && (o.groupByFieldsForStatistics = n.groupByFieldsForStatistics.join(",")), n.objectIds && (o.objectIds = n.objectIds.join(",")), n.orderByFields && (o.orderByFields = n.orderByFields.join(",")), !n.outFields || r && (r.returnCountOnly || r.returnExtentOnly || r.returnIdsOnly) ? delete o.outFields : -1 !== n.outFields.indexOf("*") ? o.outFields = "*" : o.outFields = n.outFields.join(","), n.outSR ? o.outSR = n.outSR.wkid || JSON.stringify(n.outSR) : t && (n.returnGeometry || n.returnCentroid) && (o.outSR = o.inSR), n.returnGeometry && delete n.returnGeometry, n.outStatistics && (o.outStatistics = JSON.stringify(n.outStatistics)), n.pixelSize && (o.pixelSize = JSON.stringify(n.pixelSize)), n.quantizationParameters && (o.quantizationParameters = JSON.stringify(n.quantizationParameters)), n.source && (o.layer = JSON.stringify({
          source: n.source
        }), delete n.source), n.timeExtent) {
          var u = n.timeExtent,
              s = u.start,
              a = u.end;
          null == s && null == a || (o.time = s === a ? s : (null == s ? "null" : s) + "," + (null == a ? "null" : a)), delete n.timeExtent;
        }

        return o;
      }

      function d(e, r, t) {
        return F(e, r, "json", t);
      }

      function f(e, r, t, n) {
        var o = t.useWorker ? g() : null;
        return F(e, r, "pbf", n).then(function (e) {
          var r = function r(_r4) {
            var t = e;
            return t.data = _r4, t;
          };

          return t.useWorker ? o.parseFeatureQuery(e.data, t).then(function (e) {
            return r(e);
          }) : r(a.parsePBFFeatureQuery(e.data, t));
        });
      }

      function p(e, r, t) {
        return F(e, r, "json", t, {
          returnIdsOnly: !0
        });
      }

      function m(e, r, t) {
        return F(e, r, "json", t, {
          returnIdsOnly: !0,
          returnCountOnly: !0
        });
      }

      function S(e, r, t) {
        return F(e, r, "json", t, {
          returnExtentOnly: !0,
          returnCountOnly: !0
        }).then(function (e) {
          var r = e.data;
          if (r.hasOwnProperty("extent")) return e;
          if (r.features) throw new Error(O);
          if (r.hasOwnProperty("count")) throw new Error(O);
          return e;
        });
      }

      function F(e, r, i, a, l) {
        void 0 === a && (a = {});
        var d = "string" == typeof e ? u.urlToObject(e) : e,
            f = r.geometry ? [r.geometry] : [];
        return a.responseType = "pbf" === i ? "array-buffer" : "json", s.normalizeCentralMeridian(f, null, a).then(function (e) {
          var u = e && e[0];
          o.isSome(u) && (r = r.clone(), r.geometry = u);
          var s = y.mapParameters(t({}, d.query, {
            f: i
          }, l, c(r, l)));
          return n(d.path + "/query", t({}, a, {
            query: s
          }));
        });
      }

      function g() {
        return null == x && (x = new l.PBFWorker()), x;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var O = "Layer does not support extent calculation.";
      r.queryToQueryStringParameters = c, r.executeQuery = d, r.executeQueryPBF = f, r.executeQueryForIds = p, r.executeQueryForCount = m, r.executeQueryForExtent = S;
      var x;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/queryAttachments.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/queryAttachments.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsQueryAttachmentsJs(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__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../layers/support/AttachmentInfo */
    "./node_modules/arcgis-js-api/layers/support/AttachmentInfo.js"), __webpack_require__(
    /*! ./urlUtils */
    "./node_modules/arcgis-js-api/tasks/operations/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, n, o, s) {
      function u(e) {
        var t = e.toJSON();
        return t.attachmentTypes && (t.attachmentTypes = t.attachmentTypes.join(",")), t.keywords && (t.keywords = t.keywords.join(",")), t.globalIds && (t.globalIds = t.globalIds.join(",")), t.objectIds && (t.objectIds = t.objectIds.join(",")), t.size && (t.size = t.size.join(",")), t;
      }

      function c(e, t) {
        for (var r = {}, a = 0, s = e; a < s.length; a++) for (var u = s[a], c = u.parentObjectId, l = u.parentGlobalId, d = u.attachmentInfos, i = 0, p = d; i < p.length; i++) {
          var y = p[i],
              h = y.id,
              m = n.addProxy(n.addTokenParameter(t + "/" + c + "/attachments/" + h)),
              f = o.fromJSON(y);
          f.set({
            url: m,
            parentObjectId: c,
            parentGlobalId: l
          }), r[c] ? r[c].push(f) : r[c] = [f];
        }

        return r;
      }

      function l(e, t, n) {
        var o = s.mapParameters(r({}, e.query, {
          f: "json"
        }, u(t))),
            c = {
          query: o
        };
        return n && (c = r({}, n, c)), a(e.path + "/queryAttachments", c);
      }

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

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/queryRelatedRecords.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/queryRelatedRecords.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsQueryRelatedRecordsJs(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__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ./urlUtils */
    "./node_modules/arcgis-js-api/tasks/operations/urlUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, a) {
      function u(e) {
        var r = e.toJSON();
        return r.objectIds && (r.objectIds = r.objectIds.join(",")), r.outFields && (r.outFields = r.outFields.join(",")), r.outSpatialReference && (r.outSR = r.outSR.wkid || JSON.stringify(r.outSR.toJSON()), delete r.outSpatialReference), r.source && (r.layer = JSON.stringify({
          source: r.source
        }), delete r.source), r;
      }

      function s(e, r, s) {
        var i = a.mapParameters(t({}, e.query, {
          f: "json"
        }, u(r))),
            n = {
          query: i
        };
        return s && (n = t({}, s, n)), o(e.path + "/queryRelatedRecords", n).then(function (e) {
          for (var r = e.data, t = r.geometryType, o = r.spatialReference, a = {}, u = 0, s = r.relatedRecordGroups; u < s.length; u++) {
            var i = s[u],
                n = {
              fields: void 0,
              objectIdFieldName: void 0,
              geometryType: t,
              spatialReference: o,
              features: i.relatedRecords
            };
            if (null != i.objectId) a[i.objectId] = n;else for (var d in i) i.hasOwnProperty(d) && "relatedRecords" !== d && (a[i[d]] = n);
          }

          return e.data = a, e;
        });
      }

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

  /***/
  "./node_modules/arcgis-js-api/tasks/operations/urlUtils.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/operations/urlUtils.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksOperationsUrlUtilsJs(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) {
        var r = {};

        for (var f in e) if ("declaredClass" !== f) {
          var i = e[f];
          if (null != i && "function" != typeof i) if (Array.isArray(i)) {
            r[f] = [];

            for (var n = 0; n < i.length; n++) r[f][n] = t(i[n]);
          } else "object" == typeof i ? i.toJSON && (r[f] = JSON.stringify(i)) : r[f] = i;
        }

        return r;
      }

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

  /***/
  "./node_modules/arcgis-js-api/tasks/support/AlgorithmicColorRamp.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/AlgorithmicColorRamp.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportAlgorithmicColorRampJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ./ColorRamp */
    "./node_modules/arcgis-js-api/tasks/support/ColorRamp.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, r, e, t, l, p, i, n, s) {
      return function (o) {
        function r(r) {
          var e = o.call(this, r) || this;
          return e.algorithm = null, e.fromColor = null, e.toColor = null, e.type = "algorithmic", e;
        }

        t(r, o), s = r, r.prototype.clone = function () {
          return new s({
            fromColor: p.clone(this.fromColor),
            toColor: p.clone(this.toColor),
            algorithm: this.algorithm
          });
        };
        var s;
        return e([i.enumeration.serializable()({
          esriCIELabAlgorithm: "cie-lab",
          esriHSVAlgorithm: "hsv",
          esriLabLChAlgorithm: "lab-lch"
        })], r.prototype, "algorithm", void 0), e([i.property({
          type: l,
          json: {
            type: [n.Integer],
            write: !0
          }
        })], r.prototype, "fromColor", void 0), e([i.property({
          type: l,
          json: {
            type: [n.Integer],
            write: !0
          }
        })], r.prototype, "toColor", void 0), e([i.property({
          type: ["algorithmic"]
        })], r.prototype, "type", void 0), r = s = e([i.subclass("esri.tasks.support.AlgorithmicColorRamp")], r);
      }(i.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/AttachmentQuery.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/AttachmentQuery.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportAttachmentQueryJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, s, n, p, a) {
      var i = function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.attachmentTypes = null, r.attachmentsWhere = null, r.keywords = null, r.globalIds = null, r.name = null, r.num = null, r.objectIds = null, r.returnMetadata = !1, r.size = null, r.start = null, r.where = null, r;
        }

        r(e, t), s = e, e.prototype.writeStart = function (t, e) {
          e.resultOffset = this.start, e.resultRecordCount = this.num || 10;
        }, e.prototype.clone = function () {
          return new s(n.clone({
            attachmentTypes: this.attachmentTypes,
            attachmentsWhere: this.attachmentsWhere,
            keywords: this.keywords,
            where: this.where,
            globalIds: this.globalIds,
            name: this.name,
            num: this.num,
            objectIds: this.objectIds,
            returnMetadata: this.returnMetadata,
            size: this.size,
            start: this.start
          }));
        };
        var s;
        return o([p.property({
          type: [String],
          json: {
            write: !0
          }
        })], e.prototype, "attachmentTypes", void 0), o([p.property({
          type: String,
          json: {
            read: {
              source: "attachmentsDefinitionExpression"
            },
            write: {
              target: "attachmentsDefinitionExpression"
            }
          }
        })], e.prototype, "attachmentsWhere", void 0), o([p.property({
          type: [String],
          json: {
            write: !0
          }
        })], e.prototype, "keywords", void 0), o([p.property({
          type: [Number],
          json: {
            write: !0
          }
        })], e.prototype, "globalIds", void 0), o([p.property({
          json: {
            write: !0
          }
        })], e.prototype, "name", void 0), o([p.property({
          type: Number,
          json: {
            read: {
              source: "resultRecordCount"
            }
          }
        })], e.prototype, "num", void 0), o([p.property({
          type: [Number],
          json: {
            write: !0
          }
        })], e.prototype, "objectIds", void 0), o([p.property({
          type: Boolean,
          json: {
            "default": !1,
            write: !0
          }
        })], e.prototype, "returnMetadata", void 0), o([p.property({
          type: [Number],
          json: {
            write: !0
          }
        })], e.prototype, "size", void 0), o([p.property({
          type: Number,
          json: {
            read: {
              source: "resultOffset"
            }
          }
        })], e.prototype, "start", void 0), o([p.writer("start"), p.writer("num")], e.prototype, "writeStart", null), o([p.property({
          type: String,
          json: {
            read: {
              source: "definitionExpression"
            },
            write: {
              target: "definitionExpression"
            }
          }
        })], e.prototype, "where", void 0), e = s = o([p.subclass("esri.tasks.support.AttachmentQuery")], e);
      }(p.declared(s.JSONSupport));

      return i.from = a["default"](i), i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/ColorRamp.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/ColorRamp.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportColorRampJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, p, s) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.type = null, t;
        }

        return t(e, r), o([s.property({
          readOnly: !0,
          json: {
            read: !1,
            write: !0
          }
        })], e.prototype, "type", void 0), e = o([s.subclass("esri.tasks.support.ColorRamp")], e);
      }(s.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/DataFile.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/DataFile.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportDataFileJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, p, i) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.itemId = null, t.url = null, t;
        }

        return t(e, r), o([i.property({
          type: String,
          json: {
            read: {
              source: "itemID"
            },
            write: {
              target: "itemID"
            }
          }
        })], e.prototype, "itemId", void 0), o([i.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "url", void 0), e = o([i.subclass("esri.tasks.support.DataFile")], e);
      }(i.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/FeatureSet.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/FeatureSet.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportFeatureSetJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../../layers/support/Field */
    "./node_modules/arcgis-js-api/layers/support/Field.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, p, a, s, y, u, l, f) {
      var c = new p["default"]({
        esriGeometryPoint: "point",
        esriGeometryMultipoint: "multipoint",
        esriGeometryPolyline: "polyline",
        esriGeometryPolygon: "polygon",
        esriGeometryEnvelope: "extent"
      }),
          m = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.displayFieldName = null, r.exceededTransferLimit = !1, r.features = [], r.fields = null, r.geometryType = null, r.hasM = !1, r.hasZ = !1, r.queryGeometry = null, r.spatialReference = null, r;
        }

        return o(t, e), t.prototype.readFeatures = function (e, t) {
          for (var r = u.fromJSON(t.spatialReference), o = [], n = 0; n < e.length; n++) {
            var p = e[n],
                a = i.fromJSON(p),
                y = p.geometry && p.geometry.spatialReference;
            s.isSome(a.geometry) && !y && (a.geometry.spatialReference = r), o.push(a);
          }

          return o;
        }, t.prototype.writeGeometryType = function (e, t, r, o) {
          if (e) return void c.write(e, t, r, o);
          var n = this.features;
          if (n) for (var i = 0, p = n; i < p.length; i++) {
            var a = p[i];
            if (a && s.isSome(a.geometry)) return void c.write(a.geometry.type, t, r, o);
          }
        }, t.prototype.writeSpatialReference = function (e, t) {
          if (e) return void (t.spatialReference = e.toJSON());
          var r = this.features;
          if (r) for (var o = 0, n = r; o < n.length; o++) {
            var i = n[o];
            i && s.isSome(i.geometry) && i.geometry.spatialReference && (t.spatialReference = i.geometry.spatialReference.toJSON());
          }
        }, t.prototype.toJSON = function (e) {
          var t = this.write(null);
          if (t.features && Array.isArray(e) && e.length > 0) for (var r = 0; r < t.features.length; r++) {
            var o = t.features[r];

            if (o.geometry) {
              var n = e && e[r];
              o.geometry = n && n.toJSON() || o.geometry;
            }
          }
          return t;
        }, t.prototype.quantize = function (e) {
          for (var t = e.scale, r = t[0], o = t[1], n = e.translate, i = n[0], p = n[1], a = function a(e) {
            return Math.round((e - i) / r);
          }, y = function y(e) {
            return Math.round((p - e) / o);
          }, u = this.features, l = this._getQuantizationFunction(this.geometryType, a, y), f = 0, c = u.length; f < c; f++) l(s.expect(u[f].geometry)) || (u.splice(f, 1), f--, c--);

          return this.transform = e, this;
        }, t.prototype.unquantize = function () {
          var e = this,
              t = e.geometryType,
              r = e.features,
              o = e.transform;
          if (!o) return this;

          for (var n = o.translate, i = n[0], p = n[1], a = o.scale, y = a[0], u = a[1], l = function l(e) {
            return e * y + i;
          }, f = function f(e) {
            return p - e * u;
          }, c = this._getHydrationFunction(t, l, f), m = 0, g = r; m < g.length; m++) {
            var d = g[m].geometry;
            s.isSome(d) && c(d);
          }

          return this;
        }, t.prototype._quantizePoints = function (e, t, r) {
          for (var o, n, i = [], p = 0, a = e.length; p < a; p++) {
            var s = e[p];

            if (p > 0) {
              var y = t(s[0]),
                  u = r(s[1]);
              y === o && u === n || (i.push([y - o, u - n]), o = y, n = u);
            } else o = t(s[0]), n = r(s[1]), i.push([o, n]);
          }

          return i.length > 0 ? i : null;
        }, t.prototype._getQuantizationFunction = function (e, t, r) {
          var o = this;
          return "point" === e ? function (e) {
            return e.x = t(e.x), e.y = r(e.y), e;
          } : "polyline" === e || "polygon" === e ? function (e) {
            for (var n = l.isPolygon(e) ? e.rings : e.paths, i = [], p = 0, a = n.length; p < a; p++) {
              var s = n[p],
                  y = o._quantizePoints(s, t, r);

              y && i.push(y);
            }

            return i.length > 0 ? (l.isPolygon(e) ? e.rings = i : e.paths = i, e) : null;
          } : "multipoint" === e ? function (e) {
            var n;
            return n = o._quantizePoints(e.points, t, r), n.length > 0 ? (e.points = n, e) : null;
          } : "extent" === e ? function (e) {
            return e;
          } : null;
        }, t.prototype._getHydrationFunction = function (e, t, r) {
          return "point" === e ? function (e) {
            e.x = t(e.x), e.y = r(e.y);
          } : "polyline" === e || "polygon" === e ? function (e) {
            for (var o, n, i = l.isPolygon(e) ? e.rings : e.paths, p = 0, a = i.length; p < a; p++) for (var s = i[p], y = 0, u = s.length; y < u; y++) {
              var f = s[y];
              y > 0 ? (o += f[0], n += f[1]) : (o = f[0], n = f[1]), f[0] = t(o), f[1] = r(n);
            }
          } : "extent" === e ? function (e) {
            e.xmin = t(e.xmin), e.ymin = r(e.ymin), e.xmax = t(e.xmax), e.ymax = r(e.ymax);
          } : "multipoint" === e ? function (e) {
            for (var o, n, i = e.points, p = 0, a = i.length; p < a; p++) {
              var s = i[p];
              p > 0 ? (o += s[0], n += s[1]) : (o = s[0], n = s[1]), s[0] = t(o), s[1] = r(n);
            }
          } : void 0;
        }, r([y.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "displayFieldName", void 0), r([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(e) {
                return {
                  enabled: e
                };
              }
            }
          }
        })], t.prototype, "exceededTransferLimit", void 0), r([y.property({
          type: [i],
          json: {
            write: !0
          }
        })], t.prototype, "features", void 0), r([y.reader("features")], t.prototype, "readFeatures", null), r([y.property({
          type: [f],
          json: {
            write: !0
          }
        })], t.prototype, "fields", void 0), r([y.property({
          type: ["point", "multipoint", "polyline", "polygon", "extent", "mesh"],
          json: {
            read: {
              reader: c.read
            }
          }
        })], t.prototype, "geometryType", void 0), r([y.writer("geometryType")], t.prototype, "writeGeometryType", null), r([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(e) {
                return {
                  enabled: e
                };
              }
            }
          }
        })], t.prototype, "hasM", void 0), r([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(e) {
                return {
                  enabled: e
                };
              }
            }
          }
        })], t.prototype, "hasZ", void 0), r([y.property({
          types: n.geometryTypes,
          json: {
            read: l.fromJSON,
            write: !0
          }
        })], t.prototype, "queryGeometry", void 0), r([y.property({
          type: u,
          json: {
            write: !0
          }
        })], t.prototype, "spatialReference", void 0), r([y.writer("spatialReference")], t.prototype, "writeSpatialReference", null), r([y.property({
          json: {
            write: !0
          }
        })], t.prototype, "transform", void 0), t = r([y.subclass("esri.tasks.support.FeatureSet")], t);
      }(y.declared(a.JSONSupport));

      return m.prototype.toJSON.isDefaultToJSON = !0, m || (m = {}), m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/GPMessage.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/GPMessage.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportGPMessageJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, s, o, t, p, i) {
      var n = new t["default"]({
        esriJobMessageTypeInformative: "informative",
        esriJobMessageTypeProcessDefinition: "process-definition",
        esriJobMessageTypeProcessStart: "process-start",
        esriJobMessageTypeProcessStop: "process-stop",
        esriJobMessageTypeWarning: "warning",
        esriJobMessageTypeError: "error",
        esriJobMessageTypeEmpty: "empty",
        esriJobMessageTypeAbort: "abort"
      });
      return function (e) {
        function r(r) {
          var s = e.call(this, r) || this;
          return s.description = null, s.type = null, s;
        }

        return s(r, e), o([i.property({
          type: String,
          json: {
            write: !0
          }
        })], r.prototype, "description", void 0), o([i.property({
          type: String,
          json: {
            read: n.read,
            write: n.write
          }
        })], r.prototype, "type", void 0), r = o([i.subclass("esri.tasks.support.GPMessage")], r);
      }(i.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/JobInfo.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/JobInfo.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportJobInfoJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./GPMessage */
    "./node_modules/arcgis-js-api/tasks/support/GPMessage.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, s, i, d, n) {
      var b = new s["default"]({
        esriJobCancelled: "job-cancelled",
        esriJobCancelling: "job-cancelling",
        esriJobDeleted: "job-deleted",
        esriJobDeleting: "job-deleting",
        esriJobTimedOut: "job-timed-out",
        esriJobExecuting: "job-executing",
        esriJobFailed: "job-failed",
        esriJobNew: "job-new",
        esriJobSubmitted: "job-submitted",
        esriJobSucceeded: "job-succeeded",
        esriJobWaiting: "job-waiting"
      });
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.jobId = null, r.jobStatus = null, r.messages = null, r;
        }

        return r(o, e), t([d.property()], o.prototype, "jobId", void 0), t([d.property({
          json: {
            read: b.read
          }
        })], o.prototype, "jobStatus", void 0), t([d.property({
          type: [n]
        })], o.prototype, "messages", void 0), o = t([d.subclass("esri.tasks.support.JobInfo")], o);
      }(d.declared(i.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/LinearUnit.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/LinearUnit.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportLinearUnitJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, s, i, o, n) {
      var p = new i["default"]({
        esriMeters: "meters",
        esriFeet: "feet",
        esriKilometers: "kilometers",
        esriMiles: "miles",
        esriNauticalMiles: "nautical-miles",
        esriYards: "yards"
      }, {
        ignoreUnknown: !1
      });
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.distance = 0, t.units = null, t;
        }

        return t(r, e), s([n.property({
          json: {
            write: !0
          }
        })], r.prototype, "distance", void 0), s([n.property({
          json: {
            read: p.read,
            write: p.write
          }
        })], r.prototype, "units", void 0), r = s([n.subclass("esri/tasks/support/LinearUnit")], r);
      }(n.declared(o.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/MultipartColorRamp.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/MultipartColorRamp.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportMultipartColorRampJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./AlgorithmicColorRamp */
    "./node_modules/arcgis-js-api/tasks/support/AlgorithmicColorRamp.js"), __webpack_require__(
    /*! ./ColorRamp */
    "./node_modules/arcgis-js-api/tasks/support/ColorRamp.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, o, t, e, p, c, l, s) {
      return function (r) {
        function o(o) {
          var t = r.call(this, o) || this;
          return t.colorRamps = null, t.type = "multipart", t;
        }

        e(o, r), s = o, o.prototype.clone = function () {
          return new s({
            colorRamps: p.clone(this.colorRamps)
          });
        };
        var s;
        return t([c.property({
          type: [l],
          json: {
            write: !0
          }
        })], o.prototype, "colorRamps", void 0), t([c.property({
          type: ["multipart"]
        })], o.prototype, "type", void 0), o = s = t([c.subclass("esri.tasks.support.MultipartColorRamp")], o);
      }(c.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/ParameterValue.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/ParameterValue.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportParameterValueJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, l, u, r, i) {
      var o = new u["default"]({
        GPBoolean: "boolean",
        GPDataFile: "data-file",
        GPDate: "date",
        GPDouble: "double",
        GPFeatureRecordSetLayer: "feature-record-set-layer",
        GPField: "field",
        GPLinearUnit: "linear-unit",
        GPLong: "long",
        GPRasterData: "raster-data",
        GPRasterDataLayer: "raster-data-layer",
        GPRecordSet: "record-set",
        GPString: "string",
        "GPMultiValue:GPBoolean": "multi-value",
        "GPMultiValue:GPDataFile": "multi-value",
        "GPMultiValue:GPDate": "multi-value",
        "GPMultiValue:GPDouble": "multi-value",
        "GPMultiValue:GPFeatureRecordSetLayer": "multi-value",
        "GPMultiValue:GPField": "multi-value",
        "GPMultiValue:GPLinearUnit": "multi-value",
        "GPMultiValue:GPLong": "multi-value",
        "GPMultiValue:GPRasterData": "multi-value",
        "GPMultiValue:GPRasterDataLayer": "multi-value",
        "GPMultiValue:GPRecordSet": "multi-value",
        "GPMultiValue:GPString": "multi-value"
      });
      return function (e) {
        function t(t) {
          var a = e.call(this, t) || this;
          return a.dataType = null, a.value = null, a;
        }

        return a(t, e), l([i.property({
          json: {
            read: o.read,
            write: o.write
          }
        })], t.prototype, "dataType", void 0), l([i.property()], t.prototype, "value", void 0), t = l([i.subclass("esri.tasks.support.ParameterValue")], t);
      }(i.declared(r.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/PrintParameters.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/PrintParameters.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportPrintParametersJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, p, a) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.extent = null, t.extraParameters = null, t.outSpatialReference = null, t.template = null, t.view = null, t;
        }

        return t(r, e), o([a.property()], r.prototype, "extent", void 0), o([a.property()], r.prototype, "extraParameters", void 0), o([a.property()], r.prototype, "outSpatialReference", void 0), o([a.property()], r.prototype, "template", void 0), o([a.property()], r.prototype, "view", void 0), r = o([a.subclass("esri.tasks.support.PrintParameters")], r);
      }(a.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/PrintTemplate.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/PrintTemplate.js ***!
    \*******************************************************************/

  /*! no static exports found */

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

    /**
           * Defines the layout elements. It's an object with the following properties:
           *
           * @property {string} [titleText] - The text used for the map title if the specified layout contains a title text element.
           * @property {string} [authorText] - The text used for the author if the specified layout contains an author text element.
           * @property {string} [copyrightText] - The text used for the copyright if the specified layout contains a copyright text element.
           * @property {"Miles" | "Kilometers" | "Meters" | "Feet"} [scalebarUnit=Miles] - The unit used for the scalebar.
           * @property {module:esri/tasks/support/LegendLayer[]} [legendLayers] - An array of {@link module:esri/tasks/support/LegendLayer}
           * containing the ids of the layers that will be included in the legend. Tiled layers and GraphicsLayer will not appear in the
           * legend. If `legendLayers` is not specified, all operational layers (non-tiled layers) except {@link module:esri/layers/GraphicsLayer}
           * will be present in the legend. To specify that no layers will be included in the legend, set `legendLayer = []`.
           * @property {Object[]} [customTextElements] - An array of name-value pair objects. Use this property to update the text for custom text elements
           * on the page layout. Values must be strings. The custom text elements must exist in the print service. All out-of-the-box print service layout
           * templates contain a text element named `date` that gets populated by default with the system date-time, but can be overwritten.
           *
           * @example
           * layoutOptions: {
           *   titleText: "My Print",
           *   authorText: "Sam",
           *   copyrightText: "My Company",
           *   scalebarUnit: "Miles",
           *   // the following text elements must
           *   // exist in the print service to appear
           *   customTextElements: [
           *     {"description": "My description"},
           *     {"location": "My Location"},
           *     {"date": "11/11/2020, 11:11:20 AM"}
           *   ]
           * }
           * @type {Object}
           */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e) {
      return e.createSubclass({
        declaredClass: "esri.tasks.support.PrintTemplate",
        properties: {
          attributionVisible: {
            value: !0,
            type: Boolean
          },
          exportOptions: {
            value: {
              width: 800,
              height: 1100,
              dpi: 96
            },
            type: Object
          },
          forceFeatureAttributes: {
            value: !1,
            type: Boolean
          },
          format: {
            value: "png32",
            type: String
          },
          label: {
            value: null,
            type: String
          },
          layout: {
            value: "map-only",
            type: String
          },
          layoutOptions: {
            value: null,
            type: Object
          },
          outScale: {
            value: 0,
            type: Number
          },
          preserveScale: {
            value: !0,
            type: Boolean
          },
          showLabels: {
            value: !0,
            type: Boolean
          }
        }
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/ProjectParameters.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/ProjectParameters.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportProjectParametersJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, a, s, n, i) {
      var p = s.getLogger("esri.tasks.support.ProjectParameters");
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.geometries = null, t.outSpatialReference = null, t.transformation = null, t.transformForward = null, t;
        }

        return t(r, e), Object.defineProperty(r.prototype, "outSR", {
          get: function get() {
            return p.warn("ProjectParameters.outSR is deprecated. Use outSpatialReference instead."), this.outSpatialReference;
          },
          set: function set(e) {
            p.warn("ProjectParameters.outSR is deprecated. Use outSpatialReference instead."), this.outSpatialReference = e;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.toJSON = function () {
          var e = this.geometries.map(function (e) {
            return e.toJSON();
          }),
              r = this.geometries[0],
              t = {};
          return t.outSR = this.outSpatialReference.wkid || JSON.stringify(this.outSpatialReference.toJSON()), t.inSR = r.spatialReference.wkid || JSON.stringify(r.spatialReference.toJSON()), t.geometries = JSON.stringify({
            geometryType: i.getJsonType(r),
            geometries: e
          }), this.transformation && (t.transformation = this.transformation.wkid || JSON.stringify(this.transformation)), null != this.transformForward && (t.transformForward = this.transformForward), t;
        }, o([n.property()], r.prototype, "geometries", void 0), o([n.property({
          json: {
            read: {
              source: "outSR"
            }
          }
        })], r.prototype, "outSpatialReference", void 0), o([n.property({
          json: {
            read: !1
          }
        })], r.prototype, "outSR", null), o([n.property()], r.prototype, "transformation", void 0), o([n.property()], r.prototype, "transformForward", void 0), r = o([n.subclass("esri.tasks.support.ProjectParameters")], r);
      }(n.declared(a.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/QuantizationParameters.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/QuantizationParameters.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportQuantizationParametersJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, p, s, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var c = new n["default"]({
        upperLeft: "upper-left",
        lowerLeft: "lower-left"
      }),
          l = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.extent = null, r.mode = "view", r.originPosition = "upper-left", r.tolerance = 1, r;
        }

        r(t, e), n = t, t.prototype.clone = function () {
          return new n(s.clone({
            extent: this.extent,
            mode: this.mode,
            originPosition: this.originPosition,
            tolerance: this.tolerance
          }));
        };
        var n;
        return o([a.property({
          type: i.Extent,
          json: {
            write: !0
          }
        })], t.prototype, "extent", void 0), o([a.property({
          type: ["view", "edit"],
          json: {
            write: !0
          }
        })], t.prototype, "mode", void 0), o([a.property({
          type: String,
          json: {
            read: c.read,
            write: c.write
          }
        })], t.prototype, "originPosition", void 0), o([a.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "tolerance", void 0), t = n = o([a.subclass("esri.tasks.support.QuantizationParameters")], t);
      }(a.declared(p.JSONSupport));

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

  /***/
  "./node_modules/arcgis-js-api/tasks/support/Query.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/Query.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportQueryJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../TimeExtent */
    "./node_modules/arcgis-js-api/TimeExtent.js"), __webpack_require__(
    /*! ../../core/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js"), __webpack_require__(
    /*! ../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../../symbols/support/jsonUtils */
    "./node_modules/arcgis-js-api/symbols/support/jsonUtils.js"), __webpack_require__(
    /*! ./QuantizationParameters */
    "./node_modules/arcgis-js-api/tasks/support/QuantizationParameters.js"), __webpack_require__(
    /*! ./StatisticDefinition */
    "./node_modules/arcgis-js-api/tasks/support/StatisticDefinition.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o, i, n, s, p, a, l, u, y, c, d, m, h, v) {
      var w = new a["default"]({
        esriSpatialRelIntersects: "intersects",
        esriSpatialRelContains: "contains",
        esriSpatialRelCrosses: "crosses",
        esriSpatialRelDisjoint: "disjoint",
        esriSpatialRelEnvelopeIntersects: "envelope-intersects",
        esriSpatialRelIndexIntersects: "index-intersects",
        esriSpatialRelOverlaps: "overlaps",
        esriSpatialRelTouches: "touches",
        esriSpatialRelWithin: "within",
        esriSpatialRelRelation: "relation"
      }),
          f = new a["default"]({
        esriSRUnit_Meter: "meters",
        esriSRUnit_Kilometer: "kilometers",
        esriSRUnit_Foot: "feet",
        esriSRUnit_StatuteMile: "miles",
        esriSRUnit_NauticalMile: "nautical-miles",
        esriSRUnit_USNauticalMile: "us-nautical-miles"
      });
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.cacheHint = !1, r.datumTransformation = null, r.distance = void 0, r.gdbVersion = null, r.geometry = null, r.geometryPrecision = void 0, r.groupByFieldsForStatistics = null, r.having = null, r.historicMoment = null, r.maxAllowableOffset = void 0, r.maxRecordCountFactor = 1, r.multipatchOption = null, r.num = void 0, r.objectIds = null, r.orderByFields = null, r.outFields = null, r.outSpatialReference = null, r.outStatistics = null, r.parameterValues = null, r.pixelSize = null, r.quantizationParameters = null, r.rangeValues = null, r.relationParameter = null, r.resultType = null, r.returnCentroid = !1, r.returnDistinctValues = !1, r.returnExceededLimitFeatures = !0, r.returnGeometry = !1, r.returnQueryGeometry = !1, r.returnM = void 0, r.returnZ = void 0, r.source = null, r.spatialRelationship = "intersects", r.start = void 0, r.sqlFormat = null, r.text = null, r.timeExtent = null, r.units = null, r.where = null, r;
        }

        r(e, t), a = e, e.from = function (t) {
          return c.ensureClass(a, t);
        }, e.prototype.castDatumTransformation = function (t) {
          return "number" == typeof t || "object" == typeof t ? t : null;
        }, e.prototype.writeHistoricMoment = function (t, e) {
          e.historicMoment = t && t.getTime();
        }, e.prototype.writeParameterValues = function (t, e) {
          if (t) {
            var r = {};

            for (var o in t) {
              var i = t[o];
              Array.isArray(i) ? r[o] = i.map(function (t) {
                return t instanceof Date ? t.getTime() : t;
              }) : i instanceof Date ? r[o] = i.getTime() : r[o] = i;
            }

            e.parameterValues = r;
          }
        }, e.prototype.writeStart = function (t, e) {
          e.resultOffset = this.start, e.resultRecordCount = this.num || 10, e.where = "1=1";
        }, e.prototype.writeWhere = function (t, e) {
          e.where = t || "1=1";
        }, e.prototype.clone = function () {
          return new a(u.clone({
            cacheHint: this.cacheHint,
            datumTransformation: this.datumTransformation,
            distance: this.distance,
            gdbVersion: this.gdbVersion,
            geometry: this.geometry,
            geometryPrecision: this.geometryPrecision,
            groupByFieldsForStatistics: this.groupByFieldsForStatistics,
            having: this.having,
            historicMoment: this.historicMoment ? new Date(this.historicMoment.getTime()) : null,
            maxAllowableOffset: this.maxAllowableOffset,
            maxRecordCountFactor: this.maxRecordCountFactor,
            multipatchOption: this.multipatchOption,
            num: this.num,
            objectIds: this.objectIds,
            orderByFields: this.orderByFields,
            outFields: this.outFields,
            outSpatialReference: this.outSpatialReference,
            outStatistics: this.outStatistics,
            parameterValues: this.parameterValues,
            pixelSize: this.pixelSize,
            quantizationParameters: this.quantizationParameters,
            rangeValues: this.rangeValues,
            relationParameter: this.relationParameter,
            resultType: this.resultType,
            returnDistinctValues: this.returnDistinctValues,
            returnGeometry: this.returnGeometry,
            returnCentroid: this.returnCentroid,
            returnExceededLimitFeatures: this.returnExceededLimitFeatures,
            returnQueryGeometry: this.returnQueryGeometry,
            returnM: this.returnM,
            returnZ: this.returnZ,
            source: this.source,
            spatialRelationship: this.spatialRelationship,
            start: this.start,
            sqlFormat: this.sqlFormat,
            text: this.text,
            timeExtent: this.timeExtent,
            units: this.units,
            where: this.where
          }));
        };
        var a;
        return e.MAX_MAX_RECORD_COUNT_FACTOR = 5, o([y.property({
          type: Boolean,
          json: {
            write: !0,
            "default": !1
          }
        })], e.prototype, "cacheHint", void 0), o([y.property({
          json: {
            write: !0
          }
        })], e.prototype, "datumTransformation", void 0), o([y.cast("datumTransformation")], e.prototype, "castDatumTransformation", null), o([y.property({
          type: Number,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t > 0
                };
              }
            }
          }
        })], e.prototype, "distance", void 0), o([y.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "gdbVersion", void 0), o([y.property({
          types: n.geometryTypes,
          json: {
            read: d.fromJSON,
            write: !0
          }
        })], e.prototype, "geometry", void 0), o([y.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "geometryPrecision", void 0), o([y.property({
          type: [String],
          json: {
            write: !0
          }
        })], e.prototype, "groupByFieldsForStatistics", void 0), o([y.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "having", void 0), o([y.property({
          type: Date
        })], e.prototype, "historicMoment", void 0), o([y.writer("historicMoment")], e.prototype, "writeHistoricMoment", null), o([y.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "maxAllowableOffset", void 0), o([y.property({
          type: Number,
          cast: function cast(t) {
            return t < 1 ? 1 : t > a.MAX_MAX_RECORD_COUNT_FACTOR ? a.MAX_MAX_RECORD_COUNT_FACTOR : t;
          },
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t > 1
                };
              }
            }
          }
        })], e.prototype, "maxRecordCountFactor", void 0), o([y.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "multipatchOption", void 0), o([y.property({
          type: Number,
          json: {
            read: {
              source: "resultRecordCount"
            }
          }
        })], e.prototype, "num", void 0), o([y.property({
          type: [Number],
          json: {
            write: !0
          }
        })], e.prototype, "objectIds", void 0), o([y.property({
          type: [String],
          json: {
            write: !0
          }
        })], e.prototype, "orderByFields", void 0), o([y.property({
          type: [String],
          json: {
            write: !0
          }
        })], e.prototype, "outFields", void 0), o([y.property({
          type: i.SpatialReference,
          json: {
            read: {
              source: "outSR"
            },
            write: {
              target: "outSR"
            }
          }
        })], e.prototype, "outSpatialReference", void 0), o([y.property({
          type: [v],
          json: {
            write: !0
          }
        })], e.prototype, "outStatistics", void 0), o([y.property({
          json: {
            write: !0
          }
        })], e.prototype, "parameterValues", void 0), o([y.writer("parameterValues")], e.prototype, "writeParameterValues", null), o([y.property({
          types: s.symbolTypes,
          json: {
            read: m.read,
            write: !0
          }
        })], e.prototype, "pixelSize", void 0), o([y.property({
          type: h["default"],
          json: {
            write: !0
          }
        })], e.prototype, "quantizationParameters", void 0), o([y.property({
          type: [Object],
          json: {
            write: !0
          }
        })], e.prototype, "rangeValues", void 0), o([y.property({
          type: String,
          json: {
            read: {
              source: "relationParam"
            },
            write: {
              target: "relationParam",
              overridePolicy: function overridePolicy() {
                return {
                  enabled: "relation" === this.spatialRelationship
                };
              }
            }
          }
        })], e.prototype, "relationParameter", void 0), o([y.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "resultType", void 0), o([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t
                };
              }
            }
          }
        })], e.prototype, "returnCentroid", void 0), o([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t
                };
              }
            }
          }
        })], e.prototype, "returnDistinctValues", void 0), o([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: !t
                };
              }
            }
          }
        })], e.prototype, "returnExceededLimitFeatures", void 0), o([y.property({
          type: Boolean,
          json: {
            write: !0
          }
        })], e.prototype, "returnGeometry", void 0), o([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t
                };
              }
            }
          }
        })], e.prototype, "returnQueryGeometry", void 0), o([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t
                };
              }
            }
          }
        })], e.prototype, "returnM", void 0), o([y.property({
          type: Boolean,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t
                };
              }
            }
          }
        })], e.prototype, "returnZ", void 0), o([y.property({
          json: {
            write: !0
          }
        })], e.prototype, "source", void 0), o([y.property({
          type: String,
          json: {
            read: {
              source: "spatialRel",
              reader: w.read
            },
            write: {
              target: "spatialRel",
              writer: w.write
            }
          }
        })], e.prototype, "spatialRelationship", void 0), o([y.property({
          type: Number,
          json: {
            read: {
              source: "resultOffset"
            }
          }
        })], e.prototype, "start", void 0), o([y.writer("start"), y.writer("num")], e.prototype, "writeStart", null), o([y.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "sqlFormat", void 0), o([y.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "text", void 0), o([y.property({
          type: p,
          json: {
            write: !0
          }
        })], e.prototype, "timeExtent", void 0), o([y.property({
          type: String,
          json: {
            read: f.read,
            write: {
              writer: f.write,
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: t && this.distance > 0
                };
              }
            }
          }
        })], e.prototype, "units", void 0), o([y.property({
          type: String,
          json: {
            write: {
              overridePolicy: function overridePolicy(t) {
                return {
                  enabled: null != t || this.start > 0
                };
              }
            }
          }
        })], e.prototype, "where", void 0), o([y.writer("where")], e.prototype, "writeWhere", null), e = a = o([y.subclass("esri.tasks.support.Query")], e);
      }(y.declared(l.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/RasterData.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/RasterData.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportRasterDataJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, t, o, p, u) {
      return function (r) {
        function e(e) {
          var t = r.call(this, e) || this;
          return t.format = null, t.itemId = null, t.url = null, t;
        }

        return t(e, r), o([u.property()], e.prototype, "format", void 0), o([u.property({
          json: {
            read: {
              source: "itemID"
            },
            write: {
              target: "itemID"
            }
          }
        })], e.prototype, "itemId", void 0), o([u.property()], e.prototype, "url", void 0), e = o([u.subclass("esri/tasks/support/RasterData")], e);
      }(u.declared(p.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/RelationshipQuery.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/RelationshipQuery.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportRelationshipQueryJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, p, s, n, l) {
      var u = function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.gdbVersion = null, o.geometryPrecision = void 0, o.historicMoment = null, o.maxAllowableOffset = void 0, o.objectIds = null, o.outFields = null, o.outSpatialReference = null, o.relationshipId = void 0, o.returnGeometry = !1, o.source = null, o.where = null, o;
        }

        o(t, e), p = t, t.prototype._writeHistoricMoment = function (e, t) {
          t.historicMoment = e && e.getTime();
        }, t.prototype.clone = function () {
          return new p(s.clone({
            gdbVersion: this.gdbVersion,
            geometryPrecision: this.geometryPrecision,
            historicMoment: this.historicMoment && this.historicMoment.getTime(),
            maxAllowableOffset: this.maxAllowableOffset,
            objectIds: this.objectIds,
            outFields: this.outFields,
            outSpatialReference: this.outSpatialReference,
            relationshipId: this.relationshipId,
            returnGeometry: this.returnGeometry,
            source: this.source,
            where: this.where
          }));
        };
        var p;
        return r([n.property({
          type: String,
          json: {
            write: !0
          }
        })], t.prototype, "gdbVersion", void 0), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "geometryPrecision", void 0), r([n.property({
          type: Date
        })], t.prototype, "historicMoment", void 0), r([n.writer("historicMoment")], t.prototype, "_writeHistoricMoment", null), r([n.property({
          type: Number,
          json: {
            write: !0
          }
        })], t.prototype, "maxAllowableOffset", void 0), r([n.property({
          type: [Number],
          json: {
            write: !0
          }
        })], t.prototype, "objectIds", void 0), r([n.property({
          type: [String],
          json: {
            write: !0
          }
        })], t.prototype, "outFields", void 0), r([n.property({
          type: i.SpatialReference,
          json: {
            read: {
              source: "outSR"
            },
            write: {
              target: "outSR"
            }
          }
        })], t.prototype, "outSpatialReference", void 0), r([n.property({
          json: {
            write: !0
          }
        })], t.prototype, "relationshipId", void 0), r([n.property({
          json: {
            write: !0
          }
        })], t.prototype, "returnGeometry", void 0), r([n.property({
          json: {
            write: !0
          }
        })], t.prototype, "source", void 0), r([n.property({
          type: String,
          json: {
            read: {
              source: "definitionExpression"
            },
            write: {
              target: "definitionExpression"
            }
          }
        })], t.prototype, "where", void 0), t = p = r([n.subclass("esri.tasks.support.RelationshipQuery")], t);
      }(n.declared(p.JSONSupport));

      return u.from = l["default"](u), u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/StatisticDefinition.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/StatisticDefinition.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportStatisticDefinitionJs(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/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, i, r, p) {
      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o.maxPointCount = void 0, o.maxRecordCount = void 0, o.maxVertexCount = void 0, o.onStatisticField = null, o.outStatisticFieldName = null, o.statisticType = null, o;
        }

        o(e, t), r = e, e.prototype.clone = function () {
          return new r({
            maxPointCount: this.maxPointCount,
            maxRecordCount: this.maxRecordCount,
            maxVertexCount: this.maxVertexCount,
            onStatisticField: this.onStatisticField,
            outStatisticFieldName: this.outStatisticFieldName,
            statisticType: this.statisticType
          });
        };
        var r;
        return i([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "maxPointCount", void 0), i([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "maxRecordCount", void 0), i([p.property({
          type: Number,
          json: {
            write: !0
          }
        })], e.prototype, "maxVertexCount", void 0), i([p.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "onStatisticField", void 0), i([p.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "outStatisticFieldName", void 0), i([p.property({
          type: String,
          json: {
            write: !0
          }
        })], e.prototype, "statisticType", void 0), e = r = i([p.subclass("esri.tasks.support.StatisticDefinition")], e);
      }(p.declared(r.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/colorRamps.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/colorRamps.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportColorRampsJs(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__(
    /*! ./AlgorithmicColorRamp */
    "./node_modules/arcgis-js-api/tasks/support/AlgorithmicColorRamp.js"), __webpack_require__(
    /*! ./ColorRamp */
    "./node_modules/arcgis-js-api/tasks/support/ColorRamp.js"), __webpack_require__(
    /*! ./MultipartColorRamp */
    "./node_modules/arcgis-js-api/tasks/support/MultipartColorRamp.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, l) {
      function p(e) {
        return e && e.type ? "algorithmic" === e.type ? r.fromJSON(e) : "multipart" === e.type ? l.fromJSON(e) : null : null;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.types = {
        key: "type",
        base: o,
        typeMap: {
          algorithmic: r,
          multipart: l
        }
      }, t.fromJSON = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/fileFormat.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/fileFormat.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportFileFormatJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, o) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var r = new o["default"]({
        PDF: "pdf",
        PNG32: "png32",
        PNG8: "png8",
        JPG: "jpg",
        GIF: "gif",
        EPS: "eps",
        SVG: "svg",
        SVGZ: "svgz"
      });
      n.fromJSON = r.fromJSON.bind(r), n.toJSON = r.toJSON.bind(r);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/layoutTemplate.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/layoutTemplate.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportLayoutTemplateJs(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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (a, t, e) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var r = new e["default"]({
        MAP_ONLY: "map-only",
        "A3 Landscape": "a3-landscape",
        "A3 Portrait": "a3-portrait",
        "A4 Landscape": "a4-landscape",
        "A4 Portrait": "a4-portrait",
        "Letter ANSI A Landscape": "letter-ansi-a-landscape",
        "Letter ANSI A Portrait": "letter-ansi-a-portrait",
        "Tabloid ANSI B Landscape": "tabloid-ansi-b-landscape",
        "Tabloid ANSI B Portrait": "tabloid-ansi-b-portrait"
      });
      t.fromJSON = r.fromJSON.bind(r), t.toJSON = r.toJSON.bind(r);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/tasks/support/printTaskUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/tasks/support/printTaskUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiTasksSupportPrintTaskUtilsJs(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__(
    /*! @dojo/framework/shim/array */
    "./node_modules/@dojo/framework/shim/array.mjs"), __webpack_require__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../renderers/visualVariables/support/visualVariableUtils */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, n, a) {
      function o(e, r) {
        var t = r.graphic,
            o = r.renderer,
            l = r.symbol,
            y = l.type;

        if (y !== O && y !== D && "visualVariables" in o && o.visualVariables) {
          var s = o.getVisualVariablesForType("size"),
              u = o.getVisualVariablesForType("color"),
              p = o.getVisualVariablesForType("opacity"),
              f = o.getVisualVariablesForType("rotation"),
              c = s && s[0],
              m = u && u[0],
              g = p && p[0],
              L = f && f[0];

          if (c) {
            var d = y === I ? l.style : null,
                V = a.getSize(c, t, {
              shape: d
            });
            null != V && (y === I ? e.size = n.px2pt(V) : y === F ? (e.width = n.px2pt(V), e.height = n.px2pt(V)) : y === k ? e.width = n.px2pt(V) : e.outline && (e.outline.width = n.px2pt(V)));
          }

          if (m) {
            var b = a.getColor(m, t);
            (b && y === I || y === k || y === C) && (e.color = i.toJSON(b));
          }

          if (g) {
            var v = a.getOpacity(g, t);
            null != v && e.color && (e.color[3] = Math.round(255 * v));
          }

          L && (e.angle = -a.getRotationAngle(o, t));
        }
      }

      function l() {
        return {
          layerDefinition: {
            name: "multipointLayer",
            geometryType: "esriGeometryMultipoint",
            drawingInfo: {
              renderer: null
            }
          },
          featureSet: {
            geometryType: "esriGeometryMultipoint",
            features: []
          }
        };
      }

      function y() {
        return {
          layerDefinition: {
            name: "polygonLayer",
            geometryType: "esriGeometryPolygon",
            drawingInfo: {
              renderer: null
            }
          },
          featureSet: {
            geometryType: "esriGeometryPolygon",
            features: []
          }
        };
      }

      function s() {
        return {
          layerDefinition: {
            name: "pointLayer",
            geometryType: "esriGeometryPoint",
            drawingInfo: {
              renderer: null
            }
          },
          featureSet: {
            geometryType: "esriGeometryPoint",
            features: []
          }
        };
      }

      function u() {
        return {
          layerDefinition: {
            name: "polylineLayer",
            geometryType: "esriGeometryPolyline",
            drawingInfo: {
              renderer: null
            }
          },
          featureSet: {
            geometryType: "esriGeometryPolyline",
            features: []
          }
        };
      }

      function p(e, r) {
        var i,
            n = e.allLayerViews.items;
        if (r === e.scale) i = n.filter(function (e) {
          return !e.suspended;
        });else {
          i = [];

          for (var a = 0, o = n; a < o.length; a++) {
            var l = o[a];
            d(l.parent) && !t.includes(i, l.parent) || !l.visible || r && "isVisibleAtScale" in l && !l.isVisibleAtScale(r) || i.push(l);
          }
        }
        return i;
      }

      function f(e) {
        return e && "bing-maps" === e.type;
      }

      function c(e) {
        return e && "csv" === e.type;
      }

      function m(e) {
        return e && "feature" === e.type;
      }

      function g(e) {
        return e && "graphics" === e.type;
      }

      function L(e) {
        return e && "group" === e.type;
      }

      function d(e) {
        return e && "esri.views.layers.GroupLayerView" === e.declaredClass;
      }

      function V(e) {
        return e && "imagery" === e.type;
      }

      function b(e) {
        return e && "kml" === e.type;
      }

      function v(e) {
        return e && "map-image" === e.type;
      }

      function T(e) {
        return e && "map-notes" === e.type;
      }

      function w(e) {
        return e && "open-street-map" === e.type;
      }

      function h(e) {
        return e && "stream" === e.type;
      }

      function S(e) {
        return e && "tile" === e.type;
      }

      function M(e) {
        return e && "vector-tile" === e.type;
      }

      function G(e) {
        return e && "web-tile" === e.type;
      }

      function P(e) {
        return e && "wms" === e.type;
      }

      function x(e) {
        return e && "wmts" === e.type;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var I = "simple-marker",
          F = "picture-marker",
          k = "simple-line",
          C = "simple-fill",
          D = "shield-label-symbol",
          O = "text";
      r.applyVisualVariables = o, r.createMultipointLayer = l, r.createPolygonLayer = y, r.createPointLayer = s, r.createPolylineLayer = u, r.getVisibleLayerViews = p, r.isBingMapsLayer = f, r.isCSVLayer = c, r.isFeatureLayer = m, r.isGraphicsLayer = g, r.isGroupLayer = L, r.isImageryLayer = V, r.isKMLLayer = b, r.isMapImageLayer = v, r.isMapNotesLayer = T, r.isOpenStreetMapLayer = w, r.isStreamLayer = h, r.isTileLayer = S, r.isVectorTileLayer = M, r.isWebTileLayer = G, r.isWMSLayer = P, r.isWMTSLayer = x;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dAnimationManagerJs(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__(
    /*! ../../Viewpoint */
    "./node_modules/arcgis-js-api/Viewpoint.js"), __webpack_require__(
    /*! ../../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ../../core/now */
    "./node_modules/arcgis-js-api/core/now.js"), __webpack_require__(
    /*! ../../geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ../ViewAnimation */
    "./node_modules/arcgis-js-api/views/ViewAnimation.js"), __webpack_require__(
    /*! ./unitBezier */
    "./node_modules/arcgis-js-api/views/2d/unitBezier.js"), __webpack_require__(
    /*! ./viewpointUtils */
    "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, e, n, s, a, o, h) {
      var r = function r(t, i, e, n) {
        var s = t.targetGeometry,
            a = i.targetGeometry;
        n ? "string" == typeof n && (n = o.parse(n) || o.ease) : n = o.ease, this.easing = n, this.duration = e, this.sCenterX = s.x, this.sCenterY = s.y, this.sScale = t.scale, this.sRotation = t.rotation, this.tCenterX = a.x, this.tCenterY = a.y, this.tScale = i.scale, this.tRotation = i.rotation, this.dCenterX = this.tCenterX - this.sCenterX, this.dCenterY = this.tCenterY - this.sCenterY, this.dScale = this.tScale - this.sScale, this.dRotation = this.tRotation - this.sRotation, this.dRotation > 180 ? this.dRotation -= 360 : this.dRotation < -180 && (this.dRotation += 360);
      };

      return r.prototype.applyRatio = function (t, i) {
        var e,
            n,
            s,
            a,
            o = this.easing(i);
        i >= 1 ? (e = this.tCenterX, n = this.tCenterY, s = this.tRotation, a = this.tScale) : (e = this.sCenterX + o * this.dCenterX, n = this.sCenterY + o * this.dCenterY, s = this.sRotation + o * this.dRotation, a = this.sScale + o * this.dScale), t.targetGeometry.x = e, t.targetGeometry.y = n, t.scale = a, t.rotation = s;
      }, i.createSubclass({
        constructor: function constructor() {
          this.viewpoint = new t({
            targetGeometry: new s(),
            scale: 0,
            rotation: 0
          }), this._updateTask = e.addFrameTask({
            postRender: this._postRender.bind(this)
          }), this._updateTask.pause();
        },
        properties: {
          animation: null,
          duration: {
            value: 200
          },
          transition: {
            value: null
          },
          easing: {
            value: o.ease
          },
          view: null,
          viewpoint: null
        },
        animate: function animate(t, i, e) {
          this.stop();
          var s = this.viewpoint;
          h.copy(s, i), this.transition = new r(this.viewpoint, t.target, e && e.duration || this.duration, e && e.easing || this.easing);

          var a = function () {
            this.animation === t && this._updateTask && ("finished" === t.state && (this.transition.applyRatio(this.viewpoint, 1), this.view.state && (this.view.state.viewpoint = this.viewpoint.clone())), this.animation = null, this.updateFunction = null);
          }.bind(this);

          return t.when(a, a), this._startTime = n(), this._updateTask.resume(), this.animation = t, t;
        },
        animateContinous: function animateContinous(t, i) {
          this.stop(), this.updateFunction = i, this.viewpoint = t;

          var e = new a({
            target: t.clone()
          }),
              s = function () {
            this.animation === e && this._updateTask && (this.animation = null, this.updateFunction = null);
          }.bind(this);

          return e.when(s, s), this._startTime = n(), this._updateTask.resume(), this.animation = e, e;
        },
        stop: function stop() {
          this.animation && (this.animation.stop(), this.animation = null, this.updateFunction = null);
        },
        _postRender: function _postRender(t) {
          var i = this.animation;
          if (!i || i.state === a.STOPPED) return void this._updateTask.pause();
          if (this.updateFunction) this.updateFunction(this.viewpoint, t.deltaTime);else {
            var e = n() - this._startTime,
                s = e / this.transition.duration,
                o = s >= 1;

            this.transition.applyRatio(this.viewpoint, s), o && this.animation.finish();
          }
          this.view.state && (this.view.state.viewpoint = this.viewpoint.clone());
        }
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dFrameTaskJs(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/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a) {
      function i(e) {
        return !("layerViews" in e);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var r = function () {
        function e(e) {
          var t = this;
          this.view = e, this._frameTaskHandle = null, this.stationary = !0, this.updateEnabled = !0, this.animationInProgress = !1, this.prepare = function () {
            t._updateParameters.state = t.view.state, t._updateParameters.stationary = t.view.stationary, t._updateParameters.pixelRatio = window.devicePixelRatio, t._updateParameters.renderingOptions = t.view.renderingOptions;
          }, this.update = function () {
            if (t.updateEnabled) {
              for (var e = t.view, a = e.labelManager, r = t.graphicsView, s = e.allLayerViews.toArray().filter(function (e) {
                return i(e) && e.isFulfilled();
              }), n = s.length, o = e.state, d = 0, h = s; d < h.length; d++) {
                var l = h[d];

                if (l.attached) {
                  var p = l.lastUpdateId;
                  null != p && (t.stationary || l.moving) || (l.moving = !0, l.moveStart()), p !== o.id && l.viewChange(), t.stationary && l.moving && (l.moving = !1, l.moveEnd()), l.lastUpdateId = o.id;
                }
              }

              a && a.lastUpdateId !== o.id && (a.viewChange(), a.lastUpdateId = o.id), r && r.lastUpdateId !== o.id && (r.viewChange(), r.lastUpdateId = o.id);

              for (var u = t._layerViewsTrash, y = 0, v = u; y < v.length; y++) {
                var l = v[y];

                t._detachLayerView(l);
              }

              u.length = 0;

              for (var c = 0, w = 0; w < n; w++) {
                var l = s[w];
                l.isFulfilled() && !l.attached && t._attachLayerView(l), c += 1;
              }

              var _ = t._updateParameters,
                  f = t._layerViewsToUpdate,
                  m = f.slice();
              f.length = 0;

              for (var g = 0, V = m; g < V.length; g++) {
                var l = V[g];
                i(l) ? l.processUpdate(_) : f.push(l);
              }

              f = t._updatablesToUpdate, m = f.slice(), f.length = 0;

              for (var T = 0, U = m; T < U.length; T++) {
                U[T].processUpdate(_);
              }

              t.animationInProgress || 0 !== t._layerViewsToUpdate.length || 0 !== t._updatablesToUpdate.length || 0 !== u.length || t._frameTaskHandle.pause();
            }
          };
        }

        return e.prototype.destroy = function () {
          this.stop();
        }, e.prototype.start = function () {
          var e = this;
          this.stationary = this.view.stationary, this._updateParameters = {
            state: this.view.state,
            pixelRatio: window.devicePixelRatio,
            stationary: this.stationary,
            renderingOptions: this.view.renderingOptions
          }, this._layerViewsTrash = [], this._layerViewsToUpdate = [], this._updatablesToUpdate = [], this._allLayerViewsChangeHandle = this.view.allLayerViews.on("change", function (t) {
            Array.prototype.push.apply(e._layerViewsTrash, t.removed), e.requestFrame();
          }), this._stationaryHandle = this.view.watch("stationary", function (t) {
            e.stationary = t, e.requestFrame();
          }), this._frameTaskHandle = a.addFrameTask(this);
        }, e.prototype.stop = function () {
          var e = this;
          this._frameTaskHandle && (this.view.allLayerViews.forEach(function (t) {
            i(t) && e._detachLayerView(t);
          }), this._stationaryHandle.remove(), this._allLayerViewsChangeHandle.remove(), this._frameTaskHandle.remove(), this._updateParameters = this._stationaryHandle = this._allLayerViewsChangeHandle = this._frameTaskHandle = this._layerViewsTrash = this._layerViewsToUpdate = null, this.stationary = !0, this.animationInProgress = !1);
        }, e.prototype.requestLayerViewUpdate = function (e) {
          this._layerViewsToUpdate.push(e), this.requestFrame();
        }, e.prototype.requestUpdate = function (e) {
          this._updatablesToUpdate.push(e), this.requestFrame();
        }, e.prototype.requestFrame = function () {
          this._frameTaskHandle && this._frameTaskHandle.resume();
        }, e.prototype._attachLayerView = function (e) {
          e.attached || (e.attached = !0, e.attach(), this._updateParameters.stationary ? e.moving = !1 : (e.moving = !0, e.moveStart()));
        }, e.prototype._detachLayerView = function (e) {
          e.attached && (e.detach(), e.attached = !1, e.moving = !1);
        }, e;
      }();

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dMapViewConstraintsJs(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/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../layers/support/LOD */
    "./node_modules/arcgis-js-api/layers/support/LOD.js"), __webpack_require__(
    /*! ./constraints/RotationConstraint */
    "./node_modules/arcgis-js-api/views/2d/constraints/RotationConstraint.js"), __webpack_require__(
    /*! ./constraints/ZoomConstraint */
    "./node_modules/arcgis-js-api/views/2d/constraints/ZoomConstraint.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, e, t, r, n, i, p, a, s) {
      return function (o) {
        function e() {
          var e = null !== o && o.apply(this, arguments) || this;
          return e.lods = null, e.minScale = 0, e.maxScale = 0, e.minZoom = -1, e.maxZoom = -1, e.rotationEnabled = !0, e.snapToZoom = !0, e;
        }

        return t(e, o), e.prototype.initialize = function () {
          this.watch("_zoom, _rotation", this.emit.bind(this, "update"), !0);
        }, e.prototype.destroy = function () {
          this.view = null, this._set("_zoom", null), this._set("_rotation", null);
        }, Object.defineProperty(e.prototype, "_rotation", {
          get: function get() {
            return new a({
              rotationEnabled: this.rotationEnabled
            });
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "_defaultLODs", {
          get: function get() {
            var o = this.get("view.defaultsFromMap.tileInfo"),
                e = this.get("view.spatialReference");
            return o && e && o.spatialReference.equals(e) ? o.lods : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "_zoom", {
          get: function get() {
            return new s({
              lods: this.lods || this._defaultLODs,
              minZoom: this.minZoom,
              maxZoom: this.maxZoom,
              minScale: this.minScale,
              maxScale: this.maxScale,
              snapToZoom: this.snapToZoom
            });
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.canZoomInTo = function (o) {
          var e = this.effectiveMaxScale;
          return 0 === e || o >= e;
        }, e.prototype.canZoomOutTo = function (o) {
          var e = this.effectiveMinScale;
          return 0 === e || o <= e;
        }, e.prototype.constrain = function (o, e) {
          return this._zoom.constrain(o, e), this._rotation.constrain(o, e), o;
        }, e.prototype.fit = function (o) {
          return this._zoom.fit(o);
        }, e.prototype.zoomToScale = function (o) {
          return this._zoom.zoomToScale(o);
        }, e.prototype.scaleToZoom = function (o) {
          return this._zoom.scaleToZoom(o);
        }, e.prototype.snapScale = function (o) {
          return this._zoom.snapToClosestScale(o);
        }, e.prototype.snapToNextScale = function (o) {
          return this._zoom.snapToNextScale(o);
        }, e.prototype.snapToPreviousScale = function (o) {
          return this._zoom.snapToPreviousScale(o);
        }, r([i.property({
          readOnly: !0,
          aliasOf: "_zoom.effectiveLODs"
        })], e.prototype, "effectiveLODs", void 0), r([i.property({
          readOnly: !0,
          aliasOf: "_zoom.effectiveMinScale"
        })], e.prototype, "effectiveMinScale", void 0), r([i.property({
          readOnly: !0,
          aliasOf: "_zoom.effectiveMaxScale"
        })], e.prototype, "effectiveMaxScale", void 0), r([i.property({
          readOnly: !0,
          aliasOf: "_zoom.effectiveMinZoom"
        })], e.prototype, "effectiveMinZoom", void 0), r([i.property({
          readOnly: !0,
          aliasOf: "_zoom.effectiveMaxZoom"
        })], e.prototype, "effectiveMaxZoom", void 0), r([i.property({
          type: [p]
        })], e.prototype, "lods", void 0), r([i.property()], e.prototype, "minScale", void 0), r([i.property()], e.prototype, "maxScale", void 0), r([i.property()], e.prototype, "minZoom", void 0), r([i.property()], e.prototype, "maxZoom", void 0), r([i.property()], e.prototype, "rotationEnabled", void 0), r([i.property()], e.prototype, "snapToZoom", void 0), r([i.property()], e.prototype, "view", void 0), r([i.property({
          type: a,
          dependsOn: ["rotationEnabled"]
        })], e.prototype, "_rotation", null), r([i.property({
          dependsOn: ["view.spatialReference", "view.defaultsFromMap.tileInfo"]
        })], e.prototype, "_defaultLODs", null), r([i.property({
          readOnly: !0,
          type: s,
          dependsOn: ["lods", "minZoom", "maxZoom", "minScale", "maxScale", "snapToZoom", "_defaultLODs"]
        })], e.prototype, "_zoom", null), e = r([i.subclass("esri.views.2d.MapViewConstraints")], e);
      }(i.declared(n.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dPaddedViewStateJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.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/vec2f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js"), __webpack_require__(
    /*! ./viewpointUtils */
    "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js"), __webpack_require__(
    /*! ./ViewState */
    "./node_modules/arcgis-js-api/views/2d/ViewState.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, p, a, c, d) {
      var s = function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.left = 0, t.top = 0, t.right = 0, t.bottom = 0, t;
        }

        return r(t, e), o([n.property()], t.prototype, "left", void 0), o([n.property()], t.prototype, "top", void 0), o([n.property()], t.prototype, "right", void 0), o([n.property()], t.prototype, "bottom", void 0), t = o([n.subclass("esri.views.2d.PaddedViewState.Padding")], t);
      }(n.declared(i));

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

          var o = e.apply(this, t) || this;
          return o.content = new d(), o._updateContent = function () {
            var e = a.vec2f64.create();
            return function () {
              var t = o._get("size"),
                  r = o._get("padding");

              if (t && r) {
                var i = o.content;
                p.vec2.set(e, r.left + r.right, r.top + r.bottom), p.vec2.subtract(e, t, e), p.vec2.copy(i.size, e);
                var n = i.viewpoint;
                n && (o.viewpoint = n);
              }
            };
          }(), o.watch(["size", "padding"], o._updateContent, !0), o.padding = new s(), o.size = [0, 0], o;
        }

        return r(t, e), Object.defineProperty(t.prototype, "padding", {
          set: function set(e) {
            this._set("padding", e || new s());
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "viewpoint", {
          set: function set(e) {
            if (e) {
              var t = e.clone();
              this.content.viewpoint = e, c.addPadding(t, e, this._get("size"), this._get("padding"));
              var r = this._viewpoint2D,
                  o = t.targetGeometry;
              r.center[0] = o.x, r.center[1] = o.y, r.rotation = t.rotation, r.scale = t.scale, r.spatialReference = o.spatialReference, this._update();
            }
          },
          enumerable: !0,
          configurable: !0
        }), o([n.property()], t.prototype, "content", void 0), o([n.property({
          type: s
        })], t.prototype, "padding", null), o([n.property()], t.prototype, "viewpoint", null), t = o([n.subclass("esri.views.2d.PaddedViewState")], t);
      }(n.declared(d));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dViewStateJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../Viewpoint */
    "./node_modules/arcgis-js-api/Viewpoint.js"), __webpack_require__(
    /*! ../../core/JSONSupport */
    "./node_modules/arcgis-js-api/core/JSONSupport.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/common.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat2df64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df64.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat3f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/vec2f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/types/vec2 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/types/vec2.js"), __webpack_require__(
    /*! ./viewpointUtils */
    "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, r, o, a, s, n, p, c, l, f, m, h, v, d, u, y, w) {
      var x = [0, 0];
      return function (t) {
        function e() {
          for (var e = [], i = 0; i < arguments.length; i++) e[i] = arguments[i];

          var r = t.apply(this, e) || this;
          return r._viewpoint2D = {
            center: u.vec2f64.create(),
            rotation: 0,
            scale: 0,
            spatialReference: null
          }, r.center = [0, 0], r.extent = new o.Extent(), r.id = 0, r.inverseTransform = f.mat2df64.create(), r.resolution = 0, r.rotation = 0, r.scale = 0, r.transform = f.mat2df64.create(), r.transformNoRotation = f.mat2df64.create(), r.displayMat3 = h.mat3f32.create(), r.displayViewMat3 = h.mat3f32.create(), r.viewMat3 = h.mat3f32.create(), r.viewMat2d = l.mat2df32.create(), r.worldScreenWidth = 0, r.size = [0, 0], r;
        }

        i(e, t), s = e, Object.defineProperty(e.prototype, "pixelRatio", {
          set: function set(t) {
            this._set("pixelRatio", t), this._update();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "size", {
          set: function set(t) {
            this._set("size", t), this._update();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "viewpoint", {
          set: function set(t) {
            if (t) {
              var e = this._viewpoint2D,
                  i = t.targetGeometry;
              e.center[0] = i.x, e.center[1] = i.y, e.rotation = t.rotation, e.scale = t.scale, e.spatialReference = i.spatialReference;
            }

            this._update();
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.copy = function (t) {
          var e = this.size,
              i = this.viewpoint;
          return i && e ? (this.viewpoint = w.copy(i, t.viewpoint), this._set("size", v.vec2.copy(e, t.size))) : (this.viewpoint = t.viewpoint.clone(), this._set("size", [t.size[0], t.size[1]])), this._set("pixelRatio", t.pixelRatio), this;
        }, e.prototype.clone = function () {
          return new s({
            size: this.size,
            viewpoint: this.viewpoint.clone(),
            pixelRatio: this.pixelRatio
          });
        }, e.prototype.toMap = function (t, e, i) {
          return y.isVec2(e) ? v.vec2.transformMat2d(t, e, this.inverseTransform) : (x[0] = e, x[1] = i, v.vec2.transformMat2d(t, x, this.inverseTransform));
        }, e.prototype.toScreen = function (t, e, i) {
          return y.isVec2(e) ? v.vec2.transformMat2d(t, e, this.transform) : (x[0] = e, x[1] = i, v.vec2.transformMat2d(t, x, this.transform));
        }, e.prototype.toScreenNoRotation = function (t, e, i) {
          return y.isVec2(e) ? v.vec2.transformMat2d(t, e, this.transformNoRotation) : (x[0] = e, x[1] = i, v.vec2.transformMat2d(t, x, this.transformNoRotation));
        }, e.prototype.pixelSizeAt = function (t) {
          var e = this.viewpoint;
          return w.pixelSizeAt(t, e);
        }, e.prototype.getScreenTransform = function (t, e) {
          var i = this._viewpoint2D.center,
              r = this._get("pixelRatio") || 1,
              o = this._get("size");

          return w.getMatrix(t, i, o, e, 0, r), t;
        }, e.prototype._update = function () {
          var t = this._viewpoint2D,
              e = t.center,
              i = t.spatialReference,
              r = t.scale,
              s = t.rotation,
              n = this._get("pixelRatio") || 1,
              l = this._get("size");

          this._set("id", this.id + 1);

          var f = new a({
            targetGeometry: new o.Point(e[0], e[1], i),
            scale: r,
            rotation: s
          });

          if (this._set("viewpoint", f), l && i && r) {
            this.resolution = w.getResolution(f), this.rotation = s, this.scale = r, this.spatialReference = i, v.vec2.copy(this.center, e);
            var h = 0 !== l[0] ? 2 / l[0] : 0,
                u = 0 !== l[1] ? -2 / l[1] : 0;
            m.mat3.set(this.displayMat3, h, 0, 0, 0, u, 0, -1, 1, 1);
            var y = m.mat3.identity(this.viewMat3),
                x = d.vec2f32.fromValues(l[0] / 2, l[1] / 2),
                g = d.vec2f32.fromValues(-l[0] / 2, -l[1] / 2),
                R = p.common.toRadian(s);
            m.mat3.translate(y, y, x), m.mat3.rotate(y, y, R), m.mat3.translate(y, y, g), m.mat3.multiply(this.displayViewMat3, this.displayMat3, y);
            var b = c.mat2d.identity(this.viewMat2d);
            return c.mat2d.translate(b, b, x), c.mat2d.rotate(b, b, R), c.mat2d.translate(b, b, g), w.getExtent(this.extent, f, l), w.getTransform(this.transform, f, l, n), c.mat2d.invert(this.inverseTransform, this.transform), w.getTransformNoRotation(this.transformNoRotation, f, l, n), this.worldScreenWidth = w.getWorldScreenWidth(this.spatialReference, this.resolution), this;
          }
        };
        var s;
        return r([n.property({
          readOnly: !0
        })], e.prototype, "id", void 0), r([n.property({
          value: 1,
          json: {
            write: !0
          }
        })], e.prototype, "pixelRatio", null), r([n.property({
          json: {
            write: !0
          }
        })], e.prototype, "size", null), r([n.property({
          type: a,
          json: {
            write: !0
          }
        })], e.prototype, "viewpoint", null), e = s = r([n.subclass("esri.views.2d.ViewState")], e);
      }(n.declared(s.JSONSupport));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/arcade/utils.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/arcade/utils.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dArcadeUtilsJs(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__(
    /*! @dojo/framework/shim/WeakMap */
    "./node_modules/@dojo/framework/shim/WeakMap.mjs"), __webpack_require__(
    /*! ../../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../geometry/support/quantizationUtils */
    "./node_modules/arcgis-js-api/geometry/support/quantizationUtils.js"), __webpack_require__(
    /*! ../../../layers/graphics/featureConversionUtils */
    "./node_modules/arcgis-js-api/layers/graphics/featureConversionUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, n, o, u, i) {
      function c(e, r, a, n, o) {
        var u = n.geometryType,
            c = n.hasZ,
            s = n.hasM,
            y = e.referencesGeometry() ? o ? l(e, i.convertToFeature(r, u, c, s), u, o) : i.convertToFeature(r, u, c, s) : r,
            d = e.repurposeFeature(y);

        try {
          return e.evaluate(t({}, a, {
            $feature: d
          }));
        } catch (e) {
          return f.warn("Feature arcade evaluation failed:", e), null;
        }
      }

      function s(e, r, a, n, o) {
        var u = e.referencesGeometry() && o,
            i = u ? l(e, r, n, o) : r,
            c = e.repurposeFeature(i);

        try {
          return e.evaluate(t({}, a, {
            $feature: c
          }));
        } catch (e) {
          return f.warn("Feature arcade evaluation failed:", e), null;
        }
      }

      function l(e, r, a, n) {
        var o = n.transform,
            u = n.hasZ,
            i = n.hasM;
        d.has(e) || d.set(e, y(a));
        var c = d.get(e)(r.geometry, o, u, i);
        return t({}, r, {
          geometry: c
        });
      }

      function y(e) {
        var r = {};

        switch (e) {
          case "esriGeometryPoint":
            return function (e, t, a, n) {
              return u.hydratePoint(t, r, e, a, n);
            };

          case "esriGeometryPolygon":
            return function (e, t, a, n) {
              return u.hydratePolygon(t, r, e, a, n);
            };

          case "esriGeometryPolyline":
            return function (e, t, a, n) {
              return u.hydratePolyline(t, r, e, a, n);
            };

          case "esriGeometryMultipoint":
            return function (e, t, a, n) {
              return u.hydrateMultipoint(t, r, e, a, n);
            };

          default:
            return f.error(new n("mapview-arcade", "Unable to handle geometryType: " + e)), function (e) {
              return e;
            };
        }
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var f = o.getLogger("esri.views.2d.support.arcadeOnDemand");
      r.callWithOptimizedFeature = c, r.callWithFeature = s;
      var d = new a["default"]();
      r.createHydrateFactory = y;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/constraints/RotationConstraint.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/constraints/RotationConstraint.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dConstraintsRotationConstraintJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r, n, a) {
      return function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.enabled = !0, e.rotationEnabled = !0, e;
        }

        o(e, t), n = e, e.prototype.constrain = function (t, e) {
          return this.enabled && e ? (this.rotationEnabled || (t.rotation = e.rotation), t) : t;
        }, e.prototype.clone = function () {
          return new n({
            enabled: this.enabled,
            rotationEnabled: this.rotationEnabled
          });
        };
        var n;
        return r([a.property()], e.prototype, "enabled", void 0), r([a.property()], e.prototype, "rotationEnabled", void 0), e = n = r([a.subclass("esri.views.2d.constraints.RotationConstraint")], e);
      }(a.declared(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/constraints/ZoomConstraint.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/constraints/ZoomConstraint.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dConstraintsZoomConstraintJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../../layers/support/LOD */
    "./node_modules/arcgis-js-api/layers/support/LOD.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, a, s) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._lodByScale = {}, o._scales = [], o.effectiveLODs = null, o.effectiveMinZoom = -1, o.effectiveMaxZoom = -1, o.effectiveMinScale = 0, o.effectiveMaxScale = 0, o.lods = null, o.minZoom = -1, o.maxZoom = -1, o.minScale = 0, o.maxScale = 0, o.snapToZoom = !0, o;
        }

        o(t, e), i = t, t.prototype.initialize = function () {
          var e,
              t,
              o = this,
              r = this,
              i = r.lods,
              a = r.minScale,
              s = r.maxScale,
              c = r.minZoom,
              n = r.maxZoom,
              l = -1,
              f = -1,
              p = !1,
              h = !1;
          if (0 !== a && 0 !== s && a < s && (e = [s, a], a = e[0], s = e[1]), !i || !i.length) return this._set("effectiveMinScale", a), void this._set("effectiveMaxScale", s);
          i = i.map(function (e) {
            return e.clone();
          }), i.sort(function (e, t) {
            return t.scale - e.scale;
          }), i.forEach(function (e, t) {
            return e.level = t;
          });

          for (var v, m = 0, u = i; m < u.length; m++) {
            var y = u[m];
            !p && a > 0 && a >= y.scale && (l = y.level, p = !0), !h && s > 0 && s >= y.scale && (f = v ? v.level : -1, h = !0), v = y;
          }

          -1 === c && (c = 0 === a ? 0 : l), -1 === n && (n = 0 === s ? i.length - 1 : f), c = Math.max(c, 0), c = Math.min(c, i.length - 1), n = Math.max(n, 0), n = Math.min(n, i.length - 1), c > n && (t = [n, c], c = t[0], n = t[1]), a = i[c].scale, s = i[n].scale, i.splice(0, c), i.splice(n - c + 1, i.length), i.forEach(function (e, t) {
            o._lodByScale[e.scale] = e, o._scales[t] = e.scale;
          }), this._set("effectiveLODs", i), this._set("effectiveMinZoom", c), this._set("effectiveMaxZoom", n), this._set("effectiveMinScale", a), this._set("effectiveMaxScale", s);
        }, t.prototype.constrain = function (e, t) {
          if (t && e.scale === t.scale) return e;
          var o = this.effectiveMinScale,
              r = this.effectiveMaxScale,
              i = e.targetGeometry,
              a = t && t.targetGeometry,
              s = 0 !== r && e.scale < r,
              c = 0 !== o && e.scale > o;

          if (s || c) {
            var n = c ? o : r;

            if (a) {
              var l = (n - t.scale) / (e.scale - t.scale);
              i.x = a.x + (i.x - a.x) * l, i.y = a.y + (i.y - a.y) * l;
            }

            e.scale = n;
          }

          return this.snapToZoom && this.effectiveLODs && (e.scale = this._getClosestScale(e.scale)), e;
        }, t.prototype.fit = function (e) {
          if (!this.effectiveLODs || !this.snapToZoom) return this.constrain(e, null);
          var t = this.scaleToZoom(e.scale),
              o = Math.abs(t - Math.floor(t));
          return e.scale = this.zoomToScale(o > .99 ? Math.round(t) : Math.floor(t)), e;
        }, t.prototype.zoomToScale = function (e) {
          if (!this.effectiveLODs) return 0;
          e -= this.effectiveMinZoom, e = Math.max(0, e);
          var t = this._scales;
          if (e <= 0) return t[0];
          if (e >= t.length) return t[t.length - 1];
          var o = Math.round(e - .5),
              r = Math.round(e);
          return t[r] + (r - e) * (t[o] - t[r]);
        }, t.prototype.scaleToZoom = function (e) {
          if (!this.effectiveLODs) return -1;
          var t,
              o,
              r = this._scales;
          if (e >= r[0]) return this.effectiveMinZoom;
          if (e <= r[r.length - 1]) return this.effectiveMaxZoom;

          for (var i = 0; i < r.length - 1; i++) {
            if (t = r[i], (o = r[i + 1]) === e) {
              var a = i + this.effectiveMinZoom;
              return a + 1;
            }

            if (t > e && o < e) {
              var a = i + this.effectiveMinZoom;
              return a + 1 - (e - o) / (t - o);
            }
          }
        }, t.prototype.snapToClosestScale = function (e) {
          if (!this.effectiveLODs) return e;
          var t = this.scaleToZoom(e);
          return this.zoomToScale(Math.round(t));
        }, t.prototype.snapToNextScale = function (e, t) {
          if (void 0 === t && (t = .5), !this.effectiveLODs) return e * t;
          var o = Math.round(this.scaleToZoom(e));
          return this.zoomToScale(o + 1);
        }, t.prototype.snapToPreviousScale = function (e, t) {
          if (void 0 === t && (t = 2), !this.effectiveLODs) return e * t;
          var o = Math.round(this.scaleToZoom(e));
          return this.zoomToScale(o - 1);
        }, t.prototype.clone = function () {
          return new i({
            lods: this.lods,
            minZoom: this.minZoom,
            maxZoom: this.maxZoom,
            minScale: this.minScale,
            maxScale: this.maxScale
          });
        }, t.prototype._getClosestScale = function (e) {
          return this._lodByScale[e] ? this._lodByScale[e].scale : (e = this._scales.reduce(function (t, o) {
            return Math.abs(o - e) <= Math.abs(t - e) ? o : t;
          }, this._scales[0]), this._lodByScale[e].scale);
        };
        var i;
        return r([a.property({
          readOnly: !0
        })], t.prototype, "effectiveLODs", void 0), r([a.property({
          readOnly: !0
        })], t.prototype, "effectiveMinZoom", void 0), r([a.property({
          readOnly: !0
        })], t.prototype, "effectiveMaxZoom", void 0), r([a.property({
          readOnly: !0
        })], t.prototype, "effectiveMinScale", void 0), r([a.property({
          readOnly: !0
        })], t.prototype, "effectiveMaxScale", void 0), r([a.property({
          type: [s]
        })], t.prototype, "lods", void 0), r([a.property()], t.prototype, "minZoom", void 0), r([a.property()], t.prototype, "maxZoom", void 0), r([a.property()], t.prototype, "minScale", void 0), r([a.property()], t.prototype, "maxScale", void 0), r([a.property()], t.prototype, "snapToZoom", void 0), t = i = r([a.subclass("esri.views.2d.constraints.ZoomConstraint")], t);
      }(a.declared(i));
    }.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.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineJs(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__(
    /*! ./engine/Bitmap */
    "./node_modules/arcgis-js-api/views/2d/engine/Bitmap.js"), __webpack_require__(
    /*! ./engine/BitmapContainer */
    "./node_modules/arcgis-js-api/views/2d/engine/BitmapContainer.js"), __webpack_require__(
    /*! ./engine/BitmapTile */
    "./node_modules/arcgis-js-api/views/2d/engine/BitmapTile.js"), __webpack_require__(
    /*! ./engine/Container */
    "./node_modules/arcgis-js-api/views/2d/engine/Container.js"), __webpack_require__(
    /*! ./engine/webgl/TileContainer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileContainer.js"), __webpack_require__(
    /*! ./engine/DisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js"), __webpack_require__(
    /*! ./engine/Stage */
    "./node_modules/arcgis-js-api/views/2d/engine/Stage.js"), __webpack_require__(
    /*! ./engine/webgl/AttributeStoreView */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/AttributeStoreView.js"), __webpack_require__(
    /*! ./engine/webgl/collisions/CollisionGrid */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionGrid.js"), __webpack_require__(
    /*! ./engine/webgl/collisions/CollisionEngine */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionEngine.js"), __webpack_require__(
    /*! ./engine/webgl/collisions/LayerViewSorter */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/LayerViewSorter.js"), __webpack_require__(
    /*! ./engine/webgl/Geometry */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Geometry.js"), __webpack_require__(
    /*! ./engine/webgl/alignmentUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/alignmentUtils.js"), __webpack_require__(
    /*! ./engine/webgl/color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ./engine/webgl/definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./engine/webgl/enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./engine/webgl/fontUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/fontUtils.js"), __webpack_require__(
    /*! ./engine/webgl/Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/BrushBitmap */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/BrushBitmap.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/BrushClip */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/BrushClip.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushInfo */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushInfo.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushStencil */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushStencil.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushVTLBackground */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLBackground.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushVTLCircle */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLCircle.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushVTLFill */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLFill.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushVTLLine */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLLine.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLBrushVTLSymbol */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLGeometryBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLGeometryBrushFill */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushFill.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLGeometryBrushLabel */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushLabel.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLGeometryBrushLine */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushLine.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLGeometryBrushMarker */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushMarker.js"), __webpack_require__(
    /*! ./engine/webgl/brushes/WGLGeometryBrushText */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushText.js"), __webpack_require__(
    /*! ./engine/webgl/util/debug */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/debug.js"), __webpack_require__(
    /*! ./engine/webgl/TileClipper */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileClipper.js"), __webpack_require__(
    /*! ./engine/webgl/TurboLine */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TurboLine.js"), __webpack_require__(
    /*! ./engine/webgl/mesh/factories/matcherUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/matcherUtils.js"), __webpack_require__(
    /*! ./engine/webgl/mesh/factories/WGLMeshFactory */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/WGLMeshFactory.js"), __webpack_require__(
    /*! ./engine/webgl/mesh/MeshData */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/MeshData.js"), __webpack_require__(
    /*! ./engine/webgl/mesh/templates/WGLTemplateStore */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTemplateStore.js"), __webpack_require__(
    /*! ./engine/webgl/Painter */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Painter.js"), __webpack_require__(
    /*! ./engine/webgl/TextShaping */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShaping.js"), __webpack_require__(
    /*! ./engine/webgl/TextShapingNew */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShapingNew.js"), __webpack_require__(
    /*! ./engine/webgl/TileData */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileData.js"), __webpack_require__(
    /*! ./engine/webgl/util/BidiText */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/BidiText.js"), __webpack_require__(
    /*! ./engine/webgl/util/Matcher */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Matcher.js"), __webpack_require__(
    /*! ./engine/webgl/util/vvFlagUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/vvFlagUtils.js"), __webpack_require__(
    /*! ./engine/webgl/visualVariablesUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/visualVariablesUtils.js"), __webpack_require__(
    /*! ./engine/webgl/WGLRendererInfo */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLRendererInfo.js"), __webpack_require__(
    /*! ./engine/webgl/WGLTile */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLTile.js"), __webpack_require__(
    /*! ./engine/webgl/BitBlitRenderer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/BitBlitRenderer.js"), __webpack_require__(
    /*! ./engine/webgl/shaders/MagnifierPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/MagnifierPrograms.js"), __webpack_require__(
    /*! ../../symbols/cim/CIMSymbolHelper */
    "./node_modules/arcgis-js-api/symbols/cim/CIMSymbolHelper.js"), __webpack_require__(
    /*! ./engine/webgl/Rect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js"), __webpack_require__(
    /*! ./engine/webgl/mesh/templates/util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js"), __webpack_require__(
    /*! ./engine/webgl/painter/RenderPass */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/painter/RenderPass.js"), __webpack_require__(
    /*! ./engine/webgl/TiledDisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TiledDisplayObject.js"), __webpack_require__(
    /*! ./engine/BitmapTileContainer */
    "./node_modules/arcgis-js-api/views/2d/engine/BitmapTileContainer.js"), __webpack_require__(
    /*! ./engine/LevelDependentSizeVariable */
    "./node_modules/arcgis-js-api/views/2d/engine/LevelDependentSizeVariable.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, n, l, t, r, g, a, s, b, o, u, h, L, w, p, T, m, d, B, G, c, f, S, V, y, C, W, M, D, x, F, P, O, R, U, I, j, v, k, z, A, E, H, N, _, q, J, K, Q, X, Y, Z, $, ee, ie, ne, le, te, re, ge) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      }), i.Bitmap = n.Bitmap, i.BitmapContainer = l.BitmapContainer, i.BitmapTile = t.BitmapTile, i.Container = r.Container, i.TileContainer = g["default"], i.DisplayObject = a.DisplayObject, i.Stage = s.Stage, i.AttributeStoreView = b.AttributeStoreView, i.CollisionGrid = o.CollisionGrid, i.CollisionEngine = u.CollisionEngine, i.LayerViewSorter = h.LayerViewSorter, i.Point = L.Point, i.alignmentUtils = w, i.color = p, i.definitions = T, i.enums = m, i.fontUtils = d, i.Utils = B, i.debug = U, i.TileClipper = I.TileClipper, i.SimpleBuilder = I.SimpleBuilder, i.tessellate = j.tessellate, i.TessellationState = j.TessellationState, i.splitVertex = j.splitVertex, i.createMatcher = v.createMatcher, i.WGLMeshFactory = k.WGLMeshFactory, i.MeshData = z.MeshData, i.WGLTemplateStore = A.WGLTemplateStore, i.Painter = E["default"], i.PainterOptions = E.PainterOptions, i.TextShaping = H.TextShaping, i.TextShapingNew = N.TextShaping, i.TileData = _.TileData, i.bidiText = q.bidiText, i.FeatureMatcher = J.FeatureMatcher, i.getVVFlags = K.getVVFlags, i.getTypeOfSizeVisualVariable = Q.getTypeOfSizeVisualVariable, i.WGLRendererInfo = X.WGLRendererInfo, i.WGLTile = Y.WGLTile, i.BitBlitRenderer = Z.BitBlitRenderer, i.createMagnifierProgram = $.createMagnifierProgram, i.magnifier = $.magnifier, i.CIMSymbolHelper = ee.CIMSymbolHelper, i.Rect = ie["default"], i.getLimitCosine = ne.getLimitCosine;
      !function (e) {
        e.Geometry = D["default"], e.Marker = O["default"], e.Line = P["default"], e.Fill = x["default"], e.Text = R["default"], e.Label = F["default"], e.Clip = c["default"], e.Stencil = S["default"], e.Bitmap = G["default"], e.TileInfo = f["default"], e.VTLBackground = V.WGLBrushVTLBackground, e.VTLFill = C.WGLBrushVTLFill, e.VTLLine = W.WGLBrushVTLLine, e.VTLCircle = y.WGLBrushVTLCircle, e.VTLSymbol = M.WGLBrushVTLSymbol;
      }(i.brushes || (i.brushes = {})), i.RenderPass = le["default"], i.TiledDisplayObject = te.TiledDisplayObject, i.BitmapTileContainer = re.BitmapTileContainer, i.LevelDependentSizeVariable = ge.LevelDependentSizeVariable;
    }.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/Bitmap.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/Bitmap.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineBitmapJs(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/libs/gl-matrix-2/mat3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3.js"), __webpack_require__(
    /*! ../../../core/libs/gl-matrix-2/mat3f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js"), __webpack_require__(
    /*! ../../../core/libs/gl-matrix-2/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./DisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js"), __webpack_require__(
    /*! ./ImageryBitmapSource */
    "./node_modules/arcgis-js-api/views/2d/engine/ImageryBitmapSource.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, r, s, n, o, u, a) {
      function h(t) {
        return t && "render" in t;
      }

      function c(t) {
        return t && !("render" in t);
      }

      function l(t) {
        var e = document.createElement("canvas");
        return e.width = t.width, e.height = t.height, t.render(e.getContext("2d")), e;
      }

      function d(t, e, i) {
        var r = {
          target: 3553,
          pixelFormat: 6408,
          internalFormat: 6408,
          dataType: 5121,
          wrapMode: 33071
        };
        return e && i && (r.width = e, r.height = i), new o.Texture(t, r);
      }

      function f(t) {
        return t.updateTexture();
      }

      function p(t) {
        g.has(t) && (m.splice(m.indexOf(t), 1), g["delete"](t));
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var m = (o.enums.TextureType, o.enums.PixelFormat, o.enums.PixelType, o.enums.TextureWrapMode, []),
          g = new Set(),
          x = function (t) {
        function e(e, i) {
          void 0 === e && (e = null), void 0 === i && (i = function i() {
            return null;
          });
          var r = t.call(this) || this;
          return r.stencilRef = 0, r.coordScale = [1, 1], r._height = void 0, r.pixelRatio = 1, r.resolution = 0, r.rotation = 0, r._source = null, r._width = void 0, r.x = 0, r.y = 0, r.transforms = {
            dvs: s.mat3f32.create()
          }, r.source = e, r.requestRender = i, r;
        }

        return i(e, t), Object.defineProperty(e.prototype, "isSourceScaled", {
          get: function get() {
            return this.width !== this.sourceWidth || this.height !== this.sourceHeight;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "height", {
          get: function get() {
            return void 0 !== this._height ? this._height : this.sourceHeight;
          },
          set: function set(t) {
            this._height = t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "source", {
          get: function get() {
            return this._source;
          },
          set: function set(t) {
            this._source = t, this.invalidateTexture();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "sourceHeight", {
          get: function get() {
            return this._source instanceof HTMLImageElement ? this._source.naturalHeight : this._source.height;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "sourceWidth", {
          get: function get() {
            return this._source instanceof HTMLImageElement ? this._source.naturalWidth : this._source.width;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "width", {
          get: function get() {
            return void 0 !== this._width ? this._width : this.sourceWidth;
          },
          set: function set(t) {
            this._width = t;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.attach = function () {
          return f(this), !0;
        }, e.prototype.detach = function () {
          this._texture.dispose(), this._texture = null, p(this);
        }, e.prototype.invalidateTexture = function () {
          this.attached ? f(this) : p(this);
        }, e.prototype.setTransform = function (t) {
          var e = r.mat3.identity(this.transforms.dvs),
              i = t.toScreenNoRotation([0, 0], this.x, this.y),
              s = i[0],
              o = i[1],
              u = this.resolution / this.pixelRatio / t.resolution,
              a = u * this.width,
              h = u * this.height,
              c = Math.PI * this.rotation / 180;
          r.mat3.translate(e, e, n.vec2f32.fromValues(s, o)), r.mat3.translate(e, e, n.vec2f32.fromValues(a / 2, h / 2)), r.mat3.rotate(e, e, -c), r.mat3.translate(e, e, n.vec2f32.fromValues(-a / 2, -h / 2)), r.mat3.scaleByVec2(e, e, n.vec2f32.fromValues(a, h)), r.mat3.multiply(this.transforms.dvs, t.displayViewMat3, e);
        }, e.prototype.updateTexture = function () {
          this._texture || (this.source ? this._texture = d(this.stage.context, this.sourceWidth, this.sourceHeight) : this._texture = d(this.stage.context));
          var t = this.source;
          if (!t) return void this._texture.setData(null);
          if (this._texture.resize(this.sourceWidth, this.sourceHeight), h(t)) {
            if (t instanceof a["default"]) {
              var e = t.getRenderedRasterPixels();

              this._texture.setData(e.renderedRasterPixels);
            } else this._texture.setData(l(t));
          } else c(t) && this._texture.setData(t);
          this.ready(), this.requestRender();
        }, e.prototype.setSamplingProfile = function (t) {
          this._texture && (t.mips && !this._texture.descriptor.hasMipmap && this._texture.generateMipmap(), this._texture.setSamplingMode(t.samplingMode));
        }, e.prototype.bind = function (t) {
          if (this._texture) {
            this.stage.context.bindTexture(this._texture, t);
          }
        }, e;
      }(u.DisplayObject);

      e.Bitmap = x;
    }.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/BitmapContainer.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/BitmapContainer.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineBitmapContainerJs(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__(
    /*! ../engine */
    "./node_modules/arcgis-js-api/views/2d/engine.js"), __webpack_require__(
    /*! ./webgl/WGLContainer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, s, p) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return t(r, e), r.prototype.prepareRenderPasses = function (r) {
          var t = this,
              n = r.registerRenderPass({
            name: "bitmap",
            brushes: [s.brushes.Bitmap],
            target: function target() {
              return t.children;
            }
          });
          return e.prototype.prepareRenderPasses.call(this, r).concat([n]);
        }, r;
      }(p["default"]);

      r.BitmapContainer = a;
    }.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/BitmapTile.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/BitmapTile.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineBitmapTileJs(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__(
    /*! ./Bitmap */
    "./node_modules/arcgis-js-api/views/2d/engine/Bitmap.js"), __webpack_require__(
    /*! ./webgl/TiledDisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TiledDisplayObject.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, r, a, n) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var o = function (t) {
        function e(e, i, r, n) {
          void 0 === n && (n = null);
          var o = t.call(this, e, i, r, r) || this,
              s = o.requestRender.bind(o);
          return o.bitmap = new a.Bitmap(n, s), o.bitmap.coordScale = r, o.bitmap.once("isReady", function () {
            return o.ready();
          }), o;
        }

        return i(e, t), Object.defineProperty(e.prototype, "stencilRef", {
          get: function get() {
            return this.bitmap.stencilRef;
          },
          set: function set(t) {
            this.bitmap.stencilRef = t;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.setTransform = function (e, i) {
          t.prototype.setTransform.call(this, e, i), this.bitmap.transforms.dvs = this.transforms.dvs;
        }, e.prototype.attach = function () {
          this.bitmap.stage = this.stage;
          var t = this.bitmap.attach();
          return t && (this.bitmap.attached = !0), t;
        }, e.prototype.detach = function () {
          this.bitmap.detach();
        }, e;
      }(n.TiledDisplayObject);

      e.BitmapTile = o;
    }.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/BitmapTileContainer.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/BitmapTileContainer.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineBitmapTileContainerJs(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/support/aaBoundingRect */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"), __webpack_require__(
    /*! ../engine */
    "./node_modules/arcgis-js-api/views/2d/engine.js"), __webpack_require__(
    /*! ./BitmapTile */
    "./node_modules/arcgis-js-api/views/2d/engine/BitmapTile.js"), __webpack_require__(
    /*! ./webgl/enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./webgl/TileContainer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileContainer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, o, a, s, p) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var u = function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return r(t, e), t.prototype.createTile = function (e) {
          var t = this._tileInfoView.getTileBounds(i.create(), e);

          return new a.BitmapTile(e, t, this._tileInfoView.tileInfo.size);
        }, t.prototype.destroyTile = function () {}, t.prototype.prepareRenderPasses = function (t) {
          var r = this,
              n = t.registerRenderPass({
            name: "bitmap (tile)",
            brushes: [o.brushes.Bitmap],
            target: function target() {
              return r.children.map(function (e) {
                return e.bitmap;
              });
            },
            drawPhase: s.WGLDrawPhase.MAP
          });
          return e.prototype.prepareRenderPasses.call(this, t).concat([n]);
        }, t.prototype.doRender = function (t) {
          this.visible && t.drawPhase === s.WGLDrawPhase.MAP && e.prototype.doRender.call(this, t);
        }, t;
      }(p["default"]);

      t.BitmapTileContainer = 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/engine/Container.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/Container.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineContainerJs(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__(
    /*! ./DisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, n) {
      function h(t, e) {
        t["delete"](e);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var r = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._childrenSet = new Set(), e._childrenToAttach = [], e._childrenToDetach = [], e.children = [], e;
        }

        return i(e, t), Object.defineProperty(e.prototype, "numChildren", {
          get: function get() {
            return this.children.length;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.detach = function () {
          for (var t = this.children.concat(this._childrenToDetach), e = 0, i = t; e < i.length; e++) {
            var n = i[e];
            n.attached && (this.detachChild(n), n.attached = !1, n.parent = null);
          }
        }, e.prototype.doRender = function (t) {
          var e = t.globalOpacity;
          t.globalOpacity *= this.opacity, this.attachChildren(), this.detachChildren(), this.renderChildren(t), t.globalOpacity = e;
        }, e.prototype.addChild = function (t) {
          return this.addChildAt(t, this.children.length);
        }, e.prototype.addChildAt = function (t, e) {
          if (void 0 === e && (e = this.numChildren), !t) return t;
          if (this.contains(t)) return t;
          var i = t.parent;
          i && i !== this && i.removeChild(t), e >= this.numChildren ? this.children.push(t) : this.children.splice(e, 0, t), this._childrenSet.add(t);

          var n = this._childrenToDetach.indexOf(t);

          return n > -1 && this._childrenToDetach.splice(n, 1), this._childrenToAttach.push(t), this.requestRender(), t;
        }, e.prototype.contains = function (t) {
          return this._childrenSet.has(t);
        }, e.prototype.getChildIndex = function (t) {
          return this.children.indexOf(t);
        }, e.prototype.getChildAt = function (t) {
          return t < 0 || t > this.children.length ? null : this.children[t];
        }, e.prototype.removeAllChildren = function () {
          for (var t = this.numChildren; t--;) this.removeChildAt(0);
        }, e.prototype.removeChild = function (t) {
          return this.contains(t) ? this.removeChildAt(this.getChildIndex(t)) : t;
        }, e.prototype.removeChildAt = function (t) {
          var e;
          if (t < 0 || t >= this.children.length) return null;
          if (e = this.children.splice(t, 1)[0], h(this._childrenSet, e), e.attached) this._childrenToDetach.push(e);else {
            var i = this._childrenToAttach.indexOf(e);

            i > -1 && this._childrenToAttach.splice(i, 1);
          }
          return e;
        }, e.prototype.setChildIndex = function (t, e) {
          var i = this.getChildIndex(t);
          i > -1 && (this.children.splice(i, 1), this.children.splice(e, 0, t));
        }, e.prototype.sortChildren = function (t) {
          return this.children.sort(t);
        }, e.prototype.attachChildren = function () {
          var t = this._childrenToAttach;
          if (0 !== t.length) for (var e = 0, i = !1; !i;) {
            var n = t[e];
            n.parent = this, n.stage = this.stage, this.attachChild(n) ? (n.attached = !0, t.splice(e, 1)) : ++e, i = t.length === e;
          }
        }, e.prototype.detachChildren = function () {
          for (var t = this._childrenToDetach; t.length > 0;) {
            var e = t.shift();
            this.detachChild(e), e.attached = !1, e.parent = null, e.stage = null;
          }
        }, e.prototype.renderChildren = function (t) {
          for (var e = this.children, i = e.length, n = 0; n < i; n++) e[n].processRender(t);
        }, e.prototype.attachChild = function (t) {
          return t.attach();
        }, e.prototype.detachChild = function (t) {
          t.detach();
        }, e;
      }(n.DisplayObject);

      e.Container = r;
    }.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/DisplayObject.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineDisplayObjectJs(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/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var n = function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t._renderRequestedCalled = !1, t._attached = !1, t._isReady = !1, t._opacity = 1, t.renderRequested = !1, t._visible = !0, t;
        }

        return i(t, e), Object.defineProperty(t.prototype, "attached", {
          get: function get() {
            return this._attached;
          },
          set: function set(e) {
            this._attached !== e && (this._attached = e, e ? this.hasEventListener("attach") && this.emit("attach") : this.hasEventListener("detach") && this.emit("detach"));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "isReady", {
          get: function get() {
            return this._attached && this._isReady;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "opacity", {
          get: function get() {
            return this._opacity;
          },
          set: function set(e) {
            this._opacity !== e && (this._opacity = e, this.requestRender());
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "visible", {
          get: function get() {
            return this._visible;
          },
          set: function set(e) {
            this._visible !== e && (this._visible = e, this.requestRender());
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.attach = function () {
          return this.ready(), !0;
        }, t.prototype.setTransform = function (e) {}, t.prototype.detach = function () {}, t.prototype.processRender = function (e) {
          this.visible && this.attached && (this._renderRequestedCalled = !1, this.doRender(e), this._renderRequestedCalled || (this.renderRequested = !1), this.hasEventListener("post-render") && this.emit("post-render"));
        }, t.prototype.requestRender = function () {
          var e = this.renderRequested;
          this._renderRequestedCalled = !0, this.renderRequested = !0, this.parent && this.parent.requestRender(), e !== this.renderRequested && this.hasEventListener("will-render") && this.emit("will-render");
        }, t.prototype.dispose = function () {}, t.prototype.doRender = function (e) {}, t.prototype.ready = function () {
          this._isReady = !0, this.emit("isReady");
        }, t;
      }(r);

      t.DisplayObject = 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/engine/ImageryBitmapSource.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/ImageryBitmapSource.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineImageryBitmapSourceJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e, t, i) {
          this.pixelBlock = e, this.extent = t, this.originalPixelBlock = i;
        }

        return Object.defineProperty(e.prototype, "width", {
          get: function get() {
            return this.pixelBlock ? this.pixelBlock.width : 0;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "height", {
          get: function get() {
            return this.pixelBlock ? this.pixelBlock.height : 0;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.render = function (e) {
          var t = this.pixelBlock;

          if (t) {
            var i = this.filter({
              pixelBlock: t
            }),
                l = i.pixelBlock.getAsRGBA(),
                r = e.createImageData(i.pixelBlock.width, i.pixelBlock.height);
            r.data.set(l), e.putImageData(r, 0, 0);
          }
        }, e.prototype.getRenderedRasterPixels = function () {
          var e = this.filter({
            pixelBlock: this.pixelBlock
          });
          return {
            width: e.pixelBlock.width,
            height: e.pixelBlock.height,
            renderedRasterPixels: new Uint8Array(e.pixelBlock.getAsRGBA().buffer)
          };
        }, e;
      }();

      t["default"] = i;
    }.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/LevelDependentSizeVariable.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/LevelDependentSizeVariable.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineLevelDependentSizeVariableJs(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/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../../renderers/visualVariables/SizeVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js"), __webpack_require__(
    /*! ../../../renderers/visualVariables/support/sizeVariableUtils */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/sizeVariableUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, t, s, l, r, a, n) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var o = function (e) {
        function i() {
          return null !== e && e.apply(this, arguments) || this;
        }

        s(i, e), a = i, i.prototype.writeLevels = function (e, i, t) {
          for (var s in e) {
            var l = this.levels[s];
            return void (i.stops = l);
          }
        }, i.prototype.clone = function () {
          return new a({
            axis: this.axis,
            field: this.field,
            valueExpression: this.valueExpression,
            valueExpressionTitle: this.valueExpressionTitle,
            maxDataValue: this.maxDataValue,
            maxSize: n.isSizeVariable(this.maxSize) ? this.maxSize.clone() : this.maxSize,
            minDataValue: this.minDataValue,
            minSize: n.isSizeVariable(this.minSize) ? this.minSize.clone() : this.minSize,
            normalizationField: this.normalizationField,
            stops: this.stops && this.stops.map(function (e) {
              return e.clone();
            }),
            target: this.target,
            useSymbolValue: this.useSymbolValue,
            valueRepresentation: this.valueRepresentation,
            valueUnit: this.valueUnit,
            legendOptions: this.legendOptions && this.legendOptions.clone(),
            levels: l.clone(this.levels)
          });
        };
        var a;
        return t([r.property()], i.prototype, "levels", void 0), t([r.writer("levels")], i.prototype, "writeLevels", null), i = a = t([r.subclass("esri.views.2d.engine.LevelDependentSizeVariable")], i);
      }(r.declared(a));

      i.LevelDependentSizeVariable = o;
    }.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/Stage.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/Stage.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineStageJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../core/events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ../../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ../../../core/watchUtils */
    "./node_modules/arcgis-js-api/core/watchUtils.js"), __webpack_require__(
    /*! ../../../core/libs/gl-matrix-2/common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/common.js"), __webpack_require__(
    /*! ../../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../core/libs/gl-matrix-2/mat2df64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df64.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/vec2f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js"), __webpack_require__(
    /*! ../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./Container */
    "./node_modules/arcgis-js-api/views/2d/engine/Container.js"), __webpack_require__(
    /*! ./webgl/BitBlitRenderer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/BitBlitRenderer.js"), __webpack_require__(
    /*! ./webgl/definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./webgl/enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./webgl/Painter */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Painter.js"), __webpack_require__(
    /*! ./webgl/Profiler */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Profiler.js"), __webpack_require__(
    /*! ./webgl/WebGLDriverTest */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WebGLDriverTest.js"), __webpack_require__(
    /*! ./webgl/shaders/StencilPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/StencilPrograms.js"), __webpack_require__(
    /*! ../support/Timeline */
    "./node_modules/arcgis-js-api/views/2d/support/Timeline.js"), __webpack_require__(
    /*! ../../support/screenshotUtils */
    "./node_modules/arcgis-js-api/views/support/screenshotUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, a, s, o, l, h, d, c, p, u, _, g, f, b, m, v, O, y, R, w, C, x) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var F = (g.enums.TargetType, g.enums.DepthStencilTargetType, g.enums.PixelFormat, g.enums.PixelType, g.enums.DataType, g.enums.Usage, g.enums.PrimitiveType, g.enums.CompareFunction, g.enums.StencilOperation, g.enums.TextureSamplingMode, function (e) {
        function t(t, r) {
          var i = e.call(this) || this;
          i._renderParameters = {
            drawPhase: 0,
            state: i.state,
            pixelRatio: window.devicePixelRatio,
            stationary: !1,
            globalOpacity: 1
          }, i._clipData = new Float32Array(8), i._upperLeft = _.vec2f64.create(), i._upperRight = _.vec2f64.create(), i._lowerLeft = _.vec2f64.create(), i._lowerRight = _.vec2f64.create(), i._mat2 = p.mat2df64.create(), i._clipRendererInitialized = !1, i._supersampleScreenshots = !0, i.dataUploadCounter = 0, i.stage = i, i._stationary = !0, i.attached = !0;
          var o = r.canvas,
              h = void 0 === o ? document.createElement("canvas") : o,
              d = r.alpha,
              c = void 0 === d || d,
              u = r.stencil,
              f = void 0 === u || u,
              b = r.renderContext,
              m = void 0 === b ? "webgl" : b,
              v = r.supersampleScreenshots,
              w = void 0 === v || v,
              x = r.contextOptions,
              F = void 0 === x ? {} : x;
          i._canvas = h;
          var B = {
            alpha: c,
            antialias: !1,
            depth: !0,
            stencil: f
          },
              S = g.createContextOrErrorHTML(h, B, m);
          return i.context = new g.RenderingContext(S, F), i.painter = new O["default"](i.context), i._taskHandle = l.addFrameTask({
            render: function render() {
              return i.renderFrame();
            }
          }), i._taskHandle.pause(), i._supersampleScreenshots = w, i._lostWebGLContextHandle = a.on(h, "webglcontextlost", function () {
            i.emit("webgl-error", {
              error: new n("webgl-context-lost")
            });
          }), s("esri-2d-profiler") && (i._debugOutput = document.createElement("div"), i._debugOutput.setAttribute("style", "margin: 24px 64px; position: absolute; color: red;"), t.appendChild(i._debugOutput)), h.setAttribute("style", "width: 100%; height:100%; display:block;"), i.profiler = new y.Profiler(i.context, i._debugOutput), i.renderingOptions = r.renderingOptions, i.timeline = r.timeline || new C.Timeline(), i.driverTestResult = R.testWebGLDriver(i.context), t.appendChild(h), i;
        }

        return r(t, e), t.prototype.destroy = function () {
          this.removeAllChildren(), this.renderFrame(), this._taskHandle.remove(), this._taskHandle = null, this._boundFBO = null, this._clipFBO && (this._clipFBO.dispose(), this._clipFBO = null), this._blitRenderer && (this._blitRenderer.dispose(), this._blitRenderer = null), this._clipVAO && (this._clipVAO.dispose(), this._clipVAO = null, this._clipVBO = null), this._clipStencilProgram && (this._clipStencilProgram.dispose(), this._clipStencilProgram = null), this._lostWebGLContextHandle && (this._lostWebGLContextHandle.remove(), this._lostWebGLContextHandle = null), this._canvas.parentNode && this._canvas.parentNode.removeChild(this._canvas), this._debugOutput && this._debugOutput.parentNode && this._debugOutput.parentNode.removeChild(this._debugOutput), this.painter.dispose(), this.context.dispose(), this._canvas = null;
        }, Object.defineProperty(t.prototype, "background", {
          get: function get() {
            return this._background;
          },
          set: function set(e) {
            this._background = e, this.requestRender();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "highlightOptions", {
          get: function get() {
            return this._highlightOptions;
          },
          set: function set(e) {
            var t = this;
            this._highlightOptionsHandle && (this._highlightOptionsHandle.remove(), this._highlightOptionsHandle = null), this._highlightOptions = e, this._highlightOptions && (this._highlightOptionsHandle = h.init(this._highlightOptions, "version", function () {
              t.painter.setHighlightOptions(e), t.requestRender();
            }));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "renderingOptions", {
          get: function get() {
            return this._renderingOptions;
          },
          set: function set(e) {
            this._renderingOptions = e, this.requestRender();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this._state;
          },
          set: function set(e) {
            this._state = e, this.requestRender();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "stationary", {
          get: function get() {
            return this._stationary;
          },
          set: function set(e) {
            this._stationary !== e && (this._stationary = e, this.requestRender());
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.requestRender = function () {
          this._lastRenderRequestTime = Date.now(), this._taskHandle && this._taskHandle.resume();
        }, t.prototype.renderFrame = function () {
          var e = Date.now(),
              t = e - this._lastRenderRequestTime;
          this._renderParameters.state = this._state, this._renderParameters.stationary = this.stationary, this._renderParameters.pixelRatio = window.devicePixelRatio, this._renderParameters.globalOpacity = 1, this.processRender(this._renderParameters), t >= m.MAX_ANIMATION_TIME_MS && this._taskHandle.pause();
        }, t.prototype.renderChildren = function (e) {
          var t = this,
              r = t.context,
              i = t.children,
              n = e.children ? e.children : i;
          this.profiler.recordStart("drawLayers"), this.dataUploadCounter = 0, this.beforeRenderChildren(e), e.drawPhase = v.WGLDrawPhase.MAP, this.painter.beforeRenderLayers(r);

          for (var a = 0, o = n; a < o.length; a++) {
            var l = o[a];
            l.attached && l.processRender(e);
          }

          this.painter.renderLayers(r), e.drawPhase = v.WGLDrawPhase.LABEL, this.painter.beforeRenderLayers(r);

          for (var h = 0, d = n; h < d.length; h++) {
            var l = d[h];
            l.attached && l.processRender(e);
          }

          if (this.painter.renderLayers(r), s("esri-tiles-debug")) {
            e.drawPhase = v.WGLDrawPhase.DEBUG, this.painter.beforeRenderLayers(r);

            for (var c = 0, p = n; c < p.length; c++) {
              var l = p[c];
              l.attached && l.processRender(e);
            }

            this.painter.renderLayers(r);
          }

          this.profiler.recordEnd("drawLayers"), this.afterRenderChildren();
        }, t.prototype.beforeRenderChildren = function (e) {
          var t = this,
              r = t.context,
              i = t.painter,
              n = e.state,
              a = e.pixelRatio;

          if (i) {
            r.enforceState();
            var s = n.size,
                o = n.rotation,
                l = Math.round(s[0] * a),
                h = Math.round(s[1] * a);
            this._boundFBO = r.getBoundFramebufferObject();
            if (!(n.spatialReference && (n.spatialReference._isWrappable ? n.spatialReference._isWrappable() : n.spatialReference.isWrappable))) return void (this._clipFrame = !1);

            var p = d.common.toRadian(o),
                _ = Math.abs(Math.cos(p)),
                f = Math.abs(Math.sin(p)),
                b = Math.round(l * _ + h * f),
                m = Math.round(n.worldScreenWidth);

            if (b <= m) return void (this._clipFrame = !1);
            this._clipFBO && this._clipFBO.width === l && this._clipFBO.height === h || (this._clipFBO = new g.FramebufferObject(r, {
              colorTarget: 0,
              depthStencilTarget: 3,
              width: l,
              height: h
            }));
            var v = (this.state.padding.left - this.state.padding.right) / 2,
                O = (this.state.padding.bottom - this.state.padding.top) / 2,
                y = .5 * l,
                R = .5 * h,
                w = 1 / l,
                C = 1 / h,
                x = l * f + h * _,
                F = m * a * .5,
                B = .5 * x,
                S = this._upperLeft,
                E = this._upperRight,
                P = this._lowerLeft,
                T = this._lowerRight;
            u.vec2.set(S, -F, -B), u.vec2.set(E, F, -B), u.vec2.set(P, -F, B), u.vec2.set(T, F, B), c.mat2d.identity(this._mat2), c.mat2d.translate(this._mat2, this._mat2, [y + v, R + O]), 0 !== o && c.mat2d.rotate(this._mat2, this._mat2, p), u.vec2.transformMat2d(S, S, this._mat2), u.vec2.transformMat2d(E, E, this._mat2), u.vec2.transformMat2d(P, P, this._mat2), u.vec2.transformMat2d(T, T, this._mat2);
            var L = this._clipData;
            L.set([2 * P[0] * w - 1, 2 * (h - P[1]) * C - 1, 2 * T[0] * w - 1, 2 * (h - T[1]) * C - 1, 2 * S[0] * w - 1, 2 * (h - S[1]) * C - 1, 2 * E[0] * w - 1, 2 * (h - E[1]) * C - 1]), this._clipRendererInitialized || this._initializeClipRenderer(r), this._clipVBO.setData(L), this._boundFBO = r.getBoundFramebufferObject(), r.bindFramebuffer(this._clipFBO), r.setDepthWriteEnabled(!0), r.setStencilWriteMask(255), r.setClearColor(0, 0, 0, 0), r.setClearDepth(1), r.setClearStencil(0), r.clear(r.gl.COLOR_BUFFER_BIT | r.gl.DEPTH_BUFFER_BIT | r.gl.STENCIL_BUFFER_BIT), r.setDepthWriteEnabled(!1), this._clipFrame = !0;
          }
        }, t.prototype.afterRenderChildren = function () {
          var e = this.context;
          e.logIno(), this._clipFrame && this._clipRendererInitialized && (e.bindFramebuffer(this._boundFBO), this._boundFBO = null, e.bindVAO(this._clipVAO), e.bindProgram(this._clipStencilProgram), e.setDepthWriteEnabled(!1), e.setDepthTestEnabled(!1), e.setStencilTestEnabled(!0), e.setBlendingEnabled(!1), e.setColorMask(!1, !1, !1, !1), e.setStencilOp(7680, 7680, 7681), e.setStencilWriteMask(255), e.setStencilFunction(519, 1, 255), e.drawElements(4, 6, 5123, 0), e.bindVAO(), e.setColorMask(!0, !0, !0, !0), e.setBlendingEnabled(!0), e.setStencilFunction(514, 1, 255), this._blitRenderer.render(e, this._clipFBO.colorTexture, 9728, 1), e.setStencilTestEnabled(!1));
        }, t.prototype.doRender = function (t) {
          var r = this.context,
              i = t.state,
              n = t.pixelRatio;

          if (this._resizeCanvas(t), this.context.enforceState(), r.setViewport(0, 0, n * i.size[0], n * i.size[1]), r.setDepthWriteEnabled(!0), r.setStencilWriteMask(255), this.background && this.background.color) {
            var a = this.background.color,
                s = a.r,
                o = a.g,
                l = a.b,
                h = a.a;
            r.setClearColor(s / 255, o / 255, l / 255, h);
          } else r.setClearColor(0, 0, 0, 0);

          r.setClearDepth(1), r.setClearStencil(0), r.clear(r.gl.COLOR_BUFFER_BIT | r.gl.DEPTH_BUFFER_BIT | r.gl.STENCIL_BUFFER_BIT), r.setDepthWriteEnabled(!1), e.prototype.doRender.call(this, t);
        }, t.prototype.takeScreenshot = function (e, t) {
          var r = x.screenshotSuperSampleSettings(e, this._supersampleScreenshots, this._state.padding),
              i = r.framebufferWidth,
              n = r.framebufferHeight,
              a = this.context,
              s = e.layers,
              l = {
            drawPhase: null,
            globalOpacity: 1,
            stationary: !0,
            state: this._renderParameters.state.clone(),
            pixelRatio: r.pixelRatio
          };

          if (null != e.rotation) {
            var h = l.state.viewpoint;
            h.rotation = e.rotation, l.state.viewpoint = h;
          }

          s.length > 0 && (l.children = [], s.forEach(function (e) {
            var r = t.find(function (t) {
              return t.layer.id === e.id;
            });
            r && "container" in r && r.container && r.attached && l.children.push(r.container);
          }));
          var d = new g.FramebufferObject(a, {
            colorTarget: 0,
            depthStencilTarget: 3,
            width: i,
            height: n
          }),
              c = a.getBoundFramebufferObject(),
              p = a.getViewport();
          a.bindFramebuffer(d), a.setViewport(0, 0, i, n);
          var u = a.gl;

          if (!e.ignoreBackground && this.background && this.background.color) {
            var _ = this.background.color,
                f = _.r,
                b = _.g,
                m = _.b,
                v = _.a;
            a.setClearColor(f / 255, b / 255, m / 255, v);
          } else a.setClearColor(0, 0, 0, 0);

          a.setClearDepth(1), a.setClearStencil(0), a.clear(u.COLOR_BUFFER_BIT | u.DEPTH_BUFFER_BIT | u.STENCIL_BUFFER_BIT), this.renderChildren(l);

          var O = this._readbackScreenshot(r);

          a.bindFramebuffer(c), a.setViewport(p.x, p.y, p.width, p.height), this.requestRender();

          var y = this._ensureScreenshotEncodeCanvas(),
              R = x.encodeResult(O, e, y, {
            flipY: !0,
            premultipliedAlpha: !0
          });

          return o.resolve(R);
        }, t.prototype._ensureScreenshotEncodeCanvas = function () {
          return this._screenshotEncodeCanvas || (this._screenshotEncodeCanvas = document.createElement("canvas")), this._screenshotEncodeCanvas;
        }, t.prototype._readbackScreenshot = function (e) {
          var t = e.framebufferWidth,
              r = e.framebufferHeight,
              i = e.region,
              n = e.resample,
              a = this.context,
              s = a.gl;

          if (n) {
            var o = x.createEmptyImageData(t, r, this._ensureScreenshotEncodeCanvas());
            s.readPixels(0, 0, t, r, 6408, 5121, new Uint8Array(o.data.buffer));
            var l = x.createEmptyImageData(i.width, i.height, this._ensureScreenshotEncodeCanvas());
            return x.resampleHermite(o, l, !0, n.region.x, r - (n.region.y + n.region.height), n.region.width, n.region.height);
          }

          var o = x.createEmptyImageData(i.width, i.height, this._ensureScreenshotEncodeCanvas());
          return s.readPixels(i.x, r - (i.y + i.height), i.width, i.height, 6408, 5121, new Uint8Array(o.data.buffer)), o;
        }, t.prototype._resizeCanvas = function (e) {
          var t = this._canvas,
              r = t.style,
              i = e.state.size,
              n = e.pixelRatio,
              a = i[0],
              s = i[1],
              o = Math.round(a * n),
              l = Math.round(s * n);
          t.width === o && t.height === l || (t.width = o, t.height = l), r.width = a + "px", r.height = s + "px";
        }, t.prototype._initializeClipRenderer = function (e) {
          if (this._clipRendererInitialized) return !0;
          this._blitRenderer = new b.BitBlitRenderer();
          var t = w.stencil.attributes,
              r = g.createProgram(e, w.stencil);
          if (!r) return !1;
          var i = g.BufferObject.createVertex(e, 35040, 32),
              n = new Uint16Array([0, 1, 2, 2, 1, 3]),
              a = g.BufferObject.createIndex(e, 35044, n),
              s = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5126,
              offset: 0,
              stride: 8,
              normalized: !1,
              divisor: 0
            }]
          },
              o = new g.VertexArrayObject(e, t, s, {
            geometry: i
          }, a);
          return this._clipStencilProgram = r, this._clipVBO = i, this._clipVAO = o, this._clipRendererInitialized = !0, !0;
        }, t;
      }(f.Container));
      t.Stage = 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/engine/vectorTiles/GeometryUtils.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/GeometryUtils.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesGeometryUtilsJs(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) {
      function n(_, e) {
        return _ %= e, _ >= 0 ? _ : _ + e;
      }

      function t(_) {
        return n(_ * e.C_RAD_TO_256, 256);
      }

      function r(_) {
        return n(_ * e.C_DEG_TO_256, 256);
      }

      function u(_) {
        return Math.log(_) * i;
      }

      function o(_) {
        return _ * _;
      }

      function C(_, e, n) {
        return _ * (1 - n) + e * n;
      }

      function I(_, e, n) {
        return _ >= e && _ <= n || _ >= n && _ <= e;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.C_INFINITY = Number.POSITIVE_INFINITY, e.C_PI = Math.PI, e.C_2PI = 2 * e.C_PI, e.C_PI_BY_2 = e.C_PI / 2, e.C_RAD_TO_256 = 128 / e.C_PI, e.C_256_TO_RAD = e.C_PI / 128, e.C_DEG_TO_256 = 256 / 360, e.C_DEG_TO_RAD = e.C_PI / 180, e.C_SQRT2 = 1.414213562, e.C_SQRT2_INV = 1 / e.C_SQRT2;
      var i = 1 / Math.LN2;
      e.positiveMod = n, e.radToByte = t, e.degToByte = r, e.log2 = u, e.sqr = o, e.interpolate = C, e.between = I;
    }.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/shaders/ProgramCache.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/ProgramCache.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesShadersProgramCacheJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./Programs */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/Programs.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var n = function () {
        function e(e) {
          this._cache = new Array(8);

          for (var r = 0; r < 8; r++) this._cache[r] = {};

          this._programRepo = new t.ProgramCache(e);
        }

        return e.prototype.dispose = function () {
          this._programRepo && (this._programRepo.dispose(), this._programRepo = null);
        }, e.prototype.getProgram = function (e, r, t) {
          var a = this._cache[e];

          if (!a[r]) {
            var n = this._programRepo.getProgram(this._getProgramTemplate(e), t);

            a[r] = n;
          }

          return a[r];
        }, e.prototype.getProgramAttributes = function (e) {
          switch (e) {
            case 0:
              return a.background.attributes;

            case 5:
              return a.circle.attributes;

            case 1:
              return a.fill.attributes;

            case 4:
              return a.icon.attributes;

            case 3:
              return a.line.attributes;

            case 2:
              return a.outline.attributes;

            case 6:
              return a.text.attributes;

            default:
              return null;
          }
        }, e.prototype._getProgramTemplate = function (e) {
          switch (e) {
            case 0:
              return a.background;

            case 5:
              return a.circle;

            case 1:
              return a.fill;

            case 4:
              return a.icon;

            case 3:
              return a.line;

            case 2:
              return a.outline;

            case 6:
              return a.text;

            default:
              return null;
          }
        }, e;
      }();

      r["default"] = 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/engine/vectorTiles/shaders/Programs.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/Programs.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesShadersProgramsJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var a = function a(e) {
        return n.glslifyDefineMap({
          ID: e.id,
          PATTERN: e.pattern
        });
      };

      r.background = {
        name: "background",
        shaders: function shaders(e) {
          return {
            vertexShader: a(e) + t.resolveIncludes("background/background.vert"),
            fragmentShader: a(e) + t.resolveIncludes("background/background.frag")
          };
        },
        attributes: {
          a_pos: 0
        }
      };

      var l = function l(e) {
        return n.glslifyDefineMap({
          ID: e.id
        });
      };

      r.circle = {
        name: "circle",
        shaders: function shaders(e) {
          return {
            vertexShader: l(e) + t.resolveIncludes("circle/circle.vert"),
            fragmentShader: l(e) + t.resolveIncludes("circle/circle.frag")
          };
        },
        attributes: {
          a_pos: 0,
          a_color: 1,
          a_stroke_color: 2,
          a_data: 3
        }
      };

      var i = function i(e) {
        return n.glslifyDefineMap({
          ID: e.id,
          DD: e.dd,
          PATTERN: e.pattern
        });
      };

      r.fill = {
        name: "fill",
        shaders: function shaders(e) {
          return {
            vertexShader: i(e) + t.resolveIncludes("fill/fill.vert"),
            fragmentShader: i(e) + t.resolveIncludes("fill/fill.frag")
          };
        },
        attributes: {
          a_pos: 0,
          a_color: 1
        }
      };

      var o = function o(e) {
        return n.glslifyDefineMap({
          ID: e.id,
          DD: e.dd
        });
      };

      r.outline = {
        name: "outline",
        shaders: function shaders(e) {
          return {
            vertexShader: o(e) + t.resolveIncludes("outline/outline.vert"),
            fragmentShader: o(e) + t.resolveIncludes("outline/outline.frag")
          };
        },
        attributes: {
          a_pos: 0,
          a_offset: 1,
          a_xnormal: 2,
          a_color: 3
        }
      };

      var s = function s(e) {
        return n.glslifyDefineMap({
          ID: e.id,
          DD: e.dd,
          SDF: e.sdf
        });
      };

      r.icon = {
        name: "icon",
        shaders: function shaders(e) {
          return {
            vertexShader: s(e) + t.resolveIncludes("icon/icon.vert"),
            fragmentShader: s(e) + t.resolveIncludes("icon/icon.frag")
          };
        },
        attributes: {
          a_pos: 0,
          a_vertexOffset: 1,
          a_tex: 2,
          a_levelInfo: 3,
          a_color: 4,
          a_size: 5
        }
      };

      var u = function u(e) {
        return n.glslifyDefineMap({
          ID: e.id,
          DD: e.dd,
          PATTERN: e.pattern
        });
      };

      r.line = {
        name: "line",
        shaders: function shaders(e) {
          return {
            vertexShader: u(e) + t.resolveIncludes("line/line.vert"),
            fragmentShader: u(e) + t.resolveIncludes("line/line.frag")
          };
        },
        attributes: {
          a_pos: 0,
          a_offsetAndNormal: 1,
          a_accumulatedDistance: 2,
          a_color: 3,
          a_width: 4
        }
      };

      var d = function d(e) {
        return n.glslifyDefineMap({
          ID: e.id,
          DD: e.dd
        });
      };

      r.text = {
        name: "text",
        shaders: function shaders(e) {
          return {
            vertexShader: d(e) + t.resolveIncludes("text/text.vert"),
            fragmentShader: d(e) + t.resolveIncludes("text/text.frag")
          };
        },
        attributes: {
          a_pos: 0,
          a_vertexOffset: 1,
          a_tex: 2,
          a_levelInfo: 3,
          a_color: 4,
          a_size: 5
        }
      };
    }.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/shaders/sources/resolver.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/sources/resolver.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesShadersSourcesResolverJs(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__(
    /*! ../../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./shaderRepository */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, o) {
      function t(e) {
        var r = o;
        return e.split("/").forEach(function (e) {
          r && (r = r[e]);
        }), r;
      }

      function u(e) {
        return i.resolveIncludes(e);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var i = new n.ShaderCompiler(t);
      r.resolveIncludes = 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/engine/vectorTiles/shaders/sources/shaderRepository.js":
  /*!****************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/sources/shaderRepository.js ***!
    \****************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesShadersSourcesShaderRepositoryJs(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, n) {
      return {
        background: {
          "background.frag": "#ifdef PATTERN\nuniform lowp float u_opacity;\nuniform mediump vec2 u_pattern_tl;\nuniform mediump vec2 u_pattern_br;\nuniform sampler2D u_texture;\nvarying mediump vec2 v_tileTextureCoord;\n#else\nuniform lowp vec4 u_color;\n#endif\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\nvoid main() {\n#ifdef PATTERN\n  mediump vec2 normalizedTextureCoord = mod(v_tileTextureCoord, 1.0);\n  mediump vec2 samplePos = mix(u_pattern_tl, u_pattern_br, normalizedTextureCoord);\n  lowp vec4 color = texture2D(u_texture, samplePos);\n  gl_FragColor = u_opacity * color;\n#else\n  gl_FragColor = u_color;\n#endif\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "background.vert": "precision mediump float;\nattribute vec2 a_pos;\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\nuniform highp mat3 u_dvsMat3;\nuniform mediump float u_coord_range;\nuniform mediump float u_depth;\n#ifdef PATTERN\nuniform mediump mat3 u_pattern_matrix;\nvarying mediump vec2 v_tileTextureCoord;\n#endif\nvoid main() {\n  gl_Position = vec4((u_dvsMat3 * vec3(u_coord_range * a_pos, 1.0)).xy, u_depth, 1.0);\n#ifdef PATTERN\n  v_tileTextureCoord = (u_pattern_matrix * vec3(a_pos, 1.0)).xy;\n#endif\n#ifdef ID\n  v_id = u_id / 255.0;\n#endif\n}"
        },
        circle: {
          "circle.frag": "precision lowp float;\nvarying lowp vec4 v_color;\nvarying lowp vec4 v_stroke_color;\nvarying mediump float v_blur;\nvarying mediump float v_stroke_width;\nvarying mediump float v_radius;\nvarying mediump vec2 v_offset;\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\nvoid main()\n{\n  mediump float dist = length(v_offset);\n  mediump float alpha = smoothstep(0.0, -v_blur, dist - 1.0);\n  lowp float color_mix_ratio = v_stroke_width < 0.01 ? 0.0 : smoothstep(-v_blur, 0.0, dist - v_radius / (v_radius + v_stroke_width));\n  gl_FragColor = alpha * mix(v_color, v_stroke_color, color_mix_ratio);\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "circle.vert": "precision mediump float;\nattribute vec2 a_pos;\nattribute vec4 a_color;\nattribute vec4 a_stroke_color;\nattribute vec4 a_data;\nconst float sizePrecision = 0.25;\nconst float blurPrecision = 0.03125;\nvarying lowp vec4 v_color;\nvarying lowp vec4 v_stroke_color;\nvarying mediump float v_blur;\nvarying mediump float v_stroke_width;\nvarying mediump float v_radius;\nvarying mediump vec2 v_offset;\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump vec2 u_circleTranslation;\nuniform mediump float u_depth;\nuniform mediump float u_radius;\nuniform lowp vec4 u_color;\nuniform mediump float u_blur;\nuniform mediump float u_stroke_width;\nuniform lowp vec4 u_stroke_color;\nuniform mediump float u_antialiasingWidth;\nvoid main()\n{\n  v_color = a_color * u_color;\n  v_stroke_color = a_stroke_color * u_stroke_color;\n  v_stroke_width = a_data[1] * sizePrecision * u_stroke_width;\n  v_radius = a_data[2] * u_radius;\n  v_blur = max(a_data[0] * blurPrecision + u_blur, u_antialiasingWidth / (v_radius + v_stroke_width));\n  mediump vec2 offset = vec2(mod(a_pos, 2.0) * 2.0 - 1.0);\n  v_offset = offset;\n#ifdef ID\n  v_id = u_id / 255.0;\n#endif\n  mediump vec3 pos = u_dvsMat3 * vec3(a_pos * 0.5, 1.0) + u_displayMat3 * vec3((v_radius + v_stroke_width) * offset + u_circleTranslation, 0.0);\n  gl_Position = vec4(pos.xy, u_depth, 1.0);\n}"
        },
        fill: {
          "fill.frag": "precision lowp float;\n#ifdef PATTERN\nuniform mediump vec2 u_pattern_tl;\nuniform mediump vec2 u_pattern_br;\nuniform lowp sampler2D u_texture;\nvarying mediump vec2 v_tileTextureCoord;\n#endif\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\nvarying lowp vec4 v_color;\nvec4 mixColors(vec4 color1, vec4 color2) {\n  float compositeAlpha = color2.a + color1.a * (1.0 - color2.a);\n  vec3 compositeColor = color2.rgb + color1.rgb * (1.0 - color2.a);\n  return vec4(compositeColor, compositeAlpha);\n}\nvoid main()\n{\n#ifdef PATTERN\n  mediump vec2 normalizedTextureCoord = fract(v_tileTextureCoord);\n  mediump vec2 samplePos = mix(u_pattern_tl, u_pattern_br, normalizedTextureCoord);\n  lowp vec4 color = texture2D(u_texture, samplePos);\n  gl_FragColor = v_color[3] * color;\n#else\n  gl_FragColor = v_color;\n#endif\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "fill.vert": "precision mediump float;\nattribute vec2 a_pos;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump float u_depth;\nuniform mediump vec2 u_fillTranslation;\n#ifdef PATTERN\nuniform mediump mat3 u_pattern_matrix;\nvarying mediump vec2 v_tileTextureCoord;\n#endif\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\n#ifdef DD\nattribute vec4 a_color;\n#endif\nuniform lowp vec4 u_color;\nvarying lowp vec4 v_color;\nvoid main()\n{\n#ifdef DD\n  v_color = a_color * u_color;\n#else\n  v_color = u_color;\n#endif\n#ifdef ID\n  v_id = u_id / 255.0;\n#endif\n#ifdef PATTERN\n  v_tileTextureCoord = (u_pattern_matrix * vec3(a_pos, 1.0)).xy;\n#endif\n  vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayMat3 * vec3(u_fillTranslation, 0.0);\n  gl_Position = vec4(pos.xy, u_depth, 1.0);\n}"
        },
        icon: {
          "icon.frag": "precision mediump float;\nuniform lowp sampler2D u_texture;\n#ifdef SDF\nuniform lowp vec4 u_color;\nuniform lowp vec4 u_outlineColor;\nuniform mediump float u_outlineSize;\n#endif\nvarying mediump vec2 v_tex;\nvarying lowp float v_transparency;\nvarying mediump vec2 v_size;\nvarying lowp vec4 v_color;\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\n#include <util/encoding.glsl>\nvec4 mixColors(vec4 color1, vec4 color2) {\n  float compositeAlpha = color2.a + color1.a * (1.0 - color2.a);\n  vec3 compositeColor = color2.rgb + color1.rgb * (1.0 - color2.a);\n  return vec4(compositeColor, compositeAlpha);\n}\nvoid main()\n{\n#ifdef SDF\n  lowp vec4 fillPixelColor = v_color;\n  float d = rgba2float(texture2D(u_texture, v_tex)) - 0.5;\n  const float sofetEdgeRatio = 0.248062016;\n  float size = max(v_size.x, v_size.y);\n  float dist = d * sofetEdgeRatio * size;\n  fillPixelColor *= clamp(0.5 - dist, 0.0, 1.0);\n  if (u_outlineSize > 0.25) {\n    lowp vec4 outlinePixelColor = u_outlineColor;\n    const float outlineLimitRatio = (16.0 / 86.0);\n    float clampedOutlineSize = sofetEdgeRatio * min(u_outlineSize, outlineLimitRatio * max(v_size.x, v_size.y));\n    outlinePixelColor *= clamp(0.5 - (abs(dist) - clampedOutlineSize), 0.0, 1.0);\n    gl_FragColor = v_transparency * mixColors(fillPixelColor, outlinePixelColor);\n  }\n  else {\n    gl_FragColor = v_transparency * fillPixelColor;\n  }\n#else\n  lowp vec4 texColor = texture2D(u_texture, v_tex);\n  gl_FragColor = v_transparency * texColor;\n#endif\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "icon.vert": "attribute vec2 a_pos;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_tex;\nattribute vec4 a_levelInfo;\n#ifdef DD\nattribute vec4 a_color;\nattribute mediump float a_size;\n#endif\nuniform lowp vec4 u_color;\nuniform mediump float u_size;\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\nvarying lowp vec4 v_color;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_iconTranslation;\nuniform vec2 u_mosaicSize;\nuniform mediump float u_depth;\nuniform mediump float u_mapRotation;\nuniform mediump float u_level;\nuniform lowp float u_keepUpright;\nuniform mediump float u_fadeSpeed;\nuniform mediump float u_minfadeLevel;\nuniform mediump float u_maxfadeLevel;\nuniform mediump float u_fadeChange;\nuniform mediump float u_opacity;\nvarying mediump vec2 v_tex;\nvarying lowp float v_transparency;\nvarying mediump vec2 v_size;\nconst float C_OFFSET_PRECISION = 1.0 / 8.0;\nconst float C_256_TO_RAD = 3.14159265359 / 128.0;\nconst float C_DEG_TO_RAD = 3.14159265359 / 180.0;\nconst float tileCoordRatio = 1.0 / 8.0;\nvoid main()\n{\n  mediump float a_labelMinLevel = a_levelInfo[0];\n  mediump float a_angle         = a_levelInfo[1];\n  mediump float a_minLevel      = a_levelInfo[2];\n  mediump float a_maxLevel      = a_levelInfo[3];\n  mediump float delta_z = 0.0;\n  mediump float rotated = mod(a_angle + u_mapRotation, 256.0);\n  delta_z += (1.0 - step(u_keepUpright, 0.0)) * step(64.0, rotated) * (1.0 - step(192.0, rotated));\n  delta_z += 1.0 - step(a_minLevel, u_level);\n  delta_z += step(a_maxLevel, u_level);\n  mediump float alpha = u_fadeSpeed != 0.0 ? clamp((u_fadeChange - a_labelMinLevel) / u_fadeSpeed, 0.0, 1.0) : 1.0;\n  v_transparency = (u_fadeSpeed >= 0.0 ? alpha : 1.0 - alpha);\n  if (u_maxfadeLevel < a_labelMinLevel)\n  {\n    v_transparency = 0.0;\n  }\n  if (u_minfadeLevel >= a_labelMinLevel)\n  {\n    v_transparency = 1.0;\n  }\n  delta_z += step(v_transparency, 0.0);\n  vec2 offset = C_OFFSET_PRECISION * a_vertexOffset;\n  v_size = abs(offset);\n#ifdef SDF\n  offset = (120.0 / 86.0) * offset;\n#endif\n#ifdef DD\n  mediump float icon_size = a_size * u_size;\n#else\n  mediump float icon_size = u_size;\n#endif\n  mediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayViewMat3 * vec3(icon_size * offset, 0.0) + u_displayMat3 * vec3(u_iconTranslation, 0.0);\n  gl_Position = vec4(pos.xy, u_depth + delta_z, 1.0);\n#ifdef DD\n  v_color = a_color * u_color;\n#else\n  v_color = u_color;\n#endif\n#ifdef ID\n  v_id = u_id / 255.0;\n#endif\n  v_tex = a_tex.xy / u_mosaicSize;\n  v_transparency *= v_color.w;\n}"
        },
        line: {
          "line.frag": "varying mediump vec2 v_normal;\nvarying highp float v_accumulatedDistance;\nvarying mediump float v_lineHalfWidth;\nvarying lowp vec4 v_color;\nvarying mediump float v_blur;\n#ifdef PATTERN\nuniform mediump vec2 u_pattern_tl;\nuniform mediump vec2 u_pattern_br;\nuniform mediump vec2 u_spriteSize;\nuniform sampler2D u_texture;\nconst mediump float tileCoordRatio = 8.0;\n#else\nvarying mediump vec2 v_dasharray;\n#endif\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\nvoid main()\n{\n  mediump float fragDist = length(v_normal) * v_lineHalfWidth;\n  lowp float alpha = clamp((v_lineHalfWidth - fragDist) / v_blur, 0.0, 1.0);\n#ifdef PATTERN\n  mediump float relativeTexX = mod((v_accumulatedDistance + v_normal.x * v_lineHalfWidth * tileCoordRatio) / u_spriteSize.x, 1.0);\n  mediump float relativeTexY = 0.5 + (v_normal.y * v_lineHalfWidth / u_spriteSize.y);\n  mediump vec2 texCoord = mix(u_pattern_tl, u_pattern_br, vec2(relativeTexX, relativeTexY));\n  lowp vec4 color = texture2D(u_texture, texCoord);\n  gl_FragColor = alpha * v_color[3] * color;\n#else\n  lowp float dashPos =  mod(v_accumulatedDistance, v_dasharray.x + v_dasharray.y);\n  lowp float dashAlpha = clamp(min(dashPos, v_dasharray.x - dashPos) + 0.5, 0.0, 1.0);\n  dashAlpha = max(sign(-v_dasharray.y), dashAlpha);\n  alpha *= dashAlpha;\n  gl_FragColor = alpha * v_color;\n#endif\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "line.vert": "attribute vec2 a_pos;\nattribute vec4 a_offsetAndNormal;\nattribute vec2 a_accumulatedDistance;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_lineTranslation;\nuniform mediump float u_blur;\nuniform mediump float u_antialiasing;\nuniform mediump float u_depth;\nvarying mediump vec2 v_normal;\nvarying highp float v_accumulatedDistance;\nconst float scale = 1.0 / 31.0;\n#ifdef DD\nattribute vec4 a_color;\nattribute mediump float a_width;\n#endif\nuniform lowp vec4 u_color;\nuniform mediump float u_width;\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\nvarying lowp vec4 v_color;\nvarying mediump float v_lineHalfWidth;\nvarying mediump float v_blur;\n#ifndef PATTERN\nuniform mediump vec2 u_dasharray;\nvarying mediump vec2 v_dasharray;\n#endif\nvoid main()\n{\n  v_normal = a_offsetAndNormal.zw * scale;\n#ifdef DD\n  v_lineHalfWidth = a_width * u_width;\n#else\n  v_lineHalfWidth = u_width;\n#endif\n  v_lineHalfWidth += u_antialiasing;\n  v_lineHalfWidth *= 0.5;\n#ifndef PATTERN\n#ifdef DD\n  v_dasharray = u_dasharray * a_width;\n#else\n  v_dasharray = u_dasharray * u_width;\n#endif\n#endif\n  mediump vec2 dist = v_lineHalfWidth * scale * a_offsetAndNormal.xy;\n  mediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) +  u_displayViewMat3 * vec3(dist, 0.0) + u_displayMat3 * vec3(u_lineTranslation, 0.0);\n  gl_Position = vec4(pos.xy, u_depth, 1.0);\n  v_accumulatedDistance = a_accumulatedDistance.x;\n  v_blur = u_blur + u_antialiasing;\n  #ifdef DD\n    v_color = a_color * u_color;\n  #else\n    v_color = u_color;\n  #endif\n  #ifdef ID\n    v_id = u_id / 255.0;\n  #endif\n}"
        },
        outline: {
          "outline.frag": "varying lowp vec4 v_color;\nvarying mediump vec2 v_normal;\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\nvoid main()\n{\n  lowp float dist = abs(v_normal.y);\n  lowp float alpha = smoothstep(1.0, 0.0, dist);\n  gl_FragColor = alpha * v_color;\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "outline.vert": "attribute vec2 a_pos;\nattribute vec2 a_offset;\nattribute vec2 a_xnormal;\n#ifdef DD\nattribute vec4 a_color;\n#endif\nuniform lowp vec4 u_color;\nvarying lowp vec4 v_color;\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform mediump vec2 u_fillTranslation;\nuniform mediump float u_depth;\nuniform mediump float u_outline_width;\nvarying lowp vec2 v_normal;\nconst float scale = 1.0 / 15.0;\nvoid main()\n{\n#ifdef DD\n  v_color = a_color * u_color;\n#else\n  v_color = u_color;\n#endif\n#ifdef ID\n  v_id = u_id / 255.0;\n#endif\n  v_normal = a_xnormal;\n  mediump vec2 dist = u_outline_width * scale * a_offset;\n  mediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + u_displayMat3 * vec3(dist + u_fillTranslation, 0.0);\n  gl_Position = vec4(pos.xy, u_depth, 1.0);\n}"
        },
        text: {
          "text.frag": "uniform lowp sampler2D u_texture;\nuniform mediump float u_edgeDistance;\nvarying lowp vec2 v_tex;\nvarying lowp float v_transparency;\nvarying lowp vec4 v_color;\nvarying mediump float v_edgeWidth;\nvarying mediump float v_edgeDistance;\n#ifdef ID\nvarying mediump vec4 v_id;\n#endif\nvoid main()\n{\n  lowp float dist = texture2D(u_texture, v_tex).a;\n  mediump float alpha = smoothstep(v_edgeDistance - v_edgeWidth, v_edgeDistance + v_edgeWidth, dist) * v_transparency;\n  gl_FragColor = alpha * v_color;\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
          "text.vert": "attribute vec2 a_pos;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_tex;\nattribute vec4 a_levelInfo;\nuniform lowp vec4 u_color;\n#ifdef DD\nattribute vec4 a_color;\n#endif\nvarying lowp vec4 v_color;\nuniform mediump float u_size;\n#ifdef DD\nattribute mediump float a_size;\n#endif\nvarying mediump float v_size;\n#ifdef ID\nuniform mediump vec4 u_id;\nvarying mediump vec4 v_id;\n#endif\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform mediump vec2 u_textTranslation;\nuniform vec2 u_mosaicSize;\nuniform mediump float u_depth;\nuniform mediump float u_mapRotation;\nuniform mediump float u_level;\nuniform lowp float u_keepUpright;\nuniform mediump float u_fadeSpeed;\nuniform mediump float u_minfadeLevel;\nuniform mediump float u_maxfadeLevel;\nuniform mediump float u_fadeChange;\nuniform mediump float u_opacity;\nvarying lowp vec2 v_tex;\nvarying lowp float v_transparency;\nconst float offsetPrecision = 1.0 / 8.0;\nconst mediump float edgePos = 0.75;\nuniform mediump float u_edgeDistance;\nuniform mediump float u_edgeBlur;\nuniform mediump float u_antialiasingWidth;\nvarying mediump float v_edgeDistance;\nvarying mediump float v_edgeWidth;\nuniform lowp float u_halo;\nconst float sdfFontScale = 1.0 / 24.0;\nvoid main()\n{\n  mediump float a_labelMinLevel = a_levelInfo[0];\n  mediump float a_angle        = a_levelInfo[1];\n  mediump float a_minLevel    = a_levelInfo[2];\n  mediump float a_maxLevel    = a_levelInfo[3];\n  mediump float delta_z = 0.0;\n  mediump float rotated = mod(a_angle + u_mapRotation, 256.0);\n  delta_z += (1.0 - step(u_keepUpright, 0.0)) * step(64.0, rotated) * (1.0 - step(192.0, rotated));\n  delta_z += 1.0 - step(a_minLevel, u_level);\n  delta_z += step(a_maxLevel, u_level);\n  mediump float alpha = u_fadeSpeed != 0.0 ? clamp((u_fadeChange - a_labelMinLevel) / u_fadeSpeed, 0.0, 1.0) : 1.0;\n  v_transparency = (u_fadeSpeed >= 0.0 ? alpha : 1.0 - alpha);\n  if (u_maxfadeLevel < a_labelMinLevel)\n  {\n    v_transparency = 0.0;\n  }\n  if (u_minfadeLevel >= a_labelMinLevel)\n  {\n    v_transparency = 1.0;\n  }\n  delta_z += step(v_transparency, 0.0);\n  v_tex = a_tex.xy / u_mosaicSize;\n#ifdef DD\n  if (u_halo > 0.5)\n  {\n    v_color = u_color;\n  }\n  else\n  {\n    v_color = a_color * u_color;\n  }\n#else\n  v_color = u_color;\n#endif\n#ifdef DD\n  v_size = a_size * u_size;\n#else\n  v_size = u_size;\n#endif\n#ifdef ID\n  v_id = u_id / 255.0;\n#endif\n  v_edgeDistance = edgePos - u_edgeDistance / v_size;\n  v_edgeWidth = (u_antialiasingWidth + u_edgeBlur) / v_size;\n  mediump vec3 pos = u_dvsMat3 * vec3(a_pos, 1.0) + sdfFontScale * u_displayViewMat3 * vec3(offsetPrecision * v_size * a_vertexOffset, 0.0) + u_displayMat3 * vec3(u_textTranslation, 0.0);\n  gl_Position = vec4(pos.xy, u_depth + delta_z, 1.0);\n}"
        },
        util: {
          "encoding.glsl": "const vec4 rgba2float_factors = vec4(\n    255.0 / (256.0),\n    255.0 / (256.0 * 256.0),\n    255.0 / (256.0 * 256.0 * 256.0),\n    255.0 / (256.0 * 256.0 * 256.0 * 256.0)\n  );\nfloat rgba2float(vec4 rgba) {\n  return dot(rgba, rgba2float_factors);\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/engine/webgl/AttributeStoreView.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/AttributeStoreView.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglAttributeStoreViewJs(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/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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./util/debug */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/debug.js"), __webpack_require__(
    /*! ../../../webgl/FramebufferObject */
    "./node_modules/arcgis-js-api/views/webgl/FramebufferObject.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, x, a, i, g, o, c, s, y, u, d) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      c.enums.TextureWrapMode, c.enums.PixelFormat, c.enums.PixelType, c.enums.TextureSamplingMode;

      var b = i.getLogger("esri.views.2d.engine.webgl.AttributeStoreView"),
          h = u.createDebugLogger(u.DEBUG_ATTR_UPDATES, b),
          p = function p(t) {
        return 2147483647 & t;
      },
          l = !1,
          T = function () {
        function t(t, e, i) {
          this._texture = null, this._lastTexture = null, this._fbos = {}, this.texelSize = 4;
          var r = t.buffer,
              n = t.pixelType,
              o = t.textureOnly,
              a = y.getPixelArrayCtor(n);
          this.shared = i, this.pixelType = n, this.size = e, (this.textureOnly = o) || (this.data = new a(g.expect(r))), this._resetRange();
        }

        return t.prototype.destroy = function () {
          g.andThen(this._texture, function (t) {
            return t.dispose();
          });

          var t = function t(e) {
            g.andThen(i._fbos[e], function (t) {
              "0" === e && t.detachColorTexture(), t.dispose();
            }), i._fbos[e] = null;
          },
              i = this;

          for (var e in this._fbos) t(e);

          this._texture = null;
        }, Object.defineProperty(t.prototype, "_textureDesc", {
          get: function get() {
            return {
              target: 3553,
              wrapMode: 33071,
              pixelFormat: 6408,
              dataType: this.pixelType,
              samplingMode: 9728,
              width: this.size,
              height: this.size
            };
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.setData = function (t, e, i) {
          var r = p(t),
              n = g.expect(this.data),
              o = r * this.texelSize + e;
          !n || o >= n.length ? a("esri-2d-debug") && !l && (b.error(new x("mapview-attributeStore", "Attempted to set out of bounds index")), l = !0) : (n[o] = i, this.dirtyStart = Math.min(this.dirtyStart, r), this.dirtyEnd = Math.max(this.dirtyEnd, r));
        }, t.prototype.getData = function (t, e) {
          if (g.isNone(this.data)) return null;
          var i = p(t) * this.texelSize + e;
          return !this.data || i >= this.data.length ? (a("esri-2d-debug") && !l && (b.error(new x("mapview-attributeStore", "Attempted to read out of bounds index")), l = !0), null) : this.data[i];
        }, t.prototype.getTexture = function (t) {
          var e = this;
          return g.unwrapOr(this._texture, function () {
            return e._initTexture(t);
          });
        }, t.prototype.getFBO = function (t, e) {
          if (void 0 === e && (e = 0), g.isNone(this._fbos[e])) {
            var i = 0 === e ? this.getTexture(t) : this._textureDesc;
            this._fbos[e] = new d(t, {
              colorTarget: 0,
              depthStencilTarget: 0
            }, i);
          }

          return this._fbos[e];
        }, Object.defineProperty(t.prototype, "locked", {
          get: function get() {
            return !(5121 !== this.pixelType || !this.shared || this.textureOnly || !a("esri-atomics") || !this.data) && 1 === Atomics.load(this.data, 0);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.updateTexture = function (t) {
          if (!this.locked) try {
            var e = this.dirtyStart,
                i = this.dirtyEnd;
            if (i < e) return;

            this._resetRange();

            var r = g.expect(this.data).buffer,
                n = this.getTexture(t),
                o = (e - e % this.size) / this.size,
                a = (i - i % this.size) / this.size,
                s = o,
                u = this.size,
                d = a,
                h = o * this.size * 4,
                p = 4 * (u + d * this.size) - h,
                l = y.getPixelArrayCtor(this.pixelType),
                T = l.BYTES_PER_ELEMENT;

            try {
              new l(r, h * T, p);
            } catch (t) {
              console.debug(t);
            }

            var f = new l(r, h * T, p),
                c = this.size,
                _ = d - s + 1;

            if (_ > this.size) return void b.error(new x("mapview-webgl", "Out-of-bounds index when updating AttributeData"));
            n.updateData(0, 0, s, c, _, f);
          } catch (t) {
            console.debug(t);
          }
        }, t.prototype.update = function (t) {
          var e = t.data,
              i = t.start,
              r = t.end;
          if (g.isSome(e)) for (var n = this.data, o = i * this.texelSize, a = 0; a < e.length; a++) {
            var s = 1 << a % this.texelSize;
            t.layout & s && (n[o + a] = e[a]);
          }
          this.dirtyStart = Math.min(this.dirtyStart, i), this.dirtyEnd = Math.max(this.dirtyEnd, r);
        }, t.prototype.resize = function (t, e) {
          var i = this.size;
          if (this.size = e, this.textureOnly) i !== this.size && (this._lastTexture = this._texture, this._texture = null);else {
            var r = y.getPixelArrayCtor(this.pixelType);
            this.destroy(), this.data = new r(g.expect(t.buffer));
          }
        }, t.prototype._resetRange = function () {
          this.dirtyStart = 2147483647, this.dirtyEnd = 0;
        }, t.prototype._initTexture = function (t) {
          var e = new c.Texture(t, this._textureDesc, g.unwrapOr(this.data, void 0));

          if (g.isSome(this._lastTexture) && this._fbos[0]) {
            var i = this._lastTexture.descriptor.width,
                r = this._lastTexture.descriptor.height,
                n = this._lastTexture.descriptor.dataType,
                o = this._lastTexture.descriptor.pixelFormat,
                a = this.getFBO(t),
                s = y.getPixelBytes(n),
                u = new (y.getPixelArrayCtor(n))(new ArrayBuffer(i * r * s * this.texelSize)),
                d = t.getBoundFramebufferObject(),
                h = t.getViewport(),
                p = h.x,
                l = h.y,
                T = h.width,
                f = h.height;
            t.bindFramebuffer(a), a.readPixels(0, 0, i, r, o, n, u), e.updateData(0, 0, 0, 2 * i, r / 2, u), t.setViewport(p, l, T, f), t.bindFramebuffer(d);
          }

          return this.destroy(), this._texture = e, this._texture;
        }, t;
      }(),
          f = function () {
        function t() {
          this._initialized = !1, this._forceNextUpload = !1, this._locked = !1;
        }

        return t.prototype.initialize = function (t) {
          var e = t.blocks,
              i = t.shared,
              r = t.size;
          if (this.shared = i, this.size = r, h("Initializing AttributeStoreView", t), g.isNone(this._data)) this._data = g.mapMany(e, function (t) {
            return new T(t, r, i);
          });else for (var n = 0; n < this._data.length; n++) {
            var o = this._data[n],
                a = e[n];
            g.isSome(a) && (g.isNone(o) ? this._data[n] = new T(a, r, i) : o.resize(a, r));
          }
          this._initialized = !0;
        }, t.prototype.destroy = function () {
          g.andThen(this._data, function (t) {
            return g.mapMany(t, function (t) {
              return t.destroy();
            });
          }), g.andThen(this._defaultTexture, function (t) {
            return t.dispose();
          });
        }, t.prototype.getBlock = function (t) {
          return g.isNone(this._data) ? null : this._data[t];
        }, t.prototype.setLabelMinZoom = function (t, e) {
          this.setData(t, 0, 1, e);
        }, t.prototype.getLabelMinZoom = function (t) {
          return this.getData(t, 0, 1, 255);
        }, t.prototype.getFilterFlags = function (t) {
          return this.getData(t, 0, 0, 0);
        }, t.prototype.getVVSize = function (t) {
          return this.getData(t, s.ATTRIBUTE_DATA_VV, 0, 0);
        }, t.prototype.getData = function (t, e, i, r) {
          if (!this._data) return 0;
          var n = g.expect(this._data)[e];
          if (g.isNone(n)) return 0;
          var o = n.getData(t, i);
          return g.isSome(o) ? o : r;
        }, t.prototype.setData = function (t, e, i, r) {
          var n = g.expect(this._data)[e];
          g.expect(n).setData(t, i, r);
        }, t.prototype.lockTextureUpload = function () {
          this._locked = !0;
        }, t.prototype.unlockTextureUpload = function () {
          this._locked = !1;
        }, t.prototype.forceTextureUpload = function () {
          this._forceNextUpload = !0;
        }, t.prototype.requestUpdate = function (i) {
          return n(this, void 0, void 0, function () {
            var e;
            return r(this, function (t) {
              return this._pendingAttributeUpdate ? (b.error(new x("mapview-webgl", "Tried to update attribute data with a pending update")), [2]) : (e = o.createResolver(), h("AttributeStoreView Update Requested", i), this._pendingAttributeUpdate = {
                data: i,
                resolver: e
              }, [2, e.promise]);
            });
          });
        }, t.prototype.update = function () {
          if (this._initialized && g.isSome(this._pendingAttributeUpdate)) {
            for (var t = this._pendingAttributeUpdate, r = t.data, e = t.resolver, n = g.expect(this._data), i = function (_i36) {
              function i(_x2) {
                return _i36.apply(this, arguments);
              }

              i.toString = function () {
                return _i36.toString();
              };

              return i;
            }(function (i) {
              var t = r.blocks[i],
                  e = n[i];
              g.andThen(e, function (e) {
                return g.andThen(t, function (t) {
                  h("Updating block " + i, t), e.update(t);
                });
              });
            }), o = 0; o < r.blocks.length; o++) i(o);

            this._pendingAttributeUpdate = null, e();
          }
        }, t.prototype.bindTextures = function (e) {
          this.update();

          var t = this._getDefaultTexture(e);

          if (!this._initialized) return e.bindTexture(t, s.TEXTURE_BINDING_ATTRIBUTE_DATA_0), e.bindTexture(t, s.TEXTURE_BINDING_ATTRIBUTE_DATA_1), e.bindTexture(t, s.TEXTURE_BINDING_ATTRIBUTE_DATA_2), void e.bindTexture(t, s.TEXTURE_BINDING_ATTRIBUTE_DATA_3);
          var i = g.expect(this._data);
          this._locked && !this._forceNextUpload || (g.forEachSome(i, function (t) {
            return t.updateTexture(e);
          }), this._forceNextUpload = !1), e.bindTexture(g.mapOr(i[0], t, function (t) {
            return t.getTexture(e);
          }), s.TEXTURE_BINDING_ATTRIBUTE_DATA_0), e.bindTexture(g.mapOr(i[1], t, function (t) {
            return t.getTexture(e);
          }), s.TEXTURE_BINDING_ATTRIBUTE_DATA_1), e.bindTexture(g.mapOr(i[2], t, function (t) {
            return t.getTexture(e);
          }), s.TEXTURE_BINDING_ATTRIBUTE_DATA_2), e.bindTexture(g.mapOr(i[3], t, function (t) {
            return t.getTexture(e);
          }), s.TEXTURE_BINDING_ATTRIBUTE_DATA_3);
        }, t.prototype._getDefaultTexture = function (t) {
          if (g.isNone(this._defaultTexture)) {
            this._defaultTexture = new c.Texture(t, {
              wrapMode: 33071,
              pixelFormat: 6408,
              dataType: 5121,
              samplingMode: 9728,
              width: 1,
              height: 1
            }, new Uint8Array(4));
          }

          return this._defaultTexture;
        }, t;
      }();

      e.AttributeStoreView = 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/engine/webgl/BitBlitRenderer.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/BitBlitRenderer.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBitBlitRendererJs(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__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./shaders/BitBlitPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BitBlitPrograms.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, s) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      a.enums.DataType, a.enums.Usage, a.enums.PrimitiveType, a.enums.BlendFactor;

      var r = function () {
        function e() {
          this._initialized = !1;
        }

        return e.prototype.dispose = function () {
          this._program && (this._program.dispose(), this._program = null), this._vertexArrayObject && (this._vertexArrayObject.dispose(), this._vertexArrayObject = null);
        }, e.prototype.render = function (e, t, r, i) {
          e && (this._initialized || this._initialize(e), e.setBlendFunctionSeparate(1, 771, 1, 771), e.bindVAO(this._vertexArrayObject), e.bindProgram(this._program), t.setSamplingMode(r), e.bindTexture(t, 0), this._program.setUniform1i("u_tex", 0), this._program.setUniform1f("u_opacity", i), e.drawArrays(5, 0, 4), e.bindVAO());
        }, e.prototype._initialize = function (e) {
          if (this._initialized) return !0;
          var t = s.bitBlit.attributes,
              r = a.createProgram(e, s.bitBlit);
          if (!r) return !1;
          var i = new Int8Array(16);
          i[0] = -1, i[1] = -1, i[2] = 0, i[3] = 0, i[4] = 1, i[5] = -1, i[6] = 1, i[7] = 0, i[8] = -1, i[9] = 1, i[10] = 0, i[11] = 1, i[12] = 1, i[13] = 1, i[14] = 1, i[15] = 1;
          var n = new a.VertexArrayObject(e, t, {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5120,
              offset: 0,
              stride: 4,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_tex",
              count: 2,
              type: 5120,
              offset: 2,
              stride: 4,
              normalized: !1,
              divisor: 0
            }]
          }, {
            geometry: a.BufferObject.createVertex(e, 35044, i)
          });
          return this._program = r, this._vertexArrayObject = n, this._initialized = !0;
        }, e;
      }();

      t.BitBlitRenderer = r;
    }.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/webgl/ClippingInfo.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/ClippingInfo.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglClippingInfoJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.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__(
    /*! ../DisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js"), __webpack_require__(
    /*! ./Mesh2D */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Mesh2D.js"), __webpack_require__(
    /*! ../../../webgl/VertexArrayObject */
    "./node_modules/arcgis-js-api/views/webgl/VertexArrayObject.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, a, r, p, i, s, f) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var c = r.getLogger("esri.views.2d.engine.webgl.ClippingInfo"),
          l = function l(e) {
        return parseFloat(e) / 100;
      },
          n = function (i) {
        function r(e, t) {
          var r = i.call(this) || this;
          return r._cache = {}, r.parent = e, r._handle = t.watch("version", function () {
            return r._invalidate();
          }), r._clip = t, r.attach(), r.attached = !0, r;
        }

        return o(r, i), r.fromClipArea = function (e, t) {
          return new r(e, t);
        }, r.prototype._destroyGL = function () {
          p.isSome(this._cache.mesh) && (this._cache.mesh.destroy(), this._cache.mesh = null), p.isSome(this._cache.vao) && (this._cache.vao.dispose(), this._cache.vao = null);
        }, r.prototype.destroy = function () {
          this._destroyGL(), this._handle.remove();
        }, r.prototype.doRender = function () {}, r.prototype.getVAO = function (e, t, r, i) {
          var o = t.size,
              a = o[0],
              s = o[1];

          if ("geometry" !== this._clip.type && this._lastWidth === a && this._lastHeight === s || (this._lastWidth = a, this._lastHeight = s, this._destroyGL()), p.isNone(this._cache.vao)) {
            var c = this._createMesh(t, this._clip),
                n = c.getIndexBuffer(e),
                h = c.getVertexBuffers(e);

            this._cache.mesh = c, this._cache.vao = new f(e, r, i, h, n);
          }

          return this._cache.vao;
        }, r.prototype._invalidate = function () {
          this._destroyGL(), this.requestRender();
        }, r.prototype._createScreenRect = function (e, t) {
          var r = e.size,
              i = r[0],
              o = r[1],
              a = "string" == typeof t.left ? l(t.left) * i : t.left,
              s = "string" == typeof t.right ? l(t.right) * i : t.right,
              c = "string" == typeof t.top ? l(t.top) * o : t.top,
              n = "string" == typeof t.bottom ? l(t.bottom) * o : t.bottom,
              h = a,
              p = c;
          return {
            x: h,
            y: p,
            width: Math.max(i - s - h, 0),
            height: Math.max(o - n - p, 0)
          };
        }, r.prototype._createMesh = function (e, t) {
          switch (t.type) {
            case "rect":
              return s["default"].fromRect(this._createScreenRect(e, t));

            case "path":
              return s["default"].fromPath(t);

            case "geometry":
              return s["default"].fromGeometry(e, t);

            default:
              return c.error(new a("mapview-bad-type", "Unable to create ClippingInfo mesh from clip of type: ${clip.type}")), s["default"].fromRect({
                x: 0,
                y: 0,
                width: 1,
                height: 1
              });
          }
        }, r;
      }(i.DisplayObject);

      t["default"] = 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/engine/webgl/DirtyMap.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/DirtyMap.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglDirtyMapJs(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__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, i) {
      function n(t, r, i) {
        if (!t.allDirty) if (null != t.from && null != t.count) {
          var e = Math.min(t.from, r),
              n = Math.max(t.from + t.count, r + i) - e;
          t.from = e, t.count = n;
        } else t.from = r, t.count = i;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var e = function () {
        function t() {
          this._dirties = i.createGeometryData(function () {
            return {
              indices: {
                from: null,
                count: null,
                allDirty: !1
              }
            };
          }, function () {
            return {
              vertices: {
                from: null,
                count: null,
                allDirty: !1
              }
            };
          });
        }

        return t.prototype.hasDirty = function () {
          for (var t = 0, r = this._dirties; t < r.length; t++) {
            var i = r[t];
            if (null !== i.data.indices.count || i.data.indices.allDirty) return !0;
          }

          return !1;
        }, t.prototype.markAllClean = function () {
          for (var t = 0, r = this._dirties; t < r.length; t++) {
            var i = r[t];

            for (var e in i.data.indices.from = null, i.data.indices.count = null, i.data.indices.allDirty = !1, i.buffers) i.buffers[e].data.vertices.from = null, i.buffers[e].data.vertices.count = null, i.buffers[e].data.vertices.allDirty = !1;
          }
        }, t.prototype.markAllDirty = function () {
          for (var t = 0, r = this._dirties; t < r.length; t++) {
            var i = r[t];

            for (var e in i.data.indices.allDirty = !0, i.buffers) i.buffers[e].data.vertices.allDirty = !0;
          }
        }, t.prototype.forEach = function (t) {
          for (var r = 0; r < this._dirties.length; ++r) {
            var i = this._dirties[r],
                e = {};

            for (var n in i.buffers) {
              var a = i.buffers[n].data.vertices;
              (a.allDirty || null != a.from && null != a.count && 0 < a.count) && (e[n] = a);
            }

            var l = i.data.indices,
                o = void 0;
            ((o = l.allDirty || null != l.from && null != l.count && 0 < l.count ? {
              indices: l,
              vertices: e
            } : {
              indices: null,
              vertices: e
            }).indices || 0 < Object.keys(o).length) && t(o, r);
          }
        }, t.prototype.markDirtyIndices = function (t, r, i) {
          n(this._dirties[t].data.indices, r, i);
        }, t.prototype.markDirtyVertices = function (t, r, i, e) {
          n(this._dirties[t].buffers[r].data.vertices, i, e);
        }, t;
      }();

      r["default"] = 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/webgl/DisplayRecordStore.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/DisplayRecordStore.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglDisplayRecordStoreJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./FreeList */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/FreeList.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, v, D, T) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var M = ["FILL", "LINE", "MARKER", "TEXT", "LABEL"];

      var r = function () {
        function B(e, t, r, i) {
          for (var o in this._strides = e, this._displayList = t, this._freeListsAndStorage = {}, this._dirtyMap = null, this._dirtyMap = r, e) for (var n in this._freeListsAndStorage[o] = {
            vtxFreeList: i ? new D.FreeList(i) : null,
            idxFreeList: i ? new D.FreeList(i) : null,
            vertexBuffers: {},
            indexBuffer: i ? new Uint32Array(i) : null
          }, e[o]) this._freeListsAndStorage[o].vertexBuffers[n] = {
            data: i ? T.allocateTypedArrayBuffer(i, e[o][n]) : null,
            stride: e[o][n]
          };
        }

        return B.fromTileData = function (e, t) {
          var r = function (e) {
            for (var t = e.getStrides(), r = {}, i = 0; i < t.length; i++) r[M[i]] = t[i];

            return r;
          }(e),
              i = [0, 0, 0, 0, 0],
              o = [0, 0, 0, 0, 0],
              n = [];

          e.tileDisplayData.displayObjectRegistry.forEach(function (e) {
            n.push(e);
          });

          for (var s = 0, a = n; s < a.length; s++) for (var d = 0, u = a[s].displayRecords; d < u.length; d++) {
            var f = u[d];
            i[f.geometryType] = Math.max(i[f.geometryType], f.vertexFrom + f.vertexCount), o[f.geometryType] = Math.max(o[f.geometryType], f.indexFrom + f.indexCount);
          }

          for (var v = new B(r, e.tileDisplayData.displayList, t, null), x = 0; x < e.tileBufferData.geometries.length; ++x) {
            var l = i[x],
                F = o[x],
                c = e.tileBufferData.geometries[x],
                h = M[x],
                m = v._storageFor(h),
                y = e.tileBufferData.geometries[x].indexBuffer;

            m.indexBuffer = y, m.idxFreeList = new D.FreeList(y.length), m.idxFreeList.allocate(F);
            var p = void 0;

            for (var _ in c.vertexBuffer) {
              var g = e.tileBufferData.geometries[x].vertexBuffer[_];
              m.vertexBuffers[_].data = g.data, m.vertexBuffers[_].stride = g.stride;
              var C = T.strideToPackingFactor(g.stride),
                  L = g.data.length * C / g.stride;
              p || (p = L);
            }

            m.vtxFreeList = new D.FreeList(p), m.vtxFreeList.allocate(l);
          }

          return v;
        }, B.prototype["delete"] = function (e) {
          var t = M[e.geometryType];
          this._freeVertices(t, e.vertexFrom, e.vertexCount), this._freeIndices(t, e.indexFrom, e.indexCount), this._displayList.removeFromList(e), e.vertexFrom = void 0, e.indexFrom = void 0;
        }, B.prototype.setMeshData = function (e, t, r, i, o) {
          var n = M[e.geometryType];
          e.meshData = null;
          var s = void 0,
              a = void 0;
          void 0 === e.vertexFrom ? (a = t.vertexCount, s = this._allocateVertices(n, a)) : t.vertexCount > e.vertexCount ? (this._freeVertices(n, e.vertexFrom, e.vertexCount), a = t.vertexCount, s = this._allocateVertices(n, a)) : a = t.vertexCount === e.vertexCount ? (s = e.vertexFrom, e.vertexCount) : (this._freeVertices(n, e.vertexFrom + t.vertexCount, e.vertexCount - t.vertexCount), s = e.vertexFrom, t.vertexCount);
          var d = !0,
              u = void 0,
              f = void 0,
              v = void 0;
          if (void 0 === e.indexFrom ? (u = o, v = t.indexCount, f = this._allocateIndices(n, v)) : t.indexCount > e.indexCount ? (u = this._displayList.removeFromList(e), this._freeIndices(n, e.indexFrom, e.indexCount), v = t.indexCount, f = this._allocateIndices(n, v)) : v = t.indexCount === e.indexCount ? (d = !1, f = e.indexFrom, e.indexCount) : (u = this._displayList.removeFromList(e), this._freeIndices(n, e.indexFrom + t.indexCount, e.indexCount - t.indexCount), f = e.indexFrom, t.indexCount), -1 === s || -1 === f) return -1 !== s && this._freeVertices(n, s, a), -1 !== f && this._freeIndices(n, f, v), e.setMeshDataFromBuffers(t, r, i), e.vertexFrom = void 0, e.vertexCount = 0, e.indexFrom = void 0, e.indexCount = 0, !1;

          var x = this._storageFor(n);

          if (T.copyMeshData(s, f, x.vertexBuffers, x.indexBuffer, t, r, i), e.vertexFrom = s, e.indexFrom = f, e.vertexCount = t.vertexCount, e.indexCount = t.indexCount, this._dirtyMap) for (var l in this._dirtyMap.markDirtyIndices(e.geometryType, e.indexFrom, e.indexCount), r) this._dirtyMap.markDirtyVertices(e.geometryType, l, e.vertexFrom, e.vertexCount);
          return d && this._displayList.addToList(e, u), !0;
        }, B.prototype._allocateVertices = function (e, t) {
          var r = this._storageFor(e),
              i = r.vtxFreeList.allocate(t);

          return -1 === i ? -1 : .5 < r.vtxFreeList.fragmentation ? -1 : i;
        }, B.prototype._freeVertices = function (e, t, r) {
          var i = this._storageFor(e);

          if (i.vtxFreeList.free(t, r), v("esri-feature-tiles-debug")) for (var o in i.vertexBuffers) for (var n = i.vertexBuffers[o].data, s = this._stridesFor(e, o), a = T.strideToPackingFactor(s), d = t * s / a, u = r * s / a, f = d; f < d + u; ++f) n[f] = 0;
        }, B.prototype._freeIndices = function (e, t, r) {
          var i = this._storageFor(e);

          if (i.idxFreeList.free(t, r), v("esri-feature-tiles-debug")) for (var o = i.indexBuffer, n = t; n < t + r; ++n) o[n] = 0;
        }, B.prototype._allocateIndices = function (e, t) {
          var r = this._storageFor(e),
              i = r.idxFreeList.allocate(t);

          return -1 === i ? -1 : .5 < r.idxFreeList.fragmentation ? -1 : i;
        }, B.prototype._storageFor = function (e) {
          return this._freeListsAndStorage[e];
        }, B.prototype._stridesFor = function (e, t) {
          return this._strides[e][t];
        }, B;
      }();

      t["default"] = r;
    }.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/webgl/Fader.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Fader.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglFaderJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e) {
          void 0 === e && (e = 400), this.duration = e, this._lastTime = 0, this._elapsed = 0, this._value = 0, this._finished = !1;
        }

        return Object.defineProperty(e.prototype, "value", {
          get: function get() {
            return this._value;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.reset = function () {
          this._lastTime = 0, this._elapsed = 0, this._value = 0;
        }, e.prototype.step = function () {
          var e = performance.now();
          if (0 === this._lastTime) return this._lastTime = e, !(this._value = 0);
          if (this._elapsed >= this.duration) return !0;
          var t = e - this._lastTime;
          return this._elapsed += t, this._lastTime = e, this._value = Math.min(this._elapsed / this.duration, 1), !1;
        }, e;
      }();

      t["default"] = i;
    }.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/webgl/FreeList.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/FreeList.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglFreeListJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var n = function () {
        function e(e) {
          this._largestRange = null, this._parent = e, this._updateLargestRange();
        }

        return Object.defineProperty(e.prototype, "largestRange", {
          get: function get() {
            return this._largestRange;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.rangeCreated = function (e) {
          (!this._largestRange || e.count > this._largestRange.count) && (this._largestRange = e);
        }, e.prototype.rangeResized = function (e, t) {
          e === this._largestRange ? e.count < t && this._updateLargestRange() : (!this._largestRange || e.count > this._largestRange.count) && (this._largestRange = e);
        }, e.prototype.findBestRange = function (e) {
          for (var t = this._parent._freeHead, n = null; null !== t;) t.count >= e && (!n || t.count - e < n.count - e) && (n = t), t = t.next;

          return n;
        }, e.prototype.findAdjacentRanges = function (e, t) {
          for (var n = !0, r = !1, o = null, a = this._parent._freeHead; n && !r;) {
            var u = null !== o ? o.from + o.count : 0,
                i = null !== a ? a.from : this._parent._size;
            u <= e && e + t <= i ? r = !(n = !1) : null !== a ? a = (o = a).next : n = !1;
          }

          return [o, a];
        }, e.prototype._updateLargestRange = function () {
          for (var e = null, t = this._parent._freeHead; null !== t;) (!e || t.count > e.count) && (e = t), t = t.next;

          this._largestRange = e;
        }, e;
      }(),
          r = function () {
        function l(e, t) {
          this._allocated = 0, this._size = e, this._freeHead = 0 < e ? {
            from: 0,
            count: e,
            prev: null,
            next: null
          } : null, this._bookKeeper = t || new n(this), this._freeHead && this._bookKeeper.rangeCreated(this._freeHead);
        }

        return l.prototype.allocate = function (e) {
          var t = this._bookKeeper.findBestRange(e);

          if (null === t) return -1;
          var n = t.from,
              r = t.count;

          if (t.from += e, t.count -= e, this._bookKeeper.rangeResized(t, n, r), this._allocated += e, 0 === t.count) {
            var o = null !== t.prev ? this._freeHead : t.next;
            l._removeRange(t), this._freeHead = o;
          }

          return n;
        }, l.prototype.free = function (e, t) {
          var n = this._bookKeeper.findAdjacentRanges(e, t),
              r = n[0],
              o = n[1],
              a = {
            from: e,
            count: t,
            prev: r,
            next: o
          };

          if (null !== r && (r.next = a), null !== o && (o.prev = a), this._bookKeeper.rangeCreated(a), this._allocated -= t, null !== o && a.from + a.count === o.from) {
            var u = a.from,
                i = a.count;
            l._fuse(a, o), l._removeRange(o), this._bookKeeper.rangeResized(a, u, i), this._bookKeeper.rangeResized(o, void 0, 0);
          }

          if (null !== r && r.from + r.count === a.from) {
            u = r.from, i = r.count;
            l._fuse(r, a), l._removeRange(a), this._bookKeeper.rangeResized(r, u, i), this._bookKeeper.rangeResized(a, void 0, 0);
          }

          this._freeHead = null !== a.prev ? this._freeHead : a;
        }, Object.defineProperty(l.prototype, "fragmentation", {
          get: function get() {
            var e = this._size - this._allocated;
            return 0 === e ? 0 : 1 - this._bookKeeper.largestRange.count / e;
          },
          enumerable: !0,
          configurable: !0
        }), l._removeRange = function (e) {
          null !== e.prev ? null !== e.next ? (e.prev.next = e.next, e.next.prev = e.prev) : e.prev.next = null : null !== e.next && (e.next.prev = null);
        }, l._fuse = function (e, t) {
          e.count += t.count, e.next = t.next, t.from += t.count, t.count = 0, null !== t.next && (t.next.prev = e);
        }, l;
      }();

      t.FreeList = r;
    }.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/webgl/Geometry.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Geometry.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglGeometryJs(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 (t, i) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var n = function () {
        function n(t, i) {
          this.x = t, this.y = i;
        }

        return n.prototype.clone = function () {
          return new n(this.x, this.y);
        }, n.prototype.equals = function (t, i) {
          return t === this.x && i === this.y;
        }, n.prototype.isEqual = function (t) {
          return t.x === this.x && t.y === this.y;
        }, n.prototype.setCoords = function (t, i) {
          this.x = t, this.y = i;
        }, n.prototype.normalize = function () {
          var t = this.x,
              i = this.y,
              n = Math.sqrt(t * t + i * i);
          this.x /= n, this.y /= n;
        }, n.prototype.rightPerpendicular = function () {
          var t = this.x;
          this.x = this.y, this.y = -t;
        }, n.prototype.move = function (t, i) {
          this.x += t, this.y += i;
        }, n.prototype.assign = function (t) {
          this.x = t.x, this.y = t.y;
        }, n.prototype.assignAdd = function (t, i) {
          this.x = t.x + i.x, this.y = t.y + i.y;
        }, n.prototype.assignSub = function (t, i) {
          this.x = t.x - i.x, this.y = t.y - i.y;
        }, n.prototype.rotate = function (t, i) {
          var n = this.x,
              o = this.y;
          this.x = n * t - o * i, this.y = n * i + o * t;
        }, n.prototype.scale = function (t) {
          this.x *= t, this.y *= t;
        }, n.prototype.length = function () {
          var t = this.x,
              i = this.y;
          return Math.sqrt(t * t + i * i);
        }, n.distance = function (t, i) {
          var n = i.x - t.x,
              o = i.y - t.y;
          return Math.sqrt(n * n + o * o);
        }, n.add = function (t, i) {
          return new n(t.x + i.x, t.y + i.y);
        }, n.sub = function (t, i) {
          return new n(t.x - i.x, t.y - i.y);
        }, n;
      }();

      i.Point = 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/engine/webgl/GeometryUtils.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/GeometryUtils.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglGeometryUtilsJs(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) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.C_INFINITY = Number.POSITIVE_INFINITY, e.C_PI = Math.PI, e.C_2PI = 2 * e.C_PI, e.C_PI_BY_2 = e.C_PI / 2, e.C_RAD_TO_256 = 128 / e.C_PI, e.C_256_TO_RAD = e.C_PI / 128, e.C_DEG_TO_256 = 256 / 360, e.C_DEG_TO_RAD = e.C_PI / 180, e.C_SQRT2 = 1.414213562, e.C_SQRT2_INV = 1 / e.C_SQRT2;
      var n = 1 / Math.LN2;

      function t(_, e) {
        return 0 <= (_ %= e) ? _ : _ + e;
      }

      e.positiveMod = t, e.radToByte = function (_) {
        return t(_ * e.C_RAD_TO_256, 256);
      }, e.degToByte = function (_) {
        return t(_ * e.C_DEG_TO_256, 256);
      }, e.log2 = function (_) {
        return Math.log(_) * n;
      }, e.sqr = function (_) {
        return _ * _;
      }, e.interpolate = function (_, e, n) {
        return _ * (1 - n) + e * n;
      }, e.between = function (_, e, n) {
        return e <= _ && _ <= n || n <= _ && _ <= 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/webgl/GlyphMosaic.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/GlyphMosaic.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglGlyphMosaicJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js"), __webpack_require__(
    /*! ./RectangleBinPack */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/RectangleBinPack.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, b, a, h, u, d) {
      var P;
      h.enums.PixelFormat, h.enums.PixelType;
      return b("stable-symbol-rendering") && (P = new Set()), function () {
        function t(t, e, r) {
          this.width = 0, this.height = 0, this._dirties = [], this._glyphData = [], this._currentPage = 0, this._glyphIndex = {}, this._textures = [], this._rangePromises = new Map(), !P && b("stable-symbol-rendering") && (P = new Set()), this.width = t, this.height = e, this._glyphSource = r, this._binPack = new d(t - 4, e - 4), this._glyphData.push(new Uint8Array(t * e)), this._dirties.push(!0), this._textures.push(void 0), this._addDecorationGlyph();
        }

        return t.prototype.getGlyphItems = function (_, f, i) {
          for (var y = this, v = [], m = this._glyphSource, w = new Set(), t = 0, e = f; t < e.length; t++) {
            var r = e[t],
                s = Math.floor(r * (1 / 256));
            w.add(s);
          }

          var h = [];
          return w.forEach(function (t) {
            if (t <= 256) {
              var e = _ + t;
              if (y._rangePromises.has(e)) h.push(y._rangePromises.get(e));else {
                var r = m.getRange(_, t, i).then(function () {
                  y._rangePromises["delete"](e);
                })["catch"](function (t) {
                  if (y._rangePromises["delete"](e), !a.isAbortError(t)) throw Error("Unable to query resource");
                });
                y._rangePromises.set(e, r), h.push(r);
              }
            }
          }), a.all(h).then(function () {
            var t,
                e = y._glyphIndex[_];

            if (e || (e = {}, y._glyphIndex[_] = e), b("stable-symbol-rendering")) {
              P.clear();

              for (var r = 0, i = f; r < i.length; r++) {
                var s = i[r];
                P.add(s);
              }

              var h = [];
              w.forEach(function (t) {
                h.push(t);
              }), h.sort(), t = [];

              for (var a = 0, n = h; a < n.length; a++) for (var o = n[a], l = 0; l < 256; ++l) t.push(256 * o + l);
            } else t = f;

            for (var g = 0, c = t; g < c.length; g++) {
              var p = e[s = c[g]];
              if (p) b("stable-symbol-rendering") && !P.has(s) || (v[s] = {
                sdf: !0,
                rect: p.rect,
                metrics: p.metrics,
                page: p.page
              });else {
                var u = m.getGlyph(_, s);

                if (u && u.metrics) {
                  var d = y._recordGlyph(u);

                  e[s] = {
                    rect: d,
                    metrics: u.metrics,
                    tileIDs: null,
                    page: y._currentPage
                  }, b("stable-symbol-rendering") && !P.has(s) || (v[s] = {
                    sdf: !0,
                    rect: d,
                    metrics: u.metrics,
                    page: y._currentPage
                  }), y._dirties[y._currentPage] = !0;
                }
              }
            }

            return v;
          });
        }, t.prototype._recordGlyph = function (t) {
          var e,
              r = t.metrics;
          if (0 === r.width) e = new u["default"](0, 0, 0, 0);else {
            var i = r.width + 6,
                s = r.height + 6,
                h = i % 4 ? 4 - i % 4 : 4,
                a = s % 4 ? 4 - s % 4 : 4;
            1 === h && (h = 5), 1 === a && (a = 5), (e = this._binPack.allocate(i + h, s + a)).isEmpty && (this._dirties[this._currentPage] || (this._glyphData[this._currentPage] = null), this._currentPage = this._glyphData.length, this._glyphData.push(new Uint8Array(this.width * this.height)), this._dirties.push(!0), this._textures.push(void 0), this._binPack = new d(this.width - 4, this.height - 4), e = this._binPack.allocate(i + h, s + a));
            var n = this._glyphData[this._currentPage],
                o = t.bitmap,
                l = void 0,
                g = void 0;
            if (o) for (var c = 0; c < s; c++) {
              l = i * c, g = this.width * (e.y + c + 1) + e.x;

              for (var p = 0; p < i; p++) n[g + p + 1] = o[l + p];
            }
          }
          return e;
        }, t.prototype._addDecorationGlyph = function () {
          for (var t = [117, 149, 181, 207, 207, 181, 149, 117], e = [], r = 0; r < t.length; r++) for (var i = t[r], s = 0; s < 11; s++) e.push(i);

          var h = {
            metrics: {
              width: 5,
              height: 2,
              left: 0,
              top: 0,
              advance: 0
            },
            bitmap: new Uint8Array(e)
          };

          this._recordGlyph(h);
        }, t.prototype.bind = function (t, e, r, i) {
          this._textures[r] || (this._textures[r] = new h.Texture(t, {
            pixelFormat: 6406,
            dataType: 5121,
            width: this.width,
            height: this.height
          }, new Uint8Array(this.width * this.height)));
          var s = this._textures[r];
          s.setSamplingMode(e), this._dirties[r] && s.setData(this._glyphData[r]), t.bindTexture(s, i), this._dirties[r] = !1;
        }, t.prototype.dispose = function () {
          this._binPack = null;

          for (var t = 0, e = this._textures; t < e.length; t++) {
            var r = e[t];
            r && r.dispose();
          }

          this._textures.length = 0, this._glyphData.length = 0;
        }, t;
      }();
    }.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/webgl/GlyphSource.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/GlyphSource.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglGlyphSourceJs(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__(
    /*! ../../../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../../../core/pbf */
    "./node_modules/arcgis-js-api/core/pbf.js"), __webpack_require__(
    /*! ../../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, c, g, p) {
      var f = function () {
        function t(t) {
          for (this._metrics = [], this._bitmaps = []; t.next();) switch (t.tag()) {
            case 1:
              for (var e = t.getMessage(); e.next();) switch (e.tag()) {
                case 3:
                  for (var r = e.getMessage(), n = void 0, a = void 0, i = void 0, s = void 0, o = void 0, c = void 0, g = void 0; r.next();) switch (r.tag()) {
                    case 1:
                      n = r.getUInt32();
                      break;

                    case 2:
                      a = r.getBytes();
                      break;

                    case 3:
                      i = r.getUInt32();
                      break;

                    case 4:
                      s = r.getUInt32();
                      break;

                    case 5:
                      o = r.getSInt32();
                      break;

                    case 6:
                      c = r.getSInt32();
                      break;

                    case 7:
                      g = r.getUInt32();
                      break;

                    default:
                      r.skip();
                  }

                  r.release(), n && (this._metrics[n] = {
                    width: i,
                    height: s,
                    left: o,
                    top: c,
                    advance: g
                  }, this._bitmaps[n] = a);
                  break;

                default:
                  e.skip();
              }

              e.release();
              break;

            default:
              t.skip();
          }
        }

        return t.prototype.getMetrics = function (t) {
          return this._metrics[t];
        }, t.prototype.getBitmap = function (t) {
          return this._bitmaps[t];
        }, t;
      }(),
          r = function () {
        function t() {
          this._ranges = [];
        }

        return t.prototype.getRange = function (t) {
          return this._ranges[t];
        }, t.prototype.addRange = function (t, e) {
          this._ranges[t] = e;
        }, t;
      }();

      return function () {
        function t(t) {
          this._glyphInfo = {}, this._baseURL = t;
        }

        return t.prototype.getRange = function (t, e, r) {
          var n = this._getFontStack(t);

          if (n.getRange(e)) return p.resolve();

          var a = 256 * e,
              i = a + 255,
              s = this._baseURL.replace("{fontstack}", t).replace("{range}", a + "-" + i);

          return c(s, o({
            responseType: "array-buffer"
          }, r)).then(function (t) {
            n.addRange(e, new f(new g(new Uint8Array(t.data), new DataView(t.data))));
          });
        }, t.prototype.getGlyph = function (t, e) {
          var r = this._getFontStack(t);

          if (r) {
            var n = Math.floor(e / 256);

            if (!(256 < n)) {
              var a = r.getRange(n);
              if (a) return {
                metrics: a.getMetrics(e),
                bitmap: a.getBitmap(e)
              };
            }
          }
        }, t.prototype._getFontStack = function (t) {
          var e = this._glyphInfo[t];
          return e || (e = this._glyphInfo[t] = new r()), e;
        }, t;
      }();
    }.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/webgl/MaterialManager.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/MaterialManager.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMaterialManagerJs(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_require__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./shaders/MaterialPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/MaterialPrograms.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, u, h, t, p, m) {
      var c = function c(r) {
        return r === p.WGLDrawPhase.HITTEST || r === p.WGLDrawPhase.LABEL_ALPHA;
      },
          f = function f(r, e, t, a) {
        var o,
            i = r.rendererInfo,
            n = r.drawPhase;
        return e.getVariationHash() + "-" + a.join(".") + "-" + ((c(o = n) ? 1 : 0) | (o === p.WGLDrawPhase.HIGHLIGHT ? 2 : 0)) + "-" + i.getVariationHash() + "-" + (h.isSome(t) && t.join("."));
      };

      return function () {
        function r(r) {
          this._programByKey = new Map(), this._programCache = new t.ProgramCache(r);
        }

        return r.prototype.dispose = function () {
          this._programCache && this._programCache.dispose();
        }, r.prototype.getProgram = function (a, r, e, t) {
          void 0 === e && (e = []), void 0 === t && (t = []);
          var o = r.path + e.join(".") + t.join(".");
          if (this._programByKey.has(o)) return this._programByKey.get(o);

          var i = t.reduce(function (r, e) {
            var t;
            return u({}, r, ((t = {})[e] = a.driverTestResult[e], t));
          }, {}),
              n = u({}, e.reduce(function (r, e) {
            var t;
            return u({}, r, ((t = {})[e] = !0, t));
          }, {}), i),
              s = r.path,
              g = r.attributes,
              h = this._programCache.getProgram(m.createProgramTemplate(s, g), n);

          if (!h) throw new Error("Unable to get program for key: ${key}");
          return this._programByKey.set(o, h), h;
        }, r.prototype.getMaterialProgram = function (r, e, t, a, o, i) {
          void 0 === i && (i = ["ignoresSamplerPrecision"]);
          var n = f(r, e, o, i);
          if (this._programByKey.has(n)) return this._programByKey.get(n);

          var s = function (a, r, e, t) {
            var o = t.reduce(function (r, e) {
              var t;
              return u({}, r, ((t = {})[e] = a.driverTestResult[e], t));
            }, {}),
                i = u({}, r.getVariation(), a.rendererInfo.getVariation(), {
              highlight: a.drawPhase === p.WGLDrawPhase.HIGHLIGHT,
              id: c(a.drawPhase)
            }, o);
            if (h.isSome(e)) for (var n = 0, s = e; n < s.length; n++) i[s[n]] = !0;
            return i;
          }(r, e, o, i),
              g = this._programCache.getProgram(m.createProgramTemplate(t, a), s);

          if (!g) throw new Error("Unable to get program for key: ${key}");
          return this._programByKey.set(n, g), g;
        }, r;
      }();
    }.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/webgl/MemoryRequirements.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/MemoryRequirements.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMemoryRequirementsJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e() {
          this._byGeometryType = null;
        }

        return Object.defineProperty(e.prototype, "satisfied", {
          get: function get() {
            return !this._byGeometryType;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.reset = function () {
          this._byGeometryType = null;
        }, e.prototype.verticesFor = function (e) {
          return this._byGeometryType ? this._byGeometryType[e].vertices : 0;
        }, e.prototype.indicesFor = function (e) {
          return this._byGeometryType ? this._byGeometryType[e].indices : 0;
        }, e.prototype.needMore = function (e, t, i) {
          if (t || i) {
            this._byGeometryType || (this._byGeometryType = [{
              vertices: 0,
              indices: 0
            }, {
              vertices: 0,
              indices: 0
            }, {
              vertices: 0,
              indices: 0
            }, {
              vertices: 0,
              indices: 0
            }, {
              vertices: 0,
              indices: 0
            }]);
            var r = this._byGeometryType[e];
            r.vertices += t, r.indices += i;
          }
        }, e;
      }();

      t["default"] = i;
    }.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/webgl/Mesh2D.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Mesh2D.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMesh2DJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.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/libs/earcut/earcut */
    "./node_modules/arcgis-js-api/core/libs/earcut/earcut.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/vec2f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js"), __webpack_require__(
    /*! ../../../../layers/graphics/featureConversionUtils */
    "./node_modules/arcgis-js-api/layers/graphics/featureConversionUtils.js"), __webpack_require__(
    /*! ../../../../layers/graphics/OptimizedGeometry */
    "./node_modules/arcgis-js-api/layers/graphics/OptimizedGeometry.js"), __webpack_require__(
    /*! ./number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../../webgl/BufferObject */
    "./node_modules/arcgis-js-api/views/webgl/BufferObject.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, c, n, t, o, m, u, h, y, v, g, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = t.getLogger("esri.views.2d.engine.webgl.Mesh2D"),
          l = function l(e, r, t, n) {
        for (var o = 0, i = 1; i < t; i++) {
          var c = e[2 * (r + i - 1)],
              a = e[2 * (r + i - 1) + 1];
          o += (e[2 * (r + i)] - c) * (e[2 * (r + i) + 1] + a);
        }

        return n ? 0 < o : o < 0;
      },
          x = function x(e, r) {
        for (var t = e.coords, n = e.lengths, o = [], i = 0, c = 0; i < n.length; c += n[i], i += 1) {
          for (var a = c, f = []; i < n.length - 1 && l(t, c + n[i], n[i + 1], r); c += n[i += 1]) f.push(c + n[i] - a);

          for (var s = t.slice(2 * a, 2 * (c + n[i])), u = 0, h = m(s, f, 2); u < h.length; u++) {
            var y = h[u];
            o.push(y + a);
          }
        }

        return o;
      },
          f = function () {
        function s(e, r, t, n) {
          void 0 === n && (n = !1), this._cache = {}, this.vertices = e, this.indices = r, this.primitiveType = t, this.isMapSpace = n;
        }

        return s.fromRect = function (e) {
          var r = e.x,
              t = e.y,
              n = e.width,
              o = e.height;
          return s.fromScreenExtent({
            xmin: r,
            ymin: t,
            xmax: r + n,
            ymax: t + o
          });
        }, s.fromPath = function (e) {
          for (var r = y.convertFromNestedArray(new v["default"](), e.path, !1, !1), t = r.coords, n = new Uint32Array(x(r, !0)), o = new Uint32Array(t.length / 2), i = 0; i < o.length; i++) o[i] = g.i1616to32(Math.floor(t[2 * i]), Math.floor(t[2 * i + 1]));

          return new s({
            geometry: o
          }, n, 4);
        }, s.fromGeometry = function (e, r) {
          var t = r.geometry.type;

          switch (t) {
            case "polygon":
              return s.fromPolygon(e, r.geometry);

            case "extent":
              return s.fromMapExtent(e, r.geometry);

            default:
              return i.error(new n("mapview-bad-type", "Unable to create a mesh from type " + t, r)), s.fromRect({
                x: 0,
                y: 0,
                width: 1,
                height: 1
              });
          }
        }, s.fromPolygon = function (e, r) {
          for (var t = y.convertFromPolygon(new v["default"](), r, !1, !1), n = t.coords, o = new Uint32Array(x(t, !1)), i = new Uint32Array(n.length / 2), c = h.vec2f64.create(), a = h.vec2f64.create(), f = 0; f < i.length; f++) u.vec2.set(c, n[2 * f], n[2 * f + 1]), e.toScreen(a, c), i[f] = g.i1616to32(Math.floor(a[0]), Math.floor(a[1]));

          return new s({
            geometry: i
          }, o, 4, !0);
        }, s.fromScreenExtent = function (e) {
          var r = e.xmin,
              t = e.xmax,
              n = e.ymin,
              o = e.ymax;
          return new s({
            geometry: new Uint32Array([g.i1616to32(r, n), g.i1616to32(t, n), g.i1616to32(r, o), g.i1616to32(r, o), g.i1616to32(t, n), g.i1616to32(t, o)])
          }, new Uint32Array([0, 1, 2, 3, 4, 5]), 4);
        }, s.fromMapExtent = function (e, r) {
          var t = e.toScreen([0, 0], [r.xmin, r.ymin]),
              n = t[0],
              o = t[1],
              i = e.toScreen([0, 0], [r.xmax, r.ymax]),
              c = i[0],
              a = i[1];
          return new s({
            geometry: new Uint32Array([g.i1616to32(n, o), g.i1616to32(c, o), g.i1616to32(n, a), g.i1616to32(n, a), g.i1616to32(c, o), g.i1616to32(c, a)])
          }, new Uint32Array([0, 1, 2, 3, 4, 5]), 4);
        }, s.prototype.destroy = function () {
          for (var e in o.isSome(this._cache.indexBuffer) && this._cache.indexBuffer.dispose(), this._cache.vertexBuffers) o.isSome(this._cache.vertexBuffers[e]) && this._cache.vertexBuffers[e].dispose();
        }, Object.defineProperty(s.prototype, "elementType", {
          get: function get() {
            return function (e) {
              switch (e.BYTES_PER_ELEMENT) {
                case 1:
                  return 5121;

                case 2:
                  return 5123;

                case 4:
                  return 5125;

                default:
                  throw new n("Cannot get DataType of array");
              }
            }(this.indices);
          },
          enumerable: !0,
          configurable: !0
        }), s.prototype.getIndexBuffer = function (e, r) {
          return void 0 === r && (r = 35044), this._cache.indexBuffer || (this._cache.indexBuffer = a.createIndex(e, r, this.indices)), this._cache.indexBuffer;
        }, s.prototype.getVertexBuffers = function (n, o) {
          var i = this;
          return void 0 === o && (o = 35044), this._cache.vertexBuffers || (this._cache.vertexBuffers = Object.keys(this.vertices).reduce(function (e, r) {
            var t;
            return c({}, e, ((t = {})[r] = a.createVertex(n, o, i.vertices[r]), t));
          }, {})), this._cache.vertexBuffers;
        }, s;
      }();

      r["default"] = 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/engine/webgl/MeshData.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/MeshData.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshDataJs(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 (t, e) {
      return function () {
        function t() {
          this.vertexData = new Map(), this.vertexCount = 0, this.indexData = [];
        }

        return t.prototype.clear = function () {
          this.vertexData.clear(), this.vertexCount = 0, this.indexData = [];
        }, t.prototype.update = function (t, e, i) {
          for (var n in t) this.vertexData.set(n, t[n]);

          for (var n in this.vertexData) null === t[n] && this.vertexData["delete"](n);

          this.vertexCount = e, this.indexData = i;
        }, t;
      }();
    }.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/webgl/Painter.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Painter.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglPainterJs(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__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../../engine */
    "./node_modules/arcgis-js-api/views/2d/engine.js"), __webpack_require__(
    /*! ../vectorTiles/shaders/ProgramCache */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/ProgramCache.js"), __webpack_require__(
    /*! ./BitBlitRenderer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/BitBlitRenderer.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./MaterialManager */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/MaterialManager.js"), __webpack_require__(
    /*! ./TextureManager */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextureManager.js"), __webpack_require__(
    /*! ./effects/AnimationEffect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/AnimationEffect.js"), __webpack_require__(
    /*! ./effects/HighlightEffect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/HighlightEffect.js"), __webpack_require__(
    /*! ./effects/HittestEffect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/HittestEffect.js"), __webpack_require__(
    /*! ./painter/RenderPass */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/painter/RenderPass.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, s, h, a, o, l, u, f, b, c) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var p = function p() {};

      t.PainterOptions = p;

      var d = function () {
        function e(e) {
          this.context = e, this._blitRenderer = new h.BitBlitRenderer(), this._brushCache = new Map(), this._vtlProgramCache = null, this.brushNameToCtor = {
            marker: i.brushes.Marker,
            line: i.brushes.Line,
            fill: i.brushes.Fill,
            text: i.brushes.Text,
            label: i.brushes.Label,
            clip: i.brushes.Clip,
            stencil: i.brushes.Stencil,
            bitmap: i.brushes.Bitmap,
            tileInfo: i.brushes.TileInfo,
            vtlBackground: i.brushes.VTLBackground,
            vtlFill: i.brushes.VTLFill,
            vtlLine: i.brushes.VTLLine,
            vtlCircle: i.brushes.VTLCircle,
            vtlSymbol: i.brushes.VTLSymbol
          }, this.textureManager = new l(), this.effects = {
            highlight: new f["default"](),
            hittest: new b.HittestEffect(),
            integrate: new u.AnimationEffect()
          }, this.materialManager = new o(e), this._vtlProgramCache = new s["default"](e);
        }

        return e.prototype.getFbos = function (e, t) {
          if (e !== this._lastWidth || t !== this._lastHeight) {
            if (this._lastWidth = e, this._lastHeight = t, this._fbos) for (var r in this._fbos) this._fbos[r].dispose();
            var s = {
              target: 3553,
              pixelFormat: 6408,
              dataType: 5121,
              samplingMode: 9728,
              wrapMode: 33071,
              width: e,
              height: t
            },
                i = {
              colorTarget: 0,
              depthStencilTarget: 3
            },
                h = new n.Renderbuffer(this.context, {
              width: e,
              height: t,
              internalFormat: 34041
            });
            this._fbos = {
              output: new n.FramebufferObject(this.context, i, s, h),
              alpha: new n.FramebufferObject(this.context, i, s, h),
              effect0: new n.FramebufferObject(this.context, i, s, h)
            };
          }

          return this._fbos;
        }, e.prototype.beforeRenderLayers = function (e) {
          var t = e.getViewport(),
              r = t.width,
              s = t.height,
              i = this.getFbos(r, s);
          this._prevFBO = e.getBoundFramebufferObject(), e.bindFramebuffer(i.output), e.setDepthWriteEnabled(!0), e.setClearColor(0, 0, 0, 0), e.setClearDepth(1), e.clear(e.gl.COLOR_BUFFER_BIT | e.gl.DEPTH_BUFFER_BIT), e.setDepthWriteEnabled(!1);
        }, e.prototype.beforeRenderLayer = function (e, t, r) {
          1 !== r ? (e.bindFramebuffer(this._fbos.alpha), e.setClearColor(0, 0, 0, 0), e.clear(e.gl.COLOR_BUFFER_BIT)) : e.bindFramebuffer(this._fbos.output), e.setDepthWriteEnabled(!1), e.setDepthTestEnabled(!1), e.setStencilTestEnabled(!0), e.setClearStencil(t), e.setStencilWriteMask(255), e.clear(e.gl.STENCIL_BUFFER_BIT);
        }, e.prototype.compositeLayer = function (e, t) {
          1 !== t && (e.bindFramebuffer(this._fbos.output), e.setStencilTestEnabled(!1), e.setStencilWriteMask(0), e.setBlendingEnabled(!0), e.setBlendFunctionSeparate(1, 771, 1, 771), e.setColorMask(!0, !0, !0, !0), this._blitRenderer.render(e, this._fbos.alpha.colorTexture, 9728, t));
        }, e.prototype.renderLayers = function (e) {
          e.bindFramebuffer(this._prevFBO), this._fbos && (e.setStencilTestEnabled(!1), e.setStencilWriteMask(0), e.setBlendingEnabled(!0), e.setBlendFunctionSeparate(1, 771, 1, 771), e.setColorMask(!0, !0, !0, !0), this._blitRenderer.render(e, this._fbos.output.colorTexture, 9728, 1));
        }, e.prototype.dispose = function () {
          if (this.materialManager.dispose(), this.textureManager.dispose(), this._blitRenderer && (this._blitRenderer.dispose(), this._blitRenderer = null), this._vtlProgramCache && (this._vtlProgramCache.dispose(), this._vtlProgramCache = null), this._brushCache && (this._brushCache.forEach(function (e) {
            return e.dispose();
          }), this._brushCache.clear(), this._brushCache = null), this._fbos) for (var e in this._fbos) this._fbos[e] && this._fbos[e].dispose();
          if (this.effects) for (var t in this.effects) this.effects[t] && this.effects[t].dispose();
          this._prevFBO = null;
        }, e.prototype.getGeometryBrush = function (e) {
          var t,
              r = ((t = {})[a.WGLGeometryType.FILL] = i.brushes.Fill, t[a.WGLGeometryType.LINE] = i.brushes.Line, t[a.WGLGeometryType.MARKER] = i.brushes.Marker, t[a.WGLGeometryType.TEXT] = i.brushes.Text, t)[e],
              s = this._brushCache.get(r);

          return void 0 === s && (s = new r(), this._brushCache.set(r, s)), this._brushCache.get(r);
        }, e.prototype.renderObject = function (e, t, r, s) {
          var i = this.brushNameToCtor[r];
          if (!i) return null;

          var h = this._brushCache.get(i);

          void 0 === h && (h = new i(), this._brushCache.set(i, h)), h.prepareState(e, t, s), h.draw(e, t, s);
        }, e.prototype.renderObjects = function (e, t, r, s) {
          var i = this.brushNameToCtor[r];
          if (!i) return null;

          var h = this._brushCache.get(i);

          void 0 === h && (h = new i(), this._brushCache.set(i, h)), h.drawMany(e, t, s);
        }, e.prototype.getVectorTileProgramCach = function () {
          return this._vtlProgramCache;
        }, e.prototype.registerRenderPass = function (e) {
          var t = this,
              r = e.brushes.map(function (e) {
            return t._brushCache.has(e) || t._brushCache.set(e, new e()), t._brushCache.get(e);
          });
          return new c["default"](r, e);
        }, e.prototype.setHighlightOptions = function (e) {
          this.effects.highlight.setHighlightOptions(e);
        }, e;
      }();

      t["default"] = d;
    }.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/webgl/Profiler.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Profiler.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglProfilerJs(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/CircularArray */
    "./node_modules/arcgis-js-api/core/CircularArray.js"), __webpack_require__(
    /*! ../../../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../../webgl/capabilities/DisjointTimerQuery */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/DisjointTimerQuery.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, s, a, n, g, m) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var f = n("esri-2d-profiler"),
          r = function () {
        function e(e, t) {
          var o = this;

          if (this._events = new a(), this._entries = new Map(), this._timings = new s["default"](10), f) {
            this._ext = m.load(e.gl, {}), this._debugOutput = t;
            var i = e.gl;

            if (this.enableCommandLogging) {
              var n = function n(_n4) {
                if ("function" == typeof i[_n4]) {
                  var r = i[_n4],
                      s = -1 !== _n4.indexOf("draw");

                  i[_n4] = function () {
                    for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

                    return o._events.emit("command", {
                      container: o._currentContainer,
                      pass: o._currentPass,
                      brush: o._currentBrush,
                      method: _n4,
                      args: e,
                      isDrawCommand: s
                    }), o._currentSummary && (o._currentSummary.commands++, s && o._currentSummary.drawCommands++), r.apply(i, e);
                  };
                }
              };

              for (var r in i) n(r);
            }
          }
        }

        return Object.defineProperty(e.prototype, "enableCommandLogging", {
          get: function get() {
            return !("object" == typeof f && f.disableCommands);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.recordContainerStart = function (e) {
          f && (this._currentContainer = e);
        }, e.prototype.recordContainerEnd = function () {
          f && (this._currentContainer = null);
        }, e.prototype.recordPassStart = function (e) {
          f && (this._currentPass = e, this._initSummary());
        }, e.prototype.recordPassEnd = function () {
          f && (this._currentPass = null, this._emitSummary());
        }, e.prototype.recordBrushStart = function (e) {
          f && (this._currentBrush = e);
        }, e.prototype.recordBrushEnd = function () {
          f && (this._currentBrush = null);
        }, e.prototype.recordStart = function (e) {
          if (f && g.isSome(this._ext)) {
            if (this._entries.has(e)) {
              var t = this._entries.get(e),
                  n = this._ext.resultAvailable(t.query),
                  r = this._ext.disjoint();

              if (n && !r) {
                var s = this._ext.getResult(t.query) / 1e6,
                    o = 0;

                if (g.isSome(this._timings.enqueue(s))) {
                  for (var i = this._timings.entries, a = i.length, m = 0, u = 0, d = i; u < d.length; u++) {
                    m += d[u];
                  }

                  o = m / a;
                }

                var c = s.toFixed(2),
                    h = o ? o.toFixed(2) : "--";
                this.enableCommandLogging ? (console.groupCollapsed("Frame report for " + e + ", " + c + " ms (" + h + " last 10 avg)\n" + t.commandsLen + " Commands (" + t.drawCommands + " draw)"), console.log("RenderPass breakdown: "), console.table(t.summaries), console.log("Commands: ", t.commands), console.groupEnd()) : console.log("Frame report for " + e + ", " + c + " ms (" + h + " last 10 avg)"), this._debugOutput.innerHTML = c + " (" + h + ")";
              }

              for (var l = 0, p = t.handles; l < p.length; l++) {
                p[l].remove();
              }

              this._entries["delete"](e);
            }

            var _ = {
              name: e,
              query: this._ext.createQuery(),
              commands: [],
              commandsLen: 0,
              drawCommands: 0,
              summaries: [],
              handles: []
            };
            this.enableCommandLogging && (_.handles.push(this._events.on("command", function (e) {
              _.commandsLen++, _.commands.push(e), e.isDrawCommand && _.drawCommands++;
            })), _.handles.push(this._events.on("summary", function (e) {
              delete e.target, _.summaries.push(e);
            }))), this._ext.beginTimeElapsed(_.query), this._entries.set(e, _);
          }
        }, e.prototype.recordEnd = function (e) {
          f && g.isSome(this._ext) && this._entries.has(e) && this._ext.endTimeElapsed();
        }, e.prototype._initSummary = function () {
          this.enableCommandLogging && (this._currentSummary = {
            container: this._currentContainer,
            pass: this._currentPass,
            drawCommands: 0,
            commands: 0
          });
        }, e.prototype._emitSummary = function () {
          this.enableCommandLogging && this._events.emit("summary", this._currentSummary);
        }, e;
      }();

      t.Profiler = r;
    }.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/webgl/Rect.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglRectJs(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 (t, i) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var h = function () {
        function t(t, i, h, e) {
          void 0 === t && (t = 0), void 0 === i && (i = 0), void 0 === h && (h = 0), void 0 === e && (e = 0), this.x = t, this.y = i, this.width = h, this.height = e;
        }

        return Object.defineProperty(t.prototype, "isEmpty", {
          get: function get() {
            return this.width <= 0 || this.height <= 0;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.union = function (t) {
          this.x = Math.min(this.x, t.x), this.y = Math.min(this.y, t.y), this.width = Math.max(this.width, t.width), this.height = Math.max(this.height, t.height);
        }, t;
      }();

      i["default"] = h;
    }.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/webgl/RectangleBinPack.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/RectangleBinPack.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglRectangleBinPackJs(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__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, f) {
      return function () {
        function e(e, t) {
          this._width = 0, this._height = 0, this._free = [], this._width = e, this._height = t, this._free.push(new f["default"](0, 0, e, t));
        }

        return Object.defineProperty(e.prototype, "width", {
          get: function get() {
            return this._width;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "height", {
          get: function get() {
            return this._height;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.allocate = function (e, t) {
          if (e > this._width || t > this._height) return new f["default"]();

          for (var h = null, i = -1, r = 0; r < this._free.length; ++r) {
            var n = this._free[r];
            e <= n.width && t <= n.height && (null === h || n.y <= h.y && n.x <= h.x) && (h = n, i = r);
          }

          return null === h ? new f["default"]() : (this._free.splice(i, 1), h.width < h.height ? (h.width > e && this._free.push(new f["default"](h.x + e, h.y, h.width - e, t)), h.height > t && this._free.push(new f["default"](h.x, h.y + t, h.width, h.height - t))) : (h.width > e && this._free.push(new f["default"](h.x + e, h.y, h.width - e, h.height)), h.height > t && this._free.push(new f["default"](h.x, h.y + t, e, h.height - t))), new f["default"](h.x, h.y, e, t));
        }, e.prototype.release = function (e) {
          for (var t = 0; t < this._free.length; ++t) {
            var h = this._free[t];
            if (h.y === e.y && h.height === e.height && h.x + h.width === e.x) h.width += e.width;else if (h.x === e.x && h.width === e.width && h.y + h.height === e.y) h.height += e.height;else if (e.y === h.y && e.height === h.height && e.x + e.width === h.x) h.x = e.x, h.width += e.width;else {
              if (e.x !== h.x || e.width !== h.width || e.y + e.height !== h.y) continue;
              h.y = e.y, h.height += e.height;
            }
            this._free.splice(t, 1), this.release(e);
          }

          this._free.push(e);
        }, 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/webgl/SDFConverter.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/SDFConverter.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglSDFConverterJs(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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./packingUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/packingUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, s, d, c) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var v = 1e20,
          r = function () {
        function t(t) {
          this.size = t, this.canvas = document.createElement("canvas"), this.canvas.width = this.canvas.height = t, this.context = this.canvas.getContext("2d"), this._gridOuter = new Float64Array(t * t), this._gridInner = new Float64Array(t * t), this._f = new Float64Array(t), this._d = new Float64Array(t), this._z = new Float64Array(t + 1), this._v = new Int16Array(t);
        }

        return t.prototype.draw = function (t, r, o) {
          var h = this;
          void 0 === o && (o = 31), this._initSVG();

          var i = this._createSVGString(t);

          return s.create(function (a, t) {
            var n = new Image();
            n.src = "data:image/svg+xml; charset=utf8, " + encodeURIComponent(i), n.onload = function () {
              h.context.clearRect(0, 0, h.size, h.size), h.context.drawImage(n, 0, 0, h.size, h.size);

              for (var t = h.context.getImageData(0, 0, h.size, h.size), e = new Uint8Array(h.size * h.size * 4), r = 0; r < h.size * h.size; r++) {
                var i = t.data[4 * r + 3] / 255;
                h._gridOuter[r] = 1 === i ? 0 : 0 === i ? v : Math.pow(Math.max(0, .5 - i), 2), h._gridInner[r] = 1 === i ? v : 0 === i ? 0 : Math.pow(Math.max(0, i - .5), 2);
              }

              h._edt(h._gridOuter, h.size, h.size), h._edt(h._gridInner, h.size, h.size);

              for (r = 0; r < h.size * h.size; r++) {
                var s = .5 - (h._gridOuter[r] - h._gridInner[r]) / (2 * o);
                c.packFloatRGBA(s, e, 4 * r);
              }

              a(e);
            };
            var e = r && r.signal;
            e && d.onAbort(e, function () {
              return t(d.createAbortError());
            });
          });
        }, t.prototype._initSVG = function () {
          if (!this._svg) {
            var t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
            t.setAttribute("style", "position: absolute;"), t.setAttribute("width", "0"), t.setAttribute("height", "0"), t.setAttribute("aria-hidden", "true"), t.setAttribute("role", "presentation"), document.body.appendChild(t), this._svg = t;
          }
        }, t.prototype._createSVGString = function (t) {
          var e = document.createElementNS("http://www.w3.org/2000/svg", "path");
          e.setAttribute("d", t), this._svg.appendChild(e);
          var r,
              i,
              s,
              a,
              n = e.getBBox(),
              o = n.width / n.height,
              h = this.size / 2;

          if (1 < o) {
            i = r = h / n.width;
            var d = h * (1 / o);
            s = this.size / 4, a = h - d / 2;
          } else {
            r = i = h / n.height, s = h - h * o / 2, a = this.size / 4;
          }

          var c = -n.x * r + s,
              v = -n.y * i + a;
          e.setAttribute("style", "transform: matrix(" + r + ", 0, 0, " + i + ", " + c + ", " + v + ")");
          var g = '<svg style="fill:red;" height="' + this.size + '" width="' + this.size + '" xmlns="http://www.w3.org/2000/svg">' + this._svg.innerHTML + "</svg>";
          return this._svg.removeChild(e), g;
        }, t.prototype._edt = function (t, e, r) {
          for (var i = this._f, s = this._d, a = this._v, n = this._z, o = 0; o < e; o++) {
            for (var h = 0; h < r; h++) i[h] = t[h * e + o];

            this._edt1d(i, s, a, n, r);

            for (h = 0; h < r; h++) t[h * e + o] = s[h];
          }

          for (h = 0; h < r; h++) {
            for (o = 0; o < e; o++) i[o] = t[h * e + o];

            this._edt1d(i, s, a, n, e);

            for (o = 0; o < e; o++) t[h * e + o] = Math.sqrt(s[o]);
          }
        }, t.prototype._edt1d = function (t, e, r, i, s) {
          i[r[0] = 0] = -v, i[1] = +v;

          for (var a = 1, n = 0; a < s; a++) {
            for (var o = (t[a] + a * a - (t[r[n]] + r[n] * r[n])) / (2 * a - 2 * r[n]); o <= i[n];) n--, o = (t[a] + a * a - (t[r[n]] + r[n] * r[n])) / (2 * a - 2 * r[n]);

            r[++n] = a, i[n] = o, i[n + 1] = +v;
          }

          for (a = 0, n = 0; a < s; a++) {
            for (; i[n + 1] < a;) n++;

            e[a] = (a - r[n]) * (a - r[n]) + t[r[n]];
          }
        }, t;
      }();

      e["default"] = r;
    }.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/webgl/SpriteMosaic.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/SpriteMosaic.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglSpriteMosaicJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./GeometryUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/GeometryUtils.js"), __webpack_require__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js"), __webpack_require__(
    /*! ./RectangleBinPack */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/RectangleBinPack.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, c, h, o, p, g) {
      return function () {
        function s(t, e, i) {
          if (void 0 === i && (i = 0), this._size = [], this._mosaicsData = [], this._textures = [], this._dirties = [], this._maxItemSize = 0, this._currentPage = 0, this._fixSpriteLocationsTable = c("fix-sprite-locations"), this._testId = c("test-id"), this._pageWidth = 0, this._pageHeight = 0, this._mosaicRects = new Map(), this._spriteCopyQueue = [], this.pixelRatio = 1, (t <= 0 || e <= 0) && console.error("Sprites mosaic defaultWidth and defaultHeight must be greater than zero!"), this._pageWidth = t, this._pageHeight = e, 0 < i && (this._maxItemSize = i), this.pixelRatio = window.devicePixelRatio || 1, this._fixSpriteLocationsTable) {
            var s = [];

            for (var a in this._fixSpriteLocationsTable[this._testId]) {
              var h = this._fixSpriteLocationsTable[this._testId][a];
              s[h.page] = h.pageSize;
            }

            for (var r = 0, o = s; r < o.length; r++) {
              var p = o[r];
              this._mosaicsData.push(new Uint32Array(p[0] * p[1])), this._dirties.push(!0), this._size.push([p[0], p[1]]), this._textures.push(void 0);
            }
          }

          this._binPack = new g(this._pageWidth, this._pageHeight);

          var n = Math.floor(this._pageWidth),
              _ = Math.floor(this._pageHeight);

          this._mosaicsData.push(new Uint32Array(n * _)), this._dirties.push(!0), this._size.push([this._pageWidth, this._pageHeight]), this._textures.push(void 0);
        }

        return s.prototype.getWidth = function (t) {
          return t >= this._size.length ? -1 : this._size[t][0];
        }, s.prototype.getHeight = function (t) {
          return t >= this._size.length ? -1 : this._size[t][1];
        }, s.prototype.getPage = function (t) {
          return t < this._textures.length ? this._textures[t] : null;
        }, s.prototype.has = function (t) {
          return this._mosaicRects.has(t);
        }, Object.defineProperty(s.prototype, "itemCount", {
          get: function get() {
            return this._mosaicRects.size;
          },
          enumerable: !0,
          configurable: !0
        }), s.prototype.getSpriteItem = function (t) {
          return this._mosaicRects.get(t);
        }, s.prototype.addSpriteItem = function (t, e, i, s, a, h) {
          var r, o, p, n;
          if (this._mosaicRects.has(t)) return this._mosaicRects.get(t);

          if (this._fixSpriteLocationsTable && this._fixSpriteLocationsTable[this._testId] && this._fixSpriteLocationsTable[this._testId][t]) {
            var _ = this._fixSpriteLocationsTable[this._testId][t];
            o = _.rect, p = _.page, n = _.pageSize;
          } else o = (r = this._allocateImage(e[0], e[1]))[0], p = r[1], n = r[2];

          if (o.width <= 0 || o.height <= 0) return null;
          var c = {
            rect: o,
            width: e[0],
            height: e[1],
            sdf: a,
            simplePattern: h,
            pixelRatio: 1,
            page: p
          };
          return this._mosaicRects.set(t, c), this._copy({
            rect: o,
            spriteSize: e,
            spriteData: i,
            page: p,
            pageSize: n,
            repeat: s,
            sdf: a
          }), c;
        }, s.prototype.hasItemsToProcess = function () {
          return 0 !== this._spriteCopyQueue.length;
        }, s.prototype.processNextItem = function () {
          var t = this._spriteCopyQueue.pop();

          t && this._copy(t);
        }, s.prototype.getSpriteItems = function (t) {
          for (var e = {}, i = 0, s = t; i < s.length; i++) {
            var a = s[i];
            e[a] = this.getSpriteItem(a);
          }

          return e;
        }, s.prototype.getMosaicItemPosition = function (t) {
          var e = this.getSpriteItem(t),
              i = e && e.rect;
          if (!i) return null;
          i.width = e.width, i.height = e.height;
          var s = e.width,
              a = e.height;
          return {
            size: [e.width, e.height],
            tl: [(i.x + 1) / this._size[e.page][0], (i.y + 1) / this._size[e.page][1]],
            br: [(i.x + 1 + s) / this._size[e.page][0], (i.y + 1 + a) / this._size[e.page][1]],
            page: e.page
          };
        }, s.prototype.bind = function (t, e, i, s) {
          void 0 === i && (i = 0), void 0 === s && (s = 0), this._textures[i] || (this._textures[i] = new h.Texture(t, {
            pixelFormat: 6408,
            dataType: 5121,
            width: this._size[i][0],
            height: this._size[i][1]
          }, new Uint8Array(this._mosaicsData[i].buffer)));
          var a = this._textures[i];
          a.setSamplingMode(e), this._dirties[i] && (a.setData(new Uint8Array(this._mosaicsData[i].buffer)), a.generateMipmap()), t.bindTexture(a, s), this._dirties[i] = !1;
        }, s._copyBits = function (t, e, i, s, a, h, r, o, p, n, _) {
          var c = s * e + i,
              g = o * h + r;

          if (_) {
            g -= h;

            for (var u = -1; u <= n; c = ((++u + n) % n + s) * e + i, g += h) for (var l = -1; l <= p; l++) a[g + l] = t[c + (l + p) % p];
          } else for (u = 0; u < n; u++) {
            for (l = 0; l < p; l++) a[g + l] = t[c + l];

            c += e, g += h;
          }
        }, s.prototype._copy = function (t) {
          if (!(t.page >= this._mosaicsData.length)) {
            var e = t.spriteData,
                i = this._mosaicsData[t.page];
            i && e || console.error("Source or target images are uninitialized!");
            s._copyBits(e, t.spriteSize[0], 0, 0, i, t.pageSize[0], t.rect.x + 1, t.rect.y + 1, t.spriteSize[0], t.spriteSize[1], t.repeat), this._dirties[t.page] = !0;
          }
        }, s.prototype._allocateImage = function (t, e) {
          t += 2, e += 2;
          var i = Math.max(t, e);

          if (this._maxItemSize && this._maxItemSize < i) {
            var s = Math.pow(2, Math.ceil(o.log2(t))),
                a = Math.pow(2, Math.ceil(o.log2(e))),
                h = new p["default"](0, 0, t, e);
            return this._mosaicsData.push(new Uint32Array(s * a)), this._dirties.push(!0), this._size.push([s, a]), this._textures.push(void 0), [h, this._mosaicsData.length - 1, [s, a]];
          }

          var r = this._binPack.allocate(t, e);

          return r.width <= 0 ? (this._dirties[this._currentPage] || (this._mosaicsData[this._currentPage] = null), this._currentPage = this._mosaicsData.length, this._mosaicsData.push(new Uint32Array(this._pageWidth * this._pageHeight)), this._dirties.push(!0), this._size.push([this._pageWidth, this._pageHeight]), this._textures.push(void 0), this._binPack = new g(this._pageWidth, this._pageHeight), this._allocateImage(t, e)) : [r, this._currentPage, [this._pageWidth, this._pageHeight]];
        }, s.prototype.dispose = function () {
          this._binPack = null;

          for (var t = 0, e = this._textures; t < e.length; t++) {
            var i = e[t];
            i && i.dispose();
          }

          this._textures.length = 0, this._mosaicsData.length = 0, this._mosaicRects.clear();
        }, s;
      }();
    }.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/webgl/SymbolProperties.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/SymbolProperties.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglSymbolPropertiesJs(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/ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, t, h) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function o() {
          this.color = [0, 0, 0, 0], this.haloColor = [0, 0, 0, 0], this.haloSize = 0, this.size = 12, this.angle = 0, this.offsetX = 0, this.offsetY = 0, this.hAnchor = 0, this.vAnchor = 0;
        }

        return o.prototype.acquire = function (o, t, h, i, s, e, r, l, n) {
          this.color = o, this.haloColor = t, this.haloSize = h, this.size = i, this.angle = s, this.offsetX = e, this.offsetY = r, this.hAnchor = l, this.vAnchor = n;
        }, o.prototype.release = function () {
          this.color[0] = this.color[1] = this.color[2] = this.color[3] = 0, this.haloColor[0] = this.haloColor[1] = this.haloColor[2] = this.haloColor[3] = 0, this.haloSize = 0, this.size = 0, this.angle = 0, this.offsetX = 0, this.offsetY = 0, this.hAnchor = 0, this.vAnchor = 0;
        }, o.pool = new h(o), o;
      }();

      t.TextProperties = i;
    }.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/webgl/TextShaping.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShaping.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTextShapingJs(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__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, c) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var e = function () {
        function t(t, i, e, h, a, s, r, n) {
          this._glyphItems = t, this._maxWidth = i, this._lineHeight = e, this._letterSpacing = h, this._offset = a, this._hAnchor = s, this._vAnchor = r, this._justify = n;
        }

        return t.prototype.getShaping = function (t, i) {
          for (var e = this._letterSpacing, h = this._lineHeight, a = this._justify, s = this._maxWidth, r = [], n = 0, o = 0, c = 0, f = 0, l = -1, p = 0, g = -1, m = t.length, y = 0; y < m; y++) {
            var v = t.charCodeAt(y);

            if (10 !== v) {
              for (var d = void 0, u = 0, x = this._glyphItems; u < x.length; u++) {
                if (d = x[u][v]) break;
              }

              if (d) {
                if (r.push({
                  codePoint: v,
                  x: n,
                  y: o,
                  glyphMosaicItem: d
                }), n += d.metrics.advance + e, 0 < s && s < n && 0 <= g) {
                  var _ = g + 1;

                  I = r[_].x;
                  p = Math.max(I, p);

                  for (var M = _; M < r.length; M++) i ? r[M].y -= h : r[M].y += h, r[M].x -= I;

                  a && this._applyJustification(r, f, g), i ? o -= h : o += h, n -= I, ++c, f = _, g = -1;
                }

                ++l, 32 === v && (g = r.length - 1);
              }
            } else {
              if (y === m - 1) continue;

              if (f <= l) {
                var I = (w = r[l]).x + w.glyphMosaicItem.metrics.advance;
                p = Math.max(I, p), a && this._applyJustification(r, f, l), f = r.length;
              }

              i ? o -= h : o += h, n = 0, ++c;
            }
          }

          if (f <= l) {
            var w,
                A = (w = r[l]).x + w.glyphMosaicItem.metrics.advance;
            p = Math.max(p, A), a && this._applyJustification(r, f, l);
          }

          if (0 < r.length) {
            var j = (a - this._hAnchor) * p,
                J = (-this._vAnchor * (c + 1) + .5) * h;
            i && c && (J += c * h), j += this._offset[0], J += this._offset[1];

            for (var P = 0, S = r; P < S.length; P++) {
              var b = S[P];
              b.x += j, b.y += J;
            }
          }

          return r;
        }, t.getBox = function (t) {
          if (!t.length) return null;

          for (var i = 1 / 0, e = 1 / 0, h = 0, a = 0, s = 0, r = t; s < r.length; s++) {
            var n = r[s],
                o = n.glyphMosaicItem.metrics,
                c = o.height,
                f = o.left,
                l = o.top,
                p = o.width,
                g = n.x,
                m = n.y - (c - Math.abs(l)),
                y = g + p + f,
                v = m + c;
            i = Math.min(i, g), h = Math.max(h, y), e = Math.min(e, m), a = Math.max(a, v);
          }

          return {
            x: i,
            y: e,
            width: h - i,
            height: a - e
          };
        }, t.addDecoration = function (t, i) {
          var e = t.length;

          if (0 !== e) {
            for (var h = t[0].x + t[0].glyphMosaicItem.metrics.left, a = t[0].y, s = 1; s < e; s++) {
              var r = t[s];

              if (r.y !== a) {
                var n = t[s - 1].x + t[s - 1].glyphMosaicItem.metrics.left + t[s - 1].glyphMosaicItem.metrics.width;
                t.push({
                  codePoint: 0,
                  x: h,
                  y: a + i - 3,
                  glyphMosaicItem: {
                    sdf: !0,
                    rect: new c["default"](4, 0, 4, 8),
                    metrics: {
                      width: n - h,
                      height: 8,
                      left: 0,
                      top: 0,
                      advance: 0
                    },
                    page: 0
                  }
                }), a = r.y, h = r.x + r.glyphMosaicItem.metrics.left;
              }
            }

            var o = t[e - 1].x + t[e - 1].glyphMosaicItem.metrics.left + t[e - 1].glyphMosaicItem.metrics.width;
            t.push({
              codePoint: 0,
              x: h,
              y: a + i - 3,
              glyphMosaicItem: {
                sdf: !0,
                rect: new c["default"](4, 0, 4, 8),
                metrics: {
                  width: o - h,
                  height: 8,
                  left: 0,
                  top: 0,
                  advance: 0
                },
                page: 0
              }
            });
          }
        }, t.prototype._applyJustification = function (t, i, e) {
          for (var h = t[e], a = h.glyphMosaicItem.metrics.advance, s = (h.x + a) * this._justify, r = i; r <= e; r++) t[r].x -= s;
        }, t;
      }();

      i.TextShaping = 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/webgl/TextShapingNew.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShapingNew.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTextShapingNewJs(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__(
    /*! ./Rect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Rect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, c) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var e = function () {
        function t(t, i, e, a, h, s, r, n) {
          this._glyphItems = t, this._maxWidth = i, this._lineHeight = e, this._letterSpacing = a, this._offset = h, this._hAnchor = s, this._vAnchor = r, this._justify = n;
        }

        return t.prototype.getShaping = function (t, i) {
          for (var e = this._letterSpacing, a = this._lineHeight, h = this._justify, s = this._maxWidth, r = [], n = 0, o = 0, c = 0, f = 0, l = -1, p = 0, g = -1, m = t.length, y = 0; y < m; y++) {
            var v = t.charCodeAt(y);

            if (10 !== v) {
              for (var u = void 0, x = 0, d = this._glyphItems; x < d.length; x++) {
                if (u = d[x][v]) break;
              }

              if (u) {
                if (r.push({
                  codePoint: v,
                  x: n,
                  y: o,
                  glyphMosaicItem: u
                }), n += u.metrics.advance + e, 0 < s && s < n && 0 <= g) {
                  var _ = g + 1;

                  I = r[_].x;
                  p = Math.max(I, p);

                  for (var M = _; M < r.length; M++) i ? r[M].y -= a : r[M].y += a, r[M].x -= I;

                  h && this._applyJustification(r, f, g), i ? o -= a : o += a, n -= I, ++c, f = _, g = -1;
                }

                ++l, 32 === v && (g = r.length - 1);
              }
            } else {
              if (y === m - 1) continue;

              if (f <= l) {
                var I = (w = r[l]).x + w.glyphMosaicItem.metrics.advance;
                p = Math.max(I, p), h && this._applyJustification(r, f, l), f = r.length;
              }

              i ? o -= a : o += a, n = 0, ++c;
            }
          }

          if (f <= l) {
            var w,
                A = (w = r[l]).x + w.glyphMosaicItem.metrics.advance;
            p = Math.max(p, A), h && this._applyJustification(r, f, l);
          }

          if (0 < r.length) {
            var J = (h - this._hAnchor) * p,
                S = (-this._vAnchor * (c + 1) + .5) * a;
            i && c && (S += c * a), J += this._offset[0], S += this._offset[1];

            for (var j = 0, P = r; j < P.length; j++) {
              var H = P[j];
              H.x += J, H.y += S;
            }
          }

          return r;
        }, t.prototype.getEstimatedShaping = function (t, i, e) {
          for (var a = this._letterSpacing, h = this._lineHeight, s = this._justify, r = this._maxWidth, n = [], o = 0, c = 0, f = 0, l = 0, p = -1, g = 0, m = -1, y = t.length, v = 0; v < y; v++) {
            var u = t.charCodeAt(v);

            if (10 !== u) {
              var x = e;

              if (n.push({
                codePoint: u,
                x: o,
                y: c,
                glyphMosaicItem: x
              }), o += x.metrics.advance + a, 0 < r && r < o && 0 <= m) {
                var d = m + 1;
                M = n[d].x;
                g = Math.max(M, g);

                for (var _ = d; _ < n.length; _++) i ? n[_].y -= h : n[_].y += h, n[_].x -= M;

                s && this._applyJustification(n, l, m), i ? c -= h : c += h, o -= M, ++f, l = d, m = -1;
              }

              ++p, 32 === u && (m = n.length - 1);
            } else {
              if (v === y - 1) continue;

              if (l <= p) {
                var M = (I = n[p]).x + I.glyphMosaicItem.metrics.advance;
                g = Math.max(M, g), s && this._applyJustification(n, l, p), l = n.length;
              }

              i ? c -= h : c += h, o = 0, ++f;
            }
          }

          if (l <= p) {
            var I,
                w = (I = n[p]).x + I.glyphMosaicItem.metrics.advance;
            g = Math.max(g, w), s && this._applyJustification(n, l, p);
          }

          if (0 < n.length) {
            var A = (s - this._hAnchor) * g,
                J = (-this._vAnchor * (f + 1) + .5) * h;
            i && f && (J += f * h), A += this._offset[0], J += this._offset[1];

            for (var S = 0, j = n; S < j.length; S++) {
              var P = j[S];
              P.x += A, P.y += J;
            }
          }

          return n;
        }, t.getBox = function (t) {
          if (!t.length) return null;

          for (var i = 1 / 0, e = 1 / 0, a = -1 / 0, h = -1 / 0, s = 0, r = t; s < r.length; s++) {
            var n = r[s],
                o = n.glyphMosaicItem.metrics,
                c = o.height,
                f = o.left,
                l = o.top,
                p = o.width,
                g = n.x + f,
                m = n.y - l,
                y = g + p,
                v = m + c;
            i = Math.min(i, g), a = Math.max(a, y), e = Math.min(e, m), h = Math.max(h, v);
          }

          return {
            x: i,
            y: e,
            width: a - i,
            height: h - e
          };
        }, t.addDecoration = function (t, i) {
          var e = t.length;

          if (0 !== e) {
            for (var a = t[0].x + t[0].glyphMosaicItem.metrics.left, h = t[0].y, s = 1; s < e; s++) {
              var r = t[s];

              if (r.y !== h) {
                var n = t[s - 1].x + t[s - 1].glyphMosaicItem.metrics.left + t[s - 1].glyphMosaicItem.metrics.width;
                t.push({
                  codePoint: 0,
                  x: a,
                  y: h,
                  glyphMosaicItem: {
                    sdf: !0,
                    rect: new c["default"](4, 0, 4, 8),
                    metrics: {
                      width: n - a,
                      height: 2,
                      left: 0,
                      top: i,
                      advance: 0
                    },
                    page: 0
                  }
                }), h = r.y, a = r.x + r.glyphMosaicItem.metrics.left;
              }
            }

            var o = t[e - 1].x + t[e - 1].glyphMosaicItem.metrics.left + t[e - 1].glyphMosaicItem.metrics.width;
            t.push({
              codePoint: 0,
              x: a,
              y: h,
              glyphMosaicItem: {
                sdf: !0,
                rect: new c["default"](4, 0, 4, 8),
                metrics: {
                  width: o - a,
                  height: 2,
                  left: 0,
                  top: i,
                  advance: 0
                },
                page: 0
              }
            });
          }
        }, t.prototype._applyJustification = function (t, i, e) {
          for (var a = t[e], h = a.glyphMosaicItem.metrics.advance, s = (a.x + h) * this._justify, r = i; r <= e; r++) t[r].x -= s;
        }, t;
      }();

      i.TextShaping = 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/webgl/TextureManager.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TextureManager.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTextureManagerJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../../../config */
    "./node_modules/arcgis-js-api/config.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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../../../symbols/cim/Rasterizer */
    "./node_modules/arcgis-js-api/symbols/cim/Rasterizer.js"), __webpack_require__(
    /*! ./definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./fontUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/fontUtils.js"), __webpack_require__(
    /*! ./GlyphMosaic */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/GlyphMosaic.js"), __webpack_require__(
    /*! ./GlyphSource */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/GlyphSource.js"), __webpack_require__(
    /*! ./SDFConverter */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/SDFConverter.js"), __webpack_require__(
    /*! ./SpriteMosaic */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/SpriteMosaic.js"), __webpack_require__(
    /*! ./util/Result */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js"), __webpack_require__(
    /*! ./util/symbolUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/symbolUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, c, i, d, r, h, y, s, g, l, n, o, u, f, a, p, _, m, S, M, v) {
      var b = n.vec2f32.create(),
          T = "arial-unicode-ms-regular",
          I = s.getLogger("esri.views.2d.engine.webgl.TextureManager");

      var w = function () {
        function i(e, t, i) {
          this.mosaicType = e, this.page = t, this.sdf = i;
        }

        return i.fromMosaic = function (e, t) {
          return new i(e, t.page, t.sdf);
        }, i;
      }();

      return function () {
        function e() {
          this._invalidFontsMap = new Map(), this._sdfConverter = new m["default"](126), this._bindingInfos = new Array(), this._hashToBindingIndex = new Map(), this._rasterizer = new o["default"](), this._spriteMosaic = new S(2048, 2048, 500), this._glyphSource = new _(r.fontsUrl + "/{fontstack}/{range}.pbf"), this._glyphMosaic = new p(1024, 1024, this._glyphSource);
        }

        return Object.defineProperty(e.prototype, "sprites", {
          get: function get() {
            return this._spriteMosaic;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "glyphs", {
          get: function get() {
            return this._glyphMosaic;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.dispose = function () {
          this._spriteMosaic.dispose(), this._glyphMosaic.dispose(), this._rasterizer.dispose(), this._spriteMosaic = null, this._glyphMosaic = null, this._rasterizer = null;
        }, e.prototype._hashMosaic = function (e, t) {
          return 1 | e << 1 | (t.sdf ? 1 : 0) << 2 | t.page << 3;
        }, e.prototype._setTextureBinding = function (e, t) {
          var i = this._hashMosaic(e, t);

          if (!this._hashToBindingIndex.has(i)) {
            var r = w.fromMosaic(e, t),
                s = this._bindingInfos.length + 1;
            this._hashToBindingIndex.set(i, s), this._bindingInfos.push(r);
          }

          t.textureBinding = this._hashToBindingIndex.get(i);
        }, e.prototype.rasterizeItem = function (e, t, i) {
          var r = this;
          return void 0 === t && (t = null), e ? e.type && -1 !== e.type.toLowerCase().indexOf("3d") ? (I.error(new y("mapview-invalid-type", "MapView does not support 3d symbol type: " + e.type, e)), g.resolve({
            glyphMosaicItems: [],
            spriteMosaicItem: null
          })) : !e.type || "text" !== e.type && "esriTS" !== e.type && "CIMTextSymbol" !== e.type ? this._rasterizeSpriteSymbol(e, i).then(function (e) {
            return M.ok(e) && e && r._setTextureBinding(f.MosaicType.SPRITE, e), {
              spriteMosaicItem: e
            };
          }) : this._rasterizeTextSymbol(e, t, i).then(function (e) {
            return e.forEach(function (e) {
              return r._setTextureBinding(f.MosaicType.GLYPH, e);
            }), {
              glyphMosaicItems: e
            };
          }) : (I.error(new y("mapview-null-resource", "Unable to rasterize null resource")), g.resolve(null));
        }, e.prototype.bindTextures = function (e, t, i, r) {
          if (void 0 === r && (r = 1), 0 !== i.textureBinding) {
            var s = this._bindingInfos[i.textureBinding - 1],
                n = s.page;

            switch (s.mosaicType) {
              case f.MosaicType.SPRITE:
                var o = this.sprites.getWidth(n) / r,
                    a = this.sprites.getHeight(n) / r,
                    p = l.vec2.set(b, o, a);
                return this._bindSpritePage(e, n, u.TEXTURE_BINDING_SPRITE_ATLAS, 9729), t.setUniform1i("u_texture", u.TEXTURE_BINDING_SPRITE_ATLAS), void t.setUniform2fv("u_mosaicSize", p);

              case f.MosaicType.GLYPH:
                o = this.glyphs.width / r, a = this.glyphs.height / r, p = l.vec2.set(b, o, a);
                return this._bindGlyphsPage(e, n, u.TEXTURE_BINDING_GLYPH_ATLAS), t.setUniform1i("u_texture", u.TEXTURE_BINDING_GLYPH_ATLAS), void t.setUniform2fv("u_mosaicSize", p);

              default:
                I.error("mapview-texture-manager", "Cannot handle unknown type " + s.mosaicType);
            }
          }
        }, e.prototype._bindSpritePage = function (e, t, i, r) {
          r || (r = 9729), this._spriteMosaic.bind(e, r, t, i);
        }, e.prototype._bindGlyphsPage = function (e, t, i) {
          this._glyphMosaic.bind(e, 9729, t, i);
        }, e.prototype._rasterizeTextSymbol = function (e, t, i) {
          var r = this,
              s = a.getFullyQualifiedFontName(e.font),
              n = this._invalidFontsMap.has(s);

          return this._glyphMosaic.getGlyphItems(n ? T : s, t, i)["catch"](function () {
            return I.error(new y("mapview-invalid-resource", "Couldn't find font " + s + ". Falling back to Arial Unicode MS Regular")), r._invalidFontsMap.set(s, !0), r._glyphMosaic.getGlyphItems(T, t, i);
          });
        }, e.prototype._rasterizeSpriteSymbol = function (c, h) {
          return i(this, void 0, void 0, function () {
            var n, o, a, p, l, u;
            return d(this, function (e) {
              return "CIMSolidStroke" === (i = t = c).type || "CIMSolidFill" === t.type || t && (v.isFillSymbol(t) || v.isLineSymbol(t)) && "style" in t && ("solid" === t.style || "esriSFSSolid" === i.style || "esriSLSSolid" === i.style || "none" === t.style || "esriSFSNull" === i.style || "esriSLSNull" === i.style) ? [2, null] : (n = v.keyFromSymbol(c), this._spriteMosaic.has(n) ? [2, this._spriteMosaic.getSpriteItem(n)] : "simple-marker" !== (r = c).type && "esriSMS" !== r.type || !r.path ? (s = c).url || s.imageData ? [2, this._handleImage(c, n, h)] : (o = this._rasterizer.rasterizeJSONResource(c)) ? (a = o.size, p = o.image, l = o.sdf, u = o.simplePattern, [2, this._addItemToMosaic(n, a, p, !v.isMarkerSymbol(c), l, u)]) : [2, new y("TextureManager", "unrecognized or null rasterized image")] : [2, this._handleSVG(c, n, h)]);
              var t, i, r, s;
            });
          });
        }, e.prototype._handleSVG = function (r, s, n) {
          return i(this, void 0, void 0, function () {
            var t, i;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return t = [126, 126], [4, this._sdfConverter.draw(r.path, n)];

                case 1:
                  return i = e.sent(), [2, this._addItemToMosaic(s, t, new Uint32Array(i.buffer), !1, !0, !0)];
              }
            });
          });
        }, e.prototype._handleImage = function (p, l, u) {
          return i(this, void 0, void 0, function () {
            var t, i, r, s, n, o, a;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  t = p.imageData ? "data:" + p.contentType + ";base64," + p.imageData : p.url, e.label = 1;

                case 1:
                  return e.trys.push([1, 3,, 4]), [4, h(t, c({
                    responseType: "image"
                  }, u))];

                case 2:
                  return i = e.sent().data, r = this._rasterizer.rasterizeImageResource(i, p.colorSubstitutions), s = r.size, n = r.sdf, o = r.image, [2, this._addItemToMosaic(l, s, o, !v.isMarkerSymbol(p), n, !1)];

                case 3:
                  return a = e.sent(), g.isAbortError(a) ? [3, 4] : [2, new y("mapview-invalid-resource", "Could not fetch requested resource at " + t)];

                case 4:
                  return [2, void 0];
              }
            });
          });
        }, e.prototype._addItemToMosaic = function (e, t, i, r, s, n) {
          return this._spriteMosaic.addSpriteItem(e, t, i, r, s, n);
        }, 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/webgl/TileBufferData.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TileBufferData.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTileBufferDataJs(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__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i) {
      return function () {
        function n() {
          this.geometries = [{
            indexBuffer: void 0,
            vertexBuffer: {}
          }, {
            indexBuffer: void 0,
            vertexBuffer: {}
          }, {
            indexBuffer: void 0,
            vertexBuffer: {}
          }, {
            indexBuffer: void 0,
            vertexBuffer: {}
          }, {
            indexBuffer: void 0,
            vertexBuffer: {}
          }];
        }

        return n.prototype.clone = function () {
          for (var e = new n(), r = 0; r < this.geometries.length; r++) {
            var f = this.geometries[r],
                t = e.geometries[r];

            for (var i in t.indexBuffer = f.indexBuffer.slice(), t.vertexBuffer = {}, f.vertexBuffer) {
              var u = f.vertexBuffer[i],
                  s = u.data,
                  o = u.stride;
              t.vertexBuffer[i] = {
                data: s.slice(),
                stride: o
              };
            }
          }

          return e;
        }, n.deserialize = function (e) {
          for (var r = new n(), f = 0; f < 5; ++f) for (var t in r.geometries[f].indexBuffer = new Uint32Array(e.geometries[f].indexBuffer), r.geometries[f].vertexBuffer = {}, e.geometries[f].vertexBuffer) r.geometries[f].vertexBuffer[t] = {
            data: i.allocateTypedArrayBufferwithData(e.geometries[f].vertexBuffer[t].data, e.geometries[f].vertexBuffer[t].stride),
            stride: e.geometries[f].vertexBuffer[t].stride
          };

          return r;
        }, n.prototype.serialize = function () {
          for (var e = {
            geometries: [{
              indexBuffer: this.geometries[0].indexBuffer.buffer,
              vertexBuffer: {}
            }, {
              indexBuffer: this.geometries[1].indexBuffer.buffer,
              vertexBuffer: {}
            }, {
              indexBuffer: this.geometries[2].indexBuffer.buffer,
              vertexBuffer: {}
            }, {
              indexBuffer: this.geometries[3].indexBuffer.buffer,
              vertexBuffer: {}
            }, {
              indexBuffer: this.geometries[4].indexBuffer.buffer,
              vertexBuffer: {}
            }]
          }, r = 0; r < 5; ++r) for (var f in this.geometries[r].vertexBuffer) e.geometries[r].vertexBuffer[f] = {
            data: this.geometries[r].vertexBuffer[f].data.buffer,
            stride: this.geometries[r].vertexBuffer[f].stride
          };

          return e;
        }, n.prototype.getBuffers = function () {
          for (var e = [], r = 0; r < 5; ++r) for (var f in e.push(this.geometries[r].indexBuffer.buffer), this.geometries[r].vertexBuffer) e.push(this.geometries[r].vertexBuffer[f].data.buffer);

          return e;
        }, 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/engine/webgl/TileClipper.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TileClipper.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTileClipperJs(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__(
    /*! ./definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./Geometry */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Geometry.js"), __webpack_require__(
    /*! ./GeometryUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/GeometryUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (i, t, e, v, g) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var c = function c(i, t, s) {
        this.ratio = i, this.x = t, this.y = s;
      },
          s = function () {
        function i(i, t, s, h, n) {
          void 0 === h && (h = 8), void 0 === n && (n = 8), this.lines = [], this.starts = [], this.pixelRatio = h, this.pixelMargin = n, this.tileSize = e.TILE_SIZE * h, this.dz = i, this.yPos = t, this.xPos = s;
        }

        return i.prototype.setExtent = function (i) {
          this.finalRatio = this.tileSize / i * (1 << this.dz);
          var t = this.pixelRatio * this.pixelMargin;
          t /= this.finalRatio;
          var s = i >> this.dz;
          s < t && (t = s), this.margin = t, this.xmin = s * this.xPos - t, this.ymin = s * this.yPos - t, this.xmax = this.xmin + s + 2 * t, this.ymax = this.ymin + s + 2 * t;
        }, i.prototype.reset = function (i) {
          this.type = i, this.lines = [], this.starts = [], this.line = null, this.start = 0;
        }, i.prototype.moveTo = function (i, t) {
          this._pushLine(), this._prevIsIn = this._isIn(i, t), this._moveTo(i, t, this._prevIsIn), this._prevPt = new v.Point(i, t), this._firstPt = new v.Point(i, t), this._dist = 0;
        }, i.prototype.lineTo = function (i, t) {
          var s,
              h,
              n,
              e,
              l,
              x,
              a,
              r,
              y = this._isIn(i, t),
              o = new v.Point(i, t),
              p = v.Point.distance(this._prevPt, o);

          if (y) this._prevIsIn ? this._lineTo(i, t, !0) : (s = this._prevPt, h = o, n = this._intersect(h, s), this.start = this._dist + p * (1 - this._r), this._lineTo(n.x, n.y, !0), this._lineTo(h.x, h.y, !0));else if (this._prevIsIn) h = this._prevPt, s = o, n = this._intersect(h, s), this._lineTo(n.x, n.y, !0), this._lineTo(s.x, s.y, !1);else {
            var u = this._prevPt,
                m = o;
            if (u.x <= this.xmin && m.x <= this.xmin || u.x >= this.xmax && m.x >= this.xmax || u.y <= this.ymin && m.y <= this.ymin || u.y >= this.ymax && m.y >= this.ymax) this._lineTo(m.x, m.y, !1);else {
              var _ = [];
              if ((u.x < this.xmin && m.x > this.xmin || u.x > this.xmin && m.x < this.xmin) && (e = (this.xmin - u.x) / (m.x - u.x), (r = u.y + e * (m.y - u.y)) <= this.ymin ? x = !1 : r >= this.ymax ? x = !0 : _.push(new c(e, this.xmin, r))), (u.x < this.xmax && m.x > this.xmax || u.x > this.xmax && m.x < this.xmax) && (e = (this.xmax - u.x) / (m.x - u.x), (r = u.y + e * (m.y - u.y)) <= this.ymin ? x = !1 : r >= this.ymax ? x = !0 : _.push(new c(e, this.xmax, r))), (u.y < this.ymin && m.y > this.ymin || u.y > this.ymin && m.y < this.ymin) && (e = (this.ymin - u.y) / (m.y - u.y), (a = u.x + e * (m.x - u.x)) <= this.xmin ? l = !1 : a >= this.xmax ? l = !0 : _.push(new c(e, a, this.ymin))), (u.y < this.ymax && m.y > this.ymax || u.y > this.ymax && m.y < this.ymax) && (e = (this.ymax - u.y) / (m.y - u.y), (a = u.x + e * (m.x - u.x)) <= this.xmin ? l = !1 : a >= this.xmax ? l = !0 : _.push(new c(e, a, this.ymax))), 0 === _.length) l ? x ? this._lineTo(this.xmax, this.ymax, !0) : this._lineTo(this.xmax, this.ymin, !0) : x ? this._lineTo(this.xmin, this.ymax, !0) : this._lineTo(this.xmin, this.ymin, !0);else if (1 < _.length && _[0].ratio > _[1].ratio) this.start = this._dist + p * _[1].ratio, this._lineTo(_[1].x, _[1].y, !0), this._lineTo(_[0].x, _[0].y, !0);else {
                this.start = this._dist + p * _[0].ratio;

                for (var f = 0; f < _.length; f++) this._lineTo(_[f].x, _[f].y, !0);
              }

              this._lineTo(m.x, m.y, !1);
            }
          }
          this._dist += p, this._prevIsIn = y, this._prevPt = o;
        }, i.prototype.close = function () {
          if (2 < this.line.length) {
            var i = this._firstPt,
                t = this._prevPt;
            i.x === t.x && i.y === t.y || this.lineTo(i.x, i.y);

            for (var s = this.line, h = s.length; 4 <= h && (s[0].x === s[1].x && s[0].x === s[h - 2].x || s[0].y === s[1].y && s[0].y === s[h - 2].y);) s.pop(), s[0].x = s[h - 2].x, s[0].y = s[h - 2].y, --h;
          }
        }, i.prototype.result = function (i) {
          return void 0 === i && (i = !0), this._pushLine(), 0 === this.lines.length ? null : (3 === this.type && i && n.simplify(this.tileSize, this.margin * this.finalRatio, this.lines), this.lines);
        }, i.prototype.resultWithStarts = function () {
          if (2 !== this.type) throw new Error("Only valid for lines");

          this._pushLine();

          var i = this.lines,
              t = i.length;
          if (0 === t) return null;

          for (var s = [], h = 0; h < t; h++) s.push({
            line: i[h],
            start: this.starts[h] || 0
          });

          return s;
        }, i.prototype._isIn = function (i, t) {
          return i >= this.xmin && i <= this.xmax && t >= this.ymin && t <= this.ymax;
        }, i.prototype._intersect = function (i, t) {
          var s, h, n;
          if (t.x >= this.xmin && t.x <= this.xmax) n = ((h = t.y <= this.ymin ? this.ymin : this.ymax) - i.y) / (t.y - i.y), s = i.x + n * (t.x - i.x);else if (t.y >= this.ymin && t.y <= this.ymax) n = ((s = t.x <= this.xmin ? this.xmin : this.xmax) - i.x) / (t.x - i.x), h = i.y + n * (t.y - i.y);else {
            h = t.y <= this.ymin ? this.ymin : this.ymax;
            var e = ((s = t.x <= this.xmin ? this.xmin : this.xmax) - i.x) / (t.x - i.x),
                l = (h - i.y) / (t.y - i.y);
            e < l ? (n = e, h = i.y + e * (t.y - i.y)) : (n = l, s = i.x + l * (t.x - i.x));
          }
          return this._r = n, new v.Point(s, h);
        }, i.prototype._pushLine = function () {
          this.line && (1 === this.type ? 0 < this.line.length && (this.lines.push(this.line), this.starts.push(this.start)) : 2 === this.type ? 1 < this.line.length && (this.lines.push(this.line), this.starts.push(this.start)) : 3 === this.type && 3 < this.line.length && (this.lines.push(this.line), this.starts.push(this.start))), this.line = [], this.start = 0;
        }, i.prototype._moveTo = function (i, t, s) {
          3 !== this.type ? s && (i = Math.round((i - (this.xmin + this.margin)) * this.finalRatio), t = Math.round((t - (this.ymin + this.margin)) * this.finalRatio), this.line.push(new v.Point(i, t))) : (s || (i < this.xmin && (i = this.xmin), i > this.xmax && (i = this.xmax), t < this.ymin && (t = this.ymin), t > this.ymax && (t = this.ymax)), i = Math.round((i - (this.xmin + this.margin)) * this.finalRatio), t = Math.round((t - (this.ymin + this.margin)) * this.finalRatio), this.line.push(new v.Point(i, t)), this._is_h = !1, this._is_v = !1);
        }, i.prototype._lineTo = function (i, t, s) {
          var h, n;
          if (3 !== this.type) {
            if (s) {
              if (i = Math.round((i - (this.xmin + this.margin)) * this.finalRatio), t = Math.round((t - (this.ymin + this.margin)) * this.finalRatio), 0 < this.line.length && (h = this.line[this.line.length - 1]).equals(i, t)) return;
              this.line.push(new v.Point(i, t));
            } else this.line && 0 < this.line.length && this._pushLine();
          } else if (s || (i < this.xmin && (i = this.xmin), i > this.xmax && (i = this.xmax), t < this.ymin && (t = this.ymin), t > this.ymax && (t = this.ymax)), i = Math.round((i - (this.xmin + this.margin)) * this.finalRatio), t = Math.round((t - (this.ymin + this.margin)) * this.finalRatio), this.line && 0 < this.line.length) {
            var e = (h = this.line[this.line.length - 1]).x === i,
                l = h.y === t;
            if (e && l) return;
            this._is_h && e ? (h.x = i, h.y = t, (n = this.line[this.line.length - 2]).x === i && n.y === t ? (this.line.pop(), this.line.length <= 1 ? (this._is_h = !1, this._is_v = !1) : (n = this.line[this.line.length - 2], this._is_h = n.x === i, this._is_v = n.y === t)) : (this._is_h = n.x === i, this._is_v = n.y === t)) : this._is_v && l ? (h.x = i, h.y = t, (n = this.line[this.line.length - 2]).x === i && n.y === t ? (this.line.pop(), this.line.length <= 1 ? (this._is_h = !1, this._is_v = !1) : (n = this.line[this.line.length - 2], this._is_h = n.x === i, this._is_v = n.y === t)) : (this._is_h = n.x === i, this._is_v = n.y === t)) : (this.line.push(new v.Point(i, t)), this._is_h = e, this._is_v = l);
          } else this.line.push(new v.Point(i, t));
        }, i;
      }();

      t.TileClipper = s;

      var h = function () {
        function i() {}

        return i.prototype.setExtent = function (i) {
          this._ratio = 4096 === i ? 1 : 4096 / i;
        }, i.prototype.reset = function (i) {
          this.type = i, this.lines = [], this.line = null;
        }, i.prototype.moveTo = function (i, t) {
          this.line && this.lines.push(this.line), this.line = [];
          var s = this._ratio;
          this.line.push(new v.Point(Math.round(i * s), Math.round(t * s)));
        }, i.prototype.lineTo = function (i, t) {
          var s = this._ratio;
          this.line.push(new v.Point(Math.round(i * s), Math.round(t * s)));
        }, i.prototype.close = function () {
          var i = this.line;
          i && !i[0].isEqual(i[i.length - 1]) && i.push(i[0]);
        }, i.prototype.result = function () {
          return this.line && this.lines.push(this.line), 0 === this.lines.length ? null : (3 === this.type && 1 !== this._ratio && n.simplify(4096, 64, this.lines), this.lines);
        }, i;
      }();

      t.SimpleBuilder = h;

      var n = function () {
        function v() {}

        return v.simplify = function (i, t, s) {
          if (s) {
            for (var h = -t, n = i + t, e = -t, l = i + t, x = [], a = [], r = s.length, y = 0; y < r; ++y) {
              var o = s[y];
              if (o && !(o.length < 2)) for (var p = o[0], u = void 0, m = o.length, _ = 1; _ < m; ++_) u = o[_], p.x === u.x && (p.x <= h && (p.y > u.y ? (x.push(y), x.push(_), x.push(0), x.push(-1)) : (a.push(y), a.push(_), a.push(0), a.push(-1))), p.x >= n && (p.y < u.y ? (x.push(y), x.push(_), x.push(1), x.push(-1)) : (a.push(y), a.push(_), a.push(1), a.push(-1)))), p.y === u.y && (p.y <= e && (p.x < u.x ? (x.push(y), x.push(_), x.push(2), x.push(-1)) : (a.push(y), a.push(_), a.push(2), a.push(-1))), p.y >= l && (p.x > u.x ? (x.push(y), x.push(_), x.push(3), x.push(-1)) : (a.push(y), a.push(_), a.push(3), a.push(-1)))), p = u;
            }

            if (0 !== x.length && 0 !== a.length) {
              v.fillParent(s, a, x), v.fillParent(s, x, a);
              var f = [];
              v.calcDeltas(f, a, x), v.calcDeltas(f, x, a), v.addDeltas(f, s);
            }
          }
        }, v.fillParent = function (i, t, s) {
          for (var h = s.length, n = t.length, e = 0; e < n; e += 4) {
            for (var l = t[e], x = t[e + 1], a = t[e + 2], r = i[l][x - 1], y = i[l][x], o = 8092, p = -1, u = 0; u < h; u += 4) if (s[u + 2] === a) {
              var m = s[u],
                  _ = s[u + 1],
                  f = i[m][_ - 1],
                  v = i[m][_];

              switch (a) {
                case 0:
                case 1:
                  if (g.between(r.y, f.y, v.y) && g.between(y.y, f.y, v.y)) (c = Math.abs(v.y - f.y)) < o && (o = c, p = u);
                  break;

                case 2:
                case 3:
                  var c;
                  if (g.between(r.x, f.x, v.x) && g.between(y.x, f.x, v.x)) (c = Math.abs(v.x - f.x)) < o && (o = c, p = u);
              }
            }

            t[e + 3] = p;
          }
        }, v.calcDeltas = function (i, t, s) {
          for (var h = t.length, n = 0; n < h; n += 4) {
            var e = v.calcDelta(n, t, s, []);
            i.push(t[n]), i.push(t[n + 1]), i.push(t[n + 2]), i.push(e);
          }
        }, v.calcDelta = function (i, t, s, h) {
          var n = t[i + 3];
          if (-1 === n) return 0;
          var e = h.length;
          return 1 < e && h[e - 2] === n ? 0 : (h.push(n), v.calcDelta(n, s, t, h) + 1);
        }, v.addDeltas = function (i, t) {
          for (var s = i.length, h = 0, n = 0; n < s; n += 4) {
            h < (x = i[n + 3]) && (h = x);
          }

          for (n = 0; n < s; n += 4) {
            var e = t[i[n]],
                l = i[n + 1],
                x = h - i[n + 3];

            switch (i[n + 2]) {
              case 0:
                e[l - 1].x -= x, e[l].x -= x, 1 === l && (e[e.length - 1].x -= x), l === e.length - 1 && (e[0].x -= x);
                break;

              case 1:
                e[l - 1].x += x, e[l].x += x, 1 === l && (e[e.length - 1].x += x), l === e.length - 1 && (e[0].x += x);
                break;

              case 2:
                e[l - 1].y -= x, e[l].y -= x, 1 === l && (e[e.length - 1].y -= x), l === e.length - 1 && (e[0].y -= x);
                break;

              case 3:
                e[l - 1].y += x, e[l].y += x, 1 === l && (e[e.length - 1].y += x), l === e.length - 1 && (e[0].y += x);
            }
          }
        }, v;
      }();
    }.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/webgl/TileContainer.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TileContainer.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTileContainerJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./WGLContainer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.js"), __webpack_require__(
    /*! ./brushes/WGLBrushInfo */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushInfo.js"), __webpack_require__(
    /*! ./brushes/WGLBrushStencil */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushStencil.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, o, s, l, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.sortByLevel = function (e, r) {
        return e.key.level - r.key.level != 0 ? e.key.level - r.key.level : e.key.row - r.key.row != 0 ? e.key.row - r.key.row : e.key.col - r.key.col;
      };

      var a = function (s) {
        function e(e, r) {
          var t = s.call(this, r) || this;
          return t._tileInfoView = e, t;
        }

        return t(e, s), e.prototype.renderChildren = function (e) {
          this.sortChildren(r.sortByLevel), this.setStencilReference(), s.prototype.renderChildren.call(this, e);
        }, e.prototype.createRenderParams = function (e) {
          var r = e.state;
          return n({}, s.prototype.createRenderParams.call(this, e), {
            requiredLevel: this._tileInfoView.getClosestInfoForScale(r.scale).level,
            displayLevel: this._tileInfoView.tileInfo.scaleToZoom(r.scale)
          });
        }, e.prototype.prepareRenderPasses = function (e) {
          var r = this,
              t = e.registerRenderPass({
            name: "stencil",
            brushes: [i["default"]],
            drawPhase: o.WGLDrawPhase.DEBUG | o.WGLDrawPhase.MAP,
            target: function target() {
              return r.children;
            }
          }),
              n = e.registerRenderPass({
            name: "tileInfo",
            brushes: [l["default"]],
            drawPhase: o.WGLDrawPhase.DEBUG,
            target: function target() {
              return r.children;
            },
            has: "esri-tiles-debug"
          });
          return s.prototype.prepareRenderPasses.call(this, e).concat([t, n]);
        }, e.prototype.updateTransforms = function (e) {
          for (var r = 0, t = this.children; r < t.length; r++) {
            var n = t[r],
                s = this._tileInfoView.getTileResolution(n.key);

            n.setTransform(e, s);
          }
        }, e.prototype.setStencilReference = function () {
          for (var e = 1, r = 0, t = this.children; r < t.length; r++) {
            t[r].stencilRef = e++;
          }
        }, e;
      }(s["default"]);

      r["default"] = a;
    }.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/webgl/TileData.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TileData.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTileDataJs(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__(
    /*! ./MemoryRequirements */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/MemoryRequirements.js"), __webpack_require__(
    /*! ./TileBufferData */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileBufferData.js"), __webpack_require__(
    /*! ./TileDisplayData */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileDisplayData.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLDisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayObject.js"), __webpack_require__(
    /*! ./WGLDisplayRecord */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js"), __webpack_require__(
    /*! ./mesh/VertexBuffer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexBuffer.js"), __webpack_require__(
    /*! ./util/Reader */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Reader.js"), __webpack_require__(
    /*! ./util/serializationUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js"), __webpack_require__(
    /*! ./util/Writer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Writer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, A, F, _, z, i, B, s, f, l, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var R = new r["default"](),
          C = new r["default"]();

      function c(e, t) {
        var r = {};

        for (var a in e) {
          var i = {
            data: z.allocateTypedArrayBuffer(t, e[a]),
            stride: e[a]
          };
          r[a] = i;
        }

        return r;
      }

      var n = function () {
        function O() {
          this.tileDisplayData = null, this.tileBufferData = null;
        }

        return O.prototype.reshuffle = function () {
          R.reset();

          for (var e = F.groupRecordsByGeometryType(this.tileDisplayData.displayObjects), t = 0, r = e; t < r.length; t++) for (var a = 0, i = h = r[t]; a < i.length; a++) {
            (c = i[a]) && R.needMore(c.geometryType, c.meshData ? c.meshData.vertexCount : c.vertexCount, c.meshData ? c.meshData.indexData.length : c.indexCount);
          }

          for (var s = e.length, f = new A(), l = 0; l < s; ++l) {
            f.geometries[l].indexBuffer = new Uint32Array(Math.round(1.15 * R.indicesFor(l)));
            var n = [];

            for (var u in this.tileBufferData.geometries[l].vertexBuffer) n.push(this.tileBufferData.geometries[l].vertexBuffer[u].stride);

            var o = O._computeVertexAlignment(n),
                d = Math.round(1.15 * R.verticesFor(l)),
                D = O._align(d, o);

            for (var p in this.tileBufferData.geometries[l].vertexBuffer) {
              var v = this.tileBufferData.geometries[l].vertexBuffer[p].stride;
              f.geometries[l].vertexBuffer[p] = {
                stride: v,
                data: z.allocateTypedArrayBuffer(D, v)
              };
            }
          }

          C.reset(), this.tileDisplayData.displayList.clear();

          for (l = 0; l < s; ++l) {
            for (var h, y = 0, B = h = e[l]; y < B.length; y++) {
              var c;
              if ((c = B[y]).meshData) c.writeMeshDataToBuffers(C.verticesFor(l), f.geometries[l].vertexBuffer, C.indicesFor(l), f.geometries[l].indexBuffer), c.meshData = null;else {
                var g = this.tileBufferData.geometries[l].vertexBuffer,
                    m = this.tileBufferData.geometries[l].indexBuffer,
                    x = f.geometries[l].vertexBuffer,
                    M = f.geometries[l].indexBuffer,
                    w = C.verticesFor(l),
                    b = C.indicesFor(l);
                _.copyMeshData(w, b, x, M, c, g, m), c.vertexFrom = w, c.indexFrom = b;
              }
              C.needMore(l, c.vertexCount, c.indexCount);
            }

            this.tileDisplayData.displayList.unified || this.tileDisplayData.displayList.addToList(h);
          }

          if (this.tileDisplayData.displayList.unified) for (var T = 0, L = this.tileDisplayData.displayObjects; T < L.length; T++) {
            var j = L[T];
            this.tileDisplayData.displayList.addToList(j.displayRecords);
          }
          this.tileBufferData = f;
        }, O.prototype.getStrides = function () {
          for (var e = [], t = 0; t < this.tileBufferData.geometries.length; ++t) {
            var r = this.tileBufferData.geometries[t];

            for (var a in e[t] = {}, r.vertexBuffer) e[t][a] = r.vertexBuffer[a].stride;
          }

          return e;
        }, O.prototype.clone = function () {
          var e = new O();
          return e.tileBufferData = this.tileBufferData.clone(), e.tileDisplayData = this.tileDisplayData.clone(), e;
        }, O.prototype._guessSize = function () {
          for (var e = this.tileDisplayData.displayObjects, t = Math.min(e.length, 4), r = 0, a = 0; a < t; a++) r = Math.max(r, e[a].displayRecords.length);

          return 2 * (12 * e.length + e.length * r * 40);
        }, O.prototype.serialize = function () {
          var e = this.tileBufferData.serialize(),
              t = this.tileBufferData.getBuffers(),
              r = this.tileDisplayData.serialize(new a["default"](Int32Array, this._guessSize())).buffer();
          return t.push(r), {
            result: {
              displayData: r,
              bufferData: e
            },
            transferList: t
          };
        }, O.decode = function (e) {
          var t = l.deserializeList(new f["default"](e.displayObjects), i),
              r = {};

          for (var a in e.vertexBuffersMap) r[a] = s.VertexBuffers.decode(e.vertexBuffersMap[a]);

          return O.fromMeshData({
            displayObjects: t,
            vertexBuffersMap: r
          });
        }, O.fromMeshData = function (e) {
          var t = new O(),
              r = new F["default"](),
              a = new A();

          for (var i in r.displayObjects = e.displayObjects, e.vertexBuffersMap) {
            var s = e.vertexBuffersMap[i];
            a.geometries[i].indexBuffer = s.indexBuffer, a.geometries[i].vertexBuffer = s.namedBuffers;
          }

          return t.tileDisplayData = r, t.tileBufferData = a, t;
        }, O.bind = function (e, t) {
          var r = new O();
          return r.tileDisplayData = e, r.tileBufferData = t, r;
        }, O.create = function (e, t) {
          var r = new O();
          r.tileDisplayData = new F["default"]();

          for (var a = [0, 0, 0, 0, 0], i = [0, 0, 0, 0, 0], s = [[], [], [], [], []], f = 0, l = r.tileDisplayData.displayObjects = e; f < l.length; f++) for (var n = 0, u = l[f].displayRecords; n < u.length; n++) {
            var o = u[n];
            s[o.geometryType].push(o), a[o.geometryType] += o.meshData.vertexCount, i[o.geometryType] += o.meshData.indexData.length;
          }

          for (var d, D = new A(), p = [(d = t).fill || {}, d.line || {}, d.icon || {}, d.text || {}, d.label || {}], v = 0; v < 5; v++) {
            var h = new Uint32Array(i[v]),
                y = c(p[v], a[v]);
            B.writeAllMeshDataToBuffers(s[v], y, h), D.geometries[v] = {
              indexBuffer: h,
              vertexBuffer: y
            };
          }

          return r.tileBufferData = D, r;
        }, O._align = function (e, t) {
          var r = e % t;
          return 0 === r ? e : e + (t - r);
        }, O._computeVertexAlignment = function (e) {
          for (var t = !1, r = !1, a = 0, i = e; a < i.length; a++) {
            var s = i[a];
            s % 4 == 2 ? t = !0 : s % 4 != 0 && (r = !0);
          }

          return r ? 4 : t ? 2 : 1;
        }, O;
      }();

      t.TileData = 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/engine/webgl/TileDisplayData.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TileDisplayData.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTileDisplayDataJs(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__(
    /*! ./WGLDisplayList */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayList.js"), __webpack_require__(
    /*! ./WGLDisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayObject.js"), __webpack_require__(
    /*! ./util/serializationUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, y, n, s) {
      function d(e) {
        for (var t = [[], [], [], [], []], i = 0, s = e; i < s.length; i++) for (var r = 0, a = s[i].displayRecords; r < a.length; r++) {
          var n = a[r];
          t[n.geometryType].push(n);
        }

        return t;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.groupRecordsByGeometryType = d;

      var i = function () {
        function i() {}

        return Object.defineProperty(i.prototype, "displayObjectRegistry", {
          get: function get() {
            if (!this._displayObjectRegistry) {
              this._displayObjectRegistry = new Map();

              for (var e = 0, t = this.displayObjects; e < t.length; e++) {
                var i = t[e];

                this._displayObjectRegistry.set(i.id, i);
              }
            }

            return this._displayObjectRegistry;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(i.prototype, "displayList", {
          get: function get() {
            return this._displayList;
          },
          enumerable: !0,
          configurable: !0
        }), i.prototype.computeDisplayList = function (e) {
          if (this._displayList = new y(e), e) for (var t = 0, i = this.displayObjects; t < i.length; t++) for (var s = 0, r = i[t].displayRecords; s < r.length; s++) {
            var a = r[s];

            this._displayList.addToList(a);
          } else for (var n = d(this.displayObjects), l = n.length, o = 0; o < l; ++o) {
            var p = n[o];

            this._displayList.addToList(p);
          }
        }, i.prototype.clone = function () {
          var e = new i();
          return this.displayObjects && (e.displayObjects = this.displayObjects.map(function (e) {
            return e.clone();
          })), e;
        }, i.prototype.serialize = function (e) {
          return s.serializeList(e, this.displayObjects), e;
        }, i.prototype._deserializeObjects = function (e) {
          for (var t = e.readInt32(), i = new Array(t), s = new Map(), r = 0; r < i.length; ++r) {
            var a = n.deserialize(e);
            i[r] = a, s.set(a.id, a);
          }

          this.displayObjects = i, this._displayList = null, this._displayObjectRegistry = s;
        }, i.deserialize = function (e) {
          var t = new i();
          return t._deserializeObjects(e), t;
        }, i;
      }();

      t["default"] = i;
    }.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/webgl/TiledDisplayObject.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TiledDisplayObject.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTiledDisplayObjectJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../../core/libs/gl-matrix-2/mat3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3.js"), __webpack_require__(
    /*! ../../../../core/libs/gl-matrix-2/mat3f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js"), __webpack_require__(
    /*! ../DisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/DisplayObject.js"), __webpack_require__(
    /*! ../../tiling/TileKey */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, u, c, n, r, l) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function (s) {
        function e(e, t, o, r) {
          void 0 === r && (r = o);
          var i = s.call(this) || this;
          return i.transforms = {
            dvs: n.mat3f32.create(),
            tileMat3: n.mat3f32.create()
          }, i.triangleCount = 0, i.key = l.pool.acquire(e), i.bounds = t, i.size = o, i.coordRange = r, i;
        }

        return o(e, s), e.prototype.destroy = function () {
          l.pool.release(this.key), this.key = null, this.texture && (this.texture.dispose(), this.texture = null);
        }, Object.defineProperty(e.prototype, "coords", {
          get: function get() {
            return this._coords;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "bounds", {
          get: function get() {
            return this._bounds;
          },
          set: function set(e) {
            this._coords = [e[0], e[3]], this._bounds = e;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.setTransform = function (e, t) {
          u("esri-2d-debug") && null == t && console.debug("Tried to set tile transform but lod resolution was null");
          var o = t / (e.resolution * e.pixelRatio),
              r = this.transforms.tileMat3,
              i = e.toScreenNoRotation([0, 0], this.coords),
              s = i[0],
              n = i[1],
              l = this.size[0] / this.coordRange[0] * o,
              a = this.size[1] / this.coordRange[1] * o;
          c.mat3.set(r, l, 0, 0, 0, a, 0, s, n, 1), c.mat3.multiply(this.transforms.dvs, e.displayViewMat3, r);
        }, e;
      }(r.DisplayObject);

      t.TiledDisplayObject = i;
    }.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/webgl/TurboLine.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/TurboLine.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglTurboLineJs(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__(
    /*! ../../../../symbols/cim/enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ./mesh/templates/util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, w, r) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var x,
          i = function i() {
        this.closed = void 0, this.isFirstVertex = void 0, this.isLastVertex = void 0, this.isCap = void 0, this.currentVertex = {
          x: void 0,
          y: void 0
        }, this.inbound = {
          x: void 0,
          y: void 0
        }, this.outbound = {
          x: void 0,
          y: void 0
        }, this.prevNormal = {
          x: void 0,
          y: void 0
        }, this.nextNormal = {
          x: void 0,
          y: void 0
        }, this.bisector = {
          x: void 0,
          y: void 0
        }, this.leftInner = {
          x: void 0,
          y: void 0
        }, this.rightInner = {
          x: void 0,
          y: void 0
        }, this.leftOuter = {
          x: void 0,
          y: void 0
        }, this.rightOuter = {
          x: void 0,
          y: void 0
        };
      };

      function T() {
        if (h.cosine < a.innerBisectorAutoSplitThreshold) {
          h.splitInner = !0, h.gapInner = !0;
          var t = Math.max(a.innerBisectorAutoSplitThreshold, h.cosine),
              e = Math.sqrt(1 - t * t) / t;
          h.leftInner.x = h.nextNormal.x + h.sign * e * h.outbound.x, h.leftInner.y = h.nextNormal.y + h.sign * e * h.outbound.y, h.rightInner.x = h.prevNormal.x - h.sign * e * h.inbound.x, h.rightInner.y = h.prevNormal.y - h.sign * e * h.inbound.y;
        } else a.enableInnerBisectorSplit && (h.splitInner = !0, h.gapInner = !1, h.leftInner.x = h.rightInner.x = h.bisector.x / h.cosine, h.leftInner.y = h.rightInner.y = h.bisector.y / h.cosine);

        if (h.cosine < a.outerBisectorAutoSplitThreshold) {
          h.splitOuter = !0, h.gapOuter = !0;
          t = Math.max(a.outerBisectorAutoSplitThreshold, h.cosine), e = Math.sqrt(1 - t * t) / t;
          h.leftOuter.x = h.prevNormal.x - h.sign * e * h.inbound.x, h.leftOuter.y = h.prevNormal.y - h.sign * e * h.inbound.y, h.rightOuter.x = h.nextNormal.x + h.sign * e * h.outbound.x, h.rightOuter.y = h.nextNormal.y + h.sign * e * h.outbound.y;
        } else a.enableOuterBisectorSplit && (h.splitOuter = !0, h.gapOuter = !1, h.leftOuter.x = h.rightOuter.x = h.bisector.x / h.cosine, h.leftOuter.y = h.rightOuter.y = h.bisector.y / h.cosine);
      }

      e.TessellationState = i, e.tessellate = function (t, e, r) {
        a.trackDistance = null != e.trackDistance && e.trackDistance, a.wrapDistance = null != e.wrapDistance ? e.wrapDistance : 65535, a.thin = null != e.thin && e.thin, a.initialDistance = null != e.initialDistance ? e.initialDistance : 0, a.enableOuterBisectorSplit = null != e.enableOuterBisectorSplit && e.enableOuterBisectorSplit, a.outerBisectorAutoSplitThreshold = null != e.outerBisectorAutoSplitThreshold ? e.outerBisectorAutoSplitThreshold : 0, a.enableInnerBisectorSplit = null != e.enableOuterBisectorSplit && e.enableOuterBisectorSplit, a.innerBisectorAutoSplitThreshold = null != e.innerBisectorAutoSplitThreshold ? e.innerBisectorAutoSplitThreshold : 0, x = t, o = r, u = s = d = 0, l = !1, y = c = null, h.currentVertex.x = null, h.currentVertex.y = null, h.distance = a.initialDistance;
        var i = x[0],
            n = x[x.length - 1];
        h.canSplit = !1, h.closed = i.x === n.x && i.y === n.y, x.length < 2 || 2 === x.length && h.closed || (a.thin ? a.trackDistance ? function () {
          for (b(), p(), f(1); s - u > a.wrapDistance || d < x.length;) b(), p(), f(2), o.bridge(h), h.leftExit0 = h.rightExit0, h.leftExit2 = h.rightExit2;
        }() : function () {
          for (; d < x.length;) {
            if (0 < d && (h.inbound.x = h.outbound.x, h.inbound.y = h.outbound.y), d < x.length - 1) {
              h.outbound.x = x[d + 1].x - x[d].x, h.outbound.y = x[d + 1].y - x[d].y;
              var t = Math.sqrt(h.outbound.x * h.outbound.x + h.outbound.y * h.outbound.y);
              h.distance += t, h.outbound.x /= t, h.outbound.y /= t;
            } else h.outbound.x = h.inbound.x, h.outbound.y = h.inbound.y;

            0 === d && (h.inbound.x = h.outbound.x, h.inbound.y = h.outbound.y), h.currentVertex.x = x[d].x, h.currentVertex.y = x[d].y, h.prevNormal.x = -h.inbound.y, h.prevNormal.y = h.inbound.x, h.nextNormal.x = -h.outbound.y, h.nextNormal.y = h.outbound.x, h.leftExit2 = 0 === d ? (o.vertex(h), h.leftEntry0 = h.entry0, h.leftEntry2 = h.entry2, h.leftExit0 = h.exit0, h.exit2) : (o.vertex(h), h.rightEntry0 = h.entry0, h.rightEntry2 = h.entry2, h.rightExit0 = h.exit0, h.rightExit2 = h.exit2, o.bridge(h), h.leftExit0 = h.rightExit0, h.rightExit2), ++d;
          }
        }() : a.enableOuterBisectorSplit || 0 < a.outerBisectorAutoSplitThreshold || a.enableInnerBisectorSplit || 0 < a.innerBisectorAutoSplitThreshold ? (h.canSplit = !0, function () {
          for (b(), V(), h.splitInner = h.gapInner = h.splitOuter = h.gapOuter = !1, g(1), h.closure0 = h.leftEntry0, h.closure1 = h.leftEntry1, h.closure2 = h.leftEntry2; s - u > a.wrapDistance || d < x.length - 1 || d < x.length && (!h.closed || a.trackDistance);) b(), V(), h.splitInner = h.gapInner = h.splitOuter = h.gapOuter = !1, g(2), o.bridge(h), h.leftExit0 = h.rightExit0, h.leftExit1 = h.rightExit1, h.leftExit2 = h.rightExit2;

          h.closed && !a.trackDistance && (h.rightEntry0 = h.closure0, h.rightEntry1 = h.closure1, h.rightEntry2 = h.closure2, o.bridge(h), h.leftExit0 = h.rightExit0, h.leftExit1 = h.rightExit1, h.leftExit2 = h.rightExit2);
        }()) : function () {
          for (b(), V(), g(1), h.closure0 = h.leftEntry0, h.closure1 = h.leftEntry1, h.closure2 = h.leftEntry2; s - u > a.wrapDistance || d < x.length - 1 || d < x.length && (!h.closed || a.trackDistance);) b(), V(), g(2), o.bridge(h), h.leftExit0 = h.rightExit0, h.leftExit1 = h.rightExit1, h.leftExit2 = h.rightExit2;

          h.closed && !a.trackDistance && (h.rightEntry0 = h.closure0, h.rightEntry1 = h.closure1, h.rightEntry2 = h.closure2, o.bridge(h), h.leftExit0 = h.rightExit0, h.leftExit1 = h.rightExit1, h.leftExit2 = h.rightExit2);
        }());
      }, e.cleanup = function () {
        o = x = null;
      }, e.splitVertex = T;
      var o,
          s,
          u,
          l,
          c,
          y,
          a = {},
          d = void 0,
          h = new i();

      function b() {
        if (l) return h.distance = 0, h.isCap = h.isFirstVertex = h.isLastVertex = !1, void (l = !1);
        if (0 === s) if (h.isFirstVertex = 0 === d, y = x[d], 0 === d) {
          if (s = 0, h.closed) {
            h.inbound.x = y.x - x[x.length - 2].x, h.inbound.y = y.y - x[x.length - 2].y;
            var t = Math.sqrt(h.inbound.x * h.inbound.x + h.inbound.y * h.inbound.y);
            h.inbound.x /= t, h.inbound.y /= t;
          }
        } else h.inbound.x = y.x - c.x, h.inbound.y = y.y - c.y, s = Math.sqrt(h.inbound.x * h.inbound.x + h.inbound.y * h.inbound.y), h.inbound.x /= s, h.inbound.y /= s;

        if (h.distance + s - u <= a.wrapDistance) {
          if (d < x.length - 1) {
            h.outbound.x = x[d + 1].x - y.x, h.outbound.y = x[d + 1].y - y.y;
            var e = Math.sqrt(h.outbound.x * h.outbound.x + h.outbound.y * h.outbound.y);
            h.outbound.x /= e, h.outbound.y /= e;
          } else if (h.closed) {
            h.outbound.x = x[1].x - y.x, h.outbound.y = x[1].y - y.y;
            e = Math.sqrt(h.outbound.x * h.outbound.x + h.outbound.y * h.outbound.y);
            h.outbound.x /= e, h.outbound.y /= e;
          } else h.outbound.x = h.inbound.x, h.outbound.y = h.inbound.y;

          return 0 !== d || h.closed || (h.inbound.x = h.outbound.x, h.inbound.y = h.outbound.y), ++d, h.isLastVertex = d === x.length, h.isCap = !h.closed && (h.isFirstVertex || h.isLastVertex), h.distance += s - u, u = s = 0, l = h.distance + s - u === a.wrapDistance, h.currentVertex.x = y.x, h.currentVertex.y = y.y, c = y, void (y = null);
        }

        h.outbound.x = h.inbound.x, h.outbound.y = h.inbound.y, u += a.wrapDistance - h.distance, h.distance = a.wrapDistance, l = !0;
        var r = u / s;
        h.currentVertex.x = (1 - r) * c.x + r * y.x, h.currentVertex.y = (1 - r) * c.y + r * y.y;
      }

      function p() {
        h.prevNormal.x = -h.inbound.y, h.prevNormal.y = h.inbound.x, h.nextNormal.x = -h.outbound.y, h.nextNormal.y = h.outbound.x;
      }

      function V() {
        p(), h.bisector.x = h.prevNormal.x + h.nextNormal.x, h.bisector.y = h.prevNormal.y + h.nextNormal.y;
        var t = Math.sqrt(h.bisector.x * h.bisector.x + h.bisector.y * h.bisector.y);
        if (t < .001) return h.bisector.x = void 0, h.bisector.y = void 0, h.cosine = 0, void (h.sign = void 0);
        h.bisector.x /= t, h.bisector.y /= t, h.cosine = h.bisector.x * h.nextNormal.x + h.bisector.y * h.nextNormal.y, h.sign = 0 <= h.prevNormal.x * h.nextNormal.y - h.prevNormal.y * h.nextNormal.x ? 1 : -1;
      }

      function g(t) {
        o.vertex(h), 1 === t ? (h.leftEntry0 = h.entry0, h.leftEntry1 = h.entry1, h.leftEntry2 = h.entry2, h.leftExit0 = h.exit0, h.leftExit1 = h.exit1, h.leftExit2 = h.exit2) : 2 === t && (h.rightEntry0 = h.entry0, h.rightEntry1 = h.entry1, h.rightEntry2 = h.entry2, h.rightExit0 = h.exit0, h.rightExit1 = h.exit1, h.rightExit2 = h.exit2);
      }

      function f(t) {
        o.vertex(h), 1 === t ? (h.leftEntry0 = h.entry0, h.leftEntry2 = h.entry2, h.leftExit0 = h.exit0, h.leftExit2 = h.exit2) : 2 === t && (h.rightEntry0 = h.entry0, h.rightEntry2 = h.entry2, h.rightExit0 = h.exit0, h.rightExit2 = h.exit2);
      }

      var n = function () {
        function t(t, e) {
          this.writeVertex = t, this.writeTriangle = e, this.capType = w.CapType.BUTT, this.joinType = w.JoinType.MITER, this.miterLimitCosine = r.getLimitCosine(2), this.roundLimitCosine = Math.cos(23 * Math.PI / 180), this.almostParallelCosine = .97, this.radsPerSlice = .8, this.textured = !1, this.joinOnUTurn = !1;
        }

        return t.prototype.vertex = function (t) {
          var e = this.joinType === w.JoinType.MITER ? this.miterLimitCosine : this.roundLimitCosine,
              r = t.isCap && this.capType !== w.CapType.BUTT,
              i = !1;
          t.cosine > this.almostParallelCosine ? (t.exit0 = t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.bisector.x / t.cosine, t.bisector.y / t.cosine, 0, -1, t.distance), t.exit2 = t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.bisector.x / t.cosine, -t.bisector.y / t.cosine, 0, 1, t.distance)) : t.cosine < 1 - this.almostParallelCosine ? (i = !t.isCap && this.joinOnUTurn, t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.prevNormal.x, t.prevNormal.y, 0, -1, t.distance), t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.prevNormal.x, -t.prevNormal.y, 0, 1, t.distance), t.exit0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.nextNormal.x, t.nextNormal.y, 0, -1, t.distance), t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.nextNormal.x, -t.nextNormal.y, 0, 1, t.distance)) : t.canSplit ? (T(), 0 < t.sign ? (t.splitInner ? (t.exit0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.outbound.x, t.outbound.y, t.leftInner.x, t.leftInner.y, 0, -1, t.distance), t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.inbound.x, t.inbound.y, t.rightInner.x, t.rightInner.y, 0, -1, t.distance)) : t.exit0 = t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.inbound.x, t.inbound.y, t.bisector.x / t.cosine, t.bisector.y / t.cosine, 0, -1, t.distance), t.cosine < e ? (i = !t.isCap, t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.prevNormal.x, -t.prevNormal.y, 0, 1, t.distance), t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.nextNormal.x, -t.nextNormal.y, 0, 1, t.distance)) : t.splitOuter ? (i = i || t.gapOuter, t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.inbound.x, t.inbound.y, -t.leftOuter.x, -t.leftOuter.y, 0, 1, t.distance), t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.outbound.x, t.outbound.y, -t.rightOuter.x, -t.rightOuter.y, 0, 1, t.distance)) : t.entry2 = t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.bisector.x / t.cosine, -t.bisector.y / t.cosine, 0, 1, t.distance)) : (t.splitInner ? (t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.outbound.x, t.outbound.y, -t.leftInner.x, -t.leftInner.y, 0, 1, t.distance), t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.inbound.x, t.inbound.y, -t.rightInner.x, -t.rightInner.y, 0, 1, t.distance)) : t.exit2 = t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.bisector.x / t.cosine, -t.bisector.y / t.cosine, 0, 1, t.distance), t.cosine < e ? (i = !t.isCap, t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.prevNormal.x, t.prevNormal.y, 0, -1, t.distance), t.exit0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.nextNormal.x, t.nextNormal.y, 0, -1, t.distance)) : t.splitOuter ? (i = i || t.gapOuter, t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.inbound.x, t.inbound.y, t.leftOuter.x, t.leftOuter.y, 0, -1, t.distance), t.exit0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.outbound.x, t.outbound.y, t.rightOuter.x, t.rightOuter.y, 0, -1, t.distance)) : t.exit0 = t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.bisector.x / t.cosine, t.bisector.y / t.cosine, 0, -1, t.distance))) : 0 < t.sign ? (t.exit0 = t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, t.inbound.x, t.inbound.y, t.bisector.x / t.cosine, t.bisector.y / t.cosine, 0, -1, t.distance), t.cosine < e ? (i = !t.isCap, t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.prevNormal.x, -t.prevNormal.y, 0, 1, t.distance), t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.nextNormal.x, -t.nextNormal.y, 0, 1, t.distance)) : t.entry2 = t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.bisector.x / t.cosine, -t.bisector.y / t.cosine, 0, 1, t.distance)) : (t.exit2 = t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.bisector.x / t.cosine, -t.bisector.y / t.cosine, 0, 1, t.distance), t.cosine < e ? (i = !t.isCap, t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.prevNormal.x, t.prevNormal.y, 0, -1, t.distance), t.exit0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.nextNormal.x, t.nextNormal.y, 0, -1, t.distance)) : t.exit0 = t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.bisector.x / t.cosine, t.bisector.y / t.cosine, 0, -1, t.distance));
          var n,
              x = t.canSplit && (t.splitInner || t.splitOuter);
          if (n = t.entry1 = t.exit1 = x || i || r ? this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, 0, 0, 0, 0, t.distance) : null, i && this.joinType !== w.JoinType.ROUND) this.writeTriangle(n, 0 < t.sign ? t.exit2 : t.entry0, 0 < t.sign ? t.entry2 : t.exit0);else if (r && this.capType === w.CapType.ROUND || i && this.joinType === w.JoinType.ROUND) {
            var o,
                s = void 0,
                u = void 0,
                l = void 0,
                c = void 0,
                y = void 0,
                a = void 0;
            if (t.isCap) a = (o = Math.PI) / (y = Math.ceil(o / this.radsPerSlice)), t.isFirstVertex ? (s = t.prevNormal.x, u = t.prevNormal.y, l = t.entry0, c = t.entry2) : t.isLastVertex && (s = -t.nextNormal.x, u = -t.nextNormal.y, l = t.exit2, c = t.exit0);else a = (o = 2 * Math.acos(t.cosine)) / (y = Math.ceil(o / this.radsPerSlice)), s = 0 < t.sign ? -t.prevNormal.x : t.nextNormal.x, u = 0 < t.sign ? -t.prevNormal.y : t.nextNormal.y, l = 0 < t.sign ? t.entry2 : t.exit0, c = 0 < t.sign ? t.exit2 : t.entry0;
            var d,
                h = Math.cos(a),
                b = Math.sin(a),
                p = b * s + h * u;
            s = h * s - b * u, u = p;

            for (var V = void 0, g = 0; g < y; ++g) {
              if (d = V, g < y - 1) if (t.isCap) {
                var f = t.isFirstVertex ? -1 : 1;
                V = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, s, u, f, 0, t.distance);
              } else V = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, s, u, 0, t.sign, t.distance);
              this.writeTriangle(0 === g ? l : d, n, g === y - 1 ? c : V);
              var E = b * s + h * u;
              s = h * s - b * u, u = E;
            }
          } else if (r && this.capType === w.CapType.SQUARE) {
            var v = t.isFirstVertex ? 1 : -1,
                m = void 0,
                N = void 0;
            N = this.textured ? (m = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.prevNormal.x - v * t.inbound.x, t.prevNormal.y - v * t.inbound.y, -v, -1, t.distance), this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.prevNormal.x - v * t.inbound.x, -t.prevNormal.y - v * t.inbound.y, -v, 1, t.distance)) : (m = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.prevNormal.x - v * t.inbound.x, t.prevNormal.y - v * t.inbound.y, 0, -1, t.distance), this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.prevNormal.x - v * t.inbound.x, -t.prevNormal.y - v * t.inbound.y, 0, 1, t.distance)), 0 < v ? (this.writeTriangle(n, t.entry2, N), this.writeTriangle(n, N, m), this.writeTriangle(n, m, t.entry0)) : (this.writeTriangle(n, N, t.exit2), this.writeTriangle(n, m, N), this.writeTriangle(n, t.exit0, m));
          }
        }, t.prototype.bridge = function (t) {
          this.writeTriangle(t.leftExit0, t.rightEntry0, null != t.leftExit1 ? t.leftExit1 : t.leftExit2), this.writeTriangle(t.rightEntry0, null != t.rightEntry1 ? t.rightEntry1 : t.rightEntry2, null != t.leftExit1 ? t.leftExit1 : t.leftExit2), null != t.leftExit1 && null != t.rightEntry1 ? (this.writeTriangle(t.leftExit1, t.rightEntry1, t.leftExit2), this.writeTriangle(t.rightEntry1, t.rightEntry2, t.leftExit2)) : null != t.leftExit1 ? this.writeTriangle(t.leftExit1, t.rightEntry2, t.leftExit2) : null != t.rightEntry1 && this.writeTriangle(t.rightEntry1, t.rightEntry2, t.leftExit2);
        }, t;
      }();

      e.StandardTessellationCallbacks = n;

      var E = function () {
        function t(t, e) {
          this.writeVertex = t, this.writeTriangle = e;
        }

        return t.prototype.vertex = function (t) {
          t.entry0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.prevNormal.x, t.prevNormal.y, 0, -1, t.distance), t.entry2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.prevNormal.x, -t.prevNormal.y, 0, 1, t.distance), t.exit0 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, t.nextNormal.x, t.nextNormal.y, 0, -1, t.distance), t.exit2 = this.writeVertex(t.currentVertex.x, t.currentVertex.y, 0, 0, -t.nextNormal.x, -t.nextNormal.y, 0, 1, t.distance);
        }, t.prototype.bridge = function (t) {
          this.writeTriangle(t.leftExit0, t.rightEntry0, t.leftExit2), this.writeTriangle(t.rightEntry0, t.rightEntry2, t.leftExit2);
        }, t;
      }();

      e.ThinTessellationCallbacks = 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/webgl/Utils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../../symbols/cim/enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./SymbolProperties */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/SymbolProperties.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, n, r, a, i, s, u, c, E, _) {
      var T;
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      u.enums.Usage, u.enums.DataType, u.enums.TextureType, u.enums.PixelFormat, u.enums.PixelType, u.enums.TextureWrapMode, u.enums.TextureSamplingMode;
      var p = r.getLogger("esri.views.2d.engine.webgl.Utils");

      function l(e) {
        for (var r = {}, t = 0, n = e; t < n.length; t++) {
          var a = n[t];
          r[a.name] = a.strideInBytes;
        }

        return r;
      }

      t.C_VBO_GEOMETRY = "geometry", t.C_VBO_PERINSTANCE = "per_instance", t.C_VBO_PERINSTANCE_VV = "per_instance_vv", t.C_ICON_VERTEX_DEF = [{
        name: t.C_VBO_GEOMETRY,
        strideInBytes: 32,
        divisor: 0
      }], t.C_FILL_VERTEX_DEF = [{
        name: t.C_VBO_GEOMETRY,
        strideInBytes: 32,
        divisor: 0
      }], t.C_FILL_VERTEX_DEF_DD = [{
        name: t.C_VBO_GEOMETRY,
        strideInBytes: 12,
        divisor: 0
      }], t.C_LINE_VERTEX_DEF = [{
        name: t.C_VBO_GEOMETRY,
        strideInBytes: 36,
        divisor: 0
      }], t.C_TEXT_VERTEX_DEF = [{
        name: t.C_VBO_GEOMETRY,
        strideInBytes: 24,
        divisor: 0
      }], t.C_LABEL_VERTEX_DEF = [{
        name: t.C_VBO_GEOMETRY,
        strideInBytes: 28,
        divisor: 0
      }], t.C_ICON_STRIDE_SPEC = l(t.C_ICON_VERTEX_DEF), t.C_FILL_STRIDE_SPEC = l(t.C_FILL_VERTEX_DEF), t.C_FILL_STRIDE_SPEC_DD = l(t.C_FILL_VERTEX_DEF_DD), t.C_LINE_STRIDE_SPEC = l(t.C_LINE_VERTEX_DEF), t.C_TEXT_STRIDE_SPEC = l(t.C_TEXT_VERTEX_DEF), t.C_LABEL_STRIDE_SPEC = l(t.C_LABEL_VERTEX_DEF), t.getStrides = function (e, r) {
        switch (e) {
          case E.WGLGeometryType.MARKER:
            return t.C_ICON_STRIDE_SPEC;

          case E.WGLGeometryType.FILL:
            return r ? t.C_FILL_STRIDE_SPEC_DD : t.C_FILL_STRIDE_SPEC;

          case E.WGLGeometryType.LINE:
            return t.C_LINE_STRIDE_SPEC;

          case E.WGLGeometryType.TEXT:
            return t.C_TEXT_STRIDE_SPEC;

          case E.WGLGeometryType.LABEL:
            return t.C_LABEL_STRIDE_SPEC;
        }

        return null;
      };
      var y = [t.C_VBO_GEOMETRY],
          f = [t.C_VBO_GEOMETRY],
          C = [t.C_VBO_GEOMETRY],
          m = [t.C_VBO_GEOMETRY],
          d = [t.C_VBO_GEOMETRY];

      function v(e) {
        switch (e) {
          case E.WGLGeometryType.MARKER:
            return y;

          case E.WGLGeometryType.FILL:
            return f;

          case E.WGLGeometryType.LINE:
            return C;

          case E.WGLGeometryType.TEXT:
            return m;

          case E.WGLGeometryType.LABEL:
            return d;
        }

        return null;
      }

      function L(e) {
        switch (e % 4) {
          case 0:
          case 2:
            return 4;

          case 1:
          case 3:
            return 1;
        }
      }

      function R(e) {
        return "string" == typeof e;
      }

      function g(e) {
        switch (e) {
          case 5120:
          case 5121:
            return 1;

          case 5122:
          case 5123:
            return 2;

          case 5126:
          case 5124:
          case 5125:
            return 4;
        }
      }

      t.getNamedBuffers = v, t.strideToPackingFactor = L, t.allocateTypedArrayBuffer = function (e, r) {
        switch (r % 4) {
          case 0:
          case 2:
            return new Uint32Array(Math.floor(e * r / 4));

          case 1:
          case 3:
            return new Uint8Array(e * r);
        }
      }, t.allocateTypedArrayBufferwithData = function (e, r) {
        switch (r % 4) {
          case 0:
          case 2:
            return new Uint32Array(e);

          case 1:
          case 3:
            return new Uint8Array(e);
        }
      }, t.getTextProperties = function (e) {
        return _.TextProperties.pool.acquire(e.color ? c.copyAndPremultiply(e.color) : [255, 255, 255, 255], e.haloColor ? c.copyAndPremultiply(e.haloColor) : [255, 255, 255, 255], i.pt2px(e.haloSize), i.pt2px(e.font.size), e.angle * Math.PI / 180, e.xoffset / e.font.size, e.yoffset / e.font.size, "left" === e.horizontalAlignment ? 0 : "right" === e.horizontalAlignment ? 1 : .5, "top" === e.verticalAlignment ? 0 : "bottom" === e.verticalAlignment ? 1 : .5);
      }, t.isDefined = function (e) {
        return null != e;
      }, t.isNumber = function (e) {
        return "number" == typeof e;
      }, t.isString = R, t.isStringOrNull = function (e) {
        return null == e || R(e);
      }, t.getCapType = function (e, r) {
        switch (e) {
          case "butt":
            return s.CapType.BUTT;

          case "round":
            return r ? s.CapType.SQUARE : s.CapType.ROUND;

          case "square":
            return s.CapType.SQUARE;

          default:
            return p.error(new n("mapview-invalid-type", "Cap type " + e + " is not a valid option. Defaulting to round")), s.CapType.ROUND;
        }
      }, t.getJoinType = function (e) {
        switch (e) {
          case "miter":
            return s.JoinType.MITER;

          case "bevel":
            return s.JoinType.BEVEL;

          case "round":
            return s.JoinType.ROUND;

          default:
            return p.error(new n("mapview-invalid-type", "Join type " + e + " is not a valid option. Defaulting to round")), s.JoinType.ROUND;
        }
      }, t.getVVType = function (e) {
        switch (e) {
          case "opacity":
            return E.VVType.OPACITY;

          case "color":
            return E.VVType.COLOR;

          case "rotation":
            return E.VVType.ROTATION;

          case "size":
            return E.VVType.SIZE;

          default:
            return p.error("Cannot interpret unknown vv: " + e), null;
        }
      }, t.getTransformParams = function (e) {
        return {
          transform: e.transform,
          hasZ: e.hasZ,
          hasM: e.hasM
        };
      }, t.copyMeshData = function (e, r, t, n, a, o, i) {
        for (var s in o) for (var u = o[s].stride, c = L(u), E = o[s].data, _ = t[s].data, T = u * a.vertexCount / c, p = u * e / c, l = u * a.vertexFrom / c, y = 0; y < T; ++y) _[y + p] = E[y + l];

        var f = a.indexCount;

        for (y = 0; y < f; ++y) n[y + r] = i[y + a.indexFrom] - a.vertexFrom + e;
      }, t.C_VBO_INFO = ((T = {})[t.C_VBO_GEOMETRY] = 35044, T), t.createGeometryData = function (e, r) {
        for (var t = [], n = 0; n < 5; ++n) {
          for (var a = {}, o = 0, i = v(n); o < i.length; o++) {
            var s = i[o];
            a[s] = {
              data: r(n, s)
            };
          }

          t.push({
            data: e(n),
            buffers: a
          });
        }

        return t;
      }, t.createTextureFromTexelData = function (e, r) {
        var t, n;
        return n = a.isPowerOfTwo(r.width) && a.isPowerOfTwo(r.height) ? (t = !0, 9987) : (t = !1, 9729), new u.Texture(e, {
          target: 3553,
          pixelFormat: 6408,
          internalFormat: 6408,
          dataType: 5121,
          hasMipmap: t,
          samplingMode: n,
          wrapMode: 33071,
          flipped: !0
        }, r);
      }, t.geometryToMappedGeometry = function (e) {
        return {
          vertexFrom: void 0,
          vertexTo: void 0,
          geometry: e
        };
      }, t.getBytes = g, t.getPixelBytes = function (e) {
        switch (e) {
          case 5121:
            return 1;

          case 32819:
            return 2;

          case 5126:
            return 4;

          default:
            return void p.error(new n("webgl-utils", "Unable to handle type " + e));
        }
      }, t.getPixelArrayCtor = function (e) {
        switch (e) {
          case 5121:
            return Uint8Array;

          case 32819:
            return Uint16Array;

          case 5126:
            return Float32Array;

          default:
            return void p.error(new n("webgl-utils", "Unable to handle type " + e));
        }
      };
      var I = new Map();

      t.createProgramDescriptor = function (e, r) {
        if (!I.has(e)) {
          var t = function (n) {
            var a = {},
                e = function e(_e5) {
              var r = n[_e5],
                  t = 0;
              a[_e5] = r.map(function (e) {
                var r = o({}, e, {
                  normalized: e.normalized || !1,
                  divisor: e.divisor || 0,
                  offset: t,
                  stride: 0
                });
                return t += e.count * g(e.type), r;
              }), a[_e5].forEach(function (e) {
                return e.stride = t;
              });
            };

            for (var r in n) e(r);

            return a;
          }(r),
              n = {
            strides: function (e) {
              var r = {};

              for (var t in e) {
                var n = e[t];
                r[t] = n.length ? n[0].stride : 0;
              }

              return r;
            }(t),
            bufferLayouts: t,
            attributes: function (e) {
              var r = {};

              for (var t in e) for (var n = 0, a = e[t]; n < a.length; n++) {
                var o = a[n];
                r[o.name] = o.location;
              }

              return r;
            }(r)
          };

          I.set(e, n);
        }

        return I.get(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/webgl/VertexStream.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/VertexStream.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglVertexStreamJs(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__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i) {
      i.enums.Usage, i.enums.DataType, i.enums.PrimitiveType;
      return function () {
        function e(e, t) {
          this.rctx = e, this._vertexBuffer = i.BufferObject.createVertex(e, 35044, new Uint16Array(t)), this._vao = new i.VertexArrayObject(e, {
            a_position: 0
          }, {
            geometry: [{
              name: "a_position",
              count: 2,
              type: 5123,
              offset: 0,
              stride: 4,
              normalized: !1
            }]
          }, {
            geometry: this._vertexBuffer
          });
        }

        return e.prototype.bind = function () {
          this._vao.bind();
        }, e.prototype.unbind = function () {
          this._vao.unbind();
        }, e.prototype.dispose = function () {
          this._vao.dispose(!1), this._vertexBuffer.dispose();
        }, e.prototype.draw = function () {
          this.rctx.bindVAO(this._vao), this.rctx.drawArrays(5, 0, 4);
        }, 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/webgl/WGLBuffers.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLBuffers.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLBuffersJs(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__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, f) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var r = function () {
        function e(r) {
          this.geometryMap = f.createGeometryData(function () {
            return {
              indexBuffer: a.BufferObject.createIndex(r, 35044),
              vao: null
            };
          }, function (e, t) {
            return {
              vertexBuffer: a.BufferObject.createVertex(r, f.C_VBO_INFO[t])
            };
          });
        }

        return e.prototype.dispose = function () {
          for (var e = 0; e < 5; e++) {
            var t = this.geometryMap[e];
            if (t) for (var r in t.data.vao && t.data.vao.dispose(!1), t.data.indexBuffer && t.data.indexBuffer.dispose(), t.buffers) t.buffers[r] && t.buffers[r].data.vertexBuffer.dispose();
          }
        }, e.prototype.get = function (e) {
          var t = this.geometryMap[e],
              r = {};

          for (var a in t.buffers) r[a] = t.buffers[a].data.vertexBuffer;

          return {
            indexBuffer: t.data.indexBuffer,

            get vao() {
              return t.data.vao;
            },

            set vao(e) {
              t.data.vao = e;
            },

            vertexBufferMap: r
          };
        }, e.prototype.has = function (e) {
          return null != this.geometryMap[e];
        }, e.prototype.upload = function (r, e) {
          var a = this;
          e.forEach(function (e, t) {
            a._upload(e, t, r);
          });
        }, e.prototype._upload = function (e, t, r) {
          if (e.indices && (e.indices.allDirty ? this._uploadIndices(r, t) : null != e.indices.from && null != e.indices.count && this._uploadIndices(r, t, e.indices.from, e.indices.count)), e.vertices) {
            var a = e.vertices;

            for (var f in a) {
              var u = a[f];
              u.allDirty ? this._uploadVertices(r, t, f) : null != u.from && null != u.count && this._uploadVertices(r, t, f, u.from, u.count);
            }
          }
        }, e.prototype._uploadVertices = function (e, t, r, a, f) {
          var u = this.geometryMap[t];

          if (u) {
            var i = e.geometries[t].vertexBuffer[r];

            if (i) {
              var n = i.stride,
                  o = i.data.buffer;
              u.buffers[r] && 0 < o.byteLength && (null != a && null != f ? u.buffers[r].data.vertexBuffer.setSubData(o, a * n, a * n, (a + f) * n) : u.buffers[r].data.vertexBuffer.setData(o));
            }
          }
        }, e.prototype._uploadIndices = function (e, t, r, a) {
          var f = this.geometryMap[t];

          if (f) {
            var u = e.geometries[t].indexBuffer.buffer;
            f.data.indexBuffer && 0 < u.byteLength && (null != r && null != a ? f.data.indexBuffer.setSubData(u, 4 * r, 4 * r, 4 * (r + a)) : f.data.indexBuffer.setData(u));
          }
        }, e;
      }();

      t["default"] = r;
    }.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/webgl/WGLContainer.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLContainer.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLContainerJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../engine */
    "./node_modules/arcgis-js-api/views/2d/engine.js"), __webpack_require__(
    /*! ../Container */
    "./node_modules/arcgis-js-api/views/2d/engine/Container.js"), __webpack_require__(
    /*! ./ClippingInfo */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/ClippingInfo.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, s, n, i, a, r, o, p) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var h = function (r) {
        function e(e) {
          var t = r.call(this) || this;
          return t.name = t.constructor.name, t._lastTime = null, t.setClips(e), t;
        }

        return s(e, r), e.prototype.setClips = function (e) {
          var t = this;
          i.isSome(this._clippingInfos) && (this._clippingInfos.forEach(function (e) {
            return e.destroy();
          }), this._clippingInfos = null), i.isSome(e) && e.length && (this._clippingInfos = e.items.map(function (e) {
            return o["default"].fromClipArea(t, e);
          })), this.requestRender();
        }, e.prototype.doRender = function (e) {
          this.attachChildren(), this.detachChildren();
          var t = this.createRenderParams(e),
              r = t.context,
              s = t.painter,
              n = t.globalOpacity,
              i = t.profiler,
              a = t.drawPhase === p.WGLDrawPhase.LABEL ? 1 : n * this.opacity;
          i.recordContainerStart(this.name), s.beforeRenderLayer(r, this._clippingInfos ? 255 : 0, a), this.updateTransforms(e.state), this.renderChildren(t), s.compositeLayer(r, a), i.recordContainerEnd();
        }, e.prototype.renderChildren = function (e) {
          i.isNone(this._renderPasses) && (this._renderPasses = this.prepareRenderPasses(this.stage.painter));

          for (var t = 0, r = this._renderPasses; t < r.length; t++) {
            r[t].render(e);
          }
        }, e.prototype.createRenderParams = function (e) {
          var t = Date.now(),
              r = (i.isSome(this._lastTime) ? t - this._lastTime : 0) / 1e3;
          return this._lastTime = t, n({}, e, {
            context: this.stage.context,
            painter: this.stage.painter,
            profiler: this.stage.profiler,
            renderingOptions: this.stage.renderingOptions,
            driverTestResult: this.stage.driverTestResult,
            timeDelta: r,
            timeline: this.stage.timeline
          });
        }, e.prototype.prepareRenderPasses = function (e) {
          var t = this;
          return [e.registerRenderPass({
            name: "clip",
            brushes: [a.brushes.Clip],
            target: function target() {
              return t._clippingInfos;
            },
            drawPhase: p.WGLDrawPhase.MAP | p.WGLDrawPhase.LABEL | p.WGLDrawPhase.LABEL_ALPHA | p.WGLDrawPhase.DEBUG
          })];
        }, e.prototype.updateTransforms = function (e) {
          for (var t = 0, r = this.children; t < r.length; t++) {
            r[t].setTransform(e);
          }
        }, e;
      }(r.Container);

      t["default"] = h;
    }.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/webgl/WGLDisplayList.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayList.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLDisplayListJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, u) {
      var i = n.getLogger("esri.views.2d.engine.webgl.WGLDisplayList");

      function p(e, t, r) {
        for (var n = [], o = 3; o < arguments.length; o++) n[o - 3] = arguments[o];

        t < e.length ? e.splice.apply(e, [t, r].concat(n)) : e.push.apply(e, n);
      }

      var o = new Map();
      o.set(u.WGLDrawPhase.MAP, [u.WGLGeometryType.FILL, u.WGLGeometryType.LINE, u.WGLGeometryType.MARKER, u.WGLGeometryType.TEXT]), o.set(u.WGLDrawPhase.LABEL, [u.WGLGeometryType.LABEL]), o.set(u.WGLDrawPhase.LABEL_ALPHA, [u.WGLGeometryType.LABEL]);

      var l = function () {
        function o(e) {
          void 0 === e && (e = !1), this.symbolLevels = [], this.unified = e;
        }

        return o.prototype.replay = function (e, t, r) {
          if (this.unified) for (var n = 0, o = this.symbolLevels; n < o.length; n++) for (var i = 0, l = o[n].zLevels; i < l.length; i++) {
            var y = l[i].geometryDPInfo;

            for (var s in y) if (y[s]) for (var m = 0, u = y[s]; m < u.length; m++) {
              var a = u[m],
                  f = e.painter.getGeometryBrush(a.geometryType),
                  p = t.getGeometry(a.geometryType);
              f.prepareState(e, t), f.drawGeometry(e, t, a, p, r);
            }
          }
        }, Object.defineProperty(o.prototype, "empty", {
          get: function get() {
            return !this.symbolLevels || 0 === this.symbolLevels.length;
          },
          enumerable: !0,
          configurable: !0
        }), o.prototype.clear = function () {
          this.symbolLevels.length = 0;
        }, o.prototype.addToList = function (e, t) {
          if (Array.isArray(e)) for (var r = 0, n = e; r < n.length; r++) {
            var o = n[r];

            this._addToList(o, t);
          } else this._addToList(e, t);
        }, o.prototype.removeFromList = function (e) {
          Array.isArray(e) || (e = [e]);

          for (var t = null, r = 0, n = e; r < n.length; r++) {
            var o = n[r];
            t = this._removeFromList(o);
          }

          return t;
        }, o.prototype.byType = function (e, t) {
          for (var r = 0, n = this.symbolLevels; r < n.length; r++) for (var o = 0, i = n[r].zLevels; o < i.length; o++) {
            var l = i[o].geometryDPInfo,
                y = this.getDPInfoType(e);
            if (l[y]) for (var s = 0, m = l[y]; s < m.length; s++) {
              t(m[s]);
            }
          }
        }, o.prototype.clone = function () {
          for (var e = new o(this.unified), t = 0, r = this.symbolLevels; t < r.length; t++) {
            var n = r[t];
            e.symbolLevels.push(n.clone());
          }

          return e;
        }, o.prototype.splitAfter = function (e) {
          for (var t = this._getDisplayList(e.symbolLevel, e.zOrder, e.geometryType), r = t.length, n = e.indexFrom + e.indexCount, o = 0; o < r; ++o) {
            var i = t[o];

            if (i.geometryType === e.geometryType && n > i.indexFrom && n <= i.indexFrom + i.indexCount) {
              if (n < i.indexFrom + i.indexCount) {
                var l = new d();
                l.geometryType = i.geometryType, l.materialKey = i.materialKey, l.indexFrom = n, l.indexCount = i.indexFrom + i.indexCount - n, t.splice(o + 1, 0, l), i.indexCount = n - i.indexFrom;
              }

              return o;
            }
          }
        }, o.prototype._addToList = function (e, t) {
          var r = e.symbolLevel,
              n = e.zOrder,
              o = this._getDisplayList(r, n, e.geometryType),
              i = null != t ? t : o.length - 1,
              l = 0 <= i && i < o.length ? o[i] : null;

          if (null === l || l.materialKey !== e.materialKey || l.indexFrom + l.indexCount !== e.indexFrom || this.unified && l.geometryType !== e.geometryType) {
            var y = new d();
            y.indexFrom = e.indexFrom, y.indexCount = e.indexCount, y.materialKey = e.materialKey, y.geometryType = e.geometryType, p(o, i + 1, 0, y);
          } else l.indexCount += e.indexCount;
        }, o.prototype._removeFromList = function (e) {
          for (var t = e.symbolLevel, r = e.zOrder, n = this._getDisplayList(t, r, e.geometryType), o = n.length, i = void 0, l = 0; l < o; ++l) {
            var y = n[l];

            if (e.indexFrom + e.indexCount > y.indexFrom && e.indexFrom < y.indexFrom + y.indexCount && (!this.unified || y.geometryType === e.geometryType)) {
              i = l;
              break;
            }
          }

          if (void 0 === i) return null;
          y = n[i];
          if (e.indexFrom === y.indexFrom) return y.indexCount -= e.indexCount, y.indexFrom += e.indexCount, 0 === y.indexCount && p(n, i, 1), i - 1;
          if (e.indexFrom + e.indexCount === y.indexFrom + y.indexCount) return y.indexCount -= e.indexCount, 0 === y.indexCount ? (p(n, i, 1), i - 1) : i;
          var s = y.indexFrom,
              m = e.indexFrom - y.indexFrom,
              u = e.indexCount,
              a = y.indexFrom + y.indexCount - (e.indexFrom + e.indexCount);
          y.indexCount = m;
          var f = new d();
          return f.geometryType = y.geometryType, f.materialKey = y.materialKey, f.indexFrom = s + m + u, f.indexCount = a, p(n, i + 1, 0, f), i;
        }, o.prototype._getDisplayList = function (e, t, r) {
          for (var n, o, i = this.symbolLevels.length, l = 0; l < i; l++) if (this.symbolLevels[l].symbolLevel === e) {
            n = this.symbolLevels[l];
            break;
          }

          n || ((n = new L()).symbolLevel = e, this.symbolLevels.push(n));

          for (var y, s = n.zLevels.length, m = 0; m < s; m++) if (n.zLevels[m].zLevel === t) {
            o = n.zLevels[m];
            break;
          }

          if (o || ((o = new f()).geometryDPInfo = new a(), o.zLevel = t, n.zLevels.push(o)), this.unified) o.geometryDPInfo.unified || (o.geometryDPInfo.unified = []), y = o.geometryDPInfo.unified;else switch (r) {
            case u.WGLGeometryType.FILL:
              o.geometryDPInfo.fill || (o.geometryDPInfo.fill = []), y = o.geometryDPInfo.fill;
              break;

            case u.WGLGeometryType.LINE:
              o.geometryDPInfo.line || (o.geometryDPInfo.line = []), y = o.geometryDPInfo.line;
              break;

            case u.WGLGeometryType.MARKER:
              o.geometryDPInfo.marker || (o.geometryDPInfo.marker = []), y = o.geometryDPInfo.marker;
              break;

            case u.WGLGeometryType.TEXT:
              o.geometryDPInfo.text || (o.geometryDPInfo.text = []), y = o.geometryDPInfo.text;
              break;

            case u.WGLGeometryType.LABEL:
              o.geometryDPInfo.label || (o.geometryDPInfo.label = []), y = o.geometryDPInfo.label;
              break;

            default:
              console.error("Trying to add a record with geometry type '" + r + "'.");
          }
          return y;
        }, o.prototype.getDPInfoType = function (e) {
          if (this.unified) return "unified";

          switch (e) {
            case u.WGLGeometryType.FILL:
              return "fill";

            case u.WGLGeometryType.LINE:
              return "line";

            case u.WGLGeometryType.MARKER:
              return "marker";

            case u.WGLGeometryType.TEXT:
              return "text";

            case u.WGLGeometryType.LABEL:
              return "label";

            default:
              return void i.error("DisplayList: Tried to convert unknown geometryType: " + e);
          }
        }, o;
      }(),
          d = function () {
        function t() {
          this.materialKey = null, this.indexFrom = 0, this.indexCount = 0;
        }

        return t.prototype.clone = function () {
          var e = new t();
          return e.geometryType = this.geometryType, e.materialKey = this.materialKey, e.indexFrom = this.indexFrom, e.indexCount = this.indexCount, e;
        }, t;
      }(),
          a = function () {
        function t() {
          this.fill = null, this.line = null, this.marker = null, this.text = null, this.label = null, this.unified = null;
        }

        return t.prototype.clone = function () {
          var e = new t();
          return e.fill = this.fill && this.fill.map(function (e) {
            return e.clone();
          }), e.line = this.line && this.line.map(function (e) {
            return e.clone();
          }), e.marker = this.marker && this.marker.map(function (e) {
            return e.clone();
          }), e.text = this.text && this.text.map(function (e) {
            return e.clone();
          }), e.label = this.label && this.label.map(function (e) {
            return e.clone();
          }), e.unified = this.unified && this.unified.map(function (e) {
            return e.clone();
          }), e;
        }, t;
      }(),
          f = function () {
        function t() {
          this.geometryDPInfo = new a();
        }

        return t.prototype.clone = function () {
          var e = new t();
          return e.zLevel = this.zLevel, e.geometryDPInfo = this.geometryDPInfo.clone(), e;
        }, t;
      }(),
          L = function () {
        function o() {
          this.zLevels = [];
        }

        return o.prototype.clone = function () {
          var e = new o();
          e.symbolLevel = this.symbolLevel;

          for (var t = 0, r = this.zLevels; t < r.length; t++) {
            var n = r[t];
            e.zLevels.push(n.clone());
          }

          return e;
        }, o;
      }();

      return 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/engine/webgl/WGLDisplayObject.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayObject.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLDisplayObjectJs(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__(
    /*! ./WGLDisplayRecord */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js"), __webpack_require__(
    /*! ./collisions/Metric */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/Metric.js"), __webpack_require__(
    /*! ./util/serializationUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (i, t, o, c, d) {
      return function () {
        function n(i) {
          this.insertAfter = null, this.id = i, this.displayRecords = [], this.metrics = [];
        }

        return n.prototype.copy = function () {
          var i = new n(this.id);
          return i.set(this), i;
        }, n.prototype.clone = function () {
          var i = new n(this.id);
          return i.displayRecords = this.displayRecords.map(function (i) {
            return i.clone();
          }), i.metrics = this.metrics.map(function (i) {
            return i.clone();
          }), i.insertAfter = this.insertAfter, i;
        }, n.prototype.set = function (i) {
          this.id = i.id, this.displayRecords = i.displayRecords, this.metrics = i.metrics, this.insertAfter = i.insertAfter;
        }, n.prototype.serialize = function (i) {
          return i.push(this.id), d.serializeList(i, this.metrics), d.serializeList(i, this.displayRecords), i;
        }, n.deserialize = function (i) {
          var t = i.readInt32(),
              e = new n(t),
              s = {
            id: t
          },
              r = d.deserializeList(i, c["default"]);
          return r.length && (e.metrics = r), e.displayRecords = d.deserializeList(i, o, s), e;
        }, 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/engine/webgl/WGLDisplayRecord.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLDisplayRecordJs(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__(
    /*! ./MeshData */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/MeshData.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, u, d) {
      return function () {
        function s(t, e, r, i, o) {
          void 0 === i && (i = 0), void 0 === o && (o = 0), this.id = t, this.geometryType = e, this.materialKey = r, this.minZoom = i, this.maxZoom = o, this.meshData = null, this.symbolLevel = 0, this.zOrder = 0, this.vertexFrom = 0, this.vertexCount = 0, this.indexFrom = 0, this.indexCount = 0;
        }

        return Object.defineProperty(s.prototype, "sortKey", {
          get: function get() {
            return void 0 === this._sortKey && this._computeSortKey(), this._sortKey;
          },
          enumerable: !0,
          configurable: !0
        }), s.prototype.clone = function () {
          return this.copy();
        }, s.prototype.copy = function () {
          var t = new s(this.id, this.geometryType, this.materialKey);
          return t.vertexFrom = this.vertexFrom, t.vertexCount = this.vertexCount, t.indexFrom = this.indexFrom, t.indexCount = this.indexCount, t.zOrder = this.zOrder, t.symbolLevel = this.symbolLevel, t.meshData = this.meshData, t.minZoom = this.minZoom, t.maxZoom = this.maxZoom, t;
        }, s.prototype.setMeshDataFromBuffers = function (t, e, r) {
          var i = new u();

          for (var o in e) {
            for (var s = e[o].stride, n = e[o].data, a = [], h = d.strideToPackingFactor(s), m = 0; m < s * t.vertexCount / h; ++m) a[m] = n[m + s * t.vertexFrom / h];

            i.vertexData.set(o, a);
          }

          for (m = i.indexData.length = 0; m < t.indexCount; ++m) i.indexData[m] = r[m + t.indexFrom] - t.vertexFrom;

          i.vertexCount = t.vertexCount, this.meshData = i;
        }, s.prototype.readMeshDataFromBuffers = function (t, e) {
          for (var r in this.meshData ? this.meshData.clear() : this.meshData = new u(), t) {
            for (var i = t[r].stride, o = t[r].data, s = [], n = d.strideToPackingFactor(i), a = 0; a < i * this.vertexCount / n; ++a) s[a] = o[a + i * this.vertexFrom / n];

            this.meshData.vertexData.set(r, s);
          }

          for (a = this.meshData.indexData.length = 0; a < this.indexCount; ++a) this.meshData.indexData[a] = e[a + this.indexFrom] - this.vertexFrom;

          this.meshData.vertexCount = this.vertexCount;
        }, s.prototype.writeMeshDataToBuffers = function (t, e, r, i) {
          for (var o in e) for (var s = e[o].stride, n = this.meshData.vertexData.get(o), a = e[o].data, h = d.strideToPackingFactor(s), m = 0; m < s * this.meshData.vertexCount / h; ++m) a[m + s * t / h] = n[m];

          for (m = 0; m < this.meshData.indexData.length; ++m) i[m + r] = this.meshData.indexData[m] + t;

          this.vertexFrom = t, this.vertexCount = this.meshData.vertexCount, this.indexFrom = r, this.indexCount = this.meshData.indexData.length;
        }, s.writeAllMeshDataToBuffers = function (t, e, r) {
          for (var i = 0, o = 0, s = 0, n = t; s < n.length; s++) {
            var a = n[s];
            a.writeMeshDataToBuffers(i, e, o, r), i += a.vertexCount, o += a.indexCount;
          }
        }, s.prototype._computeSortKey = function () {
          this._sortKey = (31 & this.symbolLevel) << 12 | (127 & this.zOrder) << 4 | 7 & this.geometryType;
        }, s.prototype.serialize = function (t) {
          return t.push(this.geometryType), t.push(this.materialKey), t.push(this.symbolLevel), t.push(this.zOrder), t.push(this.vertexFrom), t.push(this.vertexCount), t.push(this.indexFrom), t.push(this.indexCount), t.push(this.minZoom), t.push(this.maxZoom), t;
        }, s.deserialize = function (t, e) {
          var r = t.readInt32(),
              i = t.readInt32(),
              o = new s(e.id, r, i);
          return o.symbolLevel = t.readInt32(), o.zOrder = t.readInt32(), o.vertexFrom = t.readInt32(), o.vertexCount = t.readInt32(), o.indexFrom = t.readInt32(), o.indexCount = t.readInt32(), o.minZoom = t.readInt32(), o.maxZoom = t.readInt32(), o;
        }, s;
      }();
    }.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/webgl/WGLRendererInfo.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLRendererInfo.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLRendererInfoJs(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__(
    /*! ../../../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../../../core/has */
    "./node_modules/arcgis-js-api/core/has.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/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../../../../core/libs/gl-matrix-2/mat4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat4f32.js"), __webpack_require__(
    /*! ../../../../renderers/support/utils */
    "./node_modules/arcgis-js-api/renderers/support/utils.js"), __webpack_require__(
    /*! ./definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, a, s, d, f, c, o, p, r, h) {
      function y(e, t) {
        var i = t.length;
        if (e < t[0].value || 1 === i) return t[0].size;

        for (var s = 1; s < i; s++) if (e < t[s].value) {
          var a = (e - t[s - 1].value) / (t[s].value - t[s - 1].value);
          return t[s - 1].size + a * (t[s].size - t[s - 1].size);
        }

        return t[i - 1].size;
      }

      function n(e, t, i) {
        if (void 0 === i && (i = 0), d.isNone(t)) return e[i + 0] = 0, e[i + 1] = 0, e[i + 2] = 0, void (e[i + 3] = 0);
        var s = t.r,
            a = t.g,
            o = t.b,
            r = t.a;
        e[i + 0] = s * r / 255, e[i + 1] = a * r / 255, e[i + 2] = o * r / 255, e[i + 3] = r;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var l = function l(e, t, i) {
        for (var s = 16 * i, a = s, o = 0; a < Math.min(s + 16, e.length); a++, o++) e[a] = t[o];
      },
          u = o.mat4f32.create(),
          v = function () {
        function e() {
          this.symbolLevels = [], this.vvColorValues = new Float32Array(8), this.vvColors = new Float32Array(32), this.vvOpacityValues = new Float32Array(8), this.vvOpacities = new Float32Array(8), this.vvSizeMinMaxValue = new Float32Array(4), this.ddColors = new Float32Array(32), this.ddBackgroundColor = new Float32Array(4), this.ddActiveDots = new Float32Array(8), this.insideEffect = new Float32Array(16 * r.MAX_FILTERS), this.insideOpacity = 1, this.outsideEffect = new Float32Array(16 * r.MAX_FILTERS), this.outsideOpacity = 1, this.effectCount = 0, this._vvMaterialParameters = {
            vvSizeEnabled: !1,
            vvColorEnabled: !1,
            vvRotationEnabled: !1,
            vvRotationType: "geographic",
            vvOpacityEnabled: !1
          }, this._buf0 = new Float32Array(2), this._buf1 = new Float32Array(2), this.symbolLevels.push(0);

          for (var e = 0; e < r.MAX_FILTERS; e++) l(this.insideEffect, u, e), l(this.outsideEffect, u, e);
        }

        return Object.defineProperty(e.prototype, "insideOpacities", {
          get: function get() {
            return this._buf0[0] = 1, this._buf0[1] = this.insideOpacity, this._buf0;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "outsideOpacities", {
          get: function get() {
            return this._buf1[0] = 0, this._buf1[1] = this.outsideOpacity, this._buf1;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.getSizeVVFieldStops = function (u) {
          var v = this._vvSizeFieldStops;

          switch (v.type) {
            case "static":
              return v;

            case "level-dependent":
              return d.unwrapOr(v.levels[u], function () {
                var e = 1 / 0,
                    t = 0;

                for (var i in v.levels) {
                  var s = parseFloat(i),
                      a = Math.abs(u - s);
                  a < e && (e = a, t = s);
                }

                if (e === 1 / 0) return {
                  sizes: new Float32Array([0, 0, 0, 0, 0, 0]),
                  values: new Float32Array([0, 0, 0, 0, 0, 0])
                };
                var o = u - t,
                    r = Math.pow(2, o / 2),
                    n = d.expect(v.levels[t]),
                    l = new Float32Array(n.values);
                return l[2] *= r, l[3] *= r, {
                  sizes: d.unwrap(n.sizes),
                  values: l
                };
              });
          }
        }, Object.defineProperty(e.prototype, "vvMaterialParameters", {
          get: function get() {
            return this._vvMaterialParameters;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.update = function (e) {
          d.isSome(this._vvInfo) && this._updateVisualVariables(this._vvInfo.vvRanges, e);
        }, e.prototype.setInfo = function (e, t, i) {
          var s = this;

          switch (d.isSome(i) ? (i.forEach(function (e, t) {
            return s._updateEffects(t, e);
          }), this.effectCount = i.length) : this.effectCount = 0, this._vvInfo = t, e.type) {
            case "dot-density":
              this._updateDotDensityInfo(e);

          }
        }, e.prototype.getVariation = function () {
          return {
            ddDotBlending: this.ddDotBlending,
            outsideLabelsVisible: this.outsideLabelsVisible,
            effectCount: this.effectCount,
            oesTextureFloat: s("esri-webgl-texture-float")
          };
        }, e.prototype.getVariationHash = function () {
          return (this.ddDotBlending ? 1 : 0) | (this.outsideLabelsVisible ? 1 : 0) << 1 | this.effectCount << 2;
        }, e.prototype._updateEffects = function (e, t) {
          var i = e + 1;

          if (d.isSome(t) && t.filter && t.filter.enabled) {
            this.outsideLabelsVisible = t.excludedLabelsVisible;
            var s = t.parsedIncludedEffect,
                a = t.parsedExcludedEffect;
            d.isSome(s) ? (l(this.insideEffect, s.getColorMatrix(), i), this.insideOpacity = s.getOpacity()) : (l(this.insideEffect, u, i), this.insideOpacity = 1), d.isSome(a) ? (l(this.outsideEffect, a.getColorMatrix(), i), this.outsideOpacity = a.getOpacity()) : (l(this.outsideEffect, u, i), this.outsideOpacity = 1);
          } else l(this.insideEffect, u, i), l(this.outsideEffect, u, i), this.insideOpacity = 1, this.outsideOpacity = 1;
        }, e.prototype._updateVisualVariables = function (e, t) {
          var i = this._vvMaterialParameters;

          if (i.vvOpacityEnabled = !1, i.vvSizeEnabled = !1, i.vvColorEnabled = !1, i.vvRotationEnabled = !1, e) {
            var s = e.size;

            if (s) {
              if (i.vvSizeEnabled = !0, s.minMaxValue) {
                var a = s.minMaxValue,
                    o = void 0,
                    r = void 0;
                if (h.isDefined(a.minSize) && h.isDefined(a.maxSize)) if (h.isNumber(a.minSize) && h.isNumber(a.maxSize)) o = f.pt2px(a.minSize), r = f.pt2px(a.maxSize);else {
                  var n = t.scale;
                  o = f.pt2px(y(n, a.minSize.stops)), r = f.pt2px(y(n, a.maxSize.stops));
                }
                this.vvSizeMinMaxValue.set([a.minDataValue, a.maxDataValue, o, r]);
              }

              if (s.scaleStops && (this.vvSizeScaleStopsValue = f.pt2px(y(t.scale, s.scaleStops.stops))), s.unitValue) {
                var l = c.getMetersPerUnitForSR(t.spatialReference) / p.meterIn[s.unitValue.unit];
                this.vvSizeUnitValueToPixelsRatio = l / t.resolution;
              }

              s.fieldStops && (this._vvSizeFieldStops = s.fieldStops);
            }

            var u = e.color;
            u && (i.vvColorEnabled = !0, this.vvColorValues.set(u.values), this.vvColors.set(u.colors));
            var v = e.opacity;
            v && (i.vvOpacityEnabled = !0, this.vvOpacityValues.set(v.values), this.vvOpacities.set(v.opacities));
            var d = e.rotation;
            d && (i.vvRotationEnabled = !0, i.vvRotationType = d.type);
          }
        }, e.prototype._updateDotDensityInfo = function (e) {
          var t = e.attributes;
          this.ddDotValue = e.dotValue, this.ddDotScale = e.referenceScale, this.ddDotSize = e.dotSize, this.ddDotBlending = e.dotBlendingEnabled, this.ddSeed = e.seed;

          for (var i = 0; i < r.DOT_DENSITY_MAX_FIELDS; i++) {
            var s = i >= t.length ? new a([0, 0, 0, 0]) : t[i].color;
            n(this.ddColors, s, 4 * i);
          }

          for (i = 0; i < 8; i++) this.ddActiveDots[i] = i < e.attributes.length ? 1 : 0;

          n(this.ddBackgroundColor, e.backgroundColor);
        }, e;
      }();

      t.WGLRendererInfo = v;
    }.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/webgl/WGLTile.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLTile.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWGLTileJs(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/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ./definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./DirtyMap */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/DirtyMap.js"), __webpack_require__(
    /*! ./DisplayRecordStore */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/DisplayRecordStore.js"), __webpack_require__(
    /*! ./Fader */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Fader.js"), __webpack_require__(
    /*! ./TiledDisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TiledDisplayObject.js"), __webpack_require__(
    /*! ./WGLBuffers */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLBuffers.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, a, l, s, d, o, p, n, y, h, i, c) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var F = new Set(),
          r = function (r) {
        function t(t, e, a) {
          void 0 === a && (a = !1);
          var i = r.call(this, t, e, [p.TILE_SIZE, p.TILE_SIZE]) || this;
          return i._data = null, i._displayList = null, i._wglBuffers = null, i._dirtyMap = new n["default"](), i._labelIndex = null, i._dirty = !0, i.fader = new h["default"](), i._ensureCorrectZOrder = a, i.transforms.labelMat2d = s.mat2df32.create(), i;
        }

        return a(t, r), t.prototype.destroy = function () {
          this.clear();
        }, Object.defineProperty(t.prototype, "displayObjects", {
          get: function get() {
            return this._data.tileDisplayData.displayObjects;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "canDisplay", {
          get: function get() {
            return !!this.attached;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "isDirty", {
          get: function get() {
            return this._dirty;
          },
          set: function set(t) {
            (this._dirty = t) || this.isReady || this.ready(), this.requestRender();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "hasData", {
          get: function get() {
            return !!this._data;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "labelIndex", {
          get: function get() {
            return this._labelIndex;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.getGeometry = function (t) {
          return this._wglBuffers && this._wglBuffers.has(t) ? this._wglBuffers.get(t) : null;
        }, t.prototype.getDisplayList = function () {
          return this._data && this._displayList;
        }, Object.defineProperty(t.prototype, "data", {
          get: function get() {
            return this._data;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.setTransform = function (t, e) {
          r.prototype.setTransform.call(this, t, e);
          var a = this.transforms.labelMat2d,
              i = t.getScreenTransform(a, e),
              s = o.vec2f32.create();
          d.vec2.transformMat2d(s, this.coords, i), l.mat2d.identity(a), l.mat2d.translate(a, a, s), l.mat2d.multiply(a, t.viewMat2d, a);
        }, t.prototype.setData = function (t, e, a) {
          var i = t.addOrUpdate,
              s = t.remove;
          if ((t.clear || !this.hasData) && !t.addOrUpdate) return this.clear(), this.ready(), void this.emit("change");
          !t.clear && this.hasData || !t.addOrUpdate ? this.hasData && this._doPatchData({
            addOrUpdate: i,
            remove: s
          }, e, a) : (i.tileDisplayData.computeDisplayList(this._ensureCorrectZOrder), this._dirtyMap = new n["default"](), this._dispRecStore = y["default"].fromTileData(i, this._dirtyMap), this._data = i, this._readyTileIfNoLabels(e, a), this._dirtyMap.markAllDirty(), this._displayList || (this._displayList = i.tileDisplayData.displayList.clone())), this.emit("change");
        }, t.prototype.commitChanges = function () {
          this.fader.step() || this.requestRender(), this._wglBuffers || (this._wglBuffers = new c["default"](this.stage.context)), this._wglBuffers.upload(this._data.tileBufferData, this._dirtyMap), this._displayList = this._data.tileDisplayData.displayList.clone(), this._dirtyMap.markAllClean();
        }, t.prototype.clear = function () {
          this._data = null, this._displayList = null, this._dispRecStore = null, this._wglBuffers && (this._wglBuffers.dispose(), this._wglBuffers = null);
        }, t.prototype.attach = function () {
          return !0;
        }, t.prototype._readyTileIfNoLabels = function (t, e) {
          t && this._rebuildLabelIndex(), this.isDirty = !(!t || !e);
        }, t.prototype._doPatchData = function (t, e, a) {
          this._patchData(t) || (this._dirtyMap.markAllDirty(), this._data.reshuffle(), this._dispRecStore = y["default"].fromTileData(this._data, this._dirtyMap)), this._readyTileIfNoLabels(e, a), this.requestRender();
        }, t.prototype._rebuildLabelIndex = function () {
          this._labelIndex = this._initLabelIndex();

          for (var t = 0, e = this.displayObjects; t < e.length; t++) for (var a = 0, i = e[t].metrics; a < i.length; a++) {
            var s = i[a];

            this._insertIntoLabelIndex(s);
          }
        }, t.prototype._insertIntoLabelIndex = function (t) {
          -1 !== t.xBucket && this.labelIndex[t.yBucket][t.xBucket].push(t);
        }, t.prototype._initLabelIndex = function () {
          for (var t = [], e = 0; e < p.TILE_SIZE / p.COLLISION_BUCKET_SIZE; e++) {
            t.push([]);

            for (var a = 0; a < p.TILE_SIZE / p.COLLISION_BUCKET_SIZE; a++) t[e].push([]);
          }

          return t;
        }, t.prototype._patchData = function (t) {
          for (var e = !0, a = t.addOrUpdate && t.addOrUpdate.tileDisplayData && t.addOrUpdate.tileDisplayData.displayObjects || [], i = (t.remove || []).slice(), s = 0, r = a; s < r.length; s++) {
            null != (_ = r[s]).insertAfter && i.push(_.id);
          }

          for (var l = 0, d = i; l < d.length; l++) {
            var o = d[l];

            if (u = this._data.tileDisplayData.displayObjectRegistry.get(o)) {
              this._data.tileDisplayData.displayList.removeFromList(u.displayRecords);

              for (var p = 0, n = u.displayRecords; p < n.length; p++) {
                var y = n[p];

                this._dispRecStore["delete"](y);
              }

              this._data.tileDisplayData.displayObjectRegistry["delete"](o);

              var h = this._data.tileDisplayData.displayObjects.indexOf(u);

              this._data.tileDisplayData.displayObjects.splice(h, 1);
            }
          }

          for (var c = 0, f = a; c < f.length; c++) {
            var u,
                _ = f[c],
                D = void 0;

            if (u = this._data.tileDisplayData.displayObjectRegistry.get(_.id)) {
              var g = u.displayRecords;
              u.set(_), u.displayRecords = g;

              for (var m = u.displayRecords.length, b = 0; b < m; ++b) {
                var v = u.displayRecords[b],
                    O = _.displayRecords[b];
                (b >= _.displayRecords.length || v.geometryType !== O.geometryType || v.symbolLevel !== O.symbolLevel || v.zOrder !== O.zOrder || v.materialKey !== O.materialKey) && (this._dispRecStore["delete"](u.displayRecords[b]), b < _.displayRecords.length && (u.displayRecords[b] = void 0));
              }

              u.displayRecords.length = _.displayRecords.length, u.metrics = _.metrics;
            } else {
              (u = _.copy()).displayRecords = [], this._data.tileDisplayData.displayObjectRegistry.set(_.id, u);
              var L = void 0,
                  R = this._data.tileDisplayData.displayObjects;
              if (null != u.insertAfter) {
                if (D = {}, 0 <= u.insertAfter) {
                  var I = this._data.tileDisplayData.displayObjectRegistry.get(u.insertAfter);

                  I && (L = R.indexOf(I) + 1) < R.length ? R.splice(L, 0, u) : (R.push(u), L = R.length);
                } else R.unshift(u), L = 0;
              } else R.push(u), L = R.length;

              if (D) {
                var x = void 0;
                if (this._data.tileDisplayData.displayList.unified) x = 0 < _.displayRecords.length ? 1 : 0;else {
                  F.clear();

                  for (var T = 0, j = _.displayRecords; T < j.length; T++) {
                    var B = j[T],
                        S = this._data.tileDisplayData.displayList.getDPInfoType(B.geometryType);

                    F.add(S);
                  }

                  x = F.size;
                }
                var w = 0;

                for (b = L - 1; 0 <= b && w < x; --b) for (var M = R[b].displayRecords.length - 1; 0 <= M && w < x; --M) {
                  var E = R[b].displayRecords[M];
                  D[S = this._data.tileDisplayData.displayList.getDPInfoType(E.geometryType)] || (D[S] = E, ++w);
                }
              }
            }

            var P = _.displayRecords.length;

            for (b = 0; b < P; ++b) {
              O = _.displayRecords[b];
              (v = u.displayRecords[b]) ? (v.meshData = O.meshData, v.materialKey = O.materialKey) : ((v = O.copy()).vertexFrom = void 0, v.indexFrom = void 0, u.displayRecords[b] = v);
              var U = O.geometryType,
                  A = (S = this._data.tileDisplayData.displayList.getDPInfoType(U), t.addOrUpdate.tileBufferData.geometries[U]),
                  C = A.vertexBuffer,
                  Z = A.indexBuffer,
                  k = void 0;
              D && (k = D[S] ? this._data.tileDisplayData.displayList.splitAfter(D[S]) : -1), e = this._dispRecStore.setMeshData(v, O, C, Z, k) && e, D && null != v.indexFrom && null != v.indexFrom && (D[S] = v);
            }
          }

          return e;
        }, t;
      }(i.TiledDisplayObject);

      e.WGLTile = r;
    }.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/webgl/WebGLDriverTest.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/WebGLDriverTest.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglWebGLDriverTestJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./VertexStream */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/VertexStream.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, g, d) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var m = t.getLogger("esri.views.2d.engine.webgl.WebGLDriverTest"),
          i = function () {
        function e(e) {
          this._ignoresSamplerPrecision = null, this._context = e;
        }

        return Object.defineProperty(e.prototype, "ignoresSamplerPrecision", {
          get: function get() {
            return n.isNone(this._ignoresSamplerPrecision) && (this._ignoresSamplerPrecision = r.testSamplerPrecision(this._context)), this._ignoresSamplerPrecision;
          },
          enumerable: !0,
          configurable: !0
        }), e;
      }();

      r.testWebGLDriver = function (e) {
        return new i(e);
      }, r.testSamplerPrecision = function (e) {
        var r = new g.FramebufferObject(e, {
          colorTarget: 0,
          depthStencilTarget: 0
        }, {
          target: 3553,
          wrapMode: 33071,
          pixelFormat: 6408,
          dataType: 5121,
          samplingMode: 9728,
          width: 1,
          height: 1
        }),
            t = new Uint8Array(4),
            n = new d(e, [0, 0, 1, 0, 0, 1, 1, 1]),
            i = new g.Program(e, "\nprecision highp float;\n\nattribute vec2 a_pos;\n\nuniform highp sampler2D u_texture;\nvarying vec4 v_color;\n\nfloat getBit(in float bitset, in int bitIndex) {\n  float offset = pow(2.0, float(bitIndex));\n\n  return mod(floor(bitset / offset), 2.0);\n}\n\nvoid main() {\n  vec4 value = texture2D(u_texture, vec2(0.0));\n\n  float bit = getBit(value.x * 255.0, 1);\n\n  v_color = bit * vec4(1.0);\n\n  gl_Position = vec4(a_pos * 2.0 - 1.0, 0.0, 1.0);\n}\n", "\nprecision highp float;\n\nvarying vec4 v_color;\n\nvoid main() {\n  gl_FragColor = v_color;\n}\n", {
          a_pos: 0
        }),
            o = new g.Texture(e, {
          target: 3553,
          wrapMode: 33071,
          pixelFormat: 6408,
          dataType: 5121,
          samplingMode: 9728,
          width: 1,
          height: 1
        }, new Uint8Array([2, 255, 0, 0]));
        i.setUniform1i("u_texture", 0), e.bindTexture(o, 0), e.bindFramebuffer(r), e.bindProgram(i);
        var a = e.getViewport(),
            s = a.x,
            l = a.y,
            p = a.width,
            c = a.height;
        e.setViewport(0, 0, 1, 1), n.draw(), e.setViewport(s, l, p, c), r.readPixels(0, 0, 1, 1, 6408, 5121, t), i.dispose(), n.dispose(), r.dispose();
        var u = 255 !== t[0] || 255 !== t[1] || 255 !== t[2] || 255 !== t[3];
        return u && m.warn("A problem was detected with your graphics driver. Your driver does not appear to honor sampler precision specifiers, which may result in rendering issues due to numerical instability. We recommend ensuring that your drivers have been updated to the latest version. Applying lowp sampler workaround. [" + t[0] + "." + t[1] + "." + t[2] + "." + t[3] + "]"), 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/engine/webgl/alignmentUtils.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/alignmentUtils.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglAlignmentUtilsJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.getXAnchorDirection = function (e) {
        switch (e) {
          case "left":
            return 1;

          case "right":
            return -1;

          case "center":
          case "justify":
            return 0;
        }
      }, t.getYAnchorDirection = function (e) {
        switch (e) {
          case "top":
            return -1;

          case "middle":
            return 0;

          case "baseline":
          case "bottom":
            return 1;
        }
      }, t.getJustification = function (e) {
        switch (e) {
          case "left":
            return 0;

          case "right":
            return 1;

          case "center":
          case "justify":
            return .5;
        }
      };
    }.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/webgl/brushes/BrushBitmap.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/BrushBitmap.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesBrushBitmapJs(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__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../VertexStream */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/VertexStream.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, o, d, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var l = {
        nearest: {
          defines: [],
          samplingMode: 9728,
          mips: !1
        },
        bilinear: {
          defines: [],
          samplingMode: 9729,
          mips: !1
        },
        bicubic: {
          defines: ["bicubic"],
          samplingMode: 9729,
          mips: !1
        },
        trilinear: {
          defines: [],
          samplingMode: 9987,
          mips: !0
        }
      },
          r = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._desc = {
            path: "raster/bitmap",
            attributes: {
              a_position: 0,
              a_texcoord: 1
            }
          }, e;
        }

        return i(e, t), e.prototype.dispose = function () {
          this._quad && this._quad.dispose();
        }, e.prototype.prepareState = function (e, t) {
          var i = e.context;
          i.setBlendingEnabled(!0), i.setBlendFunctionSeparate(1, 771, 1, 771), i.setColorMask(!0, !0, !0, !0), i.setStencilWriteMask(0), i.setStencilTestEnabled(!0), i.setStencilFunction(514, t.stencilRef, 255);
        }, e.prototype.draw = function (e, t) {
          var i = e.context,
              n = e.renderingOptions,
              r = e.painter;

          if (t.source) {
            e.timeline.begin(this.name), this._quad || (this._quad = new d(i, [0, 0, 1, 0, 0, 1, 1, 1]));

            var a = function (e, t, i) {
              if ("dynamic" !== i.samplingMode) return l[i.samplingMode];
              var n = e.state,
                  r = t.resolution / t.pixelRatio / n.resolution,
                  a = Math.round(e.pixelRatio) !== e.pixelRatio,
                  s = 1.05 < r || r < .95;
              return n.rotation || s || a || t.isSourceScaled || t.rotation ? l.bilinear : l.nearest;
            }(e, t, n),
                s = r.materialManager.getProgram(e, this._desc, a.defines);

            t.setSamplingProfile(a), t.bind(o.TEXTURE_BINDING_BITMAP), i.bindProgram(s), s.setUniformMatrix3fv("u_dvsMat3", t.transforms.dvs), s.setUniform1i("u_texture", o.TEXTURE_BINDING_BITMAP), s.setUniform2fv("u_coordScale", t.coordScale), this._quad.draw(), e.timeline.end(this.name);
          }
        }, e;
      }(n["default"]);

      t["default"] = r;
    }.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/webgl/brushes/BrushClip.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/BrushClip.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesBrushClipJs(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/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js"), __webpack_require__(
    /*! ../shaders/BackgroundPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BackgroundPrograms.js"), __webpack_require__(
    /*! ../../../../webgl/programUtils */
    "./node_modules/arcgis-js-api/views/webgl/programUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, a, l, c) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._color = o.vec4f32.fromValues(0, 1, 0, 1), e;
        }

        return r(e, t), e.prototype.dispose = function () {
          this._program && this._program.dispose();
        }, e.prototype.prepareState = function (e) {
          var t = e.context;
          t.setStencilTestEnabled(!0), t.setBlendingEnabled(!1), t.setFaceCullingEnabled(!1), t.setColorMask(!1, !1, !1, !1), t.setStencilOp(7680, 7680, 7681), t.setStencilWriteMask(255), t.setStencilFunction(519, 0, 255);
        }, e.prototype.draw = function (e, t) {
          var r = e.context,
              o = e.state;
          this._program || (this._program = c.createProgram(r, l.background));
          var a = this._program,
              s = n.createProgramDescriptor("clip", {
            geometry: [{
              location: 0,
              name: "a_pos",
              count: 2,
              type: 5122
            }]
          }),
              i = t.getVAO(r, o, s.attributes, s.bufferLayouts);
          r.bindProgram(this._program), a.setUniform2fv("u_coord_range", [1, 1]), a.setUniform4fv("u_color", this._color), a.setUniformMatrix3fv("u_dvsMat3", o.displayMat3), r.bindVAO(i), r.drawElements(4, i.indexBuffer.size, 5125, 0), r.bindVAO();
        }, e;
      }(a["default"]);

      t["default"] = s;
    }.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/webgl/brushes/WGLBrush.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushJs(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 (t, e) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var n = function () {
        function t() {
          this.name = this.constructor.name || "UnnamedBrush";
        }

        return t.prototype.prepareState = function (t, e, n) {}, t.prototype.draw = function (t, e, n) {}, t.prototype.drawMany = function (t, e, n) {
          for (var r = 0, o = e; r < o.length; r++) {
            var a = o[r];
            this.draw(t, a, n);
          }
        }, t;
      }();

      e["default"] = 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/engine/webgl/brushes/WGLBrushInfo.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushInfo.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushInfoJs(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/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js"), __webpack_require__(
    /*! ../shaders/BackgroundPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BackgroundPrograms.js"), __webpack_require__(
    /*! ../shaders/TileInfoPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/TileInfoPrograms.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, c, o, f, d) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      c.enums.DataType, c.enums.PrimitiveType, c.enums.TextureSamplingMode, c.enums.Usage, c.enums.TextureType, c.enums.TextureWrapMode, c.enums.PixelFormat, c.enums.PixelType;

      var s = 300,
          n = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._color = i.vec4f32.fromValues(1, 0, 0, 1), e;
        }

        return r(e, t), e.prototype.dispose = function () {
          this._outlineProgram && (this._outlineProgram.dispose(), this._outlineProgram = null), this._tileInfoProgram && (this._tileInfoProgram.dispose(), this._tileInfoProgram = null), this._outlineVertexArrayObject && (this._outlineVertexArrayObject.dispose(), this._outlineVertexArrayObject = null), this._tileInfoVertexArrayObject && (this._tileInfoVertexArrayObject.dispose(), this._tileInfoVertexArrayObject = null), this._canvas = null;
        }, e.prototype.prepareState = function (e) {
          var t = e.context;
          t.setBlendingEnabled(!0), t.setBlendFunctionSeparate(1, 771, 1, 771), t.setColorMask(!0, !0, !0, !0), t.setStencilWriteMask(0), t.setStencilTestEnabled(!1);
        }, e.prototype.draw = function (e, t) {
          var r = e.context;

          if (t.isReady) {
            this._loadWGLResources(r), r.bindVAO(this._outlineVertexArrayObject), r.bindProgram(this._outlineProgram), this._outlineProgram.setUniformMatrix3fv("u_dvsMat3", t.transforms.dvs), this._outlineProgram.setUniform2f("u_coord_range", t.coordRange[0], t.coordRange[1]), this._outlineProgram.setUniform1f("u_depth", 0), this._outlineProgram.setUniform4fv("u_color", this._color), r.drawArrays(3, 0, 4), r.bindVAO();

            var i = this._getTexture(r, t);

            i && (r.bindVAO(this._tileInfoVertexArrayObject), r.bindProgram(this._tileInfoProgram), r.bindTexture(i, 0), this._tileInfoProgram.setUniformMatrix3fv("u_dvsMat3", t.transforms.dvs), this._tileInfoProgram.setUniform1f("u_depth", 0), this._tileInfoProgram.setUniform2f("u_coord_ratio", t.coordRange[0] / t.size[0], t.coordRange[1] / t.size[1]), this._tileInfoProgram.setUniform2f("u_delta", 8, 8), this._tileInfoProgram.setUniform2f("u_dimensions", i.descriptor.width, i.descriptor.height), r.drawArrays(5, 0, 4), r.bindVAO());
          }
        }, e.prototype._loadWGLResources = function (e) {
          if (!this._outlineProgram || !this._tileInfoProgram) {
            var t = c.createProgram(e, f.background),
                r = c.createProgram(e, d.tileInfo),
                i = {
              geometry: [{
                name: "a_pos",
                count: 2,
                type: 5120,
                offset: 0,
                stride: 2,
                normalized: !1,
                divisor: 0
              }]
            },
                o = new Int8Array([0, 0, 1, 0, 1, 1, 0, 1]),
                n = c.BufferObject.createVertex(e, 35044, o),
                s = new c.VertexArrayObject(e, f.background.attributes, i, {
              geometry: n
            }),
                a = new Int8Array([0, 0, 1, 0, 0, 1, 1, 1]),
                l = c.BufferObject.createVertex(e, 35044, a),
                u = new c.VertexArrayObject(e, d.tileInfo.attributes, i, {
              geometry: l
            });
            this._outlineProgram = t, this._tileInfoProgram = r, this._outlineVertexArrayObject = s, this._tileInfoVertexArrayObject = u;
          }
        }, e.prototype._getTexture = function (e, t) {
          if (t.texture) return t.texture;
          this._canvas || (this._canvas = document.createElement("canvas"), this._canvas.setAttribute("id", "canvas2d"), this._canvas.setAttribute("width", "" + s), this._canvas.setAttribute("height", "32"), this._canvas.setAttribute("style", "display:none"));
          var r = t.triangleCount,
              i = t.key.id;
          0 < t.triangleCount && (i += ", " + r);
          var o = this._canvas,
              n = o.getContext("2d");
          return n.font = "24px sans-serif", n.textAlign = "left", n.textBaseline = "top", n.clearRect(0, 0, s, 32), n.fillStyle = 1e5 < r ? (n.fillStyle = "red", n.fillRect(0, 0, s, 32), "black") : (n.clearRect(0, 0, s, 32), "blue"), n.fillText(i, 0, 0), t.texture = new c.Texture(e, {
            target: 3553,
            pixelFormat: 6408,
            dataType: 5121,
            samplingMode: 9728,
            wrapMode: 33071
          }, o), t.texture;
        }, e;
      }(o["default"]);

      t["default"] = 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/engine/webgl/brushes/WGLBrushStencil.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushStencil.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushStencilJs(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/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js"), __webpack_require__(
    /*! ../shaders/BackgroundPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BackgroundPrograms.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, s, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      o.enums.DataType, o.enums.Usage, o.enums.PrimitiveType, o.enums.CompareFunction, o.enums.Face;

      var a = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._color = i.vec4f32.fromValues(1, 0, 0, 1), e._initialized = !1, e;
        }

        return r(e, t), e.prototype.dispose = function () {
          this._solidProgram && (this._solidProgram.dispose(), this._solidProgram = null), this._solidVertexArrayObject && (this._solidVertexArrayObject.dispose(), this._solidVertexArrayObject = null);
        }, e.prototype.prepareState = function (e, t) {
          var r = e.context;
          r.setDepthWriteEnabled(!1), r.setDepthTestEnabled(!1), r.setStencilTestEnabled(!0), r.setBlendingEnabled(!1), r.setColorMask(!1, !1, !1, !1), r.setStencilOp(7680, 7680, 7681), r.setStencilWriteMask(255), r.setStencilFunctionSeparate(1032, 516, t.stencilRef, 255);
        }, e.prototype.draw = function (e, t) {
          var r = e.context;
          this._initialized || this._initialize(r), r.bindVAO(this._solidVertexArrayObject), r.bindProgram(this._solidProgram), this._solidProgram.setUniformMatrix3fv("u_dvsMat3", t.transforms.dvs), this._solidProgram.setUniform2fv("u_coord_range", t.coordRange), this._solidProgram.setUniform1f("u_depth", 0), this._solidProgram.setUniform4fv("u_color", this._color), r.drawArrays(5, 0, 4), r.bindVAO();
        }, e.prototype._initialize = function (e) {
          if (this._initialized) return !0;
          var t = o.createProgram(e, n.background);
          if (!t) return !1;
          var r = new Int8Array([0, 0, 1, 0, 0, 1, 1, 1]),
              i = o.BufferObject.createVertex(e, 35044, r),
              s = new o.VertexArrayObject(e, n.background.attributes, {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5120,
              offset: 0,
              stride: 2,
              normalized: !1,
              divisor: 0
            }]
          }, {
            geometry: i
          });
          return this._solidProgram = t, this._solidVertexArrayObject = s, this._initialized = !0;
        }, e;
      }(s["default"]);

      t["default"] = a;
    }.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/webgl/brushes/WGLBrushVTLBackground.js":
  /*!*******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLBackground.js ***!
    \*******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushVTLBackgroundJs(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/libs/gl-matrix-2/mat3f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js"), __webpack_require__(
    /*! ../../../../../core/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../../vectorTiles/shaders/Programs */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/shaders/Programs.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, r, e, o, a, i, s, V, w, R, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      i.enums.DataType, i.enums.Usage, i.enums.PrimitiveType, i.enums.TextureSamplingMode;

      var u = function (r) {
        function t() {
          var t = null !== r && r.apply(this, arguments) || this;
          return t._color = a.vec4f32.fromValues(1, 0, 0, 1), t._patternMatrix = o.mat3f32.create(), t._programOptions = {
            id: !1,
            pattern: !1
          }, t;
        }

        return e(t, r), t.prototype.dispose = function () {
          this._program && (this._program.dispose(), this._program = null), this._vao && (this._vao.dispose(), this._vao = null);
        }, t.prototype.drawMany = function (t, r) {
          var e = t.context,
              o = t.styleLayerId;

          this._loadWGLResources(e);

          var a,
              i = t.displayLevel,
              s = t.styleLayer,
              n = t.painter.getVectorTileProgramCach(),
              u = s.getPaintValue("background-color", i),
              _ = s.getPaintValue("background-opacity", i),
              c = s.getPaintValue("background-pattern", i),
              l = void 0 !== c,
              p = u[3] * _,
              f = 1 | window.devicePixelRatio,
              m = t.spriteMosaic,
              d = f > V.VTL_HIGH_RES_CUTOFF ? 2 : 1,
              g = t.drawPhase === w.WGLDrawPhase.HITTEST,
              h = (g ? 1 : 0) << 1 | (l ? 1 : 0),
              v = this._programOptions;

          v.id = g, v.pattern = l;
          var y = n.getProgram(0, h, v);

          if (e.bindVAO(this._vao), e.bindProgram(y), l) {
            if (!(a = m.getMosaicItemPosition(c, !0))) return;
            y.setUniform1f("u_opacity", _), y.setUniform2f("u_pattern_tl", a.tl[0], a.tl[1]), y.setUniform2f("u_pattern_br", a.br[0], a.br[1]), y.setUniform1i("u_texture", V.VTL_TEXTURE_BINDING_UNIT_SPRITES), m.bind(e, 9729, a.page, V.VTL_TEXTURE_BINDING_UNIT_SPRITES);
          } else this._color[0] = p * u[0], this._color[1] = p * u[1], this._color[2] = p * u[2], this._color[3] = p, y.setUniform4fv("u_color", this._color);

          if (y.setUniform1f("u_depth", s.z || 0), g) {
            var T = R.u32to4Xu8(o);
            y.setUniform4f("u_id", T[0], T[1], T[2], T[3]);
          }

          for (var b = 0, x = r; b < x.length; b++) {
            var P = x[b];

            if (y.setUniform1f("u_coord_range", P.coordRange[0]), y.setUniformMatrix3fv("u_dvsMat3", P.transforms.dvs), l) {
              var U = Math.max(Math.pow(2, Math.round(i) - P.key.level), 1),
                  M = d * P.size[0] * U,
                  I = M / a.size[0],
                  L = M / a.size[1];
              this._patternMatrix[0] = I, this._patternMatrix[4] = L, y.setUniformMatrix3fv("u_pattern_matrix", this._patternMatrix);
            }

            e.setStencilFunction(514, P.stencilRef, 255), e.drawArrays(5, 0, 4);
          }
        }, t.prototype._loadWGLResources = function (t) {
          if (!this._program || !this._vao) {
            var r = i.createProgram(t, s.background);

            if (r) {
              var e = new Int8Array([0, 0, 1, 0, 0, 1, 1, 1]),
                  o = i.BufferObject.createVertex(t, 35044, e),
                  a = new i.VertexArrayObject(t, s.background.attributes, {
                geometry: [{
                  name: "a_pos",
                  count: 2,
                  type: 5120,
                  offset: 0,
                  stride: 2,
                  normalized: !1,
                  divisor: 0
                }]
              }, {
                geometry: o
              });
              this._program = r, this._vao = a;
            }
          }
        }, t;
      }(n["default"]);

      r.WGLBrushVTLBackground = 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/engine/webgl/brushes/WGLBrushVTLCircle.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLCircle.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushVTLCircleJs(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/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, U, w, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      o.enums.DataType, o.enums.PrimitiveType;

      var M = [1, 1, 1, 1],
          s = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._color = i.vec4f32.create(), e._strokeColor = i.vec4f32.create(), e._programOptions = {
            id: !1
          }, e._vertexAttributes = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 16,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_color",
              count: 4,
              type: 5121,
              offset: 4,
              stride: 16,
              normalized: !0,
              divisor: 0
            }, {
              name: "a_stroke_color",
              count: 4,
              type: 5121,
              offset: 8,
              stride: 16,
              normalized: !0,
              divisor: 0
            }, {
              name: "a_data",
              count: 4,
              type: 5121,
              offset: 12,
              stride: 16,
              normalized: !1,
              divisor: 0
            }]
          }, e;
        }

        return r(e, t), e.prototype.dispose = function () {}, e.prototype.drawMany = function (e, t) {
          var r = e.context,
              i = e.state,
              a = e.drawPhase,
              o = e.styleLayerId,
              s = e.displayLevel,
              n = e.styleLayer,
              l = e.painter.getVectorTileProgramCach(),
              c = n.hasDataDrivenRadius ? 1 : n.getPaintValue("circle-radius", s),
              u = n.hasDataDrivenColor ? M : n.getPaintValue("circle-color", s),
              f = n.hasDataDrivenOpacity ? 1 : n.getPaintValue("circle-opacity", s),
              d = n.hasDataDrivenStrokeWidth ? 1 : n.getPaintValue("circle-stroke-width", s),
              m = n.hasDataDrivenStrokeColor ? M : n.getPaintValue("circle-stroke-color", s),
              _ = n.hasDataDrivenStrokeOpacity ? 1 : n.getPaintValue("circle-stroke-opacity", s),
              v = n.hasDataDrivenBlur ? 0 : n.getPaintValue("circle-blur", s),
              p = f * u[3];

          this._color[0] = p * u[0], this._color[1] = p * u[1], this._color[2] = p * u[2], this._color[3] = p, p = _ * m[3], this._strokeColor[0] = p * m[0], this._strokeColor[1] = p * m[1], this._strokeColor[2] = p * m[2], this._strokeColor[3] = p;
          var h = n.getPaintValue("circle-translate", s),
              y = n.getPaintValue("circle-translate-anchor", s),
              g = a === U.WGLDrawPhase.HITTEST,
              V = g ? 1 : 0,
              D = this._programOptions;
          D.id = g;
          var P = l.getProgram(5, V, D);

          if (r.bindProgram(P), P.setUniformMatrix3fv("u_displayMat3", 1 === y ? i.displayMat3 : i.displayViewMat3), P.setUniform2fv("u_circleTranslation", h), P.setUniform1f("u_depth", n.z), P.setUniform1f("u_radius", c), P.setUniform4fv("u_color", this._color), P.setUniform1f("u_blur", v), P.setUniform1f("u_stroke_width", d), P.setUniform4fv("u_stroke_color", this._strokeColor), P.setUniform1f("u_antialiasingWidth", 1.2), g) {
            var b = w.u32to4Xu8(o);
            P.setUniform4f("u_id", b[0], b[1], b[2], b[3]);
          }

          for (var k = 0, x = t; k < x.length; k++) {
            var C = x[k];

            if (C.layerData[o]) {
              var O = C.layerData[o],
                  A = this._getCircleVAO(r, C, l);

              A && (r.bindVAO(A), P.setUniformMatrix3fv("u_dvsMat3", C.transforms.dvs), r.setStencilFunction(514, C.stencilRef, 255), r.drawElements(4, O.triangleElementCount, 5125, 12 * O.triangleElementStart), C.triangleCount += O.triangleElementCount / 3);
            }
          }
        }, e.prototype._getCircleVAO = function (e, t, r) {
          if (t.circleVertexArrayObject) return t.circleVertexArrayObject;
          var i = t.circleVertexBuffer,
              a = t.circleIndexBuffer;
          return i && a ? (t.circleVertexArrayObject = new o.VertexArrayObject(e, r.getProgramAttributes(5), this._vertexAttributes, {
            geometry: i
          }, a), t.circleVertexArrayObject) : null;
        }, e;
      }(a["default"]);

      t.WGLBrushVTLCircle = s;
    }.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/webgl/brushes/WGLBrushVTLFill.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLFill.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushVTLFillJs(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/libs/gl-matrix-2/mat3f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat3f32.js"), __webpack_require__(
    /*! ../../../../../core/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, i, a, s, I, z, p, o) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      s.enums.DataType, s.enums.PrimitiveType, s.enums.TextureSamplingMode;

      var L = 1 / 65536,
          U = [1, 1, 1, 1],
          l = function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t._fillVertexAttributes = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 4,
              normalized: !1,
              divisor: 0
            }]
          }, t._fillVertexAttributesDD = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 8,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_color",
              count: 4,
              type: 5121,
              offset: 4,
              stride: 8,
              normalized: !0,
              divisor: 0
            }]
          }, t._outlineVertexAttributes = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 8,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_offset",
              count: 2,
              type: 5120,
              offset: 4,
              stride: 8,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_xnormal",
              count: 2,
              type: 5120,
              offset: 6,
              stride: 8,
              normalized: !1,
              divisor: 0
            }]
          }, t._outlineVertexAttributesDD = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 12,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_offset",
              count: 2,
              type: 5120,
              offset: 4,
              stride: 12,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_xnormal",
              count: 2,
              type: 5120,
              offset: 6,
              stride: 12,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_color",
              count: 4,
              type: 5121,
              offset: 8,
              stride: 12,
              normalized: !0,
              divisor: 0
            }]
          }, t._color = a.vec4f32.create(), t._outlineColor = a.vec4f32.create(), t._fillProgramOptions = {
            id: !1,
            dd: !1,
            pattern: !1
          }, t._outlineProgramOptions = {
            id: !1,
            dd: !1
          }, t._patternMatrix = i.mat3f32.create(), t;
        }

        return r(t, e), t.prototype.dispose = function () {}, t.prototype.drawMany = function (t, e) {
          var r = t.displayLevel,
              i = t.drawPhase,
              a = t.renderPass,
              o = t.styleLayerId,
              l = t.styleLayer,
              n = l.getPaintValue("fill-pattern", r),
              s = l.hasDataDrivenColor ? U : l.getPaintValue("fill-color", r),
              u = l.hasDataDrivenOpacity ? 1 : l.getPaintValue("fill-opacity", r),
              f = u * s[3],
              d = void 0 !== n || f < 1 || l.hasDataDrivenFill;

          if (!d || "opaque" !== a) {
            var _;

            this._color[0] = f * s[0], this._color[1] = f * s[1], this._color[2] = f * s[2], this._color[3] = f, i === z.WGLDrawPhase.HITTEST && (_ = p.u32to4Xu8(o));
            var m = l.getPaintValue("fill-translate", r),
                c = l.getPaintValue("fill-translate-anchor", r);
            this._drawFill(t, o, l, e, m, c, n, d, _), this._drawOutline(t, o, l, e, m, c, n, _, u);
          }
        }, t.prototype._drawFill = function (t, e, r, i, a, o, l, n, s) {
          var u = t.context,
              f = t.displayLevel,
              d = t.drawPhase,
              _ = t.pixelRatio,
              m = t.renderPass,
              c = t.spriteMosaic,
              p = t.state;

          if (n || "translucent" !== m) {
            var v,
                y = void 0 !== l,
                h = _ > I.VTL_HIGH_RES_CUTOFF ? 2 : 1,
                x = r.hasDataDrivenFill,
                g = t.painter.getVectorTileProgramCach(),
                V = d === z.WGLDrawPhase.HITTEST,
                D = (V ? 1 : 0) << 2 | (x ? 1 : 0) << 1 | (y ? 1 : 0),
                b = this._fillProgramOptions;
            b.id = V, b.dd = x, b.pattern = y;
            var O = g.getProgram(1, D, b);

            if (u.bindProgram(O), y) {
              if (!(v = c.getMosaicItemPosition(l, !0))) return void u.bindProgram();
              O.setUniform2f("u_pattern_tl", v.tl[0], v.tl[1]), O.setUniform2f("u_pattern_br", v.br[0], v.br[1]), O.setUniform1i("u_texture", I.VTL_TEXTURE_BINDING_UNIT_SPRITES), c.bind(u, 9729, v.page, I.VTL_TEXTURE_BINDING_UNIT_SPRITES);
            }

            O.setUniformMatrix3fv("u_displayMat3", 1 === o ? p.displayMat3 : p.displayViewMat3), O.setUniform2fv("u_fillTranslation", a), O.setUniform1f("u_depth", r.z + L), O.setUniform4fv("u_color", this._color), V && O.setUniform4f("u_id", s[0], s[1], s[2], s[3]);

            for (var A = 0, P = i; A < P.length; A++) {
              var T = P[A];

              if (T.layerData[e]) {
                var M = this._getFillVAO(u, T, x, g);

                if (M) {
                  var C = T.layerData[e];

                  if (u.bindVAO(M), O.setUniformMatrix3fv("u_dvsMat3", T.transforms.dvs), y) {
                    var U = Math.max(Math.pow(2, Math.round(f) - T.key.level), 1),
                        w = T.coordRange[0] / (h * T.size[0] * U),
                        j = 1 / (v.size[0] * w),
                        E = 1 / (v.size[1] * w);
                    this._patternMatrix[0] = j, this._patternMatrix[4] = E, O.setUniformMatrix3fv("u_pattern_matrix", this._patternMatrix);
                  }

                  u.setStencilFunction(514, T.stencilRef, 255), u.drawElements(4, C.triangleElementCount, 5125, 12 * C.triangleElementStart), T.triangleCount += C.triangleElementCount / 3;
                }
              }
            }
          }
        }, t.prototype._drawOutline = function (t, e, r, i, a, o, l, n, s) {
          var u = t.context,
              f = t.displayLevel,
              d = t.drawPhase,
              _ = t.renderPass,
              m = t.pixelRatio,
              c = t.state;

          if ("opaque" !== _) {
            var p = void 0 !== l;

            if (r.getPaintValue("fill-antialias", f) && !p || r.hasDataDrivenOutlineColor) {
              var v = t.painter.getVectorTileProgramCach(),
                  y = r.hasDataDrivenOutline;

              if (r.outlineUsesFillColor) {
                if (1 !== this._color[3]) return;
                this._outlineColor[0] = this._color[0], this._outlineColor[1] = this._color[1], this._outlineColor[2] = this._color[2], this._outlineColor[3] = this._color[3];
              } else {
                var h = r.hasDataDrivenOutlineColor ? U : r.getPaintValue("fill-outline-color", f),
                    x = s * h[3];
                this._outlineColor[0] = x * h[0], this._outlineColor[1] = x * h[1], this._outlineColor[2] = x * h[2], this._outlineColor[3] = x;
              }

              var g = .75 / m,
                  V = d === z.WGLDrawPhase.HITTEST,
                  D = (V ? 1 : 0) << 1 | (y ? 1 : 0),
                  b = this._outlineProgramOptions;
              b.id = V, b.dd = y;
              var O = v.getProgram(2, D, b);
              u.bindProgram(O), O.setUniformMatrix3fv("u_displayMat3", 1 === o ? c.displayMat3 : c.displayViewMat3), O.setUniform2fv("u_fillTranslation", a), O.setUniform1f("u_depth", r.z + L), O.setUniform1f("u_outline_width", g), O.setUniform4fv("u_color", this._outlineColor), V && O.setUniform4f("u_id", n[0], n[1], n[2], n[3]);

              for (var A = 0, P = i; A < P.length; A++) {
                var T = P[A];

                if (T.layerData[e]) {
                  var M = T.layerData[e],
                      C = this._getOutlineVAO(u, T, y, v);

                  if (!C) return;
                  u.bindVAO(C), O.setUniformMatrix3fv("u_dvsMat3", T.transforms.dvs), u.setStencilFunction(514, T.stencilRef, 255), u.drawElements(4, M.outlineElementCount, 5125, 12 * M.outlineElementStart), T.triangleCount += M.outlineElementCount / 3;
                }
              }
            }
          }
        }, t.prototype._getFillVAO = function (t, e, r, i) {
          if (r) {
            if (e.fillDDVertexArrayObject) return e.fillDDVertexArrayObject;
            var a = e.fillDDVertexBuffer,
                o = e.fillIndexBuffer;
            return a && o ? (e.fillDDVertexArrayObject = new s.VertexArrayObject(t, i.getProgramAttributes(1), this._fillVertexAttributesDD, {
              geometry: a
            }, o), e.fillDDVertexArrayObject) : null;
          }

          if (e.fillVertexArrayObject) return e.fillVertexArrayObject;
          var l = e.fillVertexBuffer,
              n = e.fillIndexBuffer;
          return l && n ? (e.fillVertexArrayObject = new s.VertexArrayObject(t, i.getProgramAttributes(1), this._fillVertexAttributes, {
            geometry: l
          }, n), e.fillVertexArrayObject) : null;
        }, t.prototype._getOutlineVAO = function (t, e, r, i) {
          if (r) {
            if (e.outlineDDVertexArrayObject) return e.outlineDDVertexArrayObject;
            var a = e.outlineDDVertexBuffer,
                o = e.outlineIndexBuffer;
            return a && o ? (e.outlineDDVertexArrayObject = new s.VertexArrayObject(t, i.getProgramAttributes(2), this._outlineVertexAttributesDD, {
              geometry: a
            }, o), e.outlineDDVertexArrayObject) : null;
          }

          if (e.outlineVertexArrayObject) return e.outlineVertexArrayObject;
          var l = e.outlineVertexBuffer,
              n = e.outlineIndexBuffer;
          return l && n ? (e.outlineVertexArrayObject = new s.VertexArrayObject(t, i.getProgramAttributes(2), this._outlineVertexAttributes, {
            geometry: l
          }, n), e.outlineVertexArrayObject) : null;
        }, t;
      }(o["default"]);

      e.WGLBrushVTLFill = 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/engine/webgl/brushes/WGLBrushVTLLine.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLLine.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushVTLLineJs(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/libs/gl-matrix-2/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../../../../core/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, a, l, z, E, j, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      l.enums.DataType, l.enums.PrimitiveType, l.enums.TextureSamplingMode;
      t.C_DEG_TO_RAD = Math.PI / 180;

      var S = [1, 1, 1, 1],
          o = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._color = a.vec4f32.create(), e._dashArray = i.vec2f32.create(), e._programOptions = {
            id: !1,
            dd: !1,
            pattern: !1
          }, e._vertexAttributes = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 12,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_offsetAndNormal",
              count: 4,
              type: 5120,
              offset: 4,
              stride: 12,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_accumulatedDistance",
              count: 2,
              type: 5123,
              offset: 8,
              stride: 12,
              normalized: !1,
              divisor: 0
            }]
          }, e._vertexAttributesDD = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 20,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_offsetAndNormal",
              count: 4,
              type: 5120,
              offset: 4,
              stride: 20,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_accumulatedDistance",
              count: 2,
              type: 5122,
              offset: 8,
              stride: 20,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_color",
              count: 4,
              type: 5121,
              offset: 12,
              stride: 20,
              normalized: !0,
              divisor: 0
            }, {
              name: "a_width",
              count: 1,
              type: 5126,
              offset: 16,
              stride: 20,
              normalized: !1,
              divisor: 0
            }]
          }, e;
        }

        return r(e, t), e.prototype.dispose = function () {}, e.prototype.drawMany = function (e, t) {
          var r = e.context,
              i = e.displayLevel,
              a = e.state,
              n = e.drawPhase,
              o = e.styleLayerId,
              s = e.styleLayer,
              l = e.painter.getVectorTileProgramCach(),
              u = s.getPaintValue("line-translate", i),
              f = s.getPaintValue("line-translate-anchor", i),
              d = s.getPaintValue("line-pattern", i),
              m = void 0 !== d,
              c = 1 / e.pixelRatio,
              _ = s.getPaintValue("line-blur", i),
              p = s.hasDataDrivenColor ? S : s.getPaintValue("line-color", i),
              y = s.hasDataDrivenOpacity ? 1 : s.getPaintValue("line-opacity", i),
              v = s.hasDataDrivenWidth ? 1 : s.getPaintValue("line-width", i),
              g = y * p[3];

          this._color[0] = g * p[0], this._color[1] = g * p[1], this._color[2] = g * p[2], this._color[3] = g;
          var h,
              D = s.hasDataDrivenLine,
              V = n === E.WGLDrawPhase.HITTEST;
          V && (h = j.u32to4Xu8(o));
          var b = (V ? 1 : 0) << 2 | (D ? 1 : 0) << 1 | (m ? 1 : 0),
              x = this._programOptions;
          x.id = V, x.dd = D, x.pattern = m;
          var A = l.getProgram(3, b, x);

          if (r.bindProgram(A), A.setUniformMatrix3fv("u_displayViewMat3", a.displayViewMat3), A.setUniformMatrix3fv("u_displayMat3", 1 === f ? a.displayMat3 : a.displayViewMat3), A.setUniform2fv("u_lineTranslation", u), A.setUniform1f("u_depth", s.z), A.setUniform1f("u_blur", _), A.setUniform1f("u_antialiasing", c), A.setUniform4fv("u_color", this._color), A.setUniform1f("u_width", v), V && A.setUniform4f("u_id", h[0], h[1], h[2], h[3]), m) {
            var P = e.spriteMosaic,
                T = P.getMosaicItemPosition(d, !0);
            T && (P.bind(r, 9729, T.page, z.VTL_TEXTURE_BINDING_UNIT_SPRITES), A.setUniform2f("u_pattern_tl", T.tl[0], T.br[1]), A.setUniform2f("u_pattern_br", T.br[0], T.tl[1]), A.setUniform2f("u_spriteSize", 8 * T.size[0], T.size[1]), A.setUniform1i("u_texture", z.VTL_TEXTURE_BINDING_UNIT_SPRITES));
          } else {
            var U = s.getPaintValue("line-dasharray", i);
            U.length < 2 && (U = [1, -1]);
            this._dashArray[0] = 8 * U[0], this._dashArray[1] = 8 * U[1], A.setUniform2fv("u_dasharray", this._dashArray);
          }

          for (var O = 0, M = t; O < M.length; O++) {
            var I = M[O];

            if (I.layerData[o]) {
              var w = I.layerData[o],
                  L = this._getLineVAO(r, I, D, l);

              L && (r.bindVAO(L), A.setUniformMatrix3fv("u_dvsMat3", I.transforms.dvs), r.setStencilFunction(514, I.stencilRef, 255), r.drawElements(4, w.triangleElementCount, 5125, 12 * w.triangleElementStart), I.triangleCount += w.triangleElementCount / 3);
            }
          }
        }, e.prototype._getLineVAO = function (e, t, r, i) {
          if (r) {
            if (t.lineDDVertexArrayObject) return t.lineDDVertexArrayObject;
            var a = t.lineDDVertexBuffer,
                n = t.lineIndexBuffer;
            return a && n ? (t.lineDDVertexArrayObject = new l.VertexArrayObject(e, i.getProgramAttributes(3), this._vertexAttributesDD, {
              geometry: a
            }, n), t.lineDDVertexArrayObject) : null;
          }

          if (t.lineVertexArrayObject) return t.lineVertexArrayObject;
          var o = t.lineVertexBuffer,
              s = t.lineIndexBuffer;
          return o && s ? (t.lineVertexArrayObject = new l.VertexArrayObject(e, i.getProgramAttributes(3), this._vertexAttributes, {
            geometry: o
          }, s), t.lineVertexArrayObject) : null;
        }, e;
      }(n["default"]);

      t.WGLBrushVTLLine = o;
    }.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/webgl/brushes/WGLBrushVTLSymbol.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrushVTLSymbol.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLBrushVTLSymbolJs(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/libs/gl-matrix-2/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../../../../core/libs/gl-matrix-2/vec4f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec4f32.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../GeometryUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/GeometryUtils.js"), __webpack_require__(
    /*! ../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, X, a, f, q, Y, J, s, i) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      f.enums.DataType, f.enums.PrimitiveType, f.enums.TextureSamplingMode;

      var K = [1, 1, 1, 1],
          o = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._vertexAttributes = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 16,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_vertexOffset",
              count: 2,
              type: 5122,
              offset: 4,
              stride: 16,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_tex",
              count: 4,
              type: 5121,
              offset: 8,
              stride: 16,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_levelInfo",
              count: 4,
              type: 5121,
              offset: 12,
              stride: 16,
              normalized: !1,
              divisor: 0
            }]
          }, e._vertexAttributesDD = {
            geometry: [{
              name: "a_pos",
              count: 2,
              type: 5122,
              offset: 0,
              stride: 24,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_vertexOffset",
              count: 2,
              type: 5122,
              offset: 4,
              stride: 24,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_tex",
              count: 4,
              type: 5121,
              offset: 8,
              stride: 24,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_levelInfo",
              count: 4,
              type: 5121,
              offset: 12,
              stride: 24,
              normalized: !1,
              divisor: 0
            }, {
              name: "a_color",
              count: 4,
              type: 5121,
              offset: 16,
              stride: 24,
              normalized: !0,
              divisor: 0
            }, {
              name: "a_size",
              count: 1,
              type: 5126,
              offset: 20,
              stride: 24,
              normalized: !1,
              divisor: 0
            }]
          }, e._iconProgramOptions = {
            id: !1,
            dd: !1,
            sdf: !1
          }, e._sdfProgramOptions = {
            id: !1,
            dd: !1
          }, e._spritesTextureSize = X.vec2f32.create(), e._haloColor = a.vec4f32.create(), e._sdfColor = a.vec4f32.create(), e._color = a.vec4f32.create(), e;
        }

        return r(e, t), e.prototype.dispose = function () {}, e.prototype.drawMany = function (e, t) {
          var r,
              a = e.drawPhase,
              i = e.styleLayerId,
              o = e.styleLayer,
              n = e.fadeRecorder.getFadeValues();
          a === Y.WGLDrawPhase.HITTEST && (r = s.u32to4Xu8(i)), this._drawIcons(e, o, t, n, r), this._drawText(e, o, t, n, r);
        }, e.prototype._drawIcons = function (a, e, t, r, i) {
          for (var o, n = this, s = a.context, f = a.displayLevel, l = a.drawPhase, u = a.painter, d = a.state, c = a.styleLayerId, m = !1, _ = 0, y = t; _ < y.length; _++) {
            if ((E = y[_]).layerData[c] && 0 < (o = E.layerData[c]).iconPerPageElementsMap.size) {
              m = !0;
              break;
            }
          }

          if (m) {
            var p = e.hasDataDrivenIconSize ? 1 : e.getLayoutValue("icon-size", f),
                g = e.hasDataDrivenIconColor ? K : e.getPaintValue("icon-color", f),
                h = e.hasDataDrivenIconOpacity ? 1 : e.getPaintValue("icon-opacity", f),
                v = e.getPaintValue("icon-translate", f),
                x = e.getPaintValue("icon-translate-anchor", f),
                V = u.getVectorTileProgramCach(),
                D = g[3] * h;
            this._color[0] = D * g[0], this._color[1] = D * g[1], this._color[2] = D * g[2], this._color[3] = D;
            var U = e.getLayoutValue("icon-rotation-alignment", f);
            2 === U && (U = 1 === e.getLayoutValue("symbol-placement", f) ? 0 : 1);
            var T = o.isSDF,
                P = e.hasDataDrivenIcon,
                b = l === Y.WGLDrawPhase.HITTEST,
                A = (b ? 1 : 0) << 2 | (P ? 1 : 0) << 1 | (T ? 1 : 0),
                I = this._iconProgramOptions;
            I.id = b, I.dd = P, I.sdf = T;
            var L = V.getProgram(4, A, I);

            if (s.bindProgram(L), T) {
              var O = e.getPaintValue("icon-halo-color", f),
                  S = e.getPaintValue("icon-halo-width", f);
              L.setUniform4f("u_outlineColor", O[0], O[1], O[2], O[3]), L.setUniform1f("u_outlineSize", S);
            }

            L.setUniformMatrix3fv("u_displayViewMat3", 0 === U ? d.displayViewMat3 : d.displayMat3), L.setUniformMatrix3fv("u_displayMat3", 1 === x ? d.displayMat3 : d.displayViewMat3), L.setUniform2fv("u_iconTranslation", v), L.setUniform1f("u_depth", e.z), L.setUniform1f("u_mapRotation", J.degToByte(d.rotation)), L.setUniform1f("u_keepUpright", 0), L.setUniform1f("u_level", 10 * f), L.setUniform1f("u_fadeSpeed", 10 * r.fadeSpeed), L.setUniform1f("u_minfadeLevel", 10 * r.minfadeLevel), L.setUniform1f("u_maxfadeLevel", 10 * r.maxfadeLevel), L.setUniform1f("u_fadeChange", 10 * (f + r.fadeChange)), L.setUniform1i("u_texture", q.VTL_TEXTURE_BINDING_UNIT_SPRITES), L.setUniform1f("u_size", p), L.setUniform4fv("u_color", this._color), b && L.setUniform4fv("u_id", i);

            for (var z = function z(r) {
              if (!r.layerData[c]) return "continue";
              if (0 === (o = r.layerData[c]).iconPerPageElementsMap.size) return "continue";

              var e = M._getIconVAO(s, r, P, V);

              if (!e) return "continue";
              s.bindVAO(e), L.setUniformMatrix3fv("u_dvsMat3", r.transforms.dvs), o.iconPerPageElementsMap.forEach(function (e, t) {
                n._renderIconRange(a, L, e, t, r);
              });
            }, M = this, w = 0, C = t; w < C.length; w++) {
              var E;
              z(E = C[w]);
            }
          }
        }, e.prototype._renderIconRange = function (e, t, r, a, i) {
          var o = e.context,
              n = e.hasClipping,
              s = e.requiredLevel,
              f = e.spriteMosaic;
          this._spritesTextureSize[0] = f.getWidth(a) / 4, this._spritesTextureSize[1] = f.getHeight(a) / 4, t.setUniform2fv("u_mosaicSize", this._spritesTextureSize), f.bind(o, 9729, a, q.VTL_TEXTURE_BINDING_UNIT_SPRITES);
          var l = !0;
          s !== i.key.level || n ? o.setStencilFunction(514, i.stencilRef, 255) : l = !1, o.setStencilTestEnabled(l), o.drawElements(4, r[1], 5125, 12 * r[0]), i.triangleCount += r[1] / 3;
        }, e.prototype._drawText = function (e, t, r, a, i) {
          for (var o, n = this, s = e.context, f = e.displayLevel, l = e.drawPhase, u = e.glyphMosaic, d = e.hasClipping, c = e.painter, m = e.pixelRatio, _ = e.requiredLevel, y = e.state, p = e.styleLayerId, g = !1, h = 0, v = r; h < v.length; h++) {
            if ((F = v[h]).layerData[p] && 0 < (o = F.layerData[p]).glyphPerPageElementsMap.size) {
              g = !0;
              break;
            }
          }

          if (g) {
            var x = t.getLayoutValue("text-rotation-alignment", f);
            2 === x && (x = 1 === t.getLayoutValue("symbol-placement", f) ? 0 : 1);
            var V = 0 === x,
                D = t.getLayoutValue("text-keep-upright", f) && V,
                U = l === Y.WGLDrawPhase.HITTEST,
                T = .8 * 3 / m,
                P = t.hasDataDrivenTextSize ? 1 : t.getLayoutValue("text-size", f),
                b = t.hasDataDrivenTextColor ? K : t.getPaintValue("text-color", f),
                A = t.hasDataDrivenTextOpacity ? 1 : t.getPaintValue("text-opacity", f),
                I = t.getPaintValue("text-halo-color", f),
                L = t.getPaintValue("text-halo-width", f),
                O = 3 * t.getPaintValue("text-halo-blur", f),
                S = 3 * L,
                z = c.getVectorTileProgramCach(),
                M = b[3] * A;
            this._sdfColor[0] = M * b[0], this._sdfColor[1] = M * b[1], this._sdfColor[2] = M * b[2], this._sdfColor[3] = M;
            var w = I[3] * A;
            this._haloColor[0] = w * I[0], this._haloColor[1] = w * I[1], this._haloColor[2] = w * I[2], this._haloColor[3] = w, this._glyphTextureSize || (this._glyphTextureSize = X.vec2f32.fromValues(u.width / 4, u.height / 4));
            var C = t.getPaintValue("text-translate", f),
                E = t.getPaintValue("text-translate-anchor", f),
                j = t.hasDataDrivenText,
                B = (U ? 1 : 0) << 1 | (j ? 1 : 0),
                R = this._sdfProgramOptions;
            R.id = U, R.dd = j;
            var G = z.getProgram(6, B, R);
            s.bindProgram(G), G.setUniformMatrix3fv("u_displayViewMat3", 0 === x ? y.displayViewMat3 : y.displayMat3), G.setUniformMatrix3fv("u_displayMat3", 1 === E ? y.displayMat3 : y.displayViewMat3), G.setUniform2fv("u_textTranslation", C), G.setUniform1f("u_depth", t.z + 1 / 65536), G.setUniform2fv("u_mosaicSize", this._glyphTextureSize), G.setUniform1f("u_mapRotation", J.degToByte(y.rotation)), G.setUniform1f("u_keepUpright", D ? 1 : 0), G.setUniform1f("u_level", 10 * f), G.setUniform1f("u_fadeSpeed", 10 * a.fadeSpeed), G.setUniform1f("u_minfadeLevel", 10 * a.minfadeLevel), G.setUniform1f("u_maxfadeLevel", 10 * a.maxfadeLevel), G.setUniform1f("u_fadeChange", 10 * (f + a.fadeChange)), G.setUniform1i("u_texture", q.VTL_TEXTURE_BINDING_UNIT_GLYPHS), G.setUniform1f("u_size", P), G.setUniform1f("u_antialiasingWidth", T), U && G.setUniform4f("u_id", i[0], i[1], i[2], i[3]);

            for (var N = function N(r) {
              if (!r.layerData[p]) return "continue";
              if (0 === (o = r.layerData[p]).glyphPerPageElementsMap.size) return "continue";

              var e = k._getSDFVAO(s, r, j, z);

              if (!e) return "continue";
              s.bindVAO(e), G.setUniformMatrix3fv("u_dvsMat3", r.transforms.dvs);
              var t = !0;
              _ !== r.key.level || d ? s.setStencilFunction(514, r.stencilRef, 255) : t = !1, s.setStencilTestEnabled(t), o.glyphPerPageElementsMap.forEach(function (e, t) {
                n._renderGlyphRange(s, e, t, u, G, I[3], L, O, S, r);
              });
            }, k = this, H = 0, W = r; H < W.length; H++) {
              var F;
              N(F = W[H]);
            }
          }
        }, e.prototype._renderGlyphRange = function (e, t, r, a, i, o, n, s, f, l) {
          a.bind(e, 9729, r, q.VTL_TEXTURE_BINDING_UNIT_GLYPHS), 0 < o && 0 < n && (i.setUniform4fv("u_color", this._haloColor), i.setUniform1f("u_halo", 1), i.setUniform1f("u_edgeDistance", f), i.setUniform1f("u_edgeBlur", s), e.drawElements(4, t[1], 5125, 12 * t[0]), l.triangleCount += t[1] / 3), 0 < this._sdfColor[3] && (i.setUniform4fv("u_color", this._sdfColor), i.setUniform1f("u_halo", 0), i.setUniform1f("u_edgeDistance", 0), i.setUniform1f("u_edgeBlur", 0), e.drawElements(4, t[1], 5125, 12 * t[0]), l.triangleCount += t[1] / 3);
        }, e.prototype._getIconVAO = function (e, t, r, a) {
          if (r) {
            if (t.iconDDVertexArrayObject) return t.iconDDVertexArrayObject;
            var i = t.iconDDVertexBuffer,
                o = t.iconIndexBuffer;
            return i && o ? (t.iconDDVertexArrayObject = new f.VertexArrayObject(e, a.getProgramAttributes(4), this._vertexAttributesDD, {
              geometry: i
            }, o), t.iconDDVertexArrayObject) : null;
          }

          if (t.iconVertexArrayObject) return t.iconVertexArrayObject;
          var n = t.iconVertexBuffer,
              s = t.iconIndexBuffer;
          return n && s ? (t.iconVertexArrayObject = new f.VertexArrayObject(e, a.getProgramAttributes(4), this._vertexAttributes, {
            geometry: n
          }, s), t.iconVertexArrayObject) : null;
        }, e.prototype._getSDFVAO = function (e, t, r, a) {
          if (r) {
            if (t.textDDVertexArrayObject) return t.textDDVertexArrayObject;
            var i = t.textDDVertexBuffer,
                o = t.textIndexBuffer;
            return i && o ? (t.textDDVertexArrayObject = new f.VertexArrayObject(e, a.getProgramAttributes(6), this._vertexAttributesDD, {
              geometry: i
            }, o), t.textDDVertexArrayObject) : null;
          }

          if (t.textVertexArrayObject) return t.textVertexArrayObject;
          var n = t.textVertexBuffer,
              s = t.textIndexBuffer;
          return n && s ? (t.textVertexArrayObject = new f.VertexArrayObject(e, a.getProgramAttributes(6), this._vertexAttributes, {
            geometry: n
          }, s), t.textVertexArrayObject) : null;
        }, e;
      }(i["default"]);

      t.WGLBrushVTLSymbol = o;
    }.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/webgl/brushes/WGLGeometryBrush.js":
  /*!**************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js ***!
    \**************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLGeometryBrushJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./WGLBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLBrush.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n, r, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return i(t, e), t.prototype.prepareState = function (e, t, i) {
          var r = e.context,
              n = i && -1 !== i.indexOf("id");
          r.setBlendingEnabled(!n), r.setBlendFunctionSeparate(1, 771, 1, 771), r.setColorMask(!0, !0, !0, !0), r.setStencilWriteMask(0), r.setStencilTestEnabled(!0), r.setStencilFunction(514, t.stencilRef, 255);
        }, t.prototype.draw = function (t, i, r) {
          var n = this;

          if (i.isReady && i.hasData) {
            i.commitChanges();
            var e = this.getGeometryType(),
                a = i.getDisplayList(),
                s = i.getGeometry(e);
            s && a && (t.timeline.begin(this.name), a.byType(e, function (e) {
              n.drawGeometry(t, i, e, s, r);
            }), t.timeline.end(this.name));
          }
        }, t.prototype._getVAO = function (e, t, i, r) {
          return r.vao || (r.vao = new n.VertexArrayObject(e, i, t, r.vertexBufferMap, r.indexBuffer)), r.vao;
        }, t.prototype._setSharedUniforms = function (e, t, i) {
          e.setUniform1f("u_pixelRatio", t.pixelRatio), e.setUniformMatrix3fv("u_dvsMat3", i.transforms.dvs), e.setUniformMatrix3fv("u_displayViewMat3", t.state.displayViewMat3), e.setUniformMatrix4fv("u_insideEffectMat4", t.rendererInfo.insideEffect), e.setUniformMatrix4fv("u_outsideEffectMat4", t.rendererInfo.outsideEffect), e.setUniform1fv("u_insideOpacities", t.rendererInfo.insideOpacities), e.setUniform1fv("u_outsideOpacities", t.rendererInfo.outsideOpacities), e.setUniform1i("u_attributeTextureSize", t.attributeView.size), e.setUniform1i("u_attributeData0", r.TEXTURE_BINDING_ATTRIBUTE_DATA_0), e.setUniform1i("u_attributeData1", r.TEXTURE_BINDING_ATTRIBUTE_DATA_1), e.setUniform1i("u_attributeData2", r.TEXTURE_BINDING_ATTRIBUTE_DATA_2), e.setUniform1i("u_attributeData3", r.TEXTURE_BINDING_ATTRIBUTE_DATA_3);
        }, t;
      }(a["default"]);

      t["default"] = s;
    }.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/webgl/brushes/WGLGeometryBrushFill.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushFill.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLGeometryBrushFillJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../../../core/RandomLCG */
    "./node_modules/arcgis-js-api/core/RandomLCG.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLGeometryBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js"), __webpack_require__(
    /*! ../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, a, E, n, S, s, U) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      a.enums.DataType, a.enums.PrimitiveType, a.enums.TextureSamplingMode, a.enums.PixelFormat, a.enums.PixelType, a.enums.TextureWrapMode;

      var u = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._dotTextureSize = 0, e._dotTextures = null, e._dotSamplers = new Int32Array([E.TEXTURE_BINDING_RENDERER_0, E.TEXTURE_BINDING_RENDERER_1]), e;
        }

        return o(e, t), e.prototype.dispose = function () {
          this._disposeTextures();
        }, e.prototype.getGeometryType = function () {
          return n.WGLGeometryType.FILL;
        }, e.prototype.drawGeometry = function (e, t, o, r, i) {
          var a,
              n = e.context,
              s = e.painter,
              u = e.rendererInfo,
              l = e.requiredLevel,
              d = o.indexCount,
              p = o.indexFrom,
              c = o.materialKey,
              _ = U.FillMaterialKey.load(c),
              m = (a = _, S.createProgramDescriptor(a.data, {
            geometry: [{
              location: 0,
              name: "a_pos",
              count: 2,
              type: 5122
            }, {
              location: 1,
              name: "a_id",
              count: 4,
              type: 5121
            }].concat(a.dotDensity ? [] : [{
              location: 2,
              name: "a_color",
              count: 4,
              type: 5121,
              normalized: !0
            }, {
              location: 3,
              name: "a_tlbr",
              count: 4,
              type: 5123
            }, {
              location: 4,
              name: "a_aux1",
              count: 4,
              type: 5121
            }, {
              location: 5,
              name: "a_aux2",
              count: 2,
              type: 5123
            }, {
              location: 6,
              name: "a_aux3",
              count: 4,
              type: 5121
            }], a.dotDensity ? [{
              location: 2,
              name: "a_inverseArea",
              count: 1,
              type: 5126
            }] : [])
          })),
              v = m.bufferLayouts,
              f = m.attributes,
              y = s.materialManager.getMaterialProgram(e, _, "materials/fill", f, i),
              x = this._getVAO(n, v, f, r);

          if (n.bindProgram(y), n.bindVAO(x), this._setSharedUniforms(y, e, t), _.textureBinding) {
            s.textureManager.bindTextures(n, y, _);
            var T = 1 / Math.pow(2, l - t.key.level) / e.pixelRatio;
            y.setUniform1f("u_zoomFactor", T);
          }

          if (_.vvColor && (y.setUniform1fv("u_vvColorValues", u.vvColorValues), y.setUniform4fv("u_vvColors", u.vvColors)), _.vvOpacity && (y.setUniform1fv("u_vvOpacityValues", u.vvOpacityValues), y.setUniform1fv("u_vvOpacities", u.vvOpacities)), _.dotDensity) {
            var h = E.TILE_SIZE / u.ddDotSize,
                D = h * window.devicePixelRatio * h * window.devicePixelRatio,
                g = 1 / (T = 1 / Math.pow(2, l - t.key.level)) * (1 / T),
                w = u.ddDotScale ? e.state.scale / u.ddDotScale : 1;
            y.setUniform1f("u_tileZoomFactor", T), y.setUniform1f("u_tileDotsOverArea", D / (E.TILE_SIZE * window.devicePixelRatio * E.TILE_SIZE * window.devicePixelRatio)), y.setUniformMatrix4fv("u_dotColors", u.ddColors), y.setUniform4fv("u_isActive", u.ddActiveDots), y.setUniform4fv("u_dotBackgroundColor", u.ddBackgroundColor), y.setUniform1f("u_dotValue", Math.max(1, u.ddDotValue * w * g)), this._bindDotDensityTextures(n, y, u, h);
          }

          n.drawElements(4, d, 5125, 4 * p), n.bindVAO(null);
        }, e.prototype._disposeTextures = function () {
          if (this._dotTextures) {
            for (var e = 0; e < this._dotTextures.length; e++) this._dotTextures[e].dispose();

            this._dotTextures = null;
          }
        }, e.prototype._bindDotDensityTextures = function (e, t, o, r) {
          var i = this._createDotDensityTextures(e, r, o.ddSeed);

          t.setUniform1iv("u_dotTextures", this._dotSamplers);

          for (var a = 0; a < i.length; a++) e.bindTexture(i[a], this._dotSamplers[a]);
        }, e.prototype._createDotDensityTextures = function (e, t, o) {
          if (this._dotTextureSize === t && this._seed === o || (this._disposeTextures(), this._dotTextureSize = t, this._seed = o), null === this._dotTextures) {
            var r = new i(o);
            this._dotTextures = [this._allocDotDensityTexture(e, t, r), this._allocDotDensityTexture(e, t, r)];
          }

          return this._dotTextures;
        }, e.prototype._allocDotDensityTexture = function (e, t, o) {
          for (var r = new Float32Array(t * t * 4), i = 0; i < r.length; i++) r[i] = o.getFloat();

          return new a.Texture(e, {
            wrapMode: 10497,
            pixelFormat: 6408,
            dataType: 5126,
            samplingMode: 9728,
            width: t,
            height: t
          }, r);
        }, e;
      }(s["default"]);

      t["default"] = 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/engine/webgl/brushes/WGLGeometryBrushLabel.js":
  /*!*******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushLabel.js ***!
    \*******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLGeometryBrushLabelJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLGeometryBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js"), __webpack_require__(
    /*! ../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, i, n, U, o, g) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      i.enums.DataType, i.enums.PrimitiveType;

      var r = function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return a(t, e), t.prototype.dispose = function () {}, t.prototype.getGeometryType = function () {
          return n.WGLGeometryType.LABEL;
        }, t.prototype.drawGeometry = function (e, t, a, i, n) {
          var o = e.context,
              r = e.painter,
              l = e.state,
              s = e.rendererInfo,
              u = a.indexCount,
              m = a.indexFrom,
              p = a.materialKey,
              f = g.LabelMaterialKey.load(p),
              v = f.mapAligned ? 1 : 0;

          if (v || !(1 <= Math.abs(t.key.level - Math.round(100 * e.displayLevel) / 100))) {
            var d,
                c = (d = f, U.createProgramDescriptor(d.data, {
              geometry: [{
                location: 0,
                name: "a_pos",
                count: 2,
                type: 5122
              }, {
                location: 1,
                name: "a_id",
                count: 4,
                type: 5121
              }, {
                location: 2,
                name: "a_color",
                count: 4,
                type: 5121,
                normalized: !0
              }, {
                location: 3,
                name: "a_vertexOffset",
                count: 2,
                type: 5122
              }, {
                location: 4,
                name: "a_texAndSize",
                count: 4,
                type: 5121
              }, {
                location: 5,
                name: "a_refSymbolAndPlacementOffset",
                count: 4,
                type: 5121
              }, {
                location: 6,
                name: "a_zoomRangeAndEmpty",
                count: 4,
                type: 5121
              }]
            })),
                y = c.bufferLayouts,
                S = c.attributes,
                _ = r.materialManager.getMaterialProgram(e, f, "materials/label", S, n),
                z = this._getVAO(o, y, S, i);

            e.context.setStencilFunction(514, 0, 255), o.bindProgram(_), o.bindVAO(z), this._setSharedUniforms(_, e, t), r.textureManager.bindTextures(o, _, f, 4);
            var M = 1 === v ? l.displayViewMat3 : l.displayMat3;

            if (f.vvSizeMinMaxValue && _.setUniform4fv("u_vvSizeMinMaxValue", s.vvSizeMinMaxValue), f.vvSizeScaleStops && _.setUniform1f("u_vvSizeScaleStopsValue", s.vvSizeScaleStopsValue), f.vvSizeFieldStops) {
              var x = s.getSizeVVFieldStops(t.key.level);
              _.setUniform1fv("u_vvSizeFieldStopsValues", x.values), _.setUniform1fv("u_vvSizeFieldStopsSizes", x.sizes);
            }

            f.vvSizeUnitValue && _.setUniform1f("u_vvSizeUnitValueWorldToPixelsRatio", s.vvSizeUnitValueToPixelsRatio), _.setUniform1f("u_mapRotation", Math.floor(l.rotation / 360 * 254)), _.setUniform1f("u_mapAligned", v), _.setUniformMatrix3fv("u_displayMat3", M), _.setUniform1f("u_opacity", 1), _.setUniform1f("u_zoomLevel", Math.round(10 * e.displayLevel)), _.setUniform2fv("u_screenSize", e.state.size), o.drawElements(4, u, 5125, 4 * m), o.bindVAO(null), o.setStencilTestEnabled(!0), o.setBlendingEnabled(!0);
          }
        }, t;
      }(o["default"]);

      t["default"] = r;
    }.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/webgl/brushes/WGLGeometryBrushLine.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushLine.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLGeometryBrushLineJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLGeometryBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js"), __webpack_require__(
    /*! ../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, i, o, g, n, x) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      i.enums.DataType, i.enums.PrimitiveType, i.enums.Face, i.enums.CullMode;

      var r = function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return a(t, e), t.prototype.dispose = function () {}, t.prototype.getGeometryType = function () {
          return o.WGLGeometryType.LINE;
        }, t.prototype.drawGeometry = function (e, t, a, i, o) {
          var n,
              r = e.context,
              l = e.painter,
              u = e.rendererInfo,
              s = e.requiredLevel,
              v = a.indexFrom,
              c = a.indexCount,
              m = a.materialKey,
              p = x.LineMaterialKey.load(m),
              f = (n = p, g.createProgramDescriptor(n.data, {
            geometry: [{
              location: 0,
              name: "a_pos",
              count: 2,
              type: 5122
            }, {
              location: 1,
              name: "a_id",
              count: 4,
              type: 5121
            }, {
              location: 2,
              name: "a_color",
              count: 4,
              type: 5121,
              normalized: !0
            }, {
              location: 3,
              name: "a_offsetAndNormal",
              count: 4,
              type: 5120
            }, {
              location: 4,
              name: "a_accumulatedDistanceAndHalfWidth",
              count: 2,
              type: 5123
            }, {
              location: 5,
              name: "a_tlbr",
              count: 4,
              type: 5123
            }, {
              location: 6,
              name: "a_segmentDirection",
              count: 4,
              type: 5120
            }, {
              location: 7,
              name: "a_aux",
              count: 2,
              type: 5123
            }]
          })),
              d = f.bufferLayouts,
              y = f.attributes,
              S = l.materialManager.getMaterialProgram(e, p, "materials/line", y, o),
              _ = this._getVAO(r, d, y, i),
              V = 1 / e.pixelRatio;

          r.bindProgram(S), r.bindVAO(_), this._setSharedUniforms(S, e, t), p.textureBinding && l.textureManager.bindTextures(r, S, p);
          var z = Math.pow(2, s - t.key.level) / e.pixelRatio;

          if (S.setUniform1f("u_zoomFactor", z), S.setUniform1f("u_blur", 0 + V), S.setUniform1f("u_antialiasing", V), p.vvSizeMinMaxValue && S.setUniform4fv("u_vvSizeMinMaxValue", u.vvSizeMinMaxValue), p.vvSizeScaleStops && S.setUniform1f("u_vvSizeScaleStopsValue", u.vvSizeScaleStopsValue), p.vvSizeFieldStops) {
            var U = u.getSizeVVFieldStops(t.key.level);
            S.setUniform1fv("u_vvSizeFieldStopsValues", U.values), S.setUniform1fv("u_vvSizeFieldStopsSizes", U.sizes);
          }

          p.vvSizeUnitValue && S.setUniform1f("u_vvSizeUnitValueWorldToPixelsRatio", u.vvSizeUnitValueToPixelsRatio), p.vvColor && (S.setUniform1fv("u_vvColorValues", u.vvColorValues), S.setUniform4fv("u_vvColors", u.vvColors)), p.vvOpacity && (S.setUniform1fv("u_vvOpacityValues", u.vvOpacityValues), S.setUniform1fv("u_vvOpacities", u.vvOpacities)), r.setFaceCullingEnabled(!0), r.setFrontFace(2305), r.setCullFace(1029), r.drawElements(4, c, 5125, 4 * v), r.setFaceCullingEnabled(!1), r.bindVAO(null);
        }, t;
      }(n["default"]);

      t["default"] = r;
    }.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/webgl/brushes/WGLGeometryBrushMarker.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushMarker.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLGeometryBrushMarkerJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLGeometryBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js"), __webpack_require__(
    /*! ../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, a, o, n, z, r, x) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      o.enums.DataType, o.enums.PrimitiveType;

      var l = function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return i(t, e), t.prototype.dispose = function () {}, t.prototype.getGeometryType = function () {
          return n.WGLGeometryType.MARKER;
        }, t.prototype.drawGeometry = function (e, t, i, a, o) {
          var n,
              r = e.context,
              l = e.painter,
              v = e.rendererInfo,
              s = e.state,
              u = i.indexCount,
              p = i.indexFrom,
              m = i.materialKey,
              c = x.MarkerMaterialKey.load(m),
              f = (n = c, z.createProgramDescriptor(n.data, {
            geometry: [{
              location: 0,
              name: "a_pos",
              count: 2,
              type: 5122
            }, {
              location: 1,
              name: "a_vertexOffset",
              count: 2,
              type: 5122
            }, {
              location: 2,
              name: "a_texCoords",
              count: 2,
              type: 5123
            }, {
              location: 3,
              name: "a_bitSetAndDistRatio",
              count: 4,
              type: 5121
            }, {
              location: 4,
              name: "a_id",
              count: 4,
              type: 5121
            }, {
              location: 5,
              name: "a_color",
              count: 4,
              type: 5121,
              normalized: !0
            }, {
              location: 6,
              name: "a_outlineColor",
              count: 4,
              type: 5121,
              normalized: !0
            }, {
              location: 7,
              name: "a_sizeAndOutlineWidth",
              count: 4,
              type: 5121
            }]
          })),
              y = f.bufferLayouts,
              d = f.attributes,
              S = l.materialManager.getMaterialProgram(e, c, "materials/icon", d, o),
              _ = this._getVAO(r, y, d, a);

          r.bindProgram(S), r.bindVAO(_), c.textureBinding && l.textureManager.bindTextures(r, S, c, 1), this._setSharedUniforms(S, e, t);
          var M = c.vvRotation ? s.displayViewMat3 : s.displayMat3;

          if (S.setUniformMatrix3fv("u_displayMat3", M), c.vvSizeMinMaxValue && S.setUniform4fv("u_vvSizeMinMaxValue", v.vvSizeMinMaxValue), c.vvSizeScaleStops && S.setUniform1f("u_vvSizeScaleStopsValue", v.vvSizeScaleStopsValue), c.vvSizeFieldStops) {
            var V = v.getSizeVVFieldStops(t.key.level);
            S.setUniform1fv("u_vvSizeFieldStopsValues", V.values), S.setUniform1fv("u_vvSizeFieldStopsSizes", V.sizes);
          }

          c.vvSizeUnitValue && S.setUniform1f("u_vvSizeUnitValueWorldToPixelsRatio", v.vvSizeUnitValueToPixelsRatio), c.vvColor && (S.setUniform1fv("u_vvColorValues", v.vvColorValues), S.setUniform4fv("u_vvColors", v.vvColors)), c.vvOpacity && (S.setUniform1fv("u_vvOpacityValues", v.vvOpacityValues), S.setUniform1fv("u_vvOpacities", v.vvOpacities)), c.vvRotation && S.setUniform1f("u_vvRotationType", "geographic" === v.vvMaterialParameters.vvRotationType ? 0 : 1), r.drawElements(4, u, 5125, 4 * p), r.bindVAO(null);
        }, t;
      }(r["default"]);

      t["default"] = 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/engine/webgl/brushes/WGLGeometryBrushText.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrushText.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglBrushesWGLGeometryBrushTextJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./WGLGeometryBrush */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/brushes/WGLGeometryBrush.js"), __webpack_require__(
    /*! ../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, i, o, V, r, z) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      i.enums.DataType, i.enums.PrimitiveType;

      var n = function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return a(t, e), t.prototype.dispose = function () {}, t.prototype.getGeometryType = function () {
          return o.WGLGeometryType.TEXT;
        }, t.prototype.drawGeometry = function (e, t, a, i, o) {
          var r,
              n = e.context,
              v = e.painter,
              l = e.rendererInfo,
              s = e.state,
              u = a.indexCount,
              p = a.indexFrom,
              f = a.materialKey,
              m = z.TextMaterialKey.load(f),
              c = (r = m, V.createProgramDescriptor(r.data, {
            geometry: [{
              location: 0,
              name: "a_pos",
              count: 2,
              type: 5122
            }, {
              location: 1,
              name: "a_id",
              count: 4,
              type: 5121
            }, {
              location: 2,
              name: "a_color",
              count: 4,
              type: 5121,
              normalized: !0
            }, {
              location: 3,
              name: "a_vertexOffset",
              count: 2,
              type: 5122
            }, {
              location: 4,
              name: "a_texFontSize",
              count: 4,
              type: 5121
            }, {
              location: 5,
              name: "a_aux",
              count: 4,
              type: 5120
            }]
          })),
              y = c.bufferLayouts,
              d = c.attributes,
              S = v.materialManager.getMaterialProgram(e, m, "materials/text", d, o),
              _ = this._getVAO(n, y, d, i);

          if (n.bindProgram(S), n.bindVAO(_), this._setSharedUniforms(S, e, t), v.textureManager.bindTextures(n, S, m, 4), S.setUniformMatrix3fv("u_displayMat3", s.displayMat3), m.vvSizeMinMaxValue && S.setUniform4fv("u_vvSizeMinMaxValue", l.vvSizeMinMaxValue), m.vvSizeScaleStops && S.setUniform1f("u_vvSizeScaleStopsValue", l.vvSizeScaleStopsValue), m.vvSizeFieldStops) {
            var x = l.getSizeVVFieldStops(t.key.level);
            S.setUniform1fv("u_vvSizeFieldStopsValues", x.values), S.setUniform1fv("u_vvSizeFieldStopsSizes", x.sizes);
          }

          m.vvSizeUnitValue && S.setUniform1f("u_vvSizeUnitValueWorldToPixelsRatio", l.vvSizeUnitValueToPixelsRatio), m.vvColor && (S.setUniform1fv("u_vvColorValues", l.vvColorValues), S.setUniform4fv("u_vvColors", l.vvColors)), m.vvOpacity && (S.setUniform1fv("u_vvOpacityValues", l.vvOpacityValues), S.setUniform1fv("u_vvOpacities", l.vvOpacities)), m.vvRotation && S.setUniform1f("u_vvRotationType", "geographic" === l.vvMaterialParameters.vvRotationType ? 0 : 1), n.drawElements(4, u, 5125, 4 * p), n.bindVAO(null);
        }, t;
      }(r["default"]);

      t["default"] = 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/engine/webgl/collisions/BoundingBox.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/BoundingBox.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsBoundingBoxJs(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/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../core/libs/gl-matrix-2/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, h) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(t, e, i, r) {
          this.center = h.vec2f32.fromValues(t, e), this.centerT = h.vec2f32.create(), this.halfWidth = i / 2, this.halfHeight = r / 2, this.width = i, this.height = r;
        }

        return Object.defineProperty(e.prototype, "x", {
          get: function get() {
            return this.center[0];
          },
          set: function set(t) {
            this.center[0] = t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "y", {
          get: function get() {
            return this.center[1];
          },
          set: function set(t) {
            this.center[1] = t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "blX", {
          get: function get() {
            return this.center[0] - this.halfWidth;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "blY", {
          get: function get() {
            return this.center[1] - this.halfHeight;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "trX", {
          get: function get() {
            return this.center[0] + this.halfWidth;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "trY", {
          get: function get() {
            return this.center[1] + this.halfHeight;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.clone = function () {
          return new e(this.x, this.y, this.width, this.height);
        }, e.prototype.serialize = function (t) {
          return t.writeF32(this.center[0]), t.writeF32(this.center[1]), t.push(this.width), t.push(this.height), t;
        }, e.prototype.findCollisionDelta = function (t) {
          var e = Math.abs(t.centerT[0] - this.centerT[0]),
              i = Math.abs(t.centerT[1] - this.centerT[1]),
              r = (t.halfWidth + this.halfWidth) / e,
              h = (t.halfHeight + this.halfHeight) / i,
              n = Math.min(r, h);
          return o.log2(n);
        }, e.prototype.extend = function (t) {
          var e = Math.min(this.blX, t.blX),
              i = Math.min(this.blY, t.blY),
              r = Math.max(this.trX, t.trX),
              h = Math.max(this.trY, t.trY);
          this.width = r - e, this.height = h - i, this.halfWidth = this.width / 2, this.halfHeight = this.height / 2, this.x = e + this.halfWidth, this.y = i + this.halfHeight;
        }, e.deserialize = function (t) {
          return new e(t.readF32(), t.readF32(), t.readInt32(), t.readInt32());
        }, e;
      }();

      e["default"] = i;
    }.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/webgl/collisions/CollisionBucket.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionBucket.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsCollisionBucketJs(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__(
    /*! ../../../tiling */
    "./node_modules/arcgis-js-api/views/2d/tiling.js"), __webpack_require__(
    /*! ./CollisionBucketEntry */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionBucketEntry.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, g, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e, t) {
          this.neighbors = new Array(9), this._tiles = new Array(t);

          for (var i = 0; i < t; i++) this._tiles[i] = new r["default"]();

          this.key = e;
        }

        return Object.defineProperty(e.prototype, "isDirty", {
          get: function get() {
            for (var e = 0, t = this._tiles; e < t.length; e++) {
              if (t[e].dirty) return !0;
            }

            return !1;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "size", {
          get: function get() {
            return this._tiles.length;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.getTile = function (e) {
          return this._tiles[e];
        }, e.prototype.getReference = function (e) {
          var t = this._tiles[e];
          return t && t.reference;
        }, e.prototype.onRegisterLayer = function (e) {
          this.invalidateRange(e), this._add(e);
        }, e.prototype.onUnregisterLayer = function (e) {
          this.invalidateRange(e), this._remove(e);
        }, e.prototype.onLabelsRendered = function () {}, e.prototype.invalidateRange = function (e) {
          for (var t = e; t < this._tiles.length; t++) this._tiles[t].dirty = !0;
        }, e.prototype.add = function (e) {
          this._add(e);
        }, e.prototype.remove = function (e) {
          this._remove(e);
        }, e.prototype.canDelete = function () {
          return 0 === this._tiles.length;
        }, e.prototype.ready = function () {
          for (var e = 0, t = this._tiles; e < t.length; e++) {
            t[e].dirty = !1;
          }
        }, e.prototype.computeNeighbors = function (e) {
          this.neighbors[0] = this._getNeighbor(e, -1, -1), this.neighbors[1] = this._getNeighbor(e, 0, -1), this.neighbors[2] = this._getNeighbor(e, 1, -1), this.neighbors[3] = this._getNeighbor(e, -1, 0), (this.neighbors[4] = this).neighbors[5] = this._getNeighbor(e, 1, 0), this.neighbors[6] = this._getNeighbor(e, -1, 1), this.neighbors[7] = this._getNeighbor(e, 0, 1), this.neighbors[8] = this._getNeighbor(e, 1, 1);
        }, e.prototype.reset = function (e, t, i) {
          for (var r = 0, o = this._tiles; r < o.length; r++) {
            var n = o[r];
            n && n.reset(e, t, i);
          }
        }, e.prototype._add = function (e) {
          var t = [];
          if (e >= this._tiles.length) this._tiles.push(new r["default"]());else {
            for (var i = 0; i < this._tiles.length; i++) i === e && t.push(new r["default"]()), t.push(this._tiles[i]);

            this._tiles = t;
          }
        }, e.prototype._remove = function (e) {
          for (var t = [], i = 0; i < this._tiles.length; i++) i !== e && t.push(this._tiles[i]);

          this._tiles = t;
        }, e.prototype._getNeighbor = function (e, t, i) {
          var r = this.key,
              o = r.col + t,
              n = r.row + i,
              s = r.level,
              h = r.world,
              l = g.TileKey.getId(s, n, o, h);
          return e.has(l) ? e.get(l) : null;
        }, e;
      }();

      t["default"] = i;
    }.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/webgl/collisions/CollisionBucketEntry.js":
  /*!*********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionBucketEntry.js ***!
    \*********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsCollisionBucketEntryJs(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/libs/gl-matrix-2/vec2 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, M) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var t = function () {
        function e() {
          this._reference = null;
        }

        return Object.defineProperty(e.prototype, "dirty", {
          get: function get() {
            return this.reference && this.reference.isDirty;
          },
          set: function set(e) {
            this.reference && this.reference.hasData && (e || this.reference.isDirty) && (this.reference.isDirty = e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "index", {
          get: function get() {
            return this._reference && this._reference.labelIndex;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "reference", {
          get: function get() {
            return this._reference;
          },
          set: function set(e) {
            this._reference = e;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.reset = function (e, r, t) {
          var n = e.state,
              i = t.layerView.tileRenderer,
              o = this.reference;
          if (!o || !o.hasData) return !1;
          r && (o.isDirty = !0);

          for (var a = o.transforms.labelMat2d, c = a[4], f = a[5], s = 0, u = o.displayObjects; s < u.length; s++) for (var l = u[s], d = i.featuresView.attributeView, h = t.hasVV() ? d.getVVSize(l.id) : 0, b = 0, v = l.metrics; b < v.length; b++) {
            var y = v[b];
            t.hasVV() && y.computeOffset(h, t.vvEval);
            var p = y.bounds.center,
                g = y.bounds.centerT;
            o.isDirty && (y.minZoom = -1);
            var m = M.vec2.copy(g, y.anchor);
            if (n.rotation ? M.vec2.transformMat2d(m, m, a) : (g[0] = m[0] + c, g[1] = m[1] + f), M.vec2.add(g, m, p), g[0] += y.offsetX, g[1] += y.offsetY, y.boxes) for (var V = 0, D = y.boxes; V < D.length; V++) {
              var _ = D[V],
                  x = _.center,
                  O = y.anchor,
                  j = _.centerT;
              M.vec2.add(j, O, x), n.rotation ? M.vec2.transformMat2d(j, j, a) : (j[0] = j[0] + c, j[1] = j[1] + f);
            }
          }

          return !0;
        }, e;
      }();

      r["default"] = t;
    }.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/webgl/collisions/CollisionEngine.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionEngine.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsCollisionEngineJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../core/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./CollisionBucket */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionBucket.js"), __webpack_require__(
    /*! ./LayerCollisionInfo */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/LayerCollisionInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, _, p, t, l, o, n, v) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var k = o.TILE_SIZE / o.COLLISION_BUCKET_SIZE,
          x = k,
          m = t.getLogger("esri.views.2d.engine.webgl.collisions.CollisionEngine"),
          r = function () {
        function e(e) {
          this._layers = new Map(), this._collisionBuckets = new Map(), this._didError = !1, this._tilingScheme = e;
        }

        return Object.defineProperty(e.prototype, "collisionInfos", {
          get: function get() {
            return p.valuesOfMap(this._layers);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.registerLayerView = function (e, i) {
          if (!this._layers.has(e)) {
            var t = v["default"].create(e, i, this.collisionInfos, this._tilingScheme);
            this._layers.set(e, t), this._collisionBuckets.forEach(function (e) {
              return e.onRegisterLayer(t.index);
            });
          }
        }, e.prototype.unregisterLayerView = function (e) {
          var r = this;

          if (this._layers.has(e)) {
            var o = this._layers.get(e);

            v["default"]["delete"](o.index, this.collisionInfos), this._layers["delete"](e), this._collisionBuckets.forEach(function (e, i) {
              var t = e.getTile(o.index);
              t && (e.onUnregisterLayer(o.index), e.canDelete() && r._collisionBuckets["delete"](i), t.reference && (t.reference.isDirty = !1));
            });
          }
        }, e.prototype.addTile = function (e, i) {
          var t = i.key.id;

          if (this._layers.has(e)) {
            this._collisionBuckets.has(t) || this._collisionBuckets.set(t, new n["default"](i.key, this._layers.size));

            var r = this._getIndex(e);

            this._collisionBuckets.get(t).getTile(r).reference = i;
          }
        }, e.prototype.removeTile = function (e, i) {
          if (this._layers.has(e) && this._collisionBuckets.has(i)) {
            var t = this._getIndex(e),
                r = this._collisionBuckets.get(i).getTile(t);

            r.dirty = !1, r.reference = null;
          }
        }, e.prototype.run = function (e, i) {
          var t = p.valuesOfMap(this._collisionBuckets).sort(function (e, i) {
            return e.key.compareRowMajor(i.key);
          }),
              r = !0,
              o = e.renderingOptions.labelCollisionsEnabled && !this._didError,
              n = this.collisionInfos;

          try {
            for (var s = 0, l = t; s < l.length; s++) {
              var a = l[s];
              r = r || a.isDirty;

              for (var c = 0; c < this._layers.size; c++) {
                var f = v["default"].find(c, n);
                a.computeNeighbors(this._collisionBuckets), a.reset(e, r, f);
              }
            }

            for (var u = 0; u < this._layers.size; u++) {
              f = v["default"].find(u, n);

              for (var h = 0, g = t; h < g.length; h++) {
                a = g[h];

                this._run(o, a, f, i);
              }
            }
          } catch (e) {
            m.error(new _("mapview-labeling", "Encountered an error during decluttering. Disabling collisions", e)), this._didError = !0;
          }

          for (var y = 0, d = t; y < d.length; y++) {
            (a = d[y]).ready();
          }
        }, e.prototype._run = function (e, i, t, r) {
          var o = i.getReference(t.index);
          o && o.hasData && (o.key.level !== r ? this._resetLabelsMinZoom(i, t) : this._runVisibility(e, i, o, t, r));
        }, e.prototype._resetLabelsMinZoom = function (e, i) {
          if (e && "polyline" !== i.geometryType) {
            var t = e.getReference(i.index);
            if (t && t.hasData) for (var r = i.layerView.tileRenderer.featuresView.attributeView, o = 0, n = t.displayObjects; o < n.length; o++) {
              var s = n[o];
              r.setLabelMinZoom(s.id, 255);
            }
          }
        }, e.prototype._checkLabelsVisible = function (e, i) {
          var t = !i.filter || !!(e & o.FILTER_FLAG_0),
              r = !i.effect || i.effect.excludedLabelsVisible || !!(e & o.EFFECT_FLAG_0);
          return t && r;
        }, e.prototype._runVisibility = function (e, i, t, r, o) {
          for (var n = r.layerView.tileRenderer.featuresView.attributeView, s = 0, l = t.displayObjects.sort(function (e, i) {
            return n.getLabelMinZoom(e.id) - n.getLabelMinZoom(i.id);
          }); s < l.length; s++) {
            var a = l[s];

            if (a.metrics.length) {
              var c = "polyline" === r.geometryType ? 0 : 10 * (o - 1),
                  f = n.getFilterFlags(a.id),
                  u = this._checkLabelsVisible(f, r.layerView);

              if (e) for (var h = 0; h < a.metrics.length; h++) {
                var g = a.metrics[h],
                    y = u ? -1 !== g.minZoom ? g.minZoom : this._computeLabelVisibility(a, g, r.index, i, g.baseZoom, o) : 255;
                c = Math.max(y, c);
              }
              n.setLabelMinZoom(a.id, c);

              for (var d = 0, _ = a.metrics; d < _.length; d++) {
                (g = _[d]).minZoom = c;
              }
            }
          }
        }, e.prototype._computeLabelVisibility = function (e, i, t, r, o, n) {
          for (var s = o, l = i.xBucket, a = i.yBucket, c = i.xOverflow, f = i.yOverflow, u = l - c, h = l + c + 1, g = a + f + 1, y = a - f; y < g; y++) for (var d = u; d < h; d++) if (!(d < -k || y < -x || k < d || x < y)) for (var _ = 0; _ <= t; _++) {
            var p = this._getRelativeSubBucket(_, r, d, y);

            if (p) for (var v = 0, m = p; v < m.length; v++) {
              var b = m[v];

              if (b.id !== e.id) {
                var L = this._compareLabels(i, b, s, n);

                s = Math.max(L, s);
              }
            }
          }

          return s;
        }, e.prototype._compareLabels = function (e, i, t, r) {
          var o = 10 * (r + 1);
          if (-1 === i.minZoom || i.minZoom > o) return t;
          var n = e.findCollisionDelta(i),
              s = l.clamp(Math.floor(10 * (n + r)), 0, 255);
          return i.minZoom >= s ? t : Math.max(t, s);
        }, e.prototype._getNeighboringTile = function (e, i, t, r) {
          var o = 3 * (1 + r) + (1 + t),
              n = i.neighbors[o];
          return n && n.getTile(e);
        }, e.prototype._getRelativeSubBucket = function (e, i, t, r) {
          var o = l.sign(Math.floor(t / 4)),
              n = l.sign(Math.floor(r / 4)),
              s = this._getNeighboringTile(e, i, o, n);

          return s && s.reference && s.index && s.reference.hasData ? s.index[r - 4 * n][t - 4 * o] : null;
        }, e.prototype._getIndex = function (e) {
          return this._layers.get(e).index;
        }, e;
      }();

      i.CollisionEngine = r;
    }.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/webgl/collisions/CollisionGrid.js":
  /*!**************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/CollisionGrid.js ***!
    \**************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsCollisionGridJs(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__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, e) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var r = function () {
        function t(t) {
          this._bucketSize = t, this._rowsLength = e.TILE_SIZE / t, this._colsLength = e.TILE_SIZE / t, this._grid = this._initGrid();
        }

        return t.prototype.checkOverlap = function (t, i) {
          var e = Math.floor(t / this._bucketSize),
              r = Math.floor(i / this._bucketSize);
          return e < 0 || e >= this._rowsLength || r < 0 || r >= this._colsLength || !!this._grid[r][e] || !(this._grid[r][e] = !0);
        }, t.prototype.reset = function () {
          this._grid = this._initGrid();
        }, t.prototype._initGrid = function () {
          for (var t = [], i = 0; i < this._rowsLength; i++) t.push(new Array(this._colsLength));

          return t;
        }, t;
      }();

      i.CollisionGrid = r;
    }.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/webgl/collisions/LayerCollisionInfo.js":
  /*!*******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/LayerCollisionInfo.js ***!
    \*******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsLayerCollisionInfoJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ./visualVariableSimpleUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/visualVariableSimpleUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, c, t, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var f = function f(e, r) {
        return e.order - r.order;
      },
          o = function o(e, r) {
        return e.index - r.index;
      },
          a = n.getLogger("esri/views/2d/engine/webgl/collisions/CollisionEngine");

      function l(r) {
        return function (e) {
          return t.pt2px(i.getSizeForValueSimple(e, r));
        };
      }

      function d(e) {
        if (!e) return null;

        for (var r = 0, n = e; r < n.length; r++) {
          var t = n[r];
          if ("size" === t.type) return l(t);
        }

        return null;
      }

      r.createLabelVVEvaluator = d;

      var s = function () {
        function v(e, r, n, l) {
          var t = this;
          this._vvHandle = null;
          var i = e.layer,
              o = i.geometryType,
              a = i.labelingInfo,
              s = i.renderer;
          this.vvEval = d("visualVariables" in s && s.visualVariables), this._vvHandle = i.watch("visualVariables", function (e) {
            t.vvEval = d(e);
          });
          var u = a.map(function (e) {
            return n = l, t = !!(r = e).minScale, i = !!r.maxScale, o = t && n.scaleToZoom(r.minScale) || 0, a = i && n.scaleToZoom(r.maxScale) || 255, {
              minZoom: c.clamp(Math.floor(10 * o), 0, 255),
              maxZoom: c.clamp(Math.floor(10 * a), 0, 255)
            };
            var r, n, t, i, o, a;
          });
          this.layerView = e, this.geometryType = o, this.index = r, this.order = n, this.zoomRanges = u, this.layerView = e;
        }

        return v.prototype.hasVV = function () {
          return !!this.vvEval;
        }, v.prototype.allOrNothing = function () {
          return !("polyline" === this.geometryType);
        }, v.prototype.destroy = function () {
          this._vvHandle.remove();
        }, v.create = function (e, r, n, t) {
          for (var i = n.sort(f), o = !1, a = -1, l = 0, s = i; l < s.length; l++) {
            var u = s[l];
            !o && u.order > r && (a = u.index, o = !0), o && u.index++;
          }

          return o || (a = i.length), new v(e, a, r, t);
        }, v["delete"] = function (e, r) {
          for (var n = r.sort(o), t = e + 1; t < n.length; t++) r[t].index--;

          r[e].destroy(), r.splice(e, 1);
        }, v.find = function (e, r) {
          for (var n = 0, t = r; n < t.length; n++) {
            var i = t[n];
            if (i.index === e) return i;
          }

          return a.error("Tried to get a LayerCollisionInfo for an index that doesn't exist!"), null;
        }, v;
      }();

      r["default"] = s;
    }.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/webgl/collisions/LayerViewSorter.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/LayerViewSorter.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsLayerViewSorterJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var a = i.getLogger("esri.views.2d.engine.collisions.LayerViewSorter");

      function o(e) {
        return "esri.views.2d.layers.FeatureLayerView2D" === e.declaredClass || "esri.views.2d.layers.StreamLayerView2D" === e.declaredClass;
      }

      function l(e) {
        if (!e.layer || !e.layer.renderer) return !1;

        switch (e.layer.renderer.type) {
          case "class-breaks":
          case "simple":
          case "unique-value":
          case "dictionary":
            return !0;

          default:
            return a.error(new t("mapview-labeling", "Renderer of type " + e.layer.renderer.type + " does not currently support labeling")), !1;
        }
      }

      var n = function () {
        function e(e, r) {
          this.registerLayer = e, this.unregisterLayer = r, this._layerViewState = new Map();
        }

        return e.prototype.findIndex = function (r) {
          return r.view.allLayerViews.findIndex(function (e) {
            return e.uid === r.uid;
          });
        }, e.prototype.update = function (e) {
          for (var r = e.added, t = 0, i = e.removed; t < i.length; t++) {
            o(s = i[t]) && this._layerViewState.has(s) && this._deleteState(s);
          }

          for (var a = 0, n = r; a < n.length; a++) {
            var s;
            o(s = n[a]) && l(s) && !this._layerViewState.has(s) && this._createState(s);
          }

          this._recomputeOrder();
        }, e.prototype.destroy = function () {
          this._layerViewState.forEach(function (e) {
            return e.handle.remove();
          });
        }, e.prototype._createState = function (e) {
          var r = {
            priority: -1,
            handle: null
          };
          return r.handle = e.watch("labelsVisible", this._recomputeOrder.bind(this)), this._layerViewState.set(e, r), r;
        }, e.prototype._deleteState = function (e) {
          if (this._layerViewState.has(e)) {
            var r = this._layerViewState.get(e);

            r.handle.remove(), -1 !== r.priority && this.unregisterLayer(e), this._layerViewState["delete"](e);
          }
        }, e.prototype._recomputeOrder = function () {
          var n = this;

          this._layerViewState.forEach(function (e, r) {
            var t = r.view.map.allLayers.findIndex(function (e) {
              return e.uid === r.layer.uid;
            }),
                i = r.layer,
                a = i.visible && i.labelsVisible && i.labelingInfo ? 4294967295 - t : -1;
            a !== e.priority && (e.priority = a, n.unregisterLayer(r), -1 !== a && n.registerLayer(r, a));
          });
        }, e;
      }();

      r.LayerViewSorter = 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/engine/webgl/collisions/Metric.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/Metric.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsMetricJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../core/libs/gl-matrix-2/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./BoundingBox */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/BoundingBox.js"), __webpack_require__(
    /*! ../util/serializationUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, s, e, n, d, x, p) {
      Object.defineProperty(s, "__esModule", {
        value: !0
      });

      var o = e.getLogger("esri/views/2d/engine/webgl/collisions/Metric"),
          i = function () {
        function I(t, s, e, i, o) {
          this.id = t, this.range = s, this.boxes = null, this.minZoom = -1, this.size = 0, this.directionX = 0, this.directionY = 0, this.offsetX = 0, this.offsetY = 0, this.anchor = n.vec2f32.fromValues(e, i), this.baseZoom = o;
        }

        return I.prototype.add = function (t) {
          this.bounds ? (this.boxes ? this.boxes.push(t) : (this.boxes = [this.bounds, t], this.bounds = this.bounds.clone()), this.bounds.extend(t)) : this.bounds = t;
        }, I.prototype.computeIndex = function () {
          var t = this.bounds,
              s = this.anchor[0],
              e = this.anchor[1],
              i = Math.floor(s / d.COLLISION_BUCKET_SIZE),
              o = Math.floor(e / d.COLLISION_BUCKET_SIZE),
              n = 0;
          (i > d.COLLISION_TILE_BOX_SIZE || o > d.COLLISION_TILE_BOX_SIZE) && (i = d.COLLISION_TILE_BOX_SIZE, o = d.COLLISION_TILE_BOX_SIZE, n = 1), (i < 0 || o < 0) && (o = i = 0, n = 1);
          var h = t.halfWidth + Math.abs(t.center[0]),
              r = t.halfHeight + Math.abs(t.center[1]),
              a = 2 * Math.max(h, r),
              u = a - s % d.COLLISION_BUCKET_SIZE,
              f = a - e % d.COLLISION_BUCKET_SIZE;
          this.xBucket = i, this.yBucket = o, this.xOverflow = Math.ceil(Math.abs(u / d.COLLISION_BUCKET_SIZE)) + n, this.yOverflow = Math.ceil(Math.abs(f / d.COLLISION_BUCKET_SIZE)) + n;
        }, I.prototype.findCollisionDelta = function (t) {
          var s = this.bounds.findCollisionDelta(t.bounds),
              e = this.boxes && this.boxes.length,
              i = t.boxes && t.boxes.length;
          return Math.abs(s) > d.COLLISION_MAX_ZOOM_DELTA || !e && !i ? s : e && i ? this._boxesToBoxes(t) : e ? this._boxesToBox(t) : this._boxToBoxes(t);
        }, I.prototype.computeOffset = function (t, s) {
          s || o.error("mapview-labeling", "Unable to compute label offset. Expected an evaluator function but found " + s);
          var e = this.size;

          if (this.hasVV) {
            var i = s(t);
            e = isNaN(i) || null == i || i === 1 / 0 ? this.size : i;
          }

          this.offsetX = this.directionX * (e / 2 + d.COLLISION_PLACEMENT_PADDING), this.offsetY = this.directionY * (e / 2 + d.COLLISION_PLACEMENT_PADDING);
        }, I.prototype.setVV = function (t, s, e) {
          this.hasVV = !0, this.size = t, this.directionX = s, this.directionY = e;
        }, I.prototype.clone = function () {
          var t = new I(this.id, this.range, this.anchor[0], this.anchor[1], this.baseZoom);
          return t.minZoom = this.minZoom, this.bounds && (t.bounds = this.bounds.clone()), this.boxes && (t.boxes = this.boxes.map(function (t) {
            return t.clone();
          })), t.xBucket = this.xBucket, t.yBucket = this.yBucket, t.xOverflow = this.xOverflow, t.yOverflow = this.yOverflow, t.hasVV = this.hasVV, t.size = this.size, t.directionX = this.directionX, t.directionY = this.directionY, t.offsetX = this.offsetX, t.offsetY = this.offsetY, t;
        }, I.prototype._boxToBoxes = function (t) {
          for (var s = -1 / 0, e = 0, i = t.boxes; e < i.length; e++) {
            var o = i[e],
                n = this.bounds.findCollisionDelta(o);
            s = Math.max(n, s);
          }

          return s;
        }, I.prototype._boxesToBox = function (t) {
          for (var s = this.boxes[0].findCollisionDelta(t.bounds), e = 1; e < this.boxes.length; e++) {
            var i = this.boxes[e].findCollisionDelta(t.bounds);
            s = Math.max(i, s);
          }

          return s;
        }, I.prototype._boxesToBoxes = function (t) {
          for (var s = -1 / 0, e = 0; e < this.boxes.length; e++) for (var i = this.boxes[e], o = 0, n = t.boxes; o < n.length; o++) {
            var h = n[o],
                r = i.findCollisionDelta(h);
            s = Math.max(r, s);
          }

          return s;
        }, I.prototype.serialize = function (t) {
          return t.push(this.id), this.bounds.serialize(t), t.push(this.range.from), t.push(this.range.count), t.push(this.anchor[0]), t.push(this.anchor[1]), t.push(this.baseZoom), t.push(this.hasVV ? 1 : 0), t.push(this.size), t.push(this.directionX), t.push(this.directionY), t.push(this.offsetX), t.push(this.offsetY), p.serializeList(t, this.boxes), t;
        }, I.deserialize = function (t) {
          var s = t.readInt32(),
              e = x["default"].deserialize(t),
              i = {
            from: t.readInt32(),
            count: t.readInt32()
          },
              o = t.readInt32(),
              n = t.readInt32(),
              h = t.readInt32(),
              r = t.readInt32(),
              a = t.readInt32(),
              u = t.readInt32(),
              f = t.readInt32(),
              d = t.readInt32(),
              l = t.readInt32(),
              c = p.deserializeList(t, x["default"]),
              b = new I(s, i, o, n, h);
          return b.bounds = e, b.boxes = c, b.computeIndex(), r && b.setVV(a, u, f), b.offsetX = d, b.offsetY = l, b;
        }, I;
      }();

      s["default"] = i;
    }.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/webgl/collisions/visualVariableSimpleUtils.js":
  /*!**************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/visualVariableSimpleUtils.js ***!
    \**************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglCollisionsVisualVariableSimpleUtilsJs(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/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../renderers/support/utils */
    "./node_modules/arcgis-js-api/renderers/support/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, m, p) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      });
      var f = Math.PI;

      function r(e, n) {
        switch (n.transformationType) {
          case "additive":
            return l = e, c = z((o = n).minSize, l), l + (c || o.minDataValue);

          case "constant":
            return function (e, n) {
              var r = e.stops,
                  t = r && r.length && r[0].size;
              null == t && (t = e.minSize);
              return z(t, n);
            }(n, e);

          case "clamped-linear":
            return function (e, n) {
              var r = (e - n.minDataValue) / (n.maxDataValue - n.minDataValue),
                  t = z(n.minSize, e),
                  a = z(n.maxSize, e);
              if (e <= n.minDataValue) return t;
              if (e >= n.maxDataValue) return a;
              return t + r * (a - t);
            }(e, n);

          case "proportional":
            return a = (r = e) / (t = n).minDataValue, i = z(t.minSize, r), u = z(t.maxSize, r), s = null, s = a * i, m.clamp(s, i, u);

          case "stops":
            return function (e, n) {
              var r = function (r, e) {
                if (!e) return;
                var t = 0,
                    a = e.length - 1;
                return e.some(function (e, n) {
                  return r < e ? (a = n, !0) : (t = n, !1);
                }), [t, a, (r - e[t]) / (e[a] - e[t])];
              }(e, n.cache.ipData),
                  t = r[0],
                  a = r[1],
                  i = r[2];

              if (t === a) return z(n.stops[t].size, e);
              var u = z(n.stops[t].size, e),
                  s = z(n.stops[a].size, e);
              return u + (s - u) * i;
            }(e, n);

          case "real-world-size":
            return function (e, n) {
              var r = p.meterIn[n.valueUnit],
                  t = z(n.minSize, e),
                  a = z(n.maxSize, e),
                  i = n.valueRepresentation,
                  u = null;
              u = "area" === i ? 2 * Math.sqrt(e / f) / r : "radius" === i || "distance" === i ? 2 * e / r : e / r;
              return m.clamp(u, t, a);
            }(e, n);

          case "identity":
            return e;

          case "unknown":
            return null;
        }

        var r, t, a, i, u, s, l, o, c;
      }

      function z(e, n) {
        return "number" == typeof e ? e : r(n, e);
      }

      n.getSizeForValueSimple = r;
    }.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/webgl/color.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglColorJs(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__(
    /*! ./number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, a) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.white = [255, 255, 255, 1];
      var n = [0, 0, 0, 0];

      function t(r, e) {
        return Array.isArray(e) ? (r[0] = e[0], r[1] = e[1], r[2] = e[2], r[3] = e[3]) : (r[0] = e.r, r[1] = e.g, r[2] = e.b, r[3] = e.a), r;
      }

      function i(r, e, n) {
        void 0 === e && (e = 0), void 0 === n && (n = !1);
        var t = r[e + 3];
        return r[e + 0] *= t, r[e + 1] *= t, r[e + 2] *= t, n || (r[e + 3] *= 255), r;
      }

      e.premultiplyAlpha = i, e.copyAndPremultiply = function (r) {
        return i(t([], r));
      }, e.premultiplyAlphaUint32 = function (r) {
        return i(t(n, r)), a.i8888to32(n[0], n[1], n[2], n[3]);
      }, e.premultiplyAlphaRGBA = function (r) {
        if (!r) return 0;
        var e = r.r,
            n = r.g,
            t = r.b,
            i = r.a,
            u = e * i,
            o = n * i,
            l = t * i,
            p = 255 * i;
        return a.i8888to32(u, o, l, p);
      };
    }.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/webgl/definitions.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglDefinitionsJs(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 (_, T) {
      Object.defineProperty(T, "__esModule", {
        value: !0
      }), T.WEBGL_MAX_STOPS = 8, T.WEBGL_MAX_INNER_STOPS = T.WEBGL_MAX_STOPS - 2, T.NAN_MAGIC_NUMBER = 1e-30, T.EXTRUDE_SCALE = 64, T.PICTURE_FILL_COLOR = 4294967295, T.TILE_SIZE = 512, T.RASTER_TILE_SIZE = 256, T.ANGLE_FACTOR_256 = 256 / 360, T.DEBUG_LABELS = !1, T.COLLISION_BUCKET_SIZE = 128, T.DOT_DENSITY_MAX_FIELDS = 8, T.COLLISION_MAX_ZOOM_DELTA = 3, T.COLLISION_EARLY_REJECT_BUCKET_SIZE = 16, T.COLLISION_BOX_PADDING = 16, T.COLLISION_TILE_BOX_SIZE = T.TILE_SIZE / T.COLLISION_BUCKET_SIZE, T.COLLISION_PLACEMENT_PADDING = 8, T.HEURISTIC_GLYPHS_PER_LINE = 50, T.HEURISTIC_GLYPHS_PER_FEATURE = 10, T.GLYPH_SIZE = 24, T.TEXT_LINE_HEIGHT = 1.2 * T.GLYPH_SIZE, T.TEXT_MAX_WIDTH = 10 * T.GLYPH_SIZE, T.TEXT_SPACING = 0, T.AVERAGE_GLYPH_MOSAIC_ITEM = {
        metrics: {
          width: 15,
          height: 17,
          left: 0,
          top: -7,
          advance: 14
        }
      }, T.ATTRIBUTE_STORE_TEXTURE_SIZE = 1024, T.TEXTURE_BINDING_SPRITE_ATLAS = 0, T.TEXTURE_BINDING_GLYPH_ATLAS = 0, T.TEXTURE_BINDING_BITMAP = 0, T.TEXTURE_BINDING_ATTRIBUTE_DATA_0 = 1, T.TEXTURE_BINDING_ATTRIBUTE_DATA_1 = 2, T.TEXTURE_BINDING_ATTRIBUTE_DATA_2 = 3, T.TEXTURE_BINDING_ATTRIBUTE_DATA_3 = 4, T.TEXTURE_BINDING_HIGHLIGHT_0 = 5, T.TEXTURE_BINDING_HIGHLIGHT_1 = 6, T.TEXTURE_BINDING_RENDERER_0 = 5, T.TEXTURE_BINDING_RENDERER_1 = 6, T.ATTRIBUTE_DATA_FILTER_FLAGS = 0, T.ATTRIBUTE_DATA_ANIMATION = 1, T.ATTRIBUTE_DATA_VV = 2, T.ATTRIBUTE_DATA_DD0 = 3, T.ATTRIBUTE_DATA_DD1 = 3, T.MAX_FILTERS = 2, T.HIGHLIGHT_FLAG = 1, T.FILTER_FLAG_0 = 2, T.EFFECT_FLAG_0 = 4, T.THIN_LINE_THRESHOLD = 2.5, T.HITTEST_SEARCH_SIZE = 24, T.MAX_ANIMATION_TIME_MS = 2e3, T.VTL_TEXTURE_BINDING_UNIT_SPRITES = 5, T.VTL_TEXTURE_BINDING_UNIT_GLYPHS = 6, T.VTL_HIGH_RES_CUTOFF = 1.15, T.MAX_GPU_UPLOADS_PER_FRAME = 2;
    }.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/webgl/effects/AnimationEffect.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/AnimationEffect.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsAnimationEffectJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../VertexStream */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/VertexStream.js"), __webpack_require__(
    /*! ./Effect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/Effect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, m, c, l, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var o = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.defines = [], e._desc = {
            path: "fx/integrate",
            attributes: {
              a_position: 0
            }
          }, e;
        }

        return i(e, t), e.prototype.dispose = function () {
          this._quad && this._quad.dispose();
        }, e.prototype.bind = function () {}, e.prototype.unbind = function () {}, e.prototype.draw = function (e, t) {
          if (t.size) {
            var i = e.context,
                r = e.renderingOptions;
            this._quad || (this._quad = new l(i, [0, 0, 1, 0, 0, 1, 1, 1]));
            var o = i.getBoundFramebufferObject(),
                n = i.getViewport(),
                a = n.x,
                u = n.y,
                s = n.width,
                f = n.height;
            t.bindTextures(i);
            var d = t.getBlock(c.ATTRIBUTE_DATA_ANIMATION);

            if (!m.isNone(d)) {
              var _ = d.getFBO(i),
                  p = d.getFBO(i, 1);

              i.setViewport(0, 0, t.size, t.size), this._computeDelta(e, p, r.labelsAnimationTime), this._updateAnimationState(e, p, _), i.bindFramebuffer(o), i.setViewport(a, u, s, f);
            }
          }
        }, e.prototype._computeDelta = function (e, t, i) {
          var r = e.context,
              o = e.painter,
              n = e.displayLevel,
              a = o.materialManager.getProgram(e, this._desc, ["delta"]);
          r.bindFramebuffer(t), r.setClearColor(0, 0, 0, 0), r.clear(r.gl.COLOR_BUFFER_BIT), r.bindProgram(a), a.setUniform1i("u_maskTexture", c.TEXTURE_BINDING_ATTRIBUTE_DATA_0), a.setUniform1i("u_sourceTexture", c.TEXTURE_BINDING_ATTRIBUTE_DATA_1), a.setUniform1f("u_timeDelta", e.timeDelta), a.setUniform1f("u_animationTime", i / 1e3), a.setUniform1f("u_zoomLevel", Math.round(10 * n)), this._quad.draw();
        }, e.prototype._updateAnimationState = function (e, t, i) {
          var r = e.context,
              o = e.painter.materialManager.getProgram(e, this._desc, ["update"]);
          r.bindTexture(t.colorTexture, 1), r.bindProgram(o), o.setUniform1i("u_sourceTexture", 1), r.bindFramebuffer(i), r.setClearColor(0, 0, 0, 0), r.clear(r.gl.COLOR_BUFFER_BIT), this._quad.draw();
        }, e;
      }(r.Effect);

      t.AnimationEffect = o;
    }.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/webgl/effects/Effect.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/Effect.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsEffectJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var n = function n() {
        this.name = this.constructor.name;
      };

      t.Effect = 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/engine/webgl/effects/HighlightEffect.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/HighlightEffect.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsHighlightEffectJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../BitBlitRenderer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/BitBlitRenderer.js"), __webpack_require__(
    /*! ../effects/Effect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/Effect.js"), __webpack_require__(
    /*! ./highlight/HighlightGradient */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightGradient.js"), __webpack_require__(
    /*! ./highlight/HighlightRenderer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightRenderer.js"), __webpack_require__(
    /*! ./highlight/HighlightSurfaces */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightSurfaces.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, h, s, l, d, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var u = .75,
          a = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.defines = ["highlight"], e._hlRenderer = new d["default"](), e._hlGradient = new l["default"](), e._width = void 0, e._height = void 0, e._hlSurfaces = new n["default"](), e._adjustedWidth = void 0, e._adjustedHeight = void 0, e._blitRenderer = new h.BitBlitRenderer(), e;
        }

        return r(e, t), e.prototype.dispose = function () {
          this._hlSurfaces && this._hlSurfaces.dispose(), this._hlRenderer && this._hlRenderer.dispose(), this._hlGradient && this._hlGradient.destroy(), this._boundFBO = null;
        }, e.prototype.bind = function (e) {
          var t = e.context,
              r = e.painter,
              i = t.getViewport(),
              h = i.width,
              s = i.height,
              l = r.getFbos(h, s).effect0;
          this.setup(e, h, s), t.bindFramebuffer(l), t.setClearColor(0, 0, 0, 0), t.clear(t.gl.COLOR_BUFFER_BIT);
        }, e.prototype.unbind = function () {}, e.prototype.setup = function (e, t, r) {
          var i = e.context,
              h = (this._width = t) % 4,
              s = (this._height = r) % 4;
          t += h < 2 ? -h : 4 - h, r += s < 2 ? -s : 4 - s, this._adjustedWidth = t, this._adjustedHeight = r, this._boundFBO = i.getBoundFramebufferObject();
          var l = Math.round(t * u),
              d = Math.round(r * u);
          this._hlRenderer.setup(i, l, d), this._hlSurfaces.setup(i, l, d);
        }, e.prototype.draw = function (e) {
          var t = e.context,
              r = t.getBoundFramebufferObject();
          t.setViewport(0, 0, this._adjustedWidth * u, this._adjustedHeight * u), t.bindFramebuffer(this._hlSurfaces.sharedBlur1Fbo), t.setStencilTestEnabled(!1), t.setClearColor(0, 0, 0, 0), t.clear(t.gl.COLOR_BUFFER_BIT), this._blitRenderer.render(t, r.colorTexture, 9728, 1), t.setStencilTestEnabled(!1), t.setBlendingEnabled(!1), t.bindFramebuffer(this._hlSurfaces.sharedBlur2Fbo), t.setClearColor(0, 0, 0, 0), t.clear(t.gl.COLOR_BUFFER_BIT), this._hlRenderer.preBlur(t, this._hlSurfaces.sharedBlur1Tex), i("esri-feature-highlight-debug") ? (t.bindFramebuffer(null), t.clear(t.gl.COLOR_BUFFER_BIT), this._hlRenderer.finalBlur(t, this._hlSurfaces.sharedBlur2Tex)) : (t.bindFramebuffer(this._hlSurfaces.sharedBlur1Fbo), t.setClearColor(0, 0, 0, 0), t.clear(t.gl.COLOR_BUFFER_BIT), this._hlRenderer.finalBlur(t, this._hlSurfaces.sharedBlur2Tex), t.bindFramebuffer(this._boundFBO), t.setBlendingEnabled(!0), t.setViewport(0, 0, this._width, this._height), this._hlRenderer.renderHighlight(t, this._hlSurfaces.sharedBlur1Tex, this._hlGradient), this._boundFBO = null);
        }, e.prototype.setHighlightOptions = function (e) {
          this._hlGradient.setHighlightOptions(e);
        }, e;
      }(s.Effect);

      t["default"] = a;
    }.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/webgl/effects/HittestEffect.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/HittestEffect.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsHittestEffectJs(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/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../../../../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./Effect */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/Effect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, T, o, n, i) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var f = function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.name = e.constructor.name, e.defines = ["id"], e._buf = new Uint8Array(4 * n.HITTEST_SEARCH_SIZE * n.HITTEST_SEARCH_SIZE), e._buf32 = new Uint32Array(e._buf.buffer), e;
        }

        return r(e, t), e.prototype.dispose = function () {
          o.isSome(this._fbo) && this._fbo.dispose();
        }, e.prototype.bind = function (e) {
          var t = e.context,
              r = e.painter,
              o = t.getViewport(),
              n = o.width,
              i = o.height,
              f = r.getFbos(n, i).effect0;
          t.bindFramebuffer(f), t.setClearColor(0, 0, 0, 0), t.clear(t.gl.COLOR_BUFFER_BIT);
        }, e.prototype.unbind = function () {}, e.prototype.draw = function (e, l, b) {
          var d = this,
              t = e.context,
              r = e.state,
              _ = e.pixelRatio;
          void 0 === b && (b = n.HITTEST_SEARCH_SIZE);
          var h = t.getBoundFramebufferObject(),
              E = r.size[1],
              v = b / 2,
              S = b / 2;
          l.forEach(function (e, t) {
            var r = new Map(),
                o = Math.floor((t[0] - b / 2) * _),
                n = Math.floor((E - t[1] - b / 2) * _);
            h.readPixels(o, n, b, b, 6408, 5121, d._buf);

            for (var i = 0; i < d._buf32.length; i++) {
              var f = d._buf32[i];

              if (4294967295 !== f && 0 !== f) {
                var a = i % b,
                    u = b - Math.floor(i / b),
                    s = (v - a) * (v - a) + (S - u) * (S - u),
                    c = r.has(f) ? r.get(f) : 4294967295;
                r.set(f, Math.min(s, c));
              }
            }

            var p = T.pairsOfMap(r).sort(function (e, t) {
              return e[1] - t[1];
            }).map(function (e) {
              return e[0];
            });
            e.resolve(p), l["delete"](t);
          });
        }, e;
      }(i.Effect);

      t.HittestEffect = 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/engine/webgl/effects/highlight/HighlightGradient.js":
  /*!*************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightGradient.js ***!
    \*************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsHighlightHighlightGradientJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./parameters */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/parameters.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, i, t, e, l, p) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });
      var G = t.getLogger("esri.views.2d.engine.webgl.painter.highlight.HighlightGradient");

      var c = [0, 0, 0, 0],
          r = function () {
        function o() {
          this._convertedHighlightOptions = {
            fillColor: [.2 * .75, .6 * .75, .675, .75],
            outlineColor: [.2 * .9, .54, .81, .9],
            outlinePosition: p.HIGHLIGHT_SIZING.outlinePosition,
            outlineWidth: p.HIGHLIGHT_SIZING.outlineWidth,
            innerHaloWidth: p.HIGHLIGHT_SIZING.innerHaloWidth,
            outerHaloWidth: p.HIGHLIGHT_SIZING.outerHaloWidth
          }, this.shadeTexChanged = !0, this.texelData = new Uint8Array(4 * p.SHADE_TEXTURE_SIZE), this.minMaxDistance = [0, 0];
        }

        return o.prototype.setHighlightOptions = function (o) {
          var i,
              t,
              e,
              l,
              r = this._convertedHighlightOptions;
          e = o, (l = r).fillColor[0] = e.color.r / 255, l.fillColor[1] = e.color.g / 255, l.fillColor[2] = e.color.b / 255, l.fillColor[3] = e.color.a, e.haloColor ? (l.outlineColor[0] = e.haloColor.r / 255, l.outlineColor[1] = e.haloColor.g / 255, l.outlineColor[2] = e.haloColor.b / 255, l.outlineColor[3] = e.haloColor.a) : (l.outlineColor[0] = l.fillColor[0], l.outlineColor[1] = l.fillColor[1], l.outlineColor[2] = l.fillColor[2], l.outlineColor[3] = l.fillColor[3]), l.fillColor[3] *= e.fillOpacity, l.outlineColor[3] *= e.haloOpacity, l.fillColor[0] *= l.fillColor[3], l.fillColor[1] *= l.fillColor[3], l.fillColor[2] *= l.fillColor[3], l.outlineColor[0] *= l.outlineColor[3], l.outlineColor[1] *= l.outlineColor[3], l.outlineColor[2] *= l.outlineColor[3], l.outlineWidth = p.HIGHLIGHT_SIZING.outlineWidth, l.outerHaloWidth = p.HIGHLIGHT_SIZING.outerHaloWidth, l.innerHaloWidth = p.HIGHLIGHT_SIZING.innerHaloWidth, l.outlinePosition = p.HIGHLIGHT_SIZING.outlinePosition;
          var n,
              h = r.outlinePosition - r.outlineWidth / 2 - r.outerHaloWidth,
              a = r.outlinePosition - r.outlineWidth / 2,
              s = r.outlinePosition + r.outlineWidth / 2,
              u = r.outlinePosition + r.outlineWidth / 2 + r.innerHaloWidth,
              d = Math.sqrt(Math.PI / 2) * p.SIGMAS[3],
              H = Math.abs(h) > d ? Math.round(10 * (Math.abs(h) - d)) / 10 : 0,
              f = Math.abs(u) > d ? Math.round(10 * (Math.abs(u) - d)) / 10 : 0;
          H && !f ? G.error("The outer rim of the highlight is " + H + "px away from the edge of the feature; consider reducing some width values or shifting the outline position towards positive values (inwards).") : !H && f ? G.error("The inner rim of the highlight is " + f + "px away from the edge of the feature; consider reducing some width values or shifting the outline position towards negative values (outwards).") : H && f && G.error("The highlight is " + Math.max(H, f) + "px away from the edge of the feature; consider reducing some width values.");
          var C = [void 0, void 0, void 0, void 0];

          function g(o, i, t) {
            C[0] = (1 - t) * o[0] + t * i[0], C[1] = (1 - t) * o[1] + t * i[1], C[2] = (1 - t) * o[2] + t * i[2], C[3] = (1 - t) * o[3] + t * i[3];
          }

          for (var I = this.texelData, T = 0; T < p.SHADE_TEXTURE_SIZE; ++T) (n = h + T / (p.SHADE_TEXTURE_SIZE - 1) * (u - h)) < h ? (C[4 * T + 0] = 0, C[4 * T + 1] = 0, C[4 * T + 2] = 0, C[4 * T + 3] = 0) : n < a ? g(c, r.outlineColor, (n - h) / (a - h)) : n < s ? (i = r.outlineColor, C[0] = i[0], C[1] = i[1], C[2] = i[2], C[3] = i[3]) : n < u ? g(r.outlineColor, r.fillColor, (n - s) / (u - s)) : (t = r.fillColor, C[4 * T + 0] = t[0], C[4 * T + 1] = t[1], C[4 * T + 2] = t[2], C[4 * T + 3] = t[3]), I[4 * T + 0] = 255 * C[0], I[4 * T + 1] = 255 * C[1], I[4 * T + 2] = 255 * C[2], I[4 * T + 3] = 255 * C[3];

          this.minMaxDistance[0] = h, this.minMaxDistance[1] = u, this.shadeTexChanged = !0;
        }, o.prototype.applyHighlightOptions = function (o, i) {
          this.shadeTex || (this.shadeTex = new e.Texture(o, {
            target: 3553,
            pixelFormat: 6408,
            dataType: 5121,
            wrapMode: 33071,
            width: p.SHADE_TEXTURE_SIZE,
            height: 1,
            samplingMode: 9729
          })), this.shadeTexChanged && (this.shadeTex.updateData(0, 0, 0, p.SHADE_TEXTURE_SIZE, 1, this.texelData), this.shadeTexChanged = !1), o.bindTexture(this.shadeTex, l.TEXTURE_BINDING_HIGHLIGHT_1), i.setUniform2fv("u_minMaxDistance", this.minMaxDistance);
        }, o.prototype.destroy = function () {
          this.shadeTex && (this.shadeTex.dispose(), this.shadeTex = null);
        }, o;
      }();

      i["default"] = r;
    }.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/webgl/effects/highlight/HighlightRenderer.js":
  /*!*************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightRenderer.js ***!
    \*************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsHighlightHighlightRendererJs(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__(
    /*! ../../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ./parameters */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/parameters.js"), __webpack_require__(
    /*! ../../shaders/HighlightPrograms */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/HighlightPrograms.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, u, _, h, a) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function () {
        function r() {
          this._width = void 0, this._height = void 0, this._resources = null;
        }

        return r.prototype.dispose = function () {
          this._resources && (this._resources.quadGeometry.dispose(), this._resources.quadVAO.dispose(), this._resources.highlightProgram.dispose(), this._resources.blurProgram.dispose(), this._resources = null);
        }, r.prototype.preBlur = function (r, e) {
          r.bindTexture(e, _.TEXTURE_BINDING_HIGHLIGHT_0), r.bindProgram(this._resources.blurProgram), this._resources.blurProgram.setUniform4fv("u_direction", [1, 0, 1 / this._width, 0]), this._resources.blurProgram.setUniformMatrix4fv("u_channelSelector", h.ALPHA_TO_RGBA_CHANNEL_SELECTOR_MATRIX), r.bindVAO(this._resources.quadVAO), r.drawArrays(5, 0, 4), r.bindVAO();
        }, r.prototype.finalBlur = function (r, e) {
          r.bindTexture(e, _.TEXTURE_BINDING_HIGHLIGHT_0), r.bindProgram(this._resources.blurProgram), this._resources.blurProgram.setUniform4fv("u_direction", [0, 1, 0, 1 / this._height]), this._resources.blurProgram.setUniformMatrix4fv("u_channelSelector", h.RGBA_TO_RGBA_CHANNEL_SELECTOR_MATRIX), r.bindVAO(this._resources.quadVAO), r.drawArrays(5, 0, 4), r.bindVAO();
        }, r.prototype.renderHighlight = function (r, e, i) {
          r.bindTexture(e, _.TEXTURE_BINDING_HIGHLIGHT_0), r.bindProgram(this._resources.highlightProgram), i.applyHighlightOptions(r, this._resources.highlightProgram), r.bindVAO(this._resources.quadVAO), r.setBlendingEnabled(!0), r.setBlendFunction(1, 771), r.drawArrays(5, 0, 4), r.bindVAO();
        }, r.prototype._initialize = function (r, e, i) {
          this._width = e, this._height = i;
          var t = new u.BufferObject(r, 34962, 35044, new Int8Array([-1, -1, 0, 0, 1, -1, 1, 0, -1, 1, 0, 1, 1, 1, 1, 1]).buffer),
              s = new u.VertexArrayObject(r, {
            a_position: 0,
            a_texcoord: 1
          }, {
            geometry: [{
              name: "a_position",
              count: 2,
              type: 5120,
              offset: 0,
              stride: 4,
              normalized: !1
            }, {
              name: "a_texcoord",
              count: 2,
              type: 5121,
              offset: 2,
              stride: 4,
              normalized: !1
            }]
          }, {
            geometry: t
          }),
              o = u.createProgram(r, a.highlight),
              n = u.createProgram(r, a.blur);
          o.setUniform1i("u_texture", _.TEXTURE_BINDING_HIGHLIGHT_0), o.setUniform1i("u_shade", _.TEXTURE_BINDING_HIGHLIGHT_1), o.setUniform4fv("u_sigmas", h.SIGMAS), n.setUniform1i("u_texture", _.TEXTURE_BINDING_HIGHLIGHT_0), n.setUniform4fv("u_sigmas", h.SIGMAS), this._resources = {
            quadGeometry: t,
            quadVAO: s,
            highlightProgram: o,
            blurProgram: n
          };
        }, r.prototype.setup = function (r, e, i) {
          this._resources ? (this._width = e, this._height = i) : this._initialize(r, e, i);
        }, r;
      }();

      e["default"] = i;
    }.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/webgl/effects/highlight/HighlightSurfaces.js":
  /*!*************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/HighlightSurfaces.js ***!
    \*************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsHighlightHighlightSurfacesJs(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__(
    /*! ../../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      i.enums.TargetType, i.enums.DepthStencilTargetType, i.enums.TextureType, i.enums.PixelFormat, i.enums.PixelType, i.enums.TextureSamplingMode, i.enums.TextureWrapMode;

      function a(e, r, t) {
        var s = new i.Texture(e, {
          target: 3553,
          pixelFormat: 6408,
          dataType: 5121,
          wrapMode: 33071,
          width: r,
          height: t,
          samplingMode: 9729
        });
        return [s, new i.FramebufferObject(e, {
          colorTarget: 0,
          depthStencilTarget: 2
        }, s)];
      }

      var t = function () {
        function e() {
          this._width = void 0, this._height = void 0, this._resources = null;
        }

        return e.prototype.dispose = function () {
          this._resources && (this._resources.sharedBlur1Tex.dispose(), this._resources.sharedBlur1Fbo.dispose(), this._resources.sharedBlur2Tex.dispose(), this._resources.sharedBlur2Fbo.dispose(), this._resources = null);
        }, e.prototype._initialize = function (e, r, t) {
          var s = a(e, this._width = r, this._height = t),
              i = s[0],
              o = s[1],
              u = a(e, r, t),
              n = u[0],
              h = u[1];
          this._resources = {
            sharedBlur1Tex: i,
            sharedBlur1Fbo: o,
            sharedBlur2Tex: n,
            sharedBlur2Fbo: h
          };
        }, e.prototype.setup = function (e, r, t) {
          !this._resources || this._width === r && this._height === t || this.dispose(), this._resources || this._initialize(e, r, t);
        }, Object.defineProperty(e.prototype, "sharedBlur1Tex", {
          get: function get() {
            return this._resources.sharedBlur1Tex;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "sharedBlur1Fbo", {
          get: function get() {
            return this._resources.sharedBlur1Fbo;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "sharedBlur2Tex", {
          get: function get() {
            return this._resources.sharedBlur2Tex;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "sharedBlur2Fbo", {
          get: function get() {
            return this._resources.sharedBlur2Fbo;
          },
          enumerable: !0,
          configurable: !0
        }), e;
      }();

      r["default"] = t;
    }.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/webgl/effects/highlight/parameters.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/effects/highlight/parameters.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEffectsHighlightParametersJs(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, i) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      }), i.SIGMAS = [void 0, void 0, void 0, 1], i.ALPHA_TO_RGBA_CHANNEL_SELECTOR_MATRIX = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], i.RGBA_TO_RGBA_CHANNEL_SELECTOR_MATRIX = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], i.SHADE_TEXTURE_SIZE = 256, i.HIGHLIGHT_SIZING = {
        outlineWidth: .7,
        outerHaloWidth: .7,
        innerHaloWidth: .7,
        outlinePosition: 0
      };
    }.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/webgl/enums.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglEnumsJs(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, T) {
      var L, I, A, _, O, S, N;

      Object.defineProperty(T, "__esModule", {
        value: !0
      }), (L = T.WGLGeometryType || (T.WGLGeometryType = {}))[L.FILL = 0] = "FILL", L[L.LINE = 1] = "LINE", L[L.MARKER = 2] = "MARKER", L[L.TEXT = 3] = "TEXT", L[L.LABEL = 4] = "LABEL", (I = T.WGLGeometryTransactionStatus || (T.WGLGeometryTransactionStatus = {}))[I.SUCCEEDED = 0] = "SUCCEEDED", I[I.FAILED_OUT_OF_MEMORY = 1] = "FAILED_OUT_OF_MEMORY", (A = T.WGLDrawPhase || (T.WGLDrawPhase = {}))[A.NONE = 0] = "NONE", A[A.MAP = 1] = "MAP", A[A.LABEL = 2] = "LABEL", A[A.LABEL_ALPHA = 4] = "LABEL_ALPHA", A[A.HITTEST = 8] = "HITTEST", A[A.HIGHLIGHT = 16] = "HIGHLIGHT", A[A.CLIP = 32] = "CLIP", A[A.DEBUG = 64] = "DEBUG", A[A.NUM_DRAW_PHASES = 9] = "NUM_DRAW_PHASES", (_ = T.VVType || (T.VVType = {}))[_.SIZE = 0] = "SIZE", _[_.COLOR = 1] = "COLOR", _[_.OPACITY = 2] = "OPACITY", _[_.ROTATION = 3] = "ROTATION", (O = T.WGLVVFlag || (T.WGLVVFlag = {}))[O.NONE = 0] = "NONE", O[O.OPACITY = 1] = "OPACITY", O[O.COLOR = 2] = "COLOR", O[O.ROTATION = 4] = "ROTATION", O[O.SIZE_MINMAX_VALUE = 8] = "SIZE_MINMAX_VALUE", O[O.SIZE_SCALE_STOPS = 16] = "SIZE_SCALE_STOPS", O[O.SIZE_FIELD_STOPS = 32] = "SIZE_FIELD_STOPS", O[O.SIZE_UNIT_VALUE = 64] = "SIZE_UNIT_VALUE", (S = T.WGLVVTarget || (T.WGLVVTarget = {}))[S.MINMAX_TARGETS_OUTLINE = 128] = "MINMAX_TARGETS_OUTLINE", S[S.SCALE_TARGETS_OUTLINE = 256] = "SCALE_TARGETS_OUTLINE", S[S.FIELD_TARGETS_OUTLINE = 512] = "FIELD_TARGETS_OUTLINE", S[S.UNIT_TARGETS_OUTLINE = 1024] = "UNIT_TARGETS_OUTLINE", (N = T.MosaicType || (T.MosaicType = {}))[N.SPRITE = 0] = "SPRITE", N[N.GLYPH = 1] = "GLYPH";
    }.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/webgl/fontUtils.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/fontUtils.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglFontUtilsJs(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) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      r.getFullyQualifiedFontName = function (e) {
        var r = function (e) {
          if (!e.weight) return "";

          switch (e.weight.toLowerCase()) {
            case "bold":
            case "bolder":
              return "-bold";
          }

          return "";
        }(e) + function (e) {
          if (!e.style) return "";

          switch (e.style.toLowerCase()) {
            case "italic":
            case "oblic":
              return "-italic";
          }

          return "";
        }(e);

        return function (e) {
          var r = e.toLowerCase().split(" ").join("-");

          switch (r) {
            case "serif":
              return "noto-serif";

            case "sans-serif":
              return "arial-unicode-ms";

            case "monospace":
              return "ubuntu-mono";

            case "fantasy":
              return "cabin-sketch";

            case "cursive":
              return "redressed";

            default:
              return r;
          }
        }(e.family) + (0 < r.length ? r : "-regular");
      }, r.getFontDecorationTop = function (e) {
        switch (e) {
          case "underline":
            return -26;

          case "line-through":
            return -18;
        }

        return NaN;
      };
    }.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/webgl/materialKey/MaterialKey.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMaterialKeyMaterialKeyJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../../../renderers */
    "./node_modules/arcgis-js-api/renderers.js"), __webpack_require__(
    /*! ../../../../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../mesh/templates/WGLLabelTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js"), __webpack_require__(
    /*! ../util/vvFlagUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/vvFlagUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r, n, i, a, s, u, p) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      e.createMaterialKey = function (t, e, r, n) {
        if (a.isSome(e)) return function (t, e, r, n) {
          if ("heatmap" === r.type) throw new Error("Symbol processor does not support heatmap renderer");

          switch (t) {
            case s.WGLGeometryType.FILL:
              return V.from(r);

            case s.WGLGeometryType.LINE:
              return m.from(r, e);

            case s.WGLGeometryType.MARKER:
              if ("dot-density" === r.type) throw new Error("Dot Density renderer does not support Marker GeometryTypes");
              return d.from(r);

            case s.WGLGeometryType.TEXT:
              if ("dot-density" === r.type) throw new Error("Dot Density renderer does not support Text GeometryTypes");
              return g.from(r);

            case s.WGLGeometryType.LABEL:
              if ("dot-density" === r.type) throw new Error("Dot Density renderer does not support Label GeometryTypes");
              return b.from(r, n);

            default:
              throw new Error("Unable to createMaterialKey for unknown geometryType " + t);
          }
        }(t, r, e, n);

        switch (t) {
          case s.WGLGeometryType.FILL:
            return V.from(null);

          case s.WGLGeometryType.LINE:
            return m.from(null, r);

          case s.WGLGeometryType.MARKER:
            return d.from(null);

          case s.WGLGeometryType.TEXT:
            return g.from(null);

          case s.WGLGeometryType.LABEL:
            return b.from(null, n);

          default:
            throw new Error("Unable to createMaterialKey for unknown geometryType " + t);
        }
      };

      var l = function () {
        function t(t) {
          this._data = 0, this._data = t;
        }

        return t.load = function (t) {
          var e = this.shared;
          return e.data = t, e;
        }, Object.defineProperty(t.prototype, "data", {
          get: function get() {
            return this._data;
          },
          set: function set(t) {
            this._data = t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "geometryType", {
          get: function get() {
            return this.bits(5, 8);
          },
          set: function set(t) {
            this.setBits(t, 5, 8);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "mapAligned", {
          get: function get() {
            return !!this.bit(17);
          },
          set: function set(t) {
            this.setBit(17, t);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "sdf", {
          get: function get() {
            return !!this.bit(8);
          },
          set: function set(t) {
            this.setBit(8, t);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "pattern", {
          get: function get() {
            return !!this.bit(9);
          },
          set: function set(t) {
            this.setBit(9, t);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "textureBinding", {
          get: function get() {
            return this.bits(0, 5);
          },
          set: function set(t) {
            this.setBits(t, 0, 5);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "geometryTypeString", {
          get: function get() {
            switch (this.geometryType) {
              case s.WGLGeometryType.FILL:
                return "fill";

              case s.WGLGeometryType.MARKER:
                return "marker";

              case s.WGLGeometryType.LINE:
                return "line";

              case s.WGLGeometryType.TEXT:
                return "text";

              case s.WGLGeometryType.LABEL:
                return "label";

              default:
                throw new i("Unable to handle unknown geometryType: " + this.geometryType);
            }
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.setBit = function (t, e) {
          var r = 1 << t;
          e ? this._data |= r : this._data &= ~r;
        }, t.prototype.bit = function (t) {
          return (this._data & 1 << t) >> t;
        }, t.prototype.setBits = function (t, e, r) {
          for (var n = e, o = 0; n < r; n++, o++) this.setBit(n, 0 != (t & 1 << o));
        }, t.prototype.bits = function (t, e) {
          for (var r = 0, n = t, o = 0; n < e; n++, o++) r |= this.bit(n) << o;

          return r;
        }, t.prototype.hasVV = function () {
          return !1;
        }, t.prototype.setVV = function (t, e) {}, t.prototype.getVariation = function () {
          var t = {};

          for (var e in this) "boolean" == typeof this[e] && (t[e] = this[e]);

          return t;
        }, t.prototype.getVariationHash = function () {
          return this._data & ~(4 & this.textureBinding);
        }, t.shared = new t(0), t;
      }(),
          y = function y(t) {
        return function (n) {
          function t() {
            return null !== n && n.apply(this, arguments) || this;
          }

          return o(t, n), Object.defineProperty(t.prototype, "vvSizeMinMaxValue", {
            get: function get() {
              return 0 !== this.bit(13);
            },
            set: function set(t) {
              this.setBit(13, t);
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "vvSizeScaleStops", {
            get: function get() {
              return 0 !== this.bit(14);
            },
            set: function set(t) {
              this.setBit(14, t);
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "vvSizeFieldStops", {
            get: function get() {
              return 0 !== this.bit(15);
            },
            set: function set(t) {
              this.setBit(15, t);
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "vvSizeUnitValue", {
            get: function get() {
              return 0 !== this.bit(16);
            },
            set: function set(t) {
              this.setBit(16, t);
            },
            enumerable: !0,
            configurable: !0
          }), t.prototype.hasVV = function () {
            return n.prototype.hasVV.call(this) || this.vvSizeMinMaxValue || this.vvSizeScaleStops || this.vvSizeFieldStops || this.vvSizeUnitValue;
          }, t.prototype.setVV = function (t, e) {
            n.prototype.setVV.call(this, t, e);
            var r = p.getSizeFlagsMask(t, e) & t;
            this.vvSizeMinMaxValue = !!(r & s.WGLVVFlag.SIZE_MINMAX_VALUE), this.vvSizeFieldStops = !!(r & s.WGLVVFlag.SIZE_FIELD_STOPS), this.vvSizeUnitValue = !!(r & s.WGLVVFlag.SIZE_UNIT_VALUE), this.vvSizeScaleStops = !!(r & s.WGLVVFlag.SIZE_SCALE_STOPS);
          }, t;
        }(t);
      },
          c = function c(t) {
        return function (r) {
          function t() {
            return null !== r && r.apply(this, arguments) || this;
          }

          return o(t, r), Object.defineProperty(t.prototype, "vvRotation", {
            get: function get() {
              return 0 !== this.bit(12);
            },
            set: function set(t) {
              this.setBit(12, t);
            },
            enumerable: !0,
            configurable: !0
          }), t.prototype.hasVV = function () {
            return r.prototype.hasVV.call(this) || this.vvRotation;
          }, t.prototype.setVV = function (t, e) {
            r.prototype.setVV.call(this, t, e), this.vvRotation = !e && !!(t & s.WGLVVFlag.ROTATION);
          }, t;
        }(t);
      },
          f = function f(t) {
        return function (r) {
          function t() {
            return null !== r && r.apply(this, arguments) || this;
          }

          return o(t, r), Object.defineProperty(t.prototype, "vvColor", {
            get: function get() {
              return 0 !== this.bit(10);
            },
            set: function set(t) {
              this.setBit(10, t);
            },
            enumerable: !0,
            configurable: !0
          }), t.prototype.hasVV = function () {
            return r.prototype.hasVV.call(this) || this.vvColor;
          }, t.prototype.setVV = function (t, e) {
            r.prototype.setVV.call(this, t, e), this.vvColor = !e && !!(t & s.WGLVVFlag.COLOR);
          }, t;
        }(t);
      },
          h = function h(t) {
        return function (r) {
          function t() {
            return null !== r && r.apply(this, arguments) || this;
          }

          return o(t, r), Object.defineProperty(t.prototype, "vvOpacity", {
            get: function get() {
              return 0 !== this.bit(11);
            },
            set: function set(t) {
              this.setBit(11, t);
            },
            enumerable: !0,
            configurable: !0
          }), t.prototype.hasVV = function () {
            return r.prototype.hasVV.call(this) || this.vvOpacity;
          }, t.prototype.setVV = function (t, e) {
            r.prototype.setVV.call(this, t, e), this.vvOpacity = !e && !!(t & s.WGLVVFlag.OPACITY);
          }, t;
        }(t);
      },
          V = function (t) {
        function e() {
          return null !== t && t.apply(this, arguments) || this;
        }

        return o(e, t), e.load = function (t) {
          var e = this.shared;
          return e.data = t, e;
        }, e.from = function (t) {
          var e = this.load(0);
          if (e.geometryType = s.WGLGeometryType.FILL, a.isSome(t)) if (t instanceof n.DotDensityRenderer) e.dotDensity = !0;else {
            var r = p.getVVFlags(t.visualVariables);
            e.setVV(r, !1);
          }
          return e.data;
        }, e.prototype.getVariation = function () {
          return t.prototype.getVariation.call(this);
        }, Object.defineProperty(e.prototype, "dotDensity", {
          get: function get() {
            return !!this.bit(12);
          },
          set: function set(t) {
            this.setBit(12, t);
          },
          enumerable: !0,
          configurable: !0
        }), e.shared = new e(0), e;
      }(f(h(e.MaterialKeyBase = l)));

      e.FillMaterialKey = V;

      var d = function (t) {
        function e() {
          return null !== t && t.apply(this, arguments) || this;
        }

        return o(e, t), e.load = function (t) {
          var e = this.shared;
          return e.data = t, e;
        }, e.from = function (t) {
          var e = this.load(0);

          if (e.geometryType = s.WGLGeometryType.MARKER, a.isSome(t)) {
            var r = p.getVVFlags(t.visualVariables);
            e.setVV(r, !1);
          }

          return e.data;
        }, e.prototype.getVariation = function () {
          return t.prototype.getVariation.call(this);
        }, e.shared = new e(0), e;
      }(f(h(c(y(l)))));

      e.MarkerMaterialKey = d;

      var m = function (t) {
        function e() {
          return null !== t && t.apply(this, arguments) || this;
        }

        return o(e, t), e.load = function (t) {
          var e = this.shared;
          return e.data = t, e;
        }, e.from = function (t, e) {
          var r = this.load(0);

          if (r.geometryType = s.WGLGeometryType.LINE, a.isSome(t)) {
            var n = p.getVVFlags(t.visualVariables);
            r.setVV(n, e);
          }

          return r.data;
        }, e.prototype.getVariation = function () {
          return t.prototype.getVariation.call(this);
        }, e.shared = new e(0), e;
      }(f(h(y(l))));

      e.LineMaterialKey = m;

      var g = function (t) {
        function e() {
          return null !== t && t.apply(this, arguments) || this;
        }

        return o(e, t), e.load = function (t) {
          var e = this.shared;
          return e.data = t, e;
        }, e.from = function (t) {
          var e = this.load(0);

          if (e.geometryType = s.WGLGeometryType.TEXT, a.isSome(t)) {
            var r = p.getVVFlags(t.visualVariables);
            e.setVV(r, !1);
          }

          return e.data;
        }, e.prototype.getVariation = function () {
          return t.prototype.getVariation.call(this);
        }, e.shared = new e(0), e;
      }(f(h(c(y(l)))));

      e.TextMaterialKey = g;

      var b = function (t) {
        function e() {
          return null !== t && t.apply(this, arguments) || this;
        }

        return o(e, t), e.load = function (t) {
          var e = this.shared;
          return e.data = t, e;
        }, e.from = function (t, e) {
          var r = this.load(0);

          if (r.geometryType = s.WGLGeometryType.LABEL, a.isSome(t)) {
            var n = p.getVVFlags(t.visualVariables);
            r.setVV(n, !1);
          }

          return r.mapAligned = !!u.isMapAligned(e.labelPlacement), r.data;
        }, e.prototype.getVariation = function () {
          return t.prototype.getVariation.call(this);
        }, e.shared = new e(0), e;
      }(y(l));

      e.LabelMaterialKey = b;
    }.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/webgl/mesh/MeshData.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/MeshData.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshMeshDataJs(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__(
    /*! ../util/serializationUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js"), __webpack_require__(
    /*! ../util/Writer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Writer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var r = function () {
        function e(e, t) {
          this.displayObjects = e, this.vertexVectorsMap = t;
        }

        return Object.defineProperty(e.prototype, "vertexBuffersMap", {
          get: function get() {
            if (!this._vertexBuffersMap) {
              this._vertexBuffersMap = {};

              for (var e = 0; e < this.vertexVectorsMap.length; e++) this._vertexBuffersMap[e] = this.vertexVectorsMap[e].intoBuffers();

              this.vertexVectorsMap = null;
            }

            return this._vertexBuffersMap;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.get = function (e) {
          return this.vertexVectorsMap[e];
        }, e.prototype.pushDisplayObject = function (e) {
          this.displayObjects.push(e);
        }, e.prototype.encode = function (e, t) {
          var r = o.serializeList(new a["default"](Uint32Array, this._guessSize()), this.displayObjects).buffer(),
              s = {};
          t.push(r);

          for (var i = 0; i < this.vertexVectorsMap.length; i++) {
            var n = this.vertexVectorsMap[i];
            s[i] = {}, n.transfer(s[i], t);
          }

          e.displayObjects = r, e.vertexBuffersMap = s, this.destroy();
        }, e.prototype.destroy = function () {
          this.vertexVectorsMap = null, this.displayObjects = null;
        }, e.prototype._guessSize = function () {
          for (var e = this.displayObjects, t = Math.min(e.length, 4), r = 0, s = 0; s < t; s++) r = Math.max(r, e[s].displayRecords.length);

          return 2 * (12 * e.length + e.length * r * 40);
        }, e;
      }();

      t.MeshData = r;
    }.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/webgl/mesh/Tesselator.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/Tesselator.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTesselatorJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../core/libs/libtess/libtess */
    "./node_modules/arcgis-js-api/core/libs/libtess/libtess.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, i) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = n.getLogger("esri.views.2d.engine.webgl.mesh.templates.Tesselator"),
          l = function () {
        function e() {
          this._currentVertexIndex = 0, this._indexCounter = 0, this._triangleIndices = [-1, -1, -1], this.glu = new i.GluTesselator(), this.glu.gluTessCallback(i.gluEnum.GLU_TESS_BEGIN, this._begincallback.bind(this)), this.glu.gluTessCallback(i.gluEnum.GLU_TESS_VERTEX_DATA, this._vertexCallback.bind(this)), this.glu.gluTessCallback(i.gluEnum.GLU_TESS_END, this._endcallback.bind(this)), this.glu.gluTessCallback(i.gluEnum.GLU_TESS_COMBINE, this._combinecallback.bind(this)), this.glu.gluTessCallback(i.gluEnum.GLU_TESS_ERROR, this._errorcallback.bind(this)), this.glu.gluTessCallback(i.gluEnum.GLU_TESS_EDGE_FLAG, this._edgeCallback.bind(this)), this.glu.gluTessProperty(i.gluEnum.GLU_TESS_WINDING_RULE, i.windingRule.GLU_TESS_WINDING_ODD);
        }

        return e.prototype.beginPolygon = function (e, t) {
          this._triangleIndices[0] = -1, this._triangleIndices[1] = -1, this._triangleIndices[2] = -1, this._currentVertexIndex = 0, this._indexCounter = 0, this.glu.gluTessBeginPolygon(e), this._indices = t;
        }, e.prototype.endPolygon = function () {
          this.glu.gluTessEndPolygon();
        }, e.prototype.beginContour = function () {
          this.glu.gluTessBeginContour();
        }, e.prototype.endContour = function () {
          this.glu.gluTessEndContour();
        }, e.prototype.addVertex = function (e, t) {
          this.glu.gluTessVertex(e, t);
        }, e.prototype._vertexCallback = function (e, t) {
          if (t[t.length] = e[0], t[t.length] = e[1], this._triangleIndices[this._currentVertexIndex] = -1, 2 <= this._currentVertexIndex) {
            for (var n = 0; n < 3; n++) -1 === this._triangleIndices[n] && (this._triangleIndices[n] = this._indexCounter++), this._indices[this._indices.length] = this._triangleIndices[n];

            this._currentVertexIndex = 0;
          } else this._currentVertexIndex++;
        }, e.prototype._begincallback = function () {
          this._triangleIndices[0] = -1, this._triangleIndices[1] = -1, this._triangleIndices[2] = -1, this._currentVertexIndex = 0;
        }, e.prototype._endcallback = function () {
          this._currentVertexIndex = 0;
        }, e.prototype._errorcallback = function (e) {
          s.error("Encountered error during tesselation: " + e);
        }, e.prototype._combinecallback = function (e) {
          return [e[0], e[1], e[2]];
        }, e.prototype._edgeCallback = function () {}, e;
      }();

      t["default"] = 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/engine/webgl/mesh/VertexBuffer.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexBuffer.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshVertexBufferJs(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__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = function () {
        function r(e, r, t) {
          this.data = e, this.stride = r, this.vertexCount = t;
        }

        return r.decode = function (e) {
          return new r(t.allocateTypedArrayBufferwithData(e.data, e.stride), e.stride, e.vertexCount);
        }, r.fromVertexVector = function (e) {
          return new r(t.allocateTypedArrayBufferwithData(e.data.buffer(), e.stride), e.stride, e.vertexCount);
        }, r;
      }();

      r["default"] = i;

      var n = function () {
        function o(e, r, t) {
          this.geometryType = e, this.indexBuffer = new Uint32Array(r), this.namedBuffers = t;
        }

        return o.decode = function (e) {
          var r = e.geometryType,
              t = e.indexBuffer,
              n = {};

          for (var f in e.namedBuffers) n[f] = i.decode(e.namedBuffers[f]);

          return new o(r, t, n);
        }, o.fromVertexVectors = function (e) {
          var r = e.geometryType,
              t = e.indexVector.buffer(),
              n = {};

          for (var f in e.namedVectors) n[f] = i.fromVertexVector(e.namedVectors[f]);

          return new o(r, t, n);
        }, o;
      }();

      r.VertexBuffers = 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/engine/webgl/mesh/VertexVector.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexVector.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshVertexVectorJs(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__(
    /*! ../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ./VertexBuffer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexBuffer.js"), __webpack_require__(
    /*! ../util/Writer */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Writer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, r, u) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var f = function () {
        function e(e, t) {
          this.data = e, this.stride = t;
        }

        return Object.defineProperty(e.prototype, "vertexCount", {
          get: function get() {
            var e = this.stride / 4;
            return this.data.length / e;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.transfer = function (e, t) {
          var r = this.data.buffer();
          e.vertexCount = this.vertexCount, e.data = r, e.stride = this.stride, t.push(r);
        }, e;
      }();

      t["default"] = f;

      var n = function () {
        function e(e, t, r) {
          void 0 === r && (r = !1), this.geometryType = e, this.indexVector = new u["default"](Uint32Array, t), this.namedVectors = {};
          var n = a.getStrides(e, r);

          for (var i in n) {
            var o = n[i],
                s = void 0;

            switch (o % 4) {
              case 0:
              case 2:
                s = new u["default"](Uint32Array, o / 4 * t);
                break;

              case 1:
              case 3:
                s = new u["default"](Uint8Array, o * t);
            }

            this.namedVectors[i] = new f(s, o);
          }
        }

        return e.prototype.get = function (e) {
          return this.namedVectors[e].data;
        }, e.prototype.getVector = function (e) {
          return this.namedVectors[e];
        }, e.prototype.transfer = function (e, t) {
          var r = this.indexVector.buffer(),
              n = {};

          for (var i in t.push(r), this.namedVectors) {
            var o = this.namedVectors[i];
            n[i] = {}, o.transfer(n[i], t);
          }

          e.geometryType = this.geometryType, e.indexBuffer = r, e.namedBuffers = n, this.destroy();
        }, e.prototype.intoBuffers = function () {
          var e = r.VertexBuffers.fromVertexVectors(this);
          return this.destroy(), e;
        }, e.prototype.destroy = function () {
          this.indexVector = null, this.namedVectors = null;
        }, e;
      }();

      t.VertexVectors = 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/engine/webgl/mesh/factories/WGLMeshFactory.js":
  /*!*******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/WGLMeshFactory.js ***!
    \*******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshFactoriesWGLMeshFactoryJs(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/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/has */
    "./node_modules/arcgis-js-api/core/has.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../../../../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ../../../../../../geometry/support/jsonUtils */
    "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"), __webpack_require__(
    /*! ../../../../../../symbols/SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../../WGLDisplayObject */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayObject.js"), __webpack_require__(
    /*! ../MeshData */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/MeshData.js"), __webpack_require__(
    /*! ../VertexVector */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/VertexVector.js"), __webpack_require__(
    /*! ../templates/WGLLabelTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js"), __webpack_require__(
    /*! ../templates/WGLLineTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLineTemplate.js"), __webpack_require__(
    /*! ../templates/WGLMarkerTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMarkerTemplate.js"), __webpack_require__(
    /*! ../templates/WGLTemplateStore */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTemplateStore.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, T, o, a, v, l, _, G, w, D, i, L, s, S, n, p, y, m, u, I) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var c = l.getLogger("esri.views.2d.engine.webgl.WGLMeshFactory"),
          b = {
        esriGeometryPoint: ["above-right", "above-center", "above-left", "center-center", "center-left", "center-right", "below-center", "below-left", "below-right"],
        esriGeometryPolygon: ["always-horizontal"],
        esriGeometryPolyline: ["center-along"],
        esriGeometryMultipoint: null,
        esriGeometryEnvelope: null
      };

      var h = function () {
        function e(e, t, r, o, l, a) {
          this._isDD = !1, this._labelsDebugTemplate = null, this._isDD = _.isSome(r) && "dot-density" === r.type, this._geometryType = e, this._idField = t, this._templateStore = o, this._setLabelTemplates(l, r, a);
        }

        return e.prototype.update = function (e, t, r) {
          this._isDD = _.isSome(t) && "dot-density" === t.type, this._setLabelTemplates(e, t, r);
        }, e.prototype._setLabelTemplates = function (e, t, r) {
          e && this._validateLabelingInfo(e) && (this._labelTemplates = e.map(function (e) {
            return y["default"].fromLabelClass(t, e, r);
          }));
        }, Object.defineProperty(e.prototype, "templates", {
          get: function get() {
            return this._templateStore;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.createMeshData = function (e) {
          var t = new Array(5),
              r = new Array(),
              o = this._labelTemplates && 0 < this._labelTemplates.length,
              l = "esriGeometryPolyline" === this._geometryType ? L.HEURISTIC_GLYPHS_PER_LINE : L.HEURISTIC_GLYPHS_PER_FEATURE;
          return t[s.WGLGeometryType.MARKER] = new p.VertexVectors(s.WGLGeometryType.MARKER, e), t[s.WGLGeometryType.FILL] = new p.VertexVectors(s.WGLGeometryType.FILL, e, this._isDD), t[s.WGLGeometryType.LINE] = new p.VertexVectors(s.WGLGeometryType.LINE, e), t[s.WGLGeometryType.TEXT] = new p.VertexVectors(s.WGLGeometryType.TEXT, e), t[s.WGLGeometryType.LABEL] = new p.VertexVectors(s.WGLGeometryType.LABEL, o ? l : 0), new n.MeshData(r, t);
        }, e.prototype.analyze = function (b, h, g, f, d, L) {
          return o(this, void 0, void 0, function () {
            var o, l, a, i, s, n, p, y, m, u, c;
            return T(this, function (e) {
              switch (e.label) {
                case 0:
                  return o = b, G.isAborted(L) ? [2, []] : _.isSome(g) ? [4, g.analyze(this._idField, b, d, L)] : [3, 2];

                case 1:
                  e.sent(), e.label = 2;

                case 2:
                  l = 0, a = o, e.label = 3;

                case 3:
                  return l < a.length ? (i = a[l], s = -1, h ? null == (n = i).symbol ? [3, 5] : (p = null, "cim" === n.symbol.type && (r = ((t = i).attributes ? Object.keys(t.attributes) : []).map(function (e) {
                    return {
                      name: e,
                      alias: e,
                      type: "string" == typeof t.attributes[e] ? "esriFieldTypeString" : "esriFieldTypeDouble"
                    };
                  }), p = {
                    geometryType: null != t.centroid ? "esriGeometryPolygon" : D.getJsonType(t.geometry),
                    spatialReference: w.fromJSON(t.geometry.spatialReference),
                    fields: r
                  }), [4, this._templateStore.createTemplateGroup(n.symbol, null, null, p)]) : [3, 7]) : [3, 10];

                case 4:
                  return s = e.sent(), [3, 6];

                case 5:
                  _.isSome(g) && (s = g.match(this._idField, i, null, null, d)), e.label = 6;

                case 6:
                  return [3, 8];

                case 7:
                  _.isSome(g) && (s = g.match(this._idField, i, this._geometryType, f, d)), e.label = 8;

                case 8:
                  if (I.isDynamicId(s)) for (y = this._templateStore.getDynamicTemplateGroup(s), m = 0, u = y; m < u.length; m++) (c = u[m]) && c.analyze && c.analyze(this._templateStore, i, f, d);
                  i.groupId = s, e.label = 9;

                case 9:
                  return l++, [3, 3];

                case 10:
                  return [2, this._templateStore.finalize(L).then(function () {
                    return o;
                  })];
              }

              var t, r;
            });
          });
        }, e.prototype.write = function (e, t, r, o, l, a, i) {
          var s = this._templateStore.getTemplateGroup(t.groupId),
              n = e,
              p = t.localId;

          if (null != p) {
            var y = new S(p),
                m = !!a && !!this._labelTemplates && a.has(p);
            if (I.isDynamicId(t.groupId)) for (var u = 0, c = s; u < c.length; u++) {
              (L = c[u]).bindFeature(t, r, o);
            }

            if (s && (t.geometry || t.centroid)) {
              var b = y.displayRecords,
                  h = t.insertAfter;
              void 0 !== h && (y.insertAfter = h);
              var g = this._geometryType;
              g || (g = null != t.centroid ? "esriGeometryPolygon" : D.getJsonType(t.geometry));

              for (var f = 0, d = s; f < d.length; f++) {
                var L = d[f],
                    T = n.get(L.geometryType);
                L.writeMesh(b, T, g, p, t);
              }

              if (m) {
                var _ = this._getLabelReference(s),
                    G = a.get(p);

                this._writeLabelMesh(y, n, p, t, i, G, _, l, g);
              }

              n.pushDisplayObject(y);
            }
          } else v("esri-2d-debug") && console.debug("Got null id for feature");
        }, e.prototype._hasBadLabelClass = function (e, t) {
          var r = e.labelPlacement,
              o = b[t];
          if (!e.symbol) return c.warn("No LabelClass symbol specified."), !0;
          if (!o) return c.error(new a("mapview-labeling:unsupported-geometry-type", "Unable to create labels for Feature Layer, " + t + " is not supported")), !0;

          if (!o.some(function (e) {
            return e === r;
          })) {
            var l = o[0];
            r && c.warn("Found invalid label placement type " + r + " for " + t + ". Defaulting to " + l), e.labelPlacement = l;
          }

          return !1;
        }, e.prototype._validateLabelingInfo = function (e) {
          var t = this;
          return !e.some(function (e) {
            return t._hasBadLabelClass(e, t._geometryType);
          });
        }, e.prototype._getLabelReference = function (e) {
          for (var t = 0, r = e; t < r.length; t++) {
            var o = r[t];
            if (o instanceof u["default"]) return o;
          }

          return null;
        }, e.prototype._writeLabelMesh = function (e, t, r, o, l, a, i, s, n) {
          for (var p = e.displayRecords, y = [], m = 0; m < a.length; m++) {
            var u = a[m],
                c = u.id,
                b = u.text,
                h = u.rtl,
                g = this._labelTemplates[c],
                f = t.get(g.geometryType),
                d = l.get(g.symbolId).glyphMosaicItems;
            g.bindReferenceTemplate(i), g.bindTextInfo(d, b, h), g.writeMesh(p, f, n, r, o, s, y);
          }

          e.metrics = y, L.DEBUG_LABELS && this._debugLabels(e, t);
        }, e.prototype._debugLabels = function (e, t) {
          for (var r = e.displayRecords, o = e.id, l = 0, a = e.metrics; l < a.length; l++) for (var i = a[l], s = 0, n = i.boxes ? i.boxes.concat([i.bounds]) : [i.bounds]; s < n.length; s++) {
            var p = n[s],
                y = i.anchor[0] + i.offsetX + p.center[0],
                m = i.anchor[1] + i.offsetY + p.center[1],
                u = {
              geometry: {
                paths: [[[y - p.width / 2, m + p.height / 2], [0, -p.height], [p.width, 0], [0, p.height], [-p.width, 0]]]
              },
              attributes: {}
            },
                c = this._getLabelDebugTemplate(),
                b = t.get(c.geometryType);

            c.writeMesh(r, b, "esriGeometryPolyline", o, u);
          }
        }, e.prototype._getLabelDebugTemplate = function () {
          return this._labelsDebugTemplate || (this._labelsDebugTemplate = this._createLabelsDebugTemplate()), this._labelsDebugTemplate;
        }, e.prototype._createLabelsDebugTemplate = function () {
          var e = new i({
            style: "solid",
            width: 1,
            color: [255, 0, 0, 1]
          });
          return m["default"].fromSimpleLine(null, !1, e, null, !1);
        }, e;
      }();

      t.WGLMeshFactory = h;
    }.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/webgl/mesh/factories/matcherUtils.js":
  /*!*****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/factories/matcherUtils.js ***!
    \*****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshFactoriesMatcherUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../util/Matcher */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Matcher.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a, i, o, t, c) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var u = t.getLogger("esri/views/2d/engine/webgl/mesh/factories/matcherUtils");

      r.createMatcher = function (r, t, n) {
        return i(this, void 0, void 0, function () {
          return a(this, function (e) {
            switch (r.type) {
              case "simple":
              case "dot-density":
                return [2, c.FeatureMatcher.fromBasicRenderer(r, t, n)];

              case "unique-value":
                return [2, c.MapMatcher.fromUVRenderer(r, t, n)];

              case "class-breaks":
                return [2, c.IntervalMatcher.fromCBRenderer(r, t, n)];

              case "dictionary":
                return [2, c.DictionaryMatcher.fromDictionaryRenderer(r, t, n)];

              default:
                return u.error(new o("mapview-mesh:invalid-renderer", "Unable to handle unknown renderer type")), [2, null];
            }

            return [2];
          });
        });
      };
    }.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/webgl/mesh/templates/ComputedGlyph.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/ComputedGlyph.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesComputedGlyphJs(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/libs/gl-matrix-2/vec2 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../collisions/BoundingBox */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/BoundingBox.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, q, i, K, Y, k) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var E = i.vec2f32.create(),
          o = function () {
        function j(t, e, i, o, r, h, n, s, a, f, c, d, v, u, l) {
          this.anchorX = t, this.anchorY = e, this.angle = i, this.bounds = o, this.minZoom = r, this.maxZoom = h, this.materialKey = n, this.vertexOffsetUpperLeft = s, this.vertexOffsetUpperRight = a, this.vertexOffsetLowerLeft = f, this.vertexOffsetLowerRight = c, this.texFontSizeUpperLeft = d, this.texFontSizeUpperRight = v, this.texFontSizeLowerLeft = u, this.texFontSizeLowerRight = l;
        }

        return j.from = function (t, e, i, o, r, h, n, s, a, f, c, d, v, u, l) {
          void 0 === u && (u = !1), void 0 === l && (l = !1);
          var m = s.rect,
              x = s.metrics,
              g = -1 === r ? 255 : Math.floor(180 * r / Math.PI / 360 * 254),
              p = Math.round(m.x / 4),
              L = Math.round(m.y / 4),
              M = p + Math.round(m.width / 4),
              w = L + Math.round(m.height / 4),
              O = -24 - x.top,
              I = x.left,
              S = -x.top,
              _ = m.width,
              b = m.height;
          !a && (l || (O = 0), I = 4, _ = x.width);
          var z = t + I,
              B = l ? e + S : e + O,
              D = z + _,
              F = B,
              N = z,
              P = B + b,
              R = D,
              U = P,
              y = N + x.width,
              X = P - x.height,
              A = x.width * d / 24,
              C = x.height * d / 24;

          if (c) {
            var G = E,
                Z = c;
            q.vec2.transformMat2d(G, q.vec2.set(G, z, B), Z), z = G[0], B = G[1], q.vec2.transformMat2d(G, q.vec2.set(G, D, F), Z), D = G[0], F = G[1], q.vec2.transformMat2d(G, q.vec2.set(G, N, P), Z), N = G[0], P = G[1], q.vec2.transformMat2d(G, q.vec2.set(G, R, U), Z), R = G[0], U = G[1], q.vec2.transformMat2d(G, q.vec2.set(G, y, X), Z), y = G[0], X = G[1];
          }

          return new j(0 | i, 0 | o, g, u ? new k["default"](y, X, A + K.COLLISION_BOX_PADDING, C + K.COLLISION_BOX_PADDING) : null, h, n, f, Y.i1616to32(8 * z, 8 * B), Y.i1616to32(8 * D, 8 * F), Y.i1616to32(8 * N, 8 * P), Y.i1616to32(8 * R, 8 * U), Y.i8888to32(p, L, d, v), Y.i8888to32(M, L, d, v), Y.i8888to32(p, w, d, v), Y.i8888to32(M, w, d, v));
        }, j;
      }();

      e["default"] = o;
    }.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/webgl/mesh/templates/GlyphGroup.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/GlyphGroup.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesGlyphGroupJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./ComputedGlyph */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/ComputedGlyph.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, x, i, V, W, $, tt, _, et, it) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var b = i.getLogger("esri.views.2d.engine.webgl.GlyphGroup"),
          o = function () {
        function t(t, e, i, o, a, r, s, h, n, l) {
          void 0 === i && (i = 0), void 0 === o && (o = -1), void 0 === a && (a = -1), void 0 === r && (r = -1), void 0 === s && (s = -1), void 0 === h && (h = -1), void 0 === n && (n = 0), void 0 === l && (l = -1), this.x = t, this.y = e, this.t = i, this.i = o, this.j = a, this.segmentPosX = r, this.segmentPosY = s, this.segmentLen = h, this.pathLen = n, this.order = l, this._glyphs = new Map(), this.minZoom = 0;
        }

        return Object.defineProperty(t.prototype, "glyphs", {
          get: function get() {
            return this._glyphs;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.add = function (t, e) {
          var i = this._glyphs.get(e);

          i ? i.push(t) : this._glyphs.set(e, [t]);
        }, t.prototype.clear = function () {
          this._glyphs.clear();
        }, t.prototype.place = function (t, e, i, o, a, r, s, h, n, l, d) {
          var p,
              m,
              g = t.x,
              y = t.y,
              c = t.codePoint,
              u = t.glyphMosaicItem,
              f = _.MaterialKeyBase.load(a);

          switch (f.textureBinding = t.glyphMosaicItem.textureBinding, e) {
            case "esriGeometryPoint":
            case "esriGeometryPolygon":
              var v = et["default"].from(g, y, this.x, this.y, -1, l, d, u, c, f.data, o, r, s);
              return void this.add(v, 0);

            case "esriGeometryPolyline":
              var M = i.geometry;
              return this._placeGlyphAlongLine(t, f.data, M, o, h, r, s, n, l, d, -1), void this._placeGlyphAlongLine(t, f.data, M, o, h, r, s, n, l, d, 1);

            case "esriGeometryMultipoint":
            case "esriGeometryEnvelope":
              return p = "Cannot place for unsupported geometryType: " + e, void 0 === m && (m = "mapview-labeling"), void b.error(new x(m, p));
          }
        }, t.prototype._findLabelTheta = function (t, e, i, o) {
          var a = o * e,
              r = (0 * a + -1 * (o * -t)) / (1 * i),
              s = Math.acos(r);
          return 0 < a && (s = 2 * Math.PI - s), s;
        }, t.prototype._placeGlyphAlongLine = function (t, e, i, o, a, r, s, h, n, l, d) {
          var p = i.paths[this.i],
              m = p[this.j],
              g = m[0],
              y = m[1],
              c = t.x,
              u = t.y,
              f = t.glyphMosaicItem,
              v = t.codePoint,
              M = t.glyphMosaicItem.metrics,
              x = (t.x + M.left + M.width / 2) * r / 24,
              _ = d * V.sign(x) || 1,
              b = Math.abs(x),
              L = it.len(g, y),
              P = this._findLabelTheta(g, y, L, d),
              G = (_ + 1) / 2,
              w = -_ * (-1 * G + this.t) * L,
              I = W.mat2d.rotate($.mat2df32.create(), o, -P),
              j = l,
              O = 48 < a.height,
              A = 0 === w ? j : Math.max(Math.max(h + V.log2(Math.abs(b / w)), 0), n);

          O && (A = n);
          var T = O || A <= h && h <= j && 1 === d,
              Z = et["default"].from(c, u, this.x, this.y, P, A, j, f, v, e, I, r, s, T);
          if (this.add(Z, this.j), !O) for (var B = this.segmentPosX + G * g, C = this.segmentPosY + G * y, E = A, K = this.j + _; 0 < K && K < p.length; K += _) {
            var X = B,
                Y = C,
                k = p[K],
                q = k[0],
                D = k[1],
                N = it.len(q, D),
                S = this._findLabelTheta(q, D, N, d),
                U = W.mat2d.rotate($.mat2df32.create(), o, -S),
                z = X + -_ * q / N * w,
                F = Y + -_ * D / N * w,
                H = E - .1,
                J = 0 === (w += N) ? H : Math.max(Math.max(h + V.log2(Math.abs(b / w)), 0), n),
                Q = J <= h && h <= H && 1 === d,
                R = et["default"].from(c, u, z, F, P, J, H, f, v, e, U, r, s, Q);

            if (this.add(R, K), J < h - tt.COLLISION_MAX_ZOOM_DELTA) {
              this.minZoom = Math.max(J, this.minZoom);
              break;
            }

            B += _ * q, C += _ * D, E = J;
          }
        }, t;
      }();

      e["default"] = o;
    }.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/webgl/mesh/templates/WGLBaseLineTemplate.js":
  /*!************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseLineTemplate.js ***!
    \************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLBaseLineTemplateJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../TileClipper */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileClipper.js"), __webpack_require__(
    /*! ../../TurboLine */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TurboLine.js"), __webpack_require__(
    /*! ../../WGLDisplayRecord */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, f, r, n, o, p, s, d, _, l) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var c = r.getLogger("esri.views.2d.engine.webgl.WGLLineTemplateBase"),
          x = -16,
          y = n.TILE_SIZE + 16,
          v = 31,
          m = new s.TileClipper(0, 0, 0, 1, 16);
      m.setExtent(n.TILE_SIZE);
      var g = 0,
          C = 0,
          b = 0;
      f("esri-tiles-performance") && setInterval(function () {
        console.log("New (FL)", "feat=" + b, "secs=" + g, "tris=" + C, "tris/sec=" + Math.round(C / g));
      }, 1e4);

      var M = new Uint32Array(9),
          a = new Uint32Array(36),
          h = new Uint32Array(3),
          u = new Uint32Array(6),
          T = function T(n) {
        return function (e) {
          e.entry0 = n.offset + n.vertexCount++;
          var t = p.i1616to32(e.distance, v * n._halfWidth),
              i = p.i8888to32(Math.round(v * e.prevNormal.x), Math.round(v * e.prevNormal.y), Math.round(0), Math.round(-31)),
              r = p.i8888to32(0, 0, 0, n._bitset);
          a[0] = p.i1616to32(e.currentVertex.x, e.currentVertex.y), a[1] = n.id, a[2] = n._fillColor, a[3] = i, a[4] = t, a[5] = n._tl, a[6] = n._br, a[7] = r, a[8] = p.i1616to32(v * n._halfReferenceWidth, 0), e.entry2 = n.offset + n.vertexCount++;
          t = p.i1616to32(e.distance, v * n._halfWidth), i = p.i8888to32(Math.round(v * -e.prevNormal.x), Math.round(v * -e.prevNormal.y), Math.round(0), Math.round(31)), r = p.i8888to32(0, 0, 0, n._bitset);
          a[9] = p.i1616to32(e.currentVertex.x, e.currentVertex.y), a[10] = n.id, a[11] = n._fillColor, a[12] = i, a[13] = t, a[14] = n._tl, a[15] = n._br, a[16] = r, a[17] = p.i1616to32(v * n._halfReferenceWidth, 0), e.exit0 = n.offset + n.vertexCount++;
          t = p.i1616to32(e.distance, v * n._halfWidth), i = p.i8888to32(Math.round(v * e.nextNormal.x), Math.round(v * e.nextNormal.y), Math.round(0), Math.round(-31)), r = p.i8888to32(0, 0, 0, n._bitset);
          a[18] = p.i1616to32(e.currentVertex.x, e.currentVertex.y), a[19] = n.id, a[20] = n._fillColor, a[21] = i, a[22] = t, a[23] = n._tl, a[24] = n._br, a[25] = r, a[26] = p.i1616to32(v * n._halfReferenceWidth, 0), e.exit2 = n.offset + n.vertexCount++;
          t = p.i1616to32(e.distance, v * n._halfWidth), i = p.i8888to32(Math.round(v * -e.nextNormal.x), Math.round(v * -e.nextNormal.y), Math.round(0), Math.round(31)), r = p.i8888to32(0, 0, 0, n._bitset);
          a[27] = p.i1616to32(e.currentVertex.x, e.currentVertex.y), a[28] = n.id, a[29] = n._fillColor, a[30] = i, a[31] = t, a[32] = n._tl, a[33] = n._br, a[34] = r, a[35] = p.i1616to32(v * n._halfReferenceWidth, 0), n.geometryBuf.writeRegion(a);
        };
      },
          w = function w(t) {
        return function (e) {
          u[0] = e.leftExit0, u[1] = e.rightEntry0, u[2] = e.leftExit2, u[3] = e.rightEntry0, u[4] = e.rightEntry2, u[5] = e.leftExit2, t.indexCount += 6, t.indexBuf.writeRegion(u);
        };
      },
          P = function P(d) {
        return function (e, t, i, r, n, o, s, l, a) {
          var h = p.i1616to32(a, v * d._halfWidth),
              u = p.i8888to32(Math.round(v * n), Math.round(v * o), Math.round(v * s), Math.round(v * l)),
              f = p.i8888to32(v * i, v * r, 0, d._bitset);
          return M[0] = p.i1616to32(e, t), M[1] = d.id, M[2] = d._fillColor, M[3] = u, M[4] = h, M[5] = d._tl, M[6] = d._br, M[7] = f, M[8] = p.i1616to32(v * d._halfReferenceWidth, 0), d.geometryBuf.writeRegion(M), d.offset + d.vertexCount++;
        };
      },
          L = function L(r) {
        return function (e, t, i) {
          h[0] = e, h[1] = t, h[2] = i, r.indexCount += 3, r.indexBuf.writeRegion(h);
        };
      };

      t["default"] = function (e) {
        return function (r) {
          function e() {
            for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

            var i = r.apply(this, e) || this;
            return i.tessellationProperties = {
              _fillColor: null,
              _tl: null,
              _br: null,
              _halfWidth: null,
              _bitset: null,
              _halfReferenceWidth: null,
              id: null,
              indexBuf: null,
              indexCount: null,
              geometryBuf: null,
              vertexCount: null,
              offset: null
            }, i._tessellationOptions = {}, i.geometryType = o.WGLGeometryType.LINE, i;
          }

          return i(e, r), e.prototype.writeMesh = function (e, t, i, r, n) {
            var o = t.indexVector,
                s = t.get("geometry"),
                l = new _(r, this.geometryType, this._materialKey),
                a = t.getVector("geometry").vertexCount;

            switch (l.vertexFrom = a, l.indexFrom = o.length, i) {
              case "esriGeometryPolyline":
                var h = n.geometry.paths;
                if (0 === (u = this._clipLines(h)).length) return;
                return this._write(l, o, s, a, r, u), void e.push(l);

              case "esriGeometryPolygon":
                var u,
                    f = n.geometry.rings;
                if (0 === (u = this._clipLines(f)).length) return;
                return this._write(l, o, s, a, r, u), void e.push(l);

              default:
                c.error("Unable to handle geometryType: " + i);
            }
          }, e.prototype._clipLines = function (e) {
            for (var t = [], i = !1, r = 0; r < e.length;) {
              var n = [],
                  o = e[r];
              m.reset(2);
              var s = o[0],
                  l = s[0],
                  a = s[1];
              if (i) m.moveTo(l, a);else {
                if (l < x || y < l || a < x || y < a) {
                  i = !0;
                  continue;
                }

                n.push({
                  x: l,
                  y: a
                });
              }

              for (var h = !1, u = o.length, f = 1; f < u; ++f) if (l += o[f][0], a += o[f][1], i) m.lineTo(l, a);else {
                if (l < x || y < l || a < x || y < a) {
                  h = !0;
                  break;
                }

                n.push({
                  x: l,
                  y: a
                });
              }

              if (h) i = !0;else {
                if (i) {
                  var d = m.resultWithStarts();
                  if (d) for (var p = 0, _ = d; p < _.length; p++) {
                    var c = _[p];
                    t.push(c);
                  }
                } else t.push({
                  line: n,
                  start: 0
                });

                r++, i = !1;
              }
            }

            return t;
          }, e.prototype._write = function (e, t, i, r, n, o) {
            var s;
            f("esri-tiles-performance") && (s = performance.now()), this.tessellationProperties.id = n, this.tessellationProperties.indexBuf = t, this.tessellationProperties.indexCount = 0, this.tessellationProperties.geometryBuf = i, this.tessellationProperties.vertexCount = 0, this.tessellationProperties.offset = r;

            for (var l = 0, a = o; l < a.length; l++) {
              var h = a[l],
                  u = h.line;
              u.length < 2 || (this._tessellationOptions.initialDistance = h.start % 65535, this._tessellationCallbacks instanceof d.StandardTessellationCallbacks && (this._tessellationCallbacks.capType = this._capType, this._tessellationCallbacks.joinType = this._joinType), d.tessellate(u, this._tessellationOptions, this._tessellationCallbacks), d.cleanup(), f("esri-tiles-performance") && b++);
            }

            e.vertexCount = this.tessellationProperties.vertexCount, e.indexCount = this.tessellationProperties.indexCount, e.zOrder = this._zOrder, f("esri-tiles-performance") && (g += (performance.now() - s) / 1e3, C += e.indexCount / 3);
          }, e.prototype._initializeTessellator = function (e) {
            var t = l.LineMaterialKey.load(this._materialKey);
            if (this._tessellationOptions.trackDistance = this._isDashed || this._hasPattern, this._tessellationOptions.thin = !e && this.tessellationProperties._halfWidth < n.THIN_LINE_THRESHOLD / 2 && !(t.vvSizeFieldStops || t.vvSizeMinMaxValue || t.vvSizeScaleStops || t.vvSizeUnitValue), this._tessellationOptions.wrapDistance = 65535, this._tessellationOptions.outerBisectorAutoSplitThreshold = 1 / 3.8, this._tessellationOptions.enableOuterBisectorSplit = this._isDashed || this._hasPattern, this._tessellationOptions.innerBisectorAutoSplitThreshold = 1 / 3.8, this._tessellationOptions.enableInnerBisectorSplit = this._isDashed || this._hasPattern, this._tessellationOptions.thin) this._tessellationCallbacks = {
              vertex: T(this.tessellationProperties),
              bridge: w(this.tessellationProperties)
            };else {
              var i = new d.StandardTessellationCallbacks(P(this.tessellationProperties), L(this.tessellationProperties));
              i.miterLimitCosine = this._miterLimitCosine, i.textured = this._isDashed || this._hasPattern, i.joinOnUTurn = this._joinOnUTurn, this._tessellationCallbacks = i;
            }
          }, e;
        }(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/webgl/mesh/templates/WGLBaseMarkerTemplate.js":
  /*!**************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseMarkerTemplate.js ***!
    \**************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLBaseMarkerTemplateJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../WGLDisplayRecord */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, s, r, o, d) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var g = s.getLogger("esri.views.2d.engine.webgl.WGLMarkerTemplateBase");

      e["default"] = function (t) {
        return function (s) {
          function t() {
            for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];

            var i = s.apply(this, t) || this;
            return i.xOffset = 0, i.yOffset = 0, i.width = 0, i.height = 0, i.geometryType = r.WGLGeometryType.MARKER, i;
          }

          return i(t, s), t.prototype.writeMesh = function (t, e, i, s, r) {
            var o = e.indexVector,
                h = e.get("geometry"),
                u = new d(s, this.geometryType, this._materialKey),
                n = e.getVector("geometry").vertexCount;

            switch (t.push(u), u.vertexFrom = n, u.indexFrom = o.length, i) {
              case "esriGeometryPoint":
                var p = r.geometry,
                    l = p.x,
                    _ = p.y;
                return this._writeVertices(u, h, s, this._getPos(l, _)), void this._writeIndices(u, o, n);

              case "esriGeometryPolyline":
                var a = r.geometry.paths;
                return void this._writeMany(u, o, h, n, s, a[0]);

              case "esriGeometryPolygon":
                var f = r.centroid;
                return void (f ? (l = f.x, _ = f.y, this._writeVertices(u, h, s, this._getPos(l, _)), this._writeIndices(u, o, n)) : g.error("Tried to render polygon geometries as markers, but found no centroid!"));

              case "esriGeometryMultipoint":
                var y = r.geometry.points;
                return void this._writeMany(u, o, h, n, s, y);

              case "esriGeometryEnvelope":
              default:
                g.error("Unable to handle geometryType: " + i);
            }
          }, t.prototype._getPos = function (t, e) {
            return o.i1616to32(t, e);
          }, t.prototype._writeMany = function (t, e, i, s, r, o) {
            for (var h = 0, u = 0, n = 0, p = 0, l = o; p < l.length; p++) {
              var _ = l[p],
                  a = _[0],
                  f = _[1],
                  y = this._getPos(a + h, f + u);

              this._writeVertices(t, i, r, y), this._writeIndices(t, e, s + n), h += a, u += f, n += 4;
            }
          }, t.prototype._writeVertices = function (t, e, i, s) {
            e.push(s), e.push(this._offsetUpperLeft), e.push(this._texUpperLeft), e.push(this._bitestAndDistRatio), e.push(i), e.push(this._fillColor), e.push(this._outlineColor), e.push(this._sizeOutlineWidth), e.push(s), e.push(this._offsetUpperRight), e.push(this._texUpperRight), e.push(this._bitestAndDistRatio), e.push(i), e.push(this._fillColor), e.push(this._outlineColor), e.push(this._sizeOutlineWidth), e.push(s), e.push(this._offsetBottomLeft), e.push(this._texBottomLeft), e.push(this._bitestAndDistRatio), e.push(i), e.push(this._fillColor), e.push(this._outlineColor), e.push(this._sizeOutlineWidth), e.push(s), e.push(this._offsetBottomRight), e.push(this._texBottomRight), e.push(this._bitestAndDistRatio), e.push(i), e.push(this._fillColor), e.push(this._outlineColor), e.push(this._sizeOutlineWidth), t.vertexCount += 4;
          }, t.prototype._writeIndices = function (t, e, i) {
            var s = i;
            e.push(s + 0), e.push(s + 1), e.push(s + 2), e.push(s + 1), e.push(s + 3), e.push(s + 2), t.indexCount += 6;
          }, t;
        }(t);
      };
    }.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/webgl/mesh/templates/WGLBaseTextTemplate.js":
  /*!************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseTextTemplate.js ***!
    \************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLBaseTextTemplateJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../TextShapingNew */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShapingNew.js"), __webpack_require__(
    /*! ../../WGLDisplayRecord */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js"), __webpack_require__(
    /*! ../../collisions/BoundingBox */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/BoundingBox.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./ComputedGlyph */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/ComputedGlyph.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, G, o, s, i, w, T, L, n, M, a, d, S, c, l) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var I = o.getLogger("esri.views.2d.engine.webgl.WGLTextTemplate"),
          h = Math.PI / 180,
          p = i.mat2df32.create(),
          u = T.vec2f32.create();

      t["default"] = function (e) {
        return function (o) {
          function e() {
            for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

            var r = o.apply(this, e) || this;
            return r.geometryType = n.WGLGeometryType.TEXT, r;
          }

          return r(e, o), e.prototype.bindTextInfo = function (e, t, r) {
            var o = this._computeShaping(e, this._justify).getShaping(t, r);

            isNaN(this._decorationTop) || a.TextShaping.addDecoration(o, this._decorationTop), this._shapedGlyphs = o, this._shapedBox = a.TextShaping.getBox(o);
          }, e.prototype.writeMesh = function (e, t, r, o, i) {
            var s = this._computedGlyphs;

            if (s) {
              var n,
                  a,
                  h = M.i8888to32(0, 0, this._referenceSize, this._bitset);

              switch (r) {
                case "esriGeometryPoint":
                  for (var p = i.geometry, u = p.x, c = p.y, l = 0, f = s; l < f.length; l++) (T = f[l]).anchorX = u, T.anchorY = c;

                  return void this._writeVertices(e, t, o, s, h, 0, 0);

                case "esriGeometryPolygon":
                  if (i.centroid) {
                    for (var m = i.centroid, g = (u = m.x, c = m.y, 0), d = s; g < d.length; g++) (T = d[g]).anchorX = u, T.anchorY = c;

                    return void this._writeVertices(e, t, o, s, h, 0, 0);
                  }

                case "esriGeometryMultipoint":
                  for (var v = c = u = 0, y = i.geometry.points; v < y.length; v++) {
                    var _ = y[v];
                    u += _[0], c += _[1];

                    for (var x = 0, w = s; x < w.length; x++) {
                      var T;
                      (T = w[x]).anchorX = u, T.anchorY = c;
                    }

                    this._writeVertices(e, t, o, s, h, 0, 0);
                  }

                  return;

                default:
                  n = "Unable to handle geometryType: " + r, void 0 === a && (a = "mapview-processing"), I.error(new G(a, n));
              }
            }
          }, e.prototype._computeGlyphs = function (e, t) {
            if (e && 0 !== e.length) {
              for (var r = new Array(e.length), o = this._computeGlyphTransform(t), i = c.MaterialKeyBase.load(this._materialKey), s = 0; s < e.length; s++) {
                var n = e[s],
                    a = n.x,
                    h = n.y,
                    p = n.codePoint,
                    u = n.glyphMosaicItem;
                i.textureBinding = u.textureBinding, r[s] = l["default"].from(a, h, 0, 0, -1, 0, 25, u, p, i.data, o, this._size, this._haloSize, !1, !0);
              }

              this._computedGlyphs = r;
            }
          }, e.prototype._createBounds = function (e, t) {
            var r,
                o,
                i = e.width / 2,
                s = e.height / 2,
                n = t[4],
                a = t[5];

            if (this._angle) {
              var h = T.vec2f32.fromValues(-i, -s),
                  p = T.vec2f32.fromValues(i, -s),
                  u = T.vec2f32.fromValues(-i, s),
                  c = T.vec2f32.fromValues(i, s);
              w.vec2.transformMat2d(h, h, t), w.vec2.transformMat2d(p, p, t), w.vec2.transformMat2d(u, u, t), w.vec2.transformMat2d(c, c, t);

              for (var l = 1 / 0, f = 1 / 0, m = 0, g = 0, d = 0, v = [h, p, u, c]; d < v.length; d++) {
                var y = v[d];
                l = Math.min(y[0], l), m = Math.max(y[0], m), f = Math.min(y[1], f), g = Math.max(y[1], g);
              }

              r = m - l, o = g - f;
            } else r = e.width * this._scale, o = e.height * this._scale;

            var _ = r + L.COLLISION_BOX_PADDING,
                x = o + L.COLLISION_BOX_PADDING;

            return new S["default"](n, a, _, x);
          }, e.prototype._computeShaping = function (e, t) {
            return new a.TextShaping([e], 512, L.TEXT_LINE_HEIGHT, L.TEXT_SPACING, [0, .5 * -L.TEXT_LINE_HEIGHT], .5 * (1 - this._xAlignD), 0, t);
          }, e.prototype._computeGlyphTransform = function (e) {
            var t = this._scale,
                r = this._angle * h,
                o = s.mat2d.identity(p);
            s.mat2d.rotate(o, o, r), s.mat2d.translate(o, o, w.vec2.set(u, this._xOffset, -this._yOffset)), s.mat2d.scale(o, o, w.vec2.set(u, t, t));
            var i = this._baseline ? 25 : e.y + (1 - this._yAlignD) * e.height * .5;
            return s.mat2d.translate(o, o, w.vec2.set(u, -4, -4 - i)), o;
          }, e.prototype._writeVertices = function (e, t, r, o, i, s, n) {
            this._writeHalos(e, t, r, o, i, s, n), this._writeText(e, t, r, o, i, s, n);
          }, e.prototype._writeHalos = function (e, t, r, o, i, s, n) {
            var a = t.indexVector,
                h = t.getVector("geometry").vertexCount,
                p = 0;
            if (this._haloSize) for (var u = 0; u < o.length; u++, p += 4) {
              var c = o[u],
                  l = M.i1616to32(2 * c.anchorX + 1, 2 * c.anchorY),
                  f = null == s ? Math.floor(10 * c.minZoom) : s,
                  m = null == n ? Math.floor(10 * c.maxZoom) : n,
                  g = new d(r, this.geometryType, c.materialKey, f, m);
              g.vertexFrom = h + p, g.indexFrom = a.length, this._writeVertex(g, t, r, l, this._haloColor, c, i, f, m), this._writeIndices(g, a, h + p), e.push(g);
            }
          }, e.prototype._writeText = function (e, t, r, o, i, s, n) {
            for (var a = t.indexVector, h = t.getVector("geometry").vertexCount, p = 0, u = 0; u < o.length; u++, p += 4) {
              var c = o[u],
                  l = M.i1616to32(2 * c.anchorX, 2 * c.anchorY),
                  f = null == s ? Math.floor(10 * c.minZoom) : s,
                  m = null == n ? Math.floor(10 * c.maxZoom) : n,
                  g = new d(r, this.geometryType, c.materialKey, f, m);
              g.vertexFrom = h + p, g.indexFrom = a.length, this._writeVertex(g, t, r, l, this._color, c, i, f, m), this._writeIndices(g, a, h + p), e.push(g);
            }
          }, e.prototype._writeVertex = function (e, t, r, o, i, s, n, a, h) {
            var p = t.get("geometry");
            p.push(o), p.push(r), p.push(i), p.push(s.vertexOffsetUpperLeft), p.push(s.texFontSizeUpperLeft), p.push(n), p.push(o), p.push(r), p.push(i), p.push(s.vertexOffsetUpperRight), p.push(s.texFontSizeUpperRight), p.push(n), p.push(o), p.push(r), p.push(i), p.push(s.vertexOffsetLowerLeft), p.push(s.texFontSizeLowerLeft), p.push(n), p.push(o), p.push(r), p.push(i), p.push(s.vertexOffsetLowerRight), p.push(s.texFontSizeLowerRight), p.push(n), e.vertexCount += 4;
          }, e.prototype._writeIndices = function (e, t, r) {
            t.push(r + 0), t.push(r + 1), t.push(r + 2), t.push(r + 1), t.push(r + 3), t.push(r + 2), e.indexCount += 6;
          }, e;
        }(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/webgl/mesh/templates/WGLDynamicLineTemplate.js":
  /*!***************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicLineTemplate.js ***!
    \***************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLDynamicLineTemplateJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../../../../symbols/cim/enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js"), __webpack_require__(
    /*! ./WGLBaseLineTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseLineTemplate.js"), __webpack_require__(
    /*! ./WGLDynamicMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js"), __webpack_require__(
    /*! ../../util/Result */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, i, e, h, m, y, f, L, _, r, n, P) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var a = function (u) {
        function r(t, n, r) {
          var i = u.call(this, n) || this;
          i._cimLineLayer = n;
          var a = 0;
          _.isFunction(n.width) || (a = .5 * h.pt2px(n.width));

          i._dynamicPropertyMap.set("_halfWidth", function (t, i, e) {
            return _.isFunction(n.width) ? .5 * h.pt2px(n.width(t, i, e)) : a;
          });

          var s = m.CapType.ROUND;
          _.isFunction(n.cap) || (s = n.cap);
          var o;
          i._dynamicPropertyMap.set("_capType", function (t, i, e) {
            return _.isFunction(n.cap) ? n.cap(t, i, e) : s;
          }), _.isFunction(n.join) || (o = n.join);
          var l;

          if (i._dynamicPropertyMap.set("_joinType", function (t, i, e) {
            return _.isFunction(n.join) ? n.join(t, i, e) : o;
          }), !_.isFunction(n.color)) {
            var e = n.color;
            l = e && y.premultiplyAlphaRGBA(e) || 0;
          }

          var c;
          i._dynamicPropertyMap.set("_fillColor", function (t, i, e) {
            if (_.isFunction(n.color)) {
              var r = n.color(t, i, e);
              return r && y.premultiplyAlphaRGBA(r) || 0;
            }

            return l;
          }), _.isFunction(n.miterLimit) || (c = _.getLimitCosine(n.miterLimit));

          i._dynamicPropertyMap.set("_miterLimitCosine", function (t, i, e) {
            return _.isFunction(n.miterLimit) ? _.getLimitCosine(n.miterLimit(t, i, e)) : c;
          });

          var p = 1;
          _.isFunction(r) || (p = r);
          return i._dynamicPropertyMap.set("_scaleFactor", function (t, i, e) {
            return _.isFunction(r) ? r(t, i, e) : p;
          }), i._isDashed = n.isDashed, i.tessellationProperties._bitset = n.colorLocked ? 1 : 0, i._materialKey = L.createMaterialKey(i.geometryType, t, n.isOutline), i._initializeTessellator(!0), i;
        }

        return e(r, u), r.fromCIMLine = function (t, i, e) {
          return new r(t, i, e);
        }, r.prototype.bindFeature = function (e, r, n) {
          var a = this,
              t = this._dynamicPropertyMap;
          t && t.forEach(function (t, i) {
            a[i] = t(e, r, n);
          }), this._halfWidth *= this._scaleFactor;
          var i = this._materialCache,
              s = (0, this._cimLineLayer.materialHash)(e, r, n),
              o = i.get(s),
              l = null;

          if (o && P.ok(o.spriteMosaicItem) && (l = o.spriteMosaicItem), l) {
            this._hasPattern = !0;

            var c = l.rect,
                p = l.width,
                u = l.height,
                h = c.x + 1,
                m = c.y + 1,
                y = c.x + 1 + p,
                _ = c.y + 1 + u;

            this.tessellationProperties._tl = f.i1616to32(h, m), this.tessellationProperties._br = f.i1616to32(y, _);
          } else this._hasPattern = !1, this.tessellationProperties._tl = 0, this.tessellationProperties._br = 0;

          this.tessellationProperties._halfReferenceWidth = this.tessellationProperties._halfWidth;
          var d = L.LineMaterialKey.load(this._materialKey);
          l && (d.sdf = l.sdf, d.pattern = !0, d.textureBinding = l.textureBinding), this._materialKey = d.data;
        }, r;
      }(r["default"](n["default"]));

      i["default"] = a;
    }.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/webgl/mesh/templates/WGLDynamicMarkerTemplate.js":
  /*!*****************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMarkerTemplate.js ***!
    \*****************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLDynamicMarkerTemplateJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../../../../../symbols/cim/enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js"), __webpack_require__(
    /*! ./WGLBaseMarkerTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseMarkerTemplate.js"), __webpack_require__(
    /*! ./WGLDynamicMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js"), __webpack_require__(
    /*! ../../util/Result */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, B, i, R, W, r, X, C, m, y, G, K, d, a, s, O) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var S = C.vec2f32.create(),
          q = r.mat2df32.create(),
          U = i.getLogger("esri.views.2d.engine.webgl.WGLDynamicMarkerTemplate"),
          n = function (i) {
        function r(t, r, o) {
          var e = i.call(this, r) || this;
          e._cimMarkerLayer = r;
          var a = 0;
          d.isFunction(r.color) || (a = y.premultiplyAlphaRGBA(r.color));

          e._dynamicPropertyMap.set("_fillColor", function (t, e, i) {
            return d.isFunction(r.color) ? y.premultiplyAlphaRGBA(r.color(t, e, i)) : a;
          });

          var s = 0;
          d.isFunction(r.outlineColor) || (s = y.premultiplyAlphaRGBA(r.outlineColor));
          var n;
          e._dynamicPropertyMap.set("_outlineColor", function (t, e, i) {
            return d.isFunction(r.outlineColor) ? y.premultiplyAlphaRGBA(r.outlineColor(t, e, i)) : s;
          }), d.isFunction(r.size) || (n = R.pt2px(r.size));
          var c;
          e._dynamicPropertyMap.set("_size", function (t, e, i) {
            return d.isFunction(r.size) ? R.pt2px(r.size(t, e, i)) : n;
          }), d.isFunction(r.scaleX) || (c = r.scaleX);
          var l;
          e._dynamicPropertyMap.set("_scaleX", function (t, e, i) {
            return d.isFunction(r.scaleX) ? r.scaleX(t, e, i) : c;
          }), d.isFunction(r.offsetX) || (l = R.pt2px(r.offsetX));
          var h;
          e._dynamicPropertyMap.set("xOffset", function (t, e, i) {
            return d.isFunction(r.offsetX) ? R.pt2px(r.offsetX(t, e, i)) : l;
          }), d.isFunction(r.offsetY) || (h = R.pt2px(r.offsetY));
          var u;
          e._dynamicPropertyMap.set("yOffset", function (t, e, i) {
            return d.isFunction(r.offsetY) ? R.pt2px(r.offsetY(t, e, i)) : h;
          }), d.isFunction(r.outlineWidth) || (u = R.pt2px(r.outlineWidth));
          var p;
          e._dynamicPropertyMap.set("_outlineWidth", function (t, e, i) {
            return d.isFunction(r.outlineWidth) ? R.pt2px(r.outlineWidth(t, e, i)) : u;
          }), d.isFunction(r.rotation) || (p = r.rotation);

          e._dynamicPropertyMap.set("_angle", function (t, e, i) {
            return d.isFunction(r.rotation) ? r.rotation(t, e, i) : p;
          });

          var f = 1;
          d.isFunction(o) || (f = o);
          return e._dynamicPropertyMap.set("_scaleFactor", function (t, e, i) {
            return d.isFunction(o) ? o(t, e, i) : f;
          }), e._bitSet = (r.alignment === m.Alignment.MAP ? 1 : 0) | (r.colorLocked ? 1 : 0) << 1 | (r.scaleSymbolsProportionally ? 1 : 0) << 3, e._materialKey = K.createMaterialKey(e.geometryType, t, !1), e;
        }

        return o(r, i), r.fromCIMMarker = function (t, e, i) {
          return new r(t, e, i);
        }, r.prototype.bindFeature = function (i, r, o) {
          var a = this,
              t = this._dynamicPropertyMap;
          t && t.forEach(function (t, e) {
            a[e] = t(i, r, o);
          });

          var e = this._cimMarkerLayer.materialHash,
              s = "function" == typeof e ? e(i, r, o) : e,
              n = this._materialCache.get(s);

          if (n && O.ok(n.spriteMosaicItem) && n.spriteMosaicItem) {
            var c = n.spriteMosaicItem,
                l = this._cimMarkerLayer.sizeRatio,
                h = c.width / c.height * this._scaleX,
                u = this._cimMarkerLayer.rotateClockwise ? this._angle : -this._angle,
                p = this._size,
                f = p * h,
                m = this.xOffset * this._scaleFactor,
                y = this.yOffset * this._scaleFactor,
                d = this._cimMarkerLayer.scaleSymbolsProportionally && this._cimMarkerLayer.frameHeight ? this._size / R.pt2px(this._cimMarkerLayer.frameHeight) : 1,
                _ = this._outlineWidth * d,
                M = R.pt2px(this._cimMarkerLayer.referenceSize),
                g = 0,
                v = 0,
                x = this._cimMarkerLayer.anchorPoint;

            x && (this._cimMarkerLayer.isAbsoluteAnchorPoint ? this._size && (g = -x.x / (this._size * h), v = x.y / this._size) : (g = x.x, v = x.y)), this._sizeOutlineWidth = G.i8888to32(Math.round(Math.sqrt(256 * f)), Math.round(Math.sqrt(256 * p)), Math.round(Math.sqrt(256 * _)), Math.round(Math.sqrt(256 * M))), W.mat2d.identity(q), W.mat2d.translate(q, q, C.vec2f32.fromValues(m, -y)), u && W.mat2d.rotate(q, q, 3.14159265359 / 180 * u);
            var F = c.rect.x,
                L = c.rect.y,
                k = F + c.rect.width,
                b = L + c.rect.height;
            g = .5 - ((.5 + g) * c.width + 1) / c.rect.width, v = .5 - ((.5 + v) * c.height + 1) / c.rect.height, f *= l, p *= l, f *= this._scaleFactor, p *= this._scaleFactor;
            var P = Math.round(64 * l),
                w = (g - .5) * (f *= c.rect.width / c.width),
                z = (v - .5) * (p *= c.rect.height / c.height);
            this._bitestAndDistRatio = G.i8888to32(0, 0, this._bitSet, P), X.vec2.set(S, w, z), X.vec2.transformMat2d(S, S, q), this._offsetUpperLeft = G.i1616to32(16 * S[0], 16 * S[1]), this._texUpperLeft = G.i1616to32(F, L), X.vec2.set(S, w + f, z), X.vec2.transformMat2d(S, S, q), this._offsetUpperRight = G.i1616to32(16 * S[0], 16 * S[1]), this._texUpperRight = G.i1616to32(k, L), X.vec2.set(S, w, z + p), X.vec2.transformMat2d(S, S, q), this._offsetBottomLeft = G.i1616to32(16 * S[0], 16 * S[1]), this._texBottomLeft = G.i1616to32(F, b), X.vec2.set(S, w + f, z + p), X.vec2.transformMat2d(S, S, q), this._offsetBottomRight = G.i1616to32(16 * S[0], 16 * S[1]), this._texBottomRight = G.i1616to32(k, b);
            var A = K.MarkerMaterialKey.load(this._materialKey);
            A.sdf = c.sdf, A.pattern = !0, A.textureBinding = c.textureBinding, this._materialKey = A.data;
          } else U.error(new B("mapview-cim", "Encountered an error when binding feature"));
        }, r;
      }(a["default"](s["default"]));

      e["default"] = 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/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js":
  /*!***************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js ***!
    \***************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLDynamicMeshTemplateJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../../../../symbols/cim/cimAnalyzer */
    "./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js"), __webpack_require__(
    /*! ./WGLMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, r, t, m, h, i) {
      Object.defineProperty(a, "__esModule", {
        value: !0
      });

      var g = t.getLogger("esri.views.2d.engine.webgl.WGLDynamicMeshTemplate"),
          n = function (t) {
        function e(e) {
          var a = t.call(this) || this;
          return a._ongoingMaterialRequestMap = new Map(), a._materialCache = new Map(), a._dynamicPropertyMap = new Map(), a._cimLayer = e, a;
        }

        return r(e, t), e.prototype.analyze = function (e, a, t, r) {
          var i = this,
              n = this._materialCache,
              s = this._cimLayer.materialHash;
          if (!s) return g.error("A Dynamic mesh template must have a material hash value or function!"), m.reject(null);
          var o = "function" == typeof s ? s(a, t, r) : s;

          if (n.has(o)) {
            var l = n.get(o);
            return m.resolve(l);
          }

          if (this._ongoingMaterialRequestMap.has(o)) return this._ongoingMaterialRequestMap.get(o);
          var u = h.analyzeCIMResource(this._cimLayer.cim, this._cimLayer.materialOverrides);
          u.mosaicHash = o;
          var c = e.getCIMMosaicItem(u).then(function (e) {
            return i._ongoingMaterialRequestMap["delete"](o), n.set(o, e), e;
          })["catch"](function (e) {
            return i._ongoingMaterialRequestMap["delete"](o), g.error(".analyze()", e.message), null;
          });
          return this._ongoingMaterialRequestMap.set(o, c), c;
        }, e;
      }(i["default"]);

      a["default"] = 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/engine/webgl/mesh/templates/WGLDynamicTextTemplate.js":
  /*!***************************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicTextTemplate.js ***!
    \***************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLDynamicTextTemplateJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../alignmentUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/alignmentUtils.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../fontUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/fontUtils.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js"), __webpack_require__(
    /*! ./WGLBaseTextTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseTextTemplate.js"), __webpack_require__(
    /*! ./WGLDynamicMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMeshTemplate.js"), __webpack_require__(
    /*! ../../util/BidiText */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/BidiText.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, g, h, M, x, v, z, n, o, p) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var f = new Set();

      var r = function (d) {
        function n(t, n, o) {
          var e = d.call(this, n) || this;
          e._horizontalAlignment = "center", e._verticalAlignment = "middle", e._glyphs = [], e._cimTextLayer = n;
          var r = 0;
          z.isFunction(n.color) || (r = M.premultiplyAlphaRGBA(n.color));

          e._dynamicPropertyMap.set("_color", function (t, e, i) {
            return z.isFunction(n.color) ? M.premultiplyAlphaRGBA(n.color(t, e, i)) : r;
          });

          var a = 0;
          z.isFunction(n.color) || (a = M.premultiplyAlphaRGBA(n.outlineColor));
          var s;
          e._dynamicPropertyMap.set("_haloColor", function (t, e, i) {
            return z.isFunction(n.outlineColor) ? M.premultiplyAlphaRGBA(n.outlineColor(t, e, i)) : a;
          }), z.isFunction(n.size) || (s = Math.min(Math.round(g.pt2px(n.size * n.sizeRatio)), 127));
          var l;
          e._dynamicPropertyMap.set("_size", function (t, e, i) {
            return z.isFunction(n.size) ? Math.min(Math.round(g.pt2px(n.size(t, e, i) * n.sizeRatio)), 127) : s;
          }), z.isFunction(n.outlineSize) || (l = Math.min(Math.floor(5 * g.pt2px(n.outlineSize * n.sizeRatio)), 127));
          var c;
          e._dynamicPropertyMap.set("_haloSize", function (t, e, i) {
            return z.isFunction(n.outlineSize) ? Math.min(Math.floor(5 * g.pt2px(n.outlineSize(t, e, i) * n.sizeRatio)), 127) : l;
          }), z.isFunction(n.offsetX) || (c = Math.round(g.pt2px(n.offsetX * n.sizeRatio)));
          var u;
          e._dynamicPropertyMap.set("_xOffset", function (t, e, i) {
            return z.isFunction(n.offsetX) ? Math.round(g.pt2px(n.offsetX(t, e, i) * n.sizeRatio)) : c;
          }), z.isFunction(n.offsetY) || (u = Math.round(g.pt2px(n.offsetY * n.sizeRatio)));
          var h;
          e._dynamicPropertyMap.set("_yOffset", function (t, e, i) {
            return z.isFunction(n.offsetY) ? Math.round(g.pt2px(n.offsetY(t, e, i) * n.sizeRatio)) : u;
          }), z.isFunction(n.decoration) || (h = x.getFontDecorationTop(n.decoration));
          var p;
          e._dynamicPropertyMap.set("_decorationTop", function (t, e, i) {
            return z.isFunction(n.decoration) ? x.getFontDecorationTop(n.decoration(t, e, i)) : h;
          }), z.isFunction(n.angle) || (p = n.angle);
          var f;
          e._dynamicPropertyMap.set("_angle", function (t, e, i) {
            return z.isFunction(n.angle) ? n.angle(t, e, i) : p;
          }), z.isFunction(n.horizontalAlignment) || (f = n.horizontalAlignment);

          var _;

          e._dynamicPropertyMap.set("_horizontalAlignment", function (t, e, i) {
            return z.isFunction(n.horizontalAlignment) ? n.horizontalAlignment(t, e, i) : f;
          }), z.isFunction(n.verticalAlignment) || (_ = n.verticalAlignment);

          e._dynamicPropertyMap.set("_verticalAlignment", function (t, e, i) {
            return z.isFunction(n.verticalAlignment) ? n.verticalAlignment(t, e, i) : _;
          });

          var y;
          e._dynamicPropertyMap.set("_scaleFactor", function (t, e, i) {
            return z.isFunction(o) ? o(t, e, i) : o;
          }), z.isFunction(n.text) || (y = n.text);

          e._dynamicPropertyMap.set("_text", function (t, e, i) {
            return z.isFunction(n.text) ? n.text(t, e, i) : y;
          });

          var i = Math.min(Math.round(g.pt2px(n.referenceSize * n.sizeRatio)), 127);
          e._referenceSize = Math.round(Math.sqrt(256 * i)), e._materialKey = v.createMaterialKey(e.geometryType, t, !1);
          var m = v.TextMaterialKey.load(e._materialKey);
          return m.sdf = !0, e._bitset = n.colorLocked ? 1 : 0, e._materialKey = m.data, e;
        }

        return i(n, d), n.fromCIMText = function (t, e, i) {
          return new n(t, e, i);
        }, n.prototype.analyze = function (t, e, i, n) {
          var o,
              r,
              a,
              s,
              l = this._cimTextLayer,
              c = (r = e, a = i, s = n, "string" == typeof (o = l).text ? o.text : "function" == typeof o.text ? o.text(r, a, s) : ""),
              u = this._glyphs;
          f.clear();

          for (var h = 0; h < c.length; h++) f.add(c.charCodeAt(h));

          var p = [];
          return f.forEach(function (t) {
            (u.length < t || void 0 === u[t]) && (p[t] = t);
          }), t.getCIMMosaicItem(l.cim, p).then(function (t) {
            if (t.glyphMosaicItems && 0 < t.glyphMosaicItems.length) for (var e = t.glyphMosaicItems, i = 0; i < e.length; i++) void 0 !== e[i] && (u[i] = e[i]);
            return t;
          });
        }, n.prototype.bindFeature = function (i, n, o) {
          var r = this,
              t = this._dynamicPropertyMap;
          if (t && t.forEach(function (t, e) {
            r[e] = t(i, n, o);
          }), !this._text || 0 === this._text.length) return this._computedGlyphs = null, this._shapedGlyphs = null, void (this._shapedBox = null);
          this._size *= this._scaleFactor, this._scale = this._size / 24, this._xOffset *= this._scaleFactor, this._yOffset *= this._scaleFactor, this._justify = h.getJustification(this._horizontalAlignment || "center"), this._xAlignD = h.getXAnchorDirection(this._horizontalAlignment || "center"), this._yAlignD = -h.getYAnchorDirection(this._verticalAlignment || "baseline"), this._baseline = "baseline" === (this._verticalAlignment || "baseline");

          for (var e = this._glyphs, a = p.bidiText(this._text), s = a[0], l = a[1], c = [], u = 0; u < s.length; u++) c[s.charCodeAt(u)] = e[s.charCodeAt(u)];

          this.bindTextInfo(c, s, l), this._computeGlyphs(this._shapedGlyphs, this._shapedBox);
        }, n;
      }(n["default"](o["default"]));

      e["default"] = r;
    }.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/webgl/mesh/templates/WGLFillTemplate.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLFillTemplateJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../../../../core/libs/earcut/earcut */
    "./node_modules/arcgis-js-api/core/libs/earcut/earcut.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../TileClipper */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TileClipper.js"), __webpack_require__(
    /*! ../../WGLDisplayRecord */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/WGLDisplayRecord.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ../Tesselator */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/Tesselator.js"), __webpack_require__(
    /*! ./WGLMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, _, m, d, T, x, f, C, g, P, v, c, o) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var p = i.getLogger("esri.views.2d.engine.webgl.mesh.templates.WGLFillTemplate"),
          M = [],
          I = [],
          L = 128;

      var s = function (u) {
        function w(e, t, r, i, o, s, n, a, l) {
          var h = u.call(this) || this;
          h.fillColor = r, h.tl = i, h.br = o, h.aux1 = s, h.aux2 = n, h.aux3 = a, h.isBFS = l, h.geometryType = f.WGLGeometryType.FILL, h.forceLibtess = !1;
          var p = v.FillMaterialKey.load(v.createMaterialKey(h.geometryType, e, !1));
          return t && (p.sdf = t.sdf, p.pattern = !0, p.textureBinding = t.textureBinding), h._materialKey = p.data, h._tesselator = new c["default"](), h._tileClipper = new g.TileClipper(0, 0, 0, 1, 8), h._tileClipper.setExtent(x.TILE_SIZE), h;
        }

        return r(w, u), w.fromCIMFill = function (e, t, r, i) {
          void 0 === i && (i = !1);
          var o = t.color,
              s = o && T.premultiplyAlphaRGBA(o) || 0,
              n = C.i8888to32(0, 0, 0, t.colorLocked ? 1 : 0);
          if (!r) return new w(e, null, s, 0, 0, 0, 0, n, i);

          var a = r.rect,
              l = r.width,
              h = r.height,
              p = a.x + 1,
              u = a.y + 1,
              f = p + l,
              d = u + h,
              g = _.nextHighestPowerOfTwo(m.pt2px(t.height || 0));

          255 < g ? g = 255 : g <= 0 && (g = _.nextHighestPowerOfTwo(d - u));

          var v = _.nextHighestPowerOfTwo(m.pt2px(t.height / h * l || 0));

          255 < v ? v = 255 : v <= 0 && (v = _.nextHighestPowerOfTwo(f - p));
          var c = m.pt2px(t.offsetX || 0) + L;
          255 < c && (c = 255);
          var y = m.pt2px(-t.offsetY || 0) + L;
          255 < y && (y = 255);
          var x = t.scaleX || 1;
          return new w(e, r, s, C.i1616to32(p, u), C.i1616to32(f, d), C.i8888to32(v, g, c, y), C.i1616to32(L * x, 128), 0, i);
        }, w.fromSimpleFill = function (e, t, r, i) {
          void 0 === i && (i = !1);
          var o = t.color,
              s = o && "none" !== t.style && T.premultiplyAlphaRGBA(o) || 0,
              n = C.i8888to32(0, 0, 0, i ? 255 : 0);
          if (!r) return new w(e, null, s, 0, 0, 0, 0, n, i);
          var a = r.rect,
              l = r.width,
              h = r.height,
              p = a.x + 1,
              u = a.y + 1,
              f = a.x + 1 + l,
              d = a.y + 1 + h;
          return new w(e, r, s, C.i1616to32(p, u), C.i1616to32(f, d), C.i8888to32(_.nextHighestPowerOfTwo(f - p), _.nextHighestPowerOfTwo(d - u), 0, 0), C.i1616to32(L, L), n, i);
        }, w.fromPictureFill = function (e, t, r, i) {
          void 0 === i && (i = !1);

          var o = x.PICTURE_FILL_COLOR,
              s = r.rect,
              n = r.width,
              a = r.height,
              l = s.x + 1,
              h = s.y + 1,
              p = l + n,
              u = h + a,
              f = C.i1616to32(l, h),
              d = C.i1616to32(p, u),
              g = _.nextHighestPowerOfTwo(m.pt2px(t.width));

          255 < g && (g = 255);

          var v = _.nextHighestPowerOfTwo(m.pt2px(t.height));

          255 < v && (v = 255);
          var c = m.pt2px(t.xoffset) + L;
          255 < c && (c = 255);
          var y = m.pt2px(-t.yoffset) + L;
          return 255 < y && (y = 255), new w(e, r, o, f, d, C.i8888to32(g, v, c, y), C.i1616to32(L * t.xscale, L * t.yscale), C.i8888to32(0, 0, 0, i ? 255 : 0), i);
        }, w.prototype.writeMesh = function (e, t, r, i, o) {
          if (M.length = 0, "esriGeometryPolygon" === r) {
            var s = o.geometry,
                n = v.FillMaterialKey.load(this._materialKey),
                a = this._isClippingRequired(s),
                l = a ? this._clip(s, !1) : s.rings,
                h = n.dotDensity ? function (e) {
              for (var t = 0, r = 0; r < e.length; r++) for (var i = e[r], o = i[0], s = o[0], n = o[1], a = 1; a < i.length; a++) {
                var l = i[a],
                    h = s + l[0],
                    p = n + l[1];
                t -= (h - s) * (p + n) / 2, s = h, n = p;
              }

              return t;
            }(s.rings) : 0;

            this.forceLibtess ? this._writeMeshLibtess(e, t, i, l, a, n, h) : this._writeMeshEarcut(e, t, i, l, a, n, h) || this._writeMeshLibtess(e, t, i, l, a, n, h);
          } else "esriGeometryPolyline" !== r && p.error("Unable to handle geometryType: " + r);
        }, w.prototype._isClippingRequired = function (e) {
          for (var t = x.TILE_SIZE + 8, r = 0, i = e.rings; r < i.length; r++) {
            var o = i[r],
                s = o.length;

            if (!(s < 3)) {
              var n = o[0][0],
                  a = o[0][1];
              if (n < -8 || t < n || a < -8 || t < a) return !0;

              for (var l = 1; l < s; ++l) if (n += o[l][0], a += o[l][1], n < -8 || t < n || a < -8 || t < a) return !0;
            }
          }

          return !1;
        }, w.prototype._clip = function (e, t) {
          var r, i;

          this._tileClipper.reset(3);

          for (var o = 0, s = e.rings; o < s.length; o++) {
            var n = s[o],
                a = n.length;

            if (!(a < 3)) {
              r = n[0][0], i = n[0][1], this._tileClipper.moveTo(r, i);

              for (var l = 1; l < a; ++l) r += n[l][0], i += n[l][1], this._tileClipper.lineTo(r, i);

              this._tileClipper.close();
            }
          }

          return this._tileClipper.result(t);
        }, w.prototype._writeMeshLibtess = function (e, t, r, i, o, s, n) {
          if (i && i.length) {
            var a = [],
                l = t.indexVector,
                h = t.getVector("geometry"),
                p = new P(r, this.geometryType, this._materialKey),
                u = h.vertexCount;
            p.vertexFrom = u, p.indexFrom = l.length, this._tesselator.beginPolygon(M, a);

            for (var f = 0, d = i; f < d.length; f++) {
              var g = d[f];

              if (!(g.length < 3)) {
                this._tesselator.beginContour();

                var v = void 0,
                    c = void 0;
                c = o ? (v = g[0].x, g[0].y) : (v = g[0][0], g[0][1]);
                var y = [v, c, 0];

                this._tesselator.addVertex(y, y);

                for (var x = 1; x < g.length - 1; x++) {
                  o ? (v = g[x].x, c = g[x].y) : (v += g[x][0], c += g[x][1]);
                  var w = [v, c, 0];

                  this._tesselator.addVertex(w, w);
                }

                this._tesselator.endContour();
              }
            }

            this._tesselator.endPolygon(), this._writeVerticesLibTess(p, h, r, M, s, n), this._writeIndicesLibTess(p, l, u, a), 0 < p.indexCount && e.push(p);
          }
        }, w.prototype._writeMeshEarcut = function (e, t, r, i, o, s, n) {
          if (i && i.length) {
            var a = t.indexVector,
                l = t.getVector("geometry"),
                h = new P(r, this.geometryType, this._materialKey),
                p = l.vertexCount,
                u = a.length,
                f = l.data.length;
            h.vertexFrom = p, h.indexFrom = a.length;

            for (var d = 0, g = 0, v = 0, c = i; v < c.length; v++) {
              var y = c[v],
                  x = g,
                  w = void 0,
                  _ = void 0;

              _ = o ? (w = y[0].x, y[0].y) : (w = y[0][0], y[0][1]), M[g++] = w, M[g++] = _;

              for (var m = 0, T = 1; T < y.length; ++T) {
                var C = void 0,
                    L = void 0;

                if (o) {
                  var b = w,
                      F = _;
                  C = (w = y[T].x) - b, L = (_ = y[T].y) - F;
                } else w += C = y[T][0], _ += L = y[T][1];

                m -= C * (_ + _ - L), M[g++] = w, M[g++] = _;
              }

              if (0 < m) {
                if (0 < x - d) {
                  if (!this._write(h, a, l, r, M, I, d, x, s, n)) return a.seek(u), l.data.seek(f), M.length = I.length = 0, !1;
                  d = x;
                }

                I.length = 0;
              } else m < 0 && 0 < x - d ? I.push(.5 * (x - d)) : g = x;
            }

            return 0 < g - d && !this._write(h, a, l, r, M, I, d, g, s, n) ? (a.seek(u), l.data.seek(f), M.length = I.length = 0, !1) : (M.length = I.length = 0, e.push(h), !0);
          }
        }, w.prototype._write = function (e, t, r, i, o, s, n, a, l, h) {
          var p = o.slice(n, a),
              u = d(p, s, 2);
          if (d.deviation(p, s, 2, u)) return !1;

          if (u.length) {
            var f = r.vertexCount;
            return this._writeVertices(e, r, i, p, l, h), this._writeIndices(e, t, f, u), !0;
          }
        }, w.prototype._writeVertices = function (e, t, r, i, o, s) {
          for (var n = 0; n < i.length; n += 2) {
            var a = C.i1616to32(i[n], i[n + 1]);
            t.data.push(a), t.data.push(r), o.dotDensity ? t.data.writeF32(1 / s) : (t.data.push(this.fillColor), t.data.push(this.tl), t.data.push(this.br), t.data.push(this.aux1), t.data.push(this.aux2), t.data.push(this.aux3)), e.vertexCount++;
          }
        }, w.prototype._writeIndices = function (e, t, r, i) {
          for (var o = r, s = 0; s < i.length; s += 3) t.push(o + i[s]), t.push(o + i[s + 1]), t.push(o + i[s + 2]), e.indexCount += 3;
        }, w.prototype._writeVerticesLibTess = function (e, t, r, i, o, s) {
          for (var n = 0; n < i.length; n += 2) {
            var a = C.i1616to32(i[n], i[n + 1]);
            t.data.push(a), t.data.push(r), o.dotDensity ? t.data.writeF32(1 / s) : (t.data.push(this.fillColor), t.data.push(this.tl), t.data.push(this.br), t.data.push(this.aux1), t.data.push(this.aux2), t.data.push(this.aux3)), e.vertexCount++;
          }
        }, w.prototype._writeIndicesLibTess = function (e, t, r, i) {
          for (var o = r, s = 0; s < i.length; s++) t.push(o + i[s]), e.indexCount++;
        }, w;
      }(o["default"]);

      t["default"] = s;
    }.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/webgl/mesh/templates/WGLLabelTemplate.js":
  /*!*********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLabelTemplate.js ***!
    \*********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLLabelTemplateJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../../vectorTiles/GeometryUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/GeometryUtils.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../TextShaping */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/TextShaping.js"), __webpack_require__(
    /*! ../../collisions/Metric */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/collisions/Metric.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./GlyphGroup */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/GlyphGroup.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js"), __webpack_require__(
    /*! ./WGLTextTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTextTemplate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, a, x, M, m, i, _, s, d, b, A, T, P, n, I, E, pe, w, h) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var l = a.getLogger("esri.views.2d.engine.webgl.WGLLabelTemplate"),
          v = s.vec2f32.create(),
          g = i.mat2df32.create();

      var L = {
        xOffset: 0,
        yOffset: 0,
        width: 0,
        height: 0
      },
          S = function S(e, t) {
        return void 0 === t && (t = "mapview-labeling"), l.error(new o(t, e));
      };

      t.isMapAligned = function (e) {
        switch (e) {
          case "above-along":
          case "below-along":
          case "center-along":
            return 1;

          default:
            return 0;
        }
      };

      var u = function (y) {
        function o(e, t, r, o) {
          var a = y.call(this, e, r.font.size, r.haloSize || 0, r.color && b.premultiplyAlphaRGBA(r.color) || 0, r.haloColor && b.premultiplyAlphaRGBA(r.haloColor) || 0, r.horizontalAlignment, r.verticalAlignment, r.font.decoration, !1, r.angle || 0, r.xoffset, r.yoffset, r.id) || this;
          a._refTemplate = L, a.geometryType = T.WGLGeometryType.LABEL;

          var i,
              s,
              n,
              h,
              l,
              u,
              p = t.symbol,
              f = (s = o, n = !!(i = t).minScale && s.scaleToZoom(i.minScale) || 0, x.clamp(n, 0, 25.5)),
              c = (l = o, u = !!(h = t).maxScale && l.scaleToZoom(h.maxScale) || 255, x.clamp(u, 0, 25.5)),
              m = function (e) {
            switch (e) {
              case "above-left":
                return [-1, -1];

              case "above-center":
              case "above-along":
                return [0, -1];

              case "above-right":
                return [1, -1];

              case "center-left":
                return [-1, 0];

              case "center-center":
              case "center-along":
                return [0, 0];

              case "center-right":
                return [1, 0];

              case "below-left":
                return [-1, 1];

              case "below-center":
              case "below-along":
                return [0, 1];

              case "below-right":
                return [1, 1];

              case "always-horizontal":
                return [0, 0];

              default:
                return void S("Found invalid placement type " + e);
            }
          }(t.labelPlacement),
              _ = m[0],
              d = m[1];

          a._justify = (-1 * _ + 1) / 2, a._xAlignD = _, a._yAlignD = d, a._xPlacementD = _, a._yPlacementD = d, a._minZoom = f, a._maxZoom = c;
          var v = E.LabelMaterialKey.load(E.createMaterialKey(a.geometryType, e, !1, t));
          v.sdf = !0, a._materialKey = v.data;
          var g = p.font.decoration.toLowerCase();
          return "underline" === g ? a._decorationTop = 6 : "line-through" === g && (a._decorationTop = -5), a;
        }

        return r(o, y), o.fromLabelClass = function (e, t, r) {
          return new o(e, t, t.symbol, r);
        }, o.prototype.bindTextInfo = function (e, t, r) {
          var o = this._computeShaping(e, this._justify).getShaping(t, r);

          isNaN(this._decorationTop) || n.TextShaping.addDecoration(o, this._decorationTop), this._shapedGlyphs = o, this._shapedBox = n.TextShaping.getBox(o);
        }, o.prototype._computeShaping = function (e, t) {
          return new n.TextShaping([e], A.TEXT_MAX_WIDTH, A.TEXT_LINE_HEIGHT, A.TEXT_SPACING, [0, 0], .5, .5, t);
        }, Object.defineProperty(o.prototype, "bounds", {
          get: function get() {
            return this._bounds;
          },
          enumerable: !0,
          configurable: !0
        }), o.prototype.bindReferenceTemplate = function (e) {
          this._refTemplate = e || L;
        }, o.prototype._placeGlyphs = function (e, t, r, o) {
          var a = this._size,
              i = this._haloSize,
              s = this._shapedBox,
              n = this._shapedGlyphs,
              h = this._computeGlyphTransform(s);

          if ("esriGeometryPolyline" === e) for (var l = 0; l < r.length; l++) {
            T = r[l];

            for (var u = this._shapedBox.width * this._scale, p = function p(e) {
              return !(e % 2);
            }, f = T.order, c = f - (f - 1) / 2 - 1, m = c - (c - 1) / 2 - 1, _ = m - (m - 1) / 2 - 1, d = -1 === f ? 0 : p(f) ? o - .1 : p(c) ? o - 1.1 : p(m) ? o - 2.1 : p(_) ? o - 3.1 : 0, v = Math.max(o + M.log2((u + 48) / T.pathLen), Math.max(d, this._minZoom)), g = 0, y = n; g < y.length; g++) {
              S = y[g];
              T.place(S, e, t, h, this._materialKey, a, i, s, o, v, this._maxZoom);
            }
          } else for (var x = 0, b = r; x < b.length; x++) for (var T = b[x], L = 0, w = n; L < w.length; L++) {
            var S = w[L];
            T.place(S, e, t, h, this._materialKey, a, i, s, o, this._minZoom, this._maxZoom);
          }
        }, o.prototype.writeMesh = function (u, p, e, f, t, r, o) {
          var c = this,
              a = this._computeAnchors(e, t),
              m = P.i8888to32(0, 0, 0, this._bitset);

          if (a.length && this._shapedGlyphs.length) {
            this._placeGlyphs(e, t, a, r);

            var i = E.LabelMaterialKey.load(this._materialKey);

            if ("esriGeometryPolyline" !== e) {
              var s = a[0],
                  n = this._shapedBox,
                  h = this._computeGlyphTransform(n),
                  l = this._createBounds(this._shapedBox, h),
                  _ = s.glyphs.get(0),
                  d = _[0],
                  v = d.anchorX,
                  g = d.anchorY,
                  y = Math.floor(10 * d.minZoom),
                  x = Math.floor(10 * d.maxZoom),
                  b = u.length;

              _.forEach(function (e) {
                e.minZoom = 25.5, e.maxZoom = 25.5;
              });

              var T = {
                from: b,
                count: u.length - b
              },
                  L = new I["default"](f, T, v, g, y),
                  w = Math.floor(v / A.COLLISION_BUCKET_SIZE),
                  S = Math.floor(g / A.COLLISION_BUCKET_SIZE);
              if (w >= A.COLLISION_TILE_BOX_SIZE || S >= A.COLLISION_TILE_BOX_SIZE || w < 0 || S < 0) return;

              this._writeVertices(u, p, f, _, m, y, x);

              var M = Math.max(this._refTemplate.height, this._refTemplate.width);
              return i.vvSizeFieldStops || i.vvSizeMinMaxValue || i.vvSizeScaleStops || i.vvSizeUnitValue ? L.setVV(M, this._xPlacementD, this._yPlacementD) : (L.offsetX = (M / 2 + A.COLLISION_PLACEMENT_PADDING) * this._xPlacementD, L.offsetY = (M / 2 + A.COLLISION_PLACEMENT_PADDING) * this._yPlacementD), L.bounds = l, o.push(L), void s.clear();
            }

            for (var O = function O(e) {
              var s = a[e],
                  n = s.x,
                  h = s.y,
                  t = u.length,
                  l = new I["default"](f, {
                from: t,
                count: -1
              }, n, h, 25.5);
              s.glyphs.forEach(function (e) {
                for (var t = 0, r = e; t < r.length; t++) {
                  var o = r[t];

                  if (o.minZoom = Math.max(s.minZoom, o.minZoom), o.bounds) {
                    var a = o.anchorX - n,
                        i = o.anchorY - h;
                    o.bounds.center[0] += a, o.bounds.center[1] += i, l.add(o.bounds);
                  }
                }

                l.bounds && c._writeHalos(u, p, f, e, m);
              }), s.glyphs.forEach(function (e) {
                l.bounds && c._writeText(u, p, f, e, m);
              }), l.range.count = u.length - t, l.bounds && o.push(l), s.clear();
            }, G = 0; G < a.length; G++) O(G);

            this._computedGlyphs = [];
          }
        }, o.prototype._outsideTile = function (e, t) {
          return e < 0 || 512 <= e || t < 0 || 512 <= t;
        }, o.prototype._smoothVertices = function (e, t) {
          if (!(t <= 0)) {
            var r = e.length;

            if (!(r < 3)) {
              var o = [],
                  a = 0;
              o.push(0);

              for (var i = 1; i < r; i++) a += w.dist(e[i], e[i - 1]), o.push(a);

              t = Math.min(t, .2 * a);
              var s = [];
              s.push(e[0][0]), s.push(e[0][1]);
              var n = e[r - 1][0],
                  h = e[r - 1][1],
                  l = w.sub([0, 0], e[0], e[1]);
              w.normalize(l), e[0][0] += t * l[0], e[0][1] += t * l[1], w.sub(l, e[r - 1], e[r - 2]), w.normalize(l), e[r - 1][0] += t * l[0], e[r - 1][1] += t * l[1];

              for (i = 1; i < r; i++) o[i] += t;

              o[r - 1] += t;
              var u = .5 * t;

              for (i = 1; i < r - 1; i++) {
                for (var p = 0, f = 0, c = 0, m = i - 1; 0 <= m && !(o[m + 1] < o[i] - u); m--) {
                  var _ = u + o[m + 1] - o[i],
                      d = o[m + 1] - o[m],
                      v = o[i] - o[m] < u ? 1 : _ / d;

                  if (Math.abs(v) < 1e-6) break;
                  var g = v * _ - .5 * (L = v * v) * d,
                      y = v * d / t,
                      x = e[m + 1],
                      b = e[m][0] - x[0],
                      T = e[m][1] - x[1];
                  p += y / g * (x[0] * v * _ + .5 * L * (_ * b - d * x[0]) - L * v * d * b / 3), f += y / g * (x[1] * v * _ + .5 * L * (_ * T - d * x[1]) - L * v * d * T / 3), c += y;
                }

                for (m = i + 1; m < r && !(o[m - 1] > o[i] + u); m++) {
                  _ = u - o[m - 1] + o[i], d = o[m] - o[m - 1], v = o[m] - o[i] < u ? 1 : _ / d;
                  if (Math.abs(v) < 1e-6) break;
                  var L;
                  g = v * _ - .5 * (L = v * v) * d, y = v * d / t, x = e[m - 1], b = e[m][0] - x[0], T = e[m][1] - x[1];
                  p += y / g * (x[0] * v * _ + .5 * L * (_ * b - d * x[0]) - L * v * d * b / 3), f += y / g * (x[1] * v * _ + .5 * L * (_ * T - d * x[1]) - L * v * d * T / 3), c += y;
                }

                s.push(p / c), s.push(f / c);
              }

              s.push(n), s.push(h);

              for (i = 0, m = 0; i < r; i++) e[i][0] = s[m++], e[i][1] = s[m++];
            }
          }
        }, o.prototype._computeLineAnchors = function (e, t, r) {
          for (var o = t.paths, a = this._scale * this._shapedBox.width, i = a / 2 + r, s = a / 2 + 16, n = this._shapedBox.width * this._scale, h = 0; h < o.length; h++) {
            var l = o[h],
                u = [];
            u.push(l[0]);

            for (var p = 1; p < l.length; p++) {
              var f = u[p - 1],
                  c = f[0],
                  m = f[1];
              c += l[p][0], m += l[p][1], u.push([c, m]);
            }

            this._smoothVertices(u, n);

            var _ = [];

            _.push(u[0]);

            for (var d = 1; d < u.length; d++) {
              var v = u[d - 1],
                  g = v[0],
                  y = v[1],
                  x = u[d],
                  b = x[0],
                  T = x[1],
                  L = Math.round(b - g),
                  w = Math.round(T - y);

              _.push([L, w]);
            }

            l = o[h] = _;

            var S = this._getPathLength(l);

            if (!(S < 2 * s)) for (var M = S / 2, O = 0, G = l[0][0], A = l[0][1], P = 1; P < l.length; P++) {
              L = l[P][0], w = l[P][1];
              var I = Math.sqrt(L * L + w * w);

              if (0 <= (O += I) - M) {
                var E = O - M,
                    D = I - E,
                    Z = D / I,
                    C = G + L * Z,
                    z = A + w * Z;

                if (!this._outsideTile(C, z)) {
                  var B = new pe["default"](C, z, Z, h, P, G, A, I, S, -1);
                  e.push(B);
                }

                var N = -1,
                    K = 0;

                for (K = D - i; 0 <= K; K -= i) {
                  var U = K / I,
                      X = G + L * U,
                      R = A + w * U;

                  if (N++, !this._outsideTile(X, R)) {
                    B = new pe["default"](X, R, U, h, P, G, A, I, S, N);
                    e.push(B);
                  }
                }

                O = K + i;

                for (var V = I - E, F = G, q = A, H = P - 1; 0 !== H; H--) {
                  var j = l[H][0],
                      W = l[H][1],
                      k = Math.sqrt(j * j + W * W);

                  if (i <= O + k) {
                    for (var Y = i - O; Y < k; Y += i) {
                      var J = Y / k,
                          Q = F - j * J,
                          $ = q - W * J;

                      if (N++, Y + V + s < M && !this._outsideTile(Q, $)) {
                        B = new pe["default"](Q, $, 1 - J, h, H, F - j, q - W, k, S, N);
                        e.push(B);
                      }
                    }

                    O = k - (Y - i);
                  } else O += k;

                  V += k, F -= j, q -= W;
                }

                var ee = -1;

                for (K = D + i; K <= I; K += i) {
                  var te = K / I,
                      re = G + L * te,
                      oe = A + w * te;

                  if (ee++, !this._outsideTile(re, oe)) {
                    B = new pe["default"](re, oe, te, h, P, G, A, I, S, ee);
                    e.push(B);
                  }
                }

                F = G + L, q = A + w, O = I - (K - i), V = E;

                for (H = P + 1; H < l.length; H++) {
                  var ae = l[H][0],
                      ie = l[H][1],
                      se = Math.sqrt(ae * ae + ie * ie);

                  if (i <= O + se) {
                    for (var ne = i - O; ne < se; ne += i) {
                      var he = ne / se,
                          le = F + ae * he,
                          ue = q + ie * he;

                      if (ee++, ne + V + s < M && !this._outsideTile(le, ue)) {
                        B = new pe["default"](le, ue, he, h, H, F, q, se, S, ee);
                        e.push(B);
                      }
                    }

                    O = se - (ne - i);
                  } else O += se;

                  V += se, F += ae, q += ie;
                }

                break;
              }

              G += L, A += w;
            }
          }

          return e;
        }, o.prototype._computeAnchors = function (e, t) {
          var r = [];

          switch (e) {
            case "esriGeometryPoint":
              var o = t.geometry,
                  a = o.x,
                  i = o.y,
                  s = new pe["default"](a, i);
              return r.push(s), r;

            case "esriGeometryPolygon":
              if (t.centroid) {
                var n = t.centroid;
                a = n.x, i = n.y, s = new pe["default"](a, i);
                return r.push(s), r;
              }

              return void S("Non-centroid polygon anchor placement not supported");

            case "esriGeometryPolyline":
              return this._computeLineAnchors(r, t.geometry, 376);

            case "esriGeometryMultipoint":
            default:
              return S("Unable to handle geometryType: " + e), r;
          }
        }, o.prototype._getPathLength = function (e) {
          for (var t = 0, r = 1; r < e.length; r++) {
            var o = e[r][0],
                a = e[r][1];
            t += Math.sqrt(o * o + a * a);
          }

          return t;
        }, o.prototype._computeGlyphTransform = function (e) {
          var t = this._scale,
              r = this._angle * d.C_DEG_TO_RAD,
              o = e.x,
              a = e.y,
              i = e.width / 2,
              s = e.height / 2,
              n = o + i,
              h = a + s,
              l = this._xAlignD * (i * t),
              u = this._yAlignD * (s * t),
              p = l + (this._xOffset + this._refTemplate.xOffset) + n,
              f = u - (this._yOffset + this._refTemplate.yOffset) - h,
              c = m.mat2d.identity(g);
          return m.mat2d.translate(c, c, _.vec2.set(v, p, f)), m.mat2d.scale(c, c, _.vec2.set(v, t, t)), m.mat2d.rotate(c, c, r), c;
        }, o.prototype._writeVertex = function (e, t, r, o, a, i, s, n, h) {
          var l = t.get("geometry"),
              u = Math.min(Math.floor(Math.max(this._refTemplate.width, this._refTemplate.height)), 255),
              p = this._xPlacementD + 1,
              f = this._yPlacementD + 1,
              c = P.i8888to32(n, h, 0, 0);
          this._refSymbolAndPlacementOffset = P.i8888to32(i.angle, u, p, f), l.push(o), l.push(r), l.push(a), l.push(i.vertexOffsetUpperLeft), l.push(i.texFontSizeUpperLeft), l.push(this._refSymbolAndPlacementOffset), l.push(c), l.push(o), l.push(r), l.push(a), l.push(i.vertexOffsetUpperRight), l.push(i.texFontSizeUpperRight), l.push(this._refSymbolAndPlacementOffset), l.push(c), l.push(o), l.push(r), l.push(a), l.push(i.vertexOffsetLowerLeft), l.push(i.texFontSizeLowerLeft), l.push(this._refSymbolAndPlacementOffset), l.push(c), l.push(o), l.push(r), l.push(a), l.push(i.vertexOffsetLowerRight), l.push(i.texFontSizeLowerRight), l.push(this._refSymbolAndPlacementOffset), l.push(c), e.vertexCount += 4;
        }, o;
      }(h["default"]);

      t["default"] = 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/engine/webgl/mesh/templates/WGLLineTemplate.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLineTemplate.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLLineTemplateJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../../../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../../../../symbols/cim/enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js"), __webpack_require__(
    /*! ./WGLBaseLineTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseLineTemplate.js"), __webpack_require__(
    /*! ./WGLMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, v, w, P, b, g, x, C, o, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var l = r.getLogger("esri.views.2d.engine.webgl.WGLLineTemplate"),
          s = function (_) {
        function T(e, t, i, r, o, n, l, s, a, p, u, d, c, y, m, f) {
          var h = _.call(this) || this,
              L = x.LineMaterialKey.load(x.createMaterialKey(h.geometryType, e, c));
          return t && (L.sdf = t.sdf, L.pattern = !0, L.textureBinding = t.textureBinding), h._capType = r, h._joinType = o, h._miterLimitCosine = C.getLimitCosine(n), h.tessellationProperties._fillColor = l, h.tessellationProperties._tl = s, h.tessellationProperties._br = a, h._hasPattern = p, h._isDashed = u, h._joinOnUTurn = f, h._isColorLocked = d, h._isOutline = c, h._zOrder = m, h._materialKey = L.data, h.tessellationProperties._bitset = d ? 1 : 0, h.tessellationProperties._halfWidth = .5 * i, h.tessellationProperties._halfReferenceWidth = .5 * y, h._initializeTessellator(!1), h;
        }

        return i(T, _), T.fromCIMLine = function (e, t, i, r, o, n) {
          var l = t.color,
              s = t.isDashed,
              a = t.cap;
          s && a === w.CapType.ROUND && (a = w.CapType.SQUARE);
          var p = t.join,
              u = v.pt2px(t.width) * n,
              d = v.pt2px(t.referenceWidth),
              c = v.pt2px(t.miterLimit),
              y = l && P.premultiplyAlphaRGBA(l) || 0;
          if (!i) return new T(e, i, u, a, p, c, y, 0, 0, !1, s, t.colorLocked, r, d, t.zOrder, o);

          var m = i.rect,
              f = i.width,
              h = i.height,
              L = m.x + 1,
              _ = m.y + 1,
              g = m.x + 1 + f,
              x = m.y + 1 + h;

          return new T(e, i, u, a, p, c, y, b.i1616to32(L, _), b.i1616to32(g, x), !0, s, t.colorLocked, r, d, t.zOrder, o);
        }, T.fromSimpleLine = function (e, t, i, r, o) {
          var n = i.color,
              l = "solid" !== i.style && "none" !== i.style,
              s = g.getCapType(i.cap || "round", l),
              a = g.getJoinType(i.join || "round"),
              p = n && "none" !== i.style && P.premultiplyAlphaRGBA(n) || 0;
          "none" === i.style && (p = 0);
          var u = v.pt2px(i.width),
              d = i.miterLimit;
          if (!r) return new T(e, r, u, s, a, d, p, 0, 0, !1, l, !1, t, u, 0, o);

          var c = r.rect,
              y = r.width,
              m = r.height,
              f = c.x + 1,
              h = c.y + 1,
              L = c.x + 1 + y,
              _ = c.y + 1 + m;

          return new T(e, r, u, s, a, d, p, b.i1616to32(f, h), b.i1616to32(L, _), !0, l, !1, t, u, 0, o);
        }, T.fromPictureLineSymbol = function (e, t, i, r) {
          return l.error("PictureLineSymbol support does not exist!"), null;
        }, T;
      }(o["default"](n["default"]));

      t["default"] = s;
    }.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/webgl/mesh/templates/WGLMarkerTemplate.js":
  /*!**********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMarkerTemplate.js ***!
    \**********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLMarkerTemplateJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../../../../../core/libs/gl-matrix-2/mat2df32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df32.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/vec2f32 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f32.js"), __webpack_require__(
    /*! ../../../../../../symbols/cim/enums */
    "./node_modules/arcgis-js-api/symbols/cim/enums.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../definitions */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/definitions.js"), __webpack_require__(
    /*! ../../number */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./WGLBaseMarkerTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseMarkerTemplate.js"), __webpack_require__(
    /*! ./WGLMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, R, E, G, U, q, z, w, n, K, T, o, i) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var a = function (k) {
        function A(t, e, r, o, i, a, n, l, s, f, h, p, c, d, u, m, M, x, g) {
          var y = k.call(this) || this;
          y.height = n, y.width = a, y.xOffset = e * g, y.yOffset = r * g;

          var v = q.vec2f32.create(),
              _ = G.mat2df32.create(),
              A = (d === z.Alignment.MAP ? 1 : 0) | (h ? 1 : 0) << 1 | (c ? 1 : 0) << 2 | (p ? 1 : 0) << 3,
              R = u && u.sdf;

          if (E.mat2d.translate(_, _, q.vec2f32.fromValues(y.xOffset, -y.yOffset)), o) {
            E.mat2d.rotate(_, _, 3.14159265359 / 180 * o);
          }

          var w = T.MarkerMaterialKey.load(T.createMaterialKey(y.geometryType, t, !1));
          w.sdf = R, w.pattern = !0, w.textureBinding = u.textureBinding, y._materialKey = w.data, y._fillColor = i, y._outlineColor = s, y._sizeOutlineWidth = K.i8888to32(Math.round(Math.sqrt(256 * a)), Math.round(Math.sqrt(256 * n)), Math.round(Math.sqrt(256 * f)), Math.round(Math.sqrt(256 * l)));
          var b = u.rect.x,
              B = u.rect.y,
              C = b + u.rect.width,
              L = B + u.rect.height;
          m = .5 - ((.5 + m) * u.width + 1) / u.rect.width, M = .5 - ((.5 + M) * u.height + 1) / u.rect.height, a *= x, n *= x, a *= g, n *= g;
          var O = Math.round(Math.min(64 * x, 255)),
              P = (m - .5) * (a *= u.rect.width / u.width),
              S = (M - .5) * (n *= u.rect.height / u.height);
          return y._bitestAndDistRatio = K.i8888to32(0, 0, A, O), U.vec2.set(v, P, S), U.vec2.transformMat2d(v, v, _), y._offsetUpperLeft = K.i1616to32(16 * v[0], 16 * v[1]), y._texUpperLeft = K.i1616to32(b, B), U.vec2.set(v, P + a, S), U.vec2.transformMat2d(v, v, _), y._offsetUpperRight = K.i1616to32(16 * v[0], 16 * v[1]), y._texUpperRight = K.i1616to32(C, B), U.vec2.set(v, P, S + n), U.vec2.transformMat2d(v, v, _), y._offsetBottomLeft = K.i1616to32(16 * v[0], 16 * v[1]), y._texBottomLeft = K.i1616to32(b, L), U.vec2.set(v, P + a, S + n), U.vec2.transformMat2d(v, v, _), y._offsetBottomRight = K.i1616to32(16 * v[0], 16 * v[1]), y._texBottomRight = K.i1616to32(C, L), y;
        }

        return r(A, k), A.fromCIMMarker = function (t, e, r, o) {
          var i = r && r.width || 1,
              a = r && r.height || 1,
              n = e.size,
              l = i / a * e.scaleX,
              s = e.scaleSymbolsProportionally && e.frameHeight ? n / e.frameHeight : 1,
              f = w.premultiplyAlphaRGBA(e.color),
              h = w.premultiplyAlphaRGBA(e.outlineColor),
              p = R.pt2px(n),
              c = p * l,
              d = R.pt2px(e.offsetX || 0),
              u = R.pt2px(e.offsetY || 0),
              m = R.pt2px(e.outlineWidth || 0) * s,
              M = e.alignment || z.Alignment.SCREEN,
              x = R.pt2px(e.referenceSize),
              g = e.rotation || 0;
          e.rotateClockwise || (g = -g);
          var y = 0,
              v = 0,
              _ = e.anchorPoint;
          return _ && (e.isAbsoluteAnchorPoint ? n && (y = -_.x / (n * l), v = _.y / n) : (y = _.x, v = _.y)), new A(t, d, u, g, f, c, p, x, h, m, e.colorLocked, e.scaleSymbolsProportionally, !1, M, r, y, v, e.sizeRatio, o);
        }, A.fromPictureMarker = function (t, e, r) {
          var o = Math.round(R.pt2px(e.width)),
              i = Math.round(R.pt2px(e.height)),
              a = n.PICTURE_FILL_COLOR;
          return new A(t, Math.round(R.pt2px(e.xoffset || 0)), Math.round(R.pt2px(e.yoffset || 0)), e.angle, a, o, i, i, 0, 0, !1, !1, !1, z.Alignment.SCREEN, r, 0, 0, 1, 1);
        }, A.fromSimpleMarker = function (t, e, r) {
          var o = w.premultiplyAlphaRGBA(e.color),
              i = Math.round(R.pt2px(e.size)),
              a = i,
              n = Math.round(R.pt2px(e.xoffset || 0)),
              l = Math.round(R.pt2px(e.yoffset || 0)),
              s = e.style,
              f = e.outline,
              h = 0 | (f && f.color && w.premultiplyAlphaRGBA(f.color)),
              p = 0 | (f && f.width && Math.round(R.pt2px(f.width)));
          return new A(t, n, l, e.angle, o, i, a, a, h, p, !1, !1, "cross" === s || "x" === s, z.Alignment.SCREEN, r, 0, 0, 126 / 64, 1);
        }, A;
      }(o["default"](i["default"]));

      e["default"] = a;
    }.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/webgl/mesh/templates/WGLMeshTemplate.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLMeshTemplateJs(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_AMD_DEFINE_RESULT__ = function (e, t, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var r = function () {
        function e() {}

        return e.prototype.writeMesh = function (e, t, n, r, o) {}, e.prototype.bindFeature = function (e, t, n) {}, e;
      }();

      t["default"] = r;
    }.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/webgl/mesh/templates/WGLTemplateStore.js":
  /*!*********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTemplateStore.js ***!
    \*********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLTemplateStoreJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../../../../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../../../../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.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__(
    /*! ../../../../../../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ../../../../../../symbols/cim/cimAnalyzer */
    "./node_modules/arcgis-js-api/symbols/cim/cimAnalyzer.js"), __webpack_require__(
    /*! ../../../../../../symbols/support/defaults */
    "./node_modules/arcgis-js-api/symbols/support/defaults.js"), __webpack_require__(
    /*! ../../../../arcade/utils */
    "./node_modules/arcgis-js-api/views/2d/arcade/utils.js"), __webpack_require__(
    /*! ./WGLDynamicLineTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicLineTemplate.js"), __webpack_require__(
    /*! ./WGLDynamicMarkerTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicMarkerTemplate.js"), __webpack_require__(
    /*! ./WGLDynamicTextTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLDynamicTextTemplate.js"), __webpack_require__(
    /*! ./WGLFillTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLFillTemplate.js"), __webpack_require__(
    /*! ./WGLLineTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLLineTemplate.js"), __webpack_require__(
    /*! ./WGLMarkerTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMarkerTemplate.js"), __webpack_require__(
    /*! ./WGLTextTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTextTemplate.js"), __webpack_require__(
    /*! ../../util/BidiText */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/BidiText.js"), __webpack_require__(
    /*! ../../util/Lock */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Lock.js"), __webpack_require__(
    /*! ../../util/Result */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, l, d, i, r, h, y, o, s, M, a, c, p, u, m, f, _, n, T, v) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var I = r.getLogger("esri.views.2d.engine.webgl.mesh.templates.WGLTemplateStore"),
          b = new Array();

      function g(t, e) {
        var r = t.length;
        return t.push(null), e.then(function (e) {
          return t[r] = e;
        }), t;
      }

      function C(e) {
        return !!(1 & e);
      }

      t.isDynamicId = C;

      var S = function () {
        function e(e, t) {
          this._idCounter = 0, this._templateIdCounter = 0, this._idToTemplateGroup = new Map(), this._symbolToTemplate = new Map(), this._fetchQueue = [], this._idToResolver = new Map(), this._cimTemplateCache = new Map(), this._cimAnalyses = [], this._lock = new T["default"](), this._fetchResource = e, this._joinOnUTurn = t;
        }

        return Object.defineProperty(e.prototype, "_markerError", {
          get: function get() {
            return this._errorTemplates.marker[0];
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "_fillError", {
          get: function get() {
            return this._errorTemplates.fill[0];
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "_lineError", {
          get: function get() {
            return this._errorTemplates.line[0];
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "_textError", {
          get: function get() {
            return this._errorTemplates.line[0];
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.createTemplateGroup = function (n, s, o, a) {
          return l(this, void 0, void 0, function () {
            var t, r, i;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._initErrorTemplates()];

                case 1:
                  return e.sent(), t = JSON.stringify(n), this._symbolToTemplate.has(t) ? [2, this._symbolToTemplate.get(t)] : (r = new Array(), s ? [4, this._createMeshTemplates(r, s, o, a, !0)] : [3, 3]);

                case 2:
                  e.sent(), e.label = 3;

                case 3:
                  return [4, this._createMeshTemplates(r, n, o, a, !1)];

                case 4:
                  return e.sent(), i = this._createGroupId("cim" === n.type), this._idToTemplateGroup.set(i, r), this._symbolToTemplate.set(t, i), [2, i];
              }
            });
          });
        }, e.prototype.getCIMMosaicItem = function (e, t) {
          var r = this,
              i = this._createTemplateId(),
              n = h.create(function (e) {
            return r._idToResolver.set(i, e);
          });

          return this._fetchQueue.push({
            symbol: e,
            id: i,
            glyphIds: t
          }), n;
        }, e.prototype.getTemplateGroup = function (e) {
          return this._idToTemplateGroup.has(e) ? this._idToTemplateGroup.get(e) : b;
        }, e.prototype.getDynamicTemplateGroup = function (e) {
          return this._idToTemplateGroup.has(e) ? (C(e) || I.error("mapview-template-store", "Id " + e + " does not refer to a dynamic template"), this._idToTemplateGroup.get(e)) : b;
        }, e.prototype.finalize = function (e) {
          return this._fetchQueue.length || this._lock.isHeld() ? T.withLock(this._lock, this._fetchAllQueuedResources.bind(this), e) : h.resolve();
        }, e.prototype._initErrorTemplates = function () {
          return l(this, void 0, void 0, function () {
            var t, r, i, n;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return this._errorTemplates ? [2] : (t = this._createMeshTemplates([], s.errorPolygonSymbol2D, null, null, !1), r = this._createMeshTemplates([], s.errorPointSymbol2D, null, null, !1), i = this._createMeshTemplates([], s.errorPolylineSymbol2D, null, null, !1), [4, h.all([t, r, i])]);

                case 1:
                  return n = e.sent(), this._errorTemplates = {
                    fill: n[0],
                    marker: n[1],
                    line: n[2]
                  }, [2];
              }
            });
          });
        }, e.prototype._fetchAllQueuedResources = function (e) {
          var o = this;
          if (!this._fetchQueue.length) return h.resolve();
          var t = this._fetchQueue,
              r = this._cimAnalyses;
          return this._fetchQueue = [], this._cimAnalyses = [], h.all(r).then(function () {
            return o._fetchResource(t, e).then(function (e) {
              for (var t = 0, r = e; t < r.length; t++) {
                var i = r[t],
                    n = i.id,
                    s = i.mosaicItem;
                o._idToResolver.get(n)(s), o._idToResolver["delete"](n);
              }
            });
          })["catch"](function (e) {
            h.isAbortError(e) ? o._fetchQueue = o._fetchQueue.concat(t) : I.error(new i("mapview-template-store", "Unable to fetch requested texture resources", e));
          });
        }, e.prototype._createGroupId = function (e) {
          return this._idCounter++ << 1 | (e ? 1 : 0);
        }, e.prototype._createTemplateId = function () {
          return this._templateIdCounter++;
        }, e.prototype._getCodepoints = function (e) {
          for (var t = n.bidiText(e.text)[0], r = [], i = 0; i < t.length; i++) r.push(t.charCodeAt(i));

          return r;
        }, e.prototype._getMosaicItem = function (e) {
          var t = this,
              r = this._createTemplateId(),
              i = "text" === e.type && this._getCodepoints(e),
              n = h.create(function (e) {
            return t._idToResolver.set(r, e);
          });

          return this._fetchQueue.push({
            symbol: e.toJSON(),
            id: r,
            glyphIds: i
          }), n;
        }, e.prototype._createSMS = function (r, i) {
          return l(this, void 0, void 0, function () {
            var t;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._getMosaicItem(r)];

                case 1:
                  return t = e.sent().spriteMosaicItem, v.ok(t, I) ? [2, f["default"].fromSimpleMarker(i, r, t)] : [2, this._markerError];
              }
            });
          });
        }, e.prototype._createPMS = function (r, i) {
          return l(this, void 0, void 0, function () {
            var t;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._getMosaicItem(r)];

                case 1:
                  return t = e.sent().spriteMosaicItem, v.ok(t, I) ? [2, f["default"].fromPictureMarker(i, r, t)] : [2, this._markerError];
              }
            });
          });
        }, e.prototype._createSFS = function (i, n, s) {
          return l(this, void 0, void 0, function () {
            var t, r;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._getMosaicItem(i)];

                case 1:
                  return t = e.sent().spriteMosaicItem, r = i, v.ok(t, I) ? [2, u["default"].fromSimpleFill(n, r, t, s)] : [2, this._fillError];
              }
            });
          });
        }, e.prototype._createPFS = function (i, n, s) {
          return l(this, void 0, void 0, function () {
            var t, r;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._getMosaicItem(i)];

                case 1:
                  return t = e.sent().spriteMosaicItem, r = i, v.ok(t, I) ? [2, u["default"].fromPictureFill(n, r, t, s)] : [2, this._fillError];
              }
            });
          });
        }, e.prototype._createSLS = function (i, n, s) {
          return l(this, void 0, void 0, function () {
            var t, r;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._getMosaicItem(i)];

                case 1:
                  return t = e.sent().spriteMosaicItem, r = i, v.ok(t, I) ? [2, m["default"].fromSimpleLine(n, s, r, t, this._joinOnUTurn)] : [2, this._lineError];
              }
            });
          });
        }, e.prototype._createTS = function (r, i) {
          return l(this, void 0, void 0, function () {
            var t;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, this._getMosaicItem(r)];

                case 1:
                  return t = e.sent().glyphMosaicItems, [2, _["default"].fromText(i, r, t)];
              }
            });
          });
        }, e.prototype._createCIMText = function (a, c, u) {
          return l(this, void 0, void 0, function () {
            var t, r, i, n, s, o;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  if ("function" == typeof a.materialHash || "function" == typeof u) return [2, h.resolve(p["default"].fromCIMText(c, a, u))];
                  if (t = [], r = a.text) for (i = r.length, n = 0; n < i; n++) s = r.charCodeAt(n), t.push(s);
                  return a.cim.mosaicHash = a.materialHash, [4, this.getCIMMosaicItem(a.cim, t)];

                case 1:
                  return o = e.sent().glyphMosaicItems, v.ok(o, I) ? [2, _["default"].fromCIMText(c, a, u, o)] : [2, this._textError];
              }
            });
          });
        }, e.prototype._createCIMFill = function (r, i) {
          return l(this, void 0, void 0, function () {
            var t;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return r.materialHash, r.cim.mosaicHash = r.materialHash, [4, this.getCIMMosaicItem(r.cim)];

                case 1:
                  return t = e.sent().spriteMosaicItem, v.ok(t, I) ? [2, u["default"].fromCIMFill(i, r, t, !1)] : [2, this._fillError];
              }
            });
          });
        }, e.prototype._createCIMLine = function (r, i, n) {
          return l(this, void 0, void 0, function () {
            var t;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return "function" == typeof r.materialHash || "function" == typeof n ? [2, h.resolve(a["default"].fromCIMLine(i, r, n))] : (r.cim.mosaicHash = r.materialHash, [4, this.getCIMMosaicItem(r.cim)]);

                case 1:
                  return t = e.sent().spriteMosaicItem, v.ok(t, I) ? [2, m["default"].fromCIMLine(i, r, t, !1, this._joinOnUTurn, n)] : [2, this._lineError];
              }
            });
          });
        }, e.prototype._createCIMMarker = function (r, i, n) {
          return l(this, void 0, void 0, function () {
            var t;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return "function" == typeof r.materialHash || "function" == typeof n ? [2, h.resolve(c["default"].fromCIMMarker(i, r, n))] : (r.cim.mosaicHash = r.materialHash, [4, this.getCIMMosaicItem(r.cim)]);

                case 1:
                  return t = e.sent().spriteMosaicItem, v.ok(t, I) ? [2, f["default"].fromCIMMarker(i, r, t, n)] : [2, this._markerError];
              }
            });
          });
        }, e.prototype._createCIM = function (n, s, o) {
          return l(this, void 0, void 0, function () {
            var t,
                r,
                i = this;
            return d(this, function (e) {
              if (t = n.templateHash, this._cimTemplateCache.has(t)) return [2, this._cimTemplateCache.get(t)];

              switch (n.type) {
                case "marker":
                  r = this._createCIMMarker(n, s, o);
                  break;

                case "line":
                  r = this._createCIMLine(n, s, o);
                  break;

                case "fill":
                  r = this._createCIMFill(n, s);
                  break;

                case "text":
                  r = this._createCIMText(n, s, o);
              }

              return r.then(function (e) {
                return i._cimTemplateCache.set(t, e);
              }), [2, r];
            });
          });
        }, e.prototype._getCIMSymbolLayers = function (i, n, s) {
          return l(this, void 0, void 0, function () {
            var t, r;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return r = [], (t = []).push(o.analyzeCIMSymbol(i.data, n, s, r)), [4, h.all(t)];

                case 1:
                  return e.sent(), [2, r];
              }
            });
          });
        }, e.prototype._createCIMMeshTemplates = function (p, m, f, _) {
          return l(this, void 0, void 0, function () {
            var t, r, i, n, s, o, a, c, u, l, h;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  return r = (t = f) ? t.fieldMap : null, i = m, t && t.scaleExpression ? isNaN(t.scaleExpression) ? (o = t.scaleExpression, [4, y.createRendererExpression(o, _.spatialReference, _.fields)]) : [3, 2] : [3, 3];

                case 1:
                  return a = e.sent(), n = function n(e, t, r) {
                    var i = M.callWithFeature(a, e, {
                      $view: r
                    }, _.geometryType, t);
                    return null !== i ? i : 1;
                  }, [3, 3];

                case 2:
                  s = Number(t.scaleExpression), e.label = 3;

                case 3:
                  return [4, this._getCIMSymbolLayers(i, r, _)];

                case 4:
                  for (c = e.sent(), u = 0, l = c; u < l.length; u++) h = l[u], g(p, this._createCIM(h, f, s || n || 1));

                  return [2];
              }
            });
          });
        }, e.prototype._createMeshTemplates = function (i, n, s, o, a) {
          return l(this, void 0, void 0, function () {
            var t, r;
            return d(this, function (e) {
              switch (e.label) {
                case 0:
                  if (-1 !== n.type.indexOf("3d")) return I.error("3D symbols are not supported with MapView"), [2, i];

                  switch (n.type) {
                    case "cim":
                      return [3, 1];

                    case "simple-marker":
                      return [3, 3];

                    case "picture-marker":
                      return [3, 4];

                    case "simple-fill":
                      return [3, 5];

                    case "picture-fill":
                      return [3, 6];

                    case "simple-line":
                      return [3, 7];

                    case "text":
                      return [3, 8];
                  }

                  return [3, 9];

                case 1:
                  return [4, this._createCIMMeshTemplates(i, n, s, o)];

                case 2:
                  return e.sent(), [2, i];

                case 3:
                  return [2, g(i, this._createSMS(n, s))];

                case 4:
                  return [2, g(i, this._createPMS(n, s))];

                case 5:
                  return t = n, g(i, this._createSFS(t, s, a)), t.outline && g(i, this._createSLS(t.outline, s, !0)), [2, i];

                case 6:
                  return r = n, g(i, this._createPFS(r, s, a)), r.outline && g(i, this._createSLS(r.outline, s, !0)), [2, i];

                case 7:
                  return [2, g(i, this._createSLS(n, s, !1))];

                case 8:
                  return [2, g(i, this._createTS(n, s))];

                case 9:
                  return I.error("Unable to create mesh template for unknown symbol type {: $ }{symbol.type}"), [2, i];
              }
            });
          });
        }, e;
      }();

      t.WGLTemplateStore = S;
    }.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/webgl/mesh/templates/WGLTextTemplate.js":
  /*!********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLTextTemplate.js ***!
    \********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesWGLTextTemplateJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../alignmentUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/alignmentUtils.js"), __webpack_require__(
    /*! ../../color */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/color.js"), __webpack_require__(
    /*! ../../fontUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/fontUtils.js"), __webpack_require__(
    /*! ../../materialKey/MaterialKey */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/materialKey/MaterialKey.js"), __webpack_require__(
    /*! ./WGLBaseTextTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLBaseTextTemplate.js"), __webpack_require__(
    /*! ./WGLMeshTemplate */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/WGLMeshTemplate.js"), __webpack_require__(
    /*! ../../util/BidiText */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/util/BidiText.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, x, y, p, A, g, i, a, c) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var l = function (m) {
        function s(e, t, o, i, a, l, n, r, s, p, c, f, h) {
          var u = m.call(this) || this;
          u._xOffset = x.pt2px(c), u._yOffset = x.pt2px(f), u._decorationTop = A.getFontDecorationTop(r), u._color = i, u._haloColor = a, u._haloSize = Math.min(Math.floor(5 * x.pt2px(x.toPt(o))), 127), u._size = Math.min(Math.round(x.pt2px(t)), 127);
          var d = Math.min(Math.round(x.pt2px(t)), 127);
          u._referenceSize = Math.round(Math.sqrt(256 * d)), u._scale = u._size / 24, u._angle = p, u._justify = y.getJustification(l || "center"), u._xAlignD = y.getXAnchorDirection(l || "center"), u._yAlignD = -y.getYAnchorDirection(n || "baseline"), u._baseline = "baseline" === (n || "baseline"), u._bitset = s ? 1 : 0;

          var _ = g.MaterialKeyBase.load(g.createMaterialKey(u.geometryType, e, !1));

          return _.sdf = !0, u._materialKey = _.data, u.symbolId = h, u;
        }

        return o(s, m), s.fromText = function (e, t, o) {
          var i = new s(e, t.font.size, t.haloSize || 0, t.color && p.premultiplyAlphaRGBA(t.color) || 0, t.haloColor && p.premultiplyAlphaRGBA(t.haloColor) || 0, t.horizontalAlignment, t.verticalAlignment, t.font.decoration, !1, t.angle || 0, t.xoffset, t.yoffset, t.id),
              a = c.bidiText(t.text),
              l = a[0],
              n = a[1];
          return i.bindTextInfo(o, l, n), i._computeGlyphs(i._shapedGlyphs, i._shapedBox), i;
        }, s.fromCIMText = function (e, t, o, i) {
          var a = new s(e, t.size * t.sizeRatio * o, t.outlineSize * t.sizeRatio, p.premultiplyAlphaRGBA(t.color), p.premultiplyAlphaRGBA(t.outlineColor), t.horizontalAlignment, t.verticalAlignment, t.decoration, t.colorLocked, t.angle, t.offsetX * t.sizeRatio * o, t.offsetY * t.sizeRatio * o, t.materialHash),
              l = c.bidiText(t.text),
              n = l[0],
              r = l[1];
          return a.bindTextInfo(i, n, r), a._computeGlyphs(a._shapedGlyphs, a._shapedBox), a;
        }, s;
      }(i["default"](a["default"]));

      t["default"] = 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/engine/webgl/mesh/templates/util.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/mesh/templates/util.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglMeshTemplatesUtilJs(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 (n, t) {
      function e(n, t) {
        return Math.sqrt(n * n + t * t);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.sub = function (n, t, e) {
        return n[0] = t[0] - e[0], n[1] = t[1] - e[1], n;
      }, t.len = e, t.normalize = function (n) {
        var t = e(n[0], n[1]);
        n[0] /= t, n[1] /= t;
      }, t.dist = function (n, t) {
        return e(n[0] - t[0], n[1] - t[1]);
      }, t.isFunction = function (n) {
        return "function" == typeof n;
      }, t.getLimitCosine = function (n) {
        return 1 / Math.max(n, 1);
      };
    }.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/webgl/number.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/number.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglNumberJs(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 (n, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var r = new Float32Array(1),
          u = new Uint32Array(r.buffer);

      function e(n, t, r) {
        return Math.round(Math.max(Math.min(n, r), t));
      }

      t.i8 = function (n) {
        return e(n, -128, 127);
      }, t.i16 = function (n) {
        return e(n, -32768, 32767);
      }, t.i32 = function (n) {
        return e(n, -2147483648, 2147483647);
      }, t.u8 = function (n) {
        return e(n, 0, 255);
      }, t.u16 = function (n) {
        return e(n, 0, 65535);
      }, t.u32 = function (n) {
        return e(n, 0, 4294967295);
      }, t.toUint32 = function (n) {
        return r[0] = n, u[0];
      }, t.toFloat32 = function (n) {
        return u[0] = n, r[0];
      }, t.u32to4Xu8 = function (n) {
        return [255 & n, (65280 & n) >>> 8, (16711680 & n) >>> 16, (4278190080 & n) >>> 24];
      }, t.i1616to32 = function (n, t) {
        return 65535 & n | t << 16;
      }, t.i8888to32 = function (n, t, r, u) {
        return 255 & n | (255 & t) << 8 | (255 & r) << 16 | u << 24;
      }, t.i8816to32 = function (n, t, r) {
        return 255 & n | (255 & t) << 8 | r << 16;
      }, t.numTo32 = function (n) {
        return 0 | 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/engine/webgl/packingUtils.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/packingUtils.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglPackingUtilsJs(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 (r, e) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var v = [1, 256, 65536, 16777216],
          n = [1 / 256, 1 / 65536, 1 / 16777216, 1 / 4294967296],
          d = function (r, e) {
        void 0 === e && (e = 0);

        for (var o = 0, a = 0; a < 4; a++) o += r[e + a] * n[a];

        return o;
      }(new Uint8ClampedArray([255, 255, 255, 255]));

      e.packFloatRGBA = function (r, e, o) {
        void 0 === o && (o = 0);

        for (var a, n = (f = r, i = 0, u = d, f < i ? i : u < f ? u : f), t = 0; t < 4; t++) e[o + t] = Math.floor(256 * ((a = n * v[t]) - Math.floor(a)));

        var f, i, 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/engine/webgl/painter/RenderPass.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/painter/RenderPass.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglPainterRenderPassJs(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__(
    /*! @dojo/framework/shim/iterator */
    "./node_modules/@dojo/framework/shim/iterator.mjs"), __webpack_require__(
    /*! ../../../../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, u, b, c, t) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var a = function () {
        function r(r, e) {
          this.brushes = r, this.name = e.name, this.drawPhase = e.drawPhase || t.WGLDrawPhase.MAP, this._targetFn = e.target, this.effects = e.effects || [], this.has = e.has;
        }

        return r.prototype.render = function (r) {
          var e = r.context,
              t = r.profiler,
              a = this._targetFn(),
              s = this.drawPhase & r.drawPhase;

          if (t.recordPassStart(this.name), s && (!this.has || b(this.has))) {
            this._doRender(r, a), t.recordPassEnd();

            for (var i = 0, n = this.effects; i < n.length; i++) {
              var o = n[i];

              if (o.enable()) {
                var h = o.apply;
                t.recordPassStart(this.name + "." + h.name), t.recordBrushStart(h.name);
                var d = o.args && o.args(),
                    f = e.getViewport(),
                    u = f.x,
                    c = f.y,
                    p = f.width,
                    l = f.height,
                    m = e.getBoundFramebufferObject();
                h.bind(r, d), this._doRender(r, a, h.defines), h.draw(r, d), h.unbind(r, d), e.bindFramebuffer(m), e.setViewport(u, c, p, l), t.recordBrushEnd(), t.recordPassEnd();
              }
            }
          }
        }, r.prototype._doRender = function (r, e, t) {
          if (!c.isNone(e)) if (u.isArrayLike(e)) for (var a = 0, s = e; a < s.length; a++) {
            var i = s[a];
            if (i.isReady && i.visible) for (var n = 0, o = this.brushes; n < o.length; n++) {
              var h = o[n];
              r.profiler.recordBrushStart(h.name), h.prepareState(r, i, t), h.draw(r, i, t), r.profiler.recordBrushEnd();
            }
          } else for (var d = 0, f = this.brushes; d < f.length; d++) {
            h = f[d];
            r.profiler.recordBrushStart(h.name), h.prepareState(r, e, t), h.draw(r, e, t), r.profiler.recordBrushEnd();
          }
        }, r;
      }();

      e["default"] = a;
    }.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/webgl/shaders/BackgroundPrograms.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BackgroundPrograms.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersBackgroundProgramsJs(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__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.background = {
        name: "background",
        shaders: {
          vertexShader: a.resolveIncludes("background/background.vert"),
          fragmentShader: a.resolveIncludes("background/background.frag")
        },
        attributes: {
          a_pos: 0
        }
      };
    }.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/webgl/shaders/BitBlitPrograms.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/BitBlitPrograms.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersBitBlitProgramsJs(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__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.bitBlit = {
        name: "bitBlit",
        shaders: {
          vertexShader: r.resolveIncludes("bitBlit/bitBlit.vert"),
          fragmentShader: r.resolveIncludes("bitBlit/bitBlit.frag")
        },
        attributes: {
          a_pos: 0,
          a_tex: 1
        }
      };
    }.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/webgl/shaders/HighlightPrograms.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/HighlightPrograms.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersHighlightProgramsJs(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__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.highlight = {
        name: "highlight",
        shaders: {
          vertexShader: t.resolveIncludes("highlight/textured.vert"),
          fragmentShader: t.resolveIncludes("highlight/highlight.frag")
        },
        attributes: {
          a_position: 0,
          a_texcoord: 1
        }
      }, r.blur = {
        name: "blur",
        shaders: {
          vertexShader: t.resolveIncludes("highlight/textured.vert"),
          fragmentShader: t.resolveIncludes("highlight/blur.frag")
        },
        attributes: {
          a_position: 0,
          a_texcoord: 1
        }
      };
    }.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/webgl/shaders/MagnifierPrograms.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/MagnifierPrograms.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersMagnifierProgramsJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.magnifier = {
        name: "magnifier",
        shaders: {
          vertexShader: a.resolveIncludes("magnifier/magnifier.vert"),
          fragmentShader: a.resolveIncludes("magnifier/magnifier.frag")
        },
        attributes: {
          a_pos: 0
        }
      }, r.createMagnifierProgram = function (e) {
        return i.createProgram(e, r.magnifier);
      };
    }.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/webgl/shaders/MaterialPrograms.js":
  /*!**************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/MaterialPrograms.js ***!
    \**************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersMaterialProgramsJs(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__(
    /*! ../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var s = function s(e) {
        var r = "";
        r += e[0].toUpperCase();

        for (var n = 1; n < e.length; n++) {
          var t = e[n];
          t === t.toUpperCase() ? (r += "_", r += t) : r += t.toUpperCase();
        }

        return r;
      },
          o = function o(e) {
        var r = {};

        for (var n in e) {
          r[s(n)] = e[n];
        }

        return t.glslifyDefineMap(r);
      };

      r.createProgramTemplate = function (e, r) {
        var n = e + e.substring(e.lastIndexOf("/"));
        return {
          name: name,
          attributes: r,
          shaders: function shaders(e) {
            return {
              vertexShader: o(e) + a.resolveIncludes(n + ".vert"),
              fragmentShader: o(e) + a.resolveIncludes(n + ".frag")
            };
          }
        };
      };
    }.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/webgl/shaders/StencilPrograms.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/StencilPrograms.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersStencilProgramsJs(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__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, s, r) {
      Object.defineProperty(s, "__esModule", {
        value: !0
      }), s.stencil = {
        name: "stencil",
        shaders: {
          vertexShader: r.resolveIncludes("stencil/stencil.vert"),
          fragmentShader: r.resolveIncludes("stencil/stencil.frag")
        },
        attributes: {
          a_pos: 0
        }
      };
    }.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/webgl/shaders/TileInfoPrograms.js":
  /*!**************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/TileInfoPrograms.js ***!
    \**************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersTileInfoProgramsJs(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__(
    /*! ./sources/resolver */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.tileInfo = {
        name: "tileInfo",
        shaders: {
          vertexShader: t.resolveIncludes("tileInfo/tileInfo.vert"),
          fragmentShader: t.resolveIncludes("tileInfo/tileInfo.frag")
        },
        attributes: {
          a_pos: 0
        }
      };
    }.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/webgl/shaders/sources/resolver.js":
  /*!**************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/resolver.js ***!
    \**************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersSourcesResolverJs(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__(
    /*! ../../../../../webgl */
    "./node_modules/arcgis-js-api/views/webgl.js"), __webpack_require__(
    /*! ./shaderRepository */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/shaderRepository.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, o) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var t = new n.ShaderCompiler(function (e) {
        var r = o;
        return e.split("/").forEach(function (e) {
          r && (r = r[e]);
        }), r;
      });

      r.resolveIncludes = function (e) {
        return t.resolveIncludes(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/webgl/shaders/sources/shaderRepository.js":
  /*!**********************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/shaders/sources/shaderRepository.js ***!
    \**********************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglShadersSourcesShaderRepositoryJs(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, t) {
      return {
        background: {
          "background.frag": "uniform lowp vec4 u_color;\nvoid main() {\n  gl_FragColor = u_color;\n}",
          "background.vert": "attribute vec2 a_pos;\nuniform highp mat3 u_dvsMat3;\nuniform mediump vec2 u_coord_range;\nuniform mediump float u_depth;\nvoid main() {\n  vec3 v_pos = u_dvsMat3 * vec3(u_coord_range * a_pos, 1.0);\n  gl_Position = vec4(v_pos.xy, 0.0, 1.0);\n}"
        },
        bitBlit: {
          "bitBlit.frag": "uniform lowp sampler2D u_tex;\nuniform lowp float u_opacity;\nvarying mediump vec2 v_uv;\nvoid main() {\n  lowp vec4 color = texture2D(u_tex, v_uv);\n  gl_FragColor = color *  u_opacity;\n}",
          "bitBlit.vert": "attribute vec2 a_pos;\nattribute vec2 a_tex;\nvarying mediump vec2 v_uv;\nvoid main(void) {\n  gl_Position = vec4(a_pos, 0.0, 1.0);\n  v_uv = a_tex;\n}"
        },
        filtering: {
          "bicubic.glsl": "vec4 computeWeights(float v) {\n  float b = 1.0 / 6.0;\n  float v2 = v * v;\n  float v3 = v2 * v;\n  float w0 = b * (-v3 + 3.0 * v2 - 3.0 * v + 1.0);\n  float w1 = b * (3.0 * v3  - 6.0 * v2 + 4.0);\n  float w2 = b * (-3.0 * v3 + 3.0 * v2 + 3.0 * v + 1.0);\n  float w3 = b * v3;\n  return vec4(w0, w1, w2, w3);\n}\nvec4 bicubicOffsetsAndWeights(float v) {\n  vec4 w = computeWeights(v);\n  float g0 = w.x + w.y;\n  float g1 = w.z + w.w;\n  float h0 = 1.0 - (w.y / g0) + v;\n  float h1 = 1.0 + (w.w / g1) - v;\n  return vec4(h0, h1, g0, g1);\n}\nvec4 sampleBicubicBSpline(sampler2D sampler, vec2 coords, vec2 texSize) {\n  vec2 eX = vec2(1.0 / texSize.x, 0.0);\n  vec2 eY = vec2(0.0, 1.0 / texSize.y);\n  vec2 texel = coords * texSize - 0.5;\n  vec3 hgX = bicubicOffsetsAndWeights(fract(texel).x).xyz;\n  vec3 hgY = bicubicOffsetsAndWeights(fract(texel).y).xyz;\n  vec2 coords10 = coords + hgX.x * eX;\n  vec2 coords00 = coords - hgX.y * eX;\n  vec2 coords11 = coords10 + hgY.x * eY;\n  vec2 coords01 = coords00 + hgY.x * eY;\n  coords10 = coords10 - hgY.y * eY;\n  coords00 = coords00 - hgY.y * eY;\n  vec4 color00 = texture2D(sampler, coords00);\n  vec4 color10 = texture2D(sampler, coords10);\n  vec4 color01 = texture2D(sampler, coords01);\n  vec4 color11 = texture2D(sampler, coords11);\n  color00 = mix(color00, color01, hgY.z);\n  color10 = mix(color10, color11, hgY.z);\n  color00 = mix(color00, color10, hgX.z);\n  return color00;\n}",
          "bilinear.glsl": "vec4 sampleBilinear(sampler2D sampler, vec2 coords, vec2 texSize) {\n  vec2 texelStart = floor(coords * texSize);\n  vec2 coord0 = texelStart / texSize;\n  vec2 coord1 = (texelStart +  vec2(1.0, 0.0)) / texSize;\n  vec2 coord2 = (texelStart +  vec2(0.0, 1.0)) / texSize;\n  vec2 coord3 = (texelStart +  vec2(1.0, 1.0)) / texSize;\n  vec4 color0 = texture2D(sampler, coord0);\n  vec4 color1 = texture2D(sampler, coord1);\n  vec4 color2 = texture2D(sampler, coord2);\n  vec4 color3 = texture2D(sampler, coord3);\n  vec2 blend = fract(coords * texSize);\n  vec4 color01 = mix(color0, color1, blend.x);\n  vec4 color23 = mix(color2, color3, blend.x);\n  return mix(color01, color23, blend.y);\n}",
          "epx.glsl": "vec4 sampleEPX(sampler2D sampler, float size, vec2 coords, vec2 texSize) {\n  vec2 invSize = 1.0 / texSize;\n  vec2 texel = coords * texSize;\n  vec2 texel_i = floor(texel);\n  vec2 texel_frac = fract(texel);\n  vec4 colorP = texture2D(sampler, texel_i * invSize);\n  vec4 colorP1 = vec4(colorP);\n  vec4 colorP2 = vec4(colorP);\n  vec4 colorP3 = vec4(colorP);\n  vec4 colorP4 = vec4(colorP);\n  vec4 colorA = texture2D(sampler, (texel_i - vec2(0.0, 1.0)) * invSize);\n  vec4 colorB = texture2D(sampler, (texel_i + vec2(1.0, 0.0)) * invSize);\n  vec4 colorC = texture2D(sampler, (texel_i - vec2(1.0, 0.0)) * invSize);\n  vec4 colorD = texture2D(sampler, (texel_i + vec2(0.0, 1.0)) * invSize);\n  if (colorC == colorA && colorC != colorD && colorA != colorB) {\n    colorP1 = colorA;\n  }\n  if (colorA == colorB && colorA != colorC && colorB != colorD) {\n    colorP2 = colorB;\n  }\n  if (colorD == colorC && colorD != colorB && colorC != colorA) {\n    colorP3 = colorC;\n  }\n  if (colorB == colorD && colorB != colorA && colorD != colorC) {\n    colorP4 = colorD;\n  }\n  vec4 colorP12 = mix(colorP1, colorP2, texel_frac.x);\n  vec4 colorP34 = mix(colorP1, colorP2, texel_frac.x);\n  return mix(colorP12, colorP34, texel_frac.y);\n}"
        },
        fx: {
          integrate: {
            "integrate.frag": "precision mediump float;\nuniform lowp sampler2D u_sourceTexture;\nuniform lowp sampler2D u_maskTexture;\nuniform mediump float u_zoomLevel;\nuniform highp float u_timeDelta;\nuniform highp float u_animationTime;\nvarying highp vec2 v_texcoord;\n#include <materials/utils.glsl>\nvoid main()\n{\n#ifdef DELTA\n  vec4 texel = texture2D(u_sourceTexture, v_texcoord);\n  vec4 data0 = texture2D(u_maskTexture, v_texcoord);\n  float flags = data0.r * 255.0;\n  float groupMinZoom = data0.g * 255.0;\n  float isVisible = getFilterBit(flags, 0);\n  float wouldClip = step(groupMinZoom, u_zoomLevel);\n  float direction = wouldClip * 1.0 + (1.0 - wouldClip) * -1.0;\n  float dt = u_timeDelta / max(u_animationTime, 0.0001);\n  vec4 nextState = vec4(texel + direction * dt);\n  gl_FragColor =  vec4(nextState);\n#elif defined(UPDATE)\n  vec4 texel = texture2D(u_sourceTexture, v_texcoord);\n  gl_FragColor = texel;\n#endif\n}",
            "integrate.vert": "precision mediump float;\nattribute vec2 a_pos;\nvarying highp vec2 v_texcoord;\nvoid main()\n{\n  v_texcoord = a_pos;\n  gl_Position = vec4(a_pos * 2.0 - 1.0, 0.0, 1.0);\n}"
          }
        },
        highlight: {
          "blur.frag": "varying mediump vec2 v_texcoord;\nuniform mediump vec4 u_direction;\nuniform mediump mat4 u_channelSelector;\nuniform mediump vec4 u_sigmas;\nuniform sampler2D u_texture;\nmediump vec4 gauss4(mediump vec2 dir) {\n  return exp(-dot(dir, dir) / (2.0 * u_sigmas * u_sigmas));\n}\nmediump float gauss1(mediump vec2 dir) {\n  return exp(-dot(dir, dir) / (2.0 * u_sigmas[3] * u_sigmas[3]));\n}\nmediump vec4 selectChannel(mediump vec4 sample) {\n  return u_channelSelector * sample;\n}\nvoid accumGauss4(mediump float i, inout mediump vec4 tot, inout mediump vec4 weight) {\n  mediump vec4 w = gauss4(i * u_direction.xy);\n  tot += selectChannel(texture2D(u_texture, v_texcoord + i * u_direction.zw)) * w;\n  weight += w;\n}\nvoid accumGauss1(mediump float i, inout mediump float tot, inout mediump float weight) {\n  mediump float w = gauss1(i * u_direction.xy);\n  tot += selectChannel(texture2D(u_texture, v_texcoord + i * u_direction.zw))[3] * w;\n  weight += w;\n}\nvoid main(void) {\n  mediump float tot = 0.0;\n  mediump float weight = 0.0;\n  accumGauss1(-4.0, tot, weight);\n  accumGauss1(-3.0, tot, weight);\n  accumGauss1(-2.0, tot, weight);\n  accumGauss1(-1.0, tot, weight);\n  accumGauss1(0.0, tot, weight);\n  accumGauss1(1.0, tot, weight);\n  accumGauss1(2.0, tot, weight);\n  accumGauss1(3.0, tot, weight);\n  accumGauss1(4.0, tot, weight);\n  gl_FragColor = vec4(0.0, 0.0, 0.0, tot / weight);\n}",
          "highlight.frag": "varying mediump vec2 v_texcoord;\nuniform sampler2D u_texture;\nuniform mediump vec4 u_sigmas;\nuniform sampler2D u_shade;\nuniform mediump vec2 u_minMaxDistance;\nmediump float estimateDistance() {\n  mediump float sigma = u_sigmas[3];\n  mediump float y = texture2D(u_texture, v_texcoord)[3];\n  const mediump float y0 = 0.5;\n  mediump float m0 = 1.0 / (sqrt(2.0 * 3.1415) * sigma);\n  mediump float d = (y - y0) / m0;\n  return d;\n}\nmediump vec4 shade(mediump float d) {\n  mediump float mappedDistance = (d - u_minMaxDistance.x) / (u_minMaxDistance.y - u_minMaxDistance.x);\n  mappedDistance = clamp(mappedDistance, 0.0, 1.0);\n  return texture2D(u_shade, vec2(mappedDistance, 0.5));\n}\nvoid main(void) {\n  mediump float d = estimateDistance();\n  gl_FragColor = shade(d);\n}",
          "textured.vert": "attribute mediump vec2 a_position;\nattribute mediump vec2 a_texcoord;\nvarying mediump vec2 v_texcoord;\nvoid main(void) {\n  gl_Position = vec4(a_position, 0.0, 1.0);\n  v_texcoord = a_texcoord;\n}"
        },
        magnifier: {
          "magnifier.frag": "uniform lowp vec4 u_background;\nuniform mediump sampler2D u_readbackTexture;\nuniform mediump sampler2D u_maskTexture;\nuniform mediump sampler2D u_overlyTexture;\nvarying mediump vec2 v_texCoord;\nvoid main(void)\n{\n  lowp vec4 color = texture2D(u_readbackTexture, v_texCoord);\n  color = color + (1.0 - color.a) * u_background;\n  lowp vec4 mask_color = texture2D(u_maskTexture, v_texCoord);\n  lowp float gray = 1.0 - dot(mask_color, vec4(0.3, 0.59, 0.11, 0));\n  color *= gray;\n  lowp vec4 overley_color = texture2D(u_overlyTexture, v_texCoord);\n  overley_color.rgb *= overley_color.a;\n  gl_FragColor = overley_color + (1.0 - overley_color.a) * color;\n}",
          "magnifier.vert": "precision mediump float;\nattribute mediump vec2 a_pos;\nuniform mediump vec2 u_drawPos;\nuniform mediump float u_width;\nuniform mediump float u_height;\nvarying mediump vec2 v_texCoord;\nvoid main(void)\n{\n  v_texCoord = a_pos;\n  vec2 coord = u_drawPos + vec2(a_pos - 0.5) * vec2(u_width, u_height);\n  gl_Position = vec4(coord, 0.0, 1.0);\n}"
        },
        materials: {
          "attributeData.glsl": "uniform highp sampler2D u_attributeData0;\nuniform highp sampler2D u_attributeData1;\nuniform highp sampler2D u_attributeData2;\nuniform highp sampler2D u_attributeData3;\nuniform highp int u_attributeTextureSize;\nhighp vec2 getAttributeDataCoords(in highp vec4 id) {\n  highp vec4 texel = unpackLocalIdTexel(id);\n  highp float size = float(u_attributeTextureSize);\n  highp float u32 = float(int(texel.r) + int(texel.g) * 256 + int(texel.b) * 256 * 256 + int(texel.a) * 256 * 256 * 256);\n  highp float col = mod(u32, size);\n  highp float row = (u32 - col) / size;\n  highp float u = col / size;\n  highp float v = row / size;\n  return vec2(u, v);\n}\nhighp vec4 getAttributeData0(in highp vec4 id) {\n  vec2 coords = getAttributeDataCoords(id);\n  return texture2D(u_attributeData0, coords);\n}\nhighp vec4 getAttributeData1(in highp vec4 id) {\n  highp vec2 coords = getAttributeDataCoords(id);\n  return texture2D(u_attributeData1, coords);\n}\nhighp vec4 getAttributeData2(in highp vec4 id) {\n  highp vec2 coords = getAttributeDataCoords(id);\n  return texture2D(u_attributeData2, coords);\n}\nhighp vec4 getAttributeData3(in highp vec4 id) {\n  highp vec2 coords = getAttributeDataCoords(id);\n  return texture2D(u_attributeData3, coords);\n}\nfloat u88VVToFloat(in vec2 v) {\n  bool isMagic = v.x == 255.0 && v.y == 255.0;\n  if (isMagic) {\n    return NAN_MAGIC_NUMBER;\n  }\n  return (v.x + v.y * float(0x100)) - 32768.0;\n}",
          "constants.glsl": "const float C_DEG_TO_RAD = 3.14159265359 / 180.0;\nconst float SIGNED_BYTE_TO_UNSIGNED = 128.0;\nconst float SOFT_EDGE_RATIO = 1.0;\nconst float THIN_LINE_WIDTH_FACTOR = 1.1;\nconst float THIN_LINE_HALF_WIDTH = 1.0;\nconst float OFFSET_PRECISION = 1.0 / 8.0;\nconst float OUTLINE_SCALE = 1.0 / 5.0;\nconst float SDF_FONT_SIZE = 24.0;\nconst float MAX_SDF_DISTANCE = 8.0;\nconst float PLACEMENT_PADDING = 8.0;\nconst float EPSILON = 0.0000001;\nconst int MAX_FILTER_COUNT = 2;\nconst int ATTR_VV_SIZE = 0;\nconst int ATTR_VV_COLOR = 1;\nconst int ATTR_VV_OPACITY = 2;\nconst int ATTR_VV_ROTATION = 3;\nconst highp float NAN_MAGIC_NUMBER = 1e-30;",
          "effects.glsl": "uniform highp mat4 u_insideEffectMat4[ MAX_FILTER_COUNT ];\nuniform highp mat4 u_outsideEffectMat4[ MAX_FILTER_COUNT ];\nuniform highp float u_insideOpacities[ MAX_FILTER_COUNT ];\nuniform highp float u_outsideOpacities[ MAX_FILTER_COUNT ];\nvec4 getEffectColor(in vec4 color, in float filterFlags) {\n  vec4 rgbw = vec4(color.a > 0.0 ? color.rgb / color.a : vec3(0.0), 1.0);\n  float a = color.a;\n  for (int i = 1; i < EFFECT_COUNT + 1; i++) {\n    float bit = getFilterBit(filterFlags, i);\n    rgbw = u_insideEffectMat4[ i ] * (bit  * rgbw) + u_outsideEffectMat4[ i ] * ((1.0 - bit) * rgbw);\n    a    = u_insideOpacities[ i ]  * (bit  * a)    + u_outsideOpacities[ i ]  * ((1.0 - bit) * a);\n  }\n  return vec4(rgbw.rgb * a, a);\n}\nvec3 applyFilter(inout vec4 color, inout vec3 pos, in float filterFlags) {\n  vec4 rgbw = vec4(color.a > 0.0 ? color.rgb / color.a : vec3(0.0), 1.0);\n  float a = color.a;\n  for (int i = 0; i < EFFECT_COUNT + 1; i++) {\n    float bit = getFilterBit(filterFlags, i);\n    rgbw = u_insideEffectMat4[ i ] * (bit  * rgbw) + u_outsideEffectMat4[ i ] * ((1.0 - bit) * rgbw);\n    a    = u_insideOpacities[ i ]  * (bit  * a)    + u_outsideOpacities[ i ]  * ((1.0 - bit) * a);\n  }\n  color.rgb = rgbw.rgb * a;\n  color.a = a;\n  pos.z += 2.0 * (1.0 - getFilterBit(filterFlags, 0));\n#ifdef HIGHLIGHT\n  pos.z += 2.0 * (1.0 - getHighlightBit(filterFlags));\n#endif\n  return pos;\n}\nvec3 applyFilterLabels(inout vec4 color, inout vec3 pos, in float filterFlags) {\n  float bit = getFilterBit(filterFlags, 0);\n  pos.z += 2.0 * (1.0 - bit);\n#ifndef OUTSIDE_LABELS_VISIBLE\n  for (int i = 1; i < EFFECT_COUNT + 1; i++) {\n    float bit = getFilterBit(filterFlags, i);\n    pos.z += 2.0 * (1.0 - bit);\n  }\n#endif\n  return pos;\n}",
          fill: {
            "common.glsl": "#ifdef PATTERN\nuniform mediump vec2 u_mosaicSize;\n#endif\n#ifdef DOT_DENSITY\nuniform lowp vec4 u_isActive[ 2 ];\nuniform highp float u_dotValue;\nuniform highp float u_tileDotsOverArea;\nuniform highp float u_dotTextureDotCount;\nuniform mediump float u_tileZoomFactor;\n#endif\nvarying vec3 v_pos;\nvarying lowp float v_opacity;\nvarying lowp vec4 v_color;\nvarying highp vec4 v_id;\nvarying highp float v_flags;\n#ifdef PATTERN\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_tileTextureCoord;\n#endif\n#ifdef DOT_DENSITY\nvarying vec2 v_dotTextureCoords;\nvarying vec4 v_dotThresholds[ 2 ];\n#endif",
            "fill.frag": "precision highp float;\n#include <materials/constants.glsl>\n#include <materials/utils.glsl>\n#include <materials/fill/common.glsl>\n#ifdef DOT_DENSITY\n#include <materials/effects.glsl>\n#endif\n#ifdef PATTERN\nuniform lowp sampler2D u_texture;\n#endif\n#ifdef DOT_DENSITY\nuniform mediump mat4 u_dotColors[ 2 ];\nuniform sampler2D u_dotTextures[ 2 ];\nuniform vec4 u_dotBackgroundColor;\n#endif\nvoid main() {\n#ifdef ID\n  gl_FragColor = v_id;\n#elif defined(PATTERN)\n  mediump vec2 normalizedTextureCoord = mod(v_tileTextureCoord, 1.0);\n  mediump vec2 samplePos = mix(v_tlbr.xy, v_tlbr.zw, normalizedTextureCoord);\n  lowp vec4 color = texture2D(u_texture, samplePos);\n  gl_FragColor = v_opacity * v_color * color;\n#elif defined(DOT_DENSITY) && !defined(HIGHLIGHT)\n  vec4 textureThresholds0 = texture2D(u_dotTextures[0], v_dotTextureCoords);\n  vec4 textureThresholds1 = texture2D(u_dotTextures[1], v_dotTextureCoords);\n  vec4 difference0 = v_dotThresholds[0] - textureThresholds0;\n  vec4 difference1 = v_dotThresholds[1] - textureThresholds1;\n#ifdef DD_DOT_BLENDING\n  vec4 isPositive0 = step(0.0, difference0);\n  vec4 isPositive1 = step(0.0, difference1);\n  float weightSum = dot(isPositive0, difference0) + dot(isPositive1, difference1);\n  float lessThanEqZero = step(weightSum, 0.0);\n  float greaterThanZero = 1.0 - lessThanEqZero ;\n  float divisor = (weightSum + lessThanEqZero);\n  vec4 weights0 = difference0 * isPositive0 / divisor;\n  vec4 weights1 = difference1 * isPositive1 / divisor;\n  vec4 dotColor = u_dotColors[0] * weights0 + u_dotColors[1] * weights1;\n  vec4 preEffectColor = greaterThanZero * dotColor + lessThanEqZero * u_dotBackgroundColor;\n#else\n  float diffMax = max(max4(difference0), max4(difference1));\n  float lessThanZero = step(diffMax, 0.0);\n  float greaterOrEqZero = 1.0 - lessThanZero;\n  vec4 isMax0 = step(diffMax, difference0);\n  vec4 isMax1 = step(diffMax, difference1);\n  vec4 dotColor = u_dotColors[0] * isMax0 + u_dotColors[1] * isMax1;\n  vec4 preEffectColor = greaterOrEqZero * dotColor + lessThanZero * u_dotBackgroundColor;\n#endif\n  gl_FragColor = getEffectColor(preEffectColor, v_flags);\n#else\n  gl_FragColor = v_opacity * v_color;\n#endif\n#ifdef HIGHLIGHT\n  gl_FragColor.a = 1.0;\n#endif\n}",
            "fill.vert": "precision mediump float;\n#ifdef DOT_DENSITY\nattribute float a_inverseArea;\nvec4 a_color = vec4(0.0, 0.0, 0.0, 1.0);\nvec4 a_aux3 = vec4(0.0);\n#else\nattribute vec4 a_color;\nattribute vec4 a_tlbr;\nattribute vec4 a_aux1;\nattribute vec2 a_aux2;\nattribute vec4 a_aux3;\n#endif\n#include <materials/vcommon.glsl>\n#include <materials/fill/common.glsl>\n#ifdef DOT_DENSITY\nvec4 dotThreshold(vec4 featureAttrOverFeatureArea, float dotValue, float tileDotsOverArea) {\n  return featureAttrOverFeatureArea * (1.0 / dotValue)  * (1.0 / tileDotsOverArea);\n}\n#endif\n#ifdef PATTERN\nmat3 getPatternMatrix() {\n  mat3 patternMatrix = mat3(1.0);\n  vec2 aux2 = (1.0 / SIGNED_BYTE_TO_UNSIGNED) * a_aux2;\n  patternMatrix[0][0] = 1.0 / (u_zoomFactor * a_aux1.x * aux2.x);\n  patternMatrix[1][1] = 1.0 / (u_zoomFactor * a_aux1.y * aux2.y);\n  return patternMatrix;\n}\n#endif\nvoid main()\n{\n  INIT;\n  float a_bitSet = a_aux3.a;\n  v_color     = getColor(a_color, a_bitSet, 0);\n  v_opacity   = getOpacity(a_bitSet, 1);\n  v_id        = norm(a_id);\n  v_pos       = u_dvsMat3 * vec3(a_pos, 1.);\n  v_flags     = getFilterFlags();\n#ifdef PATTERN\n  vec2 symbolOffset = u_zoomFactor * (a_aux1.zw - SIGNED_BYTE_TO_UNSIGNED);\n  v_tileTextureCoord = (getPatternMatrix() * vec3(a_pos + symbolOffset, 1.0)).xy;\n  v_tlbr = a_tlbr / u_mosaicSize.xyxy;\n#elif defined(DOT_DENSITY)\n  vec4 ddAttributeData0 = getAttributeData2(a_id) * u_isActive[0] * a_inverseArea;\n  vec4 ddAttributeData1 = getAttributeData3(a_id) * u_isActive[1] * a_inverseArea;\n  float size = u_tileZoomFactor * 512.0 * 1.0 / u_pixelRatio;\n  v_dotThresholds[0] = dotThreshold(ddAttributeData0, u_dotValue, u_tileDotsOverArea);\n  v_dotThresholds[1] = dotThreshold(ddAttributeData1, u_dotValue, u_tileDotsOverArea);\n  v_dotTextureCoords = (a_pos + 0.5) / size;\n#endif\n  gl_Position = vec4(applyFilter(v_color, v_pos, v_flags), 1.0);\n}"
          },
          icon: {
            "common.glsl": "uniform lowp vec2 u_mosaicSize;\nvarying lowp vec4 v_color;\nvarying highp vec4 v_id;\nvarying vec4 v_sizeTex;\nvarying vec3 v_pos;\nvarying float v_filters;\nvarying lowp float v_opacity;\n#ifdef SDF\nvarying lowp vec4 v_outlineColor;\nvarying mediump float v_outlineWidth;\nvarying mediump float v_distRatio;\nvarying float v_overridingOutlineColor;\nvarying float v_isThin;\n#endif",
            "icon.frag": "precision mediump float;\n#include <materials/constants.glsl>\n#include <materials/utils.glsl>\n#include <util/encoding.glsl>\n#include <materials/effects.glsl>\n#include <materials/constants.glsl>\n#include <materials/icon/common.glsl>\nuniform lowp sampler2D u_texture;\nvoid main()\n{\n  vec2 v_size = v_sizeTex.xy;\n  vec2 v_tex  = v_sizeTex.zw;\n#ifdef SDF\n  lowp vec4 fillPixelColor = v_color;\n  float d = 0.5 - rgba2float(texture2D(u_texture, v_tex));\n  float size = max(v_size.x, v_size.y);\n  float dist = d * size * SOFT_EDGE_RATIO * v_distRatio;\n  fillPixelColor *= clamp(0.5 - dist, 0.0, 1.0);\n  float outlineWidth = v_outlineWidth;\n  #ifdef HIGHLIGHT\n    outlineWidth = max(outlineWidth, 4.0 * v_isThin);\n  #endif\n  if (outlineWidth > 0.25) {\n    lowp vec4 outlinePixelColor = v_overridingOutlineColor * v_color + (1.0 - v_overridingOutlineColor) * v_outlineColor;\n    float clampedOutlineSize = min(outlineWidth, size);\n    outlinePixelColor *= clamp(0.5 - abs(dist) + clampedOutlineSize * 0.5, 0.0, 1.0);\n    gl_FragColor = v_opacity * ((1.0 - outlinePixelColor.a) * fillPixelColor + outlinePixelColor);\n  }\n  else {\n    gl_FragColor = v_opacity * fillPixelColor;\n  }\n#else\n   lowp vec4 texColor = texture2D(u_texture, v_tex);\n   gl_FragColor = v_opacity * getEffectColor(texColor, v_filters);\n#endif\n#ifdef HIGHLIGHT\n  gl_FragColor.a = step(1.0 / 255.0, gl_FragColor.a);\n#endif\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
            "icon.vert": "precision mediump float;\nattribute vec4 a_color;\nattribute vec4 a_outlineColor;\nattribute vec4 a_sizeAndOutlineWidth;\nattribute vec2 a_vertexOffset;\nattribute vec2 a_texCoords;\nattribute vec4 a_bitSetAndDistRatio;\n#include <materials/vcommon.glsl>\n#include <materials/icon/common.glsl>\nvec2 getMarkerSize(inout vec2 offset, inout vec2 baseSize, inout float outlineSize, in float referenceSize, in float bitSet) {\n#ifdef VV_SIZE\n  float r = getSize(baseSize.y) / referenceSize;\n  baseSize.xy *= r;\n  offset.xy *= r;\n  float scaleSymbolProportionally = getBit(bitSet, 3);\n  outlineSize *= scaleSymbolProportionally * (r - 1.0) + 1.0;\n#endif\n  return baseSize;\n}\nvec3 getOffset(in vec2 in_offset, float a_bitSet) {\n  float isMapAligned = getBit(a_bitSet, 0);\n  vec3  offset       = getRotation() * vec3(in_offset, 0.0);\n  return getMatrix(isMapAligned) * offset;\n}\nvoid main()\n{\n  INIT;\n  vec2  a_size   = a_sizeAndOutlineWidth.xy * a_sizeAndOutlineWidth.xy / 256.0;\n  vec2  a_offset = a_vertexOffset / 16.0;\n  float a_outlineSize = a_sizeAndOutlineWidth.z * a_sizeAndOutlineWidth.z / 256.0;\n  float a_bitSet = a_bitSetAndDistRatio.z;\n  vec2 v_size = getMarkerSize(a_offset, a_size, a_outlineSize, a_sizeAndOutlineWidth.w * a_sizeAndOutlineWidth.w / 256.0, a_bitSet);\n  vec2 v_tex      = a_texCoords / u_mosaicSize;\n  v_color    = getColor(a_color, a_bitSet, 1);\n  v_opacity  = getOpacity(a_bitSet, 1);\n  v_id       = norm(a_id);\n  v_filters  = getFilterFlags();\n  v_pos      = u_dvsMat3 * vec3(a_pos, 1.0) + getOffset(a_offset, a_bitSet);\n  v_sizeTex  = vec4(v_size.xy, v_tex.xy);\n#ifdef SDF\n  v_isThin   = getBit(a_bitSet, 2);\n  #ifdef VV_COLOR\n    v_overridingOutlineColor = v_isThin;\n  #else\n    v_overridingOutlineColor = 0.0;\n  #endif\n  v_outlineWidth = min(a_outlineSize, max(max(v_size.x, v_size.y) - 0.99, 0.0));\n  v_outlineColor = getEffectColor(a_outlineColor, v_filters);\n  v_distRatio = a_bitSetAndDistRatio.w / 126.0;\n#endif\n  gl_Position = vec4(applyFilter(v_color, v_pos, v_filters), 1.0);\n}"
          },
          label: {
            "common.glsl": "uniform mediump float u_zoomLevel;\nuniform float u_mapRotation;\nuniform float u_mapAligned;\nuniform vec2 u_mosaicSize;\nvarying mediump float v_antialiasingWidth;\nvarying mediump float v_edgeDistanceOffset;\nvarying mediump vec2 v_tex;\nvarying mediump vec4 v_color;\nvarying lowp vec4 v_animation;",
            "label.frag": "precision mediump float;\n#include <materials/label/common.glsl>\nuniform mediump vec2 u_screenSize;\nuniform highp float u_pixelRatio;\nuniform lowp sampler2D u_texture;\nvoid main()\n{\n  mediump vec2 refTextPos = gl_FragCoord.xy / (u_pixelRatio * u_screenSize.xy);\n  lowp float dist = texture2D(u_texture, v_tex).a;\n  float glyphEdgeDistance = max(0.75 - v_edgeDistanceOffset, 0.25);\n  lowp float sdfAlpha = smoothstep(glyphEdgeDistance - v_antialiasingWidth, glyphEdgeDistance + v_antialiasingWidth, dist);\n  gl_FragColor = v_animation.r * sdfAlpha * v_color;\n}",
            "label.vert": "precision mediump float;\nattribute vec4 a_color;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_texAndSize;\nattribute vec4 a_refSymbolAndPlacementOffset;\nattribute vec4 a_zoomRangeAndEmpty;\n#include <materials/vcommon.glsl>\n#include <materials/label/common.glsl>\nfloat getZ(in float minZoom, in float maxZoom, in float angle) {\n  float glyphAngle = angle * 360.0 / 254.0;\n  float mapAngle = u_mapRotation * 360.0 / 254.0;\n  float diffAngle = min(360.0 - abs(mapAngle - glyphAngle), abs(mapAngle - glyphAngle));\n  float z = 0.0;\n  z += u_mapAligned * (2.0 * (1.0 - step(minZoom, u_zoomLevel)));\n  z += u_mapAligned * 2.0 * step(90.0, diffAngle);\n  z += 2.0 * (1.0 - step(u_zoomLevel, maxZoom));\n  return z;\n}\nvoid main()\n{\n  INIT;\n  float groupMinZoom    = getMinZoom();\n  float glyphMinZoom    = a_zoomRangeAndEmpty.x;\n  float a_minZoom       = max(groupMinZoom, glyphMinZoom);\n  float a_maxZoom       = a_zoomRangeAndEmpty.y;\n  vec2  a_placementDir  = a_refSymbolAndPlacementOffset.zw - 1.0;\n  float a_refSymbolSize = a_refSymbolAndPlacementOffset.y;\n  float fontSize        = a_texAndSize.z;\n  float isHalo          = mod(a_pos, 2.0).x;\n  vec2  vertexOffset = a_vertexOffset * OFFSET_PRECISION;\n  vec3  pos          = vec3(floor(a_pos * 0.5), 1.0);\n  float z            = getZ(a_minZoom, a_maxZoom, a_refSymbolAndPlacementOffset.x);\n  float fontScale    = fontSize / SDF_FONT_SIZE;\n  float halfSize     = getSize(a_refSymbolSize) / 2.0;\n  v_color     = a_color;\n  v_tex       = a_texAndSize.xy / u_mosaicSize;\n  v_animation = pow(getAnimationState(), vec4(2.0));\n  v_edgeDistanceOffset = isHalo * OUTLINE_SCALE * a_texAndSize.w / fontScale / MAX_SDF_DISTANCE;\n  v_antialiasingWidth  = 0.106 * SDF_FONT_SIZE / fontSize / u_pixelRatio;\n  vec2 placementOffset = a_placementDir * (halfSize + PLACEMENT_PADDING);\n  vec3 glyphOffset     = u_displayMat3 * vec3(vertexOffset + placementOffset, 0.0);\n  vec3 v_pos           = vec3((u_dvsMat3 * pos + glyphOffset).xy, z);\n  gl_Position = vec4(applyFilterLabels(v_color, v_pos, getFilterFlags()), 1.0);\n#ifdef DEBUG\n  v_color = vec4(a_color.rgb, z == 0.0 ? 1.0 : 0.645);\n#endif\n}"
          },
          line: {
            "common.glsl": "varying lowp vec4 v_color;\nvarying highp vec4 v_id;\nvarying mediump vec2 v_normal;\nvarying mediump float v_lineHalfWidth;\nvarying lowp float v_opacity;\nvarying vec3 v_pos;\n#ifdef PATTERN\nuniform mediump vec2 u_mosaicSize;\nvarying mediump vec4 v_tlbr;\nvarying mediump vec2 v_patternSize;\n#endif\n#if defined(PATTERN) || defined(SDF)\nvarying highp float v_accumulatedDistance;\n#endif",
            "line.frag": "precision lowp float;\n#include <util/encoding.glsl>\n#include <materials/constants.glsl>\n#include <materials/line/common.glsl>\nuniform lowp float u_blur;\nuniform mediump float u_zoomFactor;\n#if defined(PATTERN) || defined(SDF)\nuniform sampler2D u_texture;\n#endif\n#ifdef SDF\nconst float sdfPatternHalfWidth = 15.5;\nconst float widthFactor = 2.0;\n#endif\nvoid main()\n{\n  mediump float thinLineFactor = max(THIN_LINE_WIDTH_FACTOR * step(v_lineHalfWidth, THIN_LINE_HALF_WIDTH), 1.0);\n  mediump float fragDist = length(v_normal) * v_lineHalfWidth;\n  lowp float alpha = clamp(thinLineFactor * (v_lineHalfWidth - fragDist) / (u_blur + thinLineFactor - 1.0), 0.0, 1.0);\n#if defined(SDF) && !defined(HIGHLIGHT)\n  mediump float lineHalfWidth = widthFactor * v_lineHalfWidth;\n  mediump float lineWidthRatio = lineHalfWidth / sdfPatternHalfWidth;\n  mediump float relativeTexX = mod((u_zoomFactor * v_accumulatedDistance + v_normal.x * lineHalfWidth) / (lineWidthRatio * v_patternSize.x), 1.0);\n  mediump float relativeTexY = 0.5 + 0.5 * v_normal.y;\n  mediump vec2 texCoord = mix(v_tlbr.xy, v_tlbr.zw, vec2(relativeTexX, relativeTexY));\n  mediump float d = rgba2float(texture2D(u_texture, texCoord)) - 0.5;\n  float dist = d * lineHalfWidth;\n  lowp vec4 fillPixelColor = v_opacity * alpha * clamp(0.5 - dist, 0.0, 1.0) * v_color;\n  gl_FragColor = fillPixelColor;\n#elif defined(PATTERN) && !defined(HIGHLIGHT)\n  mediump float relativeTexX = mod((u_zoomFactor * v_accumulatedDistance + v_normal.x * v_lineHalfWidth) / v_patternSize.x, 1.0);\n  mediump float relativeTexY = 0.5 + (v_normal.y * v_lineHalfWidth / v_patternSize.y);\n  mediump vec2 texCoord = mix(v_tlbr.xy, v_tlbr.zw, vec2(relativeTexX, relativeTexY));\n  lowp vec4 color = texture2D(u_texture, texCoord);\n  gl_FragColor = v_opacity * alpha * v_color * color;\n#else\n  gl_FragColor = v_opacity * alpha * v_color;\n#endif\n#ifdef HIGHLIGHT\n  gl_FragColor.a = step(1.0 / 255.0, gl_FragColor.a);\n#endif\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
            "line.vert": "precision mediump float;\nattribute vec4 a_color;\nattribute vec4 a_offsetAndNormal;\nattribute vec2 a_accumulatedDistanceAndHalfWidth;\nattribute vec4 a_tlbr;\nattribute vec4 a_segmentDirection;\nattribute vec2 a_aux;\n#include <materials/vcommon.glsl>\n#include <materials/line/common.glsl>\nconst float SCALE = 1.0 / 31.0;\nfloat getBaseLineHalfWidth(in float in_lineHalfWidth) {\n#ifdef VV_SIZE\n  float referenceHalfWidth = a_aux.x * SCALE;\n  float lineWidth = 2.0 * in_lineHalfWidth;\n  return 0.5 * (in_lineHalfWidth / referenceHalfWidth) * getSize(lineWidth);\n#else\n  return in_lineHalfWidth;\n#endif\n}\nfloat getLineHalfWidth(in float baseWidth, in float aa) {\n  float halfWidth = max(baseWidth + aa, 0.45) + 0.1 * aa;\n#ifdef HIGHLIGHT\n  halfWidth = max(halfWidth, 2.0);\n#endif\n  return halfWidth;\n}\nvec2 getDist(in vec2 offset, in float halfWidth) {\n  float thinLineFactor = max(THIN_LINE_WIDTH_FACTOR * step(halfWidth, THIN_LINE_HALF_WIDTH), 1.0);\n#if defined(SDF) && !defined(HIGHLIGHT)\n  thinLineFactor *= 2.0;\n#endif\n  return thinLineFactor * halfWidth * offset * SCALE;\n}\nvoid main()\n{\n  INIT;\n  float a_bitSet          = a_segmentDirection.w;\n  float a_accumulatedDist = a_accumulatedDistanceAndHalfWidth.x;\n  float a_lineHalfWidth   = a_accumulatedDistanceAndHalfWidth.y * SCALE;\n  float aa                = 0.5 * u_antialiasing;\n  vec2  a_offset          = a_offsetAndNormal.xy;\n  float baseWidth = getBaseLineHalfWidth(a_lineHalfWidth);\n  float halfWidth = getLineHalfWidth(baseWidth, aa);\n  float z         = 2.0 * step(baseWidth, 0.0);\n  vec2  dist      = getDist(a_offset, halfWidth);\n  vec3  offset    = u_displayViewMat3 * vec3(dist, 0.0);\n  vec3  pos       = u_dvsMat3 * vec3(a_pos.xy, 1.0) + offset;\n  v_color         = getColor(a_color, a_bitSet, 0);\n  v_opacity       = getOpacity(a_bitSet, 0);\n  v_lineHalfWidth = halfWidth;\n  v_id            = norm(a_id);\n  v_normal        = a_offsetAndNormal.zw * SCALE;\n  v_pos           = vec3(pos.xy, z);\n#ifdef PATTERN\n  v_tlbr          = a_tlbr / u_mosaicSize.xyxy;\n  v_patternSize   = vec2(a_tlbr.z - a_tlbr.x, a_tlbr.w - a_tlbr.y);\n#endif\n#if defined(PATTERN) || defined(SDF)\n  v_accumulatedDistance = a_accumulatedDist + dot(SCALE * a_segmentDirection.xy, dist / u_zoomFactor);\n#endif\n  gl_Position = vec4(applyFilter(v_color, v_pos, getFilterFlags()), 1.0);\n}"
          },
          text: {
            "common.glsl": "uniform vec2 u_mosaicSize;\nvarying highp vec4 v_id;\nvarying vec3 v_pos;\nvarying float v_opacity;\nvarying vec4 v_color;\nvarying vec2 v_tex;\nvarying float v_antialiasingWidth;\nvarying float v_edgeDistanceOffset;\nvarying lowp float v_transparency;",
            "text.frag": "precision mediump float;\n#include <materials/text/common.glsl>\nuniform lowp sampler2D u_texture;\nvoid main()\n{\n  lowp float dist = texture2D(u_texture, v_tex).a;\n  float glyphEdgeDistance = max(0.75 - v_edgeDistanceOffset, 0.25);\n  #ifdef HIGHLIGHT\n    glyphEdgeDistance /= 2.0;\n  #endif\n  lowp float alpha = smoothstep(glyphEdgeDistance - v_antialiasingWidth, glyphEdgeDistance + v_antialiasingWidth, dist) * v_opacity;\n  gl_FragColor = alpha * v_color;\n#ifdef ID\n  if (gl_FragColor.a < 1.0 / 255.0) {\n    discard;\n  }\n  gl_FragColor = v_id;\n#endif\n}",
            "text.vert": "precision mediump float;\n#include <materials/vcommon.glsl>\n#include <materials/text/common.glsl>\nattribute vec4 a_color;\nattribute vec2 a_vertexOffset;\nattribute vec4 a_texFontSize;\nattribute vec4 a_aux;\nfloat getTextSize(inout vec2 offset, in float baseSize, in float referenceSize) {\n#ifdef VV_SIZE\n   float ratio = baseSize / referenceSize;\n   baseSize = ratio * getSize(baseSize);\n#endif\n  return baseSize;\n}\nvoid main()\n{\n  INIT;\n  float a_bitSet    = a_aux.w;\n  float a_fontSize  = a_texFontSize.z;\n  vec2  a_offset    = a_vertexOffset * OFFSET_PRECISION;\n  float a_isHalo    = getBit(a_pos.x, 0);\n  vec3  in_pos      = vec3(floor(a_pos * 0.5), 1.0);\n  float fontSize    = getTextSize(a_offset, a_fontSize, a_aux.z * a_aux.z / 256.0);\n  float scaleFactor = fontSize / a_fontSize;\n  float fontScale   = fontSize / SDF_FONT_SIZE;\n  vec3  offset      = getRotation() * vec3(scaleFactor * a_offset, 0.0);\n  v_color   = a_isHalo * a_color + (1.0 - a_isHalo) * getColor(a_color, a_bitSet, 0);\n  v_opacity = getOpacity(a_bitSet, 0);\n  v_id      = norm(a_id);\n  v_tex     = a_texFontSize.xy / u_mosaicSize;\n  v_pos     = u_dvsMat3 * in_pos + u_displayMat3 * offset;\n  v_edgeDistanceOffset = a_isHalo * OUTLINE_SCALE * a_texFontSize.w / fontScale / MAX_SDF_DISTANCE;\n  v_antialiasingWidth  = 0.105 * SDF_FONT_SIZE / fontSize / u_pixelRatio;\n  gl_Position =  vec4(applyFilter(v_color, v_pos, getFilterFlags()), 1.0);\n}"
          },
          "utils.glsl": "float rshift(in float u32, in int amount) {\n  return floor(u32 / pow(2.0, float(amount)));\n}\nfloat getBit(in float bitset, in int bitIndex) {\n  float offset = pow(2.0, float(bitIndex));\n  return mod(floor(bitset / offset), 2.0);\n}\nfloat getFilterBit(in float bitset, in int bitIndex) {\n  return getBit(bitset, bitIndex + 1);\n}\nfloat getHighlightBit(in float bitset) {\n  return getBit(bitset, 0);\n}\nhighp vec4 unpackLocalIdTexel(in highp vec4 bitset) {\n  float isAggregate = getBit(bitset.a, 7);\n  return (1.0 - isAggregate) * bitset + isAggregate * (vec4(bitset.rgba) - vec4(0.0, 0.0, 0.0, float(0x80)));\n}\nvec4 unpack(in float u32) {\n  float r = mod(rshift(u32, 0), 255.0);\n  float g = mod(rshift(u32, 8), 255.0);\n  float b = mod(rshift(u32, 16), 255.0);\n  float a = mod(rshift(u32, 24), 255.0);\n  return vec4(r, g, b, a);\n}\nvec4 norm(in vec4 v) {\n  return v /= 255.0;\n}\nfloat max4(vec4 target) {\n  return max(max(max(target.x, target.y), target.z), target.w);\n}",
          "vcommon.glsl": "#include <materials/constants.glsl>\n#include <materials/utils.glsl>\n#include <materials/attributeData.glsl>\n#include <materials/vv.glsl>\n#include <materials/effects.glsl>\nattribute vec2 a_pos;\nattribute highp vec4 a_id;\nuniform highp mat3 u_dvsMat3;\nuniform highp mat3 u_displayMat3;\nuniform highp mat3 u_displayViewMat3;\nuniform highp float u_pixelRatio;\nuniform mediump float u_zoomFactor;\nuniform mediump float u_antialiasing;\nvec4 VV_ADATA = vec4(0.0);\nvoid loadVisualVariableData(inout vec4 target) {\n#ifdef OES_TEXTURE_FLOAT\n  target.rgba = getAttributeData2(a_id);\n#else\n  vec4 data0 = getAttributeData2(a_id);\n  vec4 data1 = getAttributeData3(a_id);\n  target.r = u88VVToFloat(data0.rg * 255.0);\n  target.g = u88VVToFloat(data0.ba * 255.0);\n  target.b = u88VVToFloat(data1.rg * 255.0);\n  target.a = u88VVToFloat(data1.ba * 255.0);\n#endif\n}\n#ifdef VV\n  #define INIT loadVisualVariableData(VV_ADATA)\n#else\n  #define INIT\n#endif\nvec4 getColor(in vec4 a_color, in float a_bitSet, int index) {\n#ifdef VV_COLOR\n  float isColorLocked   = getBit(a_bitSet, index);\n  return getVVColor(VV_ADATA[ATTR_VV_COLOR], a_color, isColorLocked);\n#else\n  return a_color;\n#endif\n}\nfloat getOpacity(in float a_bitSet, in int index) {\n#ifdef VV_OPACITY\n  float isOpacityLocked = getBit(a_bitSet, index);\n  return getVVOpacity(VV_ADATA[ATTR_VV_OPACITY], isOpacityLocked);\n#else\n  return 1.0;\n#endif\n}\nfloat getSize(in float in_size) {\n#ifdef VV_SIZE\n  return getVVSize(in_size, VV_ADATA[ATTR_VV_SIZE]);\n#else\n  return in_size;\n#endif\n}\nmat3 getRotation() {\n#ifdef VV_ROTATION\n  return getVVRotationMat3(VV_ADATA[ATTR_VV_ROTATION]);\n#else\n  return mat3(1.0);\n#endif\n}\nfloat getFilterFlags() {\n#ifdef IGNORES_SAMPLER_PRECISION\n  return ceil(getAttributeData0(a_id).x * 255.0);\n#else\n  return getAttributeData0(a_id).x * 255.0;\n#endif\n}\nvec4 getAnimationState() {\n  return getAttributeData1(a_id);\n}\nfloat getMinZoom() {\n  vec4 data0 = getAttributeData0(a_id) * 255.0;\n  return data0.g;\n}\nmat3 getMatrix(float isMapAligned) {\n  return isMapAligned * u_displayViewMat3 + (1.0 - isMapAligned) * u_displayMat3;\n}",
          "vv.glsl": "#if defined(VV_SIZE_MIN_MAX_VALUE) || defined(VV_SIZE_SCALE_STOPS) || defined(VV_SIZE_FIELD_STOPS) || defined(VV_SIZE_UNIT_VALUE)\n  #define VV_SIZE\n#endif\n#if defined(VV_COLOR) || defined(VV_SIZE) || defined(VV_OPACITY) || defined(VV_ROTATION)\n  #define VV\n#endif\n#ifdef VV_COLOR\nuniform highp float u_vvColorValues[8];\nuniform vec4 u_vvColors[8];\n#endif\n#ifdef VV_SIZE_MIN_MAX_VALUE\nuniform highp vec4 u_vvSizeMinMaxValue;\n#endif\n#ifdef VV_SIZE_SCALE_STOPS\nuniform highp float u_vvSizeScaleStopsValue;\n#endif\n#ifdef VV_SIZE_FIELD_STOPS\nuniform highp float u_vvSizeFieldStopsValues[6];\nuniform float u_vvSizeFieldStopsSizes[6];\n#endif\n#ifdef VV_SIZE_UNIT_VALUE\nuniform highp float u_vvSizeUnitValueWorldToPixelsRatio;\n#endif\n#ifdef VV_OPACITY\nuniform highp float u_vvOpacityValues[8];\nuniform float u_vvOpacities[8];\n#endif\n#ifdef VV_ROTATION\nuniform lowp float u_vvRotationType;\n#endif\nbool isNan(float val) {\n  return (val == NAN_MAGIC_NUMBER);\n}\n#ifdef VV_SIZE_MIN_MAX_VALUE\nfloat getVVMinMaxSize(float sizeValue, float fallback) {\n  if (isNan(sizeValue)) {\n    return fallback;\n  }\n  float interpolationRatio = (sizeValue  - u_vvSizeMinMaxValue.x) / (u_vvSizeMinMaxValue.y - u_vvSizeMinMaxValue.x);\n  interpolationRatio = clamp(interpolationRatio, 0.0, 1.0);\n  return u_vvSizeMinMaxValue.z + interpolationRatio * (u_vvSizeMinMaxValue.w - u_vvSizeMinMaxValue.z);\n}\n#endif\n#ifdef VV_SIZE_FIELD_STOPS\nconst int VV_SIZE_N = 6;\nfloat getVVStopsSize(float sizeValue, float fallback) {\n  if (isNan(sizeValue)) {\n    return fallback;\n  }\n  if (sizeValue <= u_vvSizeFieldStopsValues[0]) {\n    return u_vvSizeFieldStopsSizes[0];\n  }\n  for (int i = 1; i < VV_SIZE_N; ++i) {\n    if (u_vvSizeFieldStopsValues[i] >= sizeValue) {\n      float f = (sizeValue - u_vvSizeFieldStopsValues[i-1]) / (u_vvSizeFieldStopsValues[i] - u_vvSizeFieldStopsValues[i-1]);\n      return mix(u_vvSizeFieldStopsSizes[i-1], u_vvSizeFieldStopsSizes[i], f);\n    }\n  }\n  return u_vvSizeFieldStopsSizes[VV_SIZE_N - 1];\n}\n#endif\n#ifdef VV_SIZE_UNIT_VALUE\nfloat getVVUnitValue(float sizeValue, float fallback) {\n  if (isNan(sizeValue)) {\n    return fallback;\n  }\n  return u_vvSizeUnitValueWorldToPixelsRatio * sizeValue;\n}\n#endif\n#ifdef VV_OPACITY\nconst int VV_OPACITY_N = 8;\nfloat getVVOpacity(float opacityValue, float isOpacityLocked) {\n  if (isNan(opacityValue) || isOpacityLocked == 1.0) {\n    return 1.0;\n  }\n  if (opacityValue <= u_vvOpacityValues[0]) {\n    return u_vvOpacities[0];\n  }\n  for (int i = 1; i < VV_OPACITY_N; ++i) {\n    if (u_vvOpacityValues[i] >= opacityValue) {\n      float f = (opacityValue - u_vvOpacityValues[i-1]) / (u_vvOpacityValues[i] - u_vvOpacityValues[i-1]);\n      return mix(u_vvOpacities[i-1], u_vvOpacities[i], f);\n    }\n  }\n  return u_vvOpacities[VV_OPACITY_N - 1];\n}\n#endif\n#ifdef VV_ROTATION\nmat4 getVVRotation(float rotationValue) {\n  if (isNan(rotationValue)) {\n    return mat4(1, 0, 0, 0,\n                0, 1, 0, 0,\n                0, 0, 1, 0,\n                0, 0, 0, 1);\n  }\n  float rotation = rotationValue;\n  if (u_vvRotationType == 1.0) {\n    rotation = 90.0 - rotation;\n  }\n  float angle = C_DEG_TO_RAD * rotation;\n  float sinA = sin(angle);\n  float cosA = cos(angle);\n  return mat4(cosA, sinA, 0, 0,\n              -sinA,  cosA, 0, 0,\n              0,     0, 1, 0,\n              0,     0, 0, 1);\n}\nmat3 getVVRotationMat3(float rotationValue) {\n  if (isNan(rotationValue)) {\n    return mat3(1, 0, 0,\n                0, 1, 0,\n                0, 0, 1);\n  }\n  float rotation = rotationValue;\n  if (u_vvRotationType == 1.0) {\n    rotation = 90.0 - rotation;\n  }\n  float angle = C_DEG_TO_RAD * -rotation;\n  float sinA = sin(angle);\n  float cosA = cos(angle);\n  return mat3(cosA, -sinA, 0,\n             sinA, cosA, 0,\n              0,    0,    1);\n}\n#endif\n#ifdef VV_COLOR\nconst int VV_COLOR_N = 8;\nvec4 getVVColor(float colorValue, vec4 fallback, float isColorLocked) {\n  if (isNan(colorValue) || isColorLocked == 1.0) {\n    return fallback;\n  }\n  if (colorValue <= u_vvColorValues[0]) {\n    return u_vvColors[0];\n  }\n  for (int i = 1; i < VV_COLOR_N; ++i) {\n    if (u_vvColorValues[i] >= colorValue) {\n      float f = (colorValue - u_vvColorValues[i-1]) / (u_vvColorValues[i] - u_vvColorValues[i-1]);\n      return mix(u_vvColors[i-1], u_vvColors[i], f);\n    }\n  }\n  return u_vvColors[VV_COLOR_N - 1];\n}\n#endif\nfloat getVVSize(in float size, in float vvSize)  {\n#ifdef VV_SIZE_MIN_MAX_VALUE\n  return getVVMinMaxSize(vvSize, size);\n#elif defined(VV_SIZE_SCALE_STOPS)\n  return u_vvSizeScaleStopsValue;\n#elif defined(VV_SIZE_FIELD_STOPS)\n  float outSize = getVVStopsSize(vvSize, size);\n  return isNan(outSize) ? size : outSize;\n#elif defined(VV_SIZE_UNIT_VALUE)\n  return getVVUnitValue(vvSize, size);\n#else\n  return size;\n#endif\n}"
        },
        raster: {
          bitmap: {
            "bitmap.frag": "precision mediump float;\nvarying highp vec2 v_texcoord;\nuniform sampler2D u_texture;\nuniform highp vec2 u_coordScale;\n#include <filtering/bicubic.glsl>\nvoid main() {\n#ifdef BICUBIC\n  vec4 color = sampleBicubicBSpline(u_texture, v_texcoord, u_coordScale);\n#else\n  vec4 color = texture2D(u_texture, v_texcoord);\n#endif\n  gl_FragColor = vec4(color.rgb * color.a, color.a);\n}",
            "bitmap.vert": "precision mediump float;\nattribute vec2 a_pos;\nuniform highp mat3 u_dvsMat3;\nuniform highp vec2 u_coordScale;\nvarying highp vec2 v_texcoord;\nvoid main()\n{\n  v_texcoord = a_pos;\n  gl_Position = vec4(u_dvsMat3 * vec3(a_pos * u_coordScale, 1.0), 1.0);\n}"
          }
        },
        stencil: {
          "stencil.frag": "void main() {\n  gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);\n}",
          "stencil.vert": "attribute vec2 a_pos;\nvoid main() {\n  gl_Position = vec4(a_pos, 0.0, 1.0);\n}"
        },
        tileInfo: {
          "tileInfo.frag": "uniform mediump sampler2D u_texture;\nvarying mediump vec2 v_tex;\nvoid main(void) {\n  lowp vec4 color = texture2D(u_texture, v_tex);\n  gl_FragColor = 0.75 * color;\n}",
          "tileInfo.vert": "attribute vec2 a_pos;\nuniform highp mat3 u_dvsMat3;\nuniform mediump float u_depth;\nuniform mediump vec2 u_coord_ratio;\nuniform mediump vec2 u_delta;\nuniform mediump vec2 u_dimensions;\nvarying mediump vec2 v_tex;\nvoid main() {\n  mediump vec2 offset = u_coord_ratio * vec2(u_delta + a_pos * u_dimensions);\n  vec3 v_pos = u_dvsMat3 * vec3(offset, 1.0);\n  gl_Position = vec4(v_pos.xy, 0.0, 1.0);\n  v_tex = a_pos;\n}"
        },
        util: {
          "encoding.glsl": "const vec4 rgba2float_factors = vec4(\n    255.0 / (256.0),\n    255.0 / (256.0 * 256.0),\n    255.0 / (256.0 * 256.0 * 256.0),\n    255.0 / (256.0 * 256.0 * 256.0 * 256.0)\n  );\nfloat rgba2float(vec4 rgba) {\n  return dot(rgba, rgba2float_factors);\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/engine/webgl/util/BidiText.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/BidiText.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilBidiTextJs(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__(
    /*! dojox/string/BidiEngine */
    "./node_modules/dojox/string/BidiEngine.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, r) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });
      var n = new r();

      i.bidiText = function (e) {
        return n.hasBidiChar(e) ? (i = "rtl" === n.checkContextual(e) ? "IDNNN" : "ICNNN", [n.bidiTransform(e, i, "VLYSN"), !0]) : [e, !1];
        var i;
      };
    }.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/webgl/util/Lock.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Lock.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilLockJs(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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var n = function () {
        function e() {
          this._resolver = null;
        }

        return e.prototype.isHeld = function () {
          return !!this._resolver;
        }, e.prototype.acquire = function () {
          var e = this;
          return this._resolver ? this._resolver.promise.then(function () {
            return e.acquire();
          }) : (this._resolver = t.createResolver(), t.resolve());
        }, e.prototype.release = function () {
          var e = this._resolver;
          this._resolver = null, e.resolve();
        }, e;
      }();

      r["default"] = n, r.withLock = function (r, e, t) {
        return r.acquire().then(function () {
          return e(t);
        }).then(function () {
          return r.release();
        })["catch"](function (e) {
          throw r.release(), 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/webgl/util/Matcher.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Matcher.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilMatcherJs(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/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__(
    /*! ../../../../../support/arcadeOnDemand */
    "./node_modules/arcgis-js-api/support/arcadeOnDemand.js"), __webpack_require__(
    /*! ../../../../../symbols/support/cimSymbolUtils */
    "./node_modules/arcgis-js-api/symbols/support/cimSymbolUtils.js"), __webpack_require__(
    /*! ../../../arcade/utils */
    "./node_modules/arcgis-js-api/views/2d/arcade/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, R, u, n, p, T, w, l) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = n.getLogger("esri/views/2d/engine/webgl/util/Matcher"),
          i = function () {
        function s() {
          this._defaultResult = null;
        }

        return s.fromBasicRenderer = function (i, a, l) {
          return u(this, void 0, void 0, function () {
            var t, r, n;
            return R(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, w.expandSymbols(i.getSymbols())];

                case 1:
                  return t = e.sent(), r = new s(), t.length ? [4, a.createTemplateGroup(t[0], null, i, l)] : [3, 3];

                case 2:
                  n = e.sent(), r.setDefault(n), e.label = 3;

                case 3:
                  return [2, r];
              }
            });
          });
        }, s.prototype.size = function () {
          return 1;
        }, s.prototype.getDefault = function () {
          return this._defaultResult;
        }, s.prototype.setDefault = function (e) {
          this._defaultResult = e;
        }, s.prototype.match = function (e, t, r, n, i) {
          return this.getDefault();
        }, s.prototype.analyze = function (e, t, r, n) {
          return u(this, void 0, void 0, function () {
            return R(this, function (e) {
              return [2];
            });
          });
        }, s;
      }(),
          a = function (a) {
        function M(e, t, r, n) {
          var i = a.call(this) || this;
          return i._intervals = [], i._isMaxInclusive = t, n ? i._getValue = l.callWithFeature.bind(null, n) : e && e.length ? i._getValue = "function" == typeof e ? (i._field = null, e) : (i._field = e, i._normalizationInfo = r, i._getValueFromField.bind(i)) : i._field = null, i;
        }

        return r(M, a), M.fromCBRenderer = function (g, y, z) {
          return u(this, void 0, void 0, function () {
            var t, r, n, i, a, l, s, u, o, c, f, p, h, d, _, m, v, b;

            return R(this, function (e) {
              switch (e.label) {
                case 0:
                  return t = g.isMaxInclusive, r = g.normalizationField, n = g.normalizationTotal, i = g.normalizationType, a = g.field, l = {
                    normalizationField: r,
                    normalizationTotal: n,
                    normalizationType: i
                  }, s = g.valueExpression, (u = s) ? [4, T.createRendererExpression(s, z.spatialReference, z.fields)] : [3, 2];

                case 1:
                  u = e.sent(), e.label = 2;

                case 2:
                  return o = new M(a, t, l, u), [4, w.expandSymbol(g.backgroundFillSymbol)];

                case 3:
                  c = e.sent(), f = 0, p = g.classBreakInfos, e.label = 4;

                case 4:
                  return f < p.length ? (h = p[f], [4, w.expandSymbol(h.symbol)]) : [3, 8];

                case 5:
                  return d = e.sent(), [4, y.createTemplateGroup(d, c, g, z)];

                case 6:
                  _ = e.sent(), m = {
                    min: h.minValue,
                    max: h.maxValue
                  }, o.add(m, _), e.label = 7;

                case 7:
                  return f++, [3, 4];

                case 8:
                  return [4, w.expandSymbol(g.defaultSymbol)];

                case 9:
                  return (v = e.sent()) ? [4, y.createTemplateGroup(v, c, g, z)] : [3, 11];

                case 10:
                  b = e.sent(), o.setDefault(b), e.label = 11;

                case 11:
                  return [2, o];
              }
            });
          });
        }, M.prototype.add = function (e, t) {
          this._intervals.push({
            interval: e,
            result: t
          }), this._intervals.sort(function (e, t) {
            return e.interval.min - t.interval.min;
          });
        }, M.prototype.size = function () {
          return a.prototype.size.call(this) + this._intervals.length;
        }, M.prototype.match = function (e, t, r, n, i) {
          if (!this._getValue) return this.getDefault();

          var a = this._getValue(t, {
            $view: i
          }, r, n);

          if (!a && (null == a || isNaN(a))) return this.getDefault();

          for (var l = 0; l < this._intervals.length; l++) {
            var s = this._intervals[l],
                u = s.interval,
                o = s.result,
                c = a >= u.min,
                f = this._isMaxInclusive ? a <= u.max : a < u.max;
            if (c && f) return o;
          }

          return this.getDefault();
        }, M.prototype._needsNormalization = function () {
          var e = this._normalizationInfo;
          return e && (e.normalizationField || e.normalizationTotal || e.normalizationType);
        }, M.prototype._getValueFromField = function (e) {
          var t = e.attributes[this._field];
          if (!this._needsNormalization()) return t;
          var r = this._normalizationInfo,
              n = r.normalizationField,
              i = r.normalizationTotal,
              a = r.normalizationType,
              l = !!n && e.attributes[n];
          if (a) switch (a) {
            case "field":
              return l ? t / l : void 0;

            case "log":
              return Math.log(t) * Math.LOG10E;

            case "percent-of-total":
              return t / i * 100;

            default:
              return void s.error("Found unknown normalization type: " + a);
          } else s.error("Normalization is required, but no type was set!");
        }, M;
      }(t.FeatureMatcher = i);

      t.IntervalMatcher = a;

      var o = function (i) {
        function v(e, t, r) {
          var n = i.call(this) || this;
          return n._nullResult = null, n._resultsMap = new Map(), r ? n._getValue = l.callWithFeature.bind(null, r) : e && e.length ? "function" == typeof e[0] ? (n._fields = null, n._getValue = e[0]) : (n._fields = e, n._seperator = t || "", n._getValue = n._getValueFromFields.bind(n)) : n._fields = null, n;
        }

        return r(v, i), v.fromUVRenderer = function (d, _, m) {
          return u(this, void 0, void 0, function () {
            var t, r, n, i, a, l, s, u, o, c, f, p, h;
            return R(this, function (e) {
              switch (e.label) {
                case 0:
                  return t = d.uniqueValueInfos, r = d.fieldDelimiter, n = [d.field], i = d.valueExpression, d.field2 && n.push(d.field2), d.field3 && n.push(d.field3), [4, w.expandSymbol(d.backgroundFillSymbol)];

                case 1:
                  return a = e.sent(), (l = i) ? [4, T.createRendererExpression(i, m.spatialReference, m.fields)] : [3, 3];

                case 2:
                  l = e.sent(), e.label = 3;

                case 3:
                  s = new v(n, r, l), u = 0, o = t, e.label = 4;

                case 4:
                  return u < o.length ? (c = o[u], [4, w.expandSymbol(c.symbol)]) : [3, 8];

                case 5:
                  return f = e.sent(), [4, _.createTemplateGroup(f, a, d, m)];

                case 6:
                  p = e.sent(), "<Null>" === c.value ? s.setNullResult(p) : s.add(c.value, p), e.label = 7;

                case 7:
                  return u++, [3, 4];

                case 8:
                  return [4, w.expandSymbol(d.defaultSymbol)];

                case 9:
                  return e.sent() ? [4, _.createTemplateGroup(d.defaultSymbol, a, d, m)] : [3, 11];

                case 10:
                  h = e.sent(), s.setDefault(h), e.label = 11;

                case 11:
                  return [2, s];
              }
            });
          });
        }, v.prototype.setNullResult = function (e) {
          this._nullResult = e;
        }, v.prototype.add = function (e, t) {
          this._resultsMap.set(e.toString(), t);
        }, v.prototype.size = function () {
          return i.prototype.size.call(this) + this._resultsMap.size;
        }, v.prototype.match = function (e, t, r, n, i) {
          if (!this._getValue) return this.getDefault();

          var a = this._getValue(t, {
            $view: i
          }, r, n);

          if (null !== this._nullResult && (null == a || "" === a || "<Null>" === a)) return this._nullResult;
          if (!a && null == a) return this.getDefault();
          var l = a.toString();
          return this._resultsMap.has(l) ? this._resultsMap.get(l) : this.getDefault();
        }, v.prototype._getValueFromFields = function (e) {
          for (var t = [], r = 0, n = this._fields; r < n.length; r++) {
            var i = n[r],
                a = e.attributes[i];
            t.push(a);
          }

          return t.join(this._seperator);
        }, v;
      }(i);

      t.MapMatcher = o;

      var c = function (i) {
        function a(e, t, r) {
          var n = i.call(this) || this;
          return n._fidToAttributeHash = new Map(), n._attributeHashToGroup = new Map(), n._renderer = e, n._fieldMap = e.fieldMap, n._templates = t, n._info = r, n;
        }

        return r(a, i), a.fromDictionaryRenderer = function (t, r, n) {
          return u(this, void 0, void 0, function () {
            return R(this, function (e) {
              return t.fetchResources({
                spatialReference: n.spatialReference,
                fields: n.fields
              }), [2, new a(t, r, n)];
            });
          });
        }, a.prototype.analyze = function (o, a, c, f) {
          return u(this, void 0, void 0, function () {
            var l,
                t,
                s,
                r,
                n,
                i,
                u = this;
            return R(this, function (e) {
              switch (e.label) {
                case 0:
                  for (l = [], t = function t(e) {
                    var t = e.attributes[o],
                        r = s._fidToAttributeHash.get(t),
                        n = s._hashAttributes(e);

                    if (r === n) return "continue";

                    if (s._fidToAttributeHash.set(t, n), !s._attributeHashToGroup.has(n)) {
                      var i = {
                        scale: c && c.scale,
                        viewingMode: c && c.viewingMode,
                        spatialReference: s._info.spatialReference,
                        abortOptions: f,
                        fields: s._info.fields
                      },
                          a = s._renderer.getSymbolAsync(e, i).then(function (e) {
                        return u._templates.createTemplateGroup(e, null, u._renderer, u._info).then(function (e) {
                          return u._attributeHashToGroup.set(n, e);
                        });
                      });

                      l.push(a);
                    }
                  }, s = this, r = 0, n = a; r < n.length; r++) i = n[r], t(i);

                  return [4, p.all(l)];

                case 1:
                  return e.sent(), [2];
              }
            });
          });
        }, a.prototype.match = function (e, t) {
          var r = t.attributes[e],
              n = this._fidToAttributeHash.get(r);

          return this._attributeHashToGroup.get(n);
        }, a.prototype._hashAttributes = function (e) {
          var t = "";

          for (var r in this._fieldMap) t += ". " + e.attributes[this._fieldMap[r]];

          return t;
        }, a;
      }(i);

      t.DictionaryMatcher = 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/webgl/util/Reader.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Reader.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilReaderJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e) {
          this._pos = 0, this._buffer = e, this._i32View = new Int32Array(this._buffer), this._f32View = new Float32Array(this._buffer);
        }

        return e.prototype.readInt32 = function () {
          return this._i32View[this._pos++];
        }, e.prototype.readF32 = function () {
          return this._f32View[this._pos++];
        }, e;
      }();

      t["default"] = i;
    }.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/webgl/util/Result.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Result.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilResultJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.ok = function (e, r) {
        if (e && "name" in e) {
          var n = e;
          return r && r.error(new o(n.name, n.message, n.details)), !1;
        }

        return !0;
      };
    }.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/webgl/util/Writer.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/Writer.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilWriterJs(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 (t, e) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var r = function () {
        function t(t, e) {
          this._pos = 0;
          var r = e ? this._roundToNearest(e, t.BYTES_PER_ELEMENT) : 40;
          this._array = new ArrayBuffer(r), this._buffer = new t(this._array), this._ctor = t;
        }

        return Object.defineProperty(t.prototype, "length", {
          get: function get() {
            return this._pos;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype._roundToNearest = function (t, e) {
          var r = Math.round(t);
          return r + (e - r % e);
        }, t.prototype._ensureSize = function (t) {
          if (this._pos + t >= this._buffer.length) {
            var e = this._roundToNearest(1.5 * (this._array.byteLength + t * this._buffer.BYTES_PER_ELEMENT), this._buffer.BYTES_PER_ELEMENT),
                r = new ArrayBuffer(e),
                s = new this._ctor(r);

            s.set(this._buffer, 0), this._array = r, this._buffer = s;
          }
        }, t.prototype.writeF32 = function (t) {
          this._ensureSize(1);

          var e = this._pos;
          return new Float32Array(this._array, 4 * this._pos, 1)[0] = t, this._pos++, e;
        }, t.prototype.push = function (t) {
          this._ensureSize(1);

          var e = this._pos;
          return this._buffer[this._pos++] = t, e;
        }, t.prototype.writeRegion = function (t) {
          this._ensureSize(t.length);

          var e = this._pos;
          return this._buffer.set(t, this._pos), this._pos += t.length, e;
        }, t.prototype.buffer = function () {
          var t = this._array.slice(0, 4 * this._pos);

          return this.destroy(), t;
        }, t.prototype.seek = function (t) {
          this._pos = t;
        }, t.prototype.destroy = function () {
          this._array = null, this._buffer = null;
        }, t;
      }();

      e["default"] = r;
    }.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/webgl/util/debug.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/debug.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilDebugJs(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, n) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.createDebugLogger = function (e, r) {
        return e && function () {
          for (var e = [], n = 0; n < arguments.length; n++) e[n] = arguments[n];

          return r.warn.apply(r, ["DEBUG:"].concat(e));
        } || function () {
          return null;
        };
      }, n.DEBUG_ATTR_UPDATES = !1;
    }.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/webgl/util/serializationUtils.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/serializationUtils.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilSerializationUtilsJs(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) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.serializeList = function (e, r) {
        if (null !== r) {
          e.push(r.length);

          for (var i = 0, n = r; i < n.length; i++) n[i].serialize(e);

          return e;
        }

        e.push(0);
      }, r.deserializeList = function (e, r, i) {
        for (var n = e.readInt32(), t = new Array(n), l = 0; l < t.length; l++) t[l] = r.deserialize(e, i);

        return t;
      };
    }.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/webgl/util/symbolUtils.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/symbolUtils.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilSymbolUtilsJs(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 i(e) {
        switch (e) {
          case "esriSMS":
            return "simple-marker";

          case "esriPMS":
            return "picture-marker";

          case "esriSLS":
            return "simple-line";

          case "esriPLS":
            return "picture-line";

          case "esriSFS":
            return "simple-fill";

          case "esriPFS":
            return "picture-fill";

          case "esriTS":
            return "text";
        }

        return e;
      }

      function t(e) {
        var r = i(e.type);

        if (r) {
          switch (r) {
            case "picture-marker":
            case "picture-line":
            case "picture-fill":
            case "CIMPictureMarker":
              return !0;
          }

          return !1;
        }

        return !1;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.keyFromSymbol = function (e) {
        if (e.type) {
          switch (i(e.type)) {
            case "simple-marker":
              return e.path ? "simple-marker" + e.style + e.path : "simple-marker" + e.style;

            case "simple-line":
              return "simple-line" + e.style + e.cap;

            case "simple-fill":
              return "simple-fill" + e.style;
          }

          if (e.mosaicHash) return e.mosaicHash;
          if (t(e)) return e.imageData ? e.imageData : e.url + "" + e.width + e.height;
        }

        return JSON.stringify(e);
      }, r.normalizeSymbolType = i, r.isMarkerSymbol = function (e) {
        var r = i(e.type);

        if (r) {
          switch (r) {
            case "simple-marker":
            case "picture-marker":
            case "CIMPointSymbol":
              return !0;

            case "CIMVectorMarker":
            case "CIMPictureMarker":
            case "CIMCharacterMarker":
              return !0;
          }

          return !1;
        }
      }, r.isFillSymbol = function (e) {
        var r = i(e.type);

        if (r) {
          switch (r) {
            case "simple-fill":
            case "picture-fill":
            case "CIMPolygonSymbol":
              return !0;
          }

          return !1;
        }
      }, r.isLineSymbol = function (e) {
        var r = i(e.type);

        if (r) {
          switch (r) {
            case "simple-line":
            case "picture-line":
            case "CIMLineSymbol":
              return !0;
          }

          return !1;
        }
      }, r.isPictureSymbol = t, r.isTextSymbol = function (e) {
        var r = i(e.type);

        if (r) {
          switch (r) {
            case "text":
            case "CIMTextSymbol":
              return !0;
          }

          return !1;
        }
      };
    }.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/webgl/util/vvFlagUtils.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/util/vvFlagUtils.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglUtilVvFlagUtilsJs(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__(
    /*! ../enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ../visualVariablesUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/visualVariablesUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (V, e, l, L) {
      function t(V, e) {
        void 0 === e && (e = !1);
        var a = l.WGLVVFlag.SIZE_FIELD_STOPS | l.WGLVVFlag.SIZE_MINMAX_VALUE | l.WGLVVFlag.SIZE_SCALE_STOPS | l.WGLVVFlag.SIZE_UNIT_VALUE,
            t = (V & (l.WGLVVTarget.FIELD_TARGETS_OUTLINE | l.WGLVVTarget.MINMAX_TARGETS_OUTLINE | l.WGLVVTarget.SCALE_TARGETS_OUTLINE | l.WGLVVTarget.UNIT_TARGETS_OUTLINE)) >>> 4;
        return e ? a & t : a & ~t;
      }

      function a(V) {
        var e = t(V, !1);
        return V & (l.WGLVVFlag.COLOR | l.WGLVVFlag.OPACITY | l.WGLVVFlag.ROTATION | e);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.getVVFlags = function (V) {
        if (!V) return l.WGLVVFlag.NONE;

        for (var e = 0, a = 0, t = V; a < t.length; a++) {
          var r = t[a];

          if ("size" === r.type) {
            var g = L.getTypeOfSizeVisualVariable(r);
            e |= g, "outline" === r.target && (e |= g << 4);
          } else "color" === r.type ? e |= l.WGLVVFlag.COLOR : "opacity" === r.type ? e |= l.WGLVVFlag.OPACITY : "rotation" === r.type && (e |= l.WGLVVFlag.ROTATION);
        }

        return e;
      }, e.getSizeFlagsMask = t, e.getMarkerVVFlags = a, e.getFillVVFlags = function (V) {
        return V & (l.WGLVVFlag.COLOR | l.WGLVVFlag.OPACITY);
      }, e.getLineVVFlags = function (V, e) {
        if (e) return V & t(V, !0);
        var a = t(V, !1);
        return V & (l.WGLVVFlag.COLOR | l.WGLVVFlag.OPACITY | a);
      }, e.getTextVVFlags = function (V) {
        return a(V);
      }, e.getLabelVVFlags = function (V) {
        return V & t(V, !1);
      };
    }.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/webgl/visualVariablesUtils.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/webgl/visualVariablesUtils.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineWebglVisualVariablesUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/enums.js"), __webpack_require__(
    /*! ./Utils */
    "./node_modules/arcgis-js-api/views/2d/engine/webgl/Utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, s, i, l, r, a) {
      Object.defineProperty(s, "__esModule", {
        value: !0
      });
      var n = l.getLogger("esri.views.2d.engine.webgl");

      s.getTypeOfSizeVisualVariable = function (e) {
        return a.isNumber(e.minDataValue) && a.isNumber(e.maxDataValue) && null != e.minSize && null != e.maxSize ? r.WGLVVFlag.SIZE_MINMAX_VALUE : (e.expression && "view.scale" === e.expression || e.valueExpression && "$view.scale" === e.valueExpression) && Array.isArray(e.stops) ? r.WGLVVFlag.SIZE_SCALE_STOPS : (null != e.field || e.expression && "view.scale" !== e.expression || e.valueExpression && "$view.scale" !== e.valueExpression) && (Array.isArray(e.stops) || "levels" in e && e.levels) ? r.WGLVVFlag.SIZE_FIELD_STOPS : (null != e.field || e.expression && "view.scale" !== e.expression || e.valueExpression && "$view.scale" !== e.valueExpression) && null != e.valueUnit ? r.WGLVVFlag.SIZE_UNIT_VALUE : (n.error(new i("mapview-bad-type", "Found invalid size VisualVariable", e)), r.WGLVVFlag.NONE);
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/MapViewInputManager.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/MapViewInputManager.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputMapViewInputManagerJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./handlers/DoubleClickZoom */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleClickZoom.js"), __webpack_require__(
    /*! ./handlers/DoubleTapDragZoom */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleTapDragZoom.js"), __webpack_require__(
    /*! ./handlers/DragPan */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/DragPan.js"), __webpack_require__(
    /*! ./handlers/DragRotate */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/DragRotate.js"), __webpack_require__(
    /*! ./handlers/GamepadNavigation */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/GamepadNavigation.js"), __webpack_require__(
    /*! ./handlers/KeyPan */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyPan.js"), __webpack_require__(
    /*! ./handlers/KeyRotate */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyRotate.js"), __webpack_require__(
    /*! ./handlers/KeyZoom */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyZoom.js"), __webpack_require__(
    /*! ./handlers/MouseWheelZoom */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/MouseWheelZoom.js"), __webpack_require__(
    /*! ./handlers/PinchAction */
    "./node_modules/arcgis-js-api/views/2d/input/handlers/PinchAction.js"), __webpack_require__(
    /*! ../../input/BrowserEventSource */
    "./node_modules/arcgis-js-api/views/input/BrowserEventSource.js"), __webpack_require__(
    /*! ../../input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js"), __webpack_require__(
    /*! ../../input/handlers/PreventContextMenu */
    "./node_modules/arcgis-js-api/views/input/handlers/PreventContextMenu.js"), __webpack_require__(
    /*! ../../input/recognizers/DoubleTapDrag */
    "./node_modules/arcgis-js-api/views/input/recognizers/DoubleTapDrag.js"), __webpack_require__(
    /*! ../../input/recognizers/Drag */
    "./node_modules/arcgis-js-api/views/input/recognizers/Drag.js"), __webpack_require__(
    /*! ../../input/recognizers/PointerClickHoldAndDrag */
    "./node_modules/arcgis-js-api/views/input/recognizers/PointerClickHoldAndDrag.js"), __webpack_require__(
    /*! ../../input/recognizers/SingleAndDoubleClick */
    "./node_modules/arcgis-js-api/views/input/recognizers/SingleAndDoubleClick.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t, i, o, r, a, s, c, u, l, h, p, w, d, v, g, D, y, m, _, b, f, A, P) {
      var M = {
        counter: "Ctrl",
        pan: {
          left: "ArrowLeft",
          right: "ArrowRight",
          up: "ArrowUp",
          down: "ArrowDown"
        },
        zoom: {
          zoomIn: ["=", "+"],
          zoomOut: ["-", "_"]
        },
        rotate: {
          clockwiseOption1: "a",
          clockwiseOption2: "A",
          counterClockwiseOption1: "d",
          counterClockwiseOption2: "D",
          resetOption1: "n",
          resetOption2: "N"
        }
      };
      return function (e) {
        function n() {
          var n = null !== e && e.apply(this, arguments) || this;
          return n._handles = new r(), n;
        }

        return t(n, e), n.prototype.initialize = function () {
          var e = this;

          this._handles.add([a.whenNot(this.view, "ready", function () {
            return e._disconnect();
          }), a.when(this.view, "ready", function () {
            return e._connect();
          })]);
        }, n.prototype.destroy = function () {
          this._handles && (this._handles.removeAll(), this._handles = null), this._disconnect();
        }, n.prototype._disconnect = function () {
          this._inputManager && (this.view.viewEvents.disconnect(), this._inputManager.destroy(), this._inputManager = null, this._source.destroy(), this._source = null);
        }, n.prototype._connect = function () {
          var e = this,
              n = this.view.surface,
              t = new y.BrowserEventSource(n, this.view.input),
              i = [new A.PointerClickHoldAndDrag(), new P.SingleAndDoubleClick(), new f.Drag(this.view.navigation), new b.DoubleTapDrag()],
              o = new m.InputManager({
            eventSource: t,
            recognizers: i
          });
          o.installHandlers("prevent-context-menu", [new _.PreventContextMenu()], m.ViewEventPriorities.INTERNAL), o.installHandlers("navigation", [new D.PinchRotateAndZoom(this.view), new p.GamepadNavigation(this.view), new g.MouseWheelZoom(this.view), new c.DoubleClickZoom(this.view), new c.DoubleClickZoom(this.view, [M.counter]), new l.DragPan(this.view, "primary"), new w.KeyPan(this.view, M.pan), new v.KeyZoom(this.view, M.zoom), new d.KeyRotate(this.view, M.rotate), new h.DragRotate(this.view, "secondary"), new u.DoubleTapDragZoom(this.view, "touch")], m.ViewEventPriorities.INTERNAL), this.view.viewEvents.connect(o), this._source = t, this._inputManager = o, a.init(this.view.navigation, "browserTouchPanEnabled", function (n) {
            e._source.browserTouchPanningEnabled = !n;
          });
        }, Object.defineProperty(n.prototype, "test", {
          get: function get() {
            return {
              inputManager: this._inputManager
            };
          },
          enumerable: !0,
          configurable: !0
        }), i([s.property()], n.prototype, "view", void 0), n = i([s.subclass("esri.views.2d.input.MapViewInputManager")], n);
      }(s.declared(o));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleClickZoom.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleClickZoom.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersDoubleClickZoomJs(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__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ../../../input/handlers/support */
    "./node_modules/arcgis-js-api/views/input/handlers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, i, o) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function t(t, n) {
          var i = e.call(this, !0) || this;
          return i.view = t, i.registerIncoming("double-click", n, function (e) {
            return i._handleDoubleClick(e, n);
          }), i;
        }

        return n(t, e), t.prototype._handleDoubleClick = function (e, t) {
          o.eventMatchesPointerAction(e.data, "primary") && (e.stopPropagation(), t ? this.view.mapViewNavigation.zoomOut([e.data.x, e.data.y]) : this.view.mapViewNavigation.zoomIn([e.data.x, e.data.y]));
        }, t;
      }(i.InputHandler);

      t.DoubleClickZoom = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleTapDragZoom.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/DoubleTapDragZoom.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersDoubleTapDragZoomJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, r, i) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var n = function (e) {
        function t(t, a, r) {
          var i = e.call(this, !0) || this;
          return i.view = t, i.pointerType = a, i.registerIncoming("double-tap-drag", r, function (e) {
            return i._handleDoubleTapDrag(e);
          }), i;
        }

        return a(t, e), t.prototype._handleDoubleTapDrag = function (e) {
          var t = e.data;

          if (t.pointerType === this.pointerType) {
            e.stopPropagation();
            var a = t.action,
                i = t.delta,
                n = this.view,
                o = n.mapViewNavigation;

            switch (a) {
              case "begin":
                var s = n.scale;
                this._startScale = s, this._currentScale = s, this._previousDelta = i, o.begin();
                break;

              case "update":
                if (this._previousDelta.y === i.y) return;
                this._previousDelta = i;
                var c = Math.pow(1.015, i.y),
                    p = this._startScale * c,
                    l = p / this._currentScale;
                o.setViewpointImmediate(l), this._currentScale = p;
                break;

              case "end":
                var u = n.constraints,
                    h = u.effectiveLODs;
                if (!u.snapToZoom || !h) return void o.end();

                var d = u.snapScale(this._currentScale),
                    v = i.y > 0 ? Math.max(d, u.snapToPreviousScale(this._startScale)) : Math.min(d, u.snapToNextScale(this._startScale)),
                    _ = v / this._currentScale;

                o.zoom(_);
                break;

              default:
                r.neverReached(a);
            }
          }
        }, t;
      }(i.InputHandler);

      t.DoubleTapDragZoom = 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/input/handlers/DragPan.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/DragPan.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersDragPanJs(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__(
    /*! ../../../input/DragEventSeparator */
    "./node_modules/arcgis-js-api/views/input/DragEventSeparator.js"), __webpack_require__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ../../../input/handlers/support */
    "./node_modules/arcgis-js-api/views/input/handlers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, n, e, a, i, o) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      });

      var r = function (t) {
        function n(n, e, i) {
          var r = t.call(this, !0) || this;
          r.view = n, r.pointerAction = e, r.registerIncoming("drag", i, function (t) {
            return r._handleDrag(t);
          }), r.registerIncoming("pointer-down", function () {
            return r.stopMomentumNavigation();
          });
          var p = r.view.mapViewNavigation;
          return r.dragEventSeparator = new a.DragEventSeparator({
            start: function start(t, n) {
              p.pan.begin(r.view, n.data), n.stopPropagation();
            },
            update: function update(t, n) {
              p.pan.update(r.view, n.data), n.stopPropagation();
            },
            end: function end(t, n) {
              p.pan.end(r.view, n.data), n.stopPropagation();
            },
            condition: function condition(t, n) {
              return 1 === t && o.eventMatchesPointerAction(n.data, r.pointerAction);
            }
          }), r;
        }

        return e(n, t), n.prototype._handleDrag = function (t) {
          var n = this.view.mapViewNavigation;
          if (n.pinch.zoomMomentum || n.pinch.rotateMomentum) return void this.stopMomentumNavigation();
          this.dragEventSeparator.handle(t);
        }, n.prototype.stopMomentumNavigation = function () {
          this.view.mapViewNavigation.pan.stopMomentumNavigation();
        }, n;
      }(i.InputHandler);

      n.DragPan = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/DragRotate.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/DragRotate.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersDragRotateJs(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__(
    /*! ../../../input/DragEventSeparator */
    "./node_modules/arcgis-js-api/views/input/DragEventSeparator.js"), __webpack_require__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ../../../input/handlers/support */
    "./node_modules/arcgis-js-api/views/input/handlers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, r, a, o) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function (t) {
        function e(e, n, a) {
          var i = t.call(this, !0) || this;
          i.view = e, i.pointerAction = n;
          var p = i.view.mapViewNavigation;
          return i.dragEventSeparator = new r.DragEventSeparator({
            start: function start(t, e) {
              p.rotate.begin(i.view, e.data), e.stopPropagation();
            },
            update: function update(t, e) {
              p.rotate.update(i.view, e.data), e.stopPropagation();
            },
            end: function end(t, e) {
              p.rotate.end(), e.stopPropagation();
            },
            condition: function condition(t, e) {
              return 1 === t && o.eventMatchesPointerAction(e.data, i.pointerAction);
            }
          }), i.registerIncoming("drag", a, function (t) {
            return i.dragEventSeparator.handle(t);
          }), i;
        }

        return n(e, t), e;
      }(a.InputHandler);

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

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/GamepadNavigation.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/GamepadNavigation.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersGamepadNavigationJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../../../../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ../../../../core/watchUtils */
    "./node_modules/arcgis-js-api/core/watchUtils.js"), __webpack_require__(
    /*! ../../viewpointUtils */
    "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js"), __webpack_require__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ../../../navigation/gamepadAndKeyboardUtils */
    "./node_modules/arcgis-js-api/views/navigation/gamepadAndKeyboardUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, a, n, i, r, o, s, l) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var d = function (t) {
        function e(e) {
          var a = t.call(this, !0) || this;
          return a.view = e, a.frameTask = null, a.watchHandles = new n(), a.currentDevice = null, a.transformation = {
            translation: [0, 0, 0],
            heading: 0,
            tilt: 0
          }, a.handle = a.registerIncoming("gamepad", function (t) {
            return a.handleEvent(t);
          }), a.handle.pause(), a;
        }

        return a(e, t), e.prototype.onInstall = function (e) {
          var a = this;
          t.prototype.onInstall.call(this, e), this.watchHandles.add([r.init(this.view.navigation.gamepad, "enabled", function (t) {
            t ? (a.handle.resume(), a.frameTask || (a.frameTask = i.addFrameTask({
              update: function update(t) {
                return a.frameUpdate(t.deltaTime);
              }
            }))) : (a.handle.pause(), a.frameTask && (a.frameTask.remove(), a.frameTask = null));
          })]);
        }, e.prototype.onUninstall = function () {
          this.watchHandles.removeAll(), this.frameTask && (this.frameTask.remove(), this.frameTask = null), t.prototype.onUninstall.call(this);
        }, e.prototype.handleEvent = function (t) {
          var e = this.view.navigation.gamepad.device;
          e && t.data.device !== e || this.currentDevice && this.currentDevice !== t.data.device || ("end" === t.data.action ? (this.currentDevice = null, l.resetTransformation(this.transformation)) : (this.currentDevice = t.data.device, l.extractTransformation(t.data, this.view.navigation.gamepad, this.transformation)));
        }, e.prototype.frameUpdate = function (t) {
          var e = this.transformation;

          if (!l.isZeroTransformation(e)) {
            var a = this.view.viewpoint.clone(),
                n = this.view.navigation.gamepad.velocityFactor,
                i = v * n * t;
            o.translateBy(a, a, [e.translation[0] * i, -e.translation[1] * i]);
            var r = 1 + e.translation[2] * h * t,
                s = this.view.constraints.rotationEnabled ? -e.heading * c * t : 0,
                d = this.view.size,
                p = [d[0] / 2, d[1]];
            o.scaleAndRotateBy(a, a, r, s, p, d);
            var u = this.view.constraints.constrain(a, this.view.viewpoint);
            this.view.viewpoint = u;
          }
        }, e;
      }(s.InputHandler);

      e.GamepadNavigation = d;
      var c = .06,
          v = .7,
          h = 6e-4;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyPan.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/KeyPan.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersKeyPanJs(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__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, t, n) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function i(i, t, n) {
          var a,
              o = e.call(this, !0) || this;
          return o.view = i, o.keys = t, o._pressed = !1, o._keyMap = (a = {}, a[t.left] = "left", a[t.right] = "right", a[t.up] = "up", a[t.down] = "down", a), o.registerIncoming("key-down", n, function (e) {
            return o._handleKeyDown(e);
          }), o.registerIncoming("key-up", n, function (e) {
            return o._handleKeyUp(e);
          }), o.registerIncoming("blur", n, function () {
            return o._handleBlur();
          }), o;
        }

        return t(i, e), i.prototype._handleKeyDown = function (e) {
          e.data.repeat || this._handleKey(e, !0);
        }, i.prototype._handleKeyUp = function (e) {
          this._handleKey(e, !1);
        }, i.prototype._handleBlur = function () {
          this._pressed && (this._pressed = !1, this.view.mapViewNavigation.stop());
        }, i.prototype._handleKey = function (e, i) {
          var t = this._keyMap[e.data.key];

          if (this._pressed = null != t, this._pressed) {
            if (i) switch (this.view.mapViewNavigation.begin(), t) {
              case "left":
                this.view.mapViewNavigation.continousPanLeft();
                break;

              case "right":
                this.view.mapViewNavigation.continousPanRight();
                break;

              case "up":
                this.view.mapViewNavigation.continousPanUp();
                break;

              case "down":
                this.view.mapViewNavigation.continousPanDown();
            } else this._pressed = !1, this.view.mapViewNavigation.stop();
            e.stopPropagation();
          }
        }, i;
      }(n.InputHandler);

      i.KeyPan = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyRotate.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/KeyRotate.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersKeyRotateJs(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__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var o = function (e) {
        function t(t, i, n) {
          var o,
              s = e.call(this, !0) || this;
          return s.view = t, s.keys = i, s._pressed = !1, s._keyToDirection = (o = {}, o[i.clockwiseOption1] = "clockwise", o[i.clockwiseOption2] = "clockwise", o[i.counterClockwiseOption1] = "counterClockwise", o[i.counterClockwiseOption2] = "counterClockwise", o[i.resetOption1] = "reset", o[i.resetOption2] = "reset", o), s.registerIncoming("key-down", n, function (e) {
            return s._handleKeyDown(e);
          }), s.registerIncoming("key-up", n, function (e) {
            return s._handleKeyUp(e);
          }), s.registerIncoming("blur", n, function () {
            return s._handleBlur();
          }), s;
        }

        return i(t, e), t.prototype._handleKeyDown = function (e) {
          e.data.repeat || this._handleKey(e, !0);
        }, t.prototype._handleKeyUp = function (e) {
          this._handleKey(e, !1);
        }, t.prototype._handleBlur = function () {
          this._pressed && (this._pressed = !1, this.view.mapViewNavigation.stop());
        }, t.prototype._handleKey = function (e, t) {
          var i = e.modifiers;

          if (!(i.size > 0 && !i.has("Shift") || !this.view.constraints.rotationEnabled)) {
            var n = this._keyToDirection[e.data.key];

            if (this._pressed = null != n, this._pressed) {
              if (t) switch (this.view.mapViewNavigation.begin(), n) {
                case "clockwise":
                  this.view.mapViewNavigation.continousRotateClockwise();
                  break;

                case "counterClockwise":
                  this.view.mapViewNavigation.continousRotateCounterclockwise();
                  break;

                case "reset":
                  this.view.mapViewNavigation.resetRotation();
              } else this._pressed = !1, this.view.mapViewNavigation.stop();
              e.stopPropagation();
            }
          }
        }, t;
      }(n.InputHandler);

      t.KeyRotate = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/KeyZoom.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/KeyZoom.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersKeyZoomJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, n, t, i) {
      Object.defineProperty(o, "__esModule", {
        value: !0
      });

      var r = function (e) {
        function o(o, n, t) {
          var i = e.call(this, !0) || this;
          return i.view = o, i.keys = n, i._keysToZoomAction = {}, i.registerIncoming("key-down", t, function (e) {
            return i._handleKeyDown(e);
          }), n.zoomIn.forEach(function (e) {
            return i._keysToZoomAction[e] = 0;
          }), n.zoomOut.forEach(function (e) {
            return i._keysToZoomAction[e] = 1;
          }), i;
        }

        return n(o, e), o.prototype._handleKeyDown = function (e) {
          this._handleKey(e);
        }, o.prototype._handleKey = function (e) {
          var o = e.modifiers;

          if (!(o.size > 0) || o.has("Shift")) {
            var n = e.data.key;

            if (n in this._keysToZoomAction) {
              var i = this._keysToZoomAction[n],
                  r = this.view.mapViewNavigation,
                  a = null;

              switch (i) {
                case 0:
                  a = r.zoomIn();
                  break;

                case 1:
                  a = r.zoomOut();
                  break;

                default:
                  return void t.neverReached(i);
              }

              r.begin(), a.then(function () {
                return r.end();
              }), e.stopPropagation();
            }
          }
        }, o;
      }(i.InputHandler);

      o.KeyZoom = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/MouseWheelZoom.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/MouseWheelZoom.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersMouseWheelZoomJs(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__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, o, t) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      });

      var i = function (e) {
        function n(n, o) {
          var t = e.call(this, !0) || this;
          return t.view = n, t._canZoom = !0, t.registerIncoming("mouse-wheel", o, function (e) {
            return t._handleMouseWheel(e);
          }), t;
        }

        return o(n, e), n.prototype._handleMouseWheel = function (e) {
          var n = this;

          if (this.view.navigation.mouseWheelZoomEnabled && (e.preventDefault(), e.stopPropagation(), this._canZoom)) {
            var o = this.view.mapViewNavigation,
                t = e.data,
                i = t.x,
                a = t.y,
                r = t.deltaY,
                u = 1 / Math.pow(.6, 1 / 60 * r),
                s = o.zoom(u, [i, a]);
            s && (this._canZoom = !1, s["catch"](function () {}).then(function () {
              n._canZoom = !0, o.end();
            }));
          }
        }, n;
      }(t.InputHandler);

      n.MouseWheelZoom = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/input/handlers/PinchAction.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/input/handlers/PinchAction.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInputHandlersPinchActionJs(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__(
    /*! ../../../input/DragEventSeparator */
    "./node_modules/arcgis-js-api/views/input/DragEventSeparator.js"), __webpack_require__(
    /*! ../../../input/InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, t, e, i, o) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var a = function (n) {
        function t(t) {
          var e = n.call(this, !0) || this;
          e.view = t, e.registerIncoming("drag", function (n) {
            return e._handleDrag(n);
          }), e.registerIncoming("pointer-down", function () {
            return e.stopMomentumNavigation();
          });
          var o = e.view.mapViewNavigation;
          return e.dragEventSeparator = new i.DragEventSeparator({
            start: function start(n, t) {
              o.pinch.begin(e.view, t.data), t.stopPropagation();
            },
            update: function update(n, t) {
              o.pinch.update(e.view, t.data), t.stopPropagation();
            },
            end: function end(n, t) {
              o.pinch.end(e.view), t.stopPropagation();
            },
            condition: function condition(n) {
              return n >= 2;
            }
          }), e;
        }

        return e(t, n), t.prototype._handleDrag = function (n) {
          this.dragEventSeparator.handle(n);
        }, t.prototype.stopMomentumNavigation = function () {
          this.view.mapViewNavigation.pinch.stopMomentumNavigation();
        }, t;
      }(o.InputHandler);

      t.PinchRotateAndZoom = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dLayerViewModuleImportUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r, t) {
      function i() {
        return Promise.all([new Promise(function (n, r) {
          Promise.resolve().then(function () {
            var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
            /*! ../webgl */
            "./node_modules/arcgis-js-api/views/webgl.js")];
            n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
          }.bind(this))["catch"](r.bind(this));
        }), new Promise(function (n, r) {
          Promise.resolve().then(function () {
            var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
            /*! ./engine */
            "./node_modules/arcgis-js-api/views/2d/engine.js")];
            n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
          }.bind(this))["catch"](r.bind(this));
        })]);
      }

      function o(e) {
        var n = e.declaredClass ? e.declaredClass.slice(e.declaredClass.lastIndexOf(".") + 1) : "Unknown",
            t = n.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
        return new r(t + ":view-not-supported", n + " is not supported in 2D");
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      });

      var u = function u() {
        return i().then(function () {
          return new Promise(function (n, r) {
            Promise.all(
            /*! AMD require */
            [__webpack_require__.e(1), __webpack_require__.e("common"), __webpack_require__.e(71)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./layers/TileLayerView2D */
              "./node_modules/arcgis-js-api/views/2d/layers/TileLayerView2D.js")];
              n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](r.bind(this));
          });
        });
      },
          a = function a() {
        return i().then(function () {
          return new Promise(function (n, r) {
            Promise.all(
            /*! AMD require */
            [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(30)]).then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ./layers/FeatureLayerView2D */
              "./node_modules/arcgis-js-api/views/2d/layers/FeatureLayerView2D.js")];
              n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](r.bind(this));
          });
        });
      },
          s = {
        "base-dynamic": function baseDynamic() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(1), __webpack_require__.e("common"), __webpack_require__.e(98)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/BaseDynamicLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/BaseDynamicLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        "base-tile": u,
        "bing-maps": u,
        csv: a,
        "geo-rss": function geoRss() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(5), __webpack_require__.e(6), __webpack_require__.e(8), __webpack_require__.e(10), __webpack_require__.e(99)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/GeoRSSLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/GeoRSSLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        feature: a,
        geojson: a,
        graphics: function graphics() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(5), __webpack_require__.e(6), __webpack_require__.e(8), __webpack_require__.e(10), __webpack_require__.e(100)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/GraphicsLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/GraphicsLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        group: function group() {
          return i().then(function () {
            return new Promise(function (n, r) {
              __webpack_require__.e(
              /*! AMD require */
              84).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ../layers/GroupLayerView */
                "./node_modules/arcgis-js-api/views/layers/GroupLayerView.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        imagery: function imagery() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(1), __webpack_require__.e(24), __webpack_require__.e("common"), __webpack_require__.e(77)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/ImageryLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/ImageryLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        kml: function kml() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(5), __webpack_require__.e(6), __webpack_require__.e(8), __webpack_require__.e(10), __webpack_require__.e("common"), __webpack_require__.e(101)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/KMLLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/KMLLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        "map-image": function mapImage() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(1), __webpack_require__.e("common"), __webpack_require__.e(70)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/MapImageLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/MapImageLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        "map-notes": function mapNotes() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(5), __webpack_require__.e(6), __webpack_require__.e(8), __webpack_require__.e(10), __webpack_require__.e(102)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/MapNotesLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/MapNotesLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        "open-street-map": u,
        stream: function stream() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(1), __webpack_require__.e(30), __webpack_require__.e(103)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/StreamLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/StreamLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        tile: u,
        "vector-tile": function vectorTile() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(1), __webpack_require__.e(4), __webpack_require__.e("common"), __webpack_require__.e(61)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/VectorTileLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/VectorTileLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        "web-tile": u,
        wms: function wms() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(1), __webpack_require__.e(23), __webpack_require__.e("common"), __webpack_require__.e(81)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/WMSLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/WMSLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        wmts: function wmts() {
          return i().then(function () {
            return new Promise(function (n, r) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e(1), __webpack_require__.e("common"), __webpack_require__.e(104)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./layers/WMTSLayerView2D */
                "./node_modules/arcgis-js-api/views/2d/layers/WMTSLayerView2D.js")];
                n.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              }.bind(this))["catch"](r.bind(this));
            });
          });
        },
        "base-elevation": null,
        "building-scene": null,
        elevation: null,
        "integrated-mesh": null,
        "point-cloud": null,
        scene: null,
        unknown: null,
        unsupported: null
      };

      n.layerView2DImporter = {
        hasLayerViewModule: function hasLayerViewModule(e) {
          return t.isSome(s[e.type]);
        },
        importLayerView: function importLayerView(e) {
          var n = s[e.type];
          if (!t.isSome(n)) throw o(e);
          return n(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/layers/support/clusterUtils.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/layers/support/clusterUtils.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dLayersSupportClusterUtilsJs(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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.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/MD5 */
    "./node_modules/arcgis-js-api/core/MD5.js"), __webpack_require__(
    /*! ../../../../renderers/visualVariables/SizeVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js"), __webpack_require__(
    /*! ../../../../renderers/visualVariables/support/SizeStop */
    "./node_modules/arcgis-js-api/renderers/visualVariables/support/SizeStop.js"), __webpack_require__(
    /*! ../../engine */
    "./node_modules/arcgis-js-api/views/2d/engine.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i, t, n, a, l, s, u, o, c, d) {
      function p(e, r, i) {
        switch (e) {
          case "avg":
          case "avg_angle":
            return "cluster_avg_" + r;

          case "mode":
            return "cluster_type_" + r;

          case "norm":
            var t = i,
                n = r.toLowerCase() + ",norm:field," + t.toLowerCase();
            return "cluster_avg_" + u.createMD5Hash(n);
        }
      }

      function f(e, r, i, t) {
        var n = p(i, r, t);
        return e.some(function (e) {
          return e.name === n;
        }) || ("norm" === i ? e.push({
          name: n,
          outStatistic: {
            onStatisticField: r,
            onStatisticNormalizationField: t,
            statisticType: i
          }
        }) : e.push({
          name: n,
          outStatistic: {
            onStatisticField: r,
            statisticType: i
          }
        })), n;
      }

      var v = this;
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var m = l.getLogger("esri.views.2d.layers.support.clusterUtils");
      r.createClusterRenderer = function (e, n, a, l, u) {
        return t(v, void 0, void 0, function () {
          var t, n, o;
          return i(this, function (i) {
            if (t = a.clone(), !r.isClusterCompatibleRenderer(t)) return [2, t];

            switch (n = "visualVariables" in t && t.visualVariables || [], o = r.findSizeVV(n), n.forEach(function (r) {
              "rotation" === r.type ? r.field = f(e, r.field, "avg_angle") : r.normalizationField ? (r.field = f(e, r.field, "norm", r.normalizationField), r.normalizationField = null) : r.field && (r.field = f(e, r.field, "avg"));
            }), s.isNone(o) && n.push(r.createClusterCountSizeVariable(l, u)), t.type) {
              case "simple":
                break;

              case "unique-value":
                t.field && (t.field = f(e, t.field, "mode"));
                break;

              case "class-breaks":
                t.normalizationField ? (t.field = f(e, t.field, "norm", t.normalizationField), t.normalizationField = null) : t.field = f(e, t.field, "avg");
            }

            return t.visualVariables = n, [2, t];
          });
        });
      }, r.findSizeVV = function (e) {
        for (var r = 0, i = e; r < i.length; r++) {
          var t = i[r];
          if ("size" === t.type) return t;
        }

        return null;
      }, r.getActiveSizeStops = function (e, r) {
        var i = e.featuresTilingScheme.getClosestInfoForScale(e.scale),
            t = i.level;
        return r.levels ? r.levels[t] : null;
      }, r.createClusterCountSizeVariable = function (e, r) {
        var i = [new c({
          value: 0,
          size: 0
        }), new c({
          value: 1
        })];
        if (s.isNone(r)) return new o({
          field: "cluster_count",
          stops: i.concat([new c({
            value: 2,
            size: 0
          })])
        });
        var t = Object.keys(r).reduce(function (e, t) {
          var a;
          return n({}, e, (a = {}, a[t] = i.concat([new c({
            value: Math.max(2, r[t].minValue),
            size: "12px"
          }), new c({
            value: Math.max(3, r[t].maxValue),
            size: "50px"
          })]), a));
        }, {});
        return new d.LevelDependentSizeVariable({
          field: "cluster_count",
          levels: t
        });
      }, r.isClusterCompatibleRenderer = function (e) {
        var r = function r(_r5) {
          return m.error(new a("Unsupported-renderer", _r5, {
            renderer: e
          }));
        };

        if ("valueExpression" in e && e.valueExpression) return r("FeatureReductionCluster does not currently support renderer.valueExpression. Support will be added in a future release"), !1;

        if ("unique-value" === e.type) {
          if (e.field2 || e.field3) return r("FeatureReductionCluster does not support multi-field UniqueValueRenderers"), !1;
        } else if ("class-breaks" === e.type) {
          if (e.normalizationField) {
            var i = e.normalizationType;
            if ("field" !== i) return r("FeatureReductionCluster does not support a normalizationType of " + i), !1;
          }
        } else if ("simple" !== e.type) return r("FeatureReductionCluster does not support renderers of type " + e.type), !1;

        return !("visualVariables" in e && e.visualVariables || []).some(function (e) {
          return !!("valueExpression" in e && e.valueExpression);
        }) || (r("FeatureReductionCluster does not currently support visualVariables with a valueExpression. Support will be added in a future release"), !1);
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dSupportHighlightOptionsJs(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__(
    /*! ../../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, r, e, t, p, l, i) {
      var c = 0;
      return function (o) {
        function r() {
          var r = null !== o && o.apply(this, arguments) || this;
          return r.color = new p([0, 255, 255]), r.haloOpacity = 1, r.fillOpacity = .25, r;
        }

        return e(r, o), Object.defineProperty(r.prototype, "version", {
          get: function get() {
            return c++;
          },
          enumerable: !0,
          configurable: !0
        }), t([i.property({
          readOnly: !0,
          dependsOn: ["color", "haloColor", "haloOpacity", "fillOpacity"]
        })], r.prototype, "version", null), t([i.property({
          type: p
        })], r.prototype, "color", void 0), t([i.property({
          type: p
        })], r.prototype, "haloColor", void 0), t([i.property()], r.prototype, "haloOpacity", void 0), t([i.property()], r.prototype, "fillOpacity", void 0), r = t([i.subclass("esri.views.2d.support.HighlightOptions")], r);
      }(i.declared(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/support/Timeline.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/support/Timeline.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dSupportTimelineJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, s, t, n) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var i = function i(e) {
        return -1 !== e.indexOf("Brush");
      },
          o = function () {
        function e() {
          this._names = new Map();
        }

        return e.prototype.begin = function (e) {
          this._names.has(e) || (this._names.set(e, !1), i(e) && this.record("Esri.FirstDraw"), performance.mark("Esri." + e + ".Start"));
        }, e.prototype.end = function (e) {
          this._names.has(e) && !this._names.get(e) && (this._names.set(e, !0), performance.mark("Esri." + e + ".End"));
        }, e.prototype.record = function (e) {
          this._names.has(e) || (this._names.set(e, !0), performance.mark("Esri." + e));
        }, e = s([n.subclass("esri.views.2d.support.Timeline")], e);
      }();

      r.Timeline = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingJs(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__(
    /*! ./tiling/TileInfoView */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileInfoView.js"), __webpack_require__(
    /*! ./tiling/TileKey */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js"), __webpack_require__(
    /*! ./tiling/TileQueue */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileQueue.js"), __webpack_require__(
    /*! ./tiling/TileStrategy */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileStrategy.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, l, t, n, u) {
      Object.defineProperty(i, "__esModule", {
        value: !0
      }), i.TileInfoView = l, i.TileKey = t, i.TileQueue = n, i.TileStrategy = 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/tiling/LODInfo.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/LODInfo.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingLODInfoJs(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/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ./TileKey */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, o, r, i) {
      function e(t, o) {
        return [t, o];
      }

      function n(t, o, r) {
        return t[0] = o, t[1] = r, t;
      }

      function s(t, o, r, i, e) {
        return t[0] = o, t[1] = r, t[2] = i, t[3] = e, t;
      }

      var l = new i("0/0/0/0");
      return function () {
        function t(t, o, r, i, e, n, s, l, h, u, a, p) {
          this.level = t, this.resolution = o, this.scale = r, this.origin = i, this.first = e, this.last = n, this.size = s, this.norm = l, this.worldStart = h, this.worldEnd = u, this.worldSize = a, this.wrap = p;
        }

        return t.create = function (o, i, s) {
          var l = r.getInfo(o.spatialReference),
              h = e(o.origin.x, o.origin.y),
              u = e(o.size[0] * i.resolution, o.size[1] * i.resolution),
              a = e(-1 / 0, -1 / 0),
              p = e(1 / 0, 1 / 0),
              f = e(1 / 0, 1 / 0);
          s && (n(a, Math.max(0, Math.floor((s.xmin - h[0]) / u[0])), Math.max(0, Math.floor((h[1] - s.ymax) / u[1]))), n(p, Math.max(0, Math.floor((s.xmax - h[0]) / u[0])), Math.max(0, Math.floor((h[1] - s.ymin) / u[1]))), n(f, p[0] - a[0] + 1, p[1] - a[1] + 1));
          var c, g, m, w;
          return o.isWrappable ? (c = e(Math.ceil(Math.round(2 * l.origin[1] / i.resolution) / o.size[0]), f[1]), g = e(Math.floor((l.origin[0] - h[0]) / u[0]), a[1]), m = e(c[0] + g[0] - 1, p[1]), w = !0) : (g = a, m = p, c = f, w = !1), new t(i.level, i.resolution, i.scale, h, a, p, f, u, g, m, c, w);
        }, t.prototype.normalizeCol = function (t) {
          if (!this.wrap) return t;
          var o = this.worldSize[0];
          return t < 0 ? o - 1 - Math.abs((t + 1) % o) : t % o;
        }, t.prototype.denormalizeCol = function (t, o) {
          return this.wrap ? this.worldSize[0] * o + t : t;
        }, t.prototype.getWorldForColumn = function (t) {
          return this.wrap ? Math.floor(t / this.worldSize[0]) : 0;
        }, t.prototype.getFirstColumnForWorld = function (t) {
          return t * this.worldSize[0] + this.first[0];
        }, t.prototype.getLastColumnForWorld = function (t) {
          return t * this.worldSize[0] + this.first[0] + this.size[0] - 1;
        }, t.prototype.getColumnForX = function (t) {
          return (t - this.origin[0]) / this.norm[0];
        }, t.prototype.getXForColumn = function (t) {
          return this.origin[0] + t * this.norm[0];
        }, t.prototype.getRowForY = function (t) {
          return (this.origin[1] - t) / this.norm[1];
        }, t.prototype.getYForRow = function (t) {
          return this.origin[1] - t * this.norm[1];
        }, t.prototype.getTileBounds = function (t, o, r) {
          void 0 === r && (r = !1), l.set(o);
          var i = r ? l.col : this.denormalizeCol(l.col, l.world),
              e = l.row;
          return s(t, this.getXForColumn(i), this.getYForRow(e + 1), this.getXForColumn(i + 1), this.getYForRow(e)), t;
        }, t.prototype.getTileCoords = function (t, o, r) {
          void 0 === r && (r = !1), l.set(o);
          var i = r ? l.col : this.denormalizeCol(l.col, l.world);
          return Array.isArray(t) ? n(t, this.getXForColumn(i), this.getYForRow(l.row)) : (t.x = this.getXForColumn(i), t.y = this.getYForRow(l.row)), t;
        }, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/tiling/TileCache.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileCache.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileCacheJs(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/libs/gl-matrix-2/vec2 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i) {
      function r(e, t) {
        e["delete"](t);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var n = function () {
        function e(e, t, i) {
          this.maxSize = e, this.tileInfoView = t, this.removedFunc = i, this._tilePerId = new Map(), this._tileKeysPerLevel = [];
        }

        return e.prototype.has = function (e) {
          return this._tilePerId.has(e);
        }, e.prototype.get = function (e) {
          return this._tilePerId.get(e);
        }, e.prototype.pop = function (e) {
          var t = this._tilePerId.get(e);

          if (!t) return null;
          var i = t.key.level,
              n = this._tileKeysPerLevel[i];
          r(this._tilePerId, e);

          for (var s = 0; s < n.length; s++) if (n[s].id === e) {
            n.splice(s, 1);
            break;
          }

          return t.visible = !0, t;
        }, e.prototype.add = function (e) {
          e.visible = !1;
          var t = e.key,
              i = t.id;

          if (!this._tilePerId.has(i)) {
            this._tilePerId.set(i, e);

            var r = t.level;
            this._tileKeysPerLevel[r] || (this._tileKeysPerLevel[r] = []), this._tileKeysPerLevel[r].push(t);
          }
        }, e.prototype.prune = function (e, t, i) {
          var r = this._tilePerId.size;

          if (!(r <= this.maxSize)) {
            for (var n = this._tileKeysPerLevel.length - 1; r > this.maxSize && n >= 0;) n !== e && (r = this._pruneAroundCenterTile(r, t, i, n)), n--;

            r > this.maxSize && (r = this._pruneAroundCenterTile(r, t, i, e));
          }
        }, e.prototype._pruneAroundCenterTile = function (e, t, r, n) {
          var s = this._tileKeysPerLevel[n];
          if (!s || 0 === s.length) return e;
          var l = this.tileInfoView.tileInfo,
              o = l.size,
              h = l.origin,
              u = r * o[0],
              v = r * o[1],
              a = [0, 0],
              d = [0, 0];

          for (s.sort(function (e, r) {
            return a[0] = h.x + u * (e.col + .5), a[1] = h.y - v * (e.row + .5), d[0] = h.x + u * (r.col + .5), d[1] = h.y - v * (r.row + .5), i.vec2.squaredDistance(a, t) - i.vec2.squaredDistance(d, t);
          }); s.length > 0;) {
            var f = s.pop();
            if (this._removeTile(f.id), --e === this.maxSize) break;
          }

          return e;
        }, e.prototype._removeTile = function (e) {
          var t = this._tilePerId.get(e);

          this.removedFunc && this.removedFunc(t), r(this._tilePerId, e);
        }, e;
      }();

      t["default"] = 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/tiling/TileCoverage.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileCoverage.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileCoverageJs(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/ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, n, r) {
      return function () {
        function o(o) {
          this.lodInfo = o, this.spans = [];
        }

        return o.prototype.release = function () {}, o.prototype.forEach = function (o, n) {
          var r = this,
              e = r.spans,
              t = r.lodInfo,
              l = t.level;
          if (0 !== e.length) for (var f = 0, i = e; f < i.length; f++) for (var c = i[f], a = c.row, s = c.colFrom, u = c.colTo, p = s; p <= u; p++) o.call(n, l, a, t.normalizeCol(p), t.getWorldForColumn(p));
        }, o.pool = new r(o, !0), o;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/tiling/TileInfoView.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileInfoView.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileInfoViewJs(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/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ./LODInfo */
    "./node_modules/arcgis-js-api/views/2d/tiling/LODInfo.js"), __webpack_require__(
    /*! ./TileCoverage */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileCoverage.js"), __webpack_require__(
    /*! ./TileKey */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js"), __webpack_require__(
    /*! ./TileSpan */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileSpan.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, n, l) {
      var s = new n("0/0/0/0"),
          a = function () {
        function e(e, t, o, r, i, n, l, s) {
          this.x = e, this.ymin = t, this.ymax = o, this.invM = r, this.leftAdjust = i, this.rightAdjust = n, this.leftBound = l, this.rightBound = s;
        }

        return e.create = function (t, o) {
          var r;
          t[1] > o[1] && (r = [o, t], t = r[0], o = r[1]);
          var i = t[0],
              n = t[1],
              l = o[0],
              s = o[1],
              a = l - i,
              f = s - n,
              u = 0 !== f ? a / f : 0,
              h = (Math.ceil(n) - n) * u,
              c = (Math.floor(n) - n) * u;
          return new e(i, Math.floor(n), Math.ceil(s), u, a < 0 ? h : c, a < 0 ? c : h, a < 0 ? l : i, a < 0 ? i : l);
        }, e.prototype.incrRow = function () {
          this.x += this.invM;
        }, e.prototype.getLeftCol = function () {
          return Math.max(this.x + this.leftAdjust, this.leftBound);
        }, e.prototype.getRightCol = function () {
          return Math.min(this.x + this.rightAdjust, this.rightBound);
        }, e;
      }(),
          f = [[0, 0], [0, 0], [0, 0], [0, 0]];

      return function () {
        function e(e, t) {
          var o = this;
          this.tileInfo = e, this.fullExtent = t, this.scales = [], this._lodInfos = null, this._infoByScale = {}, this._infoByLevel = {};
          var i = e.lods.slice();
          i.sort(function (e, t) {
            return t.scale - e.scale;
          });
          var n = this._lodInfos = i.map(function (o) {
            return r.create(e, o, t);
          });
          i.forEach(function (e, t) {
            o._infoByLevel[e.level] = n[t], o._infoByScale[e.scale] = n[t], o.scales[t] = e.scale;
          }, this), this._wrap = e.isWrappable;
        }

        return Object.defineProperty(e.prototype, "spatialReference", {
          get: function get() {
            return this.tileInfo.spatialReference;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.getLODInfoAt = function (e) {
          return this._infoByLevel["number" == typeof e ? e : e.level];
        }, e.prototype.getTileBounds = function (e, t, o) {
          void 0 === o && (o = !1), s.set(t);
          var r = this._infoByLevel[s.level];
          return r ? r.getTileBounds(e, s, o) : e;
        }, e.prototype.getTileCoords = function (e, t, o) {
          void 0 === o && (o = !1), s.set(t);
          var r = this._infoByLevel[s.level];
          return r ? r.getTileCoords(e, s, o) : e;
        }, e.prototype.getTileCoverage = function (e, t, o) {
          void 0 === t && (t = 192), void 0 === o && (o = "closest");
          var r,
              n,
              s,
              u = "closest" === o ? this.getClosestInfoForScale(e.scale) : this.getSmallestInfoForScale(e.scale),
              h = i.pool.acquire(u),
              c = this._wrap,
              v = 1 / 0,
              p = -1 / 0,
              y = h.spans;
          f[0][0] = f[0][1] = f[1][1] = f[3][0] = -t, f[1][0] = f[2][0] = e.size[0] + t, f[2][1] = f[3][1] = e.size[1] + t;

          for (var g = 0, d = f; g < d.length; g++) {
            var m = d[g];
            e.toMap(m, m), m[0] = u.getColumnForX(m[0]), m[1] = u.getRowForY(m[1]);
          }

          for (var _ = [], B = 3, w = 0; w < 4; w++) if (f[w][1] !== f[B][1]) {
            var M = a.create(f[w], f[B]);
            v = Math.min(M.ymin, v), p = Math.max(M.ymax, p), void 0 === _[M.ymin] && (_[M.ymin] = []), _[M.ymin].push(M), B = w;
          } else B = w;

          if (null == v || null == p || p - v > 100) return null;
          var S = [];

          for (r = v; r < p;) {
            null != _[r] && (S = S.concat(_[r])), n = 1 / 0, s = -1 / 0;

            for (var w = S.length - 1; w >= 0; w--) {
              var M = S[w];
              n = Math.min(n, M.getLeftCol()), s = Math.max(s, M.getRightCol());
            }

            if (n = Math.floor(n), s = Math.floor(s), r >= u.first[1] && r <= u.last[1]) if (c) {
              if (u.size[0] < u.worldSize[0]) for (var C = Math.floor(s / u.worldSize[0]), w = Math.floor(n / u.worldSize[0]); w <= C; w++) y.push(new l(r, Math.max(u.getFirstColumnForWorld(w), n), Math.min(u.getLastColumnForWorld(w), s)));else y.push(new l(r, n, s));
            } else n > u.last[0] || s < u.first[0] || (n = Math.max(n, u.first[0]), s = Math.min(s, u.last[0]), y.push(new l(r, n, s)));
            r += 1;

            for (var w = S.length - 1; w >= 0; w--) {
              var M = S[w];
              M.ymax >= r ? M.incrRow() : S.splice(w, 1);
            }
          }

          return h;
        }, e.prototype.getTileParentId = function (e) {
          s.set(e);
          var t = this._infoByLevel[s.level],
              o = this._lodInfos.indexOf(t) - 1;
          return o < 0 ? null : (this._getTileIdAtLOD(s, this._lodInfos[o], s), s.id);
        }, e.prototype.getTileResolution = function (e) {
          var t = this._infoByLevel["object" == typeof e ? e.level : e];
          return t ? t.resolution : -1;
        }, e.prototype.getTileScale = function (e) {
          var t = this._infoByLevel[e.level];
          return t ? t.scale : -1;
        }, e.prototype.intersects = function (e, t) {
          s.set(t);
          var o = this._infoByLevel[s.level],
              r = e.lodInfo;

          if (r.resolution > o.resolution) {
            this._getTileIdAtLOD(s, r, s);

            for (var i = r.denormalizeCol(s.col, s.world), n = 0, l = e.spans; n < l.length; n++) {
              var a = l[n];
              if (a.row === s.row && a.colFrom <= i && a.colTo >= i) return !0;
            }
          }

          if (r.resolution < o.resolution) {
            var f = e.spans.reduce(function (e, t) {
              return e[0] = Math.min(e[0], t.row), e[1] = Math.max(e[1], t.row), e[2] = Math.min(e[2], t.colFrom), e[3] = Math.max(e[3], t.colTo), e;
            }, [1 / 0, -1 / 0, 1 / 0, -1 / 0]),
                u = f[0],
                h = f[1],
                c = f[2],
                v = f[3],
                p = o.denormalizeCol(s.col, s.world),
                y = r.getColumnForX(o.getXForColumn(p)),
                g = r.getRowForY(o.getYForRow(s.row)),
                d = r.getColumnForX(o.getXForColumn(p + 1)) - 1,
                m = r.getRowForY(o.getYForRow(s.row + 1)) - 1;
            return !(y > v || d < c || g > h || m < u);
          }

          var _ = r.denormalizeCol(s.col, s.world);

          return e.spans.some(function (e) {
            return e.row === s.row && e.colFrom <= _ && e.colTo >= _;
          });
        }, e.prototype.normalizeBounds = function (e, t, r) {
          if (e[0] = t[0], e[1] = t[1], e[2] = t[2], e[3] = t[3], this._wrap) {
            var i = o.getInfo(this.tileInfo.spatialReference),
                n = -r * (i.valid[1] - i.valid[0]);
            e[0] += n, e[2] += n;
          }

          return e;
        }, e.prototype.getSmallestInfoForScale = function (e) {
          var t = this.scales;
          if (this._infoByScale[e]) return this._infoByScale[e];
          if (e > t[0]) return this._infoByScale[t[0]];

          for (var o = 1; o < t.length - 1; o++) if (e > t[o] + 1e-6) return this._infoByScale[t[o - 1]];

          return this._infoByScale[t[t.length - 1]];
        }, e.prototype.getClosestInfoForScale = function (e) {
          var t = this.scales;
          return this._infoByScale[e] ? this._infoByScale[e] : (e = t.reduce(function (t, o) {
            return Math.abs(o - e) < Math.abs(t - e) ? o : t;
          }, t[0]), this._infoByScale[e]);
        }, e.prototype.scaleToLevel = function (e) {
          var t = this.scales;
          if (this._infoByScale[e]) return this._infoByScale[e].level;

          for (var o = t.length - 1; o >= 0; o--) if (e < t[o]) {
            if (o === t.length - 1) return this._infoByScale[t[t.length - 1]].level;
            var r = this._infoByScale[t[o]].level;
            return r + (t[o] - e) / (t[o] - t[o + 1]);
          }

          return this._infoByScale[t[0]].level;
        }, e.prototype.scaleToZoom = function (e) {
          return this.tileInfo.scaleToZoom(e);
        }, e.prototype._getTileIdAtLOD = function (e, t, o) {
          var r = this._infoByLevel[o.level];
          return e.set(o), t.resolution < r.resolution ? null : t.resolution === r.resolution ? e : (e.level = t.level, e.col = Math.floor(o.col * r.resolution / t.resolution + .01), e.row = Math.floor(o.row * r.resolution / t.resolution + .01), e);
        }, 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/tiling/TileKey.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileKeyJs(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/ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o) {
      return function () {
        function t(t, e, o, r) {
          this.set(t, e, o, r);
        }

        return t.getId = function (t, e, o, r) {
          return "object" == typeof t ? t.level + "/" + t.row + "/" + t.col + "/" + t.world : t + "/" + e + "/" + o + "/" + r;
        }, Object.defineProperty(t.prototype, "key", {
          get: function get() {
            return this;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "id", {
          get: function get() {
            return this.toString();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.equals = function (t) {
          return this.level === t.level && this.row === t.row && this.col === t.col && this.world === t.world;
        }, t.prototype.release = function () {
          this.level = 0, this.row = 0, this.col = 0, this.world = 0;
        }, t.prototype.set = function (t, e, o, r) {
          if (null == t) this.level = 0, this.row = 0, this.col = 0, this.world = 0;else if ("object" == typeof t) this.level = t.level || 0, this.row = t.row || 0, this.col = t.col || 0, this.world = t.world || 0;else if ("string" == typeof t) {
            var l = t.split("/"),
                i = l[0],
                s = l[1],
                n = l[2],
                h = l[3];
            this.level = parseFloat(i), this.row = parseFloat(s), this.col = parseFloat(n), this.world = parseFloat(h);
          } else this.level = +t, this.row = +e, this.col = +o, this.world = +r || 0;
          return this;
        }, t.prototype.toString = function () {
          return this.level + "/" + this.row + "/" + this.col + "/" + this.world;
        }, t.prototype.getChildKeys = function () {
          var e = this.level + 1,
              o = this.row << 1,
              r = this.col << 1,
              l = this.world;
          return [new t(e, o, r, l), new t(e, o, r + 1, l), new t(e, o + 1, r, l), new t(e, o + 1, r + 1, l)];
        }, t.prototype.compareRowMajor = function (t) {
          return this.row < t.row ? -1 : this.row > t.row ? 1 : this.col < t.col ? -1 : this.col > t.col ? 1 : 0;
        }, t.pool = new o(t, !0, null, 25, 50), t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/tiling/TileQueue.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileQueue.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileQueueJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.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__(
    /*! ../../support/QueueProcessor */
    "./node_modules/arcgis-js-api/views/support/QueueProcessor.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, s, u, p, a) {
      function c(e, t) {
        return e.length = 0, t.forEach(function (t) {
          return e.push(t);
        }), e;
      }

      var h = new Set(),
          y = [],
          l = new Map(),
          f = [0, 0];
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._keyToItem = new Map(), r.concurrency = 6, r.strategy = "scale-first", r.tileInfoView = null, r;
        }

        return r(t, e), t.prototype.initialize = function () {
          var e = this,
              t = this,
              r = t.concurrency,
              o = t.process,
              n = t.strategy,
              i = "scale-first" === n ? this._peekByScaleFirst.bind(this) : this._peekByCenterFirst.bind(this);
          this._queue = new a.QueueProcessor({
            concurrency: r,
            process: function process(t, r) {
              var n = e._keyToItem.get(t);

              return o(n, {
                signal: r
              });
            },
            peeker: i
          });
        }, t.prototype.destroy = function () {
          this.clear(), this._queue.destroy(), this._queue = null;
        }, Object.defineProperty(t.prototype, "length", {
          get: function get() {
            return this._queue ? this._queue.length : 0;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "onGoingCount", {
          get: function get() {
            return this._keyToItem.size;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "updating", {
          get: function get() {
            return this.length > 0 || this.onGoingCount > 0;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.abort = function (e) {
          var t = "string" == typeof e ? e : e.id;

          this._queue.abort(t);
        }, t.prototype.clear = function () {
          this._queue.clear(), this._keyToItem.clear(), this.notifyChange("updating");
        }, t.prototype.get = function (e) {
          var t = "string" == typeof e ? e : e.id;
          return this._queue.get(t);
        }, t.prototype.has = function (e) {
          return "string" == typeof e ? this._keyToItem.has(e) : this._keyToItem.has(e.id);
        }, t.prototype.isOngoing = function (e) {
          var t = "string" == typeof e ? e : e.id;
          return this.has(t) && this._queue.isOngoing(t);
        }, t.prototype.pause = function () {
          this._queue.pause();
        }, t.prototype.push = function (e) {
          return i(this, void 0, void 0, function () {
            var t,
                r,
                o,
                i = this;
            return n(this, function (n) {
              return t = e.key.id, this.has(t) ? [2, this.get(t)] : (r = this._queue.push(t), o = function o() {
                i._keyToItem["delete"](t), i.notifyChange("updating");
              }, this._keyToItem.set(t, e), r.then(o, o), this.notifyChange("updating"), [2, r]);
            });
          });
        }, t.prototype.reset = function () {
          this._queue.reset(), this.notifyChange("updating");
        }, t.prototype.resume = function () {
          this._queue.resume();
        }, t.prototype._peekByScaleFirst = function (e) {
          if (!this.state) return e[0];

          for (var t = this.tileInfoView, r = Number.NEGATIVE_INFINITY, o = Number.POSITIVE_INFINITY, n = 0, i = e; n < i.length; n++) {
            var s = i[n],
                u = this._keyToItem.get(s),
                p = this.tileInfoView.getTileScale(u.key);

            l.has(p) || (l.set(p, []), r = Math.max(p, r), o = Math.min(p, o)), l.get(p).push(u.key), h.add(p);
          }

          var a = this.state.scale;
          l.has(a) || (c(y, h), y.sort(), a = y.reduce(function (e, t) {
            return Math.abs(t - a) < Math.abs(e - a) ? t : e;
          }, y[0])), a = Math.min(a, r), a = Math.max(a, o);
          var f = l.get(a),
              g = t.getClosestInfoForScale(a),
              d = g.getColumnForX(this.state.center[0]),
              I = g.getRowForY(this.state.center[1]);
          return f.sort(function (e, t) {
            var r = g.denormalizeCol(e.col, e.world),
                o = g.denormalizeCol(t.col, t.world);
            return Math.sqrt((d - r) * (d - r) + (I - e.row) * (I - e.row)) - Math.sqrt((d - o) * (d - o) + (I - t.row) * (I - t.row));
          }), h.clear(), l.clear(), f[0].id;
        }, t.prototype._peekByCenterFirst = function (e) {
          if (!this.state) return e[0];

          for (var t = this.tileInfoView, r = this.state.center, o = Number.POSITIVE_INFINITY, n = null, i = 0, s = e; i < s.length; i++) {
            var u = s[i],
                a = this._keyToItem.get(u);

            t.getTileCoords(f, a.key);
            var c = p.vec2.distance(f, r);
            c < o && (o = c, n = a.key);
          }

          return n.id;
        }, o([u.property({
          constructOnly: !0
        })], t.prototype, "concurrency", void 0), o([u.property({
          constructOnly: !0
        })], t.prototype, "process", void 0), o([u.property()], t.prototype, "state", void 0), o([u.property({
          constructOnly: !0
        })], t.prototype, "strategy", void 0), o([u.property({
          constructOnly: !0
        })], t.prototype, "tileInfoView", void 0), o([u.property({
          readOnly: !0
        })], t.prototype, "updating", null), t = o([u.subclass("esri.views.2d.tiling.TileQueue")], t);
      }(u.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/tiling/TileSpan.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileSpan.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileSpanJs(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/ObjectPool */
    "./node_modules/arcgis-js-api/core/ObjectPool.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, e, n) {
      return function () {
        function o(o, e, n) {
          this.row = o, this.colFrom = e, this.colTo = n;
        }

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

  /***/
  "./node_modules/arcgis-js-api/views/2d/tiling/TileStrategy.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/tiling/TileStrategy.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dTilingTileStrategyJs(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__(
    /*! ./TileCache */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileCache.js"), __webpack_require__(
    /*! ./TileCoverage */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileCoverage.js"), __webpack_require__(
    /*! ./TileKey */
    "./node_modules/arcgis-js-api/views/2d/tiling/TileKey.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, t, l, s, a) {
      function r(e, i) {
        e["delete"](i);
      }

      var h = new a(0, 0, 0, 0),
          n = new Map(),
          o = [],
          c = [];
      return function () {
        function e(e) {
          var i = this;
          this._previousScale = Number.POSITIVE_INFINITY, this.cachePolicy = "keep", this.coveragePolicy = "closest", this.resampling = !0, this.tileIndex = new Map(), this.tiles = [], this.buffer = 192, this.acquireTile = e.acquireTile, this.releaseTile = e.releaseTile, this.tileInfoView = e.tileInfoView, this.resampling = null == e.resampling || !!e.resampling, e.cachePolicy && (this.cachePolicy = e.cachePolicy), e.coveragePolicy && (this.coveragePolicy = e.coveragePolicy), null != e.buffer && (this.buffer = e.buffer), e.cacheSize && (this._tileCache = new l["default"](e.cacheSize, this.tileInfoView, function (e) {
            i.releaseTile(e);
          }));
        }

        return e.prototype.destroy = function () {
          this.tileIndex.clear();
        }, e.prototype.update = function (e) {
          var i = this,
              t = this,
              l = t.resampling,
              a = t.tileIndex,
              f = this.tileInfoView.getTileCoverage(e.state, this.buffer, this.coveragePolicy);

          if (c.length = 0, o.length = 0, n.clear(), f) {
            var u = this.tileInfoView.tileInfo,
                d = u.minScale,
                p = u.maxScale,
                v = f.spans,
                g = f.lodInfo,
                y = g.level,
                I = e.state,
                T = I.scale,
                _ = I.center,
                C = I.resolution,
                P = !e.stationary && T > this._previousScale;
            if (this._previousScale = T, this.tiles.length = 0, !l && (T > d || T < p)) return this.tiles.length = 0, n.clear(), a.forEach(function (e) {
              i.releaseTile(e);
            }), a.clear(), c.length = 0, o.length = 0, n.clear(), s.pool.release(f), !0;
            a.forEach(function (e) {
              return e.visible = !0;
            });
            var w = 0,
                x = 0;
            if (v.length > 0) for (var b = 0, m = v; b < m.length; b++) for (var k = m[b], S = k.row, V = k.colFrom, E = k.colTo, R = V; R <= E; R++) {
              w++;
              var q = h.set(y, S, g.normalizeCol(R), g.getWorldForColumn(R)).id;

              if (a.has(q)) {
                var z = a.get(q);
                z.isReady ? (n.set(q, z), x++) : P || this._addParentTile(q, n);
              } else {
                var z = void 0;

                if (this._tileCache && this._tileCache.has(q)) {
                  if (z = this._tileCache.pop(q), this.tileIndex.set(q, z), z.isReady) {
                    n.set(q, z), x++;
                    continue;
                  }
                } else z = this.acquireTile(h), this.tileIndex.set(q, z);

                P || this._addParentTile(q, n);
              }
            }
            var F = x === w;
            a.forEach(function (e, t) {
              if (h.set(t), !n.has(t)) {
                var l = i.tileInfoView.intersects(f, h);
                if (!l || !P && F) {
                  if ("purge" === i.cachePolicy) {
                    var s = h.level !== y;
                    !s && l || o.push(t);
                  } else (h.level > y || !l) && o.push(t);
                } else e.isReady ? c.push(t) : h.level > y && o.push(t);
              }
            });

            for (var N = 0, M = c; N < M.length; N++) {
              var q = M[N],
                  z = a.get(q);
              z && z.isReady && n.set(q, z);
            }

            for (var H = 0, K = o; H < K.length; H++) {
              var q = K[H],
                  z = a.get(q);
              this._tileCache ? this._tileCache.add(z) : this.releaseTile(z), r(a, q);
            }

            return n.forEach(function (e) {
              return i.tiles.push(e);
            }), a.forEach(function (e) {
              n.has(e.key.id) || (e.visible = !1);
            }), this._tileCache && this._tileCache.prune(y, _, C), s.pool.release(f), F;
          }
        }, e.prototype.clear = function (e) {
          var i = this;
          void 0 === e && (e = !0);
          var t = this.tileIndex;
          e && t.forEach(function (e) {
            i.releaseTile(e);
          }), t.clear();
        }, e.prototype._addParentTile = function (e, i) {
          for (var t = e, l = null;;) {
            if (!(t = this.tileInfoView.getTileParentId(t))) break;

            if (this.tileIndex.has(t)) {
              if ((l = this.tileIndex.get(t)) && l.isReady) {
                i.has(l.key.id) || i.set(l.key.id, l);
                break;
              }
            } else if (this._tileCache && this._tileCache.has(t) && (l = this._tileCache.pop(t), this.tileIndex.set(t, l), l && l.isReady)) {
              i.has(l.key.id) || i.set(l.key.id, l);
              break;
            }
          }
        }, 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/unitBezier.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/unitBezier.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dUnitBezierJs(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 (C) 2008 Apple Inc. All Rights Reserved.
     *
     * Redistribution and use in source and binary forms, with or without
     * modification, are permitted provided that the following conditions
     * are met:
     * 1. Redistributions of source code must retain the above copyright
     *    notice, this list of conditions and the following disclaimer.
     * 2. Redistributions in binary form must reproduce the above copyright
     *    notice, this list of conditions and the following disclaimer in the
     *    documentation and/or other materials provided with the distribution.
     *
     * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
     * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
     * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
     * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
     * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
     * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
     * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
      var n = function n(_n5, e, r, t) {
        function u(n) {
          return ((c * n + s) * n + o) * n;
        }

        function a(n) {
          return ((p * n + b) * n + l) * n;
        }

        function i(n) {
          return (3 * c * n + 2 * s) * n + o;
        }

        function f(n, e) {
          var r, t, a, f, o, s;

          for (e = null == e ? 1e-6 : e, a = n, s = 0; s < 8; s++) {
            if (f = u(a) - n, Math.abs(f) < e) return a;
            if (o = i(a), Math.abs(o) < 1e-6) break;
            a -= f / o;
          }

          if (r = 0, t = 1, (a = n) < r) return r;
          if (a > t) return t;

          for (; r < t;) {
            if (f = u(a), Math.abs(f - n) < e) return a;
            n > f ? r = a : t = a, a = .5 * (t - r) + r;
          }

          return a;
        }

        var o = 3 * _n5,
            s = 3 * (r - _n5) - o,
            c = 1 - o - s,
            l = 3 * e,
            b = 3 * (t - e) - l,
            p = 1 - l - b;
        return function (n, e) {
          return a(f(n, e));
        };
      },
          e = /^cubic-bezier\((.*)\)/;

      return n.parse = function (r) {
        var t = n[r] || null;

        if (!t) {
          var u = e.exec(r);

          if (u) {
            var a = u[1].split(",").map(function (n) {
              return parseFloat(n.trim());
            });
            4 !== a.length || a.some(function (n) {
              return isNaN(n);
            }) || (t = n.apply(n, a));
          }
        }

        return t;
      }, n.ease = n(.25, .1, .25, 1), n.linear = n(0, 0, 1, 1), n.easeIn = n["ease-in"] = n(.42, 0, 1, 1), n.easeOut = n["ease-out"] = n(0, 0, .58, 1), n.easeInOut = n["ease-in-out"] = n(.42, 0, .58, 1), 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/viewpointUtils.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/viewpointUtils.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dViewpointUtilsJs(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__(
    /*! ../../Viewpoint */
    "./node_modules/arcgis-js-api/Viewpoint.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../../core/wgs84Constants */
    "./node_modules/arcgis-js-api/core/wgs84Constants.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/common */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/common.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat2d */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2d.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/mat2df64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/mat2df64.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/vec2f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2f64.js"), __webpack_require__(
    /*! ../../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../../geometry/Geometry */
    "./node_modules/arcgis-js-api/geometry/Geometry.js"), __webpack_require__(
    /*! ../../geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js"), __webpack_require__(
    /*! ../../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ../../geometry/support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, a, c, o, i, s, u, l, f, m, v, y, g, d, p, x, b, h, M) {
      function w(e, t, r) {
        var n = l.common.toDegree(t[0] / X);
        return v.vec2.set(e, r ? n : n - 360 * Math.floor((n + 180) / 360), l.common.toDegree(.5 * Math.PI - 2 * Math.atan(Math.exp(-1 * t[1] / X))));
      }

      function S(e, t) {
        var r = t[1];
        return r > 89.99999 ? r = 89.99999 : r < -89.99999 && (r = -89.99999), r = Math.sin(l.common.toRadian(r)), v.vec2.set(e, l.common.toRadian(t[0]) * X, .5 * X * Math.log((1 + r) / (1 - r)));
      }

      function R(e, t, r, n) {
        return n && r && !n.equals(r) && h.canProject(n, r) && n.isWebMercator ? n.isWebMercator ? S(e, t) : w(e, t) : v.vec2.copy(e, t);
      }

      function A(e) {
        return e.wkid ? e : e.spatialReference || x.WGS84;
      }

      function G(e, t) {
        return t.type ? v.vec2.set(e, t.x, t.y) : v.vec2.copy(e, t);
      }

      function P(e) {
        return s.getMetersPerUnitForSR(e);
      }

      function j(e, t) {
        return Math.max(e.width / t[0], e.height / t[1]) * E(e.spatialReference);
      }

      function T(e, t, a, s) {
        return n(this, void 0, void 0, function () {
          var n, u, l, f, m, v, y, x, b, M, w, S, R, A, G, P, j, B, z, x, k, q, F, N, V, W, I, O, E;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                if (!e) return [2, null];
                if (Array.isArray(e) && !e.length) return [2, null];
                if (c.isCollection(e) && (e = e.toArray()), !Array.isArray(e) || !e.length || "object" != typeof e[0]) return [3, 7];
                if (u = e.every(function (e) {
                  return "attributes" in e;
                }), l = e.some(function (e) {
                  return !e.geometry;
                }), f = e, !(u && l && t && t.allLayerViews)) return [3, 2];

                for (m = new Map(), v = 0, y = e; v < y.length; v++) x = y[v], b = x.layer, M = m.get(b) || [], w = x.attributes[b.objectIdField], null != w && M.push(w), m.set(b, M);

                return S = [], m.forEach(function (e, r) {
                  var n = t.allLayerViews.find(function (e) {
                    return e.layer.id === r.id;
                  });

                  if ("queryFeatures" in n) {
                    var a = r.createQuery();
                    a.objectIds = e, a.returnGeometry = !0, S.push(n.queryFeatures(a));
                  }
                }), [4, i.all(S)];

              case 1:
                for (R = r.sent(), A = [], G = 0, P = R; G < P.length; G++) if ((j = P[G]) && j.features && j.features.length) for (B = 0, z = j.features; B < z.length; B++) x = z[B], o.isSome(x.geometry) && A.push(x.geometry);

                f = A, r.label = 2;

              case 2:
                k = 0, q = f, r.label = 3;

              case 3:
                return k < q.length ? (F = q[k], [4, T(F, t, a, s)]) : [3, 6];

              case 4:
                s = r.sent(), r.label = 5;

              case 5:
                return k++, [3, 3];

              case 6:
                return [2, s];

              case 7:
                return Array.isArray(e) && 2 === e.length && "number" == typeof e[0] && "number" == typeof e[1] ? (n = new p(e), [3, 12]) : [3, 8];

              case 8:
                return e instanceof d ? (n = e, [3, 12]) : [3, 9];

              case 9:
                return "geometry" in e ? e.geometry ? (n = e.geometry, [3, 12]) : [3, 10] : [3, 12];

              case 10:
                return e.layer ? (N = e.layer, "queryFeatures" in (V = t.allLayerViews.find(function (e) {
                  return e.layer.id === N.id;
                })) ? (W = N.createQuery(), W.objectIds = [e.attributes[N.objectIdField]], W.returnGeometry = !0, [4, V.queryFeatures(W)]) : [3, 12]) : [3, 12];

              case 11:
                I = r.sent(), n = o.get(I, "features", 0, "geometry"), r.label = 12;

              case 12:
                if (o.isNone(n)) return [2, null];
                if (!(O = "point" === n.type ? new g({
                  xmin: n.x,
                  ymin: n.y,
                  xmax: n.x,
                  ymax: n.y,
                  spatialReference: n.spatialReference
                }) : n.extent)) return [2, null];
                if (E = h.canProject(O, a), !O.spatialReference.equals(a) && E) O = h.project(O, a);else if (!E) return [2, null];
                return s = s ? s.union(O) : O.clone(), [2, s];
            }
          });
        });
      }

      function B(e) {
        if (e && (!Array.isArray(e) || "number" != typeof e[0]) && ("object" == typeof e || Array.isArray(e) && "object" == typeof e[0])) {
          if ("layer" in e && e.layer && e.layer.minScale && e.layer.maxScale) {
            var t = e.layer;
            return {
              min: t.minScale,
              max: t.maxScale
            };
          }

          if (Array.isArray(e) && e.length && e.every(function (e) {
            return "layer" in e;
          })) {
            for (var r = 0, n = 0, a = 0, c = e; a < c.length; a++) {
              var o = c[a],
                  t = o.layer;
              t && t.minScale && t.maxScale && (r = t.minScale < r ? t.minScale : r, n = t.maxScale > n ? t.maxScale : n);
            }

            return r && n ? {
              min: r,
              max: n
            } : null;
          }
        }
      }

      function z(e, t) {
        return n(this, void 0, void 0, function () {
          var n, c, o, i, s, u, l, f, m, v, d, x, b, w, S, P;
          return r(this, function (r) {
            switch (r.label) {
              case 0:
                return e && t ? (n = t.spatialReference, c = t.size, o = t.viewpoint, i = t.constraints, s = null, e instanceof a ? s = e : e.viewpoint ? s = e.viewpoint : e.target && "esri.Viewpoint" === e.target.declaredClass && (s = e.target), u = null, s && s.targetGeometry ? (u = s.targetGeometry, [3, 10]) : [3, 1]) : [2, new a({
                  targetGeometry: new p(),
                  scale: 0,
                  rotation: 0
                })];

              case 1:
                return e instanceof g ? (u = e, [3, 10]) : [3, 2];

              case 2:
                return e || e && ("center" in e || "extent" in e || "target" in e) ? [4, T(e.center, t, n)] : [3, 10];

              case 3:
                return m = r.sent(), m ? [3, 5] : [4, T(e.extent, t, n)];

              case 4:
                m = r.sent(), r.label = 5;

              case 5:
                return f = m, f ? [3, 7] : [4, T(e.target, t, n)];

              case 6:
                f = r.sent(), r.label = 7;

              case 7:
                return l = f, l ? [3, 9] : [4, T(e, t, n)];

              case 8:
                l = r.sent(), r.label = 9;

              case 9:
                u = l, r.label = 10;

              case 10:
                return !u && o && o.targetGeometry ? u = o.targetGeometry : !u && t.extent && (u = t.extent), (v = A(u), n || (n = A(t.spatialReference || t.extent || u)), M.canProject(u, n) || !v || v.equals(n)) ? (d = G(y.vec2f64.create(), u.center ? u.center : u), x = new p(R(d, d, v, n), n), b = null, b = s && s.targetGeometry && "point" === s.targetGeometry.type ? s.scale : e.hasOwnProperty("scale") && e.scale ? e.scale : e.hasOwnProperty("zoom") && -1 !== e.zoom && i && i.effectiveLODs ? i.zoomToScale(e.zoom) : Array.isArray(u) || "point" === u.type || "extent" === u.type && 0 === u.width && 0 === u.height ? t.extent && h.canProject(t.extent, n) ? j(h.project(t.extent, n), c) : t.extent ? j(t.extent, c) : o.scale : h.canProject(u.extent, n) ? j(h.project(u.extent, n), c) : j(u.extent, c), w = B(e), w && (w.min && w.min > b ? b = w.min : w.max && w.max < b && (b = w.max)), S = 0, s ? S = s.rotation : e.hasOwnProperty("rotation") ? S = e.rotation : o && (S = o.rotation), P = new a({
                  targetGeometry: x,
                  scale: b,
                  rotation: S
                }), i && (P = i.fit(P), i.rotationEnabled || (P.rotation = S)), [2, P]) : [2, null];
            }
          });
        });
      }

      function k(e, t) {
        var r = e.targetGeometry,
            n = t.targetGeometry;
        return r.x = n.x, r.y = n.y, r.spatialReference = n.spatialReference, e.scale = t.scale, e.rotation = t.rotation, e;
      }

      function q(e, t, r) {
        return r ? v.vec2.set(e, .5 * (t[0] - r.right + r.left), .5 * (t[1] - r.bottom + r.top)) : v.vec2.scale(e, t, .5);
      }

      function F(e, r, n, a, c) {
        return t.centerAt(e, r, n.center), e.scale = j(n, a), c && c.constraints && c.constraints.constrain(e), e;
      }

      function N(e, r, n, a) {
        return t.getTransform(e, r, n, a), f.mat2d.invert(e, e);
      }

      function V(e, t, r) {
        var n = O(t),
            a = Math.abs(Math.cos(n)),
            c = Math.abs(Math.sin(n));
        return v.vec2.set(e, Math.round(r[1] * c + r[0] * a), Math.round(r[1] * a + r[0] * c));
      }

      function W(e) {
        return e.scale * I(e.targetGeometry.spatialReference);
      }

      function I(e) {
        return b.isValid(e) ? 1 / (P(e) * K * 96) : 1;
      }

      function O(e) {
        return l.common.toRadian(e.rotation) || 0;
      }

      function E(e) {
        return b.isValid(e) ? P(e) * K * 96 : 1;
      }

      function U(e, t) {
        return v.vec2.scale(e, t, .5);
      }

      function C(e) {
        if (e.isWrappable) {
          var t = b.getInfo(e);
          return t.valid[1] - t.valid[0];
        }

        return 0;
      }

      function L(e, t) {
        return Math.round(C(e) / t);
      }

      function D(e, t) {
        return z(e, t);
      }

      function H(e, t) {
        return W(t);
      }

      function Q(e, t, r) {
        return k(e, t), e.rotation += r, e;
      }

      function _(e, t, r) {
        return k(e, t), e.rotation = r, e;
      }

      function J(e, t, r) {
        return k(e, t), e.scale = r, e;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var K = 39.37,
          X = u.wgs84Radius,
          Y = 180 / Math.PI;
      t.extentToScale = j, t.create = z, t.copy = k, t.getAnchor = q, t.getExtent = function () {
        var e = y.vec2f64.create();
        return function (t, r, n) {
          var a = r.targetGeometry;
          G(e, a);
          var c = .5 * W(r);
          return t.xmin = e[0] - c * n[0], t.ymin = e[1] - c * n[1], t.xmax = e[0] + c * n[0], t.ymax = e[1] + c * n[1], t.spatialReference = a.spatialReference, t;
        };
      }(), t.setExtent = F, t.getOuterExtent = function () {
        var e = y.vec2f64.create(),
            t = y.vec2f64.create();
        return function (r, n, a) {
          G(e, n.targetGeometry), V(t, n, a);
          var c = .5 * W(n),
              o = e[0] - c * t[0],
              i = e[1] - c * t[1],
              s = e[0] + c * t[0],
              u = e[1] + c * t[1],
              l = n.targetGeometry.spatialReference;
          return r.set({
            xmin: o,
            ymin: i,
            xmax: s,
            ymax: u,
            spatialReference: l
          }), r;
        };
      }(), t.getOuterSize = V, t.getPaddingScreenTranslation = function () {
        var e = y.vec2f64.create();
        return function (t, r, n) {
          return v.vec2.sub(t, U(t, r), q(e, r, n));
        };
      }(), t.getPaddingMapTranslation = function () {
        var e = m.mat2df64.create(),
            r = y.vec2f64.create();
        return function (n, a, c, o) {
          var i = W(a),
              s = O(a);
          return v.vec2.set(r, i, i), f.mat2d.fromScaling(e, r), f.mat2d.rotate(e, e, s), f.mat2d.translate(e, e, t.getPaddingScreenTranslation(r, c, o)), f.mat2d.translate(e, e, [0, o.top - o.bottom]), v.vec2.set(n, e[4], e[5]);
        };
      }(), t.getResolution = W, t.getResolutionToScaleFactor = E, t.getMatrix = function () {
        var e = y.vec2f64.create(),
            t = y.vec2f64.create(),
            r = y.vec2f64.create();
        return function (n, a, c, o, i, s) {
          return v.vec2.negate(e, a), v.vec2.scale(t, c, .5 * s), v.vec2.set(r, 1 / o * s, -1 / o * s), f.mat2d.identity(n), f.mat2d.translate(n, n, t), i && f.mat2d.rotate(n, n, i), f.mat2d.scale(n, n, r), f.mat2d.translate(n, n, e), n;
        };
      }(), t.getTransform = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c) {
          var o = W(n),
              i = O(n);
          return G(e, n.targetGeometry), t.getMatrix(r, e, a, o, i, c);
        };
      }(), t.getTransformNoRotation = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c) {
          var o = W(n);
          return G(e, n.targetGeometry), t.getMatrix(r, e, a, o, 0, c);
        };
      }(), t.getWorldWidth = C, t.getWorldScreenWidth = L, t.createAsync = D, t.angleBetween = function () {
        var e = y.vec2f64.create(),
            t = y.vec2f64.create(),
            r = [0, 0, 0];
        return function (n, a, c) {
          v.vec2.subtract(e, n, a), v.vec2.normalize(e, e), v.vec2.subtract(t, n, c), v.vec2.normalize(t, t), v.vec2.cross(r, e, t);
          var o = Math.acos(v.vec2.dot(e, t) / (v.vec2.length(e) * v.vec2.length(t))) * Y;
          return r[2] < 0 && (o = -o), isNaN(o) && (o = 0), o;
        };
      }(), t.addPadding = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c) {
          var o = r.targetGeometry;
          return k(r, n), t.getPaddingMapTranslation(e, n, a, c), o.x += e[0], o.y += e[1], r;
        };
      }(), t.removePadding = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c) {
          var o = r.targetGeometry;
          return k(r, n), t.getPaddingMapTranslation(e, n, a, c), o.x -= e[0], o.y -= e[1], r;
        };
      }(), t.centerAt = function () {
        var e = y.vec2f64.create();
        return function (t, r, n) {
          k(t, r);
          var a = t.targetGeometry,
              c = A(n),
              o = A(a);
          return G(e, n), R(e, e, c, o), a.x = e[0], a.y = e[1], t;
        };
      }(), t.pixelSizeAt = H, t.resize = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c, o) {
          o || (o = "center"), v.vec2.sub(e, a, c), v.vec2.scale(e, e, .5);
          var i = e[0],
              s = e[1];

          switch (o) {
            case "center":
              v.vec2.set(e, 0, 0);
              break;

            case "left":
              v.vec2.set(e, -i, 0);
              break;

            case "top":
              v.vec2.set(e, 0, s);
              break;

            case "right":
              v.vec2.set(e, i, 0);
              break;

            case "bottom":
              v.vec2.set(e, 0, -s);
              break;

            case "top-left":
              v.vec2.set(e, -i, s);
              break;

            case "bottom-left":
              v.vec2.set(e, -i, -s);
              break;

            case "top-right":
              v.vec2.set(e, i, s);
              break;

            case "bottom-right":
              v.vec2.set(e, i, -s);
          }

          return t.translateBy(r, n, e), r;
        };
      }(), t.rotateBy = Q, t.rotateTo = _, t.scaleBy = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c, o) {
          return k(r, n), isNaN(a) || 0 === a || (t.toMap(e, c, n, o), r.scale = n.scale * a, t.toScreen(e, e, r, o), t.translateBy(r, r, v.vec2.set(e, e[0] - c[0], c[1] - e[1]))), r;
        };
      }(), t.scaleTo = J, t.scaleAndRotateBy = function () {
        var e = y.vec2f64.create();
        return function (r, n, a, c, o, i) {
          return k(r, n), isNaN(a) || 0 === a || (t.toMap(e, o, n, i), r.scale = n.scale * a, r.rotation += c, t.toScreen(e, e, r, i), t.translateBy(r, r, v.vec2.set(e, e[0] - o[0], o[1] - e[1]))), r;
        };
      }(), t.padAndScaleAndRotateBy = function () {
        var e = y.vec2f64.create(),
            r = y.vec2f64.create();
        return function (n, a, c, o, i, s, u) {
          return t.getPaddingScreenTranslation(r, s, u), v.vec2.add(e, i, r), o ? t.scaleAndRotateBy(n, a, c, o, e, s) : t.scaleBy(n, a, c, e, s);
        };
      }(), t.toMap = function () {
        var e = m.mat2df64.create();
        return function (t, r, n, a) {
          return v.vec2.transformMat2d(t, r, N(e, n, a, 1));
        };
      }(), t.toScreen = function () {
        var e = m.mat2df64.create();
        return function (r, n, a, c) {
          return v.vec2.transformMat2d(r, n, t.getTransform(e, a, c, 1));
        };
      }(), t.translateBy = function () {
        var e = y.vec2f64.create(),
            t = m.mat2df64.create();
        return function (r, n, a) {
          k(r, n);
          var c = W(n),
              o = r.targetGeometry;
          return f.mat2d.fromRotation(t, O(n)), f.mat2d.scale(t, t, y.vec2f64.fromValues(c, c)), v.vec2.transformMat2d(e, a, t), o.x += e[0], o.y += e[1], r;
        };
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/3d/support/mathUtils.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/3d/support/mathUtils.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews3dSupportMathUtilsJs(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/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.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_AMD_DEFINE_RESULT__ = function (t, n, e, r, i) {
      function o(t, n) {
        return t > n ? Math.cos(n) : Math.cos(t);
      }

      function a(t, n, e) {
        return 2 * Math.atan(e * Math.tan(.5 * t) / n);
      }

      function c(t, n, e) {
        return 2 * Math.atan(n * Math.tan(.5 * t) / e);
      }

      function s(t) {
        var n = t[0] * t[0] + t[4] * t[4] + t[8] * t[8],
            e = t[1] * t[1] + t[5] * t[5] + t[9] * t[9],
            r = t[2] * t[2] + t[6] * t[6] + t[10] * t[10];
        return Math.sqrt(Math.max(Math.max(n, e), r));
      }

      function u(t, n) {
        var e = Math.sqrt(n[0] * n[0] + n[4] * n[4] + n[8] * n[8]),
            i = Math.sqrt(n[1] * n[1] + n[5] * n[5] + n[9] * n[9]),
            o = Math.sqrt(n[2] * n[2] + n[6] * n[6] + n[10] * n[10]);
        return r.vec3.set(t, e, i, o), t;
      }

      function v(t, n, e) {
        e = e || t;
        var i = r.vec3.dot(t, n);
        r.vec3.set(e, t[0] - i * n[0], t[1] - i * n[1], t[2] - i * n[2]), r.vec3.normalize(e, e);
      }

      function f(t, n, e) {
        Math.abs(t[0]) > Math.abs(t[1]) ? r.vec3.set(n, 0, 1, 0) : r.vec3.set(n, 1, 0, 0), r.vec3.cross(e, t, n), r.vec3.normalize(n, n), r.vec3.cross(n, e, t), r.vec3.normalize(e, e);
      }

      function h(t, n) {
        return (t % n + n) % n;
      }

      function l(t, n) {
        var i = r.vec3.length(t),
            o = e.asinClamped(t[2] / i),
            a = Math.atan2(t[1] / i, t[0] / i);
        return r.vec3.set(n, i, o, a), n;
      }

      function m(t, n) {
        var e = t[0],
            i = t[1],
            o = t[2],
            a = Math.cos(i);
        r.vec3.set(n, e * a * Math.cos(o), e * a * Math.sin(o), e * Math.sin(i));
      }

      function M(t, n, e) {
        var r = e[0] - n[0],
            i = e[1] - n[1],
            o = e[2] - n[2],
            a = r * r + i * i + o * o;
        return a ? (a = 1 / Math.sqrt(a), t[0] = r * a, t[1] = i * a, t[2] = o * a, t) : (t[0] = 0, t[1] = 0, t[2] = 0, t);
      }

      function p(t, n, e, r, i, o) {
        var a = t + (n - t) * i;
        return a + (e + (r - e) * i - a) * o;
      }

      function d(t, n, e, o) {
        void 0 === o && (o = i.vec3f64.create());
        var a = r.vec3.length(t),
            c = r.vec3.length(n),
            s = r.vec3.dot(t, n) / (a * c);

        if (s < .9999999999999999) {
          var u = Math.acos(s),
              v = (1 - e) * a + e * c,
              f = v / Math.sin(u),
              h = f / a * Math.sin((1 - e) * u),
              l = f / c * Math.sin(e * u);
          return r.vec3.scale(I, t, h), r.vec3.scale(_, n, l), r.vec3.add(o, I, _);
        }

        return r.vec3.lerp(o, t, n, e);
      }

      function g(t, n, i) {
        t = r.vec3.normalize(I, t), n = r.vec3.normalize(_, n);
        var o = e.acosClamped(r.vec3.dot(t, n));

        if (i) {
          var a = r.vec3.cross(C, t, n);
          if (r.vec3.dot(a, i) < 0) return -o;
        }

        return o;
      }

      function y(t) {
        var n = t.length;
        return function (e) {
          if (e <= t[0][0]) return t[0][1];
          if (e >= t[n - 1][0]) return t[n - 1][1];

          for (var r = 1; e > t[r][0];) r++;

          var i = t[r - 1][0],
              o = t[r][0],
              a = (o - e) / (o - i);
          return a * t[r - 1][1] + (1 - a) * t[r][1];
        };
      }

      function z(t, n) {
        if (null == t || null == n) return t !== n;
        if (t.length !== n.length) return !1;

        for (var e = 0; e < t.length; e++) if (t[e] !== n[e]) return !1;

        return !0;
      }

      function x(t, n, e, i) {
        r.vec3.subtract(q, n, t), r.vec3.subtract(F, e, t), r.vec3.cross(i, q, F), r.vec3.normalize(i, i), i[3] = -r.vec3.dot(t, i);
      }

      function b(t) {
        for (var n in t) {
          var e = t[n];
          e instanceof Function && (t[n] = e.bind(t));
        }

        return t;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.cosCapped = o, n.fovx2fovy = a, n.fovy2fovx = c, n.maxScale = s, n.scaleFromMatrix = u, n.makeOrthonormal = v, n.tangentFrame = f, n.moduloPositive = h, n.cartesianToSpherical = l, n.sphericalToCartesian = m, n.directionFromTo = M, n.bilerp = p, n.slerp = d, n.angle = g, n.makePiecewiseLinearFunction = y, n.vectorEquals = z;

      var P = function () {
        function t(t, n) {
          this.min = t, this.max = n, this.range = n - t;
        }

        return t.prototype.ndiff = function (t, n) {
          return void 0 === n && (n = 0), Math.ceil((t - n) / this.range) * this.range + n;
        }, t.prototype._normalize = function (t, n, e, r) {
          return void 0 === r && (r = 0), e -= r, e < t ? e += this.ndiff(t - e) : e > n && (e -= this.ndiff(e - n)), e + r;
        }, t.prototype.normalize = function (t, n) {
          return this._normalize(this.min, this.max, t, n);
        }, t.prototype.clamp = function (t, n) {
          return void 0 === n && (n = 0), e.clamp(t - n, this.min, this.max) + n;
        }, t.prototype.monotonic = function (t, n, e) {
          return t < n ? n : n + this.ndiff(t - n, e);
        }, t.prototype.minimalMonotonic = function (t, n, e) {
          return this._normalize(t, t + this.range, n, e);
        }, t.prototype.center = function (t, n, e) {
          return n = this.monotonic(t, n, e), this.normalize((t + n) / 2, e);
        }, t.prototype.diff = function (t, n, e) {
          return this.monotonic(t, n, e) - t;
        }, t.prototype.shortestSignedDiff = function (t, n) {
          t = this.normalize(t), n = this.normalize(n);
          var e = n - t,
              r = n < t ? this.minimalMonotonic(t, n) - t : n - this.minimalMonotonic(n, t);
          return Math.abs(e) < Math.abs(r) ? e : r;
        }, t.prototype.contains = function (t, n, e) {
          return n = this.minimalMonotonic(t, n), (e = this.minimalMonotonic(t, e)) > t && e < n;
        }, t;
      }();

      n.Cyclical = P, n.planeFromPoints = x;
      var q = i.vec3f64.create(),
          F = i.vec3f64.create();
      n.cyclical2PI = b(new P(0, 2 * Math.PI)), n.cyclicalPI = b(new P(-Math.PI, Math.PI)), n.cyclicalDeg = b(new P(0, 360));

      var C = i.vec3f64.create(),
          I = i.vec3f64.create(),
          _ = i.vec3f64.create();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsBasemapViewJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.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_AMD_DEFINE_RESULT__ = function (e, r, t, o, n, i, p, s) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });

      var a = function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.view = null, t.baseLayerViews = new i(), t.referenceLayerViews = new i(), t._loadingHandle = p.init(t, "view.map.basemap", function (e) {
            e && e.load();
          }), t;
        }

        return t(r, e), r.prototype.destroy = function () {
          this._set("view", null), this._loadingHandle && (this._loadingHandle.remove(), this._loadingHandle = null);
        }, Object.defineProperty(r.prototype, "suspended", {
          get: function get() {
            return !this.view || this.view.suspended;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "updating", {
          get: function get() {
            return (!this.view || !this.view.suspended) && !(!(this.view && this.view.map && this.view.map.basemap) || this.view.map.basemap.loaded);
          },
          enumerable: !0,
          configurable: !0
        }), o([s.property({
          constructOnly: !0
        })], r.prototype, "view", void 0), o([s.property({
          readOnly: !0
        })], r.prototype, "baseLayerViews", void 0), o([s.property({
          readOnly: !0
        })], r.prototype, "referenceLayerViews", void 0), o([s.property({
          readOnly: !0,
          dependsOn: ["view.suspended"]
        })], r.prototype, "suspended", null), o([s.property({
          type: Boolean,
          readOnly: !0,
          dependsOn: ["view.suspended", "view.map.basemap.loaded"]
        })], r.prototype, "updating", null), r = o([s.subclass("esri.views.BasemapView")], r);
      }(s.declared(n));

      r.BasemapView = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsBreakpointsOwnerJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../core/ArrayPool */
    "./node_modules/arcgis-js-api/core/ArrayPool.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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_AMD_DEFINE_RESULT__ = function (e, i, r, t, a, s, l, n, h) {
      function o(e) {
        var i = e;
        return i && i.xsmall < i.small && i.small < i.medium && i.medium < i.large;
      }

      function m(e, i) {
        return i ? g[e].valueToClassName[i].split(" ") : [];
      }

      Object.defineProperty(i, "__esModule", {
        value: !0
      });
      var g = {
        widthBreakpoint: {
          getValue: function getValue(e) {
            var i = e.viewSize[0],
                r = e.breakpoints,
                t = this.values;
            return i <= r.xsmall ? t.xsmall : i <= r.small ? t.small : i <= r.medium ? t.medium : i <= r.large ? t.large : t.xlarge;
          },
          values: {
            xsmall: "xsmall",
            small: "small",
            medium: "medium",
            large: "large",
            xlarge: "xlarge"
          },
          valueToClassName: {
            xsmall: "esri-view-width-xsmall esri-view-width-less-than-small esri-view-width-less-than-medium esri-view-width-less-than-large esri-view-width-less-than-xlarge",
            small: "esri-view-width-small esri-view-width-greater-than-xsmall esri-view-width-less-than-medium esri-view-width-less-than-large esri-view-width-less-than-xlarge",
            medium: "esri-view-width-medium esri-view-width-greater-than-xsmall esri-view-width-greater-than-small esri-view-width-less-than-large esri-view-width-less-than-xlarge",
            large: "esri-view-width-large esri-view-width-greater-than-xsmall esri-view-width-greater-than-small esri-view-width-greater-than-medium esri-view-width-less-than-xlarge",
            xlarge: "esri-view-width-xlarge esri-view-width-greater-than-xsmall esri-view-width-greater-than-small esri-view-width-greater-than-medium esri-view-width-greater-than-large"
          }
        },
        heightBreakpoint: {
          getValue: function getValue(e) {
            var i = e.viewSize[1],
                r = e.breakpoints,
                t = this.values;
            return i <= r.xsmall ? t.xsmall : i <= r.small ? t.small : i <= r.medium ? t.medium : i <= r.large ? t.large : t.xlarge;
          },
          values: {
            xsmall: "xsmall",
            small: "small",
            medium: "medium",
            large: "large",
            xlarge: "xlarge"
          },
          valueToClassName: {
            xsmall: "esri-view-height-xsmall esri-view-height-less-than-small esri-view-height-less-than-medium esri-view-height-less-than-large esri-view-height-less-than-xlarge",
            small: "esri-view-height-small esri-view-height-greater-than-xsmall esri-view-height-less-than-medium esri-view-height-less-than-large esri-view-height-less-than-xlarge",
            medium: "esri-view-height-medium esri-view-height-greater-than-xsmall esri-view-height-greater-than-small esri-view-height-less-than-large esri-view-height-less-than-xlarge",
            large: "esri-view-height-large esri-view-height-greater-than-xsmall esri-view-height-greater-than-small esri-view-height-greater-than-medium esri-view-height-less-than-xlarge",
            xlarge: "esri-view-height-xlarge esri-view-height-greater-than-xsmall esri-view-height-greater-than-small esri-view-height-greater-than-medium esri-view-height-greater-than-large"
          }
        },
        orientation: {
          getValue: function getValue(e) {
            var i = e.viewSize,
                r = i[0],
                t = i[1],
                a = this.values;
            return t >= r ? a.portrait : a.landscape;
          },
          values: {
            portrait: "portrait",
            landscape: "landscape"
          },
          valueToClassName: {
            portrait: "esri-view-orientation-portrait",
            landscape: "esri-view-orientation-landscape"
          }
        }
      },
          u = {
        xsmall: 544,
        small: 768,
        medium: 992,
        large: 1200
      };

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

            var t = e.apply(this, i) || this;
            return t._breakpointsHandles = new l(), t.orientation = null, t.widthBreakpoint = null, t.heightBreakpoint = null, t.breakpoints = u, t;
          }

          return r(i, e), i.prototype.initialize = function () {
            this._breakpointsHandles.add(n.init(this, ["breakpoints", "size"], this._updateClassNames));
          }, i.prototype.destroy = function () {
            this.destroyed || (this._removeActiveClassNames(), this._breakpointsHandles.destroy(), this._breakpointsHandles = null);
          }, Object.defineProperty(i.prototype, "breakpoints", {
            set: function set(e) {
              if (e !== this._get("breakpoints")) {
                var i = o(e);

                if (!i) {
                  var r = JSON.stringify(u, null, 2);
                  console.warn("provided breakpoints are not valid, using defaults:" + r);
                }

                e = i ? e : u, this._set("breakpoints", a({}, e));
              }
            },
            enumerable: !0,
            configurable: !0
          }), i.prototype._updateClassNames = function () {
            if (this.container) {
              var e,
                  i = s.acquire(),
                  r = s.acquire(),
                  t = !1;

              for (e in g) {
                var a = this[e],
                    l = g[e].getValue({
                  viewSize: this.size,
                  breakpoints: this.breakpoints
                });
                a !== l && (t = !0, this[e] = l, m(e, a).forEach(function (e) {
                  return r.push(e);
                }), m(e, l).forEach(function (e) {
                  return i.push(e);
                }));
              }

              t && (this._applyClassNameChanges(i, r), s.release(i), s.release(r));
            }
          }, i.prototype._applyClassNameChanges = function (e, i) {
            var r = this.container;
            r && (i.forEach(function (e) {
              return r.classList.remove(e);
            }), e.forEach(function (e) {
              return r.classList.add(e);
            }));
          }, i.prototype._removeActiveClassNames = function () {
            var e = this.container;

            if (e) {
              var i;

              for (i in g) m(i, this[i]).forEach(function (i) {
                return e.classList.remove(i);
              });
            }
          }, t([h.property()], i.prototype, "breakpoints", null), t([h.property()], i.prototype, "orientation", void 0), t([h.property()], i.prototype, "widthBreakpoint", void 0), t([h.property()], i.prototype, "heightBreakpoint", void 0), i = t([h.subclass("esri.views.BreakpointsOwner")], i);
        }(h.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDOMContainerJs(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/domUtils */
    "./node_modules/arcgis-js-api/core/domUtils.js"), __webpack_require__(
    /*! ../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.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__(
    /*! ./overlay/ViewOverlay */
    "./node_modules/arcgis-js-api/views/overlay/ViewOverlay.js"), __webpack_require__(
    /*! ../widgets/Popup */
    "./node_modules/arcgis-js-api/widgets/Popup.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, n, o, s, a, u, p) {
      function d(e) {
        var t = e.ownerDocument || window.document,
            i = t.defaultView,
            r = e.getBoundingClientRect();
        return f[0] = r.left + i.pageXOffset, f[1] = r.top + i.pageYOffset, f;
      }

      function l(e) {
        e && (n.empty(e), e.parentNode && e.parentNode.removeChild(e));
      }

      function h(e) {
        var t = document.createElement("div");
        return e.appendChild(t), t;
      }

      function c(e) {
        return e && "focus" in e;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var f = [0, 0],
          y = 16,
          v = 750;
      t.DOMContainer = function (e) {
        return function (e) {
          function t() {
            for (var t = [], i = 0; i < arguments.length; i++) t[i] = arguments[i];

            var r = e.apply(this, t) || this;
            return r._freqInfo = {
              freq: y,
              time: v
            }, r._overlayRenderTaskHandle = null, r.height = 0, r.position = null, r.resizing = !1, r.root = null, r.surface = null, r.suspended = !0, r.ui = null, r.userContent = null, r.width = 0, r.widthBreakpoint = null, r.handles.add([r.watch("cursor", function (e) {
              var t = r.surface;
              t && t.setAttribute("data-cursor", e);
            }), r.watch("interacting", function (e) {
              var t = r.surface;
              t && t.setAttribute("data-interacting", e.toString());
            })]), r;
          }

          return i(t, e), t.prototype.initialize = function () {
            var e = this;
            this.handles.add(this.watch("ui", function (t, i) {
              return e._handleUIChange(t, i);
            })), this._wireUI(this.ui), this.handles.add([this.on("focus", function () {
              return e.notifyChange("focused");
            }), this.on("blur", function () {
              return e.notifyChange("focused");
            })]);
          }, t.prototype.destroy = function () {
            this.destroyed || (this.ui && (this.ui.destroy(), this.ui = null), this.popup && !this.popup.destroyed && this.popup.destroy(), this.container = null);
          }, Object.defineProperty(t.prototype, "container", {
            set: function set(e) {
              var t = this,
                  i = this._get("container");

              if (i !== e) {
                if (this.handles.remove("dom-size"), this._stopMeasuring(), i && (i.classList.remove("esri-view"), this._overlayRenderTaskHandle && (this._overlayRenderTaskHandle.remove(), this._overlayRenderTaskHandle = null), this.overlay.destroy(), this._set("overlay", null), l(this.root), this._set("root", null), n.reparent(this.userContent, i), l(this.userContent), this._set("userContent", null)), e) {
                  e.classList.add("esri-view");
                  var r = document.createElement("div");
                  r.className = "esri-view-user-storage", n.reparent(e, r), e.appendChild(r), this._set("userContent", r);
                  var a = document.createElement("div");
                  a.className = "esri-view-root", e.insertBefore(a, e.firstChild), this._set("root", a);
                  var p = document.createElement("div");
                  p.className = "esri-view-surface", p.setAttribute("role", "application"), p.tabIndex = 0, a.appendChild(p), this._set("surface", p);
                  var d = new u();
                  a.appendChild(d.surface), this._set("overlay", d), d.watch("needsRender", function (e) {
                    e && !t._overlayRenderTaskHandle ? t._overlayRenderTaskHandle = o.addFrameTask({
                      render: function render() {
                        t.overlay.render();
                      }
                    }) : t._overlayRenderTaskHandle && (t._overlayRenderTaskHandle.remove(), t._overlayRenderTaskHandle = null);
                  }), this.forceDOMReadyCycle(), this.handles.add(s.init(this, "size", function (e) {
                    var t = e[0],
                        i = e[1];
                    t >= document.body.clientWidth || i >= document.body.clientHeight ? p.classList.add("esri-view-surface--inset-outline") : p.classList.remove("esri-view-surface--inset-outline");
                  }), "dom-size"), this._set("container", e), this._startMeasuring();
                } else this._set("width", 0), this._set("height", 0), this._set("position", null), this._set("suspended", !0), this._set("surface", null), this._set("container", null);
              }
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "focused", {
            get: function get() {
              var e = document.activeElement === this.surface;
              return document.hasFocus() && e;
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "popup", {
            get: function get() {
              return this._get("popup") || new p({
                view: this
              });
            },
            set: function set(e) {
              var t = this._get("popup");

              t && t !== e && t.destroy(), this._set("popup", e);
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "size", {
            get: function get() {
              return [this.width, this.height];
            },
            enumerable: !0,
            configurable: !0
          }), t.prototype.blur = function () {
            this.surface && this.surface.blur();
          }, t.prototype.focus = function () {
            this.surface && this.surface.focus();
          }, t.prototype.pageToContainer = function (e, t, i) {
            var r = this.position;
            return e -= r[0], t -= r[1], i ? (i[0] = e, i[1] = t) : i = [e, t], i;
          }, t.prototype.containerToPage = function (e, t, i) {
            var r = this.position;
            return e += r[0], t += r[1], i ? (i[0] = e, i[1] = t) : i = [e, t], i;
          }, t.prototype._handleUIChange = function (e, t) {
            t && (this.handles.remove("ui"), t.destroy()), e && this._wireUI(e), this._set("ui", e);
          }, t.prototype._wireUI = function (e) {
            this.handles.remove("ui"), e && (e.view = this, this.handles.add([s.init(this, "root", function (t) {
              e.container = t ? h(t) : null;
            }), s.init(this, "popup", function (t, i) {
              i && e.remove(i, "popup"), t && (t.view = e.view, e.add(t, {
                key: "popup",
                position: "manual"
              }));
            })], "ui"));
          }, t.prototype._stopMeasuring = function () {
            this.handles.remove("measuring"), this._get("resizing") && this._set("resizing", !1);
          }, t.prototype._startMeasuring = function () {
            var e = this,
                t = this._freqInfo;
            t.freq = y, t.time = v, this.handles.add([function () {
              var e = function e() {
                t.freq = y, t.time = v;
              };

              return window.addEventListener("resize", e), {
                remove: function remove() {
                  window.removeEventListener("resize", e);
                }
              };
            }(), o.addFrameTask({
              prepare: function prepare(t) {
                var i = e._measure(),
                    r = e._freqInfo;

                if (r.time += t.deltaTime, i && (r.freq = y, e._get("resizing") || e._set("resizing", !0)), !(r.time < r.freq)) {
                  r.time = 0;

                  var n = e._position();

                  r.freq = n || i ? y : Math.min(v, 2 * r.freq), !i && r.freq >= 512 && e._get("resizing") && e._set("resizing", !1);
                }
              }
            })], "measuring"), this._measure(), this._position();
          }, t.prototype._measure = function () {
            var e = this.container,
                t = e ? e.clientWidth : 0,
                i = e ? e.clientHeight : 0;
            if (0 === t || 0 === i || "hidden" === window.getComputedStyle(e).visibility) return this.suspended || this._set("suspended", !0), !1;
            var r = this.width,
                n = this.height;
            return t === r && i === n ? (this.suspended && this._set("suspended", !1), !1) : (this._set("width", t), this._set("height", i), this.suspended && this._set("suspended", !1), this.emit("resize", {
              oldWidth: r,
              oldHeight: n,
              width: t,
              height: i
            }), !0);
          }, t.prototype._position = function () {
            var e = this.container,
                t = this.position,
                i = d(e);
            return (!t || i[0] !== t[0] || i[1] !== t[1]) && (this._set("position", [i[0], i[1]]), !0);
          }, t.prototype.forceDOMReadyCycle = function () {}, r([a.property({
            value: null,
            cast: function cast(e) {
              return n.byId(e);
            }
          })], t.prototype, "container", null), r([a.property({
            readOnly: !0,
            dependsOn: ["surface"]
          })], t.prototype, "focused", null), r([a.property({
            readOnly: !0
          })], t.prototype, "height", void 0), r([a.property({
            type: p
          })], t.prototype, "popup", null), r([a.property({
            type: u
          })], t.prototype, "overlay", void 0), r([a.property({
            readOnly: !0
          })], t.prototype, "position", void 0), r([a.property({
            readOnly: !0
          })], t.prototype, "resizing", void 0), r([a.property({
            readOnly: !0
          })], t.prototype, "root", void 0), r([a.property({
            value: null,
            dependsOn: ["width", "height"],
            readOnly: !0
          })], t.prototype, "size", null), r([a.property({
            readOnly: !0
          })], t.prototype, "surface", void 0), r([a.property({
            readOnly: !0
          })], t.prototype, "suspended", void 0), r([a.property()], t.prototype, "ui", void 0), r([a.property({
            readOnly: !0
          })], t.prototype, "userContent", void 0), r([a.property({
            readOnly: !0
          })], t.prototype, "width", void 0), r([a.property()], t.prototype, "widthBreakpoint", void 0), t = r([a.subclass("esri.views.DOMContainer")], t);
        }(a.declared(e));
      }, t.isDOMContainer = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsLayerViewManagerJs(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/HandleOwner */
    "./node_modules/arcgis-js-api/core/HandleOwner.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/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.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__(
    /*! ./support/WatchUpdatingTracking */
    "./node_modules/arcgis-js-api/views/support/WatchUpdatingTracking.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a, t, i, o, n, l, s, y, c, p, w, d) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var h = s.getLogger("esri.views.LayerViewManager"),
          u = new Map();
      u.set("view.map.basemap.baseLayers", "view.basemapView.baseLayerViews"), u.set("view.map.ground.layers", "view.groundView.layerViews"), u.set("view.map.layers", "view.layerViews"), u.set("view.map.basemap.referenceLayers", "view.basemapView.referenceLayerViews");

      var f = function () {
        function e(e, r, a) {
          var t = this;
          this.layer = e, this.view = r, this.layerViewImporter = a, this._controller = y.createAbortController(), this._deferred = y.createDeferred(), this._started = !1, this.done = !1, y.onAbort(this._controller.signal, function () {
            var r = new n("cancelled:layerview-create", "layerview creation cancelled", {
              layer: e
            });

            t._deferred.reject(r);
          });
        }

        return Object.defineProperty(e.prototype, "promise", {
          get: function get() {
            return this._deferred.promise;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.destroy = function () {
          this._controller.abort();

          var e = this.layerView;

          if (e) {
            var r = this,
                a = r.layer,
                t = r.view;
            e.destroy(), a.emit("layerview-destroy", {
              view: t,
              layerView: e
            }), t.emit("layerview-destroy", {
              layer: a,
              layerView: e
            }), this.done = !0, this.layer = null, this.layerView = null, this.view = null, this.layerViewImporter = null, e.layer = null, e.parent = null, e.view = null;
          }
        }, e.prototype.start = function () {
          return o(this, void 0, void 0, function () {
            var e, r, a, t, o, l, s, c;
            return i(this, function (i) {
              switch (i.label) {
                case 0:
                  if (this._started) return [2];
                  this._started = !0, e = this, r = e._controller.signal, a = e.layer, t = e.view, this._map = t.map, i.label = 1;

                case 1:
                  return i.trys.push([1, 10,, 11]), [4, a.load({
                    signal: r
                  })];

                case 2:
                  return i.sent(), "prefetchResources" in a ? [4, a.prefetchResources({
                    signal: r
                  })] : [3, 4];

                case 3:
                  i.sent(), i.label = 4;

                case 4:
                  return o = void 0, a.createLayerView ? [4, a.createLayerView(t, {
                    signal: r
                  })] : [3, 6];

                case 5:
                  return o = i.sent(), [3, 8];

                case 6:
                  if (!this.layerViewImporter.hasLayerViewModule(a)) throw new n("layer:view-not-supported", "No layerview implementation was found");
                  return [4, this.layerViewImporter.importLayerView(a)];

                case 7:
                  l = i.sent(), y.throwIfAborted(r), o = "default" in l ? new l["default"]({
                    layer: a,
                    view: t
                  }) : new l({
                    layer: a,
                    view: t
                  }), i.label = 8;

                case 8:
                  return y.throwIfAborted(r), [4, o.when()];

                case 9:
                  return i.sent(), !(s = this._map && this._map.allLayers.includes(a)) || r.aborted ? (o.destroy(), o.layer = o.parent = o.view = null, this.done = !0, s ? [2] : [2, this._deferred.reject(new n("view:no-layerview-for-layer", "The layer has been removed from the map", {
                    layer: a
                  }))]) : (this.layerView = o, a.emit("layerview-create", {
                    view: t,
                    layerView: o
                  }), t.emit("layerview-create", {
                    layer: a,
                    layerView: o
                  }), this.done = !0, this._deferred.resolve(o), [3, 11]);

                case 10:
                  return c = i.sent(), a.emit("layerview-create-error", {
                    view: t,
                    error: c
                  }), t.emit("layerview-create-error", {
                    layer: a,
                    error: c
                  }), this.done = !0, this._deferred.reject(new n("layerview:create-error", "layerview creation failed", {
                    layer: a,
                    error: c
                  })), [3, 11];

                case 11:
                  return [2];
              }
            });
          });
        }, e;
      }(),
          v = function (e) {
        function r(r) {
          var a = e.call(this, r) || this;
          return a._layerLayerViewInfoMap = new Map(), a._watchUpdatingTracking = new d.WatchUpdatingTracking(), a.view = null, a._preloadLayerViewModules = function () {
            var e = a.view,
                r = a.get("view.map.allLayers");
            e && r && r.forEach(function (e) {
              a.layerViewImporter.hasLayerViewModule(e) && a.layerViewImporter.importLayerView(e);
            });
          }, a._reschedule = function () {
            a.handles.remove("reschedule"), a.handles.add(c.schedule(a._doWork), "reschedule"), a.notifyChange("updating");
          }, a._doWork = function () {
            var e = a.get("view.map");

            if (a._map !== e && (a.clear(), a._map = e), a.handles.has("reschedule")) {
              a.handles.remove("reschedule"), a.handles.remove("collection-change");
              var r = e && e.allLayers;

              if (r) {
                r.forEach(a._createLayerView, a), a._refreshCollections();
                var t = [];

                a._layerLayerViewInfoMap.forEach(function (e, a) {
                  r.includes(a) || t.push(e);
                });

                for (var i = 0, o = t; i < o.length; i++) {
                  var n = o[i];
                  a._layerLayerViewInfoMap["delete"](n.layer), n.destroy();
                }

                a.handles.add(a._watchUpdatingTracking.addOnCollectionChange(r, a._reschedule), "collection-change"), a.notifyChange("updating");
              }
            }
          }, a.handles.add([p.on(a, "view.map.allLayers", "change", a._preloadLayerViewModules, a._preloadLayerViewModules), a.watch(["view.map.basemap", "view.map.ground", "view.map.layers", "view.ready"], a._reschedule, !0)]), a;
        }

        return a(r, e), r.prototype.initialize = function () {
          this._preloadLayerViewModules();
        }, r.prototype.destroy = function () {
          this.clear(), this._watchUpdatingTracking.destroy(), this.view = null, this._map = null;
        }, Object.defineProperty(r.prototype, "updating", {
          get: function get() {
            if (this.handles.has("reschedule") || this._watchUpdatingTracking.updating) return !0;
            var e = !0;
            return this._layerLayerViewInfoMap.forEach(function (r) {
              return e = e && r.done;
            }), !e;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.clear = function () {
          this.destroyed || (this._layerLayerViewInfoMap.forEach(function (e) {
            return e.destroy();
          }), this._layerLayerViewInfoMap.clear(), this._refreshCollections());
        }, r.prototype.whenLayerView = function (e) {
          return this._reschedule(), this._doWork(), this._layerLayerViewInfoMap.has(e) ? this._layerLayerViewInfoMap.get(e).promise : y.reject(new n("view:no-layerview-for-layer", "No layerview has been found for the layer", {
            layer: e
          }));
        }, r.prototype._refreshCollections = function () {
          var e = this;
          u.forEach(function (r, a) {
            e._populateLayerViewsOwners(e.get(a), e.get(r), e.view);
          });
        }, r.prototype._populateLayerViewsOwners = function (e, r, a) {
          var t = this;
          if (!e || !r) return void (r && r.removeAll());
          var i = 0;
          e.forEach(function (e) {
            var o = t._layerLayerViewInfoMap.get(e);

            if (o && o.layerView) {
              var n = o.layerView;
              n.layer = e, n.parent = a, r.getItemAt(i) !== n && r.splice(i, 0, n), e.layers && t._populateLayerViewsOwners(e.layers, n.layerViews, n), i += 1;
            }
          }), i < r.length && r.splice(i, r.length);
        }, r.prototype._createLayerView = function (e) {
          var r = this;
          if (this._layerLayerViewInfoMap.has(e)) return this.view.ready && this._layerLayerViewInfoMap.get(e).start(), void this.notifyChange("updating");
          e.load(), this.layerViewImporter.hasLayerViewModule(e) && this.layerViewImporter.importLayerView(e);
          var a = new f(e, this.view, this.layerViewImporter);
          a.promise.then(function () {
            r._refreshCollections(), r.notifyChange("updating");
          }, function (a) {
            a && (y.isAbortError(a) || "cancelled:layerview-create" === a.name) || h.error("Failed to create view for layer '" + e.title + ", id:" + e.id + "' of type '" + e.type + "'.", {
              error: a
            }), r._refreshCollections(), r.notifyChange("updating");
          }), this._layerLayerViewInfoMap.set(e, a), this.view.ready && a.start(), this.notifyChange("updating");
        }, t([w.property({
          readOnly: !0
        })], r.prototype, "_watchUpdatingTracking", void 0), t([w.property()], r.prototype, "layerViewImporter", void 0), t([w.property({
          readOnly: !0,
          dependsOn: ["_watchUpdatingTracking.updating"]
        })], r.prototype, "updating", null), t([w.property()], r.prototype, "view", void 0), r = t([w.subclass("esri.views.LayerViewManager")], r);
      }(w.declared(l.HandleOwner));

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsMagnifierJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, p, i) {
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.factor = 1.5, r.offsetX = 0, r.offsetY = 0, r.position = null, r.visible = !1, r;
        }

        return r(o, e), Object.defineProperty(o.prototype, "version", {
          get: function get() {
            return (this._get("version") || 0) + 1;
          },
          enumerable: !0,
          configurable: !0
        }), t([i.property({
          type: Number
        })], o.prototype, "factor", void 0), t([i.property({
          type: Number
        })], o.prototype, "offsetX", void 0), t([i.property({
          type: Number
        })], o.prototype, "offsetY", void 0), t([i.property()], o.prototype, "position", void 0), t([i.property({
          readOnly: !0,
          dependsOn: ["factor", "offsetX", "offsetY", "position", "visible"]
        })], o.prototype, "version", null), t([i.property({
          type: Boolean
        })], o.prototype, "visible", void 0), o = t([i.subclass("esri.views.Magnifier")], o);
      }(i.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsMapViewJs(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/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_require__(
    /*! ../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../core/watchUtils */
    "./node_modules/arcgis-js-api/core/watchUtils.js"), __webpack_require__(
    /*! ../core/workers */
    "./node_modules/arcgis-js-api/core/workers.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./BreakpointsOwner */
    "./node_modules/arcgis-js-api/views/BreakpointsOwner.js"), __webpack_require__(
    /*! ./DOMContainer */
    "./node_modules/arcgis-js-api/views/DOMContainer.js"), __webpack_require__(
    /*! ./Magnifier */
    "./node_modules/arcgis-js-api/views/Magnifier.js"), __webpack_require__(
    /*! ./MapViewBase */
    "./node_modules/arcgis-js-api/views/MapViewBase.js"), __webpack_require__(
    /*! ./2d/input/MapViewInputManager */
    "./node_modules/arcgis-js-api/views/2d/input/MapViewInputManager.js"), __webpack_require__(
    /*! ./2d/support/HighlightOptions */
    "./node_modules/arcgis-js-api/views/2d/support/HighlightOptions.js"), __webpack_require__(
    /*! ./support/screenshotUtils */
    "./node_modules/arcgis-js-api/views/support/screenshotUtils.js"), __webpack_require__(
    /*! ./support/WebGLRequirements */
    "./node_modules/arcgis-js-api/views/support/WebGLRequirements.js"), __webpack_require__(
    /*! ./ui/2d/DefaultUI2D */
    "./node_modules/arcgis-js-api/views/ui/2d/DefaultUI2D.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, n, a, o, s, p, h, u, c, l, d, g, y, w, f, v, m, V, b, _) {
      function M() {
        return a(this, void 0, void 0, function () {
          var t, i, r, a, o, s, p;
          return n(this, function (n) {
            switch (n.label) {
              case 0:
                return [4, Promise.all([new Promise(function (t, i) {
                  Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ./webgl */
                    "./node_modules/arcgis-js-api/views/webgl.js")];
                    t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](i.bind(this));
                }), new Promise(function (t, i) {
                  Promise.all(
                  /*! AMD require */
                  [__webpack_require__.e(0), __webpack_require__.e(2), __webpack_require__.e(5), __webpack_require__.e(6), __webpack_require__.e(8), __webpack_require__.e(10), __webpack_require__.e("common"), __webpack_require__.e(58)]).then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ./2d/mapViewDeps */
                    "./node_modules/arcgis-js-api/views/2d/mapViewDeps.js")];
                    t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](i.bind(this));
                }), new Promise(function (t, i) {
                  Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ./2d/engine */
                    "./node_modules/arcgis-js-api/views/2d/engine.js")];
                    t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](i.bind(this));
                })])];

              case 1:
                return t = n.sent(), i = t[1], r = i.GraphicsView2D, a = i.LabelManager, o = i.MapViewNavigation, s = i.MagnifierView2D, p = t[2].Stage, E = r, L = a, P = o, k = s, S = p, [2];
            }
          });
        });
      }

      function O(e) {
        return !("layerViews" in e) && null != e.container;
      }

      var S,
          E,
          L,
          P,
          k,
          C = p.getLogger("esri.views.MapView");
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i._magnifierView = null, i._stage = null, i._resolveWhenReady = [], i.graphicsView = null, i.highlightOptions = new m(), i.magnifier = new w(), i.inputManager = new v({
            view: i
          }), i.mapViewNavigation = null, i.supersampleScreenhotsEnabled = !0, i.ui = new _(), i.rendering = !1, l.initialize(), i;
        }

        return i(t, e), Object.defineProperty(t.prototype, "background", {
          get: function get() {
            return this.get("map.initialViewProperties.background") || null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "interacting", {
          get: function get() {
            return this.mapViewNavigation && this.mapViewNavigation.interacting || !1;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.toMap = function (e) {
          if (u.isSupportedScreenPointEvent(e)) {
            var t = u.createScreenPointFromSupportedEvent(this, e);
            return this.inherited(arguments, [t]);
          }

          return this.inherited(arguments);
        }, t.prototype.hitTest = function (e) {
          var t = u.isSupportedScreenPointEvent(e) ? u.createScreenPointFromSupportedEvent(this, e) : e;
          if (!this.ready || isNaN(t.x) || isNaN(t.y)) return h.resolve({
            screenPoint: t,
            results: []
          });
          var i = this.toMap(t),
              r = [this.graphicsView];
          return r.push.apply(r, this.allLayerViews.toArray().reverse()), h.all(r.map(function (e) {
            return e && e.hitTest ? e.hitTest(t.x, t.y) : null;
          })).then(function (e) {
            return {
              screenPoint: t,
              results: e.filter(function (e) {
                return null != e;
              }).map(function (e) {
                return {
                  mapPoint: i,
                  graphic: e
                };
              })
            };
          });
        }, t.prototype.takeScreenshot = function (e) {
          return this.ready ? this._stage.takeScreenshot(V.toRenderSettings(e, this), this.allLayerViews) : h.reject("Map view cannot be used before it is ready");
        }, t.prototype.on = function (e, t, i, r) {
          var n = this.inputManager && this.viewEvents.on(e, t, i, r);
          return n || this.inherited(arguments);
        }, t.prototype.hasEventListener = function (e) {
          return this.inherited(arguments) || this.viewEvents.hasHandler(e);
        }, t.prototype.whenLayerView = function (e) {
          return this.inherited(arguments);
        }, t.prototype.graphicChanged = function (e) {
          if (this.graphicsView) {
            this.graphicsView.graphicUpdateHandler(e);
          }
        }, t.prototype.whenReady = function () {
          var e = this;
          return h.create(function (t) {
            e.ready ? t(e) : e._resolveWhenReady.push(t);
          });
        }, t.prototype.forceDOMReadyCycle = function () {
          this.forceReadyCycle();
        }, t.prototype.validate = function () {
          var e = b.check({
            supportsMajorWebPerformanceCaveat: !0
          });
          return s("safari") && s("safari") < 9 && (e = new o("mapview:browser-not-supported", "This browser is not supported by MapView (Safari < 9)", {
            type: "safari",
            requiredVersion: 9,
            detectedVersion: s("safari")
          })), e ? (C.warn("#validate()", e.message), h.reject(e)) : M();
        }, t.prototype._startup = function () {
          var e = this;
          this.timeline.begin("MapView Startup"), this.inherited(arguments), this.graphics.owner = this;
          var t = {
            deactivatedWebGLExtensions: this.deactivatedWebGLExtensions,
            debugWebGLExtensions: this.debugWebGLExtensions
          },
              i = new S(this.surface, {
            canvas: this.renderCanvas,
            supersampleScreenshots: this.supersampleScreenhotsEnabled,
            contextOptions: t,
            renderingOptions: this.renderingOptions,
            timeline: this.timeline
          }),
              r = new E({
            view: this,
            graphics: this.graphics
          }),
              n = new P({
            view: this,
            animationManager: this.animationManager
          }),
              a = new L({
            view: this
          });
          this._magnifierView = new k(), this._magnifierView.magnifier = this.magnifier, this._stage = i, this.frameTask.graphicsView = r, this._set("graphicsView", r), this._set("mapViewNavigation", n), this._set("labelManager", a), this.handles.add([this.allLayerViews.on("change", function () {
            return e._updateStageChildren();
          }), i.on("post-render", function () {
            return e._set("rendering", e.allLayerViews.some(function (e) {
              return !("layerViews" in e) && !0 === e.rendering;
            }));
          }), i.on("webgl-error", function (t) {
            return e.fatalError = t.error;
          }), c.init(this, "stationary", function (e) {
            return i.stationary = e;
          }, !0), c.init(this, "state.viewpoint", function () {
            return i.state = e.state;
          }, !0), c.init(this, "background", function (e) {
            return i.background = e;
          }, !0), c.init(this, "magnifier", function (t) {
            return e._magnifierView.magnifier = t;
          }, !0), c.init(this, "renderingOptions", function (e) {
            return i.renderingOptions = e;
          }, !0), c.init(this, "highlightOptions", function () {
            return i.highlightOptions = e.highlightOptions;
          }, !0)], "map-view"), i.state = this.state, i.background = this.background, this._updateStageChildren();
          var o = this._resolveWhenReady;
          this._resolveWhenReady = [], o.forEach(function (t) {
            return t(e);
          }), this.timeline.end("MapView Startup");
        }, t.prototype._teardown = function () {
          this.handles.remove("map-view"), this.layerViewManager.clear(), this.labelManager.destroy(), this._magnifierView.destroy(), this._stage.destroy(), this.graphicsView.destroy(), this.mapViewNavigation.destroy(), this._stage = null, this._set("graphicsView", null), this._magnifierView = null, this._set("labelManager", null), this._set("mapViewNavigation", null), this.graphics.owner = null, this.inherited(arguments);
        }, t.prototype._updateStageChildren = function () {
          var e = this;
          this._stage.removeAllChildren(), this.allLayerViews.filter(O).forEach(function (t, i) {
            e._stage.addChildAt(t.container, i);
          });
          var t = this.graphicsView;
          this._stage.addChild(t.container), this._stage.addChild(this._magnifierView);
        }, r([d.property({
          readOnly: !0,
          dependsOn: ["map.initialViewProperties?.background"]
        })], t.prototype, "background", null), r([d.property()], t.prototype, "graphicsView", void 0), r([d.property({
          type: m
        })], t.prototype, "highlightOptions", void 0), r([d.property({
          type: w
        })], t.prototype, "magnifier", void 0), r([d.property({
          readOnly: !0
        })], t.prototype, "inputManager", void 0), r([d.property({
          readOnly: !0
        })], t.prototype, "mapViewNavigation", void 0), r([d.property({
          dependsOn: ["mapViewNavigation.interacting"],
          type: Boolean
        })], t.prototype, "interacting", null), r([d.property({
          type: Boolean,
          constructOnly: !0
        })], t.prototype, "supersampleScreenhotsEnabled", void 0), r([d.property({
          type: _
        })], t.prototype, "ui", void 0), r([d.property({
          readOnly: !0
        })], t.prototype, "rendering", void 0), r([d.property({
          constructOnly: !0
        })], t.prototype, "renderCanvas", void 0), r([d.property({
          constructOnly: !0
        })], t.prototype, "deactivatedWebGLExtensions", void 0), r([d.property({
          constructOnly: !0
        })], t.prototype, "debugWebGLExtensions", void 0), t = r([d.subclass("esri.views.MapView")], t);
      }(d.declared(g.BreakpointsOwner(y.DOMContainer(f))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsMapViewBaseJs(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__(
    /*! ../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../Viewpoint */
    "./node_modules/arcgis-js-api/Viewpoint.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/now */
    "./node_modules/arcgis-js-api/core/now.js"), __webpack_require__(
    /*! ../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.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__(
    /*! ../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../layers/support/TileInfo */
    "./node_modules/arcgis-js-api/layers/support/TileInfo.js"), __webpack_require__(
    /*! ./PopupView */
    "./node_modules/arcgis-js-api/views/PopupView.js"), __webpack_require__(
    /*! ./View */
    "./node_modules/arcgis-js-api/views/View.js"), __webpack_require__(
    /*! ./ViewAnimation */
    "./node_modules/arcgis-js-api/views/ViewAnimation.js"), __webpack_require__(
    /*! ./2d/AnimationManager */
    "./node_modules/arcgis-js-api/views/2d/AnimationManager.js"), __webpack_require__(
    /*! ./2d/FrameTask */
    "./node_modules/arcgis-js-api/views/2d/FrameTask.js"), __webpack_require__(
    /*! ./2d/layerViewModuleImportUtils */
    "./node_modules/arcgis-js-api/views/2d/layerViewModuleImportUtils.js"), __webpack_require__(
    /*! ./2d/MapViewConstraints */
    "./node_modules/arcgis-js-api/views/2d/MapViewConstraints.js"), __webpack_require__(
    /*! ./2d/PaddedViewState */
    "./node_modules/arcgis-js-api/views/2d/PaddedViewState.js"), __webpack_require__(
    /*! ./2d/tiling */
    "./node_modules/arcgis-js-api/views/2d/tiling.js"), __webpack_require__(
    /*! ./2d/viewpointUtils */
    "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js"), __webpack_require__(
    /*! ./2d/support/Timeline */
    "./node_modules/arcgis-js-api/views/2d/support/Timeline.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, n, r, o, a, s, p, l, c, u, h, y, d, f, m, g, v, w, _, b, T, O, z, R, x) {
      function V(t) {
        return t && "esri.Viewpoint" === t.declaredClass;
      }

      var S = p.getLogger("esri.views.MapView"),
          P = 160;
      return function (t) {
        function e(e) {
          var i = t.call(this, e) || this;
          i._stationaryTimer = null, i.frameTask = new _["default"](i), i.featuresTilingScheme = null, i.fullOpacity = 1, i.interacting = !1, i.initialExtent = null, i.labelManager = null, i.renderingOptions = {
            samplingMode: "dynamic",
            edgeLabelsVisible: !0,
            labelsAnimationTime: 125,
            labelCollisionsEnabled: !0
          }, i.resizeAlign = "center", i.timeline = new x.Timeline(), i.type = "2d", i.constraints = new T(), i.padding = {
            top: 0,
            right: 0,
            bottom: 0,
            left: 0
          };

          var n = i.handles,
              r = function r() {
            return i.notifyChange("updating");
          };

          return n.add([i.watch("viewpoint", function () {
            i._lastStationaryEventTimestamp = l(), i._flipStationary(P);
          }, !0), i.on("resize", function (t) {
            return i._resizeHandler(t);
          }), i.watch("animationManager.animation", function (t) {
            i.animation = t;
          }), i.allLayerViews.on("change", function () {
            r(), n.remove("map-view-base-layerViewsUpdating"), n.add(i.allLayerViews.map(function (t) {
              return t.watch("updating", r);
            }), "map-view-base-layerViewsUpdating");
          })], "map-view-base"), i;
        }

        return n(e, t), e.prototype.destroy = function () {
          this.destroyed || (this._set("preconditionsReady", !1), this._gotoTask = this.frameTask = null);
        }, Object.defineProperty(e.prototype, "animation", {
          set: function set(t) {
            var e = this,
                i = this._get("animation");

            if (t !== i) {
              if (i && i.stop(), !t || t.isFulfilled()) return void this._set("animation", null);
              this._set("animation", t), this.frameTask.animationInProgress = !0;

              var n = function n() {
                t === e._get("animation") && (e._set("animation", null), e.frameTask.requestFrame()), e.frameTask.animationInProgress = !1;
              };

              t.when(n, n);
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "center", {
          get: function get() {
            if (!this.ready) return this._get("center");
            var t = this.content.center,
                e = this.content.spatialReference;
            return new o.Point({
              x: t[0],
              y: t[1],
              spatialReference: e
            });
          },
          set: function set(t) {
            if (null != t) {
              if (!this._normalizeInput(t)) return void S.error("#center", "incompatible spatialReference " + JSON.stringify(t.spatialReference) + " with view's spatialReference " + JSON.stringify(this.spatialReference));
              if (!this.ready) return this._set("center", t), void this.notifyChange("initialExtentRequired");
              var e = this.viewpoint;
              R.centerAt(e, e, t), this.viewpoint = e;
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "constraints", {
          set: function set(t) {
            var e = this,
                i = this._get("constraints");

            i && (this.handles.remove("map-view-base-constraints"), i.destroy()), this._set("constraints", t), t && (t.view = this, this.ready && (this.state.viewpoint = t.fit(this.content.viewpoint)), this.handles.add(t.on("update", function () {
              e.ready && e.state && (e.state.viewpoint = t.fit(e.content.viewpoint));
            }), "map-view-base-constraints"));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "extent", {
          get: function get() {
            return this.ready ? this.content.extent.clone() : this._get("extent");
          },
          set: function set(t) {
            if (null != t) {
              var e = this._normalizeInput(t);

              if (!e) return void S.error("#center", "incompatible spatialReference " + JSON.stringify(t.spatialReference) + " with view's spatialReference " + JSON.stringify(this.spatialReference));
              if (!e.width || !e.height) return void S.error("#extent", "invalid extent size");
              if (!this.ready) return this._set("extent", e), this._set("center", null), this._set("viewpoint", null), this._set("scale", 0), this._set("zoom", -1), void this.notifyChange("initialExtentRequired");
              var i = this.viewpoint;
              R.setExtent(i, i, e, this.size, {
                constraints: this.constraints
              }), this.viewpoint = i;
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "initialExtentRequired", {
          get: function get() {
            var t = this,
                e = t.extent,
                i = t.center,
                n = t.scale,
                r = t.viewpoint,
                o = t.zoom;
            return !this.get("map.initialViewProperties.viewpoint") && !e && (!i || 0 === n && -1 === o) && !r;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "padding", {
          get: function get() {
            return this.ready ? this.state.padding : this._get("padding");
          },
          set: function set(t) {
            if (!this.ready) return void this._set("padding", t);
            this.state.padding = t, this._set("padding", this.state.padding);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "resolution", {
          get: function get() {
            return this.state ? this.state.resolution : 0;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "rotation", {
          get: function get() {
            return this.ready ? this.content.rotation : this._get("rotation");
          },
          set: function set(t) {
            if (!isNaN(t)) {
              if (!this.ready) return void this._set("rotation", t);
              var e = this.viewpoint;
              R.rotateTo(e, e, t), this.viewpoint = e;
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "scale", {
          get: function get() {
            return this.ready ? this.content.scale : this._get("scale");
          },
          set: function set(t) {
            if (t && !isNaN(t)) {
              if (!this.ready) {
                this._set("scale", t), this._set("zoom", -1);

                var e = this._get("extent");

                return e && (this._set("extent", null), this._set("center", e.center)), void this.notifyChange("initialExtentRequired");
              }

              var i = this.viewpoint;
              R.scaleTo(i, i, t), this.viewpoint = i;
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "stationary", {
          get: function get() {
            return !(this.animation || this.interacting || this._get("resizing") || this._stationaryTimer);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "updating", {
          get: function get() {
            return !this.destroyed && (!0 === this.get("layerViewManager.updating") || !0 === this.get("labelManager.updating") || !0 === this.get("graphicsView.updating") || this.allLayerViews.some(function (t) {
              return !t.destroyed && !("layerViews" in t) && t.attached && !0 === t.updating;
            }));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "viewpoint", {
          get: function get() {
            if (!this.ready) return this._get("viewpoint");
            var t = this.content;
            return t && t.viewpoint.clone();
          },
          set: function set(t) {
            if (null != t) {
              var e = this._normalizeInput(t);

              if (!e) return void (!t.scale || isNaN(t.scale) ? S.error("#viewpoint", "invalid scale value of " + t.scale) : t.targetGeometry ? S.error("#viewpoint", "incompatible spatialReference " + JSON.stringify(t.targetGeometry.spatialReference) + " with view's spatialReference " + JSON.stringify(this.spatialReference)) : S.error("#viewpoint", "geometry not defined"));
              if (!this.ready) return this._set("viewpoint", e), this._set("extent", null), this._set("center", null), this._set("zoom", -1), this._set("scale", 0), void this.notifyChange("initialExtentRequired");
              var i = new a({
                targetGeometry: new o.Point(),
                scale: 0,
                rotation: 0
              });
              R.copy(i, e), this.constraints.constrain(i, this.content.viewpoint), this.state.viewpoint = i, this.frameTask.requestFrame(), this._set("viewpoint", i);
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "zoom", {
          get: function get() {
            return this.ready ? this.constraints.scaleToZoom(this.scale) : this._get("zoom");
          },
          set: function set(t) {
            if (null != t) {
              if (!this.ready) {
                this.notifyChange("initialExtentRequired"), this._set("zoom", t), this._set("scale", 0);

                var e = this._get("extent");

                e && (this._set("extent", null), this._set("center", e.center));
              }

              if (this.constraints.effectiveLODs) {
                var i = this.viewpoint;
                R.scaleTo(i, i, this.constraints.zoomToScale(t)), this.viewpoint = i, this._set("zoom", this.constraints.scaleToZoom(this.scale));
              }
            }
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.goTo = function (t, e) {
          var n = this;
          return t ? h.whenTrueOnce(this, "ready", e && e.signal).then(function () {
            n.animation && (n.animation = null);
            var r = i({
              animate: !0
            }, e),
                o = R.createAsync(t, n);
            return n._gotoTask = {}, r.animate ? n._gotoAnimated(o, r) : n._gotoImmediate(o, r);
          }) : void S.error("#goTo()", "target cannot be null or undefined");
        }, e.prototype.hitTest = function (t) {
          return c.reject("Should be implemented by subclasses");
        }, e.prototype.popupHitTest = function (t) {
          var e = this;
          return this.hitTest(t).then(function (n) {
            return i({}, n, {
              mapPoint: e.toMap(t)
            });
          });
        }, e.prototype.toMap = function (t) {
          if (!this.ready) return null;
          var e = [0, 0],
              i = this.state.toMap(e, [t.x, t.y]),
              n = i[0],
              r = i[1],
              a = this.spatialReference;
          return new o.Point({
            x: n,
            y: r,
            spatialReference: a
          });
        }, e.prototype.isTileInfoRequired = function () {
          return !0;
        }, e.prototype.toScreen = function (t) {
          if (!this.ready) return null;

          var e = this._normalizeInput(t),
              i = e.x,
              n = e.y,
              r = [i, n],
              o = this.state.toScreen(r, r),
              a = o[0],
              s = o[1];

          return u.createScreenPoint(a, s);
        }, e.prototype.pixelSizeAt = function (t, e) {
          return this.ready ? (t && null != t.x && (e = t.y, t = t.x), this.content.pixelSizeAt([t, e])) : NaN;
        }, e.prototype.requestLayerViewUpdate = function (t) {
          this.ready && this.frameTask.requestLayerViewUpdate(t);
        }, e.prototype.requestUpdate = function (t) {
          this.ready && this.frameTask.requestUpdate(t);
        }, e.prototype.getDefaultSpatialReference = function () {
          return this.get("map.initialViewProperties.spatialReference") || this.get("defaultsFromMap.spatialReference") || null;
        }, e.prototype.isSpatialReferenceSupported = function (t, e) {
          return !(!e && !this._get("ready")) || null !== this._getDefaultViewpoint();
        }, e.prototype.importLayerView = function (t) {
          return b.layerView2DImporter.importLayerView(t);
        }, e.prototype.hasLayerViewModule = function (t) {
          return b.layerView2DImporter.hasLayerViewModule(t);
        }, e.prototype._createOrReplaceAnimation = function (t) {
          return this.animation && !this.animation.done || (this.animation = new v()), this.animation.update(t), this.animation;
        }, e.prototype._cancellableGoTo = function (t, e, i) {
          var n = this,
              r = function r() {
            return t === n._gotoTask;
          },
              o = function o() {
            r() && !e.done && (e.stop(), n.frameTask.animationInProgress = !1);
          },
              a = i.then(function () {
            r() && (n.animation = null);
          })["catch"](function (t) {
            throw r() && (n.animation = null, e.done || (e.stop(), n.frameTask.animationInProgress = !1)), t;
          }),
              s = c.create(function (t) {
            return t(a);
          }, o);

          return e.when()["catch"](function () {
            r() && s.cancel && s.cancel();
          }), s;
        }, e.prototype._gotoImmediate = function (t, e) {
          var i = this,
              n = this._gotoTask,
              r = this._createOrReplaceAnimation(t),
              o = t.then(function (t) {
            if (c.throwIfAborted(e), n !== i._gotoTask) throw new s("view:goto-interrupted", "Goto was interrupted");
            i.viewpoint = r.target = t, r.finish();
          });

          return this._cancellableGoTo(n, r, o);
        }, e.prototype._gotoAnimated = function (t, e) {
          var i = this,
              n = this._gotoTask,
              r = this._createOrReplaceAnimation(t),
              o = t.then(function (t) {
            if (n !== i._gotoTask) throw new s("view:goto-interrupted", "Goto was interrupted");
            return r.update(t), i.animationManager.animate(r, i.viewpoint, e), r.when().then(function () {}, function () {});
          });

          return this._cancellableGoTo(n, r, o);
        }, e.prototype._resizeHandler = function (t) {
          var e = this.state;

          if (e) {
            var i = this.content.viewpoint,
                n = this.content.size.concat();
            e.size = [t.width, t.height], R.resize(i, i, n, this.content.size, this.resizeAlign), i = this.constraints.constrain(i, null), this.state.viewpoint = i;
          }
        }, e.prototype._startup = function () {
          var t = this._getDefaultViewpoint();

          this.constraints.view = this, this.constraints.fit(t), this._set("animationManager", new w({
            view: this
          })), this._set("state", new O({
            padding: this._get("padding"),
            size: this.size,
            viewpoint: t
          })), this._set("content", this.state.content), this._set("featuresTilingScheme", new z.TileInfoView(f.create({
            spatialReference: this.spatialReference,
            size: 512
          }))), this._set("ready", !0), this.frameTask && this.frameTask.start();
        }, e.prototype._teardown = function () {
          this.frameTask && this.frameTask.stop(), this._set("ready", !1), this._stationaryTimer && (clearTimeout(this._stationaryTimer), this._stationaryTimer = null, this.notifyChange("stationary"));

          var t = this._get("content"),
              e = t.center,
              i = e[0],
              n = e[1],
              r = t.spatialReference,
              a = new o.Point({
            x: i,
            y: n,
            spatialReference: r
          });

          this._set("viewpoint", null), this._set("extent", null), this._set("center", a), this._set("zoom", -1), this._set("rotation", t.rotation), this._set("scale", t.scale), this._set("spatialReference", r), this.constraints.view = null, this.animationManager.destroy(), this._set("animationManager", null), this._set("state", null), this._set("content", null), this.animation = null;
        }, e.prototype._flipStationary = function (t) {
          var e = this;
          return null !== this._stationaryTimer ? this._stationaryTimer : (this._stationaryTimer = setTimeout(function () {
            e._stationaryTimer = null;

            var t = l() - e._lastStationaryEventTimestamp;

            t < P ? e._stationaryTimer = e._flipStationary(t) : e.notifyChange("stationary");
          }, t), this._stationaryTimer);
        }, e.prototype._normalizeInput = function (t, e) {
          void 0 === e && (e = this.spatialReference);
          var i = t && t.targetGeometry || t;
          return e ? i ? e.equals(i.spatialReference) ? t : d.canProject(i, e) ? V(t) ? (t.targetGeometry = d.project(i, e), t) : d.project(i, e) : null : null : t;
        }, e.prototype._getDefaultViewpoint = function () {
          var t = this.constraints,
              e = {
            zoom: this._get("zoom"),
            scale: this._get("scale"),
            center: this._normalizeInput(this._get("center")),
            extent: this._normalizeInput(this._get("extent")),
            rotation: this._get("rotation"),
            viewpoint: this._normalizeInput(this._get("viewpoint")),
            spatialReference: this._userSpatialReference
          };
          t.effectiveLODs ? -1 !== e.zoom && (e.scale = t.zoomToScale(e.zoom)) : e.zoom = -1;
          var i = null,
              n = null,
              r = 0,
              o = e.viewpoint && e.viewpoint.rotation,
              s = e.viewpoint && e.viewpoint.targetGeometry;
          s && ("extent" === s.type ? i = s : "point" === s.type && (n = s, r = e.viewpoint.scale));

          var p = this._normalizeInput(this.get("map.initialViewProperties.viewpoint.targetGeometry.extent")),
              l = this._normalizeInput(this.initialExtent),
              c = e.extent || i || p || l,
              u = e.center || n || c && c.center,
              h = e.scale || r || c && R.extentToScale(c, this.size),
              y = e.rotation || o || 0;

          return u && h ? new a({
            targetGeometry: u,
            scale: h,
            rotation: y
          }) : null;
        }, r([y.property()], e.prototype, "animation", null), r([y.property({
          readOnly: !0
        })], e.prototype, "animationManager", void 0), r([y.property({
          value: null,
          type: o.Point,
          dependsOn: ["content.viewpoint", "ready"]
        })], e.prototype, "center", null), r([y.property({
          type: T
        })], e.prototype, "constraints", null), r([y.property({
          readOnly: !0
        })], e.prototype, "content", void 0), r([y.property({
          value: null,
          type: o.Extent,
          dependsOn: ["content.viewpoint", "ready"]
        })], e.prototype, "extent", null), r([y.property({
          readOnly: !0
        })], e.prototype, "featuresTilingScheme", void 0), r([y.property()], e.prototype, "fullOpacity", void 0), r([y.property({
          readOnly: !0
        })], e.prototype, "interacting", void 0), r([y.property({
          type: o.Extent
        })], e.prototype, "initialExtent", void 0), r([y.property({
          dependsOn: ["map.initialViewProperties?.viewpoint"]
        })], e.prototype, "initialExtentRequired", null), r([y.property()], e.prototype, "labelManager", void 0), r([y.property({
          value: {
            top: 0,
            right: 0,
            bottom: 0,
            left: 0
          },
          cast: function cast(t) {
            return i({
              top: 0,
              right: 0,
              bottom: 0,
              left: 0
            }, t);
          }
        })], e.prototype, "padding", null), r([y.property({
          type: Object
        })], e.prototype, "renderingOptions", void 0), r([y.property()], e.prototype, "resizeAlign", void 0), r([y.property({
          readOnly: !0,
          dependsOn: ["content.viewpoint"]
        })], e.prototype, "resolution", null), r([y.property({
          value: 0,
          type: Number,
          dependsOn: ["content.viewpoint", "ready"]
        })], e.prototype, "rotation", null), r([y.property({
          value: 0,
          type: Number,
          dependsOn: ["content.viewpoint", "ready"]
        })], e.prototype, "scale", null), r([y.property({
          type: o.SpatialReference,
          dependsOn: ["map.initialViewProperties?.spatialReference", "defaultsFromMap.isSpatialReferenceDone"]
        })], e.prototype, "spatialReference", void 0), r([y.property({
          readOnly: !0
        })], e.prototype, "state", void 0), r([y.property()], e.prototype, "stationary", null), r([y.property({
          type: x.Timeline,
          readOnly: !0
        })], e.prototype, "timeline", void 0), r([y.property({
          readOnly: !0
        })], e.prototype, "type", void 0), r([y.property({
          readOnly: !0,
          dependsOn: ["layerViewManager.updating", "labelManager.updating", "graphicsView?.updating"]
        })], e.prototype, "updating", null), r([y.property({
          value: null,
          type: a,
          dependsOn: ["content.viewpoint", "ready"]
        })], e.prototype, "viewpoint", null), r([y.property({
          value: -1,
          dependsOn: ["scale"]
        })], e.prototype, "zoom", null), e = r([y.subclass("esri.views.MapViewBase")], e);
      }(y.declared(m.PopupView(g)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsPopupViewJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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_AMD_DEFINE_RESULT__ = function (e, r, t, i, p, a, s, n, o, u, c) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.PopupView = function (e) {
        return function (e) {
          function r() {
            return null !== e && e.apply(this, arguments) || this;
          }

          return i(r, e), r.prototype.fetchPopupFeatures = function (e, r) {
            return this._fetchPopupFeaturesAsync(e, r);
          }, r.prototype._fetchPopupFeaturesAsync = function (e, r) {
            return a(this, void 0, void 0, function () {
              var t, i, p, a, o, c;
              return s(this, function (s) {
                switch (s.label) {
                  case 0:
                    return [4, this.when()];

                  case 1:
                    return s.sent(), [4, this._prepareFetchPopupFeatures(e, r)];

                  case 2:
                    return t = s.sent(), i = t.location, p = this._queryLayerPopupFeatures(t, r), a = u.resolve(t.clientOnlyGraphics), o = [a].concat(p), c = u.eachAlwaysValues(o).then(n.flatten), [2, {
                      promise: c,
                      location: i,
                      promises: o
                    }];
                }
              });
            });
          }, r.prototype._queryLayerPopupFeatures = function (e, r) {
            var t = e.queryArea;
            return e.layerViewsAndGraphics.map(function (e) {
              var i = e.layerView,
                  p = e.graphics,
                  a = {
                clientGraphics: p,
                signal: o.isSome(r) ? r.signal : null,
                defaultPopupTemplateEnabled: !!o.isSome(r) && !!r.defaultPopupTemplateEnabled
              };
              return i.fetchPopupFeatures(t, a);
            });
          }, r.prototype._isValidPopupGraphic = function (e, r) {
            return e && !!e.getEffectivePopupTemplate(o.isSome(r) && r.defaultPopupTemplateEnabled);
          }, r.prototype._prepareFetchPopupFeatures = function (e, r) {
            return a(this, void 0, void 0, function () {
              var t, i, p, a, n, o, u, c;
              return s(this, function (s) {
                switch (s.label) {
                  case 0:
                    return [4, this._popupHitTestGraphics(e, r)];

                  case 1:
                    return t = s.sent(), i = t.clientGraphics, p = t.queryArea, a = t.location, n = this._getFetchPopupLayerViews(), o = this._graphicsPerFetchPopupLayerView(i, n), u = o.layerViewsAndGraphics, c = o.clientOnlyGraphics, [2, {
                      clientOnlyGraphics: c,
                      layerViewsAndGraphics: u,
                      queryArea: p,
                      location: a
                    }];
                }
              });
            });
          }, r.prototype._popupHitTestGraphics = function (e, r) {
            return a(this, void 0, void 0, function () {
              var t,
                  i,
                  p,
                  a,
                  n,
                  o,
                  u = this;
              return s(this, function (s) {
                switch (s.label) {
                  case 0:
                    return [4, this.popupHitTest(e)];

                  case 1:
                    return t = s.sent(), i = t.results, p = t.mapPoint, a = i.filter(function (e) {
                      return u._isValidPopupGraphic(e.graphic, r);
                    }), n = a.length ? a[0].mapPoint : null, o = a.map(function (e) {
                      return e.graphic;
                    }), [2, {
                      clientGraphics: o,
                      queryArea: p,
                      location: p || n
                    }];
                }
              });
            });
          }, r.prototype._getFetchPopupLayerViews = function () {
            var e = this,
                r = [];
            return this.allLayerViews.forEach(function (t) {
              e._isValidPopupLayerView(t) && r.push(t);
            }), o.isSome(this.graphicsView) && this._isValidPopupLayerView(this.graphicsView) && r.push(this.graphicsView), r.reverse();
          }, r.prototype._isValidPopupLayerView = function (e) {
            return o.isSome(e) && (!("layer" in e) || !e.suspended) && "fetchPopupFeatures" in e;
          }, r.prototype._graphicsPerFetchPopupLayerView = function (e, r) {
            for (var t = [], i = new Map(), p = r.map(function (e) {
              var r = [];
              return ("layer" in e) ? i.set(e.layer, r) : i.set(e.graphics, r), {
                layerView: e,
                graphics: r
              };
            }), a = 0, s = e; a < s.length; a++) {
              var n = s[a],
                  o = i.get(n.layer) || null;
              o ? o.push(n) : t.push(n);
            }

            return {
              layerViewsAndGraphics: p,
              clientOnlyGraphics: t
            };
          }, r = p([c.subclass("esri.views.PopupView")], r);
        }(c.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsRefreshManagerJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./layers/RefreshableLayerView */
    "./node_modules/arcgis-js-api/views/layers/RefreshableLayerView.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i, a, s, o) {
      return function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r._handles = new a(), r._currentTick = 0, r;
        }

        return t(r, e), r.prototype.initialize = function () {
          var e = this;
          this._handles.add([this.view.allLayerViews.on("after-changes", function () {
            e.notifyChange("tickInterval"), e._handles.remove("layerViewsUpdating"), e._handles.add(e._getLayerViewHandles(), "layerViewsUpdating");
          }), this.watch("tickInterval", function () {
            return e._restartTicking();
          }), this.watch("view.ready", function () {
            return e._restartTicking();
          })]), this._restartTicking();
        }, r.prototype.destroy = function () {
          this._handles && (this._handles.destroy(), this._handles = null, this._intervalID && clearInterval(this._intervalID), this._currentTick = 0);
        }, Object.defineProperty(r.prototype, "tickInterval", {
          get: function get() {
            var e = this.view.allLayerViews.filter(function (e) {
              return o.isRefreshableLayerView(e);
            });
            return this._getCommonInterval(e);
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype._restartTicking = function () {
          var e = this;
          this._currentTick = 0, this._intervalID && clearInterval(this._intervalID), this.get("view.ready") && this.tickInterval && (this._intervalID = setInterval(function () {
            var r = Date.now();
            e._currentTick += e.tickInterval, e.view.allLayerViews.forEach(function (t) {
              if (o.isRefreshableLayerView(t)) {
                var n = Math.round(6e4 * t.refreshInterval),
                    i = e._currentTick % n == 0,
                    a = r - t.refreshTimestamp < 6e3;
                n && i && !a && t.refresh(r);
              }
            });
          }, this.tickInterval));
        }, r.prototype._getLayerViewHandles = function () {
          var e = this,
              r = [],
              t = function t() {
            return e.notifyChange("tickInterval");
          };

          return this.view.allLayerViews.forEach(function (e) {
            o.isRefreshableLayerView(e) && e.layer && r.push(e.watch("refreshInterval", t), e.layer.on("refresh", function () {
              e.refresh(Date.now());
            }));
          }), r;
        }, r.prototype._getCommonInterval = function (e) {
          var r = function r(e, t) {
            return isNaN(e) || isNaN(t) ? 0 : t <= 0 ? e : r(t, e % t);
          };

          return e.toArray().reduce(function (e, t) {
            return r(Math.round(6e4 * t.refreshInterval), e);
          }, 0);
        }, n([s.property()], r.prototype, "view", void 0), n([s.property({
          readOnly: !0
        })], r.prototype, "tickInterval", null), r = n([s.subclass("esri.views.RefreshManager")], r);
      }(s.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsToolViewManagerJs(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/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/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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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/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__(
    /*! ./input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js"), __webpack_require__(
    /*! ./input/ViewEvents */
    "./node_modules/arcgis-js-api/views/input/ViewEvents.js"), __webpack_require__(
    /*! ./interactive/interactiveToolUtils */
    "./node_modules/arcgis-js-api/views/interactive/interactiveToolUtils.js"), __webpack_require__(
    /*! ./interactive/ToolViewManagerManipulatorState */
    "./node_modules/arcgis-js-api/views/interactive/ToolViewManagerManipulatorState.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, t, e, r, n, i, a, l, s, c, u, h, p, v, f, d, T, _, m) {
      var E = u.getLogger("esri.views.ToolViewManager");
      return function (o) {
        function t(t) {
          var e = o.call(this, t) || this;
          return e._handles = new c(), e._creatingTool = null, e._manipulatorState = new m["default"](), e.tools = _.newToolCollection(), e.cursor = null, e._forEachTool = function (o) {
            if (!h.isSome(e._creatingTool) || !o(e._creatingTool)) for (var t = 0, r = e.tools.items; t < r.length; t++) {
              var n = r[t];
              if (o(n)) return;
            }
          }, e;
        }

        return r(t, o), t.prototype.initialize = function () {
          var o = this;

          this._handles.add([this.view.on(T.eventTypes, function (t) {
            o._handleInputEvent(t);
          }, d.ViewEventPriorities.TOOL), this.tools.on("before-add", function (t) {
            var e = t.item;
            if (null == e || o.tools.includes(e)) return void t.preventDefault();
            null == e.created || e.created || (E.error("tools", "Tool can not be added to view before it has been created"), t.preventDefault());
          }), this.tools.on("before-remove", function (t) {
            var e = t.item;

            o._manipulatorState.clearPointers(e, o._forEachTool);
          }), this.tools.on("change", function () {
            o._refreshToolWatchers();
          })]);
        }, t.prototype.destroy = function () {
          this._forEachTool(function (o) {
            return o.destroy();
          }), this._handles.destroy(), this._handles = null;
        }, Object.defineProperty(t.prototype, "activeTool", {
          set: function set(o) {
            var t = this;
            if (h.isSome(o) && !this.view.ready) return void E.error("#activeTool=", "cannot set active tool while view is not ready");
            _.swap(this, o, function (e) {
              t._set("activeTool", e), t._removeIncompleteTools(o), t._forEachTool(function (o) {
                var e = h.isNone(t.activeTool) || o === t.activeTool;
                o.setEditableFlag && o.setEditableFlag(1, e);

                var r = _.areToolManipulatorsEditable(o);

                !h.isNone(t.activeTool) && r || t._manipulatorState.clearPointers(o, t._forEachTool, !r);
              }), t._updateCursor();
            }), this._creatingTool !== o && this._rejectCreatingTool();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.createTool = function (o, t, e) {
          return i(this, void 0, void 0, function () {
            var r,
                i,
                s,
                c = this;
            return n(this, function (n) {
              switch (n.label) {
                case 0:
                  return [4, this.view.whenReady()];

                case 1:
                  return n.sent(), r = _.evaluateToolConstructorArguments(t), i = new o(a({}, r, {
                    view: this.view
                  })), s = p.onAbort(e, function () {
                    return c.activeTool = null;
                  }), this._rejectCreatingTool("Tool creation was interrupted by another tool being created"), this._creatingTool = i, i.attach(), this._refreshToolWatchers(), _.setActive(i, !0), [4, i.when()];

                case 2:
                  return n.sent(), h.isSome(s) && s.remove(), this._creatingTool = null, this.tools.add(i), i instanceof l && null != i.completed && v.whenOnce(i, "completed").then(function () {
                    _.setActive(i, !1);
                  }), [2, i];
              }
            });
          });
        }, t.prototype.attach = function () {
          var o = this;
          this._forEachTool(function (o) {
            return o.attach();
          }), "3d" === this.view.type ? this._handles.add([this.view.state.watch("camera", function () {
            o.forEachManipulator(function (o) {
              null != o.onViewChange && o.onViewChange();
            });
          }), this.view.elevationProvider.on("elevation-change", function (t) {
            o.forEachManipulator(function (o) {
              null != o.onElevationChange && o.onElevationChange(t);
            });
          })], "manipulators") : this._handles.add(this.view.watch("extent", function () {
            o.forEachManipulator(function (o) {
              null != o.onViewChange && o.onViewChange();
            });
          }));
        }, t.prototype.detach = function () {
          this.activeTool = null, this._forEachTool(function (o) {
            o.detach(), o.destroy();
          }), this.tools.removeAll(), this._handles.remove("manipulators");
        }, t.prototype.forEachManipulator = function (o) {
          this._forEachTool(function (t) {
            t.manipulators && t.manipulators.forEach(function (e) {
              var r = e.manipulator;
              return o(r, t);
            });
          });
        }, t.prototype._handleInputEvent = function (o) {
          var t = this;
          h.isSome(this.activeTool) ? this.activeTool.handleInputEvent && this.activeTool.handleInputEvent(o) : this._forEachTool(function (t) {
            !1 !== t.visible && t.handleInputEvent && t.handleInputEvent(o);
          }), "key-down" === o.type && "Escape" === o.key && this.activeTool && (o.stopPropagation(), this.activeTool = null), this._manipulatorState.handleInputEvent(o, {
            forEachTool: this._forEachTool,
            activeTool: this.activeTool,
            setActiveTool: function setActiveTool(o) {
              t.activeTool = o;
            },
            creatingTool: this._creatingTool,
            view: this.view
          }), this._manipulatorState.handleHoverEvent(o, this._forEachTool), this._updateCursor();
        }, t.prototype._refreshToolWatchers = function () {
          var o = this;
          this._handles.remove("tools"), this._updateCursor(), this._forEachTool(function (t) {
            if (t instanceof l) {
              var e = v.watch(t, ["cursor", "visible", "editable"], function () {
                _.areToolManipulatorsEditable(t) || o._manipulatorState.clearPointers(t, o._forEachTool), o._updateCursor();
              });

              o._handles.add(e, "tools");
            }

            t.manipulators && o._handles.add(t.manipulators.on("change", function (e) {
              e.removed.forEach(function (e) {
                var r = e.id;

                o._manipulatorState.clearPointers(t, o._forEachTool, !0, r);
              }), o._updateCursor();
            }), "tools");
          });
        }, t.prototype._updateCursor = function () {
          var o = null;
          this._forEachTool(function (t) {
            return null != t.cursor && !1 !== t.visible && (o = t.cursor, !0);
          }), o || (o = this._manipulatorState.cursor), this._get("cursor") !== o && this._set("cursor", o);
        }, t.prototype._rejectCreatingTool = function (o) {
          var t = this._creatingTool;
          h.isNone(t) || (this._manipulatorState.clearPointers(t, this._forEachTool), t.rejectCreation && t.rejectCreation(p.createAbortError(o)), t.destroy(), this._creatingTool = null, this._refreshToolWatchers());
        }, t.prototype._removeIncompleteTools = function (o) {
          var t = this;
          this.tools.filter(function (t) {
            return (h.isNone(o) || t !== o) && null != t.completed && !t.completed;
          }).forEach(function (o) {
            t.tools.remove(o);
          });
        }, e([f.property({
          constructOnly: !0,
          nonNullable: !0
        })], t.prototype, "view", void 0), e([f.property({
          value: null
        })], t.prototype, "activeTool", null), e([f.property({
          readOnly: !0,
          type: s
        })], t.prototype, "tools", void 0), e([f.property({
          readOnly: !0
        })], t.prototype, "cursor", void 0), t = e([f.subclass("esri.views.ToolViewManager")], t);
      }(f.declared(l));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsViewJs(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__(
    /*! ../Map */
    "./node_modules/arcgis-js-api/Map.js"), __webpack_require__(
    /*! ../TimeExtent */
    "./node_modules/arcgis-js-api/TimeExtent.js"), __webpack_require__(
    /*! ../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/CollectionFlattener */
    "./node_modules/arcgis-js-api/core/CollectionFlattener.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../core/HandleOwner */
    "./node_modules/arcgis-js-api/core/HandleOwner.js"), __webpack_require__(
    /*! ../core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.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/Promise */
    "./node_modules/arcgis-js-api/core/Promise.js"), __webpack_require__(
    /*! ../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.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__(
    /*! ../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../geometry/HeightModelInfo */
    "./node_modules/arcgis-js-api/geometry/HeightModelInfo.js"), __webpack_require__(
    /*! ../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ../geometry/support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ../support/GraphicsCollection */
    "./node_modules/arcgis-js-api/support/GraphicsCollection.js"), __webpack_require__(
    /*! ./BasemapView */
    "./node_modules/arcgis-js-api/views/BasemapView.js"), __webpack_require__(
    /*! ./LayerViewManager */
    "./node_modules/arcgis-js-api/views/LayerViewManager.js"), __webpack_require__(
    /*! ./RefreshManager */
    "./node_modules/arcgis-js-api/views/RefreshManager.js"), __webpack_require__(
    /*! ./ToolViewManager */
    "./node_modules/arcgis-js-api/views/ToolViewManager.js"), __webpack_require__(
    /*! ./input/Input */
    "./node_modules/arcgis-js-api/views/input/Input.js"), __webpack_require__(
    /*! ./input/ViewEvents */
    "./node_modules/arcgis-js-api/views/input/ViewEvents.js"), __webpack_require__(
    /*! ./navigation/Navigation */
    "./node_modules/arcgis-js-api/views/navigation/Navigation.js"), __webpack_require__(
    /*! ./support/DefaultsFromMap */
    "./node_modules/arcgis-js-api/views/support/DefaultsFromMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, a, n, p, l, s, d, y, u, c, h, f, w, g, m, v, M, V, R, F, b, _, O, E, S, x, C, L, I, P) {
      var D = h.getLogger("esri.views.View");
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._userSpatialReference = null, r._cursor = null, r.allLayerViews = new s({
            root: r,
            rootCollectionNames: ["basemapView.baseLayerViews", "groundView?.layerViews", "layerViews", "basemapView.referenceLayerViews"],
            getChildrenFunction: function getChildrenFunction(e) {
              return e.layerViews;
            }
          }), r.animation = null, r.basemapView = null, r.defaultsFromMap = new P({
            view: r
          }), r.fatalError = null, r.extent = null, r.graphics = new _["default"](), r.interacting = !1, r.layerViews = new l(), r.padding = {
            left: 0,
            top: 0,
            right: 0,
            bottom: 0
          }, r.ready = !1, r.spatialReferenceWarningDelay = 1e3, r.timeExtent = null, r.type = null, r.scale = null, r.updating = !1, r.initialExtentRequired = !0, r.renderContext = null, r.input = new C(), r.navigation = new I(), r.layerViewManager = null, r.refreshManager = null, r.isHeightModelInfoRequired = !1, r.width = null, r.height = null, r.resizing = !1, r.suspended = !1, r.viewEvents = new L.ViewEvents(r), r._isValid = !1, r._readyCycleForced = !1, r.handles.add(r.watch("preconditionsReady", function (e) {
            e ? (r._currentSpatialReference = r.spatialReference, o.views.add(r)) : (r._currentSpatialReference = null, o.views.remove(r)), r.notifyChange("spatialReference"), !e && r.ready ? (r.layerViewManager.clear(), r.toolViewManager.detach(), r._teardown()) : e && !r.ready && (r._startup(), r.toolViewManager.attach());
          }, !0)), r;
        }

        i(t, e), o = t, t.prototype.initialize = function () {
          var e = this;
          this.addResolvingPromise(this.validate().then(function () {
            return e._isValid = !0, v.whenOnce(e, "ready");
          })), this.basemapView = new O.BasemapView({
            view: this
          }), this.layerViewManager = new E["default"]({
            view: this,
            layerViewImporter: {
              importLayerView: function importLayerView(t) {
                return e.importLayerView(t);
              },
              hasLayerViewModule: function hasLayerViewModule(t) {
                return e.hasLayerViewModule(t);
              }
            }
          }), this.refreshManager = new S({
            view: this
          }), this.toolViewManager = new x({
            view: this
          }), this._resetInitialViewPropertiesFromContent();
          var t;
          v.init(this.defaultsFromMap, "isSpatialReferenceDone", function (r) {
            var i = !!(e.map && e.map.allLayers.length > 0);

            if (r && !e.spatialReference && i || !t) {
              if (r && !e.spatialReference && i && !t) {
                var o = t = g.after(e.spatialReferenceWarningDelay);
                t.then(function () {
                  o === t && D.warn("#spatialReference", "no spatial reference could be derived from the currently added map layers");
                })["catch"](function () {});
              }
            } else t = null;
          }, !0);
        }, t.prototype.destroy = function () {
          this.destroyed || (this.viewEvents.destroy(), this.allLayerViews.destroy(), this.navigation && (this.navigation.destroy(), this._set("navigation", null)), this.map = null, this.graphics.destroy(), this.graphics = null, this.handles.remove("defaultsFromMap"), this.defaultsFromMap.destroy(), this._set("defaultsFromMap", null), this.toolViewManager.destroy(), this.toolViewManager = null, this.refreshManager.destroy(), this.refreshManager = null, this.layerViewManager.destroy(), this.layerViewManager = null, this.basemapView.destroy(), this.basemapView = null, this.invalidate(), this._emitter.clear(), this.handles.removeAll());
        }, t.prototype._startup = function () {
          this._set("ready", !0);
        }, t.prototype._teardown = function () {
          this._set("ready", !1);
        }, t.prototype.whenReady = function () {
          return g.resolve();
        }, t.prototype.toMap = function (e) {
          return D.error("#toMap()", "Not implemented on this instance of View"), null;
        }, Object.defineProperty(t.prototype, "heightModelInfo", {
          get: function get() {
            return this.getDefaultHeightModelInfo();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "preconditionsReady", {
          get: function get() {
            return !!(!this.fatalError && this._isValid && !this._readyCycleForced && this.map && (!c.isLoadable(this.map) || this.map.loaded) && 0 !== this.width && 0 !== this.height && this.spatialReference && this.isSpatialReferenceSupported(this.spatialReference) && (this._currentSpatialReference || !this.initialExtentRequired || this.initialExtent || this.defaultsFromMap && this.defaultsFromMap.isSpatialReferenceDone) && this.defaultsFromMap && this.defaultsFromMap.isTileInfoDone);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "map", {
          set: function set(e) {
            e !== this._get("map") && (c.isLoadable(e) && e.load(), this.initialized && (this.forceReadyCycle(), this._resetInitialViewPropertiesFromContent()), this._set("map", e));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "spatialReference", {
          get: function get() {
            var e = this._userSpatialReference || this._currentSpatialReference || this.getDefaultSpatialReference() || null;
            return e && this.isHeightModelInfoRequired && this.defaultsFromMap && (e = e.clone(), e.vcsWkid = this.defaultsFromMap.vcsWkid, e.latestVcsWkid = this.defaultsFromMap.latestVcsWkid), e;
          },
          set: function set(e) {
            this._userSpatialReference = e, this._set("spatialReference", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "stationary", {
          get: function get() {
            return !this.animation && !this.interacting && !this.resizing;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "initialExtent", {
          get: function get() {
            return this.defaultsFromMap && this.defaultsFromMap.extent;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "cursor", {
          get: function get() {
            var e = this.toolViewManager ? this.toolViewManager.cursor : null;
            return f.isSome(e) ? e : this._cursor || "default";
          },
          set: function set(e) {
            this._cursor = e, this.notifyChange("cursor");
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "size", {
          get: function get() {
            return [this.width, this.height];
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.whenLayerView = function (e) {
          return this.layerViewManager.whenLayerView(e);
        }, t.prototype.getDefaultSpatialReference = function () {
          return this.get("defaultsFromMap.spatialReference");
        }, t.prototype.getDefaultHeightModelInfo = function () {
          return this.get("map.supportsHeightModelInfo") && this.get("map.heightModelInfo") || this.get("defaultsFromMap.heightModelInfo") || null;
        }, t.prototype.importLayerView = function (e) {
          throw new d("importLayerView() not implemented");
        }, t.prototype.hasLayerViewModule = function (e) {
          return !1;
        }, t.prototype.validate = function () {
          return g.resolve();
        }, t.prototype.invalidate = function () {
          this._isValid = !1;
        }, t.prototype.isSpatialReferenceSupported = function (e, t, r) {
          return !0;
        }, t.prototype.isTileInfoRequired = function () {
          return !1;
        }, t.prototype.when = function (e, t) {
          return this.isResolved() && !this.ready && D.warn("#when()", 'Calling view.when() while the view is no longer ready but was already resolved once will resolve immediately. Use watchUtils.whenOnce(view, "ready").then(...) instead.'), this.inherited(arguments, [e, t]);
        }, t.prototype.forceReadyCycle = function () {
          var e = this;
          this.ready && (this._readyCycleForced = !0, v.whenFalseOnce(this, "preconditionsReady", function () {
            return e._readyCycleForced = !1;
          }));
        }, t.prototype.createTool = function (e, t, r) {
          return this.toolViewManager.createTool(e, t, r);
        }, t.prototype.tryFatalErrorRecovery = function () {
          this.fatalError = null;
        }, t.prototype._resetInitialViewPropertiesFromContent = function () {
          var e = this;

          if (this.defaultsFromMap) {
            var t = function t() {
              return e.defaultsFromMap && e.defaultsFromMap.start();
            };

            this.defaultsFromMap.reset(), this._currentSpatialReference = null, this.notifyChange("spatialReference"), this.handles.remove("defaultsFromMap"), this.handles.add([v.watch(this, "spatialReference", function (e, r) {
              b.equals(e, r) || t();
            }), v.watch(this, "initialExtentRequired", t), m.schedule(t)], "defaultsFromMap");
          }
        };
        var o;
        return t.views = new l(), r([M.aliasOf("toolViewManager.activeTool")], t.prototype, "activeTool", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "allLayerViews", void 0), r([M.property()], t.prototype, "animation", void 0), r([M.property()], t.prototype, "basemapView", void 0), r([M.property()], t.prototype, "defaultsFromMap", void 0), r([M.property()], t.prototype, "fatalError", void 0), r([M.property({
          type: V
        })], t.prototype, "extent", void 0), r([M.property(_.graphicsCollectionProperty)], t.prototype, "graphics", void 0), r([M.property({
          readOnly: !0,
          type: R,
          dependsOn: ["map.heightModelInfo?", "defaultsFromMap.heightModelInfo"]
        })], t.prototype, "heightModelInfo", null), r([M.property()], t.prototype, "interacting", void 0), r([M.property({
          readOnly: !0,
          dependsOn: ["fatalError", "_isValid", "_readyCycleForced", "map", "map.loaded?", "width", "height", "spatialReference", "_currentSpatialReference", "initialExtentRequired", "initialExtent", "defaultsFromMap.isSpatialReferenceDone", "defaultsFromMap.isTileInfoDone"]
        })], t.prototype, "preconditionsReady", null), r([M.property({
          type: l,
          readOnly: !0
        })], t.prototype, "layerViews", void 0), r([M.property({
          value: null,
          type: a
        })], t.prototype, "map", null), r([M.property()], t.prototype, "padding", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "ready", void 0), r([M.property({
          type: F,
          dependsOn: ["defaultsFromMap.spatialReference", "defaultsFromMap.vcsWkid", "defaultsFromMap.latestVcsWkid"]
        })], t.prototype, "spatialReference", null), r([M.property()], t.prototype, "spatialReferenceWarningDelay", void 0), r([M.property({
          dependsOn: ["animation", "interacting", "resizing"]
        })], t.prototype, "stationary", null), r([M.property({
          type: n
        })], t.prototype, "timeExtent", void 0), r([M.aliasOf("toolViewManager.tools")], t.prototype, "tools", void 0), r([M.property()], t.prototype, "toolViewManager", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "type", void 0), r([M.property({
          type: Number
        })], t.prototype, "scale", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "updating", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "initialExtentRequired", void 0), r([M.property({
          readOnly: !0,
          type: V,
          dependsOn: ["defaultsFromMap.extent"]
        })], t.prototype, "initialExtent", null), r([M.property({
          dependsOn: ["toolViewManager.cursor"]
        })], t.prototype, "cursor", null), r([M.property()], t.prototype, "renderContext", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "input", void 0), r([M.property({
          type: I,
          nonNullable: !0
        })], t.prototype, "navigation", void 0), r([M.property()], t.prototype, "layerViewManager", void 0), r([M.property()], t.prototype, "width", void 0), r([M.property()], t.prototype, "height", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "resizing", void 0), r([M.property({
          value: null,
          dependsOn: ["width", "height"],
          readOnly: !0
        })], t.prototype, "size", null), r([M.property({
          readOnly: !0
        })], t.prototype, "suspended", void 0), r([M.property({
          readOnly: !0
        })], t.prototype, "viewEvents", void 0), r([M.property()], t.prototype, "_isValid", void 0), r([M.property()], t.prototype, "_readyCycleForced", void 0), r([M.property()], t.prototype, "_currentSpatialReference", void 0), t = o = r([M.subclass("esri.views.View")], t);
      }(M.declared(u.HandleOwnerMixin(y.EventedMixin(w.EsriPromiseMixin(p)))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsViewAnimationJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../core/Promise */
    "./node_modules/arcgis-js-api/core/Promise.js"), __webpack_require__(
    /*! ../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, s, o, n, p, a, d, c) {
      var u = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.state = "running", r.target = null, r;
        }

        return r(t, e), t.prototype.initialize = function () {
          var e = this;
          this.addResolvingPromise(p.create(function (t, r) {
            return e._dfd = {
              resolve: t,
              reject: r
            };
          }));
        }, Object.defineProperty(t.prototype, "done", {
          get: function get() {
            return "finished" === this.state || "stopped" === this.state;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.stop = function () {
          var e = this;
          "stopped" !== this.state && "finished" !== this.state && (this._set("state", "stopped"), o("esri-native-promise") ? this._dfd.reject(new s("ViewAnimation stopped")) : d.schedule(function () {
            return e._dfd.reject(new s("ViewAnimation stopped"));
          }));
        }, t.prototype.finish = function () {
          "stopped" !== this.state && "finished" !== this.state && (this._set("state", "finished"), o("esri-native-promise") ? this._dfd.resolve() : d.schedule(this._dfd.resolve));
        }, t.prototype.update = function (e, t) {
          t || (t = a.isPromiseLike(e) ? "waiting-for-target" : "running"), this._set("target", e), this._set("state", t);
        }, i([c.property({
          readOnly: !0,
          dependsOn: ["state"]
        })], t.prototype, "done", null), i([c.property({
          readOnly: !0,
          type: String
        })], t.prototype, "state", void 0), i([c.property()], t.prototype, "target", void 0), t = i([c.subclass("esri.views.ViewAnimation")], t);
      }(c.declared(n.EsriPromise));

      return function (e) {
        e.State = {
          RUNNING: "running",
          STOPPED: "stopped",
          FINISHED: "finished",
          WAITING_FOR_TARGET: "waiting-for-target"
        };
      }(u || (u = {})), u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawDrawJs(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/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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./MultipointDrawAction */
    "./node_modules/arcgis-js-api/views/draw/MultipointDrawAction.js"), __webpack_require__(
    /*! ./PointDrawAction */
    "./node_modules/arcgis-js-api/views/draw/PointDrawAction.js"), __webpack_require__(
    /*! ./PolygonDrawAction */
    "./node_modules/arcgis-js-api/views/draw/PolygonDrawAction.js"), __webpack_require__(
    /*! ./PolylineDrawAction */
    "./node_modules/arcgis-js-api/views/draw/PolylineDrawAction.js"), __webpack_require__(
    /*! ./SegmentDrawAction */
    "./node_modules/arcgis-js-api/views/draw/SegmentDrawAction.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, o, c, r, n, a, s, p, l, v) {
      return function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.activeAction = null, e.type = "draw", e.view = null, e;
        }

        return i(e, t), e.prototype.destroy = function () {
          this.activeAction && (this.activeAction.destroy(), this.activeAction = null);
        }, e.prototype.create = function (t, e) {
          this.reset();
          var i = c({
            view: this.view
          }, e);

          switch (t) {
            case "point":
              this.activeAction = new s(i);
              break;

            case "polygon":
              this.activeAction = new p(i);
              break;

            case "polyline":
              this.activeAction = new l(i);
              break;

            case "multipoint":
              this.activeAction = new a(i);
              break;

            case "rectangle":
            case "circle":
            case "ellipse":
            case "triangle":
              this.activeAction = new v(i);
          }

          return this.activeAction;
        }, e.prototype.complete = function () {
          this.activeAction && this.activeAction.complete(), this.activeAction = null;
        }, e.prototype.reset = function () {
          this.activeAction && this.activeAction.destroy(), this.activeAction = null;
        }, o([n.property()], e.prototype, "activeAction", void 0), o([n.property({
          readOnly: !0
        })], e.prototype, "type", void 0), o([n.property()], e.prototype, "view", void 0), e = o([n.subclass("esri.views.draw.Draw")], e);
      }(n.declared(r));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawDrawActionJs(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/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, t, o, e, n, i) {
      return function (r) {
        function t() {
          var t = null !== r && r.apply(this, arguments) || this;
          return t.history = [], t.redoHistory = [], t.view = null, t;
        }

        return o(t, r), t.prototype.canUndo = function () {
          return this.history.length > 0;
        }, t.prototype.canRedo = function () {
          return this.redoHistory.length > 0;
        }, t.prototype.undo = function () {
          if (this.canUndo()) {
            var r = this.history.pop();
            r.undo(), this.redoHistory.push(r);
          }
        }, t.prototype.redo = function () {
          if (this.canRedo()) {
            var r = this.redoHistory.pop();
            r.redo(), this.history.push(r);
          }
        }, t.prototype.getCoordsFromScreenPoint = function (r) {
          var t = this.view.toMap(r);
          return t ? [t.x, t.y] : null;
        }, t.prototype.isDuplicateVertex = function (r, t) {
          if (r.length) {
            var o = r[r.length - 1],
                e = o[0],
                n = o[1];
            return e === t[0] && n === t[1];
          }

          return !1;
        }, e([i.property({
          readOnly: !0
        })], t.prototype, "history", void 0), e([i.property({
          readOnly: !0
        })], t.prototype, "redoHistory", void 0), e([i.property()], t.prototype, "view", void 0), t = e([i.subclass("esri.views.draw.DrawAction")], t);
      }(i.declared(n.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawMultipointDrawActionJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./DrawAction */
    "./node_modules/arcgis-js-api/views/draw/DrawAction.js"), __webpack_require__(
    /*! ./input/DrawEvents */
    "./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js"), __webpack_require__(
    /*! ./input/Keys */
    "./node_modules/arcgis-js-api/views/draw/input/Keys.js"), __webpack_require__(
    /*! ../input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, s, d, v, c, p, u) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._cursorMoved = !1, r._cursorScreenPoint = null, r._dragEnabled = !0, r._pointerDownEvent = null, r._viewHandles = new o(), r.vertices = [], r.view = null, r;
        }

        return r(t, e), t.prototype.initialize = function () {
          this._addViewHandles();
        }, t.prototype.destroy = function () {
          this._removeViewHandles(), this._viewHandles.destroy(), this.emit("destroy");
        }, t.prototype.addVertex = function (e, t) {
          var r = this;
          isNaN(t) ? (t = this.vertices.length, this.vertices.push(e)) : this.vertices.splice(t, 0, e);
          var i = {
            vertex: e,
            vertexIndex: t,
            undo: function undo() {
              return r._undoVertexAdd(null, t);
            },
            redo: function redo() {
              return r._redoVertexAdd(null, e, t);
            }
          };
          this.history.push(i), this._set("redoHistory", []);
          var o = new c.VertexAddEvent(this.view, null, t, this.vertices);
          this.emit("vertex-add", o), o.defaultPrevented && (this._cursorMoved = !0, this.history.pop());
        }, t.prototype.removeVertex = function (e) {
          var t = this,
              r = this.vertices.splice(e, 1)[0],
              i = {
            vertex: r,
            vertexIndex: e,
            undo: function undo() {
              return t._undoVertexRemove(null, r, e);
            },
            redo: function redo() {
              return t._redoVertexRemove(null, e);
            }
          };
          this.history.push(i), this._set("redoHistory", []), this.emit("vertex-remove", new c.VertexRemoveEvent(this.view, null, e, this.vertices));
        }, t.prototype.updateVertex = function (e, t) {
          var r = this,
              i = this.vertices[t];
          this.vertices[t] = e;
          var o = {
            vertex: e,
            vertexIndex: t,
            undo: function undo() {
              return r._undoVertexUpdate(null, i, t);
            },
            redo: function redo() {
              return r._redoVertexUpdate(null, e, t);
            }
          };
          this.history.push(o), this._set("redoHistory", []), this.emit("vertex-update", new c.VertexUpdateEvent(this.view, null, t, this.vertices));
        }, t.prototype.complete = function () {
          this._completeDrawing();
        }, t.prototype._addViewHandles = function () {
          var e = this;
          this._removeViewHandles(), this._viewHandles.add([this.view.on("click", function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-down", function (t) {
            e._cursorMoved && e.vertices.pop(), e._pointerDownEvent = t, e._cursorMoved = !1, e._cursorScreenPoint = s.createScreenPointFromEvent(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-move", function (t) {
            e._cursorMoved && e.vertices.pop(), e._cursorMoved = !0, e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._cursorUpdateHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-up", function (t) {
            if (e._pointerDownEvent) {
              if (e._cursorMoved) return e.vertices.pop(), void (e._cursorMoved = !1);
              e._pointerDownEvent = null, e._vertexAddHandler(t);
            }
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", function (t) {
            e._dragEnabled && e._pointerDownEvent && t.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", ["Shift"], function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("double-click", function (t) {
            t.stopPropagation(), e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("double-click", ["Control"], function (t) {
            t.stopPropagation(), e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("key-down", function (t) {
            t.key === p.KEYS.vertexAddKey && !t.repeat && e._cursorScreenPoint ? (e._cursorMoved && (e.vertices.pop(), e._cursorMoved = !1), e._vertexAddHandler(t)) : t.key === p.KEYS.drawCompleteKey && !t.repeat && e._cursorScreenPoint ? (e._cursorMoved && (e.vertices.pop(), e._cursorMoved = !1), e._vertexAddHandler(t), e._drawCompleteHandler(t)) : t.key !== p.KEYS.undoKey || t.repeat ? t.key !== p.KEYS.redoKey || t.repeat || e.redo() : e.undo();
          }, u.ViewEventPriorities.TOOL)]);
        }, t.prototype._removeViewHandles = function () {
          this._viewHandles.removeAll();
        }, t.prototype._addVertex = function (e, t) {
          var r = this;
          this.vertices.push(e);
          var i = this.vertices.indexOf(e),
              o = {
            vertex: e,
            vertexIndex: i,
            undo: function undo() {
              return r._undoVertexAdd(t, i);
            },
            redo: function redo() {
              return r._redoVertexAdd(t, e, i);
            }
          };
          this.history.push(o), this._set("redoHistory", []);
          var n = new c.VertexAddEvent(this.view, t, i, this.vertices);
          this.emit("vertex-add", n), n.defaultPrevented && (this._cursorMoved = !0, this.history.pop());
        }, t.prototype._updateCursor = function (e, t) {
          this.vertices.push(e);
          var r = this.vertices.indexOf(e),
              i = new c.CursorUpdateEvent(this.view, t, r, this.vertices);
          this.emit("cursor-update", i);
        }, t.prototype._completeDrawing = function (e) {
          if (this._cursorMoved = !1, this._pointerDownEvent = null, !(this.vertices.length < 1)) {
            var t = new c.DrawCompleteEvent(e, this.vertices);
            this.emit("draw-complete", t), t.defaultPrevented ? this._cursorMoved = !0 : this._removeViewHandles();
          }
        }, t.prototype._undoVertexAdd = function (e, t) {
          this.vertices.splice(t, 1), this.emit("undo", new c.VertexRemoveEvent(this.view, e, t, this.vertices));
        }, t.prototype._redoVertexAdd = function (e, t, r) {
          this.vertices.splice(r, 0, t), this.emit("redo", new c.VertexAddEvent(this.view, e, r, this.vertices));
        }, t.prototype._undoVertexRemove = function (e, t, r) {
          this.vertices.splice(r, 0, t), this.emit("undo", new c.VertexAddEvent(this.view, e, r, this.vertices));
        }, t.prototype._redoVertexRemove = function (e, t) {
          this.vertices.splice(t, 1), this.emit("redo", new c.VertexRemoveEvent(this.view, e, t, this.vertices));
        }, t.prototype._undoVertexUpdate = function (e, t, r) {
          this.vertices[r] = t, this.emit("undo", new c.VertexUpdateEvent(this.view, e, r, this.vertices));
        }, t.prototype._redoVertexUpdate = function (e, t, r) {
          this.vertices[r] = t, this.emit("redo", new c.VertexUpdateEvent(this.view, e, r, this.vertices));
        }, t.prototype._vertexAddHandler = function (e) {
          var t = this.getCoordsFromScreenPoint(this._cursorScreenPoint);
          n.isSome(t) && this._addVertex(t, e["native"]);
        }, t.prototype._cursorUpdateHandler = function (e) {
          var t = this.getCoordsFromScreenPoint(this._cursorScreenPoint);
          n.isSome(t) && this._updateCursor(t, e["native"]);
        }, t.prototype._drawCompleteHandler = function (e) {
          this._completeDrawing(e["native"]);
        }, i([d.property({
          readOnly: !0
        })], t.prototype, "vertices", void 0), i([d.property()], t.prototype, "view", void 0), t = i([d.subclass("esri.views.draw.MultipointDrawAction")], t);
      }(d.declared(v));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawPointDrawActionJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./DrawAction */
    "./node_modules/arcgis-js-api/views/draw/DrawAction.js"), __webpack_require__(
    /*! ./input/Keys */
    "./node_modules/arcgis-js-api/views/draw/input/Keys.js"), __webpack_require__(
    /*! ../input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js"), __webpack_require__(
    /*! ../input/recognizers/PointerClickHoldAndDrag */
    "./node_modules/arcgis-js-api/views/input/recognizers/PointerClickHoldAndDrag.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, n, s, c, a, d, p, u) {
      var l = function () {
        function e(e, t, o) {
          this.view = e, this["native"] = t, this.coordinates = o, this.defaultPrevented = !1, this.type = "cursor-update";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }(),
          v = function () {
        function e(e, t) {
          this["native"] = e, this.coordinates = t, this.defaultPrevented = !1, this.type = "draw-complete";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }();

      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._clickDelay = u.DefaultParameters.maximumClickDelay, o._cursorMoved = !1, o._cursorScreenPoint = null, o._pointerDownEvent = null, o._viewHandles = new i(), o.coordinates = [], o.view = null, o;
        }

        return o(t, e), t.prototype.initialize = function () {
          this._addViewHandles();
        }, t.prototype.destroy = function () {
          this._removeViewHandles(), this._viewHandles.destroy(), this.emit("destroy");
        }, t.prototype.complete = function () {
          if (this._cursorScreenPoint) {
            var e = this.getCoordsFromScreenPoint(this._cursorScreenPoint);
            n.isSome(e) && (this._set("coordinates", e), this._completeDrawing());
          }
        }, t.prototype._addViewHandles = function () {
          var e = this;
          this._removeViewHandles(), this._viewHandles.add([this.view.on("click", function (t) {
            t.stopPropagation();
            var o = e.getCoordsFromScreenPoint(t.screenPoint);
            n.isSome(o) && (e._set("coordinates", o), e._drawCompleteHandler(t));
          }, p.ViewEventPriorities.TOOL), this.view.on("pointer-down", function (t) {
            e._pointerDownEvent = t, e._cursorMoved = !1;
          }, p.ViewEventPriorities.TOOL), this.view.on("pointer-move", function (t) {
            e._cursorMoved = !0, e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._cursorUpdateHandler(t);
          }, p.ViewEventPriorities.TOOL), this.view.on("pointer-up", function (t) {
            if (e._pointerDownEvent && !e._cursorMoved && t.timestamp - e._pointerDownEvent.timestamp > e._clickDelay) {
              e._cursorScreenPoint = s.createScreenPointFromEvent(t);
              var o = e.getCoordsFromScreenPoint(e._cursorScreenPoint);
              n.isSome(o) && (e._set("coordinates", o), e._drawCompleteHandler(t));
            }
          }, p.ViewEventPriorities.TOOL), this.view.on("key-down", function (t) {
            if (t.key === d.KEYS.drawCompleteKey && e._cursorScreenPoint) {
              var o = e.getCoordsFromScreenPoint(e._cursorScreenPoint);
              n.isSome(o) && (e._set("coordinates", o), e._drawCompleteHandler(t));
            }
          }, p.ViewEventPriorities.TOOL)]);
        }, t.prototype._removeViewHandles = function () {
          this._viewHandles.removeAll();
        }, t.prototype._updateCursor = function (e, t) {
          this.emit("cursor-update", new l(this.view, t, e));
        }, t.prototype._completeDrawing = function (e) {
          this._cursorMoved = !1, this._pointerDownEvent = null;
          var t = new v(e, this.coordinates);
          this.emit("draw-complete", t), t.defaultPrevented || this._removeViewHandles();
        }, t.prototype._cursorUpdateHandler = function (e) {
          this._updateCursor(this.getCoordsFromScreenPoint(this._cursorScreenPoint), e["native"]);
        }, t.prototype._drawCompleteHandler = function (e) {
          this._completeDrawing(e["native"]);
        }, r([c.property({
          readOnly: !0
        })], t.prototype, "coordinates", void 0), r([c.property()], t.prototype, "view", void 0), t = r([c.subclass("esri.views.draw.PointDrawAction")], t);
      }(c.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawPolygonDrawActionJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./DrawAction */
    "./node_modules/arcgis-js-api/views/draw/DrawAction.js"), __webpack_require__(
    /*! ./input/DrawEvents */
    "./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js"), __webpack_require__(
    /*! ./input/Keys */
    "./node_modules/arcgis-js-api/views/draw/input/Keys.js"), __webpack_require__(
    /*! ../input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, o, s, d, p, c, v, u) {
      function a(e) {
        return "mouse" !== e.pointerType || 0 === e.button;
      }

      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._cursorScreenPoint = null, r._panEnabled = !1, r._cursorVertexAdded = !1, r._popVertexOnPointerMove = !1, r._addVertexOnPointerUp = !1, r._activePointerId = null, r._viewHandles = new n(), r.mode = "hybrid", r.vertices = [], r.view = null, r;
        }

        return r(t, e), t.prototype.initialize = function () {
          this._addViewHandles();
        }, t.prototype.destroy = function () {
          this._removeViewHandles(), this._viewHandles.destroy(), this.emit("destroy");
        }, Object.defineProperty(t.prototype, "_clickEnabled", {
          get: function get() {
            return -1 !== ["hybrid", "click"].indexOf(this.mode);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "_dragEnabled", {
          get: function get() {
            return -1 !== ["hybrid", "freehand"].indexOf(this.mode);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.addVertex = function (e, t) {
          var r = this;
          this.vertices.splice(t, 0, e);
          var i = {
            vertex: e,
            vertexIndex: t,
            undo: function undo() {
              return r._undoVertexAdd(null, t);
            },
            redo: function redo() {
              return r._redoVertexAdd(null, e, t);
            }
          };
          this.history.push(i), this._set("redoHistory", []);
          var n = new c.VertexAddEvent(this.view, null, t, this.vertices);
          this.emit("vertex-add", n), n.defaultPrevented && (this._popVertexOnPointerMove = !0, this.history.pop());
        }, t.prototype.removeVertex = function (e) {
          var t = this,
              r = this.vertices.splice(e, 1)[0],
              i = {
            vertex: r,
            vertexIndex: e,
            undo: function undo() {
              return t._undoVertexRemove(null, r, e);
            },
            redo: function redo() {
              return t._redoVertexRemove(null, e);
            }
          };
          this.history.push(i), this._set("redoHistory", []), this.emit("vertex-remove", new c.VertexRemoveEvent(this.view, null, e, this.vertices));
        }, t.prototype.updateVertex = function (e, t) {
          var r = this,
              i = this.vertices[t];
          this.vertices[t] = e;
          var n = {
            vertex: e,
            vertexIndex: t,
            undo: function undo() {
              return r._undoVertexUpdate(null, i, t);
            },
            redo: function redo() {
              return r._redoVertexUpdate(null, e, t);
            }
          };
          this.history.push(n), this._set("redoHistory", []), this.emit("vertex-update", new c.VertexUpdateEvent(this.view, null, t, this.vertices));
        }, t.prototype.complete = function () {
          this._completeDrawing();
        }, t.prototype._addViewHandles = function () {
          var e = this;
          this._removeViewHandles(), this._viewHandles.add([this.view.on("click", function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-down", function (t) {
            e._shouldHandlePointerEvent(t) && (e._panEnabled || (e._activePointerId = t.pointerId, e._addVertexOnPointerUp = !0, e._cursorScreenPoint = s.createScreenPointFromEvent(t), "touch" === t.pointerType && e._updateCursor(t["native"])));
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-move", function (t) {
            e._popVertexOnPointerMove && (e.vertices.pop(), e._popVertexOnPointerMove = !1), e._cursorScreenPoint = s.createScreenPointFromEvent(t), "touch" !== t.pointerType && e._updateCursor(t["native"]);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-drag", function (t) {
            e._shouldHandlePointerEvent(t) && (e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._dragEnabled && !e._panEnabled ? e._vertexAddHandler(t) : e._addVertexOnPointerUp = !1);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-up", function (t) {
            if (e._shouldHandlePointerEvent(t)) {
              if (e._activePointerId = null, !e._addVertexOnPointerUp) {
                var r = "touch" === t.pointerType;
                return void e._updateCursor(t["native"], r);
              }

              if (!e._clickEnabled) return 1 === e.vertices.length && e.vertices.pop(), void e._drawCompleteHandler(t);

              e._vertexAddHandler(t);
            }
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", function (t) {
            e._dragEnabled && o.isSome(e._activePointerId) && !e._panEnabled && t.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", ["Shift"], function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("double-click", function (t) {
            t.stopPropagation(), e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("double-click", ["Control"], function (t) {
            t.stopPropagation(), e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("key-down", function (t) {
            var r = t.key,
                i = t.repeat;
            r === v.KEYS.vertexAddKey && !i && e._cursorScreenPoint ? e._vertexAddHandler(t) : r === v.KEYS.drawCompleteKey && !i && e._cursorScreenPoint && e.vertices.length > 2 ? (e._vertexAddHandler(t), e._drawCompleteHandler(t)) : r !== v.KEYS.undoKey || i ? r !== v.KEYS.redoKey || i ? r !== v.KEYS.panKey || i || (e._panEnabled = !0) : e.redo() : e.undo();
          }, u.ViewEventPriorities.TOOL), this.view.on("key-up", function (t) {
            t.key === v.KEYS.panKey && (e._panEnabled = !1);
          }, u.ViewEventPriorities.TOOL)]);
        }, t.prototype._removeViewHandles = function () {
          this._viewHandles.removeAll();
        }, t.prototype._addVertex = function (e, t) {
          var r = this;

          if (this._popCursorVertex(), !this.isDuplicateVertex(this.vertices, e)) {
            var i = this.vertices.length;
            this.vertices.push(e);
            var n = {
              vertex: e,
              vertexIndex: i,
              undo: function undo() {
                return r._undoVertexAdd(t, i);
              },
              redo: function redo() {
                return r._redoVertexAdd(t, e, i);
              }
            };
            this.history.push(n), this._set("redoHistory", []);
            var o = new c.VertexAddEvent(this.view, t, i, this.vertices);
            this.emit("vertex-add", o), o.defaultPrevented && this.history.pop();
          }
        }, t.prototype._updateCursor = function (e, t) {
          if (void 0 === t && (t = !1), this._popCursorVertex(), this._cursorScreenPoint) {
            var r = this.view.toMap(this._cursorScreenPoint),
                i = null;
            r && !t && (i = this._pushCursorVertex([r.x, r.y]));
            var n = new c.CursorUpdateEvent(this.view, e, i, this.vertices, r);
            this.emit("cursor-update", n);
          }
        }, t.prototype._completeDrawing = function (e) {
          if (this._activePointerId = null, this._popCursorVertex(), !(this.vertices.length < 3)) {
            var t = new c.DrawCompleteEvent(e, this.vertices);
            this.emit("draw-complete", t), t.defaultPrevented || this._removeViewHandles();
          }
        }, t.prototype._undoVertexAdd = function (e, t) {
          this.vertices.splice(t, 1), this.emit("undo", new c.VertexRemoveEvent(this.view, e, t, this.vertices));
        }, t.prototype._redoVertexAdd = function (e, t, r) {
          this.vertices.splice(r, 0, t), this.emit("redo", new c.VertexAddEvent(this.view, e, r, this.vertices));
        }, t.prototype._undoVertexRemove = function (e, t, r) {
          this.vertices.splice(r, 0, t), this.emit("undo", new c.VertexAddEvent(this.view, e, r, this.vertices));
        }, t.prototype._redoVertexRemove = function (e, t) {
          this.vertices.splice(t, 1), this.emit("redo", new c.VertexRemoveEvent(this.view, e, t, this.vertices));
        }, t.prototype._undoVertexUpdate = function (e, t, r) {
          this.vertices[r] = t, this.emit("undo", new c.VertexUpdateEvent(this.view, e, r, this.vertices));
        }, t.prototype._redoVertexUpdate = function (e, t, r) {
          this.vertices[r] = t, this.emit("redo", new c.VertexUpdateEvent(this.view, e, r, this.vertices));
        }, t.prototype._pushCursorVertex = function (e) {
          return this._popCursorVertex(), this.vertices.push(e), this._cursorVertexAdded = !0, this.vertices.length - 1;
        }, t.prototype._popCursorVertex = function () {
          this._cursorVertexAdded && (this.vertices.pop(), this._cursorVertexAdded = !1);
        }, t.prototype._shouldHandlePointerEvent = function (e) {
          return a(e) && (o.isNone(this._activePointerId) || this._activePointerId === e.pointerId);
        }, t.prototype._vertexAddHandler = function (e) {
          if (this._cursorVertexAdded) {
            var t = this.vertices[this.vertices.length - 1];

            this._addVertex(t, e["native"]);
          } else {
            var r = this.getCoordsFromScreenPoint(this._cursorScreenPoint);
            o.isSome(r) && this._addVertex(r, e["native"]);
          }
        }, t.prototype._drawCompleteHandler = function (e) {
          this._completeDrawing(e["native"]);
        }, i([d.property({
          dependsOn: ["mode"]
        })], t.prototype, "_clickEnabled", null), i([d.property({
          dependsOn: ["mode"]
        })], t.prototype, "_dragEnabled", null), i([d.property({
          cast: function cast(e) {
            return -1 === ["hybrid", "freehand", "click"].indexOf(e) ? "hybrid" : e;
          }
        })], t.prototype, "mode", void 0), i([d.property({
          readOnly: !0
        })], t.prototype, "vertices", void 0), i([d.property()], t.prototype, "view", void 0), t = i([d.subclass("esri.views.draw.PolygonDrawAction")], t);
      }(d.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawPolylineDrawActionJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./DrawAction */
    "./node_modules/arcgis-js-api/views/draw/DrawAction.js"), __webpack_require__(
    /*! ./input/DrawEvents */
    "./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js"), __webpack_require__(
    /*! ./input/Keys */
    "./node_modules/arcgis-js-api/views/draw/input/Keys.js"), __webpack_require__(
    /*! ../input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, o, s, d, p, c, v, u) {
      function a(e) {
        return "mouse" !== e.pointerType || 0 === e.button;
      }

      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._cursorScreenPoint = null, r._panEnabled = !1, r._cursorVertexAdded = !1, r._popVertexOnPointerMove = !1, r._addVertexOnPointerUp = !1, r._activePointerId = null, r._viewHandles = new n(), r.mode = "hybrid", r.vertices = [], r.view = null, r;
        }

        return r(t, e), t.prototype.initialize = function () {
          this._addViewHandles();
        }, t.prototype.destroy = function () {
          this._removeViewHandles(), this._viewHandles.destroy(), this.emit("destroy");
        }, Object.defineProperty(t.prototype, "_clickEnabled", {
          get: function get() {
            return -1 !== ["hybrid", "click"].indexOf(this.mode);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "_dragEnabled", {
          get: function get() {
            return -1 !== ["hybrid", "freehand"].indexOf(this.mode);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.addVertex = function (e, t) {
          var r = this;
          this.vertices.splice(t, 0, e);
          var i = {
            vertex: e,
            vertexIndex: t,
            undo: function undo() {
              return r._undoVertexAdd(null, t);
            },
            redo: function redo() {
              return r._redoVertexAdd(null, e, t);
            }
          };
          this.history.push(i), this._set("redoHistory", []);
          var n = new c.VertexAddEvent(this.view, null, t, this.vertices);
          this.emit("vertex-add", n), n.defaultPrevented && (this._popVertexOnPointerMove = !0, this.history.pop());
        }, t.prototype.removeVertex = function (e) {
          var t = this,
              r = this.vertices.splice(e, 1)[0],
              i = {
            vertex: r,
            vertexIndex: e,
            undo: function undo() {
              return t._undoVertexRemove(null, r, e);
            },
            redo: function redo() {
              return t._redoVertexRemove(null, e);
            }
          };
          this.history.push(i), this._set("redoHistory", []), this.emit("vertex-remove", new c.VertexRemoveEvent(this.view, null, e, this.vertices));
        }, t.prototype.updateVertex = function (e, t) {
          var r = this,
              i = this.vertices[t];
          this.vertices[t] = e;
          var n = {
            vertex: e,
            vertexIndex: t,
            undo: function undo() {
              return r._undoVertexUpdate(null, i, t);
            },
            redo: function redo() {
              return r._redoVertexUpdate(null, e, t);
            }
          };
          this.history.push(n), this._set("redoHistory", []), this.emit("vertex-update", new c.VertexUpdateEvent(this.view, null, t, this.vertices));
        }, t.prototype.complete = function () {
          this._completeDrawing();
        }, t.prototype._addViewHandles = function () {
          var e = this;
          this._removeViewHandles(), this._viewHandles.add([this.view.on("click", function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-down", function (t) {
            e._shouldHandlePointerEvent(t) && (e._panEnabled || (e._activePointerId = t.pointerId, e._addVertexOnPointerUp = !0, e._cursorScreenPoint = s.createScreenPointFromEvent(t), "touch" === t.pointerType && e._updateCursor(t["native"])));
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-move", function (t) {
            e._popVertexOnPointerMove && (e.vertices.pop(), e._popVertexOnPointerMove = !1), e._cursorScreenPoint = s.createScreenPointFromEvent(t), "touch" !== t.pointerType && e._updateCursor(t["native"]);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-drag", function (t) {
            e._shouldHandlePointerEvent(t) && (e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._dragEnabled && !e._panEnabled ? e._vertexAddHandler(t) : e._addVertexOnPointerUp = !1);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-up", function (t) {
            if (e._shouldHandlePointerEvent(t)) {
              if (e._activePointerId = null, !e._addVertexOnPointerUp) {
                var r = "touch" === t.pointerType;
                return void e._updateCursor(t["native"], r);
              }

              if (!e._clickEnabled) return 1 === e.vertices.length && e.vertices.pop(), void e._drawCompleteHandler(t);

              e._vertexAddHandler(t);
            }
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", function (t) {
            e._dragEnabled && o.isSome(e._activePointerId) && !e._panEnabled && t.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", ["Shift"], function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("double-click", function (t) {
            t.stopPropagation(), e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("double-click", ["Control"], function (t) {
            t.stopPropagation(), e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("key-down", function (t) {
            var r = t.key,
                i = t.repeat;
            r === v.KEYS.vertexAddKey && !i && e._cursorScreenPoint ? e._vertexAddHandler(t) : r === v.KEYS.drawCompleteKey && !i && e._cursorScreenPoint && e.vertices.length > 1 ? (e._vertexAddHandler(t), e._drawCompleteHandler(t)) : r !== v.KEYS.undoKey || i ? r !== v.KEYS.redoKey || i ? r !== v.KEYS.panKey || i || (e._panEnabled = !0) : e.redo() : e.undo();
          }, u.ViewEventPriorities.TOOL), this.view.on("key-up", function (t) {
            t.key === v.KEYS.panKey && (e._panEnabled = !1);
          }, u.ViewEventPriorities.TOOL)]);
        }, t.prototype._removeViewHandles = function () {
          this._viewHandles.removeAll();
        }, t.prototype._addVertex = function (e, t) {
          var r = this;

          if (this._popCursorVertex(), !this.isDuplicateVertex(this.vertices, e)) {
            this.vertices.push(e);
            var i = this.vertices.length - 1,
                n = {
              vertex: e,
              vertexIndex: i,
              undo: function undo() {
                return r._undoVertexAdd(t, i);
              },
              redo: function redo() {
                return r._redoVertexAdd(t, e, i);
              }
            };
            this.history.push(n), this._set("redoHistory", []);
            var o = new c.VertexAddEvent(this.view, t, i, this.vertices);
            this.emit("vertex-add", o), o.defaultPrevented && this.history.pop();
          }
        }, t.prototype._updateCursor = function (e, t) {
          if (void 0 === t && (t = !1), this._popCursorVertex(), this._cursorScreenPoint) {
            var r = this.view.toMap(this._cursorScreenPoint),
                i = null;
            r && !t && (i = this._pushCursorVertex([r.x, r.y]));
            var n = new c.CursorUpdateEvent(this.view, e, i, this.vertices, r);
            this.emit("cursor-update", n);
          }
        }, t.prototype._completeDrawing = function (e) {
          if (this._activePointerId = null, this._popCursorVertex(), !(this.vertices.length < 2)) {
            var t = new c.DrawCompleteEvent(e, this.vertices);
            this.emit("draw-complete", t), t.defaultPrevented || this._removeViewHandles();
          }
        }, t.prototype._undoVertexAdd = function (e, t) {
          this.vertices.splice(t, 1), this.emit("undo", new c.VertexRemoveEvent(this.view, e, t, this.vertices));
        }, t.prototype._redoVertexAdd = function (e, t, r) {
          this.vertices.splice(r, 0, t), this.emit("redo", new c.VertexAddEvent(this.view, e, r, this.vertices));
        }, t.prototype._undoVertexRemove = function (e, t, r) {
          this.vertices.splice(r, 0, t), this.emit("undo", new c.VertexAddEvent(this.view, e, r, this.vertices));
        }, t.prototype._redoVertexRemove = function (e, t) {
          this.vertices.splice(t, 1), this.emit("redo", new c.VertexRemoveEvent(this.view, e, t, this.vertices));
        }, t.prototype._undoVertexUpdate = function (e, t, r) {
          this.vertices[r] = t, this.emit("undo", new c.VertexUpdateEvent(this.view, e, r, this.vertices));
        }, t.prototype._redoVertexUpdate = function (e, t, r) {
          this.vertices[r] = t, this.emit("redo", new c.VertexUpdateEvent(this.view, e, r, this.vertices));
        }, t.prototype._pushCursorVertex = function (e) {
          return this._popCursorVertex(), this.vertices.push(e), this._cursorVertexAdded = !0, this.vertices.length - 1;
        }, t.prototype._popCursorVertex = function () {
          this._cursorVertexAdded && (this.vertices.pop(), this._cursorVertexAdded = !1);
        }, t.prototype._shouldHandlePointerEvent = function (e) {
          return a(e) && (o.isNone(this._activePointerId) || this._activePointerId === e.pointerId);
        }, t.prototype._vertexAddHandler = function (e) {
          if (this._cursorVertexAdded) {
            var t = this.vertices[this.vertices.length - 1];

            this._addVertex(t, e["native"]);
          } else {
            var r = this.getCoordsFromScreenPoint(this._cursorScreenPoint);
            o.isSome(r) && this._addVertex(r, e["native"]);
          }
        }, t.prototype._drawCompleteHandler = function (e) {
          this._completeDrawing(e["native"]);
        }, i([d.property({
          dependsOn: ["mode"]
        })], t.prototype, "_clickEnabled", null), i([d.property({
          dependsOn: ["mode"]
        })], t.prototype, "_dragEnabled", null), i([d.property({
          cast: function cast(e) {
            return -1 === ["hybrid", "freehand", "click"].indexOf(e) ? "hybrid" : e;
          }
        })], t.prototype, "mode", void 0), i([d.property({
          readOnly: !0
        })], t.prototype, "vertices", void 0), i([d.property()], t.prototype, "view", void 0), t = i([d.subclass("esri.views.draw.PolylineDrawAction")], t);
      }(d.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawSegmentDrawActionJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./DrawAction */
    "./node_modules/arcgis-js-api/views/draw/DrawAction.js"), __webpack_require__(
    /*! ./input/DrawEvents */
    "./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js"), __webpack_require__(
    /*! ./input/Keys */
    "./node_modules/arcgis-js-api/views/draw/input/Keys.js"), __webpack_require__(
    /*! ../input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, n, o, s, d, a, c, p, u) {
      function v(e) {
        return "mouse" !== e.pointerType || 0 === e.button;
      }

      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i._isDragging = !1, i._panEnabled = !1, i._cursorScreenPoint = null, i._viewHandles = new n(), i._cursorVertexAdded = !1, i._activePointerId = null, i.mode = "freehand", i.vertices = [], i.view = null, i;
        }

        return i(t, e), t.prototype.initialize = function () {
          this._addViewHandles();
        }, t.prototype.destroy = function () {
          this._removeViewHandles(), this._viewHandles.destroy(), this.emit("destroy");
        }, t.prototype.complete = function () {
          this._completeDrawing();
        }, t.prototype._addViewHandles = function () {
          this._removeViewHandles(), "click" === this.mode ? this._viewHandles.add(this._getClickModeViewHandles()) : this._viewHandles.add(this._getDragModeViewHandles());
        }, t.prototype._getDragModeViewHandles = function () {
          var e = this;
          return [this.view.on("click", function (t) {
            t.stopPropagation(), t.mapPoint && !e._panEnabled && (e._set("vertices", [[t.mapPoint.x, t.mapPoint.y]]), e._drawCompleteHandler(t));
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-down", function (t) {
            e._shouldHandlePointerEvent(t) && (e._panEnabled || (e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._set("vertices", []), e._activePointerId = t.pointerId, e._vertexAddHandler(t), e._isDragging = !1, "touch" === t.pointerType && e._cursorUpdateHandler(t)));
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-move", function (t) {
            e._cursorScreenPoint = s.createScreenPointFromEvent(t), o.isNone(e._activePointerId) && "touch" !== t.pointerType && 0 === e.vertices.length && e._cursorUpdateHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-drag", function (t) {
            e._shouldHandlePointerEvent(t) && (e._isDragging = !0, e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._cursorUpdateHandler(t));
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-up", function (t) {
            e._shouldHandlePointerEvent(t) && (e._activePointerId = null, e._popCursorVertex(), e._isDragging && !e._panEnabled && (e._vertexAddHandler(t), e._drawCompleteHandler(t)), e._isDragging = !1);
          }, u.ViewEventPriorities.TOOL), this.view.on("key-down", function (t) {
            t.key === p.KEYS.drawCompleteKey && e._cursorScreenPoint ? e._drawCompleteHandler(t) : t.key === p.KEYS.panKey && (e._panEnabled = !0);
          }, u.ViewEventPriorities.TOOL), this.view.on("key-up", function (t) {
            t.key === p.KEYS.panKey && (e._panEnabled = !1);
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", function (t) {
            o.isSome(e._activePointerId) && t.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("drag", ["Shift"], function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL)];
        }, t.prototype._getClickModeViewHandles = function () {
          var e = this;
          return [this.view.on("click", function (e) {
            e.stopPropagation();
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-down", function (t) {
            e._cursorScreenPoint = s.createScreenPointFromEvent(t), e._activePointerId = t.pointerId, e._isDragging = !1, "touch" === t.pointerType && e._cursorUpdateHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-move", function (t) {
            e._cursorScreenPoint = s.createScreenPointFromEvent(t), o.isNone(e._activePointerId) && "touch" !== t.pointerType && e._cursorUpdateHandler(t);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-drag", function (t) {
            e._shouldHandlePointerEvent(t) && (e._isDragging = !0);
          }, u.ViewEventPriorities.TOOL), this.view.on("pointer-up", function (t) {
            e._shouldHandlePointerEvent(t) && (e._activePointerId = null, e._isDragging || e._vertexAddHandler(t), 2 !== e.vertices.length || e._isDragging || e._drawCompleteHandler(t), e._isDragging = !1);
          }, u.ViewEventPriorities.TOOL), this.view.on("key-down", function (t) {
            t.key === p.KEYS.vertexAddKey && e._cursorScreenPoint && (e._vertexAddHandler(t), 2 === e.vertices.length && e._drawCompleteHandler(t)), t.key === p.KEYS.drawCompleteKey && e._cursorScreenPoint && 2 === e.vertices.length && e._drawCompleteHandler(t);
          }, u.ViewEventPriorities.TOOL)];
        }, t.prototype._removeViewHandles = function () {
          this._viewHandles.removeAll();
        }, t.prototype._addVertex = function (e, t) {
          if (this._popCursorVertex(), !this.isDuplicateVertex(this.vertices, e)) {
            this.vertices.push(e);
            var i = this.vertices.indexOf(e),
                r = new c.VertexAddEvent(this.view, t, i, this.vertices);
            this.emit("vertex-add", r);
          }
        }, t.prototype._updateCursor = function (e, t) {
          var i = null;
          o.isSome(e) && (i = this._pushCursorVertex(e));
          var r = new c.CursorUpdateEvent(this.view, t, i, this.vertices);
          this.emit("cursor-update", r);
        }, t.prototype._completeDrawing = function (e) {
          if (this._activePointerId = null, this._popCursorVertex(), this._isDragging = !1, this._cursorScreenPoint = null, !(this.vertices.length < 1)) {
            var t = new c.DrawCompleteEvent(e, this.vertices);
            this.emit("draw-complete", t), t.defaultPrevented || this._removeViewHandles();
          }
        }, t.prototype._pushCursorVertex = function (e) {
          return this._popCursorVertex(), this.vertices.push(e), this._cursorVertexAdded = !0, this.vertices.length - 1;
        }, t.prototype._popCursorVertex = function () {
          this._cursorVertexAdded && (this.vertices.pop(), this._cursorVertexAdded = !1);
        }, t.prototype._shouldHandlePointerEvent = function (e) {
          return v(e) && (o.isNone(this._activePointerId) || this._activePointerId === e.pointerId);
        }, t.prototype._vertexAddHandler = function (e) {
          var t = this.getCoordsFromScreenPoint(this._cursorScreenPoint);
          o.isSome(t) && this._addVertex(t, e["native"]);
        }, t.prototype._cursorUpdateHandler = function (e) {
          var t = this.getCoordsFromScreenPoint(this._cursorScreenPoint);

          this._updateCursor(t, e["native"]);
        }, t.prototype._drawCompleteHandler = function (e) {
          this._completeDrawing(e["native"]);
        }, r([d.property({
          cast: function cast(e) {
            return -1 === ["freehand", "click"].indexOf(e) ? "freehand" : e;
          }
        })], t.prototype, "mode", void 0), r([d.property({
          readOnly: !0
        })], t.prototype, "vertices", void 0), r([d.property()], t.prototype, "view", void 0), t = r([d.subclass("esri/views/2d/engine/markup/SegmentDrawAction")], t);
      }(d.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/draw/input/DrawEvents.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawInputDrawEventsJs(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_AMD_DEFINE_RESULT__ = function (e, t, n) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e, t, n, i) {
          this.view = e, this["native"] = t, this.vertexIndex = n, this.vertices = i, this.defaultPrevented = !1, this.type = "vertex-add";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }();

      t.VertexAddEvent = i;

      var r = function () {
        function e(e, t, n, i) {
          this.view = e, this["native"] = t, this.vertexIndex = n, this.vertices = i, this.defaultPrevented = !1, this.type = "vertex-update";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }();

      t.VertexUpdateEvent = r;

      var v = function () {
        function e(e, t, n, i) {
          this.view = e, this["native"] = t, this.vertexIndex = n, this.vertices = i, this.defaultPrevented = !1, this.type = "vertex-remove";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }();

      t.VertexRemoveEvent = v;

      var s = function () {
        function e(e, t, n, i, r) {
          void 0 === r && (r = null), this.view = e, this["native"] = t, this.vertexIndex = n, this.vertices = i, this.mapPoint = r, this.defaultPrevented = !1, this.type = "cursor-update";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }();

      t.CursorUpdateEvent = s;

      var u = function () {
        function e(e, t) {
          this["native"] = e, this.vertices = t, this.defaultPrevented = !1, this.type = "draw-complete";
        }

        return e.prototype.preventDefault = function () {
          this.defaultPrevented = !0;
        }, e;
      }();

      t.DrawCompleteEvent = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/draw/input/Keys.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/draw/input/Keys.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawInputKeysJs(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) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.KEYS = {
        drawCompleteKey: "c",
        redoKey: "r",
        undoKey: "z",
        vertexAddKey: "f",
        panKey: " "
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/BrowserEventSource.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/BrowserEventSource.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputBrowserEventSourceJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../core/libs/pep/pep */
    "./node_modules/arcgis-js-api/core/libs/pep/pep.js"), __webpack_require__(
    /*! ./keys */
    "./node_modules/arcgis-js-api/views/input/keys.js"), __webpack_require__(
    /*! ./gamepad/GamepadSource */
    "./node_modules/arcgis-js-api/views/input/gamepad/GamepadSource.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, i, o, r, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = n("trident"),
          u = n("edge"),
          h = n("chrome"),
          p = n("ff"),
          c = n("safari"),
          l = {
        touchNone: "esri-view-surface--touch-none",
        touchPan: "esri-view-surface--touch-pan"
      },
          d = function () {
        function e(e, t) {
          var n = this;
          this.input = t, this._active = {}, this._activePointerCaptures = new Set(), this._keyDownState = new Set(), this._eventId = 1, this._browserTouchPanningEnabled = !1, this._element = e, o.applyLocal(e), e.getAttribute("tabindex") || e.setAttribute("tabindex", "0"), this._eventHandlers = {
            "key-down": this._handleKey,
            "key-up": this._handleKey,
            "pointer-down": this._handlePointer,
            "pointer-move": this._handlePointerPreventDefault,
            "pointer-up": this._handlePointerPreventDefault,
            "pointer-enter": this._handlePointer,
            "pointer-leave": this._handlePointer,
            "pointer-cancel": this._handlePointer,
            "mouse-wheel": this._handleMouseWheel,
            "pointer-capture-lost": this._handlePointerCaptureLost
          }, this._updateTouchAction(), this._element.addEventListener("keydown", this._preventAltKeyDefault), this._gamepadSource = new a.GamepadSource(e, this.input), this._gamepadSource.onEvent = function (e) {
            return n._callback("gamepad", e);
          };
        }

        return e.prototype.destroy = function () {
          var e = this;
          this._callback = null, this.activeEvents = null, this._activePointerCaptures.forEach(function (t) {
            e._releasePointerCaptureSafe(t);
          }), this._gamepadSource && (this._gamepadSource.destroy(), this._gamepadSource = null), this._activePointerCaptures = null, this._removeTouchAction(), this._element.removeEventListener("keydown", this._preventAltKeyDefault);
        }, Object.defineProperty(e.prototype, "browserTouchPanningEnabled", {
          get: function get() {
            return this._browserTouchPanningEnabled;
          },
          set: function set(e) {
            this._browserTouchPanningEnabled = e, this._updateTouchAction(), this._updateTouchEventHandling();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "onEventReceived", {
          set: function set(e) {
            this._callback = e;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "activeEvents", {
          set: function set(e) {
            var t = this;

            for (var n in this._active) if (!e || !e.has(n)) {
              var i = this._active[n];
              this._element.removeEventListener(v[n], i), delete this._active[n];
            }

            e && e.forEach(function (e) {
              if (!t._active[e] && v[e]) {
                var n = t._eventHandlers[e] || t._handleDefault,
                    i = n.bind(t, e);
                t._element.addEventListener(v[e], i), t._active[e] = i;
              }
            }), this._gamepadSource.pollingEnabled = e && e.has("gamepad");
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.setPointerCapture = function (e, t) {
          t ? (this._element.setPointerCapture(e.pointerId), this._activePointerCaptures.add(e.pointerId)) : (this._releasePointerCaptureSafe(e.pointerId), this._activePointerCaptures["delete"](e.pointerId));
        }, e.prototype._updateTouchAction = function () {
          this._element.classList.remove(this._browserTouchPanningEnabled ? l.touchNone : l.touchPan), this._element.classList.add(this._browserTouchPanningEnabled ? l.touchPan : l.touchNone);
        }, e.prototype._updateTouchEventHandling = function () {
          this._browserTouchPanningEnabled ? this._element.addEventListener("touchmove", this._preventMultiTouchPanning) : this._element.removeEventListener("touchmove", this._preventMultiTouchPanning);
        }, e.prototype._removeTouchAction = function () {
          this._element.classList.remove(l.touchNone), this._element.classList.remove(l.touchPan), this._element.removeEventListener("touchmove", this._preventMultiTouchPanning);
        }, e.prototype._releasePointerCaptureSafe = function (e) {
          try {
            if (this._element.hasPointerCapture && !this._element.hasPointerCapture(e)) return;

            this._element.releasePointerCapture(e);
          } catch (e) {}
        }, e.prototype._updateNormalizedPointerLikeEvent = function (t, n) {
          var o = i.createScreenPointFromNativeEvent(this._element, t);
          return e.test.disableSubpixelCoordinates && (o.x = Math.round(o.x), o.y = Math.round(o.y)), n.x = o.x, n.y = o.y, n;
        }, e.prototype._handleKey = function (e, t) {
          var n = r.eventKey(t);
          n && "key-up" === e && this._keyDownState["delete"](n);
          var i = {
            "native": t,
            key: n,
            repeat: n && this._keyDownState.has(n)
          };
          n && "key-down" === e && this._keyDownState.add(i.key), this._callback(e, i);
        }, e.prototype._handlePointer = function (e, t) {
          var n = this._updateNormalizedPointerLikeEvent(t, {
            "native": t,
            x: 0,
            y: 0,
            pointerType: t.pointerType,
            button: t.button,
            buttons: t.buttons,
            eventId: this._eventId++
          });

          this._callback(e, n);
        }, e.prototype._handlePointerPreventDefault = function (e, t) {
          var n = this._updateNormalizedPointerLikeEvent(t, {
            "native": t,
            x: 0,
            y: 0,
            pointerType: t.pointerType,
            button: t.button,
            buttons: t.buttons,
            eventId: this._eventId++
          });

          t.preventDefault(), this._callback(e, n);
        }, e.prototype._handleMouseWheel = function (e, t) {
          var n = t.deltaY;

          switch (t.deltaMode) {
            case 0:
              (s || u) && (n = n / document.documentElement.clientHeight * 600);
              break;

            case 1:
              n *= 30;
              break;

            case 2:
              n *= 900;
          }

          s || u ? n *= .7 : h || c ? n *= .6 : p && (n *= 1.375);
          var i = Math.abs(n);

          if (i > 100) {
            n = 200 * (n / i) / (1 + Math.exp(-.02 * (i - 100)));
          }

          var o = this._updateNormalizedPointerLikeEvent(t, {
            "native": t,
            x: 0,
            y: 0,
            deltaY: n
          });

          this._callback(e, o);
        }, e.prototype._handlePointerCaptureLost = function (e, t) {
          this._activePointerCaptures["delete"](t.pointerId), this._handleDefault(e, t);
        }, e.prototype._handleDefault = function (e, t) {
          var n = {
            "native": t
          };
          t.preventDefault(), this._callback(e, n);
        }, e.prototype._preventAltKeyDefault = function (e) {
          "Alt" === e.key && e.preventDefault();
        }, e.prototype._preventMultiTouchPanning = function (e) {
          e.touches.length > 1 && e.preventDefault();
        }, e.test = {
          disableSubpixelCoordinates: !1
        }, e;
      }();

      t.BrowserEventSource = d;
      var v = {
        "key-down": "keydown",
        "key-up": "keyup",
        "pointer-down": "pointerdown",
        "pointer-up": "pointerup",
        "pointer-move": "pointermove",
        "mouse-wheel": "wheel",
        "pointer-capture-got": "gotpointercapture",
        "pointer-capture-lost": "lostpointercapture",
        "context-menu": "contextmenu",
        "pointer-enter": "pointerenter",
        "pointer-leave": "pointerleave",
        "pointer-cancel": "pointercancel",
        focus: "focus",
        blur: "blur"
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/DragEventSeparator.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/DragEventSeparator.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputDragEventSeparatorJs(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 (t, e) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var i = function () {
        function t(t) {
          this.callbacks = t, this.currentCount = 0, this.callbacks.condition || (this.callbacks.condition = function () {
            return !0;
          });
        }

        return t.prototype.handle = function (t) {
          var e = t.data,
              i = e.pointers.size;

          switch (e.action) {
            case "start":
              this.currentCount = i, this.emitStart(t);
              break;

            case "added":
              this.emitEnd(this.previousEvent), this.currentCount = i, this.emitStart(t);
              break;

            case "update":
              this.emitUpdate(t);
              break;

            case "removed":
              this.startEvent && this.emitEnd(this.previousEvent), this.currentCount = i, this.emitStart(t);
              break;

            case "end":
              this.emitEnd(t), this.currentCount = 0;
          }

          this.previousEvent = t;
        }, t.prototype.emitStart = function (t) {
          this.startEvent = t, this.callbacks.condition(this.currentCount, t) && this.callbacks.start(this.currentCount, t, this.startEvent);
        }, t.prototype.emitUpdate = function (t) {
          this.callbacks.condition(this.currentCount, t) && this.callbacks.update(this.currentCount, t, this.startEvent);
        }, t.prototype.emitEnd = function (t) {
          this.callbacks.condition(this.currentCount, t) && this.callbacks.end(this.currentCount, t, this.startEvent), this.startEvent = null;
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/views/input/EventMatch.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/EventMatch.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputEventMatchJs(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, t) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var i = function () {
        function e(e, t) {
          void 0 === t && (t = []), this.eventType = e, this.keyModifiers = t;
        }

        return e.prototype.matches = function (e) {
          if (e.type !== this.eventType) return !1;
          if (0 === this.keyModifiers.length) return !0;

          for (var t = e.modifiers, i = 0, r = this.keyModifiers; i < r.length; i++) {
            var n = r[i];
            if (!t.has(n)) return !1;
          }

          return !0;
        }, e;
      }();

      t.EventMatch = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/Input.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/Input.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputInputJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./gamepad/GamepadSettings */
    "./node_modules/arcgis-js-api/views/input/gamepad/GamepadSettings.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, p, o, a, n) {
      return function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.gamepad = new n(), r;
        }

        return t(r, e), p([a.property({
          readOnly: !0
        })], r.prototype, "gamepad", void 0), r = p([a.subclass("esri.views.input.Input")], r);
      }(a.declared(o));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/InputHandler.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/InputHandler.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputInputHandlerJs(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/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ./EventMatch */
    "./node_modules/arcgis-js-api/views/input/EventMatch.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t, i) {
      Object.defineProperty(n, "__esModule", {
        value: !0
      });

      var o = t.getLogger("esri.views.input.InputHandler"),
          r = function () {
        function e(e) {
          this._manager = null, this._incoming = {}, this._outgoing = {}, this._incomingEventMatches = null, this._incomingEventTypes = null, this._outgoingEventTypes = null, this._hasSideEffects = e;
        }

        return Object.defineProperty(e.prototype, "incomingEventMatches", {
          get: function get() {
            if (!this._incomingEventMatches) {
              this._incomingEventMatches = [];

              for (var e in this._incoming) for (var n = this._incoming[e], t = 0, i = n; t < i.length; t++) {
                var o = i[t];

                this._incomingEventMatches.push(o.match);
              }
            }

            return this._incomingEventMatches;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "incomingEventTypes", {
          get: function get() {
            return this._incomingEventTypes || (this._incomingEventTypes = this.incomingEventMatches.map(function (e) {
              return e.eventType;
            })), this._incomingEventTypes;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "outgoingEventTypes", {
          get: function get() {
            return this._outgoingEventTypes || (this._outgoingEventTypes = Object.keys(this._outgoing)), this._outgoingEventTypes;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "hasSideEffects", {
          get: function get() {
            return this._hasSideEffects;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "hasPendingInputs", {
          get: function get() {
            return !1;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.onInstall = function (e) {
          var n = this;
          if (this._manager) return void o.error("This InputHandler has already been registered with an InputManager");
          e.setEventCallback(function (e) {
            return n._handleEvent(e);
          }), e.setUninstallCallback(function () {
            return n._onUninstall();
          }), this._manager = e;
        }, e.prototype.onUninstall = function () {}, e.prototype.registerIncoming = function (e, n, t) {
          var o,
              r = this;
          "function" == typeof n ? (t = n, o = []) : o = n || [];

          var s = "string" == typeof e ? new i.EventMatch(e, o) : e,
              u = function u() {
            r._incomingEventTypes = null, r._incomingEventMatches = null;
          },
              c = function c(e) {
            var n = r._incoming[e.match.eventType];

            if (n) {
              var t = n.indexOf(e);
              n.splice(t, 1), u(), r._manager && r._manager.updateDependencies();
            }
          },
              h = new a(s, t, {
            onPause: c,
            onRemove: c,
            onResume: function onResume(e) {
              var n = r._incoming[e.match.eventType];
              n && -1 === n.indexOf(e) && (n.push(e), u(), r._manager && r._manager.updateDependencies());
            }
          }),
              p = this._incoming[s.eventType];

          return p || (p = [], this._incoming[s.eventType] = p), p.push(h), u(), this._manager && this._manager.updateDependencies(), h;
        }, e.prototype.registerOutgoing = function (e) {
          var n = this;
          if (this._outgoing[e]) throw Error("There is already a callback registered for this outgoing InputEvent: " + e);
          var t = new s(e, {
            onEmit: function onEmit(e, t, i, o) {
              n._manager.emit(e.eventType, t, i, o);
            },
            onRemove: function onRemove(e) {
              delete n._outgoing[e.eventType], n._manager.updateDependencies();
            }
          });
          return this._outgoing[e] = t, this._outgoingEventTypes = null, this._manager && this._manager.updateDependencies(), t;
        }, e.prototype.startCapturingPointer = function (e) {
          this._manager.setPointerCapture(e, !0);
        }, e.prototype.stopCapturingPointer = function (e) {
          this._manager.setPointerCapture(e, !1);
        }, e.prototype.refreshHasPendingInputs = function () {
          this._manager.refreshHasPendingInputs();
        }, e.prototype._onUninstall = function () {
          if (!this._manager) return void o.error("This InputHandler is not registered with an InputManager");
          this.onUninstall(), this._manager = null;
        }, e.prototype._handleEvent = function (e) {
          var n = this._incoming[e.type];
          if (n) for (var t = 0, i = n; t < i.length; t++) {
            var o = i[t];
            if (o.match.matches(e) && (o.callback(e), e.shouldStopPropagation())) break;
          }
        }, e;
      }();

      n.InputHandler = r;

      var a = function () {
        function e(e, n, t) {
          this.match = e, this._callback = n, this._handler = t;
        }

        return e.prototype.pause = function () {
          this._handler.onPause(this);
        }, e.prototype.resume = function () {
          this._handler.onResume(this);
        }, e.prototype.remove = function () {
          this._handler.onRemove(this);
        }, Object.defineProperty(e.prototype, "callback", {
          get: function get() {
            return this._callback;
          },
          enumerable: !0,
          configurable: !0
        }), e;
      }(),
          s = function () {
        function e(e, n) {
          this.eventType = e, this._removed = !1, this._handler = n;
        }

        return e.prototype.emit = function (e, n, t) {
          this._removed || this._handler.onEmit(this, e, n, t);
        }, e.prototype.remove = function () {
          this._removed = !0, this._handler.onRemove(this);
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/InputManager.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/InputManager.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputInputManagerJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/now */
    "./node_modules/arcgis-js-api/core/now.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./keys */
    "./node_modules/arcgis-js-api/views/input/keys.js"), __webpack_require__(
    /*! ./handlers/LatestPointerType */
    "./node_modules/arcgis-js-api/views/input/handlers/LatestPointerType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, i, o, a, s, p, d) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var u = o.getLogger("esri.views.input.InputManager"),
          l = function (e) {
        function i(t) {
          var r = e.call(this, t) || this;
          return r._pointerCaptures = new Map(), r._nameToGroup = {}, r._handlers = [], r._currentPropagation = null, r._sourceEvents = new Set(), r._keyModifiers = new Set(), r._activeKeyModifiers = new Set(), r._stoppedPropagationEventIds = new Set(), r.primaryKey = p.primaryKey, r.latestPointerType = "mouse", r.test = {
            timestamp: void 0
          }, r;
        }

        return r(i, e), i.prototype.initialize = function () {
          this.eventSource.onEventReceived = this._onEventReceived.bind(this), this._installRecognizers();
        }, i.prototype.destroy = function () {
          for (var e = Object.keys(this._nameToGroup), t = 0, r = e; t < r.length; t++) {
            var n = r[t];
            this.uninstallHandlers(n);
          }

          this.eventSource = null;
        }, Object.defineProperty(i.prototype, "hasPendingInputs", {
          get: function get() {
            return this._handlers.some(function (e) {
              return e.handler.hasPendingInputs;
            });
          },
          enumerable: !0,
          configurable: !0
        }), i.prototype.installHandlers = function (e, r, n) {
          var i = this;
          if (void 0 === n && (n = t.ViewEventPriorities.INTERNAL), this._nameToGroup[e]) return void u.error("There is already an InputHandler group registered under the name `" + e + "`");
          if (0 === r.length) return void u.error("Can't register a group of zero handlers");
          var o = {
            name: e,
            handlers: r.map(function (e) {
              return {
                handler: e,
                active: !0,
                removed: !1,
                priorityIndex: 0,
                groupPriority: n,
                eventCallback: null,
                uninstallCallback: null
              };
            })
          };
          this._nameToGroup[e] = o;

          for (var a = this, s = o.handlers.length - 1; s >= 0; s--) !function (e) {
            var t = o.handlers[e];
            a._handlers.push(t), t.handler.onInstall({
              updateDependencies: function updateDependencies() {
                i.updateDependencies();
              },
              emit: function emit(e, r, n, o, a) {
                i._emitInputEvent(t.priorityIndex, e, r, n, a, o);
              },
              setPointerCapture: function setPointerCapture(e, r) {
                i._setPointerCapture(o, t, e, r);
              },
              setEventCallback: function setEventCallback(e) {
                t.eventCallback = e;
              },
              setUninstallCallback: function setUninstallCallback(e) {
                t.uninstallCallback = e;
              },
              refreshHasPendingInputs: function refreshHasPendingInputs() {
                i.notifyChange("hasPendingInputs");
              }
            });
          }(s);

          this.updateDependencies();
        }, i.prototype.uninstallHandlers = function (e) {
          var t = this._nameToGroup[e];
          if (!t) return void u.error("There is no InputHandler group registered under the name `" + e + "`");
          t.handlers.forEach(function (e) {
            e.removed = !0, e.uninstallCallback();
          }), delete this._nameToGroup[e], this._currentPropagation ? this._currentPropagation.needsHandlerGarbageCollect = !0 : this._garbageCollectRemovedHandlers();
        }, i.prototype.hasHandlers = function (e) {
          return void 0 !== this._nameToGroup[e];
        }, i.prototype.updateDependencies = function () {
          var e = new Set(),
              t = new Set();
          this._handlersPriority = [];

          for (var r = this._handlers.length - 1; r >= 0; r--) {
            var n = this._handlers[r];
            n.priorityIndex = r, this._handlersPriority.push(n);
          }

          this._handlersPriority = this._sortHandlersPriority(this._handlersPriority);

          for (var r = this._handlersPriority.length - 1; r >= 0; r--) {
            var i = this._handlersPriority[r];
            i.priorityIndex = r;
            var o = i.handler.hasSideEffects;
            if (!o) for (var a = 0, s = i.handler.outgoingEventTypes; a < s.length; a++) {
              var d = s[a];

              if (e.has(d)) {
                o = !0;
                break;
              }
            }
            if (o) for (var u = 0, l = i.handler.incomingEventMatches; u < l.length; u++) {
              var h = l[u];
              e.add(h.eventType);

              for (var c = 0, v = h.keyModifiers; c < v.length; c++) {
                var f = v[c];
                p.isSystemModifier(f) || t.add(f);
              }
            }
            i.active = o;
          }

          this._sourceEvents = e, this._keyModifiers = t, this._pointerCaptures.size > 0 && this._sourceEvents.add("pointer-capture-lost"), this._keyModifiers.size > 0 && (this._sourceEvents.add("key-down"), this._sourceEvents.add("key-up")), this.eventSource && (this.eventSource.activeEvents = this._sourceEvents);
        }, i.prototype._setLatestPointerType = function (e) {
          this._set("latestPointerType", e);
        }, i.prototype._onEventReceived = function (e, t) {
          if ("pointer-capture-lost" === e) {
            var r = t;

            this._pointerCaptures["delete"](r["native"].pointerId);
          }

          this._updateKeyModifiers(e, t);

          var n = null != this.test.timestamp ? this.test.timestamp : t["native"] ? t["native"].timestamp : void 0,
              i = t["native"] ? t["native"].cancelable : void 0;

          this._emitInputEventFromSource(e, t, n, i);
        }, i.prototype._updateKeyModifiers = function (e, t) {
          var r = this;

          if (t) {
            var n = !1,
                i = function i() {
              if (!n) {
                var e = new Set();
                r._activeKeyModifiers.forEach(function (t) {
                  e.add(t);
                }), r._activeKeyModifiers = e, n = !0;
              }
            },
                o = function o(e, t) {
              t && !r._activeKeyModifiers.has(e) ? (i(), r._activeKeyModifiers.add(e)) : !t && r._activeKeyModifiers.has(e) && (i(), r._activeKeyModifiers["delete"](e));
            };

            if ("key-down" === e || "key-up" === e) {
              var a = t,
                  s = a.key;
              this._keyModifiers.has(s) && o(s, "key-down" === e);
            }

            var p = t["native"];
            o("Alt", !(!p || !p.altKey)), o("Ctrl", !(!p || !p.ctrlKey)), o("Shift", !(!p || !p.shiftKey)), o("Meta", !(!p || !p.metaKey)), o("Primary", this._activeKeyModifiers.has(this.primaryKey));
          }
        }, i.prototype._installRecognizers = function () {
          var e = this;
          this._latestPointerTypeHandler = new d.LatestPointerType(function (t) {
            return e._setLatestPointerType(t);
          }), this.recognizers.length > 0 && this.installHandlers("default", this.recognizers, t.ViewEventPriorities.INTERNAL), this.installHandlers("input-manager-logic", [this._latestPointerTypeHandler], t.ViewEventPriorities.INTERNAL);
        }, i.prototype._setPointerCapture = function (e, t, r, n) {
          var i = e.name + "-" + t.priorityIndex,
              o = this._pointerCaptures.get(r.pointerId) || new Set();
          this._pointerCaptures.set(r.pointerId, o), n ? (o.add(i), 1 === o.size && this.eventSource && this.eventSource.setPointerCapture(r, !0)) : o.has(i) && (o["delete"](i), 0 === o.size && (this._pointerCaptures["delete"](r.pointerId), this.eventSource && this.eventSource.setPointerCapture(r, !1)));
        }, i.prototype._garbageCollectRemovedHandlers = function () {
          this._handlers = this._handlers.filter(function (e) {
            return !e.removed;
          }), this.updateDependencies();
        }, i.prototype._emitInputEventFromSource = function (e, t, r, n) {
          this._emitInputEvent(0, e, t, r, n);
        }, i.prototype._emitInputEvent = function (e, t, r, n, i, o) {
          var s = void 0 !== n ? n : this._currentPropagation ? this._currentPropagation.timestamp : a(),
              p = void 0 !== i && i,
              d = new h(t, r, s, o || this._activeKeyModifiers, p);
          if (this._currentPropagation) return void this._currentPropagation.addedEvents.push(d);

          this._doNewPropagation(e, d);
        }, i.prototype._doNewPropagation = function (e, t) {
          this._currentPropagation = {
            events: [t],
            addedEvents: [],
            currentHandler: this._handlersPriority[e],
            needsHandlerGarbageCollect: !1,
            timestamp: t.timestamp
          };

          for (var r = this._currentPropagation; r.currentHandler;) {
            if (r.currentHandler.removed) r.needsHandlerGarbageCollect = !0;else {
              var n = r.events,
                  i = [];
              r.addedEvents = [];

              for (var o = 0; o < n.length; o++) {
                var a = n[o],
                    s = a.data && a.data.eventId;
                null != s && this._stoppedPropagationEventIds.has(s) || (r.currentHandler.active && r.currentHandler.eventCallback(a), a.shouldStopPropagation() ? null != s && this._stoppedPropagationEventIds.add(s) : i.push(a));
              }

              r.events = i.concat(r.addedEvents);
            }
            r.currentHandler = this._handlersPriority[r.currentHandler.priorityIndex + 1];
          }

          r.needsHandlerGarbageCollect && this._garbageCollectRemovedHandlers(), this.hasPendingInputs || this._stoppedPropagationEventIds.clear(), this._currentPropagation = null;
        }, i.prototype._compareHandlerPriority = function (e, t) {
          if (e.handler.hasSideEffects !== t.handler.hasSideEffects) return e.handler.hasSideEffects ? 1 : -1;
          if (e.groupPriority !== t.groupPriority) return e.groupPriority > t.groupPriority ? -1 : 1;

          for (var r = 0, n = e.handler.incomingEventMatches; r < n.length; r++) for (var i = n[r], o = 0, a = t.handler.incomingEventMatches; o < a.length; o++) {
            var s = a[o],
                p = function (e) {
              if (i.eventType !== e.eventType) return "continue";
              var t = i.keyModifiers.filter(function (t) {
                return -1 !== e.keyModifiers.indexOf(t);
              });
              return t.length === i.keyModifiers.length != (t.length === e.keyModifiers.length) ? {
                value: i.keyModifiers.length > e.keyModifiers.length ? -1 : 1
              } : void 0;
            }(s);

            if ("object" == typeof p) return p.value;
          }

          return e.priorityIndex > t.priorityIndex ? -1 : 1;
        }, i.prototype._sortHandlersPriority = function (e) {
          for (var t = [], r = 0, n = e; r < n.length; r++) {
            for (var i = n[r], o = 0; o < t.length && this._compareHandlerPriority(i, t[o]) >= 0;) o++;

            t.splice(o, 0, i);
          }

          return t;
        }, Object.defineProperty(i.prototype, "debug", {
          get: function get() {
            var e = this,
                t = function t(_t4) {
              var r = e._setPointerCapture;
              e._setPointerCapture = function () {}, _t4(), e._setPointerCapture = r;
            };

            return {
              injectEvent: function injectEvent(r, n) {
                t(function () {
                  e._onEventReceived(r, n);
                });
              },
              disablePointerCapture: t
            };
          },
          enumerable: !0,
          configurable: !0
        }), n([s.property({
          readOnly: !0
        })], i.prototype, "hasPendingInputs", null), n([s.property({})], i.prototype, "eventSource", void 0), n([s.property({})], i.prototype, "recognizers", void 0), n([s.property({
          readOnly: !0
        })], i.prototype, "latestPointerType", void 0), i = n([s.subclass("esri.views.input.InputManager")], i);
      }(s.declared(i));

      t.InputManager = l;

      var h = function () {
        function e(e, t, r, n, i) {
          this.type = e, this.data = t, this.timestamp = r, this.modifiers = n, this.cancelable = i, this._stopPropagation = !1;
        }

        return e.prototype.stopPropagation = function () {
          this._stopPropagation = !0;
        }, e.prototype.shouldStopPropagation = function () {
          return this._stopPropagation;
        }, e.prototype.preventDefault = function () {
          this.data["native"].preventDefault();
        }, e;
      }();

      t.ViewEventPriorities = {
        DEFAULT: 0,
        TOOL: -1,
        WIDGET: -2,
        INTERNAL: -3
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/ViewEvents.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/ViewEvents.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputViewEventsJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ./InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ./InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, r, a, o, i, p) {
      function u(t) {
        return !!s[t];
      }

      function c(t) {
        for (var e = 0, n = t; e < n.length; e++) {
          if (!u(n[e])) return !1;
        }

        return !0;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.eventTypes = ["click", "double-click", "immediate-click", "hold", "drag", "key-down", "key-up", "pointer-down", "pointer-move", "pointer-up", "pointer-drag", "mouse-wheel", "pointer-enter", "pointer-leave", "gamepad", "focus", "blur"];
      var s = {};
      e.eventTypes.forEach(function (t) {
        s[t] = !0;
      });

      var l = function () {
        function t(t) {
          this.handlers = new Map(), this.counter = 0, this.handlerCounts = new Map(), this.view = t, this.inputManager = null;
        }

        return t.prototype.connect = function (t) {
          var e = this;
          t && this.disconnect(), this.inputManager = t, this.handlers.forEach(function (t, n) {
            var r = t.handler,
                a = t.priority;
            return e.inputManager.installHandlers(n, [r], a);
          });
        }, t.prototype.disconnect = function () {
          var t = this;
          this.inputManager && this.handlers.forEach(function (e, n) {
            return t.inputManager.uninstallHandlers(n);
          }), this.inputManager = null;
        }, t.prototype.destroy = function () {
          this.disconnect(), this.handlers.clear(), this.view = null;
        }, t.prototype.on = function (t, e, n, r) {
          var a = this,
              o = Array.isArray(t) ? t : t.split(",");
          if (!c(o)) return o.some(u) && console.error("Error: registering input events and other events on the view at the same time is not supported."), null;
          var i, s;
          Array.isArray(e) ? s = e : (i = e, s = []), "function" == typeof n ? i = n : r = n, r = null != r ? r : p.ViewEventPriorities.DEFAULT;
          var l = this.createUniqueGroupName(),
              d = new v(this.view, o, s, i);
          this.handlers.set(l, {
            handler: d,
            priority: r
          });

          for (var f = 0, m = o; f < m.length; f++) {
            var g = m[f],
                y = this.handlerCounts.get(g) || 0;
            this.handlerCounts.set(g, y + 1);
          }

          return this.inputManager && this.inputManager.installHandlers(l, [d], r), {
            remove: function remove() {
              return a.removeHandler(l, o);
            }
          };
        }, t.prototype.hasHandler = function (t) {
          return !!this.handlerCounts.get(t);
        }, t.prototype.removeHandler = function (t, e) {
          if (this.handlers.has(t)) {
            this.handlers["delete"](t);

            for (var n = 0, r = e; n < r.length; n++) {
              var a = r[n],
                  o = this.handlerCounts.get(a);
              void 0 === o ? console.error("Trying to remove handler for event that has no handlers registered: ", a) : 1 === o ? this.handlerCounts["delete"](a) : this.handlerCounts.set(a, o - 1);
            }
          }

          this.inputManager && this.inputManager.uninstallHandlers(t);
        }, t.prototype.createUniqueGroupName = function () {
          return this.counter += 1, "viewEvents_" + this.counter;
        }, t;
      }();

      e.ViewEvents = l;

      var v = function (t) {
        function e(e, n, a, o) {
          var i = t.call(this, !0) || this;
          i.view = e;

          for (var p = 0, u = n; p < u.length; p++) {
            var c = u[p];

            switch (c) {
              case "click":
                i.registerIncoming("click", a, function (t) {
                  return o(i.wrapClick(t));
                });
                break;

              case "double-click":
                i.registerIncoming("double-click", a, function (t) {
                  return o(i.wrapDoubleClick(t));
                });
                break;

              case "immediate-click":
                i.registerIncoming("immediate-click", a, function (t) {
                  return o(i.wrapImmediateClick(t));
                });
                break;

              case "hold":
                i.registerIncoming("hold", a, function (t) {
                  return o(i.wrapHold(t));
                });
                break;

              case "drag":
                i.registerIncoming("drag", a, function (t) {
                  var e = i.wrapDrag(t);
                  e && o(e);
                });
                break;

              case "key-down":
                i.registerIncoming("key-down", a, function (t) {
                  return o(i.wrapKeyDown(t));
                });
                break;

              case "key-up":
                i.registerIncoming("key-up", a, function (t) {
                  return o(i.wrapKeyUp(t));
                });
                break;

              case "pointer-down":
                i.registerIncoming("pointer-down", a, function (t) {
                  return o(i.wrapPointer(t, "pointer-down"));
                });
                break;

              case "pointer-move":
                i.registerIncoming("pointer-move", a, function (t) {
                  return o(i.wrapPointer(t, "pointer-move"));
                });
                break;

              case "pointer-up":
                i.registerIncoming("pointer-up", a, function (t) {
                  return o(i.wrapPointer(t, "pointer-up"));
                });
                break;

              case "pointer-drag":
                i.registerIncoming("pointer-drag", a, function (t) {
                  return o(i.wrapPointerDrag(t));
                });
                break;

              case "mouse-wheel":
                i.registerIncoming("mouse-wheel", a, function (t) {
                  return o(i.wrapMouseWheel(t));
                });
                break;

              case "pointer-enter":
                i.registerIncoming("pointer-enter", a, function (t) {
                  return o(i.wrapPointer(t, "pointer-enter"));
                });
                break;

              case "pointer-leave":
                i.registerIncoming("pointer-leave", a, function (t) {
                  return o(i.wrapPointer(t, "pointer-leave"));
                });
                break;

              case "gamepad":
                i.registerIncoming("gamepad", a, function (t) {
                  o(i.wrapGamepad(t));
                });
                break;

              case "focus":
                i.registerIncoming("focus", a, function (t) {
                  o(i.wrapFocus(t));
                });
                break;

              case "blur":
                i.registerIncoming("blur", a, function (t) {
                  o(i.wrapBlur(t));
                });
                break;

              default:
                r.neverReached(c);
            }
          }

          return i;
        }

        return n(e, t), e.prototype.wrapFocus = function (t) {
          return {
            type: "focus",
            timestamp: t.timestamp,
            "native": t.data["native"],
            cancelable: t.cancelable,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapBlur = function (t) {
          return {
            type: "blur",
            timestamp: t.timestamp,
            "native": t.data["native"],
            cancelable: t.cancelable,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapClick = function (t) {
          var e = t.data,
              n = e.pointerType,
              r = e.button,
              a = e.buttons,
              i = e.x,
              p = e.y,
              u = e["native"],
              c = e.eventId,
              s = t.cancelable,
              l = t.timestamp,
              v = o.createScreenPoint(i, p);
          return {
            type: "click",
            pointerType: n,
            button: r,
            buttons: a,
            x: i,
            y: p,
            "native": u,
            timestamp: l,
            screenPoint: v,
            mapPoint: this.view.toMap(v),
            eventId: c,
            cancelable: s,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapDoubleClick = function (t) {
          var e = t.data,
              n = e.pointerType,
              r = e.button,
              a = e.buttons,
              i = e.x,
              p = e.y,
              u = e["native"],
              c = e.eventId,
              s = t.cancelable;
          return {
            type: "double-click",
            pointerType: n,
            button: r,
            buttons: a,
            x: i,
            y: p,
            "native": u,
            timestamp: t.timestamp,
            mapPoint: this.view.toMap(o.createScreenPoint(i, p)),
            eventId: c,
            cancelable: s,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapImmediateClick = function (t) {
          var e = t.data,
              n = e.pointerType,
              r = e.button,
              a = e.buttons,
              i = e.x,
              p = e.y,
              u = e["native"],
              c = e.eventId,
              s = u.pointerId,
              l = t.cancelable;
          return {
            type: "immediate-click",
            pointerId: s,
            pointerType: n,
            button: r,
            buttons: a,
            x: i,
            y: p,
            "native": u,
            timestamp: t.timestamp,
            mapPoint: this.view.toMap(o.createScreenPoint(i, p)),
            eventId: c,
            cancelable: l,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapHold = function (t) {
          var e = t.data,
              n = e.pointerType,
              r = e.button,
              a = e.buttons,
              i = e.x,
              p = e.y,
              u = e["native"],
              c = t.cancelable;
          return {
            type: "hold",
            pointerType: n,
            button: r,
            buttons: a,
            x: i,
            y: p,
            "native": u,
            timestamp: t.timestamp,
            mapPoint: this.view.toMap(o.createScreenPoint(i, p)),
            cancelable: c,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapDrag = function (t) {
          var e = t.data,
              n = e.center,
              r = n.x,
              o = n.y,
              i = e.action,
              p = e.pointerType,
              u = e.button;

          if ("start" === i && (this.latestDragStart = e), this.latestDragStart) {
            var c = e.pointer["native"],
                s = e.buttons,
                l = t.cancelable,
                v = t.timestamp,
                d = {
              x: this.latestDragStart.center.x,
              y: this.latestDragStart.center.y
            };
            return "end" === i && (this.latestDragStart = void 0), {
              type: "drag",
              action: i,
              x: r,
              y: o,
              origin: d,
              pointerType: p,
              button: u,
              buttons: s,
              radius: e.radius,
              angle: a.rad2deg(e.angle),
              "native": c,
              timestamp: v,
              cancelable: l,
              stopPropagation: function stopPropagation() {
                return t.stopPropagation();
              },
              preventDefault: function preventDefault() {
                return t.preventDefault();
              }
            };
          }
        }, e.prototype.wrapKeyDown = function (t) {
          var e = t.data,
              n = e.key,
              r = e.repeat,
              a = e["native"],
              o = t.cancelable;
          return {
            type: "key-down",
            key: n,
            repeat: r,
            "native": a,
            timestamp: t.timestamp,
            cancelable: o,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapKeyUp = function (t) {
          var e = t.data,
              n = e.key,
              r = e["native"],
              a = t.cancelable;
          return {
            type: "key-up",
            key: n,
            "native": r,
            timestamp: t.timestamp,
            cancelable: a,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapPointer = function (t, e) {
          var n = t.data,
              r = n.x,
              a = n.y,
              o = n.button,
              i = n.buttons,
              p = n["native"],
              u = n.eventId,
              c = p.pointerId,
              s = p.pointerType,
              l = t.cancelable;
          return {
            type: e,
            x: r,
            y: a,
            pointerId: c,
            pointerType: s,
            button: o,
            buttons: i,
            "native": p,
            timestamp: t.timestamp,
            eventId: u,
            cancelable: l,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapPointerDrag = function (t) {
          var e = t.data.currentEvent,
              n = e.x,
              r = e.y,
              a = e.buttons,
              o = e["native"],
              i = e.eventId,
              p = t.data.startEvent.button,
              u = t.data.startEvent["native"].pointerId,
              c = t.data.startEvent["native"].pointerType,
              s = t.data.action,
              l = {
            x: t.data.startEvent.x,
            y: t.data.startEvent.y
          },
              v = t.cancelable;
          return {
            type: "pointer-drag",
            x: n,
            y: r,
            pointerId: u,
            pointerType: c,
            button: p,
            buttons: a,
            action: s,
            origin: l,
            "native": o,
            timestamp: t.timestamp,
            eventId: i,
            cancelable: v,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapMouseWheel = function (t) {
          var e = t.cancelable,
              n = t.data,
              r = t.timestamp;
          return {
            type: "mouse-wheel",
            x: n.x,
            y: n.y,
            deltaY: n.deltaY,
            "native": n["native"],
            timestamp: r,
            cancelable: e,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e.prototype.wrapGamepad = function (t) {
          var e = t.data,
              n = e.action,
              r = e.state,
              a = e.device,
              o = t.cancelable;
          return {
            type: "gamepad",
            device: a,
            timestamp: t.timestamp,
            action: n,
            buttons: r.buttons,
            axes: r.axes,
            cancelable: o,
            stopPropagation: function stopPropagation() {
              return t.stopPropagation();
            },
            preventDefault: function preventDefault() {
              return t.preventDefault();
            }
          };
        }, e;
      }(i.InputHandler);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/gamepad/GamepadInputDevice.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/gamepad/GamepadInputDevice.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputGamepadGamepadInputDeviceJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, o, p) {
      var a = function (e) {
        function t(t) {
          var r = e.call(this) || this;
          return r.nativeIndex = null, r._detectedDeviceType = "unknown", "standard" === t.mapping ? r._detectedDeviceType = "standard" : i.test(t.id) ? r._detectedDeviceType = "spacemouse" : r._detectedDeviceType = "unknown", r.nativeIndex = t.index, r;
        }

        return r(t, e), Object.defineProperty(t.prototype, "native", {
          get: function get() {
            return (navigator.getGamepads ? navigator.getGamepads() : [])[this.nativeIndex];
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "deviceType", {
          get: function get() {
            return this._detectedDeviceType;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "axisThreshold", {
          get: function get() {
            return d[this.deviceType];
          },
          enumerable: !0,
          configurable: !0
        }), n([p.property({
          nonNullable: !0,
          readOnly: !0
        })], t.prototype, "nativeIndex", void 0), n([p.property({
          type: String,
          readOnly: !0
        })], t.prototype, "deviceType", null), n([p.property({
          type: Number,
          readOnly: !0
        })], t.prototype, "axisThreshold", null), t = n([p.subclass("esri.views.input.gamepad.GamepadInputDevice")], t);
      }(p.declared(o)),
          i = new RegExp("^(3dconnexion|space(mouse|navigator|pilot|explorer))", "i"),
          d = {
        standard: .15,
        spacemouse: .025,
        unknown: 0
      };

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

  /***/
  "./node_modules/arcgis-js-api/views/input/gamepad/GamepadSettings.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/gamepad/GamepadSettings.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputGamepadGamepadSettingsJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./GamepadInputDevice */
    "./node_modules/arcgis-js-api/views/input/gamepad/GamepadInputDevice.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, c, p, n, d) {
      return function (e) {
        function o() {
          var o = e.call(this) || this;
          return o.devices = new p(), o.enabledFocusMode = "document", o;
        }

        return r(o, e), t([n.property({
          type: p.ofType(d),
          readOnly: !0
        })], o.prototype, "devices", void 0), t([n.property({
          type: ["document", "view", "none"]
        })], o.prototype, "enabledFocusMode", void 0), o = t([n.subclass("esri.views.input.gamepad.GamepadSettings")], o);
      }(n.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/gamepad/GamepadSource.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/gamepad/GamepadSource.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputGamepadGamepadSourceJs(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/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js"), __webpack_require__(
    /*! ./GamepadInputDevice */
    "./node_modules/arcgis-js-api/views/input/gamepad/GamepadInputDevice.js"), __webpack_require__(
    /*! ./GamepadState */
    "./node_modules/arcgis-js-api/views/input/gamepad/GamepadState.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, n, i, d) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = function () {
        function e(e, t) {
          var a = this;
          this.element = e, this.input = t, this.handleGamepadConnectedEvent = function (e) {
            a.handleGamepadConnected(e.gamepad);
          }, this.handleGamepadDisconnectedEvent = function (e) {
            var t = e.gamepad,
                n = a.inputDevices[t.index];
            n && (a.emitGamepadEvent(t, d.extractState(n), !1), a.inputDevices[t.index] = void 0, a.latestUpdate[t.index] = void 0, a.input.gamepad.devices.remove(n));
          }, this.frameTask = null, this.latestUpdate = new Array(), this.inputDevices = new Array(), this.callback = null, this.supported = "getGamepads" in window.navigator, this.supported && (this.forEachGamepad(function (e) {
            return a.handleGamepadConnected(e);
          }), window.addEventListener("gamepadconnected", this.handleGamepadConnectedEvent), window.addEventListener("gamepaddisconnected", this.handleGamepadDisconnectedEvent));
        }

        return e.prototype.destroy = function () {
          this.pollingEnabled = !1, this.supported && (window.removeEventListener("gamepadconnected", this.handleGamepadConnectedEvent), window.removeEventListener("gamepaddisconnected", this.handleGamepadDisconnectedEvent));
        }, Object.defineProperty(e.prototype, "onEvent", {
          set: function set(e) {
            this.callback = e;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "pollingEnabled", {
          set: function set(e) {
            this.supported && (e ? this.startPolling() : this.stopPolling());
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.handleGamepadConnected = function (e) {
          var t = new i(e);
          "unknown" !== t.deviceType && (this.inputDevices[e.index] = t, this.input.gamepad.devices.add(t));
        }, e.prototype.startPolling = function () {
          var e = this;
          null == this.frameTask && (this.frameTask = n.addFrameTask({
            update: function update() {
              return e.readGamepadState();
            }
          }));
        }, e.prototype.stopPolling = function () {
          null != this.frameTask && (this.frameTask.remove(), this.frameTask = null, this.latestUpdate = new Array());
        }, e.prototype.readGamepadState = function () {
          var e = this,
              t = document.hasFocus(),
              a = this.element.contains(document.activeElement),
              n = "document" === this.input.gamepad.enabledFocusMode && !t || "view" === this.input.gamepad.enabledFocusMode && !a;
          this.forEachGamepad(function (t) {
            var a = e.inputDevices[t.index];

            if (a) {
              var i = e.latestUpdate[t.index],
                  s = d.extractState(a),
                  o = n || d.stateIdle(s);

              if (i) {
                if (i.timestamp === t.timestamp) return;
                if (!i.active && o) return;
                if (d.stateEqual(i.state, s)) return;
              }

              e.emitGamepadEvent(t, s, !o);
            }
          });
        }, e.prototype.forEachGamepad = function (e) {
          for (var t = window.navigator.getGamepads(), a = 0; a < t.length; a++) {
            var n = t[a];
            this.validate(n) && e(n);
          }
        }, e.prototype.emitGamepadEvent = function (e, t, a) {
          var n = this.latestUpdate[e.index],
              i = n && n.active;

          if (i || a) {
            var d = !i && a ? "start" : i && a ? "update" : "end";
            this.latestUpdate[e.index] = {
              timestamp: e.timestamp,
              state: t,
              active: a
            }, this.callback && this.callback({
              device: this.inputDevices[e.index],
              state: t,
              action: d
            });
          }
        }, e.prototype.validate = function (e) {
          if (!e) return !1;
          if (!e.connected) return !1;

          for (var t = 0; t < e.axes.length; t++) if (isNaN(e.axes[t])) return !1;

          return !0;
        }, e;
      }();

      t.GamepadSource = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/gamepad/GamepadState.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/gamepad/GamepadState.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputGamepadGamepadStateJs(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/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n) {
      function r(t) {
        var e = t["native"];
        return {
          buttons: e.buttons.map(function (t) {
            return t.pressed ? t.value ? t.value : 1 : 0;
          }),
          axes: e.axes.map(function (e) {
            return s(e, t.axisThreshold);
          })
        };
      }

      function u(t, e) {
        if (t.axes.length !== e.axes.length) return !1;
        if (t.buttons.length !== e.buttons.length) return !1;

        for (var n = 0; n < t.axes.length; n++) if (t.axes[n] !== e.axes[n]) return !1;

        for (var n = 0; n < t.buttons.length; n++) if (t.buttons[n] !== e.buttons[n]) return !1;

        return !0;
      }

      function a(t) {
        for (var e = 0; e < t.axes.length; e++) if (0 !== t.axes[e]) return !1;

        for (var e = 0; e < t.buttons.length; e++) if (0 !== t.buttons[e]) return !1;

        return !0;
      }

      function s(t, e) {
        var r = Math.abs(t);
        return r < e ? 0 : n.sign(t) * (r - e) / (1 - e);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.extractState = r, e.stateEqual = u, e.stateIdle = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/handlers/LatestPointerType.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/handlers/LatestPointerType.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputHandlersLatestPointerTypeJs(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__(
    /*! ../InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, o) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var r = function (e) {
        function t(t) {
          var n = e.call(this, !0) || this;
          return n._onChange = t, n._value = "mouse", n.registerIncoming("pointer-down", function (e) {
            var t = "touch" === e.data["native"].pointerType;

            n._setValue(t ? "touch" : "mouse");
          }), n._moveHandler = n.registerIncoming("pointer-move", function (e) {
            var t = "touch" === e.data["native"].pointerType;

            n._setValue(t ? "touch" : "mouse");
          }), n._moveHandler.pause(), n;
        }

        return n(t, e), t.prototype._setValue = function (e) {
          e !== this._value && ("touch" === e ? this._moveHandler.resume() : this._moveHandler.pause(), this._value = e, this._onChange(e));
        }, t;
      }(o.InputHandler);

      t.LatestPointerType = r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/handlers/PreventContextMenu.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/handlers/PreventContextMenu.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputHandlersPreventContextMenuJs(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__(
    /*! ../InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var u = function (e) {
        function t() {
          var t = e.call(this, !0) || this;
          return t.registerIncoming("context-menu", function (e) {
            e.data["native"].preventDefault();
          }), t;
        }

        return n(t, e), t;
      }(r.InputHandler);

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputHandlersSupportJs(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 (t, e) {
      function r(t, e) {
        switch (e) {
          case "primary":
            return "touch" === t.pointerType || 0 === t.button;

          case "secondary":
            return "touch" !== t.pointerType && 2 === t.button;

          case "tertiary":
            return "touch" !== t.pointerType && 1 === t.button;
        }
      }

      function n(t, e) {
        if ("touch" === t.pointerType) return !1;

        switch (e) {
          case "primary":
            return 0 === t.button;

          case "secondary":
            return 2 === t.button;

          case "tertiary":
            return 1 === t.button;
        }
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/input/keys.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/keys.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputKeysJs(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/events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ../../core/has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a) {
      function o(e) {
        if (void 0 !== e.key) return t.eventKey(e);
        var r = i[e.keyCode];
        return Array.isArray(r) ? e.shiftKey ? r[1] : r[0] : r;
      }

      function n(e) {
        switch (e) {
          case "Ctrl":
          case "Alt":
          case "Shift":
          case "Meta":
          case "Primary":
            return !0;
        }

        return !1;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.primaryKey = a("mac") ? "Meta" : "Ctrl";

      for (var i = {
        8: "Backspace",
        9: "Tab",
        13: "Enter",
        27: "Escape",
        33: "PageUp",
        34: "PageDown",
        35: "End",
        36: "Home",
        37: "ArrowLeft",
        38: "ArrowUp",
        39: "ArrowRight",
        40: "ArrowDown",
        45: "Insert",
        46: "Delete"
      }, s = 48; s < 58; s++) i[s] = String.fromCharCode(s);

      for (var s = 1; s < 25; s++) i[111 + s] = "F" + s;

      for (var s = 65; s < 91; s++) i[s] = [String.fromCharCode(s + 32), String.fromCharCode(s)];

      r.eventKey = o, r.isSystemModifier = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/recognizers/DoubleTapDrag.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/recognizers/DoubleTapDrag.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputRecognizersDoubleTapDragJs(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/clock */
    "./node_modules/arcgis-js-api/core/clock.js"), __webpack_require__(
    /*! ../../../core/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../DragEventSeparator */
    "./node_modules/arcgis-js-api/views/input/DragEventSeparator.js"), __webpack_require__(
    /*! ../InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ./SingleAndDoubleClick */
    "./node_modules/arcgis-js-api/views/input/recognizers/SingleAndDoubleClick.js"), __webpack_require__(
    /*! ./support */
    "./node_modules/arcgis-js-api/views/input/recognizers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, r, o, n, i, u, p, l) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var s = function (e) {
        function t(t, a, o, u, l) {
          void 0 === t && (t = p.DefaultParameters.maximumDoubleClickDelay), void 0 === a && (a = p.DefaultParameters.maximumDoubleClickDistance), void 0 === o && (o = p.DefaultParameters.maximumDoubleTouchDelay), void 0 === u && (u = p.DefaultParameters.maximumDoubleTouchDistance), void 0 === l && (l = r["default"]);
          var s = e.call(this, !1) || this;
          return s.maximumDoubleClickDelay = t, s.maximumDoubleClickDistance = a, s.maximumDoubleTouchDelay = o, s.maximumDoubleTouchDistance = u, s._clock = l, s._doubleTapDragReady = !1, s._doubleTapDragActive = !1, s._dragStartCenter = n.createScreenPoint(0, 0), s._pointerState = new Map(), s._doubleTapDrag = s.registerOutgoing("double-tap-drag"), s._dragEventSeparator = new i.DragEventSeparator({
            start: function start(e, t) {
              return s._dragStart(e, t);
            },
            update: function update(e, t) {
              return s._dragUpdate(t);
            },
            end: function end(e, t) {
              return s._dragEnd(t);
            }
          }), s.registerIncoming("drag", function (e) {
            return s._dragEventSeparator.handle(e);
          }), s.registerIncoming("pointer-down", function (e) {
            return s._handlePointerDown(e);
          }), s.registerIncoming("pointer-up", function () {
            return s._handlePointerUp();
          }), s;
        }

        return a(t, e), t.prototype.onUninstall = function () {
          this._pointerState.forEach(function (e) {
            null != e.doubleTapTimeout && (e.doubleTapTimeout.remove(), e.doubleTapTimeout = null);
          });
        }, Object.defineProperty(t.prototype, "hasPendingInputs", {
          get: function get() {
            return o.someMap(this._pointerState, function (e) {
              return null != e.doubleTapTimeout;
            });
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype._clearPointerDown = function (e) {
          var t = this._pointerState.get(e);

          t && (t.doubleTapTimeout.remove(), t.doubleTapTimeout = null, this._pointerState["delete"](e), this.refreshHasPendingInputs());
        }, t.prototype._createDoubleTapDragData = function (e, t, a) {
          return {
            action: e,
            delta: t,
            button: a.button,
            buttons: a.buttons,
            pointer: a.pointer,
            pointers: a.pointers,
            pointerType: a.pointerType,
            timestamp: a.timestamp
          };
        }, t.prototype._dragStart = function (e, t) {
          if (this._doubleTapDragReady && 1 === e) {
            this._doubleTapDragReady = !1, this._doubleTapDragActive = !0;
            var a = t.data,
                r = t.modifiers,
                o = a.center;
            this._dragStartCenter = o;

            var i = this._createDoubleTapDragData("begin", n.createScreenPoint(0, 0), a);

            this._doubleTapDrag.emit(i, void 0, r), t.stopPropagation();
          }
        }, t.prototype._dragUpdate = function (e) {
          if (this._doubleTapDragActive) {
            var t = e.data,
                a = e.modifiers,
                r = t.center,
                o = n.createScreenPoint(r.x - this._dragStartCenter.x, r.y - this._dragStartCenter.y),
                i = this._createDoubleTapDragData("update", o, t);

            this._doubleTapDrag.emit(i, void 0, a), e.stopPropagation();
          }
        }, t.prototype._dragEnd = function (e) {
          if (this._doubleTapDragActive) {
            var t = e.data,
                a = e.modifiers,
                r = t.center,
                o = n.createScreenPoint(r.x - this._dragStartCenter.x, r.y - this._dragStartCenter.y),
                i = this._createDoubleTapDragData("end", o, t);

            this._doubleTapDrag.emit(i, void 0, a), this._doubleTapDragActive = !1, e.stopPropagation();
          }
        }, t.prototype._handlePointerDown = function (e) {
          var t = e.data,
              a = this._pointerId(t),
              r = this._pointerState.get(a),
              o = t["native"].pointerType;

          if (r) {
            var n = "touch" === o ? this.maximumDoubleTouchDistance : this.maximumDoubleClickDistance;
            this._clearPointerDown(a), l.manhattanDistance(r.event.data, t) > n ? this._storePointerDown(e) : this._doubleTapDragReady = !0;
          } else this._storePointerDown(e);
        }, t.prototype._handlePointerUp = function () {
          this._doubleTapDragReady = !1;
        }, t.prototype._pointerId = function (e) {
          var t = e["native"],
              a = t.pointerId,
              r = t.button,
              o = t.pointerType;
          return "mouse" === o ? a + ":" + r : "" + o;
        }, t.prototype._storePointerDown = function (e) {
          var t = this,
              a = e.data,
              r = a["native"].pointerType,
              o = this._pointerId(a),
              n = "touch" === r ? this.maximumDoubleTouchDelay : this.maximumDoubleClickDelay,
              i = this._clock.setTimeout(function () {
            return t._clearPointerDown(o);
          }, n);

          this._pointerState.set(o, {
            event: e,
            doubleTapTimeout: i
          }), this.refreshHasPendingInputs();
        }, t;
      }(u.InputHandler);

      t.DoubleTapDrag = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/recognizers/Drag.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/recognizers/Drag.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputRecognizersDragJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../../layers/support/timeUtils */
    "./node_modules/arcgis-js-api/layers/support/timeUtils.js"), __webpack_require__(
    /*! ../InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ./support */
    "./node_modules/arcgis-js-api/views/input/recognizers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, n, r, a, o) {
      function s(t) {
        var e = [];
        return t.forEach(function (t) {
          e.push(n.createScreenPoint(t.event.x, t.event.y));
        }), o.fitCircleLSQ(e);
      }

      function p(t) {
        var e = s(t),
            i = 0;
        return t.forEach(function (t) {
          for (var n = u(t, e), r = n - t.lastAngle; r > Math.PI;) r -= 2 * Math.PI;

          for (; r < -Math.PI;) r += 2 * Math.PI;

          n = t.lastAngle + r, t.lastAngle = n;
          var a = n - t.initialAngle;
          i += a;
        }), i /= t.size || 1, {
          angle: i,
          radius: e.radius,
          center: e.center
        };
      }

      function d(t) {
        var e = new Map();
        return t.forEach(function (t, i) {
          return e.set(i, t.event);
        }), e;
      }

      function u(t, e) {
        var i = t.event,
            n = i.x - e.center.x,
            r = i.y - e.center.y;
        return Math.atan2(r, n);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });

      var c = function (t) {
        function e(e) {
          var i = t.call(this, !1) || this;
          return i.navigationTouch = e, i.startStateModifiers = new Set(), i.activePointerMap = new Map(), i.isDragging = !1, i.isCurrentDragSuppressed = !1, i.drag = i.registerOutgoing("drag"), i.registerIncoming("pointer-drag", i.handlePointerDrag.bind(i)), i.registerIncoming("pointer-up", i.handlePointerUpAndPointerLost.bind(i)), i.registerIncoming("pointer-capture-lost", i.handlePointerUpAndPointerLost.bind(i)), i.registerIncoming("pointer-cancel", i.handlePointerUpAndPointerLost.bind(i)), i;
        }

        return i(e, t), e.prototype.createPayload = function (t, e, i, n) {
          return {
            action: t,
            pointerType: this.pointerType,
            button: this.mouseButton,
            buttons: e.buttons,
            timestamp: n,
            pointers: d(this.activePointerMap),
            pointer: e,
            angle: i.angle,
            radius: i.radius,
            center: i.center
          };
        }, e.prototype.addPointer = function (t) {
          var e = t["native"].pointerId,
              i = p(this.activePointerMap).angle,
              n = {
            event: t,
            initialAngle: 0,
            lastAngle: 0
          };
          this.activePointerMap.set(e, n);
          var r = u(n, s(this.activePointerMap));
          n.initialAngle = r, n.lastAngle = r, this.updatePointerAngles(i);
        }, e.prototype.updatePointer = function (t) {
          if (!t || null != t.x || null != t.y) {
            var e = t["native"].pointerId,
                i = this.activePointerMap.get(e);
            i ? i.event = t : this.addPointer(t);
          }
        }, e.prototype.removePointer = function (t) {
          var e = p(this.activePointerMap).angle;
          this.activePointerMap["delete"](t), this.updatePointerAngles(e);
        }, e.prototype.updatePointerAngles = function (t) {
          var e = p(this.activePointerMap);
          this.activePointerMap.forEach(function (i) {
            i.initialAngle = u(i, e) - t, i.lastAngle = u(i, e) - t;
          });
        }, e.prototype.emitEvent = function (t, e, i) {
          var n = p(this.activePointerMap);
          this.drag.emit(this.createPayload(t, e, n, i), void 0, this.startStateModifiers);
        }, e.prototype.handlePointerUpAndPointerLost = function (t) {
          var e = t.data["native"].pointerId,
              i = r.Milliseconds(t.timestamp);
          this.activePointerMap.get(e) && (1 === this.activePointerMap.size ? (this.updatePointer(t.data), !this.isCurrentDragSuppressed && this.emitEvent("end", t.data, i), this.isDragging = !1, this.isCurrentDragSuppressed = !1, this.removePointer(e)) : (this.removePointer(e), this.emitEvent("removed", t.data, r.Milliseconds(t.timestamp))));
        }, e.prototype.handlePointerDrag = function (t) {
          var e = t.data,
              i = e.currentEvent,
              n = r.Milliseconds(t.timestamp);

          switch (e.action) {
            case "start":
            case "update":
              this.isDragging ? this.activePointerMap.has(i["native"].pointerId) ? (this.updatePointer(i), !this.isCurrentDragSuppressed && this.emitEvent("update", i, n)) : (this.addPointer(i), this.emitEvent("added", i, n), this.isCurrentDragSuppressed = this.isSuppressed) : (this.updatePointer(i), this.pointerType = t.data.startEvent.pointerType, this.mouseButton = t.data.startEvent.button, this.startStateModifiers = t.modifiers, this.isDragging = !0, this.isCurrentDragSuppressed = this.isSuppressed, !this.isCurrentDragSuppressed && this.emitEvent("start", i, n));
          }
        }, Object.defineProperty(e.prototype, "isSuppressed", {
          get: function get() {
            return this.navigationTouch && !this.navigationTouch.browserTouchPanEnabled && "touch" === this.pointerType && 1 === this.activePointerMap.size;
          },
          enumerable: !0,
          configurable: !0
        }), e;
      }(a.InputHandler);

      e.Drag = c;
      !function (t) {
        t[t.Left = 0] = "Left", t[t.Middle = 1] = "Middle", t[t.Right = 2] = "Right", t[t.Back = 3] = "Back", t[t.Forward = 4] = "Forward", t[t.Undefined = -1] = "Undefined";
      }(e.Button || (e.Button = {}));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/input/recognizers/PointerClickHoldAndDrag.js":
  /*!***************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/recognizers/PointerClickHoldAndDrag.js ***!
    \***************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputRecognizersPointerClickHoldAndDragJs(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/clock */
    "./node_modules/arcgis-js-api/core/clock.js"), __webpack_require__(
    /*! ../InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ./support */
    "./node_modules/arcgis-js-api/views/input/recognizers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, n, o, r) {
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.DefaultParameters = {
        maximumClickDelay: 300,
        movementUntilMouseDrag: 1.5,
        movementUntilTouchDrag: 6,
        holdDelay: 500
      };

      var a = function (t) {
        function o(i, o, r, a, s) {
          void 0 === i && (i = e.DefaultParameters.maximumClickDelay), void 0 === o && (o = e.DefaultParameters.movementUntilMouseDrag), void 0 === r && (r = e.DefaultParameters.movementUntilTouchDrag), void 0 === a && (a = e.DefaultParameters.holdDelay), void 0 === s && (s = n["default"]);
          var l = t.call(this, !1) || this;
          return l.maximumClickDelay = i, l.movementUntilMouseDrag = o, l.movementUntilTouchDrag = r, l.holdDelay = a, l._clock = s, l._pointerState = new Map(), l._pointerDrag = l.registerOutgoing("pointer-drag"), l._immediateClick = l.registerOutgoing("immediate-click"), l._pointerHold = l.registerOutgoing("hold"), l.registerIncoming("pointer-down", l._handlePointerDown.bind(l)), l.registerIncoming("pointer-up", function (t) {
            l._handlePointerLoss(t, "pointer-up");
          }), l.registerIncoming("pointer-capture-lost", function (t) {
            l._handlePointerLoss(t, "pointer-capture-lost");
          }), l.registerIncoming("pointer-cancel", function (t) {
            l._handlePointerLoss(t, "pointer-cancel");
          }), l._moveHandle = l.registerIncoming("pointer-move", l._handlePointerMove.bind(l)), l._moveHandle.pause(), l;
        }

        return i(o, t), o.prototype.onUninstall = function () {
          this._pointerState.forEach(function (t) {
            null != t.holdTimeout && (t.holdTimeout.remove(), t.holdTimeout = null);
          }), t.prototype.onUninstall.call(this);
        }, o.prototype._handlePointerDown = function (t) {
          var e = this,
              i = t.data,
              n = i["native"].pointerId,
              o = null;
          0 === this._pointerState.size && (o = this._clock.setTimeout(function () {
            var i = e._pointerState.get(n);

            if (i) {
              if (!i.isDragging) {
                var o = i.previousEvent;
                e._pointerHold.emit(o, void 0, t.modifiers), i.holdEmitted = !0;
              }

              i.holdTimeout = null;
            }
          }, this.holdDelay));
          var r = {
            startEvent: i,
            previousEvent: i,
            startTimestamp: t.timestamp,
            isDragging: !1,
            downButton: i["native"].button,
            holdTimeout: o,
            modifiers: new Set()
          };
          this._pointerState.set(n, r), this.startCapturingPointer(i["native"]), this._moveHandle.resume(), this._pointerState.size > 1 && this.startDragging(t);
        }, o.prototype._createPointerDragData = function (t, e, i) {
          return {
            action: t,
            startEvent: e.startEvent,
            previousEvent: e.previousEvent,
            currentEvent: i
          };
        }, o.prototype._handlePointerMove = function (t) {
          var e = t.data,
              i = e["native"].pointerId,
              n = this._pointerState.get(i);

          if (n) {
            if (n.isDragging) this._pointerDrag.emit(this._createPointerDragData("update", n, e), void 0, n.modifiers);else {
              r.euclideanDistance(e, n.startEvent) > ("touch" === e["native"].pointerType ? this.movementUntilTouchDrag : this.movementUntilMouseDrag) && this.startDragging(t);
            }
            n.previousEvent = e;
          }
        }, o.prototype.startDragging = function (t) {
          var e = this,
              i = t.data,
              n = i["native"].pointerId;

          this._pointerState.forEach(function (o) {
            null != o.holdTimeout && (o.holdTimeout.remove(), o.holdTimeout = null), o.isDragging || (o.modifiers = t.modifiers, o.isDragging = !0, n === o.startEvent["native"].pointerId ? e._pointerDrag.emit(e._createPointerDragData("start", o, i)) : e._pointerDrag.emit(e._createPointerDragData("start", o, o.previousEvent), t.timestamp));
          });
        }, o.prototype._handlePointerLoss = function (t, e) {
          var i = t.data,
              n = i["native"].pointerId,
              o = this._pointerState.get(n);

          if (o) {
            if (null != o.holdTimeout && (o.holdTimeout.remove(), o.holdTimeout = null), o.isDragging) this._pointerDrag.emit(this._createPointerDragData("end", o, "pointer-up" === e ? i : o.previousEvent), void 0, o.modifiers);else if ("pointer-up" === e && o.downButton === i["native"].button) {
              var r = t.timestamp - o.startTimestamp;
              r <= this.maximumClickDelay && !o.holdEmitted && this._immediateClick.emit(i);
            }
            this._pointerState["delete"](n), this.stopCapturingPointer(i["native"]), 0 === this._pointerState.size && this._moveHandle.pause();
          }
        }, o;
      }(o.InputHandler);

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

  /***/
  "./node_modules/arcgis-js-api/views/input/recognizers/SingleAndDoubleClick.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/input/recognizers/SingleAndDoubleClick.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputRecognizersSingleAndDoubleClickJs(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/clock */
    "./node_modules/arcgis-js-api/core/clock.js"), __webpack_require__(
    /*! ../../../core/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../InputHandler */
    "./node_modules/arcgis-js-api/views/input/InputHandler.js"), __webpack_require__(
    /*! ./support */
    "./node_modules/arcgis-js-api/views/input/recognizers/support.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, o, n, u, a) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.DefaultParameters = {
        maximumDoubleClickDelay: 250,
        maximumDoubleClickDistance: 10,
        maximumDoubleTouchDelay: 350,
        maximumDoubleTouchDistance: 35
      };

      var l = function (e) {
        function u(i, n, u, a, l) {
          void 0 === i && (i = t.DefaultParameters.maximumDoubleClickDelay), void 0 === n && (n = t.DefaultParameters.maximumDoubleClickDistance), void 0 === u && (u = t.DefaultParameters.maximumDoubleTouchDelay), void 0 === a && (a = t.DefaultParameters.maximumDoubleTouchDistance), void 0 === l && (l = o["default"]);
          var r = e.call(this, !1) || this;
          return r.maximumDoubleClickDelay = i, r.maximumDoubleClickDistance = n, r.maximumDoubleTouchDelay = u, r.maximumDoubleTouchDistance = a, r._clock = l, r._pointerState = new Map(), r._click = r.registerOutgoing("click"), r._doubleClick = r.registerOutgoing("double-click"), r.registerIncoming("immediate-click", r._handleImmediateClick.bind(r)), r.registerIncoming("pointer-drag", r._handlePointerDrag.bind(r)), r.registerIncoming("drag", r._handleDrag.bind(r)), r;
        }

        return i(u, e), u.prototype.onUninstall = function () {
          this._pointerState.forEach(function (e) {
            null != e.doubleClickTimeout && (e.doubleClickTimeout.remove(), e.doubleClickTimeout = null);
          });
        }, Object.defineProperty(u.prototype, "hasPendingInputs", {
          get: function get() {
            return n.someMap(this._pointerState, function (e) {
              return null != e.doubleClickTimeout;
            });
          },
          enumerable: !0,
          configurable: !0
        }), u.prototype._pointerId = function (e) {
          var t = e["native"];
          return "mouse" === t.pointerType ? t.pointerId + ":" + t.button : "" + t.pointerType;
        }, u.prototype._handleImmediateClick = function (e) {
          var t = e.data,
              i = this._pointerId(t),
              o = this._pointerState.get(i);

          if (o) {
            var n = "touch" === t["native"].pointerType ? this.maximumDoubleTouchDistance : this.maximumDoubleClickDistance;
            a.manhattanDistance(o.event.data, t) > n ? (this._clearDoubleClickTimeout(i, !0), this._startClick(e)) : (this._clearDoubleClickTimeout(i, !1), this._doubleClick.emit(o.event.data, void 0, o.event.modifiers));
          } else this._startClick(e);
        }, u.prototype._startClick = function (e) {
          var t = this,
              i = this._pointerId(e.data),
              o = "touch" === e.data["native"].pointerType ? this.maximumDoubleTouchDelay : this.maximumDoubleClickDelay;

          this._pointerState.set(i, {
            event: e,
            doubleClickTimeout: this._clock.setTimeout(function () {
              return t._doubleClickTimeoutExceeded(i);
            }, o)
          }), this.refreshHasPendingInputs();
        }, u.prototype._handlePointerDrag = function (e) {
          var t = this._pointerId(e.data.currentEvent);

          this._clearDoubleClickTimeout(t, !0);
        }, u.prototype._handleDrag = function (e) {
          var t = this._pointerId(e.data.pointer);

          this._clearDoubleClickTimeout(t, !0);
        }, u.prototype._clearDoubleClickTimeout = function (e, t) {
          var i = this._pointerState.get(e);

          i && (i.doubleClickTimeout.remove(), i.doubleClickTimeout = null, t && this._doubleClickTimeoutExceeded(e), this._pointerState["delete"](e), this.refreshHasPendingInputs());
        }, u.prototype._doubleClickTimeoutExceeded = function (e) {
          var t = this._pointerState.get(e);

          this._click.emit(t.event.data, void 0, t.event.modifiers), t.doubleClickTimeout = null, this._pointerState["delete"](e), this.refreshHasPendingInputs();
        }, u;
      }(u.InputHandler);

      t.SingleAndDoubleClick = l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInputRecognizersSupportJs(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/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n(e, r) {
        return Math.abs(r.x - e.x) + Math.abs(r.y - e.y);
      }

      function a(e, r) {
        var t = r.x - e.x,
            n = r.y - e.y;
        return Math.sqrt(t * t + n * n);
      }

      function c(e, r) {
        if (r ? (r.radius = 0, r.center.x = 0, r.center.y = 0) : r = {
          radius: 0,
          center: t.createScreenPoint()
        }, 0 === e.length) return r;
        if (1 === e.length) return r.center.x = e[0].x, r.center.y = e[0].y, r;

        if (2 === e.length) {
          var n = e[0],
              a = e[1],
              c = [a.x - n.x, a.y - n.y],
              i = c[0],
              u = c[1];
          return r.radius = Math.sqrt(i * i + u * u) / 2, r.center.x = (n.x + a.x) / 2, r.center.y = (n.y + a.y) / 2, r;
        }

        for (var s = 0, x = 0, y = 0; y < e.length; y++) s += e[y].x, x += e[y].y;

        s /= e.length, x /= e.length;

        for (var f = e.map(function (e) {
          return e.x - s;
        }), h = e.map(function (e) {
          return e.y - x;
        }), o = 0, l = 0, d = 0, g = 0, v = 0, M = 0, p = 0, y = 0; y < f.length; y++) {
          var q = f[y],
              b = h[y],
              m = q * q,
              P = b * b;
          o += m, l += P, d += q * b, g += m * q, v += P * b, M += q * P, p += b * m;
        }

        var S = o,
            D = d,
            _ = d,
            j = l,
            C = .5 * (g + M),
            L = .5 * (v + p),
            O = S * j - _ * D,
            Q = C * j - L * D,
            U = S * L - _ * C,
            k = Q / O,
            w = U / O,
            z = t.createScreenPoint(k + s, w + x);
        return {
          radius: Math.sqrt(k * k + w * w + (o + l) / e.length),
          center: z
        };
      }

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInteractiveToolViewManagerManipulatorStateJs(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/iteratorUtils */
    "./node_modules/arcgis-js-api/core/iteratorUtils.js"), __webpack_require__(
    /*! ../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.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__(
    /*! ./interactiveToolUtils */
    "./node_modules/arcgis-js-api/views/interactive/interactiveToolUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, a) {
      function s(e) {
        return "touch" !== e;
      }

      function l(e) {
        return "mouse" !== e.pointerType || 0 === e.button;
      }

      function p(e) {
        return !!e["native"].shiftKey;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var u = function () {
        function e() {
          this._hoveredManipulators = new Map(), this._grabbedManipulators = new Map(), this._draggedManipulators = new Map(), this._stopDrag = !1, this._revertToActiveTool = null, this._cursor = null;
        }

        return Object.defineProperty(e.prototype, "cursor", {
          get: function get() {
            return this._cursor;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.handleInputEvent = function (e, t) {
          var r = function r() {
            return e.stopPropagation();
          };

          switch (e.type) {
            case "drag":
              this._grabbedManipulators.size > 0 && (this._stopDrag = !0), this._stopDrag && (r(), "end" === e.action && (this._stopDrag = !1));
              break;

            case "pointer-down":
              if (!l(e) || p(e)) break;

              var a = n.createScreenPointFromEvent(e),
                  s = this._intersect(a, e.pointerType, t.forEachTool);

              if (o.isNone(s)) break;

              var u = this._findManipulatorByKey(s, t.forEachTool);

              o.isSome(u) && u.interactive && !u.grabbing && (this._grabbedManipulators.set(e.pointerId, {
                key: s,
                start: a
              }), 1 === this._grabbedManipulators.size && (this._revertToActiveTool = t.activeTool, t.setActiveTool(s.tool)), u.grabbing = !0, u.events.emit("grab", {
                action: "start",
                screenPoint: a
              }), r());
              break;

            case "pointer-up":
              this._handlePointerEnd(e, t);

              break;

            case "pointer-drag":
              if (!l(e)) break;

              var d = this._grabbedManipulators.get(e.pointerId),
                  h = this._draggedManipulators.get(e.pointerId),
                  f = o.applySome(d || h, function (e) {
                return e.key;
              }),
                  v = this._findManipulatorByKey(f, t.forEachTool);

              if (o.isNone(v)) break;
              var a = n.createScreenPointFromEvent(e);
              a.x = i.clamp(a.x, 0, t.view.width), a.y = i.clamp(a.y, 0, t.view.height);
              var y = o.expect(d || h).start,
                  g = {
                action: e.action,
                start: y,
                screenPoint: a
              };

              switch (e.action) {
                case "start":
                case "update":
                  "update" !== g.action && 1 !== this._grabbedManipulators.size || (v.dragging = !0, h || (g.action = "start"), v.events.emit("drag", g), this._draggedManipulators.set(e.pointerId, {
                    key: o.expect(f),
                    start: y
                  }));
                  break;

                case "end":
                  h && v.events.emit("drag", g), v.dragging = !1, this._draggedManipulators["delete"](e.pointerId), this._handlePointerEnd(e, t);
              }

              r();
              break;

            case "immediate-click":
              var a = n.createScreenPointFromEvent(e),
                  s = this._intersect(a, e.pointerType, t.forEachTool),
                  _ = this._findToolAndManipulatorByKey(s, t.forEachTool, c);

              if (p(e) || t.forEachTool(function (e) {
                if (e.manipulators) {
                  var t = !1;
                  e.manipulators.forEach(function (e) {
                    var r = e.manipulator;
                    r.selected && (r.selected = !1, t = !0);
                  }), t && e.manipulatorSelectionChanged && e.manipulatorSelectionChanged();
                }
              }), !_) break;
              var u = c.manipulator,
                  b = c.tool;
              if (!u.interactive) break;
              u.selectable && (u.selected = !u.selected, b.manipulatorSelectionChanged && b.manipulatorSelectionChanged());
              var m = e["native"].shiftKey;
              u.events.emit("immediate-click", {
                screenPoint: a,
                button: e.button,
                pointerType: e.pointerType,
                shiftKey: m,
                stopPropagation: r
              });
              break;

            case "click":
              var a = n.createScreenPointFromEvent(e),
                  s = this._intersect(a, e.pointerType, t.forEachTool),
                  u = this._findManipulatorByKey(s, t.forEachTool);

              if (o.isNone(u) || !u.interactive) break;
              var m = e["native"].shiftKey;
              u.events.emit(e.type, {
                screenPoint: a,
                button: e.button,
                pointerType: e.pointerType,
                shiftKey: m
              }), r();
              break;

            case "double-click":
              var a = n.createScreenPointFromEvent(e),
                  s = this._intersect(a, e.pointerType, t.forEachTool),
                  u = this._findManipulatorByKey(s, t.forEachTool);

              if (o.isNone(u) || !u.interactive) break;
              var m = e["native"].shiftKey;
              u.events.emit("double-click", {
                screenPoint: a,
                button: e.button,
                pointerType: e.pointerType,
                shiftKey: m,
                stopPropagation: r
              });
          }

          this._updateCursor(t.forEachTool);
        }, e.prototype._handlePointerEnd = function (e, t) {
          var r = o.applySome(this._grabbedManipulators.get(e.pointerId), function (e) {
            return e.key;
          }),
              i = this._findManipulatorByKey(r, t.forEachTool);

          if (o.isSome(i) && !i.dragging) {
            var a = o.isSome(t.creatingTool) && t.creatingTool === o.expect(r).tool;
            1 !== this._grabbedManipulators.size || 0 !== this._draggedManipulators.size || a || (t.setActiveTool(this._revertToActiveTool), this._revertToActiveTool = null), i.grabbing && (i.grabbing = !1, i.events.emit("grab", {
              action: "end",
              screenPoint: n.createScreenPointFromEvent(e)
            })), this._grabbedManipulators["delete"](e.pointerId);
          }
        }, e.prototype._cursorFromMap = function (e, t) {
          var i = this,
              n = null;
          return r.someMap(e, function (e) {
            var r = e.key,
                a = i._findManipulatorByKey(r, t);

            return !!(o.isSome(a) && a.interactive && "cursor" in a && a.cursor) && (n = a.cursor, !0);
          }), n;
        }, e.prototype._updateCursor = function (e) {
          this._grabbedManipulators.size > 0 ? this._cursor = this._cursorFromMap(this._grabbedManipulators, e) || "grabbing" : this._hoveredManipulators.size > 0 ? this._cursor = this._cursorFromMap(this._hoveredManipulators, e) || "pointer" : this._cursor = null;
        }, e.prototype.clearPointers = function (e, t, r, i) {
          var n = this;
          void 0 === r && (r = !0);

          var a = function a(t) {
            return t.tool === e && (o.isNone(i) || t.manipulatorId === i);
          };

          this._grabbedManipulators.forEach(function (e, r) {
            var i = e.key;

            if (a(i)) {
              n._grabbedManipulators["delete"](r);

              var s = n._findManipulatorByKey(i, t);

              o.isSome(s) && (s.grabbing = !1, s.events.emit("grab", {
                action: "end",
                screenPoint: null
              }));
            }
          }), this._draggedManipulators.forEach(function (e, r) {
            var i = e.key;

            if (a(i)) {
              n._draggedManipulators["delete"](r);

              var s = n._findManipulatorByKey(i, t);

              o.isSome(s) && (s.dragging = !1);
            }
          }), r && this._hoveredManipulators.forEach(function (e, r) {
            var i = e.key;

            if (a(i)) {
              n._hoveredManipulators["delete"](r);

              var s = n._findManipulatorByKey(i, t);

              o.isSome(s) && (s.hovering = !1);
            }
          }), this._updateCursor(t);
        }, e.prototype._intersect = function (e, t, r) {
          var i = null;
          return r(function (r) {
            if (null == r.manipulators || !a.areToolManipulatorsEditable(r)) return !1;
            var n = r.manipulators.intersect(e, t);
            return !o.isNone(n) && (i = {
              manipulatorId: n,
              tool: r
            }, !0);
          }), i;
        }, e.prototype.handleHoverEvent = function (e, t) {
          if (("pointer-up" === e.type || "immediate-click" === e.type || "pointer-move" === e.type) && s(e.pointerType)) {
            var r = o.applySome(this._hoveredManipulators.get(e.pointerId), function (e) {
              return e.key;
            }),
                i = this._findManipulatorByKey(r, t),
                a = this._intersect(n.createScreenPointFromEvent(e), e.pointerType, t),
                l = this._findManipulatorByKey(a, t);

            o.isSome(l) && !l.interactive && (l = null), i !== l && (o.isSome(i) && (i.hovering = !1), o.isSome(l) ? (l.hovering = !0, this._hoveredManipulators.set(e.pointerId, {
              key: o.expect(a)
            })) : this._hoveredManipulators["delete"](e.pointerId), this._updateCursor(t));
          }
        }, e.prototype._findManipulatorByKey = function (e, t) {
          return this._findToolAndManipulatorByKey(e, t, c) ? c.manipulator : null;
        }, e.prototype._findToolAndManipulatorByKey = function (e, t, r) {
          return o.isNone(e) ? null : (r.tool = null, r.manipulator = null, t(function (t) {
            if (t !== e.tool || null == t.manipulators || !a.areToolManipulatorsEditable(t)) return !1;
            var i = t.manipulators.findById(e.manipulatorId);
            return !!o.isSome(i) && (r.manipulator = i, r.tool = t, !0);
          }), null != r.manipulator);
        }, e;
      }();

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInteractiveInteractiveToolUtilsJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../DOMContainer */
    "./node_modules/arcgis-js-api/views/DOMContainer.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, a, i, n) {
      function r(e, t) {
        var o = e.view;
        o && (t && o.ready && o.activeTool !== e ? (o.activeTool = e, n.isDOMContainer(o) && o.focus()) : t || o.activeTool !== e || (o.activeTool = null));
      }

      function c(e, t, o) {
        var a = e.activeTool;
        t !== a && (i.isSome(a) && a.deactivate && a.deactivate(), o(t), i.isSome(t) && t.activate && t.activate());
      }

      function l() {
        var e = new a();
        return e.on("after-add", function (e) {
          var t = e.item;
          t.view && t.view.ready && t.attach();
        }), e.on("after-remove", function (e) {
          var t = e.item;
          r(t, !1), t.destroyed || t.detach();
        }), e;
      }

      function u(e) {
        return !1 !== e.visible && !1 !== e.editable && (null == e.hasEditableFlag || e.hasEditableFlag(1));
      }

      function v(e) {
        return i.isNone(e) ? {} : "function" == typeof e ? e() : e;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.setActive = r, t.swap = c, t.newToolCollection = l, t.areToolManipulatorsEditable = u, t.evaluateToolConstructorArguments = v;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsLayersRefreshableLayerViewJs(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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, s, o, i, n, a) {
      function p(e) {
        return "refresh" in e;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.RefreshableLayerView = function (e) {
        return function (e) {
          function r() {
            var r = null !== e && e.apply(this, arguments) || this;
            return r.refreshTimestamp = null, r.refreshDebounced = n.debounce(function (e, t) {
              return i(r, void 0, void 0, function () {
                var r;
                return o(this, function (s) {
                  switch (s.label) {
                    case 0:
                      return "number" == typeof e ? r = e : (r = Date.now(), t = e), this._set("refreshTimestamp", r), this.doRefresh ? [4, this.doRefresh(t)] : [3, 2];

                    case 1:
                      s.sent(), s.label = 2;

                    case 2:
                      return [2];
                  }
                });
              });
            }, 2e3), r;
          }

          return t(r, e), r.prototype.refresh = function (e) {
            void 0 === e && (e = Date.now()), this._set("refreshTimestamp", e), this.doRefresh && this.doRefresh();
          }, s([a.property()], r.prototype, "layer", void 0), s([a.aliasOf("layer.refreshInterval")], r.prototype, "refreshInterval", void 0), s([a.property({
            readOnly: !0
          })], r.prototype, "refreshTimestamp", void 0), r = s([a.subclass("esri.layers.mixins.RefreshableLayerView")], r);
        }(a.declared(e));
      }, r.isRefreshableLayerView = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/navigation/Navigation.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/navigation/Navigation.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsNavigationNavigationJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./gamepad/GamepadSettings */
    "./node_modules/arcgis-js-api/views/navigation/gamepad/GamepadSettings.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, p, a, n) {
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.browserTouchPanEnabled = !0, r.gamepad = new n(), r.momentumEnabled = !0, r.mouseWheelZoomEnabled = !0, r;
        }

        return r(o, e), t([a.property({
          type: Boolean
        })], o.prototype, "browserTouchPanEnabled", void 0), t([a.property({
          type: n,
          nonNullable: !0
        })], o.prototype, "gamepad", void 0), t([a.property({
          type: Boolean
        })], o.prototype, "momentumEnabled", void 0), t([a.property({
          type: Boolean
        })], o.prototype, "mouseWheelZoomEnabled", void 0), o = t([a.subclass("esri.views.navigation.Navigation")], o);
      }(a.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/navigation/gamepad/GamepadSettings.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/navigation/gamepad/GamepadSettings.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsNavigationGamepadGamepadSettingsJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../input/gamepad/GamepadInputDevice */
    "./node_modules/arcgis-js-api/views/input/gamepad/GamepadInputDevice.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, r, t, p, n, a) {
      return function (e) {
        function o(o) {
          var r = e.call(this, o) || this;
          return r.enabled = !0, r.device = null, r.mode = "pan", r.tiltDirection = "forward-down", r.velocityFactor = 1, r;
        }

        return r(o, e), t([n.property({
          type: Boolean,
          nonNullable: !0
        })], o.prototype, "enabled", void 0), t([n.property({
          type: a
        })], o.prototype, "device", void 0), t([n.property({
          type: ["pan", "zoom"],
          nonNullable: !0
        })], o.prototype, "mode", void 0), t([n.property({
          type: ["forward-down", "forward-up"],
          nonNullable: !0
        })], o.prototype, "tiltDirection", void 0), t([n.property({
          type: Number,
          nonNullable: !0
        })], o.prototype, "velocityFactor", void 0), o = t([n.subclass("esri.views.navigation.gamepad.GamepadSettings")], o);
      }(n.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/navigation/gamepadAndKeyboardUtils.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/navigation/gamepadAndKeyboardUtils.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsNavigationGamepadAndKeyboardUtilsJs(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/libs/gl-matrix-2/vec3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, a, n) {
      function r(t) {
        var a = t * t;
        return t < 0 && (a *= -1), a;
      }

      function e(t) {
        return t.translation[0] = 0, t.translation[1] = 0, t.translation[2] = 0, t.heading = 0, t.tilt = 0, t;
      }

      function i(t, a, e) {
        var i = e,
            o = t.state,
            s = t.device,
            l = "forward-down" === a.tiltDirection ? 1 : -1;
        return "standard" === s.deviceType ? (i.translation[0] = r(o.axes[0]), i.translation[1] = r(o.axes[1]), i.translation[2] = r(o.buttons[7]) - r(o.buttons[6]), i.heading = r(o.axes[2]), i.tilt = r(o.axes[3])) : "spacemouse" === s.deviceType && (i.translation[0] = 1.2 * r(o.axes[0]), i.translation[1] = 1.2 * r(o.axes[1]), i.translation[2] = 2 * -r(o.axes[2]), i.heading = 1.2 * r(o.axes[5]), i.tilt = 1.2 * r(o.axes[3])), i.tilt *= l, n.vec3.scale(i.translation, i.translation, 1), i;
      }

      function o(t, a) {
        var n = a;
        return n.translation[0] = t[1] - t[0], n.translation[1] = t[3] - t[2], n.translation[2] = t[4] - t[5], n.heading = t[7] - t[6], n.tilt = t[8] - t[9], n;
      }

      function s(t) {
        return 0 === t.translation[0] && 0 === t.translation[1] && 0 === t.translation[2] && 0 === t.heading && 0 === t.tilt;
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      }), a.quadraticAccentuation = r, a.resetTransformation = e, a.extractTransformation = i, a.extractTransformationKeyboard = o, a.isZeroTransformation = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/overlay/ViewOverlay.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/overlay/ViewOverlay.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsOverlayViewOverlayJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../libs/maquette/index */
    "./node_modules/arcgis-js-api/libs/maquette/index.js"), __webpack_require__(
    /*! ../support/WatchUpdatingTracking */
    "./node_modules/arcgis-js-api/views/support/WatchUpdatingTracking.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, a, c, d) {
      return function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.items = new i(), t._watchUpdatingTracking = new d.WatchUpdatingTracking(), t._callbacks = new Map(), t._projector = c.createProjector(), t._hiddenProjector = c.createProjector(), t;
        }

        return r(t, e), Object.defineProperty(t.prototype, "needsRender", {
          get: function get() {
            return this.items.length > 0;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.initialize = function () {
          var e = this,
              t = document.createElement("div");
          t.className = "esri-overlay-surface", this._set("surface", t), this._hiddenSurface = document.createElement("div"), this._hiddenSurface.setAttribute("style", "visibility: hidden;"), t.appendChild(this._hiddenSurface), this._watchUpdatingTracking.addOnCollectionChange(this.items, function (t) {
            t.added.map(function (t) {
              var r = function r() {
                return t.render();
              };

              e._callbacks.set(t, r), e._projector.append(e.surface, r);
            }), t.removed.map(function (t) {
              var r = e._projector.detach(e._callbacks.get(t));

              e.surface.removeChild(r.domNode), e._callbacks["delete"](t);
            });
          });
        }, t.prototype.addItem = function (e) {
          this.items.add(e);
        }, t.prototype.removeItem = function (e) {
          this.items.remove(e);
        }, t.prototype.destroy = function () {
          this.items.removeAll(), this._callbacks = null, this._projector = null, this._watchUpdatingTracking.destroy();
        }, t.prototype.render = function () {
          this._projector.renderNow();
        }, t.prototype.computeBoundingRect = function (e) {
          var t = this._hiddenSurface,
              r = this._hiddenProjector,
              o = null,
              n = function n() {
            return o = e.render();
          };

          r.append(t, n), r.renderNow();
          var i = {
            left: 0,
            top: 0,
            right: 0,
            bottom: 0
          };

          if (o && o.domNode) {
            var a = o.domNode.getBoundingClientRect();
            i.left = a.left, i.top = a.top, i.right = a.right, i.bottom = a.bottom;
          }

          for (r.detach(n); t.firstChild;) t.removeChild(t.firstChild);

          return i;
        }, t.prototype.overlaps = function (e, t) {
          var r = this.computeBoundingRect(e),
              o = this.computeBoundingRect(t);
          return Math.max(r.left, o.left) <= Math.min(r.right, o.right) && Math.max(r.top, o.top) <= Math.min(r.bottom, o.bottom);
        }, Object.defineProperty(t.prototype, "hasVisibleItems", {
          get: function get() {
            return this.items.some(function (e) {
              return e.visible;
            });
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.renderCanvas = function (e) {
          if (this.items.some(function (e) {
            return e.visible;
          })) {
            var t = e.getContext("2d");
            t.save(), t.font = "10px " + getComputedStyle(this.surface).fontFamily, this.items.forEach(function (e) {
              t.save(), e.renderCanvas(t), t.restore();
            }), t.restore();
          }
        }, o([a.property({
          readOnly: !0
        })], t.prototype, "surface", void 0), o([a.property({
          readOnly: !0
        })], t.prototype, "items", void 0), o([a.property({
          readOnly: !0,
          dependsOn: ["items.length"]
        })], t.prototype, "needsRender", null), o([a.property({
          readOnly: !0
        })], t.prototype, "_watchUpdatingTracking", void 0), o([a.property({
          readOnly: !0,
          aliasOf: "_watchUpdatingTracking.updating"
        })], t.prototype, "updating", void 0), t = o([a.subclass("esri.views.overlay.ViewOverlay")], t);
      }(a.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportDefaultsFromMapJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../../geometry/support/heightModelInfoUtils */
    "./node_modules/arcgis-js-api/geometry/support/heightModelInfoUtils.js"), __webpack_require__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n, o, r, a, s, l, u, d, p, c, f, h) {
      function g(e) {
        return e ? JSON.stringify(e.toJSON()) : "undefined";
      }

      function _(e) {
        switch (e) {
          case 0:
            return "Waiting";

          case 1:
            return "Found";

          case 2:
            return "Exhausted";
        }

        return "Unknown: " + e;
      }

      var y = u.getLogger("esri.views.support.DefaultsFromMap");
      return function (t) {
        function a() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e._handles = new l(), e._waitTask = null, e._extentProjectController = null, e._spatialReferenceCandidates = null, e._extentCandidates = null, e.logDebugInformation = !1, e.isSpatialReferenceDone = !1, e.isTileInfoDone = !1, e.isHeightModelInfoSearching = !1, e.spatialReference = null, e.extent = null, e.heightModelInfo = null, e.vcsWkid = null, e.latestVcsWkid = null, e.mapCollectionPaths = u.DefaultMapCollectionPaths.slice(), e.tileInfo = null, e;
        }

        i(a, t), u = a, a.prototype.initialize = function () {
          var e = this;
          this.watch("mapCollectionPaths", function () {
            e._running && (e.reset(), e.start());
          });
        }, a.prototype.destroy = function () {
          this._set("view", null), this._handles && (this._handles.destroy(), this._handles = null), this._cancelLoading();
        }, Object.defineProperty(a.prototype, "_running", {
          get: function get() {
            return !!(this._handles && this._handles.size > 0);
          },
          enumerable: !0,
          configurable: !0
        }), a.prototype.reset = function () {
          this._handles.removeAll(), this._set("isSpatialReferenceDone", !1), this._set("isTileInfoDone", !1), this._set("isHeightModelInfoSearching", !1), this._set("spatialReference", null), this._set("extent", null), this._set("heightModelInfo", null), this._set("vcsWkid", null), this._set("latestVcsWkid", null), this._set("tileInfo", null), this._spatialReferenceCandidates = null, this._extentCandidates = null;
        }, a.prototype.start = function () {
          var e = this;

          this._handles.removeAll();

          for (var t = this._updateLayerChange.bind(this), i = 0, n = this.mapCollectionPaths; i < n.length; i++) {
            var o = n[i];

            this._handles.add(p.on(this.view, "map." + o, "change", t, t, t, !0));
          }

          this._handles.add(p.when(this, "isSpatialReferenceDone", function () {
            return e._updateTileInfo();
          }, !0));
        }, a.prototype._ownerNameFromCollectionName = function (e) {
          var t = e.lastIndexOf(".");
          return -1 === t ? "view" : "view." + e.slice(0, t);
        }, a.prototype._ensureLoadedOwnersFromCollectionName = function (e) {
          for (var t, i = this._ownerNameFromCollectionName(e), n = i.split("."), o = 0; o < n.length && (t = this.get(n.slice(0, o + 1).join("."))); o++) if (t.load && !t.isFulfilled()) return {
            collectionName: e,
            owner: null,
            loading: t.load()
          };

          return {
            collectionName: e,
            owner: t
          };
        }, a.prototype._cancelLoading = function () {
          this._waitTask = null, this._extentProjectController && (this._extentProjectController.abort(), this._extentProjectController = null);
        }, a.prototype._updateWhen = function (e) {
          var t = this,
              i = !0,
              n = !1,
              o = e["catch"](function () {}).then(function () {
            i ? n = !0 : o === t._waitTask && t._update();
          });
          return i = !1, n || (this._waitTask = o), n;
        }, a.prototype._updateLayerChange = function () {
          this.isSpatialReferenceDone && !this.spatialReference && this._set("isSpatialReferenceDone", !1), this._update();
        }, a.prototype._update = function () {
          var e = this;

          if (this._cancelLoading(), this.view) {
            if (!this.isSpatialReferenceDone) {
              this._debugLog("Starting search for spatial reference...");

              var t = this._processMapCollections(function (t) {
                return e._processSpatialReferenceSource(t);
              });

              if (this._debugLog("Search ended with status '" + _(t) + "'"), 0 !== t) {
                var i = null,
                    n = this._spatialReferenceCandidates;
                if (!n || n.length < 1 ? (i = this.defaultSpatialReference, this._debugLog("No spatial reference found, locking to default (" + g(i) + ")")) : (this.defaultSpatialReference && n.length > 1 && s.findIndex(n, function (t) {
                  return t.equals(e.defaultSpatialReference);
                }) > -1 && (n = [this.defaultSpatialReference]), i = n[0], this._debugLog("Locking to " + g(i))), this._set("spatialReference", i), i) {
                  if (this.extent) this._set("isSpatialReferenceDone", !0);else {
                    var o = this.logDebugInformation;
                    this.logDebugInformation = !1, this._processMapCollections(function (t) {
                      return e._findExtent(t, i);
                    }), this.logDebugInformation = o, this._projectExtentCandidate()["catch"]().then(function () {
                      return e._set("isSpatialReferenceDone", !0);
                    });
                  }
                } else this._set("isSpatialReferenceDone", !0);
              }
            }

            if (null == this.heightModelInfo && this.view.isHeightModelInfoRequired) {
              this._debugLog("Starting search for height model info...");

              var r = this._processMapCollections(function (t) {
                return e._processHeightModelInfoSource(t);
              }, function (e) {
                return f.mayHaveHeightModelInfo(e);
              });

              this._debugLog("Search ended with status " + _(r)), this._set("isHeightModelInfoSearching", 0 === r);
            }

            this._updateTileInfo();
          }
        }, a.prototype._processMapCollections = function (e, t) {
          var i = this;

          this._preloadMapCollections(t);

          var n = 2;
          return this._forAllMapCollectionSources(function (e) {
            if (2 !== n) return !1;
            var t = e.collectionName;
            return i._debugLog("Processing collection " + t + "..."), !(e.loading && !i._updateWhen(e.loading)) || (i._debugLog("Collection " + e.collectionName + " owner is loading -> wait"), n = 0, !1);
          }, function (o) {
            return 2 === n && (null == t || t(o) ? !o.load || o.isFulfilled() || i._updateWhen(o.load()) ? !((!o.load || o.isResolved()) && e(o) && (n = 1, 1)) : (i._debugLog("Source " + o.id + " is loading -> wait"), n = 0, !1) : (i._debugLog("Source " + o.id + " is skipped due to predicate"), !1));
          }), n;
        }, a.prototype._preloadMapCollections = function (e) {
          var t = this,
              i = 10,
              n = this.logDebugInformation;
          this.logDebugInformation = !1, this._forAllMapCollectionSources(function () {
            return !0;
          }, function (o) {
            return 0 !== i && !(null != e && !e(o)) && (o.load && !o.isFulfilled() && (t.logDebugInformation = n, t._debugLog("Pre-loading source " + o.id), t.logDebugInformation = !1, o.load(), i--), !0);
          }), this.logDebugInformation = n;
        }, a.prototype._forAllMapCollectionSources = function (e, t) {
          for (var i = 0, n = this.mapCollectionPaths; i < n.length; i++) {
            var o = n[i],
                r = "map." + o,
                a = this._ensureLoadedOwnersFromCollectionName(r);

            if (!1 !== e(a)) {
              var s = a.owner;
              if (!s || s.isRejected && s.isRejected()) this._debugLog("Collection " + r + " owner is invalid or rejected -> skip");else {
                var l = this.view.get(r);
                l ? this._forEachSource(l, t) : this._debugLog("Collection " + r + " does not exist -> skip");
              }
            }
          }
        }, a.prototype._forEachSource = function (e, t) {
          for (var i = 0, n = e.items; i < n.length; i++) {
            var o = n[i];
            !1 !== t(o) && "layers" in o && o.layers && this._forEachSource(o.layers, t);
          }
        }, a.prototype._processSpatialReferenceSource = function (e) {
          var t = this._getSupportedSpatialReferences(e);

          return 0 !== t.length && (this._spatialReferenceCandidates ? (t = s.intersect(t, this._spatialReferenceCandidates, function (e, t) {
            return e.equals(t);
          }), t.length > 0 ? this._spatialReferenceCandidates = t : this._debugLog("Layer " + e.id + " is ignored because its supported spatial\n          references are not compatible with the previous candidates")) : this._spatialReferenceCandidates = t, 1 === this._spatialReferenceCandidates.length);
        }, a.prototype._findExtent = function (e, t) {
          var i = "fullExtents" in e && e.fullExtents || (e.fullExtent ? [e.fullExtent] : []),
              n = s.find(i, function (e) {
            return e.spatialReference.equals(t);
          });
          if (n) return this._set("extent", n), !0;

          if (this._getSupportedSpatialReferences(e).length > 0) {
            var o = i.map(function (t) {
              return {
                extent: t,
                layer: e
              };
            }),
                r = this._extentCandidates || [];
            this._extentCandidates = r.concat(o);
          }

          return !1;
        }, a.prototype._projectExtentCandidate = function () {
          return r(this, void 0, void 0, function () {
            var t, i, n, r, a, l;
            return o(this, function (o) {
              switch (o.label) {
                case 0:
                  return this._extentCandidates && this._extentCandidates.length ? (t = this.spatialReference, (i = s.find(this._extentCandidates, function (e) {
                    return h.canProject(e.extent.spatialReference, t);
                  })) ? (this._set("extent", h.project(i.extent, t)), [3, 7]) : [3, 1]) : [2];

                case 1:
                  return n = this._extentCandidates[0], this._extentProjectController = d.createAbortController(), [4, new Promise(function (t, i) {
                    __webpack_require__.e(
                    /*! AMD require */
                    96).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../../portal/support/geometryServiceUtils */
                      "./node_modules/arcgis-js-api/portal/support/geometryServiceUtils.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](i.bind(this));
                  })];

                case 2:
                  r = o.sent(), o.label = 3;

                case 3:
                  return o.trys.push([3, 5,, 6]), [4, r.projectGeometry(n.extent, t, n.layer.portalItem, this._extentProjectController.signal)];

                case 4:
                  return a = o.sent(), this._set("extent", a), [3, 6];

                case 5:
                  return l = o.sent(), [3, 6];

                case 6:
                  this._extentProjectController = null, o.label = 7;

                case 7:
                  return [2];
              }
            });
          });
        }, a.prototype._getSupportedSpatialReferences = function (e) {
          var t = this,
              i = "supportedSpatialReferences" in e && e.supportedSpatialReferences || (e.spatialReference ? [e.spatialReference] : []);
          if (0 === i.length) return this._debugLog("Layer " + e.id + " is ignored because it does not have any spatial references"), [];
          var n = i.filter(function (i) {
            return t.view.isSpatialReferenceSupported(i, e, function (e) {
              return t._debugLog(e);
            });
          });
          return 0 === n.length ? this._debugLog("Layer " + e.id + " has spatial references but none of them are supported (or layer doesn't require locking)") : this._debugLog("Layer " + e.id + " has spatial references. Resulting candidate set: " + n.map(g).join(", ")), n;
        }, a.prototype._processHeightModelInfoSource = function (e) {
          var t = f.deriveHeightModelInfoFromLayer(e);
          return !!t && (this._set("heightModelInfo", t), this._set("isHeightModelInfoSearching", !1), e.spatialReference && (this._set("vcsWkid", e.spatialReference.vcsWkid), this._set("latestVcsWkid", e.spatialReference.latestVcsWkid)), !0);
        }, a.prototype._updateTileInfo = function () {
          if (null == this.tileInfo) {
            if (!this.view.isTileInfoRequired()) return void this._set("isTileInfoDone", !0);

            if (this.isSpatialReferenceDone) {
              var e = this.get("view.map");
              if (!e) return void this._debugLog("updateTileInfo: no map");
              var t = e.basemap,
                  i = e.get("layers.0"),
                  n = null;

              if (t && "failed" !== t.loadStatus) {
                if (!t.loaded) return this._updateWhen(t.load()), void this._debugLog("updateTileInfo: basemap still loading");
                var o = t && t.get("baseLayers.0");

                if (o && "failed" !== o.loadStatus) {
                  if (!o.loaded) return this._updateWhen(o.load()), void this._debugLog("updateTileInfo: first basemap layer still loading");
                  n = "tileInfo" in o && o.tileInfo;
                } else {
                  if (!i || "failed" === i.loadStatus) return;
                  if (!i.loaded) return this._updateWhen(i.load()), void this._debugLog("updateTileInfo: first operational layer still loading");
                  n = "tileInfo" in i && i.tileInfo;
                }
              } else if (i && "failed" !== i.loadStatus) {
                if (!i.loaded) return this._updateWhen(i.load()), void this._debugLog("updateTileInfo: first operational layer still loading");
                n = "tileInfo" in i && i.tileInfo;
              }

              n && !n.spatialReference.equals(this.spatialReference) && (n = null), this._debugLog("updateTileInfo: setting " + n), this._set("tileInfo", n), this._set("isTileInfoDone", !0);
            }
          }
        }, a.prototype._debugLog = function (e) {
          this.logDebugInformation && y.info(e);
        };
        var u;
        return a.DefaultMapCollectionPaths = ["basemap.baseLayers", "layers", "ground.layers", "basemap.referenceLayers"], n([c.property()], a.prototype, "logDebugInformation", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "isSpatialReferenceDone", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "isTileInfoDone", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "isHeightModelInfoSearching", void 0), n([c.property({
          constructOnly: !0
        })], a.prototype, "view", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "spatialReference", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "extent", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "heightModelInfo", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "vcsWkid", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "latestVcsWkid", void 0), n([c.property()], a.prototype, "mapCollectionPaths", void 0), n([c.property()], a.prototype, "defaultSpatialReference", void 0), n([c.property({
          readOnly: !0
        })], a.prototype, "tileInfo", void 0), a = u = n([c.subclass("esri.views.support.DefaultsFromMap")], a);
      }(c.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportQueueProcessorJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/Queue */
    "./node_modules/arcgis-js-api/core/Queue.js"), __webpack_require__(
    /*! ../../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, s, r, o, n, i, c) {
      function u(e) {
        return e && "function" == typeof e.then;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var h = function () {
        function e(e, t) {
          this.item = e, this.controller = t, this.promise = null;
        }

        return e;
      }(),
          p = function () {
        function e(e) {
          var t = this;
          this._deferreds = new Map(), this._controllers = new Map(), this._processingItems = new Map(), this._isPaused = !1, this._schedule = null, this._task = null, this.concurrency = 1, e.concurrency && (this.concurrency = e.concurrency), this._queue = new i({
            peeker: e.peeker
          }), this.process = e.process;
          var s = e.scheduler;
          e.task && o.isSome(s) && (this._task = s.registerTask(e.task, function (e) {
            return t.update(e);
          }, function () {
            return t.needsUpdate();
          }));
        }

        return e.prototype.destroy = function () {
          this.clear(), this._schedule && (this._schedule.remove(), this._schedule = null), this._task && (this._task.remove(), this._task = null);
        }, Object.defineProperty(e.prototype, "length", {
          get: function get() {
            return this._processingItems.size + this._queue.length;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.abort = function (e) {
          var t = this._controllers.get(e);

          t && t.abort();
        }, e.prototype.clear = function () {
          this._queue.clear();

          var e = [];
          this._controllers.forEach(function (t) {
            return e.push(t);
          }), this._controllers.clear(), e.forEach(function (e) {
            return e.abort();
          }), this._processingItems.clear(), this._cancelNext();
        }, e.prototype.get = function (e) {
          var t = this._deferreds.get(e);

          return t ? t.promise : void 0;
        }, e.prototype.isOngoing = function (e) {
          return this._processingItems.has(e);
        }, e.prototype.has = function (e) {
          return this._deferreds.has(e);
        }, e.prototype.pause = function () {
          this._isPaused || (this._isPaused = !0, this._cancelNext());
        }, e.prototype.push = function (e) {
          return r(this, void 0, void 0, function () {
            var t,
                r,
                o,
                i,
                c,
                u,
                h = this;
            return s(this, function (s) {
              return (t = this.get(e)) ? [2, t] : (o = n.createAbortController(), i = function i() {
                var t = h._processingItems.get(e);

                t && t.controller.abort(), c(), r.reject(n.createAbortError());
              }, c = function c() {
                u.remove(), h._deferreds["delete"](e), h._controllers["delete"](e), h._queue.remove(e), h._processingItems["delete"](e), h._scheduleNext();
              }, u = n.onAbortOrThrow(o.signal, i), r = n.createDeferred(), this._deferreds.set(e, r), this._controllers.set(e, o), r.promise.then(c, c), this._queue.push(e), this._scheduleNext(), [2, r.promise]);
            });
          });
        }, e.prototype.reset = function () {
          var e = [];
          this._processingItems.forEach(function (t) {
            return e.push(t);
          }), this._processingItems.clear();

          for (var t = 0, s = e; t < s.length; t++) {
            var r = s[t];
            this._queue.push(r.item), r.controller.abort();
          }

          this._scheduleNext();
        }, e.prototype.resume = function () {
          this._isPaused && (this._isPaused = !1, this._scheduleNext());
        }, e.prototype.needsUpdate = function () {
          return !this._isPaused && this._queue.length > 0 && this._processingItems.size < this.concurrency;
        }, e.prototype.update = function (e) {
          for (; !e.done && this._queue.length > 0 && this._processingItems.size < this.concurrency;) this._process(this._queue.pop()), e.madeProgress();
        }, e.prototype._scheduleNext = function () {
          var e = this;
          this._task || this._isPaused || this._schedule || (this._schedule = c.schedule(function () {
            e._schedule = null, e._next();
          }));
        }, e.prototype._next = function () {
          for (; this._queue.length > 0 && this._processingItems.size < this.concurrency;) this._process(this._queue.pop());
        }, e.prototype._cancelNext = function () {
          this._schedule && (this._schedule.remove(), this._schedule = null);
        }, e.prototype._processResult = function (e, t) {
          this._canProcessFulfillment(e) && (this._scheduleNext(), this._deferreds.get(e.item).resolve(t));
        }, e.prototype._processError = function (e, t) {
          this._canProcessFulfillment(e) && (this._scheduleNext(), this._deferreds.get(e.item).reject(t));
        }, e.prototype._canProcessFulfillment = function (e) {
          return !!this._deferreds.get(e.item) && this._processingItems.get(e.item) === e;
        }, e.prototype._process = function (e) {
          var t = this;

          if (!o.isNone(e)) {
            var s,
                r = n.createAbortController(),
                i = new h(e, r);

            this._processingItems.set(e, i);

            try {
              s = this.process(e, r.signal);
            } catch (e) {
              this._processError(i, e);
            }

            u(s) ? (i.promise = s, s.then(function (e) {
              return t._processResult(i, e);
            }, function (e) {
              return t._processError(i, e);
            })) : this._processResult(i, s);
          }
        }, Object.defineProperty(e.prototype, "test", {
          get: function get() {
            var e = this;
            return {
              update: function update(t) {
                return e.update(t);
              }
            };
          },
          enumerable: !0,
          configurable: !0
        }), e;
      }();

      t.QueueProcessor = p;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportSchedulerJs(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__(
    /*! @dojo/framework/shim/number */
    "./node_modules/@dojo/framework/shim/number.mjs"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/now */
    "./node_modules/arcgis-js-api/core/now.js"), __webpack_require__(
    /*! ../../core/PooledArray */
    "./node_modules/arcgis-js-api/core/PooledArray.js"), __webpack_require__(
    /*! ../../core/watchUtils */
    "./node_modules/arcgis-js-api/core/watchUtils.js"), __webpack_require__(
    /*! ./debugFlags */
    "./node_modules/arcgis-js-api/views/support/debugFlags.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, s, u, o) {
      function a(e) {
        return new c.Scheduler(e);
      }

      function d(e) {
        return e in t.taskPriorities ? t.taskPriorities[e] : "number" == typeof e ? e : 1;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var _;

      t.newScheduler = a;
      var h;
      !function (e) {
        e.REMOTE_CLIENT = "remote client", e.STREAM_DATA_LOADER = "stream data loader", e.TERRAIN_SURFACE = "terrain surface", e.SURFACE_GEOMETRY_UPDATES = "surface geometry updates", e.I3S_CONTROLLER = "I3s controller", e.POINT_CLOUD_LAYER = "point cloud", e.FEATURE_TILE_FETCHER = "feature fetcher", e.DECONFLICTOR_IMMEDIATE = "fast deconflictor", e.DECONFLICTOR_DELAYED = "delayed deconflictor", e.GRAPHICS_CORE = "Graphics3D", e.FILTER_VISIBILITY = "Graphics3D filter visibility", e.FEATURE_QUERY_ENGINE = "feature query", e.SCALE_VISIBILITY = "Graphics3D scale visibility", e.FRUSTUM_VISIBILITY = "Graphics3D frustum visibility", e.POINT_OF_INTEREST_FREQUENT = "POI frequent", e.POINT_OF_INTEREST_INFREQUENT = "POI infrequent", e.LABELER = "labeler", e.FEATURE_TILE_TREE = "feature tile tree", e.FEATURE_TILE_TREE_ACTIVE = "fast feature tile tree", e.ELEVATION_ALIGNMENT = "elevation alignment", e.TEXT_TEXTURE_ATLAS = "text texture atlas", e.OVERLAY_MANAGER = "overlay manager", e.INTERACTIVE_TOOL = "interactive tool", e[e.TEST_PRIO = 1] = "TEST_PRIO";
      }(h = t.Task || (t.Task = {})), t.taskPriorities = (_ = {}, _[h.REMOTE_CLIENT] = 1, _[h.STREAM_DATA_LOADER] = 1, _[h.TERRAIN_SURFACE] = 1, _[h.SURFACE_GEOMETRY_UPDATES] = 1, _[h.I3S_CONTROLLER] = 2, _[h.POINT_CLOUD_LAYER] = 2, _[h.FEATURE_TILE_FETCHER] = 2, _[h.DECONFLICTOR_IMMEDIATE] = 2, _[h.DECONFLICTOR_DELAYED] = 12, _[h.GRAPHICS_CORE] = 3, _[h.FILTER_VISIBILITY] = 4, _[h.FEATURE_QUERY_ENGINE] = 4, _[h.SCALE_VISIBILITY] = 6, _[h.FRUSTUM_VISIBILITY] = 6, _[h.POINT_OF_INTEREST_FREQUENT] = 6, _[h.POINT_OF_INTEREST_INFREQUENT] = 30, _[h.LABELER] = 8, _[h.FEATURE_TILE_TREE] = 12, _[h.FEATURE_TILE_TREE_ACTIVE] = 1, _[h.ELEVATION_ALIGNMENT] = 12, _[h.TEXT_TEXTURE_ATLAS] = 12, _[h.OVERLAY_MANAGER] = 12, _[h.INTERACTIVE_TOOL] = 16, _), t.getTaskPriority = d;
      var c,
          E = 1,
          l = 100;
      !function (e) {
        var t = function () {
          function t(t) {
            var r = this;
            this._now = t, this._budget = null, this._state = 1, this._tasks = new s(), this._runQueue = new s(), this._load = 0, this._idleStateCallbacks = new s(), this._idleUpdatesStartFired = !1, this._maxReschedule = p, this._forceTask = !1, this._safetyBudget = 0, this._debug = !1, this._debugHandle = u.init(o, "SCHEDULER_LOG_SLOW_TASKS", function (e) {
              return r._debug = e;
            }), this._budget = new e.Budget(t);
            var i = this;
            this._test = {
              state: void 0,
              FRAME_SAFETY_BUDGET: E,
              idleBudget: l,

              get budget() {
                return i._budget.budget;
              },

              usedBudget: 0,
              startTime: 0,
              updateTask: function updateTask(e) {
                return r._updateTask(e);
              },
              getState: function getState(e) {
                return r._getState(e);
              },
              getRuntime: function getRuntime(e) {
                return r._getRuntime(e);
              }
            };
          }

          return t.prototype.destroy = function () {
            this._debugHandle && this._debugHandle.remove();
          }, t.prototype.registerTask = function (e, t, i) {
            var n = this,
                s = d(e),
                u = new r(e, t, i, s);
            return this._tasks.push(u), {
              remove: function remove() {
                return n._removeTask(u);
              },

              set task(e) {
                u.setPriority(e);
              }

            };
          }, t.prototype.registerIdleStateCallbacks = function (e, t) {
            var r = this,
                i = {
              idleBegin: e,
              idleEnd: t
            };
            this._idleStateCallbacks.push(i), 2 === this.state && this._idleUpdatesStartFired && i.idleBegin();
            var n = this;
            return {
              remove: function remove() {
                return r._removeIdleStateCallbacks(i);
              },

              set idleBegin(e) {
                n._idleUpdatesStartFired && (i.idleEnd(), 2 === n._state && e()), i.idleBegin = e;
              },

              set idleEnd(e) {
                i.idleEnd = e;
              }

            };
          }, Object.defineProperty(t.prototype, "now", {
            get: function get() {
              return this._now();
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "load", {
            get: function get() {
              return this._load;
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(t.prototype, "state", {
            get: function get() {
              return i.isNone(this._test.state) ? this._state : this._test.state;
            },
            set: function set(e) {
              this._state !== e && (this._state = e, 2 !== this.state && this._idleUpdatesStartFired && (this._idleUpdatesStartFired = !1, this._idleStateCallbacks.forEach(function (e) {
                return e.idleEnd();
              })));
            },
            enumerable: !0,
            configurable: !0
          }), t.prototype.updateBudget = function (e) {
            var t = 2 === this.state,
                r = e.frameDuration;

            switch (this.state) {
              case 2:
                r = l;
                break;

              case 1:
                r = Math.max(33, e.frameDuration);
                break;

              case 0:
                r = e.frameDuration;
            }

            return this._safetyBudget = t ? 0 : E, r -= e.elapsedFrameTime + this._safetyBudget, this._test.usedBudget = 0, this._test.startTime = e.elapsedFrameTime, !t && r < 0 && !this._forceTask ? (this._forceTask = !0, !1) : (r = Math.max(r, 5), this._budget.reset(r, t), this._maxReschedule = p, this._updateLoad(), this._schedule());
          }, t.prototype.frame = function () {
            switch (this._forceTask = !1, this.state) {
              case 2:
                this._idleUpdatesStartFired || (this._idleUpdatesStartFired = !0, this._idleStateCallbacks.forEach(function (e) {
                  return e.idleBegin();
                })), this._runIdle();
                break;

              case 1:
                this._runMoving();

                break;

              default:
                this._runAnimating();

            }

            this._test.usedBudget = this._budget.elapsed;
          }, t.prototype._removeIdleStateCallbacks = function (e) {
            this._idleUpdatesStartFired && e.idleEnd(), this._idleStateCallbacks.removeUnordered(e);
          }, t.prototype._removeTask = function (e) {
            this._tasks.removeUnordered(e), this._runQueue.removeUnordered(e);
          }, t.prototype._updateTask = function (e) {
            this._tasks.forEach(function (t) {
              t.name === e && t.setPriority(e);
            });
          }, t.prototype._getState = function (e) {
            if (this._runQueue.some(function (t) {
              return t.name === e;
            })) return f.SCHEDULED;
            var t = f.IDLE;
            return this._tasks.forEach(function (r) {
              r.name === e && r.needsUpdate() && (r.schedule <= 1 ? t = f.READY : t !== f.READY && (t = f.WAITING));
            }), t;
          }, t.prototype._getRuntime = function (e) {
            var t = 0;
            return this._tasks.forEach(function (r) {
              r.name === e && (t += r.runtime);
            }), t;
          }, t.prototype._runIdle = function () {
            this._run();
          }, t.prototype._runMoving = function () {
            this._run();
          }, t.prototype._runAnimating = function () {
            this._run();
          }, t.prototype._updateLoad = function () {
            var e = 0;
            this._tasks.forEach(function (t) {
              return t.needsUpdate() ? ++e : e;
            }), this._load = .9 * this._load + e * (1 - .9);
          }, t.prototype._schedule = function () {
            var e = this;
            if (this._maxReschedule <= 0) return !1;

            this._runQueue.filterInPlace(function (e) {
              return !!e.needsUpdate() || (e.schedule = e.priority, !1);
            });

            for (var t = this; 0 === this._runQueue.length;) {
              var r = function () {
                var r = !1,
                    i = 0;
                if (t._tasks.forEach(function (t) {
                  if (t.needsUpdate()) switch (r = !0, i = Math.max(i, t.priority), t.schedule) {
                    case 0:
                      break;

                    case 1:
                      t.schedule = 0, e._runQueue.push(t);
                      break;

                    default:
                      --t.schedule;
                  }
                }), !r) return {
                  value: !1
                };
                t._maxReschedule === p && (t._maxReschedule = i), --t._maxReschedule;
              }();

              if ("object" == typeof r) return r.value;
            }

            return !0;
          }, t.prototype._run = function () {
            do {
              for (; this._runQueue.length > 0;) {
                var e = this._runQueue.pop();

                this._budget.resetProgress();

                var t = this._budget.now();

                if (e.update(this._budget), e.schedule = e.priority, e.runtime += this._budget.now() - t, this._debug && this._budget.elapsed > 2 * this._budget.budget && console.log("Task", e.name, "used", this._budget.elapsed, "of max", this._budget.budget, "ms"), this._budget.remaining <= 0) return;
              }
            } while (this._schedule());
          }, Object.defineProperty(t.prototype, "test", {
            get: function get() {
              return this._test;
            },
            enumerable: !0,
            configurable: !0
          }), t;
        }();

        e.Scheduler = t;

        var r = function () {
          function e(e, t, r, i) {
            this.name = e, this.update = t, this.needsUpdate = r, this._priority = i, this.runtime = 0, this.schedule = this._priority;
          }

          return Object.defineProperty(e.prototype, "priority", {
            get: function get() {
              return this._priority;
            },
            enumerable: !0,
            configurable: !0
          }), e.prototype.setPriority = function (e) {
            var t = d(e);
            this.name = e, this._priority = t, 0 !== this.schedule && (this.schedule = t);
          }, e;
        }(),
            n = function () {
          function e(e) {
            this.now = e, this._begin = 0, this._budget = 0, this._idle = !1, this._didWork = !1, this._enabled = !0;
          }

          return e.prototype.run = function (e) {
            return !this.done && (!0 === e() && (this._didWork = !0), !0);
          }, Object.defineProperty(e.prototype, "done", {
            get: function get() {
              return this._didWork && this.elapsed >= this._budget && this._enabled;
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(e.prototype, "budget", {
            get: function get() {
              return this._budget;
            },
            enumerable: !0,
            configurable: !0
          }), e.prototype.madeProgress = function () {
            this._didWork = !0;
          }, Object.defineProperty(e.prototype, "idleFrame", {
            get: function get() {
              return this._idle;
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(e.prototype, "enabled", {
            get: function get() {
              return this._enabled;
            },
            set: function set(e) {
              this._enabled = e;
            },
            enumerable: !0,
            configurable: !0
          }), e.prototype.reset = function (e, t) {
            this._begin = this.now(), this._budget = e, this._idle = t, this._didWork = !1;
          }, Object.defineProperty(e.prototype, "remaining", {
            get: function get() {
              return Math.max(this._budget - this.elapsed, 0);
            },
            enumerable: !0,
            configurable: !0
          }), Object.defineProperty(e.prototype, "elapsed", {
            get: function get() {
              return this.now() - this._begin;
            },
            enumerable: !0,
            configurable: !0
          }), e.prototype.resetProgress = function () {
            this._didWork = !1;
          }, Object.defineProperty(e.prototype, "hasProgressed", {
            get: function get() {
              return this._didWork;
            },
            enumerable: !0,
            configurable: !0
          }), e;
        }();

        e.Budget = n;
      }(c || (c = {}));
      var f;
      !function (e) {
        e.SCHEDULED = "s", e.READY = "r", e.WAITING = "w", e.IDLE = "i";
      }(f = t.TaskState || (t.TaskState = {})), t.noBudget = function () {
        var e = new c.Budget(n);
        return e.enabled = !1, e;
      }();
      var p = r.MAX_SAFE_INTEGER;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportWatchUpdatingTrackingJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../../core/scheduling */
    "./node_modules/arcgis-js-api/core/scheduling.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__(
    /*! ../../core/accessorSupport/wire */
    "./node_modules/arcgis-js-api/core/accessorSupport/wire.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, a, r, d, i, o, s, c) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var l = function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.updating = !1, t.handleId = 0, t.handles = new d(), t.scheduleHandleId = 0, t.pendingPromises = new Set(), t;
        }

        return a(t, e), t.prototype.destroy = function () {
          this.removeAll(), this.handles.destroy();
        }, t.prototype.add = function (e, t, n, a) {
          var r = this;
          void 0 === a && (a = 0);
          var d = 0 != (1 & a),
              i = ++this.handleId;
          d || this.installSyncUpdatingWatch(e, t, i);
          var s = 0 != (2 & a),
              c = s ? o.init(e, t, n, d) : e.watch(t, n, d);
          return this.handles.add(c, i), {
            remove: function remove() {
              r.handles.remove(i);
            }
          };
        }, t.prototype.addOnCollectionPropertyChange = function (e, t, n, a) {
          var r = this;
          void 0 === a && (a = 0);
          var d = 0 != (2 & a),
              i = ++this.handleId;
          return this.handles.add([o.on(e, t, "after-changes", this.createSyncUpdatingCallback()), o.on(e, t, "change", n, d ? function (e) {
            n({
              added: e.items,
              removed: [],
              moved: [],
              target: e
            });
          } : null)], i), {
            remove: function remove() {
              r.handles.remove(i);
            }
          };
        }, t.prototype.addOnCollectionChange = function (e, t, n) {
          var a = this;
          void 0 === n && (n = 0);
          var r = 0 != (2 & n),
              d = ++this.handleId;
          return this.handles.add([e.on("after-changes", this.createSyncUpdatingCallback()), e.on("change", t)], d), r && t({
            added: e.items,
            removed: [],
            moved: [],
            target: e
          }), {
            remove: function remove() {
              a.handles.remove(d);
            }
          };
        }, t.prototype.addPromise = function (e) {
          var t = this;
          if (!e) return e;
          var n = ++this.handleId;
          this.handles.add({
            remove: function remove() {
              t.pendingPromises["delete"](e) && (0 !== t.pendingPromises.size || t.handles.has(h) || t._set("updating", !1));
            }
          }, n), this.pendingPromises.add(e), this._set("updating", !0);

          var a = function a() {
            return t.handles.remove(n);
          };

          return e.then(a, a), e;
        }, t.prototype.removeAll = function () {
          this.pendingPromises.clear(), this.handles.removeAll(), this._set("updating", !1);
        }, t.prototype.installSyncUpdatingWatch = function (e, t, n) {
          var a = c["default"](e, t, this.createSyncUpdatingCallback());
          return this.handles.add(a, n), a;
        }, t.prototype.createSyncUpdatingCallback = function () {
          var e = this;
          return function () {
            e.handles.remove(h), ++e.scheduleHandleId;
            var t = e.scheduleHandleId;
            e._get("updating") || e._set("updating", !0), e.handles.add(i.schedule(function () {
              t === e.scheduleHandleId && (e._set("updating", e.pendingPromises.size > 0), e.handles.remove(h));
            }), h);
          };
        }, n([s.property({
          readOnly: !0
        })], t.prototype, "updating", void 0), t = n([s.subclass("esri.views.support.WatchUpdatingTracking")], t);
      }(s.declared(r));

      t.WatchUpdatingTracking = l;
      var h = -42;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportWebGLRequirementsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, s, i) {
      function n(e) {
        return e = t({}, o, e), i("esri-webgl") ? !e.supportsMajorWebPerformanceCaveat && i("esri-webgl-major-performance-caveat") ? new s("webgl:major-performance-caveat-detected", "Your WebGL implementation doesn't seem to support hardware accelerated rendering. Check your browser settings or if your GPU is blacklisted.") : i("esri-webgl-high-precision-fragment") ? i("esri-webgl-vertex-shader-samplers") ? i("esri-webgl-element-index-uint") ? i("esri-webgl-standard-derivatives") ? i("esri-webgl-instanced-arrays") ? null : new s("webgl:instanced-arrays-required", "WebGL support for instanced rendering is required but not supported.") : new s("webgl:standard-derivatives-required", "WebGL support for standard derivatives is required but not supported.") : new s("webgl:element-index-uint-required", "WebGL support for uint vertex indices is required but not supported.") : new s("webgl:vertex-shader-samplers-required", "WebGL support for vertex shader samplers is required but not supported.") : new s("webgl:high-precision-fragment-required", "WebGL support for high precision fragment shaders is required but not supported.") : new s("webgl:required", "WebGL is required but not supported.");
      }

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

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportDebugFlagsJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, s, p) {
      return new (function (e) {
        function r() {
          var r = null !== e && e.apply(this, arguments) || this;
          return r.SCHEDULER_LOG_SLOW_TASKS = !1, r;
        }

        return t(r, e), o([p.property()], r.prototype, "SCHEDULER_LOG_SLOW_TASKS", void 0), r = o([p.subclass("esri.views.support.DebugFlags")], r);
      }(p.declared(s)))();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportLayerViewUtilsJs(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, n, t) {
      function i(e) {
        return e && "function" == typeof e.highlight;
      }

      function a(e, n, i) {
        return t.isNone(e) || e > i && (0 === n || e < n);
      }

      function c(e) {
        var n = e.minScale,
            t = e.maxScale;
        return n = n || 0, t = t || 0, {
          minScale: n,
          maxScale: t
        };
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.hasHighlight = i, n.scaleBoundsPredicate = a, n.extractSafeScaleBounds = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportScreenshotUtilsJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, a, h) {
      function r(t, e) {
        var i = t || {},
            a = i.format,
            r = i.quality,
            o = i.rotation,
            n = i.disableSlice,
            l = v(t, e.padding),
            g = {
          width: e.width - l.left - l.right,
          height: e.height - l.top - l.bottom
        },
            d = s(t, g),
            u = m(t, d),
            f = u.width,
            w = u.height,
            c = y(a),
            M = U[c];
        return {
          format: c,
          quality: h.clamp(null != r ? r : M, 0, 100),
          area: d,
          width: f,
          height: w,
          rotation: o,
          disableSlice: !!n,
          ignoreBackground: !(!t || !t.ignoreBackground),
          ignorePadding: !(!t || !t.ignorePadding)
        };
      }

      function o(t, e) {
        var i = r(t, e),
            a = i.area,
            h = i.width / a.width,
            o = v(i, e.padding),
            n = o.left + o.right,
            l = o.top + o.bottom,
            g = e.width - n,
            d = e.height - l,
            u = Math.floor(g * h + n),
            f = Math.floor(d * h + l),
            w = t && t.layers ? t.layers : [],
            c = i.ignoreBackground,
            m = i.ignorePadding;
        return {
          framebufferWidth: u,
          framebufferHeight: f,
          region: {
            x: Math.floor(a.x * h) + o.left,
            y: Math.floor(a.y * h) + o.top,
            width: i.width,
            height: i.height
          },
          format: i.format,
          quality: i.quality,
          rotation: i.rotation,
          pixelRatio: h,
          layers: w,
          disableSlice: i.disableSlice,
          ignoreBackground: c,
          ignorePadding: m
        };
      }

      function n(t, e, i, a) {
        a.premultipliedAlpha && b(t), i.width = t.width, i.height = t.height;
        var h = i.getContext("2d");
        h.putImageData(t, 0, 0), a.flipY && x(h);
        var r = h.getImageData(0, 0, t.width, t.height),
            o = l(i, e);
        return i.width = 0, i.height = 0, {
          dataUrl: o,
          data: r
        };
      }

      function l(t, e) {
        var i = R[e.format],
            a = e.quality / 100;
        return t.toDataURL(i, a);
      }

      function g(t, e, i) {
        if (!t || !e) throw new Error("Cannot construct image data without dimensions");
        if (q) try {
          return new ImageData(t, e);
        } catch (t) {
          q = !1;
        }
        return w(t, e, i);
      }

      function d(t, e, i, a) {
        if (!e || !i) throw new Error("Cannot construct image data without dimensions");
        if (q) try {
          return new ImageData(t, e, i);
        } catch (t) {
          q = !1;
        }
        var h = w(e, i, a);
        return h.data.set(t, 0), h;
      }

      function u(t, e, i, a, h, r, o, n) {
        void 0 === a && (a = 0), void 0 === h && (h = 0), void 0 === r && (r = t.width - a), void 0 === o && (o = t.height - h), void 0 === n && (n = !1);

        for (var l = t.data, g = e.width, d = e.height, u = e.data, f = r / g, w = o / d, c = Math.ceil(f / 2), m = Math.ceil(w / 2), s = t.width, M = 0; M < d; M++) for (var p = 0; p < g; p++) {
          for (var v = 4 * (p + (n ? d - M - 1 : M) * g), y = 0, x = 0, b = 0, j = 0, S = 0, D = 0, I = (M + .5) * w, q = Math.floor(M * w); q < (M + 1) * w; q++) for (var R = Math.abs(I - (q + .5)) / m, P = (p + .5) * f, U = R * R, C = Math.floor(p * f); C < (p + 1) * f; C++) {
            var H = Math.abs(P - (C + .5)) / c,
                k = Math.sqrt(U + H * H);

            if (!(k >= 1)) {
              var B = 2 * k * k * k - 3 * k * k + 1,
                  E = 4 * (a + C + (h + q) * s);
              D += B * l[E + 3], x += B, !i && l[E + 3] < 255 && (B = B * l[E + 3] / 255), b += B * l[E], j += B * l[E + 1], S += B * l[E + 2], y += B;
            }
          }

          u[v] = b / y, u[v + 1] = j / y, u[v + 2] = S / y, u[v + 3] = D / x;
        }

        return e;
      }

      function f(t, e, a) {
        if (!e) return t;
        var h = t.framebufferWidth,
            r = t.framebufferHeight,
            o = t.pixelRatio,
            n = t.region,
            l = v(t, a),
            g = l.left + l.right,
            d = l.top + l.bottom,
            u = h - g,
            f = r - d,
            w = Math.min(D, Math.min((j - g) / u, (j - d) / f));
        return w < S ? t : i({}, t, {
          framebufferWidth: Math.round(u * w) + g,
          framebufferHeight: Math.round(f * w) + d,
          pixelRatio: o * w,
          resample: {
            region: {
              x: Math.round((n.x - l.left) * w) + l.left,
              y: Math.round((n.y - l.top) * w) + l.top,
              width: Math.round(n.width * w),
              height: Math.round(n.height * w)
            },
            width: h,
            height: r
          }
        });
      }

      function w(t, e, i) {
        return i || (i = c()), i.getContext("2d").createImageData(t, e);
      }

      function c() {
        return I || (I = document.createElement("canvas"), I.width = 1, I.height = 1), I;
      }

      function m(t, e) {
        if (!t) return e;
        var i = t.width,
            a = t.height;
        if (null != i && null != a) return {
          width: Math.floor(i),
          height: Math.floor(a)
        };
        if (null == i && null == a) return e;
        var h = e.width / e.height;
        return null == a ? {
          width: Math.floor(i),
          height: Math.floor(i / h)
        } : {
          width: Math.floor(a * h),
          height: Math.floor(a)
        };
      }

      function s(t, e) {
        var i = {
          x: 0,
          y: 0,
          width: e.width,
          height: e.height
        };

        if (t && t.area) {
          null != t.area.x && (i.x = Math.floor(t.area.x)), null != t.area.y && (i.y = Math.floor(t.area.y));
          var a = null != t.area.width ? Math.floor(t.area.width) : null,
              h = null != t.area.height ? Math.floor(t.area.height) : null;
          if (i.width = e.width - i.x, i.height = e.height - i.y, null != a && null != h) i.width = Math.min(i.width, a), i.height = Math.min(i.height, h);else if (null == a && null != h) {
            var r = Math.min(i.width, a);
            i.height = r / i.width * i.height, i.width = r;
          } else if (null != a && null == h) {
            var o = Math.min(i.height, h);
            i.width = o / i.height * i.width, i.height = o;
          }
        }

        return M(p(i, t), e);
      }

      function M(t, e) {
        var i = Math.floor(Math.max(t.x, 0)),
            a = Math.floor(Math.max(t.y, 0)),
            h = Math.floor(Math.min(t.width, e.width - i)),
            r = Math.floor(Math.min(t.height, e.height - a)),
            o = {
          x: i,
          y: a,
          width: h,
          height: r
        },
            n = o.width / o.height,
            l = t.width / t.height;
        if (l === n) return o;

        if (l > n) {
          var g = Math.floor(o.width / l),
              d = o.height - g;
          return {
            x: o.x,
            y: Math.floor(o.y + d / 2),
            width: o.width,
            height: g
          };
        }

        var u = Math.floor(o.height * l),
            f = o.width - u;
        return {
          x: Math.floor(o.x + f / 2),
          y: o.y,
          width: u,
          height: o.height
        };
      }

      function p(t, e) {
        if (!e || null == e.width || null == e.height) return t;
        var i = e.width / e.height,
            a = t.width / t.height;
        if (a === i) return t;

        if (a < i) {
          var h = Math.floor(t.height * i);
          return t.x -= (h - t.width) / 2, t.width = h, t;
        }

        var r = Math.floor(t.width / i);
        return t.y -= (r - t.height) / 2, t.height = r, t;
      }

      function v(t, e) {
        return !e || t && t.ignorePadding ? C : e;
      }

      function y(t) {
        switch (t) {
          case "png":
          case "jpg":
          case "jpeg":
            return t;

          case null:
          case void 0:
            return P;

          default:
            return a.neverReached(t), P;
        }
      }

      function x(t) {
        t.save(), t.globalCompositeOperation = "copy", t.scale(1, -1), t.translate(0, -t.canvas.height), t.drawImage(t.canvas, 0, 0), t.restore();
      }

      function b(t) {
        for (var e = t.data, i = e.length, a = 0; a < i; a += 4) {
          var h = e[a + 3];

          if (h > 0) {
            var r = h / 255;
            e[a + 0] = e[a + 0] / r, e[a + 1] = e[a + 1] / r, e[a + 2] = e[a + 2] / r;
          }
        }
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var j = 2048,
          S = 1.5,
          D = 8;
      e.completeUserSettings = r, e.toRenderSettings = o, e.encodeResult = n, e.toDataUrl = l, e.createEmptyImageData = g, e.wrapImageData = d, e.resampleHermite = u, e.screenshotSuperSampleSettings = f;
      var I = null,
          q = !0,
          R = {
        png: "image/png",
        jpg: "image/jpeg",
        jpeg: "image/jpeg"
      },
          P = "jpg",
          U = {
        png: 100,
        jpg: 98,
        jpeg: 98
      },
          C = {
        top: 0,
        right: 0,
        bottom: 0,
        left: 0
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/ui/2d/DefaultUI2D.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/ui/2d/DefaultUI2D.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsUi2dDefaultUI2DJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../DefaultUI */
    "./node_modules/arcgis-js-api/views/ui/DefaultUI.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, c, n) {
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.components = ["attribution", "zoom"], t;
        }

        return t(r, e), o([c.property()], r.prototype, "components", void 0), r = o([c.subclass("esri.views.ui.2d.DefaultUI2D")], r);
      }(c.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/ui/Component.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/ui/Component.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsUiComponentJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/domUtils */
    "./node_modules/arcgis-js-api/core/domUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, n, i, d) {
      function s(e) {
        return e && "nodeType" in e;
      }

      function p(e) {
        return e && "function" == typeof e.render;
      }

      var c = {
        component: "esri-component"
      };
      return function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.widget = null, t;
        }

        return o(t, e), t.prototype.destroy = function () {
          this.widget && this.widget.destroy(), this.node = null;
        }, Object.defineProperty(t.prototype, "id", {
          get: function get() {
            return this.get("widget.id") || this.get("node.id");
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "node", {
          set: function set(e) {
            var t = this._get("node");

            e !== t && (e && e.classList.add(c.component), t && t.classList.remove(c.component), this._set("node", e));
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.castNode = function (e) {
          return e ? "string" == typeof e || s(e) ? (this._set("widget", null), i.byId(e)) : (p(e) && !e.domNode && (e.domNode = document.createElement("div")), this._set("widget", e), e.domNode) : (this._set("widget", null), null);
        }, r([d.property()], t.prototype, "id", null), r([d.property()], t.prototype, "node", null), r([d.cast("node")], t.prototype, "castNode", null), r([d.property({
          readOnly: !0
        })], t.prototype, "widget", void 0), t = r([d.subclass("esri.views.ui.Component")], t);
      }(d.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/ui/DefaultUI.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/ui/DefaultUI.js ***!
    \**********************************************************/

  /*! no static exports found */

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

    /**
                 * An array of strings representing the default
                 * widgets visible when a {@link module:esri/views/MapView} or
                 * {@link module:esri/views/SceneView} is created. The default widgets differ between MapView
                 * and SceneView.
                 *
                 * The following are the default components in each view:
                 *
                 * **MapView:** `["attribution", "zoom"]`
                 *
                 * **SceneView:** `["attribution", "navigation-toggle", "compass", "zoom"]`
                 *
                 * ::: esri-md class="panel trailer-1"
                 * Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
                 * For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
                 * For information on terms of use, see the [Terms of Use FAQ](https://developers.arcgis.com/terms/faq/).
                 * :::
                 *
                 * @name components
                 * @instance
                 *
                 * @type {string[]}
                 *
                 * @example
                 * // Removes all default UI components, except Attribution.
                 * // Passing an empty array will remove all components.
                 * view.ui.components = [ "attribution" ];
                 */


    !(__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/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__(
    /*! ./Component */
    "./node_modules/arcgis-js-api/views/ui/Component.js"), __webpack_require__(
    /*! ./UI */
    "./node_modules/arcgis-js-api/views/ui/UI.js"), __webpack_require__(
    /*! ../../widgets/Attribution */
    "./node_modules/arcgis-js-api/widgets/Attribution.js"), __webpack_require__(
    /*! ../../widgets/Compass */
    "./node_modules/arcgis-js-api/widgets/Compass.js"), __webpack_require__(
    /*! ../../widgets/NavigationToggle */
    "./node_modules/arcgis-js-api/widgets/NavigationToggle.js"), __webpack_require__(
    /*! ../../widgets/Zoom */
    "./node_modules/arcgis-js-api/widgets/Zoom.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, i, n, r, a, s, p, d, c, u) {
      function h(t) {
        return t && void 0 !== t.view;
      }

      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o._defaultPositionLookup = {
            attribution: "manual",
            compass: "top-leading",
            "navigation-toggle": "top-leading",
            zoom: "top-leading"
          }, o.components = [], o;
        }

        return o(e, t), e.prototype.initialize = function () {
          this._handles.add([n.init(this, "components", this._componentsWatcher.bind(this)), n.init(this, "view", this._updateViewAwareWidgets.bind(this))]);
        }, e.prototype._removeComponents = function (t) {
          var e = this;
          t.forEach(function (t) {
            var o = e._find(t);

            o && (e.remove(o), o.destroy());
          });
        }, e.prototype._updateViewAwareWidgets = function (t) {
          var e = this;
          this.components.forEach(function (o) {
            var i = e._find(o),
                n = i && i.widget;

            h(n) && (n.view = t);
          });
        }, e.prototype._componentsWatcher = function (t, e) {
          this._removeComponents(e), this._addComponents(t), this._adjustPadding(t);
        }, e.prototype._adjustPadding = function (t) {
          if (-1 === t.indexOf("attribution") && !this._isOverridden("padding")) {
            var e = this.padding.top;
            this.padding = e;
          }
        }, e.prototype._addComponents = function (t) {
          var e = this;
          this.initialized && t.forEach(function (t) {
            return e.add(e._createComponent(t), e._defaultPositionLookup[t]);
          });
        }, e.prototype._createComponent = function (t) {
          var e = this._createWidget(t);

          if (e) return new a({
            id: t,
            node: e
          });
        }, e.prototype._createWidget = function (t) {
          return "attribution" === t ? this._createAttribution() : "compass" === t ? this._createCompass() : "navigation-toggle" === t ? this._createNavigationToggle() : "zoom" === t ? this._createZoom() : void 0;
        }, e.prototype._createAttribution = function () {
          return new p({
            view: this.view
          });
        }, e.prototype._createCompass = function () {
          return new d({
            view: this.view
          });
        }, e.prototype._createNavigationToggle = function () {
          return new c({
            view: this.view
          });
        }, e.prototype._createZoom = function () {
          return new u({
            view: this.view
          });
        }, i([r.property()], e.prototype, "components", void 0), e = i([r.subclass("esri.views.ui.DefaultUI")], e);
      }(r.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/ui/UI.js":
  /*!***************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/ui/UI.js ***!
    \***************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsUiUIJs(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/domUtils */
    "./node_modules/arcgis-js-api/core/domUtils.js"), __webpack_require__(
    /*! ../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./Component */
    "./node_modules/arcgis-js-api/views/ui/Component.js"), __webpack_require__(
    /*! ../../widgets/support/widgetUtils */
    "./node_modules/arcgis-js-api/widgets/support/widgetUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, o, i, r, a, s, p, d, c, u) {
      function l(t) {
        return t && !t._started && "function" == typeof t.postMixInProperties && "function" == typeof t.buildRendering && "function" == typeof t.postCreate && "function" == typeof t.startup;
      }

      function h(t) {
        var e = t;
        return "object" != typeof e || e instanceof c || "declaredClass" in e || !("component" in e || "index" in e || "position" in e) ? null : t;
      }

      function f(t, e) {
        var n = e.top,
            o = e.bottom,
            i = e.left,
            r = e.right;
        t.style.top = n, t.style.bottom = o, t.style.left = i, t.style.right = r;
      }

      var m = {
        left: 0,
        top: 0,
        bottom: 0,
        right: 0
      },
          y = {
        bottom: 30,
        top: 15,
        right: 15,
        left: 15
      },
          g = {
        ui: "esri-ui",
        corner: "esri-ui-corner",
        innerContainer: "esri-ui-inner-container",
        manualContainer: "esri-ui-manual-container",
        cornerContainer: "esri-ui-corner-container",
        topLeft: "esri-ui-top-left",
        topRight: "esri-ui-top-right",
        bottomLeft: "esri-ui-bottom-left",
        bottomRight: "esri-ui-bottom-right"
      };
      return function (t) {
        function e(e) {
          var n = t.call(this, e) || this;
          return n._cornerNameToContainerLookup = {}, n._positionNameToContainerLookup = {}, n._components = new Array(), n._componentToKey = new Map(), n._handles = new s(), n.view = null, n._initContainers(), n;
        }

        return o(e, t), e.prototype.initialize = function () {
          this._handles.add([p.init(this, "view.padding, container", this._applyViewPadding.bind(this)), p.init(this, "padding", this._applyUIPadding.bind(this))]);
        }, e.prototype.destroy = function () {
          this.container = null;

          for (var t = 0, e = this._components; t < e.length; t++) {
            e[t].destroy();
          }

          this._components.length = 0, this._handles.destroy(), this._componentToKey.clear();
        }, Object.defineProperty(e.prototype, "container", {
          set: function set(t) {
            var e = this._get("container");

            t !== e && (t && (t.classList.add(g.ui), this._attachContainers(t)), e && (e.classList.remove(g.ui), f(e, {
              top: "",
              bottom: "",
              left: "",
              right: ""
            }), r.empty(e)), this._set("container", t));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "height", {
          get: function get() {
            var t = this.get("view.height") || 0;
            if (0 === t) return t;

            var e = this._getViewPadding(),
                n = e.top + e.bottom;

            return Math.max(t - n, 0);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "padding", {
          get: function get() {
            return this._get("padding");
          },
          set: function set(t) {
            if (!t) return void this._clearOverride("padding");

            this._override("padding", t);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.castPadding = function (t) {
          return "number" == typeof t ? {
            bottom: t,
            top: t,
            right: t,
            left: t
          } : n({}, y, t);
        }, Object.defineProperty(e.prototype, "width", {
          get: function get() {
            var t = this.get("view.width") || 0;
            if (0 === t) return t;

            var e = this._getViewPadding(),
                n = e.left + e.right;

            return Math.max(t - n, 0);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.add = function (t, e) {
          var n,
              o,
              i = this;
          if (Array.isArray(t)) return void t.forEach(function (t) {
            return i.add(t, e);
          });
          var r = h(t);
          r && (n = r.index, e = r.position, t = r.component, o = r.key), e && "object" == typeof e && (n = e.index, o = e.key, e = e.position), !t || e && !this._isValidPosition(e) || (t instanceof c || (t = new c({
            node: t
          })), this._place({
            component: t,
            position: e,
            index: n
          }), this._components.push(t), o && this._componentToKey.set(t, o));
        }, e.prototype.remove = function (t, e) {
          var n = this;

          if (t) {
            if (Array.isArray(t)) return t.map(function (t) {
              return n.remove(t, e);
            });

            var o = this._find(t);

            if (o) {
              var i = this._componentToKey;
              if (i.has(t) && i.get(t) !== e) return;

              var r = this._components.indexOf(o);

              return o.node.parentNode && o.node.parentNode.removeChild(o.node), this._componentToKey["delete"](t), this._components.splice(r, 1)[0];
            }
          }
        }, e.prototype.empty = function (t) {
          var e = this;
          if (Array.isArray(t)) return t.map(function (t) {
            return e.empty(t);
          }).reduce(function (t, e) {
            return t.concat(e);
          });

          if ("manual" === (t = t || "manual")) {
            return Array.prototype.slice.call(this._manualContainer.children).filter(function (t) {
              return !t.classList.contains(g.corner);
            }).map(function (t) {
              return e.remove(t);
            });
          }

          return this._isValidPosition(t) ? Array.prototype.slice.call(this._cornerNameToContainerLookup[t].children).map(this.remove, this) : null;
        }, e.prototype.move = function (t, e) {
          var n = this;

          if (Array.isArray(t) && t.forEach(function (t) {
            return n.move(t, e);
          }), t) {
            var o,
                i = h(t) || h(e);

            if (i && (o = i.index, e = i.position, t = i.component || t), !e || this._isValidPosition(e)) {
              var r = this.remove(t);
              r && this.add(r, {
                position: e,
                index: o
              });
            }
          }
        }, e.prototype.find = function (t) {
          if (!t) return null;

          var e = this._findById(t);

          return e && (e.widget || e.node);
        }, e.prototype._find = function (t) {
          return t ? t instanceof c ? this._findByComponent(t) : "string" == typeof t ? this._findById(t) : this._findByNode(t.domNode || t) : null;
        }, e.prototype._getViewPadding = function () {
          return this.get("view.padding") || m;
        }, e.prototype._attachContainers = function (t) {
          t.appendChild(this._innerContainer), t.appendChild(this._manualContainer);
        }, e.prototype._initContainers = function () {
          var t = document.createElement("div");
          t.classList.add(g.innerContainer), t.classList.add(g.cornerContainer);
          var e = document.createElement("div");
          e.classList.add(g.innerContainer), e.classList.add(g.manualContainer);
          var o = document.createElement("div");
          o.classList.add(g.topLeft), o.classList.add(g.corner), t.appendChild(o);
          var i = document.createElement("div");
          i.classList.add(g.topRight), i.classList.add(g.corner), t.appendChild(i);
          var r = document.createElement("div");
          r.classList.add(g.bottomLeft), r.classList.add(g.corner), t.appendChild(r);
          var a = document.createElement("div");
          a.classList.add(g.bottomRight), a.classList.add(g.corner), t.appendChild(a), this._innerContainer = t, this._manualContainer = e;
          var s = u.isRTL();
          this._cornerNameToContainerLookup = {
            "top-left": o,
            "top-right": i,
            "bottom-left": r,
            "bottom-right": a,
            "top-leading": s ? i : o,
            "top-trailing": s ? o : i,
            "bottom-leading": s ? a : r,
            "bottom-trailing": s ? r : a
          }, this._positionNameToContainerLookup = n({
            manual: e
          }, this._cornerNameToContainerLookup);
        }, e.prototype._isValidPosition = function (t) {
          return !!this._positionNameToContainerLookup[t];
        }, e.prototype._place = function (t) {
          var e,
              n = t.component,
              o = t.position || "manual",
              i = t.index,
              a = this._positionNameToContainerLookup[o],
              s = i > -1;
          return l(n.widget) && n.widget.startup(), s ? (e = Array.prototype.slice.call(a.children), 0 === i ? void (a.firstChild ? r.insertBefore(n.node, a.firstChild) : a.appendChild(n.node)) : i >= e.length ? void a.appendChild(n.node) : void r.insertBefore(n.node, e[i])) : void a.appendChild(n.node);
        }, e.prototype._applyViewPadding = function () {
          var t = this.container;
          t && f(t, this._toPxPosition(this._getViewPadding()));
        }, e.prototype._applyUIPadding = function () {
          var t = this._innerContainer;
          t && f(t, this._toPxPosition(this.padding));
        }, e.prototype._toPxPosition = function (t) {
          return {
            top: this._toPxUnit(t.top),
            left: this._toPxUnit(t.left),
            right: this._toPxUnit(t.right),
            bottom: this._toPxUnit(t.bottom)
          };
        }, e.prototype._toPxUnit = function (t) {
          return 0 === t ? "0" : t + "px";
        }, e.prototype._findByComponent = function (t) {
          var e,
              n = null;
          return this._components.some(function (o) {
            return e = o === t, e && (n = o), e;
          }), n;
        }, e.prototype._findById = function (t) {
          var e,
              n = null;
          return this._components.some(function (o) {
            return e = o.id === t, e && (n = o), e;
          }), n;
        }, e.prototype._findByNode = function (t) {
          var e,
              n = null;
          return this._components.some(function (o) {
            return e = o.node === t, e && (n = o), e;
          }), n;
        }, i([d.property()], e.prototype, "container", null), i([d.property({
          dependsOn: ["view.height"]
        })], e.prototype, "height", null), i([d.property({
          value: y
        })], e.prototype, "padding", null), i([d.cast("padding")], e.prototype, "castPadding", null), i([d.property()], e.prototype, "view", void 0), i([d.property({
          dependsOn: ["view.width"]
        })], e.prototype, "width", null), e = i([d.subclass("esri.views.ui.UI")], e);
      }(d.declared(a.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglJs(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__(
    /*! ./webgl/BufferObject */
    "./node_modules/arcgis-js-api/views/webgl/BufferObject.js"), __webpack_require__(
    /*! ./webgl/enums */
    "./node_modules/arcgis-js-api/views/webgl/enums.js"), __webpack_require__(
    /*! ./webgl/FramebufferObject */
    "./node_modules/arcgis-js-api/views/webgl/FramebufferObject.js"), __webpack_require__(
    /*! ./webgl/Program */
    "./node_modules/arcgis-js-api/views/webgl/Program.js"), __webpack_require__(
    /*! ./webgl/Renderbuffer */
    "./node_modules/arcgis-js-api/views/webgl/Renderbuffer.js"), __webpack_require__(
    /*! ./webgl/RenderingContext */
    "./node_modules/arcgis-js-api/views/webgl/RenderingContext.js"), __webpack_require__(
    /*! ./webgl/ShaderCompiler */
    "./node_modules/arcgis-js-api/views/webgl/ShaderCompiler.js"), __webpack_require__(
    /*! ./webgl/Texture */
    "./node_modules/arcgis-js-api/views/webgl/Texture.js"), __webpack_require__(
    /*! ./webgl/VertexArrayObject */
    "./node_modules/arcgis-js-api/views/webgl/VertexArrayObject.js"), __webpack_require__(
    /*! ./webgl/ProgramCache */
    "./node_modules/arcgis-js-api/views/webgl/ProgramCache.js"), __webpack_require__(
    /*! ./webgl/programUtils */
    "./node_modules/arcgis-js-api/views/webgl/programUtils.js"), __webpack_require__(
    /*! ./webgl/context-util */
    "./node_modules/arcgis-js-api/views/webgl/context-util.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, g, b, l, o, f, n, c, u, i, m) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.BufferObject = t, r.enums = a, r.FramebufferObject = g, r.Program = b, r.Renderbuffer = l, r.RenderingContext = o, r.ShaderCompiler = f, r.Texture = n, r.VertexArrayObject = c, r.ProgramCache = u.ProgramCache, r.createProgram = i.createProgram, r.glslifyDefineMap = i.glslifyDefineMap, r.createContextOrErrorHTML = m.createContextOrErrorHTML;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/BufferObject.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/BufferObject.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglBufferObjectJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/typedArrayUtil */
    "./node_modules/arcgis-js-api/core/typedArrayUtil.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n) {
      return function () {
        function e(t, n, r, o, s) {
          this._context = null, this._glName = null, this._bufferType = void 0, this._usage = 35044, this._size = -1, this._indexType = void 0, this._context = t, this._bufferType = n, this._usage = r, this._id = e._nextId++, this._glName = this._context.gl.createBuffer(), i("esri-webgl-debug") && t.instanceCounter.incrementCount(1), o && this.setData(o, s);
        }

        return e.createIndex = function (t, i, n, r) {
          return new e(t, 34963, i, n, r);
        }, e.createVertex = function (t, i, n) {
          return new e(t, 34962, i, n);
        }, Object.defineProperty(e.prototype, "id", {
          get: function get() {
            return this._id;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "glName", {
          get: function get() {
            return this._glName;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "size", {
          get: function get() {
            return this._size;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "usage", {
          get: function get() {
            return this._usage;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "bufferType", {
          get: function get() {
            return this._bufferType;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "indexType", {
          get: function get() {
            return this._indexType;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "byteSize", {
          get: function get() {
            return 34962 === this._bufferType ? this._size : 5125 === this._indexType ? 4 * this._size : 2 * this._size;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.dispose = function () {
          if (this._context) {
            if (this._glName) {
              this._context.gl.deleteBuffer(this._glName), this._glName = null;
            }

            i("esri-webgl-debug") && this._context.instanceCounter.decrementCount(1), this._context = null;
          }
        }, e.prototype.setData = function (e, t) {
          if (e) {
            if ("number" == typeof e) {
              if (e < 0 && console.error("Buffer size cannot be negative!"), 34963 === this._bufferType && t) switch (this._indexType = t, this._size = e, t) {
                case 5123:
                  e *= 2;
                  break;

                case 5125:
                  e *= 4;
              }
            } else {
              var i = e.byteLength;
              n.isUint16Array(e) && (i /= 2, this._indexType = 5123), n.isUint32Array(e) && (i /= 4, this._indexType = 5125), this._size = i;
            }

            var r = this._context.getBoundVAO();

            this._context.bindVAO(null), this._context.bindBuffer(this);
            this._context.gl.bufferData(this._bufferType, e, this._usage), this._context.bindVAO(r);
          }
        }, e.prototype.setSubData = function (e, t, i, r) {
          if (void 0 === t && (t = 0), void 0 === i && (i = 0), e) {
            (t < 0 || t >= this._size) && console.error("offset is out of range!");
            var o = t,
                s = i,
                u = r,
                f = e.byteLength;
            n.isUint16Array(e) && (f /= 2, o *= 2, s *= 2, u *= 2), n.isUint32Array(e) && (f /= 4, o *= 4, s *= 4, u *= 4), void 0 === r && (r = f - 1), i >= r && console.error("end must be bigger than start!"), t + i - r > this._size && console.error("An attempt to write beyond the end of the buffer!");

            var c = this._context.getBoundVAO();

            this._context.bindVAO(null), this._context.bindBuffer(this);
            var a = this._context.gl,
                h = ArrayBuffer.isView(e) ? e.buffer : e;
            a.bufferSubData(this._bufferType, o, h.slice(s, u)), this._context.bindVAO(c);
          }
        }, e._nextId = 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/webgl/FramebufferObject.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/FramebufferObject.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglFramebufferObjectJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./Renderbuffer */
    "./node_modules/arcgis-js-api/views/webgl/Renderbuffer.js"), __webpack_require__(
    /*! ./Texture */
    "./node_modules/arcgis-js-api/views/webgl/Texture.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, r, n) {
      return function () {
        function t(e, h, o, s) {
          if (this._context = null, this._glName = null, this._depthAttachment = null, this._stencilAttachment = null, this._colorAttachment = null, this._initialized = !1, this._context = e, this._desc = {
            colorTarget: h.colorTarget,
            depthStencilTarget: h.depthStencilTarget,
            width: h.width,
            height: h.height,
            multisampled: h.multisampled
          }, this._id = t._nextId++, i("esri-webgl-debug") && e.instanceCounter.incrementCount(4), o) {
            var c = void 0;
            o instanceof n ? (this._colorAttachment = o, c = o.descriptor) : (c = o, this._colorAttachment = new n(this._context, c)), 0 !== this._desc.colorTarget && console.error("Framebuffer is initialized with a texture however the descriptor indicates using a renderbuffer color attachment!"), t._validateTextureDimensions(c, this._desc);
          }

          if (s instanceof r) 2 === h.depthStencilTarget ? this._stencilAttachment = s : 1 === h.depthStencilTarget || 3 === h.depthStencilTarget ? this._depthAttachment = s : console.error('If a Renderbuffer is provided, "depthStencilTarget" must be one of STENCIL_RENDER_BUFFER, DEPTH_RENDER_BUFFER or DEPTH_STENCIL_RENDER_BUFFER'), t._validateBufferDimensions(s.descriptor, this._desc);else if (s) {
            this._context.capabilities.depthTexture || console.error("Extension WEBGL_depth_texture isn't supported therefore it is no possible to set the depth/stencil texture as an attachment!");
            var a = void 0;
            s instanceof n ? (this._depthStencilTexture = s, a = this._depthStencilTexture.descriptor) : (a = s, this._depthStencilTexture = new n(this._context, a)), t._validateTextureDimensions(a, this._desc);
          }
        }

        return Object.defineProperty(t.prototype, "id", {
          get: function get() {
            return this._id;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "glName", {
          get: function get() {
            return this._glName;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "descriptor", {
          get: function get() {
            return this._desc;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "colorTexture", {
          get: function get() {
            return this._colorAttachment instanceof n ? this._colorAttachment : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "colorAttachment", {
          get: function get() {
            return this._colorAttachment;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "depthStencilAttachment", {
          get: function get() {
            return this._depthStencilTexture || this._depthAttachment || this._stencilAttachment;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "depthStencilTexture", {
          get: function get() {
            return this._depthStencilTexture;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "width", {
          get: function get() {
            return this._desc.width;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "height", {
          get: function get() {
            return this._desc.height;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.dispose = function () {
          if (this._context) {
            var t = this._context,
                e = t.getBoundFramebufferObject();

            if (this._disposeColorAttachment(), this._disposeDepthStencilAttachments(), this._glName) {
              t.gl.deleteFramebuffer(this._glName), this._glName = null;
            }

            i("esri-webgl-debug") && t.instanceCounter.decrementCount(4), t.bindFramebuffer(e), this._context = null;
          }
        }, t.prototype.attachColorTexture = function (e) {
          if (e) {
            var i = e.descriptor;

            if (t._validateTextureDimensions(i, this._desc), this._disposeColorAttachment(), this._initialized) {
              this._context.bindFramebuffer(this);

              var r = this._context.gl;
              r.framebufferTexture2D(r.FRAMEBUFFER, r.COLOR_ATTACHMENT0, r.TEXTURE_2D, e.glName, 0);
            }

            this._colorAttachment = e;
          }
        }, t.prototype.detachColorTexture = function () {
          var t = void 0;

          if (this._colorAttachment instanceof n) {
            if (t = this._colorAttachment, this._initialized) {
              this._context.bindFramebuffer(this);

              var e = this._context.gl;

              this._context.gl.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, null, 0);
            }

            this._colorAttachment = null;
          }

          return t;
        }, t.prototype.attachDepthStencilTexture = function (e) {
          if (e) {
            var i = e.descriptor;

            if (34041 !== i.pixelFormat && console.error("Depth/Stencil texture must have a pixel type of DEPTH_STENCIL!"), 34042 !== i.dataType && console.error("Depth/Stencil texture must have data type of UNSIGNED_INT_24_8_WEBGL!"), this._context.capabilities.depthTexture || console.error("Extension WEBGL_depth_texture isn't supported therefore it is no possible to set the depth/stencil texture!"), t._validateTextureDimensions(i, this._desc), 4 !== this._desc.depthStencilTarget && (this._desc.depthStencilTarget = 4), this._disposeDepthStencilAttachments(), this._initialized) {
              this._context.bindFramebuffer(this);

              var r = this._context.gl;
              r.framebufferTexture2D(r.FRAMEBUFFER, r.DEPTH_STENCIL_ATTACHMENT, r.TEXTURE_2D, e.glName, 0);
            }

            this._depthStencilTexture = e;
          }
        }, t.prototype.detachDepthStencilTexture = function () {
          var t = this._depthStencilTexture;

          if (t && this._initialized) {
            this._context.bindFramebuffer(this);

            var e = this._context.gl;

            this._context.gl.framebufferTexture2D(e.FRAMEBUFFER, e.DEPTH_STENCIL_ATTACHMENT, e.TEXTURE_2D, null, 0);
          }

          return this._depthStencilTexture = null, t;
        }, t.prototype.attachDepthStencilBuffer = function (e) {
          if (e) {
            var i = e.descriptor;

            if (34041 !== i.internalFormat && 33189 !== i.internalFormat && console.error("Depth/Stencil buffer must have correct internalFormat"), t._validateBufferDimensions(i, this._desc), this._disposeDepthStencilAttachments(), this._desc.depthStencilTarget = 34041 === i.internalFormat ? 3 : 1, this._initialized) {
              this._context.bindFramebuffer(this);

              var r = this._context.gl,
                  n = 1 === this._desc.depthStencilTarget ? r.DEPTH_ATTACHMENT : r.DEPTH_STENCIL_ATTACHMENT;
              r.framebufferRenderbuffer(r.FRAMEBUFFER, n, r.RENDERBUFFER, e.glName);
            }

            this._depthAttachment = e;
          }
        }, t.prototype.detachDepthStencilBuffer = function () {
          var t = this._context.gl,
              e = this._depthAttachment;

          if (e && this._initialized) {
            this._context.bindFramebuffer(this);

            var i = 1 === this._desc.depthStencilTarget ? t.DEPTH_ATTACHMENT : t.DEPTH_STENCIL_ATTACHMENT;
            t.framebufferRenderbuffer(t.FRAMEBUFFER, i, t.RENDERBUFFER, null);
          }

          return this._depthAttachment = null, e;
        }, t.prototype.copyToTexture = function (t, e, i, r, n, h, o) {
          (t < 0 || e < 0 || n < 0 || h < 0) && console.error("Offsets cannot be negative!"), (i <= 0 || r <= 0) && console.error("Copy width and height must be greater than zero!");
          var s = this._desc,
              c = o.descriptor;
          3553 !== o.descriptor.target && console.error("Texture target must be TEXTURE_2D!"), (t + i > s.width || e + r > s.height || n + i > c.width || h + r > c.height) && console.error("Bad dimensions, the current input values will attempt to read or copy out of bounds!");
          var a = this._context;
          a.bindTexture(o), a.bindFramebuffer(this), a.gl.copyTexSubImage2D(3553, 0, n, h, t, e, i, r);
        }, t.prototype.readPixels = function (t, e, i, r, n, h, o) {
          (i <= 0 || r <= 0) && console.error("Copy width and height must be greater than zero!"), o || console.error("Target memory is not initialized!"), this._context.bindFramebuffer(this), this._context.gl.readPixels(t, e, i, r, n, h, o);
        }, t.prototype.resize = function (e, i) {
          var r = this._desc;

          if (r.width !== e || r.height !== i) {
            if (!this._initialized) {
              if (r.width = e, r.height = i, this._colorAttachment instanceof n) {
                var h = this._colorAttachment;
                h.resize(e, i);
              }

              return void (this._depthStencilTexture && this._depthStencilTexture.resize(e, i));
            }

            if (r.width = e, r.height = i, this._colorAttachment instanceof n) {
              var h = this._colorAttachment,
                  o = h.descriptor;
              o.width = e, o.height = i, this._colorAttachment.dispose(), this._colorAttachment = new n(this._context, o), t._validateTextureDimensions(h.descriptor, this._desc);
            } else this._colorAttachment && this._disposeColorAttachment();

            if (null != this._depthStencilTexture) {
              var o = this._depthStencilTexture.descriptor;
              o.width = e, o.height = i, this._depthStencilTexture.dispose(), this._depthStencilTexture = new n(this._context, o);
            } else (this._depthAttachment || this._stencilAttachment) && this._disposeDepthStencilAttachments();

            this._context.getBoundFramebufferObject() === this && this._context.bindFramebuffer(null), this._initialized = !1;
          }
        }, t.prototype.initialize = function () {
          if (this._initialized) return !1;
          var t = this._context.gl;
          this._glName && t.deleteFramebuffer(this._glName);
          var e = t.createFramebuffer(),
              i = this._desc;
          if (t.bindFramebuffer(t.FRAMEBUFFER, e), !this._colorAttachment) if (0 === i.colorTarget) {
            var h = {
              target: 3553,
              pixelFormat: 6408,
              dataType: 5121,
              samplingMode: 9728,
              wrapMode: 33071,
              width: i.width,
              height: i.height
            };
            this._colorAttachment = new n(this._context, h);
          } else {
            var o = new r(this._context, {
              internalFormat: 32854,
              width: i.width,
              height: i.height
            });
            t.framebufferRenderbuffer(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.RENDERBUFFER, o.glName), this._colorAttachment = o;
          }

          if (this._colorAttachment instanceof n) {
            var s = this._colorAttachment;
            t.framebufferTexture2D(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, s.glName, 0);
          }

          switch (i.depthStencilTarget) {
            case 1:
            case 3:
              this._depthAttachment || (this._depthAttachment = new r(this._context, {
                internalFormat: 1 === i.depthStencilTarget ? 33189 : 34041,
                width: i.width,
                height: i.height
              }));
              var c = 1 === i.depthStencilTarget ? t.DEPTH_ATTACHMENT : t.DEPTH_STENCIL_ATTACHMENT;
              t.framebufferRenderbuffer(t.FRAMEBUFFER, c, t.RENDERBUFFER, this._depthAttachment.glName);
              break;

            case 2:
              this._stencilAttachment || (this._stencilAttachment = new r(this._context, {
                internalFormat: 36168,
                width: i.width,
                height: i.height
              })), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.STENCIL_ATTACHMENT, t.RENDERBUFFER, this._stencilAttachment.glName);
              break;

            case 4:
              if (!this._depthStencilTexture) {
                this._context.capabilities.depthTexture || console.error("Extension WEBGL_depth_texture isn't supported therefore it is no possible to set the depth/stencil texture as an attachment!");
                var a = {
                  target: 3553,
                  pixelFormat: 34041,
                  dataType: 34042,
                  samplingMode: 9728,
                  wrapMode: 33071,
                  width: i.width,
                  height: i.height
                };
                this._depthStencilTexture = new n(this._context, a);
              }

              t.framebufferTexture2D(t.FRAMEBUFFER, t.DEPTH_STENCIL_ATTACHMENT, t.TEXTURE_2D, this._depthStencilTexture.glName, 0);
          }

          return t.checkFramebufferStatus(t.FRAMEBUFFER) !== t.FRAMEBUFFER_COMPLETE && console.error("Framebuffer is incomplete!"), this._glName = e, this._initialized = !0, !0;
        }, t.prototype._disposeColorAttachment = function () {
          if (this._colorAttachment instanceof n) {
            var t = this._colorAttachment;

            if (this._initialized) {
              this._context.bindFramebuffer(this);

              var e = this._context.gl;
              e.framebufferTexture2D(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.TEXTURE_2D, null, 0);
            }

            t.dispose();
          } else if (this._colorAttachment instanceof WebGLRenderbuffer) {
            var i = this._colorAttachment,
                e = this._context.gl;
            this._initialized && (this._context.bindFramebuffer(this), e.framebufferRenderbuffer(e.FRAMEBUFFER, e.COLOR_ATTACHMENT0, e.RENDERBUFFER, null)), this._context.gl.deleteRenderbuffer(i);
          }

          this._colorAttachment = null;
        }, t.prototype._disposeDepthStencilAttachments = function () {
          var t = this._context.gl;

          if (this._depthAttachment) {
            if (this._initialized) {
              this._context.bindFramebuffer(this);

              var e = 1 === this._desc.depthStencilTarget ? t.DEPTH_ATTACHMENT : t.DEPTH_STENCIL_ATTACHMENT;
              t.framebufferRenderbuffer(t.FRAMEBUFFER, e, t.RENDERBUFFER, null);
            }

            this._depthAttachment.dispose(), this._depthAttachment = null;
          }

          this._stencilAttachment && (this._initialized && (this._context.bindFramebuffer(this), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.STENCIL_ATTACHMENT, t.RENDERBUFFER, null)), this._stencilAttachment.dispose(), this._stencilAttachment = null), this._depthStencilTexture && (this._initialized && (this._context.bindFramebuffer(this), t.framebufferTexture2D(t.FRAMEBUFFER, t.DEPTH_STENCIL_ATTACHMENT, t.TEXTURE_2D, null, 0)), this._depthStencilTexture.dispose(), this._depthStencilTexture = null);
        }, t._validateBufferDimensions = function (t, e) {
          console.assert(t.width >= 0 && t.height >= 0), void 0 !== e.width && e.width >= 0 && void 0 !== e.height && e.height >= 0 ? e.width === t.width && e.height === t.height || console.error("Renderbuffer dimensions must match the framebuffer's!") : (e.width = t.width, e.height = t.height);
        }, t._validateTextureDimensions = function (t, e) {
          console.assert(t.width >= 0 && t.height >= 0), 3553 !== t.target && console.error("Texture type must be TEXTURE_2D!"), void 0 !== e.width && e.width >= 0 && void 0 !== e.height && e.height >= 0 ? e.width === t.width && e.height === t.height || console.error("Color attachment texture must match the framebuffer's!") : (e.width = t.width, e.height = t.height);
        }, t._nextId = 0, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/InstanceCounter.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/InstanceCounter.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglInstanceCounterJs(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 (n, t) {
      return function () {
        function n() {
          this._instanceCount = {
            textureCount: 0,
            bufferCount: 0,
            vaoCount: 0,
            programCount: 0,
            framebufferCount: 0,
            renderBufferCount: 0
          };
        }

        return n.prototype.incrementCount = function (n) {
          switch (n) {
            case 0:
              this._instanceCount.textureCount++;
              break;

            case 1:
              this._instanceCount.bufferCount++;
              break;

            case 2:
              this._instanceCount.vaoCount++;
              break;

            case 3:
              this._instanceCount.programCount++;
              break;

            case 4:
              this._instanceCount.framebufferCount++;
              break;

            case 5:
              this._instanceCount.renderBufferCount++;
          }
        }, n.prototype.decrementCount = function (n) {
          switch (n) {
            case 0:
              this._instanceCount.textureCount--;
              break;

            case 1:
              this._instanceCount.bufferCount--;
              break;

            case 2:
              this._instanceCount.vaoCount--;
              break;

            case 3:
              this._instanceCount.programCount--;
              break;

            case 4:
              this._instanceCount.framebufferCount--;
              break;

            case 5:
              this._instanceCount.renderBufferCount--;
          }
        }, n.prototype.printResourceCount = function () {
          console.log("Live objects:"), console.log("Textures: " + this._instanceCount.textureCount), console.log("Buffers: " + this._instanceCount.bufferCount), console.log("VAOs: " + this._instanceCount.vaoCount), console.log("Programs: " + this._instanceCount.programCount), console.log("Framebuffers: " + this._instanceCount.framebufferCount), console.log("Renderbuffers: " + this._instanceCount.renderBufferCount);
        }, n;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/Program.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/Program.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglProgramJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ./ShaderTranspiler */
    "./node_modules/arcgis-js-api/views/webgl/ShaderTranspiler.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, o, i, e, r) {
      function n(t, o) {
        if (e.isNone(t) || t.length !== o.length) return !0;

        for (var i = 0; i < t.length; ++i) if (t[i] !== o[i]) return !0;

        return !1;
      }

      function a(t, o) {
        return !!e.isNone(t) || (9 !== t.length ? n(t, o) : (h && 9 !== o.length && console.error("Matrix object must contain 16 elements!"), 9 !== t.length || t[0] !== o[0] || t[1] !== o[1] || t[2] !== o[2] || t[3] !== o[3] || t[4] !== o[4] || t[5] !== o[5] || t[6] !== o[6] || t[7] !== o[7] || t[8] !== o[8]));
      }

      function s(t, o) {
        return !!e.isNone(t) || (16 !== t.length ? n(t, o) : (h && 16 !== o.length && console.error("Matrix object must contain 16 elements!"), 16 !== t.length || t[0] !== o[0] || t[1] !== o[1] || t[2] !== o[2] || t[3] !== o[3] || t[4] !== o[4] || t[5] !== o[5] || t[6] !== o[6] || t[7] !== o[7] || t[8] !== o[8] || t[9] !== o[9] || t[10] !== o[10] || t[11] !== o[11] || t[12] !== o[12] || t[13] !== o[13] || t[14] !== o[14] || t[15] !== o[15]));
      }

      var h = i("dojo-debug-messages");
      return function () {
        function t(o, e, r, n, a) {
          if (void 0 === a && (a = {}), this._context = null, this._glName = null, this._locations = {}, this._id = void 0, this._initialized = !1, this._vShader = null, this._fShader = null, this._defines = {}, this._nameToUniformLocation = {}, this._nameToAttribLocation = {}, this._nameToUniform1 = {}, this._nameToUniform1v = {}, this._nameToUniform2 = {}, this._nameToUniform3 = {}, this._nameToUniform4 = {}, this._nameToUniformMatrix3 = {}, this._nameToUniformMatrix4 = {}, o || console.error("RenderingContext isn't initialized!"), 0 === e.length && console.error("Shaders source should not be empty!"), this._context = o, this._vertexShaderSource = e, this._fragmentShaderSource = r, Array.isArray(a)) for (var s = 0, h = a; s < h.length; s++) {
            var f = h[s];
            this._defines[f] = "1";
          } else this._defines = a;
          this._id = t._nextId++, this._locations = n, i("esri-webgl-debug") && o.instanceCounter.incrementCount(3);
        }

        return Object.defineProperty(t.prototype, "id", {
          get: function get() {
            return this._id;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "glName", {
          get: function get() {
            return this._glName;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "locations", {
          get: function get() {
            return this._locations;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.getDefine = function (t) {
          return this._defines[t];
        }, t.prototype.dispose = function () {
          if (this._context) {
            var t = this._context.gl;

            if (this._vShader) {
              var o = this._vShader;
              t.deleteShader(o), this._vShader = null;
            }

            if (this._fShader) {
              var e = this._fShader;
              t.deleteShader(e), this._fShader = null;
            }

            this._glName && (t.deleteProgram(this._glName), this._glName = null), i("esri-webgl-debug") && this._context.instanceCounter.decrementCount(3), this._context = null;
          }
        }, t.prototype.initialize = function () {
          if (!this._initialized) {
            this._vShader = this._loadShader(35633), this._fShader = this._loadShader(35632), this._vShader && this._fShader || console.error("Error loading shaders!");
            var t = this._context.gl,
                o = t.createProgram();
            t.attachShader(o, this._vShader), t.attachShader(o, this._fShader);

            for (var e in this._locations) {
              var r = this._locations[e];
              t.bindAttribLocation(o, r, e);
            }

            t.linkProgram(o), i("esri-validate-shaders") && !t.getProgramParameter(o, t.LINK_STATUS) && console.error("Could not initialize shader\nVALIDATE_STATUS: " + t.getProgramParameter(o, t.VALIDATE_STATUS) + ", gl error [" + t.getError() + "]infoLog: " + t.getProgramInfoLog(o)), this._glName = o, this._initialized = !0;
          }
        }, t.prototype.getUniformLocation = function (t) {
          return this.initialize(), void 0 === this._nameToUniformLocation[t] && (this._nameToUniformLocation[t] = this._context.gl.getUniformLocation(this._glName, t)), this._nameToUniformLocation[t];
        }, t.prototype.hasUniform = function (t) {
          return null !== this.getUniformLocation(t);
        }, t.prototype.getAttribLocation = function (t) {
          return this.initialize(), void 0 === this._nameToAttribLocation[t] && (this._nameToAttribLocation[t] = this._context.gl.getAttribLocation(this._glName, t)), this._nameToAttribLocation[t];
        }, t.prototype.setUniform1i = function (t, o) {
          var i = this._nameToUniform1[t];

          if (void 0 === i || o !== i) {
            this._context.bindProgram(this);

            this._context.gl.uniform1i(this.getUniformLocation(t), o), this._nameToUniform1[t] = o;
          }
        }, t.prototype.setUniform1iv = function (o, i) {
          var e = this._nameToUniform1v[o];

          if (n(e, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniform1iv(this.getUniformLocation(o), i), void 0 === e ? this._nameToUniform1v[o] = t._arrayCopy(i) : t._arrayAssign(i, e);
          }
        }, t.prototype.setUniform1f = function (t, o) {
          var i = this._nameToUniform1[t];

          if (void 0 === i || o !== i) {
            this._context.bindProgram(this);

            this._context.gl.uniform1f(this.getUniformLocation(t), o), this._nameToUniform1[t] = o;
          }
        }, t.prototype.setUniform1fv = function (o, i) {
          var e = this._nameToUniform1v[o];

          if (n(e, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniform1fv(this.getUniformLocation(o), i), void 0 === e ? this._nameToUniform1v[o] = t._arrayCopy(i) : t._arrayAssign(i, e);
          }
        }, t.prototype.setUniform2f = function (t, o, i) {
          var e = this._nameToUniform2[t];

          if (void 0 === e || o !== e[0] || i !== e[1]) {
            this._context.bindProgram(this);

            this._context.gl.uniform2f(this.getUniformLocation(t), o, i), void 0 === e ? this._nameToUniform2[t] = [o, i] : (e[0] = o, e[1] = i);
          }
        }, t.prototype.setUniform2fv = function (o, i) {
          h && i.length % 2 != 0 && console.error("Value array must have even number of elements!");
          var e = this._nameToUniform2[o];

          if (n(e, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniform2fv(this.getUniformLocation(o), i), void 0 === e ? this._nameToUniform2[o] = t._arrayCopy(i) : t._arrayAssign(i, e);
          }
        }, t.prototype.setUniform3f = function (t, o, i, e) {
          var r = this._nameToUniform3[t];

          if (void 0 === r || o !== r[0] || i !== r[1] || e !== r[2]) {
            this._context.bindProgram(this);

            this._context.gl.uniform3f(this.getUniformLocation(t), o, i, e), void 0 === r ? this._nameToUniform3[t] = [o, i, e] : (r[0] = o, r[1] = i, r[2] = e);
          }
        }, t.prototype.setUniform3fv = function (o, i) {
          h && i.length % 3 != 0 && console.error("Value array must contain sets of three values!");
          var e = this._nameToUniform3[o];

          if (n(e, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniform3fv(this.getUniformLocation(o), i), void 0 === e ? this._nameToUniform3[o] = t._arrayCopy(i) : t._arrayAssign(i, e);
          }
        }, t.prototype.setUniform4f = function (t, o, i, e, r) {
          var n = this._nameToUniform4[t];

          if (void 0 === n || o !== n[0] || i !== n[1] || e !== n[2] || r !== n[3]) {
            this._context.bindProgram(this);

            this._context.gl.uniform4f(this.getUniformLocation(t), o, i, e, r), void 0 === n ? this._nameToUniform4[t] = [o, i, e, r] : (n[0] = o, n[1] = i, n[2] = e, n[3] = r);
          }
        }, t.prototype.setUniform4fv = function (o, i) {
          h && i.length % 4 != 0 && console.error("Value array must contain sets of four values!");
          var e = this._nameToUniform4[o];

          if (n(e, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniform4fv(this.getUniformLocation(o), i), void 0 === e ? this._nameToUniform4[o] = t._arrayCopy(i) : t._arrayAssign(i, e);
          }
        }, t.prototype.setUniformMatrix3fv = function (o, i, e) {
          void 0 === e && (e = !1), h && i.length % 9 != 0 && console.error("Matrix array must contain sets ot 9 elements!");
          var r = this._nameToUniformMatrix3[o];

          if (a(r, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniformMatrix3fv(this.getUniformLocation(o), e, i), void 0 === r ? this._nameToUniformMatrix3[o] = t._arrayCopy(i) : t._arrayAssign(i, r);
          }
        }, t.prototype.setUniformMatrix4fv = function (o, i, e) {
          void 0 === e && (e = !1), h && i.length % 16 != 0 && console.error("Matrix array must contain sets ot 16 elements!");
          var r = this._nameToUniformMatrix4[o];

          if (s(r, i)) {
            this._context.bindProgram(this);

            this._context.gl.uniformMatrix4fv(this.getUniformLocation(o), e, i), void 0 === r ? this._nameToUniformMatrix4[o] = t._arrayCopy(i) : t._arrayAssign(i, r);
          }
        }, t.prototype.assertCompatibleVertexAttributeLocations = function (t) {
          var o = t.locations === this.locations;
          return o || console.error("VertexAttributeLocations are incompatible"), o;
        }, t._padToThree = function (t) {
          var o = t.toString();
          return t < 1e3 && (o = ("  " + t).slice(-3)), o;
        }, t.prototype._addLineNumbers = function (o) {
          var i = 2;
          return o.replace(/\n/g, function () {
            return "\n" + t._padToThree(i++) + ":";
          });
        }, t.prototype._loadShader = function (t) {
          var o = 35633 === t,
              e = o ? this._vertexShaderSource : this._fragmentShaderSource,
              n = e,
              a = "";

          for (var s in this._defines) a += "#define " + s + " " + this._defines[s] + "\n";

          n = a + n, "webgl2" === this._context.contextVersion && (n = r.transpileShader(n, o ? "vertex" : "fragment"));
          var h = this._context.gl,
              f = h.createShader(t);
          return h.shaderSource(f, n), h.compileShader(f), i("esri-validate-shaders") && !h.getShaderParameter(f, h.COMPILE_STATUS) && (console.error("Compile error in ".concat(o ? "vertex" : "fragment", " shader")), console.error(h.getShaderInfoLog(f)), console.error(this._addLineNumbers(n)), "webgl2" === this._context.contextVersion && (console.log("Shader source before transpilation:"), console.log(e))), f;
        }, t._arrayCopy = function (t) {
          for (var o = [], i = 0; i < t.length; ++i) o.push(t[i]);

          return o;
        }, t._arrayAssign = function (t, o) {
          for (var i = 0; i < t.length; ++i) o[i] = t[i];
        }, t._nextId = 0, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/ProgramCache.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/ProgramCache.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglProgramCacheJs(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__(
    /*! ./programUtils */
    "./node_modules/arcgis-js-api/views/webgl/programUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, t, e) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var a = function () {
        function r(r) {
          this._programCacheByTemplate = new Map(), this._rctx = r;
        }

        return r.prototype.dispose = function () {
          this._programCacheByTemplate.forEach(function (r) {
            r.programs.forEach(function (r) {
              r.dispose();
            });
          }), this._programCacheByTemplate = null;
        }, r.prototype.getProgram = function (r, t) {
          var a = this;
          return this._programCacheByTemplate.has(r) || this.addProgramTemplate(r, function (t) {
            return e.createProgram(a._rctx, r, t);
          }), this.getProgramTemplateInstance(r, t);
        }, r.prototype.addProgramTemplate = function (r, t) {
          this._programCacheByTemplate.set(r, {
            constructor: t,
            programs: new Map()
          });
        }, r.prototype.getProgramTemplateInstance = function (r, t) {
          var e = this._programCacheByTemplate.get(r);

          if (e) {
            var a = t ? JSON.stringify(t) : "default";

            if (!e.programs.has(a)) {
              var o = e.constructor(t);
              e.programs.set(a, o);
            }

            return e.programs.get(a);
          }

          return null;
        }, r;
      }();

      t.ProgramCache = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/Renderbuffer.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/Renderbuffer.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglRenderbufferJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n) {
      return function () {
        function e(t, i) {
          this._context = t, this._desc = i, this._glName = null, this._id = -1;
          var r = this._context.gl;
          n("esri-webgl-debug") && this._context.instanceCounter.incrementCount(5), this._id = ++e._nextId, this._glName = r.createRenderbuffer(), this._context.bindRenderbuffer(this), r.renderbufferStorage(r.RENDERBUFFER, i.internalFormat, i.width, i.height);
        }

        return Object.defineProperty(e.prototype, "descriptor", {
          get: function get() {
            return this._desc;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "id", {
          get: function get() {
            return this._id;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "glName", {
          get: function get() {
            return this._glName;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.resize = function (e, t) {
          var n = this._context.gl,
              i = this._desc;
          i.width === e && i.height === t || (i.width = e, i.height = t, this._context.bindRenderbuffer(this), n.renderbufferStorage(n.RENDERBUFFER, i.internalFormat, i.width, i.height));
        }, e.prototype.dispose = function () {
          if (this._glName) {
            this._context.gl.deleteRenderbuffer(this._glName), this._glName = null;
          }

          n("esri-webgl-debug") && this._context && this._context.instanceCounter.decrementCount(5), this._context = null;
        }, e._nextId = 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/webgl/RenderingContext.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/RenderingContext.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglRenderingContextJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ./enums */
    "./node_modules/arcgis-js-api/views/webgl/enums.js"), __webpack_require__(
    /*! ./InstanceCounter */
    "./node_modules/arcgis-js-api/views/webgl/InstanceCounter.js"), __webpack_require__(
    /*! ./renderState */
    "./node_modules/arcgis-js-api/views/webgl/renderState.js"), __webpack_require__(
    /*! ./capabilities/isWebGL2Context */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js"), __webpack_require__(
    /*! ./capabilities/load */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/load.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, s, n, a, l, r, o) {
      function h(t, e) {
        switch (t) {
          case 0:
            return 2 * e;

          case 4:
            return e / 3;

          case 5:
          case 6:
            return e - 2;
        }

        return 0;
      }

      return function () {
        function t(t, e) {
          var s = this;
          this.gl = null, this._blendEnabled = !1, this._blendColorState = {
            r: 0,
            g: 0,
            b: 0,
            a: 0
          }, this._blendFunctionState = {
            srcRGB: 1,
            dstRGB: 0,
            srcAlpha: 1,
            dstAlpha: 0
          }, this._blendEquationState = {
            mode: 32774,
            modeAlpha: 32774
          }, this._colorMaskState = {
            r: !0,
            g: !0,
            b: !0,
            a: !0
          }, this._polygonCullingEnabled = !1, this._cullFace = 1029, this._frontFace = 2305, this._scissorTestEnabled = !1, this._scissorRect = {
            x: 0,
            y: 0,
            width: 0,
            height: 0
          }, this._depthTestEnabled = !1, this._depthFunction = 513, this._clearDepth = 1, this._depthWriteEnabled = !0, this._depthRange = {
            zNear: 0,
            zFar: 1
          }, this._viewport = null, this._stencilTestEnabled = !1, this._polygonOffsetFillEnabled = !1, this._polygonOffset = [0, 0], this._stencilFunction = {
            face: 1032,
            func: 519,
            ref: 0,
            mask: 1
          }, this._clearStencil = 0, this._stencilWriteMask = 1, this._stencilOperation = {
            face: 1032,
            fail: 7680,
            zFail: 7680,
            zPass: 7680
          }, this._clearColor = {
            r: 0,
            g: 0,
            b: 0,
            a: 0
          }, this._activeShaderProgram = null, this._activeVertexBuffer = null, this._activeIndexBuffer = null, this._activeFramebuffer = null, this._activeRenderbuffer = null, this._activeTextureUnit = 0, this._textureUnitMap = {}, this._numOfDrawCalls = 0, this._numOfTriangles = 0, this.contextVersion = r["default"](t) ? "webgl2" : "webgl", this.gl = t, t instanceof WebGLRenderingContext && this.gl.getExtension("OES_element_index_uint"), this._capabilities = o.loadCapabilities(t, e);
          var n = this.gl.getParameter(this.gl.VIEWPORT);
          this._viewport = {
            x: n[0],
            y: n[1],
            width: n[2],
            height: n[3]
          }, i("esri-webgl-debug") && (this.instanceCounter = new a()), this._stateTracker = new l.StateTracker({
            setBlending: function setBlending(t) {
              if (t) {
                s.setBlendingEnabled(!0), s.setBlendEquationSeparate(t.opRgb, t.opAlpha), s.setBlendFunctionSeparate(t.srcRgb, t.dstRgb, t.srcAlpha, t.dstAlpha);
                var e = t.color;
                s.setBlendColor(e.r, e.g, e.b, e.a);
              } else s.setBlendingEnabled(!1);
            },
            setCulling: function setCulling(t) {
              t ? (s.setFaceCullingEnabled(!0), s.setCullFace(t.face), s.setFrontFace(t.mode)) : s.setFaceCullingEnabled(!1);
            },
            setPolygonOffset: function setPolygonOffset(t) {
              t ? (s.setPolygonOffsetFillEnabled(!0), s.setPolygonOffset(t.factor, t.units)) : s.setPolygonOffsetFillEnabled(!1);
            },
            setDepthTest: function setDepthTest(t) {
              t ? (s.setDepthTestEnabled(!0), s.setDepthFunction(t.func)) : s.setDepthTestEnabled(!1);
            },
            setStencilTest: function setStencilTest(t) {
              if (t) {
                s.setStencilTestEnabled(!0);
                var e = t["function"];
                s.setStencilFunction(e.func, e.ref, e.mask);
                var i = t.operation;
                s.setStencilOp(i.fail, i.zFail, i.zPass);
              } else s.setStencilTestEnabled(!1);
            },
            setDepthWrite: function setDepthWrite(t) {
              t ? (s.setDepthWriteEnabled(!0), s.setDepthRange(t.zNear, t.zFar)) : s.setDepthWriteEnabled(!1);
            },
            setColorWrite: function setColorWrite(t) {
              t ? s.setColorMask(t.r, t.g, t.b, t.a) : s.setColorMask(!1, !1, !1, !1);
            },
            setStencilWrite: function setStencilWrite(t) {
              t ? s.setStencilWriteMask(t.mask) : s.setStencilWriteMask(0);
            }
          }), this.enforceState();
        }

        return Object.defineProperty(t.prototype, "contextAttributes", {
          get: function get() {
            return this.gl.getContextAttributes();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "parameters", {
          get: function get() {
            if (!this._parameters) {
              var t = this.capabilities.textureFilterAnisotropic;
              this._parameters = {
                versionString: this.gl.getParameter(this.gl.VERSION),
                maxVertexTextureImageUnits: this.gl.getParameter(this.gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS),
                maxVertexAttributes: this.gl.getParameter(this.gl.MAX_VERTEX_ATTRIBS),
                maxMaxAnisotropy: t ? this.gl.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY) : void 0,
                maxTextureImageUnits: this.gl.getParameter(this.gl.MAX_TEXTURE_IMAGE_UNITS)
              };
            }

            return this._parameters;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.dispose = function () {
          this.bindVAO(null), this.unbindBuffer(34962), this.unbindBuffer(34963), this._textureUnitMap = {}, i("esri-webgl-debug") && this.instanceCounter.printResourceCount(), this.gl = null;
        }, t.prototype.setPipelineState = function (t) {
          this._stateTracker.setPipeline(t);
        }, t.prototype.setBlendingEnabled = function (t) {
          this._blendEnabled !== t && (!0 === t ? this.gl.enable(this.gl.BLEND) : this.gl.disable(this.gl.BLEND), this._blendEnabled = t, this._stateTracker.invalidateBlending());
        }, t.prototype.setBlendColor = function (t, e, i, s) {
          t === this._blendColorState.r && e === this._blendColorState.g && i === this._blendColorState.b && s === this._blendColorState.a || (this.gl.blendColor(t, e, i, s), this._blendColorState.r = t, this._blendColorState.g = e, this._blendColorState.b = i, this._blendColorState.a = s, this._stateTracker.invalidateBlending());
        }, t.prototype.setBlendFunction = function (t, e) {
          t === this._blendFunctionState.srcRGB && e === this._blendFunctionState.dstRGB || (this.gl.blendFunc(t, e), this._blendFunctionState.srcRGB = t, this._blendFunctionState.srcAlpha = t, this._blendFunctionState.dstRGB = e, this._blendFunctionState.dstAlpha = e, this._stateTracker.invalidateBlending());
        }, t.prototype.setBlendFunctionSeparate = function (t, e, i, s) {
          this._blendFunctionState.srcRGB === t && this._blendFunctionState.srcAlpha === i && this._blendFunctionState.dstRGB === e && this._blendFunctionState.dstAlpha === s || (this.gl.blendFuncSeparate(t, e, i, s), this._blendFunctionState.srcRGB = t, this._blendFunctionState.srcAlpha = i, this._blendFunctionState.dstRGB = e, this._blendFunctionState.dstAlpha = s, this._stateTracker.invalidateBlending());
        }, t.prototype.setBlendEquation = function (t) {
          this._blendEquationState.mode !== t && (this.gl.blendEquation(t), this._blendEquationState.mode = t, this._blendEquationState.modeAlpha = t, this._stateTracker.invalidateBlending());
        }, t.prototype.setBlendEquationSeparate = function (t, e) {
          this._blendEquationState.mode === t && this._blendEquationState.modeAlpha === e || (this.gl.blendEquationSeparate(t, e), this._blendEquationState.mode = t, this._blendEquationState.modeAlpha = e, this._stateTracker.invalidateBlending());
        }, t.prototype.setColorMask = function (t, e, i, s) {
          this._colorMaskState.r === t && this._colorMaskState.g === e && this._colorMaskState.b === i && this._colorMaskState.a === s || (this.gl.colorMask(t, e, i, s), this._colorMaskState.r = t, this._colorMaskState.g = e, this._colorMaskState.b = i, this._colorMaskState.a = s, this._stateTracker.invalidateColorWrite());
        }, t.prototype.setClearColor = function (t, e, i, s) {
          this._clearColor.r === t && this._clearColor.g === e && this._clearColor.b === i && this._clearColor.a === s || (this.gl.clearColor(t, e, i, s), this._clearColor.r = t, this._clearColor.g = e, this._clearColor.b = i, this._clearColor.a = s);
        }, t.prototype.setFaceCullingEnabled = function (t) {
          this._polygonCullingEnabled !== t && (!0 === t ? this.gl.enable(this.gl.CULL_FACE) : this.gl.disable(this.gl.CULL_FACE), this._polygonCullingEnabled = t, this._stateTracker.invalidateCulling());
        }, t.prototype.setPolygonOffsetFillEnabled = function (t) {
          this._polygonOffsetFillEnabled !== t && (!0 === t ? this.gl.enable(this.gl.POLYGON_OFFSET_FILL) : this.gl.disable(this.gl.POLYGON_OFFSET_FILL), this._polygonOffsetFillEnabled = t, this._stateTracker.invalidatePolygonOffset());
        }, t.prototype.setPolygonOffset = function (t, e) {
          this._polygonOffset[0] === t && this._polygonOffset[1] === e || (this._polygonOffset[0] = t, this._polygonOffset[1] = e, this.gl.polygonOffset(t, e), this._stateTracker.invalidatePolygonOffset());
        }, t.prototype.setCullFace = function (t) {
          this._cullFace !== t && (this.gl.cullFace(t), this._cullFace = t, this._stateTracker.invalidateCulling());
        }, t.prototype.setFrontFace = function (t) {
          this._frontFace !== t && (this.gl.frontFace(t), this._frontFace = t, this._stateTracker.invalidateCulling());
        }, t.prototype.setScissorTestEnabled = function (t) {
          this._scissorTestEnabled !== t && (!0 === t ? this.gl.enable(this.gl.SCISSOR_TEST) : this.gl.disable(this.gl.SCISSOR_TEST), this._scissorTestEnabled = t);
        }, t.prototype.setScissorRect = function (t, e, i, s) {
          this._scissorRect.x === t && this._scissorRect.y === e && this._scissorRect.width === i && this._scissorRect.height === s || (this.gl.scissor(t, e, i, s), this._scissorRect.x = t, this._scissorRect.y = e, this._scissorRect.width = i, this._scissorRect.height = s);
        }, t.prototype.setDepthTestEnabled = function (t) {
          this._depthTestEnabled !== t && (!0 === t ? this.gl.enable(this.gl.DEPTH_TEST) : this.gl.disable(this.gl.DEPTH_TEST), this._depthTestEnabled = t, this._stateTracker.invalidateDepthTest());
        }, t.prototype.setClearDepth = function (t) {
          this._clearDepth !== t && (this.gl.clearDepth(t), this._clearDepth = t);
        }, t.prototype.setDepthFunction = function (t) {
          this._depthFunction !== t && (this.gl.depthFunc(t), this._depthFunction = t, this._stateTracker.invalidateDepthTest());
        }, t.prototype.setDepthWriteEnabled = function (t) {
          this._depthWriteEnabled !== t && (this.gl.depthMask(t), this._depthWriteEnabled = t, this._stateTracker.invalidateDepthWrite());
        }, t.prototype.setDepthRange = function (t, e) {
          this._depthRange.zNear === t && this._depthRange.zFar === e || (this.gl.depthRange(t, e), this._depthRange.zNear = t, this._depthRange.zFar = e, this._stateTracker.invalidateDepthWrite());
        }, t.prototype.setStencilTestEnabled = function (t) {
          this._stencilTestEnabled !== t && (!0 === t ? this.gl.enable(this.gl.STENCIL_TEST) : this.gl.disable(this.gl.STENCIL_TEST), this._stencilTestEnabled = t, this._stateTracker.invalidateStencilTest());
        }, t.prototype.setClearStencil = function (t) {
          t !== this._clearStencil && (this.gl.clearStencil(t), this._clearStencil = t);
        }, t.prototype.setStencilFunction = function (t, e, i) {
          this._stencilFunction.func === t && this._stencilFunction.ref === e && this._stencilFunction.mask === i || (this.gl.stencilFunc(t, e, i), this._stencilFunction.face = 1032, this._stencilFunction.func = t, this._stencilFunction.ref = e, this._stencilFunction.mask = i, this._stateTracker.invalidateStencilTest());
        }, t.prototype.setStencilFunctionSeparate = function (t, e, i, s) {
          this._stencilFunction.face === t && this._stencilFunction.func === e && this._stencilFunction.ref === i && this._stencilFunction.mask === s || (this.gl.stencilFuncSeparate(t, e, i, s), this._stencilFunction.face = t, this._stencilFunction.func = e, this._stencilFunction.ref = i, this._stencilFunction.mask = s, this._stateTracker.invalidateStencilTest());
        }, t.prototype.setStencilWriteMask = function (t) {
          this._stencilWriteMask !== t && (this.gl.stencilMask(t), this._stencilWriteMask = t, this._stateTracker.invalidateStencilWrite());
        }, t.prototype.setStencilOp = function (t, e, i) {
          this._stencilOperation.fail === t && this._stencilOperation.zFail === e && this._stencilOperation.zPass === i || (this.gl.stencilOp(t, e, i), this._stencilOperation.face = 1032, this._stencilOperation.fail = t, this._stencilOperation.zFail = e, this._stencilOperation.zPass = i, this._stateTracker.invalidateStencilTest());
        }, t.prototype.setStencilOpSeparate = function (t, e, i, s) {
          this._stencilOperation.face === t && this._stencilOperation.fail === e && this._stencilOperation.zFail === i && this._stencilOperation.zPass === s || (this.gl.stencilOpSeparate(t, e, i, s), this._stencilOperation.face = t, this._stencilOperation.face = t, this._stencilOperation.fail = e, this._stencilOperation.zFail = i, this._stencilOperation.zPass = s, this._stateTracker.invalidateStencilTest());
        }, t.prototype.setActiveTexture = function (t) {
          var e = this._activeTextureUnit;
          return t >= 0 && t !== this._activeTextureUnit && (this.gl.activeTexture(n.BASE_TEXTURE_UNIT + t), this._activeTextureUnit = t), e;
        }, t.prototype.clear = function (t) {
          t && this.gl.clear(t);
        }, t.prototype.clearSafe = function (t) {
          t && (16384 & t && this.setColorMask(!0, !0, !0, !0), 256 & t && this.setDepthWriteEnabled(!0), 1024 & t && this.setStencilWriteMask(255), this.gl.clear(t));
        }, t.prototype.drawArrays = function (t, e, s) {
          i("esri-webgl-debug") && (this._numOfDrawCalls++, this._numOfTriangles += h(t, s)), this.gl.drawArrays(t, e, s);
        }, t.prototype.drawElements = function (t, e, s, n) {
          if (i("esri-webgl-debug") && (this._numOfDrawCalls++, this._numOfTriangles += h(t, e)), 5123 === s) return void this.gl.drawElements(t, e, s, n);
          5125 === s && this.gl.drawElements(t, e, s, n);
        }, t.prototype.logIno = function () {
          i("esri-webgl-debug") && console.log("DrawCalls: " + this._numOfDrawCalls + ", Triangles: " + this._numOfTriangles);
        }, Object.defineProperty(t.prototype, "capabilities", {
          get: function get() {
            return this._capabilities;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.setViewport = function (t, e, i, s) {
          var n = this._viewport;
          n.x === t && n.y === e && n.width === i && n.height === s || (n.x = t, n.y = e, n.width = i, n.height = s, this.gl.viewport(t, e, i, s));
        }, t.prototype.getViewport = function () {
          return {
            x: this._viewport.x,
            y: this._viewport.y,
            width: this._viewport.width,
            height: this._viewport.height
          };
        }, t.prototype.bindProgram = function (t) {
          if (!t) return this.gl.useProgram(null), void (this._activeShaderProgram = null);
          this._activeShaderProgram !== t && (t.initialize(), this.gl.useProgram(t.glName), this._activeShaderProgram = t);
        }, t.prototype.bindTexture = function (e, i) {
          void 0 === i && (i = 0), -1 === t._MAX_TEXTURE_IMAGE_UNITS && (t._MAX_TEXTURE_IMAGE_UNITS = this.gl.getParameter(this.gl.MAX_TEXTURE_IMAGE_UNITS)), (i >= t._MAX_TEXTURE_IMAGE_UNITS || i < 0) && console.error("Input texture unit is out of range of available units!");
          var s = this._textureUnitMap[i];
          return this.setActiveTexture(i), null == e || null == e.glName ? (null != s && (this.gl.bindTexture(s.descriptor.target, null), s.setBoundToUnit(i, !1)), void (this._textureUnitMap[i] = null)) : s && s.id === e.id ? void e.applyChanges() : (s && s.setBoundToUnit(i, !1), this.gl.bindTexture(e.descriptor.target, e.glName), e.setBoundToUnit(i, !0), e.applyChanges(), void (this._textureUnitMap[i] = e));
        }, t.prototype.bindFramebuffer = function (t) {
          if (s.isNone(t)) return this.gl.bindFramebuffer(this.gl.FRAMEBUFFER, null), void (this._activeFramebuffer = null);
          this._activeFramebuffer !== t && (t.initialize() || this.gl.bindFramebuffer(this.gl.FRAMEBUFFER, t.glName), this._activeFramebuffer = t);
        }, t.prototype.bindBuffer = function (e) {
          e && (34962 === e.bufferType ? this._activeVertexBuffer = t._bindBuffer(this.gl, e, e.bufferType, this._activeVertexBuffer) : this._activeIndexBuffer = t._bindBuffer(this.gl, e, e.bufferType, this._activeIndexBuffer));
        }, t.prototype.bindRenderbuffer = function (t) {
          var e = this.gl;
          t || (e.bindRenderbuffer(e.RENDERBUFFER, null), this._activeRenderbuffer = null), this._activeRenderbuffer !== t && (e.bindRenderbuffer(e.RENDERBUFFER, t.glName), this._activeRenderbuffer = t);
        }, t.prototype.unbindBuffer = function (e) {
          34962 === e ? this._activeVertexBuffer = t._bindBuffer(this.gl, null, e, this._activeVertexBuffer) : this._activeIndexBuffer = t._bindBuffer(this.gl, null, e, this._activeIndexBuffer);
        }, t.prototype.bindVAO = function (t) {
          if (!t) return void (this._activeVertexArrayObject && (this._activeVertexArrayObject.unbind(), this._activeVertexArrayObject = null));
          this._activeVertexArrayObject && this._activeVertexArrayObject.id === t.id || (t.bind(), this._activeVertexArrayObject = t);
        }, t.prototype.getBoundTexture = function (t) {
          return this._textureUnitMap[t];
        }, t.prototype.getBoundFramebufferObject = function () {
          return this._activeFramebuffer;
        }, t.prototype.getBoundVAO = function () {
          return this._activeVertexArrayObject;
        }, t.prototype.resetState = function () {
          this.bindProgram(null), this.bindVAO(null), this.bindFramebuffer(null), this.unbindBuffer(34962), this.unbindBuffer(34963);

          for (var t = 0; t < this.parameters.maxTextureImageUnits; t++) this.bindTexture(null, t);

          this.setBlendingEnabled(!1), this.setBlendFunction(1, 0), this.setBlendEquation(32774), this.setBlendColor(0, 0, 0, 0), this.setFaceCullingEnabled(!1), this.setCullFace(1029), this.setFrontFace(2305), this.setPolygonOffsetFillEnabled(!1), this.setPolygonOffset(0, 0), this.setScissorTestEnabled(!1), this.setScissorRect(0, 0, this.gl.canvas.width, this.gl.canvas.height), this.setDepthTestEnabled(!1), this.setDepthFunction(513), this.setDepthRange(0, 1), this.setStencilTestEnabled(!1), this.setStencilFunction(519, 0, 0), this.setStencilOp(7680, 7680, 7680), this.setClearColor(0, 0, 0, 0), this.setClearDepth(1), this.setClearStencil(0), this.setColorMask(!0, !0, !0, !0), this.setStencilWriteMask(4294967295), this.setDepthWriteEnabled(!0), this.setViewport(0, 0, this.gl.canvas.width, this.gl.canvas.height);
        }, t.prototype.enforceState = function () {
          var t = this.gl,
              e = this.capabilities.vao;
          e && e.bindVertexArray(null);

          for (var s = 0; s < this.parameters.maxVertexAttributes; s++) t.disableVertexAttribArray(s);

          if (this._activeVertexBuffer ? t.bindBuffer(this._activeVertexBuffer.bufferType, this._activeVertexBuffer.glName) : t.bindBuffer(34962, null), this._activeIndexBuffer ? t.bindBuffer(this._activeIndexBuffer.bufferType, this._activeIndexBuffer.glName) : t.bindBuffer(34963, null), e && this._activeVertexArrayObject) {
            var a = this._activeVertexArrayObject;
            this._activeVertexArrayObject && (this._activeVertexArrayObject.unbind(), this._activeVertexArrayObject = null), this.bindVAO(a);
          }

          t.bindFramebuffer(t.FRAMEBUFFER, this._activeFramebuffer ? this._activeFramebuffer.glName : null), t.useProgram(this._activeShaderProgram ? this._activeShaderProgram.glName : null), t.blendColor(this._blendColorState.r, this._blendColorState.g, this._blendColorState.b, this._blendColorState.a), t.bindRenderbuffer(t.RENDERBUFFER, this._activeRenderbuffer ? this._activeRenderbuffer.glName : null), !0 === this._blendEnabled ? t.enable(this.gl.BLEND) : t.disable(this.gl.BLEND), t.blendEquationSeparate(this._blendEquationState.mode, this._blendEquationState.modeAlpha), t.blendFuncSeparate(this._blendFunctionState.srcRGB, this._blendFunctionState.dstRGB, this._blendFunctionState.srcAlpha, this._blendFunctionState.dstAlpha), t.clearColor(this._clearColor.r, this._clearColor.g, this._clearColor.b, this._clearColor.a), t.clearDepth(this._clearDepth), t.clearStencil(this._clearStencil), t.colorMask(this._colorMaskState.r, this._colorMaskState.g, this._colorMaskState.b, this._colorMaskState.a), t.cullFace(this._cullFace), t.depthFunc(this._depthFunction), t.depthRange(this._depthRange.zNear, this._depthRange.zFar), !0 === this._depthTestEnabled ? t.enable(t.DEPTH_TEST) : t.disable(t.DEPTH_TEST), t.depthMask(this._depthWriteEnabled), t.frontFace(this._frontFace), t.lineWidth(1), !0 === this._polygonCullingEnabled ? t.enable(t.CULL_FACE) : t.disable(t.CULL_FACE), t.polygonOffset(this._polygonOffset[0], this._polygonOffset[1]), !0 === this._polygonOffsetFillEnabled ? t.enable(t.POLYGON_OFFSET_FILL) : t.disable(t.POLYGON_OFFSET_FILL), t.scissor(this._scissorRect.x, this._scissorRect.y, this._scissorRect.width, this._scissorRect.height), !0 === this._scissorTestEnabled ? t.enable(t.SCISSOR_TEST) : t.disable(t.SCISSOR_TEST), t.stencilFunc(this._stencilFunction.func, this._stencilFunction.ref, this._stencilFunction.mask), t.stencilOpSeparate(this._stencilOperation.face, this._stencilOperation.fail, this._stencilOperation.zFail, this._stencilOperation.zPass), !0 === this._stencilTestEnabled ? t.enable(t.STENCIL_TEST) : t.disable(t.STENCIL_TEST), t.stencilMask(this._stencilWriteMask);

          for (var l = 0; l < this.parameters.maxTextureImageUnits; l++) {
            t.activeTexture(n.BASE_TEXTURE_UNIT + l), t.bindTexture(3553, null);
            var r = this._textureUnitMap[l];
            r && t.bindTexture(r.descriptor.target, r.glName);
          }

          t.activeTexture(n.BASE_TEXTURE_UNIT + this._activeTextureUnit), t.viewport(this._viewport.x, this._viewport.y, this._viewport.width, this._viewport.height), i("esri-webgl-debug") && (this._numOfDrawCalls = 0, this._numOfTriangles = 0);
        }, t._bindBuffer = function (t, e, i, s) {
          return e ? s === e ? s : (t.bindBuffer(i, e.glName), e) : (t.bindBuffer(i, null), null);
        }, t._MAX_TEXTURE_IMAGE_UNITS = -1, t;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/ShaderCompiler.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/ShaderCompiler.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglShaderCompilerJs(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, t) {
      return function () {
        function e(e) {
          this.readFile = e;
        }

        return e.prototype.resolveIncludes = function (e) {
          return this.resolve(e);
        }, e.prototype.resolve = function (e, t) {
          var r = this;
          if (void 0 === t && (t = new Map()), t.has(e)) return t.get(e);
          var n = this.read(e);
          if (!n) throw new Error("cannot find shader file " + e);

          for (var i = /^[^\S\n]*#include\s+<(\S+)>[^\S\n]?/gm, o = i.exec(n), s = []; null != o;) s.push({
            path: o[1],
            start: o.index,
            length: o[0].length
          }), o = i.exec(n);

          var a = 0,
              u = "";
          return s.forEach(function (e) {
            u += n.slice(a, e.start), u += t.has(e.path) ? "" : r.resolve(e.path, t), a = e.start + e.length;
          }), u += n.slice(a), t.set(e, u), u;
        }, e.prototype.read = function (e) {
          return this.readFile(e);
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/ShaderTranspiler.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/ShaderTranspiler.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglShaderTranspilerJs(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__(
    /*! ./reservedWordsGLSL3 */
    "./node_modules/arcgis-js-api/views/webgl/reservedWordsGLSL3.js"), __webpack_require__(
    /*! ./lib/glsl-tokenizer/string */
    "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/string.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, a, r) {
      function n(e) {
        return r(e);
      }

      function i(e) {
        return e.map(function (e) {
          return "eof" !== e.type ? e.data : "";
        }).join("");
      }

      function o(e, t, a) {
        void 0 === t && (t = "100"), void 0 === a && (a = "300 es");

        for (var r = /^\s*\#version\s+([0-9]+(\s+[a-zA-Z]+)?)\s*/, n = 0, i = e; n < i.length; n++) {
          var o = i[n];

          if ("preprocessor" === o.type) {
            var d = r.exec(o.data);

            if (d) {
              var s = d[1].replace(/\s\s+/g, " ");
              if (s === a) return s;
              if (s === t) return o.data = "#version " + a, t;
              throw new Error("unknown glsl version: " + s);
            }
          }
        }

        return e.splice(0, 0, {
          type: "preprocessor",
          data: "#version " + a
        }, {
          type: "whitespace",
          data: "\n"
        }), null;
      }

      function d(e, t) {
        for (var a = t - 1; a >= 0; a--) {
          var r = e[a];

          if ("whitespace" !== r.type && "block-comment" !== r.type) {
            if ("keyword" !== r.type) break;
            if ("attribute" === r.data || "in" === r.data) return !0;
          }
        }

        return !1;
      }

      function s(e, t, a, r) {
        r = r || a;

        for (var n = 0, i = e; n < i.length; n++) {
          var o = i[n];

          if ("ident" === o.type && o.data === a) {
            r in t ? t[r]++ : t[r] = 0;
            return s(e, t, r + "_" + t[r], r);
          }
        }

        return a;
      }

      function f(e, t, a) {
        function r(e, t) {
          for (var a = t; a < e.length; a++) {
            var r = e[a];
            if ("operator" === r.type && ";" === r.data) return a;
          }

          return null;
        }

        void 0 === a && (a = "afterVersion");

        var n = {
          data: "\n",
          type: "whitespace"
        },
            i = function i(t) {
          return t < e.length && /[^\r\n]$/.test(e[t].data);
        },
            o = function (e) {
          for (var t = -1, n = 0, i = -1, o = 0; o < e.length; o++) {
            var d = e[o];

            if ("preprocessor" === d.type && (d.data.match(/\#(if|ifdef|ifndef)\s+.+/) ? ++n : d.data.match(/\#endif\s*.*/) && --n), "afterVersion" !== a && "afterPrecision" !== a || "preprocessor" === d.type && /^#version/.test(d.data) && (i = Math.max(i, o)), "afterPrecision" === a && "keyword" === d.type && "precision" === d.data) {
              var s = r(e, o);
              if (null === s) throw new Error("precision statement not followed by any semicolons!");
              i = Math.max(i, s);
            }

            t < i && 0 === n && (t = o);
          }

          return t + 1;
        }(e);

        i(o - 1) && e.splice(o++, 0, n);

        for (var d = 0, s = t; d < s.length; d++) {
          var f = s[d];
          e.splice(o++, 0, f);
        }

        i(o - 1) && i(o) && e.splice(o, 0, n);
      }

      function p(e, t, a, r) {
        void 0 === r && (r = "lowp"), f(e, [{
          type: "keyword",
          data: "out"
        }, {
          type: "whitespace",
          data: " "
        }, {
          type: "keyword",
          data: r
        }, {
          type: "whitespace",
          data: " "
        }, {
          type: "keyword",
          data: a
        }, {
          type: "whitespace",
          data: " "
        }, {
          type: "ident",
          data: t
        }, {
          type: "operator",
          data: ";"
        }], "afterPrecision");
      }

      function c(e, t) {
        var r = n(e);
        if ("300 es" === o(r, "100", "300 es")) throw new Error("shader is already glsl 300 es");

        for (var f = null, c = null, u = {}, v = {}, h = 0; h < r.length; ++h) {
          var y = r[h];

          switch (y.type) {
            case "keyword":
              "vertex" === t && "attribute" === y.data ? y.data = "in" : "varying" === y.data && (y.data = "vertex" === t ? "out" : "in");
              break;

            case "builtin":
              /^texture(2D|Cube)(Proj)?(Lod|Grad)?(EXT)?$/.test(y.data.trim()) && (y.data = y.data.replace(/(2D|Cube|EXT)/g, "")), "fragment" === t && "gl_FragColor" === y.data ? (f || (f = s(r, u, "fragColor"), p(r, f, "vec4")), y.data = f) : "fragment" === t && "gl_FragDepthEXT" === y.data && (c || (c = s(r, u, "gl_FragDepth")), y.data = c);
              break;

            case "ident":
              if (a.indexOf(y.data) >= 0) {
                if ("vertex" === t && d(r, h)) throw new Error("attribute in vertex shader uses a name that is a reserved word in glsl 300 es");
                y.data in v || (v[y.data] = s(r, u, y.data)), y.data = v[y.data];
              }

          }
        }

        for (var h = r.length - 1; h >= 0; --h) {
          var y = r[h];

          if ("preprocessor" === y.type) {
            var w = y.data.match(/\#extension\s+(.*)\:/);

            if (w && w[1] && l.indexOf(w[1].trim()) >= 0) {
              var g = r[h + 1];
              r.splice(h, g && "whitespace" === g.type ? 2 : 1);
            }

            var m = y.data.match(/\#ifdef\s+(.*)/);
            m && m[1] && l.indexOf(m[1].trim()) >= 0 && (y.data = "#if 1");

            var _ = y.data.match(/\#ifndef\s+(.*)/);

            _ && _[1] && l.indexOf(_[1].trim()) >= 0 && (y.data = "#if 0");
          }
        }

        return i(r);
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      });
      var l = ["GL_OES_standard_derivatives", "GL_EXT_frag_depth", "GL_EXT_draw_buffers", "GL_EXT_shader_texture_lod"];
      t.transpileShader = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/Texture.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/Texture.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglTextureJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/mathUtils */
    "./node_modules/arcgis-js-api/core/mathUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, a) {
      function o(e) {
        return null != e && "type" in e && "compressed" === e.type;
      }

      return function () {
        function e(t, a, o) {
          this._context = null, this._glName = null, this._id = -1, this._desc = void 0, this._samplingModeDirty = !1, this._wrapModeDirty = !1, this._boundToUnits = new Set(), this._context = t, this._desc = {
            pixelFormat: a.pixelFormat,
            internalFormat: a.internalFormat,
            dataType: a.dataType,
            target: a.target ? a.target : 3553,
            samplingMode: a.samplingMode ? a.samplingMode : 9729,
            wrapMode: a.wrapMode ? a.wrapMode : 10497,
            maxAnisotropy: a.maxAnisotropy,
            flipped: void 0 !== a.flipped && a.flipped,
            hasMipmap: void 0 !== a.hasMipmap && a.hasMipmap,
            unpackAlignment: a.unpackAlignment ? a.unpackAlignment : 4,
            width: a.width,
            height: a.height,
            preMultiplyAlpha: void 0 !== a.preMultiplyAlpha && a.preMultiplyAlpha,
            textureCoordinateScaleFactor: a.textureCoordinateScaleFactor || null
          }, this._id = ++e._nextId, i("esri-webgl-debug") && t.instanceCounter.incrementCount(0), this.setData(o);
        }

        return Object.defineProperty(e.prototype, "id", {
          get: function get() {
            return this._id;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "glName", {
          get: function get() {
            return this._glName;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "descriptor", {
          get: function get() {
            return this._desc;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.dispose = function () {
          var e = this;

          if (this._context && this._context.gl) {
            if (this._glName) {
              var t = this._context.gl;
              this._boundToUnits.forEach(function (t) {
                e._context.bindTexture(null, t);
              }), t.deleteTexture(this._glName), this._glName = null;
            }

            i("esri-webgl-debug") && this._context.instanceCounter.decrementCount(0), this._context = null;
          }
        }, e.prototype.release = function () {
          this.dispose();
        }, e.prototype.resize = function (e, t) {
          var i = this._desc;
          i.width === e && i.height === t || (i.width = e, i.height = t, this.setData(null));
        }, e.prototype.setData = function (t) {
          var i = this._context.gl;
          this._glName || (this._glName = i.createTexture()), void 0 === t && (t = null), null === t && (this._desc.width = this._desc.width || 4, this._desc.height = this._desc.height || 4);

          var a = this._context.getBoundTexture(0);

          this._context.bindTexture(this, 0);

          var n = this._desc;
          e._validateTexture(n), i.pixelStorei(i.UNPACK_ALIGNMENT, n.unpackAlignment), i.pixelStorei(i.UNPACK_FLIP_Y_WEBGL, n.flipped ? 1 : 0), i.pixelStorei(i.UNPACK_PREMULTIPLY_ALPHA_WEBGL, n.preMultiplyAlpha ? 1 : 0);
          var r = n.pixelFormat,
              s = n.internalFormat ? n.internalFormat : r;
          if (t instanceof ImageData || t instanceof HTMLImageElement || t instanceof HTMLCanvasElement || t instanceof HTMLVideoElement) n.width && n.height && console.assert(t.width === n.width && t.height === n.height), i.texImage2D(i.TEXTURE_2D, 0, s, r, n.dataType, t), n.hasMipmap && this.generateMipmap(), void 0 === this._desc.width && (this._desc.width = t.width), void 0 === this._desc.height && (this._desc.height = t.height);else {
            null != n.width && null != n.height || console.error("Width and height must be specified!"), i.DEPTH24_STENCIL8 && s === i.DEPTH_STENCIL && (s = i.DEPTH24_STENCIL8);
            var p = n.width,
                h = n.height;

            if (o(t)) {
              var l = Math.round(Math.log(Math.max(p, h)) / Math.LN2) + 1;
              n.hasMipmap = n.hasMipmap && l === t.levels.length;

              for (var d = 0;; ++d) {
                var _ = t.levels[Math.min(d, t.levels.length - 1)];
                if (i.compressedTexImage2D(i.TEXTURE_2D, d, s, p, h, 0, _), 1 === p && 1 === h || !n.hasMipmap) break;
                p = Math.max(1, p >> 1), h = Math.max(1, h >> 1);
              }
            } else if (t) i.texImage2D(i.TEXTURE_2D, 0, s, p, h, 0, r, n.dataType, t), n.hasMipmap && this.generateMipmap();else for (var d = 0; i.texImage2D(i.TEXTURE_2D, d, s, p, h, 0, r, n.dataType, null), (1 !== p || 1 !== h) && n.hasMipmap; ++d) p = Math.max(1, p >> 1), h = Math.max(1, h >> 1);
          }
          e._applySamplingMode(i, this._desc), e._applyWrapMode(i, this._desc), e._applyAnisotropicFilteringParameters(this._context, this._desc), this._context.bindTexture(a, 0);
        }, e.prototype.updateData = function (e, t, i, a, o, n) {
          n || console.error("An attempt to use uninitialized data!"), this._glName || console.error("An attempt to update uninitialized texture!");

          var r = this._context.gl,
              s = this._desc,
              p = this._context.getBoundTexture(0);

          this._context.bindTexture(this, 0), (t < 0 || i < 0 || a > s.width || o > s.height || t + a > s.width || i + o > s.height) && console.error("An attempt to update out of bounds of the texture!"), r.pixelStorei(r.UNPACK_ALIGNMENT, s.unpackAlignment), r.pixelStorei(r.UNPACK_FLIP_Y_WEBGL, s.flipped ? 1 : 0), r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL, s.preMultiplyAlpha ? 1 : 0), n instanceof ImageData || n instanceof HTMLImageElement || n instanceof HTMLCanvasElement || n instanceof HTMLVideoElement ? (console.assert(n.width === a && n.height === o), r.texSubImage2D(r.TEXTURE_2D, e, t, i, s.pixelFormat, s.dataType, n)) : r.texSubImage2D(r.TEXTURE_2D, e, t, i, a, o, s.pixelFormat, s.dataType, n), this._context.bindTexture(p, 0);
        }, e.prototype.generateMipmap = function () {
          var t = this._desc;
          t.hasMipmap || (t.hasMipmap = !0, e._validateTexture(t)), 9729 === t.samplingMode ? (this._samplingModeDirty = !0, t.samplingMode = 9985) : 9728 === t.samplingMode && (this._samplingModeDirty = !0, t.samplingMode = 9984);

          var i = this._context.getBoundTexture(0);

          this._context.bindTexture(this, 0);

          var a = this._context.gl;
          a.generateMipmap(a.TEXTURE_2D), this._context.bindTexture(i, 0);
        }, e.prototype.setSamplingMode = function (t) {
          t !== this._desc.samplingMode && (this._desc.samplingMode = t, e._validateTexture(this._desc), this._samplingModeDirty = !0);
        }, e.prototype.setWrapMode = function (t) {
          t !== this._desc.wrapMode && (this._desc.wrapMode = t, e._validateTexture(this._desc), this._wrapModeDirty = !0);
        }, e.prototype.applyChanges = function () {
          var t = this._context.gl,
              i = this._desc;
          this._samplingModeDirty && (e._applySamplingMode(t, i), this._samplingModeDirty = !1), this._wrapModeDirty && (e._applyWrapMode(t, i), this._wrapModeDirty = !1);
        }, e.prototype.setBoundToUnit = function (e, t) {
          t ? this._boundToUnits.add(e) : this._boundToUnits["delete"](e);
        }, e._validateTexture = function (e) {
          (e.width < 0 || e.height < 0) && console.error("Negative dimension parameters are not allowed!"), a.isPowerOfTwo(e.width) && a.isPowerOfTwo(e.height) || ("number" == typeof e.wrapMode ? 33071 !== e.wrapMode && console.error("Non-power-of-two textures must have a wrap mode of CLAMP_TO_EDGE!") : 33071 === e.wrapMode.s && 33071 === e.wrapMode.t || console.error("Non-power-of-two textures must have a wrap mode of CLAMP_TO_EDGE!"), e.hasMipmap && console.error("Mipmapping requires power-of-two textures!"));
        }, e._applySamplingMode = function (e, t) {
          var i = t.samplingMode,
              a = t.samplingMode;
          9985 === i || 9987 === i ? (i = 9729, t.hasMipmap || (a = 9729)) : 9984 !== i && 9986 !== i || (i = 9728, t.hasMipmap || (a = 9728)), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MAG_FILTER, i), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_MIN_FILTER, a);
        }, e._applyWrapMode = function (e, t) {
          "number" == typeof t.wrapMode ? (e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, t.wrapMode), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, t.wrapMode)) : (e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_S, t.wrapMode.s), e.texParameteri(e.TEXTURE_2D, e.TEXTURE_WRAP_T, t.wrapMode.t));
        }, e._applyAnisotropicFilteringParameters = function (e, t) {
          if (null != t.maxAnisotropy) {
            var i = e.capabilities.textureFilterAnisotropic;

            if (i) {
              var a = e.gl;
              a.texParameterf(a.TEXTURE_2D, i.TEXTURE_MAX_ANISOTROPY, t.maxAnisotropy);
            }
          }
        }, e._nextId = 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/webgl/Util.js":
  /*!********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/Util.js ***!
    \********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglUtilJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i) {
      function n(e, r) {
        return e.vertexBuffers[r].size / o(e.layout[r]);
      }

      function o(e) {
        return e[0].stride;
      }

      function a(e) {
        switch (e) {
          case 5126:
          case 5124:
          case 5125:
            return 4;

          case 5122:
          case 5123:
            return 2;

          case 5120:
          case 5121:
            return 1;

          default:
            throw new Error("Unknown data type");
        }
      }

      function s(e, r, t, i, n, o) {
        var s = a(i);

        if (e.length > 0) {
          var u = e[0].stride,
              c = u + s * t;
          e.forEach(function (e) {
            return e.stride = c;
          }), e.push({
            name: r,
            count: t,
            type: i,
            offset: u,
            stride: c,
            normalized: n,
            divisor: o
          });
        } else e.push({
          name: r,
          count: t,
          type: i,
          offset: 0,
          stride: s * t,
          normalized: n,
          divisor: o
        });
      }

      function u(e, r) {
        for (var t = 0; t < e.length; t++) if (e[t].name === r) return !0;

        return !1;
      }

      function c(e, r) {
        for (var t = 0; t < e.length; t++) if (e[t].name === r) return e[t];

        return null;
      }

      function f(e, r, t, i, n) {
        void 0 === n && (n = 0);
        var o = e.getBoundFramebufferObject(),
            a = e.getBoundTexture(0);
        e.bindFramebuffer(r), e.bindTexture(t, 0), e.gl.copyTexImage2D(e.gl.TEXTURE_2D, n, t.descriptor.pixelFormat, i[0], i[1], i[2], i[3], 0), e.gl.flush(), e.bindFramebuffer(o), e.bindTexture(a, 0);
      }

      function d(e, r) {
        var i = {};

        for (var n in e) i[n] = e[n].map(function (e) {
          return e.divisor ? t({}, e, {
            baseInstance: r
          }) : e;
        });

        return i;
      }

      function v(e, r, t, i, n) {
        var o = e.gl,
            a = e.capabilities.instancing;
        e.bindBuffer(t);

        for (var s = 0, u = i; s < u.length; s++) {
          var c = u[s],
              f = r[c.name],
              d = (n || (0 + c.baseInstance ? c.baseInstance : 0)) * c.stride;
          if (void 0 === f && console.error("There is no location for vertex attribute '" + c.name + "' defined."), c.baseInstance && !c.divisor && console.error("Vertex attribute '" + c.name + "' uses baseInstanceOffset without divisor."), c.count <= 4) o.vertexAttribPointer(f, c.count, c.type, c.normalized, c.stride, c.offset + d), o.enableVertexAttribArray(f), c.divisor && c.divisor > 0 && a && a.vertexAttribDivisor(f, c.divisor);else if (9 === c.count) for (var v = 0; v < 3; v++) o.vertexAttribPointer(f + v, 3, c.type, c.normalized, c.stride, c.offset + 12 * v + d), o.enableVertexAttribArray(f + v), c.divisor && c.divisor > 0 && a && a.vertexAttribDivisor(f + v, c.divisor);else if (16 === c.count) for (var v = 0; v < 4; v++) o.vertexAttribPointer(f + v, 4, c.type, c.normalized, c.stride, c.offset + 16 * v + d), o.enableVertexAttribArray(f + v), c.divisor && c.divisor > 0 && a && a.vertexAttribDivisor(f + v, c.divisor);else console.error("Unsupported vertex attribute element count: " + c.count);
        }
      }

      function l(e, r, t, i) {
        var n = e.gl,
            o = e.capabilities.instancing;
        e.bindBuffer(t);

        for (var a = 0, s = i; a < s.length; a++) {
          var u = s[a],
              c = r[u.name];
          if (u.count <= 4) n.disableVertexAttribArray(c), u.divisor && u.divisor > 0 && o && o.vertexAttribDivisor(c, 0);else if (9 === u.count) for (var f = 0; f < 3; f++) n.disableVertexAttribArray(c + f), u.divisor && u.divisor > 0 && o && o.vertexAttribDivisor(c + f, 0);else if (16 === u.count) for (var f = 0; f < 4; f++) n.disableVertexAttribArray(c + f), u.divisor && u.divisor > 0 && o && o.vertexAttribDivisor(c + f, 0);else console.error("Unsupported vertex attribute element count: " + u.count);
        }

        e.unbindBuffer(34962);
      }

      function b(e) {
        switch (e) {
          case 6406:
          case 6409:
            return 1;

          case 6410:
            return 2;

          case 6407:
            return 3;

          case 6408:
          case 34041:
            return 4;

          case 33325:
            return 2;

          case 33326:
          case 35898:
          case 33327:
            return 4;

          case 33328:
          case 34842:
            return 8;

          case 34836:
            return 16;

          case 33189:
            return 2;

          case 34041:
            return 4;

          case 32854:
            return 2;

          case 36168:
            return 1;

          default:
            i.neverReached(e);
        }

        return 0;
      }

      function m(e) {
        if (!e) return 0;
        if ("colorAttachment" in e) return e.glName ? m(e.colorAttachment) + m(e.depthStencilAttachment) : 0;
        if ("descriptor" in e) return e.glName ? m(e.descriptor) : 0;
        var r = e.internalFormat || "pixelFormat" in e && e.pixelFormat;
        if (!r) return 0;
        var t = "hasMipmap" in e && e.hasMipmap ? 1.3 : 1,
            i = e.width * e.height;
        return b(r) * i * t;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.vertexCount = n, r.getStride = o, r.getBytesPerElement = a, r.addDescriptor = s, r.hasAttribute = u, r.findAttribute = c, r.copyFramebufferToTexture = f, r.setBaseInstanceOffset = d, r.bindVertexBufferLayout = v, r.unbindVertexBufferLayout = l, r.getBytesPerElementFormat = b, r.getGpuMemoryUsage = m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/VertexArrayObject.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/VertexArrayObject.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglVertexArrayObjectJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ./Util */
    "./node_modules/arcgis-js-api/views/webgl/Util.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n) {
      return function () {
        function e(t, n, r, o, s) {
          this._context = null, this._glName = null, this._layout = null, this._locations = null, this._buffers = void 0, this._indexBuffer = void 0, this._initialized = !1, this._context = t, this._layout = r, this._buffers = o, this._locations = n, s && (this._indexBuffer = s), this._id = e._nextId++, i("esri-webgl-debug") && t.instanceCounter.incrementCount(2);
        }

        return Object.defineProperty(e.prototype, "id", {
          get: function get() {
            return this._id;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "glName", {
          get: function get() {
            return this._glName;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "vertexBuffers", {
          get: function get() {
            return this._buffers;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "indexBuffer", {
          get: function get() {
            return this._indexBuffer;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "size", {
          get: function get() {
            var e = this;
            return Object.keys(this._buffers).reduce(function (t, i) {
              return t + e._buffers[i].size;
            }, this._indexBuffer ? this._indexBuffer.size : 0);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "layout", {
          get: function get() {
            return this._layout;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(e.prototype, "locations", {
          get: function get() {
            return this._locations;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.dispose = function (e) {
          if (void 0 === e && (e = !0), this._context) {
            var t = this._context.capabilities.vao;
            t && this._glName && (t.deleteVertexArray(this._glName), this._glName = null);

            if (this._context.getBoundVAO() === this && this._context.bindVAO(null), e) {
              for (var n in this._buffers) this._buffers[n].dispose(), delete this._buffers[n];

              this._indexBuffer && (this._indexBuffer.dispose(), this._indexBuffer = null);
            }

            i("esri-webgl-debug") && this._context.instanceCounter.decrementCount(2), this._context = null;
          }
        }, e.prototype.initialize = function () {
          if (!this._initialized) {
            var e = this._context.capabilities.vao;

            if (e) {
              var t = e.createVertexArray();
              e.bindVertexArray(t), this._bindLayout(), e.bindVertexArray(null), this._glName = t;
            }

            this._initialized = !0;
          }
        }, e.prototype.bind = function () {
          this.initialize();
          var e = this._context.capabilities.vao;
          e ? e.bindVertexArray(this.glName) : (this._context.bindVAO(null), this._bindLayout());
        }, e.prototype._bindLayout = function () {
          var e = this._buffers,
              t = !!this._context.capabilities.vao,
              i = this._layout,
              r = this._indexBuffer;
          e || console.error("Vertex buffer dictionary is empty!");
          var o = this._context.gl;

          for (var s in e) {
            var u = e[s];
            u || console.error("Vertex buffer is uninitialized!");
            var f = i[s];
            f || console.error("Vertex element descriptor is empty!"), n.bindVertexBufferLayout(this._context, this._locations, u, f);
          }

          r && (t ? o.bindBuffer(o.ELEMENT_ARRAY_BUFFER, r.glName) : this._context.bindBuffer(r));
        }, e.prototype.unbind = function () {
          this.initialize();
          var e = this._context.capabilities.vao;
          e ? e.bindVertexArray(null) : this._unbindLayout();
        }, e.prototype._unbindLayout = function () {
          var e = this._buffers,
              t = this._layout;
          e || console.error("Vertex buffer dictionary is empty!");

          for (var i in e) {
            var r = e[i];
            r || console.error("Vertex buffer is uninitialized!");
            var o = t[i];
            n.unbindVertexBufferLayout(this._context, this._locations, r, o);
          }

          var s = this._indexBuffer;
          s && this._context.unbindBuffer(s.bufferType);
        }, e._nextId = 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/webgl/capabilities/DisjointTimerQuery.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/capabilities/DisjointTimerQuery.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglCapabilitiesDisjointTimerQueryJs(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__(
    /*! ./isWebGL2Context */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      function n(e, t) {
        if (t.disjointTimerQuery) return null;
        var n = e.getExtension("EXT_disjoint_timer_query") || e.getExtension("EXT_disjoint_timer_query_webgl2");
        return n ? r["default"](e) ? {
          createQuery: function createQuery() {
            return e.createQuery();
          },
          resultAvailable: function resultAvailable(t) {
            return e.getQueryParameter(t, e.QUERY_RESULT_AVAILABLE);
          },
          getResult: function getResult(t) {
            return e.getQueryParameter(t, e.QUERY_RESULT);
          },
          disjoint: function disjoint() {
            return e.getParameter(n.GPU_DISJOINT_EXT);
          },
          beginTimeElapsed: function beginTimeElapsed(t) {
            return e.beginQuery(n.TIME_ELAPSED_EXT, t);
          },
          endTimeElapsed: function endTimeElapsed() {
            return e.endQuery(n.TIME_ELAPSED_EXT);
          },
          createTimestamp: function createTimestamp(e) {
            return n.queryCounterEXT(e, n.TIMESTAMP_EXT);
          },
          timestampBits: function timestampBits() {
            return e.getQuery(n.TIMESTAMP_EXT, n.QUERY_COUNTER_BITS_EXT);
          }
        } : {
          createQuery: function createQuery() {
            return n.createQueryEXT();
          },
          resultAvailable: function resultAvailable(e) {
            return n.getQueryObjectEXT(e, n.QUERY_RESULT_AVAILABLE_EXT);
          },
          getResult: function getResult(e) {
            return n.getQueryObjectEXT(e, n.QUERY_RESULT_EXT);
          },
          disjoint: function disjoint() {
            return e.getParameter(n.GPU_DISJOINT_EXT);
          },
          beginTimeElapsed: function beginTimeElapsed(e) {
            return n.beginQueryEXT(n.TIME_ELAPSED_EXT, e);
          },
          endTimeElapsed: function endTimeElapsed() {
            return n.endQueryEXT(n.TIME_ELAPSED_EXT);
          },
          createTimestamp: function createTimestamp(e) {
            return n.queryCounterEXT(e, n.TIMESTAMP_EXT);
          },
          timestampBits: function timestampBits() {
            return n.getQueryEXT(n.TIMESTAMP_EXT, n.QUERY_COUNTER_BITS_EXT);
          }
        } : null;
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/capabilities/Instancing.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/capabilities/Instancing.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglCapabilitiesInstancingJs(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__(
    /*! ./isWebGL2Context */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, r) {
      function t(e) {
        if (r["default"](e)) return {
          drawArraysInstanced: e.drawArraysInstanced.bind(e),
          drawElementsInstanced: e.drawElementsInstanced.bind(e),
          vertexAttribDivisor: e.vertexAttribDivisor.bind(e)
        };
        var n = e.getExtension("ANGLE_instanced_arrays");
        return n ? {
          drawArraysInstanced: n.drawArraysInstancedANGLE.bind(n),
          drawElementsInstanced: n.drawElementsInstancedANGLE.bind(n),
          vertexAttribDivisor: n.vertexAttribDivisorANGLE.bind(n)
        } : null;
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/capabilities/LoseContext.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/capabilities/LoseContext.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglCapabilitiesLoseContextJs(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, n) {
      function t(e, n) {
        var t = n.loseContext && e.getExtension("WEBGL_lose_context");
        return t ? {
          loseRenderingContext: function loseRenderingContext() {
            return t.loseContext();
          }
        } : null;
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/capabilities/VertexArrayObjects.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/capabilities/VertexArrayObjects.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglCapabilitiesVertexArrayObjectsJs(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__(
    /*! ./isWebGL2Context */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n(e, r) {
        if (t["default"](e)) return {
          createVertexArray: e.createVertexArray.bind(e),
          deleteVertexArray: e.deleteVertexArray.bind(e),
          bindVertexArray: e.bindVertexArray.bind(e)
        };
        if (r.vao) return null;
        var n = e.getExtension("OES_vertex_array_object") || e.getExtension("MOZ_OES_vertex_array_object") || e.getExtension("WEBKIT_OES_vertex_array_object");
        return n ? {
          createVertexArray: n.createVertexArrayOES.bind(n),
          deleteVertexArray: n.deleteVertexArrayOES.bind(n),
          bindVertexArray: n.bindVertexArrayOES.bind(n)
        } : null;
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglCapabilitiesIsWebGL2ContextJs(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, n) {
      function t(e) {
        return window.WebGL2RenderingContext && e instanceof window.WebGL2RenderingContext;
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/capabilities/load.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/capabilities/load.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglCapabilitiesLoadJs(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__(
    /*! ./DisjointTimerQuery */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/DisjointTimerQuery.js"), __webpack_require__(
    /*! ./Instancing */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/Instancing.js"), __webpack_require__(
    /*! ./isWebGL2Context */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/isWebGL2Context.js"), __webpack_require__(
    /*! ./LoseContext */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/LoseContext.js"), __webpack_require__(
    /*! ./VertexArrayObjects */
    "./node_modules/arcgis-js-api/views/webgl/capabilities/VertexArrayObjects.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, n, r, o, u, _) {
      function l(t, e) {
        var o,
            l,
            T,
            F,
            R,
            s,
            O,
            X,
            b,
            d = e && e.disabledExtensions || {},
            A = e && e.debugWebGLExtensions || {},
            S = null,
            g = null,
            G = null,
            B = null;
        return {
          get instancing() {
            return o || (o = r.load(t)), o;
          },

          get vao() {
            return l || (l = _.load(t, d)), l;
          },

          get compressedTextureS3TC() {
            return T || (T = i(t, d)), T;
          },

          get textureFilterAnisotropic() {
            return F || (F = f(t, d)), F;
          },

          get disjointTimerQuery() {
            return R || (R = n.load(t, d)), R;
          },

          get textureFloat() {
            return s || (s = E(t, d)), s;
          },

          get colorBufferFloat() {
            return O || (O = c(t, d)), O;
          },

          get blendMinMax() {
            return X || (X = a(t, d)), X;
          },

          get depthTexture() {
            return null === S && (S = x(t, d, "depthTexture", !0, ["WEBGL_depth_texture", "MOZ_WEBGL_depth_texture", "WEBKIT_WEBGL_depth_texture"])), S;
          },

          get standardDerivatives() {
            return null === g && (g = x(t, d, "standardDerivatives", !0, ["OES_standard_derivatives"])), g;
          },

          get shaderTextureLOD() {
            return null === G && (G = x(t, d, "shaderTextureLOD", !0, ["EXT_shader_texture_lod"])), G;
          },

          get fragDepth() {
            return null === B && (B = x(t, d, "fragDepth", !0, ["EXT_frag_depth"])), B;
          },

          get loseContext() {
            return b || (b = u.load(t, A)), b;
          }

        };
      }

      function i(t, e) {
        if (e.compressedTextureS3TC) return null;
        var n = t.getExtension("WEBGL_compressed_texture_s3tc");
        return n ? {
          COMPRESSED_RGB_S3TC_DXT1: n.COMPRESSED_RGB_S3TC_DXT1_EXT,
          COMPRESSED_RGBA_S3TC_DXT1: n.COMPRESSED_RGBA_S3TC_DXT1_EXT,
          COMPRESSED_RGBA_S3TC_DXT3: n.COMPRESSED_RGBA_S3TC_DXT3_EXT,
          COMPRESSED_RGBA_S3TC_DXT5: n.COMPRESSED_RGBA_S3TC_DXT5_EXT
        } : null;
      }

      function a(t, e) {
        if (o["default"](t)) return {
          MIN: t.MIN,
          MAX: t.MAX
        };
        if (e.blendMinMax) return null;
        var n = t.getExtension("EXT_blend_minmax");
        return n ? {
          MIN: n.MIN_EXT,
          MAX: n.MAX_EXT
        } : null;
      }

      function f(t, e) {
        if (e.textureFilterAnisotropic) return null;
        var n = t.getExtension("EXT_texture_filter_anisotropic") || t.getExtension("MOZ_EXT_texture_filter_anisotropic") || t.getExtension("WEBKIT_EXT_texture_filter_anisotropic");
        return n ? {
          MAX_TEXTURE_MAX_ANISOTROPY: n.MAX_TEXTURE_MAX_ANISOTROPY_EXT,
          TEXTURE_MAX_ANISOTROPY: n.TEXTURE_MAX_ANISOTROPY_EXT
        } : null;
      }

      function E(t, e) {
        if (o["default"](t)) return {
          textureFloat: !0,
          textureFloatLinear: !e.textureFloatLinear && !!t.getExtension("OES_texture_float_linear"),
          textureHalfFloat: !0,
          textureHalfFloatLinear: !e.textureHalfFloatLinear && !!t.getExtension("OES_texture_half_float_linear"),
          HALF_FLOAT: t.HALF_FLOAT
        };

        if (t instanceof WebGLRenderingContext) {
          var n = !e.textureHalfFloat && t.getExtension("OES_texture_half_float");
          return {
            textureFloat: !e.textureFloat && !!t.getExtension("OES_texture_float"),
            textureFloatLinear: !e.textureFloatLinear && !!t.getExtension("OES_texture_float_linear"),
            textureHalfFloat: !!n,
            textureHalfFloatLinear: !e.textureHalfFloatLinear && !!t.getExtension("OES_texture_half_float_linear"),
            HALF_FLOAT: n ? n.HALF_FLOAT_OES : void 0
          };
        }

        return null;
      }

      function c(t, e) {
        if (o["default"](t)) {
          var n = !e.colorBufferFloat && t.getExtension("EXT_color_buffer_half_float"),
              r = !e.colorBufferFloat && t.getExtension("EXT_color_buffer_float");
          return n || r ? {
            textureFloat: !!r,
            textureHalfFloat: !!n,
            R16F: t.R16F,
            RG16F: t.RG16F,
            RGBA16F: t.RGBA16F,
            R32F: t.R32F,
            RG32F: t.RG32F,
            RGBA32F: t.RGBA32F,
            R11F_G11F_B10F: t.R11F_G11F_B10F,
            RGB16F: t.RGB16F
          } : null;
        }

        if (t instanceof WebGLRenderingContext) {
          var n = !e.colorBufferFloat && t.getExtension("EXT_color_buffer_half_float"),
              r = !e.colorBufferFloat && t.getExtension("WEBGL_color_buffer_float");
          return n || r ? {
            textureFloat: !!r,
            textureHalfFloat: !!n,
            RGBA16F: n ? n.RGBA16F_EXT : void 0,
            RGB16F: n ? n.RGB16F_EXT : void 0,
            RGBA32F: r ? r.RGBA32F_EXT : void 0
          } : null;
        }

        return null;
      }

      function x(t, e, n, r, u) {
        if (r && o["default"](t)) return !0;
        if (e[n]) return !1;

        for (var _ = 0, l = u; _ < l.length; _++) {
          var i = l[_];
          if (t.getExtension(i)) return !0;
        }

        return !1;
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/context-util.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/context-util.js ***!
    \****************************************************************/

  /*! no static exports found */

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

    /**
     * Very loosely based on the original webgl-utils.js, see following copyright notice.
     */

    /*
         * Copyright 2010, Google Inc.
         * All rights reserved.
         *
         * Redistribution and use in source and binary forms, with or without
         * modification, are permitted provided that the following conditions are
         * met:
         *
         *   * Redistributions of source code must retain the above copyright
         * notice, this list of conditions and the following disclaimer.
         *   * Redistributions in binary form must reproduce the above
         * copyright notice, this list of conditions and the following disclaimer
         * in the documentation and/or other materials provided with the
         * distribution.
         *   * Neither the name of Google Inc. nor the names of its
         * contributors may be used to endorse or promote products derived from
         * this software without specific prior written permission.
         *
         * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
         * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
         * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
         * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
         * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
         * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
         * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
         * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
         * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
         * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
         * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
         */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r) {
      function t(e, r, t) {
        if (void 0 === r && (r = {}), !window.WebGLRenderingContext) return o(e, a), null;
        var i = l(e, r, t);
        return i || (o(e, n), null);
      }

      function l(e, r, t) {
        void 0 === r && (r = {});
        var l;

        switch (t) {
          case "webgl":
            l = ["webgl", "experimental-webgl", "webkit-3d", "moz-webgl"];
            break;

          case "webgl2":
            l = ["webgl2"];
            break;

          default:
            l = ["webgl", "experimental-webgl", "webkit-3d", "moz-webgl"];
        }

        for (var o = null, a = 0, n = l; a < n.length; a++) {
          var i = n[a];

          try {
            o = e.getContext(i, r);
          } catch (e) {}

          if (o) break;
        }

        return o;
      }

      function o(e, r) {
        var t = e.parentNode;
        t && (t.innerHTML = '<table style="background-color: #8CE; width: 100%; height: 100%;"><tr><td align="center"><div style="display: table-cell; vertical-align: middle;"><div style="">' + r + "</div></div></td></tr></table>");
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.createContextOrErrorHTML = t, r.createContext = l;
      var a = 'This page requires a browser that supports WebGL.<br/><a href="http://get.webgl.org">Click here to upgrade your browser.</a>',
          n = 'It doesn\'t appear your computer can support WebGL.<br/><a href="http://get.webgl.org/troubleshooting/">Click here for more information.</a>';
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/enums.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/enums.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglEnumsJs(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) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.BASE_TEXTURE_UNIT = 33984;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/index.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/index.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglLibGlslTokenizerIndexJs(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__(
    /*! ./lib/literals */
    "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/literals.js"), __webpack_require__(
    /*! ./lib/operators */
    "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/operators.js"), __webpack_require__(
    /*! ./lib/builtins */
    "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/builtins.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, t) {
      "use strict;";

      function r() {
        function r(e) {
          e.length && L.push({
            type: j[J],
            data: e,
            position: P,
            line: M,
            column: N
          });
        }

        function w(e) {
          H = 0, S += e, G = S.length;

          for (var n; C = S[H], H < G;) {
            switch (n = H, J) {
              case s:
                H = _();
                break;

              case o:
                H = O();
                break;

              case c:
                H = E();
                break;

              case f:
                H = y();
                break;

              case a:
                H = q();
                break;

              case k:
                H = F();
                break;

              case l:
                H = z();
                break;

              case u:
                H = B();
                break;

              case b:
                H = x();
                break;

              case i:
                H = m();
            }

            if (n !== H) switch (S[n]) {
              case "\n":
                N = 0, ++M;
                break;

              default:
                ++N;
            }
          }

          return I += H, S = S.slice(H), L;
        }

        function v(e) {
          return K.length && r(K.join("")), J = d, r("(eof)"), L;
        }

        function m() {
          return K = K.length ? [] : K, "/" === D && "*" === C ? (P = I + H - 1, J = s, D = C, H + 1) : "/" === D && "/" === C ? (P = I + H - 1, J = o, D = C, H + 1) : "#" === C ? (J = c, P = I + H, H) : /\s/.test(C) ? (J = b, P = I + H, H) : (Q = /\d/.test(C), R = /[^\w_]/.test(C), P = I + H, J = Q ? a : R ? f : u, H);
        }

        function x() {
          return /[^\s]/g.test(C) ? (r(K.join("")), J = i, H) : (K.push(C), D = C, H + 1);
        }

        function E() {
          return "\r" !== C && "\n" !== C || "\\" === D ? (K.push(C), D = C, H + 1) : (r(K.join("")), J = i, H);
        }

        function O() {
          return E();
        }

        function _() {
          return "/" === C && "*" === D ? (K.push(C), r(K.join("")), J = i, H + 1) : (K.push(C), D = C, H + 1);
        }

        function y() {
          if ("." === D && /\d/.test(C)) return J = l, H;
          if ("/" === D && "*" === C) return J = s, H;
          if ("/" === D && "/" === C) return J = o, H;

          if ("." === C && K.length) {
            for (; A(K););

            return J = l, H;
          }

          if (";" === C || ")" === C || "(" === C) {
            if (K.length) for (; A(K););
            return r(C), J = i, H + 1;
          }

          var e = 2 === K.length && "=" !== C;

          if (/[\w_\d\s]/.test(C) || e) {
            for (; A(K););

            return J = i, H;
          }

          return K.push(C), D = C, H + 1;
        }

        function A(e) {
          for (var t, i, u = 0;;) {
            if (t = n.indexOf(e.slice(0, e.length + u).join("")), i = n[t], -1 === t) {
              if (u-- + e.length > 0) continue;
              i = e.slice(0, 1).join("");
            }

            return r(i), P += i.length, K = K.slice(i.length), K.length;
          }
        }

        function F() {
          return /[^a-fA-F0-9]/.test(C) ? (r(K.join("")), J = i, H) : (K.push(C), D = C, H + 1);
        }

        function q() {
          return "." === C ? (K.push(C), J = l, D = C, H + 1) : /[eE]/.test(C) ? (K.push(C), J = l, D = C, H + 1) : "x" === C && 1 === K.length && "0" === K[0] ? (J = k, K.push(C), D = C, H + 1) : /[^\d]/.test(C) ? (r(K.join("")), J = i, H) : (K.push(C), D = C, H + 1);
        }

        function z() {
          return "f" === C && (K.push(C), D = C, H += 1), /[eE]/.test(C) ? (K.push(C), D = C, H + 1) : "-" === C && /[eE]/.test(D) ? (K.push(C), D = C, H + 1) : /[^\d]/.test(C) ? (r(K.join("")), J = i, H) : (K.push(C), D = C, H + 1);
        }

        function B() {
          if (/[^\d\w_]/.test(C)) {
            var n = K.join("");
            return J = e.indexOf(n) > -1 ? g : t.indexOf(n) > -1 ? p : h, r(K.join("")), J = i, H;
          }

          return K.push(C), D = C, H + 1;
        }

        var C,
            D,
            G,
            H = 0,
            I = 0,
            J = i,
            K = [],
            L = [],
            M = 1,
            N = 0,
            P = 0,
            Q = !1,
            R = !1,
            S = "";
        return function (e) {
          return L = [], null !== e ? w(e.replace ? e.replace(/\r\n/g, "\n") : e) : v();
        };
      }

      var i = 999,
          u = 9999,
          s = 0,
          o = 1,
          c = 2,
          f = 3,
          a = 4,
          l = 5,
          h = 6,
          p = 7,
          g = 8,
          b = 9,
          d = 10,
          k = 11,
          j = ["block-comment", "line-comment", "preprocessor", "operator", "integer", "float", "ident", "builtin", "keyword", "whitespace", "eof", "integer"];
      return r;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/builtins.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/builtins.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglLibGlslTokenizerLibBuiltinsJs(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_AMD_DEFINE_RESULT__ = function () {
      "use strict";

      return ["abs", "acos", "all", "any", "asin", "atan", "ceil", "clamp", "cos", "cross", "dFdx", "dFdy", "degrees", "distance", "dot", "equal", "exp", "exp2", "faceforward", "floor", "fract", "gl_BackColor", "gl_BackLightModelProduct", "gl_BackLightProduct", "gl_BackMaterial", "gl_BackSecondaryColor", "gl_ClipPlane", "gl_ClipVertex", "gl_Color", "gl_DepthRange", "gl_DepthRangeParameters", "gl_EyePlaneQ", "gl_EyePlaneR", "gl_EyePlaneS", "gl_EyePlaneT", "gl_Fog", "gl_FogCoord", "gl_FogFragCoord", "gl_FogParameters", "gl_FragColor", "gl_FragCoord", "gl_FragData", "gl_FragDepth", "gl_FragDepthEXT", "gl_FrontColor", "gl_FrontFacing", "gl_FrontLightModelProduct", "gl_FrontLightProduct", "gl_FrontMaterial", "gl_FrontSecondaryColor", "gl_LightModel", "gl_LightModelParameters", "gl_LightModelProducts", "gl_LightProducts", "gl_LightSource", "gl_LightSourceParameters", "gl_MaterialParameters", "gl_MaxClipPlanes", "gl_MaxCombinedTextureImageUnits", "gl_MaxDrawBuffers", "gl_MaxFragmentUniformComponents", "gl_MaxLights", "gl_MaxTextureCoords", "gl_MaxTextureImageUnits", "gl_MaxTextureUnits", "gl_MaxVaryingFloats", "gl_MaxVertexAttribs", "gl_MaxVertexTextureImageUnits", "gl_MaxVertexUniformComponents", "gl_ModelViewMatrix", "gl_ModelViewMatrixInverse", "gl_ModelViewMatrixInverseTranspose", "gl_ModelViewMatrixTranspose", "gl_ModelViewProjectionMatrix", "gl_ModelViewProjectionMatrixInverse", "gl_ModelViewProjectionMatrixInverseTranspose", "gl_ModelViewProjectionMatrixTranspose", "gl_MultiTexCoord0", "gl_MultiTexCoord1", "gl_MultiTexCoord2", "gl_MultiTexCoord3", "gl_MultiTexCoord4", "gl_MultiTexCoord5", "gl_MultiTexCoord6", "gl_MultiTexCoord7", "gl_Normal", "gl_NormalMatrix", "gl_NormalScale", "gl_ObjectPlaneQ", "gl_ObjectPlaneR", "gl_ObjectPlaneS", "gl_ObjectPlaneT", "gl_Point", "gl_PointCoord", "gl_PointParameters", "gl_PointSize", "gl_Position", "gl_ProjectionMatrix", "gl_ProjectionMatrixInverse", "gl_ProjectionMatrixInverseTranspose", "gl_ProjectionMatrixTranspose", "gl_SecondaryColor", "gl_TexCoord", "gl_TextureEnvColor", "gl_TextureMatrix", "gl_TextureMatrixInverse", "gl_TextureMatrixInverseTranspose", "gl_TextureMatrixTranspose", "gl_Vertex", "greaterThan", "greaterThanEqual", "inversesqrt", "length", "lessThan", "lessThanEqual", "log", "log2", "matrixCompMult", "max", "min", "mix", "mod", "normalize", "not", "notEqual", "pow", "radians", "reflect", "refract", "sign", "sin", "smoothstep", "sqrt", "step", "tan", "texture2D", "texture2DLod", "texture2DProj", "texture2DProjLod", "textureCube", "textureCubeLod", "texture2DLodEXT", "texture2DProjLodEXT", "textureCubeLodEXT", "texture2DGradEXT", "texture2DProjGradEXT", "textureCubeGradEXT"];
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/literals.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/literals.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglLibGlslTokenizerLibLiteralsJs(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_AMD_DEFINE_RESULT__ = function () {
      "use strict";

      return ["precision", "highp", "mediump", "lowp", "attribute", "const", "uniform", "varying", "break", "continue", "do", "for", "while", "if", "else", "in", "out", "inout", "float", "int", "void", "bool", "true", "false", "discard", "return", "mat2", "mat3", "mat4", "vec2", "vec3", "vec4", "ivec2", "ivec3", "ivec4", "bvec2", "bvec3", "bvec4", "sampler1D", "sampler2D", "sampler3D", "samplerCube", "sampler1DShadow", "sampler2DShadow", "struct", "asm", "class", "union", "enum", "typedef", "template", "this", "packed", "goto", "switch", "default", "inline", "noinline", "volatile", "public", "static", "extern", "external", "interface", "long", "short", "double", "half", "fixed", "unsigned", "input", "output", "hvec2", "hvec3", "hvec4", "dvec2", "dvec3", "dvec4", "fvec2", "fvec3", "fvec4", "sampler2DRect", "sampler3DRect", "sampler2DRectShadow", "sizeof", "cast", "namespace", "using"];
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/operators.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/lib/operators.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglLibGlslTokenizerLibOperatorsJs(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_AMD_DEFINE_RESULT__ = function () {
      "use strict;";

      return ["<<=", ">>=", "++", "--", "<<", ">>", "<=", ">=", "==", "!=", "&&", "||", "+=", "-=", "*=", "/=", "%=", "&=", "^^", "^=", "|=", "(", ")", "[", "]", ".", "!", "~", "*", "/", "%", "+", "-", "<", ">", "&", "^", "|", "?", ":", "=", ",", ";", "{", "}"];
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/string.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/string.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglLibGlslTokenizerStringJs(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__(
    /*! ./index */
    "./node_modules/arcgis-js-api/views/webgl/lib/glsl-tokenizer/index.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n) {
      "use strict;";

      function t(t) {
        var c = n(),
            e = [];
        return e = e.concat(c(t)), e = e.concat(c(null));
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/programUtils.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/programUtils.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglProgramUtilsJs(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__(
    /*! ./Program */
    "./node_modules/arcgis-js-api/views/webgl/Program.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function t(e) {
        var r = "";

        for (var n in e) {
          var t = e[n];
          if ("boolean" == typeof t) t && (r += "#define " + n + "\n");else if ("number" == typeof t) r += "#define " + n + " " + t.toFixed() + "\n";else if ("object" == typeof t) {
            var f = t.options,
                i = 0;

            for (var o in f) r += "#define " + f[o] + " " + (i++).toFixed() + "\n";

            r += "#define " + n + " " + f[t.value] + "\n";
          }
        }

        return r;
      }

      function f(e, r, t, f) {
        t = t || {}, f = f || "";
        var i = "function" == typeof r.shaders ? r.shaders(t) : r.shaders;
        return new n(e, f + i.vertexShader, f + i.fragmentShader, r.attributes);
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/renderState.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/renderState.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglRenderStateJs(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_AMD_DEFINE_RESULT__ = function (t, e, i) {
      function n(t, e, i, n) {
        return void 0 === i && (i = 32774), void 0 === n && (n = [0, 0, 0, 0]), {
          srcRgb: t,
          srcAlpha: t,
          dstRgb: e,
          dstAlpha: e,
          opRgb: i,
          opAlpha: i,
          color: {
            r: n[0],
            g: n[1],
            b: n[2],
            a: n[3]
          }
        };
      }

      function s(t, e, i, n, s, l, r) {
        return void 0 === s && (s = 32774), void 0 === l && (l = 32774), void 0 === r && (r = [0, 0, 0, 0]), {
          srcRgb: t,
          srcAlpha: e,
          dstRgb: i,
          dstAlpha: n,
          opRgb: s,
          opAlpha: l,
          color: {
            r: r[0],
            g: r[1],
            b: r[2],
            a: r[3]
          }
        };
      }

      function l(t) {
        return k.intern(t);
      }

      function r(t) {
        return O.intern(t);
      }

      function o(t) {
        return P.intern(t);
      }

      function a(t) {
        return C.intern(t);
      }

      function p(t) {
        return D.intern(t);
      }

      function u(t) {
        return R.intern(t);
      }

      function h(t) {
        return w.intern(t);
      }

      function c(t) {
        return A.intern(t);
      }

      function d(t) {
        return B.intern(t);
      }

      function f(t) {
        return "[" + t.join(",") + "]";
      }

      function _(t) {
        return t ? f([t.srcRgb, t.srcAlpha, t.dstRgb, t.dstAlpha, t.opRgb, t.opAlpha, t.color.r, t.color.g, t.color.b, t.color.a]) : null;
      }

      function g(t) {
        return t ? f([t.face, t.mode]) : null;
      }

      function v(t) {
        return t ? f([t.factor, t.units]) : null;
      }

      function W(t) {
        return t ? f([t.func]) : null;
      }

      function I(t) {
        return t ? f([t["function"].func, t["function"].ref, t["function"].mask, t.operation.fail, t.operation.zFail, t.operation.zPass]) : null;
      }

      function S(t) {
        return t ? f([t.zNear, t.zFar]) : null;
      }

      function y(t) {
        return t ? f([t.r, t.g, t.b, t.a]) : null;
      }

      function b(t) {
        return t ? f([t.mask]) : null;
      }

      function T(t) {
        return t ? f([_(t.blending), g(t.culling), v(t.polygonOffset), W(t.depthTest), I(t.stencilTest), S(t.depthWrite), y(t.colorWrite), b(t.stencilWrite)]) : null;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.simpleBlendingParams = n, e.separateBlendingParams = s, e.backFaceCullingParams = {
        face: 1029,
        mode: 2305
      }, e.defaultDepthWriteParams = {
        zNear: 0,
        zFar: 1
      }, e.defaultColorWriteParams = {
        r: !0,
        g: !0,
        b: !0,
        a: !0
      }, e.makeBlending = l, e.makeCulling = r, e.makePolygonOffset = o, e.makeDepthTest = a, e.makeStencilTest = p, e.makeDepthWrite = u, e.makeColorWrite = h, e.makeStencilWrite = c, e.makePipelineState = d;

      var m = function () {
        function t(t, e) {
          this.makeKey = t, this.makeRef = e, this.interns = new Map();
        }

        return t.prototype.intern = function (t) {
          if (!t) return null;
          var e = this.makeKey(t),
              i = this.interns;
          return i.has(e) || i.set(e, this.makeRef(t)), i.get(e);
        }, t;
      }(),
          k = new m(_, function (t) {
        return i({
          __tag: "Blending"
        }, t);
      }),
          O = new m(g, function (t) {
        return i({
          __tag: "Culling"
        }, t);
      }),
          P = new m(v, function (t) {
        return i({
          __tag: "PolygonOffset"
        }, t);
      }),
          C = new m(W, function (t) {
        return i({
          __tag: "DepthTest"
        }, t);
      }),
          D = new m(I, function (t) {
        return i({
          __tag: "StencilTest"
        }, t);
      }),
          R = new m(S, function (t) {
        return i({
          __tag: "DepthWrite"
        }, t);
      }),
          w = new m(y, function (t) {
        return i({
          __tag: "ColorWrite"
        }, t);
      }),
          A = new m(b, function (t) {
        return i({
          __tag: "StencilWrite"
        }, t);
      }),
          B = new m(T, function (t) {
        return {
          blending: l(t.blending),
          culling: r(t.culling),
          polygonOffset: o(t.polygonOffset),
          depthTest: a(t.depthTest),
          stencilTest: p(t.stencilTest),
          depthWrite: u(t.depthWrite),
          colorWrite: h(t.colorWrite),
          stencilWrite: c(t.stencilWrite)
        };
      }),
          z = function () {
        function t(t) {
          this._pipelineInvalid = !0, this._blendingInvalid = !0, this._cullingInvalid = !0, this._polygonOffsetInvalid = !0, this._depthTestInvalid = !0, this._stencilTestInvalid = !0, this._depthWriteInvalid = !0, this._colorWriteInvalid = !0, this._stencilWriteInvalid = !0, this._stateSetters = t;
        }

        return t.prototype.setPipeline = function (t) {
          (this._pipelineInvalid || t !== this._pipeline) && (this.setBlending(t.blending), this.setCulling(t.culling), this.setPolygonOffset(t.polygonOffset), this.setDepthTest(t.depthTest), this.setStencilTest(t.stencilTest), this.setDepthWrite(t.depthWrite), this.setColorWrite(t.colorWrite), this.setStencilWrite(t.stencilWrite), this._pipeline = t), this._pipelineInvalid = !1;
        }, t.prototype.invalidateBlending = function () {
          this._blendingInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidateCulling = function () {
          this._cullingInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidatePolygonOffset = function () {
          this._polygonOffsetInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidateDepthTest = function () {
          this._depthTestInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidateStencilTest = function () {
          this._stencilTestInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidateDepthWrite = function () {
          this._depthWriteInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidateColorWrite = function () {
          this._colorWriteInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.invalidateStencilWrite = function () {
          this._stencilTestInvalid = !0, this._pipelineInvalid = !0;
        }, t.prototype.setBlending = function (t) {
          this._blending = this.setSubState(t, this._blending, this._blendingInvalid, this._stateSetters.setBlending), this._blendingInvalid = !1;
        }, t.prototype.setCulling = function (t) {
          this._culling = this.setSubState(t, this._culling, this._cullingInvalid, this._stateSetters.setCulling), this._cullingInvalid = !1;
        }, t.prototype.setPolygonOffset = function (t) {
          this._polygonOffset = this.setSubState(t, this._polygonOffset, this._polygonOffsetInvalid, this._stateSetters.setPolygonOffset), this._polygonOffsetInvalid = !1;
        }, t.prototype.setDepthTest = function (t) {
          this._depthTest = this.setSubState(t, this._depthTest, this._depthTestInvalid, this._stateSetters.setDepthTest), this._depthTestInvalid = !1;
        }, t.prototype.setStencilTest = function (t) {
          this._stencilTest = this.setSubState(t, this._stencilTest, this._stencilTestInvalid, this._stateSetters.setStencilTest), this._stencilTestInvalid = !1;
        }, t.prototype.setDepthWrite = function (t) {
          this._depthWrite = this.setSubState(t, this._depthWrite, this._depthWriteInvalid, this._stateSetters.setDepthWrite), this._depthWriteInvalid = !1;
        }, t.prototype.setColorWrite = function (t) {
          this._colorWrite = this.setSubState(t, this._colorWrite, this._colorWriteInvalid, this._stateSetters.setColorWrite), this._colorWriteInvalid = !1;
        }, t.prototype.setStencilWrite = function (t) {
          this._stencilWrite = this.setSubState(t, this._stencilWrite, this._stencilWriteInvalid, this._stateSetters.setStencilWrite), this._stencilTestInvalid = !1;
        }, t.prototype.setSubState = function (t, e, i, n) {
          return (i || t !== e) && (n(t), this._pipelineInvalid = !0), t;
        }, t;
      }();

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

  /***/
  "./node_modules/arcgis-js-api/views/webgl/reservedWordsGLSL3.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/webgl/reservedWordsGLSL3.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsWebglReservedWordsGLSL3Js(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) {
      return ["layout", "centroid", "smooth", "case", "mat2x2", "mat2x3", "mat2x4", "mat3x2", "mat3x3", "mat3x4", "mat4x2", "mat4x3", "mat4x4", "uint", "uvec2", "uvec3", "uvec4", "samplerCubeShadow", "sampler2DArray", "sampler2DArrayShadow", "isampler2D", "isampler3D", "isamplerCube", "isampler2DArray", "usampler2D", "usampler3D", "usamplerCube", "usampler2DArray", "coherent", "restrict", "readonly", "writeonly", "resource", "atomic_uint", "noperspective", "patch", "sample", "subroutine", "common", "partition", "active", "filter", "image1D", "image2D", "image3D", "imageCube", "iimage1D", "iimage2D", "iimage3D", "iimageCube", "uimage1D", "uimage2D", "uimage3D", "uimageCube", "image1DArray", "image2DArray", "iimage1DArray", "iimage2DArray", "uimage1DArray", "uimage2DArray", "image1DShadow", "image2DShadow", "image1DArrayShadow", "image2DArrayShadow", "imageBuffer", "iimageBuffer", "uimageBuffer", "sampler1DArray", "sampler1DArrayShadow", "isampler1D", "isampler1DArray", "usampler1D", "usampler1DArray", "isampler2DRect", "usampler2DRect", "samplerBuffer", "isamplerBuffer", "usamplerBuffer", "sampler2DMS", "isampler2DMS", "usampler2DMS", "sampler2DMSArray", "isampler2DMSArray", "usampler2DMSArray", "trunc", "round", "roundEven", "isnan", "isinf", "floatBitsToInt", "floatBitsToUint", "intBitsToFloat", "uintBitsToFloat", "packSnorm2x16", "unpackSnorm2x16", "packUnorm2x16", "unpackUnorm2x16", "packHalf2x16", "unpackHalf2x16", "outerProduct", "transpose", "determinant", "inverse", "texture", "textureSize", "textureProj", "textureLod", "textureOffset", "texelFetch", "texelFetchOffset", "textureProjOffset", "textureLodOffset", "textureProjLod", "textureProjLodOffset", "textureGrad", "textureGradOffset", "textureProjGrad", "textureProjGradOffset"];
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/webdoc/support/opacityUtils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWebdocSupportOpacityUtilsJs(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/accessorSupport/ensureType */
    "./node_modules/arcgis-js-api/core/accessorSupport/ensureType.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function t(e) {
        var r = n.ensureInteger(100 * (1 - e));
        return Math.max(0, Math.min(r, 100));
      }

      function a(e) {
        var r = 1 - e / 100;
        return Math.max(0, Math.min(r, 1));
      }

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

  /***/
  "./node_modules/arcgis-js-api/webdoc/support/writeUtils.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/webdoc/support/writeUtils.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWebdocSupportWriteUtilsJs(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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/object */
    "./node_modules/arcgis-js-api/core/object.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t, i, a) {
      function l(e) {
        return "basemap" === e.layerContainerType ? p : "operational-layers" === e.layerContainerType ? m : null;
      }

      function o(e) {
        return !("feature" !== e.type || e.url || !e.source || "memory" !== e.source.type);
      }

      function u(e, r) {
        if (r.restrictedWebMapWriting) {
          var n = l(r);
          return !i.isSome(n) || n.has(e.type) && !o(e);
        }

        return !0;
      }

      function c(e, r) {
        if (o(e)) {
          var n = a.getDeepValue("featureCollection.layers", r),
              t = n && n[0] && n[0].layerDefinition;
          t && ("maxScale" in e && (t.maxScale = e.maxScale), "minScale" in e && (t.minScale = e.minScale));
        } else "group" !== e.type && ("maxScale" in e && (r.maxScale = e.maxScale), "minScale" in e && (r.minScale = e.minScale));

        r.opacity = e.opacity, r.title = e.title, r.visibility = e.visible;
      }

      function s(e, r, a) {
        if (!("write" in e && e.write)) return a && a.messages && a.messages.push(new n("layer:unsupported", "Layers (" + e.title + ", " + e.id + ") of type '" + e.declaredClass + "' cannot be persisted", {
          layer: e
        })), null;

        if (u(e, a)) {
          var l = {};
          return e.write(l, a) ? l : null;
        }

        return i.isSome(r) && (r = t.clone(r), c(e, r)), r;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var p = new Set();
      ["bing-maps", "open-street-map", "tile", "unknown", "unsupported", "vector-tile", "web-tile"].forEach(function (e) {
        return p.add(e);
      });
      var m = new Set();
      ["feature", "tile", "unknown", "unsupported", "vector-tile", "web-tile"].forEach(function (e) {
        return m.add(e);
      }), r.getLayerJSON = s;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Attribution.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Attribution.js ***!
    \***********************************************************/

  /*! no static exports found */

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

    /**
     * The Attribution displays attribution text for the layers in a map.
     * The text displayed for the layers is either a list of data providers
     * or sources as defined in the layer's custom attribution data, or the copyright text.
     * This widget automatically updates based on layer visibility and map extent and
     * displays a single line of attribution that can be expanded with a single click
     * to view all data sources.
     *
     * An instance of the Attribution widget is available in every
     * {@link module:esri/views/MapView} and {@link module:esri/views/SceneView} by default.
     * See {@link module:esri/views/ui/DefaultUI} for more details.
     *
     * ![attribution](../../assets/img/apiref/widgets/attribution.png)
     *
     * ::: esri-md class="panel trailer-1"
     * Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
     * For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
     * For information on terms of use, see the [Terms of Use FAQ](https://developers.arcgis.com/terms/faq/).
     * :::
     *
     * @module esri/widgets/Attribution
     * @since 4.0
     *
     * @see [Attribution.tsx (widget view)]({{ JSAPI_ARCGIS_JS_API_URL }}/widgets/Attribution.tsx)
     * @see [Attribution.scss]({{ JSAPI_ARCGIS_JS_API_URL }}/themes/base/widgets/_Attribution.scss)
     * @see module:esri/widgets/Attribution/AttributionViewModel
     * @see {@link module:esri/views/View#ui View.ui}
     * @see module:esri/views/ui/DefaultUI
     */


    !(__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__(
    /*! dojo/i18n!./Attribution/nls/Attribution */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.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__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Attribution/AttributionViewModel */
    "./node_modules/arcgis-js-api/widgets/Attribution/AttributionViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, o, s, n, a, p, c) {
      var d = {
        base: "esri-attribution esri-widget",
        anchor: "esri-widget__anchor",
        poweredBy: "esri-attribution__powered-by",
        sources: "esri-attribution__sources",
        open: "esri-attribution--open",
        sourcesOpen: "esri-attribution__sources--open",
        link: "esri-attribution__link",
        widgetIcon: "esri-icon-description",
        interactive: "esri-interactive"
      };
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i._isOpen = !1, i._attributionTextOverflowed = !1, i._prevSourceNodeHeight = 0, i.iconClass = d.widgetIcon, i.itemDelimiter = " | ", i.label = o.widgetLabel, i.view = null, i.viewModel = new p(), i;
        }

        return i(t, e), t.prototype.postInitialize = function () {
          var e = this;
          this.own(s.on(this, "viewModel.items", "change", function () {
            return e.scheduleRender();
          }));
        }, Object.defineProperty(t.prototype, "attributionText", {
          get: function get() {
            return this.viewModel.items.reduce(function (e, t) {
              return -1 === e.indexOf(t.text) && e.push(t.text), e;
            }, []).join(this.itemDelimiter);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.render = function () {
          var e,
              t = (e = {}, e[d.open] = this._isOpen, e);
          return c.tsx("div", {
            bind: this,
            "class": this.classes(d.base, t),
            onclick: this._toggleState,
            onkeydown: this._toggleState
          }, this._renderSourcesNode(), c.tsx("div", {
            "class": d.poweredBy
          }, "Powered by", " ", c.tsx("a", {
            "class": this.classes(d.link, d.anchor),
            href: "http://www.esri.com/",
            target: "_blank",
            rel: "noreferrer"
          }, "Esri")));
        }, t.prototype._renderSourcesNode = function () {
          var e,
              t = this._isOpen,
              i = this._isInteractive(),
              r = i ? 0 : -1,
              o = this.attributionText,
              s = i ? "button" : void 0,
              n = (e = {}, e[d.sourcesOpen] = t, e[d.interactive] = i, e);

          return c.tsx("div", {
            afterCreate: this._afterSourcesNodeCreate,
            afterUpdate: this._afterSourcesNodeUpdate,
            bind: this,
            "class": this.classes(d.sources, n),
            innerHTML: o,
            role: s,
            tabIndex: r
          });
        }, t.prototype._afterSourcesNodeCreate = function (e) {
          this._prevSourceNodeHeight = e.clientWidth;
        }, t.prototype._afterSourcesNodeUpdate = function (e) {
          var t = !1,
              i = e.clientHeight,
              r = e.clientWidth,
              o = e.scrollWidth,
              s = o >= r,
              n = this._attributionTextOverflowed !== s;

          if (this._attributionTextOverflowed = s, n && (t = !0), this._isOpen) {
            var a = i < this._prevSourceNodeHeight;
            this._prevSourceNodeHeight = i, a && (this._isOpen = !1, t = !0);
          }

          t && this.scheduleRender();
        }, t.prototype._toggleState = function () {
          this._isInteractive() && (this._isOpen = !this._isOpen);
        }, t.prototype._isInteractive = function () {
          return this._isOpen || this._attributionTextOverflowed;
        }, r([n.property({
          dependsOn: ["viewModel.items.length", "itemDelimiter"],
          readOnly: !0
        }), c.renderable()], t.prototype, "attributionText", null), r([n.property()], t.prototype, "iconClass", void 0), r([n.property(), c.renderable()], t.prototype, "itemDelimiter", void 0), r([n.property()], t.prototype, "label", void 0), r([n.aliasOf("viewModel.view")], t.prototype, "view", void 0), r([n.property({
          type: p
        }), c.renderable(["state", "view.size"])], t.prototype, "viewModel", void 0), r([c.accessibleHandler()], t.prototype, "_toggleState", null), t = r([n.subclass("esri.widgets.Attribution")], t);
      }(n.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Attribution/AttributionViewModel.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Attribution/AttributionViewModel.js ***!
    \********************************************************************************/

  /*! no static exports found */

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

    /**
     * Provides the logic for the {@link module:esri/widgets/Attribution} widget.
     * Displays attribution text for the layers in a map.
     * The text displayed for the layers is either a list of data providers or
     * sources as defined in the layer's custom attribution data, or the copyright text.
     * The attribution is automatically updated based on layer visibility and map extent.
     *
     * ::: esri-md class="panel trailer-1"
     * Esri requires that when you use an ArcGIS Online basemap in your app, the map must include Esri attribution and you must be licensed to use the content.
     * For detailed guidelines on working with attribution, please visit the official [attribution in your app](https://developers.arcgis.com/terms/attribution/) documentation.
     * For information on terms of use, see the [Terms of Use FAQ](https://developers.arcgis.com/terms/faq/).
     * :::
     *
     * @module esri/widgets/Attribution/AttributionViewModel
     * @since 4.0
     * @amdalias AttributionVM
     * @see module:esri/widgets/Attribution
     * @see [Guide topic: Widget development - ViewModel pattern](https://developers.arcgis.com/javascript/latest/guide/custom-widget/#viewmodel-pattern)
     */


    !(__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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../../core/asyncUtils */
    "./node_modules/arcgis-js-api/core/asyncUtils.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/HandleOwner */
    "./node_modules/arcgis-js-api/core/HandleOwner.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__(
    /*! ../../geometry/support/contains */
    "./node_modules/arcgis-js-api/geometry/support/contains.js"), __webpack_require__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, n, i, o, a, u, s, c, l, d, p, f, h) {
      function b(t) {
        return t && "function" == typeof t.originOf && "user" === t.originOf("copyright");
      }

      function y(t, e) {
        return t.length !== e.length || t.some(function (t, r) {
          return t.text !== e[r].text;
        });
      }

      function g(t, e, r) {
        if (r && e) {
          u.find(t, function (t) {
            return t.layerView === e && t.text === r;
          }) || t.push({
            text: r,
            layerView: e
          });
        }
      }

      function v(t) {
        return "bing-maps" === t.type;
      }

      var m = [];
      return function (t) {
        function e(e) {
          var r = t.call(this, e) || this;
          return r.clear = function () {
            r._fetchedAttributionData.clear(), r._pendingAttributions.clear(), r.handles.remove("suspension"), r.notifyChange("state");
          }, r._pendingAttributions = new Set(), r._fetchedAttributionData = new Map(), r.items = new c(), r.view = null, r._allLayerViewsChange = function (t) {
            r.handles.remove("suspension");
            var e = r.get("view.allLayerViews");
            e && r.handles.add(e.map(function (t) {
              return t.watch(["suspended", "attributionVisible"], r._updateAttributionItems);
            }), "suspension"), t && t.removed && t.removed.forEach(function (t) {
              r._pendingAttributions["delete"](t), r._fetchedAttributionData["delete"](t);
            }), r._updateAttributionItems();
          }, r._updateAttributionItems = function () {
            var t = r.get("view.allLayerViews");
            if (m.length = 0, !t) return void r.clear();
            t.forEach(function (t) {
              if (!t.suspended && t.get("layer.attributionVisible")) {
                var e = t.layer;
                if (b(e)) return void g(m, t, e.copyright);

                if (e.hasAttributionData) {
                  if (r._fetchedAttributionData.has(t)) {
                    var n = r._fetchedAttributionData.get(t);

                    return void (n && g(m, t, r._getDynamicAttribution(n, r.view, e)));
                  }

                  return void r._fetchAttributionData(t);
                }

                var i = e.get("portalItem.accessInformation");
                if (i) return void g(m, t, i);
                g(m, t, e.copyright);
              }
            }), y(r.items, m) && (r.items.removeAll(), r.items.addMany(m)), r.notifyChange("state");
          }, r.handles.add([d.on(r, "view.allLayerViews", "change", r._allLayerViewsChange, r._allLayerViewsChange, r.clear), d.whenTrue(r, "view.stationary", function () {
            return r._updateAttributionItems();
          })]), r;
        }

        return r(e, t), e.prototype.destroy = function () {
          this.view = null, this._fetchedAttributionData.clear(), this._pendingAttributions.clear();
        }, Object.defineProperty(e.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? this._pendingAttributions.size > 0 ? "loading" : "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype._fetchAttributionData = function (t) {
          return i(this, void 0, void 0, function () {
            var e, r;
            return o(this, function (n) {
              switch (n.label) {
                case 0:
                  return this._pendingAttributions.has(t) ? [2] : (this._pendingAttributions.add(t), [4, s.result(t.layer.fetchAttributionData())]);

                case 1:
                  return e = n.sent(), this._pendingAttributions.has(t) && (r = e.ok ? this._createContributionIndex(e.value, v(t.layer)) : null, this._pendingAttributions["delete"](t), this._fetchedAttributionData.set(t, r)), this._updateAttributionItems(), [2];
              }
            });
          });
        }, e.prototype._createContributionIndex = function (t, e) {
          var r = t.contributors,
              n = {};
          if (!r) return n;

          for (var i = 0; i < r.length; i++) {
            var o = r[i],
                u = o.coverageAreas;
            if (!u) return;

            for (var s = 0, c = u; s < c.length; s++) for (var l = c[s], d = l.bbox, p = l.zoomMin - (e && l.zoomMin ? 1 : 0), f = l.zoomMax - (e && l.zoomMax ? 1 : 0), b = {
              xmin: d[1],
              ymin: d[0],
              xmax: d[3],
              ymax: d[2],
              spatialReference: a.SpatialReference.WGS84
            }, y = {
              extent: h.geographicToWebMercator(b),
              attribution: o.attribution || "",
              score: null != l.score ? l.score : 100,
              id: i
            }, g = p; g <= f; g++) n[g] = n[g] || [], n[g].push(y);
          }

          return n.maxKey = Math.max.apply(null, Object.keys(n)), n;
        }, e.prototype._getDynamicAttribution = function (t, e, r) {
          var n = e.extent,
              i = e.scale,
              o = r.tileInfo.scaleToZoom(i);
          if (o = Math.min(t.maxKey, Math.round(o)), !n || null == o || o <= -1) return "";
          var a = t[o],
              u = h.project(n.center.clone().normalize(), e.spatialReference),
              s = {};
          return a ? a.filter(function (t) {
            var e = !s[t.id] && u && f.extentContainsPoint(t.extent, u);
            return e && (s[t.id] = !0), e;
          }).sort(function (t, e) {
            return e.score - t.score || t.objectId - e.objectId;
          }).map(function (t) {
            return t.attribution;
          }).join(", ") : "";
        }, n([p.property({
          readOnly: !0,
          type: c
        })], e.prototype, "items", void 0), n([p.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], e.prototype, "state", null), n([p.property()], e.prototype, "view", void 0), e = n([p.subclass("esri.widgets.Attribution.AttributionViewModel")], e);
      }(p.declared(l.HandleOwner));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsAttributionNlsAttributionJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Attribution'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Attribution/nls/vi/Attribution.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Attribution/nls/vi/Attribution.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsAttributionNlsViAttributionJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Thuộc tính"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/BasemapToggle.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/BasemapToggle.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsBasemapToggleJs(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__(
    /*! dojo/i18n!./BasemapToggle/nls/BasemapToggle */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./BasemapToggle/BasemapToggleViewModel */
    "./node_modules/arcgis-js-api/widgets/BasemapToggle/BasemapToggleViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, t, s, i, l, o, r, n) {
      function p(e) {
        var a = r.getThumbnailUrl(e);
        return a ? {
          backgroundImage: "url(" + a + ")"
        } : {
          backgroundImage: ""
        };
      }

      var g = {
        base: "esri-basemap-toggle esri-widget",
        secondaryBasemapImage: "esri-basemap-toggle__image--secondary",
        container: "esri-basemap-thumbnail esri-basemap-toggle__container",
        image: "esri-basemap-thumbnail__image esri-basemap-toggle__image",
        overlay: "esri-basemap-thumbnail__overlay esri-basemap-toggle__image-overlay",
        title: "esri-basemap-thumbnail__title esri-basemap-toggle__title",
        disabled: "esri-disabled"
      };
      return function (e) {
        function a(a) {
          var t = e.call(this, a) || this;
          return t.activeBasemap = null, t.label = i.widgetLabel, t.nextBasemap = null, t.titleVisible = !1, t.view = null, t.viewModel = new r(), t;
        }

        return t(a, e), a.prototype.toggle = function () {}, a.prototype.render = function () {
          var e,
              a = this.viewModel,
              t = "disabled" === a.state ? null : a.activeBasemap,
              s = "disabled" === a.state ? null : a.nextBasemap,
              l = s ? s.title : "";
          return this.titleVisible && l && (e = n.tsx("div", {
            "class": g.overlay,
            key: "esri-basemap-toggle__overlay"
          }, n.tsx("span", {
            "class": g.title,
            title: l
          }, l))), n.tsx("div", {
            "class": g.base,
            role: "button",
            "data-basemap-id": s ? s.id : "",
            bind: this,
            onclick: this._toggle,
            onkeydown: this._toggle,
            tabIndex: 0,
            title: i.widgetLabel
          }, n.tsx("div", {
            "class": this.classes(g.container, g.secondaryBasemapImage)
          }, n.tsx("div", {
            "class": g.image,
            styles: p(t)
          })), n.tsx("div", {
            "class": g.container
          }, n.tsx("div", {
            "class": g.image,
            styles: p(s)
          }), e));
        }, a.prototype._toggle = function () {
          this.toggle();
        }, s([l.aliasOf("viewModel.activeBasemap"), n.renderable()], a.prototype, "activeBasemap", void 0), s([l.property()], a.prototype, "label", void 0), s([l.aliasOf("viewModel.nextBasemap"), n.renderable()], a.prototype, "nextBasemap", void 0), s([l.property(), n.renderable()], a.prototype, "titleVisible", void 0), s([l.aliasOf("viewModel.view"), n.renderable()], a.prototype, "view", void 0), s([n.vmEvent("toggle"), l.property({
          type: r
        }), n.renderable("viewModel.state")], a.prototype, "viewModel", void 0), s([l.aliasOf("viewModel.toggle")], a.prototype, "toggle", null), s([n.accessibleHandler()], a.prototype, "_toggle", null), a = s([l.subclass("esri.widgets.BasemapToggle")], a);
      }(l.declared(o));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/BasemapToggle/BasemapToggleViewModel.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/BasemapToggle/BasemapToggleViewModel.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsBasemapToggleBasemapToggleViewModelJs(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/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../support/basemapDefinitions */
    "./node_modules/arcgis-js-api/support/basemapDefinitions.js"), __webpack_require__(
    /*! ../../support/basemapUtils */
    "./node_modules/arcgis-js-api/support/basemapUtils.js"), __webpack_require__(
    /*! ../../support/basemapUtils */
    "./node_modules/arcgis-js-api/support/basemapUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, p, s, o, n, i, l) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._basemapCache = {}, r.nextBasemap = l.ensureType("hybrid", r._basemapCache), r.view = null, r.toggle = r.toggle.bind(r), r;
        }

        return r(t, e), t.prototype.destroy = function () {
          this.view = null;
        }, Object.defineProperty(t.prototype, "activeBasemap", {
          get: function get() {
            return l.ensureType(this.get("view.map.basemap") || "topo", this._basemapCache);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.castNextBasemap = function (e) {
          return l.ensureType(e, this._basemapCache);
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.toggle = function () {
          if ("disabled" !== this.state) {
            var e = this.activeBasemap,
                t = this.nextBasemap;
            this.view.map.basemap = t, this.nextBasemap = e, this.emit("toggle", {
              previous: e,
              current: t
            });
          }
        }, t.getThumbnailUrl = function (e) {
          if (!e) return null;
          var t = e.thumbnailUrl;
          if (t) return t;
          var r = i.getWellKnownBasemapId(e);
          if (r) return n.esriBasemapDefinitions[r].thumbnailUrl;
          var a = e.baseLayers.find(function (e) {
            return !!p.typeCast(e)().get("portalItem.thumbnailUrl");
          });
          return a ? p.typeCast(a)().get("portalItem.thumbnailUrl") : null;
        }, a([o.property({
          dependsOn: ["view.map.basemap"],
          readOnly: !0
        })], t.prototype, "activeBasemap", null), a([o.property()], t.prototype, "nextBasemap", void 0), a([o.cast("nextBasemap")], t.prototype, "castNextBasemap", null), a([o.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), a([o.property()], t.prototype, "view", void 0), a([o.property()], t.prototype, "toggle", null), t = a([o.subclass("esri.widgets.BasemapToggle.BasemapToggleViewModel")], t);
      }(o.declared(s.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsBasemapToggleNlsBasemapToggleJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Toggle basemap'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/vi/BasemapToggle.js":
  /*!**********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/vi/BasemapToggle.js ***!
    \**********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsBasemapToggleNlsViBasemapToggleJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Chuyển đổi bản đồ nền"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Compass.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Compass.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsCompassJs(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__(
    /*! dojo/i18n!./Compass/nls/Compass */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Compass/CompassViewModel */
    "./node_modules/arcgis-js-api/widgets/Compass/CompassViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, s, i, n, a, l) {
      var c = {
        base: "esri-compass esri-widget--button esri-widget",
        text: "esri-icon-font-fallback-text",
        icon: "esri-compass__icon",
        rotationIcon: "esri-icon-dial",
        northIcon: "esri-icon-compass",
        widgetIcon: "esri-icon-locate-circled",
        interactive: "esri-interactive",
        disabled: "esri-disabled"
      };
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o.goToOverride = null, o.iconClass = c.widgetIcon, o.label = s.widgetLabel, o.view = null, o.viewModel = new a(), o;
        }

        return o(t, e), t.prototype.reset = function () {}, t.prototype.render = function () {
          var e,
              t,
              o = this.viewModel,
              r = o.orientation,
              i = o.state,
              n = "disabled" === i,
              a = "rotation" === i ? "rotation" : "compass",
              d = "compass" === a,
              p = n ? -1 : 0,
              v = (e = {}, e[c.disabled] = n, e[c.interactive] = !n, e),
              u = (t = {}, t[c.northIcon] = d, t[c.rotationIcon] = !d, t);
          return l.tsx("div", {
            bind: this,
            "class": this.classes(c.base, v),
            onclick: this._reset,
            onkeydown: this._reset,
            role: "button",
            tabIndex: p,
            "aria-label": s.reset,
            title: s.reset
          }, l.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(c.icon, u),
            styles: this._toRotationTransform(r)
          }), l.tsx("span", {
            "class": c.text
          }, s.reset));
        }, t.prototype._reset = function () {
          this.viewModel.reset();
        }, t.prototype._toRotationTransform = function (e) {
          return {
            transform: "rotateZ(" + e.z + "deg)"
          };
        }, r([i.aliasOf("viewModel.goToOverride")], t.prototype, "goToOverride", void 0), r([i.property()], t.prototype, "iconClass", void 0), r([i.property()], t.prototype, "label", void 0), r([i.aliasOf("viewModel.view")], t.prototype, "view", void 0), r([i.property({
          type: a
        }), l.renderable(["viewModel.orientation", "viewModel.state"])], t.prototype, "viewModel", void 0), r([i.aliasOf("viewModel.reset")], t.prototype, "reset", null), r([l.accessibleHandler()], t.prototype, "_reset", null), t = r([i.subclass("esri.widgets.Compass")], t);
      }(i.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Compass/CompassViewModel.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Compass/CompassViewModel.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsCompassCompassViewModelJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../support/GoTo */
    "./node_modules/arcgis-js-api/widgets/support/GoTo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, i, a, n, p, s) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._handles = new a(), o.orientation = {
            x: 0,
            y: 0,
            z: 0
          }, o.view = null, o._updateForCamera = o._updateForCamera.bind(o), o._updateForRotation = o._updateForRotation.bind(o), o._updateRotationWatcher = o._updateRotationWatcher.bind(o), o.view, o;
        }

        return o(t, e), t.prototype.initialize = function () {
          this._handles.add(n.init(this, "view", this._updateRotationWatcher));
        }, t.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null, this.view = null;
        }, Object.defineProperty(t.prototype, "canShowNorth", {
          get: function get() {
            var e = this.get("view.spatialReference");
            return !(!e || !e.isWebMercator && !e.isGeographic);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? this.canShowNorth ? "compass" : "rotation" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.reset = function () {
          if (this.get("view.ready")) {
            var e = {};
            "2d" === this.view.type ? e.rotation = 0 : e.heading = 0, this.callGoTo({
              target: e
            });
          }
        }, t.prototype._updateForRotation = function (e) {
          void 0 !== e && null !== e && (this.orientation = {
            z: e
          });
        }, t.prototype._updateForCamera = function (e) {
          if (e) {
            var t = -e.heading;
            this.orientation = {
              x: 0,
              y: 0,
              z: t
            };
          }
        }, t.prototype._updateRotationWatcher = function (e) {
          this._handles.removeAll(), e && ("2d" === e.type ? this._handles.add(n.init(this, "view.rotation", this._updateForRotation)) : this._handles.add(n.init(this, "view.camera", this._updateForCamera)));
        }, r([p.property({
          dependsOn: ["view.spatialReference.isWebMercator", "view.spatialReference.wkid"],
          readOnly: !0
        })], t.prototype, "canShowNorth", null), r([p.property()], t.prototype, "orientation", void 0), r([p.property({
          dependsOn: ["view.ready", "canShowNorth"],
          readOnly: !0
        })], t.prototype, "state", null), r([p.property()], t.prototype, "view", void 0), r([p.property()], t.prototype, "reset", null), t = r([p.subclass("esri.widgets.CompassViewModel")], t);
      }(p.declared(s.GoToMixin(i)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsCompassNlsCompassJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Compass',
        'reset': 'Reset compass orientation'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Compass/nls/vi/Compass.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Compass/nls/vi/Compass.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsCompassNlsViCompassJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "La bàn",
      reset: "Thiết lập lại hướng la bàn"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Expand.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Expand.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsExpandJs(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__(
    /*! dojo/i18n!../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!./Expand/nls/Expand */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Expand/ExpandViewModel */
    "./node_modules/arcgis-js-api/widgets/Expand/ExpandViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, o, t, a, i, r, s, d, p) {
      var l = {
        base: "esri-expand esri-widget",
        modeAuto: "esri-expand--auto",
        modeDrawer: "esri-expand--drawer",
        modeFloating: "esri-expand--floating",
        container: "esri-expand__container",
        containerExpanded: "esri-expand__container--expanded",
        panel: "esri-expand__panel",
        button: "esri-widget--button",
        text: "esri-icon-font-fallback-text",
        icon: "esri-collapse__icon",
        iconExpanded: "esri-expand__icon--expanded",
        iconNumber: "esri-expand__icon-number",
        iconNumberExpanded: "esri-expand__icon-number--expanded",
        expandIcon: "esri-icon-expand",
        collapseIcon: "esri-icon-collapse",
        content: "esri-expand__content",
        contentExpanded: "esri-expand__content--expanded",
        expandMask: "esri-expand__mask",
        expandMaskExpanded: "esri-expand__mask--expanded"
      };
      return function (e) {
        function n(n) {
          var o = e.call(this, n) || this;
          return o.autoCollapse = null, o.collapseTooltip = "", o.content = "", o.expanded = null, o.expandTooltip = "", o.group = null, o.iconNumber = 0, o.label = i.widgetLabel, o.mode = "auto", o.view = null, o.viewModel = new d(), o;
        }

        return o(n, e), Object.defineProperty(n.prototype, "collapseIconClass", {
          get: function get() {
            return l.collapseIcon;
          },
          set: function set(e) {
            if (!e) return void this._clearOverride("collapseIconClass");

            this._override("collapseIconClass", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(n.prototype, "expandIconClass", {
          get: function get() {
            return p.isWidget(this.content) ? this.content.iconClass : l.expandIcon;
          },
          set: function set(e) {
            if (!e) return void this._clearOverride("expandIconClass");

            this._override("expandIconClass", e);
          },
          enumerable: !0,
          configurable: !0
        }), n.prototype.expand = function () {
          this.viewModel.expanded = !0;
        }, n.prototype.collapse = function () {
          this.viewModel.expanded = !1;
        }, n.prototype.toggle = function () {
          this.viewModel.expanded = !this.viewModel.expanded;
        }, n.prototype.render = function () {
          var e,
              n,
              o,
              t,
              i,
              r = this.viewModel.expanded,
              s = this.mode,
              d = this.expandTooltip || a.expand,
              c = this.collapseTooltip || a.collapse,
              x = r ? c : d,
              u = this.collapseIconClass,
              v = this.expandIconClass,
              b = (e = {}, e[l.iconExpanded] = r, e[u] = r, e[v] = !r, e),
              h = (n = {}, n[l.containerExpanded] = r, n),
              _ = (o = {}, o[l.contentExpanded] = r, o),
              y = (t = {}, t[l.expandMaskExpanded] = r, t),
              g = this.iconNumber,
              f = g && !r ? p.tsx("span", {
            key: "expand__icon-number",
            "class": l.iconNumber
          }, g) : null,
              m = g && r ? p.tsx("span", {
            key: "expand__expand-icon-number",
            "class": this.classes(l.iconNumber, l.iconNumberExpanded)
          }, g) : null,
              w = (i = {}, i[l.modeAuto] = "auto" === s, i[l.modeDrawer] = "drawer" === s, i[l.modeFloating] = "floating" === s, i),
              C = this.id + "_controls_content";

          return p.tsx("div", {
            "class": this.classes(l.base, w)
          }, p.tsx("div", {
            bind: this,
            onclick: this._toggle,
            "class": this.classes(l.expandMask, y)
          }), p.tsx("div", {
            "class": this.classes(l.container, h)
          }, p.tsx("div", {
            "class": l.panel
          }, p.tsx("div", {
            bind: this,
            onclick: this._toggle,
            onkeydown: this._toggle,
            "aria-controls": C,
            "aria-expanded": r ? "true" : "false",
            title: x,
            role: "button",
            tabindex: "0",
            "class": l.button
          }, f, p.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(l.icon, b)
          }), p.tsx("span", {
            "class": l.text
          }, x)), m), p.tsx("div", {
            id: C,
            role: "region",
            "class": this.classes(l.content, _)
          }, this._renderContent())));
        }, n.prototype._toggle = function () {
          this.toggle();
        }, n.prototype._renderContent = function () {
          var e = this.content;
          return "string" == typeof e ? p.tsx("div", {
            innerHTML: e
          }) : p.isWidget(e) ? e.render() : e instanceof HTMLElement ? p.tsx("div", {
            bind: e,
            afterCreate: this._attachToNode
          }) : p.isWidgetBase(e) ? p.tsx("div", {
            bind: e.domNode,
            afterCreate: this._attachToNode
          }) : null;
        }, n.prototype._attachToNode = function (e) {
          var n = this;
          e.appendChild(n);
        }, t([r.aliasOf("viewModel.autoCollapse")], n.prototype, "autoCollapse", void 0), t([r.property({
          dependsOn: ["content"]
        }), p.renderable()], n.prototype, "collapseIconClass", null), t([r.property(), p.renderable()], n.prototype, "collapseTooltip", void 0), t([r.property(), p.renderable()], n.prototype, "content", void 0), t([r.aliasOf("viewModel.expanded"), p.renderable()], n.prototype, "expanded", void 0), t([r.property({
          dependsOn: ["content"]
        }), p.renderable()], n.prototype, "expandIconClass", null), t([r.property(), p.renderable()], n.prototype, "expandTooltip", void 0), t([r.aliasOf("viewModel.group")], n.prototype, "group", void 0), t([r.property(), p.renderable()], n.prototype, "iconNumber", void 0), t([r.property()], n.prototype, "label", void 0), t([r.property(), p.renderable()], n.prototype, "mode", void 0), t([r.aliasOf("viewModel.view"), p.renderable()], n.prototype, "view", void 0), t([r.property({
          type: d
        }), p.renderable("viewModel.state")], n.prototype, "viewModel", void 0), t([p.accessibleHandler()], n.prototype, "_toggle", null), n = t([r.subclass("esri.widgets.Expand")], n);
      }(r.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Expand/ExpandViewModel.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Expand/ExpandViewModel.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsExpandExpandViewModelJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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_AMD_DEFINE_RESULT__ = function (e, t, n, i, o, r, p, a) {
      return function (e) {
        function t(t) {
          var n = e.call(this, t) || this;
          return n._viewpointHandle = null, n._handles = new r(), n.group = null, n;
        }

        return n(t, e), t.prototype.initialize = function () {
          var e = this;

          this._handles.add(p.on(this, "view.ui", "expand", function (t) {
            var n = t.target;
            n && n !== e && n.expanded && n.group && n.group === e.group && e._collapse();
          }));
        }, t.prototype.destroy = function () {
          this._viewpointHandle = null, this.view = null, this._handles.destroy(), this._handles = null;
        }, Object.defineProperty(t.prototype, "autoCollapse", {
          set: function set(e) {
            this._set("autoCollapse", e), this._watchViewpoint();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "expanded", {
          set: function set(e) {
            var t = !!e;

            this._set("expanded", t);

            var n = this.get("view.ui");
            n && n.emit("expand", {
              target: this
            }), this._viewpointHandleChange(t);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "view", {
          set: function set(e) {
            var t = this;
            this._get("view") !== e && (this._set("view", e), e && p.whenTrueOnce(e, "ready", function () {
              t.view === e && t._watchViewpoint();
            }));
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype._viewpointHandleChange = function (e) {
          var t = this;
          this._viewpointHandle && (e ? p.whenTrueOnce(this.view, "stationary", function () {
            return t._viewpointHandle.resume();
          }) : this._viewpointHandle.pause());
        }, t.prototype._watchViewpoint = function () {
          var e = this;
          this._handles.remove("viewpoint"), this._viewpointHandle = null;
          var t = this,
              n = t.autoCollapse,
              i = t.view;

          if (i && n) {
            var o = "3d" === i.type ? "camera" : "viewpoint",
                r = p.pausable(i, o, function () {
              return e._collapse();
            });
            this._handles.add(r, "viewpoint"), this._viewpointHandle = r;
          }
        }, t.prototype._collapse = function () {
          this.expanded = !1;
        }, i([a.property({
          value: !1
        })], t.prototype, "autoCollapse", null), i([a.property({
          value: !1
        })], t.prototype, "expanded", null), i([a.property()], t.prototype, "group", void 0), i([a.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), i([a.property({
          value: null
        })], t.prototype, "view", null), t = i([a.subclass("esri.widgets.Expand.ExpandViewModel")], t);
      }(a.declared(o));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsExpandNlsExpandJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Expand'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Expand/nls/vi/Expand.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Expand/nls/vi/Expand.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsExpandNlsViExpandJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Mở rộng"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Home.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Home.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsHomeJs(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__(
    /*! dojo/i18n!../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!./Home/nls/Home */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Home/nls/Home.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Home/HomeViewModel */
    "./node_modules/arcgis-js-api/widgets/Home/HomeViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, t, i, n, r, l, s, a, d) {
      var c = {
        base: "esri-home esri-widget--button esri-widget",
        text: "esri-icon-font-fallback-text",
        homeIcon: "esri-icon esri-icon-home",
        loadingIcon: "esri-icon-loading-indicator",
        rotatingIcon: "esri-rotating",
        widgetIcon: "esri-icon-home",
        disabled: "esri-disabled"
      };
      return function (e) {
        function o(o) {
          var t = e.call(this, o) || this;
          return t.goToOverride = null, t.iconClass = c.widgetIcon, t.label = r.widgetLabel, t.view = null, t.viewModel = new a(), t.viewpoint = null, t;
        }

        return t(o, e), o.prototype.cancelGo = function () {
          return null;
        }, o.prototype.go = function () {
          return null;
        }, o.prototype.render = function () {
          var e,
              o,
              t = this.get("viewModel.state"),
              i = (e = {}, e[c.disabled] = "disabled" === t, e),
              l = (o = {}, o[c.loadingIcon] = "going-home" === t, o[c.rotatingIcon] = "going-home" === t, o),
              s = "going-home" === t ? n.cancel : r.title;
          return d.tsx("div", {
            bind: this,
            "class": this.classes(c.base, i),
            role: "button",
            tabIndex: 0,
            onclick: this._go,
            onkeydown: this._go,
            "aria-label": s,
            title: s
          }, d.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(c.homeIcon, l)
          }), d.tsx("span", {
            "class": c.text
          }, r.button));
        }, o.prototype._go = function () {
          var e = this.viewModel;
          "going-home" === e.state ? e.cancelGo() : e.go();
        }, i([l.aliasOf("viewModel.goToOverride")], o.prototype, "goToOverride", void 0), i([l.property()], o.prototype, "iconClass", void 0), i([l.property()], o.prototype, "label", void 0), i([l.aliasOf("viewModel.view"), d.renderable()], o.prototype, "view", void 0), i([l.property({
          type: a
        }), d.renderable("viewModel.state"), d.vmEvent("go")], o.prototype, "viewModel", void 0), i([l.aliasOf("viewModel.viewpoint")], o.prototype, "viewpoint", void 0), i([l.aliasOf("viewModel.cancelGo")], o.prototype, "cancelGo", null), i([l.aliasOf("viewModel.go")], o.prototype, "go", null), i([d.accessibleHandler()], o.prototype, "_go", null), o = i([l.subclass("esri.widgets.Home")], o);
      }(l.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Home/HomeViewModel.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Home/HomeViewModel.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsHomeHomeViewModelJs(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__(
    /*! ../../Viewpoint */
    "./node_modules/arcgis-js-api/Viewpoint.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.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__(
    /*! ../support/GoTo */
    "./node_modules/arcgis-js-api/widgets/support/GoTo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, n, i, l, p, s, c, a, u) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._initialViewpoint = null, o._goingHomeController = null, o.go = o.go.bind(o), o;
        }

        return o(t, e), t.prototype.destroy = function () {
          this._cancelGo(), this.view = null;
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? this._goingHomeController ? "going-home" : "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "view", {
          set: function set(e) {
            var t = this;
            this._initialViewpoint = null, this._set("view", e), e && e.when().then(function () {
              t.view === e && (t._initialViewpoint = e.viewpoint.clone(), t.notifyChange("viewpoint"));
            });
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "viewpoint", {
          get: function get() {
            return this._get("viewpoint") || this._initialViewpoint;
          },
          set: function set(e) {
            this._set("viewpoint", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.go = function () {
          return i(this, void 0, void 0, function () {
            var e, t;
            return n(this, function (o) {
              switch (o.label) {
                case 0:
                  if (!this.get("view.ready")) throw new p("home:disabled-state", "Cannot go when disabled.");
                  this._cancelGo(), this.emit("go"), e = c.createAbortController(), this._goingHomeController = e, o.label = 1;

                case 1:
                  return o.trys.push([1, 4,, 5]), [4, this.view.when()];

                case 2:
                  return o.sent(), [4, this.callGoTo({
                    target: this.viewpoint,
                    options: {
                      signal: e.signal
                    }
                  })];

                case 3:
                  return o.sent(), [3, 5];

                case 4:
                  return t = o.sent(), [3, 5];

                case 5:
                  return this._goingHomeController = null, [2];
              }
            });
          });
        }, t.prototype.cancelGo = function () {
          this._cancelGo();
        }, t.prototype._cancelGo = function () {
          var e = this._goingHomeController;
          e && e.abort(), this._goingHomeController = null;
        }, r([a.property()], t.prototype, "_goingHomeController", void 0), r([a.property({
          dependsOn: ["_goingHomeController", "view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), r([a.property()], t.prototype, "view", null), r([a.property({
          type: l
        })], t.prototype, "viewpoint", null), r([a.property()], t.prototype, "go", null), r([a.property()], t.prototype, "cancelGo", null), t = r([a.subclass("esri.widgets.Home.HomeViewModel")], t);
      }(a.declared(u.GoToMixin(s.EventedAccessor)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Home/nls/Home.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Home/nls/Home.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsHomeNlsHomeJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Home',
        'button': 'Home',
        'title': 'Default map view'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Home/nls/vi/Home.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Home/nls/vi/Home.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsHomeNlsViHomeJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Trang chủ",
      button: "Trang chủ",
      title: "Giao diện bản đồ mặc định"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList.js":
  /*!*********************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! dojo/i18n!../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!./LayerList/nls/LayerList */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../libs/sortablejs/Sortable */
    "./node_modules/arcgis-js-api/libs/sortablejs/Sortable.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./LayerList/LayerListViewModel */
    "./node_modules/arcgis-js-api/widgets/LayerList/LayerListViewModel.js"), __webpack_require__(
    /*! ./LayerList/ListItem */
    "./node_modules/arcgis-js-api/widgets/LayerList/ListItem.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, n, o, s, r, l, a, c, d, u, p, g, h, y, _) {
      function b(e, t, i) {
        e.splice(i, 0, e.splice(t, 1)[0]);
      }

      function m(e) {
        var t = e.actionsOpen,
            i = e.children;
        t && (e.actionsOpen = !1), i.forEach(function (e) {
          return m(e);
        });
      }

      var v = l.ofType(y),
          f = {
        base: "esri-layer-list esri-widget esri-widget--panel",
        noItems: "esri-layer-list__no-items",
        list: "esri-layer-list__list",
        listRoot: "esri-layer-list__list--root",
        listExclusive: "esri-layer-list__list--exclusive",
        listInherited: "esri-layer-list__list--inherited",
        listIndependent: "esri-layer-list__list--independent",
        item: "esri-layer-list__item",
        itemContent: "esri-layer-list__item-content",
        itemError: "esri-layer-list__item--error",
        itemInvisibleAtScale: "esri-layer-list__item--invisible-at-scale",
        itemUpdating: "esri-layer-list__item--updating",
        itemChildren: "esri-layer-list__item--has-children",
        itemSelectable: "esri-layer-list__item--selectable",
        itemContainer: "esri-layer-list__item-container",
        actionsMenu: "esri-layer-list__item-actions-menu",
        actionsMenuItem: "esri-layer-list__item-actions-menu-item",
        actionsMenuItemActive: "esri-layer-list__item-actions-menu-item--active",
        actions: "esri-layer-list__item-actions",
        actionsList: "esri-layer-list__item-actions-list",
        action: "esri-layer-list__item-action",
        actionIcon: "esri-layer-list__item-action-icon",
        actionImage: "esri-layer-list__item-action-image",
        actionTitle: "esri-layer-list__item-action-title",
        actionToggle: "esri-layer-list__action-toggle",
        actionToggleOn: "esri-layer-list__action-toggle--on",
        label: "esri-layer-list__item-label",
        errorMessage: "esri-layer-list__item-error-message",
        title: "esri-layer-list__item-title",
        toggleVisible: "esri-layer-list__item-toggle",
        toggleVisibleIcon: "esri-layer-list__item-toggle-icon",
        childToggle: "esri-layer-list__child-toggle",
        childToggleOpen: "esri-layer-list__child-toggle--open",
        childOpened: "esri-layer-list__child-toggle-icon--opened",
        childClosed: "esri-layer-list__child-toggle-icon--closed",
        childClosed_RTL: "esri-layer-list__child-toggle-icon--closed-rtl",
        disabled: "esri-disabled",
        disabledElement: "esri-disabled-element",
        hidden: "esri-hidden",
        rotating: "esri-rotating",
        iconEllipses: "esri-icon-handle-horizontal",
        iconVisible: "esri-icon-visible",
        iconInvisible: "esri-icon-non-visible",
        iconRadioSelected: "esri-icon-radio-checked",
        iconRadioUnselected: "esri-icon-radio-unchecked",
        iconNoticeTriangle: "esri-icon-notice-triangle",
        iconChildrenOpen: "esri-icon-down-arrow",
        iconDownArrow: "esri-icon-down-arrow",
        iconRightArrow: "esri-icon-right-triangle-arrow",
        iconLeftArrow: "esri-icon-left-triangle-arrow",
        iconLoading: "esri-icon-loading-indicator",
        iconDefaultAction: "esri-icon-default-action",
        widgetIcon: "esri-icon-layers"
      },
          I = {
        actions: "actions",
        actionSection: "action-section",
        items: "items"
      },
          A = {
        exclusive: "exclusive",
        inherited: "inherited",
        independent: "independent"
      };
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i._handles = new c(), i._sortable = null, i._sortableNode = null, i._focusSortUid = null, i.iconClass = f.widgetIcon, i.label = r.widgetLabel, i.listItemCreatedFunction = null, i.multipleSelectionEnabled = !1, i.operationalItems = null, i.selectionEnabled = !1, i.selectedItems = new v(), i.statusIndicatorsVisible = !0, i.view = null, i.viewModel = new h(), i;
        }

        return i(t, e), t.prototype.postInitialize = function () {
          var e = this,
              t = this.operationalItems;
          this.own(d.on(this, "operationalItems", "change", function () {
            return e._itemsChanged(t);
          }), d.init(this, "selectionEnabled", function () {
            return e._toggleSorting();
          }));
        }, t.prototype.destroy = function () {
          var e = this._sortable;
          e && e.destroy(), this._handles.destroy(), this._handles = null;
        }, t.prototype.triggerAction = function (e, t) {
          this.viewModel.triggerAction(e, t);
        }, t.prototype.render = function () {
          var e,
              t = this,
              i = this._getItems(),
              n = this.get("viewModel.state"),
              o = 0 === i.length ? _.tsx("div", {
            "class": f.noItems
          }, r.noItemsToDisplay) : _.tsx("ul", {
            "aria-label": r.widgetLabel,
            role: this.selectionEnabled ? "listbox" : void 0,
            afterCreate: this._sortNodeCreated,
            "data-node-ref": "_sortableNode",
            bind: this,
            "class": this.classes(f.list, f.listRoot, f.listIndependent)
          }, i.map(function (e) {
            return t._renderItem(e, null);
          })),
              s = (e = {}, e[f.hidden] = "loading" === n, e[f.disabled] = "disabled" === n, e);

          return _.tsx("div", {
            "class": this.classes(f.base, s)
          }, o);
        }, t.prototype._toggleSorting = function () {
          var e = this,
              t = this,
              i = t._sortable,
              n = t._sortableNode,
              o = t.selectionEnabled;
          if (n) if (i) i.option("disabled", !o);else {
            var s = p.create(n, {
              dataIdAttr: "data-layer-uid",
              group: "root-layers",
              disabled: !o,
              onSort: function onSort() {
                return e._sortLayersToItems(s.toArray());
              }
            });
            this._sortable = s;
          }
        }, t.prototype._sortNodeCreated = function (e) {
          this._sortableNode = e, this._toggleSorting();
        }, t.prototype._sortLayersToItems = function (e) {
          var t = this.get("view.map.layers");
          t && t.sort(function (t, i) {
            var n = e.indexOf(t.uid),
                o = e.indexOf(i.uid);
            return n > o ? -1 : n < o ? 1 : 0;
          });
        }, t.prototype._getItems = function () {
          var e = this;
          return this.operationalItems.toArray().filter(function (t) {
            return e.errorsVisible || !t.error;
          });
        }, t.prototype._getSingleActionButton = function (e) {
          return e.actionsSections.reduce(function (e) {
            return e;
          }).filter(function (e) {
            return e && "button" === e.type;
          }).getItemAt(0);
        }, t.prototype._renderItem = function (e, t) {
          var i,
              n,
              l,
              a,
              c,
              d,
              u = this,
              p = this.id,
              g = p + "_" + e.uid,
              h = g + "_actions",
              y = g + "__list",
              b = g + "__title",
              m = e.children.length,
              v = !!e.error,
              I = !!m && !v,
              w = v ? r.layerError : "",
              x = e.visibilityMode,
              S = e.children && e.children.toArray(),
              k = A.exclusive,
              C = A.inherited,
              L = (i = {}, i[f.listExclusive] = x === k, i[f.listInherited] = x === C, i[f.listIndependent] = x !== C && x !== k, i),
              O = (n = {}, n[f.itemChildren] = I, n[f.itemError] = !!v, n[f.itemUpdating] = e.updating && !t && this.statusIndicatorsVisible, n[f.itemInvisibleAtScale] = !e.visibleAtCurrentScale, n[f.itemSelectable] = this.selectionEnabled, n),
              E = this._countActions(e.actionsSections),
              T = e.panel,
              M = T && T.open ? T.render() : null,
              R = T && T.visible ? this._renderPanelButton(T) : null,
              U = (l = {}, l[f.actionsMenuItemActive] = e.actionsOpen, l),
              V = e.actionsOpen ? s.close : s.open,
              N = 1 === E && this._getSingleActionButton(e),
              P = N ? this._renderAction({
            item: e,
            action: N,
            singleAction: !0
          }) : null,
              H = !N && E ? _.tsx("div", {
            key: "actions-menu-toggle",
            "data-item": e,
            bind: this,
            onclick: this._toggleActionsOpen,
            onkeydown: this._toggleActionsOpen,
            "class": this.classes(f.actionsMenuItem, U),
            tabindex: "0",
            role: "button",
            "aria-controls": h,
            "aria-label": V,
            title: V
          }, _.tsx("span", {
            "aria-hidden": "true",
            "class": f.iconEllipses
          })) : null,
              D = H || R || P ? _.tsx("div", {
            key: "esri-layer-list__actions-menu",
            "class": f.actionsMenu
          }, R, P, H) : null,
              B = E ? this._renderActionsSections(e, e.actionsSections, h) : null,
              K = I ? _.tsx("ul", {
            key: "esri-layer-list__list-items",
            id: y,
            "class": this.classes(f.list, L),
            "aria-expanded": e.open ? "true" : "false",
            role: x === k ? "radiogroup" : "group",
            hidden: !e.open || null
          }, S.map(function (t) {
            return u._renderItem(t, e);
          })) : null,
              j = (a = {}, a[f.childToggleOpen] = e.open, a),
              F = e.open ? s.collapse : s.expand,
              z = I ? _.tsx("span", {
            onclick: this._toggleChildrenClick,
            onkeydown: this._toggleChildrenClick,
            "data-item": e,
            key: "esri-layer-list__toggle-children",
            "class": this.classes(f.childToggle, j),
            tabindex: "0",
            role: "button",
            "aria-controls": y,
            "aria-label": F,
            title: F
          }, _.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(f.childClosed, f.iconRightArrow)
          }), _.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(f.childOpened, f.iconDownArrow)
          }), _.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(f.childClosed_RTL, f.iconLeftArrow)
          })) : null,
              q = this._createLabelNode(e, t, b),
              W = v ? _.tsx("div", {
            key: "esri-layer-list__error",
            "class": f.errorMessage,
            role: "alert"
          }, _.tsx("span", null, w)) : null,
              G = this.selectedItems.indexOf(e) > -1,
              J = t ? null : e.get("layer.uid"),
              Q = this.selectionEnabled ? (c = {
            bind: this,
            onclick: this._toggleSelection,
            onkeydown: this._selectionKeydown,
            "data-item": e,
            tabIndex: 0,
            "aria-selected": G ? "true" : "false",
            role: "option",
            "aria-labelledby": b
          }, c["data-layer-uid"] = J, c) : (d = {
            bind: void 0,
            onclick: void 0,
            onkeydown: void 0,
            "data-item": void 0,
            tabIndex: void 0,
            "aria-selected": void 0,
            role: void 0,
            "aria-labelledby": void 0
          }, d["data-layer-uid"] = void 0, d);

          return _.tsx("li", o({
            key: e,
            bind: this,
            afterCreate: this._focusListItem,
            afterUpdate: this._focusListItem,
            "class": this.classes(f.item, O),
            "aria-labelledby": b
          }, Q), _.tsx("div", {
            key: "esri-layer-list__list-item-container",
            "class": f.itemContainer
          }, z, q, D), W, B, M, K);
        }, t.prototype._focusListItem = function (e) {
          var t = this._focusSortUid;

          if (e && t) {
            e.dataset.layerUid === t && (e.focus(), this._focusSortUid = null);
          }
        }, t.prototype._createLabelNode = function (e, t, i) {
          var n,
              s = this.selectionEnabled,
              l = A.exclusive,
              a = A.inherited,
              c = t && t.visibilityMode,
              d = (n = {}, n[f.iconRadioSelected] = c === l && e.visible, n[f.iconRadioUnselected] = c === l && !e.visible, n[f.iconVisible] = c !== l && e.visible, n[f.iconInvisible] = c !== l && !e.visible, n),
              u = c === l ? "radio" : "switch",
              p = e.title || r.untitledLayer,
              g = e.visibleAtCurrentScale ? p : p + " (" + r.layerInvisibleAtScale + ")",
              h = _.tsx("span", {
            key: "layer-title-container",
            id: i,
            title: g,
            "aria-label": g,
            "class": f.title
          }, p),
              y = _.tsx("span", {
            "class": this.classes(f.toggleVisibleIcon, d),
            "aria-hidden": "true"
          }),
              b = {
            bind: this,
            onclick: this._toggleVisibility,
            onkeydown: this._toggleVisibility,
            "data-item": e,
            "data-parent-visibility": c,
            tabIndex: 0,
            "aria-checked": e.visible ? "true" : "false",
            role: u,
            "aria-labelledby": i
          },
              m = {
            bind: void 0,
            onclick: void 0,
            onkeydown: void 0,
            "data-item": void 0,
            "data-parent-visibility": void 0,
            tabIndex: void 0,
            "aria-checked": void 0,
            role: void 0,
            "aria-labelledby": void 0
          },
              v = s ? b : m,
              I = s ? m : b,
              w = _.tsx("div", o({
            key: e,
            "class": f.label
          }, I), _.tsx("span", o({
            "class": f.toggleVisible
          }, v), y), h),
              x = !!e.error,
              S = x ? _.tsx("span", {
            key: "notice-triangle",
            "aria-hidden": "true",
            "class": f.iconNoticeTriangle
          }) : null;

          return c === a || x ? _.tsx("div", {
            key: e,
            "class": f.label
          }, S, h) : w;
        }, t.prototype._renderPanelButton = function (e) {
          var t,
              i,
              n = e.className,
              o = e.open,
              s = e.title,
              r = e.image,
              l = r || n ? n : f.iconDefaultAction,
              a = this._getIconImageStyles(e),
              c = (t = {}, t[f.actionsMenuItemActive] = o, t),
              d = (i = {}, i[f.actionImage] = !!a["background-image"], i);

          return l && (d[l] = !!l), _.tsx("div", {
            key: e,
            bind: this,
            "data-panel": e,
            onclick: this._triggerPanel,
            onkeydown: this._triggerPanel,
            "class": this.classes(f.actionsMenuItem, c),
            role: "button",
            tabindex: "0",
            title: s,
            "aria-label": s
          }, _.tsx("span", {
            "class": this.classes(d),
            styles: a
          }));
        }, t.prototype._watchActionSectionChanges = function (e, t) {
          var i = this,
              n = I.actionSection + t;
          this._handles.add(e.on("change", this.scheduleRender.bind(this)), n), e.forEach(function (e) {
            return i._renderOnActionChanges(e, t);
          });
        }, t.prototype._renderOnActionChanges = function (e, t) {
          var i = this,
              n = I.actions + t;
          return "toggle" === e.type ? void this._handles.add([d.init(e, ["className", "image", "id", "title", "visible", "value"], function () {
            return i.scheduleRender();
          })], n) : "slider" === e.type ? void this._handles.add([d.init(e, ["className", "id", "title", "visible", "value", "displayValueEnabled", "max", "min", "step"], function () {
            return i.scheduleRender();
          })], n) : void this._handles.add([d.init(e, ["className", "image", "id", "title", "visible"], function () {
            return i.scheduleRender();
          })], n);
        }, t.prototype._renderOnItemChanges = function (e) {
          var t = this,
              i = e.uid,
              n = I.items + i;
          this._handles.add([d.init(e, ["actionsOpen", "visible", "open", "updating", "title", "visibleAtCurrentScale", "error", "visibilityMode", "panel", "panel.title", "panel.content", "panel.className"], function () {
            return t.scheduleRender();
          }), e.actionsSections.on("change", function () {
            return t.scheduleRender();
          }), e.children.on("change", function () {
            return t.scheduleRender();
          })], n), e.children.forEach(function (e) {
            return t._renderOnItemChanges(e);
          }), e.actionsSections.forEach(function (e) {
            return t._watchActionSectionChanges(e, i);
          });
        }, t.prototype._itemsChanged = function (e) {
          var t = this;
          this._handles.removeAll(), e.forEach(function (e) {
            return t._renderOnItemChanges(e);
          }), this.scheduleRender();
        }, t.prototype._renderActionsSections = function (e, t, i) {
          var n = this,
              o = t.toArray(),
              s = o.map(function (t) {
            return _.tsx("ul", {
              key: t,
              "class": f.actionsList
            }, n._renderActionSection(e, t));
          });
          return _.tsx("div", {
            role: "group",
            "aria-expanded": e.actionsOpen ? "true" : "false",
            key: "esri-layer-list__actions-section",
            id: i,
            "class": f.actions,
            hidden: !e.actionsOpen || null
          }, s);
        }, t.prototype._renderActionSection = function (e, t) {
          var i = this;
          return (t && t.toArray()).map(function (t) {
            return i._renderAction({
              item: e,
              action: t
            });
          });
        }, t.prototype._renderAction = function (e) {
          var t,
              i,
              n = e.item,
              o = e.action,
              s = e.singleAction,
              r = this._getIconImageStyles(o),
              l = o.active,
              a = o.className,
              c = o.disabled,
              d = o.title,
              u = "button" !== o.type || o.image || a ? a : f.iconDefaultAction,
              p = (t = {}, t[f.actionsMenuItem] = s && "button" === o.type, t[f.action] = !s && "toggle" !== o.type, t[f.actionToggle] = "toggle" === o.type, t[f.actionToggleOn] = "toggle" === o.type && o.value, t[f.disabledElement] = c, t),
              g = (i = {}, i[f.actionImage] = !l && !!r["background-image"], i[f.iconLoading] = l, i[f.rotating] = l, i);

          u && (g[u] = !0);

          var h = _.tsx("span", {
            key: "action-icon",
            "aria-hidden": "true",
            "class": this.classes(f.actionIcon, g),
            styles: r
          }),
              y = s ? null : _.tsx("span", {
            key: "action-title",
            "class": f.actionTitle
          }, d),
              b = [h, y];

          return s ? _.tsx("div", {
            bind: this,
            "data-item": n,
            "data-action": o,
            role: "button",
            key: o,
            onclick: this._triggerAction,
            onkeydown: this._triggerAction,
            classes: p,
            tabindex: "0",
            title: d,
            "aria-label": d
          }, b) : _.tsx("li", {
            bind: this,
            "data-item": n,
            "data-action": o,
            key: o,
            onclick: this._triggerAction,
            onkeydown: this._triggerAction,
            classes: p,
            tabindex: "0",
            role: "button",
            title: d,
            "aria-label": d
          }, b);
        }, t.prototype._countActions = function (e) {
          return e.reduce(function (e, t) {
            return e + t.length;
          }, 0);
        }, t.prototype._getIconImageStyles = function (e) {
          var t = "esri.widgets.LayerList.ListItemPanel" === e.declaredClass || "esri.support.Action.ActionButton" === e.declaredClass || "esri.support.Action.ActionToggle" === e.declaredClass ? e.image : null;
          return {
            "background-image": t ? 'url("' + t + '")' : null
          };
        }, t.prototype._selectionKeydown = function (e) {
          var t = ["ArrowDown", "ArrowUp"],
              i = a.eventKey(e);
          if (-1 === t.indexOf(i)) return void this._toggleSelection(e);
          e.stopPropagation();
          var n = e.currentTarget,
              o = n["data-item"],
              s = this,
              r = s._sortable,
              l = s.selectedItems,
              c = l.indexOf(o) > -1,
              d = r.toArray(),
              u = e.target,
              p = d.indexOf(u.dataset.layerUid);

          if (-1 !== p) {
            if ("ArrowDown" === i) {
              var g = p + 1;
              if (g >= d.length) return;
              c ? (b(d, p, g), r.sort(d), this._sortLayersToItems(r.toArray()), this._focusSortUid = d[g]) : (this._focusSortUid = d[g], this.scheduleRender());
            }

            if ("ArrowUp" === i) {
              var g = p - 1;
              if (g <= -1) return;
              c ? (b(d, p, g), r.sort(d), this._sortLayersToItems(r.toArray()), this._focusSortUid = d[g]) : (this._focusSortUid = d[g], this.scheduleRender());
            }
          }
        }, t.prototype._toggleActionsOpen = function (e) {
          var t = e.currentTarget,
              i = t["data-item"],
              n = i.actionsOpen,
              o = !n;
          o && this.operationalItems.forEach(function (e) {
            return m(e);
          }), i.actionsOpen = o, e.stopPropagation();
        }, t.prototype._triggerPanel = function (e) {
          var t = e.currentTarget,
              i = t["data-panel"];
          i && (i.open = !i.open), e.stopPropagation();
        }, t.prototype._triggerAction = function (e) {
          var t = e.currentTarget,
              i = t["data-action"],
              n = t["data-item"];
          "toggle" === i.type && (i.value = !i.value), this.triggerAction(i, n), e.stopPropagation();
        }, t.prototype._toggleVisibility = function (e) {
          var t = e.currentTarget,
              i = t.getAttribute("data-parent-visibility"),
              n = t["data-item"];
          i === A.exclusive && n.visible || (n.visible = !n.visible), e.stopPropagation();
        }, t.prototype._toggleChildrenClick = function (e) {
          var t = e.currentTarget,
              i = t["data-item"];
          i.open = !i.open, e.stopPropagation();
        }, t.prototype._toggleSelection = function (e) {
          e.stopPropagation();
          var t = this,
              i = t.multipleSelectionEnabled,
              n = t.selectedItems,
              o = i && (e.metaKey || e.ctrlKey),
              s = e.currentTarget,
              r = s["data-item"],
              l = n.indexOf(r) > -1,
              a = n.length,
              c = l && 1 === a;
          return o ? void (l ? n.remove(r) : n.add(r)) : a && !c ? (n.removeAll(), void n.add(r)) : void (l ? n.remove(r) : n.add(r));
        }, n([u.property()], t.prototype, "iconClass", void 0), n([u.property(), _.renderable()], t.prototype, "errorsVisible", void 0), n([u.property()], t.prototype, "label", void 0), n([u.aliasOf("viewModel.listItemCreatedFunction"), _.renderable()], t.prototype, "listItemCreatedFunction", void 0), n([u.property()], t.prototype, "multipleSelectionEnabled", void 0), n([u.aliasOf("viewModel.operationalItems"), _.renderable()], t.prototype, "operationalItems", void 0), n([u.property(), _.renderable()], t.prototype, "selectionEnabled", void 0), n([u.property(), _.renderable()], t.prototype, "selectedItems", void 0), n([u.property(), _.renderable()], t.prototype, "statusIndicatorsVisible", void 0), n([u.aliasOf("viewModel.view"), _.renderable()], t.prototype, "view", void 0), n([_.vmEvent("trigger-action"), u.property({
          type: h
        }), _.renderable("viewModel.state")], t.prototype, "viewModel", void 0), n([u.aliasOf("viewModel.triggerAction")], t.prototype, "triggerAction", null), n([_.accessibleHandler()], t.prototype, "_toggleActionsOpen", null), n([_.accessibleHandler()], t.prototype, "_triggerPanel", null), n([_.accessibleHandler()], t.prototype, "_triggerAction", null), n([_.accessibleHandler()], t.prototype, "_toggleVisibility", null), n([_.accessibleHandler()], t.prototype, "_toggleChildrenClick", null), n([_.accessibleHandler()], t.prototype, "_toggleSelection", null), t = n([u.subclass("esri.widgets.LayerList")], t);
      }(u.declared(g));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList/LayerListViewModel.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList/LayerListViewModel.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListLayerListViewModelJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./ListItem */
    "./node_modules/arcgis-js-api/widgets/LayerList/ListItem.js"), __webpack_require__(
    /*! ./support/layerListUtils */
    "./node_modules/arcgis-js-api/widgets/LayerList/support/layerListUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, o, n, s, a, l, c, d) {
      var p = {
        view: "view",
        viewLayers: "view-layers",
        mapLayers: "map-layers",
        layerViews: "layer-views",
        layerListMode: "layer-list-mode"
      },
          h = o.ofType(c);
      return function (e) {
        function t(t) {
          var i = e.call(this, t) || this;
          return i._handles = new s(), i.listItemCreatedFunction = null, i.operationalItems = new h(), i.view = null, i;
        }

        return i(t, e), t.prototype.initialize = function () {
          var e = this;

          this._handles.add(a.init(this, ["view", "view.ready"], function () {
            return e._viewHandles();
          }), p.view);
        }, t.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null, this.view = null, this.operationalItems.removeAll();
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            var e = this.get("view");
            return this.get("view.ready") ? "ready" : e ? "loading" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.triggerAction = function (e, t) {
          e && this.emit("trigger-action", {
            action: e,
            item: t
          });
        }, t.prototype._createLayerViewHandles = function (e) {
          var t = this,
              i = this._handles;
          i.remove(p.layerViews), this._compileList(), e && i.add(e.on("change", function () {
            return t._compileList();
          }), p.layerViews);
        }, t.prototype._createMapLayerHandles = function (e) {
          var t = this,
              i = this._handles;
          i.remove(p.mapLayers), this._compileList(), e && i.add(e.on("change", function () {
            return t._compileList();
          }), p.mapLayers);
        }, t.prototype._watchItemProperties = function (e) {
          var t = this;

          this._handles.add([e.children.on("change", function () {
            t._modifyListItemChildren(e.children);
          })], "children-change-" + e.uid);
        }, t.prototype._modifyListItemChildren = function (e) {
          var t = this;
          e.forEach(function (e) {
            return t._modifyListItem(e);
          });
        }, t.prototype._modifyListItem = function (e) {
          if ("function" == typeof this.listItemCreatedFunction) {
            var t = {
              item: e
            };
            this.listItemCreatedFunction.call(null, t);
          }

          this._modifyListItemChildren(e.children);
        }, t.prototype._createListItem = function (e) {
          var t = this.view,
              i = new c({
            layer: e,
            view: t
          });
          return this._watchItemProperties(i), i;
        }, t.prototype._removeAllItems = function () {
          var e = this,
              t = e._handles,
              i = e.operationalItems;
          i.forEach(function (e) {
            t.remove("children-change-" + e.uid);
          }), i.removeAll();
        }, t.prototype._getViewableLayers = function (e) {
          if (e) return e.filter(function (e) {
            return "hide" !== d.findLayerListMode(e);
          });
        }, t.prototype._watchLayersListMode = function (e) {
          var t = this,
              i = this._handles;
          i.remove(p.layerListMode), e && e.forEach(function (e) {
            i.add(a.watch(e, "listMode", function () {
              return t._compileList();
            }), p.layerListMode);
          });
        }, t.prototype._compileList = function () {
          var e = this.get("view.map.layers");

          this._watchLayersListMode(e);

          var t = this._getViewableLayers(e);

          if (!t || !t.length) return void this._removeAllItems();
          this._createNewItems(t), this._modifyOrRemoveItems(t), this._sortItems(t);
        }, t.prototype._createNewItems = function (e) {
          var t = this,
              i = this.operationalItems;
          e.forEach(function (e) {
            i.find(function (t) {
              return t.layer === e;
            }) || i.add(t._createListItem(e));
          });
        }, t.prototype._modifyOrRemoveItems = function (e) {
          var t = this,
              i = this,
              r = i._handles,
              o = i.operationalItems;
          o.forEach(function (i) {
            if (i) {
              e.find(function (e) {
                return i.layer === e;
              }) ? t._modifyListItem(i) : (r.remove("children-change-" + i.uid), o.remove(i));
            }
          });
        }, t.prototype._sortItems = function (e) {
          this.operationalItems.sort(function (t, i) {
            var r = e.indexOf(t.layer),
                o = e.indexOf(i.layer);
            return r > o ? -1 : r < o ? 1 : 0;
          });
        }, t.prototype._viewHandles = function () {
          var e = this,
              t = this,
              i = t._handles,
              r = t.view;
          i.remove([p.mapLayers, p.layerViews, p.viewLayers]), this._compileList(), r && r.ready && i.add([a.init(this, "view.map.layers", function (t) {
            return e._createMapLayerHandles(t);
          }), a.init(this, "view.layerViews", function (t) {
            return e._createLayerViewHandles(t);
          }), a.init(this, "listItemCreatedFunction", function () {
            return e._compileList();
          })], p.viewLayers);
        }, r([l.property()], t.prototype, "listItemCreatedFunction", void 0), r([l.property({
          type: h
        })], t.prototype, "operationalItems", void 0), r([l.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), r([l.property()], t.prototype, "view", void 0), t = r([l.subclass("esri.widgets.LayerList.LayerListViewModel")], t);
      }(l.declared(n.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList/ListItem.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList/ListItem.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListListItemJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../../core/Identifiable */
    "./node_modules/arcgis-js-api/core/Identifiable.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/Sublayer */
    "./node_modules/arcgis-js-api/layers/support/Sublayer.js"), __webpack_require__(
    /*! ../../support/actions/ActionBase */
    "./node_modules/arcgis-js-api/support/actions/ActionBase.js"), __webpack_require__(
    /*! ../../support/actions/ActionButton */
    "./node_modules/arcgis-js-api/support/actions/ActionButton.js"), __webpack_require__(
    /*! ../../support/actions/ActionSlider */
    "./node_modules/arcgis-js-api/support/actions/ActionSlider.js"), __webpack_require__(
    /*! ../../support/actions/ActionToggle */
    "./node_modules/arcgis-js-api/support/actions/ActionToggle.js"), __webpack_require__(
    /*! ./ListItemPanel */
    "./node_modules/arcgis-js-api/widgets/LayerList/ListItemPanel.js"), __webpack_require__(
    /*! ./support/layerListUtils */
    "./node_modules/arcgis-js-api/widgets/LayerList/support/layerListUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, o, a, l, s, p, y, d, c, u, h, f, v, w, b) {
      var g = l.ofType({
        key: "type",
        defaultKeyValue: "button",
        base: u,
        typeMap: {
          button: h,
          toggle: v,
          slider: f
        }
      }),
          _ = l.ofType(g);

      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._handles = new s(), r.actionsSections = new _(), r.actionsOpen = !1, r.children = new (l.ofType(a))(), r.error = null, r.layer = null, r.layerView = null, r.open = !1, r.panel = null, r.parent = null, r.view = null, r.visible = null, r;
        }

        r(t, e), a = t, t.prototype.initialize = function () {
          var e = this;

          this._handles.add([y.init(this, "layer", function (t) {
            return e._watchLayerProperties(t);
          }), y.init(this, "view", function (t) {
            return e._updateChildren(t);
          }), y.init(this, "panel", function (t) {
            return e._setListItemOnPanel(t);
          }), y.init(this, ["layer", "view"], function () {
            return e._getLayerView();
          })]);
        }, t.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null, this.view = null;
        }, t.prototype.castPanel = function (e) {
          return this.get("panel.open") && !e.hasOwnProperty("open") && (e.open = !0), e ? new w(e) : null;
        }, Object.defineProperty(t.prototype, "title", {
          get: function get() {
            var e = this.get("layer.layer");
            return (!e || e && this.get("layer.layer.loaded")) && this.get("layer.title") || "";
          },
          set: function set(e) {
            if (void 0 === e) return void this._clearOverride("title");

            this._override("title", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "updating", {
          get: function get() {
            var e = this.layerView;
            return e ? e.updating : this._isLayerUpdating(this.layer);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "visibleAtCurrentScale", {
          get: function get() {
            return !b.isLayerOutsideScaleRange(this.layer, this.get("view.scale"));
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "visibilityMode", {
          get: function get() {
            return b.findLayerVisibilityMode(this.layer);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.clone = function () {
          return new a({
            actionsSections: this.actionsSections.clone(),
            actionsOpen: this.actionsOpen,
            children: this.children.clone(),
            layer: this.layer,
            open: this.open,
            panel: this.panel,
            title: this.title,
            view: this.view,
            visible: this.visible
          });
        }, t.prototype._setListItemOnPanel = function (e) {
          e && (e.listItem = this);
        }, t.prototype._updateChildren = function (e) {
          var t = this.children;
          t && t.forEach(function (t) {
            return t.view = e;
          });
        }, t.prototype._addChildren = function (e) {
          var t = this;

          if (this.children.removeAll(), e) {
            this._handles.remove("child-list-mode"), e.forEach(function (r) {
              t._handles.add(y.watch(r, "listMode", function () {
                return t._addChildren(e);
              }), "child-list-mode");
            });
            var r = [];
            e.filter(function (e) {
              return "hide" !== b.findLayerListMode(e);
            }).forEach(function (e) {
              if (b.canDisplayLayer(e)) {
                var i = new a({
                  layer: e,
                  parent: t,
                  view: t.view
                });
                r.unshift(i);
              }
            }), this.children.addMany(r);
          }
        }, t.prototype._watchSublayerChanges = function (e) {
          var t = this;
          e && this._handles.add(e.on("change", function () {
            t._addChildren(e);
          }), "layer");
        }, t.prototype._initializeChildLayers = function (e) {
          this._addChildren(e), this._watchSublayerChanges(e);
        }, t.prototype._watchLayerProperties = function (e) {
          var t = this;

          if (this._handles && (this._handles.remove("layer"), e)) {
            this._handles.add(y.watch(e, "listMode", function () {
              return t._watchLayerProperties(e);
            }), "layer");

            if ("hide-children" === b.findLayerListMode(e)) return void this.children.removeAll();
            var r = b.getNormalizedChildLayerProperty(e);
            r && this._handles.add(y.init(e, r, function () {
              e.hasOwnProperty(r) && t._initializeChildLayers(e[r]);
            }), "layer");
          }
        }, t.prototype._getLayerView = function () {
          return o(this, void 0, void 0, function () {
            var e, t, r, i, o;
            return n(this, function (n) {
              switch (n.label) {
                case 0:
                  if (e = this, t = e.layer, r = e.view, !t || !r) return [2];
                  n.label = 1;

                case 1:
                  return n.trys.push([1, 3,, 4]), [4, r.whenLayerView(t)];

                case 2:
                  return i = n.sent(), i.layer !== this.layer ? [2] : (this._set("layerView", i), [3, 4]);

                case 3:
                  return o = n.sent(), [3, 4];

                case 4:
                  return [2];
              }
            });
          });
        }, t.prototype._isLayerUpdating = function (e) {
          return !(e instanceof c) && e && "loading" === e.loadStatus;
        };
        var a;
        return i([d.property({
          type: _
        })], t.prototype, "actionsSections", void 0), i([d.property()], t.prototype, "actionsOpen", void 0), i([d.property({
          type: l
        })], t.prototype, "children", void 0), i([d.aliasOf("layer.loadError?")], t.prototype, "error", void 0), i([d.property()], t.prototype, "layer", void 0), i([d.property({
          readOnly: !0
        })], t.prototype, "layerView", void 0), i([d.property()], t.prototype, "open", void 0), i([d.property({
          type: w
        })], t.prototype, "panel", void 0), i([d.cast("panel")], t.prototype, "castPanel", null), i([d.property()], t.prototype, "parent", void 0), i([d.property({
          dependsOn: ["layer.layer?.loaded", "layer.title"]
        })], t.prototype, "title", null), i([d.property({
          dependsOn: ["layer.loadStatus?", "layerView.updating"],
          readOnly: !0
        })], t.prototype, "updating", null), i([d.property({
          value: null
        })], t.prototype, "view", void 0), i([d.aliasOf("layer.visible")], t.prototype, "visible", void 0), i([d.property({
          dependsOn: ["layer.minScale?", "layer.maxScale?", "view.scale"],
          readOnly: !0
        })], t.prototype, "visibleAtCurrentScale", null), i([d.property({
          dependsOn: ["layer.visibilityMode?", "layer.capabilities?.exportMap?.supportsSublayerVisibility", "layer.layer?.capabilities?.exportMap?.supportsSublayerVisibility"],
          readOnly: !0
        })], t.prototype, "visibilityMode", null), t = a = i([d.subclass("esri.widgets.LayerList.ListItem")], t);
      }(d.declared(p.IdentifiableMixin(a)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList/ListItemPanel.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList/ListItemPanel.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListListItemPanelJs(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/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../../core/Identifiable */
    "./node_modules/arcgis-js-api/core/Identifiable.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__(
    /*! ../Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ../support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, r, i, o, s, l, a, d, c) {
      var p = {
        base: "esri-layer-list-panel",
        content: "esri-layer-list-panel__content",
        contentLegend: "esri-layer-list-panel__content--legend",
        contentString: "esri-layer-list-panel__content--string",
        contentElement: "esri-layer-list-panel__content--html-element",
        contentWidget: "esri-layer-list-panel__content--widget"
      };
      return function (t) {
        function o(e) {
          var n = t.call(this, e) || this;
          return n._legend = null, n._handles = new i(), n.content = null, n.image = null, n.listItem = null, n.open = !1, n.visible = !0, n;
        }

        return n(o, t), o.prototype.postInitialize = function () {
          var e = this;
          this.own([l.init(this, "content", function (t) {
            return e._createLegend(t);
          })]);
        }, o.prototype.destroy = function () {
          var e = this._legend;
          e && e.destroy(), this._legend = null;
        }, Object.defineProperty(o.prototype, "className", {
          get: function get() {
            var e = this.image,
                t = this._getFirstWidget();

            return this._get("className") || !e && t ? t.iconClass : "";
          },
          set: function set(e) {
            if (void 0 === e) return void this._clearOverride("className");

            this._override("className", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(o.prototype, "title", {
          get: function get() {
            var e = this._getFirstWidget();

            return this._get("title") || e ? e.label : "";
          },
          set: function set(e) {
            if (void 0 === e) return void this._clearOverride("title");

            this._override("title", e);
          },
          enumerable: !0,
          configurable: !0
        }), o.prototype.render = function () {
          return c.tsx("div", {
            "class": p.base
          }, this._renderContents());
        }, o.prototype._renderContent = function (e) {
          var t = this,
              n = t._legend,
              r = t.listItem;
          if (!e) return null;

          if ("legend" === e) {
            return r && r.view && r.layer && n ? c.tsx("div", {
              "class": this.classes(p.content, p.contentLegend),
              key: n
            }, n.render()) : null;
          }

          return "string" == typeof e ? c.tsx("div", {
            "class": this.classes(p.content, p.contentString),
            key: e,
            innerHTML: e
          }) : c.isWidget(e) ? c.tsx("div", {
            "class": this.classes(p.content, p.contentWidget),
            key: e
          }, e.render()) : e instanceof HTMLElement ? c.tsx("div", {
            "class": this.classes(p.content, p.contentElement),
            key: e,
            bind: e,
            afterCreate: this._attachToNode
          }) : null;
        }, o.prototype._renderContents = function () {
          var e = this,
              t = this.content;
          return Array.isArray(t) ? t.map(function (t) {
            return e._renderContent(t);
          }) : this._renderContent(t);
        }, o.prototype._getLegendOptions = function (e) {
          if (e) {
            var t = e.layer,
                n = e.view;
            if (t && n) return {
              view: n,
              layerInfos: [{
                layer: t,
                title: ""
              }]
            };
          }
        }, o.prototype._createLegend = function (t) {
          var n = this;
          this._hasLegend(t) && !this._legend && s.create(function (t) {
            Promise.resolve().then(function () {
              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
              /*! ../Legend */
              "./node_modules/arcgis-js-api/widgets/Legend.js")];
              t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
            }.bind(this))["catch"](__webpack_require__.oe);
          }).then(function (e) {
            var t = n,
                r = t._handles,
                i = t.listItem,
                o = new e(n._getLegendOptions(i));
            n._legend = o, n.notifyChange("className"), n.notifyChange("title");
            var s = l.init(n, ["listItem.view", "listItem.layer"], function () {
              return n._updateLegend(o);
            });
            r.add(s, "legends"), n.scheduleRender();
          });
        }, o.prototype._hasLegend = function (e) {
          return "legend" === e || !!Array.isArray(e) && e.some(function (e) {
            return "legend" === e;
          });
        }, o.prototype._attachToNode = function (e) {
          e.appendChild(this);
        }, o.prototype._updateLegend = function (e) {
          var t = this.listItem;

          if (t) {
            var n = t.layer,
                r = t.view;
            e.view = r, e.layerInfos = [{
              layer: n,
              title: null
            }], this.scheduleRender();
          }
        }, o.prototype._getWidget = function (e) {
          return "legend" === e ? this._legend : c.isWidget(e) ? e : null;
        }, o.prototype._getFirstWidget = function () {
          var e = this,
              t = this.content;

          if (Array.isArray(t)) {
            var n = null;
            return t.some(function (t) {
              var r = e._getWidget(t);

              return r && (n = r), !!r;
            }), n;
          }

          return this._getWidget(t);
        }, r([a.property({
          dependsOn: ["content", "image"]
        })], o.prototype, "className", null), r([a.property(), c.renderable()], o.prototype, "content", void 0), r([a.property()], o.prototype, "image", void 0), r([a.property()], o.prototype, "listItem", void 0), r([a.property({
          dependsOn: ["content"]
        })], o.prototype, "title", null), r([a.property(), c.renderable()], o.prototype, "open", void 0), r([a.property()], o.prototype, "visible", void 0), o = r([a.subclass("esri.widgets.LayerList.ListItemPanel")], o);
      }(a.declared(o.IdentifiableMixin(d)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListNlsLayerListJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Layer List',
        'noItemsToDisplay': 'There are currently no items to display.',
        'layerInvisibleAtScale': 'Invisible at current scale',
        'layerError': 'An error occurred loading this layer',
        'untitledLayer': 'Untitled layer'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList/nls/vi/LayerList.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList/nls/vi/LayerList.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListNlsViLayerListJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Danh sách Lớp",
      noItemsToDisplay: "Hiện không có mục nào để hiển thị.",
      layerInvisibleAtScale: "Không hiển thị ở tỷ lệ hiện tại",
      layerError: "Đã xảy ra lỗi khi tải lớp này",
      untitledLayer: "Lớp chưa có tiêu đề"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/LayerList/support/layerListUtils.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/LayerList/support/layerListUtils.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLayerListSupportLayerListUtilsJs(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, i) {
      function n(e) {
        if (e) return null != e.listMode ? e.listMode : void 0;
      }

      function r(e) {
        if (e) return null != e.minScale ? e.minScale : void 0;
      }

      function t(e) {
        if (e) return null != e.maxScale ? e.maxScale : void 0;
      }

      function a(e) {
        if (!e) return "inherited";
        var i = e.get("layer.capabilities.exportMap.supportsSublayerVisibility");
        if ("boolean" == typeof i) return i ? "independent" : "inherited";
        var n = e.get("capabilities.exportMap.supportsSublayerVisibility");
        return "boolean" == typeof n ? n ? "independent" : "inherited" : null != e.visibilityMode ? e.visibilityMode : "independent";
      }

      function l(e) {
        if (e) {
          if (!(e.listMode === u.hideChildren || "wmts" === e.type)) return "group" === e.type ? "layers" : "sublayers";
        }
      }

      function d(e) {
        return n(e) !== u.hide;
      }

      function o(e, i) {
        if (!e || isNaN(i)) return !1;
        var n = r(e),
            a = t(e),
            l = !isNaN(n) && n > 0 && i >= n,
            d = !isNaN(a) && a > 0 && i <= a;
        return l || d;
      }

      Object.defineProperty(i, "__esModule", {
        value: !0
      });
      var u = {
        hide: "hide",
        hideChildren: "hide-children"
      };
      i.findLayerListMode = n, i.findLayerMinScale = r, i.findLayerMaxScale = t, i.findLayerVisibilityMode = a, i.getNormalizedChildLayerProperty = l, i.canDisplayLayer = d, i.isLayerOutsideScaleRange = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendJs(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__(
    /*! dojo/i18n!./Legend/nls/Legend */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../core/accessorSupport/decorators/cast */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators/cast.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Legend/LegendViewModel */
    "./node_modules/arcgis-js-api/widgets/Legend/LegendViewModel.js"), __webpack_require__(
    /*! ./Legend/styles/Card */
    "./node_modules/arcgis-js-api/widgets/Legend/styles/Card.js"), __webpack_require__(
    /*! ./Legend/styles/Classic */
    "./node_modules/arcgis-js-api/widgets/Legend/styles/Classic.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i, o, s, a, l, d, p, c, y, f, u) {
      var v = {
        widgetIcon: "esri-icon-layer-list"
      };
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t._handles = new s(), t.activeLayerInfos = null, t.basemapLegendVisible = !1, t.groundLegendVisible = !1, t.respectLayerVisibility = !0, t.iconClass = v.widgetIcon, t.label = o.widgetLabel, t.layerInfos = null, t.style = new f(), t.view = null, t.viewModel = new c(), t;
        }

        return n(r, e), r.prototype.postInitialize = function () {
          var e = this;
          this.own(a.on(this, "activeLayerInfos", "change", function () {
            return e._refreshActiveLayerInfos(e.activeLayerInfos);
          }), a.init(this, "style", function (r, t) {
            t && r !== t && t.destroy(), r && (r.activeLayerInfos = e.activeLayerInfos, "card" === r.type && (r.view = e.view));
          }));
        }, r.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null;
        }, r.prototype.castStyle = function (e) {
          if (e instanceof y || e instanceof f) return e;
          if ("string" == typeof e) return "card" === e ? new y() : new f();

          if (e && "string" == typeof e.type) {
            var r = t({}, e);
            delete r.type;
            return new ("card" === e.type ? y : f)(r);
          }

          return new f();
        }, r.prototype.render = function () {
          return this.style.render();
        }, r.prototype._refreshActiveLayerInfos = function (e) {
          var r = this;
          this._handles.removeAll(), e.forEach(function (e) {
            return r._renderOnActiveLayerInfoChange(e);
          }), this.scheduleRender();
        }, r.prototype._renderOnActiveLayerInfoChange = function (e) {
          var r = this,
              t = a.init(e, "version", function () {
            return r.scheduleRender();
          });
          this._handles.add(t, "version_" + e.layer.uid), e.children.forEach(function (e) {
            return r._renderOnActiveLayerInfoChange(e);
          });
        }, i([l.aliasOf("viewModel.activeLayerInfos"), u.renderable()], r.prototype, "activeLayerInfos", void 0), i([l.aliasOf("viewModel.basemapLegendVisible"), u.renderable()], r.prototype, "basemapLegendVisible", void 0), i([l.aliasOf("viewModel.groundLegendVisible"), u.renderable()], r.prototype, "groundLegendVisible", void 0), i([l.aliasOf("viewModel.respectLayerVisibility"), u.renderable()], r.prototype, "respectLayerVisibility", void 0), i([l.property()], r.prototype, "iconClass", void 0), i([l.property()], r.prototype, "label", void 0), i([l.aliasOf("viewModel.layerInfos"), u.renderable()], r.prototype, "layerInfos", void 0), i([l.property(), u.renderable()], r.prototype, "style", void 0), i([d.cast("style")], r.prototype, "castStyle", null), i([l.aliasOf("viewModel.view"), u.renderable()], r.prototype, "view", void 0), i([l.property(), u.renderable(["view.size"])], r.prototype, "viewModel", void 0), r = i([l.subclass("esri.widgets.Legend")], r);
      }(l.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/LegendViewModel.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/LegendViewModel.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendLegendViewModelJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../../views/2d/layers/support/clusterUtils */
    "./node_modules/arcgis-js-api/views/2d/layers/support/clusterUtils.js"), __webpack_require__(
    /*! ./support/ActiveLayerInfo */
    "./node_modules/arcgis-js-api/widgets/Legend/support/ActiveLayerInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, a, s, n, o, l, y, d) {
      var c = {
        state: "state",
        view: "view",
        allLayerViews: "all-layer-views",
        legendProperties: "legend-properties"
      },
          h = s.ofType(d),
          u = ["esri.layers.CSVLayer", "esri.layers.FeatureLayer", "esri.layers.HeatmapLayer", "esri.layers.MapImageLayer", "esri.layers.PointCloudLayer", "esri.layers.TileLayer", "esri.layers.StreamLayer", "esri.layers.SceneLayer", "esri.layers.GeoRSSLayer", "esri.layers.GeoJSONLayer", "esri.layers.GroupLayer", "esri.layers.ImageryLayer", "esri.layers.WMSLayer", "esri.layers.WMTSLayer"],
          p = ["view.basemapView.baseLayerViews", "view.groundView.layerViews", "view.layerViews", "view.basemapView.referenceLayerViews"];
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._handles = new n(), r._layerViewByLayerId = {}, r._layerInfosByLayerViewId = {}, r._activeLayerInfosByLayerViewId = {}, r.activeLayerInfos = new h(), r.basemapLegendVisible = !1, r.groundLegendVisible = !1, r.respectLayerVisibility = !0, r.layerInfos = [], r.view = null, r;
        }

        return r(t, e), t.prototype.initialize = function () {
          this._handles.add(o.init(this, "view", this._viewHandles), c.view);
        }, t.prototype.destroy = function () {
          this._destroyViewActiveLayerInfos(), this._handles.destroy(), this._handles = null, this.view = null;
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype._viewHandles = function () {
          this._handles.remove(c.state), this.view && this._handles.add(o.init(this, "state", this._stateHandles), c.state);
        }, t.prototype._stateHandles = function () {
          this._resetAll(), "ready" === this.state && this._watchPropertiesAndAllLayerViews();
        }, t.prototype._resetAll = function () {
          this._handles.remove([c.allLayerViews, c.legendProperties]), this._destroyViewActiveLayerInfos(), this.activeLayerInfos.removeAll();
        }, t.prototype._destroyViewActiveLayerInfos = function () {
          Object.keys(this._activeLayerInfosByLayerViewId).forEach(this._destroyViewActiveLayerInfo, this);
        }, t.prototype._destroyViewActiveLayerInfo = function (e) {
          this._handles.remove(e), delete this._activeLayerInfosByLayerViewId[e];
        }, t.prototype._watchPropertiesAndAllLayerViews = function () {
          var e = this.view.allLayerViews;
          e.length && this._refresh(), this._handles.add(e.on("change", this._allLayerViewsChangeHandle.bind(this)), c.allLayerViews), this._handles.add(o.watch(this, "layerInfos, basemapLegendVisible, groundLegendVisible", this._propertiesChangeHandle.bind(this)), c.legendProperties);
        }, t.prototype._allLayerViewsChangeHandle = function (e) {
          var t = this;
          e.removed.forEach(function (e) {
            return t._destroyViewActiveLayerInfo(e.uid);
          }), this._refresh();
        }, t.prototype._propertiesChangeHandle = function () {
          this._destroyViewActiveLayerInfos(), this._refresh();
        }, t.prototype._refresh = function () {
          this._layerInfosByLayerViewId = {}, this.activeLayerInfos.removeAll(), this._generateLayerViews().filter(this._filterLayerViewsByLayerInfos, this).filter(this._isLayerViewSupported, this).forEach(this._generateActiveLayerInfo, this), this._sortActiveLayerInfos(this.activeLayerInfos);
        }, t.prototype._sortActiveLayerInfos = function (e) {
          var t = {};
          this.view.allLayerViews.forEach(function (e, r) {
            return t[e.layer.uid] = r;
          }), e.sort(function (e, r) {
            var i = t[e.layer.uid] || 0;
            return (t[r.layer.uid] || 0) - i;
          });
        }, t.prototype._generateLayerViews = function () {
          var e = [];
          return p.filter(this._filterLayerViews, this).map(this.get, this).filter(function (e) {
            return null != e;
          }).forEach(this._collectLayerViews("layerViews", e)), e;
        }, t.prototype._filterLayerViews = function (e) {
          var t = !this.basemapLegendVisible && ("view.basemapView.baseLayerViews" === e || "view.basemapView.referenceLayerViews" === e),
              r = !this.groundLegendVisible && "view.groundView.layerViews" === e;
          return !t && !r;
        }, t.prototype._collectLayerViews = function (e, t) {
          var r = function r(i) {
            return i && i.forEach(function (i) {
              t.push(i), r(i[e]);
            }), t;
          };

          return r;
        }, t.prototype._filterLayerViewsByLayerInfos = function (e) {
          var t = this,
              r = this.layerInfos;
          return !r || !r.length || r.some(function (r) {
            return t._hasLayerInfo(r, e);
          });
        }, t.prototype._hasLayerInfo = function (e, t) {
          var r = this._isLayerUIDMatching(e.layer, t.layer.uid);

          return r && (this._layerInfosByLayerViewId[t.uid] = e), r;
        }, t.prototype._isLayerUIDMatching = function (e, t) {
          return e && (e.uid === t || this._hasLayerUID(e.layers, t));
        }, t.prototype._hasLayerUID = function (e, t) {
          var r = this;
          return e && e.some(function (e) {
            return r._isLayerUIDMatching(e, t);
          });
        }, t.prototype._isLayerViewSupported = function (e) {
          return u.indexOf(e.layer.declaredClass) > -1 && (this._layerViewByLayerId[e.layer.uid] = e, !0);
        }, t.prototype._generateActiveLayerInfo = function (e) {
          var t = this;
          if (this._isLayerActive(e)) return void this._buildActiveLayerInfo(e);
          this._handles.remove(e.uid), this._handles.add(o.watch(e, "suspended, layer.legendEnabled", function () {
            return t._layerActiveHandle(e);
          }), e.uid);
        }, t.prototype._layerActiveHandle = function (e) {
          this._isLayerActive(e) && (this._handles.remove(e.uid), this._buildActiveLayerInfo(e));
        }, t.prototype._isLayerActive = function (e) {
          return !this.respectLayerVisibility || !e.suspended && e.get("layer.legendEnabled");
        }, t.prototype._buildActiveLayerInfo = function (e) {
          var t = this,
              r = e.layer,
              i = e.uid,
              a = this._layerInfosByLayerViewId[i],
              s = this._activeLayerInfosByLayerViewId[i];

          if (!s) {
            var n = a && void 0 !== a.title;
            s = new d({
              layer: r,
              title: n ? a.title : r.title,
              view: this.view
            }), this._activeLayerInfosByLayerViewId[i] = s;
          }

          if (!s.parent) {
            var l = r.parent,
                y = l && this._layerViewByLayerId[l.uid];
            s.parent = y && this._activeLayerInfosByLayerViewId[y.uid];
          }

          if (!this._handles.has(i)) {
            var c = o.watch(r, "title", function (r) {
              return t._titleHandle(r, s, e);
            }),
                h = o.watch(r, "renderer?, opacity", function () {
              return t._constructLegendElements(s, e);
            }),
                u = o.whenTrue(this.view, "stationary", function () {
              return t._scaleHandle(s, e);
            }),
                p = o.watch(e, "_effectiveRenderer", function () {
              return t._constructLegendElements(s, e);
            }),
                f = [c, h, u, p];

            if (this.respectLayerVisibility) {
              var v = o.watch(e, "suspended", function (r) {
                return t._suspendedHandle(r, s, e);
              }),
                  L = o.watch(r, "legendEnabled", function (r) {
                return t._legendEnabledHandle(r, s, e);
              });
              f.push(v, L);
            }

            this._handles.add(f, i), this._constructLegendElements(s, e);
          }

          this._addActiveLayerInfo(s, e);
        }, t.prototype._titleHandle = function (e, t, r) {
          t.title = e, this._constructLegendElements(t, r);
        }, t.prototype._legendEnabledHandle = function (e, t, r) {
          e ? this._addActiveLayerInfo(t, r) : this._removeActiveLayerInfo(t);
        }, t.prototype._suspendedHandle = function (e, t, r) {
          e ? this._removeActiveLayerInfo(t) : this._addActiveLayerInfo(t, r);
        }, t.prototype._scaleHandle = function (e, t) {
          e.scale !== this.view.scale && e.isScaleDriven && this._constructLegendElements(e, t);
        }, t.prototype._addActiveLayerInfo = function (e, t) {
          if (this._isLayerActive(t) && -1 === this.activeLayerInfos.indexOf(e)) {
            var r = e.parent;
            r ? -1 === r.children.indexOf(e) && (r.children.push(e), this._sortActiveLayerInfos(r.children)) : (this.activeLayerInfos.add(e), this._sortActiveLayerInfos(this.activeLayerInfos));
          }
        }, t.prototype._removeActiveLayerInfo = function (e) {
          var t = e.parent;
          t ? t.children.remove(e) : this.activeLayerInfos.remove(e);
        }, t.prototype._constructLegendElements = function (e, t) {
          var r = t.layer;

          if (e.scale = this.view.scale, r.featureCollections ? e.buildLegendElementsForFeatureCollections(r.featureCollections) : r.renderer ? e.buildLegendElementsForRenderer(r.renderer) : r.url && e.buildLegendElementsForTools(), r.featureReduction && "cluster" === r.featureReduction.type) {
            var i = t._effectiveRenderer,
                a = r.renderer.clone(),
                s = a && "visualVariables" in a && a.visualVariables || [];
            if (!(i && "visualVariables" in i && i.visualVariables)) return null;
            var n = y.findSizeVV(i.visualVariables);
            y.getActiveSizeStops(this.view, n) && (a.visualVariables = s.concat([n]), e.buildLegendElementsForRenderer(a));
          }
        }, i([l.property({
          type: h
        })], t.prototype, "activeLayerInfos", void 0), i([l.property()], t.prototype, "basemapLegendVisible", void 0), i([l.property()], t.prototype, "groundLegendVisible", void 0), i([l.property()], t.prototype, "respectLayerVisibility", void 0), i([l.property()], t.prototype, "layerInfos", void 0), i([l.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), i([l.property()], t.prototype, "view", void 0), t = i([l.subclass("esri.widgets.Legend.LegendViewModel")], t);
      }(l.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendNlsLegendJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Legend',
        'points': 'Points',
        'lines': 'Lines',
        'polygons': 'Polygons',
        'creatingLegend': 'Creating legend',
        'noLegend': 'No legend',
        'dotValue': '1 Dot = {value} {unit}',
        'currentObservations': 'Current observations',
        'previousObservations': 'Previous observations',
        'high': 'High',
        'low': 'Low',
        'esriMetersPerSecond': 'm/s',
        'esriKilometersPerHour': 'km/h',
        'esriKnots': 'knots',
        'esriFeetPerSecond': 'ft/sec',
        'esriMilesPerHour': 'mph',
        'showNormField': '{field} divided by {normField}',
        'showNormPct': '{field} as a percent of the total',
        'showRatio': 'Ratio of {field} to {normField}',
        'showRatioPercent': '{field} as a percent of {normField}',
        'showRatioPercentTotal': '{field} as a percent of {field} and {normField}',
        'band0': 'band_0',
        'band1': 'band_1',
        'band2': 'band_2',
        'red': 'Red',
        'green': 'Green',
        'blue': 'Blue'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/nls/vi/Legend.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/nls/vi/Legend.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendNlsViLegendJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Chú giải",
      points: "Điểm",
      lines: "Đường",
      polygons: "Vùng",
      creatingLegend: "Đang tạo chú giải",
      noLegend: "Không có chú giải",
      dotValue: "1 Chấm = {value} {unit}",
      currentObservations: "Quan sát hiện tại",
      previousObservations: "Quan sát trước đó",
      high: "Cao",
      low: "Thấp",
      esriMetersPerSecond: "m/s",
      esriKilometersPerHour: "km/h",
      esriKnots: "điểm nút",
      esriFeetPerSecond: "ft/sec",
      esriMilesPerHour: "mph",
      showNormField: "{field} chia cho {normField}",
      showNormPct: "{field} dưới dạng phần trăm của tổng",
      showRatio: "Tỷ lệ của {field} trong {normField}",
      showRatioPercent: "{field} dưới dạng phần trăm của {normField}",
      showRatioPercentTotal: "{field} dưới dạng phần trăm của {field} và {normField}",
      band0: "band_0",
      band1: "band_1",
      band2: "band_2",
      red: "Đỏ",
      green: "Lục",
      blue: "Lam"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/styles/Card.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/styles/Card.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendStylesCardJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! dojo/i18n!../../../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!../../Legend/nls/Legend */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js"), __webpack_require__(
    /*! ../../../intl */
    "./node_modules/arcgis-js-api/intl.js"), __webpack_require__(
    /*! ../../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../../../symbols/support/svgUtils */
    "./node_modules/arcgis-js-api/symbols/support/svgUtils.js"), __webpack_require__(
    /*! ../../Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./support/utils */
    "./node_modules/arcgis-js-api/widgets/Legend/styles/support/utils.js"), __webpack_require__(
    /*! ../support/styleUtils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/styleUtils.js"), __webpack_require__(
    /*! ../../support/colorUtils */
    "./node_modules/arcgis-js-api/widgets/support/colorUtils.js"), __webpack_require__(
    /*! ../../support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, i, s, n, o, l, c, d, p, h, y, m, g, v) {
      function u(e) {
        if (e) {
          if (e.type.indexOf("3d") > -1) {
            var t = e.symbolLayers && e.symbolLayers.length;
            if (!t) return;
            var r = e.symbolLayers.getItemAt(t - 1),
                a = r.resource && r.resource.primitive;
            return "circle" === a || "cross" === a || "kite" === a || "sphere" === a || "cube" === a || "diamond" === a;
          }

          var i = e.style;
          return "circle" === i || "diamond" === i || "cross" === i;
        }
      }

      function _(e) {
        if (e) {
          if (e.type.indexOf("3d") > -1) {
            var t = e.symbolLayers && e.symbolLayers.length;
            if (!t) return;
            var r = e.symbolLayers.getItemAt(t - 1),
                a = r.get("resource.primitive");
            return "triangle" === a || "cone" === a || "tetrahedron" === a;
          }

          return "triangle" === e.style;
        }
      }

      var b = {
        activated: "esri-legend--card__carousel-indicator--activated",
        base: "esri-legend--card esri-widget",
        stacked: "esri-legend--stacked",
        carouselTitle: "esri-legend--card__carousel-title",
        indicator: "esri-legend--card__carousel-indicator",
        intervalSeparator: "esri-legend--card__interval-separator",
        imageryLayerStretchedImage: "esri-legend--card__imagery-layer-image--stretched",
        imageLabel: "esri-legend--card__image-label",
        layerCaption: "esri-legend--card__layer-caption",
        labelElement: "esri-legend--card__label-element",
        layerRow: "esri-legend--card__layer-row",
        labelCell: "esri-legend--card__label-cell",
        message: "esri-legend--card__message",
        rampLabel: "esri-legend--card__ramp-label",
        section: "esri-legend--card__section",
        relationshipSection: "esri-legend--card__relationship-section",
        serviceCaptionText: "esri-legend--card__service-caption-text",
        serviceContent: "esri-legend--card__service-content",
        service: "esri-legend--card__service",
        groupLayer: "esri-legend--card__group-layer",
        groupLayerChild: "esri-legend--card__group-layer-child",
        symbol: "esri-legend--card__symbol",
        sizeRampRow: "esri-legend--card__size-ramp-row",
        symbolRow: "esri-legend--card__symbol-row",
        symbolCell: "esri-legend--card__symbol-cell",
        indicatorContainer: "esri-legend--card__carousel-indicator-container",
        intervalSeparatorsContainer: "esri-legend--card__interval-separators-container",
        relationshipLabelContainer: "esri-legend--card__relationship-label-container",
        labelContainer: "esri-legend--card__label-container",
        serviceCaptionContainer: "esri-legend--card__service-caption-container",
        symbolContainer: "esri-legend--card__symbol-container",
        sizeRampContainer: "esri-legend--card__size-ramp-container",
        hidden: "esri-hidden",
        header: "esri-widget__heading"
      },
          f = "esri-legend--card__",
          x = window.devicePixelRatio;
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._handles = new l(), r._hasIndicators = !1, r._selectedSectionName = null, r._sectionNames = [], r._sectionMap = new Map(), r.activeLayerInfos = null, r.layout = "stack", r.type = "card", r.view = null, r;
        }

        return r(t, e), t.prototype.postInitialize = function () {
          var e = this;
          this.own([this.watch("activeLayerInfos", function (t) {
            e._handles.removeAll(), e._watchForSectionChanges(t);
          })]);
        }, t.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null;
        }, t.prototype.render = function () {
          var e,
              t = this;
          this._hasIndicators = "auto" === this.layout && this.view.container.clientWidth <= 768 || "stack" === this.layout;
          var r = this.activeLayerInfos,
              a = r && r.toArray().map(function (e) {
            return t._renderLegendForLayer(e);
          }).filter(function (e) {
            return !!e;
          });
          this._hasIndicators ? this._selectedSectionName && -1 !== this._sectionNames.indexOf(this._selectedSectionName) || (this._selectedSectionName = this._sectionNames && this._sectionNames[0]) : this._selectedSectionName = null;

          var i = this._sectionNames.length,
              l = this._sectionNames.map(function (e, r) {
            var a,
                n = o.substitute(s.pagination.pageText, {
              index: r + 1,
              total: i
            });
            return v.tsx("div", {
              key: e,
              "aria-label": n,
              title: n,
              tabIndex: 0,
              onclick: t._selectSection,
              onkeydown: t._selectSection,
              bind: t,
              "class": t.classes(b.indicator, (a = {}, a[b.activated] = t._selectedSectionName === e, a)),
              "data-section-name": e
            });
          }),
              c = this._hasIndicators && i > 1 ? v.tsx("div", {
            "class": b.indicatorContainer,
            key: "carousel-navigation"
          }, l) : null,
              d = this._hasIndicators ? this._sectionMap.get(this._selectedSectionName) : a && a.length ? a : null,
              p = (e = {}, e[b.stacked] = this._hasIndicators, e);

          return v.tsx("div", {
            "class": this.classes(b.base, p)
          }, c, d || v.tsx("div", {
            "class": b.message
          }, n.noLegend));
        }, t.prototype._selectSection = function (e) {
          var t = e.target,
              r = t.getAttribute("data-section-name");
          r && (this._selectedSectionName = r);
        }, t.prototype._watchForSectionChanges = function (e) {
          var t = this;

          if (this._generateSectionNames(), e) {
            e.forEach(function (e) {
              var r = "activeLayerInfo-" + e.layer.uid + "-version-change";
              t._handles.remove(r), t._watchForSectionChanges(e.children), t._handles.add(e.watch("version", function () {
                return t._generateSectionNames();
              }), r);
            });
            var r = "activeLayerInfos-collection-change";
            this._handles.remove(r), this._handles.add(e.on("change", function () {
              return t._watchForSectionChanges(e);
            }), r);
          }
        }, t.prototype._generateSectionNames = function () {
          this._sectionNames.length = 0, this.activeLayerInfos && this.activeLayerInfos.forEach(this._generateSectionNamesForActiveLayerInfo, this);
        }, t.prototype._generateSectionNamesForActiveLayerInfo = function (e) {
          var t = this;
          e.children.forEach(this._generateSectionNamesForActiveLayerInfo, this), e.legendElements && e.legendElements.forEach(function (r, a) {
            t._sectionNames.push("" + f + e.layer.uid + "-type-" + r.type + "-" + a);
          });
        }, t.prototype._renderLegendForLayer = function (e) {
          var t,
              r = this;
          if (!e.ready) return null;

          if (e.children.length) {
            var a = e.children.map(function (e) {
              return r._renderLegendForLayer(e);
            }).toArray();
            return v.tsx("div", {
              key: e.layer.uid,
              "class": this.classes(b.service, b.groupLayer)
            }, v.tsx("div", {
              "class": b.serviceCaptionContainer
            }, e.title), a);
          }

          var i = e.legendElements;
          if (i && !i.length) return null;
          var s = i.some(function (e) {
            return "relationship-ramp" === e.type;
          }),
              n = i.map(function (t, a) {
            return r._renderLegendForElement(t, e, a, s);
          }).filter(function (e) {
            return !!e;
          });
          if (!n.length) return null;
          var o = (t = {}, t[b.groupLayerChild] = !!e.parent, t);
          return v.tsx("div", {
            key: e.layer.uid,
            "class": this.classes(b.service, o)
          }, v.tsx("div", {
            "class": b.serviceCaptionContainer
          }, v.tsx("div", {
            "class": b.serviceCaptionText
          }, e.title)), v.tsx("div", {
            "class": b.serviceContent
          }, n));
        }, t.prototype._renderLegendForElement = function (e, t, r, a) {
          var i = this;
          void 0 === a && (a = !1);
          var s,
              n = "color-ramp" === e.type,
              o = "opacity-ramp" === e.type,
              l = "size-ramp" === e.type,
              c = t.layer,
              d = e.title,
              p = null;
          if ("string" == typeof d) p = d;else if (d) {
            var h = m.getTitle(d, n || o);
            p = d.title ? d.title + " (" + h + ")" : h;
          }
          var g = "" + f + c.uid + "-type-" + e.type + "-" + r,
              u = this._hasIndicators ? v.tsx("div", null, v.tsx("h3", {
            "class": this.classes(b.header, b.carouselTitle)
          }, t.title), v.tsx("h4", {
            "class": this.classes(b.header, b.layerCaption)
          }, p)) : p ? v.tsx("h4", {
            "class": this.classes(b.header, b.layerCaption)
          }, p) : null,
              _ = null;

          if ("symbol-table" === e.type) {
            var x = e.infos.map(function (r, a) {
              return i._renderLegendForElementInfo(r, t, e.legendType, a);
            }).filter(function (e) {
              return !!e;
            });

            if (x.length) {
              var w = x[0].properties.classes && x[0].properties.classes[b.symbolRow],
                  L = (s = {}, s[b.labelContainer] = !w && !a, s[b.relationshipLabelContainer] = a, s);
              _ = v.tsx("div", {
                key: g,
                "class": b.section
              }, u, v.tsx("div", {
                "class": this.classes(L)
              }, x));
            }
          } else "color-ramp" === e.type || "opacity-ramp" === e.type || "heatmap-ramp" === e.type ? _ = v.tsx("div", {
            key: g,
            "class": b.section
          }, u, this._renderLegendForRamp(e, c.opacity)) : l ? _ = v.tsx("div", {
            key: g,
            "class": b.section
          }, u, this._renderSizeRamps(e, c.opacity)) : "relationship-ramp" === e.type && (_ = v.tsx("div", {
            key: g,
            "class": this.classes(b.section, b.relationshipSection)
          }, u, y.renderRelationshipRamp(e, this.id, c.opacity)));

          return _ ? (this._sectionMap.set(g, _), _) : null;
        }, t.prototype._renderLegendForElementInfo = function (e, t, r, a) {
          var i,
              s,
              n,
              o = t.layer;
          if (e.type) return this._renderLegendForElement(e, t, a);
          var l = m.isImageryStretchedLegend(o, r);

          if (e.symbol && e.preview) {
            if (-1 === e.symbol.type.indexOf("simple-fill")) {
              if (!e.label) return v.tsx("div", {
                key: a,
                bind: e.preview,
                afterCreate: m.attachToNode
              });
              var c = (i = {}, i[b.symbolCell] = this._hasIndicators, i);
              return v.tsx("div", {
                key: a,
                "class": this.classes(b.layerRow, (s = {}, s[b.symbolRow] = this._hasIndicators, s))
              }, v.tsx("div", {
                "class": this.classes(c),
                bind: e.preview,
                afterCreate: m.attachToNode
              }), v.tsx("div", {
                "class": this.classes(b.imageLabel, (n = {}, n[b.labelCell] = this._hasIndicators, n))
              }, m.getTitle(e.label, !1) || ""));
            }

            var d = 255,
                p = 255,
                h = 255,
                y = 0,
                u = 255,
                _ = 255,
                f = 255,
                x = 0,
                w = e.symbol.color && e.symbol.color.a,
                L = e.symbol.outline && e.symbol.outline.color && e.symbol.outline.color.a;
            w && (d = e.symbol.color.r, p = e.symbol.color.g, h = e.symbol.color.b, y = e.symbol.color.a * o.opacity), L && (u = e.symbol.outline.color.r, _ = e.symbol.outline.color.g, f = e.symbol.outline.color.b, x = e.symbol.outline.color.a * o.opacity);
            var S = !e.symbol.color || g.isBright(e.symbol.color),
                I = S ? "black" : "white",
                C = S ? "rgba(255, 255, 255, .6)" : "rgba(0, 0, 0, .6)",
                R = {
              background: w ? "rgba(" + d + ", " + p + ", " + h + ", " + y + ")" : "none",
              color: I,
              textShadow: "-1px -1px 0 " + C + ",\n                                              1px -1px 0 " + C + ",\n                                              -1px 1px 0 " + C + ",\n                                              1px 1px 0 " + C,
              border: L ? "1px solid rgba(" + u + ", " + _ + ", " + f + ", " + x + ")" : "none"
            };
            return v.tsx("div", {
              key: a,
              "class": b.layerRow
            }, v.tsx("div", {
              "class": b.labelElement,
              styles: R
            }, " ", e.label, " "));
          }

          if (e.src) {
            var k = this._renderImage(e, o, l);

            return v.tsx("div", {
              key: a,
              "class": b.layerRow
            }, k, v.tsx("div", {
              "class": b.imageLabel
            }, e.label || ""));
          }
        }, t.prototype._renderImage = function (e, t, r) {
          var a,
              i = e.label,
              s = e.src,
              n = e.opacity,
              o = (a = {}, a[b.imageryLayerStretchedImage] = r, a[b.symbol] = !r, a),
              l = {
            opacity: "" + (null != n ? n : t.opacity)
          };
          return v.tsx("img", {
            alt: m.getTitle(i, !1),
            src: s,
            border: 0,
            width: e.width,
            height: e.height,
            "class": this.classes(o),
            styles: l
          });
        }, t.prototype._drawImageOnSizeRamp = function (e, t, r) {
          var a = r.x,
              i = r.y,
              s = r.width,
              n = r.height,
              o = new Image();
          o.src = t, o.onload = function () {
            e.drawImage(o, a, i, s, n), URL.revokeObjectURL(t);
          };
        }, t.prototype._attachSizeRampToNode = function (e) {
          var t = e["data-layer-opacity"];
          null != t && (e.style.opacity = t.toString());

          var r,
              a,
              i = e["data-legend-element"],
              s = i.infos,
              n = s[0],
              o = s[s.length - 1],
              l = n.symbol,
              d = o.symbol,
              p = "picture-marker" === l.type,
              h = _(l),
              y = u(l);

          if (p) r = l.url, a = d.url;else {
            if (n.preview) {
              var m = new Blob([n.preview.innerHTML], {
                type: "image/svg+xml"
              });
              r = URL.createObjectURL(m);
            }

            if (o.preview) {
              var g = new Blob([o.preview.innerHTML], {
                type: "image/svg+xml"
              });
              a = URL.createObjectURL(g);
            }
          }
          var v = c.pt2px(n.size + n.outlineSize) * x,
              b = c.pt2px(o.size + o.outlineSize) * x,
              f = this._hasIndicators ? v : v + 100 * x,
              w = this._hasIndicators ? f + 50 * x : v,
              L = document.createElement("canvas");
          L.width = f, L.height = w, L.style.width = L.width / x + "px", L.style.height = L.height / x + "px";
          var S = L.getContext("2d");

          if (this._hasIndicators) {
            this._drawImageOnSizeRamp(S, r, {
              x: 0,
              y: 0,
              width: v,
              height: v
            }), this._drawImageOnSizeRamp(S, a, {
              x: f / 2 - b / 2,
              y: w - b,
              width: b,
              height: b
            }), S.beginPath();
            var I = y ? f / 2 : f,
                C = f / 2 - b / 2,
                R = w - (h ? 0 : y ? b / 2 : b);
            S.moveTo(0, I), S.lineTo(C, R);
            var k = f,
                N = y ? f / 2 : f,
                T = f / 2 + b / 2,
                z = w - (h ? 0 : y ? b / 2 : b);
            S.moveTo(k, N), S.lineTo(T, z);
          } else {
            this._drawImageOnSizeRamp(S, r, {
              x: f - v,
              y: 0,
              width: v,
              height: v
            }), this._drawImageOnSizeRamp(S, a, {
              x: 0,
              y: w / 2 - b / 2,
              width: b,
              height: b
            }), S.beginPath();
            var E = b - (y || h ? b / 2 : 0),
                F = w / 2 - b / 2,
                O = f - (y || h ? v / 2 : v);
            S.moveTo(E, F), S.lineTo(O, 0);
            var U = b - (y ? b / 2 : 0),
                A = w / 2 + b / 2,
                M = f - (y ? v / 2 : v),
                H = w;
            S.moveTo(U, A), S.lineTo(M, H);
          }

          S.strokeStyle = "#ddd", S.stroke(), e.appendChild(L);
        }, t.prototype._renderSizeRamps = function (e, t) {
          var r,
              a = e.infos,
              i = a[0].label,
              s = a[a.length - 1].label;
          return v.tsx("div", {
            "class": this.classes(b.layerRow, (r = {}, r[b.sizeRampRow] = this._hasIndicators, r))
          }, v.tsx("div", {
            "class": b.rampLabel
          }, this._hasIndicators ? i : s), v.tsx("div", {
            "class": b.sizeRampContainer
          }, v.tsx("div", {
            bind: this,
            "data-layer-opacity": t,
            "data-legend-element": e,
            afterCreate: this._attachSizeRampToNode
          })), v.tsx("div", {
            "class": b.rampLabel
          }, this._hasIndicators ? s : i));
        }, t.prototype._renderLegendForRamp = function (e, t) {
          var r = e.infos,
              a = "heatmap-ramp" === e.type,
              i = r.length - 1,
              s = i > 2 && !a ? 25 * i : 100,
              o = s + 20,
              l = r.slice(0).reverse();
          l.forEach(function (e, t) {
            e.offset = a ? e.ratio : t / i;
          });
          var c = l.length - 1,
              d = l.length % 2 != 0 && l[l.length / 2 | 0],
              h = d && v.tsx("div", {
            "class": b.intervalSeparatorsContainer
          }, v.tsx("div", {
            "class": b.intervalSeparator
          }, "|"), v.tsx("div", {
            "class": b.rampLabel
          }, d.label)),
              y = r[r.length - 1].label,
              m = r[0].label,
              g = null;
          null != t && (g = "opacity: " + t);

          var u = [[{
            shape: {
              type: "path",
              path: "M0 12.5 L10 0 L10 25 Z"
            },
            fill: l[0].color,
            stroke: {
              width: 0
            }
          }, {
            shape: {
              type: "rect",
              x: 10,
              y: 0,
              width: s,
              height: 25
            },
            fill: {
              type: "linear",
              x1: 10,
              y1: 0,
              x2: s + 10,
              y2: 0,
              colors: l
            },
            stroke: {
              width: 0
            }
          }, {
            shape: {
              type: "path",
              path: "M" + (s + 10) + " 0 L" + o + " 12.5 L" + (s + 10) + " 25 Z"
            },
            fill: l[c].color,
            stroke: {
              width: 0
            }
          }]],
              _ = p.renderSVG(u, o, 25);

          return v.tsx("div", {
            "class": b.layerRow
          }, v.tsx("div", {
            "class": b.rampLabel
          }, a ? n[y] : y), v.tsx("div", {
            "class": b.symbolContainer
          }, v.tsx("div", {
            style: g
          }, _), h), v.tsx("div", {
            "class": b.rampLabel
          }, a ? n[m] : m));
        }, a([v.renderable(), d.property()], t.prototype, "activeLayerInfos", void 0), a([d.property()], t.prototype, "layout", void 0), a([d.property({
          readOnly: !0
        })], t.prototype, "type", void 0), a([d.property()], t.prototype, "view", void 0), a([v.accessibleHandler()], t.prototype, "_selectSection", null), t = a([d.subclass("esri.widgets.Legend.styles.Card")], t);
      }(d.declared(h));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/styles/Classic.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/styles/Classic.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendStylesClassicJs(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__(
    /*! dojo/i18n!../../Legend/nls/Legend */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js"), __webpack_require__(
    /*! ../../../intl */
    "./node_modules/arcgis-js-api/intl.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./support/utils */
    "./node_modules/arcgis-js-api/widgets/Legend/styles/support/utils.js"), __webpack_require__(
    /*! ../support/styleUtils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/styleUtils.js"), __webpack_require__(
    /*! ../../support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, l, a, s, i, n, o, d, p) {
      var y = {
        widget: "esri-widget",
        base: "esri-legend esri-widget--panel",
        service: "esri-legend__service",
        label: "esri-legend__service-label",
        layer: "esri-legend__layer",
        groupLayer: "esri-legend__group-layer",
        groupLayerChild: "esri-legend__group-layer-child",
        layerTable: "esri-legend__layer-table",
        layerTableSizeRamp: "esri-legend__layer-table--size-ramp",
        layerChildTable: "esri-legend__layer-child-table",
        layerCaption: "esri-legend__layer-caption",
        layerBody: "esri-legend__layer-body",
        layerRow: "esri-legend__layer-row",
        layerCell: "esri-legend__layer-cell",
        layerInfo: "esri-legend__layer-cell esri-legend__layer-cell--info",
        imageryLayerStretchedImage: "esri-legend__imagery-layer-image--stretched",
        imageryLayerCellStretched: "esri-legend__imagery-layer-cell--stretched",
        imageryLayerInfoStretched: "esri-legend__imagery-layer-info--stretched",
        symbolContainer: "esri-legend__layer-cell esri-legend__layer-cell--symbols",
        symbol: "esri-legend__symbol",
        rampContainer: "esri-legend__ramps",
        sizeRamp: "esri-legend__size-ramp",
        colorRamp: "esri-legend__color-ramp",
        opacityRamp: "esri-legend__opacity-ramp",
        borderlessRamp: "esri-legend__borderless-ramp",
        rampTick: "esri-legend__ramp-tick",
        rampFirstTick: "esri-legend__ramp-tick-first",
        rampLastTick: "esri-legend__ramp-tick-last",
        rampLabelsContainer: "esri-legend__ramp-labels",
        rampLabel: "esri-legend__ramp-label",
        message: "esri-legend__message",
        header: "esri-widget__heading",
        hidden: "esri-hidden"
      };
      return function (e) {
        function r(r) {
          var t = e.call(this, r) || this;
          return t.activeLayerInfos = null, t.type = "classic", t;
        }

        return t(r, e), r.prototype.render = function () {
          var e = this,
              r = this.activeLayerInfos,
              t = this.classes(y.base, y.widget),
              l = r && r.toArray().map(function (r) {
            return e._renderLegendForLayer(r);
          }).filter(function (e) {
            return !!e;
          });
          return p.tsx("div", {
            "class": t
          }, l && l.length ? l : p.tsx("div", {
            "class": y.message
          }, a.noLegend));
        }, r.prototype._renderLegendForLayer = function (e) {
          var r,
              t = this;
          if (!e.ready) return null;
          var l = !!e.children.length,
              a = "esri-legend__" + e.layer.uid + "-version-" + e.version,
              s = e.title ? p.tsx("h3", {
            "class": this.classes(y.header, y.label)
          }, e.title) : null;

          if (l) {
            var i = e.children.map(function (e) {
              return t._renderLegendForLayer(e);
            }).toArray();
            return p.tsx("div", {
              key: a,
              "class": this.classes(y.service, y.groupLayer)
            }, s, i);
          }

          var n = e.legendElements;
          if (n && !n.length) return null;
          var o = n.map(function (r) {
            return t._renderLegendForElement(r, e.layer);
          }).filter(function (e) {
            return !!e;
          });
          if (!o.length) return null;
          var d = (r = {}, r[y.groupLayerChild] = !!e.parent, r);
          return p.tsx("div", {
            key: a,
            "class": this.classes(y.service, d)
          }, s, p.tsx("div", {
            "class": y.layer
          }, o));
        }, r.prototype._renderLegendForElement = function (e, r, t) {
          var l,
              a = this,
              s = "color-ramp" === e.type,
              i = "opacity-ramp" === e.type,
              n = "size-ramp" === e.type,
              c = null;

          if ("symbol-table" === e.type || n) {
            var g = e.infos.map(function (t) {
              return a._renderLegendForElementInfo(t, r, n, e.legendType);
            }).filter(function (e) {
              return !!e;
            });
            g.length && (c = p.tsx("div", {
              "class": y.layerBody
            }, g));
          } else "color-ramp" === e.type || "opacity-ramp" === e.type || "heatmap-ramp" === e.type || "stretch-ramp" === e.type ? c = this._renderLegendForRamp(e, r.opacity) : "relationship-ramp" === e.type && (c = o.renderRelationshipRamp(e, this.id, r.opacity));

          if (!c) return null;
          var m = e.title,
              _ = null;
          if ("string" == typeof m) _ = m;else if (m) {
            var u = d.getTitle(m, s || i);
            _ = d.isRendererTitle(m, s || i) && m.title ? m.title + " (" + u + ")" : u;
          }
          var h = t ? y.layerChildTable : y.layerTable,
              v = _ ? p.tsx("div", {
            "class": y.layerCaption
          }, _) : null,
              f = (l = {}, l[y.layerTableSizeRamp] = n || !t, l);
          return p.tsx("div", {
            "class": this.classes(h, f)
          }, v, c);
        }, r.prototype._renderLegendForRamp = function (e, r) {
          var t = this,
              l = e.infos,
              s = "opacity-ramp" === e.type,
              i = "heatmap-ramp" === e.type,
              n = "stretch-ramp" === e.type,
              o = e.preview,
              c = s ? y.opacityRamp : "";
          o.className = y.colorRamp + " " + c, null != r && (o.style.opacity = r.toString());
          var g = l.map(function (e) {
            return p.tsx("div", {
              "class": e.label ? y.rampLabel : null
            }, i ? a[e.label] : n ? t._getStretchStopLabel(e) : e.label);
          }),
              m = {
            width: "24px"
          },
              _ = {
            height: o.style.height
          };
          return p.tsx("div", {
            "class": y.layerRow
          }, p.tsx("div", {
            "class": y.symbolContainer,
            styles: m
          }, p.tsx("div", {
            "class": y.rampContainer,
            bind: o,
            afterCreate: d.attachToNode
          })), p.tsx("div", {
            "class": y.layerInfo
          }, p.tsx("div", {
            "class": y.rampLabelsContainer,
            styles: _
          }, g)));
        }, r.prototype._getStretchStopLabel = function (e) {
          return e.label ? a[e.label] + ": " + s.formatNumber(e.value, {
            style: "decimal"
          }) : "";
        }, r.prototype._renderLegendForElementInfo = function (e, r, t, l) {
          var a, s;
          if (e.type) return this._renderLegendForElement(e, r, !0);
          var i = null,
              n = d.isImageryStretchedLegend(r, l);
          if (e.symbol && e.preview ? i = p.tsx("div", {
            "class": y.symbol,
            bind: e.preview,
            afterCreate: d.attachToNode
          }) : e.src && (i = this._renderImage(e, r, n)), !i) return null;
          var o = (a = {}, a[y.imageryLayerInfoStretched] = n, a),
              c = (s = {}, s[y.imageryLayerInfoStretched] = n, s[y.sizeRamp] = !n && t, s);
          return p.tsx("div", {
            "class": y.layerRow
          }, p.tsx("div", {
            "class": this.classes(y.symbolContainer, c)
          }, i), p.tsx("div", {
            "class": this.classes(y.layerInfo, o)
          }, d.getTitle(e.label, !1) || ""));
        }, r.prototype._renderImage = function (e, r, t) {
          var l,
              a = e.label,
              s = e.src,
              i = e.opacity,
              n = (l = {}, l[y.imageryLayerStretchedImage] = t, l[y.symbol] = !t, l),
              o = {
            opacity: "" + (null != i ? i : r.opacity)
          };
          return p.tsx("img", {
            alt: d.getTitle(a, !1),
            src: s,
            border: 0,
            width: e.width,
            height: e.height,
            "class": this.classes(n),
            styles: o
          });
        }, l([p.renderable(), i.property()], r.prototype, "activeLayerInfos", void 0), l([i.property({
          readOnly: !0
        })], r.prototype, "type", void 0), r = l([i.subclass("esri.widgets.Legend.styles.Classic")], r);
      }(i.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/styles/support/utils.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/styles/support/utils.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendStylesSupportUtilsJs(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__(
    /*! ../../../../symbols/support/svgUtils */
    "./node_modules/arcgis-js-api/symbols/support/svgUtils.js"), __webpack_require__(
    /*! ../../../support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, a, r, l) {
      function t(e, a, r) {
        var t = e.focus,
            s = e.labels,
            o = !!t,
            d = i(e, a, r);
        return o ? l.tsx("div", {
          "class": n.diamondContainer
        }, l.tsx("div", {
          "class": n.diamondLeftCol
        }, s.left), l.tsx("div", {
          "class": n.diamondMidCol
        }, l.tsx("div", {
          "class": n.diamondMidColLabel
        }, s.top), d, l.tsx("div", {
          "class": n.diamondMidColLabel
        }, s.bottom)), l.tsx("div", {
          "class": n.diamondRightCol
        }, s.right)) : l.tsx("div", {
          "class": n.squareTable
        }, l.tsx("div", {
          "class": n.squareTableRow
        }, l.tsx("div", {
          "class": l.classes(n.squareTableCell, n.squareTableLabel, n.squareTableLabelRightBottom)
        }, s.left), l.tsx("div", {
          "class": n.squareTableCell
        }), l.tsx("div", {
          "class": l.classes(n.squareTableCell, n.squareTableLabel, n.squareTableLabelLeftBottom)
        }, s.top)), l.tsx("div", {
          "class": n.squareTableRow
        }, l.tsx("div", {
          "class": n.squareTableCell
        }), d, l.tsx("div", {
          "class": n.squareTableCell
        })), l.tsx("div", {
          "class": n.squareTableRow
        }, l.tsx("div", {
          "class": l.classes(n.squareTableCell, n.squareTableLabel, n.squareTableLabelRightTop)
        }, s.bottom), l.tsx("div", {
          "class": n.squareTableCell
        }), l.tsx("div", {
          "class": l.classes(n.squareTableCell, n.squareTableLabel, n.squareTableLabelLeftTop)
        }, s.right)));
      }

      function s(e, a, r) {
        var l = r + "_arrowStart",
            t = r + "_arrowEnd",
            s = "left" === e,
            i = {
          markerStart: null,
          markerEnd: null
        };

        switch (a) {
          case "HL":
            s ? i.markerStart = "url(#" + t + ")" : i.markerEnd = "url(#" + l + ")";
            break;

          case "LL":
            i.markerStart = "url(#" + t + ")";
            break;

          case "LH":
            s ? i.markerEnd = "url(#" + l + ")" : i.markerStart = "url(#" + t + ")";
            break;

          default:
            i.markerEnd = "url(#" + l + ")";
        }

        return i;
      }

      function i(e, a, t, i) {
        void 0 === i && (i = 60);
        var d = e.focus,
            m = e.numClasses,
            u = e.colors,
            b = e.rotation,
            p = !!d,
            h = Math.sqrt(Math.pow(i, 2) + Math.pow(i, 2)) + (p ? 0 : 5),
            c = null;
        null != t && (c = "opacity: " + t);

        for (var x = [], f = [], q = [], k = i || 75, T = k / m, _ = 0; _ < m; _++) for (var v = _ * T, g = 0; g < m; g++) {
          var L = g * T,
              C = r.generateFillAttributes(u[_][g]),
              w = r.generateStrokeAttributes(null),
              R = {
            type: "rect",
            x: L,
            y: v,
            width: T,
            height: T
          };
          x.push(r.renderDef(C)), f.push(r.renderShape(R, C.fill, w, null)), q.push(r.getBoundingBox(R));
        }

        var y = null;
        p || (y = "margin: -15px -15px -18px -15px");
        var M = s("left", d, a),
            S = s("right", d, a),
            B = r.computeBBox(q),
            E = r.getTransformMatrix(B, h, h, 0, !1, b),
            H = r.getTransformMatrix(B, h, h, 0, !1, p ? -45 : null);
        return l.tsx("div", {
          style: c,
          "class": p ? n.diamondMidColRamp : n.squareTableCell
        }, l.tsx("svg", {
          xmlns: o,
          width: h,
          height: h,
          style: y
        }, l.tsx("defs", null, l.tsx("marker", {
          id: a + "_arrowStart",
          markerWidth: "10",
          markerHeight: "10",
          refX: "5",
          refY: "5",
          markerUnits: "strokeWidth",
          orient: "auto"
        }, l.tsx("polyline", {
          points: "0,0 5,5 0,10",
          fill: "none",
          stroke: "#555555",
          "stroke-width": "1"
        })), l.tsx("marker", {
          id: a + "_arrowEnd",
          markerWidth: "10",
          markerHeight: "10",
          refX: "0",
          refY: "5",
          markerUnits: "strokeWidth",
          orient: "auto"
        }, l.tsx("polyline", {
          points: "5,0 0,5 5,10",
          fill: "none",
          stroke: "#555555",
          "stroke-width": "1"
        })), x), l.tsx("g", {
          transform: E
        }, f), l.tsx("g", {
          transform: H
        }, l.tsx("line", {
          fill: "none",
          stroke: "#555555",
          "stroke-width": "1",
          "marker-start": M.markerStart,
          "marker-end": M.markerEnd,
          x1: -10,
          y1: i - 15,
          x2: -10,
          y2: 15
        }), l.tsx("line", {
          fill: "none",
          stroke: "#555555",
          "stroke-width": "1",
          "marker-start": S.markerStart,
          "marker-end": S.markerEnd,
          x1: 15,
          y1: i + 10,
          x2: i - 15,
          y2: i + 10
        }))));
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var o = "http://www.w3.org/2000/svg",
          n = {
        diamondContainer: "esri-relationship-ramp--diamond__container",
        diamondLeftCol: "esri-relationship-ramp--diamond__left-column",
        diamondRightCol: "esri-relationship-ramp--diamond__right-column",
        diamondMidCol: "esri-relationship-ramp--diamond__middle-column",
        diamondMidColLabel: "esri-relationship-ramp--diamond__middle-column--label",
        diamondMidColRamp: "esri-relationship-ramp--diamond__middle-column--ramp",
        squareTable: "esri-relationship-ramp--square__table",
        squareTableRow: "esri-relationship-ramp--square__table-row",
        squareTableCell: "esri-relationship-ramp--square__table-cell",
        squareTableLabel: "esri-relationship-ramp--square__table-label",
        squareTableLabelLeftBottom: "esri-relationship-ramp--square__table-label--left-bottom",
        squareTableLabelRightBottom: "esri-relationship-ramp--square__table-label--right-bottom",
        squareTableLabelLeftTop: "esri-relationship-ramp--square__table-label--left-top",
        squareTableLabelRightTop: "esri-relationship-ramp--square__table-label--right-top"
      };
      a.renderRelationshipRamp = t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/ActiveLayerInfo.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/ActiveLayerInfo.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportActiveLayerInfoJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../../core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.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__(
    /*! ../../../layers/support/fieldUtils */
    "./node_modules/arcgis-js-api/layers/support/fieldUtils.js"), __webpack_require__(
    /*! ../../../renderers/support/jsonUtils */
    "./node_modules/arcgis-js-api/renderers/support/jsonUtils.js"), __webpack_require__(
    /*! ../../../renderers/visualVariables/SizeVariable */
    "./node_modules/arcgis-js-api/renderers/visualVariables/SizeVariable.js"), __webpack_require__(
    /*! ../../../symbols/support/symbolUtils */
    "./node_modules/arcgis-js-api/symbols/support/symbolUtils.js"), __webpack_require__(
    /*! ../../../symbols/support/utils */
    "./node_modules/arcgis-js-api/symbols/support/utils.js"), __webpack_require__(
    /*! ../../../views/2d/layers/support/clusterUtils */
    "./node_modules/arcgis-js-api/views/2d/layers/support/clusterUtils.js"), __webpack_require__(
    /*! ./colorRampUtils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/colorRampUtils.js"), __webpack_require__(
    /*! ./heatmapRampUtils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/heatmapRampUtils.js"), __webpack_require__(
    /*! ./relationshipRampUtils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/relationshipRampUtils.js"), __webpack_require__(
    /*! ./sizeRampUtils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/sizeRampUtils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/utils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, l, i, s, a, o, u, c, d, p, y, f, h, m, g, b, v, _, S, E, L, R, w, C, F, I, T, z, V) {
      function M(e) {
        return "raster-colormap" === e.type;
      }

      function x(e) {
        return "raster-stretch" === e.type;
      }

      function O(e) {
        return "esri.renderers.SimpleRenderer" === e.declaredClass;
      }

      function P(e) {
        return "esri.renderers.ClassBreaksRenderer" === e.declaredClass;
      }

      function D(e) {
        return "esri.renderers.UniqueValueRenderer" === e.declaredClass;
      }

      function A(e) {
        return "esri.renderers.HeatmapRenderer" === e.declaredClass;
      }

      function U(e) {
        return B(e) || N(e) || W(e) || k(e);
      }

      function k(e) {
        return "esri.renderers.PointCloudRGBRenderer" === e.declaredClass;
      }

      function B(e) {
        return "esri.renderers.PointCloudClassBreaksRenderer" === e.declaredClass;
      }

      function N(e) {
        return "esri.renderers.PointCloudStretchRenderer" === e.declaredClass;
      }

      function W(e) {
        return "esri.renderers.PointCloudUniqueValueRenderer" === e.declaredClass;
      }

      function H(e) {
        return "esri.renderers.DotDensityRenderer" === e.declaredClass;
      }

      function j(e) {
        return O(e) || P(e) || D(e) || x(e) || M(e) || A(e) || B(e) || N(e) || W(e) || H(e);
      }

      function q(e) {
        return "esri.layers.WMSLayer" === e.declaredClass;
      }

      function G(e) {
        return "esri.layers.WMTSLayer" === e.declaredClass;
      }

      function J(e) {
        return "esri.layers.MapImageLayer" === e.declaredClass;
      }

      function $(e) {
        return "esri.layers.FeatureLayer" === e.declaredClass;
      }

      function Z(e) {
        return e.declaredClass === X;
      }

      var Q = f.getLogger("esri.widgets.Legend.support.ActiveLayerInfo"),
          X = "esri.layers.ImageryLayer",
          K = /^\s*(return\s+)?\$view\.scale\s*(;)?\s*$/i,
          Y = new u.SimpleMarkerSymbol({
        size: 6,
        outline: {
          color: [128, 128, 128, .5],
          width: .5
        }
      }),
          ee = new u.SimpleFillSymbol({
        style: "solid"
      }),
          te = new u.SimpleMarkerSymbol({
        style: "path",
        path: "M10,5 L5,0 0,5 M5,0 L5,15",
        size: 15,
        outline: {
          width: 1,
          color: [85, 85, 85, 1]
        }
      });
      return function (t) {
        function u(e) {
          var r = t.call(this, e) || this;
          return r._handles = new y(), r._hasColorRamp = !1, r._hasOpacityRamp = !1, r._hasSizeRamp = !1, r._legendResponse = {}, r._webStyleSymbolCache = new Map(), r._dotDensityUrlCache = new Map(), r.children = new p(), r.layer = null, r.legendElements = [], r.parent = null, r.scale = null, r.title = null, r.view = null, r;
        }

        return n(u, t), u.prototype.initialize = function () {
          var e = this,
              t = function t() {
            return e.notifyChange("ready");
          };

          this._handles.add([b.on(this, "children", "change", function (r) {
            var n = r.added,
                l = r.removed,
                i = e._handles;
            n.map(function (e) {
              var r = "activeLayerInfo-ready-watcher-" + e.layer.uid;
              i.add(b.init(e, "ready", t), r);
            }), l.forEach(function (e) {
              return i.remove(e.layer.uid);
            }), t();
          })]);
        }, u.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null, this._legendResponse = null, this._webStyleSymbolCache = null, this._dotDensityUrlCache = null;
        }, Object.defineProperty(u.prototype, "ready", {
          get: function get() {
            return null === this.layer || (this.children.length > 0 ? this._isGroupActive() : this.legendElements.length > 0);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(u.prototype, "isScaleDriven", {
          get: function get() {
            var e = this,
                t = this.layer;
            if (null === t) return !1;
            if ("featureReduction" in t && t.featureReduction && "cluster" === t.featureReduction.type) return !0;

            if ("renderer" in t && t.renderer) {
              if ("dot-density" === t.renderer.type) return !0;
              var r = t.get("renderer.valueExpression");
              if (K.test(r)) return !0;
              var n = t.get("renderer.visualVariables");
              return n && n.some(function (t) {
                return e._isScaleDrivenSizeVariable(t);
              });
            }

            return !0;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(u.prototype, "version", {
          get: function get() {
            return this._get("version") + 1;
          },
          enumerable: !0,
          configurable: !0
        }), u.prototype.buildLegendElementsForFeatureCollections = function (e) {
          return i(this, void 0, void 0, function () {
            var t,
                r = this;
            return s(this, function (n) {
              return this.legendElements = [], t = e.map(function (e) {
                if ($(e)) return r._buildRendererLegendElements(e.renderer, e.title, "append");

                if (e.featureSet && e.featureSet.features.length) {
                  var t = e.layerDefinition,
                      n = t && t.drawingInfo,
                      l = n && E.fromJSON(n.renderer);
                  return l ? r._buildRendererLegendElements(l, e.name, "append") : (Q.warn("drawingInfo not available!"), null);
                }

                return null;
              }), [2, m.eachAlways(t).then(function () {})];
            });
          });
        }, u.prototype.buildLegendElementsForRenderer = function (e) {
          return i(this, void 0, void 0, function () {
            return s(this, function (t) {
              return [2, this._buildRendererLegendElements(e, null, "replace")];
            });
          });
        }, u.prototype.buildLegendElementsForTools = function () {
          return i(this, void 0, void 0, function () {
            var e,
                t = this;
            return s(this, function (r) {
              switch (r.label) {
                case 0:
                  return e = this.layer, G(e) ? (this._constructLegendElementsForWMTSlayer(), [3, 6]) : [3, 1];

                case 1:
                  return q(e) ? (this._constructLegendElementsForWMSSublayers(), [3, 6]) : [3, 2];

                case 2:
                  return J(e) ? [4, this._constructLegendElementsForSublayers()] : [3, 4];

                case 3:
                  return r.sent(), [3, 6];

                case 4:
                  return this._handles.remove("imageryLayers-watcher"), [4, this._getLegendLayers().then(function (r) {
                    t.legendElements = [], r.forEach(function (r) {
                      if (Z(e)) {
                        var n = e.watch("renderingRule, bandIds", function () {
                          t._legendResponse["default"] = null, t.buildLegendElementsForTools();
                        });

                        t._handles.add(n, "imageryLayers-watcher");
                      }

                      var l = t._generateSymbolTableElementForLegendLayer(r);

                      l && l.infos.length && (Z(e) && (l.title = e.title), t.legendElements.push(l)), t.notifyChange("ready");
                    }), t.notifyChange("ready");
                  })["catch"](function (e) {
                    Q.warn("Request to server for legend has failed!", e);
                  })];

                case 5:
                  r.sent(), r.label = 6;

                case 6:
                  return [2];
              }
            });
          });
        }, u.prototype._isGroupActive = function () {
          var e = this.children;
          return !!e.length && e.some(function (e) {
            return e.ready;
          });
        }, u.prototype._isScaleDrivenSizeVariable = function (e) {
          if (e && "size" !== e.type) return !1;
          var t = e,
              r = t.minSize,
              n = t.maxSize;
          return "object" == typeof r && r ? this._isScaleDrivenSizeVariable(r) : "object" == typeof n && n ? this._isScaleDrivenSizeVariable(n) : !!t.expression || K.test(t.valueExpression);
        }, u.prototype._buildRendererLegendElements = function (e, t, r) {
          return i(this, void 0, void 0, function () {
            var n, l;
            return s(this, function (i) {
              switch (i.label) {
                case 0:
                  return i.trys.push([0, 2,, 3]), [4, this._getRendererLegendElements(e, t)];

                case 1:
                  return n = i.sent(), "append" === r ? Array.prototype.push.apply(this.legendElements, n) : this.legendElements = n, this.notifyChange("ready"), [3, 3];

                case 2:
                  return l = i.sent(), Q.warn("error while building legend for layer!", l), [3, 3];

                case 3:
                  return [2];
              }
            });
          });
        }, u.prototype._constructLegendElementsForWMTSlayer = function () {
          this.legendElements = [], this._handles.remove("wmts-activeLayer-watcher");
          var e = this.layer,
              t = e.activeLayer;

          if (this._handles.add(b.watch(this.layer, "activeLayer", this._constructLegendElementsForWMTSlayer.bind(this)), "wmts-activeLayer-watcher"), t.styleId && t.styles) {
            var r = null;
            t.styles.some(function (e) {
              return t.styleId === e.id && (r = e.legendUrl, !0);
            }), r && (this.legendElements = [{
              type: "symbol-table",
              title: t.title,
              infos: [{
                src: r,
                opacity: e.opacity
              }]
            }]);
          }

          this.notifyChange("ready");
        }, u.prototype._constructLegendElementsForWMSSublayers = function () {
          this.legendElements = [], this._handles.remove("wms-sublayers-watcher");
          var e = this.layer,
              t = null;
          (e.customParameters || e.customLayerParameters) && (t = r({}, e.customParameters, e.customLayerParameters)), this._handles.add(b.watch(this.layer, "sublayers", this._constructLegendElementsForWMSSublayers.bind(this)), "wms-sublayers-watcher"), this.legendElements = this._generateLegendElementsForWMSSublayers(e.sublayers, t), this.notifyChange("ready");
        }, u.prototype._generateLegendElementsForWMSSublayers = function (e, t) {
          var r = this,
              n = [];
          return this._handles.add(e.on("change", this._constructLegendElementsForWMSSublayers.bind(this)), "wms-sublayers-watcher"), e.forEach(function (e) {
            var l = e.watch("title, visible, legendEnabled", function () {
              return r._constructLegendElementsForWMSSublayers();
            });

            if (r._handles.add(l, "wms-sublayers-watcher"), e.visible && e.legendEnabled) {
              var i = r._generateSymbolTableElementForWMSSublayer(e, t);

              i && i.infos.length && n.unshift(i);
            }
          }), n;
        }, u.prototype._generateSymbolTableElementForWMSSublayer = function (e, t) {
          if (!e.legendUrl && e.sublayers) {
            var r = this._generateLegendElementsForWMSSublayers(e.sublayers, t).filter(function (e) {
              return e;
            });

            return {
              type: "symbol-table",
              title: e.title,
              infos: r
            };
          }

          return this._generateSymbolTableElementForLegendUrl(e, t);
        }, u.prototype._generateSymbolTableElementForLegendUrl = function (e, t) {
          var r = e.legendUrl;

          if (r) {
            var n = {
              type: "symbol-table",
              title: e.title || e.name || e.id && e.id + "",
              infos: []
            };
            return t && (r += "?" + g.objectToQuery(t)), n.infos.push({
              src: r,
              opacity: e.layer && e.layer.opacity
            }), n;
          }
        }, u.prototype._getLegendLayers = function (e) {
          var t = this,
              r = e && e.hasDynamicLayers,
              n = r ? e.dynamicLayers : null,
              l = n || "default",
              i = this._legendResponse && this._legendResponse[l];
          return i ? m.resolve(i) : this._legendRequest(n).then(function (e) {
            var r = e.layers;
            return t._legendResponse[l] = r, r;
          });
        }, u.prototype._legendRequest = function (e) {
          var t = this.layer,
              n = {
            f: "json",
            dynamicLayers: e
          };

          if (Z(t)) {
            var l = t;

            if (l.renderingRule && (n.renderingRule = JSON.stringify(l.renderingRule.toJSON())), l.bandIds && (n.bandIds = l.bandIds.join()), l.raster || l.viewId) {
              var i = l.raster,
                  s = l.viewId;
              n = r({
                raster: i,
                viewId: s
              }, n);
            }
          }

          var a = t.url.replace(/(\/)+$/, "");

          if ("version" in t && t.version >= 10.01) {
            var u = a.indexOf("?");
            u > -1 ? a = a.substring(0, u) + "/legend" + a.substring(u) : a += "/legend";
          } else {
            var c = a.toLowerCase().indexOf("/rest/"),
                d = a.substring(0, c) + a.substring(c + 5, a.length);
            a = "https://utility.arcgis.com/sharing/tools/legend?soapUrl=" + encodeURI(d) + "&returnbytes=true";
          }

          return o(a, {
            query: n
          }).then(function (e) {
            return e.data;
          });
        }, u.prototype._constructLegendElementsForSublayers = function () {
          var e = this;
          this.legendElements = [], this._handles.remove("sublayers-watcher");
          var t = this.layer,
              r = new _.ExportImageParameters({
            layer: t
          });
          return this._getLegendLayers(r).then(function (r) {
            var n = {};
            r.forEach(function (e) {
              n[e.layerId] = e;
            }), e._handles.add(b.watch(t, "sublayers", e._constructLegendElementsForSublayers.bind(e)), "sublayers-watcher"), e.legendElements = e._generateLegendElementsForSublayers(t.sublayers, n, t.opacity), e.notifyChange("ready");
          })["catch"](function (e) {
            Q.warn("Request to server for legend has failed!", e);
          }).then(function () {
            return r.destroy();
          });
        }, u.prototype._generateLegendElementsForSublayers = function (e, t, r) {
          var n = this,
              l = [];
          return this._handles.add(e.on("change", this._constructLegendElementsForSublayers.bind(this)), "sublayers-watcher"), e.forEach(function (e) {
            var i = e.watch("renderer, opacity, title, visible", function () {
              return n._constructLegendElementsForSublayers();
            });

            if (n._handles.add(i, "sublayers-watcher"), e.visible && e.legendEnabled) {
              var s = e && null != e.opacity ? e.opacity : null,
                  a = null != s ? s * r : r,
                  o = n._generateSymbolTableElementForSublayer(e, t, a);

              o && o.infos.length && l.unshift(o);
            }
          }), l;
        }, u.prototype._generateSymbolTableElementForSublayer = function (e, t, r) {
          var n = t[e.id];

          if (!n && e.sublayers) {
            var l = this._generateLegendElementsForSublayers(e.sublayers, t, r).filter(function (e) {
              return e;
            });

            return {
              type: "symbol-table",
              title: e.title,
              infos: l
            };
          }

          return this._generateSymbolTableElementForLegendLayer(n, e, r);
        }, u.prototype._generateSymbolTableElementForLegendLayer = function (e, t, r) {
          var n = this;

          if (e) {
            var l = t && t.renderer,
                i = t && t.title || e.layerName;

            if (l) {
              var s = t && t.title || this._getRendererTitle(l, t);

              s && (i && (s.title = i), i = s);
            }

            var a = {
              type: "symbol-table",
              title: i,
              infos: []
            };

            if (e.legendType && (a.legendType = e.legendType), e.legend && this._isLegendLayerInScale(e, t)) {
              var o = t ? this._sanitizeLegendForSublayer(e.legend.slice(), t) : e.legend;
              a.infos = o.map(function (t) {
                var l = t.url;
                if (t.imageData && t.imageData.length > 0) l = "data:image/png;base64," + t.imageData;else {
                  if (0 === l.indexOf("http")) return null;
                  l = g.addTokenParameter(n.layer.url + "/" + e.layerId + "/images/" + l);
                }
                return {
                  label: t.label,
                  src: l,
                  opacity: r,
                  width: t.width,
                  height: t.height
                };
              }).filter(function (e) {
                return !!e;
              });
            }

            return a.infos.length ? a : null;
          }
        }, u.prototype._isLegendLayerInScale = function (e, t) {
          var r = t || this.layer,
              n = null,
              l = null,
              i = !0;
          return !r.minScale && 0 !== r.minScale || !r.maxScale && 0 !== r.maxScale ? (0 === e.minScale && r.tileInfo && (n = r.tileInfo.lods[0].scale), 0 === e.maxScale && r.tileInfo && (l = r.tileInfo.lods[r.tileInfo.lods.length - 1].scale)) : (n = Math.min(r.minScale, e.minScale) || r.minScale || e.minScale, l = Math.max(r.maxScale, e.maxScale)), (n > 0 && n < this.scale || l > this.scale) && (i = !1), i;
        }, u.prototype._sanitizeLegendForSublayer = function (e, t) {
          if ("version" in this.layer && this.layer.version < 10.1 || 0 === e.length) return e;
          var r = t.renderer,
              n = e.some(function (e) {
            return e.values;
          }),
              l = null,
              i = null;
          return n && e.some(function (e, t) {
            return e.values || (l = t, i = e, i.label || (i.label = "others")), null != i;
          }), r ? "unique-value" === r.type ? i && (e.splice(l, 1), e.push(i)) : "class-breaks" === r.type && (i && e.splice(l, 1), e.reverse(), i && e.push(i)) : i && (e.splice(l, 1), e.push(i)), e;
        }, u.prototype._getRendererLegendElements = function (e, t) {
          return i(this, void 0, void 0, function () {
            return s(this, function (r) {
              return j(e) ? U(e) ? [2, this._constructPointCloudRendererLegendElements(e, t)] : "dot-density" === e.type ? [2, this._constructDotDensityRendererLegendElements(e)] : [2, this._constructRendererLegendElements(e, t)] : (Q.warn("Renderer not supported!"), [2, []]);
            });
          });
        }, u.prototype._getPointCloudRendererTitle = function (e) {
          return e.legendOptions && e.legendOptions.title || e.field;
        }, u.prototype._constructPointCloudRendererLegendElements = function (e, t) {
          var r = this,
              n = [],
              l = null,
              i = null;
          if (B(e)) l = {
            type: "symbol-table",
            title: t || this._getPointCloudRendererTitle(e),
            infos: []
          }, e.colorClassBreakInfos.forEach(function (e) {
            l.infos.unshift({
              label: e.label || e.minValue + " - " + e.maxValue,
              value: [e.minValue, e.maxValue],
              symbol: r._getAppliedCloneSymbol(Y, e.color)
            });
          });else if (N(e)) {
            var s = e.stops,
                a = null;

            if (s.length && (1 === s.length && (a = s[0].color), !a)) {
              var o = s[0].value,
                  u = s[s.length - 1].value;

              if (null != o && null != u) {
                var c = o + (u - o) / 2;
                a = F.getColorFromPointCloudStops(c, s);
              }
            }

            l = {
              type: "symbol-table",
              title: null,
              infos: [{
                label: null,
                value: null,
                symbol: this._getAppliedCloneSymbol(Y, a || Y.color)
              }]
            };
            var d = F.getRampStopsForPointCloud(e.stops);
            i = {
              type: "color-ramp",
              title: t || this._getPointCloudRendererTitle(e),
              infos: d,
              preview: R.renderColorRampPreviewHTML(d.map(function (e) {
                return e.color;
              }))
            };
          } else W(e) && (l = {
            type: "symbol-table",
            title: t || this._getPointCloudRendererTitle(e),
            infos: []
          }, e.colorUniqueValueInfos.forEach(function (e) {
            l.infos.push({
              label: e.label || e.values.join(", "),
              value: e.values.join(", "),
              symbol: r._getAppliedCloneSymbol(Y, e.color)
            });
          }));
          l && l.infos.length && n.push(l), i && i.infos.length && n.push(i);
          var p = n.reduce(function (e, t) {
            return e.concat(t.infos);
          }, []).filter(function (e) {
            return !!e.symbol;
          }).map(function (e) {
            return r._getSymbolPreview(e);
          });
          return m.eachAlways(p).then(function () {
            return n;
          });
        }, u.prototype._getElementInfoForDotDensity = function (e, t) {
          var r = e.backgroundColor,
              n = e.outline,
              l = e.dotSize,
              i = l + "-" + t + "-" + r + "-" + (n && JSON.stringify(n.toJSON())),
              s = this._dotDensityUrlCache,
              a = s.has(i) ? s.get(i) : R.renderDotDensityPreviewHTML(e, t);
          return s.set(i, a), {
            opacity: 1,
            src: a.src,
            preview: a,
            width: a.width,
            height: a.height
          };
        }, u.prototype._constructDotDensityRendererLegendElements = function (e) {
          var t = this,
              r = e.calculateDotValue(this.view.scale),
              n = e.legendOptions && e.legendOptions.unit,
              l = {
            type: "symbol-table",
            title: {
              value: r && Math.round(r),
              unit: n || ""
            },
            infos: []
          };
          return e.attributes.forEach(function (r) {
            var n = t._getElementInfoForDotDensity(e, r.color);

            n.label = r.label || r.valueExpressionTitle || r.field, l.infos.push(n);
          }), m.resolve([l]);
        }, u.prototype._constructRendererLegendElements = function (e, t) {
          return i(this, void 0, void 0, function () {
            var r,
                n,
                l,
                i,
                a,
                o,
                u,
                c,
                d,
                p,
                y,
                f,
                g,
                b,
                v,
                _,
                S,
                E,
                L,
                w,
                C,
                F,
                z,
                V,
                U,
                g,
                k,
                B,
                N,
                W,
                H,
                j,
                q,
                G,
                J,
                $,
                Z = this;

            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return [4, this._loadRenderer(e)];

                case 1:
                  return r = s.sent(), this._hasColorRamp = !1, this._hasOpacityRamp = !1, this._hasSizeRamp = !1, [4, this._getVisualVariableLegendElements(r)];

                case 2:
                  return n = s.sent() || [], (l = {
                    type: "symbol-table",
                    title: t || this._getRendererTitle(r),
                    infos: []
                  }, i = null, a = !1, A(r)) ? (o = I.getHeatmapRampStops(r), n.push({
                    type: "heatmap-ramp",
                    title: t,
                    infos: o,
                    preview: R.renderColorRampPreviewHTML(o.map(function (e) {
                      return e.color;
                    }))
                  }), [3, 10]) : [3, 3];

                case 3:
                  if (!D(r)) return [3, 4];

                  if (u = r && r.authoringInfo, c = u && "relationship" === u.type) {
                    if (d = u.focus, p = u.numClasses, y = u.field1, f = u.field2, p && y && f) {
                      for (g = this.layer, b = [y, f], v = T.getRotationAngleForFocus(d) || 0, _ = 0, S = b; _ < S.length; _++) E = S[_], L = E.field, w = E.normalizationField, C = {
                        field: this._getFieldAlias(L, g),
                        normField: w && this._getFieldAlias(w, g)
                      }, F = te.clone(), F.angle = v, l.infos.push({
                        label: C,
                        symbol: F
                      }), v += 90;

                      z = T.getRelationshipRampElement({
                        focus: d,
                        numClasses: p,
                        infos: r.uniqueValueInfos
                      }), n.unshift(z);
                    }
                  } else V = r.field, r.uniqueValueInfos.forEach(function (e) {
                    e.symbol && l.infos.push({
                      label: e.label || Z._getDomainName(V, e.value) || e.value,
                      value: e.value,
                      symbol: e.symbol
                    });
                  });

                  return r.defaultSymbol && (l.infos.push({
                    label: r.defaultLabel || "others",
                    symbol: r.defaultSymbol
                  }), a = !0), [3, 10];

                case 4:
                  return P(r) ? (i = this._isUnclassedRenderer(r), U = !i || !this._hasSizeRamp, U && (r.classBreakInfos.forEach(function (e) {
                    e.symbol && l.infos.unshift({
                      label: e.label || (i ? null : e.minValue + " - " + e.maxValue),
                      value: [e.minValue, e.maxValue],
                      symbol: e.symbol
                    });
                  }), i && (l.title = null), this._updateInfosforClassedSizeRenderer(r, l.infos)), r.defaultSymbol && !i && (l.infos.push({
                    label: r.defaultLabel || "others",
                    symbol: r.defaultSymbol
                  }), a = !0), [3, 10]) : [3, 5];

                case 5:
                  return x(r) ? (g = this.layer, k = void 0, B = void 0, r.statistics && (k = r.statistics[0].min || r.statistics[0][0], B = r.statistics[0].max || r.statistics[0][1]), N = [], H = h.unwrap, g.renderingRule ? [4, g.generateRasterInfo(g.renderingRule)] : [3, 7]) : [3, 9];

                case 6:
                  return j = s.sent(), [3, 8];

                case 7:
                  j = g.serviceRasterInfo, s.label = 8;

                case 8:
                  return W = H.apply(void 0, [j]), q = W.keyProperties.BandProperties, 1 === W.bandCount ? (k = k || W.statistics && W.statistics[0].min, B = B || W.statistics && W.statistics[0].max, k && B ? n.push(this._getStretchLegendElements(r, {
                    min: k,
                    max: B
                  })) : this.buildLegendElementsForTools()) : g.bandIds && 1 === g.bandIds.length ? (k = k || W.statistics && W.statistics[g.bandIds[0]].min, B = B || W.statistics && W.statistics[g.bandIds[0]].max, k && B ? n.push(this._getStretchLegendElements(r, {
                    min: k,
                    max: B
                  })) : this.buildLegendElementsForTools()) : W.bandCount >= 3 ? q && q.length >= W.bandCount ? g.bandIds && 3 === g.bandIds.length ? (N = g.bandIds.map(function (e) {
                    return q[e].BandName;
                  }), l.infos = this._createSymbolTableElementMultiBand(N)) : "lerc" === g.format ? (N = [0, 1, 2].map(function (e) {
                    return q[e].BandName;
                  }), l.infos = this._createSymbolTableElementMultiBand(N)) : this.buildLegendElementsForTools() : "lerc" === g.format ? (N = ["band0", "band1", "band2"], l.infos = this._createSymbolTableElementMultiBand(N)) : this.buildLegendElementsForTools() : this.buildLegendElementsForTools(), [3, 10];

                case 9:
                  M(r) ? r.colormapInfos.forEach(function (e) {
                    l.infos.push({
                      label: e.label,
                      value: e.value,
                      symbol: Z._getAppliedCloneSymbol(ee, e.color)
                    });
                  }) : O(r) && r.symbol && !this._hasSizeRamp && l.infos.push({
                    label: r.label,
                    symbol: r.symbol
                  }), s.label = 10;

                case 10:
                  return G = r.defaultSymbol, !G || a || O(r) || i && !this._hasColorRamp && !this._hasSizeRamp && !this._hasOpacityRamp || n.push({
                    type: "symbol-table",
                    infos: [{
                      label: r.defaultLabel || "others",
                      symbol: G
                    }]
                  }), l.infos.length && n.unshift(l), J = this._getSymbolConfig("visualVariables" in r && r.visualVariables), $ = n.reduce(function (e, t) {
                    return e.concat(t.infos);
                  }, []).filter(function (e) {
                    return !(!e || !e.symbol);
                  }).map(function (e) {
                    return Z._getSymbolPreview(e, J);
                  }), r = null, [4, m.eachAlways($)];

                case 11:
                  return s.sent(), [2, n];
              }
            });
          });
        }, u.prototype._getStretchLegendElements = function (e, t) {
          var r = e.colorRamp,
              n = F.getStrectchRampStops(r, t);
          return {
            type: "stretch-ramp",
            title: "",
            infos: n,
            preview: R.renderColorRampPreviewHTML(n.map(function (e) {
              return e.color;
            }))
          };
        }, u.prototype._createSymbolTableElementMultiBand = function (e) {
          var t = [],
              r = ["red", "green", "blue"];
          return e.forEach(function (e, n) {
            t.push({
              label: {
                colorName: r[n],
                bandName: e
              },
              src: V.RGB_IMG_SOURCE[n],
              opacity: 1
            });
          }), t;
        }, u.prototype._updateInfosforClassedSizeRenderer = function (e, t) {
          var r = e.authoringInfo && "class-breaks-size" === e.authoringInfo.type,
              n = e.classBreakInfos.some(function (e) {
            return w.isVolumetricSymbol(e.symbol);
          });

          if (r && n) {
            var l = z.REAL_WORLD_MAX_SIZE,
                i = z.REAL_WORLD_MIN_SIZE,
                s = e.classBreakInfos.length,
                a = (l - i) / (s > 1 ? s - 1 : s);
            t.forEach(function (e, t) {
              e.size = l - a * t;
            });
          }
        }, u.prototype._getSymbolConfig = function (e) {
          var t = !1,
              r = !1;
          if (e) for (var n = 0; n < e.length && (!t || !r); n++) {
            var l = e[n];
            "size" === l.type && ("height" === l.axis && (t = !0), "width-and-depth" === l.axis && (r = !0));
          }
          return t && r ? "tall" : null;
        }, u.prototype._getSymbolPreview = function (e, t) {
          return R.renderPreviewHTML(e.symbol, {
            size: e.size,
            opacity: this.layer.opacity,
            symbolConfig: t,
            rotation: e.symbol.angle
          }).then(function (t) {
            return e.preview = t, e;
          })["catch"](function () {
            return e.preview = null, e;
          });
        }, u.prototype._loadRenderer = function (e) {
          return i(this, void 0, void 0, function () {
            var t,
                r,
                n,
                l,
                i = this;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  return t = [], e = e.clone(), [4, this._getMedianColor(e)];

                case 1:
                  return r = s.sent(), (P(e) || D(e)) && (n = e.classBreakInfos || e.uniqueValueInfos, l = n.map(function (e) {
                    return i._fetchSymbol(e.symbol, r).then(function (t) {
                      e.symbol = t;
                    })["catch"](function () {
                      e.symbol = null;
                    });
                  }), Array.prototype.push.apply(t, l)), t.push(this._fetchSymbol(e.symbol || e.defaultSymbol, e.defaultSymbol ? null : r).then(function (t) {
                    i._applySymbolToRenderer(e, t, O(e));
                  })["catch"](function () {
                    i._applySymbolToRenderer(e, null, O(e));
                  })), [2, m.eachAlways(t).then(function () {
                    return e;
                  })];
              }
            });
          });
        }, u.prototype._applySymbolToRenderer = function (e, t, r) {
          r ? e.symbol = t : e.defaultSymbol = t;
        }, u.prototype._getMedianColor = function (t) {
          return i(this, void 0, void 0, function () {
            var r, n, l, i, a;
            return s(this, function (s) {
              switch (s.label) {
                case 0:
                  if (!("visualVariables" in t && t.visualVariables)) return [2, null];
                  if (!(r = d.find(t.visualVariables, function (e) {
                    return "color" === e.type;
                  }))) return [2, null];

                  if (n = null, l = null, r.stops) {
                    if (1 === r.stops.length) return [2, r.stops[0].color];
                    n = r.stops[0].value, l = r.stops[r.stops.length - 1].value;
                  }

                  return i = n + (l - n) / 2, [4, new Promise(function (t, r) {
                    Promise.resolve().then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ../../../renderers/visualVariables/support/visualVariableUtils */
                      "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](r.bind(this));
                  })];

                case 1:
                  return a = s.sent().getColor, [2, a(r, i)];
              }
            });
          });
        }, u.prototype._fetchSymbol = function (e, t) {
          var r = this;
          if (!e) return m.reject();

          if ("web-style" === e.type) {
            var n = e.portal,
                l = n && n.url,
                i = n && n.user && n.user.username,
                s = e.name + "-" + e.styleName + "-" + e.styleUrl + "-" + l + "-" + i,
                a = this._webStyleSymbolCache;
            return a.has(s) || a.set(s, e.fetchSymbol()), a.get(s).then(function (e) {
              return r._getAppliedCloneSymbol(e, t);
            })["catch"](function () {
              return Q.warn("Fetching web-style failed!"), m.reject();
            });
          }

          return m.resolve(this._getAppliedCloneSymbol(e, t));
        }, u.prototype._getAppliedCloneSymbol = function (e, t) {
          if (!e) return e;
          var r = e.clone(),
              n = r.type,
              l = n.indexOf("3d") > -1,
              i = t && t.toRgba();
          return l ? this._applyColorTo3dSymbol(r, i) : r.color && (r.color = new a(i || r.color)), r;
        }, u.prototype._applyColorTo3dSymbol = function (e, t) {
          t && e.symbolLayers.forEach(function (e) {
            e && (e.material || (e.material = {}), e.material.color = new a(t));
          });
        }, u.prototype._createClusterSizeVariable = function (e) {
          var t = C.getActiveSizeStops(this.view, e);
          return new L({
            field: e.field,
            legendOptions: {
              title: "Number of features"
            },
            minSize: t[2].size,
            minDataValue: t[2].value,
            maxSize: t[3].size,
            maxDataValue: t[3].value
          });
        }, u.prototype._getVisualVariableLegendElements = function (e) {
          return i(this, void 0, void 0, function () {
            var t,
                r,
                n,
                l,
                a,
                o,
                u,
                c,
                d,
                p,
                y = this;
            return s(this, function (f) {
              switch (f.label) {
                case 0:
                  return "visualVariables" in e && e.visualVariables ? (t = e.visualVariables, r = [], n = [], l = [], a = this.layer, t.forEach(function (e) {
                    "color" === e.type ? r.push(e) : "size" === e.type ? ("levels" in e && e.levels && (e = y._createClusterSizeVariable(e)), n.push(e)) : "opacity" === e.type && l.push(e);
                  }), o = r.concat(n, l), 0 === r.length && P(e) && e.classBreakInfos && 1 === e.classBreakInfos.length && (d = e.classBreakInfos[0], u = d && d.symbol), 0 === r.length && O(e) && (u = e.symbol), u && (u.type.indexOf("3d") > -1 ? (p = u.symbolLayers.getItemAt(0), "water" === p.type ? h.isSome(p.color) && (c = p.color) : h.isSome(p.material) && h.isSome(p.material.color) && (c = p.material.color)) : u.url || (c = u.color)), [4, m.all(o.map(function (t) {
                    return i(y, void 0, void 0, function () {
                      var r, n, l, i, o, u, d, p, o;
                      return s(this, function (s) {
                        switch (s.label) {
                          case 0:
                            return t.legendOptions && !1 === t.legendOptions.showLegend ? [3, 8] : (r = this._getRampTitle(t, a), n = null, l = "getField" in a && a.getField && a.getField(t.field), i = l && S.isDateField(l), "color" !== t.type ? [3, 2] : [4, F.getRampStops(t, null, i)]);

                          case 1:
                            return o = s.sent(), n = {
                              type: "color-ramp",
                              title: r,
                              infos: o,
                              preview: R.renderColorRampPreviewHTML(o.map(function (e) {
                                return e.color;
                              }))
                            }, this._hasColorRamp || (this._hasColorRamp = !(null == n.infos || !n.infos.length)), [3, 7];

                          case 2:
                            return "size" !== t.type || "$view.scale" === t.valueExpression ? [3, 5] : (u = {
                              type: "size-ramp",
                              title: r
                            }, d = z.getRampStops, p = [e, t], [4, this._getMedianColor(e)]);

                          case 3:
                            return [4, d.apply(void 0, p.concat([s.sent(), this.scale, this.view, i]))];

                          case 4:
                            return u.infos = s.sent(), n = u, this._hasSizeRamp || (this._hasSizeRamp = !(null == n.infos || !n.infos.length)), [3, 7];

                          case 5:
                            return "opacity" !== t.type ? [3, 7] : [4, F.getRampStops(t, c, i)];

                          case 6:
                            o = s.sent(), n = {
                              type: "opacity-ramp",
                              title: r,
                              infos: o,
                              preview: R.renderColorRampPreviewHTML(o.map(function (e) {
                                return e.color;
                              }))
                            }, this._hasOpacityRamp || (this._hasOpacityRamp = !(null == n.infos || !n.infos.length)), s.label = 7;

                          case 7:
                            return [2, n && n.infos ? n : null];

                          case 8:
                            return [2, void 0];
                        }
                      });
                    });
                  }))]) : [2, null];

                case 1:
                  return [2, f.sent().filter(function (e) {
                    return !!e;
                  })];
              }
            });
          });
        }, u.prototype._getDomainName = function (e, t) {
          if (e && "function" != typeof e) {
            var r = this.layer,
                n = r.getField && r.getField(e),
                l = n && r.getFieldDomain ? r.getFieldDomain(n.name) : null;
            return l && l.codedValues ? l.getName(t) : null;
          }

          return null;
        }, u.prototype._getRampTitle = function (e, t) {
          var r = e.field,
              n = e.normalizationField,
              l = !1,
              i = !1,
              s = !1,
              a = null;
          if (r = "function" == typeof r ? null : r, n = "function" == typeof n ? null : n, null != (e.legendOptions && e.legendOptions.title)) a = e.legendOptions.title;else if (e.valueExpressionTitle) a = e.valueExpressionTitle;else {
            if ("renderer" in t && t.renderer && "authoringInfo" in t.renderer && t.renderer.authoringInfo && t.renderer.authoringInfo.visualVariables) for (var o = t.renderer.authoringInfo.visualVariables, u = 0; u < o.length; u++) {
              var c = o[u];

              if ("color" === c.type) {
                if ("ratio" === c.style) {
                  l = !0;
                  break;
                }

                if ("percent" === c.style) {
                  i = !0;
                  break;
                }

                if ("percent-of-total" === c.style) {
                  s = !0;
                  break;
                }
              }
            }
            a = {
              field: r && this._getFieldAlias(r, t),
              normField: n && this._getFieldAlias(n, t),
              ratio: l,
              ratioPercent: i,
              ratioPercentTotal: s
            };
          }
          return a;
        }, u.prototype._getRendererTitle = function (e, t) {
          var r = e;
          if (r.legendOptions && r.legendOptions.title) return r.legendOptions.title;
          if (r.valueExpressionTitle) return r.valueExpressionTitle;
          var n = this.layer,
              l = r.field,
              i = null,
              s = null;
          P(r) && (i = r.normalizationField, s = "percent-of-total" === r.normalizationType), l = "function" == typeof l ? null : l, i = "function" == typeof i ? null : i;
          var a = null;
          return (l || i) && (a = {
            field: t ? l : l && this._getFieldAlias(l, n),
            normField: t ? i : i && this._getFieldAlias(i, n),
            normByPct: s
          }), a;
        }, u.prototype._getFieldAlias = function (e, t) {
          var r = "popupTemplate" in t && t.popupTemplate,
              n = r && r.fieldInfos,
              l = "function" == typeof e ? null : "getField" in t && t.getField && t.getField(e),
              i = null;
          n && n.some(function (t) {
            return e === t.fieldName && (i = t, !0);
          });
          var s = i || l,
              a = null;
          return s && (a = i && i.label || l && l.alias || "name" in s && s.name || "fieldName" in s && s.fieldName), a;
        }, u.prototype._isUnclassedRenderer = function (e) {
          var t = e.visualVariables,
              r = P(e) && e.classBreakInfos && 1 === e.classBreakInfos.length,
              n = !1;
          return r && t && (n = e.field ? t.some(function (t) {
            return !(!t || e.field !== t.field || (e.normalizationField || t.normalizationField) && e.normalizationField !== t.normalizationField);
          }) : !!t.length), n;
        }, l([v.property()], u.prototype, "children", void 0), l([v.property()], u.prototype, "layer", void 0), l([v.property()], u.prototype, "legendElements", void 0), l([v.property()], u.prototype, "parent", void 0), l([v.property({
          readOnly: !0
        })], u.prototype, "ready", null), l([v.property()], u.prototype, "scale", void 0), l([v.property({
          dependsOn: ["layer.renderer?.valueExpression?", "layer.renderer?.visualVariables?", "layer.featureReduction?"],
          readOnly: !0
        })], u.prototype, "isScaleDriven", null), l([v.property()], u.prototype, "title", void 0), l([v.property({
          dependsOn: ["ready"],
          readOnly: !0,
          value: 0
        })], u.prototype, "version", null), l([v.property()], u.prototype, "view", void 0), u = l([v.subclass("esri.widgets.Legend.support.ActiveLayerInfo")], u);
      }(v.declared(c));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/colorRampUtils.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/colorRampUtils.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportColorRampUtilsJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../../Color */
    "./node_modules/arcgis-js-api/Color.js"), __webpack_require__(
    /*! ../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/utils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, o, l, t, u) {
      function a(e, r) {
        var n = [],
            o = e.length - 1;
        return 5 === e.length ? n.push(0, 2, 4) : n.push(0, o), e.map(function (e, l) {
          return n.indexOf(l) > -1 ? u.createStopLabel(e, l, o, r) : null;
        });
      }

      function i(r, l, u) {
        return n(this, void 0, void 0, function () {
          var i,
              c,
              p,
              v,
              f,
              h,
              m,
              d,
              b = this;
          return o(this, function (w) {
            switch (w.label) {
              case 0:
                return i = !1, c = [], p = [], (r.stops && (v = r.stops, c = v.map(function (e) {
                  return e.value;
                }), (i = v.some(function (e) {
                  return !!e.label;
                })) && (p = v.map(function (e) {
                  return e.label;
                }))), f = c[0], h = c[c.length - 1], null == f && null == h) ? [2, null] : (m = i ? null : a(c, u), [4, t.all(c.map(function (t, u) {
                  return n(b, void 0, void 0, function () {
                    var n, a, c;
                    return o(this, function (o) {
                      switch (o.label) {
                        case 0:
                          return "opacity" !== r.type ? [3, 2] : [4, s(t, r, l)];

                        case 1:
                          return a = o.sent(), [3, 4];

                        case 2:
                          return [4, new Promise(function (r, n) {
                            Promise.resolve().then(function () {
                              var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                              /*! ../../../renderers/visualVariables/support/visualVariableUtils */
                              "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")];
                              r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                            }.bind(this))["catch"](n.bind(this));
                          })];

                        case 3:
                          a = o.sent().getColor(r, t), o.label = 4;

                        case 4:
                          return n = a, c = i ? p[u] : m[u], [2, {
                            value: t,
                            color: n,
                            label: c
                          }];
                      }
                    });
                  });
                }))]);

              case 1:
                return d = w.sent(), [2, d.reverse()];
            }
          });
        });
      }

      function s(r, t, u) {
        return void 0 === u && (u = h), n(this, void 0, void 0, function () {
          var n, a;
          return o(this, function (o) {
            switch (o.label) {
              case 0:
                return n = new l(u), [4, new Promise(function (r, n) {
                  Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ../../../renderers/visualVariables/support/visualVariableUtils */
                    "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")];
                    r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](n.bind(this));
                })];

              case 1:
                return a = o.sent().getOpacity(t, r), null != a && (n.a = a), [2, n];
            }
          });
        });
      }

      function c(e) {
        var r = !1,
            n = [],
            o = [];
        n = e.map(function (e) {
          return e.value;
        }), (r = e.some(function (e) {
          return !!e.label;
        })) && (o = e.map(function (e) {
          return e.label;
        }));
        var l = n[0],
            t = n[n.length - 1];
        if (null == l && null == t) return null;
        var u = r ? null : a(n, !1);
        return n.map(function (n, l) {
          return {
            value: n,
            color: p(n, e),
            label: r ? o[l] : u[l]
          };
        }).reverse();
      }

      function p(e, r) {
        var n = v(e, r),
            o = n.startIndex,
            t = n.endIndex,
            u = n.weight;
        if (o === t) return r[o].color;
        var a = l.blendColors(r[o].color, r[t].color, u);
        return new l(a);
      }

      function v(e, r) {
        var n = 0,
            o = r.length - 1;
        return r.some(function (r, l) {
          return e < r.value ? (o = l, !0) : (n = l, !1);
        }), {
          startIndex: n,
          endIndex: o,
          weight: (e - r[n].value) / (r[o].value - r[n].value)
        };
      }

      function f(e, r) {
        var n = [];
        if (e && "multipart" === e.type) e.colorRamps.reverse().forEach(function (o, t) {
          0 === t ? n.push({
            value: r.max,
            color: new l(o.toColor),
            label: "high"
          }) : n.push({
            value: null,
            color: new l(o.toColor),
            label: ""
          }), t === e.colorRamps.length - 1 ? n.push({
            value: r.min,
            color: new l(o.fromColor),
            label: "low"
          }) : n.push({
            value: null,
            color: new l(o.fromColor),
            label: ""
          });
        });else {
          var o = void 0,
              t = void 0;
          e && "algorithmic" === e.type ? (o = e.fromColor, t = e.toColor) : (o = [0, 0, 0, 1], t = [255, 255, 255, 1]), n = [{
            value: r.max,
            color: new l(t),
            label: "high"
          }, {
            value: r.min,
            color: new l(o),
            label: "low"
          }];
        }
        return n;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var h = new l([64, 64, 64]);
      r.getRampStops = i, r.getRampStopsForPointCloud = c, r.getColorFromPointCloudStops = p, r.getStrectchRampStops = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/heatmapRampUtils.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/heatmapRampUtils.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportHeatmapRampUtilsJs(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__(
    /*! ../../../renderers/support/HeatmapColorStop */
    "./node_modules/arcgis-js-api/renderers/support/HeatmapColorStop.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, r, e) {
      function t(o) {
        var r = o.colorStops,
            t = r.length - 1;

        if (r && r[0]) {
          var a = r[t];
          a && 1 !== a.ratio && (r = r.slice(0), r.push(new e.HeatmapColorStop({
            ratio: 1,
            color: a.color
          })), t++);
        }

        return r.map(function (o, r) {
          var e = "";
          return 0 === r ? e = "low" : r === t && (e = "high"), {
            color: o.color,
            label: e,
            ratio: o.ratio
          };
        }).reverse();
      }

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

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/relationshipRampUtils.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/relationshipRampUtils.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportRelationshipRampUtilsJs(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__(
    /*! ../../../symbols/support/gfxUtils */
    "./node_modules/arcgis-js-api/symbols/support/gfxUtils.js"), __webpack_require__(
    /*! ../../../symbols/support/previewSymbol3D */
    "./node_modules/arcgis-js-api/symbols/support/previewSymbol3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, r, o) {
      function l(t) {
        if (t) {
          var e = t.type;
          if (e.indexOf("3d") > -1) return o.getSymbolLayerFill(t.symbolLayers.getItemAt(0));

          if ("simple-line" === e) {
            var l = r.getStroke(t);
            return l && l.color;
          }

          if ("simple-marker" === t.type && ("x" === t.style || "cross" === t.style)) {
            var l = r.getStroke(t);
            return l && l.color;
          }

          return r.getFill(t);
        }
      }

      function s(t, e) {
        var r = e.HH.label,
            o = e.LL.label,
            l = e.HL.label,
            s = e.LH.label;

        switch (t) {
          case "HH":
            return {
              top: r,
              bottom: o,
              left: l,
              right: s
            };

          case "HL":
            return {
              top: l,
              bottom: s,
              left: o,
              right: r
            };

          case "LL":
            return {
              top: o,
              bottom: r,
              left: s,
              right: l
            };

          case "LH":
            return {
              top: s,
              bottom: l,
              left: r,
              right: o
            };

          default:
            return {
              top: r,
              bottom: o,
              left: l,
              right: s
            };
        }
      }

      function n(t) {
        var e = t.focus,
            r = t.infos,
            o = t.numClasses,
            n = u[o],
            i = {};
        r.forEach(function (t) {
          i[t.value] = {
            label: t.label,
            fill: l(t.symbol)
          };
        });

        for (var H = [], L = 0; L < o; L++) {
          for (var f = [], p = 0; p < o; p++) {
            var M = i[n[L][p]];
            f.push(M.fill);
          }

          H.push(f);
        }

        return {
          type: "relationship-ramp",
          numClasses: o,
          focus: e,
          colors: H,
          labels: s(e, i),
          rotation: a(e)
        };
      }

      function a(t) {
        var e = i[t];
        return t && null == e && (e = i.HH), e || 0;
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      });
      var i = {
        HH: 315,
        HL: 45,
        LL: 135,
        LH: 225
      },
          u = {
        2: [["HL", "HH"], ["LL", "LH"]],
        3: [["HL", "HM", "HH"], ["ML", "MM", "MH"], ["LL", "LM", "LH"]],
        4: [["HL", "HM1", "HM2", "HH"], ["M2L", "M2M1", "M2M2", "M2H"], ["M1L", "M1M1", "M1M2", "M1H"], ["LL", "LM1", "LM2", "LH"]]
      };
      e.getRelationshipRampElement = n, e.getRotationAngleForFocus = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/sizeRampUtils.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/sizeRampUtils.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportSizeRampUtilsJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../../symbols */
    "./node_modules/arcgis-js-api/symbols.js"), __webpack_require__(
    /*! ../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../renderers/support/numberUtils */
    "./node_modules/arcgis-js-api/renderers/support/numberUtils.js"), __webpack_require__(
    /*! ../../../symbols/support/utils */
    "./node_modules/arcgis-js-api/symbols/support/utils.js"), __webpack_require__(
    /*! ./utils */
    "./node_modules/arcgis-js-api/widgets/Legend/support/utils.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n, t, l, i, s, u, o) {
      function a(e) {
        return "esri.symbols.SimpleMarkerSymbol" === e.declaredClass;
      }

      function c(e) {
        return "esri.symbols.PictureMarkerSymbol" === e.declaredClass;
      }

      function f(e) {
        return "esri.symbols.SimpleLineSymbol" === e.declaredClass;
      }

      function m(e) {
        return "esri.symbols.TextSymbol" === e.declaredClass;
      }

      function p(e, r) {
        var n = e.length - 1;
        return e.map(function (e, t) {
          return o.createStopLabel(e, t, n, r);
        });
      }

      function b(e, l, o, a, c, f) {
        return n(this, void 0, void 0, function () {
          var m,
              b,
              y,
              v,
              d,
              g,
              w,
              z,
              V,
              D,
              x,
              E,
              M,
              O,
              R,
              I,
              k,
              A = this;
          return t(this, function (C) {
            switch (C.label) {
              case 0:
                return m = l.legendOptions, b = m && m.customValues, y = h(e, o), (v = !!y, d = !!b, g = null != l.minSize && null != l.maxSize, w = l.stops && l.stops.length > 1, z = !!l.target, v && (d || g || w && !z)) ? (V = u.isVolumetricSymbol(y), D = null, x = null, E = null, !V || w ? [3, 1] : (x = s.round([l.minDataValue, l.maxDataValue]), [3, 4])) : [2, void 0];

              case 1:
                return M = b, M ? [3, 3] : [4, S(l, y, a, c)];

              case 2:
                M = C.sent(), C.label = 3;

              case 3:
                x = M, C.label = 4;

              case 4:
                return !x && w && (x = l.stops.map(function (e) {
                  return e.value;
                }), (D = l.stops.some(function (e) {
                  return !!e.label;
                })) && (E = l.stops.map(function (e) {
                  return e.label;
                }))), (V && x && x.length > 2 && (x = [x[0], x[x.length - 1]]), x) ? (O = [r.REAL_WORLD_MIN_SIZE, r.REAL_WORLD_MAX_SIZE], R = u.getSymbolOutlineSize(y), I = D ? null : p(x, f), [4, i.all(x.map(function (e, r) {
                  return n(A, void 0, void 0, function () {
                    var n, i, s, u;
                    return t(this, function (t) {
                      switch (t.label) {
                        case 0:
                          return V ? (s = O[r], [3, 3]) : [3, 1];

                        case 1:
                          return [4, L(l, y, e, a, c)];

                        case 2:
                          s = t.sent(), t.label = 3;

                        case 3:
                          return n = s, i = _(y, n), u = D ? E[r] : I[r], [2, {
                            value: e,
                            symbol: i,
                            label: u,
                            size: n,
                            outlineSize: R
                          }];
                      }
                    });
                  });
                }))]) : [2, null];

              case 5:
                return k = C.sent(), [2, k.reverse()];
            }
          });
        });
      }

      function h(e, r) {
        var n = null,
            t = null;
        if ("simple" === e.type) n = e.symbol;else if ("class-breaks" === e.type) {
          var l = e.classBreakInfos;
          n = l && l[0] && l[0].symbol, t = l.length > 1;
        } else if ("unique-value" === e.type) {
          var l = e.uniqueValueInfos;
          n = l && l[0] && l[0].symbol, t = l.length > 1;
        }
        return !n || y(n) ? null : (n = n.clone(), (r || t) && (n.type.indexOf("3d") > -1 ? v(n) : d(n)), n);
      }

      function y(e) {
        if (e) {
          if (l.isSymbol3D(e)) {
            return !!e.symbolLayers && e.symbolLayers.some(function (e) {
              return e && "fill" === e.type;
            });
          }

          return -1 !== e.type.indexOf("fill");
        }

        return !1;
      }

      function v(e) {
        u.isVolumetricSymbol(e) || ("line-3d" === e.type ? e.symbolLayers.forEach(function (e) {
          e.material = {
            color: x
          };
        }) : e.symbolLayers.forEach(function (e) {
          "icon" !== e.type || e.resource && e.resource.href ? e.material = {
            color: D
          } : (e.material = {
            color: V
          }, e.outline = {
            color: x,
            size: 1.5
          });
        }));
      }

      function d(e) {
        -1 !== e.type.indexOf("line") ? e.color = x : (e.color = V, "simple-marker" === e.type && (e.outline = {
          color: x,
          width: 1.5
        }));
      }

      function S(r, l, i, u) {
        return n(this, void 0, void 0, function () {
          var n, o, a, c, f;
          return t(this, function (t) {
            switch (t.label) {
              case 0:
                return [4, new Promise(function (r, n) {
                  Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ../../../renderers/visualVariables/support/visualVariableUtils */
                    "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")];
                    r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](n.bind(this));
                })];

              case 1:
                if (n = t.sent().getSizeRangeAtScale(r, i, u), o = n && g(n), !n && !o) return [2, void 0];
                a = o.map(function (e) {
                  return w(e, r, n);
                }), a = s.round(a), c = 1, t.label = 2;

              case 2:
                return c < a.length - 1 ? [4, z(r, l, a[c], a[c - 1], i, u)] : [3, 5];

              case 3:
                f = t.sent(), f && (a[c] = f[0], o[c] = f[1]), t.label = 4;

              case 4:
                return c++, [3, 2];

              case 5:
                return [2, a];
            }
          });
        });
      }

      function g(e) {
        for (var r = e.minSize, n = e.maxSize, t = M, l = (n - r) / (t - 1), i = [], s = 0; s < t; s++) i.push(r + l * s);

        return i;
      }

      function w(e, r, n) {
        var t = n.minSize,
            l = n.maxSize,
            i = r.minDataValue,
            s = r.maxDataValue,
            u = null;
        if (e <= t) u = i;else if (e >= l) u = s;else {
          var o = (e - t) / (l - t);
          u = o * (s - i) + i;
        }
        return u;
      }

      function z(e, r, l, i, u, o) {
        return n(this, void 0, void 0, function () {
          var n, a, c, f, m, p, b, h, y, v, d, S, g, w, z, _, V, D, x, M, O, R;

          return t(this, function (t) {
            switch (t.label) {
              case 0:
                return [4, L(e, r, l, u, o)];

              case 1:
                return a = t.sent(), [4, L(e, r, i, u, o)];

              case 2:
                c = t.sent(), f = s.numDigits(l), m = f.fractional, p = E, b = f.integer, h = null, y = null, l > 0 && l < 1 && (h = Math.pow(10, m), l *= h, b = s.numDigits(l).integer), v = b - 1, t.label = 3;

              case 3:
                return v >= 0 ? (d = Math.pow(10, v), S = Math.floor(l / d) * d, g = Math.ceil(l / d) * d, null != h && (S /= h, g /= h), w = (S + g) / 2, n = s.round([S, w, g], {
                  indexes: [1]
                }), w = n[1], [4, L(e, r, S, u, o)]) : [3, 8];

              case 4:
                return z = t.sent(), [4, L(e, r, g, u, o)];

              case 5:
                return _ = t.sent(), [4, L(e, r, w, u, o)];

              case 6:
                if (V = t.sent(), D = s.percentChange(a, z, c, null), x = s.percentChange(a, _, c, null), M = s.percentChange(a, V, c, null), O = D.previous <= p, R = x.previous <= p, O && R && (D.previous <= x.previous ? (O = !0, R = !1) : (R = !0, O = !1)), O ? y = [S, z] : R ? y = [g, _] : M.previous <= p && (y = [w, V]), y) return [3, 8];
                t.label = 7;

              case 7:
                return v--, [3, 3];

              case 8:
                return [2, y];
            }
          });
        });
      }

      function L(r, l, i, s, u) {
        return n(this, void 0, void 0, function () {
          var n;
          return t(this, function (t) {
            switch (t.label) {
              case 0:
                return [4, new Promise(function (r, n) {
                  Promise.resolve().then(function () {
                    var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                    /*! ../../../renderers/visualVariables/support/visualVariableUtils */
                    "./node_modules/arcgis-js-api/renderers/visualVariables/support/visualVariableUtils.js")];
                    r.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                  }.bind(this))["catch"](n.bind(this));
                })];

              case 1:
                return n = t.sent().getSize, [2, n(r, i, {
                  scale: s,
                  view: u,
                  shape: "simple-marker" === l.type ? l.style : null
                })];
            }
          });
        });
      }

      function _(e, r) {
        var n = e.clone();
        if (l.isSymbol3D(n)) u.isVolumetricSymbol(n) || n.symbolLayers.forEach(function (e) {
          "fill" !== e.type && (e.size = r);
        });else if (a(n)) n.size = r;else if (c(n)) {
          var t = n.width,
              i = n.height;
          n.height = r, n.width = r * (t / i);
        } else f(n) ? n.width = r : m(n) && n.font && (n.font.size = r);
        return n;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.REAL_WORLD_MAX_SIZE = 30, r.REAL_WORLD_MIN_SIZE = 12;
      var V = [255, 255, 255],
          D = [200, 200, 200],
          x = [128, 128, 128],
          E = 20,
          M = 5;
      r.getRampStops = b;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/styleUtils.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/styleUtils.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportStyleUtilsJs(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__(
    /*! dojo/i18n!../../Legend/nls/Legend */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js"), __webpack_require__(
    /*! ../../../intl */
    "./node_modules/arcgis-js-api/intl.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, n, i, t) {
      function r(e, n) {
        return n;
      }

      function o(e) {
        var n = this;
        e.appendChild(n);
      }

      function l(e, n) {
        if (e) {
          if ("string" == typeof e) return e;
          if ("value" in e || "unit" in e) return t.substitute(i.dotValue, e);
          if ("colorName" in e || "bandName" in e) return i[e.colorName] + ": " + (i[e.bandName] || e.bandName);
          var o = null;
          return r(e, n) ? o = e.ratioPercentTotal ? "showRatioPercentTotal" : e.ratioPercent ? "showRatioPercent" : e.ratio ? "showRatio" : e.normField ? "showNormField" : e.field ? "showField" : null : d(e, n) && (o = e.normField ? "showNormField" : e.normByPct ? "showNormPct" : e.field ? "showField" : null), o ? t.substitute("showField" === o ? "{field}" : i[o], {
            field: e.field,
            normField: e.normField
          }) : null;
        }
      }

      function d(e, n) {
        return !n;
      }

      function a(e, n) {
        return !!(n && "Stretched" === n && e.version >= 10.3 && "esri.layers.ImageryLayer" === e.declaredClass);
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.attachToNode = o, n.getTitle = l, n.isRendererTitle = d, n.isImageryStretchedLegend = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Legend/support/utils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Legend/support/utils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLegendSupportUtilsJs(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__(
    /*! ../../../intl/date */
    "./node_modules/arcgis-js-api/intl/date.js"), __webpack_require__(
    /*! ../../../renderers/support/numberUtils */
    "./node_modules/arcgis-js-api/renderers/support/numberUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (A, a, e, t) {
      function r(A, a, r, U) {
        var g = "";
        0 === a ? g = o + " " : a === r && (g = i + " ");
        var n = null;
        return n = U ? e.formatDate(A, I) : t.format(A), g + n;
      }

      Object.defineProperty(a, "__esModule", {
        value: !0
      });
      var o = "<",
          i = ">",
          I = e.convertDateFormatToIntlOptions("short-date");
      a.createStopLabel = r, a.RGB_IMG_SOURCE = ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAAAAAAAAAHqZRakAAAANUlEQVQ4jWPMy8v7z0BFwMLAwMAwcdIkqhiWn5fHwEQVk5DAqIGjBo4aOGrgqIEQwEjtKgAATl0Hu6JrzFUAAAAASUVORK5CYII=", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAAAAAAAAAHqZRakAAAANUlEQVQ4jWPMy8v7z0BFwMLAwMAwaeIkqhiWl5/HwEQVk5DAqIGjBo4aOGrgqIEQwEjtKgAATl0Hu6sKxboAAAAASUVORK5CYII=", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAAAAAAAAAHqZRakAAAANUlEQVQ4jWPMy8v7z0BFwMLAwMAwadJEqhiWl5fPwEQVk5DAqIGjBo4aOGrgqIEQwEjtKgAATl0Hu75+IUcAAAAASUVORK5CYII="];
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Locate.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Locate.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLocateJs(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__(
    /*! dojo/i18n!../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!./Locate/nls/Locate */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Locate/LocateViewModel */
    "./node_modules/arcgis-js-api/widgets/Locate/LocateViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, t, i, a, l, n, r, c, s) {
      var d = {
        base: "esri-locate esri-widget--button esri-widget",
        text: "esri-icon-font-fallback-text",
        icon: "esri-icon",
        locate: "esri-icon-locate",
        loading: "esri-icon-loading-indicator",
        rotating: "esri-rotating",
        widgetIcon: "esri-icon-north-navigation",
        disabled: "esri-disabled",
        hidden: "esri-hidden"
      };
      return function (e) {
        function o(o) {
          var t = e.call(this, o) || this;
          return t.geolocationOptions = null, t.goToLocationEnabled = null, t.goToOverride = null, t.graphic = null, t.iconClass = d.widgetIcon, t.label = l.widgetLabel, t.scale = null, t.useHeadingEnabled = null, t.view = null, t.viewModel = new c(), t;
        }

        return t(o, e), o.prototype.cancelLocate = function () {}, o.prototype.locate = function () {}, o.prototype.render = function () {
          var e,
              o,
              t = this.get("viewModel.state"),
              i = "locating" === t,
              n = (e = {}, e[d.disabled] = "disabled" === t, e[d.hidden] = "feature-unsupported" === t, e),
              r = (o = {}, o[d.loading] = i, o[d.rotating] = i, o[d.locate] = !i, o),
              c = "locating" === t ? a.cancel : l.title;
          return s.tsx("div", {
            bind: this,
            "class": this.classes(d.base, n),
            hidden: "feature-unsupported" === t,
            onclick: this._locate,
            onkeydown: this._locate,
            role: "button",
            tabIndex: 0,
            "aria-label": c,
            title: c
          }, s.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(d.icon, r)
          }), s.tsx("span", {
            "class": d.text
          }, l.title));
        }, o.prototype._locate = function () {
          var e = this.viewModel;
          "locating" === e.state ? e.cancelLocate() : e.locate();
        }, i([n.aliasOf("viewModel.geolocationOptions")], o.prototype, "geolocationOptions", void 0), i([n.aliasOf("viewModel.goToLocationEnabled")], o.prototype, "goToLocationEnabled", void 0), i([n.aliasOf("viewModel.goToOverride")], o.prototype, "goToOverride", void 0), i([n.aliasOf("viewModel.graphic")], o.prototype, "graphic", void 0), i([n.property()], o.prototype, "iconClass", void 0), i([n.property()], o.prototype, "label", void 0), i([n.aliasOf("viewModel.scale")], o.prototype, "scale", void 0), i([n.aliasOf("viewModel.useHeadingEnabled")], o.prototype, "useHeadingEnabled", void 0), i([n.aliasOf("viewModel.view")], o.prototype, "view", void 0), i([n.property({
          type: c
        }), s.renderable("viewModel.state"), s.vmEvent(["locate", "locate-error"])], o.prototype, "viewModel", void 0), i([n.aliasOf("viewModel.cancelLocate")], o.prototype, "cancelLocate", null), i([n.aliasOf("viewModel.locate")], o.prototype, "locate", null), i([s.accessibleHandler()], o.prototype, "_locate", null), o = i([n.subclass("esri.widgets.Locate")], o);
      }(n.declared(r));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Locate/LocateViewModel.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Locate/LocateViewModel.js ***!
    \**********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLocateLocateViewModelJs(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__(
    /*! dojo/i18n!./nls/Locate */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js"), __webpack_require__(
    /*! ../../PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/geolocationUtils */
    "./node_modules/arcgis-js-api/core/geolocationUtils.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ../Popup/actions */
    "./node_modules/arcgis-js-api/widgets/Popup/actions.js"), __webpack_require__(
    /*! ../support/GeolocationPositioning */
    "./node_modules/arcgis-js-api/widgets/support/GeolocationPositioning.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, r, a, l, i, n, c, s, p, d, u, h, f, g) {
      var m = {
        title: i.currentLocation,
        fieldInfos: [{
          fieldName: "timestamp",
          label: i.timestamp,
          format: {
            dateFormat: "short-date-short-time"
          }
        }, {
          fieldName: "latitude",
          label: i.latitude,
          format: {
            places: 4,
            digitSeparator: !0
          }
        }, {
          fieldName: "longitude",
          label: i.longitude,
          format: {
            places: 4,
            digitSeparator: !0
          }
        }, {
          fieldName: "accuracy",
          label: i.accuracy,
          format: {
            places: 0,
            digitSeparator: !0
          }
        }, {
          fieldName: "altitude",
          label: i.altitude,
          format: {
            places: 0,
            digitSeparator: !0
          }
        }, {
          fieldName: "altitudeAccuracy",
          label: i.altitudeAccuracy,
          format: {
            places: 0,
            digitSeparator: !0
          }
        }, {
          fieldName: "heading",
          label: i.heading,
          format: {
            places: 0,
            digitSeparator: !0
          }
        }, {
          fieldName: "speed",
          label: i.speed,
          format: {
            places: 0,
            digitSeparator: !0
          }
        }],
        actions: [f.removeSelectedFeature.clone()],
        content: [{
          type: "fields"
        }]
      };
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._locateController = null, o._handles = new p(), o.locate = o.locate.bind(o), o.graphic && (o.graphic.popupTemplate = new n(m)), o._handles.add(u.on(o, "view.popup", "trigger-action", function (e) {
            return f.triggerAction({
              event: e,
              view: o.view
            });
          })), o;
        }

        return o(t, e), t.prototype.destroy = function () {
          this.cancelLocate(), this._handles.destroy(), this._handles = null;
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this._geolocationUsable ? this.get("view.ready") ? this._locateController ? "locating" : "ready" : "disabled" : "feature-unsupported";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.locate = function () {
          return l(this, void 0, void 0, function () {
            var e, t, o;
            return a(this, function (r) {
              switch (r.label) {
                case 0:
                  if (this.cancelLocate(), "disabled" === this.state) throw new c("locate:disabled-state", "Cannot locate when disabled.");
                  if ("feature-unsupported" === this.state) throw new c("locate:feature-unsupported-state", "Cannot locate in unsecure domain.");
                  e = d.createAbortController(), this._locateController = e, r.label = 1;

                case 1:
                  return r.trys.push([1, 4,, 5]), [4, s.getCurrentPosition(this.geolocationOptions)];

                case 2:
                  return t = r.sent(), [4, this._setPosition(t, {
                    signal: e.signal
                  })];

                case 3:
                  return t = r.sent(), this._locateController !== e ? [2, null] : (this.graphic && (this.graphic = this.graphic.clone(), this.view.graphics.push(this.graphic)), this.emit("locate", {
                    position: t
                  }), this._locateController = null, [2, t]);

                case 4:
                  throw o = r.sent(), this._locateController = null, this.emit("locate-error", {
                    error: o
                  }), o;

                case 5:
                  return [2];
              }
            });
          });
        }, t.prototype.cancelLocate = function () {
          this._clear(), this._locateController && this._locateController.abort(), this._locateController = null;
        }, r([h.property()], t.prototype, "_locateController", void 0), r([h.property({
          dependsOn: ["view.ready", "_locateController", "_geolocationUsable"],
          readOnly: !0
        })], t.prototype, "state", null), r([h.property()], t.prototype, "locate", null), r([h.property()], t.prototype, "cancelLocate", null), t = r([h.subclass("esri.widgets.Locate.LocateViewModel")], t);
      }(h.declared(g));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLocateNlsLocateJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Locate',
        'title': 'Find my location',
        'currentLocation': 'Current location',
        'timestamp': 'Timestamp',
        'latitude': 'Latitude',
        'longitude': 'Longitude',
        'accuracy': 'Accuracy',
        'altitude': 'Altitude',
        'altitudeAccuracy': 'Altitude accuracy',
        'heading': 'Heading',
        'speed': 'Speed'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Locate/nls/vi/Locate.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Locate/nls/vi/Locate.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsLocateNlsViLocateJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Định vị",
      title: "Tìm vị trí của tôi",
      currentLocation: "Vị trí hiện tại",
      timestamp: "Kiểu thời gian",
      latitude: "Vĩ độ",
      longitude: "Kinh độ",
      accuracy: "Độ chính xác",
      altitude: "Độ cao",
      altitudeAccuracy: "Độ chính xác của độ cao",
      heading: "Tiêu đề",
      speed: "Tốc độ"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Measurement.js":
  /*!***********************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Measurement.js ***!
    \***********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsMeasurementJs(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/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.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__(
    /*! dojo/i18n!./Measurement/nls/Measurement */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js"), __webpack_require__(
    /*! ../core/compilerUtils */
    "./node_modules/arcgis-js-api/core/compilerUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Measurement/MeasurementViewModel */
    "./node_modules/arcgis-js-api/widgets/Measurement/MeasurementViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js"), __webpack_require__(
    /*! @dojo/framework/shim/Promise */
    "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, n, s, o, a, c, u, l, d, v) {
      function p(e) {
        return e && ("esri.widgets.AreaMeasurement2D" === e.declaredClass || "esri.widgets.AreaMeasurement3D" === e.declaredClass);
      }

      var w = {
        base: "esri-measurement",
        widgetIcon: "esri-icon-measure"
      };
      return function (t) {
        function i(e) {
          var i = t.call(this, e) || this;
          return i._widgets = new Map(), i.activeTool = null, i.activeWidget = null, i.areaUnit = null, i.iconClass = w.widgetIcon, i.label = a.widgetLabel, i.linearUnit = null, i.view = null, i.viewModel = new d(), i;
        }

        return n(i, t), i.prototype.postInitialize = function () {
          var e = this;
          this.activeWidget && this.viewModel.set("activeViewModel", this.activeWidget.viewModel), this.view && this.activeTool && this._getActiveWidget().then(function (t) {
            e._set("activeWidget", t);
          }), this.own([this.watch(["view", "activeTool"], function () {
            e._getActiveWidget().then(function (t) {
              e._set("activeWidget", t);
            });
          }), this.watch("activeWidget", function (t, i) {
            e.viewModel.set("activeViewModel", t ? t.viewModel : null), i && (i.visible = !1);
          }), this.watch(["areaUnit", "linearUnit"], function () {
            return e._updateWidgetUnits();
          })]);
        }, i.prototype.destroy = function () {
          this._destroyWidgets();
        }, i.prototype.render = function () {
          var e = this.activeWidget,
              t = e && !e.destroyed ? e.render() : null;
          return v.tsx("div", {
            "class": w.base
          }, t);
        }, i.prototype.clear = function () {
          this.activeTool = null, this._destroyWidgets();
        }, i.prototype.startMeasurement = function () {
          var e = this.viewModel.activeViewModel;
          e && e.newMeasurement();
        }, i.prototype._createWidget = function (t) {
          return r(this, void 0, void 0, function () {
            var i, r, n, s, a, u, l, d, v, p, w;
            return o(this, function (o) {
              switch (o.label) {
                case 0:
                  switch (i = this, r = i.areaUnit, n = i.linearUnit, s = i.view, a = t) {
                    case "area":
                      return [3, 1];

                    case "distance":
                      return [3, 7];

                    case "direct-line":
                      return [3, 9];
                  }

                  return [3, 11];

                case 1:
                  switch (u = s.type, l = u) {
                    case "2d":
                      return [3, 2];

                    case "3d":
                      return [3, 4];
                  }

                  return [3, 6];

                case 2:
                  return [4, new Promise(function (t, i) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(0), __webpack_require__.e(14), __webpack_require__.e(33), __webpack_require__.e(65)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./AreaMeasurement2D */
                      "./node_modules/arcgis-js-api/widgets/AreaMeasurement2D.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](i.bind(this));
                  })];

                case 3:
                  return d = o.sent(), [2, new d({
                    view: s,
                    unit: r
                  })];

                case 4:
                  return [4, new Promise(function (t, i) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(2), __webpack_require__.e(13), __webpack_require__.e(14), __webpack_require__.e(17), __webpack_require__.e(19), __webpack_require__.e(27), __webpack_require__.e(57)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./AreaMeasurement3D */
                      "./node_modules/arcgis-js-api/widgets/AreaMeasurement3D.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](i.bind(this));
                  })];

                case 5:
                  return v = o.sent(), [2, new v({
                    view: s,
                    unit: r
                  })];

                case 6:
                  return c.neverReached(u), [2, null];

                case 7:
                  return [4, new Promise(function (t, i) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(0), __webpack_require__.e(14), __webpack_require__.e(33), __webpack_require__.e(66)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./DistanceMeasurement2D */
                      "./node_modules/arcgis-js-api/widgets/DistanceMeasurement2D.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](i.bind(this));
                  })];

                case 8:
                  return p = o.sent(), [2, new p({
                    view: s,
                    unit: n
                  })];

                case 9:
                  return [4, new Promise(function (t, i) {
                    Promise.all(
                    /*! AMD require */
                    [__webpack_require__.e(2), __webpack_require__.e(13), __webpack_require__.e(14), __webpack_require__.e(17), __webpack_require__.e(19), __webpack_require__.e(27), __webpack_require__.e(59)]).then(function () {
                      var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                      /*! ./DirectLineMeasurement3D */
                      "./node_modules/arcgis-js-api/widgets/DirectLineMeasurement3D.js")];
                      t.apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
                    }.bind(this))["catch"](i.bind(this));
                  })];

                case 10:
                  return w = o.sent(), [2, new w({
                    view: s,
                    unit: n
                  })];

                case 11:
                  return c.neverReached(t), [2, null];
              }
            });
          });
        }, i.prototype._destroyWidgets = function () {
          this._widgets.forEach(function (e) {
            return e.destroy();
          }), this._widgets.clear();
        }, i.prototype._getActiveWidget = function () {
          return r(this, void 0, void 0, function () {
            var e, t, i, r;
            return o(this, function (n) {
              switch (n.label) {
                case 0:
                  return e = this, (t = e.activeTool, (i = e.view) && t) ? (r = null, this._widgets.has(t) ? (r = this._widgets.get(t), r.visible = !0, [3, 3]) : [3, 1]) : [2, null];

                case 1:
                  return [4, this._createWidget(t)];

                case 2:
                  if (!(r = n.sent())) return [2, null];
                  r.viewModel.newMeasurement(), this._widgets.set(t, r), n.label = 3;

                case 3:
                  return [2, r];
              }
            });
          });
        }, i.prototype._updateWidgetUnits = function () {
          var e = this;

          this._widgets.forEach(function (t) {
            var i = e,
                r = i.areaUnit,
                n = i.linearUnit;
            t.unit = p(t) ? r : n;
          });
        }, s([u.aliasOf("viewModel.activeTool")], i.prototype, "activeTool", void 0), s([u.property({
          readOnly: !0
        }), v.renderable()], i.prototype, "activeWidget", void 0), s([u.aliasOf("viewModel.areaUnit")], i.prototype, "areaUnit", void 0), s([u.property()], i.prototype, "iconClass", void 0), s([u.property()], i.prototype, "label", void 0), s([u.aliasOf("viewModel.linearUnit")], i.prototype, "linearUnit", void 0), s([u.aliasOf("viewModel.view"), v.renderable()], i.prototype, "view", void 0), s([u.property({
          type: d
        }), v.renderable(["viewModel.state"])], i.prototype, "viewModel", void 0), i = s([u.subclass("esri.widgets.Measurement")], i);
      }(u.declared(l));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Measurement/MeasurementViewModel.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Measurement/MeasurementViewModel.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsMeasurementMeasurementViewModelJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../support/commonProperties */
    "./node_modules/arcgis-js-api/widgets/support/commonProperties.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, a, p) {
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.activeTool = null, r.activeViewModel = null, r.view = null, r;
        }

        return r(t, e), Object.defineProperty(t.prototype, "areaUnit", {
          get: function get() {
            return this.defaultUnit;
          },
          set: function set(e) {
            if (void 0 === e) return void this._clearOverride("areaUnit");

            this._override("areaUnit", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "linearUnit", {
          get: function get() {
            return this.defaultUnit;
          },
          set: function set(e) {
            if (void 0 === e) return void this._clearOverride("linearUnit");

            this._override("linearUnit", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "state", {
          get: function get() {
            var e = this.activeViewModel;
            return e ? e.state : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), i([a.property({
          type: ["area", "distance", "direct-line"]
        })], t.prototype, "activeTool", void 0), i([a.property()], t.prototype, "activeViewModel", void 0), i([a.property({
          type: n.measurementAreaUnits,
          dependsOn: ["defaultUnit"]
        })], t.prototype, "areaUnit", null), i([a.property(p.defaultUnitPropertyMetadata)], t.prototype, "defaultUnit", void 0), i([a.property({
          type: n.measurementLengthUnits,
          dependsOn: ["defaultUnit"]
        })], t.prototype, "linearUnit", null), i([a.property({
          dependsOn: ["activeViewModel", "activeViewModel.state"],
          readOnly: !0
        })], t.prototype, "state", null), i([a.property()], t.prototype, "view", void 0), t = i([a.subclass("esri.widgets.Measurement.MeasurementViewModel")], t);
      }(a.declared(o));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsMeasurementNlsMeasurementJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Measurement'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Measurement/nls/vi/Measurement.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Measurement/nls/vi/Measurement.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsMeasurementNlsViMeasurementJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Đo lường"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/NavigationToggle.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/NavigationToggle.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsNavigationToggleJs(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__(
    /*! dojo/i18n!./NavigationToggle/nls/NavigationToggle */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./NavigationToggle/NavigationToggleViewModel */
    "./node_modules/arcgis-js-api/widgets/NavigationToggle/NavigationToggleViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, i, a, n, l, r, s) {
      var g = {
        base: "esri-navigation-toggle esri-widget",
        button: "esri-navigation-toggle__button esri-widget--button",
        activeButton: "esri-navigation-toggle__button--active",
        panButton: "esri-navigation-toggle__button--pan",
        rotateButton: "esri-navigation-toggle__button--rotate",
        isLayoutHorizontal: "esri-navigation-toggle--horizontal",
        rotationIcon: "esri-icon-rotate",
        panIcon: "esri-icon-pan",
        widgetIcon: "esri-icon-pan2",
        disabled: "esri-disabled"
      };
      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o.iconClass = g.widgetIcon, o.label = a.widgetLabel, o.view = null, o.viewModel = new r(), o;
        }

        return o(e, t), Object.defineProperty(e.prototype, "layout", {
          set: function set(t) {
            "horizontal" !== t && (t = "vertical"), this._set("layout", t);
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.toggle = function () {}, e.prototype.render = function () {
          var t,
              e,
              o,
              i = "disabled" === this.get("viewModel.state"),
              n = "pan" === this.get("viewModel.navigationMode"),
              l = (t = {}, t[g.disabled] = i, t[g.isLayoutHorizontal] = "horizontal" === this.layout, t),
              r = (e = {}, e[g.activeButton] = n, e),
              p = (o = {}, o[g.activeButton] = !n, o),
              d = i ? -1 : 0;
          return s.tsx("div", {
            bind: this,
            "class": this.classes(g.base, l),
            onclick: this._toggle,
            onkeydown: this._toggle,
            tabIndex: d,
            "aria-label": a.toggle,
            title: a.toggle
          }, s.tsx("div", {
            "class": this.classes(g.button, g.panButton, r)
          }, s.tsx("span", {
            "class": g.panIcon
          })), s.tsx("div", {
            "class": this.classes(g.button, g.rotateButton, p)
          }, s.tsx("span", {
            "class": g.rotationIcon
          })));
        }, e.prototype._toggle = function () {
          this.toggle();
        }, i([n.property()], e.prototype, "iconClass", void 0), i([n.property()], e.prototype, "label", void 0), i([n.property({
          value: "vertical"
        }), s.renderable()], e.prototype, "layout", null), i([n.aliasOf("viewModel.view"), s.renderable()], e.prototype, "view", void 0), i([n.property({
          type: r
        }), s.renderable(["viewModel.state", "viewModel.navigationMode"])], e.prototype, "viewModel", void 0), i([n.aliasOf("viewModel.toggle")], e.prototype, "toggle", null), i([s.accessibleHandler()], e.prototype, "_toggle", null), e = i([n.subclass("esri.widgets.NavigationToggle")], e);
      }(n.declared(l));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/NavigationToggle/NavigationToggleViewModel.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/NavigationToggle/NavigationToggleViewModel.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsNavigationToggleNavigationToggleViewModelJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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_AMD_DEFINE_RESULT__ = function (e, t, o, i, n, r, a, s) {
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._handles = new r(), o.navigationMode = "pan", o.view = null, o.toggle = o.toggle.bind(o), o;
        }

        return o(t, e), t.prototype.initialize = function () {
          this._handles.add(a.when(this, "view.inputManager", this._setNavigationMode.bind(this)));
        }, t.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null, this.view = null;
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") && "3d" === this.view.type ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.toggle = function () {
          "disabled" !== this.state && (this.navigationMode = "pan" !== this.navigationMode ? "pan" : "rotate", this._setNavigationMode());
        }, t.prototype._setNavigationMode = function () {
          this.get("view.inputManager").primaryDragAction = "pan" === this.navigationMode ? "pan" : "rotate";
        }, i([s.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), i([s.property()], t.prototype, "navigationMode", void 0), i([s.property()], t.prototype, "view", void 0), i([s.property()], t.prototype, "toggle", null), t = i([s.subclass("esri.widgets.NavigationToggleViewModel")], t);
      }(s.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js":
  /*!*************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js ***!
    \*************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsNavigationToggleNlsNavigationToggleJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Navigation Toggle',
        'toggle': 'Toggle to pan or rotate in 3D'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/vi/NavigationToggle.js":
  /*!****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/vi/NavigationToggle.js ***!
    \****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsNavigationToggleNlsViNavigationToggleJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Bật/tắt Điều hướng",
      toggle: "Chuyển đổi để dịch chuyển hoặc xoay dưới dạng 3D"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Popup.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Popup.js ***!
    \*****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPopupJs(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/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__(
    /*! dojo/i18n!../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!./Popup/nls/Popup */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js"), __webpack_require__(
    /*! ../intl */
    "./node_modules/arcgis-js-api/intl.js"), __webpack_require__(
    /*! ../core/events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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__(
    /*! ./Spinner */
    "./node_modules/arcgis-js-api/widgets/Spinner.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Popup/PopupViewModel */
    "./node_modules/arcgis-js-api/widgets/Popup/PopupViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js"), __webpack_require__(
    /*! ./support/widgetUtils */
    "./node_modules/arcgis-js-api/widgets/support/widgetUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, i, n, r, s, a, l, u, p, c, d, h, f, g, _, v, b, y, w) {
      function m(e, t) {
        return void 0 === t ? C + "__" + e : C + "__" + e + "-" + t;
      }

      function M() {
        return s(this, void 0, void 0, function () {
          return r(this, function (t) {
            return [2, h.create(function (t) {
              Promise.all(
              /*! AMD require */
              [__webpack_require__.e("common"), __webpack_require__.e(60)]).then(function () {
                var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(
                /*! ./Feature */
                "./node_modules/arcgis-js-api/widgets/Feature.js")];
                (function (e) {
                  t(e);
                }).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);
              })["catch"](__webpack_require__.oe);
            })];
          });
        });
      }

      var k = {
        iconLeftTriangleArrow: "esri-icon-left-triangle-arrow",
        iconRightTriangleArrow: "esri-icon-right-triangle-arrow",
        iconDockToTop: "esri-icon-maximize",
        iconDockToBottom: "esri-icon-dock-bottom",
        iconDockToLeft: "esri-icon-dock-left",
        iconDockToRight: "esri-icon-dock-right",
        iconClose: "esri-icon-close",
        iconUndock: "esri-icon-minimize",
        iconCheckMark: "esri-icon-check-mark",
        iconLoading: "esri-icon-loading-indicator",
        iconDefaultAction: "esri-icon-default-action",
        iconActionsMenu: "esri-icon-handle-horizontal",
        rotating: "esri-rotating",
        base: "esri-popup",
        widget: "esri-widget",
        main: "esri-popup__main-container",
        loadingContainer: "esri-popup__loading-container",
        isCollapsible: "esri-popup--is-collapsible",
        isCollapsed: "esri-popup--is-collapsed",
        shadow: "esri-popup--shadow",
        isDocked: "esri-popup--is-docked",
        isDockedTopLeft: "esri-popup--is-docked-top-left",
        isDockedTopCenter: "esri-popup--is-docked-top-center",
        isDockedTopRight: "esri-popup--is-docked-top-right",
        isDockedBottomLeft: "esri-popup--is-docked-bottom-left",
        isDockedBottomCenter: "esri-popup--is-docked-bottom-center",
        isDockedBottomRight: "esri-popup--is-docked-bottom-right",
        alignTopCenter: "esri-popup--aligned-top-center",
        alignBottomCenter: "esri-popup--aligned-bottom-center",
        alignTopLeft: "esri-popup--aligned-top-left",
        alignBottomLeft: "esri-popup--aligned-bottom-left",
        alignTopRight: "esri-popup--aligned-top-right",
        alignBottomRight: "esri-popup--aligned-bottom-right",
        isFeatureMenuOpen: "esri-popup--feature-menu-open",
        isActionsMenuOpen: "esri-popup--actions-menu-open",
        hasFeatureUpdated: "esri-popup--feature-updated",
        header: "esri-popup__header",
        headerButtons: "esri-popup__header-buttons",
        headerContainer: "esri-popup__header-container",
        headerContainerButton: "esri-popup__header-container--button",
        headerTitle: "esri-popup__header-title",
        content: "esri-popup__content",
        footer: "esri-popup__footer",
        footerHasPagination: "esri-popup__footer--has-pagination",
        footerHasActions: "esri-popup__footer--has-actions",
        footerHasActionsMenu: "esri-popup__footer--has-actions-menu",
        button: "esri-popup__button",
        buttonDisabled: "esri-popup__button--disabled",
        buttonDock: "esri-popup__button--dock",
        icon: "esri-popup__icon",
        iconDock: "esri-popup__icon--dock-icon",
        inlineActionsContainer: "esri-popup__inline-actions-container",
        actionsMenuButton: "esri-popup__actions-menu-button",
        actions: "esri-popup__actions",
        action: "esri-popup__action",
        actionImage: "esri-popup__action-image",
        actionText: "esri-popup__action-text",
        actionToggle: "esri-popup__action-toggle",
        actionToggleOn: "esri-popup__action-toggle--on",
        pointer: "esri-popup__pointer",
        pointerDirection: "esri-popup__pointer-direction",
        navigation: "esri-popup__navigation",
        paginationPrevious: "esri-popup__pagination-previous",
        paginationNext: "esri-popup__pagination-next",
        paginationPreviousIconLTR: "esri-popup__pagination-previous-icon",
        paginationPreviousIconRTL: "esri-popup__pagination-previous-icon--rtl",
        paginationNextIconLTR: "esri-popup__pagination-next-icon",
        paginationNextIconRTL: "esri-popup__pagination-next-icon--rtl",
        featureMenu: "esri-popup__feature-menu",
        featureMenuList: "esri-popup__feature-menu-list",
        featureMenuItem: "esri-popup__feature-menu-item",
        featureMenuViewport: "esri-popup__feature-menu-viewport",
        featureMenuHeader: "esri-popup__feature-menu-header",
        featureMenuNote: "esri-popup__feature-menu-note",
        featureMenuSelected: "esri-popup__feature-menu-item--selected",
        featureMenuButton: "esri-popup__feature-menu-button",
        featureMenuTitle: "esri-popup__feature-menu-title",
        collapseButton: "esri-popup__collapse-button"
      },
          x = {
        buttonEnabled: !0,
        position: "auto",
        breakpoint: {
          width: 544
        }
      },
          C = "esri-popup",
          F = d.getLogger("esri.widgets.Popup");
      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._blurContainer = !1, o._containerNode = null, o._mainContainerNode = null, o._featureMenuNode = null, o._actionsMenuNode = null, o._focusContainer = !1, o._focusDockButton = !1, o._focusFeatureMenuButton = !1, o._focusActionsMenuButton = !1, o._focusFirstFeature = !1, o._focusFirstAction = !1, o._handles = new c(), o._pointerOffsetInPx = 16, o._spinner = null, o.actions = null, o.alignment = "auto", o.autoCloseEnabled = null, o.autoOpenEnabled = null, o.defaultPopupTemplateEnabled = null, o.content = null, o.collapsed = !1, o.collapseEnabled = !0, o.dockEnabled = !1, o.featureCount = null, o.featureMenuOpen = !1, o.features = null, o.featureNavigationEnabled = !0, o.goToOverride = null, o.highlightEnabled = null, o.location = null, o.featureWidgets = [], o.label = l.widgetLabel, o.promises = null, o.selectedFeature = null, o.selectedFeatureIndex = null, o.selectedFeatureWidget = null, o.spinnerEnabled = !0, o.title = null, o.updateLocationEnabled = null, o.view = null, o.viewModel = new b(), o.visible = null, o._addSelectedFeatureIndexHandle(), o.own([f.watch(o, "viewModel.screenLocation", function () {
            return o._positionContainer();
          }), f.whenFalse(o, "viewModel.visible", function () {
            return o.selectedFeatureWidget && o.selectedFeatureWidget.destroyCharts();
          }), f.watch(o, ["viewModel.visible", "dockEnabled"], function () {
            return o._toggleScreenLocationEnabled();
          }), f.watch(o, "viewModel.screenLocation", function (e, t) {
            !!e != !!t && o.reposition();
          }), f.watch(o, "viewModel.features", function () {
            return o._updateFeatureWidgets();
          }), f.watch(o, ["viewModel.view.padding", "viewModel.view.size", "viewModel.visible", "viewModel.waitingForResult", "viewModel.location", "alignment"], function () {
            return o.reposition();
          }), f.watch(o, "spinnerEnabled", function (e) {
            return o._spinnerEnabledChange(e);
          }), f.watch(o, "viewModel.view.size", function (e, t) {
            return o._updateDockEnabledForViewSize(e, t);
          }), f.watch(o, "viewModel.view", function (e, t) {
            return o._viewChange(e, t);
          }), f.watch(o, "viewModel.view.ready", function (e, t) {
            return o._viewReadyChange(e, t);
          }), f.watch(o, ["viewModel.waitingForResult", "viewModel.location"], function () {
            return o._displaySpinner();
          }), f.watch(o, ["featureWidgets", "viewModel.selectedFeatureIndex"], function () {
            return o._updateFeatureWidget();
          }), f.watch(o, "selectedFeatureWidget.viewModel.title", function (e) {
            return o._setTitleFromFeatureWidget(e);
          }), f.watch(o, ["selectedFeatureWidget.viewModel.content", "selectedFeatureWidget.viewModel.waitingForContent"], function () {
            return o._setContentFromFeatureWidget();
          }), f.whenFalse(o, "collapsed", function () {
            "xsmall" === o.get("viewModel.view.widthBreakpoint") && o.visible && o.collapseEnabled && o.viewModel.centerAtLocation();
          }), f.on(o, "viewModel.allActions", "change", function () {
            return o._watchActions();
          }), f.init(o, "viewModel.allActions", function () {
            return o._watchActions();
          })]), o;
        }

        return o(t, e), t.prototype.destroy = function () {
          this._destroyFeatureWidgets(), this._destroySpinner(), this._handles && this._handles.destroy(), this._handles = null;
        }, Object.defineProperty(t.prototype, "actionsMenuOpen", {
          get: function get() {
            return !!this.viewModel.visible && this._get("actionsMenuOpen");
          },
          set: function set(e) {
            this._set("actionsMenuOpen", !!e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "currentAlignment", {
          get: function get() {
            return this._getCurrentAlignment();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "currentDockPosition", {
          get: function get() {
            return this._getCurrentDockPosition();
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "dockOptions", {
          get: function get() {
            return this._get("dockOptions") || x;
          },
          set: function set(e) {
            var t = n({}, x),
                o = this.get("viewModel.view.breakpoints"),
                i = {};
            o && (i.width = o.xsmall, i.height = o.xsmall);
            var r = n({}, t, e),
                s = n({}, t.breakpoint, i),
                a = r.breakpoint;
            !0 === a ? r.breakpoint = s : "object" == typeof a && (r.breakpoint = n({}, s, a)), this._set("dockOptions", r), this._setCurrentDockPosition(), this.reposition();
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.blur = function () {
          this.visible || F.warn("Popup cannot be blurred while visible is false"), this._blurContainer = !0, this.scheduleRender();
        }, t.prototype.clear = function () {
          this.viewModel.clear();
        }, t.prototype.close = function () {
          this.visible = !1;
        }, t.prototype.focus = function () {
          this.visible || F.warn("Popup cannot be focused while visible is false"), this._focusContainer = !0, this.scheduleRender();
        }, t.prototype.next = function () {
          return this.viewModel.next();
        }, t.prototype.open = function (e) {
          this._handles.remove("selected-index");

          var t = !!e && !!e.featureMenuOpen,
              o = !!e && !!e.actionsMenuOpen,
              i = !!e && !!e.collapsed,
              n = {
            collapsed: i,
            actionsMenuOpen: o,
            featureMenuOpen: t
          };
          "xsmall" === this.get("viewModel.view.widthBreakpoint") && (n.collapsed = !0), this.set(n), this.viewModel.open(e), this._addSelectedFeatureIndexHandle();
        }, t.prototype.previous = function () {
          return this.viewModel.previous();
        }, t.prototype.reposition = function () {
          this.renderNow(), this._positionContainer(), this._setCurrentAlignment();
        }, t.prototype.triggerAction = function (e) {
          this.viewModel.triggerAction(e);
        }, t.prototype.render = function () {
          var e,
              t,
              o,
              i,
              n,
              r,
              s,
              p = this,
              c = this,
              d = c.actionsMenuOpen,
              h = c.collapsed,
              f = c.collapseEnabled,
              g = c.dockEnabled,
              _ = c.featureMenuOpen,
              v = c.featureNavigationEnabled,
              b = c.featureWidgets,
              M = c.visible,
              x = this.viewModel,
              C = x.content,
              F = x.featureCount,
              A = x.pendingPromisesCount,
              O = x.selectedFeatureIndex,
              T = x.title,
              E = M && F > 1 && v,
              D = E ? 2 : 3,
              P = this._divideActions(D),
              N = P.inlineActions,
              L = P.menuActions,
              B = E && _,
              I = L.length > 1 && d,
              W = E && this._getPageText(F, O),
              R = this._renderContent(),
              S = w.isRTL(),
              H = !!(this.get("selectedFeatureWidget") ? this.get("selectedFeatureWidget.viewModel.waitingForContent") || this.get("selectedFeatureWidget.viewModel.content") : R),
              U = !!(f && T && H),
              V = U && !B && h,
              K = this.get("viewModel.view.widthBreakpoint"),
              z = g ? l.undock : l.dock,
              j = this,
              q = j.currentAlignment,
              G = j.currentDockPosition,
              J = A ? y.tsx("div", {
            key: m("loading-container"),
            role: "presentation",
            "class": k.loadingContainer,
            "aria-label": a.loading,
            title: a.loading
          }, y.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(k.icon, k.iconLoading, k.rotating)
          })) : null,
              Q = (e = {}, e[k.iconRightTriangleArrow] = S, e[k.paginationPreviousIconRTL] = S, e[k.iconLeftTriangleArrow] = !S, e[k.paginationPreviousIconLTR] = !S, e),
              X = y.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(k.icon, Q)
          }),
              Y = y.tsx("div", {
            role: "button",
            tabIndex: 0,
            bind: this,
            onclick: this._previous,
            onkeydown: this._previous,
            "class": this.classes(k.button, k.paginationPrevious),
            "aria-label": l.previous,
            title: l.previous
          }, X),
              Z = (t = {}, t[k.iconLeftTriangleArrow] = S, t[k.paginationNextIconRTL] = S, t[k.iconRightTriangleArrow] = !S, t[k.paginationNextIconLTR] = !S, t),
              $ = y.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(k.icon, Z)
          }),
              ee = y.tsx("div", {
            role: "button",
            tabIndex: 0,
            bind: this,
            onclick: this._next,
            onkeydown: this._next,
            "class": this.classes(k.button, k.paginationNext),
            "aria-label": l.next,
            title: l.next
          }, $),
              te = w.cssTransition("enter", k.hasFeatureUpdated),
              oe = this.id + "-feature-menu",
              ie = y.tsx("div", {
            role: "button",
            tabIndex: 0,
            bind: this,
            onclick: this._toggleFeatureMenu,
            onkeydown: this._toggleFeatureMenu,
            afterCreate: this._focusFeatureMenuButtonNode,
            afterUpdate: this._focusFeatureMenuButtonNode,
            "class": this.classes(k.button, k.featureMenuButton),
            "aria-haspopup": "true",
            "aria-controls": oe,
            "aria-expanded": _,
            "aria-label": a.menu,
            title: a.menu
          }, W),
              ne = E ? [Y, J || ie, ee] : null,
              re = this._wouldDockTo(),
              se = (o = {}, o[k.iconUndock] = g, o[k.iconDock] = !g, o[k.iconDockToRight] = !g && ("top-right" === re || "bottom-right" === re), o[k.iconDockToLeft] = !g && ("top-left" === re || "bottom-left" === re), o[k.iconDockToTop] = !g && "top-center" === re, o[k.iconDockToBottom] = !g && "bottom-center" === re, o),
              ae = y.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(se, k.icon)
          }),
              le = "xsmall" !== K && this.get("dockOptions.buttonEnabled") ? y.tsx("div", {
            role: "button",
            "aria-label": z,
            title: z,
            tabIndex: 0,
            bind: this,
            onclick: this._toggleDockEnabled,
            onkeydown: this._toggleDockEnabled,
            afterCreate: this._focusDockButtonNode,
            afterUpdate: this._focusDockButtonNode,
            "class": this.classes(k.button, k.buttonDock)
          }, ae) : null,
              ue = (i = {}, i[k.headerContainerButton] = U, i),
              pe = U ? "button" : "heading",
              ce = U ? V ? a.expand : a.collapse : "",
              de = this.id + "-popup-title",
              he = T ? y.tsx("div", {
            "class": this.classes(k.headerContainer, ue),
            key: T,
            enterAnimation: te,
            id: de,
            role: pe,
            "aria-label": ce,
            title: ce,
            tabIndex: U ? 0 : -1,
            bind: this,
            onclick: this._toggleCollapsed,
            onkeydown: this._toggleCollapsed
          }, y.tsx("h2", {
            "class": k.headerTitle,
            innerHTML: T
          })) : null,
              fe = y.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(k.icon, k.iconClose)
          }),
              ge = y.tsx("div", {
            role: "button",
            tabIndex: 0,
            bind: this,
            onclick: this._close,
            onkeydown: this._close,
            "class": k.button,
            "aria-label": a.close,
            title: a.close
          }, fe),
              _e = y.tsx("header", {
            "class": k.header
          }, he, y.tsx("div", {
            "class": k.headerButtons
          }, le, ge)),
              ve = this.id + "-popup-content",
              be = !H || U && V ? null : y.tsx("article", {
            key: C,
            enterAnimation: te,
            id: ve,
            "class": k.content
          }, R),
              ye = "bottom-left" === q || "bottom-center" === q || "bottom-right" === q || "top-left" === G || "top-center" === G || "top-right" === G,
              we = "top-left" === q || "top-center" === q || "top-right" === q || "bottom-left" === G || "bottom-center" === G || "bottom-right" === G,
              me = d ? a.close : a.open,
              Me = L.length ? y.tsx("div", {
            key: m("actions-menu-button"),
            "class": this.classes(k.button, k.actionsMenuButton),
            role: "button",
            id: this.id + "-actions-menu-button",
            "aria-haspopup": "true",
            "aria-controls": d ? this.id + "-actions-menu" : null,
            tabIndex: 0,
            bind: this,
            onclick: this._toggleActionsMenu,
            onkeydown: this._toggleActionsMenu,
            afterCreate: this._focusActionsMenuButtonNode,
            afterUpdate: this._focusActionsMenuButtonNode,
            "aria-label": me,
            title: me
          }, y.tsx("span", {
            "aria-hidden": "true",
            "class": k.iconActionsMenu
          })) : null,
              ke = N.length && N.toArray().map(function (e, t) {
            return p._renderAction({
              action: e,
              index: t,
              type: "inline"
            });
          }),
              xe = L.length && d ? y.tsx("ul", {
            id: this.id + "-actions-menu",
            role: "menu",
            "aria-labelledby": this.id + "-actions-menu-button",
            key: m("actions"),
            "class": k.actions,
            bind: this,
            onkeyup: this._handleActionMenuKeyup,
            afterCreate: this._actionsMenuNodeUpdated,
            afterUpdate: this._actionsMenuNodeUpdated
          }, L.toArray().map(function (e, t) {
            return p._renderAction({
              action: e,
              index: t + D,
              type: "menu-item"
            });
          })) : null,
              Ce = ke ? y.tsx("div", {
            key: "inline-actions-container",
            "class": k.inlineActionsContainer
          }, ke, Me, xe) : null,
              Fe = E ? y.tsx("section", {
            key: m("navigation"),
            "class": this.classes(k.navigation)
          }, ne) : null,
              Ae = (n = {}, n[k.footerHasPagination] = E, n[k.footerHasActions] = !!N.length, n[k.footerHasActionsMenu] = !!L.length, n),
              Oe = E || N.length ? y.tsx("div", {
            key: m("feature-buttons"),
            "class": this.classes(k.footer, Ae)
          }, Ce, Fe) : null,
              Te = this._renderFeatureMenuNode(b, O, oe),
              Ee = u.substitute(l.selectedFeatures, {
            total: b.length
          }),
              De = y.tsx("section", {
            key: m("menu"),
            "class": k.featureMenu
          }, y.tsx("h2", {
            "class": k.featureMenuHeader
          }, Ee), y.tsx("nav", {
            "class": k.featureMenuViewport,
            afterCreate: this._featureMenuViewportNodeUpdated,
            afterUpdate: this._featureMenuViewportNodeUpdated
          }, Te)),
              Pe = g ? null : y.tsx("div", {
            key: m("pointer"),
            "class": k.pointer,
            role: "presentation"
          }, y.tsx("div", {
            "class": this.classes(k.pointerDirection, k.shadow)
          })),
              Ne = this.get("selectedFeature.layer.title"),
              Le = this.get("selectedFeature.layer.id"),
              Be = (r = {}, r[k.shadow] = g, r[k.isCollapsible] = U, r[k.isCollapsed] = V, r),
              Ie = (s = {}, s[k.alignTopCenter] = M && "top-center" === q, s[k.alignBottomCenter] = M && "bottom-center" === q, s[k.alignTopLeft] = M && "top-left" === q, s[k.alignBottomLeft] = M && "bottom-left" === q, s[k.alignTopRight] = M && "top-right" === q, s[k.alignBottomRight] = "bottom-right" === q, s[k.isDocked] = M && g, s[k.shadow] = M && !g, s[k.isDockedTopLeft] = M && "top-left" === G, s[k.isDockedTopCenter] = M && "top-center" === G, s[k.isDockedTopRight] = M && "top-right" === G, s[k.isDockedBottomLeft] = M && "bottom-left" === G, s[k.isDockedBottomCenter] = M && "bottom-center" === G, s[k.isDockedBottomRight] = M && "bottom-right" === G, s[k.isFeatureMenuOpen] = M && B, s[k.isActionsMenuOpen] = M && I, s),
              We = ye ? De : null,
              Re = we ? De : null,
              Se = ye ? Oe : null,
              He = we ? Oe : null,
              Ue = y.tsx("div", {
            "class": this.classes(k.main, k.widget, Be),
            tabIndex: -1,
            role: "dialog",
            "aria-labelledby": he ? de : "",
            "aria-describedby": be ? ve : "",
            bind: this,
            onkeyup: this._handleMainKeyup,
            afterCreate: this._mainContainerNodeUpdated,
            afterUpdate: this._mainContainerNodeUpdated
          }, Se, We, _e, be, He, Re);

          return y.tsx("div", {
            key: m("base"),
            "class": this.classes(k.base, Ie),
            role: "presentation",
            "data-layer-title": Ne,
            "data-layer-id": Le,
            bind: this,
            afterCreate: this._positionContainer,
            afterUpdate: this._positionContainer
          }, M ? [Ue, Pe] : null);
        }, t.prototype._watchActions = function () {
          var e = this,
              t = this.viewModel.allActions;
          this._handles.remove("actions"), t && t.forEach(function (t) {
            e._handles.add(f.watch(t, ["active", "className", "disabled", "id", "title", "image", "visible"], function () {
              return e.scheduleRender();
            }), "actions");
          });
        }, t.prototype._divideActions = function (e) {
          var t = this.viewModel.allActions;
          return {
            inlineActions: t.slice(0, e),
            menuActions: t.slice(e)
          };
        }, t.prototype._featureMenuOpenChanged = function (e) {
          e ? this._focusFirstFeature = !0 : this._focusFeatureMenuButton = !0;
        }, t.prototype._actionsMenuOpenChanged = function (e) {
          e ? this._focusFirstAction = !0 : this._focusActionsMenuButton = !0;
        }, t.prototype._setTitleFromFeatureWidget = function (e) {
          this.selectedFeatureWidget && (this.viewModel.title = e || "");
        }, t.prototype._setContentFromFeatureWidget = function () {
          var e = this.selectedFeatureWidget;
          e && (this.viewModel.content = e);
        }, t.prototype._handleFeatureMenuKeyup = function (e) {
          "Escape" === p.eventKey(e) && (e.stopPropagation(), this._focusFeatureMenuButton = !0, this.featureMenuOpen = !1, this.scheduleRender());
        }, t.prototype._handleActionMenuKeyup = function (e) {
          "Escape" === p.eventKey(e) && (e.stopPropagation(), this._focusActionsMenuButton = !0, this.actionsMenuOpen = !1, this.scheduleRender());
        }, t.prototype._handleFeatureMenuItemKeyup = function (e) {
          var t = p.eventKey(e),
              o = this._featureMenuNode,
              i = e.currentTarget,
              n = i["data-feature-index"];

          if (o) {
            var r = o.querySelectorAll("li"),
                s = r.length;

            if ("ArrowUp" === t) {
              e.stopPropagation();
              var a = n - 1,
                  l = (a + s) % s;
              return void r[l].focus();
            }

            if ("ArrowDown" === t) {
              e.stopPropagation();
              var u = n + 1,
                  l = (u + s) % s;
              return void r[l].focus();
            }

            if ("Home" === t) {
              e.stopPropagation();
              return void r[0].focus();
            }

            if ("End" === t) {
              e.stopPropagation();
              return void r[r.length - 1].focus();
            }
          }
        }, t.prototype._handleActionMenuItemKeyup = function (e) {
          var t = p.eventKey(e),
              o = this._actionsMenuNode,
              i = e.currentTarget,
              n = i["data-action-index"];

          if (o) {
            var r = o.querySelectorAll("li"),
                s = r.length;

            if ("ArrowUp" === t) {
              e.stopPropagation();
              var a = n - 1,
                  l = (a + s) % s;
              return void r[l].focus();
            }

            if ("ArrowDown" === t) {
              e.stopPropagation();
              var u = n + 1,
                  l = (u + s) % s;
              return void r[l].focus();
            }

            if ("Home" === t) {
              e.stopPropagation();
              return void r[0].focus();
            }

            if ("End" === t) {
              e.stopPropagation();
              return void r[r.length - 1].focus();
            }
          }
        }, t.prototype._handleMainKeyup = function (e) {
          var t = p.eventKey(e);
          "ArrowLeft" === t && (e.stopPropagation(), this.previous()), "ArrowRight" === t && (e.stopPropagation(), this.next());
        }, t.prototype._spinnerEnabledChange = function (e) {
          if (this._destroySpinner(), e) {
            var t = this.get("viewModel.view");

            this._createSpinner(t);
          }
        }, t.prototype._displaySpinner = function () {
          var e = this._spinner;

          if (e) {
            var t = this.viewModel,
                o = t.location;
            if (t.waitingForResult) return void e.show({
              location: o
            });
            e.hide();
          }
        }, t.prototype._getIconStyles = function (e) {
          return {
            "background-image": e ? "url(" + e + ")" : ""
          };
        }, t.prototype._renderAction = function (e) {
          var t,
              o,
              i = e.action,
              n = e.index,
              r = e.type,
              s = this.get("selectedFeature.attributes"),
              a = i.title,
              l = i.className,
              p = i.image,
              c = p || l ? l : k.iconDefaultAction,
              d = a && s ? u.substitute(a, s) : a,
              h = c && s ? u.substitute(c, s) : c,
              f = p && s ? u.substitute(p, s) : p,
              g = (t = {}, t[k.iconLoading] = i.active, t[k.rotating] = i.active, t[k.icon] = !!c, t[k.actionImage] = !i.active && !!f, t);
          h && (g[h] = !i.active);

          var _ = (o = {}, o[k.action] = "toggle" !== i.type, o[k.actionToggle] = "toggle" === i.type, o[k.actionToggleOn] = "toggle" === i.type && i.value, o[k.buttonDisabled] = i.disabled, o),
              v = y.tsx("span", {
            key: "text",
            "class": k.actionText
          }, d),
              b = y.tsx("span", {
            key: "icon",
            "aria-hidden": "true",
            "class": this.classes(k.icon, g),
            styles: this._getIconStyles(f)
          }),
              w = [b, v],
              m = "menu-item" === r ? y.tsx("li", {
            key: i,
            role: "menuitem",
            tabIndex: 0,
            title: d,
            "aria-label": d,
            "class": this.classes(k.button, _),
            onkeyup: this._handleActionMenuItemKeyup,
            bind: this,
            "data-action-index": n,
            onclick: this._triggerAction,
            onkeydown: this._triggerAction
          }, w) : y.tsx("div", {
            key: i,
            role: "button",
            tabIndex: 0,
            title: d,
            "aria-label": d,
            "class": this.classes(k.button, _),
            onkeyup: this._handleActionMenuItemKeyup,
            bind: this,
            "data-action-index": n,
            onclick: this._triggerAction,
            onkeydown: this._triggerAction
          }, w);

          return i.visible ? m : null;
        }, t.prototype._addSelectedFeatureIndexHandle = function () {
          var e = this,
              t = f.watch(this, "viewModel.selectedFeatureIndex", function (t, o) {
            return e._selectedFeatureIndexUpdated(t, o);
          });

          this._handles.add(t, "selected-index");
        }, t.prototype._selectedFeatureIndexUpdated = function (e, t) {
          this.featureCount && e !== t && -1 !== e && (this.actionsMenuOpen = !1, this.featureMenuOpen = !1);
        }, t.prototype._updateFeatureWidget = function () {
          var e = this,
              t = e.featureWidgets,
              o = e.selectedFeatureWidget;
          o && o.destroyCharts();
          var i = this.viewModel.selectedFeatureIndex,
              n = t[i] || null;

          this._set("selectedFeatureWidget", n);
        }, t.prototype._destroyFeatureWidgets = function () {
          this.featureWidgets.forEach(function (e) {
            return e.destroy();
          }), this._set("featureWidgets", []);
        }, t.prototype._updateFeatureWidgets = function () {
          return s(this, void 0, void 0, function () {
            var e,
                t,
                o,
                i,
                s,
                a,
                l = this;
            return r(this, function (r) {
              switch (r.label) {
                case 0:
                  return e = this, t = e.features, o = e.featureWidgets, t && t.length ? [4, M()] : (this._destroyFeatureWidgets(), [2]);

                case 1:
                  return i = r.sent(), s = o.slice(0), a = [], t.forEach(function (e, t) {
                    if (e) {
                      var o = null;
                      if (s.some(function (t, i) {
                        return t && t.graphic === e && (o = t, s.splice(i, 1)), !!o;
                      }), o) a[t] = o;else {
                        var r = new i({
                          defaultPopupTemplateEnabled: l.defaultPopupTemplateEnabled,
                          graphic: e,
                          spatialReference: l.get("view.spatialReference"),
                          map: l.get("view.map")
                        });
                        r.visibleElements = n({}, r.visibleElements, {
                          title: !1
                        }), a[t] = r;
                      }
                    }
                  }), s.forEach(function (e) {
                    return e && e.destroy();
                  }), this._set("featureWidgets", a), [2];
              }
            });
          });
        }, t.prototype._isScreenLocationWithinView = function (e, t) {
          return e.x > -1 && e.y > -1 && e.x <= t.width && e.y <= t.height;
        }, t.prototype._isOutsideView = function (e) {
          var t = e.popupHeight,
              o = e.popupWidth,
              i = e.screenLocation,
              n = e.side,
              r = e.view;
          if (isNaN(o) || isNaN(t) || !r || !i) return !1;
          var s = r.padding;
          return "right" === n && i.x + o / 2 > r.width - s.right || "left" === n && i.x - o / 2 < s.left || "top" === n && i.y - t < s.top || "bottom" === n && i.y + t > r.height - s.bottom;
        }, t.prototype._determineCurrentAlignment = function () {
          function e(e) {
            return parseInt(e.replace(/[^-\d\.]/g, ""), 10);
          }

          var t = this,
              o = t._pointerOffsetInPx,
              i = t._containerNode,
              n = t._mainContainerNode,
              r = t.viewModel,
              s = r.screenLocation,
              a = r.view;
          if (!s || !a || !i) return "top-center";
          if (!this._isScreenLocationWithinView(s, a)) return this._get("currentAlignment") || "top-center";

          var l = n ? window.getComputedStyle(n, null) : null,
              u = l ? e(l.getPropertyValue("max-height")) : 0,
              p = l ? e(l.getPropertyValue("height")) : 0,
              c = i.getBoundingClientRect(),
              d = c.height,
              h = c.width,
              f = h + o,
              g = Math.max(d, u, p) + o,
              _ = this._isOutsideView({
            popupHeight: g,
            popupWidth: f,
            screenLocation: s,
            side: "right",
            view: a
          }),
              v = this._isOutsideView({
            popupHeight: g,
            popupWidth: f,
            screenLocation: s,
            side: "left",
            view: a
          }),
              b = this._isOutsideView({
            popupHeight: g,
            popupWidth: f,
            screenLocation: s,
            side: "top",
            view: a
          }),
              y = this._isOutsideView({
            popupHeight: g,
            popupWidth: f,
            screenLocation: s,
            side: "bottom",
            view: a
          });

          return v ? b ? "bottom-right" : "top-right" : _ ? b ? "bottom-left" : "top-left" : b ? y ? "top-center" : "bottom-center" : "top-center";
        }, t.prototype._getCurrentAlignment = function () {
          var e = this,
              t = e.alignment;
          return e.dockEnabled ? null : "auto" === t ? this._determineCurrentAlignment() : "function" == typeof t ? t.call(this) : t;
        }, t.prototype._setCurrentAlignment = function () {
          this._set("currentAlignment", this._getCurrentAlignment());
        }, t.prototype._setCurrentDockPosition = function () {
          this._set("currentDockPosition", this._getCurrentDockPosition());
        }, t.prototype._getDockPosition = function () {
          var e = this.get("dockOptions.position");
          return "auto" === e ? this._determineCurrentDockPosition() : "function" == typeof e ? e.call(this) : e;
        }, t.prototype._getCurrentDockPosition = function () {
          return this.dockEnabled ? this._getDockPosition() : null;
        }, t.prototype._wouldDockTo = function () {
          return this.dockEnabled ? null : this._getDockPosition();
        }, t.prototype._renderFeatureMenuItemNode = function (e, t, o) {
          var i,
              n = t === o,
              r = (i = {}, i[k.featureMenuSelected] = n, i),
              s = n ? y.tsx("span", {
            key: m("feature-menu-selected-feature-" + o),
            title: l.selectedFeature,
            "aria-label": l.selectedFeature,
            "class": k.iconCheckMark
          }) : null,
              u = y.tsx("span", {
            innerHTML: e.title || a.untitled
          });
          return y.tsx("li", {
            role: "menuitem",
            tabIndex: -1,
            key: m("feature-menu-feature-" + o),
            "class": this.classes(r, k.featureMenuItem),
            bind: this,
            "data-feature-index": t,
            onkeyup: this._handleFeatureMenuItemKeyup,
            onclick: this._selectFeature,
            onkeydown: this._selectFeature
          }, y.tsx("span", {
            "class": k.featureMenuTitle
          }, u, s));
        }, t.prototype._renderFeatureMenuNode = function (e, t, o) {
          var i = this;
          return e.length > 1 ? y.tsx("ol", {
            "class": k.featureMenuList,
            id: o,
            bind: this,
            afterCreate: this._featureMenuNodeUpdated,
            afterUpdate: this._featureMenuNodeUpdated,
            onkeyup: this._handleFeatureMenuKeyup,
            role: "menu"
          }, e.map(function (e, o) {
            return i._renderFeatureMenuItemNode(e, o, t);
          })) : null;
        }, t.prototype._determineCurrentDockPosition = function () {
          var e = this.get("viewModel.view"),
              t = w.isRTL() ? "top-left" : "top-right";
          if (!e) return t;
          var o = e.padding || {
            left: 0,
            right: 0,
            top: 0,
            bottom: 0
          },
              i = e.width - o.left - o.right,
              n = e.get("breakpoints");
          return n && i <= n.xsmall ? "bottom-center" : t;
        }, t.prototype._renderContent = function () {
          var e = this.get("viewModel.content");
          return e ? "string" == typeof e ? y.tsx("div", {
            key: e,
            innerHTML: e
          }) : y.isWidget(e) && !e.destroyed ? y.tsx("div", {
            key: e
          }, e.render()) : e instanceof HTMLElement ? y.tsx("div", {
            key: e,
            bind: e,
            afterCreate: this._attachToNode
          }) : y.isWidgetBase(e) ? y.tsx("div", {
            key: e,
            bind: e.domNode,
            afterCreate: this._attachToNode
          }) : void 0 : null;
        }, t.prototype._attachToNode = function (e) {
          var t = this;
          e.appendChild(t);
        }, t.prototype._positionContainer = function (e) {
          if (void 0 === e && (e = this._containerNode), e && (this._containerNode = e), e) {
            var t = this.viewModel.screenLocation,
                o = e.getBoundingClientRect().width,
                i = this._calculatePositionStyle(t, o);

            i && (e.style.top = i.top, e.style.left = i.left, e.style.bottom = i.bottom, e.style.right = i.right);
          }
        }, t.prototype._calculateFullWidth = function (e) {
          var t = this,
              o = t.currentAlignment,
              i = t._pointerOffsetInPx;
          return "top-left" === o || "bottom-left" === o || "top-right" === o || "bottom-right" === o ? e + i : e;
        }, t.prototype._calculateAlignmentPosition = function (e, t, o, i) {
          var n = this,
              r = n.currentAlignment,
              s = n._pointerOffsetInPx,
              a = i / 2,
              l = o.height - t,
              u = o.width - e,
              p = this.view.padding;
          return "bottom-center" === r ? {
            top: t + s - p.top,
            left: e - a - p.left
          } : "top-left" === r ? {
            bottom: l + s - p.bottom,
            right: u + s - p.right
          } : "bottom-left" === r ? {
            top: t + s - p.top,
            right: u + s - p.right
          } : "top-right" === r ? {
            bottom: l + s - p.bottom,
            left: e + s - p.left
          } : "bottom-right" === r ? {
            top: t + s - p.top,
            left: e + s - p.left
          } : "top-center" === r ? {
            bottom: l + s - p.bottom,
            left: e - a - p.left
          } : void 0;
        }, t.prototype._calculatePositionStyle = function (e, t) {
          var o = this,
              i = o.dockEnabled,
              n = o.view;

          if (n) {
            if (i) return {
              left: "",
              top: "",
              right: "",
              bottom: ""
            };

            if (e && t) {
              var r = this._calculateFullWidth(t),
                  s = this._calculateAlignmentPosition(e.x, e.y, n, r);

              if (s) return {
                top: void 0 !== s.top ? s.top + "px" : "auto",
                left: void 0 !== s.left ? s.left + "px" : "auto",
                bottom: void 0 !== s.bottom ? s.bottom + "px" : "auto",
                right: void 0 !== s.right ? s.right + "px" : "auto"
              };
            }
          }
        }, t.prototype._viewChange = function (e, t) {
          e && t && (this.close(), this.clear());
        }, t.prototype._viewReadyChange = function (e, t) {
          if (e) {
            var o = this.get("viewModel.view");
            return void this._wireUpView(o);
          }

          t && (this.close(), this.clear());
        }, t.prototype._wireUpView = function (e) {
          if (this._destroySpinner(), e) {
            this.spinnerEnabled && this._createSpinner(e), this._setDockEnabledForViewSize(this.dockOptions);
          }
        }, t.prototype._dockingThresholdCrossed = function (e, t, o) {
          var i = e[0],
              n = e[1],
              r = t[0],
              s = t[1],
              a = o.width,
              l = o.height;
          return i <= a && r > a || i > a && r <= a || n <= l && s > l || n > l && s <= l;
        }, t.prototype._updateDockEnabledForViewSize = function (e, t) {
          if (e && t) {
            var o = this.get("viewModel.view.padding") || {
              left: 0,
              right: 0,
              top: 0,
              bottom: 0
            },
                i = o.left + o.right,
                n = o.top + o.bottom,
                r = [],
                s = [];
            r[0] = e[0] - i, r[1] = e[1] - n, s[0] = t[0] - i, s[1] = t[1] - n;
            var a = this.dockOptions,
                l = a.breakpoint;
            this._dockingThresholdCrossed(r, s, l) && this._setDockEnabledForViewSize(a), this._setCurrentDockPosition();
          }
        }, t.prototype._focusDockButtonNode = function (e) {
          this._focusDockButton && (this._focusDockButton = !1, e.focus());
        }, t.prototype._mainContainerNodeUpdated = function (e) {
          return this._mainContainerNode = e, this._focusContainer ? (this._focusContainer = !1, void e.focus()) : this._blurContainer ? (this._blurContainer = !1, void e.blur()) : void 0;
        }, t.prototype._featureMenuNodeUpdated = function (e) {
          if (this._featureMenuNode = e, e && this._focusFirstFeature) {
            this._focusFirstFeature = !1;
            var t = e.querySelectorAll("li");

            if (t.length) {
              t[0].focus();
            }
          }
        }, t.prototype._actionsMenuNodeUpdated = function (e) {
          if (this._actionsMenuNode = e, e && this._focusFirstAction) {
            this._focusFirstAction = !1;
            var t = e.querySelectorAll("li");

            if (t.length) {
              t[0].focus();
            }
          }
        }, t.prototype._focusFeatureMenuButtonNode = function (e) {
          this._focusFeatureMenuButton && (this._focusFeatureMenuButton = !1, e.focus());
        }, t.prototype._focusActionsMenuButtonNode = function (e) {
          this._focusActionsMenuButton && (this._focusActionsMenuButton = !1, e.focus());
        }, t.prototype._featureMenuViewportNodeUpdated = function (e) {
          e && (e.scrollTop = 0);
        }, t.prototype._toggleScreenLocationEnabled = function () {
          var e = this,
              t = e.dockEnabled,
              o = e.visible,
              i = e.viewModel;

          if (i) {
            var n = o && !t;
            i.screenLocationEnabled = n;
          }
        }, t.prototype._shouldDockAtCurrentViewSize = function (e) {
          var t = e.breakpoint,
              o = this.get("viewModel.view.ui"),
              i = o.width,
              n = o.height;
          if (isNaN(i) || isNaN(n)) return !1;
          var r = t.hasOwnProperty("width") && i <= t.width,
              s = t.hasOwnProperty("height") && n <= t.height;
          return r || s;
        }, t.prototype._setDockEnabledForViewSize = function (e) {
          e.breakpoint && (this.dockEnabled = this._shouldDockAtCurrentViewSize(e));
        }, t.prototype._getPageText = function (e, t) {
          return u.substitute(l.pageText, {
            index: t + 1,
            total: e
          });
        }, t.prototype._destroySpinner = function () {
          var e = this,
              t = e._spinner,
              o = e.view;
          t && (o && o.ui && o.ui.remove(this._spinner, "popup-spinner"), t.destroy(), this._spinner = null);
        }, t.prototype._createSpinner = function (e) {
          e && (this._spinner = new _({
            view: e
          }), e.ui.add(this._spinner, {
            key: "popup-spinner",
            position: "manual"
          }));
        }, t.prototype._toggleCollapsed = function () {
          this.collapsed = !this.collapsed;
        }, t.prototype._close = function () {
          this.close(), this.view && this.view.focus();
        }, t.prototype._toggleDockEnabled = function () {
          this.dockEnabled = !this.dockEnabled, this._focusDockButton = !0, this.scheduleRender();
        }, t.prototype._toggleFeatureMenu = function () {
          var e = !this.featureMenuOpen;
          this._featureMenuOpenChanged(e), this.actionsMenuOpen = !1, this.featureMenuOpen = e;
        }, t.prototype._toggleActionsMenu = function () {
          var e = !this.actionsMenuOpen;
          this._actionsMenuOpenChanged(e), this.featureMenuOpen = !1, this.actionsMenuOpen = e;
        }, t.prototype._triggerAction = function (e) {
          var t = e.currentTarget,
              o = t["data-action-index"],
              i = this.viewModel.allActions.getItemAt(o);
          i && "toggle" === i.type && (i.value = !i.value), this.actionsMenuOpen = !1, this.viewModel.triggerAction(o);
        }, t.prototype._selectFeature = function (e) {
          var t = e.currentTarget,
              o = t["data-feature-index"];
          isNaN(o) || (this.viewModel.selectedFeatureIndex = o), this.featureMenuOpen = !1, this._focusFeatureMenuButton = !0, this.scheduleRender();
        }, t.prototype._next = function () {
          this.next();
        }, t.prototype._previous = function () {
          this.previous();
        }, i([g.aliasOf("viewModel.actions"), y.renderable()], t.prototype, "actions", void 0), i([g.property({
          dependsOn: ["viewModel.visible"]
        }), y.renderable()], t.prototype, "actionsMenuOpen", null), i([g.property()], t.prototype, "alignment", void 0), i([g.aliasOf("viewModel.autoCloseEnabled")], t.prototype, "autoCloseEnabled", void 0), i([g.aliasOf("viewModel.autoOpenEnabled")], t.prototype, "autoOpenEnabled", void 0), i([g.aliasOf("viewModel.defaultPopupTemplateEnabled")], t.prototype, "defaultPopupTemplateEnabled", void 0), i([g.aliasOf("viewModel.content"), y.renderable()], t.prototype, "content", void 0), i([g.property(), y.renderable()], t.prototype, "collapsed", void 0), i([g.property(), y.renderable()], t.prototype, "collapseEnabled", void 0), i([g.property({
          readOnly: !0,
          dependsOn: ["dockEnabled", "alignment"]
        }), y.renderable()], t.prototype, "currentAlignment", null), i([g.property({
          readOnly: !0,
          dependsOn: ["viewModel.view.ready", "dockEnabled", "dockOptions"]
        }), y.renderable()], t.prototype, "currentDockPosition", null), i([g.property(), y.renderable()], t.prototype, "dockOptions", null), i([g.property(), y.renderable()], t.prototype, "dockEnabled", void 0), i([g.aliasOf("viewModel.featureCount"), y.renderable()], t.prototype, "featureCount", void 0), i([g.property(), y.renderable()], t.prototype, "featureMenuOpen", void 0), i([g.aliasOf("viewModel.features"), y.renderable()], t.prototype, "features", void 0), i([g.property(), y.renderable()], t.prototype, "featureNavigationEnabled", void 0), i([g.aliasOf("viewModel.goToOverride")], t.prototype, "goToOverride", void 0), i([g.aliasOf("viewModel.highlightEnabled")], t.prototype, "highlightEnabled", void 0), i([g.aliasOf("viewModel.location"), y.renderable()], t.prototype, "location", void 0), i([g.property({
          readOnly: !0
        }), y.renderable()], t.prototype, "featureWidgets", void 0), i([g.property()], t.prototype, "label", void 0), i([g.aliasOf("viewModel.promises")], t.prototype, "promises", void 0), i([g.aliasOf("viewModel.selectedFeature"), y.renderable()], t.prototype, "selectedFeature", void 0), i([g.aliasOf("viewModel.selectedFeatureIndex"), y.renderable()], t.prototype, "selectedFeatureIndex", void 0), i([g.property({
          readOnly: !0
        }), y.renderable()], t.prototype, "selectedFeatureWidget", void 0), i([g.property()], t.prototype, "spinnerEnabled", void 0), i([g.aliasOf("viewModel.title"), y.renderable()], t.prototype, "title", void 0), i([g.aliasOf("viewModel.updateLocationEnabled")], t.prototype, "updateLocationEnabled", void 0), i([g.aliasOf("viewModel.view")], t.prototype, "view", void 0), i([g.property({
          type: b
        }), y.renderable(["viewModel.view.widthBreakpoint", "viewModel.allActions", "viewModel.screenLocation", "viewModel.screenLocationEnabled", "viewModel.state", "viewModel.pendingPromisesCount", "viewModel.promiseCount", "viewModel.waitingForResult"]), y.vmEvent(["triggerAction", "trigger-action"])], t.prototype, "viewModel", void 0), i([g.aliasOf("viewModel.visible"), y.renderable()], t.prototype, "visible", void 0), i([y.accessibleHandler()], t.prototype, "_toggleCollapsed", null), i([y.accessibleHandler()], t.prototype, "_close", null), i([y.accessibleHandler()], t.prototype, "_toggleDockEnabled", null), i([y.accessibleHandler()], t.prototype, "_toggleFeatureMenu", null), i([y.accessibleHandler()], t.prototype, "_toggleActionsMenu", null), i([y.accessibleHandler()], t.prototype, "_triggerAction", null), i([y.accessibleHandler()], t.prototype, "_selectFeature", null), i([y.accessibleHandler()], t.prototype, "_next", null), i([y.accessibleHandler()], t.prototype, "_previous", null), t = i([g.subclass("esri.widgets.Popup")], t);
      }(g.declared(v));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Popup/PopupViewModel.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Popup/PopupViewModel.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPopupPopupViewModelJs(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/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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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/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__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../../support/actions/ActionBase */
    "./node_modules/arcgis-js-api/support/actions/ActionBase.js"), __webpack_require__(
    /*! ../../support/actions/ActionButton */
    "./node_modules/arcgis-js-api/support/actions/ActionButton.js"), __webpack_require__(
    /*! ../../support/actions/ActionToggle */
    "./node_modules/arcgis-js-api/support/actions/ActionToggle.js"), __webpack_require__(
    /*! ../../views/input/InputManager */
    "./node_modules/arcgis-js-api/views/input/InputManager.js"), __webpack_require__(
    /*! ../../views/support/layerViewUtils */
    "./node_modules/arcgis-js-api/views/support/layerViewUtils.js"), __webpack_require__(
    /*! ./actions */
    "./node_modules/arcgis-js-api/widgets/Popup/actions.js"), __webpack_require__(
    /*! ../support/AnchorElementViewModel */
    "./node_modules/arcgis-js-api/widgets/support/AnchorElementViewModel.js"), __webpack_require__(
    /*! ../support/GoTo */
    "./node_modules/arcgis-js-api/widgets/support/GoTo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, o, n, r, i, a, s, p, u, l, c, d, h, f, g, y, v, m, b, w, F, _, P, C) {
      var T = p.ofType({
        key: "type",
        defaultKeyValue: "button",
        base: v,
        typeMap: {
          button: m,
          toggle: b
        }
      }),
          E = function E() {
        return new T([_.zoomToFeature.clone()]);
      },
          O = c.getLogger("esri.widgets.Popup.PopupViewModel");

      return function (e) {
        function t(t) {
          var o = e.call(this, t) || this;
          return o._handles = new l(), o._pendingPromises = new Set(), o._zoomToLocation = null, o._fetchFeaturesController = null, o.actions = E(), o.defaultPopupTemplateEnabled = !1, o.autoCloseEnabled = !1, o.autoOpenEnabled = !0, o.content = null, o.highlightEnabled = !0, o.title = null, o.updateLocationEnabled = !1, o.view = null, o.visible = !1, o.zoomFactor = 4, o;
        }

        return o(t, e), t.prototype.initialize = function () {
          var e = this;

          this._handles.add([f.init(this, ["autoOpenEnabled", "view"], this._autoOpenEnabledChange), this.on("view-change", this._autoClose), f.watch(this, ["highlightEnabled", "selectedFeature", "visible", "view"], this._highlightFeature), f.watch(this, "view.animation.state", function (t) {
            e._zoomToLocation || (_.zoomToFeature.disabled = "waiting-for-target" === t);
          }), f.watch(this, "location", function (t) {
            var o = e,
                n = o.selectedFeature;
            o.updateLocationEnabled && t && (!n || n.geometry) && e.centerAtLocation();
          }), f.watch(this, "selectedFeature", function (t) {
            if (t) {
              var o = e,
                  n = o.location,
                  r = o.updateLocationEnabled,
                  i = o.view;
              if ((r || !n) && t.geometry) return void (e.location = d.unwrap(e._getPointFromGeometry(t.geometry)));
              r && !t.geometry && e.centerAtLocation().then(function () {
                e.location = i.center.clone();
              });
            }
          }), this.on("trigger-action", function (t) {
            return _.triggerAction({
              event: t,
              view: e.view
            });
          })]);
        }, t.prototype.destroy = function () {
          this._cancelFetchingFeatures(), this._handles.destroy(), this._handles = null, this._pendingPromises.clear(), this.view = null;
        }, Object.defineProperty(t.prototype, "allActions", {
          get: function get() {
            var e = this._get("allActions") || new T();
            e.removeAll();
            var t = this.selectedFeature && ("function" == typeof this.selectedFeature.getEffectivePopupTemplate && this.selectedFeature.getEffectivePopupTemplate(this.defaultPopupTemplateEnabled) || this.selectedFeature.popupTemplate),
                o = t && t.actions,
                n = t && t.overwriteActions,
                r = n ? o : o ? o.concat(this.actions) : this.actions;
            return r && r.filter(Boolean).forEach(function (t) {
              return e.add(t);
            }), e;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "featureCount", {
          get: function get() {
            return this.features.length;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "features", {
          get: function get() {
            return this._get("features") || [];
          },
          set: function set(e) {
            var t = e || [];

            this._set("features", t);

            var o = this,
                n = o.pendingPromisesCount,
                r = o.promiseCount,
                i = o.selectedFeatureIndex,
                a = r && t.length;
            if (a && n && -1 === i) return void (this.selectedFeatureIndex = 0);
            a && -1 !== i || (this.selectedFeatureIndex = t.length ? 0 : -1);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "location", {
          get: function get() {
            return this._get("location") || null;
          },
          set: function set(e) {
            var t = this.get("view.spatialReference.isWebMercator");
            e && e.get("spatialReference.isWGS84") && t && (e = y.geographicToWebMercator(e)), this._set("location", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "pendingPromisesCount", {
          get: function get() {
            return this._pendingPromises.size;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "waitingForResult", {
          get: function get() {
            return this.pendingPromisesCount > 0 && 0 === this.featureCount;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "promiseCount", {
          get: function get() {
            return this.promises.length;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "promises", {
          get: function get() {
            return this._get("promises") || [];
          },
          set: function set(e) {
            var t = this;
            if (this._pendingPromises.clear(), this.features = [], !Array.isArray(e) || !e.length) return this._set("promises", []), void this.notifyChange("pendingPromisesCount");
            this._set("promises", e), e = e.slice(0), e.forEach(function (e) {
              t._pendingPromises.add(e);

              var o = function o(_o2) {
                t._pendingPromises.has(e) && t._updateFeatures(_o2), t._updatePendingPromises(e);
              },
                  n = function n() {
                return t._updatePendingPromises(e);
              };

              e.then(o, n);
            }), this.notifyChange("pendingPromisesCount");
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "selectedFeature", {
          get: function get() {
            var e = this,
                t = e.features,
                o = e.selectedFeatureIndex;
            return -1 === o ? null : t[o] || null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "selectedFeatureIndex", {
          get: function get() {
            var e = this._get("selectedFeatureIndex");

            return "number" == typeof e ? e : -1;
          },
          set: function set(e) {
            var t = this.featureCount;
            e = isNaN(e) || e < -1 || !t ? -1 : (e + t) % t, this._set("selectedFeatureIndex", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.centerAtLocation = function () {
          var e = this.view,
              t = this._getSelectedTarget();

          if (!t) {
            var o = new u("center-at-location:invalid-target-or-view", "Cannot center at a location without a target and view.", {
              target: t,
              view: e
            });
            return O.error(o), h.reject(o);
          }

          return this.callGoTo({
            target: {
              target: t,
              scale: e.scale
            }
          });
        }, t.prototype.clear = function () {
          this.set({
            promises: [],
            features: [],
            content: null,
            title: null,
            location: null
          });
        }, t.prototype.open = function (e) {
          var t = this,
              o = r({
            updateLocationEnabled: !1,
            promises: [],
            fetchFeatures: !1,
            visible: !1
          }, e),
              n = o.fetchFeatures;
          delete o.fetchFeatures;
          var i = n ? this._fetchFeatures(o.location || this.location) : h.resolve();
          this.set(o), i.then(function () {
            t._setVisibleWhenContentExists();
          });
        }, t.prototype.triggerAction = function (e) {
          var t = this.allActions.getItemAt(e);
          t && this.emit("trigger-action", {
            action: t
          });
        }, t.prototype.next = function () {
          return this.selectedFeatureIndex = this.selectedFeatureIndex + 1, this;
        }, t.prototype.previous = function () {
          return this.selectedFeatureIndex = this.selectedFeatureIndex - 1, this;
        }, t.prototype.zoomToLocation = function () {
          var e = this,
              t = this,
              o = t.location,
              n = t.selectedFeature,
              r = t.view,
              i = t.zoomFactor,
              a = this._getSelectedTarget();

          if (!a) {
            var s = new u("zoom-to:invalid-target-or-view", "Cannot zoom to location without a target and view.", {
              target: a,
              view: r
            });
            return O.error(s), h.reject(s);
          }

          var p = r.scale / i,
              l = this.get("selectedFeature.geometry"),
              c = l || o,
              d = c && "point" === c.type,
              f = d && this._isScreenSize(n);

          _.zoomToFeature.active = !0, _.zoomToFeature.disabled = !0;
          var g = this.callGoTo({
            target: {
              target: a,
              scale: f ? p : void 0
            }
          }).then(function () {
            f && (e.location = c), _.zoomToFeature.active = !1, _.zoomToFeature.disabled = !1, e._zoomToLocation = null;
          })["catch"](function () {
            _.zoomToFeature.active = !1, _.zoomToFeature.disabled = !1, e._zoomToLocation = null;
          });
          return this._zoomToLocation = g, g;
        }, t.prototype._getSelectedTarget = function () {
          var e = this,
              t = e.selectedFeature,
              o = e.location,
              n = e.view;
          if (!n) return null;
          var r = "3d" === n.type,
              i = this.get("selectedFeature.geometry");
          return r ? t || o : i || o;
        }, t.prototype._fetchPopupFeatures = function (e) {
          var t = this.view;

          if (this._cancelFetchingFeatures(), !t || !e) {
            var o = new u("fetch-features:invalid-screenPoint-or-view", "Cannot fetch features without a screenPoint and view.", {
              screenPoint: e,
              view: t
            });
            return O.error(o), h.reject(o);
          }

          var n = h.createAbortController();
          return this._fetchFeaturesController = n, t.fetchPopupFeatures(e, {
            defaultPopupTemplateEnabled: this.defaultPopupTemplateEnabled,
            signal: n.signal
          });
        }, t.prototype._autoOpenEnabledChange = function () {
          var e = this,
              t = this,
              o = t._handles,
              n = t.autoOpenEnabled;

          if (o.remove("auto-fetch-features"), n && this.view) {
            var r = this.view.on("click", function (t) {
              "mouse" === t.pointerType && 0 !== t.button || e._fetchFeaturesAndOpen(t);
            }, w.ViewEventPriorities.WIDGET);
            o.add(r, "auto-fetch-features");
          }
        }, t.prototype._cancelFetchingFeatures = function () {
          var e = this._fetchFeaturesController;
          e && e.abort(), this._fetchFeaturesController = null;
        }, t.prototype._fetchFeatures = function (e) {
          var t = this,
              o = this.view;

          if (!e || !o) {
            var n = new u("open:invalid-location-or-view", "Cannot fetch content without a location and view.", {
              location: e,
              view: o
            });
            return O.error(n), h.reject(n);
          }

          var r = "function" == typeof o.toScreen ? o.toScreen(e) : null;
          return this._fetchPopupFeatures(r).then(function (e) {
            var o = e.promises;
            t.promises = o;
          });
        }, t.prototype._fetchFeaturesAndOpen = function (e) {
          var t = e.screenPoint,
              o = e.mapPoint,
              n = this.view;

          this._fetchPopupFeatures(t).then(function (e) {
            var t = e.promises,
                r = e.location;
            return n.popup.open({
              location: r || o,
              promises: t
            }), e;
          });
        }, t.prototype._updatePendingPromises = function (e) {
          e && this._pendingPromises.has(e) && (this._pendingPromises["delete"](e), this.notifyChange("pendingPromisesCount"));
        }, t.prototype._setVisibleWhenContentExists = function () {
          var e = this,
              t = this,
              o = t._handles,
              n = t.promiseCount;
          if (o.remove("pendingVisible"), !n) return void this.set("visible", !0);
          var r = f.init(this, "pendingPromisesCount", function (t) {
            e.featureCount && (e.set("visible", !0), o.remove("pendingVisible")), t || o.remove("pendingVisible");
          });
          o.add(r, "pendingVisible");
        }, t.prototype._autoClose = function () {
          this.autoCloseEnabled && (this.visible = !1);
        }, t.prototype._isScreenSize = function (e) {
          var t = this.view;
          if ("3d" !== t.type || !e || "esri.Graphic" !== e.declaredClass) return !0;
          var o = t.getViewForGraphic(e);

          if (o && "whenGraphicBounds" in o) {
            var n = !1;
            return o.whenGraphicBounds(e, {
              useViewElevation: !0
            }).then(function (e) {
              n = !e || !e.boundingBox || e.boundingBox[0] === e.boundingBox[3] && e.boundingBox[1] === e.boundingBox[4] && e.boundingBox[2] === e.boundingBox[5];
            }), n;
          }

          return !0;
        }, t.prototype._getPointFromGeometry = function (e) {
          return d.isNone(e) ? null : "point" === e.type ? e : "extent" === e.type ? e.center : "polygon" === e.type ? e.centroid : "multipoint" === e.type ? e.extent.center : "polyline" === e.type ? e.extent.center : null;
        }, t.prototype._highlightFeature = function () {
          return a(this, void 0, void 0, function () {
            var e, t, o, n, r, a, s, p, u, l, c, d;
            return i(this, function (i) {
              switch (i.label) {
                case 0:
                  return e = "highlight", (this._handles.remove(e), t = this, o = t.selectedFeature, n = t.highlightEnabled, r = t.view, a = t.visible, o && r && n && a) ? (s = o.layer, s ? [4, r.when()] : [2]) : [2];

                case 1:
                  return i.sent(), [4, r.whenLayerView(s)];

                case 2:
                  return (p = i.sent()) && F.hasHighlight(p) ? (u = s.objectIdField, l = o.attributes, c = l && l[u], d = p.highlight(c || o), this._handles.add(d, e), [2]) : [2];
              }
            });
          });
        }, t.prototype._updateFeatures = function (e) {
          var t = this.features;

          if (e && e.length) {
            if (!t.length) return void (this.features = e);
            var o = e.filter(function (e) {
              return -1 === t.indexOf(e);
            });
            this.features = t.concat(o);
          }
        }, n([g.property({
          type: T
        })], t.prototype, "actions", void 0), n([g.property({
          dependsOn: ["actions.length", "selectedFeature.sourceLayer.popupTemplate.actions.length", "selectedFeature.sourceLayer.popupTemplate.overwriteActions", "selectedFeature.popupTemplate.actions.length", "selectedFeature.popupTemplate.overwriteActions"],
          readOnly: !0
        })], t.prototype, "allActions", null), n([g.property({
          type: Boolean
        })], t.prototype, "defaultPopupTemplateEnabled", void 0), n([g.property()], t.prototype, "autoCloseEnabled", void 0), n([g.property()], t.prototype, "autoOpenEnabled", void 0), n([g.property()], t.prototype, "content", void 0), n([g.property({
          readOnly: !0,
          dependsOn: ["features"]
        })], t.prototype, "featureCount", null), n([g.property()], t.prototype, "features", null), n([g.property()], t.prototype, "highlightEnabled", void 0), n([g.property({
          type: s.Point
        })], t.prototype, "location", null), n([g.property({
          readOnly: !0,
          dependsOn: ["promises"]
        })], t.prototype, "pendingPromisesCount", null), n([g.property({
          readOnly: !0,
          dependsOn: ["featureCount", "pendingPromisesCount"]
        })], t.prototype, "waitingForResult", null), n([g.property({
          readOnly: !0,
          dependsOn: ["promises"]
        })], t.prototype, "promiseCount", null), n([g.property()], t.prototype, "promises", null), n([g.property({
          value: null,
          readOnly: !0,
          dependsOn: ["features", "selectedFeatureIndex", "updateLocationEnabled"]
        })], t.prototype, "selectedFeature", null), n([g.property({
          value: -1
        })], t.prototype, "selectedFeatureIndex", null), n([g.property({
          readOnly: !0,
          dependsOn: ["view.ready"]
        })], t.prototype, "state", null), n([g.property()], t.prototype, "title", void 0), n([g.property()], t.prototype, "updateLocationEnabled", void 0), n([g.property()], t.prototype, "view", void 0), n([g.property()], t.prototype, "visible", void 0), n([g.property()], t.prototype, "zoomFactor", void 0), n([g.property()], t.prototype, "centerAtLocation", null), n([g.property()], t.prototype, "zoomToLocation", null), t = n([g.subclass("esri.widgets.Popup.PopupViewModel")], t);
      }(g.declared(C.GoToMixin(P)));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Popup/actions.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Popup/actions.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPopupActionsJs(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__(
    /*! dojo/i18n!../../nls/common */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js"), __webpack_require__(
    /*! dojo/i18n!./nls/Popup */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.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__(
    /*! ../../support/actions/ActionButton */
    "./node_modules/arcgis-js-api/support/actions/ActionButton.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, i, o, t, n, a) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var c = {
        iconZoom: "esri-icon-zoom-in-magnifying-glass",
        iconTrash: "esri-icon-trash"
      };
      r.zoomToFeature = new a({
        id: "zoom-to-feature",
        title: o.zoom,
        className: c.iconZoom
      }), r.removeSelectedFeature = new a({
        id: "remove-selected-feature",
        title: i.remove,
        className: c.iconTrash
      }), r.all = [r.zoomToFeature, r.removeSelectedFeature], r.triggerAction = function (e) {
        var i = e.event,
            o = e.view,
            a = i.action,
            c = o && o.popup;
        if (!a) return n.reject(new t("trigger-action:missing-arguments", "Event has no action"));
        if (!c) return n.reject(new t("trigger-action:missing-arguments", "view.popup is missing"));
        var s = a.disabled,
            u = a.id;
        if (!u) return n.reject(new t("trigger-action:invalid-action", "action.id is missing"));
        if (s) return n.reject(new t("trigger-action:invalid-action", "Action is disabled"));
        if (u === r.zoomToFeature.id) return c.viewModel.zoomToLocation();

        if (u === r.removeSelectedFeature.id) {
          c.close();
          var m = c.selectedFeature;
          if (!m) return n.reject(new t("trigger-action:" + r.removeSelectedFeature.id, "selectedFeature is required", {
            selectedFeature: m
          }));
          var d = m.sourceLayer;
          return d ? d.remove(m) : o.graphics.remove(m), n.resolve();
        }

        return n.reject(new t("trigger-action:unknown-action", "Unable to identify action to perform", {
          action: a,
          popup: c
        }));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPopupNlsPopupJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Popup',
        'zoom': 'Zoom to',
        'next': 'Next feature',
        'previous': 'Previous feature',
        'dock': 'Dock',
        'undock': 'Undock',
        'pageText': '{index} of {total}',
        'selectedFeature': 'Selected feature',
        'selectedFeatures': '{total} results',
        'tooManyFields': 'This layer has too many fields, some will not be displayed.'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Popup/nls/vi/Popup.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Popup/nls/vi/Popup.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPopupNlsViPopupJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Cửa sổ pop-up",
      zoom: "Phóng tới",
      next: "Tính năng tiếp",
      previous: "Tính năng trước",
      dock: "Bến tàu",
      undock: "Bỏ gắn",
      pageText: "{index} trên {total}",
      selectedFeature: "Đối tượng được chọn",
      selectedFeatures: "{total} kết quả",
      tooManyFields: "Lớp này có quá nhiều trường, một số trường sẽ không được hiển thị."
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Print.js":
  /*!*****************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Print.js ***!
    \*****************************************************/

  /*! no static exports found */

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

    /**
                 * Defines the layout template options used by the {@link module:esri/widgets/Print|Print} widget to generate the print page.
                 *
                 * @name templateOptions
                 * @since 4.6
                 * @instance
                 *
                 * @example
                 * templateOptions: {
                 *   title: "My Print",
                 *   author: "Sam",
                 *   copyright: "My Company",
                 *   legendEnabled: false
                 * }
                 *
                 * @type {module:esri/widgets/Print/TemplateOptions}
                 * @autocast
                 */


    !(__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__(
    /*! dojo/i18n!./Print/nls/Print */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Print/nls/Print.js"), __webpack_require__(
    /*! ../core/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/events */
    "./node_modules/arcgis-js-api/core/events.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.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__(
    /*! ../tasks/support/PrintTemplate */
    "./node_modules/arcgis-js-api/tasks/support/PrintTemplate.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Print/FileLink */
    "./node_modules/arcgis-js-api/widgets/Print/FileLink.js"), __webpack_require__(
    /*! ./Print/PrintViewModel */
    "./node_modules/arcgis-js-api/widgets/Print/PrintViewModel.js"), __webpack_require__(
    /*! ./Print/TemplateOptions */
    "./node_modules/arcgis-js-api/widgets/Print/TemplateOptions.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, n, a, o, s, r, l, p, d, c, u, h, b, _, v) {
      var y = o.ofType(h),
          x = {
        base: "esri-print esri-widget esri-widget--panel",
        headerTitle: "esri-print__header-title",
        inputText: "esri-print__input-text",
        layoutTabList: "esri-print__layout-tab-list",
        layoutTab: "esri-print__layout-tab",
        layoutSection: "esri-print__layout-section",
        mapOnlySection: "esri-print__map-only-section",
        scaleInput: "esri-print__scale-input",
        loader: "esri-print__loader",
        advancedOptionsButton: "esri-print__advanced-options-button",
        advancedOptionsButtonContainer: "esri-print__advanced-options-button-container",
        advancedOptionsButtonTitle: "esri-print__advanced-options-button-title",
        advancedOptionsButtonIconOpened: "esri-print__advanced-options-button-icon--opened",
        advancedOptionsButtonIconClosed: "esri-print__advanced-options-button-icon--closed",
        advancedOptionsButtonIconClosed_RTL: "esri-print__advanced-options-button-icon--closed-rtl",
        refreshButton: "esri-print__refresh-button",
        swapButton: "esri-print__swap-button",
        linkButton: "esri-print__link-button",
        printButton: "esri-print__export-button",
        formSectionContainer: "esri-print__form-section-container",
        advancedOptionsSection: "esri-print__advanced-options-section",
        advancedOptionsContainer: "esri-print__advanced-options-container",
        authorInfoContainer: "esri-print__author-info-container",
        copyrightInfoContainer: "esri-print__copyright-info-container",
        exportedFilesContainer: "esri-print__export-panel-container",
        exportedFilesTitle: "esri-print__export-title",
        exportedFile: "esri-print__exported-file",
        exportedFileLink: "esri-widget__anchor esri-print__exported-file-link",
        exportedFileLinkTitle: "esri-print__exported-file-link-title",
        heightContainer: "esri-print__height-container",
        legendInfoContainer: "esri-print__legend-info-container",
        printWidgetContainer: "esri-print__container",
        panelContainer: "esri-print__panel-container",
        scaleInfoContainer: "esri-print__scale-info-container",
        scaleInputContainer: "esri-print__scale-input-container",
        sizeContainer: "esri-print__size-container",
        widthContainer: "esri-print__width-container",
        widgetButton: "esri-widget--button",
        button: "esri-button",
        select: "esri-select",
        header: "esri-widget__heading",
        input: "esri-input",
        disabled: "esri-disabled",
        anchorDisabled: "esri-widget__anchor--disabled",
        buttonDisabled: "esri-button--disabled",
        panelError: "esri-print__panel--error",
        exportedFileError: "esri-print__exported-file--error",
        hide: "esri-hidden",
        rotate: "esri-rotating",
        iconCheckMark: "esri-icon-check-mark",
        iconDownload: "esri-icon-download",
        iconError: "esri-icon-error",
        iconPrinter: "esri-icon-printer",
        iconRightTriangleArrow: "esri-icon-right-triangle-arrow",
        iconLeftTriangleArrow: "esri-icon-left-triangle-arrow",
        iconDownArrow: "esri-icon-down-arrow",
        iconRefresh: "esri-icon-refresh",
        iconSpinner: "esri-icon-loading-indicator",
        iconSwap: "esri-icon-swap",
        iconLinked: "esri-icon-link-horizontal",
        iconUnlinked: "esri-icon-unlocked-link-horizontal",
        widgetIcon: "esri-icon-printer"
      },
          f = r.getLogger("esri.widgets.Print");
      return function (t) {
        function e(e) {
          var i = t.call(this, e) || this;
          return i._activeTabFocusRequested = !1, i._advancedOptionsVisibleForLayout = !1, i._advancedOptionsVisibleForMapOnly = !1, i._awaitingServerResponse = !1, i._exportedFileNameMap = {}, i._layoutTabSelected = !0, i._pendingExportScroll = !1, i._rootNode = null, i.exportedLinks = new y(), i.iconClass = x.widgetIcon, i.label = a.widgetLabel, i.templateOptions = new _(), i.printServiceUrl = null, i.view = null, i.viewModel = new b(), i._focusOnTabChange = i._focusOnTabChange.bind(i), i;
        }

        return i(e, t), e.prototype.postInitialize = function () {
          var t = this;
          this.own([p.init(this, "viewModel.templatesInfo", function (e) {
            var i = t.templateOptions,
                n = i.format,
                a = i.layout;

            if (e) {
              var o = a === e.layout.defaultValue || a && "MAP_ONLY" === a.toUpperCase() || e.layout.choiceList && e.layout.choiceList.indexOf(a) > -1,
                  s = n === e.format.defaultValue || e.format.choiceList && e.format.choiceList.indexOf(n) > -1;
              o || (a && f.warn("User sets an invalid layout, resetting it to the default valid one..."), t.templateOptions.layout = e.layout.defaultValue), s || (n && f.warn("User sets an invalid format, resetting it to the default valid one..."), t.templateOptions.format = e.format.defaultValue), a && "MAP_ONLY" === a.toUpperCase() && (t._layoutTabSelected = !1);
            }
          }), p.init(this, "templateOptions.format", function (e) {
            var i = t.viewModel.templatesInfo;

            if (i && e) {
              var n = !1;
              i.format.choiceList && i.format.choiceList.forEach(function (i) {
                i.toUpperCase() === e.toUpperCase() && (t.templateOptions.format = i, n = !0);
              }), n || (t.templateOptions.format = i.format.defaultValue, f.warn("User sets an invalid format, resetting it to the default valid one...")), t.scheduleRender();
            }
          }), p.init(this, "templateOptions.layout", function (e) {
            var i = t.viewModel.templatesInfo;

            if (i && e) {
              t._layoutTabSelected = "MAP_ONLY" !== e.toUpperCase();
              var n = !t._layoutTabSelected;
              n || i.layout.choiceList && i.layout.choiceList.forEach(function (i) {
                i.toUpperCase() === e.toUpperCase() && (t.templateOptions.layout = i, n = !0);
              }), n || (t.templateOptions.layout = i.layout.defaultValue, f.warn("User sets an invalid layout, resetting it to the default valid one...")), t.scheduleRender();
            }
          }), p.init(this, "templateOptions.dpi", function (e) {
            if (e <= 0) return void (t.templateOptions.dpi = 1);
            t.scheduleRender();
          }), p.init(this, "viewModel.view.scale", function (e) {
            var i = t.templateOptions,
                n = i.scale;
            i.scaleEnabled && n || (t.templateOptions.scale = e);
          }), p.whenOnce(this, "printServiceUrl", function () {
            var e = setTimeout(function () {
              t._awaitingServerResponse = !0, t.scheduleRender();
            }, 500);
            t.viewModel.load().then(function () {
              return clearTimeout(e);
            });
          })]);
          var e = this.templateOptions,
              i = e.height,
              n = e.width;
          this.templateOptions.width = n || 800, this.templateOptions.height = i || 1100;
        }, e.prototype.render = function () {
          var t,
              e = this.templateOptions,
              i = e.attributionEnabled,
              n = e.author,
              o = e.copyright,
              s = e.dpi,
              r = e.format,
              l = e.height,
              p = e.layout,
              d = e.legendEnabled,
              c = e.scaleEnabled,
              u = e.scale,
              h = e.width,
              b = this.renderTitleOrFileNameSection(),
              _ = this.get("viewModel.templatesInfo.format.choiceList") || [],
              y = _.length > 0 ? _.map(function (t) {
            var e = t === r;
            return v.tsx("option", {
              key: t,
              selected: e,
              value: t
            }, t.toUpperCase());
          }) : v.tsx("option", {
            key: "format-default-option"
          }, a.formatDefaultOption),
              f = v.tsx("div", {
            "class": x.formSectionContainer
          }, v.tsx("label", null, a.fileFormatTitle, v.tsx("select", {
            "class": x.select,
            onchange: this._updateFromOption,
            "data-target-property": "format",
            bind: this
          }, y))),
              g = this.get("viewModel.templatesInfo.layout.choiceList") || [],
              m = g.length > 0 ? g.map(function (t) {
            var e = t === p,
                i = a[t] || t;
            return v.tsx("option", {
              key: t,
              selected: e,
              value: t
            }, i);
          }) : v.tsx("option", {
            key: "layout-default-option"
          }, a.layoutDefaultOption),
              O = v.tsx("div", {
            "class": x.formSectionContainer
          }, v.tsx("label", null, a.layoutTitle, v.tsx("select", {
            "class": x.select,
            onchange: this._updateFromOption,
            "data-target-property": "layout",
            bind: this
          }, m))),
              w = v.tsx("div", {
            "class": x.formSectionContainer
          }, v.tsx("label", null, a.dpi, v.tsx("input", {
            type: "number",
            "class": this.classes(x.inputText, x.input),
            "data-input-name": "dpi",
            oninput: this._updateInputValue,
            value: "" + s,
            min: "1",
            tabIndex: 0,
            bind: this
          }))),
              T = v.tsx("div", {
            "class": this.classes(x.scaleInfoContainer, x.formSectionContainer)
          }, v.tsx("label", null, v.tsx("input", {
            "data-option-name": "scaleEnabled",
            checked: c,
            type: "checkbox",
            tabIndex: 0,
            onchange: this._toggleInputValue,
            bind: this
          }), a.scale), v.tsx("div", {
            "class": x.scaleInputContainer
          }, v.tsx("input", {
            "aria-label": a.scaleLabel,
            "aria-valuenow": "" + u,
            role: "spinbutton",
            type: "number",
            "class": this.classes(x.inputText, x.input, x.scaleInput),
            tabIndex: 0,
            "data-input-name": "scale",
            oninput: this._updateInputValue,
            disabled: !c,
            value: "" + u,
            bind: this
          }), v.tsx("button", {
            role: "button",
            "aria-label": a.reset,
            "class": this.classes(x.widgetButton, x.refreshButton, x.iconRefresh),
            tabIndex: 0,
            onclick: this._resetToCurrentScale,
            bind: this
          }))),
              C = this._advancedOptionsVisibleForLayout ? v.tsx("div", {
            "aria-labelledby": this.id + "__advancedOptionsForLayout",
            "class": x.advancedOptionsContainer
          }, T, v.tsx("div", {
            "class": this.classes(x.authorInfoContainer, x.formSectionContainer)
          }, v.tsx("label", null, a.author, v.tsx("input", {
            type: "text",
            value: n,
            "class": this.classes(x.inputText, x.input),
            tabIndex: 0,
            "data-input-name": "author",
            oninput: this._updateInputValue,
            bind: this
          }))), v.tsx("div", {
            "class": this.classes(x.copyrightInfoContainer, x.formSectionContainer)
          }, v.tsx("label", null, a.copyright, v.tsx("input", {
            type: "text",
            "class": this.classes(x.inputText, x.input),
            tabIndex: 0,
            value: o,
            "data-input-name": "copyright",
            oninput: this._updateInputValue,
            bind: this
          }))), w, v.tsx("div", {
            "class": this.classes(x.legendInfoContainer, x.formSectionContainer)
          }, v.tsx("label", null, v.tsx("input", {
            type: "checkbox",
            "data-option-name": "legendEnabled",
            tabIndex: 0,
            checked: d,
            onchange: this._toggleInputValue,
            bind: this
          }), a.legend))) : null,
              I = this._advancedOptionsVisibleForMapOnly ? v.tsx("div", {
            "aria-labelledby": this.id + "__advancedOptionsForMapOnly",
            "class": x.advancedOptionsContainer
          }, T, w, v.tsx("div", {
            "class": x.formSectionContainer
          }, v.tsx("label", null, v.tsx("input", {
            "data-option-name": "attributionEnabled",
            type: "checkbox",
            onchange: this._toggleInputValue,
            tabIndex: 0,
            checked: i,
            bind: this
          }), a.attribution))) : null,
              S = this._layoutTabSelected ? v.tsx("section", {
            key: "esri-print__layoutContent",
            id: this.id + "__layoutContent",
            "aria-labelledby": this.id + "__layoutTab",
            "class": x.layoutSection,
            role: "tabpanel",
            "aria-selected": this._layoutTabSelected
          }, v.tsx("div", {
            "class": x.panelContainer
          }, b, O, this._layoutTabSelected ? f : null), v.tsx("div", {
            "class": this.classes(x.panelContainer, x.advancedOptionsSection)
          }, v.tsx("button", {
            "aria-label": a.advancedOptions,
            "aria-expanded": this._advancedOptionsVisibleForLayout ? "true" : "false",
            role: "button",
            "class": x.advancedOptionsButton,
            onclick: this._showAdvancedOptions,
            bind: this
          }, v.tsx("div", {
            "class": x.advancedOptionsButtonContainer
          }, v.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(x.iconRightTriangleArrow, x.advancedOptionsButtonIconClosed)
          }), v.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(x.iconLeftTriangleArrow, x.advancedOptionsButtonIconClosed_RTL)
          }), v.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(x.iconDownArrow, x.advancedOptionsButtonIconOpened)
          }), v.tsx("span", {
            "class": x.advancedOptionsButtonTitle
          }, a.advancedOptions))), C)) : v.tsx("section", {
            key: "esri-print__mapOnlyContent",
            id: this.id + "__mapOnlyContent",
            "aria-selected": !this._layoutTabSelected,
            "aria-labelledby": this.id + "__mapOnlyTab",
            "class": x.mapOnlySection,
            role: "tabpanel"
          }, v.tsx("div", {
            "class": x.panelContainer
          }, b, this._layoutTabSelected ? null : f, v.tsx("div", {
            "class": this.classes(x.sizeContainer, x.formSectionContainer)
          }, v.tsx("div", {
            "class": x.widthContainer
          }, v.tsx("label", null, a.width, v.tsx("input", {
            type: "text",
            "class": this.classes(x.inputText, x.input),
            "data-input-name": "width",
            onchange: this._updateInputValue,
            value: "" + h,
            tabIndex: 0,
            bind: this
          }))), v.tsx("div", {
            "class": x.heightContainer
          }, v.tsx("label", null, a.height, v.tsx("input", {
            type: "text",
            "class": this.classes(x.inputText, x.input),
            "data-input-name": "height",
            onchange: this._updateInputValue,
            value: "" + l,
            tabIndex: 0,
            bind: this
          }))), v.tsx("button", {
            role: "button",
            "aria-label": a.swap,
            "class": this.classes(x.widgetButton, x.swapButton, x.iconSwap),
            onclick: this._switchInput,
            tabIndex: 0,
            bind: this
          })), v.tsx("div", {
            "class": this.classes(x.panelContainer, x.advancedOptionsSection)
          }, v.tsx("button", {
            "aria-label": a.advancedOptions,
            "aria-expanded": this._advancedOptionsVisibleForMapOnly ? "true" : "false",
            role: "button",
            "class": x.advancedOptionsButton,
            onclick: this._showAdvancedOptions,
            bind: this
          }, v.tsx("div", {
            "class": x.advancedOptionsButtonContainer
          }, v.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(x.iconRightTriangleArrow, x.advancedOptionsButtonIconClosed)
          }), v.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(x.iconLeftTriangleArrow, x.advancedOptionsButtonIconClosed_RTL)
          }), v.tsx("span", {
            "aria-hidden": "true",
            "class": this.classes(x.iconDownArrow, x.advancedOptionsButtonIconOpened)
          }), v.tsx("span", {
            "class": x.advancedOptionsButtonTitle
          }, a.advancedOptions))), I))),
              L = this.exportedLinks.toArray(),
              k = this._renderExportedLink(L),
              F = (t = {}, t[x.buttonDisabled] = !p && !r, t),
              M = null != this.get("view") && "2d" !== this.get("view.type"),
              E = v.tsx("div", {
            "class": x.panelError
          }, M ? a.sceneViewError : a.serviceError),
              V = v.tsx("div", null, v.tsx("ul", {
            "class": x.layoutTabList,
            role: "tablist",
            onclick: this._toggleLayoutPanel,
            onkeydown: this._handleLayoutPanelKeyDown,
            bind: this
          }, v.tsx("li", {
            afterCreate: this._focusOnTabChange,
            afterUpdate: this._focusOnTabChange,
            id: this.id + "__layoutTab",
            "data-tab-id": "layoutTab",
            "class": x.layoutTab,
            role: "tab",
            tabIndex: 0,
            "aria-selected": "" + this._layoutTabSelected
          }, a.layoutTab), v.tsx("li", {
            afterCreate: this._focusOnTabChange,
            afterUpdate: this._focusOnTabChange,
            id: this.id + "__mapOnlyTab",
            "data-tab-id": "mapOnlyTab",
            "class": x.layoutTab,
            role: "tab",
            tabIndex: 0,
            "aria-selected": "" + !this._layoutTabSelected
          }, a.mapOnlyTab)), S, v.tsx("button", {
            "aria-label": a.exportDescription,
            role: "button",
            "class": this.classes(x.printButton, x.button, F),
            tabIndex: 0,
            onclick: this._handlePrintMap,
            bind: this
          }, a["export"]), v.tsx("div", {
            "class": x.exportedFilesContainer,
            afterUpdate: this._scrollExportIntoView,
            onclick: this._removeLink,
            bind: this
          }, v.tsx("h3", {
            "class": this.classes(x.exportedFilesTitle, x.header)
          }, a.exportText), L.length > 0 ? null : v.tsx("div", null, v.tsx("div", null, a.exportHint)), k)),
              B = v.tsx("div", null, v.tsx("div", {
            "class": x.printWidgetContainer
          }, v.tsx("header", {
            "class": x.headerTitle
          }, a["export"]), this.error || !this.printServiceUrl || M || !this.view ? E : V)),
              A = "initializing" === this.get("viewModel.state"),
              P = A ? this._renderLoader() : B;

          return v.tsx("div", {
            afterCreate: v.storeNode,
            bind: this,
            "class": x.base,
            "data-node-ref": "_rootNode"
          }, P);
        }, e.prototype.renderTitleOrFileNameSection = function () {
          var t,
              e,
              i,
              n,
              o = this.templateOptions;
          return this._layoutTabSelected ? (t = a.title, e = a.titlePlaceHolder, i = o.title, n = "title") : (t = a.fileName, e = a.fileNamePlaceHolder, i = o.fileName, n = "fileName"), v.tsx("div", {
            "class": x.formSectionContainer,
            key: n
          }, v.tsx("label", null, t, v.tsx("input", {
            type: "text",
            tabIndex: 0,
            placeholder: e,
            "class": this.classes(x.inputText, x.input),
            value: i,
            "data-input-name": n,
            oninput: this._updateInputValue,
            bind: this
          })));
        }, e.prototype._focusOnTabChange = function (t) {
          if (this._activeTabFocusRequested) {
            var e = t.getAttribute("data-tab-id");
            ("layoutTab" === e && this._layoutTabSelected || "mapOnlyTab" === e && !this._layoutTabSelected) && (t.focus(), this._activeTabFocusRequested = !1);
          }
        }, e.prototype._renderLoader = function () {
          var t,
              e = (t = {}, t[x.loader] = this._awaitingServerResponse, t);
          return v.tsx("div", {
            "class": this.classes(e),
            key: "loader"
          });
        }, e.prototype._createFileLink = function (t, e) {
          var i = e || a.untitled,
              n = t.format.toLowerCase(),
              o = n.indexOf("png") > -1 ? "png" : n,
              s = i + o;
          return void 0 !== this._exportedFileNameMap[s] ? this._exportedFileNameMap[s]++ : this._exportedFileNameMap[s] = 0, new h({
            name: i,
            extension: o,
            count: this._exportedFileNameMap[s]
          });
        }, e.prototype._toPrintTemplate = function (t) {
          var e = t.attributionEnabled,
              i = t.author,
              n = t.copyright,
              a = t.dpi,
              o = t.forceFeatureAttributes,
              s = t.format,
              r = t.height,
              l = t.layout,
              p = t.legendEnabled,
              d = t.title,
              u = t.scale,
              h = t.width,
              b = new c({
            attributionVisible: e,
            layoutOptions: {
              authorText: i || "",
              copyrightText: n || "",
              titleText: d || ""
            },
            forceFeatureAttributes: o,
            format: s,
            layout: l,
            outScale: u
          });
          return h && (b.exportOptions.width = h), r && (b.exportOptions.height = r), a && (b.exportOptions.dpi = a), p || (b.layoutOptions.legendLayers = []), b;
        }, e.prototype._resetToCurrentScale = function () {
          this.templateOptions.scale = this.viewModel.view.scale;
        }, e.prototype._updateInputValue = function (t) {
          var e = t.target,
              i = e.getAttribute("data-input-name");
          this.templateOptions[i] = e.value;
        }, e.prototype._handlePrintMap = function () {
          var t = this;
          this._pendingExportScroll = !0;

          var e = this.templateOptions,
              i = this._toPrintTemplate(e),
              n = this._layoutTabSelected ? i.layoutOptions.titleText : e.fileName,
              a = this._createFileLink(i, n);

          this.exportedLinks.add(a), this.viewModel.print(i).then(function (t) {
            a.set({
              url: t && t.url,
              state: "ready"
            });
          })["catch"](function () {
            a.set({
              state: "error"
            });
          }).then(function () {
            return t.scheduleRender();
          });
        }, e.prototype._updateFromOption = function (t) {
          var e = t.target,
              i = e.selectedOptions ? e.selectedOptions.item(0).value : e.options[e.selectedIndex].value,
              n = e.getAttribute("data-target-property");
          this.templateOptions[n] = i;
        }, e.prototype._switchInput = function () {
          var t;
          t = [this.templateOptions.height, this.templateOptions.width], this.templateOptions.width = t[0], this.templateOptions.height = t[1];
        }, e.prototype._showAdvancedOptions = function () {
          this._layoutTabSelected ? this._advancedOptionsVisibleForLayout = !this._advancedOptionsVisibleForLayout : this._advancedOptionsVisibleForMapOnly = !this._advancedOptionsVisibleForMapOnly;
        }, e.prototype._scrollExportIntoView = function () {
          if (this._pendingExportScroll) {
            this._pendingExportScroll = !1;
            var t = this,
                e = t._rootNode,
                i = t._rootNode,
                n = i.clientHeight,
                a = i.scrollHeight,
                o = a - n;
            o > 0 && (e.scrollTop = o);
          }
        }, e.prototype._toggleInputValue = function (t) {
          var e = t.target,
              i = e.getAttribute("data-option-name");
          this.templateOptions[i] = e.checked, "scaleEnabled" === i && (this.viewModel.scaleEnabled = this.templateOptions.scaleEnabled, this.templateOptions[i] || this._resetToCurrentScale());
        }, e.prototype._removeLink = function (t) {
          var e = t.target,
              i = e["data-item"];
          i && "error" === i.state && this.exportedLinks.remove(i);
        }, e.prototype._renderExportedLink = function (t) {
          var e = this;
          return t.map(function (t) {
            var i,
                n,
                o,
                s = (i = {}, i[x.anchorDisabled] = "pending" === t.state || "error" === t.state, i),
                r = (n = {}, n[x.iconSpinner] = "pending" === t.state, n[x.rotate] = "pending" === t.state, n[x.iconDownload] = "ready" === t.state, n[x.iconError] = "error" === t.state, n[x.exportedFileError] = "error" === t.state, n),
                p = (o = {}, o[x.exportedFileError] = "error" === t.state, o),
                d = "" === t.url ? null : t.url;
            d && (d = l.addProxy(d));
            var c;
            return c = "pending" === t.state ? a.pending : "ready" === t.state ? a.ready : a.error, v.tsx("div", {
              "aria-label": c,
              key: t.formattedName,
              "class": x.exportedFile
            }, v.tsx("a", {
              "aria-label": t.formattedName + ". " + a.linkReady,
              href: d,
              rel: "noreferrer",
              tabIndex: 0,
              target: "_blank",
              "class": e.classes(x.exportedFileLink, s)
            }, v.tsx("span", {
              "data-item": t,
              "class": e.classes(r)
            }), v.tsx("span", {
              "data-item": t,
              "class": e.classes(x.exportedFileLinkTitle, p)
            }, t.formattedName)));
          });
        }, e.prototype._toggleLayoutPanel = function (t) {
          var e = t.target;

          this._toggleTab(e.getAttribute("data-tab-id"));
        }, e.prototype._toggleTab = function (t) {
          if (this._layoutTabSelected = "layoutTab" === t, this._layoutTabSelected) {
            var e = this.get("viewModel.templatesInfo.layout.choiceList");
            this.templateOptions.layout = e && e[0];
          } else this.templateOptions.layout = "MAP_ONLY";

          this._activeTabFocusRequested = !0;
        }, e.prototype._handleLayoutPanelKeyDown = function (t) {
          var e = s.eventKey(t),
              i = t.target,
              n = i.getAttribute("data-tab-id");
          if ("Enter" === e || " " === e) return this._toggleTab(n), t.preventDefault(), void t.stopPropagation();
          "ArrowLeft" !== e && "ArrowRight" !== e || (this._toggleTab("layoutTab" === n ? "mapOnlyTab" : "layoutTab"), t.preventDefault(), t.stopPropagation());
        }, n([d.property({
          type: y
        }), v.renderable()], e.prototype, "exportedLinks", void 0), n([d.property()], e.prototype, "iconClass", void 0), n([d.property()], e.prototype, "label", void 0), n([v.renderable(), d.property({
          type: _
        })], e.prototype, "templateOptions", void 0), n([d.aliasOf("viewModel.error")], e.prototype, "error", void 0), n([d.aliasOf("viewModel.printServiceUrl")], e.prototype, "printServiceUrl", void 0), n([d.aliasOf("viewModel.view"), v.renderable()], e.prototype, "view", void 0), n([d.property({
          type: b
        }), v.renderable(["viewModel.templatesInfo", "viewModel.state"])], e.prototype, "viewModel", void 0), e = n([d.subclass("esri.widgets.Print")], e);
      }(d.declared(u));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Print/FileLink.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Print/FileLink.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPrintFileLinkJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.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_AMD_DEFINE_RESULT__ = function (t, e, o, r, i, n, s, p) {
      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o._handles = new n(), o.state = "pending", o.url = "", o;
        }

        return o(e, t), e.prototype.initialize = function () {
          var t = this;

          this._handles.add([s.init(this, ["extension", "name"], function () {
            return t._setFormattedFileName();
          })]);
        }, e.prototype.destroy = function () {
          this._handles.destroy();
        }, e.prototype._setFormattedFileName = function () {
          if (this.name && this.extension) {
            var t = this.name + "." + this.extension,
                e = t;
            this.count && (e = this.name + "(" + this.count + ")." + this.extension), this.formattedName = e;
          }
        }, r([p.property()], e.prototype, "count", void 0), r([p.property()], e.prototype, "extension", void 0), r([p.property()], e.prototype, "formattedName", void 0), r([p.property()], e.prototype, "name", void 0), r([p.property()], e.prototype, "state", void 0), r([p.property()], e.prototype, "url", void 0), e = r([p.subclass("esri.widgets.print.FileLink")], e);
      }(p.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Print/PrintViewModel.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Print/PrintViewModel.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPrintPrintViewModelJs(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/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../intl */
    "./node_modules/arcgis-js-api/intl.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../Viewpoint */
    "./node_modules/arcgis-js-api/Viewpoint.js"), __webpack_require__(
    /*! ../../core/arrayUtils */
    "./node_modules/arcgis-js-api/core/arrayUtils.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../../core/Loadable */
    "./node_modules/arcgis-js-api/core/Loadable.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/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../../tasks/PrintTask */
    "./node_modules/arcgis-js-api/tasks/PrintTask.js"), __webpack_require__(
    /*! ../../tasks/support/fileFormat */
    "./node_modules/arcgis-js-api/tasks/support/fileFormat.js"), __webpack_require__(
    /*! ../../tasks/support/layoutTemplate */
    "./node_modules/arcgis-js-api/tasks/support/layoutTemplate.js"), __webpack_require__(
    /*! ../../tasks/support/PrintParameters */
    "./node_modules/arcgis-js-api/tasks/support/PrintParameters.js"), __webpack_require__(
    /*! ../../views/2d/viewpointUtils */
    "./node_modules/arcgis-js-api/views/2d/viewpointUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, o, n, a, s, l, p, u, c, d, f, h, v, y, m, w, S, g, O) {
      function x(e) {
        e.layoutOptions || (e.layoutOptions = {}), e.layoutOptions.customTextElements || (e.layoutOptions.customTextElements = []);
        u.find(e.layoutOptions.customTextElements, function (e) {
          return "date" in e;
        }) || e.layoutOptions.customTextElements.push({
          date: s.formatDate(Date.now(), s.convertDateFormatToIntlOptions("short-date"))
        });
      }

      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r._handles = new d(), r._viewpoint = null, r.view = null, r.printServiceUrl = null, r.updateDelay = 1e3, r.templatesInfo = null, r.scaleEnabled = !1, r.error = null, r.print = r.print.bind(r), r;
        }

        return r(t, e), t.prototype.destroy = function () {
          this._handles.destroy(), this._handles = null, this.view = null;
        }, Object.defineProperty(t.prototype, "_printTask", {
          get: function get() {
            return new m(this.printServiceUrl, {
              updateDelay: this.updateDelay
            });
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return "loading" === this.loadStatus ? "initializing" : this.error || "failed" === this.loadStatus ? "error" : this.get("view.ready") && "loaded" === this.loadStatus ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.load = function (e) {
          return this.addResolvingPromise(this._loadServiceDescription(e)), this.when();
        }, t.prototype.print = function (e) {
          var t;
          if (!this.view) return h.reject(new c("print:view-required", "view is not set"));
          this.scaleEnabled ? (this._viewpoint || (this._viewpoint = this.view.viewpoint.clone()), t = this._getExtent(this._viewpoint, e.outScale)) : (this._viewpoint = null, t = this._getExtent(this.view.viewpoint)), x(e);
          var r = new g({
            view: this.view,
            template: e,
            extent: t
          });
          return this._printTask.execute(r)["catch"](function (e) {
            return h.reject(new c("print:export-error", "An error occurred while exporting the web map.", {
              error: e
            }));
          });
        }, t.prototype._loadServiceDescription = function (e) {
          return n(this, void 0, void 0, function () {
            var t;
            return o(this, function (r) {
              switch (r.label) {
                case 0:
                  return [4, this._getPrintTemplatesFromService(e)];

                case 1:
                  return t = r.sent(), this._set("templatesInfo", t), [2];
              }
            });
          });
        }, t.prototype._getPrintTemplatesFromService = function (e) {
          var t = this;
          return -1 === this.printServiceUrl.toLowerCase().split("/").indexOf("gpserver") ? (this.error = new c("print:invalid-print-service-url", "Can't fetch print templates information from provided URL", {
            url: this.printServiceUrl
          }), h.reject(this.error)) : l(this.printServiceUrl, a({}, e, {
            query: {
              f: "json"
            },
            timeout: 6e4
          })).then(function (e) {
            var r = e && e.data,
                i = r && r.parameters,
                o = null,
                n = null;
            return i.forEach(function (e) {
              var t,
                  r = e.choiceList && e.choiceList.slice();
              if (r && r.length && e.defaultValue && (t = r.indexOf(e.defaultValue)), t > -1 && (r.splice(t, 1), r.unshift(e.defaultValue)), "Format" === e.name) o = {
                defaultValue: w.fromJSON(e.defaultValue),
                choiceList: r.map(w.fromJSON)
              };else if ("Layout_Template" === e.name) {
                r = r.filter(function (e) {
                  return "map_only" !== e.toLowerCase();
                });
                var i,
                    a = void 0;
                r.some(function (e, t) {
                  var r = e.toLowerCase();
                  return r.indexOf("letter") > -1 && r.indexOf("landscape") > -1 ? (i = t, !0) : r.indexOf("a4") > -1 && r.indexOf("landscape") > -1 && (i = t, !1);
                }), i && (a = r[i], r.splice(i, 1), r.unshift(a)), n = {
                  defaultValue: S.fromJSON(r && r[0] || e.defaultValue),
                  choiceList: r.map(S.fromJSON)
                };
              }
            }), t.error = null, {
              format: o,
              layout: n
            };
          })["catch"](function (e) {
            throw t.error = new c("print:unavailable-service-info", "Can't fetch templates info from service", {
              error: e
            }), t.error;
          });
        }, t.prototype._getExtent = function (e, t) {
          var r = t || this.view.scale,
              i = this.get("view.size"),
              o = e ? e.targetGeometry : null;
          return O.getExtent(new y(), new p({
            scale: r,
            targetGeometry: o
          }), i);
        }, i([v.property()], t.prototype, "view", void 0), i([v.property()], t.prototype, "printServiceUrl", void 0), i([v.property({
          dependsOn: ["printServiceUrl"],
          type: m
        })], t.prototype, "_printTask", null), i([v.property({
          dependsOn: ["view.ready", "error", "loadStatus"],
          readOnly: !0
        })], t.prototype, "state", null), i([v.property()], t.prototype, "updateDelay", void 0), i([v.property({
          readOnly: !0
        })], t.prototype, "templatesInfo", void 0), i([v.property()], t.prototype, "scaleEnabled", void 0), i([v.property()], t.prototype, "error", void 0), t = i([v.subclass("esri.widgets.Print.PrintViewModel")], t);
      }(v.declared(f));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Print/TemplateOptions.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Print/TemplateOptions.js ***!
    \*********************************************************************/

  /*! no static exports found */

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

    /**
     * Defines the layout template options used by the {@link module:esri/widgets/Print|Print} widget to generate the print page.
     *
     * @module esri/widgets/Print/TemplateOptions
     * @since 4.6
     *
     * @see module:esri/widgets/Print
     * @see module:esri/tasks/support/PrintTemplate
     *
     * @example
     *
     * templateOptions = new TemplateOptions({
     *   title: "My Print",
     *   author: "Sam",
     *   copyright: "My Company",
     *   legendEnabled: false
     * });
     */
    //  copyright

    /**
                 * The text used for the copyright if the specified layout contains an copyright text element.
                 *
                 * @name copyright
                 * @instance
                 * @type {string}
                 */


    !(__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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, r, p, i) {
      return function (t) {
        function e(e) {
          var o = t.call(this, e) || this;
          return o.attributionEnabled = !0, o.author = null, o.copyright = null, o.dpi = 96, o.fileName = null, o.forceFeatureAttributes = !1, o.format = null, o.layout = null, o.legendEnabled = !0, o.height = null, o.scaleEnabled = !1, o.title = null, o.width = null, o;
        }

        return o(e, t), r([i.property()], e.prototype, "attributionEnabled", void 0), r([i.property()], e.prototype, "author", void 0), r([i.property()], e.prototype, "copyright", void 0), r([i.property()], e.prototype, "dpi", void 0), r([i.property()], e.prototype, "fileName", void 0), r([i.property()], e.prototype, "forceFeatureAttributes", void 0), r([i.property()], e.prototype, "format", void 0), r([i.property()], e.prototype, "layout", void 0), r([i.property()], e.prototype, "legendEnabled", void 0), r([i.property()], e.prototype, "height", void 0), r([i.property()], e.prototype, "scale", void 0), r([i.property()], e.prototype, "scaleEnabled", void 0), r([i.property()], e.prototype, "title", void 0), r([i.property()], e.prototype, "width", void 0), e = r([i.subclass("esri.widgets.Print.TemplateOptions")], e);
      }(i.declared(p));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Print/nls/Print.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Print/nls/Print.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPrintNlsPrintJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Print',
        'title': 'Title',
        'fileName': 'File name',
        'titlePlaceHolder': 'Title of file',
        'fileNamePlaceHolder': 'File name',
        'formatDefaultOption': 'Select format',
        'fileFormatTitle': 'File format',
        'layoutTitle': 'Page setup',
        'layoutDefaultOption': 'Select page setup',
        'scale': 'Set scale',
        'scaleLabel': 'scale',
        'reset': 'reset',
        'author': 'Author',
        'copyright': 'Copyright',
        'legend': 'Include legend',
        'lock': 'lock',
        'swap': 'swap',
        'panelToggle': 'Panel toggle',
        'advancedOptions': 'Advanced options',
        'width': 'Width',
        'height': 'Height',
        'dpi': 'DPI',
        'attribution': 'Include attribution',
        'layoutTab': 'Layout',
        'mapOnlyTab': 'Map only',
        'untitled': 'untitled',
        'pending': 'Exporting',
        'ready': 'Open this',
        'linkReady': 'Open in new window.',
        'error': 'Select this to remove it.',
        'sceneViewError': 'Printing is not supported in SceneView.',
        'serviceError': 'There seems to have been an error.',
        'export': 'Export',
        'exportDescription': 'Export. Exported files will appear below.',
        'exportText': 'Exported files',
        'exportHint': 'Your exported files will appear here.',
        'a3-landscape': 'A3 landscape',
        'a3-portrait': 'A3 portrait',
        'a4-landscape': 'A4 landscape',
        'a4-portrait': 'A4 portrait',
        'letter-ansi-a-landscape': 'Letter ANSI A landscape',
        'letter-ansi-a-portrait': 'Letter ANSI A portrait',
        'tabloid-ansi-b-landscape': 'Tabloid ANSI B landscape',
        'tabloid-ansi-b-portrait': 'Tabloid ANSI B portrait'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Print/nls/vi/Print.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Print/nls/vi/Print.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsPrintNlsViPrintJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "In",
      title: "Tiêu đề",
      fileName: "Tên tệp",
      titlePlaceHolder: "Tiêu đề tệp",
      fileNamePlaceHolder: "Tên tệp",
      formatDefaultOption: "Chọn định dạng",
      fileFormatTitle: "Định dạng tệp",
      layoutTitle: "Thiết lập trang",
      layoutDefaultOption: "Chọn thiết lập trang",
      scale: "Thiết lập tỷ lệ",
      scaleLabel: "tỷ lệ",
      reset: "thiết lập lại",
      author: "Tác giả",
      copyright: "Bản quyền",
      legend: "Bao gồm chú giải",
      lock: "khóa",
      swap: "hoán đổi",
      panelToggle: "Thay đổi bảng điều khiển",
      advancedOptions: "Tùy chọn nâng cao",
      width: "Chiều rộng",
      height: "Chiều cao",
      dpi: "DPI",
      attribution: "Bao gồm thuộc tính",
      layoutTab: "Bố cục",
      mapOnlyTab: "Chỉ bản đồ",
      untitled: "chưa có tiêu đề",
      pending: "Đang xuất",
      ready: "Mở mục này",
      linkReady: "Mở trong cửa sổ mới.",
      error: "Chọn mục này để loại bỏ.",
      sceneViewError: "Không hỗ trợ in trong SceneView.",
      serviceError: "Dường như đã có lỗi.",
      "export": "Xuất",
      exportDescription: "Xuất. Tệp đã xuất sẽ xuất hiện dưới đây.",
      exportText: "Tệp đã xuất",
      exportHint: "Tệp đã xuất của bạn sẽ xuất hiện tại đây.",
      "a3-landscape": "A3 ngang",
      "a3-portrait": "A3 dọc",
      "a4-landscape": "A4 ngang",
      "a4-portrait": "A4 dọc",
      "letter-ansi-a-landscape": "Letter ANSI A ngang",
      "letter-ansi-a-portrait": "Letter ANSI A dọc",
      "tabloid-ansi-b-landscape": "Báo khổ nhỏ ANSI B ngang",
      "tabloid-ansi-b-portrait": "Báo khổ nhỏ ANSI B dọc"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Spinner.js":
  /*!*******************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Spinner.js ***!
    \*******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSpinnerJs(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/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__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Spinner/SpinnerViewModel */
    "./node_modules/arcgis-js-api/widgets/Spinner/SpinnerViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, t, o, n, r, s, a, l, p) {
      var c = {
        base: "esri-spinner",
        spinnerStart: "esri-spinner--start",
        spinnerFinish: "esri-spinner--finish"
      };
      return function (e) {
        function i(i) {
          var t = e.call(this, i) || this;
          return t._animationDelay = 500, t._animationPromise = null, t.location = null, t.view = null, t.viewModel = new l(), t.visible = !1, t;
        }

        return t(i, e), i.prototype.postInitialize = function () {
          var e = this;
          this.own([r.watch(this, "visible", function (i) {
            return e._visibleChange(i);
          })]);
        }, i.prototype.destroy = function () {
          this._animationPromise = null;
        }, i.prototype.show = function (e) {
          var i = this,
              t = e.location,
              o = e.promise;
          t && (this.viewModel.location = t), this.visible = !0;

          var n = function n() {
            return i.hide();
          };

          o && o["catch"](function () {}).then(n);
        }, i.prototype.hide = function () {
          this.visible = !1;
        }, i.prototype.render = function () {
          var e,
              i = this.visible,
              t = this.viewModel.screenLocation,
              o = !!t,
              n = i && o,
              r = !i && o,
              s = (e = {}, e[c.spinnerStart] = n, e[c.spinnerFinish] = r, e),
              a = this._getPositionStyles();

          return p.tsx("div", {
            "class": this.classes(c.base, s),
            styles: a
          });
        }, i.prototype._visibleChange = function (e) {
          var i = this;
          if (e) return void (this.viewModel.screenLocationEnabled = !0);
          var t = n.after(this._animationDelay);
          this._animationPromise = t, t["catch"](function () {}).then(function () {
            i._animationPromise === t && (i.viewModel.screenLocationEnabled = !1, i._animationPromise = null);
          });
        }, i.prototype._getPositionStyles = function () {
          var e = this.viewModel,
              i = e.screenLocation,
              t = e.view;
          if (!t || !i) return {};
          var o = t.padding;
          return {
            left: i.x - o.left + "px",
            top: i.y - o.top + "px"
          };
        }, o([s.aliasOf("viewModel.location")], i.prototype, "location", void 0), o([s.aliasOf("viewModel.view")], i.prototype, "view", void 0), o([s.property({
          type: l
        }), p.renderable(["viewModel.screenLocation", "viewModel.screenLocationEnabled"])], i.prototype, "viewModel", void 0), o([s.aliasOf("viewModel.visible")], i.prototype, "visible", void 0), i = o([s.subclass("esri.widgets.Spinner")], i);
      }(s.declared(a));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Spinner/SpinnerViewModel.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Spinner/SpinnerViewModel.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSpinnerSpinnerViewModelJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../support/AnchorElementViewModel */
    "./node_modules/arcgis-js-api/widgets/support/AnchorElementViewModel.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, s, i) {
      return function (e) {
        function r(r) {
          var o = e.call(this, r) || this;
          return o.visible = !1, o;
        }

        return o(r, e), t([s.property()], r.prototype, "visible", void 0), r = t([s.subclass("esri.widgets.CompassViewModel")], r);
      }(s.declared(i));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Widget.js":
  /*!******************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Widget.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsWidgetJs(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/Collection */
    "./node_modules/arcgis-js-api/core/Collection.js"), __webpack_require__(
    /*! ../core/domUtils */
    "./node_modules/arcgis-js-api/core/domUtils.js"), __webpack_require__(
    /*! ../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.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__(
    /*! ../libs/maquette/index */
    "./node_modules/arcgis-js-api/libs/maquette/index.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, n, i, s, d, a, c, l, p, h, u) {
      var y = c.getLogger("esri.widgets.Widget"),
          v = 0,
          g = {
        widgetIcon: "esri-icon-checkbox-unchecked"
      };
      return function (e) {
        function t(t, r) {
          var o = e.call(this, t, r) || this;
          return o._attached = !1, o.destroyed = !1, o.domNode = null, o.iconClass = g.widgetIcon, o.label = o.declaredClass.split(".").pop(), o.visible = !0, o._internalHandles = new a(), o.render = o.render.bind(o), o;
        }

        return o(t, e), t.prototype.normalizeCtorArgs = function (e, t) {
          var o = r({}, e);
          return t && (o.container = t), o;
        }, t.prototype.initialize = function () {
          var e = this;
          this._internalHandles.add(this._renderableProps.map(function (t) {
            return l.init(e, t, function (e, r) {
              var o = this;

              if (i.isCollection(r) && this._internalHandles.remove(this.declaredClass + ":" + t + "-collection-change-event-listener"), i.isCollection(e)) {
                var n = e.on("change", function () {
                  return o.scheduleRender();
                });

                this._internalHandles.add(n, this.declaredClass + ":" + t + "-collection-change-event-listener");
              }

              this.scheduleRender();
            });
          })), this._delegatedEventNames.length && this._internalHandles.add(l.init(this, "viewModel", function () {
            e._get("viewModel") && e._internalHandles.remove("delegated-events"), e._delegatedEventNames.map(function (t) {
              return e.viewModel.on(t, function (r) {
                e.emit(t, r);
              });
            });
          }), "delegated-events"), this.postInitialize(), this._internalHandles.add(l.whenOnce(this, "container", function (t) {
            return e._attach(t);
          }));
        }, t.prototype.postInitialize = function () {}, t.prototype.destroy = function () {
          this.destroyed || (this.viewModel && (this.viewModel.destroy(), this.viewModel = null), this._detach(this.container), this._internalHandles.destroy(), this._emitter.clear(), this._set("destroyed", !0));
        }, t.prototype.startup = function () {
          y.warn("Widget.startup() is deprecated and no longer needed");
        }, Object.defineProperty(t.prototype, "container", {
          set: function set(e) {
            this._get("container") || this._set("container", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.castContainer = function (e) {
          return s.byId(e);
        }, Object.defineProperty(t.prototype, "id", {
          get: function get() {
            return this._get("id") || this.get("container.id") || Date.now().toString(16) + "-widget-" + v++;
          },
          set: function set(e) {
            e && this._set("id", e);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.render = function () {
          throw new Error("not implemented");
        }, t.prototype.scheduleRender = function () {
          this._projector.scheduleRender();
        }, t.prototype.classes = function () {
          for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];

          return u.classes.apply(this, e);
        }, t.prototype.own = function (e) {
          arguments.length > 1 && (e = Array.prototype.slice.call(arguments)), this._internalHandles.add(e);
        }, t.prototype.renderNow = function () {
          this._projector.renderNow();
        }, t.prototype._attach = function (e) {
          e && (this._projector.merge(e, this.render), this._attached = !0);
        }, t.prototype._detach = function (e) {
          e && this._attached && (this._projector.detach(this.render), e.parentNode && e.parentNode.removeChild(e), this._attached = !1);
        }, n([p.shared(h.createProjector())], t.prototype, "_projector", void 0), n([p.shared([])], t.prototype, "_renderableProps", void 0), n([p.shared([])], t.prototype, "_delegatedEventNames", void 0), n([p.property({
          value: null
        })], t.prototype, "container", null), n([p.cast("container")], t.prototype, "castContainer", null), n([p.property({
          readOnly: !0
        })], t.prototype, "destroyed", void 0), n([p.property({
          aliasOf: "container"
        })], t.prototype, "domNode", void 0), n([p.property()], t.prototype, "iconClass", void 0), n([p.property({
          dependsOn: ["container"]
        })], t.prototype, "id", null), n([p.property()], t.prototype, "label", void 0), n([p.property()], t.prototype, "viewModel", void 0), n([p.property()], t.prototype, "visible", void 0), t = n([p.subclass("esri.widgets.Widget")], t);
      }(p.declared(d.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom.js":
  /*!****************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom.js ***!
    \****************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomJs(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__(
    /*! dojo/i18n!./Zoom/nls/Zoom */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ./Zoom/IconButton */
    "./node_modules/arcgis-js-api/widgets/Zoom/IconButton.js"), __webpack_require__(
    /*! ./Zoom/ZoomViewModel */
    "./node_modules/arcgis-js-api/widgets/Zoom/ZoomViewModel.js"), __webpack_require__(
    /*! ./support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, t, e, n, i, r, l, s, a, u) {
      var p = {
        base: "esri-zoom esri-widget",
        horizontalLayout: "esri-zoom--horizontal",
        zoomInIcon: "esri-icon-plus",
        zoomOutIcon: "esri-icon-minus",
        widgetIcon: "esri-icon-zoom-in-magnifying-glass"
      };
      return function (o) {
        function t(t) {
          var e = o.call(this, t) || this;
          return e.iconClass = p.widgetIcon, e.label = i.widgetLabel, e.view = null, e.viewModel = new a(), e;
        }

        return e(t, o), t.prototype.postInitialize = function () {
          this._zoomInButton = new s({
            action: this.zoomIn,
            iconClass: p.zoomInIcon,
            title: i.zoomIn
          }), this._zoomOutButton = new s({
            action: this.zoomOut,
            iconClass: p.zoomOutIcon,
            title: i.zoomOut
          });
        }, Object.defineProperty(t.prototype, "layout", {
          set: function set(o) {
            "horizontal" !== o && (o = "vertical"), this._set("layout", o);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.render = function () {
          var o,
              t = this.viewModel,
              e = (o = {}, o[p.horizontalLayout] = "horizontal" === this.layout, o);
          return this._zoomInButton.enabled = "ready" === t.state && t.canZoomIn, this._zoomOutButton.enabled = "ready" === t.state && t.canZoomOut, u.tsx("div", {
            "class": this.classes(p.base, e)
          }, this._zoomInButton.render(), this._zoomOutButton.render());
        }, t.prototype.zoomIn = function () {}, t.prototype.zoomOut = function () {}, n([r.property()], t.prototype, "iconClass", void 0), n([r.property()], t.prototype, "label", void 0), n([r.property({
          value: "vertical"
        }), u.renderable()], t.prototype, "layout", null), n([r.aliasOf("viewModel.view"), u.renderable()], t.prototype, "view", void 0), n([r.property({
          type: a
        }), u.renderable(["viewModel.canZoomIn", "viewModel.canZoomOut", "viewModel.state"])], t.prototype, "viewModel", void 0), n([r.aliasOf("viewModel.zoomIn")], t.prototype, "zoomIn", null), n([r.aliasOf("viewModel.zoomOut")], t.prototype, "zoomOut", null), t = n([r.subclass("esri.widgets.Zoom")], t);
      }(r.declared(l));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom/IconButton.js":
  /*!***************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom/IconButton.js ***!
    \***************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomIconButtonJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../Widget */
    "./node_modules/arcgis-js-api/widgets/Widget.js"), __webpack_require__(
    /*! ../support/widget */
    "./node_modules/arcgis-js-api/widgets/support/widget.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, i, r, o, s, n) {
      var a = {
        button: "esri-widget--button esri-widget",
        disabled: "esri-disabled",
        interactive: "esri-interactive",
        iconText: "esri-icon-font-fallback-text",
        icon: "esri-icon"
      };
      return function (t) {
        function e() {
          var e = null !== t && t.apply(this, arguments) || this;
          return e.enabled = !0, e.iconClass = "", e.title = "", e;
        }

        return i(e, t), e.prototype.render = function () {
          var t,
              e,
              i = this.enabled ? 0 : -1,
              r = (t = {}, t[a.disabled] = !this.enabled, t[a.interactive] = this.enabled, t),
              o = (e = {}, e[this.iconClass] = !!this.iconClass, e);
          return n.tsx("div", {
            bind: this,
            "class": this.classes(a.button, r),
            onclick: this._triggerAction,
            onkeydown: this._triggerAction,
            role: "button",
            tabIndex: i,
            title: this.title
          }, n.tsx("span", {
            "aria-hidden": "true",
            role: "presentation",
            "class": this.classes(a.icon, o)
          }), n.tsx("span", {
            "class": a.iconText
          }, this.title));
        }, e.prototype._triggerAction = function () {
          this.action.call(this);
        }, r([o.property()], e.prototype, "action", void 0), r([o.property(), n.renderable()], e.prototype, "enabled", void 0), r([o.property(), n.renderable()], e.prototype, "iconClass", void 0), r([o.property(), n.renderable()], e.prototype, "title", void 0), r([n.accessibleHandler()], e.prototype, "_triggerAction", null), e = r([o.subclass("esri.widgets.IconButton")], e);
      }(o.declared(s));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions2D.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions2D.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomZoomConditions2DJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, n, o) {
      return function (e) {
        function t() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return r(t, e), Object.defineProperty(t.prototype, "canZoomIn", {
          get: function get() {
            if (!this.get("view.ready")) return !1;
            var e = this.get("view.animation.target.scale") || this.get("view.scale"),
                t = this.get("view.constraints.effectiveMaxScale");
            return 0 === t || e > t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "canZoomOut", {
          get: function get() {
            if (!this.get("view.ready")) return !1;
            var e = this.get("view.animation.target.scale") || this.get("view.scale"),
                t = this.get("view.constraints.effectiveMinScale");
            return 0 === t || e < t;
          },
          enumerable: !0,
          configurable: !0
        }), i([o.property({
          dependsOn: ["view.ready", "view.scale", "view.animation.target.scale", "view.constraints.effectiveMaxScale"],
          readOnly: !0
        })], t.prototype, "canZoomIn", null), i([o.property({
          dependsOn: ["view.ready", "view.scale", "view.animation.target.scale", "view.constraints.effectiveMinScale"],
          readOnly: !0
        })], t.prototype, "canZoomOut", null), i([o.property()], t.prototype, "view", void 0), t = i([o.subclass("esri.widgets.Zoom.ZoomConditions2D")], t);
      }(o.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions3D.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions3D.js ***!
    \*********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomZoomConditions3DJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, n, p) {
      return function (e) {
        function r() {
          return null !== e && e.apply(this, arguments) || this;
        }

        return o(r, e), Object.defineProperty(r.prototype, "canZoomIn", {
          get: function get() {
            return !!this.get("view.ready");
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "canZoomOut", {
          get: function get() {
            return !!this.get("view.ready");
          },
          enumerable: !0,
          configurable: !0
        }), t([p.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], r.prototype, "canZoomIn", null), t([p.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], r.prototype, "canZoomOut", null), t([p.property()], r.prototype, "view", void 0), r = t([p.subclass("esri.widgets.Zoom.ZoomConditions3D")], r);
      }(p.declared(n));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom/ZoomViewModel.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom/ZoomViewModel.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomZoomViewModelJs(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/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ./ZoomConditions2D */
    "./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions2D.js"), __webpack_require__(
    /*! ./ZoomConditions3D */
    "./node_modules/arcgis-js-api/widgets/Zoom/ZoomConditions3D.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (o, t, e, n, r, i, p, a) {
      return function (o) {
        function t(t) {
          var e = o.call(this, t) || this;
          return e.canZoomIn = !1, e.canZoomOut = !1, e.zoomIn = e.zoomIn.bind(e), e.zoomOut = e.zoomOut.bind(e), e;
        }

        return e(t, o), t.prototype.destroy = function () {
          this.view = null;
        }, Object.defineProperty(t.prototype, "state", {
          get: function get() {
            return this.get("view.ready") ? "ready" : "disabled";
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "view", {
          set: function set(o) {
            o ? "2d" === o.type ? this._zoomConditions = new p({
              view: o
            }) : "3d" === o.type && (this._zoomConditions = new a({
              view: o
            })) : this._zoomConditions = null, this._set("view", o);
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.zoomIn = function () {
          if (this.canZoomIn) {
            var o = this.view;
            "2d" === o.type ? o.mapViewNavigation.zoomIn() : o.goTo({
              zoomFactor: 2
            });
          }
        }, t.prototype.zoomOut = function () {
          if (this.canZoomOut) {
            var o = this.view;
            "2d" === o.type ? o.mapViewNavigation.zoomOut() : o.goTo({
              zoomFactor: .5
            });
          }
        }, n([i.property()], t.prototype, "_zoomConditions", void 0), n([i.property({
          aliasOf: "_zoomConditions.canZoomIn",
          readOnly: !0
        })], t.prototype, "canZoomIn", void 0), n([i.property({
          aliasOf: "_zoomConditions.canZoomOut",
          readOnly: !0
        })], t.prototype, "canZoomOut", void 0), n([i.property({
          dependsOn: ["view.ready"],
          readOnly: !0
        })], t.prototype, "state", null), n([i.property()], t.prototype, "view", null), n([i.property()], t.prototype, "zoomIn", null), n([i.property()], t.prototype, "zoomOut", null), t = n([i.subclass("esri.widgets.Zoom.ZoomViewModel")], t);
      }(i.declared(r));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomNlsZoomJs(module, exports, __webpack_require__) {
    /*
     * This module was modified by dojo-webpack-plugin to disable some locales
     * that were excluded by the plugin's 'locales' option
     */
    !(module.exports = {
      'root': {
        'widgetLabel': 'Zoom',
        'zoomIn': 'Zoom in',
        'zoomOut': 'Zoom out'
      },
      'ar': false,
      'bs': false,
      'ca': false,
      'cs': false,
      'da': false,
      'de': false,
      'el': false,
      'es': false,
      'et': false,
      'fi': false,
      'fr': false,
      'he': false,
      'hr': false,
      'hu': false,
      'id': false,
      'it': false,
      'ja': false,
      'ko': false,
      'lv': false,
      'lt': false,
      'nl': false,
      'nb': false,
      'pl': false,
      'pt-br': false,
      'pt-pt': false,
      'ro': false,
      'ru': false,
      'sl': false,
      'sr': false,
      'sv': false,
      'th': false,
      'tr': false,
      'uk': false,
      'vi': 1,
      'zh-cn': false,
      'zh-hk': false,
      'zh-tw': false
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/Zoom/nls/vi/Zoom.js":
  /*!****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/Zoom/nls/vi/Zoom.js ***!
    \****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsZoomNlsViZoomJs(module, exports, __webpack_require__) {
    // 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.
    !(module.exports = {
      widgetLabel: "Thu phóng",
      zoomIn: "Thu nhỏ",
      zoomOut: "Phóng to"
    });
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/AnchorElementViewModel.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/AnchorElementViewModel.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportAnchorElementViewModelJs(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/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/Handles */
    "./node_modules/arcgis-js-api/core/Handles.js"), __webpack_require__(
    /*! ../../core/watchUtils */
    "./node_modules/arcgis-js-api/core/watchUtils.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_AMD_DEFINE_RESULT__ = function (e, t, n, o, i, r, a, c, s) {
      return function (e) {
        function t() {
          for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];

          var o = e.apply(this, t) || this;
          return o._anchorHandles = new r(), o.location = null, o.screenLocation = null, o.screenLocationEnabled = !1, o.view = null, o._anchorHandles.add([c.watch(o, ["screenLocationEnabled", "location", "view.size", "view.stationary"], function () {
            return o._updateScreenPointAndHandle();
          }), c.watch(o, ["view", "view.ready"], function () {
            return o._wireUpView();
          })]), o;
        }

        return n(t, e), t.prototype.destroy = function () {
          this.view = null, this._anchorHandles && this._anchorHandles.destroy(), this._anchorHandles = null, this._viewpointHandle = null;
        }, t.prototype._wireUpView = function () {
          var e = this;

          if (this._anchorHandles.remove("view"), this._viewpointHandle = null, this.get("view.ready")) {
            this._setScreenLocation();

            var t = this.view,
                n = "3d" === t.type ? "camera" : "viewpoint",
                o = a.pausable(t, n, function () {
              return e._viewpointChange();
            });
            this._anchorHandles.add(o, "view"), this._viewpointHandle = o, this._toggleWatchingViewpoint();
          }
        }, t.prototype._viewpointChange = function () {
          this._setScreenLocation(), this.emit("view-change");
        }, t.prototype._updateScreenPointAndHandle = function () {
          this._setScreenLocation(), this._toggleWatchingViewpoint();
        }, t.prototype._toggleWatchingViewpoint = function () {
          var e = this,
              t = e._viewpointHandle,
              n = e.location,
              o = e.screenLocationEnabled;

          if (t) {
            n && o ? t.resume() : t.pause();
          }
        }, t.prototype._setScreenLocation = function () {
          var e = this,
              t = e.location,
              n = e.view,
              o = e.screenLocationEnabled,
              i = this.get("view.ready"),
              r = o && t && i,
              a = r ? n.toScreen(t) : null;

          this._set("screenLocation", a);
        }, o([s.property()], t.prototype, "location", void 0), o([s.property({
          readOnly: !0
        })], t.prototype, "screenLocation", void 0), o([s.property()], t.prototype, "screenLocationEnabled", void 0), o([s.property()], t.prototype, "view", void 0), t = o([s.subclass("esri.widgets.support.AnchorElementViewModel")], t);
      }(s.declared(i.EventedAccessor));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/GeolocationPositioning.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/GeolocationPositioning.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportGeolocationPositioningJs(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__(
    /*! ../../Graphic */
    "./node_modules/arcgis-js-api/Graphic.js"), __webpack_require__(
    /*! ../../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/geolocationUtils */
    "./node_modules/arcgis-js-api/core/geolocationUtils.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__(
    /*! ../../symbols/PictureMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js"), __webpack_require__(
    /*! ./GoTo */
    "./node_modules/arcgis-js-api/widgets/support/GoTo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, e, o, i, r, n, a, s, p, c, l, u, d, g, h) {
      return function (e) {
        function s() {
          var o = null !== e && e.apply(this, arguments) || this;
          return o._geolocationUsable = !0, o._iconPath = t.toUrl("../../images/support/sdk_gps_location.png"), o.geolocationOptions = null, o.goToLocationEnabled = !0, o.graphic = new a({
            symbol: new g({
              url: o._iconPath,
              width: 21,
              height: 21
            })
          }), o.scale = null, o.useHeadingEnabled = !0, o.view = null, o;
        }

        return o(s, e), s.prototype.initialize = function () {
          l.supported() || (this._geolocationUsable = !1);
        }, s.prototype.destroy = function () {
          this._clear(), this.view = null;
        }, s.prototype._clear = function () {
          this.view && this.view.graphics.remove(this.graphic);
        }, s.prototype._getScaleWithinConstraints = function (t, e) {
          if (!e) return t;

          if ("2d" === e.type) {
            var o = e.constraints,
                i = o.effectiveMaxScale,
                r = o.effectiveMinScale;
            return Math.min(r, Math.max(i, t));
          }

          return t;
        }, s.prototype._getScale = function (t) {
          var e = this.scale,
              o = "number" == typeof e ? e : 2500;
          return this._getScaleWithinConstraints(o, t);
        }, s.prototype._getHeading = function (t, e) {
          var o = e && e.spatialReference,
              i = o && (o.isWebMercator || o.isGeographic),
              r = t.coords && t.coords.heading;
          if (!(!i || "number" != typeof r || isNaN(r) || r < 0 || r > 360)) return r;
        }, s.prototype._addHeading = function (t) {
          var e = t.heading,
              o = t.target,
              i = t.view;
          if (i && "number" == typeof e && !isNaN(e)) return "3d" === i.type ? void (o.heading = e) : void ("2d" === i.type && (o.rotation = 360 - e));
        }, s.prototype._animatePoint = function (t, e, o, i) {
          var r = this.view;
          if (!this.goToLocationEnabled || !r) return u.resolve(e);
          var n = this.useHeadingEnabled ? this._getHeading(e, r) : void 0,
              a = {
            target: t,
            scale: o
          };
          return this._addHeading({
            heading: n,
            target: a,
            view: r
          }), this.callGoTo({
            target: a,
            options: i
          }).then(function () {
            return e;
          });
        }, s.prototype._setPosition = function (t, e) {
          return n(this, void 0, void 0, function () {
            var o, i, n, a, s, c, u, d, g, h, y, v, f, _;

            return r(this, function (r) {
              switch (r.label) {
                case 0:
                  return r.trys.push([0, 2,, 3]), [4, l.positionToPoint({
                    position: t,
                    view: this.view
                  }, e)];

                case 1:
                  return o = r.sent(), i = this.graphic, n = t.timestamp, a = t.coords, s = a.accuracy, c = a.altitude, u = a.altitudeAccuracy, d = a.heading, g = a.latitude, h = a.longitude, y = a.speed, v = {
                    timestamp: n,
                    accuracy: s,
                    altitude: c,
                    altitudeAccuracy: u,
                    heading: d,
                    latitude: g,
                    longitude: h,
                    speed: y
                  }, i && (i.geometry = o, i.attributes = v), f = this._getScale(this.view), [2, this._animatePoint(o, t, f, e)];

                case 2:
                  throw _ = r.sent(), new p("positioning:invalid-point", "Cannot position invalid point", {
                    error: _
                  });

                case 3:
                  return [2];
              }
            });
          });
        }, i([d.property()], s.prototype, "_geolocationUsable", void 0), i([d.property()], s.prototype, "geolocationOptions", void 0), i([d.property()], s.prototype, "goToLocationEnabled", void 0), i([d.property()], s.prototype, "graphic", void 0), i([d.property()], s.prototype, "scale", void 0), i([d.property()], s.prototype, "useHeadingEnabled", void 0), i([d.property()], s.prototype, "view", void 0), s = i([d.subclass("esri.widgets.support.GeolocationPositioning")], s);
      }(d.declared(h.GoToMixin(c.EventedMixin(s))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/GoTo.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/GoTo.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportGoToJs(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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, t, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.GoToMixin = function (e) {
        return function (e) {
          function r() {
            for (var r = [], o = 0; o < arguments.length; o++) r[o] = arguments[o];

            var t = e.apply(this, r) || this;
            return t.goToOverride = null, t.view = null, t;
          }

          return o(r, e), r.prototype.callGoTo = function (e) {
            var r = this.view;
            return this.goToOverride ? this.goToOverride(r, e) : r.goTo(e.target, e.options);
          }, t([i.property()], r.prototype, "goToOverride", void 0), t([i.property()], r.prototype, "view", void 0), r = t([i.subclass("esri.widgets.support.GoTo")], r);
        }(i.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/colorUtils.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/colorUtils.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportColorUtilsJs(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__(
    /*! ../../Color */
    "./node_modules/arcgis-js-api/Color.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, r, t) {
      function e(n, r) {
        return n && r && n.r === r.r && n.g === r.g && n.b === r.b && n.a === r.a;
      }

      function o(n) {
        return n ? "#" + n.trim().replace(/#/g, "").substr(0, 6) : "";
      }

      function u(n) {
        return new t(n);
      }

      function i(n) {
        return a(n) || h(n);
      }

      function a(n) {
        return !!n && 4 === n.length && s.test(n);
      }

      function h(n) {
        return !!n && 7 === n.length && v.test(n);
      }

      function d(n) {
        return u(n).toHex();
      }

      function g(n) {
        return c(n) ? f(n) : l(n, 3);
      }

      function c(n) {
        return .299 * n.r + .587 * n.g + .114 * n.b >= 127;
      }

      function f(n, r) {
        void 0 === r && (r = 1);
        var e = Math.pow(.7, r);
        return new t([Math.round(n.r * e), Math.round(n.g * e), Math.round(n.b * e), n.a]);
      }

      function l(n, r) {
        void 0 === r && (r = 1);
        var e = Math.pow(.7, r),
            o = 30,
            u = n.r,
            i = n.g,
            a = n.b;
        return u < o && (u = o), i < o && (i = o), a < o && (a = o), new t([Math.min(255, Math.round(u / e)), Math.min(255, Math.round(i / e)), Math.min(255, Math.round(a / e)), n.a]);
      }

      function M(n, r) {
        var e = n.r,
            o = n.g,
            u = n.b,
            i = n.a;
        return i < 1 && (e = Math.round(i * e + (1 - i) * r.r), o = Math.round(i * o + (1 - i) * r.g), u = Math.round(i * u + (1 - i) * r.b)), new t({
          r: e,
          g: o,
          b: u
        });
      }

      function b(n, r) {
        return void 0 === r && (r = m), c(M(n, r)) ? "light" : "dark";
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var s = /^#[0-9A-F]{3}$/i,
          v = /^#[0-9A-F]{6}$/i,
          m = new t({
        r: 255,
        g: 255,
        b: 255
      });
      r.equal = e, r.normalizeHex = o, r.normalizeColor = u, r.isValidHex = i, r.isShorthandHex = a, r.isLonghandHex = h, r.toHex = d, r.getContrastingColor = g, r.isBright = c, r.darker = f, r.brighter = l, r.blendWithBackground = M, r.getColorTheme = b;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/commonProperties.js":
  /*!************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/commonProperties.js ***!
    \************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportCommonPropertiesJs(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/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.defaultUnitPropertyMetadata = {
        dependsOn: ["view.map.portalItem.portal.units", "view.map.portalItem.portal.user.units", "view.spatialReference"],
        readOnly: !0,
        get: function get() {
          var e = this.view;
          if (!e) return "metric";
          var t = e.get("map.portalItem.portal");

          if (t) {
            switch (t.get("user.units") || t.units) {
              case "metric":
                return "metric";

              case "english":
                return "imperial";
            }
          }

          return r.getDefaultUnitSystem(e.spatialReference) || "metric";
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/decorators.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/decorators.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportDecoratorsJs(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__(
    /*! ./decorators/accessibleHandler */
    "./node_modules/arcgis-js-api/widgets/support/decorators/accessibleHandler.js"), __webpack_require__(
    /*! ./decorators/renderable */
    "./node_modules/arcgis-js-api/widgets/support/decorators/renderable.js"), __webpack_require__(
    /*! ./decorators/vmEvent */
    "./node_modules/arcgis-js-api/widgets/support/decorators/vmEvent.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, o, n, t) {
      function a(e) {
        for (var o in e) r.hasOwnProperty(o) || (r[o] = e[o]);
      }

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

  /***/
  "./node_modules/arcgis-js-api/widgets/support/decorators/accessibleHandler.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/decorators/accessibleHandler.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportDecoratorsAccessibleHandlerJs(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, n) {
      function t() {
        return function (e, n) {
          return {
            value: o(e[n])
          };
        };
      }

      function r(e) {
        var n = e.type;
        return e instanceof KeyboardEvent || "keyup" === n || "keydown" === n || "keypress" === n;
      }

      function o(e) {
        return function (n) {
          for (var t = [], o = 1; o < arguments.length; o++) t[o - 1] = arguments[o];

          if (r(n)) return void ("Enter" !== n.key && " " !== n.key || (n.preventDefault(), n.stopPropagation(), n.target.click()));
          e.call.apply(e, [this, n].concat(t));
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/widgets/support/decorators/propUtils.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/decorators/propUtils.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportDecoratorsPropUtilsJs(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 (n, e) {
      function r(n) {
        return n.split(",").map(function (n) {
          return n.trim();
        });
      }

      function t(n, e) {
        return n.map(function (n) {
          return i(n, e);
        });
      }

      function i(n, e) {
        return 0 === n.indexOf(e) ? n : e + "." + n;
      }

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

  /***/
  "./node_modules/arcgis-js-api/widgets/support/decorators/renderable.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/decorators/renderable.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportDecoratorsRenderableJs(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__(
    /*! ./propUtils */
    "./node_modules/arcgis-js-api/widgets/support/decorators/propUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, n) {
      function o(e) {
        var r = "string" == typeof e ? n.splitProps(e) : e;
        return function (e, o) {
          e._renderableProps || (e._renderableProps = []);
          var p = e._renderableProps;
          if (!r) return void p.push(o);
          p.push.apply(p, n.normalizePropNames(r, o));
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/widgets/support/decorators/vmEvent.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/decorators/vmEvent.js ***!
    \**************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportDecoratorsVmEventJs(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__(
    /*! ./propUtils */
    "./node_modules/arcgis-js-api/widgets/support/decorators/propUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n) {
      function r(e) {
        return function (t) {
          t._delegatedEventNames || (t._delegatedEventNames = []);
          var r = Array.isArray(e) ? e : n.splitProps(e);
          t._delegatedEventNames = t._delegatedEventNames.concat(r);
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/widgets/support/jsxFactory.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/jsxFactory.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportJsxFactoryJs(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__(
    /*! maquette-jsx */
    "./node_modules/maquette-jsx/dist/maquette-jsx.umd.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.tsx = r.jsx;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/shim/SVGElement.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/shim/SVGElement.js ***!
    \***********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportShimSVGElementJs(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/has */
    "./node_modules/arcgis-js-api/core/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, s) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      }), s.add("esri-svg-classlist", "classList" in SVGElement.prototype);

      var n = function () {
        function e(e) {
          this._node = e;
        }

        return e.prototype.add = function (e) {
          var t = this._node;
          t.className.baseVal = (t.className.baseVal + " " + e).trim();
        }, e.prototype.contains = function (e) {
          return this._node.className.baseVal.split(" ").indexOf(e) > -1;
        }, e.prototype.remove = function (e) {
          for (var t = this._node, s = "", n = 0, o = t.className.baseVal.split(" "); n < o.length; n++) {
            var a = o[n];
            a !== e && (s += a + " ");
          }

          t.className.baseVal = s.trim();
        }, e.prototype.toggle = function (e, t) {
          var s,
              n = this.contains(e);
          return s = n ? !0 !== t && "remove" : !1 !== t && "add", s && this[s](e), void 0 !== t ? t : !n;
        }, e;
      }();

      t.DOMTokenListSubset = n, s("esri-svg-classlist") || Object.defineProperty(SVGElement.prototype, "classList", {
        get: function get() {
          return new n(this);
        }
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/widget.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/widget.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportWidgetJs(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__(
    /*! ./decorators */
    "./node_modules/arcgis-js-api/widgets/support/decorators.js"), __webpack_require__(
    /*! ./jsxFactory */
    "./node_modules/arcgis-js-api/widgets/support/jsxFactory.js"), __webpack_require__(
    /*! ./widgetUtils */
    "./node_modules/arcgis-js-api/widgets/support/widgetUtils.js"), __webpack_require__(
    /*! ./shim/SVGElement */
    "./node_modules/arcgis-js-api/widgets/support/shim/SVGElement.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, n, o, i) {
      function r(e) {
        for (var n in e) t.hasOwnProperty(n) || (t[n] = e[n]);
      }

      function f(e) {
        return e && "function" == typeof e.render;
      }

      function u(e) {
        return e && "function" == typeof e.postMixInProperties && "function" == typeof e.buildRendering && "function" == typeof e.postCreate && "function" == typeof e.startup;
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), r(n), r(o), r(i), t.isWidget = f, t.isWidgetBase = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/widgets/support/widgetUtils.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/widgets/support/widgetUtils.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiWidgetsSupportWidgetUtilsJs(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/ArrayPool */
    "./node_modules/arcgis-js-api/core/ArrayPool.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__(
    /*! ../../libs/sanitizer/Sanitizer */
    "./node_modules/arcgis-js-api/libs/sanitizer/Sanitizer.js"), __webpack_require__(
    /*! maquette-css-transitions */
    "./node_modules/maquette-css-transitions/dist/maquette-css-transitions.umd.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, i, n, o, s) {
      function a() {
        for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r];

        return g && e.length < 2 && l.error("[Widget] `join` is intended for 2 or more CSS classes."), e.join(" ");
      }

      function d(e) {
        for (var r = t.acquire(), i = 0; i < arguments.length; i++) {
          var n = arguments[i],
              o = typeof n;
          if ("string" === o) r.push(n);else if (Array.isArray(n)) r.push.apply(r, n);else if ("object" === o) for (var s in n) n[s] && r.push(s);
        }

        var a = r.join(" ");
        return t.release(r), a;
      }

      function u() {
        return "rtl" === document.dir;
      }

      function f(e) {
        var r = e.getAttribute("data-node-ref");

        if (g) {
          if (!r) return void l.error("[Widget] node ref not found, did you forget the 'data-node-ref' attribute?");
          if (!(r in this)) return void l.error("[Widget] cannot store " + r + " if not defined on instance.");
        }

        this[r] = e;
      }

      function c(e, r) {
        return ("enter" === e ? s.createEnterCssTransition : s.createExitCssTransition)(r);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var g = i("dojo-debug-messages"),
          l = n.getLogger("esri.widgets.support.widgetUtils");
      r.join = a, r.classes = d, r.isRTL = u, r.storeNode = f, r.cssTransition = c, r.sanitizer = new o();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/d3-array/src/array.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/array.js ***!
    \********************************************/

  /*! exports provided: slice, map */

  /***/
  function node_modulesD3ArraySrcArrayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "slice", function () {
      return slice;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "map", function () {
      return map;
    });

    var array = Array.prototype;
    var slice = array.slice;
    var map = array.map;
    /***/
  },

  /***/
  "./node_modules/d3-array/src/ascending.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-array/src/ascending.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcAscendingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/bin.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/bin.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcBinJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./array.js */
    "./node_modules/d3-array/src/array.js");
    /* harmony import */


    var _bisect_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./bisect.js */
    "./node_modules/d3-array/src/bisect.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-array/src/constant.js");
    /* harmony import */


    var _extent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./extent.js */
    "./node_modules/d3-array/src/extent.js");
    /* harmony import */


    var _identity_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./identity.js */
    "./node_modules/d3-array/src/identity.js");
    /* harmony import */


    var _nice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./nice.js */
    "./node_modules/d3-array/src/nice.js");
    /* harmony import */


    var _ticks_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./ticks.js */
    "./node_modules/d3-array/src/ticks.js");
    /* harmony import */


    var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./threshold/sturges.js */
    "./node_modules/d3-array/src/threshold/sturges.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var value = _identity_js__WEBPACK_IMPORTED_MODULE_4__["default"],
          domain = _extent_js__WEBPACK_IMPORTED_MODULE_3__["default"],
          threshold = _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_7__["default"];

      function histogram(data) {
        if (!Array.isArray(data)) data = Array.from(data);
        var i,
            n = data.length,
            x,
            values = new Array(n);

        for (i = 0; i < n; ++i) {
          values[i] = value(data[i], i, data);
        }

        var xz = domain(values),
            x0 = xz[0],
            x1 = xz[1],
            tz = threshold(values, x0, x1); // Convert number of thresholds into uniform thresholds, and nice the
        // default domain accordingly.

        if (!Array.isArray(tz)) {
          var max = x1,
              tn = +tz;

          if (domain === _extent_js__WEBPACK_IMPORTED_MODULE_3__["default"]) {
            var _Object = Object(_nice_js__WEBPACK_IMPORTED_MODULE_5__["default"])(x0, x1, tn);

            var _Object2 = _slicedToArray(_Object, 2);

            x0 = _Object2[0];
            x1 = _Object2[1];
          }

          tz = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_6__["default"])(x0, x1, tn); // If the last threshold is coincident with the domain’s upper bound, the
          // last bin will be zero-width. If the default domain is used, and this
          // last threshold is coincident with the maximum input value, we can
          // extend the niced upper bound by one tick to ensure uniform bin widths;
          // otherwise, we simply remove the last threshold. Note that we don’t
          // coerce values or the domain to numbers, and thus must be careful to
          // compare order (>=) rather than strict equality (===)!

          if (tz[tz.length - 1] >= x1) {
            if (max >= x1 && domain === _extent_js__WEBPACK_IMPORTED_MODULE_3__["default"]) {
              var step = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_6__["tickIncrement"])(x0, x1, tn);

              if (isFinite(step)) {
                if (step > 0) {
                  x1 = (Math.floor(x1 / step) + 1) * step;
                } else if (step < 0) {
                  x1 = (Math.ceil(x1 * -step) + 1) / -step;
                }
              }
            } else {
              tz.pop();
            }
          }
        } // Remove any thresholds outside the domain.


        var m = tz.length;

        while (tz[0] <= x0) tz.shift(), --m;

        while (tz[m - 1] > x1) tz.pop(), --m;

        var bins = new Array(m + 1),
            bin; // Initialize bins.

        for (i = 0; i <= m; ++i) {
          bin = bins[i] = [];
          bin.x0 = i > 0 ? tz[i - 1] : x0;
          bin.x1 = i < m ? tz[i] : x1;
        } // Assign data to bins by value, ignoring any outside the domain.


        for (i = 0; i < n; ++i) {
          x = values[i];

          if (x0 <= x && x <= x1) {
            bins[Object(_bisect_js__WEBPACK_IMPORTED_MODULE_1__["default"])(tz, x, 0, m)].push(data[i]);
          }
        }

        return bins;
      }

      histogram.value = function (_) {
        return arguments.length ? (value = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : value;
      };

      histogram.domain = function (_) {
        return arguments.length ? (domain = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])([_[0], _[1]]), histogram) : domain;
      };

      histogram.thresholds = function (_) {
        return arguments.length ? (threshold = typeof _ === "function" ? _ : Array.isArray(_) ? Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(_)) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_), histogram) : threshold;
      };

      return histogram;
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/bisect.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/bisect.js ***!
    \*********************************************/

  /*! exports provided: bisectRight, bisectLeft, bisectCenter, default */

  /***/
  function node_modulesD3ArraySrcBisectJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "bisectRight", function () {
      return bisectRight;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "bisectLeft", function () {
      return bisectLeft;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "bisectCenter", function () {
      return bisectCenter;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony import */


    var _bisector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./bisector.js */
    "./node_modules/d3-array/src/bisector.js");
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-array/src/number.js");

    var ascendingBisect = Object(_bisector_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
    var bisectRight = ascendingBisect.right;
    var bisectLeft = ascendingBisect.left;
    var bisectCenter = Object(_bisector_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_number_js__WEBPACK_IMPORTED_MODULE_2__["default"]).center;
    /* harmony default export */

    __webpack_exports__["default"] = bisectRight;
    /***/
  },

  /***/
  "./node_modules/d3-array/src/bisector.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/bisector.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcBisectorJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (f) {
      var delta = f;
      var compare = f;

      if (f.length === 1) {
        delta = function delta(d, x) {
          return f(d) - x;
        };

        compare = ascendingComparator(f);
      }

      function left(a, x, lo, hi) {
        if (lo == null) lo = 0;
        if (hi == null) hi = a.length;

        while (lo < hi) {
          var mid = lo + hi >>> 1;
          if (compare(a[mid], x) < 0) lo = mid + 1;else hi = mid;
        }

        return lo;
      }

      function right(a, x, lo, hi) {
        if (lo == null) lo = 0;
        if (hi == null) hi = a.length;

        while (lo < hi) {
          var mid = lo + hi >>> 1;
          if (compare(a[mid], x) > 0) hi = mid;else lo = mid + 1;
        }

        return lo;
      }

      function center(a, x, lo, hi) {
        if (lo == null) lo = 0;
        if (hi == null) hi = a.length;
        var i = left(a, x, lo, hi - 1);
        return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;
      }

      return {
        left: left,
        center: center,
        right: right
      };
    };

    function ascendingComparator(f) {
      return function (d, x) {
        return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f(d), x);
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/constant.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/constant.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function () {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/count.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/count.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcCountJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return count;
    });

    function count(values, valueof) {
      var count = 0;

      if (valueof === undefined) {
        var _iterator93 = _createForOfIteratorHelper(values),
            _step93;

        try {
          for (_iterator93.s(); !(_step93 = _iterator93.n()).done;) {
            var value = _step93.value;

            if (value != null && (value = +value) >= value) {
              ++count;
            }
          }
        } catch (err) {
          _iterator93.e(err);
        } finally {
          _iterator93.f();
        }
      } else {
        var index = -1;

        var _iterator94 = _createForOfIteratorHelper(values),
            _step94;

        try {
          for (_iterator94.s(); !(_step94 = _iterator94.n()).done;) {
            var _value = _step94.value;

            if ((_value = valueof(_value, ++index, values)) != null && (_value = +_value) >= _value) {
              ++count;
            }
          }
        } catch (err) {
          _iterator94.e(err);
        } finally {
          _iterator94.f();
        }
      }

      return count;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/cross.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/cross.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcCrossJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return cross;
    });

    function length(array) {
      return array.length | 0;
    }

    function empty(length) {
      return !(length > 0);
    }

    function arrayify(values) {
      return typeof values !== "object" || "length" in values ? values : Array.from(values);
    }

    function reducer(reduce) {
      return function (values) {
        return reduce.apply(void 0, _toConsumableArray(values));
      };
    }

    function cross() {
      for (var _len5 = arguments.length, values = new Array(_len5), _key6 = 0; _key6 < _len5; _key6++) {
        values[_key6] = arguments[_key6];
      }

      var reduce = typeof values[values.length - 1] === "function" && reducer(values.pop());
      values = values.map(arrayify);
      var lengths = values.map(length);
      var j = values.length - 1;
      var index = new Array(j + 1).fill(0);
      var product = [];
      if (j < 0 || lengths.some(empty)) return product;

      while (true) {
        product.push(index.map(function (j, i) {
          return values[i][j];
        }));
        var _i37 = j;

        while (++index[_i37] === lengths[_i37]) {
          if (_i37 === 0) return reduce ? product.map(reduce) : product;
          index[_i37--] = 0;
        }
      }
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/cumsum.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/cumsum.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcCumsumJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return cumsum;
    });

    function cumsum(values, valueof) {
      var sum = 0,
          index = 0;
      return Float64Array.from(values, valueof === undefined ? function (v) {
        return sum += +v || 0;
      } : function (v) {
        return sum += +valueof(v, index++, values) || 0;
      });
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/descending.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-array/src/descending.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcDescendingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/deviation.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-array/src/deviation.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcDeviationJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return deviation;
    });
    /* harmony import */


    var _variance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./variance.js */
    "./node_modules/d3-array/src/variance.js");

    function deviation(values, valueof) {
      var v = Object(_variance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, valueof);
      return v ? Math.sqrt(v) : v;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/difference.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-array/src/difference.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcDifferenceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return difference;
    });

    function difference(values) {
      values = new Set(values);

      for (var _len6 = arguments.length, others = new Array(_len6 > 1 ? _len6 - 1 : 0), _key7 = 1; _key7 < _len6; _key7++) {
        others[_key7 - 1] = arguments[_key7];
      }

      for (var _i38 = 0, _others = others; _i38 < _others.length; _i38++) {
        var other = _others[_i38];

        var _iterator95 = _createForOfIteratorHelper(other),
            _step95;

        try {
          for (_iterator95.s(); !(_step95 = _iterator95.n()).done;) {
            var value = _step95.value;
            values["delete"](value);
          }
        } catch (err) {
          _iterator95.e(err);
        } finally {
          _iterator95.f();
        }
      }

      return values;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/disjoint.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/disjoint.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcDisjointJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return disjoint;
    });

    function disjoint(values, other) {
      var iterator = other[Symbol.iterator](),
          set = new Set();

      var _iterator96 = _createForOfIteratorHelper(values),
          _step96;

      try {
        for (_iterator96.s(); !(_step96 = _iterator96.n()).done;) {
          var v = _step96.value;
          if (set.has(v)) return false;
          var value = void 0,
              done = void 0;

          while (_iterator$next = iterator.next(), value = _iterator$next.value, done = _iterator$next.done, _iterator$next) {
            var _iterator$next;

            if (done) break;
            if (Object.is(v, value)) return false;
            set.add(value);
          }
        }
      } catch (err) {
        _iterator96.e(err);
      } finally {
        _iterator96.f();
      }

      return true;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/every.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/every.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcEveryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return every;
    });

    function every(values, test) {
      if (typeof test !== "function") throw new TypeError("test is not a function");
      var index = -1;

      var _iterator97 = _createForOfIteratorHelper(values),
          _step97;

      try {
        for (_iterator97.s(); !(_step97 = _iterator97.n()).done;) {
          var value = _step97.value;

          if (!test(value, ++index, values)) {
            return false;
          }
        }
      } catch (err) {
        _iterator97.e(err);
      } finally {
        _iterator97.f();
      }

      return true;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/extent.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/extent.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcExtentJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (values, valueof) {
      var min;
      var max;

      if (valueof === undefined) {
        var _iterator98 = _createForOfIteratorHelper(values),
            _step98;

        try {
          for (_iterator98.s(); !(_step98 = _iterator98.n()).done;) {
            var value = _step98.value;

            if (value != null) {
              if (min === undefined) {
                if (value >= value) min = max = value;
              } else {
                if (min > value) min = value;
                if (max < value) max = value;
              }
            }
          }
        } catch (err) {
          _iterator98.e(err);
        } finally {
          _iterator98.f();
        }
      } else {
        var index = -1;

        var _iterator99 = _createForOfIteratorHelper(values),
            _step99;

        try {
          for (_iterator99.s(); !(_step99 = _iterator99.n()).done;) {
            var _value2 = _step99.value;

            if ((_value2 = valueof(_value2, ++index, values)) != null) {
              if (min === undefined) {
                if (_value2 >= _value2) min = max = _value2;
              } else {
                if (min > _value2) min = _value2;
                if (max < _value2) max = _value2;
              }
            }
          }
        } catch (err) {
          _iterator99.e(err);
        } finally {
          _iterator99.f();
        }
      }

      return [min, max];
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/filter.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/filter.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcFilterJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return filter;
    });

    function filter(values, test) {
      if (typeof test !== "function") throw new TypeError("test is not a function");
      var array = [];
      var index = -1;

      var _iterator100 = _createForOfIteratorHelper(values),
          _step100;

      try {
        for (_iterator100.s(); !(_step100 = _iterator100.n()).done;) {
          var value = _step100.value;

          if (test(value, ++index, values)) {
            array.push(value);
          }
        }
      } catch (err) {
        _iterator100.e(err);
      } finally {
        _iterator100.f();
      }

      return array;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/fsum.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-array/src/fsum.js ***!
    \*******************************************/

  /*! exports provided: Adder, fsum, fcumsum */

  /***/
  function node_modulesD3ArraySrcFsumJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Adder", function () {
      return Adder;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "fsum", function () {
      return fsum;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "fcumsum", function () {
      return fcumsum;
    }); // https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423


    var Adder = /*#__PURE__*/function () {
      function Adder() {
        _classCallCheck(this, Adder);

        this._partials = new Float64Array(32);
        this._n = 0;
      }

      _createClass(Adder, [{
        key: "add",
        value: function add(x) {
          var p = this._partials;
          var i = 0;

          for (var j = 0; j < this._n && j < 32; j++) {
            var y = p[j],
                hi = x + y,
                lo = Math.abs(x) < Math.abs(y) ? x - (hi - y) : y - (hi - x);
            if (lo) p[i++] = lo;
            x = hi;
          }

          p[i] = x;
          this._n = i + 1;
          return this;
        }
      }, {
        key: "valueOf",
        value: function valueOf() {
          var p = this._partials;
          var n = this._n,
              x,
              y,
              lo,
              hi = 0;

          if (n > 0) {
            hi = p[--n];

            while (n > 0) {
              x = hi;
              y = p[--n];
              hi = x + y;
              lo = y - (hi - x);
              if (lo) break;
            }

            if (n > 0 && (lo < 0 && p[n - 1] < 0 || lo > 0 && p[n - 1] > 0)) {
              y = lo * 2;
              x = hi + y;
              if (y == x - hi) hi = x;
            }
          }

          return hi;
        }
      }]);

      return Adder;
    }();

    function fsum(values, valueof) {
      var adder = new Adder();

      if (valueof === undefined) {
        var _iterator101 = _createForOfIteratorHelper(values),
            _step101;

        try {
          for (_iterator101.s(); !(_step101 = _iterator101.n()).done;) {
            var value = _step101.value;

            if (value = +value) {
              adder.add(value);
            }
          }
        } catch (err) {
          _iterator101.e(err);
        } finally {
          _iterator101.f();
        }
      } else {
        var index = -1;

        var _iterator102 = _createForOfIteratorHelper(values),
            _step102;

        try {
          for (_iterator102.s(); !(_step102 = _iterator102.n()).done;) {
            var _value3 = _step102.value;

            if (_value3 = +valueof(_value3, ++index, values)) {
              adder.add(_value3);
            }
          }
        } catch (err) {
          _iterator102.e(err);
        } finally {
          _iterator102.f();
        }
      }

      return +adder;
    }

    function fcumsum(values, valueof) {
      var adder = new Adder();
      var index = -1;
      return Float64Array.from(values, valueof === undefined ? function (v) {
        return adder.add(+v || 0);
      } : function (v) {
        return adder.add(+valueof(v, ++index, values) || 0);
      });
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/greatest.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/greatest.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcGreatestJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return greatest;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");

    function greatest(values) {
      var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      var max;
      var defined = false;

      if (compare.length === 1) {
        var maxValue;

        var _iterator103 = _createForOfIteratorHelper(values),
            _step103;

        try {
          for (_iterator103.s(); !(_step103 = _iterator103.n()).done;) {
            var element = _step103.value;
            var value = compare(element);

            if (defined ? Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, maxValue) > 0 : Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, value) === 0) {
              max = element;
              maxValue = value;
              defined = true;
            }
          }
        } catch (err) {
          _iterator103.e(err);
        } finally {
          _iterator103.f();
        }
      } else {
        var _iterator104 = _createForOfIteratorHelper(values),
            _step104;

        try {
          for (_iterator104.s(); !(_step104 = _iterator104.n()).done;) {
            var _value4 = _step104.value;

            if (defined ? compare(_value4, max) > 0 : compare(_value4, _value4) === 0) {
              max = _value4;
              defined = true;
            }
          }
        } catch (err) {
          _iterator104.e(err);
        } finally {
          _iterator104.f();
        }
      }

      return max;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/greatestIndex.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-array/src/greatestIndex.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcGreatestIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return greatestIndex;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony import */


    var _maxIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./maxIndex.js */
    "./node_modules/d3-array/src/maxIndex.js");

    function greatestIndex(values) {
      var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      if (compare.length === 1) return Object(_maxIndex_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, compare);
      var maxValue;
      var max = -1;
      var index = -1;

      var _iterator105 = _createForOfIteratorHelper(values),
          _step105;

      try {
        for (_iterator105.s(); !(_step105 = _iterator105.n()).done;) {
          var value = _step105.value;
          ++index;

          if (max < 0 ? compare(value, value) === 0 : compare(value, maxValue) > 0) {
            maxValue = value;
            max = index;
          }
        }
      } catch (err) {
        _iterator105.e(err);
      } finally {
        _iterator105.f();
      }

      return max;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/group.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/group.js ***!
    \********************************************/

  /*! exports provided: default, groups, rollup, rollups, index, indexes */

  /***/
  function node_modulesD3ArraySrcGroupJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return group;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "groups", function () {
      return groups;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rollup", function () {
      return rollup;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rollups", function () {
      return rollups;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "index", function () {
      return index;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "indexes", function () {
      return indexes;
    });
    /* harmony import */


    var internmap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! internmap */
    "./node_modules/internmap/src/index.js");
    /* harmony import */


    var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./identity.js */
    "./node_modules/d3-array/src/identity.js");

    function group(values) {
      for (var _len7 = arguments.length, keys = new Array(_len7 > 1 ? _len7 - 1 : 0), _key8 = 1; _key8 < _len7; _key8++) {
        keys[_key8 - 1] = arguments[_key8];
      }

      return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], keys);
    }

    function groups(values) {
      for (var _len8 = arguments.length, keys = new Array(_len8 > 1 ? _len8 - 1 : 0), _key9 = 1; _key9 < _len8; _key9++) {
        keys[_key9 - 1] = arguments[_key9];
      }

      return nest(values, Array.from, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], keys);
    }

    function rollup(values, reduce) {
      for (var _len9 = arguments.length, keys = new Array(_len9 > 2 ? _len9 - 2 : 0), _key10 = 2; _key10 < _len9; _key10++) {
        keys[_key10 - 2] = arguments[_key10];
      }

      return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], reduce, keys);
    }

    function rollups(values, reduce) {
      for (var _len10 = arguments.length, keys = new Array(_len10 > 2 ? _len10 - 2 : 0), _key11 = 2; _key11 < _len10; _key11++) {
        keys[_key11 - 2] = arguments[_key11];
      }

      return nest(values, Array.from, reduce, keys);
    }

    function index(values) {
      for (var _len11 = arguments.length, keys = new Array(_len11 > 1 ? _len11 - 1 : 0), _key12 = 1; _key12 < _len11; _key12++) {
        keys[_key12 - 1] = arguments[_key12];
      }

      return nest(values, _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"], unique, keys);
    }

    function indexes(values) {
      for (var _len12 = arguments.length, keys = new Array(_len12 > 1 ? _len12 - 1 : 0), _key13 = 1; _key13 < _len12; _key13++) {
        keys[_key13 - 1] = arguments[_key13];
      }

      return nest(values, Array.from, unique, keys);
    }

    function unique(values) {
      if (values.length !== 1) throw new Error("duplicate key");
      return values[0];
    }

    function nest(values, map, reduce, keys) {
      return function regroup(values, i) {
        if (i >= keys.length) return reduce(values);
        var groups = new internmap__WEBPACK_IMPORTED_MODULE_0__["InternMap"]();
        var keyof = keys[i++];
        var index = -1;

        var _iterator106 = _createForOfIteratorHelper(values),
            _step106;

        try {
          for (_iterator106.s(); !(_step106 = _iterator106.n()).done;) {
            var value = _step106.value;
            var key = keyof(value, ++index, values);

            var _group2 = groups.get(key);

            if (_group2) _group2.push(value);else groups.set(key, [value]);
          }
        } catch (err) {
          _iterator106.e(err);
        } finally {
          _iterator106.f();
        }

        var _iterator107 = _createForOfIteratorHelper(groups),
            _step107;

        try {
          for (_iterator107.s(); !(_step107 = _iterator107.n()).done;) {
            var _step107$value = _slicedToArray(_step107.value, 2),
                _key14 = _step107$value[0],
                _values = _step107$value[1];

            groups.set(_key14, regroup(_values, i));
          }
        } catch (err) {
          _iterator107.e(err);
        } finally {
          _iterator107.f();
        }

        return map(groups);
      }(values, 0);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/groupSort.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-array/src/groupSort.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcGroupSortJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return groupSort;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony import */


    var _group_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./group.js */
    "./node_modules/d3-array/src/group.js");
    /* harmony import */


    var _sort_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./sort.js */
    "./node_modules/d3-array/src/sort.js");

    function groupSort(values, reduce, key) {
      return (reduce.length === 1 ? Object(_sort_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_group_js__WEBPACK_IMPORTED_MODULE_1__["rollup"])(values, reduce, key), function (_ref61, _ref62) {
        var _ref63 = _slicedToArray(_ref61, 2),
            ak = _ref63[0],
            av = _ref63[1];

        var _ref64 = _slicedToArray(_ref62, 2),
            bk = _ref64[0],
            bv = _ref64[1];

        return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(av, bv) || Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ak, bk);
      }) : Object(_sort_js__WEBPACK_IMPORTED_MODULE_2__["default"])(Object(_group_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, key), function (_ref65, _ref66) {
        var _ref67 = _slicedToArray(_ref65, 2),
            ak = _ref67[0],
            av = _ref67[1];

        var _ref68 = _slicedToArray(_ref66, 2),
            bk = _ref68[0],
            bv = _ref68[1];

        return reduce(av, bv) || Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ak, bk);
      })).map(function (_ref69) {
        var _ref70 = _slicedToArray(_ref69, 1),
            key = _ref70[0];

        return key;
      });
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/identity.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/identity.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcIdentityJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return x;
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/index.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/index.js ***!
    \********************************************/

  /*! exports provided: bisect, bisectRight, bisectLeft, bisectCenter, ascending, bisector, count, cross, cumsum, descending, deviation, extent, Adder, fsum, fcumsum, group, groups, index, indexes, rollup, rollups, groupSort, bin, histogram, thresholdFreedmanDiaconis, thresholdScott, thresholdSturges, max, maxIndex, mean, median, merge, min, minIndex, nice, pairs, permute, quantile, quantileSorted, quickselect, range, least, leastIndex, greatest, greatestIndex, scan, shuffle, shuffler, sum, ticks, tickIncrement, tickStep, transpose, variance, zip, every, some, filter, map, reduce, reverse, sort, difference, disjoint, intersection, subset, superset, union, InternMap, InternSet */

  /***/
  function node_modulesD3ArraySrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _bisect_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./bisect.js */
    "./node_modules/d3-array/src/bisect.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "bisect", function () {
      return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "bisectRight", function () {
      return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["bisectRight"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "bisectLeft", function () {
      return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["bisectLeft"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "bisectCenter", function () {
      return _bisect_js__WEBPACK_IMPORTED_MODULE_0__["bisectCenter"];
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "ascending", function () {
      return _ascending_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _bisector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./bisector.js */
    "./node_modules/d3-array/src/bisector.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "bisector", function () {
      return _bisector_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _count_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./count.js */
    "./node_modules/d3-array/src/count.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "count", function () {
      return _count_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _cross_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./cross.js */
    "./node_modules/d3-array/src/cross.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "cross", function () {
      return _cross_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _cumsum_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./cumsum.js */
    "./node_modules/d3-array/src/cumsum.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "cumsum", function () {
      return _cumsum_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony import */


    var _descending_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./descending.js */
    "./node_modules/d3-array/src/descending.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "descending", function () {
      return _descending_js__WEBPACK_IMPORTED_MODULE_6__["default"];
    });
    /* harmony import */


    var _deviation_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./deviation.js */
    "./node_modules/d3-array/src/deviation.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "deviation", function () {
      return _deviation_js__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony import */


    var _extent_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./extent.js */
    "./node_modules/d3-array/src/extent.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "extent", function () {
      return _extent_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony import */


    var _fsum_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./fsum.js */
    "./node_modules/d3-array/src/fsum.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "Adder", function () {
      return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["Adder"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "fsum", function () {
      return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["fsum"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "fcumsum", function () {
      return _fsum_js__WEBPACK_IMPORTED_MODULE_9__["fcumsum"];
    });
    /* harmony import */


    var _group_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./group.js */
    "./node_modules/d3-array/src/group.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "group", function () {
      return _group_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "groups", function () {
      return _group_js__WEBPACK_IMPORTED_MODULE_10__["groups"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "index", function () {
      return _group_js__WEBPACK_IMPORTED_MODULE_10__["index"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "indexes", function () {
      return _group_js__WEBPACK_IMPORTED_MODULE_10__["indexes"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "rollup", function () {
      return _group_js__WEBPACK_IMPORTED_MODULE_10__["rollup"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "rollups", function () {
      return _group_js__WEBPACK_IMPORTED_MODULE_10__["rollups"];
    });
    /* harmony import */


    var _groupSort_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./groupSort.js */
    "./node_modules/d3-array/src/groupSort.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "groupSort", function () {
      return _groupSort_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony import */


    var _bin_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./bin.js */
    "./node_modules/d3-array/src/bin.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "bin", function () {
      return _bin_js__WEBPACK_IMPORTED_MODULE_12__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "histogram", function () {
      return _bin_js__WEBPACK_IMPORTED_MODULE_12__["default"];
    });
    /* harmony import */


    var _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./threshold/freedmanDiaconis.js */
    "./node_modules/d3-array/src/threshold/freedmanDiaconis.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "thresholdFreedmanDiaconis", function () {
      return _threshold_freedmanDiaconis_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony import */


    var _threshold_scott_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./threshold/scott.js */
    "./node_modules/d3-array/src/threshold/scott.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "thresholdScott", function () {
      return _threshold_scott_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony import */


    var _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./threshold/sturges.js */
    "./node_modules/d3-array/src/threshold/sturges.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "thresholdSturges", function () {
      return _threshold_sturges_js__WEBPACK_IMPORTED_MODULE_15__["default"];
    });
    /* harmony import */


    var _max_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./max.js */
    "./node_modules/d3-array/src/max.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "max", function () {
      return _max_js__WEBPACK_IMPORTED_MODULE_16__["default"];
    });
    /* harmony import */


    var _maxIndex_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./maxIndex.js */
    "./node_modules/d3-array/src/maxIndex.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "maxIndex", function () {
      return _maxIndex_js__WEBPACK_IMPORTED_MODULE_17__["default"];
    });
    /* harmony import */


    var _mean_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./mean.js */
    "./node_modules/d3-array/src/mean.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "mean", function () {
      return _mean_js__WEBPACK_IMPORTED_MODULE_18__["default"];
    });
    /* harmony import */


    var _median_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./median.js */
    "./node_modules/d3-array/src/median.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "median", function () {
      return _median_js__WEBPACK_IMPORTED_MODULE_19__["default"];
    });
    /* harmony import */


    var _merge_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ./merge.js */
    "./node_modules/d3-array/src/merge.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "merge", function () {
      return _merge_js__WEBPACK_IMPORTED_MODULE_20__["default"];
    });
    /* harmony import */


    var _min_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ./min.js */
    "./node_modules/d3-array/src/min.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "min", function () {
      return _min_js__WEBPACK_IMPORTED_MODULE_21__["default"];
    });
    /* harmony import */


    var _minIndex_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ./minIndex.js */
    "./node_modules/d3-array/src/minIndex.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "minIndex", function () {
      return _minIndex_js__WEBPACK_IMPORTED_MODULE_22__["default"];
    });
    /* harmony import */


    var _nice_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
    /*! ./nice.js */
    "./node_modules/d3-array/src/nice.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "nice", function () {
      return _nice_js__WEBPACK_IMPORTED_MODULE_23__["default"];
    });
    /* harmony import */


    var _pairs_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
    /*! ./pairs.js */
    "./node_modules/d3-array/src/pairs.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "pairs", function () {
      return _pairs_js__WEBPACK_IMPORTED_MODULE_24__["default"];
    });
    /* harmony import */


    var _permute_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
    /*! ./permute.js */
    "./node_modules/d3-array/src/permute.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "permute", function () {
      return _permute_js__WEBPACK_IMPORTED_MODULE_25__["default"];
    });
    /* harmony import */


    var _quantile_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
    /*! ./quantile.js */
    "./node_modules/d3-array/src/quantile.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "quantile", function () {
      return _quantile_js__WEBPACK_IMPORTED_MODULE_26__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "quantileSorted", function () {
      return _quantile_js__WEBPACK_IMPORTED_MODULE_26__["quantileSorted"];
    });
    /* harmony import */


    var _quickselect_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
    /*! ./quickselect.js */
    "./node_modules/d3-array/src/quickselect.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "quickselect", function () {
      return _quickselect_js__WEBPACK_IMPORTED_MODULE_27__["default"];
    });
    /* harmony import */


    var _range_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
    /*! ./range.js */
    "./node_modules/d3-array/src/range.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "range", function () {
      return _range_js__WEBPACK_IMPORTED_MODULE_28__["default"];
    });
    /* harmony import */


    var _least_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
    /*! ./least.js */
    "./node_modules/d3-array/src/least.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "least", function () {
      return _least_js__WEBPACK_IMPORTED_MODULE_29__["default"];
    });
    /* harmony import */


    var _leastIndex_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
    /*! ./leastIndex.js */
    "./node_modules/d3-array/src/leastIndex.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "leastIndex", function () {
      return _leastIndex_js__WEBPACK_IMPORTED_MODULE_30__["default"];
    });
    /* harmony import */


    var _greatest_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
    /*! ./greatest.js */
    "./node_modules/d3-array/src/greatest.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "greatest", function () {
      return _greatest_js__WEBPACK_IMPORTED_MODULE_31__["default"];
    });
    /* harmony import */


    var _greatestIndex_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
    /*! ./greatestIndex.js */
    "./node_modules/d3-array/src/greatestIndex.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "greatestIndex", function () {
      return _greatestIndex_js__WEBPACK_IMPORTED_MODULE_32__["default"];
    });
    /* harmony import */


    var _scan_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
    /*! ./scan.js */
    "./node_modules/d3-array/src/scan.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scan", function () {
      return _scan_js__WEBPACK_IMPORTED_MODULE_33__["default"];
    });
    /* harmony import */


    var _shuffle_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
    /*! ./shuffle.js */
    "./node_modules/d3-array/src/shuffle.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "shuffle", function () {
      return _shuffle_js__WEBPACK_IMPORTED_MODULE_34__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "shuffler", function () {
      return _shuffle_js__WEBPACK_IMPORTED_MODULE_34__["shuffler"];
    });
    /* harmony import */


    var _sum_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
    /*! ./sum.js */
    "./node_modules/d3-array/src/sum.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "sum", function () {
      return _sum_js__WEBPACK_IMPORTED_MODULE_35__["default"];
    });
    /* harmony import */


    var _ticks_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
    /*! ./ticks.js */
    "./node_modules/d3-array/src/ticks.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "ticks", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "tickIncrement", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["tickIncrement"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "tickStep", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_36__["tickStep"];
    });
    /* harmony import */


    var _transpose_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
    /*! ./transpose.js */
    "./node_modules/d3-array/src/transpose.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "transpose", function () {
      return _transpose_js__WEBPACK_IMPORTED_MODULE_37__["default"];
    });
    /* harmony import */


    var _variance_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(
    /*! ./variance.js */
    "./node_modules/d3-array/src/variance.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "variance", function () {
      return _variance_js__WEBPACK_IMPORTED_MODULE_38__["default"];
    });
    /* harmony import */


    var _zip_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(
    /*! ./zip.js */
    "./node_modules/d3-array/src/zip.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "zip", function () {
      return _zip_js__WEBPACK_IMPORTED_MODULE_39__["default"];
    });
    /* harmony import */


    var _every_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(
    /*! ./every.js */
    "./node_modules/d3-array/src/every.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "every", function () {
      return _every_js__WEBPACK_IMPORTED_MODULE_40__["default"];
    });
    /* harmony import */


    var _some_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(
    /*! ./some.js */
    "./node_modules/d3-array/src/some.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "some", function () {
      return _some_js__WEBPACK_IMPORTED_MODULE_41__["default"];
    });
    /* harmony import */


    var _filter_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(
    /*! ./filter.js */
    "./node_modules/d3-array/src/filter.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "filter", function () {
      return _filter_js__WEBPACK_IMPORTED_MODULE_42__["default"];
    });
    /* harmony import */


    var _map_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(
    /*! ./map.js */
    "./node_modules/d3-array/src/map.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "map", function () {
      return _map_js__WEBPACK_IMPORTED_MODULE_43__["default"];
    });
    /* harmony import */


    var _reduce_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(
    /*! ./reduce.js */
    "./node_modules/d3-array/src/reduce.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "reduce", function () {
      return _reduce_js__WEBPACK_IMPORTED_MODULE_44__["default"];
    });
    /* harmony import */


    var _reverse_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(
    /*! ./reverse.js */
    "./node_modules/d3-array/src/reverse.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "reverse", function () {
      return _reverse_js__WEBPACK_IMPORTED_MODULE_45__["default"];
    });
    /* harmony import */


    var _sort_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(
    /*! ./sort.js */
    "./node_modules/d3-array/src/sort.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "sort", function () {
      return _sort_js__WEBPACK_IMPORTED_MODULE_46__["default"];
    });
    /* harmony import */


    var _difference_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(
    /*! ./difference.js */
    "./node_modules/d3-array/src/difference.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "difference", function () {
      return _difference_js__WEBPACK_IMPORTED_MODULE_47__["default"];
    });
    /* harmony import */


    var _disjoint_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(
    /*! ./disjoint.js */
    "./node_modules/d3-array/src/disjoint.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "disjoint", function () {
      return _disjoint_js__WEBPACK_IMPORTED_MODULE_48__["default"];
    });
    /* harmony import */


    var _intersection_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(
    /*! ./intersection.js */
    "./node_modules/d3-array/src/intersection.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "intersection", function () {
      return _intersection_js__WEBPACK_IMPORTED_MODULE_49__["default"];
    });
    /* harmony import */


    var _subset_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(
    /*! ./subset.js */
    "./node_modules/d3-array/src/subset.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "subset", function () {
      return _subset_js__WEBPACK_IMPORTED_MODULE_50__["default"];
    });
    /* harmony import */


    var _superset_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(
    /*! ./superset.js */
    "./node_modules/d3-array/src/superset.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "superset", function () {
      return _superset_js__WEBPACK_IMPORTED_MODULE_51__["default"];
    });
    /* harmony import */


    var _union_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(
    /*! ./union.js */
    "./node_modules/d3-array/src/union.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "union", function () {
      return _union_js__WEBPACK_IMPORTED_MODULE_52__["default"];
    });
    /* harmony import */


    var internmap__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(
    /*! internmap */
    "./node_modules/internmap/src/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "InternMap", function () {
      return internmap__WEBPACK_IMPORTED_MODULE_53__["InternMap"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "InternSet", function () {
      return internmap__WEBPACK_IMPORTED_MODULE_53__["InternSet"];
    }); // Deprecated; use bin.
    // Deprecated; use leastIndex.

    /***/

  },

  /***/
  "./node_modules/d3-array/src/intersection.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-array/src/intersection.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcIntersectionJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return intersection;
    });
    /* harmony import */


    var _set_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./set.js */
    "./node_modules/d3-array/src/set.js");

    function intersection(values) {
      for (var _len13 = arguments.length, others = new Array(_len13 > 1 ? _len13 - 1 : 0), _key15 = 1; _key15 < _len13; _key15++) {
        others[_key15 - 1] = arguments[_key15];
      }

      values = new Set(values);
      others = others.map(_set_js__WEBPACK_IMPORTED_MODULE_0__["default"]);

      var _iterator108 = _createForOfIteratorHelper(values),
          _step108;

      try {
        out: for (_iterator108.s(); !(_step108 = _iterator108.n()).done;) {
          var value = _step108.value;

          var _iterator109 = _createForOfIteratorHelper(others),
              _step109;

          try {
            for (_iterator109.s(); !(_step109 = _iterator109.n()).done;) {
              var other = _step109.value;

              if (!other.has(value)) {
                values["delete"](value);
                continue out;
              }
            }
          } catch (err) {
            _iterator109.e(err);
          } finally {
            _iterator109.f();
          }
        }
      } catch (err) {
        _iterator108.e(err);
      } finally {
        _iterator108.f();
      }

      return values;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/least.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/least.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcLeastJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return least;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");

    function least(values) {
      var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      var min;
      var defined = false;

      if (compare.length === 1) {
        var minValue;

        var _iterator110 = _createForOfIteratorHelper(values),
            _step110;

        try {
          for (_iterator110.s(); !(_step110 = _iterator110.n()).done;) {
            var element = _step110.value;
            var value = compare(element);

            if (defined ? Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, minValue) < 0 : Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value, value) === 0) {
              min = element;
              minValue = value;
              defined = true;
            }
          }
        } catch (err) {
          _iterator110.e(err);
        } finally {
          _iterator110.f();
        }
      } else {
        var _iterator111 = _createForOfIteratorHelper(values),
            _step111;

        try {
          for (_iterator111.s(); !(_step111 = _iterator111.n()).done;) {
            var _value5 = _step111.value;

            if (defined ? compare(_value5, min) < 0 : compare(_value5, _value5) === 0) {
              min = _value5;
              defined = true;
            }
          }
        } catch (err) {
          _iterator111.e(err);
        } finally {
          _iterator111.f();
        }
      }

      return min;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/leastIndex.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-array/src/leastIndex.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcLeastIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return leastIndex;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony import */


    var _minIndex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./minIndex.js */
    "./node_modules/d3-array/src/minIndex.js");

    function leastIndex(values) {
      var compare = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];
      if (compare.length === 1) return Object(_minIndex_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, compare);
      var minValue;
      var min = -1;
      var index = -1;

      var _iterator112 = _createForOfIteratorHelper(values),
          _step112;

      try {
        for (_iterator112.s(); !(_step112 = _iterator112.n()).done;) {
          var value = _step112.value;
          ++index;

          if (min < 0 ? compare(value, value) === 0 : compare(value, minValue) < 0) {
            minValue = value;
            min = index;
          }
        }
      } catch (err) {
        _iterator112.e(err);
      } finally {
        _iterator112.f();
      }

      return min;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/map.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/map.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMapJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return map;
    });

    function map(values, mapper) {
      if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
      if (typeof mapper !== "function") throw new TypeError("mapper is not a function");
      return Array.from(values, function (value, index) {
        return mapper(value, index, values);
      });
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/max.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/max.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMaxJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return max;
    });

    function max(values, valueof) {
      var max;

      if (valueof === undefined) {
        var _iterator113 = _createForOfIteratorHelper(values),
            _step113;

        try {
          for (_iterator113.s(); !(_step113 = _iterator113.n()).done;) {
            var value = _step113.value;

            if (value != null && (max < value || max === undefined && value >= value)) {
              max = value;
            }
          }
        } catch (err) {
          _iterator113.e(err);
        } finally {
          _iterator113.f();
        }
      } else {
        var index = -1;

        var _iterator114 = _createForOfIteratorHelper(values),
            _step114;

        try {
          for (_iterator114.s(); !(_step114 = _iterator114.n()).done;) {
            var _value6 = _step114.value;

            if ((_value6 = valueof(_value6, ++index, values)) != null && (max < _value6 || max === undefined && _value6 >= _value6)) {
              max = _value6;
            }
          }
        } catch (err) {
          _iterator114.e(err);
        } finally {
          _iterator114.f();
        }
      }

      return max;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/maxIndex.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/maxIndex.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMaxIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return maxIndex;
    });

    function maxIndex(values, valueof) {
      var max;
      var maxIndex = -1;
      var index = -1;

      if (valueof === undefined) {
        var _iterator115 = _createForOfIteratorHelper(values),
            _step115;

        try {
          for (_iterator115.s(); !(_step115 = _iterator115.n()).done;) {
            var value = _step115.value;
            ++index;

            if (value != null && (max < value || max === undefined && value >= value)) {
              max = value, maxIndex = index;
            }
          }
        } catch (err) {
          _iterator115.e(err);
        } finally {
          _iterator115.f();
        }
      } else {
        var _iterator116 = _createForOfIteratorHelper(values),
            _step116;

        try {
          for (_iterator116.s(); !(_step116 = _iterator116.n()).done;) {
            var _value7 = _step116.value;

            if ((_value7 = valueof(_value7, ++index, values)) != null && (max < _value7 || max === undefined && _value7 >= _value7)) {
              max = _value7, maxIndex = index;
            }
          }
        } catch (err) {
          _iterator116.e(err);
        } finally {
          _iterator116.f();
        }
      }

      return maxIndex;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/mean.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-array/src/mean.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMeanJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return mean;
    });

    function mean(values, valueof) {
      var count = 0;
      var sum = 0;

      if (valueof === undefined) {
        var _iterator117 = _createForOfIteratorHelper(values),
            _step117;

        try {
          for (_iterator117.s(); !(_step117 = _iterator117.n()).done;) {
            var value = _step117.value;

            if (value != null && (value = +value) >= value) {
              ++count, sum += value;
            }
          }
        } catch (err) {
          _iterator117.e(err);
        } finally {
          _iterator117.f();
        }
      } else {
        var index = -1;

        var _iterator118 = _createForOfIteratorHelper(values),
            _step118;

        try {
          for (_iterator118.s(); !(_step118 = _iterator118.n()).done;) {
            var _value8 = _step118.value;

            if ((_value8 = valueof(_value8, ++index, values)) != null && (_value8 = +_value8) >= _value8) {
              ++count, sum += _value8;
            }
          }
        } catch (err) {
          _iterator118.e(err);
        } finally {
          _iterator118.f();
        }
      }

      if (count) return sum / count;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/median.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/median.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMedianJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _quantile_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./quantile.js */
    "./node_modules/d3-array/src/quantile.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (values, valueof) {
      return Object(_quantile_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, 0.5, valueof);
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/merge.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/merge.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMergeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    var _marked = /*#__PURE__*/_regeneratorRuntime().mark(flatten);

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return merge;
    });

    function flatten(arrays) {
      var _iterator119, _step119, array;

      return _regeneratorRuntime().wrap(function flatten$(_context) {
        while (1) switch (_context.prev = _context.next) {
          case 0:
            _iterator119 = _createForOfIteratorHelper(arrays);
            _context.prev = 1;

            _iterator119.s();

          case 3:
            if ((_step119 = _iterator119.n()).done) {
              _context.next = 8;
              break;
            }

            array = _step119.value;
            return _context.delegateYield(array, "t0", 6);

          case 6:
            _context.next = 3;
            break;

          case 8:
            _context.next = 13;
            break;

          case 10:
            _context.prev = 10;
            _context.t1 = _context["catch"](1);

            _iterator119.e(_context.t1);

          case 13:
            _context.prev = 13;

            _iterator119.f();

            return _context.finish(13);

          case 16:
          case "end":
            return _context.stop();
        }
      }, _marked, null, [[1, 10, 13, 16]]);
    }

    function merge(arrays) {
      return Array.from(flatten(arrays));
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/min.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/min.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMinJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return min;
    });

    function min(values, valueof) {
      var min;

      if (valueof === undefined) {
        var _iterator120 = _createForOfIteratorHelper(values),
            _step120;

        try {
          for (_iterator120.s(); !(_step120 = _iterator120.n()).done;) {
            var value = _step120.value;

            if (value != null && (min > value || min === undefined && value >= value)) {
              min = value;
            }
          }
        } catch (err) {
          _iterator120.e(err);
        } finally {
          _iterator120.f();
        }
      } else {
        var index = -1;

        var _iterator121 = _createForOfIteratorHelper(values),
            _step121;

        try {
          for (_iterator121.s(); !(_step121 = _iterator121.n()).done;) {
            var _value9 = _step121.value;

            if ((_value9 = valueof(_value9, ++index, values)) != null && (min > _value9 || min === undefined && _value9 >= _value9)) {
              min = _value9;
            }
          }
        } catch (err) {
          _iterator121.e(err);
        } finally {
          _iterator121.f();
        }
      }

      return min;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/minIndex.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/minIndex.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcMinIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return minIndex;
    });

    function minIndex(values, valueof) {
      var min;
      var minIndex = -1;
      var index = -1;

      if (valueof === undefined) {
        var _iterator122 = _createForOfIteratorHelper(values),
            _step122;

        try {
          for (_iterator122.s(); !(_step122 = _iterator122.n()).done;) {
            var value = _step122.value;
            ++index;

            if (value != null && (min > value || min === undefined && value >= value)) {
              min = value, minIndex = index;
            }
          }
        } catch (err) {
          _iterator122.e(err);
        } finally {
          _iterator122.f();
        }
      } else {
        var _iterator123 = _createForOfIteratorHelper(values),
            _step123;

        try {
          for (_iterator123.s(); !(_step123 = _iterator123.n()).done;) {
            var _value10 = _step123.value;

            if ((_value10 = valueof(_value10, ++index, values)) != null && (min > _value10 || min === undefined && _value10 >= _value10)) {
              min = _value10, minIndex = index;
            }
          }
        } catch (err) {
          _iterator123.e(err);
        } finally {
          _iterator123.f();
        }
      }

      return minIndex;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/nice.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-array/src/nice.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcNiceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return nice;
    });
    /* harmony import */


    var _ticks_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ticks.js */
    "./node_modules/d3-array/src/ticks.js");

    function nice(start, stop, count) {
      var prestep;

      while (true) {
        var step = Object(_ticks_js__WEBPACK_IMPORTED_MODULE_0__["tickIncrement"])(start, stop, count);

        if (step === prestep || step === 0 || !isFinite(step)) {
          return [start, stop];
        } else if (step > 0) {
          start = Math.floor(start / step) * step;
          stop = Math.ceil(stop / step) * step;
        } else if (step < 0) {
          start = Math.ceil(start * step) / step;
          stop = Math.floor(stop * step) / step;
        }

        prestep = step;
      }
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/number.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/number.js ***!
    \*********************************************/

  /*! exports provided: default, numbers */

  /***/
  function node_modulesD3ArraySrcNumberJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    var _marked2 = /*#__PURE__*/_regeneratorRuntime().mark(numbers);

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "numbers", function () {
      return numbers;
    });
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return x === null ? NaN : +x;
    };

    function numbers(values, valueof) {
      var _iterator124, _step124, value, index, _iterator125, _step125, _value11;

      return _regeneratorRuntime().wrap(function numbers$(_context2) {
        while (1) switch (_context2.prev = _context2.next) {
          case 0:
            if (!(valueof === undefined)) {
              _context2.next = 21;
              break;
            }

            _iterator124 = _createForOfIteratorHelper(values);
            _context2.prev = 2;

            _iterator124.s();

          case 4:
            if ((_step124 = _iterator124.n()).done) {
              _context2.next = 11;
              break;
            }

            value = _step124.value;

            if (!(value != null && (value = +value) >= value)) {
              _context2.next = 9;
              break;
            }

            _context2.next = 9;
            return value;

          case 9:
            _context2.next = 4;
            break;

          case 11:
            _context2.next = 16;
            break;

          case 13:
            _context2.prev = 13;
            _context2.t0 = _context2["catch"](2);

            _iterator124.e(_context2.t0);

          case 16:
            _context2.prev = 16;

            _iterator124.f();

            return _context2.finish(16);

          case 19:
            _context2.next = 40;
            break;

          case 21:
            index = -1;
            _iterator125 = _createForOfIteratorHelper(values);
            _context2.prev = 23;

            _iterator125.s();

          case 25:
            if ((_step125 = _iterator125.n()).done) {
              _context2.next = 32;
              break;
            }

            _value11 = _step125.value;

            if (!((_value11 = valueof(_value11, ++index, values)) != null && (_value11 = +_value11) >= _value11)) {
              _context2.next = 30;
              break;
            }

            _context2.next = 30;
            return _value11;

          case 30:
            _context2.next = 25;
            break;

          case 32:
            _context2.next = 37;
            break;

          case 34:
            _context2.prev = 34;
            _context2.t1 = _context2["catch"](23);

            _iterator125.e(_context2.t1);

          case 37:
            _context2.prev = 37;

            _iterator125.f();

            return _context2.finish(37);

          case 40:
          case "end":
            return _context2.stop();
        }
      }, _marked2, null, [[2, 13, 16, 19], [23, 34, 37, 40]]);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/pairs.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/pairs.js ***!
    \********************************************/

  /*! exports provided: default, pair */

  /***/
  function node_modulesD3ArraySrcPairsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return pairs;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "pair", function () {
      return pair;
    });

    function pairs(values) {
      var pairof = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : pair;
      var pairs = [];
      var previous;
      var first = false;

      var _iterator126 = _createForOfIteratorHelper(values),
          _step126;

      try {
        for (_iterator126.s(); !(_step126 = _iterator126.n()).done;) {
          var value = _step126.value;
          if (first) pairs.push(pairof(previous, value));
          previous = value;
          first = true;
        }
      } catch (err) {
        _iterator126.e(err);
      } finally {
        _iterator126.f();
      }

      return pairs;
    }

    function pair(a, b) {
      return [a, b];
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/permute.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-array/src/permute.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcPermuteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (source, keys) {
      return Array.from(keys, function (key) {
        return source[key];
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/quantile.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/quantile.js ***!
    \***********************************************/

  /*! exports provided: default, quantileSorted */

  /***/
  function node_modulesD3ArraySrcQuantileJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return quantile;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "quantileSorted", function () {
      return quantileSorted;
    });
    /* harmony import */


    var _max_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./max.js */
    "./node_modules/d3-array/src/max.js");
    /* harmony import */


    var _min_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./min.js */
    "./node_modules/d3-array/src/min.js");
    /* harmony import */


    var _quickselect_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./quickselect.js */
    "./node_modules/d3-array/src/quickselect.js");
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-array/src/number.js");

    function quantile(values, p, valueof) {
      values = Float64Array.from(Object(_number_js__WEBPACK_IMPORTED_MODULE_3__["numbers"])(values, valueof));
      if (!(n = values.length)) return;
      if ((p = +p) <= 0 || n < 2) return Object(_min_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values);
      if (p >= 1) return Object(_max_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values);
      var n,
          i = (n - 1) * p,
          i0 = Math.floor(i),
          value0 = Object(_max_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Object(_quickselect_js__WEBPACK_IMPORTED_MODULE_2__["default"])(values, i0).subarray(0, i0 + 1)),
          value1 = Object(_min_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values.subarray(i0 + 1));
      return value0 + (value1 - value0) * (i - i0);
    }

    function quantileSorted(values, p) {
      var valueof = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _number_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      if (!(n = values.length)) return;
      if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);
      if (p >= 1) return +valueof(values[n - 1], n - 1, values);
      var n,
          i = (n - 1) * p,
          i0 = Math.floor(i),
          value0 = +valueof(values[i0], i0, values),
          value1 = +valueof(values[i0 + 1], i0 + 1, values);
      return value0 + (value1 - value0) * (i - i0);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/quickselect.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-array/src/quickselect.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcQuickselectJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return quickselect;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js"); // Based on https://github.com/mourner/quickselect
    // ISC license, Copyright 2018 Vladimir Agafonkin.


    function quickselect(array, k) {
      var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
      var right = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : array.length - 1;
      var compare = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"];

      while (right > left) {
        if (right - left > 600) {
          var n = right - left + 1;
          var m = k - left + 1;
          var z = Math.log(n);
          var s = 0.5 * Math.exp(2 * z / 3);
          var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);
          var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));
          var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));
          quickselect(array, k, newLeft, newRight, compare);
        }

        var t = array[k];
        var _i39 = left;
        var j = right;
        swap(array, left, k);
        if (compare(array[right], t) > 0) swap(array, left, right);

        while (_i39 < j) {
          swap(array, _i39, j), ++_i39, --j;

          while (compare(array[_i39], t) < 0) ++_i39;

          while (compare(array[j], t) > 0) --j;
        }

        if (compare(array[left], t) === 0) swap(array, left, j);else ++j, swap(array, j, right);
        if (j <= k) left = j + 1;
        if (k <= j) right = j - 1;
      }

      return array;
    }

    function swap(array, i, j) {
      var t = array[i];
      array[i] = array[j];
      array[j] = t;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/range.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/range.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcRangeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (start, stop, step) {
      start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
      var i = -1,
          n = Math.max(0, Math.ceil((stop - start) / step)) | 0,
          range = new Array(n);

      while (++i < n) {
        range[i] = start + i * step;
      }

      return range;
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/reduce.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/reduce.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcReduceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return reduce;
    });

    function reduce(values, reducer, value) {
      if (typeof reducer !== "function") throw new TypeError("reducer is not a function");
      var iterator = values[Symbol.iterator]();
      var done,
          next,
          index = -1;

      if (arguments.length < 3) {
        var _iterator$next2 = iterator.next();

        done = _iterator$next2.done;
        value = _iterator$next2.value;
        if (done) return;
        ++index;
      }

      while ((_iterator$next3 = iterator.next(), done = _iterator$next3.done, next = _iterator$next3.value), !done) {
        var _iterator$next3;

        value = reducer(value, next, ++index, values);
      }

      return value;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/reverse.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-array/src/reverse.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcReverseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return reverse;
    });

    function reverse(values) {
      if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
      return Array.from(values).reverse();
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/scan.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-array/src/scan.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcScanJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return scan;
    });
    /* harmony import */


    var _leastIndex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./leastIndex.js */
    "./node_modules/d3-array/src/leastIndex.js");

    function scan(values, compare) {
      var index = Object(_leastIndex_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values, compare);
      return index < 0 ? undefined : index;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/set.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/set.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcSetJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return set;
    });

    function set(values) {
      return values instanceof Set ? values : new Set(values);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/shuffle.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-array/src/shuffle.js ***!
    \**********************************************/

  /*! exports provided: default, shuffler */

  /***/
  function node_modulesD3ArraySrcShuffleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "shuffler", function () {
      return shuffler;
    });
    /* harmony default export */


    __webpack_exports__["default"] = shuffler(Math.random);

    function shuffler(random) {
      return function shuffle(array) {
        var i0 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
        var i1 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : array.length;
        var m = i1 - (i0 = +i0);

        while (m) {
          var _i40 = random() * m-- | 0,
              t = array[m + i0];

          array[m + i0] = array[_i40 + i0];
          array[_i40 + i0] = t;
        }

        return array;
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/some.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-array/src/some.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcSomeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return some;
    });

    function some(values, test) {
      if (typeof test !== "function") throw new TypeError("test is not a function");
      var index = -1;

      var _iterator127 = _createForOfIteratorHelper(values),
          _step127;

      try {
        for (_iterator127.s(); !(_step127 = _iterator127.n()).done;) {
          var value = _step127.value;

          if (test(value, ++index, values)) {
            return true;
          }
        }
      } catch (err) {
        _iterator127.e(err);
      } finally {
        _iterator127.f();
      }

      return false;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/sort.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-array/src/sort.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcSortJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return sort;
    });
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-array/src/ascending.js");
    /* harmony import */


    var _permute_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./permute.js */
    "./node_modules/d3-array/src/permute.js");

    function sort(values) {
      for (var _len14 = arguments.length, F = new Array(_len14 > 1 ? _len14 - 1 : 0), _key16 = 1; _key16 < _len14; _key16++) {
        F[_key16 - 1] = arguments[_key16];
      }

      if (typeof values[Symbol.iterator] !== "function") throw new TypeError("values is not iterable");
      values = Array.from(values);

      var _F = F,
          _F2 = _slicedToArray(_F, 1),
          _F2$ = _F2[0],
          f = _F2$ === void 0 ? _ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"] : _F2$;

      if (f.length === 1 || F.length > 1) {
        var index = Uint32Array.from(values, function (d, i) {
          return i;
        });

        if (F.length > 1) {
          F = F.map(function (f) {
            return values.map(f);
          });
          index.sort(function (i, j) {
            var _iterator128 = _createForOfIteratorHelper(F),
                _step128;

            try {
              for (_iterator128.s(); !(_step128 = _iterator128.n()).done;) {
                var _f = _step128.value;
                var c = Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_f[i], _f[j]);
                if (c) return c;
              }
            } catch (err) {
              _iterator128.e(err);
            } finally {
              _iterator128.f();
            }
          });
        } else {
          f = values.map(f);
          index.sort(function (i, j) {
            return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(f[i], f[j]);
          });
        }

        return Object(_permute_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, index);
      }

      return values.sort(f);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/subset.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-array/src/subset.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcSubsetJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return subset;
    });
    /* harmony import */


    var _superset_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./superset.js */
    "./node_modules/d3-array/src/superset.js");

    function subset(values, other) {
      return Object(_superset_js__WEBPACK_IMPORTED_MODULE_0__["default"])(other, values);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/sum.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/sum.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcSumJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return sum;
    });

    function sum(values, valueof) {
      var sum = 0;

      if (valueof === undefined) {
        var _iterator129 = _createForOfIteratorHelper(values),
            _step129;

        try {
          for (_iterator129.s(); !(_step129 = _iterator129.n()).done;) {
            var value = _step129.value;

            if (value = +value) {
              sum += value;
            }
          }
        } catch (err) {
          _iterator129.e(err);
        } finally {
          _iterator129.f();
        }
      } else {
        var index = -1;

        var _iterator130 = _createForOfIteratorHelper(values),
            _step130;

        try {
          for (_iterator130.s(); !(_step130 = _iterator130.n()).done;) {
            var _value12 = _step130.value;

            if (_value12 = +valueof(_value12, ++index, values)) {
              sum += _value12;
            }
          }
        } catch (err) {
          _iterator130.e(err);
        } finally {
          _iterator130.f();
        }
      }

      return sum;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/superset.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/superset.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcSupersetJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return superset;
    });

    function superset(values, other) {
      var iterator = values[Symbol.iterator](),
          set = new Set();

      var _iterator131 = _createForOfIteratorHelper(other),
          _step131;

      try {
        for (_iterator131.s(); !(_step131 = _iterator131.n()).done;) {
          var o = _step131.value;
          if (set.has(o)) continue;
          var value = void 0,
              done = void 0;

          while (_iterator$next4 = iterator.next(), value = _iterator$next4.value, done = _iterator$next4.done, _iterator$next4) {
            var _iterator$next4;

            if (done) return false;
            set.add(value);
            if (Object.is(o, value)) break;
          }
        }
      } catch (err) {
        _iterator131.e(err);
      } finally {
        _iterator131.f();
      }

      return true;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/threshold/freedmanDiaconis.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/d3-array/src/threshold/freedmanDiaconis.js ***!
    \*****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcThresholdFreedmanDiaconisJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../count.js */
    "./node_modules/d3-array/src/count.js");
    /* harmony import */


    var _quantile_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../quantile.js */
    "./node_modules/d3-array/src/quantile.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (values, min, max) {
      return Math.ceil((max - min) / (2 * (Object(_quantile_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, 0.75) - Object(_quantile_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values, 0.25)) * Math.pow(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values), -1 / 3)));
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/threshold/scott.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-array/src/threshold/scott.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcThresholdScottJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../count.js */
    "./node_modules/d3-array/src/count.js");
    /* harmony import */


    var _deviation_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../deviation.js */
    "./node_modules/d3-array/src/deviation.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (values, min, max) {
      return Math.ceil((max - min) / (3.5 * Object(_deviation_js__WEBPACK_IMPORTED_MODULE_1__["default"])(values) * Math.pow(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values), -1 / 3)));
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/threshold/sturges.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-array/src/threshold/sturges.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcThresholdSturgesJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../count.js */
    "./node_modules/d3-array/src/count.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (values) {
      return Math.ceil(Math.log(Object(_count_js__WEBPACK_IMPORTED_MODULE_0__["default"])(values)) / Math.LN2) + 1;
    };
    /***/

  },

  /***/
  "./node_modules/d3-array/src/ticks.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/ticks.js ***!
    \********************************************/

  /*! exports provided: default, tickIncrement, tickStep */

  /***/
  function node_modulesD3ArraySrcTicksJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tickIncrement", function () {
      return tickIncrement;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tickStep", function () {
      return tickStep;
    });

    var e10 = Math.sqrt(50),
        e5 = Math.sqrt(10),
        e2 = Math.sqrt(2);
    /* harmony default export */

    __webpack_exports__["default"] = function (start, stop, count) {
      var reverse,
          i = -1,
          n,
          ticks,
          step;
      stop = +stop, start = +start, count = +count;
      if (start === stop && count > 0) return [start];
      if (reverse = stop < start) n = start, start = stop, stop = n;
      if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];

      if (step > 0) {
        var r0 = Math.round(start / step),
            r1 = Math.round(stop / step);
        if (r0 * step < start) ++r0;
        if (r1 * step > stop) --r1;
        ticks = new Array(n = r1 - r0 + 1);

        while (++i < n) ticks[i] = (r0 + i) * step;
      } else {
        step = -step;

        var _r6 = Math.round(start * step),
            _r7 = Math.round(stop * step);

        if (_r6 / step < start) ++_r6;
        if (_r7 / step > stop) --_r7;
        ticks = new Array(n = _r7 - _r6 + 1);

        while (++i < n) ticks[i] = (_r6 + i) / step;
      }

      if (reverse) ticks.reverse();
      return ticks;
    };

    function tickIncrement(start, stop, count) {
      var step = (stop - start) / Math.max(0, count),
          power = Math.floor(Math.log(step) / Math.LN10),
          error = step / Math.pow(10, power);
      return power >= 0 ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power) : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
    }

    function tickStep(start, stop, count) {
      var step0 = Math.abs(stop - start) / Math.max(0, count),
          step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
          error = step0 / step1;
      if (error >= e10) step1 *= 10;else if (error >= e5) step1 *= 5;else if (error >= e2) step1 *= 2;
      return stop < start ? -step1 : step1;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/transpose.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-array/src/transpose.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcTransposeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _min_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./min.js */
    "./node_modules/d3-array/src/min.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (matrix) {
      if (!(n = matrix.length)) return [];

      for (var i = -1, m = Object(_min_js__WEBPACK_IMPORTED_MODULE_0__["default"])(matrix, length), transpose = new Array(m); ++i < m;) {
        for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {
          row[j] = matrix[j][i];
        }
      }

      return transpose;
    };

    function length(d) {
      return d.length;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/union.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-array/src/union.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcUnionJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return union;
    });

    function union() {
      var set = new Set();

      for (var _len15 = arguments.length, others = new Array(_len15), _key17 = 0; _key17 < _len15; _key17++) {
        others[_key17] = arguments[_key17];
      }

      for (var _i41 = 0, _others2 = others; _i41 < _others2.length; _i41++) {
        var other = _others2[_i41];

        var _iterator132 = _createForOfIteratorHelper(other),
            _step132;

        try {
          for (_iterator132.s(); !(_step132 = _iterator132.n()).done;) {
            var o = _step132.value;
            set.add(o);
          }
        } catch (err) {
          _iterator132.e(err);
        } finally {
          _iterator132.f();
        }
      }

      return set;
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/variance.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-array/src/variance.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcVarianceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return variance;
    });

    function variance(values, valueof) {
      var count = 0;
      var delta;
      var mean = 0;
      var sum = 0;

      if (valueof === undefined) {
        var _iterator133 = _createForOfIteratorHelper(values),
            _step133;

        try {
          for (_iterator133.s(); !(_step133 = _iterator133.n()).done;) {
            var value = _step133.value;

            if (value != null && (value = +value) >= value) {
              delta = value - mean;
              mean += delta / ++count;
              sum += delta * (value - mean);
            }
          }
        } catch (err) {
          _iterator133.e(err);
        } finally {
          _iterator133.f();
        }
      } else {
        var index = -1;

        var _iterator134 = _createForOfIteratorHelper(values),
            _step134;

        try {
          for (_iterator134.s(); !(_step134 = _iterator134.n()).done;) {
            var _value13 = _step134.value;

            if ((_value13 = valueof(_value13, ++index, values)) != null && (_value13 = +_value13) >= _value13) {
              delta = _value13 - mean;
              mean += delta / ++count;
              sum += delta * (_value13 - mean);
            }
          }
        } catch (err) {
          _iterator134.e(err);
        } finally {
          _iterator134.f();
        }
      }

      if (count > 1) return sum / (count - 1);
    }
    /***/

  },

  /***/
  "./node_modules/d3-array/src/zip.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-array/src/zip.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ArraySrcZipJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _transpose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./transpose.js */
    "./node_modules/d3-array/src/transpose.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return Object(_transpose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(arguments);
    };
    /***/

  },

  /***/
  "./node_modules/d3-brush/src/brush.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-brush/src/brush.js ***!
    \********************************************/

  /*! exports provided: brushSelection, brushX, brushY, default */

  /***/
  function node_modulesD3BrushSrcBrushJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "brushSelection", function () {
      return brushSelection;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "brushX", function () {
      return brushX;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "brushY", function () {
      return brushY;
    });
    /* harmony import */


    var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-dispatch */
    "./node_modules/d3-dispatch/src/index.js");
    /* harmony import */


    var d3_drag__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-drag */
    "./node_modules/d3-drag/src/index.js");
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var d3_transition__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! d3-transition */
    "./node_modules/d3-transition/src/index.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-brush/src/constant.js");
    /* harmony import */


    var _event_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./event.js */
    "./node_modules/d3-brush/src/event.js");
    /* harmony import */


    var _noevent_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./noevent.js */
    "./node_modules/d3-brush/src/noevent.js");

    var MODE_DRAG = {
      name: "drag"
    },
        MODE_SPACE = {
      name: "space"
    },
        MODE_HANDLE = {
      name: "handle"
    },
        MODE_CENTER = {
      name: "center"
    };

    function number1(e) {
      return [+e[0], +e[1]];
    }

    function number2(e) {
      return [number1(e[0]), number1(e[1])];
    }

    function toucher(identifier) {
      return function (target) {
        return Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["touch"])(target, d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches, identifier);
      };
    }

    var X = {
      name: "x",
      handles: ["w", "e"].map(type),
      input: function input(x, e) {
        return x == null ? null : [[+x[0], e[0][1]], [+x[1], e[1][1]]];
      },
      output: function output(xy) {
        return xy && [xy[0][0], xy[1][0]];
      }
    };
    var Y = {
      name: "y",
      handles: ["n", "s"].map(type),
      input: function input(y, e) {
        return y == null ? null : [[e[0][0], +y[0]], [e[1][0], +y[1]]];
      },
      output: function output(xy) {
        return xy && [xy[0][1], xy[1][1]];
      }
    };
    var XY = {
      name: "xy",
      handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(type),
      input: function input(xy) {
        return xy == null ? null : number2(xy);
      },
      output: function output(xy) {
        return xy;
      }
    };
    var cursors = {
      overlay: "crosshair",
      selection: "move",
      n: "ns-resize",
      e: "ew-resize",
      s: "ns-resize",
      w: "ew-resize",
      nw: "nwse-resize",
      ne: "nesw-resize",
      se: "nwse-resize",
      sw: "nesw-resize"
    };
    var flipX = {
      e: "w",
      w: "e",
      nw: "ne",
      ne: "nw",
      se: "sw",
      sw: "se"
    };
    var flipY = {
      n: "s",
      s: "n",
      nw: "sw",
      ne: "se",
      se: "ne",
      sw: "nw"
    };
    var signsX = {
      overlay: +1,
      selection: +1,
      n: null,
      e: +1,
      s: null,
      w: -1,
      nw: -1,
      ne: +1,
      se: +1,
      sw: -1
    };
    var signsY = {
      overlay: +1,
      selection: +1,
      n: -1,
      e: null,
      s: +1,
      w: null,
      nw: -1,
      ne: -1,
      se: +1,
      sw: +1
    };

    function type(t) {
      return {
        type: t
      };
    } // Ignore right-click, since that should open the context menu.


    function defaultFilter() {
      return !d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].ctrlKey && !d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].button;
    }

    function defaultExtent() {
      var svg = this.ownerSVGElement || this;

      if (svg.hasAttribute("viewBox")) {
        svg = svg.viewBox.baseVal;
        return [[svg.x, svg.y], [svg.x + svg.width, svg.y + svg.height]];
      }

      return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]];
    }

    function defaultTouchable() {
      return navigator.maxTouchPoints || "ontouchstart" in this;
    } // Like d3.local, but with the name “__brush” rather than auto-generated.


    function local(node) {
      while (!node.__brush) if (!(node = node.parentNode)) return;

      return node.__brush;
    }

    function empty(extent) {
      return extent[0][0] === extent[1][0] || extent[0][1] === extent[1][1];
    }

    function brushSelection(node) {
      var state = node.__brush;
      return state ? state.dim.output(state.selection) : null;
    }

    function brushX() {
      return brush(X);
    }

    function brushY() {
      return brush(Y);
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return brush(XY);
    };

    function brush(dim) {
      var extent = defaultExtent,
          filter = defaultFilter,
          touchable = defaultTouchable,
          keys = true,
          listeners = Object(d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["dispatch"])("start", "brush", "end"),
          handleSize = 6,
          touchending;

      function brush(group) {
        var overlay = group.property("__brush", initialize).selectAll(".overlay").data([type("overlay")]);
        overlay.enter().append("rect").attr("class", "overlay").attr("pointer-events", "all").attr("cursor", cursors.overlay).merge(overlay).each(function () {
          var extent = local(this).extent;
          Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(this).attr("x", extent[0][0]).attr("y", extent[0][1]).attr("width", extent[1][0] - extent[0][0]).attr("height", extent[1][1] - extent[0][1]);
        });
        group.selectAll(".selection").data([type("selection")]).enter().append("rect").attr("class", "selection").attr("cursor", cursors.selection).attr("fill", "#777").attr("fill-opacity", 0.3).attr("stroke", "#fff").attr("shape-rendering", "crispEdges");
        var handle = group.selectAll(".handle").data(dim.handles, function (d) {
          return d.type;
        });
        handle.exit().remove();
        handle.enter().append("rect").attr("class", function (d) {
          return "handle handle--" + d.type;
        }).attr("cursor", function (d) {
          return cursors[d.type];
        });
        group.each(redraw).attr("fill", "none").attr("pointer-events", "all").on("mousedown.brush", started).filter(touchable).on("touchstart.brush", started).on("touchmove.brush", touchmoved).on("touchend.brush touchcancel.brush", touchended).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
      }

      brush.move = function (group, selection) {
        if (group.selection) {
          group.on("start.brush", function () {
            emitter(this, arguments).beforestart().start();
          }).on("interrupt.brush end.brush", function () {
            emitter(this, arguments).end();
          }).tween("brush", function () {
            var that = this,
                state = that.__brush,
                emit = emitter(that, arguments),
                selection0 = state.selection,
                selection1 = dim.input(typeof selection === "function" ? selection.apply(this, arguments) : selection, state.extent),
                i = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_2__["interpolate"])(selection0, selection1);

            function tween(t) {
              state.selection = t === 1 && selection1 === null ? null : i(t);
              redraw.call(that);
              emit.brush();
            }

            return selection0 !== null && selection1 !== null ? tween : tween(1);
          });
        } else {
          group.each(function () {
            var that = this,
                args = arguments,
                state = that.__brush,
                selection1 = dim.input(typeof selection === "function" ? selection.apply(that, args) : selection, state.extent),
                emit = emitter(that, args).beforestart();
            Object(d3_transition__WEBPACK_IMPORTED_MODULE_4__["interrupt"])(that);
            state.selection = selection1 === null ? null : selection1;
            redraw.call(that);
            emit.start().brush().end();
          });
        }
      };

      brush.clear = function (group) {
        brush.move(group, null);
      };

      function redraw() {
        var group = Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(this),
            selection = local(this).selection;

        if (selection) {
          group.selectAll(".selection").style("display", null).attr("x", selection[0][0]).attr("y", selection[0][1]).attr("width", selection[1][0] - selection[0][0]).attr("height", selection[1][1] - selection[0][1]);
          group.selectAll(".handle").style("display", null).attr("x", function (d) {
            return d.type[d.type.length - 1] === "e" ? selection[1][0] - handleSize / 2 : selection[0][0] - handleSize / 2;
          }).attr("y", function (d) {
            return d.type[0] === "s" ? selection[1][1] - handleSize / 2 : selection[0][1] - handleSize / 2;
          }).attr("width", function (d) {
            return d.type === "n" || d.type === "s" ? selection[1][0] - selection[0][0] + handleSize : handleSize;
          }).attr("height", function (d) {
            return d.type === "e" || d.type === "w" ? selection[1][1] - selection[0][1] + handleSize : handleSize;
          });
        } else {
          group.selectAll(".selection,.handle").style("display", "none").attr("x", null).attr("y", null).attr("width", null).attr("height", null);
        }
      }

      function emitter(that, args, clean) {
        var emit = that.__brush.emitter;
        return emit && (!clean || !emit.clean) ? emit : new Emitter(that, args, clean);
      }

      function Emitter(that, args, clean) {
        this.that = that;
        this.args = args;
        this.state = that.__brush;
        this.active = 0;
        this.clean = clean;
      }

      Emitter.prototype = {
        beforestart: function beforestart() {
          if (++this.active === 1) this.state.emitter = this, this.starting = true;
          return this;
        },
        start: function start() {
          if (this.starting) this.starting = false, this.emit("start");else this.emit("brush");
          return this;
        },
        brush: function brush() {
          this.emit("brush");
          return this;
        },
        end: function end() {
          if (--this.active === 0) delete this.state.emitter, this.emit("end");
          return this;
        },
        emit: function emit(type) {
          Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["customEvent"])(new _event_js__WEBPACK_IMPORTED_MODULE_6__["default"](brush, type, dim.output(this.state.selection)), listeners.apply, listeners, [type, this.that, this.args]);
        }
      };

      function started() {
        if (touchending && !d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches) return;
        if (!filter.apply(this, arguments)) return;
        var that = this,
            type = d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].target.__data__.type,
            mode = (keys && d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].metaKey ? type = "overlay" : type) === "selection" ? MODE_DRAG : keys && d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].altKey ? MODE_CENTER : MODE_HANDLE,
            signX = dim === Y ? null : signsX[type],
            signY = dim === X ? null : signsY[type],
            state = local(that),
            extent = state.extent,
            selection = state.selection,
            W = extent[0][0],
            w0,
            w1,
            N = extent[0][1],
            n0,
            n1,
            E = extent[1][0],
            e0,
            e1,
            S = extent[1][1],
            s0,
            s1,
            dx = 0,
            dy = 0,
            moving,
            shifting = signX && signY && keys && d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].shiftKey,
            lockX,
            lockY,
            pointer = d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches ? toucher(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].changedTouches[0].identifier) : d3_selection__WEBPACK_IMPORTED_MODULE_3__["mouse"],
            point0 = pointer(that),
            point = point0,
            emit = emitter(that, arguments, true).beforestart();

        if (type === "overlay") {
          if (selection) moving = true;
          state.selection = selection = [[w0 = dim === Y ? W : point0[0], n0 = dim === X ? N : point0[1]], [e0 = dim === Y ? E : w0, s0 = dim === X ? S : n0]];
        } else {
          w0 = selection[0][0];
          n0 = selection[0][1];
          e0 = selection[1][0];
          s0 = selection[1][1];
        }

        w1 = w0;
        n1 = n0;
        e1 = e0;
        s1 = s0;
        var group = Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(that).attr("pointer-events", "none");
        var overlay = group.selectAll(".overlay").attr("cursor", cursors[type]);

        if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches) {
          emit.moved = moved;
          emit.ended = ended;
        } else {
          var view = Object(d3_selection__WEBPACK_IMPORTED_MODULE_3__["select"])(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].view).on("mousemove.brush", moved, true).on("mouseup.brush", ended, true);
          if (keys) view.on("keydown.brush", keydowned, true).on("keyup.brush", keyupped, true);
          Object(d3_drag__WEBPACK_IMPORTED_MODULE_1__["dragDisable"])(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].view);
        }

        Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["nopropagation"])();
        Object(d3_transition__WEBPACK_IMPORTED_MODULE_4__["interrupt"])(that);
        redraw.call(that);
        emit.start();

        function moved() {
          var point1 = pointer(that);

          if (shifting && !lockX && !lockY) {
            if (Math.abs(point1[0] - point[0]) > Math.abs(point1[1] - point[1])) lockY = true;else lockX = true;
          }

          point = point1;
          moving = true;
          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
          move();
        }

        function move() {
          var t;
          dx = point[0] - point0[0];
          dy = point[1] - point0[1];

          switch (mode) {
            case MODE_SPACE:
            case MODE_DRAG:
              {
                if (signX) dx = Math.max(W - w0, Math.min(E - e0, dx)), w1 = w0 + dx, e1 = e0 + dx;
                if (signY) dy = Math.max(N - n0, Math.min(S - s0, dy)), n1 = n0 + dy, s1 = s0 + dy;
                break;
              }

            case MODE_HANDLE:
              {
                if (signX < 0) dx = Math.max(W - w0, Math.min(E - w0, dx)), w1 = w0 + dx, e1 = e0;else if (signX > 0) dx = Math.max(W - e0, Math.min(E - e0, dx)), w1 = w0, e1 = e0 + dx;
                if (signY < 0) dy = Math.max(N - n0, Math.min(S - n0, dy)), n1 = n0 + dy, s1 = s0;else if (signY > 0) dy = Math.max(N - s0, Math.min(S - s0, dy)), n1 = n0, s1 = s0 + dy;
                break;
              }

            case MODE_CENTER:
              {
                if (signX) w1 = Math.max(W, Math.min(E, w0 - dx * signX)), e1 = Math.max(W, Math.min(E, e0 + dx * signX));
                if (signY) n1 = Math.max(N, Math.min(S, n0 - dy * signY)), s1 = Math.max(N, Math.min(S, s0 + dy * signY));
                break;
              }
          }

          if (e1 < w1) {
            signX *= -1;
            t = w0, w0 = e0, e0 = t;
            t = w1, w1 = e1, e1 = t;
            if (type in flipX) overlay.attr("cursor", cursors[type = flipX[type]]);
          }

          if (s1 < n1) {
            signY *= -1;
            t = n0, n0 = s0, s0 = t;
            t = n1, n1 = s1, s1 = t;
            if (type in flipY) overlay.attr("cursor", cursors[type = flipY[type]]);
          }

          if (state.selection) selection = state.selection; // May be set by brush.move!

          if (lockX) w1 = selection[0][0], e1 = selection[1][0];
          if (lockY) n1 = selection[0][1], s1 = selection[1][1];

          if (selection[0][0] !== w1 || selection[0][1] !== n1 || selection[1][0] !== e1 || selection[1][1] !== s1) {
            state.selection = [[w1, n1], [e1, s1]];
            redraw.call(that);
            emit.brush();
          }
        }

        function ended() {
          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["nopropagation"])();

          if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches) {
            if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].touches.length) return;
            if (touchending) clearTimeout(touchending);
            touchending = setTimeout(function () {
              touchending = null;
            }, 500); // Ghost clicks are delayed!
          } else {
            Object(d3_drag__WEBPACK_IMPORTED_MODULE_1__["dragEnable"])(d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].view, moving);
            view.on("keydown.brush keyup.brush mousemove.brush mouseup.brush", null);
          }

          group.attr("pointer-events", "all");
          overlay.attr("cursor", cursors.overlay);
          if (state.selection) selection = state.selection; // May be set by brush.move (on start)!

          if (empty(selection)) state.selection = null, redraw.call(that);
          emit.end();
        }

        function keydowned() {
          switch (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].keyCode) {
            case 16:
              {
                // SHIFT
                shifting = signX && signY;
                break;
              }

            case 18:
              {
                // ALT
                if (mode === MODE_HANDLE) {
                  if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;
                  if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;
                  mode = MODE_CENTER;
                  move();
                }

                break;
              }

            case 32:
              {
                // SPACE; takes priority over ALT
                if (mode === MODE_HANDLE || mode === MODE_CENTER) {
                  if (signX < 0) e0 = e1 - dx;else if (signX > 0) w0 = w1 - dx;
                  if (signY < 0) s0 = s1 - dy;else if (signY > 0) n0 = n1 - dy;
                  mode = MODE_SPACE;
                  overlay.attr("cursor", cursors.selection);
                  move();
                }

                break;
              }

            default:
              return;
          }

          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
        }

        function keyupped() {
          switch (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].keyCode) {
            case 16:
              {
                // SHIFT
                if (shifting) {
                  lockX = lockY = shifting = false;
                  move();
                }

                break;
              }

            case 18:
              {
                // ALT
                if (mode === MODE_CENTER) {
                  if (signX < 0) e0 = e1;else if (signX > 0) w0 = w1;
                  if (signY < 0) s0 = s1;else if (signY > 0) n0 = n1;
                  mode = MODE_HANDLE;
                  move();
                }

                break;
              }

            case 32:
              {
                // SPACE
                if (mode === MODE_SPACE) {
                  if (d3_selection__WEBPACK_IMPORTED_MODULE_3__["event"].altKey) {
                    if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;
                    if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;
                    mode = MODE_CENTER;
                  } else {
                    if (signX < 0) e0 = e1;else if (signX > 0) w0 = w1;
                    if (signY < 0) s0 = s1;else if (signY > 0) n0 = n1;
                    mode = MODE_HANDLE;
                  }

                  overlay.attr("cursor", cursors[type]);
                  move();
                }

                break;
              }

            default:
              return;
          }

          Object(_noevent_js__WEBPACK_IMPORTED_MODULE_7__["default"])();
        }
      }

      function touchmoved() {
        emitter(this, arguments).moved();
      }

      function touchended() {
        emitter(this, arguments).ended();
      }

      function initialize() {
        var state = this.__brush || {
          selection: null
        };
        state.extent = number2(extent.apply(this, arguments));
        state.dim = dim;
        return state;
      }

      brush.extent = function (_) {
        return arguments.length ? (extent = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_5__["default"])(number2(_)), brush) : extent;
      };

      brush.filter = function (_) {
        return arguments.length ? (filter = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_5__["default"])(!!_), brush) : filter;
      };

      brush.touchable = function (_) {
        return arguments.length ? (touchable = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_5__["default"])(!!_), brush) : touchable;
      };

      brush.handleSize = function (_) {
        return arguments.length ? (handleSize = +_, brush) : handleSize;
      };

      brush.keyModifiers = function (_) {
        return arguments.length ? (keys = !!_, brush) : keys;
      };

      brush.on = function () {
        var value = listeners.on.apply(listeners, arguments);
        return value === listeners ? brush : value;
      };

      return brush;
    }
    /***/

  },

  /***/
  "./node_modules/d3-brush/src/constant.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-brush/src/constant.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3BrushSrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function () {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-brush/src/event.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-brush/src/event.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3BrushSrcEventJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (target, type, selection) {
      this.target = target;
      this.type = type;
      this.selection = selection;
    };
    /***/

  },

  /***/
  "./node_modules/d3-brush/src/index.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-brush/src/index.js ***!
    \********************************************/

  /*! exports provided: brush, brushX, brushY, brushSelection */

  /***/
  function node_modulesD3BrushSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _brush_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./brush.js */
    "./node_modules/d3-brush/src/brush.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "brush", function () {
      return _brush_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "brushX", function () {
      return _brush_js__WEBPACK_IMPORTED_MODULE_0__["brushX"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "brushY", function () {
      return _brush_js__WEBPACK_IMPORTED_MODULE_0__["brushY"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "brushSelection", function () {
      return _brush_js__WEBPACK_IMPORTED_MODULE_0__["brushSelection"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-brush/src/noevent.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-brush/src/noevent.js ***!
    \**********************************************/

  /*! exports provided: nopropagation, default */

  /***/
  function node_modulesD3BrushSrcNoeventJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "nopropagation", function () {
      return nopropagation;
    });
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");

    function nopropagation() {
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].preventDefault();
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
    };
    /***/

  },

  /***/
  "./node_modules/d3-color/src/color.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-color/src/color.js ***!
    \********************************************/

  /*! exports provided: Color, darker, brighter, default, rgbConvert, rgb, Rgb, hslConvert, hsl */

  /***/
  function node_modulesD3ColorSrcColorJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Color", function () {
      return Color;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "darker", function () {
      return _darker;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "brighter", function () {
      return _brighter;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return color;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rgbConvert", function () {
      return rgbConvert;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rgb", function () {
      return rgb;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Rgb", function () {
      return Rgb;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hslConvert", function () {
      return hslConvert;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hsl", function () {
      return hsl;
    });
    /* harmony import */


    var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./define.js */
    "./node_modules/d3-color/src/define.js");

    function Color() {}

    var _darker = 0.7;

    var _brighter = 1 / _darker;

    var reI = "\\s*([+-]?\\d+)\\s*",
        reN = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",
        reP = "\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",
        reHex = /^#([0-9a-f]{3,8})$/,
        reRgbInteger = new RegExp("^rgb\\(" + [reI, reI, reI] + "\\)$"),
        reRgbPercent = new RegExp("^rgb\\(" + [reP, reP, reP] + "\\)$"),
        reRgbaInteger = new RegExp("^rgba\\(" + [reI, reI, reI, reN] + "\\)$"),
        reRgbaPercent = new RegExp("^rgba\\(" + [reP, reP, reP, reN] + "\\)$"),
        reHslPercent = new RegExp("^hsl\\(" + [reN, reP, reP] + "\\)$"),
        reHslaPercent = new RegExp("^hsla\\(" + [reN, reP, reP, reN] + "\\)$");
    var named = {
      aliceblue: 0xf0f8ff,
      antiquewhite: 0xfaebd7,
      aqua: 0x00ffff,
      aquamarine: 0x7fffd4,
      azure: 0xf0ffff,
      beige: 0xf5f5dc,
      bisque: 0xffe4c4,
      black: 0x000000,
      blanchedalmond: 0xffebcd,
      blue: 0x0000ff,
      blueviolet: 0x8a2be2,
      brown: 0xa52a2a,
      burlywood: 0xdeb887,
      cadetblue: 0x5f9ea0,
      chartreuse: 0x7fff00,
      chocolate: 0xd2691e,
      coral: 0xff7f50,
      cornflowerblue: 0x6495ed,
      cornsilk: 0xfff8dc,
      crimson: 0xdc143c,
      cyan: 0x00ffff,
      darkblue: 0x00008b,
      darkcyan: 0x008b8b,
      darkgoldenrod: 0xb8860b,
      darkgray: 0xa9a9a9,
      darkgreen: 0x006400,
      darkgrey: 0xa9a9a9,
      darkkhaki: 0xbdb76b,
      darkmagenta: 0x8b008b,
      darkolivegreen: 0x556b2f,
      darkorange: 0xff8c00,
      darkorchid: 0x9932cc,
      darkred: 0x8b0000,
      darksalmon: 0xe9967a,
      darkseagreen: 0x8fbc8f,
      darkslateblue: 0x483d8b,
      darkslategray: 0x2f4f4f,
      darkslategrey: 0x2f4f4f,
      darkturquoise: 0x00ced1,
      darkviolet: 0x9400d3,
      deeppink: 0xff1493,
      deepskyblue: 0x00bfff,
      dimgray: 0x696969,
      dimgrey: 0x696969,
      dodgerblue: 0x1e90ff,
      firebrick: 0xb22222,
      floralwhite: 0xfffaf0,
      forestgreen: 0x228b22,
      fuchsia: 0xff00ff,
      gainsboro: 0xdcdcdc,
      ghostwhite: 0xf8f8ff,
      gold: 0xffd700,
      goldenrod: 0xdaa520,
      gray: 0x808080,
      green: 0x008000,
      greenyellow: 0xadff2f,
      grey: 0x808080,
      honeydew: 0xf0fff0,
      hotpink: 0xff69b4,
      indianred: 0xcd5c5c,
      indigo: 0x4b0082,
      ivory: 0xfffff0,
      khaki: 0xf0e68c,
      lavender: 0xe6e6fa,
      lavenderblush: 0xfff0f5,
      lawngreen: 0x7cfc00,
      lemonchiffon: 0xfffacd,
      lightblue: 0xadd8e6,
      lightcoral: 0xf08080,
      lightcyan: 0xe0ffff,
      lightgoldenrodyellow: 0xfafad2,
      lightgray: 0xd3d3d3,
      lightgreen: 0x90ee90,
      lightgrey: 0xd3d3d3,
      lightpink: 0xffb6c1,
      lightsalmon: 0xffa07a,
      lightseagreen: 0x20b2aa,
      lightskyblue: 0x87cefa,
      lightslategray: 0x778899,
      lightslategrey: 0x778899,
      lightsteelblue: 0xb0c4de,
      lightyellow: 0xffffe0,
      lime: 0x00ff00,
      limegreen: 0x32cd32,
      linen: 0xfaf0e6,
      magenta: 0xff00ff,
      maroon: 0x800000,
      mediumaquamarine: 0x66cdaa,
      mediumblue: 0x0000cd,
      mediumorchid: 0xba55d3,
      mediumpurple: 0x9370db,
      mediumseagreen: 0x3cb371,
      mediumslateblue: 0x7b68ee,
      mediumspringgreen: 0x00fa9a,
      mediumturquoise: 0x48d1cc,
      mediumvioletred: 0xc71585,
      midnightblue: 0x191970,
      mintcream: 0xf5fffa,
      mistyrose: 0xffe4e1,
      moccasin: 0xffe4b5,
      navajowhite: 0xffdead,
      navy: 0x000080,
      oldlace: 0xfdf5e6,
      olive: 0x808000,
      olivedrab: 0x6b8e23,
      orange: 0xffa500,
      orangered: 0xff4500,
      orchid: 0xda70d6,
      palegoldenrod: 0xeee8aa,
      palegreen: 0x98fb98,
      paleturquoise: 0xafeeee,
      palevioletred: 0xdb7093,
      papayawhip: 0xffefd5,
      peachpuff: 0xffdab9,
      peru: 0xcd853f,
      pink: 0xffc0cb,
      plum: 0xdda0dd,
      powderblue: 0xb0e0e6,
      purple: 0x800080,
      rebeccapurple: 0x663399,
      red: 0xff0000,
      rosybrown: 0xbc8f8f,
      royalblue: 0x4169e1,
      saddlebrown: 0x8b4513,
      salmon: 0xfa8072,
      sandybrown: 0xf4a460,
      seagreen: 0x2e8b57,
      seashell: 0xfff5ee,
      sienna: 0xa0522d,
      silver: 0xc0c0c0,
      skyblue: 0x87ceeb,
      slateblue: 0x6a5acd,
      slategray: 0x708090,
      slategrey: 0x708090,
      snow: 0xfffafa,
      springgreen: 0x00ff7f,
      steelblue: 0x4682b4,
      tan: 0xd2b48c,
      teal: 0x008080,
      thistle: 0xd8bfd8,
      tomato: 0xff6347,
      turquoise: 0x40e0d0,
      violet: 0xee82ee,
      wheat: 0xf5deb3,
      white: 0xffffff,
      whitesmoke: 0xf5f5f5,
      yellow: 0xffff00,
      yellowgreen: 0x9acd32
    };
    Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Color, color, {
      copy: function copy(channels) {
        return Object.assign(new this.constructor(), this, channels);
      },
      displayable: function displayable() {
        return this.rgb().displayable();
      },
      hex: color_formatHex,
      // Deprecated! Use color.formatHex.
      formatHex: color_formatHex,
      formatHsl: color_formatHsl,
      formatRgb: color_formatRgb,
      toString: color_formatRgb
    });

    function color_formatHex() {
      return this.rgb().formatHex();
    }

    function color_formatHsl() {
      return hslConvert(this).formatHsl();
    }

    function color_formatRgb() {
      return this.rgb().formatRgb();
    }

    function color(format) {
      var m, l;
      format = (format + "").trim().toLowerCase();
      return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000
      : l === 3 ? new Rgb(m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, (m & 0xf) << 4 | m & 0xf, 1) // #f00
      : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000
      : l === 4 ? rgba(m >> 12 & 0xf | m >> 8 & 0xf0, m >> 8 & 0xf | m >> 4 & 0xf0, m >> 4 & 0xf | m & 0xf0, ((m & 0xf) << 4 | m & 0xf) / 0xff) // #f000
      : null // invalid hex
      ) : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)
      : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)
      : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)
      : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)
      : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)
      : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)
      : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins
      : format === "transparent" ? new Rgb(NaN, NaN, NaN, 0) : null;
    }

    function rgbn(n) {
      return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);
    }

    function rgba(r, g, b, a) {
      if (a <= 0) r = g = b = NaN;
      return new Rgb(r, g, b, a);
    }

    function rgbConvert(o) {
      if (!(o instanceof Color)) o = color(o);
      if (!o) return new Rgb();
      o = o.rgb();
      return new Rgb(o.r, o.g, o.b, o.opacity);
    }

    function rgb(r, g, b, opacity) {
      return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);
    }

    function Rgb(r, g, b, opacity) {
      this.r = +r;
      this.g = +g;
      this.b = +b;
      this.opacity = +opacity;
    }

    Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Rgb, rgb, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(Color, {
      brighter: function brighter(k) {
        k = k == null ? _brighter : Math.pow(_brighter, k);
        return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
      },
      darker: function darker(k) {
        k = k == null ? _darker : Math.pow(_darker, k);
        return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);
      },
      rgb: function rgb() {
        return this;
      },
      displayable: function displayable() {
        return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
      },
      hex: rgb_formatHex,
      // Deprecated! Use color.formatHex.
      formatHex: rgb_formatHex,
      formatRgb: rgb_formatRgb,
      toString: rgb_formatRgb
    }));

    function rgb_formatHex() {
      return "#" + hex(this.r) + hex(this.g) + hex(this.b);
    }

    function rgb_formatRgb() {
      var a = this.opacity;
      a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
      return (a === 1 ? "rgb(" : "rgba(") + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + ", " + Math.max(0, Math.min(255, Math.round(this.b) || 0)) + (a === 1 ? ")" : ", " + a + ")");
    }

    function hex(value) {
      value = Math.max(0, Math.min(255, Math.round(value) || 0));
      return (value < 16 ? "0" : "") + value.toString(16);
    }

    function hsla(h, s, l, a) {
      if (a <= 0) h = s = l = NaN;else if (l <= 0 || l >= 1) h = s = NaN;else if (s <= 0) h = NaN;
      return new Hsl(h, s, l, a);
    }

    function hslConvert(o) {
      if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);
      if (!(o instanceof Color)) o = color(o);
      if (!o) return new Hsl();
      if (o instanceof Hsl) return o;
      o = o.rgb();
      var r = o.r / 255,
          g = o.g / 255,
          b = o.b / 255,
          min = Math.min(r, g, b),
          max = Math.max(r, g, b),
          h = NaN,
          s = max - min,
          l = (max + min) / 2;

      if (s) {
        if (r === max) h = (g - b) / s + (g < b) * 6;else if (g === max) h = (b - r) / s + 2;else h = (r - g) / s + 4;
        s /= l < 0.5 ? max + min : 2 - max - min;
        h *= 60;
      } else {
        s = l > 0 && l < 1 ? 0 : h;
      }

      return new Hsl(h, s, l, o.opacity);
    }

    function hsl(h, s, l, opacity) {
      return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
    }

    function Hsl(h, s, l, opacity) {
      this.h = +h;
      this.s = +s;
      this.l = +l;
      this.opacity = +opacity;
    }

    Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hsl, hsl, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(Color, {
      brighter: function brighter(k) {
        k = k == null ? _brighter : Math.pow(_brighter, k);
        return new Hsl(this.h, this.s, this.l * k, this.opacity);
      },
      darker: function darker(k) {
        k = k == null ? _darker : Math.pow(_darker, k);
        return new Hsl(this.h, this.s, this.l * k, this.opacity);
      },
      rgb: function rgb() {
        var h = this.h % 360 + (this.h < 0) * 360,
            s = isNaN(h) || isNaN(this.s) ? 0 : this.s,
            l = this.l,
            m2 = l + (l < 0.5 ? l : 1 - l) * s,
            m1 = 2 * l - m2;
        return new Rgb(hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2), hsl2rgb(h, m1, m2), hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2), this.opacity);
      },
      displayable: function displayable() {
        return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
      },
      formatHsl: function formatHsl() {
        var a = this.opacity;
        a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));
        return (a === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a === 1 ? ")" : ", " + a + ")");
      }
    }));
    /* From FvD 13.37, CSS Color Module Level 3 */

    function hsl2rgb(h, m1, m2) {
      return (h < 60 ? m1 + (m2 - m1) * h / 60 : h < 180 ? m2 : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60 : m1) * 255;
    }
    /***/

  },

  /***/
  "./node_modules/d3-color/src/cubehelix.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-color/src/cubehelix.js ***!
    \************************************************/

  /*! exports provided: default, Cubehelix */

  /***/
  function node_modulesD3ColorSrcCubehelixJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return cubehelix;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Cubehelix", function () {
      return Cubehelix;
    });
    /* harmony import */


    var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./define.js */
    "./node_modules/d3-color/src/define.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-color/src/color.js");
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./math.js */
    "./node_modules/d3-color/src/math.js");

    var A = -0.14861,
        B = +1.78277,
        C = -0.29227,
        D = -0.90649,
        E = +1.97294,
        ED = E * D,
        EB = E * B,
        BC_DA = B * C - D * A;

    function cubehelixConvert(o) {
      if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);
      if (!(o instanceof _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"])) o = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["rgbConvert"])(o);
      var r = o.r / 255,
          g = o.g / 255,
          b = o.b / 255,
          l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),
          bl = b - l,
          k = (E * (g - l) - C * bl) / D,
          s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)),
          // NaN if l=0 or l=1
      h = s ? Math.atan2(k, bl) * _math_js__WEBPACK_IMPORTED_MODULE_2__["rad2deg"] - 120 : NaN;
      return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
    }

    function cubehelix(h, s, l, opacity) {
      return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
    }

    function Cubehelix(h, s, l, opacity) {
      this.h = +h;
      this.s = +s;
      this.l = +l;
      this.opacity = +opacity;
    }

    Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Cubehelix, cubehelix, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(_color_js__WEBPACK_IMPORTED_MODULE_1__["Color"], {
      brighter: function brighter(k) {
        k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_1__["brighter"] : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_1__["brighter"], k);
        return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
      },
      darker: function darker(k) {
        k = k == null ? _color_js__WEBPACK_IMPORTED_MODULE_1__["darker"] : Math.pow(_color_js__WEBPACK_IMPORTED_MODULE_1__["darker"], k);
        return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
      },
      rgb: function rgb() {
        var h = isNaN(this.h) ? 0 : (this.h + 120) * _math_js__WEBPACK_IMPORTED_MODULE_2__["deg2rad"],
            l = +this.l,
            a = isNaN(this.s) ? 0 : this.s * l * (1 - l),
            cosh = Math.cos(h),
            sinh = Math.sin(h);
        return new _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"](255 * (l + a * (A * cosh + B * sinh)), 255 * (l + a * (C * cosh + D * sinh)), 255 * (l + a * (E * cosh)), this.opacity);
      }
    }));
    /***/
  },

  /***/
  "./node_modules/d3-color/src/define.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-color/src/define.js ***!
    \*********************************************/

  /*! exports provided: default, extend */

  /***/
  function node_modulesD3ColorSrcDefineJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "extend", function () {
      return extend;
    });
    /* harmony default export */


    __webpack_exports__["default"] = function (constructor, factory, prototype) {
      constructor.prototype = factory.prototype = prototype;
      prototype.constructor = constructor;
    };

    function extend(parent, definition) {
      var prototype = Object.create(parent.prototype);

      for (var key in definition) prototype[key] = definition[key];

      return prototype;
    }
    /***/

  },

  /***/
  "./node_modules/d3-color/src/index.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-color/src/index.js ***!
    \********************************************/

  /*! exports provided: color, rgb, hsl, lab, hcl, lch, gray, cubehelix */

  /***/
  function node_modulesD3ColorSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-color/src/color.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "color", function () {
      return _color_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "rgb", function () {
      return _color_js__WEBPACK_IMPORTED_MODULE_0__["rgb"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "hsl", function () {
      return _color_js__WEBPACK_IMPORTED_MODULE_0__["hsl"];
    });
    /* harmony import */


    var _lab_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./lab.js */
    "./node_modules/d3-color/src/lab.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "lab", function () {
      return _lab_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "hcl", function () {
      return _lab_js__WEBPACK_IMPORTED_MODULE_1__["hcl"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "lch", function () {
      return _lab_js__WEBPACK_IMPORTED_MODULE_1__["lch"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "gray", function () {
      return _lab_js__WEBPACK_IMPORTED_MODULE_1__["gray"];
    });
    /* harmony import */


    var _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./cubehelix.js */
    "./node_modules/d3-color/src/cubehelix.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "cubehelix", function () {
      return _cubehelix_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-color/src/lab.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-color/src/lab.js ***!
    \******************************************/

  /*! exports provided: gray, default, Lab, lch, hcl, Hcl */

  /***/
  function node_modulesD3ColorSrcLabJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "gray", function () {
      return gray;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return lab;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Lab", function () {
      return Lab;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "lch", function () {
      return lch;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hcl", function () {
      return hcl;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Hcl", function () {
      return Hcl;
    });
    /* harmony import */


    var _define_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./define.js */
    "./node_modules/d3-color/src/define.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-color/src/color.js");
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./math.js */
    "./node_modules/d3-color/src/math.js"); // https://observablehq.com/@mbostock/lab-and-rgb


    var K = 18,
        Xn = 0.96422,
        Yn = 1,
        Zn = 0.82521,
        t0 = 4 / 29,
        t1 = 6 / 29,
        t2 = 3 * t1 * t1,
        t3 = t1 * t1 * t1;

    function labConvert(o) {
      if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);
      if (o instanceof Hcl) return hcl2lab(o);
      if (!(o instanceof _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"])) o = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["rgbConvert"])(o);
      var r = rgb2lrgb(o.r),
          g = rgb2lrgb(o.g),
          b = rgb2lrgb(o.b),
          y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn),
          x,
          z;
      if (r === g && g === b) x = z = y;else {
        x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);
        z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);
      }
      return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);
    }

    function gray(l, opacity) {
      return new Lab(l, 0, 0, opacity == null ? 1 : opacity);
    }

    function lab(l, a, b, opacity) {
      return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
    }

    function Lab(l, a, b, opacity) {
      this.l = +l;
      this.a = +a;
      this.b = +b;
      this.opacity = +opacity;
    }

    Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Lab, lab, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(_color_js__WEBPACK_IMPORTED_MODULE_1__["Color"], {
      brighter: function brighter(k) {
        return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);
      },
      darker: function darker(k) {
        return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);
      },
      rgb: function rgb() {
        var y = (this.l + 16) / 116,
            x = isNaN(this.a) ? y : y + this.a / 500,
            z = isNaN(this.b) ? y : y - this.b / 200;
        x = Xn * lab2xyz(x);
        y = Yn * lab2xyz(y);
        z = Zn * lab2xyz(z);
        return new _color_js__WEBPACK_IMPORTED_MODULE_1__["Rgb"](lrgb2rgb(3.1338561 * x - 1.6168667 * y - 0.4906146 * z), lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z), lrgb2rgb(0.0719453 * x - 0.2289914 * y + 1.4052427 * z), this.opacity);
      }
    }));

    function xyz2lab(t) {
      return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;
    }

    function lab2xyz(t) {
      return t > t1 ? t * t * t : t2 * (t - t0);
    }

    function lrgb2rgb(x) {
      return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);
    }

    function rgb2lrgb(x) {
      return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);
    }

    function hclConvert(o) {
      if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);
      if (!(o instanceof Lab)) o = labConvert(o);
      if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);

      var h = Math.atan2(o.b, o.a) * _math_js__WEBPACK_IMPORTED_MODULE_2__["rad2deg"];

      return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);
    }

    function lch(l, c, h, opacity) {
      return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
    }

    function hcl(h, c, l, opacity) {
      return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
    }

    function Hcl(h, c, l, opacity) {
      this.h = +h;
      this.c = +c;
      this.l = +l;
      this.opacity = +opacity;
    }

    function hcl2lab(o) {
      if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);
      var h = o.h * _math_js__WEBPACK_IMPORTED_MODULE_2__["deg2rad"];
      return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
    }

    Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Hcl, hcl, Object(_define_js__WEBPACK_IMPORTED_MODULE_0__["extend"])(_color_js__WEBPACK_IMPORTED_MODULE_1__["Color"], {
      brighter: function brighter(k) {
        return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
      },
      darker: function darker(k) {
        return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);
      },
      rgb: function rgb() {
        return hcl2lab(this).rgb();
      }
    }));
    /***/
  },

  /***/
  "./node_modules/d3-color/src/math.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-color/src/math.js ***!
    \*******************************************/

  /*! exports provided: deg2rad, rad2deg */

  /***/
  function node_modulesD3ColorSrcMathJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "deg2rad", function () {
      return deg2rad;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rad2deg", function () {
      return rad2deg;
    });

    var deg2rad = Math.PI / 180;
    var rad2deg = 180 / Math.PI;
    /***/
  },

  /***/
  "./node_modules/d3-dispatch/src/dispatch.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-dispatch/src/dispatch.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3DispatchSrcDispatchJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var noop = {
      value: function value() {}
    };

    function dispatch() {
      for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {
        if (!(t = arguments[i] + "") || t in _ || /[\s.]/.test(t)) throw new Error("illegal type: " + t);
        _[t] = [];
      }

      return new Dispatch(_);
    }

    function Dispatch(_) {
      this._ = _;
    }

    function parseTypenames(typenames, types) {
      return typenames.trim().split(/^|\s+/).map(function (t) {
        var name = "",
            i = t.indexOf(".");
        if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
        if (t && !types.hasOwnProperty(t)) throw new Error("unknown type: " + t);
        return {
          type: t,
          name: name
        };
      });
    }

    Dispatch.prototype = dispatch.prototype = {
      constructor: Dispatch,
      on: function on(typename, callback) {
        var _ = this._,
            T = parseTypenames(typename + "", _),
            t,
            i = -1,
            n = T.length; // If no callback was specified, return the callback of the given type and name.

        if (arguments.length < 2) {
          while (++i < n) if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t;

          return;
        } // If a type was specified, set the callback for the given type and name.
        // Otherwise, if a null callback was specified, remove callbacks of the given name.


        if (callback != null && typeof callback !== "function") throw new Error("invalid callback: " + callback);

        while (++i < n) {
          if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback);else if (callback == null) for (t in _) _[t] = set(_[t], typename.name, null);
        }

        return this;
      },
      copy: function copy() {
        var copy = {},
            _ = this._;

        for (var t in _) copy[t] = _[t].slice();

        return new Dispatch(copy);
      },
      call: function call(type, that) {
        if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];
        if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);

        for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);
      },
      apply: function apply(type, that, args) {
        if (!this._.hasOwnProperty(type)) throw new Error("unknown type: " + type);

        for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);
      }
    };

    function get(type, name) {
      for (var i = 0, n = type.length, c; i < n; ++i) {
        if ((c = type[i]).name === name) {
          return c.value;
        }
      }
    }

    function set(type, name, callback) {
      for (var i = 0, n = type.length; i < n; ++i) {
        if (type[i].name === name) {
          type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));
          break;
        }
      }

      if (callback != null) type.push({
        name: name,
        value: callback
      });
      return type;
    }
    /* harmony default export */


    __webpack_exports__["default"] = dispatch;
    /***/
  },

  /***/
  "./node_modules/d3-dispatch/src/index.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-dispatch/src/index.js ***!
    \***********************************************/

  /*! exports provided: dispatch */

  /***/
  function node_modulesD3DispatchSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _dispatch_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./dispatch.js */
    "./node_modules/d3-dispatch/src/dispatch.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "dispatch", function () {
      return _dispatch_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-drag/src/constant.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-drag/src/constant.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3DragSrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function () {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-drag/src/drag.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-drag/src/drag.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3DragSrcDragJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-dispatch */
    "./node_modules/d3-dispatch/src/index.js");
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _nodrag_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./nodrag.js */
    "./node_modules/d3-drag/src/nodrag.js");
    /* harmony import */


    var _noevent_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./noevent.js */
    "./node_modules/d3-drag/src/noevent.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-drag/src/constant.js");
    /* harmony import */


    var _event_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./event.js */
    "./node_modules/d3-drag/src/event.js"); // Ignore right-click, since that should open the context menu.


    function defaultFilter() {
      return !d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].ctrlKey && !d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].button;
    }

    function defaultContainer() {
      return this.parentNode;
    }

    function defaultSubject(d) {
      return d == null ? {
        x: d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].x,
        y: d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].y
      } : d;
    }

    function defaultTouchable() {
      return navigator.maxTouchPoints || "ontouchstart" in this;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var filter = defaultFilter,
          container = defaultContainer,
          subject = defaultSubject,
          touchable = defaultTouchable,
          gestures = {},
          listeners = Object(d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["dispatch"])("start", "drag", "end"),
          active = 0,
          mousedownx,
          mousedowny,
          mousemoving,
          touchending,
          clickDistance2 = 0;

      function drag(selection) {
        selection.on("mousedown.drag", mousedowned).filter(touchable).on("touchstart.drag", touchstarted).on("touchmove.drag", touchmoved).on("touchend.drag touchcancel.drag", touchended).style("touch-action", "none").style("-webkit-tap-highlight-color", "rgba(0,0,0,0)");
      }

      function mousedowned() {
        if (touchending || !filter.apply(this, arguments)) return;
        var gesture = beforestart("mouse", container.apply(this, arguments), d3_selection__WEBPACK_IMPORTED_MODULE_1__["mouse"], this, arguments);
        if (!gesture) return;
        Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["select"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view).on("mousemove.drag", mousemoved, true).on("mouseup.drag", mouseupped, true);
        Object(_nodrag_js__WEBPACK_IMPORTED_MODULE_2__["default"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view);
        Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["nopropagation"])();
        mousemoving = false;
        mousedownx = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientX;
        mousedowny = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientY;
        gesture("start");
      }

      function mousemoved() {
        Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])();

        if (!mousemoving) {
          var dx = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientX - mousedownx,
              dy = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].clientY - mousedowny;
          mousemoving = dx * dx + dy * dy > clickDistance2;
        }

        gestures.mouse("drag");
      }

      function mouseupped() {
        Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["select"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view).on("mousemove.drag mouseup.drag", null);
        Object(_nodrag_js__WEBPACK_IMPORTED_MODULE_2__["yesdrag"])(d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].view, mousemoving);
        Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
        gestures.mouse("end");
      }

      function touchstarted() {
        if (!filter.apply(this, arguments)) return;
        var touches = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].changedTouches,
            c = container.apply(this, arguments),
            n = touches.length,
            i,
            gesture;

        for (i = 0; i < n; ++i) {
          if (gesture = beforestart(touches[i].identifier, c, d3_selection__WEBPACK_IMPORTED_MODULE_1__["touch"], this, arguments)) {
            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["nopropagation"])();
            gesture("start");
          }
        }
      }

      function touchmoved() {
        var touches = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].changedTouches,
            n = touches.length,
            i,
            gesture;

        for (i = 0; i < n; ++i) {
          if (gesture = gestures[touches[i].identifier]) {
            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["default"])();
            gesture("drag");
          }
        }
      }

      function touchended() {
        var touches = d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].changedTouches,
            n = touches.length,
            i,
            gesture;
        if (touchending) clearTimeout(touchending);
        touchending = setTimeout(function () {
          touchending = null;
        }, 500); // Ghost clicks are delayed!

        for (i = 0; i < n; ++i) {
          if (gesture = gestures[touches[i].identifier]) {
            Object(_noevent_js__WEBPACK_IMPORTED_MODULE_3__["nopropagation"])();
            gesture("end");
          }
        }
      }

      function beforestart(id, container, point, that, args) {
        var p = point(container, id),
            s,
            dx,
            dy,
            sublisteners = listeners.copy();
        if (!Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["customEvent"])(new _event_js__WEBPACK_IMPORTED_MODULE_5__["default"](drag, "beforestart", s, id, active, p[0], p[1], 0, 0, sublisteners), function () {
          if ((d3_selection__WEBPACK_IMPORTED_MODULE_1__["event"].subject = s = subject.apply(that, args)) == null) return false;
          dx = s.x - p[0] || 0;
          dy = s.y - p[1] || 0;
          return true;
        })) return;
        return function gesture(type) {
          var p0 = p,
              n;

          switch (type) {
            case "start":
              gestures[id] = gesture, n = active++;
              break;

            case "end":
              delete gestures[id], --active;
            // nobreak

            case "drag":
              p = point(container, id), n = active;
              break;
          }

          Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["customEvent"])(new _event_js__WEBPACK_IMPORTED_MODULE_5__["default"](drag, type, s, id, n, p[0] + dx, p[1] + dy, p[0] - p0[0], p[1] - p0[1], sublisteners), sublisteners.apply, sublisteners, [type, that, args]);
        };
      }

      drag.filter = function (_) {
        return arguments.length ? (filter = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(!!_), drag) : filter;
      };

      drag.container = function (_) {
        return arguments.length ? (container = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_), drag) : container;
      };

      drag.subject = function (_) {
        return arguments.length ? (subject = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(_), drag) : subject;
      };

      drag.touchable = function (_) {
        return arguments.length ? (touchable = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_4__["default"])(!!_), drag) : touchable;
      };

      drag.on = function () {
        var value = listeners.on.apply(listeners, arguments);
        return value === listeners ? drag : value;
      };

      drag.clickDistance = function (_) {
        return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2);
      };

      return drag;
    };
    /***/

  },

  /***/
  "./node_modules/d3-drag/src/event.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-drag/src/event.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3DragSrcEventJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return DragEvent;
    });

    function DragEvent(target, type, subject, id, active, x, y, dx, dy, dispatch) {
      this.target = target;
      this.type = type;
      this.subject = subject;
      this.identifier = id;
      this.active = active;
      this.x = x;
      this.y = y;
      this.dx = dx;
      this.dy = dy;
      this._ = dispatch;
    }

    DragEvent.prototype.on = function () {
      var value = this._.on.apply(this._, arguments);

      return value === this._ ? this : value;
    };
    /***/

  },

  /***/
  "./node_modules/d3-drag/src/index.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-drag/src/index.js ***!
    \*******************************************/

  /*! exports provided: drag, dragDisable, dragEnable */

  /***/
  function node_modulesD3DragSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _drag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./drag.js */
    "./node_modules/d3-drag/src/drag.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "drag", function () {
      return _drag_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _nodrag_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./nodrag.js */
    "./node_modules/d3-drag/src/nodrag.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "dragDisable", function () {
      return _nodrag_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "dragEnable", function () {
      return _nodrag_js__WEBPACK_IMPORTED_MODULE_1__["yesdrag"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-drag/src/nodrag.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-drag/src/nodrag.js ***!
    \********************************************/

  /*! exports provided: default, yesdrag */

  /***/
  function node_modulesD3DragSrcNodragJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "yesdrag", function () {
      return yesdrag;
    });
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _noevent_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./noevent.js */
    "./node_modules/d3-drag/src/noevent.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (view) {
      var root = view.document.documentElement,
          selection = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["select"])(view).on("dragstart.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], true);

      if ("onselectstart" in root) {
        selection.on("selectstart.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], true);
      } else {
        root.__noselect = root.style.MozUserSelect;
        root.style.MozUserSelect = "none";
      }
    };

    function yesdrag(view, noclick) {
      var root = view.document.documentElement,
          selection = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["select"])(view).on("dragstart.drag", null);

      if (noclick) {
        selection.on("click.drag", _noevent_js__WEBPACK_IMPORTED_MODULE_1__["default"], true);
        setTimeout(function () {
          selection.on("click.drag", null);
        }, 0);
      }

      if ("onselectstart" in root) {
        selection.on("selectstart.drag", null);
      } else {
        root.style.MozUserSelect = root.__noselect;
        delete root.__noselect;
      }
    }
    /***/

  },

  /***/
  "./node_modules/d3-drag/src/noevent.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-drag/src/noevent.js ***!
    \*********************************************/

  /*! exports provided: nopropagation, default */

  /***/
  function node_modulesD3DragSrcNoeventJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "nopropagation", function () {
      return nopropagation;
    });
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");

    function nopropagation() {
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].preventDefault();
      d3_selection__WEBPACK_IMPORTED_MODULE_0__["event"].stopImmediatePropagation();
    };
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/back.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-ease/src/back.js ***!
    \******************************************/

  /*! exports provided: backIn, backOut, backInOut */

  /***/
  function node_modulesD3EaseSrcBackJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "backIn", function () {
      return backIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "backOut", function () {
      return backOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "backInOut", function () {
      return backInOut;
    });

    var overshoot = 1.70158;

    var backIn = function custom(s) {
      s = +s;

      function backIn(t) {
        return (t = +t) * t * (s * (t - 1) + t);
      }

      backIn.overshoot = custom;
      return backIn;
    }(overshoot);

    var backOut = function custom(s) {
      s = +s;

      function backOut(t) {
        return --t * t * ((t + 1) * s + t) + 1;
      }

      backOut.overshoot = custom;
      return backOut;
    }(overshoot);

    var backInOut = function custom(s) {
      s = +s;

      function backInOut(t) {
        return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;
      }

      backInOut.overshoot = custom;
      return backInOut;
    }(overshoot);
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/bounce.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-ease/src/bounce.js ***!
    \********************************************/

  /*! exports provided: bounceIn, bounceOut, bounceInOut */

  /***/
  function node_modulesD3EaseSrcBounceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "bounceIn", function () {
      return bounceIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "bounceOut", function () {
      return bounceOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "bounceInOut", function () {
      return bounceInOut;
    });

    var b1 = 4 / 11,
        b2 = 6 / 11,
        b3 = 8 / 11,
        b4 = 3 / 4,
        b5 = 9 / 11,
        b6 = 10 / 11,
        b7 = 15 / 16,
        b8 = 21 / 22,
        b9 = 63 / 64,
        b0 = 1 / b1 / b1;

    function bounceIn(t) {
      return 1 - bounceOut(1 - t);
    }

    function bounceOut(t) {
      return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;
    }

    function bounceInOut(t) {
      return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/circle.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-ease/src/circle.js ***!
    \********************************************/

  /*! exports provided: circleIn, circleOut, circleInOut */

  /***/
  function node_modulesD3EaseSrcCircleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "circleIn", function () {
      return circleIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "circleOut", function () {
      return circleOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "circleInOut", function () {
      return circleInOut;
    });

    function circleIn(t) {
      return 1 - Math.sqrt(1 - t * t);
    }

    function circleOut(t) {
      return Math.sqrt(1 - --t * t);
    }

    function circleInOut(t) {
      return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/cubic.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-ease/src/cubic.js ***!
    \*******************************************/

  /*! exports provided: cubicIn, cubicOut, cubicInOut */

  /***/
  function node_modulesD3EaseSrcCubicJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "cubicIn", function () {
      return cubicIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "cubicOut", function () {
      return cubicOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "cubicInOut", function () {
      return cubicInOut;
    });

    function cubicIn(t) {
      return t * t * t;
    }

    function cubicOut(t) {
      return --t * t * t + 1;
    }

    function cubicInOut(t) {
      return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/elastic.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-ease/src/elastic.js ***!
    \*********************************************/

  /*! exports provided: elasticIn, elasticOut, elasticInOut */

  /***/
  function node_modulesD3EaseSrcElasticJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "elasticIn", function () {
      return elasticIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "elasticOut", function () {
      return elasticOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "elasticInOut", function () {
      return elasticInOut;
    });
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./math.js */
    "./node_modules/d3-ease/src/math.js");

    var tau = 2 * Math.PI,
        amplitude = 1,
        period = 0.3;

    var elasticIn = function custom(a, p) {
      var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);

      function elasticIn(t) {
        return a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(- --t) * Math.sin((s - t) / p);
      }

      elasticIn.amplitude = function (a) {
        return custom(a, p * tau);
      };

      elasticIn.period = function (p) {
        return custom(a, p);
      };

      return elasticIn;
    }(amplitude, period);

    var elasticOut = function custom(a, p) {
      var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);

      function elasticOut(t) {
        return 1 - a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t = +t) * Math.sin((t + s) / p);
      }

      elasticOut.amplitude = function (a) {
        return custom(a, p * tau);
      };

      elasticOut.period = function (p) {
        return custom(a, p);
      };

      return elasticOut;
    }(amplitude, period);

    var elasticInOut = function custom(a, p) {
      var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);

      function elasticInOut(t) {
        return ((t = t * 2 - 1) < 0 ? a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(-t) * Math.sin((s - t) / p) : 2 - a * Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t) * Math.sin((s + t) / p)) / 2;
      }

      elasticInOut.amplitude = function (a) {
        return custom(a, p * tau);
      };

      elasticInOut.period = function (p) {
        return custom(a, p);
      };

      return elasticInOut;
    }(amplitude, period);
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/exp.js":
  /*!*****************************************!*\
    !*** ./node_modules/d3-ease/src/exp.js ***!
    \*****************************************/

  /*! exports provided: expIn, expOut, expInOut */

  /***/
  function node_modulesD3EaseSrcExpJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "expIn", function () {
      return expIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "expOut", function () {
      return expOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "expInOut", function () {
      return expInOut;
    });
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./math.js */
    "./node_modules/d3-ease/src/math.js");

    function expIn(t) {
      return Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(1 - +t);
    }

    function expOut(t) {
      return 1 - Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t);
    }

    function expInOut(t) {
      return ((t *= 2) <= 1 ? Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(1 - t) : 2 - Object(_math_js__WEBPACK_IMPORTED_MODULE_0__["tpmt"])(t - 1)) / 2;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/index.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-ease/src/index.js ***!
    \*******************************************/

  /*! exports provided: easeLinear, easeQuad, easeQuadIn, easeQuadOut, easeQuadInOut, easeCubic, easeCubicIn, easeCubicOut, easeCubicInOut, easePoly, easePolyIn, easePolyOut, easePolyInOut, easeSin, easeSinIn, easeSinOut, easeSinInOut, easeExp, easeExpIn, easeExpOut, easeExpInOut, easeCircle, easeCircleIn, easeCircleOut, easeCircleInOut, easeBounce, easeBounceIn, easeBounceOut, easeBounceInOut, easeBack, easeBackIn, easeBackOut, easeBackInOut, easeElastic, easeElasticIn, easeElasticOut, easeElasticInOut */

  /***/
  function node_modulesD3EaseSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-ease/src/linear.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeLinear", function () {
      return _linear_js__WEBPACK_IMPORTED_MODULE_0__["linear"];
    });
    /* harmony import */


    var _quad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./quad.js */
    "./node_modules/d3-ease/src/quad.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeQuad", function () {
      return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeQuadIn", function () {
      return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeQuadOut", function () {
      return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeQuadInOut", function () {
      return _quad_js__WEBPACK_IMPORTED_MODULE_1__["quadInOut"];
    });
    /* harmony import */


    var _cubic_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./cubic.js */
    "./node_modules/d3-ease/src/cubic.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCubic", function () {
      return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCubicIn", function () {
      return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCubicOut", function () {
      return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCubicInOut", function () {
      return _cubic_js__WEBPACK_IMPORTED_MODULE_2__["cubicInOut"];
    });
    /* harmony import */


    var _poly_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./poly.js */
    "./node_modules/d3-ease/src/poly.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easePoly", function () {
      return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easePolyIn", function () {
      return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easePolyOut", function () {
      return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easePolyInOut", function () {
      return _poly_js__WEBPACK_IMPORTED_MODULE_3__["polyInOut"];
    });
    /* harmony import */


    var _sin_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./sin.js */
    "./node_modules/d3-ease/src/sin.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeSin", function () {
      return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeSinIn", function () {
      return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeSinOut", function () {
      return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeSinInOut", function () {
      return _sin_js__WEBPACK_IMPORTED_MODULE_4__["sinInOut"];
    });
    /* harmony import */


    var _exp_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./exp.js */
    "./node_modules/d3-ease/src/exp.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeExp", function () {
      return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeExpIn", function () {
      return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeExpOut", function () {
      return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeExpInOut", function () {
      return _exp_js__WEBPACK_IMPORTED_MODULE_5__["expInOut"];
    });
    /* harmony import */


    var _circle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./circle.js */
    "./node_modules/d3-ease/src/circle.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCircle", function () {
      return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCircleIn", function () {
      return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCircleOut", function () {
      return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeCircleInOut", function () {
      return _circle_js__WEBPACK_IMPORTED_MODULE_6__["circleInOut"];
    });
    /* harmony import */


    var _bounce_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./bounce.js */
    "./node_modules/d3-ease/src/bounce.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBounce", function () {
      return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBounceIn", function () {
      return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBounceOut", function () {
      return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBounceInOut", function () {
      return _bounce_js__WEBPACK_IMPORTED_MODULE_7__["bounceInOut"];
    });
    /* harmony import */


    var _back_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./back.js */
    "./node_modules/d3-ease/src/back.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBack", function () {
      return _back_js__WEBPACK_IMPORTED_MODULE_8__["backInOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBackIn", function () {
      return _back_js__WEBPACK_IMPORTED_MODULE_8__["backIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBackOut", function () {
      return _back_js__WEBPACK_IMPORTED_MODULE_8__["backOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeBackInOut", function () {
      return _back_js__WEBPACK_IMPORTED_MODULE_8__["backInOut"];
    });
    /* harmony import */


    var _elastic_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./elastic.js */
    "./node_modules/d3-ease/src/elastic.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeElastic", function () {
      return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeElasticIn", function () {
      return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticIn"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeElasticOut", function () {
      return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticOut"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "easeElasticInOut", function () {
      return _elastic_js__WEBPACK_IMPORTED_MODULE_9__["elasticInOut"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/linear.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-ease/src/linear.js ***!
    \********************************************/

  /*! exports provided: linear */

  /***/
  function node_modulesD3EaseSrcLinearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "linear", function () {
      return linear;
    });

    function linear(t) {
      return +t;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/math.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-ease/src/math.js ***!
    \******************************************/

  /*! exports provided: tpmt */

  /***/
  function node_modulesD3EaseSrcMathJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tpmt", function () {
      return tpmt;
    }); // tpmt is two power minus ten times t scaled to [0,1]


    function tpmt(x) {
      return (Math.pow(2, -10 * x) - 0.0009765625) * 1.0009775171065494;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/poly.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-ease/src/poly.js ***!
    \******************************************/

  /*! exports provided: polyIn, polyOut, polyInOut */

  /***/
  function node_modulesD3EaseSrcPolyJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "polyIn", function () {
      return polyIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "polyOut", function () {
      return polyOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "polyInOut", function () {
      return polyInOut;
    });

    var exponent = 3;

    var polyIn = function custom(e) {
      e = +e;

      function polyIn(t) {
        return Math.pow(t, e);
      }

      polyIn.exponent = custom;
      return polyIn;
    }(exponent);

    var polyOut = function custom(e) {
      e = +e;

      function polyOut(t) {
        return 1 - Math.pow(1 - t, e);
      }

      polyOut.exponent = custom;
      return polyOut;
    }(exponent);

    var polyInOut = function custom(e) {
      e = +e;

      function polyInOut(t) {
        return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
      }

      polyInOut.exponent = custom;
      return polyInOut;
    }(exponent);
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/quad.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-ease/src/quad.js ***!
    \******************************************/

  /*! exports provided: quadIn, quadOut, quadInOut */

  /***/
  function node_modulesD3EaseSrcQuadJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "quadIn", function () {
      return quadIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "quadOut", function () {
      return quadOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "quadInOut", function () {
      return quadInOut;
    });

    function quadIn(t) {
      return t * t;
    }

    function quadOut(t) {
      return t * (2 - t);
    }

    function quadInOut(t) {
      return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
    }
    /***/

  },

  /***/
  "./node_modules/d3-ease/src/sin.js":
  /*!*****************************************!*\
    !*** ./node_modules/d3-ease/src/sin.js ***!
    \*****************************************/

  /*! exports provided: sinIn, sinOut, sinInOut */

  /***/
  function node_modulesD3EaseSrcSinJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sinIn", function () {
      return sinIn;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sinOut", function () {
      return sinOut;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sinInOut", function () {
      return sinInOut;
    });

    var pi = Math.PI,
        halfPi = pi / 2;

    function sinIn(t) {
      return +t === 1 ? 1 : 1 - Math.cos(t * halfPi);
    }

    function sinOut(t) {
      return Math.sin(t * halfPi);
    }

    function sinInOut(t) {
      return (1 - Math.cos(pi * t)) / 2;
    }
    /***/

  },

  /***/
  "./node_modules/d3-format/src/defaultLocale.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-format/src/defaultLocale.js ***!
    \*****************************************************/

  /*! exports provided: format, formatPrefix, default */

  /***/
  function node_modulesD3FormatSrcDefaultLocaleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "format", function () {
      return format;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "formatPrefix", function () {
      return formatPrefix;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return defaultLocale;
    });
    /* harmony import */


    var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./locale.js */
    "./node_modules/d3-format/src/locale.js");

    var locale;
    var format;
    var formatPrefix;
    defaultLocale({
      decimal: ".",
      thousands: ",",
      grouping: [3],
      currency: ["$", ""],
      minus: "-"
    });

    function defaultLocale(definition) {
      locale = Object(_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
      format = locale.format;
      formatPrefix = locale.formatPrefix;
      return locale;
    }
    /***/

  },

  /***/
  "./node_modules/d3-format/src/exponent.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-format/src/exponent.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcExponentJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./formatDecimal.js */
    "./node_modules/d3-format/src/formatDecimal.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return x = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(Math.abs(x)), x ? x[1] : NaN;
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatDecimal.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-format/src/formatDecimal.js ***!
    \*****************************************************/

  /*! exports provided: default, formatDecimalParts */

  /***/
  function node_modulesD3FormatSrcFormatDecimalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "formatDecimalParts", function () {
      return formatDecimalParts;
    });
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return Math.abs(x = Math.round(x)) >= 1e21 ? x.toLocaleString("en").replace(/,/g, "") : x.toString(10);
    }; // Computes the decimal coefficient and exponent of the specified number x with
    // significant digits p, where x is positive and p is in [1, 21] or undefined.
    // For example, formatDecimalParts(1.23) returns ["123", 0].


    function formatDecimalParts(x, p) {
      if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf("e")) < 0) return null; // NaN, ±Infinity

      var i,
          coefficient = x.slice(0, i); // The string returned by toExponential either has the form \d\.\d+e[-+]\d+
      // (e.g., 1.2e+3) or the form \de[-+]\d+ (e.g., 1e+3).

      return [coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient, +x.slice(i + 1)];
    }
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatGroup.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-format/src/formatGroup.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcFormatGroupJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (grouping, thousands) {
      return function (value, width) {
        var i = value.length,
            t = [],
            j = 0,
            g = grouping[0],
            length = 0;

        while (i > 0 && g > 0) {
          if (length + g + 1 > width) g = Math.max(1, width - length);
          t.push(value.substring(i -= g, i + g));
          if ((length += g + 1) > width) break;
          g = grouping[j = (j + 1) % grouping.length];
        }

        return t.reverse().join(thousands);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatNumerals.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-format/src/formatNumerals.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcFormatNumeralsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (numerals) {
      return function (value) {
        return value.replace(/[0-9]/g, function (i) {
          return numerals[+i];
        });
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatPrefixAuto.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-format/src/formatPrefixAuto.js ***!
    \********************************************************/

  /*! exports provided: prefixExponent, default */

  /***/
  function node_modulesD3FormatSrcFormatPrefixAutoJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "prefixExponent", function () {
      return prefixExponent;
    });
    /* harmony import */


    var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./formatDecimal.js */
    "./node_modules/d3-format/src/formatDecimal.js");

    var prefixExponent;
    /* harmony default export */

    __webpack_exports__["default"] = function (x, p) {
      var d = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(x, p);
      if (!d) return x + "";
      var coefficient = d[0],
          exponent = d[1],
          i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,
          n = coefficient.length;
      return i === n ? coefficient : i > n ? coefficient + new Array(i - n + 1).join("0") : i > 0 ? coefficient.slice(0, i) + "." + coefficient.slice(i) : "0." + new Array(1 - i).join("0") + Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(x, Math.max(0, p + i - 1))[0]; // less than 1y!
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatRounded.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-format/src/formatRounded.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcFormatRoundedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./formatDecimal.js */
    "./node_modules/d3-format/src/formatDecimal.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (x, p) {
      var d = Object(_formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["formatDecimalParts"])(x, p);
      if (!d) return x + "";
      var coefficient = d[0],
          exponent = d[1];
      return exponent < 0 ? "0." + new Array(-exponent).join("0") + coefficient : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + "." + coefficient.slice(exponent + 1) : coefficient + new Array(exponent - coefficient.length + 2).join("0");
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatSpecifier.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-format/src/formatSpecifier.js ***!
    \*******************************************************/

  /*! exports provided: default, FormatSpecifier */

  /***/
  function node_modulesD3FormatSrcFormatSpecifierJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return formatSpecifier;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "FormatSpecifier", function () {
      return FormatSpecifier;
    }); // [[fill]align][sign][symbol][0][width][,][.precision][~][type]


    var re = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;

    function formatSpecifier(specifier) {
      if (!(match = re.exec(specifier))) throw new Error("invalid format: " + specifier);
      var match;
      return new FormatSpecifier({
        fill: match[1],
        align: match[2],
        sign: match[3],
        symbol: match[4],
        zero: match[5],
        width: match[6],
        comma: match[7],
        precision: match[8] && match[8].slice(1),
        trim: match[9],
        type: match[10]
      });
    }

    formatSpecifier.prototype = FormatSpecifier.prototype; // instanceof

    function FormatSpecifier(specifier) {
      this.fill = specifier.fill === undefined ? " " : specifier.fill + "";
      this.align = specifier.align === undefined ? ">" : specifier.align + "";
      this.sign = specifier.sign === undefined ? "-" : specifier.sign + "";
      this.symbol = specifier.symbol === undefined ? "" : specifier.symbol + "";
      this.zero = !!specifier.zero;
      this.width = specifier.width === undefined ? undefined : +specifier.width;
      this.comma = !!specifier.comma;
      this.precision = specifier.precision === undefined ? undefined : +specifier.precision;
      this.trim = !!specifier.trim;
      this.type = specifier.type === undefined ? "" : specifier.type + "";
    }

    FormatSpecifier.prototype.toString = function () {
      return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === undefined ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === undefined ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatTrim.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-format/src/formatTrim.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcFormatTrimJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__); // Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.

    /* harmony default export */


    __webpack_exports__["default"] = function (s) {
      out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {
        switch (s[i]) {
          case ".":
            i0 = i1 = i;
            break;

          case "0":
            if (i0 === 0) i0 = i;
            i1 = i;
            break;

          default:
            if (!+s[i]) break out;
            if (i0 > 0) i0 = 0;
            break;
        }
      }

      return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/formatTypes.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-format/src/formatTypes.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcFormatTypesJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./formatDecimal.js */
    "./node_modules/d3-format/src/formatDecimal.js");
    /* harmony import */


    var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./formatPrefixAuto.js */
    "./node_modules/d3-format/src/formatPrefixAuto.js");
    /* harmony import */


    var _formatRounded_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./formatRounded.js */
    "./node_modules/d3-format/src/formatRounded.js");
    /* harmony default export */


    __webpack_exports__["default"] = {
      "%": function _(x, p) {
        return (x * 100).toFixed(p);
      },
      "b": function b(x) {
        return Math.round(x).toString(2);
      },
      "c": function c(x) {
        return x + "";
      },
      "d": _formatDecimal_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      "e": function e(x, p) {
        return x.toExponential(p);
      },
      "f": function f(x, p) {
        return x.toFixed(p);
      },
      "g": function g(x, p) {
        return x.toPrecision(p);
      },
      "o": function o(x) {
        return Math.round(x).toString(8);
      },
      "p": function (_p) {
        function p(_x3, _x4) {
          return _p.apply(this, arguments);
        }

        p.toString = function () {
          return _p.toString();
        };

        return p;
      }(function (x, p) {
        return Object(_formatRounded_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x * 100, p);
      }),
      "r": _formatRounded_js__WEBPACK_IMPORTED_MODULE_2__["default"],
      "s": _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_1__["default"],
      "X": function X(x) {
        return Math.round(x).toString(16).toUpperCase();
      },
      "x": function x(_x5) {
        return Math.round(_x5).toString(16);
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-format/src/identity.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-format/src/identity.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcIdentityJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return x;
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/index.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-format/src/index.js ***!
    \*********************************************/

  /*! exports provided: formatDefaultLocale, format, formatPrefix, formatLocale, formatSpecifier, FormatSpecifier, precisionFixed, precisionPrefix, precisionRound */

  /***/
  function node_modulesD3FormatSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./defaultLocale.js */
    "./node_modules/d3-format/src/defaultLocale.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "formatDefaultLocale", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "format", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["format"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "formatPrefix", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["formatPrefix"];
    });
    /* harmony import */


    var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./locale.js */
    "./node_modules/d3-format/src/locale.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "formatLocale", function () {
      return _locale_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./formatSpecifier.js */
    "./node_modules/d3-format/src/formatSpecifier.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "formatSpecifier", function () {
      return _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "FormatSpecifier", function () {
      return _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_2__["FormatSpecifier"];
    });
    /* harmony import */


    var _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./precisionFixed.js */
    "./node_modules/d3-format/src/precisionFixed.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "precisionFixed", function () {
      return _precisionFixed_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./precisionPrefix.js */
    "./node_modules/d3-format/src/precisionPrefix.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "precisionPrefix", function () {
      return _precisionPrefix_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./precisionRound.js */
    "./node_modules/d3-format/src/precisionRound.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "precisionRound", function () {
      return _precisionRound_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-format/src/locale.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-format/src/locale.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcLocaleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./exponent.js */
    "./node_modules/d3-format/src/exponent.js");
    /* harmony import */


    var _formatGroup_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./formatGroup.js */
    "./node_modules/d3-format/src/formatGroup.js");
    /* harmony import */


    var _formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./formatNumerals.js */
    "./node_modules/d3-format/src/formatNumerals.js");
    /* harmony import */


    var _formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./formatSpecifier.js */
    "./node_modules/d3-format/src/formatSpecifier.js");
    /* harmony import */


    var _formatTrim_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./formatTrim.js */
    "./node_modules/d3-format/src/formatTrim.js");
    /* harmony import */


    var _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./formatTypes.js */
    "./node_modules/d3-format/src/formatTypes.js");
    /* harmony import */


    var _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./formatPrefixAuto.js */
    "./node_modules/d3-format/src/formatPrefixAuto.js");
    /* harmony import */


    var _identity_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./identity.js */
    "./node_modules/d3-format/src/identity.js");

    var map = Array.prototype.map,
        prefixes = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
    /* harmony default export */

    __webpack_exports__["default"] = function (locale) {
      var group = locale.grouping === undefined || locale.thousands === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_7__["default"] : Object(_formatGroup_js__WEBPACK_IMPORTED_MODULE_1__["default"])(map.call(locale.grouping, Number), locale.thousands + ""),
          currencyPrefix = locale.currency === undefined ? "" : locale.currency[0] + "",
          currencySuffix = locale.currency === undefined ? "" : locale.currency[1] + "",
          decimal = locale.decimal === undefined ? "." : locale.decimal + "",
          numerals = locale.numerals === undefined ? _identity_js__WEBPACK_IMPORTED_MODULE_7__["default"] : Object(_formatNumerals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(map.call(locale.numerals, String)),
          percent = locale.percent === undefined ? "%" : locale.percent + "",
          minus = locale.minus === undefined ? "-" : locale.minus + "",
          nan = locale.nan === undefined ? "NaN" : locale.nan + "";

      function newFormat(specifier) {
        specifier = Object(_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier);
        var fill = specifier.fill,
            align = specifier.align,
            sign = specifier.sign,
            symbol = specifier.symbol,
            zero = specifier.zero,
            width = specifier.width,
            comma = specifier.comma,
            precision = specifier.precision,
            trim = specifier.trim,
            type = specifier.type; // The "n" type is an alias for ",g".

        if (type === "n") comma = true, type = "g"; // The "" type, and any invalid type, is an alias for ".12~g".
        else if (!_formatTypes_js__WEBPACK_IMPORTED_MODULE_5__["default"][type]) precision === undefined && (precision = 12), trim = true, type = "g"; // If zero fill is specified, padding goes after sign and before digits.

        if (zero || fill === "0" && align === "=") zero = true, fill = "0", align = "="; // Compute the prefix and suffix.
        // For SI-prefix, the suffix is lazily computed.

        var prefix = symbol === "$" ? currencyPrefix : symbol === "#" && /[boxX]/.test(type) ? "0" + type.toLowerCase() : "",
            suffix = symbol === "$" ? currencySuffix : /[%p]/.test(type) ? percent : ""; // What format function should we use?
        // Is this an integer type?
        // Can this type generate exponential notation?

        var formatType = _formatTypes_js__WEBPACK_IMPORTED_MODULE_5__["default"][type],
            maybeSuffix = /[defgprs%]/.test(type); // Set the default precision if not specified,
        // or clamp the specified precision to the supported range.
        // For significant precision, it must be in [1, 21].
        // For fixed precision, it must be in [0, 20].

        precision = precision === undefined ? 6 : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision)) : Math.max(0, Math.min(20, precision));

        function format(value) {
          var valuePrefix = prefix,
              valueSuffix = suffix,
              i,
              n,
              c;

          if (type === "c") {
            valueSuffix = formatType(value) + valueSuffix;
            value = "";
          } else {
            value = +value; // Determine the sign. -0 is not less than 0, but 1 / -0 is!

            var valueNegative = value < 0 || 1 / value < 0; // Perform the initial formatting.

            value = isNaN(value) ? nan : formatType(Math.abs(value), precision); // Trim insignificant zeros.

            if (trim) value = Object(_formatTrim_js__WEBPACK_IMPORTED_MODULE_4__["default"])(value); // If a negative value rounds to zero after formatting, and no explicit positive sign is requested, hide the sign.

            if (valueNegative && +value === 0 && sign !== "+") valueNegative = false; // Compute the prefix and suffix.

            valuePrefix = (valueNegative ? sign === "(" ? sign : minus : sign === "-" || sign === "(" ? "" : sign) + valuePrefix;
            valueSuffix = (type === "s" ? prefixes[8 + _formatPrefixAuto_js__WEBPACK_IMPORTED_MODULE_6__["prefixExponent"] / 3] : "") + valueSuffix + (valueNegative && sign === "(" ? ")" : ""); // Break the formatted value into the integer “value” part that can be
            // grouped, and fractional or exponential “suffix” part that is not.

            if (maybeSuffix) {
              i = -1, n = value.length;

              while (++i < n) {
                if (c = value.charCodeAt(i), 48 > c || c > 57) {
                  valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;
                  value = value.slice(0, i);
                  break;
                }
              }
            }
          } // If the fill character is not "0", grouping is applied before padding.


          if (comma && !zero) value = group(value, Infinity); // Compute the padding.

          var length = valuePrefix.length + value.length + valueSuffix.length,
              padding = length < width ? new Array(width - length + 1).join(fill) : ""; // If the fill character is "0", grouping is applied after padding.

          if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = ""; // Reconstruct the final output based on the desired alignment.

          switch (align) {
            case "<":
              value = valuePrefix + value + valueSuffix + padding;
              break;

            case "=":
              value = valuePrefix + padding + value + valueSuffix;
              break;

            case "^":
              value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length);
              break;

            default:
              value = padding + valuePrefix + value + valueSuffix;
              break;
          }

          return numerals(value);
        }

        format.toString = function () {
          return specifier + "";
        };

        return format;
      }

      function formatPrefix(specifier, value) {
        var f = newFormat((specifier = Object(_formatSpecifier_js__WEBPACK_IMPORTED_MODULE_3__["default"])(specifier), specifier.type = "f", specifier)),
            e = Math.max(-8, Math.min(8, Math.floor(Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3,
            k = Math.pow(10, -e),
            prefix = prefixes[8 + e / 3];
        return function (value) {
          return f(k * value) + prefix;
        };
      }

      return {
        format: newFormat,
        formatPrefix: formatPrefix
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/precisionFixed.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-format/src/precisionFixed.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcPrecisionFixedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./exponent.js */
    "./node_modules/d3-format/src/exponent.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (step) {
      return Math.max(0, -Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/precisionPrefix.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-format/src/precisionPrefix.js ***!
    \*******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcPrecisionPrefixJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./exponent.js */
    "./node_modules/d3-format/src/exponent.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (step, value) {
      return Math.max(0, Math.max(-8, Math.min(8, Math.floor(Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value) / 3))) * 3 - Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(Math.abs(step)));
    };
    /***/

  },

  /***/
  "./node_modules/d3-format/src/precisionRound.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-format/src/precisionRound.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3FormatSrcPrecisionRoundJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _exponent_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./exponent.js */
    "./node_modules/d3-format/src/exponent.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (step, max) {
      step = Math.abs(step), max = Math.abs(max) - step;
      return Math.max(0, Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(max) - Object(_exponent_js__WEBPACK_IMPORTED_MODULE_0__["default"])(step)) + 1;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/accessors.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/accessors.js ***!
    \****************************************************/

  /*! exports provided: optional, required */

  /***/
  function node_modulesD3HierarchySrcAccessorsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "optional", function () {
      return optional;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "required", function () {
      return required;
    });

    function optional(f) {
      return f == null ? null : required(f);
    }

    function required(f) {
      if (typeof f !== "function") throw new Error();
      return f;
    }
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/array.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/array.js ***!
    \************************************************/

  /*! exports provided: slice, shuffle */

  /***/
  function node_modulesD3HierarchySrcArrayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "slice", function () {
      return slice;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "shuffle", function () {
      return shuffle;
    });

    var slice = Array.prototype.slice;

    function shuffle(array) {
      var m = array.length,
          t,
          i;

      while (m) {
        i = Math.random() * m-- | 0;
        t = array[m];
        array[m] = array[i];
        array[i] = t;
      }

      return array;
    }
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/cluster.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/cluster.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcClusterJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function defaultSeparation(a, b) {
      return a.parent === b.parent ? 1 : 2;
    }

    function meanX(children) {
      return children.reduce(meanXReduce, 0) / children.length;
    }

    function meanXReduce(x, c) {
      return x + c.x;
    }

    function maxY(children) {
      return 1 + children.reduce(maxYReduce, 0);
    }

    function maxYReduce(y, c) {
      return Math.max(y, c.y);
    }

    function leafLeft(node) {
      var children;

      while (children = node.children) node = children[0];

      return node;
    }

    function leafRight(node) {
      var children;

      while (children = node.children) node = children[children.length - 1];

      return node;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var separation = defaultSeparation,
          dx = 1,
          dy = 1,
          nodeSize = false;

      function cluster(root) {
        var previousNode,
            x = 0; // First walk, computing the initial x & y values.

        root.eachAfter(function (node) {
          var children = node.children;

          if (children) {
            node.x = meanX(children);
            node.y = maxY(children);
          } else {
            node.x = previousNode ? x += separation(node, previousNode) : 0;
            node.y = 0;
            previousNode = node;
          }
        });
        var left = leafLeft(root),
            right = leafRight(root),
            x0 = left.x - separation(left, right) / 2,
            x1 = right.x + separation(right, left) / 2; // Second walk, normalizing x & y to the desired size.

        return root.eachAfter(nodeSize ? function (node) {
          node.x = (node.x - root.x) * dx;
          node.y = (root.y - node.y) * dy;
        } : function (node) {
          node.x = (node.x - x0) / (x1 - x0) * dx;
          node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;
        });
      }

      cluster.separation = function (x) {
        return arguments.length ? (separation = x, cluster) : separation;
      };

      cluster.size = function (x) {
        return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : nodeSize ? null : [dx, dy];
      };

      cluster.nodeSize = function (x) {
        return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : nodeSize ? [dx, dy] : null;
      };

      return cluster;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/constant.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/constant.js ***!
    \***************************************************/

  /*! exports provided: constantZero, default */

  /***/
  function node_modulesD3HierarchySrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "constantZero", function () {
      return constantZero;
    });

    function constantZero() {
      return 0;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function () {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js":
  /*!**************************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/ancestors.js ***!
    \**************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyAncestorsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var node = this,
          nodes = [node];

      while (node = node.parent) {
        nodes.push(node);
      }

      return nodes;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/count.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/count.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyCountJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function count(node) {
      var sum = 0,
          children = node.children,
          i = children && children.length;
      if (!i) sum = 1;else while (--i >= 0) sum += children[i].value;
      node.value = sum;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return this.eachAfter(count);
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/descendants.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/descendants.js ***!
    \****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyDescendantsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var nodes = [];
      this.each(function (node) {
        nodes.push(node);
      });
      return nodes;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/each.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/each.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyEachJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (callback) {
      var node = this,
          current,
          next = [node],
          children,
          i,
          n;

      do {
        current = next.reverse(), next = [];

        while (node = current.pop()) {
          callback(node), children = node.children;
          if (children) for (i = 0, n = children.length; i < n; ++i) {
            next.push(children[i]);
          }
        }
      } while (next.length);

      return this;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js":
  /*!**************************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js ***!
    \**************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyEachAfterJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (callback) {
      var node = this,
          nodes = [node],
          next = [],
          children,
          i,
          n;

      while (node = nodes.pop()) {
        next.push(node), children = node.children;
        if (children) for (i = 0, n = children.length; i < n; ++i) {
          nodes.push(children[i]);
        }
      }

      while (node = next.pop()) {
        callback(node);
      }

      return this;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js":
  /*!***************************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js ***!
    \***************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyEachBeforeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (callback) {
      var node = this,
          nodes = [node],
          children,
          i;

      while (node = nodes.pop()) {
        callback(node), children = node.children;
        if (children) for (i = children.length - 1; i >= 0; --i) {
          nodes.push(children[i]);
        }
      }

      return this;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/index.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/index.js ***!
    \**********************************************************/

  /*! exports provided: default, computeHeight, Node */

  /***/
  function node_modulesD3HierarchySrcHierarchyIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return hierarchy;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "computeHeight", function () {
      return computeHeight;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Node", function () {
      return Node;
    });
    /* harmony import */


    var _count_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./count.js */
    "./node_modules/d3-hierarchy/src/hierarchy/count.js");
    /* harmony import */


    var _each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./each.js */
    "./node_modules/d3-hierarchy/src/hierarchy/each.js");
    /* harmony import */


    var _eachBefore_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./eachBefore.js */
    "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js");
    /* harmony import */


    var _eachAfter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./eachAfter.js */
    "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js");
    /* harmony import */


    var _sum_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./sum.js */
    "./node_modules/d3-hierarchy/src/hierarchy/sum.js");
    /* harmony import */


    var _sort_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./sort.js */
    "./node_modules/d3-hierarchy/src/hierarchy/sort.js");
    /* harmony import */


    var _path_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./path.js */
    "./node_modules/d3-hierarchy/src/hierarchy/path.js");
    /* harmony import */


    var _ancestors_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./ancestors.js */
    "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js");
    /* harmony import */


    var _descendants_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./descendants.js */
    "./node_modules/d3-hierarchy/src/hierarchy/descendants.js");
    /* harmony import */


    var _leaves_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./leaves.js */
    "./node_modules/d3-hierarchy/src/hierarchy/leaves.js");
    /* harmony import */


    var _links_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./links.js */
    "./node_modules/d3-hierarchy/src/hierarchy/links.js");

    function hierarchy(data, children) {
      var root = new Node(data),
          valued = +data.value && (root.value = data.value),
          node,
          nodes = [root],
          child,
          childs,
          i,
          n;
      if (children == null) children = defaultChildren;

      while (node = nodes.pop()) {
        if (valued) node.value = +node.data.value;

        if ((childs = children(node.data)) && (n = childs.length)) {
          node.children = new Array(n);

          for (i = n - 1; i >= 0; --i) {
            nodes.push(child = node.children[i] = new Node(childs[i]));
            child.parent = node;
            child.depth = node.depth + 1;
          }
        }
      }

      return root.eachBefore(computeHeight);
    }

    function node_copy() {
      return hierarchy(this).eachBefore(copyData);
    }

    function defaultChildren(d) {
      return d.children;
    }

    function copyData(node) {
      node.data = node.data.data;
    }

    function computeHeight(node) {
      var height = 0;

      do node.height = height; while ((node = node.parent) && node.height < ++height);
    }

    function Node(data) {
      this.data = data;
      this.depth = this.height = 0;
      this.parent = null;
    }

    Node.prototype = hierarchy.prototype = {
      constructor: Node,
      count: _count_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      each: _each_js__WEBPACK_IMPORTED_MODULE_1__["default"],
      eachAfter: _eachAfter_js__WEBPACK_IMPORTED_MODULE_3__["default"],
      eachBefore: _eachBefore_js__WEBPACK_IMPORTED_MODULE_2__["default"],
      sum: _sum_js__WEBPACK_IMPORTED_MODULE_4__["default"],
      sort: _sort_js__WEBPACK_IMPORTED_MODULE_5__["default"],
      path: _path_js__WEBPACK_IMPORTED_MODULE_6__["default"],
      ancestors: _ancestors_js__WEBPACK_IMPORTED_MODULE_7__["default"],
      descendants: _descendants_js__WEBPACK_IMPORTED_MODULE_8__["default"],
      leaves: _leaves_js__WEBPACK_IMPORTED_MODULE_9__["default"],
      links: _links_js__WEBPACK_IMPORTED_MODULE_10__["default"],
      copy: node_copy
    };
    /***/
  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/leaves.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/leaves.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyLeavesJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var leaves = [];
      this.eachBefore(function (node) {
        if (!node.children) {
          leaves.push(node);
        }
      });
      return leaves;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/links.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/links.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyLinksJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var root = this,
          links = [];
      root.each(function (node) {
        if (node !== root) {
          // Don’t include the root’s parent, if any.
          links.push({
            source: node.parent,
            target: node
          });
        }
      });
      return links;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/path.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/path.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchyPathJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (end) {
      var start = this,
          ancestor = leastCommonAncestor(start, end),
          nodes = [start];

      while (start !== ancestor) {
        start = start.parent;
        nodes.push(start);
      }

      var k = nodes.length;

      while (end !== ancestor) {
        nodes.splice(k, 0, end);
        end = end.parent;
      }

      return nodes;
    };

    function leastCommonAncestor(a, b) {
      if (a === b) return a;
      var aNodes = a.ancestors(),
          bNodes = b.ancestors(),
          c = null;
      a = aNodes.pop();
      b = bNodes.pop();

      while (a === b) {
        c = a;
        a = aNodes.pop();
        b = bNodes.pop();
      }

      return c;
    }
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/sort.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/sort.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchySortJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (compare) {
      return this.eachBefore(function (node) {
        if (node.children) {
          node.children.sort(compare);
        }
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/hierarchy/sum.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/hierarchy/sum.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcHierarchySumJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      return this.eachAfter(function (node) {
        var sum = +value(node.data) || 0,
            children = node.children,
            i = children && children.length;

        while (--i >= 0) sum += children[i].value;

        node.value = sum;
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/index.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/index.js ***!
    \************************************************/

  /*! exports provided: cluster, hierarchy, pack, packSiblings, packEnclose, partition, stratify, tree, treemap, treemapBinary, treemapDice, treemapSlice, treemapSliceDice, treemapSquarify, treemapResquarify */

  /***/
  function node_modulesD3HierarchySrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _cluster_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./cluster.js */
    "./node_modules/d3-hierarchy/src/cluster.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "cluster", function () {
      return _cluster_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./hierarchy/index.js */
    "./node_modules/d3-hierarchy/src/hierarchy/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "hierarchy", function () {
      return _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _pack_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./pack/index.js */
    "./node_modules/d3-hierarchy/src/pack/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "pack", function () {
      return _pack_index_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _pack_siblings_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./pack/siblings.js */
    "./node_modules/d3-hierarchy/src/pack/siblings.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "packSiblings", function () {
      return _pack_siblings_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _pack_enclose_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./pack/enclose.js */
    "./node_modules/d3-hierarchy/src/pack/enclose.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "packEnclose", function () {
      return _pack_enclose_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _partition_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./partition.js */
    "./node_modules/d3-hierarchy/src/partition.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "partition", function () {
      return _partition_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony import */


    var _stratify_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./stratify.js */
    "./node_modules/d3-hierarchy/src/stratify.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stratify", function () {
      return _stratify_js__WEBPACK_IMPORTED_MODULE_6__["default"];
    });
    /* harmony import */


    var _tree_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./tree.js */
    "./node_modules/d3-hierarchy/src/tree.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "tree", function () {
      return _tree_js__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony import */


    var _treemap_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./treemap/index.js */
    "./node_modules/d3-hierarchy/src/treemap/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemap", function () {
      return _treemap_index_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony import */


    var _treemap_binary_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./treemap/binary.js */
    "./node_modules/d3-hierarchy/src/treemap/binary.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemapBinary", function () {
      return _treemap_binary_js__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony import */


    var _treemap_dice_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./treemap/dice.js */
    "./node_modules/d3-hierarchy/src/treemap/dice.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemapDice", function () {
      return _treemap_dice_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony import */


    var _treemap_slice_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./treemap/slice.js */
    "./node_modules/d3-hierarchy/src/treemap/slice.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemapSlice", function () {
      return _treemap_slice_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony import */


    var _treemap_sliceDice_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./treemap/sliceDice.js */
    "./node_modules/d3-hierarchy/src/treemap/sliceDice.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemapSliceDice", function () {
      return _treemap_sliceDice_js__WEBPACK_IMPORTED_MODULE_12__["default"];
    });
    /* harmony import */


    var _treemap_squarify_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./treemap/squarify.js */
    "./node_modules/d3-hierarchy/src/treemap/squarify.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemapSquarify", function () {
      return _treemap_squarify_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony import */


    var _treemap_resquarify_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./treemap/resquarify.js */
    "./node_modules/d3-hierarchy/src/treemap/resquarify.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "treemapResquarify", function () {
      return _treemap_resquarify_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/pack/enclose.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/pack/enclose.js ***!
    \*******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcPackEncloseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../array.js */
    "./node_modules/d3-hierarchy/src/array.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (circles) {
      var i = 0,
          n = (circles = Object(_array_js__WEBPACK_IMPORTED_MODULE_0__["shuffle"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(circles))).length,
          B = [],
          p,
          e;

      while (i < n) {
        p = circles[i];
        if (e && enclosesWeak(e, p)) ++i;else e = encloseBasis(B = extendBasis(B, p)), i = 0;
      }

      return e;
    };

    function extendBasis(B, p) {
      var i, j;
      if (enclosesWeakAll(p, B)) return [p]; // If we get here then B must have at least one element.

      for (i = 0; i < B.length; ++i) {
        if (enclosesNot(p, B[i]) && enclosesWeakAll(encloseBasis2(B[i], p), B)) {
          return [B[i], p];
        }
      } // If we get here then B must have at least two elements.


      for (i = 0; i < B.length - 1; ++i) {
        for (j = i + 1; j < B.length; ++j) {
          if (enclosesNot(encloseBasis2(B[i], B[j]), p) && enclosesNot(encloseBasis2(B[i], p), B[j]) && enclosesNot(encloseBasis2(B[j], p), B[i]) && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) {
            return [B[i], B[j], p];
          }
        }
      } // If we get here then something is very wrong.


      throw new Error();
    }

    function enclosesNot(a, b) {
      var dr = a.r - b.r,
          dx = b.x - a.x,
          dy = b.y - a.y;
      return dr < 0 || dr * dr < dx * dx + dy * dy;
    }

    function enclosesWeak(a, b) {
      var dr = a.r - b.r + 1e-6,
          dx = b.x - a.x,
          dy = b.y - a.y;
      return dr > 0 && dr * dr > dx * dx + dy * dy;
    }

    function enclosesWeakAll(a, B) {
      for (var i = 0; i < B.length; ++i) {
        if (!enclosesWeak(a, B[i])) {
          return false;
        }
      }

      return true;
    }

    function encloseBasis(B) {
      switch (B.length) {
        case 1:
          return encloseBasis1(B[0]);

        case 2:
          return encloseBasis2(B[0], B[1]);

        case 3:
          return encloseBasis3(B[0], B[1], B[2]);
      }
    }

    function encloseBasis1(a) {
      return {
        x: a.x,
        y: a.y,
        r: a.r
      };
    }

    function encloseBasis2(a, b) {
      var x1 = a.x,
          y1 = a.y,
          r1 = a.r,
          x2 = b.x,
          y2 = b.y,
          r2 = b.r,
          x21 = x2 - x1,
          y21 = y2 - y1,
          r21 = r2 - r1,
          l = Math.sqrt(x21 * x21 + y21 * y21);
      return {
        x: (x1 + x2 + x21 / l * r21) / 2,
        y: (y1 + y2 + y21 / l * r21) / 2,
        r: (l + r1 + r2) / 2
      };
    }

    function encloseBasis3(a, b, c) {
      var x1 = a.x,
          y1 = a.y,
          r1 = a.r,
          x2 = b.x,
          y2 = b.y,
          r2 = b.r,
          x3 = c.x,
          y3 = c.y,
          r3 = c.r,
          a2 = x1 - x2,
          a3 = x1 - x3,
          b2 = y1 - y2,
          b3 = y1 - y3,
          c2 = r2 - r1,
          c3 = r3 - r1,
          d1 = x1 * x1 + y1 * y1 - r1 * r1,
          d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2,
          d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3,
          ab = a3 * b2 - a2 * b3,
          xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1,
          xb = (b3 * c2 - b2 * c3) / ab,
          ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1,
          yb = (a2 * c3 - a3 * c2) / ab,
          A = xb * xb + yb * yb - 1,
          B = 2 * (r1 + xa * xb + ya * yb),
          C = xa * xa + ya * ya - r1 * r1,
          r = -(A ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B);
      return {
        x: x1 + xa + xb * r,
        y: y1 + ya + yb * r,
        r: r
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/pack/index.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/pack/index.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcPackIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _siblings_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./siblings.js */
    "./node_modules/d3-hierarchy/src/pack/siblings.js");
    /* harmony import */


    var _accessors_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../accessors.js */
    "./node_modules/d3-hierarchy/src/accessors.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../constant.js */
    "./node_modules/d3-hierarchy/src/constant.js");

    function defaultRadius(d) {
      return Math.sqrt(d.value);
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var radius = null,
          dx = 1,
          dy = 1,
          padding = _constant_js__WEBPACK_IMPORTED_MODULE_2__["constantZero"];

      function pack(root) {
        root.x = dx / 2, root.y = dy / 2;

        if (radius) {
          root.eachBefore(radiusLeaf(radius)).eachAfter(packChildren(padding, 0.5)).eachBefore(translateChild(1));
        } else {
          root.eachBefore(radiusLeaf(defaultRadius)).eachAfter(packChildren(_constant_js__WEBPACK_IMPORTED_MODULE_2__["constantZero"], 1)).eachAfter(packChildren(padding, root.r / Math.min(dx, dy))).eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));
        }

        return root;
      }

      pack.radius = function (x) {
        return arguments.length ? (radius = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_1__["optional"])(x), pack) : radius;
      };

      pack.size = function (x) {
        return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];
      };

      pack.padding = function (x) {
        return arguments.length ? (padding = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+x), pack) : padding;
      };

      return pack;
    };

    function radiusLeaf(radius) {
      return function (node) {
        if (!node.children) {
          node.r = Math.max(0, +radius(node) || 0);
        }
      };
    }

    function packChildren(padding, k) {
      return function (node) {
        if (children = node.children) {
          var children,
              i,
              n = children.length,
              r = padding(node) * k || 0,
              e;
          if (r) for (i = 0; i < n; ++i) children[i].r += r;
          e = Object(_siblings_js__WEBPACK_IMPORTED_MODULE_0__["packEnclose"])(children);
          if (r) for (i = 0; i < n; ++i) children[i].r -= r;
          node.r = e + r;
        }
      };
    }

    function translateChild(k) {
      return function (node) {
        var parent = node.parent;
        node.r *= k;

        if (parent) {
          node.x = parent.x + k * node.x;
          node.y = parent.y + k * node.y;
        }
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/pack/siblings.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/pack/siblings.js ***!
    \********************************************************/

  /*! exports provided: packEnclose, default */

  /***/
  function node_modulesD3HierarchySrcPackSiblingsJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "packEnclose", function () {
      return packEnclose;
    });
    /* harmony import */


    var _enclose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./enclose.js */
    "./node_modules/d3-hierarchy/src/pack/enclose.js");

    function place(b, a, c) {
      var dx = b.x - a.x,
          x,
          a2,
          dy = b.y - a.y,
          y,
          b2,
          d2 = dx * dx + dy * dy;

      if (d2) {
        a2 = a.r + c.r, a2 *= a2;
        b2 = b.r + c.r, b2 *= b2;

        if (a2 > b2) {
          x = (d2 + b2 - a2) / (2 * d2);
          y = Math.sqrt(Math.max(0, b2 / d2 - x * x));
          c.x = b.x - x * dx - y * dy;
          c.y = b.y - x * dy + y * dx;
        } else {
          x = (d2 + a2 - b2) / (2 * d2);
          y = Math.sqrt(Math.max(0, a2 / d2 - x * x));
          c.x = a.x + x * dx - y * dy;
          c.y = a.y + x * dy + y * dx;
        }
      } else {
        c.x = a.x + c.r;
        c.y = a.y;
      }
    }

    function intersects(a, b) {
      var dr = a.r + b.r - 1e-6,
          dx = b.x - a.x,
          dy = b.y - a.y;
      return dr > 0 && dr * dr > dx * dx + dy * dy;
    }

    function score(node) {
      var a = node._,
          b = node.next._,
          ab = a.r + b.r,
          dx = (a.x * b.r + b.x * a.r) / ab,
          dy = (a.y * b.r + b.y * a.r) / ab;
      return dx * dx + dy * dy;
    }

    function Node(circle) {
      this._ = circle;
      this.next = null;
      this.previous = null;
    }

    function packEnclose(circles) {
      if (!(n = circles.length)) return 0;
      var a, b, c, n, aa, ca, i, j, k, sj, sk; // Place the first circle.

      a = circles[0], a.x = 0, a.y = 0;
      if (!(n > 1)) return a.r; // Place the second circle.

      b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;
      if (!(n > 2)) return a.r + b.r; // Place the third circle.

      place(b, a, c = circles[2]); // Initialize the front-chain using the first three circles a, b and c.

      a = new Node(a), b = new Node(b), c = new Node(c);
      a.next = c.previous = b;
      b.next = a.previous = c;
      c.next = b.previous = a; // Attempt to place each remaining circle…

      pack: for (i = 3; i < n; ++i) {
        place(a._, b._, c = circles[i]), c = new Node(c); // Find the closest intersecting circle on the front-chain, if any.
        // “Closeness” is determined by linear distance along the front-chain.
        // “Ahead” or “behind” is likewise determined by linear distance.

        j = b.next, k = a.previous, sj = b._.r, sk = a._.r;

        do {
          if (sj <= sk) {
            if (intersects(j._, c._)) {
              b = j, a.next = b, b.previous = a, --i;
              continue pack;
            }

            sj += j._.r, j = j.next;
          } else {
            if (intersects(k._, c._)) {
              a = k, a.next = b, b.previous = a, --i;
              continue pack;
            }

            sk += k._.r, k = k.previous;
          }
        } while (j !== k.next); // Success! Insert the new circle c between a and b.


        c.previous = a, c.next = b, a.next = b.previous = b = c; // Compute the new closest circle pair to the centroid.

        aa = score(a);

        while ((c = c.next) !== b) {
          if ((ca = score(c)) < aa) {
            a = c, aa = ca;
          }
        }

        b = a.next;
      } // Compute the enclosing circle of the front chain.


      a = [b._], c = b;

      while ((c = c.next) !== b) a.push(c._);

      c = Object(_enclose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a); // Translate the circles to put the enclosing circle around the origin.

      for (i = 0; i < n; ++i) a = circles[i], a.x -= c.x, a.y -= c.y;

      return c.r;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (circles) {
      packEnclose(circles);
      return circles;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/partition.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/partition.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcPartitionJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _treemap_round_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./treemap/round.js */
    "./node_modules/d3-hierarchy/src/treemap/round.js");
    /* harmony import */


    var _treemap_dice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./treemap/dice.js */
    "./node_modules/d3-hierarchy/src/treemap/dice.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var dx = 1,
          dy = 1,
          padding = 0,
          round = false;

      function partition(root) {
        var n = root.height + 1;
        root.x0 = root.y0 = padding;
        root.x1 = dx;
        root.y1 = dy / n;
        root.eachBefore(positionNode(dy, n));
        if (round) root.eachBefore(_treemap_round_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
        return root;
      }

      function positionNode(dy, n) {
        return function (node) {
          if (node.children) {
            Object(_treemap_dice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);
          }

          var x0 = node.x0,
              y0 = node.y0,
              x1 = node.x1 - padding,
              y1 = node.y1 - padding;
          if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
          if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
          node.x0 = x0;
          node.y0 = y0;
          node.x1 = x1;
          node.y1 = y1;
        };
      }

      partition.round = function (x) {
        return arguments.length ? (round = !!x, partition) : round;
      };

      partition.size = function (x) {
        return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];
      };

      partition.padding = function (x) {
        return arguments.length ? (padding = +x, partition) : padding;
      };

      return partition;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/stratify.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/stratify.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcStratifyJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _accessors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./accessors.js */
    "./node_modules/d3-hierarchy/src/accessors.js");
    /* harmony import */


    var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./hierarchy/index.js */
    "./node_modules/d3-hierarchy/src/hierarchy/index.js");

    var keyPrefix = "$",
        // Protect against keys like “__proto__”.
    preroot = {
      depth: -1
    },
        ambiguous = {};

    function defaultId(d) {
      return d.id;
    }

    function defaultParentId(d) {
      return d.parentId;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var id = defaultId,
          parentId = defaultParentId;

      function stratify(data) {
        var d,
            i,
            n = data.length,
            root,
            parent,
            node,
            nodes = new Array(n),
            nodeId,
            nodeKey,
            nodeByKey = {};

        for (i = 0; i < n; ++i) {
          d = data[i], node = nodes[i] = new _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["Node"](d);

          if ((nodeId = id(d, i, data)) != null && (nodeId += "")) {
            nodeKey = keyPrefix + (node.id = nodeId);
            nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;
          }
        }

        for (i = 0; i < n; ++i) {
          node = nodes[i], nodeId = parentId(data[i], i, data);

          if (nodeId == null || !(nodeId += "")) {
            if (root) throw new Error("multiple roots");
            root = node;
          } else {
            parent = nodeByKey[keyPrefix + nodeId];
            if (!parent) throw new Error("missing: " + nodeId);
            if (parent === ambiguous) throw new Error("ambiguous: " + nodeId);
            if (parent.children) parent.children.push(node);else parent.children = [node];
            node.parent = parent;
          }
        }

        if (!root) throw new Error("no root");
        root.parent = preroot;
        root.eachBefore(function (node) {
          node.depth = node.parent.depth + 1;
          --n;
        }).eachBefore(_hierarchy_index_js__WEBPACK_IMPORTED_MODULE_1__["computeHeight"]);
        root.parent = null;
        if (n > 0) throw new Error("cycle");
        return root;
      }

      stratify.id = function (x) {
        return arguments.length ? (id = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_0__["required"])(x), stratify) : id;
      };

      stratify.parentId = function (x) {
        return arguments.length ? (parentId = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_0__["required"])(x), stratify) : parentId;
      };

      return stratify;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/tree.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-hierarchy/src/tree.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./hierarchy/index.js */
    "./node_modules/d3-hierarchy/src/hierarchy/index.js");

    function defaultSeparation(a, b) {
      return a.parent === b.parent ? 1 : 2;
    } // function radialSeparation(a, b) {
    //   return (a.parent === b.parent ? 1 : 2) / a.depth;
    // }
    // This function is used to traverse the left contour of a subtree (or
    // subforest). It returns the successor of v on this contour. This successor is
    // either given by the leftmost child of v or by the thread of v. The function
    // returns null if and only if v is on the highest level of its subtree.


    function nextLeft(v) {
      var children = v.children;
      return children ? children[0] : v.t;
    } // This function works analogously to nextLeft.


    function nextRight(v) {
      var children = v.children;
      return children ? children[children.length - 1] : v.t;
    } // Shifts the current subtree rooted at w+. This is done by increasing
    // prelim(w+) and mod(w+) by shift.


    function moveSubtree(wm, wp, shift) {
      var change = shift / (wp.i - wm.i);
      wp.c -= change;
      wp.s += shift;
      wm.c += change;
      wp.z += shift;
      wp.m += shift;
    } // All other shifts, applied to the smaller subtrees between w- and w+, are
    // performed by this function. To prepare the shifts, we have to adjust
    // change(w+), shift(w+), and change(w-).


    function executeShifts(v) {
      var shift = 0,
          change = 0,
          children = v.children,
          i = children.length,
          w;

      while (--i >= 0) {
        w = children[i];
        w.z += shift;
        w.m += shift;
        shift += w.s + (change += w.c);
      }
    } // If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,
    // returns the specified (default) ancestor.


    function nextAncestor(vim, v, ancestor) {
      return vim.a.parent === v.parent ? vim.a : ancestor;
    }

    function TreeNode(node, i) {
      this._ = node;
      this.parent = null;
      this.children = null;
      this.A = null; // default ancestor

      this.a = this; // ancestor

      this.z = 0; // prelim

      this.m = 0; // mod

      this.c = 0; // change

      this.s = 0; // shift

      this.t = null; // thread

      this.i = i; // number
    }

    TreeNode.prototype = Object.create(_hierarchy_index_js__WEBPACK_IMPORTED_MODULE_0__["Node"].prototype);

    function treeRoot(root) {
      var tree = new TreeNode(root, 0),
          node,
          nodes = [tree],
          child,
          children,
          i,
          n;

      while (node = nodes.pop()) {
        if (children = node._.children) {
          node.children = new Array(n = children.length);

          for (i = n - 1; i >= 0; --i) {
            nodes.push(child = node.children[i] = new TreeNode(children[i], i));
            child.parent = node;
          }
        }
      }

      (tree.parent = new TreeNode(null, 0)).children = [tree];
      return tree;
    } // Node-link tree diagram using the Reingold-Tilford "tidy" algorithm

    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var separation = defaultSeparation,
          dx = 1,
          dy = 1,
          nodeSize = null;

      function tree(root) {
        var t = treeRoot(root); // Compute the layout using Buchheim et al.’s algorithm.

        t.eachAfter(firstWalk), t.parent.m = -t.z;
        t.eachBefore(secondWalk); // If a fixed node size is specified, scale x and y.

        if (nodeSize) root.eachBefore(sizeNode); // If a fixed tree size is specified, scale x and y based on the extent.
        // Compute the left-most, right-most, and depth-most nodes for extents.
        else {
          var left = root,
              right = root,
              bottom = root;
          root.eachBefore(function (node) {
            if (node.x < left.x) left = node;
            if (node.x > right.x) right = node;
            if (node.depth > bottom.depth) bottom = node;
          });
          var s = left === right ? 1 : separation(left, right) / 2,
              tx = s - left.x,
              kx = dx / (right.x + s + tx),
              ky = dy / (bottom.depth || 1);
          root.eachBefore(function (node) {
            node.x = (node.x + tx) * kx;
            node.y = node.depth * ky;
          });
        }
        return root;
      } // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is
      // applied recursively to the children of v, as well as the function
      // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the
      // node v is placed to the midpoint of its outermost children.


      function firstWalk(v) {
        var children = v.children,
            siblings = v.parent.children,
            w = v.i ? siblings[v.i - 1] : null;

        if (children) {
          executeShifts(v);
          var midpoint = (children[0].z + children[children.length - 1].z) / 2;

          if (w) {
            v.z = w.z + separation(v._, w._);
            v.m = v.z - midpoint;
          } else {
            v.z = midpoint;
          }
        } else if (w) {
          v.z = w.z + separation(v._, w._);
        }

        v.parent.A = apportion(v, w, v.parent.A || siblings[0]);
      } // Computes all real x-coordinates by summing up the modifiers recursively.


      function secondWalk(v) {
        v._.x = v.z + v.parent.m;
        v.m += v.parent.m;
      } // The core of the algorithm. Here, a new subtree is combined with the
      // previous subtrees. Threads are used to traverse the inside and outside
      // contours of the left and right subtree up to the highest common level. The
      // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the
      // superscript o means outside and i means inside, the subscript - means left
      // subtree and + means right subtree. For summing up the modifiers along the
      // contour, we use respective variables si+, si-, so-, and so+. Whenever two
      // nodes of the inside contours conflict, we compute the left one of the
      // greatest uncommon ancestors using the function ANCESTOR and call MOVE
      // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.
      // Finally, we add a new thread (if necessary).


      function apportion(v, w, ancestor) {
        if (w) {
          var vip = v,
              vop = v,
              vim = w,
              vom = vip.parent.children[0],
              sip = vip.m,
              sop = vop.m,
              sim = vim.m,
              som = vom.m,
              shift;

          while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {
            vom = nextLeft(vom);
            vop = nextRight(vop);
            vop.a = v;
            shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);

            if (shift > 0) {
              moveSubtree(nextAncestor(vim, v, ancestor), v, shift);
              sip += shift;
              sop += shift;
            }

            sim += vim.m;
            sip += vip.m;
            som += vom.m;
            sop += vop.m;
          }

          if (vim && !nextRight(vop)) {
            vop.t = vim;
            vop.m += sim - sop;
          }

          if (vip && !nextLeft(vom)) {
            vom.t = vip;
            vom.m += sip - som;
            ancestor = v;
          }
        }

        return ancestor;
      }

      function sizeNode(node) {
        node.x *= dx;
        node.y = node.depth * dy;
      }

      tree.separation = function (x) {
        return arguments.length ? (separation = x, tree) : separation;
      };

      tree.size = function (x) {
        return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : nodeSize ? null : [dx, dy];
      };

      tree.nodeSize = function (x) {
        return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : nodeSize ? [dx, dy] : null;
      };

      return tree;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/binary.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/binary.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapBinaryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
      var nodes = parent.children,
          i,
          n = nodes.length,
          sum,
          sums = new Array(n + 1);

      for (sums[0] = sum = i = 0; i < n; ++i) {
        sums[i + 1] = sum += nodes[i].value;
      }

      partition(0, n, parent.value, x0, y0, x1, y1);

      function partition(i, j, value, x0, y0, x1, y1) {
        if (i >= j - 1) {
          var node = nodes[i];
          node.x0 = x0, node.y0 = y0;
          node.x1 = x1, node.y1 = y1;
          return;
        }

        var valueOffset = sums[i],
            valueTarget = value / 2 + valueOffset,
            k = i + 1,
            hi = j - 1;

        while (k < hi) {
          var mid = k + hi >>> 1;
          if (sums[mid] < valueTarget) k = mid + 1;else hi = mid;
        }

        if (valueTarget - sums[k - 1] < sums[k] - valueTarget && i + 1 < k) --k;
        var valueLeft = sums[k] - valueOffset,
            valueRight = value - valueLeft;

        if (x1 - x0 > y1 - y0) {
          var xk = (x0 * valueRight + x1 * valueLeft) / value;
          partition(i, k, valueLeft, x0, y0, xk, y1);
          partition(k, j, valueRight, xk, y0, x1, y1);
        } else {
          var yk = (y0 * valueRight + y1 * valueLeft) / value;
          partition(i, k, valueLeft, x0, y0, x1, yk);
          partition(k, j, valueRight, x0, yk, x1, y1);
        }
      }
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/dice.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/dice.js ***!
    \*******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapDiceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
      var nodes = parent.children,
          node,
          i = -1,
          n = nodes.length,
          k = parent.value && (x1 - x0) / parent.value;

      while (++i < n) {
        node = nodes[i], node.y0 = y0, node.y1 = y1;
        node.x0 = x0, node.x1 = x0 += node.value * k;
      }
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/index.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/index.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _round_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./round.js */
    "./node_modules/d3-hierarchy/src/treemap/round.js");
    /* harmony import */


    var _squarify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./squarify.js */
    "./node_modules/d3-hierarchy/src/treemap/squarify.js");
    /* harmony import */


    var _accessors_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../accessors.js */
    "./node_modules/d3-hierarchy/src/accessors.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../constant.js */
    "./node_modules/d3-hierarchy/src/constant.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var tile = _squarify_js__WEBPACK_IMPORTED_MODULE_1__["default"],
          round = false,
          dx = 1,
          dy = 1,
          paddingStack = [0],
          paddingInner = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
          paddingTop = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
          paddingRight = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
          paddingBottom = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"],
          paddingLeft = _constant_js__WEBPACK_IMPORTED_MODULE_3__["constantZero"];

      function treemap(root) {
        root.x0 = root.y0 = 0;
        root.x1 = dx;
        root.y1 = dy;
        root.eachBefore(positionNode);
        paddingStack = [0];
        if (round) root.eachBefore(_round_js__WEBPACK_IMPORTED_MODULE_0__["default"]);
        return root;
      }

      function positionNode(node) {
        var p = paddingStack[node.depth],
            x0 = node.x0 + p,
            y0 = node.y0 + p,
            x1 = node.x1 - p,
            y1 = node.y1 - p;
        if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
        if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
        node.x0 = x0;
        node.y0 = y0;
        node.x1 = x1;
        node.y1 = y1;

        if (node.children) {
          p = paddingStack[node.depth + 1] = paddingInner(node) / 2;
          x0 += paddingLeft(node) - p;
          y0 += paddingTop(node) - p;
          x1 -= paddingRight(node) - p;
          y1 -= paddingBottom(node) - p;
          if (x1 < x0) x0 = x1 = (x0 + x1) / 2;
          if (y1 < y0) y0 = y1 = (y0 + y1) / 2;
          tile(node, x0, y0, x1, y1);
        }
      }

      treemap.round = function (x) {
        return arguments.length ? (round = !!x, treemap) : round;
      };

      treemap.size = function (x) {
        return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];
      };

      treemap.tile = function (x) {
        return arguments.length ? (tile = Object(_accessors_js__WEBPACK_IMPORTED_MODULE_2__["required"])(x), treemap) : tile;
      };

      treemap.padding = function (x) {
        return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();
      };

      treemap.paddingInner = function (x) {
        return arguments.length ? (paddingInner = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingInner;
      };

      treemap.paddingOuter = function (x) {
        return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();
      };

      treemap.paddingTop = function (x) {
        return arguments.length ? (paddingTop = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingTop;
      };

      treemap.paddingRight = function (x) {
        return arguments.length ? (paddingRight = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingRight;
      };

      treemap.paddingBottom = function (x) {
        return arguments.length ? (paddingBottom = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingBottom;
      };

      treemap.paddingLeft = function (x) {
        return arguments.length ? (paddingLeft = typeof x === "function" ? x : Object(_constant_js__WEBPACK_IMPORTED_MODULE_3__["default"])(+x), treemap) : paddingLeft;
      };

      return treemap;
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/resquarify.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/resquarify.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapResquarifyJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./dice.js */
    "./node_modules/d3-hierarchy/src/treemap/dice.js");
    /* harmony import */


    var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./slice.js */
    "./node_modules/d3-hierarchy/src/treemap/slice.js");
    /* harmony import */


    var _squarify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./squarify.js */
    "./node_modules/d3-hierarchy/src/treemap/squarify.js");
    /* harmony default export */


    __webpack_exports__["default"] = function custom(ratio) {
      function resquarify(parent, x0, y0, x1, y1) {
        if ((rows = parent._squarify) && rows.ratio === ratio) {
          var rows,
              row,
              nodes,
              i,
              j = -1,
              n,
              m = rows.length,
              value = parent.value;

          while (++j < m) {
            row = rows[j], nodes = row.children;

            for (i = row.value = 0, n = nodes.length; i < n; ++i) row.value += nodes[i].value;

            if (row.dice) Object(_dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);else Object(_slice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);
            value -= row.value;
          }
        } else {
          parent._squarify = rows = Object(_squarify_js__WEBPACK_IMPORTED_MODULE_2__["squarifyRatio"])(ratio, parent, x0, y0, x1, y1);
          rows.ratio = ratio;
        }
      }

      resquarify.ratio = function (x) {
        return custom((x = +x) > 1 ? x : 1);
      };

      return resquarify;
    }(_squarify_js__WEBPACK_IMPORTED_MODULE_2__["phi"]);
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/round.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/round.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapRoundJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (node) {
      node.x0 = Math.round(node.x0);
      node.y0 = Math.round(node.y0);
      node.x1 = Math.round(node.x1);
      node.y1 = Math.round(node.y1);
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/slice.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/slice.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapSliceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
      var nodes = parent.children,
          node,
          i = -1,
          n = nodes.length,
          k = parent.value && (y1 - y0) / parent.value;

      while (++i < n) {
        node = nodes[i], node.x0 = x0, node.x1 = x1;
        node.y0 = y0, node.y1 = y0 += node.value * k;
      }
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/sliceDice.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/sliceDice.js ***!
    \************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3HierarchySrcTreemapSliceDiceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./dice.js */
    "./node_modules/d3-hierarchy/src/treemap/dice.js");
    /* harmony import */


    var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./slice.js */
    "./node_modules/d3-hierarchy/src/treemap/slice.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (parent, x0, y0, x1, y1) {
      (parent.depth & 1 ? _slice_js__WEBPACK_IMPORTED_MODULE_1__["default"] : _dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(parent, x0, y0, x1, y1);
    };
    /***/

  },

  /***/
  "./node_modules/d3-hierarchy/src/treemap/squarify.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-hierarchy/src/treemap/squarify.js ***!
    \***********************************************************/

  /*! exports provided: phi, squarifyRatio, default */

  /***/
  function node_modulesD3HierarchySrcTreemapSquarifyJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "phi", function () {
      return phi;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "squarifyRatio", function () {
      return squarifyRatio;
    });
    /* harmony import */


    var _dice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./dice.js */
    "./node_modules/d3-hierarchy/src/treemap/dice.js");
    /* harmony import */


    var _slice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./slice.js */
    "./node_modules/d3-hierarchy/src/treemap/slice.js");

    var phi = (1 + Math.sqrt(5)) / 2;

    function squarifyRatio(ratio, parent, x0, y0, x1, y1) {
      var rows = [],
          nodes = parent.children,
          row,
          nodeValue,
          i0 = 0,
          i1 = 0,
          n = nodes.length,
          dx,
          dy,
          value = parent.value,
          sumValue,
          minValue,
          maxValue,
          newRatio,
          minRatio,
          alpha,
          beta;

      while (i0 < n) {
        dx = x1 - x0, dy = y1 - y0; // Find the next non-empty node.

        do sumValue = nodes[i1++].value; while (!sumValue && i1 < n);

        minValue = maxValue = sumValue;
        alpha = Math.max(dy / dx, dx / dy) / (value * ratio);
        beta = sumValue * sumValue * alpha;
        minRatio = Math.max(maxValue / beta, beta / minValue); // Keep adding nodes while the aspect ratio maintains or improves.

        for (; i1 < n; ++i1) {
          sumValue += nodeValue = nodes[i1].value;
          if (nodeValue < minValue) minValue = nodeValue;
          if (nodeValue > maxValue) maxValue = nodeValue;
          beta = sumValue * sumValue * alpha;
          newRatio = Math.max(maxValue / beta, beta / minValue);

          if (newRatio > minRatio) {
            sumValue -= nodeValue;
            break;
          }

          minRatio = newRatio;
        } // Position and record the row orientation.


        rows.push(row = {
          value: sumValue,
          dice: dx < dy,
          children: nodes.slice(i0, i1)
        });
        if (row.dice) Object(_dice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);else Object(_slice_js__WEBPACK_IMPORTED_MODULE_1__["default"])(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);
        value -= sumValue, i0 = i1;
      }

      return rows;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function custom(ratio) {
      function squarify(parent, x0, y0, x1, y1) {
        squarifyRatio(ratio, parent, x0, y0, x1, y1);
      }

      squarify.ratio = function (x) {
        return custom((x = +x) > 1 ? x : 1);
      };

      return squarify;
    }(phi);
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/array.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-interpolate/src/array.js ***!
    \**************************************************/

  /*! exports provided: default, genericArray */

  /***/
  function node_modulesD3InterpolateSrcArrayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "genericArray", function () {
      return genericArray;
    });
    /* harmony import */


    var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./value.js */
    "./node_modules/d3-interpolate/src/value.js");
    /* harmony import */


    var _numberArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./numberArray.js */
    "./node_modules/d3-interpolate/src/numberArray.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      return (Object(_numberArray_js__WEBPACK_IMPORTED_MODULE_1__["isNumberArray"])(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_1__["default"] : genericArray)(a, b);
    };

    function genericArray(a, b) {
      var nb = b ? b.length : 0,
          na = a ? Math.min(nb, a.length) : 0,
          x = new Array(na),
          c = new Array(nb),
          i;

      for (i = 0; i < na; ++i) x[i] = Object(_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[i], b[i]);

      for (; i < nb; ++i) c[i] = b[i];

      return function (t) {
        for (i = 0; i < na; ++i) c[i] = x[i](t);

        return c;
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/basis.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-interpolate/src/basis.js ***!
    \**************************************************/

  /*! exports provided: basis, default */

  /***/
  function node_modulesD3InterpolateSrcBasisJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "basis", function () {
      return basis;
    });

    function basis(t1, v0, v1, v2, v3) {
      var t2 = t1 * t1,
          t3 = t2 * t1;
      return ((1 - 3 * t1 + 3 * t2 - t3) * v0 + (4 - 6 * t2 + 3 * t3) * v1 + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2 + t3 * v3) / 6;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (values) {
      var n = values.length - 1;
      return function (t) {
        var i = t <= 0 ? t = 0 : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),
            v1 = values[i],
            v2 = values[i + 1],
            v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,
            v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;
        return basis((t - i / n) * n, v0, v1, v2, v3);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/basisClosed.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-interpolate/src/basisClosed.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcBasisClosedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./basis.js */
    "./node_modules/d3-interpolate/src/basis.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (values) {
      var n = values.length;
      return function (t) {
        var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),
            v0 = values[(i + n - 1) % n],
            v1 = values[i % n],
            v2 = values[(i + 1) % n],
            v3 = values[(i + 2) % n];
        return Object(_basis_js__WEBPACK_IMPORTED_MODULE_0__["basis"])((t - i / n) * n, v0, v1, v2, v3);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/color.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-interpolate/src/color.js ***!
    \**************************************************/

  /*! exports provided: hue, gamma, default */

  /***/
  function node_modulesD3InterpolateSrcColorJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hue", function () {
      return hue;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "gamma", function () {
      return gamma;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return nogamma;
    });
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-interpolate/src/constant.js");

    function linear(a, d) {
      return function (t) {
        return a + t * d;
      };
    }

    function exponential(a, b, y) {
      return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function (t) {
        return Math.pow(a + t * b, y);
      };
    }

    function hue(a, b) {
      var d = b - a;
      return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
    }

    function gamma(y) {
      return (y = +y) === 1 ? nogamma : function (a, b) {
        return b - a ? exponential(a, b, y) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
      };
    }

    function nogamma(a, b) {
      var d = b - a;
      return d ? linear(a, d) : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(isNaN(a) ? b : a);
    }
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/constant.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-interpolate/src/constant.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function () {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/cubehelix.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-interpolate/src/cubehelix.js ***!
    \******************************************************/

  /*! exports provided: default, cubehelixLong */

  /***/
  function node_modulesD3InterpolateSrcCubehelixJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "cubehelixLong", function () {
      return cubehelixLong;
    });
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-interpolate/src/color.js");

    function cubehelix(hue) {
      return function cubehelixGamma(y) {
        y = +y;

        function cubehelix(start, end) {
          var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["cubehelix"])(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["cubehelix"])(end)).h),
              s = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s),
              l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
              opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
          return function (t) {
            start.h = h(t);
            start.s = s(t);
            start.l = l(Math.pow(t, y));
            start.opacity = opacity(t);
            return start + "";
          };
        }

        cubehelix.gamma = cubehelixGamma;
        return cubehelix;
      }(1);
    }
    /* harmony default export */


    __webpack_exports__["default"] = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["hue"]);
    var cubehelixLong = cubehelix(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
    /***/
  },

  /***/
  "./node_modules/d3-interpolate/src/date.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-interpolate/src/date.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcDateJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      var d = new Date();
      return a = +a, b = +b, function (t) {
        return d.setTime(a * (1 - t) + b * t), d;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/discrete.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-interpolate/src/discrete.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcDiscreteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (range) {
      var n = range.length;
      return function (t) {
        return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/hcl.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-interpolate/src/hcl.js ***!
    \************************************************/

  /*! exports provided: default, hclLong */

  /***/
  function node_modulesD3InterpolateSrcHclJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hclLong", function () {
      return hclLong;
    });
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-interpolate/src/color.js");

    function hcl(hue) {
      return function (start, end) {
        var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hcl"])(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hcl"])(end)).h),
            c = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.c, end.c),
            l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
            opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
        return function (t) {
          start.h = h(t);
          start.c = c(t);
          start.l = l(t);
          start.opacity = opacity(t);
          return start + "";
        };
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__["hue"]);
    var hclLong = hcl(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
    /***/
  },

  /***/
  "./node_modules/d3-interpolate/src/hsl.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-interpolate/src/hsl.js ***!
    \************************************************/

  /*! exports provided: default, hslLong */

  /***/
  function node_modulesD3InterpolateSrcHslJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hslLong", function () {
      return hslLong;
    });
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-interpolate/src/color.js");

    function hsl(hue) {
      return function (start, end) {
        var h = hue((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hsl"])(start)).h, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["hsl"])(end)).h),
            s = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.s, end.s),
            l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.l, end.l),
            opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
        return function (t) {
          start.h = h(t);
          start.s = s(t);
          start.l = l(t);
          start.opacity = opacity(t);
          return start + "";
        };
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__["hue"]);
    var hslLong = hsl(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
    /***/
  },

  /***/
  "./node_modules/d3-interpolate/src/hue.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-interpolate/src/hue.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcHueJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-interpolate/src/color.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      var i = Object(_color_js__WEBPACK_IMPORTED_MODULE_0__["hue"])(+a, +b);
      return function (t) {
        var x = i(t);
        return x - 360 * Math.floor(x / 360);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/index.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-interpolate/src/index.js ***!
    \**************************************************/

  /*! exports provided: interpolate, interpolateArray, interpolateBasis, interpolateBasisClosed, interpolateDate, interpolateDiscrete, interpolateHue, interpolateNumber, interpolateNumberArray, interpolateObject, interpolateRound, interpolateString, interpolateTransformCss, interpolateTransformSvg, interpolateZoom, interpolateRgb, interpolateRgbBasis, interpolateRgbBasisClosed, interpolateHsl, interpolateHslLong, interpolateLab, interpolateHcl, interpolateHclLong, interpolateCubehelix, interpolateCubehelixLong, piecewise, quantize */

  /***/
  function node_modulesD3InterpolateSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./value.js */
    "./node_modules/d3-interpolate/src/value.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolate", function () {
      return _value_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./array.js */
    "./node_modules/d3-interpolate/src/array.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateArray", function () {
      return _array_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _basis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./basis.js */
    "./node_modules/d3-interpolate/src/basis.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateBasis", function () {
      return _basis_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./basisClosed.js */
    "./node_modules/d3-interpolate/src/basisClosed.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateBasisClosed", function () {
      return _basisClosed_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _date_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./date.js */
    "./node_modules/d3-interpolate/src/date.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateDate", function () {
      return _date_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _discrete_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./discrete.js */
    "./node_modules/d3-interpolate/src/discrete.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateDiscrete", function () {
      return _discrete_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony import */


    var _hue_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./hue.js */
    "./node_modules/d3-interpolate/src/hue.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateHue", function () {
      return _hue_js__WEBPACK_IMPORTED_MODULE_6__["default"];
    });
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-interpolate/src/number.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateNumber", function () {
      return _number_js__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony import */


    var _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./numberArray.js */
    "./node_modules/d3-interpolate/src/numberArray.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateNumberArray", function () {
      return _numberArray_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony import */


    var _object_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./object.js */
    "./node_modules/d3-interpolate/src/object.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateObject", function () {
      return _object_js__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony import */


    var _round_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./round.js */
    "./node_modules/d3-interpolate/src/round.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateRound", function () {
      return _round_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony import */


    var _string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./string.js */
    "./node_modules/d3-interpolate/src/string.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateString", function () {
      return _string_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony import */


    var _transform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./transform/index.js */
    "./node_modules/d3-interpolate/src/transform/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function () {
      return _transform_index_js__WEBPACK_IMPORTED_MODULE_12__["interpolateTransformCss"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function () {
      return _transform_index_js__WEBPACK_IMPORTED_MODULE_12__["interpolateTransformSvg"];
    });
    /* harmony import */


    var _zoom_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./zoom.js */
    "./node_modules/d3-interpolate/src/zoom.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateZoom", function () {
      return _zoom_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony import */


    var _rgb_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./rgb.js */
    "./node_modules/d3-interpolate/src/rgb.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateRgb", function () {
      return _rgb_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateRgbBasis", function () {
      return _rgb_js__WEBPACK_IMPORTED_MODULE_14__["rgbBasis"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateRgbBasisClosed", function () {
      return _rgb_js__WEBPACK_IMPORTED_MODULE_14__["rgbBasisClosed"];
    });
    /* harmony import */


    var _hsl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./hsl.js */
    "./node_modules/d3-interpolate/src/hsl.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateHsl", function () {
      return _hsl_js__WEBPACK_IMPORTED_MODULE_15__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateHslLong", function () {
      return _hsl_js__WEBPACK_IMPORTED_MODULE_15__["hslLong"];
    });
    /* harmony import */


    var _lab_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./lab.js */
    "./node_modules/d3-interpolate/src/lab.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateLab", function () {
      return _lab_js__WEBPACK_IMPORTED_MODULE_16__["default"];
    });
    /* harmony import */


    var _hcl_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./hcl.js */
    "./node_modules/d3-interpolate/src/hcl.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateHcl", function () {
      return _hcl_js__WEBPACK_IMPORTED_MODULE_17__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateHclLong", function () {
      return _hcl_js__WEBPACK_IMPORTED_MODULE_17__["hclLong"];
    });
    /* harmony import */


    var _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./cubehelix.js */
    "./node_modules/d3-interpolate/src/cubehelix.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateCubehelix", function () {
      return _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interpolateCubehelixLong", function () {
      return _cubehelix_js__WEBPACK_IMPORTED_MODULE_18__["cubehelixLong"];
    });
    /* harmony import */


    var _piecewise_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./piecewise.js */
    "./node_modules/d3-interpolate/src/piecewise.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "piecewise", function () {
      return _piecewise_js__WEBPACK_IMPORTED_MODULE_19__["default"];
    });
    /* harmony import */


    var _quantize_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ./quantize.js */
    "./node_modules/d3-interpolate/src/quantize.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "quantize", function () {
      return _quantize_js__WEBPACK_IMPORTED_MODULE_20__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/lab.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-interpolate/src/lab.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcLabJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return lab;
    });
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-interpolate/src/color.js");

    function lab(start, end) {
      var l = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["lab"])(start)).l, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["lab"])(end)).l),
          a = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.a, end.a),
          b = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.b, end.b),
          opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_1__["default"])(start.opacity, end.opacity);
      return function (t) {
        start.l = l(t);
        start.a = a(t);
        start.b = b(t);
        start.opacity = opacity(t);
        return start + "";
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/number.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-interpolate/src/number.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcNumberJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      return a = +a, b = +b, function (t) {
        return a * (1 - t) + b * t;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/numberArray.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-interpolate/src/numberArray.js ***!
    \********************************************************/

  /*! exports provided: default, isNumberArray */

  /***/
  function node_modulesD3InterpolateSrcNumberArrayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isNumberArray", function () {
      return isNumberArray;
    });
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      if (!b) b = [];
      var n = a ? Math.min(b.length, a.length) : 0,
          c = b.slice(),
          i;
      return function (t) {
        for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;

        return c;
      };
    };

    function isNumberArray(x) {
      return ArrayBuffer.isView(x) && !(x instanceof DataView);
    }
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/object.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-interpolate/src/object.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcObjectJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _value_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./value.js */
    "./node_modules/d3-interpolate/src/value.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      var i = {},
          c = {},
          k;
      if (a === null || typeof a !== "object") a = {};
      if (b === null || typeof b !== "object") b = {};

      for (k in b) {
        if (k in a) {
          i[k] = Object(_value_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a[k], b[k]);
        } else {
          c[k] = b[k];
        }
      }

      return function (t) {
        for (k in i) c[k] = i[k](t);

        return c;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/piecewise.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-interpolate/src/piecewise.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcPiecewiseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return piecewise;
    });

    function piecewise(interpolate, values) {
      var i = 0,
          n = values.length - 1,
          v = values[0],
          I = new Array(n < 0 ? 0 : n);

      while (i < n) I[i] = interpolate(v, v = values[++i]);

      return function (t) {
        var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));
        return I[i](t - i);
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/quantize.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-interpolate/src/quantize.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcQuantizeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (interpolator, n) {
      var samples = new Array(n);

      for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));

      return samples;
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/rgb.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-interpolate/src/rgb.js ***!
    \************************************************/

  /*! exports provided: default, rgbBasis, rgbBasisClosed */

  /***/
  function node_modulesD3InterpolateSrcRgbJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rgbBasis", function () {
      return rgbBasis;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "rgbBasisClosed", function () {
      return rgbBasisClosed;
    });
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./basis.js */
    "./node_modules/d3-interpolate/src/basis.js");
    /* harmony import */


    var _basisClosed_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./basisClosed.js */
    "./node_modules/d3-interpolate/src/basisClosed.js");
    /* harmony import */


    var _color_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./color.js */
    "./node_modules/d3-interpolate/src/color.js");
    /* harmony default export */


    __webpack_exports__["default"] = function rgbGamma(y) {
      var color = Object(_color_js__WEBPACK_IMPORTED_MODULE_3__["gamma"])(y);

      function rgb(start, end) {
        var r = color((start = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["rgb"])(start)).r, (end = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["rgb"])(end)).r),
            g = color(start.g, end.g),
            b = color(start.b, end.b),
            opacity = Object(_color_js__WEBPACK_IMPORTED_MODULE_3__["default"])(start.opacity, end.opacity);
        return function (t) {
          start.r = r(t);
          start.g = g(t);
          start.b = b(t);
          start.opacity = opacity(t);
          return start + "";
        };
      }

      rgb.gamma = rgbGamma;
      return rgb;
    }(1);

    function rgbSpline(spline) {
      return function (colors) {
        var n = colors.length,
            r = new Array(n),
            g = new Array(n),
            b = new Array(n),
            i,
            color;

        for (i = 0; i < n; ++i) {
          color = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["rgb"])(colors[i]);
          r[i] = color.r || 0;
          g[i] = color.g || 0;
          b[i] = color.b || 0;
        }

        r = spline(r);
        g = spline(g);
        b = spline(b);
        color.opacity = 1;
        return function (t) {
          color.r = r(t);
          color.g = g(t);
          color.b = b(t);
          return color + "";
        };
      };
    }

    var rgbBasis = rgbSpline(_basis_js__WEBPACK_IMPORTED_MODULE_1__["default"]);
    var rgbBasisClosed = rgbSpline(_basisClosed_js__WEBPACK_IMPORTED_MODULE_2__["default"]);
    /***/
  },

  /***/
  "./node_modules/d3-interpolate/src/round.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-interpolate/src/round.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcRoundJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      return a = +a, b = +b, function (t) {
        return Math.round(a * (1 - t) + b * t);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/string.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-interpolate/src/string.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcStringJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-interpolate/src/number.js");

    var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,
        reB = new RegExp(reA.source, "g");

    function zero(b) {
      return function () {
        return b;
      };
    }

    function one(b) {
      return function (t) {
        return b(t) + "";
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      var bi = reA.lastIndex = reB.lastIndex = 0,
          // scan index for next number in b
      am,
          // current match in a
      bm,
          // current match in b
      bs,
          // string preceding current number in b, if any
      i = -1,
          // index in s
      s = [],
          // string constants and placeholders
      q = []; // number interpolators
      // Coerce inputs to strings.

      a = a + "", b = b + ""; // Interpolate pairs of numbers in a & b.

      while ((am = reA.exec(a)) && (bm = reB.exec(b))) {
        if ((bs = bm.index) > bi) {
          // a string precedes the next number in b
          bs = b.slice(bi, bs);
          if (s[i]) s[i] += bs; // coalesce with previous string
          else s[++i] = bs;
        }

        if ((am = am[0]) === (bm = bm[0])) {
          // numbers in a & b match
          if (s[i]) s[i] += bm; // coalesce with previous string
          else s[++i] = bm;
        } else {
          // interpolate non-matching numbers
          s[++i] = null;
          q.push({
            i: i,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(am, bm)
          });
        }

        bi = reB.lastIndex;
      } // Add remains of b.


      if (bi < b.length) {
        bs = b.slice(bi);
        if (s[i]) s[i] += bs; // coalesce with previous string
        else s[++i] = bs;
      } // Special optimization for only a single match.
      // Otherwise, interpolate each of the numbers and rejoin the string.


      return s.length < 2 ? q[0] ? one(q[0].x) : zero(b) : (b = q.length, function (t) {
        for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);

        return s.join("");
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/transform/decompose.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-interpolate/src/transform/decompose.js ***!
    \****************************************************************/

  /*! exports provided: identity, default */

  /***/
  function node_modulesD3InterpolateSrcTransformDecomposeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "identity", function () {
      return identity;
    });

    var degrees = 180 / Math.PI;
    var identity = {
      translateX: 0,
      translateY: 0,
      rotate: 0,
      skewX: 0,
      scaleX: 1,
      scaleY: 1
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (a, b, c, d, e, f) {
      var scaleX, scaleY, skewX;
      if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;
      if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;
      if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;
      if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;
      return {
        translateX: e,
        translateY: f,
        rotate: Math.atan2(b, a) * degrees,
        skewX: Math.atan(skewX) * degrees,
        scaleX: scaleX,
        scaleY: scaleY
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/transform/index.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-interpolate/src/transform/index.js ***!
    \************************************************************/

  /*! exports provided: interpolateTransformCss, interpolateTransformSvg */

  /***/
  function node_modulesD3InterpolateSrcTransformIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "interpolateTransformCss", function () {
      return interpolateTransformCss;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "interpolateTransformSvg", function () {
      return interpolateTransformSvg;
    });
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../number.js */
    "./node_modules/d3-interpolate/src/number.js");
    /* harmony import */


    var _parse_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./parse.js */
    "./node_modules/d3-interpolate/src/transform/parse.js");

    function interpolateTransform(parse, pxComma, pxParen, degParen) {
      function pop(s) {
        return s.length ? s.pop() + " " : "";
      }

      function translate(xa, ya, xb, yb, s, q) {
        if (xa !== xb || ya !== yb) {
          var i = s.push("translate(", null, pxComma, null, pxParen);
          q.push({
            i: i - 4,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(xa, xb)
          }, {
            i: i - 2,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ya, yb)
          });
        } else if (xb || yb) {
          s.push("translate(" + xb + pxComma + yb + pxParen);
        }
      }

      function rotate(a, b, s, q) {
        if (a !== b) {
          if (a - b > 180) b += 360;else if (b - a > 180) a += 360; // shortest path

          q.push({
            i: s.push(pop(s) + "rotate(", null, degParen) - 2,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a, b)
          });
        } else if (b) {
          s.push(pop(s) + "rotate(" + b + degParen);
        }
      }

      function skewX(a, b, s, q) {
        if (a !== b) {
          q.push({
            i: s.push(pop(s) + "skewX(", null, degParen) - 2,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(a, b)
          });
        } else if (b) {
          s.push(pop(s) + "skewX(" + b + degParen);
        }
      }

      function scale(xa, ya, xb, yb, s, q) {
        if (xa !== xb || ya !== yb) {
          var i = s.push(pop(s) + "scale(", null, ",", null, ")");
          q.push({
            i: i - 4,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(xa, xb)
          }, {
            i: i - 2,
            x: Object(_number_js__WEBPACK_IMPORTED_MODULE_0__["default"])(ya, yb)
          });
        } else if (xb !== 1 || yb !== 1) {
          s.push(pop(s) + "scale(" + xb + "," + yb + ")");
        }
      }

      return function (a, b) {
        var s = [],
            // string constants and placeholders
        q = []; // number interpolators

        a = parse(a), b = parse(b);
        translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);
        rotate(a.rotate, b.rotate, s, q);
        skewX(a.skewX, b.skewX, s, q);
        scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);
        a = b = null; // gc

        return function (t) {
          var i = -1,
              n = q.length,
              o;

          while (++i < n) s[(o = q[i]).i] = o.x(t);

          return s.join("");
        };
      };
    }

    var interpolateTransformCss = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__["parseCss"], "px, ", "px)", "deg)");
    var interpolateTransformSvg = interpolateTransform(_parse_js__WEBPACK_IMPORTED_MODULE_1__["parseSvg"], ", ", ")", ")");
    /***/
  },

  /***/
  "./node_modules/d3-interpolate/src/transform/parse.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-interpolate/src/transform/parse.js ***!
    \************************************************************/

  /*! exports provided: parseCss, parseSvg */

  /***/
  function node_modulesD3InterpolateSrcTransformParseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "parseCss", function () {
      return parseCss;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "parseSvg", function () {
      return parseSvg;
    });
    /* harmony import */


    var _decompose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./decompose.js */
    "./node_modules/d3-interpolate/src/transform/decompose.js");

    var cssNode, cssRoot, cssView, svgNode;

    function parseCss(value) {
      if (value === "none") return _decompose_js__WEBPACK_IMPORTED_MODULE_0__["identity"];
      if (!cssNode) cssNode = document.createElement("DIV"), cssRoot = document.documentElement, cssView = document.defaultView;
      cssNode.style.transform = value;
      value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue("transform");
      cssRoot.removeChild(cssNode);
      value = value.slice(7, -1).split(",");
      return Object(_decompose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);
    }

    function parseSvg(value) {
      if (value == null) return _decompose_js__WEBPACK_IMPORTED_MODULE_0__["identity"];
      if (!svgNode) svgNode = document.createElementNS("http://www.w3.org/2000/svg", "g");
      svgNode.setAttribute("transform", value);
      if (!(value = svgNode.transform.baseVal.consolidate())) return _decompose_js__WEBPACK_IMPORTED_MODULE_0__["identity"];
      value = value.matrix;
      return Object(_decompose_js__WEBPACK_IMPORTED_MODULE_0__["default"])(value.a, value.b, value.c, value.d, value.e, value.f);
    }
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/value.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-interpolate/src/value.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcValueJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var _rgb_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./rgb.js */
    "./node_modules/d3-interpolate/src/rgb.js");
    /* harmony import */


    var _array_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./array.js */
    "./node_modules/d3-interpolate/src/array.js");
    /* harmony import */


    var _date_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./date.js */
    "./node_modules/d3-interpolate/src/date.js");
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-interpolate/src/number.js");
    /* harmony import */


    var _object_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./object.js */
    "./node_modules/d3-interpolate/src/object.js");
    /* harmony import */


    var _string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./string.js */
    "./node_modules/d3-interpolate/src/string.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-interpolate/src/constant.js");
    /* harmony import */


    var _numberArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./numberArray.js */
    "./node_modules/d3-interpolate/src/numberArray.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      var t = typeof b,
          c;
      return b == null || t === "boolean" ? Object(_constant_js__WEBPACK_IMPORTED_MODULE_7__["default"])(b) : (t === "number" ? _number_js__WEBPACK_IMPORTED_MODULE_4__["default"] : t === "string" ? (c = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["color"])(b)) ? (b = c, _rgb_js__WEBPACK_IMPORTED_MODULE_1__["default"]) : _string_js__WEBPACK_IMPORTED_MODULE_6__["default"] : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_0__["color"] ? _rgb_js__WEBPACK_IMPORTED_MODULE_1__["default"] : b instanceof Date ? _date_js__WEBPACK_IMPORTED_MODULE_3__["default"] : Object(_numberArray_js__WEBPACK_IMPORTED_MODULE_8__["isNumberArray"])(b) ? _numberArray_js__WEBPACK_IMPORTED_MODULE_8__["default"] : Array.isArray(b) ? _array_js__WEBPACK_IMPORTED_MODULE_2__["genericArray"] : typeof b.valueOf !== "function" && typeof b.toString !== "function" || isNaN(b) ? _object_js__WEBPACK_IMPORTED_MODULE_5__["default"] : _number_js__WEBPACK_IMPORTED_MODULE_4__["default"])(a, b);
    };
    /***/

  },

  /***/
  "./node_modules/d3-interpolate/src/zoom.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-interpolate/src/zoom.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3InterpolateSrcZoomJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var rho = Math.SQRT2,
        rho2 = 2,
        rho4 = 4,
        epsilon2 = 1e-12;

    function cosh(x) {
      return ((x = Math.exp(x)) + 1 / x) / 2;
    }

    function sinh(x) {
      return ((x = Math.exp(x)) - 1 / x) / 2;
    }

    function tanh(x) {
      return ((x = Math.exp(2 * x)) - 1) / (x + 1);
    } // p0 = [ux0, uy0, w0]
    // p1 = [ux1, uy1, w1]

    /* harmony default export */


    __webpack_exports__["default"] = function (p0, p1) {
      var ux0 = p0[0],
          uy0 = p0[1],
          w0 = p0[2],
          ux1 = p1[0],
          uy1 = p1[1],
          w1 = p1[2],
          dx = ux1 - ux0,
          dy = uy1 - uy0,
          d2 = dx * dx + dy * dy,
          i,
          S; // Special case for u0 ≅ u1.

      if (d2 < epsilon2) {
        S = Math.log(w1 / w0) / rho;

        i = function i(t) {
          return [ux0 + t * dx, uy0 + t * dy, w0 * Math.exp(rho * t * S)];
        };
      } // General case.
      else {
        var d1 = Math.sqrt(d2),
            b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),
            b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),
            r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),
            r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);
        S = (r1 - r0) / rho;

        i = function i(t) {
          var s = t * S,
              coshr0 = cosh(r0),
              u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));
          return [ux0 + u * dx, uy0 + u * dy, w0 * coshr0 / cosh(rho * s + r0)];
        };
      }

      i.duration = S * 1000;
      return i;
    };
    /***/

  },

  /***/
  "./node_modules/d3-path/src/index.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-path/src/index.js ***!
    \*******************************************/

  /*! exports provided: path */

  /***/
  function node_modulesD3PathSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _path_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./path.js */
    "./node_modules/d3-path/src/path.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "path", function () {
      return _path_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-path/src/path.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-path/src/path.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3PathSrcPathJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var pi = Math.PI,
        tau = 2 * pi,
        epsilon = 1e-6,
        tauEpsilon = tau - epsilon;

    function Path() {
      this._x0 = this._y0 = // start of current subpath
      this._x1 = this._y1 = null; // end of current subpath

      this._ = "";
    }

    function path() {
      return new Path();
    }

    Path.prototype = path.prototype = {
      constructor: Path,
      moveTo: function moveTo(x, y) {
        this._ += "M" + (this._x0 = this._x1 = +x) + "," + (this._y0 = this._y1 = +y);
      },
      closePath: function closePath() {
        if (this._x1 !== null) {
          this._x1 = this._x0, this._y1 = this._y0;
          this._ += "Z";
        }
      },
      lineTo: function lineTo(x, y) {
        this._ += "L" + (this._x1 = +x) + "," + (this._y1 = +y);
      },
      quadraticCurveTo: function quadraticCurveTo(x1, y1, x, y) {
        this._ += "Q" + +x1 + "," + +y1 + "," + (this._x1 = +x) + "," + (this._y1 = +y);
      },
      bezierCurveTo: function bezierCurveTo(x1, y1, x2, y2, x, y) {
        this._ += "C" + +x1 + "," + +y1 + "," + +x2 + "," + +y2 + "," + (this._x1 = +x) + "," + (this._y1 = +y);
      },
      arcTo: function arcTo(x1, y1, x2, y2, r) {
        x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;
        var x0 = this._x1,
            y0 = this._y1,
            x21 = x2 - x1,
            y21 = y2 - y1,
            x01 = x0 - x1,
            y01 = y0 - y1,
            l01_2 = x01 * x01 + y01 * y01; // Is the radius negative? Error.

        if (r < 0) throw new Error("negative radius: " + r); // Is this path empty? Move to (x1,y1).

        if (this._x1 === null) {
          this._ += "M" + (this._x1 = x1) + "," + (this._y1 = y1);
        } // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.
        else if (!(l01_2 > epsilon)) ; // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?
        // Equivalently, is (x1,y1) coincident with (x2,y2)?
        // Or, is the radius zero? Line to (x1,y1).
        else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {
          this._ += "L" + (this._x1 = x1) + "," + (this._y1 = y1);
        } // Otherwise, draw an arc!
        else {
          var x20 = x2 - x0,
              y20 = y2 - y0,
              l21_2 = x21 * x21 + y21 * y21,
              l20_2 = x20 * x20 + y20 * y20,
              l21 = Math.sqrt(l21_2),
              l01 = Math.sqrt(l01_2),
              l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),
              t01 = l / l01,
              t21 = l / l21; // If the start tangent is not coincident with (x0,y0), line to.

          if (Math.abs(t01 - 1) > epsilon) {
            this._ += "L" + (x1 + t01 * x01) + "," + (y1 + t01 * y01);
          }

          this._ += "A" + r + "," + r + ",0,0," + +(y01 * x20 > x01 * y20) + "," + (this._x1 = x1 + t21 * x21) + "," + (this._y1 = y1 + t21 * y21);
        }
      },
      arc: function arc(x, y, r, a0, a1, ccw) {
        x = +x, y = +y, r = +r, ccw = !!ccw;
        var dx = r * Math.cos(a0),
            dy = r * Math.sin(a0),
            x0 = x + dx,
            y0 = y + dy,
            cw = 1 ^ ccw,
            da = ccw ? a0 - a1 : a1 - a0; // Is the radius negative? Error.

        if (r < 0) throw new Error("negative radius: " + r); // Is this path empty? Move to (x0,y0).

        if (this._x1 === null) {
          this._ += "M" + x0 + "," + y0;
        } // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).
        else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {
          this._ += "L" + x0 + "," + y0;
        } // Is this arc empty? We’re done.


        if (!r) return; // Does the angle go the wrong way? Flip the direction.

        if (da < 0) da = da % tau + tau; // Is this a complete circle? Draw two arcs to complete the circle.

        if (da > tauEpsilon) {
          this._ += "A" + r + "," + r + ",0,1," + cw + "," + (x - dx) + "," + (y - dy) + "A" + r + "," + r + ",0,1," + cw + "," + (this._x1 = x0) + "," + (this._y1 = y0);
        } // Is this arc non-empty? Draw an arc!
        else if (da > epsilon) {
          this._ += "A" + r + "," + r + ",0," + +(da >= pi) + "," + cw + "," + (this._x1 = x + r * Math.cos(a1)) + "," + (this._y1 = y + r * Math.sin(a1));
        }
      },
      rect: function rect(x, y, w, h) {
        this._ += "M" + (this._x0 = this._x1 = +x) + "," + (this._y0 = this._y1 = +y) + "h" + +w + "v" + +h + "h" + -w + "Z";
      },
      toString: function toString() {
        return this._;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = path;
    /***/
  },

  /***/
  "./node_modules/d3-scale/src/band.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-scale/src/band.js ***!
    \*******************************************/

  /*! exports provided: default, point */

  /***/
  function node_modulesD3ScaleSrcBandJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return band;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "point", function () {
      return point;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");
    /* harmony import */


    var _ordinal_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./ordinal.js */
    "./node_modules/d3-scale/src/ordinal.js");

    function band() {
      var scale = Object(_ordinal_js__WEBPACK_IMPORTED_MODULE_2__["default"])().unknown(undefined),
          domain = scale.domain,
          ordinalRange = scale.range,
          r0 = 0,
          r1 = 1,
          step,
          bandwidth,
          round = false,
          paddingInner = 0,
          paddingOuter = 0,
          align = 0.5;
      delete scale.unknown;

      function rescale() {
        var n = domain().length,
            reverse = r1 < r0,
            start = reverse ? r1 : r0,
            stop = reverse ? r0 : r1;
        step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);
        if (round) step = Math.floor(step);
        start += (stop - start - step * (n - paddingInner)) * align;
        bandwidth = step * (1 - paddingInner);
        if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);
        var values = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["range"])(n).map(function (i) {
          return start + step * i;
        });
        return ordinalRange(reverse ? values.reverse() : values);
      }

      scale.domain = function (_) {
        return arguments.length ? (domain(_), rescale()) : domain();
      };

      scale.range = function (_) {
        var _ref71;

        return arguments.length ? ((_ref71 = _slicedToArray(_, 2), r0 = _ref71[0], r1 = _ref71[1]), r0 = +r0, r1 = +r1, rescale()) : [r0, r1];
      };

      scale.rangeRound = function (_) {
        var _ref72;

        return (_ref72 = _slicedToArray(_, 2), r0 = _ref72[0], r1 = _ref72[1]), r0 = +r0, r1 = +r1, round = true, rescale();
      };

      scale.bandwidth = function () {
        return bandwidth;
      };

      scale.step = function () {
        return step;
      };

      scale.round = function (_) {
        return arguments.length ? (round = !!_, rescale()) : round;
      };

      scale.padding = function (_) {
        return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner;
      };

      scale.paddingInner = function (_) {
        return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner;
      };

      scale.paddingOuter = function (_) {
        return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter;
      };

      scale.align = function (_) {
        return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;
      };

      scale.copy = function () {
        return band(domain(), [r0, r1]).round(round).paddingInner(paddingInner).paddingOuter(paddingOuter).align(align);
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(rescale(), arguments);
    }

    function pointish(scale) {
      var copy = scale.copy;
      scale.padding = scale.paddingOuter;
      delete scale.paddingInner;
      delete scale.paddingOuter;

      scale.copy = function () {
        return pointish(copy());
      };

      return scale;
    }

    function point() {
      return pointish(band.apply(null, arguments).paddingInner(1));
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/constant.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-scale/src/constant.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return constants;
    });

    function constants(x) {
      return function () {
        return x;
      };
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/continuous.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-scale/src/continuous.js ***!
    \*************************************************/

  /*! exports provided: identity, copy, transformer, default */

  /***/
  function node_modulesD3ScaleSrcContinuousJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "identity", function () {
      return identity;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "copy", function () {
      return copy;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "transformer", function () {
      return transformer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return continuous;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-scale/src/constant.js");
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-scale/src/number.js");

    var unit = [0, 1];

    function identity(x) {
      return x;
    }

    function normalize(a, b) {
      return (b -= a = +a) ? function (x) {
        return (x - a) / b;
      } : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(isNaN(b) ? NaN : 0.5);
    }

    function clamper(a, b) {
      var t;
      if (a > b) t = a, a = b, b = t;
      return function (x) {
        return Math.max(a, Math.min(b, x));
      };
    } // normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].
    // interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].


    function bimap(domain, range, interpolate) {
      var d0 = domain[0],
          d1 = domain[1],
          r0 = range[0],
          r1 = range[1];
      if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);
      return function (x) {
        return r0(d0(x));
      };
    }

    function polymap(domain, range, interpolate) {
      var j = Math.min(domain.length, range.length) - 1,
          d = new Array(j),
          r = new Array(j),
          i = -1; // Reverse descending domains.

      if (domain[j] < domain[0]) {
        domain = domain.slice().reverse();
        range = range.slice().reverse();
      }

      while (++i < j) {
        d[i] = normalize(domain[i], domain[i + 1]);
        r[i] = interpolate(range[i], range[i + 1]);
      }

      return function (x) {
        var i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 1, j) - 1;
        return r[i](d[i](x));
      };
    }

    function copy(source, target) {
      return target.domain(source.domain()).range(source.range()).interpolate(source.interpolate()).clamp(source.clamp()).unknown(source.unknown());
    }

    function transformer() {
      var domain = unit,
          range = unit,
          interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolate"],
          transform,
          untransform,
          unknown,
          clamp = identity,
          piecewise,
          output,
          input;

      function rescale() {
        var n = Math.min(domain.length, range.length);
        if (clamp !== identity) clamp = clamper(domain[0], domain[n - 1]);
        piecewise = n > 2 ? polymap : bimap;
        output = input = null;
        return scale;
      }

      function scale(x) {
        return x == null || isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));
      }

      scale.invert = function (y) {
        return clamp(untransform((input || (input = piecewise(range, domain.map(transform), d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateNumber"])))(y)));
      };

      scale.domain = function (_) {
        return arguments.length ? (domain = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_3__["default"]), rescale()) : domain.slice();
      };

      scale.range = function (_) {
        return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
      };

      scale.rangeRound = function (_) {
        return range = Array.from(_), interpolate = d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateRound"], rescale();
      };

      scale.clamp = function (_) {
        return arguments.length ? (clamp = _ ? true : identity, rescale()) : clamp !== identity;
      };

      scale.interpolate = function (_) {
        return arguments.length ? (interpolate = _, rescale()) : interpolate;
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      return function (t, u) {
        transform = t, untransform = u;
        return rescale();
      };
    }

    function continuous() {
      return transformer()(identity, identity);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/diverging.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-scale/src/diverging.js ***!
    \************************************************/

  /*! exports provided: default, divergingLog, divergingSymlog, divergingPow, divergingSqrt */

  /***/
  function node_modulesD3ScaleSrcDivergingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return diverging;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "divergingLog", function () {
      return divergingLog;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "divergingSymlog", function () {
      return divergingSymlog;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "divergingPow", function () {
      return divergingPow;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "divergingSqrt", function () {
      return divergingSqrt;
    });
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _log_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./log.js */
    "./node_modules/d3-scale/src/log.js");
    /* harmony import */


    var _sequential_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./sequential.js */
    "./node_modules/d3-scale/src/sequential.js");
    /* harmony import */


    var _symlog_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./symlog.js */
    "./node_modules/d3-scale/src/symlog.js");
    /* harmony import */


    var _pow_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./pow.js */
    "./node_modules/d3-scale/src/pow.js");

    function transformer() {
      var x0 = 0,
          x1 = 0.5,
          x2 = 1,
          s = 1,
          t0,
          t1,
          t2,
          k10,
          k21,
          interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"],
          transform,
          clamp = false,
          unknown;

      function scale(x) {
        return isNaN(x = +x) ? unknown : (x = 0.5 + ((x = +transform(x)) - t1) * (s * x < s * t1 ? k10 : k21), interpolator(clamp ? Math.max(0, Math.min(1, x)) : x));
      }

      scale.domain = function (_) {
        var _ref73;

        return arguments.length ? ((_ref73 = _slicedToArray(_, 3), x0 = _ref73[0], x1 = _ref73[1], x2 = _ref73[2]), t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), t2 = transform(x2 = +x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), s = t1 < t0 ? -1 : 1, scale) : [x0, x1, x2];
      };

      scale.clamp = function (_) {
        return arguments.length ? (clamp = !!_, scale) : clamp;
      };

      scale.interpolator = function (_) {
        return arguments.length ? (interpolator = _, scale) : interpolator;
      };

      function range(interpolate) {
        return function (_) {
          var _ref74;

          var r0, r1, r2;
          return arguments.length ? ((_ref74 = _slicedToArray(_, 3), r0 = _ref74[0], r1 = _ref74[1], r2 = _ref74[2]), interpolator = Object(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["piecewise"])(interpolate, [r0, r1, r2]), scale) : [interpolator(0), interpolator(0.5), interpolator(1)];
        };
      }

      scale.range = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolate"]);
      scale.rangeRound = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateRound"]);

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      return function (t) {
        transform = t, t0 = t(x0), t1 = t(x1), t2 = t(x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), s = t1 < t0 ? -1 : 1;
        return scale;
      };
    }

    function diverging() {
      var scale = Object(_linear_js__WEBPACK_IMPORTED_MODULE_3__["linearish"])(transformer()(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]));

      scale.copy = function () {
        return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, diverging());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function divergingLog() {
      var scale = Object(_log_js__WEBPACK_IMPORTED_MODULE_4__["loggish"])(transformer()).domain([0.1, 1, 10]);

      scale.copy = function () {
        return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, divergingLog()).base(scale.base());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function divergingSymlog() {
      var scale = Object(_symlog_js__WEBPACK_IMPORTED_MODULE_6__["symlogish"])(transformer());

      scale.copy = function () {
        return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, divergingSymlog()).constant(scale.constant());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function divergingPow() {
      var scale = Object(_pow_js__WEBPACK_IMPORTED_MODULE_7__["powish"])(transformer());

      scale.copy = function () {
        return Object(_sequential_js__WEBPACK_IMPORTED_MODULE_5__["copy"])(scale, divergingPow()).exponent(scale.exponent());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function divergingSqrt() {
      return divergingPow.apply(null, arguments).exponent(0.5);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/identity.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-scale/src/identity.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcIdentityJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return identity;
    });
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-scale/src/number.js");

    function identity(domain) {
      var unknown;

      function scale(x) {
        return x == null || isNaN(x = +x) ? unknown : x;
      }

      scale.invert = scale;

      scale.domain = scale.range = function (_) {
        return arguments.length ? (domain = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_1__["default"]), scale) : domain.slice();
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      scale.copy = function () {
        return identity(domain).unknown(unknown);
      };

      domain = arguments.length ? Array.from(domain, _number_js__WEBPACK_IMPORTED_MODULE_1__["default"]) : [0, 1];
      return Object(_linear_js__WEBPACK_IMPORTED_MODULE_0__["linearish"])(scale);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/index.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-scale/src/index.js ***!
    \********************************************/

  /*! exports provided: scaleBand, scalePoint, scaleIdentity, scaleLinear, scaleLog, scaleSymlog, scaleOrdinal, scaleImplicit, scalePow, scaleSqrt, scaleRadial, scaleQuantile, scaleQuantize, scaleThreshold, scaleTime, scaleUtc, scaleSequential, scaleSequentialLog, scaleSequentialPow, scaleSequentialSqrt, scaleSequentialSymlog, scaleSequentialQuantile, scaleDiverging, scaleDivergingLog, scaleDivergingPow, scaleDivergingSqrt, scaleDivergingSymlog, tickFormat */

  /***/
  function node_modulesD3ScaleSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _band_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./band.js */
    "./node_modules/d3-scale/src/band.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleBand", function () {
      return _band_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scalePoint", function () {
      return _band_js__WEBPACK_IMPORTED_MODULE_0__["point"];
    });
    /* harmony import */


    var _identity_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./identity.js */
    "./node_modules/d3-scale/src/identity.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleIdentity", function () {
      return _identity_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleLinear", function () {
      return _linear_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _log_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./log.js */
    "./node_modules/d3-scale/src/log.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleLog", function () {
      return _log_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _symlog_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./symlog.js */
    "./node_modules/d3-scale/src/symlog.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSymlog", function () {
      return _symlog_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _ordinal_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./ordinal.js */
    "./node_modules/d3-scale/src/ordinal.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleOrdinal", function () {
      return _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleImplicit", function () {
      return _ordinal_js__WEBPACK_IMPORTED_MODULE_5__["implicit"];
    });
    /* harmony import */


    var _pow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./pow.js */
    "./node_modules/d3-scale/src/pow.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scalePow", function () {
      return _pow_js__WEBPACK_IMPORTED_MODULE_6__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSqrt", function () {
      return _pow_js__WEBPACK_IMPORTED_MODULE_6__["sqrt"];
    });
    /* harmony import */


    var _radial_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./radial.js */
    "./node_modules/d3-scale/src/radial.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleRadial", function () {
      return _radial_js__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony import */


    var _quantile_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./quantile.js */
    "./node_modules/d3-scale/src/quantile.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleQuantile", function () {
      return _quantile_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony import */


    var _quantize_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./quantize.js */
    "./node_modules/d3-scale/src/quantize.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleQuantize", function () {
      return _quantize_js__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony import */


    var _threshold_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./threshold.js */
    "./node_modules/d3-scale/src/threshold.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleThreshold", function () {
      return _threshold_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony import */


    var _time_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./time.js */
    "./node_modules/d3-scale/src/time.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleTime", function () {
      return _time_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony import */


    var _utcTime_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./utcTime.js */
    "./node_modules/d3-scale/src/utcTime.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleUtc", function () {
      return _utcTime_js__WEBPACK_IMPORTED_MODULE_12__["default"];
    });
    /* harmony import */


    var _sequential_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./sequential.js */
    "./node_modules/d3-scale/src/sequential.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSequential", function () {
      return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSequentialLog", function () {
      return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialLog"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSequentialPow", function () {
      return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialPow"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSequentialSqrt", function () {
      return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialSqrt"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSequentialSymlog", function () {
      return _sequential_js__WEBPACK_IMPORTED_MODULE_13__["sequentialSymlog"];
    });
    /* harmony import */


    var _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./sequentialQuantile.js */
    "./node_modules/d3-scale/src/sequentialQuantile.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleSequentialQuantile", function () {
      return _sequentialQuantile_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony import */


    var _diverging_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./diverging.js */
    "./node_modules/d3-scale/src/diverging.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleDiverging", function () {
      return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleDivergingLog", function () {
      return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingLog"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleDivergingPow", function () {
      return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingPow"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleDivergingSqrt", function () {
      return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingSqrt"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "scaleDivergingSymlog", function () {
      return _diverging_js__WEBPACK_IMPORTED_MODULE_15__["divergingSymlog"];
    });
    /* harmony import */


    var _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./tickFormat.js */
    "./node_modules/d3-scale/src/tickFormat.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "tickFormat", function () {
      return _tickFormat_js__WEBPACK_IMPORTED_MODULE_16__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/init.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-scale/src/init.js ***!
    \*******************************************/

  /*! exports provided: initRange, initInterpolator */

  /***/
  function node_modulesD3ScaleSrcInitJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "initRange", function () {
      return initRange;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "initInterpolator", function () {
      return initInterpolator;
    });

    function initRange(domain, range) {
      switch (arguments.length) {
        case 0:
          break;

        case 1:
          this.range(domain);
          break;

        default:
          this.range(range).domain(domain);
          break;
      }

      return this;
    }

    function initInterpolator(domain, interpolator) {
      switch (arguments.length) {
        case 0:
          break;

        case 1:
          {
            if (typeof domain === "function") this.interpolator(domain);else this.range(domain);
            break;
          }

        default:
          {
            this.domain(domain);
            if (typeof interpolator === "function") this.interpolator(interpolator);else this.range(interpolator);
            break;
          }
      }

      return this;
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/linear.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-scale/src/linear.js ***!
    \*********************************************/

  /*! exports provided: linearish, default */

  /***/
  function node_modulesD3ScaleSrcLinearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "linearish", function () {
      return linearish;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return linear;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");
    /* harmony import */


    var _tickFormat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./tickFormat.js */
    "./node_modules/d3-scale/src/tickFormat.js");

    function linearish(scale) {
      var domain = scale.domain;

      scale.ticks = function (count) {
        var d = domain();
        return Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["ticks"])(d[0], d[d.length - 1], count == null ? 10 : count);
      };

      scale.tickFormat = function (count, specifier) {
        var d = domain();
        return Object(_tickFormat_js__WEBPACK_IMPORTED_MODULE_3__["default"])(d[0], d[d.length - 1], count == null ? 10 : count, specifier);
      };

      scale.nice = function (count) {
        if (count == null) count = 10;
        var d = domain();
        var i0 = 0;
        var i1 = d.length - 1;
        var start = d[i0];
        var stop = d[i1];
        var prestep;
        var step;
        var maxIter = 10;

        if (stop < start) {
          step = start, start = stop, stop = step;
          step = i0, i0 = i1, i1 = step;
        }

        while (maxIter-- > 0) {
          step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickIncrement"])(start, stop, count);

          if (step === prestep) {
            d[i0] = start;
            d[i1] = stop;
            return domain(d);
          } else if (step > 0) {
            start = Math.floor(start / step) * step;
            stop = Math.ceil(stop / step) * step;
          } else if (step < 0) {
            start = Math.ceil(start * step) / step;
            stop = Math.floor(stop * step) / step;
          } else {
            break;
          }

          prestep = step;
        }

        return scale;
      };

      return scale;
    }

    function linear() {
      var scale = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["default"])();

      scale.copy = function () {
        return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["copy"])(scale, linear());
      };

      _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(scale, arguments);

      return linearish(scale);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/log.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-scale/src/log.js ***!
    \******************************************/

  /*! exports provided: loggish, default */

  /***/
  function node_modulesD3ScaleSrcLogJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "loggish", function () {
      return loggish;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return log;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-format */
    "./node_modules/d3-format/src/index.js");
    /* harmony import */


    var _nice_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./nice.js */
    "./node_modules/d3-scale/src/nice.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function transformLog(x) {
      return Math.log(x);
    }

    function transformExp(x) {
      return Math.exp(x);
    }

    function transformLogn(x) {
      return -Math.log(-x);
    }

    function transformExpn(x) {
      return -Math.exp(-x);
    }

    function pow10(x) {
      return isFinite(x) ? +("1e" + x) : x < 0 ? 0 : x;
    }

    function powp(base) {
      return base === 10 ? pow10 : base === Math.E ? Math.exp : function (x) {
        return Math.pow(base, x);
      };
    }

    function logp(base) {
      return base === Math.E ? Math.log : base === 10 && Math.log10 || base === 2 && Math.log2 || (base = Math.log(base), function (x) {
        return Math.log(x) / base;
      });
    }

    function reflect(f) {
      return function (x) {
        return -f(-x);
      };
    }

    function loggish(transform) {
      var scale = transform(transformLog, transformExp),
          domain = scale.domain,
          base = 10,
          logs,
          pows;

      function rescale() {
        logs = logp(base), pows = powp(base);

        if (domain()[0] < 0) {
          logs = reflect(logs), pows = reflect(pows);
          transform(transformLogn, transformExpn);
        } else {
          transform(transformLog, transformExp);
        }

        return scale;
      }

      scale.base = function (_) {
        return arguments.length ? (base = +_, rescale()) : base;
      };

      scale.domain = function (_) {
        return arguments.length ? (domain(_), rescale()) : domain();
      };

      scale.ticks = function (count) {
        var d = domain(),
            u = d[0],
            v = d[d.length - 1],
            r;
        if (r = v < u) i = u, u = v, v = i;
        var i = logs(u),
            j = logs(v),
            p,
            k,
            t,
            n = count == null ? 10 : +count,
            z = [];

        if (!(base % 1) && j - i < n) {
          i = Math.floor(i), j = Math.ceil(j);
          if (u > 0) for (; i <= j; ++i) {
            for (k = 1, p = pows(i); k < base; ++k) {
              t = p * k;
              if (t < u) continue;
              if (t > v) break;
              z.push(t);
            }
          } else for (; i <= j; ++i) {
            for (k = base - 1, p = pows(i); k >= 1; --k) {
              t = p * k;
              if (t < u) continue;
              if (t > v) break;
              z.push(t);
            }
          }
          if (z.length * 2 < n) z = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["ticks"])(u, v, n);
        } else {
          z = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["ticks"])(i, j, Math.min(j - i, n)).map(pows);
        }

        return r ? z.reverse() : z;
      };

      scale.tickFormat = function (count, specifier) {
        if (specifier == null) specifier = base === 10 ? ".0e" : ",";
        if (typeof specifier !== "function") specifier = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["format"])(specifier);
        if (count === Infinity) return specifier;
        if (count == null) count = 10;
        var k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?

        return function (d) {
          var i = d / pows(Math.round(logs(d)));
          if (i * base < base - 0.5) i *= base;
          return i <= k ? specifier(d) : "";
        };
      };

      scale.nice = function () {
        return domain(Object(_nice_js__WEBPACK_IMPORTED_MODULE_2__["default"])(domain(), {
          floor: function floor(x) {
            return pows(Math.floor(logs(x)));
          },
          ceil: function ceil(x) {
            return pows(Math.ceil(logs(x)));
          }
        }));
      };

      return scale;
    }

    function log() {
      var scale = loggish(Object(_continuous_js__WEBPACK_IMPORTED_MODULE_3__["transformer"])()).domain([1, 10]);

      scale.copy = function () {
        return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_3__["copy"])(scale, log()).base(scale.base());
      };

      _init_js__WEBPACK_IMPORTED_MODULE_4__["initRange"].apply(scale, arguments);

      return scale;
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/nice.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-scale/src/nice.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcNiceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return nice;
    });

    function nice(domain, interval) {
      domain = domain.slice();
      var i0 = 0,
          i1 = domain.length - 1,
          x0 = domain[i0],
          x1 = domain[i1],
          t;

      if (x1 < x0) {
        t = i0, i0 = i1, i1 = t;
        t = x0, x0 = x1, x1 = t;
      }

      domain[i0] = interval.floor(x0);
      domain[i1] = interval.ceil(x1);
      return domain;
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/number.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-scale/src/number.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcNumberJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return number;
    });

    function number(x) {
      return +x;
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/ordinal.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-scale/src/ordinal.js ***!
    \**********************************************/

  /*! exports provided: implicit, default */

  /***/
  function node_modulesD3ScaleSrcOrdinalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "implicit", function () {
      return implicit;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return ordinal;
    });
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    var implicit = Symbol("implicit");

    function ordinal() {
      var index = new Map(),
          domain = [],
          range = [],
          unknown = implicit;

      function scale(d) {
        var key = d + "",
            i = index.get(key);

        if (!i) {
          if (unknown !== implicit) return unknown;
          index.set(key, i = domain.push(d));
        }

        return range[(i - 1) % range.length];
      }

      scale.domain = function (_) {
        if (!arguments.length) return domain.slice();
        domain = [], index = new Map();

        var _iterator135 = _createForOfIteratorHelper(_),
            _step135;

        try {
          for (_iterator135.s(); !(_step135 = _iterator135.n()).done;) {
            var value = _step135.value;
            var key = value + "";
            if (index.has(key)) continue;
            index.set(key, domain.push(value));
          }
        } catch (err) {
          _iterator135.e(err);
        } finally {
          _iterator135.f();
        }

        return scale;
      };

      scale.range = function (_) {
        return arguments.length ? (range = Array.from(_), scale) : range.slice();
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      scale.copy = function () {
        return ordinal(domain, range).unknown(unknown);
      };

      _init_js__WEBPACK_IMPORTED_MODULE_0__["initRange"].apply(scale, arguments);

      return scale;
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/pow.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-scale/src/pow.js ***!
    \******************************************/

  /*! exports provided: powish, default, sqrt */

  /***/
  function node_modulesD3ScaleSrcPowJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "powish", function () {
      return powish;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return pow;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sqrt", function () {
      return sqrt;
    });
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function transformPow(exponent) {
      return function (x) {
        return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent);
      };
    }

    function transformSqrt(x) {
      return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x);
    }

    function transformSquare(x) {
      return x < 0 ? -x * x : x * x;
    }

    function powish(transform) {
      var scale = transform(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"], _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]),
          exponent = 1;

      function rescale() {
        return exponent === 1 ? transform(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"], _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]) : exponent === 0.5 ? transform(transformSqrt, transformSquare) : transform(transformPow(exponent), transformPow(1 / exponent));
      }

      scale.exponent = function (_) {
        return arguments.length ? (exponent = +_, rescale()) : exponent;
      };

      return Object(_linear_js__WEBPACK_IMPORTED_MODULE_0__["linearish"])(scale);
    }

    function pow() {
      var scale = powish(Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["transformer"])());

      scale.copy = function () {
        return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["copy"])(scale, pow()).exponent(scale.exponent());
      };

      _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(scale, arguments);

      return scale;
    }

    function sqrt() {
      return pow.apply(null, arguments).exponent(0.5);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/quantile.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-scale/src/quantile.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcQuantileJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return quantile;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function quantile() {
      var domain = [],
          range = [],
          thresholds = [],
          unknown;

      function rescale() {
        var i = 0,
            n = Math.max(1, range.length);
        thresholds = new Array(n - 1);

        while (++i < n) thresholds[i - 1] = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["quantileSorted"])(domain, i / n);

        return scale;
      }

      function scale(x) {
        return x == null || isNaN(x = +x) ? unknown : range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(thresholds, x)];
      }

      scale.invertExtent = function (y) {
        var i = range.indexOf(y);
        return i < 0 ? [NaN, NaN] : [i > 0 ? thresholds[i - 1] : domain[0], i < thresholds.length ? thresholds[i] : domain[domain.length - 1]];
      };

      scale.domain = function (_) {
        if (!arguments.length) return domain.slice();
        domain = [];

        var _iterator136 = _createForOfIteratorHelper(_),
            _step136;

        try {
          for (_iterator136.s(); !(_step136 = _iterator136.n()).done;) {
            var d = _step136.value;
            if (d != null && !isNaN(d = +d)) domain.push(d);
          }
        } catch (err) {
          _iterator136.e(err);
        } finally {
          _iterator136.f();
        }

        domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_0__["ascending"]);
        return rescale();
      };

      scale.range = function (_) {
        return arguments.length ? (range = Array.from(_), rescale()) : range.slice();
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      scale.quantiles = function () {
        return thresholds.slice();
      };

      scale.copy = function () {
        return quantile().domain(domain).range(range).unknown(unknown);
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(scale, arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/quantize.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-scale/src/quantize.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcQuantizeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return quantize;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function quantize() {
      var x0 = 0,
          x1 = 1,
          n = 1,
          domain = [0.5],
          range = [0, 1],
          unknown;

      function scale(x) {
        return x != null && x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
      }

      function rescale() {
        var i = -1;
        domain = new Array(n);

        while (++i < n) domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1);

        return scale;
      }

      scale.domain = function (_) {
        var _ref75;

        return arguments.length ? ((_ref75 = _slicedToArray(_, 2), x0 = _ref75[0], x1 = _ref75[1]), x0 = +x0, x1 = +x1, rescale()) : [x0, x1];
      };

      scale.range = function (_) {
        return arguments.length ? (n = (range = Array.from(_)).length - 1, rescale()) : range.slice();
      };

      scale.invertExtent = function (y) {
        var i = range.indexOf(y);
        return i < 0 ? [NaN, NaN] : i < 1 ? [x0, domain[0]] : i >= n ? [domain[n - 1], x1] : [domain[i - 1], domain[i]];
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : scale;
      };

      scale.thresholds = function () {
        return domain.slice();
      };

      scale.copy = function () {
        return quantize().domain([x0, x1]).range(range).unknown(unknown);
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(Object(_linear_js__WEBPACK_IMPORTED_MODULE_1__["linearish"])(scale), arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/radial.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-scale/src/radial.js ***!
    \*********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcRadialJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return radial;
    });
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _number_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./number.js */
    "./node_modules/d3-scale/src/number.js");

    function square(x) {
      return Math.sign(x) * x * x;
    }

    function unsquare(x) {
      return Math.sign(x) * Math.sqrt(Math.abs(x));
    }

    function radial() {
      var squared = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_0__["default"])(),
          range = [0, 1],
          round = false,
          unknown;

      function scale(x) {
        var y = unsquare(squared(x));
        return isNaN(y) ? unknown : round ? Math.round(y) : y;
      }

      scale.invert = function (y) {
        return squared.invert(square(y));
      };

      scale.domain = function (_) {
        return arguments.length ? (squared.domain(_), scale) : squared.domain();
      };

      scale.range = function (_) {
        return arguments.length ? (squared.range((range = Array.from(_, _number_js__WEBPACK_IMPORTED_MODULE_3__["default"])).map(square)), scale) : range.slice();
      };

      scale.rangeRound = function (_) {
        return scale.range(_).round(true);
      };

      scale.round = function (_) {
        return arguments.length ? (round = !!_, scale) : round;
      };

      scale.clamp = function (_) {
        return arguments.length ? (squared.clamp(_), scale) : squared.clamp();
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      scale.copy = function () {
        return radial(squared.domain(), range).round(round).clamp(squared.clamp()).unknown(unknown);
      };

      _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(scale, arguments);

      return Object(_linear_js__WEBPACK_IMPORTED_MODULE_2__["linearish"])(scale);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/sequential.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-scale/src/sequential.js ***!
    \*************************************************/

  /*! exports provided: copy, default, sequentialLog, sequentialSymlog, sequentialPow, sequentialSqrt */

  /***/
  function node_modulesD3ScaleSrcSequentialJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "copy", function () {
      return copy;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return sequential;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sequentialLog", function () {
      return sequentialLog;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sequentialSymlog", function () {
      return sequentialSymlog;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sequentialPow", function () {
      return sequentialPow;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sequentialSqrt", function () {
      return sequentialSqrt;
    });
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _log_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./log.js */
    "./node_modules/d3-scale/src/log.js");
    /* harmony import */


    var _symlog_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./symlog.js */
    "./node_modules/d3-scale/src/symlog.js");
    /* harmony import */


    var _pow_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./pow.js */
    "./node_modules/d3-scale/src/pow.js");

    function transformer() {
      var x0 = 0,
          x1 = 1,
          t0,
          t1,
          k10,
          transform,
          interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"],
          clamp = false,
          unknown;

      function scale(x) {
        return x == null || isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x));
      }

      scale.domain = function (_) {
        var _ref76;

        return arguments.length ? ((_ref76 = _slicedToArray(_, 2), x0 = _ref76[0], x1 = _ref76[1]), t0 = transform(x0 = +x0), t1 = transform(x1 = +x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0), scale) : [x0, x1];
      };

      scale.clamp = function (_) {
        return arguments.length ? (clamp = !!_, scale) : clamp;
      };

      scale.interpolator = function (_) {
        return arguments.length ? (interpolator = _, scale) : interpolator;
      };

      function range(interpolate) {
        return function (_) {
          var _ref77;

          var r0, r1;
          return arguments.length ? ((_ref77 = _slicedToArray(_, 2), r0 = _ref77[0], r1 = _ref77[1]), interpolator = interpolate(r0, r1), scale) : [interpolator(0), interpolator(1)];
        };
      }

      scale.range = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolate"]);
      scale.rangeRound = range(d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateRound"]);

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      return function (t) {
        transform = t, t0 = t(x0), t1 = t(x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0);
        return scale;
      };
    }

    function copy(source, target) {
      return target.domain(source.domain()).interpolator(source.interpolator()).clamp(source.clamp()).unknown(source.unknown());
    }

    function sequential() {
      var scale = Object(_linear_js__WEBPACK_IMPORTED_MODULE_3__["linearish"])(transformer()(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"]));

      scale.copy = function () {
        return copy(scale, sequential());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function sequentialLog() {
      var scale = Object(_log_js__WEBPACK_IMPORTED_MODULE_4__["loggish"])(transformer()).domain([1, 10]);

      scale.copy = function () {
        return copy(scale, sequentialLog()).base(scale.base());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function sequentialSymlog() {
      var scale = Object(_symlog_js__WEBPACK_IMPORTED_MODULE_5__["symlogish"])(transformer());

      scale.copy = function () {
        return copy(scale, sequentialSymlog()).constant(scale.constant());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function sequentialPow() {
      var scale = Object(_pow_js__WEBPACK_IMPORTED_MODULE_6__["powish"])(transformer());

      scale.copy = function () {
        return copy(scale, sequentialPow()).exponent(scale.exponent());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }

    function sequentialSqrt() {
      return sequentialPow.apply(null, arguments).exponent(0.5);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/sequentialQuantile.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-scale/src/sequentialQuantile.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcSequentialQuantileJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return sequentialQuantile;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function sequentialQuantile() {
      var domain = [],
          interpolator = _continuous_js__WEBPACK_IMPORTED_MODULE_1__["identity"];

      function scale(x) {
        if (x != null && !isNaN(x = +x)) return interpolator((Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 1) - 1) / (domain.length - 1));
      }

      scale.domain = function (_) {
        if (!arguments.length) return domain.slice();
        domain = [];

        var _iterator137 = _createForOfIteratorHelper(_),
            _step137;

        try {
          for (_iterator137.s(); !(_step137 = _iterator137.n()).done;) {
            var d = _step137.value;
            if (d != null && !isNaN(d = +d)) domain.push(d);
          }
        } catch (err) {
          _iterator137.e(err);
        } finally {
          _iterator137.f();
        }

        domain.sort(d3_array__WEBPACK_IMPORTED_MODULE_0__["ascending"]);
        return scale;
      };

      scale.interpolator = function (_) {
        return arguments.length ? (interpolator = _, scale) : interpolator;
      };

      scale.range = function () {
        return domain.map(function (d, i) {
          return interpolator(i / (domain.length - 1));
        });
      };

      scale.quantiles = function (n) {
        return Array.from({
          length: n + 1
        }, function (_, i) {
          return Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["quantile"])(domain, i / n);
        });
      };

      scale.copy = function () {
        return sequentialQuantile(interpolator).domain(domain);
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initInterpolator"].apply(scale, arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/symlog.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-scale/src/symlog.js ***!
    \*********************************************/

  /*! exports provided: symlogish, default */

  /***/
  function node_modulesD3ScaleSrcSymlogJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "symlogish", function () {
      return symlogish;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return symlog;
    });
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-scale/src/linear.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function transformSymlog(c) {
      return function (x) {
        return Math.sign(x) * Math.log1p(Math.abs(x / c));
      };
    }

    function transformSymexp(c) {
      return function (x) {
        return Math.sign(x) * Math.expm1(Math.abs(x)) * c;
      };
    }

    function symlogish(transform) {
      var c = 1,
          scale = transform(transformSymlog(c), transformSymexp(c));

      scale.constant = function (_) {
        return arguments.length ? transform(transformSymlog(c = +_), transformSymexp(c)) : c;
      };

      return Object(_linear_js__WEBPACK_IMPORTED_MODULE_0__["linearish"])(scale);
    }

    function symlog() {
      var scale = symlogish(Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["transformer"])());

      scale.copy = function () {
        return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_1__["copy"])(scale, symlog()).constant(scale.constant());
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_2__["initRange"].apply(scale, arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/threshold.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-scale/src/threshold.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcThresholdJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return threshold;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function threshold() {
      var domain = [0.5],
          range = [0, 1],
          unknown,
          n = 1;

      function scale(x) {
        return x != null && x <= x ? range[Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisect"])(domain, x, 0, n)] : unknown;
      }

      scale.domain = function (_) {
        return arguments.length ? (domain = Array.from(_), n = Math.min(domain.length, range.length - 1), scale) : domain.slice();
      };

      scale.range = function (_) {
        return arguments.length ? (range = Array.from(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice();
      };

      scale.invertExtent = function (y) {
        var i = range.indexOf(y);
        return [domain[i - 1], domain[i]];
      };

      scale.unknown = function (_) {
        return arguments.length ? (unknown = _, scale) : unknown;
      };

      scale.copy = function () {
        return threshold().domain(domain).range(range).unknown(unknown);
      };

      return _init_js__WEBPACK_IMPORTED_MODULE_1__["initRange"].apply(scale, arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/tickFormat.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-scale/src/tickFormat.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcTickFormatJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return tickFormat;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var d3_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-format */
    "./node_modules/d3-format/src/index.js");

    function tickFormat(start, stop, count, specifier) {
      var step = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start, stop, count),
          precision;
      specifier = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["formatSpecifier"])(specifier == null ? ",f" : specifier);

      switch (specifier.type) {
        case "s":
          {
            var value = Math.max(Math.abs(start), Math.abs(stop));
            if (specifier.precision == null && !isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["precisionPrefix"])(step, value))) specifier.precision = precision;
            return Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["formatPrefix"])(specifier, value);
          }

        case "":
        case "e":
        case "g":
        case "p":
        case "r":
          {
            if (specifier.precision == null && !isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["precisionRound"])(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === "e");
            break;
          }

        case "f":
        case "%":
          {
            if (specifier.precision == null && !isNaN(precision = Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["precisionFixed"])(step))) specifier.precision = precision - (specifier.type === "%") * 2;
            break;
          }
      }

      return Object(d3_format__WEBPACK_IMPORTED_MODULE_1__["format"])(specifier);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/time.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-scale/src/time.js ***!
    \*******************************************/

  /*! exports provided: calendar, default */

  /***/
  function node_modulesD3ScaleSrcTimeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "calendar", function () {
      return calendar;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return time;
    });
    /* harmony import */


    var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-time */
    "./node_modules/d3-time/src/index.js");
    /* harmony import */


    var d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-time-format */
    "./node_modules/d3-time-format/src/index.js");
    /* harmony import */


    var _continuous_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./continuous.js */
    "./node_modules/d3-scale/src/continuous.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");
    /* harmony import */


    var _nice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./nice.js */
    "./node_modules/d3-scale/src/nice.js");

    function date(t) {
      return new Date(t);
    }

    function number(t) {
      return t instanceof Date ? +t : +new Date(+t);
    }

    function calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format) {
      var scale = Object(_continuous_js__WEBPACK_IMPORTED_MODULE_2__["default"])(),
          invert = scale.invert,
          domain = scale.domain;
      var formatMillisecond = format(".%L"),
          formatSecond = format(":%S"),
          formatMinute = format("%I:%M"),
          formatHour = format("%I %p"),
          formatDay = format("%a %d"),
          formatWeek = format("%b %d"),
          formatMonth = format("%B"),
          formatYear = format("%Y");

      function tickFormat(date) {
        return (second(date) < date ? formatMillisecond : minute(date) < date ? formatSecond : hour(date) < date ? formatMinute : day(date) < date ? formatHour : month(date) < date ? week(date) < date ? formatDay : formatWeek : year(date) < date ? formatMonth : formatYear)(date);
      }

      scale.invert = function (y) {
        return new Date(invert(y));
      };

      scale.domain = function (_) {
        return arguments.length ? domain(Array.from(_, number)) : domain().map(date);
      };

      scale.ticks = function (interval) {
        var d = domain();
        return ticks(d[0], d[d.length - 1], interval == null ? 10 : interval);
      };

      scale.tickFormat = function (count, specifier) {
        return specifier == null ? tickFormat : format(specifier);
      };

      scale.nice = function (interval) {
        var d = domain();
        if (!interval || typeof interval.range !== "function") interval = tickInterval(d[0], d[d.length - 1], interval == null ? 10 : interval);
        return interval ? domain(Object(_nice_js__WEBPACK_IMPORTED_MODULE_4__["default"])(d, interval)) : scale;
      };

      scale.copy = function () {
        return Object(_continuous_js__WEBPACK_IMPORTED_MODULE_2__["copy"])(scale, calendar(ticks, tickInterval, year, month, week, day, hour, minute, second, format));
      };

      return scale;
    }

    function time() {
      return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(calendar(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeTicks"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeTickInterval"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonth"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeWeek"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeHour"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMinute"], d3_time__WEBPACK_IMPORTED_MODULE_0__["timeSecond"], d3_time_format__WEBPACK_IMPORTED_MODULE_1__["timeFormat"]).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]), arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-scale/src/utcTime.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-scale/src/utcTime.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ScaleSrcUtcTimeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return utcTime;
    });
    /* harmony import */


    var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-time */
    "./node_modules/d3-time/src/index.js");
    /* harmony import */


    var d3_time_format__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-time-format */
    "./node_modules/d3-time-format/src/index.js");
    /* harmony import */


    var _time_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./time.js */
    "./node_modules/d3-scale/src/time.js");
    /* harmony import */


    var _init_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./init.js */
    "./node_modules/d3-scale/src/init.js");

    function utcTime() {
      return _init_js__WEBPACK_IMPORTED_MODULE_3__["initRange"].apply(Object(_time_js__WEBPACK_IMPORTED_MODULE_2__["calendar"])(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcTicks"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcTickInterval"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonth"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcWeek"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcHour"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMinute"], d3_time__WEBPACK_IMPORTED_MODULE_0__["utcSecond"], d3_time_format__WEBPACK_IMPORTED_MODULE_1__["utcFormat"]).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]), arguments);
    }
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/constant.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-selection/src/constant.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function () {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/create.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-selection/src/create.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcCreateJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./creator */
    "./node_modules/d3-selection/src/creator.js");
    /* harmony import */


    var _select__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./select */
    "./node_modules/d3-selection/src/select.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (name) {
      return Object(_select__WEBPACK_IMPORTED_MODULE_1__["default"])(Object(_creator__WEBPACK_IMPORTED_MODULE_0__["default"])(name).call(document.documentElement));
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/creator.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-selection/src/creator.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcCreatorJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _namespace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./namespace */
    "./node_modules/d3-selection/src/namespace.js");
    /* harmony import */


    var _namespaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./namespaces */
    "./node_modules/d3-selection/src/namespaces.js");

    function creatorInherit(name) {
      return function () {
        var document = this.ownerDocument,
            uri = this.namespaceURI;
        return uri === _namespaces__WEBPACK_IMPORTED_MODULE_1__["xhtml"] && document.documentElement.namespaceURI === _namespaces__WEBPACK_IMPORTED_MODULE_1__["xhtml"] ? document.createElement(name) : document.createElementNS(uri, name);
      };
    }

    function creatorFixed(fullname) {
      return function () {
        return this.ownerDocument.createElementNS(fullname.space, fullname.local);
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name) {
      var fullname = Object(_namespace__WEBPACK_IMPORTED_MODULE_0__["default"])(name);
      return (fullname.local ? creatorFixed : creatorInherit)(fullname);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/index.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-selection/src/index.js ***!
    \************************************************/

  /*! exports provided: create, creator, local, matcher, mouse, namespace, namespaces, clientPoint, select, selectAll, selection, selector, selectorAll, style, touch, touches, window, event, customEvent */

  /***/
  function node_modulesD3SelectionSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./create */
    "./node_modules/d3-selection/src/create.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "create", function () {
      return _create__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _creator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./creator */
    "./node_modules/d3-selection/src/creator.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "creator", function () {
      return _creator__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _local__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./local */
    "./node_modules/d3-selection/src/local.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "local", function () {
      return _local__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _matcher__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./matcher */
    "./node_modules/d3-selection/src/matcher.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "matcher", function () {
      return _matcher__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _mouse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./mouse */
    "./node_modules/d3-selection/src/mouse.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "mouse", function () {
      return _mouse__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _namespace__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./namespace */
    "./node_modules/d3-selection/src/namespace.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "namespace", function () {
      return _namespace__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony import */


    var _namespaces__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./namespaces */
    "./node_modules/d3-selection/src/namespaces.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "namespaces", function () {
      return _namespaces__WEBPACK_IMPORTED_MODULE_6__["default"];
    });
    /* harmony import */


    var _point__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./point */
    "./node_modules/d3-selection/src/point.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "clientPoint", function () {
      return _point__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony import */


    var _select__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./select */
    "./node_modules/d3-selection/src/select.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "select", function () {
      return _select__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony import */


    var _selectAll__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./selectAll */
    "./node_modules/d3-selection/src/selectAll.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "selectAll", function () {
      return _selectAll__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony import */


    var _selection_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./selection/index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "selection", function () {
      return _selection_index__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony import */


    var _selector__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./selector */
    "./node_modules/d3-selection/src/selector.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "selector", function () {
      return _selector__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony import */


    var _selectorAll__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./selectorAll */
    "./node_modules/d3-selection/src/selectorAll.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "selectorAll", function () {
      return _selectorAll__WEBPACK_IMPORTED_MODULE_12__["default"];
    });
    /* harmony import */


    var _selection_style__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./selection/style */
    "./node_modules/d3-selection/src/selection/style.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "style", function () {
      return _selection_style__WEBPACK_IMPORTED_MODULE_13__["styleValue"];
    });
    /* harmony import */


    var _touch__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./touch */
    "./node_modules/d3-selection/src/touch.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "touch", function () {
      return _touch__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony import */


    var _touches__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./touches */
    "./node_modules/d3-selection/src/touches.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "touches", function () {
      return _touches__WEBPACK_IMPORTED_MODULE_15__["default"];
    });
    /* harmony import */


    var _window__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./window */
    "./node_modules/d3-selection/src/window.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "window", function () {
      return _window__WEBPACK_IMPORTED_MODULE_16__["default"];
    });
    /* harmony import */


    var _selection_on__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./selection/on */
    "./node_modules/d3-selection/src/selection/on.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "event", function () {
      return _selection_on__WEBPACK_IMPORTED_MODULE_17__["event"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "customEvent", function () {
      return _selection_on__WEBPACK_IMPORTED_MODULE_17__["customEvent"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/local.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-selection/src/local.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcLocalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return local;
    });

    var nextId = 0;

    function local() {
      return new Local();
    }

    function Local() {
      this._ = "@" + (++nextId).toString(36);
    }

    Local.prototype = local.prototype = {
      constructor: Local,
      get: function get(node) {
        var id = this._;

        while (!(id in node)) if (!(node = node.parentNode)) return;

        return node[id];
      },
      set: function set(node, value) {
        return node[this._] = value;
      },
      remove: function remove(node) {
        return this._ in node && delete node[this._];
      },
      toString: function toString() {
        return this._;
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-selection/src/matcher.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-selection/src/matcher.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcMatcherJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (selector) {
      return function () {
        return this.matches(selector);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/mouse.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-selection/src/mouse.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcMouseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _sourceEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./sourceEvent */
    "./node_modules/d3-selection/src/sourceEvent.js");
    /* harmony import */


    var _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./point */
    "./node_modules/d3-selection/src/point.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (node) {
      var event = Object(_sourceEvent__WEBPACK_IMPORTED_MODULE_0__["default"])();
      if (event.changedTouches) event = event.changedTouches[0];
      return Object(_point__WEBPACK_IMPORTED_MODULE_1__["default"])(node, event);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/namespace.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-selection/src/namespace.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcNamespaceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _namespaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./namespaces */
    "./node_modules/d3-selection/src/namespaces.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (name) {
      var prefix = name += "",
          i = prefix.indexOf(":");
      if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1);
      return _namespaces__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProperty(prefix) ? {
        space: _namespaces__WEBPACK_IMPORTED_MODULE_0__["default"][prefix],
        local: name
      } : name;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/namespaces.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-selection/src/namespaces.js ***!
    \*****************************************************/

  /*! exports provided: xhtml, default */

  /***/
  function node_modulesD3SelectionSrcNamespacesJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "xhtml", function () {
      return xhtml;
    });

    var xhtml = "http://www.w3.org/1999/xhtml";
    /* harmony default export */

    __webpack_exports__["default"] = {
      svg: "http://www.w3.org/2000/svg",
      xhtml: xhtml,
      xlink: "http://www.w3.org/1999/xlink",
      xml: "http://www.w3.org/XML/1998/namespace",
      xmlns: "http://www.w3.org/2000/xmlns/"
    };
    /***/
  },

  /***/
  "./node_modules/d3-selection/src/point.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-selection/src/point.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcPointJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (node, event) {
      var svg = node.ownerSVGElement || node;

      if (svg.createSVGPoint) {
        var point = svg.createSVGPoint();
        point.x = event.clientX, point.y = event.clientY;
        point = point.matrixTransform(node.getScreenCTM().inverse());
        return [point.x, point.y];
      }

      var rect = node.getBoundingClientRect();
      return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/select.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-selection/src/select.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _selection_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./selection/index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (selector) {
      return typeof selector === "string" ? new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([[document.querySelector(selector)]], [document.documentElement]) : new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([[selector]], _selection_index__WEBPACK_IMPORTED_MODULE_0__["root"]);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selectAll.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-selection/src/selectAll.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectAllJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _selection_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./selection/index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (selector) {
      return typeof selector === "string" ? new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([document.querySelectorAll(selector)], [document.documentElement]) : new _selection_index__WEBPACK_IMPORTED_MODULE_0__["Selection"]([selector == null ? [] : selector], _selection_index__WEBPACK_IMPORTED_MODULE_0__["root"]);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/append.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/append.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionAppendJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../creator */
    "./node_modules/d3-selection/src/creator.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (name) {
      var create = typeof name === "function" ? name : Object(_creator__WEBPACK_IMPORTED_MODULE_0__["default"])(name);
      return this.select(function () {
        return this.appendChild(create.apply(this, arguments));
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/attr.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/attr.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionAttrJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _namespace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../namespace */
    "./node_modules/d3-selection/src/namespace.js");

    function attrRemove(name) {
      return function () {
        this.removeAttribute(name);
      };
    }

    function attrRemoveNS(fullname) {
      return function () {
        this.removeAttributeNS(fullname.space, fullname.local);
      };
    }

    function attrConstant(name, value) {
      return function () {
        this.setAttribute(name, value);
      };
    }

    function attrConstantNS(fullname, value) {
      return function () {
        this.setAttributeNS(fullname.space, fullname.local, value);
      };
    }

    function attrFunction(name, value) {
      return function () {
        var v = value.apply(this, arguments);
        if (v == null) this.removeAttribute(name);else this.setAttribute(name, v);
      };
    }

    function attrFunctionNS(fullname, value) {
      return function () {
        var v = value.apply(this, arguments);
        if (v == null) this.removeAttributeNS(fullname.space, fullname.local);else this.setAttributeNS(fullname.space, fullname.local, v);
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value) {
      var fullname = Object(_namespace__WEBPACK_IMPORTED_MODULE_0__["default"])(name);

      if (arguments.length < 2) {
        var node = this.node();
        return fullname.local ? node.getAttributeNS(fullname.space, fullname.local) : node.getAttribute(fullname);
      }

      return this.each((value == null ? fullname.local ? attrRemoveNS : attrRemove : typeof value === "function" ? fullname.local ? attrFunctionNS : attrFunction : fullname.local ? attrConstantNS : attrConstant)(fullname, value));
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/call.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/call.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionCallJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var callback = arguments[0];
      arguments[0] = this;
      callback.apply(null, arguments);
      return this;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/classed.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/classed.js ***!
    \************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionClassedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function classArray(string) {
      return string.trim().split(/^|\s+/);
    }

    function classList(node) {
      return node.classList || new ClassList(node);
    }

    function ClassList(node) {
      this._node = node;
      this._names = classArray(node.getAttribute("class") || "");
    }

    ClassList.prototype = {
      add: function add(name) {
        var i = this._names.indexOf(name);

        if (i < 0) {
          this._names.push(name);

          this._node.setAttribute("class", this._names.join(" "));
        }
      },
      remove: function remove(name) {
        var i = this._names.indexOf(name);

        if (i >= 0) {
          this._names.splice(i, 1);

          this._node.setAttribute("class", this._names.join(" "));
        }
      },
      contains: function contains(name) {
        return this._names.indexOf(name) >= 0;
      }
    };

    function classedAdd(node, names) {
      var list = classList(node),
          i = -1,
          n = names.length;

      while (++i < n) list.add(names[i]);
    }

    function classedRemove(node, names) {
      var list = classList(node),
          i = -1,
          n = names.length;

      while (++i < n) list.remove(names[i]);
    }

    function classedTrue(names) {
      return function () {
        classedAdd(this, names);
      };
    }

    function classedFalse(names) {
      return function () {
        classedRemove(this, names);
      };
    }

    function classedFunction(names, value) {
      return function () {
        (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value) {
      var names = classArray(name + "");

      if (arguments.length < 2) {
        var list = classList(this.node()),
            i = -1,
            n = names.length;

        while (++i < n) if (!list.contains(names[i])) return false;

        return true;
      }

      return this.each((typeof value === "function" ? classedFunction : value ? classedTrue : classedFalse)(names, value));
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/clone.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/clone.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionCloneJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function selection_cloneShallow() {
      var clone = this.cloneNode(false),
          parent = this.parentNode;
      return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
    }

    function selection_cloneDeep() {
      var clone = this.cloneNode(true),
          parent = this.parentNode;
      return parent ? parent.insertBefore(clone, this.nextSibling) : clone;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (deep) {
      return this.select(deep ? selection_cloneDeep : selection_cloneShallow);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/data.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/data.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionDataJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony import */


    var _enter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./enter */
    "./node_modules/d3-selection/src/selection/enter.js");
    /* harmony import */


    var _constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../constant */
    "./node_modules/d3-selection/src/constant.js");

    var keyPrefix = "$"; // Protect against keys like “__proto__”.

    function bindIndex(parent, group, enter, update, exit, data) {
      var i = 0,
          node,
          groupLength = group.length,
          dataLength = data.length; // Put any non-null nodes that fit into update.
      // Put any null nodes into enter.
      // Put any remaining data into enter.

      for (; i < dataLength; ++i) {
        if (node = group[i]) {
          node.__data__ = data[i];
          update[i] = node;
        } else {
          enter[i] = new _enter__WEBPACK_IMPORTED_MODULE_1__["EnterNode"](parent, data[i]);
        }
      } // Put any non-null nodes that don’t fit into exit.


      for (; i < groupLength; ++i) {
        if (node = group[i]) {
          exit[i] = node;
        }
      }
    }

    function bindKey(parent, group, enter, update, exit, data, key) {
      var i,
          node,
          nodeByKeyValue = {},
          groupLength = group.length,
          dataLength = data.length,
          keyValues = new Array(groupLength),
          keyValue; // Compute the key for each node.
      // If multiple nodes have the same key, the duplicates are added to exit.

      for (i = 0; i < groupLength; ++i) {
        if (node = group[i]) {
          keyValues[i] = keyValue = keyPrefix + key.call(node, node.__data__, i, group);

          if (keyValue in nodeByKeyValue) {
            exit[i] = node;
          } else {
            nodeByKeyValue[keyValue] = node;
          }
        }
      } // Compute the key for each datum.
      // If there a node associated with this key, join and add it to update.
      // If there is not (or the key is a duplicate), add it to enter.


      for (i = 0; i < dataLength; ++i) {
        keyValue = keyPrefix + key.call(parent, data[i], i, data);

        if (node = nodeByKeyValue[keyValue]) {
          update[i] = node;
          node.__data__ = data[i];
          nodeByKeyValue[keyValue] = null;
        } else {
          enter[i] = new _enter__WEBPACK_IMPORTED_MODULE_1__["EnterNode"](parent, data[i]);
        }
      } // Add any remaining nodes that were not bound to data to exit.


      for (i = 0; i < groupLength; ++i) {
        if ((node = group[i]) && nodeByKeyValue[keyValues[i]] === node) {
          exit[i] = node;
        }
      }
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value, key) {
      if (!value) {
        data = new Array(this.size()), j = -1;
        this.each(function (d) {
          data[++j] = d;
        });
        return data;
      }

      var bind = key ? bindKey : bindIndex,
          parents = this._parents,
          groups = this._groups;
      if (typeof value !== "function") value = Object(_constant__WEBPACK_IMPORTED_MODULE_2__["default"])(value);

      for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {
        var parent = parents[j],
            group = groups[j],
            groupLength = group.length,
            data = value.call(parent, parent && parent.__data__, j, parents),
            dataLength = data.length,
            enterGroup = enter[j] = new Array(dataLength),
            updateGroup = update[j] = new Array(dataLength),
            exitGroup = exit[j] = new Array(groupLength);
        bind(parent, group, enterGroup, updateGroup, exitGroup, data, key); // Now connect the enter nodes to their following update node, such that
        // appendChild can insert the materialized enter node before this node,
        // rather than at the end of the parent node.

        for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {
          if (previous = enterGroup[i0]) {
            if (i0 >= i1) i1 = i0 + 1;

            while (!(next = updateGroup[i1]) && ++i1 < dataLength);

            previous._next = next || null;
          }
        }
      }

      update = new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](update, parents);
      update._enter = enter;
      update._exit = exit;
      return update;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/datum.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/datum.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionDatumJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      return arguments.length ? this.property("__data__", value) : this.node().__data__;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/dispatch.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/dispatch.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionDispatchJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _window__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../window */
    "./node_modules/d3-selection/src/window.js");

    function dispatchEvent(node, type, params) {
      var window = Object(_window__WEBPACK_IMPORTED_MODULE_0__["default"])(node),
          event = window.CustomEvent;

      if (typeof event === "function") {
        event = new event(type, params);
      } else {
        event = window.document.createEvent("Event");
        if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;else event.initEvent(type, false, false);
      }

      node.dispatchEvent(event);
    }

    function dispatchConstant(type, params) {
      return function () {
        return dispatchEvent(this, type, params);
      };
    }

    function dispatchFunction(type, params) {
      return function () {
        return dispatchEvent(this, type, params.apply(this, arguments));
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (type, params) {
      return this.each((typeof params === "function" ? dispatchFunction : dispatchConstant)(type, params));
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/each.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/each.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionEachJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (callback) {
      for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
        for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {
          if (node = group[i]) callback.call(node, node.__data__, i, group);
        }
      }

      return this;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/empty.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/empty.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionEmptyJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return !this.node();
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/enter.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/enter.js ***!
    \**********************************************************/

  /*! exports provided: default, EnterNode */

  /***/
  function node_modulesD3SelectionSrcSelectionEnterJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "EnterNode", function () {
      return EnterNode;
    });
    /* harmony import */


    var _sparse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./sparse */
    "./node_modules/d3-selection/src/selection/sparse.js");
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return new _index__WEBPACK_IMPORTED_MODULE_1__["Selection"](this._enter || this._groups.map(_sparse__WEBPACK_IMPORTED_MODULE_0__["default"]), this._parents);
    };

    function EnterNode(parent, datum) {
      this.ownerDocument = parent.ownerDocument;
      this.namespaceURI = parent.namespaceURI;
      this._next = null;
      this._parent = parent;
      this.__data__ = datum;
    }

    EnterNode.prototype = {
      constructor: EnterNode,
      appendChild: function appendChild(child) {
        return this._parent.insertBefore(child, this._next);
      },
      insertBefore: function insertBefore(child, next) {
        return this._parent.insertBefore(child, next);
      },
      querySelector: function querySelector(selector) {
        return this._parent.querySelector(selector);
      },
      querySelectorAll: function querySelectorAll(selector) {
        return this._parent.querySelectorAll(selector);
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-selection/src/selection/exit.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/exit.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionExitJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _sparse__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./sparse */
    "./node_modules/d3-selection/src/selection/sparse.js");
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return new _index__WEBPACK_IMPORTED_MODULE_1__["Selection"](this._exit || this._groups.map(_sparse__WEBPACK_IMPORTED_MODULE_0__["default"]), this._parents);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/filter.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/filter.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionFilterJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony import */


    var _matcher__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../matcher */
    "./node_modules/d3-selection/src/matcher.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (match) {
      if (typeof match !== "function") match = Object(_matcher__WEBPACK_IMPORTED_MODULE_1__["default"])(match);

      for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
          if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
            subgroup.push(node);
          }
        }
      }

      return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](subgroups, this._parents);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/html.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/html.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionHtmlJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function htmlRemove() {
      this.innerHTML = "";
    }

    function htmlConstant(value) {
      return function () {
        this.innerHTML = value;
      };
    }

    function htmlFunction(value) {
      return function () {
        var v = value.apply(this, arguments);
        this.innerHTML = v == null ? "" : v;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      return arguments.length ? this.each(value == null ? htmlRemove : (typeof value === "function" ? htmlFunction : htmlConstant)(value)) : this.node().innerHTML;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/index.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/index.js ***!
    \**********************************************************/

  /*! exports provided: root, Selection, default */

  /***/
  function node_modulesD3SelectionSrcSelectionIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "root", function () {
      return root;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Selection", function () {
      return Selection;
    });
    /* harmony import */


    var _select__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./select */
    "./node_modules/d3-selection/src/selection/select.js");
    /* harmony import */


    var _selectAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./selectAll */
    "./node_modules/d3-selection/src/selection/selectAll.js");
    /* harmony import */


    var _filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./filter */
    "./node_modules/d3-selection/src/selection/filter.js");
    /* harmony import */


    var _data__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./data */
    "./node_modules/d3-selection/src/selection/data.js");
    /* harmony import */


    var _enter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./enter */
    "./node_modules/d3-selection/src/selection/enter.js");
    /* harmony import */


    var _exit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./exit */
    "./node_modules/d3-selection/src/selection/exit.js");
    /* harmony import */


    var _join__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./join */
    "./node_modules/d3-selection/src/selection/join.js");
    /* harmony import */


    var _merge__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./merge */
    "./node_modules/d3-selection/src/selection/merge.js");
    /* harmony import */


    var _order__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./order */
    "./node_modules/d3-selection/src/selection/order.js");
    /* harmony import */


    var _sort__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./sort */
    "./node_modules/d3-selection/src/selection/sort.js");
    /* harmony import */


    var _call__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./call */
    "./node_modules/d3-selection/src/selection/call.js");
    /* harmony import */


    var _nodes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./nodes */
    "./node_modules/d3-selection/src/selection/nodes.js");
    /* harmony import */


    var _node__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./node */
    "./node_modules/d3-selection/src/selection/node.js");
    /* harmony import */


    var _size__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./size */
    "./node_modules/d3-selection/src/selection/size.js");
    /* harmony import */


    var _empty__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./empty */
    "./node_modules/d3-selection/src/selection/empty.js");
    /* harmony import */


    var _each__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./each */
    "./node_modules/d3-selection/src/selection/each.js");
    /* harmony import */


    var _attr__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./attr */
    "./node_modules/d3-selection/src/selection/attr.js");
    /* harmony import */


    var _style__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./style */
    "./node_modules/d3-selection/src/selection/style.js");
    /* harmony import */


    var _property__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./property */
    "./node_modules/d3-selection/src/selection/property.js");
    /* harmony import */


    var _classed__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./classed */
    "./node_modules/d3-selection/src/selection/classed.js");
    /* harmony import */


    var _text__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ./text */
    "./node_modules/d3-selection/src/selection/text.js");
    /* harmony import */


    var _html__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ./html */
    "./node_modules/d3-selection/src/selection/html.js");
    /* harmony import */


    var _raise__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ./raise */
    "./node_modules/d3-selection/src/selection/raise.js");
    /* harmony import */


    var _lower__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
    /*! ./lower */
    "./node_modules/d3-selection/src/selection/lower.js");
    /* harmony import */


    var _append__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
    /*! ./append */
    "./node_modules/d3-selection/src/selection/append.js");
    /* harmony import */


    var _insert__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
    /*! ./insert */
    "./node_modules/d3-selection/src/selection/insert.js");
    /* harmony import */


    var _remove__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
    /*! ./remove */
    "./node_modules/d3-selection/src/selection/remove.js");
    /* harmony import */


    var _clone__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
    /*! ./clone */
    "./node_modules/d3-selection/src/selection/clone.js");
    /* harmony import */


    var _datum__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
    /*! ./datum */
    "./node_modules/d3-selection/src/selection/datum.js");
    /* harmony import */


    var _on__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
    /*! ./on */
    "./node_modules/d3-selection/src/selection/on.js");
    /* harmony import */


    var _dispatch__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
    /*! ./dispatch */
    "./node_modules/d3-selection/src/selection/dispatch.js");

    var root = [null];

    function Selection(groups, parents) {
      this._groups = groups;
      this._parents = parents;
    }

    function selection() {
      return new Selection([[document.documentElement]], root);
    }

    Selection.prototype = selection.prototype = {
      constructor: Selection,
      select: _select__WEBPACK_IMPORTED_MODULE_0__["default"],
      selectAll: _selectAll__WEBPACK_IMPORTED_MODULE_1__["default"],
      filter: _filter__WEBPACK_IMPORTED_MODULE_2__["default"],
      data: _data__WEBPACK_IMPORTED_MODULE_3__["default"],
      enter: _enter__WEBPACK_IMPORTED_MODULE_4__["default"],
      exit: _exit__WEBPACK_IMPORTED_MODULE_5__["default"],
      join: _join__WEBPACK_IMPORTED_MODULE_6__["default"],
      merge: _merge__WEBPACK_IMPORTED_MODULE_7__["default"],
      order: _order__WEBPACK_IMPORTED_MODULE_8__["default"],
      sort: _sort__WEBPACK_IMPORTED_MODULE_9__["default"],
      call: _call__WEBPACK_IMPORTED_MODULE_10__["default"],
      nodes: _nodes__WEBPACK_IMPORTED_MODULE_11__["default"],
      node: _node__WEBPACK_IMPORTED_MODULE_12__["default"],
      size: _size__WEBPACK_IMPORTED_MODULE_13__["default"],
      empty: _empty__WEBPACK_IMPORTED_MODULE_14__["default"],
      each: _each__WEBPACK_IMPORTED_MODULE_15__["default"],
      attr: _attr__WEBPACK_IMPORTED_MODULE_16__["default"],
      style: _style__WEBPACK_IMPORTED_MODULE_17__["default"],
      property: _property__WEBPACK_IMPORTED_MODULE_18__["default"],
      classed: _classed__WEBPACK_IMPORTED_MODULE_19__["default"],
      text: _text__WEBPACK_IMPORTED_MODULE_20__["default"],
      html: _html__WEBPACK_IMPORTED_MODULE_21__["default"],
      raise: _raise__WEBPACK_IMPORTED_MODULE_22__["default"],
      lower: _lower__WEBPACK_IMPORTED_MODULE_23__["default"],
      append: _append__WEBPACK_IMPORTED_MODULE_24__["default"],
      insert: _insert__WEBPACK_IMPORTED_MODULE_25__["default"],
      remove: _remove__WEBPACK_IMPORTED_MODULE_26__["default"],
      clone: _clone__WEBPACK_IMPORTED_MODULE_27__["default"],
      datum: _datum__WEBPACK_IMPORTED_MODULE_28__["default"],
      on: _on__WEBPACK_IMPORTED_MODULE_29__["default"],
      dispatch: _dispatch__WEBPACK_IMPORTED_MODULE_30__["default"]
    };
    /* harmony default export */

    __webpack_exports__["default"] = selection;
    /***/
  },

  /***/
  "./node_modules/d3-selection/src/selection/insert.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/insert.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionInsertJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../creator */
    "./node_modules/d3-selection/src/creator.js");
    /* harmony import */


    var _selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../selector */
    "./node_modules/d3-selection/src/selector.js");

    function constantNull() {
      return null;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, before) {
      var create = typeof name === "function" ? name : Object(_creator__WEBPACK_IMPORTED_MODULE_0__["default"])(name),
          select = before == null ? constantNull : typeof before === "function" ? before : Object(_selector__WEBPACK_IMPORTED_MODULE_1__["default"])(before);
      return this.select(function () {
        return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/join.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/join.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionJoinJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (onenter, onupdate, onexit) {
      var enter = this.enter(),
          update = this,
          exit = this.exit();
      enter = typeof onenter === "function" ? onenter(enter) : enter.append(onenter + "");
      if (onupdate != null) update = onupdate(update);
      if (onexit == null) exit.remove();else onexit(exit);
      return enter && update ? enter.merge(update).order() : update;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/lower.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/lower.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionLowerJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function lower() {
      if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return this.each(lower);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/merge.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/merge.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionMergeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (selection) {
      for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
        for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
          if (node = group0[i] || group1[i]) {
            merge[i] = node;
          }
        }
      }

      for (; j < m0; ++j) {
        merges[j] = groups0[j];
      }

      return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](merges, this._parents);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/node.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/node.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionNodeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {
        for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {
          var node = group[i];
          if (node) return node;
        }
      }

      return null;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/nodes.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/nodes.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionNodesJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var nodes = new Array(this.size()),
          i = -1;
      this.each(function () {
        nodes[++i] = this;
      });
      return nodes;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/on.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/on.js ***!
    \*******************************************************/

  /*! exports provided: event, default, customEvent */

  /***/
  function node_modulesD3SelectionSrcSelectionOnJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "event", function () {
      return event;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "customEvent", function () {
      return customEvent;
    });

    var filterEvents = {};
    var event = null;

    if (typeof document !== "undefined") {
      var element = document.documentElement;

      if (!("onmouseenter" in element)) {
        filterEvents = {
          mouseenter: "mouseover",
          mouseleave: "mouseout"
        };
      }
    }

    function filterContextListener(listener, index, group) {
      listener = contextListener(listener, index, group);
      return function (event) {
        var related = event.relatedTarget;

        if (!related || related !== this && !(related.compareDocumentPosition(this) & 8)) {
          listener.call(this, event);
        }
      };
    }

    function contextListener(listener, index, group) {
      return function (event1) {
        var event0 = event; // Events can be reentrant (e.g., focus).

        event = event1;

        try {
          listener.call(this, this.__data__, index, group);
        } finally {
          event = event0;
        }
      };
    }

    function parseTypenames(typenames) {
      return typenames.trim().split(/^|\s+/).map(function (t) {
        var name = "",
            i = t.indexOf(".");
        if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);
        return {
          type: t,
          name: name
        };
      });
    }

    function onRemove(typename) {
      return function () {
        var on = this.__on;
        if (!on) return;

        for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {
          if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {
            this.removeEventListener(o.type, o.listener, o.capture);
          } else {
            on[++i] = o;
          }
        }

        if (++i) on.length = i;else delete this.__on;
      };
    }

    function onAdd(typename, value, capture) {
      var wrap = filterEvents.hasOwnProperty(typename.type) ? filterContextListener : contextListener;
      return function (d, i, group) {
        var on = this.__on,
            o,
            listener = wrap(value, i, group);
        if (on) for (var j = 0, m = on.length; j < m; ++j) {
          if ((o = on[j]).type === typename.type && o.name === typename.name) {
            this.removeEventListener(o.type, o.listener, o.capture);
            this.addEventListener(o.type, o.listener = listener, o.capture = capture);
            o.value = value;
            return;
          }
        }
        this.addEventListener(typename.type, listener, capture);
        o = {
          type: typename.type,
          name: typename.name,
          value: value,
          listener: listener,
          capture: capture
        };
        if (!on) this.__on = [o];else on.push(o);
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (typename, value, capture) {
      var typenames = parseTypenames(typename + ""),
          i,
          n = typenames.length,
          t;

      if (arguments.length < 2) {
        var on = this.node().__on;

        if (on) for (var j = 0, m = on.length, o; j < m; ++j) {
          for (i = 0, o = on[j]; i < n; ++i) {
            if ((t = typenames[i]).type === o.type && t.name === o.name) {
              return o.value;
            }
          }
        }
        return;
      }

      on = value ? onAdd : onRemove;
      if (capture == null) capture = false;

      for (i = 0; i < n; ++i) this.each(on(typenames[i], value, capture));

      return this;
    };

    function customEvent(event1, listener, that, args) {
      var event0 = event;
      event1.sourceEvent = event;
      event = event1;

      try {
        return listener.apply(that, args);
      } finally {
        event = event0;
      }
    }
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/order.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/order.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionOrderJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {
        for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {
          if (node = group[i]) {
            if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);
            next = node;
          }
        }
      }

      return this;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/property.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/property.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionPropertyJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function propertyRemove(name) {
      return function () {
        delete this[name];
      };
    }

    function propertyConstant(name, value) {
      return function () {
        this[name] = value;
      };
    }

    function propertyFunction(name, value) {
      return function () {
        var v = value.apply(this, arguments);
        if (v == null) delete this[name];else this[name] = v;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value) {
      return arguments.length > 1 ? this.each((value == null ? propertyRemove : typeof value === "function" ? propertyFunction : propertyConstant)(name, value)) : this.node()[name];
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/raise.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/raise.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionRaiseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function raise() {
      if (this.nextSibling) this.parentNode.appendChild(this);
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return this.each(raise);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/remove.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/remove.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionRemoveJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function remove() {
      var parent = this.parentNode;
      if (parent) parent.removeChild(this);
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return this.each(remove);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/select.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/select.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionSelectJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony import */


    var _selector__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../selector */
    "./node_modules/d3-selection/src/selector.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (select) {
      if (typeof select !== "function") select = Object(_selector__WEBPACK_IMPORTED_MODULE_1__["default"])(select);

      for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
          if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
            if ("__data__" in node) subnode.__data__ = node.__data__;
            subgroup[i] = subnode;
          }
        }
      }

      return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](subgroups, this._parents);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/selectAll.js":
  /*!**************************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/selectAll.js ***!
    \**************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionSelectAllJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony import */


    var _selectorAll__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../selectorAll */
    "./node_modules/d3-selection/src/selectorAll.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (select) {
      if (typeof select !== "function") select = Object(_selectorAll__WEBPACK_IMPORTED_MODULE_1__["default"])(select);

      for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
          if (node = group[i]) {
            subgroups.push(select.call(node, node.__data__, i, group));
            parents.push(node);
          }
        }
      }

      return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](subgroups, parents);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/size.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/size.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionSizeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var size = 0;
      this.each(function () {
        ++size;
      });
      return size;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/sort.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/sort.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionSortJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index */
    "./node_modules/d3-selection/src/selection/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (compare) {
      if (!compare) compare = ascending;

      function compareNode(a, b) {
        return a && b ? compare(a.__data__, b.__data__) : !a - !b;
      }

      for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {
          if (node = group[i]) {
            sortgroup[i] = node;
          }
        }

        sortgroup.sort(compareNode);
      }

      return new _index__WEBPACK_IMPORTED_MODULE_0__["Selection"](sortgroups, this._parents).order();
    };

    function ascending(a, b) {
      return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
    }
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/sparse.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/sparse.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionSparseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (update) {
      return new Array(update.length);
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/style.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/style.js ***!
    \**********************************************************/

  /*! exports provided: default, styleValue */

  /***/
  function node_modulesD3SelectionSrcSelectionStyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styleValue", function () {
      return styleValue;
    });
    /* harmony import */


    var _window__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../window */
    "./node_modules/d3-selection/src/window.js");

    function styleRemove(name) {
      return function () {
        this.style.removeProperty(name);
      };
    }

    function styleConstant(name, value, priority) {
      return function () {
        this.style.setProperty(name, value, priority);
      };
    }

    function styleFunction(name, value, priority) {
      return function () {
        var v = value.apply(this, arguments);
        if (v == null) this.style.removeProperty(name);else this.style.setProperty(name, v, priority);
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value, priority) {
      return arguments.length > 1 ? this.each((value == null ? styleRemove : typeof value === "function" ? styleFunction : styleConstant)(name, value, priority == null ? "" : priority)) : styleValue(this.node(), name);
    };

    function styleValue(node, name) {
      return node.style.getPropertyValue(name) || Object(_window__WEBPACK_IMPORTED_MODULE_0__["default"])(node).getComputedStyle(node, null).getPropertyValue(name);
    }
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selection/text.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-selection/src/selection/text.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectionTextJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function textRemove() {
      this.textContent = "";
    }

    function textConstant(value) {
      return function () {
        this.textContent = value;
      };
    }

    function textFunction(value) {
      return function () {
        var v = value.apply(this, arguments);
        this.textContent = v == null ? "" : v;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      return arguments.length ? this.each(value == null ? textRemove : (typeof value === "function" ? textFunction : textConstant)(value)) : this.node().textContent;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selector.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-selection/src/selector.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectorJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function none() {}
    /* harmony default export */


    __webpack_exports__["default"] = function (selector) {
      return selector == null ? none : function () {
        return this.querySelector(selector);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/selectorAll.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-selection/src/selectorAll.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSelectorAllJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function empty() {
      return [];
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (selector) {
      return selector == null ? empty : function () {
        return this.querySelectorAll(selector);
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/sourceEvent.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-selection/src/sourceEvent.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcSourceEventJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _selection_on__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./selection/on */
    "./node_modules/d3-selection/src/selection/on.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var current = _selection_on__WEBPACK_IMPORTED_MODULE_0__["event"],
          source;

      while (source = current.sourceEvent) current = source;

      return current;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/touch.js":
  /*!************************************************!*\
    !*** ./node_modules/d3-selection/src/touch.js ***!
    \************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcTouchJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _sourceEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./sourceEvent */
    "./node_modules/d3-selection/src/sourceEvent.js");
    /* harmony import */


    var _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./point */
    "./node_modules/d3-selection/src/point.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (node, touches, identifier) {
      if (arguments.length < 3) identifier = touches, touches = Object(_sourceEvent__WEBPACK_IMPORTED_MODULE_0__["default"])().changedTouches;

      for (var i = 0, n = touches ? touches.length : 0, touch; i < n; ++i) {
        if ((touch = touches[i]).identifier === identifier) {
          return Object(_point__WEBPACK_IMPORTED_MODULE_1__["default"])(node, touch);
        }
      }

      return null;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/touches.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-selection/src/touches.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcTouchesJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _sourceEvent__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./sourceEvent */
    "./node_modules/d3-selection/src/sourceEvent.js");
    /* harmony import */


    var _point__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./point */
    "./node_modules/d3-selection/src/point.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (node, touches) {
      if (touches == null) touches = Object(_sourceEvent__WEBPACK_IMPORTED_MODULE_0__["default"])().touches;

      for (var i = 0, n = touches ? touches.length : 0, points = new Array(n); i < n; ++i) {
        points[i] = Object(_point__WEBPACK_IMPORTED_MODULE_1__["default"])(node, touches[i]);
      }

      return points;
    };
    /***/

  },

  /***/
  "./node_modules/d3-selection/src/window.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-selection/src/window.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3SelectionSrcWindowJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (node) {
      return node.ownerDocument && node.ownerDocument.defaultView // node is a Node
      || node.document && node // node is a Window
      || node.defaultView; // node is a Document
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/arc.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-shape/src/arc.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcArcJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-path */
    "./node_modules/d3-path/src/index.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-shape/src/constant.js");
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./math.js */
    "./node_modules/d3-shape/src/math.js");

    function arcInnerRadius(d) {
      return d.innerRadius;
    }

    function arcOuterRadius(d) {
      return d.outerRadius;
    }

    function arcStartAngle(d) {
      return d.startAngle;
    }

    function arcEndAngle(d) {
      return d.endAngle;
    }

    function arcPadAngle(d) {
      return d && d.padAngle; // Note: optional!
    }

    function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {
      var x10 = x1 - x0,
          y10 = y1 - y0,
          x32 = x3 - x2,
          y32 = y3 - y2,
          t = y32 * x10 - x32 * y10;
      if (t * t < _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) return;
      t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;
      return [x0 + t * x10, y0 + t * y10];
    } // Compute perpendicular offset line of length rc.
    // http://mathworld.wolfram.com/Circle-LineIntersection.html


    function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {
      var x01 = x0 - x1,
          y01 = y0 - y1,
          lo = (cw ? rc : -rc) / Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(x01 * x01 + y01 * y01),
          ox = lo * y01,
          oy = -lo * x01,
          x11 = x0 + ox,
          y11 = y0 + oy,
          x10 = x1 + ox,
          y10 = y1 + oy,
          x00 = (x11 + x10) / 2,
          y00 = (y11 + y10) / 2,
          dx = x10 - x11,
          dy = y10 - y11,
          d2 = dx * dx + dy * dy,
          r = r1 - rc,
          D = x11 * y10 - x10 * y11,
          d = (dy < 0 ? -1 : 1) * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["max"])(0, r * r * d2 - D * D)),
          cx0 = (D * dy - dx * d) / d2,
          cy0 = (-D * dx - dy * d) / d2,
          cx1 = (D * dy + dx * d) / d2,
          cy1 = (-D * dx + dy * d) / d2,
          dx0 = cx0 - x00,
          dy0 = cy0 - y00,
          dx1 = cx1 - x00,
          dy1 = cy1 - y00; // Pick the closer of the two intersection points.
      // TODO Is there a faster way to determine which intersection to use?

      if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;
      return {
        cx: cx0,
        cy: cy0,
        x01: -ox,
        y01: -oy,
        x11: cx0 * (r1 / r - 1),
        y11: cy0 * (r1 / r - 1)
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var innerRadius = arcInnerRadius,
          outerRadius = arcOuterRadius,
          cornerRadius = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0),
          padRadius = null,
          startAngle = arcStartAngle,
          endAngle = arcEndAngle,
          padAngle = arcPadAngle,
          context = null;

      function arc() {
        var buffer,
            r,
            r0 = +innerRadius.apply(this, arguments),
            r1 = +outerRadius.apply(this, arguments),
            a0 = startAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_2__["halfPi"],
            a1 = endAngle.apply(this, arguments) - _math_js__WEBPACK_IMPORTED_MODULE_2__["halfPi"],
            da = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["abs"])(a1 - a0),
            cw = a1 > a0;

        if (!context) context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])(); // Ensure that the outer radius is always larger than the inner radius.

        if (r1 < r0) r = r1, r1 = r0, r0 = r; // Is it a point?

        if (!(r1 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"])) context.moveTo(0, 0); // Or is it a circle or annulus?
        else if (da > _math_js__WEBPACK_IMPORTED_MODULE_2__["tau"] - _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
          context.moveTo(r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a0), r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a0));
          context.arc(0, 0, r1, a0, a1, !cw);

          if (r0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
            context.moveTo(r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a1), r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a1));
            context.arc(0, 0, r0, a1, a0, cw);
          }
        } // Or is it a circular or annular sector?
        else {
          var a01 = a0,
              a11 = a1,
              a00 = a0,
              a10 = a1,
              da0 = da,
              da1 = da,
              ap = padAngle.apply(this, arguments) / 2,
              rp = ap > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"] && (padRadius ? +padRadius.apply(this, arguments) : Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(r0 * r0 + r1 * r1)),
              rc = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["min"])(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["abs"])(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),
              rc0 = rc,
              rc1 = rc,
              t0,
              t1; // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.

          if (rp > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
            var p0 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["asin"])(rp / r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(ap)),
                p1 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["asin"])(rp / r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(ap));
            if ((da0 -= p0 * 2) > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) p0 *= cw ? 1 : -1, a00 += p0, a10 -= p0;else da0 = 0, a00 = a10 = (a0 + a1) / 2;
            if ((da1 -= p1 * 2) > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) p1 *= cw ? 1 : -1, a01 += p1, a11 -= p1;else da1 = 0, a01 = a11 = (a0 + a1) / 2;
          }

          var x01 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a01),
              y01 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a01),
              x10 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a10),
              y10 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a10); // Apply rounded corners?

          if (rc > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
            var x11 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a11),
                y11 = r1 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a11),
                x00 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a00),
                y00 = r0 * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a00),
                oc; // Restrict the corner radius according to the sector angle.

            if (da < _math_js__WEBPACK_IMPORTED_MODULE_2__["pi"] && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {
              var ax = x01 - oc[0],
                  ay = y01 - oc[1],
                  bx = x11 - oc[0],
                  by = y11 - oc[1],
                  kc = 1 / Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["acos"])((ax * bx + ay * by) / (Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(ax * ax + ay * ay) * Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(bx * bx + by * by))) / 2),
                  lc = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sqrt"])(oc[0] * oc[0] + oc[1] * oc[1]);
              rc0 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["min"])(rc, (r0 - lc) / (kc - 1));
              rc1 = Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["min"])(rc, (r1 - lc) / (kc + 1));
            }
          } // Is the sector collapsed to a line?


          if (!(da1 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"])) context.moveTo(x01, y01); // Does the sector’s outer ring have rounded corners?
          else if (rc1 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
            t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);
            t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);
            context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01); // Have the corners merged?

            if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw); // Otherwise, draw the two corners and the ring.
            else {
              context.arc(t0.cx, t0.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y11, t0.x11), !cw);
              context.arc(0, 0, r1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.cy + t0.y11, t0.cx + t0.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.cy + t1.y11, t1.cx + t1.x11), !cw);
              context.arc(t1.cx, t1.cy, rc1, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y11, t1.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw);
            }
          } // Or is the outer ring just a circular arc?
          else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw); // Is there no inner ring, and it’s a circular sector?
          // Or perhaps it’s an annular sector collapsed due to padding?

          if (!(r0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) || !(da0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"])) context.lineTo(x10, y10); // Does the sector’s inner ring (or point) have rounded corners?
          else if (rc0 > _math_js__WEBPACK_IMPORTED_MODULE_2__["epsilon"]) {
            t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);
            t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);
            context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01); // Have the corners merged?

            if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw); // Otherwise, draw the two corners and the ring.
            else {
              context.arc(t0.cx, t0.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y01, t0.x01), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.y11, t0.x11), !cw);
              context.arc(0, 0, r0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t0.cy + t0.y11, t0.cx + t0.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.cy + t1.y11, t1.cx + t1.x11), cw);
              context.arc(t1.cx, t1.cy, rc0, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y11, t1.x11), Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["atan2"])(t1.y01, t1.x01), !cw);
            }
          } // Or is the inner ring just a circular arc?
          else context.arc(0, 0, r0, a10, a00, cw);
        }
        context.closePath();
        if (buffer) return context = null, buffer + "" || null;
      }

      arc.centroid = function () {
        var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,
            a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - _math_js__WEBPACK_IMPORTED_MODULE_2__["pi"] / 2;
        return [Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["cos"])(a) * r, Object(_math_js__WEBPACK_IMPORTED_MODULE_2__["sin"])(a) * r];
      };

      arc.innerRadius = function (_) {
        return arguments.length ? (innerRadius = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : innerRadius;
      };

      arc.outerRadius = function (_) {
        return arguments.length ? (outerRadius = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : outerRadius;
      };

      arc.cornerRadius = function (_) {
        return arguments.length ? (cornerRadius = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : cornerRadius;
      };

      arc.padRadius = function (_) {
        return arguments.length ? (padRadius = _ == null ? null : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : padRadius;
      };

      arc.startAngle = function (_) {
        return arguments.length ? (startAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : startAngle;
      };

      arc.endAngle = function (_) {
        return arguments.length ? (endAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : endAngle;
      };

      arc.padAngle = function (_) {
        return arguments.length ? (padAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), arc) : padAngle;
      };

      arc.context = function (_) {
        return arguments.length ? (context = _ == null ? null : _, arc) : context;
      };

      return arc;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/area.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-shape/src/area.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcAreaJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-path */
    "./node_modules/d3-path/src/index.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-shape/src/constant.js");
    /* harmony import */


    var _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./curve/linear.js */
    "./node_modules/d3-shape/src/curve/linear.js");
    /* harmony import */


    var _line_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./line.js */
    "./node_modules/d3-shape/src/line.js");
    /* harmony import */


    var _point_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./point.js */
    "./node_modules/d3-shape/src/point.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var x0 = _point_js__WEBPACK_IMPORTED_MODULE_4__["x"],
          x1 = null,
          y0 = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(0),
          y1 = _point_js__WEBPACK_IMPORTED_MODULE_4__["y"],
          defined = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(true),
          context = null,
          curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__["default"],
          output = null;

      function area(data) {
        var i,
            j,
            k,
            n = data.length,
            d,
            defined0 = false,
            buffer,
            x0z = new Array(n),
            y0z = new Array(n);
        if (context == null) output = curve(buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])());

        for (i = 0; i <= n; ++i) {
          if (!(i < n && defined(d = data[i], i, data)) === defined0) {
            if (defined0 = !defined0) {
              j = i;
              output.areaStart();
              output.lineStart();
            } else {
              output.lineEnd();
              output.lineStart();

              for (k = i - 1; k >= j; --k) {
                output.point(x0z[k], y0z[k]);
              }

              output.lineEnd();
              output.areaEnd();
            }
          }

          if (defined0) {
            x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);
            output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);
          }
        }

        if (buffer) return output = null, buffer + "" || null;
      }

      function arealine() {
        return Object(_line_js__WEBPACK_IMPORTED_MODULE_3__["default"])().defined(defined).curve(curve).context(context);
      }

      area.x = function (_) {
        return arguments.length ? (x0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), x1 = null, area) : x0;
      };

      area.x0 = function (_) {
        return arguments.length ? (x0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : x0;
      };

      area.x1 = function (_) {
        return arguments.length ? (x1 = _ == null ? null : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : x1;
      };

      area.y = function (_) {
        return arguments.length ? (y0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), y1 = null, area) : y0;
      };

      area.y0 = function (_) {
        return arguments.length ? (y0 = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : y0;
      };

      area.y1 = function (_) {
        return arguments.length ? (y1 = _ == null ? null : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), area) : y1;
      };

      area.lineX0 = area.lineY0 = function () {
        return arealine().x(x0).y(y0);
      };

      area.lineY1 = function () {
        return arealine().x(x0).y(y1);
      };

      area.lineX1 = function () {
        return arealine().x(x1).y(y0);
      };

      area.defined = function (_) {
        return arguments.length ? (defined = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), area) : defined;
      };

      area.curve = function (_) {
        return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;
      };

      area.context = function (_) {
        return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;
      };

      return area;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/areaRadial.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/areaRadial.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcAreaRadialJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./curve/radial.js */
    "./node_modules/d3-shape/src/curve/radial.js");
    /* harmony import */


    var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./area.js */
    "./node_modules/d3-shape/src/area.js");
    /* harmony import */


    var _lineRadial_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./lineRadial.js */
    "./node_modules/d3-shape/src/lineRadial.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var a = Object(_area_js__WEBPACK_IMPORTED_MODULE_1__["default"])().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["curveRadialLinear"]),
          c = a.curve,
          x0 = a.lineX0,
          x1 = a.lineX1,
          y0 = a.lineY0,
          y1 = a.lineY1;
      a.angle = a.x, delete a.x;
      a.startAngle = a.x0, delete a.x0;
      a.endAngle = a.x1, delete a.x1;
      a.radius = a.y, delete a.y;
      a.innerRadius = a.y0, delete a.y0;
      a.outerRadius = a.y1, delete a.y1;
      a.lineStartAngle = function () {
        return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(x0());
      }, delete a.lineX0;
      a.lineEndAngle = function () {
        return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(x1());
      }, delete a.lineX1;
      a.lineInnerRadius = function () {
        return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(y0());
      }, delete a.lineY0;
      a.lineOuterRadius = function () {
        return Object(_lineRadial_js__WEBPACK_IMPORTED_MODULE_2__["lineRadial"])(y1());
      }, delete a.lineY1;

      a.curve = function (_) {
        return arguments.length ? c(Object(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_)) : c()._curve;
      };

      return a;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/array.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-shape/src/array.js ***!
    \********************************************/

  /*! exports provided: slice */

  /***/
  function node_modulesD3ShapeSrcArrayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "slice", function () {
      return slice;
    });

    var slice = Array.prototype.slice;
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/constant.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-shape/src/constant.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcConstantJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x) {
      return function constant() {
        return x;
      };
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/basis.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/basis.js ***!
    \**************************************************/

  /*! exports provided: point, Basis, default */

  /***/
  function node_modulesD3ShapeSrcCurveBasisJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "point", function () {
      return _point;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Basis", function () {
      return Basis;
    });

    function _point(that, x, y) {
      that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6);
    }

    function Basis(context) {
      this._context = context;
    }

    Basis.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._y0 = this._y1 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 3:
            _point(this, this._x1, this._y1);

          // proceed

          case 2:
            this._context.lineTo(this._x1, this._y1);

            break;
        }

        if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
            break;

          case 1:
            this._point = 2;
            break;

          case 2:
            this._point = 3;

            this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);

          // proceed

          default:
            _point(this, x, y);

            break;
        }

        this._x0 = this._x1, this._x1 = x;
        this._y0 = this._y1, this._y1 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (context) {
      return new Basis(context);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/basisClosed.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/basisClosed.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveBasisClosedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../noop.js */
    "./node_modules/d3-shape/src/noop.js");
    /* harmony import */


    var _basis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./basis.js */
    "./node_modules/d3-shape/src/curve/basis.js");

    function BasisClosed(context) {
      this._context = context;
    }

    BasisClosed.prototype = {
      areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 1:
            {
              this._context.moveTo(this._x2, this._y2);

              this._context.closePath();

              break;
            }

          case 2:
            {
              this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);

              this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);

              this._context.closePath();

              break;
            }

          case 3:
            {
              this.point(this._x2, this._y2);
              this.point(this._x3, this._y3);
              this.point(this._x4, this._y4);
              break;
            }
        }
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            this._x2 = x, this._y2 = y;
            break;

          case 1:
            this._point = 2;
            this._x3 = x, this._y3 = y;
            break;

          case 2:
            this._point = 3;
            this._x4 = x, this._y4 = y;

            this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6);

            break;

          default:
            Object(_basis_js__WEBPACK_IMPORTED_MODULE_1__["point"])(this, x, y);
            break;
        }

        this._x0 = this._x1, this._x1 = x;
        this._y0 = this._y1, this._y1 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (context) {
      return new BasisClosed(context);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/basisOpen.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/basisOpen.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveBasisOpenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./basis.js */
    "./node_modules/d3-shape/src/curve/basis.js");

    function BasisOpen(context) {
      this._context = context;
    }

    BasisOpen.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._y0 = this._y1 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            break;

          case 1:
            this._point = 2;
            break;

          case 2:
            this._point = 3;
            var x0 = (this._x0 + 4 * this._x1 + x) / 6,
                y0 = (this._y0 + 4 * this._y1 + y) / 6;
            this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0);
            break;

          case 3:
            this._point = 4;
          // proceed

          default:
            Object(_basis_js__WEBPACK_IMPORTED_MODULE_0__["point"])(this, x, y);
            break;
        }

        this._x0 = this._x1, this._x1 = x;
        this._y0 = this._y1, this._y1 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (context) {
      return new BasisOpen(context);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/bundle.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/bundle.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveBundleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _basis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./basis.js */
    "./node_modules/d3-shape/src/curve/basis.js");

    function Bundle(context, beta) {
      this._basis = new _basis_js__WEBPACK_IMPORTED_MODULE_0__["Basis"](context);
      this._beta = beta;
    }

    Bundle.prototype = {
      lineStart: function lineStart() {
        this._x = [];
        this._y = [];

        this._basis.lineStart();
      },
      lineEnd: function lineEnd() {
        var x = this._x,
            y = this._y,
            j = x.length - 1;

        if (j > 0) {
          var x0 = x[0],
              y0 = y[0],
              dx = x[j] - x0,
              dy = y[j] - y0,
              i = -1,
              t;

          while (++i <= j) {
            t = i / j;

            this._basis.point(this._beta * x[i] + (1 - this._beta) * (x0 + t * dx), this._beta * y[i] + (1 - this._beta) * (y0 + t * dy));
          }
        }

        this._x = this._y = null;

        this._basis.lineEnd();
      },
      point: function point(x, y) {
        this._x.push(+x);

        this._y.push(+y);
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(beta) {
      function bundle(context) {
        return beta === 1 ? new _basis_js__WEBPACK_IMPORTED_MODULE_0__["Basis"](context) : new Bundle(context, beta);
      }

      bundle.beta = function (beta) {
        return custom(+beta);
      };

      return bundle;
    }(0.85);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/cardinal.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/cardinal.js ***!
    \*****************************************************/

  /*! exports provided: point, Cardinal, default */

  /***/
  function node_modulesD3ShapeSrcCurveCardinalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "point", function () {
      return _point2;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Cardinal", function () {
      return Cardinal;
    });

    function _point2(that, x, y) {
      that._context.bezierCurveTo(that._x1 + that._k * (that._x2 - that._x0), that._y1 + that._k * (that._y2 - that._y0), that._x2 + that._k * (that._x1 - x), that._y2 + that._k * (that._y1 - y), that._x2, that._y2);
    }

    function Cardinal(context, tension) {
      this._context = context;
      this._k = (1 - tension) / 6;
    }

    Cardinal.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 2:
            this._context.lineTo(this._x2, this._y2);

            break;

          case 3:
            _point2(this, this._x1, this._y1);

            break;
        }

        if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
            break;

          case 1:
            this._point = 2;
            this._x1 = x, this._y1 = y;
            break;

          case 2:
            this._point = 3;
          // proceed

          default:
            _point2(this, x, y);

            break;
        }

        this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
        this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(tension) {
      function cardinal(context) {
        return new Cardinal(context, tension);
      }

      cardinal.tension = function (tension) {
        return custom(+tension);
      };

      return cardinal;
    }(0);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/cardinalClosed.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/cardinalClosed.js ***!
    \***********************************************************/

  /*! exports provided: CardinalClosed, default */

  /***/
  function node_modulesD3ShapeSrcCurveCardinalClosedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardinalClosed", function () {
      return CardinalClosed;
    });
    /* harmony import */


    var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../noop.js */
    "./node_modules/d3-shape/src/noop.js");
    /* harmony import */


    var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./cardinal.js */
    "./node_modules/d3-shape/src/curve/cardinal.js");

    function CardinalClosed(context, tension) {
      this._context = context;
      this._k = (1 - tension) / 6;
    }

    CardinalClosed.prototype = {
      areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 1:
            {
              this._context.moveTo(this._x3, this._y3);

              this._context.closePath();

              break;
            }

          case 2:
            {
              this._context.lineTo(this._x3, this._y3);

              this._context.closePath();

              break;
            }

          case 3:
            {
              this.point(this._x3, this._y3);
              this.point(this._x4, this._y4);
              this.point(this._x5, this._y5);
              break;
            }
        }
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            this._x3 = x, this._y3 = y;
            break;

          case 1:
            this._point = 2;

            this._context.moveTo(this._x4 = x, this._y4 = y);

            break;

          case 2:
            this._point = 3;
            this._x5 = x, this._y5 = y;
            break;

          default:
            Object(_cardinal_js__WEBPACK_IMPORTED_MODULE_1__["point"])(this, x, y);
            break;
        }

        this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
        this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(tension) {
      function cardinal(context) {
        return new CardinalClosed(context, tension);
      }

      cardinal.tension = function (tension) {
        return custom(+tension);
      };

      return cardinal;
    }(0);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/cardinalOpen.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/cardinalOpen.js ***!
    \*********************************************************/

  /*! exports provided: CardinalOpen, default */

  /***/
  function node_modulesD3ShapeSrcCurveCardinalOpenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardinalOpen", function () {
      return CardinalOpen;
    });
    /* harmony import */


    var _cardinal_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./cardinal.js */
    "./node_modules/d3-shape/src/curve/cardinal.js");

    function CardinalOpen(context, tension) {
      this._context = context;
      this._k = (1 - tension) / 6;
    }

    CardinalOpen.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            break;

          case 1:
            this._point = 2;
            break;

          case 2:
            this._point = 3;
            this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
            break;

          case 3:
            this._point = 4;
          // proceed

          default:
            Object(_cardinal_js__WEBPACK_IMPORTED_MODULE_0__["point"])(this, x, y);
            break;
        }

        this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
        this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(tension) {
      function cardinal(context) {
        return new CardinalOpen(context, tension);
      }

      cardinal.tension = function (tension) {
        return custom(+tension);
      };

      return cardinal;
    }(0);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/catmullRom.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/catmullRom.js ***!
    \*******************************************************/

  /*! exports provided: point, default */

  /***/
  function node_modulesD3ShapeSrcCurveCatmullRomJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "point", function () {
      return _point3;
    });
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../math.js */
    "./node_modules/d3-shape/src/math.js");
    /* harmony import */


    var _cardinal_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./cardinal.js */
    "./node_modules/d3-shape/src/curve/cardinal.js");

    function _point3(that, x, y) {
      var x1 = that._x1,
          y1 = that._y1,
          x2 = that._x2,
          y2 = that._y2;

      if (that._l01_a > _math_js__WEBPACK_IMPORTED_MODULE_0__["epsilon"]) {
        var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
            n = 3 * that._l01_a * (that._l01_a + that._l12_a);
        x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
        y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
      }

      if (that._l23_a > _math_js__WEBPACK_IMPORTED_MODULE_0__["epsilon"]) {
        var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
            m = 3 * that._l23_a * (that._l23_a + that._l12_a);
        x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
        y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;
      }

      that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
    }

    function CatmullRom(context, alpha) {
      this._context = context;
      this._alpha = alpha;
    }

    CatmullRom.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
        this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 2:
            this._context.lineTo(this._x2, this._y2);

            break;

          case 3:
            this.point(this._x2, this._y2);
            break;
        }

        if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        if (this._point) {
          var x23 = this._x2 - x,
              y23 = this._y2 - y;
          this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
        }

        switch (this._point) {
          case 0:
            this._point = 1;
            this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
            break;

          case 1:
            this._point = 2;
            break;

          case 2:
            this._point = 3;
          // proceed

          default:
            _point3(this, x, y);

            break;
        }

        this._l01_a = this._l12_a, this._l12_a = this._l23_a;
        this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
        this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
        this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(alpha) {
      function catmullRom(context) {
        return alpha ? new CatmullRom(context, alpha) : new _cardinal_js__WEBPACK_IMPORTED_MODULE_1__["Cardinal"](context, 0);
      }

      catmullRom.alpha = function (alpha) {
        return custom(+alpha);
      };

      return catmullRom;
    }(0.5);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/catmullRomClosed.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/catmullRomClosed.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveCatmullRomClosedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./cardinalClosed.js */
    "./node_modules/d3-shape/src/curve/cardinalClosed.js");
    /* harmony import */


    var _noop_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../noop.js */
    "./node_modules/d3-shape/src/noop.js");
    /* harmony import */


    var _catmullRom_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./catmullRom.js */
    "./node_modules/d3-shape/src/curve/catmullRom.js");

    function CatmullRomClosed(context, alpha) {
      this._context = context;
      this._alpha = alpha;
    }

    CatmullRomClosed.prototype = {
      areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"],
      areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_1__["default"],
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
        this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 1:
            {
              this._context.moveTo(this._x3, this._y3);

              this._context.closePath();

              break;
            }

          case 2:
            {
              this._context.lineTo(this._x3, this._y3);

              this._context.closePath();

              break;
            }

          case 3:
            {
              this.point(this._x3, this._y3);
              this.point(this._x4, this._y4);
              this.point(this._x5, this._y5);
              break;
            }
        }
      },
      point: function point(x, y) {
        x = +x, y = +y;

        if (this._point) {
          var x23 = this._x2 - x,
              y23 = this._y2 - y;
          this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
        }

        switch (this._point) {
          case 0:
            this._point = 1;
            this._x3 = x, this._y3 = y;
            break;

          case 1:
            this._point = 2;

            this._context.moveTo(this._x4 = x, this._y4 = y);

            break;

          case 2:
            this._point = 3;
            this._x5 = x, this._y5 = y;
            break;

          default:
            Object(_catmullRom_js__WEBPACK_IMPORTED_MODULE_2__["point"])(this, x, y);
            break;
        }

        this._l01_a = this._l12_a, this._l12_a = this._l23_a;
        this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
        this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
        this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(alpha) {
      function catmullRom(context) {
        return alpha ? new CatmullRomClosed(context, alpha) : new _cardinalClosed_js__WEBPACK_IMPORTED_MODULE_0__["CardinalClosed"](context, 0);
      }

      catmullRom.alpha = function (alpha) {
        return custom(+alpha);
      };

      return catmullRom;
    }(0.5);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/catmullRomOpen.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/catmullRomOpen.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveCatmullRomOpenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./cardinalOpen.js */
    "./node_modules/d3-shape/src/curve/cardinalOpen.js");
    /* harmony import */


    var _catmullRom_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./catmullRom.js */
    "./node_modules/d3-shape/src/curve/catmullRom.js");

    function CatmullRomOpen(context, alpha) {
      this._context = context;
      this._alpha = alpha;
    }

    CatmullRomOpen.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN;
        this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
      },
      lineEnd: function lineEnd() {
        if (this._line || this._line !== 0 && this._point === 3) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        if (this._point) {
          var x23 = this._x2 - x,
              y23 = this._y2 - y;
          this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
        }

        switch (this._point) {
          case 0:
            this._point = 1;
            break;

          case 1:
            this._point = 2;
            break;

          case 2:
            this._point = 3;
            this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
            break;

          case 3:
            this._point = 4;
          // proceed

          default:
            Object(_catmullRom_js__WEBPACK_IMPORTED_MODULE_1__["point"])(this, x, y);
            break;
        }

        this._l01_a = this._l12_a, this._l12_a = this._l23_a;
        this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
        this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
        this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function custom(alpha) {
      function catmullRom(context) {
        return alpha ? new CatmullRomOpen(context, alpha) : new _cardinalOpen_js__WEBPACK_IMPORTED_MODULE_0__["CardinalOpen"](context, 0);
      }

      catmullRom.alpha = function (alpha) {
        return custom(+alpha);
      };

      return catmullRom;
    }(0.5);
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/linear.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/linear.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveLinearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function Linear(context) {
      this._context = context;
    }

    Linear.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
            break;

          case 1:
            this._point = 2;
          // proceed

          default:
            this._context.lineTo(x, y);

            break;
        }
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (context) {
      return new Linear(context);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/linearClosed.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/linearClosed.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveLinearClosedJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _noop_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../noop.js */
    "./node_modules/d3-shape/src/noop.js");

    function LinearClosed(context) {
      this._context = context;
    }

    LinearClosed.prototype = {
      areaStart: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      areaEnd: _noop_js__WEBPACK_IMPORTED_MODULE_0__["default"],
      lineStart: function lineStart() {
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        if (this._point) this._context.closePath();
      },
      point: function point(x, y) {
        x = +x, y = +y;
        if (this._point) this._context.lineTo(x, y);else this._point = 1, this._context.moveTo(x, y);
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (context) {
      return new LinearClosed(context);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/monotone.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/monotone.js ***!
    \*****************************************************/

  /*! exports provided: monotoneX, monotoneY */

  /***/
  function node_modulesD3ShapeSrcCurveMonotoneJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "monotoneX", function () {
      return monotoneX;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "monotoneY", function () {
      return monotoneY;
    });

    function sign(x) {
      return x < 0 ? -1 : 1;
    } // Calculate the slopes of the tangents (Hermite-type interpolation) based on
    // the following paper: Steffen, M. 1990. A Simple Method for Monotonic
    // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
    // NOV(II), P. 443, 1990.


    function slope3(that, x2, y2) {
      var h0 = that._x1 - that._x0,
          h1 = x2 - that._x1,
          s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
          s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
          p = (s0 * h1 + s1 * h0) / (h0 + h1);
      return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
    } // Calculate a one-sided slope.


    function slope2(that, t) {
      var h = that._x1 - that._x0;
      return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
    } // According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations
    // "you can express cubic Hermite interpolation in terms of cubic Bézier curves
    // with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1".


    function _point4(that, t0, t1) {
      var x0 = that._x0,
          y0 = that._y0,
          x1 = that._x1,
          y1 = that._y1,
          dx = (x1 - x0) / 3;

      that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
    }

    function MonotoneX(context) {
      this._context = context;
    }

    MonotoneX.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        switch (this._point) {
          case 2:
            this._context.lineTo(this._x1, this._y1);

            break;

          case 3:
            _point4(this, this._t0, slope2(this, this._t0));

            break;
        }

        if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
        this._line = 1 - this._line;
      },
      point: function point(x, y) {
        var t1 = NaN;
        x = +x, y = +y;
        if (x === this._x1 && y === this._y1) return; // Ignore coincident points.

        switch (this._point) {
          case 0:
            this._point = 1;
            this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
            break;

          case 1:
            this._point = 2;
            break;

          case 2:
            this._point = 3;

            _point4(this, slope2(this, t1 = slope3(this, x, y)), t1);

            break;

          default:
            _point4(this, this._t0, t1 = slope3(this, x, y));

            break;
        }

        this._x0 = this._x1, this._x1 = x;
        this._y0 = this._y1, this._y1 = y;
        this._t0 = t1;
      }
    };

    function MonotoneY(context) {
      this._context = new ReflectContext(context);
    }

    (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function (x, y) {
      MonotoneX.prototype.point.call(this, y, x);
    };

    function ReflectContext(context) {
      this._context = context;
    }

    ReflectContext.prototype = {
      moveTo: function moveTo(x, y) {
        this._context.moveTo(y, x);
      },
      closePath: function closePath() {
        this._context.closePath();
      },
      lineTo: function lineTo(x, y) {
        this._context.lineTo(y, x);
      },
      bezierCurveTo: function bezierCurveTo(x1, y1, x2, y2, x, y) {
        this._context.bezierCurveTo(y1, x1, y2, x2, y, x);
      }
    };

    function monotoneX(context) {
      return new MonotoneX(context);
    }

    function monotoneY(context) {
      return new MonotoneY(context);
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/natural.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/natural.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcCurveNaturalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function Natural(context) {
      this._context = context;
    }

    Natural.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x = [];
        this._y = [];
      },
      lineEnd: function lineEnd() {
        var x = this._x,
            y = this._y,
            n = x.length;

        if (n) {
          this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);

          if (n === 2) {
            this._context.lineTo(x[1], y[1]);
          } else {
            var px = controlPoints(x),
                py = controlPoints(y);

            for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {
              this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);
            }
          }
        }

        if (this._line || this._line !== 0 && n === 1) this._context.closePath();
        this._line = 1 - this._line;
        this._x = this._y = null;
      },
      point: function point(x, y) {
        this._x.push(+x);

        this._y.push(+y);
      }
    }; // See https://www.particleincell.com/2012/bezier-splines/ for derivation.

    function controlPoints(x) {
      var i,
          n = x.length - 1,
          m,
          a = new Array(n),
          b = new Array(n),
          r = new Array(n);
      a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];

      for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];

      a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];

      for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];

      a[n - 1] = r[n - 1] / b[n - 1];

      for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];

      b[n - 1] = (x[n] + a[n - 1]) / 2;

      for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];

      return [a, b];
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (context) {
      return new Natural(context);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/radial.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/radial.js ***!
    \***************************************************/

  /*! exports provided: curveRadialLinear, default */

  /***/
  function node_modulesD3ShapeSrcCurveRadialJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "curveRadialLinear", function () {
      return curveRadialLinear;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return curveRadial;
    });
    /* harmony import */


    var _linear_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./linear.js */
    "./node_modules/d3-shape/src/curve/linear.js");

    var curveRadialLinear = curveRadial(_linear_js__WEBPACK_IMPORTED_MODULE_0__["default"]);

    function Radial(curve) {
      this._curve = curve;
    }

    Radial.prototype = {
      areaStart: function areaStart() {
        this._curve.areaStart();
      },
      areaEnd: function areaEnd() {
        this._curve.areaEnd();
      },
      lineStart: function lineStart() {
        this._curve.lineStart();
      },
      lineEnd: function lineEnd() {
        this._curve.lineEnd();
      },
      point: function point(a, r) {
        this._curve.point(r * Math.sin(a), r * -Math.cos(a));
      }
    };

    function curveRadial(curve) {
      function radial(context) {
        return new Radial(curve(context));
      }

      radial._curve = curve;
      return radial;
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/curve/step.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/curve/step.js ***!
    \*************************************************/

  /*! exports provided: default, stepBefore, stepAfter */

  /***/
  function node_modulesD3ShapeSrcCurveStepJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "stepBefore", function () {
      return stepBefore;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "stepAfter", function () {
      return stepAfter;
    });

    function Step(context, t) {
      this._context = context;
      this._t = t;
    }

    Step.prototype = {
      areaStart: function areaStart() {
        this._line = 0;
      },
      areaEnd: function areaEnd() {
        this._line = NaN;
      },
      lineStart: function lineStart() {
        this._x = this._y = NaN;
        this._point = 0;
      },
      lineEnd: function lineEnd() {
        if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);
        if (this._line || this._line !== 0 && this._point === 1) this._context.closePath();
        if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;
      },
      point: function point(x, y) {
        x = +x, y = +y;

        switch (this._point) {
          case 0:
            this._point = 1;
            this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);
            break;

          case 1:
            this._point = 2;
          // proceed

          default:
            {
              if (this._t <= 0) {
                this._context.lineTo(this._x, y);

                this._context.lineTo(x, y);
              } else {
                var x1 = this._x * (1 - this._t) + x * this._t;

                this._context.lineTo(x1, this._y);

                this._context.lineTo(x1, y);
              }

              break;
            }
        }

        this._x = x, this._y = y;
      }
    };
    /* harmony default export */

    __webpack_exports__["default"] = function (context) {
      return new Step(context, 0.5);
    };

    function stepBefore(context) {
      return new Step(context, 0);
    }

    function stepAfter(context) {
      return new Step(context, 1);
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/descending.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/descending.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcDescendingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/identity.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-shape/src/identity.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcIdentityJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (d) {
      return d;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/index.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-shape/src/index.js ***!
    \********************************************/

  /*! exports provided: arc, area, line, pie, areaRadial, radialArea, lineRadial, radialLine, pointRadial, linkHorizontal, linkVertical, linkRadial, symbol, symbols, symbolCircle, symbolCross, symbolDiamond, symbolSquare, symbolStar, symbolTriangle, symbolWye, curveBasisClosed, curveBasisOpen, curveBasis, curveBundle, curveCardinalClosed, curveCardinalOpen, curveCardinal, curveCatmullRomClosed, curveCatmullRomOpen, curveCatmullRom, curveLinearClosed, curveLinear, curveMonotoneX, curveMonotoneY, curveNatural, curveStep, curveStepAfter, curveStepBefore, stack, stackOffsetExpand, stackOffsetDiverging, stackOffsetNone, stackOffsetSilhouette, stackOffsetWiggle, stackOrderAppearance, stackOrderAscending, stackOrderDescending, stackOrderInsideOut, stackOrderNone, stackOrderReverse */

  /***/
  function node_modulesD3ShapeSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _arc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./arc.js */
    "./node_modules/d3-shape/src/arc.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "arc", function () {
      return _arc_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _area_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./area.js */
    "./node_modules/d3-shape/src/area.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "area", function () {
      return _area_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _line_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./line.js */
    "./node_modules/d3-shape/src/line.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "line", function () {
      return _line_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _pie_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./pie.js */
    "./node_modules/d3-shape/src/pie.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "pie", function () {
      return _pie_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony import */


    var _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./areaRadial.js */
    "./node_modules/d3-shape/src/areaRadial.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "areaRadial", function () {
      return _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "radialArea", function () {
      return _areaRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony import */


    var _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./lineRadial.js */
    "./node_modules/d3-shape/src/lineRadial.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "lineRadial", function () {
      return _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "radialLine", function () {
      return _lineRadial_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony import */


    var _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./pointRadial.js */
    "./node_modules/d3-shape/src/pointRadial.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "pointRadial", function () {
      return _pointRadial_js__WEBPACK_IMPORTED_MODULE_6__["default"];
    });
    /* harmony import */


    var _link_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./link/index.js */
    "./node_modules/d3-shape/src/link/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "linkHorizontal", function () {
      return _link_index_js__WEBPACK_IMPORTED_MODULE_7__["linkHorizontal"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "linkVertical", function () {
      return _link_index_js__WEBPACK_IMPORTED_MODULE_7__["linkVertical"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "linkRadial", function () {
      return _link_index_js__WEBPACK_IMPORTED_MODULE_7__["linkRadial"];
    });
    /* harmony import */


    var _symbol_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./symbol.js */
    "./node_modules/d3-shape/src/symbol.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbol", function () {
      return _symbol_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbols", function () {
      return _symbol_js__WEBPACK_IMPORTED_MODULE_8__["symbols"];
    });
    /* harmony import */


    var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./symbol/circle.js */
    "./node_modules/d3-shape/src/symbol/circle.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolCircle", function () {
      return _symbol_circle_js__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony import */


    var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./symbol/cross.js */
    "./node_modules/d3-shape/src/symbol/cross.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolCross", function () {
      return _symbol_cross_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony import */


    var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./symbol/diamond.js */
    "./node_modules/d3-shape/src/symbol/diamond.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolDiamond", function () {
      return _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony import */


    var _symbol_square_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./symbol/square.js */
    "./node_modules/d3-shape/src/symbol/square.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolSquare", function () {
      return _symbol_square_js__WEBPACK_IMPORTED_MODULE_12__["default"];
    });
    /* harmony import */


    var _symbol_star_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./symbol/star.js */
    "./node_modules/d3-shape/src/symbol/star.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolStar", function () {
      return _symbol_star_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony import */


    var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./symbol/triangle.js */
    "./node_modules/d3-shape/src/symbol/triangle.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolTriangle", function () {
      return _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony import */


    var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./symbol/wye.js */
    "./node_modules/d3-shape/src/symbol/wye.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "symbolWye", function () {
      return _symbol_wye_js__WEBPACK_IMPORTED_MODULE_15__["default"];
    });
    /* harmony import */


    var _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./curve/basisClosed.js */
    "./node_modules/d3-shape/src/curve/basisClosed.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveBasisClosed", function () {
      return _curve_basisClosed_js__WEBPACK_IMPORTED_MODULE_16__["default"];
    });
    /* harmony import */


    var _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./curve/basisOpen.js */
    "./node_modules/d3-shape/src/curve/basisOpen.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveBasisOpen", function () {
      return _curve_basisOpen_js__WEBPACK_IMPORTED_MODULE_17__["default"];
    });
    /* harmony import */


    var _curve_basis_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./curve/basis.js */
    "./node_modules/d3-shape/src/curve/basis.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveBasis", function () {
      return _curve_basis_js__WEBPACK_IMPORTED_MODULE_18__["default"];
    });
    /* harmony import */


    var _curve_bundle_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./curve/bundle.js */
    "./node_modules/d3-shape/src/curve/bundle.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveBundle", function () {
      return _curve_bundle_js__WEBPACK_IMPORTED_MODULE_19__["default"];
    });
    /* harmony import */


    var _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ./curve/cardinalClosed.js */
    "./node_modules/d3-shape/src/curve/cardinalClosed.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveCardinalClosed", function () {
      return _curve_cardinalClosed_js__WEBPACK_IMPORTED_MODULE_20__["default"];
    });
    /* harmony import */


    var _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ./curve/cardinalOpen.js */
    "./node_modules/d3-shape/src/curve/cardinalOpen.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveCardinalOpen", function () {
      return _curve_cardinalOpen_js__WEBPACK_IMPORTED_MODULE_21__["default"];
    });
    /* harmony import */


    var _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ./curve/cardinal.js */
    "./node_modules/d3-shape/src/curve/cardinal.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveCardinal", function () {
      return _curve_cardinal_js__WEBPACK_IMPORTED_MODULE_22__["default"];
    });
    /* harmony import */


    var _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
    /*! ./curve/catmullRomClosed.js */
    "./node_modules/d3-shape/src/curve/catmullRomClosed.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveCatmullRomClosed", function () {
      return _curve_catmullRomClosed_js__WEBPACK_IMPORTED_MODULE_23__["default"];
    });
    /* harmony import */


    var _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
    /*! ./curve/catmullRomOpen.js */
    "./node_modules/d3-shape/src/curve/catmullRomOpen.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveCatmullRomOpen", function () {
      return _curve_catmullRomOpen_js__WEBPACK_IMPORTED_MODULE_24__["default"];
    });
    /* harmony import */


    var _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
    /*! ./curve/catmullRom.js */
    "./node_modules/d3-shape/src/curve/catmullRom.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveCatmullRom", function () {
      return _curve_catmullRom_js__WEBPACK_IMPORTED_MODULE_25__["default"];
    });
    /* harmony import */


    var _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
    /*! ./curve/linearClosed.js */
    "./node_modules/d3-shape/src/curve/linearClosed.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveLinearClosed", function () {
      return _curve_linearClosed_js__WEBPACK_IMPORTED_MODULE_26__["default"];
    });
    /* harmony import */


    var _curve_linear_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
    /*! ./curve/linear.js */
    "./node_modules/d3-shape/src/curve/linear.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveLinear", function () {
      return _curve_linear_js__WEBPACK_IMPORTED_MODULE_27__["default"];
    });
    /* harmony import */


    var _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
    /*! ./curve/monotone.js */
    "./node_modules/d3-shape/src/curve/monotone.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveMonotoneX", function () {
      return _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__["monotoneX"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveMonotoneY", function () {
      return _curve_monotone_js__WEBPACK_IMPORTED_MODULE_28__["monotoneY"];
    });
    /* harmony import */


    var _curve_natural_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
    /*! ./curve/natural.js */
    "./node_modules/d3-shape/src/curve/natural.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveNatural", function () {
      return _curve_natural_js__WEBPACK_IMPORTED_MODULE_29__["default"];
    });
    /* harmony import */


    var _curve_step_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
    /*! ./curve/step.js */
    "./node_modules/d3-shape/src/curve/step.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveStep", function () {
      return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveStepAfter", function () {
      return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__["stepAfter"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "curveStepBefore", function () {
      return _curve_step_js__WEBPACK_IMPORTED_MODULE_30__["stepBefore"];
    });
    /* harmony import */


    var _stack_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
    /*! ./stack.js */
    "./node_modules/d3-shape/src/stack.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stack", function () {
      return _stack_js__WEBPACK_IMPORTED_MODULE_31__["default"];
    });
    /* harmony import */


    var _offset_expand_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
    /*! ./offset/expand.js */
    "./node_modules/d3-shape/src/offset/expand.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOffsetExpand", function () {
      return _offset_expand_js__WEBPACK_IMPORTED_MODULE_32__["default"];
    });
    /* harmony import */


    var _offset_diverging_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
    /*! ./offset/diverging.js */
    "./node_modules/d3-shape/src/offset/diverging.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOffsetDiverging", function () {
      return _offset_diverging_js__WEBPACK_IMPORTED_MODULE_33__["default"];
    });
    /* harmony import */


    var _offset_none_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
    /*! ./offset/none.js */
    "./node_modules/d3-shape/src/offset/none.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOffsetNone", function () {
      return _offset_none_js__WEBPACK_IMPORTED_MODULE_34__["default"];
    });
    /* harmony import */


    var _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
    /*! ./offset/silhouette.js */
    "./node_modules/d3-shape/src/offset/silhouette.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOffsetSilhouette", function () {
      return _offset_silhouette_js__WEBPACK_IMPORTED_MODULE_35__["default"];
    });
    /* harmony import */


    var _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
    /*! ./offset/wiggle.js */
    "./node_modules/d3-shape/src/offset/wiggle.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOffsetWiggle", function () {
      return _offset_wiggle_js__WEBPACK_IMPORTED_MODULE_36__["default"];
    });
    /* harmony import */


    var _order_appearance_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
    /*! ./order/appearance.js */
    "./node_modules/d3-shape/src/order/appearance.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOrderAppearance", function () {
      return _order_appearance_js__WEBPACK_IMPORTED_MODULE_37__["default"];
    });
    /* harmony import */


    var _order_ascending_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(
    /*! ./order/ascending.js */
    "./node_modules/d3-shape/src/order/ascending.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOrderAscending", function () {
      return _order_ascending_js__WEBPACK_IMPORTED_MODULE_38__["default"];
    });
    /* harmony import */


    var _order_descending_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(
    /*! ./order/descending.js */
    "./node_modules/d3-shape/src/order/descending.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOrderDescending", function () {
      return _order_descending_js__WEBPACK_IMPORTED_MODULE_39__["default"];
    });
    /* harmony import */


    var _order_insideOut_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(
    /*! ./order/insideOut.js */
    "./node_modules/d3-shape/src/order/insideOut.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOrderInsideOut", function () {
      return _order_insideOut_js__WEBPACK_IMPORTED_MODULE_40__["default"];
    });
    /* harmony import */


    var _order_none_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(
    /*! ./order/none.js */
    "./node_modules/d3-shape/src/order/none.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOrderNone", function () {
      return _order_none_js__WEBPACK_IMPORTED_MODULE_41__["default"];
    });
    /* harmony import */


    var _order_reverse_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(
    /*! ./order/reverse.js */
    "./node_modules/d3-shape/src/order/reverse.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "stackOrderReverse", function () {
      return _order_reverse_js__WEBPACK_IMPORTED_MODULE_42__["default"];
    }); // Note: radialArea is deprecated!
    // Note: radialLine is deprecated!

    /***/

  },

  /***/
  "./node_modules/d3-shape/src/line.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-shape/src/line.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcLineJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-path */
    "./node_modules/d3-path/src/index.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-shape/src/constant.js");
    /* harmony import */


    var _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./curve/linear.js */
    "./node_modules/d3-shape/src/curve/linear.js");
    /* harmony import */


    var _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./point.js */
    "./node_modules/d3-shape/src/point.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var x = _point_js__WEBPACK_IMPORTED_MODULE_3__["x"],
          y = _point_js__WEBPACK_IMPORTED_MODULE_3__["y"],
          defined = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(true),
          context = null,
          curve = _curve_linear_js__WEBPACK_IMPORTED_MODULE_2__["default"],
          output = null;

      function line(data) {
        var i,
            n = data.length,
            d,
            defined0 = false,
            buffer;
        if (context == null) output = curve(buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])());

        for (i = 0; i <= n; ++i) {
          if (!(i < n && defined(d = data[i], i, data)) === defined0) {
            if (defined0 = !defined0) output.lineStart();else output.lineEnd();
          }

          if (defined0) output.point(+x(d, i, data), +y(d, i, data));
        }

        if (buffer) return output = null, buffer + "" || null;
      }

      line.x = function (_) {
        return arguments.length ? (x = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), line) : x;
      };

      line.y = function (_) {
        return arguments.length ? (y = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), line) : y;
      };

      line.defined = function (_) {
        return arguments.length ? (defined = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(!!_), line) : defined;
      };

      line.curve = function (_) {
        return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;
      };

      line.context = function (_) {
        return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;
      };

      return line;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/lineRadial.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/lineRadial.js ***!
    \*************************************************/

  /*! exports provided: lineRadial, default */

  /***/
  function node_modulesD3ShapeSrcLineRadialJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "lineRadial", function () {
      return lineRadial;
    });
    /* harmony import */


    var _curve_radial_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./curve/radial.js */
    "./node_modules/d3-shape/src/curve/radial.js");
    /* harmony import */


    var _line_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./line.js */
    "./node_modules/d3-shape/src/line.js");

    function lineRadial(l) {
      var c = l.curve;
      l.angle = l.x, delete l.x;
      l.radius = l.y, delete l.y;

      l.curve = function (_) {
        return arguments.length ? c(Object(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_)) : c()._curve;
      };

      return l;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return lineRadial(Object(_line_js__WEBPACK_IMPORTED_MODULE_1__["default"])().curve(_curve_radial_js__WEBPACK_IMPORTED_MODULE_0__["curveRadialLinear"]));
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/link/index.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/link/index.js ***!
    \*************************************************/

  /*! exports provided: linkHorizontal, linkVertical, linkRadial */

  /***/
  function node_modulesD3ShapeSrcLinkIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "linkHorizontal", function () {
      return linkHorizontal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "linkVertical", function () {
      return linkVertical;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "linkRadial", function () {
      return linkRadial;
    });
    /* harmony import */


    var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-path */
    "./node_modules/d3-path/src/index.js");
    /* harmony import */


    var _array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../array.js */
    "./node_modules/d3-shape/src/array.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../constant.js */
    "./node_modules/d3-shape/src/constant.js");
    /* harmony import */


    var _point_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../point.js */
    "./node_modules/d3-shape/src/point.js");
    /* harmony import */


    var _pointRadial_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../pointRadial.js */
    "./node_modules/d3-shape/src/pointRadial.js");

    function linkSource(d) {
      return d.source;
    }

    function linkTarget(d) {
      return d.target;
    }

    function link(curve) {
      var source = linkSource,
          target = linkTarget,
          x = _point_js__WEBPACK_IMPORTED_MODULE_3__["x"],
          y = _point_js__WEBPACK_IMPORTED_MODULE_3__["y"],
          context = null;

      function link() {
        var buffer,
            argv = _array_js__WEBPACK_IMPORTED_MODULE_1__["slice"].call(arguments),
            s = source.apply(this, argv),
            t = target.apply(this, argv);

        if (!context) context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])();
        curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));
        if (buffer) return context = null, buffer + "" || null;
      }

      link.source = function (_) {
        return arguments.length ? (source = _, link) : source;
      };

      link.target = function (_) {
        return arguments.length ? (target = _, link) : target;
      };

      link.x = function (_) {
        return arguments.length ? (x = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), link) : x;
      };

      link.y = function (_) {
        return arguments.length ? (y = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_2__["default"])(+_), link) : y;
      };

      link.context = function (_) {
        return arguments.length ? (context = _ == null ? null : _, link) : context;
      };

      return link;
    }

    function curveHorizontal(context, x0, y0, x1, y1) {
      context.moveTo(x0, y0);
      context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);
    }

    function curveVertical(context, x0, y0, x1, y1) {
      context.moveTo(x0, y0);
      context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);
    }

    function curveRadial(context, x0, y0, x1, y1) {
      var p0 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x0, y0),
          p1 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x0, y0 = (y0 + y1) / 2),
          p2 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x1, y0),
          p3 = Object(_pointRadial_js__WEBPACK_IMPORTED_MODULE_4__["default"])(x1, y1);
      context.moveTo(p0[0], p0[1]);
      context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);
    }

    function linkHorizontal() {
      return link(curveHorizontal);
    }

    function linkVertical() {
      return link(curveVertical);
    }

    function linkRadial() {
      var l = link(curveRadial);
      l.angle = l.x, delete l.x;
      l.radius = l.y, delete l.y;
      return l;
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/math.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-shape/src/math.js ***!
    \*******************************************/

  /*! exports provided: abs, atan2, cos, max, min, sin, sqrt, epsilon, pi, halfPi, tau, acos, asin */

  /***/
  function node_modulesD3ShapeSrcMathJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "abs", function () {
      return abs;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "atan2", function () {
      return atan2;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "cos", function () {
      return cos;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "max", function () {
      return max;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "min", function () {
      return min;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sin", function () {
      return sin;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sqrt", function () {
      return sqrt;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "epsilon", function () {
      return epsilon;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "pi", function () {
      return pi;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "halfPi", function () {
      return halfPi;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tau", function () {
      return tau;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "acos", function () {
      return acos;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "asin", function () {
      return asin;
    });

    var abs = Math.abs;
    var atan2 = Math.atan2;
    var cos = Math.cos;
    var max = Math.max;
    var min = Math.min;
    var sin = Math.sin;
    var sqrt = Math.sqrt;
    var epsilon = 1e-12;
    var pi = Math.PI;
    var halfPi = pi / 2;
    var tau = 2 * pi;

    function acos(x) {
      return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);
    }

    function asin(x) {
      return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/noop.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-shape/src/noop.js ***!
    \*******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcNoopJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function () {};
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/offset/diverging.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-shape/src/offset/diverging.js ***!
    \*******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOffsetDivergingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (series, order) {
      if (!((n = series.length) > 0)) return;

      for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {
        for (yp = yn = 0, i = 0; i < n; ++i) {
          if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {
            d[0] = yp, d[1] = yp += dy;
          } else if (dy < 0) {
            d[1] = yn, d[0] = yn += dy;
          } else {
            d[0] = 0, d[1] = dy;
          }
        }
      }
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/offset/expand.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-shape/src/offset/expand.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOffsetExpandJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./none.js */
    "./node_modules/d3-shape/src/offset/none.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series, order) {
      if (!((n = series.length) > 0)) return;

      for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {
        for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;

        if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;
      }

      Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/offset/none.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-shape/src/offset/none.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOffsetNoneJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (series, order) {
      if (!((n = series.length) > 1)) return;

      for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {
        s0 = s1, s1 = series[order[i]];

        for (j = 0; j < m; ++j) {
          s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];
        }
      }
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/offset/silhouette.js":
  /*!********************************************************!*\
    !*** ./node_modules/d3-shape/src/offset/silhouette.js ***!
    \********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOffsetSilhouetteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./none.js */
    "./node_modules/d3-shape/src/offset/none.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series, order) {
      if (!((n = series.length) > 0)) return;

      for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {
        for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;

        s0[j][1] += s0[j][0] = -y / 2;
      }

      Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/offset/wiggle.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-shape/src/offset/wiggle.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOffsetWiggleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./none.js */
    "./node_modules/d3-shape/src/offset/none.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series, order) {
      if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;

      for (var y = 0, j = 1, s0, m, n; j < m; ++j) {
        for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {
          var si = series[order[i]],
              sij0 = si[j][1] || 0,
              sij1 = si[j - 1][1] || 0,
              s3 = (sij0 - sij1) / 2;

          for (var k = 0; k < i; ++k) {
            var sk = series[order[k]],
                skj0 = sk[j][1] || 0,
                skj1 = sk[j - 1][1] || 0;
            s3 += skj0 - skj1;
          }

          s1 += sij0, s2 += s3 * sij0;
        }

        s0[j - 1][1] += s0[j - 1][0] = y;
        if (s1) y -= s2 / s1;
      }

      s0[j - 1][1] += s0[j - 1][0] = y;
      Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series, order);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/order/appearance.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-shape/src/order/appearance.js ***!
    \*******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOrderAppearanceJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./none.js */
    "./node_modules/d3-shape/src/order/none.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series) {
      var peaks = series.map(peak);
      return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).sort(function (a, b) {
        return peaks[a] - peaks[b];
      });
    };

    function peak(series) {
      var i = -1,
          j = 0,
          n = series.length,
          vi,
          vj = -Infinity;

      while (++i < n) if ((vi = +series[i][1]) > vj) vj = vi, j = i;

      return j;
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/order/ascending.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-shape/src/order/ascending.js ***!
    \******************************************************/

  /*! exports provided: default, sum */

  /***/
  function node_modulesD3ShapeSrcOrderAscendingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sum", function () {
      return sum;
    });
    /* harmony import */


    var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./none.js */
    "./node_modules/d3-shape/src/order/none.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series) {
      var sums = series.map(sum);
      return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).sort(function (a, b) {
        return sums[a] - sums[b];
      });
    };

    function sum(series) {
      var s = 0,
          i = -1,
          n = series.length,
          v;

      while (++i < n) if (v = +series[i][1]) s += v;

      return s;
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/order/descending.js":
  /*!*******************************************************!*\
    !*** ./node_modules/d3-shape/src/order/descending.js ***!
    \*******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOrderDescendingJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-shape/src/order/ascending.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series) {
      return Object(_ascending_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).reverse();
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/order/insideOut.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-shape/src/order/insideOut.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOrderInsideOutJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _appearance_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./appearance.js */
    "./node_modules/d3-shape/src/order/appearance.js");
    /* harmony import */


    var _ascending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./ascending.js */
    "./node_modules/d3-shape/src/order/ascending.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series) {
      var n = series.length,
          i,
          j,
          sums = series.map(_ascending_js__WEBPACK_IMPORTED_MODULE_1__["sum"]),
          order = Object(_appearance_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series),
          top = 0,
          bottom = 0,
          tops = [],
          bottoms = [];

      for (i = 0; i < n; ++i) {
        j = order[i];

        if (top < bottom) {
          top += sums[j];
          tops.push(j);
        } else {
          bottom += sums[j];
          bottoms.push(j);
        }
      }

      return bottoms.reverse().concat(tops);
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/order/none.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/order/none.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOrderNoneJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (series) {
      var n = series.length,
          o = new Array(n);

      while (--n >= 0) o[n] = n;

      return o;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/order/reverse.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-shape/src/order/reverse.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcOrderReverseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _none_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./none.js */
    "./node_modules/d3-shape/src/order/none.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (series) {
      return Object(_none_js__WEBPACK_IMPORTED_MODULE_0__["default"])(series).reverse();
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/pie.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-shape/src/pie.js ***!
    \******************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcPieJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-shape/src/constant.js");
    /* harmony import */


    var _descending_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./descending.js */
    "./node_modules/d3-shape/src/descending.js");
    /* harmony import */


    var _identity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./identity.js */
    "./node_modules/d3-shape/src/identity.js");
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./math.js */
    "./node_modules/d3-shape/src/math.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var value = _identity_js__WEBPACK_IMPORTED_MODULE_2__["default"],
          sortValues = _descending_js__WEBPACK_IMPORTED_MODULE_1__["default"],
          sort = null,
          startAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0),
          endAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(_math_js__WEBPACK_IMPORTED_MODULE_3__["tau"]),
          padAngle = Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0);

      function pie(data) {
        var i,
            n = data.length,
            j,
            k,
            sum = 0,
            index = new Array(n),
            arcs = new Array(n),
            a0 = +startAngle.apply(this, arguments),
            da = Math.min(_math_js__WEBPACK_IMPORTED_MODULE_3__["tau"], Math.max(-_math_js__WEBPACK_IMPORTED_MODULE_3__["tau"], endAngle.apply(this, arguments) - a0)),
            a1,
            p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),
            pa = p * (da < 0 ? -1 : 1),
            v;

        for (i = 0; i < n; ++i) {
          if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {
            sum += v;
          }
        } // Optionally sort the arcs by previously-computed values or by data.


        if (sortValues != null) index.sort(function (i, j) {
          return sortValues(arcs[i], arcs[j]);
        });else if (sort != null) index.sort(function (i, j) {
          return sort(data[i], data[j]);
        }); // Compute the arcs! They are stored in the original data's order.

        for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {
          j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {
            data: data[j],
            index: i,
            value: v,
            startAngle: a0,
            endAngle: a1,
            padAngle: p
          };
        }

        return arcs;
      }

      pie.value = function (_) {
        return arguments.length ? (value = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : value;
      };

      pie.sortValues = function (_) {
        return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;
      };

      pie.sort = function (_) {
        return arguments.length ? (sort = _, sortValues = null, pie) : sort;
      };

      pie.startAngle = function (_) {
        return arguments.length ? (startAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : startAngle;
      };

      pie.endAngle = function (_) {
        return arguments.length ? (endAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : endAngle;
      };

      pie.padAngle = function (_) {
        return arguments.length ? (padAngle = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_0__["default"])(+_), pie) : padAngle;
      };

      return pie;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/point.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-shape/src/point.js ***!
    \********************************************/

  /*! exports provided: x, y */

  /***/
  function node_modulesD3ShapeSrcPointJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "x", function () {
      return x;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "y", function () {
      return y;
    });

    function x(p) {
      return p[0];
    }

    function y(p) {
      return p[1];
    }
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/pointRadial.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-shape/src/pointRadial.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcPointRadialJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = function (x, y) {
      return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/stack.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-shape/src/stack.js ***!
    \********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcStackJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./array.js */
    "./node_modules/d3-shape/src/array.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-shape/src/constant.js");
    /* harmony import */


    var _offset_none_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./offset/none.js */
    "./node_modules/d3-shape/src/offset/none.js");
    /* harmony import */


    var _order_none_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./order/none.js */
    "./node_modules/d3-shape/src/order/none.js");

    function stackValue(d, key) {
      return d[key];
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var keys = Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])([]),
          order = _order_none_js__WEBPACK_IMPORTED_MODULE_3__["default"],
          offset = _offset_none_js__WEBPACK_IMPORTED_MODULE_2__["default"],
          value = stackValue;

      function stack(data) {
        var kz = keys.apply(this, arguments),
            i,
            m = data.length,
            n = kz.length,
            sz = new Array(n),
            oz;

        for (i = 0; i < n; ++i) {
          for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {
            si[j] = sij = [0, +value(data[j], ki, j, data)];
            sij.data = data[j];
          }

          si.key = ki;
        }

        for (i = 0, oz = order(sz); i < n; ++i) {
          sz[oz[i]].index = i;
        }

        offset(sz, oz);
        return sz;
      }

      stack.keys = function (_) {
        return arguments.length ? (keys = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(_)), stack) : keys;
      };

      stack.value = function (_) {
        return arguments.length ? (value = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(+_), stack) : value;
      };

      stack.order = function (_) {
        return arguments.length ? (order = _ == null ? _order_none_js__WEBPACK_IMPORTED_MODULE_3__["default"] : typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_1__["default"])(_array_js__WEBPACK_IMPORTED_MODULE_0__["slice"].call(_)), stack) : order;
      };

      stack.offset = function (_) {
        return arguments.length ? (offset = _ == null ? _offset_none_js__WEBPACK_IMPORTED_MODULE_2__["default"] : _, stack) : offset;
      };

      return stack;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/symbol.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-shape/src/symbol.js ***!
    \*********************************************/

  /*! exports provided: symbols, default */

  /***/
  function node_modulesD3ShapeSrcSymbolJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "symbols", function () {
      return symbols;
    });
    /* harmony import */


    var d3_path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-path */
    "./node_modules/d3-path/src/index.js");
    /* harmony import */


    var _symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./symbol/circle.js */
    "./node_modules/d3-shape/src/symbol/circle.js");
    /* harmony import */


    var _symbol_cross_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./symbol/cross.js */
    "./node_modules/d3-shape/src/symbol/cross.js");
    /* harmony import */


    var _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./symbol/diamond.js */
    "./node_modules/d3-shape/src/symbol/diamond.js");
    /* harmony import */


    var _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./symbol/star.js */
    "./node_modules/d3-shape/src/symbol/star.js");
    /* harmony import */


    var _symbol_square_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./symbol/square.js */
    "./node_modules/d3-shape/src/symbol/square.js");
    /* harmony import */


    var _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./symbol/triangle.js */
    "./node_modules/d3-shape/src/symbol/triangle.js");
    /* harmony import */


    var _symbol_wye_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./symbol/wye.js */
    "./node_modules/d3-shape/src/symbol/wye.js");
    /* harmony import */


    var _constant_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./constant.js */
    "./node_modules/d3-shape/src/constant.js");

    var symbols = [_symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__["default"], _symbol_cross_js__WEBPACK_IMPORTED_MODULE_2__["default"], _symbol_diamond_js__WEBPACK_IMPORTED_MODULE_3__["default"], _symbol_square_js__WEBPACK_IMPORTED_MODULE_5__["default"], _symbol_star_js__WEBPACK_IMPORTED_MODULE_4__["default"], _symbol_triangle_js__WEBPACK_IMPORTED_MODULE_6__["default"], _symbol_wye_js__WEBPACK_IMPORTED_MODULE_7__["default"]];
    /* harmony default export */

    __webpack_exports__["default"] = function () {
      var type = Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_symbol_circle_js__WEBPACK_IMPORTED_MODULE_1__["default"]),
          size = Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(64),
          context = null;

      function symbol() {
        var buffer;
        if (!context) context = buffer = Object(d3_path__WEBPACK_IMPORTED_MODULE_0__["path"])();
        type.apply(this, arguments).draw(context, +size.apply(this, arguments));
        if (buffer) return context = null, buffer + "" || null;
      }

      symbol.type = function (_) {
        return arguments.length ? (type = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(_), symbol) : type;
      };

      symbol.size = function (_) {
        return arguments.length ? (size = typeof _ === "function" ? _ : Object(_constant_js__WEBPACK_IMPORTED_MODULE_8__["default"])(+_), symbol) : size;
      };

      symbol.context = function (_) {
        return arguments.length ? (context = _ == null ? null : _, symbol) : context;
      };

      return symbol;
    };
    /***/

  },

  /***/
  "./node_modules/d3-shape/src/symbol/circle.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/circle.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolCircleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../math.js */
    "./node_modules/d3-shape/src/math.js");
    /* harmony default export */


    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var r = Math.sqrt(size / _math_js__WEBPACK_IMPORTED_MODULE_0__["pi"]);
        context.moveTo(r, 0);
        context.arc(0, 0, r, 0, _math_js__WEBPACK_IMPORTED_MODULE_0__["tau"]);
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/symbol/cross.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/cross.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolCrossJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var r = Math.sqrt(size / 5) / 2;
        context.moveTo(-3 * r, -r);
        context.lineTo(-r, -r);
        context.lineTo(-r, -3 * r);
        context.lineTo(r, -3 * r);
        context.lineTo(r, -r);
        context.lineTo(3 * r, -r);
        context.lineTo(3 * r, r);
        context.lineTo(r, r);
        context.lineTo(r, 3 * r);
        context.lineTo(-r, 3 * r);
        context.lineTo(-r, r);
        context.lineTo(-3 * r, r);
        context.closePath();
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/symbol/diamond.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/diamond.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolDiamondJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var tan30 = Math.sqrt(1 / 3),
        tan30_2 = tan30 * 2;
    /* harmony default export */

    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var y = Math.sqrt(size / tan30_2),
            x = y * tan30;
        context.moveTo(0, -y);
        context.lineTo(x, 0);
        context.lineTo(0, y);
        context.lineTo(-x, 0);
        context.closePath();
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/symbol/square.js":
  /*!****************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/square.js ***!
    \****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolSquareJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony default export */


    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var w = Math.sqrt(size),
            x = -w / 2;
        context.rect(x, x, w, w);
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/symbol/star.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/star.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolStarJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _math_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../math.js */
    "./node_modules/d3-shape/src/math.js");

    var ka = 0.89081309152928522810,
        kr = Math.sin(_math_js__WEBPACK_IMPORTED_MODULE_0__["pi"] / 10) / Math.sin(7 * _math_js__WEBPACK_IMPORTED_MODULE_0__["pi"] / 10),
        kx = Math.sin(_math_js__WEBPACK_IMPORTED_MODULE_0__["tau"] / 10) * kr,
        ky = -Math.cos(_math_js__WEBPACK_IMPORTED_MODULE_0__["tau"] / 10) * kr;
    /* harmony default export */

    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var r = Math.sqrt(size * ka),
            x = kx * r,
            y = ky * r;
        context.moveTo(0, -r);
        context.lineTo(x, y);

        for (var i = 1; i < 5; ++i) {
          var a = _math_js__WEBPACK_IMPORTED_MODULE_0__["tau"] * i / 5,
              c = Math.cos(a),
              s = Math.sin(a);
          context.lineTo(s * r, -c * r);
          context.lineTo(c * x - s * y, s * x + c * y);
        }

        context.closePath();
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/symbol/triangle.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/triangle.js ***!
    \******************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolTriangleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var sqrt3 = Math.sqrt(3);
    /* harmony default export */

    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var y = -Math.sqrt(size / (sqrt3 * 3));
        context.moveTo(0, y * 2);
        context.lineTo(-sqrt3 * y, -y);
        context.lineTo(sqrt3 * y, -y);
        context.closePath();
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-shape/src/symbol/wye.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-shape/src/symbol/wye.js ***!
    \*************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3ShapeSrcSymbolWyeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    var c = -0.5,
        s = Math.sqrt(3) / 2,
        k = 1 / Math.sqrt(12),
        a = (k / 2 + 1) * 3;
    /* harmony default export */

    __webpack_exports__["default"] = {
      draw: function draw(context, size) {
        var r = Math.sqrt(size / a),
            x0 = r / 2,
            y0 = r * k,
            x1 = x0,
            y1 = r * k + r,
            x2 = -x1,
            y2 = y1;
        context.moveTo(x0, y0);
        context.lineTo(x1, y1);
        context.lineTo(x2, y2);
        context.lineTo(c * x0 - s * y0, s * x0 + c * y0);
        context.lineTo(c * x1 - s * y1, s * x1 + c * y1);
        context.lineTo(c * x2 - s * y2, s * x2 + c * y2);
        context.lineTo(c * x0 + s * y0, c * y0 - s * x0);
        context.lineTo(c * x1 + s * y1, c * y1 - s * x1);
        context.lineTo(c * x2 + s * y2, c * y2 - s * x2);
        context.closePath();
      }
    };
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/day.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/day.js ***!
    \*********************************************************************/

  /*! exports provided: default, days */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcDayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "days", function () {
      return days;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var day = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setDate(date.getDate() + step);
    }, function (start, end) {
      return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
    }, function (date) {
      return date.getDate() - 1;
    });
    /* harmony default export */

    __webpack_exports__["default"] = day;
    var days = day.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/duration.js ***!
    \**************************************************************************/

  /*! exports provided: durationSecond, durationMinute, durationHour, durationDay, durationWeek */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcDurationJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationSecond", function () {
      return durationSecond;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationMinute", function () {
      return durationMinute;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationHour", function () {
      return durationHour;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationDay", function () {
      return durationDay;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationWeek", function () {
      return durationWeek;
    });

    var durationSecond = 1e3;
    var durationMinute = 6e4;
    var durationHour = 36e5;
    var durationDay = 864e5;
    var durationWeek = 6048e5;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/hour.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/hour.js ***!
    \**********************************************************************/

  /*! exports provided: default, hours */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcHourJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hours", function () {
      return hours;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var hour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"] - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
    }, function (date) {
      return date.getHours();
    });
    /* harmony default export */

    __webpack_exports__["default"] = hour;
    var hours = hour.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/index.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/index.js ***!
    \***********************************************************************/

  /*! exports provided: timeInterval, timeMillisecond, timeMilliseconds, utcMillisecond, utcMilliseconds, timeSecond, timeSeconds, utcSecond, utcSeconds, timeMinute, timeMinutes, timeHour, timeHours, timeDay, timeDays, timeWeek, timeWeeks, timeSunday, timeSundays, timeMonday, timeMondays, timeTuesday, timeTuesdays, timeWednesday, timeWednesdays, timeThursday, timeThursdays, timeFriday, timeFridays, timeSaturday, timeSaturdays, timeMonth, timeMonths, timeYear, timeYears, utcMinute, utcMinutes, utcHour, utcHours, utcDay, utcDays, utcWeek, utcWeeks, utcSunday, utcSundays, utcMonday, utcMondays, utcTuesday, utcTuesdays, utcWednesday, utcWednesdays, utcThursday, utcThursdays, utcFriday, utcFridays, utcSaturday, utcSaturdays, utcMonth, utcMonths, utcYear, utcYears */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeInterval", function () {
      return _interval_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _millisecond_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./millisecond.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/millisecond.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMillisecond", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMilliseconds", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMillisecond", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMilliseconds", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
    });
    /* harmony import */


    var _second_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./second.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/second.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSecond", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSeconds", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSecond", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSeconds", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
    });
    /* harmony import */


    var _minute_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./minute.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/minute.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMinute", function () {
      return _minute_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMinutes", function () {
      return _minute_js__WEBPACK_IMPORTED_MODULE_3__["minutes"];
    });
    /* harmony import */


    var _hour_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./hour.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/hour.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeHour", function () {
      return _hour_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeHours", function () {
      return _hour_js__WEBPACK_IMPORTED_MODULE_4__["hours"];
    });
    /* harmony import */


    var _day_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./day.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/day.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeDay", function () {
      return _day_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeDays", function () {
      return _day_js__WEBPACK_IMPORTED_MODULE_5__["days"];
    });
    /* harmony import */


    var _week_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./week.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/week.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWeek", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWeeks", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSunday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSundays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMonday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["monday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMondays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["mondays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeTuesday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeTuesdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWednesday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWednesdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeThursday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeThursdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFriday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["friday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFridays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["fridays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSaturday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSaturdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturdays"];
    });
    /* harmony import */


    var _month_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./month.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/month.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMonth", function () {
      return _month_js__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMonths", function () {
      return _month_js__WEBPACK_IMPORTED_MODULE_7__["months"];
    });
    /* harmony import */


    var _year_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./year.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/year.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeYear", function () {
      return _year_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeYears", function () {
      return _year_js__WEBPACK_IMPORTED_MODULE_8__["years"];
    });
    /* harmony import */


    var _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./utcMinute.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/utcMinute.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMinute", function () {
      return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
      return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["utcMinutes"];
    });
    /* harmony import */


    var _utcHour_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./utcHour.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/utcHour.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcHour", function () {
      return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcHours", function () {
      return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["utcHours"];
    });
    /* harmony import */


    var _utcDay_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./utcDay.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/utcDay.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcDay", function () {
      return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcDays", function () {
      return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["utcDays"];
    });
    /* harmony import */


    var _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./utcWeek.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/utcWeek.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWeek", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWeeks", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMonday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMondays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFriday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFridays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturdays"];
    });
    /* harmony import */


    var _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./utcMonth.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/utcMonth.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMonth", function () {
      return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
      return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["utcMonths"];
    });
    /* harmony import */


    var _utcYear_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./utcYear.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/utcYear.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcYear", function () {
      return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcYears", function () {
      return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["utcYears"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/interval.js ***!
    \**************************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcIntervalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return newInterval;
    });

    var t0 = new Date(),
        t1 = new Date();

    function newInterval(floori, offseti, count, field) {
      function interval(date) {
        return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date;
      }

      interval.floor = function (date) {
        return floori(date = new Date(+date)), date;
      };

      interval.ceil = function (date) {
        return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
      };

      interval.round = function (date) {
        var d0 = interval(date),
            d1 = interval.ceil(date);
        return date - d0 < d1 - date ? d0 : d1;
      };

      interval.offset = function (date, step) {
        return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
      };

      interval.range = function (start, stop, step) {
        var range = [],
            previous;
        start = interval.ceil(start);
        step = step == null ? 1 : Math.floor(step);
        if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date

        do range.push(previous = new Date(+start)), offseti(start, step), floori(start); while (previous < start && start < stop);

        return range;
      };

      interval.filter = function (test) {
        return newInterval(function (date) {
          if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
        }, function (date, step) {
          if (date >= date) {
            if (step < 0) while (++step <= 0) {
              while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty

            } else while (--step >= 0) {
              while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty

            }
          }
        });
      };

      if (count) {
        interval.count = function (start, end) {
          t0.setTime(+start), t1.setTime(+end);
          floori(t0), floori(t1);
          return Math.floor(count(t0, t1));
        };

        interval.every = function (step) {
          step = Math.floor(step);
          return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval : interval.filter(field ? function (d) {
            return field(d) % step === 0;
          } : function (d) {
            return interval.count(0, d) % step === 0;
          });
        };
      }

      return interval;
    }
    /***/

  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/millisecond.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/millisecond.js ***!
    \*****************************************************************************/

  /*! exports provided: default, milliseconds */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcMillisecondJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "milliseconds", function () {
      return milliseconds;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");

    var millisecond = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function () {// noop
    }, function (date, step) {
      date.setTime(+date + step);
    }, function (start, end) {
      return end - start;
    }); // An optimized implementation for this simple case.

    millisecond.every = function (k) {
      k = Math.floor(k);
      if (!isFinite(k) || !(k > 0)) return null;
      if (!(k > 1)) return millisecond;
      return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(Math.floor(date / k) * k);
      }, function (date, step) {
        date.setTime(+date + step * k);
      }, function (start, end) {
        return (end - start) / k;
      });
    };
    /* harmony default export */


    __webpack_exports__["default"] = millisecond;
    var milliseconds = millisecond.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/minute.js":
  /*!************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/minute.js ***!
    \************************************************************************/

  /*! exports provided: default, minutes */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcMinuteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "minutes", function () {
      return minutes;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var minute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
    }, function (date) {
      return date.getMinutes();
    });
    /* harmony default export */

    __webpack_exports__["default"] = minute;
    var minutes = minute.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/month.js":
  /*!***********************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/month.js ***!
    \***********************************************************************/

  /*! exports provided: default, months */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcMonthJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "months", function () {
      return months;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");

    var month = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setDate(1);
      date.setHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setMonth(date.getMonth() + step);
    }, function (start, end) {
      return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
    }, function (date) {
      return date.getMonth();
    });
    /* harmony default export */

    __webpack_exports__["default"] = month;
    var months = month.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/second.js":
  /*!************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/second.js ***!
    \************************************************************************/

  /*! exports provided: default, seconds */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcSecondJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "seconds", function () {
      return seconds;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var second = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setTime(date - date.getMilliseconds());
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"];
    }, function (date) {
      return date.getUTCSeconds();
    });
    /* harmony default export */

    __webpack_exports__["default"] = second;
    var seconds = second.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/utcDay.js":
  /*!************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/utcDay.js ***!
    \************************************************************************/

  /*! exports provided: default, utcDays */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcUtcDayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcDays", function () {
      return utcDays;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var utcDay = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCDate(date.getUTCDate() + step);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
    }, function (date) {
      return date.getUTCDate() - 1;
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcDay;
    var utcDays = utcDay.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/utcHour.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/utcHour.js ***!
    \*************************************************************************/

  /*! exports provided: default, utcHours */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcUtcHourJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcHours", function () {
      return utcHours;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var utcHour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCMinutes(0, 0, 0);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
    }, function (date) {
      return date.getUTCHours();
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcHour;
    var utcHours = utcHour.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/utcMinute.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/utcMinute.js ***!
    \***************************************************************************/

  /*! exports provided: default, utcMinutes */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcUtcMinuteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
      return utcMinutes;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    var utcMinute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCSeconds(0, 0);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
    }, function (date) {
      return date.getUTCMinutes();
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcMinute;
    var utcMinutes = utcMinute.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/utcMonth.js":
  /*!**************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/utcMonth.js ***!
    \**************************************************************************/

  /*! exports provided: default, utcMonths */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcUtcMonthJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
      return utcMonths;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");

    var utcMonth = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCDate(1);
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCMonth(date.getUTCMonth() + step);
    }, function (start, end) {
      return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
    }, function (date) {
      return date.getUTCMonth();
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcMonth;
    var utcMonths = utcMonth.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/utcWeek.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/utcWeek.js ***!
    \*************************************************************************/

  /*! exports provided: utcSunday, utcMonday, utcTuesday, utcWednesday, utcThursday, utcFriday, utcSaturday, utcSundays, utcMondays, utcTuesdays, utcWednesdays, utcThursdays, utcFridays, utcSaturdays */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcUtcWeekJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
      return utcSunday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
      return utcMonday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
      return utcTuesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
      return utcWednesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
      return utcThursday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
      return utcFriday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
      return utcSaturday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
      return utcSundays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
      return utcMondays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
      return utcTuesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
      return utcWednesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
      return utcThursdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
      return utcFridays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
      return utcSaturdays;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    function utcWeekday(i) {
      return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCDate(date.getUTCDate() + step * 7);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
      });
    }

    var utcSunday = utcWeekday(0);
    var utcMonday = utcWeekday(1);
    var utcTuesday = utcWeekday(2);
    var utcWednesday = utcWeekday(3);
    var utcThursday = utcWeekday(4);
    var utcFriday = utcWeekday(5);
    var utcSaturday = utcWeekday(6);
    var utcSundays = utcSunday.range;
    var utcMondays = utcMonday.range;
    var utcTuesdays = utcTuesday.range;
    var utcWednesdays = utcWednesday.range;
    var utcThursdays = utcThursday.range;
    var utcFridays = utcFriday.range;
    var utcSaturdays = utcSaturday.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/utcYear.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/utcYear.js ***!
    \*************************************************************************/

  /*! exports provided: default, utcYears */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcUtcYearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcYears", function () {
      return utcYears;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");

    var utcYear = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCMonth(0, 1);
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCFullYear(date.getUTCFullYear() + step);
    }, function (start, end) {
      return end.getUTCFullYear() - start.getUTCFullYear();
    }, function (date) {
      return date.getUTCFullYear();
    }); // An optimized implementation for this simple case.

    utcYear.every = function (k) {
      return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
        date.setUTCMonth(0, 1);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCFullYear(date.getUTCFullYear() + step * k);
      });
    };
    /* harmony default export */


    __webpack_exports__["default"] = utcYear;
    var utcYears = utcYear.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/week.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/week.js ***!
    \**********************************************************************/

  /*! exports provided: sunday, monday, tuesday, wednesday, thursday, friday, saturday, sundays, mondays, tuesdays, wednesdays, thursdays, fridays, saturdays */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcWeekJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sunday", function () {
      return sunday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "monday", function () {
      return monday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tuesday", function () {
      return tuesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "wednesday", function () {
      return wednesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "thursday", function () {
      return thursday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "friday", function () {
      return friday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "saturday", function () {
      return saturday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sundays", function () {
      return sundays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "mondays", function () {
      return mondays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tuesdays", function () {
      return tuesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "wednesdays", function () {
      return wednesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "thursdays", function () {
      return thursdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "fridays", function () {
      return fridays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "saturdays", function () {
      return saturdays;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/duration.js");

    function weekday(i) {
      return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setDate(date.getDate() + step * 7);
      }, function (start, end) {
        return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
      });
    }

    var sunday = weekday(0);
    var monday = weekday(1);
    var tuesday = weekday(2);
    var wednesday = weekday(3);
    var thursday = weekday(4);
    var friday = weekday(5);
    var saturday = weekday(6);
    var sundays = sunday.range;
    var mondays = monday.range;
    var tuesdays = tuesday.range;
    var wednesdays = wednesday.range;
    var thursdays = thursday.range;
    var fridays = friday.range;
    var saturdays = saturday.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/node_modules/d3-time/src/year.js":
  /*!**********************************************************************!*\
    !*** ./node_modules/d3-time-format/node_modules/d3-time/src/year.js ***!
    \**********************************************************************/

  /*! exports provided: default, years */

  /***/
  function node_modulesD3TimeFormatNode_modulesD3TimeSrcYearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "years", function () {
      return years;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time-format/node_modules/d3-time/src/interval.js");

    var year = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setMonth(0, 1);
      date.setHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setFullYear(date.getFullYear() + step);
    }, function (start, end) {
      return end.getFullYear() - start.getFullYear();
    }, function (date) {
      return date.getFullYear();
    }); // An optimized implementation for this simple case.

    year.every = function (k) {
      return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setFullYear(Math.floor(date.getFullYear() / k) * k);
        date.setMonth(0, 1);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setFullYear(date.getFullYear() + step * k);
      });
    };
    /* harmony default export */


    __webpack_exports__["default"] = year;
    var years = year.range;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/src/defaultLocale.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-time-format/src/defaultLocale.js ***!
    \**********************************************************/

  /*! exports provided: timeFormat, timeParse, utcFormat, utcParse, default */

  /***/
  function node_modulesD3TimeFormatSrcDefaultLocaleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "timeFormat", function () {
      return timeFormat;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "timeParse", function () {
      return timeParse;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcFormat", function () {
      return utcFormat;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcParse", function () {
      return utcParse;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return defaultLocale;
    });
    /* harmony import */


    var _locale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./locale.js */
    "./node_modules/d3-time-format/src/locale.js");

    var locale;
    var timeFormat;
    var timeParse;
    var utcFormat;
    var utcParse;
    defaultLocale({
      dateTime: "%x, %X",
      date: "%-m/%-d/%Y",
      time: "%-I:%M:%S %p",
      periods: ["AM", "PM"],
      days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
      shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
      months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
      shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
    });

    function defaultLocale(definition) {
      locale = Object(_locale_js__WEBPACK_IMPORTED_MODULE_0__["default"])(definition);
      timeFormat = locale.format;
      timeParse = locale.parse;
      utcFormat = locale.utcFormat;
      utcParse = locale.utcParse;
      return locale;
    }
    /***/

  },

  /***/
  "./node_modules/d3-time-format/src/index.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-time-format/src/index.js ***!
    \**************************************************/

  /*! exports provided: timeFormatDefaultLocale, timeFormat, timeParse, utcFormat, utcParse, timeFormatLocale, isoFormat, isoParse */

  /***/
  function node_modulesD3TimeFormatSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./defaultLocale.js */
    "./node_modules/d3-time-format/src/defaultLocale.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFormatDefaultLocale", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFormat", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["timeFormat"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeParse", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["timeParse"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcFormat", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["utcFormat"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcParse", function () {
      return _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["utcParse"];
    });
    /* harmony import */


    var _locale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./locale.js */
    "./node_modules/d3-time-format/src/locale.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFormatLocale", function () {
      return _locale_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./isoFormat.js */
    "./node_modules/d3-time-format/src/isoFormat.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "isoFormat", function () {
      return _isoFormat_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _isoParse_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./isoParse.js */
    "./node_modules/d3-time-format/src/isoParse.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "isoParse", function () {
      return _isoParse_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-time-format/src/isoFormat.js":
  /*!******************************************************!*\
    !*** ./node_modules/d3-time-format/src/isoFormat.js ***!
    \******************************************************/

  /*! exports provided: isoSpecifier, default */

  /***/
  function node_modulesD3TimeFormatSrcIsoFormatJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "isoSpecifier", function () {
      return isoSpecifier;
    });
    /* harmony import */


    var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./defaultLocale.js */
    "./node_modules/d3-time-format/src/defaultLocale.js");

    var isoSpecifier = "%Y-%m-%dT%H:%M:%S.%LZ";

    function formatIsoNative(date) {
      return date.toISOString();
    }

    var formatIso = Date.prototype.toISOString ? formatIsoNative : Object(_defaultLocale_js__WEBPACK_IMPORTED_MODULE_0__["utcFormat"])(isoSpecifier);
    /* harmony default export */

    __webpack_exports__["default"] = formatIso;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/src/isoParse.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-time-format/src/isoParse.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TimeFormatSrcIsoParseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _isoFormat_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./isoFormat.js */
    "./node_modules/d3-time-format/src/isoFormat.js");
    /* harmony import */


    var _defaultLocale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./defaultLocale.js */
    "./node_modules/d3-time-format/src/defaultLocale.js");

    function parseIsoNative(string) {
      var date = new Date(string);
      return isNaN(date) ? null : date;
    }

    var parseIso = +new Date("2000-01-01T00:00:00.000Z") ? parseIsoNative : Object(_defaultLocale_js__WEBPACK_IMPORTED_MODULE_1__["utcParse"])(_isoFormat_js__WEBPACK_IMPORTED_MODULE_0__["isoSpecifier"]);
    /* harmony default export */

    __webpack_exports__["default"] = parseIso;
    /***/
  },

  /***/
  "./node_modules/d3-time-format/src/locale.js":
  /*!***************************************************!*\
    !*** ./node_modules/d3-time-format/src/locale.js ***!
    \***************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TimeFormatSrcLocaleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return formatLocale;
    });
    /* harmony import */


    var d3_time__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-time */
    "./node_modules/d3-time-format/node_modules/d3-time/src/index.js");

    function localDate(d) {
      if (0 <= d.y && d.y < 100) {
        var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);
        date.setFullYear(d.y);
        return date;
      }

      return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);
    }

    function utcDate(d) {
      if (0 <= d.y && d.y < 100) {
        var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));
        date.setUTCFullYear(d.y);
        return date;
      }

      return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));
    }

    function newDate(y, m, d) {
      return {
        y: y,
        m: m,
        d: d,
        H: 0,
        M: 0,
        S: 0,
        L: 0
      };
    }

    function formatLocale(locale) {
      var locale_dateTime = locale.dateTime,
          locale_date = locale.date,
          locale_time = locale.time,
          locale_periods = locale.periods,
          locale_weekdays = locale.days,
          locale_shortWeekdays = locale.shortDays,
          locale_months = locale.months,
          locale_shortMonths = locale.shortMonths;
      var periodRe = formatRe(locale_periods),
          periodLookup = formatLookup(locale_periods),
          weekdayRe = formatRe(locale_weekdays),
          weekdayLookup = formatLookup(locale_weekdays),
          shortWeekdayRe = formatRe(locale_shortWeekdays),
          shortWeekdayLookup = formatLookup(locale_shortWeekdays),
          monthRe = formatRe(locale_months),
          monthLookup = formatLookup(locale_months),
          shortMonthRe = formatRe(locale_shortMonths),
          shortMonthLookup = formatLookup(locale_shortMonths);
      var formats = {
        "a": formatShortWeekday,
        "A": formatWeekday,
        "b": formatShortMonth,
        "B": formatMonth,
        "c": null,
        "d": formatDayOfMonth,
        "e": formatDayOfMonth,
        "f": formatMicroseconds,
        "g": formatYearISO,
        "G": formatFullYearISO,
        "H": formatHour24,
        "I": formatHour12,
        "j": formatDayOfYear,
        "L": formatMilliseconds,
        "m": formatMonthNumber,
        "M": formatMinutes,
        "p": formatPeriod,
        "q": formatQuarter,
        "Q": formatUnixTimestamp,
        "s": formatUnixTimestampSeconds,
        "S": formatSeconds,
        "u": formatWeekdayNumberMonday,
        "U": formatWeekNumberSunday,
        "V": formatWeekNumberISO,
        "w": formatWeekdayNumberSunday,
        "W": formatWeekNumberMonday,
        "x": null,
        "X": null,
        "y": formatYear,
        "Y": formatFullYear,
        "Z": formatZone,
        "%": formatLiteralPercent
      };
      var utcFormats = {
        "a": formatUTCShortWeekday,
        "A": formatUTCWeekday,
        "b": formatUTCShortMonth,
        "B": formatUTCMonth,
        "c": null,
        "d": formatUTCDayOfMonth,
        "e": formatUTCDayOfMonth,
        "f": formatUTCMicroseconds,
        "g": formatUTCYearISO,
        "G": formatUTCFullYearISO,
        "H": formatUTCHour24,
        "I": formatUTCHour12,
        "j": formatUTCDayOfYear,
        "L": formatUTCMilliseconds,
        "m": formatUTCMonthNumber,
        "M": formatUTCMinutes,
        "p": formatUTCPeriod,
        "q": formatUTCQuarter,
        "Q": formatUnixTimestamp,
        "s": formatUnixTimestampSeconds,
        "S": formatUTCSeconds,
        "u": formatUTCWeekdayNumberMonday,
        "U": formatUTCWeekNumberSunday,
        "V": formatUTCWeekNumberISO,
        "w": formatUTCWeekdayNumberSunday,
        "W": formatUTCWeekNumberMonday,
        "x": null,
        "X": null,
        "y": formatUTCYear,
        "Y": formatUTCFullYear,
        "Z": formatUTCZone,
        "%": formatLiteralPercent
      };
      var parses = {
        "a": parseShortWeekday,
        "A": parseWeekday,
        "b": parseShortMonth,
        "B": parseMonth,
        "c": parseLocaleDateTime,
        "d": parseDayOfMonth,
        "e": parseDayOfMonth,
        "f": parseMicroseconds,
        "g": parseYear,
        "G": parseFullYear,
        "H": parseHour24,
        "I": parseHour24,
        "j": parseDayOfYear,
        "L": parseMilliseconds,
        "m": parseMonthNumber,
        "M": parseMinutes,
        "p": parsePeriod,
        "q": parseQuarter,
        "Q": parseUnixTimestamp,
        "s": parseUnixTimestampSeconds,
        "S": parseSeconds,
        "u": parseWeekdayNumberMonday,
        "U": parseWeekNumberSunday,
        "V": parseWeekNumberISO,
        "w": parseWeekdayNumberSunday,
        "W": parseWeekNumberMonday,
        "x": parseLocaleDate,
        "X": parseLocaleTime,
        "y": parseYear,
        "Y": parseFullYear,
        "Z": parseZone,
        "%": parseLiteralPercent
      }; // These recursive directive definitions must be deferred.

      formats.x = newFormat(locale_date, formats);
      formats.X = newFormat(locale_time, formats);
      formats.c = newFormat(locale_dateTime, formats);
      utcFormats.x = newFormat(locale_date, utcFormats);
      utcFormats.X = newFormat(locale_time, utcFormats);
      utcFormats.c = newFormat(locale_dateTime, utcFormats);

      function newFormat(specifier, formats) {
        return function (date) {
          var string = [],
              i = -1,
              j = 0,
              n = specifier.length,
              c,
              pad,
              format;
          if (!(date instanceof Date)) date = new Date(+date);

          while (++i < n) {
            if (specifier.charCodeAt(i) === 37) {
              string.push(specifier.slice(j, i));
              if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);else pad = c === "e" ? " " : "0";
              if (format = formats[c]) c = format(date, pad);
              string.push(c);
              j = i + 1;
            }
          }

          string.push(specifier.slice(j, i));
          return string.join("");
        };
      }

      function newParse(specifier, Z) {
        return function (string) {
          var d = newDate(1900, undefined, 1),
              i = parseSpecifier(d, specifier, string += "", 0),
              week,
              day;
          if (i != string.length) return null; // If a UNIX timestamp is specified, return it.

          if ("Q" in d) return new Date(d.Q);
          if ("s" in d) return new Date(d.s * 1000 + ("L" in d ? d.L : 0)); // If this is utcParse, never use the local timezone.

          if (Z && !("Z" in d)) d.Z = 0; // The am-pm flag is 0 for AM, and 1 for PM.

          if ("p" in d) d.H = d.H % 12 + d.p * 12; // If the month was not specified, inherit from the quarter.

          if (d.m === undefined) d.m = "q" in d ? d.q : 0; // Convert day-of-week and week-of-year to day-of-year.

          if ("V" in d) {
            if (d.V < 1 || d.V > 53) return null;
            if (!("w" in d)) d.w = 1;

            if ("Z" in d) {
              week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
              week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonday"].ceil(week) : Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonday"])(week);
              week = d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"].offset(week, (d.V - 1) * 7);
              d.y = week.getUTCFullYear();
              d.m = week.getUTCMonth();
              d.d = week.getUTCDate() + (d.w + 6) % 7;
            } else {
              week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
              week = day > 4 || day === 0 ? d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonday"].ceil(week) : Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonday"])(week);
              week = d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"].offset(week, (d.V - 1) * 7);
              d.y = week.getFullYear();
              d.m = week.getMonth();
              d.d = week.getDate() + (d.w + 6) % 7;
            }
          } else if ("W" in d || "U" in d) {
            if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
            day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
            d.m = 0;
            d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
          } // If a time zone is specified, all fields are interpreted as UTC and then
          // offset according to the specified time zone.


          if ("Z" in d) {
            d.H += d.Z / 100 | 0;
            d.M += d.Z % 100;
            return utcDate(d);
          } // Otherwise, all fields are in local time.


          return localDate(d);
        };
      }

      function parseSpecifier(d, specifier, string, j) {
        var i = 0,
            n = specifier.length,
            m = string.length,
            c,
            parse;

        while (i < n) {
          if (j >= m) return -1;
          c = specifier.charCodeAt(i++);

          if (c === 37) {
            c = specifier.charAt(i++);
            parse = parses[c in pads ? specifier.charAt(i++) : c];
            if (!parse || (j = parse(d, string, j)) < 0) return -1;
          } else if (c != string.charCodeAt(j++)) {
            return -1;
          }
        }

        return j;
      }

      function parsePeriod(d, string, i) {
        var n = periodRe.exec(string.slice(i));
        return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1;
      }

      function parseShortWeekday(d, string, i) {
        var n = shortWeekdayRe.exec(string.slice(i));
        return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;
      }

      function parseWeekday(d, string, i) {
        var n = weekdayRe.exec(string.slice(i));
        return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;
      }

      function parseShortMonth(d, string, i) {
        var n = shortMonthRe.exec(string.slice(i));
        return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1;
      }

      function parseMonth(d, string, i) {
        var n = monthRe.exec(string.slice(i));
        return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1;
      }

      function parseLocaleDateTime(d, string, i) {
        return parseSpecifier(d, locale_dateTime, string, i);
      }

      function parseLocaleDate(d, string, i) {
        return parseSpecifier(d, locale_date, string, i);
      }

      function parseLocaleTime(d, string, i) {
        return parseSpecifier(d, locale_time, string, i);
      }

      function formatShortWeekday(d) {
        return locale_shortWeekdays[d.getDay()];
      }

      function formatWeekday(d) {
        return locale_weekdays[d.getDay()];
      }

      function formatShortMonth(d) {
        return locale_shortMonths[d.getMonth()];
      }

      function formatMonth(d) {
        return locale_months[d.getMonth()];
      }

      function formatPeriod(d) {
        return locale_periods[+(d.getHours() >= 12)];
      }

      function formatQuarter(d) {
        return 1 + ~~(d.getMonth() / 3);
      }

      function formatUTCShortWeekday(d) {
        return locale_shortWeekdays[d.getUTCDay()];
      }

      function formatUTCWeekday(d) {
        return locale_weekdays[d.getUTCDay()];
      }

      function formatUTCShortMonth(d) {
        return locale_shortMonths[d.getUTCMonth()];
      }

      function formatUTCMonth(d) {
        return locale_months[d.getUTCMonth()];
      }

      function formatUTCPeriod(d) {
        return locale_periods[+(d.getUTCHours() >= 12)];
      }

      function formatUTCQuarter(d) {
        return 1 + ~~(d.getUTCMonth() / 3);
      }

      return {
        format: function format(specifier) {
          var f = newFormat(specifier += "", formats);

          f.toString = function () {
            return specifier;
          };

          return f;
        },
        parse: function parse(specifier) {
          var p = newParse(specifier += "", false);

          p.toString = function () {
            return specifier;
          };

          return p;
        },
        utcFormat: function utcFormat(specifier) {
          var f = newFormat(specifier += "", utcFormats);

          f.toString = function () {
            return specifier;
          };

          return f;
        },
        utcParse: function utcParse(specifier) {
          var p = newParse(specifier += "", true);

          p.toString = function () {
            return specifier;
          };

          return p;
        }
      };
    }

    var pads = {
      "-": "",
      "_": " ",
      "0": "0"
    },
        numberRe = /^\s*\d+/,
        // note: ignores next directive
    percentRe = /^%/,
        requoteRe = /[\\^$*+?|[\]().{}]/g;

    function pad(value, fill, width) {
      var sign = value < 0 ? "-" : "",
          string = (sign ? -value : value) + "",
          length = string.length;
      return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);
    }

    function requote(s) {
      return s.replace(requoteRe, "\\$&");
    }

    function formatRe(names) {
      return new RegExp("^(?:" + names.map(requote).join("|") + ")", "i");
    }

    function formatLookup(names) {
      var map = {},
          i = -1,
          n = names.length;

      while (++i < n) map[names[i].toLowerCase()] = i;

      return map;
    }

    function parseWeekdayNumberSunday(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 1));
      return n ? (d.w = +n[0], i + n[0].length) : -1;
    }

    function parseWeekdayNumberMonday(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 1));
      return n ? (d.u = +n[0], i + n[0].length) : -1;
    }

    function parseWeekNumberSunday(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.U = +n[0], i + n[0].length) : -1;
    }

    function parseWeekNumberISO(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.V = +n[0], i + n[0].length) : -1;
    }

    function parseWeekNumberMonday(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.W = +n[0], i + n[0].length) : -1;
    }

    function parseFullYear(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 4));
      return n ? (d.y = +n[0], i + n[0].length) : -1;
    }

    function parseYear(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;
    }

    function parseZone(d, string, i) {
      var n = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(string.slice(i, i + 6));
      return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || "00")), i + n[0].length) : -1;
    }

    function parseQuarter(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 1));
      return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;
    }

    function parseMonthNumber(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.m = n[0] - 1, i + n[0].length) : -1;
    }

    function parseDayOfMonth(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.d = +n[0], i + n[0].length) : -1;
    }

    function parseDayOfYear(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 3));
      return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;
    }

    function parseHour24(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.H = +n[0], i + n[0].length) : -1;
    }

    function parseMinutes(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.M = +n[0], i + n[0].length) : -1;
    }

    function parseSeconds(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 2));
      return n ? (d.S = +n[0], i + n[0].length) : -1;
    }

    function parseMilliseconds(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 3));
      return n ? (d.L = +n[0], i + n[0].length) : -1;
    }

    function parseMicroseconds(d, string, i) {
      var n = numberRe.exec(string.slice(i, i + 6));
      return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;
    }

    function parseLiteralPercent(d, string, i) {
      var n = percentRe.exec(string.slice(i, i + 1));
      return n ? i + n[0].length : -1;
    }

    function parseUnixTimestamp(d, string, i) {
      var n = numberRe.exec(string.slice(i));
      return n ? (d.Q = +n[0], i + n[0].length) : -1;
    }

    function parseUnixTimestampSeconds(d, string, i) {
      var n = numberRe.exec(string.slice(i));
      return n ? (d.s = +n[0], i + n[0].length) : -1;
    }

    function formatDayOfMonth(d, p) {
      return pad(d.getDate(), p, 2);
    }

    function formatHour24(d, p) {
      return pad(d.getHours(), p, 2);
    }

    function formatHour12(d, p) {
      return pad(d.getHours() % 12 || 12, p, 2);
    }

    function formatDayOfYear(d, p) {
      return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_0__["timeDay"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d), d), p, 3);
    }

    function formatMilliseconds(d, p) {
      return pad(d.getMilliseconds(), p, 3);
    }

    function formatMicroseconds(d, p) {
      return formatMilliseconds(d, p) + "000";
    }

    function formatMonthNumber(d, p) {
      return pad(d.getMonth() + 1, p, 2);
    }

    function formatMinutes(d, p) {
      return pad(d.getMinutes(), p, 2);
    }

    function formatSeconds(d, p) {
      return pad(d.getSeconds(), p, 2);
    }

    function formatWeekdayNumberMonday(d) {
      var day = d.getDay();
      return day === 0 ? 7 : day;
    }

    function formatWeekNumberSunday(d, p) {
      return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeSunday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d) - 1, d), p, 2);
    }

    function dISO(d) {
      var day = d.getDay();
      return day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"].ceil(d);
    }

    function formatWeekNumberISO(d, p) {
      d = dISO(d);
      return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d), d) + (Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d).getDay() === 4), p, 2);
    }

    function formatWeekdayNumberSunday(d) {
      return d.getDay();
    }

    function formatWeekNumberMonday(d, p) {
      return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeMonday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeYear"])(d) - 1, d), p, 2);
    }

    function formatYear(d, p) {
      return pad(d.getFullYear() % 100, p, 2);
    }

    function formatYearISO(d, p) {
      d = dISO(d);
      return pad(d.getFullYear() % 100, p, 2);
    }

    function formatFullYear(d, p) {
      return pad(d.getFullYear() % 10000, p, 4);
    }

    function formatFullYearISO(d, p) {
      var day = d.getDay();
      d = day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["timeThursday"].ceil(d);
      return pad(d.getFullYear() % 10000, p, 4);
    }

    function formatZone(d) {
      var z = d.getTimezoneOffset();
      return (z > 0 ? "-" : (z *= -1, "+")) + pad(z / 60 | 0, "0", 2) + pad(z % 60, "0", 2);
    }

    function formatUTCDayOfMonth(d, p) {
      return pad(d.getUTCDate(), p, 2);
    }

    function formatUTCHour24(d, p) {
      return pad(d.getUTCHours(), p, 2);
    }

    function formatUTCHour12(d, p) {
      return pad(d.getUTCHours() % 12 || 12, p, 2);
    }

    function formatUTCDayOfYear(d, p) {
      return pad(1 + d3_time__WEBPACK_IMPORTED_MODULE_0__["utcDay"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d), d), p, 3);
    }

    function formatUTCMilliseconds(d, p) {
      return pad(d.getUTCMilliseconds(), p, 3);
    }

    function formatUTCMicroseconds(d, p) {
      return formatUTCMilliseconds(d, p) + "000";
    }

    function formatUTCMonthNumber(d, p) {
      return pad(d.getUTCMonth() + 1, p, 2);
    }

    function formatUTCMinutes(d, p) {
      return pad(d.getUTCMinutes(), p, 2);
    }

    function formatUTCSeconds(d, p) {
      return pad(d.getUTCSeconds(), p, 2);
    }

    function formatUTCWeekdayNumberMonday(d) {
      var dow = d.getUTCDay();
      return dow === 0 ? 7 : dow;
    }

    function formatUTCWeekNumberSunday(d, p) {
      return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcSunday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d) - 1, d), p, 2);
    }

    function UTCdISO(d) {
      var day = d.getUTCDay();
      return day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"].ceil(d);
    }

    function formatUTCWeekNumberISO(d, p) {
      d = UTCdISO(d);
      return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d), d) + (Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d).getUTCDay() === 4), p, 2);
    }

    function formatUTCWeekdayNumberSunday(d) {
      return d.getUTCDay();
    }

    function formatUTCWeekNumberMonday(d, p) {
      return pad(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcMonday"].count(Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcYear"])(d) - 1, d), p, 2);
    }

    function formatUTCYear(d, p) {
      return pad(d.getUTCFullYear() % 100, p, 2);
    }

    function formatUTCYearISO(d, p) {
      d = UTCdISO(d);
      return pad(d.getUTCFullYear() % 100, p, 2);
    }

    function formatUTCFullYear(d, p) {
      return pad(d.getUTCFullYear() % 10000, p, 4);
    }

    function formatUTCFullYearISO(d, p) {
      var day = d.getUTCDay();
      d = day >= 4 || day === 0 ? Object(d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"])(d) : d3_time__WEBPACK_IMPORTED_MODULE_0__["utcThursday"].ceil(d);
      return pad(d.getUTCFullYear() % 10000, p, 4);
    }

    function formatUTCZone() {
      return "+0000";
    }

    function formatLiteralPercent() {
      return "%";
    }

    function formatUnixTimestamp(d) {
      return +d;
    }

    function formatUnixTimestampSeconds(d) {
      return Math.floor(+d / 1000);
    }
    /***/

  },

  /***/
  "./node_modules/d3-time/src/day.js":
  /*!*****************************************!*\
    !*** ./node_modules/d3-time/src/day.js ***!
    \*****************************************/

  /*! exports provided: default, days */

  /***/
  function node_modulesD3TimeSrcDayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "days", function () {
      return days;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var day = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      return date.setHours(0, 0, 0, 0);
    }, function (date, step) {
      return date.setDate(date.getDate() + step);
    }, function (start, end) {
      return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
    }, function (date) {
      return date.getDate() - 1;
    });
    /* harmony default export */

    __webpack_exports__["default"] = day;
    var days = day.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/duration.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-time/src/duration.js ***!
    \**********************************************/

  /*! exports provided: durationSecond, durationMinute, durationHour, durationDay, durationWeek, durationMonth, durationYear */

  /***/
  function node_modulesD3TimeSrcDurationJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationSecond", function () {
      return durationSecond;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationMinute", function () {
      return durationMinute;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationHour", function () {
      return durationHour;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationDay", function () {
      return durationDay;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationWeek", function () {
      return durationWeek;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationMonth", function () {
      return durationMonth;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "durationYear", function () {
      return durationYear;
    });

    var durationSecond = 1000;
    var durationMinute = durationSecond * 60;
    var durationHour = durationMinute * 60;
    var durationDay = durationHour * 24;
    var durationWeek = durationDay * 7;
    var durationMonth = durationDay * 30;
    var durationYear = durationDay * 365;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/hour.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-time/src/hour.js ***!
    \******************************************/

  /*! exports provided: default, hours */

  /***/
  function node_modulesD3TimeSrcHourJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "hours", function () {
      return hours;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var hour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"] - date.getMinutes() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
    }, function (date) {
      return date.getHours();
    });
    /* harmony default export */

    __webpack_exports__["default"] = hour;
    var hours = hour.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/index.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-time/src/index.js ***!
    \*******************************************/

  /*! exports provided: timeInterval, timeMillisecond, timeMilliseconds, utcMillisecond, utcMilliseconds, timeSecond, timeSeconds, utcSecond, utcSeconds, timeMinute, timeMinutes, timeHour, timeHours, timeDay, timeDays, timeWeek, timeWeeks, timeSunday, timeSundays, timeMonday, timeMondays, timeTuesday, timeTuesdays, timeWednesday, timeWednesdays, timeThursday, timeThursdays, timeFriday, timeFridays, timeSaturday, timeSaturdays, timeMonth, timeMonths, timeYear, timeYears, utcMinute, utcMinutes, utcHour, utcHours, utcDay, utcDays, utcWeek, utcWeeks, utcSunday, utcSundays, utcMonday, utcMondays, utcTuesday, utcTuesdays, utcWednesday, utcWednesdays, utcThursday, utcThursdays, utcFriday, utcFridays, utcSaturday, utcSaturdays, utcMonth, utcMonths, utcYear, utcYears, utcTicks, utcTickInterval, timeTicks, timeTickInterval */

  /***/
  function node_modulesD3TimeSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeInterval", function () {
      return _interval_js__WEBPACK_IMPORTED_MODULE_0__["default"];
    });
    /* harmony import */


    var _millisecond_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./millisecond.js */
    "./node_modules/d3-time/src/millisecond.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMillisecond", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMilliseconds", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMillisecond", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMilliseconds", function () {
      return _millisecond_js__WEBPACK_IMPORTED_MODULE_1__["milliseconds"];
    });
    /* harmony import */


    var _second_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./second.js */
    "./node_modules/d3-time/src/second.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSecond", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSeconds", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSecond", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSeconds", function () {
      return _second_js__WEBPACK_IMPORTED_MODULE_2__["seconds"];
    });
    /* harmony import */


    var _minute_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./minute.js */
    "./node_modules/d3-time/src/minute.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMinute", function () {
      return _minute_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMinutes", function () {
      return _minute_js__WEBPACK_IMPORTED_MODULE_3__["minutes"];
    });
    /* harmony import */


    var _hour_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./hour.js */
    "./node_modules/d3-time/src/hour.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeHour", function () {
      return _hour_js__WEBPACK_IMPORTED_MODULE_4__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeHours", function () {
      return _hour_js__WEBPACK_IMPORTED_MODULE_4__["hours"];
    });
    /* harmony import */


    var _day_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./day.js */
    "./node_modules/d3-time/src/day.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeDay", function () {
      return _day_js__WEBPACK_IMPORTED_MODULE_5__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeDays", function () {
      return _day_js__WEBPACK_IMPORTED_MODULE_5__["days"];
    });
    /* harmony import */


    var _week_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./week.js */
    "./node_modules/d3-time/src/week.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWeek", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWeeks", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSunday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSundays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["sundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMonday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["monday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMondays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["mondays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeTuesday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeTuesdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["tuesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWednesday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeWednesdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["wednesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeThursday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeThursdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["thursdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFriday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["friday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeFridays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["fridays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSaturday", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeSaturdays", function () {
      return _week_js__WEBPACK_IMPORTED_MODULE_6__["saturdays"];
    });
    /* harmony import */


    var _month_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./month.js */
    "./node_modules/d3-time/src/month.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMonth", function () {
      return _month_js__WEBPACK_IMPORTED_MODULE_7__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeMonths", function () {
      return _month_js__WEBPACK_IMPORTED_MODULE_7__["months"];
    });
    /* harmony import */


    var _year_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./year.js */
    "./node_modules/d3-time/src/year.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeYear", function () {
      return _year_js__WEBPACK_IMPORTED_MODULE_8__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeYears", function () {
      return _year_js__WEBPACK_IMPORTED_MODULE_8__["years"];
    });
    /* harmony import */


    var _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./utcMinute.js */
    "./node_modules/d3-time/src/utcMinute.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMinute", function () {
      return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
      return _utcMinute_js__WEBPACK_IMPORTED_MODULE_9__["utcMinutes"];
    });
    /* harmony import */


    var _utcHour_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./utcHour.js */
    "./node_modules/d3-time/src/utcHour.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcHour", function () {
      return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcHours", function () {
      return _utcHour_js__WEBPACK_IMPORTED_MODULE_10__["utcHours"];
    });
    /* harmony import */


    var _utcDay_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./utcDay.js */
    "./node_modules/d3-time/src/utcDay.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcDay", function () {
      return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcDays", function () {
      return _utcDay_js__WEBPACK_IMPORTED_MODULE_11__["utcDays"];
    });
    /* harmony import */


    var _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./utcWeek.js */
    "./node_modules/d3-time/src/utcWeek.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWeek", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWeeks", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSunday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSundays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMonday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcMondays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcTuesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcWednesdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcThursdays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFriday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcFridays"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturday"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
      return _utcWeek_js__WEBPACK_IMPORTED_MODULE_12__["utcSaturdays"];
    });
    /* harmony import */


    var _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./utcMonth.js */
    "./node_modules/d3-time/src/utcMonth.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMonth", function () {
      return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
      return _utcMonth_js__WEBPACK_IMPORTED_MODULE_13__["utcMonths"];
    });
    /* harmony import */


    var _utcYear_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./utcYear.js */
    "./node_modules/d3-time/src/utcYear.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcYear", function () {
      return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["default"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcYears", function () {
      return _utcYear_js__WEBPACK_IMPORTED_MODULE_14__["utcYears"];
    });
    /* harmony import */


    var _ticks_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./ticks.js */
    "./node_modules/d3-time/src/ticks.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcTicks", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["utcTicks"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "utcTickInterval", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["utcTickInterval"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeTicks", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["timeTicks"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeTickInterval", function () {
      return _ticks_js__WEBPACK_IMPORTED_MODULE_15__["timeTickInterval"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-time/src/interval.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-time/src/interval.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TimeSrcIntervalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return newInterval;
    });

    var t0 = new Date(),
        t1 = new Date();

    function newInterval(floori, offseti, count, field) {
      function interval(date) {
        return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date;
      }

      interval.floor = function (date) {
        return floori(date = new Date(+date)), date;
      };

      interval.ceil = function (date) {
        return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;
      };

      interval.round = function (date) {
        var d0 = interval(date),
            d1 = interval.ceil(date);
        return date - d0 < d1 - date ? d0 : d1;
      };

      interval.offset = function (date, step) {
        return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;
      };

      interval.range = function (start, stop, step) {
        var range = [],
            previous;
        start = interval.ceil(start);
        step = step == null ? 1 : Math.floor(step);
        if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date

        do range.push(previous = new Date(+start)), offseti(start, step), floori(start); while (previous < start && start < stop);

        return range;
      };

      interval.filter = function (test) {
        return newInterval(function (date) {
          if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);
        }, function (date, step) {
          if (date >= date) {
            if (step < 0) while (++step <= 0) {
              while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty

            } else while (--step >= 0) {
              while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty

            }
          }
        });
      };

      if (count) {
        interval.count = function (start, end) {
          t0.setTime(+start), t1.setTime(+end);
          floori(t0), floori(t1);
          return Math.floor(count(t0, t1));
        };

        interval.every = function (step) {
          step = Math.floor(step);
          return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval : interval.filter(field ? function (d) {
            return field(d) % step === 0;
          } : function (d) {
            return interval.count(0, d) % step === 0;
          });
        };
      }

      return interval;
    }
    /***/

  },

  /***/
  "./node_modules/d3-time/src/millisecond.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-time/src/millisecond.js ***!
    \*************************************************/

  /*! exports provided: default, milliseconds */

  /***/
  function node_modulesD3TimeSrcMillisecondJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "milliseconds", function () {
      return milliseconds;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");

    var millisecond = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function () {// noop
    }, function (date, step) {
      date.setTime(+date + step);
    }, function (start, end) {
      return end - start;
    }); // An optimized implementation for this simple case.

    millisecond.every = function (k) {
      k = Math.floor(k);
      if (!isFinite(k) || !(k > 0)) return null;
      if (!(k > 1)) return millisecond;
      return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setTime(Math.floor(date / k) * k);
      }, function (date, step) {
        date.setTime(+date + step * k);
      }, function (start, end) {
        return (end - start) / k;
      });
    };
    /* harmony default export */


    __webpack_exports__["default"] = millisecond;
    var milliseconds = millisecond.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/minute.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-time/src/minute.js ***!
    \********************************************/

  /*! exports provided: default, minutes */

  /***/
  function node_modulesD3TimeSrcMinuteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "minutes", function () {
      return minutes;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var minute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setTime(date - date.getMilliseconds() - date.getSeconds() * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
    }, function (date) {
      return date.getMinutes();
    });
    /* harmony default export */

    __webpack_exports__["default"] = minute;
    var minutes = minute.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/month.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-time/src/month.js ***!
    \*******************************************/

  /*! exports provided: default, months */

  /***/
  function node_modulesD3TimeSrcMonthJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "months", function () {
      return months;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");

    var month = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setDate(1);
      date.setHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setMonth(date.getMonth() + step);
    }, function (start, end) {
      return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;
    }, function (date) {
      return date.getMonth();
    });
    /* harmony default export */

    __webpack_exports__["default"] = month;
    var months = month.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/second.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-time/src/second.js ***!
    \********************************************/

  /*! exports provided: default, seconds */

  /***/
  function node_modulesD3TimeSrcSecondJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "seconds", function () {
      return seconds;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var second = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setTime(date - date.getMilliseconds());
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"];
    }, function (date) {
      return date.getUTCSeconds();
    });
    /* harmony default export */

    __webpack_exports__["default"] = second;
    var seconds = second.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/ticks.js":
  /*!*******************************************!*\
    !*** ./node_modules/d3-time/src/ticks.js ***!
    \*******************************************/

  /*! exports provided: utcTicks, utcTickInterval, timeTicks, timeTickInterval */

  /***/
  function node_modulesD3TimeSrcTicksJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcTicks", function () {
      return utcTicks;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcTickInterval", function () {
      return utcTickInterval;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "timeTicks", function () {
      return timeTicks;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "timeTickInterval", function () {
      return timeTickInterval;
    });
    /* harmony import */


    var d3_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-array */
    "./node_modules/d3-array/src/index.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");
    /* harmony import */


    var _millisecond_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./millisecond.js */
    "./node_modules/d3-time/src/millisecond.js");
    /* harmony import */


    var _second_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./second.js */
    "./node_modules/d3-time/src/second.js");
    /* harmony import */


    var _minute_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./minute.js */
    "./node_modules/d3-time/src/minute.js");
    /* harmony import */


    var _hour_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./hour.js */
    "./node_modules/d3-time/src/hour.js");
    /* harmony import */


    var _day_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./day.js */
    "./node_modules/d3-time/src/day.js");
    /* harmony import */


    var _week_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./week.js */
    "./node_modules/d3-time/src/week.js");
    /* harmony import */


    var _month_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./month.js */
    "./node_modules/d3-time/src/month.js");
    /* harmony import */


    var _year_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./year.js */
    "./node_modules/d3-time/src/year.js");
    /* harmony import */


    var _utcMinute_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./utcMinute.js */
    "./node_modules/d3-time/src/utcMinute.js");
    /* harmony import */


    var _utcHour_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./utcHour.js */
    "./node_modules/d3-time/src/utcHour.js");
    /* harmony import */


    var _utcDay_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./utcDay.js */
    "./node_modules/d3-time/src/utcDay.js");
    /* harmony import */


    var _utcWeek_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./utcWeek.js */
    "./node_modules/d3-time/src/utcWeek.js");
    /* harmony import */


    var _utcMonth_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./utcMonth.js */
    "./node_modules/d3-time/src/utcMonth.js");
    /* harmony import */


    var _utcYear_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./utcYear.js */
    "./node_modules/d3-time/src/utcYear.js");

    function ticker(year, month, week, day, hour, minute) {
      var tickIntervals = [[_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [_second_js__WEBPACK_IMPORTED_MODULE_3__["default"], 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationSecond"]], [minute, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [minute, 5, 5 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [minute, 15, 15 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [minute, 30, 30 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]], [hour, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [hour, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [hour, 6, 6 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [hour, 12, 12 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]], [day, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"]], [day, 2, 2 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"]], [week, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"]], [month, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMonth"]], [month, 3, 3 * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMonth"]], [year, 1, _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"]]];

      function ticks(start, stop, count) {
        var reverse = stop < start;

        if (reverse) {
          var _ref78 = [stop, start];
          start = _ref78[0];
          stop = _ref78[1];
        }

        var interval = count && typeof count.range === "function" ? count : tickInterval(start, stop, count);
        var ticks = interval ? interval.range(start, +stop + 1) : []; // inclusive stop

        return reverse ? ticks.reverse() : ticks;
      }

      function tickInterval(start, stop, count) {
        var target = Math.abs(stop - start) / count;
        var i = Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["bisector"])(function (_ref79) {
          var _ref80 = _slicedToArray(_ref79, 3),
              step = _ref80[2];

          return step;
        }).right(tickIntervals, target);
        if (i === tickIntervals.length) return year.every(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"], stop / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationYear"], count));
        if (i === 0) return _millisecond_js__WEBPACK_IMPORTED_MODULE_2__["default"].every(Math.max(Object(d3_array__WEBPACK_IMPORTED_MODULE_0__["tickStep"])(start, stop, count), 1));

        var _tickIntervals = _slicedToArray(tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i], 2),
            t = _tickIntervals[0],
            step = _tickIntervals[1];

        return t.every(step);
      }

      return [ticks, tickInterval];
    }

    var _ticker = ticker(_utcYear_js__WEBPACK_IMPORTED_MODULE_15__["default"], _utcMonth_js__WEBPACK_IMPORTED_MODULE_14__["default"], _utcWeek_js__WEBPACK_IMPORTED_MODULE_13__["utcSunday"], _utcDay_js__WEBPACK_IMPORTED_MODULE_12__["default"], _utcHour_js__WEBPACK_IMPORTED_MODULE_11__["default"], _utcMinute_js__WEBPACK_IMPORTED_MODULE_10__["default"]),
        _ticker2 = _slicedToArray(_ticker, 2),
        utcTicks = _ticker2[0],
        utcTickInterval = _ticker2[1];

    var _ticker3 = ticker(_year_js__WEBPACK_IMPORTED_MODULE_9__["default"], _month_js__WEBPACK_IMPORTED_MODULE_8__["default"], _week_js__WEBPACK_IMPORTED_MODULE_7__["sunday"], _day_js__WEBPACK_IMPORTED_MODULE_6__["default"], _hour_js__WEBPACK_IMPORTED_MODULE_5__["default"], _minute_js__WEBPACK_IMPORTED_MODULE_4__["default"]),
        _ticker4 = _slicedToArray(_ticker3, 2),
        timeTicks = _ticker4[0],
        timeTickInterval = _ticker4[1];
    /***/

  },

  /***/
  "./node_modules/d3-time/src/utcDay.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-time/src/utcDay.js ***!
    \********************************************/

  /*! exports provided: default, utcDays */

  /***/
  function node_modulesD3TimeSrcUtcDayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcDays", function () {
      return utcDays;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var utcDay = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCDate(date.getUTCDate() + step);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationDay"];
    }, function (date) {
      return date.getUTCDate() - 1;
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcDay;
    var utcDays = utcDay.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/utcHour.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-time/src/utcHour.js ***!
    \*********************************************/

  /*! exports provided: default, utcHours */

  /***/
  function node_modulesD3TimeSrcUtcHourJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcHours", function () {
      return utcHours;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var utcHour = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCMinutes(0, 0, 0);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationHour"];
    }, function (date) {
      return date.getUTCHours();
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcHour;
    var utcHours = utcHour.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/utcMinute.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-time/src/utcMinute.js ***!
    \***********************************************/

  /*! exports provided: default, utcMinutes */

  /***/
  function node_modulesD3TimeSrcUtcMinuteJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMinutes", function () {
      return utcMinutes;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    var utcMinute = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCSeconds(0, 0);
    }, function (date, step) {
      date.setTime(+date + step * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]);
    }, function (start, end) {
      return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"];
    }, function (date) {
      return date.getUTCMinutes();
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcMinute;
    var utcMinutes = utcMinute.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/utcMonth.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-time/src/utcMonth.js ***!
    \**********************************************/

  /*! exports provided: default, utcMonths */

  /***/
  function node_modulesD3TimeSrcUtcMonthJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMonths", function () {
      return utcMonths;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");

    var utcMonth = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCDate(1);
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCMonth(date.getUTCMonth() + step);
    }, function (start, end) {
      return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;
    }, function (date) {
      return date.getUTCMonth();
    });
    /* harmony default export */

    __webpack_exports__["default"] = utcMonth;
    var utcMonths = utcMonth.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/utcWeek.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-time/src/utcWeek.js ***!
    \*********************************************/

  /*! exports provided: utcSunday, utcMonday, utcTuesday, utcWednesday, utcThursday, utcFriday, utcSaturday, utcSundays, utcMondays, utcTuesdays, utcWednesdays, utcThursdays, utcFridays, utcSaturdays */

  /***/
  function node_modulesD3TimeSrcUtcWeekJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSunday", function () {
      return utcSunday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMonday", function () {
      return utcMonday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcTuesday", function () {
      return utcTuesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcWednesday", function () {
      return utcWednesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcThursday", function () {
      return utcThursday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcFriday", function () {
      return utcFriday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSaturday", function () {
      return utcSaturday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSundays", function () {
      return utcSundays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcMondays", function () {
      return utcMondays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcTuesdays", function () {
      return utcTuesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcWednesdays", function () {
      return utcWednesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcThursdays", function () {
      return utcThursdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcFridays", function () {
      return utcFridays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcSaturdays", function () {
      return utcSaturdays;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    function utcWeekday(i) {
      return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCDate(date.getUTCDate() + step * 7);
      }, function (start, end) {
        return (end - start) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
      });
    }

    var utcSunday = utcWeekday(0);
    var utcMonday = utcWeekday(1);
    var utcTuesday = utcWeekday(2);
    var utcWednesday = utcWeekday(3);
    var utcThursday = utcWeekday(4);
    var utcFriday = utcWeekday(5);
    var utcSaturday = utcWeekday(6);
    var utcSundays = utcSunday.range;
    var utcMondays = utcMonday.range;
    var utcTuesdays = utcTuesday.range;
    var utcWednesdays = utcWednesday.range;
    var utcThursdays = utcThursday.range;
    var utcFridays = utcFriday.range;
    var utcSaturdays = utcSaturday.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/utcYear.js":
  /*!*********************************************!*\
    !*** ./node_modules/d3-time/src/utcYear.js ***!
    \*********************************************/

  /*! exports provided: default, utcYears */

  /***/
  function node_modulesD3TimeSrcUtcYearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "utcYears", function () {
      return utcYears;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");

    var utcYear = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setUTCMonth(0, 1);
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCFullYear(date.getUTCFullYear() + step);
    }, function (start, end) {
      return end.getUTCFullYear() - start.getUTCFullYear();
    }, function (date) {
      return date.getUTCFullYear();
    }); // An optimized implementation for this simple case.

    utcYear.every = function (k) {
      return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);
        date.setUTCMonth(0, 1);
        date.setUTCHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setUTCFullYear(date.getUTCFullYear() + step * k);
      });
    };
    /* harmony default export */


    __webpack_exports__["default"] = utcYear;
    var utcYears = utcYear.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/week.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-time/src/week.js ***!
    \******************************************/

  /*! exports provided: sunday, monday, tuesday, wednesday, thursday, friday, saturday, sundays, mondays, tuesdays, wednesdays, thursdays, fridays, saturdays */

  /***/
  function node_modulesD3TimeSrcWeekJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sunday", function () {
      return sunday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "monday", function () {
      return monday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tuesday", function () {
      return tuesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "wednesday", function () {
      return wednesday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "thursday", function () {
      return thursday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "friday", function () {
      return friday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "saturday", function () {
      return saturday;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "sundays", function () {
      return sundays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "mondays", function () {
      return mondays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tuesdays", function () {
      return tuesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "wednesdays", function () {
      return wednesdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "thursdays", function () {
      return thursdays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "fridays", function () {
      return fridays;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "saturdays", function () {
      return saturdays;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-time/src/duration.js");

    function weekday(i) {
      return Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setDate(date.getDate() + step * 7);
      }, function (start, end) {
        return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationMinute"]) / _duration_js__WEBPACK_IMPORTED_MODULE_1__["durationWeek"];
      });
    }

    var sunday = weekday(0);
    var monday = weekday(1);
    var tuesday = weekday(2);
    var wednesday = weekday(3);
    var thursday = weekday(4);
    var friday = weekday(5);
    var saturday = weekday(6);
    var sundays = sunday.range;
    var mondays = monday.range;
    var tuesdays = tuesday.range;
    var wednesdays = wednesday.range;
    var thursdays = thursday.range;
    var fridays = friday.range;
    var saturdays = saturday.range;
    /***/
  },

  /***/
  "./node_modules/d3-time/src/year.js":
  /*!******************************************!*\
    !*** ./node_modules/d3-time/src/year.js ***!
    \******************************************/

  /*! exports provided: default, years */

  /***/
  function node_modulesD3TimeSrcYearJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "years", function () {
      return years;
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-time/src/interval.js");

    var year = Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
      date.setMonth(0, 1);
      date.setHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setFullYear(date.getFullYear() + step);
    }, function (start, end) {
      return end.getFullYear() - start.getFullYear();
    }, function (date) {
      return date.getFullYear();
    }); // An optimized implementation for this simple case.

    year.every = function (k) {
      return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : Object(_interval_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function (date) {
        date.setFullYear(Math.floor(date.getFullYear() / k) * k);
        date.setMonth(0, 1);
        date.setHours(0, 0, 0, 0);
      }, function (date, step) {
        date.setFullYear(date.getFullYear() + step * k);
      });
    };
    /* harmony default export */


    __webpack_exports__["default"] = year;
    var years = year.range;
    /***/
  },

  /***/
  "./node_modules/d3-timer/src/index.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-timer/src/index.js ***!
    \********************************************/

  /*! exports provided: now, timer, timerFlush, timeout, interval */

  /***/
  function node_modulesD3TimerSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./timer.js */
    "./node_modules/d3-timer/src/timer.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "now", function () {
      return _timer_js__WEBPACK_IMPORTED_MODULE_0__["now"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timer", function () {
      return _timer_js__WEBPACK_IMPORTED_MODULE_0__["timer"];
    });
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timerFlush", function () {
      return _timer_js__WEBPACK_IMPORTED_MODULE_0__["timerFlush"];
    });
    /* harmony import */


    var _timeout_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./timeout.js */
    "./node_modules/d3-timer/src/timeout.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "timeout", function () {
      return _timeout_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _interval_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./interval.js */
    "./node_modules/d3-timer/src/interval.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interval", function () {
      return _interval_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-timer/src/interval.js":
  /*!***********************************************!*\
    !*** ./node_modules/d3-timer/src/interval.js ***!
    \***********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TimerSrcIntervalJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./timer.js */
    "./node_modules/d3-timer/src/timer.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (callback, delay, time) {
      var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__["Timer"](),
          total = delay;
      if (delay == null) return t.restart(callback, delay, time), t;
      delay = +delay, time = time == null ? Object(_timer_js__WEBPACK_IMPORTED_MODULE_0__["now"])() : +time;
      t.restart(function tick(elapsed) {
        elapsed += total;
        t.restart(tick, total += delay, time);
        callback(elapsed);
      }, delay, time);
      return t;
    };
    /***/

  },

  /***/
  "./node_modules/d3-timer/src/timeout.js":
  /*!**********************************************!*\
    !*** ./node_modules/d3-timer/src/timeout.js ***!
    \**********************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TimerSrcTimeoutJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _timer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./timer.js */
    "./node_modules/d3-timer/src/timer.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (callback, delay, time) {
      var t = new _timer_js__WEBPACK_IMPORTED_MODULE_0__["Timer"]();
      delay = delay == null ? 0 : +delay;
      t.restart(function (elapsed) {
        t.stop();
        callback(elapsed + delay);
      }, delay, time);
      return t;
    };
    /***/

  },

  /***/
  "./node_modules/d3-timer/src/timer.js":
  /*!********************************************!*\
    !*** ./node_modules/d3-timer/src/timer.js ***!
    \********************************************/

  /*! exports provided: now, Timer, timer, timerFlush */

  /***/
  function node_modulesD3TimerSrcTimerJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "now", function () {
      return now;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Timer", function () {
      return Timer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "timer", function () {
      return timer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "timerFlush", function () {
      return timerFlush;
    });

    var frame = 0,
        // is an animation frame pending?
    timeout = 0,
        // is a timeout pending?
    interval = 0,
        // are any timers active?
    pokeDelay = 1000,
        // how frequently we check for clock skew
    taskHead,
        taskTail,
        clockLast = 0,
        clockNow = 0,
        clockSkew = 0,
        clock = typeof performance === "object" && performance.now ? performance : Date,
        setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f) {
      setTimeout(f, 17);
    };

    function now() {
      return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);
    }

    function clearNow() {
      clockNow = 0;
    }

    function Timer() {
      this._call = this._time = this._next = null;
    }

    Timer.prototype = timer.prototype = {
      constructor: Timer,
      restart: function restart(callback, delay, time) {
        if (typeof callback !== "function") throw new TypeError("callback is not a function");
        time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);

        if (!this._next && taskTail !== this) {
          if (taskTail) taskTail._next = this;else taskHead = this;
          taskTail = this;
        }

        this._call = callback;
        this._time = time;
        sleep();
      },
      stop: function stop() {
        if (this._call) {
          this._call = null;
          this._time = Infinity;
          sleep();
        }
      }
    };

    function timer(callback, delay, time) {
      var t = new Timer();
      t.restart(callback, delay, time);
      return t;
    }

    function timerFlush() {
      now(); // Get the current time, if not already set.

      ++frame; // Pretend we’ve set an alarm, if we haven’t already.

      var t = taskHead,
          e;

      while (t) {
        if ((e = clockNow - t._time) >= 0) t._call.call(null, e);
        t = t._next;
      }

      --frame;
    }

    function wake() {
      clockNow = (clockLast = clock.now()) + clockSkew;
      frame = timeout = 0;

      try {
        timerFlush();
      } finally {
        frame = 0;
        nap();
        clockNow = 0;
      }
    }

    function poke() {
      var now = clock.now(),
          delay = now - clockLast;
      if (delay > pokeDelay) clockSkew -= delay, clockLast = now;
    }

    function nap() {
      var t0,
          t1 = taskHead,
          t2,
          time = Infinity;

      while (t1) {
        if (t1._call) {
          if (time > t1._time) time = t1._time;
          t0 = t1, t1 = t1._next;
        } else {
          t2 = t1._next, t1._next = null;
          t1 = t0 ? t0._next = t2 : taskHead = t2;
        }
      }

      taskTail = t0;
      sleep(time);
    }

    function sleep(time) {
      if (frame) return; // Soonest alarm already set, or will be.

      if (timeout) timeout = clearTimeout(timeout);
      var delay = time - clockNow; // Strictly less than if we recomputed clockNow.

      if (delay > 24) {
        if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);
        if (interval) interval = clearInterval(interval);
      } else {
        if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);
        frame = 1, setFrame(wake);
      }
    }
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/active.js":
  /*!**************************************************!*\
    !*** ./node_modules/d3-transition/src/active.js ***!
    \**************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcActiveJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _transition_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./transition/index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony import */


    var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./transition/schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");

    var root = [null];
    /* harmony default export */

    __webpack_exports__["default"] = function (node, name) {
      var schedules = node.__transition,
          schedule,
          i;

      if (schedules) {
        name = name == null ? null : name + "";

        for (i in schedules) {
          if ((schedule = schedules[i]).state > _transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__["SCHEDULED"] && schedule.name === name) {
            return new _transition_index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"]([[node]], root, name, +i);
          }
        }
      }

      return null;
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/index.js":
  /*!*************************************************!*\
    !*** ./node_modules/d3-transition/src/index.js ***!
    \*************************************************/

  /*! exports provided: transition, active, interrupt */

  /***/
  function node_modulesD3TransitionSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _selection_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./selection/index.js */
    "./node_modules/d3-transition/src/selection/index.js");
    /* harmony import */


    var _transition_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./transition/index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "transition", function () {
      return _transition_index_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    });
    /* harmony import */


    var _active_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./active.js */
    "./node_modules/d3-transition/src/active.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "active", function () {
      return _active_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    });
    /* harmony import */


    var _interrupt_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./interrupt.js */
    "./node_modules/d3-transition/src/interrupt.js");
    /* harmony reexport (safe) */


    __webpack_require__.d(__webpack_exports__, "interrupt", function () {
      return _interrupt_js__WEBPACK_IMPORTED_MODULE_3__["default"];
    });
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/interrupt.js":
  /*!*****************************************************!*\
    !*** ./node_modules/d3-transition/src/interrupt.js ***!
    \*****************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcInterruptJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./transition/schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (node, name) {
      var schedules = node.__transition,
          schedule,
          active,
          empty = true,
          i;
      if (!schedules) return;
      name = name == null ? null : name + "";

      for (i in schedules) {
        if ((schedule = schedules[i]).name !== name) {
          empty = false;
          continue;
        }

        active = schedule.state > _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__["STARTING"] && schedule.state < _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__["ENDING"];
        schedule.state = _transition_schedule_js__WEBPACK_IMPORTED_MODULE_0__["ENDED"];
        schedule.timer.stop();
        schedule.on.call(active ? "interrupt" : "cancel", node, node.__data__, schedule.index, schedule.group);
        delete schedules[i];
      }

      if (empty) delete node.__transition;
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/selection/index.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-transition/src/selection/index.js ***!
    \***********************************************************/

  /*! no exports provided */

  /***/
  function node_modulesD3TransitionSrcSelectionIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _interrupt_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./interrupt.js */
    "./node_modules/d3-transition/src/selection/interrupt.js");
    /* harmony import */


    var _transition_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./transition.js */
    "./node_modules/d3-transition/src/selection/transition.js");

    d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype.interrupt = _interrupt_js__WEBPACK_IMPORTED_MODULE_1__["default"];
    d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype.transition = _transition_js__WEBPACK_IMPORTED_MODULE_2__["default"];
    /***/
  },

  /***/
  "./node_modules/d3-transition/src/selection/interrupt.js":
  /*!***************************************************************!*\
    !*** ./node_modules/d3-transition/src/selection/interrupt.js ***!
    \***************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcSelectionInterruptJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _interrupt_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../interrupt.js */
    "./node_modules/d3-transition/src/interrupt.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (name) {
      return this.each(function () {
        Object(_interrupt_js__WEBPACK_IMPORTED_MODULE_0__["default"])(this, name);
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/selection/transition.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-transition/src/selection/transition.js ***!
    \****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcSelectionTransitionJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _transition_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../transition/index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony import */


    var _transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../transition/schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony import */


    var d3_ease__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! d3-ease */
    "./node_modules/d3-ease/src/index.js");
    /* harmony import */


    var d3_timer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! d3-timer */
    "./node_modules/d3-timer/src/index.js");

    var defaultTiming = {
      time: null,
      // Set on use.
      delay: 0,
      duration: 250,
      ease: d3_ease__WEBPACK_IMPORTED_MODULE_2__["easeCubicInOut"]
    };

    function inherit(node, id) {
      var timing;

      while (!(timing = node.__transition) || !(timing = timing[id])) {
        if (!(node = node.parentNode)) {
          return defaultTiming.time = Object(d3_timer__WEBPACK_IMPORTED_MODULE_3__["now"])(), defaultTiming;
        }
      }

      return timing;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name) {
      var id, timing;

      if (name instanceof _transition_index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"]) {
        id = name._id, name = name._name;
      } else {
        id = Object(_transition_index_js__WEBPACK_IMPORTED_MODULE_0__["newId"])(), (timing = defaultTiming).time = Object(d3_timer__WEBPACK_IMPORTED_MODULE_3__["now"])(), name = name == null ? null : name + "";
      }

      for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
          if (node = group[i]) {
            Object(_transition_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, name, id, i, group, timing || inherit(node, id));
          }
        }
      }

      return new _transition_index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"](groups, this._parents, name, id);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/attr.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/attr.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionAttrJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _tween_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./tween.js */
    "./node_modules/d3-transition/src/transition/tween.js");
    /* harmony import */


    var _interpolate_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./interpolate.js */
    "./node_modules/d3-transition/src/transition/interpolate.js");

    function attrRemove(name) {
      return function () {
        this.removeAttribute(name);
      };
    }

    function attrRemoveNS(fullname) {
      return function () {
        this.removeAttributeNS(fullname.space, fullname.local);
      };
    }

    function attrConstant(name, interpolate, value1) {
      var string00,
          string1 = value1 + "",
          interpolate0;
      return function () {
        var string0 = this.getAttribute(name);
        return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1);
      };
    }

    function attrConstantNS(fullname, interpolate, value1) {
      var string00,
          string1 = value1 + "",
          interpolate0;
      return function () {
        var string0 = this.getAttributeNS(fullname.space, fullname.local);
        return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1);
      };
    }

    function attrFunction(name, interpolate, value) {
      var string00, string10, interpolate0;
      return function () {
        var string0,
            value1 = value(this),
            string1;
        if (value1 == null) return void this.removeAttribute(name);
        string0 = this.getAttribute(name);
        string1 = value1 + "";
        return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
      };
    }

    function attrFunctionNS(fullname, interpolate, value) {
      var string00, string10, interpolate0;
      return function () {
        var string0,
            value1 = value(this),
            string1;
        if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);
        string0 = this.getAttributeNS(fullname.space, fullname.local);
        string1 = value1 + "";
        return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value) {
      var fullname = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["namespace"])(name),
          i = fullname === "transform" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateTransformSvg"] : _interpolate_js__WEBPACK_IMPORTED_MODULE_3__["default"];
      return this.attrTween(name, typeof value === "function" ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, Object(_tween_js__WEBPACK_IMPORTED_MODULE_2__["tweenValue"])(this, "attr." + name, value)) : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname) : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/attrTween.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/attrTween.js ***!
    \****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionAttrTweenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");

    function attrInterpolate(name, i) {
      return function (t) {
        this.setAttribute(name, i.call(this, t));
      };
    }

    function attrInterpolateNS(fullname, i) {
      return function (t) {
        this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));
      };
    }

    function attrTweenNS(fullname, value) {
      var t0, i0;

      function tween() {
        var i = value.apply(this, arguments);
        if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);
        return t0;
      }

      tween._value = value;
      return tween;
    }

    function attrTween(name, value) {
      var t0, i0;

      function tween() {
        var i = value.apply(this, arguments);
        if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);
        return t0;
      }

      tween._value = value;
      return tween;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value) {
      var key = "attr." + name;
      if (arguments.length < 2) return (key = this.tween(key)) && key._value;
      if (value == null) return this.tween(key, null);
      if (typeof value !== "function") throw new Error();
      var fullname = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["namespace"])(name);
      return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/delay.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/delay.js ***!
    \************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionDelayJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");

    function delayFunction(id, value) {
      return function () {
        Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["init"])(this, id).delay = +value.apply(this, arguments);
      };
    }

    function delayConstant(id, value) {
      return value = +value, function () {
        Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["init"])(this, id).delay = value;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      var id = this._id;
      return arguments.length ? this.each((typeof value === "function" ? delayFunction : delayConstant)(id, value)) : Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).delay;
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/duration.js":
  /*!***************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/duration.js ***!
    \***************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionDurationJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");

    function durationFunction(id, value) {
      return function () {
        Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id).duration = +value.apply(this, arguments);
      };
    }

    function durationConstant(id, value) {
      return value = +value, function () {
        Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id).duration = value;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      var id = this._id;
      return arguments.length ? this.each((typeof value === "function" ? durationFunction : durationConstant)(id, value)) : Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).duration;
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/ease.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/ease.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionEaseJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");

    function easeConstant(id, value) {
      if (typeof value !== "function") throw new Error();
      return function () {
        Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id).ease = value;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      var id = this._id;
      return arguments.length ? this.each(easeConstant(id, value)) : Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).ease;
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/end.js":
  /*!**********************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/end.js ***!
    \**********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionEndJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var on0,
          on1,
          that = this,
          id = that._id,
          size = that.size();
      return new Promise(function (resolve, reject) {
        var cancel = {
          value: reject
        },
            end = {
          value: function value() {
            if (--size === 0) resolve();
          }
        };
        that.each(function () {
          var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id),
              on = schedule.on; // If this node shared a dispatch with the previous node,
          // just assign the updated shared dispatch and we’re done!
          // Otherwise, copy-on-write.

          if (on !== on0) {
            on1 = (on0 = on).copy();

            on1._.cancel.push(cancel);

            on1._.interrupt.push(cancel);

            on1._.end.push(end);
          }

          schedule.on = on1;
        });
      });
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/filter.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/filter.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionFilterJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (match) {
      if (typeof match !== "function") match = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["matcher"])(match);

      for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {
          if ((node = group[i]) && match.call(node, node.__data__, i, group)) {
            subgroup.push(node);
          }
        }
      }

      return new _index_js__WEBPACK_IMPORTED_MODULE_1__["Transition"](subgroups, this._parents, this._name, this._id);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/index.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/index.js ***!
    \************************************************************/

  /*! exports provided: Transition, default, newId */

  /***/
  function node_modulesD3TransitionSrcTransitionIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Transition", function () {
      return Transition;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "default", function () {
      return transition;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "newId", function () {
      return newId;
    });
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _attr_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./attr.js */
    "./node_modules/d3-transition/src/transition/attr.js");
    /* harmony import */


    var _attrTween_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./attrTween.js */
    "./node_modules/d3-transition/src/transition/attrTween.js");
    /* harmony import */


    var _delay_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./delay.js */
    "./node_modules/d3-transition/src/transition/delay.js");
    /* harmony import */


    var _duration_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./duration.js */
    "./node_modules/d3-transition/src/transition/duration.js");
    /* harmony import */


    var _ease_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./ease.js */
    "./node_modules/d3-transition/src/transition/ease.js");
    /* harmony import */


    var _filter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./filter.js */
    "./node_modules/d3-transition/src/transition/filter.js");
    /* harmony import */


    var _merge_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./merge.js */
    "./node_modules/d3-transition/src/transition/merge.js");
    /* harmony import */


    var _on_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./on.js */
    "./node_modules/d3-transition/src/transition/on.js");
    /* harmony import */


    var _remove_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./remove.js */
    "./node_modules/d3-transition/src/transition/remove.js");
    /* harmony import */


    var _select_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./select.js */
    "./node_modules/d3-transition/src/transition/select.js");
    /* harmony import */


    var _selectAll_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./selectAll.js */
    "./node_modules/d3-transition/src/transition/selectAll.js");
    /* harmony import */


    var _selection_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./selection.js */
    "./node_modules/d3-transition/src/transition/selection.js");
    /* harmony import */


    var _style_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./style.js */
    "./node_modules/d3-transition/src/transition/style.js");
    /* harmony import */


    var _styleTween_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./styleTween.js */
    "./node_modules/d3-transition/src/transition/styleTween.js");
    /* harmony import */


    var _text_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./text.js */
    "./node_modules/d3-transition/src/transition/text.js");
    /* harmony import */


    var _textTween_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./textTween.js */
    "./node_modules/d3-transition/src/transition/textTween.js");
    /* harmony import */


    var _transition_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./transition.js */
    "./node_modules/d3-transition/src/transition/transition.js");
    /* harmony import */


    var _tween_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./tween.js */
    "./node_modules/d3-transition/src/transition/tween.js");
    /* harmony import */


    var _end_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./end.js */
    "./node_modules/d3-transition/src/transition/end.js");

    var id = 0;

    function Transition(groups, parents, name, id) {
      this._groups = groups;
      this._parents = parents;
      this._name = name;
      this._id = id;
    }

    function transition(name) {
      return Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"])().transition(name);
    }

    function newId() {
      return ++id;
    }

    var selection_prototype = d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype;
    Transition.prototype = transition.prototype = {
      constructor: Transition,
      select: _select_js__WEBPACK_IMPORTED_MODULE_10__["default"],
      selectAll: _selectAll_js__WEBPACK_IMPORTED_MODULE_11__["default"],
      filter: _filter_js__WEBPACK_IMPORTED_MODULE_6__["default"],
      merge: _merge_js__WEBPACK_IMPORTED_MODULE_7__["default"],
      selection: _selection_js__WEBPACK_IMPORTED_MODULE_12__["default"],
      transition: _transition_js__WEBPACK_IMPORTED_MODULE_17__["default"],
      call: selection_prototype.call,
      nodes: selection_prototype.nodes,
      node: selection_prototype.node,
      size: selection_prototype.size,
      empty: selection_prototype.empty,
      each: selection_prototype.each,
      on: _on_js__WEBPACK_IMPORTED_MODULE_8__["default"],
      attr: _attr_js__WEBPACK_IMPORTED_MODULE_1__["default"],
      attrTween: _attrTween_js__WEBPACK_IMPORTED_MODULE_2__["default"],
      style: _style_js__WEBPACK_IMPORTED_MODULE_13__["default"],
      styleTween: _styleTween_js__WEBPACK_IMPORTED_MODULE_14__["default"],
      text: _text_js__WEBPACK_IMPORTED_MODULE_15__["default"],
      textTween: _textTween_js__WEBPACK_IMPORTED_MODULE_16__["default"],
      remove: _remove_js__WEBPACK_IMPORTED_MODULE_9__["default"],
      tween: _tween_js__WEBPACK_IMPORTED_MODULE_18__["default"],
      delay: _delay_js__WEBPACK_IMPORTED_MODULE_3__["default"],
      duration: _duration_js__WEBPACK_IMPORTED_MODULE_4__["default"],
      ease: _ease_js__WEBPACK_IMPORTED_MODULE_5__["default"],
      end: _end_js__WEBPACK_IMPORTED_MODULE_19__["default"]
    };
    /***/
  },

  /***/
  "./node_modules/d3-transition/src/transition/interpolate.js":
  /*!******************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/interpolate.js ***!
    \******************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionInterpolateJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_color__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-color */
    "./node_modules/d3-color/src/index.js");
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (a, b) {
      var c;
      return (typeof b === "number" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateNumber"] : b instanceof d3_color__WEBPACK_IMPORTED_MODULE_0__["color"] ? d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateRgb"] : (c = Object(d3_color__WEBPACK_IMPORTED_MODULE_0__["color"])(b)) ? (b = c, d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateRgb"]) : d3_interpolate__WEBPACK_IMPORTED_MODULE_1__["interpolateString"])(a, b);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/merge.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/merge.js ***!
    \************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionMergeJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (transition) {
      if (transition._id !== this._id) throw new Error();

      for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {
        for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {
          if (node = group0[i] || group1[i]) {
            merge[i] = node;
          }
        }
      }

      for (; j < m0; ++j) {
        merges[j] = groups0[j];
      }

      return new _index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"](merges, this._parents, this._name, this._id);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/on.js":
  /*!*********************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/on.js ***!
    \*********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionOnJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");

    function start(name) {
      return (name + "").trim().split(/^|\s+/).every(function (t) {
        var i = t.indexOf(".");
        if (i >= 0) t = t.slice(0, i);
        return !t || t === "start";
      });
    }

    function onFunction(id, name, listener) {
      var on0,
          on1,
          sit = start(name) ? _schedule_js__WEBPACK_IMPORTED_MODULE_0__["init"] : _schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"];
      return function () {
        var schedule = sit(this, id),
            on = schedule.on; // If this node shared a dispatch with the previous node,
        // just assign the updated shared dispatch and we’re done!
        // Otherwise, copy-on-write.

        if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);
        schedule.on = on1;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, listener) {
      var id = this._id;
      return arguments.length < 2 ? Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).on.on(name) : this.each(onFunction(id, name, listener));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/remove.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/remove.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionRemoveJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function removeFunction(id) {
      return function () {
        var parent = this.parentNode;

        for (var i in this.__transition) if (+i !== id) return;

        if (parent) parent.removeChild(this);
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      return this.on("end.remove", removeFunction(this._id));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/schedule.js":
  /*!***************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/schedule.js ***!
    \***************************************************************/

  /*! exports provided: CREATED, SCHEDULED, STARTING, STARTED, RUNNING, ENDING, ENDED, default, init, set, get */

  /***/
  function node_modulesD3TransitionSrcTransitionScheduleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CREATED", function () {
      return CREATED;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SCHEDULED", function () {
      return SCHEDULED;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "STARTING", function () {
      return STARTING;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "STARTED", function () {
      return STARTED;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RUNNING", function () {
      return RUNNING;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ENDING", function () {
      return ENDING;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ENDED", function () {
      return ENDED;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "init", function () {
      return init;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "set", function () {
      return set;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "get", function () {
      return get;
    });
    /* harmony import */


    var d3_dispatch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-dispatch */
    "./node_modules/d3-dispatch/src/index.js");
    /* harmony import */


    var d3_timer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-timer */
    "./node_modules/d3-timer/src/index.js");

    var emptyOn = Object(d3_dispatch__WEBPACK_IMPORTED_MODULE_0__["dispatch"])("start", "end", "cancel", "interrupt");
    var emptyTween = [];
    var CREATED = 0;
    var SCHEDULED = 1;
    var STARTING = 2;
    var STARTED = 3;
    var RUNNING = 4;
    var ENDING = 5;
    var ENDED = 6;
    /* harmony default export */

    __webpack_exports__["default"] = function (node, name, id, index, group, timing) {
      var schedules = node.__transition;
      if (!schedules) node.__transition = {};else if (id in schedules) return;
      create(node, id, {
        name: name,
        index: index,
        // For context during callback.
        group: group,
        // For context during callback.
        on: emptyOn,
        tween: emptyTween,
        time: timing.time,
        delay: timing.delay,
        duration: timing.duration,
        ease: timing.ease,
        timer: null,
        state: CREATED
      });
    };

    function init(node, id) {
      var schedule = get(node, id);
      if (schedule.state > CREATED) throw new Error("too late; already scheduled");
      return schedule;
    }

    function set(node, id) {
      var schedule = get(node, id);
      if (schedule.state > STARTED) throw new Error("too late; already running");
      return schedule;
    }

    function get(node, id) {
      var schedule = node.__transition;
      if (!schedule || !(schedule = schedule[id])) throw new Error("transition not found");
      return schedule;
    }

    function create(node, id, self) {
      var schedules = node.__transition,
          tween; // Initialize the self timer when the transition is created.
      // Note the actual delay is not known until the first callback!

      schedules[id] = self;
      self.timer = Object(d3_timer__WEBPACK_IMPORTED_MODULE_1__["timer"])(schedule, 0, self.time);

      function schedule(elapsed) {
        self.state = SCHEDULED;
        self.timer.restart(start, self.delay, self.time); // If the elapsed delay is less than our first sleep, start immediately.

        if (self.delay <= elapsed) start(elapsed - self.delay);
      }

      function start(elapsed) {
        var i, j, n, o; // If the state is not SCHEDULED, then we previously errored on start.

        if (self.state !== SCHEDULED) return stop();

        for (i in schedules) {
          o = schedules[i];
          if (o.name !== self.name) continue; // While this element already has a starting transition during this frame,
          // defer starting an interrupting transition until that transition has a
          // chance to tick (and possibly end); see d3/d3-transition#54!

          if (o.state === STARTED) return Object(d3_timer__WEBPACK_IMPORTED_MODULE_1__["timeout"])(start); // Interrupt the active transition, if any.

          if (o.state === RUNNING) {
            o.state = ENDED;
            o.timer.stop();
            o.on.call("interrupt", node, node.__data__, o.index, o.group);
            delete schedules[i];
          } // Cancel any pre-empted transitions.
          else if (+i < id) {
            o.state = ENDED;
            o.timer.stop();
            o.on.call("cancel", node, node.__data__, o.index, o.group);
            delete schedules[i];
          }
        } // Defer the first tick to end of the current frame; see d3/d3#1576.
        // Note the transition may be canceled after start and before the first tick!
        // Note this must be scheduled before the start event; see d3/d3-transition#16!
        // Assuming this is successful, subsequent callbacks go straight to tick.


        Object(d3_timer__WEBPACK_IMPORTED_MODULE_1__["timeout"])(function () {
          if (self.state === STARTED) {
            self.state = RUNNING;
            self.timer.restart(tick, self.delay, self.time);
            tick(elapsed);
          }
        }); // Dispatch the start event.
        // Note this must be done before the tween are initialized.

        self.state = STARTING;
        self.on.call("start", node, node.__data__, self.index, self.group);
        if (self.state !== STARTING) return; // interrupted

        self.state = STARTED; // Initialize the tween, deleting null tween.

        tween = new Array(n = self.tween.length);

        for (i = 0, j = -1; i < n; ++i) {
          if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {
            tween[++j] = o;
          }
        }

        tween.length = j + 1;
      }

      function tick(elapsed) {
        var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),
            i = -1,
            n = tween.length;

        while (++i < n) {
          tween[i].call(node, t);
        } // Dispatch the end event.


        if (self.state === ENDING) {
          self.on.call("end", node, node.__data__, self.index, self.group);
          stop();
        }
      }

      function stop() {
        self.state = ENDED;
        self.timer.stop();
        delete schedules[id];

        for (var i in schedules) return; // eslint-disable-line no-unused-vars


        delete node.__transition;
      }
    }
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/select.js":
  /*!*************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/select.js ***!
    \*************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionSelectJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (select) {
      var name = this._name,
          id = this._id;
      if (typeof select !== "function") select = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["selector"])(select);

      for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {
          if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {
            if ("__data__" in node) subnode.__data__ = node.__data__;
            subgroup[i] = subnode;
            Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["default"])(subgroup[i], name, id, i, subgroup, Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["get"])(node, id));
          }
        }
      }

      return new _index_js__WEBPACK_IMPORTED_MODULE_1__["Transition"](subgroups, this._parents, name, id);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/selectAll.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/selectAll.js ***!
    \****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionSelectAllJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony default export */


    __webpack_exports__["default"] = function (select) {
      var name = this._name,
          id = this._id;
      if (typeof select !== "function") select = Object(d3_selection__WEBPACK_IMPORTED_MODULE_0__["selectorAll"])(select);

      for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
          if (node = group[i]) {
            for (var children = select.call(node, node.__data__, i, group), child, inherit = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["get"])(node, id), k = 0, l = children.length; k < l; ++k) {
              if (child = children[k]) {
                Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["default"])(child, name, id, k, children, inherit);
              }
            }

            subgroups.push(children);
            parents.push(node);
          }
        }
      }

      return new _index_js__WEBPACK_IMPORTED_MODULE_1__["Transition"](subgroups, parents, name, id);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/selection.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/selection.js ***!
    \****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionSelectionJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");

    var Selection = d3_selection__WEBPACK_IMPORTED_MODULE_0__["selection"].prototype.constructor;
    /* harmony default export */

    __webpack_exports__["default"] = function () {
      return new Selection(this._groups, this._parents);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/style.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/style.js ***!
    \************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionStyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var d3_interpolate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! d3-interpolate */
    "./node_modules/d3-interpolate/src/index.js");
    /* harmony import */


    var d3_selection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! d3-selection */
    "./node_modules/d3-selection/src/index.js");
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony import */


    var _tween_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./tween.js */
    "./node_modules/d3-transition/src/transition/tween.js");
    /* harmony import */


    var _interpolate_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./interpolate.js */
    "./node_modules/d3-transition/src/transition/interpolate.js");

    function styleNull(name, interpolate) {
      var string00, string10, interpolate0;
      return function () {
        var string0 = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name),
            string1 = (this.style.removeProperty(name), Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name));
        return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : interpolate0 = interpolate(string00 = string0, string10 = string1);
      };
    }

    function styleRemove(name) {
      return function () {
        this.style.removeProperty(name);
      };
    }

    function styleConstant(name, interpolate, value1) {
      var string00,
          string1 = value1 + "",
          interpolate0;
      return function () {
        var string0 = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name);
        return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1);
      };
    }

    function styleFunction(name, interpolate, value) {
      var string00, string10, interpolate0;
      return function () {
        var string0 = Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name),
            value1 = value(this),
            string1 = value1 + "";
        if (value1 == null) string1 = value1 = (this.style.removeProperty(name), Object(d3_selection__WEBPACK_IMPORTED_MODULE_1__["style"])(this, name));
        return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));
      };
    }

    function styleMaybeRemove(id, name) {
      var on0,
          on1,
          listener0,
          key = "style." + name,
          event = "end." + key,
          remove;
      return function () {
        var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_2__["set"])(this, id),
            on = schedule.on,
            listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined; // If this node shared a dispatch with the previous node,
        // just assign the updated shared dispatch and we’re done!
        // Otherwise, copy-on-write.

        if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);
        schedule.on = on1;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value, priority) {
      var i = (name += "") === "transform" ? d3_interpolate__WEBPACK_IMPORTED_MODULE_0__["interpolateTransformCss"] : _interpolate_js__WEBPACK_IMPORTED_MODULE_4__["default"];
      return value == null ? this.styleTween(name, styleNull(name, i)).on("end.style." + name, styleRemove(name)) : typeof value === "function" ? this.styleTween(name, styleFunction(name, i, Object(_tween_js__WEBPACK_IMPORTED_MODULE_3__["tweenValue"])(this, "style." + name, value))).each(styleMaybeRemove(this._id, name)) : this.styleTween(name, styleConstant(name, i, value), priority).on("end.style." + name, null);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/styleTween.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/styleTween.js ***!
    \*****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionStyleTweenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function styleInterpolate(name, i, priority) {
      return function (t) {
        this.style.setProperty(name, i.call(this, t), priority);
      };
    }

    function styleTween(name, value, priority) {
      var t, i0;

      function tween() {
        var i = value.apply(this, arguments);
        if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);
        return t;
      }

      tween._value = value;
      return tween;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value, priority) {
      var key = "style." + (name += "");
      if (arguments.length < 2) return (key = this.tween(key)) && key._value;
      if (value == null) return this.tween(key, null);
      if (typeof value !== "function") throw new Error();
      return this.tween(key, styleTween(name, value, priority == null ? "" : priority));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/text.js":
  /*!***********************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/text.js ***!
    \***********************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionTextJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _tween_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tween.js */
    "./node_modules/d3-transition/src/transition/tween.js");

    function textConstant(value) {
      return function () {
        this.textContent = value;
      };
    }

    function textFunction(value) {
      return function () {
        var value1 = value(this);
        this.textContent = value1 == null ? "" : value1;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      return this.tween("text", typeof value === "function" ? textFunction(Object(_tween_js__WEBPACK_IMPORTED_MODULE_0__["tweenValue"])(this, "text", value)) : textConstant(value == null ? "" : value + ""));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/textTween.js":
  /*!****************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/textTween.js ***!
    \****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionTextTweenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);

    function textInterpolate(i) {
      return function (t) {
        this.textContent = i.call(this, t);
      };
    }

    function textTween(value) {
      var t0, i0;

      function tween() {
        var i = value.apply(this, arguments);
        if (i !== i0) t0 = (i0 = i) && textInterpolate(i);
        return t0;
      }

      tween._value = value;
      return tween;
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (value) {
      var key = "text";
      if (arguments.length < 1) return (key = this.tween(key)) && key._value;
      if (value == null) return this.tween(key, null);
      if (typeof value !== "function") throw new Error();
      return this.tween(key, textTween(value));
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/transition.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/transition.js ***!
    \*****************************************************************/

  /*! exports provided: default */

  /***/
  function node_modulesD3TransitionSrcTransitionTransitionJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony import */


    var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./index.js */
    "./node_modules/d3-transition/src/transition/index.js");
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");
    /* harmony default export */


    __webpack_exports__["default"] = function () {
      var name = this._name,
          id0 = this._id,
          id1 = Object(_index_js__WEBPACK_IMPORTED_MODULE_0__["newId"])();

      for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {
        for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {
          if (node = group[i]) {
            var inherit = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_1__["get"])(node, id0);
            Object(_schedule_js__WEBPACK_IMPORTED_MODULE_1__["default"])(node, name, id1, i, group, {
              time: inherit.time + inherit.delay + inherit.duration,
              delay: 0,
              duration: inherit.duration,
              ease: inherit.ease
            });
          }
        }
      }

      return new _index_js__WEBPACK_IMPORTED_MODULE_0__["Transition"](groups, this._parents, name, id1);
    };
    /***/

  },

  /***/
  "./node_modules/d3-transition/src/transition/tween.js":
  /*!************************************************************!*\
    !*** ./node_modules/d3-transition/src/transition/tween.js ***!
    \************************************************************/

  /*! exports provided: default, tweenValue */

  /***/
  function node_modulesD3TransitionSrcTransitionTweenJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "tweenValue", function () {
      return tweenValue;
    });
    /* harmony import */


    var _schedule_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./schedule.js */
    "./node_modules/d3-transition/src/transition/schedule.js");

    function tweenRemove(id, name) {
      var tween0, tween1;
      return function () {
        var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id),
            tween = schedule.tween; // If this node shared tween with the previous node,
        // just assign the updated shared tween and we’re done!
        // Otherwise, copy-on-write.

        if (tween !== tween0) {
          tween1 = tween0 = tween;

          for (var i = 0, n = tween1.length; i < n; ++i) {
            if (tween1[i].name === name) {
              tween1 = tween1.slice();
              tween1.splice(i, 1);
              break;
            }
          }
        }

        schedule.tween = tween1;
      };
    }

    function tweenFunction(id, name, value) {
      var tween0, tween1;
      if (typeof value !== "function") throw new Error();
      return function () {
        var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id),
            tween = schedule.tween; // If this node shared tween with the previous node,
        // just assign the updated shared tween and we’re done!
        // Otherwise, copy-on-write.

        if (tween !== tween0) {
          tween1 = (tween0 = tween).slice();

          for (var t = {
            name: name,
            value: value
          }, i = 0, n = tween1.length; i < n; ++i) {
            if (tween1[i].name === name) {
              tween1[i] = t;
              break;
            }
          }

          if (i === n) tween1.push(t);
        }

        schedule.tween = tween1;
      };
    }
    /* harmony default export */


    __webpack_exports__["default"] = function (name, value) {
      var id = this._id;
      name += "";

      if (arguments.length < 2) {
        var tween = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(this.node(), id).tween;

        for (var i = 0, n = tween.length, t; i < n; ++i) {
          if ((t = tween[i]).name === name) {
            return t.value;
          }
        }

        return null;
      }

      return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));
    };

    function tweenValue(transition, name, value) {
      var id = transition._id;
      transition.each(function () {
        var schedule = Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["set"])(this, id);
        (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);
      });
      return function (node) {
        return Object(_schedule_js__WEBPACK_IMPORTED_MODULE_0__["get"])(node, id).value[name];
      };
    }
    /***/

  },

  /***/
  "./node_modules/dojo-webpack-plugin/lib/NoModule.js":
  /*!**********************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/lib/NoModule.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLibNoModuleJs(module, exports) {
    /*
     * (C) Copyright IBM Corp. 2012, 2016 All Rights Reserved.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    module.exports = undefined;
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/basemaps.js":
  /*!*********************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/nls/basemaps.js ***!
    \*********************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiNlsBasemapsJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/nls/vi/basemaps */
    "./node_modules/arcgis-js-api/nls/vi/basemaps.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/nls/basemaps.js?absMid=esri/nls/basemaps */
    "./node_modules/arcgis-js-api/nls/basemaps.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/nls/basemaps", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/nls/common.js":
  /*!*******************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/nls/common.js ***!
    \*******************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiNlsCommonJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/nls/vi/common */
    "./node_modules/arcgis-js-api/nls/vi/common.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/nls/common.js?absMid=esri/nls/common */
    "./node_modules/arcgis-js-api/nls/common.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/nls/common", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js":
  /*!********************************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js ***!
    \********************************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsAttributionNlsAttributionJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Attribution/nls/vi/Attribution */
    "./node_modules/arcgis-js-api/widgets/Attribution/nls/vi/Attribution.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js?absMid=esri/widgets/Attribution/nls/Attribution */
    "./node_modules/arcgis-js-api/widgets/Attribution/nls/Attribution.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Attribution/nls/Attribution", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js":
  /*!************************************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js ***!
    \************************************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsBasemapToggleNlsBasemapToggleJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/BasemapToggle/nls/vi/BasemapToggle */
    "./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/vi/BasemapToggle.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js?absMid=esri/widgets/BasemapToggle/nls/BasemapToggle */
    "./node_modules/arcgis-js-api/widgets/BasemapToggle/nls/BasemapToggle.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/BasemapToggle/nls/BasemapToggle", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js":
  /*!************************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js ***!
    \************************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsCompassNlsCompassJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Compass/nls/vi/Compass */
    "./node_modules/arcgis-js-api/widgets/Compass/nls/vi/Compass.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js?absMid=esri/widgets/Compass/nls/Compass */
    "./node_modules/arcgis-js-api/widgets/Compass/nls/Compass.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Compass/nls/Compass", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js":
  /*!**********************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js ***!
    \**********************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsExpandNlsExpandJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Expand/nls/vi/Expand */
    "./node_modules/arcgis-js-api/widgets/Expand/nls/vi/Expand.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js?absMid=esri/widgets/Expand/nls/Expand */
    "./node_modules/arcgis-js-api/widgets/Expand/nls/Expand.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Expand/nls/Expand", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Home/nls/Home.js":
  /*!******************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Home/nls/Home.js ***!
    \******************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsHomeNlsHomeJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Home/nls/vi/Home */
    "./node_modules/arcgis-js-api/widgets/Home/nls/vi/Home.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Home/nls/Home.js?absMid=esri/widgets/Home/nls/Home */
    "./node_modules/arcgis-js-api/widgets/Home/nls/Home.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Home/nls/Home", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js":
  /*!****************************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js ***!
    \****************************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsLayerListNlsLayerListJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/LayerList/nls/vi/LayerList */
    "./node_modules/arcgis-js-api/widgets/LayerList/nls/vi/LayerList.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js?absMid=esri/widgets/LayerList/nls/LayerList */
    "./node_modules/arcgis-js-api/widgets/LayerList/nls/LayerList.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/LayerList/nls/LayerList", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js":
  /*!**********************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js ***!
    \**********************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsLegendNlsLegendJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Legend/nls/vi/Legend */
    "./node_modules/arcgis-js-api/widgets/Legend/nls/vi/Legend.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js?absMid=esri/widgets/Legend/nls/Legend */
    "./node_modules/arcgis-js-api/widgets/Legend/nls/Legend.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Legend/nls/Legend", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js":
  /*!**********************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js ***!
    \**********************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsLocateNlsLocateJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Locate/nls/vi/Locate */
    "./node_modules/arcgis-js-api/widgets/Locate/nls/vi/Locate.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js?absMid=esri/widgets/Locate/nls/Locate */
    "./node_modules/arcgis-js-api/widgets/Locate/nls/Locate.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Locate/nls/Locate", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js":
  /*!********************************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js ***!
    \********************************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsMeasurementNlsMeasurementJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Measurement/nls/vi/Measurement */
    "./node_modules/arcgis-js-api/widgets/Measurement/nls/vi/Measurement.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js?absMid=esri/widgets/Measurement/nls/Measurement */
    "./node_modules/arcgis-js-api/widgets/Measurement/nls/Measurement.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Measurement/nls/Measurement", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js":
  /*!******************************************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js ***!
    \******************************************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsNavigationToggleNlsNavigationToggleJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/NavigationToggle/nls/vi/NavigationToggle */
    "./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/vi/NavigationToggle.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js?absMid=esri/widgets/NavigationToggle/nls/NavigationToggle */
    "./node_modules/arcgis-js-api/widgets/NavigationToggle/nls/NavigationToggle.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/NavigationToggle/nls/NavigationToggle", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js":
  /*!********************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js ***!
    \********************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsPopupNlsPopupJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Popup/nls/vi/Popup */
    "./node_modules/arcgis-js-api/widgets/Popup/nls/vi/Popup.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js?absMid=esri/widgets/Popup/nls/Popup */
    "./node_modules/arcgis-js-api/widgets/Popup/nls/Popup.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Popup/nls/Popup", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Print/nls/Print.js":
  /*!********************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Print/nls/Print.js ***!
    \********************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsPrintNlsPrintJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Print/nls/vi/Print */
    "./node_modules/arcgis-js-api/widgets/Print/nls/vi/Print.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Print/nls/Print.js?absMid=esri/widgets/Print/nls/Print */
    "./node_modules/arcgis-js-api/widgets/Print/nls/Print.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Print/nls/Print", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js":
  /*!******************************************************************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js ***!
    \******************************************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoI18nIndexJsNode_modulesArcgisJsApiWidgetsZoomNlsZoomJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/i18n */
    "./node_modules/dojo/i18n.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */
    "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js"), __webpack_require__(
    /*! esri/widgets/Zoom/nls/vi/Zoom */
    "./node_modules/arcgis-js-api/widgets/Zoom/nls/vi/Zoom.js"), __webpack_require__(
    /*! ./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js?absMid=esri/widgets/Zoom/nls/Zoom */
    "./node_modules/arcgis-js-api/widgets/Zoom/nls/Zoom.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (loader, runner) {
      return runner(loader, "esri/widgets/Zoom/nls/Zoom", __webpack_require__.dj.c(), false);
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWebpackPluginLoadersDojoRunnerJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
    /*
    * (C) Copyright HCL Technologies Ltd. 2019
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
    *
    *     http://www.apache.org/licenses/LICENSE-2.0
    *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
    */


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
      return function (ldr, name, req, async) {
        var resolveFn, result, resultSet;
        ldr.load(name, req, function (data) {
          result = data;
          resultSet = true;

          if (resolveFn) {
            resolveFn(data);
          }
        }, {
          isBuild: true
        });

        if (resultSet) {
          return result;
        } else if (!async) {
          throw new Error(name + ' unavailable');
        }

        result = new Promise(function (resolve) {
          resolveFn = resolve;
        });
        result.__DOJO_WEBPACK_DEFINE_PROMISE__ = true;
        return result;
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/Deferred.js":
  /*!***************************************!*\
    !*** ./node_modules/dojo/Deferred.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDeferredJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./errors/CancelError */
    "./node_modules/dojo/errors/CancelError.js"), __webpack_require__(
    /*! ./promise/Promise */
    "./node_modules/dojo/promise/Promise.js"), __webpack_require__(
    /*! ./promise/instrumentation */
    "./node_modules/dojo/promise/instrumentation.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (has, lang, CancelError, Promise, instrumentation) {
      "use strict"; // module:
      //		dojo/Deferred

      var PROGRESS = 0,
          RESOLVED = 1,
          REJECTED = 2;
      var FULFILLED_ERROR_MESSAGE = "This deferred has already been fulfilled.";

      var freezeObject = Object.freeze || function () {};

      var signalWaiting = function signalWaiting(waiting, type, result, rejection, deferred) {
        if (false) {}

        for (var i = 0; i < waiting.length; i++) {
          signalListener(waiting[i], type, result, rejection);
        }
      };

      var signalListener = function signalListener(listener, type, result, rejection) {
        var func = listener[type];
        var deferred = listener.deferred;

        if (func) {
          try {
            var newResult = func(result);

            if (type === PROGRESS) {
              if (typeof newResult !== "undefined") {
                signalDeferred(deferred, type, newResult);
              }
            } else {
              if (newResult && typeof newResult.then === "function") {
                listener.cancel = newResult.cancel;
                newResult.then( // Only make resolvers if they're actually going to be used
                makeDeferredSignaler(deferred, RESOLVED), makeDeferredSignaler(deferred, REJECTED), makeDeferredSignaler(deferred, PROGRESS));
                return;
              }

              signalDeferred(deferred, RESOLVED, newResult);
            }
          } catch (error) {
            signalDeferred(deferred, REJECTED, error);
          }
        } else {
          signalDeferred(deferred, type, result);
        }

        if (false) {}
      };

      var makeDeferredSignaler = function makeDeferredSignaler(deferred, type) {
        return function (value) {
          signalDeferred(deferred, type, value);
        };
      };

      var signalDeferred = function signalDeferred(deferred, type, result) {
        if (!deferred.isCanceled()) {
          switch (type) {
            case PROGRESS:
              deferred.progress(result);
              break;

            case RESOLVED:
              deferred.resolve(result);
              break;

            case REJECTED:
              deferred.reject(result);
              break;
          }
        }
      };

      var Deferred = function Deferred(canceler) {
        // summary:
        //		Creates a new deferred. This API is preferred over
        //		`dojo/_base/Deferred`.
        // description:
        //		Creates a new deferred, as an abstraction over (primarily)
        //		asynchronous operations. The deferred is the private interface
        //		that should not be returned to calling code. That's what the
        //		`promise` is for. See `dojo/promise/Promise`.
        // canceler: Function?
        //		Will be invoked if the deferred is canceled. The canceler
        //		receives the reason the deferred was canceled as its argument.
        //		The deferred is rejected with its return value, or a new
        //		`dojo/errors/CancelError` instance.
        // promise: dojo/promise/Promise
        //		The public promise object that clients can add callbacks to. 
        var promise = this.promise = new Promise();
        var deferred = this;
        var fulfilled, result, rejection;
        var canceled = false;
        var waiting = [];

        if (false) {}

        this.isResolved = promise.isResolved = function () {
          // summary:
          //		Checks whether the deferred has been resolved.
          // returns: Boolean
          return fulfilled === RESOLVED;
        };

        this.isRejected = promise.isRejected = function () {
          // summary:
          //		Checks whether the deferred has been rejected.
          // returns: Boolean
          return fulfilled === REJECTED;
        };

        this.isFulfilled = promise.isFulfilled = function () {
          // summary:
          //		Checks whether the deferred has been resolved or rejected.
          // returns: Boolean
          return !!fulfilled;
        };

        this.isCanceled = promise.isCanceled = function () {
          // summary:
          //		Checks whether the deferred has been canceled.
          // returns: Boolean
          return canceled;
        };

        this.progress = function (update, strict) {
          // summary:
          //		Emit a progress update on the deferred.
          // description:
          //		Emit a progress update on the deferred. Progress updates
          //		can be used to communicate updates about the asynchronous
          //		operation before it has finished.
          // update: any
          //		The progress update. Passed to progbacks.
          // strict: Boolean?
          //		If strict, will throw an error if the deferred has already
          //		been fulfilled and consequently no progress can be emitted.
          // returns: dojo/promise/Promise
          //		Returns the original promise for the deferred.
          if (!fulfilled) {
            signalWaiting(waiting, PROGRESS, update, null, deferred);
            return promise;
          } else if (strict === true) {
            throw new Error(FULFILLED_ERROR_MESSAGE);
          } else {
            return promise;
          }
        };

        this.resolve = function (value, strict) {
          // summary:
          //		Resolve the deferred.
          // description:
          //		Resolve the deferred, putting it in a success state.
          // value: any
          //		The result of the deferred. Passed to callbacks.
          // strict: Boolean?
          //		If strict, will throw an error if the deferred has already
          //		been fulfilled and consequently cannot be resolved.
          // returns: dojo/promise/Promise
          //		Returns the original promise for the deferred.
          if (!fulfilled) {
            // Set fulfilled, store value. After signaling waiting listeners unset
            // waiting.
            signalWaiting(waiting, fulfilled = RESOLVED, result = value, null, deferred);
            waiting = null;
            return promise;
          } else if (strict === true) {
            throw new Error(FULFILLED_ERROR_MESSAGE);
          } else {
            return promise;
          }
        };

        var reject = this.reject = function (error, strict) {
          // summary:
          //		Reject the deferred.
          // description:
          //		Reject the deferred, putting it in an error state.
          // error: any
          //		The error result of the deferred. Passed to errbacks.
          // strict: Boolean?
          //		If strict, will throw an error if the deferred has already
          //		been fulfilled and consequently cannot be rejected.
          // returns: dojo/promise/Promise
          //		Returns the original promise for the deferred.
          if (!fulfilled) {
            if (false) {}

            signalWaiting(waiting, fulfilled = REJECTED, result = error, rejection, deferred);
            waiting = null;
            return promise;
          } else if (strict === true) {
            throw new Error(FULFILLED_ERROR_MESSAGE);
          } else {
            return promise;
          }
        };

        this.then = promise.then = function (callback, errback, progback) {
          // summary:
          //		Add new callbacks to the deferred.
          // description:
          //		Add new callbacks to the deferred. Callbacks can be added
          //		before or after the deferred is fulfilled.
          // callback: Function?
          //		Callback to be invoked when the promise is resolved.
          //		Receives the resolution value.
          // errback: Function?
          //		Callback to be invoked when the promise is rejected.
          //		Receives the rejection error.
          // progback: Function?
          //		Callback to be invoked when the promise emits a progress
          //		update. Receives the progress update.
          // returns: dojo/promise/Promise
          //		Returns a new promise for the result of the callback(s).
          //		This can be used for chaining many asynchronous operations.
          var listener = [progback, callback, errback]; // Ensure we cancel the promise we're waiting for, or if callback/errback
          // have returned a promise, cancel that one.

          listener.cancel = promise.cancel;
          listener.deferred = new Deferred(function (reason) {
            // Check whether cancel is really available, returned promises are not
            // required to expose `cancel`
            return listener.cancel && listener.cancel(reason);
          });

          if (fulfilled && !waiting) {
            signalListener(listener, fulfilled, result, rejection);
          } else {
            waiting.push(listener);
          }

          return listener.deferred.promise;
        };

        this.cancel = promise.cancel = function (reason, strict) {
          // summary:
          //		Inform the deferred it may cancel its asynchronous operation.
          // description:
          //		Inform the deferred it may cancel its asynchronous operation.
          //		The deferred's (optional) canceler is invoked and the
          //		deferred will be left in a rejected state. Can affect other
          //		promises that originate with the same deferred.
          // reason: any
          //		A message that may be sent to the deferred's canceler,
          //		explaining why it's being canceled.
          // strict: Boolean?
          //		If strict, will throw an error if the deferred has already
          //		been fulfilled and consequently cannot be canceled.
          // returns: any
          //		Returns the rejection reason if the deferred was canceled
          //		normally.
          if (!fulfilled) {
            // Cancel can be called even after the deferred is fulfilled
            if (canceler) {
              var returnedReason = canceler(reason);
              reason = typeof returnedReason === "undefined" ? reason : returnedReason;
            }

            canceled = true;

            if (!fulfilled) {
              // Allow canceler to provide its own reason, but fall back to a CancelError
              if (typeof reason === "undefined") {
                reason = new CancelError();
              }

              reject(reason);
              return reason;
            } else if (fulfilled === REJECTED && result === reason) {
              return reason;
            }
          } else if (strict === true) {
            throw new Error(FULFILLED_ERROR_MESSAGE);
          }
        };

        freezeObject(promise);
      };

      Deferred.prototype.toString = function () {
        // returns: String
        //		Returns `[object Deferred]`.
        return "[object Deferred]";
      };

      if (instrumentation) {
        instrumentation(Deferred);
      }

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

  /***/
  "./node_modules/dojo/Evented.js":
  /*!**************************************!*\
    !*** ./node_modules/dojo/Evented.js ***!
    \**************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoEventedJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./aspect */
    "./node_modules/dojo/aspect.js"), __webpack_require__(
    /*! ./on */
    "./node_modules/dojo/on.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (aspect, _on) {
      // module:
      //		dojo/Evented
      "use strict";

      var after = aspect.after;

      function Evented() {// summary:
        //		A class that can be used as a mixin or base class,
        //		to add on() and emit() methods to a class
        //		for listening for events and emitting events:
        // example:
        //		|	define(["dojo/Evented", "dojo/_base/declare", "dojo/Stateful"
        //		|	], function(Evented, declare, Stateful){
        //		|		var EventedStateful = declare([Evented, Stateful], {...});
        //		|		var instance = new EventedStateful();
        //		|		instance.on("open", function(event){
        //		|		... do something with event
        //		|	 });
        //		|
        //		|	instance.emit("open", {name:"some event", ...});
      }

      Evented.prototype = {
        on: function on(type, listener) {
          return _on.parse(this, type, listener, function (target, type) {
            return after(target, 'on' + type, listener, true);
          });
        },
        emit: function emit(type, event) {
          var args = [this];
          args.push.apply(args, arguments);
          return _on.emit.apply(_on, args);
        }
      };
      return Evented;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/Stateful.js":
  /*!***************************************!*\
    !*** ./node_modules/dojo/Stateful.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoStatefulJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base/declare */
    "./node_modules/dojo/_base/declare.js"), __webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ./when */
    "./node_modules/dojo/when.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (declare, lang, array, when) {
      // module:
      //		dojo/Stateful
      return declare("dojo.Stateful", null, {
        // summary:
        //		Base class for objects that provide named properties with optional getter/setter
        //		control and the ability to watch for property changes
        //
        //		The class also provides the functionality to auto-magically manage getters
        //		and setters for object attributes/properties.
        //		
        //		Getters and Setters should follow the format of _xxxGetter or _xxxSetter where 
        //		the xxx is a name of the attribute to handle.  So an attribute of "foo" 
        //		would have a custom getter of _fooGetter and a custom setter of _fooSetter.
        //
        // example:
        //	|	require(["dojo/Stateful", function(Stateful) {
        //	|		var obj = new Stateful();
        //	|		obj.watch("foo", function(){
        //	|			console.log("foo changed to " + this.get("foo"));
        //	|		});
        //	|		obj.set("foo","bar");
        //	|	});
        // _attrPairNames: Hash
        //		Used across all instances a hash to cache attribute names and their getter 
        //		and setter names.
        _attrPairNames: {},
        _getAttrNames: function _getAttrNames(name) {
          // summary:
          //		Helper function for get() and set().
          //		Caches attribute name values so we don't do the string ops every time.
          // tags:
          //		private
          var apn = this._attrPairNames;

          if (apn[name]) {
            return apn[name];
          }

          return apn[name] = {
            s: "_" + name + "Setter",
            g: "_" + name + "Getter"
          };
        },
        postscript: function postscript(
        /*Object?*/
        params) {
          // Automatic setting of params during construction
          if (params) {
            this.set(params);
          }
        },
        _get: function _get(name, names) {
          // summary:
          //		Private function that does a get based off a hash of names
          // names:
          //		Hash of names of custom attributes
          return typeof this[names.g] === "function" ? this[names.g]() : this[name];
        },
        get: function get(
        /*String*/
        name) {
          // summary:
          //		Get a property on a Stateful instance.
          // name:
          //		The property to get.
          // returns:
          //		The property value on this Stateful instance.
          // description:
          //		Get a named property on a Stateful object. The property may
          //		potentially be retrieved via a getter method in subclasses. In the base class
          //		this just retrieves the object's property.
          // example:
          //	|	require(["dojo/Stateful", function(Stateful) {
          //	|		var stateful = new Stateful({foo: 3});
          //	|		stateful.get("foo") // returns 3
          //	|		stateful.foo // returns 3
          //	|	});
          return this._get(name, this._getAttrNames(name)); //Any
        },
        set: function set(
        /*String*/
        name,
        /*Object*/
        value) {
          // summary:
          //		Set a property on a Stateful instance
          // name:
          //		The property to set.
          // value:
          //		The value to set in the property.
          // returns:
          //		The function returns this dojo.Stateful instance.
          // description:
          //		Sets named properties on a stateful object and notifies any watchers of
          //		the property. A programmatic setter may be defined in subclasses.
          // example:
          //	|	require(["dojo/Stateful", function(Stateful) {
          //	|		var stateful = new Stateful();
          //	|		stateful.watch(function(name, oldValue, value){
          //	|			// this will be called on the set below
          //	|		}
          //	|		stateful.set(foo, 5);
          //	set() may also be called with a hash of name/value pairs, ex:
          //	|		stateful.set({
          //	|			foo: "Howdy",
          //	|			bar: 3
          //	|		});
          //	|	});
          //	This is equivalent to calling set(foo, "Howdy") and set(bar, 3)
          // If an object is used, iterate through object
          if (typeof name === "object") {
            for (var x in name) {
              if (name.hasOwnProperty(x) && x != "_watchCallbacks") {
                this.set(x, name[x]);
              }
            }

            return this;
          }

          var names = this._getAttrNames(name),
              oldValue = this._get(name, names),
              setter = this[names.s],
              result;

          if (typeof setter === "function") {
            // use the explicit setter
            result = setter.apply(this, Array.prototype.slice.call(arguments, 1));
          } else {
            // no setter so set attribute directly
            this[name] = value;
          }

          if (this._watchCallbacks) {
            var self = this; // If setter returned a promise, wait for it to complete, otherwise call watches immediately

            when(result, function () {
              self._watchCallbacks(name, oldValue, value);
            });
          }

          return this; // dojo/Stateful
        },
        _changeAttrValue: function _changeAttrValue(name, value) {
          // summary:
          //		Internal helper for directly changing an attribute value.
          //
          // name: String
          //		The property to set.
          // value: Mixed
          //		The value to set in the property.
          //
          // description:
          //		Directly change the value of an attribute on an object, bypassing any 
          //		accessor setter.  Also handles the calling of watch and emitting events. 
          //		It is designed to be used by descendant class when there are two values 
          //		of attributes that are linked, but calling .set() is not appropriate.
          var oldValue = this.get(name);
          this[name] = value;

          if (this._watchCallbacks) {
            this._watchCallbacks(name, oldValue, value);
          }

          return this; // dojo/Stateful
        },
        watch: function watch(
        /*String?*/
        name,
        /*Function*/
        callback) {
          // summary:
          //		Watches a property for changes
          // name:
          //		Indicates the property to watch. This is optional (the callback may be the
          //		only parameter), and if omitted, all the properties will be watched
          // returns:
          //		An object handle for the watch. The unwatch method of this object
          //		can be used to discontinue watching this property:
          //		|	var watchHandle = obj.watch("foo", callback);
          //		|	watchHandle.unwatch(); // callback won't be called now
          // callback:
          //		The function to execute when the property changes. This will be called after
          //		the property has been changed. The callback will be called with the |this|
          //		set to the instance, the first argument as the name of the property, the
          //		second argument as the old value and the third argument as the new value.
          var callbacks = this._watchCallbacks;

          if (!callbacks) {
            var self = this;

            callbacks = this._watchCallbacks = function (name, oldValue, value, ignoreCatchall) {
              var notify = function notify(propertyCallbacks) {
                if (propertyCallbacks) {
                  propertyCallbacks = propertyCallbacks.slice();

                  for (var i = 0, l = propertyCallbacks.length; i < l; i++) {
                    propertyCallbacks[i].call(self, name, oldValue, value);
                  }
                }
              };

              notify(callbacks['_' + name]);

              if (!ignoreCatchall) {
                notify(callbacks["*"]); // the catch-all
              }
            }; // we use a function instead of an object so it will be ignored by JSON conversion

          }

          if (!callback && typeof name === "function") {
            callback = name;
            name = "*";
          } else {
            // prepend with dash to prevent name conflicts with function (like "name" property)
            name = '_' + name;
          }

          var propertyCallbacks = callbacks[name];

          if (typeof propertyCallbacks !== "object") {
            propertyCallbacks = callbacks[name] = [];
          }

          propertyCallbacks.push(callback); // TODO: Remove unwatch in 2.0

          var handle = {};

          handle.unwatch = handle.remove = function () {
            var index = array.indexOf(propertyCallbacks, callback);

            if (index > -1) {
              propertyCallbacks.splice(index, 1);
            }
          };

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

  /***/
  "./node_modules/dojo/_base/Color.js":
  /*!******************************************!*\
    !*** ./node_modules/dojo/_base/Color.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseColorJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ./config */
    "./node_modules/dojo/_base/config.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, lang, ArrayUtil, config) {
      var Color = dojo.Color = function (
      /*Array|String|Object*/
      color) {
        // summary:
        //		Takes a named string, hex string, array of rgb or rgba values,
        //		an object with r, g, b, and a properties, or another `Color` object
        //		and creates a new Color instance to work from.
        //
        // example:
        //		Work with a Color instance:
        //	|	require(["dojo/_base/color"], function(Color){
        //	|		var c = new Color();
        //	|		c.setColor([0,0,0]); // black
        //	|		var hex = c.toHex(); // #000000
        //	|	});
        //
        // example:
        //		Work with a node's color:
        //	| 
        //	|	require(["dojo/_base/color", "dojo/dom-style"], function(Color, domStyle){
        //	|		var color = domStyle("someNode", "backgroundColor");
        //	|		var n = new Color(color);
        //	|		// adjust the color some
        //	|		n.r *= .5;
        //	|		console.log(n.toString()); // rgb(128, 255, 255);
        //	|	});
        if (color) {
          this.setColor(color);
        }
      }; // FIXME:
      // there's got to be a more space-efficient way to encode or discover
      // these!! Use hex?


      Color.named = {
        // summary:
        //		Dictionary list of all CSS named colors, by name. Values are 3-item arrays with corresponding RG and B values.
        "black": [0, 0, 0],
        "silver": [192, 192, 192],
        "gray": [128, 128, 128],
        "white": [255, 255, 255],
        "maroon": [128, 0, 0],
        "red": [255, 0, 0],
        "purple": [128, 0, 128],
        "fuchsia": [255, 0, 255],
        "green": [0, 128, 0],
        "lime": [0, 255, 0],
        "olive": [128, 128, 0],
        "yellow": [255, 255, 0],
        "navy": [0, 0, 128],
        "blue": [0, 0, 255],
        "teal": [0, 128, 128],
        "aqua": [0, 255, 255],
        "transparent": config.transparentColor || [0, 0, 0, 0]
      };
      lang.extend(Color, {
        r: 255,
        g: 255,
        b: 255,
        a: 1,
        _set: function _set(r, g, b, a) {
          var t = this;
          t.r = r;
          t.g = g;
          t.b = b;
          t.a = a;
        },
        setColor: function setColor(
        /*Array|String|Object*/
        color) {
          // summary:
          //		Takes a named string, hex string, array of rgb or rgba values,
          //		an object with r, g, b, and a properties, or another `Color` object
          //		and sets this color instance to that value.
          //
          // example:
          //	|	require(["dojo/_base/color"], function(Color){
          //	|		var c = new Color(); // no color
          //	|		c.setColor("#ededed"); // greyish
          //	|	});
          if (lang.isString(color)) {
            Color.fromString(color, this);
          } else if (lang.isArray(color)) {
            Color.fromArray(color, this);
          } else {
            this._set(color.r, color.g, color.b, color.a);

            if (!(color instanceof Color)) {
              this.sanitize();
            }
          }

          return this; // Color
        },
        sanitize: function sanitize() {
          // summary:
          //		Ensures the object has correct attributes
          // description:
          //		the default implementation does nothing, include dojo.colors to
          //		augment it with real checks
          return this; // Color
        },
        toRgb: function toRgb() {
          // summary:
          //		Returns 3 component array of rgb values
          // example:
          //	|	require(["dojo/_base/color"], function(Color){
          //	|		var c = new Color("#000000");
          //	|		console.log(c.toRgb()); // [0,0,0]
          //	|	});
          var t = this;
          return [t.r, t.g, t.b]; // Array
        },
        toRgba: function toRgba() {
          // summary:
          //		Returns a 4 component array of rgba values from the color
          //		represented by this object.
          var t = this;
          return [t.r, t.g, t.b, t.a]; // Array
        },
        toHex: function toHex() {
          // summary:
          //		Returns a CSS color string in hexadecimal representation
          // example:
          //	|	require(["dojo/_base/color"], function(Color){
          //	|		console.log(new Color([0,0,0]).toHex()); // #000000
          //	|	});
          var arr = ArrayUtil.map(["r", "g", "b"], function (x) {
            var s = this[x].toString(16);
            return s.length < 2 ? "0" + s : s;
          }, this);
          return "#" + arr.join(""); // String
        },
        toCss: function toCss(
        /*Boolean?*/
        includeAlpha) {
          // summary:
          //		Returns a css color string in rgb(a) representation
          // example:
          //	|	require(["dojo/_base/color"], function(Color){
          //	|		var c = new Color("#FFF").toCss();
          //	|		console.log(c); // rgb('255','255','255')
          //	|	});
          var t = this,
              rgb = t.r + ", " + t.g + ", " + t.b;
          return (includeAlpha ? "rgba(" + rgb + ", " + t.a : "rgb(" + rgb) + ")"; // String
        },
        toString: function toString() {
          // summary:
          //		Returns a visual representation of the color
          return this.toCss(true); // String
        }
      });

      Color.blendColors = dojo.blendColors = function (
      /*Color*/
      start,
      /*Color*/
      end,
      /*Number*/
      weight,
      /*Color?*/
      obj) {
        // summary:
        //		Blend colors end and start with weight from 0 to 1, 0.5 being a 50/50 blend,
        //		can reuse a previously allocated Color object for the result
        var t = obj || new Color();
        t.r = Math.round(start.r + (end.r - start.r) * weight);
        t.g = Math.round(start.g + (end.g - start.g) * weight);
        t.b = Math.round(start.b + (end.b - start.b) * weight);
        t.a = start.a + (end.a - start.a) * weight;
        return t.sanitize(); // Color
      };

      Color.fromRgb = dojo.colorFromRgb = function (
      /*String*/
      color,
      /*Color?*/
      obj) {
        // summary:
        //		Returns a `Color` instance from a string of the form
        //		"rgb(...)" or "rgba(...)". Optionally accepts a `Color`
        //		object to update with the parsed value and return instead of
        //		creating a new object.
        // returns:
        //		A Color object. If obj is passed, it will be the return value.
        var m = color.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);
        return m && Color.fromArray(m[1].split(/\s*,\s*/), obj); // Color
      };

      Color.fromHex = dojo.colorFromHex = function (
      /*String*/
      color,
      /*Color?*/
      obj) {
        // summary:
        //		Converts a hex string with a '#' prefix to a color object.
        //		Supports 12-bit #rgb shorthand. Optionally accepts a
        //		`Color` object to update with the parsed value.
        //
        // returns:
        //		A Color object. If obj is passed, it will be the return value.
        //
        // example:
        //	|	require(["dojo/_base/color"], function(Color){
        //	|		var thing = new Color().fromHex("#ededed"); // grey, longhand
        //	|		var thing2 = new Color().fromHex("#000"); // black, shorthand
        //	|	});
        var t = obj || new Color(),
            bits = color.length == 4 ? 4 : 8,
            mask = (1 << bits) - 1;
        color = Number("0x" + color.substr(1));

        if (isNaN(color)) {
          return null; // Color
        }

        ArrayUtil.forEach(["b", "g", "r"], function (x) {
          var c = color & mask;
          color >>= bits;
          t[x] = bits == 4 ? 17 * c : c;
        });
        t.a = 1;
        return t; // Color
      };

      Color.fromArray = dojo.colorFromArray = function (
      /*Array*/
      a,
      /*Color?*/
      obj) {
        // summary:
        //		Builds a `Color` from a 3 or 4 element array, mapping each
        //		element in sequence to the rgb(a) values of the color.
        // example:
        //		|	require(["dojo/_base/color"], function(Color){
        //		|		var myColor = new Color().fromArray([237,237,237,0.5]); // grey, 50% alpha
        //		|	});
        // returns:
        //		A Color object. If obj is passed, it will be the return value.
        var t = obj || new Color();

        t._set(Number(a[0]), Number(a[1]), Number(a[2]), Number(a[3]));

        if (isNaN(t.a)) {
          t.a = 1;
        }

        return t.sanitize(); // Color
      };

      Color.fromString = dojo.colorFromString = function (
      /*String*/
      str,
      /*Color?*/
      obj) {
        // summary:
        //		Parses `str` for a color value. Accepts hex, rgb, and rgba
        //		style color values.
        // description:
        //		Acceptable input values for str may include arrays of any form
        //		accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or
        //		rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10,
        //		10, 50)"
        // returns:
        //		A Color object. If obj is passed, it will be the return value.
        var a = Color.named[str];
        return a && Color.fromArray(a, obj) || Color.fromRgb(str, obj) || Color.fromHex(str, obj); // Color
      };

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

  /***/
  "./node_modules/dojo/_base/Deferred.js":
  /*!*********************************************!*\
    !*** ./node_modules/dojo/_base/Deferred.js ***!
    \*********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseDeferredJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../Deferred */
    "./node_modules/dojo/Deferred.js"), __webpack_require__(
    /*! ../promise/Promise */
    "./node_modules/dojo/promise/Promise.js"), __webpack_require__(
    /*! ../errors/CancelError */
    "./node_modules/dojo/errors/CancelError.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../when */
    "./node_modules/dojo/when.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, NewDeferred, Promise, CancelError, has, lang, when) {
      // module:
      //		dojo/_base/Deferred
      var mutator = function mutator() {};

      var freeze = Object.freeze || function () {}; // A deferred provides an API for creating and resolving a promise.


      var Deferred = dojo.Deferred = function (
      /*Function?*/
      canceller) {
        // summary:
        //		Deprecated.   This module defines the legacy dojo/_base/Deferred API.
        //		New code should use dojo/Deferred instead.
        // description:
        //		The Deferred API is based on the concept of promises that provide a
        //		generic interface into the eventual completion of an asynchronous action.
        //		The motivation for promises fundamentally is about creating a
        //		separation of concerns that allows one to achieve the same type of
        //		call patterns and logical data flow in asynchronous code as can be
        //		achieved in synchronous code. Promises allows one
        //		to be able to call a function purely with arguments needed for
        //		execution, without conflating the call with concerns of whether it is
        //		sync or async. One shouldn't need to alter a call's arguments if the
        //		implementation switches from sync to async (or vice versa). By having
        //		async functions return promises, the concerns of making the call are
        //		separated from the concerns of asynchronous interaction (which are
        //		handled by the promise).
        //
        //		The Deferred is a type of promise that provides methods for fulfilling the
        //		promise with a successful result or an error. The most important method for
        //		working with Dojo's promises is the then() method, which follows the
        //		CommonJS proposed promise API. An example of using a Dojo promise:
        //
        //		|	var resultingPromise = someAsyncOperation.then(function(result){
        //		|		... handle result ...
        //		|	},
        //		|	function(error){
        //		|		... handle error ...
        //		|	});
        //
        //		The .then() call returns a new promise that represents the result of the
        //		execution of the callback. The callbacks will never affect the original promises value.
        //
        //		The Deferred instances also provide the following functions for backwards compatibility:
        //
        //		- addCallback(handler)
        //		- addErrback(handler)
        //		- callback(result)
        //		- errback(result)
        //
        //		Callbacks are allowed to return promises themselves, so
        //		you can build complicated sequences of events with ease.
        //
        //		The creator of the Deferred may specify a canceller.  The canceller
        //		is a function that will be called if Deferred.cancel is called
        //		before the Deferred fires. You can use this to implement clean
        //		aborting of an XMLHttpRequest, etc. Note that cancel will fire the
        //		deferred with a CancelledError (unless your canceller returns
        //		another kind of error), so the errbacks should be prepared to
        //		handle that error for cancellable Deferreds.
        // example:
        //	|	var deferred = new Deferred();
        //	|	setTimeout(function(){ deferred.callback({success: true}); }, 1000);
        //	|	return deferred;
        // example:
        //		Deferred objects are often used when making code asynchronous. It
        //		may be easiest to write functions in a synchronous manner and then
        //		split code using a deferred to trigger a response to a long-lived
        //		operation. For example, instead of register a callback function to
        //		denote when a rendering operation completes, the function can
        //		simply return a deferred:
        //
        //		|	// callback style:
        //		|	function renderLotsOfData(data, callback){
        //		|		var success = false
        //		|		try{
        //		|			for(var x in data){
        //		|				renderDataitem(data[x]);
        //		|			}
        //		|			success = true;
        //		|		}catch(e){ }
        //		|		if(callback){
        //		|			callback(success);
        //		|		}
        //		|	}
        //
        //		|	// using callback style
        //		|	renderLotsOfData(someDataObj, function(success){
        //		|		// handles success or failure
        //		|		if(!success){
        //		|			promptUserToRecover();
        //		|		}
        //		|	});
        //		|	// NOTE: no way to add another callback here!!
        // example:
        //		Using a Deferred doesn't simplify the sending code any, but it
        //		provides a standard interface for callers and senders alike,
        //		providing both with a simple way to service multiple callbacks for
        //		an operation and freeing both sides from worrying about details
        //		such as "did this get called already?". With Deferreds, new
        //		callbacks can be added at any time.
        //
        //		|	// Deferred style:
        //		|	function renderLotsOfData(data){
        //		|		var d = new Deferred();
        //		|		try{
        //		|			for(var x in data){
        //		|				renderDataitem(data[x]);
        //		|			}
        //		|			d.callback(true);
        //		|		}catch(e){
        //		|			d.errback(new Error("rendering failed"));
        //		|		}
        //		|		return d;
        //		|	}
        //
        //		|	// using Deferred style
        //		|	renderLotsOfData(someDataObj).then(null, function(){
        //		|		promptUserToRecover();
        //		|	});
        //		|	// NOTE: addErrback and addCallback both return the Deferred
        //		|	// again, so we could chain adding callbacks or save the
        //		|	// deferred for later should we need to be notified again.
        // example:
        //		In this example, renderLotsOfData is synchronous and so both
        //		versions are pretty artificial. Putting the data display on a
        //		timeout helps show why Deferreds rock:
        //
        //		|	// Deferred style and async func
        //		|	function renderLotsOfData(data){
        //		|		var d = new Deferred();
        //		|		setTimeout(function(){
        //		|			try{
        //		|				for(var x in data){
        //		|					renderDataitem(data[x]);
        //		|				}
        //		|				d.callback(true);
        //		|			}catch(e){
        //		|				d.errback(new Error("rendering failed"));
        //		|			}
        //		|		}, 100);
        //		|		return d;
        //		|	}
        //
        //		|	// using Deferred style
        //		|	renderLotsOfData(someDataObj).then(null, function(){
        //		|		promptUserToRecover();
        //		|	});
        //
        //		Note that the caller doesn't have to change his code at all to
        //		handle the asynchronous case.
        var result, finished, canceled, fired, isError, head, nextListener;
        var promise = this.promise = new Promise();

        function complete(value) {
          if (finished) {
            throw new Error("This deferred has already been resolved");
          }

          result = value;
          finished = true;
          notify();
        }

        function notify() {
          var mutated;

          while (!mutated && nextListener) {
            var listener = nextListener;
            nextListener = nextListener.next;

            if (mutated = listener.progress == mutator) {
              // assignment and check
              finished = false;
            }

            var func = isError ? listener.error : listener.resolved;

            if (has("config-useDeferredInstrumentation")) {
              if (isError && NewDeferred.instrumentRejected) {
                NewDeferred.instrumentRejected(result, !!func);
              }
            }

            if (func) {
              try {
                var newResult = func(result);

                if (newResult && typeof newResult.then === "function") {
                  newResult.then(lang.hitch(listener.deferred, "resolve"), lang.hitch(listener.deferred, "reject"), lang.hitch(listener.deferred, "progress"));
                  continue;
                }

                var unchanged = mutated && newResult === undefined;

                if (mutated && !unchanged) {
                  isError = newResult instanceof Error;
                }

                listener.deferred[unchanged && isError ? "reject" : "resolve"](unchanged ? result : newResult);
              } catch (e) {
                listener.deferred.reject(e);
              }
            } else {
              if (isError) {
                listener.deferred.reject(result);
              } else {
                listener.deferred.resolve(result);
              }
            }
          }
        }

        this.isResolved = promise.isResolved = function () {
          // summary:
          //		Checks whether the deferred has been resolved.
          // returns: Boolean
          return fired == 0;
        };

        this.isRejected = promise.isRejected = function () {
          // summary:
          //		Checks whether the deferred has been rejected.
          // returns: Boolean
          return fired == 1;
        };

        this.isFulfilled = promise.isFulfilled = function () {
          // summary:
          //		Checks whether the deferred has been resolved or rejected.
          // returns: Boolean
          return fired >= 0;
        };

        this.isCanceled = promise.isCanceled = function () {
          // summary:
          //		Checks whether the deferred has been canceled.
          // returns: Boolean
          return canceled;
        }; // calling resolve will resolve the promise


        this.resolve = this.callback = function (value) {
          // summary:
          //		Fulfills the Deferred instance successfully with the provide value
          this.fired = fired = 0;
          this.results = [value, null];
          complete(value);
        }; // calling error will indicate that the promise failed


        this.reject = this.errback = function (error) {
          // summary:
          //		Fulfills the Deferred instance as an error with the provided error
          isError = true;
          this.fired = fired = 1;

          if (has("config-useDeferredInstrumentation")) {
            if (NewDeferred.instrumentRejected) {
              NewDeferred.instrumentRejected(error, !!nextListener);
            }
          }

          complete(error);
          this.results = [null, error];
        }; // call progress to provide updates on the progress on the completion of the promise


        this.progress = function (update) {
          // summary:
          //		Send progress events to all listeners
          var listener = nextListener;

          while (listener) {
            var progress = listener.progress;
            progress && progress(update);
            listener = listener.next;
          }
        };

        this.addCallbacks = function (callback, errback) {
          // summary:
          //		Adds callback and error callback for this deferred instance.
          // callback: Function?
          //		The callback attached to this deferred object.
          // errback: Function?
          //		The error callback attached to this deferred object.
          // returns:
          //		Returns this deferred object.
          this.then(callback, errback, mutator);
          return this; // Deferred
        }; // provide the implementation of the promise


        promise.then = this.then = function (
        /*Function?*/
        resolvedCallback,
        /*Function?*/
        errorCallback,
        /*Function?*/
        progressCallback) {
          // summary:
          //		Adds a fulfilledHandler, errorHandler, and progressHandler to be called for
          //		completion of a promise. The fulfilledHandler is called when the promise
          //		is fulfilled. The errorHandler is called when a promise fails. The
          //		progressHandler is called for progress events. All arguments are optional
          //		and non-function values are ignored. The progressHandler is not only an
          //		optional argument, but progress events are purely optional. Promise
          //		providers are not required to ever create progress events.
          //
          //		This function will return a new promise that is fulfilled when the given
          //		fulfilledHandler or errorHandler callback is finished. This allows promise
          //		operations to be chained together. The value returned from the callback
          //		handler is the fulfillment value for the returned promise. If the callback
          //		throws an error, the returned promise will be moved to failed state.
          //
          // returns:
          //		Returns a new promise that represents the result of the
          //		execution of the callback. The callbacks will never affect the original promises value.
          // example:
          //		An example of using a CommonJS compliant promise:
          //		|	asyncComputeTheAnswerToEverything().
          //		|		then(addTwo).
          //		|		then(printResult, onError);
          //		|	>44
          //
          var returnDeferred = progressCallback == mutator ? this : new Deferred(promise.cancel);
          var listener = {
            resolved: resolvedCallback,
            error: errorCallback,
            progress: progressCallback,
            deferred: returnDeferred
          };

          if (nextListener) {
            head = head.next = listener;
          } else {
            nextListener = head = listener;
          }

          if (finished) {
            notify();
          }

          return returnDeferred.promise; // Promise
        };

        var deferred = this;

        promise.cancel = this.cancel = function () {
          // summary:
          //		Cancels the asynchronous operation
          if (!finished) {
            var error = canceller && canceller(deferred);

            if (!finished) {
              if (!(error instanceof Error)) {
                error = new CancelError(error);
              }

              error.log = false;
              deferred.reject(error);
            }
          }

          canceled = true;
        };

        freeze(promise);
      };

      lang.extend(Deferred, {
        addCallback: function addCallback(
        /*Function*/
        callback) {
          // summary:
          //		Adds successful callback for this deferred instance.
          // returns:
          //		Returns this deferred object.
          return this.addCallbacks(lang.hitch.apply(dojo, arguments)); // Deferred
        },
        addErrback: function addErrback(
        /*Function*/
        errback) {
          // summary:
          //		Adds error callback for this deferred instance.
          // returns:
          //		Returns this deferred object.
          return this.addCallbacks(null, lang.hitch.apply(dojo, arguments)); // Deferred
        },
        addBoth: function addBoth(
        /*Function*/
        callback) {
          // summary:
          //		Add handler as both successful callback and error callback for this deferred instance.
          // returns:
          //		Returns this deferred object.
          var enclosed = lang.hitch.apply(dojo, arguments);
          return this.addCallbacks(enclosed, enclosed); // Deferred
        },
        fired: -1
      });
      Deferred.when = dojo.when = when;
      return Deferred;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/array.js":
  /*!******************************************!*\
    !*** ./node_modules/dojo/_base/array.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseArrayJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, has, lang) {
      // module:
      //		dojo/_base/array
      // our old simple function builder stuff
      var cache = {},
          u;

      function buildFn(fn) {
        return cache[fn] = new Function("item", "index", "array", fn); // Function
      } // magic snippet: if(typeof fn == "string") fn = cache[fn] || buildFn(fn);
      // every & some


      function everyOrSome(some) {
        var every = !some;
        return function (a, fn, o) {
          var i = 0,
              l = a && a.length || 0,
              result;
          if (l && typeof a == "string") a = a.split("");
          if (typeof fn == "string") fn = cache[fn] || buildFn(fn);

          if (o) {
            for (; i < l; ++i) {
              result = !fn.call(o, a[i], i, a);

              if (some ^ result) {
                return !result;
              }
            }
          } else {
            for (; i < l; ++i) {
              result = !fn(a[i], i, a);

              if (some ^ result) {
                return !result;
              }
            }
          }

          return every; // Boolean
        };
      } // indexOf, lastIndexOf


      function index(up) {
        var delta = 1,
            lOver = 0,
            uOver = 0;

        if (!up) {
          delta = lOver = uOver = -1;
        }

        return function (a, x, from, last) {
          if (last && delta > 0) {
            // TODO: why do we use a non-standard signature? why do we need "last"?
            return array.lastIndexOf(a, x, from);
          }

          var l = a && a.length || 0,
              end = up ? l + uOver : lOver,
              i;

          if (from === u) {
            i = up ? lOver : l + uOver;
          } else {
            if (from < 0) {
              i = l + from;

              if (i < 0) {
                i = lOver;
              }
            } else {
              i = from >= l ? l + uOver : from;
            }
          }

          if (l && typeof a == "string") a = a.split("");

          for (; i != end; i += delta) {
            if (a[i] == x) {
              return i; // Number
            }
          }

          return -1; // Number
        };
      }

      var array = {
        // summary:
        //		The Javascript v1.6 array extensions.
        every: everyOrSome(false),

        /*=====
         every: function(arr, callback, thisObject){
        	 // summary:
        	 //		Determines whether or not every item in arr satisfies the
        	 //		condition implemented by callback.
        	 // arr: Array|String
        	 //		the array to iterate on. If a string, operates on individual characters.
        	 // callback: Function|String
        	 //		a function is invoked with three arguments: item, index,
        	 //		and array and returns true if the condition is met.
        	 // thisObject: Object?
        	 //		may be used to scope the call to callback
        	 // returns: Boolean
        	 // description:
        	 //		This function corresponds to the JavaScript 1.6 Array.every() method, with one difference: when
        	 //		run over sparse arrays, this implementation passes the "holes" in the sparse array to
        	 //		the callback function with a value of undefined. JavaScript 1.6's every skips the holes in the sparse array.
        	 //		For more details, see:
        	 //		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/every
        	 // example:
        	 //	|	// returns false
        	 //	|	array.every([1, 2, 3, 4], function(item){ return item>1; });
        	 // example:
        	 //	|	// returns true
        	 //	|	array.every([1, 2, 3, 4], function(item){ return item>0; });
         },
         =====*/
        some: everyOrSome(true),

        /*=====
        some: function(arr, callback, thisObject){
        	// summary:
        	//		Determines whether or not any item in arr satisfies the
        	//		condition implemented by callback.
        	// arr: Array|String
        	//		the array to iterate over. If a string, operates on individual characters.
        	// callback: Function|String
        	//		a function is invoked with three arguments: item, index,
        	//		and array and returns true if the condition is met.
        	// thisObject: Object?
        	//		may be used to scope the call to callback
        	// returns: Boolean
        	// description:
        	//		This function corresponds to the JavaScript 1.6 Array.some() method, with one difference: when
        	//		run over sparse arrays, this implementation passes the "holes" in the sparse array to
        	//		the callback function with a value of undefined. JavaScript 1.6's some skips the holes in the sparse array.
        	//		For more details, see:
        	//		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/some
        	// example:
        	//	| // is true
        	//	| array.some([1, 2, 3, 4], function(item){ return item>1; });
        	// example:
        	//	| // is false
        	//	| array.some([1, 2, 3, 4], function(item){ return item<1; });
        },
        =====*/
        indexOf: index(true),

        /*=====
        indexOf: function(arr, value, fromIndex, findLast){
        	// summary:
        	//		locates the first index of the provided value in the
        	//		passed array. If the value is not found, -1 is returned.
        	// description:
        	//		This method corresponds to the JavaScript 1.6 Array.indexOf method, with two differences:
        	//
        	//		1. when run over sparse arrays, the Dojo function invokes the callback for every index
        	//		   whereas JavaScript 1.6's indexOf skips the holes in the sparse array.
        	//		2. uses equality (==) rather than strict equality (===)
        	//
        	//		For details on this method, see:
        	//		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/indexOf
        	// arr: Array
        	// value: Object
        	// fromIndex: Integer?
        	// findLast: Boolean?
        	//		Makes indexOf() work like lastIndexOf().  Used internally; not meant for external usage.
        	// returns: Number
        },
        =====*/
        lastIndexOf: index(false),

        /*=====
        lastIndexOf: function(arr, value, fromIndex){
        	// summary:
        	//		locates the last index of the provided value in the passed
        	//		array. If the value is not found, -1 is returned.
        	// description:
         	//		This method corresponds to the JavaScript 1.6 Array.lastIndexOf method, with two differences:
         	//
         	//		1. when run over sparse arrays, the Dojo function invokes the callback for every index
         	//		   whereas JavaScript 1.6's lasIndexOf skips the holes in the sparse array.
         	//		2. uses equality (==) rather than strict equality (===)
         	//
         	//		For details on this method, see:
         	//		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/lastIndexOf
        	// arr: Array,
        	// value: Object,
        	// fromIndex: Integer?
        	// returns: Number
        },
        =====*/
        forEach: function forEach(arr, callback, thisObject) {
          // summary:
          //		for every item in arr, callback is invoked. Return values are ignored.
          //		If you want to break out of the loop, consider using array.every() or array.some().
          //		forEach does not allow breaking out of the loop over the items in arr.
          // arr:
          //		the array to iterate over. If a string, operates on individual characters.
          // callback:
          //		a function is invoked with three arguments: item, index, and array
          // thisObject:
          //		may be used to scope the call to callback
          // description:
          //		This function corresponds to the JavaScript 1.6 Array.forEach() method, with one difference: when
          //		run over sparse arrays, this implementation passes the "holes" in the sparse array to
          //		the callback function with a value of undefined. JavaScript 1.6's forEach skips the holes in the sparse array.
          //		For more details, see:
          //		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/forEach
          // example:
          //	| // log out all members of the array:
          //	| array.forEach(
          //	|		[ "thinger", "blah", "howdy", 10 ],
          //	|		function(item){
          //	|			console.log(item);
          //	|		}
          //	| );
          // example:
          //	| // log out the members and their indexes
          //	| array.forEach(
          //	|		[ "thinger", "blah", "howdy", 10 ],
          //	|		function(item, idx, arr){
          //	|			console.log(item, "at index:", idx);
          //	|		}
          //	| );
          // example:
          //	| // use a scoped object member as the callback
          //	|
          //	| var obj = {
          //	|		prefix: "logged via obj.callback:",
          //	|		callback: function(item){
          //	|			console.log(this.prefix, item);
          //	|		}
          //	| };
          //	|
          //	| // specifying the scope function executes the callback in that scope
          //	| array.forEach(
          //	|		[ "thinger", "blah", "howdy", 10 ],
          //	|		obj.callback,
          //	|		obj
          //	| );
          //	|
          //	| // alternately, we can accomplish the same thing with lang.hitch()
          //	| array.forEach(
          //	|		[ "thinger", "blah", "howdy", 10 ],
          //	|		lang.hitch(obj, "callback")
          //	| );
          // arr: Array|String
          // callback: Function|String
          // thisObject: Object?
          var i = 0,
              l = arr && arr.length || 0;
          if (l && typeof arr == "string") arr = arr.split("");
          if (typeof callback == "string") callback = cache[callback] || buildFn(callback);

          if (thisObject) {
            for (; i < l; ++i) {
              callback.call(thisObject, arr[i], i, arr);
            }
          } else {
            for (; i < l; ++i) {
              callback(arr[i], i, arr);
            }
          }
        },
        map: function map(arr, callback, thisObject, Ctr) {
          // summary:
          //		applies callback to each element of arr and returns
          //		an Array with the results
          // arr: Array|String
          //		the array to iterate on. If a string, operates on
          //		individual characters.
          // callback: Function|String
          //		a function is invoked with three arguments, (item, index,
          //		array),	 and returns a value
          // thisObject: Object?
          //		may be used to scope the call to callback
          // returns: Array
          // description:
          //		This function corresponds to the JavaScript 1.6 Array.map() method, with one difference: when
          //		run over sparse arrays, this implementation passes the "holes" in the sparse array to
          //		the callback function with a value of undefined. JavaScript 1.6's map skips the holes in the sparse array.
          //		For more details, see:
          //		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/map
          // example:
          //	| // returns [2, 3, 4, 5]
          //	| array.map([1, 2, 3, 4], function(item){ return item+1 });
          // TODO: why do we have a non-standard signature here? do we need "Ctr"?
          var i = 0,
              l = arr && arr.length || 0,
              out = new (Ctr || Array)(l);
          if (l && typeof arr == "string") arr = arr.split("");
          if (typeof callback == "string") callback = cache[callback] || buildFn(callback);

          if (thisObject) {
            for (; i < l; ++i) {
              out[i] = callback.call(thisObject, arr[i], i, arr);
            }
          } else {
            for (; i < l; ++i) {
              out[i] = callback(arr[i], i, arr);
            }
          }

          return out; // Array
        },
        filter: function filter(arr, callback, thisObject) {
          // summary:
          //		Returns a new Array with those items from arr that match the
          //		condition implemented by callback.
          // arr: Array
          //		the array to iterate over.
          // callback: Function|String
          //		a function that is invoked with three arguments (item,
          //		index, array). The return of this function is expected to
          //		be a boolean which determines whether the passed-in item
          //		will be included in the returned array.
          // thisObject: Object?
          //		may be used to scope the call to callback
          // returns: Array
          // description:
          //		This function corresponds to the JavaScript 1.6 Array.filter() method, with one difference: when
          //		run over sparse arrays, this implementation passes the "holes" in the sparse array to
          //		the callback function with a value of undefined. JavaScript 1.6's filter skips the holes in the sparse array.
          //		For more details, see:
          //		https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/filter
          // example:
          //	| // returns [2, 3, 4]
          //	| array.filter([1, 2, 3, 4], function(item){ return item>1; });
          // TODO: do we need "Ctr" here like in map()?
          var i = 0,
              l = arr && arr.length || 0,
              out = [],
              value;
          if (l && typeof arr == "string") arr = arr.split("");
          if (typeof callback == "string") callback = cache[callback] || buildFn(callback);

          if (thisObject) {
            for (; i < l; ++i) {
              value = arr[i];

              if (callback.call(thisObject, value, i, arr)) {
                out.push(value);
              }
            }
          } else {
            for (; i < l; ++i) {
              value = arr[i];

              if (callback(value, i, arr)) {
                out.push(value);
              }
            }
          }

          return out; // Array
        },
        clearCache: function clearCache() {
          cache = {};
        }
      };
      true && lang.mixin(dojo, array);
      return array;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/config.js":
  /*!*******************************************!*\
    !*** ./node_modules/dojo/_base/config.js ***!
    \*******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseConfigJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../global */
    "./node_modules/dojo/global.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__.dj.c(module.i)], __WEBPACK_AMD_DEFINE_RESULT__ = function (global, has, require) {
      // module:
      //		dojo/_base/config

      /*=====
      return {
      	// summary:
      	//		This module defines the user configuration during bootstrap.
      	// description:
      	//		By defining user configuration as a module value, an entire configuration can be specified in a build,
      	//		thereby eliminating the need for sniffing and or explicitly setting in the global variable dojoConfig.
      	//		Also, when multiple instances of dojo exist in a single application, each will necessarily be located
      	//		at an unique absolute module identifier as given by the package configuration. Implementing configuration
      	//		as a module allows for specifying unique, per-instance configurations.
      	// example:
      	//		Create a second instance of dojo with a different, instance-unique configuration (assume the loader and
      	//		dojo.js are already loaded).
      	//		|	// specify a configuration that creates a new instance of dojo at the absolute module identifier "myDojo"
      	//		|	require({
      	//		|		packages:[{
      	//		|			name:"myDojo",
      	//		|			location:".", //assume baseUrl points to dojo.js
      	//		|		}]
      	//		|	});
      	//		|
      	//		|	// specify a configuration for the myDojo instance
      	//		|	define("myDojo/config", {
      	//		|		// normal configuration variables go here, e.g.,
      	//		|		locale:"fr-ca"
      	//		|	});
      	//		|
      	//		|	// load and use the new instance of dojo
      	//		|	require(["myDojo"], function(dojo){
      	//		|		// dojo is the new instance of dojo
      	//		|		// use as required
      	//		|	});
      
      	// isDebug: Boolean
      	//		Defaults to `false`. If set to `true`, ensures that Dojo provides
      	//		extended debugging feedback to the console.
      	isDebug: false,
      
      	// locale: String
      	//		The locale to assume for loading localized resources in this page,
      	//		specified according to [RFC 3066](http://www.ietf.org/rfc/rfc3066.txt).
      	//		Must be specified entirely in lowercase, e.g. `en-us` and `zh-cn`.
      	//		See the documentation for `dojo.i18n` and `dojo.requireLocalization`
      	//		for details on loading localized resources. If no locale is specified,
      	//		Dojo assumes the locale of the user agent, according to `navigator.userLanguage`
      	//		or `navigator.language` properties.
      	locale: undefined,
      
      	// extraLocale: Array
      	//		No default value. Specifies additional locales whose
      	//		resources should also be loaded alongside the default locale when
      	//		calls to `dojo.requireLocalization()` are processed.
      	extraLocale: undefined,
      
      	// baseUrl: String
      	//		The directory in which `dojo.js` is located. Under normal
      	//		conditions, Dojo auto-detects the correct location from which it
      	//		was loaded. You may need to manually configure `baseUrl` in cases
      	//		where you have renamed `dojo.js` or in which `<base>` tags confuse
      	//		some browsers (e.g. IE 6). The variable `dojo.baseUrl` is assigned
      	//		either the value of `djConfig.baseUrl` if one is provided or the
      	//		auto-detected root if not. Other modules are located relative to
      	//		this path. The path should end in a slash.
      	baseUrl: undefined,
      
      	// modulePaths: [deprecated] Object
      	//		A map of module names to paths relative to `dojo.baseUrl`. The
      	//		key/value pairs correspond directly to the arguments which
      	//		`dojo.registerModulePath` accepts. Specifying
      	//		`djConfig.modulePaths = { "foo": "../../bar" }` is the equivalent
      	//		of calling `dojo.registerModulePath("foo", "../../bar");`. Multiple
      	//		modules may be configured via `djConfig.modulePaths`.
      	modulePaths: {},
      
      	// addOnLoad: Function|Array
      	//		Adds a callback via dojo/ready. Useful when Dojo is added after
      	//		the page loads and djConfig.afterOnLoad is true. Supports the same
      	//		arguments as dojo/ready. When using a function reference, use
      	//		`djConfig.addOnLoad = function(){};`. For object with function name use
      	//		`djConfig.addOnLoad = [myObject, "functionName"];` and for object with
      	//		function reference use
      	//		`djConfig.addOnLoad = [myObject, function(){}];`
      	addOnLoad: null,
      
      	// parseOnLoad: Boolean
      	//		Run the parser after the page is loaded
      	parseOnLoad: false,
      
      	// require: String[]
      	//		An array of module names to be loaded immediately after dojo.js has been included
      	//		in a page.
      	require: [],
      
      	// defaultDuration: Number
      	//		Default duration, in milliseconds, for wipe and fade animations within dijits.
      	//		Assigned to dijit.defaultDuration.
      	defaultDuration: 200,
      
      	// dojoBlankHtmlUrl: String
      	//		Used by some modules to configure an empty iframe. Used by dojo/io/iframe and
      	//		dojo/back, and dijit/popup support in IE where an iframe is needed to make sure native
      	//		controls do not bleed through the popups. Normally this configuration variable
      	//		does not need to be set, except when using cross-domain/CDN Dojo builds.
      	//		Save dojo/resources/blank.html to your domain and set `djConfig.dojoBlankHtmlUrl`
      	//		to the path on your domain your copy of blank.html.
      	dojoBlankHtmlUrl: undefined,
      
      	// ioPublish: Boolean?
      	//		Set this to true to enable publishing of topics for the different phases of
      	//		IO operations. Publishing is done via dojo/topic.publish(). See dojo/main.__IoPublish for a list
      	//		of topics that are published.
      	ioPublish: false,
      
      	// transparentColor: Array
      	//		Array containing the r, g, b components used as transparent color in dojo.Color;
      	//		if undefined, [255,255,255] (white) will be used.
      	transparentColor: undefined,
      	
      	// deps: Function|Array
      	//		Defines dependencies to be used before the loader has been loaded.
      	//		When provided, they cause the loader to execute require(deps, callback) 
      	//		once it has finished loading. Should be used with callback.
      	deps: undefined,
      	
      	// callback: Function|Array
      	//		Defines a callback to be used when dependencies are defined before 
      	//		the loader has been loaded. When provided, they cause the loader to 
      	//		execute require(deps, callback) once it has finished loading. 
      	//		Should be used with deps.
      	callback: undefined,
      	
      	// deferredInstrumentation: Boolean
      	//		Whether deferred instrumentation should be loaded or included
      	//		in builds.
      	deferredInstrumentation: true,
      
      	// useDeferredInstrumentation: Boolean|String
      	//		Whether the deferred instrumentation should be used.
      	//
      	//		* `"report-rejections"`: report each rejection as it occurs.
      	//		* `true` or `1` or `"report-unhandled-rejections"`: wait 1 second
      	//			in an attempt to detect unhandled rejections.
      	useDeferredInstrumentation: "report-unhandled-rejections"
      };
      =====*/
      var result = {};

      if (true) {
        // must be the dojo loader; take a shallow copy of require.rawConfig
        var src = require.rawConfig,
            p;

        for (p in src) {
          result[p] = src[p];
        }
      } else {
        var adviseHas;
      }

      if (!result.locale && typeof navigator != "undefined") {
        // Default locale for browsers (ensure it's read from user-settings not download locale).
        var language = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language || navigator.userLanguage;

        if (language) {
          result.locale = language.toLowerCase();
        }
      }

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

  /***/
  "./node_modules/dojo/_base/connect.js":
  /*!********************************************!*\
    !*** ./node_modules/dojo/_base/connect.js ***!
    \********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseConnectJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../on */
    "./node_modules/dojo/on.js"), __webpack_require__(
    /*! ../topic */
    "./node_modules/dojo/topic.js"), __webpack_require__(
    /*! ../aspect */
    "./node_modules/dojo/aspect.js"), __webpack_require__(
    /*! ./event */
    "./node_modules/dojo/_base/event.js"), __webpack_require__(
    /*! ../mouse */
    "./node_modules/dojo/mouse.js"), __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/_base/sniff.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../keys */
    "./node_modules/dojo/keys.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, on, hub, aspect, eventModule, mouse, has, lang) {
      // module:
      //		dojo/_base/connect
      has.add("events-keypress-typed", function () {
        // keypresses should only occur a printable character is hit
        var testKeyEvent = {
          charCode: 0
        };

        try {
          testKeyEvent = document.createEvent("KeyboardEvent");
          (testKeyEvent.initKeyboardEvent || testKeyEvent.initKeyEvent).call(testKeyEvent, "keypress", true, true, null, false, false, false, false, 9, 3);
        } catch (e) {}

        return testKeyEvent.charCode == 0 && !has("opera");
      });

      function connect_(obj, event, context, method, dontFix) {
        method = lang.hitch(context, method);

        if (!obj || !(obj.addEventListener || obj.attachEvent)) {
          // it is a not a DOM node and we are using the dojo.connect style of treating a
          // method like an event, must go right to aspect
          return aspect.after(obj || dojo.global, event, method, true);
        }

        if (typeof event == "string" && event.substring(0, 2) == "on") {
          event = event.substring(2);
        }

        if (!obj) {
          obj = dojo.global;
        }

        if (!dontFix) {
          switch (event) {
            // dojo.connect has special handling for these event types
            case "keypress":
              event = keypress;
              break;

            case "mouseenter":
              event = mouse.enter;
              break;

            case "mouseleave":
              event = mouse.leave;
              break;
          }
        }

        return on(obj, event, method, dontFix);
      }

      var _punctMap = {
        106: 42,
        111: 47,
        186: 59,
        187: 43,
        188: 44,
        189: 45,
        190: 46,
        191: 47,
        192: 96,
        219: 91,
        220: 92,
        221: 93,
        222: 39,
        229: 113
      };
      var evtCopyKey = has("mac") ? "metaKey" : "ctrlKey";

      var _synthesizeEvent = function _synthesizeEvent(evt, props) {
        var faux = lang.mixin({}, evt, props);
        setKeyChar(faux); // FIXME: would prefer to use lang.hitch: lang.hitch(evt, evt.preventDefault);
        // but it throws an error when preventDefault is invoked on Safari
        // does Event.preventDefault not support "apply" on Safari?

        faux.preventDefault = function () {
          evt.preventDefault();
        };

        faux.stopPropagation = function () {
          evt.stopPropagation();
        };

        return faux;
      };

      function setKeyChar(evt) {
        evt.keyChar = evt.charCode ? String.fromCharCode(evt.charCode) : '';
        evt.charOrCode = evt.keyChar || evt.keyCode;
      }

      var keypress;

      if (has("events-keypress-typed")) {
        // this emulates Firefox's keypress behavior where every keydown can correspond to a keypress
        var _trySetKeyCode = function _trySetKeyCode(e, code) {
          try {
            // squelch errors when keyCode is read-only
            // (e.g. if keyCode is ctrl or shift)
            return e.keyCode = code;
          } catch (e) {
            return 0;
          }
        };

        keypress = function keypress(object, listener) {
          var keydownSignal = on(object, "keydown", function (evt) {
            // munge key/charCode
            var k = evt.keyCode; // These are Windows Virtual Key Codes
            // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/VirtualKeyCodes.asp

            var unprintable = k != 13 && k != 32 && (k != 27 || !has("ie")) && (k < 48 || k > 90) && (k < 96 || k > 111) && (k < 186 || k > 192) && (k < 219 || k > 222) && k != 229; // synthesize keypress for most unprintables and CTRL-keys

            if (unprintable || evt.ctrlKey) {
              var c = unprintable ? 0 : k;

              if (evt.ctrlKey) {
                if (k == 3 || k == 13) {
                  return listener.call(evt.currentTarget, evt); // IE will post CTRL-BREAK, CTRL-ENTER as keypress natively
                } else if (c > 95 && c < 106) {
                  c -= 48; // map CTRL-[numpad 0-9] to ASCII
                } else if (!evt.shiftKey && c >= 65 && c <= 90) {
                  c += 32; // map CTRL-[A-Z] to lowercase
                } else {
                  c = _punctMap[c] || c; // map other problematic CTRL combinations to ASCII
                }
              } // simulate a keypress event


              var faux = _synthesizeEvent(evt, {
                type: 'keypress',
                faux: true,
                charCode: c
              });

              listener.call(evt.currentTarget, faux);

              if (has("ie")) {
                _trySetKeyCode(evt, faux.keyCode);
              }
            }
          });
          var keypressSignal = on(object, "keypress", function (evt) {
            var c = evt.charCode;
            c = c >= 32 ? c : 0;
            evt = _synthesizeEvent(evt, {
              charCode: c,
              faux: true
            });
            return listener.call(this, evt);
          });
          return {
            remove: function remove() {
              keydownSignal.remove();
              keypressSignal.remove();
            }
          };
        };
      } else {
        if (has("opera")) {
          keypress = function keypress(object, listener) {
            return on(object, "keypress", function (evt) {
              var c = evt.which;

              if (c == 3) {
                c = 99; // Mozilla maps CTRL-BREAK to CTRL-c
              } // can't trap some keys at all, like INSERT and DELETE
              // there is no differentiating info between DELETE and ".", or INSERT and "-"


              c = c < 32 && !evt.shiftKey ? 0 : c;

              if (evt.ctrlKey && !evt.shiftKey && c >= 65 && c <= 90) {
                // lowercase CTRL-[A-Z] keys
                c += 32;
              }

              return listener.call(this, _synthesizeEvent(evt, {
                charCode: c
              }));
            });
          };
        } else {
          keypress = function keypress(object, listener) {
            return on(object, "keypress", function (evt) {
              setKeyChar(evt);
              return listener.call(this, evt);
            });
          };
        }
      }

      var connect = {
        // summary:
        //		This module defines the dojo.connect API.
        //		This modules also provides keyboard event handling helpers.
        //		This module exports an extension event for emulating Firefox's keypress handling.
        //		However, this extension event exists primarily for backwards compatibility and
        //		is not recommended. WebKit and IE uses an alternate keypress handling (only
        //		firing for printable characters, to distinguish from keydown events), and most
        //		consider the WebKit/IE behavior more desirable.
        _keypress: keypress,
        connect: function connect(obj, event, context, method, dontFix) {
          // summary:
          //		`dojo.connect` is a deprecated event handling and delegation method in
          //		Dojo. It allows one function to "listen in" on the execution of
          //		any other, triggering the second whenever the first is called. Many
          //		listeners may be attached to a function, and source functions may
          //		be either regular function calls or DOM events.
          //
          // description:
          //		Connects listeners to actions, so that after event fires, a
          //		listener is called with the same arguments passed to the original
          //		function.
          //
          //		Since `dojo.connect` allows the source of events to be either a
          //		"regular" JavaScript function or a DOM event, it provides a uniform
          //		interface for listening to all the types of events that an
          //		application is likely to deal with though a single, unified
          //		interface. DOM programmers may want to think of it as
          //		"addEventListener for everything and anything".
          //
          //		When setting up a connection, the `event` parameter must be a
          //		string that is the name of the method/event to be listened for. If
          //		`obj` is null, `kernel.global` is assumed, meaning that connections
          //		to global methods are supported but also that you may inadvertently
          //		connect to a global by passing an incorrect object name or invalid
          //		reference.
          //
          //		`dojo.connect` generally is forgiving. If you pass the name of a
          //		function or method that does not yet exist on `obj`, connect will
          //		not fail, but will instead set up a stub method. Similarly, null
          //		arguments may simply be omitted such that fewer than 4 arguments
          //		may be required to set up a connection See the examples for details.
          //
          //		The return value is a handle that is needed to
          //		remove this connection with `dojo.disconnect`.
          //
          // obj: Object?
          //		The source object for the event function.
          //		Defaults to `kernel.global` if null.
          //		If obj is a DOM node, the connection is delegated
          //		to the DOM event manager (unless dontFix is true).
          //
          // event: String
          //		String name of the event function in obj.
          //		I.e. identifies a property `obj[event]`.
          //
          // context: Object|null
          //		The object that method will receive as "this".
          //
          //		If context is null and method is a function, then method
          //		inherits the context of event.
          //
          //		If method is a string then context must be the source
          //		object object for method (context[method]). If context is null,
          //		kernel.global is used.
          //
          // method: String|Function
          //		A function reference, or name of a function in context.
          //		The function identified by method fires after event does.
          //		method receives the same arguments as the event.
          //		See context argument comments for information on method's scope.
          //
          // dontFix: Boolean?
          //		If obj is a DOM node, set dontFix to true to prevent delegation
          //		of this connection to the DOM event manager.
          //
          // example:
          //		When obj.onchange(), do ui.update():
          //	|	dojo.connect(obj, "onchange", ui, "update");
          //	|	dojo.connect(obj, "onchange", ui, ui.update); // same
          //
          // example:
          //		Using return value for disconnect:
          //	|	var link = dojo.connect(obj, "onchange", ui, "update");
          //	|	...
          //	|	dojo.disconnect(link);
          //
          // example:
          //		When onglobalevent executes, watcher.handler is invoked:
          //	|	dojo.connect(null, "onglobalevent", watcher, "handler");
          //
          // example:
          //		When ob.onCustomEvent executes, customEventHandler is invoked:
          //	|	dojo.connect(ob, "onCustomEvent", null, "customEventHandler");
          //	|	dojo.connect(ob, "onCustomEvent", "customEventHandler"); // same
          //
          // example:
          //		When ob.onCustomEvent executes, customEventHandler is invoked
          //		with the same scope (this):
          //	|	dojo.connect(ob, "onCustomEvent", null, customEventHandler);
          //	|	dojo.connect(ob, "onCustomEvent", customEventHandler); // same
          //
          // example:
          //		When globalEvent executes, globalHandler is invoked
          //		with the same scope (this):
          //	|	dojo.connect(null, "globalEvent", null, globalHandler);
          //	|	dojo.connect("globalEvent", globalHandler); // same
          // normalize arguments
          var a = arguments,
              args = [],
              i = 0; // if a[0] is a String, obj was omitted

          args.push(typeof a[0] == "string" ? null : a[i++], a[i++]); // if the arg-after-next is a String or Function, context was NOT omitted

          var a1 = a[i + 1];
          args.push(typeof a1 == "string" || typeof a1 == "function" ? a[i++] : null, a[i++]); // absorb any additional arguments

          for (var l = a.length; i < l; i++) {
            args.push(a[i]);
          }

          return connect_.apply(this, args);
        },
        disconnect: function disconnect(handle) {
          // summary:
          //		Remove a link created by dojo.connect.
          // description:
          //		Removes the connection between event and the method referenced by handle.
          // handle: Handle
          //		the return value of the dojo.connect call that created the connection.
          if (handle) {
            handle.remove();
          }
        },
        subscribe: function subscribe(topic, context, method) {
          // summary:
          //		Attach a listener to a named topic. The listener function is invoked whenever the
          //		named topic is published (see: dojo.publish).
          //		Returns a handle which is needed to unsubscribe this listener.
          // topic: String
          //		The topic to which to subscribe.
          // context: Object?
          //		Scope in which method will be invoked, or null for default scope.
          // method: String|Function
          //		The name of a function in context, or a function reference. This is the function that
          //		is invoked when topic is published.
          // example:
          //	|	dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); });
          //	|	dojo.publish("alerts", [ "read this", "hello world" ]);
          return hub.subscribe(topic, lang.hitch(context, method));
        },
        publish: function publish(topic, args) {
          // summary:
          //		Invoke all listener method subscribed to topic.
          // topic: String
          //		The name of the topic to publish.
          // args: Array?
          //		An array of arguments. The arguments will be applied
          //		to each topic subscriber (as first class parameters, via apply).
          // example:
          //	|	dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
          //	|	dojo.publish("alerts", [ "read this", "hello world" ]);
          return hub.publish.apply(hub, [topic].concat(args));
        },
        connectPublisher: function connectPublisher(topic, obj, event) {
          // summary:
          //		Ensure that every time obj.event() is called, a message is published
          //		on the topic. Returns a handle which can be passed to
          //		dojo.disconnect() to disable subsequent automatic publication on
          //		the topic.
          // topic: String
          //		The name of the topic to publish.
          // obj: Object?
          //		The source object for the event function. Defaults to kernel.global
          //		if null.
          // event: String
          //		The name of the event function in obj.
          //		I.e. identifies a property obj[event].
          // example:
          //	|	dojo.connectPublisher("/ajax/start", dojo, "xhrGet");
          var pf = function pf() {
            connect.publish(topic, arguments);
          };

          return event ? connect.connect(obj, event, pf) : connect.connect(obj, pf); //Handle
        },
        isCopyKey: function isCopyKey(e) {
          // summary:
          //		Checks an event for the copy key (meta on Mac, and ctrl anywhere else)
          // e: Event
          //		Event object to examine
          return e[evtCopyKey]; // Boolean
        }
      };
      connect.unsubscribe = connect.disconnect;
      /*=====
       connect.unsubscribe = function(handle){
      	 // summary:
      	 //		Remove a topic listener.
      	 // handle: Handle
      	 //		The handle returned from a call to subscribe.
      	 // example:
      	 //	|	var alerter = dojo.subscribe("alerts", null, function(caption, message){ alert(caption + "\n" + message); };
      	 //	|	...
      	 //	|	dojo.unsubscribe(alerter);
       };
       =====*/

      true && lang.mixin(dojo, connect);
      return connect;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/declare.js":
  /*!********************************************!*\
    !*** ./node_modules/dojo/_base/declare.js ***!
    \********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseDeclareJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, has, lang) {
      // module:
      //		dojo/_base/declare
      var mix = lang.mixin,
          op = Object.prototype,
          opts = op.toString,
          xtor,
          counter = 0,
          cname = "constructor";

      if (!has("csp-restrictions")) {
        // 'new Function()' is preferable when available since it does not create a closure
        xtor = new Function();
      } else {
        xtor = function xtor() {};
      }

      function err(msg, cls) {
        throw new Error("declare" + (cls ? " " + cls : "") + ": " + msg);
      } // C3 Method Resolution Order (see http://www.python.org/download/releases/2.3/mro/)


      function c3mro(bases, className) {
        var result = [],
            roots = [{
          cls: 0,
          refs: []
        }],
            nameMap = {},
            clsCount = 1,
            l = bases.length,
            i = 0,
            j,
            lin,
            base,
            top,
            proto,
            rec,
            name,
            refs; // build a list of bases naming them if needed

        for (; i < l; ++i) {
          base = bases[i];

          if (!base) {
            err("mixin #" + i + " is unknown. Did you use dojo.require to pull it in?", className);
          } else if (opts.call(base) != "[object Function]") {
            err("mixin #" + i + " is not a callable constructor.", className);
          }

          lin = base._meta ? base._meta.bases : [base];
          top = 0; // add bases to the name map

          for (j = lin.length - 1; j >= 0; --j) {
            proto = lin[j].prototype;

            if (!proto.hasOwnProperty("declaredClass")) {
              proto.declaredClass = "uniqName_" + counter++;
            }

            name = proto.declaredClass;

            if (!nameMap.hasOwnProperty(name)) {
              nameMap[name] = {
                count: 0,
                refs: [],
                cls: lin[j]
              };
              ++clsCount;
            }

            rec = nameMap[name];

            if (top && top !== rec) {
              rec.refs.push(top);
              ++top.count;
            }

            top = rec;
          }

          ++top.count;
          roots[0].refs.push(top);
        } // remove classes without external references recursively


        while (roots.length) {
          top = roots.pop();
          result.push(top.cls);
          --clsCount; // optimization: follow a single-linked chain

          while (refs = top.refs, refs.length == 1) {
            top = refs[0];

            if (!top || --top.count) {
              // branch or end of chain => do not end to roots
              top = 0;
              break;
            }

            result.push(top.cls);
            --clsCount;
          }

          if (top) {
            // branch
            for (i = 0, l = refs.length; i < l; ++i) {
              top = refs[i];

              if (! --top.count) {
                roots.push(top);
              }
            }
          }
        }

        if (clsCount) {
          err("can't build consistent linearization", className);
        } // calculate the superclass offset


        base = bases[0];
        result[0] = base ? base._meta && base === result[result.length - base._meta.bases.length] ? base._meta.bases.length : 1 : 0;
        return result;
      }

      function inherited(args, a, f, g) {
        var name,
            chains,
            bases,
            caller,
            meta,
            base,
            proto,
            opf,
            pos,
            cache = this._inherited = this._inherited || {}; // crack arguments

        if (typeof args === "string") {
          name = args;
          args = a;
          a = f;
          f = g;
        }

        if (typeof args === "function") {
          // support strict mode
          caller = args;
          args = a;
          a = f;
        } else {
          try {
            caller = args.callee;
          } catch (e) {
            if (e instanceof TypeError) {
              // caller was defined in a strict-mode context
              err("strict mode inherited() requires the caller function to be passed before arguments", this.declaredClass);
            } else {
              throw e;
            }
          }
        }

        name = name || caller.nom;

        if (!name) {
          err("can't deduce a name to call inherited()", this.declaredClass);
        }

        f = g = 0;
        meta = this.constructor._meta;
        bases = meta.bases;
        pos = cache.p;

        if (name != cname) {
          // method
          if (cache.c !== caller) {
            // cache bust
            pos = 0;
            base = bases[0];
            meta = base._meta;

            if (meta.hidden[name] !== caller) {
              // error detection
              chains = meta.chains;

              if (chains && typeof chains[name] == "string") {
                err("calling chained method with inherited: " + name, this.declaredClass);
              } // find caller


              do {
                meta = base._meta;
                proto = base.prototype;

                if (meta && (proto[name] === caller && proto.hasOwnProperty(name) || meta.hidden[name] === caller)) {
                  break;
                }
              } while (base = bases[++pos]); // intentional assignment


              pos = base ? pos : -1;
            }
          } // find next


          base = bases[++pos];

          if (base) {
            proto = base.prototype;

            if (base._meta && proto.hasOwnProperty(name)) {
              f = proto[name];
            } else {
              opf = op[name];

              do {
                proto = base.prototype;
                f = proto[name];

                if (f && (base._meta ? proto.hasOwnProperty(name) : f !== opf)) {
                  break;
                }
              } while (base = bases[++pos]); // intentional assignment

            }
          }

          f = base && f || op[name];
        } else {
          // constructor
          if (cache.c !== caller) {
            // cache bust
            pos = 0;
            meta = bases[0]._meta;

            if (meta && meta.ctor !== caller) {
              // error detection
              chains = meta.chains;

              if (!chains || chains.constructor !== "manual") {
                err("calling chained constructor with inherited", this.declaredClass);
              } // find caller


              while (base = bases[++pos]) {
                // intentional assignment
                meta = base._meta;

                if (meta && meta.ctor === caller) {
                  break;
                }
              }

              pos = base ? pos : -1;
            }
          } // find next


          while (base = bases[++pos]) {
            // intentional assignment
            meta = base._meta;
            f = meta ? meta.ctor : base;

            if (f) {
              break;
            }
          }

          f = base && f;
        } // cache the found super method


        cache.c = f;
        cache.p = pos; // now we have the result

        if (f) {
          return a === true ? f : f.apply(this, a || args);
        } // intentionally no return if a super method was not found

      }

      function getInherited(name, args, a) {
        if (typeof name === "string") {
          if (typeof args === "function") {
            return this.__inherited(name, args, a, true);
          }

          return this.__inherited(name, args, true);
        } else if (typeof name === "function") {
          return this.__inherited(name, args, true);
        }

        return this.__inherited(name, true);
      }

      function inherited__debug(args, a1, a2, a3) {
        var f = this.getInherited(args, a1, a2);

        if (f) {
          return f.apply(this, a3 || a2 || a1 || args);
        } // intentionally no return if a super method was not found

      }

      var inheritedImpl = dojo.config.isDebug ? inherited__debug : inherited; // emulation of "instanceof"

      function isInstanceOf(cls) {
        var bases = this.constructor._meta.bases;

        for (var i = 0, l = bases.length; i < l; ++i) {
          if (bases[i] === cls) {
            return true;
          }
        }

        return this instanceof cls;
      }

      function mixOwn(target, source) {
        // add props adding metadata for incoming functions skipping a constructor
        for (var name in source) {
          if (name != cname && source.hasOwnProperty(name)) {
            target[name] = source[name];
          }
        }

        if (false) {
          var extraNames, i;
        }
      } // implementation of safe mixin function


      function safeMixin(target, source) {
        // summary:
        //		Mix in properties skipping a constructor and decorating functions
        //		like it is done by declare().
        // target: Object
        //		Target object to accept new properties.
        // source: Object
        //		Source object for new properties.
        // description:
        //		This function is used to mix in properties like lang.mixin does,
        //		but it skips a constructor property and decorates functions like
        //		declare() does.
        //
        //		It is meant to be used with classes and objects produced with
        //		declare. Functions mixed in with dojo.safeMixin can use
        //		this.inherited() like normal methods.
        //
        //		This function is used to implement extend() method of a constructor
        //		produced with declare().
        //
        // example:
        //	|	var A = declare(null, {
        //	|		m1: function(){
        //	|			console.log("A.m1");
        //	|		},
        //	|		m2: function(){
        //	|			console.log("A.m2");
        //	|		}
        //	|	});
        //	|	var B = declare(A, {
        //	|		m1: function(){
        //	|			this.inherited(arguments);
        //	|			console.log("B.m1");
        //	|		}
        //	|	});
        //	|	B.extend({
        //	|		m2: function(){
        //	|			this.inherited(arguments);
        //	|			console.log("B.m2");
        //	|		}
        //	|	});
        //	|	var x = new B();
        //	|	dojo.safeMixin(x, {
        //	|		m1: function(){
        //	|			this.inherited(arguments);
        //	|			console.log("X.m1");
        //	|		},
        //	|		m2: function(){
        //	|			this.inherited(arguments);
        //	|			console.log("X.m2");
        //	|		}
        //	|	});
        //	|	x.m2();
        //	|	// prints:
        //	|	// A.m1
        //	|	// B.m1
        //	|	// X.m1
        var name, t; // add props adding metadata for incoming functions skipping a constructor

        for (name in source) {
          t = source[name];

          if ((t !== op[name] || !(name in op)) && name != cname) {
            if (opts.call(t) == "[object Function]") {
              // non-trivial function method => attach its name
              t.nom = name;
            }

            target[name] = t;
          }
        }

        if (false) {
          var extraNames, i;
        }

        return target;
      }

      function extend(source) {
        declare.safeMixin(this.prototype, source);
        return this;
      }

      function createSubclass(mixins, props) {
        // crack parameters
        if (!(mixins instanceof Array || typeof mixins === 'function')) {
          props = mixins;
          mixins = undefined;
        }

        props = props || {};
        mixins = mixins || [];
        return declare([this].concat(mixins), props);
      } // chained constructor compatible with the legacy declare()


      function chainedConstructor(bases, ctorSpecial) {
        return function () {
          var a = arguments,
              args = a,
              a0 = a[0],
              f,
              i,
              m,
              l = bases.length,
              preArgs;

          if (!(this instanceof a.callee)) {
            // not called via new, so force it
            return applyNew(a);
          } //this._inherited = {};
          // perform the shaman's rituals of the original declare()
          // 1) call two types of the preamble


          if (ctorSpecial && (a0 && a0.preamble || this.preamble)) {
            // full blown ritual
            preArgs = new Array(bases.length); // prepare parameters

            preArgs[0] = a;

            for (i = 0;;) {
              // process the preamble of the 1st argument
              a0 = a[0];

              if (a0) {
                f = a0.preamble;

                if (f) {
                  a = f.apply(this, a) || a;
                }
              } // process the preamble of this class


              f = bases[i].prototype;
              f = f.hasOwnProperty("preamble") && f.preamble;

              if (f) {
                a = f.apply(this, a) || a;
              } // one peculiarity of the preamble:
              // it is called if it is not needed,
              // e.g., there is no constructor to call
              // let's watch for the last constructor
              // (see ticket #9795)


              if (++i == l) {
                break;
              }

              preArgs[i] = a;
            }
          } // 2) call all non-trivial constructors using prepared arguments


          for (i = l - 1; i >= 0; --i) {
            f = bases[i];
            m = f._meta;
            f = m ? m.ctor : f;

            if (f) {
              f.apply(this, preArgs ? preArgs[i] : a);
            }
          } // 3) continue the original ritual: call the postscript


          f = this.postscript;

          if (f) {
            f.apply(this, args);
          }
        };
      } // chained constructor compatible with the legacy declare()


      function singleConstructor(ctor, ctorSpecial) {
        return function () {
          var a = arguments,
              t = a,
              a0 = a[0],
              f;

          if (!(this instanceof a.callee)) {
            // not called via new, so force it
            return applyNew(a);
          } //this._inherited = {};
          // perform the shaman's rituals of the original declare()
          // 1) call two types of the preamble


          if (ctorSpecial) {
            // full blown ritual
            if (a0) {
              // process the preamble of the 1st argument
              f = a0.preamble;

              if (f) {
                t = f.apply(this, t) || t;
              }
            }

            f = this.preamble;

            if (f) {
              // process the preamble of this class
              f.apply(this, t); // one peculiarity of the preamble:
              // it is called even if it is not needed,
              // e.g., there is no constructor to call
              // let's watch for the last constructor
              // (see ticket #9795)
            }
          } // 2) call a constructor


          if (ctor) {
            ctor.apply(this, a);
          } // 3) continue the original ritual: call the postscript


          f = this.postscript;

          if (f) {
            f.apply(this, a);
          }
        };
      } // plain vanilla constructor (can use inherited() to call its base constructor)


      function simpleConstructor(bases) {
        return function () {
          var a = arguments,
              i = 0,
              f,
              m;

          if (!(this instanceof a.callee)) {
            // not called via new, so force it
            return applyNew(a);
          } //this._inherited = {};
          // perform the shaman's rituals of the original declare()
          // 1) do not call the preamble
          // 2) call the top constructor (it can use this.inherited())


          for (; f = bases[i]; ++i) {
            // intentional assignment
            m = f._meta;
            f = m ? m.ctor : f;

            if (f) {
              f.apply(this, a);
              break;
            }
          } // 3) call the postscript


          f = this.postscript;

          if (f) {
            f.apply(this, a);
          }
        };
      }

      function chain(name, bases, reversed) {
        return function () {
          var b,
              m,
              f,
              i = 0,
              step = 1;

          if (reversed) {
            i = bases.length - 1;
            step = -1;
          }

          for (; b = bases[i]; i += step) {
            // intentional assignment
            m = b._meta;
            f = (m ? m.hidden : b.prototype)[name];

            if (f) {
              f.apply(this, arguments);
            }
          }
        };
      } // forceNew(ctor)
      // return a new object that inherits from ctor.prototype but
      // without actually running ctor on the object.


      function forceNew(ctor) {
        // create object with correct prototype using a do-nothing
        // constructor
        xtor.prototype = ctor.prototype;
        var t = new xtor();
        xtor.prototype = null; // clean up

        return t;
      } // applyNew(args)
      // just like 'new ctor()' except that the constructor and its arguments come
      // from args, which must be an array or an arguments object


      function applyNew(args) {
        // create an object with ctor's prototype but without
        // calling ctor on it.
        var ctor = args.callee,
            t = forceNew(ctor); // execute the real constructor on the new object

        ctor.apply(t, args);
        return t;
      }

      function declare(className, superclass, props) {
        // summary:
        //		Create a feature-rich constructor from compact notation.
        // className: String?
        //		The optional name of the constructor (loosely, a "class")
        //		stored in the "declaredClass" property in the created prototype.
        //		It will be used as a global name for a created constructor.
        // superclass: Function|Function[]
        //		May be null, a Function, or an Array of Functions. This argument
        //		specifies a list of bases (the left-most one is the most deepest
        //		base).
        // props: Object
        //		An object whose properties are copied to the created prototype.
        //		Add an instance-initialization function by making it a property
        //		named "constructor".
        // returns: dojo/_base/declare.__DeclareCreatedObject
        //		New constructor function.
        // description:
        //		Create a constructor using a compact notation for inheritance and
        //		prototype extension.
        //
        //		Mixin ancestors provide a type of multiple inheritance.
        //		Prototypes of mixin ancestors are copied to the new class:
        //		changes to mixin prototypes will not affect classes to which
        //		they have been mixed in.
        //
        //		Ancestors can be compound classes created by this version of
        //		declare(). In complex cases all base classes are going to be
        //		linearized according to C3 MRO algorithm
        //		(see http://www.python.org/download/releases/2.3/mro/ for more
        //		details).
        //
        //		"className" is cached in "declaredClass" property of the new class,
        //		if it was supplied. The immediate super class will be cached in
        //		"superclass" property of the new class.
        //
        //		Methods in "props" will be copied and modified: "nom" property
        //		(the declared name of the method) will be added to all copied
        //		functions to help identify them for the internal machinery. Be
        //		very careful, while reusing methods: if you use the same
        //		function under different names, it can produce errors in some
        //		cases.
        //
        //		It is possible to use constructors created "manually" (without
        //		declare()) as bases. They will be called as usual during the
        //		creation of an instance, their methods will be chained, and even
        //		called by "this.inherited()".
        //
        //		Special property "-chains-" governs how to chain methods. It is
        //		a dictionary, which uses method names as keys, and hint strings
        //		as values. If a hint string is "after", this method will be
        //		called after methods of its base classes. If a hint string is
        //		"before", this method will be called before methods of its base
        //		classes.
        //
        //		If "constructor" is not mentioned in "-chains-" property, it will
        //		be chained using the legacy mode: using "after" chaining,
        //		calling preamble() method before each constructor, if available,
        //		and calling postscript() after all constructors were executed.
        //		If the hint is "after", it is chained as a regular method, but
        //		postscript() will be called after the chain of constructors.
        //		"constructor" cannot be chained "before", but it allows
        //		a special hint string: "manual", which means that constructors
        //		are not going to be chained in any way, and programmer will call
        //		them manually using this.inherited(). In the latter case
        //		postscript() will be called after the construction.
        //
        //		All chaining hints are "inherited" from base classes and
        //		potentially can be overridden. Be very careful when overriding
        //		hints! Make sure that all chained methods can work in a proposed
        //		manner of chaining.
        //
        //		Once a method was chained, it is impossible to unchain it. The
        //		only exception is "constructor". You don't need to define a
        //		method in order to supply a chaining hint.
        //
        //		If a method is chained, it cannot use this.inherited() because
        //		all other methods in the hierarchy will be called automatically.
        //
        //		Usually constructors and initializers of any kind are chained
        //		using "after" and destructors of any kind are chained as
        //		"before". Note that chaining assumes that chained methods do not
        //		return any value: any returned value will be discarded.
        //
        // example:
        //	|	declare("my.classes.bar", my.classes.foo, {
        //	|		// properties to be added to the class prototype
        //	|		someValue: 2,
        //	|		// initialization function
        //	|		constructor: function(){
        //	|			this.myComplicatedObject = new ReallyComplicatedObject();
        //	|		},
        //	|		// other functions
        //	|		someMethod: function(){
        //	|			doStuff();
        //	|		}
        //	|	});
        //
        // example:
        //	|	var MyBase = declare(null, {
        //	|		// constructor, properties, and methods go here
        //	|		// ...
        //	|	});
        //	|	var MyClass1 = declare(MyBase, {
        //	|		// constructor, properties, and methods go here
        //	|		// ...
        //	|	});
        //	|	var MyClass2 = declare(MyBase, {
        //	|		// constructor, properties, and methods go here
        //	|		// ...
        //	|	});
        //	|	var MyDiamond = declare([MyClass1, MyClass2], {
        //	|		// constructor, properties, and methods go here
        //	|		// ...
        //	|	});
        //
        // example:
        //	|	var F = function(){ console.log("raw constructor"); };
        //	|	F.prototype.method = function(){
        //	|		console.log("raw method");
        //	|	};
        //	|	var A = declare(F, {
        //	|		constructor: function(){
        //	|			console.log("A.constructor");
        //	|		},
        //	|		method: function(){
        //	|			console.log("before calling F.method...");
        //	|			this.inherited(arguments);
        //	|			console.log("...back in A");
        //	|		}
        //	|	});
        //	|	new A().method();
        //	|	// will print:
        //	|	// raw constructor
        //	|	// A.constructor
        //	|	// before calling F.method...
        //	|	// raw method
        //	|	// ...back in A
        //
        // example:
        //	|	var A = declare(null, {
        //	|		"-chains-": {
        //	|			destroy: "before"
        //	|		}
        //	|	});
        //	|	var B = declare(A, {
        //	|		constructor: function(){
        //	|			console.log("B.constructor");
        //	|		},
        //	|		destroy: function(){
        //	|			console.log("B.destroy");
        //	|		}
        //	|	});
        //	|	var C = declare(B, {
        //	|		constructor: function(){
        //	|			console.log("C.constructor");
        //	|		},
        //	|		destroy: function(){
        //	|			console.log("C.destroy");
        //	|		}
        //	|	});
        //	|	new C().destroy();
        //	|	// prints:
        //	|	// B.constructor
        //	|	// C.constructor
        //	|	// C.destroy
        //	|	// B.destroy
        //
        // example:
        //	|	var A = declare(null, {
        //	|		"-chains-": {
        //	|			constructor: "manual"
        //	|		}
        //	|	});
        //	|	var B = declare(A, {
        //	|		constructor: function(){
        //	|			// ...
        //	|			// call the base constructor with new parameters
        //	|			this.inherited(arguments, [1, 2, 3]);
        //	|			// ...
        //	|		}
        //	|	});
        //
        // example:
        //	|	var A = declare(null, {
        //	|		"-chains-": {
        //	|			m1: "before"
        //	|		},
        //	|		m1: function(){
        //	|			console.log("A.m1");
        //	|		},
        //	|		m2: function(){
        //	|			console.log("A.m2");
        //	|		}
        //	|	});
        //	|	var B = declare(A, {
        //	|		"-chains-": {
        //	|			m2: "after"
        //	|		},
        //	|		m1: function(){
        //	|			console.log("B.m1");
        //	|		},
        //	|		m2: function(){
        //	|			console.log("B.m2");
        //	|		}
        //	|	});
        //	|	var x = new B();
        //	|	x.m1();
        //	|	// prints:
        //	|	// B.m1
        //	|	// A.m1
        //	|	x.m2();
        //	|	// prints:
        //	|	// A.m2
        //	|	// B.m2
        // crack parameters
        if (typeof className != "string") {
          props = superclass;
          superclass = className;
          className = "";
        }

        props = props || {};
        var proto,
            i,
            t,
            ctor,
            name,
            bases,
            chains,
            mixins = 1,
            parents = superclass; // build a prototype

        if (opts.call(superclass) == "[object Array]") {
          // C3 MRO
          bases = c3mro(superclass, className);
          t = bases[0];
          mixins = bases.length - t;
          superclass = bases[mixins];
        } else {
          bases = [0];

          if (superclass) {
            if (opts.call(superclass) == "[object Function]") {
              t = superclass._meta;
              bases = bases.concat(t ? t.bases : superclass);
            } else {
              err("base class is not a callable constructor.", className);
            }
          } else if (superclass !== null) {
            err("unknown base class. Did you use dojo.require to pull it in?", className);
          }
        }

        if (superclass) {
          for (i = mixins - 1;; --i) {
            proto = forceNew(superclass);

            if (!i) {
              // stop if nothing to add (the last base)
              break;
            } // mix in properties


            t = bases[i];
            (t._meta ? mixOwn : mix)(proto, t.prototype); // chain in new constructor

            if (has("csp-restrictions")) {
              ctor = function ctor() {};
            } else {
              ctor = new Function();
            }

            ctor.superclass = superclass;
            ctor.prototype = proto;
            superclass = proto.constructor = ctor;
          }
        } else {
          proto = {};
        } // add all properties


        declare.safeMixin(proto, props); // add constructor

        t = props.constructor;

        if (t !== op.constructor) {
          t.nom = cname;
          proto.constructor = t;
        } // collect chains and flags


        for (i = mixins - 1; i; --i) {
          // intentional assignment
          t = bases[i]._meta;

          if (t && t.chains) {
            chains = mix(chains || {}, t.chains);
          }
        }

        if (proto["-chains-"]) {
          chains = mix(chains || {}, proto["-chains-"]);
        }

        if (superclass && superclass.prototype && superclass.prototype["-chains-"]) {
          chains = mix(chains || {}, superclass.prototype["-chains-"]);
        } // build ctor


        t = !chains || !chains.hasOwnProperty(cname);
        bases[0] = ctor = chains && chains.constructor === "manual" ? simpleConstructor(bases) : bases.length == 1 ? singleConstructor(props.constructor, t) : chainedConstructor(bases, t); // add meta information to the constructor

        ctor._meta = {
          bases: bases,
          hidden: props,
          chains: chains,
          parents: parents,
          ctor: props.constructor
        };
        ctor.superclass = superclass && superclass.prototype;
        ctor.extend = extend;
        ctor.createSubclass = createSubclass;
        ctor.prototype = proto;
        proto.constructor = ctor; // add "standard" methods to the prototype

        proto.getInherited = getInherited;
        proto.isInstanceOf = isInstanceOf;
        proto.inherited = inheritedImpl;
        proto.__inherited = inherited; // add name if specified

        if (className) {
          proto.declaredClass = className;
          lang.setObject(className, ctor);
        } // build chains and add them to the prototype


        if (chains) {
          for (name in chains) {
            if (proto[name] && typeof chains[name] == "string" && name != cname) {
              t = proto[name] = chain(name, bases, chains[name] === "after");
              t.nom = name;
            }
          }
        } // chained methods do not return values
        // no need to chain "invisible" functions


        return ctor; // Function
      }
      /*=====
      declare.__DeclareCreatedObject = {
      	// summary:
      	//		dojo/_base/declare() returns a constructor `C`.   `new C()` returns an Object with the following
      	//		methods, in addition to the methods and properties specified via the arguments passed to declare().
      		inherited: function(name, caller, args, newArgs){
      		// summary:
      		//		Calls a super method.
      		// name: String?
      		//		The optional method name. Should be the same as the caller's
      		//		name. Usually "name" is specified in complex dynamic cases, when
      		//		the calling method was dynamically added, undecorated by
      		//		declare(), and it cannot be determined.
      		// caller: Function?
      		//		The reference to the calling function. Required only if the
      		//		call to "this.inherited" occurs from within strict-mode code.
      		//		If the caller is omitted within strict-mode code, an error will
      		//		be thrown.
      		//		The best way to obtain a reference to the calling function is to
      		//		use a named function expression (i.e. place a function name
      		//		after the "function" keyword and before the open paren, as in
      		//		"function fn(a, b)"). If the function is parsed as an expression
      		//		and not a statement (i.e. it's not by itself on its own line),
      		//		the function name will only be accessible as an identifier from
      		//		within the body of the function.
      		// args: Arguments
      		//		The caller supply this argument, which should be the original
      		//		"arguments".
      		// newArgs: Object?
      		//		If "true", the found function will be returned without
      		//		executing it.
      		//		If Array, it will be used to call a super method. Otherwise
      		//		"args" will be used.
      		// returns:
      		//		Whatever is returned by a super method, or a super method itself,
      		//		if "true" was specified as newArgs.
      		// description:
      		//		This method is used inside method of classes produced with
      		//		declare() to call a super method (next in the chain). It is
      		//		used for manually controlled chaining. Consider using the regular
      		//		chaining, because it is faster. Use "this.inherited()" only in
      		//		complex cases.
      		//
      		//		This method cannot me called from automatically chained
      		//		constructors including the case of a special (legacy)
      		//		constructor chaining. It cannot be called from chained methods.
      		//
      		//		If "this.inherited()" cannot find the next-in-chain method, it
      		//		does nothing and returns "undefined". The last method in chain
      		//		can be a default method implemented in Object, which will be
      		//		called last.
      		//
      		//		If "name" is specified, it is assumed that the method that
      		//		received "args" is the parent method for this call. It is looked
      		//		up in the chain list and if it is found the next-in-chain method
      		//		is called. If it is not found, the first-in-chain method is
      		//		called.
      		//
      		//		If "name" is not specified, it will be derived from the calling
      		//		method (using a methoid property "nom").
      		//
      		// example:
      		//	|	var B = declare(A, {
      		//	|		method1: function(a, b, c){
      		//	|			this.inherited(arguments);
      		//	|		},
      		//	|		method2: function(a, b){
      		//	|			return this.inherited(arguments, [a + b]);
      		//	|		}
      		//	|	});
      		//	|	// next method is not in the chain list because it is added
      		//	|	// manually after the class was created.
      		//	|	B.prototype.method3 = function(){
      		//	|		console.log("This is a dynamically-added method.");
      		//	|		this.inherited("method3", arguments);
      		//	|	};
      		// example:
      		//	|	var B = declare(A, {
      		//	|		method: function(a, b){
      		//	|			var super = this.inherited(arguments, true);
      		//	|			// ...
      		//	|			if(!super){
      		//	|				console.log("there is no super method");
      		//	|				return 0;
      		//	|			}
      		//	|			return super.apply(this, arguments);
      		//	|		}
      		//	|	});
      		// example:
      		//	|	"use strict";
      		//	|	// class is defined in strict-mode code,
      		//	|	// so caller must be passed before arguments.
      		//	|	var B = declare(A, {
      		//	|		// using a named function expression with "fn" as the name.
      		//	|		method: function fn(a, b) {
      		//	|			this.inherited(fn, arguments);
      		//	|		}
      		//	|	});
      		return	{};	// Object
      	},
      		getInherited: function(name, caller, args){
      		// summary:
      		//		Returns a super method.
      		// name: String?
      		//		The optional method name. Should be the same as the caller's
      		//		name. Usually "name" is specified in complex dynamic cases, when
      		//		the calling method was dynamically added, undecorated by
      		//		declare(), and it cannot be determined.
      		// caller: Function?
      		//		The caller function. This is required when running in
      		//		strict-mode code. A reference to the caller function
      		//		can be obtained by using a named function expression
      		//		(e.g. function fn(a,b) {...}).
      		// args: Arguments
      		//		The caller supply this argument, which should be the original
      		//		"arguments".
      		// returns:
      		//		Returns a super method (Function) or "undefined".
      		// description:
      		//		This method is a convenience method for "this.inherited()".
      		//		It uses the same algorithm but instead of executing a super
      		//		method, it returns it, or "undefined" if not found.
      		//
      		// example:
      		//	|	var B = declare(A, {
      		//	|		method: function(a, b){
      		//	|			var super = this.getInherited(arguments);
      		//	|			// ...
      		//	|			if(!super){
      		//	|				console.log("there is no super method");
      		//	|				return 0;
      		//	|			}
      		//	|			return super.apply(this, arguments);
      		//	|		}
      		//	|	});
      		// example:
      		//	|	"use strict;" // first line of function or file
      		//	|	//...
      		//	|	var B = declare(A, {
      		//	|		// Using a named function expression with "fn" as the name,
      		//	|		// since we're in strict mode.
      		//	|		method: function fn(a, b){
      		//	|			var super = this.getInherited(fn, arguments);
      		//	|			if(super){
      		//	|				return super.apply(this, arguments);
      		//	|			}
      		//	|		}
      		//	|	});
      		return	{};	// Object
      	},
      		isInstanceOf: function(cls){
      		// summary:
      		//		Checks the inheritance chain to see if it is inherited from this
      		//		class.
      		// cls: Function
      		//		Class constructor.
      		// returns:
      		//		"true", if this object is inherited from this class, "false"
      		//		otherwise.
      		// description:
      		//		This method is used with instances of classes produced with
      		//		declare() to determine of they support a certain interface or
      		//		not. It models "instanceof" operator.
      		//
      		// example:
      		//	|	var A = declare(null, {
      		//	|		// constructor, properties, and methods go here
      		//	|		// ...
      		//	|	});
      		//	|	var B = declare(null, {
      		//	|		// constructor, properties, and methods go here
      		//	|		// ...
      		//	|	});
      		//	|	var C = declare([A, B], {
      		//	|		// constructor, properties, and methods go here
      		//	|		// ...
      		//	|	});
      		//	|	var D = declare(A, {
      		//	|		// constructor, properties, and methods go here
      		//	|		// ...
      		//	|	});
      		//	|
      		//	|	var a = new A(), b = new B(), c = new C(), d = new D();
      		//	|
      		//	|	console.log(a.isInstanceOf(A)); // true
      		//	|	console.log(b.isInstanceOf(A)); // false
      		//	|	console.log(c.isInstanceOf(A)); // true
      		//	|	console.log(d.isInstanceOf(A)); // true
      		//	|
      		//	|	console.log(a.isInstanceOf(B)); // false
      		//	|	console.log(b.isInstanceOf(B)); // true
      		//	|	console.log(c.isInstanceOf(B)); // true
      		//	|	console.log(d.isInstanceOf(B)); // false
      		//	|
      		//	|	console.log(a.isInstanceOf(C)); // false
      		//	|	console.log(b.isInstanceOf(C)); // false
      		//	|	console.log(c.isInstanceOf(C)); // true
      		//	|	console.log(d.isInstanceOf(C)); // false
      		//	|
      		//	|	console.log(a.isInstanceOf(D)); // false
      		//	|	console.log(b.isInstanceOf(D)); // false
      		//	|	console.log(c.isInstanceOf(D)); // false
      		//	|	console.log(d.isInstanceOf(D)); // true
      		return	{};	// Object
      	},
      		extend: function(source){
      		// summary:
      		//		Adds all properties and methods of source to constructor's
      		//		prototype, making them available to all instances created with
      		//		constructor. This method is specific to constructors created with
      		//		declare().
      		// source: Object
      		//		Source object which properties are going to be copied to the
      		//		constructor's prototype.
      		// description:
      		//		Adds source properties to the constructor's prototype. It can
      		//		override existing properties.
      		//
      		//		This method is similar to dojo.extend function, but it is specific
      		//		to constructors produced by declare(). It is implemented
      		//		using dojo.safeMixin, and it skips a constructor property,
      		//		and properly decorates copied functions.
      		//
      		// example:
      		//	|	var A = declare(null, {
      		//	|		m1: function(){},
      		//	|		s1: "Popokatepetl"
      		//	|	});
      		//	|	A.extend({
      		//	|		m1: function(){},
      		//	|		m2: function(){},
      		//	|		f1: true,
      		//	|		d1: 42
      		//	|	});
      	},
      		createSubclass: function(mixins, props){
      		// summary:
      		//		Create a subclass of the declared class from a list of base classes.
      		// mixins: Function[]
      		//		Specifies a list of bases (the left-most one is the most deepest
      		//		base).
      		// props: Object?
      		//		An optional object whose properties are copied to the created prototype.
      		// returns: dojo/_base/declare.__DeclareCreatedObject
      		//		New constructor function.
      		// description:
      		//		Create a constructor using a compact notation for inheritance and
      		//		prototype extension.
      		//
      		//		Mixin ancestors provide a type of multiple inheritance.
      		//		Prototypes of mixin ancestors are copied to the new class:
      		//		changes to mixin prototypes will not affect classes to which
      		//		they have been mixed in.
      		//
      		// example:
      		//	|	var A = declare(null, {
      		//	|		m1: function(){},
      		//	|		s1: "bar"
      		//	|	});
      		//	|	var B = declare(null, {
      		//	|		m2: function(){},
      		//	|		s2: "foo"
      		//	|	});
      		//	|	var C = declare(null, {
      		//	|	});
      		//	|	var D1 = A.createSubclass([B, C], {
      		//	|		m1: function(){},
      		//	|		d1: 42
      		//	|	});
      		//	|	var d1 = new D1();
      		//	|
      		//	|	// this is equivalent to:
      		//	|	var D2 = declare([A, B, C], {
      		//	|		m1: function(){},
      		//	|		d1: 42
      		//	|	});
      		//	|	var d2 = new D2();
      	}
      };
      =====*/
      // For back-compat, remove for 2.0


      dojo.safeMixin = declare.safeMixin = safeMixin;
      dojo.declare = declare;
      return declare;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/event.js":
  /*!******************************************!*\
    !*** ./node_modules/dojo/_base/event.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseEventJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../on */
    "./node_modules/dojo/on.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ../dom-geometry */
    "./node_modules/dojo/dom-geometry.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, on, has, dom) {
      // module:
      //		dojo/_base/event
      if (on._fixEvent) {
        var fixEvent = on._fixEvent;

        on._fixEvent = function (evt, se) {
          // add some additional normalization for back-compat, this isn't in on.js because it is somewhat more expensive
          evt = fixEvent(evt, se);

          if (evt) {
            dom.normalizeEvent(evt);
          }

          return evt;
        };
      }

      var ret = {
        // summary:
        //		This module defines dojo DOM event API.   Usually you should use dojo/on, and evt.stopPropagation() +
        //		evt.preventDefault(), rather than this module.
        fix: function fix(
        /*Event*/
        evt,
        /*DOMNode*/
        sender) {
          // summary:
          //		normalizes properties on the event object including event
          //		bubbling methods, keystroke normalization, and x/y positions
          // evt: Event
          //		native event object
          // sender: DOMNode
          //		node to treat as "currentTarget"
          if (on._fixEvent) {
            return on._fixEvent(evt, sender);
          }

          return evt; // Event
        },
        stop: function stop(
        /*Event*/
        evt) {
          // summary:
          //		prevents propagation and clobbers the default action of the
          //		passed event
          // evt: Event
          //		The event object. If omitted, window.event is used on IE.
          if (true) {
            evt.preventDefault();
            evt.stopPropagation();
          } else {}
        }
      };

      if (true) {
        dojo.fixEvent = ret.fix;
        dojo.stopEvent = ret.stop;
      }

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

  /***/
  "./node_modules/dojo/_base/json.js":
  /*!*****************************************!*\
    !*** ./node_modules/dojo/_base/json.js ***!
    \*****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseJsonJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../json */
    "./node_modules/dojo/json.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, json) {
      // module:
      //		dojo/_base/json

      /*=====
      return {
      	// summary:
      	//		This module defines the dojo JSON API.
      };
      =====*/
      dojo.fromJson = function (
      /*String*/
      js) {
        // summary:
        //		Parses a JavaScript expression and returns a JavaScript value.
        // description:
        //		Throws for invalid JavaScript expressions. It does not use a strict JSON parser. It
        //		always delegates to eval(). The content passed to this method must therefore come
        //		from a trusted source.
        //		It is recommend that you use dojo/json's parse function for an
        //		implementation uses the (faster) native JSON parse when available.
        // js:
        //		a string literal of a JavaScript expression, for instance:
        //		`'{ "foo": [ "bar", 1, { "baz": "thud" } ] }'`
        return eval("(" + js + ")"); // Object
      };
      /*=====
      dojo._escapeString = function(){
      	// summary:
      	//		Adds escape sequences for non-visual characters, double quote and
      	//		backslash and surrounds with double quotes to form a valid string
      	//		literal.
      };
      =====*/


      dojo._escapeString = json.stringify; // just delegate to json.stringify

      dojo.toJsonIndentStr = "\t";

      dojo.toJson = function (
      /*Object*/
      it,
      /*Boolean?*/
      prettyPrint) {
        // summary:
        //		Returns a [JSON](http://json.org) serialization of an object.
        // description:
        //		Returns a [JSON](http://json.org) serialization of an object.
        //		Note that this doesn't check for infinite recursion, so don't do that!
        //		It is recommend that you use dojo/json's stringify function for an lighter
        //		and faster implementation that matches the native JSON API and uses the
        //		native JSON serializer when available.
        // it:
        //		an object to be serialized. Objects may define their own
        //		serialization via a special "__json__" or "json" function
        //		property. If a specialized serializer has been defined, it will
        //		be used as a fallback.
        //		Note that in 1.6, toJson would serialize undefined, but this no longer supported
        //		since it is not supported by native JSON serializer.
        // prettyPrint:
        //		if true, we indent objects and arrays to make the output prettier.
        //		The variable `dojo.toJsonIndentStr` is used as the indent string --
        //		to use something other than the default (tab), change that variable
        //		before calling dojo.toJson().
        //		Note that if native JSON support is available, it will be used for serialization,
        //		and native implementations vary on the exact spacing used in pretty printing.
        // returns:
        //		A JSON string serialization of the passed-in object.
        // example:
        //		simple serialization of a trivial object
        //		|	var jsonStr = dojo.toJson({ howdy: "stranger!", isStrange: true });
        //		|	doh.is('{"howdy":"stranger!","isStrange":true}', jsonStr);
        // example:
        //		a custom serializer for an objects of a particular class:
        //		|	dojo.declare("Furby", null, {
        //		|		furbies: "are strange",
        //		|		furbyCount: 10,
        //		|		__json__: function(){
        //		|		},
        //		|	});
        // use dojo/json
        return json.stringify(it, function (key, value) {
          if (value) {
            var tf = value.__json__ || value.json;

            if (typeof tf == "function") {
              return tf.call(value);
            }
          }

          return value;
        }, prettyPrint && dojo.toJsonIndentStr); // String
      };

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

  /***/
  "./node_modules/dojo/_base/kernel.js":
  /*!*******************************************!*\
    !*** ./node_modules/dojo/_base/kernel.js ***!
    \*******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseKernelJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../global */
    "./node_modules/dojo/global.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./config */
    "./node_modules/dojo/_base/config.js"), __webpack_require__.dj.c(module.i), __webpack_require__.dj.m(module)], __WEBPACK_AMD_DEFINE_RESULT__ = function (global, has, config, require, module) {
      // module:
      //		dojo/_base/kernel
      // This module is the foundational module of the dojo boot sequence; it defines the dojo object.
      var // loop variables for this module
      i,
          p,
          // create dojo, dijit, and dojox
      // FIXME: in 2.0 remove dijit, dojox being created by dojo
      dijit = {},
          dojox = {},
          dojo = {
        // summary:
        //		This module is the foundational module of the dojo boot sequence; it defines the dojo object.
        // notice dojo takes ownership of the value of the config module
        config: config,
        global: global,
        dijit: dijit,
        dojox: dojox
      }; // Configure the scope map. For a 100% AMD application, the scope map is not needed other than to provide
      // a _scopeName property for the dojo, dijit, and dojox root object so those packages can create
      // unique names in the global space.
      //
      // Built, legacy modules use the scope map to allow those modules to be expressed as if dojo, dijit, and dojox,
      // where global when in fact they are either global under different names or not global at all. In v1.6-, the
      // config variable "scopeMap" was used to map names as used within a module to global names. This has been
      // subsumed by the AMD map configuration variable which can relocate packages to different names. For backcompat,
      // only the "*" mapping is supported. See http://livedocs.dojotoolkit.org/developer/design/loader#legacy-cross-domain-mode for details.
      //
      // The following computations contort the packageMap for this dojo instance into a scopeMap.

      var scopeMap = // a map from a name used in a legacy module to the (global variable name, object addressed by that name)
      // always map dojo, dijit, and dojox
      {
        dojo: ["dojo", dojo],
        dijit: ["dijit", dijit],
        dojox: ["dojox", dojox]
      },
          packageMap = // the package map for this dojo instance; note, a foreign loader or no pacakgeMap results in the above default config
      require.map && require.map[module.id.match(/[^\/]+/)[0]],
          item; // process all mapped top-level names for this instance of dojo


      for (p in packageMap) {
        if (scopeMap[p]) {
          // mapped dojo, dijit, or dojox
          scopeMap[p][0] = packageMap[p];
        } else {
          // some other top-level name
          scopeMap[p] = [packageMap[p], {}];
        }
      } // publish those names to _scopeName and, optionally, the global namespace


      for (p in scopeMap) {
        item = scopeMap[p];
        item[1]._scopeName = item[0];

        if (!config.noGlobals) {
          global[item[0]] = item[1];
        }
      }

      dojo.scopeMap = scopeMap;
      /*===== dojo.__docParserConfigureScopeMap(scopeMap); =====*/
      // FIXME: dojo.baseUrl and dojo.config.baseUrl should be deprecated

      dojo.baseUrl = dojo.config.baseUrl = require.baseUrl;
      dojo.isAsync = false || require.async;
      dojo.locale = config.locale;
      var rev = "$Rev: d6e8ff38 $".match(/[0-9a-f]{7,}/);
      dojo.version = {
        // summary:
        //		Version number of the Dojo Toolkit
        // description:
        //		Hash about the version, including
        //
        //		- major: Integer: Major version. If total version is "1.2.0beta1", will be 1
        //		- minor: Integer: Minor version. If total version is "1.2.0beta1", will be 2
        //		- patch: Integer: Patch version. If total version is "1.2.0beta1", will be 0
        //		- flag: String: Descriptor flag. If total version is "1.2.0beta1", will be "beta1"
        //		- revision: Number: The Git rev from which dojo was pulled
        major: 1,
        minor: 14,
        patch: 2,
        flag: "",
        revision: rev ? rev[0] : NaN,
        toString: function toString() {
          var v = dojo.version;
          return v.major + "." + v.minor + "." + v.patch + v.flag + " (" + v.revision + ")"; // String
        }
      }; // If has("extend-dojo") is truthy, then as a dojo module is defined it should push it's definitions
      // into the dojo object, and conversely. In 2.0, it will likely be unusual to augment another object
      // as a result of defining a module. This has feature gives a way to force 2.0 behavior as the code
      // is migrated. Absent specific advice otherwise, set extend-dojo to truthy.

      has.add("extend-dojo", 1);

      if (!has("csp-restrictions")) {
        Function("d", "d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(dojo);
      }
      /*=====
      dojo.eval = function(scriptText){
      	// summary:
      	//		A legacy method created for use exclusively by internal Dojo methods. Do not use this method
      	//		directly unless you understand its possibly-different implications on the platforms your are targeting.
      	// description:
      	//		Makes an attempt to evaluate scriptText in the global scope. The function works correctly for browsers
      	//		that support indirect eval.
      	//
      	//		As usual, IE does not. On IE, the only way to implement global eval is to
      	//		use execScript. Unfortunately, execScript does not return a value and breaks some current usages of dojo.eval.
      	//		This implementation uses the technique of executing eval in the scope of a function that is a single scope
      	//		frame below the global scope; thereby coming close to the global scope. Note carefully that
      	//
      	//		dojo.eval("var pi = 3.14;");
      	//
      	//		will define global pi in non-IE environments, but define pi only in a temporary local scope for IE. If you want
      	//		to define a global variable using dojo.eval, write something like
      	//
      	//		dojo.eval("window.pi = 3.14;")
      	// scriptText:
      	//		The text to evaluation.
      	// returns:
      	//		The result of the evaluation. Often `undefined`
      };
      =====*/


      if (has("host-rhino")) {
        dojo.exit = function (exitcode) {
          quit(exitcode);
        };
      } else {
        dojo.exit = function () {};
      }

      if (!has("host-webworker")) {
        // console is immutable in FF30+, https://bugs.dojotoolkit.org/ticket/18100
        has.add("dojo-guarantee-console", // ensure that console.log, console.warn, etc. are defined
        1);
      }

      if (true) {
        // IE 9 bug: https://bugs.dojotoolkit.org/ticket/18197
        has.add("console-as-object", function () {
          return Function.prototype.bind && console && typeof console.log === "object";
        });
        typeof console != "undefined" || (console = {}); // intentional assignment
        //	Be careful to leave 'log' always at the end

        var cn = ["assert", "count", "debug", "dir", "dirxml", "error", "group", "groupEnd", "info", "profile", "profileEnd", "time", "timeEnd", "trace", "warn", "log"];
        var tn;
        i = 0;

        while (tn = cn[i++]) {
          if (!console[tn]) {
            (function () {
              var tcn = tn + "";
              console[tcn] = 'log' in console ? function () {
                var a = Array.prototype.slice.call(arguments);
                a.unshift(tcn + ":");
                console["log"](a.join(" "));
              } : function () {};
              console[tcn]._fake = true;
            })();
          } else if (true) {
            console[tn] = Function.prototype.bind.call(console[tn], console);
          }
        }
      }

      has.add("dojo-debug-messages", // include dojo.deprecated/dojo.experimental implementations
      !!config.isDebug);

      dojo.deprecated = dojo.experimental = function () {};

      if (false) {}

      has.add("dojo-modulePaths", // consume dojo.modulePaths processing
      1);

      if (false) {
        var paths;
      }

      has.add("dojo-moduleUrl", // include dojo.moduleUrl
      1);

      if (false) {}

      dojo._hasResource = {}; // for backward compatibility with layers built with 1.6 tooling

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

  /***/
  "./node_modules/dojo/_base/lang.js":
  /*!*****************************************!*\
    !*** ./node_modules/dojo/_base/lang.js ***!
    \*****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseLangJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ../sniff */
    "./node_modules/dojo/sniff.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, has) {
      // module:
      //		dojo/_base/lang
      has.add("bug-for-in-skips-shadowed", function () {
        // if true, the for-in iterator skips object properties that exist in Object's prototype (IE 6 - ?)
        for (var i in {
          toString: 1
        }) {
          return 0;
        }

        return 1;
      }); // Helper methods

      var _extraNames = false ? undefined : [],
          _extraLen = _extraNames.length,
          getProp = function getProp(
      /*Array*/
      parts,
      /*Boolean*/
      create,
      /*Object*/
      context) {
        if (!context) {
          if (parts[0] && dojo.scopeMap[parts[0]]) {
            // Voodoo code from the old days where "dojo" or "dijit" maps to some special object
            // rather than just window.dojo
            context = dojo.scopeMap[parts.shift()][1];
          } else {
            context = dojo.global;
          }
        }

        try {
          for (var i = 0; i < parts.length; i++) {
            var p = parts[i];

            if (!(p in context)) {
              if (create) {
                context[p] = {};
              } else {
                return; // return undefined
              }
            }

            context = context[p];
          }

          return context; // mixed
        } catch (e) {// "p in context" throws an exception when context is a number, boolean, etc. rather than an object,
          // so in that corner case just return undefined (by having no return statement)
        }
      },
          opts = Object.prototype.toString,
          efficient = function efficient(obj, offset, startWith) {
        return (startWith || []).concat(Array.prototype.slice.call(obj, offset || 0));
      },
          _pattern = /\{([^\}]+)\}/g; // Module export


      var lang = {
        // summary:
        //		This module defines Javascript language extensions.
        // _extraNames: String[]
        //		Lists property names that must be explicitly processed during for-in iteration
        //		in environments that have has("bug-for-in-skips-shadowed") true.
        _extraNames: _extraNames,
        _mixin: function _mixin(dest, source, copyFunc) {
          // summary:
          //		Copies/adds all properties of source to dest; returns dest.
          // dest: Object
          //		The object to which to copy/add all properties contained in source.
          // source: Object
          //		The object from which to draw all properties to copy into dest.
          // copyFunc: Function?
          //		The process used to copy/add a property in source; defaults to the Javascript assignment operator.
          // returns:
          //		dest, as modified
          // description:
          //		All properties, including functions (sometimes termed "methods"), excluding any non-standard extensions
          //		found in Object.prototype, are copied/added to dest. Copying/adding each particular property is
          //		delegated to copyFunc (if any); copyFunc defaults to the Javascript assignment operator if not provided.
          //		Notice that by default, _mixin executes a so-called "shallow copy" and aggregate types are copied/added by reference.
          var name,
              s,
              i,
              empty = {};

          for (name in source) {
            // the (!(name in empty) || empty[name] !== s) condition avoids copying properties in "source"
            // inherited from Object.prototype.	 For example, if dest has a custom toString() method,
            // don't overwrite it with the toString() method that source inherited from Object.prototype
            s = source[name];

            if (!(name in dest) || dest[name] !== s && (!(name in empty) || empty[name] !== s)) {
              dest[name] = copyFunc ? copyFunc(s) : s;
            }
          }

          if (false) {}

          return dest; // Object
        },
        mixin: function mixin(dest, sources) {
          // summary:
          //		Copies/adds all properties of one or more sources to dest; returns dest.
          // dest: Object
          //		The object to which to copy/add all properties contained in source. If dest is falsy, then
          //		a new object is manufactured before copying/adding properties begins.
          // sources: Object...
          //		One of more objects from which to draw all properties to copy into dest. sources are processed
          //		left-to-right and if more than one of these objects contain the same property name, the right-most
          //		value "wins".
          // returns: Object
          //		dest, as modified
          // description:
          //		All properties, including functions (sometimes termed "methods"), excluding any non-standard extensions
          //		found in Object.prototype, are copied/added from sources to dest. sources are processed left to right.
          //		The Javascript assignment operator is used to copy/add each property; therefore, by default, mixin
          //		executes a so-called "shallow copy" and aggregate types are copied/added by reference.
          // example:
          //		make a shallow copy of an object
          //	|	var copy = lang.mixin({}, source);
          // example:
          //		many class constructors often take an object which specifies
          //		values to be configured on the object. In this case, it is
          //		often simplest to call `lang.mixin` on the `this` object:
          //	|	declare("acme.Base", null, {
          //	|		constructor: function(properties){
          //	|			// property configuration:
          //	|			lang.mixin(this, properties);
          //	|
          //	|			console.log(this.quip);
          //	|			//	...
          //	|		},
          //	|		quip: "I wasn't born yesterday, you know - I've seen movies.",
          //	|		// ...
          //	|	});
          //	|
          //	|	// create an instance of the class and configure it
          //	|	var b = new acme.Base({quip: "That's what it does!" });
          // example:
          //		copy in properties from multiple objects
          //	|	var flattened = lang.mixin(
          //	|		{
          //	|			name: "Frylock",
          //	|			braces: true
          //	|		},
          //	|		{
          //	|			name: "Carl Brutanananadilewski"
          //	|		}
          //	|	);
          //	|
          //	|	// will print "Carl Brutanananadilewski"
          //	|	console.log(flattened.name);
          //	|	// will print "true"
          //	|	console.log(flattened.braces);
          if (!dest) {
            dest = {};
          }

          for (var i = 1, l = arguments.length; i < l; i++) {
            lang._mixin(dest, arguments[i]);
          }

          return dest; // Object
        },
        setObject: function setObject(name, value, context) {
          // summary:
          //		Set a property from a dot-separated string, such as "A.B.C"
          // description:
          //		Useful for longer api chains where you have to test each object in
          //		the chain, or when you have an object reference in string format.
          //		Objects are created as needed along `path`. Returns the passed
          //		value if setting is successful or `undefined` if not.
          // name: String
          //		Path to a property, in the form "A.B.C".
          // value: anything
          //		value or object to place at location given by name
          // context: Object?
          //		Optional. Object to use as root of path. Defaults to
          //		`dojo.global`.
          // example:
          //		set the value of `foo.bar.baz`, regardless of whether
          //		intermediate objects already exist:
          //	| lang.setObject("foo.bar.baz", value);
          // example:
          //		without `lang.setObject`, we often see code like this:
          //	| // ensure that intermediate objects are available
          //	| if(!obj["parent"]){ obj.parent = {}; }
          //	| if(!obj.parent["child"]){ obj.parent.child = {}; }
          //	| // now we can safely set the property
          //	| obj.parent.child.prop = "some value";
          //		whereas with `lang.setObject`, we can shorten that to:
          //	| lang.setObject("parent.child.prop", "some value", obj);
          var parts = name.split("."),
              p = parts.pop(),
              obj = getProp(parts, true, context);
          return obj && p ? obj[p] = value : undefined; // Object
        },
        getObject: function getObject(name, create, context) {
          // summary:
          //		Get a property from a dot-separated string, such as "A.B.C"
          // description:
          //		Useful for longer api chains where you have to test each object in
          //		the chain, or when you have an object reference in string format.
          // name: String
          //		Path to an property, in the form "A.B.C".
          // create: Boolean?
          //		Optional. Defaults to `false`. If `true`, Objects will be
          //		created at any point along the 'path' that is undefined.
          // context: Object?
          //		Optional. Object to use as root of path. Defaults to
          //		'dojo.global'. Null may be passed.
          return !name ? context : getProp(name.split("."), create, context); // Object
        },
        exists: function exists(name, obj) {
          // summary:
          //		determine if an object supports a given method
          // description:
          //		useful for longer api chains where you have to test each object in
          //		the chain. Useful for object and method detection.
          // name: String
          //		Path to an object, in the form "A.B.C".
          // obj: Object?
          //		Object to use as root of path. Defaults to
          //		'dojo.global'. Null may be passed.
          // example:
          //	| // define an object
          //	| var foo = {
          //	|		bar: { }
          //	| };
          //	|
          //	| // search the global scope
          //	| lang.exists("foo.bar"); // true
          //	| lang.exists("foo.bar.baz"); // false
          //	|
          //	| // search from a particular scope
          //	| lang.exists("bar", foo); // true
          //	| lang.exists("bar.baz", foo); // false
          return lang.getObject(name, false, obj) !== undefined; // Boolean
        },
        // Crockford (ish) functions
        isString: function isString(it) {
          // summary:
          //		Return true if it is a String
          // it: anything
          //		Item to test.
          return typeof it == "string" || it instanceof String; // Boolean
        },
        isArray: Array.isArray || function (it) {
          // summary:
          //		Return true if it is an Array.
          // it: anything
          //		Item to test.
          return opts.call(it) == "[object Array]"; // Boolean
        },
        isFunction: function isFunction(it) {
          // summary:
          //		Return true if it is a Function
          // it: anything
          //		Item to test.
          return opts.call(it) === "[object Function]";
        },
        isObject: function isObject(it) {
          // summary:
          //		Returns true if it is a JavaScript object (or an Array, a Function
          //		or null)
          // it: anything
          //		Item to test.
          return it !== undefined && (it === null || typeof it == "object" || lang.isArray(it) || lang.isFunction(it)); // Boolean
        },
        isArrayLike: function isArrayLike(it) {
          // summary:
          //		similar to isArray() but more permissive
          // it: anything
          //		Item to test.
          // returns:
          //		If it walks like a duck and quacks like a duck, return `true`
          // description:
          //		Doesn't strongly test for "arrayness".  Instead, settles for "isn't
          //		a string or number and has a length property". Arguments objects
          //		and DOM collections will return true when passed to
          //		isArrayLike(), but will return false when passed to
          //		isArray().
          return !!it && // Boolean
          // keep out built-in constructors (Number, String, ...) which have length
          // properties
          !lang.isString(it) && !lang.isFunction(it) && !(it.tagName && it.tagName.toLowerCase() == 'form') && (lang.isArray(it) || isFinite(it.length));
        },
        isAlien: function isAlien(it) {
          // summary:
          //		Returns true if it is a built-in function or some other kind of
          //		oddball that *should* report as a function but doesn't
          return it && !lang.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean
        },
        extend: function extend(ctor, props) {
          // summary:
          //		Adds all properties and methods of props to constructor's
          //		prototype, making them available to all instances created with
          //		constructor.
          // ctor: Object
          //		Target constructor to extend.
          // props: Object
          //		One or more objects to mix into ctor.prototype
          for (var i = 1, l = arguments.length; i < l; i++) {
            lang._mixin(ctor.prototype, arguments[i]);
          }

          return ctor; // Object
        },
        _hitchArgs: function _hitchArgs(scope, method) {
          var pre = lang._toArray(arguments, 2);

          var named = lang.isString(method);
          return function () {
            // arrayify arguments
            var args = lang._toArray(arguments); // locate our method


            var f = named ? (scope || dojo.global)[method] : method; // invoke with collected args

            return f && f.apply(scope || this, pre.concat(args)); // mixed
          }; // Function
        },
        hitch: function hitch(scope, method) {
          // summary:
          //		Returns a function that will only ever execute in the given scope.
          //		This allows for easy use of object member functions
          //		in callbacks and other places in which the "this" keyword may
          //		otherwise not reference the expected scope.
          //		Any number of default positional arguments may be passed as parameters
          //		beyond "method".
          //		Each of these values will be used to "placehold" (similar to curry)
          //		for the hitched function.
          // scope: Object
          //		The scope to use when method executes. If method is a string,
          //		scope is also the object containing method.
          // method: Function|String...
          //		A function to be hitched to scope, or the name of the method in
          //		scope to be hitched.
          // example:
          //	|	lang.hitch(foo, "bar")();
          //		runs foo.bar() in the scope of foo
          // example:
          //	|	lang.hitch(foo, myFunction);
          //		returns a function that runs myFunction in the scope of foo
          // example:
          //		Expansion on the default positional arguments passed along from
          //		hitch. Passed args are mixed first, additional args after.
          //	|	var foo = { bar: function(a, b, c){ console.log(a, b, c); } };
          //	|	var fn = lang.hitch(foo, "bar", 1, 2);
          //	|	fn(3); // logs "1, 2, 3"
          // example:
          //	|	var foo = { bar: 2 };
          //	|	lang.hitch(foo, function(){ this.bar = 10; })();
          //		execute an anonymous function in scope of foo
          if (arguments.length > 2) {
            return lang._hitchArgs.apply(dojo, arguments); // Function
          }

          if (!method) {
            method = scope;
            scope = null;
          }

          if (lang.isString(method)) {
            scope = scope || dojo.global;

            if (!scope[method]) {
              throw ['lang.hitch: scope["', method, '"] is null (scope="', scope, '")'].join('');
            }

            return function () {
              return scope[method].apply(scope, arguments || []);
            }; // Function
          }

          return !scope ? method : function () {
            return method.apply(scope, arguments || []);
          }; // Function
        },
        delegate: function () {
          // boodman/crockford delegation w/ cornford optimization
          function TMP() {}

          return function (obj, props) {
            TMP.prototype = obj;
            var tmp = new TMP();
            TMP.prototype = null;

            if (props) {
              lang._mixin(tmp, props);
            }

            return tmp; // Object
          };
        }(),

        /*=====
        delegate: function(obj, props){
        	// summary:
        	//		Returns a new object which "looks" to obj for properties which it
        	//		does not have a value for. Optionally takes a bag of properties to
        	//		seed the returned object with initially.
        	// description:
        	//		This is a small implementation of the Boodman/Crockford delegation
        	//		pattern in JavaScript. An intermediate object constructor mediates
        	//		the prototype chain for the returned object, using it to delegate
        	//		down to obj for property lookup when object-local lookup fails.
        	//		This can be thought of similarly to ES4's "wrap", save that it does
        	//		not act on types but rather on pure objects.
        	// obj: Object
        	//		The object to delegate to for properties not found directly on the
        	//		return object or in props.
        	// props: Object...
        	//		an object containing properties to assign to the returned object
        	// returns:
        	//		an Object of anonymous type
        	// example:
        	//	|	var foo = { bar: "baz" };
        	//	|	var thinger = lang.delegate(foo, { thud: "xyzzy"});
        	//	|	thinger.bar == "baz"; // delegated to foo
        	//	|	foo.thud == undefined; // by definition
        	//	|	thinger.thud == "xyzzy"; // mixed in from props
        	//	|	foo.bar = "thonk";
        	//	|	thinger.bar == "thonk"; // still delegated to foo's bar
        },
        =====*/
        _toArray: has("ie") ? function () {
          function slow(obj, offset, startWith) {
            var arr = startWith || [];

            for (var x = offset || 0; x < obj.length; x++) {
              arr.push(obj[x]);
            }

            return arr;
          }

          return function (obj) {
            return (obj.item ? slow : efficient).apply(this, arguments);
          };
        }() : efficient,

        /*=====
         _toArray: function(obj, offset, startWith){
        	 // summary:
        	 //		Converts an array-like object (i.e. arguments, DOMCollection) to an
        	 //		array. Returns a new Array with the elements of obj.
        	 // obj: Object
        	 //		the object to "arrayify". We expect the object to have, at a
        	 //		minimum, a length property which corresponds to integer-indexed
        	 //		properties.
        	 // offset: Number?
        	 //		the location in obj to start iterating from. Defaults to 0.
        	 //		Optional.
        	 // startWith: Array?
        	 //		An array to pack with the properties of obj. If provided,
        	 //		properties in obj are appended at the end of startWith and
        	 //		startWith is the returned array.
         },
         =====*/
        partial: function partial(
        /*Function|String*/
        method
        /*, ...*/
        ) {
          // summary:
          //		similar to hitch() except that the scope object is left to be
          //		whatever the execution context eventually becomes.
          // description:
          //		Calling lang.partial is the functional equivalent of calling:
          //		|	lang.hitch(null, funcName, ...);
          // method:
          //		The function to "wrap"
          var arr = [null];
          return lang.hitch.apply(dojo, arr.concat(lang._toArray(arguments))); // Function
        },
        clone: function clone(
        /*anything*/
        src) {
          // summary:
          //		Clones objects (including DOM nodes) and all children.
          //		Warning: do not clone cyclic structures.
          // src:
          //		The object to clone
          if (!src || typeof src != "object" || lang.isFunction(src)) {
            // null, undefined, any non-object, or function
            return src; // anything
          }

          if (src.nodeType && "cloneNode" in src) {
            // DOM Node
            return src.cloneNode(true); // Node
          }

          if (src instanceof Date) {
            // Date
            return new Date(src.getTime()); // Date
          }

          if (src instanceof RegExp) {
            // RegExp
            return new RegExp(src); // RegExp
          }

          var r, i, l;

          if (lang.isArray(src)) {
            // array
            r = [];

            for (i = 0, l = src.length; i < l; ++i) {
              if (i in src) {
                r[i] = lang.clone(src[i]);
              }
            } // we don't clone functions for performance reasons
            //		}else if(d.isFunction(src)){
            //			// function
            //			r = function(){ return src.apply(this, arguments); };

          } else {
            // generic objects
            r = src.constructor ? new src.constructor() : {};
          }

          return lang._mixin(r, src, lang.clone);
        },
        trim: String.prototype.trim ? function (str) {
          return str.trim();
        } : function (str) {
          return str.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
        },

        /*=====
         trim: function(str){
        	 // summary:
        	 //		Trims whitespace from both sides of the string
        	 // str: String
        	 //		String to be trimmed
        	 // returns: String
        	 //		Returns the trimmed string
        	 // description:
        	 //		This version of trim() was selected for inclusion into the base due
        	 //		to its compact size and relatively good performance
        	 //		(see [Steven Levithan's blog](http://blog.stevenlevithan.com/archives/faster-trim-javascript)
        	 //		Uses String.prototype.trim instead, if available.
        	 //		The fastest but longest version of this function is located at
        	 //		lang.string.trim()
         },
         =====*/
        replace: function replace(tmpl, map, pattern) {
          // summary:
          //		Performs parameterized substitutions on a string. Throws an
          //		exception if any parameter is unmatched.
          // tmpl: String
          //		String to be used as a template.
          // map: Object|Function
          //		If an object, it is used as a dictionary to look up substitutions.
          //		If a function, it is called for every substitution with following parameters:
          //		a whole match, a name, an offset, and the whole template
          //		string (see https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String/replace
          //		for more details).
          // pattern: RegEx?
          //		Optional regular expression objects that overrides the default pattern.
          //		Must be global and match one item. The default is: /\{([^\}]+)\}/g,
          //		which matches patterns like that: "{xxx}", where "xxx" is any sequence
          //		of characters, which doesn't include "}".
          // returns: String
          //		Returns the substituted string.
          // example:
          //	|	// uses a dictionary for substitutions:
          //	|	lang.replace("Hello, {name.first} {name.last} AKA {nick}!",
          //	|		{
          //	|			nick: "Bob",
          //	|			name: {
          //	|				first:	"Robert",
          //	|				middle: "X",
          //	|				last:		"Cringely"
          //	|			}
          //	|		});
          //	|	// returns: Hello, Robert Cringely AKA Bob!
          // example:
          //	|	// uses an array for substitutions:
          //	|	lang.replace("Hello, {0} {2}!",
          //	|		["Robert", "X", "Cringely"]);
          //	|	// returns: Hello, Robert Cringely!
          // example:
          //	|	// uses a function for substitutions:
          //	|	function sum(a){
          //	|		var t = 0;
          //	|		arrayforEach(a, function(x){ t += x; });
          //	|		return t;
          //	|	}
          //	|	lang.replace(
          //	|		"{count} payments averaging {avg} USD per payment.",
          //	|		lang.hitch(
          //	|			{ payments: [11, 16, 12] },
          //	|			function(_, key){
          //	|				switch(key){
          //	|					case "count": return this.payments.length;
          //	|					case "min":		return Math.min.apply(Math, this.payments);
          //	|					case "max":		return Math.max.apply(Math, this.payments);
          //	|					case "sum":		return sum(this.payments);
          //	|					case "avg":		return sum(this.payments) / this.payments.length;
          //	|				}
          //	|			}
          //	|		)
          //	|	);
          //	|	// prints: 3 payments averaging 13 USD per payment.
          // example:
          //	|	// uses an alternative PHP-like pattern for substitutions:
          //	|	lang.replace("Hello, ${0} ${2}!",
          //	|		["Robert", "X", "Cringely"], /\$\{([^\}]+)\}/g);
          //	|	// returns: Hello, Robert Cringely!
          return tmpl.replace(pattern || _pattern, lang.isFunction(map) ? map : function (_, k) {
            return lang.getObject(k, false, map);
          });
        }
      };
      true && lang.mixin(dojo, lang);
      return lang;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/sniff.js":
  /*!******************************************!*\
    !*** ./node_modules/dojo/_base/sniff.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseSniffJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../sniff */
    "./node_modules/dojo/sniff.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, lang, has) {
      // module:
      //		dojo/_base/sniff

      /*=====
      return {
      	// summary:
      	//		Deprecated.   New code should use dojo/sniff.
      	//		This module populates the dojo browser version sniffing properties like dojo.isIE.
      };
      =====*/
      if (false) {} // no idea what this is for, or if it's used


      dojo._name = "browser";
      lang.mixin(dojo, {
        // isBrowser: Boolean
        //		True if the client is a web-browser
        isBrowser: true,
        // isFF: Number|undefined
        //		Version as a Number if client is FireFox. undefined otherwise. Corresponds to
        //		major detected FireFox version (1.5, 2, 3, etc.)
        isFF: has("ff"),
        // isIE: Number|undefined
        //		Version as a Number if client is MSIE(PC). undefined otherwise. Corresponds to
        //		major detected IE version (6, 7, 8, etc.)
        isIE: has("ie"),
        // isKhtml: Number|undefined
        //		Version as a Number if client is a KHTML browser. undefined otherwise. Corresponds to major
        //		detected version.
        isKhtml: has("khtml"),
        // isWebKit: Number|undefined
        //		Version as a Number if client is a WebKit-derived browser (Konqueror,
        //		Safari, Chrome, etc.). undefined otherwise.
        isWebKit: has("webkit"),
        // isMozilla: Number|undefined
        //		Version as a Number if client is a Mozilla-based browser (Firefox,
        //		SeaMonkey). undefined otherwise. Corresponds to major detected version.
        isMozilla: has("mozilla"),
        // isMoz: Number|undefined
        //		Version as a Number if client is a Mozilla-based browser (Firefox,
        //		SeaMonkey). undefined otherwise. Corresponds to major detected version.
        isMoz: has("mozilla"),
        // isOpera: Number|undefined
        //		Version as a Number if client is Opera. undefined otherwise. Corresponds to
        //		major detected version.
        isOpera: has("opera"),
        // isSafari: Number|undefined
        //		Version as a Number if client is Safari or iPhone. undefined otherwise.
        isSafari: has("safari"),
        // isChrome: Number|undefined
        //		Version as a Number if client is Chrome browser. undefined otherwise.
        isChrome: has("chrome"),
        // isMac: Boolean
        //		True if the client runs on Mac
        isMac: has("mac"),
        // isIos: Number|undefined
        //		Version as a Number if client is iPhone, iPod, or iPad. undefined otherwise.
        isIos: has("ios"),
        // isAndroid: Number|undefined
        //		Version as a Number if client is android browser. undefined otherwise.
        isAndroid: has("android"),
        // isWii: Boolean
        //		True if client is Wii
        isWii: has("wii"),
        // isQuirks: Boolean
        //		Page is in quirks mode.
        isQuirks: has("quirks"),
        // isAir: Boolean
        //		True if client is Adobe Air
        isAir: has("air")
      });
      return has;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/window.js":
  /*!*******************************************!*\
    !*** ./node_modules/dojo/_base/window.js ***!
    \*******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseWindowJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../sniff */
    "./node_modules/dojo/sniff.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, lang, has) {
      // module:
      //		dojo/_base/window
      var ret = {
        // summary:
        //		API to save/set/restore the global/document scope.
        global: dojo.global,

        /*=====
         global: {
        	 // summary:
        	 //		Alias for the current window. 'global' can be modified
        	 //		for temporary context shifting. See also withGlobal().
        	 // description:
        	 //		Use this rather than referring to 'window' to ensure your code runs
        	 //		correctly in managed contexts.
         },
         =====*/
        doc: dojo.global["document"] || null,

        /*=====
        doc: {
        	// summary:
        	//		Alias for the current document. 'doc' can be modified
        	//		for temporary context shifting. See also withDoc().
        	// description:
        	//		Use this rather than referring to 'window.document' to ensure your code runs
        	//		correctly in managed contexts.
        	// example:
        	//	|	n.appendChild(dojo.doc.createElement('div'));
        },
        =====*/
        body: function body(
        /*Document?*/
        doc) {
          // summary:
          //		Return the body element of the specified document or of dojo/_base/window::doc.
          // example:
          //	|	win.body().appendChild(dojo.doc.createElement('div'));
          // Note: document.body is not defined for a strict xhtml document
          // Would like to memoize this, but dojo.doc can change vi dojo.withDoc().
          doc = doc || dojo.doc;
          return doc.body || doc.getElementsByTagName("body")[0]; // Node
        },
        setContext: function setContext(
        /*Object*/
        globalObject,
        /*DocumentElement*/
        globalDocument) {
          // summary:
          //		changes the behavior of many core Dojo functions that deal with
          //		namespace and DOM lookup, changing them to work in a new global
          //		context (e.g., an iframe). The varibles dojo.global and dojo.doc
          //		are modified as a result of calling this function and the result of
          //		`dojo.body()` likewise differs.
          dojo.global = ret.global = globalObject;
          dojo.doc = ret.doc = globalDocument;
        },
        withGlobal: function withGlobal(
        /*Object*/
        globalObject,
        /*Function*/
        callback,
        /*Object?*/
        thisObject,
        /*Array?*/
        cbArguments) {
          // summary:
          //		Invoke callback with globalObject as dojo.global and
          //		globalObject.document as dojo.doc.
          // description:
          //		Invoke callback with globalObject as dojo.global and
          //		globalObject.document as dojo.doc. If provided, globalObject
          //		will be executed in the context of object thisObject
          //		When callback() returns or throws an error, the dojo.global
          //		and dojo.doc will be restored to its previous state.
          var oldGlob = dojo.global;

          try {
            dojo.global = ret.global = globalObject;
            return ret.withDoc.call(null, globalObject.document, callback, thisObject, cbArguments);
          } finally {
            dojo.global = ret.global = oldGlob;
          }
        },
        withDoc: function withDoc(
        /*DocumentElement*/
        documentObject,
        /*Function*/
        callback,
        /*Object?*/
        thisObject,
        /*Array?*/
        cbArguments) {
          // summary:
          //		Invoke callback with documentObject as dojo/_base/window::doc.
          // description:
          //		Invoke callback with documentObject as dojo/_base/window::doc. If provided,
          //		callback will be executed in the context of object thisObject
          //		When callback() returns or throws an error, the dojo/_base/window::doc will
          //		be restored to its previous state.
          var oldDoc = ret.doc,
              oldQ = has("quirks"),
              oldIE = has("ie"),
              isIE,
              mode,
              pwin;

          try {
            dojo.doc = ret.doc = documentObject; // update dojo.isQuirks and the value of the has feature "quirks".
            // remove setting dojo.isQuirks and dojo.isIE for 2.0

            dojo.isQuirks = has.add("quirks", dojo.doc.compatMode == "BackCompat", true, true); // no need to check for QuirksMode which was Opera 7 only

            if (has("ie")) {
              if ((pwin = documentObject.parentWindow) && pwin.navigator) {
                // re-run IE detection logic and update dojo.isIE / has("ie")
                // (the only time parentWindow/navigator wouldn't exist is if we were not
                // passed an actual legitimate document object)
                isIE = parseFloat(pwin.navigator.appVersion.split("MSIE ")[1]) || undefined;
                mode = documentObject.documentMode;

                if (mode && mode != 5 && Math.floor(isIE) != mode) {
                  isIE = mode;
                }

                dojo.isIE = has.add("ie", isIE, true, true);
              }
            }

            if (thisObject && typeof callback == "string") {
              callback = thisObject[callback];
            }

            return callback.apply(thisObject, cbArguments || []);
          } finally {
            dojo.doc = ret.doc = oldDoc;
            dojo.isQuirks = has.add("quirks", oldQ, true, true);
            dojo.isIE = has.add("ie", oldIE, true, true);
          }
        }
      };
      true && lang.mixin(dojo, ret);
      return ret;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/_base/xhr.js":
  /*!****************************************!*\
    !*** ./node_modules/dojo/_base/xhr.js ***!
    \****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojo_baseXhrJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/_base/sniff.js"), __webpack_require__.dj.c(module.i), __webpack_require__(
    /*! ../io-query */
    "./node_modules/dojo/io-query.js"),
    /*===== "./declare", =====*/
    __webpack_require__(
    /*! ../dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ../dom-form */
    "./node_modules/dojo/dom-form.js"), __webpack_require__(
    /*! ./Deferred */
    "./node_modules/dojo/_base/Deferred.js"), __webpack_require__(
    /*! ./config */
    "./node_modules/dojo/_base/config.js"), __webpack_require__(
    /*! ./json */
    "./node_modules/dojo/_base/json.js"), __webpack_require__(
    /*! ./lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ../on */
    "./node_modules/dojo/on.js"), __webpack_require__(
    /*! ../aspect */
    "./node_modules/dojo/aspect.js"), __webpack_require__(
    /*! ../request/watch */
    "./node_modules/dojo/request/watch.js"), __webpack_require__(
    /*! ../request/xhr */
    "./node_modules/dojo/request/xhr.js"), __webpack_require__(
    /*! ../request/util */
    "./node_modules/dojo/request/util.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, has, require, ioq,
    /*===== declare, =====*/
    dom, domForm, Deferred, config, _json, lang, array, on, aspect, watch, _xhr, util) {
      // module:
      //		dojo/_base/xhr

      /*=====
      dojo._xhrObj = function(){
      	// summary:
      	//		does the work of portably generating a new XMLHTTPRequest object.
      };
      =====*/
      dojo._xhrObj = _xhr._create;
      var cfg = dojo.config; // mix in io-query and dom-form

      dojo.objectToQuery = ioq.objectToQuery;
      dojo.queryToObject = ioq.queryToObject;
      dojo.fieldToObject = domForm.fieldToObject;
      dojo.formToObject = domForm.toObject;
      dojo.formToQuery = domForm.toQuery;
      dojo.formToJson = domForm.toJson; // need to block async callbacks from snatching this thread as the result
      // of an async callback might call another sync XHR, this hangs khtml forever
      // must checked by watchInFlight()

      dojo._blockAsync = false;
      has.add('native-xhr2-blob', function () {
        if (false) {}

        var x = new XMLHttpRequest();
        x.open('GET', '/', true);
        x.responseType = 'blob'; // will not be set if unsupported

        var responseType = x.responseType;
        x.abort();
        return responseType === 'blob';
      }); // MOW: remove dojo._contentHandlers alias in 2.0

      var handlers = dojo._contentHandlers = dojo.contentHandlers = {
        // summary:
        //		A map of available XHR transport handle types. Name matches the
        //		`handleAs` attribute passed to XHR calls.
        // description:
        //		A map of available XHR transport handle types. Name matches the
        //		`handleAs` attribute passed to XHR calls. Each contentHandler is
        //		called, passing the xhr object for manipulation. The return value
        //		from the contentHandler will be passed to the `load` or `handle`
        //		functions defined in the original xhr call.
        // example:
        //		Creating a custom content-handler:
        //	|	xhr.contentHandlers.makeCaps = function(xhr){
        //	|		return xhr.responseText.toUpperCase();
        //	|	}
        //	|	// and later:
        //	|	dojo.xhrGet({
        //	|		url:"foo.txt",
        //	|		handleAs:"makeCaps",
        //	|		load: function(data){ /* data is a toUpper version of foo.txt */ }
        //	|	});
        "text": function text(xhr) {
          // summary:
          //		A contentHandler which simply returns the plaintext response data
          return xhr.responseText;
        },
        "json": function json(xhr) {
          // summary:
          //		A contentHandler which returns a JavaScript object created from the response data
          return _json.fromJson(xhr.responseText || null);
        },
        "json-comment-filtered": function jsonCommentFiltered(xhr) {
          // summary:
          //		A contentHandler which expects comment-filtered JSON.
          // description:
          //		A contentHandler which expects comment-filtered JSON.
          //		the json-comment-filtered option was implemented to prevent
          //		"JavaScript Hijacking", but it is less secure than standard JSON. Use
          //		standard JSON instead. JSON prefixing can be used to subvert hijacking.
          //
          //		Will throw a notice suggesting to use application/json mimetype, as
          //		json-commenting can introduce security issues. To decrease the chances of hijacking,
          //		use the standard `json` contentHandler, and prefix your "JSON" with: {}&&
          //
          //		use djConfig.useCommentedJson = true to turn off the notice
          if (!config.useCommentedJson) {
            console.warn("Consider using the standard mimetype:application/json." + " json-commenting can introduce security issues. To" + " decrease the chances of hijacking, use the standard the 'json' handler and" + " prefix your json with: {}&&\n" + "Use djConfig.useCommentedJson=true to turn off this message.");
          }

          var value = xhr.responseText;
          var cStartIdx = value.indexOf("\/*");
          var cEndIdx = value.lastIndexOf("*\/");

          if (cStartIdx == -1 || cEndIdx == -1) {
            throw new Error("JSON was not comment filtered");
          }

          return _json.fromJson(value.substring(cStartIdx + 2, cEndIdx));
        },
        "javascript": function javascript(xhr) {
          // summary:
          //		A contentHandler which evaluates the response data, expecting it to be valid JavaScript
          // FIXME: try Moz and IE specific eval variants?
          return dojo.eval(xhr.responseText);
        },
        "xml": function xml(xhr) {
          // summary:
          //		A contentHandler returning an XML Document parsed from the response data
          var result = xhr.responseXML;

          if (result && has("dom-qsa2.1") && !result.querySelectorAll && has("dom-parser")) {
            // http://bugs.dojotoolkit.org/ticket/15631
            // IE9 supports a CSS3 querySelectorAll implementation, but the DOM implementation
            // returned by IE9 xhr.responseXML does not. Manually create the XML DOM to gain
            // the fuller-featured implementation and avoid bugs caused by the inconsistency
            result = new DOMParser().parseFromString(xhr.responseText, "application/xml");
          }

          if (has("ie")) {
            if (!result || !result.documentElement) {
              //WARNING: this branch used by the xml handling in dojo.io.iframe,
              //so be sure to test dojo.io.iframe if making changes below.
              var ms = function ms(n) {
                return "MSXML" + n + ".DOMDocument";
              };

              var dp = ["Microsoft.XMLDOM", ms(6), ms(4), ms(3), ms(2)];
              array.some(dp, function (p) {
                try {
                  var dom = new ActiveXObject(p);
                  dom.async = false;
                  dom.loadXML(xhr.responseText);
                  result = dom;
                } catch (e) {
                  return false;
                }

                return true;
              });
            }
          }

          return result; // DOMDocument
        },
        "json-comment-optional": function jsonCommentOptional(xhr) {
          // summary:
          //		A contentHandler which checks the presence of comment-filtered JSON and
          //		alternates between the `json` and `json-comment-filtered` contentHandlers.
          if (xhr.responseText && /^[^{\[]*\/\*/.test(xhr.responseText)) {
            return handlers["json-comment-filtered"](xhr);
          } else {
            return handlers["json"](xhr);
          }
        }
      };

      if (true) {
        handlers.arraybuffer = handlers.blob = handlers.document = function (xhr, ioArgs) {
          if (ioArgs.args.handleAs === 'blob' && !has('native-xhr2-blob')) {
            return new Blob([xhr.response], {
              type: xhr.getResponseHeader('Content-Type')
            });
          }

          return xhr.response;
        };
      }
      /*=====
      	// kwargs function parameter definitions.   Assigning to dojo namespace rather than making them local variables
      // because they are used by dojo/io modules too
      	dojo.__IoArgs = declare(null, {
      	// url: String
      	//		URL to server endpoint.
      	// content: Object?
      	//		Contains properties with string values. These
      	//		properties will be serialized as name1=value2 and
      	//		passed in the request.
      	// timeout: Integer?
      	//		Milliseconds to wait for the response. If this time
      	//		passes, the then error callbacks are called.
      	// form: DOMNode?
      	//		DOM node for a form. Used to extract the form values
      	//		and send to the server.
      	// preventCache: Boolean?
      	//		Default is false. If true, then a
      	//		"dojo.preventCache" parameter is sent in the request
      	//		with a value that changes with each request
      	//		(timestamp). Useful only with GET-type requests.
      	// handleAs: String?
      	//		Acceptable values depend on the type of IO
      	//		transport (see specific IO calls for more information).
      	// rawBody: String?
      	//		Sets the raw body for an HTTP request. If this is used, then the content
      	//		property is ignored. This is mostly useful for HTTP methods that have
      	//		a body to their requests, like PUT or POST. This property can be used instead
      	//		of postData and putData for dojo/_base/xhr.rawXhrPost and dojo/_base/xhr.rawXhrPut respectively.
      	// ioPublish: Boolean?
      	//		Set this explicitly to false to prevent publishing of topics related to
      	//		IO operations. Otherwise, if djConfig.ioPublish is set to true, topics
      	//		will be published via dojo/topic.publish() for different phases of an IO operation.
      	//		See dojo/main.__IoPublish for a list of topics that are published.
      		load: function(response, ioArgs){
      		// summary:
      		//		This function will be
      		//		called on a successful HTTP response code.
       		// ioArgs: dojo/main.__IoCallbackArgs
      		//		Provides additional information about the request.
      		// response: Object
      		//		The response in the format as defined with handleAs.
      	},
      		error: function(response, ioArgs){
      		// summary:
      		//		This function will
      		//		be called when the request fails due to a network or server error, the url
      		//		is invalid, etc. It will also be called if the load or handle callback throws an
      		//		exception, unless djConfig.debugAtAllCosts is true.	 This allows deployed applications
      		//		to continue to run even when a logic error happens in the callback, while making
      		//		it easier to troubleshoot while in debug mode.
      		// ioArgs: dojo/main.__IoCallbackArgs
      		//		Provides additional information about the request.
      		// response: Object
      		//		The response in the format as defined with handleAs.
      	},
      		handle: function(loadOrError, response, ioArgs){
      		// summary:
       		//		This function will
       		//		be called at the end of every request, whether or not an error occurs.
      		// loadOrError: String
      		//		Provides a string that tells you whether this function
      		//		was called because of success (load) or failure (error).
      		// response: Object
      		//		The response in the format as defined with handleAs.
      		// ioArgs: dojo/main.__IoCallbackArgs
      		//		Provides additional information about the request.
      	}
      });
      	dojo.__IoCallbackArgs = declare(null, {
      	// args: Object
      	//		the original object argument to the IO call.
      	// xhr: XMLHttpRequest
      	//		For XMLHttpRequest calls only, the
      	//		XMLHttpRequest object that was used for the
      	//		request.
      	// url: String
      	//		The final URL used for the call. Many times it
      	//		will be different than the original args.url
      	//		value.
      	// query: String
      	//		For non-GET requests, the
      	//		name1=value1&name2=value2 parameters sent up in
      	//		the request.
      	// handleAs: String
      	//		The final indicator on how the response will be
      	//		handled.
      	// id: String
      	//		For dojo/io/script calls only, the internal
      	//		script ID used for the request.
      	// canDelete: Boolean
      	//		For dojo/io/script calls only, indicates
      	//		whether the script tag that represents the
      	//		request can be deleted after callbacks have
      	//		been called. Used internally to know when
      	//		cleanup can happen on JSONP-type requests.
      	// json: Object
      	//		For dojo/io/script calls only: holds the JSON
      	//		response for JSONP-type requests. Used
      	//		internally to hold on to the JSON responses.
      	//		You should not need to access it directly --
      	//		the same object should be passed to the success
      	//		callbacks directly.
      });
      	dojo.__IoPublish = declare(null, {
      	// summary:
      	//		This is a list of IO topics that can be published
      	//		if djConfig.ioPublish is set to true. IO topics can be
      	//		published for any Input/Output, network operation. So,
      	//		dojo.xhr, dojo.io.script and dojo.io.iframe can all
      	//		trigger these topics to be published.
      	// start: String
      	//		"/dojo/io/start" is sent when there are no outstanding IO
      	//		requests, and a new IO request is started. No arguments
      	//		are passed with this topic.
      	// send: String
      	//		"/dojo/io/send" is sent whenever a new IO request is started.
      	//		It passes the dojo.Deferred for the request with the topic.
      	// load: String
      	//		"/dojo/io/load" is sent whenever an IO request has loaded
      	//		successfully. It passes the response and the dojo.Deferred
      	//		for the request with the topic.
      	// error: String
      	//		"/dojo/io/error" is sent whenever an IO request has errored.
      	//		It passes the error and the dojo.Deferred
      	//		for the request with the topic.
      	// done: String
      	//		"/dojo/io/done" is sent whenever an IO request has completed,
      	//		either by loading or by erroring. It passes the error and
      	//		the dojo.Deferred for the request with the topic.
      	// stop: String
      	//		"/dojo/io/stop" is sent when all outstanding IO requests have
      	//		finished. No arguments are passed with this topic.
      });
      =====*/


      dojo._ioSetArgs = function (
      /*dojo/main.__IoArgs*/
      args,
      /*Function*/
      canceller,
      /*Function*/
      okHandler,
      /*Function*/
      errHandler) {
        // summary:
        //		sets up the Deferred and ioArgs property on the Deferred so it
        //		can be used in an io call.
        // args:
        //		The args object passed into the public io call. Recognized properties on
        //		the args object are:
        // canceller:
        //		The canceller function used for the Deferred object. The function
        //		will receive one argument, the Deferred object that is related to the
        //		canceller.
        // okHandler:
        //		The first OK callback to be registered with Deferred. It has the opportunity
        //		to transform the OK response. It will receive one argument -- the Deferred
        //		object returned from this function.
        // errHandler:
        //		The first error callback to be registered with Deferred. It has the opportunity
        //		to do cleanup on an error. It will receive two arguments: error (the
        //		Error object) and dfd, the Deferred object returned from this function.
        var ioArgs = {
          args: args,
          url: args.url
        }; //Get values from form if requested.

        var formObject = null;

        if (args.form) {
          var form = dom.byId(args.form); //IE requires going through getAttributeNode instead of just getAttribute in some form cases,
          //so use it for all. See #2844

          var actnNode = form.getAttributeNode("action");
          ioArgs.url = ioArgs.url || (actnNode ? actnNode.value : dojo.doc ? dojo.doc.URL : null);
          formObject = domForm.toObject(form);
        } // set up the query params


        var miArgs = {};

        if (formObject) {
          // potentially over-ride url-provided params w/ form values
          lang.mixin(miArgs, formObject);
        }

        if (args.content) {
          // stuff in content over-rides what's set by form
          lang.mixin(miArgs, args.content);
        }

        if (args.preventCache) {
          miArgs["dojo.preventCache"] = new Date().valueOf();
        }

        ioArgs.query = ioq.objectToQuery(miArgs); // .. and the real work of getting the deferred in order, etc.

        ioArgs.handleAs = args.handleAs || "text";
        var d = new Deferred(function (dfd) {
          dfd.canceled = true;
          canceller && canceller(dfd);
          var err = dfd.ioArgs.error;

          if (!err) {
            err = new Error("request cancelled");
            err.dojoType = "cancel";
            dfd.ioArgs.error = err;
          }

          return err;
        });
        d.addCallback(okHandler); //Support specifying load, error and handle callback functions from the args.
        //For those callbacks, the "this" object will be the args object.
        //The callbacks will get the deferred result value as the
        //first argument and the ioArgs object as the second argument.

        var ld = args.load;

        if (ld && lang.isFunction(ld)) {
          d.addCallback(function (value) {
            return ld.call(args, value, ioArgs);
          });
        }

        var err = args.error;

        if (err && lang.isFunction(err)) {
          d.addErrback(function (value) {
            return err.call(args, value, ioArgs);
          });
        }

        var handle = args.handle;

        if (handle && lang.isFunction(handle)) {
          d.addBoth(function (value) {
            return handle.call(args, value, ioArgs);
          });
        } // Attach error handler last (not including topic publishing)
        // to catch any errors that may have been generated from load
        // or handle functions.


        d.addErrback(function (error) {
          return errHandler(error, d);
        }); //Plug in topic publishing, if dojo.publish is loaded.

        if (cfg.ioPublish && dojo.publish && ioArgs.args.ioPublish !== false) {
          d.addCallbacks(function (res) {
            dojo.publish("/dojo/io/load", [d, res]);
            return res;
          }, function (res) {
            dojo.publish("/dojo/io/error", [d, res]);
            return res;
          });
          d.addBoth(function (res) {
            dojo.publish("/dojo/io/done", [d, res]);
            return res;
          });
        }

        d.ioArgs = ioArgs; // FIXME: need to wire up the xhr object's abort method to something
        // analogous in the Deferred

        return d;
      };

      var _deferredOk = function _deferredOk(
      /*Deferred*/
      dfd) {
        // summary:
        //		okHandler function for dojo._ioSetArgs call.
        var ret = handlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr, dfd.ioArgs);
        return ret === undefined ? null : ret;
      };

      var _deferError = function _deferError(
      /*Error*/
      error,
      /*Deferred*/
      dfd) {
        // summary:
        //		errHandler function for dojo._ioSetArgs call.
        if (!dfd.ioArgs.args.failOk) {
          console.error(error);
        }

        return error;
      }; //Use a separate count for knowing if we are starting/stopping io calls.


      var _checkPubCount = function _checkPubCount(dfd) {
        if (_pubCount <= 0) {
          _pubCount = 0;

          if (cfg.ioPublish && dojo.publish && (!dfd || dfd && dfd.ioArgs.args.ioPublish !== false)) {
            dojo.publish("/dojo/io/stop");
          }
        }
      };

      var _pubCount = 0;
      aspect.after(watch, "_onAction", function () {
        _pubCount -= 1;
      });
      aspect.after(watch, "_onInFlight", _checkPubCount);
      dojo._ioCancelAll = watch.cancelAll;
      /*=====
      dojo._ioCancelAll = function(){
      	// summary:
      	//		Cancels all pending IO requests, regardless of IO type
      	//		(xhr, script, iframe).
      };
      =====*/

      dojo._ioNotifyStart = function (
      /*Deferred*/
      dfd) {
        // summary:
        //		If dojo.publish is available, publish topics
        //		about the start of a request queue and/or the
        //		the beginning of request.
        //
        //		Used by IO transports. An IO transport should
        //		call this method before making the network connection.
        if (cfg.ioPublish && dojo.publish && dfd.ioArgs.args.ioPublish !== false) {
          if (!_pubCount) {
            dojo.publish("/dojo/io/start");
          }

          _pubCount += 1;
          dojo.publish("/dojo/io/send", [dfd]);
        }
      };

      dojo._ioWatch = function (dfd, validCheck, ioCheck, resHandle) {
        // summary:
        //		Watches the io request represented by dfd to see if it completes.
        // dfd: Deferred
        //		The Deferred object to watch.
        // validCheck: Function
        //		Function used to check if the IO request is still valid. Gets the dfd
        //		object as its only argument.
        // ioCheck: Function
        //		Function used to check if basic IO call worked. Gets the dfd
        //		object as its only argument.
        // resHandle: Function
        //		Function used to process response. Gets the dfd
        //		object as its only argument.
        var args = dfd.ioArgs.options = dfd.ioArgs.args;
        lang.mixin(dfd, {
          response: dfd.ioArgs,
          isValid: function isValid(response) {
            return validCheck(dfd);
          },
          isReady: function isReady(response) {
            return ioCheck(dfd);
          },
          handleResponse: function handleResponse(response) {
            return resHandle(dfd);
          }
        });
        watch(dfd);

        _checkPubCount(dfd);
      };

      var _defaultContentType = "application/x-www-form-urlencoded";

      dojo._ioAddQueryToUrl = function (
      /*dojo.__IoCallbackArgs*/
      ioArgs) {
        // summary:
        //		Adds query params discovered by the io deferred construction to the URL.
        //		Only use this for operations which are fundamentally GET-type operations.
        if (ioArgs.query.length) {
          ioArgs.url += (ioArgs.url.indexOf("?") == -1 ? "?" : "&") + ioArgs.query;
          ioArgs.query = null;
        }
      };
      /*=====
      dojo.__XhrArgs = declare(dojo.__IoArgs, {
      	// summary:
      	//		In addition to the properties listed for the dojo._IoArgs type,
      	//		the following properties are allowed for dojo.xhr* methods.
      	// handleAs: String?
      	//		Acceptable values are: text (default), json, json-comment-optional,
      	//		json-comment-filtered, javascript, xml. See `dojo/_base/xhr.contentHandlers`
       	// sync: Boolean?
      	//		false is default. Indicates whether the request should
      	//		be a synchronous (blocking) request.
      	// headers: Object?
      	//		Additional HTTP headers to send in the request.
      	// failOk: Boolean?
      	//		false is default. Indicates whether a request should be
      	//		allowed to fail (and therefore no console error message in
      	//		the event of a failure)
      	// contentType: String|Boolean
      	//		"application/x-www-form-urlencoded" is default. Set to false to
      	//		prevent a Content-Type header from being sent, or to a string
      	//		to send a different Content-Type.
       });
      =====*/


      dojo.xhr = function (
      /*String*/
      method,
      /*dojo.__XhrArgs*/
      args,
      /*Boolean?*/
      hasBody) {
        // summary:
        //		Deprecated.   Use dojo/request instead.
        // description:
        //		Sends an HTTP request with the given method.
        //		See also dojo.xhrGet(), xhrPost(), xhrPut() and dojo.xhrDelete() for shortcuts
        //		for those HTTP methods. There are also methods for "raw" PUT and POST methods
        //		via dojo.rawXhrPut() and dojo.rawXhrPost() respectively.
        // method:
        //		HTTP method to be used, such as GET, POST, PUT, DELETE. Should be uppercase.
        // hasBody:
        //		If the request has an HTTP body, then pass true for hasBody.
        var rDfd; //Make the Deferred object for this xhr request.

        var dfd = dojo._ioSetArgs(args, function (dfd) {
          rDfd && rDfd.cancel();
        }, _deferredOk, _deferError);

        var ioArgs = dfd.ioArgs; //Allow for specifying the HTTP body completely.

        if ("postData" in args) {
          ioArgs.query = args.postData;
        } else if ("putData" in args) {
          ioArgs.query = args.putData;
        } else if ("rawBody" in args) {
          ioArgs.query = args.rawBody;
        } else if (arguments.length > 2 && !hasBody || "POST|PUT".indexOf(method.toUpperCase()) === -1) {
          //Check for hasBody being passed. If no hasBody,
          //then only append query string if not a POST or PUT request.
          dojo._ioAddQueryToUrl(ioArgs);
        }

        var XHR2_RESPONSE_TYPES;

        if (true) {
          XHR2_RESPONSE_TYPES = {
            arraybuffer: 1,
            blob: 1,
            document: 1
          };
        }

        var handleAs = XHR2_RESPONSE_TYPES[args.handleAs] ? args.handleAs : "text";

        if (handleAs === 'blob' && !has('native-xhr2-blob')) {
          handleAs = 'arraybuffer';
        }

        var options = {
          method: method,
          handleAs: handleAs,
          responseType: args.responseType,
          timeout: args.timeout,
          withCredentials: args.withCredentials,
          ioArgs: ioArgs
        };

        if (typeof args.headers !== 'undefined') {
          options.headers = args.headers;
        }

        if (typeof args.contentType !== 'undefined') {
          if (!options.headers) {
            options.headers = {};
          }

          options.headers['Content-Type'] = args.contentType;
        }

        if (typeof ioArgs.query !== 'undefined') {
          options.data = ioArgs.query;
        }

        if (typeof args.sync !== 'undefined') {
          options.sync = args.sync;
        }

        dojo._ioNotifyStart(dfd);

        try {
          rDfd = _xhr(ioArgs.url, options, true);
        } catch (e) {
          // If XHR creation fails, dojo/request/xhr throws
          // When this happens, cancel the deferred
          dfd.cancel();
          return dfd;
        } // sync ioArgs


        dfd.ioArgs.xhr = rDfd.response.xhr;
        rDfd.then(function () {
          dfd.resolve(dfd);
        }).otherwise(function (error) {
          ioArgs.error = error;

          if (error.response) {
            error.status = error.response.status;
            error.responseText = error.response.text;
            error.xhr = error.response.xhr;
          }

          dfd.reject(error);
        });
        return dfd; // dojo/_base/Deferred
      };

      dojo.xhrGet = function (
      /*dojo.__XhrArgs*/
      args) {
        // summary:
        //		Sends an HTTP GET request to the server.
        return dojo.xhr("GET", args); // dojo/_base/Deferred
      };

      dojo.rawXhrPost = dojo.xhrPost = function (
      /*dojo.__XhrArgs*/
      args) {
        // summary:
        //		Sends an HTTP POST request to the server. In addition to the properties
        //		listed for the dojo.__XhrArgs type, the following property is allowed:
        // postData:
        //		String. Send raw data in the body of the POST request.
        return dojo.xhr("POST", args, true); // dojo/_base/Deferred
      };

      dojo.rawXhrPut = dojo.xhrPut = function (
      /*dojo.__XhrArgs*/
      args) {
        // summary:
        //		Sends an HTTP PUT request to the server. In addition to the properties
        //		listed for the dojo.__XhrArgs type, the following property is allowed:
        // putData:
        //		String. Send raw data in the body of the PUT request.
        return dojo.xhr("PUT", args, true); // dojo/_base/Deferred
      };

      dojo.xhrDelete = function (
      /*dojo.__XhrArgs*/
      args) {
        // summary:
        //		Sends an HTTP DELETE request to the server.
        return dojo.xhr("DELETE", args); // dojo/_base/Deferred
      };
      /*
      dojo.wrapForm = function(formNode){
      	// summary:
      	//		A replacement for FormBind, but not implemented yet.
      		// FIXME: need to think harder about what extensions to this we might
      	// want. What should we allow folks to do w/ this? What events to
      	// set/send?
      	throw new Error("dojo.wrapForm not yet implemented");
      }
      */


      dojo._isDocumentOk = function (x) {
        return util.checkStatus(x.status);
      };

      dojo._getText = function (url) {
        var result;
        dojo.xhrGet({
          url: url,
          sync: true,
          load: function load(text) {
            result = text;
          }
        });
        return result;
      }; // Add aliases for static functions to dojo.xhr since dojo.xhr is what's returned from this module


      lang.mixin(dojo.xhr, {
        _xhrObj: dojo._xhrObj,
        fieldToObject: domForm.fieldToObject,
        formToObject: domForm.toObject,
        objectToQuery: ioq.objectToQuery,
        formToQuery: domForm.toQuery,
        formToJson: domForm.toJson,
        queryToObject: ioq.queryToObject,
        contentHandlers: handlers,
        _ioSetArgs: dojo._ioSetArgs,
        _ioCancelAll: dojo._ioCancelAll,
        _ioNotifyStart: dojo._ioNotifyStart,
        _ioWatch: dojo._ioWatch,
        _ioAddQueryToUrl: dojo._ioAddQueryToUrl,
        _isDocumentOk: dojo._isDocumentOk,
        _getText: dojo._getText,
        get: dojo.xhrGet,
        post: dojo.xhrPost,
        put: dojo.xhrPut,
        del: dojo.xhrDelete // because "delete" is a reserved word

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

  /***/
  "./node_modules/dojo/aspect.js":
  /*!*************************************!*\
    !*** ./node_modules/dojo/aspect.js ***!
    \*************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoAspectJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
      // module:
      //		dojo/aspect
      "use strict";

      var undefined;

      function advise(dispatcher, type, advice, receiveArguments) {
        var previous = dispatcher[type];
        var around = type == "around";
        var signal;

        if (around) {
          var advised = advice(function () {
            return previous.advice(this, arguments);
          });
          signal = {
            remove: function remove() {
              if (advised) {
                advised = dispatcher = advice = null;
              }
            },
            advice: function advice(target, args) {
              return advised ? advised.apply(target, args) : // called the advised function
              previous.advice(target, args); // cancelled, skip to next one
            }
          };
        } else {
          // create the remove handler
          signal = {
            remove: function remove() {
              if (signal.advice) {
                var previous = signal.previous;
                var next = signal.next;

                if (!next && !previous) {
                  delete dispatcher[type];
                } else {
                  if (previous) {
                    previous.next = next;
                  } else {
                    dispatcher[type] = next;
                  }

                  if (next) {
                    next.previous = previous;
                  }
                } // remove the advice to signal that this signal has been removed


                dispatcher = advice = signal.advice = null;
              }
            },
            id: dispatcher.nextId++,
            advice: advice,
            receiveArguments: receiveArguments
          };
        }

        if (previous && !around) {
          if (type == "after") {
            // add the listener to the end of the list
            // note that we had to change this loop a little bit to workaround a bizarre IE10 JIT bug
            while (previous.next && (previous = previous.next)) {}

            previous.next = signal;
            signal.previous = previous;
          } else if (type == "before") {
            // add to beginning
            dispatcher[type] = signal;
            signal.next = previous;
            previous.previous = signal;
          }
        } else {
          // around or first one just replaces
          dispatcher[type] = signal;
        }

        return signal;
      }

      function aspect(type) {
        return function (target, methodName, advice, receiveArguments) {
          var existing = target[methodName],
              _dispatcher;

          if (!existing || existing.target != target) {
            // no dispatcher in place
            target[methodName] = _dispatcher = function dispatcher() {
              var executionId = _dispatcher.nextId; // before advice

              var args = arguments;
              var before = _dispatcher.before;

              while (before) {
                if (before.advice) {
                  args = before.advice.apply(this, args) || args;
                }

                before = before.next;
              } // around advice


              if (_dispatcher.around) {
                var results = _dispatcher.around.advice(this, args);
              } // after advice


              var after = _dispatcher.after;

              while (after && after.id < executionId) {
                if (after.advice) {
                  if (after.receiveArguments) {
                    var newResults = after.advice.apply(this, args); // change the return value only if a new value was returned

                    results = newResults === undefined ? results : newResults;
                  } else {
                    results = after.advice.call(this, results, args);
                  }
                }

                after = after.next;
              }

              return results;
            };

            if (existing) {
              _dispatcher.around = {
                advice: function advice(target, args) {
                  return existing.apply(target, args);
                }
              };
            }

            _dispatcher.target = target;
            _dispatcher.nextId = _dispatcher.nextId || 0;
          }

          var results = advise(_dispatcher || existing, type, advice, receiveArguments);
          advice = null;
          return results;
        };
      } // TODOC: after/before/around return object


      var after = aspect("after");
      /*=====
      after = function(target, methodName, advice, receiveArguments){
      	// summary:
      	//		The "after" export of the aspect module is a function that can be used to attach
      	//		"after" advice to a method. This function will be executed after the original method
      	//		is executed. By default the function will be called with a single argument, the return
      	//		value of the original method, or the the return value of the last executed advice (if a previous one exists).
      	//		The fourth (optional) argument can be set to true to so the function receives the original
      	//		arguments (from when the original method was called) rather than the return value.
      	//		If there are multiple "after" advisors, they are executed in the order they were registered.
      	// target: Object
      	//		This is the target object
      	// methodName: String
      	//		This is the name of the method to attach to.
      	// advice: Function
      	//		This is function to be called after the original method
      	// receiveArguments: Boolean?
      	//		If this is set to true, the advice function receives the original arguments (from when the original mehtod
      	//		was called) rather than the return value of the original/previous method.
      	// returns:
      	//		A signal object that can be used to cancel the advice. If remove() is called on this signal object, it will
      	//		stop the advice function from being executed.
      };
      =====*/

      var before = aspect("before");
      /*=====
      before = function(target, methodName, advice){
      	// summary:
      	//		The "before" export of the aspect module is a function that can be used to attach
      	//		"before" advice to a method. This function will be executed before the original method
      	//		is executed. This function will be called with the arguments used to call the method.
      	//		This function may optionally return an array as the new arguments to use to call
      	//		the original method (or the previous, next-to-execute before advice, if one exists).
      	//		If the before method doesn't return anything (returns undefined) the original arguments
      	//		will be preserved.
      	//		If there are multiple "before" advisors, they are executed in the reverse order they were registered.
      	// target: Object
      	//		This is the target object
      	// methodName: String
      	//		This is the name of the method to attach to.
      	// advice: Function
      	//		This is function to be called before the original method
      };
      =====*/

      var around = aspect("around");
      /*=====
       around = function(target, methodName, advice){
      	// summary:
      	//		The "around" export of the aspect module is a function that can be used to attach
      	//		"around" advice to a method. The advisor function is immediately executed when
      	//		the around() is called, is passed a single argument that is a function that can be
      	//		called to continue execution of the original method (or the next around advisor).
      	//		The advisor function should return a function, and this function will be called whenever
      	//		the method is called. It will be called with the arguments used to call the method.
      	//		Whatever this function returns will be returned as the result of the method call (unless after advise changes it).
      	// example:
      	//		If there are multiple "around" advisors, the most recent one is executed first,
      	//		which can then delegate to the next one and so on. For example:
      	//		|	around(obj, "foo", function(originalFoo){
      	//		|		return function(){
      	//		|			var start = new Date().getTime();
      	//		|			var results = originalFoo.apply(this, arguments); // call the original
      	//		|			var end = new Date().getTime();
      	//		|			console.log("foo execution took " + (end - start) + " ms");
      	//		|			return results;
      	//		|		};
      	//		|	});
      	// target: Object
      	//		This is the target object
      	// methodName: String
      	//		This is the name of the method to attach to.
      	// advice: Function
      	//		This is function to be called around the original method
      };
      =====*/

      return {
        // summary:
        //		provides aspect oriented programming functionality, allowing for
        //		one to add before, around, or after advice on existing methods.
        // example:
        //	|	define(["dojo/aspect"], function(aspect){
        //	|		var signal = aspect.after(targetObject, "methodName", function(someArgument){
        //	|			this will be called when targetObject.methodName() is called, after the original function is called
        //	|		});
        //
        // example:
        //	The returned signal object can be used to cancel the advice.
        //	|	signal.remove(); // this will stop the advice from being executed anymore
        //	|	aspect.before(targetObject, "methodName", function(someArgument){
        //	|		// this will be called when targetObject.methodName() is called, before the original function is called
        //	|	 });
        before: before,
        around: around,
        after: after
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/dom-attr.js":
  /*!***************************************!*\
    !*** ./node_modules/dojo/dom-attr.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomAttrJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./dom-style */
    "./node_modules/dojo/dom-style.js"), __webpack_require__(
    /*! ./dom-prop */
    "./node_modules/dojo/dom-prop.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (exports, has, lang, dom, style, prop) {
      // module:
      //		dojo/dom-attr
      // summary:
      //		This module defines the core dojo DOM attributes API.
      // TODOC: summary not showing up in output see https://github.com/csnover/js-doc-parse/issues/42
      // =============================
      // Element attribute Functions
      // =============================
      // This module will be obsolete soon. Use dojo/prop instead.
      // dojo/dom-attr.get() should conform to http://www.w3.org/TR/DOM-Level-2-Core/
      // attribute-related functions (to be obsolete soon)
      var forcePropNames = {
        innerHTML: 1,
        textContent: 1,
        className: 1,
        htmlFor: has("ie"),
        value: 1
      },
          attrNames = {
        // original attribute names
        classname: "class",
        htmlfor: "for",
        // for IE
        tabindex: "tabIndex",
        readonly: "readOnly"
      };

      function _hasAttr(node, name) {
        var attr = node.getAttributeNode && node.getAttributeNode(name);
        return !!attr && attr.specified; // Boolean
      } // There is a difference in the presence of certain properties and their default values
      // between browsers. For example, on IE "disabled" is present on all elements,
      // but it is value is "false"; "tabIndex" of <div> returns 0 by default on IE, yet other browsers
      // can return -1.


      exports.has = function hasAttr(
      /*DOMNode|String*/
      node,
      /*String*/
      name) {
        // summary:
        //		Returns true if the requested attribute is specified on the
        //		given element, and false otherwise.
        // node: DOMNode|String
        //		id or reference to the element to check
        // name: String
        //		the name of the attribute
        // returns: Boolean
        //		true if the requested attribute is specified on the
        //		given element, and false otherwise
        var lc = name.toLowerCase();
        return forcePropNames[prop.names[lc] || name] || _hasAttr(dom.byId(node), attrNames[lc] || name); // Boolean
      };

      exports.get = function getAttr(
      /*DOMNode|String*/
      node,
      /*String*/
      name) {
        // summary:
        //		Gets an attribute on an HTML element.
        // description:
        //		Handles normalized getting of attributes on DOM Nodes.
        // node: DOMNode|String
        //		id or reference to the element to get the attribute on
        // name: String
        //		the name of the attribute to get.
        // returns:
        //		the value of the requested attribute or null if that attribute does not have a specified or
        //		default value;
        //
        // example:
        //	|	// get the current value of the "foo" attribute on a node
        //	|	require(["dojo/dom-attr", "dojo/dom"], function(domAttr, dom){
        //	|		domAttr.get(dom.byId("nodeId"), "foo");
        //	|		// or we can just pass the id:
        //	|		domAttr.get("nodeId", "foo");
        //	|	});	
        //	|	
        node = dom.byId(node);
        var lc = name.toLowerCase(),
            propName = prop.names[lc] || name,
            forceProp = forcePropNames[propName],
            value = node[propName]; // should we access this attribute via a property or via getAttribute()?

        if (forceProp && typeof value != "undefined") {
          // node's property
          return value; // Anything
        }

        if (propName == "textContent") {
          return prop.get(node, propName);
        }

        if (propName != "href" && (typeof value == "boolean" || lang.isFunction(value))) {
          // node's property
          return value; // Anything
        } // node's attribute
        // we need _hasAttr() here to guard against IE returning a default value


        var attrName = attrNames[lc] || name;
        return _hasAttr(node, attrName) ? node.getAttribute(attrName) : null; // Anything
      };

      exports.set = function setAttr(
      /*DOMNode|String*/
      node,
      /*String|Object*/
      name,
      /*String?*/
      value) {
        // summary:
        //		Sets an attribute on an HTML element.
        // description:
        //		Handles normalized setting of attributes on DOM Nodes.
        //
        //		When passing functions as values, note that they will not be
        //		directly assigned to slots on the node, but rather the default
        //		behavior will be removed and the new behavior will be added
        //		using `dojo.connect()`, meaning that event handler properties
        //		will be normalized and that some caveats with regards to
        //		non-standard behaviors for onsubmit apply. Namely that you
        //		should cancel form submission using `dojo.stopEvent()` on the
        //		passed event object instead of returning a boolean value from
        //		the handler itself.
        // node: DOMNode|String
        //		id or reference to the element to set the attribute on
        // name: String|Object
        //		the name of the attribute to set, or a hash of key-value pairs to set.
        // value: String?
        //		the value to set for the attribute, if the name is a string.
        // returns:
        //		the DOM node
        //
        // example:
        //	|	// use attr() to set the tab index
        //	|	require(["dojo/dom-attr"], function(domAttr){
        //	|		domAttr.set("nodeId", "tabIndex", 3);
        //	|	});
        //
        // example:
        //	Set multiple values at once, including event handlers:
        //	|	require(["dojo/dom-attr"],
        //	|	function(domAttr){
        //	|		domAttr.set("formId", {
        //	|			"foo": "bar",
        //	|			"tabIndex": -1,
        //	|			"method": "POST"
        //	|		}
        //	|	});
        node = dom.byId(node);

        if (arguments.length == 2) {
          // inline'd type check
          // the object form of setter: the 2nd argument is a dictionary
          for (var x in name) {
            exports.set(node, x, name[x]);
          }

          return node; // DomNode
        }

        var lc = name.toLowerCase(),
            propName = prop.names[lc] || name,
            forceProp = forcePropNames[propName];

        if (propName == "style" && typeof value != "string") {
          // inline'd type check
          // special case: setting a style
          style.set(node, value);
          return node; // DomNode
        }

        if (forceProp || typeof value == "boolean" || lang.isFunction(value)) {
          return prop.set(node, name, value);
        } // node's attribute


        node.setAttribute(attrNames[lc] || name, value);
        return node; // DomNode
      };

      exports.remove = function removeAttr(
      /*DOMNode|String*/
      node,
      /*String*/
      name) {
        // summary:
        //		Removes an attribute from an HTML element.
        // node: DOMNode|String
        //		id or reference to the element to remove the attribute from
        // name: String
        //		the name of the attribute to remove
        dom.byId(node).removeAttribute(attrNames[name.toLowerCase()] || name);
      };

      exports.getNodeProp = function getNodeProp(
      /*DomNode|String*/
      node,
      /*String*/
      name) {
        // summary:
        //		Returns an effective value of a property or an attribute.
        // node: DOMNode|String
        //		id or reference to the element to remove the attribute from
        // name: String
        //		the name of the attribute
        // returns:
        //		the value of the attribute
        node = dom.byId(node);
        var lc = name.toLowerCase(),
            propName = prop.names[lc] || name;

        if (propName in node && propName != "href") {
          // node's property
          return node[propName]; // Anything
        } // node's attribute


        var attrName = attrNames[lc] || name;
        return _hasAttr(node, attrName) ? node.getAttribute(attrName) : null; // Anything
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/dom-construct.js":
  /*!********************************************!*\
    !*** ./node_modules/dojo/dom-construct.js ***!
    \********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomConstructJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ./_base/window */
    "./node_modules/dojo/_base/window.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./dom-attr */
    "./node_modules/dojo/dom-attr.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (exports, dojo, has, win, dom, attr) {
      // module:
      //		dojo/dom-construct
      // summary:
      //		This module defines the core dojo DOM construction API.
      // TODOC: summary not showing up in output, see https://github.com/csnover/js-doc-parse/issues/42
      // support stuff for toDom()
      var tagWrap = {
        option: ["select"],
        tbody: ["table"],
        thead: ["table"],
        tfoot: ["table"],
        tr: ["table", "tbody"],
        td: ["table", "tbody", "tr"],
        th: ["table", "thead", "tr"],
        legend: ["fieldset"],
        caption: ["table"],
        colgroup: ["table"],
        col: ["table", "colgroup"],
        li: ["ul"]
      },
          reTag = /<\s*([\w\:]+)/,
          masterNode = {},
          masterNum = 0,
          masterName = "__" + dojo._scopeName + "ToDomId"; // generate start/end tag strings to use
      // for the injection for each special tag wrap case.

      for (var param in tagWrap) {
        if (tagWrap.hasOwnProperty(param)) {
          var tw = tagWrap[param];
          tw.pre = param == "option" ? '<select multiple="multiple">' : "<" + tw.join("><") + ">";
          tw.post = "</" + tw.reverse().join("></") + ">"; // the last line is destructive: it reverses the array,
          // but we don't care at this point
        }
      }

      var html5domfix;

      if (has("ie") <= 8) {
        html5domfix = function html5domfix(doc) {
          doc.__dojo_html5_tested = "yes";
          var div = create('div', {
            innerHTML: "<nav>a</nav>",
            style: {
              visibility: "hidden"
            }
          }, doc.body);

          if (div.childNodes.length !== 1) {
            ('abbr article aside audio canvas details figcaption figure footer header ' + 'hgroup mark meter nav output progress section summary time video').replace(/\b\w+\b/g, function (n) {
              doc.createElement(n);
            });
          }

          destroy(div);
        };
      }

      function _insertBefore(
      /*DomNode*/
      node,
      /*DomNode*/
      ref) {
        var parent = ref.parentNode;

        if (parent) {
          parent.insertBefore(node, ref);
        }
      }

      function _insertAfter(
      /*DomNode*/
      node,
      /*DomNode*/
      ref) {
        // summary:
        //		Try to insert node after ref
        var parent = ref.parentNode;

        if (parent) {
          if (parent.lastChild == ref) {
            parent.appendChild(node);
          } else {
            parent.insertBefore(node, ref.nextSibling);
          }
        }
      }

      exports.toDom = function toDom(frag, doc) {
        // summary:
        //		instantiates an HTML fragment returning the corresponding DOM.
        // frag: String
        //		the HTML fragment
        // doc: DocumentNode?
        //		optional document to use when creating DOM nodes, defaults to
        //		dojo/_base/window.doc if not specified.
        // returns:
        //		Document fragment, unless it's a single node in which case it returns the node itself
        // example:
        //		Create a table row:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		var tr = domConstruct.toDom("<tr><td>First!</td></tr>");
        //	|	});
        doc = doc || win.doc;
        var masterId = doc[masterName];

        if (!masterId) {
          doc[masterName] = masterId = ++masterNum + "";
          masterNode[masterId] = doc.createElement("div");
        }

        if (has("ie") <= 8) {
          if (!doc.__dojo_html5_tested && doc.body) {
            html5domfix(doc);
          }
        } // make sure the frag is a string.


        frag += ""; // find the starting tag, and get node wrapper

        var match = frag.match(reTag),
            tag = match ? match[1].toLowerCase() : "",
            master = masterNode[masterId],
            wrap,
            i,
            fc,
            df;

        if (match && tagWrap[tag]) {
          wrap = tagWrap[tag];
          master.innerHTML = wrap.pre + frag + wrap.post;

          for (i = wrap.length; i; --i) {
            master = master.firstChild;
          }
        } else {
          master.innerHTML = frag;
        } // one node shortcut => return the node itself


        if (master.childNodes.length == 1) {
          return master.removeChild(master.firstChild); // DOMNode
        } // return multiple nodes as a document fragment


        df = doc.createDocumentFragment();

        while (fc = master.firstChild) {
          // intentional assignment
          df.appendChild(fc);
        }

        return df; // DocumentFragment
      };

      exports.place = function place(node, refNode, position) {
        // summary:
        //		Attempt to insert node into the DOM, choosing from various positioning options.
        //		Returns the first argument resolved to a DOM node.
        // node: DOMNode|DocumentFragment|String
        //		id or node reference, or HTML fragment starting with "<" to place relative to refNode
        // refNode: DOMNode|String
        //		id or node reference to use as basis for placement
        // position: String|Number?
        //		string noting the position of node relative to refNode or a
        //		number indicating the location in the childNodes collection of refNode.
        //		Accepted string values are:
        //
        //		- before
        //		- after
        //		- replace
        //		- only
        //		- first
        //		- last
        //
        //		"first" and "last" indicate positions as children of refNode, "replace" replaces refNode,
        //		"only" replaces all children.  position defaults to "last" if not specified
        // returns: DOMNode
        //		Returned values is the first argument resolved to a DOM node.
        //
        //		.place() is also a method of `dojo/NodeList`, allowing `dojo/query` node lookups.
        // example:
        //		Place a node by string id as the last child of another node by string id:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		domConstruct.place("someNode", "anotherNode");
        //	|	});
        // example:
        //		Place a node by string id before another node by string id
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		domConstruct.place("someNode", "anotherNode", "before");
        //	|	});
        // example:
        //		Create a Node, and place it in the body element (last child):
        //	|	require(["dojo/dom-construct", "dojo/_base/window"
        //	|	], function(domConstruct, win){
        //	|		domConstruct.place("<div></div>", win.body());
        //	|	});
        // example:
        //		Put a new LI as the first child of a list by id:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		domConstruct.place("<li></li>", "someUl", "first");
        //	|	});
        refNode = dom.byId(refNode);

        if (typeof node == "string") {
          // inline'd type check
          node = /^\s*</.test(node) ? exports.toDom(node, refNode.ownerDocument) : dom.byId(node);
        }

        if (typeof position == "number") {
          // inline'd type check
          var cn = refNode.childNodes;

          if (!cn.length || cn.length <= position) {
            refNode.appendChild(node);
          } else {
            _insertBefore(node, cn[position < 0 ? 0 : position]);
          }
        } else {
          switch (position) {
            case "before":
              _insertBefore(node, refNode);

              break;

            case "after":
              _insertAfter(node, refNode);

              break;

            case "replace":
              refNode.parentNode.replaceChild(node, refNode);
              break;

            case "only":
              exports.empty(refNode);
              refNode.appendChild(node);
              break;

            case "first":
              if (refNode.firstChild) {
                _insertBefore(node, refNode.firstChild);

                break;
              }

            // else fallthrough...

            default:
              // aka: last
              refNode.appendChild(node);
          }
        }

        return node; // DomNode
      };

      var create = exports.create = function create(
      /*DOMNode|String*/
      tag,
      /*Object*/
      attrs,
      /*DOMNode|String?*/
      refNode,
      /*String?*/
      pos) {
        // summary:
        //		Create an element, allowing for optional attribute decoration
        //		and placement.
        // description:
        //		A DOM Element creation function. A shorthand method for creating a node or
        //		a fragment, and allowing for a convenient optional attribute setting step,
        //		as well as an optional DOM placement reference.
        //
        //		Attributes are set by passing the optional object through `dojo/dom-attr.set`.
        //		See `dojo/dom-attr.set` for noted caveats and nuances, and API if applicable.
        //
        //		Placement is done via `dojo/dom-construct.place`, assuming the new node to be
        //		the action node, passing along the optional reference node and position.
        // tag: DOMNode|String
        //		A string of the element to create (eg: "div", "a", "p", "li", "script", "br"),
        //		or an existing DOM node to process.
        // attrs: Object
        //		An object-hash of attributes to set on the newly created node.
        //		Can be null, if you don't want to set any attributes/styles.
        //		See: `dojo/dom-attr.set` for a description of available attributes.
        // refNode: DOMNode|String?
        //		Optional reference node. Used by `dojo/dom-construct.place` to place the newly created
        //		node somewhere in the dom relative to refNode. Can be a DomNode reference
        //		or String ID of a node.
        // pos: String?
        //		Optional positional reference. Defaults to "last" by way of `dojo/domConstruct.place`,
        //		though can be set to "first","after","before","last", "replace" or "only"
        //		to further control the placement of the new node relative to the refNode.
        //		'refNode' is required if a 'pos' is specified.
        // example:
        //		Create a DIV:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		var n = domConstruct.create("div");
        //	|	});
        //
        // example:
        //		Create a DIV with content:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		var n = domConstruct.create("div", { innerHTML:"<p>hi</p>" });
        //	|	});
        //
        // example:
        //		Place a new DIV in the BODY, with no attributes set
        //	|	require(["dojo/dom-construct", "dojo/_base/window"], function(domConstruct, win){
        //	|		var n = domConstruct.create("div", null, win.body());
        //	|	});
        //
        // example:
        //		Create an UL, and populate it with LI's. Place the list as the first-child of a
        //		node with id="someId":
        //	|	require(["dojo/dom-construct", "dojo/_base/array"],
        //	|	function(domConstruct, arrayUtil){
        //	|		var ul = domConstruct.create("ul", null, "someId", "first");
        //	|		var items = ["one", "two", "three", "four"];
        //	|		arrayUtil.forEach(items, function(data){
        //	|			domConstruct.create("li", { innerHTML: data }, ul);
        //	|		});
        //	|	});
        //
        // example:
        //		Create an anchor, with an href. Place in BODY:
        //	|	require(["dojo/dom-construct", "dojo/_base/window"], function(domConstruct, win){
        //	|		domConstruct.create("a", { href:"foo.html", title:"Goto FOO!" }, win.body());
        //	|	});
        var doc = win.doc;

        if (refNode) {
          refNode = dom.byId(refNode);
          doc = refNode.ownerDocument;
        }

        if (typeof tag == "string") {
          // inline'd type check
          tag = doc.createElement(tag);
        }

        if (attrs) {
          attr.set(tag, attrs);
        }

        if (refNode) {
          exports.place(tag, refNode, pos);
        }

        return tag; // DomNode
      };

      function _empty(
      /*DomNode*/
      node) {
        // TODO: remove this if() block in 2.0 when we no longer have to worry about IE memory leaks,
        // and then uncomment the emptyGrandchildren() test case from html.html.
        // Note that besides fixing #16957, using removeChild() is actually faster than setting node.innerHTML,
        // see http://jsperf.com/clear-dom-node.
        if ("innerHTML" in node) {
          try {
            // fast path
            node.innerHTML = "";
            return;
          } catch (e) {// innerHTML is readOnly (e.g. TABLE (sub)elements in quirks mode)
            // Fall through (saves bytes)
          }
        } // SVG/strict elements don't support innerHTML


        for (var c; c = node.lastChild;) {
          // intentional assignment
          node.removeChild(c);
        }
      }

      exports.empty = function empty(
      /*DOMNode|String*/
      node) {
        // summary:
        //		safely removes all children of the node.
        // node: DOMNode|String
        //		a reference to a DOM node or an id.
        // example:
        //		Destroy node's children byId:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		domConstruct.empty("someId");
        //	|	});
        _empty(dom.byId(node));
      };

      function _destroy(
      /*DomNode*/
      node,
      /*DomNode*/
      parent) {
        // in IE quirks, node.canHaveChildren can be false but firstChild can be non-null (OBJECT/APPLET)
        if (node.firstChild) {
          _empty(node);
        }

        if (parent) {
          // removeNode(false) doesn't leak in IE 6+, but removeChild() and removeNode(true) are known to leak under IE 8- while 9+ is TBD.
          // In IE quirks mode, PARAM nodes as children of OBJECT/APPLET nodes have a removeNode method that does nothing and
          // the parent node has canHaveChildren=false even though removeChild correctly removes the PARAM children.
          // In IE, SVG/strict nodes don't have a removeNode method nor a canHaveChildren boolean.
          has("ie") && parent.canHaveChildren && "removeNode" in node ? node.removeNode(false) : parent.removeChild(node);
        }
      }

      var destroy = exports.destroy = function destroy(
      /*DOMNode|String*/
      node) {
        // summary:
        //		Removes a node from its parent, clobbering it and all of its
        //		children.
        //
        // description:
        //		Removes a node from its parent, clobbering it and all of its
        //		children. Function only works with DomNodes, and returns nothing.
        //
        // node: DOMNode|String
        //		A String ID or DomNode reference of the element to be destroyed
        //
        // example:
        //		Destroy a node byId:
        //	|	require(["dojo/dom-construct"], function(domConstruct){
        //	|		domConstruct.destroy("someId");
        //	|	});
        node = dom.byId(node);

        if (!node) {
          return;
        }

        _destroy(node, node.parentNode);
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/dom-form.js":
  /*!***************************************!*\
    !*** ./node_modules/dojo/dom-form.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomFormJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./io-query */
    "./node_modules/dojo/io-query.js"), __webpack_require__(
    /*! ./json */
    "./node_modules/dojo/json.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (lang, dom, ioq, json) {
      // module:
      //		dojo/dom-form
      function setValue(
      /*Object*/
      obj,
      /*String*/
      name,
      /*String*/
      value) {
        // summary:
        //		For the named property in object, set the value. If a value
        //		already exists and it is a string, convert the value to be an
        //		array of values.
        // Skip it if there is no value
        if (value === null) {
          return;
        }

        var val = obj[name];

        if (typeof val == "string") {
          // inline'd type check
          obj[name] = [val, value];
        } else if (lang.isArray(val)) {
          val.push(value);
        } else {
          obj[name] = value;
        }
      }

      var exclude = "file|submit|image|reset|button";
      var form = {
        // summary:
        //		This module defines form-processing functions.
        fieldToObject: function fieldToObject(
        /*DOMNode|String*/
        inputNode) {
          // summary:
          //		Serialize a form field to a JavaScript object.
          // description:
          //		Returns the value encoded in a form field as
          //		as a string or an array of strings. Disabled form elements
          //		and unchecked radio and checkboxes are skipped.	Multi-select
          //		elements are returned as an array of string values.
          // inputNode: DOMNode|String
          // returns: Object
          var ret = null;
          inputNode = dom.byId(inputNode);

          if (inputNode) {
            var _in = inputNode.name,
                type = (inputNode.type || "").toLowerCase();

            if (_in && type && !inputNode.disabled) {
              if (type == "radio" || type == "checkbox") {
                if (inputNode.checked) {
                  ret = inputNode.value;
                }
              } else if (inputNode.multiple) {
                ret = [];
                var nodes = [inputNode.firstChild];

                while (nodes.length) {
                  for (var node = nodes.pop(); node; node = node.nextSibling) {
                    if (node.nodeType == 1 && node.tagName.toLowerCase() == "option") {
                      if (node.selected) {
                        ret.push(node.value);
                      }
                    } else {
                      if (node.nextSibling) {
                        nodes.push(node.nextSibling);
                      }

                      if (node.firstChild) {
                        nodes.push(node.firstChild);
                      }

                      break;
                    }
                  }
                }
              } else {
                ret = inputNode.value;
              }
            }
          }

          return ret; // Object
        },
        toObject: function formToObject(
        /*DOMNode|String*/
        formNode) {
          // summary:
          //		Serialize a form node to a JavaScript object.
          // description:
          //		Returns the values encoded in an HTML form as
          //		string properties in an object which it then returns. Disabled form
          //		elements, buttons, and other non-value form elements are skipped.
          //		Multi-select elements are returned as an array of string values.
          // formNode: DOMNode|String
          // example:
          //		This form:
          //		|	<form id="test_form">
          //		|		<input type="text" name="blah" value="blah">
          //		|		<input type="text" name="no_value" value="blah" disabled>
          //		|		<input type="button" name="no_value2" value="blah">
          //		|		<select type="select" multiple name="multi" size="5">
          //		|			<option value="blah">blah</option>
          //		|			<option value="thud" selected>thud</option>
          //		|			<option value="thonk" selected>thonk</option>
          //		|		</select>
          //		|	</form>
          //
          //		yields this object structure as the result of a call to
          //		formToObject():
          //
          //		|	{
          //		|		blah: "blah",
          //		|		multi: [
          //		|			"thud",
          //		|			"thonk"
          //		|		]
          //		|	};
          var ret = {},
              elems = dom.byId(formNode).elements;

          for (var i = 0, l = elems.length; i < l; ++i) {
            var item = elems[i],
                _in = item.name,
                type = (item.type || "").toLowerCase();

            if (_in && type && exclude.indexOf(type) < 0 && !item.disabled) {
              setValue(ret, _in, form.fieldToObject(item));

              if (type == "image") {
                ret[_in + ".x"] = ret[_in + ".y"] = ret[_in].x = ret[_in].y = 0;
              }
            }
          }

          return ret; // Object
        },
        toQuery: function formToQuery(
        /*DOMNode|String*/
        formNode) {
          // summary:
          //		Returns a URL-encoded string representing the form passed as either a
          //		node or string ID identifying the form to serialize
          // formNode: DOMNode|String
          // returns: String
          return ioq.objectToQuery(form.toObject(formNode)); // String
        },
        toJson: function formToJson(
        /*DOMNode|String*/
        formNode,
        /*Boolean?*/
        prettyPrint) {
          // summary:
          //		Create a serialized JSON string from a form node or string
          //		ID identifying the form to serialize
          // formNode: DOMNode|String
          // prettyPrint: Boolean?
          // returns: String
          return json.stringify(form.toObject(formNode), null, prettyPrint ? 4 : 0); // String
        }
      };
      return form;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/dom-geometry.js":
  /*!*******************************************!*\
    !*** ./node_modules/dojo/dom-geometry.js ***!
    \*******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomGeometryJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ./_base/window */
    "./node_modules/dojo/_base/window.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./dom-style */
    "./node_modules/dojo/dom-style.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (has, win, dom, style) {
      // module:
      //		dojo/dom-geometry
      // the result object
      var geom = {// summary:
        //		This module defines the core dojo DOM geometry API.
      }; // Box functions will assume this model.
      // On IE/Opera, BORDER_BOX will be set if the primary document is in quirks mode.
      // Can be set to change behavior of box setters.
      // can be either:
      //	"border-box"
      //	"content-box" (default)

      geom.boxModel = "content-box"; // We punt per-node box mode testing completely.
      // If anybody cares, we can provide an additional (optional) unit
      // that overrides existing code to include per-node box sensitivity.
      // Opera documentation claims that Opera 9 uses border-box in BackCompat mode.
      // but experiments (Opera 9.10.8679 on Windows Vista) indicate that it actually continues to use content-box.
      // IIRC, earlier versions of Opera did in fact use border-box.
      // Opera guys, this is really confusing. Opera being broken in quirks mode is not our fault.

      if (has("ie")
      /*|| has("opera")*/
      ) {
        // client code may have to adjust if compatMode varies across iframes
        geom.boxModel = document.compatMode == "BackCompat" ? "border-box" : "content-box";
      }

      geom.getPadExtents = function getPadExtents(
      /*DomNode*/
      node,
      /*Object*/
      computedStyle) {
        // summary:
        //		Returns object with special values specifically useful for node
        //		fitting.
        // description:
        //		Returns an object with `w`, `h`, `l`, `t` properties:
        //	|		l/t/r/b = left/top/right/bottom padding (respectively)
        //	|		w = the total of the left and right padding
        //	|		h = the total of the top and bottom padding
        //		If 'node' has position, l/t forms the origin for child nodes.
        //		The w/h are used for calculating boxes.
        //		Normally application code will not need to invoke this
        //		directly, and will use the ...box... functions instead.
        // node: DOMNode
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var s = computedStyle || style.getComputedStyle(node),
            px = style.toPixelValue,
            l = px(node, s.paddingLeft),
            t = px(node, s.paddingTop),
            r = px(node, s.paddingRight),
            b = px(node, s.paddingBottom);
        return {
          l: l,
          t: t,
          r: r,
          b: b,
          w: l + r,
          h: t + b
        };
      };

      var none = "none";

      geom.getBorderExtents = function getBorderExtents(
      /*DomNode*/
      node,
      /*Object*/
      computedStyle) {
        // summary:
        //		returns an object with properties useful for noting the border
        //		dimensions.
        // description:
        //		- l/t/r/b = the sum of left/top/right/bottom border (respectively)
        //		- w = the sum of the left and right border
        //		- h = the sum of the top and bottom border
        //
        //		The w/h are used for calculating boxes.
        //		Normally application code will not need to invoke this
        //		directly, and will use the ...box... functions instead.
        // node: DOMNode
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var px = style.toPixelValue,
            s = computedStyle || style.getComputedStyle(node),
            l = s.borderLeftStyle != none ? px(node, s.borderLeftWidth) : 0,
            t = s.borderTopStyle != none ? px(node, s.borderTopWidth) : 0,
            r = s.borderRightStyle != none ? px(node, s.borderRightWidth) : 0,
            b = s.borderBottomStyle != none ? px(node, s.borderBottomWidth) : 0;
        return {
          l: l,
          t: t,
          r: r,
          b: b,
          w: l + r,
          h: t + b
        };
      };

      geom.getPadBorderExtents = function getPadBorderExtents(
      /*DomNode*/
      node,
      /*Object*/
      computedStyle) {
        // summary:
        //		Returns object with properties useful for box fitting with
        //		regards to padding.
        // description:
        //		- l/t/r/b = the sum of left/top/right/bottom padding and left/top/right/bottom border (respectively)
        //		- w = the sum of the left and right padding and border
        //		- h = the sum of the top and bottom padding and border
        //
        //		The w/h are used for calculating boxes.
        //		Normally application code will not need to invoke this
        //		directly, and will use the ...box... functions instead.
        // node: DOMNode
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var s = computedStyle || style.getComputedStyle(node),
            p = geom.getPadExtents(node, s),
            b = geom.getBorderExtents(node, s);
        return {
          l: p.l + b.l,
          t: p.t + b.t,
          r: p.r + b.r,
          b: p.b + b.b,
          w: p.w + b.w,
          h: p.h + b.h
        };
      };

      geom.getMarginExtents = function getMarginExtents(node, computedStyle) {
        // summary:
        //		returns object with properties useful for box fitting with
        //		regards to box margins (i.e., the outer-box).
        //
        //		- l/t = marginLeft, marginTop, respectively
        //		- w = total width, margin inclusive
        //		- h = total height, margin inclusive
        //
        //		The w/h are used for calculating boxes.
        //		Normally application code will not need to invoke this
        //		directly, and will use the ...box... functions instead.
        // node: DOMNode
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var s = computedStyle || style.getComputedStyle(node),
            px = style.toPixelValue,
            l = px(node, s.marginLeft),
            t = px(node, s.marginTop),
            r = px(node, s.marginRight),
            b = px(node, s.marginBottom);
        return {
          l: l,
          t: t,
          r: r,
          b: b,
          w: l + r,
          h: t + b
        };
      }; // Box getters work in any box context because offsetWidth/clientWidth
      // are invariant wrt box context
      //
      // They do *not* work for display: inline objects that have padding styles
      // because the user agent ignores padding (it's bogus styling in any case)
      //
      // Be careful with IMGs because they are inline or block depending on
      // browser and browser mode.
      // Although it would be easier to read, there are not separate versions of
      // _getMarginBox for each browser because:
      // 1. the branching is not expensive
      // 2. factoring the shared code wastes cycles (function call overhead)
      // 3. duplicating the shared code wastes bytes


      geom.getMarginBox = function getMarginBox(
      /*DomNode*/
      node,
      /*Object*/
      computedStyle) {
        // summary:
        //		returns an object that encodes the width, height, left and top
        //		positions of the node's margin box.
        // node: DOMNode
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var s = computedStyle || style.getComputedStyle(node),
            me = geom.getMarginExtents(node, s),
            l = node.offsetLeft - me.l,
            t = node.offsetTop - me.t,
            p = node.parentNode,
            px = style.toPixelValue,
            pcs;

        if (has("ie") == 8 && !has("quirks")) {
          // IE 8 offsetLeft/Top includes the parent's border
          if (p) {
            pcs = style.getComputedStyle(p);
            l -= pcs.borderLeftStyle != none ? px(node, pcs.borderLeftWidth) : 0;
            t -= pcs.borderTopStyle != none ? px(node, pcs.borderTopWidth) : 0;
          }
        }

        return {
          l: l,
          t: t,
          w: node.offsetWidth + me.w,
          h: node.offsetHeight + me.h
        };
      };

      geom.getContentBox = function getContentBox(node, computedStyle) {
        // summary:
        //		Returns an object that encodes the width, height, left and top
        //		positions of the node's content box, irrespective of the
        //		current box model.
        // node: DOMNode
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        // clientWidth/Height are important since the automatically account for scrollbars
        // fallback to offsetWidth/Height for special cases (see #3378)
        node = dom.byId(node);
        var s = computedStyle || style.getComputedStyle(node),
            w = node.clientWidth,
            h,
            pe = geom.getPadExtents(node, s),
            be = geom.getBorderExtents(node, s),
            l = node.offsetLeft + pe.l + be.l,
            t = node.offsetTop + pe.t + be.t;

        if (!w) {
          w = node.offsetWidth - be.w;
          h = node.offsetHeight - be.h;
        } else {
          h = node.clientHeight;
        }

        if (has("ie") == 8 && !has("quirks")) {
          // IE 8 offsetLeft/Top includes the parent's border
          var p = node.parentNode,
              px = style.toPixelValue,
              pcs;

          if (p) {
            pcs = style.getComputedStyle(p);
            l -= pcs.borderLeftStyle != none ? px(node, pcs.borderLeftWidth) : 0;
            t -= pcs.borderTopStyle != none ? px(node, pcs.borderTopWidth) : 0;
          }
        }

        return {
          l: l,
          t: t,
          w: w - pe.w,
          h: h - pe.h
        };
      }; // Box setters depend on box context because interpretation of width/height styles
      // vary wrt box context.
      //
      // The value of boxModel is used to determine box context.
      // boxModel can be set directly to change behavior.
      //
      // Beware of display: inline objects that have padding styles
      // because the user agent ignores padding (it's a bogus setup anyway)
      //
      // Be careful with IMGs because they are inline or block depending on
      // browser and browser mode.
      //
      // Elements other than DIV may have special quirks, like built-in
      // margins or padding, or values not detectable via computedStyle.
      // In particular, margins on TABLE do not seems to appear
      // at all in computedStyle on Mozilla.


      function setBox(
      /*DomNode*/
      node,
      /*Number?*/
      l,
      /*Number?*/
      t,
      /*Number?*/
      w,
      /*Number?*/
      h,
      /*String?*/
      u) {
        // summary:
        //		sets width/height/left/top in the current (native) box-model
        //		dimensions. Uses the unit passed in u.
        // node:
        //		DOM Node reference. Id string not supported for performance
        //		reasons.
        // l:
        //		left offset from parent.
        // t:
        //		top offset from parent.
        // w:
        //		width in current box model.
        // h:
        //		width in current box model.
        // u:
        //		unit measure to use for other measures. Defaults to "px".
        u = u || "px";
        var s = node.style;

        if (!isNaN(l)) {
          s.left = l + u;
        }

        if (!isNaN(t)) {
          s.top = t + u;
        }

        if (w >= 0) {
          s.width = w + u;
        }

        if (h >= 0) {
          s.height = h + u;
        }
      }

      function isButtonTag(
      /*DomNode*/
      node) {
        // summary:
        //		True if the node is BUTTON or INPUT.type="button".
        return node.tagName.toLowerCase() == "button" || node.tagName.toLowerCase() == "input" && (node.getAttribute("type") || "").toLowerCase() == "button"; // boolean
      }

      function usesBorderBox(
      /*DomNode*/
      node) {
        // summary:
        //		True if the node uses border-box layout.
        // We could test the computed style of node to see if a particular box
        // has been specified, but there are details and we choose not to bother.
        // TABLE and BUTTON (and INPUT type=button) are always border-box by default.
        // If you have assigned a different box to either one via CSS then
        // box functions will break.
        return geom.boxModel == "border-box" || node.tagName.toLowerCase() == "table" || isButtonTag(node); // boolean
      }

      geom.setContentSize = function setContentSize(
      /*DomNode*/
      node,
      /*Object*/
      box,
      /*Object*/
      computedStyle) {
        // summary:
        //		Sets the size of the node's contents, irrespective of margins,
        //		padding, or borders.
        // node: DOMNode
        // box: Object
        //		hash with optional "w", and "h" properties for "width", and "height"
        //		respectively. All specified properties should have numeric values in whole pixels.
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var w = box.w,
            h = box.h;

        if (usesBorderBox(node)) {
          var pb = geom.getPadBorderExtents(node, computedStyle);

          if (w >= 0) {
            w += pb.w;
          }

          if (h >= 0) {
            h += pb.h;
          }
        }

        setBox(node, NaN, NaN, w, h);
      };

      var nilExtents = {
        l: 0,
        t: 0,
        w: 0,
        h: 0
      };

      geom.setMarginBox = function setMarginBox(
      /*DomNode*/
      node,
      /*Object*/
      box,
      /*Object*/
      computedStyle) {
        // summary:
        //		sets the size of the node's margin box and placement
        //		(left/top), irrespective of box model. Think of it as a
        //		passthrough to setBox that handles box-model vagaries for
        //		you.
        // node: DOMNode
        // box: Object
        //		hash with optional "l", "t", "w", and "h" properties for "left", "right", "width", and "height"
        //		respectively. All specified properties should have numeric values in whole pixels.
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var s = computedStyle || style.getComputedStyle(node),
            w = box.w,
            h = box.h,
            // Some elements have special padding, margin, and box-model settings.
        // To use box functions you may need to set padding, margin explicitly.
        // Controlling box-model is harder, in a pinch you might set dojo/dom-geometry.boxModel.
        pb = usesBorderBox(node) ? nilExtents : geom.getPadBorderExtents(node, s),
            mb = geom.getMarginExtents(node, s);

        if (has("webkit")) {
          // on Safari (3.1.2), button nodes with no explicit size have a default margin
          // setting an explicit size eliminates the margin.
          // We have to swizzle the width to get correct margin reading.
          if (isButtonTag(node)) {
            var ns = node.style;

            if (w >= 0 && !ns.width) {
              ns.width = "4px";
            }

            if (h >= 0 && !ns.height) {
              ns.height = "4px";
            }
          }
        }

        if (w >= 0) {
          w = Math.max(w - pb.w - mb.w, 0);
        }

        if (h >= 0) {
          h = Math.max(h - pb.h - mb.h, 0);
        }

        setBox(node, box.l, box.t, w, h);
      }; // =============================
      // Positioning
      // =============================


      geom.isBodyLtr = function isBodyLtr(
      /*Document?*/
      doc) {
        // summary:
        //		Returns true if the current language is left-to-right, and false otherwise.
        // doc: Document?
        //		Optional document to query.   If unspecified, use win.doc.
        // returns: Boolean
        doc = doc || win.doc;
        return (win.body(doc).dir || doc.documentElement.dir || "ltr").toLowerCase() == "ltr"; // Boolean
      };

      geom.docScroll = function docScroll(
      /*Document?*/
      doc) {
        // summary:
        //		Returns an object with {node, x, y} with corresponding offsets.
        // doc: Document?
        //		Optional document to query.   If unspecified, use win.doc.
        // returns: Object
        doc = doc || win.doc;
        var node = win.doc.parentWindow || win.doc.defaultView; // use UI window, not dojo.global window.   TODO: use dojo/window::get() except for circular dependency problem

        return "pageXOffset" in node ? {
          x: node.pageXOffset,
          y: node.pageYOffset
        } : (node = false ? undefined : doc.documentElement) && {
          x: geom.fixIeBiDiScrollLeft(node.scrollLeft || 0, doc),
          y: node.scrollTop || 0
        };
      };

      geom.getIeDocumentElementOffset = function (
      /*Document?*/
      doc) {
        // summary:
        //		Deprecated method previously used for IE6-IE7.  Now, just returns `{x:0, y:0}`.
        return {
          x: 0,
          y: 0
        };
      };

      geom.fixIeBiDiScrollLeft = function fixIeBiDiScrollLeft(
      /*Integer*/
      scrollLeft,
      /*Document?*/
      doc) {
        // summary:
        //		In RTL direction, scrollLeft should be a negative value, but IE
        //		returns a positive one. All codes using documentElement.scrollLeft
        //		must call this function to fix this error, otherwise the position
        //		will offset to right when there is a horizontal scrollbar.
        // scrollLeft: Number
        // doc: Document?
        //		Optional document to query.   If unspecified, use win.doc.
        // returns: Number
        // In RTL direction, scrollLeft should be a negative value, but IE
        // returns a positive one. All codes using documentElement.scrollLeft
        // must call this function to fix this error, otherwise the position
        // will offset to right when there is a horizontal scrollbar.
        doc = doc || win.doc;
        var ie = has("ie");

        if (ie && !geom.isBodyLtr(doc)) {
          var qk = has("quirks"),
              de = qk ? win.body(doc) : doc.documentElement,
              pwin = win.global; // TODO: use winUtils.get(doc) after resolving circular dependency b/w dom-geometry.js and dojo/window.js

          if (ie == 6 && !qk && pwin.frameElement && de.scrollHeight > de.clientHeight) {
            scrollLeft += de.clientLeft; // workaround ie6+strict+rtl+iframe+vertical-scrollbar bug where clientWidth is too small by clientLeft pixels
          }

          return ie < 8 || qk ? scrollLeft + de.clientWidth - de.scrollWidth : -scrollLeft; // Integer
        }

        return scrollLeft; // Integer
      };

      geom.position = function (
      /*DomNode*/
      node,
      /*Boolean?*/
      includeScroll) {
        // summary:
        //		Gets the position and size of the passed element relative to
        //		the viewport (if includeScroll==false), or relative to the
        //		document root (if includeScroll==true).
        //
        // description:
        //		Returns an object of the form:
        //		`{ x: 100, y: 300, w: 20, h: 15 }`.
        //		If includeScroll==true, the x and y values will include any
        //		document offsets that may affect the position relative to the
        //		viewport.
        //		Uses the border-box model (inclusive of border and padding but
        //		not margin).  Does not act as a setter.
        // node: DOMNode|String
        // includeScroll: Boolean?
        // returns: Object
        node = dom.byId(node);
        var db = win.body(node.ownerDocument),
            ret = node.getBoundingClientRect();
        ret = {
          x: ret.left,
          y: ret.top,
          w: ret.right - ret.left,
          h: ret.bottom - ret.top
        };

        if (has("ie") < 9) {
          // fixes the position in IE, quirks mode
          ret.x -= false ? undefined : 0;
          ret.y -= false ? undefined : 0;
        } // account for document scrolling
        // if offsetParent is used, ret value already includes scroll position
        // so we may have to actually remove that value if !includeScroll


        if (includeScroll) {
          var scroll = geom.docScroll(node.ownerDocument);
          ret.x += scroll.x;
          ret.y += scroll.y;
        }

        return ret; // Object
      }; // random "private" functions wildly used throughout the toolkit


      geom.getMarginSize = function getMarginSize(
      /*DomNode*/
      node,
      /*Object*/
      computedStyle) {
        // summary:
        //		returns an object that encodes the width and height of
        //		the node's margin box
        // node: DOMNode|String
        // computedStyle: Object?
        //		This parameter accepts computed styles object.
        //		If this parameter is omitted, the functions will call
        //		dojo/dom-style.getComputedStyle to get one. It is a better way, calling
        //		dojo/dom-style.getComputedStyle once, and then pass the reference to this
        //		computedStyle parameter. Wherever possible, reuse the returned
        //		object of dojo/dom-style.getComputedStyle().
        node = dom.byId(node);
        var me = geom.getMarginExtents(node, computedStyle || style.getComputedStyle(node));
        var size = node.getBoundingClientRect();
        return {
          w: size.right - size.left + me.w,
          h: size.bottom - size.top + me.h
        };
      };

      geom.normalizeEvent = function (event) {
        // summary:
        //		Normalizes the geometry of a DOM event, normalizing the pageX, pageY,
        //		offsetX, offsetY, layerX, and layerX properties
        // event: Object
        if (!("layerX" in event)) {
          event.layerX = event.offsetX;
          event.layerY = event.offsetY;
        }

        if (!("pageX" in event)) {
          // FIXME: scroll position query is duped from dojo/_base/html to
          // avoid dependency on that entire module. Now that HTML is in
          // Base, we should convert back to something similar there.
          var se = event.target;
          var doc = se && se.ownerDocument || document; // DO NOT replace the following to use dojo/_base/window.body(), in IE, document.documentElement should be used
          // here rather than document.body

          var docBody = false ? undefined : doc.documentElement;
          event.pageX = event.clientX + geom.fixIeBiDiScrollLeft(docBody.scrollLeft || 0, doc);
          event.pageY = event.clientY + (docBody.scrollTop || 0);
        }
      }; // TODO: evaluate separate getters/setters for position and sizes?


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

  /***/
  "./node_modules/dojo/dom-prop.js":
  /*!***************************************!*\
    !*** ./node_modules/dojo/dom-prop.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomPropJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./dom-style */
    "./node_modules/dojo/dom-style.js"), __webpack_require__(
    /*! ./dom-construct */
    "./node_modules/dojo/dom-construct.js"), __webpack_require__(
    /*! ./_base/connect */
    "./node_modules/dojo/_base/connect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (exports, dojo, has, lang, dom, style, ctr, conn) {
      // module:
      //		dojo/dom-prop
      // summary:
      //		This module defines the core dojo DOM properties API.
      // TODOC: summary not showing up in output, see https://github.com/csnover/js-doc-parse/issues/42
      // =============================
      // Element properties Functions
      // =============================
      // helper to connect events
      var _evtHdlrMap = {},
          _ctr = 1,
          _attrId = dojo._scopeName + "attrid";

      has.add('dom-textContent', function (global, doc, element) {
        return 'textContent' in element;
      });
      exports.names = {
        // properties renamed to avoid clashes with reserved words
        "class": "className",
        "for": "htmlFor",
        // properties written as camelCase
        tabindex: "tabIndex",
        readonly: "readOnly",
        colspan: "colSpan",
        frameborder: "frameBorder",
        rowspan: "rowSpan",
        textcontent: "textContent",
        valuetype: "valueType"
      };

      function getText(
      /*DOMNode*/
      node) {
        // summary:
        //		recursion method for get('textContent') to use. Gets text value for a node.
        // description:
        //		Juse uses nodedValue so things like <br/> tags do not end up in
        //		the text as any sort of line return.
        var text = "",
            ch = node.childNodes;

        for (var i = 0, n; n = ch[i]; i++) {
          //Skip comments.
          if (n.nodeType != 8) {
            if (n.nodeType == 1) {
              text += getText(n);
            } else {
              text += n.nodeValue;
            }
          }
        }

        return text;
      }

      exports.get = function getProp(
      /*DOMNode|String*/
      node,
      /*String*/
      name) {
        // summary:
        //		Gets a property on an HTML element.
        // description:
        //		Handles normalized getting of properties on DOM nodes.
        //
        // node: DOMNode|String
        //		id or reference to the element to get the property on
        // name: String
        //		the name of the property to get.
        // returns:
        //		the value of the requested property or its default value
        //
        // example:
        //	|	// get the current value of the "foo" property on a node
        //	|	require(["dojo/dom-prop", "dojo/dom"], function(domProp, dom){
        //	|		domProp.get(dom.byId("nodeId"), "foo");
        //	|		// or we can just pass the id:
        //	|		domProp.get("nodeId", "foo");
        //	|	});
        node = dom.byId(node);
        var lc = name.toLowerCase(),
            propName = exports.names[lc] || name;

        if (propName == "textContent" && !has("dom-textContent")) {
          return getText(node);
        }

        return node[propName]; // Anything
      };

      exports.set = function setProp(
      /*DOMNode|String*/
      node,
      /*String|Object*/
      name,
      /*String?*/
      value) {
        // summary:
        //		Sets a property on an HTML element.
        // description:
        //		Handles normalized setting of properties on DOM nodes.
        //
        //		When passing functions as values, note that they will not be
        //		directly assigned to slots on the node, but rather the default
        //		behavior will be removed and the new behavior will be added
        //		using `dojo.connect()`, meaning that event handler properties
        //		will be normalized and that some caveats with regards to
        //		non-standard behaviors for onsubmit apply. Namely that you
        //		should cancel form submission using `dojo.stopEvent()` on the
        //		passed event object instead of returning a boolean value from
        //		the handler itself.
        // node: DOMNode|String
        //		id or reference to the element to set the property on
        // name: String|Object
        //		the name of the property to set, or a hash object to set
        //		multiple properties at once.
        // value: String?
        //		The value to set for the property
        // returns:
        //		the DOM node
        //
        // example:
        //	|	// use prop() to set the tab index
        //	|	require(["dojo/dom-prop"], function(domProp){
        //	|		domProp.set("nodeId", "tabIndex", 3);
        //	|	});
        //
        // example:
        //	Set multiple values at once, including event handlers:
        //	|	require(["dojo/dom-prop"], function(domProp){
        //	|		domProp.set("formId", {
        //	|			"foo": "bar",
        //	|			"tabIndex": -1,
        //	|			"method": "POST",
        //	|		});
        //	|	});
        node = dom.byId(node);
        var l = arguments.length;

        if (l == 2 && typeof name != "string") {
          // inline'd type check
          // the object form of setter: the 2nd argument is a dictionary
          for (var x in name) {
            exports.set(node, x, name[x]);
          }

          return node; // DomNode
        }

        var lc = name.toLowerCase(),
            propName = exports.names[lc] || name;

        if (propName == "style" && typeof value != "string") {
          // inline'd type check
          // special case: setting a style
          style.set(node, value);
          return node; // DomNode
        }

        if (propName == "innerHTML") {
          // special case: assigning HTML
          // the hash lists elements with read-only innerHTML on IE
          if (has("ie") && node.tagName.toLowerCase() in {
            col: 1,
            colgroup: 1,
            table: 1,
            tbody: 1,
            tfoot: 1,
            thead: 1,
            tr: 1,
            title: 1
          }) {
            ctr.empty(node);
            node.appendChild(ctr.toDom(value, node.ownerDocument));
          } else {
            node[propName] = value;
          }

          return node; // DomNode
        }

        if (propName == "textContent" && !has("dom-textContent")) {
          ctr.empty(node);
          node.appendChild(node.ownerDocument.createTextNode(value));
          return node;
        }

        if (lang.isFunction(value)) {
          // special case: assigning an event handler
          // clobber if we can
          var attrId = node[_attrId];

          if (!attrId) {
            attrId = _ctr++;
            node[_attrId] = attrId;
          }

          if (!_evtHdlrMap[attrId]) {
            _evtHdlrMap[attrId] = {};
          }

          var h = _evtHdlrMap[attrId][propName];

          if (h) {
            //h.remove();
            conn.disconnect(h);
          } else {
            try {
              delete node[propName];
            } catch (e) {}
          } // ensure that event objects are normalized, etc.


          if (value) {
            //_evtHdlrMap[attrId][propName] = on(node, propName, value);
            _evtHdlrMap[attrId][propName] = conn.connect(node, propName, value);
          } else {
            node[propName] = null;
          }

          return node; // DomNode
        }

        node[propName] = value;
        return node; // DomNode
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/dom-style.js":
  /*!****************************************!*\
    !*** ./node_modules/dojo/dom-style.js ***!
    \****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomStyleJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./_base/window */
    "./node_modules/dojo/_base/window.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (has, dom, win) {
      // module:
      //		dojo/dom-style
      // =============================
      // Style Functions
      // =============================
      // getComputedStyle drives most of the style code.
      // Wherever possible, reuse the returned object.
      //
      // API functions below that need to access computed styles accept an
      // optional computedStyle parameter.
      // If this parameter is omitted, the functions will call getComputedStyle themselves.
      // This way, calling code can access computedStyle once, and then pass the reference to
      // multiple API functions.
      // Although we normally eschew argument validation at this
      // level, here we test argument 'node' for (duck)type,
      // by testing nodeType, ecause 'document' is the 'parentNode' of 'body'
      // it is frequently sent to this function even
      // though it is not Element.
      var getComputedStyle,
          style = {// summary:
        //		This module defines the core dojo DOM style API.
      };

      if (has("webkit")) {
        getComputedStyle = function getComputedStyle(
        /*DomNode*/
        node) {
          var s;

          if (node.nodeType == 1) {
            var dv = node.ownerDocument.defaultView;
            s = dv.getComputedStyle(node, null);

            if (!s && node.style) {
              node.style.display = "";
              s = dv.getComputedStyle(node, null);
            }
          }

          return s || {};
        };
      } else if (has("ie") && (has("ie") < 9 || has("quirks"))) {
        getComputedStyle = function getComputedStyle(node) {
          // IE (as of 7) doesn't expose Element like sane browsers
          // currentStyle can be null on IE8!
          return node.nodeType == 1
          /* ELEMENT_NODE*/
          && node.currentStyle ? node.currentStyle : {};
        };
      } else {
        getComputedStyle = function getComputedStyle(node) {
          if (node.nodeType === 1
          /* ELEMENT_NODE*/
          ) {
            var dv = node.ownerDocument.defaultView,
                w = dv.opener ? dv : win.global.window;
            return w.getComputedStyle(node, null);
          }

          return {};
        };
      }

      style.getComputedStyle = getComputedStyle;
      /*=====
      style.getComputedStyle = function(node){
      	// summary:
      	//		Returns a "computed style" object.
      	//
      	// description:
      	//		Gets a "computed style" object which can be used to gather
      	//		information about the current state of the rendered node.
      	//
      	//		Note that this may behave differently on different browsers.
      	//		Values may have different formats and value encodings across
      	//		browsers.
      	//
      	//		Note also that this method is expensive.  Wherever possible,
      	//		reuse the returned object.
      	//
      	//		Use the dojo/dom-style.get() method for more consistent (pixelized)
      	//		return values.
      	//
      	// node: DOMNode
      	//		A reference to a DOM node. Does NOT support taking an
      	//		ID string for speed reasons.
      	// example:
      	//	|	require(["dojo/dom-style", "dojo/dom"], function(domStyle, dom){
      	//	|		domStyle.getComputedStyle(dom.byId('foo')).borderWidth;
      	//	|	});
      	//
      	// example:
      	//		Reusing the returned object, avoiding multiple lookups:
      	//	|	require(["dojo/dom-style", "dojo/dom"], function(domStyle, dom){
      	//	|		var cs = domStyle.getComputedStyle(dom.byId("someNode"));
      	//	|		var w = cs.width, h = cs.height;
      	//	|	});
      	return; // CSS2Properties
      };
      =====*/

      var toPixel;

      if (!has("ie")) {
        toPixel = function toPixel(element, value) {
          // style values can be floats, client code may want
          // to round for integer pixels.
          return parseFloat(value) || 0;
        };
      } else {
        toPixel = function toPixel(element, avalue) {
          if (!avalue) {
            return 0;
          } // on IE7, medium is usually 4 pixels


          if (avalue == "medium") {
            return 4;
          } // style values can be floats, client code may
          // want to round this value for integer pixels.


          if (avalue.slice && avalue.slice(-2) == 'px') {
            return parseFloat(avalue);
          }

          var s = element.style,
              rs = element.runtimeStyle,
              cs = element.currentStyle,
              sLeft = s.left,
              rsLeft = rs.left;
          rs.left = cs.left;

          try {
            // 'avalue' may be incompatible with style.left, which can cause IE to throw
            // this has been observed for border widths using "thin", "medium", "thick" constants
            // those particular constants could be trapped by a lookup
            // but perhaps there are more
            s.left = avalue;
            avalue = s.pixelLeft;
          } catch (e) {
            avalue = 0;
          }

          s.left = sLeft;
          rs.left = rsLeft;
          return avalue;
        };
      }

      style.toPixelValue = toPixel;
      /*=====
      style.toPixelValue = function(node, value){
      	// summary:
      	//		converts style value to pixels on IE or return a numeric value.
      	// node: DOMNode
      	// value: String
      	// returns: Number
      };
      =====*/
      // FIXME: there opacity quirks on FF that we haven't ported over. Hrm.

      var astr = "DXImageTransform.Microsoft.Alpha";

      var af = function af(n, f) {
        try {
          return n.filters.item(astr);
        } catch (e) {
          return f ? {} : null;
        }
      };

      var _getOpacity = has("ie") < 9 || has("ie") < 10 && has("quirks") ? function (node) {
        try {
          return af(node).Opacity / 100; // Number
        } catch (e) {
          return 1; // Number
        }
      } : function (node) {
        return getComputedStyle(node).opacity;
      };

      var _setOpacity = has("ie") < 9 || has("ie") < 10 && has("quirks") ? function (
      /*DomNode*/
      node,
      /*Number*/
      opacity) {
        if (opacity === "") {
          opacity = 1;
        }

        var ov = opacity * 100,
            fullyOpaque = opacity === 1; // on IE7 Alpha(Filter opacity=100) makes text look fuzzy so disable it altogether (bug #2661),
        // but still update the opacity value so we can get a correct reading if it is read later:
        // af(node, 1).Enabled = !fullyOpaque;

        if (fullyOpaque) {
          node.style.zoom = "";

          if (af(node)) {
            node.style.filter = node.style.filter.replace(new RegExp("\\s*progid:" + astr + "\\([^\\)]+?\\)", "i"), "");
          }
        } else {
          node.style.zoom = 1;

          if (af(node)) {
            af(node, 1).Opacity = ov;
          } else {
            node.style.filter += " progid:" + astr + "(Opacity=" + ov + ")";
          }

          af(node, 1).Enabled = true;
        }

        if (node.tagName.toLowerCase() == "tr") {
          for (var td = node.firstChild; td; td = td.nextSibling) {
            if (td.tagName.toLowerCase() == "td") {
              _setOpacity(td, opacity);
            }
          }
        }

        return opacity;
      } : function (node, opacity) {
        return node.style.opacity = opacity;
      };

      var _pixelNamesCache = {
        left: true,
        top: true
      };
      var _pixelRegExp = /margin|padding|width|height|max|min|offset/; // |border

      function _toStyleValue(node, type, value) {
        //TODO: should we really be doing string case conversion here? Should we cache it? Need to profile!
        type = type.toLowerCase(); // Adjustments for IE and Edge

        if (value == "auto") {
          if (type == "height") {
            return node.offsetHeight;
          }

          if (type == "width") {
            return node.offsetWidth;
          }
        }

        if (type == "fontweight") {
          switch (value) {
            case 700:
              return "bold";

            case 400:
            default:
              return "normal";
          }
        }

        if (!(type in _pixelNamesCache)) {
          _pixelNamesCache[type] = _pixelRegExp.test(type);
        }

        return _pixelNamesCache[type] ? toPixel(node, value) : value;
      }

      var _floatAliases = {
        cssFloat: 1,
        styleFloat: 1,
        "float": 1
      }; // public API

      style.get = function getStyle(
      /*DOMNode|String*/
      node,
      /*String?*/
      name) {
        // summary:
        //		Accesses styles on a node.
        // description:
        //		Getting the style value uses the computed style for the node, so the value
        //		will be a calculated value, not just the immediate node.style value.
        //		Also when getting values, use specific style names,
        //		like "borderBottomWidth" instead of "border" since compound values like
        //		"border" are not necessarily reflected as expected.
        //		If you want to get node dimensions, use `dojo/dom-geometry.getMarginBox()`,
        //		`dojo/dom-geometry.getContentBox()` or `dojo/dom-geometry.getPosition()`.
        // node: DOMNode|String
        //		id or reference to node to get style for
        // name: String?
        //		the style property to get
        // example:
        //		Passing only an ID or node returns the computed style object of
        //		the node:
        //	|	require(["dojo/dom-style", "dojo/dom"], function(domStyle, dom){
        //	|		domStyle.get("thinger");
        //	|	});
        // example:
        //		Passing a node and a style property returns the current
        //		normalized, computed value for that property:
        //	|	require(["dojo/dom-style", "dojo/dom"], function(domStyle, dom){
        //	|		domStyle.get("thinger", "opacity"); // 1 by default
        //	|	});
        var n = dom.byId(node),
            l = arguments.length,
            op = name == "opacity";

        if (l == 2 && op) {
          return _getOpacity(n);
        }

        name = _floatAliases[name] ? "cssFloat" in n.style ? "cssFloat" : "styleFloat" : name;
        var s = style.getComputedStyle(n);
        return l == 1 ? s : _toStyleValue(n, name, s[name] || n.style[name]);
        /* CSS2Properties||String||Number */
      };

      style.set = function setStyle(
      /*DOMNode|String*/
      node,
      /*String|Object*/
      name,
      /*String?*/
      value) {
        // summary:
        //		Sets styles on a node.
        // node: DOMNode|String
        //		id or reference to node to set style for
        // name: String|Object
        //		the style property to set in DOM-accessor format
        //		("borderWidth", not "border-width") or an object with key/value
        //		pairs suitable for setting each property.
        // value: String?
        //		If passed, sets value on the node for style, handling
        //		cross-browser concerns.  When setting a pixel value,
        //		be sure to include "px" in the value. For instance, top: "200px".
        //		Otherwise, in some cases, some browsers will not apply the style.
        //
        // example:
        //		Passing a node, a style property, and a value changes the
        //		current display of the node and returns the new computed value
        //	|	require(["dojo/dom-style"], function(domStyle){
        //	|		domStyle.set("thinger", "opacity", 0.5); // == 0.5
        //	|	});
        //
        // example:
        //		Passing a node, an object-style style property sets each of the values in turn and returns the computed style object of the node:
        //	|	require(["dojo/dom-style"], function(domStyle){
        //	|		domStyle.set("thinger", {
        //	|			"opacity": 0.5,
        //	|			"border": "3px solid black",
        //	|			"height": "300px"
        //	|		});
        //	|	});
        //
        // example:
        //		When the CSS style property is hyphenated, the JavaScript property is camelCased.
        //		font-size becomes fontSize, and so on.
        //	|	require(["dojo/dom-style", "dojo/dom"], function(domStyle, dom){
        //	|		domStyle.set("thinger",{
        //	|			fontSize:"14pt",
        //	|			letterSpacing:"1.2em"
        //	|		});
        //	|	});
        //
        // example:
        //		dojo/NodeList implements .style() using the same syntax, omitting the "node" parameter, calling
        //		dojo/dom-style.get() on every element of the list. See: `dojo/query` and `dojo/NodeList`
        //	|	require(["dojo/dom-style", "dojo/query", "dojo/NodeList-dom"],
        //	|	function(domStyle, query){
        //	|		query(".someClassName").style("visibility","hidden");
        //	|		// or
        //	|		query("#baz > div").style({
        //	|			opacity:0.75,
        //	|			fontSize:"13pt"
        //	|		});
        //	|	});
        var n = dom.byId(node),
            l = arguments.length,
            op = name == "opacity";
        name = _floatAliases[name] ? "cssFloat" in n.style ? "cssFloat" : "styleFloat" : name;

        if (l == 3) {
          return op ? _setOpacity(n, value) : n.style[name] = value; // Number
        }

        for (var x in name) {
          style.set(node, x, name[x]);
        }

        return style.getComputedStyle(n);
      };

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

  /***/
  "./node_modules/dojo/dom.js":
  /*!**********************************!*\
    !*** ./node_modules/dojo/dom.js ***!
    \**********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoDomJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js"), __webpack_require__(
    /*! ./_base/window */
    "./node_modules/dojo/_base/window.js"), __webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (has, win, kernel) {
      // module:
      //		dojo/dom
      // FIXME: need to add unit tests for all the semi-public methods
      if (has("ie") <= 7) {
        try {
          document.execCommand("BackgroundImageCache", false, true);
        } catch (e) {// sane browsers don't have cache "issues"
        }
      } // =============================
      // DOM Functions
      // =============================
      // the result object


      var dom = {// summary:
        //		This module defines the core dojo DOM API.
      };

      if (has("ie")) {
        dom.byId = function (id, doc) {
          if (typeof id != "string") {
            return id;
          }

          var _d = doc || win.doc,
              te = id && _d.getElementById(id); // attributes.id.value is better than just id in case the
          // user has a name=id inside a form


          if (te && (te.attributes.id.value == id || te.id == id)) {
            return te;
          } else {
            var eles = _d.all[id];

            if (!eles || eles.nodeName) {
              eles = [eles];
            } // if more than 1, choose first with the correct id


            var i = 0;

            while (te = eles[i++]) {
              if (te.attributes && te.attributes.id && te.attributes.id.value == id || te.id == id) {
                return te;
              }
            }
          }
        };
      } else {
        dom.byId = function (id, doc) {
          // inline'd type check.
          // be sure to return null per documentation, to match IE branch.
          return (typeof id == "string" ? (doc || win.doc).getElementById(id) : id) || null; // DOMNode
        };
      }
      /*=====
       dom.byId = function(id, doc){
      	// summary:
      	//		Returns DOM node with matching `id` attribute or falsy value (ex: null or undefined)
      	//		if not found.  If `id` is a DomNode, this function is a no-op.
      	//
      	// id: String|DOMNode
      	//		A string to match an HTML id attribute or a reference to a DOM Node
      	//
      	// doc: Document?
      	//		Document to work in. Defaults to the current value of
      	//		dojo/_base/window.doc.  Can be used to retrieve
      	//		node references from other documents.
      	//
      	// example:
      	//		Look up a node by ID:
      	//	|	require(["dojo/dom"], function(dom){
      	//	|		var n = dom.byId("foo");
      	//	|	});
      	//
      	// example:
      	//		Check if a node exists, and use it.
      	//	|	require(["dojo/dom"], function(dom){
      	//	|		var n = dom.byId("bar");
      	//	|		if(n){ doStuff() ... }
      	//	|	});
      	//
      	// example:
      	//		Allow string or DomNode references to be passed to a custom function:
      	//	|	require(["dojo/dom"], function(dom){
      	//	|		var foo = function(nodeOrId){
      	//	|			nodeOrId = dom.byId(nodeOrId);
      	//	|			// ... more stuff
      	//	|		}
      	//	|	});
       };
       =====*/
      // Test for DOMNode.contains() method, available everywhere except FF8-
      // and IE8-, where it's available in general, but not on document itself,
      // and also problems when either ancestor or node are text nodes.


      var doc = kernel.global["document"] || null;
      has.add("dom-contains", !!(doc && doc.contains));
      dom.isDescendant = has("dom-contains") ? // FF9+, IE9+, webkit, opera, iOS, Android, Edge, etc.
      function (
      /*DOMNode|String*/
      node,
      /*DOMNode|String*/
      ancestor) {
        return !!((ancestor = dom.byId(ancestor)) && ancestor.contains(dom.byId(node)));
      } : function (
      /*DOMNode|String*/
      node,
      /*DOMNode|String*/
      ancestor) {
        // summary:
        //		Returns true if node is a descendant of ancestor
        // node: DOMNode|String
        //		string id or node reference to test
        // ancestor: DOMNode|String
        //		string id or node reference of potential parent to test against
        //
        // example:
        //		Test is node id="bar" is a descendant of node id="foo"
        //	|	require(["dojo/dom"], function(dom){
        //	|		if(dom.isDescendant("bar", "foo")){ ... }
        //	|	});
        try {
          node = dom.byId(node);
          ancestor = dom.byId(ancestor);

          while (node) {
            if (node == ancestor) {
              return true; // Boolean
            }

            node = node.parentNode;
          }
        } catch (e) {
          /* squelch, return false */
        }

        return false; // Boolean
      }; // TODO: do we need setSelectable in the base?
      // Add feature test for user-select CSS property
      // (currently known to work in all but IE < 10 and Opera)
      // TODO: The user-select CSS property as of May 2014 is no longer part of
      // any CSS specification. In IE, -ms-user-select does not do the same thing
      // as the unselectable attribute on elements; namely, dijit Editor buttons
      // do not properly prevent the content of the editable content frame from
      // unblurring. As a result, the -ms- prefixed version is omitted here.

      has.add("css-user-select", function (global, doc, element) {
        // Avoid exception when dom.js is loaded in non-browser environments
        if (!element) {
          return false;
        }

        var style = element.style;
        var prefixes = ["Khtml", "O", "Moz", "Webkit"],
            i = prefixes.length,
            name = "userSelect",
            prefix; // Iterate prefixes from most to least likely

        do {
          if (typeof style[name] !== "undefined") {
            // Supported; return property name
            return name;
          }
        } while (i-- && (name = prefixes[i] + "UserSelect")); // Not supported if we didn't return before now


        return false;
      });
      /*=====
      dom.setSelectable = function(node, selectable){
      	// summary:
      	//		Enable or disable selection on a node
      	// node: DOMNode|String
      	//		id or reference to node
      	// selectable: Boolean
      	//		state to put the node in. false indicates unselectable, true
      	//		allows selection.
      	// example:
      	//		Make the node id="bar" unselectable
      	//	|	require(["dojo/dom"], function(dom){
      	//	|		dom.setSelectable("bar");
      	//	|	});
      	// example:
      	//		Make the node id="bar" selectable
      	//	|	require(["dojo/dom"], function(dom){
      	//	|		dom.setSelectable("bar", true);
      	//	|	});
      };
      =====*/

      var cssUserSelect = has("css-user-select");
      dom.setSelectable = cssUserSelect ? function (node, selectable) {
        // css-user-select returns a (possibly vendor-prefixed) CSS property name
        dom.byId(node).style[cssUserSelect] = selectable ? "" : "none";
      } : function (node, selectable) {
        node = dom.byId(node); // (IE < 10 / Opera) Fall back to setting/removing the
        // unselectable attribute on the element and all its children

        var nodes = node.getElementsByTagName("*"),
            i = nodes.length;

        if (selectable) {
          node.removeAttribute("unselectable");

          while (i--) {
            nodes[i].removeAttribute("unselectable");
          }
        } else {
          node.setAttribute("unselectable", "on");

          while (i--) {
            nodes[i].setAttribute("unselectable", "on");
          }
        }
      };
      return dom;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/errors/CancelError.js":
  /*!*************************************************!*\
    !*** ./node_modules/dojo/errors/CancelError.js ***!
    \*************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoErrorsCancelErrorJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./create */
    "./node_modules/dojo/errors/create.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (create) {
      // module:
      //		dojo/errors/CancelError

      /*=====
      return function(){
      	// summary:
      	//		Default error if a promise is canceled without a reason.
      };
      =====*/
      return create("CancelError", null, null, {
        dojoType: "cancel",
        log: false
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/errors/RequestError.js":
  /*!**************************************************!*\
    !*** ./node_modules/dojo/errors/RequestError.js ***!
    \**************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoErrorsRequestErrorJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./create */
    "./node_modules/dojo/errors/create.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (create) {
      // module:
      //		dojo/errors/RequestError

      /*=====
       return function(){
      	 // summary:
      	 //		TODOC
       };
       =====*/
      return create("RequestError", function (message, response) {
        this.response = response;
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/errors/RequestTimeoutError.js":
  /*!*********************************************************!*\
    !*** ./node_modules/dojo/errors/RequestTimeoutError.js ***!
    \*********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoErrorsRequestTimeoutErrorJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./create */
    "./node_modules/dojo/errors/create.js"), __webpack_require__(
    /*! ./RequestError */
    "./node_modules/dojo/errors/RequestError.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (create, RequestError) {
      // module:
      //		dojo/errors/RequestTimeoutError

      /*=====
       return function(){
      	 // summary:
      	 //		TODOC
       };
       =====*/
      return create("RequestTimeoutError", null, RequestError, {
        dojoType: "timeout"
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/errors/create.js":
  /*!********************************************!*\
    !*** ./node_modules/dojo/errors/create.js ***!
    \********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoErrorsCreateJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../_base/lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (lang) {
      return function (name, ctor, base, props) {
        base = base || Error;

        var ErrorCtor = function ErrorCtor(message) {
          if (base === Error) {
            if (Error.captureStackTrace) {
              Error.captureStackTrace(this, ErrorCtor);
            } // Error.call() operates on the returned error
            // object rather than operating on |this|


            var err = Error.call(this, message),
                prop; // Copy own properties from err to |this|

            for (prop in err) {
              if (err.hasOwnProperty(prop)) {
                this[prop] = err[prop];
              }
            } // messsage is non-enumerable in ES5


            this.message = message; // stack is non-enumerable in at least Firefox

            this.stack = err.stack;
          } else {
            base.apply(this, arguments);
          }

          if (ctor) {
            ctor.apply(this, arguments);
          }
        };

        ErrorCtor.prototype = lang.delegate(base.prototype, props);
        ErrorCtor.prototype.name = name;
        ErrorCtor.prototype.constructor = ErrorCtor;
        return ErrorCtor;
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/global.js":
  /*!*************************************!*\
    !*** ./node_modules/dojo/global.js ***!
    \*************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoGlobalJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_RESULT__ = function () {
      if (typeof global !== 'undefined' && typeof global !== 'function') {
        // global spec defines a reference to the global object called 'global'
        // https://github.com/tc39/proposal-global
        // `global` is also defined in NodeJS
        return global;
      } else if (typeof window !== 'undefined') {
        // window is defined in browsers
        return window;
      } else if (typeof self !== 'undefined') {
        // self is defined in WebWorkers
        return self;
      }

      return this;
    }.call(null, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/has.js":
  /*!**********************************!*\
    !*** ./node_modules/dojo/has.js ***!
    \**********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoHasJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./global */
    "./node_modules/dojo/global.js"), __webpack_require__.dj.c(module.i), __webpack_require__.dj.m(module)], __WEBPACK_AMD_DEFINE_RESULT__ = function (global, require, module) {
      // module:
      //		dojo/has
      // summary:
      //		Defines the has.js API and several feature tests used by dojo.
      // description:
      //		This module defines the has API as described by the project has.js with the following additional features:
      //
      //		- the has test cache is exposed at has.cache.
      //		- the method has.add includes a forth parameter that controls whether or not existing tests are replaced
      //		- the loader's has cache may be optionally copied into this module's has cahce.
      //
      //		This module adopted from https://github.com/phiggins42/has.js; thanks has.js team!
      // try to pull the has implementation from the loader; both the dojo loader and bdLoad provide one
      // if using a foreign loader, then the has cache may be initialized via the config object for this module
      // WARNING: if a foreign loader defines require.has to be something other than the has.js API, then this implementation fail
      var has = require.has || function () {};

      if (false) {
        var isBrowser, doc, element, cache;
      }

      if (true) {
        // Common application level tests
        has.add("dom-addeventlistener", !!document.addEventListener); // Do the device and browser have touch capability?

        has.add("touch", "ontouchstart" in document || "onpointerdown" in document && navigator.maxTouchPoints > 0 || window.navigator.msMaxTouchPoints); // Touch events support

        has.add("touch-events", "ontouchstart" in document); // Test if pointer events are supported and enabled, with either standard names ("pointerdown" etc.) or
        // IE specific names ("MSPointerDown" etc.).  Tests are designed to work on embedded C# WebBrowser Controls
        // in addition to IE, Edge, and future versions of Firefox and Chrome.
        // Note that on IE11, has("pointer-events") and has("MSPointer") are both true.

        has.add("pointer-events", "pointerEnabled" in window.navigator ? window.navigator.pointerEnabled : "PointerEvent" in window);
        has.add("MSPointer", window.navigator.msPointerEnabled); // The "pointermove"" event is only continuously emitted in a touch environment if
        // the target node's "touch-action"" CSS property is set to "none"
        // https://www.w3.org/TR/pointerevents/#the-touch-action-css-property

        has.add("touch-action", has("touch") && has("pointer-events")); // I don't know if any of these tests are really correct, just a rough guess

        has.add("device-width", screen.availWidth || innerWidth); // Tests for DOMNode.attributes[] behavior:
        //	 - dom-attributes-explicit - attributes[] only lists explicitly user specified attributes
        //	 - dom-attributes-specified-flag (IE8) - need to check attr.specified flag to skip attributes user didn't specify
        //	 - Otherwise, in IE6-7. attributes[] will list hundreds of values, so need to do outerHTML to get attrs instead.

        var form = document.createElement("form");
        has.add("dom-attributes-explicit", form.attributes.length == 0); // W3C

        has.add("dom-attributes-specified-flag", form.attributes.length > 0 && form.attributes.length < 40); // IE8
      }

      has.clearElement = function (element) {
        // summary:
        //	 Deletes the contents of the element passed to test functions.
        element.innerHTML = "";
        return element;
      };

      has.normalize = function (id, toAbsMid) {
        // summary:
        //	 Resolves id into a module id based on possibly-nested tenary expression that branches on has feature test value(s).
        //
        // toAbsMid: Function
        //	 Resolves a relative module id into an absolute module id
        var tokens = id.match(/[\?:]|[^:\?]*/g),
            i = 0,
            get = function get(skip) {
          var term = tokens[i++];

          if (term == ":") {
            // empty string module name, resolves to 0
            return 0;
          } else {
            // postfixed with a ? means it is a feature to branch on, the term is the name of the feature
            if (tokens[i++] == "?") {
              if (!skip && has(term)) {
                // matched the feature, get the first value from the options
                return get();
              } else {
                // did not match, get the second value, passing over the first
                get(true);
                return get(skip);
              }
            } // a module


            return term || 0;
          }
        };

        id = get();
        return id && toAbsMid(id);
      };

      has.load = function (id, parentRequire, loaded) {
        // summary:
        //		Conditional loading of AMD modules based on a has feature test value.
        // id: String
        //		Gives the resolved module id to load.
        // parentRequire: Function
        //		The loader require function with respect to the module that contained the plugin resource in it's
        //		dependency list.
        // loaded: Function
        //	 Callback to loader that consumes result of plugin demand.
        if (id) {
          parentRequire([id], loaded);
        } else {
          loaded();
        }
      };

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

  /***/
  "./node_modules/dojo/i18n.js":
  /*!***********************************!*\
    !*** ./node_modules/dojo/i18n.js ***!
    \***********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoI18nJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__.dj.c(module.i), __webpack_require__(
    /*! ./has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ./_base/config */
    "./node_modules/dojo/_base/config.js"), __webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./_base/xhr */
    "./node_modules/dojo/_base/xhr.js"), __webpack_require__(
    /*! ./json */
    "./node_modules/dojo/json.js"), __webpack_require__.dj.m(module)], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, require, has, array, config, lang, xhr, json, module) {
      // module:
      //		dojo/i18n
      has.add("dojo-preload-i18n-Api", // if true, define the preload localizations machinery
      1);
      has.add("dojo-v1x-i18n-Api", // if true, define the v1.x i18n functions
      1);

      var thisModule = dojo.i18n = {// summary:
        //		This module implements the dojo/i18n! plugin and the v1.6- i18n API
        // description:
        //		We choose to include our own plugin to leverage functionality already contained in dojo
        //		and thereby reduce the size of the plugin compared to various loader implementations. Also, this
        //		allows foreign AMD loaders to be used without their plugins.
      },
          nlsRe = // regexp for reconstructing the master bundle name from parts of the regexp match
      // nlsRe.exec("foo/bar/baz/nls/en-ca/foo") gives:
      // ["foo/bar/baz/nls/en-ca/foo", "foo/bar/baz/nls/", "/", "/", "en-ca", "foo"]
      // nlsRe.exec("foo/bar/baz/nls/foo") gives:
      // ["foo/bar/baz/nls/foo", "foo/bar/baz/nls/", "/", "/", "foo", ""]
      // so, if match[5] is blank, it means this is the top bundle definition.
      // courtesy of http://requirejs.org
      /(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,
          getAvailableLocales = function getAvailableLocales(root, locale, bundlePath, bundleName) {
        // summary:
        //		return a vector of module ids containing all available locales with respect to the target locale
        //		For example, assuming:
        //
        //		- the root bundle indicates specific bundles for "fr" and "fr-ca",
        //		-  bundlePath is "myPackage/nls"
        //		- bundleName is "myBundle"
        //
        //		Then a locale argument of "fr-ca" would return
        //
        //			["myPackage/nls/myBundle", "myPackage/nls/fr/myBundle", "myPackage/nls/fr-ca/myBundle"]
        //
        //		Notice that bundles are returned least-specific to most-specific, starting with the root.
        //
        //		If root===false indicates we're working with a pre-AMD i18n bundle that doesn't tell about the available locales;
        //		therefore, assume everything is available and get 404 errors that indicate a particular localization is not available
        for (var result = [bundlePath + bundleName], localeParts = locale.split("-"), current = "", i = 0; i < localeParts.length; i++) {
          current += (current ? "-" : "") + localeParts[i];

          if (!root || root[current]) {
            result.push(bundlePath + current + "/" + bundleName);
            result.specificity = current;
          }
        }

        return result;
      },
          cache = {},
          getBundleName = function getBundleName(moduleName, bundleName, locale) {
        locale = locale ? locale.toLowerCase() : dojo.locale;
        moduleName = moduleName.replace(/\./g, "/");
        bundleName = bundleName.replace(/\./g, "/");
        return /root/i.test(locale) ? moduleName + "/nls/" + bundleName : moduleName + "/nls/" + locale + "/" + bundleName;
      },
          getL10nName = dojo.getL10nName = function (moduleName, bundleName, locale) {
        return moduleName = module.id + "!" + getBundleName(moduleName, bundleName, locale);
      },
          doLoad = function doLoad(require, bundlePathAndName, bundlePath, bundleName, locale, load) {
        // summary:
        //		get the root bundle which instructs which other bundles are required to construct the localized bundle
        require([bundlePathAndName], function (root) {
          var current = lang.clone(root.root || root.ROOT),
              // 1.6 built bundle defined ROOT
          availableLocales = getAvailableLocales(!root._v1x && root, locale, bundlePath, bundleName);

          require(availableLocales, function () {
            for (var i = 1; i < availableLocales.length; i++) {
              current = lang.mixin(lang.clone(current), arguments[i]);
            } // target may not have been resolve (e.g., maybe only "fr" exists when "fr-ca" was requested)


            var target = bundlePathAndName + "/" + locale;
            cache[target] = current;
            current.$locale = availableLocales.specificity;
            load();
          });
        });
      },
          normalize = function normalize(id, toAbsMid) {
        // summary:
        //		id may be relative.
        //		preload has form `*preload*<path>/nls/<module>*<flattened locales>` and
        //		therefore never looks like a relative
        return /^\./.test(id) ? toAbsMid(id) : id;
      },
          getLocalesToLoad = function getLocalesToLoad(targetLocale) {
        var list = config.extraLocale || [];
        list = lang.isArray(list) ? list : [list];
        list.push(targetLocale);
        return list;
      },
          load = function load(id, require, _load) {
        // summary:
        //		id is in one of the following formats
        //
        //		1. <path>/nls/<bundle>
        //			=> load the bundle, localized to config.locale; load all bundles localized to
        //			config.extraLocale (if any); return the loaded bundle localized to config.locale.
        //
        //		2. <path>/nls/<locale>/<bundle>
        //			=> load then return the bundle localized to <locale>
        //
        //		3. *preload*<path>/nls/<module>*<JSON array of available locales>
        //			=> for config.locale and all config.extraLocale, load all bundles found
        //			in the best-matching bundle rollup. A value of 1 is returned, which
        //			is meaningless other than to say the plugin is executing the requested
        //			preloads
        //
        //		In cases 1 and 2, <path> is always normalized to an absolute module id upon entry; see
        //		normalize. In case 3, it <path> is assumed to be absolute; this is arranged by the builder.
        //
        //		To load a bundle means to insert the bundle into the plugin's cache and publish the bundle
        //		value to the loader. Given <path>, <bundle>, and a particular <locale>, the cache key
        //
        //			<path>/nls/<bundle>/<locale>
        //
        //		will hold the value. Similarly, then plugin will publish this value to the loader by
        //
        //			define("<path>/nls/<bundle>/<locale>", <bundle-value>);
        //
        //		Given this algorithm, other machinery can provide fast load paths be preplacing
        //		values in the plugin's cache, which is public. When a load is demanded the
        //		cache is inspected before starting any loading. Explicitly placing values in the plugin
        //		cache is an advanced/experimental feature that should not be needed; use at your own risk.
        //
        //		For the normal AMD algorithm, the root bundle is loaded first, which instructs the
        //		plugin what additional localized bundles are required for a particular locale. These
        //		additional locales are loaded and a mix of the root and each progressively-specific
        //		locale is returned. For example:
        //
        //		1. The client demands "dojo/i18n!some/path/nls/someBundle
        //
        //		2. The loader demands load(some/path/nls/someBundle)
        //
        //		3. This plugin require's "some/path/nls/someBundle", which is the root bundle.
        //
        //		4. Assuming config.locale is "ab-cd-ef" and the root bundle indicates that localizations
        //		are available for "ab" and "ab-cd-ef" (note the missing "ab-cd", then the plugin
        //		requires "some/path/nls/ab/someBundle" and "some/path/nls/ab-cd-ef/someBundle"
        //
        //		5. Upon receiving all required bundles, the plugin constructs the value of the bundle
        //		ab-cd-ef as...
        //
        //				mixin(mixin(mixin({}, require("some/path/nls/someBundle"),
        //		  			require("some/path/nls/ab/someBundle")),
        //					require("some/path/nls/ab-cd-ef/someBundle"));
        //
        //		This value is inserted into the cache and published to the loader at the
        //		key/module-id some/path/nls/someBundle/ab-cd-ef.
        //
        //		The special preload signature (case 3) instructs the plugin to stop servicing all normal requests
        //		(further preload requests will be serviced) until all ongoing preloading has completed.
        //
        //		The preload signature instructs the plugin that a special rollup module is available that contains
        //		one or more flattened, localized bundles. The JSON array of available locales indicates which locales
        //		are available. Here is an example:
        //
        //			*preload*some/path/nls/someModule*["root", "ab", "ab-cd-ef"]
        //
        //		This indicates the following rollup modules are available:
        //
        //			some/path/nls/someModule_ROOT
        //			some/path/nls/someModule_ab
        //			some/path/nls/someModule_ab-cd-ef
        //
        //		Each of these modules is a normal AMD module that contains one or more flattened bundles in a hash.
        //		For example, assume someModule contained the bundles some/bundle/path/someBundle and
        //		some/bundle/path/someOtherBundle, then some/path/nls/someModule_ab would be expressed as follows:
        //
        //			define({
        //				some/bundle/path/someBundle:<value of someBundle, flattened with respect to locale ab>,
        //				some/bundle/path/someOtherBundle:<value of someOtherBundle, flattened with respect to locale ab>,
        //			});
        //
        //		E.g., given this design, preloading for locale=="ab" can execute the following algorithm:
        //
        //			require(["some/path/nls/someModule_ab"], function(rollup){
        //				for(var p in rollup){
        //					var id = p + "/ab",
        //					cache[id] = rollup[p];
        //					define(id, rollup[p]);
        //				}
        //			});
        //
        //		Similarly, if "ab-cd" is requested, the algorithm can determine that "ab" is the best available and
        //		load accordingly.
        //
        //		The builder will write such rollups for every layer if a non-empty localeList  profile property is
        //		provided. Further, the builder will include the following cache entry in the cache associated with
        //		any layer.
        //
        //			"*now":function(r){r(['dojo/i18n!*preload*<path>/nls/<module>*<JSON array of available locales>']);}
        //
        //		The *now special cache module instructs the loader to apply the provided function to context-require
        //		with respect to the particular layer being defined. This causes the plugin to hold all normal service
        //		requests until all preloading is complete.
        //
        //		Notice that this algorithm is rarely better than the standard AMD load algorithm. Consider the normal case
        //		where the target locale has a single segment and a layer depends on a single bundle:
        //
        //		Without Preloads:
        //
        //		1. Layer loads root bundle.
        //		2. bundle is demanded; plugin loads single localized bundle.
        //
        //		With Preloads:
        //
        //		1. Layer causes preloading of target bundle.
        //		2. bundle is demanded; service is delayed until preloading complete; bundle is returned.
        //
        //		In each case a single transaction is required to load the target bundle. In cases where multiple bundles
        //		are required and/or the locale has multiple segments, preloads still requires a single transaction whereas
        //		the normal path requires an additional transaction for each additional bundle/locale-segment. However all
        //		of these additional transactions can be done concurrently. Owing to this analysis, the entire preloading
        //		algorithm can be discard during a build by setting the has feature dojo-preload-i18n-Api to false.
        var match = nlsRe.exec(id),
            bundlePath = match[1] + "/",
            bundleName = match[5] || match[4],
            bundlePathAndName = bundlePath + bundleName,
            localeSpecified = match[5] && match[4],
            targetLocale = localeSpecified || dojo.locale || "",
            loadTarget = bundlePathAndName + "/" + targetLocale,
            loadList = localeSpecified ? [targetLocale] : getLocalesToLoad(targetLocale),
            remaining = loadList.length,
            finish = function finish() {
          if (! --remaining) {
            _load(lang.delegate(cache[loadTarget]));
          }
        },
            split = id.split("*"),
            preloadDemand = split[1] == "preload";

        if (has("dojo-preload-i18n-Api")) {
          if (preloadDemand) {
            if (!cache[id]) {
              // use cache[id] to prevent multiple preloads of the same preload; this shouldn't happen, but
              // who knows what over-aggressive human optimizers may attempt
              cache[id] = 1;
              preloadL10n(split[2], json.parse(split[3]), 1, require);
            } // don't stall the loader!


            _load(1);
          }

          if (preloadDemand || waitForPreloads(id, require, _load) && !cache[loadTarget]) {
            return;
          }
        } else if (preloadDemand) {
          // If a build is created with nls resources and 'dojo-preload-i18n-Api' has not been set to false,
          // the built file will include a preload in the cache (which looks about like so:)
          // '*now':function(r){r(['dojo/i18n!*preload*dojo/nls/dojo*["ar","ca","cs","da","de","el","en-gb","en-us","es-es","fi-fi","fr-fr","he-il","hu","it-it","ja-jp","ko-kr","nl-nl","nb","pl","pt-br","pt-pt","ru","sk","sl","sv","th","tr","zh-tw","zh-cn","ROOT"]']);}
          // If the consumer of the build sets 'dojo-preload-i18n-Api' to false in the Dojo config, the cached
          // preload will not be parsed and will result in an attempt to call 'require' passing it the unparsed
          // preload, which is not a valid module id.
          // In this case we should skip this request.
          _load(1);

          return;
        }

        array.forEach(loadList, function (locale) {
          var target = bundlePathAndName + "/" + locale;

          if (has("dojo-preload-i18n-Api")) {
            checkForLegacyModules(target);
          }

          if (!cache[target]) {
            doLoad(require, bundlePathAndName, bundlePath, bundleName, locale, finish);
          } else {
            finish();
          }
        });
      };

      if (has("dojo-preload-i18n-Api") || has("dojo-v1x-i18n-Api")) {
        var normalizeLocale = thisModule.normalizeLocale = function (locale) {
          var result = locale ? locale.toLowerCase() : dojo.locale;
          return result == "root" ? "ROOT" : result;
        },
            isXd = function isXd(mid, contextRequire) {
          return false ? undefined : true;
        },
            preloading = 0,
            preloadWaitQueue = [],
            preloadL10n = thisModule._preloadLocalizations = function (
        /*String*/
        bundlePrefix,
        /*Array*/
        localesGenerated,
        /*boolean?*/
        guaranteedAmdFormat,
        /*function?*/
        contextRequire) {
          // summary:
          //		Load available flattened resource bundles associated with a particular module for dojo/locale and all dojo/config.extraLocale (if any)
          // description:
          //		Only called by built layer files. The entire locale hierarchy is loaded. For example,
          //		if locale=="ab-cd", then ROOT, "ab", and "ab-cd" are loaded. This is different than v1.6-
          //		in that the v1.6- would only load ab-cd...which was *always* flattened.
          //
          //		If guaranteedAmdFormat is true, then the module can be loaded with require thereby circumventing the detection algorithm
          //		and the extra possible extra transaction.
          // If this function is called from legacy code, then guaranteedAmdFormat and contextRequire will be undefined. Since the function
          // needs a require in order to resolve module ids, fall back to the context-require associated with this dojo/i18n module, which
          // itself may have been mapped.
          contextRequire = contextRequire || require;

          function doRequire(mid, callback) {
            if (isXd(mid, contextRequire) || guaranteedAmdFormat) {
              contextRequire([mid], callback);
            } else {
              syncRequire([mid], callback, contextRequire);
            }
          }

          function forEachLocale(locale, func) {
            // given locale= "ab-cd-ef", calls func on "ab-cd-ef", "ab-cd", "ab", "ROOT"; stops calling the first time func returns truthy
            var parts = locale.split("-");

            while (parts.length) {
              if (func(parts.join("-"))) {
                return;
              }

              parts.pop();
            }

            func("ROOT");
          }

          function preloadingAddLock() {
            preloading++;
          }

          function preloadingRelLock() {
            --preloading;

            while (!preloading && preloadWaitQueue.length) {
              load.apply(null, preloadWaitQueue.shift());
            }
          }

          function cacheId(path, name, loc, require) {
            // path is assumed to have a trailing "/"
            return require.toAbsMid(path + name + "/" + loc);
          }

          function preload(locale) {
            locale = normalizeLocale(locale);
            forEachLocale(locale, function (loc) {
              if (array.indexOf(localesGenerated, loc) >= 0) {
                var mid = bundlePrefix.replace(/\./g, "/") + "_" + loc;
                preloadingAddLock();
                doRequire(mid, function (rollup) {
                  var _loop6 = function _loop6() {
                    bundle = rollup[p], match = p.match(/(.+)\/([^\/]+)$/); // If there is no match, the bundle is not a regular bundle from an AMD layer.

                    if (!match) {
                      return "continue";
                    }

                    bundleName = match[2];
                    bundlePath = match[1] + "/"; // backcompat

                    if (!bundle._localized) {
                      return "continue";
                    }

                    if (loc === "ROOT") {
                      root = localized = bundle._localized;
                      delete bundle._localized;
                      root.root = bundle;
                      cache[require.toAbsMid(p)] = root;
                    } else {
                      localized = bundle._localized;
                      cache[cacheId(bundlePath, bundleName, loc, require)] = bundle;
                    }

                    if (loc !== locale) {
                      // capture some locale variables
                      var improveBundle = function improveBundle(bundlePath, bundleName, bundle, localized) {
                        // locale was not flattened and we've fallen back to a less-specific locale that was flattened
                        // for example, we had a flattened 'fr', a 'fr-ca' is available for at least this bundle, and
                        // locale==='fr-ca'; therefore, we must improve the bundle as retrieved from the rollup by
                        // manually loading the fr-ca version of the bundle and mixing this into the already-retrieved 'fr'
                        // version of the bundle.
                        //
                        // Remember, different bundles may have different sets of locales available.
                        //
                        // we are really falling back on the regular algorithm here, but--hopefully--starting with most
                        // of the required bundles already on board as given by the rollup and we need to "manually" load
                        // only one locale from a few bundles...or even better...we won't find anything better to load.
                        // This algorithm ensures there is nothing better to load even when we can only load a less-specific rollup.
                        //
                        // note: this feature is only available in async mode
                        // inspect the loaded bundle that came from the rollup to see if something better is available
                        // for any bundle in a rollup, more-specific available locales are given at localized.
                        var requiredBundles = [],
                            cacheIds = [];
                        forEachLocale(locale, function (loc) {
                          if (localized[loc]) {
                            requiredBundles.push(require.toAbsMid(bundlePath + loc + "/" + bundleName));
                            cacheIds.push(cacheId(bundlePath, bundleName, loc, require));
                          }
                        });

                        if (requiredBundles.length) {
                          preloadingAddLock();
                          contextRequire(requiredBundles, function () {
                            // requiredBundles was constructed by forEachLocale so it contains locales from 
                            // less specific to most specific. 
                            // the loop starts with the most specific locale, the last one.
                            for (var i = requiredBundles.length - 1; i >= 0; i--) {
                              bundle = lang.mixin(lang.clone(bundle), arguments[i]);
                              cache[cacheIds[i]] = bundle;
                            } // this is the best possible (maybe a perfect match, maybe not), accept it


                            cache[cacheId(bundlePath, bundleName, locale, require)] = lang.clone(bundle);
                            preloadingRelLock();
                          });
                        } else {
                          // this is the best possible (definitely not a perfect match), accept it
                          cache[cacheId(bundlePath, bundleName, locale, require)] = bundle;
                        }
                      };

                      improveBundle(bundlePath, bundleName, bundle, localized);
                    }
                  };

                  for (var p in rollup) {
                    var bundle, match, bundleName, bundlePath, localized, root;

                    var _ret2 = _loop6();

                    if (_ret2 === "continue") continue;
                  }

                  preloadingRelLock();
                });
                return true;
              }

              return false;
            });
          }

          preload();
          array.forEach(dojo.config.extraLocale, preload);
        },
            waitForPreloads = function waitForPreloads(id, require, load) {
          if (preloading) {
            preloadWaitQueue.push([id, require, load]);
          }

          return preloading;
        },
            checkForLegacyModules = function checkForLegacyModules() {};
      }

      if (true) {
        // this code path assumes the dojo loader and won't work with a standard AMD loader
        var amdValue = {},
            l10nCache = {},
            evalBundle,
            syncRequire = function syncRequire(deps, callback, require) {
          var results = [];
          array.forEach(deps, function (mid) {
            var url = require.toUrl(mid + ".js");

            function load(text) {
              if (!evalBundle) {
                // use the function ctor to keep the minifiers away (also come close to global scope, but this is secondary)
                evalBundle = new Function("__bundle", // the bundle to evalutate
                "__checkForLegacyModules", // a function that checks if __bundle defined __mid in the global space
                "__mid", // the mid that __bundle is intended to define
                "__amdValue", // returns one of:
                //		1 => the bundle was an AMD bundle
                //		a legacy bundle object that is the value of __mid
                //		instance of Error => could not figure out how to evaluate bundle
                // used to detect when __bundle calls define
                "var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;}," + "	   require = function(){define.called = 1;};" + "try{" + "define.called = 0;" + "eval(__bundle);" + "if(define.called==1)" // bundle called define; therefore signal it's an AMD bundle
                + "return __amdValue;" + "if((__checkForLegacyModules = __checkForLegacyModules(__mid)))" // bundle was probably a v1.6- built NLS flattened NLS bundle that defined __mid in the global space
                + "return __checkForLegacyModules;" + "}catch(e){}" // evaulating the bundle was *neither* an AMD *nor* a legacy flattened bundle
                // either way, re-eval *after* surrounding with parentheses
                + "try{" + "return eval('('+__bundle+')');" + "}catch(e){" + "return e;" + "}");
              }

              var result = evalBundle(text, checkForLegacyModules, mid, amdValue);

              if (result === amdValue) {
                // the bundle was an AMD module; re-inject it through the normal AMD path
                // we gotta do this since it could be an anonymous module and simply evaluating
                // the text here won't provide the loader with the context to know what
                // module is being defined()'d. With browser caching, this should be free; further
                // this entire code path can be circumvented by using the AMD format to begin with
                results.push(cache[url] = amdValue.result);
              } else {
                if (result instanceof Error) {
                  console.error("failed to evaluate i18n bundle; url=" + url, result);
                  result = {};
                } // nls/<locale>/<bundle-name> indicates not the root.


                results.push(cache[url] = /nls\/[^\/]+\/[^\/]+$/.test(url) ? result : {
                  root: result,
                  _v1x: 1
                });
              }
            }

            if (cache[url]) {
              results.push(cache[url]);
            } else {
              var bundle = require.syncLoadNls(mid); // need to check for legacy module here because there might be a legacy module for a
              // less specific locale (which was not looked up during the first checkForLegacyModules
              // call in load()).
              // Also need to reverse the locale and the module name in the mid because syncRequire
              // deps parameters uses the AMD style package/nls/locale/module while legacy code uses
              // package/nls/module/locale.


              if (!bundle) {
                bundle = checkForLegacyModules(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/, "nls/$2/$1"));
              }

              if (bundle) {
                results.push(bundle);
              } else {
                if (!xhr) {
                  try {
                    require.getText(url, true, load);
                  } catch (e) {
                    results.push(cache[url] = {});
                  }
                } else {
                  xhr.get({
                    url: url,
                    sync: true,
                    load: load,
                    error: function error() {
                      results.push(cache[url] = {});
                    }
                  });
                }
              }
            }
          });
          callback && callback.apply(null, results);
        };

        checkForLegacyModules = function checkForLegacyModules(target) {
          // legacy code may have already loaded [e.g] the raw bundle x/y/z at x.y.z; when true, push into the cache
          for (var result, names = target.split("/"), object = dojo.global[names[0]], i = 1; object && i < names.length - 1; object = object[names[i++]]) {}

          if (object) {
            result = object[names[i]];

            if (!result) {
              // fallback for incorrect bundle build of 1.6
              result = object[names[i].replace(/-/g, "_")];
            }

            if (result) {
              cache[target] = result;
            }
          }

          return result;
        };

        thisModule.getLocalization = function (moduleName, bundleName, locale) {
          var result,
              l10nName = getBundleName(moduleName, bundleName, locale);

          if (l10nCache[l10nName]) {
            return l10nCache[l10nName];
          }

          load(l10nName, // isXd() and syncRequire() need a context-require in order to resolve the mid with respect to a reference module.
          // Since this legacy function does not have the concept of a reference module, resolve with respect to this
          // dojo/i18n module, which, itself may have been mapped.
          !isXd(l10nName, require) ? function (deps, callback) {
            syncRequire(deps, callback, require);
          } : require, function (result_) {
            l10nCache[l10nName] = result_;
            result = result_;
          });
          return result;
        };
      }

      return lang.mixin(thisModule, {
        dynamic: true,
        normalize: normalize,
        load: load,
        cache: cache,
        getL10nName: getL10nName
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/io-query.js":
  /*!***************************************!*\
    !*** ./node_modules/dojo/io-query.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoIoQueryJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base/lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (lang) {
      // module:
      //		dojo/io-query
      var backstop = {};
      return {
        // summary:
        //		This module defines query string processing functions.
        objectToQuery: function objectToQuery(
        /*Object*/
        map) {
          // summary:
          //		takes a name/value mapping object and returns a string representing
          //		a URL-encoded version of that object.
          // example:
          //		this object:
          //
          //	|	{
          //	|		blah: "blah",
          //	|		multi: [
          //	|			"thud",
          //	|			"thonk"
          //	|		]
          //	|	};
          //
          //		yields the following query string:
          //
          //	|	"blah=blah&multi=thud&multi=thonk"
          // FIXME: need to implement encodeAscii!!
          var enc = encodeURIComponent,
              pairs = [];

          for (var name in map) {
            var value = map[name];

            if (value != backstop[name]) {
              var assign = enc(name) + "=";

              if (lang.isArray(value)) {
                for (var i = 0, l = value.length; i < l; ++i) {
                  pairs.push(assign + enc(value[i]));
                }
              } else {
                pairs.push(assign + enc(value));
              }
            }
          }

          return pairs.join("&"); // String
        },
        queryToObject: function queryToObject(
        /*String*/
        str) {
          // summary:
          //		Create an object representing a de-serialized query section of a
          //		URL. Query keys with multiple values are returned in an array.
          //
          // example:
          //		This string:
          //
          //	|		"foo=bar&foo=baz&thinger=%20spaces%20=blah&zonk=blarg&"
          //
          //		results in this object structure:
          //
          //	|		{
          //	|			foo: [ "bar", "baz" ],
          //	|			thinger: " spaces =blah",
          //	|			zonk: "blarg"
          //	|		}
          //
          //		Note that spaces and other urlencoded entities are correctly
          //		handled.
          var dec = decodeURIComponent,
              qp = str.split("&"),
              ret = {},
              name,
              val;

          for (var i = 0, l = qp.length, item; i < l; ++i) {
            item = qp[i];

            if (item.length) {
              var s = item.indexOf("=");

              if (s < 0) {
                name = dec(item);
                val = "";
              } else {
                name = dec(item.slice(0, s));
                val = dec(item.slice(s + 1));
              }

              if (typeof ret[name] == "string") {
                // inline'd type check
                ret[name] = [ret[name]];
              }

              if (lang.isArray(ret[name])) {
                ret[name].push(val);
              } else {
                ret[name] = val;
              }
            }
          }

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

  /***/
  "./node_modules/dojo/json.js":
  /*!***********************************!*\
    !*** ./node_modules/dojo/json.js ***!
    \***********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoJsonJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./has */
    "./node_modules/dojo/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (has) {
      "use strict";

      var hasJSON = typeof JSON != "undefined";
      has.add("json-parse", hasJSON); // all the parsers work fine
      // Firefox 3.5/Gecko 1.9 fails to use replacer in stringify properly https://bugzilla.mozilla.org/show_bug.cgi?id=509184

      has.add("json-stringify", hasJSON && JSON.stringify({
        a: 0
      }, function (k, v) {
        return v || 1;
      }) == '{"a":1}');
      /*=====
      return {
      	// summary:
      	//		Functions to parse and serialize JSON
      		parse: function(str, strict){
      		// summary:
      		//		Parses a [JSON](http://json.org) string to return a JavaScript object.
      		// description:
      		//		This function follows [native JSON API](https://developer.mozilla.org/en/JSON)
      		//		Throws for invalid JSON strings. This delegates to eval() if native JSON
      		//		support is not available. By default this will evaluate any valid JS expression.
      		//		With the strict parameter set to true, the parser will ensure that only
      		//		valid JSON strings are parsed (otherwise throwing an error). Without the strict
      		//		parameter, the content passed to this method must come
      		//		from a trusted source.
      		// str:
      		//		a string literal of a JSON item, for instance:
      		//		`'{ "foo": [ "bar", 1, { "baz": "thud" } ] }'`
      		// strict:
      		//		When set to true, this will ensure that only valid, secure JSON is ever parsed.
      		//		Make sure this is set to true for untrusted content. Note that on browsers/engines
      		//		without native JSON support, setting this to true will run slower.
      	},
      	stringify: function(value, replacer, spacer){
      		// summary:
      		//		Returns a [JSON](http://json.org) serialization of an object.
      		// description:
      		//		Returns a [JSON](http://json.org) serialization of an object.
      		//		This function follows [native JSON API](https://developer.mozilla.org/en/JSON)
      		//		Note that this doesn't check for infinite recursion, so don't do that!
      		// value:
      		//		A value to be serialized.
      		// replacer:
      		//		A replacer function that is called for each value and can return a replacement
      		// spacer:
      		//		A spacer string to be used for pretty printing of JSON
      		// example:
      		//		simple serialization of a trivial object
      		//	|	define(["dojo/json"], function(JSON){
      		// 	|		var jsonStr = JSON.stringify({ howdy: "stranger!", isStrange: true });
      		//	|		doh.is('{"howdy":"stranger!","isStrange":true}', jsonStr);
      	}
      };
      =====*/

      if (true) {
        return JSON;
      } else {
        var escapeString;
      }
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/keys.js":
  /*!***********************************!*\
    !*** ./node_modules/dojo/keys.js ***!
    \***********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoKeysJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, has) {
      // module:
      //		dojo/keys
      return dojo.keys = {
        // summary:
        //		Definitions for common key values.  Client code should test keyCode against these named constants,
        //		as the actual codes can vary by browser.
        BACKSPACE: 8,
        TAB: 9,
        CLEAR: 12,
        ENTER: 13,
        SHIFT: 16,
        CTRL: 17,
        ALT: 18,
        META: has("webkit") ? 91 : 224,
        // the apple key on macs
        PAUSE: 19,
        CAPS_LOCK: 20,
        ESCAPE: 27,
        SPACE: 32,
        PAGE_UP: 33,
        PAGE_DOWN: 34,
        END: 35,
        HOME: 36,
        LEFT_ARROW: 37,
        UP_ARROW: 38,
        RIGHT_ARROW: 39,
        DOWN_ARROW: 40,
        INSERT: 45,
        DELETE: 46,
        HELP: 47,
        LEFT_WINDOW: 91,
        RIGHT_WINDOW: 92,
        SELECT: 93,
        NUMPAD_0: 96,
        NUMPAD_1: 97,
        NUMPAD_2: 98,
        NUMPAD_3: 99,
        NUMPAD_4: 100,
        NUMPAD_5: 101,
        NUMPAD_6: 102,
        NUMPAD_7: 103,
        NUMPAD_8: 104,
        NUMPAD_9: 105,
        NUMPAD_MULTIPLY: 106,
        NUMPAD_PLUS: 107,
        NUMPAD_ENTER: 108,
        NUMPAD_MINUS: 109,
        NUMPAD_PERIOD: 110,
        NUMPAD_DIVIDE: 111,
        F1: 112,
        F2: 113,
        F3: 114,
        F4: 115,
        F5: 116,
        F6: 117,
        F7: 118,
        F8: 119,
        F9: 120,
        F10: 121,
        F11: 122,
        F12: 123,
        F13: 124,
        F14: 125,
        F15: 126,
        NUM_LOCK: 144,
        SCROLL_LOCK: 145,
        UP_DPAD: 175,
        DOWN_DPAD: 176,
        LEFT_DPAD: 177,
        RIGHT_DPAD: 178,
        // virtual key mapping
        copyKey: has("mac") && !has("air") ? has("safari") ? 91 : 224 : 17
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/mouse.js":
  /*!************************************!*\
    !*** ./node_modules/dojo/mouse.js ***!
    \************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoMouseJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./on */
    "./node_modules/dojo/on.js"), __webpack_require__(
    /*! ./has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./_base/window */
    "./node_modules/dojo/_base/window.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (dojo, on, has, dom, win) {
      // module:
      //		dojo/mouse
      has.add("dom-quirks", win.doc && win.doc.compatMode == "BackCompat");
      has.add("events-mouseenter", win.doc && "onmouseenter" in win.doc.createElement("div"));
      has.add("events-mousewheel", win.doc && 'onmousewheel' in win.doc);
      var mouseButtons;

      if (false) {} else {
        mouseButtons = {
          LEFT: 0,
          MIDDLE: 1,
          RIGHT: 2,
          // helper functions
          isButton: function isButton(e, button) {
            return e.button == button;
          },
          isLeft: function isLeft(e) {
            return e.button == 0;
          },
          isMiddle: function isMiddle(e) {
            return e.button == 1;
          },
          isRight: function isRight(e) {
            return e.button == 2;
          }
        };
      }

      dojo.mouseButtons = mouseButtons;
      /*=====
      	dojo.mouseButtons = {
      		// LEFT: Number
      		//		Numeric value of the left mouse button for the platform.
      		LEFT:   0,
      		// MIDDLE: Number
      		//		Numeric value of the middle mouse button for the platform.
      		MIDDLE: 1,
      		// RIGHT: Number
      		//		Numeric value of the right mouse button for the platform.
      		RIGHT:  2,
      
      		isButton: function(e, button){
      			// summary:
      			//		Checks an event object for a pressed button
      			// e: Event
      			//		Event object to examine
      			// button: Number
      			//		The button value (example: dojo.mouseButton.LEFT)
      			return e.button == button; // Boolean
      		},
      		isLeft: function(e){
      			// summary:
      			//		Checks an event object for the pressed left button
      			// e: Event
      			//		Event object to examine
      			return e.button == 0; // Boolean
      		},
      		isMiddle: function(e){
      			// summary:
      			//		Checks an event object for the pressed middle button
      			// e: Event
      			//		Event object to examine
      			return e.button == 1; // Boolean
      		},
      		isRight: function(e){
      			// summary:
      			//		Checks an event object for the pressed right button
      			// e: Event
      			//		Event object to examine
      			return e.button == 2; // Boolean
      		}
      	};
      =====*/

      function eventHandler(type, selectHandler) {
        // emulation of mouseenter/leave with mouseover/out using descendant checking
        var handler = function handler(node, listener) {
          return on(node, type, function (evt) {
            if (selectHandler) {
              return selectHandler(evt, listener);
            }

            if (!dom.isDescendant(evt.relatedTarget, node)) {
              return listener.call(this, evt);
            }
          });
        };

        handler.bubble = function (select) {
          return eventHandler(type, function (evt, listener) {
            // using a selector, use the select function to determine if the mouse moved inside the selector and was previously outside the selector
            var target = select(evt.target);
            var relatedTarget = evt.relatedTarget;

            if (target && target != (relatedTarget && relatedTarget.nodeType == 1 && select(relatedTarget))) {
              return listener.call(target, evt);
            }
          });
        };

        return handler;
      }

      var wheel;

      if (true) {
        wheel = 'mousewheel';
      } else {}

      return {
        // summary:
        //		This module provide mouse event handling utility functions and exports
        //		mouseenter and mouseleave event emulation.
        // example:
        //		To use these events, you register a mouseenter like this:
        //		|	define(["dojo/on", "dojo/mouse"], function(on, mouse){
        //		|		on(targetNode, mouse.enter, function(event){
        //		|			dojo.addClass(targetNode, "highlighted");
        //		|		});
        //		|		on(targetNode, mouse.leave, function(event){
        //		|			dojo.removeClass(targetNode, "highlighted");
        //		|		});
        _eventHandler: eventHandler,
        // for dojo/touch
        // enter: Synthetic Event
        //		This is an extension event for the mouseenter that IE provides, emulating the
        //		behavior on other browsers.
        enter: eventHandler("mouseover"),
        // leave: Synthetic Event
        //		This is an extension event for the mouseleave that IE provides, emulating the
        //		behavior on other browsers.
        leave: eventHandler("mouseout"),
        // wheel: Normalized Mouse Wheel Event
        //		This is an extension event for the mousewheel that non-Mozilla browsers provide,
        //		emulating the behavior on Mozilla based browsers.
        wheel: wheel,
        isLeft: mouseButtons.isLeft,

        /*=====
        isLeft: function(){
        	// summary:
        	//		Test an event object (from a mousedown event) to see if the left button was pressed.
        },
        =====*/
        isMiddle: mouseButtons.isMiddle,

        /*=====
         isMiddle: function(){
        	 // summary:
        	 //		Test an event object (from a mousedown event) to see if the middle button was pressed.
         },
         =====*/
        isRight: mouseButtons.isRight
        /*=====
         , isRight: function(){
        	 // summary:
        	 //		Test an event object (from a mousedown event) to see if the right button was pressed.
         }
         =====*/

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

  /***/
  "./node_modules/dojo/on.js":
  /*!*********************************!*\
    !*** ./node_modules/dojo/on.js ***!
    \*********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoOnJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.h("dom-addeventlistener?:./node_modules/dojo/aspect.js"), __webpack_require__(
    /*! ./_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ./sniff */
    "./node_modules/dojo/sniff.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (aspect, dojo, has) {
      "use strict";

      if (true) {
        // check to make sure we are in a browser, this module should work anywhere
        var major = window.ScriptEngineMajorVersion;
        has.add("jscript", major && major() + ScriptEngineMinorVersion() / 10);
        has.add("event-orientationchange", has("touch") && !has("android")); // TODO: how do we detect this?

        has.add("event-stopimmediatepropagation", window.Event && !!window.Event.prototype && !!window.Event.prototype.stopImmediatePropagation);
        has.add("event-focusin", function (global, doc, element) {
          return 'onfocusin' in element;
        });

        if (has("touch")) {
          has.add("touch-can-modify-event-delegate", function () {
            // This feature test checks whether deleting a property of an event delegate works
            // for a touch-enabled device. If it works, event delegation can be used as fallback
            // for browsers such as Safari in older iOS where deleting properties of the original
            // event does not work.
            var EventDelegate = function EventDelegate() {};

            EventDelegate.prototype = document.createEvent("MouseEvents"); // original event
            // Attempt to modify a property of an event delegate and check if
            // it succeeds. Depending on browsers and on whether dojo/on's
            // strict mode is stripped in a Dojo build, there are 3 known behaviors:
            // it may either succeed, or raise an error, or fail to set the property
            // without raising an error.

            try {
              var eventDelegate = new EventDelegate();
              eventDelegate.target = null;
              return eventDelegate.target === null;
            } catch (e) {
              return false; // cannot use event delegation
            }
          });
        }
      }

      var on = function on(target, type, listener, dontFix) {
        // summary:
        //		A function that provides core event listening functionality. With this function
        //		you can provide a target, event type, and listener to be notified of
        //		future matching events that are fired.
        // target: Element|Object
        //		This is the target object or DOM element that to receive events from
        // type: String|Function
        //		This is the name of the event to listen for or an extension event type.
        // listener: Function
        //		This is the function that should be called when the event fires.
        // returns: Object
        //		An object with a remove() method that can be used to stop listening for this
        //		event.
        // description:
        //		To listen for "click" events on a button node, we can do:
        //		|	define(["dojo/on"], function(on){
        //		|		on(button, "click", clickHandler);
        //		|		...
        //		Evented JavaScript objects can also have their own events.
        //		|	var obj = new Evented;
        //		|	on(obj, "foo", fooHandler);
        //		And then we could publish a "foo" event:
        //		|	on.emit(obj, "foo", {key: "value"});
        //		We can use extension events as well. For example, you could listen for a tap gesture:
        //		|	define(["dojo/on", "dojo/gesture/tap", function(on, tap){
        //		|		on(button, tap, tapHandler);
        //		|		...
        //		which would trigger fooHandler. Note that for a simple object this is equivalent to calling:
        //		|	obj.onfoo({key:"value"});
        //		If you use on.emit on a DOM node, it will use native event dispatching when possible.
        if (typeof target.on == "function" && typeof type != "function" && !target.nodeType) {
          // delegate to the target's on() method, so it can handle it's own listening if it wants (unless it
          // is DOM node and we may be dealing with jQuery or Prototype's incompatible addition to the
          // Element prototype
          return target.on(type, listener);
        } // delegate to main listener code


        return on.parse(target, type, listener, addListener, dontFix, this);
      };

      on.pausable = function (target, type, listener, dontFix) {
        // summary:
        //		This function acts the same as on(), but with pausable functionality. The
        //		returned signal object has pause() and resume() functions. Calling the
        //		pause() method will cause the listener to not be called for future events. Calling the
        //		resume() method will cause the listener to again be called for future events.
        var paused;
        var signal = on(target, type, function () {
          if (!paused) {
            return listener.apply(this, arguments);
          }
        }, dontFix);

        signal.pause = function () {
          paused = true;
        };

        signal.resume = function () {
          paused = false;
        };

        return signal;
      };

      on.once = function (target, type, listener, dontFix) {
        // summary:
        //		This function acts the same as on(), but will only call the listener once. The
        //		listener will be called for the first
        //		event that takes place and then listener will automatically be removed.
        var signal = on(target, type, function () {
          // remove this listener
          signal.remove(); // proceed to call the listener

          return listener.apply(this, arguments);
        });
        return signal;
      };

      on.parse = function (target, type, listener, addListener, dontFix, matchesTarget) {
        var events;

        if (type.call) {
          // event handler function
          // on(node, touch.press, touchListener);
          return type.call(matchesTarget, target, listener);
        }

        if (type instanceof Array) {
          // allow an array of event names (or event handler functions)
          events = type;
        } else if (type.indexOf(",") > -1) {
          // we allow comma delimited event names, so you can register for multiple events at once
          events = type.split(/\s*,\s*/);
        }

        if (events) {
          var handles = [];
          var i = 0;
          var eventName;

          while (eventName = events[i++]) {
            // intentional assignment
            handles.push(on.parse(target, eventName, listener, addListener, dontFix, matchesTarget));
          }

          handles.remove = function () {
            for (var i = 0; i < handles.length; i++) {
              handles[i].remove();
            }
          };

          return handles;
        }

        return addListener(target, type, listener, dontFix, matchesTarget);
      };

      var touchEvents = /^touch/;

      function addListener(target, type, listener, dontFix, matchesTarget) {
        // event delegation:
        var selector = type.match(/(.*):(.*)/); // if we have a selector:event, the last one is interpreted as an event, and we use event delegation

        if (selector) {
          type = selector[2];
          selector = selector[1]; // create the extension event for selectors and directly call it

          return on.selector(selector, type).call(matchesTarget, target, listener);
        } // test to see if it a touch event right now, so we don't have to do it every time it fires


        if (has("touch")) {
          if (touchEvents.test(type)) {
            // touch event, fix it
            listener = fixTouchListener(listener);
          }

          if (false) {}
        }

        if (addStopImmediate) {
          // add stopImmediatePropagation if it doesn't exist
          listener = addStopImmediate(listener);
        } // normal path, the target is |this|


        if (target.addEventListener) {
          // the target has addEventListener, which should be used if available (might or might not be a node, non-nodes can implement this method as well)
          // check for capture conversions
          var capture = (type in captures),
              adjustedType = capture ? captures[type] : type;
          target.addEventListener(adjustedType, listener, capture); // create and return the signal

          return {
            remove: function remove() {
              target.removeEventListener(adjustedType, listener, capture);
            }
          };
        }

        type = "on" + type;

        if (fixAttach && target.attachEvent) {
          return fixAttach(target, type, listener);
        }

        throw new Error("Target must be an event emitter");
      }

      on.matches = function (node, selector, context, children, matchesTarget) {
        // summary:
        //		Check if a node match the current selector within the constraint of a context
        // node: DOMNode
        //		The node that originate the event
        // selector: String
        //		The selector to check against
        // context: DOMNode
        //		The context to search in.
        // children: Boolean
        //		Indicates if children elements of the selector should be allowed. This defaults to
        //		true
        // matchesTarget: Object|dojo/query?
        //		An object with a property "matches" as a function. Default is dojo/query.
        //		Matching DOMNodes will be done against this function
        //		The function must return a Boolean.
        //		It will have 3 arguments: "node", "selector" and "context"
        //		True is expected if "node" is matching the current "selector" in the passed "context"
        // returns: DOMNode?
        //		The matching node, if any. Else you get false
        // see if we have a valid matchesTarget or default to dojo/query
        matchesTarget = matchesTarget && typeof matchesTarget.matches == "function" ? matchesTarget : dojo.query;
        children = children !== false; // there is a selector, so make sure it matches

        if (node.nodeType != 1) {
          // text node will fail in native match selector
          node = node.parentNode;
        }

        while (!matchesTarget.matches(node, selector, context)) {
          if (node == context || children === false || !(node = node.parentNode) || node.nodeType != 1) {
            // intentional assignment
            return false;
          }
        }

        return node;
      };

      on.selector = function (selector, eventType, children) {
        // summary:
        //		Creates a new extension event with event delegation. This is based on
        //		the provided event type (can be extension event) that
        //		only calls the listener when the CSS selector matches the target of the event.
        //
        //		The application must require() an appropriate level of dojo/query to handle the selector.
        // selector:
        //		The CSS selector to use for filter events and determine the |this| of the event listener.
        // eventType:
        //		The event to listen for
        // children:
        //		Indicates if children elements of the selector should be allowed. This defaults to
        //		true
        // example:
        // |	require(["dojo/on", "dojo/mouse", "dojo/query!css2"], function(on, mouse){
        // |		on(node, on.selector(".my-class", mouse.enter), handlerForMyHover);
        return function (target, listener) {
          // if the selector is function, use it to select the node, otherwise use the matches method
          var matchesTarget = typeof selector == "function" ? {
            matches: selector
          } : this,
              bubble = eventType.bubble;

          function select(eventTarget) {
            return on.matches(eventTarget, selector, target, children, matchesTarget);
          }

          if (bubble) {
            // the event type doesn't naturally bubble, but has a bubbling form, use that, and give it the selector so it can perform the select itself
            return on(target, bubble(select), listener);
          } // standard event delegation


          return on(target, eventType, function (event) {
            // call select to see if we match
            var eventTarget = select(event.target); // if it matches we call the listener

            if (eventTarget) {
              // We save the matching target into the event, so it can be accessed even when hitching (see #18355)
              event.selectorTarget = eventTarget;
              return listener.call(eventTarget, event);
            }
          });
        };
      };

      function syntheticPreventDefault() {
        this.cancelable = false;
        this.defaultPrevented = true;
      }

      function syntheticStopPropagation() {
        this.bubbles = false;
      }

      var slice = [].slice,
          syntheticDispatch = on.emit = function (target, type, event) {
        // summary:
        //		Fires an event on the target object.
        // target:
        //		The target object to fire the event on. This can be a DOM element or a plain
        //		JS object. If the target is a DOM element, native event emitting mechanisms
        //		are used when possible.
        // type:
        //		The event type name. You can emulate standard native events like "click" and
        //		"mouseover" or create custom events like "open" or "finish".
        // event:
        //		An object that provides the properties for the event. See https://developer.mozilla.org/en/DOM/event.initEvent
        //		for some of the properties. These properties are copied to the event object.
        //		Of particular importance are the cancelable and bubbles properties. The
        //		cancelable property indicates whether or not the event has a default action
        //		that can be cancelled. The event is cancelled by calling preventDefault() on
        //		the event object. The bubbles property indicates whether or not the
        //		event will bubble up the DOM tree. If bubbles is true, the event will be called
        //		on the target and then each parent successively until the top of the tree
        //		is reached or stopPropagation() is called. Both bubbles and cancelable
        //		default to false.
        // returns:
        //		If the event is cancelable and the event is not cancelled,
        //		emit will return true. If the event is cancelable and the event is cancelled,
        //		emit will return false.
        // details:
        //		Note that this is designed to emit events for listeners registered through
        //		dojo/on. It should actually work with any event listener except those
        //		added through IE's attachEvent (IE8 and below's non-W3C event emitting
        //		doesn't support custom event types). It should work with all events registered
        //		through dojo/on. Also note that the emit method does do any default
        //		action, it only returns a value to indicate if the default action should take
        //		place. For example, emitting a keypress event would not cause a character
        //		to appear in a textbox.
        // example:
        //		To fire our own click event
        //	|	require(["dojo/on", "dojo/dom"
        //	|	], function(on, dom){
        //	|		on.emit(dom.byId("button"), "click", {
        //	|			cancelable: true,
        //	|			bubbles: true,
        //	|			screenX: 33,
        //	|			screenY: 44
        //	|		});
        //		We can also fire our own custom events:
        //	|		on.emit(dom.byId("slider"), "slide", {
        //	|			cancelable: true,
        //	|			bubbles: true,
        //	|			direction: "left-to-right"
        //	|		});
        //	|	});
        var args = slice.call(arguments, 2);
        var method = "on" + type;

        if ("parentNode" in target) {
          // node (or node-like), create event controller methods
          var newEvent = args[0] = {};

          for (var i in event) {
            newEvent[i] = event[i];
          }

          newEvent.preventDefault = syntheticPreventDefault;
          newEvent.stopPropagation = syntheticStopPropagation;
          newEvent.target = target;
          newEvent.type = type;
          event = newEvent;
        }

        do {
          // call any node which has a handler (note that ideally we would try/catch to simulate normal event propagation but that causes too much pain for debugging)
          target[method] && target[method].apply(target, args); // and then continue up the parent node chain if it is still bubbling (if started as bubbles and stopPropagation hasn't been called)
        } while (event && event.bubbles && (target = target.parentNode));

        return event && event.cancelable && event; // if it is still true (was cancelable and was cancelled), return the event to indicate default action should happen
      };

      var captures = true ? {} : undefined;

      if (false) {
        var addStopImmediate, stopImmediatePropagation;
      }

      if (true) {
        // emitter that works with native event handling
        on.emit = function (target, type, event) {
          if (target.dispatchEvent && document.createEvent) {
            // use the native event emitting mechanism if it is available on the target object
            // create a generic event
            // we could create branch into the different types of event constructors, but
            // that would be a lot of extra code, with little benefit that I can see, seems
            // best to use the generic constructor and copy properties over, making it
            // easy to have events look like the ones created with specific initializers
            var ownerDocument = target.ownerDocument || document;
            var nativeEvent = ownerDocument.createEvent("HTMLEvents");
            nativeEvent.initEvent(type, !!event.bubbles, !!event.cancelable); // and copy all our properties over

            for (var i in event) {
              if (!(i in nativeEvent)) {
                nativeEvent[i] = event[i];
              }
            }

            return target.dispatchEvent(nativeEvent) && nativeEvent;
          }

          return syntheticDispatch.apply(on, arguments); // emit for a non-node
        };
      } else {
        var preventDefault, stopPropagation, _setKeyChar, fixAttach, fixListener, lastEvent, IESignal;
      }

      if (has("touch")) {
        var EventDelegate = function EventDelegate() {};

        var windowOrientation = window.orientation;

        var fixTouchListener = function fixTouchListener(listener) {
          return function (originalEvent) {
            //Event normalization(for ontouchxxx and resize):
            //1.incorrect e.pageX|pageY in iOS
            //2.there are no "e.rotation", "e.scale" and "onorientationchange" in Android
            //3.More TBD e.g. force | screenX | screenX | clientX | clientY | radiusX | radiusY
            // see if it has already been corrected
            var event = originalEvent.corrected;

            if (!event) {
              var type = originalEvent.type;

              try {
                delete originalEvent.type; // on some JS engines (android), deleting properties makes them mutable
              } catch (e) {}

              if (originalEvent.type) {
                // Deleting the property of the original event did not work (this is the case of
                // browsers such as older Safari iOS), hence fallback:
                if (false) {} else {
                  // Otherwise last fallback: other browsers, such as mobile Firefox, do not like
                  // delegated properties, so we have to copy
                  event = {};

                  for (var name in originalEvent) {
                    event[name] = originalEvent[name];
                  }
                } // have to delegate methods to make them work


                event.preventDefault = function () {
                  originalEvent.preventDefault();
                };

                event.stopPropagation = function () {
                  originalEvent.stopPropagation();
                };
              } else {
                // deletion worked, use property as is
                event = originalEvent;
                event.type = type;
              }

              originalEvent.corrected = event;

              if (type == 'resize') {
                if (windowOrientation == window.orientation) {
                  return null; //double tap causes an unexpected 'resize' in Android
                }

                windowOrientation = window.orientation;
                event.type = "orientationchange";
                return listener.call(this, event);
              } // We use the original event and augment, rather than doing an expensive mixin operation


              if (!("rotation" in event)) {
                // test to see if it has rotation
                event.rotation = 0;
                event.scale = 1;
              }

              if (window.TouchEvent && originalEvent instanceof TouchEvent) {
                // use event.changedTouches[0].pageX|pageY|screenX|screenY|clientX|clientY|target
                var firstChangeTouch = event.changedTouches[0];

                for (var i in firstChangeTouch) {
                  // use for-in, we don't need to have dependency on dojo/_base/lang here
                  delete event[i]; // delete it first to make it mutable

                  event[i] = firstChangeTouch[i];
                }
              }
            }

            return listener.call(this, event);
          };
        };
      }

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

  /***/
  "./node_modules/dojo/promise/Promise.js":
  /*!**********************************************!*\
    !*** ./node_modules/dojo/promise/Promise.js ***!
    \**********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoPromisePromiseJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../_base/lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (lang) {
      "use strict"; // module:
      //		dojo/promise/Promise

      function throwAbstract() {
        throw new TypeError("abstract");
      }

      return lang.extend(function Promise() {// summary:
        //		The public interface to a deferred.
        // description:
        //		The public interface to a deferred. All promises in Dojo are
        //		instances of this class.
      }, {
        then: function then(callback, errback, progback) {
          // summary:
          //		Add new callbacks to the promise.
          // description:
          //		Add new callbacks to the deferred. Callbacks can be added
          //		before or after the deferred is fulfilled.
          // callback: Function?
          //		Callback to be invoked when the promise is resolved.
          //		Receives the resolution value.
          // errback: Function?
          //		Callback to be invoked when the promise is rejected.
          //		Receives the rejection error.
          // progback: Function?
          //		Callback to be invoked when the promise emits a progress
          //		update. Receives the progress update.
          // returns: dojo/promise/Promise
          //		Returns a new promise for the result of the callback(s).
          //		This can be used for chaining many asynchronous operations.
          throwAbstract();
        },
        cancel: function cancel(reason, strict) {
          // summary:
          //		Inform the deferred it may cancel its asynchronous operation.
          // description:
          //		Inform the deferred it may cancel its asynchronous operation.
          //		The deferred's (optional) canceler is invoked and the
          //		deferred will be left in a rejected state. Can affect other
          //		promises that originate with the same deferred.
          // reason: any
          //		A message that may be sent to the deferred's canceler,
          //		explaining why it's being canceled.
          // strict: Boolean?
          //		If strict, will throw an error if the deferred has already
          //		been fulfilled and consequently cannot be canceled.
          // returns: any
          //		Returns the rejection reason if the deferred was canceled
          //		normally.
          throwAbstract();
        },
        isResolved: function isResolved() {
          // summary:
          //		Checks whether the promise has been resolved.
          // returns: Boolean
          throwAbstract();
        },
        isRejected: function isRejected() {
          // summary:
          //		Checks whether the promise has been rejected.
          // returns: Boolean
          throwAbstract();
        },
        isFulfilled: function isFulfilled() {
          // summary:
          //		Checks whether the promise has been resolved or rejected.
          // returns: Boolean
          throwAbstract();
        },
        isCanceled: function isCanceled() {
          // summary:
          //		Checks whether the promise has been canceled.
          // returns: Boolean
          throwAbstract();
        },
        always: function always(callbackOrErrback) {
          // summary:
          //		Add a callback to be invoked when the promise is resolved
          //		or rejected.
          // callbackOrErrback: Function?
          //		A function that is used both as a callback and errback.
          // returns: dojo/promise/Promise
          //		Returns a new promise for the result of the callback/errback.
          return this.then(callbackOrErrback, callbackOrErrback);
        },
        "catch": function _catch(errback) {
          // summary:
          //		Add new errbacks to the promise. Follows ECMA specification naming.
          // errback: Function?
          //		Callback to be invoked when the promise is rejected.
          // returns: dojo/promise/Promise
          //		Returns a new promise for the result of the errback.
          return this.then(null, errback);
        },
        otherwise: function otherwise(errback) {
          // summary:
          //		Add new errbacks to the promise.
          // errback: Function?
          //		Callback to be invoked when the promise is rejected.
          // returns: dojo/promise/Promise
          //		Returns a new promise for the result of the errback.
          return this.then(null, errback);
        },
        trace: function trace() {
          return this;
        },
        traceRejected: function traceRejected() {
          return this;
        },
        toString: function toString() {
          // returns: string
          //		Returns `[object Promise]`.
          return "[object Promise]";
        }
      });
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/promise/all.js":
  /*!******************************************!*\
    !*** ./node_modules/dojo/promise/all.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoPromiseAllJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ../_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../Deferred */
    "./node_modules/dojo/Deferred.js"), __webpack_require__(
    /*! ../when */
    "./node_modules/dojo/when.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (array, lang, Deferred, when) {
      "use strict"; // module:
      //		dojo/promise/all

      var some = array.some;
      return function all(objectOrArray) {
        // summary:
        //		Takes multiple promises and returns a new promise that is fulfilled
        //		when all promises have been resolved or one has been rejected.
        // description:
        //		Takes multiple promises and returns a new promise that is fulfilled
        //		when all promises have been resolved or one has been rejected. If one of
        //		the promises is rejected, the returned promise is also rejected. Canceling
        //		the returned promise will *not* cancel any passed promises.
        // objectOrArray: Object|Array?
        //		The promise will be fulfilled with a list of results if invoked with an
        //		array, or an object of results when passed an object (using the same
        //		keys). If passed neither an object or array it is resolved with an
        //		undefined value.
        // returns: dojo/promise/Promise
        var object, array;

        if (lang.isArray(objectOrArray)) {
          array = objectOrArray;
        } else if (objectOrArray && typeof objectOrArray === "object") {
          object = objectOrArray;
        }

        var results;
        var keyLookup = [];

        if (object) {
          array = [];

          for (var key in object) {
            if (Object.hasOwnProperty.call(object, key)) {
              keyLookup.push(key);
              array.push(object[key]);
            }
          }

          results = {};
        } else if (array) {
          results = [];
        }

        if (!array || !array.length) {
          return new Deferred().resolve(results);
        }

        var deferred = new Deferred();
        deferred.promise.always(function () {
          results = keyLookup = null;
        });
        var waiting = array.length;
        some(array, function (valueOrPromise, index) {
          if (!object) {
            keyLookup.push(index);
          }

          when(valueOrPromise, function (value) {
            if (!deferred.isFulfilled()) {
              results[keyLookup[index]] = value;

              if (--waiting === 0) {
                deferred.resolve(results);
              }
            }
          }, deferred.reject);
          return deferred.isFulfilled();
        });
        return deferred.promise; // dojo/promise/Promise
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/promise/instrumentation.js":
  /*!******************************************************!*\
    !*** ./node_modules/dojo/promise/instrumentation.js ***!
    \******************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoPromiseInstrumentationJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./tracer */
    "./node_modules/dojo/promise/tracer.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ../_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../_base/array */
    "./node_modules/dojo/_base/array.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (tracer, has, lang, arrayUtil) {
      has.add("config-useDeferredInstrumentation", "report-unhandled-rejections");

      function logError(error, rejection, deferred) {
        if (error && error.log === false) {
          return;
        }

        var stack = "";

        if (error && error.stack) {
          stack += error.stack;
        }

        if (rejection && rejection.stack) {
          stack += "\n    ----------------------------------------\n    rejected" + rejection.stack.split("\n").slice(1).join("\n").replace(/^\s+/, " ");
        }

        if (deferred && deferred.stack) {
          stack += "\n    ----------------------------------------\n" + deferred.stack;
        }

        console.error(error, stack);
      }

      function reportRejections(error, handled, rejection, deferred) {
        if (!handled) {
          logError(error, rejection, deferred);
        }
      }

      var errors = [];
      var activeTimeout = false;
      var unhandledWait = 1000;

      function trackUnhandledRejections(error, handled, rejection, deferred) {
        // try to find the existing tracking object
        if (!arrayUtil.some(errors, function (obj) {
          if (obj.error === error) {
            // found the tracking object for this error
            if (handled) {
              // if handled, update the state
              obj.handled = true;
            }

            return true;
          }
        })) {
          // no tracking object has been setup, create one
          errors.push({
            error: error,
            rejection: rejection,
            handled: handled,
            deferred: deferred,
            timestamp: new Date().getTime()
          });
        }

        if (!activeTimeout) {
          activeTimeout = setTimeout(logRejected, unhandledWait);
        }
      }

      function logRejected() {
        var now = new Date().getTime();
        var reportBefore = now - unhandledWait;
        errors = arrayUtil.filter(errors, function (obj) {
          // only report the error if we have waited long enough and
          // it hasn't been handled
          if (obj.timestamp < reportBefore) {
            if (!obj.handled) {
              logError(obj.error, obj.rejection, obj.deferred);
            }

            return false;
          }

          return true;
        });

        if (errors.length) {
          activeTimeout = setTimeout(logRejected, errors[0].timestamp + unhandledWait - now);
        } else {
          activeTimeout = false;
        }
      }

      return function (Deferred) {
        // summary:
        //		Initialize instrumentation for the Deferred class.
        // description:
        //		Initialize instrumentation for the Deferred class.
        //		Done automatically by `dojo/Deferred` if the
        //		`deferredInstrumentation` and `useDeferredInstrumentation`
        //		config options are set.
        //
        //		Sets up `dojo/promise/tracer` to log to the console.
        //
        //		Sets up instrumentation of rejected deferreds so unhandled
        //		errors are logged to the console.
        var usage = has("config-useDeferredInstrumentation");

        if (usage) {
          tracer.on("resolved", lang.hitch(console, "log", "resolved"));
          tracer.on("rejected", lang.hitch(console, "log", "rejected"));
          tracer.on("progress", lang.hitch(console, "log", "progress"));
          var args = [];

          if (typeof usage === "string") {
            args = usage.split(",");
            usage = args.shift();
          }

          if (usage === "report-rejections") {
            Deferred.instrumentRejected = reportRejections;
          } else if (usage === "report-unhandled-rejections" || usage === true || usage === 1) {
            Deferred.instrumentRejected = trackUnhandledRejections;
            unhandledWait = parseInt(args[0], 10) || unhandledWait;
          } else {
            throw new Error("Unsupported instrumentation usage <" + usage + ">");
          }
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/promise/tracer.js":
  /*!*********************************************!*\
    !*** ./node_modules/dojo/promise/tracer.js ***!
    \*********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoPromiseTracerJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./Promise */
    "./node_modules/dojo/promise/Promise.js"), __webpack_require__(
    /*! ../Evented */
    "./node_modules/dojo/Evented.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (lang, Promise, Evented) {
      "use strict"; // module:
      //		dojo/promise/tracer

      /*=====
      return {
      	// summary:
      	//		Trace promise fulfillment.
      	// description:
      	//		Trace promise fulfillment. Calling `.trace()` or `.traceError()` on a
      	//		promise enables tracing. Will emit `resolved`, `rejected` or `progress`
      	//		events.
      		on: function(type, listener){
      		// summary:
      		//		Subscribe to traces.
      		// description:
      		//		See `dojo/Evented#on()`.
      		// type: String
      		//		`resolved`, `rejected`, or `progress`
      		// listener: Function
      		//		The listener is passed the traced value and any arguments
      		//		that were used with the `.trace()` call.
      	}
      };
      =====*/

      var evented = new Evented();
      var emit = evented.emit;
      evented.emit = null; // Emit events asynchronously since they should not change the promise state.

      function emitAsync(args) {
        setTimeout(function () {
          emit.apply(evented, args);
        }, 0);
      }

      Promise.prototype.trace = function () {
        // summary:
        //		Trace the promise.
        // description:
        //		Tracing allows you to transparently log progress,
        //		resolution and rejection of promises, without affecting the
        //		promise itself. Any arguments passed to `trace()` are
        //		emitted in trace events. See `dojo/promise/tracer` on how
        //		to handle traces.
        // returns: dojo/promise/Promise
        //		The promise instance `trace()` is called on.
        var args = lang._toArray(arguments);

        this.then(function (value) {
          emitAsync(["resolved", value].concat(args));
        }, function (error) {
          emitAsync(["rejected", error].concat(args));
        }, function (update) {
          emitAsync(["progress", update].concat(args));
        });
        return this;
      };

      Promise.prototype.traceRejected = function () {
        // summary:
        //		Trace rejection of the promise.
        // description:
        //		Tracing allows you to transparently log progress,
        //		resolution and rejection of promises, without affecting the
        //		promise itself. Any arguments passed to `trace()` are
        //		emitted in trace events. See `dojo/promise/tracer` on how
        //		to handle traces.
        // returns: dojo/promise/Promise
        //		The promise instance `traceRejected()` is called on.
        var args = lang._toArray(arguments);

        this.otherwise(function (error) {
          emitAsync(["rejected", error].concat(args));
        });
        return this;
      };

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

  /***/
  "./node_modules/dojo/request/handlers.js":
  /*!***********************************************!*\
    !*** ./node_modules/dojo/request/handlers.js ***!
    \***********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoRequestHandlersJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../json */
    "./node_modules/dojo/json.js"), __webpack_require__(
    /*! ../_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! ../_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js"), __webpack_require__(
    /*! ./node_modules/dojo-webpack-plugin/lib/NoModule.js */
    "./node_modules/dojo-webpack-plugin/lib/NoModule.js") // only included for has() qsa tests
    ], __WEBPACK_AMD_DEFINE_RESULT__ = function (JSON, kernel, array, has) {
      has.add('activex', typeof ActiveXObject !== 'undefined');
      has.add('dom-parser', function (global) {
        return 'DOMParser' in global;
      });
      var handleXML;

      if (false) {
        var lastParser, dp;
      }

      var handleNativeResponse = function handleNativeResponse(response) {
        if (false) {}

        return response.xhr.response;
      };

      var handlers = {
        'javascript': function javascript(response) {
          return kernel.eval(response.text || '');
        },
        'json': function json(response) {
          return JSON.parse(response.text || null);
        },
        'xml': handleXML,
        'blob': handleNativeResponse,
        'arraybuffer': handleNativeResponse,
        'document': handleNativeResponse
      };

      function handle(response) {
        var handler = handlers[response.options.handleAs];
        response.data = handler ? handler(response) : response.data || response.text;
        return response;
      }

      handle.register = function (name, handler) {
        handlers[name] = handler;
      };

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

  /***/
  "./node_modules/dojo/request/util.js":
  /*!*******************************************!*\
    !*** ./node_modules/dojo/request/util.js ***!
    \*******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoRequestUtilJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [exports, __webpack_require__(
    /*! ../errors/RequestError */
    "./node_modules/dojo/errors/RequestError.js"), __webpack_require__(
    /*! ../errors/CancelError */
    "./node_modules/dojo/errors/CancelError.js"), __webpack_require__(
    /*! ../Deferred */
    "./node_modules/dojo/Deferred.js"), __webpack_require__(
    /*! ../io-query */
    "./node_modules/dojo/io-query.js"), __webpack_require__(
    /*! ../_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ../_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ../promise/Promise */
    "./node_modules/dojo/promise/Promise.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (exports, RequestError, CancelError, Deferred, ioQuery, array, lang, Promise, has) {
      exports.deepCopy = function deepCopy(target, source) {
        for (var name in source) {
          var tval = target[name],
              sval = source[name];

          if (tval !== sval) {
            if (tval && typeof tval === 'object' && sval && typeof sval === 'object') {
              if (sval instanceof Date) {
                target[name] = new Date(sval);
              } else {
                exports.deepCopy(tval, sval);
              }
            } else {
              target[name] = sval;
            }
          }
        }

        return target;
      };

      exports.deepCreate = function deepCreate(source, properties) {
        properties = properties || {};
        var target = lang.delegate(source),
            name,
            value;

        for (name in source) {
          value = source[name];

          if (value && typeof value === 'object') {
            target[name] = exports.deepCreate(value, properties[name]);
          }
        }

        return exports.deepCopy(target, properties);
      };

      var freeze = Object.freeze || function (obj) {
        return obj;
      };

      function okHandler(response) {
        return freeze(response);
      }

      function dataHandler(response) {
        return response.data !== undefined ? response.data : response.text;
      }

      exports.deferred = function deferred(response, cancel, isValid, isReady, handleResponse, last) {
        var def = new Deferred(function (reason) {
          cancel && cancel(def, response);

          if (!reason || !(reason instanceof RequestError) && !(reason instanceof CancelError)) {
            return new CancelError('Request canceled', response);
          }

          return reason;
        });
        def.response = response;
        def.isValid = isValid;
        def.isReady = isReady;
        def.handleResponse = handleResponse;

        function errHandler(error) {
          error.response = response;
          throw error;
        }

        var responsePromise = def.then(okHandler).otherwise(errHandler);

        if (exports.notify) {
          responsePromise.then(lang.hitch(exports.notify, 'emit', 'load'), lang.hitch(exports.notify, 'emit', 'error'));
        }

        var dataPromise = responsePromise.then(dataHandler); // http://bugs.dojotoolkit.org/ticket/16794
        // The following works around a leak in IE9 through the
        // prototype using lang.delegate on dataPromise and
        // assigning the result a property with a reference to
        // responsePromise.

        var promise = new Promise();

        for (var prop in dataPromise) {
          if (dataPromise.hasOwnProperty(prop)) {
            promise[prop] = dataPromise[prop];
          }
        }

        promise.response = responsePromise;
        freeze(promise); // End leak fix

        if (last) {
          def.then(function (response) {
            last.call(def, response);
          }, function (error) {
            last.call(def, response, error);
          });
        }

        def.promise = promise;
        def.then = promise.then;
        return def;
      };

      exports.addCommonMethods = function addCommonMethods(provider, methods) {
        array.forEach(methods || ['GET', 'POST', 'PUT', 'DELETE'], function (method) {
          provider[(method === 'DELETE' ? 'DEL' : method).toLowerCase()] = function (url, options) {
            options = lang.delegate(options || {});
            options.method = method;
            return provider(url, options);
          };
        });
      };

      exports.parseArgs = function parseArgs(url, options, skipData) {
        var data = options.data,
            query = options.query;

        if (data && !skipData) {
          if (typeof data === 'object' && (false || !(data instanceof ArrayBuffer || data instanceof Blob))) {
            options.data = ioQuery.objectToQuery(data);
          }
        }

        if (query) {
          if (typeof query === 'object') {
            query = ioQuery.objectToQuery(query);
          }

          if (options.preventCache) {
            query += (query ? '&' : '') + 'request.preventCache=' + +new Date();
          }
        } else if (options.preventCache) {
          query = 'request.preventCache=' + +new Date();
        }

        if (url && query) {
          url += (~url.indexOf('?') ? '&' : '?') + query;
        }

        return {
          url: url,
          options: options,
          getHeader: function getHeader(headerName) {
            return null;
          }
        };
      };

      exports.checkStatus = function (stat) {
        stat = stat || 0;
        return stat >= 200 && stat < 300 || // allow any 2XX response code
        stat === 304 || // or, get it out of the cache
        stat === 1223 || // or, Internet Explorer mangled the status code
        !stat; // or, we're Titanium/browser chrome/chrome extension requesting a local file
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/request/watch.js":
  /*!********************************************!*\
    !*** ./node_modules/dojo/request/watch.js ***!
    \********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoRequestWatchJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./util */
    "./node_modules/dojo/request/util.js"), __webpack_require__(
    /*! ../errors/RequestTimeoutError */
    "./node_modules/dojo/errors/RequestTimeoutError.js"), __webpack_require__(
    /*! ../errors/CancelError */
    "./node_modules/dojo/errors/CancelError.js"), __webpack_require__(
    /*! ../_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! ../_base/window */
    "./node_modules/dojo/_base/window.js"), __webpack_require__.dj.h("dom-addeventlistener?:./node_modules/dojo/on.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (util, RequestTimeoutError, CancelError, array, win, on) {
      // avoid setting a timer per request. It degrades performance on IE
      // something fierece if we don't use unified loops.
      var _inFlightIntvl = null,
          _inFlight = [];

      function watchInFlight() {
        // summary:
        //		internal method that checks each inflight XMLHttpRequest to see
        //		if it has completed or if the timeout situation applies.
        var now = +new Date(); // we need manual loop because we often modify _inFlight (and therefore 'i') while iterating

        for (var i = 0, dfd; i < _inFlight.length && (dfd = _inFlight[i]); i++) {
          var response = dfd.response,
              options = response.options;

          if (dfd.isCanceled && dfd.isCanceled() || dfd.isValid && !dfd.isValid(response)) {
            _inFlight.splice(i--, 1);

            watch._onAction && watch._onAction();
          } else if (dfd.isReady && dfd.isReady(response)) {
            _inFlight.splice(i--, 1);

            dfd.handleResponse(response);
            watch._onAction && watch._onAction();
          } else if (dfd.startTime) {
            // did we timeout?
            if (dfd.startTime + (options.timeout || 0) < now) {
              _inFlight.splice(i--, 1); // Cancel the request so the io module can do appropriate cleanup.


              dfd.cancel(new RequestTimeoutError('Timeout exceeded', response));
              watch._onAction && watch._onAction();
            }
          }
        }

        watch._onInFlight && watch._onInFlight(dfd);

        if (!_inFlight.length) {
          clearInterval(_inFlightIntvl);
          _inFlightIntvl = null;
        }
      }

      function watch(dfd) {
        // summary:
        //		Watches the io request represented by dfd to see if it completes.
        // dfd: Deferred
        //		The Deferred object to watch.
        // response: Object
        //		The object used as the value of the request promise.
        // validCheck: Function
        //		Function used to check if the IO request is still valid. Gets the dfd
        //		object as its only argument.
        // ioCheck: Function
        //		Function used to check if basic IO call worked. Gets the dfd
        //		object as its only argument.
        // resHandle: Function
        //		Function used to process response. Gets the dfd
        //		object as its only argument.
        if (dfd.response.options.timeout) {
          dfd.startTime = +new Date();
        }

        if (dfd.isFulfilled()) {
          // bail out if the deferred is already fulfilled
          return;
        }

        _inFlight.push(dfd);

        if (!_inFlightIntvl) {
          _inFlightIntvl = setInterval(watchInFlight, 50);
        } // handle sync requests separately from async:
        // http://bugs.dojotoolkit.org/ticket/8467


        if (dfd.response.options.sync) {
          watchInFlight();
        }
      }

      watch.cancelAll = function cancelAll() {
        // summary:
        //		Cancels all pending IO requests, regardless of IO type
        try {
          array.forEach(_inFlight, function (dfd) {
            try {
              dfd.cancel(new CancelError('All requests canceled.'));
            } catch (e) {}
          });
        } catch (e) {}
      };

      if (win && on && win.doc.attachEvent) {
        // Automatically call cancel all io calls on unload in IE
        // http://bugs.dojotoolkit.org/ticket/2357
        on(win.global, 'unload', function () {
          watch.cancelAll();
        });
      }

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

  /***/
  "./node_modules/dojo/request/xhr.js":
  /*!******************************************!*\
    !*** ./node_modules/dojo/request/xhr.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoRequestXhrJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ../errors/RequestError */
    "./node_modules/dojo/errors/RequestError.js"), __webpack_require__(
    /*! ./watch */
    "./node_modules/dojo/request/watch.js"), __webpack_require__(
    /*! ./handlers */
    "./node_modules/dojo/request/handlers.js"), __webpack_require__(
    /*! ./util */
    "./node_modules/dojo/request/util.js"), __webpack_require__(
    /*! ../has */
    "./node_modules/dojo/has.js")
    /*=====,
    '../request',
    '../_base/declare' =====*/
    ], __WEBPACK_AMD_DEFINE_RESULT__ = function (RequestError, watch, handlers, util, has
    /*=====, request, declare =====*/
    ) {
      has.add('native-xhr', function () {
        // if true, the environment has a native XHR implementation
        return typeof XMLHttpRequest !== 'undefined';
      });
      has.add('dojo-force-activex-xhr', function () {
        return has('activex') && false;
      });
      has.add('native-xhr2', function () {
        if (false || has('dojo-force-activex-xhr')) {
          return;
        }

        var x = new XMLHttpRequest();
        return typeof x['addEventListener'] !== 'undefined' && (typeof opera === 'undefined' || typeof x['upload'] !== 'undefined');
      });
      has.add('native-formdata', function () {
        // if true, the environment has a native FormData implementation
        return typeof FormData !== 'undefined';
      });
      has.add('native-response-type', function () {
        return true && typeof new XMLHttpRequest().responseType !== 'undefined';
      });
      has.add('native-xhr2-blob', function () {
        if (false) {}

        var x = new XMLHttpRequest(); // The URL used here does not have to be reachable as the XHR's `send` method is never called.
        // It does need to be parsable/resolvable in all cases, so it should be an absolute URL.
        // XMLHttpRequest within a Worker created from a Blob does not support relative URL paths.

        x.open('GET', 'https://dojotoolkit.org/', true);
        x.responseType = 'blob'; // will not be set if unsupported

        var responseType = x.responseType;
        x.abort();
        return responseType === 'blob';
      }); // Google Chrome doesn't support "json" response type
      // up to version 30, so it's intentionally not included here

      var nativeResponseTypes = {
        'blob': true ? 'blob' : undefined,
        'document': 'document',
        'arraybuffer': 'arraybuffer'
      };

      function handleResponse(response, error) {
        var _xhr = response.xhr;
        response.status = response.xhr.status;

        try {
          // Firefox throws an error when trying to access
          // xhr.responseText if response isn't text
          response.text = _xhr.responseText;
        } catch (e) {}

        if (response.options.handleAs === 'xml') {
          response.data = _xhr.responseXML;
        }

        var handleError;

        if (error) {
          this.reject(error);
        } else {
          try {
            handlers(response);
          } catch (e) {
            handleError = e;
          }

          if (util.checkStatus(_xhr.status)) {
            if (!handleError) {
              this.resolve(response);
            } else {
              this.reject(handleError);
            }
          } else {
            if (!handleError) {
              error = new RequestError('Unable to load ' + response.url + ' status: ' + _xhr.status, response);
              this.reject(error);
            } else {
              error = new RequestError('Unable to load ' + response.url + ' status: ' + _xhr.status + ' and an error in handleAs: transformation of response', response);
              this.reject(error);
            }
          }
        }
      }

      var isValid, isReady, addListeners, cancel;

      if (true) {
        // Any platform with XHR2 will only use the watch mechanism for timeout.
        isValid = function isValid(response) {
          // summary:
          //		Check to see if the request should be taken out of the watch queue
          return !this.isFulfilled();
        };

        cancel = function cancel(dfd, response) {
          // summary:
          //		Canceler for deferred
          response.xhr.abort();
        };

        addListeners = function addListeners(_xhr, dfd, response, uploadProgress) {
          // summary:
          //		Adds event listeners to the XMLHttpRequest object
          function onLoad(evt) {
            dfd.handleResponse(response);
          }

          function onError(evt) {
            var _xhr = evt.target;
            var error = new RequestError('Unable to load ' + response.url + ' status: ' + _xhr.status, response);
            dfd.handleResponse(response, error);
          }

          function onProgress(transferType, evt) {
            response.transferType = transferType;

            if (evt.lengthComputable) {
              response.loaded = evt.loaded;
              response.total = evt.total;
              dfd.progress(response);
            } else if (response.xhr.readyState === 3) {
              response.loaded = 'loaded' in evt ? evt.loaded : evt.position;
              dfd.progress(response);
            }
          }

          function onDownloadProgress(evt) {
            return onProgress('download', evt);
          }

          function onUploadProgress(evt) {
            return onProgress('upload', evt);
          }

          _xhr.addEventListener('load', onLoad, false);

          _xhr.addEventListener('error', onError, false);

          _xhr.addEventListener('progress', onDownloadProgress, false);

          if (uploadProgress && _xhr.upload) {
            _xhr.upload.addEventListener('progress', onUploadProgress, false);
          }

          return function () {
            _xhr.removeEventListener('load', onLoad, false);

            _xhr.removeEventListener('error', onError, false);

            _xhr.removeEventListener('progress', onDownloadProgress, false);

            _xhr.upload.removeEventListener('progress', onUploadProgress, false);

            _xhr = null;
          };
        };
      } else {}

      function getHeader(headerName) {
        return this.xhr.getResponseHeader(headerName);
      }

      var undefined,
          defaultOptions = {
        data: null,
        query: null,
        sync: false,
        method: 'GET'
      };

      function xhr(url, options, returnDeferred) {
        var isFormData = true && options && options.data && options.data instanceof FormData;
        var response = util.parseArgs(url, util.deepCreate(defaultOptions, options), isFormData);
        url = response.url;
        options = response.options;
        var hasNoData = !options.data && options.method !== 'POST' && options.method !== 'PUT';

        if (has('ie') <= 10) {
          // older IE breaks point 9 in http://www.w3.org/TR/XMLHttpRequest/#the-open()-method and sends fragment, so strip it
          url = url.split('#')[0];
        }

        var remover,
            last = function last() {
          remover && remover();
        }; //Make the Deferred object for this xhr request.


        var dfd = util.deferred(response, cancel, isValid, isReady, handleResponse, last);

        var _xhr = response.xhr = xhr._create();

        if (!_xhr) {
          // If XHR factory somehow returns nothings,
          // cancel the deferred.
          dfd.cancel(new RequestError('XHR was not created'));
          return returnDeferred ? dfd : dfd.promise;
        }

        response.getHeader = getHeader;

        if (addListeners) {
          remover = addListeners(_xhr, dfd, response, options.uploadProgress);
        } // IE11 treats data: undefined different than other browsers


        var data = typeof options.data === 'undefined' ? null : options.data,
            async = !options.sync,
            method = options.method;

        try {
          // IE6 won't let you call apply() on the native function.
          _xhr.open(method, url, async, options.user || undefined, options.password || undefined);

          if (options.withCredentials) {
            _xhr.withCredentials = options.withCredentials;
          }

          if (true && options.handleAs in nativeResponseTypes) {
            _xhr.responseType = nativeResponseTypes[options.handleAs];
          }

          var headers = options.headers,
              contentType = isFormData || hasNoData ? false : 'application/x-www-form-urlencoded';

          if (headers) {
            for (var hdr in headers) {
              if (hdr.toLowerCase() === 'content-type') {
                contentType = headers[hdr];
              } else if (headers[hdr]) {
                //Only add header if it has a value. This allows for instance, skipping
                //insertion of X-Requested-With by specifying empty value.
                _xhr.setRequestHeader(hdr, headers[hdr]);
              }
            }
          }

          if (contentType && contentType !== false) {
            _xhr.setRequestHeader('Content-Type', contentType);
          }

          if (!headers || !('X-Requested-With' in headers)) {
            _xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
          }

          if (util.notify) {
            util.notify.emit('send', response, dfd.promise.cancel);
          }

          _xhr.send(data);
        } catch (e) {
          dfd.reject(e);
        }

        watch(dfd);
        _xhr = null;
        return returnDeferred ? dfd : dfd.promise;
      }
      /*=====
      xhr = function(url, options){
      	// summary:
      	//		Sends a request using XMLHttpRequest with the given URL and options.
      	// url: String
      	//		URL to request
      	// options: dojo/request/xhr.__Options?
      	//		Options for the request.
      	// returns: dojo/request.__Promise
      };
      xhr.__BaseOptions = declare(request.__BaseOptions, {
      	// sync: Boolean?
      	//		Whether to make a synchronous request or not. Default
      	//		is `false` (asynchronous).
      	// data: String|Object|FormData?
      	//		Data to transfer. This is ignored for GET and DELETE
      	//		requests.
      	// headers: Object?
      	//		Headers to use for the request.
      	// user: String?
      	//		Username to use during the request.
      	// password: String?
      	//		Password to use during the request.
      	// withCredentials: Boolean?
      	//		For cross-site requests, whether to send credentials
      	//		or not.
      	// uploadProgress: Boolean?
      	//		Upload progress events cause preflighted requests. This
      	//		option enables upload progress event support but also
      	//		causes all requests to be preflighted.
      });
      xhr.__MethodOptions = declare(null, {
      	// method: String?
      	//		The HTTP method to use to make the request. Must be
      	//		uppercase. Default is `"GET"`.
      });
      xhr.__Options = declare([xhr.__BaseOptions, xhr.__MethodOptions]);
      	xhr.get = function(url, options){
      	// summary:
      	//		Send an HTTP GET request using XMLHttpRequest with the given URL and options.
      	// url: String
      	//		URL to request
      	// options: dojo/request/xhr.__BaseOptions?
      	//		Options for the request.
      	// returns: dojo/request.__Promise
      };
      xhr.post = function(url, options){
      	// summary:
      	//		Send an HTTP POST request using XMLHttpRequest with the given URL and options.
      	// url: String
      	//		URL to request
      	// options: dojo/request/xhr.__BaseOptions?
      	//		Options for the request.
      	// returns: dojo/request.__Promise
      };
      xhr.put = function(url, options){
      	// summary:
      	//		Send an HTTP PUT request using XMLHttpRequest with the given URL and options.
      	// url: String
      	//		URL to request
      	// options: dojo/request/xhr.__BaseOptions?
      	//		Options for the request.
      	// returns: dojo/request.__Promise
      };
      xhr.del = function(url, options){
      	// summary:
      	//		Send an HTTP DELETE request using XMLHttpRequest with the given URL and options.
      	// url: String
      	//		URL to request
      	// options: dojo/request/xhr.__BaseOptions?
      	//		Options for the request.
      	// returns: dojo/request.__Promise
      };
      =====*/


      xhr._create = function () {
        // summary:
        //		does the work of portably generating a new XMLHTTPRequest object.
        throw new Error('XMLHTTP not available');
      };

      if (true && !has('dojo-force-activex-xhr')) {
        xhr._create = function () {
          return new XMLHttpRequest();
        };
      } else if (false) {}

      util.addCommonMethods(xhr);
      return xhr;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/sniff.js":
  /*!************************************!*\
    !*** ./node_modules/dojo/sniff.js ***!
    \************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoSniffJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./has */
    "./node_modules/dojo/has.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (has) {
      // module:
      //		dojo/sniff

      /*=====
      return function(){
      	// summary:
      	//		This module sets has() flags based on the current browser.
      	//		It returns the has() function.
      };
      =====*/
      if (true) {
        var n = navigator,
            dua = n.userAgent,
            dav = n.appVersion,
            tv = parseFloat(dav);
        has.add("air", dua.indexOf("AdobeAIR") >= 0);
        has.add("wp", parseFloat(dua.split("Windows Phone")[1]) || undefined);
        has.add("msapp", parseFloat(dua.split("MSAppHost/")[1]) || undefined);
        has.add("khtml", dav.indexOf("Konqueror") >= 0 ? tv : undefined);
        has.add("edge", parseFloat(dua.split("Edge/")[1]) || undefined);
        has.add("opr", parseFloat(dua.split("OPR/")[1]) || undefined); // NOTE: https://dev.opera.com/blog/opera-user-agent-strings-opera-15-and-beyond/

        has.add("webkit", true // NOTE: necessary since Windows Phone 8.1 Update 1, see #18540
        && !has("edge") && parseFloat(dua.split("WebKit/")[1]) || undefined);
        has.add("chrome", !has("edge") && !has("opr") && parseFloat(dua.split("Chrome/")[1]) || undefined);
        has.add("android", true // NOTE: necessary since Windows Phone 8.1 Update 1, see #18528
        && parseFloat(dua.split("Android ")[1]) || undefined);
        has.add("safari", dav.indexOf("Safari") >= 0 && !has("wp") // NOTE: necessary since Windows Phone 8.1 Update 1, see #18540
        && !has("chrome") && !has("android") && !has("edge") && !has("opr") ? parseFloat(dav.split("Version/")[1]) : undefined);
        has.add("mac", dav.indexOf("Macintosh") >= 0);
        has.add("quirks", document.compatMode == "BackCompat");

        if (true // NOTE: necessary since Windows Phone 8.1 Update 1, see #18528
        && dua.match(/(iPhone|iPod|iPad)/)) {
          var p = RegExp.$1.replace(/P/, "p");
          var v = dua.match(/OS ([\d_]+)/) ? RegExp.$1 : "1";
          var os = parseFloat(v.replace(/_/, ".").replace(/_/g, ""));
          has.add(p, os); // "iphone", "ipad" or "ipod"

          has.add("ios", os);
        }

        has.add("bb", (dua.indexOf("BlackBerry") >= 0 || dua.indexOf("BB10") >= 0) && parseFloat(dua.split("Version/")[1]) || undefined);
        has.add("trident", parseFloat(dav.split("Trident/")[1]) || undefined);
        has.add("svg", typeof SVGAngle !== "undefined");

        if (!has("webkit")) {
          // Opera
          if (dua.indexOf("Opera") >= 0) {
            // see http://dev.opera.com/articles/view/opera-ua-string-changes and http://www.useragentstring.com/pages/Opera/
            // 9.8 has both styles; <9.8, 9.9 only old style
            has.add("opera", tv >= 9.8 ? parseFloat(dua.split("Version/")[1]) || tv : tv);
          } // Mozilla and firefox


          if (dua.indexOf("Gecko") >= 0 && !has("wp") // NOTE: necessary since Windows Phone 8.1 Update 1
          && !has("khtml") && !has("trident") && !has("edge")) {
            has.add("mozilla", tv);
          }

          if (has("mozilla")) {
            //We really need to get away from this. Consider a sane isGecko approach for the future.
            has.add("ff", parseFloat(dua.split("Firefox/")[1] || dua.split("Minefield/")[1]) || undefined);
          } // IE


          if (document.all && !has("opera")) {
            var isIE = parseFloat(dav.split("MSIE ")[1]) || undefined; //In cases where the page has an HTTP header or META tag with
            //X-UA-Compatible, then it is in emulation mode.
            //Make sure isIE reflects the desired version.
            //document.documentMode of 5 means quirks mode.
            //Only switch the value if documentMode's major version
            //is different from isIE's major version.

            var mode = document.documentMode;

            if (mode && mode != 5 && Math.floor(isIE) != mode) {
              isIE = mode;
            }

            has.add("ie", isIE);
          } // Wii


          has.add("wii", typeof opera != "undefined" && opera.wiiremote);
        }
      }

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

  /***/
  "./node_modules/dojo/topic.js":
  /*!************************************!*\
    !*** ./node_modules/dojo/topic.js ***!
    \************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoTopicJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./Evented */
    "./node_modules/dojo/Evented.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (Evented) {
      // module:
      //		dojo/topic
      var hub = new Evented();
      return {
        // summary:
        //		Pubsub hub.
        // example:
        //		| 	topic.subscribe("some/topic", function(event){
        //		|	... do something with event
        //		|	});
        //		|	topic.publish("some/topic", {name:"some event", ...});
        publish: function publish(topic, event) {
          // summary:
          //		Publishes a message to a topic on the pub/sub hub. All arguments after
          //		the first will be passed to the subscribers, so any number of arguments
          //		can be provided (not just event).
          // topic: String
          //		The name of the topic to publish to
          // event: Object
          //		An event to distribute to the topic listeners
          return hub.emit.apply(hub, arguments);
        },
        subscribe: function subscribe(topic, listener) {
          // summary:
          //		Subscribes to a topic on the pub/sub hub
          // topic: String
          //		The topic to subscribe to
          // listener: Function
          //		A function to call when a message is published to the given topic
          return hub.on.apply(hub, arguments);
        }
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojo/when.js":
  /*!***********************************!*\
    !*** ./node_modules/dojo/when.js ***!
    \***********************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoWhenJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./Deferred */
    "./node_modules/dojo/Deferred.js"), __webpack_require__(
    /*! ./promise/Promise */
    "./node_modules/dojo/promise/Promise.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (Deferred, Promise) {
      "use strict"; // module:
      //		dojo/when

      return function when(valueOrPromise, callback, errback, progback) {
        // summary:
        //		Transparently applies callbacks to values and/or promises.
        // description:
        //		Accepts promises but also transparently handles non-promises. If no
        //		callbacks are provided returns a promise, regardless of the initial
        //		value. Foreign promises are converted.
        //
        //		If callbacks are provided and the initial value is not a promise,
        //		the callback is executed immediately with no error handling. Returns
        //		a promise if the initial value is a promise, or the result of the
        //		callback otherwise.
        // valueOrPromise:
        //		Either a regular value or an object with a `then()` method that
        //		follows the Promises/A specification.
        // callback: Function?
        //		Callback to be invoked when the promise is resolved, or a non-promise
        //		is received.
        // errback: Function?
        //		Callback to be invoked when the promise is rejected.
        // progback: Function?
        //		Callback to be invoked when the promise emits a progress update.
        // returns: dojo/promise/Promise
        //		Promise, or if a callback is provided, the result of the callback.
        var receivedPromise = valueOrPromise && typeof valueOrPromise.then === "function";
        var nativePromise = receivedPromise && valueOrPromise instanceof Promise;

        if (!receivedPromise) {
          if (arguments.length > 1) {
            return callback ? callback(valueOrPromise) : valueOrPromise;
          } else {
            return new Deferred().resolve(valueOrPromise);
          }
        } else if (!nativePromise) {
          var deferred = new Deferred(valueOrPromise.cancel);
          valueOrPromise.then(deferred.resolve, deferred.reject, deferred.progress);
          valueOrPromise = deferred.promise;
        }

        if (callback || errback || progback) {
          return valueOrPromise.then(callback, errback, progback);
        }

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

  /***/
  "./node_modules/dojox/gfx/_base.js":
  /*!*****************************************!*\
    !*** ./node_modules/dojox/gfx/_base.js ***!
    \*****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfx_baseJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! dojo/_base/Color */
    "./node_modules/dojo/_base/Color.js"), __webpack_require__(
    /*! dojo/_base/sniff */
    "./node_modules/dojo/_base/sniff.js"), __webpack_require__(
    /*! dojo/_base/window */
    "./node_modules/dojo/_base/window.js"), __webpack_require__(
    /*! dojo/_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! dojo/dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! dojo/dom-construct */
    "./node_modules/dojo/dom-construct.js"), __webpack_require__(
    /*! dojo/dom-geometry */
    "./node_modules/dojo/dom-geometry.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (kernel, lang, Color, has, win, arr, dom, domConstruct, domGeom) {
      // module:
      //		dojox/gfx
      // summary:
      //		This module contains common core Graphics API used by different graphics renderers.
      var g = lang.getObject("dojox.gfx", true),
          b = g._base = {}; // candidates for dojox.style (work on VML and SVG nodes)

      g._hasClass = function (
      /*DomNode*/
      node,
      /*String*/
      classStr) {
        // summary:
        //		Returns whether or not the specified classes are a portion of the
        //		class list currently applied to the node.
        // return (new RegExp('(^|\\s+)'+classStr+'(\\s+|$)')).test(node.className)	// Boolean
        var cls = node.getAttribute("className");
        return cls && (" " + cls + " ").indexOf(" " + classStr + " ") >= 0; // Boolean
      };

      g._addClass = function (
      /*DomNode*/
      node,
      /*String*/
      classStr) {
        // summary:
        //		Adds the specified classes to the end of the class list on the
        //		passed node.
        var cls = node.getAttribute("className") || "";

        if (!cls || (" " + cls + " ").indexOf(" " + classStr + " ") < 0) {
          node.setAttribute("className", cls + (cls ? " " : "") + classStr);
        }
      };

      g._removeClass = function (
      /*DomNode*/
      node,
      /*String*/
      classStr) {
        // summary:
        //		Removes classes from node.
        var cls = node.getAttribute("className");

        if (cls) {
          node.setAttribute("className", cls.replace(new RegExp('(^|\\s+)' + classStr + '(\\s+|$)'), "$1$2"));
        }
      }; // candidate for dojox.html.metrics (dynamic font resize handler is not implemented here)
      //		derived from Morris John's emResized measurer


      b._getFontMeasurements = function () {
        // summary:
        //		Returns an object that has pixel equivilents of standard font
        //		size values.
        var heights = {
          '1em': 0,
          '1ex': 0,
          '100%': 0,
          '12pt': 0,
          '16px': 0,
          'xx-small': 0,
          'x-small': 0,
          'small': 0,
          'medium': 0,
          'large': 0,
          'x-large': 0,
          'xx-large': 0
        };
        var p, oldStyle;

        if (has("ie")) {
          //	We do a font-size fix if and only if one isn't applied already.
          // NOTE: If someone set the fontSize on the HTML Element, this will kill it.
          oldStyle = win.doc.documentElement.style.fontSize || "";

          if (!oldStyle) {
            win.doc.documentElement.style.fontSize = "100%";
          }
        } //		set up the measuring node.


        var div = domConstruct.create("div", {
          style: {
            position: "absolute",
            left: "0",
            top: "-100px",
            width: "30px",
            height: "1000em",
            borderWidth: "0",
            margin: "0",
            padding: "0",
            outline: "none",
            lineHeight: "1",
            overflow: "hidden"
          }
        }, win.body()); //		do the measurements.

        for (p in heights) {
          div.style.fontSize = p;
          heights[p] = Math.round(div.offsetHeight * 12 / 16) * 16 / 12 / 1000;
        }

        if (has("ie")) {
          // Restore the font to its old style.
          win.doc.documentElement.style.fontSize = oldStyle;
        }

        win.body().removeChild(div);
        return heights; //object
      };

      var fontMeasurements = null;

      b._getCachedFontMeasurements = function (recalculate) {
        if (recalculate || !fontMeasurements) {
          fontMeasurements = b._getFontMeasurements();
        }

        return fontMeasurements;
      }; // candidate for dojox.html.metrics


      var measuringNode = null,
          empty = {};

      b._getTextBox = function (
      /*String*/
      text,
      /*Object*/
      style,
      /*String?*/
      className) {
        var m,
            s,
            al = arguments.length;
        var i, box;

        if (!measuringNode) {
          measuringNode = domConstruct.create("div", {
            style: {
              position: "absolute",
              top: "-10000px",
              left: "0",
              visibility: "hidden"
            }
          }, win.body());
        }

        m = measuringNode; // reset styles

        m.className = "";
        s = m.style;
        s.borderWidth = "0";
        s.margin = "0";
        s.padding = "0";
        s.outline = "0"; // set new style

        if (al > 1 && style) {
          for (i in style) {
            if (i in empty) {
              continue;
            }

            s[i] = style[i];
          }
        } // set classes


        if (al > 2 && className) {
          m.className = className;
        } // take a measure


        m.innerHTML = text;

        if (m.getBoundingClientRect) {
          var bcr = m.getBoundingClientRect();
          box = {
            l: bcr.left,
            t: bcr.top,
            w: bcr.width || bcr.right - bcr.left,
            h: bcr.height || bcr.bottom - bcr.top
          };
        } else {
          box = domGeom.getMarginBox(m);
        }

        m.innerHTML = "";
        return box;
      };

      b._computeTextLocation = function (
      /*g.defaultTextShape*/
      textShape,
      /*Number*/
      width,
      /*Number*/
      height,
      /*Boolean*/
      fixHeight) {
        var loc = {},
            align = textShape.align;

        switch (align) {
          case 'end':
            loc.x = textShape.x - width;
            break;

          case 'middle':
            loc.x = textShape.x - width / 2;
            break;

          default:
            loc.x = textShape.x;
            break;
        }

        var c = fixHeight ? 0.75 : 1;
        loc.y = textShape.y - height * c; // **rough** approximation of the ascent...

        return loc;
      };

      b._computeTextBoundingBox = function (
      /*shape.Text*/
      s) {
        // summary:
        //		Compute the bbox of the given shape.Text instance. Note that this method returns an
        //		approximation of the bbox, and should be used when the underlying renderer cannot provide precise metrics.
        if (!g._base._isRendered(s)) {
          return {
            x: 0,
            y: 0,
            width: 0,
            height: 0
          };
        }

        var loc,
            textShape = s.getShape(),
            font = s.getFont() || g.defaultFont,
            w = s.getTextWidth(),
            h = g.normalizedLength(font.size);
        loc = b._computeTextLocation(textShape, w, h, true);
        return {
          x: loc.x,
          y: loc.y,
          width: w,
          height: h
        };
      };

      b._isRendered = function (
      /*Shape*/
      s) {
        var p = s.parent;

        while (p && p.getParent) {
          p = p.parent;
        }

        return p !== null;
      }; // candidate for dojo.dom


      var uniqueId = 0;

      b._getUniqueId = function () {
        // summary:
        //		returns a unique string for use with any DOM element
        var id;

        do {
          id = kernel._scopeName + "xUnique" + ++uniqueId;
        } while (dom.byId(id));

        return id;
      }; // IE10


      var touchActionProp = has("pointer-events") ? "touchAction" : false ? undefined : null;
      b._fixMsTouchAction = touchActionProp ? function (
      /*dojox/gfx/shape.Surface*/
      surface) {
        surface.rawNode.style[touchActionProp] = "none";
      } : function () {};
      /*=====
      g.Stroke = {
      	// summary:
      	//		A stroke defines stylistic properties that are used when drawing a path.
      		// color: String
      	//		The color of the stroke, default value 'black'.
      	color: "black",
      		// style: String
      	//		The style of the stroke, one of 'solid', ... . Default value 'solid'.
      	style: "solid",
      		// width: Number
      	//		The width of a stroke, default value 1.
      	width: 1,
      		// cap: String
      	//		The endcap style of the path. One of 'butt', 'round', ... . Default value 'butt'.
      	cap: "butt",
      		// join: Number
      	//		The join style to use when combining path segments. Default value 4.
      	join: 4
      };
      
      g.Fill = {
      	// summary:
      	//		Defines how to fill a shape. Four types of fills can be used: solid, linear gradient, radial gradient and pattern.
      	//		See dojox/gfx.LinearGradient, dojox/gfx.RadialGradient and dojox/gfx.Pattern respectively for more information about the properties supported by each type.
      	
      	// type: String?
      	//		The type of fill. One of 'linear', 'radial', 'pattern' or undefined. If not specified, a solid fill is assumed.
      	type:"",
      	
      	// color: String|dojo/Color?
      	//		The color of a solid fill type.
      	color:null,
      	
      };
      
      g.LinearGradient = {
      	// summary:
      	//		An object defining the default stylistic properties used for Linear Gradient fills.
      	//		Linear gradients are drawn along a virtual line, which results in appearance of a rotated pattern in a given direction/orientation.
      		// type: String
      	//		Specifies this object is a Linear Gradient, value 'linear'
      	type: "linear",
      		// x1: Number
      	//		The X coordinate of the start of the virtual line along which the gradient is drawn, default value 0.
      	x1: 0,
      		// y1: Number
      	//		The Y coordinate of the start of the virtual line along which the gradient is drawn, default value 0.
      	y1: 0,
      		// x2: Number
      	//		The X coordinate of the end of the virtual line along which the gradient is drawn, default value 100.
      	x2: 100,
      		// y2: Number
      	//		The Y coordinate of the end of the virtual line along which the gradient is drawn, default value 100.
      	y2: 100,
      		// colors: Array
      	//		An array of colors at given offsets (from the start of the line).  The start of the line is
      	//		defined at offest 0 with the end of the line at offset 1.
      	//		Default value, [{ offset: 0, color: 'black'},{offset: 1, color: 'white'}], is a gradient from black to white.
      	colors: []
      };
      
      g.RadialGradient = {
      	// summary:
      	//		Specifies the properties for RadialGradients using in fills patterns.
      		// type: String
      	//		Specifies this is a RadialGradient, value 'radial'
      	type: "radial",
      		// cx: Number
      	//		The X coordinate of the center of the radial gradient, default value 0.
      	cx: 0,
      		// cy: Number
      	//		The Y coordinate of the center of the radial gradient, default value 0.
      	cy: 0,
      		// r: Number
      	//		The radius to the end of the radial gradient, default value 100.
      	r: 100,
      		// colors: Array
      	//		An array of colors at given offsets (from the center of the radial gradient).
      	//		The center is defined at offest 0 with the outer edge of the gradient at offset 1.
      	//		Default value, [{ offset: 0, color: 'black'},{offset: 1, color: 'white'}], is a gradient from black to white.
      	colors: []
      };
      
      g.Pattern = {
      	// summary:
      	//		An object specifying the default properties for a Pattern using in fill operations.
      		// type: String
      	//		Specifies this object is a Pattern, value 'pattern'.
      	type: "pattern",
      		// x: Number
      	//		The X coordinate of the position of the pattern, default value is 0.
      	x: 0,
      		// y: Number
      	//		The Y coordinate of the position of the pattern, default value is 0.
      	y: 0,
      		// width: Number
      	//		The width of the pattern image, default value is 0.
      	width: 0,
      		// height: Number
      	//		The height of the pattern image, default value is 0.
      	height: 0,
      		// src: String
      	//		A url specifying the image to use for the pattern.
      	src: ""
      };
      	g.Text = {
      	//	summary:
      	//		A keyword argument object defining both the text to be rendered in a VectorText shape,
      	//		and specifying position, alignment, and fitting.
      	//	text: String
      	//		The text to be rendered.
      	//	x: Number?
      	//		The left coordinate for the text's bounding box.
      	//	y: Number?
      	//		The top coordinate for the text's bounding box.
      	//	width: Number?
      	//		The width of the text's bounding box.
      	//	height: Number?
      	//		The height of the text's bounding box.
      	//	align: String?
      	//		The alignment of the text, as defined in SVG. Can be "start", "end" or "middle".
      	//	fitting: Number?
      	//		How the text is to be fitted to the bounding box. Can be 0 (no fitting), 1 (fitting based on
      	//		passed width of the bounding box and the size of the font), or 2 (fit text to the bounding box,
      	//		and ignore any size parameters).
      	//	leading: Number?
      	//		The leading to be used between lines in the text.
      	//	decoration: String?
      	//		Any text decoration to be used.
      };
      	g.Font = {
      	// summary:
      	//		An object specifying the properties for a Font used in text operations.
      
      	// type: String
      	//		Specifies this object is a Font, value 'font'.
      	type: "font",
      
      	// style: String
      	//		The font style, one of 'normal', 'bold', default value 'normal'.
      	style: "normal",
      
      	// variant: String
      	//		The font variant, one of 'normal', ... , default value 'normal'.
      	variant: "normal",
      
      	// weight: String
      	//		The font weight, one of 'normal', ..., default value 'normal'.
      	weight: "normal",
      
      	// size: String
      	//		The font size (including units), default value '10pt'.
      	size: "10pt",
      
      	// family: String
      	//		The font family, one of 'serif', 'sanserif', ..., default value 'serif'.
      	family: "serif"
      };
      	=====*/

      lang.mixin(g, {
        // summary:
        //		defines constants, prototypes, and utility functions for the core Graphics API
        // default shapes, which are used to fill in missing parameters
        defaultPath: {
          // summary:
          //		Defines the default Path prototype object.
          // type: String
          //		Specifies this object is a Path, default value 'path'.
          type: "path",
          // path: String
          //		The path commands. See W32C SVG 1.0 specification.
          //		Defaults to empty string value.
          path: ""
        },
        defaultPolyline: {
          // summary:
          //		Defines the default PolyLine prototype.
          // type: String
          //		Specifies this object is a PolyLine, default value 'polyline'.
          type: "polyline",
          // points: Array
          //		An array of point objects [{x:0,y:0},...] defining the default polyline's line segments. Value is an empty array [].
          points: []
        },
        defaultRect: {
          // summary:
          //		Defines the default Rect prototype.
          // type: String
          //		Specifies this default object is a type of Rect. Value is 'rect'
          type: "rect",
          // x: Number
          //		The X coordinate of the default rectangles position, value 0.
          x: 0,
          // y: Number
          //		The Y coordinate of the default rectangle's position, value 0.
          y: 0,
          // width: Number
          //		The width of the default rectangle, value 100.
          width: 100,
          // height: Number
          //		The height of the default rectangle, value 100.
          height: 100,
          // r: Number
          //		The corner radius for the default rectangle, value 0.
          r: 0
        },
        defaultEllipse: {
          // summary:
          //		Defines the default Ellipse prototype.
          // type: String
          //		Specifies that this object is a type of Ellipse, value is 'ellipse'
          type: "ellipse",
          // cx: Number
          //		The X coordinate of the center of the ellipse, default value 0.
          cx: 0,
          // cy: Number
          //		The Y coordinate of the center of the ellipse, default value 0.
          cy: 0,
          // rx: Number
          //		The radius of the ellipse in the X direction, default value 200.
          rx: 200,
          // ry: Number
          //		The radius of the ellipse in the Y direction, default value 200.
          ry: 100
        },
        defaultCircle: {
          // summary:
          //		An object defining the default Circle prototype.
          // type: String
          //		Specifies this object is a circle, value 'circle'
          type: "circle",
          // cx: Number
          //		The X coordinate of the center of the circle, default value 0.
          cx: 0,
          // cy: Number
          //		The Y coordinate of the center of the circle, default value 0.
          cy: 0,
          // r: Number
          //		The radius, default value 100.
          r: 100
        },
        defaultLine: {
          // summary:
          //		An object defining the default Line prototype.
          // type: String
          //		Specifies this is a Line, value 'line'
          type: "line",
          // x1: Number
          //		The X coordinate of the start of the line, default value 0.
          x1: 0,
          // y1: Number
          //		The Y coordinate of the start of the line, default value 0.
          y1: 0,
          // x2: Number
          //		The X coordinate of the end of the line, default value 100.
          x2: 100,
          // y2: Number
          //		The Y coordinate of the end of the line, default value 100.
          y2: 100
        },
        defaultImage: {
          // summary:
          //		Defines the default Image prototype.
          // type: String
          //		Specifies this object is an image, value 'image'.
          type: "image",
          // x: Number
          //		The X coordinate of the image's position, default value 0.
          x: 0,
          // y: Number
          //		The Y coordinate of the image's position, default value 0.
          y: 0,
          // width: Number
          //		The width of the image, default value 0.
          width: 0,
          // height: Number
          //		The height of the image, default value 0.
          height: 0,
          // src: String
          //		The src url of the image, defaults to empty string.
          src: ""
        },
        defaultText: {
          // summary:
          //		Defines the default Text prototype.
          // type: String
          //		Specifies this is a Text shape, value 'text'.
          type: "text",
          // x: Number
          //		The X coordinate of the text position, default value 0.
          x: 0,
          // y: Number
          //		The Y coordinate of the text position, default value 0.
          y: 0,
          // text: String
          //		The text to be displayed, default value empty string.
          text: "",
          // align:	String
          //		The horizontal text alignment, one of 'start', 'end', 'center'. Default value 'start'.
          align: "start",
          // decoration: String
          //		The text decoration , one of 'none', ... . Default value 'none'.
          decoration: "none",
          // rotated: Boolean
          //		Whether the text is rotated, boolean default value false.
          rotated: false,
          // kerning: Boolean
          //		Whether kerning is used on the text, boolean default value true.
          kerning: true
        },
        defaultTextPath: {
          // summary:
          //		Defines the default TextPath prototype.
          // type: String
          //		Specifies this is a TextPath, value 'textpath'.
          type: "textpath",
          // text: String
          //		The text to be displayed, default value empty string.
          text: "",
          // align: String
          //		The horizontal text alignment, one of 'start', 'end', 'center'. Default value 'start'.
          align: "start",
          // decoration: String
          //		The text decoration , one of 'none', ... . Default value 'none'.
          decoration: "none",
          // rotated: Boolean
          //		Whether the text is rotated, boolean default value false.
          rotated: false,
          // kerning: Boolean
          //		Whether kerning is used on the text, boolean default value true.
          kerning: true
        },
        // default stylistic attributes
        defaultStroke: {
          // summary:
          //		A stroke defines stylistic properties that are used when drawing a path.
          //		This object defines the default Stroke prototype.
          // type: String
          //		Specifies this object is a type of Stroke, value 'stroke'.
          type: "stroke",
          // color: String
          //		The color of the stroke, default value 'black'.
          color: "black",
          // style: String
          //		The style of the stroke, one of 'solid', ... . Default value 'solid'.
          style: "solid",
          // width: Number
          //		The width of a stroke, default value 1.
          width: 1,
          // cap: String
          //		The endcap style of the path. One of 'butt', 'round', ... . Default value 'butt'.
          cap: "butt",
          // join: Number
          //		The join style to use when combining path segments. Default value 4.
          join: 4
        },
        defaultLinearGradient: {
          // summary:
          //		An object defining the default stylistic properties used for Linear Gradient fills.
          //		Linear gradients are drawn along a virtual line, which results in appearance of a rotated pattern in a given direction/orientation.
          // type: String
          //		Specifies this object is a Linear Gradient, value 'linear'
          type: "linear",
          // x1: Number
          //		The X coordinate of the start of the virtual line along which the gradient is drawn, default value 0.
          x1: 0,
          // y1: Number
          //		The Y coordinate of the start of the virtual line along which the gradient is drawn, default value 0.
          y1: 0,
          // x2: Number
          //		The X coordinate of the end of the virtual line along which the gradient is drawn, default value 100.
          x2: 100,
          // y2: Number
          //		The Y coordinate of the end of the virtual line along which the gradient is drawn, default value 100.
          y2: 100,
          // colors: Array
          //		An array of colors at given offsets (from the start of the line).  The start of the line is
          //		defined at offest 0 with the end of the line at offset 1.
          //		Default value, [{ offset: 0, color: 'black'},{offset: 1, color: 'white'}], is a gradient from black to white.
          colors: [{
            offset: 0,
            color: "black"
          }, {
            offset: 1,
            color: "white"
          }]
        },
        defaultRadialGradient: {
          // summary:
          //		An object specifying the default properties for RadialGradients using in fills patterns.
          // type: String
          //		Specifies this is a RadialGradient, value 'radial'
          type: "radial",
          // cx: Number
          //		The X coordinate of the center of the radial gradient, default value 0.
          cx: 0,
          // cy: Number
          //		The Y coordinate of the center of the radial gradient, default value 0.
          cy: 0,
          // r: Number
          //		The radius to the end of the radial gradient, default value 100.
          r: 100,
          // colors: Array
          //		An array of colors at given offsets (from the center of the radial gradient).
          //		The center is defined at offest 0 with the outer edge of the gradient at offset 1.
          //		Default value, [{ offset: 0, color: 'black'},{offset: 1, color: 'white'}], is a gradient from black to white.
          colors: [{
            offset: 0,
            color: "black"
          }, {
            offset: 1,
            color: "white"
          }]
        },
        defaultPattern: {
          // summary:
          //		An object specifying the default properties for a Pattern using in fill operations.
          // type: String
          //		Specifies this object is a Pattern, value 'pattern'.
          type: "pattern",
          // x: Number
          //		The X coordinate of the position of the pattern, default value is 0.
          x: 0,
          // y: Number
          //		The Y coordinate of the position of the pattern, default value is 0.
          y: 0,
          // width: Number
          //		The width of the pattern image, default value is 0.
          width: 0,
          // height: Number
          //		The height of the pattern image, default value is 0.
          height: 0,
          // src: String
          //		A url specifying the image to use for the pattern.
          src: ""
        },
        defaultFont: {
          // summary:
          //		An object specifying the default properties for a Font used in text operations.
          // type: String
          //		Specifies this object is a Font, value 'font'.
          type: "font",
          // style: String
          //		The font style, one of 'normal', 'bold', default value 'normal'.
          style: "normal",
          // variant: String
          //		The font variant, one of 'normal', ... , default value 'normal'.
          variant: "normal",
          // weight: String
          //		The font weight, one of 'normal', ..., default value 'normal'.
          weight: "normal",
          // size: String
          //		The font size (including units), default value '10pt'.
          size: "10pt",
          // family: String
          //		The font family, one of 'serif', 'sanserif', ..., default value 'serif'.
          family: "serif"
        },
        getDefault: function () {
          // summary:
          //		Returns a function used to access default memoized prototype objects (see them defined above).
          var typeCtorCache = {}; // a memoized delegate()

          return function (
          /*String*/
          type) {
            var t = typeCtorCache[type];

            if (t) {
              return new t();
            }

            t = typeCtorCache[type] = new Function();
            t.prototype = g["default" + type];
            return new t();
          };
        }(),
        normalizeColor: function normalizeColor(
        /*dojo/Color|Array|string|Object*/
        color) {
          // summary:
          //		converts any legal color representation to normalized
          //		dojo/Color object
          // color:
          //		A color representation.
          return color instanceof Color ? color : new Color(color); // dojo/Color
        },
        normalizeParameters: function normalizeParameters(existed, update) {
          // summary:
          //		updates an existing object with properties from an 'update'
          //		object
          // existed: Object
          //		the target object to be updated
          // update: Object
          //		the 'update' object, whose properties will be used to update
          //		the existed object
          var x;

          if (update) {
            var empty = {};

            for (x in existed) {
              if (x in update && !(x in empty)) {
                existed[x] = update[x];
              }
            }
          }

          return existed; // Object
        },
        makeParameters: function makeParameters(defaults, update) {
          // summary:
          //		copies the original object, and all copied properties from the
          //		'update' object
          // defaults: Object
          //		the object to be cloned before updating
          // update: Object
          //		the object, which properties are to be cloned during updating
          // returns: Object
          //      new object with new and default properties
          var i = null;

          if (!update) {
            // return dojo.clone(defaults);
            return lang.delegate(defaults);
          }

          var result = {};

          for (i in defaults) {
            if (!(i in result)) {
              result[i] = lang.clone(i in update ? update[i] : defaults[i]);
            }
          }

          return result; // Object
        },
        formatNumber: function formatNumber(x, addSpace) {
          // summary:
          //		converts a number to a string using a fixed notation
          // x: Number
          //		number to be converted
          // addSpace: Boolean
          //		whether to add a space before a positive number
          // returns: String
          //      the formatted value
          var val = x.toString();

          if (val.indexOf("e") >= 0) {
            val = x.toFixed(4);
          } else {
            var point = val.indexOf(".");

            if (point >= 0 && val.length - point > 5) {
              val = x.toFixed(4);
            }
          }

          if (x < 0) {
            return val; // String
          }

          return addSpace ? " " + val : val; // String
        },
        // font operations
        makeFontString: function makeFontString(font) {
          // summary:
          //		converts a font object to a CSS font string
          // font: Object
          //		font object (see dojox/gfx.defaultFont)
          return font.style + " " + font.variant + " " + font.weight + " " + font.size + " " + font.family; // Object
        },
        splitFontString: function splitFontString(str) {
          // summary:
          //		converts a CSS font string to a font object
          // description:
          //		Converts a CSS font string to a gfx font object. The CSS font
          //		string components should follow the W3C specified order
          //		(see http://www.w3.org/TR/CSS2/fonts.html#font-shorthand):
          //		style, variant, weight, size, optional line height (will be
          //		ignored), and family. Note that the Font.size attribute is limited to numeric CSS length.
          // str: String
          //		a CSS font string.
          // returns: Object
          //      object in dojox/gfx.defaultFont format
          var font = g.getDefault("Font");
          var t = str.split(/\s+/);

          do {
            if (t.length < 5) {
              break;
            }

            font.style = t[0];
            font.variant = t[1];
            font.weight = t[2];
            var i = t[3].indexOf("/");
            font.size = i < 0 ? t[3] : t[3].substring(0, i);
            var j = 4;

            if (i < 0) {
              if (t[4] == "/") {
                j = 6;
              } else if (t[4].charAt(0) == "/") {
                j = 5;
              }
            }

            if (j < t.length) {
              font.family = t.slice(j).join(" ");
            }
          } while (false);

          return font; // Object
        },
        // length operations
        // cm_in_pt: Number
        //		points per centimeter (constant)
        cm_in_pt: 72 / 2.54,
        // mm_in_pt: Number
        //		points per millimeter (constant)
        mm_in_pt: 7.2 / 2.54,
        px_in_pt: function px_in_pt() {
          // summary:
          //		returns the current number of pixels per point.
          return g._base._getCachedFontMeasurements()["12pt"] / 12; // Number
        },
        pt2px: function pt2px(len) {
          // summary:
          //		converts points to pixels
          // len: Number
          //		a value in points
          return len * g.px_in_pt(); // Number
        },
        px2pt: function px2pt(len) {
          // summary:
          //		converts pixels to points
          // len: Number
          //		a value in pixels
          return len / g.px_in_pt(); // Number
        },
        normalizedLength: function normalizedLength(len) {
          // summary:
          //		converts any length value to pixels
          // len: String
          //		a length, e.g., '12pc'
          // returns: Number
          //      pixels
          if (len.length === 0) {
            return 0;
          }

          if (len.length > 2) {
            var px_in_pt = g.px_in_pt();
            var val = parseFloat(len);

            switch (len.slice(-2)) {
              case "px":
                return val;

              case "pt":
                return val * px_in_pt;

              case "in":
                return val * 72 * px_in_pt;

              case "pc":
                return val * 12 * px_in_pt;

              case "mm":
                return val * g.mm_in_pt * px_in_pt;

              case "cm":
                return val * g.cm_in_pt * px_in_pt;
            }
          }

          return parseFloat(len); // Number
        },
        // pathVmlRegExp: RegExp
        //		a constant regular expression used to split a SVG/VML path into primitive components
        // tags:
        //		private
        pathVmlRegExp: /([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,
        // pathVmlRegExp: RegExp
        //		a constant regular expression used to split a SVG/VML path into primitive components
        // tags:
        //		private
        pathSvgRegExp: /([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,
        equalSources: function equalSources(a, b) {
          // summary:
          //		compares event sources, returns true if they are equal
          // a: Object
          //		first event source
          // b: Object
          //		event source to compare against a
          // returns: Boolean
          //      true, if objects are truthy and the same
          return a && b && a === b;
        },
        switchTo: function switchTo(
        /*String|Object*/
        renderer) {
          // summary:
          //		switch the graphics implementation to the specified renderer.
          // renderer:
          //		Either the string name of a renderer (eg. 'canvas', 'svg, ...) or the renderer
          //		object to switch to.
          var ns = typeof renderer == "string" ? g[renderer] : renderer;

          if (ns) {
            // If more options are added, update the docblock at the end of shape.js!
            arr.forEach(["Group", "Rect", "Ellipse", "Circle", "Line", "Polyline", "Image", "Text", "Path", "TextPath", "Surface", "createSurface", "fixTarget"], function (name) {
              g[name] = ns[name];
            });

            if (typeof renderer == "string") {
              g.renderer = renderer;
            } else {
              arr.some(["svg", "vml", "canvas", "canvasWithEvents", "silverlight"], function (r) {
                return g.renderer = g[r] && g[r].Surface === g.Surface ? r : null;
              });
            }
          }
        }
      });
      /*=====
      	g.createSurface = function(parentNode, width, height){
      		// summary:
      		//		creates a surface
      		// parentNode: Node
      		//		a parent node
      		// width: String|Number
      		//		width of surface, e.g., "100px" or 100
      		// height: String|Number
      		//		height of surface, e.g., "100px" or 100
      		// returns: dojox/gfx.Surface
      		//     newly created surface
      	};
      	g.fixTarget = function(){
      		// tags:
      		//		private
      	};
      =====*/

      return g; // defaults object api
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojox/gfx/arc.js":
  /*!***************************************!*\
    !*** ./node_modules/dojox/gfx/arc.js ***!
    \***************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxArcJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./matrix */
    "./node_modules/dojox/gfx/matrix.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (g, lang, m) {
      var twoPI = 2 * Math.PI,
          pi4 = Math.PI / 4,
          pi8 = Math.PI / 8,
          pi48 = pi4 + pi8,
          curvePI4 = unitArcAsBezier(pi8);

      function unitArcAsBezier(alpha) {
        // summary:
        //		return a start point, 1st and 2nd control points, and an end point of
        //		a an arc, which is reflected on the x axis
        // alpha: Number
        //		angle in radians, the arc will be 2 * angle size
        var cosa = Math.cos(alpha),
            sina = Math.sin(alpha),
            p2 = {
          x: cosa + 4 / 3 * (1 - cosa),
          y: sina - 4 / 3 * cosa * (1 - cosa) / sina
        };
        return {
          // Object
          s: {
            x: cosa,
            y: -sina
          },
          c1: {
            x: p2.x,
            y: -p2.y
          },
          c2: p2,
          e: {
            x: cosa,
            y: sina
          }
        };
      }

      var arc = g.arc = {
        // summary:
        //		This module contains the core graphics Arc functions.
        unitArcAsBezier: unitArcAsBezier,

        /*===== 
        unitArcAsBezier: function(alpha) {
        	// summary:
        	//		return a start point, 1st and 2nd control points, and an end point of
        	//		a an arc, which is reflected on the x axis
        	// alpha: Number
        	//		angle in radians, the arc will be 2 * angle size
        },
        =====*/
        // curvePI4: Object
        //		an object with properties of an arc around a unit circle from 0 to pi/4
        curvePI4: curvePI4,
        arcAsBezier: function arcAsBezier(last, rx, ry, xRotg, large, sweep, x, y) {
          // summary:
          //		calculates an arc as a series of Bezier curves
          //		given the last point and a standard set of SVG arc parameters,
          //		it returns an array of arrays of parameters to form a series of
          //		absolute Bezier curves.
          // last: Object
          //		a point-like object as a start of the arc
          // rx: Number
          //		a horizontal radius for the virtual ellipse
          // ry: Number
          //		a vertical radius for the virtual ellipse
          // xRotg: Number
          //		a rotation of an x axis of the virtual ellipse in degrees
          // large: Boolean
          //		which part of the ellipse will be used (the larger arc if true)
          // sweep: Boolean
          //		direction of the arc (CW if true)
          // x: Number
          //		the x coordinate of the end point of the arc
          // y: Number
          //		the y coordinate of the end point of the arc
          // calculate parameters
          large = Boolean(large);
          sweep = Boolean(sweep);

          var xRot = m._degToRad(xRotg),
              rx2 = rx * rx,
              ry2 = ry * ry,
              pa = m.multiplyPoint(m.rotate(-xRot), {
            x: (last.x - x) / 2,
            y: (last.y - y) / 2
          }),
              pax2 = pa.x * pa.x,
              pay2 = pa.y * pa.y,
              c1 = Math.sqrt((rx2 * ry2 - rx2 * pay2 - ry2 * pax2) / (rx2 * pay2 + ry2 * pax2));

          if (isNaN(c1)) {
            c1 = 0;
          }

          var ca = {
            x: c1 * rx * pa.y / ry,
            y: -c1 * ry * pa.x / rx
          };

          if (large == sweep) {
            ca = {
              x: -ca.x,
              y: -ca.y
            };
          } // the center


          var c = m.multiplyPoint([m.translate((last.x + x) / 2, (last.y + y) / 2), m.rotate(xRot)], ca); // calculate the elliptic transformation

          var elliptic_transform = m.normalize([m.translate(c.x, c.y), m.rotate(xRot), m.scale(rx, ry)]); // start, end, and size of our arc

          var inversed = m.invert(elliptic_transform),
              sp = m.multiplyPoint(inversed, last),
              ep = m.multiplyPoint(inversed, x, y),
              startAngle = Math.atan2(sp.y, sp.x),
              endAngle = Math.atan2(ep.y, ep.x),
              theta = startAngle - endAngle; // size of our arc in radians

          if (sweep) {
            theta = -theta;
          }

          if (theta < 0) {
            theta += twoPI;
          } else if (theta > twoPI) {
            theta -= twoPI;
          } // draw curve chunks


          var alpha = pi8,
              curve = curvePI4,
              step = sweep ? alpha : -alpha,
              result = [];

          for (var angle = theta; angle > 0; angle -= pi4) {
            if (angle < pi48) {
              alpha = angle / 2;
              curve = unitArcAsBezier(alpha);
              step = sweep ? alpha : -alpha;
              angle = 0; // stop the loop
            }

            var c2,
                e,
                M = m.normalize([elliptic_transform, m.rotate(startAngle + step)]);

            if (sweep) {
              c1 = m.multiplyPoint(M, curve.c1);
              c2 = m.multiplyPoint(M, curve.c2);
              e = m.multiplyPoint(M, curve.e);
            } else {
              c1 = m.multiplyPoint(M, curve.c2);
              c2 = m.multiplyPoint(M, curve.c1);
              e = m.multiplyPoint(M, curve.s);
            } // draw the curve


            result.push([c1.x, c1.y, c2.x, c2.y, e.x, e.y]);
            startAngle += 2 * step;
          }

          return result; // Array
        }
      };
      return arc;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojox/gfx/bezierutils.js":
  /*!***********************************************!*\
    !*** ./node_modules/dojox/gfx/bezierutils.js ***!
    \***********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxBezierutilsJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (gfx) {
      var bu = gfx.bezierutils = {},
          error = 0.1;

      var tAtLength = bu.tAtLength = function (points, length) {
        // summary:
        //		Returns the t corresponding to the given length for the specified bezier curve.
        // points: Number[]
        //		The bezier points. Should be [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y] for a cubic
        //		bezier curve or [p1x, p1y, cx, cy, p2x, p2y] for a quadratic bezier curve.
        // length: Number
        //		The length.
        var t = 0,
            quadratic = points.length == 6,
            currentLen = 0,
            splitCount = 0,
            splitFunc = quadratic ? splitQBezierAtT : splitBezierAtT;

        var _compute = function _compute(p, error) {
          // control points polygon length
          var pLen = 0;

          for (var i = 0; i < p.length - 2; i += 2) pLen += distance(p[i], p[i + 1], p[i + 2], p[i + 3]); // chord length


          var chord = quadratic ? distance(points[0], points[1], points[4], points[5]) : distance(points[0], points[1], points[6], points[7]); // if needs more approx. or if currentLen is greater than the target length,
          // split the curve one more time

          if (pLen - chord > error || currentLen + pLen > length + error) {
            ++splitCount;
            var newbezier = splitFunc(p, .5); // check 1st subpath

            _compute(newbezier[0], error); // the 1st subcurve was the good one, we stop


            if (Math.abs(currentLen - length) <= error) {
              return;
            } // need to continue with the 2nde subcurve


            _compute(newbezier[1], error);

            return;
          }

          currentLen += pLen;
          t += 1.0 / (1 << splitCount);
        };

        if (length) _compute(points, 0.5);
        return t;
      };

      var computeLength = bu.computeLength = function (
      /*Array*/
      points) {
        // summary:
        //		Returns the length of the given bezier curve.
        // points: Number[]
        //		The bezier points. Should be [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y] for a cubic
        //		bezier curve or [p1x, p1y, cx, cy, p2x, p2y] for a quadratic bezier curve.
        var quadratic = points.length == 6,
            pLen = 0; // control points polygon length

        for (var i = 0; i < points.length - 2; i += 2) pLen += distance(points[i], points[i + 1], points[i + 2], points[i + 3]); // chord length


        var chord = quadratic ? distance(points[0], points[1], points[4], points[5]) : distance(points[0], points[1], points[6], points[7]); // split polygons until the polygon and the chord are "the same"

        if (pLen - chord > error) {
          var newBeziers = quadratic ? splitQBezierAtT(points, .5) : splitCBezierAtT(points, .5);
          var length = computeLength(newBeziers[0], quadratic);
          length += computeLength(newBeziers[1], quadratic);
          return length;
        } // pLen is close enough, done.


        return pLen;
      };

      var distance = bu.distance = function (x1, y1, x2, y2) {
        // summary:
        //		Returns the distance between the specified points.
        return Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
      };

      var splitQBezierAtT = function splitQBezierAtT(points, t) {
        // summary:
        //		Split a quadratic bezier curve into 2 sub-quadratic beziers at the specified t.
        // de Casteljau
        var r = 1 - t,
            r2 = r * r,
            t2 = t * t,
            p1x = points[0],
            p1y = points[1],
            cx = points[2],
            cy = points[3],
            p2x = points[4],
            p2y = points[5],
            ax = r * p1x + t * cx,
            ay = r * p1y + t * cy,
            bx = r * cx + t * p2x,
            by = r * cy + t * p2y,
            px = r2 * p1x + 2 * r * t * cx + t2 * p2x,
            py = r2 * p1y + 2 * r * t * cy + t2 * p2y;
        return [[p1x, p1y, ax, ay, px, py], [px, py, bx, by, p2x, p2y]];
      };

      var splitCBezierAtT = function splitCBezierAtT(points, t) {
        // summary:
        //		Split a cubic bezier curve into 2 sub-cubic beziers at the specified t.
        // de Casteljau
        var r = 1 - t,
            r2 = r * r,
            r3 = r2 * r,
            t2 = t * t,
            t3 = t2 * t,
            p1x = points[0],
            p1y = points[1],
            c1x = points[2],
            c1y = points[3],
            c2x = points[4],
            c2y = points[5],
            p2x = points[6],
            p2y = points[7],
            ax = r * p1x + t * c1x,
            ay = r * p1y + t * c1y,
            cx = r * c2x + t * p2x,
            cy = r * c2y + t * p2y,
            mx = r2 * p1x + 2 * r * t * c1x + t2 * c2x,
            my = r2 * p1y + 2 * r * t * c1y + t2 * c2y,
            nx = r2 * c1x + 2 * r * t * c2x + t2 * p2x,
            ny = r2 * c1y + 2 * r * t * c2y + t2 * p2y,
            px = r3 * p1x + 3 * r2 * t * c1x + 3 * r * t2 * c2x + t3 * p2x,
            py = r3 * p1y + 3 * r2 * t * c1y + 3 * r * t2 * c2y + t3 * p2y;
        return [[p1x, p1y, ax, ay, mx, my, px, py], [px, py, nx, ny, cx, cy, p2x, p2y]];
      };

      var splitBezierAtT = bu.splitBezierAtT = function (points, t) {
        return points.length == 6 ? splitQBezierAtT(points, t) : splitCBezierAtT(points, t);
      };

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

  /***/
  "./node_modules/dojox/gfx/canvas.js":
  /*!******************************************!*\
    !*** ./node_modules/dojox/gfx/canvas.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxCanvasJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! dojo/_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! dojo/_base/declare */
    "./node_modules/dojo/_base/declare.js"), __webpack_require__(
    /*! dojo/_base/window */
    "./node_modules/dojo/_base/window.js"), __webpack_require__(
    /*! dojo/dom-geometry */
    "./node_modules/dojo/dom-geometry.js"), __webpack_require__(
    /*! dojo/dom */
    "./node_modules/dojo/dom.js"), __webpack_require__(
    /*! ./shape */
    "./node_modules/dojox/gfx/shape.js"), __webpack_require__(
    /*! ./path */
    "./node_modules/dojox/gfx/path.js"), __webpack_require__(
    /*! ./arc */
    "./node_modules/dojox/gfx/arc.js"), __webpack_require__(
    /*! ./matrix */
    "./node_modules/dojox/gfx/matrix.js"), __webpack_require__(
    /*! ./decompose */
    "./node_modules/dojox/gfx/decompose.js"), __webpack_require__(
    /*! ./bezierutils */
    "./node_modules/dojox/gfx/bezierutils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (g, lang, arr, declare, win, domGeom, dom, gs, pathLib, ga, m, decompose, bezierUtils) {
      var canvas = g.canvas = {// summary:
        //		This the graphics rendering bridge for W3C Canvas compliant browsers.
        //		Since Canvas is an immediate mode graphics api, with no object graph or
        //		eventing capabilities, use of this module alone will only add in drawing support.
        //		The additional module, canvasWithEvents extends this module with additional support
        //		for handling events on Canvas.  By default, the support for events is now included
        //		however, if only drawing capabilities are needed, canvas event module can be disabled
        //		using the dojoConfig option, canvasEvents:true|false.
        //		The id of the Canvas renderer is 'canvas'.  This id can be used when switch Dojo's
        //		graphics context between renderer implementations.  See dojox/gfx/_base.switchRenderer
        //		API.
      };
      var pattrnbuffer = null,
          mp = m.multiplyPoint,
          pi = Math.PI,
          twoPI = 2 * pi,
          halfPI = pi / 2,
          extend = lang.extend;

      if (win.global.CanvasRenderingContext2D) {
        var ctx2d = win.doc.createElement("canvas").getContext("2d");
        var hasNativeDash = typeof ctx2d.setLineDash == "function";
        var hasFillText = typeof ctx2d.fillText == "function";
      }

      var dasharray = {
        solid: "none",
        shortdash: [4, 1],
        shortdot: [1, 1],
        shortdashdot: [4, 1, 1, 1],
        shortdashdotdot: [4, 1, 1, 1, 1, 1],
        dot: [1, 3],
        dash: [4, 3],
        longdash: [8, 3],
        dashdot: [4, 3, 1, 3],
        longdashdot: [8, 3, 1, 3],
        longdashdotdot: [8, 3, 1, 3, 1, 3]
      };

      function drawDashedArc(
      /*CanvasRenderingContext2D*/
      ctx,
      /*Number[]*/
      dash,
      /*int*/
      cx,
      /*int*/
      cy,
      /*int*/
      r,
      /*Number*/
      sa,
      /*Number*/
      ea,
      /*Boolean*/
      ccw,
      /*Boolean?*/
      apply, prevResidue) {
        var residue,
            angle,
            l = dash.length,
            i = 0; // if there's a previous dash residue from the previous arc, start with it.

        if (prevResidue) {
          angle = prevResidue.l / r;
          i = prevResidue.i;
        } else {
          angle = dash[0] / r;
        }

        while (sa < ea) {
          // if the dash segment length is longer than what remains to stroke, keep it for next arc. (aka residue)
          if (sa + angle > ea) {
            residue = {
              l: (sa + angle - ea) * r,
              i: i
            };
            angle = ea - sa;
          }

          if (!(i % 2)) {
            ctx.beginPath();
            ctx.arc(cx, cy, r, sa, sa + angle, ccw);
            if (apply) ctx.stroke();
          }

          sa += angle;
          ++i;
          angle = dash[i % l] / r;
        }

        return residue;
      }

      function splitToDashedBezier(
      /*Number[]*/
      points,
      /*Number[]*/
      dashArray,
      /*Number[]*/
      newPoints,
      /*Object*/
      prevResidue) {
        var residue = 0,
            t = 0,
            dash,
            i = 0;

        if (prevResidue) {
          dash = prevResidue.l;
          i = prevResidue.i;
        } else {
          dash = dashArray[0];
        }

        while (t < 1) {
          // get the 't' corresponding to the given dash value.
          t = bezierUtils.tAtLength(points, dash);

          if (t == 1) {
            var rl = bezierUtils.computeLength(points);
            residue = {
              l: dash - rl,
              i: i
            };
          } // split bezier at t: left part is the "dash" curve, right part is the remaining bezier points


          var curves = bezierUtils.splitBezierAtT(points, t);

          if (!(i % 2)) {
            // only keep the "dash" curve
            newPoints.push(curves[0]);
          }

          points = curves[1];
          ++i;
          dash = dashArray[i % dashArray.length];
        }

        return residue;
      }

      function toDashedCurveTo(
      /*Array||CanvasRenderingContext2D*/
      ctx,
      /*shape.Path*/
      shape,
      /*Number[]*/
      points,
      /*Object*/
      prevResidue) {
        // summary:
        //		Builds a set of bezier (cubic || quadratic)curveTo' canvas instructions that represents a dashed stroke of the specified bezier geometry.
        var pts = [shape.last.x, shape.last.y].concat(points),
            quadratic = points.length === 4,
            ctx2d = !(ctx instanceof Array),
            api = quadratic ? "quadraticCurveTo" : "bezierCurveTo",
            curves = [];
        var residue = splitToDashedBezier(pts, shape.canvasDash, curves, prevResidue);

        for (var c = 0; c < curves.length; ++c) {
          var curve = curves[c];

          if (ctx2d) {
            ctx.moveTo(curve[0], curve[1]);
            ctx[api].apply(ctx, curve.slice(2));
          } else {
            ctx.push("moveTo", [curve[0], curve[1]]);
            ctx.push(api, curve.slice(2));
          }
        }

        return residue;
      }

      function toDashedLineTo(
      /*Array||CanvasRenderingContext2D*/
      ctx,
      /*shape.Shape*/
      shape,
      /*int*/
      x1,
      /*int*/
      y1,
      /*int*/
      x2,
      /*int*/
      y2,
      /*Object*/
      prevResidue) {
        // summary:
        //		Builds a set of moveTo/lineTo' canvas instructions that represents a dashed stroke of the specified line geometry.
        var residue = 0,
            r = 0,
            dal = 0,
            tlength = bezierUtils.distance(x1, y1, x2, y2),
            i = 0,
            dash = shape.canvasDash,
            prevx = x1,
            prevy = y1,
            x,
            y,
            ctx2d = !(ctx instanceof Array);

        if (prevResidue) {
          dal = prevResidue.l;
          i = prevResidue.i;
        } else {
          dal += dash[0];
        }

        while (Math.abs(1 - r) > 0.01) {
          if (dal > tlength) {
            residue = {
              l: dal - tlength,
              i: i
            };
            dal = tlength;
          }

          r = dal / tlength;
          x = x1 + (x2 - x1) * r;
          y = y1 + (y2 - y1) * r;

          if (!(i++ % 2)) {
            if (ctx2d) {
              ctx.moveTo(prevx, prevy);
              ctx.lineTo(x, y);
            } else {
              ctx.push("moveTo", [prevx, prevy]);
              ctx.push("lineTo", [x, y]);
            }
          }

          prevx = x;
          prevy = y;
          dal += dash[i % dash.length];
        }

        return residue;
      }

      canvas.Shape = declare("dojox.gfx.canvas.Shape", gs.Shape, {
        _render: function _render(
        /* Object */
        ctx) {
          // summary:
          //		render the shape
          ctx.save();

          this._renderTransform(ctx);

          this._renderClip(ctx);

          this._renderShape(ctx);

          this._renderFill(ctx, true);

          this._renderStroke(ctx, true);

          ctx.restore();
        },
        _renderClip: function _renderClip(ctx) {
          if (this.canvasClip) {
            this.canvasClip.render(ctx);
            ctx.clip();
          }
        },
        _renderTransform: function _renderTransform(
        /* Object */
        ctx) {
          if ("canvasTransform" in this) {
            var t = this.canvasTransform;
            ctx.translate(t.dx, t.dy);
            ctx.rotate(t.angle2);
            ctx.scale(t.sx, t.sy);
            ctx.rotate(t.angle1); // The future implementation when vendors catch up with the spec:
            // var t = this.matrix;
            // ctx.transform(t.xx, t.yx, t.xy, t.yy, t.dx, t.dy);
          }
        },
        _renderShape: function _renderShape(
        /* Object */
        ctx) {// nothing
        },
        _renderFill: function _renderFill(
        /* Object */
        ctx,
        /* Boolean */
        apply) {
          if ("canvasFill" in this) {
            var fs = this.fillStyle;

            if ("canvasFillImage" in this) {
              var w = fs.width,
                  h = fs.height,
                  iw = this.canvasFillImage.width,
                  ih = this.canvasFillImage.height,
                  // let's match the svg default behavior wrt. aspect ratio: xMidYMid meet
              sx = w == iw ? 1 : w / iw,
                  sy = h == ih ? 1 : h / ih,
                  s = Math.min(sx, sy),
                  //meet->math.min , slice->math.max
              dx = (w - s * iw) / 2,
                  dy = (h - s * ih) / 2; // the buffer used to scaled the image

              pattrnbuffer.width = w;
              pattrnbuffer.height = h;
              var copyctx = pattrnbuffer.getContext("2d");
              copyctx.clearRect(0, 0, w, h);
              copyctx.drawImage(this.canvasFillImage, 0, 0, iw, ih, dx, dy, s * iw, s * ih);
              this.canvasFill = ctx.createPattern(pattrnbuffer, "repeat");
              delete this.canvasFillImage;
            }

            ctx.fillStyle = this.canvasFill;

            if (apply) {
              // offset the pattern
              if (fs.type === "pattern" && (fs.x !== 0 || fs.y !== 0)) {
                ctx.translate(fs.x, fs.y);
              }

              ctx.fill();
            }
          } else {
            ctx.fillStyle = "rgba(0,0,0,0.0)";
          }
        },
        _renderStroke: function _renderStroke(
        /* Object */
        ctx,
        /* Boolean */
        apply) {
          var s = this.strokeStyle;

          if (s) {
            ctx.strokeStyle = s.color.toString();
            ctx.lineWidth = s.width;
            ctx.lineCap = s.cap;

            if (typeof s.join == "number") {
              ctx.lineJoin = "miter";
              ctx.miterLimit = s.join;
            } else {
              ctx.lineJoin = s.join;
            }

            if (this.canvasDash) {
              if (hasNativeDash) {
                ctx.setLineDash(this.canvasDash);

                if (apply) {
                  ctx.stroke();
                }
              } else {
                this._renderDashedStroke(ctx, apply);
              }
            } else {
              if (apply) {
                ctx.stroke();
              }
            }
          } else if (!apply) {
            ctx.strokeStyle = "rgba(0,0,0,0.0)";
          }
        },
        _renderDashedStroke: function _renderDashedStroke(ctx, apply) {},
        // events are not implemented
        getEventSource: function getEventSource() {
          return null;
        },
        on: function on() {},
        connect: function connect() {},
        disconnect: function disconnect() {},
        canvasClip: null,
        setClip: function setClip(
        /*Object*/
        clip) {
          this.inherited(arguments);
          var clipType = clip ? "width" in clip ? "rect" : "cx" in clip ? "ellipse" : "points" in clip ? "polyline" : "d" in clip ? "path" : null : null;

          if (clip && !clipType) {
            return this;
          }

          this.canvasClip = clip ? makeClip(clipType, clip) : null;

          if (this.parent) {
            this.parent._makeDirty();
          }

          return this;
        }
      });

      var makeClip = function makeClip(clipType, geometry) {
        switch (clipType) {
          case "ellipse":
            return {
              canvasEllipse: makeEllipse({
                shape: geometry
              }),
              render: function render(ctx) {
                return canvas.Ellipse.prototype._renderShape.call(this, ctx);
              }
            };

          case "rect":
            return {
              shape: lang.delegate(geometry, {
                r: 0
              }),
              render: function render(ctx) {
                return canvas.Rect.prototype._renderShape.call(this, ctx);
              }
            };

          case "path":
            return {
              canvasPath: makeClipPath(geometry),
              render: function render(ctx) {
                this.canvasPath._renderShape(ctx);
              }
            };

          case "polyline":
            return {
              canvasPolyline: geometry.points,
              render: function render(ctx) {
                return canvas.Polyline.prototype._renderShape.call(this, ctx);
              }
            };
        }

        return null;
      };

      var makeClipPath = function makeClipPath(geo) {
        var p = new dojox.gfx.canvas.Path();
        p.canvasPath = [];

        p._setPath(geo.d);

        return p;
      };

      var modifyMethod = function modifyMethod(shape, method, extra) {
        var old = shape.prototype[method];
        shape.prototype[method] = extra ? function () {
          if (this.parent) {
            this.parent._makeDirty();
          }

          old.apply(this, arguments);
          extra.call(this);
          return this;
        } : function () {
          if (this.parent) {
            this.parent._makeDirty();
          }

          return old.apply(this, arguments);
        };
      };

      modifyMethod(canvas.Shape, "setTransform", function () {
        // prepare Canvas-specific structures
        if (this.matrix) {
          this.canvasTransform = g.decompose(this.matrix);
        } else {
          delete this.canvasTransform;
        }
      });
      modifyMethod(canvas.Shape, "setFill", function () {
        // prepare Canvas-specific structures
        var fs = this.fillStyle,
            f;

        if (fs) {
          if (typeof fs == "object" && "type" in fs) {
            var ctx = this.surface.rawNode.getContext("2d");

            switch (fs.type) {
              case "linear":
              case "radial":
                f = fs.type == "linear" ? ctx.createLinearGradient(fs.x1, fs.y1, fs.x2, fs.y2) : ctx.createRadialGradient(fs.cx, fs.cy, 0, fs.cx, fs.cy, fs.r);
                arr.forEach(fs.colors, function (step) {
                  f.addColorStop(step.offset, g.normalizeColor(step.color).toString());
                });
                break;

              case "pattern":
                if (!pattrnbuffer) {
                  pattrnbuffer = document.createElement("canvas");
                } // no need to scale the image since the canvas.createPattern uses
                // the original image data and not the scaled ones (see spec.)
                // the scaling needs to be done at rendering time in a context buffer


                var img = new Image();
                this.surface.downloadImage(img, fs.src);
                this.canvasFillImage = img;
            }
          } else {
            // Set fill color using CSS RGBA func style
            f = fs.toString();
          }

          this.canvasFill = f;
        } else {
          delete this.canvasFill;
        }
      });
      modifyMethod(canvas.Shape, "setStroke", function () {
        var st = this.strokeStyle;

        if (st) {
          var da = this.strokeStyle.style.toLowerCase();

          if (da in dasharray) {
            da = dasharray[da];
          }

          if (da instanceof Array) {
            da = da.slice();
            this.canvasDash = da;
            var i;

            for (i = 0; i < da.length; ++i) {
              da[i] *= st.width;
            }

            if (st.cap != "butt") {
              for (i = 0; i < da.length; i += 2) {
                da[i] -= st.width;

                if (da[i] < 1) {
                  da[i] = 1;
                }
              }

              for (i = 1; i < da.length; i += 2) {
                da[i] += st.width;
              }
            }
          } else {
            delete this.canvasDash;
          }
        } else {
          delete this.canvasDash;
        }

        this._needsDash = !hasNativeDash && !!this.canvasDash;
      });
      modifyMethod(canvas.Shape, "setShape");
      canvas.Group = declare("dojox.gfx.canvas.Group", canvas.Shape, {
        // summary:
        //		a group shape (Canvas), which can be used
        //		to logically group shapes (e.g, to propagate matricies)
        constructor: function constructor() {
          gs.Container._init.call(this);
        },
        _render: function _render(
        /* Object */
        ctx) {
          // summary:
          //		render the group
          ctx.save();

          this._renderTransform(ctx);

          this._renderClip(ctx);

          for (var i = 0; i < this.children.length; ++i) {
            this.children[i]._render(ctx);
          }

          ctx.restore();
        },
        destroy: function destroy() {
          // summary:
          //		Releases all internal resources owned by this shape. Once this method has been called,
          //		the instance is considered disposed and should not be used anymore.
          // don't call canvas impl to avoid makeDirty'
          gs.Container.clear.call(this, true); // avoid this.inherited

          canvas.Shape.prototype.destroy.apply(this, arguments);
        }
      });
      canvas.Rect = declare("dojox.gfx.canvas.Rect", [canvas.Shape, gs.Rect], {
        // summary:
        //		a rectangle shape (Canvas)
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var s = this.shape,
              r = Math.min(s.r, s.height / 2, s.width / 2),
              xl = s.x,
              xr = xl + s.width,
              yt = s.y,
              yb = yt + s.height,
              xl2 = xl + r,
              xr2 = xr - r,
              yt2 = yt + r,
              yb2 = yb - r;
          ctx.beginPath();
          ctx.moveTo(xl2, yt);

          if (r) {
            ctx.arc(xr2, yt2, r, -halfPI, 0, false);
            ctx.arc(xr2, yb2, r, 0, halfPI, false);
            ctx.arc(xl2, yb2, r, halfPI, pi, false);
            ctx.arc(xl2, yt2, r, pi, pi + halfPI, false);
          } else {
            ctx.lineTo(xr2, yt);
            ctx.lineTo(xr, yb2);
            ctx.lineTo(xl2, yb);
            ctx.lineTo(xl, yt2);
          }

          ctx.closePath();
        },
        _renderDashedStroke: function _renderDashedStroke(ctx, apply) {
          var s = this.shape,
              residue,
              r = Math.min(s.r, s.height / 2, s.width / 2),
              xl = s.x,
              xr = xl + s.width,
              yt = s.y,
              yb = yt + s.height,
              xl2 = xl + r,
              xr2 = xr - r,
              yt2 = yt + r,
              yb2 = yb - r;

          if (r) {
            ctx.beginPath();
            residue = toDashedLineTo(ctx, this, xl2, yt, xr2, yt);
            if (apply) ctx.stroke();
            residue = drawDashedArc(ctx, this.canvasDash, xr2, yt2, r, -halfPI, 0, false, apply, residue);
            ctx.beginPath();
            residue = toDashedLineTo(ctx, this, xr, yt2, xr, yb2, residue);
            if (apply) ctx.stroke();
            residue = drawDashedArc(ctx, this.canvasDash, xr2, yb2, r, 0, halfPI, false, apply, residue);
            ctx.beginPath();
            residue = toDashedLineTo(ctx, this, xr2, yb, xl2, yb, residue);
            if (apply) ctx.stroke();
            residue = drawDashedArc(ctx, this.canvasDash, xl2, yb2, r, halfPI, pi, false, apply, residue);
            ctx.beginPath();
            residue = toDashedLineTo(ctx, this, xl, yb2, xl, yt2, residue);
            if (apply) ctx.stroke();
            drawDashedArc(ctx, this.canvasDash, xl2, yt2, r, pi, pi + halfPI, false, apply, residue);
          } else {
            ctx.beginPath();
            residue = toDashedLineTo(ctx, this, xl2, yt, xr2, yt);
            residue = toDashedLineTo(ctx, this, xr2, yt, xr, yb2, residue);
            residue = toDashedLineTo(ctx, this, xr, yb2, xl2, yb, residue);
            toDashedLineTo(ctx, this, xl2, yb, xl, yt2, residue);
            if (apply) ctx.stroke();
          }
        }
      });
      var bezierCircle = [];

      (function () {
        var u = ga.curvePI4;
        bezierCircle.push(u.s, u.c1, u.c2, u.e);

        for (var a = 45; a < 360; a += 45) {
          var r = m.rotateg(a);
          bezierCircle.push(mp(r, u.c1), mp(r, u.c2), mp(r, u.e));
        }
      })();

      var makeEllipse = function makeEllipse(shape) {
        // prepare Canvas-specific structures
        var t,
            c1,
            c2,
            r = [],
            s = shape.shape,
            M = m.normalize([m.translate(s.cx, s.cy), m.scale(s.rx, s.ry)]);
        t = mp(M, bezierCircle[0]);
        r.push([t.x, t.y]);

        for (var i = 1; i < bezierCircle.length; i += 3) {
          c1 = mp(M, bezierCircle[i]);
          c2 = mp(M, bezierCircle[i + 1]);
          t = mp(M, bezierCircle[i + 2]);
          r.push([c1.x, c1.y, c2.x, c2.y, t.x, t.y]);
        }

        if (shape._needsDash) {
          var points = [],
              p1 = r[0];

          for (i = 1; i < r.length; ++i) {
            var curves = [];
            splitToDashedBezier(p1.concat(r[i]), shape.canvasDash, curves);
            p1 = [r[i][4], r[i][5]];
            points.push(curves);
          }

          shape._dashedPoints = points;
        }

        return r;
      };

      canvas.Ellipse = declare("dojox.gfx.canvas.Ellipse", [canvas.Shape, gs.Ellipse], {
        // summary:
        //		an ellipse shape (Canvas)
        setShape: function setShape() {
          this.inherited(arguments);
          this.canvasEllipse = makeEllipse(this);
          return this;
        },
        setStroke: function setStroke() {
          this.inherited(arguments);

          if (!hasNativeDash) {
            this.canvasEllipse = makeEllipse(this);
          }

          return this;
        },
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var r = this.canvasEllipse,
              i;
          ctx.beginPath();
          ctx.moveTo.apply(ctx, r[0]);

          for (i = 1; i < r.length; ++i) {
            ctx.bezierCurveTo.apply(ctx, r[i]);
          }

          ctx.closePath();
        },
        _renderDashedStroke: function _renderDashedStroke(ctx, apply) {
          var r = this._dashedPoints;
          ctx.beginPath();

          for (var i = 0; i < r.length; ++i) {
            var curves = r[i];

            for (var j = 0; j < curves.length; ++j) {
              var curve = curves[j];
              ctx.moveTo(curve[0], curve[1]);
              ctx.bezierCurveTo(curve[2], curve[3], curve[4], curve[5], curve[6], curve[7]);
            }
          }

          if (apply) ctx.stroke();
        }
      });
      canvas.Circle = declare("dojox.gfx.canvas.Circle", [canvas.Shape, gs.Circle], {
        // summary:
        //		a circle shape (Canvas)
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var s = this.shape;
          ctx.beginPath();
          ctx.arc(s.cx, s.cy, s.r, 0, twoPI, 1);
        },
        _renderDashedStroke: function _renderDashedStroke(ctx, apply) {
          var s = this.shape;
          var startAngle = 0,
              angle,
              l = this.canvasDash.length;
          i = 0;

          while (startAngle < twoPI) {
            angle = this.canvasDash[i % l] / s.r;

            if (!(i % 2)) {
              ctx.beginPath();
              ctx.arc(s.cx, s.cy, s.r, startAngle, startAngle + angle, 0);
              if (apply) ctx.stroke();
            }

            startAngle += angle;
            ++i;
          }
        }
      });
      canvas.Line = declare("dojox.gfx.canvas.Line", [canvas.Shape, gs.Line], {
        // summary:
        //		a line shape (Canvas)
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var s = this.shape;
          ctx.beginPath();
          ctx.moveTo(s.x1, s.y1);
          ctx.lineTo(s.x2, s.y2);
        },
        _renderDashedStroke: function _renderDashedStroke(ctx, apply) {
          var s = this.shape;
          ctx.beginPath();
          toDashedLineTo(ctx, this, s.x1, s.y1, s.x2, s.y2);
          if (apply) ctx.stroke();
        }
      });
      canvas.Polyline = declare("dojox.gfx.canvas.Polyline", [canvas.Shape, gs.Polyline], {
        // summary:
        //		a polyline/polygon shape (Canvas)
        setShape: function setShape() {
          this.inherited(arguments);
          var p = this.shape.points,
              f = p[0],
              r,
              c,
              i;
          this.bbox = null; // normalize this.shape.points as array of points: [{x,y}, {x,y}, ...]

          this._normalizePoints(); // after _normalizePoints, if shape.points was [x1,y1,x2,y2,..], shape.points references a new array
          // and p references the original points array
          // prepare Canvas-specific structures, if needed


          if (p.length) {
            if (typeof f == "number") {
              // already in the canvas format [x1,y1,x2,y2,...]
              r = p;
            } else {
              // convert into canvas-specific format
              r = [];

              for (i = 0; i < p.length; ++i) {
                c = p[i];
                r.push(c.x, c.y);
              }
            }
          } else {
            r = [];
          }

          this.canvasPolyline = r;
          return this;
        },
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var p = this.canvasPolyline;

          if (p.length) {
            ctx.beginPath();
            ctx.moveTo(p[0], p[1]);

            for (var i = 2; i < p.length; i += 2) {
              ctx.lineTo(p[i], p[i + 1]);
            }
          }
        },
        _renderDashedStroke: function _renderDashedStroke(ctx, apply) {
          var p = this.canvasPolyline,
              residue = 0;
          ctx.beginPath();

          for (var i = 0; i < p.length; i += 2) {
            residue = toDashedLineTo(ctx, this, p[i], p[i + 1], p[i + 2], p[i + 3], residue);
          }

          if (apply) ctx.stroke();
        }
      });
      canvas.Image = declare("dojox.gfx.canvas.Image", [canvas.Shape, gs.Image], {
        // summary:
        //		an image shape (Canvas)
        setShape: function setShape() {
          this.inherited(arguments); // prepare Canvas-specific structures

          var img = new Image();
          this.surface.downloadImage(img, this.shape.src);
          this.canvasImage = img;
          return this;
        },
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var s = this.shape;
          ctx.drawImage(this.canvasImage, s.x, s.y, s.width, s.height);
        }
      });
      canvas.Text = declare("dojox.gfx.canvas.Text", [canvas.Shape, gs.Text], {
        _setFont: function _setFont() {
          if (this.fontStyle) {
            this.canvasFont = g.makeFontString(this.fontStyle);
          } else {
            delete this.canvasFont;
          }
        },
        getTextWidth: function getTextWidth() {
          // summary:
          //		get the text width in pixels
          var s = this.shape,
              w = 0,
              ctx;

          if (s.text) {
            ctx = this.surface.rawNode.getContext("2d");
            ctx.save();

            this._renderTransform(ctx);

            this._renderFill(ctx, false);

            this._renderStroke(ctx, false);

            if (this.canvasFont) ctx.font = this.canvasFont;
            w = ctx.measureText(s.text).width;
            ctx.restore();
          }

          return w;
        },
        // override to apply first fill and stroke (
        // the base implementation is for path-based shape that needs to first define the path then to fill/stroke it.
        // Here, we need the fillstyle or strokestyle to be set before calling fillText/strokeText.
        _render: function _render(
        /* Object */
        ctx) {
          // summary:
          //		render the shape
          // ctx: Object
          //		the drawing context.
          ctx.save();

          this._renderTransform(ctx);

          this._renderFill(ctx, false);

          this._renderStroke(ctx, false);

          this._renderShape(ctx);

          ctx.restore();
        },
        _renderShape: function _renderShape(ctx) {
          // summary:
          //		a text shape (Canvas)
          // ctx: Object
          //		the drawing context.
          var ta,
              s = this.shape;

          if (!s.text) {
            return;
          } // text align


          ta = s.align === 'middle' ? 'center' : s.align;
          ctx.textAlign = ta;

          if (this.canvasFont) {
            ctx.font = this.canvasFont;
          }

          if (this.canvasFill) {
            ctx.fillText(s.text, s.x, s.y);
          }

          if (this.strokeStyle) {
            ctx.beginPath(); // fix bug in FF3.6. Fixed in FF4b8

            ctx.strokeText(s.text, s.x, s.y);
            ctx.closePath();
          }
        }
      });
      modifyMethod(canvas.Text, "setFont");

      if (!hasFillText) {
        canvas.Text.extend({
          getTextWidth: function getTextWidth() {
            return 0;
          },
          getBoundingBox: function getBoundingBox() {
            return null;
          },
          _renderShape: function _renderShape() {}
        });
      }

      var pathRenderers = {
        M: "_moveToA",
        m: "_moveToR",
        L: "_lineToA",
        l: "_lineToR",
        H: "_hLineToA",
        h: "_hLineToR",
        V: "_vLineToA",
        v: "_vLineToR",
        C: "_curveToA",
        c: "_curveToR",
        S: "_smoothCurveToA",
        s: "_smoothCurveToR",
        Q: "_qCurveToA",
        q: "_qCurveToR",
        T: "_qSmoothCurveToA",
        t: "_qSmoothCurveToR",
        A: "_arcTo",
        a: "_arcTo",
        Z: "_closePath",
        z: "_closePath"
      };
      canvas.Path = declare("dojox.gfx.canvas.Path", [canvas.Shape, pathLib.Path], {
        // summary:
        //		a path shape (Canvas)
        constructor: function constructor() {
          this.lastControl = {};
        },
        setShape: function setShape() {
          this.canvasPath = [];
          this._dashedPath = [];
          return this.inherited(arguments);
        },
        setStroke: function setStroke() {
          this.inherited(arguments);

          if (!hasNativeDash) {
            this.segmented = false;

            this._confirmSegmented();
          }

          return this;
        },
        _setPath: function _setPath() {
          this._dashResidue = null;
          this.inherited(arguments);
        },
        _updateWithSegment: function _updateWithSegment(segment) {
          var last = lang.clone(this.last);
          this[pathRenderers[segment.action]](this.canvasPath, segment.action, segment.args, this._needsDash ? this._dashedPath : null);
          this.last = last;
          this.inherited(arguments);
        },
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var r = this.canvasPath;
          ctx.beginPath();

          for (var i = 0; i < r.length; i += 2) {
            ctx[r[i]].apply(ctx, r[i + 1]);
          }
        },
        _renderDashedStroke: hasNativeDash ? function () {} : function (ctx, apply) {
          var r = this._dashedPath;
          ctx.beginPath();

          for (var i = 0; i < r.length; i += 2) {
            ctx[r[i]].apply(ctx, r[i + 1]);
          }

          if (apply) ctx.stroke();
        },
        _moveToA: function _moveToA(result, action, args, doDash) {
          result.push("moveTo", [args[0], args[1]]);
          if (doDash) doDash.push("moveTo", [args[0], args[1]]);

          for (var i = 2; i < args.length; i += 2) {
            result.push("lineTo", [args[i], args[i + 1]]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, args[i - 2], args[i - 1], args[i], args[i + 1], this._dashResidue);
          }

          this.last.x = args[args.length - 2];
          this.last.y = args[args.length - 1];
          this.lastControl = {};
        },
        _moveToR: function _moveToR(result, action, args, doDash) {
          var pts;

          if ("x" in this.last) {
            pts = [this.last.x += args[0], this.last.y += args[1]];
            result.push("moveTo", pts);
            if (doDash) doDash.push("moveTo", pts);
          } else {
            pts = [this.last.x = args[0], this.last.y = args[1]];
            result.push("moveTo", pts);
            if (doDash) doDash.push("moveTo", pts);
          }

          for (var i = 2; i < args.length; i += 2) {
            result.push("lineTo", [this.last.x += args[i], this.last.y += args[i + 1]]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, doDash[doDash.length - 1][0], doDash[doDash.length - 1][1], this.last.x, this.last.y, this._dashResidue);
          }

          this.lastControl = {};
        },
        _lineToA: function _lineToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 2) {
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, this.last.x, this.last.y, args[i], args[i + 1], this._dashResidue);
            result.push("lineTo", [args[i], args[i + 1]]);
          }

          this.last.x = args[args.length - 2];
          this.last.y = args[args.length - 1];
          this.lastControl = {};
        },
        _lineToR: function _lineToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 2) {
            result.push("lineTo", [this.last.x += args[i], this.last.y += args[i + 1]]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, doDash[doDash.length - 1][0], doDash[doDash.length - 1][1], this.last.x, this.last.y, this._dashResidue);
          }

          this.lastControl = {};
        },
        _hLineToA: function _hLineToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; ++i) {
            result.push("lineTo", [args[i], this.last.y]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, doDash[doDash.length - 1][0], doDash[doDash.length - 1][1], args[i], this.last.y, this._dashResidue);
          }

          this.last.x = args[args.length - 1];
          this.lastControl = {};
        },
        _hLineToR: function _hLineToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; ++i) {
            result.push("lineTo", [this.last.x += args[i], this.last.y]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, doDash[doDash.length - 1][0], doDash[doDash.length - 1][1], this.last.x, this.last.y, this._dashResidue);
          }

          this.lastControl = {};
        },
        _vLineToA: function _vLineToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; ++i) {
            result.push("lineTo", [this.last.x, args[i]]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, doDash[doDash.length - 1][0], doDash[doDash.length - 1][1], this.last.x, args[i], this._dashResidue);
          }

          this.last.y = args[args.length - 1];
          this.lastControl = {};
        },
        _vLineToR: function _vLineToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; ++i) {
            result.push("lineTo", [this.last.x, this.last.y += args[i]]);
            if (doDash) this._dashResidue = toDashedLineTo(doDash, this, doDash[doDash.length - 1][0], doDash[doDash.length - 1][1], this.last.x, this.last.y, this._dashResidue);
          }

          this.lastControl = {};
        },
        _curveToA: function _curveToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 6) {
            result.push("bezierCurveTo", args.slice(i, i + 6));
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
          }

          this.last.x = args[args.length - 2];
          this.last.y = args[args.length - 1];
          this.lastControl.x = args[args.length - 4];
          this.lastControl.y = args[args.length - 3];
          this.lastControl.type = "C";
        },
        _curveToR: function _curveToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 6) {
            result.push("bezierCurveTo", [this.last.x + args[i], this.last.y + args[i + 1], this.lastControl.x = this.last.x + args[i + 2], this.lastControl.y = this.last.y + args[i + 3], this.last.x + args[i + 4], this.last.y + args[i + 5]]);
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
            this.last.x += args[i + 4];
            this.last.y += args[i + 5];
          }

          this.lastControl.type = "C";
        },
        _smoothCurveToA: function _smoothCurveToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 4) {
            var valid = this.lastControl.type == "C";
            result.push("bezierCurveTo", [valid ? 2 * this.last.x - this.lastControl.x : this.last.x, valid ? 2 * this.last.y - this.lastControl.y : this.last.y, args[i], args[i + 1], args[i + 2], args[i + 3]]);
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
            this.lastControl.x = args[i];
            this.lastControl.y = args[i + 1];
            this.lastControl.type = "C";
          }

          this.last.x = args[args.length - 2];
          this.last.y = args[args.length - 1];
        },
        _smoothCurveToR: function _smoothCurveToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 4) {
            var valid = this.lastControl.type == "C";
            result.push("bezierCurveTo", [valid ? 2 * this.last.x - this.lastControl.x : this.last.x, valid ? 2 * this.last.y - this.lastControl.y : this.last.y, this.last.x + args[i], this.last.y + args[i + 1], this.last.x + args[i + 2], this.last.y + args[i + 3]]);
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
            this.lastControl.x = this.last.x + args[i];
            this.lastControl.y = this.last.y + args[i + 1];
            this.lastControl.type = "C";
            this.last.x += args[i + 2];
            this.last.y += args[i + 3];
          }
        },
        _qCurveToA: function _qCurveToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 4) {
            result.push("quadraticCurveTo", args.slice(i, i + 4));
          }

          if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
          this.last.x = args[args.length - 2];
          this.last.y = args[args.length - 1];
          this.lastControl.x = args[args.length - 4];
          this.lastControl.y = args[args.length - 3];
          this.lastControl.type = "Q";
        },
        _qCurveToR: function _qCurveToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 4) {
            result.push("quadraticCurveTo", [this.lastControl.x = this.last.x + args[i], this.lastControl.y = this.last.y + args[i + 1], this.last.x + args[i + 2], this.last.y + args[i + 3]]);
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
            this.last.x += args[i + 2];
            this.last.y += args[i + 3];
          }

          this.lastControl.type = "Q";
        },
        _qSmoothCurveToA: function _qSmoothCurveToA(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 2) {
            var valid = this.lastControl.type == "Q";
            result.push("quadraticCurveTo", [this.lastControl.x = valid ? 2 * this.last.x - this.lastControl.x : this.last.x, this.lastControl.y = valid ? 2 * this.last.y - this.lastControl.y : this.last.y, args[i], args[i + 1]]);
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
            this.lastControl.type = "Q";
          }

          this.last.x = args[args.length - 2];
          this.last.y = args[args.length - 1];
        },
        _qSmoothCurveToR: function _qSmoothCurveToR(result, action, args, doDash) {
          for (var i = 0; i < args.length; i += 2) {
            var valid = this.lastControl.type == "Q";
            result.push("quadraticCurveTo", [this.lastControl.x = valid ? 2 * this.last.x - this.lastControl.x : this.last.x, this.lastControl.y = valid ? 2 * this.last.y - this.lastControl.y : this.last.y, this.last.x + args[i], this.last.y + args[i + 1]]);
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, result[result.length - 1], this._dashResidue);
            this.lastControl.type = "Q";
            this.last.x += args[i];
            this.last.y += args[i + 1];
          }
        },
        _arcTo: function _arcTo(result, action, args, doDash) {
          var relative = action == "a";

          for (var i = 0; i < args.length; i += 7) {
            var x1 = args[i + 5],
                y1 = args[i + 6];

            if (relative) {
              x1 += this.last.x;
              y1 += this.last.y;
            }

            var arcs = ga.arcAsBezier(this.last, args[i], args[i + 1], args[i + 2], args[i + 3] ? 1 : 0, args[i + 4] ? 1 : 0, x1, y1);
            arr.forEach(arcs, function (p) {
              result.push("bezierCurveTo", p);
            });
            if (doDash) this._dashResidue = toDashedCurveTo(doDash, this, p, this._dashResidue);
            this.last.x = x1;
            this.last.y = y1;
          }

          this.lastControl = {};
        },
        _closePath: function _closePath(result, action, args, doDash) {
          result.push("closePath", []);
          if (doDash) this._dashResidue = toDashedLineTo(doDash, this, this.last.x, this.last.y, doDash[1][0], doDash[1][1], this._dashResidue);
          this.lastControl = {};
        }
      });
      arr.forEach(["moveTo", "lineTo", "hLineTo", "vLineTo", "curveTo", "smoothCurveTo", "qCurveTo", "qSmoothCurveTo", "arcTo", "closePath"], function (method) {
        modifyMethod(canvas.Path, method);
      });
      canvas.TextPath = declare("dojox.gfx.canvas.TextPath", [canvas.Shape, pathLib.TextPath], {
        // summary:
        //		a text shape (Canvas)
        _renderShape: function _renderShape(
        /* Object */
        ctx) {
          var s = this.shape; // nothing for the moment
        },
        _setText: function _setText() {// not implemented
        },
        _setFont: function _setFont() {// not implemented
        }
      });
      canvas.Surface = declare("dojox.gfx.canvas.Surface", gs.Surface, {
        // summary:
        //		a surface object to be used for drawings (Canvas)
        constructor: function constructor() {
          gs.Container._init.call(this);

          this.pendingImageCount = 0;
          this.makeDirty();
        },
        destroy: function destroy() {
          gs.Container.clear.call(this, true); // avoid makeDirty() from canvas.Container.clear impl.

          this.inherited(arguments);
        },
        setDimensions: function setDimensions(width, height) {
          // summary:
          //		sets the width and height of the rawNode
          // width: String
          //		width of surface, e.g., "100px"
          // height: String
          //		height of surface, e.g., "100px"
          this.width = g.normalizedLength(width); // in pixels

          this.height = g.normalizedLength(height); // in pixels

          if (!this.rawNode) return this;
          var dirty = false;

          if (this.rawNode.width != this.width) {
            this.rawNode.width = this.width;
            dirty = true;
          }

          if (this.rawNode.height != this.height) {
            this.rawNode.height = this.height;
            dirty = true;
          }

          if (dirty) this.makeDirty();
          return this; // self
        },
        getDimensions: function getDimensions() {
          // summary:
          //		returns an object with properties "width" and "height"
          return this.rawNode ? {
            width: this.rawNode.width,
            height: this.rawNode.height
          } : null; // Object
        },
        _render: function _render(force) {
          // summary:
          //		render the all shapes
          if (!this.rawNode || !force && this.pendingImageCount) {
            return;
          }

          var ctx = this.rawNode.getContext("2d");
          ctx.clearRect(0, 0, this.rawNode.width, this.rawNode.height);
          this.render(ctx);

          if ("pendingRender" in this) {
            clearTimeout(this.pendingRender);
            delete this.pendingRender;
          }
        },
        render: function render(ctx) {
          // summary:
          //		Renders the gfx scene.
          // description:
          //		this method is called to render the gfx scene to the specified context.
          //		This method should not be invoked directly but should be used instead
          //		as an extension point on which user can connect to with aspect.before/aspect.after
          //		to implement pre- or post- image processing jobs on the drawing surface.
          // ctx: CanvasRenderingContext2D
          //		The surface Canvas rendering context.
          ctx.save();

          for (var i = 0; i < this.children.length; ++i) {
            this.children[i]._render(ctx);
          }

          ctx.restore();
        },
        makeDirty: function makeDirty() {
          // summary:
          //		internal method, which is called when we may need to redraw
          if (!this.pendingImagesCount && !("pendingRender" in this) && !this._batch) {
            this.pendingRender = setTimeout(lang.hitch(this, this._render), 0);
          }
        },
        downloadImage: function downloadImage(img, url) {
          // summary:
          //		internal method, which starts an image download and renders, when it is ready
          // img: Image
          //		the image object
          // url: String
          //		the url of the image
          var handler = lang.hitch(this, this.onImageLoad);

          if (!this.pendingImageCount++ && "pendingRender" in this) {
            clearTimeout(this.pendingRender);
            delete this.pendingRender;
          }

          img.onload = handler;
          img.onerror = handler;
          img.onabort = handler;
          img.src = url;
        },
        onImageLoad: function onImageLoad() {
          if (! --this.pendingImageCount) {
            this.onImagesLoaded();

            this._render();
          }
        },
        onImagesLoaded: function onImagesLoaded() {// summary:
          //		An extension point called when all pending images downloads have been completed.
          // description:
          //		This method is invoked when all pending images downloads have been completed, just before
          //		the gfx scene is redrawn. User can connect to this method to get notified when a
          //		gfx scene containing images is fully resolved.
        },
        // events are not implemented
        getEventSource: function getEventSource() {
          return null;
        },
        connect: function connect() {},
        disconnect: function disconnect() {},
        on: function on() {}
      });

      canvas.createSurface = function (parentNode, width, height) {
        // summary:
        //		creates a surface (Canvas)
        // parentNode: Node
        //		a parent node
        // width: String
        //		width of surface, e.g., "100px"
        // height: String
        //		height of surface, e.g., "100px"
        if (!width && !height) {
          var pos = domGeom.position(parentNode);
          width = width || pos.w;
          height = height || pos.h;
        }

        if (typeof width == "number") {
          width = width + "px";
        }

        if (typeof height == "number") {
          height = height + "px";
        }

        var s = new canvas.Surface(),
            p = dom.byId(parentNode),
            c = p.ownerDocument.createElement("canvas");
        c.width = g.normalizedLength(width); // in pixels

        c.height = g.normalizedLength(height); // in pixels

        p.appendChild(c);
        s.rawNode = c;
        s._parent = p;
        s.surface = s;
        return s; // dojox/gfx.Surface
      }; // Extenders


      var C = gs.Container,
          Container = {
        openBatch: function openBatch() {
          // summary:
          //		starts a new batch, subsequent new child shapes will be held in
          //		the batch instead of appending to the container directly.
          // description:
          //		Because the canvas renderer has no DOM hierarchy, the canvas implementation differs
          //		such that it suspends the repaint requests for this container until the current batch is closed by a call to closeBatch().
          ++this._batch;
          return this;
        },
        closeBatch: function closeBatch() {
          // summary:
          //		submits the current batch.
          // description:
          //		On canvas, this method flushes the pending redraws queue.
          this._batch = this._batch > 0 ? --this._batch : 0;

          this._makeDirty();

          return this;
        },
        _makeDirty: function _makeDirty() {
          if (!this._batch) {
            this.surface.makeDirty();
          }
        },
        add: function add(shape) {
          this._makeDirty();

          return C.add.apply(this, arguments);
        },
        remove: function remove(shape, silently) {
          this._makeDirty();

          return C.remove.apply(this, arguments);
        },
        clear: function clear() {
          this._makeDirty();

          return C.clear.apply(this, arguments);
        },
        getBoundingBox: C.getBoundingBox,
        _moveChildToFront: function _moveChildToFront(shape) {
          this._makeDirty();

          return C._moveChildToFront.apply(this, arguments);
        },
        _moveChildToBack: function _moveChildToBack(shape) {
          this._makeDirty();

          return C._moveChildToBack.apply(this, arguments);
        }
      };
      var Creator = {
        // summary:
        //		Canvas shape creators
        createObject: function createObject(shapeType, rawShape) {
          // summary:
          //		creates an instance of the passed shapeType class
          // shapeType: Function
          //		a class constructor to create an instance of
          // rawShape: Object
          //		properties to be passed in to the classes "setShape" method
          // overrideSize: Boolean
          //		set the size explicitly, if true
          var shape = new shapeType();
          shape.surface = this.surface;
          shape.setShape(rawShape);
          this.add(shape);
          return shape; // dojox/gfx/shape.Shape
        }
      };
      extend(canvas.Group, Container);
      extend(canvas.Group, gs.Creator);
      extend(canvas.Group, Creator);
      extend(canvas.Surface, Container);
      extend(canvas.Surface, gs.Creator);
      extend(canvas.Surface, Creator); // no event support -> nothing to fix.

      canvas.fixTarget = function (event, gfxElement) {
        // tags:
        //		private
        return true;
      };

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

  /***/
  "./node_modules/dojox/gfx/decompose.js":
  /*!*********************************************!*\
    !*** ./node_modules/dojox/gfx/decompose.js ***!
    \*********************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxDecomposeJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! ./matrix */
    "./node_modules/dojox/gfx/matrix.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (g, lang, m) {
      function eq(
      /* Number */
      a,
      /* Number */
      b) {
        // summary:
        //		compare two FP numbers for equality
        return Math.abs(a - b) <= 1e-6 * (Math.abs(a) + Math.abs(b)); // Boolean
      }

      function calcFromValues(
      /* Number */
      r1,
      /* Number */
      m1,
      /* Number */
      r2,
      /* Number */
      m2) {
        // summary:
        //		uses two close FP ration and their original magnitudes to approximate the result
        if (!isFinite(r1)) {
          return r2; // Number
        } else if (!isFinite(r2)) {
          return r1; // Number
        }

        m1 = Math.abs(m1);
        m2 = Math.abs(m2);
        return (m1 * r1 + m2 * r2) / (m1 + m2); // Number
      }

      function transpose(matrix) {
        // matrix: dojox/gfx/matrix.Matrix2D
        //		a 2D matrix-like object
        var M = new m.Matrix2D(matrix);
        return lang.mixin(M, {
          dx: 0,
          dy: 0,
          xy: M.yx,
          yx: M.xy
        }); // dojox/gfx/matrix.Matrix2D
      }

      function scaleSign(
      /* dojox/gfx/matrix.Matrix2D */
      matrix) {
        return matrix.xx * matrix.yy < 0 || matrix.xy * matrix.yx > 0 ? -1 : 1; // Number
      }

      function eigenvalueDecomposition(matrix) {
        // matrix: dojox/gfx/matrix.Matrix2D
        //		a 2D matrix-like object
        var M = m.normalize(matrix),
            b = -M.xx - M.yy,
            c = M.xx * M.yy - M.xy * M.yx,
            d = Math.sqrt(b * b - 4 * c),
            l1 = -(b + (b < 0 ? -d : d)) / 2,
            l2 = c / l1,
            vx1 = M.xy / (l1 - M.xx),
            vy1 = 1,
            vx2 = M.xy / (l2 - M.xx),
            vy2 = 1;

        if (eq(l1, l2)) {
          vx1 = 1, vy1 = 0, vx2 = 0, vy2 = 1;
        }

        if (!isFinite(vx1)) {
          vx1 = 1, vy1 = (l1 - M.xx) / M.xy;

          if (!isFinite(vy1)) {
            vx1 = (l1 - M.yy) / M.yx, vy1 = 1;

            if (!isFinite(vx1)) {
              vx1 = 1, vy1 = M.yx / (l1 - M.yy);
            }
          }
        }

        if (!isFinite(vx2)) {
          vx2 = 1, vy2 = (l2 - M.xx) / M.xy;

          if (!isFinite(vy2)) {
            vx2 = (l2 - M.yy) / M.yx, vy2 = 1;

            if (!isFinite(vx2)) {
              vx2 = 1, vy2 = M.yx / (l2 - M.yy);
            }
          }
        }

        var d1 = Math.sqrt(vx1 * vx1 + vy1 * vy1),
            d2 = Math.sqrt(vx2 * vx2 + vy2 * vy2);

        if (!isFinite(vx1 /= d1)) {
          vx1 = 0;
        }

        if (!isFinite(vy1 /= d1)) {
          vy1 = 0;
        }

        if (!isFinite(vx2 /= d2)) {
          vx2 = 0;
        }

        if (!isFinite(vy2 /= d2)) {
          vy2 = 0;
        }

        return {
          // Object
          value1: l1,
          value2: l2,
          vector1: {
            x: vx1,
            y: vy1
          },
          vector2: {
            x: vx2,
            y: vy2
          }
        };
      }

      function decomposeSR(
      /* dojox/gfx/matrix.Matrix2D */
      M,
      /* Object */
      result) {
        // summary:
        //		decomposes a matrix into [scale, rotate]; no checks are done.
        var sign = scaleSign(M),
            a = result.angle1 = (Math.atan2(M.yx, M.yy) + Math.atan2(-sign * M.xy, sign * M.xx)) / 2,
            cos = Math.cos(a),
            sin = Math.sin(a);
        result.sx = calcFromValues(M.xx / cos, cos, -M.xy / sin, sin);
        result.sy = calcFromValues(M.yy / cos, cos, M.yx / sin, sin);
        return result; // Object
      }

      function decomposeRS(
      /* dojox/gfx/matrix.Matrix2D */
      M,
      /* Object */
      result) {
        // summary:
        //		decomposes a matrix into [rotate, scale]; no checks are done
        var sign = scaleSign(M),
            a = result.angle2 = (Math.atan2(sign * M.yx, sign * M.xx) + Math.atan2(-M.xy, M.yy)) / 2,
            cos = Math.cos(a),
            sin = Math.sin(a);
        result.sx = calcFromValues(M.xx / cos, cos, M.yx / sin, sin);
        result.sy = calcFromValues(M.yy / cos, cos, -M.xy / sin, sin);
        return result; // Object
      }

      return g.decompose = function (matrix) {
        // summary:
        //		Decompose a 2D matrix into translation, scaling, and rotation components.
        // description:
        //		This function decompose a matrix into four logical components:
        //		translation, rotation, scaling, and one more rotation using SVD.
        //		The components should be applied in following order:
        //	| [translate, rotate(angle2), scale, rotate(angle1)]
        // matrix: dojox/gfx/matrix.Matrix2D
        //		a 2D matrix-like object
        var M = m.normalize(matrix),
            result = {
          dx: M.dx,
          dy: M.dy,
          sx: 1,
          sy: 1,
          angle1: 0,
          angle2: 0
        }; // detect case: [scale]

        if (eq(M.xy, 0) && eq(M.yx, 0)) {
          return lang.mixin(result, {
            sx: M.xx,
            sy: M.yy
          }); // Object
        } // detect case: [scale, rotate]


        if (eq(M.xx * M.yx, -M.xy * M.yy)) {
          return decomposeSR(M, result); // Object
        } // detect case: [rotate, scale]


        if (eq(M.xx * M.xy, -M.yx * M.yy)) {
          return decomposeRS(M, result); // Object
        } // do SVD


        var MT = transpose(M),
            u = eigenvalueDecomposition([M, MT]),
            v = eigenvalueDecomposition([MT, M]),
            U = new m.Matrix2D({
          xx: u.vector1.x,
          xy: u.vector2.x,
          yx: u.vector1.y,
          yy: u.vector2.y
        }),
            VT = new m.Matrix2D({
          xx: v.vector1.x,
          xy: v.vector1.y,
          yx: v.vector2.x,
          yy: v.vector2.y
        }),
            S = new m.Matrix2D([m.invert(U), M, m.invert(VT)]);
        decomposeSR(VT, result);
        S.xx *= result.sx;
        S.yy *= result.sy;
        decomposeRS(U, result);
        S.xx *= result.sx;
        S.yy *= result.sy;
        return lang.mixin(result, {
          sx: S.xx,
          sy: S.yy
        }); // Object
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojox/gfx/matrix.js":
  /*!******************************************!*\
    !*** ./node_modules/dojox/gfx/matrix.js ***!
    \******************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxMatrixJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (g, lang) {
      var m = g.matrix = {}; // candidates for dojox.math:

      var _degToRadCache = {};

      m._degToRad = function (degree) {
        return _degToRadCache[degree] || (_degToRadCache[degree] = Math.PI * degree / 180);
      };

      m._radToDeg = function (radian) {
        return radian / Math.PI * 180;
      };

      m.Matrix2D = function (arg) {
        // summary:
        //		a 2D matrix object
        // description:
        //		Normalizes a 2D matrix-like object. If arrays is passed,
        //		all objects of the array are normalized and multiplied sequentially.
        // arg: Object
        //		a 2D matrix-like object, a number, or an array of such objects
        if (arg) {
          if (typeof arg == "number") {
            this.xx = this.yy = arg;
          } else if (arg instanceof Array) {
            if (arg.length > 0) {
              var matrix = m.normalize(arg[0]); // combine matrices

              for (var i = 1; i < arg.length; ++i) {
                var l = matrix,
                    r = m.normalize(arg[i]);
                matrix = new m.Matrix2D();
                matrix.xx = l.xx * r.xx + l.xy * r.yx;
                matrix.xy = l.xx * r.xy + l.xy * r.yy;
                matrix.yx = l.yx * r.xx + l.yy * r.yx;
                matrix.yy = l.yx * r.xy + l.yy * r.yy;
                matrix.dx = l.xx * r.dx + l.xy * r.dy + l.dx;
                matrix.dy = l.yx * r.dx + l.yy * r.dy + l.dy;
              }

              lang.mixin(this, matrix);
            }
          } else {
            lang.mixin(this, arg);
          }
        }
      }; // the default (identity) matrix, which is used to fill in missing values


      lang.extend(m.Matrix2D, {
        xx: 1,
        xy: 0,
        yx: 0,
        yy: 1,
        dx: 0,
        dy: 0
      });
      lang.mixin(m, {
        // summary:
        //		class constants, and methods of dojox/gfx/matrix
        // matrix constants
        // identity: dojox/gfx/matrix.Matrix2D
        //		an identity matrix constant: identity * (x, y) == (x, y)
        identity: new m.Matrix2D(),
        // flipX: dojox/gfx/matrix.Matrix2D
        //		a matrix, which reflects points at x = 0 line: flipX * (x, y) == (-x, y)
        flipX: new m.Matrix2D({
          xx: -1
        }),
        // flipY: dojox/gfx/matrix.Matrix2D
        //		a matrix, which reflects points at y = 0 line: flipY * (x, y) == (x, -y)
        flipY: new m.Matrix2D({
          yy: -1
        }),
        // flipXY: dojox/gfx/matrix.Matrix2D
        //		a matrix, which reflects points at the origin of coordinates: flipXY * (x, y) == (-x, -y)
        flipXY: new m.Matrix2D({
          xx: -1,
          yy: -1
        }),
        // matrix creators
        translate: function translate(a, b) {
          // summary:
          //		forms a translation matrix
          // description:
          //		The resulting matrix is used to translate (move) points by specified offsets.
          // a: Number|dojox/gfx.Point
          //		an x coordinate value, or a point-like object, which specifies offsets for both dimensions
          // b: Number?
          //		a y coordinate value
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 1) {
            return new m.Matrix2D({
              dx: a,
              dy: b
            }); // dojox/gfx/matrix.Matrix2D
          } // branch


          return new m.Matrix2D({
            dx: a.x,
            dy: a.y
          }); // dojox/gfx/matrix.Matrix2D
        },
        scale: function scale(a, b) {
          // summary:
          //		forms a scaling matrix
          // description:
          //		The resulting matrix is used to scale (magnify) points by specified offsets.
          // a: Number|dojox/gfx.Point
          //		a scaling factor used for the x coordinate, or
          //		a uniform scaling factor used for the both coordinates, or
          //		a point-like object, which specifies scale factors for both dimensions
          // b: Number?
          //		a scaling factor used for the y coordinate
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 1) {
            return new m.Matrix2D({
              xx: a,
              yy: b
            }); // dojox/gfx/matrix.Matrix2D
          }

          if (typeof a == "number") {
            return new m.Matrix2D({
              xx: a,
              yy: a
            }); // dojox/gfx/matrix.Matrix2D
          }

          return new m.Matrix2D({
            xx: a.x,
            yy: a.y
          }); // dojox/gfx/matrix.Matrix2D
        },
        rotate: function rotate(angle) {
          // summary:
          //		forms a rotating matrix
          // description:
          //		The resulting matrix is used to rotate points
          //		around the origin of coordinates (0, 0) by specified angle.
          // angle: Number
          //		an angle of rotation in radians (>0 for CW)
          // returns: dojox/gfx/matrix.Matrix2D
          var c = Math.cos(angle);
          var s = Math.sin(angle);
          return new m.Matrix2D({
            xx: c,
            xy: -s,
            yx: s,
            yy: c
          }); // dojox/gfx/matrix.Matrix2D
        },
        rotateg: function rotateg(degree) {
          // summary:
          //		forms a rotating matrix
          // description:
          //		The resulting matrix is used to rotate points
          //		around the origin of coordinates (0, 0) by specified degree.
          //		See dojox/gfx/matrix.rotate() for comparison.
          // degree: Number
          //		an angle of rotation in degrees (>0 for CW)
          // returns: dojox/gfx/matrix.Matrix2D
          return m.rotate(m._degToRad(degree)); // dojox/gfx/matrix.Matrix2D
        },
        skewX: function skewX(angle) {
          // summary:
          //		forms an x skewing matrix
          // description:
          //		The resulting matrix is used to skew points in the x dimension
          //		around the origin of coordinates (0, 0) by specified angle.
          // angle: Number
          //		a skewing angle in radians
          // returns: dojox/gfx/matrix.Matrix2D
          return new m.Matrix2D({
            xy: Math.tan(angle)
          }); // dojox/gfx/matrix.Matrix2D
        },
        skewXg: function skewXg(degree) {
          // summary:
          //		forms an x skewing matrix
          // description:
          //		The resulting matrix is used to skew points in the x dimension
          //		around the origin of coordinates (0, 0) by specified degree.
          //		See dojox/gfx/matrix.skewX() for comparison.
          // degree: Number
          //		a skewing angle in degrees
          // returns: dojox/gfx/matrix.Matrix2D
          return m.skewX(m._degToRad(degree)); // dojox/gfx/matrix.Matrix2D
        },
        skewY: function skewY(angle) {
          // summary:
          //		forms a y skewing matrix
          // description:
          //		The resulting matrix is used to skew points in the y dimension
          //		around the origin of coordinates (0, 0) by specified angle.
          // angle: Number
          //		a skewing angle in radians
          // returns: dojox/gfx/matrix.Matrix2D
          return new m.Matrix2D({
            yx: Math.tan(angle)
          }); // dojox/gfx/matrix.Matrix2D
        },
        skewYg: function skewYg(degree) {
          // summary:
          //		forms a y skewing matrix
          // description:
          //		The resulting matrix is used to skew points in the y dimension
          //		around the origin of coordinates (0, 0) by specified degree.
          //		See dojox/gfx/matrix.skewY() for comparison.
          // degree: Number
          //		a skewing angle in degrees
          // returns: dojox/gfx/matrix.Matrix2D
          return m.skewY(m._degToRad(degree)); // dojox/gfx/matrix.Matrix2D
        },
        reflect: function reflect(a, b) {
          // summary:
          //		forms a reflection matrix
          // description:
          //		The resulting matrix is used to reflect points around a vector,
          //		which goes through the origin.
          // a: dojox/gfx.Point|Number
          //		a point-like object, which specifies a vector of reflection, or an X value
          // b: Number?
          //		a Y value
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length == 1) {
            b = a.y;
            a = a.x;
          } // make a unit vector


          var a2 = a * a,
              b2 = b * b,
              n2 = a2 + b2,
              xy = 2 * a * b / n2;
          return new m.Matrix2D({
            xx: 2 * a2 / n2 - 1,
            xy: xy,
            yx: xy,
            yy: 2 * b2 / n2 - 1
          }); // dojox/gfx/matrix.Matrix2D
        },
        project: function project(a, b) {
          // summary:
          //		forms an orthogonal projection matrix
          // description:
          //		The resulting matrix is used to project points orthogonally on a vector,
          //		which goes through the origin.
          // a: dojox/gfx.Point|Number
          //		a point-like object, which specifies a vector of projection, or
          //		an x coordinate value
          // b: Number?
          //		a y coordinate value
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length == 1) {
            b = a.y;
            a = a.x;
          } // make a unit vector


          var a2 = a * a,
              b2 = b * b,
              n2 = a2 + b2,
              xy = a * b / n2;
          return new m.Matrix2D({
            xx: a2 / n2,
            xy: xy,
            yx: xy,
            yy: b2 / n2
          }); // dojox/gfx/matrix.Matrix2D
        },
        // ensure matrix 2D conformance
        normalize: function normalize(matrix) {
          // summary:
          //		converts an object to a matrix, if necessary
          // description:
          //		Converts any 2D matrix-like object or an array of
          //		such objects to a valid dojox/gfx/matrix.Matrix2D object.
          // matrix: Object
          //		an object, which is converted to a matrix, if necessary
          // returns: dojox/gfx/matrix.Matrix2D
          return matrix instanceof m.Matrix2D ? matrix : new m.Matrix2D(matrix); // dojox/gfx/matrix.Matrix2D
        },
        // common operations
        isIdentity: function isIdentity(matrix) {
          // summary:
          //		returns whether the specified matrix is the identity.
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix object to be tested
          // returns: Boolean
          return matrix.xx == 1 && matrix.xy == 0 && matrix.yx == 0 && matrix.yy == 1 && matrix.dx == 0 && matrix.dy == 0; // Boolean
        },
        clone: function clone(matrix) {
          // summary:
          //		creates a copy of a 2D matrix
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix-like object to be cloned
          // returns: dojox/gfx/matrix.Matrix2D
          var obj = new m.Matrix2D();

          for (var i in matrix) {
            if (typeof matrix[i] == "number" && typeof obj[i] == "number" && obj[i] != matrix[i]) obj[i] = matrix[i];
          }

          return obj; // dojox/gfx/matrix.Matrix2D
        },
        invert: function invert(matrix) {
          // summary:
          //		inverts a 2D matrix
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix-like object to be inverted
          // returns: dojox/gfx/matrix.Matrix2D
          var M = m.normalize(matrix),
              D = M.xx * M.yy - M.xy * M.yx;
          M = new m.Matrix2D({
            xx: M.yy / D,
            xy: -M.xy / D,
            yx: -M.yx / D,
            yy: M.xx / D,
            dx: (M.xy * M.dy - M.yy * M.dx) / D,
            dy: (M.yx * M.dx - M.xx * M.dy) / D
          });
          return M; // dojox/gfx/matrix.Matrix2D
        },
        _multiplyPoint: function _multiplyPoint(matrix, x, y) {
          // summary:
          //		applies a matrix to a point
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix object to be applied
          // x: Number
          //		an x coordinate of a point
          // y: Number
          //		a y coordinate of a point
          // returns: dojox/gfx.Point
          return {
            x: matrix.xx * x + matrix.xy * y + matrix.dx,
            y: matrix.yx * x + matrix.yy * y + matrix.dy
          }; // dojox/gfx.Point
        },
        multiplyPoint: function multiplyPoint(matrix,
        /* Number||Point */
        a,
        /* Number? */
        b) {
          // summary:
          //		applies a matrix to a point
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix object to be applied
          // a: Number|dojox/gfx.Point
          //		an x coordinate of a point, or a point
          // b: Number?
          //		a y coordinate of a point
          // returns: dojox/gfx.Point
          var M = m.normalize(matrix);

          if (typeof a == "number" && typeof b == "number") {
            return m._multiplyPoint(M, a, b); // dojox/gfx.Point
          }

          return m._multiplyPoint(M, a.x, a.y); // dojox/gfx.Point
        },
        multiplyRectangle: function multiplyRectangle(matrix,
        /*Rectangle*/
        rect) {
          // summary:
          //		Applies a matrix to a rectangle.
          // description:
          //		The method applies the transformation on all corners of the
          //		rectangle and returns the smallest rectangle enclosing the 4 transformed
          //		points.
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix object to be applied.
          // rect: Rectangle
          //		the rectangle to transform.
          // returns: dojox/gfx.Rectangle
          var M = m.normalize(matrix);
          rect = rect || {
            x: 0,
            y: 0,
            width: 0,
            height: 0
          };
          if (m.isIdentity(M)) return {
            x: rect.x,
            y: rect.y,
            width: rect.width,
            height: rect.height
          }; // dojo/gfx.Rectangle

          var p0 = m.multiplyPoint(M, rect.x, rect.y),
              p1 = m.multiplyPoint(M, rect.x, rect.y + rect.height),
              p2 = m.multiplyPoint(M, rect.x + rect.width, rect.y),
              p3 = m.multiplyPoint(M, rect.x + rect.width, rect.y + rect.height),
              minx = Math.min(p0.x, p1.x, p2.x, p3.x),
              miny = Math.min(p0.y, p1.y, p2.y, p3.y),
              maxx = Math.max(p0.x, p1.x, p2.x, p3.x),
              maxy = Math.max(p0.y, p1.y, p2.y, p3.y);
          return {
            // dojo/gfx.Rectangle
            x: minx,
            y: miny,
            width: maxx - minx,
            height: maxy - miny
          };
        },
        multiply: function multiply(matrix) {
          // summary:
          //		combines matrices by multiplying them sequentially in the given order
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix-like object,
          //		all subsequent arguments are matrix-like objects too
          var M = m.normalize(matrix); // combine matrices

          for (var i = 1; i < arguments.length; ++i) {
            var l = M,
                r = m.normalize(arguments[i]);
            M = new m.Matrix2D();
            M.xx = l.xx * r.xx + l.xy * r.yx;
            M.xy = l.xx * r.xy + l.xy * r.yy;
            M.yx = l.yx * r.xx + l.yy * r.yx;
            M.yy = l.yx * r.xy + l.yy * r.yy;
            M.dx = l.xx * r.dx + l.xy * r.dy + l.dx;
            M.dy = l.yx * r.dx + l.yy * r.dy + l.dy;
          }

          return M; // dojox/gfx/matrix.Matrix2D
        },
        // high level operations
        _sandwich: function _sandwich(matrix, x, y) {
          // summary:
          //		applies a matrix at a central point
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix-like object, which is applied at a central point
          // x: Number
          //		an x component of the central point
          // y: Number
          //		a y component of the central point
          return m.multiply(m.translate(x, y), matrix, m.translate(-x, -y)); // dojox/gfx/matrix.Matrix2D
        },
        scaleAt: function scaleAt(a, b, c, d) {
          // summary:
          //		scales a picture using a specified point as a center of scaling
          // description:
          //		Compare with dojox/gfx/matrix.scale().
          // a: Number
          //		a scaling factor used for the x coordinate, or a uniform scaling factor used for both coordinates
          // b: Number?
          //		a scaling factor used for the y coordinate
          // c: Number|Point
          //		an x component of a central point, or a central point
          // d: Number
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          switch (arguments.length) {
            case 4:
              // a and b are scale factor components, c and d are components of a point
              return m._sandwich(m.scale(a, b), c, d);
            // dojox/gfx/matrix.Matrix2D

            case 3:
              if (typeof c == "number") {
                return m._sandwich(m.scale(a), b, c); // dojox/gfx/matrix.Matrix2D
              }

              return m._sandwich(m.scale(a, b), c.x, c.y);
            // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.scale(a), b.x, b.y); // dojox/gfx/matrix.Matrix2D
        },
        rotateAt: function rotateAt(angle, a, b) {
          // summary:
          //		rotates a picture using a specified point as a center of rotation
          // description:
          //		Compare with dojox/gfx/matrix.rotate().
          // angle: Number
          //		an angle of rotation in radians (>0 for CW)
          // a: Number|dojox/gfx.Point
          //		an x component of a central point, or a central point
          // b: Number?
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 2) {
            return m._sandwich(m.rotate(angle), a, b); // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.rotate(angle), a.x, a.y); // dojox/gfx/matrix.Matrix2D
        },
        rotategAt: function rotategAt(degree, a, b) {
          // summary:
          //		rotates a picture using a specified point as a center of rotation
          // description:
          //		Compare with dojox/gfx/matrix.rotateg().
          // degree: Number
          //		an angle of rotation in degrees (>0 for CW)
          // a: Number|dojox/gfx.Point
          //		an x component of a central point, or a central point
          // b: Number?
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 2) {
            return m._sandwich(m.rotateg(degree), a, b); // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.rotateg(degree), a.x, a.y); // dojox/gfx/matrix.Matrix2D
        },
        skewXAt: function skewXAt(angle, a, b) {
          // summary:
          //		skews a picture along the x axis using a specified point as a center of skewing
          // description:
          //		Compare with dojox/gfx/matrix.skewX().
          // angle: Number
          //		a skewing angle in radians
          // a: Number|dojox/gfx.Point
          //		an x component of a central point, or a central point
          // b: Number?
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 2) {
            return m._sandwich(m.skewX(angle), a, b); // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.skewX(angle), a.x, a.y); // dojox/gfx/matrix.Matrix2D
        },
        skewXgAt: function skewXgAt(degree, a, b) {
          // summary:
          //		skews a picture along the x axis using a specified point as a center of skewing
          // description:
          //		Compare with dojox/gfx/matrix.skewXg().
          // degree: Number
          //		a skewing angle in degrees
          // a: Number|dojox/gfx.Point
          //		an x component of a central point, or a central point
          // b: Number?
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 2) {
            return m._sandwich(m.skewXg(degree), a, b); // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.skewXg(degree), a.x, a.y); // dojox/gfx/matrix.Matrix2D
        },
        skewYAt: function skewYAt(angle, a, b) {
          // summary:
          //		skews a picture along the y axis using a specified point as a center of skewing
          // description:
          //		Compare with dojox/gfx/matrix.skewY().
          // angle: Number
          //		a skewing angle in radians
          // a: Number|dojox/gfx.Point
          //		an x component of a central point, or a central point
          // b: Number?
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 2) {
            return m._sandwich(m.skewY(angle), a, b); // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.skewY(angle), a.x, a.y); // dojox/gfx/matrix.Matrix2D
        },
        skewYgAt: function skewYgAt(
        /* Number */
        degree,
        /* Number||Point */
        a,
        /* Number? */
        b) {
          // summary:
          //		skews a picture along the y axis using a specified point as a center of skewing
          // description:
          //		Compare with dojox/gfx/matrix.skewYg().
          // degree: Number
          //		a skewing angle in degrees
          // a: Number|dojox/gfx.Point
          //		an x component of a central point, or a central point
          // b: Number?
          //		a y component of a central point
          // returns: dojox/gfx/matrix.Matrix2D
          if (arguments.length > 2) {
            return m._sandwich(m.skewYg(degree), a, b); // dojox/gfx/matrix.Matrix2D
          }

          return m._sandwich(m.skewYg(degree), a.x, a.y); // dojox/gfx/matrix.Matrix2D
        } //TODO: rect-to-rect mapping, scale-to-fit (isotropic and anisotropic versions)

      }); // propagate Matrix2D up

      g.Matrix2D = m.Matrix2D;
      return m;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojox/gfx/path.js":
  /*!****************************************!*\
    !*** ./node_modules/dojox/gfx/path.js ***!
    \****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxPathJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! dojo/_base/declare */
    "./node_modules/dojo/_base/declare.js"), __webpack_require__(
    /*! ./matrix */
    "./node_modules/dojox/gfx/matrix.js"), __webpack_require__(
    /*! ./shape */
    "./node_modules/dojox/gfx/shape.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (g, lang, declare, matrix, shapeLib) {
      // module:
      //		dojox/gfx/path
      var Path = declare("dojox.gfx.path.Path", shapeLib.Shape, {
        // summary:
        //		a generalized path shape
        constructor: function constructor(rawNode) {
          // summary:
          //		a path constructor
          // rawNode: Node
          //		a DOM node to be used by this path object
          this.shape = lang.clone(g.defaultPath);
          this.segments = [];
          this.tbbox = null;
          this.absolute = true;
          this.last = {};
          this.rawNode = rawNode;
          this.segmented = false;
        },
        // mode manipulations
        setAbsoluteMode: function setAbsoluteMode(mode) {
          // summary:
          //		sets an absolute or relative mode for path points
          // mode: Boolean
          //		true/false or "absolute"/"relative" to specify the mode
          this._confirmSegmented();

          this.absolute = typeof mode == "string" ? mode == "absolute" : mode;
          return this; // self
        },
        getAbsoluteMode: function getAbsoluteMode() {
          // summary:
          //		returns a current value of the absolute mode
          this._confirmSegmented();

          return this.absolute; // Boolean
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box {x, y, width, height} or null
          this._confirmSegmented();

          return this.bbox && "l" in this.bbox ? {
            x: this.bbox.l,
            y: this.bbox.t,
            width: this.bbox.r - this.bbox.l,
            height: this.bbox.b - this.bbox.t
          } : null; // dojox/gfx.Rectangle
        },
        _getRealBBox: function _getRealBBox() {
          // summary:
          //		returns an array of four points or null
          //		four points represent four corners of the untransformed bounding box
          this._confirmSegmented();

          if (this.tbbox) {
            return this.tbbox; // Array
          }

          var bbox = this.bbox,
              matrix = this._getRealMatrix();

          this.bbox = null;

          for (var i = 0, len = this.segments.length; i < len; ++i) {
            this._updateWithSegment(this.segments[i], matrix);
          }

          var t = this.bbox;
          this.bbox = bbox;
          this.tbbox = t ? [{
            x: t.l,
            y: t.t
          }, {
            x: t.r,
            y: t.t
          }, {
            x: t.r,
            y: t.b
          }, {
            x: t.l,
            y: t.b
          }] : null;
          return this.tbbox; // Array
        },
        getLastPosition: function getLastPosition() {
          // summary:
          //		returns the last point in the path, or null
          this._confirmSegmented();

          return "x" in this.last ? this.last : null; // Object
        },
        _applyTransform: function _applyTransform() {
          this.tbbox = null;
          return this.inherited(arguments);
        },
        // segment interpretation
        _updateBBox: function _updateBBox(x, y, m) {
          // summary:
          //		updates the bounding box of path with new point
          // x: Number
          //		an x coordinate
          // y: Number
          //		a y coordinate
          if (m) {
            var t = matrix.multiplyPoint(m, x, y);
            x = t.x;
            y = t.y;
          } // we use {l, b, r, t} representation of a bbox


          if (this.bbox && "l" in this.bbox) {
            if (this.bbox.l > x) this.bbox.l = x;
            if (this.bbox.r < x) this.bbox.r = x;
            if (this.bbox.t > y) this.bbox.t = y;
            if (this.bbox.b < y) this.bbox.b = y;
          } else {
            this.bbox = {
              l: x,
              b: y,
              r: x,
              t: y
            };
          }
        },
        _updateWithSegment: function _updateWithSegment(segment, matrix) {
          // summary:
          //		updates the bounding box of path with new segment
          // segment: Object
          //		a segment
          var n = segment.args,
              l = n.length,
              i; // update internal variables: bbox, absolute, last

          switch (segment.action) {
            case "M":
            case "L":
            case "C":
            case "S":
            case "Q":
            case "T":
              for (i = 0; i < l; i += 2) {
                this._updateBBox(n[i], n[i + 1], matrix);
              }

              this.last.x = n[l - 2];
              this.last.y = n[l - 1];
              this.absolute = true;
              break;

            case "H":
              for (i = 0; i < l; ++i) {
                this._updateBBox(n[i], this.last.y, matrix);
              }

              this.last.x = n[l - 1];
              this.absolute = true;
              break;

            case "V":
              for (i = 0; i < l; ++i) {
                this._updateBBox(this.last.x, n[i], matrix);
              }

              this.last.y = n[l - 1];
              this.absolute = true;
              break;

            case "m":
              var start = 0;

              if (!("x" in this.last)) {
                this._updateBBox(this.last.x = n[0], this.last.y = n[1], matrix);

                start = 2;
              }

              for (i = start; i < l; i += 2) {
                this._updateBBox(this.last.x += n[i], this.last.y += n[i + 1], matrix);
              }

              this.absolute = false;
              break;

            case "l":
            case "t":
              for (i = 0; i < l; i += 2) {
                this._updateBBox(this.last.x += n[i], this.last.y += n[i + 1], matrix);
              }

              this.absolute = false;
              break;

            case "h":
              for (i = 0; i < l; ++i) {
                this._updateBBox(this.last.x += n[i], this.last.y, matrix);
              }

              this.absolute = false;
              break;

            case "v":
              for (i = 0; i < l; ++i) {
                this._updateBBox(this.last.x, this.last.y += n[i], matrix);
              }

              this.absolute = false;
              break;

            case "c":
              for (i = 0; i < l; i += 6) {
                this._updateBBox(this.last.x + n[i], this.last.y + n[i + 1], matrix);

                this._updateBBox(this.last.x + n[i + 2], this.last.y + n[i + 3], matrix);

                this._updateBBox(this.last.x += n[i + 4], this.last.y += n[i + 5], matrix);
              }

              this.absolute = false;
              break;

            case "s":
            case "q":
              for (i = 0; i < l; i += 4) {
                this._updateBBox(this.last.x + n[i], this.last.y + n[i + 1], matrix);

                this._updateBBox(this.last.x += n[i + 2], this.last.y += n[i + 3], matrix);
              }

              this.absolute = false;
              break;

            case "A":
              for (i = 0; i < l; i += 7) {
                this._updateBBox(n[i + 5], n[i + 6], matrix);
              }

              this.last.x = n[l - 2];
              this.last.y = n[l - 1];
              this.absolute = true;
              break;

            case "a":
              for (i = 0; i < l; i += 7) {
                this._updateBBox(this.last.x += n[i + 5], this.last.y += n[i + 6], matrix);
              }

              this.absolute = false;
              break;
          } // add an SVG path segment


          var path = [segment.action];

          for (i = 0; i < l; ++i) {
            path.push(g.formatNumber(n[i], true));
          }

          if (typeof this.shape.path == "string") {
            this.shape.path += path.join("");
          } else {
            for (i = 0, l = path.length; i < l; ++i) {
              this.shape.path.push(path[i]);
            }
          }
        },
        // a dictionary, which maps segment type codes to a number of their arguments
        _validSegments: {
          m: 2,
          l: 2,
          h: 1,
          v: 1,
          c: 6,
          s: 4,
          q: 4,
          t: 2,
          a: 7,
          z: 0
        },
        _pushSegment: function _pushSegment(action, args) {
          // summary:
          //		adds a segment
          // action: String
          //		valid SVG code for a segment's type
          // args: Array
          //		a list of parameters for this segment
          this.tbbox = null;

          var group = this._validSegments[action.toLowerCase()],
              segment;

          if (typeof group == "number") {
            if (group) {
              if (args.length >= group) {
                segment = {
                  action: action,
                  args: args.slice(0, args.length - args.length % group)
                };
                this.segments.push(segment);

                this._updateWithSegment(segment);
              }
            } else {
              segment = {
                action: action,
                args: []
              };
              this.segments.push(segment);

              this._updateWithSegment(segment);
            }
          }
        },
        _collectArgs: function _collectArgs(array, args) {
          // summary:
          //		converts an array of arguments to plain numeric values
          // array: Array
          //		an output argument (array of numbers)
          // args: Array
          //		an input argument (can be values of Boolean, Number, dojox/gfx.Point, or an embedded array of them)
          for (var i = 0; i < args.length; ++i) {
            var t = args[i];

            if (typeof t == "boolean") {
              array.push(t ? 1 : 0);
            } else if (typeof t == "number") {
              array.push(t);
            } else if (t instanceof Array) {
              this._collectArgs(array, t);
            } else if ("x" in t && "y" in t) {
              array.push(t.x, t.y);
            }
          }
        },
        // segments
        moveTo: function moveTo() {
          // summary:
          //		forms a move segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "M" : "m", args);

          return this; // self
        },
        lineTo: function lineTo() {
          // summary:
          //		forms a line segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "L" : "l", args);

          return this; // self
        },
        hLineTo: function hLineTo() {
          // summary:
          //		forms a horizontal line segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "H" : "h", args);

          return this; // self
        },
        vLineTo: function vLineTo() {
          // summary:
          //		forms a vertical line segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "V" : "v", args);

          return this; // self
        },
        curveTo: function curveTo() {
          // summary:
          //		forms a curve segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "C" : "c", args);

          return this; // self
        },
        smoothCurveTo: function smoothCurveTo() {
          // summary:
          //		forms a smooth curve segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "S" : "s", args);

          return this; // self
        },
        qCurveTo: function qCurveTo() {
          // summary:
          //		forms a quadratic curve segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "Q" : "q", args);

          return this; // self
        },
        qSmoothCurveTo: function qSmoothCurveTo() {
          // summary:
          //		forms a quadratic smooth curve segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "T" : "t", args);

          return this; // self
        },
        arcTo: function arcTo() {
          // summary:
          //		forms an elliptic arc segment
          this._confirmSegmented();

          var args = [];

          this._collectArgs(args, arguments);

          this._pushSegment(this.absolute ? "A" : "a", args);

          return this; // self
        },
        closePath: function closePath() {
          // summary:
          //		closes a path
          this._confirmSegmented();

          this._pushSegment("Z", []);

          return this; // self
        },
        _confirmSegmented: function _confirmSegmented() {
          if (!this.segmented) {
            var path = this.shape.path; // switch to non-updating version of path building

            this.shape.path = [];

            this._setPath(path); // switch back to the string path


            this.shape.path = this.shape.path.join(""); // become segmented

            this.segmented = true;
          }
        },
        // setShape
        _setPath: function _setPath(path) {
          // summary:
          //		forms a path using an SVG path string
          // path: String
          //		an SVG path string
          var p = lang.isArray(path) ? path : path.match(g.pathSvgRegExp);
          this.segments = [];
          this.absolute = true;
          this.bbox = {};
          this.last = {};
          if (!p) return; // create segments

          var action = "",
              // current action
          args = [],
              // current arguments
          l = p.length;

          for (var i = 0; i < l; ++i) {
            var t = p[i],
                x = parseFloat(t);

            if (isNaN(x)) {
              if (action) {
                this._pushSegment(action, args);
              }

              args = [];
              action = t;
            } else {
              args.push(x);
            }
          }

          this._pushSegment(action, args);
        },
        setShape: function setShape(newShape) {
          // summary:
          //		forms a path using a shape
          // newShape: Object
          //		an SVG path string or a path object (see dojox/gfx.defaultPath)
          this.inherited(arguments, [typeof newShape == "string" ? {
            path: newShape
          } : newShape]);
          this.segmented = false;
          this.segments = [];

          if (!g.lazyPathSegmentation) {
            this._confirmSegmented();
          }

          return this; // self
        },
        // useful constant for descendants
        _2PI: Math.PI * 2
      });
      var TextPath = declare("dojox.gfx.path.TextPath", Path, {
        // summary:
        //		a generalized TextPath shape
        constructor: function constructor(rawNode) {
          // summary:
          //		a TextPath shape constructor
          // rawNode: Node
          //		a DOM node to be used by this TextPath object
          if (!("text" in this)) {
            this.text = lang.clone(g.defaultTextPath);
          }

          if (!("fontStyle" in this)) {
            this.fontStyle = lang.clone(g.defaultFont);
          }
        },
        getText: function getText() {
          // summary:
          //		returns the current text object or null
          return this.text; // Object
        },
        setText: function setText(newText) {
          // summary:
          //		sets a text to be drawn along the path
          this.text = g.makeParameters(this.text, typeof newText == "string" ? {
            text: newText
          } : newText);

          this._setText();

          return this; // self
        },
        getFont: function getFont() {
          // summary:
          //		returns the current font object or null
          return this.fontStyle; // Object
        },
        setFont: function setFont(newFont) {
          // summary:
          //		sets a font for text
          this.fontStyle = typeof newFont == "string" ? g.splitFontString(newFont) : g.makeParameters(g.defaultFont, newFont);

          this._setFont();

          return this; // self
        }
      });
      /*=====
      g.Path = Path;
      g.TextPath = TextPath;
      =====*/

      return g.path = {
        // summary:
        //		This module contains the core graphics Path API.
        //		Path command format follows the W3C SVG 1.0 Path api.
        Path: Path,
        TextPath: TextPath
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/dojox/gfx/shape.js":
  /*!*****************************************!*\
    !*** ./node_modules/dojox/gfx/shape.js ***!
    \*****************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxGfxShapeJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! ./_base */
    "./node_modules/dojox/gfx/_base.js"), __webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! dojo/_base/declare */
    "./node_modules/dojo/_base/declare.js"), __webpack_require__(
    /*! dojo/_base/kernel */
    "./node_modules/dojo/_base/kernel.js"), __webpack_require__(
    /*! dojo/_base/sniff */
    "./node_modules/dojo/_base/sniff.js"), __webpack_require__(
    /*! dojo/on */
    "./node_modules/dojo/on.js"), __webpack_require__(
    /*! dojo/_base/array */
    "./node_modules/dojo/_base/array.js"), __webpack_require__(
    /*! dojo/dom-construct */
    "./node_modules/dojo/dom-construct.js"), __webpack_require__(
    /*! dojo/_base/Color */
    "./node_modules/dojo/_base/Color.js"), __webpack_require__(
    /*! ./matrix */
    "./node_modules/dojox/gfx/matrix.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (g, lang, declare, kernel, has, _on2, arr, domConstruct, Color, matrixLib) {
      function removeItemAt(a, index) {
        var len = a.length - 1;

        while (index < len) {
          a[index] = a[++index];
        }

        a.length = len;
      }

      var shape = g.shape = {// summary:
        //		This module contains the core graphics Shape API.
        //		Different graphics renderer implementation modules (svg, canvas, vml, silverlight, etc.) extend this
        //		basic api to provide renderer-specific implementations for each shape.
      };
      shape.Shape = declare("dojox.gfx.shape.Shape", null, {
        // summary:
        //		a Shape object, which knows how to apply
        //		graphical attributes and transformations
        constructor: function constructor() {
          // rawNode: Node
          //		underlying graphics-renderer-specific implementation object (if applicable)
          this.rawNode = null; // shape: Object
          //		an abstract shape object
          //		(see dojox/gfx.defaultPath,
          //		dojox/gfx.defaultPolyline,
          //		dojox/gfx.defaultRect,
          //		dojox/gfx.defaultEllipse,
          //		dojox/gfx.defaultCircle,
          //		dojox/gfx.defaultLine,
          //		or dojox/gfx.defaultImage)

          this.shape = null; // matrix: dojox/gfx/matrix.Matrix2D
          //		a transformation matrix

          this.matrix = null; // fillStyle: dojox/gfx.Fill
          //		a fill object
          //		(see dojox/gfx.defaultLinearGradient,
          //		dojox/gfx.defaultRadialGradient,
          //		dojox/gfx.defaultPattern,
          //		or dojo/Color)

          this.fillStyle = null; // strokeStyle: dojox/gfx.Stroke
          //		a stroke object
          //		(see dojox/gfx.defaultStroke)

          this.strokeStyle = null; // bbox: dojox/gfx.Rectangle
          //		a bounding box of this shape
          //		(see dojox/gfx.defaultRect)

          this.bbox = null; // virtual group structure
          // parent: Object
          //		a parent or null
          //		(see dojox/gfx/shape.Surface,
          //		or dojox/gfx.Group)

          this.parent = null; // parentMatrix: dojox/gfx/matrix.Matrix2D
          //		a transformation matrix inherited from the parent

          this.parentMatrix = null;

          if (has("gfxRegistry")) {
            var uid = shape.register(this);

            this.getUID = function () {
              return uid;
            };
          }
        },
        destroy: function destroy() {
          // summary:
          //		Releases all internal resources owned by this shape. Once this method has been called,
          //		the instance is considered destroyed and should not be used anymore.
          if (has("gfxRegistry")) {
            shape.dispose(this);
          }

          if (this.rawNode && "__gfxObject__" in this.rawNode) {
            this.rawNode.__gfxObject__ = null;
          }

          this.rawNode = null;
        },
        // trivial getters
        getNode: function getNode() {
          // summary:
          //		Different graphics rendering subsystems implement shapes in different ways.  This
          //		method provides access to the underlying graphics subsystem object.  Clients calling this
          //		method and using the return value must be careful not to try sharing or using the underlying node
          //		in a general way across renderer implementation.
          //		Returns the underlying graphics Node, or null if no underlying graphics node is used by this shape.
          return this.rawNode; // Node
        },
        getShape: function getShape() {
          // summary:
          //		returns the current Shape object or null
          //		(see dojox/gfx.defaultPath,
          //		dojox/gfx.defaultPolyline,
          //		dojox/gfx.defaultRect,
          //		dojox/gfx.defaultEllipse,
          //		dojox/gfx.defaultCircle,
          //		dojox/gfx.defaultLine,
          //		or dojox/gfx.defaultImage)
          return this.shape; // Object
        },
        getTransform: function getTransform() {
          // summary:
          //		Returns the current transformation matrix applied to this Shape or null
          return this.matrix; // dojox/gfx/matrix.Matrix2D
        },
        getFill: function getFill() {
          // summary:
          //		Returns the current fill object or null
          //		(see dojox/gfx.defaultLinearGradient,
          //		dojox/gfx.defaultRadialGradient,
          //		dojox/gfx.defaultPattern,
          //		or dojo/Color)
          return this.fillStyle; // Object
        },
        getStroke: function getStroke() {
          // summary:
          //		Returns the current stroke object or null
          //		(see dojox/gfx.defaultStroke)
          return this.strokeStyle; // Object
        },
        getParent: function getParent() {
          // summary:
          //		Returns the parent Shape, Group or null if this Shape is unparented.
          //		(see dojox/gfx/shape.Surface,
          //		or dojox/gfx.Group)
          return this.parent; // Object
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		Returns the bounding box Rectangle for this shape or null if a BoundingBox cannot be
          //		calculated for the shape on the current renderer or for shapes with no geometric area (points).
          //		A bounding box is a rectangular geometric region
          //		defining the X and Y extent of the shape.
          //		(see dojox/gfx.defaultRect)
          //		Note that this method returns a direct reference to the attribute of this instance. Therefore you should
          //		not modify its value directly but clone it instead.
          return this.bbox; // dojox/gfx.Rectangle
        },
        getTransformedBoundingBox: function getTransformedBoundingBox() {
          // summary:
          //		returns an array of four points or null
          //		four points represent four corners of the untransformed bounding box
          var b = this.getBoundingBox();

          if (!b) {
            return null; // null
          }

          var m = this._getRealMatrix(),
              gm = matrixLib;

          return [// Array
          gm.multiplyPoint(m, b.x, b.y), gm.multiplyPoint(m, b.x + b.width, b.y), gm.multiplyPoint(m, b.x + b.width, b.y + b.height), gm.multiplyPoint(m, b.x, b.y + b.height)];
        },
        getEventSource: function getEventSource() {
          // summary:
          //		returns a Node, which is used as
          //		a source of events for this shape
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          return this.rawNode; // Node
        },
        // empty settings
        setClip: function setClip(clip) {
          // summary:
          //		sets the clipping area of this shape.
          // description:
          //		The clipping area defines the shape area that will be effectively visible. Everything that
          //		would be drawn outside of the clipping area will not be rendered.
          //		The possible clipping area types are rectangle, ellipse, polyline and path, but all are not
          //		supported by all the renderers. vml only supports rectangle clipping, while the gfx silverlight renderer does not
          //		support path clipping.
          //		The clip parameter defines the clipping area geometry, and should be an object with the following properties:
          //
          //		- {x:Number, y:Number, width:Number, height:Number} for rectangular clip
          //		- {cx:Number, cy:Number, rx:Number, ry:Number} for ellipse clip
          //		- {points:Array} for polyline clip
          //		- {d:String} for a path clip.
          //
          //		The clip geometry coordinates are expressed in the coordinate system used to draw the shape. In other
          //		words, the clipping area is defined in the shape parent coordinate system and the shape transform is automatically applied.
          // example:
          //		The following example shows how to clip a gfx image with all the possible clip geometry: a rectangle,
          //		an ellipse, a circle (using the ellipse geometry), a polyline and a path:
          //
          //	|	surface.createImage({src:img, width:200,height:200}).setClip({x:10,y:10,width:50,height:50});
          //	|	surface.createImage({src:img, x:100,y:50,width:200,height:200}).setClip({cx:200,cy:100,rx:20,ry:30});
          //	|	surface.createImage({src:img, x:0,y:350,width:200,height:200}).setClip({cx:100,cy:425,rx:60,ry:60});
          //	|	surface.createImage({src:img, x:300,y:0,width:200,height:200}).setClip({points:[350,0,450,50,380,130,300,110]});
          //	|	surface.createImage({src:img, x:300,y:350,width:200,height:200}).setClip({d:"M 350,350 C314,414 317,557 373,450.0000 z"});
          // clip: Object
          //		an object that defines the clipping geometry, or null to remove clip.
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          this.clip = clip;
        },
        getClip: function getClip() {
          return this.clip;
        },
        setShape: function setShape(shape) {
          // summary:
          //		sets a shape object
          //		(the default implementation simply ignores it)
          // shape: Object
          //		a shape object
          //		(see dojox/gfx.defaultPath,
          //		dojox/gfx.defaultPolyline,
          //		dojox/gfx.defaultRect,
          //		dojox/gfx.defaultEllipse,
          //		dojox/gfx.defaultCircle,
          //		dojox/gfx.defaultLine,
          //		or dojox/gfx.defaultImage)
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          this.shape = g.makeParameters(this.shape, shape);
          this.bbox = null;
          return this; // self
        },
        setFill: function setFill(fill) {
          // summary:
          //		sets a fill object
          //		(the default implementation simply ignores it)
          // fill: Object
          //		a fill object
          //		(see dojox/gfx.defaultLinearGradient,
          //		dojox/gfx.defaultRadialGradient,
          //		dojox/gfx.defaultPattern,
          //		or dojo/_base/Color)
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          if (!fill) {
            // don't fill
            this.fillStyle = null;
            return this; // self
          }

          var f = null;

          if (typeof fill == "object" && "type" in fill) {
            // gradient or pattern
            switch (fill.type) {
              case "linear":
                f = g.makeParameters(g.defaultLinearGradient, fill);
                break;

              case "radial":
                f = g.makeParameters(g.defaultRadialGradient, fill);
                break;

              case "pattern":
                f = g.makeParameters(g.defaultPattern, fill);
                break;
            }
          } else {
            // color object
            f = g.normalizeColor(fill);
          }

          this.fillStyle = f;
          return this; // self
        },
        setStroke: function setStroke(stroke) {
          // summary:
          //		sets a stroke object
          //		(the default implementation simply ignores it)
          // stroke: Object
          //		a stroke object
          //		(see dojox/gfx.defaultStroke)
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          if (!stroke) {
            // don't stroke
            this.strokeStyle = null;
            return this; // self
          } // normalize the stroke


          if (typeof stroke == "string" || lang.isArray(stroke) || stroke instanceof Color) {
            stroke = {
              color: stroke
            };
          }

          var s = this.strokeStyle = g.makeParameters(g.defaultStroke, stroke);
          s.color = g.normalizeColor(s.color);
          return this; // self
        },
        setTransform: function setTransform(matrix) {
          // summary:
          //		sets a transformation matrix
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a matrix or a matrix-like object
          //		(see an argument of dojox/gfx/matrix.Matrix2D
          //		constructor for a list of acceptable arguments)
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          this.matrix = matrixLib.clone(matrix ? matrixLib.normalize(matrix) : matrixLib.identity);
          return this._applyTransform(); // self
        },
        _applyTransform: function _applyTransform() {
          // summary:
          //		physically sets a matrix
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          return this; // self
        },
        // z-index
        moveToFront: function moveToFront() {
          // summary:
          //		moves a shape to front of its parent's list of shapes
          var p = this.getParent();

          if (p) {
            p._moveChildToFront(this);

            this._moveToFront(); // execute renderer-specific action

          }

          return this; // self
        },
        moveToBack: function moveToBack() {
          // summary:
          //		moves a shape to back of its parent's list of shapes
          var p = this.getParent();

          if (p) {
            p._moveChildToBack(this);

            this._moveToBack(); // execute renderer-specific action

          }

          return this;
        },
        _moveToFront: function _moveToFront() {// summary:
          //		renderer-specific hook, see dojox/gfx/shape.Shape.moveToFront()
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
        },
        _moveToBack: function _moveToBack() {// summary:
          //		renderer-specific hook, see dojox/gfx/shape.Shape.moveToFront()
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
        },
        // apply left & right transformation
        applyRightTransform: function applyRightTransform(matrix) {
          // summary:
          //		multiplies the existing matrix with an argument on right side
          //		(this.matrix * matrix)
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a matrix or a matrix-like object
          //		(see an argument of dojox/gfx/matrix.Matrix2D
          //		constructor for a list of acceptable arguments)
          return matrix ? this.setTransform([this.matrix, matrix]) : this; // self
        },
        applyLeftTransform: function applyLeftTransform(matrix) {
          // summary:
          //		multiplies the existing matrix with an argument on left side
          //		(matrix * this.matrix)
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a matrix or a matrix-like object
          //		(see an argument of dojox/gfx/matrix.Matrix2D
          //		constructor for a list of acceptable arguments)
          return matrix ? this.setTransform([matrix, this.matrix]) : this; // self
        },
        applyTransform: function applyTransform(matrix) {
          // summary:
          //		a shortcut for dojox/gfx/shape.Shape.applyRightTransform
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a matrix or a matrix-like object
          //		(see an argument of dojox/gfx/matrix.Matrix2D
          //		constructor for a list of acceptable arguments)
          return matrix ? this.setTransform([this.matrix, matrix]) : this; // self
        },
        // virtual group methods
        removeShape: function removeShape(silently) {
          // summary:
          //		removes the shape from its parent's list of shapes
          // silently: Boolean
          //		if true, do not redraw a picture yet
          if (this.parent) {
            this.parent.remove(this, silently);
          }

          return this; // self
        },
        _setParent: function _setParent(parent, matrix) {
          // summary:
          //		sets a parent
          // parent: Object
          //		a parent or null
          //		(see dojox/gfx/shape.Surface,
          //		or dojox/gfx.Group)
          // matrix: dojox/gfx/matrix.Matrix2D
          //		a 2D matrix or a matrix-like object
          this.parent = parent;
          return this._updateParentMatrix(matrix); // self
        },
        _updateParentMatrix: function _updateParentMatrix(matrix) {
          // summary:
          //		updates the parent matrix with new matrix
          // matrix: dojox/gfx/Matrix2D
          //		a 2D matrix or a matrix-like object
          this.parentMatrix = matrix ? matrixLib.clone(matrix) : null;
          return this._applyTransform(); // self
        },
        _getRealMatrix: function _getRealMatrix() {
          // summary:
          //		returns the cumulative ('real') transformation matrix
          //		by combining the shape's matrix with its parent's matrix
          var m = this.matrix;
          var p = this.parent;

          while (p) {
            if (p.matrix) {
              m = matrixLib.multiply(p.matrix, m);
            }

            p = p.parent;
          }

          return m; // dojox/gfx/matrix.Matrix2D
        }
      });
      shape._eventsProcessing = {
        on: function on(type, listener) {
          //	summary:
          //		Connects an event to this shape.
          return _on2(this.getEventSource(), type, shape.fixCallback(this, g.fixTarget, listener));
        },
        connect: function connect(name, object, method) {
          // summary:
          //		connects a handler to an event on this shape
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          // redirect to fixCallback to normalize events and add the gfxTarget to the event. The latter
          // is done by dojox/gfx.fixTarget which is defined by each renderer
          if (name.substring(0, 2) == "on") {
            name = name.substring(2);
          }

          return this.on(name, method ? lang.hitch(object, method) : object);
        },
        disconnect: function disconnect(token) {
          // summary:
          //		connects a handler by token from an event on this shape
          // COULD BE RE-IMPLEMENTED BY THE RENDERER!
          return token.remove();
        }
      };

      shape.fixCallback = function (gfxElement, fixFunction, scope, method) {
        // summary:
        //		Wraps the callback to allow for tests and event normalization
        //		before it gets invoked. This is where 'fixTarget' is invoked.
        // tags:
        //      private
        // gfxElement: Object
        //		The GFX object that triggers the action (ex.:
        //		dojox/gfx.Surface and dojox/gfx/shape.Shape). A new event property
        //		'gfxTarget' is added to the event to reference this object.
        //		for easy manipulation of GFX objects by the event handlers.
        // fixFunction: Function
        //		The function that implements the logic to set the 'gfxTarget'
        //		property to the event. It should be 'dojox/gfx.fixTarget' for
        //		most of the cases
        // scope: Object
        //		Optional. The scope to be used when invoking 'method'. If
        //		omitted, a global scope is used.
        // method: Function|String
        //		The original callback to be invoked.
        if (!method) {
          method = scope;
          scope = null;
        }

        if (lang.isString(method)) {
          scope = scope || kernel.global;

          if (!scope[method]) {
            throw ['dojox.gfx.shape.fixCallback: scope["', method, '"] is null (scope="', scope, '")'].join('');
          }

          return function (e) {
            return fixFunction(e, gfxElement) ? scope[method].apply(scope, arguments || []) : undefined;
          }; // Function
        }

        return !scope ? function (e) {
          return fixFunction(e, gfxElement) ? method.apply(scope, arguments) : undefined;
        } : function (e) {
          return fixFunction(e, gfxElement) ? method.apply(scope, arguments || []) : undefined;
        }; // Function
      };

      lang.extend(shape.Shape, shape._eventsProcessing);
      shape.Container = {
        // summary:
        //		a container of shapes, which can be used
        //		as a foundation for renderer-specific groups, or as a way
        //		to logically group shapes (e.g, to propagate matricies)
        _init: function _init() {
          // children: Array
          //		a list of children
          this.children = [];
          this._batch = 0;
        },
        // group management
        openBatch: function openBatch() {
          // summary:
          //		starts a new batch, subsequent new child shapes will be held in
          //		the batch instead of appending to the container directly.
          // description:
          //		Because the canvas renderer has no DOM hierarchy, the canvas implementation differs
          //		such that it suspends the repaint requests for this container until the current batch is closed by a call to closeBatch().
          return this;
        },
        closeBatch: function closeBatch() {
          // summary:
          //		submits the current batch, append all pending child shapes to DOM
          // description:
          //		On canvas, this method flushes the pending redraws queue.
          return this;
        },
        add: function add(shape) {
          // summary:
          //		adds a shape to the list
          // shape: dojox/gfx/shape.Shape
          //		the shape to add to the list
          var oldParent = shape.getParent();

          if (oldParent) {
            oldParent.remove(shape, true);
          }

          this.children.push(shape);
          return shape._setParent(this, this._getRealMatrix()); // self
        },
        remove: function remove(shape, silently) {
          // summary:
          //		removes a shape from the list
          // shape: dojox/gfx/shape.Shape
          //		the shape to remove
          // silently: Boolean
          //		if true, do not redraw a picture yet
          for (var i = 0; i < this.children.length; ++i) {
            if (this.children[i] == shape) {
              if (silently) {// skip for now
              } else {
                shape.parent = null;
                shape.parentMatrix = null;
              }

              removeItemAt(this.children, i);
              break;
            }
          }

          return this; // self
        },
        clear: function clear(
        /*Boolean?*/
        destroy) {
          // summary:
          //		removes all shapes from a group/surface.
          // destroy: Boolean
          //		Indicates whether the children should be destroyed. Optional.
          var shape;

          for (var i = 0; i < this.children.length; ++i) {
            shape = this.children[i];
            shape.parent = null;
            shape.parentMatrix = null;

            if (destroy) {
              shape.destroy();
            }
          }

          this.children = [];
          return this; // self
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		Returns the bounding box Rectangle for this shape.
          if (this.children) {
            // if this is a composite shape, then sum up all the children
            var result = null;
            arr.forEach(this.children, function (shape) {
              var bb = shape.getBoundingBox();

              if (bb) {
                var ct = shape.getTransform();

                if (ct) {
                  bb = matrixLib.multiplyRectangle(ct, bb);
                }

                if (result) {
                  // merge two bbox 
                  result.x = Math.min(result.x, bb.x);
                  result.y = Math.min(result.y, bb.y);
                  result.endX = Math.max(result.endX, bb.x + bb.width);
                  result.endY = Math.max(result.endY, bb.y + bb.height);
                } else {
                  // first bbox 
                  result = {
                    x: bb.x,
                    y: bb.y,
                    endX: bb.x + bb.width,
                    endY: bb.y + bb.height
                  };
                }
              }
            });

            if (result) {
              result.width = result.endX - result.x;
              result.height = result.endY - result.y;
            }

            return result; // dojox/gfx.Rectangle
          } // unknown/empty bounding box, subclass shall override this impl 


          return null;
        },
        // moving child nodes
        _moveChildToFront: function _moveChildToFront(shape) {
          // summary:
          //		moves a shape to front of the list of shapes
          // shape: dojox/gfx/shape.Shape
          //		one of the child shapes to move to the front
          for (var i = 0; i < this.children.length; ++i) {
            if (this.children[i] == shape) {
              removeItemAt(this.children, i);
              this.children.push(shape);
              break;
            }
          }

          return this; // self
        },
        _moveChildToBack: function _moveChildToBack(shape) {
          // summary:
          //		moves a shape to back of the list of shapes
          // shape: dojox/gfx/shape.Shape
          //		one of the child shapes to move to the front
          for (var i = 0; i < this.children.length; ++i) {
            if (this.children[i] == shape) {
              removeItemAt(this.children, i);
              this.children.unshift(shape);
              break;
            }
          }

          return this; // self
        }
      };
      shape.Surface = declare("dojox.gfx.shape.Surface", null, {
        // summary:
        //		a surface object to be used for drawings
        constructor: function constructor() {
          // underlying node
          this.rawNode = null; // the parent node

          this._parent = null; // the list of DOM nodes to be deleted in the case of destruction

          this._nodes = []; // the list of events to be detached in the case of destruction

          this._events = [];
        },
        destroy: function destroy() {
          // summary:
          //		destroy all relevant external resources and release all
          //		external references to make this object garbage-collectible
          arr.forEach(this._nodes, domConstruct.destroy);
          this._nodes = [];
          arr.forEach(this._events, function (h) {
            if (h) {
              h.remove();
            }
          });
          this._events = [];
          this.rawNode = null; // recycle it in _nodes, if it needs to be recycled

          if (has("ie")) {
            while (this._parent.lastChild) {
              domConstruct.destroy(this._parent.lastChild);
            }
          } else {
            this._parent.innerHTML = "";
          }

          this._parent = null;
        },
        getEventSource: function getEventSource() {
          // summary:
          //		returns a node, which can be used to attach event listeners
          return this.rawNode; // Node
        },
        _getRealMatrix: function _getRealMatrix() {
          // summary:
          //		always returns the identity matrix
          return null; // dojox/gfx/Matrix2D
        },

        /*=====
         setDimensions: function(width, height){
        	 // summary:
        	 //		sets the width and height of the rawNode
        	 // width: String
        	 //		width of surface, e.g., "100px"
        	 // height: String
        	 //		height of surface, e.g., "100px"
        	 return this;	// self
         },
         getDimensions: function(){
        	 // summary:
        	 //     gets current width and height in pixels
        	 // returns: Object
        	 //     object with properties "width" and "height"
         },
         =====*/
        isLoaded: true,
        onLoad: function onLoad(
        /*dojox/gfx/shape.Surface*/
        surface) {// summary:
          //		local event, fired once when the surface is created
          //		asynchronously, used only when isLoaded is false, required
          //		only for Silverlight.
        },
        whenLoaded: function whenLoaded(
        /*Object|Null*/
        context,
        /*Function|String*/
        method) {
          var f = lang.hitch(context, method);

          if (this.isLoaded) {
            f(this);
          } else {
            _on2.once(this, "load", function (surface) {
              f(surface);
            });
          }
        }
      });
      lang.extend(shape.Surface, shape._eventsProcessing);
      /*=====
      g.Point = declare("dojox/gfx.Point", null, {
      	// summary:
      	//		2D point for drawings - {x, y}
      	// description:
      	//		Do not use this object directly!
      	//		Use the naked object instead: {x: 1, y: 2}.
      });
      	g.Rectangle = declare("dojox.gfx.Rectangle", null, {
      	// summary:
      	//		rectangle - {x, y, width, height}
      	// description:
      	//		Do not use this object directly!
      	//		Use the naked object instead: {x: 1, y: 2, width: 100, height: 200}.
      });
       =====*/

      shape.Rect = declare("dojox.gfx.shape.Rect", shape.Shape, {
        // summary:
        //		a generic rectangle
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		The underlying graphics system object (typically a DOM Node)
          this.shape = g.getDefault("Rect");
          this.rawNode = rawNode;
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box (its shape in this case)
          return this.shape; // dojox/gfx.Rectangle
        }
      });
      shape.Ellipse = declare("dojox.gfx.shape.Ellipse", shape.Shape, {
        // summary:
        //		a generic ellipse
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		a DOM Node
          this.shape = g.getDefault("Ellipse");
          this.rawNode = rawNode;
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box
          if (!this.bbox) {
            var shape = this.shape;
            this.bbox = {
              x: shape.cx - shape.rx,
              y: shape.cy - shape.ry,
              width: 2 * shape.rx,
              height: 2 * shape.ry
            };
          }

          return this.bbox; // dojox/gfx.Rectangle
        }
      });
      shape.Circle = declare("dojox.gfx.shape.Circle", shape.Shape, {
        // summary:
        //		a generic circle
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		a DOM Node
          this.shape = g.getDefault("Circle");
          this.rawNode = rawNode;
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box
          if (!this.bbox) {
            var shape = this.shape;
            this.bbox = {
              x: shape.cx - shape.r,
              y: shape.cy - shape.r,
              width: 2 * shape.r,
              height: 2 * shape.r
            };
          }

          return this.bbox; // dojox/gfx.Rectangle
        }
      });
      shape.Line = declare("dojox.gfx.shape.Line", shape.Shape, {
        // summary:
        //		a generic line (do not instantiate it directly)
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		a DOM Node
          this.shape = g.getDefault("Line");
          this.rawNode = rawNode;
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box
          if (!this.bbox) {
            var shape = this.shape;
            this.bbox = {
              x: Math.min(shape.x1, shape.x2),
              y: Math.min(shape.y1, shape.y2),
              width: Math.abs(shape.x2 - shape.x1),
              height: Math.abs(shape.y2 - shape.y1)
            };
          }

          return this.bbox; // dojox/gfx.Rectangle
        }
      });
      shape.Polyline = declare("dojox.gfx.shape.Polyline", shape.Shape, {
        // summary:
        //		a generic polyline/polygon (do not instantiate it directly)
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		a DOM Node
          this.shape = g.getDefault("Polyline");
          this.rawNode = rawNode;
        },
        setShape: function setShape(points, closed) {
          // summary:
          //		sets a polyline/polygon shape object
          // points: Object|Array
          //		a polyline/polygon shape object, or an array of points
          // closed: Boolean
          //		close the polyline to make a polygon
          if (points && points instanceof Array) {
            this.inherited(arguments, [{
              points: points
            }]);

            if (closed && this.shape.points.length) {
              this.shape.points.push(this.shape.points[0]);
            }
          } else {
            this.inherited(arguments, [points]);
          }

          return this; // self
        },
        _normalizePoints: function _normalizePoints() {
          // summary:
          //		normalize points to array of {x:number, y:number}
          var p = this.shape.points,
              l = p && p.length;

          if (l && typeof p[0] == "number") {
            var points = [];

            for (var i = 0; i < l; i += 2) {
              points.push({
                x: p[i],
                y: p[i + 1]
              });
            }

            this.shape.points = points;
          }
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box
          if (!this.bbox && this.shape.points.length) {
            var p = this.shape.points;
            var l = p.length;
            var t = p[0];
            var bbox = {
              l: t.x,
              t: t.y,
              r: t.x,
              b: t.y
            };

            for (var i = 1; i < l; ++i) {
              t = p[i];
              if (bbox.l > t.x) bbox.l = t.x;
              if (bbox.r < t.x) bbox.r = t.x;
              if (bbox.t > t.y) bbox.t = t.y;
              if (bbox.b < t.y) bbox.b = t.y;
            }

            this.bbox = {
              x: bbox.l,
              y: bbox.t,
              width: bbox.r - bbox.l,
              height: bbox.b - bbox.t
            };
          }

          return this.bbox; // dojox/gfx.Rectangle
        }
      });
      shape.Image = declare("dojox.gfx.shape.Image", shape.Shape, {
        // summary:
        //		a generic image (do not instantiate it directly)
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		a DOM Node
          this.shape = g.getDefault("Image");
          this.rawNode = rawNode;
        },
        getBoundingBox: function getBoundingBox() {
          // summary:
          //		returns the bounding box (its shape in this case)
          return this.shape; // dojox/gfx.Rectangle
        },
        setStroke: function setStroke() {
          // summary:
          //		ignore setting a stroke style
          return this; // self
        },
        setFill: function setFill() {
          // summary:
          //		ignore setting a fill style
          return this; // self
        }
      });
      shape.Text = declare(shape.Shape, {
        // summary:
        //		a generic text (do not instantiate it directly)
        constructor: function constructor(rawNode) {
          // rawNode: Node
          //		a DOM Node
          this.fontStyle = null;
          this.shape = g.getDefault("Text");
          this.rawNode = rawNode;
        },
        getFont: function getFont() {
          // summary:
          //		returns the current font object or null
          return this.fontStyle; // Object
        },
        setFont: function setFont(newFont) {
          // summary:
          //		sets a font for text
          // newFont: Object
          //		a font object (see dojox/gfx.defaultFont) or a font string
          this.fontStyle = typeof newFont == "string" ? g.splitFontString(newFont) : g.makeParameters(g.defaultFont, newFont);

          this._setFont();

          return this; // self
        },
        getBoundingBox: function getBoundingBox() {
          var bbox = null,
              s = this.getShape();

          if (s.text) {
            bbox = g._base._computeTextBoundingBox(this);
          }

          return bbox;
        }
      });
      shape.Creator = {
        // summary:
        //		shape creators
        createShape: function createShape(shape) {
          // summary:
          //		creates a shape object based on its type; it is meant to be used
          //		by group-like objects
          // shape: Object
          //		a shape descriptor object
          // returns: dojox/gfx/shape.Shape | Null
          //      a fully instantiated surface-specific Shape object
          switch (shape.type) {
            case g.defaultPath.type:
              return this.createPath(shape);

            case g.defaultRect.type:
              return this.createRect(shape);

            case g.defaultCircle.type:
              return this.createCircle(shape);

            case g.defaultEllipse.type:
              return this.createEllipse(shape);

            case g.defaultLine.type:
              return this.createLine(shape);

            case g.defaultPolyline.type:
              return this.createPolyline(shape);

            case g.defaultImage.type:
              return this.createImage(shape);

            case g.defaultText.type:
              return this.createText(shape);

            case g.defaultTextPath.type:
              return this.createTextPath(shape);
          }

          return null;
        },
        createGroup: function createGroup() {
          // summary:
          //		creates a group shape
          return this.createObject(g.Group); // dojox/gfx/Group
        },
        createRect: function createRect(rect) {
          // summary:
          //		creates a rectangle shape
          // rect: Object
          //		a path object (see dojox/gfx.defaultRect)
          return this.createObject(g.Rect, rect); // dojox/gfx/shape.Rect
        },
        createEllipse: function createEllipse(ellipse) {
          // summary:
          //		creates an ellipse shape
          // ellipse: Object
          //		an ellipse object (see dojox/gfx.defaultEllipse)
          return this.createObject(g.Ellipse, ellipse); // dojox/gfx/shape.Ellipse
        },
        createCircle: function createCircle(circle) {
          // summary:
          //		creates a circle shape
          // circle: Object
          //		a circle object (see dojox/gfx.defaultCircle)
          return this.createObject(g.Circle, circle); // dojox/gfx/shape.Circle
        },
        createLine: function createLine(line) {
          // summary:
          //		creates a line shape
          // line: Object
          //		a line object (see dojox/gfx.defaultLine)
          return this.createObject(g.Line, line); // dojox/gfx/shape.Line
        },
        createPolyline: function createPolyline(points) {
          // summary:
          //		creates a polyline/polygon shape
          // points: Object
          //		a points object (see dojox/gfx.defaultPolyline)
          //		or an Array of points
          return this.createObject(g.Polyline, points); // dojox/gfx/shape.Polyline
        },
        createImage: function createImage(image) {
          // summary:
          //		creates a image shape
          // image: Object
          //		an image object (see dojox/gfx.defaultImage)
          return this.createObject(g.Image, image); // dojox/gfx/shape.Image
        },
        createText: function createText(text) {
          // summary:
          //		creates a text shape
          // text: Object
          //		a text object (see dojox/gfx.defaultText)
          return this.createObject(g.Text, text); // dojox/gfx/shape.Text
        },
        createPath: function createPath(path) {
          // summary:
          //		creates a path shape
          // path: Object
          //		a path object (see dojox/gfx.defaultPath)
          return this.createObject(g.Path, path); // dojox/gfx/shape.Path
        },
        createTextPath: function createTextPath(text) {
          // summary:
          //		creates a text shape
          // text: Object
          //		a textpath object (see dojox/gfx.defaultTextPath)
          return this.createObject(g.TextPath, {}).setText(text); // dojox/gfx/shape.TextPath
        },
        createObject: function createObject(shapeType, rawShape) {
          // summary:
          //		creates an instance of the passed shapeType class
          // shapeType: Function
          //		a class constructor to create an instance of
          // rawShape: Object 
          //		properties to be passed in to the classes 'setShape' method
          // SHOULD BE RE-IMPLEMENTED BY THE RENDERER!
          return null; // dojox/gfx/shape.Shape
        }
      };
      /*=====
       lang.extend(shape.Surface, shape.Container);
       lang.extend(shape.Surface, shape.Creator);
      	 g.Group = declare(shape.Shape, {
      	// summary:
      	//		a group shape, which can be used
      	//		to logically group shapes (e.g, to propagate matricies)
      });
      lang.extend(g.Group, shape.Container);
      lang.extend(g.Group, shape.Creator);
      	g.Rect     = shape.Rect;
      g.Circle   = shape.Circle;
      g.Ellipse  = shape.Ellipse;
      g.Line     = shape.Line;
      g.Polyline = shape.Polyline;
      g.Text     = shape.Text;
      g.Surface  = shape.Surface;
      =====*/

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

  /***/
  "./node_modules/dojox/string/BidiEngine.js":
  /*!*************************************************!*\
    !*** ./node_modules/dojox/string/BidiEngine.js ***!
    \*************************************************/

  /*! no static exports found */

  /***/
  function node_modulesDojoxStringBidiEngineJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;

    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
    /*! dojo/_base/lang */
    "./node_modules/dojo/_base/lang.js"), __webpack_require__(
    /*! dojo/_base/declare */
    "./node_modules/dojo/_base/declare.js"), __webpack_require__(
    /*! dojo/Stateful */
    "./node_modules/dojo/Stateful.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (lang, declare, Stateful) {
      lang.getObject("string", true, dojox);
      var BidiEngine = declare("dojox.string.BidiEngine", Stateful, {
        // summary:
        //		This class provides a bidi transformation engine, i.e.
        //		functions for reordering and shaping bidi text.
        // description:
        //		Bidi stands for support for languages with a bidirectional script.
        //
        //		Usually Unicode Bidi Algorithm used by OS platform (and web browsers) is capable of properly
        //		transforming Bidi text and as a result it is adequately displayed on the screen.
        //		However, in some situations, Unicode Bidi Algorithm is not invoked or is not properly applied.
        //		This may occur in situation in which software responsible for rendering the text is not leveraging
        //		Unicode Bidi Algorithm implemented by OS (e.g. GFX renderers).
        //
        //		Bidi engine provided in this class implements Unicode Bidi Algorithm as specified at
        //		http://www.unicode.org/reports/tr9/.
        //
        //		For more information on basic Bidi concepts please read
        //		"Bidirectional script support - A primer" available from
        //		http://www.ibm.com/developerworks/websphere/library/techarticles/bidi/bidigen.html.
        //
        //		As of February 2011, Bidi engine has following limitations:
        //
        //		1. No support for following numeric shaping options:
        //			- H - Hindi,
        //			- C - Contextual,
        //			- N - Nominal.
        //		2. No support for following shaping options:
        //			- I - Initial shaping,
        //			- M - Middle shaping,
        //			- F - Final shaping,
        //			- B - Isolated shaping.
        //		3. No support for LRE/RLE/LRO/RLO/PDF (they are handled like neutrals).
        //		4. No support for Windows compatibility.
        //		5. No support for  insert/remove marks.
        //		6. No support for code pages.
        //
        // Input Bidi layout in which inputText is passed to the function.
        inputFormat: "ILYNN",
        // Output Bidi layout to which inputText should be transformed.
        outputFormat: "VLNNN",
        // Array, containing positions of each character from the source text in the resulting text.
        sourceToTarget: [],
        // Array, containing positions of each character from the resulting text in the source text.
        targetToSource: [],
        // Array, containing bidi level of each character from the source text
        levels: [],
        bidiTransform: function bidiTransform(
        /*String*/
        text,
        /*String*/
        formatIn,
        /*String*/
        formatOut) {
          // summary:
          //		Central public API for Bidi engine. Transforms the text according to formatIn, formatOut
          //		parameters. If formatIn or formatOut parametrs are not valid throws an exception.
          // inputText:
          //		Input text subject to application of Bidi transformation.
          // formatIn:
          //		Input Bidi layout in which inputText is passed to the function.
          // formatOut:
          //		Output Bidi layout to which inputText should be transformed.
          // description:
          //		Both formatIn and formatOut parameters are 5 letters long strings.
          //		For example - "ILYNN". Each letter is associated with specific attribute of Bidi layout.
          //		Possible and default values for each one of the letters are provided below:
          //
          //		First letter:
          //
          //		- Letter position/index:
          //			1
          //		- Letter meaning:
          //			Ordering Schema.
          //		- Possible values:
          //			- I - Implicit (Logical).
          //			- V - Visual.
          //		- Default value:
          //			I
          //
          //		Second letter:
          //
          //		- Letter position/index:
          //			2
          //		- Letter meaning:
          //			Orientation.
          //		- Possible values:
          //			- L - Left To Right.
          //			- R - Right To Left.
          //			- C - Contextual Left to Right.
          //			- D - Contextual Right to Left.
          //		- Default value:
          //			L
          //
          //		Third letter:
          //
          //		- Letter position/index:
          //			3
          //		- Letter meaning:
          //			Symmetric Swapping.
          //		- Possible values:
          //			- Y - Symmetric swapping is on.
          //			- N - Symmetric swapping is off.
          //		- Default value:
          //			Y
          //
          //		Fourth letter:
          //
          //		- Letter position/index:
          //			4
          //		- Letter meaning:
          //			Shaping.
          //		- Possible values:
          //			- S - Text is shaped.
          //			- N - Text is not shaped.
          //		- Default value:
          //			N
          //
          //		Fifth letter:
          //
          //		- Letter position/index:
          //			5
          //		- Letter meaning:
          //			Numeric Shaping.
          //		- Possible values:
          //			- N - Nominal.
          //		- Default value:
          //			N
          //
          //		The output of this function is original text (passed via first argument) transformed from
          //		input Bidi layout (second argument) to output Bidi layout (last argument).
          //
          //		Sample call:
          //	|	mytext = bidiTransform("HELLO WORLD", "ILYNN", "VLYNN");
          //		In this case, "HELLO WORLD" text is transformed from Logical - LTR to Visual - LTR Bidi layout
          //		with default values for symmetric swapping (Yes), shaping (Not shaped) and numeric shaping
          //		(Nominal).
          // returns: String
          //		Original text transformed from input Bidi layout (second argument)
          //		to output Bidi layout (last argument).
          //		Throws an exception if the bidi layout strings are not valid.
          // tags:
          //		public
          this.sourceToTarget = [];
          this.targetToSource = [];

          if (!text) {
            return "";
          }

          initMaps(this.sourceToTarget, this.targetToSource, text.length);

          if (!this.checkParameters(formatIn, formatOut)) {
            return text;
          }

          formatIn = this.inputFormat;
          formatOut = this.outputFormat;
          var result = text;
          var bdx = BDX;
          var orientIn = getOrientation(formatIn.charAt(1)),
              orientOut = getOrientation(formatOut.charAt(1)),
              osIn = formatIn.charAt(0) === "I" ? "L" : formatIn.charAt(0),
              osOut = formatOut.charAt(0) === "I" ? "L" : formatOut.charAt(0),
              inFormat = osIn + orientIn,
              outFormat = osOut + orientOut,
              swap = formatIn.charAt(2) + formatOut.charAt(2);
          bdx.defInFormat = inFormat;
          bdx.defOutFormat = outFormat;
          bdx.defSwap = swap;
          var stage1Text = doBidiReorder(text, inFormat, outFormat, swap, bdx),
              isRtl = false;

          if (formatOut.charAt(1) === "R") {
            isRtl = true;
          } else if (formatOut.charAt(1) === "C" || formatOut.charAt(1) === "D") {
            isRtl = this.checkContextual(stage1Text);
          }

          this.sourceToTarget = stMap;
          this.targetToSource = reverseMap(this.sourceToTarget);
          tsMap = this.targetToSource;

          if (formatIn.charAt(3) === formatOut.charAt(3)) {
            result = stage1Text;
          } else if (formatOut.charAt(3) === "S") {
            result = shape(isRtl, stage1Text, true);
          } else {
            //formatOut.charAt(3) === "N"
            result = deshape(stage1Text, isRtl, true);
          }

          this.sourceToTarget = stMap;
          this.targetToSource = tsMap;
          this.levels = lvMap;
          return result;
        },
        _inputFormatSetter: function _inputFormatSetter(format) {
          if (!validFormat.test(format)) {
            throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");
          }

          this.inputFormat = format;
        },
        _outputFormatSetter: function _outputFormatSetter(format) {
          if (!validFormat.test(format)) {
            throw new Error("dojox/string/BidiEngine: the bidi layout string is wrong!");
          }

          this.outputFormat = format;
        },
        checkParameters: function checkParameters(
        /*String*/
        formatIn,
        /*String*/
        formatOut) {
          // summary:
          //		Checks layout parameters.
          // formatIn:
          //		Input Bidi layout in which inputText is passed to the function.
          // formatOut:
          //		Output Bidi layout to which inputText should be transformed.
          // description:
          //		Checks, that layout parameters are different and contain allowed values.
          //		Allowed values for format string are:
          //			- 1st letter: I, V
          //			- 2nd letter: L, R, C, D
          //			- 3rd letter: Y, N
          //			- 4th letter: S, N
          //			- 5th letter: N
          // returns: /*Boolean*/
          //		true - if layout parameters are valid.
          //		false - otherwise.
          // tags:
          //		private
          if (!formatIn) {
            formatIn = this.inputFormat;
          } else {
            this.set("inputFormat", formatIn);
          }

          if (!formatOut) {
            formatOut = this.outputFormat;
          } else {
            this.set("outputFormat", formatOut);
          }

          if (formatIn === formatOut) {
            return false;
          }

          return true;
        },
        checkContextual: function checkContextual(
        /*String*/
        text) {
          // summary:
          //		Determine the base direction of a bidi text according
          //		to its first strong directional character.
          // text:
          //		The text to check.
          // returns: /*String*/
          //		"ltr" or "rtl" according to the first strong character.
          //		If there is no strong character, returns the value of the
          //		document dir property.
          // tags:
          //		public
          var dir = firstStrongDir(text);

          if (dir !== "ltr" && dir !== "rtl") {
            try {
              dir = document.dir.toLowerCase();
            } catch (e) {}

            if (dir !== "ltr" && dir !== "rtl") {
              dir = "ltr";
            }
          }

          return dir;
        },
        hasBidiChar: function hasBidiChar(
        /*String*/
        text) {
          // summary:
          //		Return true if text contains RTL directed character.
          // text:
          //		The source string.
          // description:
          //		Searches for RTL directed character.
          //		Returns true if found, else returns false.
          // returns: /*Boolean*/
          //		true - if text has a RTL directed character.
          //		false - otherwise.
          // tags:
          //		public
          return bidiChars.test(text);
        }
      });

      function doBidiReorder(
      /*String*/
      text,
      /*String*/
      inFormat,
      /*String*/
      outFormat,
      /*String*/
      swap,
      /*Object*/
      bdx) {
        // summary:
        //		Reorder the source text according to the bidi attributes
        //		of source and result.
        // text:
        //		The text to reorder.
        // inFormat:
        //		Ordering scheme and base direction of the source text.
        //		Can be "LLTR", "LRTL", "LCLR", "LCRL", "VLTR", "VRTL",
        //		"VCLR", "VCRL".
        //		The first letter is "L" for logical ordering scheme,
        //		"V" for visual ordering scheme.
        //		The other letters specify the base direction.
        //		"CLR" means contextual direction defaulting to LTR if
        //		there is no strong letter.
        //		"CRL" means contextual direction defaulting to RTL if
        //		there is no strong letter.
        //		The initial value is "LLTR", if none, the initial value is used.
        // outFormat:
        //		Required ordering scheme and base direction of the
        //		result. Has the same format as inFormat.
        //		If none, the initial value "VLTR" is used.
        // swap:
        //		Symmetric swapping attributes of source and result.
        //		The allowed values can be "YN", "NY", "YY" and "NN".
        //		The first letter reflects the symmetric swapping attribute
        //		of the source, the second letter that of the result.
        // bdx: Object
        //		Used for intermediate data storage
        // returns:
        //		Text reordered according to source and result attributes.
        var params = prepareReorderingParameters(text, {
          inFormat: inFormat,
          outFormat: outFormat,
          swap: swap
        }, bdx);

        if (params.inFormat === params.outFormat) {
          return text;
        }

        inFormat = params.inFormat;
        outFormat = params.outFormat;
        swap = params.swap;
        var inOrdering = inFormat.substring(0, 1),
            inOrientation = inFormat.substring(1, 4),
            outOrdering = outFormat.substring(0, 1),
            outOrientation = outFormat.substring(1, 4);
        bdx.inFormat = inFormat;
        bdx.outFormat = outFormat;
        bdx.swap = swap;

        if (inOrdering === "L" && outFormat === "VLTR") {
          //core cases
          //cases: LLTR->VLTR, LRTL->VLTR
          if (inOrientation === "LTR") {
            bdx.dir = LTR;
            return doReorder(text, bdx);
          }

          if (inOrientation === "RTL") {
            bdx.dir = RTL;
            return doReorder(text, bdx);
          }
        }

        if (inOrdering === "V" && outOrdering === "V") {
          //inOrientation != outOrientation
          //cases: VRTL->VLTR, VLTR->VRTL
          bdx.dir = inOrientation === "RTL" ? RTL : LTR;
          return invertStr(text, bdx);
        }

        if (inOrdering === "L" && outFormat === "VRTL") {
          //cases: LLTR->VRTL, LRTL->VRTL
          if (inOrientation === "LTR") {
            bdx.dir = LTR;
            text = doReorder(text, bdx);
          } else {
            //inOrientation == RTL
            bdx.dir = RTL;
            text = doReorder(text, bdx);
          }

          return invertStr(text);
        }

        if (inFormat === "VLTR" && outFormat === "LLTR") {
          //case: VLTR->LLTR
          bdx.dir = LTR;
          return doReorder(text, bdx);
        }

        if (inOrdering === "V" && outOrdering === "L" && inOrientation !== outOrientation) {
          //cases: VLTR->LRTL, VRTL->LLTR
          text = invertStr(text);
          return inOrientation === "RTL" ? doBidiReorder(text, "LLTR", "VLTR", swap, bdx) : doBidiReorder(text, "LRTL", "VRTL", swap, bdx);
        }

        if (inFormat === "VRTL" && outFormat === "LRTL") {
          //case VRTL->LRTL
          return doBidiReorder(text, "LRTL", "VRTL", swap, bdx);
        }

        if (inOrdering === "L" && outOrdering === "L") {
          //inOrientation != outOrientation
          //cases: LRTL->LLTR, LLTR->LRTL
          var saveSwap = bdx.swap;
          bdx.swap = saveSwap.substr(0, 1) + "N";

          if (inOrientation === "RTL") {
            //LRTL->LLTR
            bdx.dir = RTL;
            text = doReorder(text, bdx);
            bdx.swap = "N" + saveSwap.substr(1, 2);
            bdx.dir = LTR;
            text = doReorder(text, bdx);
          } else {
            //LLTR->LRTL
            bdx.dir = LTR;
            text = doReorder(text, bdx);
            bdx.swap = "N" + saveSwap.substr(1, 2);
            text = doBidiReorder(text, "VLTR", "LRTL", bdx.swap, bdx);
          }

          return text;
        }
      }

      function prepareReorderingParameters(
      /*String*/
      text,
      /*Object*/
      params,
      /*Object*/
      bdx) {
        // summary:
        //		Prepare reordering parameters
        // text:
        //		The text to reorder.
        // params:
        //      Object, containing reordering parameters:
        //         - inFormat: Ordering scheme and base direction of the source text.
        //         - outFormat: Required ordering scheme and base direction of the result.
        //         - swap: Symmetric swapping attributes of source and result.
        // bdx: Object
        //		Used for intermediate data storage
        // tags:
        //		private
        if (params.inFormat === undefined) {
          params.inFormat = bdx.defInFormat;
        }

        if (params.outFormat === undefined) {
          params.outFormat = bdx.defOutFormat;
        }

        if (params.swap === undefined) {
          params.swap = bdx.defSwap;
        }

        if (params.inFormat === params.outFormat) {
          return params;
        }

        var dir,
            inOrdering = params.inFormat.substring(0, 1),
            inOrientation = params.inFormat.substring(1, 4),
            outOrdering = params.outFormat.substring(0, 1),
            outOrientation = params.outFormat.substring(1, 4);

        if (inOrientation.charAt(0) === "C") {
          dir = firstStrongDir(text);

          if (dir === "ltr" || dir === "rtl") {
            inOrientation = dir.toUpperCase();
          } else {
            inOrientation = params.inFormat.charAt(2) === "L" ? "LTR" : "RTL";
          }

          params.inFormat = inOrdering + inOrientation;
        }

        if (outOrientation.charAt(0) === "C") {
          dir = firstStrongDir(text);

          if (dir === "rtl") {
            outOrientation = "RTL";
          } else if (dir === "ltr") {
            dir = lastStrongDir(text);
            outOrientation = dir.toUpperCase();
          } else {
            outOrientation = params.outFormat.charAt(2) === "L" ? "LTR" : "RTL";
          }

          params.outFormat = outOrdering + outOrientation;
        }

        return params;
      }

      function shape(
      /*boolean*/
      rtl,
      /*String*/
      text,
      /*boolean*/
      compress) {
        // summary:
        //		Shape the source text.
        // rtl:
        //		Flag indicating if the text is in RTL direction (logical
        //		direction for Arabic words).
        // text:
        //		The text to shape.
        // compress:
        //		A flag indicates to insert extra space after the lam alef compression
        //		to preserve the buffer size or not insert an extra space which will lead
        //		to decrease the buffer size. This option can be:
        //
        //		- true (default) to not insert extra space after compressing Lam+Alef into one character Lamalef
        //		- false to insert an extra space after compressed Lamalef to preserve the buffer size
        // returns:
        //		text shaped.
        // tags:
        //		private.
        if (text.length === 0) {
          return;
        }

        if (rtl === undefined) {
          rtl = true;
        }

        if (compress === undefined) {
          compress = true;
        }

        text = String(text);
        var str06 = text.split(""),
            Ix = 0,
            step = +1,
            nIEnd = str06.length;

        if (!rtl) {
          Ix = str06.length - 1;
          step = -1;
          nIEnd = 1;
        }

        var compressArray = doShape(str06, Ix, step, nIEnd, compress);
        var outBuf = "";

        for (var idx = 0; idx < str06.length; idx++) {
          if (!(compress && indexOf(compressArray, compressArray.length, idx) > -1)) {
            outBuf += str06[idx];
          } else {
            updateMap(tsMap, idx, !rtl, -1);
            stMap.splice(idx, 1);
          }
        }

        return outBuf;
      }

      function doShape(str06, Ix, step, nIEnd, compress) {
        // summary:
        //		Shape the source text.
        // str06:
        //		Array containing source text
        // Ix:
        //		Index of the first handled element
        // step:
        //		direction of the process
        // nIEnd:
        //		Index of the last handled element
        // compress:
        //		A flag indicates to insert extra space after the lam alef compression
        //		to preserve the buffer size or not insert an extra space which will lead
        //		to decrease the buffer size.
        // returns:
        //		Array, contained shaped text.
        // tags:
        //		private.
        var previousCursive = 0,
            compressArray = [],
            compressArrayIndx = 0;

        for (var index = Ix; index * step < nIEnd; index = index + step) {
          if (isArabicAlefbet(str06[index]) || isArabicDiacritics(str06[index])) {
            // Arabic letter Lam
            if (str06[index] === "\u0644" && isNextAlef(str06, index + step, step, nIEnd)) {
              str06[index] = previousCursive === 0 ? getLamAlefFE(str06[index + step], LamAlefInialTableFE) : getLamAlefFE(str06[index + step], LamAlefMedialTableFE);
              index += step;
              setAlefToSpace(str06, index, step, nIEnd);

              if (compress) {
                compressArray[compressArrayIndx] = index;
                compressArrayIndx++;
              }

              previousCursive = 0;
              continue;
            }

            var currentChr = str06[index];

            if (previousCursive === 1) {
              // if next is Arabic
              // Character is in medial form
              // else character is in final form
              str06[index] = isNextArabic(str06, index + step, step, nIEnd) ? getMedialFormCharacterFE(str06[index]) : getFormCharacterFE(str06[index], FinalForm);
            } else {
              if (isNextArabic(str06, index + step, step, nIEnd) === true) {
                //character is in Initial form
                str06[index] = getFormCharacterFE(str06[index], InitialForm);
              } else {
                str06[index] = getFormCharacterFE(str06[index], IsolatedForm);
              }
            } //exam if the current character is cursive


            if (!isArabicDiacritics(currentChr)) {
              previousCursive = 1;
            }

            if (isStandAlonCharacter(currentChr) === true) {
              previousCursive = 0;
            }
          } else {
            previousCursive = 0;
          }
        }

        return compressArray;
      }

      function firstStrongDir(
      /*String*/
      text) {
        // summary:
        //		Return the first strong character direction
        // text:
        //		The source string.
        // description:
        //		Searches for first "strong" character.
        //		Returns if strong character was found with the direction defined by this
        //		character, if no strong character was found returns an empty string.
        // returns: String
        //		"ltr" - if the first strong character is Latin.
        //		"rtl" - if the first strong character is RTL directed character.
        //		"" - if the strong character wasn't found.
        // tags:
        //		private
        var fdc = /[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(text); // if found return the direction that defined by the character

        return fdc ? fdc[0] <= "z" ? "ltr" : "rtl" : "";
      }

      function lastStrongDir(text) {
        // summary:
        //		Return the last strong character direction
        // text:
        //		The source string.
        // description:
        //		Searches for first (from the end) "strong" character.
        //		Returns if strong character was found with the direction defined by this
        //		character, if no strong character was found returns an empty string.
        // tags:
        //		private
        var chars = text.split("");
        chars.reverse();
        return firstStrongDir(chars.join(""));
      }

      function deshape(
      /*String*/
      text,
      /*boolean*/
      rtl,
      /*boolean*/
      consumeNextSpace) {
        // summary:
        //		deshape the source text.
        // text:
        //		the text to be deshape.
        // rtl:
        //		flag indicating if the text is in RTL direction (logical
        //		direction for Arabic words).
        // consumeNextSpace:
        //		flag indicating whether to consume the space next to the
        //		the lam alef if there is a space followed the Lamalef character to preserve the buffer size.
        //		In case there is no space next to the lam alef the buffer size will be increased due to the
        //		expansion of the lam alef one character into lam+alef two characters
        // returns:
        //		text deshaped.
        if (text.length === 0) {
          return;
        }

        if (consumeNextSpace === undefined) {
          consumeNextSpace = true;
        }

        if (rtl === undefined) {
          rtl = true;
        }

        text = String(text);
        var outBuf = "",
            strFE = [];
        strFE = text.split("");

        for (var i = 0; i < text.length; i++) {
          var increase = false;

          if (strFE[i] >= "\uFE70" && strFE[i] < "\uFEFF") {
            var chNum = text.charCodeAt(i);

            if (strFE[i] >= "\uFEF5" && strFE[i] <= "\uFEFC") {
              //expand the LamAlef
              if (rtl) {
                //Lam + Alef
                if (i > 0 && consumeNextSpace && strFE[i - 1] === " ") {
                  outBuf = outBuf.substring(0, outBuf.length - 1) + "\u0644";
                } else {
                  outBuf += "\u0644";
                  increase = true;
                }

                outBuf += AlefTable[(chNum - 65269) / 2];
              } else {
                outBuf += AlefTable[(chNum - 65269) / 2];
                outBuf += "\u0644";

                if (i + 1 < text.length && consumeNextSpace && strFE[i + 1] === " ") {
                  i++;
                } else {
                  increase = true;
                }
              }

              if (increase) {
                updateMap(tsMap, i, true, 1);
                stMap.splice(i, 0, stMap[i]);
              }
            } else {
              outBuf += FETo06Table[chNum - 65136];
            }
          } else {
            outBuf += strFE[i];
          }
        }

        return outBuf;
      }

      function doReorder(str, bdx) {
        // summary:
        //		Helper to the doBidiReorder. Manages the UBA.
        // str:
        //		the string to reorder.
        // bdx: Object
        //		Used for intermediate data storage
        // returns:
        //		text reordered according to source and result attributes.
        // tags:
        //		private
        var chars = str.split(""),
            levels = [];
        computeLevels(chars, levels, bdx);
        swapChars(chars, levels, bdx);
        invertLevel(2, chars, levels, bdx);
        invertLevel(1, chars, levels, bdx);
        lvMap = levels;
        return chars.join("");
      }

      function computeLevels(chars, levels, bdx) {
        var len = chars.length,
            impTab = bdx.dir ? impTabRtl : impTabLtr,
            prevState = null,
            newClass = null,
            newLevel = null,
            newState = 0,
            action = null,
            cond = null,
            condPos = -1,
            i = null,
            ix = null,
            types = [],
            classes = [];
        bdx.hiLevel = bdx.dir;
        bdx.lastArabic = false;
        bdx.hasUbatAl = false;
        bdx.hasUbatB = false;
        bdx.hasUbatS = false;

        for (i = 0; i < len; i++) {
          types[i] = getCharacterType(chars[i]);
        }

        for (ix = 0; ix < len; ix++) {
          prevState = newState;
          classes[ix] = newClass = getCharClass(chars, types, classes, ix, bdx);
          newState = impTab[prevState][newClass];
          action = newState & 0xF0;
          newState &= 0x0F;
          levels[ix] = newLevel = impTab[newState][ITIL];

          if (action > 0) {
            if (action === 0x10) {
              // set conditional run to level 1
              for (i = condPos; i < ix; i++) {
                levels[i] = 1;
              }

              condPos = -1;
            } else {
              // 0x20 confirm the conditional run
              condPos = -1;
            }
          }

          cond = impTab[newState][ITCOND];

          if (cond) {
            if (condPos === -1) {
              condPos = ix;
            }
          } else {
            // unconditional level
            if (condPos > -1) {
              for (i = condPos; i < ix; i++) {
                levels[i] = newLevel;
              }

              condPos = -1;
            }
          }

          if (types[ix] === UBAT_B) {
            levels[ix] = 0;
          }

          bdx.hiLevel |= newLevel;
        }

        if (bdx.hasUbatS) {
          handleUbatS(types, levels, len, bdx);
        }
      }

      function handleUbatS(types, levels, len, bdx) {
        for (var i = 0; i < len; i++) {
          if (types[i] === UBAT_S) {
            levels[i] = bdx.dir;

            for (var j = i - 1; j >= 0; j--) {
              if (types[j] === UBAT_WS) {
                levels[j] = bdx.dir;
              } else {
                break;
              }
            }
          }
        }
      }

      function swapChars(chars, levels, bdx) {
        // summary:
        //		Swap characters with symmetrical mirroring as all kinds of parenthesis.
        //		(When needed).
        // chars:
        //		The source string as Array of characters.
        // levels:
        //		An array (like hash) of flags for each character in the source string,
        //		that defines if swapping should be applied on the following character.
        // bdx: Object
        //		Used for intermediate data storage
        // tags:
        //		private
        if (bdx.hiLevel === 0 || bdx.swap.substr(0, 1) === bdx.swap.substr(1, 2)) {
          return;
        }

        for (var i = 0; i < chars.length; i++) {
          if (levels[i] === 1) {
            chars[i] = getMirror(chars[i]);
          }
        }
      }

      function getCharacterType(ch) {
        // summary:
        //		Return the type of the character.
        // ch:
        //		The character to be checked.
        // description:
        //		Check the type of the character according to MasterTable,
        //		type = LTR, RTL, neutral,Arabic-Indic digit etc.
        // tags:
        //		private
        var uc = ch.charCodeAt(0),
            hi = MasterTable[uc >> 8];
        return hi < TBBASE ? hi : UnicodeTable[hi - TBBASE][uc & 0xFF];
      }

      function invertStr(str, bdx) {
        // summary:
        //		Return the reversed string.
        // str:
        //		The string to be reversed.
        // description:
        //		Reverse the string str.
        // tags:
        //		private
        var chars = str.split("");

        if (bdx) {
          var levels = [];
          computeLevels(chars, levels, bdx);
          lvMap = levels;
        }

        chars.reverse();
        stMap.reverse();
        return chars.join("");
      }

      function indexOf(cArray, cLength, idx) {
        for (var i = 0; i < cLength; i++) {
          if (cArray[i] === idx) {
            return i;
          }
        }

        return -1;
      }

      function isArabicAlefbet(c) {
        for (var i = 0; i < ArabicAlefBetIntervalsBegine.length; i++) {
          if (c >= ArabicAlefBetIntervalsBegine[i] && c <= ArabicAlefBetIntervalsEnd[i]) {
            return true;
          }
        }

        return false;
      }

      function isNextArabic(str06, index, step, nIEnd) {
        while (index * step < nIEnd && isArabicDiacritics(str06[index])) {
          index += step;
        }

        if (index * step < nIEnd && isArabicAlefbet(str06[index])) {
          return true;
        }

        return false;
      }

      function isNextAlef(str06, index, step, nIEnd) {
        while (index * step < nIEnd && isArabicDiacritics(str06[index])) {
          index += step;
        }

        var c = " ";

        if (index * step < nIEnd) {
          c = str06[index];
        } else {
          return false;
        }

        for (var i = 0; i < AlefTable.length; i++) {
          if (AlefTable[i] === c) {
            return true;
          }
        }

        return false;
      }

      function invertLevel(lev, chars, levels, bdx) {
        if (bdx.hiLevel < lev) {
          return;
        }

        if (lev === 1 && bdx.dir === RTL && !bdx.hasUbatB) {
          chars.reverse();
          stMap.reverse();
          return;
        }

        var len = chars.length,
            start = 0,
            end,
            lo,
            hi,
            tmp;

        while (start < len) {
          if (levels[start] >= lev) {
            end = start + 1;

            while (end < len && levels[end] >= lev) {
              end++;
            }

            for (lo = start, hi = end - 1; lo < hi; lo++, hi--) {
              tmp = chars[lo];
              chars[lo] = chars[hi];
              chars[hi] = tmp;
              tmp = stMap[lo];
              stMap[lo] = stMap[hi];
              stMap[hi] = tmp;
            }

            start = end;
          }

          start++;
        }
      }

      function getCharClass(chars, types, classes, ix, bdx) {
        // summary:
        //		Return the class if ix character in chars.
        // chars:
        //		The source string as Array of characters.
        // types:
        //		Array of types, for each character in chars.
        // classes:
        //		Array of classes that already been solved.
        // ix:
        //		the index of checked character.
        // bdx: Object
        //		Used for intermediate data storage
        // tags:
        //		private
        var cType = types[ix],
            results = {
          UBAT_L: function UBAT_L() {
            bdx.lastArabic = false;
            return _UBAT_L;
          },
          UBAT_R: function UBAT_R() {
            bdx.lastArabic = false;
            return _UBAT_R;
          },
          UBAT_ON: function UBAT_ON() {
            return _UBAT_ON;
          },
          UBAT_AN: function UBAT_AN() {
            return _UBAT_AN;
          },
          UBAT_EN: function UBAT_EN() {
            return bdx.lastArabic ? _UBAT_AN : _UBAT_EN;
          },
          UBAT_AL: function UBAT_AL() {
            bdx.lastArabic = true;
            bdx.hasUbatAl = true;
            return _UBAT_R;
          },
          UBAT_WS: function UBAT_WS() {
            return _UBAT_ON;
          },
          UBAT_CS: function UBAT_CS() {
            var wType, nType;

            if (ix < 1 || ix + 1 >= types.length || (wType = classes[ix - 1]) !== _UBAT_EN && wType !== _UBAT_AN || (nType = types[ix + 1]) !== _UBAT_EN && nType !== _UBAT_AN) {
              return _UBAT_ON;
            }

            if (bdx.lastArabic) {
              nType = _UBAT_AN;
            }

            return nType === wType ? nType : _UBAT_ON;
          },
          UBAT_ES: function UBAT_ES() {
            var wType = ix > 0 ? classes[ix - 1] : UBAT_B;

            if (wType === _UBAT_EN && ix + 1 < types.length && types[ix + 1] === _UBAT_EN) {
              return _UBAT_EN;
            }

            return _UBAT_ON;
          },
          UBAT_ET: function UBAT_ET() {
            if (ix > 0 && classes[ix - 1] === _UBAT_EN) {
              return _UBAT_EN;
            }

            if (bdx.lastArabic) {
              return _UBAT_ON;
            }

            var i = ix + 1,
                len = types.length;

            while (i < len && types[i] === _UBAT_ET) {
              i++;
            }

            if (i < len && types[i] === _UBAT_EN) {
              return _UBAT_EN;
            }

            return _UBAT_ON;
          },
          UBAT_NSM: function UBAT_NSM() {
            if (bdx.inFormat === "VLTR") {
              // visual to implicit transformation
              var len = types.length,
                  i = ix + 1;

              while (i < len && types[i] === _UBAT_NSM) {
                i++;
              }

              if (i < len) {
                var c = chars[ix],
                    rtlCandidate = c >= 0x0591 && c <= 0x08FF || c === 0xFB1E,
                    wType = types[i];

                if (rtlCandidate && (wType === _UBAT_R || wType === UBAT_AL)) {
                  return _UBAT_R;
                }
              }
            }

            if (ix < 1 || types[ix - 1] === UBAT_B) {
              return _UBAT_ON;
            }

            return classes[ix - 1];
          },
          UBAT_B: function UBAT_B() {
            bdx.lastArabic = true;
            bdx.hasUbatB = true;
            return bdx.dir;
          },
          UBAT_S: function UBAT_S() {
            bdx.hasUbatS = true;
            return _UBAT_ON;
          },
          UBAT_LRE: function UBAT_LRE() {
            bdx.lastArabic = false;
            return _UBAT_ON;
          },
          UBAT_RLE: function UBAT_RLE() {
            bdx.lastArabic = false;
            return _UBAT_ON;
          },
          UBAT_LRO: function UBAT_LRO() {
            bdx.lastArabic = false;
            return _UBAT_ON;
          },
          UBAT_RLO: function UBAT_RLO() {
            bdx.lastArabic = false;
            return _UBAT_ON;
          },
          UBAT_PDF: function UBAT_PDF() {
            bdx.lastArabic = false;
            return _UBAT_ON;
          },
          UBAT_BN: function UBAT_BN() {
            return _UBAT_ON;
          }
        };
        return results[TYPES_NAMES[cType]]();
      }

      function getMirror(c) {
        // summary:
        //		Calculates the mirrored character of c
        // c:
        //		The character to be mirrored.
        // tags:
        //		private
        var mid,
            low = 0,
            high = SwapTable.length - 1;

        while (low <= high) {
          mid = Math.floor((low + high) / 2);

          if (c < SwapTable[mid][0]) {
            high = mid - 1;
          } else if (c > SwapTable[mid][0]) {
            low = mid + 1;
          } else {
            return SwapTable[mid][1];
          }
        }

        return c;
      }

      function isStandAlonCharacter(c) {
        for (var i = 0; i < StandAlonForm.length; i++) {
          if (StandAlonForm[i] === c) {
            return true;
          }
        }

        return false;
      }

      function getMedialFormCharacterFE(c) {
        for (var i = 0; i < BaseForm.length; i++) {
          if (c === BaseForm[i]) {
            return MedialForm[i];
          }
        }

        return c;
      }

      function getFormCharacterFE(
      /*char*/
      c,
      /*char[]*/
      formArr) {
        for (var i = 0; i < BaseForm.length; i++) {
          if (c === BaseForm[i]) {
            return formArr[i];
          }
        }

        return c;
      }

      function isArabicDiacritics(c) {
        return c >= "\u064B" && c <= "\u0655" ? true : false;
      }

      function getOrientation(
      /*Char*/
      oc) {
        if (oc === "L") {
          return "LTR";
        }

        if (oc === "R") {
          return "RTL";
        }

        if (oc === "C") {
          return "CLR";
        }

        if (oc === "D") {
          return "CRL";
        }
      }

      function setAlefToSpace(str06, index, step, nIEnd) {
        while (index * step < nIEnd && isArabicDiacritics(str06[index])) {
          index += step;
        }

        if (index * step < nIEnd) {
          str06[index] = " ";
          return true;
        }

        return false;
      }

      function getLamAlefFE(alef06, LamAlefForm) {
        for (var i = 0; i < AlefTable.length; i++) {
          if (alef06 === AlefTable[i]) {
            return LamAlefForm[i];
          }
        }

        return alef06;
      }

      function initMaps(map1, map2, length) {
        stMap = [];
        lvMap = [];

        for (var i = 0; i < length; i++) {
          map1[i] = i;
          map2[i] = i;
          stMap[i] = i;
        }
      }

      function reverseMap(sourceMap) {
        var map = new Array(sourceMap.length);

        for (var i = 0; i < sourceMap.length; i++) {
          map[sourceMap[i]] = i;
        }

        return map;
      }

      function updateMap(map, value, isGreater, update) {
        for (var i = 0; i < map.length; i++) {
          if (map[i] > value || !isGreater && map[i] === value) {
            map[i] += update;
          }
        }
      }

      var stMap = [];
      var tsMap = [];
      var lvMap = [];
      var BDX = {
        dir: 0,
        defInFormat: "LLTR",
        defoutFormat: "VLTR",
        defSwap: "YN",
        inFormat: "LLTR",
        outFormat: "VLTR",
        swap: "YN",
        hiLevel: 0,
        lastArabic: false,
        hasUbatAl: false,
        hasBlockSep: false,
        hasSegSep: false
      };
      var ITIL = 5;
      var ITCOND = 6;
      var LTR = 0;
      var RTL = 1;
      var validFormat = /^[(I|V)][(L|R|C|D)][(Y|N)][(S|N)][N]$/;
      var bidiChars = /[\u0591-\u06ff\ufb1d-\ufefc]/;
      /****************************************************************************/

      /* Array in which directional characters are replaced by their symmetric.	*/

      /****************************************************************************/

      var SwapTable = [["(", ")"],
      /* Round brackets					*/
      [")", "("], ["<", ">"],
      /* Less than/greater than			*/
      [">", "<"], ["[", "]"],
      /* Square brackets					*/
      ["]", "["], ["{", "}"],
      /* Curly brackets					*/
      ["}", "{"], ["\xAB", "\xBB"],
      /* Double angle quotation marks		*/
      ["\xBB", "\xAB"], ["\u2039", "\u203A"],
      /* single angle quotation mark		*/
      ["\u203A", "\u2039"], ["\u207D", "\u207E"],
      /* Superscript parentheses			*/
      ["\u207E", "\u207D"], ["\u208D", "\u208E"],
      /* Subscript parentheses			*/
      ["\u208E", "\u208D"], ["\u2264", "\u2265"],
      /* Less/greater than or equal		*/
      ["\u2265", "\u2264"], ["\u2329", "\u232A"],
      /* Angle brackets					*/
      ["\u232A", "\u2329"], ["\uFE59", "\uFE5A"],
      /* Small round brackets				*/
      ["\uFE5A", "\uFE59"], ["\uFE5B", "\uFE5C"],
      /* Small curly brackets				*/
      ["\uFE5C", "\uFE5B"], ["\uFE5D", "\uFE5E"],
      /* Small tortoise shell brackets	*/
      ["\uFE5E", "\uFE5D"], ["\uFE64", "\uFE65"],
      /* Small less than/greater than		*/
      ["\uFE65", "\uFE64"]];
      var AlefTable = ["\u0622", "\u0623", "\u0625", "\u0627"];
      var LamAlefInialTableFE = ["\uFEF5", "\uFEF7", "\uFEF9", "\uFEFB"];
      var LamAlefMedialTableFE = ["\uFEF6", "\uFEF8", "\uFEFA", "\uFEFC"];
      /**
       * Arabic Characters in the base form
       */

      var BaseForm = ["\u0627", "\u0628", "\u062A", "\u062B", "\u062C", "\u062D", "\u062E", "\u062F", "\u0630", "\u0631", "\u0632", "\u0633", "\u0634", "\u0635", "\u0636", "\u0637", "\u0638", "\u0639", "\u063A", "\u0641", "\u0642", "\u0643", "\u0644", "\u0645", "\u0646", "\u0647", "\u0648", "\u064A", "\u0625", "\u0623", "\u0622", "\u0629", "\u0649", "\u0644", "\u0645", "\u0646", "\u0647", "\u0648", "\u064A", "\u0625", "\u0623", "\u0622", "\u0629", "\u0649", "\u06CC", "\u0626", "\u0624"];
      /**
       * Arabic shaped characters in Isolated form
       */

      var IsolatedForm = ["\uFE8D", "\uFE8F", "\uFE95", "\uFE99", "\uFE9D", "\uFEA1", "\uFEA5", "\uFEA9", "\uFEAB", "\uFEAD", "\uFEAF", "\uFEB1", "\uFEB5", "\uFEB9", "\uFEBD", "\uFEC1", "\uFEC5", "\uFEC9", "\uFECD", "\uFED1", "\uFED5", "\uFED9", "\uFEDD", "\uFEE1", "\uFEE5", "\uFEE9", "\uFEED", "\uFEF1", "\uFE87", "\uFE83", "\uFE81", "\uFE93", "\uFEEF", "\uFBFC", "\uFE89", "\uFE85", "\uFE70", "\uFE72", "\uFE74", "\uFE76", "\uFE78", "\uFE7A", "\uFE7C", "\uFE7E", "\uFE80", "\uFE89", "\uFE85"];
      /**
       * Arabic shaped characters in Final form
       */

      var FinalForm = ["\uFE8E", "\uFE90", "\uFE96", "\uFE9A", "\uFE9E", "\uFEA2", "\uFEA6", "\uFEAA", "\uFEAC", "\uFEAE", "\uFEB0", "\uFEB2", "\uFEB6", "\uFEBA", "\uFEBE", "\uFEC2", "\uFEC6", "\uFECA", "\uFECE", "\uFED2", "\uFED6", "\uFEDA", "\uFEDE", "\uFEE2", "\uFEE6", "\uFEEA", "\uFEEE", "\uFEF2", "\uFE88", "\uFE84", "\uFE82", "\uFE94", "\uFEF0", "\uFBFD", "\uFE8A", "\uFE86", "\uFE70", "\uFE72", "\uFE74", "\uFE76", "\uFE78", "\uFE7A", "\uFE7C", "\uFE7E", "\uFE80", "\uFE8A", "\uFE86"];
      /**
       * Arabic shaped characters in Media form
       */

      var MedialForm = ["\uFE8E", "\uFE92", "\uFE98", "\uFE9C", "\uFEA0", "\uFEA4", "\uFEA8", "\uFEAA", "\uFEAC", "\uFEAE", "\uFEB0", "\uFEB4", "\uFEB8", "\uFEBC", "\uFEC0", "\uFEC4", "\uFEC8", "\uFECC", "\uFED0", "\uFED4", "\uFED8", "\uFEDC", "\uFEE0", "\uFEE4", "\uFEE8", "\uFEEC", "\uFEEE", "\uFEF4", "\uFE88", "\uFE84", "\uFE82", "\uFE94", "\uFEF0", "\uFBFF", "\uFE8C", "\uFE86", "\uFE71", "\uFE72", "\uFE74", "\uFE77", "\uFE79", "\uFE7B", "\uFE7D", "\uFE7F", "\uFE80", "\uFE8C", "\uFE86"];
      /**
       * Arabic shaped characters in Initial form
       */

      var InitialForm = ["\uFE8D", "\uFE91", "\uFE97", "\uFE9B", "\uFE9F", "\uFEA3", "\uFEA7", "\uFEA9", "\uFEAB", "\uFEAD", "\uFEAF", "\uFEB3", "\uFEB7", "\uFEBB", "\uFEBF", "\uFEC3", "\uFEC7", "\uFECB", "\uFECF", "\uFED3", "\uFED7", "\uFEDB", "\uFEDF", "\uFEE3", "\uFEE7", "\uFEEB", "\uFEED", "\uFEF3", "\uFE87", "\uFE83", "\uFE81", "\uFE93", "\uFEEF", "\uFBFE", "\uFE8B", "\uFE85", "\uFE70", "\uFE72", "\uFE74", "\uFE76", "\uFE78", "\uFE7A", "\uFE7C", "\uFE7E", "\uFE80", "\uFE8B", "\uFE85"];
      /**
       * Arabic characters that couldn't join to the next character
       */

      var StandAlonForm = ["\u0621", "\u0622", "\u0623", "\u0624", "\u0625", "\u0627", "\u0629", "\u062F", "\u0630", "\u0631", "\u0632", "\u0648", "\u0649"];
      var FETo06Table = ["\u064B", "\u064B", "\u064C", "\u061F", "\u064D", "\u061F", "\u064E", "\u064E", "\u064F", "\u064F", "\u0650", "\u0650", "\u0651", "\u0651", "\u0652", "\u0652", "\u0621", "\u0622", "\u0622", "\u0623", "\u0623", "\u0624", "\u0624", "\u0625", "\u0625", "\u0626", "\u0626", "\u0626", "\u0626", "\u0627", "\u0627", "\u0628", "\u0628", "\u0628", "\u0628", "\u0629", "\u0629", "\u062A", "\u062A", "\u062A", "\u062A", "\u062B", "\u062B", "\u062B", "\u062B", "\u062C", "\u062C", "\u062C", "\u062C", "\u062D", "\u062D", "\u062D", "\u062D", "\u062E", "\u062E", "\u062E", "\u062E", "\u062F", "\u062F", "\u0630", "\u0630", "\u0631", "\u0631", "\u0632", "\u0632", "\u0633", "\u0633", "\u0633", "\u0633", "\u0634", "\u0634", "\u0634", "\u0634", "\u0635", "\u0635", "\u0635", "\u0635", "\u0636", "\u0636", "\u0636", "\u0636", "\u0637", "\u0637", "\u0637", "\u0637", "\u0638", "\u0638", "\u0638", "\u0638", "\u0639", "\u0639", "\u0639", "\u0639", "\u063A", "\u063A", "\u063A", "\u063A", "\u0641", "\u0641", "\u0641", "\u0641", "\u0642", "\u0642", "\u0642", "\u0642", "\u0643", "\u0643", "\u0643", "\u0643", "\u0644", "\u0644", "\u0644", "\u0644", "\u0645", "\u0645", "\u0645", "\u0645", "\u0646", "\u0646", "\u0646", "\u0646", "\u0647", "\u0647", "\u0647", "\u0647", "\u0648", "\u0648", "\u0649", "\u0649", "\u064A", "\u064A", "\u064A", "\u064A", "\uFEF5", "\uFEF6", "\uFEF7", "\uFEF8", "\uFEF9", "\uFEFA", "\uFEFB", "\uFEFC", "\u061F", "\u061F", "\u061F"];
      var ArabicAlefBetIntervalsBegine = ["\u0621", "\u0641"];
      var ArabicAlefBetIntervalsEnd = ["\u063A", "\u064A"];
      var impTabLtr = [
      /*		L,		R,		EN,		AN,		N,		IL,		Cond */
      [0, 3, 0, 1, 0, 0, 0],
      /* 0 LTR text	*/
      [0, 3, 0, 1, 2, 2, 0],
      /* 1 LTR+AN		*/
      [0, 3, 0, 0x11, 2, 0, 1],
      /* 2 LTR+AN+N	*/
      [0, 3, 5, 5, 4, 1, 0],
      /* 3 RTL text	*/
      [0, 3, 0x15, 0x15, 4, 0, 1],
      /* 4 RTL cont	*/
      [0, 3, 5, 5, 4, 2, 0]
      /* 5 RTL+EN/AN	*/
      ];
      var impTabRtl = [
      /*		L,		R,		EN,		AN,		N,		IL,		Cond */
      [2, 0, 1, 1, 0, 1, 0],
      /* 0 RTL text	*/
      [2, 0, 1, 1, 0, 2, 0],
      /* 1 RTL+EN/AN	*/
      [2, 0, 2, 1, 3, 2, 0],
      /* 2 LTR text	*/
      [2, 0, 2, 0x21, 3, 1, 1]
      /* 3 LTR+cont	*/
      ];
      var _UBAT_L = 0;
      /* left to right				*/

      var _UBAT_R = 1;
      /* right to left				*/

      var _UBAT_EN = 2;
      /* European digit				*/

      var _UBAT_AN = 3;
      /* Arabic-Indic digit			*/

      var _UBAT_ON = 4;
      /* neutral						*/

      var UBAT_B = 5;
      /* block separator				*/

      var UBAT_S = 6;
      /* segment separator			*/

      var UBAT_AL = 7;
      /* Arabic Letter				*/

      var UBAT_WS = 8;
      /* white space					*/

      var UBAT_CS = 9;
      /* common digit separator		*/

      var UBAT_ES = 10;
      /* European digit separator	*/

      var _UBAT_ET = 11;
      /* European digit terminator	*/

      var _UBAT_NSM = 12;
      /* Non Spacing Mark			*/

      var UBAT_LRE = 13;
      /* LRE						*/

      var UBAT_RLE = 14;
      /* RLE						*/

      var UBAT_PDF = 15;
      /* PDF						*/

      var UBAT_LRO = 16;
      /* LRO						*/

      var UBAT_RLO = 17;
      /* RLO						*/

      var UBAT_BN = 18;
      /* Boundary Neutral			*/

      var TYPES_NAMES = ["UBAT_L", "UBAT_R", "UBAT_EN", "UBAT_AN", "UBAT_ON", "UBAT_B", "UBAT_S", "UBAT_AL", "UBAT_WS", "UBAT_CS", "UBAT_ES", "UBAT_ET", "UBAT_NSM", "UBAT_LRE", "UBAT_RLE", "UBAT_PDF", "UBAT_LRO", "UBAT_RLO", "UBAT_BN"];
      var TBBASE = 100;
      var TB00 = TBBASE + 0;
      var TB05 = TBBASE + 1;
      var TB06 = TBBASE + 2;
      var TB07 = TBBASE + 3;
      var TB20 = TBBASE + 4;
      var TBFB = TBBASE + 5;
      var TBFE = TBBASE + 6;
      var TBFF = TBBASE + 7;
      var L = _UBAT_L;
      var R = _UBAT_R;
      var EN = _UBAT_EN;
      var AN = _UBAT_AN;
      var ON = _UBAT_ON;
      var B = UBAT_B;
      var S = UBAT_S;
      var AL = UBAT_AL;
      var WS = UBAT_WS;
      var CS = UBAT_CS;
      var ES = UBAT_ES;
      var ET = _UBAT_ET;
      var NSM = _UBAT_NSM;
      var LRE = UBAT_LRE;
      var RLE = UBAT_RLE;
      var PDF = UBAT_PDF;
      var LRO = UBAT_LRO;
      var RLO = UBAT_RLO;
      var BN = UBAT_BN;
      var MasterTable = [
      /*******************************************************************************************************/

      /*     0     1     2     3     4     5     6     7     8     9     A     B     C     D     E     F     */

      /*******************************************************************************************************/

      /*0-*/
      TB00, L, L, L, L, TB05, TB06, TB07, R, L, L, L, L, L, L, L,
      /*1-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*2-*/
      TB20, ON, ON, ON, L, ON, L, ON, L, ON, ON, ON, L, L, ON, ON,
      /*3-*/
      L, L, L, L, L, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*4-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, L, L, ON,
      /*5-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*6-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*7-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*8-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*9-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, L,
      /*A-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, ON, ON, ON,
      /*B-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*C-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*D-*/
      ON, ON, ON, ON, ON, ON, ON, L, L, ON, ON, L, L, ON, ON, L,
      /*E-*/
      L, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*F-*/
      ON, ON, ON, ON, ON, ON, ON, ON, L, L, L, TBFB, AL, AL, TBFE, TBFF];
      var UnicodeTable = [[
      /*	Table 00: Unicode 00xx */

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      BN, BN, BN, BN, BN, BN, BN, BN, BN, S, B, S, WS, B, BN, BN,
      /*1-*/
      BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, B, B, B, S,
      /*2-*/
      WS, ON, ON, ET, ET, ET, ON, ON, ON, ON, ON, ES, CS, ES, CS, CS,
      /*3-*/
      EN, EN, EN, EN, EN, EN, EN, EN, EN, EN, CS, ON, ON, ON, ON, ON,
      /*4-*/
      ON, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*5-*/
      L, L, L, L, L, L, L, L, L, L, L, ON, ON, ON, ON, ON,
      /*6-*/
      ON, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*7-*/
      L, L, L, L, L, L, L, L, L, L, L, ON, ON, ON, ON, BN,
      /*8-*/
      BN, BN, BN, BN, BN, B, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN,
      /*9-*/
      BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN, BN,
      /*A-*/
      CS, ON, ET, ET, ET, ET, ON, ON, ON, ON, L, ON, ON, BN, ON, ON,
      /*B-*/
      ET, ET, EN, EN, ON, L, ON, ON, ON, EN, L, ON, ON, ON, ON, ON,
      /*C-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*D-*/
      L, L, L, L, L, L, L, ON, L, L, L, L, L, L, L, L,
      /*E-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*F-*/
      L, L, L, L, L, L, L, ON, L, L, L, L, L, L, L, L], [
      /*	Table 01: Unicode 05xx */

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*1-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*2-*/
      L, L, L, L, L, L, L, L, ON, ON, ON, ON, ON, ON, ON, ON,
      /*3-*/
      ON, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*4-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*5-*/
      L, L, L, L, L, L, L, ON, ON, L, L, L, L, L, L, L,
      /*6-*/
      ON, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*7-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*8-*/
      L, L, L, L, L, L, L, L, ON, L, ON, ON, ON, ON, ON, ON,
      /*9-*/
      ON, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*A-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*B-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, R, NSM,
      /*C-*/
      R, NSM, NSM, R, NSM, NSM, R, NSM, ON, ON, ON, ON, ON, ON, ON, ON,
      /*D-*/
      R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, R,
      /*E-*/
      R, R, R, R, R, R, R, R, R, R, R, ON, ON, ON, ON, ON,
      /*F-*/
      R, R, R, R, R, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON], [
      /*	Table 02: Unicode 06xx */

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      AN, AN, AN, AN, ON, ON, ON, ON, AL, ET, ET, AL, CS, AL, ON, ON,
      /*1-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, AL, ON, ON, AL, AL,
      /*2-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*3-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*4-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, NSM, NSM, NSM, NSM, NSM,
      /*5-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*6-*/
      AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, ET, AN, AN, AL, AL, AL,
      /*7-*/
      NSM, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*8-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*9-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*A-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*B-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*C-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*D-*/
      AL, AL, AL, AL, AL, AL, NSM, NSM, NSM, NSM, NSM, NSM, NSM, AN, ON, NSM,
      /*E-*/
      NSM, NSM, NSM, NSM, NSM, AL, AL, NSM, NSM, ON, NSM, NSM, NSM, NSM, AL, AL,
      /*F-*/
      EN, EN, EN, EN, EN, EN, EN, EN, EN, EN, AL, AL, AL, AL, AL, AL], [
      /*	Table	03:	Unicode	07xx	*/

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, ON, AL,
      /*1-*/
      AL, NSM, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*2-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*3-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*4-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, ON, ON, AL, AL, AL,
      /*5-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*6-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*7-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*8-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*9-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*A-*/
      AL, AL, AL, AL, AL, AL, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*B-*/
      NSM, AL, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*C-*/
      R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, R,
      /*D-*/
      R, R, R, R, R, R, R, R, R, R, R, R, R, R, R, R,
      /*E-*/
      R, R, R, R, R, R, R, R, R, R, R, NSM, NSM, NSM, NSM, NSM,
      /*F-*/
      NSM, NSM, NSM, NSM, R, R, ON, ON, ON, ON, R, ON, ON, ON, ON, ON], [
      /*	Table	04:	Unicode	20xx	*/

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      WS, WS, WS, WS, WS, WS, WS, WS, WS, WS, WS, BN, BN, BN, L, R,
      /*1-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*2-*/
      ON, ON, ON, ON, ON, ON, ON, ON, WS, B, LRE, RLE, PDF, LRO, RLO, CS,
      /*3-*/
      ET, ET, ET, ET, ET, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*4-*/
      ON, ON, ON, ON, CS, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*5-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, WS,
      /*6-*/
      BN, BN, BN, BN, BN, ON, ON, ON, ON, ON, BN, BN, BN, BN, BN, BN,
      /*7-*/
      EN, L, ON, ON, EN, EN, EN, EN, EN, EN, ES, ES, ON, ON, ON, L,
      /*8-*/
      EN, EN, EN, EN, EN, EN, EN, EN, EN, EN, ES, ES, ON, ON, ON, ON,
      /*9-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, ON, ON, ON,
      /*A-*/
      ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ET,
      /*B-*/
      ET, ET, ET, ET, ET, ET, ET, ET, ET, ET, ON, ON, ON, ON, ON, ON,
      /*C-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*D-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*E-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*F-*/
      NSM, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON], [
      /*	Table	05:	Unicode	FBxx	*/

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      L, L, L, L, L, L, L, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*1-*/
      ON, ON, ON, L, L, L, L, L, ON, ON, ON, ON, ON, R, NSM, R,
      /*2-*/
      R, R, R, R, R, R, R, R, R, ES, R, R, R, R, R, R,
      /*3-*/
      R, R, R, R, R, R, R, ON, R, R, R, R, R, ON, R, ON,
      /*4-*/
      R, R, ON, R, R, ON, R, R, R, R, R, R, R, R, R, R,
      /*5-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*6-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*7-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*8-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*9-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*A-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*B-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*C-*/
      AL, AL, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*D-*/
      ON, ON, ON, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*E-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*F-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL], [
      /*	Table	06:	Unicode	FExx	*/

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM, NSM,
      /*1-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*2-*/
      NSM, NSM, NSM, NSM, NSM, NSM, NSM, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*3-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*4-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*5-*/
      CS, ON, CS, ON, ON, CS, ON, ON, ON, ON, ON, ON, ON, ON, ON, ET,
      /*6-*/
      ON, ON, ES, ES, ON, ON, ON, ON, ON, ET, ET, ON, ON, ON, ON, ON,
      /*7-*/
      AL, AL, AL, AL, AL, ON, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*8-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*9-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*A-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*B-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*C-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*D-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*E-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
      /*F-*/
      AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, ON, ON, BN], [
      /*	Table	07:	Unicode	FFxx	*/

      /****************************************************************************************/

      /*      0    1    2    3    4    5    6    7    8    9    A    B    C    D    E    F	*/

      /****************************************************************************************/

      /*0-*/
      ON, ON, ON, ET, ET, ET, ON, ON, ON, ON, ON, ES, CS, ES, CS, CS,
      /*1-*/
      EN, EN, EN, EN, EN, EN, EN, EN, EN, EN, CS, ON, ON, ON, ON, ON,
      /*2-*/
      ON, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*3-*/
      L, L, L, L, L, L, L, L, L, L, L, ON, ON, ON, ON, ON,
      /*4-*/
      ON, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*5-*/
      L, L, L, L, L, L, L, L, L, L, L, ON, ON, ON, ON, ON,
      /*6-*/
      ON, ON, ON, ON, ON, ON, L, L, L, L, L, L, L, L, L, L,
      /*7-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*8-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*9-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*A-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L,
      /*B-*/
      L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, ON,
      /*C-*/
      ON, ON, L, L, L, L, L, L, ON, ON, L, L, L, L, L, L,
      /*D-*/
      ON, ON, L, L, L, L, L, L, ON, ON, L, L, L, ON, ON, ON,
      /*E-*/
      ET, ET, ON, ON, ON, ET, ET, ON, ON, ON, ON, ON, ON, ON, ON, ON,
      /*F-*/
      ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON, ON]];
      return BidiEngine;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/internmap/src/index.js":
  /*!*********************************************!*\
    !*** ./node_modules/internmap/src/index.js ***!
    \*********************************************/

  /*! exports provided: InternMap, InternSet */

  /***/
  function node_modulesInternmapSrcIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InternMap", function () {
      return InternMap;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InternSet", function () {
      return InternSet;
    });

    var InternMap = /*#__PURE__*/function (_Map) {
      _inherits(InternMap, _Map);

      var _super34 = _createSuper(InternMap);

      function InternMap(entries) {
        var _this120;

        var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : keyof;

        _classCallCheck(this, InternMap);

        _this120 = _super34.call(this);
        Object.defineProperties(_assertThisInitialized(_this120), {
          _intern: {
            value: new Map()
          },
          _key: {
            value: key
          }
        });

        if (entries != null) {
          var _iterator138 = _createForOfIteratorHelper(entries),
              _step138;

          try {
            for (_iterator138.s(); !(_step138 = _iterator138.n()).done;) {
              var _step138$value = _slicedToArray(_step138.value, 2),
                  _key18 = _step138$value[0],
                  value = _step138$value[1];

              _this120.set(_key18, value);
            }
          } catch (err) {
            _iterator138.e(err);
          } finally {
            _iterator138.f();
          }
        }

        return _this120;
      }

      _createClass(InternMap, [{
        key: "get",
        value: function get(key) {
          return _get(_getPrototypeOf(InternMap.prototype), "get", this).call(this, intern_get(this, key));
        }
      }, {
        key: "has",
        value: function has(key) {
          return _get(_getPrototypeOf(InternMap.prototype), "has", this).call(this, intern_get(this, key));
        }
      }, {
        key: "set",
        value: function set(key, value) {
          return _get(_getPrototypeOf(InternMap.prototype), "set", this).call(this, intern_set(this, key), value);
        }
      }, {
        key: "delete",
        value: function _delete(key) {
          return _get(_getPrototypeOf(InternMap.prototype), "delete", this).call(this, intern_delete(this, key));
        }
      }]);

      return InternMap;
    }( /*#__PURE__*/_wrapNativeSuper(Map));

    var InternSet = /*#__PURE__*/function (_Set) {
      _inherits(InternSet, _Set);

      var _super35 = _createSuper(InternSet);

      function InternSet(values) {
        var _this121;

        var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : keyof;

        _classCallCheck(this, InternSet);

        _this121 = _super35.call(this);
        Object.defineProperties(_assertThisInitialized(_this121), {
          _intern: {
            value: new Map()
          },
          _key: {
            value: key
          }
        });

        if (values != null) {
          var _iterator139 = _createForOfIteratorHelper(values),
              _step139;

          try {
            for (_iterator139.s(); !(_step139 = _iterator139.n()).done;) {
              var value = _step139.value;

              _this121.add(value);
            }
          } catch (err) {
            _iterator139.e(err);
          } finally {
            _iterator139.f();
          }
        }

        return _this121;
      }

      _createClass(InternSet, [{
        key: "has",
        value: function has(value) {
          return _get(_getPrototypeOf(InternSet.prototype), "has", this).call(this, intern_get(this, value));
        }
      }, {
        key: "add",
        value: function add(value) {
          return _get(_getPrototypeOf(InternSet.prototype), "add", this).call(this, intern_set(this, value));
        }
      }, {
        key: "delete",
        value: function _delete(value) {
          return _get(_getPrototypeOf(InternSet.prototype), "delete", this).call(this, intern_delete(this, value));
        }
      }]);

      return InternSet;
    }( /*#__PURE__*/_wrapNativeSuper(Set));

    function intern_get(_ref81, value) {
      var _intern = _ref81._intern,
          _key = _ref81._key;

      var key = _key(value);

      return _intern.has(key) ? _intern.get(key) : value;
    }

    function intern_set(_ref82, value) {
      var _intern = _ref82._intern,
          _key = _ref82._key;

      var key = _key(value);

      if (_intern.has(key)) return _intern.get(key);

      _intern.set(key, value);

      return value;
    }

    function intern_delete(_ref83, value) {
      var _intern = _ref83._intern,
          _key = _ref83._key;

      var key = _key(value);

      if (_intern.has(key)) {
        value = _intern.get(value);

        _intern["delete"](key);
      }

      return value;
    }

    function keyof(value) {
      return value !== null && typeof value === "object" ? value.valueOf() : value;
    }
    /***/

  },

  /***/
  "./node_modules/maquette-css-transitions/dist/maquette-css-transitions.umd.js":
  /*!************************************************************************************!*\
    !*** ./node_modules/maquette-css-transitions/dist/maquette-css-transitions.umd.js ***!
    \************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesMaquetteCssTransitionsDistMaquetteCssTransitionsUmdJs(module, exports, __webpack_require__) {
    (function (global, factory) {
      true ? factory(exports) : undefined;
    })(this, function (exports) {
      'use strict';

      var browserSpecificTransitionEndEventName;
      var browserSpecificAnimationEndEventName;

      var determineBrowserSpecificStyleNames = function determineBrowserSpecificStyleNames(element) {
        if ('WebkitTransition' in element.style) {
          browserSpecificTransitionEndEventName = 'webkitTransitionEnd';
          browserSpecificAnimationEndEventName = 'webkitAnimationEnd';
        } else if ('transition' in element.style) {
          browserSpecificTransitionEndEventName = 'transitionend';
          browserSpecificAnimationEndEventName = 'animationend';
        } else {
          throw new Error('Your browser is not supported!');
        }
      };

      var init = function init(testElement) {
        if (!browserSpecificTransitionEndEventName) {
          determineBrowserSpecificStyleNames(testElement);
        }
      };

      var createEnterCssTransition = function createEnterCssTransition(cssClassBase, activeClass) {
        if (activeClass === void 0) {
          activeClass = cssClassBase + "-active";
        }

        return function (element) {
          init(element);
          var finished = false;

          var transitionEnd = function transitionEnd(evt) {
            if (!finished) {
              finished = true;
              element.removeEventListener(browserSpecificTransitionEndEventName, transitionEnd);
              element.removeEventListener(browserSpecificAnimationEndEventName, transitionEnd);
              element.classList.remove(cssClassBase);
              element.classList.remove(activeClass);
            }
          };

          element.classList.add(cssClassBase);
          element.addEventListener(browserSpecificTransitionEndEventName, transitionEnd);
          element.addEventListener(browserSpecificAnimationEndEventName, transitionEnd);
          requestAnimationFrame(function () {
            element.classList.add(activeClass);
          });
        };
      };

      var createExitCssTransition = function createExitCssTransition(cssClassBase, activeClass) {
        if (activeClass === void 0) {
          activeClass = cssClassBase + "-active";
        }

        return function (element, removeElement) {
          init(element);
          var finished = false;

          var transitionEnd = function transitionEnd(evt) {
            if (!finished) {
              finished = true;
              element.removeEventListener(browserSpecificTransitionEndEventName, transitionEnd);
              element.removeEventListener(browserSpecificAnimationEndEventName, transitionEnd);
              removeElement();
            }
          };

          element.classList.add(cssClassBase);
          element.addEventListener(browserSpecificTransitionEndEventName, transitionEnd);
          element.addEventListener(browserSpecificAnimationEndEventName, transitionEnd);
          requestAnimationFrame(function () {
            element.classList.add(activeClass);
          });
        };
      };

      exports.createEnterCssTransition = createEnterCssTransition;
      exports.createExitCssTransition = createExitCssTransition;
      Object.defineProperty(exports, '__esModule', {
        value: true
      });
    });
    /***/

  },

  /***/
  "./node_modules/maquette-jsx/dist/maquette-jsx.umd.js":
  /*!************************************************************!*\
    !*** ./node_modules/maquette-jsx/dist/maquette-jsx.umd.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesMaquetteJsxDistMaquetteJsxUmdJs(module, exports, __webpack_require__) {
    (function (global, factory) {
      true ? factory(exports) : undefined;
    })(this, function (exports) {
      'use strict';

      var toTextVNode = function toTextVNode(data) {
        return {
          vnodeSelector: '',
          properties: undefined,
          children: undefined,
          text: data.toString(),
          domNode: null
        };
      };

      var appendChildren = function appendChildren(insertions, main) {
        for (var i = 0, length_1 = insertions.length; i < length_1; i++) {
          var item = insertions[i];

          if (Array.isArray(item)) {
            appendChildren(item, main);
          } else {
            if (item !== null && item !== undefined && item !== false) {
              if (!item.hasOwnProperty('vnodeSelector')) {
                item = toTextVNode(item);
              }

              main.push(item);
            }
          }
        }
      };

      var jsx = function jsx(tagName, properties) {
        var childNodes = [];

        for (var _i = 2; _i < arguments.length; _i++) {
          childNodes[_i - 2] = arguments[_i];
        }

        if (childNodes.length === 1 && typeof childNodes[0] === 'string') {
          return {
            vnodeSelector: tagName,
            properties: properties || undefined,
            children: undefined,
            text: childNodes[0],
            domNode: null
          };
        }

        var children = [];
        appendChildren(childNodes, children);
        return {
          vnodeSelector: tagName,
          properties: properties || undefined,
          children: children,
          text: undefined,
          domNode: null
        };
      };
      /**
       * Call this function before executing any JSX formatted code. This function makes the window.jsx function available.
       */


      var enableGlobalJsx = function enableGlobalJsx() {
        window.jsx = jsx;
      };

      exports.jsx = jsx;
      exports.enableGlobalJsx = enableGlobalJsx;
      Object.defineProperty(exports, '__esModule', {
        value: true
      });
    });
    /***/

  },

  /***/
  "./node_modules/ng2-pdfjs-viewer/index.js":
  /*!************************************************!*\
    !*** ./node_modules/ng2-pdfjs-viewer/index.js ***!
    \************************************************/

  /*! exports provided: PdfJsViewerModule, PdfJsViewerComponent */

  /***/
  function node_modulesNg2PdfjsViewerIndexJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PdfJsViewerModule", function () {
      return PdfJsViewerModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PdfJsViewerComponent", function () {
      return PdfJsViewerComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /**
     * @fileoverview added by tsickle
     * Generated from: ng2-pdfjs-viewer.component.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */


    var PdfJsViewerComponent =
    /** @class */
    function () {
      function PdfJsViewerComponent() {
        this.onBeforePrint = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onAfterPrint = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onDocumentLoad = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onPageChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.externalWindow = false;
        this.showSpinner = true;
        this.openFile = true;
        this.download = true;
        this.viewBookmark = true;
        this.print = true;
        this.fullScreen = true; //@Input() public showFullScreen: boolean;

        this.find = true;
        this.useOnlyCssZoom = false;
        this.errorOverride = false;
        this.errorAppend = true;
        this.diagnosticLogs = true;
      }

      Object.defineProperty(PdfJsViewerComponent.prototype, "page", {
        get:
        /**
        * @return {?}
        */
        function get() {
          if (this.PDFViewerApplication) {
            return this.PDFViewerApplication.page;
          } else {
            if (this.diagnosticLogs) console.warn("Document is not loaded yet!!!. Try to retrieve page# after full load.");
          }
        },
        set:
        /**
        * @param {?} _page
        * @return {?}
        */
        function set(_page) {
          this._page = _page;

          if (this.PDFViewerApplication) {
            this.PDFViewerApplication.page = this._page;
          } else {
            if (this.diagnosticLogs) console.warn("Document is not loaded yet!!!. Try to set page# after full load. Ignore this warning if you are not setting page# using '.' notation. (E.g. pdfViewer.page = 5;)");
          }
        },
        enumerable: false,
        configurable: true
      });
      Object.defineProperty(PdfJsViewerComponent.prototype, "pdfSrc", {
        get:
        /**
        * @return {?}
        */
        function get() {
          return this._src;
        },
        set:
        /**
        * @param {?} _src
        * @return {?}
        */
        function set(_src) {
          this._src = _src;
        },
        enumerable: false,
        configurable: true
      });
      Object.defineProperty(PdfJsViewerComponent.prototype, "PDFViewerApplicationOptions", {
        get:
        /**
        * @return {?}
        */
        function get() {
          /** @type {?} */
          var pdfViewerOptions = null;

          if (this.externalWindow) {
            if (this.viewerTab) {
              pdfViewerOptions = this.viewerTab.PDFViewerApplicationOptions;
            }
          } else {
            if (this.iframe.nativeElement.contentWindow) {
              pdfViewerOptions = this.iframe.nativeElement.contentWindow.PDFViewerApplicationOptions;
            }
          }

          return pdfViewerOptions;
        },
        enumerable: false,
        configurable: true
      });
      Object.defineProperty(PdfJsViewerComponent.prototype, "PDFViewerApplication", {
        get:
        /**
        * @return {?}
        */
        function get() {
          /** @type {?} */
          var pdfViewer = null;

          if (this.externalWindow) {
            if (this.viewerTab) {
              pdfViewer = this.viewerTab.PDFViewerApplication;
            }
          } else {
            if (this.iframe.nativeElement.contentWindow) {
              pdfViewer = this.iframe.nativeElement.contentWindow.PDFViewerApplication;
            }
          }

          return pdfViewer;
        },
        enumerable: false,
        configurable: true
      });
      /**
       * @param {?} viewerEvent
       * @return {?}
       */

      PdfJsViewerComponent.prototype.receiveMessage =
      /**
      * @param {?} viewerEvent
      * @return {?}
      */
      function (viewerEvent) {
        if (viewerEvent.data && viewerEvent.data.viewerId && viewerEvent.data.event) {
          /** @type {?} */
          var viewerId = viewerEvent.data.viewerId;
          /** @type {?} */

          var event_1 = viewerEvent.data.event;
          /** @type {?} */

          var param = viewerEvent.data.param;

          if (this.viewerId == viewerId) {
            if (this.onBeforePrint && event_1 == "beforePrint") {
              this.onBeforePrint.emit();
            } else if (this.onAfterPrint && event_1 == "afterPrint") {
              this.onAfterPrint.emit();
            } else if (this.onDocumentLoad && event_1 == "pagesLoaded") {
              this.onDocumentLoad.emit(param);
            } else if (this.onPageChange && event_1 == "pageChange") {
              this.onPageChange.emit(param);
            }
          }
        }
      };
      /**
       * @return {?}
       */


      PdfJsViewerComponent.prototype.ngOnInit =
      /**
      * @return {?}
      */
      function () {
        window.addEventListener("message", this.receiveMessage.bind(this), false);

        if (!this.externalWindow) {
          // Load pdf for embedded views
          this.loadPdf();
        }
      };
      /**
       * @return {?}
       */


      PdfJsViewerComponent.prototype.refresh =
      /**
      * @return {?}
      */
      function () {
        this.loadPdf();
      };
      /**
       * @private
       * @return {?}
       */


      PdfJsViewerComponent.prototype.loadPdf =
      /**
      * @private
      * @return {?}
      */
      function () {
        if (!this._src) {
          return;
        } // console.log(`Tab is - ${this.viewerTab}`);
        // if (this.viewerTab) {
        //   console.log(`Status of window - ${this.viewerTab.closed}`);
        // }


        if (this.externalWindow && (typeof this.viewerTab === 'undefined' || this.viewerTab.closed)) {
          this.viewerTab = window.open('', '_blank', this.externalWindowOptions || '');

          if (this.viewerTab == null) {
            if (this.diagnosticLogs) console.error("ng2-pdfjs-viewer: For 'externalWindow = true'. i.e opening in new tab to work, pop-ups should be enabled.");
            return;
          }

          if (this.showSpinner) {
            this.viewerTab.document.write("\n          <style>\n          .loader {\n            position: fixed;\n            left: 40%;\n            top: 40%;\n            border: 16px solid #f3f3f3;\n            border-radius: 50%;\n            border-top: 16px solid #3498db;\n            width: 120px;\n            height: 120px;\n            animation: spin 2s linear infinite;\n          }\n          @keyframes spin {\n            0% {\n              transform: rotate(0deg);\n            }\n            100% {\n              transform: rotate(360deg);\n            }\n          }\n          </style>\n          <div class=\"loader\"></div>\n        ");
          }
        }
        /** @type {?} */


        var fileUrl; //if (typeof this.src === "string") {
        //  fileUrl = this.src;
        //}

        if (this._src instanceof Blob) {
          fileUrl = encodeURIComponent(URL.createObjectURL(this._src));
        } else if (this._src instanceof Uint8Array) {
          /** @type {?} */
          var blob = new Blob([this._src], {
            type: "application/pdf"
          });
          fileUrl = encodeURIComponent(URL.createObjectURL(blob));
        } else {
          fileUrl = this._src;
        }
        /** @type {?} */


        var viewerUrl;

        if (this.viewerFolder) {
          viewerUrl = this.viewerFolder + "/web/viewer.html";
        } else {
          viewerUrl = "assets/pdfjs/web/viewer.html";
        }

        viewerUrl += "?file=" + fileUrl;

        if (typeof this.viewerId !== 'undefined') {
          viewerUrl += "&viewerId=" + this.viewerId;
        }

        if (typeof this.onBeforePrint !== 'undefined') {
          viewerUrl += "&beforePrint=true";
        }

        if (typeof this.onAfterPrint !== 'undefined') {
          viewerUrl += "&afterPrint=true";
        }

        if (typeof this.onDocumentLoad !== 'undefined') {
          viewerUrl += "&pagesLoaded=true";
        }

        if (typeof this.onPageChange !== 'undefined') {
          viewerUrl += "&pageChange=true";
        }

        if (this.downloadFileName) {
          if (!this.downloadFileName.endsWith(".pdf")) {
            this.downloadFileName += ".pdf";
          }

          viewerUrl += "&fileName=" + this.downloadFileName;
        }

        if (typeof this.openFile !== 'undefined') {
          viewerUrl += "&openFile=" + this.openFile;
        }

        if (typeof this.download !== 'undefined') {
          viewerUrl += "&download=" + this.download;
        }

        if (this.startDownload) {
          viewerUrl += "&startDownload=" + this.startDownload;
        }

        if (typeof this.viewBookmark !== 'undefined') {
          viewerUrl += "&viewBookmark=" + this.viewBookmark;
        }

        if (typeof this.print !== 'undefined') {
          viewerUrl += "&print=" + this.print;
        }

        if (this.startPrint) {
          viewerUrl += "&startPrint=" + this.startPrint;
        }

        if (typeof this.fullScreen !== 'undefined') {
          viewerUrl += "&fullScreen=" + this.fullScreen;
        } // if (this.showFullScreen) {
        //   viewerUrl += `&showFullScreen=${this.showFullScreen}`;
        // }


        if (typeof this.find !== 'undefined') {
          viewerUrl += "&find=" + this.find;
        }

        if (this.lastPage) {
          viewerUrl += "&lastpage=" + this.lastPage;
        }

        if (this.rotatecw) {
          viewerUrl += "&rotatecw=" + this.rotatecw;
        }

        if (this.rotateccw) {
          viewerUrl += "&rotateccw=" + this.rotateccw;
        }

        if (this.cursor) {
          viewerUrl += "&cursor=" + this.cursor;
        }

        if (this.scroll) {
          viewerUrl += "&scroll=" + this.scroll;
        }

        if (this.spread) {
          viewerUrl += "&spread=" + this.spread;
        }

        if (this.locale) {
          viewerUrl += "&locale=" + this.locale;
        }

        if (this.useOnlyCssZoom) {
          viewerUrl += "&useOnlyCssZoom=" + this.useOnlyCssZoom;
        }

        if (this._page || this.zoom || this.nameddest || this.pagemode) viewerUrl += "#";

        if (this._page) {
          viewerUrl += "&page=" + this._page;
        }

        if (this.zoom) {
          viewerUrl += "&zoom=" + this.zoom;
        }

        if (this.nameddest) {
          viewerUrl += "&nameddest=" + this.nameddest;
        }

        if (this.pagemode) {
          viewerUrl += "&pagemode=" + this.pagemode;
        }

        if (this.errorOverride || this.errorAppend) {
          viewerUrl += "&errorMessage=" + this.errorMessage;

          if (this.errorOverride) {
            viewerUrl += "&errorOverride=" + this.errorOverride;
          }

          if (this.errorAppend) {
            viewerUrl += "&errorAppend=" + this.errorAppend;
          }
        }

        if (this.externalWindow) {
          this.viewerTab.location.href = viewerUrl;
        } else {
          this.iframe.nativeElement.src = viewerUrl;
        } // console.log(`
        //   pdfSrc = ${this.pdfSrc}
        //   fileUrl = ${fileUrl}
        //   externalWindow = ${this.externalWindow}
        //   downloadFileName = ${this.downloadFileName}
        //   viewerFolder = ${this.viewerFolder}
        //   openFile = ${this.openFile}
        //   download = ${this.download}
        //   startDownload = ${this.startDownload}
        //   viewBookmark = ${this.viewBookmark}
        //   print = ${this.print}
        //   startPrint = ${this.startPrint}
        //   fullScreen = ${this.fullScreen}
        //   find = ${this.find}
        //   lastPage = ${this.lastPage}
        //   rotatecw = ${this.rotatecw}
        //   rotateccw = ${this.rotateccw}
        //   cursor = ${this.cursor}
        //   scrollMode = ${this.scroll}
        //   spread = ${this.spread}
        //   page = ${this.page}
        //   zoom = ${this.zoom}
        //   nameddest = ${this.nameddest}
        //   pagemode = ${this.pagemode}
        //   pagemode = ${this.errorOverride}
        //   pagemode = ${this.errorAppend}
        //   pagemode = ${this.errorMessage}
        // `);

      };

      PdfJsViewerComponent.decorators = [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"],
        args: [{
          selector: 'ng2-pdfjs-viewer',
          template: "<iframe title=\"ng2-pdfjs-viewer\" [hidden]=\"externalWindow || (!externalWindow && !pdfSrc)\" #iframe width=\"100%\" height=\"100%\"></iframe>"
        }]
      }];
      PdfJsViewerComponent.propDecorators = {
        iframe: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewChild"],
          args: ['iframe', {
            "static": true
          }]
        }],
        viewerId: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        onBeforePrint: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onAfterPrint: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onDocumentLoad: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        onPageChange: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Output"]
        }],
        viewerFolder: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        externalWindow: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        showSpinner: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        downloadFileName: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        openFile: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        download: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startDownload: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        viewBookmark: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        print: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        startPrint: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        fullScreen: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        find: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        zoom: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        nameddest: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        pagemode: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        lastPage: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotatecw: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        rotateccw: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        cursor: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        scroll: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        spread: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        locale: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        useOnlyCssZoom: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        errorOverride: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        errorAppend: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        errorMessage: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        diagnosticLogs: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        externalWindowOptions: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        page: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }],
        pdfSrc: [{
          type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Input"]
        }]
      };
      return PdfJsViewerComponent;
    }();
    /**
     * @fileoverview added by tsickle
     * Generated from: index.ts
     * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
     */


    var PdfJsViewerModule =
    /** @class */
    function () {
      function PdfJsViewerModule() {}
      /**
       * @return {?}
       */


      PdfJsViewerModule.forRoot =
      /**
      * @return {?}
      */
      function () {
        return {
          ngModule: PdfJsViewerModule
        };
      };

      PdfJsViewerModule.decorators = [{
        type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"],
        args: [{
          imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__["CommonModule"]],
          declarations: [PdfJsViewerComponent],
          exports: [PdfJsViewerComponent]
        }]
      }];
      return PdfJsViewerModule;
    }();
    /***/

  },

  /***/
  "./node_modules/ng2-pdfjs-viewer/ng2-pdfjs-viewer.ngfactory.js":
  /*!*********************************************************************!*\
    !*** ./node_modules/ng2-pdfjs-viewer/ng2-pdfjs-viewer.ngfactory.js ***!
    \*********************************************************************/

  /*! exports provided: PdfJsViewerModuleNgFactory, RenderType_PdfJsViewerComponent, View_PdfJsViewerComponent_0, View_PdfJsViewerComponent_Host_0, PdfJsViewerComponentNgFactory */

  /***/
  function node_modulesNg2PdfjsViewerNg2PdfjsViewerNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PdfJsViewerModuleNgFactory", function () {
      return PdfJsViewerModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PdfJsViewerComponent", function () {
      return RenderType_PdfJsViewerComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PdfJsViewerComponent_0", function () {
      return View_PdfJsViewerComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PdfJsViewerComponent_Host_0", function () {
      return View_PdfJsViewerComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PdfJsViewerComponentNgFactory", function () {
      return PdfJsViewerComponentNgFactory;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ng2-pdfjs-viewer */
    "./node_modules/ng2-pdfjs-viewer/index.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var PdfJsViewerModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_1__["PdfJsViewerModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, []], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_1__["PdfJsViewerModule"], ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_1__["PdfJsViewerModule"], [])]);
    });

    var styles_PdfJsViewerComponent = [];

    var RenderType_PdfJsViewerComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PdfJsViewerComponent,
      data: {}
    });

    function View_PdfJsViewerComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](402653184, 1, {
        iframe: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, [[1, 0], ["iframe", 1]], null, 0, "iframe", [["height", "100%"], ["title", "ng2-pdfjs-viewer"], ["width", "100%"]], [[8, "hidden", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.externalWindow || !_co.externalWindow && !_co.pdfSrc;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_PdfJsViewerComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "ng2-pdfjs-viewer", [], null, null, null, View_PdfJsViewerComponent_0, RenderType_PdfJsViewerComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 114688, null, 0, ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_1__["PdfJsViewerComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var PdfJsViewerComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("ng2-pdfjs-viewer", ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_1__["PdfJsViewerComponent"], View_PdfJsViewerComponent_Host_0, {
      viewerId: "viewerId",
      viewerFolder: "viewerFolder",
      externalWindow: "externalWindow",
      showSpinner: "showSpinner",
      downloadFileName: "downloadFileName",
      openFile: "openFile",
      download: "download",
      startDownload: "startDownload",
      viewBookmark: "viewBookmark",
      print: "print",
      startPrint: "startPrint",
      fullScreen: "fullScreen",
      find: "find",
      zoom: "zoom",
      nameddest: "nameddest",
      pagemode: "pagemode",
      lastPage: "lastPage",
      rotatecw: "rotatecw",
      rotateccw: "rotateccw",
      cursor: "cursor",
      scroll: "scroll",
      spread: "spread",
      locale: "locale",
      useOnlyCssZoom: "useOnlyCssZoom",
      errorOverride: "errorOverride",
      errorAppend: "errorAppend",
      errorMessage: "errorMessage",
      diagnosticLogs: "diagnosticLogs",
      externalWindowOptions: "externalWindowOptions",
      page: "page",
      pdfSrc: "pdfSrc"
    }, {
      onBeforePrint: "onBeforePrint",
      onAfterPrint: "onAfterPrint",
      onDocumentLoad: "onDocumentLoad",
      onPageChange: "onPageChange"
    }, []);
    /***/

  },

  /***/
  "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js ***!
    \*******************************************************************************/

  /*! exports provided: PerfectScrollbarModuleNgFactory, RenderType_PerfectScrollbarComponent, View_PerfectScrollbarComponent_0, View_PerfectScrollbarComponent_Host_0, PerfectScrollbarComponentNgFactory */

  /***/
  function node_modulesNgxPerfectScrollbarNgxPerfectScrollbarNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PerfectScrollbarModuleNgFactory", function () {
      return PerfectScrollbarModuleNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PerfectScrollbarComponent", function () {
      return RenderType_PerfectScrollbarComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PerfectScrollbarComponent_0", function () {
      return View_PerfectScrollbarComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PerfectScrollbarComponent_Host_0", function () {
      return View_PerfectScrollbarComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PerfectScrollbarComponentNgFactory", function () {
      return PerfectScrollbarComponentNgFactory;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var PerfectScrollbarModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PerfectScrollbarModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, []], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PerfectScrollbarModule"], ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PerfectScrollbarModule"], [])]);
    });

    var styles_PerfectScrollbarComponent = ["perfect-scrollbar{position:relative;display:block;overflow:hidden;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:-webkit-box;display:flex;flex-direction:column;height:auto;min-width:0;min-height:0;-webkit-box-direction:column;-webkit-box-orient:column}perfect-scrollbar[fxflex]>.ps{flex:1 1 auto;width:auto;height:auto;min-width:0;min-height:0;-webkit-box-flex:1}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{display:-webkit-box;display:flex;flex:1 1 auto;flex-direction:inherit;align-items:inherit;align-content:inherit;justify-content:inherit;width:100%;height:100%;-webkit-box-align:inherit;-webkit-box-direction:inherit;-webkit-box-flex:1;-webkit-box-orient:inherit;-webkit-box-pack:inherit},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important;-webkit-box-direction:row!important;-webkit-box-orient:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important;-webkit-box-direction:column!important;-webkit-box-orient:column!important}perfect-scrollbar>.ps{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;overflow:hidden;pointer-events:none}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{position:absolute;opacity:0;-webkit-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-width:100%;min-height:24px}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{top:0;min-width:24px;min-height:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{top:0!important;right:0!important;left:auto!important;width:10px;cursor:default;-webkit-transition:width .2s linear,opacity .2s linear,background-color .2s linear;transition:width .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{top:auto!important;bottom:0!important;left:0!important;height:10px;cursor:default;-webkit-transition:height .2s linear,opacity .2s linear,background-color .2s linear;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{opacity:.9;background-color:#eee}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{opacity:1;background:-webkit-gradient(linear,left top,left bottom,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to bottom,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{opacity:1;background:-webkit-gradient(linear,left bottom,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to top,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{opacity:1;background:-webkit-gradient(linear,left top,right top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to right,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{opacity:1;background:-webkit-gradient(linear,right top,left top,from(rgba(255,255,255,.5)),to(rgba(255,255,255,0)));background:linear-gradient(to left,rgba(255,255,255,.5) 0,rgba(255,255,255,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:-webkit-gradient(linear,left top,left bottom,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to bottom,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:-webkit-gradient(linear,left bottom,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to top,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:-webkit-gradient(linear,left top,right top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to right,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:-webkit-gradient(linear,right top,left top,from(rgba(170,170,170,.5)),to(rgba(170,170,170,0)));background:linear-gradient(to left,rgba(170,170,170,.5) 0,rgba(170,170,170,0) 100%)}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}", ".ps{overflow:hidden!important;overflow-anchor:none;-ms-overflow-style:none;touch-action:auto;-ms-touch-action:auto}.ps__rail-x{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;height:15px;bottom:0;position:absolute}.ps__rail-y{display:none;opacity:0;transition:background-color .2s linear,opacity .2s linear;-webkit-transition:background-color .2s linear,opacity .2s linear;width:15px;right:0;position:absolute}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{display:block;background-color:transparent}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,height .2s ease-in-out;-webkit-transition:background-color .2s linear,height .2s ease-in-out;height:6px;bottom:2px;position:absolute}.ps__thumb-y{background-color:#aaa;border-radius:6px;transition:background-color .2s linear,width .2s ease-in-out;-webkit-transition:background-color .2s linear,width .2s ease-in-out;width:6px;right:2px;position:absolute}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.ps{overflow:auto!important}}"];

    var RenderType_PerfectScrollbarComponent = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcrt"]({
      encapsulation: 2,
      styles: styles_PerfectScrollbarComponent,
      data: {}
    });

    function View_PerfectScrollbarComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 4, "div", [["class", "ps-overlay"]], [[2, "ps-at-top", null], [2, "ps-at-left", null], [2, "ps-at-right", null], [2, "ps-at-bottom", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 0, "div", [["class", "ps-indicator-top"]], [[2, "ps-indicator-show", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](2, 0, null, null, 0, "div", [["class", "ps-indicator-left"]], [[2, "ps-indicator-show", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 0, "div", [["class", "ps-indicator-right"]], [[2, "ps-indicator-show", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](4, 0, null, null, 0, "div", [["class", "ps-indicator-bottom"]], [[2, "ps-indicator-show", null]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.states.top;
        var currVal_1 = _co.states.left;
        var currVal_2 = _co.states.right;
        var currVal_3 = _co.states.bottom;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3);

        var currVal_4 = _co.indicatorY && _co.interaction;

        _ck(_v, 1, 0, currVal_4);

        var currVal_5 = _co.indicatorX && _co.interaction;

        _ck(_v, 2, 0, currVal_5);

        var currVal_6 = _co.indicatorX && _co.interaction;

        _ck(_v, 3, 0, currVal_6);

        var currVal_7 = _co.indicatorY && _co.interaction;

        _ck(_v, 4, 0, currVal_7);
      });
    }

    function View_PerfectScrollbarComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵqud"](402653184, 1, {
        directiveRef: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](1, 0, null, null, 5, "div", [["style", "position: static;"]], [[2, "ps", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](2, 999424, [[1, 4]], 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PerfectScrollbarDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["PLATFORM_ID"], [2, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PERFECT_SCROLLBAR_CONFIG"]]], {
        disabled: [0, "disabled"],
        config: [1, "config"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](3, 0, null, null, 1, "div", [["class", "ps-content"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵand"](16777216, null, null, 1, null, View_PerfectScrollbarComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.disabled;
        var currVal_2 = _co.config;

        _ck(_v, 2, 0, currVal_1, currVal_2);

        var currVal_3 = _co.scrollIndicators;

        _ck(_v, 6, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.usePSClass;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_PerfectScrollbarComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵeld"](0, 0, null, null, 1, "perfect-scrollbar", [], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, View_PerfectScrollbarComponent_0, RenderType_PerfectScrollbarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵdid"](1, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["PLATFORM_ID"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).autoPropagation;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵnov"](_v, 1).scrollIndicators;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    var PerfectScrollbarComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵccf"]("perfect-scrollbar", ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_1__["PerfectScrollbarComponent"], View_PerfectScrollbarComponent_Host_0, {
      disabled: "disabled",
      usePSClass: "usePSClass",
      autoPropagation: "autoPropagation",
      scrollIndicators: "scrollIndicators",
      config: "config"
    }, {
      psScrollY: "psScrollY",
      psScrollX: "psScrollX",
      psScrollUp: "psScrollUp",
      psScrollDown: "psScrollDown",
      psScrollLeft: "psScrollLeft",
      psScrollRight: "psScrollRight",
      psYReachEnd: "psYReachEnd",
      psYReachStart: "psYReachStart",
      psXReachEnd: "psXReachEnd",
      psXReachStart: "psXReachStart"
    }, ["*"]);
    /***/

  },

  /***/
  "./src/app/layout/header/header.component.ngfactory.js":
  /*!*************************************************************!*\
    !*** ./src/app/layout/header/header.component.ngfactory.js ***!
    \*************************************************************/

  /*! exports provided: RenderType_HeaderComponent, View_HeaderComponent_0, View_HeaderComponent_Host_0, HeaderComponentNgFactory */

  /***/
  function srcAppLayoutHeaderHeaderComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_HeaderComponent", function () {
      return RenderType_HeaderComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeaderComponent_0", function () {
      return View_HeaderComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HeaderComponent_Host_0", function () {
      return View_HeaderComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeaderComponentNgFactory", function () {
      return HeaderComponentNgFactory;
    });
    /* harmony import */


    var _header_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./header.component.scss.shim.ngstyle */
    "./src/app/layout/header/header.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _nav_bar_nav_bar_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../nav-bar/nav-bar.component.ngfactory */
    "./src/app/layout/nav-bar/nav-bar.component.ngfactory.js");
    /* harmony import */


    var _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../nav-bar/nav-bar.component */
    "./src/app/layout/nav-bar/nav-bar.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_notify_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/services/notify.service */
    "./src/app/shared/services/notify.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _header_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./header.component */
    "./src/app/layout/header/header.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_HeaderComponent = [_header_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_HeaderComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_HeaderComponent,
      data: {}
    });

    function View_HeaderComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "div", [["class", "list-group text-dark"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "a", [["class", "list-group-item"], ["routerLink", "/manager/profile"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 671744, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"]], {
        routerLink: [0, "routerLink"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Th\xF4ng tin t\xE0i kho\u1EA3n"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "a", [["class", "list-group-item"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.logout() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["\u0110\u0103ng xu\u1EA5t"]))], function (_ck, _v) {
        var currVal_2 = "/manager/profile";

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).target;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).href;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      });
    }

    function View_HeaderComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 13, "div", [["class", "d-flex flex-column flex-md-row align-items-center p-3 px-md-4 bg-white border-bottom shadow-sm header justify-content-between"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 6, "div", [["class", "d-flex align-items-center"], ["style", "margin-left: -30px;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "img", [["alt", "logo"], ["src", "/assets/images/pti_gdt_while.png"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 4, "div", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "h4", [["class", "my-0 font-weight-normal"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](5, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "p", [["class", "my-0 font-weight-normal"], ["style", "font-size: 14px;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](7, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 5, "div", [["class", "d-flex align-items-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 1, "app-nav-bar", [], null, null, null, _nav_bar_nav_bar_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_NavBarComponent_0"], _nav_bar_nav_bar_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_NavBarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, null, 0, _nav_bar_nav_bar_component__WEBPACK_IMPORTED_MODULE_5__["NavBarComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _shared_services_notify_service__WEBPACK_IMPORTED_MODULE_7__["NotifyService"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 2, "div", [["style", "width: 40px;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 16777216, null, null, 1, "div", [["autoClose", "outside"], ["class", "avatar"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 737280, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbPopover"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbPopoverConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        autoClose: [0, "autoClose"],
        ngbPopover: [1, "ngbPopover"],
        popoverTitle: [2, "popoverTitle"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["setting", 2]], null, 0, null, View_HeaderComponent_1))], function (_ck, _v) {
        var _co = _v.component;

        _ck(_v, 10, 0);

        var currVal_2 = "outside";

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14);

        var currVal_4 = _co.loginService == null ? null : _co.loginService.taiKhoan == null ? null : _co.loginService.taiKhoan.TenHienThi;

        _ck(_v, 13, 0, currVal_2, currVal_3, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;

        _ck(_v, 5, 0, currVal_0);

        var currVal_1 = _co.titleSub;

        _ck(_v, 7, 0, currVal_1);
      });
    }

    function View_HeaderComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-header", [], null, null, null, View_HeaderComponent_0, RenderType_HeaderComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _header_component__WEBPACK_IMPORTED_MODULE_9__["HeaderComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var HeaderComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-header", _header_component__WEBPACK_IMPORTED_MODULE_9__["HeaderComponent"], View_HeaderComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/layout/header/header.component.scss.shim.ngstyle.js":
  /*!*********************************************************************!*\
    !*** ./src/app/layout/header/header.component.scss.shim.ngstyle.js ***!
    \*********************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppLayoutHeaderHeaderComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".header[_ngcontent-%COMP%] {\n  height: 10vh;\n  z-index: 1;\n  background: linear-gradient(90deg, #0047bd 0%, #00087d 52%, #0047bd 82%, #00087d 100%);\n  color: #fff;\n}\n.header[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%] {\n  vertical-align: middle;\n  width: 40px;\n  height: 40px;\n  background-image: url(\"/assets/images/interface.svg\");\n  background-repeat: no-repeat;\n  background-size: 40px;\n  margin-right: -20px;\n}\n.header[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 95px;\n  height: 60px;\n  margin-right: -5px;\n}\n[_nghost-%COMP%]     .popover-header {\n  color: #212529;\n}\n[_nghost-%COMP%]     .popover-body {\n  padding: 0;\n}\n.list-group[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n  color: inherit;\n  cursor: pointer;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbGF5b3V0L2hlYWRlci9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbGF5b3V0XFxoZWFkZXJcXGhlYWRlci5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbGF5b3V0L2hlYWRlci9oZWFkZXIuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxZQUFBO0VBQ0EsVUFBQTtFQUNBLHNGQUFBO0VBQ0EsV0FBQTtBQ0NGO0FEQ0U7RUFDRSxzQkFBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBRUEscURBQUE7RUFDQSw0QkFBQTtFQUNBLHFCQUFBO0VBQ0EsbUJBQUE7QUNBSjtBRElFO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0ZKO0FET0U7RUFDRSxjQUFBO0FDSko7QURPRTtFQUNFLFVBQUE7QUNMSjtBRFVFO0VBQ0UscUJBQUE7RUFDQSxjQUFBO0VBQ0EsZUFBQTtBQ1BKIiwiZmlsZSI6InNyYy9hcHAvbGF5b3V0L2hlYWRlci9oZWFkZXIuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaGVhZGVyIHtcclxuICBoZWlnaHQ6IDEwdmg7XHJcbiAgei1pbmRleDogMTtcclxuICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoOTBkZWcsIHJnYmEoMCwgNzEsIDE4OSwgMSkgMCUsIHJnYmEoMCwgOCwgMTI1LCAxKSA1MiUsIHJnYmEoMCwgNzEsIDE4OSwgMSkgODIlLCByZ2JhKDAsIDgsIDEyNSwgMSkgMTAwJSk7XHJcbiAgY29sb3I6ICNmZmY7XHJcblxyXG4gIC5hdmF0YXIge1xyXG4gICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgIHdpZHRoOiA0MHB4O1xyXG4gICAgaGVpZ2h0OiA0MHB4O1xyXG4gICAgLy8gYm9yZGVyLXJhZGl1czogNTAlO1xyXG4gICAgYmFja2dyb3VuZC1pbWFnZTogdXJsKCcvYXNzZXRzL2ltYWdlcy9pbnRlcmZhY2Uuc3ZnJyk7XHJcbiAgICBiYWNrZ3JvdW5kLXJlcGVhdDogbm8tcmVwZWF0O1xyXG4gICAgYmFja2dyb3VuZC1zaXplOiA0MHB4O1xyXG4gICAgbWFyZ2luLXJpZ2h0OiAtMjBweDtcclxuICAgIC8vIHBhZGRpbmctcmlnaHQ6IDIuNXJlbSA7XHJcbiAgfVxyXG5cclxuICBpbWcge1xyXG4gICAgd2lkdGg6IDk1cHg7XHJcbiAgICBoZWlnaHQ6IDYwcHg7XHJcbiAgICBtYXJnaW4tcmlnaHQ6IC01cHg7XHJcbiAgfVxyXG59XHJcblxyXG46aG9zdCA6Om5nLWRlZXAge1xyXG4gIC5wb3BvdmVyLWhlYWRlciB7XHJcbiAgICBjb2xvcjogIzIxMjUyOTtcclxuICB9XHJcblxyXG4gIC5wb3BvdmVyLWJvZHkge1xyXG4gICAgcGFkZGluZzogMDtcclxuICB9XHJcbn1cclxuXHJcbi5saXN0LWdyb3VwIHtcclxuICBhIHtcclxuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgIGNvbG9yOiBpbmhlcml0O1xyXG4gICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gIH1cclxufSIsIi5oZWFkZXIge1xuICBoZWlnaHQ6IDEwdmg7XG4gIHotaW5kZXg6IDE7XG4gIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCg5MGRlZywgIzAwNDdiZCAwJSwgIzAwMDg3ZCA1MiUsICMwMDQ3YmQgODIlLCAjMDAwODdkIDEwMCUpO1xuICBjb2xvcjogI2ZmZjtcbn1cbi5oZWFkZXIgLmF2YXRhciB7XG4gIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XG4gIHdpZHRoOiA0MHB4O1xuICBoZWlnaHQ6IDQwcHg7XG4gIGJhY2tncm91bmQtaW1hZ2U6IHVybChcIi9hc3NldHMvaW1hZ2VzL2ludGVyZmFjZS5zdmdcIik7XG4gIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XG4gIGJhY2tncm91bmQtc2l6ZTogNDBweDtcbiAgbWFyZ2luLXJpZ2h0OiAtMjBweDtcbn1cbi5oZWFkZXIgaW1nIHtcbiAgd2lkdGg6IDk1cHg7XG4gIGhlaWdodDogNjBweDtcbiAgbWFyZ2luLXJpZ2h0OiAtNXB4O1xufVxuXG46aG9zdCA6Om5nLWRlZXAgLnBvcG92ZXItaGVhZGVyIHtcbiAgY29sb3I6ICMyMTI1Mjk7XG59XG46aG9zdCA6Om5nLWRlZXAgLnBvcG92ZXItYm9keSB7XG4gIHBhZGRpbmc6IDA7XG59XG5cbi5saXN0LWdyb3VwIGEge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGNvbG9yOiBpbmhlcml0O1xuICBjdXJzb3I6IHBvaW50ZXI7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/layout/header/header.component.ts":
  /*!***************************************************!*\
    !*** ./src/app/layout/header/header.component.ts ***!
    \***************************************************/

  /*! exports provided: HeaderComponent */

  /***/
  function srcAppLayoutHeaderHeaderComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HeaderComponent", function () {
      return HeaderComponent;
    });
    /* harmony import */


    var src_app_shared_constants_page_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/app/shared/constants/page.constant */
    "./src/app/shared/constants/page.constant.ts");

    var HeaderComponent = /*#__PURE__*/function () {
      function HeaderComponent(loginService) {
        _classCallCheck(this, HeaderComponent);

        this.loginService = loginService;
        this.title = src_app_shared_constants_page_constant__WEBPACK_IMPORTED_MODULE_0__["titlePage"];
        this.titleSub = src_app_shared_constants_page_constant__WEBPACK_IMPORTED_MODULE_0__["titleSub"];
      }

      _createClass(HeaderComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "logout",
        value: function logout() {
          this.loginService.logout();
        }
      }]);

      return HeaderComponent;
    }();
    /***/

  },

  /***/
  "./src/app/layout/layout.module.ts":
  /*!*****************************************!*\
    !*** ./src/app/layout/layout.module.ts ***!
    \*****************************************/

  /*! exports provided: LayoutModule */

  /***/
  function srcAppLayoutLayoutModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LayoutModule", function () {
      return LayoutModule;
    });

    var LayoutModule = /*#__PURE__*/_createClass(function LayoutModule() {
      _classCallCheck(this, LayoutModule);
    });
    /***/

  },

  /***/
  "./src/app/layout/nav-bar/nav-bar.component.ngfactory.js":
  /*!***************************************************************!*\
    !*** ./src/app/layout/nav-bar/nav-bar.component.ngfactory.js ***!
    \***************************************************************/

  /*! exports provided: RenderType_NavBarComponent, View_NavBarComponent_0, View_NavBarComponent_Host_0, NavBarComponentNgFactory */

  /***/
  function srcAppLayoutNavBarNavBarComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_NavBarComponent", function () {
      return RenderType_NavBarComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_NavBarComponent_0", function () {
      return View_NavBarComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_NavBarComponent_Host_0", function () {
      return View_NavBarComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NavBarComponentNgFactory", function () {
      return NavBarComponentNgFactory;
    });
    /* harmony import */


    var _nav_bar_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./nav-bar.component.scss.shim.ngstyle */
    "./src/app/layout/nav-bar/nav-bar.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _nav_bar_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./nav-bar.component */
    "./src/app/layout/nav-bar/nav-bar.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_notify_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/services/notify.service */
    "./src/app/shared/services/notify.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_NavBarComponent = [_nav_bar_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_NavBarComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_NavBarComponent,
      data: {}
    });

    function View_NavBarComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.notifyService.hoSoChoPheDuyet;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_NavBarComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "a", [["class", "btn btn-sm text-light mr-1"], ["routerLinkActive", "active"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 671744, [[2, 4]], 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"]], {
        routerLink: [0, "routerLink"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 1720320, null, 2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkActive"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLink"]], [2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"]]], {
        routerLinkActive: [0, "routerLinkActive"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 1, {
        links: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        linksWithHrefs: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](5, null, ["", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NavBarComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var currVal_2 = "/manager" + _v.parent.context.$implicit.url;

        _ck(_v, 1, 0, currVal_2);

        var currVal_3 = "active";

        _ck(_v, 2, 0, currVal_3);

        var currVal_5 = _v.parent.context.$implicit.url === "/phe-duyet";

        _ck(_v, 7, 0, currVal_5);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).target;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).href;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_4 = _v.parent.context.$implicit.name;

        _ck(_v, 5, 0, currVal_4);
      });
    }

    function View_NavBarComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "a", [["class", "dropdown-item"], ["ngbDropdownItem", ""], ["routerLinkActive", "active"]], [[1, "target", 0], [8, "href", 4], [2, "disabled", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 671744, [[9, 4]], 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"]], {
        routerLink: [0, "routerLink"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpad"](2, 1), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 1720320, null, 2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkActive"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLink"]], [2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"]]], {
        routerLinkActive: [0, "routerLinkActive"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 8, {
        links: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 9, {
        linksWithHrefs: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, [[7, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdownItem"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](7, null, ["", ""]))], function (_ck, _v) {
        var currVal_3 = _ck(_v, 2, 0, _v.context.$implicit.url);

        _ck(_v, 1, 0, currVal_3);

        var currVal_4 = "active";

        _ck(_v, 3, 0, currVal_4);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).target;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).href;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).disabled;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2);

        var currVal_5 = _v.context.$implicit.name;

        _ck(_v, 7, 0, currVal_5);
      });
    }

    function View_NavBarComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 15, "div", [["class", "d-inline-block"], ["ngbDropdown", ""]], [[2, "show", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 1720320, [["myDrop", 4]], 2, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdown"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdownConfig"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbNavbar"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 3, {
        _menu: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 4, {
        _anchor: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 6, "a", [["aria-haspopup", "true"], ["class", "btn btn-sm text-light mr-2 dropdown-toggle"], ["id", "dropdownManual"], ["ngbDropdownAnchor", ""], ["routerLinkActive", "active"]], [[1, "target", 0], [8, "href", 4], [1, "aria-expanded", 0]], [[null, "focus"], [null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false;
          ad = pd_0 && ad;
        }

        if ("focus" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).open() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 671744, [[6, 4]], 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["ActivatedRoute"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"]], {
        routerLink: [0, "routerLink"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 1720320, null, 2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkActive"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLink"]], [2, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterLinkWithHref"]]], {
        routerLinkActive: [0, "routerLinkActive"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 5, {
        links: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 6, {
        linksWithHrefs: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, [[4, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdownAnchor"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdown"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](10, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 4, "div", [["aria-labelledby", "dropdownManual"], ["ngbDropdownMenu", ""]], [[2, "dropdown-menu", null], [2, "show", null], [1, "x-placement", 0]], [[null, "keydown.ArrowUp"], [null, "keydown.ArrowDown"], [null, "keydown.Home"], [null, "keydown.End"], [null, "keydown.Enter"], [null, "keydown.Space"], [null, "keydown.Tab"], [null, "keydown.Shift.Tab"]], function (_v, en, $event) {
        var ad = true;

        if ("keydown.ArrowUp" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("keydown.ArrowDown" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_1 && ad;
        }

        if ("keydown.Home" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_2 && ad;
        }

        if ("keydown.End" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_3 && ad;
        }

        if ("keydown.Enter" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_4 && ad;
        }

        if ("keydown.Space" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_5 && ad;
        }

        if ("keydown.Tab" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_6 && ad;
        }

        if ("keydown.Shift.Tab" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.onKeyDown($event) !== false;
          ad = pd_7 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 16384, [[3, 4]], 1, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdownMenu"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDropdown"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 7, {
        menuItems: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NavBarComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var currVal_4 = "/manager" + _v.parent.context.$implicit.url;

        _ck(_v, 5, 0, currVal_4);

        var currVal_5 = "active";

        _ck(_v, 6, 0, currVal_5);

        var currVal_10 = _v.parent.context.$implicit.children;

        _ck(_v, 15, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).isOpen();

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).target;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).href;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).dropdown.isOpen();

        _ck(_v, 4, 0, currVal_1, currVal_2, currVal_3);

        var currVal_6 = _v.parent.context.$implicit.name;

        _ck(_v, 10, 0, currVal_6);

        var currVal_7 = true;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).dropdown.isOpen();

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).placement;

        _ck(_v, 11, 0, currVal_7, currVal_8, currVal_9);
      });
    }

    function View_NavBarComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "div", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NavBarComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NavBarComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.children === null;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.children !== null && _v.context.$implicit.code !== "quan-tri-he-thong";

        _ck(_v, 4, 0, currVal_1);
      }, null);
    }

    function View_NavBarComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "nav", [["class", "my-2 my-md-0 mr-md-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "div", [["class", "row"], ["style", "display: flex; justify-content: flex-end;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NavBarComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.menus;

        _ck(_v, 3, 0, currVal_0);
      }, null);
    }

    function View_NavBarComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-nav-bar", [], null, null, null, View_NavBarComponent_0, RenderType_NavBarComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _nav_bar_component__WEBPACK_IMPORTED_MODULE_5__["NavBarComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"], _angular_router__WEBPACK_IMPORTED_MODULE_2__["Router"], _shared_services_notify_service__WEBPACK_IMPORTED_MODULE_7__["NotifyService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var NavBarComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-nav-bar", _nav_bar_component__WEBPACK_IMPORTED_MODULE_5__["NavBarComponent"], View_NavBarComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/layout/nav-bar/nav-bar.component.scss.shim.ngstyle.js":
  /*!***********************************************************************!*\
    !*** ./src/app/layout/nav-bar/nav-bar.component.scss.shim.ngstyle.js ***!
    \***********************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppLayoutNavBarNavBarComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["nav[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\n  cursor: pointer;\n  text-decoration: none;\n}\nnav[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:hover {\n  color: #fff;\n  font-weight: 600;\n}\n.active[_ngcontent-%COMP%] {\n  background-color: #2b27c1;\n  color: #fff;\n  border-radius: 4px;\n  font-weight: 600;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbGF5b3V0L25hdi1iYXIvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXGxheW91dFxcbmF2LWJhclxcbmF2LWJhci5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbGF5b3V0L25hdi1iYXIvbmF2LWJhci5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDSTtFQUNJLGVBQUE7RUFDQSxxQkFBQTtBQ0FSO0FERVE7RUFDSSxXQUFBO0VBQ0EsZ0JBQUE7QUNBWjtBRE1BO0VBQ0kseUJBQUE7RUFDQSxXQUFBO0VBQ0Esa0JBQUE7RUFDQSxnQkFBQTtBQ0hKIiwiZmlsZSI6InNyYy9hcHAvbGF5b3V0L25hdi1iYXIvbmF2LWJhci5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIm5hdiB7XHJcbiAgICBidXR0b24ge1xyXG4gICAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICAgICAgLy8gY29sb3I6IHJnYmEoJGNvbG9yOiAjZmZmLCAkYWxwaGE6IDAuNzUpO1xyXG4gICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICBjb2xvcjogI2ZmZjtcclxuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBcclxufVxyXG5cclxuLmFjdGl2ZXtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICMyYjI3YzE7XHJcbiAgICBjb2xvcjogI2ZmZjtcclxuICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbn1cclxuIiwibmF2IGJ1dHRvbiB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xufVxubmF2IGJ1dHRvbjpob3ZlciB7XG4gIGNvbG9yOiAjZmZmO1xuICBmb250LXdlaWdodDogNjAwO1xufVxuXG4uYWN0aXZlIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzJiMjdjMTtcbiAgY29sb3I6ICNmZmY7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgZm9udC13ZWlnaHQ6IDYwMDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/layout/nav-bar/nav-bar.component.ts":
  /*!*****************************************************!*\
    !*** ./src/app/layout/nav-bar/nav-bar.component.ts ***!
    \*****************************************************/

  /*! exports provided: NavBarComponent */

  /***/
  function srcAppLayoutNavBarNavBarComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NavBarComponent", function () {
      return NavBarComponent;
    });

    var NavBarComponent = /*#__PURE__*/function () {
      function NavBarComponent(service, router, notifyService) {
        _classCallCheck(this, NavBarComponent);

        this.service = service;
        this.router = router;
        this.notifyService = notifyService;
        this.menus = [];
        this.slChoDuyet = 0;
      }

      _createClass(NavBarComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this122 = this;

          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              _this122.menus = _this122.service.menus;
            }
          });
        }
      }, {
        key: "navigate",
        value: function navigate(url) {// this.router.navigate['/manager', url]
        }
      }]);

      return NavBarComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/dasboard.component.ngfactory.js":
  /*!******************************************************************!*\
    !*** ./src/app/manager/dasboard/dasboard.component.ngfactory.js ***!
    \******************************************************************/

  /*! exports provided: RenderType_DasboardComponent, View_DasboardComponent_0, View_DasboardComponent_Host_0, DasboardComponentNgFactory */

  /***/
  function srcAppManagerDasboardDasboardComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DasboardComponent", function () {
      return RenderType_DasboardComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DasboardComponent_0", function () {
      return View_DasboardComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DasboardComponent_Host_0", function () {
      return View_DasboardComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DasboardComponentNgFactory", function () {
      return DasboardComponentNgFactory;
    });
    /* harmony import */


    var _dasboard_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./dasboard.component.scss.shim.ngstyle */
    "./src/app/manager/dasboard/dasboard.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _pie_chart_file_pie_chart_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./pie-chart-file/pie-chart-file.component.ngfactory */
    "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ngfactory.js");
    /* harmony import */


    var _pie_chart_file_pie_chart_file_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./pie-chart-file/pie-chart-file.component */
    "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _group_bar_chart_group_bar_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./group-bar-chart/group-bar-chart.component.ngfactory */
    "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ngfactory.js");
    /* harmony import */


    var _group_bar_chart_group_bar_chart_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./group-bar-chart/group-bar-chart.component */
    "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /* harmony import */


    var _number_card_chart_number_card_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./number-card-chart/number-card-chart.component.ngfactory */
    "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ngfactory.js");
    /* harmony import */


    var _number_card_chart_number_card_chart_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./number-card-chart/number-card-chart.component */
    "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _pie_chart_pie_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./pie-chart/pie-chart.component.ngfactory */
    "./src/app/manager/dasboard/pie-chart/pie-chart.component.ngfactory.js");
    /* harmony import */


    var _pie_chart_pie_chart_component__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./pie-chart/pie-chart.component */
    "./src/app/manager/dasboard/pie-chart/pie-chart.component.ts");
    /* harmony import */


    var _dasboard_component__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./dasboard.component */
    "./src/app/manager/dasboard/dasboard.component.ts");
    /* harmony import */


    var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! @angular/platform-browser */
    "./node_modules/@angular/platform-browser/fesm2015/platform-browser.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_DasboardComponent = [_dasboard_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_DasboardComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_DasboardComponent,
      data: {}
    });

    function View_DasboardComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "div", [["class", "col-md-6 col-sm-12"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 4, "div", [["class", "shadow-sm p-3 mb-5 bg-white rounded"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "h5", [["class", "text-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["T\xECnh tr\u1EA1ng h\u1ED3 s\u01A1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "app-pie-chart-file", [], null, null, null, _pie_chart_file_pie_chart_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_PieChartFileComponent_0"], _pie_chart_file_pie_chart_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_PieChartFileComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 114688, null, 0, _pie_chart_file_pie_chart_file_component__WEBPACK_IMPORTED_MODULE_3__["PieChartFileComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_5__["ApiService"]], null, null)], function (_ck, _v) {
        _ck(_v, 5, 0);
      }, null);
    }

    function View_DasboardComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "div", [["class", "col-sm-12 col-md-12"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 4, "div", [["class", "bar shadow-sm p-3 mb-5 bg-white rounded w-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "h5", [["class", "text-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["D\u1EEF li\u1EC7u vi\u1EC5n th\xF4ng doanh nghi\u1EC7p"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "app-group-bar-chart", [], null, null, null, _group_bar_chart_group_bar_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_GroupBarChartComponent_0"], _group_bar_chart_group_bar_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_GroupBarChartComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 114688, null, 0, _group_bar_chart_group_bar_chart_component__WEBPACK_IMPORTED_MODULE_7__["GroupBarChartComponent"], [_shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__["DonViService"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_9__["TramBtsService"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_10__["DiemDichVuService"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_11__["TuyenCapNgamService"], _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_12__["TuyenCapNoiService"]], null, null)], function (_ck, _v) {
        _ck(_v, 5, 0);
      }, null);
    }

    function View_DasboardComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 13, "div", [["class", "container-fluid mt-3"], ["style", "height: 90vh;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-number-card-chart", [], null, null, null, _number_card_chart_number_card_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__["View_NumberCardChartComponent_0"], _number_card_chart_number_card_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__["RenderType_NumberCardChartComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _number_card_chart_number_card_chart_component__WEBPACK_IMPORTED_MODULE_14__["NumberCardChartComponent"], [_shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_9__["TramBtsService"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_10__["DiemDichVuService"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_11__["TuyenCapNgamService"], _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_12__["TuyenCapNoiService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_15__["NgbModal"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 8, "div", [["class", "row mt-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DasboardComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 5, "div", [["class", "col-md-6 col-sm-12"]], [[2, "col-md-12", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 4, "div", [["class", "shadow-sm p-3 mb-5 bg-white rounded"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 1, "h5", [["class", "text-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["T\xECnh tr\u1EA1ng c\u1EA5p ph\xE9p Tr\u1EA1m BTS"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 1, "app-pie-chart", [], null, null, null, _pie_chart_pie_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_17__["View_PieChartComponent_0"], _pie_chart_pie_chart_component_ngfactory__WEBPACK_IMPORTED_MODULE_17__["RenderType_PieChartComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 114688, null, 0, _pie_chart_pie_chart_component__WEBPACK_IMPORTED_MODULE_18__["PieChartComponent"], [_shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_9__["TramBtsService"], _angular_common__WEBPACK_IMPORTED_MODULE_16__["DecimalPipe"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DasboardComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_16__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        _ck(_v, 2, 0);

        var currVal_0 = !_co.loginService.isQuanHuyen;

        _ck(_v, 5, 0, currVal_0);

        _ck(_v, 11, 0);

        var currVal_2 = !_co.loginService.isDoanhNghiep;

        _ck(_v, 13, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.loginService.isQuanHuyen;

        _ck(_v, 6, 0, currVal_1);
      });
    }

    function View_DasboardComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-dasboard", [], null, null, null, View_DasboardComponent_0, RenderType_DasboardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _dasboard_component__WEBPACK_IMPORTED_MODULE_19__["DasboardComponent"], [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_20__["Title"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_9__["TramBtsService"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_10__["DiemDichVuService"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_11__["TuyenCapNgamService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var DasboardComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-dasboard", _dasboard_component__WEBPACK_IMPORTED_MODULE_19__["DasboardComponent"], View_DasboardComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/dasboard/dasboard.component.scss.shim.ngstyle.js":
  /*!**************************************************************************!*\
    !*** ./src/app/manager/dasboard/dasboard.component.scss.shim.ngstyle.js ***!
    \**************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDasboardDasboardComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".shadow-sm[_ngcontent-%COMP%] {\n  height: 100%;\n}\n\n.bar[_ngcontent-%COMP%] {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  margin-top: 20px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcZGFzYm9hcmRcXGRhc2JvYXJkLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9tYW5hZ2VyL2Rhc2JvYXJkL2Rhc2JvYXJkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksWUFBQTtBQ0NKOztBREVBO0VBQ0ksYUFBQTtFQUNBLHNCQUFBO0VBQ0EsbUJBQUE7RUFDQSxnQkFBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9kYXNib2FyZC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zaGFkb3ctc20ge1xyXG4gICAgaGVpZ2h0OiAxMDAlO1xyXG59XHJcblxyXG4uYmFyIHtcclxuICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xyXG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcclxuICAgIG1hcmdpbi10b3A6IDIwcHg7XHJcbn0iLCIuc2hhZG93LXNtIHtcbiAgaGVpZ2h0OiAxMDAlO1xufVxuXG4uYmFyIHtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgbWFyZ2luLXRvcDogMjBweDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/dasboard/dasboard.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/manager/dasboard/dasboard.component.ts ***!
    \********************************************************/

  /*! exports provided: DasboardComponent */

  /***/
  function srcAppManagerDasboardDasboardComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DasboardComponent", function () {
      return DasboardComponent;
    });
    /* harmony import */


    var src_app_shared_constants_page_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/app/shared/constants/page.constant */
    "./src/app/shared/constants/page.constant.ts");

    var DasboardComponent = /*#__PURE__*/function () {
      function DasboardComponent(titleService, tramBtsService, diemDichVuService, tuyenCapNgamService, loginService) {
        _classCallCheck(this, DasboardComponent);

        this.titleService = titleService;
        this.tramBtsService = tramBtsService;
        this.diemDichVuService = diemDichVuService;
        this.tuyenCapNgamService = tuyenCapNgamService;
        this.loginService = loginService;
        this.title = src_app_shared_constants_page_constant__WEBPACK_IMPORTED_MODULE_0__["titlePage"];
        this.btsStatistics = [{
          count: 60,
          title: 'Doanh nghiệp'
        }, {
          count: 58,
          title: 'Trạm BTS'
        }, {
          count: 1,
          title: 'Tuyến cáp ngầm'
        }, {
          count: 1,
          title: 'Điểm dịch vụ'
        }];
      }

      _createClass(DasboardComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.titleService.setTitle("".concat(this.title, " - dasboard"));
        }
      }, {
        key: "changeDate",
        value: function changeDate(date) {}
      }, {
        key: "statisticTramBts",
        value: function statisticTramBts() {
          this.tramBtsService.getAll({
            query: {
              where: '1=1',
              outStatistics: [{
                onStatisticField: ''
              }]
            }
          });
        }
      }]);

      return DasboardComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/dasboard.module.ts":
  /*!*****************************************************!*\
    !*** ./src/app/manager/dasboard/dasboard.module.ts ***!
    \*****************************************************/

  /*! exports provided: DasboardModule */

  /***/
  function srcAppManagerDasboardDasboardModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DasboardModule", function () {
      return DasboardModule;
    });

    var DasboardModule = /*#__PURE__*/_createClass(function DasboardModule() {
      _classCallCheck(this, DasboardModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ngfactory.js":
  /*!*****************************************************************************************!*\
    !*** ./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ngfactory.js ***!
    \*****************************************************************************************/

  /*! exports provided: RenderType_GroupBarChartComponent, View_GroupBarChartComponent_0, View_GroupBarChartComponent_Host_0, GroupBarChartComponentNgFactory */

  /***/
  function srcAppManagerDasboardGroupBarChartGroupBarChartComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_GroupBarChartComponent", function () {
      return RenderType_GroupBarChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GroupBarChartComponent_0", function () {
      return View_GroupBarChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_GroupBarChartComponent_Host_0", function () {
      return View_GroupBarChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GroupBarChartComponentNgFactory", function () {
      return GroupBarChartComponentNgFactory;
    });
    /* harmony import */


    var _group_bar_chart_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./group-bar-chart.component.scss.shim.ngstyle */
    "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../../node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory */
    "./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js");
    /* harmony import */


    var _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @swimlane/ngx-charts */
    "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _group_bar_chart_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./group-bar-chart.component */
    "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_GroupBarChartComponent = [_group_bar_chart_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_GroupBarChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_GroupBarChartComponent,
      data: {}
    });

    function View_GroupBarChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "ngx-charts-bar-vertical-2d", [], null, [["window", "resize"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("window:resize" === en) {
          var pd_0 = _co.onResize($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_BarVertical2DComponent_0"], _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_BarVertical2DComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_3__["BarVertical2DComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], {
        results: [0, "results"],
        view: [1, "view"],
        scheme: [2, "scheme"],
        legend: [3, "legend"],
        legendTitle: [4, "legendTitle"],
        legendPosition: [5, "legendPosition"],
        xAxis: [6, "xAxis"],
        yAxis: [7, "yAxis"],
        showXAxisLabel: [8, "showXAxisLabel"],
        showYAxisLabel: [9, "showYAxisLabel"],
        xAxisLabel: [10, "xAxisLabel"],
        yAxisLabel: [11, "yAxisLabel"],
        gradient: [12, "gradient"],
        showGridLines: [13, "showGridLines"],
        roundDomains: [14, "roundDomains"],
        showDataLabel: [15, "showDataLabel"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 1, {
        tooltipTemplate: 0
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.multi;
        var currVal_1 = _co.view;
        var currVal_2 = _co.colorScheme;
        var currVal_3 = _co.showLegend;
        var currVal_4 = _co.legendTitle;
        var currVal_5 = _co.legendPosition;
        var currVal_6 = _co.showXAxis;
        var currVal_7 = _co.showYAxis;
        var currVal_8 = _co.showXAxisLabel;
        var currVal_9 = _co.showYAxisLabel;
        var currVal_10 = _co.xAxisLabel;
        var currVal_11 = _co.yAxisLabel;
        var currVal_12 = _co.gradient;
        var currVal_13 = true;
        var currVal_14 = true;
        var currVal_15 = true;

        _ck(_v, 1, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15]);
      }, null);
    }

    function View_GroupBarChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_GroupBarChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loaded;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_GroupBarChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-group-bar-chart", [], null, null, null, View_GroupBarChartComponent_0, RenderType_GroupBarChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _group_bar_chart_component__WEBPACK_IMPORTED_MODULE_5__["GroupBarChartComponent"], [_shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_6__["DonViService"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_7__["TramBtsService"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_8__["DiemDichVuService"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_9__["TuyenCapNgamService"], _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_10__["TuyenCapNoiService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var GroupBarChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-group-bar-chart", _group_bar_chart_component__WEBPACK_IMPORTED_MODULE_5__["GroupBarChartComponent"], View_GroupBarChartComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.scss.shim.ngstyle.js":
  /*!*************************************************************************************************!*\
    !*** ./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.scss.shim.ngstyle.js ***!
    \*************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDasboardGroupBarChartGroupBarChartComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvZGFzYm9hcmQvZ3JvdXAtYmFyLWNoYXJ0L2dyb3VwLWJhci1jaGFydC5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ts":
  /*!*******************************************************************************!*\
    !*** ./src/app/manager/dasboard/group-bar-chart/group-bar-chart.component.ts ***!
    \*******************************************************************************/

  /*! exports provided: GroupBarChartComponent */

  /***/
  function srcAppManagerDasboardGroupBarChartGroupBarChartComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "GroupBarChartComponent", function () {
      return GroupBarChartComponent;
    });
    /* harmony import */


    var src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/app/map/shared/constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");

    var GroupBarChartComponent = /*#__PURE__*/function () {
      function GroupBarChartComponent(donViService, tramBtsService, diemDichVuService, tuyenCapNgamService, tuyenCapNoiService) {
        _classCallCheck(this, GroupBarChartComponent);

        this.donViService = donViService;
        this.tramBtsService = tramBtsService;
        this.diemDichVuService = diemDichVuService;
        this.tuyenCapNgamService = tuyenCapNgamService;
        this.tuyenCapNoiService = tuyenCapNoiService;
        this.multi = [];
        this.donVis = [];
        this.loaded = false;
        this.view = [];
        this.showXAxis = true;
        this.showYAxis = true;
        this.gradient = true;
        this.showLegend = true;
        this.groupPadding = 10;
        this.showXAxisLabel = false;
        this.xAxisLabel = 'Doanh nghiệp';
        this.showYAxisLabel = false;
        this.yAxisLabel = 'Số lượng';
        this.legendTitle = '';
        this.legendPosition = 'below';
        this.colorScheme = {
          domain: ['#B03A2E ', '#148F77', '#F39C12 ']
        };
        this.view = [innerWidth / 1.1, 400];
      }

      _createClass(GroupBarChartComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this123 = this;

          this.donViService.getListDonVi().then(function (res) {
            _this123.donVis = res;

            _this123.loadData();
          });
        }
      }, {
        key: "loadData",
        value: function loadData() {
          var _this124 = this;

          var promises = [];
          promises.push(this.tramBtsService.getAll({
            query: {
              where: "TinhTrang=3",
              outFields: ['TenDoanhNghiep']
            }
          })); // promises.push(
          //   this.tuyenCapNgamService.getAll({
          //     query: {
          //       where: `1=1`,
          //       outFields: ['TenDoanhNghiep']
          //     }
          //   })
          // );

          promises.push(this.diemDichVuService.getAll({
            query: {
              where: "1=1",
              outFields: ['TenDoanhNghiep']
            }
          })); // promises.push(
          //   this.tuyenCapNoiService.getAll({
          //     query: {
          //       where: `1=1`,
          //       outFields: ['TenDoanhNghiep']
          //     }
          //   })
          // );

          Promise.all(promises).then(function (_ref84) {
            var _ref85 = _slicedToArray(_ref84, 4),
                tramBts = _ref85[0],
                tuyenCapNgam = _ref85[1],
                diemDv = _ref85[2],
                tuyenCapNoi = _ref85[3];

            if (tramBts) {
              _this124.assignData(tramBts, src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].TRAMBTS.title + ' hoàn công');
            } // if (tuyenCapNgam) {
            //   this.assignData(tuyenCapNgam, CONSTNAME.TUYENCAPNGAM.title);
            // }


            if (diemDv) {
              _this124.assignData(diemDv, src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].DIEMDICHVU.title);
            } // if (tuyenCapNoi) {
            //   this.assignData(tuyenCapNoi, CONSTNAME.TUYENCAPNOI.title);
            // }


            _this124.loaded = true;
          });
        }
      }, {
        key: "assignData",
        value: function assignData(graphic, title) {
          var _this125 = this;

          var attributes = graphic.features.map(function (m) {
            return m.attributes;
          });
          this.donVis.forEach(function (f) {
            var multiAttemp = {
              name: f.TenDonVi,
              series: []
            };
            var count = attributes.filter(function (m) {
              return m.TenDoanhNghiep === f.MaDonVi;
            }).length;
            multiAttemp.series.push({
              name: title,
              value: count
            });

            _this125.multi.push(multiAttemp);
          });
        }
      }, {
        key: "onResize",
        value: function onResize(event) {
          this.view = [event.target.innerWidth / 1.1, 400];
        }
      }]);

      return GroupBarChartComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ngfactory.js":
  /*!*********************************************************************************************!*\
    !*** ./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ngfactory.js ***!
    \*********************************************************************************************/

  /*! exports provided: RenderType_ModalStatisticalComponent, View_ModalStatisticalComponent_0, View_ModalStatisticalComponent_Host_0, ModalStatisticalComponentNgFactory */

  /***/
  function srcAppManagerDasboardModalStatisticalModalStatisticalComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalStatisticalComponent", function () {
      return RenderType_ModalStatisticalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalStatisticalComponent_0", function () {
      return View_ModalStatisticalComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalStatisticalComponent_Host_0", function () {
      return View_ModalStatisticalComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalStatisticalComponentNgFactory", function () {
      return ModalStatisticalComponentNgFactory;
    });
    /* harmony import */


    var _modal_statistical_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-statistical.component.scss.shim.ngstyle */
    "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component.ngfactory */
    "./src/app/shared/components/loading/loading.component.ngfactory.js");
    /* harmony import */


    var _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component */
    "./src/app/shared/components/loading/loading.component.ts");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _modal_statistical_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./modal-statistical.component */
    "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalStatisticalComponent = [_modal_statistical_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalStatisticalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalStatisticalComponent,
      data: {}
    });

    function View_ModalStatisticalComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "th", [["scope", "col"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""]))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.name;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_ModalStatisticalComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "td", [["style", "text-align: left;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""]))], null, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit[_v.context.$implicit.prop] || "-";

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_ModalStatisticalComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "tr", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalStatisticalComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_ModalStatisticalComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "table", [["class", "table table-striped table-sm table-bordered"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 3, "thead", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 2, "tr", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalStatisticalComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 2, "tbody", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalStatisticalComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;

        _ck(_v, 4, 0, currVal_0);

        var currVal_1 = _co.datas;

        _ck(_v, 7, 0, currVal_1);
      }, null);
    }

    function View_ModalStatisticalComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "v-100"], ["style", "height: 50vh"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-loading", [], null, null, null, _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_LoadingComponent_0"], _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_LoadingComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_4__["LoadingComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 2, 0);
      }, null);
    }

    function View_ModalStatisticalComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_6__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_7__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 3, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalStatisticalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"],
        ngIfElse: [1, "ngIfElse"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noData", 2]], null, 0, null, View_ModalStatisticalComponent_5))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.receiveData == null ? null : _co.receiveData.title;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.datas;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5);

        _ck(_v, 4, 0, currVal_1, currVal_2);
      }, null);
    }

    function View_ModalStatisticalComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-statistical", [], null, null, null, View_ModalStatisticalComponent_0, RenderType_ModalStatisticalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_statistical_component__WEBPACK_IMPORTED_MODULE_8__["ModalStatisticalComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_9__["HanhChinhService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalStatisticalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-statistical", _modal_statistical_component__WEBPACK_IMPORTED_MODULE_8__["ModalStatisticalComponent"], View_ModalStatisticalComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.scss.shim.ngstyle.js":
  /*!*****************************************************************************************************!*\
    !*** ./src/app/manager/dasboard/modal-statistical/modal-statistical.component.scss.shim.ngstyle.js ***!
    \*****************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDasboardModalStatisticalModalStatisticalComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n  font-size: 15px;\n  vertical-align: middle;\n}\ntable[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:not(:first-child), table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:not(:first-child) {\n  text-align: center !important;\n}\ntable[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child {\n  width: 180px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9tb2RhbC1zdGF0aXN0aWNhbC9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcZGFzYm9hcmRcXG1vZGFsLXN0YXRpc3RpY2FsXFxtb2RhbC1zdGF0aXN0aWNhbC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9tb2RhbC1zdGF0aXN0aWNhbC9tb2RhbC1zdGF0aXN0aWNhbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDSTtFQUNJLGVBQUE7RUFDQSxzQkFBQTtBQ0FSO0FEQ1E7RUFDSSw2QkFBQTtBQ0NaO0FERUk7RUFDSSxZQUFBO0FDQVIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL2Rhc2JvYXJkL21vZGFsLXN0YXRpc3RpY2FsL21vZGFsLXN0YXRpc3RpY2FsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsidGFibGUge1xyXG4gICAgdGgsIHRkIHtcclxuICAgICAgICBmb250LXNpemU6IDE1cHg7XHJcbiAgICAgICAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcclxuICAgICAgICAmOm5vdCg6Zmlyc3QtY2hpbGQpIHtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG4gICAgdGg6Zmlyc3QtY2hpbGQge1xyXG4gICAgICAgIHdpZHRoOiAxODBweDtcclxuICAgIH1cclxufSIsInRhYmxlIHRoLCB0YWJsZSB0ZCB7XG4gIGZvbnQtc2l6ZTogMTVweDtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbn1cbnRhYmxlIHRoOm5vdCg6Zmlyc3QtY2hpbGQpLCB0YWJsZSB0ZDpub3QoOmZpcnN0LWNoaWxkKSB7XG4gIHRleHQtYWxpZ246IGNlbnRlciAhaW1wb3J0YW50O1xufVxudGFibGUgdGg6Zmlyc3QtY2hpbGQge1xuICB3aWR0aDogMTgwcHg7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ts":
  /*!***********************************************************************************!*\
    !*** ./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ts ***!
    \***********************************************************************************/

  /*! exports provided: ModalStatisticalComponent */

  /***/
  function srcAppManagerDasboardModalStatisticalModalStatisticalComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalStatisticalComponent", function () {
      return ModalStatisticalComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/constants/data.constant */
    "./src/app/shared/constants/data.constant.ts");
    /* harmony import */


    var esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! esri/tasks/support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js");
    /* harmony import */


    var esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_2__);

    var ModalStatisticalComponent = /*#__PURE__*/function () {
      function ModalStatisticalComponent(hanhChinhService) {
        _classCallCheck(this, ModalStatisticalComponent);

        this.hanhChinhService = hanhChinhService;
        this.loaded = false;
        this.columnsĐiemichVu = [{
          name: 'Tên huyện',
          prop: 'huyen'
        }, {
          name: 'Điểm phục vụ bưu chính',
          prop: ''
        }, {
          name: 'Điểm cung cấp dịch vụ viễn thông',
          prop: ''
        }, {
          name: 'Đại lý internet công cộng',
          prop: ''
        }];
        this.doanhNghieps = src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__["DDoanhNghieps"];
        this.columns = [];
        this.loaiDichVus = src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__["DLoaiDichVu"];
        this.datas = null;
      }

      _createClass(ModalStatisticalComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this126 = this;

          this.hanhChinhService.districtLoaded$.subscribe(function (results) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this126, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
              var _name, cols, concatMap, mp;

              return _regeneratorRuntime().wrap(function _callee$(_context3) {
                while (1) switch (_context3.prev = _context3.next) {
                  case 0:
                    if (results.length) {
                      this.huyenTXTPs = results;

                      concatMap = function concatMap(map) {
                        return [{
                          name: 'Tên huyện',
                          prop: 'huyen'
                        }].concat(_toConsumableArray(map), [{
                          name: 'Tổng',
                          prop: 'SUM'
                        }]);
                      };

                      mp = function mp(dm) {
                        return {
                          name: dm.name,
                          prop: dm.code
                        };
                      };

                      if (this.receiveData.type === 'diemDichVu') {
                        cols = src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__["DLoaiDichVu"].map(mp);
                        _name = 'LoaiDichVu';
                      } else {
                        cols = src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__["DDoanhNghieps"].map(mp);
                        _name = 'TenDoanhNghiep';
                      }

                      this.columns = concatMap(cols);
                      this.getData(_name);
                    }

                  case 1:
                  case "end":
                    return _context3.stop();
                }
              }, _callee, this);
            }));
          });
        }
      }, {
        key: "getData",
        value: function getData(name) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
            var _this127 = this;

            var count, query, dataSt;
            return _regeneratorRuntime().wrap(function _callee2$(_context4) {
              while (1) switch (_context4.prev = _context4.next) {
                case 0:
                  count = function count(featureSet) {
                    var dmHuyenTXTPs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _this127.huyenTXTPs;
                    var features = featureSet.features;
                    var attributes = features.map(function (m) {
                      return m.attributes;
                    });
                    var map = {};

                    var sum = function sum(soLuong, lastSum) {
                      return lastSum && soLuong + lastSum || soLuong;
                    }; // map so luong theo ma phuong xa 


                    var _iterator140 = _createForOfIteratorHelper(attributes),
                        _step140;

                    try {
                      for (_iterator140.s(); !(_step140 = _iterator140.n()).done;) {
                        var _Object$assign;

                        var attribute = _step140.value;
                        var SoLuong = attribute.SoLuong,
                            HuyenTXTP = attribute.HuyenTXTP,
                            nameOfThing = attribute[name];
                        var dataHuyen = map[HuyenTXTP],
                            lastSum = dataHuyen && dataHuyen.SUM;
                        map[HuyenTXTP] = Object.assign(Object.assign({}, dataHuyen), (_Object$assign = {}, _defineProperty(_Object$assign, nameOfThing, SoLuong), _defineProperty(_Object$assign, "SUM", sum(SoLuong, lastSum)), _defineProperty(_Object$assign, "huyen", 'Chưa xác định'), _Object$assign));
                      } // map de them TenPhuongTXTP theo ma

                    } catch (err) {
                      _iterator140.e(err);
                    } finally {
                      _iterator140.f();
                    }

                    console.log(map);

                    var _iterator141 = _createForOfIteratorHelper(dmHuyenTXTPs),
                        _step141;

                    try {
                      for (_iterator141.s(); !(_step141 = _iterator141.n()).done;) {
                        var dm = _step141.value;
                        // vi ke qua chi tra ve nhung huyen co du lieu
                        var code = dm.code,
                            _name2 = dm.name;
                        map[code] ? map[code].huyen = _name2 : map[code] = {
                          huyen: _name2
                        };
                      }
                    } catch (err) {
                      _iterator141.e(err);
                    } finally {
                      _iterator141.f();
                    }

                    console.log(Array.from(Object.entries(map), function (_ref86) {
                      var _ref87 = _slicedToArray(_ref86, 2),
                          _ = _ref87[0],
                          v = _ref87[1];

                      return v;
                    }));
                    return Array.from(Object.entries(map), function (_ref88) {
                      var _ref89 = _slicedToArray(_ref88, 2),
                          _ = _ref89[0],
                          v = _ref89[1];

                      return v;
                    });
                  };

                  query = new esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_2___default.a({
                    where: '1=1',
                    outStatistics: [{
                      onStatisticField: 'ObjectId',
                      outStatisticFieldName: 'SoLuong',
                      statisticType: 'count'
                    }],
                    groupByFieldsForStatistics: ['HuyenTXTP', name]
                  });
                  _context4.next = 4;
                  return this.receiveData.service.getAll({
                    query: query
                  }).then(count);

                case 4:
                  dataSt = _context4.sent;
                  this.datas = dataSt;

                case 6:
                case "end":
                  return _context4.stop();
              }
            }, _callee2, this);
          }));
        }
      }]);

      return ModalStatisticalComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/number-card-chart/counter-up.directive.ts":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/dasboard/number-card-chart/counter-up.directive.ts ***!
    \****************************************************************************/

  /*! exports provided: CounterUpDirective */

  /***/
  function srcAppManagerDasboardNumberCardChartCounterUpDirectiveTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CounterUpDirective", function () {
      return CounterUpDirective;
    });

    var CounterUpDirective = /*#__PURE__*/function () {
      function CounterUpDirective(el) {
        _classCallCheck(this, CounterUpDirective);

        this.el = el;
        this.el.nativeElement.innerText = '0';
      }

      _createClass(CounterUpDirective, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.updateCounter();
        }
      }, {
        key: "updateCounter",
        value: function updateCounter() {
          var c = +this.el.nativeElement.innerText;
          var increment = this.counterUp / 60;

          if (c < this.counterUp) {
            this.el.nativeElement.innerText = "".concat(Math.ceil(c + increment));
            setTimeout(this.updateCounter.bind(this), 1);
          } else {
            this.el.nativeElement.innerText = "".concat(this.counterUp);
          }
        }
      }]);

      return CounterUpDirective;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ngfactory.js":
  /*!*********************************************************************************************!*\
    !*** ./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ngfactory.js ***!
    \*********************************************************************************************/

  /*! exports provided: RenderType_NumberCardChartComponent, View_NumberCardChartComponent_0, View_NumberCardChartComponent_Host_0, NumberCardChartComponentNgFactory */

  /***/
  function srcAppManagerDasboardNumberCardChartNumberCardChartComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_NumberCardChartComponent", function () {
      return RenderType_NumberCardChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_NumberCardChartComponent_0", function () {
      return View_NumberCardChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_NumberCardChartComponent_Host_0", function () {
      return View_NumberCardChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardChartComponentNgFactory", function () {
      return NumberCardChartComponentNgFactory;
    });
    /* harmony import */


    var _number_card_chart_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./number-card-chart.component.scss.shim.ngstyle */
    "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _counter_up_directive__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./counter-up.directive */
    "./src/app/manager/dasboard/number-card-chart/counter-up.directive.ts");
    /* harmony import */


    var _number_card_chart_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./number-card-chart.component */
    "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_NumberCardChartComponent = [_number_card_chart_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_NumberCardChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_NumberCardChartComponent,
      data: {}
    });

    function View_NumberCardChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 8, "div", [["class", "col-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 7, "div", [["class", "card shadow-sm"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openModal(_v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](3, {
        "background": 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 4, "div", [["class", "card-body d-flex justify-content-between align-items-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "div", [["class", "card-body--count"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 81920, null, 0, _counter_up_directive__WEBPACK_IMPORTED_MODULE_3__["CounterUpDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], {
        counterUp: [0, "counterUp"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 1, "div", [["class", "card-body--title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](8, null, [" ", " "]))], function (_ck, _v) {
        var currVal_0 = _ck(_v, 3, 0, _v.context.$implicit.background);

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.count;

        _ck(_v, 6, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.title;

        _ck(_v, 8, 0, currVal_2);
      });
    }

    function View_NumberCardChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NumberCardChartComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.statistics;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_NumberCardChartComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "div", [["class", "col-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "div", [["class", "skeleton"]], null, null, null, null, null))], null, null);
    }

    function View_NumberCardChartComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NumberCardChartComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵEMPTY_ARRAY"].constructor(2);

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_NumberCardChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_NumberCardChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"],
        ngIfElse: [1, "ngIfElse"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noData", 2]], null, 0, null, View_NumberCardChartComponent_3))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.statistics;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2);

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_NumberCardChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-number-card-chart", [], null, null, null, View_NumberCardChartComponent_0, RenderType_NumberCardChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _number_card_chart_component__WEBPACK_IMPORTED_MODULE_4__["NumberCardChartComponent"], [_shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_5__["TramBtsService"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_6__["DiemDichVuService"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_7__["TuyenCapNgamService"], _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_8__["TuyenCapNoiService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var NumberCardChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-number-card-chart", _number_card_chart_component__WEBPACK_IMPORTED_MODULE_4__["NumberCardChartComponent"], View_NumberCardChartComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.scss.shim.ngstyle.js":
  /*!*****************************************************************************************************!*\
    !*** ./src/app/manager/dasboard/number-card-chart/number-card-chart.component.scss.shim.ngstyle.js ***!
    \*****************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDasboardNumberCardChartNumberCardChartComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["[_nghost-%COMP%] {\n  --main-height: 90px;\n}\n\n.card[_ngcontent-%COMP%] {\n  border: 1px solid white;\n}\n\n.card-body[_ngcontent-%COMP%] {\n  color: #fff;\n}\n\n.card-body--count[_ngcontent-%COMP%] {\n  font-size: 32px;\n  font-weight: 600;\n}\n\n.skeleton[_ngcontent-%COMP%] {\n  height: var(--main-height);\n  width: 100%;\n  position: relative;\n  display: block;\n  border-radius: 4px;\n  background: linear-gradient(0.25turn, transparent, #fff, transparent), linear-gradient(#eee, #eee), radial-gradient(38px circle at 19px 19px, #eee 50%, transparent 51%), linear-gradient(#eee, #eee);\n  background-repeat: no-repeat;\n  background-size: 315px 250px, 315px 180px, 100px 100px, 225px 30px;\n  animation: loading 1.5s infinite;\n}\n\n@keyframes loading {\n  to {\n    background-position: 315px 0, 0 0, 0 190px, 50px 195px;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9udW1iZXItY2FyZC1jaGFydC9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcZGFzYm9hcmRcXG51bWJlci1jYXJkLWNoYXJ0XFxudW1iZXItY2FyZC1jaGFydC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9udW1iZXItY2FyZC1jaGFydC9udW1iZXItY2FyZC1jaGFydC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLG1CQUFBO0FDQ0o7O0FERUE7RUFLSSx1QkFBQTtBQ0hKOztBREtJO0VBQ0ksV0FBQTtBQ0hSOztBREtRO0VBQ0ksZUFBQTtFQUNBLGdCQUFBO0FDSFo7O0FEVUE7RUFDSSwwQkFBQTtFQUNBLFdBQUE7RUFDQSxrQkFBQTtFQUNBLGNBQUE7RUFDQSxrQkFBQTtFQUNBLHFNQUNJO0VBSUosNEJBQUE7RUFDQSxrRUFBQTtFQUNBLGdDQUFBO0FDWko7O0FEZUE7RUFDSTtJQUNJLHNEQUFBO0VDWk47QUFDRiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvZGFzYm9hcmQvbnVtYmVyLWNhcmQtY2hhcnQvbnVtYmVyLWNhcmQtY2hhcnQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyI6aG9zdCB7XHJcbiAgICAtLW1haW4taGVpZ2h0OiA5MHB4O1xyXG59XHJcblxyXG4uY2FyZCB7XHJcbiAgICAvLyAtd2Via2l0LWJveC1zaGFkb3c6IDBweCAycHggMTVweCAwcHggcmdiYSgyMTQsMjE0LDIxNCwxKTtcclxuICAgIC8vIC1tb3otYm94LXNoYWRvdzogMHB4IDJweCAxNXB4IDBweCByZ2JhKDIxNCwyMTQsMjE0LDEpO1xyXG4gICAgLy8gYm94LXNoYWRvdzogMHB4IDJweCAxNXB4IDBweCByZ2JhKDIxNCwyMTQsMjE0LDEpO1xyXG5cclxuICAgIGJvcmRlcjogMXB4IHNvbGlkIHJnYigyNTUsIDI1NSwgMjU1KTtcclxuXHJcbiAgICAmLWJvZHkge1xyXG4gICAgICAgIGNvbG9yOiAjZmZmO1xyXG5cclxuICAgICAgICAmLS1jb3VudCB7XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZSAgOiAzMnB4O1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogNjAwO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgJi0tdGl0bGUge31cclxuICAgIH1cclxufVxyXG5cclxuLnNrZWxldG9uIHtcclxuICAgIGhlaWdodCAgICAgICAgICA6IHZhcigtLW1haW4taGVpZ2h0KTtcclxuICAgIHdpZHRoICAgICAgICAgICA6IDEwMCU7XHJcbiAgICBwb3NpdGlvbiAgICAgICAgOiByZWxhdGl2ZTtcclxuICAgIGRpc3BsYXkgICAgICAgICA6IGJsb2NrO1xyXG4gICAgYm9yZGVyLXJhZGl1cyAgIDogNHB4O1xyXG4gICAgYmFja2dyb3VuZCAgICAgIDpcclxuICAgICAgICBsaW5lYXItZ3JhZGllbnQoMC4yNXR1cm4sIHRyYW5zcGFyZW50LCAjZmZmLCB0cmFuc3BhcmVudCksXHJcbiAgICAgICAgbGluZWFyLWdyYWRpZW50KCNlZWUsICNlZWUpLFxyXG4gICAgICAgIHJhZGlhbC1ncmFkaWVudCgzOHB4IGNpcmNsZSBhdCAxOXB4IDE5cHgsICNlZWUgNTAlLCB0cmFuc3BhcmVudCA1MSUpLFxyXG4gICAgICAgIGxpbmVhci1ncmFkaWVudCgjZWVlLCAjZWVlKTtcclxuICAgIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XHJcbiAgICBiYWNrZ3JvdW5kLXNpemUgIDogMzE1cHggMjUwcHgsIDMxNXB4IDE4MHB4LCAxMDBweCAxMDBweCwgMjI1cHggMzBweDtcclxuICAgIGFuaW1hdGlvbiAgICAgICAgOiBsb2FkaW5nIDEuNXMgaW5maW5pdGU7XHJcbn1cclxuXHJcbkBrZXlmcmFtZXMgbG9hZGluZyB7XHJcbiAgICB0byB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1wb3NpdGlvbjogMzE1cHggMCwgMCAwLCAwIDE5MHB4LCA1MHB4IDE5NXB4O1xyXG4gICAgfVxyXG59IiwiOmhvc3Qge1xuICAtLW1haW4taGVpZ2h0OiA5MHB4O1xufVxuXG4uY2FyZCB7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHdoaXRlO1xufVxuLmNhcmQtYm9keSB7XG4gIGNvbG9yOiAjZmZmO1xufVxuLmNhcmQtYm9keS0tY291bnQge1xuICBmb250LXNpemU6IDMycHg7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG59XG4uc2tlbGV0b24ge1xuICBoZWlnaHQ6IHZhcigtLW1haW4taGVpZ2h0KTtcbiAgd2lkdGg6IDEwMCU7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgZGlzcGxheTogYmxvY2s7XG4gIGJvcmRlci1yYWRpdXM6IDRweDtcbiAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KDAuMjV0dXJuLCB0cmFuc3BhcmVudCwgI2ZmZiwgdHJhbnNwYXJlbnQpLCBsaW5lYXItZ3JhZGllbnQoI2VlZSwgI2VlZSksIHJhZGlhbC1ncmFkaWVudCgzOHB4IGNpcmNsZSBhdCAxOXB4IDE5cHgsICNlZWUgNTAlLCB0cmFuc3BhcmVudCA1MSUpLCBsaW5lYXItZ3JhZGllbnQoI2VlZSwgI2VlZSk7XG4gIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XG4gIGJhY2tncm91bmQtc2l6ZTogMzE1cHggMjUwcHgsIDMxNXB4IDE4MHB4LCAxMDBweCAxMDBweCwgMjI1cHggMzBweDtcbiAgYW5pbWF0aW9uOiBsb2FkaW5nIDEuNXMgaW5maW5pdGU7XG59XG5cbkBrZXlmcmFtZXMgbG9hZGluZyB7XG4gIHRvIHtcbiAgICBiYWNrZ3JvdW5kLXBvc2l0aW9uOiAzMTVweCAwLCAwIDAsIDAgMTkwcHgsIDUwcHggMTk1cHg7XG4gIH1cbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ts":
  /*!***********************************************************************************!*\
    !*** ./src/app/manager/dasboard/number-card-chart/number-card-chart.component.ts ***!
    \***********************************************************************************/

  /*! exports provided: NumberCardChartComponent */

  /***/
  function srcAppManagerDasboardNumberCardChartNumberCardChartComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardChartComponent", function () {
      return NumberCardChartComponent;
    });
    /* harmony import */


    var _modal_statistical_modal_statistical_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../modal-statistical/modal-statistical.component */
    "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ts");
    /* harmony import */


    var esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! esri/tasks/support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js");
    /* harmony import */


    var esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_1__);

    var NumberCardChartComponent = /*#__PURE__*/function () {
      function NumberCardChartComponent(tramBtsService, diemDichVuService, tuyenCapNgamService, tuyenCapNoiService, modalService) {
        _classCallCheck(this, NumberCardChartComponent);

        this.tramBtsService = tramBtsService;
        this.diemDichVuService = diemDichVuService;
        this.tuyenCapNgamService = tuyenCapNgamService;
        this.tuyenCapNoiService = tuyenCapNoiService;
        this.modalService = modalService;
        this.statistics = null;
      }

      _createClass(NumberCardChartComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this128 = this;

          var info = [{
            type: 'tramBts',
            title: 'Trạm BTS',
            background: 'linear-gradient(90deg, rgba(0,0,0,0.49933476808692223) 0%, rgba(255,54,54,1) 0%, rgba(185,0,0,1) 100%)',
            service: this.tramBtsService
          }, // {
          //   type: 'tuyenCapNoi',
          //   title: 'Tuyến cáp nổi',
          //   background: 'linear-gradient(90deg, rgba(0,0,0,0.49933476808692223) 0%, rgba(20,224,0,1) 0%, rgba(9,115,0,1) 100%)',
          //   service: this.tuyenCapNoiService
          // },
          // {
          //   type: 'tuyenCapNgam',
          //   title: 'Tuyến cáp ngầm',
          //   background: 'linear-gradient(90deg, rgba(0,0,0,0.49933476808692223) 0%, rgba(255,180,0,1) 0%, rgba(199,99,0,1) 100%)',
          //   service: this.tuyenCapNgamService
          // },
          {
            type: 'diemDichVu',
            title: 'Điểm dịch vụ',
            background: 'linear-gradient(90deg, rgba(0,0,0,0.49933476808692223) 0%, rgba(0,198,255,1) 0%, rgba(0,68,166,1) 100%)',
            service: this.diemDichVuService
          }];
          var query = new esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_1___default.a({
            where: '1=1'
          });
          var promises = [this.tramBtsService.getCount({
            query: query
          }), // this.tuyenCapNoiService.getCount({ query }),
          // this.tuyenCapNgamService.getCount({ query }),
          this.diemDichVuService.getCount({
            query: query
          })];
          Promise.all(promises).then(function (res) {
            _this128.statistics = res.map(function (m, i) {
              return Object.assign({
                count: m
              }, info[i]);
            });
          });
        }
      }, {
        key: "openModal",
        value: function openModal(evt) {
          var modalref = this.modalService.open(_modal_statistical_modal_statistical_component__WEBPACK_IMPORTED_MODULE_0__["ModalStatisticalComponent"], {
            size: 'lg'
          });
          modalref.componentInstance.receiveData = evt;
        }
      }]);

      return NumberCardChartComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/number-card-chart/number-card-chart.module.ts":
  /*!********************************************************************************!*\
    !*** ./src/app/manager/dasboard/number-card-chart/number-card-chart.module.ts ***!
    \********************************************************************************/

  /*! exports provided: NumberCardChartModule */

  /***/
  function srcAppManagerDasboardNumberCardChartNumberCardChartModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NumberCardChartModule", function () {
      return NumberCardChartModule;
    });

    var NumberCardChartModule = /*#__PURE__*/_createClass(function NumberCardChartModule() {
      _classCallCheck(this, NumberCardChartModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ngfactory.js":
  /*!***************************************************************************************!*\
    !*** ./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ngfactory.js ***!
    \***************************************************************************************/

  /*! exports provided: RenderType_PieChartFileComponent, View_PieChartFileComponent_0, View_PieChartFileComponent_Host_0, PieChartFileComponentNgFactory */

  /***/
  function srcAppManagerDasboardPieChartFilePieChartFileComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieChartFileComponent", function () {
      return RenderType_PieChartFileComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieChartFileComponent_0", function () {
      return View_PieChartFileComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieChartFileComponent_Host_0", function () {
      return View_PieChartFileComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartFileComponentNgFactory", function () {
      return PieChartFileComponentNgFactory;
    });
    /* harmony import */


    var _pie_chart_file_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./pie-chart-file.component.scss.shim.ngstyle */
    "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../../node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory */
    "./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js");
    /* harmony import */


    var _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @swimlane/ngx-charts */
    "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _pie_chart_file_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./pie-chart-file.component */
    "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_PieChartFileComponent = [_pie_chart_file_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_PieChartFileComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_PieChartFileComponent,
      data: {}
    });

    function View_PieChartFileComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "ngx-charts-pie-chart", [], null, null, null, _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_PieChartComponent_0"], _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_PieChartComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_3__["PieChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], {
        results: [0, "results"],
        view: [1, "view"],
        scheme: [2, "scheme"],
        labels: [3, "labels"],
        doughnut: [4, "doughnut"],
        gradient: [5, "gradient"],
        maxLabelLength: [6, "maxLabelLength"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        tooltipTemplate: 0
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.single;
        var currVal_1 = _co.view;
        var currVal_2 = _co.colorScheme;
        var currVal_3 = _co.showLabels;
        var currVal_4 = _co.isDoughnut;
        var currVal_5 = _co.gradient;
        var currVal_6 = 50;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      }, null);
    }

    function View_PieChartFileComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "p", [["style", "font-weight: 100; text-align: center; font-size: 14px;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u \u0111\u1EC3 hi\u1EC3n th\u1ECB"]))], null, null);
    }

    function View_PieChartFileComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        wrap: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["wrap", 1]], null, 3, "div", [["class", "wrap"]], null, [["window", "resize"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("window:resize" === en) {
          var pd_0 = _co.onResize() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PieChartFileComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"],
        ngIfElse: [1, "ngIfElse"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noData", 2]], null, 0, null, View_PieChartFileComponent_2))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.single && _co.single.length;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4);

        _ck(_v, 3, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_PieChartFileComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-pie-chart-file", [], null, null, null, View_PieChartFileComponent_0, RenderType_PieChartFileComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _pie_chart_file_component__WEBPACK_IMPORTED_MODULE_5__["PieChartFileComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_7__["ApiService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var PieChartFileComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-pie-chart-file", _pie_chart_file_component__WEBPACK_IMPORTED_MODULE_5__["PieChartFileComponent"], View_PieChartFileComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.scss.shim.ngstyle.js":
  /*!***********************************************************************************************!*\
    !*** ./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.scss.shim.ngstyle.js ***!
    \***********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDasboardPieChartFilePieChartFileComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvZGFzYm9hcmQvcGllLWNoYXJ0LWZpbGUvcGllLWNoYXJ0LWZpbGUuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ts":
  /*!*****************************************************************************!*\
    !*** ./src/app/manager/dasboard/pie-chart-file/pie-chart-file.component.ts ***!
    \*****************************************************************************/

  /*! exports provided: PieChartFileComponent */

  /***/
  function srcAppManagerDasboardPieChartFilePieChartFileComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartFileComponent", function () {
      return PieChartFileComponent;
    });
    /* harmony import */


    var _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../../shared/models/ho-so.model */
    "./src/app/manager/shared/models/ho-so.model.ts");

    var PieChartFileComponent = /*#__PURE__*/function () {
      function PieChartFileComponent(loginService, apiService) {
        _classCallCheck(this, PieChartFileComponent);

        this.loginService = loginService;
        this.apiService = apiService;
        this.single = null;
        this.view = [];
        this.idDV = '';
        this.tinhTrangHoSo = _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"];
        this.columns = [];
        this.gradient = true; // showLegend: boolean = true;

        this.showLabels = true;
        this.isDoughnut = false; // legendPosition: string = 'below';

        this.explodeSlices = true;
        this.colorScheme = {
          domain: ['#33CCCC', '#FF6633', '#0033CC', '#FF0000', '#FFFF00']
        };
      }

      _createClass(PieChartFileComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.columns = [{
            name: 'Chờ duyệt',
            code: this.tinhTrangHoSo.HoSoChoDuyet
          }, {
            name: 'Đã duyệt',
            code: this.tinhTrangHoSo.HoSoDaDuyet
          }, {
            name: 'Bị từ chối',
            code: this.tinhTrangHoSo.HoSoBiTuChoi
          }];

          if (this.loginService.isDoanhNghiep) {
            var _this$columns;

            this.idDV = this.loginService.taiKhoan.IDDonVi;

            (_this$columns = this.columns).push.apply(_this$columns, [{
              name: 'Chưa ký số',
              code: this.tinhTrangHoSo.HoSoChuaKySo
            }, {
              name: 'Đã ký số',
              code: this.tinhTrangHoSo.HoSoDaKySo
            }]);
          }

          this.loadDatas();
          this.onResize();
        }
      }, {
        key: "loadDatas",
        value: function loadDatas() {
          var _this129 = this;

          this.apiService.get("HoSoes/ThongKeHoSo?IDDV=".concat(this.idDV)).then(function (res) {
            var results = [];

            var _iterator142 = _createForOfIteratorHelper(_this129.columns),
                _step142;

            try {
              var _loop7 = function _loop7() {
                var item = _step142.value;
                var trangThai = res.q.find(function (f) {
                  return f.TrangThai === item.code;
                });

                if (trangThai) {
                  results.push({
                    name: item.name,
                    value: trangThai.SoLuong
                  });
                }
              };

              for (_iterator142.s(); !(_step142 = _iterator142.n()).done;) {
                _loop7();
              }
            } catch (err) {
              _iterator142.e(err);
            } finally {
              _iterator142.f();
            }

            _this129.single = results;
          });
        }
      }, {
        key: "onResize",
        value: function onResize() {
          this.view = [this.wrap.nativeElement.clientWidth / 1.1, 300];
        }
      }]);

      return PieChartFileComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/dasboard/pie-chart/pie-chart.component.ngfactory.js":
  /*!*****************************************************************************!*\
    !*** ./src/app/manager/dasboard/pie-chart/pie-chart.component.ngfactory.js ***!
    \*****************************************************************************/

  /*! exports provided: RenderType_PieChartComponent, View_PieChartComponent_0, View_PieChartComponent_Host_0, PieChartComponentNgFactory */

  /***/
  function srcAppManagerDasboardPieChartPieChartComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PieChartComponent", function () {
      return RenderType_PieChartComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieChartComponent_0", function () {
      return View_PieChartComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PieChartComponent_Host_0", function () {
      return View_PieChartComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartComponentNgFactory", function () {
      return PieChartComponentNgFactory;
    });
    /* harmony import */


    var _pie_chart_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./pie-chart.component.scss.shim.ngstyle */
    "./src/app/manager/dasboard/pie-chart/pie-chart.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../../node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory */
    "./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js");
    /* harmony import */


    var _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @swimlane/ngx-charts */
    "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _pie_chart_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./pie-chart.component */
    "./src/app/manager/dasboard/pie-chart/pie-chart.component.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_PieChartComponent = [_pie_chart_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_PieChartComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_PieChartComponent,
      data: {}
    });

    function View_PieChartComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "tooltip-label"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 2, "span", [["class", "tooltip-val"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](4, 1)], null, function (_ck, _v) {
        var currVal_0 = _v.context.model.name;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 3, 0, _ck(_v, 4, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 0), _v.context.model.value));

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_PieChartComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "ngx-charts-advanced-pie-chart", [], null, null, null, _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_AdvancedPieChartComponent_0"], _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_AdvancedPieChartComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4898816, null, 1, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_3__["AdvancedPieChartComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], {
        results: [0, "results"],
        view: [1, "view"],
        scheme: [2, "scheme"],
        gradient: [3, "gradient"],
        label: [4, "label"],
        valueFormatting: [5, "valueFormatting"],
        percentageFormatting: [6, "percentageFormatting"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        tooltipTemplate: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[2, 2], ["tooltipTemplate", 2]], null, 0, null, View_PieChartComponent_2))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.result;
        var currVal_1 = _co.view;
        var currVal_2 = _co.colorScheme;
        var currVal_3 = _co.gradient;
        var currVal_4 = _co.label;
        var currVal_5 = _co.valueFormatting;
        var currVal_6 = _co.percentageFormatting;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      }, null);
    }

    function View_PieChartComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "p", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u \u0111\u1EC3 hi\u1EC3n th\u1ECB"]))], null, null);
    }

    function View_PieChartComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["DecimalPipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        wrap: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, [[1, 0], ["wrap", 1]], null, 3, "div", [["class", "wrap"]], null, [["window", "resize"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("window:resize" === en) {
          var pd_0 = _co.onResize() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PieChartComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"],
        ngIfElse: [1, "ngIfElse"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noData", 2]], null, 0, null, View_PieChartComponent_3))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.result && _co.result.length;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5);

        _ck(_v, 4, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_PieChartComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-pie-chart", [], null, null, null, View_PieChartComponent_0, RenderType_PieChartComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _pie_chart_component__WEBPACK_IMPORTED_MODULE_5__["PieChartComponent"], [_shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_6__["TramBtsService"], _angular_common__WEBPACK_IMPORTED_MODULE_4__["DecimalPipe"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var PieChartComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-pie-chart", _pie_chart_component__WEBPACK_IMPORTED_MODULE_5__["PieChartComponent"], View_PieChartComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/dasboard/pie-chart/pie-chart.component.scss.shim.ngstyle.js":
  /*!*************************************************************************************!*\
    !*** ./src/app/manager/dasboard/pie-chart/pie-chart.component.scss.shim.ngstyle.js ***!
    \*************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDasboardPieChartPieChartComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["p[_ngcontent-%COMP%] {\n  text-align: center;\n  font-weight: 100;\n  font-size: 14px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9waWUtY2hhcnQvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXGRhc2JvYXJkXFxwaWUtY2hhcnRcXHBpZS1jaGFydC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9kYXNib2FyZC9waWUtY2hhcnQvcGllLWNoYXJ0LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksa0JBQUE7RUFDQSxnQkFBQTtFQUNBLGVBQUE7QUNDSiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvZGFzYm9hcmQvcGllLWNoYXJ0L3BpZS1jaGFydC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbInAge1xyXG4gICAgdGV4dC1hbGlnbiA6IGNlbnRlcjtcclxuICAgIGZvbnQtd2VpZ2h0OiAxMDA7XHJcbiAgICBmb250LXNpemUgIDogMTRweDtcclxufSIsInAge1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIGZvbnQtd2VpZ2h0OiAxMDA7XG4gIGZvbnQtc2l6ZTogMTRweDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/dasboard/pie-chart/pie-chart.component.ts":
  /*!*******************************************************************!*\
    !*** ./src/app/manager/dasboard/pie-chart/pie-chart.component.ts ***!
    \*******************************************************************/

  /*! exports provided: PieChartComponent */

  /***/
  function srcAppManagerDasboardPieChartPieChartComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PieChartComponent", function () {
      return PieChartComponent;
    });
    /* harmony import */


    var esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/tasks/support/Query */
    "./node_modules/arcgis-js-api/tasks/support/Query.js");
    /* harmony import */


    var esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_0__);

    var tinhTrangLabel = {
      1: 'Xin cấp phép',
      2: 'Đã cấp phép',
      3: 'Hoàn công',
      4: 'Không chấp nhận'
    };

    var PieChartComponent = /*#__PURE__*/function () {
      function PieChartComponent(service, decimalPipe) {
        var _this130 = this;

        _classCallCheck(this, PieChartComponent);

        this.service = service;
        this.decimalPipe = decimalPipe;
        this.result = null; // loaded = false;
        // DTinhTrang = DTinhTrang;z

        this.view = []; // options

        this.gradient = true;
        this.showLegend = true;
        this.showLabels = true;
        this.isDoughnut = false;
        this.label = 'Trạm BTS';
        this.colorScheme = {
          domain: ['#0000ff', '#55c22d', '#f33', '#ff9d00']
        };

        this.valueFormatting = function (evt) {
          return _this130.decimalPipe.transform(evt);
        };

        this.onResize = function () {
          _this130.view = [_this130.wrap.nativeElement.clientWidth / 1.045, 300];
        };
      }

      _createClass(PieChartComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.loadDatas();
          this.onResize();
        }
      }, {
        key: "loadDatas",
        value: function loadDatas() {
          var _this131 = this;

          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              var query = new esri_tasks_support_Query__WEBPACK_IMPORTED_MODULE_0___default.a({
                where: '1=1',
                outStatistics: [{
                  onStatisticField: 'ObjectId',
                  outStatisticFieldName: 'SoLuong',
                  statisticType: 'count'
                }],
                groupByFieldsForStatistics: ['TinhTrang']
              });

              var tinhTrang = _this131.service.getField('TinhTrang').domain.codedValues;

              _this131.service.getAll({
                query: query
              }).then(function (_ref90) {
                var features = _ref90.features;
                var attributes = features.map(function (m) {
                  return m.attributes;
                });
                _this131.result = Array.from(features.map(function (m) {
                  return m.attributes;
                }), function (item) {
                  return {
                    name: tinhTrangLabel[item.TinhTrang],
                    value: +item.SoLuong
                  };
                }); // DTinhTrang.forEach(f => {
                //   const count = attributes.filter(m => m.TinhTrang === f.code).length;
                //   this.result.push({ name: f.name, value: count });
                // })
                // this.loaded = true;
              });
            }
          });
        }
      }, {
        key: "percentageFormatting",
        value: function percentageFormatting(e) {
          return Math.round(e);
        }
      }]);

      return PieChartComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/add/add.component.ngfactory.js":
  /*!*********************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/add/add.component.ngfactory.js ***!
    \*********************************************************************/

  /*! exports provided: RenderType_AddComponent, View_AddComponent_0, View_AddComponent_Host_0, AddComponentNgFactory */

  /***/
  function srcAppManagerDiemDichVuAddAddComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AddComponent", function () {
      return RenderType_AddComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_0", function () {
      return View_AddComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_Host_0", function () {
      return View_AddComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponentNgFactory", function () {
      return AddComponentNgFactory;
    });
    /* harmony import */


    var _add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./add.component.scss.shim.ngstyle */
    "./src/app/manager/diem-dich-vu/add/add.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../shared/components/card/card.component.ngfactory */
    "./src/app/manager/shared/components/card/card.component.ngfactory.js");
    /* harmony import */


    var _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/card/card.component */
    "./src/app/manager/shared/components/card/card.component.ts");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _add_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./add.component */
    "./src/app/manager/diem-dich-vu/add/add.component.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_attachment_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../shared/services/diem-dich-vu-attachment.service */
    "./src/app/manager/shared/services/diem-dich-vu-attachment.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_AddComponent = [_add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_AddComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_AddComponent,
      data: {}
    });

    function View_AddComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 14, "div", [["class", "container-fluid"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 13, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 4, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 3, "app-card", [], null, null, null, _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_CardComponent_0"], _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_CardComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 114688, null, 0, _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_3__["CardComponent"], [], {
        header: [0, "header"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, 1, 1, "app-form", [], null, [[null, "onSubmit"], [null, "changeFileInput"], [null, "onKeyup"], [null, "changeDoanhNghiep"], [null, "lstFormData"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleClickAdd($event) !== false;
          ad = pd_0 && ad;
        }

        if ("changeFileInput" === en) {
          var pd_1 = _co.getInputFiles($event) !== false;
          ad = pd_1 && ad;
        }

        if ("onKeyup" === en) {
          var pd_2 = _co.handleKeyup($event) !== false;
          ad = pd_2 && ad;
        }

        if ("changeDoanhNghiep" === en) {
          var pd_3 = _co.changeDoanhNghiep($event) !== false;
          ad = pd_3 && ad;
        }

        if ("lstFormData" === en) {
          var pd_4 = _co.lstFormData !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_5__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_9__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit",
        onKeyup: "onKeyup",
        changeFileInput: "changeFileInput",
        changeDoanhNghiep: "changeDoanhNghiep"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 7, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 6, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "drawAllDoanhNghiep"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("drawAllDoanhNghiep" === en) {
          var pd_1 = _co.drawAgian($event) !== false;
          ad = pd_1 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_2 = _co.closeSideNave($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_11__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        drawAllDoanhNghiep: "drawAllDoanhNghiep",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, [["toolbarDiv", 1]], null, 3, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 1, "button", [["class", "esri-widget--button esri-interactive"], ["id", "distance"], ["title", "V\u1EBD"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreatePoint() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_9__["NgClass"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        klass: [0, "klass"],
        ngClass: [1, "ngClass"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "X\xF3a"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.removeGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.headerCard;

        _ck(_v, 6, 0, currVal_0);

        var currVal_1 = _co.fields;
        var currVal_2 = _co.service;

        _ck(_v, 8, 0, currVal_1, currVal_2);

        _ck(_v, 12, 0);

        var currVal_3 = "esri-widget--button esri-interactive";
        var currVal_4 = "esri-icon-radio-checked";

        _ck(_v, 15, 0, currVal_3, currVal_4);
      }, null);
    }

    function View_AddComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-add", [], null, null, null, View_AddComponent_0, RenderType_AddComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _add_component__WEBPACK_IMPORTED_MODULE_12__["AddComponent"], [_shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_13__["DiemDichVuService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_14__["LayerService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__["HanhChinhService"], _shared_services_diem_dich_vu_attachment_service__WEBPACK_IMPORTED_MODULE_15__["DiemDichVuAttachmentService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var AddComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-add", _add_component__WEBPACK_IMPORTED_MODULE_12__["AddComponent"], View_AddComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/add/add.component.scss.shim.ngstyle.js":
  /*!*****************************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/add/add.component.scss.shim.ngstyle.js ***!
    \*****************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDiemDichVuAddAddComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".container-fluid[_ngcontent-%COMP%] {\n  height: 90vh;\n  padding: 0;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9kaWVtLWRpY2gtdnUvYWRkL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYW5hZ2VyXFxkaWVtLWRpY2gtdnVcXGFkZFxcYWRkLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9tYW5hZ2VyL2RpZW0tZGljaC12dS9hZGQvYWRkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsWUFBQTtFQUNBLFVBQUE7QUNDRjtBREFFO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0VKO0FEQUk7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDRU4iLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL2RpZW0tZGljaC12dS9hZGQvYWRkLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNvbnRhaW5lci1mbHVpZCB7XHJcbiAgaGVpZ2h0OiA5MHZoO1xyXG4gIHBhZGRpbmc6IDA7XHJcbiAgLm1hcCB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgICAjdG9vbGJhckRpdiB7XHJcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgdG9wOiAxNXB4O1xyXG4gICAgICByaWdodDogMTVweDtcclxuICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xyXG4gICAgICBmbGV4LXdyYXA6IG5vd3JhcDtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIiwiLmNvbnRhaW5lci1mbHVpZCB7XG4gIGhlaWdodDogOTB2aDtcbiAgcGFkZGluZzogMDtcbn1cbi5jb250YWluZXItZmx1aWQgLm1hcCB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn1cbi5jb250YWluZXItZmx1aWQgLm1hcCAjdG9vbGJhckRpdiB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNXB4O1xuICByaWdodDogMTVweDtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBmbGV4LXdyYXA6IG5vd3JhcDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/diem-dich-vu/add/add.component.ts":
  /*!***********************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/add/add.component.ts ***!
    \***********************************************************/

  /*! exports provided: AddComponent */

  /***/
  function srcAppManagerDiemDichVuAddAddComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponent", function () {
      return AddComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1__);
    /* harmony import */


    var esri_geometry_Point__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! esri/geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js");
    /* harmony import */


    var esri_geometry_Point__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(esri_geometry_Point__WEBPACK_IMPORTED_MODULE_2__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/symbols */
    "./node_modules/arcgis-js-api/symbols.js");
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_symbols__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/views/draw/Draw */
    "./node_modules/arcgis-js-api/views/draw/Draw.js");
    /* harmony import */


    var esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_5__);
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! esri/renderers/UniqueValueRenderer */
    "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js");
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_6__);
    /* harmony import */


    var esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! esri/widgets/Expand */
    "./node_modules/arcgis-js-api/widgets/Expand.js");
    /* harmony import */


    var esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_7__);
    /* harmony import */


    var esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! esri/widgets/Legend */
    "./node_modules/arcgis-js-api/widgets/Legend.js");
    /* harmony import */


    var esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_8__);
    /* harmony import */


    var esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! esri/symbols/SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js");
    /* harmony import */


    var esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_9__);

    var AddComponent = /*#__PURE__*/function () {
      function AddComponent(_service, loginService, toastService, layerService, hanhChinhService, attachmentService) {
        _classCallCheck(this, AddComponent);

        this._service = _service;
        this.loginService = loginService;
        this.toastService = toastService;
        this.layerService = layerService;
        this.hanhChinhService = hanhChinhService;
        this.attachmentService = attachmentService;
        this.headerCard = 'Thêm mới điểm dịch vụ';
        this.fields = [{
          prop: 'SoHieu',
          name: 'Số hiệu',
          type: 'text',
          placeholder: 'Số hiệu'
        }, {
          prop: 'TenDiem',
          name: 'Tên điểm',
          type: 'text',
          placeholder: 'Tên điểm'
        }, {
          prop: 'ToaDoX',
          name: 'Tọa độ X',
          type: 'text',
          placeholder: 'Tọa độ X (Có thể chọn một điểm trên bản đồ)',
          require: true
        }, {
          prop: 'ToaDoY',
          name: 'Tọa độ Y',
          type: 'text',
          placeholder: 'Tọa độ Y (Có thể chọn một điểm trên bản đồ)',
          require: true
        }, {
          prop: 'Địa_chỉ',
          name: 'Địa chỉ',
          type: 'text',
          placeholder: 'Địa chỉ'
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          placeholder: 'Huyện thành phố',
          isQuanHuyenTP: true
        }, {
          prop: 'LoaiDichVu',
          name: 'Loại dịch vụ',
          type: 'select',
          placeholder: 'Loại dịch vụ',
          require: true
        }, {
          prop: 'DichVuCungCap',
          name: 'Dịch vụ cung cấp',
          type: 'text',
          placeholder: 'Dịch vụ cung cấp'
        }, {
          prop: 'DichVuCungCapVT',
          name: 'Dịch vụ cung cấp viễn thông',
          type: 'text',
          placeholder: 'Dịch vụ cung cấp viễn thông'
        }, {
          prop: 'DichVuGTGTKhac',
          name: 'Dịch vụ GTGT khác',
          type: 'text',
          placeholder: 'Dịch vụ GTGT khác'
        }, {
          prop: 'SoDienThoai',
          name: 'Số điện thoại',
          type: 'number',
          placeholder: 'Số điện thoại'
        }, {
          prop: 'SoGPKD',
          name: 'Số Giấy phép kinh doanh',
          type: 'text',
          placeholder: 'Số Giấy phép kinh doanh'
        }, {
          prop: 'NgayCapGPKD',
          name: 'Ngày cấp',
          type: 'date',
          placeholder: 'Ngày cấp'
        }, {
          prop: 'TepDinhKemGPKD',
          name: 'Tệp đính kèm GPKD',
          type: 'file',
          placeholder: 'File đính kèm'
        }];
        this._active = false;
        this.maDoanhNghiep = "";
        this.isDoanhNghiepSlected = false; // kiem tra doanh nghiep da duoc chon hay chua

        this.isOpenSideNav = false; // mo side nav chon doanh nghiep

        this.lstFormData = [];
        this.service = _service;
      }

      _createClass(AddComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          if (this.loginService.maDonVi !== 'S4T') {
            this.maDoanhNghiep = this.loginService.maDonVi;
          }
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {}
      }, {
        key: "getInputFiles",
        value: function getInputFiles(event) {
          var files = event.target.files;

          var _iterator143 = _createForOfIteratorHelper(files),
              _step143;

          try {
            for (_iterator143.s(); !(_step143 = _iterator143.n()).done;) {
              var file = _step143.value;
              console.log(file);
              var formData = new FormData();
              formData.append('attachment', file);
              formData.append('f', 'json');
              console.log(formData);
              this.lstFormData.push(formData);
            }
          } catch (err) {
            _iterator143.e(err);
          } finally {
            _iterator143.f();
          }
        }
      }, {
        key: "handleClickAdd",
        value: function handleClickAdd(info) {
          var _this132 = this;

          var attributes = info;
          attributes.TepDinhKemGPKD = this.fileId; // if (!this.maDoanhNghiep) {
          //   this.toastService.warning('Vui lòng chọn doanh nghiệp cần thêm mới!');
          //   return;
          // }

          attributes.TenDoanhNghiep = this.maDoanhNghiep;
          var addFeature = {
            geometry: this.geometry,
            attributes: attributes
          };
          this.layer.applyEdits({
            addFeatures: [addFeature]
          }).then(function (res) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this132, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
              var _this133 = this;

              var featureEditResult, objectId, _iterator144, _step144, file;

              return _regeneratorRuntime().wrap(function _callee3$(_context5) {
                while (1) switch (_context5.prev = _context5.next) {
                  case 0:
                    featureEditResult = res.addFeatureResults;
                    objectId = featureEditResult[0].objectId;

                    if (!objectId) {
                      _context5.next = 26;
                      break;
                    }

                    this.layer.queryFeatures({
                      returnGeometry: true,
                      outSpatialReference: this.view.spatialReference,
                      where: 'OBJECTID = ' + objectId,
                      outFields: ['*']
                    }).then(function (_ref91) {
                      var features = _ref91.features;
                      var ft = features[0];

                      _this133.view.graphics.add(new esri_Graphic__WEBPACK_IMPORTED_MODULE_3___default.a({
                        geometry: ft.geometry,
                        symbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_4__["SimpleMarkerSymbol"]({
                          color: 'rgba(0,0,0,0)',
                          size: '25px',
                          outline: new esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_9___default.a({
                            color: 'red',
                            width: 1
                          })
                        })
                      }));

                      _this133.hanhChinhService.getLocationInfo(ft.geometry).then(function (locationInfo) {
                        if (locationInfo) {
                          for (var _i42 in locationInfo) {
                            ft.attributes[_i42] = locationInfo[_i42];
                          }

                          _this133.layer.applyEdits({
                            updateFeatures: [{
                              attributes: ft.attributes
                            }]
                          }).then(function (result) {});
                        }
                      });
                    });

                    if (!this.lstFormData) {
                      _context5.next = 22;
                      break;
                    }

                    _iterator144 = _createForOfIteratorHelper(this.lstFormData);
                    _context5.prev = 6;

                    _iterator144.s();

                  case 8:
                    if ((_step144 = _iterator144.n()).done) {
                      _context5.next = 14;
                      break;
                    }

                    file = _step144.value;
                    _context5.next = 12;
                    return this.attachmentService.addAttachment(objectId, file).then(function (res) {
                      console.log(res.data.addAttachmentResult.success);

                      if (res.data.addAttachmentResult.success) {
                        _this133.layer.applyEdits({
                          updateFeatures: [{
                            attributes: {
                              OBJECTID: objectId,
                              TepDinhKemGPKD: res.data.addAttachmentResult.objectId
                            }
                          }]
                        }).then(function (res) {});
                      }
                    });

                  case 12:
                    _context5.next = 8;
                    break;

                  case 14:
                    _context5.next = 19;
                    break;

                  case 16:
                    _context5.prev = 16;
                    _context5.t0 = _context5["catch"](6);

                    _iterator144.e(_context5.t0);

                  case 19:
                    _context5.prev = 19;

                    _iterator144.f();

                    return _context5.finish(19);

                  case 22:
                    this.toastService.success('Thêm mới điểm dịch vụ thành công!');
                    this.view.graphics.removeAll();
                    _context5.next = 27;
                    break;

                  case 26:
                    this.toastService.danger('Có lỗi xảy ra!');

                  case 27:
                  case "end":
                    return _context5.stop();
                }
              }, _callee3, this, [[6, 16, 19, 22]]);
            }));
          });
        }
      }, {
        key: "closeSideNave",
        value: function closeSideNave(event) {
          this.miniMap.isOpenSideNav = event;
          this.isDoanhNghiepSlected = false;
        }
      }, {
        key: "drawAgian",
        value: function drawAgian(maDoanhNghiep) {
          this.maDoanhNghiep = maDoanhNghiep;
          this.enableCreatePoint();
        }
      }, {
        key: "changeDoanhNghiep",
        value: function changeDoanhNghiep(event) {
          this.maDoanhNghiep = event.target.value;
        }
      }, {
        key: "changeFileInput",
        value: function changeFileInput(event) {}
      }, {
        key: "enableCreatePoint",
        value: function enableCreatePoint() {
          var _this134 = this;

          // // check ma don vi la S4T va isDoanhNghiepSlected = false thi phai chon doanh nghiep
          // if(this.loginService.maDonVi === 'S4T' && !this.isDoanhNghiepSlected) {
          //   this.miniMap.isOpenSideNav = true;
          //   this.isDoanhNghiepSlected = true;
          //   return;
          // }
          // // neu isDoanhNghiepSlected = false la doanh nghiep khong duoc chon tuc la lay doanh nghiep dang dang nhap
          // if(!this.isDoanhNghiepSlected) {
          //   this.maDoanhNghiep = this.loginService.maDonVi;
          // }
          // if(this.maDoanhNghiep || this.maDoanhNghiep === 'undefined') {
          var draw = new esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_5___default.a({
            view: this.view
          });
          var action = draw.create("point");
          action.on("cursor-update", function (evt) {
            _this134.createPointGraphic(evt);
          });
          action.on("draw-complete", function (evt) {
            _this134.createPointGraphic(evt);

            _this134.isDoanhNghiepSlected = false;
          }); // } else {
          //   this.toastService.warning('Vui lòng chọn doanh nghiệp!');
          // }
        }
      }, {
        key: "createPointGraphic",
        value: function createPointGraphic(evt) {
          var coordinates = evt.coordinates;
          this.view.graphics.removeAll();
          this.geometry = new esri_geometry_Point__WEBPACK_IMPORTED_MODULE_2___default.a({
            x: coordinates[0],
            y: coordinates[1],
            spatialReference: this.view.spatialReference
          });
          var graphic = new esri_Graphic__WEBPACK_IMPORTED_MODULE_3___default.a({
            geometry: this.geometry,
            symbol: this.miniMap.symbolCreate
          });
          this.view.graphics.add(graphic);

          if (evt.type === 'draw-complete') {
            var _graphic$geometry = graphic.geometry,
                longitude = _graphic$geometry.longitude,
                latitude = _graphic$geometry.latitude;
            this.toaDoX = longitude;
            this.toaDoY = latitude;
            this.formComponent.datas.ToaDoX = longitude.toString();
            this.formComponent.datas.ToaDoY = latitude.toString();
            this.view.goTo(graphic);
          }
        }
      }, {
        key: "mapLoaded",
        value: function mapLoaded(view) {
          this.view = view;
          var loaiDV = [{
            name: '1',
            title: 'Điểm phục vụ bưu chính',
            name_img: 'phucvubuuchinh'
          }, {
            name: '2',
            title: 'Điểm cung cấp dịch vụ viễn thông',
            name_img: 'dichvuvienthong'
          }, {
            name: '3',
            title: 'Đại lý internet công cộng',
            name_img: 'dailyinternet'
          }];
          var uniqueValueInfos = [];

          for (var _i43 = 0; _i43 < loaiDV.length; _i43++) {
            var uniqueValueInfo = {
              label: null,
              value: null,
              symbol: {
                url: null,
                type: "picture-marker",
                width: "18px",
                height: "18px"
              }
            };
            uniqueValueInfo.value = +loaiDV[_i43].name;
            uniqueValueInfo.label = loaiDV[_i43].title;
            uniqueValueInfo.create = true;
            uniqueValueInfo.symbol.url = "/assets/images/store/type/" + loaiDV[_i43].name_img + ".png";
            uniqueValueInfos.push(uniqueValueInfo);
          }

          var renderer = new esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_6___default.a({
            field: "LoaiDichVu",
            fieldDelimiter: ", ",
            uniqueValueInfos: uniqueValueInfos,
            defaultSymbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_4__["PictureMarkerSymbol"]({
              url: "/assets/images/store/type/chuaxacdinh.png",
              width: "18px",
              height: "18px"
            }),
            defaultLabel: "Chưa xác định"
          });
          this.layer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1___default.a(this.layerService.diemDichVuLayer);
          this.layer.renderer = renderer;
          this.view.map.add(this.layer);
          var legend = new esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_8___default.a({
            view: this.view
          });
          var bgExpand = new esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_7___default.a({
            view: this.view,
            content: legend
          });
          this.view.ui.add(bgExpand, 'top-left');
        }
      }, {
        key: "handleKeyup",
        value: function handleKeyup(evt) {
          var _evt$target = evt.target,
              name = _evt$target.name,
              value = _evt$target.value;

          if (name === "ToaDoX" || name === "ToaDoY") {
            if (name === "ToaDoX") {
              this.toaDoX = value;
            }

            if (name === "ToaDoY") {
              this.toaDoY = value;
            }

            if (this.toaDoX && this.toaDoY) {
              this.view.graphics.removeAll();
              this.geometry = new esri_geometry_Point__WEBPACK_IMPORTED_MODULE_2___default.a({
                longitude: this.toaDoX,
                latitude: this.toaDoY
              });
              var graphic = new esri_Graphic__WEBPACK_IMPORTED_MODULE_3___default.a({
                geometry: this.geometry,
                symbol: this.miniMap.symbolCreate
              });
              this.view.graphics.add(graphic);
              this.view.goTo(graphic);
            } else {
              this.view.graphics.removeAll();
            }
          }
        }
      }, {
        key: "removeGraphic",
        value: function removeGraphic() {
          this.view.graphics.removeAll();
          this.formComponent.datas.ToaDoX = "";
          this.formComponent.datas.ToaDoY = "";
        }
      }]);

      return AddComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/diem-dich-vu-routing.module.ts":
  /*!*********************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/diem-dich-vu-routing.module.ts ***!
    \*********************************************************************/

  /*! exports provided: DiemDichVumRoutingModule */

  /***/
  function srcAppManagerDiemDichVuDiemDichVuRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVumRoutingModule", function () {
      return DiemDichVumRoutingModule;
    });
    /* harmony import */


    var _diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./diem-dich-vu.component */
    "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ts");
    /* harmony import */


    var _list_list_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./list/list.component */
    "./src/app/manager/diem-dich-vu/list/list.component.ts");
    /* harmony import */


    var _add_add_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./add/add.component */
    "./src/app/manager/diem-dich-vu/add/add.component.ts");

    var routes = [{
      path: '',
      component: _diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_0__["DiemDichVuComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'list'
      }, {
        path: 'list',
        component: _list_list_component__WEBPACK_IMPORTED_MODULE_1__["ListComponent"]
      }, {
        path: 'add',
        component: _add_add_component__WEBPACK_IMPORTED_MODULE_2__["AddComponent"]
      }]
    }];

    var DiemDichVumRoutingModule = /*#__PURE__*/_createClass(function DiemDichVumRoutingModule() {
      _classCallCheck(this, DiemDichVumRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ngfactory.js":
  /*!**************************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/diem-dich-vu.component.ngfactory.js ***!
    \**************************************************************************/

  /*! exports provided: RenderType_DiemDichVuComponent, View_DiemDichVuComponent_0, View_DiemDichVuComponent_Host_0, DiemDichVuComponentNgFactory */

  /***/
  function srcAppManagerDiemDichVuDiemDichVuComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DiemDichVuComponent", function () {
      return RenderType_DiemDichVuComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DiemDichVuComponent_0", function () {
      return View_DiemDichVuComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DiemDichVuComponent_Host_0", function () {
      return View_DiemDichVuComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVuComponentNgFactory", function () {
      return DiemDichVuComponentNgFactory;
    });
    /* harmony import */


    var _diem_dich_vu_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./diem-dich-vu.component.scss.shim.ngstyle */
    "./src/app/manager/diem-dich-vu/diem-dich-vu.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./diem-dich-vu.component */
    "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_DiemDichVuComponent = [_diem_dich_vu_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_DiemDichVuComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_DiemDichVuComponent,
      data: {}
    });

    function View_DiemDichVuComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 1, "router-outlet", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 212992, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterOutlet"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["ChildrenOutletContexts"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], [8, null], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_DiemDichVuComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-diem-dich-vu", [], null, null, null, View_DiemDichVuComponent_0, RenderType_DiemDichVuComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_3__["DiemDichVuComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var DiemDichVuComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-diem-dich-vu", _diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_3__["DiemDichVuComponent"], View_DiemDichVuComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/diem-dich-vu.component.scss.shim.ngstyle.js":
  /*!**********************************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/diem-dich-vu.component.scss.shim.ngstyle.js ***!
    \**********************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDiemDichVuDiemDichVuComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvZGllbS1kaWNoLXZ1L2RpZW0tZGljaC12dS5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ts":
  /*!****************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/diem-dich-vu.component.ts ***!
    \****************************************************************/

  /*! exports provided: DiemDichVuComponent */

  /***/
  function srcAppManagerDiemDichVuDiemDichVuComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVuComponent", function () {
      return DiemDichVuComponent;
    });

    var DiemDichVuComponent = /*#__PURE__*/function () {
      function DiemDichVuComponent() {
        _classCallCheck(this, DiemDichVuComponent);
      }

      _createClass(DiemDichVuComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return DiemDichVuComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/diem-dich-vu.module.ts":
  /*!*************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/diem-dich-vu.module.ts ***!
    \*************************************************************/

  /*! exports provided: DiemDichVuModule */

  /***/
  function srcAppManagerDiemDichVuDiemDichVuModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVuModule", function () {
      return DiemDichVuModule;
    });

    var DiemDichVuModule = /*#__PURE__*/_createClass(function DiemDichVuModule() {
      _classCallCheck(this, DiemDichVuModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/list/list.component.ngfactory.js":
  /*!***********************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/list/list.component.ngfactory.js ***!
    \***********************************************************************/

  /*! exports provided: RenderType_ListComponent, View_ListComponent_0, View_ListComponent_Host_0, ListComponentNgFactory */

  /***/
  function srcAppManagerDiemDichVuListListComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ListComponent", function () {
      return RenderType_ListComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_0", function () {
      return View_ListComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_Host_0", function () {
      return View_ListComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponentNgFactory", function () {
      return ListComponentNgFactory;
    });
    /* harmony import */


    var _list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./list.component.scss.shim.ngstyle */
    "./src/app/manager/diem-dich-vu/list/list.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component.ngfactory */
    "./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component */
    "./src/app/manager/shared/components/datatable/datatable.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /* harmony import */


    var _list_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./list.component */
    "./src/app/manager/diem-dich-vu/list/list.component.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ListComponent = [_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ListComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ListComponent,
      data: {}
    });

    function View_ListComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        dataTbl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "div", [["class", "container-fluid mt-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "app-datatable", [], null, [[null, "onActivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onActivate" === en) {
          var pd_0 = _co.onActivate($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_DatatableComponent_0"], _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_DatatableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 638976, [[1, 4], ["dataTbl", 4]], 0, _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_3__["DatatableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"], _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__["DonViService"]], {
        columns: [0, "columns"],
        service: [1, "service"],
        header: [2, "header"],
        searchField: [3, "searchField"]
      }, {
        onActivate: "onActivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;
        var currVal_1 = _co.service;
        var currVal_2 = _co.headerTable;
        var currVal_3 = _co.searchField;

        _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3);
      }, null);
    }

    function View_ListComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-list", [], null, null, null, View_ListComponent_0, RenderType_ListComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _list_component__WEBPACK_IMPORTED_MODULE_9__["ListComponent"], [_shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_10__["DiemDichVuService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__["ToastService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ListComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-list", _list_component__WEBPACK_IMPORTED_MODULE_9__["ListComponent"], View_ListComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/diem-dich-vu/list/list.component.scss.shim.ngstyle.js":
  /*!*******************************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/list/list.component.scss.shim.ngstyle.js ***!
    \*******************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerDiemDichVuListListComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvZGllbS1kaWNoLXZ1L2xpc3QvbGlzdC5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/diem-dich-vu/list/list.component.ts":
  /*!*************************************************************!*\
    !*** ./src/app/manager/diem-dich-vu/list/list.component.ts ***!
    \*************************************************************/

  /*! exports provided: ListComponent */

  /***/
  function srcAppManagerDiemDichVuListListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponent", function () {
      return ListComponent;
    });
    /* harmony import */


    var _shared_components_modal_detail_modal_detail_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../../shared/components/modal-detail/modal-detail.component */
    "./src/app/manager/shared/components/modal-detail/modal-detail.component.ts");
    /* harmony import */


    var src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/models/menu.model */
    "./src/app/shared/models/menu.model.ts");

    var ListComponent = /*#__PURE__*/function () {
      function ListComponent(_service, modalService, toastService) {
        _classCallCheck(this, ListComponent);

        this._service = _service;
        this.modalService = modalService;
        this.toastService = toastService;
        this.headerTable = 'Danh sách điểm dịch vụ';
        this.columns = [{
          prop: 'SoHieu',
          name: 'Số hiệu',
          type: 'text',
          width: 150,
          frozenLeft: true
        }, {
          prop: 'TenDiem',
          name: 'Tên điểm',
          type: 'text',
          width: 200,
          frozenLeft: true
        }, {
          prop: 'TenDoanhNghiep',
          name: 'Doanh nghiệp',
          type: 'select',
          width: 150,
          isNonEdit: true
        }, {
          prop: 'ToaDoX',
          name: 'Tọa độ X',
          type: 'text',
          width: 150,
          isNonEdit: true
        }, {
          prop: 'ToaDoY',
          name: 'Tọa độ Y',
          type: 'text',
          width: 150,
          isNonEdit: true
        }, {
          prop: 'LoaiDichVu',
          name: 'Loại dịch vụ',
          type: 'select',
          width: 250,
          isNonEdit: true
        }, {
          prop: 'DichVuCungCap',
          name: 'Dịch vụ cung cấp',
          type: 'text',
          width: 150
        }, {
          prop: 'DichVuCungCapVT',
          name: 'Dịch vụ cung cấp viễn thông',
          width: 150,
          type: 'text'
        }, {
          prop: 'DichVuGTGTKhac',
          name: 'Dịch vụ GTGT khác',
          type: 'text',
          width: 150
        }, {
          prop: 'SoGPKD',
          name: 'Số Giấy phép kinh doanh',
          type: 'text',
          width: 150
        }, {
          prop: 'NgayCapGPKD',
          name: 'Ngày cấp',
          type: 'date',
          width: 150
        }, {
          prop: 'TepDinhKemGPKD',
          name: 'File GPKD',
          type: 'file',
          width: 150
        }, {
          prop: 'SoDienThoai',
          name: 'Số điện thoại',
          type: 'text',
          width: 150
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          isQuanHuyenTP: true,
          width: 150,
          options: []
        }, {
          prop: 'XaPhuongTT',
          name: 'Xã/phường',
          type: 'select',
          isPhuongXa: true,
          width: 150,
          options: []
        }, {
          prop: 'Địa_chỉ',
          name: 'Địa chỉ',
          type: 'text'
        }];
        this.searchField = 'TenDiem';
        this.Flag = src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__["FlagMenu"];
        this.service = _service;
      }

      _createClass(ListComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "handleSave",
        value: function handleSave(data) {
          var _this135 = this;

          // this.loadingIndicator = true;
          this.service.update(data).then(function (res) {
            if (res.updateResults && res.updateResults.length) {
              _this135.dataTbl.loadData();

              _this135.toastService.success('Cập nhập dữ liệu thành công!');
            } else {
              _this135.toastService.danger('Cập nhật dữ liệu thất bại');
            } // this.loadingIndicator = false;

          });
        }
      }, {
        key: "onActivate",
        value: function onActivate(event) {
          var _this136 = this;

          var modalRef = this.modalService.open(_shared_components_modal_detail_modal_detail_component__WEBPACK_IMPORTED_MODULE_0__["ModalDetailComponent"], {
            size: 'xl'
          });
          modalRef.componentInstance.data = {
            row: event.row,
            fields: this.columns,
            flag: this.Flag.DiemDichVu
          };
          modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
            _this136.handleSave(receivedEntry);
          });
        }
      }]);

      return ListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/add.component.ngfactory.js":
  /*!**************************************************************!*\
    !*** ./src/app/manager/ho-so/add/add.component.ngfactory.js ***!
    \**************************************************************/

  /*! exports provided: RenderType_AddComponent, View_AddComponent_0, View_AddComponent_Host_0, AddComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddAddComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AddComponent", function () {
      return RenderType_AddComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_0", function () {
      return View_AddComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_Host_0", function () {
      return View_AddComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponentNgFactory", function () {
      return AddComponentNgFactory;
    });
    /* harmony import */


    var _add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./add.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/add.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_components_table_details_table_details_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/components/table-details/table-details.component.ngfactory */
    "./src/app/manager/shared/components/table-details/table-details.component.ngfactory.js");
    /* harmony import */


    var _shared_components_table_details_table_details_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../shared/components/table-details/table-details.component */
    "./src/app/manager/shared/components/table-details/table-details.component.ts");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../../../../node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory */
    "./node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory.js");
    /* harmony import */


    var _add_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./add.component */
    "./src/app/manager/ho-so/add/add.component.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ../../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
    /*! ../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_AddComponent = [_add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_AddComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_AddComponent,
      data: {}
    });

    function View_AddComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-primary mr-1"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.guiHoSo() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["G\u1EEDi h\u1ED3 s\u01A1"]))], function (_ck, _v) {
        var currVal_0 = "btn-primary mr-1";

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_AddComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-success mr-1"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickSaveHoSo() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["L\u01B0u "]))], function (_ck, _v) {
        var currVal_0 = "btn-success mr-1";
        var currVal_1 = "save";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_AddComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-success mr-1"], ["icon", "check"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.pheDuyetHoSo() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" Ph\xEA duy\u1EC7t "]))], function (_ck, _v) {
        var currVal_0 = "btn-success mr-1";
        var currVal_1 = "check";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_AddComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-danger mr-1"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.askCause() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" T\u1EEB ch\u1ED1i "]))], function (_ck, _v) {
        var currVal_0 = "btn-danger mr-1";
        var currVal_1 = "times";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_AddComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null);
    }

    function View_AddComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 43, "div", [["class", "col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 42, "fieldset", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "legend", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Th\xF4ng tin h\u1ED3 s\u01A1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 11, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 3, "label", [["class", "col-2 col-form-label-sm font-weight-lighter text-right p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" T\xEAn h\u1ED3 s\u01A1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 1, "span", [["class", "text-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["*"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 6, "div", [["class", "col-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 5, "input", [["class", "form-control form-control-sm"], ["placeholder", "Nh\u1EADp t\xEAn h\u1ED3 s\u01A1"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 11)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 11).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 11)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 11)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.tenHoSo = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"]]], {
        isDisabled: [0, "isDisabled"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 11, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 3, "label", [["class", "col-2 col-form-label-sm font-weight-lighter text-right p-0"], ["for", "soCongVan"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" S\u1ED1 c\xF4ng v\u0103n"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](19, 0, null, null, 1, "span", [["class", "text-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["*"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](21, 0, null, null, 6, "div", [["class", "col-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, null, 5, "input", [["aria-describedby", "inputGroup-sizing-sm"], ["class", "form-control form-control-sm"], ["placeholder", "Nh\u1EADp s\u1ED1 c\xF4ng v\u0103n"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.soCongVan = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](25, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"]]], {
        isDisabled: [0, "isDisabled"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](27, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](28, 0, null, null, 15, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](29, 0, null, null, 3, "label", [["class", "col-2 col-form-label-sm font-weight-lighter text-right p-0"], ["for", "thoiGianTao"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" Th\u1EDDi gian t\u1EA1o"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](31, 0, null, null, 1, "span", [["class", "text-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["*"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](33, 0, null, null, 10, "div", [["class", "col-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](34, 16777216, null, null, 9, "input", [["class", "form-control form-control-sm"], ["name", "dp"], ["ngbDatepicker", ""], ["placeholder", "dd/mm/yyyy"]], [[8, "disabled", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "click"], [null, "input"], [null, "change"], [null, "focus"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).manualDateChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("change" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).manualDateChange($event.target.value, true) !== false;
          ad = pd_1 && ad;
        }

        if ("focus" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).onFocus() !== false;
          ad = pd_2 && ad;
        }

        if ("blur" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).onBlur() !== false;
          ad = pd_3 && ad;
        }

        if ("input" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37)._handleInput($event.target.value) !== false;
          ad = pd_4 && ad;
        }

        if ("blur" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onTouched() !== false;
          ad = pd_5 && ad;
        }

        if ("compositionstart" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37)._compositionStart() !== false;
          ad = pd_6 && ad;
        }

        if ("compositionend" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37)._compositionEnd($event.target.value) !== false;
          ad = pd_7 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_8 = (_co.thoiGianTao = $event) !== false;
          ad = pd_8 && ad;
        }

        if ("click" === en) {
          var pd_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).toggle() !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](6144, null, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbDatepickerConfig"], null, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepickerConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](36, 671744, [["d", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepicker"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbDateParserFormatter"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbCalendar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbDateAdapter"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepickerConfig"]], {
        disabled: [0, "disabled"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](37, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"], function (p0_0, p1_0) {
        return [p0_0, p1_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepicker"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](40, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        isDisabled: [1, "isDisabled"],
        model: [2, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](41, 2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](43, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.display;
        var currVal_8 = _co.tenHoSo;

        _ck(_v, 13, 0, currVal_7, currVal_8);

        var currVal_16 = _co.display;
        var currVal_17 = _co.soCongVan;

        _ck(_v, 25, 0, currVal_16, currVal_17);

        var currVal_26 = _co.display;

        _ck(_v, 36, 0, currVal_26);

        var currVal_27 = "dp";
        var currVal_28 = _co.display;

        var currVal_29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 40, 2, _ck(_v, 41, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _co.thoiGianTao, "yyyy-MM-dd"));

        _ck(_v, 40, 0, currVal_27, currVal_28, currVal_29);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).ngClassPending;

        _ck(_v, 10, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassUntouched;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassTouched;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassPristine;

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassDirty;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassValid;

        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassInvalid;

        var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).ngClassPending;

        _ck(_v, 22, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15);

        var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).disabled;

        var currVal_19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassUntouched;

        var currVal_20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassTouched;

        var currVal_21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassPristine;

        var currVal_22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassDirty;

        var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassValid;

        var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassInvalid;

        var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 43).ngClassPending;

        _ck(_v, 34, 0, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25);
      });
    }

    function View_AddComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 34, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 33, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 3, "label", [["class", "col-1 col-form-label-sm font-weight-lighter text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" T\xEAn h\u1ED3 s\u01A1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "span", [["class", "text-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["*"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 6, "div", [["class", "col-5"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 5, "input", [["class", "form-control form-control-sm"], ["placeholder", "Nh\u1EADp t\xEAn h\u1ED3 s\u01A1"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.tenHoSo = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"]]], {
        isDisabled: [0, "isDisabled"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "label", [["class", "col-1 col-form-label-sm font-weight-lighter text-right"], ["for", "soCongVan"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["S\u1ED1 c\xF4ng v\u0103n"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 6, "div", [["class", "col-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 5, "input", [["aria-describedby", "inputGroup-sizing-sm"], ["class", "form-control form-control-sm"], ["placeholder", "Nh\u1EADp s\u1ED1 c\xF4ng v\u0103n"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.soCongVan = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](17, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](19, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"]]], {
        isDisabled: [0, "isDisabled"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](21, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, null, 1, "label", [["class", "col-1 col-form-label-sm font-weight-lighter text-right"], ["for", "thoiGianTao"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Th\u1EDDi gian t\u1EA1o"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, null, 10, "div", [["class", "col-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](25, 16777216, null, null, 9, "input", [["class", "form-control form-control-sm"], ["name", "dp"], ["ngbDatepicker", ""], ["placeholder", "dd/mm/yyyy"]], [[8, "disabled", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "click"], [null, "input"], [null, "change"], [null, "focus"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).manualDateChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("change" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).manualDateChange($event.target.value, true) !== false;
          ad = pd_1 && ad;
        }

        if ("focus" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).onFocus() !== false;
          ad = pd_2 && ad;
        }

        if ("blur" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).onBlur() !== false;
          ad = pd_3 && ad;
        }

        if ("input" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 28)._handleInput($event.target.value) !== false;
          ad = pd_4 && ad;
        }

        if ("blur" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 28).onTouched() !== false;
          ad = pd_5 && ad;
        }

        if ("compositionstart" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 28)._compositionStart() !== false;
          ad = pd_6 && ad;
        }

        if ("compositionend" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 28)._compositionEnd($event.target.value) !== false;
          ad = pd_7 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_8 = (_co.thoiGianTao = $event) !== false;
          ad = pd_8 && ad;
        }

        if ("click" === en) {
          var pd_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).toggle() !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](6144, null, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbDatepickerConfig"], null, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepickerConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](27, 671744, [["d", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepicker"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbDateParserFormatter"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbCalendar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbDateAdapter"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepickerConfig"]], {
        disabled: [0, "disabled"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](28, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"], function (p0_0, p1_0) {
        return [p0_0, p1_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbInputDatepicker"], _angular_forms__WEBPACK_IMPORTED_MODULE_4__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](31, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        isDisabled: [1, "isDisabled"],
        model: [2, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](32, 2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](34, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_4__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.display;
        var currVal_8 = _co.tenHoSo;

        _ck(_v, 10, 0, currVal_7, currVal_8);

        var currVal_16 = _co.display;
        var currVal_17 = _co.soCongVan;

        _ck(_v, 19, 0, currVal_16, currVal_17);

        var currVal_26 = _co.display;

        _ck(_v, 27, 0, currVal_26);

        var currVal_27 = "dp";
        var currVal_28 = _co.display;

        var currVal_29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 31, 2, _ck(_v, 32, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _co.thoiGianTao, "yyyy-MM-dd"));

        _ck(_v, 31, 0, currVal_27, currVal_28, currVal_29);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassPending;

        _ck(_v, 7, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassUntouched;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassTouched;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassPristine;

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassDirty;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassValid;

        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassInvalid;

        var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 21).ngClassPending;

        _ck(_v, 16, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15);

        var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).disabled;

        var currVal_19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassUntouched;

        var currVal_20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassTouched;

        var currVal_21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassPristine;

        var currVal_22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassDirty;

        var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassValid;

        var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassInvalid;

        var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 34).ngClassPending;

        _ck(_v, 25, 0, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25);
      });
    }

    function View_AddComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 33, "div", [["class", "col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 32, "fieldset", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "legend", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Th\xF4ng tin h\u1ED3 s\u01A1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 29, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 2, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "h6", [["class", "text-center text-uppercase"], ["style", "font-size: 0.8rem;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](7, null, ["Doanh nghi\u1EC7p ", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "div", [["class", "col-12"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 1, "h6", [["class", "text-center text-uppercase"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](10, null, ["H\u1ED3 s\u01A1 ", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 1, "label", [["class", "col-2 p-0 col-form-label-sm font-weight-lighter text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["S\u1ED1 CV:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 2, "div", [["class", "col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](15, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 1, "label", [["class", "col-2 p-0 col-form-label-sm font-weight-lighter text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["TG t\u1EA1o:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 3, "div", [["class", "col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](19, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](20, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](21, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, null, 1, "label", [["class", "col-2 p-0 col-form-label-sm font-weight-lighter text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["TG g\u1EEDi:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, null, 3, "div", [["class", "col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](25, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](26, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](27, 2), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](28, 0, null, null, 1, "label", [["class", "col-2 p-0 col-form-label-sm font-weight-lighter text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["TG duy\u1EC7t:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](30, 0, null, null, 3, "div", [["class", "col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](31, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](32, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](33, 2)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.tenDoanhNghiep;

        _ck(_v, 7, 0, currVal_0);

        var currVal_1 = _co.tenHoSo;

        _ck(_v, 10, 0, currVal_1);

        var currVal_2 = _co.soCongVan;

        _ck(_v, 15, 0, currVal_2);

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 20, 0, _ck(_v, 21, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _co.thoiGianTao, "dd/MM/yyyy"));

        _ck(_v, 20, 0, currVal_3);

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 26, 0, _ck(_v, 27, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _co.thoiGianGui, "dd/MM/yyyy"));

        _ck(_v, 26, 0, currVal_4);

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 32, 0, _ck(_v, 33, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _co.thoiGianDuyet, "dd/MM/yyyy"));

        _ck(_v, 32, 0, currVal_5);
      });
    }

    function View_AddComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "p", [["class", "font-weight-lighter"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u01B0a c\xF3 v\u0103n b\u1EA3n \u0111\xEDnh k\xE8m!"]))], null, null);
    }

    function View_AddComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", "file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 6, "a", [["class", "text-dark"], ["target", "_blank"]], [[8, "href", 4]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "a", [["class", "btn-del"], ["href", "javascript:void(0)"], ["plac", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.deleteFileAttachment(_v.context.$implicit.id) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["x"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 3, "div", [["class", "d-flex h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 0, "i", [["class", "far fa-file-pdf mr-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "span", [["class", "file-name"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](7, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.downloadFilePDF(_v.context.$implicit.url);

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.name;

        _ck(_v, 7, 0, currVal_1);
      });
    }

    function View_AddComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "perfect-scrollbar", [["class", "list-files"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, 0, 1, null, View_AddComponent_12)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        _ck(_v, 1, 0);

        var currVal_2 = _co.arrayFiles;

        _ck(_v, 3, 0, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).autoPropagation;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).scrollIndicators;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_AddComponent_13(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "p", [["class", "font-weight-lighter"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u01B0a c\xF3 t\u1EC7p tin k\xFD s\u1ED1!"]))], null, null);
    }

    function View_AddComponent_15(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "div", [["class", "file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 4, "a", [["class", "text-dark"], ["target", "_blank"]], [[8, "href", 4]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 3, "div", [["class", "d-flex h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 0, "i", [["class", "far fa-file-pdf mr-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "span", [["class", "file-name"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](5, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.fileKSUrl;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.fileKSName;

        _ck(_v, 5, 0, currVal_1);
      });
    }

    function View_AddComponent_14(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "perfect-scrollbar", [["class", "list-files"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, 0, 1, null, View_AddComponent_15)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        _ck(_v, 1, 0);

        var currVal_2 = _co.fileKSUrl;

        _ck(_v, 3, 0, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).autoPropagation;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).scrollIndicators;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_AddComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 26, "div", [["class", "attach col-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 25, "fieldset", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "legend", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["T\u1EC7p \u0111\xEDnh k\xE8m"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 22, "div", [["style", "height: 100%;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 10, "div", [["class", "d-flex flex-column"], ["style", "height: 60%;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 5, "div", [["class", "d-flex align-items-center justify-content-start"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 4, "div", [["class", "attach-file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, [["fileEl", 1]], null, 0, "input", [["accept", "application/pdf"], ["name", "file"], ["style", "cursor: pointer;"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.fileChange(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 19)) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 2, "button", [["class", "btn btn-link p-0"], ["style", "font-size: 14px;"], ["type", "button"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 0, "i", [["class", "fas fa-paperclip"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" V\u0103n b\u1EA3n"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_11)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 10, "div", [["class", "border-top"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 5, "div", [["class", "d-flex align-items-center justify-content-start"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 4, "div", [["class", "attach-file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](19, 0, [["fileEl", 1]], null, 0, "input", [["accept", "application/pdf"], ["name", "file"], ["style", "cursor: pointer;"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.fileChangeKySo(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 19)) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](20, 0, null, null, 2, "button", [["class", "btn btn-link p-0"], ["style", "font-size: 14px;"], ["type", "button"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](21, 0, null, null, 0, "i", [["class", "fas fa-paperclip"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" T\u1EC7p tin k\xFD s\u1ED1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_13)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](24, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_14)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](26, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.arrayFiles && !_co.arrayFiles.length;

        _ck(_v, 13, 0, currVal_0);

        var currVal_1 = _co.arrayFiles && _co.arrayFiles.length;

        _ck(_v, 15, 0, currVal_1);

        var currVal_2 = !_co.fileKSUrl;

        _ck(_v, 24, 0, currVal_2);

        var currVal_3 = _co.trangThai !== 0;

        _ck(_v, 26, 0, currVal_3);
      }, null);
    }

    function View_AddComponent_18(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "div", [["class", "alert alert-danger"], ["role", "alert"]], [[2, "alert-danger", null], [2, "alert-success", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, [" ", " "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.trangThai === 3;
        var currVal_1 = _co.trangThai === 4;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_2 = _co.reason || _co.content;

        _ck(_v, 1, 0, currVal_2);
      });
    }

    function View_AddComponent_17(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "fieldset", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "legend", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["N\u1ED9i dung ph\u1EA3n h\u1ED3i"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 2, "div", [["class", "reply"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_18)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.trangThai > 2;

        _ck(_v, 5, 0, currVal_0);
      }, null);
    }

    function View_AddComponent_16(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "col-md-4 col-xs-12"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_17)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.trangThai > 2;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_AddComponent_21(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "button", [["class", "btn btn-outline-primary btn-sm mb-2"], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openModal() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "i", [["class", "fa fa-plus"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" Th\xEAm m\u1EDBi"]))], null, null);
    }

    function View_AddComponent_22(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "button", [["class", "btn btn-outline-primary btn-sm mb-2 ml-1"], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = (_co.viewMap = !_co.viewMap) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "i", [["class", "fa fa-map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" B\u1EA3n \u0111\u1ED3"]))], null, null);
    }

    function View_AddComponent_23(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "a", [["class", "btn btn-outline-primary btn-sm mb-2 ml-1"], ["type", "button"]], [[8, "href", 4]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "i", [["class", "fas fa-download"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" T\u1EA3i ph\u1EE5 l\u1EE5c"]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.downloadAppendix(_co.idHoSo);

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_AddComponent_24(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "h-100"]], [[2, "col-6", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-mini-map", [["class", "h-100"]], null, [[null, "mapLoaded"], [null, "whenLayerView"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("whenLayerView" === en) {
          var pd_1 = _co.whenLayerView($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_10__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"]], {
        isShowMeasure: [0, "isShowMeasure"]
      }, {
        mapLoaded: "mapLoaded",
        whenLayerView: "whenLayerView"
      })], function (_ck, _v) {
        var currVal_1 = true;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.viewMap;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_AddComponent_20(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 12, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 9, "div", [], [[2, "col-12", null], [2, "col-6", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 6, "div", [["class", "d-flex"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_21)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_22)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_23)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 1, "app-table-details", [], null, [[null, "onCheck"], [null, "onEdit"], [null, "onDelete"], [null, "onClickRow"], [null, "onRefuse"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onCheck" === en) {
          var pd_0 = _co.handleCheck($event) !== false;
          ad = pd_0 && ad;
        }

        if ("onEdit" === en) {
          var pd_1 = _co.handleClickEdit($event) !== false;
          ad = pd_1 && ad;
        }

        if ("onDelete" === en) {
          var pd_2 = _co.handleClickDelete($event) !== false;
          ad = pd_2 && ad;
        }

        if ("onClickRow" === en) {
          var pd_3 = _co.handleClickRow($event) !== false;
          ad = pd_3 && ad;
        }

        if ("onRefuse" === en) {
          var pd_4 = _co.handleClickAsk($event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, _shared_components_table_details_table_details_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["View_TableDetailsComponent_0"], _shared_components_table_details_table_details_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["RenderType_TableDetailsComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, null, 0, _shared_components_table_details_table_details_component__WEBPACK_IMPORTED_MODULE_13__["TableDetailsComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"]], {
        rows: [0, "rows"],
        display: [1, "display"],
        trangThai: [2, "trangThai"],
        maVT: [3, "maVT"],
        role: [4, "role"],
        columns: [5, "columns"]
      }, {
        onEdit: "onEdit",
        onDelete: "onDelete",
        onClickRow: "onClickRow",
        onCheck: "onCheck",
        onRefuse: "onRefuse"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_24)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.flag !== _co.Flag.View;

        _ck(_v, 4, 0, currVal_2);

        var currVal_3 = _co.flag === _co.Flag.View;

        _ck(_v, 6, 0, currVal_3);

        var currVal_4 = _co.flag === _co.Flag.View;

        _ck(_v, 8, 0, currVal_4);

        var currVal_5 = _co.rowAll[_co.objectNameNavigated];
        var currVal_6 = _co.display;
        var currVal_7 = _co.trangThai;
        var currVal_8 = _co.maVT;
        var currVal_9 = _co.Roles;
        var currVal_10 = _co.colsTblDetail;

        _ck(_v, 10, 0, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10);

        var currVal_11 = _co.viewMap;

        _ck(_v, 12, 0, currVal_11);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.viewMap;
        var currVal_1 = _co.viewMap;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      });
    }

    function View_AddComponent_19(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "li", [], [[2, "nav-item", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 2179072, [[2, 4]], 1, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNavItem"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], {
        _id: [0, "_id"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 4, {
        contentTpls: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 2, "a", [["href", ""], ["ngbNavLink", ""]], [[8, "id", 0], [2, "nav-link", null], [2, "nav-item", null], [1, "role", 0], [2, "active", null], [2, "disabled", null], [1, "tabindex", 0], [1, "aria-controls", 0], [1, "aria-selected", 0], [1, "aria-disabled", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).nav.click(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem);

          var pd_0 = $event.preventDefault() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, [[3, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNavLink"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](5, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 1, null, View_AddComponent_20)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 16384, [[4, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNavContent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null)], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.navItem;

        _ck(_v, 1, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_0 = true;

        _ck(_v, 0, 0, currVal_0);

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.domId;

        var currVal_3 = true;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).hasNavItemClass();

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).nav.roles ? "tab" : undefined;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.active;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.disabled;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.disabled ? 0 - 1 : undefined;
        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.isPanelInDom() ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.panelDomId : null;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.active;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).navItem.disabled;

        _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11);

        var currVal_12 = _v.context.$implicit.title;

        _ck(_v, 5, 0, currVal_12);
      });
    }

    function View_AddComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        map: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 42, "app-modal-template", [["title", "H\u1ED3 s\u01A1"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_14__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_14__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_15__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"]], {
        title: [0, "title"],
        loading: [1, "loading"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, 0, 8, "div", [["header", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, 1, 30, "div", [["body", ""], ["class", "body"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 5, "div", [["class", "horizontal-bar"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 2, "div", [["class", "horizontal-bar__title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 1, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Th\xF4ng tin chung"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 1, "div", [], [[8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](19, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](20, 0, null, null, 10, "div", [["class", "form-file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](21, 0, null, null, 9, "div", [["class", "row w-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"]], {
        ngTemplateOutlet: [0, "ngTemplateOutlet"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["editInfo", 2]], null, 0, null, View_AddComponent_6)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["addInfo", 2]], null, 0, null, View_AddComponent_7)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["viewInfo", 2]], null, 0, null, View_AddComponent_8)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](28, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_16)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](30, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](31, 0, null, null, 3, "div", [["class", "horizontal-bar"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](32, 0, null, null, 2, "div", [["class", "horizontal-bar__title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](33, 0, null, null, 1, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Chi ti\u1EBFt"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](35, 0, null, null, 8, "div", [["class", "detail"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](36, 0, null, null, 5, "ul", [["class", "nav-tabs"], ["ngbNav", ""]], [[2, "nav", null], [2, "flex-column", null], [1, "aria-orientation", 0], [1, "role", 0]], [[null, "navChange"], [null, "keydown.arrowLeft"], [null, "keydown.arrowRight"], [null, "keydown.arrowDown"], [null, "keydown.arrowUp"], [null, "keydown.Home"], [null, "keydown.End"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("keydown.arrowLeft" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("keydown.arrowRight" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onKeyDown($event) !== false;
          ad = pd_1 && ad;
        }

        if ("keydown.arrowDown" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onKeyDown($event) !== false;
          ad = pd_2 && ad;
        }

        if ("keydown.arrowUp" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onKeyDown($event) !== false;
          ad = pd_3 && ad;
        }

        if ("keydown.Home" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onKeyDown($event) !== false;
          ad = pd_4 && ad;
        }

        if ("keydown.End" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).onKeyDown($event) !== false;
          ad = pd_5 && ad;
        }

        if ("navChange" === en) {
          var pd_6 = _co.onChangeNav($event) !== false;
          ad = pd_6 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](37, 1064960, [["nav", 4]], 2, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNav"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNavConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["DOCUMENT"]], {
        activeId: [0, "activeId"]
      }, {
        navChange: "navChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        items: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 3, {
        links: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AddComponent_19)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](41, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](42, 0, null, null, 1, "div", [["class", "mt-2 h-100"]], [[2, "tab-content", null]], null, null, _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_16__["View_NgbNavOutlet_0"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_16__["RenderType_NgbNavOutlet"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](43, 49152, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbNavOutlet"], [], {
        nav: [0, "nav"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](44, 0, null, 2, 0, "div", [["footer", ""]], null, null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "H\u1ED3 s\u01A1";
        var currVal_1 = _co.loading;

        _ck(_v, 3, 0, currVal_0, currVal_1);

        var currVal_2 = _co.trangThai === 1;

        _ck(_v, 6, 0, currVal_2);

        var currVal_3 = !_co.display;

        _ck(_v, 8, 0, currVal_3);

        var currVal_4 = _co.maVT === _co.Roles.SOTTTT && _co.trangThai === 2;

        _ck(_v, 10, 0, currVal_4);

        var currVal_5 = _co.maVT === _co.Roles.SOTTTT && _co.trangThai === 2;

        _ck(_v, 12, 0, currVal_5);

        var currVal_8 = _co.flag === _co.Flag.Add ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25) : _co.flag === _co.Flag.Edit ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 24) : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 26);

        _ck(_v, 23, 0, currVal_8);

        var currVal_9 = _co.flag === _co.Flag.Edit || _co.flag === _co.Flag.View;

        _ck(_v, 28, 0, currVal_9);

        var currVal_10 = _co.trangThai > 1;

        _ck(_v, 30, 0, currVal_10);

        var currVal_15 = _co.activeId;

        _ck(_v, 37, 0, currVal_15);

        var currVal_16 = _co.navs;

        _ck(_v, 41, 0, currVal_16);

        var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37);

        _ck(_v, 43, 0, currVal_18);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_6 = "horizontal-bar__status text-" + _co.tinhTrangHoSo.color;

        _ck(_v, 18, 0, currVal_6);

        var currVal_7 = _co.tinhTrangHoSo.title;

        _ck(_v, 19, 0, currVal_7);

        var currVal_11 = true;
        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).orientation === "vertical";
        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).orientation === "vertical" && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).roles === "tablist" ? "vertical" : undefined;
        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 37).roles ? "tablist" : undefined;

        _ck(_v, 36, 0, currVal_11, currVal_12, currVal_13, currVal_14);

        var currVal_17 = true;

        _ck(_v, 42, 0, currVal_17);
      });
    }

    function View_AddComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-add", [], null, null, null, View_AddComponent_0, RenderType_AddComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _add_component__WEBPACK_IMPORTED_MODULE_17__["AddComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_18__["ApiService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_19__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_6__["DatePipe"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_20__["TramBtsService"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_21__["DiemDichVuService"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_22__["TuyenCapNgamService"], _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_23__["TuyenCapNoiService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_24__["LayerService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var AddComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-add", _add_component__WEBPACK_IMPORTED_MODULE_17__["AddComponent"], View_AddComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/add.component.scss.shim.ngstyle.js":
  /*!**********************************************************************!*\
    !*** ./src/app/manager/ho-so/add/add.component.scss.shim.ngstyle.js ***!
    \**********************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddAddComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".horizontal-bar[_ngcontent-%COMP%] {\n  height: 32px;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  border-bottom: 1px solid lightseagreen;\n}\n.horizontal-bar__title[_ngcontent-%COMP%] {\n  height: 100%;\n  width: 135px;\n  background-color: lightseagreen;\n}\n.horizontal-bar__title[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%] {\n  background-color: lightseagreen;\n  display: block;\n  height: 100%;\n  line-height: 30px;\n  text-align: center;\n  font-size: 16px;\n  font-weight: 400;\n  color: #fff;\n  margin: 0;\n  position: relative;\n}\n.horizontal-bar__title[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]:before {\n  content: \"\";\n  position: absolute;\n  height: 0;\n  width: 0;\n  left: 100%;\n  border: 16px solid lightseagreen;\n  border-top-color: transparent;\n  border-right-color: transparent;\n}\n.horizontal-bar__status[_ngcontent-%COMP%] {\n  height: 100%;\n  width: auto;\n  padding: 8px;\n  text-transform: uppercase;\n  font-weight: 500;\n}\n.button[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: flex-end;\n  margin: 5px;\n}\n.form[_ngcontent-%COMP%] {\n  display: flex;\n}\n.btn-add[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: flex-end;\n  margin: 5px;\n}\n.save[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: flex-end;\n}\n.table[_ngcontent-%COMP%]  .add {\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 10px;\n}\n.table[_ngcontent-%COMP%]  .card-header {\n  background: linear-gradient(90deg, #0047bd 0%, #00087d 52%, #0047bd 82%, #00087d 100%);\n  color: white;\n}\n.table[_ngcontent-%COMP%]  .card-header th {\n  font-size: 13px;\n}\n.table[_ngcontent-%COMP%]  .card-body {\n  padding: 0px;\n}\n.table[_ngcontent-%COMP%]  .card-body tbody td:not(:last-child) {\n  font-size: 14px;\n  font-weight: 400;\n  padding: 9px 2px 2px 4px;\n}\n.table[_ngcontent-%COMP%]  .card-body tbody tr td a {\n  cursor: pointer;\n  display: inline-block;\n  margin: 0 5px;\n  min-width: 24px;\n}\n.form-file[_ngcontent-%COMP%] {\n  padding: 16px 0;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%] {\n  display: flex;\n  flex-direction: column;\n}\n.form-file[_ngcontent-%COMP%]   .attach-file[_ngcontent-%COMP%] {\n  position: relative;\n  overflow: hidden;\n  display: inline-block;\n}\n.form-file[_ngcontent-%COMP%]   .attach-file[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  font-size: 4px;\n  height: 25px;\n  position: absolute;\n  left: 0;\n  top: 0;\n  opacity: 0;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%] {\n  height: 90px;\n  padding: 4px;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  font-size: 15px;\n  font-weight: 400;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%] {\n  padding: 3px 14px;\n  position: relative;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:hover {\n  background-color: aliceblue;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]:hover   .btn-del[_ngcontent-%COMP%] {\n  display: block;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n  font-size: 21px;\n  color: red;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%] {\n  white-space: normal;\n  font-size: 14px;\n  width: inherit;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.form-file[_ngcontent-%COMP%]   .attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .btn-del[_ngcontent-%COMP%] {\n  position: absolute;\n  top: calc(50% - 9px);\n  right: 15px;\n  font-weight: 600;\n  height: 14px;\n  line-height: 14px;\n  color: red;\n  font-size: 18px;\n  text-align: center;\n  text-decoration: none;\n  border-radius: 50%;\n  display: none;\n}\n.detail[_ngcontent-%COMP%] {\n  padding: 16px 0;\n  height: 50%;\n}\nfieldset.scheduler-border[_ngcontent-%COMP%] {\n  border: 1px groove #00000012 !important;\n  padding: 0 0.75em 0.75em 0.75em !important;\n  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n  height: 180px !important;\n}\nlegend.scheduler-border[_ngcontent-%COMP%] {\n  font-size: 1em !important;\n  font-weight: 500 !important;\n  text-align: left !important;\n  width: auto;\n  padding: 0 10px;\n  border-bottom: none;\n}\n[_nghost-%COMP%]     .ps-content {\n  height: 100%;\n}\n[_nghost-%COMP%]     .ps-content .body {\n  height: 100%;\n}\n[_nghost-%COMP%]     .ps-content .body .tab-pane.active {\n  height: 100%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXGhvLXNvXFxhZGRcXGFkZC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvYWRkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksWUFBQTtFQUNBLGFBQUE7RUFDQSw4QkFBQTtFQUNBLG1CQUFBO0VBQ0Esc0NBQUE7QUNDSjtBREFJO0VBQ0ksWUFBQTtFQUNBLFlBQUE7RUFDQSwrQkFBQTtBQ0VSO0FERFE7RUFDSSwrQkFBQTtFQUNBLGNBQUE7RUFDQSxZQUFBO0VBQ0EsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLGVBQUE7RUFDQSxnQkFBQTtFQUNBLFdBQUE7RUFDQSxTQUFBO0VBQ0Esa0JBQUE7QUNHWjtBREZZO0VBQ0ksV0FBQTtFQUNBLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFFBQUE7RUFDQSxVQUFBO0VBQ0EsZ0NBQUE7RUFDQSw2QkFBQTtFQUNBLCtCQUFBO0FDSWhCO0FEQ0k7RUFDSSxZQUFBO0VBQ0EsV0FBQTtFQUNBLFlBQUE7RUFDQSx5QkFBQTtFQUNBLGdCQUFBO0FDQ1I7QUQ4QkE7RUFDSSxhQUFBO0VBQ0EseUJBQUE7RUFDQSxXQUFBO0FDM0JKO0FEOEJBO0VBQ0ksYUFBQTtBQzNCSjtBRDhCQTtFQUNJLGFBQUE7RUFDQSx5QkFBQTtFQUNBLFdBQUE7QUMzQko7QUQ4QkE7RUFDSSxhQUFBO0VBQ0EseUJBQUE7QUMzQko7QURpQ0k7RUFDSSxhQUFBO0VBQ0EsOEJBQUE7RUFDQSxtQkFBQTtBQzlCUjtBRGlDSTtFQUNJLHNGQUFBO0VBQ0EsWUFBQTtBQy9CUjtBRGlDUTtFQUNJLGVBQUE7QUMvQlo7QURtQ0k7RUFDSSxZQUFBO0FDakNSO0FEcUNnQjtFQUNJLGVBQUE7RUFDQSxnQkFBQTtFQUNBLHdCQUFBO0FDbkNwQjtBRHVDWTtFQUNJLGVBQUE7RUFDQSxxQkFBQTtFQUNBLGFBQUE7RUFDQSxlQUFBO0FDckNoQjtBRDJDQTtFQUNJLGVBQUE7QUN4Q0o7QUR5Q0k7RUFFSSxhQUFBO0VBQ0Esc0JBQUE7QUN4Q1I7QUR5Q1E7RUFDSSxrQkFBQTtFQUNBLGdCQUFBO0VBQ0EscUJBQUE7QUN2Q1o7QUR3Q1k7RUFDSSxjQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsT0FBQTtFQUNBLE1BQUE7RUFDQSxVQUFBO0FDdENoQjtBRHlDUTtFQUNJLFlBQUE7RUFDQSxZQUFBO0FDdkNaO0FEd0NZO0VBQ0ksZUFBQTtFQUNBLGdCQUFBO0FDdENoQjtBRHlDWTtFQUNJLGlCQUFBO0VBQ0Esa0JBQUE7QUN2Q2hCO0FEeUNnQjtFQUNJLDJCQUFBO0FDdkNwQjtBRHlDb0I7RUFDSSxjQUFBO0FDdkN4QjtBRDBDZ0I7RUFDSSxlQUFBO0VBQ0EsVUFBQTtBQ3hDcEI7QUQwQ2dCO0VBQ0kscUJBQUE7QUN4Q3BCO0FEMkNnQjtFQUNJLG1CQUFBO0VBQ0EsZUFBQTtFQUNBLGNBQUE7RUFDQSxtQkFBQTtFQUNBLGdCQUFBO0VBQ0EsdUJBQUE7QUN6Q3BCO0FENENnQjtFQUNJLGtCQUFBO0VBQ0Esb0JBQUE7RUFDQSxXQUFBO0VBQ0EsZ0JBQUE7RUFDQSxZQUFBO0VBQ0EsaUJBQUE7RUFDQSxVQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0VBQ0EscUJBQUE7RUFDQSxrQkFBQTtFQUNBLGFBQUE7QUMxQ3BCO0FEaURBO0VBQ0ksZUFBQTtFQUNBLFdBQUE7QUM5Q0o7QURpREE7RUFDSSx1Q0FBQTtFQUNBLDBDQUFBO0VBRVEsOERBQUE7RUFDUix3QkFBQTtBQzlDSjtBRGlESTtFQUNJLHlCQUFBO0VBQ0EsMkJBQUE7RUFDQSwyQkFBQTtFQUNBLFdBQUE7RUFDQSxlQUFBO0VBQ0EsbUJBQUE7QUM5Q1I7QURrRFE7RUFDSSxZQUFBO0FDL0NaO0FEZ0RZO0VBQ0ksWUFBQTtBQzlDaEI7QUQrQ2dCO0VBQ0ksWUFBQTtBQzdDcEIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL2hvLXNvL2FkZC9hZGQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaG9yaXpvbnRhbC1iYXIge1xyXG4gICAgaGVpZ2h0OiAzMnB4O1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcclxuICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7XHJcbiAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgbGlnaHRzZWFncmVlbjtcclxuICAgICZfX3RpdGxlIHtcclxuICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgd2lkdGg6IDEzNXB4O1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IGxpZ2h0c2VhZ3JlZW47XHJcbiAgICAgICAgaDYge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBsaWdodHNlYWdyZWVuO1xyXG4gICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMzBweDtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDE2cHg7XHJcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA0MDA7XHJcbiAgICAgICAgICAgIGNvbG9yOiAjZmZmO1xyXG4gICAgICAgICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICAgICAgICAgJjpiZWZvcmUge1xyXG4gICAgICAgICAgICAgICAgY29udGVudDogXCJcIjtcclxuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMDtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiAwO1xyXG4gICAgICAgICAgICAgICAgbGVmdDogMTAwJTtcclxuICAgICAgICAgICAgICAgIGJvcmRlcjogMTZweCBzb2xpZCBsaWdodHNlYWdyZWVuO1xyXG4gICAgICAgICAgICAgICAgYm9yZGVyLXRvcC1jb2xvcjogdHJhbnNwYXJlbnQ7XHJcbiAgICAgICAgICAgICAgICBib3JkZXItcmlnaHQtY29sb3I6IHRyYW5zcGFyZW50O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG5cclxuICAgIH1cclxuICAgICZfX3N0YXR1cyB7XHJcbiAgICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICAgIHdpZHRoOiBhdXRvO1xyXG4gICAgICAgIHBhZGRpbmc6IDhweDtcclxuICAgICAgICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiA1MDA7XHJcbiAgICAgICAgLy8gYmFja2dyb3VuZC1jb2xvcjogcmVkO1xyXG4gICAgICAgIC8vIGg1IHtcclxuICAgICAgICAvLyAgICAgYmFja2dyb3VuZC1jb2xvcjogcmVkO1xyXG4gICAgICAgIC8vICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAvLyAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICAgIC8vICAgICBsaW5lLWhlaWdodDogMzBweDtcclxuICAgICAgICAvLyAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgIC8vICAgICBmb250LXNpemU6IDE1cHg7XHJcbiAgICAgICAgLy8gICAgIGZvbnQtd2VpZ2h0OiA0MDA7XHJcbiAgICAgICAgLy8gICAgIGNvbG9yOiAjZmZmO1xyXG4gICAgICAgIC8vICAgICBtYXJnaW46IDA7XHJcbiAgICAgICAgLy8gICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICAgICAvLyAgICAgcGFkZGluZzogMCAyMHB4O1xyXG4gICAgICAgIC8vICAgICAmOmJlZm9yZSB7XHJcbiAgICAgICAgLy8gICAgICAgICBjb250ZW50OiBcIlwiO1xyXG4gICAgICAgIC8vICAgICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICAgIC8vICAgICAgICAgaGVpZ2h0OiAwO1xyXG4gICAgICAgIC8vICAgICAgICAgd2lkdGg6IDA7XHJcbiAgICAgICAgLy8gICAgICAgICByaWdodDogMTAwJTtcclxuICAgICAgICAvLyAgICAgICAgIGJvcmRlcjogMTVweCBzb2xpZCByZWQ7XHJcbiAgICAgICAgLy8gICAgICAgICBib3JkZXItdG9wLWNvbG9yOiB0cmFuc3BhcmVudDtcclxuICAgICAgICAvLyAgICAgICAgIGJvcmRlci1sZWZ0LWNvbG9yOiB0cmFuc3BhcmVudDtcclxuICAgICAgICAvLyAgICAgICAgIGJvcmRlci1ib3R0b20tY29sb3I6IHRyYW5zcGFyZW50O1xyXG4gICAgICAgIC8vICAgICB9XHJcbiAgICAgICAgLy8gfVxyXG4gICAgICAgIFxyXG4gICAgfVxyXG59XHJcblxyXG5cclxuLmJ1dHRvbiB7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcclxuICAgIG1hcmdpbjogNXB4O1xyXG59XHJcblxyXG4uZm9ybSB7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG59XHJcblxyXG4uYnRuLWFkZCB7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcclxuICAgIG1hcmdpbjogNXB4O1xyXG59XHJcblxyXG4uc2F2ZSB7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcclxufVxyXG5cclxuXHJcblxyXG4udGFibGU6Om5nLWRlZXAge1xyXG4gICAgLmFkZCB7XHJcbiAgICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XHJcbiAgICAgICAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxuICAgIH1cclxuXHJcbiAgICAuY2FyZC1oZWFkZXIge1xyXG4gICAgICAgIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCg5MGRlZywgIzAwNDdiZCAwJSwgIzAwMDg3ZCA1MiUsICMwMDQ3YmQgODIlLCAjMDAwODdkIDEwMCUpO1xyXG4gICAgICAgIGNvbG9yOiB3aGl0ZTtcclxuXHJcbiAgICAgICAgdGgge1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDEzcHg7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5cclxuICAgIC5jYXJkLWJvZHkge1xyXG4gICAgICAgIHBhZGRpbmc6IDBweDtcclxuXHJcbiAgICAgICAgdGJvZHkge1xyXG4gICAgICAgICAgICB0ZCB7XHJcbiAgICAgICAgICAgICAgICAmOm5vdCg6bGFzdC1jaGlsZCkge1xyXG4gICAgICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXdlaWdodDogNDAwO1xyXG4gICAgICAgICAgICAgICAgICAgIHBhZGRpbmc6IDlweCAycHggMnB4IDRweDtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgdHIgdGQgYSB7XHJcbiAgICAgICAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICAgICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW46IDAgNXB4O1xyXG4gICAgICAgICAgICAgICAgbWluLXdpZHRoOiAyNHB4O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcblxyXG4uZm9ybS1maWxlIHtcclxuICAgIHBhZGRpbmc6IDE2cHggMDtcclxuICAgIC5hdHRhY2gge1xyXG4gICAgICAgIC8vIG1hcmdpbi1sZWZ0OiA2MHB4O1xyXG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcclxuICAgICAgICAmLWZpbGUge1xyXG4gICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICAgICAgICAgIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAgICAgaW5wdXQge1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiA0cHg7XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDI1cHg7XHJcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICBsZWZ0OiAwO1xyXG4gICAgICAgICAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgICAgICAgICAgb3BhY2l0eTogMDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgICAgICAubGlzdC1maWxlcyB7XHJcbiAgICAgICAgICAgIGhlaWdodDogOTBweDtcclxuICAgICAgICAgICAgcGFkZGluZzogNHB4O1xyXG4gICAgICAgICAgICBwIHtcclxuICAgICAgICAgICAgICAgIGZvbnQtc2l6ZTogMTVweDtcclxuICAgICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiA0MDA7XHJcbiAgICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICAgIC5maWxlIHtcclxuICAgICAgICAgICAgICAgIHBhZGRpbmc6IDNweCAxNHB4O1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG5cclxuICAgICAgICAgICAgICAgICY6aG92ZXIge1xyXG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IGFsaWNlYmx1ZTtcclxuXHJcbiAgICAgICAgICAgICAgICAgICAgLmJ0bi1kZWwge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBpIHtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDIxcHg7IFxyXG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiByZWQ7ICAgXHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICBhIHtcclxuICAgICAgICAgICAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICAgICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAgICAgLmZpbGUtbmFtZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGluaGVyaXQ7XHJcbiAgICAgICAgICAgICAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcclxuICAgICAgICAgICAgICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICAgICAgfVxyXG5cclxuICAgICAgICAgICAgICAgIC5idG4tZGVsIHtcclxuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICAgICAgdG9wOiBjYWxjKDUwJSAtIDlweCk7XHJcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQ6IDE1cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcclxuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDE0cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDE0cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHJlZDtcclxuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICAgICAgICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgICAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgICAgICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgICAgICAgICAgICAgICAgICAgZGlzcGxheTogbm9uZTtcclxuICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG5cclxuLmRldGFpbCB7XHJcbiAgICBwYWRkaW5nOiAxNnB4IDA7XHJcbiAgICBoZWlnaHQ6IDUwJTtcclxufVxyXG5cclxuZmllbGRzZXQuc2NoZWR1bGVyLWJvcmRlciB7XHJcbiAgICBib3JkZXI6IDFweCBncm9vdmUgIzAwMDAwMDEyICFpbXBvcnRhbnQ7XHJcbiAgICBwYWRkaW5nOiAwIDAuNzVlbSAwLjc1ZW0gMC43NWVtICFpbXBvcnRhbnQ7XHJcbiAgICAtd2Via2l0LWJveC1zaGFkb3c6ICAwIDAuMTI1cmVtIDAuMjVyZW0gcmdiYSgwLCAwLCAwLCAwLjA3NSkgIWltcG9ydGFudDtcclxuICAgICAgICAgICAgYm94LXNoYWRvdzogIDAgMC4xMjVyZW0gMC4yNXJlbSByZ2JhKDAsIDAsIDAsIDAuMDc1KSAhaW1wb3J0YW50O1xyXG4gICAgaGVpZ2h0OiAxODBweCAhaW1wb3J0YW50O1xyXG59XHJcblxyXG4gICAgbGVnZW5kLnNjaGVkdWxlci1ib3JkZXIge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMWVtICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgZm9udC13ZWlnaHQ6IDUwMCAhaW1wb3J0YW50O1xyXG4gICAgICAgIHRleHQtYWxpZ246IGxlZnQgIWltcG9ydGFudDtcclxuICAgICAgICB3aWR0aDphdXRvO1xyXG4gICAgICAgIHBhZGRpbmc6MCAxMHB4O1xyXG4gICAgICAgIGJvcmRlci1ib3R0b206bm9uZTtcclxuICAgIH1cclxuXHJcbiAgICA6aG9zdCA6Om5nLWRlZXAge1xyXG4gICAgICAgIC5wcy1jb250ZW50IHtcclxuICAgICAgICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICAgICAgICAuYm9keSB7XHJcbiAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICAudGFiLXBhbmUuYWN0aXZlIHtcclxuICAgICAgICAgICAgICAgICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICB9IiwiLmhvcml6b250YWwtYmFyIHtcbiAgaGVpZ2h0OiAzMnB4O1xuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCBsaWdodHNlYWdyZWVuO1xufVxuLmhvcml6b250YWwtYmFyX190aXRsZSB7XG4gIGhlaWdodDogMTAwJTtcbiAgd2lkdGg6IDEzNXB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiBsaWdodHNlYWdyZWVuO1xufVxuLmhvcml6b250YWwtYmFyX190aXRsZSBoNiB7XG4gIGJhY2tncm91bmQtY29sb3I6IGxpZ2h0c2VhZ3JlZW47XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBoZWlnaHQ6IDEwMCU7XG4gIGxpbmUtaGVpZ2h0OiAzMHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIGZvbnQtc2l6ZTogMTZweDtcbiAgZm9udC13ZWlnaHQ6IDQwMDtcbiAgY29sb3I6ICNmZmY7XG4gIG1hcmdpbjogMDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuLmhvcml6b250YWwtYmFyX190aXRsZSBoNjpiZWZvcmUge1xuICBjb250ZW50OiBcIlwiO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGhlaWdodDogMDtcbiAgd2lkdGg6IDA7XG4gIGxlZnQ6IDEwMCU7XG4gIGJvcmRlcjogMTZweCBzb2xpZCBsaWdodHNlYWdyZWVuO1xuICBib3JkZXItdG9wLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgYm9yZGVyLXJpZ2h0LWNvbG9yOiB0cmFuc3BhcmVudDtcbn1cbi5ob3Jpem9udGFsLWJhcl9fc3RhdHVzIHtcbiAgaGVpZ2h0OiAxMDAlO1xuICB3aWR0aDogYXV0bztcbiAgcGFkZGluZzogOHB4O1xuICB0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xuICBmb250LXdlaWdodDogNTAwO1xufVxuXG4uYnV0dG9uIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbiAgbWFyZ2luOiA1cHg7XG59XG5cbi5mb3JtIHtcbiAgZGlzcGxheTogZmxleDtcbn1cblxuLmJ0bi1hZGQge1xuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xuICBtYXJnaW46IDVweDtcbn1cblxuLnNhdmUge1xuICBkaXNwbGF5OiBmbGV4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xufVxuXG4udGFibGU6Om5nLWRlZXAgLmFkZCB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcbn1cbi50YWJsZTo6bmctZGVlcCAuY2FyZC1oZWFkZXIge1xuICBiYWNrZ3JvdW5kOiBsaW5lYXItZ3JhZGllbnQoOTBkZWcsICMwMDQ3YmQgMCUsICMwMDA4N2QgNTIlLCAjMDA0N2JkIDgyJSwgIzAwMDg3ZCAxMDAlKTtcbiAgY29sb3I6IHdoaXRlO1xufVxuLnRhYmxlOjpuZy1kZWVwIC5jYXJkLWhlYWRlciB0aCB7XG4gIGZvbnQtc2l6ZTogMTNweDtcbn1cbi50YWJsZTo6bmctZGVlcCAuY2FyZC1ib2R5IHtcbiAgcGFkZGluZzogMHB4O1xufVxuLnRhYmxlOjpuZy1kZWVwIC5jYXJkLWJvZHkgdGJvZHkgdGQ6bm90KDpsYXN0LWNoaWxkKSB7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgZm9udC13ZWlnaHQ6IDQwMDtcbiAgcGFkZGluZzogOXB4IDJweCAycHggNHB4O1xufVxuLnRhYmxlOjpuZy1kZWVwIC5jYXJkLWJvZHkgdGJvZHkgdHIgdGQgYSB7XG4gIGN1cnNvcjogcG9pbnRlcjtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBtYXJnaW46IDAgNXB4O1xuICBtaW4td2lkdGg6IDI0cHg7XG59XG5cbi5mb3JtLWZpbGUge1xuICBwYWRkaW5nOiAxNnB4IDA7XG59XG4uZm9ybS1maWxlIC5hdHRhY2gge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xufVxuLmZvcm0tZmlsZSAuYXR0YWNoLWZpbGUge1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cbi5mb3JtLWZpbGUgLmF0dGFjaC1maWxlIGlucHV0IHtcbiAgZm9udC1zaXplOiA0cHg7XG4gIGhlaWdodDogMjVweDtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICBsZWZ0OiAwO1xuICB0b3A6IDA7XG4gIG9wYWNpdHk6IDA7XG59XG4uZm9ybS1maWxlIC5hdHRhY2ggLmxpc3QtZmlsZXMge1xuICBoZWlnaHQ6IDkwcHg7XG4gIHBhZGRpbmc6IDRweDtcbn1cbi5mb3JtLWZpbGUgLmF0dGFjaCAubGlzdC1maWxlcyBwIHtcbiAgZm9udC1zaXplOiAxNXB4O1xuICBmb250LXdlaWdodDogNDAwO1xufVxuLmZvcm0tZmlsZSAuYXR0YWNoIC5saXN0LWZpbGVzIC5maWxlIHtcbiAgcGFkZGluZzogM3B4IDE0cHg7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn1cbi5mb3JtLWZpbGUgLmF0dGFjaCAubGlzdC1maWxlcyAuZmlsZTpob3ZlciB7XG4gIGJhY2tncm91bmQtY29sb3I6IGFsaWNlYmx1ZTtcbn1cbi5mb3JtLWZpbGUgLmF0dGFjaCAubGlzdC1maWxlcyAuZmlsZTpob3ZlciAuYnRuLWRlbCB7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuLmZvcm0tZmlsZSAuYXR0YWNoIC5saXN0LWZpbGVzIC5maWxlIGkge1xuICBmb250LXNpemU6IDIxcHg7XG4gIGNvbG9yOiByZWQ7XG59XG4uZm9ybS1maWxlIC5hdHRhY2ggLmxpc3QtZmlsZXMgLmZpbGUgYSB7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbn1cbi5mb3JtLWZpbGUgLmF0dGFjaCAubGlzdC1maWxlcyAuZmlsZSAuZmlsZS1uYW1lIHtcbiAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgZm9udC1zaXplOiAxNHB4O1xuICB3aWR0aDogaW5oZXJpdDtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG59XG4uZm9ybS1maWxlIC5hdHRhY2ggLmxpc3QtZmlsZXMgLmZpbGUgLmJ0bi1kZWwge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogY2FsYyg1MCUgLSA5cHgpO1xuICByaWdodDogMTVweDtcbiAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgaGVpZ2h0OiAxNHB4O1xuICBsaW5lLWhlaWdodDogMTRweDtcbiAgY29sb3I6IHJlZDtcbiAgZm9udC1zaXplOiAxOHB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgYm9yZGVyLXJhZGl1czogNTAlO1xuICBkaXNwbGF5OiBub25lO1xufVxuXG4uZGV0YWlsIHtcbiAgcGFkZGluZzogMTZweCAwO1xuICBoZWlnaHQ6IDUwJTtcbn1cblxuZmllbGRzZXQuc2NoZWR1bGVyLWJvcmRlciB7XG4gIGJvcmRlcjogMXB4IGdyb292ZSAjMDAwMDAwMTIgIWltcG9ydGFudDtcbiAgcGFkZGluZzogMCAwLjc1ZW0gMC43NWVtIDAuNzVlbSAhaW1wb3J0YW50O1xuICAtd2Via2l0LWJveC1zaGFkb3c6IDAgMC4xMjVyZW0gMC4yNXJlbSByZ2JhKDAsIDAsIDAsIDAuMDc1KSAhaW1wb3J0YW50O1xuICBib3gtc2hhZG93OiAwIDAuMTI1cmVtIDAuMjVyZW0gcmdiYSgwLCAwLCAwLCAwLjA3NSkgIWltcG9ydGFudDtcbiAgaGVpZ2h0OiAxODBweCAhaW1wb3J0YW50O1xufVxuXG5sZWdlbmQuc2NoZWR1bGVyLWJvcmRlciB7XG4gIGZvbnQtc2l6ZTogMWVtICFpbXBvcnRhbnQ7XG4gIGZvbnQtd2VpZ2h0OiA1MDAgIWltcG9ydGFudDtcbiAgdGV4dC1hbGlnbjogbGVmdCAhaW1wb3J0YW50O1xuICB3aWR0aDogYXV0bztcbiAgcGFkZGluZzogMCAxMHB4O1xuICBib3JkZXItYm90dG9tOiBub25lO1xufVxuXG46aG9zdCA6Om5nLWRlZXAgLnBzLWNvbnRlbnQge1xuICBoZWlnaHQ6IDEwMCU7XG59XG46aG9zdCA6Om5nLWRlZXAgLnBzLWNvbnRlbnQgLmJvZHkge1xuICBoZWlnaHQ6IDEwMCU7XG59XG46aG9zdCA6Om5nLWRlZXAgLnBzLWNvbnRlbnQgLmJvZHkgLnRhYi1wYW5lLmFjdGl2ZSB7XG4gIGhlaWdodDogMTAwJTtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/add.component.ts":
  /*!****************************************************!*\
    !*** ./src/app/manager/ho-so/add/add.component.ts ***!
    \****************************************************/

  /*! exports provided: Flag, AddComponent */

  /***/
  function srcAppManagerHoSoAddAddComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Flag", function () {
      return Flag;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponent", function () {
      return AddComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _modal_view_pdf_modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../modal-view-pdf/modal-view-pdf.component */
    "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ts");
    /* harmony import */


    var _modal_add_trambts_modal_add_trambts_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./modal-add-trambts/modal-add-trambts.component */
    "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ts");
    /* harmony import */


    var _modal_add_tcngam_modal_add_tcngam_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./modal-add-tcngam/modal-add-tcngam.component */
    "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ts");
    /* harmony import */


    var _modal_add_tcnoi_modal_add_tcnoi_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./modal-add-tcnoi/modal-add-tcnoi.component */
    "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ts");
    /* harmony import */


    var _modal_add_diemdv_modal_add_diemdv_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./modal-add-diemdv/modal-add-diemdv.component */
    "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ts");
    /* harmony import */


    var _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/models/ho-so.model */
    "./src/app/manager/shared/models/ho-so.model.ts");
    /* harmony import */


    var _modal_edit_modal_edit_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./modal-edit/modal-edit.component */
    "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ts");
    /* harmony import */


    var _modal_ly_do_modal_ly_do_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./modal-ly-do/modal-ly-do.component */
    "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ts");
    /* harmony import */


    var src_environments_environment__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! src/environments/environment */
    "./src/environments/environment.ts");
    /* harmony import */


    var _phe_duyet_modal_file_pdf_modal_file_pdf_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../phe-duyet/modal-file-pdf/modal-file-pdf.component */
    "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ts");
    /* harmony import */


    var src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! src/app/shared/components/modal-confirm/modal-confirm.component */
    "./src/app/shared/components/modal-confirm/modal-confirm.component.ts");
    /* harmony import */


    var _modal_rename_modal_rename_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./modal-rename/modal-rename.component */
    "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ts");
    /* harmony import */


    var _modal_approved_modal_approved_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./modal-approved/modal-approved.component */
    "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ts");
    /* harmony import */


    var src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! src/app/shared/models/login.model */
    "./src/app/shared/models/login.model.ts");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_15__);
    /* harmony import */


    var esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! esri/geometry/Circle */
    "./node_modules/arcgis-js-api/geometry/Circle.js");
    /* harmony import */


    var esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_16__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_17__);
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! esri/symbols */
    "./node_modules/arcgis-js-api/symbols.js");
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(esri_symbols__WEBPACK_IMPORTED_MODULE_18__);

    var Flag;

    (function (Flag) {
      Flag[Flag["Add"] = 0] = "Add";
      Flag[Flag["Edit"] = 1] = "Edit";
      Flag[Flag["View"] = 2] = "View";
    })(Flag || (Flag = {}));

    var Type;

    (function (Type) {
      Type[Type["TramBts"] = 1] = "TramBts";
      Type[Type["TuyenCapNgam"] = 2] = "TuyenCapNgam";
      Type[Type["TuyenCapNoi"] = 3] = "TuyenCapNoi";
      Type[Type["DiemDichVu"] = 4] = "DiemDichVu";
    })(Type || (Type = {}));

    var colsTramBts = [{
      name: "Mã trạm",
      prop: "MaTram"
    }, {
      name: "Tên trạm",
      prop: "TenTram"
    }, {
      name: "Tọa độ X",
      prop: "ToaDoX"
    }, {
      name: "Tọa độ Y",
      prop: "ToaDoY"
    }];
    var colsTuyenCap = [{
      name: "Mã tuyến",
      prop: "MaTuyen"
    }, {
      name: "Tên tuyến",
      prop: "TenTuyen"
    }, {
      name: "Điểm đầu",
      prop: "DiemDau"
    }, {
      name: "Điểm cuối",
      prop: "DiemCuoi"
    }];
    var colsDiemDichVu = [{
      name: "Số hiệu",
      prop: "SoHieu"
    }, {
      name: "Tên",
      prop: "TenDiem"
    }, {
      name: "Tọa độ X",
      prop: "ToaDoX"
    }, {
      name: "Tọa độ Y",
      prop: "ToaDoY"
    }];

    var AddComponent = /*#__PURE__*/function () {
      function AddComponent(modalService, modal, apiService, loginService, toastService, datePipe, tramBtsService, diemDichVuService, tuyenCapNgamService, tuyenCapNoiService, layerService) {
        _classCallCheck(this, AddComponent);

        this.modalService = modalService;
        this.modal = modal;
        this.apiService = apiService;
        this.loginService = loginService;
        this.toastService = toastService;
        this.datePipe = datePipe;
        this.tramBtsService = tramBtsService;
        this.diemDichVuService = diemDichVuService;
        this.tuyenCapNgamService = tuyenCapNgamService;
        this.tuyenCapNoiService = tuyenCapNoiService;
        this.layerService = layerService;
        this.Type = Type;
        this.activeId = Type.TramBts;
        this.display = false;
        this.rows = [];
        this.rowAll = {
          tramBts: [],
          diemDichVu: [],
          tuyenCapNgam: [],
          tuyenCapNoi: []
        };
        this.Roles = src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_14__["Roles"];
        this.arrayFiles = [];
        this.rowDelete = {
          tramBts: [],
          diemDichVu: [],
          tuyenCapNgam: [],
          tuyenCapNoi: []
        };
        this.rowAdd = {
          tramBts: [],
          diemDichVu: [],
          tuyenCapNgam: [],
          tuyenCapNoi: []
        };
        this.rowUpdate = {
          tramBts: [],
          diemDichVu: [],
          tuyenCapNgam: [],
          tuyenCapNoi: []
        };
        this.loading = false;
        this.viewMap = false;
        this.Flag = Flag;
        this.EventModal = src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_11__["EventModal"]; // nav

        this.navs = [{
          title: 'Trạm BTS',
          navItem: Type.TramBts
        }, {
          title: 'Tuyến cáp ngầm',
          navItem: Type.TuyenCapNgam
        }, {
          title: 'Tuyến cáp nổi',
          navItem: Type.TuyenCapNoi
        }, {
          title: 'Điểm dịch vụ',
          navItem: Type.DiemDichVu
        }];
      }

      _createClass(AddComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this137 = this;

          this.colsTblDetail = colsTramBts;
          this.objectNameNavigated = 'tramBts';
          this.layerProperties = this.layerService.tramBtsLayer;
          this.maVT = this.loginService.taiKhoan.MaVaiTro;

          if (this.maVT === this.Roles.DN) {
            this.tenDoanhNghiep = this.loginService.taiKhoan.TenDonVi;
          }

          if (this.maVT === this.Roles.SOTTTT) {
            this.display = true;
          }

          this.thoiGianTao = this.datePipe.transform(new Date(), 'yyyy-MM-dd');
          this.thoiGianGui = this.datePipe.transform(new Date(), 'yyyy-MM-dd');
          this.thoiGianDuyet = this.datePipe.transform(new Date(), 'yyyy-MM-dd');

          if (this.row) {
            this.idHoSo = this.row.ID;
            this.tenDoanhNghiep = this.row.TenDonVi;

            if (this.flag === Flag.View) {
              this.display = true;
            }

            this.trangThai = this.row.TrangThai;
            this.apiService.get("odata/HoSoes(guid'".concat(this.row.ID, "')")).then(function (result) {
              return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this137, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
                return _regeneratorRuntime().wrap(function _callee4$(_context6) {
                  while (1) switch (_context6.prev = _context6.next) {
                    case 0:
                      this.soCongVan = result.SoCongVan;
                      this.tenHoSo = result.TenHoSo;
                      this.thoiGianTao = result.TGTao;
                      this.thoiGianGui = result.TGGuiHoSo;
                      this.thoiGianDuyet = result.TGDuyet;
                      this.content = result.NoiDungPhucDap;
                      this.reason = result.LyDo;

                    case 7:
                    case "end":
                      return _context6.stop();
                  }
                }, _callee4, this);
              }));
            });
            this.loadChiTietHoSo();
            this.getFileAttachment(this.idHoSo);
          }

          if (this.trangThai !== 0 && this.row) {
            this.getFileKySo();
          }
        }
      }, {
        key: "tinhTrangHoSo",
        get: function get() {
          switch (this.trangThai) {
            case _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__["TinhTrangHoSo"].HoSoBiTuChoi:
              return {
                color: 'danger',
                title: 'Hồ sơ bị từ chối'
              };

            case _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__["TinhTrangHoSo"].HoSoChoDuyet:
              return {
                color: 'warning',
                title: 'Hồ sơ chờ duyệt'
              };

            case _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__["TinhTrangHoSo"].HoSoChuaKySo:
              return {
                color: 'primary',
                title: 'Hồ sơ chưa có file ký số'
              };

            case _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__["TinhTrangHoSo"].HoSoDaDuyet:
              return {
                color: 'success',
                title: 'Hồ sơ đã duyệt'
              };

            case _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__["TinhTrangHoSo"].HoSoDaKySo:
              return {
                color: 'info',
                title: 'Hồ sơ đã có file ký số'
              };

            default:
              return {
                color: 'default',
                title: 'Thêm mới hồ sơ'
              };
          }
        }
      }, {
        key: "openModal",
        value: function openModal() {
          var _this138 = this;

          switch (this.activeId) {
            case Type.TramBts:
              var modalRef = this.modalService.open(_modal_add_trambts_modal_add_trambts_component__WEBPACK_IMPORTED_MODULE_2__["ModalAddTrambtsComponent"], {
                size: "xl"
              });
              modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
                _this138.rowAll.tramBts.push(receivedEntry);

                _this138.rowAdd.tramBts.push(receivedEntry);
              });
              break;

            case Type.TuyenCapNgam:
              this.modalService.open(_modal_add_tcngam_modal_add_tcngam_component__WEBPACK_IMPORTED_MODULE_3__["ModalAddTcngamComponent"], {
                size: "xl"
              }).componentInstance.passEntry.subscribe(function (receivedEntry) {
                _this138.rowAll.tuyenCapNgam.push(receivedEntry);

                _this138.rowAdd.tuyenCapNgam.push(receivedEntry);
              });
              break;

            case Type.TuyenCapNoi:
              this.modalService.open(_modal_add_tcnoi_modal_add_tcnoi_component__WEBPACK_IMPORTED_MODULE_4__["ModalAddTcnoiComponent"], {
                size: "xl"
              }).componentInstance.passEntry.subscribe(function (receivedEntry) {
                _this138.rowAll.tuyenCapNoi.push(receivedEntry);

                _this138.rowAdd.tuyenCapNoi.push(receivedEntry);
              });
              break;

            case Type.DiemDichVu:
              this.modalService.open(_modal_add_diemdv_modal_add_diemdv_component__WEBPACK_IMPORTED_MODULE_5__["ModalAddDiemdvComponent"], {
                size: "xl"
              }).componentInstance.passEntry.subscribe(function (receivedEntry) {
                _this138.rowAll.diemDichVu.push(receivedEntry);

                _this138.rowAdd.diemDichVu.push(receivedEntry);
              });
              break;

            default:
              return;
          }
        }
      }, {
        key: "handleClickEdit",
        value: function handleClickEdit(row) {
          var _this139 = this;

          var index;
          var fields;
          var indexRowAll;
          var indexRowAdd;
          var modalRef;

          switch (this.activeId) {
            case Type.TramBts:
              fields = [{
                prop: 'MaTram',
                name: 'Mã trạm',
                type: 'text',
                frozenLeft: true,
                width: 150
              }, {
                prop: 'TenTram',
                name: 'Tên trạm',
                type: 'text',
                frozenLeft: true,
                width: 150
              }, {
                prop: 'ToaDoX',
                name: 'Tọa độ X',
                type: 'text',
                width: 150,
                disable: true
              }, {
                prop: 'ToaDoY',
                name: 'Tọa độ Y',
                type: 'text',
                width: 150,
                disable: true
              }, {
                prop: 'DiaChi',
                name: 'Địa chỉ',
                type: 'text',
                width: 550
              }, {
                prop: 'ChuSoHuuDat',
                name: 'Chủ sỡ hữu đất',
                type: 'text',
                width: 250
              }, {
                prop: 'LoaiAngTen',
                name: 'Loại ăng ten',
                type: 'select',
                width: 150
              }, {
                prop: 'LoaiTram',
                name: 'Loại trạm',
                type: 'select',
                width: 150
              }, {
                prop: 'DoCaoTram',
                name: 'Độ cao trạm',
                type: 'text',
                width: 150
              }, {
                prop: 'DoCaoTang',
                name: 'Độ cao tầng',
                type: 'text',
                width: 150
              }, {
                prop: 'CongSuat',
                name: 'Công suất',
                type: 'text',
                width: 150
              }, {
                prop: 'GocNgan',
                name: 'Số lượng ăng ten phát',
                type: 'text',
                width: 150
              }, {
                prop: 'TGPhatSong',
                name: 'TG phát sóng',
                type: 'text',
                width: 150
              }, {
                prop: 'ThietBiLapDat',
                name: 'Thiết bị lắp đặt',
                type: 'text',
                width: 150
              }, {
                prop: 'HuyenTXTP',
                name: 'Huyện/TP',
                type: 'select',
                width: 150,
                isQuanHuyenTP: true,
                options: []
              }, {
                prop: 'XaPhuongTT',
                name: 'Xã/phường',
                type: 'select',
                width: 150,
                isPhuongXa: true,
                options: []
              }, {
                prop: 'GhiChu',
                name: 'Ghi chú',
                type: 'text',
                width: 250
              }];
              modalRef = this.modalService.open(_modal_edit_modal_edit_component__WEBPACK_IMPORTED_MODULE_7__["ModalEditComponent"], {
                size: "xl"
              }); // sau khi mo modal gan du lieu cho modal

              modalRef.componentInstance.data = row;
              modalRef.componentInstance.fields = fields;
              modalRef.componentInstance.isEdit = true;
              modalRef.componentInstance.service = this.tramBtsService; // su kien luu

              modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
                // cap nhap rowAll ung voi tram bts hien thi tren table detail
                indexRowAll = _this139.rowAll.tramBts.indexOf(row); // index cap nhap row hien thi table detail

                indexRowAdd = _this139.rowAdd.tramBts.indexOf(row);
                var isObjectId = _this139.rowAll.tramBts[indexRowAll].attributes.OBJECTID;

                var isUpdated = _this139.rowUpdate.tramBts.findIndex(function (m) {
                  return m.attributes.OBJECTID === receivedEntry.attributes.OBJECTID;
                });

                _this139.rowAll.tramBts[index] = receivedEntry; // neu tram bts dang sua da duoc va chua co trong rowUpdate tao thi dua vao rowUpdate

                if (isObjectId && isUpdated < 0) {
                  _this139.rowUpdate.tramBts.push(receivedEntry);
                } else {
                  // nguoc lai tram bts dang sua chua duoc tao thi cap nhat lai tram bts trong rowAdd de them moi
                  _this139.rowAdd.tramBts[indexRowAdd] = receivedEntry;
                }
              });
              break;

            case Type.TuyenCapNgam:
              fields = [{
                prop: "MaTuyen",
                name: "Mã tuyến cáp",
                type: "text",
                frozenLeft: true
              }, {
                prop: "TenTuyen",
                name: "Tên tuyến",
                type: "text",
                frozenLeft: true
              }, {
                prop: "DiemDau",
                name: "Điểm đầu",
                type: "text"
              }, {
                prop: "DiemCuoi",
                name: "Điểm cuối",
                type: "text"
              }, {
                prop: "ChieuDaiThucTe",
                name: "Chiều dài thực tế",
                type: "text"
              }, {
                prop: "ViTriTuyenCap",
                name: "Vị trí tuyến cáp",
                type: "text"
              }, {
                prop: "KhoangCachSoVoiLe",
                name: "Khoảng cách so với lề",
                type: "text"
              }, {
                prop: "DoSau",
                name: "Độ sâu",
                type: "text"
              }, {
                prop: "SoLuongOngCap",
                name: "Số lượng ống cáp",
                type: "text"
              }, {
                prop: "SoLuongOngDangDung",
                name: "Số lượng ống dẫn",
                type: "text"
              }, {
                prop: "LoaiCap",
                name: "Loại cáp",
                type: "text"
              }, {
                prop: "DungLuongCap",
                name: "Dung lượng cáp",
                type: "text"
              }, {
                prop: "LoaiCongTrinh",
                name: "Loại công trình",
                type: "text"
              }, {
                prop: "KhaNangDungChung",
                name: "Khả năng dùng chung",
                type: "text"
              }];
              modalRef = this.modalService.open(_modal_edit_modal_edit_component__WEBPACK_IMPORTED_MODULE_7__["ModalEditComponent"], {
                size: "xl"
              }); // sau khi mo modal gan du lieu cho modal

              modalRef.componentInstance.data = row;
              modalRef.componentInstance.fields = fields;
              modalRef.componentInstance.isEdit = true;
              modalRef.componentInstance.service = this.tuyenCapNgamService; // su kien luu

              modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
                // cap nhap rowAll ung voi tram bts hien thi tren table detail
                indexRowAll = _this139.rowAll.tuyenCapNgam.indexOf(row); // index cap nhap row hien thi table detail

                indexRowAdd = _this139.rowAdd.tuyenCapNgam.indexOf(row);
                var isObjectId = _this139.rowAll.tuyenCapNgam[indexRowAll].attributes.OBJECTID;

                var isUpdated = _this139.rowUpdate.tuyenCapNgam.findIndex(function (m) {
                  return m.attributes.OBJECTID === receivedEntry.attributes.OBJECTID;
                });

                _this139.rowAll.tuyenCapNgam[index] = receivedEntry; // neu tram bts dang sua da duoc va chua co trong rowUpdate tao thi dua vao rowUpdate

                if (isObjectId && isUpdated < 0) {
                  _this139.rowUpdate.tuyenCapNgam.push(receivedEntry);
                } else {
                  // nguoc lai tram bts dang sua chua duoc tao thi cap nhat lai tram bts trong rowAdd de them moi
                  _this139.rowAdd.tuyenCapNgam[indexRowAdd] = receivedEntry;
                }
              });
              break;

            case Type.TuyenCapNoi:
              fields = [{
                prop: "MaTuyen",
                name: "Mã tuyến cáp",
                type: "text",
                frozenLeft: true
              }, {
                prop: "TenTuyen",
                name: "Tên tuyến",
                type: "text",
                frozenLeft: true
              }, {
                prop: "DiemDau",
                name: "Điểm đầu",
                type: "text"
              }, {
                prop: "DiemCuoi",
                name: "Điểm cuối",
                type: "text"
              }, {
                prop: "ChieuDaiThucTe",
                name: "Chiều dài thực tế",
                type: "text"
              }, {
                prop: "ViTriTuyenCap",
                name: "Vị trí tuyến cáp",
                type: "text"
              }, {
                prop: "KhoangCachSoVoiLe",
                name: "Khoảng cách so với lề",
                type: "text"
              }, {
                prop: "DoSau",
                name: "Độ sâu",
                type: "text"
              }, {
                prop: "SoLuongOngCap",
                name: "Số lượng ống cáp",
                type: "text"
              }, {
                prop: "SoLuongOngDangDung",
                name: "Số lượng ống dẫn",
                type: "text"
              }, {
                prop: "LoaiCap",
                name: "Loại cáp",
                type: "text"
              }, {
                prop: "DungLuongCap",
                name: "Dung lượng cáp",
                type: "text"
              }, {
                prop: "LoaiCongTrinh",
                name: "Loại công trình",
                type: "text"
              }, {
                prop: "KhaNangDungChung",
                name: "Khả năng dùng chung",
                type: "text"
              }];
              modalRef = this.modalService.open(_modal_edit_modal_edit_component__WEBPACK_IMPORTED_MODULE_7__["ModalEditComponent"], {
                size: "xl"
              }); // sau khi mo modal gan du lieu cho modal

              modalRef.componentInstance.data = row;
              modalRef.componentInstance.fields = fields;
              modalRef.componentInstance.isEdit = true;
              modalRef.componentInstance.service = this.tuyenCapNoiService; // su kien luu

              modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
                // cap nhap rowAll ung voi tram bts hien thi tren table detail
                indexRowAll = _this139.rowAll.tuyenCapNoi.indexOf(row); // index cap nhap row hien thi table detail

                indexRowAdd = _this139.rowAdd.tuyenCapNoi.indexOf(row);
                var isObjectId = _this139.rowAll.tuyenCapNoi[indexRowAll].attributes.OBJECTID;

                var isUpdated = _this139.rowUpdate.tuyenCapNoi.findIndex(function (m) {
                  return m.attributes.OBJECTID === receivedEntry.attributes.OBJECTID;
                });

                _this139.rowAll.tuyenCapNoi[index] = receivedEntry; // neu tram bts dang sua da duoc va chua co trong rowUpdate tao thi dua vao rowUpdate

                if (isObjectId && isUpdated < 0) {
                  _this139.rowUpdate.tuyenCapNoi.push(receivedEntry);
                } else {
                  // nguoc lai tram bts dang sua chua duoc tao thi cap nhat lai tram bts trong rowAdd de them moi
                  _this139.rowAdd.tuyenCapNoi[indexRowAdd] = receivedEntry;
                }
              });
              break;

            case Type.DiemDichVu:
              fields = [{
                prop: 'SoHieu',
                name: 'Số hiệu',
                type: 'text',
                frozenLeft: true
              }, {
                prop: 'TenDiem',
                name: 'Tên điểm',
                type: 'text',
                frozenLeft: true
              }, {
                prop: 'ToaDoX',
                name: 'Tọa độ X',
                type: 'text'
              }, {
                prop: 'ToaDoY',
                name: 'Tọa độ Y',
                type: 'text'
              }, {
                prop: 'DichVuCungCap',
                name: 'Dịch vụ cung cấp',
                type: 'text'
              }, {
                prop: 'DichVuCungCapVT',
                name: 'Dịch vụ cung cấp viễn thông',
                type: 'text'
              }, {
                prop: 'DichVuGTGTKhac',
                name: 'Dịch vụ GTGT khác',
                type: 'text'
              }, {
                prop: 'SoDienThoai',
                name: 'Số điện thoại',
                type: 'text'
              }, {
                prop: 'Địa_chỉ',
                name: 'Địa chỉ',
                type: 'text'
              }, {
                prop: 'HuyenTXTP',
                name: 'Huyện/TP',
                type: 'select',
                width: 150,
                isQuanHuyenTP: true,
                options: []
              }, {
                prop: 'XaPhuongTT',
                name: 'Xã/phường',
                type: 'select',
                width: 150,
                isPhuongXa: true,
                options: []
              }];
              modalRef = this.modalService.open(_modal_edit_modal_edit_component__WEBPACK_IMPORTED_MODULE_7__["ModalEditComponent"], {
                size: "xl"
              }); // sau khi mo modal gan du lieu cho modal

              modalRef.componentInstance.data = row;
              modalRef.componentInstance.fields = fields;
              modalRef.componentInstance.isEdit = true;
              modalRef.componentInstance.service = this.diemDichVuService; // su kien luu

              modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
                // cap nhap rowAll ung voi tram bts hien thi tren table detail
                indexRowAll = _this139.rowAll.diemDichVu.indexOf(row); // index cap nhap row hien thi table detail

                indexRowAdd = _this139.rowAdd.diemDichVu.indexOf(row);
                var isObjectId = _this139.rowAll.diemDichVu[indexRowAll].attributes.OBJECTID;

                var isUpdated = _this139.rowUpdate.diemDichVu.findIndex(function (m) {
                  return m.attributes.OBJECTID === receivedEntry.attributes.OBJECTID;
                });

                _this139.rowAll.diemDichVu[index] = receivedEntry; // neu tram bts dang sua da duoc va chua co trong rowUpdate tao thi dua vao rowUpdate

                if (isObjectId && isUpdated < 0) {
                  _this139.rowUpdate.diemDichVu.push(receivedEntry);
                } else {
                  // nguoc lai tram bts dang sua chua duoc tao thi cap nhat lai tram bts trong rowAdd de them moi
                  _this139.rowAdd.diemDichVu[indexRowAdd] = receivedEntry;
                }
              });
              break;

            default:
              return;
          }
        }
      }, {
        key: "askCause",
        value: function askCause() {
          var _this140 = this;

          var status = this.rowAll.tramBts.filter(function (f) {
            return f.attributes.TinhTrang === 1;
          });

          if (status.length !== 0) {
            this.toastService.warning('Vui lòng kiểm tra trạm!');
          } else {
            var modal = this.modalService.open(_modal_ly_do_modal_ly_do_component__WEBPACK_IMPORTED_MODULE_8__["ModalLyDoComponent"], {
              centered: true
            });
            modal.componentInstance.idHoSo = this.idHoSo;
            modal.componentInstance.listTramBts = this.rowAll.tramBts;
            modal.result.then(function (res) {
              if (res === 'ok') {
                _this140.modal.close('ok');
              }
            }, function (response) {});
          }
        }
      }, {
        key: "delete",
        value: function _delete(row, object) {
          try {
            var indexRowAll = this.rowAll[object].indexOf(row);
            var indexRowAdd = this.rowAdd[object].indexOf(row);
            var isObjectId = this.rowAll[object][indexRowAll] && this.rowAll[object][indexRowAll].attributes.OBJECTID;
            var deleted = this.rowAll[object].splice(indexRowAll, 1);

            if (isObjectId) {
              // neu có objectId thì đưa vào rowDelete
              this.rowDelete[object].push(deleted[0]);
            } else {
              // chưa có objectId nghĩa là thêm mới nhưng chưa được lưu thì xóa trong rowAdd
              this.rowAdd[object].splice(indexRowAdd, 1);
            }
          } catch (error) {
            console.error(error);
          }
        }
      }, {
        key: "handleClickDelete",
        value: function handleClickDelete(row) {
          var _this141 = this;

          var object;

          switch (this.activeId) {
            case Type.TramBts:
              object = 'tramBts';
              break;

            case Type.TuyenCapNgam:
              object = 'tuyenCapNgam';
              break;

            case Type.TuyenCapNoi:
              object = 'tuyenCapNoi';
              break;

            case Type.DiemDichVu:
              object = 'diemDichVu';
              break;

            default:
              return;
          }

          this.modalService.open(src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_11__["ModalConfirmComponent"], {
            centered: true
          }).result.then(function (result) {
            if (result === src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_11__["EventModal"].OK) {
              _this141["delete"](row, object);
            }
          }, function (reason) {});
        }
      }, {
        key: "handleClickSaveHoSo",
        value: function handleClickSaveHoSo() {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
            var _this142 = this;

            var hoSo;
            return _regeneratorRuntime().wrap(function _callee5$(_context7) {
              while (1) switch (_context7.prev = _context7.next) {
                case 0:
                  if (!(!this.tenHoSo || !this.soCongVan)) {
                    _context7.next = 3;
                    break;
                  }

                  this.toastService.warning('Vui lòng nhập thông tin hồ sơ!');
                  return _context7.abrupt("return");

                case 3:
                  if (!(!this.rowAll.tramBts.length && !this.rowAll.tuyenCapNoi.length && !this.rowAll.tuyenCapNgam.length && !this.rowAll.diemDichVu.length)) {
                    _context7.next = 6;
                    break;
                  }

                  this.toastService.warning('Vui lòng thêm chi tiết hồ sơ!');
                  return _context7.abrupt("return");

                case 6:
                  hoSo = {
                    IDDV: this.loginService.taiKhoan.IDDonVi,
                    TGTao: this.thoiGianTao,
                    TenHoSo: this.tenHoSo,
                    SoCongVan: this.soCongVan + ''
                  }; // Luu thong tin chung ho so

                  if (this.idHoSo) {
                    _context7.next = 12;
                    break;
                  }

                  _context7.next = 10;
                  return this.apiService.post('odata/HoSoes', hoSo).then(function (res) {
                    if (res.ID) {
                      _this142.idHoSo = res.ID;

                      _this142.modal.close('CREATE');
                    }
                  });

                case 10:
                  _context7.next = 13;
                  break;

                case 12:
                  this.apiService.update("odata/HoSoes(guid'".concat(this.idHoSo, "')"), hoSo).then(function (res) {
                    _this142.modal.close('UPDATE');
                  });

                case 13:
                  this.handleAdd();
                  this.handleUpdate();
                  this.handleDelete();

                case 16:
                case "end":
                  return _context7.stop();
              }
            }, _callee5, this);
          }));
        }
      }, {
        key: "handleClickRow",
        value: function handleClickRow(row) {
          var _this143 = this;

          if (this.layer) {
            var query = this.layer.createQuery();
            query.outSpatialReference = this.view.spatialReference;
            query.returnGeometry = true;
            this.view.graphics.removeAll();

            if (row.attributes && row.attributes.OBJECTID) {
              query.where = "OBJECTID = ".concat(row.attributes.OBJECTID);
              this.layer.queryFeatures(query).then(function (_ref92) {
                var features = _ref92.features;
                return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this143, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
                  var _this144 = this;

                  var point, maTram, circle;
                  return _regeneratorRuntime().wrap(function _callee6$(_context8) {
                    while (1) switch (_context8.prev = _context8.next) {
                      case 0:
                        point = features[0].geometry;
                        maTram = features[0].attributes.MaTram;
                        this.view.goTo(features);
                        this.view.extent = features[0].geometry.extent;

                        if (this.highlight) {
                          this.highlight.remove();
                        }

                        this.highlight = this.layerView.highlight(features);
                        this.view.popup.open({
                          features: features
                        });
                        circle = new esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_16___default.a({
                          center: point,
                          radius: 1000,
                          radiusUnit: 'meters' // đơn vị

                        });
                        this.layer.queryFeatures({
                          geometry: circle,
                          returnGeometry: true
                        }).then(function (_ref93) {
                          var features = _ref93.features;

                          var _features = features.filter(function (f) {
                            return f.attributes.MaTram !== maTram;
                          });

                          _features.forEach(function (f) {
                            _this144.view.graphics.add(new esri_Graphic__WEBPACK_IMPORTED_MODULE_17___default.a({
                              geometry: f.geometry,
                              symbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_18__["SimpleMarkerSymbol"]({
                                color: 'rgba(102, 16, 242, 0.4)',
                                size: '24px',
                                outline: new esri_symbols__WEBPACK_IMPORTED_MODULE_18__["SimpleLineSymbol"]({
                                  color: 'yellow',
                                  width: 1.5
                                })
                              })
                            }));
                          });
                        });

                      case 9:
                      case "end":
                        return _context8.stop();
                    }
                  }, _callee6, this);
                }));
              });
            }
          }
        }
      }, {
        key: "whenLayerView",
        value: function whenLayerView(layerView) {
          this.layerView = layerView;
        }
      }, {
        key: "handleAdd",
        value: function handleAdd() {
          var _this145 = this;

          var promises = []; // tram bts

          this.rowAdd.tramBts.length && promises.push(this.tramBtsService.adds(this.rowAdd.tramBts).then(function (_ref94) {
            var addResults = _ref94.addResults;

            if (addResults) {
              var _promises = [];

              for (var _i44 = 0; _i44 < addResults.length; _i44++) {
                _promises.push(_this145.apiService.post('odata/HoSo_TramBTS', {
                  HoSo_ID: _this145.idHoSo,
                  TramBTS_ID: addResults[_i44].objectId
                }));
              }

              _promises.length && Promise.all(_promises).then(function (res) {});
            }
          })); // tuyen cap ngam

          this.rowAdd.tuyenCapNgam.length && promises.push(this.tuyenCapNgamService.adds(this.rowAdd.tuyenCapNgam).then(function (_ref95) {
            var addResults = _ref95.addResults;

            if (addResults) {
              var _promises2 = [];

              for (var _i45 = 0; _i45 < addResults.length; _i45++) {
                _promises2.push(_this145.apiService.post('odata/HoSo_TuyenCapNgam', {
                  HoSo_ID: _this145.idHoSo,
                  TuyenCapNgam_ID: addResults[_i45].objectId
                }));
              }

              _promises2.length && Promise.all(_promises2).then(function (res) {});
            }
          })); // tuyen cap noi

          this.rowAdd.tuyenCapNoi.length && promises.push(this.tuyenCapNoiService.adds(this.rowAdd.tuyenCapNoi).then(function (_ref96) {
            var addResults = _ref96.addResults;

            if (addResults) {
              var _promises3 = [];

              for (var _i46 = 0; _i46 < addResults.length; _i46++) {
                _promises3.push(_this145.apiService.post('odata/HoSo_TuyenCapNoi', {
                  HoSo_ID: _this145.idHoSo,
                  TuyenCapNoi_ID: addResults[_i46].objectId
                }));
              }

              _promises3.length && Promise.all(_promises3).then(function (res) {});
            }
          })); // diem dich vu

          this.rowAdd.diemDichVu.length && promises.push(this.diemDichVuService.adds(this.rowAdd.diemDichVu).then(function (_ref97) {
            var addResults = _ref97.addResults;

            if (addResults) {
              var _promises4 = [];

              for (var _i47 = 0; _i47 < addResults.length; _i47++) {
                _promises4.push(_this145.apiService.post('odata/HoSo_DiemDichVu', {
                  HoSo_ID: _this145.idHoSo,
                  DiemDichVu_ID: addResults[_i47].objectId
                }));
              }

              _promises4.length && Promise.all(_promises4).then(function (res) {});
            }
          }));
          promises.length && Promise.all(promises).then(function (res) {});
        }
      }, {
        key: "handleUpdate",
        value: function handleUpdate() {
          var promises = []; // tram bts

          this.rowUpdate.tramBts.length && promises.push(this.tramBtsService.updatesGeometry(this.rowUpdate.tramBts).then(function (_ref98) {
            var updateResults = _ref98.updateResults;

            if (updateResults) {
              console.log('update trạm bts thành công!');
            }
          })); // tuyen cap ngam

          this.rowUpdate.tuyenCapNgam.length && promises.push(this.tuyenCapNgamService.updatesGeometry(this.rowUpdate.tuyenCapNgam).then(function (_ref99) {
            var updateResults = _ref99.updateResults;

            if (updateResults) {
              console.log('update tuyến cáp ngầm thành công!');
            }
          })); // tuyen cap noi

          this.rowUpdate.tuyenCapNoi.length && promises.push(this.tuyenCapNoiService.updatesGeometry(this.rowUpdate.tuyenCapNoi).then(function (_ref100) {
            var updateResults = _ref100.updateResults;

            if (updateResults) {
              console.log('update tuyến cáp nổi thành công!');
            }
          })); // diem dich vu

          this.rowUpdate.diemDichVu.length && promises.push(this.diemDichVuService.updatesGeometry(this.rowUpdate.diemDichVu).then(function (_ref101) {
            var updateResults = _ref101.updateResults;

            if (updateResults) {
              console.log('update điểm dịch vụ thành công!');
            }
          }));
          promises.length && Promise.all(promises).then(function (res) {});
        }
      }, {
        key: "handleDelete",
        value: function handleDelete() {
          var _this146 = this;

          var promises = []; // tram bts

          if (this.rowDelete.tramBts.length) {
            var promisesHoSo = [];
            var promisesDoiTuong = [];

            var _loop8 = function _loop8(_i48) {
              // promise xoa ho so tram bts
              _this146.apiService["delete"]("odata/HoSo_TramBTS(guid'".concat(_this146.rowDelete.tramBts[_i48].attributes.uid, "')")).then(function () {
                _this146.tramBtsService.deletes(_this146.rowDelete.tramBts[_i48].attributes.OBJECTID).then(function (res) {});
              }); // promise xoa doi tuong tram bts
              // promisesDoiTuong.push(this.tramBtsService.deletes(this.rowDelete.tramBts[i].attributes.OBJECTID))

            };

            for (var _i48 = 0; _i48 < this.rowDelete.tramBts.length; _i48++) {
              _loop8(_i48);
            } // thực hiện xóa hồ sơ trạm bts
            // promisesHoSo.length && Promise.all(promisesHoSo).then(res => {
            //   // sau đó xóa đối tượng trạm bts (khóa ngoại)
            //   Promise.all(promisesDoiTuong).then(res => console.log(res));
            // });

          } // tuyen cap ngam


          if (this.rowDelete.tuyenCapNgam.length) {
            var _promisesHoSo = [];
            var _promisesDoiTuong = [];

            for (var _i49 = 0; _i49 < this.rowDelete.tuyenCapNgam.length; _i49++) {
              _promisesHoSo.push(this.apiService["delete"]("odata/HoSo_TramBTS(guid'".concat(this.rowDelete.tuyenCapNgam[_i49].attributes.uid, "')")));

              _promisesDoiTuong.push(this.tuyenCapNgamService.deletes(this.rowDelete.tuyenCapNgam[_i49].attributes.OBJECTID));
            }

            _promisesHoSo.length && Promise.all(_promisesHoSo).then(function (res) {
              Promise.all(_promisesDoiTuong).then(function (res) {});
            });
          } // tuyen cap noi


          if (this.rowDelete.tuyenCapNoi.length) {
            var _promisesHoSo2 = [];
            var _promisesDoiTuong2 = [];

            for (var _i50 = 0; _i50 < this.rowDelete.tuyenCapNoi.length; _i50++) {
              _promisesHoSo2.push(this.apiService["delete"]("odata/HoSo_TramBTS(guid'".concat(this.rowDelete.tuyenCapNoi[_i50].attributes.uid, "')")));

              _promisesDoiTuong2.push(this.tuyenCapNoiService.deletes(this.rowDelete.tuyenCapNoi[_i50].attributes.OBJECTID));
            }

            _promisesHoSo2.length && Promise.all(_promisesHoSo2).then(function (res) {
              Promise.all(_promisesDoiTuong2).then(function (res) {});
            });
          } // diem dich vu


          if (this.rowDelete.diemDichVu.length) {
            var _promisesHoSo3 = [];
            var _promisesDoiTuong3 = [];

            for (var _i51 = 0; _i51 < this.rowDelete.diemDichVu.length; _i51++) {
              _promisesHoSo3.push(this.apiService["delete"]("odata/HoSo_TramBTS(guid'".concat(this.rowDelete.diemDichVu[_i51].attributes.uid, "')")));

              _promisesDoiTuong3.push(this.diemDichVuService.deletes(this.rowDelete.diemDichVu[_i51].attributes.OBJECTID));
            }

            _promisesHoSo3.length && Promise.all(_promisesHoSo3).then(function (res) {
              Promise.all(_promisesDoiTuong3).then(function (res) {});
            });
          } // promises.length && Promise.all(promises).then(res => console.log(res));

        }
      }, {
        key: "handleCheck",
        value: function handleCheck(row) {
          var _this147 = this;

          if (row) {
            this.apiService.update("odata/HoSo_TramBTS(guid'".concat(row.uid, "')"), {
              TrangThai: 2,
              NgayCapNhat: this.datePipe.transform(new Date(), 'yyyy-MM-dd')
            }).then(function () {
              _this147.tramBtsService.update({
                OBJECTID: row.OBJECTID,
                TinhTrang: 2
              }).then(function (res) {
                if (res.updateResults) {
                  _this147.toastService.success('Đã chấp thuận vị trí!');

                  _this147.loadChiTietHoSo();
                }
              });
            });
          }
        }
      }, {
        key: "handleClickAsk",
        value: function handleClickAsk(event) {
          var _this148 = this;

          var row = event.row,
              lyDo = event.lyDo;
          this.apiService.update("odata/HoSo_TramBTS(guid'".concat(row.uid, "')"), {
            TrangThai: 4,
            LyDo: lyDo,
            NgayCapNhat: this.datePipe.transform(new Date(), 'yyyy-MM-dd')
          }).then(function (res2) {
            _this148.tramBtsService.update({
              OBJECTID: row.OBJECTID,
              TinhTrang: 4
            }).then(function (res) {
              if (res.updateResults) {
                _this148.toastService.success('Từ chối thành công!');

                _this148.loadChiTietHoSo();
              }
            });
          });
        }
      }, {
        key: "openDlgKySo",
        value: function openDlgKySo() {
          var modalref = this.modalService.open(_modal_view_pdf_modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_1__["ModalViewPdfComponent"], {
            size: 'xl'
          });
          modalref.componentInstance.idHS = this.idHoSo;
        }
      }, {
        key: "onChangeNav",
        value: function onChangeNav(event) {
          this.activeId = event.nextId;

          switch (this.activeId) {
            case Type.TramBts:
              this.colsTblDetail = colsTramBts;
              this.objectNameNavigated = 'tramBts';
              this.layerProperties = this.layerService.tramBtsLayer;
              break;

            case Type.TuyenCapNgam:
              this.colsTblDetail = colsTuyenCap;
              this.objectNameNavigated = 'tuyenCapNgam';
              this.layerProperties = this.layerService.tuyenCapNgamLayer;
              break;

            case Type.TuyenCapNoi:
              this.colsTblDetail = colsTuyenCap;
              this.objectNameNavigated = 'tuyenCapNoi';
              this.layerProperties = this.layerService.tuyenCapNoiLayer;
              break;

            case Type.DiemDichVu:
              this.colsTblDetail = colsDiemDichVu;
              this.objectNameNavigated = 'diemDichVu';
              this.layerProperties = this.layerService.diemDichVuLayer;
              break;

            default:
              console.error('Không xác định!');
          }
        }
      }, {
        key: "loadChiTietHoSo",
        value: function loadChiTietHoSo() {
          var _this149 = this;

          var promises = [];
          this.rowAll.tramBts = [];
          this.loading = true;
          promises.push(this.apiService.get("odata/HoSo_TramBTS?$filter=HoSo_ID eq guid'".concat(this.idHoSo, "'&$expand=TRAMBT")));
          promises.push(this.apiService.get("odata/HoSo_TuyenCapNgam?$filter=HoSo_ID eq guid'".concat(this.idHoSo, "'&$expand=TUYENCAPNGAM")));
          promises.push(this.apiService.get("odata/HoSo_TuyenCapNoi?$filter=HoSo_ID eq guid'".concat(this.idHoSo, "'&$expand=TUYENCAPNOI")));
          promises.push(this.apiService.get("odata/HoSo_DiemDichVu?$filter=HoSo_ID eq guid'".concat(this.idHoSo, "'&$expand=DIEMDICHVU")));
          Promise.all(promises).then(function (_ref102) {
            var _ref103 = _slicedToArray(_ref102, 4),
                tramBts = _ref103[0],
                tuyenCapNgam = _ref103[1],
                tuyenCapNoi = _ref103[2],
                diemDichVu = _ref103[3];

            if (tramBts) {
              tramBts.value.forEach(function (f) {
                _this149.rowAll.tramBts.push({
                  attributes: Object.assign(Object.assign({}, f.TRAMBT), {
                    uid: f.ID,
                    lyDo: f.LyDo
                  })
                });
              });
            }

            if (tuyenCapNgam) {
              tuyenCapNgam.value.forEach(function (f) {
                _this149.rowAll.tuyenCapNgam.push({
                  attributes: Object.assign(Object.assign({}, f.TUYENCAPNGAM), {
                    uid: f.ID
                  })
                });
              });
            }

            if (tuyenCapNoi) {
              tuyenCapNoi.value.forEach(function (f) {
                _this149.rowAll.tuyenCapNoi.push({
                  attributes: Object.assign(Object.assign({}, f.TUYENCAPNOI), {
                    uid: f.ID
                  })
                });
              });
            }

            if (diemDichVu) {
              diemDichVu.value.forEach(function (f) {
                _this149.rowAll.diemDichVu.push({
                  attributes: Object.assign(Object.assign({}, f.DIEMDICHVU), {
                    uid: f.ID
                  })
                });
              });
            }

            _this149.loading = false;
          });
        }
      }, {
        key: "guiHoSo",
        value: function guiHoSo() {
          var _this150 = this;

          this.apiService.post("HoSoes/GuiHoSo", {
            id: this.idHoSo,
            status: 2,
            ma_tai_khoan: this.loginService.taiKhoan.MaTaiKhoan
          }).then(function (res) {
            _this150.modal.close('ok');
          });
        }
      }, {
        key: "pheDuyetHoSo",
        value: function pheDuyetHoSo() {
          var _this151 = this;

          var status = this.rowAll.tramBts.filter(function (f) {
            return f.attributes.TinhTrang === 1;
          });

          if (status.length !== 0) {
            this.toastService.warning('Vui lòng kiểm tra trạm!');
          } else {
            var modalref = this.modalService.open(_modal_approved_modal_approved_component__WEBPACK_IMPORTED_MODULE_13__["ModalApprovedComponent"], {
              centered: true,
              size: 'lg'
            });
            modalref.componentInstance.listTramBts = this.rowAll.tramBts;
            modalref.componentInstance.idHoSo = this.idHoSo;
            modalref.result.then(function (res) {
              if (res === 'ok') {
                _this151.modal.close('ok');
              }
            }, function (response) {});
          }
        }
      }, {
        key: "openModalViewPdf",
        value: function openModalViewPdf() {
          this.modalService.open(_phe_duyet_modal_file_pdf_modal_file_pdf_component__WEBPACK_IMPORTED_MODULE_10__["ModalFilePdfComponent"], {
            size: 'xl'
          });
        }
      }, {
        key: "getFileAttachment",
        value: function getFileAttachment(idHS) {
          var _this152 = this;

          if (idHS) {
            this.apiService.get("QuanLyVanBan/DanhSach?id_ho_so=".concat(idHS)).then(function (res) {
              if (res) {
                var _iterator145 = _createForOfIteratorHelper(res),
                    _step145;

                try {
                  for (_iterator145.s(); !(_step145 = _iterator145.n()).done;) {
                    var file = _step145.value;

                    _this152.arrayFiles.push({
                      id: file.ID,
                      name: file.Subject,
                      url: file.LinkFile
                    });
                  }
                } catch (err) {
                  _iterator145.e(err);
                } finally {
                  _iterator145.f();
                }
              }
            });
          }
        }
      }, {
        key: "deleteFileAttachment",
        value: function deleteFileAttachment(id) {
          var _this153 = this;

          var modal = this.modalService.open(src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_11__["ModalConfirmComponent"], {
            centered: true
          });
          modal.result.then(function (res) {
            if (res === src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_11__["EventModal"].OK) {
              _this153.apiService.post("QuanLyVanBan/XoaVanBan?ID=".concat(id)).then(function (res) {
                _this153.arrayFiles = [];

                _this153.toastService.success('Xóa thành công!');

                _this153.getFileAttachment(_this153.idHoSo);
              });
            }
          }, function (response) {});
        }
      }, {
        key: "getFileKySo",
        value: function getFileKySo() {
          var _this154 = this;

          this.apiService.get("odata/HoSoes(guid'".concat(this.idHoSo, "')?$expand=VanBan")).then(function (res) {
            if (res.VanBan) {
              _this154.fileKSName = res.VanBan.Subject;
              _this154.fileKSUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_9__["environment"].apiUrl + res.VanBan.LinkFile;
            }
          });
        }
      }, {
        key: "fileChange",
        value: function fileChange(inputElement) {
          var _this155 = this;

          if (inputElement.files[0]) {
            var formData = new FormData();
            var modal = this.modalService.open(_modal_rename_modal_rename_component__WEBPACK_IMPORTED_MODULE_12__["ModalRenameComponent"], {
              centered: true
            });
            modal.componentInstance.name = inputElement.files[0].name.split('.')[0];
            modal.result.then(function (response) {
              var name = response;
              formData.append('target_id', _this155.idHoSo);
              formData.append('target_module', 'HoSo');
              formData.append('ma_tai_khoan', _this155.loginService.taiKhoan.MaTaiKhoan);
              formData.append('Subject', name);
              formData.append('file', inputElement.files[0]);

              _this155.apiService.post('QuanLyVanBan/Attachment', formData, true).then(function (res) {
                if (res) {
                  _this155.apiService.get("odata/VanBans", true).then(function (response) {
                    var vanBan = response.filter(function (f) {
                      return f.LinkFile === res;
                    });

                    _this155.arrayFiles.push({
                      id: vanBan[0].ID,
                      name: name,
                      url: res
                    });
                  });

                  _this155.toastService.success('Đính kèm thành công!');
                }
              });
            }, function (response1) {});
          }
        }
      }, {
        key: "fileChangeKySo",
        value: function fileChangeKySo(inputElement) {
          var _this156 = this;

          if (inputElement.files[0]) {
            var formData = new FormData();
            var modal = this.modalService.open(_modal_rename_modal_rename_component__WEBPACK_IMPORTED_MODULE_12__["ModalRenameComponent"], {
              centered: true
            });
            modal.componentInstance.name = inputElement.files[0].name.split('.')[0];
            modal.result.then(function (response) {
              var name = response;
              formData.append('id_ho_so', _this156.idHoSo);
              formData.append('ma_tai_khoan', _this156.loginService.taiKhoan.MaTaiKhoan);
              formData.append('file', inputElement.files[0]);

              _this156.apiService.post('HoSoes/KySo', formData, true).then(function (res) {
                if (res) {
                  console.log(res);
                  _this156.trangThai = _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_6__["TinhTrangHoSo"].HoSoDaKySo;

                  _this156.getFileKySo();

                  _this156.toastService.success('Đính kèm file ký số thành công!');
                }
              });
            }, function (response1) {});
          }
        }
      }, {
        key: "downloadFilePDF",
        value: function downloadFilePDF(url) {
          return src_environments_environment__WEBPACK_IMPORTED_MODULE_9__["environment"].apiUrl + url;
        }
      }, {
        key: "mapLoaded",
        value: function mapLoaded(view) {
          var _this157 = this;

          this.view = view;

          if (this.activeId === Type.TramBts) {
            view.map.add(this.layerService.addTramBTSFeatureLayer());
            this.layer = this.layerService.layer;
          } else {
            this.layer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_15___default.a(this.layerProperties);
            this.layer.minScale = 0;
            this.layer.maxScale = 0;
            view.map.add(this.layer);
          }

          var popup = view.popup; // popup

          popup.dockOptions = {
            position: 'top-left',
            buttonEnabled: true,
            breakpoint: {
              height: 600
            }
          };
          view.on('click', function (evt) {
            if (_this157.highlight) {
              _this157.highlight.remove();
            }
          });
        }
      }, {
        key: "downloadAppendix",
        value: function downloadAppendix(id) {
          return src_environments_environment__WEBPACK_IMPORTED_MODULE_9__["environment"].apiUrl + "/HoSoes/TaiPhuLuc?id=".concat(id);
        }
      }]);

      return AddComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ngfactory.js":
  /*!********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ngfactory.js ***!
    \********************************************************************************************/

  /*! exports provided: RenderType_ModalAddDiemdvComponent, View_ModalAddDiemdvComponent_0, View_ModalAddDiemdvComponent_Host_0, ModalAddDiemdvComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalAddDiemdvModalAddDiemdvComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalAddDiemdvComponent", function () {
      return RenderType_ModalAddDiemdvComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddDiemdvComponent_0", function () {
      return View_ModalAddDiemdvComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddDiemdvComponent_Host_0", function () {
      return View_ModalAddDiemdvComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddDiemdvComponentNgFactory", function () {
      return ModalAddDiemdvComponentNgFactory;
    });
    /* harmony import */


    var _modal_add_diemdv_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-add-diemdv.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _modal_add_diemdv_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./modal-add-diemdv.component */
    "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ts");
    /* harmony import */


    var _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../shared/services/diem-dich-vu.service */
    "./src/app/manager/shared/services/diem-dich-vu.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /* harmony import */


    var _shared_services_attachment_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../../shared/services/attachment.service */
    "./src/app/manager/shared/services/attachment.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalAddDiemdvComponent = [_modal_add_diemdv_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalAddDiemdvComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalAddDiemdvComponent,
      data: {}
    });

    function View_ModalAddDiemdvComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 16, "app-modal-template", [["title", "Th\xEAm \u0110i\u1EC3m d\u1ECBch v\u1EE5"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, 0, 0, "div", [["header", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 1, 12, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 11, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 2, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 1, "app-form", [], null, [[null, "onSubmit"], [null, "onKeyup"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleAdd($event) !== false;
          ad = pd_0 && ad;
        }

        if ("onKeyup" === en) {
          var pd_1 = _co.handleKeyup($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit",
        onKeyup: "onKeyup"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 7, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 6, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "drawAllDoanhNghiep"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("drawAllDoanhNghiep" === en) {
          var pd_1 = _co.drawAgian($event) !== false;
          ad = pd_1 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_2 = _co.closeSideNave($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        drawAllDoanhNghiep: "drawAllDoanhNghiep",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, [["toolbarDiv", 1]], null, 3, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 1, "button", [["class", "esri-widget--button esri-interactive"], ["id", "distance"], ["title", "V\u1EBD"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreatePoint() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_10__["NgClass"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        klass: [0, "klass"],
        ngClass: [1, "ngClass"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "X\xF3a"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.removeGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, 2, 0, "div", [["footer", ""]], null, null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xEAm \u0110i\u1EC3m d\u1ECBch v\u1EE5";

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _co.fields;
        var currVal_2 = _co.service;

        _ck(_v, 9, 0, currVal_1, currVal_2);

        _ck(_v, 13, 0);

        var currVal_3 = "esri-widget--button esri-interactive";
        var currVal_4 = "esri-icon-radio-checked";

        _ck(_v, 16, 0, currVal_3, currVal_4);
      }, null);
    }

    function View_ModalAddDiemdvComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-add-diemdv", [], null, null, null, View_ModalAddDiemdvComponent_0, RenderType_ModalAddDiemdvComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _modal_add_diemdv_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddDiemdvComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _shared_services_diem_dich_vu_service__WEBPACK_IMPORTED_MODULE_14__["DiemDichVuService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_15__["LayerService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"], _shared_services_attachment_service__WEBPACK_IMPORTED_MODULE_16__["AttachmentService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalAddDiemdvComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-add-diemdv", _modal_add_diemdv_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddDiemdvComponent"], View_ModalAddDiemdvComponent_Host_0, {}, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.scss.shim.ngstyle.js":
  /*!****************************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.scss.shim.ngstyle.js ***!
    \****************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalAddDiemdvModalAddDiemdvComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLWRpZW1kdi9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcaG8tc29cXGFkZFxcbW9kYWwtYWRkLWRpZW1kdlxcbW9kYWwtYWRkLWRpZW1kdi5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLWRpZW1kdi9tb2RhbC1hZGQtZGllbWR2LmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFJO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0NOO0FEQ007RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDQ1IiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL2hvLXNvL2FkZC9tb2RhbC1hZGQtZGllbWR2L21vZGFsLWFkZC1kaWVtZHYuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIgICAgLm1hcCB7XHJcbiAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICBcclxuICAgICAgI3Rvb2xiYXJEaXYge1xyXG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICB0b3A6IDE1cHg7XHJcbiAgICAgICAgcmlnaHQ6IDE1cHg7XHJcbiAgICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcclxuICAgICAgICBmbGV4LXdyYXA6IG5vd3JhcDtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gICIsIi5tYXAge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4ubWFwICN0b29sYmFyRGl2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDE1cHg7XG4gIHJpZ2h0OiAxNXB4O1xuICBjdXJzb3I6IGRlZmF1bHQ7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gIGZsZXgtd3JhcDogbm93cmFwO1xufSJdfQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ts":
  /*!**********************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ts ***!
    \**********************************************************************************/

  /*! exports provided: ModalAddDiemdvComponent */

  /***/
  function srcAppManagerHoSoAddModalAddDiemdvModalAddDiemdvComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddDiemdvComponent", function () {
      return ModalAddDiemdvComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_manager_diem_dich_vu_add_add_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/manager/diem-dich-vu/add/add.component */
    "./src/app/manager/diem-dich-vu/add/add.component.ts");

    var ModalAddDiemdvComponent = /*#__PURE__*/function (_src_app_manager_diem) {
      _inherits(ModalAddDiemdvComponent, _src_app_manager_diem);

      var _super36 = _createSuper(ModalAddDiemdvComponent);

      function ModalAddDiemdvComponent(modal, _service, loginService, toastService, layerService, hanhChinhService, attachmentService) {
        var _this158;

        _classCallCheck(this, ModalAddDiemdvComponent);

        _this158 = _super36.call(this, _service, loginService, toastService, layerService, hanhChinhService, attachmentService);
        _this158.modal = modal;
        _this158.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        return _this158;
      }

      _createClass(ModalAddDiemdvComponent, [{
        key: "handleAdd",
        value: function handleAdd(event) {
          var _this159 = this;

          var diemDichVu = event;
          diemDichVu.TenDoanhNghiep = this.maDoanhNghiep;
          this.hanhChinhService.getLocationInfo(this.geometry).then(function (locationInfo) {
            if (locationInfo) {
              for (var _i52 in locationInfo) {
                diemDichVu[_i52] = locationInfo[_i52];
              }
            }

            _this159.passEntry.emit({
              attributes: diemDichVu,
              geometry: _this159.geometry
            });

            _this159.modal.dismiss('OK');
          });
        }
      }]);

      return ModalAddDiemdvComponent;
    }(src_app_manager_diem_dich_vu_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"]);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ngfactory.js":
  /*!********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ngfactory.js ***!
    \********************************************************************************************/

  /*! exports provided: RenderType_ModalAddTcngamComponent, View_ModalAddTcngamComponent_0, View_ModalAddTcngamComponent_Host_0, ModalAddTcngamComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalAddTcngamModalAddTcngamComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalAddTcngamComponent", function () {
      return RenderType_ModalAddTcngamComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddTcngamComponent_0", function () {
      return View_ModalAddTcngamComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddTcngamComponent_Host_0", function () {
      return View_ModalAddTcngamComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddTcngamComponentNgFactory", function () {
      return ModalAddTcngamComponentNgFactory;
    });
    /* harmony import */


    var _modal_add_tcngam_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-add-tcngam.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _modal_add_tcngam_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./modal-add-tcngam.component */
    "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalAddTcngamComponent = [_modal_add_tcngam_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalAddTcngamComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalAddTcngamComponent,
      data: {}
    });

    function View_ModalAddTcngamComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 15, "app-modal-template", [["title", "Th\xEAm Tuy\u1EBFn c\xE1p ng\u1EA7m"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, 0, 0, "div", [["header", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 1, 11, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 10, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 2, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 1, "app-form", [], null, [[null, "onSubmit"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleAdd($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 6, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 5, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_1 = _co.closeSideNav($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, [["toolbarDiv", 1]], null, 2, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-polyline"], ["id", "distance"], ["title", "Distance Measurement Tool"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreateLine() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "Clear Measurements"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).clearGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, 2, 0, "div", [["footer", ""]], null, null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xEAm Tuy\u1EBFn c\xE1p ng\u1EA7m";

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _co.fields;
        var currVal_2 = _co.service;

        _ck(_v, 9, 0, currVal_1, currVal_2);

        _ck(_v, 13, 0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co._active;

        _ck(_v, 15, 0, currVal_3);
      });
    }

    function View_ModalAddTcngamComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-add-tcngam", [], null, null, null, View_ModalAddTcngamComponent_0, RenderType_ModalAddTcngamComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _modal_add_tcngam_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddTcngamComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_14__["TuyenCapNgamService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_15__["LayerService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalAddTcngamComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-add-tcngam", _modal_add_tcngam_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddTcngamComponent"], View_ModalAddTcngamComponent_Host_0, {}, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.scss.shim.ngstyle.js":
  /*!****************************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.scss.shim.ngstyle.js ***!
    \****************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalAddTcngamModalAddTcngamComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRjbmdhbS9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcaG8tc29cXGFkZFxcbW9kYWwtYWRkLXRjbmdhbVxcbW9kYWwtYWRkLXRjbmdhbS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRjbmdhbS9tb2RhbC1hZGQtdGNuZ2FtLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFFO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0NKO0FEQ0k7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDQ04iLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL2hvLXNvL2FkZC9tb2RhbC1hZGQtdGNuZ2FtL21vZGFsLWFkZC10Y25nYW0uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIgIC5tYXAge1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcbiAgICBoZWlnaHQ6IDEwMCU7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcblxyXG4gICAgI3Rvb2xiYXJEaXYge1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHRvcDogMTVweDtcclxuICAgICAgcmlnaHQ6IDE1cHg7XHJcbiAgICAgIGN1cnNvcjogZGVmYXVsdDtcclxuICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcclxuICAgICAgZmxleC13cmFwOiBub3dyYXA7XHJcbiAgICB9XHJcbn0iLCIubWFwIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGhlaWdodDogMTAwJTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuLm1hcCAjdG9vbGJhckRpdiB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNXB4O1xuICByaWdodDogMTVweDtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBmbGV4LXdyYXA6IG5vd3JhcDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ts":
  /*!**********************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ts ***!
    \**********************************************************************************/

  /*! exports provided: ModalAddTcngamComponent */

  /***/
  function srcAppManagerHoSoAddModalAddTcngamModalAddTcngamComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddTcngamComponent", function () {
      return ModalAddTcngamComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_manager_tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/manager/tuyen-cap-ngam/add/add.component */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ts");

    var ModalAddTcngamComponent = /*#__PURE__*/function (_src_app_manager_tuye) {
      _inherits(ModalAddTcngamComponent, _src_app_manager_tuye);

      var _super37 = _createSuper(ModalAddTcngamComponent);

      function ModalAddTcngamComponent(modal, _service, toastService, layerService, loginService) {
        var _this160;

        _classCallCheck(this, ModalAddTcngamComponent);

        _this160 = _super37.call(this, _service, toastService, layerService, loginService);
        _this160.modal = modal;
        _this160.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        return _this160;
      }

      _createClass(ModalAddTcngamComponent, [{
        key: "handleAdd",
        value: function handleAdd(event) {
          var tuyenCapNgam = event;
          tuyenCapNgam.TenDoanhNghiep = this.maDoanhNghiep;
          this.passEntry.emit({
            attributes: tuyenCapNgam,
            geometry: this.polyline
          });
          this.modal.dismiss('OK');
        }
      }]);

      return ModalAddTcngamComponent;
    }(src_app_manager_tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"]);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ngfactory.js":
  /*!******************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ngfactory.js ***!
    \******************************************************************************************/

  /*! exports provided: RenderType_ModalAddTcnoiComponent, View_ModalAddTcnoiComponent_0, View_ModalAddTcnoiComponent_Host_0, ModalAddTcnoiComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalAddTcnoiModalAddTcnoiComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalAddTcnoiComponent", function () {
      return RenderType_ModalAddTcnoiComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddTcnoiComponent_0", function () {
      return View_ModalAddTcnoiComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddTcnoiComponent_Host_0", function () {
      return View_ModalAddTcnoiComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddTcnoiComponentNgFactory", function () {
      return ModalAddTcnoiComponentNgFactory;
    });
    /* harmony import */


    var _modal_add_tcnoi_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-add-tcnoi.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _modal_add_tcnoi_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./modal-add-tcnoi.component */
    "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalAddTcnoiComponent = [_modal_add_tcnoi_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalAddTcnoiComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalAddTcnoiComponent,
      data: {}
    });

    function View_ModalAddTcnoiComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 15, "app-modal-template", [["title", "Th\xEAm Tuy\u1EBFn c\xE1p n\u1ED5i"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, 0, 0, "div", [["header", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 1, 11, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 10, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 2, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 1, "app-form", [], null, [[null, "onSubmit"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleAdd($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 6, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 5, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_1 = _co.closeSideNav($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, [["toolbarDiv", 1]], null, 2, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-polyline"], ["id", "distance"], ["title", "Distance Measurement Tool"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreateLine() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "Clear Measurements"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).clearGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, 2, 0, "div", [["footer", ""]], null, null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xEAm Tuy\u1EBFn c\xE1p n\u1ED5i";

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _co.fields;
        var currVal_2 = _co.service;

        _ck(_v, 9, 0, currVal_1, currVal_2);

        _ck(_v, 13, 0);
      }, null);
    }

    function View_ModalAddTcnoiComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-add-tcnoi", [], null, null, null, View_ModalAddTcnoiComponent_0, RenderType_ModalAddTcnoiComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _modal_add_tcnoi_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddTcnoiComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_14__["TuyenCapNoiService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_15__["LayerService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalAddTcnoiComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-add-tcnoi", _modal_add_tcnoi_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddTcnoiComponent"], View_ModalAddTcnoiComponent_Host_0, {}, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.scss.shim.ngstyle.js":
  /*!**************************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.scss.shim.ngstyle.js ***!
    \**************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalAddTcnoiModalAddTcnoiComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRjbm9pL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYW5hZ2VyXFxoby1zb1xcYWRkXFxtb2RhbC1hZGQtdGNub2lcXG1vZGFsLWFkZC10Y25vaS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRjbm9pL21vZGFsLWFkZC10Y25vaS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBRTtFQUNFLFdBQUE7RUFDQSxZQUFBO0VBQ0Esa0JBQUE7QUNDSjtBRENJO0VBQ0Usa0JBQUE7RUFDQSxTQUFBO0VBQ0EsV0FBQTtFQUNBLGVBQUE7RUFDQSxhQUFBO0VBQ0EsbUJBQUE7RUFDQSxpQkFBQTtBQ0NOIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRjbm9pL21vZGFsLWFkZC10Y25vaS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIiAgLm1hcCB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgICAjdG9vbGJhckRpdiB7XHJcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgdG9wOiAxNXB4O1xyXG4gICAgICByaWdodDogMTVweDtcclxuICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xyXG4gICAgICBmbGV4LXdyYXA6IG5vd3JhcDtcclxuICAgIH1cclxuICB9XHJcbiIsIi5tYXAge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4ubWFwICN0b29sYmFyRGl2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDE1cHg7XG4gIHJpZ2h0OiAxNXB4O1xuICBjdXJzb3I6IGRlZmF1bHQ7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gIGZsZXgtd3JhcDogbm93cmFwO1xufSJdfQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ts":
  /*!********************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ts ***!
    \********************************************************************************/

  /*! exports provided: ModalAddTcnoiComponent */

  /***/
  function srcAppManagerHoSoAddModalAddTcnoiModalAddTcnoiComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddTcnoiComponent", function () {
      return ModalAddTcnoiComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_manager_tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/manager/tuyen-cap-ngam/add/add.component */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ts");

    var ModalAddTcnoiComponent = /*#__PURE__*/function (_src_app_manager_tuye2) {
      _inherits(ModalAddTcnoiComponent, _src_app_manager_tuye2);

      var _super38 = _createSuper(ModalAddTcnoiComponent);

      function ModalAddTcnoiComponent(modal, _service, toastService, layerService, loginService) {
        var _this161;

        _classCallCheck(this, ModalAddTcnoiComponent);

        _this161 = _super38.call(this, _service, toastService, layerService, loginService);
        _this161.modal = modal;
        _this161.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        return _this161;
      }

      _createClass(ModalAddTcnoiComponent, [{
        key: "handleAdd",
        value: function handleAdd(event) {
          var tuyenCapNoi = event;
          tuyenCapNoi.TenDoanhNghiep = this.maDoanhNghiep;
          this.passEntry.emit({
            attributes: tuyenCapNoi,
            geometry: this.polyline
          });
          this.modal.dismiss('OK');
        }
      }]);

      return ModalAddTcnoiComponent;
    }(src_app_manager_tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"]);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ngfactory.js":
  /*!**********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ngfactory.js ***!
    \**********************************************************************************************/

  /*! exports provided: RenderType_ModalAddTrambtsComponent, View_ModalAddTrambtsComponent_0, View_ModalAddTrambtsComponent_Host_0, ModalAddTrambtsComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalAddTrambtsModalAddTrambtsComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalAddTrambtsComponent", function () {
      return RenderType_ModalAddTrambtsComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddTrambtsComponent_0", function () {
      return View_ModalAddTrambtsComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalAddTrambtsComponent_Host_0", function () {
      return View_ModalAddTrambtsComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddTrambtsComponentNgFactory", function () {
      return ModalAddTrambtsComponentNgFactory;
    });
    /* harmony import */


    var _modal_add_trambts_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-add-trambts.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _modal_add_trambts_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./modal-add-trambts.component */
    "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../../shared/services/bts-attachment.service */
    "./src/app/manager/shared/services/bts-attachment.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalAddTrambtsComponent = [_modal_add_trambts_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalAddTrambtsComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalAddTrambtsComponent,
      data: {}
    });

    function View_ModalAddTrambtsComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 16, "app-modal-template", [["title", "Th\xEAm Tr\u1EA1m BTS"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, 0, 0, "div", [["header", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 1, 12, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 11, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 2, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 1, "app-form", [], null, [[null, "onSubmit"], [null, "onKeyup"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleAdd($event) !== false;
          ad = pd_0 && ad;
        }

        if ("onKeyup" === en) {
          var pd_1 = _co.handleKeyup($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_6__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit",
        onKeyup: "onKeyup"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 7, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 6, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_1 = _co.closeSideNav($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_12__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, [["toolbarDiv", 1]], null, 3, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 1, "button", [["class", "esri-widget--button esri-interactive"], ["id", "distance"], ["title", "V\u1EBD"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreatePoint() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_10__["NgClass"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        klass: [0, "klass"],
        ngClass: [1, "ngClass"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "X\xF3a"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.removeGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, 2, 0, "div", [["footer", ""]], null, null, null, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xEAm Tr\u1EA1m BTS";

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _co.fields;
        var currVal_2 = _co.service;

        _ck(_v, 9, 0, currVal_1, currVal_2);

        _ck(_v, 13, 0);

        var currVal_4 = "esri-widget--button esri-interactive";
        var currVal_5 = "esri-icon-radio-checked";

        _ck(_v, 16, 0, currVal_4, currVal_5);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.active;

        _ck(_v, 15, 0, currVal_3);
      });
    }

    function View_ModalAddTrambtsComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-add-trambts", [], null, null, null, View_ModalAddTrambtsComponent_0, RenderType_ModalAddTrambtsComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4833280, null, 0, _modal_add_trambts_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddTrambtsComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_14__["TramBtsService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_15__["BtsAttachmentService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_16__["LayerService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalAddTrambtsComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-add-trambts", _modal_add_trambts_component__WEBPACK_IMPORTED_MODULE_13__["ModalAddTrambtsComponent"], View_ModalAddTrambtsComponent_Host_0, {}, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.scss.shim.ngstyle.js":
  /*!******************************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.scss.shim.ngstyle.js ***!
    \******************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalAddTrambtsModalAddTrambtsComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRyYW1idHMvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXGhvLXNvXFxhZGRcXG1vZGFsLWFkZC10cmFtYnRzXFxtb2RhbC1hZGQtdHJhbWJ0cy5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYWRkLXRyYW1idHMvbW9kYWwtYWRkLXRyYW1idHMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUk7RUFDRSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0FDQ047QURBTTtFQUNFLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFdBQUE7RUFDQSxlQUFBO0VBQ0EsYUFBQTtFQUNBLG1CQUFBO0VBQ0EsaUJBQUE7QUNFUiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vYWRkL21vZGFsLWFkZC10cmFtYnRzL21vZGFsLWFkZC10cmFtYnRzLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiICAgIC5tYXAge1xyXG4gICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICAgICN0b29sYmFyRGl2IHtcclxuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgdG9wOiAxNXB4O1xyXG4gICAgICAgIHJpZ2h0OiAxNXB4O1xyXG4gICAgICAgIGN1cnNvcjogZGVmYXVsdDtcclxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XHJcbiAgICAgICAgZmxleC13cmFwOiBub3dyYXA7XHJcbiAgICAgIH1cclxuICAgIH1cclxuICBcclxuICBcclxuICAiLCIubWFwIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGhlaWdodDogMTAwJTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuLm1hcCAjdG9vbGJhckRpdiB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNXB4O1xuICByaWdodDogMTVweDtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBmbGV4LXdyYXA6IG5vd3JhcDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ts":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ts ***!
    \************************************************************************************/

  /*! exports provided: ModalAddTrambtsComponent */

  /***/
  function srcAppManagerHoSoAddModalAddTrambtsModalAddTrambtsComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalAddTrambtsComponent", function () {
      return ModalAddTrambtsComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_manager_tram_bts_add_add_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/manager/tram-bts/add/add.component */
    "./src/app/manager/tram-bts/add/add.component.ts");

    var ModalAddTrambtsComponent = /*#__PURE__*/function (_src_app_manager_tram) {
      _inherits(ModalAddTrambtsComponent, _src_app_manager_tram);

      var _super39 = _createSuper(ModalAddTrambtsComponent);

      function ModalAddTrambtsComponent(modal, _service, toastService, attachmentService, layerService, loginService, hanhChinhService) {
        var _this162;

        _classCallCheck(this, ModalAddTrambtsComponent);

        _this162 = _super39.call(this, _service, toastService, attachmentService, layerService, loginService, hanhChinhService);
        _this162.modal = modal;
        _this162.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        _this162.fields = [{
          prop: 'MaTram',
          name: 'Mã trạm',
          type: 'text',
          frozenLeft: true,
          width: 150,
          require: true,
          placeholder: 'Mã trạm'
        }, {
          prop: 'TenTram',
          name: 'Tên trạm',
          type: 'text',
          frozenLeft: true,
          width: 150,
          require: true,
          placeholder: 'Tên trạm'
        }, {
          prop: 'ToaDoX',
          name: 'Tọa độ X',
          type: 'text',
          width: 150,
          require: true,
          placeholder: 'Tọa độ X (Có thể chọn 1 điểm trên bản đồ)'
        }, {
          prop: 'ToaDoY',
          name: 'Tọa độ Y',
          type: 'text',
          width: 150,
          require: true,
          placeholder: 'Tọa độ Y (Có thể chọn 1 điểm trên bản đồ)'
        }, {
          prop: 'DiaChi',
          name: 'Địa chỉ',
          type: 'text',
          width: 550,
          placeholder: 'Địa chỉ'
        }, {
          prop: 'ChuSoHuuDat',
          name: 'Chủ sỡ hữu đất',
          type: 'text',
          width: 250,
          placeholder: 'Chủ sở hữu đất'
        }, {
          prop: 'LoaiAngTen',
          name: 'Loại ăng ten',
          type: 'select',
          width: 150,
          placeholder: 'Loại ăng ten'
        }, {
          prop: 'LoaiTram',
          name: 'Loại trạm',
          type: 'select',
          width: 150,
          placeholder: 'Loại trạm'
        }, {
          prop: 'DoCaoTram',
          name: 'Độ cao trạm',
          type: 'text',
          width: 150,
          placeholder: 'Độ cao trạm'
        }, {
          prop: 'DoCaoTang',
          name: 'Độ cao tầng',
          type: 'text',
          width: 150,
          placeholder: 'Độ cao tầng'
        }, {
          prop: 'CongSuat',
          name: 'Công suất',
          type: 'text',
          width: 150,
          placeholder: 'Công xuất'
        }, {
          prop: 'GocNgan',
          name: 'Số lượng ăng ten phát',
          type: 'text',
          width: 150,
          placeholder: 'Số lượng ăng ten phát'
        }, {
          prop: 'ThietBiLapDat',
          name: 'Thiết bị lắp đặt',
          type: 'text',
          width: 150,
          placeholder: 'Thiết bị lắp đặt'
        }, {
          prop: 'NguoiCungCapThongTin',
          name: 'Người cung cấp thông tin',
          type: 'text',
          width: 150,
          placeholder: 'Người cung cấp thông tin'
        }, {
          prop: 'GhiChu',
          name: 'Ghi chú',
          type: 'text',
          width: 250,
          placeholder: 'Ghi chú'
        }];
        return _this162;
      }

      _createClass(ModalAddTrambtsComponent, [{
        key: "handleAdd",
        value: function handleAdd(event) {
          var _this163 = this;

          var tramBts = event;
          tramBts.TenDoanhNghiep = this.maDoanhNghiep;
          this.hanhChinhService.getLocationInfo(this.geometry).then(function (locationInfo) {
            if (locationInfo) {
              for (var _i53 in locationInfo) {
                tramBts[_i53] = locationInfo[_i53];
              }
            }

            _this163.passEntry.emit({
              attributes: tramBts,
              geometry: _this163.geometry
            });

            _this163.modal.dismiss('OK');
          });
        }
      }]);

      return ModalAddTrambtsComponent;
    }(src_app_manager_tram_bts_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"]);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ngfactory.js":
  /*!****************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ngfactory.js ***!
    \****************************************************************************************/

  /*! exports provided: RenderType_ModalApprovedComponent, View_ModalApprovedComponent_0, View_ModalApprovedComponent_Host_0, ModalApprovedComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalApprovedModalApprovedComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalApprovedComponent", function () {
      return RenderType_ModalApprovedComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalApprovedComponent_0", function () {
      return View_ModalApprovedComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalApprovedComponent_Host_0", function () {
      return View_ModalApprovedComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalApprovedComponentNgFactory", function () {
      return ModalApprovedComponentNgFactory;
    });
    /* harmony import */


    var _modal_approved_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-approved.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _modal_approved_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./modal-approved.component */
    "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_notify_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../../shared/services/notify.service */
    "./src/app/shared/services/notify.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalApprovedComponent = [_modal_approved_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalApprovedComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalApprovedComponent,
      data: {}
    });

    function View_ModalApprovedComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", " file row mb-2 mr-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 6, "a", [["class", "p-2  shadow-sm bg-white rounded text-darkp-2 shadow-sm bg-white rounded text-dark"], ["target", "_blank"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "a", [["class", "btn-del"], ["href", "javascript:void(0)"], ["plac", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.deleteFileAttach(_v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["x"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 3, "div", [["class", "d-flex h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 0, "i", [["class", "fas fa-file-pdf"], ["style", " font-size: 25px; color: red;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "span", [["class", "file-name"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](7, null, ["", ""]))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.name;

        _ck(_v, 7, 0, currVal_0);
      });
    }

    function View_ModalApprovedComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 30, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"],
        isAction: [1, "isAction"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 21, "div", [["body", ""], ["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 9, "div", [["class", "col-6 content"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 8, "fieldset", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "legend", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["N\u1ED9i dung ph\xFAc \u0111\xE1p"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 5, "textarea", [["class", "form-control form-control-lg"], ["cols", "20"], ["placeholder", "Nh\u1EADp n\u1ED9i dung ph\xFAc \u0111\xE1p"], ["rows", "4"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.content = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 10, "div", [["class", "col-6 attach"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 9, "fieldset", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 0, "legend", [["class", "scheduler-border"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 4, "div", [["class", "files-attach"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, [["fileEl", 1]], null, 0, "input", [["accept", "application/pdf"], ["hidden", ""], ["name", "file"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.fileChange(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17)) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 2, "app-button", [["btnClass", "btn-primary mr-1"], ["icon", "paperclip"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17).click() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](19, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["\u0110\xEDnh k\xE8m"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](21, 0, null, null, 2, "div", [["class", "list-files"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalApprovedComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_8__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](25, 0, null, null, 2, "app-button", [["btnClass", "btn-success"], ["icon", "check"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onSave() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](26, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["Ph\xEA duy\u1EC7t"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](28, 0, null, null, 2, "app-button", [["btnClass", "btn-secondary"], ["icon", "close"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClose() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](29, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;
        var currVal_1 = false;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_9 = _co.content;

        _ck(_v, 10, 0, currVal_9);

        var currVal_10 = "btn-primary mr-1";
        var currVal_11 = "paperclip";

        _ck(_v, 19, 0, currVal_10, currVal_11);

        var currVal_12 = _co.arrayFiles;

        _ck(_v, 23, 0, currVal_12);

        var currVal_13 = "btn-success";
        var currVal_14 = "check";

        _ck(_v, 26, 0, currVal_13, currVal_14);

        var currVal_15 = "btn-secondary";
        var currVal_16 = "close";

        _ck(_v, 29, 0, currVal_15, currVal_16);
      }, function (_ck, _v) {
        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassUntouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassTouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassPristine;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassDirty;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassValid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassInvalid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 12).ngClassPending;

        _ck(_v, 7, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      });
    }

    function View_ModalApprovedComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-approved", [], null, null, null, View_ModalApprovedComponent_0, RenderType_ModalApprovedComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_approved_component__WEBPACK_IMPORTED_MODULE_9__["ModalApprovedComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbModal"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__["ApiService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__["ToastService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_13__["TramBtsService"], _shared_services_notify_service__WEBPACK_IMPORTED_MODULE_14__["NotifyService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalApprovedComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-approved", _modal_approved_component__WEBPACK_IMPORTED_MODULE_9__["ModalApprovedComponent"], View_ModalApprovedComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.scss.shim.ngstyle.js":
  /*!************************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-approved/modal-approved.component.scss.shim.ngstyle.js ***!
    \************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalApprovedModalApprovedComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".attach[_ngcontent-%COMP%]   .files-attach[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: space-between;\n}\n.attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%] {\n  display: flex;\n  flex-wrap: wrap;\n  margin-top: 10px;\n}\n.attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%] {\n  width: 30%;\n  border: 1px solid #e8e8e8;\n  position: relative;\n}\n.attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n  position: relative;\n  width: 100%;\n}\n.attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%] {\n  white-space: normal;\n  font-size: 14px;\n  margin-left: 5px;\n  width: inherit;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.attach[_ngcontent-%COMP%]   .list-files[_ngcontent-%COMP%]   .file[_ngcontent-%COMP%]   .btn-del[_ngcontent-%COMP%] {\n  position: absolute;\n  top: -5px;\n  right: -5px;\n  height: 15px;\n  width: 15px;\n  font-weight: 600;\n  line-height: 0.65;\n  color: white;\n  font-size: 14px;\n  background: #ff8f8f;\n  text-align: center;\n  border-radius: 50%;\n}\ntextarea[_ngcontent-%COMP%] {\n  resize: none;\n}\nfieldset.scheduler-border[_ngcontent-%COMP%] {\n  border: 1px groove #00000012 !important;\n  padding: 0 0.75em 0.75em 0.75em !important;\n  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n  height: 180px !important;\n}\nlegend.scheduler-border[_ngcontent-%COMP%] {\n  font-size: 1em !important;\n  font-weight: 500 !important;\n  text-align: left !important;\n  width: auto;\n  padding: 0 10px;\n  border-bottom: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYXBwcm92ZWQvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXGhvLXNvXFxhZGRcXG1vZGFsLWFwcHJvdmVkXFxtb2RhbC1hcHByb3ZlZC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYXBwcm92ZWQvbW9kYWwtYXBwcm92ZWQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0k7RUFDSSxhQUFBO0VBQ0EsOEJBQUE7QUNBUjtBREdJO0VBQ0ksYUFBQTtFQUNBLGVBQUE7RUFDQSxnQkFBQTtBQ0RSO0FER1E7RUFDSSxVQUFBO0VBQ0EseUJBQUE7RUFDQSxrQkFBQTtBQ0RaO0FER1k7RUFDSSxxQkFBQTtFQUVBLGtCQUFBO0VBRUEsV0FBQTtBQ0hoQjtBRE1ZO0VBQ0ksbUJBQUE7RUFDQSxlQUFBO0VBQ0EsZ0JBQUE7RUFDQSxjQUFBO0VBQ0EsbUJBQUE7RUFDQSxnQkFBQTtFQUNBLHVCQUFBO0FDSmhCO0FET1k7RUFDSSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtFQUNBLGlCQUFBO0VBQ0EsWUFBQTtFQUNBLGVBQUE7RUFDQSxtQkFBQTtFQUNBLGtCQUFBO0VBQ0Esa0JBQUE7QUNMaEI7QURhQTtFQUNJLFlBQUE7QUNWSjtBRGFBO0VBQ0ksdUNBQUE7RUFDQSwwQ0FBQTtFQUVRLDhEQUFBO0VBQ1Isd0JBQUE7QUNWSjtBRGFJO0VBQ0kseUJBQUE7RUFDQSwyQkFBQTtFQUNBLDJCQUFBO0VBQ0EsV0FBQTtFQUNBLGVBQUE7RUFDQSxtQkFBQTtBQ1ZSIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtYXBwcm92ZWQvbW9kYWwtYXBwcm92ZWQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuYXR0YWNoIHtcclxuICAgIC5maWxlcy1hdHRhY2gge1xyXG4gICAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xyXG4gICAgfVxyXG5cclxuICAgIC5saXN0LWZpbGVzIHtcclxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICAgIGZsZXgtd3JhcDogd3JhcDtcclxuICAgICAgICBtYXJnaW4tdG9wOiAxMHB4O1xyXG5cclxuICAgICAgICAuZmlsZSB7XHJcbiAgICAgICAgICAgIHdpZHRoOiAzMCU7XHJcbiAgICAgICAgICAgIGJvcmRlcjogMXB4IHNvbGlkICNlOGU4ZTg7XHJcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgICAgICAgICAgIGEge1xyXG4gICAgICAgICAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG4gICAgICAgICAgICAgICAgLy8gaGVpZ2h0OiA3MnB4O1xyXG4gICAgICAgICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICAgICAgICAgICAgICAgLy8gYm9yZGVyOiAxcHggc29saWQgI2U4ZThlODtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuZmlsZS1uYW1lIHtcclxuICAgICAgICAgICAgICAgIHdoaXRlLXNwYWNlOiBub3JtYWw7XHJcbiAgICAgICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgICAgICAgICBtYXJnaW4tbGVmdDogNXB4O1xyXG4gICAgICAgICAgICAgICAgd2lkdGg6IGluaGVyaXQ7XHJcbiAgICAgICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgICAgICAgICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gICAgICAgICAgICB9XHJcblxyXG4gICAgICAgICAgICAuYnRuLWRlbCB7XHJcbiAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgICAgICAgICB0b3A6IC01cHg7XHJcbiAgICAgICAgICAgICAgICByaWdodDogLTVweDtcclxuICAgICAgICAgICAgICAgIGhlaWdodDogMTVweDtcclxuICAgICAgICAgICAgICAgIHdpZHRoOiAxNXB4O1xyXG4gICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcclxuICAgICAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAwLjY1O1xyXG4gICAgICAgICAgICAgICAgY29sb3I6IHdoaXRlO1xyXG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZDogI2ZmOGY4ZjtcclxuICAgICAgICAgICAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxufVxyXG5cclxuXHJcblxyXG50ZXh0YXJlYSB7XHJcbiAgICByZXNpemU6IG5vbmU7XHJcbn1cclxuXHJcbmZpZWxkc2V0LnNjaGVkdWxlci1ib3JkZXIge1xyXG4gICAgYm9yZGVyOiAxcHggZ3Jvb3ZlICMwMDAwMDAxMiAhaW1wb3J0YW50O1xyXG4gICAgcGFkZGluZzogMCAwLjc1ZW0gMC43NWVtIDAuNzVlbSAhaW1wb3J0YW50O1xyXG4gICAgLXdlYmtpdC1ib3gtc2hhZG93OiAgMCAwLjEyNXJlbSAwLjI1cmVtIHJnYmEoMCwgMCwgMCwgMC4wNzUpICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICAgIGJveC1zaGFkb3c6ICAwIDAuMTI1cmVtIDAuMjVyZW0gcmdiYSgwLCAwLCAwLCAwLjA3NSkgIWltcG9ydGFudDtcclxuICAgIGhlaWdodDogMTgwcHggIWltcG9ydGFudDtcclxufVxyXG5cclxuICAgIGxlZ2VuZC5zY2hlZHVsZXItYm9yZGVyIHtcclxuICAgICAgICBmb250LXNpemU6IDFlbSAhaW1wb3J0YW50O1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiA1MDAgIWltcG9ydGFudDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgd2lkdGg6YXV0bztcclxuICAgICAgICBwYWRkaW5nOjAgMTBweDtcclxuICAgICAgICBib3JkZXItYm90dG9tOm5vbmU7XHJcbiAgICB9IiwiLmF0dGFjaCAuZmlsZXMtYXR0YWNoIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xufVxuLmF0dGFjaCAubGlzdC1maWxlcyB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtd3JhcDogd3JhcDtcbiAgbWFyZ2luLXRvcDogMTBweDtcbn1cbi5hdHRhY2ggLmxpc3QtZmlsZXMgLmZpbGUge1xuICB3aWR0aDogMzAlO1xuICBib3JkZXI6IDFweCBzb2xpZCAjZThlOGU4O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uYXR0YWNoIC5saXN0LWZpbGVzIC5maWxlIGEge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgd2lkdGg6IDEwMCU7XG59XG4uYXR0YWNoIC5saXN0LWZpbGVzIC5maWxlIC5maWxlLW5hbWUge1xuICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xuICBmb250LXNpemU6IDE0cHg7XG4gIG1hcmdpbi1sZWZ0OiA1cHg7XG4gIHdpZHRoOiBpbmhlcml0O1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbn1cbi5hdHRhY2ggLmxpc3QtZmlsZXMgLmZpbGUgLmJ0bi1kZWwge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogLTVweDtcbiAgcmlnaHQ6IC01cHg7XG4gIGhlaWdodDogMTVweDtcbiAgd2lkdGg6IDE1cHg7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIGxpbmUtaGVpZ2h0OiAwLjY1O1xuICBjb2xvcjogd2hpdGU7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgYmFja2dyb3VuZDogI2ZmOGY4ZjtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG59XG5cbnRleHRhcmVhIHtcbiAgcmVzaXplOiBub25lO1xufVxuXG5maWVsZHNldC5zY2hlZHVsZXItYm9yZGVyIHtcbiAgYm9yZGVyOiAxcHggZ3Jvb3ZlICMwMDAwMDAxMiAhaW1wb3J0YW50O1xuICBwYWRkaW5nOiAwIDAuNzVlbSAwLjc1ZW0gMC43NWVtICFpbXBvcnRhbnQ7XG4gIC13ZWJraXQtYm94LXNoYWRvdzogMCAwLjEyNXJlbSAwLjI1cmVtIHJnYmEoMCwgMCwgMCwgMC4wNzUpICFpbXBvcnRhbnQ7XG4gIGJveC1zaGFkb3c6IDAgMC4xMjVyZW0gMC4yNXJlbSByZ2JhKDAsIDAsIDAsIDAuMDc1KSAhaW1wb3J0YW50O1xuICBoZWlnaHQ6IDE4MHB4ICFpbXBvcnRhbnQ7XG59XG5cbmxlZ2VuZC5zY2hlZHVsZXItYm9yZGVyIHtcbiAgZm9udC1zaXplOiAxZW0gIWltcG9ydGFudDtcbiAgZm9udC13ZWlnaHQ6IDUwMCAhaW1wb3J0YW50O1xuICB0ZXh0LWFsaWduOiBsZWZ0ICFpbXBvcnRhbnQ7XG4gIHdpZHRoOiBhdXRvO1xuICBwYWRkaW5nOiAwIDEwcHg7XG4gIGJvcmRlci1ib3R0b206IG5vbmU7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ts":
  /*!******************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ts ***!
    \******************************************************************************/

  /*! exports provided: ModalApprovedComponent */

  /***/
  function srcAppManagerHoSoAddModalApprovedModalApprovedComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalApprovedComponent", function () {
      return ModalApprovedComponent;
    });
    /* harmony import */


    var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/environments/environment */
    "./src/environments/environment.ts");
    /* harmony import */


    var _modal_rename_modal_rename_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../modal-rename/modal-rename.component */
    "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ts");

    var ModalApprovedComponent = /*#__PURE__*/function () {
      function ModalApprovedComponent(modal, modalService, apiService, toastService, loginService, tramBtsService, notifyService) {
        _classCallCheck(this, ModalApprovedComponent);

        this.modal = modal;
        this.modalService = modalService;
        this.apiService = apiService;
        this.toastService = toastService;
        this.loginService = loginService;
        this.tramBtsService = tramBtsService;
        this.notifyService = notifyService;
        this.title = 'Phúc đáp hồ sơ';
        this.arrayFiles = [];
        this.listTramBts = [];
      }

      _createClass(ModalApprovedComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "onClose",
        value: function onClose() {
          this.modal.dismiss();
        }
      }, {
        key: "onSave",
        value: function onSave() {
          var _this164 = this;

          if (!this.content || this.arrayFiles.length === 0) {
            this.toastService.warning('Vui lòng nhập nội dung phúc đáp và đính kèm văn bản pháp lý!');
          } else {
            var formData = new FormData();
            formData.append('target_id', this.idHoSo);
            formData.append('target_module', 'HoSo');
            formData.append('ma_tai_khoan', this.loginService.taiKhoan.MaTaiKhoan);
            formData.append('Subject', this.name);
            formData.append('file', this.files);
            this.apiService.post('QuanLyVanBan/Attachment', formData, true).then(function (res) {
              if (res) {
                _this164.apiService.post("HoSoes/DuyetHoSo", {
                  id: _this164.idHoSo,
                  status: 4,
                  ma_tai_khoan: _this164.loginService.taiKhoan.MaTaiKhoan,
                  phuc_dap: _this164.content
                }).then(function (res) {
                  _this164.notifyService.countHsChoPheDuyet();

                  _this164.modal.close('ok');
                });
              }
            });
          }
        }
      }, {
        key: "deleteFileAttach",
        value: function deleteFileAttach(file) {
          var delFile = this.arrayFiles.indexOf(file);
          this.arrayFiles.splice(delFile, 1);
          this.toastService.success('Xóa thành công!');
        }
      }, {
        key: "fileChange",
        value: function fileChange(inputElement) {
          var _this165 = this;

          if (inputElement.files[0]) {
            this.files = inputElement.files[0];
            var modal = this.modalService.open(_modal_rename_modal_rename_component__WEBPACK_IMPORTED_MODULE_1__["ModalRenameComponent"], {
              centered: true
            });
            modal.componentInstance.name = inputElement.files[0].name.split('.')[0];
            modal.result.then(function (response) {
              _this165.name = response;

              _this165.arrayFiles.push({
                name: _this165.name
              });

              _this165.toastService.success('Đính kèm thành công!');
            }, function (res) {});
          }
        }
      }, {
        key: "downloadFilePDF",
        value: function downloadFilePDF(url) {
          return src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].apiUrl + url;
        }
      }]);

      return ModalApprovedComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-details/modal-details.component.ngfactory.js":
  /*!**************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-details/modal-details.component.ngfactory.js ***!
    \**************************************************************************************/

  /*! exports provided: RenderType_ModalDetailsComponent, View_ModalDetailsComponent_0, View_ModalDetailsComponent_Host_0, ModalDetailsComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalDetailsModalDetailsComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalDetailsComponent", function () {
      return RenderType_ModalDetailsComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalDetailsComponent_0", function () {
      return View_ModalDetailsComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalDetailsComponent_Host_0", function () {
      return View_ModalDetailsComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalDetailsComponentNgFactory", function () {
      return ModalDetailsComponentNgFactory;
    });
    /* harmony import */


    var _modal_details_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-details.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-details/modal-details.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _modal_details_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./modal-details.component */
    "./src/app/manager/ho-so/add/modal-details/modal-details.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalDetailsComponent = [_modal_details_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalDetailsComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalDetailsComponent,
      data: {}
    });

    function View_ModalDetailsComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-template", [["header", "Chi ti\u1EBFt h\u1ED3 s\u01A1"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_ModalDetailsComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-details", [], null, null, null, View_ModalDetailsComponent_0, RenderType_ModalDetailsComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_details_component__WEBPACK_IMPORTED_MODULE_5__["ModalDetailsComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalDetailsComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-details", _modal_details_component__WEBPACK_IMPORTED_MODULE_5__["ModalDetailsComponent"], View_ModalDetailsComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-details/modal-details.component.scss.shim.ngstyle.js":
  /*!**********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-details/modal-details.component.scss.shim.ngstyle.js ***!
    \**********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalDetailsModalDetailsComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vYWRkL21vZGFsLWRldGFpbHMvbW9kYWwtZGV0YWlscy5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-details/modal-details.component.ts":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-details/modal-details.component.ts ***!
    \****************************************************************************/

  /*! exports provided: ModalDetailsComponent */

  /***/
  function srcAppManagerHoSoAddModalDetailsModalDetailsComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalDetailsComponent", function () {
      return ModalDetailsComponent;
    });

    var ModalDetailsComponent = /*#__PURE__*/function () {
      function ModalDetailsComponent() {
        _classCallCheck(this, ModalDetailsComponent);
      }

      _createClass(ModalDetailsComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ModalDetailsComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ngfactory.js":
  /*!********************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ngfactory.js ***!
    \********************************************************************************/

  /*! exports provided: RenderType_ModalEditComponent, View_ModalEditComponent_0, View_ModalEditComponent_Host_0, ModalEditComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalEditModalEditComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalEditComponent", function () {
      return RenderType_ModalEditComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalEditComponent_0", function () {
      return View_ModalEditComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalEditComponent_Host_0", function () {
      return View_ModalEditComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalEditComponentNgFactory", function () {
      return ModalEditComponentNgFactory;
    });
    /* harmony import */


    var _modal_edit_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-edit.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _modal_edit_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./modal-edit.component */
    "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalEditComponent = [_modal_edit_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalEditComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalEditComponent,
      data: {}
    });

    function View_ModalEditComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-control form-control-sm"]], [[8, "type", 0], [1, "name", 0], [8, "placeholder", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.data.attributes[_v.parent.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        isDisabled: [0, "isDisabled"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_10 = _v.parent.parent.context.$implicit.disable;
        var currVal_11 = _co.data.attributes[_v.parent.parent.context.$implicit.prop];

        _ck(_v, 3, 0, currVal_10, currVal_11);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.parent.context.$implicit.type;
        var currVal_1 = _v.parent.parent.context.$implicit.prop;
        var currVal_2 = _v.parent.parent.context.$implicit.name;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      });
    }

    function View_ModalEditComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], [[8, "selected", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = (_co.data == null ? null : _co.data.attributes[_v.parent.parent.parent.context.$implicit.prop]) === _v.context.$implicit.code;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_ModalEditComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "select", [["class", "form-control form-control-sm"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.data.attributes[_v.parent.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalEditComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.data.attributes[_v.parent.parent.context.$implicit.prop] ? _co.data.attributes[_v.parent.parent.context.$implicit.prop] : "";

        _ck(_v, 3, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 7, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 8, 0, currVal_9);

        var currVal_10 = _v.parent.parent.context.$implicit.options;

        _ck(_v, 11, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_ModalEditComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "div", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalEditComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalEditComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.type === "text" || _v.parent.context.$implicit.type === "number";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.parent.context.$implicit.type === "select" && _v.parent.context.$implicit.prop !== "TenDoanhNghiep";

        _ck(_v, 4, 0, currVal_1);
      }, null);
    }

    function View_ModalEditComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](0, null, [" ", " "])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](1, 2)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.parent.context.$implicit.type === "select" ? _co.getNameDomain(_co.data.attributes[_v.parent.context.$implicit.prop], _v.parent.context.$implicit) : _v.parent.context.$implicit.type === "date" ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 0, 0, _ck(_v, 1, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 0), _co.data.attributes[_v.parent.context.$implicit.prop], "dd/MM/yyyy")) : _co.data.attributes[_v.parent.context.$implicit.prop];

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_ModalEditComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", "col-6"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 6, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "label", [["class", "col-sm-4 col-form-label-sm font-weight-lighter text-right"]], [[8, "htmlFor", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ":"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 3, "div", [["class", "col-sm-8"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalEditComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"],
        ngIfElse: [1, "ngIfElse"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noneEdit", 2]], null, 0, null, View_ModalEditComponent_6))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.isEdit;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7);

        _ck(_v, 6, 0, currVal_2, currVal_3);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.prop;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_ModalEditComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-outline-primary"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.pass(_co.data) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" L\u01B0u"]))], function (_ck, _v) {
        var currVal_0 = "btn-outline-primary";
        var currVal_1 = "save";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalEditComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 11, "app-modal-template", [["title", "Th\xF4ng tin chi ti\u1EBFt"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_7__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, 1, 3, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 2, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalEditComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, 2, 5, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalEditComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 2, "app-button", [["btnClass", "btn-outline-danger"], ["icon", "close"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.modal.dismiss("CLOSE") !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" \u0110\xF3ng"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xF4ng tin chi ti\u1EBFt";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.fields;

        _ck(_v, 6, 0, currVal_1);

        var currVal_2 = _co.isEdit;

        _ck(_v, 9, 0, currVal_2);

        var currVal_3 = "btn-outline-danger";
        var currVal_4 = "close";

        _ck(_v, 11, 0, currVal_3, currVal_4);
      }, null);
    }

    function View_ModalEditComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-edit", [], null, null, null, View_ModalEditComponent_0, RenderType_ModalEditComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 638976, null, 0, _modal_edit_component__WEBPACK_IMPORTED_MODULE_9__["ModalEditComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbActiveModal"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_10__["HanhChinhService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalEditComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-edit", _modal_edit_component__WEBPACK_IMPORTED_MODULE_9__["ModalEditComponent"], View_ModalEditComponent_Host_0, {}, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.scss.shim.ngstyle.js":
  /*!****************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-edit/modal-edit.component.scss.shim.ngstyle.js ***!
    \****************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalEditModalEditComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vYWRkL21vZGFsLWVkaXQvbW9kYWwtZWRpdC5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ts":
  /*!**********************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ts ***!
    \**********************************************************************/

  /*! exports provided: ModalEditComponent */

  /***/
  function srcAppManagerHoSoAddModalEditModalEditComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalEditComponent", function () {
      return ModalEditComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var ModalEditComponent = /*#__PURE__*/function () {
      function ModalEditComponent(modal, hanhChinhService) {
        _classCallCheck(this, ModalEditComponent);

        this.modal = modal;
        this.hanhChinhService = hanhChinhService;
        this.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.fields = [];
        this.isEdit = false;
        this.dataEdited = {};
      } // ngOnChanges(changes: SimpleChange) {
      //   this.data = changes.currentValue.
      // }


      _createClass(ModalEditComponent, [{
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {// this.data = {...changes.currentValue.data}    
        }
      }, {
        key: "pass",
        value: function pass(data) {
          this.modal.dismiss('SAVE');
          this.passEntry.emit(data);
        }
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this166 = this;

          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              _this166.fields = _this166.fields.map(function (m) {
                if (m.type === 'select') {
                  if (m.isQuanHuyenTP) {
                    _this166.hanhChinhService.getAllDistrict().then(function (res) {
                      return m.options = res;
                    });
                  } else if (m.isPhuongXa) {
                    _this166.hanhChinhService.getAllWard().then(function (res) {
                      return m.options = res;
                    });
                  } else {
                    m.options = _this166.service.getField(m.prop).domain.codedValues;
                  }
                }

                return m;
              });
            }
          });
        }
      }, {
        key: "getNameDomain",
        value: function getNameDomain(value, column) {
          var val = column.options.find(function (m) {
            return m.code === value;
          });
          return val && val.name || "";
        }
      }]);

      return ModalEditComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ngfactory.js":
  /*!**********************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ngfactory.js ***!
    \**********************************************************************************/

  /*! exports provided: RenderType_ModalLyDoComponent, View_ModalLyDoComponent_0, View_ModalLyDoComponent_Host_0, ModalLyDoComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalLyDoModalLyDoComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalLyDoComponent", function () {
      return RenderType_ModalLyDoComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalLyDoComponent_0", function () {
      return View_ModalLyDoComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalLyDoComponent_Host_0", function () {
      return View_ModalLyDoComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalLyDoComponentNgFactory", function () {
      return ModalLyDoComponentNgFactory;
    });
    /* harmony import */


    var _modal_ly_do_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-ly-do.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _modal_ly_do_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./modal-ly-do.component */
    "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalLyDoComponent = [_modal_ly_do_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalLyDoComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalLyDoComponent,
      data: {}
    });

    function View_ModalLyDoComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 15, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"],
        isAction: [1, "isAction"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 6, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 5, "textarea", [["class", "form-control form-control-lg"], ["cols", "20"], ["placeholder", "Nh\u1EADp l\xFD do t\u1EEB ch\u1ED1i"], ["rows", "5"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.lyDo = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onSave() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["L\u01B0u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 2, "app-button", [["btnClass", "btn-secondary"], ["icon", "close"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClose() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;
        var currVal_1 = false;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_9 = _co.lyDo;

        _ck(_v, 6, 0, currVal_9);

        var currVal_10 = "btn-danger";
        var currVal_11 = "save";

        _ck(_v, 11, 0, currVal_10, currVal_11);

        var currVal_12 = "btn-secondary";
        var currVal_13 = "close";

        _ck(_v, 14, 0, currVal_12, currVal_13);
      }, function (_ck, _v) {
        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassUntouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassTouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassPristine;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassDirty;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassValid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassInvalid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassPending;

        _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      });
    }

    function View_ModalLyDoComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-ly-do", [], null, null, null, View_ModalLyDoComponent_0, RenderType_ModalLyDoComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_ly_do_component__WEBPACK_IMPORTED_MODULE_8__["ModalLyDoComponent"], [_shared_services_api_service__WEBPACK_IMPORTED_MODULE_9__["ApiService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__["ToastService"], _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_12__["TramBtsService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalLyDoComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-ly-do", _modal_ly_do_component__WEBPACK_IMPORTED_MODULE_8__["ModalLyDoComponent"], View_ModalLyDoComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.scss.shim.ngstyle.js":
  /*!******************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.scss.shim.ngstyle.js ***!
    \******************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalLyDoModalLyDoComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".footer[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: flex-end;\n  margin-right: 10px;\n}\n\ntextarea[_ngcontent-%COMP%] {\n  resize: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtbHktZG8vQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXGhvLXNvXFxhZGRcXG1vZGFsLWx5LWRvXFxtb2RhbC1seS1kby5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtbHktZG8vbW9kYWwtbHktZG8uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EseUJBQUE7RUFDQSxrQkFBQTtBQ0NKOztBREVBO0VBQ0ksWUFBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtbHktZG8vbW9kYWwtbHktZG8uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZm9vdGVyIHtcclxuICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xyXG4gICAgbWFyZ2luLXJpZ2h0OiAxMHB4O1xyXG59XHJcblxyXG50ZXh0YXJlYSB7XHJcbiAgICByZXNpemU6IG5vbmU7XHJcbn0iLCIuZm9vdGVyIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbiAgbWFyZ2luLXJpZ2h0OiAxMHB4O1xufVxuXG50ZXh0YXJlYSB7XG4gIHJlc2l6ZTogbm9uZTtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ts":
  /*!************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ts ***!
    \************************************************************************/

  /*! exports provided: ModalLyDoComponent */

  /***/
  function srcAppManagerHoSoAddModalLyDoModalLyDoComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalLyDoComponent", function () {
      return ModalLyDoComponent;
    });

    var ModalLyDoComponent = /*#__PURE__*/function () {
      function ModalLyDoComponent(apiService, modal, loginService, toastService, tramBtsService) {
        _classCallCheck(this, ModalLyDoComponent);

        this.apiService = apiService;
        this.modal = modal;
        this.loginService = loginService;
        this.toastService = toastService;
        this.tramBtsService = tramBtsService;
        this.title = 'Lý do từ chối';
        this.listTramBts = [];
      }

      _createClass(ModalLyDoComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "onClose",
        value: function onClose() {
          this.modal.dismiss();
        }
      }, {
        key: "onSave",
        value: function onSave() {
          var _this167 = this;

          if (!this.lyDo) {
            this.toastService.warning('Vui lòng nhập lý do từ chối!');
          } else {
            this.apiService.post("HoSoes/TuChoiHoSo", {
              id: this.idHoSo,
              status: 3,
              ma_tai_khoan: this.loginService.taiKhoan.MaTaiKhoan,
              ly_do: this.lyDo
            }, true).then(function (res) {
              // this.listTramBts.forEach(f => {
              //   this.tramBtsService.update({OBJECTID: f.attributes.OBJECTID, TinhTrang: 4})
              // })
              _this167.modal.close('ok');
            });
          }
        }
      }]);

      return ModalLyDoComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ngfactory.js":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ngfactory.js ***!
    \************************************************************************************/

  /*! exports provided: RenderType_ModalRenameComponent, View_ModalRenameComponent_0, View_ModalRenameComponent_Host_0, ModalRenameComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalRenameModalRenameComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalRenameComponent", function () {
      return RenderType_ModalRenameComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalRenameComponent_0", function () {
      return View_ModalRenameComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalRenameComponent_Host_0", function () {
      return View_ModalRenameComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalRenameComponentNgFactory", function () {
      return ModalRenameComponentNgFactory;
    });
    /* harmony import */


    var _modal_rename_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-rename.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _modal_rename_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./modal-rename.component */
    "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalRenameComponent = [_modal_rename_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalRenameComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalRenameComponent,
      data: {}
    });

    function View_ModalRenameComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 15, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"],
        isAction: [1, "isAction"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 6, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 5, "input", [["class", "form-control form-control-lg"], ["cols", "20"], ["placeholder", "T\xEAn v\u0103n b\u1EA3n \u0111\xEDnh k\xE8m"], ["rows", "5"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.name = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onSave() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["L\u01B0u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 2, "app-button", [["btnClass", "btn-secondary"], ["icon", "close"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClose() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;
        var currVal_1 = false;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_9 = _co.name;

        _ck(_v, 6, 0, currVal_9);

        var currVal_10 = "btn-danger";
        var currVal_11 = "save";

        _ck(_v, 11, 0, currVal_10, currVal_11);

        var currVal_12 = "btn-secondary";
        var currVal_13 = "close";

        _ck(_v, 14, 0, currVal_12, currVal_13);
      }, function (_ck, _v) {
        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassUntouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassTouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassPristine;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassDirty;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassValid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassInvalid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassPending;

        _ck(_v, 3, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);
      });
    }

    function View_ModalRenameComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-rename", [], null, null, null, View_ModalRenameComponent_0, RenderType_ModalRenameComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_rename_component__WEBPACK_IMPORTED_MODULE_8__["ModalRenameComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalRenameComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-rename", _modal_rename_component__WEBPACK_IMPORTED_MODULE_8__["ModalRenameComponent"], View_ModalRenameComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.scss.shim.ngstyle.js":
  /*!********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-rename/modal-rename.component.scss.shim.ngstyle.js ***!
    \********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalRenameModalRenameComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vYWRkL21vZGFsLXJlbmFtZS9tb2RhbC1yZW5hbWUuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ts":
  /*!**************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ts ***!
    \**************************************************************************/

  /*! exports provided: ModalRenameComponent */

  /***/
  function srcAppManagerHoSoAddModalRenameModalRenameComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalRenameComponent", function () {
      return ModalRenameComponent;
    });

    var ModalRenameComponent = /*#__PURE__*/function () {
      function ModalRenameComponent(modal, toastService) {
        _classCallCheck(this, ModalRenameComponent);

        this.modal = modal;
        this.toastService = toastService;
        this.title = 'Nhập tên văn bản đính kèm';
      }

      _createClass(ModalRenameComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "onClose",
        value: function onClose() {
          this.modal.dismiss();
        }
      }, {
        key: "onSave",
        value: function onSave() {
          if (!this.name) {
            this.toastService.warning('Vui lòng nhập tên văn bản đính kèm!');
          } else {
            this.modal.close(this.name);
          }
        }
      }]);

      return ModalRenameComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ngfactory.js":
  /*!**********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ngfactory.js ***!
    \**********************************************************************************************/

  /*! exports provided: RenderType_ModalTuchoiTramComponent, View_ModalTuchoiTramComponent_0, View_ModalTuchoiTramComponent_Host_0, ModalTuchoiTramComponentNgFactory */

  /***/
  function srcAppManagerHoSoAddModalTuchoiTramModalTuchoiTramComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalTuchoiTramComponent", function () {
      return RenderType_ModalTuchoiTramComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalTuchoiTramComponent_0", function () {
      return View_ModalTuchoiTramComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalTuchoiTramComponent_Host_0", function () {
      return View_ModalTuchoiTramComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalTuchoiTramComponentNgFactory", function () {
      return ModalTuchoiTramComponentNgFactory;
    });
    /* harmony import */


    var _modal_tuchoi_tram_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-tuchoi-tram.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _modal_tuchoi_tram_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./modal-tuchoi-tram.component */
    "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalTuchoiTramComponent = [_modal_tuchoi_tram_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalTuchoiTramComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalTuchoiTramComponent,
      data: {}
    });

    function View_ModalTuchoiTramComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "textarea", [["class", "form-control form-control-lg"], ["cols", "20"], ["placeholder", "Nh\u1EADp l\xFD do t\u1EEB ch\u1ED1i"], ["rows", "5"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.lyDo = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.lyDo;

        _ck(_v, 3, 0, currVal_7);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_ModalTuchoiTramComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "strong", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["B\u1EA1n ch\u1EAFc ch\u1EAFn mu\u1ED1n c\u1EA5p ph\xE9p cho tr\u1EA1m n\xE0y?"]))], null, null);
    }

    function View_ModalTuchoiTramComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 13, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_4__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"]], {
        title: [0, "title"],
        isAction: [1, "isAction"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 4, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalTuchoiTramComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalTuchoiTramComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onSave() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["L\u01B0u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 2, "app-button", [["btnClass", "btn-secondary"], ["icon", "close"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClose() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;
        var currVal_1 = false;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = _co.flag === _co.Flag.TuChoi;

        _ck(_v, 4, 0, currVal_2);

        var currVal_3 = _co.flag === _co.Flag.PheDuyet;

        _ck(_v, 6, 0, currVal_3);

        var currVal_4 = "btn-danger";
        var currVal_5 = "save";

        _ck(_v, 9, 0, currVal_4, currVal_5);

        var currVal_6 = "btn-secondary";
        var currVal_7 = "close";

        _ck(_v, 12, 0, currVal_6, currVal_7);
      }, null);
    }

    function View_ModalTuchoiTramComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-tuchoi-tram", [], null, null, null, View_ModalTuchoiTramComponent_0, RenderType_ModalTuchoiTramComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_tuchoi_tram_component__WEBPACK_IMPORTED_MODULE_9__["ModalTuchoiTramComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalTuchoiTramComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-tuchoi-tram", _modal_tuchoi_tram_component__WEBPACK_IMPORTED_MODULE_9__["ModalTuchoiTramComponent"], View_ModalTuchoiTramComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.scss.shim.ngstyle.js":
  /*!******************************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.scss.shim.ngstyle.js ***!
    \******************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoAddModalTuchoiTramModalTuchoiTramComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".footer[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: flex-end;\n  margin-right: 10px;\n}\n\ntextarea[_ngcontent-%COMP%] {\n  resize: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtdHVjaG9pLXRyYW0vQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXGhvLXNvXFxhZGRcXG1vZGFsLXR1Y2hvaS10cmFtXFxtb2RhbC10dWNob2ktdHJhbS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtdHVjaG9pLXRyYW0vbW9kYWwtdHVjaG9pLXRyYW0uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxhQUFBO0VBQ0EseUJBQUE7RUFDQSxrQkFBQTtBQ0NKOztBREVBO0VBQ0ksWUFBQTtBQ0NKIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9oby1zby9hZGQvbW9kYWwtdHVjaG9pLXRyYW0vbW9kYWwtdHVjaG9pLXRyYW0uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuZm9vdGVyIHtcclxuICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xyXG4gICAgbWFyZ2luLXJpZ2h0OiAxMHB4O1xyXG59XHJcblxyXG50ZXh0YXJlYSB7XHJcbiAgICByZXNpemU6IG5vbmU7XHJcbn0iLCIuZm9vdGVyIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcbiAgbWFyZ2luLXJpZ2h0OiAxMHB4O1xufVxuXG50ZXh0YXJlYSB7XG4gIHJlc2l6ZTogbm9uZTtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ts":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ts ***!
    \************************************************************************************/

  /*! exports provided: ModalTuchoiTramComponent */

  /***/
  function srcAppManagerHoSoAddModalTuchoiTramModalTuchoiTramComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalTuchoiTramComponent", function () {
      return ModalTuchoiTramComponent;
    });

    var Flag;

    (function (Flag) {
      Flag[Flag["PheDuyet"] = 1] = "PheDuyet";
      Flag[Flag["TuChoi"] = 2] = "TuChoi";
    })(Flag || (Flag = {}));

    var ModalTuchoiTramComponent = /*#__PURE__*/function () {
      function ModalTuchoiTramComponent(modal, toastService) {
        _classCallCheck(this, ModalTuchoiTramComponent);

        this.modal = modal;
        this.toastService = toastService;
        this.Flag = Flag;
      }

      _createClass(ModalTuchoiTramComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          if (this.flag === Flag.PheDuyet) {
            this.title = 'Cấp phép';
          } else if (this.flag === Flag.TuChoi) {
            this.title = 'Lý do từ chối';
          }
        }
      }, {
        key: "onClose",
        value: function onClose() {
          this.modal.dismiss();
        }
      }, {
        key: "onSave",
        value: function onSave() {
          if (this.flag === Flag.PheDuyet) {
            this.modal.close('ok');
          } else if (this.flag === Flag.TuChoi) {
            if (!this.lyDo) {
              this.toastService.warning('Vui lòng nhập lý do từ chối!');
            } else {
              this.modal.close(this.lyDo);
            }
          }
        }
      }]);

      return ModalTuchoiTramComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/ho-so-routing.module.ts":
  /*!*******************************************************!*\
    !*** ./src/app/manager/ho-so/ho-so-routing.module.ts ***!
    \*******************************************************/

  /*! exports provided: HoSoRoutingModule */

  /***/
  function srcAppManagerHoSoHoSoRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HoSoRoutingModule", function () {
      return HoSoRoutingModule;
    });
    /* harmony import */


    var _ho_so_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ho-so.component */
    "./src/app/manager/ho-so/ho-so.component.ts");
    /* harmony import */


    var _list_list_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./list/list.component */
    "./src/app/manager/ho-so/list/list.component.ts");
    /* harmony import */


    var _add_add_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./add/add.component */
    "./src/app/manager/ho-so/add/add.component.ts");

    var routes = [{
      path: '',
      component: _ho_so_component__WEBPACK_IMPORTED_MODULE_0__["HoSoComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'list'
      }, {
        path: 'list',
        component: _list_list_component__WEBPACK_IMPORTED_MODULE_1__["ListComponent"]
      }, {
        path: 'add',
        component: _add_add_component__WEBPACK_IMPORTED_MODULE_2__["AddComponent"]
      }]
    }];

    var HoSoRoutingModule = /*#__PURE__*/_createClass(function HoSoRoutingModule() {
      _classCallCheck(this, HoSoRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/ho-so/ho-so.component.ngfactory.js":
  /*!************************************************************!*\
    !*** ./src/app/manager/ho-so/ho-so.component.ngfactory.js ***!
    \************************************************************/

  /*! exports provided: RenderType_HoSoComponent, View_HoSoComponent_0, View_HoSoComponent_Host_0, HoSoComponentNgFactory */

  /***/
  function srcAppManagerHoSoHoSoComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_HoSoComponent", function () {
      return RenderType_HoSoComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HoSoComponent_0", function () {
      return View_HoSoComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_HoSoComponent_Host_0", function () {
      return View_HoSoComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HoSoComponentNgFactory", function () {
      return HoSoComponentNgFactory;
    });
    /* harmony import */


    var _ho_so_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./ho-so.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/ho-so.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _ho_so_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./ho-so.component */
    "./src/app/manager/ho-so/ho-so.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_HoSoComponent = [_ho_so_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_HoSoComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_HoSoComponent,
      data: {}
    });

    function View_HoSoComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 1, "router-outlet", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 212992, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterOutlet"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["ChildrenOutletContexts"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], [8, null], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_HoSoComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-ho-so", [], null, null, null, View_HoSoComponent_0, RenderType_HoSoComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _ho_so_component__WEBPACK_IMPORTED_MODULE_3__["HoSoComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var HoSoComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-ho-so", _ho_so_component__WEBPACK_IMPORTED_MODULE_3__["HoSoComponent"], View_HoSoComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/ho-so.component.scss.shim.ngstyle.js":
  /*!********************************************************************!*\
    !*** ./src/app/manager/ho-so/ho-so.component.scss.shim.ngstyle.js ***!
    \********************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoHoSoComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vaG8tc28uY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/ho-so.component.ts":
  /*!**************************************************!*\
    !*** ./src/app/manager/ho-so/ho-so.component.ts ***!
    \**************************************************/

  /*! exports provided: HoSoComponent */

  /***/
  function srcAppManagerHoSoHoSoComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HoSoComponent", function () {
      return HoSoComponent;
    });

    var HoSoComponent = /*#__PURE__*/function () {
      function HoSoComponent() {
        _classCallCheck(this, HoSoComponent);
      }

      _createClass(HoSoComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return HoSoComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/ho-so.module.ts":
  /*!***********************************************!*\
    !*** ./src/app/manager/ho-so/ho-so.module.ts ***!
    \***********************************************/

  /*! exports provided: HoSoModule */

  /***/
  function srcAppManagerHoSoHoSoModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HoSoModule", function () {
      return HoSoModule;
    });

    var HoSoModule = /*#__PURE__*/_createClass(function HoSoModule() {
      _classCallCheck(this, HoSoModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/ho-so/list/list.component.ngfactory.js":
  /*!****************************************************************!*\
    !*** ./src/app/manager/ho-so/list/list.component.ngfactory.js ***!
    \****************************************************************/

  /*! exports provided: RenderType_ListComponent, View_ListComponent_0, View_ListComponent_Host_0, ListComponentNgFactory */

  /***/
  function srcAppManagerHoSoListListComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ListComponent", function () {
      return RenderType_ListComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_0", function () {
      return View_ListComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_Host_0", function () {
      return View_ListComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponentNgFactory", function () {
      return ListComponentNgFactory;
    });
    /* harmony import */


    var _list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./list.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/list/list.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _shared_components_table_table_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/components/table/table.component.ngfactory */
    "./src/app/manager/shared/components/table/table.component.ngfactory.js");
    /* harmony import */


    var _shared_components_table_table_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/components/table/table.component */
    "./src/app/manager/shared/components/table/table.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _list_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./list.component */
    "./src/app/manager/ho-so/list/list.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ListComponent = [_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ListComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ListComponent,
      data: {}
    });

    function View_ListComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_ListComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-info"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 ch\u01B0a k\xFD s\u1ED1"]))], null, null);
    }

    function View_ListComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-primary"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 \u0111\xE3 k\xFD s\u1ED1"]))], null, null);
    }

    function View_ListComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-warning"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 ch\u1EDD duy\u1EC7t"]))], null, null);
    }

    function View_ListComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-success"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 \u0111\xE3 duy\u1EC7t"]))], null, null);
    }

    function View_ListComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 b\u1ECB t\u1EEB ch\u1ED1i"]))], null, null);
    }

    function View_ListComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 16, null, null, null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], [], {
        ngSwitch: [0, "ngSwitch"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.value;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.TinhTrangHoSo.HoSoChuaKySo;

        _ck(_v, 4, 0, currVal_1);

        var currVal_2 = _co.TinhTrangHoSo.HoSoDaKySo;

        _ck(_v, 7, 0, currVal_2);

        var currVal_3 = _co.TinhTrangHoSo.HoSoChoDuyet;

        _ck(_v, 10, 0, currVal_3);

        var currVal_4 = _co.TinhTrangHoSo.HoSoDaDuyet;

        _ck(_v, 13, 0, currVal_4);

        var currVal_5 = _co.TinhTrangHoSo.HoSoBiTuChoi;

        _ck(_v, 16, 0, currVal_5);
      }, null);
    }

    function View_ListComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-button", [["btnClass", "btn-outline-primary"], ["icon", "edit"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openModal(_v.parent.context.row, _co.Flag.Edit) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      })], function (_ck, _v) {
        var currVal_0 = "btn-outline-primary";
        var currVal_1 = "edit";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ListComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-button", [["btnClass", "btn-outline-danger"], ["icon", "trash"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co["delete"](_v.parent.context.row) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      })], function (_ck, _v) {
        var currVal_0 = "btn-outline-danger";
        var currVal_1 = "trash";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ListComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, null, null, null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], [], {
        ngSwitch: [0, "ngSwitch"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "app-button", [["btnClass", "btn-outline-success"], ["icon", "eye"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openModal(_v.context.row, _co.Flag.View) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      })], function (_ck, _v) {
        var currVal_0 = _v.context.value;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.row.TrangThai === 0;

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = _v.context.row.TrangThai === 0 || _v.context.row.TrangThai === 1;

        _ck(_v, 5, 0, currVal_2);

        var currVal_3 = "btn-outline-success";
        var currVal_4 = "eye";

        _ck(_v, 7, 0, currVal_3, currVal_4);
      }, null);
    }

    function View_ListComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](2, 2)], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 1, 0, _ck(_v, 2, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _v.context.value, "dd/MM/yyyy"));

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_ListComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "select", [["class", "form-control form-control-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["ffff"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["type", "date"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["type", "date"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 0, "input", [["class", "form-control form-control-sm "], ["placeholder", "T\xEAn h\u1ED3 s\u01A1"]], null, null, null, null, null))], null, null);
    }

    function View_ListComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        editTmpl: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 2, {
        actionTmpl: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 3, {
        date: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 4, {
        filter: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 5, {
        table: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 16, "div", [["class", "container-fluid mt-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 15, "app-table", [], null, null, null, _shared_components_table_table_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_TableComponent_0"], _shared_components_table_table_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_TableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, [[5, 4], ["table", 4]], 0, _shared_components_table_table_component__WEBPACK_IMPORTED_MODULE_7__["TableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__["ApiService"]], {
        columns: [0, "columns"],
        header: [1, "header"],
        url: [2, "url"],
        file: [3, "file"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 0, 13, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 6, "select", [["class", "form-control form-control-sm"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.getData($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Tr\u1EA1ng th\xE1i"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["name", "startDay"], ["type", "date"]], [[8, "value", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.getStartDay($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["name", "endDay"], ["type", "date"]], [[8, "value", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.getEndDay($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](19, 0, null, null, 0, "input", [["class", "form-control form-control-sm "], ["placeholder", "T\xECm ki\u1EBFm t\xEAn h\u1ED3 s\u01A1..."]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.getSearch($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](20, 16777216, null, null, 2, "button", [["class", "btn btn-sm btn-success ml-1"], ["ngbTooltip", "Th\xEAm m\u1EDBi"], ["placement", "left"], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openModal(undefined, _co.Flag.Add) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](21, 737280, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbTooltip"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbTooltipConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        placement: [0, "placement"],
        ngbTooltip: [1, "ngbTooltip"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, null, 0, "i", [["aria-hidden", "true"], ["class", "fa fa-plus"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[1, 2], ["editTmpl", 2]], null, 0, null, View_ListComponent_2)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[2, 2], ["actionTmpl", 2]], null, 0, null, View_ListComponent_8)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[3, 2], ["date", 2]], null, 0, null, View_ListComponent_11)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[4, 2], ["filter", 2]], null, 0, null, View_ListComponent_12))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;
        var currVal_1 = _co.header;
        var currVal_2 = _co.url;
        var currVal_3 = _co.file;

        _ck(_v, 8, 0, currVal_0, currVal_1, currVal_2, currVal_3);

        var currVal_4 = "";

        _ck(_v, 12, 0, currVal_4);

        var currVal_5 = "";

        _ck(_v, 13, 0, currVal_5);

        var currVal_6 = _co.tinhTrangHoSos;

        _ck(_v, 16, 0, currVal_6);

        var currVal_9 = "left";
        var currVal_10 = "Th\xEAm m\u1EDBi";

        _ck(_v, 21, 0, currVal_9, currVal_10);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.file.startDay;

        _ck(_v, 17, 0, currVal_7);

        var currVal_8 = _co.file.endDay;

        _ck(_v, 18, 0, currVal_8);
      });
    }

    function View_ListComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-list", [], null, null, null, View_ListComponent_0, RenderType_ListComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _list_component__WEBPACK_IMPORTED_MODULE_11__["ListComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__["ApiService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ListComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-list", _list_component__WEBPACK_IMPORTED_MODULE_11__["ListComponent"], View_ListComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/list/list.component.scss.shim.ngstyle.js":
  /*!************************************************************************!*\
    !*** ./src/app/manager/ho-so/list/list.component.scss.shim.ngstyle.js ***!
    \************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoListListComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vbGlzdC9saXN0LmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/list/list.component.ts":
  /*!******************************************************!*\
    !*** ./src/app/manager/ho-so/list/list.component.ts ***!
    \******************************************************/

  /*! exports provided: Flag, ListComponent */

  /***/
  function srcAppManagerHoSoListListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "Flag", function () {
      return Flag;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponent", function () {
      return ListComponent;
    });
    /* harmony import */


    var _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../../shared/models/ho-so.model */
    "./src/app/manager/shared/models/ho-so.model.ts");
    /* harmony import */


    var _add_add_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../add/add.component */
    "./src/app/manager/ho-so/add/add.component.ts");
    /* harmony import */


    var _modal_delete_modal_delete_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./modal-delete/modal-delete.component */
    "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ts");

    var Flag;

    (function (Flag) {
      Flag[Flag["Add"] = 0] = "Add";
      Flag[Flag["Edit"] = 1] = "Edit";
      Flag[Flag["View"] = 2] = "View";
    })(Flag || (Flag = {}));

    var ListComponent = /*#__PURE__*/function () {
      function ListComponent(modalService, apiService, loginService, toastService, datePipe) {
        _classCallCheck(this, ListComponent);

        this.modalService = modalService;
        this.apiService = apiService;
        this.loginService = loginService;
        this.toastService = toastService;
        this.datePipe = datePipe;
        this.url = 'HoSoes/GetList';
        this.tinhTrangHoSos = [{
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"].HoSoChuaKySo,
          name: 'Chưa ký số'
        }, {
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"].HoSoDaKySo,
          name: 'Đã ký số'
        }, {
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"].HoSoChoDuyet,
          name: 'Chờ duyệt'
        }, {
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"].HoSoBiTuChoi,
          name: 'Từ chối'
        }, {
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"].HoSoDaDuyet,
          name: 'Đã duyệt'
        }];
        this.Flag = Flag;
        this.TinhTrangHoSo = _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"];
        this.header = "Danh sách hồ sơ";
        this.rows = [];
        this.limit = 10;
        this.file = {
          idDV: '',
          status: null,
          name: '',
          startDay: this.firstMonth,
          endDay: this.lastMonth
        };
      }

      _createClass(ListComponent, [{
        key: "firstMonth",
        get: function get() {
          var dt = new Date(); // const firstDate = new Date(dt.getFullYear(), dt.getMonth(), 1);

          var firstDate = new Date(new Date().getFullYear(), 0, 1);
          return this.datePipe.transform(firstDate, 'yyyy-MM-dd');
        }
      }, {
        key: "lastMonth",
        get: function get() {
          var currentDate = new Date();
          var lastDate = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0);
          return this.datePipe.transform(lastDate, 'yyyy-MM-dd');
        }
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          this.file.idDV = this.loginService.taiKhoan.IDDonVi; // this.tenDoanhNghiep = this.loginService.taiKhoan.TenDonVi;
          // console.log(this.tenDoanhNghiep);

          this.columns = [{
            name: "Mã hồ sơ",
            prop: "MaHoSo",
            flexGrow: 2
          }, {
            name: "Tên hồ sơ",
            prop: "TenHoSo",
            flexGrow: 5
          }, {
            name: "Ngày tạo",
            prop: "TGTao",
            flexGrow: 3,
            cellTemplate: this.date
          }, {
            name: "Ngày gửi",
            prop: "TGGuiHoSo",
            flexGrow: 3,
            cellTemplate: this.date
          }, {
            name: "Ngày duyệt",
            prop: "TGDuyet",
            flexGrow: 3,
            cellTemplate: this.date
          }, {
            name: "Ngày đến hạn xử lý",
            prop: "TGDenHanXuLy",
            flexGrow: 3,
            cellTemplate: this.date
          }, // { name: "Lý do", prop: "LyDo", flexGrow: 2 },
          {
            name: "Trạng thái",
            prop: "TrangThai",
            flexGrow: 3,
            cellTemplate: this.editTmpl
          }, {
            name: "Thao tác",
            prop: "action",
            flexGrow: 3,
            cellTemplate: this.actionTmpl
          }];
        }
      }, {
        key: "handleOpenDlg",
        value: function handleOpenDlg(id) {
          this.modalService.open(_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"], {
            size: "full"
          });
        }
      }, {
        key: "delete",
        value: function _delete(id) {
          var _this168 = this;

          var modal = this.modalService.open(_modal_delete_modal_delete_component__WEBPACK_IMPORTED_MODULE_2__["ModalDeleteComponent"], {
            size: 'sm',
            centered: true
          });
          modal.componentInstance.idHS = id.ID;
          modal.result.then(function (res) {
            if (res === 'ok') {
              _this168.toastService.success('Xóa thành công!');

              _this168.table.loadData();
            } else {
              _this168.toastService.danger('Xóa thất bại!');
            }
          }, function (response) {});
        }
      }, {
        key: "viewFile",
        value: function viewFile(id) {
          var modalref = this.modalService.open(_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"], {
            size: "full"
          });
          modalref.componentInstance.row = id;
        }
      }, {
        key: "getData",
        value: function getData(event) {
          var val = event.target.value;
          this.file.status = val;
          this.table.loadData();
        }
      }, {
        key: "getSearch",
        value: function getSearch(event) {
          this.file.name = event.target.value;
          this.table.loadData();
        }
      }, {
        key: "getStartDay",
        value: function getStartDay(event) {
          this.file.startDay = event.target.value;
          this.table.loadData();
        }
      }, {
        key: "getEndDay",
        value: function getEndDay(event) {
          this.file.endDay = event.target.value;
          this.table.loadData();
        }
      }, {
        key: "openModal",
        value: function openModal(id, flag) {
          var _this169 = this;

          var modalref = this.modalService.open(_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"], {
            size: "full"
          });
          modalref.componentInstance.row = id;
          modalref.componentInstance.flag = flag;
          modalref.result.then(function (res) {
            if (res === 'ok') {
              _this169.toastService.success('Gửi hồ sơ thành công!');
            } else if (res === 'CREATE') {
              _this169.toastService.success('Khởi tạo hồ sơ thành công!');
            } else if (res === 'UPDATE') {
              _this169.toastService.success('Cập nhật hồ sơ thành công!');
            } else {
              _this169.toastService.danger('Thất bại!');
            }

            _this169.table.loadData();
          }, function (response) {
            if (response === 'Ký số') {
              _this169.toastService.success('Ký số thành công!');

              _this169.table.loadData();
            }
          });
        }
      }]);

      return ListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ngfactory.js":
  /*!*************************************************************************************!*\
    !*** ./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ngfactory.js ***!
    \*************************************************************************************/

  /*! exports provided: RenderType_ModalDeleteComponent, View_ModalDeleteComponent_0, View_ModalDeleteComponent_Host_0, ModalDeleteComponentNgFactory */

  /***/
  function srcAppManagerHoSoListModalDeleteModalDeleteComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalDeleteComponent", function () {
      return RenderType_ModalDeleteComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalDeleteComponent_0", function () {
      return View_ModalDeleteComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalDeleteComponent_Host_0", function () {
      return View_ModalDeleteComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalDeleteComponentNgFactory", function () {
      return ModalDeleteComponentNgFactory;
    });
    /* harmony import */


    var _modal_delete_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-delete.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _modal_delete_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./modal-delete.component */
    "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalDeleteComponent = [_modal_delete_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalDeleteComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalDeleteComponent,
      data: {}
    });

    function View_ModalDeleteComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"],
        isAction: [1, "isAction"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 2, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "strong", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["B\u1EA1n ch\u1EAFc ch\u1EAFn mu\u1ED1n x\xF3a h\u1ED3 s\u01A1 n\xE0y kh\xF4ng?"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "trash"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onDelete() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["X\xF3a"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 2, "app-button", [["btnClass", "btn-secondary"], ["icon", "close"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onClose() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;
        var currVal_1 = false;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = "btn-danger";
        var currVal_3 = "trash";

        _ck(_v, 7, 0, currVal_2, currVal_3);

        var currVal_4 = "btn-secondary";
        var currVal_5 = "close";

        _ck(_v, 10, 0, currVal_4, currVal_5);
      }, null);
    }

    function View_ModalDeleteComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-delete", [], null, null, null, View_ModalDeleteComponent_0, RenderType_ModalDeleteComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_delete_component__WEBPACK_IMPORTED_MODULE_7__["ModalDeleteComponent"], [_shared_services_api_service__WEBPACK_IMPORTED_MODULE_8__["ApiService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalDeleteComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-delete", _modal_delete_component__WEBPACK_IMPORTED_MODULE_7__["ModalDeleteComponent"], View_ModalDeleteComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.scss.shim.ngstyle.js":
  /*!*********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/list/modal-delete/modal-delete.component.scss.shim.ngstyle.js ***!
    \*********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoListModalDeleteModalDeleteComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vbGlzdC9tb2RhbC1kZWxldGUvbW9kYWwtZGVsZXRlLmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ts":
  /*!***************************************************************************!*\
    !*** ./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ts ***!
    \***************************************************************************/

  /*! exports provided: ModalDeleteComponent */

  /***/
  function srcAppManagerHoSoListModalDeleteModalDeleteComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalDeleteComponent", function () {
      return ModalDeleteComponent;
    });

    var ModalDeleteComponent = /*#__PURE__*/function () {
      function ModalDeleteComponent(apiService, modal) {
        _classCallCheck(this, ModalDeleteComponent);

        this.apiService = apiService;
        this.modal = modal;
        this.title = 'Xóa dữ liệu';
      }

      _createClass(ModalDeleteComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "onDelete",
        value: function onDelete() {
          var _this170 = this;

          this.apiService["delete"]("odata/HoSoes(guid'".concat(this.idHS, "')")).then(function (res) {
            _this170.modal.close('ok');
          });
        }
      }, {
        key: "onClose",
        value: function onClose() {
          this.modal.dismiss();
        }
      }]);

      return ModalDeleteComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ngfactory.js":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ngfactory.js ***!
    \************************************************************************************/

  /*! exports provided: RenderType_ModalViewPdfComponent, View_ModalViewPdfComponent_0, View_ModalViewPdfComponent_Host_0, ModalViewPdfComponentNgFactory, RenderType_ModalKySo, View_ModalKySo_0, View_ModalKySo_Host_0, ModalKySoNgFactory */

  /***/
  function srcAppManagerHoSoModalViewPdfModalViewPdfComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalViewPdfComponent", function () {
      return RenderType_ModalViewPdfComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalViewPdfComponent_0", function () {
      return View_ModalViewPdfComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalViewPdfComponent_Host_0", function () {
      return View_ModalViewPdfComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalViewPdfComponentNgFactory", function () {
      return ModalViewPdfComponentNgFactory;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalKySo", function () {
      return RenderType_ModalKySo;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalKySo_0", function () {
      return View_ModalKySo_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalKySo_Host_0", function () {
      return View_ModalKySo_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalKySoNgFactory", function () {
      return ModalKySoNgFactory;
    });
    /* harmony import */


    var _modal_view_pdf_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-view-pdf.component.scss.shim.ngstyle */
    "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _node_modules_ng2_pdfjs_viewer_ng2_pdfjs_viewer_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../../node_modules/ng2-pdfjs-viewer/ng2-pdfjs-viewer.ngfactory */
    "./node_modules/ng2-pdfjs-viewer/ng2-pdfjs-viewer.ngfactory.js");
    /* harmony import */


    var ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ng2-pdfjs-viewer */
    "./node_modules/ng2-pdfjs-viewer/index.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./modal-view-pdf.component */
    "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ts");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalViewPdfComponent = [_modal_view_pdf_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalViewPdfComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalViewPdfComponent,
      data: {}
    });

    function View_ModalViewPdfComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        pdfViewer: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 11, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, 1, 2, "div", [["body", ""], ["style", "height: 85vh; overflow-y: hidden;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "ng2-pdfjs-viewer", [], null, null, null, _node_modules_ng2_pdfjs_viewer_ng2_pdfjs_viewer_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_PdfJsViewerComponent_0"], _node_modules_ng2_pdfjs_viewer_ng2_pdfjs_viewer_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_PdfJsViewerComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 114688, [[1, 4], ["pdfViewer", 4]], 0, ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_6__["PdfJsViewerComponent"], [], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 2, "app-button", [["btnClass", "btn-primary"], ["icon", "edit"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openOptionDN() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["K\xFD s\u1ED1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "close"]], null, null, null, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["\u0110\xF3ng"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;

        _ck(_v, 2, 0, currVal_0);

        _ck(_v, 5, 0);

        var currVal_1 = "btn-primary";
        var currVal_2 = "edit";

        _ck(_v, 8, 0, currVal_1, currVal_2);

        var currVal_3 = "btn-danger";
        var currVal_4 = "close";

        _ck(_v, 11, 0, currVal_3, currVal_4);
      }, null);
    }

    function View_ModalViewPdfComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-view-pdf", [], null, null, null, View_ModalViewPdfComponent_0, RenderType_ModalViewPdfComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_9__["ModalViewPdfComponent"], [_angular_common_http__WEBPACK_IMPORTED_MODULE_10__["HttpClient"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbModal"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalViewPdfComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-view-pdf", _modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_9__["ModalViewPdfComponent"], View_ModalViewPdfComponent_Host_0, {}, {}, []);

    var styles_ModalKySo = [".sign-item[_ngcontent-%COMP%] { height: 100px; background-repeat: no-repeat; background-size: cover; margin-bottom: 5px; border: 1px solid #e8e8e8}"];

    var RenderType_ModalKySo = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalKySo,
      data: {}
    });

    function View_ModalKySo_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "app-modal-template", [["title", "Ch\u1ECDn doanh nghi\u1EC7p"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 4, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 3, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 0, "div", [["class", "col-12 sign-item"], ["style", "background-image: url(/assets/images/dn/viettel-ca.png);"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleSign(6) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 0, "div", [["class", "col-12 sign-item"], ["style", "background-image: url(/assets/images/dn/vnpt-ca.png);"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleSign(4) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 0, "div", [["class", "col-12 sign-item"], ["style", "background-image: url(/assets/images/dn/fpt.png);"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleSign(8) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var currVal_0 = "Ch\u1ECDn doanh nghi\u1EC7p";

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_ModalKySo_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "ng-component", [], null, null, null, View_ModalKySo_0, RenderType_ModalKySo)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_9__["ModalKySo"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbModal"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalKySoNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("ng-component", _modal_view_pdf_component__WEBPACK_IMPORTED_MODULE_9__["ModalKySo"], View_ModalKySo_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.scss.shim.ngstyle.js":
  /*!********************************************************************************************!*\
    !*** ./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.scss.shim.ngstyle.js ***!
    \********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerHoSoModalViewPdfModalViewPdfComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".sign-item[_ngcontent-%COMP%] {\n  height: 100px;\n  background-repeat: no-repeat;\n  background-size: cover;\n}\n\n@media screen {\n  .modal-xl[_ngcontent-%COMP%] {\n    max-width: 100% !important;\n  }\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9oby1zby9tb2RhbC12aWV3LXBkZi9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcaG8tc29cXG1vZGFsLXZpZXctcGRmXFxtb2RhbC12aWV3LXBkZi5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci9oby1zby9tb2RhbC12aWV3LXBkZi9tb2RhbC12aWV3LXBkZi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNQTtFQUNJLGFBQUE7RUFDQSw0QkFBQTtFQUNGLHNCQUFBO0FDTEY7O0FEU0E7RUFDSTtJQUNJLDBCQUFBO0VDTk47QUFDRiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvaG8tc28vbW9kYWwtdmlldy1wZGYvbW9kYWwtdmlldy1wZGYuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvLyA6aG9zdCA6Om5nLWRlZXAge1xyXG4vLyAgICAgLm1vZGFsLWJvZHkge1xyXG4vLyAgICAgICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcclxuLy8gICAgIH1cclxuLy8gfVxyXG5cclxuLnNpZ24taXRlbSB7XHJcbiAgICBoZWlnaHQ6IDEwMHB4O1xyXG4gICAgYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDtcclxuICBiYWNrZ3JvdW5kLXNpemU6IGNvdmVyO1xyXG59XHJcblxyXG5cclxuQG1lZGlhIHNjcmVlbiB7XHJcbiAgICAubW9kYWwteGwge1xyXG4gICAgICAgIG1heC13aWR0aDogMTAwJSAhaW1wb3J0YW50O1xyXG4gICAgfSBcclxufVxyXG4iLCIuc2lnbi1pdGVtIHtcbiAgaGVpZ2h0OiAxMDBweDtcbiAgYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDtcbiAgYmFja2dyb3VuZC1zaXplOiBjb3Zlcjtcbn1cblxuQG1lZGlhIHNjcmVlbiB7XG4gIC5tb2RhbC14bCB7XG4gICAgbWF4LXdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XG4gIH1cbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ts":
  /*!**************************************************************************!*\
    !*** ./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ts ***!
    \**************************************************************************/

  /*! exports provided: ModalViewPdfComponent, ModalKySo */

  /***/
  function srcAppManagerHoSoModalViewPdfModalViewPdfComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalViewPdfComponent", function () {
      return ModalViewPdfComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalKySo", function () {
      return ModalKySo;
    });
    /* harmony import */


    var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! rxjs/operators */
    "./node_modules/rxjs/_esm2015/operators/index.js");
    /* harmony import */


    var src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var src_environments_environment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! src/environments/environment */
    "./src/environments/environment.ts");

    var ModalViewPdfComponent = /*#__PURE__*/function () {
      function ModalViewPdfComponent(http, modalService, activeModal) {
        _classCallCheck(this, ModalViewPdfComponent);

        this.http = http;
        this.modalService = modalService;
        this.activeModal = activeModal;
        this.title = 'Ký số';
      }

      _createClass(ModalViewPdfComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.viewFilePDF();
        }
      }, {
        key: "downloadFile",
        value: function downloadFile(url) {
          return this.http.get(url, {
            responseType: 'blob'
          }).pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_0__["map"])(function (result) {
            return result;
          }));
        }
      }, {
        key: "viewFilePDF",
        value: function viewFilePDF() {
          var _this171 = this;

          var url = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + "/HoSoes/GeneratePDF?id=".concat(this.idHS, "&mode=blob");
          this.downloadFile(url).subscribe(function (res) {
            _this171.pdfViewer.pdfSrc = res; // pdfSrc can be Blob or Uint8Array

            _this171.pdfViewer.refresh(); // Ask pdf viewer to load/refresh pdf

          });
        }
      }, {
        key: "openOptionDN",
        value: function openOptionDN() {
          var modalref = this.modalService.open(ModalKySo, {
            size: 'sm',
            centered: true
          });
          modalref.componentInstance.idHS = this.idHS;
        }
      }]);

      return ModalViewPdfComponent;
    }();

    var ModalKySo = /*#__PURE__*/function () {
      function ModalKySo(activeModal, modal, loginService) {
        var _this172 = this;

        _classCallCheck(this, ModalKySo);

        this.activeModal = activeModal;
        this.modal = modal;
        this.loginService = loginService;
        this.titleDlg = "Ký số";
        this.TOKEN_CLIENT_INFO = {
          MaTaiKhoan: this.loginService.taiKhoan.MaTaiKhoan
        };
        this.EventModal = src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_1__["EventModal"];

        this.handleSign = function (issuer) {
          _this172.activeModal.close('ok');

          var json_prms = JSON.stringify({
            issuer: issuer,
            page: 1,
            x: 0,
            y: 0,
            width: 300,
            height: 100,
            UploadHandler: _this172.UploadServer,
            FileName: _this172.FileName,
            maTaiKhoan: _this172.TOKEN_CLIENT_INFO.MaTaiKhoan
          });
          fetch("http://127.0.0.1:12019/SignPDF/", {
            mode: 'cors',
            method: 'POST',
            body: json_prms,
            headers: {
              'Content-Type': 'application/json',
              'Access-Control-Allow-Origin': '*'
            }
          }).then(function (res) {
            return res.json();
          }).then(function (res) {
            return JSON.parse(res);
          }).then(function (received_msg) {
            _this172.modal.dismissAll('Ký số');
          })["catch"](function (err) {});
        };
      }

      _createClass(ModalKySo, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.FileName = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + "/HoSoes/GeneratePDF?id=".concat(this.idHS, "&mode=blob");
          this.UploadServer = src_environments_environment__WEBPACK_IMPORTED_MODULE_2__["environment"].apiUrl + "/HoSoes/KySo?id_ho_so=".concat(this.idHS);
        }
      }]);

      return ModalKySo;
    }();
    /***/

  },

  /***/
  "./src/app/manager/manager-routing.module.ts":
  /*!***************************************************!*\
    !*** ./src/app/manager/manager-routing.module.ts ***!
    \***************************************************/

  /*! exports provided: ManagerRoutingModule, ɵ0, ɵ1, ɵ2, ɵ3, ɵ4 */

  /***/
  function srcAppManagerManagerRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ManagerRoutingModule", function () {
      return ManagerRoutingModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ0", function () {
      return ɵ0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ1", function () {
      return ɵ1;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ2", function () {
      return ɵ2;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ3", function () {
      return ɵ3;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ4", function () {
      return ɵ4;
    });
    /* harmony import */


    var _dasboard_dasboard_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./dasboard/dasboard.component */
    "./src/app/manager/dasboard/dasboard.component.ts");
    /* harmony import */


    var _manager_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./manager.component */
    "./src/app/manager/manager.component.ts");
    /* harmony import */


    var _map_map_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../map/map.component */
    "./src/app/map/map.component.ts");
    /* harmony import */


    var _profile_profile_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./profile/profile.component */
    "./src/app/manager/profile/profile.component.ts");
    /* harmony import */


    var _phe_duyet_phe_duyet_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./phe-duyet/phe-duyet.component */
    "./src/app/manager/phe-duyet/phe-duyet.component.ts");

    var ɵ0 = function ɵ0() {
      return __webpack_require__.e(
      /*! import() | tram-bts-tram-bts-module-ngfactory */
      "tram-bts-tram-bts-module-ngfactory").then(__webpack_require__.bind(null,
      /*! ./tram-bts/tram-bts.module.ngfactory */
      "./src/app/manager/tram-bts/tram-bts.module.ngfactory.js")).then(function (t) {
        return t.TramBtsModuleNgFactory;
      });
    },
        ɵ1 = function ɵ1() {
      return __webpack_require__.e(
      /*! import() | tuyen-cap-ngam-tuyen-cap-ngam-module-ngfactory */
      "tuyen-cap-ngam-tuyen-cap-ngam-module-ngfactory").then(__webpack_require__.bind(null,
      /*! ./tuyen-cap-ngam/tuyen-cap-ngam.module.ngfactory */
      "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.module.ngfactory.js")).then(function (t) {
        return t.TuyenCapNgamModuleNgFactory;
      });
    },
        ɵ2 = function ɵ2() {
      return __webpack_require__.e(
      /*! import() | tuyen-cap-noi-tuyen-cap-noi-module-ngfactory */
      "tuyen-cap-noi-tuyen-cap-noi-module-ngfactory").then(__webpack_require__.bind(null,
      /*! ./tuyen-cap-noi/tuyen-cap-noi.module.ngfactory */
      "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.module.ngfactory.js")).then(function (t) {
        return t.TuyenCapNoiModuleNgFactory;
      });
    },
        ɵ3 = function ɵ3() {
      return __webpack_require__.e(
      /*! import() | diem-dich-vu-diem-dich-vu-module-ngfactory */
      "diem-dich-vu-diem-dich-vu-module-ngfactory").then(__webpack_require__.bind(null,
      /*! ./diem-dich-vu/diem-dich-vu.module.ngfactory */
      "./src/app/manager/diem-dich-vu/diem-dich-vu.module.ngfactory.js")).then(function (t) {
        return t.DiemDichVuModuleNgFactory;
      });
    },
        ɵ4 = function ɵ4() {
      return __webpack_require__.e(
      /*! import() | ho-so-ho-so-module-ngfactory */
      "ho-so-ho-so-module-ngfactory").then(__webpack_require__.bind(null,
      /*! ./ho-so/ho-so.module.ngfactory */
      "./src/app/manager/ho-so/ho-so.module.ngfactory.js")).then(function (t) {
        return t.HoSoModuleNgFactory;
      });
    };

    var routes = [{
      path: '',
      component: _manager_component__WEBPACK_IMPORTED_MODULE_1__["ManagerComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'dashboard'
      }, {
        path: 'dashboard',
        component: _dasboard_dasboard_component__WEBPACK_IMPORTED_MODULE_0__["DasboardComponent"]
      }, {
        path: 'bts-stations',
        loadChildren: ɵ0
      }, {
        path: 'underground-cable-glands',
        loadChildren: ɵ1
      }, {
        path: 'floating-cable-glands',
        loadChildren: ɵ2
      }, {
        path: 'service-locations',
        loadChildren: ɵ3
      }, {
        path: 'ho-so',
        loadChildren: ɵ4
      }, {
        path: 'phe-duyet',
        component: _phe_duyet_phe_duyet_component__WEBPACK_IMPORTED_MODULE_4__["PheDuyetComponent"]
      }, {
        path: 'map',
        component: _map_map_component__WEBPACK_IMPORTED_MODULE_2__["MapComponent"]
      }, {
        path: 'profile',
        component: _profile_profile_component__WEBPACK_IMPORTED_MODULE_3__["ProfileComponent"]
      }]
    }];

    var ManagerRoutingModule = /*#__PURE__*/_createClass(function ManagerRoutingModule() {
      _classCallCheck(this, ManagerRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/manager.component.ngfactory.js":
  /*!********************************************************!*\
    !*** ./src/app/manager/manager.component.ngfactory.js ***!
    \********************************************************/

  /*! exports provided: RenderType_ManagerComponent, View_ManagerComponent_0, View_ManagerComponent_Host_0, ManagerComponentNgFactory */

  /***/
  function srcAppManagerManagerComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ManagerComponent", function () {
      return RenderType_ManagerComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ManagerComponent_0", function () {
      return View_ManagerComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ManagerComponent_Host_0", function () {
      return View_ManagerComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ManagerComponentNgFactory", function () {
      return ManagerComponentNgFactory;
    });
    /* harmony import */


    var _manager_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./manager.component.scss.shim.ngstyle */
    "./src/app/manager/manager.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _layout_header_header_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../layout/header/header.component.ngfactory */
    "./src/app/layout/header/header.component.ngfactory.js");
    /* harmony import */


    var _layout_header_header_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../layout/header/header.component */
    "./src/app/layout/header/header.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _manager_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./manager.component */
    "./src/app/manager/manager.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ManagerComponent = [_manager_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ManagerComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ManagerComponent,
      data: {}
    });

    function View_ManagerComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-header", [], null, null, null, _layout_header_header_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_HeaderComponent_0"], _layout_header_header_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_HeaderComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _layout_header_header_component__WEBPACK_IMPORTED_MODULE_3__["HeaderComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 3, "perfect-scrollbar", [["style", "background-color: #fefefe; min-height: calc(100vh - 10vh);"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 16777216, null, 0, 1, "router-outlet", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 212992, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_7__["RouterOutlet"], [_angular_router__WEBPACK_IMPORTED_MODULE_7__["ChildrenOutletContexts"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], [8, null], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);

        _ck(_v, 3, 0);

        _ck(_v, 5, 0);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).autoPropagation;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).scrollIndicators;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      });
    }

    function View_ManagerComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-manager", [], null, null, null, View_ManagerComponent_0, RenderType_ManagerComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _manager_component__WEBPACK_IMPORTED_MODULE_8__["ManagerComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ManagerComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-manager", _manager_component__WEBPACK_IMPORTED_MODULE_8__["ManagerComponent"], View_ManagerComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/manager.component.scss.shim.ngstyle.js":
  /*!****************************************************************!*\
    !*** ./src/app/manager/manager.component.scss.shim.ngstyle.js ***!
    \****************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerManagerComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvbWFuYWdlci5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/manager.component.ts":
  /*!**********************************************!*\
    !*** ./src/app/manager/manager.component.ts ***!
    \**********************************************/

  /*! exports provided: ManagerComponent */

  /***/
  function srcAppManagerManagerComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ManagerComponent", function () {
      return ManagerComponent;
    });

    var ManagerComponent = /*#__PURE__*/function () {
      function ManagerComponent() {
        _classCallCheck(this, ManagerComponent);
      }

      _createClass(ManagerComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ManagerComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/manager.module.ngfactory.js":
  /*!*****************************************************!*\
    !*** ./src/app/manager/manager.module.ngfactory.js ***!
    \*****************************************************/

  /*! exports provided: ManagerModuleNgFactory */

  /***/
  function srcAppManagerManagerModuleNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ManagerModuleNgFactory", function () {
      return ManagerModuleNgFactory;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _manager_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./manager.module */
    "./src/app/manager/manager.module.ts");
    /* harmony import */


    var _node_modules_angular_router_router_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../node_modules/@angular/router/router.ngfactory */
    "./node_modules/@angular/router/router.ngfactory.js");
    /* harmony import */


    var _manager_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./manager.component.ngfactory */
    "./src/app/manager/manager.component.ngfactory.js");
    /* harmony import */


    var _dasboard_dasboard_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./dasboard/dasboard.component.ngfactory */
    "./src/app/manager/dasboard/dasboard.component.ngfactory.js");
    /* harmony import */


    var _phe_duyet_phe_duyet_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./phe-duyet/phe-duyet.component.ngfactory */
    "./src/app/manager/phe-duyet/phe-duyet.component.ngfactory.js");
    /* harmony import */


    var _map_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../map/map.component.ngfactory */
    "./src/app/map/map.component.ngfactory.js");
    /* harmony import */


    var _profile_profile_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./profile/profile.component.ngfactory */
    "./src/app/manager/profile/profile.component.ngfactory.js");
    /* harmony import */


    var _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory */
    "./node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_confirm_modal_confirm_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../shared/components/modal-confirm/modal-confirm.component.ngfactory */
    "./src/app/shared/components/modal-confirm/modal-confirm.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_detail_modal_detail_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./shared/components/modal-detail/modal-detail.component.ngfactory */
    "./src/app/manager/shared/components/modal-detail/modal-detail.component.ngfactory.js");
    /* harmony import */


    var _map_vung_phu_bts_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../map/vung-phu-bts/modal/modal.component.ngfactory */
    "./src/app/map/vung-phu-bts/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _tram_bts_tram_bts_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./tram-bts/tram-bts.component.ngfactory */
    "./src/app/manager/tram-bts/tram-bts.component.ngfactory.js");
    /* harmony import */


    var _tram_bts_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./tram-bts/list/list.component.ngfactory */
    "./src/app/manager/tram-bts/list/list.component.ngfactory.js");
    /* harmony import */


    var _tram_bts_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./tram-bts/add/add.component.ngfactory */
    "./src/app/manager/tram-bts/add/add.component.ngfactory.js");
    /* harmony import */


    var _tram_bts_modal_info_modal_info_component_ngfactory__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./tram-bts/modal-info/modal-info.component.ngfactory */
    "./src/app/manager/tram-bts/modal-info/modal-info.component.ngfactory.js");
    /* harmony import */


    var _tuyen_cap_ngam_tuyen_cap_ngam_component_ngfactory__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/tuyen-cap-ngam.component.ngfactory */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ngfactory.js");
    /* harmony import */


    var _tuyen_cap_ngam_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/list/list.component.ngfactory */
    "./src/app/manager/tuyen-cap-ngam/list/list.component.ngfactory.js");
    /* harmony import */


    var _tuyen_cap_ngam_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/add/add.component.ngfactory */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ngfactory.js");
    /* harmony import */


    var _tuyen_cap_noi_tuyen_cap_noi_component_ngfactory__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! ./tuyen-cap-noi/tuyen-cap-noi.component.ngfactory */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ngfactory.js");
    /* harmony import */


    var _tuyen_cap_noi_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ./tuyen-cap-noi/list/list.component.ngfactory */
    "./src/app/manager/tuyen-cap-noi/list/list.component.ngfactory.js");
    /* harmony import */


    var _tuyen_cap_noi_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ./tuyen-cap-noi/add/add.component.ngfactory */
    "./src/app/manager/tuyen-cap-noi/add/add.component.ngfactory.js");
    /* harmony import */


    var _diem_dich_vu_diem_dich_vu_component_ngfactory__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ./diem-dich-vu/diem-dich-vu.component.ngfactory */
    "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ngfactory.js");
    /* harmony import */


    var _diem_dich_vu_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
    /*! ./diem-dich-vu/list/list.component.ngfactory */
    "./src/app/manager/diem-dich-vu/list/list.component.ngfactory.js");
    /* harmony import */


    var _diem_dich_vu_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
    /*! ./diem-dich-vu/add/add.component.ngfactory */
    "./src/app/manager/diem-dich-vu/add/add.component.ngfactory.js");
    /* harmony import */


    var _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
    /*! ../../../node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory */
    "./node_modules/@swimlane/ngx-charts/swimlane-ngx-charts.ngfactory.js");
    /* harmony import */


    var _dasboard_modal_statistical_modal_statistical_component_ngfactory__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
    /*! ./dasboard/modal-statistical/modal-statistical.component.ngfactory */
    "./src/app/manager/dasboard/modal-statistical/modal-statistical.component.ngfactory.js");
    /* harmony import */


    var _ho_so_ho_so_component_ngfactory__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
    /*! ./ho-so/ho-so.component.ngfactory */
    "./src/app/manager/ho-so/ho-so.component.ngfactory.js");
    /* harmony import */


    var _ho_so_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
    /*! ./ho-so/list/list.component.ngfactory */
    "./src/app/manager/ho-so/list/list.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
    /*! ./ho-so/add/add.component.ngfactory */
    "./src/app/manager/ho-so/add/add.component.ngfactory.js");
    /* harmony import */


    var _ho_so_modal_view_pdf_modal_view_pdf_component_ngfactory__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
    /*! ./ho-so/modal-view-pdf/modal-view-pdf.component.ngfactory */
    "./src/app/manager/ho-so/modal-view-pdf/modal-view-pdf.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_details_modal_details_component_ngfactory__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(
    /*! ./ho-so/add/modal-details/modal-details.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-details/modal-details.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_add_trambts_modal_add_trambts_component_ngfactory__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(
    /*! ./ho-so/add/modal-add-trambts/modal-add-trambts.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-add-trambts/modal-add-trambts.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_add_tcngam_modal_add_tcngam_component_ngfactory__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(
    /*! ./ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-add-tcngam/modal-add-tcngam.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_add_tcnoi_modal_add_tcnoi_component_ngfactory__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(
    /*! ./ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-add-tcnoi/modal-add-tcnoi.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_add_diemdv_modal_add_diemdv_component_ngfactory__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(
    /*! ./ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-add-diemdv/modal-add-diemdv.component.ngfactory.js");
    /* harmony import */


    var _ho_so_list_modal_delete_modal_delete_component_ngfactory__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(
    /*! ./ho-so/list/modal-delete/modal-delete.component.ngfactory */
    "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_edit_modal_edit_component_ngfactory__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(
    /*! ./ho-so/add/modal-edit/modal-edit.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-edit/modal-edit.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_ly_do_modal_ly_do_component_ngfactory__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(
    /*! ./ho-so/add/modal-ly-do/modal-ly-do.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-ly-do/modal-ly-do.component.ngfactory.js");
    /* harmony import */


    var _phe_duyet_modal_file_pdf_modal_file_pdf_component_ngfactory__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(
    /*! ./phe-duyet/modal-file-pdf/modal-file-pdf.component.ngfactory */
    "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_approved_modal_approved_component_ngfactory__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(
    /*! ./ho-so/add/modal-approved/modal-approved.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-approved/modal-approved.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_rename_modal_rename_component_ngfactory__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(
    /*! ./ho-so/add/modal-rename/modal-rename.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-rename/modal-rename.component.ngfactory.js");
    /* harmony import */


    var _ho_so_add_modal_tuchoi_tram_modal_tuchoi_tram_component_ngfactory__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(
    /*! ./ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ngfactory */
    "./src/app/manager/ho-so/add/modal-tuchoi-tram/modal-tuchoi-tram.component.ngfactory.js");
    /* harmony import */


    var _profile_mdl_change_password_mdl_change_password_component_ngfactory__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(
    /*! ./profile/mdl-change-password/mdl-change-password.component.ngfactory */
    "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ngfactory.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(
    /*! ../shared/services/datepicker.service */
    "./src/app/shared/services/datepicker.service.ts");
    /* harmony import */


    var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(
    /*! @swimlane/ngx-datatable */
    "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js");
    /* harmony import */


    var _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(
    /*! @swimlane/ngx-charts */
    "./node_modules/@swimlane/ngx-charts/fesm2015/swimlane-ngx-charts.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(
    /*! ./manager-routing.module */
    "./src/app/manager/manager-routing.module.ts");
    /* harmony import */


    var ngx_loading__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(
    /*! ngx-loading */
    "./node_modules/ngx-loading/fesm2015/ngx-loading.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _shared_components_components_module__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(
    /*! ../shared/components/components.module */
    "./src/app/shared/components/components.module.ts");
    /* harmony import */


    var _shared_shared_module__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(
    /*! ../shared/shared.module */
    "./src/app/shared/shared.module.ts");
    /* harmony import */


    var _layout_layout_module__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(
    /*! ../layout/layout.module */
    "./src/app/layout/layout.module.ts");
    /* harmony import */


    var _map_measure_measure_module__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(
    /*! ../map/measure/measure.module */
    "./src/app/map/measure/measure.module.ts");
    /* harmony import */


    var _shared_components_input_file_input_file_module__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(
    /*! ../shared/components/input-file/input-file.module */
    "./src/app/shared/components/input-file/input-file.module.ts");
    /* harmony import */


    var _shared_components_components_module__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(
    /*! ./shared/components/components.module */
    "./src/app/manager/shared/components/components.module.ts");
    /* harmony import */


    var _map_map_module__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(
    /*! ../map/map.module */
    "./src/app/map/map.module.ts");
    /* harmony import */


    var _tram_bts_tram_bts_routing_module__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(
    /*! ./tram-bts/tram-bts-routing.module */
    "./src/app/manager/tram-bts/tram-bts-routing.module.ts");
    /* harmony import */


    var _tram_bts_tram_bts_module__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(
    /*! ./tram-bts/tram-bts.module */
    "./src/app/manager/tram-bts/tram-bts.module.ts");
    /* harmony import */


    var _tuyen_cap_ngam_tuyen_cap_ngam_routing_module__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/tuyen-cap-ngam-routing.module */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam-routing.module.ts");
    /* harmony import */


    var _tuyen_cap_ngam_tuyen_cap_ngam_module__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/tuyen-cap-ngam.module */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.module.ts");
    /* harmony import */


    var _tuyen_cap_noi_tuyen_cap_noi_routing_module__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(
    /*! ./tuyen-cap-noi/tuyen-cap-noi-routing.module */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi-routing.module.ts");
    /* harmony import */


    var _tuyen_cap_noi_tuyen_cap_noi_module__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(
    /*! ./tuyen-cap-noi/tuyen-cap-noi.module */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.module.ts");
    /* harmony import */


    var _diem_dich_vu_diem_dich_vu_routing_module__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(
    /*! ./diem-dich-vu/diem-dich-vu-routing.module */
    "./src/app/manager/diem-dich-vu/diem-dich-vu-routing.module.ts");
    /* harmony import */


    var _diem_dich_vu_diem_dich_vu_module__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(
    /*! ./diem-dich-vu/diem-dich-vu.module */
    "./src/app/manager/diem-dich-vu/diem-dich-vu.module.ts");
    /* harmony import */


    var _dasboard_number_card_chart_number_card_chart_module__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(
    /*! ./dasboard/number-card-chart/number-card-chart.module */
    "./src/app/manager/dasboard/number-card-chart/number-card-chart.module.ts");
    /* harmony import */


    var _dasboard_dasboard_module__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(
    /*! ./dasboard/dasboard.module */
    "./src/app/manager/dasboard/dasboard.module.ts");
    /* harmony import */


    var _ho_so_ho_so_routing_module__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(
    /*! ./ho-so/ho-so-routing.module */
    "./src/app/manager/ho-so/ho-so-routing.module.ts");
    /* harmony import */


    var ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(
    /*! ng2-pdfjs-viewer */
    "./node_modules/ng2-pdfjs-viewer/index.js");
    /* harmony import */


    var _ho_so_ho_so_module__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(
    /*! ./ho-so/ho-so.module */
    "./src/app/manager/ho-so/ho-so.module.ts");
    /* harmony import */


    var _profile_profile_module__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(
    /*! ./profile/profile.module */
    "./src/app/manager/profile/profile.module.ts");
    /* harmony import */


    var _y_kien_nguoi_dan_y_kien_nguoi_dan_routing_module__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(
    /*! ./y-kien-nguoi-dan/y-kien-nguoi-dan-routing.module */
    "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan-routing.module.ts");
    /* harmony import */


    var _y_kien_nguoi_dan_y_kien_nguoi_dan_module__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(
    /*! ./y-kien-nguoi-dan/y-kien-nguoi-dan.module */
    "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.module.ts");
    /* harmony import */


    var _manager_component__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(
    /*! ./manager.component */
    "./src/app/manager/manager.component.ts");
    /* harmony import */


    var _dasboard_dasboard_component__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(
    /*! ./dasboard/dasboard.component */
    "./src/app/manager/dasboard/dasboard.component.ts");
    /* harmony import */


    var _phe_duyet_phe_duyet_component__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(
    /*! ./phe-duyet/phe-duyet.component */
    "./src/app/manager/phe-duyet/phe-duyet.component.ts");
    /* harmony import */


    var _map_map_component__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(
    /*! ../map/map.component */
    "./src/app/map/map.component.ts");
    /* harmony import */


    var _profile_profile_component__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(
    /*! ./profile/profile.component */
    "./src/app/manager/profile/profile.component.ts");
    /* harmony import */


    var _tram_bts_tram_bts_component__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(
    /*! ./tram-bts/tram-bts.component */
    "./src/app/manager/tram-bts/tram-bts.component.ts");
    /* harmony import */


    var _tram_bts_list_list_component__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(
    /*! ./tram-bts/list/list.component */
    "./src/app/manager/tram-bts/list/list.component.ts");
    /* harmony import */


    var _tram_bts_add_add_component__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(
    /*! ./tram-bts/add/add.component */
    "./src/app/manager/tram-bts/add/add.component.ts");
    /* harmony import */


    var _tuyen_cap_ngam_tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/tuyen-cap-ngam.component */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ts");
    /* harmony import */


    var _tuyen_cap_ngam_list_list_component__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/list/list.component */
    "./src/app/manager/tuyen-cap-ngam/list/list.component.ts");
    /* harmony import */


    var _tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(
    /*! ./tuyen-cap-ngam/add/add.component */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ts");
    /* harmony import */


    var _tuyen_cap_noi_tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(
    /*! ./tuyen-cap-noi/tuyen-cap-noi.component */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ts");
    /* harmony import */


    var _tuyen_cap_noi_list_list_component__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(
    /*! ./tuyen-cap-noi/list/list.component */
    "./src/app/manager/tuyen-cap-noi/list/list.component.ts");
    /* harmony import */


    var _tuyen_cap_noi_add_add_component__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(
    /*! ./tuyen-cap-noi/add/add.component */
    "./src/app/manager/tuyen-cap-noi/add/add.component.ts");
    /* harmony import */


    var _diem_dich_vu_diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(
    /*! ./diem-dich-vu/diem-dich-vu.component */
    "./src/app/manager/diem-dich-vu/diem-dich-vu.component.ts");
    /* harmony import */


    var _diem_dich_vu_list_list_component__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(
    /*! ./diem-dich-vu/list/list.component */
    "./src/app/manager/diem-dich-vu/list/list.component.ts");
    /* harmony import */


    var _diem_dich_vu_add_add_component__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(
    /*! ./diem-dich-vu/add/add.component */
    "./src/app/manager/diem-dich-vu/add/add.component.ts");
    /* harmony import */


    var _ho_so_ho_so_component__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(
    /*! ./ho-so/ho-so.component */
    "./src/app/manager/ho-so/ho-so.component.ts");
    /* harmony import */


    var _ho_so_list_list_component__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(
    /*! ./ho-so/list/list.component */
    "./src/app/manager/ho-so/list/list.component.ts");
    /* harmony import */


    var _ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(
    /*! ./ho-so/add/add.component */
    "./src/app/manager/ho-so/add/add.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var ManagerModuleNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵcmf"](_manager_module__WEBPACK_IMPORTED_MODULE_1__["ManagerModule"], [], function (_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmod"]([_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵCodegenComponentFactoryResolver"], [[8, [_node_modules_angular_router_router_ngfactory__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_router_router_lNgFactory"], _manager_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["ManagerComponentNgFactory"], _dasboard_dasboard_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["DasboardComponentNgFactory"], _phe_duyet_phe_duyet_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["PheDuyetComponentNgFactory"], _map_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["MapComponentNgFactory"], _profile_profile_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["ProfileComponentNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["NgbAlertNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["NgbDatepickerNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["ɵuNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["ɵvNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["ɵmNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["ɵrNgFactory"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_8__["ɵsNgFactory"], _shared_components_modal_confirm_modal_confirm_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__["ModalConfirmComponentNgFactory"], _shared_components_modal_detail_modal_detail_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__["ModalDetailComponentNgFactory"], _map_vung_phu_bts_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["ModalComponentNgFactory"], _tram_bts_tram_bts_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["TramBtsComponentNgFactory"], _tram_bts_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__["ListComponentNgFactory"], _tram_bts_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_14__["AddComponentNgFactory"], _tram_bts_modal_info_modal_info_component_ngfactory__WEBPACK_IMPORTED_MODULE_15__["ModalInfoComponentNgFactory"], _tuyen_cap_ngam_tuyen_cap_ngam_component_ngfactory__WEBPACK_IMPORTED_MODULE_16__["TuyenCapNgamComponentNgFactory"], _tuyen_cap_ngam_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_17__["ListComponentNgFactory"], _tuyen_cap_ngam_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_18__["AddComponentNgFactory"], _tuyen_cap_noi_tuyen_cap_noi_component_ngfactory__WEBPACK_IMPORTED_MODULE_19__["TuyenCapNoiComponentNgFactory"], _tuyen_cap_noi_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_20__["ListComponentNgFactory"], _tuyen_cap_noi_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_21__["AddComponentNgFactory"], _diem_dich_vu_diem_dich_vu_component_ngfactory__WEBPACK_IMPORTED_MODULE_22__["DiemDichVuComponentNgFactory"], _diem_dich_vu_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_23__["ListComponentNgFactory"], _diem_dich_vu_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_24__["AddComponentNgFactory"], _node_modules_swimlane_ngx_charts_swimlane_ngx_charts_ngfactory__WEBPACK_IMPORTED_MODULE_25__["TooltipContentComponentNgFactory"], _dasboard_modal_statistical_modal_statistical_component_ngfactory__WEBPACK_IMPORTED_MODULE_26__["ModalStatisticalComponentNgFactory"], _ho_so_ho_so_component_ngfactory__WEBPACK_IMPORTED_MODULE_27__["HoSoComponentNgFactory"], _ho_so_list_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_28__["ListComponentNgFactory"], _ho_so_add_add_component_ngfactory__WEBPACK_IMPORTED_MODULE_29__["AddComponentNgFactory"], _ho_so_modal_view_pdf_modal_view_pdf_component_ngfactory__WEBPACK_IMPORTED_MODULE_30__["ModalViewPdfComponentNgFactory"], _ho_so_modal_view_pdf_modal_view_pdf_component_ngfactory__WEBPACK_IMPORTED_MODULE_30__["ModalKySoNgFactory"], _ho_so_add_modal_details_modal_details_component_ngfactory__WEBPACK_IMPORTED_MODULE_31__["ModalDetailsComponentNgFactory"], _ho_so_add_modal_add_trambts_modal_add_trambts_component_ngfactory__WEBPACK_IMPORTED_MODULE_32__["ModalAddTrambtsComponentNgFactory"], _ho_so_add_modal_add_tcngam_modal_add_tcngam_component_ngfactory__WEBPACK_IMPORTED_MODULE_33__["ModalAddTcngamComponentNgFactory"], _ho_so_add_modal_add_tcnoi_modal_add_tcnoi_component_ngfactory__WEBPACK_IMPORTED_MODULE_34__["ModalAddTcnoiComponentNgFactory"], _ho_so_add_modal_add_diemdv_modal_add_diemdv_component_ngfactory__WEBPACK_IMPORTED_MODULE_35__["ModalAddDiemdvComponentNgFactory"], _ho_so_list_modal_delete_modal_delete_component_ngfactory__WEBPACK_IMPORTED_MODULE_36__["ModalDeleteComponentNgFactory"], _ho_so_add_modal_edit_modal_edit_component_ngfactory__WEBPACK_IMPORTED_MODULE_37__["ModalEditComponentNgFactory"], _ho_so_add_modal_ly_do_modal_ly_do_component_ngfactory__WEBPACK_IMPORTED_MODULE_38__["ModalLyDoComponentNgFactory"], _phe_duyet_modal_file_pdf_modal_file_pdf_component_ngfactory__WEBPACK_IMPORTED_MODULE_39__["ModalFilePdfComponentNgFactory"], _ho_so_add_modal_approved_modal_approved_component_ngfactory__WEBPACK_IMPORTED_MODULE_40__["ModalApprovedComponentNgFactory"], _ho_so_add_modal_rename_modal_rename_component_ngfactory__WEBPACK_IMPORTED_MODULE_41__["ModalRenameComponentNgFactory"], _ho_so_add_modal_tuchoi_tram_modal_tuchoi_tram_component_ngfactory__WEBPACK_IMPORTED_MODULE_42__["ModalTuchoiTramComponentNgFactory"], _profile_mdl_change_password_mdl_change_password_component_ngfactory__WEBPACK_IMPORTED_MODULE_43__["MdlChangePasswordComponentNgFactory"]]], [3, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"]], _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModuleRef"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_44__["NgLocalization"], _angular_common__WEBPACK_IMPORTED_MODULE_44__["NgLocaleLocalization"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_forms__WEBPACK_IMPORTED_MODULE_45__["ɵangular_packages_forms_forms_n"], _angular_forms__WEBPACK_IMPORTED_MODULE_45__["ɵangular_packages_forms_forms_n"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModal"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModal"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["ɵw"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModalConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__["I18n"], _shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__["I18n"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDateAdapter"], _shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__["CustomAdapter"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDateParserFormatter"], _shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__["DateParserFormatter"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDatepickerI18n"], _shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__["DatepickerI18n"], [_shared_services_datepicker_service__WEBPACK_IMPORTED_MODULE_47__["I18n"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["ScrollbarHelper"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["ScrollbarHelper"], [_angular_common__WEBPACK_IMPORTED_MODULE_44__["DOCUMENT"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["DimensionsHelper"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["DimensionsHelper"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["ColumnChangesService"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["ColumnChangesService"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["ɵb"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["ɵb"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ApplicationRef"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injector"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["TooltipService"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["TooltipService"], [_swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["ɵb"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_44__["DecimalPipe"], _angular_common__WEBPACK_IMPORTED_MODULE_44__["DecimalPipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](4608, _angular_common__WEBPACK_IMPORTED_MODULE_44__["DatePipe"], _angular_common__WEBPACK_IMPORTED_MODULE_44__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_0__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_router__WEBPACK_IMPORTED_MODULE_50__["RouterModule"], _angular_router__WEBPACK_IMPORTED_MODULE_50__["RouterModule"], [[2, _angular_router__WEBPACK_IMPORTED_MODULE_50__["ɵangular_packages_router_router_a"]], [2, _angular_router__WEBPACK_IMPORTED_MODULE_50__["Router"]]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ManagerRoutingModule"], _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ManagerRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_common__WEBPACK_IMPORTED_MODULE_44__["CommonModule"], _angular_common__WEBPACK_IMPORTED_MODULE_44__["CommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbAccordionModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbAccordionModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbAlertModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbAlertModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbButtonsModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbButtonsModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbCarouselModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbCarouselModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbCollapseModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbCollapseModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_forms__WEBPACK_IMPORTED_MODULE_45__["ɵangular_packages_forms_forms_d"], _angular_forms__WEBPACK_IMPORTED_MODULE_45__["ɵangular_packages_forms_forms_d"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _angular_forms__WEBPACK_IMPORTED_MODULE_45__["FormsModule"], _angular_forms__WEBPACK_IMPORTED_MODULE_45__["FormsModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDatepickerModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDatepickerModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDropdownModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDropdownModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModalModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModalModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbNavModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbNavModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbPaginationModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbPaginationModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbPopoverModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbPopoverModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbProgressbarModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbProgressbarModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbRatingModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbRatingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTimepickerModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTimepickerModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbToastModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbToastModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTooltipModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTypeaheadModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTypeaheadModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTabsetModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbTabsetModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, ngx_loading__WEBPACK_IMPORTED_MODULE_52__["NgxLoadingModule"], ngx_loading__WEBPACK_IMPORTED_MODULE_52__["NgxLoadingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_53__["PerfectScrollbarModule"], ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_53__["PerfectScrollbarModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _shared_components_components_module__WEBPACK_IMPORTED_MODULE_54__["ComponentsModule"], _shared_components_components_module__WEBPACK_IMPORTED_MODULE_54__["ComponentsModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](512, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDatepickerConfig"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDatepickerConfig"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _shared_shared_module__WEBPACK_IMPORTED_MODULE_55__["SharedModule"], _shared_shared_module__WEBPACK_IMPORTED_MODULE_55__["SharedModule"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbDatepickerConfig"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_46__["NgbPaginationConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _layout_layout_module__WEBPACK_IMPORTED_MODULE_56__["LayoutModule"], _layout_layout_module__WEBPACK_IMPORTED_MODULE_56__["LayoutModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["NgxDatatableModule"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_48__["NgxDatatableModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _map_measure_measure_module__WEBPACK_IMPORTED_MODULE_57__["MeasureModule"], _map_measure_measure_module__WEBPACK_IMPORTED_MODULE_57__["MeasureModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _shared_components_input_file_input_file_module__WEBPACK_IMPORTED_MODULE_58__["InputFileModule"], _shared_components_input_file_input_file_module__WEBPACK_IMPORTED_MODULE_58__["InputFileModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _shared_components_components_module__WEBPACK_IMPORTED_MODULE_59__["ComponentsModule"], _shared_components_components_module__WEBPACK_IMPORTED_MODULE_59__["ComponentsModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _map_map_module__WEBPACK_IMPORTED_MODULE_60__["MapModule"], _map_map_module__WEBPACK_IMPORTED_MODULE_60__["MapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _tram_bts_tram_bts_routing_module__WEBPACK_IMPORTED_MODULE_61__["TramBtsRoutingModule"], _tram_bts_tram_bts_routing_module__WEBPACK_IMPORTED_MODULE_61__["TramBtsRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _tram_bts_tram_bts_module__WEBPACK_IMPORTED_MODULE_62__["TramBtsModule"], _tram_bts_tram_bts_module__WEBPACK_IMPORTED_MODULE_62__["TramBtsModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _tuyen_cap_ngam_tuyen_cap_ngam_routing_module__WEBPACK_IMPORTED_MODULE_63__["TuyenCapNgamRoutingModule"], _tuyen_cap_ngam_tuyen_cap_ngam_routing_module__WEBPACK_IMPORTED_MODULE_63__["TuyenCapNgamRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _tuyen_cap_ngam_tuyen_cap_ngam_module__WEBPACK_IMPORTED_MODULE_64__["TuyenCapNgamModule"], _tuyen_cap_ngam_tuyen_cap_ngam_module__WEBPACK_IMPORTED_MODULE_64__["TuyenCapNgamModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _tuyen_cap_noi_tuyen_cap_noi_routing_module__WEBPACK_IMPORTED_MODULE_65__["TuyenCapNoiRoutingModule"], _tuyen_cap_noi_tuyen_cap_noi_routing_module__WEBPACK_IMPORTED_MODULE_65__["TuyenCapNoiRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _tuyen_cap_noi_tuyen_cap_noi_module__WEBPACK_IMPORTED_MODULE_66__["TuyenCapNoiModule"], _tuyen_cap_noi_tuyen_cap_noi_module__WEBPACK_IMPORTED_MODULE_66__["TuyenCapNoiModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _diem_dich_vu_diem_dich_vu_routing_module__WEBPACK_IMPORTED_MODULE_67__["DiemDichVumRoutingModule"], _diem_dich_vu_diem_dich_vu_routing_module__WEBPACK_IMPORTED_MODULE_67__["DiemDichVumRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _diem_dich_vu_diem_dich_vu_module__WEBPACK_IMPORTED_MODULE_68__["DiemDichVuModule"], _diem_dich_vu_diem_dich_vu_module__WEBPACK_IMPORTED_MODULE_68__["DiemDichVuModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["AxesModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["AxesModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["TooltipModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["TooltipModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["ChartCommonModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["ChartCommonModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["AreaChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["AreaChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["BarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["BarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["BubbleChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["BubbleChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["HeatMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["HeatMapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["LineChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["LineChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["PieChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["PieChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["PolarChartModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["PolarChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["NumberCardModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["NumberCardModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["TreeMapModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["TreeMapModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["GaugeModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["GaugeModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["NgxChartsModule"], _swimlane_ngx_charts__WEBPACK_IMPORTED_MODULE_49__["NgxChartsModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _dasboard_number_card_chart_number_card_chart_module__WEBPACK_IMPORTED_MODULE_69__["NumberCardChartModule"], _dasboard_number_card_chart_number_card_chart_module__WEBPACK_IMPORTED_MODULE_69__["NumberCardChartModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _dasboard_dasboard_module__WEBPACK_IMPORTED_MODULE_70__["DasboardModule"], _dasboard_dasboard_module__WEBPACK_IMPORTED_MODULE_70__["DasboardModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ho_so_ho_so_routing_module__WEBPACK_IMPORTED_MODULE_71__["HoSoRoutingModule"], _ho_so_ho_so_routing_module__WEBPACK_IMPORTED_MODULE_71__["HoSoRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_72__["PdfJsViewerModule"], ng2_pdfjs_viewer__WEBPACK_IMPORTED_MODULE_72__["PdfJsViewerModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _ho_so_ho_so_module__WEBPACK_IMPORTED_MODULE_73__["HoSoModule"], _ho_so_ho_so_module__WEBPACK_IMPORTED_MODULE_73__["HoSoModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _profile_profile_module__WEBPACK_IMPORTED_MODULE_74__["ProfileModule"], _profile_profile_module__WEBPACK_IMPORTED_MODULE_74__["ProfileModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _y_kien_nguoi_dan_y_kien_nguoi_dan_routing_module__WEBPACK_IMPORTED_MODULE_75__["YKienNguoiDanRoutingModule"], _y_kien_nguoi_dan_y_kien_nguoi_dan_routing_module__WEBPACK_IMPORTED_MODULE_75__["YKienNguoiDanRoutingModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _y_kien_nguoi_dan_y_kien_nguoi_dan_module__WEBPACK_IMPORTED_MODULE_76__["YKienNguoiDanModule"], _y_kien_nguoi_dan_y_kien_nguoi_dan_module__WEBPACK_IMPORTED_MODULE_76__["YKienNguoiDanModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1073742336, _manager_module__WEBPACK_IMPORTED_MODULE_1__["ManagerModule"], _manager_module__WEBPACK_IMPORTED_MODULE_1__["ManagerModule"], []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](1024, _angular_router__WEBPACK_IMPORTED_MODULE_50__["ROUTES"], function () {
        return [[{
          path: "",
          component: _manager_component__WEBPACK_IMPORTED_MODULE_77__["ManagerComponent"],
          children: [{
            path: "",
            pathMatch: "full",
            redirectTo: "dashboard"
          }, {
            path: "dashboard",
            component: _dasboard_dasboard_component__WEBPACK_IMPORTED_MODULE_78__["DasboardComponent"]
          }, {
            path: "bts-stations",
            loadChildren: _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ɵ0"]
          }, {
            path: "underground-cable-glands",
            loadChildren: _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ɵ1"]
          }, {
            path: "floating-cable-glands",
            loadChildren: _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ɵ2"]
          }, {
            path: "service-locations",
            loadChildren: _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ɵ3"]
          }, {
            path: "ho-so",
            loadChildren: _manager_routing_module__WEBPACK_IMPORTED_MODULE_51__["ɵ4"]
          }, {
            path: "phe-duyet",
            component: _phe_duyet_phe_duyet_component__WEBPACK_IMPORTED_MODULE_79__["PheDuyetComponent"]
          }, {
            path: "map",
            component: _map_map_component__WEBPACK_IMPORTED_MODULE_80__["MapComponent"]
          }, {
            path: "profile",
            component: _profile_profile_component__WEBPACK_IMPORTED_MODULE_81__["ProfileComponent"]
          }]
        }], [{
          path: "",
          component: _tram_bts_tram_bts_component__WEBPACK_IMPORTED_MODULE_82__["TramBtsComponent"],
          children: [{
            path: "",
            pathMatch: "full",
            redirectTo: "list"
          }, {
            path: "list",
            component: _tram_bts_list_list_component__WEBPACK_IMPORTED_MODULE_83__["ListComponent"]
          }, {
            path: "add",
            component: _tram_bts_add_add_component__WEBPACK_IMPORTED_MODULE_84__["AddComponent"]
          }]
        }], [{
          path: "",
          component: _tuyen_cap_ngam_tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_85__["TuyenCapNgamComponent"],
          children: [{
            path: "",
            pathMatch: "full",
            redirectTo: "list"
          }, {
            path: "list",
            component: _tuyen_cap_ngam_list_list_component__WEBPACK_IMPORTED_MODULE_86__["ListComponent"]
          }, {
            path: "add",
            component: _tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_87__["AddComponent"]
          }]
        }], [{
          path: "",
          component: _tuyen_cap_noi_tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_88__["TuyenCapNoiComponent"],
          children: [{
            path: "",
            pathMatch: "full",
            redirectTo: "list"
          }, {
            path: "list",
            component: _tuyen_cap_noi_list_list_component__WEBPACK_IMPORTED_MODULE_89__["ListComponent"]
          }, {
            path: "add",
            component: _tuyen_cap_noi_add_add_component__WEBPACK_IMPORTED_MODULE_90__["AddComponent"]
          }]
        }], [{
          path: "",
          component: _diem_dich_vu_diem_dich_vu_component__WEBPACK_IMPORTED_MODULE_91__["DiemDichVuComponent"],
          children: [{
            path: "",
            pathMatch: "full",
            redirectTo: "list"
          }, {
            path: "list",
            component: _diem_dich_vu_list_list_component__WEBPACK_IMPORTED_MODULE_92__["ListComponent"]
          }, {
            path: "add",
            component: _diem_dich_vu_add_add_component__WEBPACK_IMPORTED_MODULE_93__["AddComponent"]
          }]
        }], [{
          path: "",
          component: _ho_so_ho_so_component__WEBPACK_IMPORTED_MODULE_94__["HoSoComponent"],
          children: [{
            path: "",
            pathMatch: "full",
            redirectTo: "list"
          }, {
            path: "list",
            component: _ho_so_list_list_component__WEBPACK_IMPORTED_MODULE_95__["ListComponent"]
          }, {
            path: "add",
            component: _ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_96__["AddComponent"]
          }]
        }]];
      }, []), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵmpd"](256, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_53__["PERFECT_SCROLLBAR_CONFIG"], _shared_shared_module__WEBPACK_IMPORTED_MODULE_55__["ɵ0"], [])]);
    });
    /***/

  },

  /***/
  "./src/app/manager/manager.module.ts":
  /*!*******************************************!*\
    !*** ./src/app/manager/manager.module.ts ***!
    \*******************************************/

  /*! exports provided: ManagerModule */

  /***/
  function srcAppManagerManagerModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ManagerModule", function () {
      return ManagerModule;
    });

    var ManagerModule = /*#__PURE__*/_createClass(function ManagerModule() {
      _classCallCheck(this, ManagerModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ngfactory.js":
  /*!****************************************************************************************!*\
    !*** ./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ngfactory.js ***!
    \****************************************************************************************/

  /*! exports provided: RenderType_ModalFilePdfComponent, View_ModalFilePdfComponent_0, View_ModalFilePdfComponent_Host_0, ModalFilePdfComponentNgFactory */

  /***/
  function srcAppManagerPheDuyetModalFilePdfModalFilePdfComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalFilePdfComponent", function () {
      return RenderType_ModalFilePdfComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalFilePdfComponent_0", function () {
      return View_ModalFilePdfComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalFilePdfComponent_Host_0", function () {
      return View_ModalFilePdfComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalFilePdfComponentNgFactory", function () {
      return ModalFilePdfComponentNgFactory;
    });
    /* harmony import */


    var _modal_file_pdf_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-file-pdf.component.scss.shim.ngstyle */
    "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _modal_file_pdf_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./modal-file-pdf.component */
    "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalFilePdfComponent = [_modal_file_pdf_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalFilePdfComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalFilePdfComponent,
      data: {}
    });

    function View_ModalFilePdfComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 10, "app-modal-template", [], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 1, "div", [["body", ""], ["style", "height: 85vh; overflow-y: hidden;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 0, "a", [["hidden", ""], ["src", "https://api-bcvt-kontum.gdtvietnam.com/Uploads/VTL/HoSo/354e5e02-8975-48b3-8d99-6fb9d1eeaab5.pdf"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 2, "app-button", [["btnClass", "btn-primary"], ["icon", "edit"]], null, null, null, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["K\xFD s\u1ED1"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "close"]], null, null, null, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["\u0110\xF3ng"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = "btn-primary";
        var currVal_2 = "edit";

        _ck(_v, 6, 0, currVal_1, currVal_2);

        var currVal_3 = "btn-danger";
        var currVal_4 = "close";

        _ck(_v, 9, 0, currVal_3, currVal_4);
      }, null);
    }

    function View_ModalFilePdfComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-file-pdf", [], null, null, null, View_ModalFilePdfComponent_0, RenderType_ModalFilePdfComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_file_pdf_component__WEBPACK_IMPORTED_MODULE_7__["ModalFilePdfComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalFilePdfComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-file-pdf", _modal_file_pdf_component__WEBPACK_IMPORTED_MODULE_7__["ModalFilePdfComponent"], View_ModalFilePdfComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.scss.shim.ngstyle.js":
  /*!************************************************************************************************!*\
    !*** ./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.scss.shim.ngstyle.js ***!
    \************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerPheDuyetModalFilePdfModalFilePdfComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvcGhlLWR1eWV0L21vZGFsLWZpbGUtcGRmL21vZGFsLWZpbGUtcGRmLmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ts":
  /*!******************************************************************************!*\
    !*** ./src/app/manager/phe-duyet/modal-file-pdf/modal-file-pdf.component.ts ***!
    \******************************************************************************/

  /*! exports provided: ModalFilePdfComponent */

  /***/
  function srcAppManagerPheDuyetModalFilePdfModalFilePdfComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalFilePdfComponent", function () {
      return ModalFilePdfComponent;
    });

    var ModalFilePdfComponent = /*#__PURE__*/function () {
      function ModalFilePdfComponent() {
        _classCallCheck(this, ModalFilePdfComponent);

        this.title = 'Xem file PDF';
      }

      _createClass(ModalFilePdfComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ModalFilePdfComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/phe-duyet/phe-duyet.component.ngfactory.js":
  /*!********************************************************************!*\
    !*** ./src/app/manager/phe-duyet/phe-duyet.component.ngfactory.js ***!
    \********************************************************************/

  /*! exports provided: RenderType_PheDuyetComponent, View_PheDuyetComponent_0, View_PheDuyetComponent_Host_0, PheDuyetComponentNgFactory */

  /***/
  function srcAppManagerPheDuyetPheDuyetComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PheDuyetComponent", function () {
      return RenderType_PheDuyetComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PheDuyetComponent_0", function () {
      return View_PheDuyetComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PheDuyetComponent_Host_0", function () {
      return View_PheDuyetComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PheDuyetComponentNgFactory", function () {
      return PheDuyetComponentNgFactory;
    });
    /* harmony import */


    var _phe_duyet_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./phe-duyet.component.scss.shim.ngstyle */
    "./src/app/manager/phe-duyet/phe-duyet.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _shared_components_table_table_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../shared/components/table/table.component.ngfactory */
    "./src/app/manager/shared/components/table/table.component.ngfactory.js");
    /* harmony import */


    var _shared_components_table_table_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../shared/components/table/table.component */
    "./src/app/manager/shared/components/table/table.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _phe_duyet_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./phe-duyet.component */
    "./src/app/manager/phe-duyet/phe-duyet.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_PheDuyetComponent = [_phe_duyet_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_PheDuyetComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_PheDuyetComponent,
      data: {}
    });

    function View_PheDuyetComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.ID;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.ID;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.TenDonVi;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_PheDuyetComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_PheDuyetComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-warning"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 ch\u1EDD duy\u1EC7t"]))], null, null);
    }

    function View_PheDuyetComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-success"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 \u0111\xE3 duy\u1EC7t"]))], null, null);
    }

    function View_PheDuyetComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [["class", "badge badge-pill badge-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 b\u1ECB t\u1EEB ch\u1ED1i"]))], null, null);
    }

    function View_PheDuyetComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 10, null, null, null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"], [], {
        ngSwitch: [0, "ngSwitch"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PheDuyetComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PheDuyetComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "h6", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PheDuyetComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitchCase"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgSwitch"]], {
        ngSwitchCase: [0, "ngSwitchCase"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.value;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.TinhTrangHoSo.HoSoChoDuyet;

        _ck(_v, 4, 0, currVal_1);

        var currVal_2 = _co.TinhTrangHoSo.HoSoDaDuyet;

        _ck(_v, 7, 0, currVal_2);

        var currVal_3 = _co.TinhTrangHoSo.HoSoBiTuChoi;

        _ck(_v, 10, 0, currVal_3);
      }, null);
    }

    function View_PheDuyetComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-button", [["btnClass", "btn-outline-danger"], ["icon", "trash"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co["delete"](_v.context.row) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "app-button", [["btnClass", "btn-outline-success"], ["icon", "eye"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openModal(_co.flag.View, _v.context.row) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_5__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      })], function (_ck, _v) {
        var currVal_0 = "btn-outline-danger";
        var currVal_1 = "trash";

        _ck(_v, 2, 0, currVal_0, currVal_1);

        var currVal_2 = "btn-outline-success";
        var currVal_3 = "eye";

        _ck(_v, 4, 0, currVal_2, currVal_3);
      }, null);
    }

    function View_PheDuyetComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](2, 2)], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 1, 0, _ck(_v, 2, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _v.context.value, "dd/MM/yyyy"));

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_PheDuyetComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        action: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 2, {
        date: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 3, {
        statusTpl: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 4, {
        table: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 19, "div", [["class", "container-fluid mt-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 18, "app-table", [], null, null, null, _shared_components_table_table_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_TableComponent_0"], _shared_components_table_table_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_TableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 114688, [[4, 4], ["table", 4]], 0, _shared_components_table_table_component__WEBPACK_IMPORTED_MODULE_7__["TableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__["ApiService"]], {
        columns: [0, "columns"],
        header: [1, "header"],
        url: [2, "url"],
        file: [3, "file"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, 0, 16, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 6, "select", [["class", "form-control form-control-sm"], ["style", "width: 200px;"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.filterDV($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Doanh nghi\u1EC7p"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PheDuyetComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 6, "select", [["class", "form-control form-control-sm"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.filter($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](18, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](19, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Tr\u1EA1ng th\xE1i"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PheDuyetComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](22, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](23, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["name", "startDay"], ["type", "date"]], [[8, "value", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.getStartDay($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["name", "endDay"], ["type", "date"]], [[8, "value", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.getEndDay($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[3, 2], ["statusTpl", 2]], null, 0, null, View_PheDuyetComponent_3)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[1, 2], ["action", 2]], null, 0, null, View_PheDuyetComponent_7)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[2, 2], ["date", 2]], null, 0, null, View_PheDuyetComponent_8))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;
        var currVal_1 = _co.header;
        var currVal_2 = _co.url;
        var currVal_3 = _co.file;

        _ck(_v, 7, 0, currVal_0, currVal_1, currVal_2, currVal_3);

        var currVal_4 = "";

        _ck(_v, 11, 0, currVal_4);

        var currVal_5 = "";

        _ck(_v, 12, 0, currVal_5);

        var currVal_6 = _co.donVis;

        _ck(_v, 15, 0, currVal_6);

        var currVal_7 = "";

        _ck(_v, 18, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 19, 0, currVal_8);

        var currVal_9 = _co.tinhTrangHoSos;

        _ck(_v, 22, 0, currVal_9);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_10 = _co.file.startDay;

        _ck(_v, 23, 0, currVal_10);

        var currVal_11 = _co.file.endDay;

        _ck(_v, 24, 0, currVal_11);
      });
    }

    function View_PheDuyetComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-phe-duyet", [], null, null, null, View_PheDuyetComponent_0, RenderType_PheDuyetComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _phe_duyet_component__WEBPACK_IMPORTED_MODULE_11__["PheDuyetComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__["ApiService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_13__["DonViService"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var PheDuyetComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-phe-duyet", _phe_duyet_component__WEBPACK_IMPORTED_MODULE_11__["PheDuyetComponent"], View_PheDuyetComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/phe-duyet/phe-duyet.component.scss.shim.ngstyle.js":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/phe-duyet/phe-duyet.component.scss.shim.ngstyle.js ***!
    \****************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerPheDuyetPheDuyetComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvcGhlLWR1eWV0L3BoZS1kdXlldC5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/manager/phe-duyet/phe-duyet.component.ts":
  /*!**********************************************************!*\
    !*** ./src/app/manager/phe-duyet/phe-duyet.component.ts ***!
    \**********************************************************/

  /*! exports provided: DoanhNghiep, LoaiHoSo, PheDuyetComponent */

  /***/
  function srcAppManagerPheDuyetPheDuyetComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DoanhNghiep", function () {
      return DoanhNghiep;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LoaiHoSo", function () {
      return LoaiHoSo;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PheDuyetComponent", function () {
      return PheDuyetComponent;
    });
    /* harmony import */


    var _ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../ho-so/add/add.component */
    "./src/app/manager/ho-so/add/add.component.ts");
    /* harmony import */


    var _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../shared/models/ho-so.model */
    "./src/app/manager/shared/models/ho-so.model.ts");
    /* harmony import */


    var _ho_so_list_modal_delete_modal_delete_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../ho-so/list/modal-delete/modal-delete.component */
    "./src/app/manager/ho-so/list/modal-delete/modal-delete.component.ts");

    var DoanhNghiep;

    (function (DoanhNghiep) {
      DoanhNghiep["viettel"] = "VIETTEL";
      DoanhNghiep["mobile"] = "MOBILE";
      DoanhNghiep["vnmobile"] = "VN MOBILE";
      DoanhNghiep["vnpt"] = "VNPT";
      DoanhNghiep["gtel"] = "GTEL";
    })(DoanhNghiep || (DoanhNghiep = {}));

    var LoaiHoSo;

    (function (LoaiHoSo) {
      LoaiHoSo["HoSoChoDuyet"] = "H\u1ED3 s\u01A1 ch\u1EDD duy\u1EC7t";
      LoaiHoSo["HoSoDaDuyet"] = "H\u1ED3 s\u01A1 \u0111\xE3 duy\u1EC7t";
      LoaiHoSo["HoSoBiTuChoi"] = "H\u1ED3 s\u01A1 b\u1ECB t\u1EEB ch\u1ED1i";
    })(LoaiHoSo || (LoaiHoSo = {}));

    var PheDuyetComponent = /*#__PURE__*/function () {
      function PheDuyetComponent(modalService, apiService, loginService, toastService, donViService, datePipe) {
        _classCallCheck(this, PheDuyetComponent);

        this.modalService = modalService;
        this.apiService = apiService;
        this.loginService = loginService;
        this.toastService = toastService;
        this.donViService = donViService;
        this.datePipe = datePipe;
        this.header = "Danh sách hồ sơ";
        this.url = 'HoSoes/GetListPheDuyet';
        this.file = {
          idDV: '',
          status: null,
          name: '',
          startDay: this.firstDateOnMonth,
          endDay: this.lastDateOnMonth
        };
        this.tinhTrangHoSos = [{
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_1__["TinhTrangHoSo"].HoSoChoDuyet,
          name: 'Chờ duyệt'
        }, {
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_1__["TinhTrangHoSo"].HoSoBiTuChoi,
          name: 'Từ chối'
        }, {
          code: _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_1__["TinhTrangHoSo"].HoSoDaDuyet,
          name: 'Đã duyệt'
        }];
        this.donVis = [];
        this.flag = _ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_0__["Flag"];
        this.TinhTrangHoSo = _shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_1__["TinhTrangHoSo"];
        this.rows = [];
        this.DoanhNghiep = '';
      }

      _createClass(PheDuyetComponent, [{
        key: "firstDateOnMonth",
        get: function get() {
          var dt = new Date(); // const firstDate = new Date(dt.getFullYear(), dt.getMonth(), 1);

          var firstDate = new Date(new Date().getFullYear(), 0, 1);
          return this.datePipe.transform(firstDate, 'yyyy-MM-dd');
        }
      }, {
        key: "lastDateOnMonth",
        get: function get() {
          var currentDate = new Date();
          var lastDate = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0);
          return this.datePipe.transform(lastDate, 'yyyy-MM-dd');
        }
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this173 = this;

          // this.DoanhNghiep = this.loginService.taiKhoan.TenDonVi;
          // console.log(this.DoanhNghiep);
          // this.table.loadData();
          this.columns = [{
            name: "Mã hồ sơ",
            prop: "MaHoSo",
            flexGrow: 2
          }, {
            name: "Tên hồ sơ",
            prop: "TenHoSo",
            flexGrow: 5
          }, {
            name: "Ngày tạo",
            prop: "TGTao",
            flexGrow: 3,
            cellTemplate: this.date
          }, {
            name: "Ngày gửi",
            prop: "TGGuiHoSo",
            flexGrow: 3,
            cellTemplate: this.date
          }, {
            name: "Ngày đến hạn xử lý",
            prop: "TGDenHanXuLy",
            flexGrow: 3,
            cellTemplate: this.date
          }, {
            name: "Doanh nghiệp",
            prop: "TenDonVi",
            flexGrow: 3
          }, // { name: "Lý do", prop: "LyDo", flexGrow: 3,},
          {
            name: "Trạng thái",
            prop: "TrangThai",
            flexGrow: 3,
            cellTemplate: this.statusTpl
          }, {
            name: "Thao tác",
            prop: "action",
            flexGrow: 2,
            cellTemplate: this.action
          }];
          this.donViService.getListDonVi().then(function (res) {
            return _this173.donVis = res;
          });
        } // getListHoSo() {
        //   this.apiService.get(`HoSoes/GetListPheDuyet?TenHoSo=${this.name}&LoaiHoSo=&IDDV=${this.idDV}&StartDate=${this.startDay}&EndDate=${this.endDay}&TrangThai=${this.status}`, true)
        //     .then(res => {
        //       this.rows = res;
        //     })
        // }

      }, {
        key: "getStartDay",
        value: function getStartDay(event) {
          this.file.startDay = event.target.value;
          this.table.loadData();
        }
      }, {
        key: "getEndDay",
        value: function getEndDay(event) {
          this.file.endDay = event.target.value;
          this.table.loadData();
        }
      }, {
        key: "filter",
        value: function filter(event) {
          var val = event.target.value;
          this.file.status = val;
          this.table.loadData();
        }
      }, {
        key: "filterDV",
        value: function filterDV(event) {
          this.file.idDV = event.target.value;
          this.table.loadData();
        }
      }, {
        key: "openModal",
        value: function openModal(flag, row) {
          var _this174 = this;

          var modalref = this.modalService.open(_ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_0__["AddComponent"], {
            size: 'full'
          });
          modalref.componentInstance.flag = flag;
          modalref.componentInstance.row = row;
          console.log(row);
          modalref.result.then(function (res) {
            if (res === 'ok') {
              _this174.toastService.success('Lưu trạng thái thành công!');

              _this174.table.loadData();
            } else {
              _this174.toastService.danger('Lưu trạng thái thất bại!');
            }
          }, function (response) {});
        }
      }, {
        key: "delete",
        value: function _delete(id) {
          var _this175 = this;

          var modal = this.modalService.open(_ho_so_list_modal_delete_modal_delete_component__WEBPACK_IMPORTED_MODULE_2__["ModalDeleteComponent"], {
            size: 'sm',
            centered: true
          });
          modal.componentInstance.idHS = id.ID;
          modal.result.then(function (res) {
            if (res === 'ok') {
              _this175.toastService.success('Xóa thành công!');

              _this175.table.loadData();
            } else {
              _this175.toastService.danger('Xóa thất bại!');
            }
          }, function (response) {});
        }
      }]);

      return PheDuyetComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ngfactory.js":
  /*!************************************************************************************************!*\
    !*** ./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ngfactory.js ***!
    \************************************************************************************************/

  /*! exports provided: RenderType_MdlChangePasswordComponent, View_MdlChangePasswordComponent_0, View_MdlChangePasswordComponent_Host_0, MdlChangePasswordComponentNgFactory */

  /***/
  function srcAppManagerProfileMdlChangePasswordMdlChangePasswordComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_MdlChangePasswordComponent", function () {
      return RenderType_MdlChangePasswordComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MdlChangePasswordComponent_0", function () {
      return View_MdlChangePasswordComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MdlChangePasswordComponent_Host_0", function () {
      return View_MdlChangePasswordComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MdlChangePasswordComponentNgFactory", function () {
      return MdlChangePasswordComponentNgFactory;
    });
    /* harmony import */


    var _mdl_change_password_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./mdl-change-password.component.scss.shim.ngstyle */
    "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _mdl_change_password_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./mdl-change-password.component */
    "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_MdlChangePasswordComponent = [_mdl_change_password_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_MdlChangePasswordComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_MdlChangePasswordComponent,
      data: {}
    });

    function View_MdlChangePasswordComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 43, "app-modal-template", [["title", "\u0110\u1ED5i m\u1EADt kh\u1EA9u"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_3__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 34, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 33, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 10, "div", [["class", "col-sm-12 row"], ["style", "margin-bottom: 5px"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "label", [["class", "col-4 col-form-label-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["M\u1EADt kh\u1EA9u c\u0169:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 7, "input", [["class", "form-control col-8"], ["fullWidth", ""], ["id", "old-password"], ["name", "old-password"], ["placeholder", "M\u1EADt kh\u1EA9u c\u0169"], ["required", ""], ["type", "password"]], [[1, "required", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.matKhauCu = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"], [], {
        required: [0, "required"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 10, "div", [["class", "col-sm-12 row"], ["style", "margin-bottom: 5px"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 1, "label", [["class", "col-4 col-form-label-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["M\u1EADt kh\u1EA9u m\u1EDBi:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 7, "input", [["class", "form-control col-8"], ["fullWidth", ""], ["id", "new-password"], ["name", "new-password"], ["placeholder", "M\u1EADt kh\u1EA9u m\u1EDBi"], ["required", ""], ["type", "password"]], [[1, "required", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 19)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 19).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 19)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 19)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.matKhauMoi = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](19, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](20, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"], [], {
        required: [0, "required"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](25, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](26, 0, null, null, 10, "div", [["class", "col-sm-12 row"], ["style", "margin-bottom: 5px"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](27, 0, null, null, 1, "label", [["class", "col-4 col-form-label-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Nh\u1EADp l\u1EA1i m\u1EADt kh\u1EA9u m\u1EDBi:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](29, 0, null, null, 7, "input", [["class", "form-control col-8"], ["fullWidth", ""], ["id", "confirm"], ["name", "confirm-password"], ["placeholder", "Nh\u1EADp l\u1EA1i m\u1EADt kh\u1EA9u m\u1EDBi"], ["required", ""], ["type", "password"]], [[1, "required", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 30)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 30).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 30)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 30)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.matKhauMoiAgain = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](30, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](31, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"], [], {
        required: [0, "required"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["RequiredValidator"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](34, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](36, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](37, 0, null, 2, 6, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](38, 0, null, null, 2, "app-button", [["btnClass", "btn-outline-danger"], ["icon", "ban"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.cancel() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](39, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" H\u1EE7y "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](41, 0, null, null, 2, "app-button", [["btnClass", "btn-primary ml-1"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleChangePassword() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](42, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" L\u01B0u "]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "\u0110\u1ED5i m\u1EADt kh\u1EA9u";

        _ck(_v, 1, 0, currVal_0);

        var currVal_9 = "";

        _ck(_v, 9, 0, currVal_9);

        var currVal_10 = "old-password";
        var currVal_11 = _co.matKhauCu;

        _ck(_v, 12, 0, currVal_10, currVal_11);

        var currVal_20 = "";

        _ck(_v, 20, 0, currVal_20);

        var currVal_21 = "new-password";
        var currVal_22 = _co.matKhauMoi;

        _ck(_v, 23, 0, currVal_21, currVal_22);

        var currVal_31 = "";

        _ck(_v, 31, 0, currVal_31);

        var currVal_32 = "confirm-password";
        var currVal_33 = _co.matKhauMoiAgain;

        _ck(_v, 34, 0, currVal_32, currVal_33);

        var currVal_34 = "btn-outline-danger";
        var currVal_35 = "ban";

        _ck(_v, 39, 0, currVal_34, currVal_35);

        var currVal_36 = "btn-primary ml-1";
        var currVal_37 = "save";

        _ck(_v, 42, 0, currVal_36, currVal_37);
      }, function (_ck, _v) {
        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).required ? "" : null;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassUntouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassTouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassPristine;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassDirty;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassValid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassInvalid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).ngClassPending;

        _ck(_v, 7, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 20).required ? "" : null;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassUntouched;

        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassTouched;

        var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassPristine;

        var currVal_16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassDirty;

        var currVal_17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassValid;

        var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassInvalid;

        var currVal_19 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 25).ngClassPending;

        _ck(_v, 18, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19);

        var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).required ? "" : null;

        var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassUntouched;

        var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassTouched;

        var currVal_26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassPristine;

        var currVal_27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassDirty;

        var currVal_28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassValid;

        var currVal_29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassInvalid;

        var currVal_30 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).ngClassPending;

        _ck(_v, 29, 0, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30);
      });
    }

    function View_MdlChangePasswordComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-mdl-change-password", [], null, null, null, View_MdlChangePasswordComponent_0, RenderType_MdlChangePasswordComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _mdl_change_password_component__WEBPACK_IMPORTED_MODULE_8__["MdlChangePasswordComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_10__["ApiService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbActiveModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var MdlChangePasswordComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-mdl-change-password", _mdl_change_password_component__WEBPACK_IMPORTED_MODULE_8__["MdlChangePasswordComponent"], View_MdlChangePasswordComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.scss.shim.ngstyle.js":
  /*!********************************************************************************************************!*\
    !*** ./src/app/manager/profile/mdl-change-password/mdl-change-password.component.scss.shim.ngstyle.js ***!
    \********************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerProfileMdlChangePasswordMdlChangePasswordComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvcHJvZmlsZS9tZGwtY2hhbmdlLXBhc3N3b3JkL21kbC1jaGFuZ2UtcGFzc3dvcmQuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ts":
  /*!**************************************************************************************!*\
    !*** ./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ts ***!
    \**************************************************************************************/

  /*! exports provided: MdlChangePasswordComponent */

  /***/
  function srcAppManagerProfileMdlChangePasswordMdlChangePasswordComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MdlChangePasswordComponent", function () {
      return MdlChangePasswordComponent;
    });

    var MdlChangePasswordComponent = /*#__PURE__*/function () {
      function MdlChangePasswordComponent(toastService, apiService, loginService, modal) {
        _classCallCheck(this, MdlChangePasswordComponent);

        this.toastService = toastService;
        this.apiService = apiService;
        this.loginService = loginService;
        this.modal = modal;
      }

      _createClass(MdlChangePasswordComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "checkInvalid",
        value: function checkInvalid() {
          if (!this.matKhauCu) {
            this.toastService.warning("Vui lòng nhập mật khẩu cũ!");
            return false;
          }

          if (!this.matKhauMoi) {
            this.toastService.warning("Vui lòng nhập mật khẩu mới!");
            return false;
          }

          if (!this.matKhauMoiAgain) {
            this.toastService.warning("Vui lòng nhập lại mật khẩu mới!");
            return false;
          }

          if (this.matKhauMoi !== this.matKhauMoiAgain) {
            this.toastService.warning("Mật khẩu mới nhập lại không khớp!");
            return false;
          }

          return true;
        }
      }, {
        key: "handleChangePassword",
        value: function handleChangePassword() {
          var _this176 = this;

          if (this.checkInvalid()) {
            this.apiService.post("/QuanLyTaiKhoan/DoiMatKhau", {
              ma_tai_khoan: this.loginService.taiKhoan.MaTaiKhoan,
              mat_khau_cu: this.matKhauCu,
              mat_khau_moi: this.matKhauMoi
            }).then(function (result) {
              if (result === "Sai mật khẩu cũ!") {
                _this176.toastService.warning(result);
              } else {
                _this176.toastService.success(result);

                _this176.modal.dismiss();
              }
            });
          }
        }
      }, {
        key: "cancel",
        value: function cancel() {
          this.modal.dismiss();
        }
      }]);

      return MdlChangePasswordComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/profile/profile.component.ngfactory.js":
  /*!****************************************************************!*\
    !*** ./src/app/manager/profile/profile.component.ngfactory.js ***!
    \****************************************************************/

  /*! exports provided: RenderType_ProfileComponent, View_ProfileComponent_0, View_ProfileComponent_Host_0, ProfileComponentNgFactory */

  /***/
  function srcAppManagerProfileProfileComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ProfileComponent", function () {
      return RenderType_ProfileComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ProfileComponent_0", function () {
      return View_ProfileComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ProfileComponent_Host_0", function () {
      return View_ProfileComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ProfileComponentNgFactory", function () {
      return ProfileComponentNgFactory;
    });
    /* harmony import */


    var _profile_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./profile.component.scss.shim.ngstyle */
    "./src/app/manager/profile/profile.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _profile_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./profile.component */
    "./src/app/manager/profile/profile.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ProfileComponent = [_profile_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ProfileComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ProfileComponent,
      data: {}
    });

    function View_ProfileComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        fileInput: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 56, "div", [["class", "container bootstrap snippet my-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 55, "div", [["class", "profile-card shadow"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 54, "div", [["class", "row no-gutters"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 6, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 5, "div", [["class", "text-center wrap-avatar"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 2, "div", [["class", "position-relative mb-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 0, "img", [["alt", "avatar"], ["class", "avatar img-circle img-thumbnail"]], [[8, "src", 4]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, [[1, 0], ["fileInput", 1]], null, 0, "input", [["accept", "image/*"], ["alt", "avatar"], ["class", "avatar position-absolute"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.onSelectFile($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 1, "button", [["class", "btn btn-info text-white"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.openMdlChangePassword() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["\u0110\u1ED5i m\u1EADt kh\u1EA9u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 46, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 10, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["T\xEAn hi\u1EC3n th\u1ECB:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 7, "input", [["class", "form-control col-sm-9"], ["fullWidth", ""], ["id", "tenhienthi"], ["name", "tenhienthi"], ["placeholder", "T\xEAn hi\u1EC3n th\u1ECB"], ["required", ""], ["type", "text"]], [[1, "required", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.tenHienThi = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](17, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["RequiredValidator"], [], {
        required: [0, "required"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["RequiredValidator"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](20, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](22, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](23, 0, null, null, 8, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["\u0110\u01A1n v\u1ECB:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](26, 0, null, null, 5, "input", [["class", "form-control col-sm-9"], ["disabled", ""], ["fullWidth", ""], ["id", "donvi"], ["name", "donvi"], ["placeholder", "\u0110\u01A1n v\u1ECB"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 27)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.tenDonVi = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](27, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](29, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        isDisabled: [1, "isDisabled"],
        model: [2, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](31, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](32, 0, null, null, 8, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](33, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["S\u1ED1 \u0111i\u1EC7n tho\u1EA1i:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](35, 0, null, null, 5, "input", [["class", "form-control col-sm-9"], ["fullWidth", ""], ["id", "sdt"], ["name", "sdt"], ["placeholder", "S\u1ED1 \u0111i\u1EC7n tho\u1EA1i"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 36)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.SDT = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](36, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](38, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](40, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](41, 0, null, null, 8, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](42, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm text-right"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Email:"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](44, 0, null, null, 5, "input", [["class", "form-control col-sm-9"], ["fullWidth", ""], ["id", "email"], ["name", "email"], ["placeholder", "Email"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 45)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 45).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 45)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 45)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.email = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](45, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](47, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](49, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](50, 0, null, null, 7, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](51, 0, null, null, 6, "div", [["class", "offset-3 col-9 d-flex p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](52, 0, null, null, 2, "app-button", [["btnClass", "btn-outline-danger"], ["icon", "sync-alt"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleReset() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](53, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" T\u1EA1o l\u1EA1i "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](55, 0, null, null, 2, "app-button", [["btnClass", "btn-primary ml-1"], ["icon", "save"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.updateProfile() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](56, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" L\u01B0u "]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_9 = "";

        _ck(_v, 17, 0, currVal_9);

        var currVal_10 = "tenhienthi";
        var currVal_11 = _co.tenHienThi;

        _ck(_v, 20, 0, currVal_10, currVal_11);

        var currVal_19 = "donvi";
        var currVal_20 = "";
        var currVal_21 = _co.tenDonVi;

        _ck(_v, 29, 0, currVal_19, currVal_20, currVal_21);

        var currVal_29 = "sdt";
        var currVal_30 = _co.SDT;

        _ck(_v, 38, 0, currVal_29, currVal_30);

        var currVal_38 = "email";
        var currVal_39 = _co.email;

        _ck(_v, 47, 0, currVal_38, currVal_39);

        var currVal_40 = "btn-outline-danger";
        var currVal_41 = "sync-alt";

        _ck(_v, 53, 0, currVal_40, currVal_41);

        var currVal_42 = "btn-primary ml-1";
        var currVal_43 = "save";

        _ck(_v, 56, 0, currVal_42, currVal_43);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.src ? _co.src : "../../../assets/images/profile.png";

        _ck(_v, 7, 0, currVal_0);

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 17).required ? "" : null;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassUntouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassTouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassPristine;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassDirty;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassValid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassInvalid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 22).ngClassPending;

        _ck(_v, 15, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8);

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassUntouched;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassTouched;

        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassPristine;

        var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassDirty;

        var currVal_16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassValid;

        var currVal_17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassInvalid;

        var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 31).ngClassPending;

        _ck(_v, 26, 0, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18);

        var currVal_22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassUntouched;

        var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassTouched;

        var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassPristine;

        var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassDirty;

        var currVal_26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassValid;

        var currVal_27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassInvalid;

        var currVal_28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 40).ngClassPending;

        _ck(_v, 35, 0, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28);

        var currVal_31 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassUntouched;

        var currVal_32 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassTouched;

        var currVal_33 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassPristine;

        var currVal_34 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassDirty;

        var currVal_35 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassValid;

        var currVal_36 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassInvalid;

        var currVal_37 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 49).ngClassPending;

        _ck(_v, 44, 0, currVal_31, currVal_32, currVal_33, currVal_34, currVal_35, currVal_36, currVal_37);
      });
    }

    function View_ProfileComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-profile", [], null, null, null, View_ProfileComponent_0, RenderType_ProfileComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _profile_component__WEBPACK_IMPORTED_MODULE_5__["ProfileComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_7__["ApiService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_8__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ProfileComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-profile", _profile_component__WEBPACK_IMPORTED_MODULE_5__["ProfileComponent"], View_ProfileComponent_Host_0, {
      fields: "fields"
    }, {
      onSubmit: "onSubmit"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/profile/profile.component.scss.shim.ngstyle.js":
  /*!************************************************************************!*\
    !*** ./src/app/manager/profile/profile.component.scss.shim.ngstyle.js ***!
    \************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerProfileProfileComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".profile-card[_ngcontent-%COMP%] {\n  max-width: 100%;\n  border: 0;\n  border-radius: 27.5px;\n  overflow: hidden;\n  position: relative;\n  padding: 26px;\n}\n.profile-card[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%] {\n  vertical-align: middle;\n  width: 160px;\n  height: 160px;\n  border-radius: 50%;\n}\n.wrap-avatar[_ngcontent-%COMP%] {\n  width: -moz-fit-content;\n  width: fit-content;\n  margin: 0 auto;\n}\n.wrap-avatar[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  opacity: 0;\n  top: 0;\n  left: 0;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9wcm9maWxlL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYW5hZ2VyXFxwcm9maWxlXFxwcm9maWxlLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9tYW5hZ2VyL3Byb2ZpbGUvcHJvZmlsZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGVBQUE7RUFDQSxTQUFBO0VBQ0EscUJBQUE7RUFFQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtBQ0FKO0FEQ0k7RUFDSSxzQkFBQTtFQUNBLFlBQUE7RUFDQSxhQUFBO0VBQ0Esa0JBQUE7QUNDUjtBRElBO0VBQ0ksdUJBQUE7RUFBQSxrQkFBQTtFQUNBLGNBQUE7QUNESjtBREVJO0VBQ0ksVUFBQTtFQUNBLE1BQUE7RUFDQSxPQUFBO0FDQVIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3Byb2ZpbGUvcHJvZmlsZS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5wcm9maWxlLWNhcmQge1xyXG4gICAgbWF4LXdpZHRoOiAxMDAlO1xyXG4gICAgYm9yZGVyOiAwO1xyXG4gICAgYm9yZGVyLXJhZGl1czogMjcuNXB4O1xyXG4gICAgLy8gYm94LXNoYWRvdzogMCAxMHB4IDMwcHggMCByZ2JhKDE3MiwgMTY4LCAxNjgsIDAuNDMpO1xyXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIHBhZGRpbmc6IDI2cHg7XHJcbiAgICAuYXZhdGFyIHtcclxuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgICAgIHdpZHRoOiAxNjBweDtcclxuICAgICAgICBoZWlnaHQ6IDE2MHB4O1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICAgICAgfVxyXG5cclxufVxyXG5cclxuLndyYXAtYXZhdGFyIHtcclxuICAgIHdpZHRoOiBmaXQtY29udGVudDtcclxuICAgIG1hcmdpbjogMCBhdXRvO1xyXG4gICAgaW5wdXQge1xyXG4gICAgICAgIG9wYWNpdHk6IDA7XHJcbiAgICAgICAgdG9wOiAwO1xyXG4gICAgICAgIGxlZnQ6IDA7XHJcbiAgICB9XHJcbn0iLCIucHJvZmlsZS1jYXJkIHtcbiAgbWF4LXdpZHRoOiAxMDAlO1xuICBib3JkZXI6IDA7XG4gIGJvcmRlci1yYWRpdXM6IDI3LjVweDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBwYWRkaW5nOiAyNnB4O1xufVxuLnByb2ZpbGUtY2FyZCAuYXZhdGFyIHtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgd2lkdGg6IDE2MHB4O1xuICBoZWlnaHQ6IDE2MHB4O1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG59XG5cbi53cmFwLWF2YXRhciB7XG4gIHdpZHRoOiBmaXQtY29udGVudDtcbiAgbWFyZ2luOiAwIGF1dG87XG59XG4ud3JhcC1hdmF0YXIgaW5wdXQge1xuICBvcGFjaXR5OiAwO1xuICB0b3A6IDA7XG4gIGxlZnQ6IDA7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/profile/profile.component.ts":
  /*!******************************************************!*\
    !*** ./src/app/manager/profile/profile.component.ts ***!
    \******************************************************/

  /*! exports provided: ProfileComponent */

  /***/
  function srcAppManagerProfileProfileComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ProfileComponent", function () {
      return ProfileComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _mdl_change_password_mdl_change_password_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./mdl-change-password/mdl-change-password.component */
    "./src/app/manager/profile/mdl-change-password/mdl-change-password.component.ts"); // import { HttpClient } from '@angular/common/http';


    var ProfileComponent = /*#__PURE__*/function () {
      function ProfileComponent(loginService, apiService, toastService, modalService) {
        _classCallCheck(this, ProfileComponent);

        this.loginService = loginService;
        this.apiService = apiService;
        this.toastService = toastService;
        this.modalService = modalService;
        this.loading = false;
        this.ThongTinNguoiDungs = {};
        this.url = 'https://api-bcvt-kontum.gdtvietnam.com';
        this.fields = [];
        this.onSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.datas = {};
      }

      _createClass(ProfileComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this177 = this;

          this.maTK = this.loginService.taiKhoan.MaTaiKhoan;
          this.tenDonVi = this.loginService.taiKhoan.TenDonVi;
          this.apiService.get("odata/TaiKhoans?$filter=MaTaiKhoan eq '".concat(this.maTK, "'")).then(function (res) {
            var value = res.value;
            _this177.tenHienThi = value[0].TenHienThi;
            _this177.email = value[0].Email;
            _this177.SDT = value[0].DienThoai;
            _this177.src = "".concat(_this177.url).concat(value[0].HinhAnh);
            console.log(_this177.src);
          });
        }
      }, {
        key: "onSelectFile",
        value: function onSelectFile(event) {
          var _this178 = this;

          this.image = event.target.files[0];

          if (event.target.files && event.target.files[0]) {
            var reader = new FileReader();
            reader.readAsDataURL(event.target.files[0]);

            reader.onload = function (event) {
              _this178.src = event.target.result;
            };
          }
        }
      }, {
        key: "updateProfile",
        value: function updateProfile() {
          var _this179 = this;

          var formData = new FormData();
          formData.append('MaTaiKhoan', this.maTK);
          formData.append('TenHienThi', this.tenHienThi);
          formData.append('DienThoai', this.SDT);
          formData.append('Email', this.email);
          formData.append('HinhAnh', this.image); // this.fileInput.nativeElement.value && formData.append('HinhAnh', this.fileInput.nativeElement.files[0]);

          this.apiService.post('QuanLyTaiKhoan/ChinhSuaThongTin', formData, true).then(function (res) {
            _this179.toastService.success(res);
          })["catch"](function (e) {
            return _this179.toastService.danger(e.message);
          });
        }
      }, {
        key: "openMdlChangePassword",
        value: function openMdlChangePassword() {
          var modalRef = this.modalService.open(_mdl_change_password_mdl_change_password_component__WEBPACK_IMPORTED_MODULE_1__["MdlChangePasswordComponent"], {
            centered: true
          });
        }
      }, {
        key: "handleReset",
        value: function handleReset() {
          this.ThongTinNguoiDungs = this.loginService.taiKhoan;
        }
      }]);

      return ProfileComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/profile/profile.module.ts":
  /*!***************************************************!*\
    !*** ./src/app/manager/profile/profile.module.ts ***!
    \***************************************************/

  /*! exports provided: ProfileModule */

  /***/
  function srcAppManagerProfileProfileModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ProfileModule", function () {
      return ProfileModule;
    });

    var ProfileModule = /*#__PURE__*/_createClass(function ProfileModule() {
      _classCallCheck(this, ProfileModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/shared/components/card/card.component.ngfactory.js":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/shared/components/card/card.component.ngfactory.js ***!
    \****************************************************************************/

  /*! exports provided: RenderType_CardComponent, View_CardComponent_0, View_CardComponent_Host_0, CardComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsCardCardComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_CardComponent", function () {
      return RenderType_CardComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CardComponent_0", function () {
      return View_CardComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_CardComponent_Host_0", function () {
      return View_CardComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardComponentNgFactory", function () {
      return CardComponentNgFactory;
    });
    /* harmony import */


    var _card_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./card.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/card/card.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _card_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./card.component */
    "./src/app/manager/shared/components/card/card.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_CardComponent = [_card_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_CardComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_CardComponent,
      data: {}
    });

    function View_CardComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "div", [["class", "card border-light mb-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 3, "div", [["class", "card-header d-flex justify-content-between"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, [" ", " "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "div", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "div", [["class", "card-body"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 1)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.header;

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_CardComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-card", [], null, null, null, View_CardComponent_0, RenderType_CardComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _card_component__WEBPACK_IMPORTED_MODULE_2__["CardComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var CardComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-card", _card_component__WEBPACK_IMPORTED_MODULE_2__["CardComponent"], View_CardComponent_Host_0, {
      header: "header"
    }, {}, ["[header-button]", "*"]);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/card/card.component.scss.shim.ngstyle.js":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/shared/components/card/card.component.scss.shim.ngstyle.js ***!
    \************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsCardCardComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".card-header[_ngcontent-%COMP%] {\n  padding: 0.25rem 0.5rem;\n  font-weight: 500;\n  position: relative;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9jYXJkL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYW5hZ2VyXFxzaGFyZWRcXGNvbXBvbmVudHNcXGNhcmRcXGNhcmQuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvY2FyZC9jYXJkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNJO0VBQ0ksdUJBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0FDQVIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3NoYXJlZC9jb21wb25lbnRzL2NhcmQvY2FyZC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jYXJkIHtcclxuICAgICYtaGVhZGVyIHtcclxuICAgICAgICBwYWRkaW5nOiAwLjI1cmVtIDAuNXJlbTtcclxuICAgICAgICBmb250LXdlaWdodDogNTAwO1xyXG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIH1cclxufSIsIi5jYXJkLWhlYWRlciB7XG4gIHBhZGRpbmc6IDAuMjVyZW0gMC41cmVtO1xuICBmb250LXdlaWdodDogNTAwO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/card/card.component.ts":
  /*!******************************************************************!*\
    !*** ./src/app/manager/shared/components/card/card.component.ts ***!
    \******************************************************************/

  /*! exports provided: CardComponent */

  /***/
  function srcAppManagerSharedComponentsCardCardComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CardComponent", function () {
      return CardComponent;
    });

    var CardComponent = /*#__PURE__*/function () {
      function CardComponent() {
        _classCallCheck(this, CardComponent);

        this.header = '';
      }

      _createClass(CardComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return CardComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/components/components.module.ts":
  /*!****************************************************************!*\
    !*** ./src/app/manager/shared/components/components.module.ts ***!
    \****************************************************************/

  /*! exports provided: ComponentsModule */

  /***/
  function srcAppManagerSharedComponentsComponentsModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ComponentsModule", function () {
      return ComponentsModule;
    });

    var ComponentsModule = /*#__PURE__*/_createClass(function ComponentsModule() {
      _classCallCheck(this, ComponentsModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js":
  /*!**************************************************************************************!*\
    !*** ./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js ***!
    \**************************************************************************************/

  /*! exports provided: RenderType_DatatableComponent, View_DatatableComponent_0, View_DatatableComponent_Host_0, DatatableComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsDatatableDatatableComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_DatatableComponent", function () {
      return RenderType_DatatableComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DatatableComponent_0", function () {
      return View_DatatableComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_DatatableComponent_Host_0", function () {
      return View_DatatableComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableComponentNgFactory", function () {
      return DatatableComponentNgFactory;
    });
    /* harmony import */


    var _datatable_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./datatable.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/datatable/datatable.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @swimlane/ngx-datatable */
    "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _node_modules_swimlane_ngx_datatable_swimlane_ngx_datatable_ngfactory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../../../node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory */
    "./node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory.js");
    /* harmony import */


    var _datatable_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./datatable.component */
    "./src/app/manager/shared/components/datatable/datatable.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_DatatableComponent = [_datatable_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_DatatableComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_DatatableComponent,
      data: {}
    });

    function View_DatatableComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.MaDonVi;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.MaDonVi;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.TenDonVi;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_DatatableComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "select", [["class", "form-control form-control-sm"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.filterDoanhNghiep($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn doanh nghi\u1EC7p"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = "";

        _ck(_v, 3, 0, currVal_1);

        var currVal_2 = _co.dsDonVi;

        _ck(_v, 6, 0, currVal_2);
      }, null);
    }

    function View_DatatableComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 7, "a", [["class", "btn btn-sm btn-success"], ["ngbTooltip", "Th\xEAm m\u1EDBi"], ["placement", "left"], ["routerLinkActive", ""], ["type", "button"]], [[1, "target", 0], [8, "href", 4]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 737280, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbTooltip"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbTooltipConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        placement: [0, "placement"],
        ngbTooltip: [1, "ngbTooltip"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 671744, [[2, 4]], 0, _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterLinkWithHref"], [_angular_router__WEBPACK_IMPORTED_MODULE_5__["Router"], _angular_router__WEBPACK_IMPORTED_MODULE_5__["ActivatedRoute"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["LocationStrategy"]], {
        routerLink: [0, "routerLink"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpad"](3, 2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 1720320, null, 2, _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterLinkActive"], [_angular_router__WEBPACK_IMPORTED_MODULE_5__["Router"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterLink"]], [2, _angular_router__WEBPACK_IMPORTED_MODULE_5__["RouterLinkWithHref"]]], {
        routerLinkActive: [0, "routerLinkActive"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 1, {
        links: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        linksWithHrefs: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 0, "i", [["aria-hidden", "true"], ["class", "fa fa-plus"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_2 = "left";
        var currVal_3 = "Th\xEAm m\u1EDBi";

        _ck(_v, 1, 0, currVal_2, currVal_3);

        var currVal_4 = _ck(_v, 3, 0, "../", "add");

        _ck(_v, 2, 0, currVal_4);

        var currVal_5 = "";

        _ck(_v, 4, 0, currVal_5);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).target;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).href;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_DatatableComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null);
    }

    function View_DatatableComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 2, null, View_DatatableComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](2, {
        column: 0,
        value: 1,
        rowIndex: 2
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 2, 0, _v.parent.parent.context.$implicit, _v.context.value, _v.context.rowIndex);

        var currVal_1 = _co.isEditing(_v.context.rowIndex) && !_v.parent.parent.context.$implicit.isNonEdit ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent.parent, 25) : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent.parent, 26);

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_DatatableComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "ngx-datatable-column", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 540672, [[3, 4]], 3, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["DataTableColumnDirective"], [_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["ColumnChangesService"]], {
        name: [0, "name"],
        prop: [1, "prop"],
        frozenLeft: [2, "frozenLeft"],
        width: [3, "width"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](335544320, 7, {
        _cellTemplateQuery: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](335544320, 8, {
        _headerTemplateQuery: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](335544320, 9, {
        _treeToggleTemplateQuery: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[7, 2]], null, 1, null, View_DatatableComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["DataTableColumnCellDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null)], function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.name;
        var currVal_1 = _v.parent.context.$implicit.prop;
        var currVal_2 = _v.parent.context.$implicit.frozenLeft;
        var currVal_3 = _v.parent.context.$implicit.width;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3);
      }, null);
    }

    function View_DatatableComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.hidden !== undefined ? !_v.context.$implicit.hidden : true;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_DatatableComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 2, "app-button", [], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _v.parent.context.$implicit.click(_v.parent.parent.context.row, _v.parent.parent.context.rowIndex) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 737280, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbTooltip"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbTooltipConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        placement: [0, "placement"],
        ngbTooltip: [1, "ngbTooltip"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_8__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.placement;
        var currVal_1 = _v.parent.context.$implicit.tooltip;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_2 = _v.parent.context.$implicit["class"];
        var currVal_3 = _v.parent.context.$implicit.icon;

        _ck(_v, 2, 0, currVal_2, currVal_3);
      }, null);
    }

    function View_DatatableComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_11)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.isEditing(_v.parent.context.rowIndex);

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_DatatableComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.actions;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_DatatableComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "ngx-datatable-column", [["name", "Thao t\xE1c"], ["width", "100"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 540672, [[3, 4]], 3, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["DataTableColumnDirective"], [_swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["ColumnChangesService"]], {
        name: [0, "name"],
        frozenRight: [1, "frozenRight"],
        width: [2, "width"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](335544320, 10, {
        _cellTemplateQuery: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](335544320, 11, {
        _headerTemplateQuery: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](335544320, 12, {
        _treeToggleTemplateQuery: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[10, 2]], null, 1, null, View_DatatableComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["DataTableColumnCellDirective"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null)], function (_ck, _v) {
        var currVal_0 = "Thao t\xE1c";
        var currVal_1 = "true";
        var currVal_2 = "100";

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2);
      }, null);
    }

    function View_DatatableComponent_13(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-control"], ["style", "width: 100%"]], [[8, "type", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.rowEditing[_v.parent.context.column.prop] = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_8 = _co.rowEditing[_v.parent.context.column.prop];

        _ck(_v, 3, 0, currVal_8);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.column.type;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_DatatableComponent_15(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], [[8, "selected", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code === _v.parent.parent.context.value;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_DatatableComponent_14(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "select", [["class", "custom-select"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.rowEditing[_v.parent.context.column.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_15)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.rowEditing[_v.parent.context.column.prop] ? _co.rowEditing[_v.parent.context.column.prop] : "";

        _ck(_v, 3, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 7, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 8, 0, currVal_9);

        var currVal_10 = _v.parent.context.column.options;

        _ck(_v, 11, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_DatatableComponent_16(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 9, "input", [["class", "form-control"], ["name", "dp"], ["ngbDatepicker", ""], ["placeholder", "dd/MM/yyyy"]], [[8, "disabled", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "click"], [null, "ngModelChange"], [null, "input"], [null, "change"], [null, "focus"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).manualDateChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("change" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).manualDateChange($event.target.value, true) !== false;
          ad = pd_1 && ad;
        }

        if ("focus" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onFocus() !== false;
          ad = pd_2 && ad;
        }

        if ("blur" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onBlur() !== false;
          ad = pd_3 && ad;
        }

        if ("input" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._handleInput($event.target.value) !== false;
          ad = pd_4 && ad;
        }

        if ("blur" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onTouched() !== false;
          ad = pd_5 && ad;
        }

        if ("compositionstart" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._compositionStart() !== false;
          ad = pd_6 && ad;
        }

        if ("compositionend" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._compositionEnd($event.target.value) !== false;
          ad = pd_7 && ad;
        }

        if ("click" === en) {
          var pd_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).toggle() !== false;
          ad = pd_8 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_9 = (_co.rowEditing[_v.parent.context.column.prop] = $event.getTime()) !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](6144, null, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDatepickerConfig"], null, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepickerConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 671744, [["d", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepicker"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDateParserFormatter"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbCalendar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDateAdapter"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepickerConfig"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0, p1_0) {
        return [p0_0, p1_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepicker"], _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](7, 2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_8 = "dp";

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 6, 1, _ck(_v, 7, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 0), _co.rowEditing[_v.parent.context.column.prop], "yyyy-MM-dd"));

        _ck(_v, 6, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).disabled;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_DatatableComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "input-group input-group-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_13)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_14)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_16)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.context.column.type === "text" || _v.context.column.type === "number";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.column.type === "select";

        _ck(_v, 4, 0, currVal_1);

        var currVal_2 = _v.context.column.type === "date";

        _ck(_v, 6, 0, currVal_2);
      }, null);
    }

    function View_DatatableComponent_17(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](2, 2)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.column.type === "select" ? _co.formatValue(_v.context.column, _v.context.value) : _v.context.column.type === "date" ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 1, 0, _ck(_v, 2, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _v.context.value, "dd-MM-yyy")) : _v.context.value;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_DatatableComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 23, "div", [["class", "card border-light mb-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 11, "div", [["class", "card-header d-flex justify-content-between"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](4, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 8, "div", [["class", "d-flex align-items-end"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 5, "div", [["class", "mr-1 d-flex"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 1), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 0, "input", [["class", "form-control form-control-sm"], ["placeholder", "T\xECm ki\u1EBFm theo t\xEAn"], ["type", "text"]], null, [[null, "keyup"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("keyup" === en) {
          var pd_0 = _co.handleKeyupSearch($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 10, "div", [["class", "card-body"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 9, "ngx-datatable", [["class", "material ngx-datatable"]], [[2, "fixed-header", null], [2, "fixed-row", null], [2, "scroll-vertical", null], [2, "virtualized", null], [2, "scroll-horz", null], [2, "selectable", null], [2, "checkbox-selection", null], [2, "cell-selection", null], [2, "single-selection", null], [2, "multi-selection", null], [2, "multi-click-selection", null]], [[null, "page"], [null, "activate"], ["window", "resize"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("window:resize" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).onWindowResize() !== false;
          ad = pd_0 && ad;
        }

        if ("page" === en) {
          var pd_1 = _co.setPage($event) !== false;
          ad = pd_1 && ad;
        }

        if ("activate" === en) {
          var pd_2 = _co.handleActivate($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, _node_modules_swimlane_ngx_datatable_swimlane_ngx_datatable_ngfactory__WEBPACK_IMPORTED_MODULE_9__["View_DatatableComponent_0"], _node_modules_swimlane_ngx_datatable_swimlane_ngx_datatable_ngfactory__WEBPACK_IMPORTED_MODULE_9__["RenderType_DatatableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 5750784, [["table", 4]], 4, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["DatatableComponent"], [[1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["ScrollbarHelper"]], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["DimensionsHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_6__["ColumnChangesService"], [2, "configuration"]], {
        rows: [0, "rows"],
        selected: [1, "selected"],
        scrollbarH: [2, "scrollbarH"],
        rowHeight: [3, "rowHeight"],
        columnMode: [4, "columnMode"],
        headerHeight: [5, "headerHeight"],
        footerHeight: [6, "footerHeight"],
        externalPaging: [7, "externalPaging"],
        limit: [8, "limit"],
        count: [9, "count"],
        offset: [10, "offset"],
        loadingIndicator: [11, "loadingIndicator"],
        selectionType: [12, "selectionType"],
        reorderable: [13, "reorderable"]
      }, {
        activate: "activate",
        page: "page"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 3, {
        columnTemplates: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 4, {
        rowDetail: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 5, {
        groupHeader: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 6, {
        footer: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](22, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_DatatableComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](24, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["editing", 2]], null, 0, null, View_DatatableComponent_12)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["text", 2]], null, 0, null, View_DatatableComponent_17))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = !_co.loginService.isDoanhNghiep;

        _ck(_v, 9, 0, currVal_1);

        var currVal_2 = _co.isHidden === false;

        _ck(_v, 13, 0, currVal_2);

        var currVal_14 = _co.rows;
        var currVal_15 = _co.selected;
        var currVal_16 = true;
        var currVal_17 = 40;
        var currVal_18 = _co.ColumnMode.force;
        var currVal_19 = 45;
        var currVal_20 = 50;
        var currVal_21 = true;
        var currVal_22 = _co.limit;
        var currVal_23 = _co.count;
        var currVal_24 = _co.page;
        var currVal_25 = _co.loadingIndicator;
        var currVal_26 = _co.SelectionType.single;
        var currVal_27 = _co.reorderable;

        _ck(_v, 16, 1, [currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27]);

        var currVal_28 = _co.columns;

        _ck(_v, 22, 0, currVal_28);

        var currVal_29 = _co.isHidden === false;

        _ck(_v, 24, 0, currVal_29);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.header;

        _ck(_v, 4, 0, currVal_0);

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isFixedHeader;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isFixedRow;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isVertScroll;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isVirtualized;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isHorScroll;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isSelectable;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isCheckboxSelection;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isCellSelection;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isSingleSelection;

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isMultiSelection;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 16).isMultiClickSelection;

        _ck(_v, 15, 1, [currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13]);
      });
    }

    function View_DatatableComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-datatable", [], null, null, null, View_DatatableComponent_0, RenderType_DatatableComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 638976, null, 0, _datatable_component__WEBPACK_IMPORTED_MODULE_10__["DatatableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbModal"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_12__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_13__["LoginService"], _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_14__["DonViService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var DatatableComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-datatable", _datatable_component__WEBPACK_IMPORTED_MODULE_10__["DatatableComponent"], View_DatatableComponent_Host_0, {
      columns: "columns",
      service: "service",
      header: "header",
      searchField: "searchField",
      isHidden: "isHidden",
      khaNangDungChung: "khaNangDungChung",
      tinhTrang: "tinhTrang"
    }, {
      onActivate: "onActivate"
    }, [".search-kha-nang-dung-chung", ".tinh-trang-cap-phep"]);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/datatable/datatable.component.scss.shim.ngstyle.js":
  /*!**********************************************************************************************!*\
    !*** ./src/app/manager/shared/components/datatable/datatable.component.scss.shim.ngstyle.js ***!
    \**********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsDatatableDatatableComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".card-header[_ngcontent-%COMP%] {\n  padding: 0.35rem 1.25rem;\n}\n\n.card-body[_ngcontent-%COMP%] {\n  padding: 0;\n}\n\n  .progress-linear {\n  position: relative !important;\n}\n\n  .progress-linear .container {\n  max-width: 100% !important;\n}\n\n  .datatable-body-cell {\n  display: flex !important;\n  align-items: center;\n  color: inherit !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9kYXRhdGFibGUvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXHNoYXJlZFxcY29tcG9uZW50c1xcZGF0YXRhYmxlXFxkYXRhdGFibGUuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvZGF0YXRhYmxlL2RhdGF0YWJsZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHdCQUFBO0FDQ0Y7O0FERUE7RUFDSSxVQUFBO0FDQ0o7O0FER0k7RUFDRSw2QkFBQTtBQ0FOOztBRENNO0VBQ0UsMEJBQUE7QUNDUjs7QURFSTtFQUNFLHdCQUFBO0VBQ0EsbUJBQUE7RUFDQSx5QkFBQTtBQ0FOIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9kYXRhdGFibGUvZGF0YXRhYmxlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNhcmQtaGVhZGVyIHtcclxuICBwYWRkaW5nOiAwLjM1cmVtIDEuMjVyZW07XHJcbn1cclxuXHJcbi5jYXJkLWJvZHkge1xyXG4gICAgcGFkZGluZzogMDtcclxufVxyXG5cclxuOjpuZy1kZWVwIHtcclxuICAgIC5wcm9ncmVzcy1saW5lYXIge1xyXG4gICAgICBwb3NpdGlvbjogcmVsYXRpdmUgIWltcG9ydGFudDtcclxuICAgICAgLmNvbnRhaW5lciB7XHJcbiAgICAgICAgbWF4LXdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XHJcbiAgICAgIH1cclxuICAgIH1cclxuICAgIC5kYXRhdGFibGUtYm9keS1jZWxsIHtcclxuICAgICAgZGlzcGxheTogZmxleCAhaW1wb3J0YW50O1xyXG4gICAgICBhbGlnbi1pdGVtczogY2VudGVyO1xyXG4gICAgICBjb2xvcjogaW5oZXJpdCAhaW1wb3J0YW50O1xyXG4gICAgfVxyXG59XHJcblxyXG4vLyBpbnB1dCB7XHJcbi8vICAgYm9yZGVyOiBub25lO1xyXG4vLyAgIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCAjY2NjO1xyXG4vLyAgICY6Zm9jdXMge1xyXG4vLyAgICAgb3V0bGluZTogbm9uZTtcclxuLy8gICB9XHJcbi8vIH0iLCIuY2FyZC1oZWFkZXIge1xuICBwYWRkaW5nOiAwLjM1cmVtIDEuMjVyZW07XG59XG5cbi5jYXJkLWJvZHkge1xuICBwYWRkaW5nOiAwO1xufVxuXG46Om5nLWRlZXAgLnByb2dyZXNzLWxpbmVhciB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZSAhaW1wb3J0YW50O1xufVxuOjpuZy1kZWVwIC5wcm9ncmVzcy1saW5lYXIgLmNvbnRhaW5lciB7XG4gIG1heC13aWR0aDogMTAwJSAhaW1wb3J0YW50O1xufVxuOjpuZy1kZWVwIC5kYXRhdGFibGUtYm9keS1jZWxsIHtcbiAgZGlzcGxheTogZmxleCAhaW1wb3J0YW50O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBjb2xvcjogaW5oZXJpdCAhaW1wb3J0YW50O1xufSJdfQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/datatable/datatable.component.ts":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/shared/components/datatable/datatable.component.ts ***!
    \****************************************************************************/

  /*! exports provided: DatatableComponent */

  /***/
  function srcAppManagerSharedComponentsDatatableDatatableComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatatableComponent", function () {
      return DatatableComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @swimlane/ngx-datatable */
    "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js");
    /* harmony import */


    var src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! src/app/shared/components/modal-confirm/modal-confirm.component */
    "./src/app/shared/components/modal-confirm/modal-confirm.component.ts");

    var DatatableComponent = /*#__PURE__*/function () {
      function DatatableComponent(toastService, modalService, hanhChinhService, loginService, donViService) {
        var _this180 = this;

        _classCallCheck(this, DatatableComponent);

        this.toastService = toastService;
        this.modalService = modalService;
        this.hanhChinhService = hanhChinhService;
        this.loginService = loginService;
        this.donViService = donViService;
        this.SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_2__["SelectionType"];
        this.rows = [];
        this.columns = [];
        this.header = '';
        this.isHidden = false;
        this.selected = [];
        this.onActivate = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.rowEditing = {};
        this.loadingIndicator = true;
        this.ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_2__["ColumnMode"];
        this.reorderable = true;
        this.limit = 10;
        this.page = 0;
        this.count = 0;
        this.where = [];
        this._rowIndex = undefined;
        this.dsDonVi = [];
        this.actions = [{
          "class": 'btn-primary',
          icon: 'edit',
          click: function click(row, rowIndex) {
            return _this180.handleClickEdit(row, rowIndex);
          },
          isEditing: function isEditing(rowIndex) {
            return !_this180.isEditing(rowIndex);
          },
          placement: 'left',
          tooltip: 'Sửa'
        }, {
          "class": 'btn-danger ml-1',
          icon: 'trash',
          click: function click(row, rowIndex) {
            return _this180.handleClickDelete(row, rowIndex);
          },
          isEditing: function isEditing(rowIndex) {
            return !_this180.isEditing(rowIndex);
          },
          placement: 'left',
          tooltip: 'Xóa'
        }, {
          "class": 'btn-success',
          icon: 'save',
          click: function click(row, rowIndex) {
            return _this180.handleClickSave(row, rowIndex);
          },
          isEditing: function isEditing(rowIndex) {
            return _this180.isEditing(rowIndex);
          },
          placement: 'left',
          tooltip: 'Lưu'
        }, {
          "class": 'btn-danger ml-1',
          icon: 'ban',
          click: function click(row, rowIndex) {
            return _this180.handleClickCancel(row, rowIndex);
          },
          isEditing: function isEditing(rowIndex) {
            return _this180.isEditing(rowIndex);
          },
          placement: 'left',
          tooltip: 'Hủy'
        }];
      }

      _createClass(DatatableComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this181 = this;

          if (this.isHidden === true) {
            this.actions = [];
          }

          this.loadData();
          this.donViService.getListDonVi().then(function (donVis) {
            return _this181.dsDonVi = donVis;
          });
          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              _this181.columns = _this181.columns.map(function (m) {
                if (m.type === 'select') {
                  if (m.isQuanHuyenTP) {
                    _this181.hanhChinhService.getAllDistrict().then(function (res) {
                      return m.options = res;
                    });
                  } else if (m.isPhuongXa) {
                    _this181.hanhChinhService.getAllWard().then(function (res) {
                      return m.options = res;
                    });
                  } else {
                    m.options = _this181.service.getField(m.prop).domain.codedValues;
                  }
                }

                return m;
              });
            }
          });
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(changes) {
          console.log(changes);

          if (changes.khaNangDungChung) {
            this.searchCheckKhaNangDungChung(changes.khaNangDungChung.currentValue);
          }

          if (changes.tinhTrang) {
            this.filterTinhTrang(changes.tinhTrang.currentValue);
          }
        }
      }, {
        key: "formatValue",
        value: function formatValue(column, value) {
          var val = column.options.find(function (m) {
            return m.code === value;
          });
          return val && val.name || "";
        }
      }, {
        key: "isEditing",
        value: function isEditing(rowIndex) {
          return this._rowIndex === rowIndex;
        }
      }, {
        key: "loadData",
        value: function loadData() {
          var _this182 = this;

          var query = {
            where: this.where.join(' and '),
            outFields: ['*'],
            start: this.page * this.limit,
            num: this.limit,
            orderByFields: ['OBJECTID DESC']
          };
          this.service.loaded$.subscribe(function (loaded) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this182, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
              var _this183 = this;

              return _regeneratorRuntime().wrap(function _callee7$(_context9) {
                while (1) switch (_context9.prev = _context9.next) {
                  case 0:
                    if (loaded) {
                      this.service.getAll({
                        query: query
                      }).then(function (_ref104) {
                        var features = _ref104.features;
                        _this183.loadingIndicator = false;
                        _this183.rows = features.map(function (m) {
                          return m.attributes;
                        });
                        console.log(_this183.rows);
                      });
                    }

                  case 1:
                  case "end":
                    return _context9.stop();
                }
              }, _callee7, this);
            }));
          });
          this.getCount();
        }
      }, {
        key: "getCount",
        value: function getCount() {
          var _this184 = this;

          this.service.loaded$.subscribe(function (loaded) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this184, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
              var _this185 = this;

              return _regeneratorRuntime().wrap(function _callee8$(_context10) {
                while (1) switch (_context10.prev = _context10.next) {
                  case 0:
                    if (loaded) {
                      this.service.getCount({
                        query: {
                          where: this.where.join(' and ')
                        }
                      }).then(function (count) {
                        return _this185.count = count;
                      });
                    }

                  case 1:
                  case "end":
                    return _context10.stop();
                }
              }, _callee8, this);
            }));
          });
        }
      }, {
        key: "setPage",
        value: function setPage(pageInfo) {
          this.loadingIndicator = true;
          this.page = pageInfo.offset;
          this.loadData();
        }
      }, {
        key: "handleClickEdit",
        value: function handleClickEdit(row, rowIndex) {
          if (this.loginService.isQuanHuyen) {
            if ((row === null || row === void 0 ? void 0 : row.LoaiDichVu) === 3) {
              this._rowIndex = rowIndex;
              this.rowEditing = Object.assign({}, row);
            } else if ((row === null || row === void 0 ? void 0 : row.LoaiDichVu) !== 3) {
              this.toastService.danger('Tài khoản không đủ quyền để sửa loại dịch vụ này!', 'Thông Báo:');
            }
          } else {
            this._rowIndex = rowIndex;
            this.rowEditing = Object.assign({}, row);
          }
        }
      }, {
        key: "handleClickSave",
        value: function handleClickSave(row, rowIndex) {
          this.handleSave();
          this._rowIndex = undefined;
        }
      }, {
        key: "handleSave",
        value: function handleSave() {
          var _this186 = this;

          this.loadingIndicator = true;
          this.service.update(this.rowEditing).then(function (res) {
            if (res.updateResults && res.updateResults.length) {
              _this186.loadData();

              _this186.toastService.success('Cập nhập dữ liệu thành công!');
            } else {
              _this186.toastService.danger('Cập nhật dữ liệu thất bại');
            }

            _this186.loadingIndicator = false;
          });
        }
      }, {
        key: "handleClickDelete",
        value: function handleClickDelete(row, rowIndex) {
          var _this187 = this;

          if (this.loginService.isQuanHuyen) {
            if ((row === null || row === void 0 ? void 0 : row.LoaiDichVu) === 3) {
              this.modalService.open(src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_3__["ModalConfirmComponent"], {
                centered: true
              }).result.then(function (result) {
                if (result === src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_3__["EventModal"].OK) {
                  _this187.service.deletes(row.OBJECTID).then(function (res) {
                    if (res.deleteResults && res.deleteResults.length) {
                      _this187.loadData();

                      _this187.toastService.success('Xóa dữ liệu thành công!');
                    } else {
                      _this187.toastService.danger("Xóa dữ liệu thất bại!");
                    }
                  });
                }
              }, function (reason) {});
            } else {
              this.toastService.danger('Tài khoản không đủ quyền để xóa loại dịch vụ này!', 'Thông Báo:');
            }
          } else {
            this.modalService.open(src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_3__["ModalConfirmComponent"], {
              centered: true
            }).result.then(function (result) {
              if (result === src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_3__["EventModal"].OK) {
                _this187.service.deletes(row.OBJECTID).then(function (res) {
                  if (res.deleteResults && res.deleteResults.length) {
                    _this187.loadData();

                    _this187.toastService.success('Xóa dữ liệu thành công!');
                  } else {
                    _this187.toastService.danger("Xóa dữ liệu thất bại!");
                  }
                });
              }
            }, function (reason) {});
          }
        }
      }, {
        key: "handleClickCancel",
        value: function handleClickCancel(row, rowIndex) {
          this._rowIndex = undefined;
        }
      }, {
        key: "handleActivate",
        value: function handleActivate(event) {
          if (event.type === 'click' && !event.column.frozenRight && this._rowIndex === undefined) {
            event.cellElement.blur();
            this.onActivate.emit({
              row: event.row,
              fields: this.columns
            });
          }
        }
      }, {
        key: "filterDoanhNghiep",
        value: function filterDoanhNghiep(event) {
          var value = event.target.value;
          var queryString = "TenDoanhNghiep='".concat(value, "'");
          this.filterWheres(value, queryString, 'TenDoanhNghiep');
          this.loadData();
        }
      }, {
        key: "filterTinhTrang",
        value: function filterTinhTrang(value) {
          var queryString = "TinhTrang=".concat(value);
          this.filterWheres(value, queryString, 'TinhTrang');
          this.loadData();
        }
      }, {
        key: "filterWheres",
        value: function filterWheres(value, queryString, fieldName) {
          var index = this.where.findIndex(function (m) {
            return m.indexOf(fieldName) > -1;
          });

          if (index > -1) {
            value ? this.where[index] = queryString : this.where.splice(index, 1);
          } else if (value) {
            this.where.push(queryString);
          }
        }
      }, {
        key: "handleKeyupSearch",
        value: function handleKeyupSearch(event) {
          var _this188 = this;

          if (this.searchField) {
            var value = event.target.value;
            var queryString = "".concat(this.searchField, " LIKE N'%").concat(value, "%'");
            this.timer && clearTimeout(this.timer);
            this.timer = setTimeout(function () {
              _this188.filterWheres(value, queryString, _this188.searchField);

              _this188.loadData();
            }, 200);
          }
        }
      }, {
        key: "searchCheckKhaNangDungChung",
        value: function searchCheckKhaNangDungChung(value) {
          var queryString = "CoKhaNangDungChung='".concat(value, "'");
          this.filterWheres(value, queryString, 'CoKhaNangDungChung');
          this.loadData();
        }
      }]);

      return DatatableComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/components/form/form.component.ngfactory.js":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/shared/components/form/form.component.ngfactory.js ***!
    \****************************************************************************/

  /*! exports provided: RenderType_FormComponent, View_FormComponent_0, View_FormComponent_Host_0, FormComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsFormFormComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_FormComponent", function () {
      return RenderType_FormComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_FormComponent_0", function () {
      return View_FormComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_FormComponent_Host_0", function () {
      return View_FormComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "FormComponentNgFactory", function () {
      return FormComponentNgFactory;
    });
    /* harmony import */


    var _form_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./form.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/form/form.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _form_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_FormComponent = [_form_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_FormComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_FormComponent,
      data: {}
    });

    function View_FormComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_FormComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 15, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm font-weight-lighter text-right p-0"], ["for", "doanhNghiep"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Doanh nghi\u1EC7p"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 12, "div", [["class", "col-sm-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 11, "select", [["class", "form-control form-control-sm"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.datas.TenDoanhNghiep = $event) !== false;
          ad = pd_2 && ad;
        }

        if ("change" === en) {
          var pd_3 = _co.changeDoanhNghiep.emit($event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.datas.TenDoanhNghiep ? _co.datas.TenDoanhNghiep : "";

        _ck(_v, 7, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 11, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 12, 0, currVal_9);

        var currVal_10 = _co.doanhNghieps;

        _ck(_v, 15, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPending;

        _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_FormComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["*"]))], null, null);
    }

    function View_FormComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-control form-control-sm"]], [[8, "type", 0], [1, "name", 0], [8, "placeholder", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "keyup"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.datas[_v.parent.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_4 && ad;
        }

        if ("keyup" === en) {
          var pd_5 = _co.handleKeyup($event) !== false;
          ad = pd_5 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_10 = _co.datas[_v.parent.parent.context.$implicit.prop];

        _ck(_v, 3, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.parent.context.$implicit.type;
        var currVal_1 = _v.parent.parent.context.$implicit.prop;
        var currVal_2 = _v.parent.parent.context.$implicit.placeholder ? _v.parent.parent.context.$implicit.placeholder : "";

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      });
    }

    function View_FormComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], [[8, "selected", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.datas[_v.parent.parent.parent.context.$implicit.prop] === _v.context.$implicit.code;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_FormComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "select", [["class", "form-control form-control-sm"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.datas[_v.parent.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "option", [["disabled", ""], ["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.datas[_v.parent.parent.context.$implicit.prop] ? _co.datas[_v.parent.parent.context.$implicit.prop] : "";

        _ck(_v, 3, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 7, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 8, 0, currVal_9);

        var currVal_10 = _v.parent.parent.context.$implicit.options;

        _ck(_v, 11, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_FormComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 4, "input", [["class", "form-control form-control-sm"], ["name", "dp"], ["ngbDatepicker", ""], ["placeholder", "dd/MM/yyyy"]], [[8, "disabled", 0]], [[null, "click"], [null, "ngModelChange"], [null, "input"], [null, "change"], [null, "focus"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).manualDateChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("change" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).manualDateChange($event.target.value, true) !== false;
          ad = pd_1 && ad;
        }

        if ("focus" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).onFocus() !== false;
          ad = pd_2 && ad;
        }

        if ("blur" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).onBlur() !== false;
          ad = pd_3 && ad;
        }

        if ("click" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).toggle() !== false;
          ad = pd_4 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_5 = (_co.datas[_v.parent.parent.context.$implicit.prop] = $event.getTime()) !== false;
          ad = pd_5 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](5120, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](5120, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](6144, null, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDatepickerConfig"], null, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepickerConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 671744, [["d", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepicker"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDateParserFormatter"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbCalendar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbDateAdapter"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbInputDatepickerConfig"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).disabled;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_FormComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-check-input"], ["id", "exampleCheck1"], ["type", "checkbox"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.checked) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.datas[_v.parent.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["CheckboxControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["CheckboxControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.datas[_v.parent.parent.context.$implicit.prop];

        _ck(_v, 3, 0, currVal_7);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_FormComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", "custom-file mb-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["upload", 1]], null, 6, "form", [["enctype", "multipart/form-data"], ["novalidate", ""]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "submit"], [null, "reset"]], function (_v, en, $event) {
        var ad = true;

        if ("submit" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onSubmit($event) !== false;
          ad = pd_0 && ad;
        }

        if ("reset" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onReset() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_y"], [], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 4210688, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgForm"], [[8, null], [8, null]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ControlContainer"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgForm"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatusGroup"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ControlContainer"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 0, "input", [["multiple", ""], ["name", "attachment"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.changeFileInput.emit($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 0, "input", [["name", "f"], ["type", "hidden"], ["value", "json"]], null, null, null, null, null))], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_FormComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 16, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 3, "label", [["class", "col-sm-3 col-form-label-sm font-weight-lighter text-right p-0"]], [[8, "htmlFor", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 11, "div", [["class", "col-sm-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_11)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0)], function (_ck, _v) {
        var currVal_2 = _v.parent.context.$implicit.require;

        _ck(_v, 4, 0, currVal_2);

        var currVal_3 = _v.parent.context.$implicit.type === "text" || _v.parent.context.$implicit.type === "number";

        _ck(_v, 7, 0, currVal_3);

        var currVal_4 = _v.parent.context.$implicit.type === "select" && _v.parent.context.$implicit.prop !== "TenDoanhNghiep";

        _ck(_v, 9, 0, currVal_4);

        var currVal_5 = _v.parent.context.$implicit.type === "date";

        _ck(_v, 11, 0, currVal_5);

        var currVal_6 = _v.parent.context.$implicit.type === "checkbox";

        _ck(_v, 13, 0, currVal_6);

        var currVal_7 = _v.parent.context.$implicit.type === "file";

        _ck(_v, 15, 0, currVal_7);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.prop;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.parent.context.$implicit.name;

        _ck(_v, 2, 0, currVal_1);
      });
    }

    function View_FormComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.hidden !== undefined ? !_v.context.$implicit.hidden : true;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_FormComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "div", [["class", "float-right p-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "app-button", [["btnClass", "btn-outline-secondary"], ["icon", "refresh"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = (_co.datas = {}) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" T\u1EA1o l\u1EA1i"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 2, "app-button", [["btnClass", "btn-outline-primary ml-1"], ["icon", "plus"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleSubmit() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_6__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" L\u01B0u"]))], function (_ck, _v) {
        var currVal_0 = "btn-outline-secondary";
        var currVal_1 = "refresh";

        _ck(_v, 2, 0, currVal_0, currVal_1);

        var currVal_2 = "btn-outline-primary ml-1";
        var currVal_3 = "plus";

        _ck(_v, 5, 0, currVal_2, currVal_3);
      }, null);
    }

    function View_FormComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        upload: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 10, "div", [["class", "wrap-form"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 7, "perfect-scrollbar", [["class", "form"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](4, {
        height: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], {
        config: [0, "config"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, 0, 1, null, View_FormComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, 0, 1, null, View_FormComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_FormComponent_12)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_2 = _ck(_v, 4, 0, _co.height);

        _ck(_v, 3, 0, currVal_2);

        var currVal_3 = _co.scrollBarConfig;

        _ck(_v, 5, 0, currVal_3);

        var currVal_4 = _co.isSTTT;

        _ck(_v, 7, 0, currVal_4);

        var currVal_5 = _co.fields;

        _ck(_v, 9, 0, currVal_5);

        var currVal_6 = _co.actions;

        _ck(_v, 11, 0, currVal_6);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).autoPropagation;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).scrollIndicators;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      });
    }

    function View_FormComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-form", [], null, null, null, View_FormComponent_0, RenderType_FormComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _form_component__WEBPACK_IMPORTED_MODULE_9__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_10__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_11__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_12__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["Location"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var FormComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-form", _form_component__WEBPACK_IMPORTED_MODULE_9__["FormComponent"], View_FormComponent_Host_0, {
      fields: "fields",
      service: "service",
      height: "height",
      actions: "actions"
    }, {
      onSubmit: "onSubmit",
      onKeyup: "onKeyup",
      changeFileInput: "changeFileInput",
      changeDoanhNghiep: "changeDoanhNghiep"
    }, ["*"]);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/form/form.component.scss.shim.ngstyle.js":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/shared/components/form/form.component.scss.shim.ngstyle.js ***!
    \************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsFormFormComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["@charset \"UTF-8\";\n.wrap-form[_ngcontent-%COMP%] {\n  height: auto;\n}\n.wrap-form[_ngcontent-%COMP%]   .form[_ngcontent-%COMP%] {\n  overflow: hidden;\n}\n.wrap-form[_ngcontent-%COMP%]   .form[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n  color: red;\n}\n.custom-file-input[_ngcontent-%COMP%] {\n  width: 120px;\n}\n.attachment-file[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  color: blue;\n  cursor: pointer;\n}\n[_nghost-%COMP%]     .custom-file-label::after {\n  content: \"Ch\u1ECDn file\";\n}\n  .form-check-input {\n  margin-left: 0rem;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9mb3JtL2Zvcm0uY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvZm9ybS9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcc2hhcmVkXFxjb21wb25lbnRzXFxmb3JtXFxmb3JtLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdCQUFnQjtBQ0FoQjtFQVFJLFlBQUE7QURMSjtBQ0ZJO0VBQ0ksZ0JBQUE7QURJUjtBQ0ZRO0VBQ0ksVUFBQTtBRElaO0FDSUE7RUFDSSxZQUFBO0FEREo7QUNJQTtFQUNJLGtCQUFBO0VBQ0EsTUFBQTtFQUNBLE9BQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtBRERKO0FDSUE7RUFDSSxvQkFBQTtBRERKO0FDSUE7RUFDSSxpQkFBQTtBRERKIiwiZmlsZSI6InNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9mb3JtL2Zvcm0uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAY2hhcnNldCBcIlVURi04XCI7XG4ud3JhcC1mb3JtIHtcbiAgaGVpZ2h0OiBhdXRvO1xufVxuLndyYXAtZm9ybSAuZm9ybSB7XG4gIG92ZXJmbG93OiBoaWRkZW47XG59XG4ud3JhcC1mb3JtIC5mb3JtIHNwYW4ge1xuICBjb2xvcjogcmVkO1xufVxuXG4uY3VzdG9tLWZpbGUtaW5wdXQge1xuICB3aWR0aDogMTIwcHg7XG59XG5cbi5hdHRhY2htZW50LWZpbGUge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgY29sb3I6IGJsdWU7XG4gIGN1cnNvcjogcG9pbnRlcjtcbn1cblxuOmhvc3QgOjpuZy1kZWVwIC5jdXN0b20tZmlsZS1sYWJlbDo6YWZ0ZXIge1xuICBjb250ZW50OiBcIkNo4buNbiBmaWxlXCI7XG59XG5cbjo6bmctZGVlcCAuZm9ybS1jaGVjay1pbnB1dCB7XG4gIG1hcmdpbi1sZWZ0OiAwcmVtO1xufSIsIi53cmFwLWZvcm0ge1xyXG4gICAgLmZvcm0ge1xyXG4gICAgICAgIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAgICAgLy8gcGFkZGluZy1yaWdodDogMTBweDtcclxuICAgICAgICBzcGFuIHtcclxuICAgICAgICAgICAgY29sb3I6IHJlZDtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBoZWlnaHQ6IGF1dG87XHJcbiAgICBcclxufVxyXG5cclxuXHJcbi5jdXN0b20tZmlsZS1pbnB1dCB7XHJcbiAgICB3aWR0aDogMTIwcHg7XHJcbn1cclxuXHJcbi5hdHRhY2htZW50LWZpbGUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIGNvbG9yOiBibHVlO1xyXG4gICAgY3Vyc29yOiBwb2ludGVyO1xyXG59XHJcblxyXG46aG9zdCA6Om5nLWRlZXAgLmN1c3RvbS1maWxlLWxhYmVsOjphZnRlcntcclxuICAgIGNvbnRlbnQ6IFwiQ2jhu41uIGZpbGVcIjtcclxufVxyXG5cclxuOjpuZy1kZWVwIC5mb3JtLWNoZWNrLWlucHV0IHtcclxuICAgIG1hcmdpbi1sZWZ0OiAwcmVtO1xyXG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/form/form.component.ts":
  /*!******************************************************************!*\
    !*** ./src/app/manager/shared/components/form/form.component.ts ***!
    \******************************************************************/

  /*! exports provided: FormComponent */

  /***/
  function srcAppManagerSharedComponentsFormFormComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "FormComponent", function () {
      return FormComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/constants/data.constant */
    "./src/app/shared/constants/data.constant.ts");

    ;

    var FormComponent = /*#__PURE__*/function () {
      function FormComponent(hanhChinhService, loginService, cdRef, toastService, location) {
        _classCallCheck(this, FormComponent);

        this.hanhChinhService = hanhChinhService;
        this.loginService = loginService;
        this.cdRef = cdRef;
        this.toastService = toastService;
        this.location = location;
        this.fields = [];
        this.height = '70vh';
        this.actions = true;
        this.onSubmit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onKeyup = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.changeFileInput = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.changeDoanhNghiep = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.datas = {};
        this.doanhNghieps = src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_1__["DDoanhNghieps"];
        this.isSTTT = false;
        this.scrollBarConfig = {
          suppressScrollX: true
        };
      }

      _createClass(FormComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this189 = this;

          this.isSTTT = this.loginService.isSoTTTT;
          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              _this189.fields = _this189.fields.map(function (m) {
                if (m.type === 'select') {
                  if (m.isQuanHuyenTP) {
                    _this189.hanhChinhService.getAllDistrict().then(function (res) {
                      return m.options = res;
                    });
                  } else if (m.isPhuongXa) {
                    _this189.hanhChinhService.getAllWard().then(function (res) {
                      return m.options = res;
                    });
                  } else {
                    var options = _this189.service.getField(m.prop).domain.codedValues;

                    if (_this189.loginService.isQuanHuyen) {
                      m.options = options.filter(function (f) {
                        return f.code === 3 || f.code === 4;
                      });
                    } else {
                      m.options = options;
                    }
                  }
                }

                return m;
              });
            }
          });
        }
      }, {
        key: "handleKeyup",
        value: function handleKeyup(event) {
          this.onKeyup.emit(event);
        }
      }, {
        key: "getFormUpload",
        value: function getFormUpload() {
          return this.upload && this.upload.nativeElement;
        }
      }, {
        key: "reset",
        value: function reset() {
          this.datas = {};
          this.upload && this.upload.nativeElement.reset();
        }
      }, {
        key: "checkValue",
        value: function checkValue() {
          for (var _i54 = 0; _i54 < this.fields.length; _i54++) {
            if (this.fields[_i54].require && !this.datas[this.fields[_i54].prop]) {
              return false;
            }
          }

          return true;
        }
      }, {
        key: "handleSubmit",
        value: function handleSubmit() {
          if (!this.checkValue()) {
            this.toastService.warning('Vui lòng nhập những trường thông tin bắt buộc!');
            return;
          }

          this.onSubmit.emit(this.datas);
          this.reset();
        }
      }, {
        key: "goBack",
        value: function goBack() {
          this.location.back();
        }
      }]);

      return FormComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js ***!
    \************************************************************************************/

  /*! exports provided: RenderType_MiniMapComponent, View_MiniMapComponent_0, View_MiniMapComponent_Host_0, MiniMapComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsMiniMapMiniMapComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_MiniMapComponent", function () {
      return RenderType_MiniMapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MiniMapComponent_0", function () {
      return View_MiniMapComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MiniMapComponent_Host_0", function () {
      return View_MiniMapComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MiniMapComponentNgFactory", function () {
      return MiniMapComponentNgFactory;
    });
    /* harmony import */


    var _mini_map_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./mini-map.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/mini-map/mini-map.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_side_nav_side_nav_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../shared/components/side-nav/side-nav.component.ngfactory */
    "./src/app/shared/components/side-nav/side-nav.component.ngfactory.js");
    /* harmony import */


    var _shared_components_side_nav_side_nav_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/side-nav/side-nav.component */
    "./src/app/shared/components/side-nav/side-nav.component.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _mini_map_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_MiniMapComponent = [_mini_map_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_MiniMapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_MiniMapComponent,
      data: {}
    });

    function View_MiniMapComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "item shadow-sm text-dark"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.selectDoanhNghiep(_v.context.$implicit.code) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "div", [["class", "item-title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, ["", ""]))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.name;

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_MiniMapComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-measure-line"], ["id", "distance"], ["title", "Distance Measurement Tool"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.distanceMeasurement() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-measure-area"], ["id", "area"], ["title", "Area Measurement Tool"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.areaMeasurement() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "Clear Measurements"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.clearMeasurements() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 3, "app-side-nav", [["class", "side-nav"], ["title", "Ch\u1ECDn doanh nghi\u1EC7p"]], null, [[null, "close"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("close" === en) {
          var pd_0 = _co.closeSideNav.emit($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_side_nav_side_nav_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_SideNavComponent_0"], _shared_components_side_nav_side_nav_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_SideNavComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 114688, null, 0, _shared_components_side_nav_side_nav_component__WEBPACK_IMPORTED_MODULE_3__["SideNavComponent"], [], {
        isOpen: [0, "isOpen"],
        title: [1, "title"]
      }, {
        close: "close"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, 0, 1, null, View_MiniMapComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isOpenSideNav;
        var currVal_1 = "Ch\u1ECDn doanh nghi\u1EC7p";

        _ck(_v, 5, 0, currVal_0, currVal_1);

        var currVal_2 = _co.doanhNghieps;

        _ck(_v, 7, 0, currVal_2);
      }, null);
    }

    function View_MiniMapComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        mapViewEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["mapViewEl", 1]], null, 2, "div", [["id", "mapViewEl"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_MiniMapComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isShowMeasure;

        _ck(_v, 3, 0, currVal_0);
      }, null);
    }

    function View_MiniMapComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-mini-map", [], null, null, null, View_MiniMapComponent_0, RenderType_MiniMapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _mini_map_component__WEBPACK_IMPORTED_MODULE_5__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_6__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var MiniMapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-mini-map", _mini_map_component__WEBPACK_IMPORTED_MODULE_5__["MiniMapComponent"], View_MiniMapComponent_Host_0, {
      isShowMeasure: "isShowMeasure"
    }, {
      mapLoaded: "mapLoaded",
      drawAllDoanhNghiep: "drawAllDoanhNghiep",
      closeSideNav: "closeSideNav",
      whenLayerView: "whenLayerView"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/mini-map/mini-map.component.scss.shim.ngstyle.js":
  /*!********************************************************************************************!*\
    !*** ./src/app/manager/shared/components/mini-map/mini-map.component.scss.shim.ngstyle.js ***!
    \********************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsMiniMapMiniMapComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["#mapViewEl[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n#mapViewEl[_ngcontent-%COMP%]   .side-nav[_ngcontent-%COMP%] {\n  width: 100px;\n  height: auto;\n  top: 50px;\n  right: 15;\n}\n#mapViewEl[_ngcontent-%COMP%]   .side-nav[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%] {\n  padding: 12px;\n  cursor: pointer;\n}\n#mapViewEl[_ngcontent-%COMP%]   .side-nav[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]:hover {\n  background-color: rgba(0, 0, 0, 0.02);\n}\n#toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n}\n#infoDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  left: 60px;\n}\n#infoDiv[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  border: none;\n  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 2px;\n}\n.esri-widget--button.active[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:hover, .esri-widget--button.active[_ngcontent-%COMP%]:focus {\n  cursor: default;\n  background-color: #999696;\n}\n.esri-widget--button.active[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:hover   path[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:focus   path[_ngcontent-%COMP%] {\n  fill: #e4e4e4;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9taW5pLW1hcC9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcc2hhcmVkXFxjb21wb25lbnRzXFxtaW5pLW1hcFxcbWluaS1tYXAuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvbWluaS1tYXAvbWluaS1tYXAuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0FDQ0Y7QURDRTtFQUNFLFlBQUE7RUFDQSxZQUFBO0VBQ0EsU0FBQTtFQUNBLFNBQUE7QUNDSjtBRENJO0VBQ0UsYUFBQTtFQUNBLGVBQUE7QUNDTjtBRENNO0VBQ0UscUNBQUE7QUNDUjtBRFFBO0VBQ0Usa0JBQUE7RUFDQSxTQUFBO0VBQ0EsV0FBQTtFQUNBLGVBQUE7QUNORjtBRFNBO0VBQ0Usa0JBQUE7RUFDQSxTQUFBO0VBQ0EsVUFBQTtBQ05GO0FEU0E7RUFDRSxZQUFBO0VBQ0EsMENBQUE7QUNORjtBRFNBOzs7RUFHRSxlQUFBO0VBQ0EseUJBQUE7QUNORjtBRFNBOzs7RUFHRSxhQUFBO0FDTkYiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3NoYXJlZC9jb21wb25lbnRzL21pbmktbWFwL21pbmktbWFwLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiI21hcFZpZXdFbCB7XHJcbiAgd2lkdGg6IDEwMCU7XHJcbiAgaGVpZ2h0OiAxMDAlO1xyXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgLnNpZGUtbmF2IHtcclxuICAgIHdpZHRoOiAxMDBweDtcclxuICAgIGhlaWdodDogYXV0bztcclxuICAgIHRvcDogNTBweDtcclxuICAgIHJpZ2h0OiAxNTtcclxuXHJcbiAgICAuaXRlbSB7XHJcbiAgICAgIHBhZGRpbmc6IDEycHg7XHJcbiAgICAgIGN1cnNvcjogcG9pbnRlcjtcclxuXHJcbiAgICAgICY6aG92ZXIge1xyXG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoJGNvbG9yOiAjMDAwMDAwLCAkYWxwaGE6IDAuMDIpO1xyXG4gICAgICB9XHJcblxyXG4gICAgICAmLXRpdGxlIHt9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcblxyXG5cclxuI3Rvb2xiYXJEaXYge1xyXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICB0b3A6IDE1cHg7XHJcbiAgcmlnaHQ6IDE1cHg7XHJcbiAgY3Vyc29yOiBkZWZhdWx0O1xyXG59XHJcblxyXG4jaW5mb0RpdiB7XHJcbiAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gIHRvcDogMTVweDtcclxuICBsZWZ0OiA2MHB4O1xyXG59XHJcblxyXG4jaW5mb0RpdiBpbnB1dCB7XHJcbiAgYm9yZGVyOiBub25lO1xyXG4gIGJveC1zaGFkb3c6IHJnYmEoMCwgMCwgMCwgMC4zKSAwcHggMXB4IDJweDtcclxufVxyXG5cclxuLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlLFxyXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6aG92ZXIsXHJcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpmb2N1cyB7XHJcbiAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gIGJhY2tncm91bmQtY29sb3I6ICM5OTk2OTY7XHJcbn1cclxuXHJcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZSBwYXRoLFxyXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6aG92ZXIgcGF0aCxcclxuLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlOmZvY3VzIHBhdGgge1xyXG4gIGZpbGw6ICNlNGU0ZTQ7XHJcbn0iLCIjbWFwVmlld0VsIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGhlaWdodDogMTAwJTtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuI21hcFZpZXdFbCAuc2lkZS1uYXYge1xuICB3aWR0aDogMTAwcHg7XG4gIGhlaWdodDogYXV0bztcbiAgdG9wOiA1MHB4O1xuICByaWdodDogMTU7XG59XG4jbWFwVmlld0VsIC5zaWRlLW5hdiAuaXRlbSB7XG4gIHBhZGRpbmc6IDEycHg7XG4gIGN1cnNvcjogcG9pbnRlcjtcbn1cbiNtYXBWaWV3RWwgLnNpZGUtbmF2IC5pdGVtOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAwLjAyKTtcbn1cbiN0b29sYmFyRGl2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDE1cHg7XG4gIHJpZ2h0OiAxNXB4O1xuICBjdXJzb3I6IGRlZmF1bHQ7XG59XG5cbiNpbmZvRGl2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDE1cHg7XG4gIGxlZnQ6IDYwcHg7XG59XG5cbiNpbmZvRGl2IGlucHV0IHtcbiAgYm9yZGVyOiBub25lO1xuICBib3gtc2hhZG93OiByZ2JhKDAsIDAsIDAsIDAuMykgMHB4IDFweCAycHg7XG59XG5cbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZSxcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpob3Zlcixcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpmb2N1cyB7XG4gIGN1cnNvcjogZGVmYXVsdDtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzk5OTY5Njtcbn1cblxuLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlIHBhdGgsXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6aG92ZXIgcGF0aCxcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpmb2N1cyBwYXRoIHtcbiAgZmlsbDogI2U0ZTRlNDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/mini-map/mini-map.component.ts":
  /*!**************************************************************************!*\
    !*** ./src/app/manager/shared/components/mini-map/mini-map.component.ts ***!
    \**************************************************************************/

  /*! exports provided: MiniMapComponent */

  /***/
  function srcAppManagerSharedComponentsMiniMapMiniMapComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MiniMapComponent", function () {
      return MiniMapComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! src/app/map/shared/constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var esri_views_MapView__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/views/MapView */
    "./node_modules/arcgis-js-api/views/MapView.js");
    /* harmony import */


    var esri_views_MapView__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_views_MapView__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var esri_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/Map */
    "./node_modules/arcgis-js-api/Map.js");
    /* harmony import */


    var esri_Map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_Map__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/symbols */
    "./node_modules/arcgis-js-api/symbols.js");
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_symbols__WEBPACK_IMPORTED_MODULE_5__);
    /* harmony import */


    var esri_PopupTemplate__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! esri/PopupTemplate */
    "./node_modules/arcgis-js-api/PopupTemplate.js");
    /* harmony import */


    var esri_PopupTemplate__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(esri_PopupTemplate__WEBPACK_IMPORTED_MODULE_6__);
    /* harmony import */


    var esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! esri/tasks/GeometryService */
    "./node_modules/arcgis-js-api/tasks/GeometryService.js");
    /* harmony import */


    var esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_7__);
    /* harmony import */


    var esri_widgets_Home__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! esri/widgets/Home */
    "./node_modules/arcgis-js-api/widgets/Home.js");
    /* harmony import */


    var esri_widgets_Home__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Home__WEBPACK_IMPORTED_MODULE_8__);
    /* harmony import */


    var src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! src/app/shared/constants/data.constant */
    "./src/app/shared/constants/data.constant.ts");
    /* harmony import */


    var src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! src/app/shared/models/login.model */
    "./src/app/shared/models/login.model.ts");
    /* harmony import */


    var esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! esri/widgets/Measurement */
    "./node_modules/arcgis-js-api/widgets/Measurement.js");
    /* harmony import */


    var esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_11__);

    var MiniMapComponent = /*#__PURE__*/function () {
      // draw: __esri.Draw
      function MiniMapComponent(loginService) {
        _classCallCheck(this, MiniMapComponent);

        this.loginService = loginService;
        this.mapLoaded = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.drawAllDoanhNghiep = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.closeSideNav = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.whenLayerView = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.active = false;
        this.doanhNghieps = src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_9__["DDoanhNghieps"];
        this.layerId = undefined;
        this.isOpenSideNav = false;
        this.geometryService = new esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_7___default.a({
          url: "https://ditagis.com:6443/arcgis/rest/services/Utilities/Geometry/GeometryServer"
        });
        this.symbolCreate = new esri_symbols__WEBPACK_IMPORTED_MODULE_5__["SimpleMarkerSymbol"]({
          color: 'red',
          size: '16px',
          outline: {
            color: 'yellow',
            width: 3
          }
        });
        this.measurement = new esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_11___default.a(); // this.draw = new Draw({
        //   view: this.view
        // });
      }

      _createClass(MiniMapComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee9() {
            return _regeneratorRuntime().wrap(function _callee9$(_context11) {
              while (1) switch (_context11.prev = _context11.next) {
                case 0:
                  this.initializeMap();

                case 1:
                case "end":
                  return _context11.stop();
              }
            }, _callee9, this);
          }));
        }
      }, {
        key: "checkVaiTro",
        value: function checkVaiTro() {
          if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].TPKONTUM) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].THANHPHO;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].DAKGLEI) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].DAKGLEI;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].DAKHA) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].DAKHA;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].DAKTO) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].DAKTO;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].KONPLONG) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].KONPLONG;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].KONRAY) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].KONRAY;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].SATHAY) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].SATHAY;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].TUMORONG) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].TUMORONG;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_10__["Huyen"].NGOCHOI) {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].NGOCHOI;
          } else {
            return src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CENTER"].TINH;
          }
        }
      }, {
        key: "initializeMap",
        value: function initializeMap() {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee10() {
            var _this190 = this;

            var mapProperties, map, mapViewProperties, homeWidget, layerView;
            return _regeneratorRuntime().wrap(function _callee10$(_context12) {
              while (1) switch (_context12.prev = _context12.next) {
                case 0:
                  try {
                    mapProperties = {
                      basemap: 'osm'
                    };
                    map = new esri_Map__WEBPACK_IMPORTED_MODULE_4___default.a(mapProperties);
                    mapViewProperties = {
                      container: this.mapViewEl.nativeElement,
                      center: this.checkVaiTro(),
                      scale: src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["SCALE"],
                      map: map
                    };
                    this.view = new esri_views_MapView__WEBPACK_IMPORTED_MODULE_3___default.a(mapViewProperties);
                    homeWidget = new esri_widgets_Home__WEBPACK_IMPORTED_MODULE_8___default.a({
                      view: this.view
                    });
                    this.view.ui.add(homeWidget, "top-left");
                    this.view.when(function () {
                      _this190.mapLoaded.emit(_this190.view);
                    });
                    this.measurement.view = this.view;
                    this.view.ui.add(this.measurement, 'top-right');
                    this.view.popup.dockOptions = {};
                    this.view.on('layerview-create', function (evt) {
                      var layer = evt.layer;
                      layerView = evt.layerView;
                      var fireFields = ['OBJECTID', 'created_user', 'created_date', 'last_edited_user', 'last_edited_date', 'XaPhuongTT', 'HuyenTXTP', 'TinhTrang', 'ChapThuanCuaSo', 'LoaiTram', 'DoCaoTram'];

                      if (layer.type == 'feature') {
                        var actions = [];
                        layer.outFields = ['*'];
                        layer.popupTemplate = new esri_PopupTemplate__WEBPACK_IMPORTED_MODULE_6___default.a({
                          content: function content(target) {
                            var layer = target.graphic.layer;
                            var fieldInfos = [];
                            layer.fields.forEach(function (f) {
                              if (fireFields.indexOf(f.name) === -1) {
                                fieldInfos.push({
                                  fieldName: f.name,
                                  label: f.alias
                                });
                              }
                            });
                            var content = [{
                              type: 'fields',
                              fieldInfos: fieldInfos
                            }];
                            return content;
                          },
                          title: layer.title,
                          actions: actions
                        });
                      }

                      _this190.whenLayerView.emit(layerView);
                    });
                  } catch (error) {
                    alert('We have an error: ' + error);
                  }

                case 1:
                case "end":
                  return _context12.stop();
              }
            }, _callee10, this);
          }));
        }
      }, {
        key: "selectDoanhNghiep",
        value: function selectDoanhNghiep(maDoanhNghiep) {
          this.isOpenSideNav = false;
          this.drawAllDoanhNghiep.emit(maDoanhNghiep);
        }
      }, {
        key: "clearGraphic",
        value: function clearGraphic() {
          this.view.graphics.removeAll();
        }
      }, {
        key: "distanceMeasurement",
        value: function distanceMeasurement() {
          this.measurement.activeTool = "distance";
        } // Call the appropriate AreaMeasurement2D or AreaMeasurement3D

      }, {
        key: "areaMeasurement",
        value: function areaMeasurement() {
          this.measurement.activeTool = "area";
        }
      }, {
        key: "clearMeasurements",
        value: function clearMeasurements() {
          this.measurement.clear();
        }
      }]);

      return MiniMapComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/components/modal-detail/modal-detail.component.ngfactory.js":
  /*!********************************************************************************************!*\
    !*** ./src/app/manager/shared/components/modal-detail/modal-detail.component.ngfactory.js ***!
    \********************************************************************************************/

  /*! exports provided: RenderType_ModalDetailComponent, View_ModalDetailComponent_0, View_ModalDetailComponent_Host_0, ModalDetailComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsModalDetailModalDetailComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalDetailComponent", function () {
      return RenderType_ModalDetailComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalDetailComponent_0", function () {
      return View_ModalDetailComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalDetailComponent_Host_0", function () {
      return View_ModalDetailComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalDetailComponentNgFactory", function () {
      return ModalDetailComponentNgFactory;
    });
    /* harmony import */


    var _modal_detail_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-detail.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/modal-detail/modal-detail.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_input_file_input_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../shared/components/input-file/input-file.component.ngfactory */
    "./src/app/shared/components/input-file/input-file.component.ngfactory.js");
    /* harmony import */


    var _shared_components_input_file_input_file_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/components/input-file/input-file.component */
    "./src/app/shared/components/input-file/input-file.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _modal_detail_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./modal-detail.component */
    "./src/app/manager/shared/components/modal-detail/modal-detail.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _services_diem_dich_vu_attachment_service__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../services/diem-dich-vu-attachment.service */
    "./src/app/manager/shared/services/diem-dich-vu-attachment.service.ts");
    /* harmony import */


    var _services_api_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalDetailComponent = [_modal_detail_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalDetailComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalDetailComponent,
      data: {}
    });

    function View_ModalDetailComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null);
    }

    function View_ModalDetailComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", "col-6"]], [[2, "pb-2", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 6, "div", [["class", "row item"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "label", [["class", "col-4 font-weight-lighter text-right"], ["for", "field"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ":"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 3, "div", [["class", "col-8 text-dark prop pl-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 2, null, View_ModalDetailComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](7, {
        field: 0,
        value: 1
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_2 = _ck(_v, 7, 0, _v.context.$implicit, _co.data.row[_v.context.$implicit.prop]);

        var currVal_3 = _co.isEditing ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 18) : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 19);

        _ck(_v, 6, 0, currVal_2, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isEditing;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_ModalDetailComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 5, "div", [["class", "file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 4, "a", [["class", "text-dark"], ["target", "_blank"]], [[8, "href", 4]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.downloadFilePDF(_co.file.url) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 3, "div", [["class", "d-flex h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 0, "i", [["class", "far fa-file-pdf mr-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "span", [["class", "file-name"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Xem file GPKD"]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.downloadFilePDF(_co.file.url);

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_ModalDetailComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-primary"], ["icon", "pencil-alt"], ["ngbAutofocus", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickEdit() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["S\u1EEDa"]))], function (_ck, _v) {
        var currVal_0 = "btn-primary";
        var currVal_1 = "pencil-alt";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalDetailComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.isEditing;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_ModalDetailComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.modal.dismiss(_co.EventModal.CANCEL) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["\u0110\xF3ng"]))], function (_ck, _v) {
        var currVal_0 = "btn-danger";
        var currVal_1 = "times";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalDetailComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-success"], ["icon", "save"], ["ngbAutofocus", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickSave() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["L\u01B0u"]))], function (_ck, _v) {
        var currVal_0 = "btn-success";
        var currVal_1 = "save";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalDetailComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "ban"], ["ngbAutofocus", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickCancel() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var currVal_0 = "btn-danger";
        var currVal_1 = "ban";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalDetailComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-control"], ["style", "width: 100%;"]], [[8, "type", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_8 = _co.data.row[_v.parent.context.field.prop];

        _ck(_v, 3, 0, currVal_8);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.field.type;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_ModalDetailComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], [[8, "selected", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", " "]))], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code === _v.parent.parent.context.value;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_ModalDetailComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "select", [["class", "custom-select"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_12)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.data.row[_v.parent.context.field.prop] ? _co.data.row[_v.parent.context.field.prop] : "";

        _ck(_v, 3, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 7, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 8, 0, currVal_9);

        var currVal_10 = _v.parent.context.field.options;

        _ck(_v, 11, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_ModalDetailComponent_13(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 9, "input", [["class", "form-control"], ["name", "dp"], ["ngbDatepicker", ""], ["placeholder", "yyyy-mm-dd"]], [[8, "disabled", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "click"], [null, "ngModelChange"], [null, "input"], [null, "change"], [null, "focus"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).manualDateChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("change" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).manualDateChange($event.target.value, true) !== false;
          ad = pd_1 && ad;
        }

        if ("focus" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onFocus() !== false;
          ad = pd_2 && ad;
        }

        if ("blur" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onBlur() !== false;
          ad = pd_3 && ad;
        }

        if ("input" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._handleInput($event.target.value) !== false;
          ad = pd_4 && ad;
        }

        if ("blur" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onTouched() !== false;
          ad = pd_5 && ad;
        }

        if ("compositionstart" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._compositionStart() !== false;
          ad = pd_6 && ad;
        }

        if ("compositionend" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._compositionEnd($event.target.value) !== false;
          ad = pd_7 && ad;
        }

        if ("click" === en) {
          var pd_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).toggle() !== false;
          ad = pd_8 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_9 = (_co.data.row[_v.parent.context.field.prop] = $event.getTime()) !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](6144, null, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbDatepickerConfig"], null, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbInputDatepickerConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 671744, [["d", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbInputDatepicker"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbDateParserFormatter"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbCalendar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbDateAdapter"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbInputDatepickerConfig"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"], function (p0_0, p1_0) {
        return [p0_0, p1_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbInputDatepicker"], _angular_forms__WEBPACK_IMPORTED_MODULE_5__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](7, 2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_5__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_8 = "dp";

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 6, 1, _ck(_v, 7, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 0), _co.data.row[_v.parent.context.field.prop], "yyyy-MM-dd"));

        _ck(_v, 6, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).disabled;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_ModalDetailComponent_14(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-input-file", [], null, [[null, "formData"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("formData" === en) {
          var pd_0 = (_co.data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_input_file_input_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_InputFileComponent_0"], _shared_components_input_file_input_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_InputFileComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_input_file_input_file_component__WEBPACK_IMPORTED_MODULE_8__["InputFileComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_9__["ToastService"]], {
        service: [0, "service"],
        objectId: [1, "objectId"]
      }, {
        formData: "formData"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.attachment;
        var currVal_1 = _co.data.row.OBJECTID;

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalDetailComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "input-group input-group-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_11)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_13)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_14)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.context.field.type === "text" || _v.context.field.type === "number";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.field.type === "select";

        _ck(_v, 4, 0, currVal_1);

        var currVal_2 = _v.context.field.type === "date";

        _ck(_v, 6, 0, currVal_2);

        var currVal_3 = _v.context.field.type === "file";

        _ck(_v, 8, 0, currVal_3);
      }, null);
    }

    function View_ModalDetailComponent_15(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](0, null, [" ", "\n"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](1, 2)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.field.type === "select" ? _co.getNameDomain(_v.context.value, _v.context.field) : _v.context.field.type === "date" ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 0, 0, _ck(_v, 1, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _v.context.value, "dd-MM-yyy")) : _v.context.field.type === "file" ? _co.getFileName() : _v.context.value;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_ModalDetailComponent_17(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "div", [["class", "file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 4, "a", [["class", "text-dark"], ["target", "_blank"]], [[8, "href", 4]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.downloadFilePDF(_co.file.url) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 3, "div", [["class", "d-flex h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 0, "i", [["class", "far fa-file-pdf mr-2"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "span", [["class", "file-name"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](5, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.downloadFilePDF(_co.file.url);

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.file.name;

        _ck(_v, 5, 0, currVal_1);
      });
    }

    function View_ModalDetailComponent_16(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_17)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.file;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_ModalDetailComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 16, "app-modal-template", [["title", "Th\xF4ng tin chi ti\u1EBFt"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_10__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_11__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, 1, 3, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 2, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, 2, 10, "div", [["footer", ""], ["style", "display: flex"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalDetailComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](17, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["editing", 2]], null, 0, null, View_ModalDetailComponent_9)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noneEdit", 2]], null, 0, null, View_ModalDetailComponent_15)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["viewFile", 2]], null, 0, null, View_ModalDetailComponent_16))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xF4ng tin chi ti\u1EBFt";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.data.fields;

        _ck(_v, 6, 0, currVal_1);

        var currVal_2 = _co.file;

        _ck(_v, 9, 0, currVal_2);

        var currVal_3 = _co.isHidden;

        _ck(_v, 11, 0, currVal_3);

        var currVal_4 = !_co.isEditing;

        _ck(_v, 13, 0, currVal_4);

        var currVal_5 = _co.isEditing;

        _ck(_v, 15, 0, currVal_5);

        var currVal_6 = _co.isEditing;

        _ck(_v, 17, 0, currVal_6);
      }, null);
    }

    function View_ModalDetailComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-detail", [], null, null, null, View_ModalDetailComponent_0, RenderType_ModalDetailComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_detail_component__WEBPACK_IMPORTED_MODULE_12__["ModalDetailComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbActiveModal"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_13__["LoginService"], _services_diem_dich_vu_attachment_service__WEBPACK_IMPORTED_MODULE_14__["DiemDichVuAttachmentService"], _services_api_service__WEBPACK_IMPORTED_MODULE_15__["ApiService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalDetailComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-detail", _modal_detail_component__WEBPACK_IMPORTED_MODULE_12__["ModalDetailComponent"], View_ModalDetailComponent_Host_0, {
      data: "data"
    }, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/modal-detail/modal-detail.component.scss.shim.ngstyle.js":
  /*!****************************************************************************************************!*\
    !*** ./src/app/manager/shared/components/modal-detail/modal-detail.component.scss.shim.ngstyle.js ***!
    \****************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsModalDetailModalDetailComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".item[_ngcontent-%COMP%] {\n  border-bottom: 1px solid #fafafa;\n}\n\n.file[_ngcontent-%COMP%] {\n  padding: 3px 14px;\n  position: relative;\n}\n\n.file[_ngcontent-%COMP%]:hover {\n  background-color: aliceblue;\n}\n\n.file[_ngcontent-%COMP%]:hover   .btn-del[_ngcontent-%COMP%] {\n  display: block;\n}\n\n.file[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n  font-size: 21px;\n  color: red;\n}\n\n.file[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n}\n\n.file[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%] {\n  white-space: normal;\n  font-size: 14px;\n  width: inherit;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.file[_ngcontent-%COMP%]   .btn-del[_ngcontent-%COMP%] {\n  position: absolute;\n  top: calc(50% - 9px);\n  right: 15px;\n  font-weight: 600;\n  height: 14px;\n  line-height: 14px;\n  color: red;\n  font-size: 18px;\n  text-align: center;\n  text-decoration: none;\n  border-radius: 50%;\n  display: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy9tb2RhbC1kZXRhaWwvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXHNoYXJlZFxcY29tcG9uZW50c1xcbW9kYWwtZGV0YWlsXFxtb2RhbC1kZXRhaWwuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvbW9kYWwtZGV0YWlsL21vZGFsLWRldGFpbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGdDQUFBO0FDQ0o7O0FERUE7RUFDSSxpQkFBQTtFQUNBLGtCQUFBO0FDQ0o7O0FEQ0k7RUFDSSwyQkFBQTtBQ0NSOztBRENRO0VBQ0ksY0FBQTtBQ0NaOztBREVJO0VBQ0ksZUFBQTtFQUNBLFVBQUE7QUNBUjs7QURFSTtFQUNJLHFCQUFBO0FDQVI7O0FER0k7RUFDSSxtQkFBQTtFQUNBLGVBQUE7RUFDQSxjQUFBO0VBQ0EsbUJBQUE7RUFDQSxnQkFBQTtFQUNBLHVCQUFBO0FDRFI7O0FESUk7RUFDSSxrQkFBQTtFQUNBLG9CQUFBO0VBQ0EsV0FBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0EsVUFBQTtFQUNBLGVBQUE7RUFDQSxrQkFBQTtFQUNBLHFCQUFBO0VBQ0Esa0JBQUE7RUFDQSxhQUFBO0FDRlIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3NoYXJlZC9jb21wb25lbnRzL21vZGFsLWRldGFpbC9tb2RhbC1kZXRhaWwuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuaXRlbSB7XHJcbiAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2ZhZmFmYTtcclxufVxyXG5cclxuLmZpbGUge1xyXG4gICAgcGFkZGluZzogM3B4IDE0cHg7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcblxyXG4gICAgJjpob3ZlciB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogYWxpY2VibHVlO1xyXG5cclxuICAgICAgICAuYnRuLWRlbCB7XHJcbiAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuICAgIGkge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMjFweDsgXHJcbiAgICAgICAgY29sb3I6IHJlZDsgICBcclxuICAgIH1cclxuICAgIGEge1xyXG4gICAgICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAuZmlsZS1uYW1lIHtcclxuICAgICAgICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgICB3aWR0aDogaW5oZXJpdDtcclxuICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgICAgIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAgICAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XHJcbiAgICB9XHJcblxyXG4gICAgLmJ0bi1kZWwge1xyXG4gICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgICB0b3A6IGNhbGMoNTAlIC0gOXB4KTtcclxuICAgICAgICByaWdodDogMTVweDtcclxuICAgICAgICBmb250LXdlaWdodDogNjAwO1xyXG4gICAgICAgIGhlaWdodDogMTRweDtcclxuICAgICAgICBsaW5lLWhlaWdodDogMTRweDtcclxuICAgICAgICBjb2xvcjogcmVkO1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMThweDtcclxuICAgICAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICAgICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG4gICAgICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICAgICAgICBkaXNwbGF5OiBub25lO1xyXG4gICAgfVxyXG59IiwiLml0ZW0ge1xuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2ZhZmFmYTtcbn1cblxuLmZpbGUge1xuICBwYWRkaW5nOiAzcHggMTRweDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuLmZpbGU6aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiBhbGljZWJsdWU7XG59XG4uZmlsZTpob3ZlciAuYnRuLWRlbCB7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuLmZpbGUgaSB7XG4gIGZvbnQtc2l6ZTogMjFweDtcbiAgY29sb3I6IHJlZDtcbn1cbi5maWxlIGEge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG59XG4uZmlsZSAuZmlsZS1uYW1lIHtcbiAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbiAgZm9udC1zaXplOiAxNHB4O1xuICB3aWR0aDogaW5oZXJpdDtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG59XG4uZmlsZSAuYnRuLWRlbCB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiBjYWxjKDUwJSAtIDlweCk7XG4gIHJpZ2h0OiAxNXB4O1xuICBmb250LXdlaWdodDogNjAwO1xuICBoZWlnaHQ6IDE0cHg7XG4gIGxpbmUtaGVpZ2h0OiAxNHB4O1xuICBjb2xvcjogcmVkO1xuICBmb250LXNpemU6IDE4cHg7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGRpc3BsYXk6IG5vbmU7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/modal-detail/modal-detail.component.ts":
  /*!**********************************************************************************!*\
    !*** ./src/app/manager/shared/components/modal-detail/modal-detail.component.ts ***!
    \**********************************************************************************/

  /*! exports provided: ModalDetailComponent */

  /***/
  function srcAppManagerSharedComponentsModalDetailModalDetailComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalDetailComponent", function () {
      return ModalDetailComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/models/menu.model */
    "./src/app/shared/models/menu.model.ts");

    var EventModal;

    (function (EventModal) {
      EventModal["OK"] = "OK";
      EventModal["CANCEL"] = "CANCEL";
      EventModal["CROSS"] = "CROSS";
    })(EventModal || (EventModal = {}));

    var ModalDetailComponent = /*#__PURE__*/function () {
      function ModalDetailComponent(modal, loginService, attachment, apiService) {
        _classCallCheck(this, ModalDetailComponent);

        this.modal = modal;
        this.loginService = loginService;
        this.attachment = attachment;
        this.apiService = apiService;
        this.EventModal = EventModal;
        this.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.isEditing = false;
        this.isHidden = true;
        this.Flag = src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__["FlagMenu"];
      }

      _createClass(ModalDetailComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          if (this.loginService.isQuanHuyen && (this.data.flag === this.Flag.TuyenCapNoi || this.data.flag === this.Flag.TuyenCapNgam || this.data.flag === this.Flag.TramBTS)) {
            this.isHidden = false;
          }

          if (this.loginService.isQuanHuyen) {
            if (this.data.flag === this.Flag.DiemDichVu) {
              if (this.data.row.LoaiDichVu !== 3) {
                this.isHidden = false;
              }
            }
          }

          this.getFile();
        }
      }, {
        key: "getFile",
        value: function getFile() {
          var _this191 = this;

          this.attachment.queryAttachments({
            objectIds: [this.data.row.OBJECTID]
          }).then(function (res) {
            var value = _this191.data.row;
            _this191.file = res[0].attachments.find(function (f) {
              return f.id === value.TepDinhKemGPKD;
            });
          });
        }
      }, {
        key: "downloadFilePDF",
        value: function downloadFilePDF(url) {
          return url;
        }
      }, {
        key: "getNameDomain",
        value: function getNameDomain(value, column) {
          var val = column.options.find(function (m) {
            return m.code === value;
          });
          return val && val.name || "";
        }
      }, {
        key: "handleClickEdit",
        value: function handleClickEdit() {
          this.isEditing = true;
        }
      }, {
        key: "handleClickCancel",
        value: function handleClickCancel() {
          this.isEditing = false;
        }
      }, {
        key: "handleClickSave",
        value: function handleClickSave() {
          this.passBack();
          this.modal.close(this.data.row);
        }
      }, {
        key: "handleClickClose",
        value: function handleClickClose() {
          this.modal.dismiss(EventModal.CANCEL);
        }
      }, {
        key: "getFileName",
        value: function getFileName() {
          return this.file ? this.file.name : 'Giấy phép kinh doanh';
        }
      }, {
        key: "passBack",
        value: function passBack() {
          this.modal.dismiss(EventModal.OK);
          this.passEntry.emit(this.data.row);
        }
      }]);

      return ModalDetailComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/components/table-details/table-details.component.ngfactory.js":
  /*!**********************************************************************************************!*\
    !*** ./src/app/manager/shared/components/table-details/table-details.component.ngfactory.js ***!
    \**********************************************************************************************/

  /*! exports provided: RenderType_TableDetailsComponent, View_TableDetailsComponent_0, View_TableDetailsComponent_Host_0, TableDetailsComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsTableDetailsTableDetailsComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TableDetailsComponent", function () {
      return RenderType_TableDetailsComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TableDetailsComponent_0", function () {
      return View_TableDetailsComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TableDetailsComponent_Host_0", function () {
      return View_TableDetailsComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TableDetailsComponentNgFactory", function () {
      return TableDetailsComponentNgFactory;
    });
    /* harmony import */


    var _table_details_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./table-details.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/table-details/table-details.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../../shared/components/button-link/button-link.component.ngfactory */
    "./src/app/shared/components/button-link/button-link.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../shared/components/button-link/button-link.component */
    "./src/app/shared/components/button-link/button-link.component.ts");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _table_details_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./table-details.component */
    "./src/app/manager/shared/components/table-details/table-details.component.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_TableDetailsComponent = [_table_details_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_TableDetailsComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_TableDetailsComponent,
      data: {}
    });

    function View_TableDetailsComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "th", [["scope", "col"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""]))], null, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.name;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_TableDetailsComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "th", [["class", "text-center"], ["scope", "col"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Thao t\xE1c"]))], null, null);
    }

    function View_TableDetailsComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "th", [["class", "text-center"], ["scope", "col"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1EA5p thu\u1EADn"]))], null, null);
    }

    function View_TableDetailsComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "td", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](1, null, ["", ""]))], null, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.attributes[_v.context.$implicit.prop];

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_TableDetailsComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null);
    }

    function View_TableDetailsComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "td", [["class", "text-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 2, null, View_TableDetailsComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](3, {
        row: 0
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _v.parent.context.$implicit);

        var currVal_1 = _v.parent.context.$implicit.attributes.TinhTrang === _co.TinhTrangBts.XinCapPhep ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 14) : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 15);

        _ck(_v, 2, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_TableDetailsComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "td", [["class", "d-flex justify-content-center"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = $event.stopPropagation() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 16777216, null, null, 2, "button", [["class", "btn btn-primary btn-sm mr-1"], ["data-toggle", "tooltip"], ["ngbTooltip", "Edit"], ["placement", "top"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onEdit.emit(_v.parent.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 737280, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbTooltip"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbTooltipConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        placement: [0, "placement"],
        ngbTooltip: [1, "ngbTooltip"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 0, "i", [["class", "fas fa-edit"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 16777216, null, null, 2, "button", [["class", "btn btn-danger btn-sm"], ["data-toggle", "tooltip"], ["ngbTooltip", "Delete"], ["placement", "top"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.onDelete.emit(_v.parent.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 737280, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbTooltip"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbTooltipConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        placement: [0, "placement"],
        ngbTooltip: [1, "ngbTooltip"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 0, "i", [["class", "fas fa-trash-alt"]], null, null, null, null, null))], function (_ck, _v) {
        var currVal_0 = "top";
        var currVal_1 = "Edit";

        _ck(_v, 2, 0, currVal_0, currVal_1);

        var currVal_2 = "top";
        var currVal_3 = "Delete";

        _ck(_v, 5, 0, currVal_2, currVal_3);
      }, null);
    }

    function View_TableDetailsComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "tr", [], [[2, "bg-info", null], [2, "text-white", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickRow(_v.context.index, _v.context.$implicit) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.columns;

        _ck(_v, 2, 0, currVal_2);

        var currVal_3 = !_co.service.isDoanhNghiep || _co.trangThai > _co.TinhTrangHoSo.HoSoChoDuyet;

        _ck(_v, 4, 0, currVal_3);

        var currVal_4 = !_co.display;

        _ck(_v, 6, 0, currVal_4);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.indexRow === _v.context.index;
        var currVal_1 = _co.indexRow === _v.context.index;

        _ck(_v, 0, 0, currVal_0, currVal_1);
      });
    }

    function View_TableDetailsComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "tr", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "td", [["class", "text-center"]], [[1, "colspan", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "span", [["class", "font-weight-light"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Kh\xF4ng c\xF3 d\u1EEF li\u1EC7u \u0111\u1EC3 hi\u1EC3n th\u1ECB"]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = (_co.columns == null ? null : _co.columns.length) + 1;

        _ck(_v, 1, 0, currVal_0);
      });
    }

    function View_TableDetailsComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "div", [["class", "row justify-content-between align-items-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "div", [["class", "text-dark"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1EA5p thu\u1EADn"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "app-button-link", [["color", "danger"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.toggle(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 1)) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonLinkComponent_0"], _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonLinkComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__["ButtonLinkComponent"], [], {
        icon: [0, "icon"],
        color: [1, "color"]
      }, null)], function (_ck, _v) {
        var currVal_0 = "times";
        var currVal_1 = "danger";

        _ck(_v, 4, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_TableDetailsComponent_13(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "app-button-link", [["color", "primary"], ["icon", "check"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          _co.toggle(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 1));

          var pd_0 = _co.onCheck.emit(_v.parent.parent.context.row.attributes) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonLinkComponent_0"], _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonLinkComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__["ButtonLinkComponent"], [], {
        icon: [0, "icon"],
        color: [1, "color"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["Ch\u1EA5p nh\u1EADn"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 2, "app-button-link", [["color", "danger"], ["icon", "ban"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = (_co.isTuChoi = true) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonLinkComponent_0"], _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonLinkComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 114688, null, 0, _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__["ButtonLinkComponent"], [], {
        icon: [0, "icon"],
        color: [1, "color"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["T\u1EEB ch\u1ED1i"]))], function (_ck, _v) {
        var currVal_0 = "check";
        var currVal_1 = "primary";

        _ck(_v, 2, 0, currVal_0, currVal_1);

        var currVal_2 = "ban";
        var currVal_3 = "danger";

        _ck(_v, 5, 0, currVal_2, currVal_3);
      }, null);
    }

    function View_TableDetailsComponent_14(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 13, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 5, "input", [["class", "form-control form-control-sm"], ["placeholder", "Nh\u1EADp l\xFD do t\u1EEB ch\u1ED1i"], ["type", "text"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.lyDoTuChoi = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_6__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_6__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 6, "div", [["class", "w-100 d-flex justify-content-end"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "app-button-link", [["color", "success"], ["icon", "check"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          _co.toggle(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 1));

          var pd_0 = _co.handleTuChoi(_v.parent.parent.context.row.attributes) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonLinkComponent_0"], _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonLinkComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 114688, null, 0, _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__["ButtonLinkComponent"], [], {
        icon: [0, "icon"],
        color: [1, "color"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["OK"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 2, "app-button-link", [["color", "danger"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = (_co.isTuChoi = false) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonLinkComponent_0"], _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonLinkComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 114688, null, 0, _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__["ButtonLinkComponent"], [], {
        icon: [0, "icon"],
        color: [1, "color"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["H\u1EE7y"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.lyDoTuChoi;

        _ck(_v, 4, 0, currVal_7);

        var currVal_8 = "check";
        var currVal_9 = "success";

        _ck(_v, 9, 0, currVal_8, currVal_9);

        var currVal_10 = "times";
        var currVal_11 = "danger";

        _ck(_v, 12, 0, currVal_10, currVal_11);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).ngClassPending;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_TableDetailsComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_13)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_14)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.isTuChoi;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.isTuChoi;

        _ck(_v, 3, 0, currVal_1);
      }, null);
    }

    function View_TableDetailsComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 3, "app-button-link", [["color", "primary"], ["icon", "pen-alt"], ["triggers", "manual"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          _co.reset();

          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).open() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_ButtonLinkComponent_0"], _shared_components_button_link_button_link_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_ButtonLinkComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 737280, [["p", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbPopover"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Injector"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbPopoverConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ApplicationRef"]], {
        autoClose: [0, "autoClose"],
        ngbPopover: [1, "ngbPopover"],
        popoverTitle: [2, "popoverTitle"],
        triggers: [3, "triggers"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_button_link_button_link_component__WEBPACK_IMPORTED_MODULE_5__["ButtonLinkComponent"], [], {
        icon: [0, "icon"],
        color: [1, "color"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, ["Duy\u1EC7t"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["popTitle", 2]], null, 0, null, View_TableDetailsComponent_11)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["popContent", 2]], null, 0, null, View_TableDetailsComponent_12))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.autoClose(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1));

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5);

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4);

        var currVal_3 = "manual";

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3);

        var currVal_4 = "pen-alt";
        var currVal_5 = "primary";

        _ck(_v, 2, 0, currVal_4, currVal_5);
      }, null);
    }

    function View_TableDetailsComponent_16(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "text-success"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "i", [["class", "fas fa-check"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" Ch\u1EA5p nh\u1EADn"]))], null, null);
    }

    function View_TableDetailsComponent_17(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "text-danger"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "i", [["class", "fas fa-times"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, [" T\u1EEB ch\u1ED1i (", ")"]))], null, function (_ck, _v) {
        var currVal_0 = _v.parent.context.row == null ? null : _v.parent.context.row.attributes == null ? null : _v.parent.context.row.attributes.lyDo;

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_TableDetailsComponent_15(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_16)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_17)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.row.attributes.TinhTrang === _co.TinhTrangBts.DaCapPhep;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.row.attributes.TinhTrang === _co.TinhTrangBts.KhongChapNhan;

        _ck(_v, 3, 0, currVal_1);
      }, null);
    }

    function View_TableDetailsComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 13, "table", [["class", "table table-sm table-bordered"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 7, "thead", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 6, "tr", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 4, "tbody", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableDetailsComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["pheDuyet", 2]], null, 0, null, View_TableDetailsComponent_10)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["daPheDuyet", 2]], null, 0, null, View_TableDetailsComponent_15))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;

        _ck(_v, 4, 0, currVal_0);

        var currVal_1 = !_co.display;

        _ck(_v, 6, 0, currVal_1);

        var currVal_2 = !_co.service.isDoanhNghiep || _co.trangThai > _co.TinhTrangHoSo.HoSoChoDuyet;

        _ck(_v, 8, 0, currVal_2);

        var currVal_3 = _co.rows;

        _ck(_v, 11, 0, currVal_3);

        var currVal_4 = !(_co.rows == null ? null : _co.rows.length);

        _ck(_v, 13, 0, currVal_4);
      }, null);
    }

    function View_TableDetailsComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-table-details", [], null, null, null, View_TableDetailsComponent_0, RenderType_TableDetailsComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _table_details_component__WEBPACK_IMPORTED_MODULE_7__["TableDetailsComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var TableDetailsComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-table-details", _table_details_component__WEBPACK_IMPORTED_MODULE_7__["TableDetailsComponent"], View_TableDetailsComponent_Host_0, {
      rows: "rows",
      display: "display",
      trangThai: "trangThai",
      maVT: "maVT",
      role: "role",
      columns: "columns"
    }, {
      onEdit: "onEdit",
      onDelete: "onDelete",
      onClickRow: "onClickRow",
      onCheck: "onCheck",
      onRefuse: "onRefuse"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/table-details/table-details.component.scss.shim.ngstyle.js":
  /*!******************************************************************************************************!*\
    !*** ./src/app/manager/shared/components/table-details/table-details.component.scss.shim.ngstyle.js ***!
    \******************************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsTableDetailsTableDetailsComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["thead[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]    > th[_ngcontent-%COMP%] {\n  font-size: 0.9rem;\n}\n\ntbody[_ngcontent-%COMP%] {\n  font-size: 0.875rem;\n}\n\ntbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]    > td[_ngcontent-%COMP%] {\n  vertical-align: middle;\n}\n\n[_nghost-%COMP%]     h3.popover-header {\n  padding: 0rem 0.75rem;\n  height: 35px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy90YWJsZS1kZXRhaWxzL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYW5hZ2VyXFxzaGFyZWRcXGNvbXBvbmVudHNcXHRhYmxlLWRldGFpbHNcXHRhYmxlLWRldGFpbHMuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvdGFibGUtZGV0YWlscy90YWJsZS1kZXRhaWxzLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNJO0VBQ0ksaUJBQUE7QUNBUjs7QURHQTtFQUNJLG1CQUFBO0FDQUo7O0FEQ0k7RUFFSSxzQkFBQTtBQ0FSOztBREtJO0VBQ0kscUJBQUE7RUFDQSxZQUFBO0FDRlIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3NoYXJlZC9jb21wb25lbnRzL3RhYmxlLWRldGFpbHMvdGFibGUtZGV0YWlscy5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbInRoZWFkIHtcclxuICAgIHRyID4gdGgge1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMC45cmVtO1xyXG4gICAgfVxyXG59XHJcbnRib2R5IHtcclxuICAgIGZvbnQtc2l6ZTogMC44NzVyZW07XHJcbiAgICB0ciA+IHRkIHtcclxuICAgICAgICAvLyBwYWRkaW5nOiAwIDAuM3JlbTtcclxuICAgICAgICB2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG4gICAgfVxyXG59XHJcblxyXG46aG9zdCA6Om5nLWRlZXAge1xyXG4gICAgaDMucG9wb3Zlci1oZWFkZXIge1xyXG4gICAgICAgIHBhZGRpbmc6IDByZW0gMC43NXJlbTtcclxuICAgICAgICBoZWlnaHQ6IDM1cHg7XHJcbiAgICB9XHJcbn1cclxuIiwidGhlYWQgdHIgPiB0aCB7XG4gIGZvbnQtc2l6ZTogMC45cmVtO1xufVxuXG50Ym9keSB7XG4gIGZvbnQtc2l6ZTogMC44NzVyZW07XG59XG50Ym9keSB0ciA+IHRkIHtcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbn1cblxuOmhvc3QgOjpuZy1kZWVwIGgzLnBvcG92ZXItaGVhZGVyIHtcbiAgcGFkZGluZzogMHJlbSAwLjc1cmVtO1xuICBoZWlnaHQ6IDM1cHg7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/table-details/table-details.component.ts":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/shared/components/table-details/table-details.component.ts ***!
    \************************************************************************************/

  /*! exports provided: TableDetailsComponent */

  /***/
  function srcAppManagerSharedComponentsTableDetailsTableDetailsComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TableDetailsComponent", function () {
      return TableDetailsComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/models/data.model */
    "./src/app/shared/models/data.model.ts");
    /* harmony import */


    var _models_ho_so_model__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../models/ho-so.model */
    "./src/app/manager/shared/models/ho-so.model.ts");

    var Role;

    (function (Role) {
      Role["SOTTTT"] = "SOTTTT";
      Role["DN"] = "DN";
    })(Role || (Role = {}));

    var TableDetailsComponent = /*#__PURE__*/function () {
      function TableDetailsComponent(service) {
        _classCallCheck(this, TableDetailsComponent);

        this.service = service;
        this.rows = [];
        this.display = false;
        this.role = Role;
        this.columns = [];
        this.onEdit = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onDelete = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onClickRow = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onCheck = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.onRefuse = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.TinhTrangBts = src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_1__["ETinhTrang"];
        this.isTuChoi = false;
        this.lyDoTuChoi = '';
        this.TinhTrangHoSo = _models_ho_so_model__WEBPACK_IMPORTED_MODULE_2__["TinhTrangHoSo"];
      }

      _createClass(TableDetailsComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "handleClickRow",
        value: function handleClickRow(index, row) {
          this.indexRow = index;
          this.onClickRow.emit(row);
        }
      }, {
        key: "handleTuChoi",
        value: function handleTuChoi(row) {
          if (!this.lyDoTuChoi) return;
          this.onRefuse.emit({
            row: row,
            lyDo: this.lyDoTuChoi
          });
        }
      }, {
        key: "toggle",
        value: function toggle(p) {
          p.close();
        }
      }, {
        key: "reset",
        value: function reset() {
          this.isTuChoi = false;
          this.lyDoTuChoi = '';
        }
      }, {
        key: "autoClose",
        value: function autoClose(p) {
          return 'outside';
        }
      }]);

      return TableDetailsComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/components/table/table.component.ngfactory.js":
  /*!******************************************************************************!*\
    !*** ./src/app/manager/shared/components/table/table.component.ngfactory.js ***!
    \******************************************************************************/

  /*! exports provided: RenderType_TableComponent, View_TableComponent_0, View_TableComponent_Host_0, TableComponentNgFactory */

  /***/
  function srcAppManagerSharedComponentsTableTableComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TableComponent", function () {
      return RenderType_TableComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TableComponent_0", function () {
      return View_TableComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TableComponent_Host_0", function () {
      return View_TableComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TableComponentNgFactory", function () {
      return TableComponentNgFactory;
    });
    /* harmony import */


    var _table_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./table.component.scss.shim.ngstyle */
    "./src/app/manager/shared/components/table/table.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _node_modules_swimlane_ngx_datatable_swimlane_ngx_datatable_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../../../node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory */
    "./node_modules/@swimlane/ngx-datatable/swimlane-ngx-datatable.ngfactory.js");
    /* harmony import */


    var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @swimlane/ngx-datatable */
    "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js");
    /* harmony import */


    var _table_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./table.component */
    "./src/app/manager/shared/components/table/table.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _services_api_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_TableComponent = [_table_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_TableComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_TableComponent,
      data: {}
    });

    function View_TableComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 12, "div", [["class", "card border-light mb-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 4, "div", [["class", "card-header d-flex justify-content-between"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "div", [["class", "d-flex"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 6, "div", [["class", "card-body"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 5, "ngx-datatable", [["class", "material striped ngx-datatable"]], [[2, "fixed-header", null], [2, "fixed-row", null], [2, "scroll-vertical", null], [2, "virtualized", null], [2, "scroll-horz", null], [2, "selectable", null], [2, "checkbox-selection", null], [2, "cell-selection", null], [2, "single-selection", null], [2, "multi-selection", null], [2, "multi-click-selection", null]], [[null, "page"], [null, "select"], ["window", "resize"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("window:resize" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).onWindowResize() !== false;
          ad = pd_0 && ad;
        }

        if ("page" === en) {
          var pd_1 = _co.setPage($event) !== false;
          ad = pd_1 && ad;
        }

        if ("select" === en) {
          var pd_2 = _co.onSelect.emit($event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, _node_modules_swimlane_ngx_datatable_swimlane_ngx_datatable_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_DatatableComponent_0"], _node_modules_swimlane_ngx_datatable_swimlane_ngx_datatable_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_DatatableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 5750784, [["table", 4]], 4, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["DatatableComponent"], [[1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["ScrollbarHelper"]], [1, _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["DimensionsHelper"]], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_3__["ColumnChangesService"], [2, "configuration"]], {
        rows: [0, "rows"],
        columns: [1, "columns"],
        selected: [2, "selected"],
        scrollbarH: [3, "scrollbarH"],
        rowHeight: [4, "rowHeight"],
        columnMode: [5, "columnMode"],
        headerHeight: [6, "headerHeight"],
        footerHeight: [7, "footerHeight"],
        externalPaging: [8, "externalPaging"],
        limit: [9, "limit"],
        count: [10, "count"],
        offset: [11, "offset"],
        loadingIndicator: [12, "loadingIndicator"],
        reorderable: [13, "reorderable"]
      }, {
        select: "select",
        page: "page"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 1, {
        columnTemplates: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        rowDetail: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 3, {
        groupHeader: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 4, {
        footer: 0
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_12 = _co.rows;
        var currVal_13 = _co.columns;
        var currVal_14 = _co.selected;
        var currVal_15 = true;
        var currVal_16 = 40;
        var currVal_17 = _co.ColumnMode.flex;
        var currVal_18 = 45;
        var currVal_19 = 50;
        var currVal_20 = true;
        var currVal_21 = _co.limit;
        var currVal_22 = _co.count;
        var currVal_23 = _co.page;
        var currVal_24 = _co.loadingIndicator;
        var currVal_25 = _co.reorderable;

        _ck(_v, 8, 1, [currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18, currVal_19, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25]);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.header;

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isFixedHeader;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isFixedRow;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isVertScroll;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isVirtualized;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isHorScroll;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isSelectable;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isCheckboxSelection;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isCellSelection;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isSingleSelection;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isMultiSelection;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).isMultiClickSelection;

        _ck(_v, 7, 1, [currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]);
      });
    }

    function View_TableComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-table", [], null, null, null, View_TableComponent_0, RenderType_TableComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _table_component__WEBPACK_IMPORTED_MODULE_4__["TableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_5__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbModal"], _services_api_service__WEBPACK_IMPORTED_MODULE_7__["ApiService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var TableComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-table", _table_component__WEBPACK_IMPORTED_MODULE_4__["TableComponent"], View_TableComponent_Host_0, {
      columns: "columns",
      header: "header",
      flag: "flag",
      url: "url",
      file: "file"
    }, {
      onSelect: "onSelect"
    }, ["[filter]"]);
    /***/

  },

  /***/
  "./src/app/manager/shared/components/table/table.component.scss.shim.ngstyle.js":
  /*!**************************************************************************************!*\
    !*** ./src/app/manager/shared/components/table/table.component.scss.shim.ngstyle.js ***!
    \**************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerSharedComponentsTableTableComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".card-header[_ngcontent-%COMP%] {\n  padding: 0.35rem 1.25rem;\n}\n\n.card-body[_ngcontent-%COMP%] {\n  padding: 0;\n}\n\n  .progress-linear {\n  position: relative !important;\n}\n\n  .progress-linear .container {\n  max-width: 100% !important;\n}\n\n  .datatable-body-cell {\n  display: flex !important;\n  align-items: center;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci9zaGFyZWQvY29tcG9uZW50cy90YWJsZS9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcc2hhcmVkXFxjb21wb25lbnRzXFx0YWJsZVxcdGFibGUuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvc2hhcmVkL2NvbXBvbmVudHMvdGFibGUvdGFibGUuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSx3QkFBQTtBQ0NKOztBRFdFO0VBQ0ksVUFBQTtBQ1JOOztBRFlNO0VBQ0UsNkJBQUE7QUNUUjs7QURVUTtFQUNFLDBCQUFBO0FDUlY7O0FEV007RUFDRSx3QkFBQTtFQUNBLG1CQUFBO0FDVFIiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3NoYXJlZC9jb21wb25lbnRzL3RhYmxlL3RhYmxlLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmNhcmQtaGVhZGVyIHtcclxuICAgIHBhZGRpbmc6IDAuMzVyZW0gMS4yNXJlbTtcclxuICAgIC8vIC5maWx0ZXIge1xyXG4gICAgLy8gICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgLy8gICB3aWR0aDogMTAwdnc7XHJcbiAgICAvLyAgIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XHJcbiAgICAvLyAgIHNlbGVjdCwgaW5wdXQge1xyXG4gICAgLy8gICAgIHdpZHRoOiAxNDBweDtcclxuICAgIC8vICAgICBtYXJnaW4tcmlnaHQ6IDIwcHg7XHJcbiAgICAvLyAgIH1cclxuICAgIC8vIH1cclxuICB9XHJcbiAgXHJcbiAgLmNhcmQtYm9keSB7XHJcbiAgICAgIHBhZGRpbmc6IDA7XHJcbiAgfVxyXG4gIFxyXG4gIDo6bmctZGVlcCB7XHJcbiAgICAgIC5wcm9ncmVzcy1saW5lYXIge1xyXG4gICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZSAhaW1wb3J0YW50O1xyXG4gICAgICAgIC5jb250YWluZXIge1xyXG4gICAgICAgICAgbWF4LXdpZHRoOiAxMDAlICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICAgIC5kYXRhdGFibGUtYm9keS1jZWxsIHtcclxuICAgICAgICBkaXNwbGF5OiBmbGV4ICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcclxuICAgICAgfVxyXG4gIH1cclxuIiwiLmNhcmQtaGVhZGVyIHtcbiAgcGFkZGluZzogMC4zNXJlbSAxLjI1cmVtO1xufVxuXG4uY2FyZC1ib2R5IHtcbiAgcGFkZGluZzogMDtcbn1cblxuOjpuZy1kZWVwIC5wcm9ncmVzcy1saW5lYXIge1xuICBwb3NpdGlvbjogcmVsYXRpdmUgIWltcG9ydGFudDtcbn1cbjo6bmctZGVlcCAucHJvZ3Jlc3MtbGluZWFyIC5jb250YWluZXIge1xuICBtYXgtd2lkdGg6IDEwMCUgIWltcG9ydGFudDtcbn1cbjo6bmctZGVlcCAuZGF0YXRhYmxlLWJvZHktY2VsbCB7XG4gIGRpc3BsYXk6IGZsZXggIWltcG9ydGFudDtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/shared/components/table/table.component.ts":
  /*!********************************************************************!*\
    !*** ./src/app/manager/shared/components/table/table.component.ts ***!
    \********************************************************************/

  /*! exports provided: TableComponent */

  /***/
  function srcAppManagerSharedComponentsTableTableComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TableComponent", function () {
      return TableComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @swimlane/ngx-datatable */
    "./node_modules/@swimlane/ngx-datatable/fesm2015/swimlane-ngx-datatable.js");
    /* harmony import */


    var _ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../ho-so/add/add.component */
    "./src/app/manager/ho-so/add/add.component.ts");

    var TableComponent = /*#__PURE__*/function () {
      function TableComponent(toastService, modalService, apiService) {
        _classCallCheck(this, TableComponent);

        this.toastService = toastService;
        this.modalService = modalService;
        this.apiService = apiService;
        this.SelectionType = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["SelectionType"];
        this.rows = [];
        this.columns = [];
        this.header = '';
        this.onSelect = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.loadingIndicator = true;
        this.ColumnMode = _swimlane_ngx_datatable__WEBPACK_IMPORTED_MODULE_1__["ColumnMode"];
        this.reorderable = true;
        this.limit = 10;
        this.page = 0;
        this.count = 0;
        this.selected = [];
        this.skip = 0;
      }

      _createClass(TableComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.loadData();
        }
      }, {
        key: "openDlgAdd",
        value: function openDlgAdd() {
          var modalRef = this.modalService.open(_ho_so_add_add_component__WEBPACK_IMPORTED_MODULE_2__["AddComponent"], {
            size: "full"
          });
        }
      }, {
        key: "formatValue",
        value: function formatValue(column, value) {}
      }, {
        key: "loadData",
        value: function loadData() {
          var _this192 = this;

          this.loadingIndicator = true;
          this.apiService.get("".concat(this.url, "?TenHoSo=").concat(this.file.name, "&LoaiHoSo=&IDDV=").concat(this.file.idDV, "&StartDate=").concat(this.file.startDay, "&EndDate=").concat(this.file.endDay, "&TrangThai=").concat(this.file.status, "&skip=").concat(this.skip, "&take=").concat(this.limit)).then(function (res) {
            _this192.rows = res.value;
            _this192.count = res.count;
            _this192.loadingIndicator = false;
          });
        }
      }, {
        key: "getCount",
        value: function getCount() {}
      }, {
        key: "setPage",
        value: function setPage(pageInfo) {
          this.loadingIndicator = true;
          this.page = pageInfo.offset;
          this.skip = this.page * this.limit;
          this.loadData();
        }
      }, {
        key: "onSelected",
        value: function onSelected(event) {
          this.onSelect.emit(event.target.value);
        }
      }, {
        key: "handleClickEdit",
        value: function handleClickEdit(row, rowIndex) {}
      }, {
        key: "handleClickSave",
        value: function handleClickSave(row, rowIndex) {}
      }, {
        key: "handleClickDelete",
        value: function handleClickDelete(row, rowIndex) {}
      }, {
        key: "handleClickCancel",
        value: function handleClickCancel(row, rowIndex) {}
      }]);

      return TableComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/models/ho-so.model.ts":
  /*!******************************************************!*\
    !*** ./src/app/manager/shared/models/ho-so.model.ts ***!
    \******************************************************/

  /*! exports provided: TinhTrangHoSo */

  /***/
  function srcAppManagerSharedModelsHoSoModelTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TinhTrangHoSo", function () {
      return TinhTrangHoSo;
    });

    var TinhTrangHoSo;

    (function (TinhTrangHoSo) {
      TinhTrangHoSo[TinhTrangHoSo["HoSoChuaKySo"] = 0] = "HoSoChuaKySo";
      TinhTrangHoSo[TinhTrangHoSo["HoSoDaKySo"] = 1] = "HoSoDaKySo";
      TinhTrangHoSo[TinhTrangHoSo["HoSoChoDuyet"] = 2] = "HoSoChoDuyet";
      TinhTrangHoSo[TinhTrangHoSo["HoSoBiTuChoi"] = 3] = "HoSoBiTuChoi";
      TinhTrangHoSo[TinhTrangHoSo["HoSoDaDuyet"] = 4] = "HoSoDaDuyet";
    })(TinhTrangHoSo || (TinhTrangHoSo = {}));

    ;
    /***/
  },

  /***/
  "./src/app/manager/shared/services/api.service.ts":
  /*!********************************************************!*\
    !*** ./src/app/manager/shared/services/api.service.ts ***!
    \********************************************************/

  /*! exports provided: ApiService */

  /***/
  function srcAppManagerSharedServicesApiServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ApiService", function () {
      return ApiService;
    });
    /* harmony import */


    var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/environments/environment */
    "./src/environments/environment.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var apiUrl = src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].apiUrl;

    var ApiService = /*#__PURE__*/function () {
      function ApiService(http, service) {
        _classCallCheck(this, ApiService);

        this.http = http;
        this.service = service;
        this.authorization = 'Bearer ' + this.service.token;
        this.headers = {
          'Content-Type': 'application/json',
          Authorization: this.authorization
        };
      }

      _createClass(ApiService, [{
        key: "get",
        value: function get(url, isOdata) {
          if (isOdata) {
            return this.http.get("".concat(apiUrl, "/").concat(url), {
              headers: this.headers
            }).toPromise().then(function (res) {
              return res.value;
            });
          }

          return this.http.get("".concat(apiUrl, "/").concat(url), {
            headers: this.headers
          }).toPromise();
        }
      }, {
        key: "getCount",
        value: function getCount(url) {
          return this.http.get("".concat(apiUrl, "/").concat(url, "$inlinecount=allpages&$top=0"), {
            headers: this.headers
          }).toPromise().then(function (res) {
            return res['odata.count'];
          });
        }
      }, {
        key: "post",
        value: function post(url, body, isFormData) {
          return this.http.post("".concat(apiUrl, "/").concat(url), body, {
            headers: !isFormData ? this.headers : {
              Authorization: this.authorization
            }
          }).toPromise();
        }
      }, {
        key: "update",
        value: function update(url, body) {
          return this.http.patch("".concat(apiUrl, "/").concat(url), body, {
            headers: this.headers
          }).toPromise();
        }
      }, {
        key: "delete",
        value: function _delete(url) {
          return this.http["delete"]("".concat(apiUrl, "/").concat(url), {
            headers: this.headers
          }).toPromise();
        }
      }]);

      return ApiService;
    }();

    ApiService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
      factory: function ApiService_Factory() {
        return new ApiService(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_2__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"]));
      },
      token: ApiService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/shared/services/attachment.service.ts":
  /*!***************************************************************!*\
    !*** ./src/app/manager/shared/services/attachment.service.ts ***!
    \***************************************************************/

  /*! exports provided: AttachmentService */

  /***/
  function srcAppManagerSharedServicesAttachmentServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AttachmentService", function () {
      return AttachmentService;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var esri_request__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! esri/request */
    "./node_modules/arcgis-js-api/request.js");
    /* harmony import */


    var esri_request__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(esri_request__WEBPACK_IMPORTED_MODULE_1__);

    var headers = {
      'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundaryZZX2oHjXvvfHdboy'
    };

    var AttachmentService = /*#__PURE__*/function () {
      function AttachmentService(http, url) {
        _classCallCheck(this, AttachmentService);

        this.http = http;
        this.url = url;
      }

      _createClass(AttachmentService, [{
        key: "addAttachment",
        value: function addAttachment(id, form) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee11() {
            var url;
            return _regeneratorRuntime().wrap(function _callee11$(_context13) {
              while (1) switch (_context13.prev = _context13.next) {
                case 0:
                  url = this.url + '/' + id + '/addAttachment';

                  if (!form) {
                    _context13.next = 3;
                    break;
                  }

                  return _context13.abrupt("return", esri_request__WEBPACK_IMPORTED_MODULE_1___default()(url, {
                    responseType: "json",
                    body: form
                  }));

                case 3:
                case "end":
                  return _context13.stop();
              }
            }, _callee11, this);
          }));
        }
      }, {
        key: "deleteAttachments",
        value: function deleteAttachments(objectId, attachmentIds) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee12() {
            var url, form, respone, result;
            return _regeneratorRuntime().wrap(function _callee12$(_context14) {
              while (1) switch (_context14.prev = _context14.next) {
                case 0:
                  url = "".concat(this.url, "/").concat(objectId, "/deleteAttachments");
                  form = new FormData();
                  form.append('f', 'json');
                  form.append('attachmentIds', attachmentIds);
                  _context14.next = 6;
                  return fetch(url, {
                    method: 'POST',
                    body: form
                  });

                case 6:
                  respone = _context14.sent;

                  if (!(respone.status === 200)) {
                    _context14.next = 14;
                    break;
                  }

                  _context14.next = 10;
                  return respone.json();

                case 10:
                  result = _context14.sent;
                  return _context14.abrupt("return", result.deleteAttachmentResults);

                case 14:
                  throw new Error('Error');

                case 15:
                case "end":
                  return _context14.stop();
              }
            }, _callee12, this);
          }));
        }
      }, {
        key: "queryAttachments",
        value: function queryAttachments(params) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee13() {
            var _this193 = this;

            var resultReturn, promises, responses, _loop9, _i55;

            return _regeneratorRuntime().wrap(function _callee13$(_context16) {
              while (1) switch (_context16.prev = _context16.next) {
                case 0:
                  resultReturn = [];
                  promises = params.objectIds.map(function (objectId) {
                    var url = "".concat(_this193.url, "/").concat(objectId, "/attachments");
                    return fetch("".concat(url, "?f=json"), {
                      method: 'GET',
                      credentials: 'same-origin'
                    });
                  });
                  _context16.next = 4;
                  return Promise.all(promises);

                case 4:
                  responses = _context16.sent;
                  _loop9 = /*#__PURE__*/_regeneratorRuntime().mark(function _loop9() {
                    var objectId, attachments, response, url, result;
                    return _regeneratorRuntime().wrap(function _loop9$(_context15) {
                      while (1) switch (_context15.prev = _context15.next) {
                        case 0:
                          objectId = params.objectIds[_i55];
                          attachments = [];
                          response = responses[_i55];
                          url = "".concat(_this193.url, "/").concat(objectId, "/attachments");

                          if (!(response && response.status === 200)) {
                            _context15.next = 9;
                            break;
                          }

                          _context15.next = 7;
                          return response.json();

                        case 7:
                          result = _context15.sent;

                          if (!result.error) {
                            attachments = result.attachmentInfos.map(function (m) {
                              m.url = "".concat(url, "/").concat(m.id);
                              return m;
                            });
                          }

                        case 9:
                          resultReturn.push({
                            objectId: objectId,
                            attachments: attachments
                          });

                        case 10:
                        case "end":
                          return _context15.stop();
                      }
                    }, _loop9);
                  });
                  _i55 = 0;

                case 7:
                  if (!(_i55 < params.objectIds.length)) {
                    _context16.next = 12;
                    break;
                  }

                  return _context16.delegateYield(_loop9(), "t0", 9);

                case 9:
                  _i55++;
                  _context16.next = 7;
                  break;

                case 12:
                  return _context16.abrupt("return", resultReturn);

                case 13:
                case "end":
                  return _context16.stop();
              }
            }, _callee13);
          }));
        }
      }, {
        key: "attachmentImg",
        value: function attachmentImg(attributes) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee14() {
            var attachmentedImg, objectIds;
            return _regeneratorRuntime().wrap(function _callee14$(_context17) {
              while (1) switch (_context17.prev = _context17.next) {
                case 0:
                  attachmentedImg = [];
                  objectIds = attributes.map(function (m) {
                    return m.OBJECTID;
                  });
                  _context17.next = 4;
                  return this.queryAttachments({
                    objectIds: objectIds
                  }).then(function (res) {
                    attachmentedImg = attributes.map(function (attribute) {
                      var attachment = res.find(function (m) {
                        return m.objectId === attribute.OBJECTID;
                      });
                      var length = attachment.attachments.length - 1;
                      attribute.Url = attachment && attachment.attachments[length] && attachment.attachments[length].url;
                      return attribute;
                    });
                  });

                case 4:
                  return _context17.abrupt("return", attachmentedImg);

                case 5:
                case "end":
                  return _context17.stop();
              }
            }, _callee14, this);
          }));
        }
      }]);

      return AttachmentService;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/services/bts-attachment.service.ts":
  /*!*******************************************************************!*\
    !*** ./src/app/manager/shared/services/bts-attachment.service.ts ***!
    \*******************************************************************/

  /*! exports provided: BtsAttachmentService */

  /***/
  function srcAppManagerSharedServicesBtsAttachmentServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "BtsAttachmentService", function () {
      return BtsAttachmentService;
    });
    /* harmony import */


    var _attachment_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./attachment.service */
    "./src/app/manager/shared/services/attachment.service.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");

    var BtsAttachmentService = /*#__PURE__*/function (_attachment_service__) {
      _inherits(BtsAttachmentService, _attachment_service__);

      var _super40 = _createSuper(BtsAttachmentService);

      function BtsAttachmentService(http) {
        _classCallCheck(this, BtsAttachmentService);

        return _super40.call(this, http, src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TramBTSLayer"]);
      }

      return _createClass(BtsAttachmentService);
    }(_attachment_service__WEBPACK_IMPORTED_MODULE_0__["AttachmentService"]);

    BtsAttachmentService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function BtsAttachmentService_Factory() {
        return new BtsAttachmentService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]));
      },
      token: BtsAttachmentService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/shared/services/data.service.ts":
  /*!*********************************************************!*\
    !*** ./src/app/manager/shared/services/data.service.ts ***!
    \*********************************************************/

  /*! exports provided: DataService */

  /***/
  function srcAppManagerSharedServicesDataServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DataService", function () {
      return DataService;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! esri/tasks/QueryTask */
    "./node_modules/arcgis-js-api/tasks/QueryTask.js");
    /* harmony import */


    var esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_2__);

    var DataService = /*#__PURE__*/function () {
      function DataService(http, url, loginService) {
        var _this194 = this;

        var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};

        _classCallCheck(this, DataService);

        this.http = http;
        this.url = url;
        this.loginService = loginService;
        this.options = options;
        this.loadedSource = new rxjs__WEBPACK_IMPORTED_MODULE_1__["BehaviorSubject"](false);
        this.loaded$ = this.loadedSource.asObservable();
        this.task = new esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_2___default.a({
          url: this.url
        });
        this.load().then(function () {
          _this194.loadedSource.next(true);
        });

        if (loginService.isDoanhNghiep || loginService.isQuanHuyen) {
          options.maDoanhNghiep = loginService.maDonVi;
        }
      }

      _createClass(DataService, [{
        key: "fields",
        get: function get() {
          return this._fields;
        }
      }, {
        key: "getField",
        value: function getField(fieldName) {
          if (this._fields) {
            return this.fields.find(function (f) {
              return f.name === fieldName;
            });
          }

          return null;
        }
      }, {
        key: "load",
        value: function load() {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
            var response;
            return _regeneratorRuntime().wrap(function _callee15$(_context18) {
              while (1) switch (_context18.prev = _context18.next) {
                case 0:
                  _context18.next = 2;
                  return this.http.get(this.url + '?f=json').toPromise();

                case 2:
                  response = _context18.sent;
                  this._fields = response.fields;
                  return _context18.abrupt("return", response);

                case 5:
                case "end":
                  return _context18.stop();
              }
            }, _callee15, this);
          }));
        }
      }, {
        key: "getAll",
        value: function getAll(params) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee16() {
            var query, result;
            return _regeneratorRuntime().wrap(function _callee16$(_context19) {
              while (1) switch (_context19.prev = _context19.next) {
                case 0:
                  query = params && params.query ? params.query : {
                    where: '1=1',
                    outFields: ['*'],
                    orderByFields: ['OBJECTID DESC']
                  };
                  query.where = this.getWhere([query.where]);
                  _context19.next = 4;
                  return this.task.execute(query);

                case 4:
                  result = _context19.sent;
                  return _context19.abrupt("return", result);

                case 6:
                case "end":
                  return _context19.stop();
              }
            }, _callee16, this);
          }));
        }
      }, {
        key: "getCount",
        value: function getCount(params) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee17() {
            var query, result;
            return _regeneratorRuntime().wrap(function _callee17$(_context20) {
              while (1) switch (_context20.prev = _context20.next) {
                case 0:
                  query = params && params.query ? params.query : {
                    where: '1=1',
                    outFields: ['*'],
                    orderByFields: ['OBJECTID DESC']
                  };
                  query.where = this.getWhere([query.where]);
                  _context20.next = 4;
                  return this.task.executeForCount(query);

                case 4:
                  result = _context20.sent;
                  return _context20.abrupt("return", result);

                case 6:
                case "end":
                  return _context20.stop();
              }
            }, _callee17, this);
          }));
        }
      }, {
        key: "getWhere",
        value: function getWhere(wheres) {
          if (this.options.defaultWhere) {
            if (this.options.whereType === 'merge') {
              wheres.push("(".concat(this.options.defaultWhere, ")"));
            } else {
              wheres = [this.options.defaultWhere];
            }
          }

          if (this.loginService.isDoanhNghiep) {
            if (this.options.maDoanhNghiep && this.options.maDoanhNghiep !== 'S4T') {
              wheres.push("TenDoanhNghiep='".concat(this.options.maDoanhNghiep, "'"));
            }
          } else if (this.loginService.isQuanHuyen) {
            wheres.push("HuyenTXTP=".concat(this.options.maDoanhNghiep));
          } else {
            wheres.push('1=1');
          }

          return wheres.filter(Boolean).length > 1 && wheres.join(' and ') || wheres.join('');
        }
        /* Cập nhật một đối tượng */

      }, {
        key: "update",
        value: function update(attributes) {
          var formData = new FormData();
          formData.append('f', 'json');
          formData.append('updates', JSON.stringify([{
            attributes: attributes
          }]));
          return fetch(this.url + '/applyEdits?f=json', {
            method: 'POST',
            mode: 'cors',
            body: formData
          }).then(function (r) {
            return r.json();
          });
        }
        /* Cập nhật nhiều đối tượng */

      }, {
        key: "updates",
        value: function updates(datas) {
          var formData = new FormData();
          formData.append('f', 'json');
          formData.append('updates', JSON.stringify(datas.map(function (m) {
            return {
              attributes: m
            };
          })));
          return fetch(this.url + '/applyEdits?f=json', {
            method: 'POST',
            mode: 'cors',
            body: formData
          }).then(function (r) {
            return r.json();
          });
        }
      }, {
        key: "updatesGeometry",
        value: function updatesGeometry(datas) {
          var formData = new FormData();
          formData.append('f', 'json');
          formData.append('updates', JSON.stringify(datas));
          return fetch(this.url + '/applyEdits?f=json', {
            method: 'POST',
            mode: 'cors',
            body: formData
          }).then(function (r) {
            return r.json();
          });
        }
        /* Thêm mới */

      }, {
        key: "adds",
        value: function adds(graphics) {
          var formData = new FormData();
          formData.append('f', 'json');
          formData.append('features', JSON.stringify(graphics));
          return fetch(this.url + '/addFeatures?f=json', {
            method: 'POST',
            mode: 'cors',
            body: formData
          }).then(function (r) {
            return r.json();
          });
        }
      }, {
        key: "deletes",
        value: function deletes(objectIds) {
          var formData = new FormData();
          formData.append('f', 'json');
          formData.append('objectIds', JSON.stringify(objectIds));
          return fetch(this.url + '/deleteFeatures?f=json', {
            method: 'POST',
            mode: 'cors',
            body: formData
          }).then(function (r) {
            return r.json();
          });
        }
      }, {
        key: "deletesMultiple",
        value: function deletesMultiple(objectIds) {
          var formData = new FormData();
          formData.append('f', 'json');
          formData.append('objectIds', JSON.stringify(objectIds.join(', ')).replace(/"/g, ""));
          return fetch(this.url + '/deleteFeatures?f=json', {
            method: 'POST',
            mode: 'cors',
            body: formData
          }).then(function (r) {
            return r.json();
          });
        }
      }]);

      return DataService;
    }();
    /***/

  },

  /***/
  "./src/app/manager/shared/services/diem-dich-vu-attachment.service.ts":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/shared/services/diem-dich-vu-attachment.service.ts ***!
    \****************************************************************************/

  /*! exports provided: DiemDichVuAttachmentService */

  /***/
  function srcAppManagerSharedServicesDiemDichVuAttachmentServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVuAttachmentService", function () {
      return DiemDichVuAttachmentService;
    });
    /* harmony import */


    var _attachment_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./attachment.service */
    "./src/app/manager/shared/services/attachment.service.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");

    var DiemDichVuAttachmentService = /*#__PURE__*/function (_attachment_service__2) {
      _inherits(DiemDichVuAttachmentService, _attachment_service__2);

      var _super41 = _createSuper(DiemDichVuAttachmentService);

      function DiemDichVuAttachmentService(http) {
        _classCallCheck(this, DiemDichVuAttachmentService);

        return _super41.call(this, http, src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["DiemDichVuLayer"]);
      }

      return _createClass(DiemDichVuAttachmentService);
    }(_attachment_service__WEBPACK_IMPORTED_MODULE_0__["AttachmentService"]);

    DiemDichVuAttachmentService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function DiemDichVuAttachmentService_Factory() {
        return new DiemDichVuAttachmentService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]));
      },
      token: DiemDichVuAttachmentService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/shared/services/diem-dich-vu.service.ts":
  /*!*****************************************************************!*\
    !*** ./src/app/manager/shared/services/diem-dich-vu.service.ts ***!
    \*****************************************************************/

  /*! exports provided: DiemDichVuService */

  /***/
  function srcAppManagerSharedServicesDiemDichVuServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVuService", function () {
      return DiemDichVuService;
    });
    /* harmony import */


    var _data_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./data.service */
    "./src/app/manager/shared/services/data.service.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var DiemDichVuService = /*#__PURE__*/function (_data_service__WEBPAC) {
      _inherits(DiemDichVuService, _data_service__WEBPAC);

      var _super42 = _createSuper(DiemDichVuService);

      function DiemDichVuService(http, service) {
        _classCallCheck(this, DiemDichVuService);

        return _super42.call(this, http, src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["DiemDichVuLayer"], service);
      }

      return _createClass(DiemDichVuService);
    }(_data_service__WEBPACK_IMPORTED_MODULE_0__["DataService"]);

    DiemDichVuService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function DiemDichVuService_Factory() {
        return new DiemDichVuService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]));
      },
      token: DiemDichVuService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/shared/services/tram-bts.service.ts":
  /*!*************************************************************!*\
    !*** ./src/app/manager/shared/services/tram-bts.service.ts ***!
    \*************************************************************/

  /*! exports provided: TramBtsService */

  /***/
  function srcAppManagerSharedServicesTramBtsServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBtsService", function () {
      return TramBtsService;
    });
    /* harmony import */


    var _data_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./data.service */
    "./src/app/manager/shared/services/data.service.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var TramBtsService = /*#__PURE__*/function (_data_service__WEBPAC2) {
      _inherits(TramBtsService, _data_service__WEBPAC2);

      var _super43 = _createSuper(TramBtsService);

      function TramBtsService(http, service) {
        _classCallCheck(this, TramBtsService);

        return _super43.call(this, http, src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TramBTSLayer"], service);
      }

      return _createClass(TramBtsService);
    }(_data_service__WEBPACK_IMPORTED_MODULE_0__["DataService"]);

    TramBtsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function TramBtsService_Factory() {
        return new TramBtsService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]));
      },
      token: TramBtsService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts":
  /*!*******************************************************************!*\
    !*** ./src/app/manager/shared/services/tuyen-cap-ngam.service.ts ***!
    \*******************************************************************/

  /*! exports provided: TuyenCapNgamService */

  /***/
  function srcAppManagerSharedServicesTuyenCapNgamServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgamService", function () {
      return TuyenCapNgamService;
    });
    /* harmony import */


    var _data_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./data.service */
    "./src/app/manager/shared/services/data.service.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var TuyenCapNgamService = /*#__PURE__*/function (_data_service__WEBPAC3) {
      _inherits(TuyenCapNgamService, _data_service__WEBPAC3);

      var _super44 = _createSuper(TuyenCapNgamService);

      function TuyenCapNgamService(http, service) {
        _classCallCheck(this, TuyenCapNgamService);

        return _super44.call(this, http, src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TuyenCapNgamLayer"], service);
      }

      return _createClass(TuyenCapNgamService);
    }(_data_service__WEBPACK_IMPORTED_MODULE_0__["DataService"]);

    TuyenCapNgamService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function TuyenCapNgamService_Factory() {
        return new TuyenCapNgamService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]));
      },
      token: TuyenCapNgamService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/shared/services/tuyen-cap-noi.service.ts":
  /*!******************************************************************!*\
    !*** ./src/app/manager/shared/services/tuyen-cap-noi.service.ts ***!
    \******************************************************************/

  /*! exports provided: TuyenCapNoiService */

  /***/
  function srcAppManagerSharedServicesTuyenCapNoiServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNoiService", function () {
      return TuyenCapNoiService;
    });
    /* harmony import */


    var _data_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./data.service */
    "./src/app/manager/shared/services/data.service.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common/http */
    "./node_modules/@angular/common/fesm2015/http.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var TuyenCapNoiService = /*#__PURE__*/function (_data_service__WEBPAC4) {
      _inherits(TuyenCapNoiService, _data_service__WEBPAC4);

      var _super45 = _createSuper(TuyenCapNoiService);

      function TuyenCapNoiService(http, service) {
        _classCallCheck(this, TuyenCapNoiService);

        return _super45.call(this, http, src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TuyenCapNoiLayer"], service);
      }

      return _createClass(TuyenCapNoiService);
    }(_data_service__WEBPACK_IMPORTED_MODULE_0__["DataService"]);

    TuyenCapNoiService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function TuyenCapNoiService_Factory() {
        return new TuyenCapNoiService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"]), _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_4__["LoginService"]));
      },
      token: TuyenCapNoiService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/manager/tram-bts/add/add.component.ngfactory.js":
  /*!*****************************************************************!*\
    !*** ./src/app/manager/tram-bts/add/add.component.ngfactory.js ***!
    \*****************************************************************/

  /*! exports provided: RenderType_AddComponent, View_AddComponent_0, View_AddComponent_Host_0, AddComponentNgFactory */

  /***/
  function srcAppManagerTramBtsAddAddComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AddComponent", function () {
      return RenderType_AddComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_0", function () {
      return View_AddComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_Host_0", function () {
      return View_AddComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponentNgFactory", function () {
      return AddComponentNgFactory;
    });
    /* harmony import */


    var _add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./add.component.scss.shim.ngstyle */
    "./src/app/manager/tram-bts/add/add.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component.ngfactory */
    "./src/app/shared/components/loading/loading.component.ngfactory.js");
    /* harmony import */


    var _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component */
    "./src/app/shared/components/loading/loading.component.ts");
    /* harmony import */


    var _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/card/card.component.ngfactory */
    "./src/app/manager/shared/components/card/card.component.ngfactory.js");
    /* harmony import */


    var _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/components/card/card.component */
    "./src/app/manager/shared/components/card/card.component.ts");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _add_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./add.component */
    "./src/app/manager/tram-bts/add/add.component.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /* harmony import */


    var _shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../shared/services/bts-attachment.service */
    "./src/app/manager/shared/services/bts-attachment.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_AddComponent = [_add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_AddComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_AddComponent,
      data: {}
    });

    function View_AddComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 16, "div", [["class", "container-fluid"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "app-loading", [], null, null, null, _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_LoadingComponent_0"], _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_LoadingComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_3__["LoadingComponent"], [], {
        loading: [0, "loading"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 13, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 4, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 3, "app-card", [], null, null, null, _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_CardComponent_0"], _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_CardComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, null, 0, _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_5__["CardComponent"], [], {
        header: [0, "header"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 1, 1, "app-form", [], null, [[null, "onSubmit"], [null, "onKeyup"], [null, "changeDoanhNghiep"], [null, "changeFileInput"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleClickAdd($event) !== false;
          ad = pd_0 && ad;
        }

        if ("onKeyup" === en) {
          var pd_1 = _co.handleKeyup($event) !== false;
          ad = pd_1 && ad;
        }

        if ("changeDoanhNghiep" === en) {
          var pd_2 = _co.changeDoanhNghiep($event) !== false;
          ad = pd_2 && ad;
        }

        if ("changeFileInput" === en) {
          var pd_3 = _co.getInputFiles($event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_7__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit",
        onKeyup: "onKeyup",
        changeFileInput: "changeFileInput",
        changeDoanhNghiep: "changeDoanhNghiep"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 7, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 6, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_1 = _co.closeSideNav($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_13__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, [["toolbarDiv", 1]], null, 3, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 1, "button", [["class", "esri-widget--button esri-interactive"], ["id", "distance"], ["title", "V\u1EBD"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreatePoint() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](17, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_11__["NgClass"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        klass: [0, "klass"],
        ngClass: [1, "ngClass"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "X\xF3a"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.removeGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loading;

        _ck(_v, 4, 0, currVal_0);

        var currVal_1 = _co.headerCard;

        _ck(_v, 8, 0, currVal_1);

        var currVal_2 = _co.fields;
        var currVal_3 = _co.service;

        _ck(_v, 10, 0, currVal_2, currVal_3);

        _ck(_v, 14, 0);

        var currVal_5 = "esri-widget--button esri-interactive";
        var currVal_6 = "esri-icon-radio-checked";

        _ck(_v, 17, 0, currVal_5, currVal_6);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co.active;

        _ck(_v, 16, 0, currVal_4);
      });
    }

    function View_AddComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-add", [], null, null, null, View_AddComponent_0, RenderType_AddComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4833280, null, 0, _add_component__WEBPACK_IMPORTED_MODULE_14__["AddComponent"], [_shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_15__["TramBtsService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"], _shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_16__["BtsAttachmentService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_17__["LayerService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__["HanhChinhService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var AddComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-add", _add_component__WEBPACK_IMPORTED_MODULE_14__["AddComponent"], View_AddComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/add/add.component.scss.shim.ngstyle.js":
  /*!*************************************************************************!*\
    !*** ./src/app/manager/tram-bts/add/add.component.scss.shim.ngstyle.js ***!
    \*************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTramBtsAddAddComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".container-fluid[_ngcontent-%COMP%] {\n  height: 90vh;\n  padding: 0;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci90cmFtLWJ0cy9hZGQvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXHRyYW0tYnRzXFxhZGRcXGFkZC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci90cmFtLWJ0cy9hZGQvYWRkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsWUFBQTtFQUNBLFVBQUE7QUNDRjtBRENFO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0NKO0FEQUk7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDRU4iLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3RyYW0tYnRzL2FkZC9hZGQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY29udGFpbmVyLWZsdWlkIHtcclxuICBoZWlnaHQ6IDkwdmg7XHJcbiAgcGFkZGluZzogMDtcclxuXHJcbiAgLm1hcCB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgICN0b29sYmFyRGl2IHtcclxuICAgICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgICB0b3A6IDE1cHg7XHJcbiAgICAgIHJpZ2h0OiAxNXB4O1xyXG4gICAgICBjdXJzb3I6IGRlZmF1bHQ7XHJcbiAgICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XHJcbiAgICAgIGZsZXgtd3JhcDogbm93cmFwO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG5cclxuXHJcbiIsIi5jb250YWluZXItZmx1aWQge1xuICBoZWlnaHQ6IDkwdmg7XG4gIHBhZGRpbmc6IDA7XG59XG4uY29udGFpbmVyLWZsdWlkIC5tYXAge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uY29udGFpbmVyLWZsdWlkIC5tYXAgI3Rvb2xiYXJEaXYge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMTVweDtcbiAgcmlnaHQ6IDE1cHg7XG4gIGN1cnNvcjogZGVmYXVsdDtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZmxleC13cmFwOiBub3dyYXA7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/manager/tram-bts/add/add.component.ts":
  /*!*******************************************************!*\
    !*** ./src/app/manager/tram-bts/add/add.component.ts ***!
    \*******************************************************/

  /*! exports provided: AddComponent */

  /***/
  function srcAppManagerTramBtsAddAddComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponent", function () {
      return AddComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_2__);
    /* harmony import */


    var esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/geometry/Point */
    "./node_modules/arcgis-js-api/geometry/Point.js");
    /* harmony import */


    var esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/symbols */
    "./node_modules/arcgis-js-api/symbols.js");
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_symbols__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var esri_tasks_support_ProjectParameters__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/tasks/support/ProjectParameters */
    "./node_modules/arcgis-js-api/tasks/support/ProjectParameters.js");
    /* harmony import */


    var esri_tasks_support_ProjectParameters__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_support_ProjectParameters__WEBPACK_IMPORTED_MODULE_5__);
    /* harmony import */


    var esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! esri/tasks/GeometryService */
    "./node_modules/arcgis-js-api/tasks/GeometryService.js");
    /* harmony import */


    var esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_6__);
    /* harmony import */


    var esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! esri/views/draw/Draw */
    "./node_modules/arcgis-js-api/views/draw/Draw.js");
    /* harmony import */


    var esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_7__);
    /* harmony import */


    var esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! esri/layers/GroupLayer */
    "./node_modules/arcgis-js-api/layers/GroupLayer.js");
    /* harmony import */


    var esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_8__);
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! esri/renderers/UniqueValueRenderer */
    "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js");
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_9__);
    /* harmony import */


    var esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! esri/widgets/LayerList */
    "./node_modules/arcgis-js-api/widgets/LayerList.js");
    /* harmony import */


    var esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_10__);
    /* harmony import */


    var esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! esri/widgets/Expand */
    "./node_modules/arcgis-js-api/widgets/Expand.js");
    /* harmony import */


    var esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_11__);

    var AddComponent = /*#__PURE__*/function () {
      function AddComponent(_service, toastService, attachmentService, layerService, loginService, hanhChinhService) {
        _classCallCheck(this, AddComponent);

        this._service = _service;
        this.toastService = toastService;
        this.attachmentService = attachmentService;
        this.layerService = layerService;
        this.loginService = loginService;
        this.hanhChinhService = hanhChinhService;
        this.headerCard = "Thêm mới trạm BTS";
        this.fields = [{
          prop: "MaTram",
          name: "Mã trạm",
          type: "text",
          require: true,
          placeholder: 'Mã trạm'
        }, {
          prop: "TenTram",
          name: "Tên trạm",
          type: "text",
          require: true,
          placeholder: 'Tên trạm'
        }, {
          prop: "ToaDoX",
          name: "Tọa độ X",
          type: "text",
          require: true,
          placeholder: 'Tọa độ X (Có thể chọn 1 điểm trên bản đồ)'
        }, {
          prop: "ToaDoY",
          name: "Tọa độ Y",
          type: "text",
          require: true,
          placeholder: 'Tọa độ Y (Có thể chọn 1 điểm trên bản đồ)'
        }, {
          prop: "DiaChi",
          name: "Địa chỉ",
          type: "text",
          placeholder: 'Địa chỉ'
        }, {
          prop: "ChuSoHuuDat",
          name: "Chủ sỡ hữu đất",
          type: "text",
          placeholder: 'Chủ sở hữu đất',
          hidden: true
        }, {
          prop: "LoaiAngTen",
          name: "Loại ăng ten",
          type: "select",
          hidden: true
        }, {
          prop: "LoaiTram",
          name: "Loại trạm",
          type: "select"
        }, {
          prop: "DoCaoTram",
          name: "Độ cao trạm",
          type: "text",
          placeholder: 'Độ cao trạm'
        }, {
          prop: "DoCaoTang",
          name: "Độ cao tầng",
          type: "text",
          placeholder: 'Độ cao tầng',
          hidden: true
        }, {
          prop: "CongSuat",
          name: "Công suất",
          type: "text",
          placeholder: 'Công suất',
          hidden: true
        }, {
          prop: "GocNgan",
          name: "Số lượng ăng ten phát",
          type: "text",
          placeholder: 'Số lượng ăng ten phát',
          hidden: true
        }, {
          prop: "TGXayDung",
          name: "TG xây dựng",
          type: "text",
          placeholder: 'TG Xâuy dựng',
          hidden: true
        }, {
          prop: "TGPhatSong",
          name: "TG phát sóng",
          type: "text",
          placeholder: 'TG phủ sóng',
          hidden: true
        }, {
          prop: "GiayPhepXayDung",
          name: "Giấy phép xây dựng",
          type: "select",
          hidden: true
        }, {
          prop: "ChapThuanCuaSo",
          name: "Chấp thuận của sở",
          type: "select",
          hidden: true
        }, {
          prop: "SoCongVan",
          name: "Số công văn",
          type: "text",
          placeholder: 'Số công văn',
          hidden: true
        }, {
          prop: "ThietBiLapDat",
          name: "Thiết bị lắp đặt",
          type: "text",
          placeholder: 'Thiết bị lắp đặt'
        }, {
          prop: "GiayKiemDinhCongTrinh",
          name: "GKĐ công trình",
          type: "text",
          placeholder: 'GKĐ công trình',
          hidden: true
        }, {
          prop: "TinhTrangKiemDinh",
          name: "Tình trạng KĐ",
          type: "select",
          placeholder: 'Tình trạng KĐ',
          hidden: true
        }, {
          prop: "NgayCap",
          name: "Ngày cấp",
          type: "date",
          placeholder: 'Ngày cấp',
          hidden: true
        }, {
          prop: "NgayHetHan",
          name: "Ngày hết hạn",
          type: "date",
          placeholder: 'Ngày hết hạn',
          hidden: true
        }, {
          prop: "SoCongVanHSKD",
          name: "Số công văn HSKĐ",
          type: "text",
          placeholder: 'Số công văn HSKĐ',
          hidden: true
        }, {
          prop: "NgayNopHSKD",
          name: "Ngày nộp hồ sơ",
          type: "date",
          placeholder: 'Ngày nộp hồ sơ',
          hidden: true
        }, {
          prop: "NguoiCungCapThongTin",
          name: "Người cung cấp thông tin",
          type: "text",
          placeholder: 'Người cung cấp thông tin',
          hidden: true
        }, {
          prop: "GhiChu",
          name: "Ghi chú",
          type: "text",
          width: 250,
          placeholder: 'Ghi chú'
        }, {
          prop: "NgayGioCapPhepBTS",
          name: "Ngày cấp phép",
          type: "date",
          placeholder: 'Ngày cấp phép',
          hidden: true
        }, {
          prop: "ThietBiLapDat2G",
          name: "2G",
          type: "text",
          placeholder: '2G',
          hidden: true
        }, {
          prop: "ThietBiLapDat3G",
          name: "3G",
          type: "text",
          placeholder: '3G',
          hidden: true
        }, {
          prop: "ThietBiLapDat4G",
          name: "4G",
          type: "text",
          placeholder: '4G',
          hidden: true
        }, {
          prop: "CoKhaNangDungChung",
          name: 'Khả năng dùng chung',
          type: 'checkbox'
        }, {
          prop: "File",
          name: "",
          type: "file"
        }];
        this.active = false;
        this.loading = false;
        this.lstFormData = [];
        this.isDoanhNghiepSlected = false;
        this.isDungChung = false;
        this.service = _service;
        this.geometryService = new esri_tasks_GeometryService__WEBPACK_IMPORTED_MODULE_6___default.a({
          url: "http://103.74.116.95:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer"
        });

        if (this.loginService.isQuanHuyen) {}
      }

      _createClass(AddComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          if (this.loginService.maDonVi !== 'S4T') {
            this.maDoanhNghiep = this.loginService.maDonVi;
          }
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {}
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(change) {}
      }, {
        key: "mapLoaded",
        value: function mapLoaded(view) {
          var _this195 = this;

          this.view = view;
          var layerList = new esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_10___default.a({
            view: view
          });
          var bgExpand = new esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_11___default.a({
            view: view,
            content: layerList
          });
          view.ui.add(bgExpand, "top-left");
          var dsDN = [{
            name: "GTL",
            title: "GTel",
            name_img: 'gtel'
          }, {
            name: "MBF",
            title: "Mobifone",
            name_img: 'mobifone'
          }, {
            name: "VNPT",
            title: "VNPT",
            name_img: "vina"
          }, {
            name: "VNM",
            title: "Vietnamobile",
            name_img: "vietnam"
          }, {
            name: "VTL",
            title: "Viettel",
            name_img: "viettel"
          }];
          var uniqueValueInfos = [];
          var doanhNghiep = dsDN.find(function (m) {
            return m.name === _this195.loginService.maDonVi;
          });

          for (var _i56 = 1; _i56 <= 4; _i56++) {
            if (!doanhNghiep) {
              // neu khong phai la doanh nghiep thi set unique tat ca de hien thi tren Legend
              var _iterator146 = _createForOfIteratorHelper(dsDN),
                  _step146;

              try {
                for (_iterator146.s(); !(_step146 = _iterator146.n()).done;) {
                  var dn = _step146.value;
                  var uniqueValueInfo = {
                    label: null,
                    value: null,
                    symbol: {
                      url: null,
                      type: "picture-marker",
                      width: "24px",
                      height: "24px"
                    }
                  };
                  uniqueValueInfo.value = dn.name + ', ' + _i56;

                  if (_i56 == 1) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Xin c\u1EA5p ph\xE9p");
                    uniqueValueInfo.create = true;
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau.png";
                  }

                  if (_i56 == 2) {
                    uniqueValueInfo.label = "".concat(dn.title, " - \u0110\xE3 c\u1EA5p ph\xE9p");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau_chapnhan.png";
                  }

                  if (_i56 == 3) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Ho\xE0n c\xF4ng");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + ".png";
                  }

                  if (_i56 == 4) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Kh\xF4ng ch\u1EA5p nh\u1EADn");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau_kochapnhan.png";
                  }

                  uniqueValueInfos.push(uniqueValueInfo);
                }
              } catch (err) {
                _iterator146.e(err);
              } finally {
                _iterator146.f();
              }
            } else {
              // nguoc lai la doanh nghiep thi chi hien thi legend cua doanh nghiep do
              var _uniqueValueInfo = {
                label: null,
                value: null,
                symbol: {
                  url: null,
                  type: "picture-marker",
                  width: "24px",
                  height: "24px"
                }
              };
              _uniqueValueInfo.value = doanhNghiep.name + ', ' + _i56;

              if (_i56 == 1) {
                _uniqueValueInfo.label = "Xin c\u1EA5p ph\xE9p";
                _uniqueValueInfo.create = true;
                _uniqueValueInfo.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau.png";
              }

              if (_i56 == 2) {
                _uniqueValueInfo.label = "\u0110\xE3 c\u1EA5p ph\xE9p";
                _uniqueValueInfo.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau_chapnhan.png";
              }

              if (_i56 == 3) {
                _uniqueValueInfo.label = "Ho\xE0n c\xF4ng";
                _uniqueValueInfo.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + ".png";
              }

              if (_i56 == 4) {
                _uniqueValueInfo.label = "Kh\xF4ng ch\u1EA5p nh\u1EADn";
                _uniqueValueInfo.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau_kochapnhan.png";
              }

              uniqueValueInfos.push(_uniqueValueInfo);
            }
          }

          var renderer = new esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_9___default.a({
            field: "TenDoanhNghiep",
            field2: "TinhTrang",
            fieldDelimiter: ", ",
            uniqueValueInfos: uniqueValueInfos,
            defaultSymbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_4__["PictureMarkerSymbol"]({
              url: "/assets/images/bts/chuaxacdinh.png"
            }),
            defaultLabel: "Chưa xác định"
          });
          this.layer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_1___default.a(this.layerService.tramBtsLayer);
          this.layer.renderer = renderer;
          this.layer.listMode = 'hide';
          this.view.map.add(this.layer);
          var tramBTSDefinitionExpression = [];

          if (!this.loginService.isDoanhNghiep) {
            // neu khong phai la doanh nghiep thi group doanh nghiep
            dsDN.forEach(function (f) {
              var btsDn = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_8___default.a({
                title: f.title,
                id: f.name
              });
              btsDn.watch("visible", function (newVal, oldVal) {
                if (!newVal) {
                  tramBTSDefinitionExpression.push("TenDoanhNghiep not like '".concat(f.name, "'"));
                } else {
                  var index = tramBTSDefinitionExpression.indexOf("TenDoanhNghiep not like '".concat(f.name, "'"));

                  if (index > -1) {
                    tramBTSDefinitionExpression.splice(index, 1);
                  }
                }

                ;

                if (tramBTSDefinitionExpression.length > 0) {
                  _this195.layer.definitionExpression = tramBTSDefinitionExpression.join(" and ");
                } else {
                  _this195.layer.definitionExpression = "1=1";
                }
              });

              _this195.view.map.add(btsDn);
            }); // groupBtsDn.watch("visible", function (newVal, oldVal) {
            //   tramBtsFL.visible = newVal;
            // })
          }

          view.map.add(this.layer);
        }
      }, {
        key: "changeDoanhNghiep",
        value: function changeDoanhNghiep(event) {
          this.maDoanhNghiep = event.target.value;
        }
      }, {
        key: "closeSideNav",
        value: function closeSideNav(event) {
          this.miniMap.isOpenSideNav = event;
          this.isDoanhNghiepSlected = false;
        }
      }, {
        key: "enableCreatePoint",
        value: function enableCreatePoint() {
          var _this196 = this;

          // if (this.maDoanhNghiep) {
          this.active = true;
          var draw = new esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_7___default.a({
            view: this.view
          });
          var action = draw.create("point");
          action.on("cursor-update", function (evt) {
            _this196.createPointGraphic(evt);
          });
          action.on("draw-complete", function (evt) {
            _this196.createPointGraphic(evt);

            _this196.active = false; // this.isDoanhNghiepSlected = false;
          }); // } else {
          //   this.toastService.warning("Vui lòng chọn doanh nghiệp!");
          // }
        }
      }, {
        key: "createPointGraphic",
        value: function createPointGraphic(evt) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee18() {
            var _this197 = this;

            var coordinates, graphic, _graphic$geometry2, longitude, latitude;

            return _regeneratorRuntime().wrap(function _callee18$(_context21) {
              while (1) switch (_context21.prev = _context21.next) {
                case 0:
                  coordinates = evt.coordinates;
                  this.view.graphics.removeAll();
                  this.geometry = new esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3___default.a({
                    x: coordinates[0],
                    y: coordinates[1],
                    spatialReference: this.view.spatialReference
                  });
                  graphic = new esri_Graphic__WEBPACK_IMPORTED_MODULE_2___default.a({
                    geometry: this.geometry,
                    symbol: this.creatSymbol()
                  });
                  this.view.graphics.addMany([graphic]);

                  if (!(evt.type === "draw-complete")) {
                    _context21.next = 14;
                    break;
                  }

                  _context21.next = 8;
                  return this.layer.queryFeatures({
                    geometry: this.geometry,
                    distance: 100,
                    units: 'meters'
                  }).then(function (_ref105) {
                    var features = _ref105.features;

                    if (features.length) {
                      _this197.toastService.danger('Vị trí quá gần trạm BTS đã được cấp phép. Vui lòng chọn vị trí khác!');

                      _this197.view.graphics.removeAll();

                      return;
                    }
                  });

                case 8:
                  _graphic$geometry2 = graphic.geometry, longitude = _graphic$geometry2.longitude, latitude = _graphic$geometry2.latitude;
                  this.toaDoX = longitude; // gan toa do de chuyen sang VN2000 (cam thay si da)

                  this.toaDoY = latitude; // this.projectViewToInput().then(([geometry]) => {
                  //   const { x, y } = geometry as __esri.Point;
                  //   this.toaDoY = y; // sau khi chuyen gan lai toa do
                  //   this.toaDoX = x;

                  this.formComponent.datas.ToaDoX = longitude.toString();
                  this.formComponent.datas.ToaDoY = latitude.toString(); // });

                  this.view.goTo(graphic);

                case 14:
                case "end":
                  return _context21.stop();
              }
            }, _callee18, this);
          }));
        }
      }, {
        key: "getInputFiles",
        value: function getInputFiles(event) {
          this.lstFormData = [];
          var files = event.target.files;

          var _iterator147 = _createForOfIteratorHelper(files),
              _step147;

          try {
            for (_iterator147.s(); !(_step147 = _iterator147.n()).done;) {
              var file = _step147.value;
              var formData = new FormData();
              formData.append('attachment', file);
              formData.append('j', 'json');
              this.lstFormData.push(formData);
            }
          } catch (err) {
            _iterator147.e(err);
          } finally {
            _iterator147.f();
          }
        }
      }, {
        key: "handleClickAdd",
        value: function handleClickAdd(info) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee20() {
            var _this198 = this;

            var attributes, addFeature;
            return _regeneratorRuntime().wrap(function _callee20$(_context23) {
              while (1) switch (_context23.prev = _context23.next) {
                case 0:
                  attributes = info;
                  console.log(attributes);

                  if (this.maDoanhNghiep) {
                    _context23.next = 5;
                    break;
                  }

                  this.toastService.warning('Vui lòng chọn doanh nghiệp!');
                  return _context23.abrupt("return");

                case 5:
                  attributes.TenDoanhNghiep = this.maDoanhNghiep;
                  attributes.TinhTrang = 3;

                  if (!attributes.KhaNangDungChung) {
                    attributes.KhaNangDungChung = this.isDungChung;
                  }

                  addFeature = {
                    geometry: this.geometry,
                    attributes: attributes
                  };
                  this.loading = true;
                  this.layer.applyEdits({
                    addFeatures: [addFeature]
                  }).then(function (res) {
                    return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this198, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee19() {
                      var _this199 = this;

                      var featureEditResult, objectId, _iterator148, _step148, file;

                      return _regeneratorRuntime().wrap(function _callee19$(_context22) {
                        while (1) switch (_context22.prev = _context22.next) {
                          case 0:
                            try {
                              featureEditResult = res.addFeatureResults;
                              objectId = featureEditResult[0].objectId;

                              if (objectId) {
                                this.layer.queryFeatures({
                                  returnGeometry: true,
                                  outSpatialReference: this.view.spatialReference,
                                  where: 'OBJECTID = ' + objectId,
                                  outFields: ['*']
                                }).then(function (_ref106) {
                                  var features = _ref106.features;
                                  var ft = features[0];

                                  _this199.view.graphics.add(new esri_Graphic__WEBPACK_IMPORTED_MODULE_2___default.a({
                                    geometry: ft.geometry,
                                    symbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_4__["SimpleMarkerSymbol"]({
                                      color: 'rgba(0,0,0,0)',
                                      size: '24px',
                                      outline: new esri_symbols__WEBPACK_IMPORTED_MODULE_4__["SimpleLineSymbol"]({
                                        color: 'yellow',
                                        width: 1.5
                                      })
                                    })
                                  }));

                                  _this199.hanhChinhService.getLocationInfo(ft.geometry).then(function (locationInfo) {
                                    if (locationInfo) {
                                      for (var _i57 in locationInfo) {
                                        ft.attributes[_i57] = locationInfo[_i57];
                                      }

                                      _this199.layer.applyEdits({
                                        updateFeatures: [{
                                          attributes: ft.attributes
                                        }]
                                      }).then(function (result) {//  this.toastService.success('Cap nhat vi tri thanh cong!')
                                      });
                                    }
                                  });
                                });

                                if (this.lstFormData) {
                                  _iterator148 = _createForOfIteratorHelper(this.lstFormData);

                                  try {
                                    for (_iterator148.s(); !(_step148 = _iterator148.n()).done;) {
                                      file = _step148.value;
                                      this.attachmentService.addAttachment(objectId, file).then(function (res) {});
                                    }
                                  } catch (err) {
                                    _iterator148.e(err);
                                  } finally {
                                    _iterator148.f();
                                  }
                                }

                                this.toastService.success("Thêm mới trạm BTS thành công!");
                                this.reset();
                                this.loading = false;
                              }
                            } catch (e) {
                              this.toastService.danger(e.message);
                            }

                          case 1:
                          case "end":
                            return _context22.stop();
                        }
                      }, _callee19, this);
                    }));
                  });

                case 11:
                case "end":
                  return _context23.stop();
              }
            }, _callee20, this);
          }));
        }
      }, {
        key: "handleKeyup",
        value: function handleKeyup(evt) {
          var _evt$target2 = evt.target,
              name = _evt$target2.name,
              value = _evt$target2.value;

          if (name === "ToaDoX" || name === "ToaDoY") {
            if (name === "ToaDoX") {
              this.toaDoX = value;
            }

            if (name === "ToaDoY") {
              this.toaDoY = value;
            }

            if (this.toaDoX && this.toaDoY) {
              // this.projectInputToView().then(([geometry]) => {
              this.view.graphics.removeAll();
              this.geometry = new esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3___default.a({
                longitude: this.toaDoX,
                latitude: this.toaDoY
              });
              var graphic = new esri_Graphic__WEBPACK_IMPORTED_MODULE_2___default.a({
                geometry: this.geometry,
                symbol: this.creatSymbol()
              });
              this.view.graphics.add(graphic);
              this.view.goTo(graphic); // });
            } else {
              this.view.graphics.removeAll();
            }
          }
        }
      }, {
        key: "projectInputToView",
        value: function projectInputToView() {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee21() {
            var point, projectParameters;
            return _regeneratorRuntime().wrap(function _callee21$(_context24) {
              while (1) switch (_context24.prev = _context24.next) {
                case 0:
                  point = new esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3___default.a({
                    latitude: this.toaDoY,
                    longitude: this.toaDoX,
                    spatialReference: this.layer.spatialReference
                  });
                  projectParameters = new esri_tasks_support_ProjectParameters__WEBPACK_IMPORTED_MODULE_5___default.a({
                    geometries: [point],
                    outSpatialReference: this.view.spatialReference
                  });
                  return _context24.abrupt("return", this.geometryService.project(projectParameters));

                case 3:
                case "end":
                  return _context24.stop();
              }
            }, _callee21, this);
          }));
        }
      }, {
        key: "projectViewToInput",
        value: function projectViewToInput() {
          var point = new esri_geometry_Point__WEBPACK_IMPORTED_MODULE_3___default.a({
            latitude: this.toaDoY,
            longitude: this.toaDoX,
            spatialReference: this.view.spatialReference
          });
          var projectParameters = new esri_tasks_support_ProjectParameters__WEBPACK_IMPORTED_MODULE_5___default.a({
            geometries: [point],
            outSpatialReference: this.layer.spatialReference
          });
          return this.geometryService.project(projectParameters);
        }
      }, {
        key: "removeGraphic",
        value: function removeGraphic() {
          this.view.graphics.removeAll();
          this.formComponent.datas.ToaDoX = "";
          this.formComponent.datas.ToaDoY = "";
        }
      }, {
        key: "reset",
        value: function reset() {
          this.removeGraphic();
          this.formComponent.reset();
        }
      }, {
        key: "creatSymbol",
        value: function creatSymbol() {
          // let img = "chuaxacdinh";
          // if (this.maDoanhNghiep) {
          //   switch (this.maDoanhNghiep) {
          //     case DoanhNghieps.VNPT:
          //       img = `vina`;
          //       break;
          //     case DoanhNghieps.Vietnamobile:
          //       img = `vietnam`;
          //       break;
          //     case DoanhNghieps.GTel:
          //       img = `gtel`;
          //       break;
          //     case DoanhNghieps.Mobifone:
          //       img = `mobifone`;
          //       break;
          //     case DoanhNghieps.Viettel:
          //       img = `viettel`;
          //       break;
          //   }
          // }
          // return new PictureMarkerSymbol({
          //   url: `/assets/images/bts/${img}.png`,
          //   width: "24px",
          //   height: "24px",
          // });
          return this.miniMap.symbolCreate;
        }
      }]);

      return AddComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/list/list.component.ngfactory.js":
  /*!*******************************************************************!*\
    !*** ./src/app/manager/tram-bts/list/list.component.ngfactory.js ***!
    \*******************************************************************/

  /*! exports provided: RenderType_ListComponent, View_ListComponent_0, View_ListComponent_Host_0, ListComponentNgFactory */

  /***/
  function srcAppManagerTramBtsListListComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ListComponent", function () {
      return RenderType_ListComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_0", function () {
      return View_ListComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_Host_0", function () {
      return View_ListComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponentNgFactory", function () {
      return ListComponentNgFactory;
    });
    /* harmony import */


    var _list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./list.component.scss.shim.ngstyle */
    "./src/app/manager/tram-bts/list/list.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component.ngfactory */
    "./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component */
    "./src/app/manager/shared/components/datatable/datatable.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _list_component__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./list.component */
    "./src/app/manager/tram-bts/list/list.component.ts");
    /* harmony import */


    var _shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/services/tram-bts.service */
    "./src/app/manager/shared/services/tram-bts.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ListComponent = [_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ListComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ListComponent,
      data: {}
    });

    function View_ListComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_ListComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](0, null, [" ", "\n"]))], null, function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _co.getCoKhaNangDungChung(_v.context.value);

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_ListComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        dataTbl: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 2, {
        dungChung: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 13, "div", [["class", "container-fluid mt-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 12, "app-datatable", [], null, [[null, "onActivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onActivate" === en) {
          var pd_0 = _co.onActivate($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_DatatableComponent_0"], _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_DatatableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 638976, [[1, 4], ["dataTbl", 4]], 0, _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_4__["DatatableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_5__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbModal"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_7__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"], _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_9__["DonViService"]], {
        columns: [0, "columns"],
        service: [1, "service"],
        header: [2, "header"],
        searchField: [3, "searchField"],
        isHidden: [4, "isHidden"],
        khaNangDungChung: [5, "khaNangDungChung"],
        tinhTrang: [6, "tinhTrang"]
      }, {
        onActivate: "onActivate"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 0, 3, "div", [["class", "form-check search-kha-nang-dung-chung"], ["style", "width: 100%;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "label", [["class", "form-check-label"], ["for", "checkBox"], ["style", "width: 80%;"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["D\xF9ng chung"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 0, "input", [["class", "form-check-input"], ["id", "checkBox"], ["type", "checkbox"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = (_co.isCheck = $event.target.checked) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 1, 6, "select", [["class", "form-control form-control-sm tinh-trang-cap-phep"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = (_co.tinhTrang = $event.target.value) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn t\xECnh tr\u1EA1ng"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ListComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_10__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [[2, 2], ["dungChung", 2]], null, 0, null, View_ListComponent_2))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;
        var currVal_1 = _co.service;
        var currVal_2 = _co.headerTable;
        var currVal_3 = _co.searchField;
        var currVal_4 = _co.isHidden;
        var currVal_5 = _co.isCheck;
        var currVal_6 = _co.tinhTrang;

        _ck(_v, 4, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);

        var currVal_7 = "";

        _ck(_v, 11, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 12, 0, currVal_8);

        var currVal_9 = _co.tinhTrangs;

        _ck(_v, 15, 0, currVal_9);
      }, null);
    }

    function View_ListComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-list", [], null, null, null, View_ListComponent_0, RenderType_ListComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _list_component__WEBPACK_IMPORTED_MODULE_11__["ListComponent"], [_shared_services_tram_bts_service__WEBPACK_IMPORTED_MODULE_12__["TramBtsService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_6__["NgbModal"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_5__["ToastService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ListComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-list", _list_component__WEBPACK_IMPORTED_MODULE_11__["ListComponent"], View_ListComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/list/list.component.scss.shim.ngstyle.js":
  /*!***************************************************************************!*\
    !*** ./src/app/manager/tram-bts/list/list.component.scss.shim.ngstyle.js ***!
    \***************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTramBtsListListComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvdHJhbS1idHMvbGlzdC9saXN0LmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/manager/tram-bts/list/list.component.ts":
  /*!*********************************************************!*\
    !*** ./src/app/manager/tram-bts/list/list.component.ts ***!
    \*********************************************************/

  /*! exports provided: ListComponent */

  /***/
  function srcAppManagerTramBtsListListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponent", function () {
      return ListComponent;
    });
    /* harmony import */


    var _modal_info_modal_info_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../modal-info/modal-info.component */
    "./src/app/manager/tram-bts/modal-info/modal-info.component.ts");
    /* harmony import */


    var src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/models/menu.model */
    "./src/app/shared/models/menu.model.ts");

    var ListComponent = /*#__PURE__*/function () {
      function ListComponent(_service, modalService, toastService, loginService) {
        _classCallCheck(this, ListComponent);

        this._service = _service;
        this.modalService = modalService;
        this.toastService = toastService;
        this.loginService = loginService;
        this.headerTable = 'Danh sách trạm BTS';
        this.searchField = 'TenTram';
        this.isHidden = false;
        this.Flag = src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__["FlagMenu"];
        this.tinhTrangs = [{
          code: 1,
          name: 'Doanh nghiệp xin cấp phép'
        }, {
          code: 2,
          name: 'Sở cấp phép'
        }, {
          code: 3,
          name: 'Hoàn công'
        }, {
          code: 4,
          name: 'Không chấp thuận'
        }];
        this.service = _service;

        if (loginService.isQuanHuyen) {
          this.isHidden = true;
        }
      }

      _createClass(ListComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.columns = [{
            prop: 'MaTram',
            name: 'Mã trạm',
            type: 'text',
            frozenLeft: true,
            width: 150
          }, {
            prop: 'TenDoanhNghiep',
            name: 'Doanh nghiệp',
            type: 'select',
            width: 150,
            isNonEdit: true
          }, {
            prop: 'TenTram',
            name: 'Tên trạm',
            type: 'text',
            frozenLeft: true,
            width: 150
          }, {
            prop: 'TinhTrang',
            name: 'Tình trạng',
            type: 'select',
            width: 170,
            isNonEdit: true
          }, {
            prop: 'DiaChi',
            name: 'Địa chỉ',
            type: 'text',
            width: 250
          }, {
            prop: 'ToaDoX',
            name: 'Tọa độ X',
            type: 'text',
            width: 150,
            isNonEdit: true
          }, {
            prop: 'LoaiTram',
            name: 'Loại trạm',
            type: 'select',
            width: 150
          }, {
            prop: 'ToaDoY',
            name: 'Tọa độ Y',
            type: 'text',
            width: 150,
            isNonEdit: true
          }, {
            prop: 'DoCaoTram',
            name: 'Độ cao trạm',
            type: 'text',
            width: 150
          }, {
            prop: 'ChuSoHuuDat',
            name: 'Chủ sỡ hữu đất',
            type: 'text',
            width: 200,
            hidden: true
          }, {
            prop: 'LoaiAngTen',
            name: 'Loại ăng ten',
            type: 'select',
            width: 150,
            hidden: true
          }, {
            prop: 'DoCaoTang',
            name: 'Độ cao tầng',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'GocNgan',
            name: 'Số lượng ăng ten phát',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'GiayPhepXayDung',
            name: 'Giấy phép xây dựng',
            type: 'select',
            width: 150,
            hidden: true
          }, {
            prop: 'TGXayDung',
            name: 'TG xây dựng',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'TepDinhKemGPXD',
            name: 'File GPXD',
            type: 'file',
            width: 150,
            hidden: true
          }, {
            prop: 'TGPhatSong',
            name: 'TG phát sóng',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'NgayCapGPXD',
            name: 'Ngày cấp GPXD',
            type: 'date',
            width: 150,
            hidden: true
          }, {
            prop: 'ChapThuanCuaSo',
            name: 'Chấp thuận của sở',
            type: 'select',
            width: 150,
            hidden: true
          }, {
            prop: 'SoCongVan',
            name: 'Số công văn',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'ThietBiLapDat',
            name: 'Thiết bị lắp đặt',
            type: 'text',
            width: 150
          }, {
            prop: 'GiayKiemDinhCongTrinh',
            name: 'GKĐ công trình',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'TinhTrangKiemDinh',
            name: 'Tình trạng KĐ',
            type: 'select',
            width: 150,
            hidden: true
          }, {
            prop: 'TepDinhKemHSKD',
            name: 'File KĐCT',
            type: 'file',
            width: 150,
            hidden: true
          }, {
            prop: 'NgayHetHan',
            name: 'Ngày hết hạn',
            type: 'date',
            width: 150,
            hidden: true
          }, {
            prop: 'NgayCap',
            name: 'Ngày cấp',
            type: 'date',
            width: 150,
            hidden: true
          }, {
            prop: 'NgayNopHSKD',
            name: 'Ngày nộp hồ sơ',
            type: 'date',
            width: 150,
            hidden: true
          }, {
            prop: 'SoCongVanHSKD',
            name: 'Số công văn HSKĐ',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'GhiChu',
            name: 'Ghi chú',
            type: 'text',
            width: 250
          }, {
            prop: 'NguoiCungCapThongTin',
            name: 'Người cung cấp thông tin',
            type: 'text',
            width: 170,
            hidden: true
          }, {
            prop: 'VungPhu',
            name: 'Vùng phủ',
            type: 'text',
            width: 150,
            hidden: true
          }, {
            prop: 'HuyenTXTP',
            name: 'Huyện/TP',
            type: 'select',
            width: 150,
            isQuanHuyenTP: true,
            options: [],
            hidden: true
          }, {
            prop: 'NgayGioCapPhepBTS',
            name: 'Ngày cấp phép',
            type: 'date',
            width: 150
          }, {
            prop: 'XaPhuongTT',
            name: 'Xã/phường',
            type: 'select',
            width: 150,
            isPhuongXa: true,
            options: []
          }, {
            prop: 'ThietBiLapDat2G',
            name: '2G',
            type: 'text',
            width: 120,
            hidden: true
          }, {
            prop: 'ThietBiLapDat3G',
            name: '3G',
            type: 'text',
            width: 120,
            hidden: true
          }, {
            prop: 'ThietBiLapDat4G',
            name: '4G',
            type: 'text',
            width: 120,
            hidden: true
          }, {
            prop: 'CoKhaNangDungChung',
            name: 'Có khả năng dùng chung',
            type: 'checkbox',
            width: 200,
            cellTemplate: this.dungChung
          }];
        }
      }, {
        key: "handleSave",
        value: function handleSave(data) {
          var _this200 = this;

          // this.loadingIndicator = true;
          this.service.update(data).then(function (res) {
            if (res.updateResults && res.updateResults.length) {
              console.log(res.updateResults);
              console.log(res.updateResults.length);

              _this200.dataTbl.loadData();

              _this200.toastService.success('Cập nhập dữ liệu thành công!');
            } else {
              _this200.toastService.danger('Cập nhật dữ liệu thất bại');
            } // this.loadingIndicator = false;

          });
        }
      }, {
        key: "onActivate",
        value: function onActivate(event) {
          var _this201 = this;

          this.modalService.dismissAll();
          var modalRef = this.modalService.open(_modal_info_modal_info_component__WEBPACK_IMPORTED_MODULE_0__["ModalInfoComponent"], {
            size: 'xl'
          });
          modalRef.componentInstance.data = {
            row: Object.assign({}, event.row),
            fields: this.columns,
            service: this.service,
            flag: this.Flag.TramBTS
          };
          modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
            _this201.handleSave(receivedEntry);
          });
        }
      }, {
        key: "getCoKhaNangDungChung",
        value: function getCoKhaNangDungChung(value) {
          if (value === 1) {
            return 'Có';
          } else return 'Không';
        }
      }]);

      return ListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/modal-info/modal-info.component.ngfactory.js":
  /*!*******************************************************************************!*\
    !*** ./src/app/manager/tram-bts/modal-info/modal-info.component.ngfactory.js ***!
    \*******************************************************************************/

  /*! exports provided: RenderType_ModalInfoComponent, View_ModalInfoComponent_0, View_ModalInfoComponent_Host_0, ModalInfoComponentNgFactory */

  /***/
  function srcAppManagerTramBtsModalInfoModalInfoComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalInfoComponent", function () {
      return RenderType_ModalInfoComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalInfoComponent_0", function () {
      return View_ModalInfoComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalInfoComponent_Host_0", function () {
      return View_ModalInfoComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalInfoComponentNgFactory", function () {
      return ModalInfoComponentNgFactory;
    });
    /* harmony import */


    var _modal_info_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal-info.component.scss.shim.ngstyle */
    "./src/app/manager/tram-bts/modal-info/modal-info.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_attachment_attachment_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/components/attachment/attachment.component.ngfactory */
    "./src/app/shared/components/attachment/attachment.component.ngfactory.js");
    /* harmony import */


    var _shared_components_attachment_attachment_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../shared/components/attachment/attachment.component */
    "./src/app/shared/components/attachment/attachment.component.ts");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_components_input_file_input_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/components/input-file/input-file.component.ngfactory */
    "./src/app/shared/components/input-file/input-file.component.ngfactory.js");
    /* harmony import */


    var _shared_components_input_file_input_file_component__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../shared/components/input-file/input-file.component */
    "./src/app/shared/components/input-file/input-file.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ../../../../../node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory */
    "./node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory.js");
    /* harmony import */


    var _modal_info_component__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ./modal-info.component */
    "./src/app/manager/tram-bts/modal-info/modal-info.component.ts");
    /* harmony import */


    var _shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../shared/services/bts-attachment.service */
    "./src/app/manager/shared/services/bts-attachment.service.ts");
    /* harmony import */


    var _shared_services_api_service__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ../../shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalInfoComponent = [_modal_info_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalInfoComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalInfoComponent,
      data: {}
    });

    function View_ModalInfoComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null);
    }

    function View_ModalInfoComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "div", [["class", "row item"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "label", [["class", "col-4 font-weight-lighter text-right"], ["for", "field"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, [" ", ": "])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 3, "div", [["class", "col-8 text-dark prop pl-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 2, null, View_ModalInfoComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 540672, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgTemplateOutlet"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"]], {
        ngTemplateOutletContext: [0, "ngTemplateOutletContext"],
        ngTemplateOutlet: [1, "ngTemplateOutlet"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](6, {
        field: 0,
        value: 1
      })], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _ck(_v, 6, 0, _v.parent.context.$implicit, _co._data.row[_v.parent.context.$implicit.prop]);

        var currVal_2 = _co.isEditing && !_v.parent.context.$implicit.isNonEdit ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent.parent, 39) : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent.parent, 40);

        _ck(_v, 5, 0, currVal_1, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.name;

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_ModalInfoComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "col-6"]], [[2, "pb-2", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.hidden !== undefined ? !_v.context.$implicit.hidden : true;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isEditing;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_ModalInfoComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 7, "div", [["class", "col-6"]], [[2, "pb-2", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 6, "div", [["class", "row item"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "label", [["class", "col-4 font-weight-lighter text-right"], ["for", "field"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 4, "div", [["class", "col-8 text-dark prop pl-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 3, "div", [["class", "form-check"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 0, "input", [["class", "form-check-input"], ["type", "checkbox"], ["value", ""]], [[8, "checked", 0]], [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          _co.isHoanCong = !_co.isHoanCong;
          var pd_0 = (_co.isHoanCong ? _co._data.row["TinhTrang"] = _co.TinhTrang.HoanCong : _co._data.row["TinhTrang"] = _co.TinhTrang.DaCapPhep) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 1, "label", [["class", "form-check-label"], ["for", "defaultCheck"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, [" Ho\xE0n c\xF4ng "]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isEditing;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.isHoanCong;

        _ck(_v, 5, 0, currVal_1);
      });
    }

    function View_ModalInfoComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co._data.fields;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = (_co._data.row["TinhTrang"] === _co.TinhTrang.DaCapPhep || _co.row["TinhTrang"] === _co.TinhTrang.DaCapPhep) && _co.isEditing && _co.loginService.isDoanhNghiep;

        _ck(_v, 4, 0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 9, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["formEl", 1]], null, 8, "form", [["enctype", "multipart/form-data"], ["novalidate", ""]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "submit"], [null, "reset"]], function (_v, en, $event) {
        var ad = true;

        if ("submit" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onSubmit($event) !== false;
          ad = pd_0 && ad;
        }

        if ("reset" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onReset() !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ɵangular_packages_forms_forms_y"], [], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 4210688, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgForm"], [[8, null], [8, null]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ControlContainer"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgForm"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControlStatusGroup"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ControlContainer"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "p", [["class", "file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, [[2, 0], ["inputFile", 1]], null, 0, "input", [["name", "attachment"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.attachmentFile($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 1, "label", [["for", "file"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Upload file"]))], null, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_ModalInfoComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "app-attachment", [], null, [[null, "delete"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("delete" === en) {
          var pd_0 = _co.confirmDelFile($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_attachment_attachment_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_AttachmentComponent_0"], _shared_components_attachment_attachment_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_AttachmentComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _shared_components_attachment_attachment_component__WEBPACK_IMPORTED_MODULE_5__["AttachmentComponent"], [], {
        attachments: [0, "attachments"]
      }, {
        "delete": "delete"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isDoanhNghiep;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _co.attachments;

        _ck(_v, 3, 0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_9(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-primary"], ["icon", "pencil-alt"], ["ngbAutofocus", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickEdit() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" S\u1EEDa "]))], function (_ck, _v) {
        var currVal_0 = "btn-primary";
        var currVal_1 = "pencil-alt";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_8(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_9)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = !_co.isEditing && _co.navIndex === _co.NavIndex.Info;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_ModalInfoComponent_10(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.modal.dismiss(_co.EventModal.CANCEL) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" \u0110\xF3ng "]))], function (_ck, _v) {
        var currVal_0 = "btn-danger";
        var currVal_1 = "times";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_11(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-success"], ["icon", "save"], ["ngbAutofocus", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickSave() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" L\u01B0u "]))], function (_ck, _v) {
        var currVal_0 = "btn-success";
        var currVal_1 = "save";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_12(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "app-button", [["btnClass", "btn-danger"], ["icon", "ban"], ["ngbAutofocus", ""]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleClickCancel() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_7__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, 0, [" H\u1EE7y "]))], function (_ck, _v) {
        var currVal_0 = "btn-danger";
        var currVal_1 = "ban";

        _ck(_v, 1, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_14(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-control"], ["style", "width: 100%"]], [[8, "type", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co._data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_8 = _co._data.row[_v.parent.context.field.prop];

        _ck(_v, 3, 0, currVal_8);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.field.type;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_ModalInfoComponent_16(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], [[8, "selected", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code === _v.parent.parent.context.value;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_ModalInfoComponent_15(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "select", [["class", "custom-select"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co._data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_16)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co._data.row[_v.parent.context.field.prop] ? _co._data.row[_v.parent.context.field.prop] : "";

        _ck(_v, 3, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 7, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 8, 0, currVal_9);

        var currVal_10 = _v.parent.context.field.options;

        _ck(_v, 11, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_ModalInfoComponent_17(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 9, "input", [["class", "form-control"], ["name", "dp"], ["ngbDatepicker", ""], ["placeholder", "dd/MM/yyyy"]], [[8, "disabled", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "click"], [null, "ngModelChange"], [null, "input"], [null, "change"], [null, "focus"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).manualDateChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("change" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).manualDateChange($event.target.value, true) !== false;
          ad = pd_1 && ad;
        }

        if ("focus" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onFocus() !== false;
          ad = pd_2 && ad;
        }

        if ("blur" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).onBlur() !== false;
          ad = pd_3 && ad;
        }

        if ("input" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._handleInput($event.target.value) !== false;
          ad = pd_4 && ad;
        }

        if ("blur" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onTouched() !== false;
          ad = pd_5 && ad;
        }

        if ("compositionstart" === en) {
          var pd_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._compositionStart() !== false;
          ad = pd_6 && ad;
        }

        if ("compositionend" === en) {
          var pd_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3)._compositionEnd($event.target.value) !== false;
          ad = pd_7 && ad;
        }

        if ("click" === en) {
          var pd_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).toggle() !== false;
          ad = pd_8 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_9 = (_co._data.row[_v.parent.context.field.prop] = $event.getTime()) !== false;
          ad = pd_9 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](6144, null, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbDatepickerConfig"], null, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbInputDatepickerConfig"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 671744, [["d", 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbInputDatepicker"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbDateParserFormatter"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbCalendar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbDateAdapter"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbInputDatepickerConfig"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALIDATORS"], function (p0_0) {
        return [p0_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbInputDatepicker"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"], function (p0_0, p1_0) {
        return [p0_0, p1_0];
      }, [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbInputDatepicker"], _angular_forms__WEBPACK_IMPORTED_MODULE_3__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"], [[8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALIDATORS"]], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"]]], {
        name: [0, "name"],
        model: [1, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](7, 2), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_8 = "dp";

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 6, 1, _ck(_v, 7, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 0), _co._data.row[_v.parent.context.field.prop], "yyyy-MM-dd"));

        _ck(_v, 6, 0, currVal_8, currVal_9);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 2).disabled;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_ModalInfoComponent_18(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["type", "checkbox"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.checked) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co._data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["CheckboxControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["CheckboxControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_3__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co._data.row[_v.parent.context.field.prop];

        _ck(_v, 3, 0, currVal_7);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_ModalInfoComponent_19(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-input-file", [], null, [[null, "formData"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("formData" === en) {
          var pd_0 = (_co._data.row[_v.parent.context.field.prop] = $event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_input_file_input_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__["View_InputFileComponent_0"], _shared_components_input_file_input_file_component_ngfactory__WEBPACK_IMPORTED_MODULE_9__["RenderType_InputFileComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_input_file_input_file_component__WEBPACK_IMPORTED_MODULE_10__["InputFileComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__["ToastService"]], {
        service: [0, "service"],
        objectId: [1, "objectId"]
      }, {
        formData: "formData"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.service;
        var currVal_1 = _co.objectId;

        _ck(_v, 2, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalInfoComponent_13(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, "div", [["class", "input-group input-group-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_14)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_15)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 2, "div", [["class", "input-group input-group-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_17)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_18)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_19)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var currVal_0 = _v.context.field.type === "text" || _v.context.field.type === "number";

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.field.type === "select";

        _ck(_v, 4, 0, currVal_1);

        var currVal_2 = _v.context.field.type === "date";

        _ck(_v, 7, 0, currVal_2);

        var currVal_3 = _v.context.field.type === "checkbox";

        _ck(_v, 9, 0, currVal_3);

        var currVal_4 = _v.context.field.type === "file";

        _ck(_v, 11, 0, currVal_4);
      }, null);
    }

    function View_ModalInfoComponent_20(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](0, null, [" ", "\n"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](1, 2)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.field.type === "select" ? _co.getNameDomain(_v.context.value, _v.context.field) : _v.context.field.type === "date" ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 0, 0, _ck(_v, 1, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent, 0), _v.context.value, "dd/MM/yyyy")) : _v.context.field.type === "checkbox" ? _co.getValueCheckbox(_v.context.value) : _v.context.value;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_ModalInfoComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        formEl: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        inputFile: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 35, "app-modal-template", [["title", "Th\xF4ng tin chi ti\u1EBFt"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_13__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, 1, 24, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 21, "ul", [["class", "nav-tabs justify-content-center"], ["ngbNav", ""]], [[2, "nav", null], [2, "flex-column", null], [1, "aria-orientation", 0], [1, "role", 0]], [[null, "navChange"], [null, "keydown.arrowLeft"], [null, "keydown.arrowRight"], [null, "keydown.arrowDown"], [null, "keydown.arrowUp"], [null, "keydown.Home"], [null, "keydown.End"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("keydown.arrowLeft" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("keydown.arrowRight" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).onKeyDown($event) !== false;
          ad = pd_1 && ad;
        }

        if ("keydown.arrowDown" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).onKeyDown($event) !== false;
          ad = pd_2 && ad;
        }

        if ("keydown.arrowUp" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).onKeyDown($event) !== false;
          ad = pd_3 && ad;
        }

        if ("keydown.Home" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).onKeyDown($event) !== false;
          ad = pd_4 && ad;
        }

        if ("keydown.End" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).onKeyDown($event) !== false;
          ad = pd_5 && ad;
        }

        if ("navChange" === en) {
          var pd_6 = _co.changeNav($event) !== false;
          ad = pd_6 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 1064960, [["nav", 4]], 2, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_common__WEBPACK_IMPORTED_MODULE_2__["DOCUMENT"]], {
        activeId: [0, "activeId"]
      }, {
        navChange: "navChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 3, {
        items: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 4, {
        links: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 8, "li", [], [[2, "nav-item", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 2179072, [[3, 4]], 1, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], {
        _id: [0, "_id"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 5, {
        contentTpls: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 3, "a", [["href", ""], ["ngbNavLink", ""]], [[8, "id", 0], [2, "nav-link", null], [2, "nav-item", null], [1, "role", 0], [2, "active", null], [2, "disabled", null], [1, "tabindex", 0], [1, "aria-controls", 0], [1, "aria-selected", 0], [1, "aria-disabled", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).nav.click(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem);

          var pd_0 = $event.preventDefault() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 16384, [[4, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavLink"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, null, null, 1, "b", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Th\xF4ng tin"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 1, null, View_ModalInfoComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](18, 16384, [[5, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavContent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](19, 0, null, null, 8, "li", [], [[2, "nav-item", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](20, 2179072, [[3, 4]], 1, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], {
        _id: [0, "_id"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 6, {
        contentTpls: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, null, 3, "a", [["href", ""], ["ngbNavLink", ""]], [[8, "id", 0], [2, "nav-link", null], [2, "nav-item", null], [1, "role", 0], [2, "active", null], [2, "disabled", null], [1, "tabindex", 0], [1, "aria-controls", 0], [1, "aria-selected", 0], [1, "aria-disabled", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).nav.click(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem);

          var pd_0 = $event.preventDefault() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 16384, [[4, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavLink"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, null, 1, "b", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1ED3 s\u01A1 \u0111\xEDnh k\xE8m"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 1, null, View_ModalInfoComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](27, 16384, [[6, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavContent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](28, 0, null, null, 1, "div", [["class", "mt-2"]], [[2, "tab-content", null]], null, null, _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_14__["View_NgbNavOutlet_0"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_14__["RenderType_NgbNavOutlet"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](29, 49152, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbNavOutlet"], [], {
        nav: [0, "nav"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](30, 0, null, 2, 8, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_8)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](32, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_10)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](34, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_11)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](36, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalInfoComponent_12)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](38, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["editing", 2]], null, 0, null, View_ModalInfoComponent_13)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, [["noneEdit", 2]], null, 0, null, View_ModalInfoComponent_20))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Th\xF4ng tin chi ti\u1EBFt";

        _ck(_v, 4, 0, currVal_0);

        var currVal_5 = _co.navIndex;

        _ck(_v, 7, 0, currVal_5);

        var currVal_7 = _co.NavIndex.Info;

        _ck(_v, 11, 0, currVal_7);

        var currVal_19 = _co.NavIndex.Attachment;

        _ck(_v, 20, 0, currVal_19);

        var currVal_31 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7);

        _ck(_v, 29, 0, currVal_31);

        var currVal_32 = _co.isHidden;

        _ck(_v, 32, 0, currVal_32);

        var currVal_33 = !_co.isEditing;

        _ck(_v, 34, 0, currVal_33);

        var currVal_34 = _co.isEditing && _co.navIndex === _co.NavIndex.Info;

        _ck(_v, 36, 0, currVal_34);

        var currVal_35 = _co.isEditing && _co.navIndex === _co.NavIndex.Info;

        _ck(_v, 38, 0, currVal_35);
      }, function (_ck, _v) {
        var currVal_1 = true;
        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).orientation === "vertical";
        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).orientation === "vertical" && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).roles === "tablist" ? "vertical" : undefined;
        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).roles ? "tablist" : undefined;

        _ck(_v, 6, 0, currVal_1, currVal_2, currVal_3, currVal_4);

        var currVal_6 = true;

        _ck(_v, 10, 0, currVal_6);

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.domId;

        var currVal_9 = true;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).hasNavItemClass();

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).nav.roles ? "tab" : undefined;

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.active;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.disabled;

        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.disabled ? 0 - 1 : undefined;
        var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.isPanelInDom() ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.panelDomId : null;

        var currVal_16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.active;

        var currVal_17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).navItem.disabled;

        _ck(_v, 13, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17);

        var currVal_18 = true;

        _ck(_v, 19, 0, currVal_18);

        var currVal_20 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.domId;

        var currVal_21 = true;

        var currVal_22 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).hasNavItemClass();

        var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).nav.roles ? "tab" : undefined;

        var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.active;

        var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.disabled;

        var currVal_26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.disabled ? 0 - 1 : undefined;
        var currVal_27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.isPanelInDom() ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.panelDomId : null;

        var currVal_28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.active;

        var currVal_29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 23).navItem.disabled;

        _ck(_v, 22, 0, currVal_20, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29);

        var currVal_30 = true;

        _ck(_v, 28, 0, currVal_30);
      });
    }

    function View_ModalInfoComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-info", [], null, null, null, View_ModalInfoComponent_0, RenderType_ModalInfoComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 638976, null, 0, _modal_info_component__WEBPACK_IMPORTED_MODULE_15__["ModalInfoComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbActiveModal"], _shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_16__["BtsAttachmentService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_11__["ToastService"], _shared_services_api_service__WEBPACK_IMPORTED_MODULE_17__["ApiService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_18__["LoginService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_8__["NgbModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalInfoComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-info", _modal_info_component__WEBPACK_IMPORTED_MODULE_15__["ModalInfoComponent"], View_ModalInfoComponent_Host_0, {
      _data: "_data"
    }, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/modal-info/modal-info.component.scss.shim.ngstyle.js":
  /*!***************************************************************************************!*\
    !*** ./src/app/manager/tram-bts/modal-info/modal-info.component.scss.shim.ngstyle.js ***!
    \***************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTramBtsModalInfoModalInfoComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".file[_ngcontent-%COMP%] {\n  position: relative;\n}\n\n.file[_ngcontent-%COMP%]   label[_ngcontent-%COMP%] {\n  background: #39D2B4;\n  padding: 5px 20px;\n  color: #fff;\n  font-weight: bold;\n  font-size: 0.9em;\n  transition: all 0.4s;\n}\n\n.file[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  position: absolute;\n  display: inline-block;\n  left: 0;\n  top: 0;\n  opacity: 0.01;\n  cursor: pointer;\n}\n\n.file[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:hover    + label[_ngcontent-%COMP%], .file[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus    + label[_ngcontent-%COMP%] {\n  background: #34495E;\n  color: #39D2B4;\n}\n\n\n\nh1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%] {\n  font-weight: normal;\n  text-align: center;\n  color: #aaa;\n}\n\nh2[_ngcontent-%COMP%] {\n  margin: 5px 0 2em;\n  color: #1ABC9C;\n}\n\nform[_ngcontent-%COMP%] {\n  width: 225px;\n  margin: 0 auto;\n  text-align: center;\n}\n\nh2[_ngcontent-%COMP%]    + P[_ngcontent-%COMP%] {\n  text-align: center;\n}\n\n.txtcenter[_ngcontent-%COMP%] {\n  margin-top: 4em;\n  font-size: 0.9em;\n  text-align: center;\n  color: #aaa;\n}\n\n.copy[_ngcontent-%COMP%] {\n  margin-top: 2em;\n}\n\n.copy[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n  color: #1ABC9C;\n}\n\n.file[_ngcontent-%COMP%] {\n  padding: 3px 14px;\n  position: relative;\n}\n\n.file[_ngcontent-%COMP%]:hover {\n  background-color: aliceblue;\n}\n\n.file[_ngcontent-%COMP%]:hover   .btn-del[_ngcontent-%COMP%] {\n  display: block;\n}\n\n.file[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n  font-size: 21px;\n  color: red;\n}\n\n.file[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n}\n\n.file[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%] {\n  white-space: normal;\n  font-size: 14px;\n  width: inherit;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.file[_ngcontent-%COMP%]   .btn-del[_ngcontent-%COMP%] {\n  position: absolute;\n  top: calc(50% - 9px);\n  right: 15px;\n  font-weight: 600;\n  height: 14px;\n  line-height: 14px;\n  color: red;\n  font-size: 18px;\n  text-align: center;\n  text-decoration: none;\n  border-radius: 50%;\n  display: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci90cmFtLWJ0cy9tb2RhbC1pbmZvL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYW5hZ2VyXFx0cmFtLWJ0c1xcbW9kYWwtaW5mb1xcbW9kYWwtaW5mby5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci90cmFtLWJ0cy9tb2RhbC1pbmZvL21vZGFsLWluZm8uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxrQkFBQTtBQ0NGOztBREVBO0VBQ0UsbUJBQUE7RUFDQSxpQkFBQTtFQUNBLFdBQUE7RUFDQSxpQkFBQTtFQUNBLGdCQUFBO0VBQ0Esb0JBQUE7QUNDRjs7QURFQTtFQUNFLGtCQUFBO0VBQ0EscUJBQUE7RUFDQSxPQUFBO0VBQ0EsTUFBQTtFQUNBLGFBQUE7RUFDQSxlQUFBO0FDQ0Y7O0FERUE7O0VBRUUsbUJBQUE7RUFDQSxjQUFBO0FDQ0Y7O0FERUEseUNBQUE7O0FBRUE7O0VBR0UsbUJBQUE7RUFDQSxrQkFBQTtFQUNBLFdBQUE7QUNERjs7QURJQTtFQUNFLGlCQUFBO0VBQ0EsY0FBQTtBQ0RGOztBRElBO0VBQ0UsWUFBQTtFQUNBLGNBQUE7RUFDQSxrQkFBQTtBQ0RGOztBRElBO0VBQ0Usa0JBQUE7QUNERjs7QURJQTtFQUNFLGVBQUE7RUFDQSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsV0FBQTtBQ0RGOztBRElBO0VBQ0UsZUFBQTtBQ0RGOztBRElBO0VBQ0UscUJBQUE7RUFDQSxjQUFBO0FDREY7O0FESUE7RUFDRSxpQkFBQTtFQUNBLGtCQUFBO0FDREY7O0FER0U7RUFDRSwyQkFBQTtBQ0RKOztBREdJO0VBQ0UsY0FBQTtBQ0ROOztBREtFO0VBQ0UsZUFBQTtFQUNBLFVBQUE7QUNISjs7QURNRTtFQUNFLHFCQUFBO0FDSko7O0FET0U7RUFDRSxtQkFBQTtFQUNBLGVBQUE7RUFDQSxjQUFBO0VBQ0EsbUJBQUE7RUFDQSxnQkFBQTtFQUNBLHVCQUFBO0FDTEo7O0FEUUU7RUFDRSxrQkFBQTtFQUNBLG9CQUFBO0VBQ0EsV0FBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtFQUNBLGlCQUFBO0VBQ0EsVUFBQTtFQUNBLGVBQUE7RUFDQSxrQkFBQTtFQUNBLHFCQUFBO0VBQ0Esa0JBQUE7RUFDQSxhQUFBO0FDTkoiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3RyYW0tYnRzL21vZGFsLWluZm8vbW9kYWwtaW5mby5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5maWxlIHtcclxuICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbn1cclxuXHJcbi5maWxlIGxhYmVsIHtcclxuICBiYWNrZ3JvdW5kOiAjMzlEMkI0O1xyXG4gIHBhZGRpbmc6IDVweCAyMHB4O1xyXG4gIGNvbG9yOiAjZmZmO1xyXG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xyXG4gIGZvbnQtc2l6ZTogLjllbTtcclxuICB0cmFuc2l0aW9uOiBhbGwgLjRzO1xyXG59XHJcblxyXG4uZmlsZSBpbnB1dCB7XHJcbiAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICBsZWZ0OiAwO1xyXG4gIHRvcDogMDtcclxuICBvcGFjaXR5OiAwLjAxO1xyXG4gIGN1cnNvcjogcG9pbnRlcjtcclxufVxyXG5cclxuLmZpbGUgaW5wdXQ6aG92ZXIrbGFiZWwsXHJcbi5maWxlIGlucHV0OmZvY3VzK2xhYmVsIHtcclxuICBiYWNrZ3JvdW5kOiAjMzQ0OTVFO1xyXG4gIGNvbG9yOiAjMzlEMkI0O1xyXG59XHJcblxyXG4vKiBVc2VsZXNzIHN0eWxlcywganVzdCBmb3IgZGVtbyBzdHlsZXMgKi9cclxuXHJcbmgxLFxyXG5oMiB7XHJcblxyXG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gIGNvbG9yOiAjYWFhO1xyXG59XHJcblxyXG5oMiB7XHJcbiAgbWFyZ2luOiA1cHggMCAyZW07XHJcbiAgY29sb3I6ICMxQUJDOUM7XHJcbn1cclxuXHJcbmZvcm0ge1xyXG4gIHdpZHRoOiAyMjVweDtcclxuICBtYXJnaW46IDAgYXV0bztcclxuICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbn1cclxuXHJcbmgyK1Age1xyXG4gIHRleHQtYWxpZ246IGNlbnRlcjtcclxufVxyXG5cclxuLnR4dGNlbnRlciB7XHJcbiAgbWFyZ2luLXRvcDogNGVtO1xyXG4gIGZvbnQtc2l6ZTogLjllbTtcclxuICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgY29sb3I6ICNhYWE7XHJcbn1cclxuXHJcbi5jb3B5IHtcclxuICBtYXJnaW4tdG9wOiAyZW07XHJcbn1cclxuXHJcbi5jb3B5IGEge1xyXG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuICBjb2xvcjogIzFBQkM5QztcclxufVxyXG5cclxuLmZpbGUge1xyXG4gIHBhZGRpbmc6IDNweCAxNHB4O1xyXG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgJjpob3ZlciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiBhbGljZWJsdWU7XHJcblxyXG4gICAgLmJ0bi1kZWwge1xyXG4gICAgICBkaXNwbGF5OiBibG9jaztcclxuICAgIH1cclxuICB9XHJcblxyXG4gIGkge1xyXG4gICAgZm9udC1zaXplOiAyMXB4O1xyXG4gICAgY29sb3I6IHJlZDtcclxuICB9XHJcblxyXG4gIGEge1xyXG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG4gIH1cclxuXHJcbiAgLmZpbGUtbmFtZSB7XHJcbiAgICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgd2lkdGg6IGluaGVyaXQ7XHJcbiAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xyXG4gIH1cclxuXHJcbiAgLmJ0bi1kZWwge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiBjYWxjKDUwJSAtIDlweCk7XHJcbiAgICByaWdodDogMTVweDtcclxuICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICBoZWlnaHQ6IDE0cHg7XHJcbiAgICBsaW5lLWhlaWdodDogMTRweDtcclxuICAgIGNvbG9yOiByZWQ7XHJcbiAgICBmb250LXNpemU6IDE4cHg7XHJcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgICBkaXNwbGF5OiBub25lO1xyXG4gIH1cclxufSIsIi5maWxlIHtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuXG4uZmlsZSBsYWJlbCB7XG4gIGJhY2tncm91bmQ6ICMzOUQyQjQ7XG4gIHBhZGRpbmc6IDVweCAyMHB4O1xuICBjb2xvcjogI2ZmZjtcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gIGZvbnQtc2l6ZTogMC45ZW07XG4gIHRyYW5zaXRpb246IGFsbCAwLjRzO1xufVxuXG4uZmlsZSBpbnB1dCB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBsZWZ0OiAwO1xuICB0b3A6IDA7XG4gIG9wYWNpdHk6IDAuMDE7XG4gIGN1cnNvcjogcG9pbnRlcjtcbn1cblxuLmZpbGUgaW5wdXQ6aG92ZXIgKyBsYWJlbCxcbi5maWxlIGlucHV0OmZvY3VzICsgbGFiZWwge1xuICBiYWNrZ3JvdW5kOiAjMzQ0OTVFO1xuICBjb2xvcjogIzM5RDJCNDtcbn1cblxuLyogVXNlbGVzcyBzdHlsZXMsIGp1c3QgZm9yIGRlbW8gc3R5bGVzICovXG5oMSxcbmgyIHtcbiAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBjb2xvcjogI2FhYTtcbn1cblxuaDIge1xuICBtYXJnaW46IDVweCAwIDJlbTtcbiAgY29sb3I6ICMxQUJDOUM7XG59XG5cbmZvcm0ge1xuICB3aWR0aDogMjI1cHg7XG4gIG1hcmdpbjogMCBhdXRvO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG59XG5cbmgyICsgUCB7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cblxuLnR4dGNlbnRlciB7XG4gIG1hcmdpbi10b3A6IDRlbTtcbiAgZm9udC1zaXplOiAwLjllbTtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBjb2xvcjogI2FhYTtcbn1cblxuLmNvcHkge1xuICBtYXJnaW4tdG9wOiAyZW07XG59XG5cbi5jb3B5IGEge1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGNvbG9yOiAjMUFCQzlDO1xufVxuXG4uZmlsZSB7XG4gIHBhZGRpbmc6IDNweCAxNHB4O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG59XG4uZmlsZTpob3ZlciB7XG4gIGJhY2tncm91bmQtY29sb3I6IGFsaWNlYmx1ZTtcbn1cbi5maWxlOmhvdmVyIC5idG4tZGVsIHtcbiAgZGlzcGxheTogYmxvY2s7XG59XG4uZmlsZSBpIHtcbiAgZm9udC1zaXplOiAyMXB4O1xuICBjb2xvcjogcmVkO1xufVxuLmZpbGUgYSB7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbn1cbi5maWxlIC5maWxlLW5hbWUge1xuICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xuICBmb250LXNpemU6IDE0cHg7XG4gIHdpZHRoOiBpbmhlcml0O1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbn1cbi5maWxlIC5idG4tZGVsIHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IGNhbGMoNTAlIC0gOXB4KTtcbiAgcmlnaHQ6IDE1cHg7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIGhlaWdodDogMTRweDtcbiAgbGluZS1oZWlnaHQ6IDE0cHg7XG4gIGNvbG9yOiByZWQ7XG4gIGZvbnQtc2l6ZTogMThweDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XG4gIGJvcmRlci1yYWRpdXM6IDUwJTtcbiAgZGlzcGxheTogbm9uZTtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/tram-bts/modal-info/modal-info.component.ts":
  /*!*********************************************************************!*\
    !*** ./src/app/manager/tram-bts/modal-info/modal-info.component.ts ***!
    \*********************************************************************/

  /*! exports provided: ModalInfoComponent */

  /***/
  function srcAppManagerTramBtsModalInfoModalInfoComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalInfoComponent", function () {
      return ModalInfoComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! src/app/shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! src/app/shared/models/data.model */
    "./src/app/shared/models/data.model.ts");
    /* harmony import */


    var esri_layers_support_AttachmentInfo__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/layers/support/AttachmentInfo */
    "./node_modules/arcgis-js-api/layers/support/AttachmentInfo.js");
    /* harmony import */


    var esri_layers_support_AttachmentInfo__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_layers_support_AttachmentInfo__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var src_app_shared_components_attachment_attachment_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! src/app/shared/components/attachment/attachment.component */
    "./src/app/shared/components/attachment/attachment.component.ts");
    /* harmony import */


    var src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! src/app/shared/models/menu.model */
    "./src/app/shared/models/menu.model.ts");
    /* harmony import */


    var src_environments_environment__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! src/environments/environment */
    "./src/environments/environment.ts");
    /* harmony import */


    var src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! src/app/shared/components/modal-confirm/modal-confirm.component */
    "./src/app/shared/components/modal-confirm/modal-confirm.component.ts");

    var NavIndex;

    (function (NavIndex) {
      NavIndex[NavIndex["Info"] = 0] = "Info";
      NavIndex[NavIndex["Attachment"] = 1] = "Attachment";
      NavIndex[NavIndex["HoanCong"] = 2] = "HoanCong";
    })(NavIndex || (NavIndex = {}));

    var ModalInfoComponent = /*#__PURE__*/function () {
      function ModalInfoComponent(modal, service, toastService, apiService, loginService, modalService) {
        _classCallCheck(this, ModalInfoComponent);

        this.modal = modal;
        this.service = service;
        this.toastService = toastService;
        this.apiService = apiService;
        this.loginService = loginService;
        this.modalService = modalService;
        this.EventModal = src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_2__["EventModal"];
        this.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.isEditing = false;
        this.navIndex = NavIndex.Info;
        this.NavIndex = NavIndex;
        this.attachments = [];
        this.TinhTrang = src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_3__["ETinhTrang"];
        this.isHoanCong = false;
        this.Flag = src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_6__["FlagMenu"];
        this.arrayFiles = [];
        this.isHidden = true;
        this.isDoanhNghiep = loginService.isDoanhNghiep;
      }

      _createClass(ModalInfoComponent, [{
        key: "data",
        set: function set(value) {
          if (value.row && value.row.OBJECTID) {
            this.objectId = value.row.OBJECTID;
          }

          this._data = value;
        }
      }, {
        key: "ngOnChanges",
        value: function ngOnChanges(change) {}
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this202 = this;

          this.row = Object.assign({}, this._data.row);

          if (this.loginService.isQuanHuyen && (this._data.flag === this.Flag.TuyenCapNoi || this._data.flag === this.Flag.TuyenCapNgam || this._data.flag === this.Flag.TramBTS)) {
            this.isHidden = false;
          }

          if (this.loginService.isQuanHuyen) {
            if (this._data.flag === this.Flag.DiemDichVu) {
              if (this._data.row.LoaiDichVu !== 3) {
                this.isHidden = false;
              }
            }
          }

          this.apiService.get("odata/HoSo_TramBTS?$filter=TramBTS_ID eq ".concat(this.row.OBJECTID), true).then(function (res) {
            if (res.length) {
              _this202.idHoSo = res[0].HoSo_ID;
            }
          });
        }
      }, {
        key: "getNameDomain",
        value: function getNameDomain(value, column) {
          var val = column.options.find(function (m) {
            return m.code === value;
          });
          return val && val.name || "";
        }
      }, {
        key: "changeNav",
        value: function changeNav(event) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee22() {
            return _regeneratorRuntime().wrap(function _callee22$(_context25) {
              while (1) switch (_context25.prev = _context25.next) {
                case 0:
                  if (event.nextId === NavIndex.Attachment) {
                    this.attachments = [];
                    this.loadAttachment();
                    this.getFileAttachment();
                  }

                case 1:
                case "end":
                  return _context25.stop();
              }
            }, _callee22, this);
          }));
        }
      }, {
        key: "attachmentFile",
        value: function attachmentFile(event) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee23() {
            var _this203 = this;

            var formData;
            return _regeneratorRuntime().wrap(function _callee23$(_context26) {
              while (1) switch (_context26.prev = _context26.next) {
                case 0:
                  formData = new FormData();
                  formData.append('attachment', event.target.files[0]);
                  formData.append('f', 'json');

                  if (!event.target.value) {
                    _context26.next = 7;
                    break;
                  }

                  _context26.next = 6;
                  return this.service.addAttachment(this.objectId, formData).then(function (res) {
                    _this203.loadAttachment();

                    console.log(res);
                  });

                case 6:
                  this.toastService.success('upload success!');

                case 7:
                case "end":
                  return _context26.stop();
              }
            }, _callee23, this);
          }));
        }
      }, {
        key: "getFileAttachment",
        value: function getFileAttachment() {
          var _this204 = this;

          if (this.idHoSo) {
            this.apiService.get("QuanLyVanBan/DanhSach?id_ho_so=".concat(this.idHoSo)).then(function (attachments) {
              var attachmentsParse = attachments;

              if (attachmentsParse) {
                var _iterator149 = _createForOfIteratorHelper(attachmentsParse),
                    _step149;

                try {
                  for (_iterator149.s(); !(_step149 = _iterator149.n()).done;) {
                    var attachment = _step149.value;
                    var att = new esri_layers_support_AttachmentInfo__WEBPACK_IMPORTED_MODULE_4___default.a();

                    if (attachment.LinkFile) {
                      var extend = attachment.LinkFile.split('.')[1];

                      if (extend === 'pdf') {
                        att.contentType = src_app_shared_components_attachment_attachment_component__WEBPACK_IMPORTED_MODULE_5__["ContentType"].Pdf;
                      }
                    }

                    att.name = attachment.Subject;
                    att.id = attachment.ID;
                    att.url = src_environments_environment__WEBPACK_IMPORTED_MODULE_7__["environment"].apiUrl + '/' + attachment.LinkFile;

                    _this204.attachments.push(att);
                  }
                } catch (err) {
                  _iterator149.e(err);
                } finally {
                  _iterator149.f();
                }
              }
            });
          }
        }
      }, {
        key: "loadAttachment",
        value: function loadAttachment() {
          var _this205 = this;

          if (this.objectId) {
            this.service.queryAttachments({
              objectIds: [this.objectId]
            }).then(function (res) {
              var _this205$attachments;

              return (_this205$attachments = _this205.attachments).push.apply(_this205$attachments, _toConsumableArray(res[0].attachments));
            });
          }
        }
      }, {
        key: "confirmDelFile",
        value: function confirmDelFile(id) {
          var _this206 = this;

          if (this.isDoanhNghiep) {
            this.modalService.open(src_app_shared_components_modal_confirm_modal_confirm_component__WEBPACK_IMPORTED_MODULE_8__["ModalConfirmComponent"], {
              centered: true
            }).result.then(function (result) {
              if (result === src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_2__["EventModal"].OK) {
                _this206.deleteAttachment(id);
              }
            });
          } else {
            this.toastService.danger('Chỉ doanh nghiệp mới được phép xóa file này!', 'Thông Báo:');
          }
        }
      }, {
        key: "deleteAttachment",
        value: function deleteAttachment(id) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee24() {
            var _this207 = this;

            return _regeneratorRuntime().wrap(function _callee24$(_context27) {
              while (1) switch (_context27.prev = _context27.next) {
                case 0:
                  _context27.next = 2;
                  return this.service.deleteAttachments(this.objectId, id).then(function (result) {
                    if (result[0].success) {
                      _this207.toastService.success('Xóa file thành công!');

                      _this207.attachments = [];

                      _this207.loadAttachment();

                      _this207.getFileAttachment();
                    } else {
                      _this207.toastService.danger('Xóa thất bại, vì file đính kèm thuộc hồ sơ!');
                    }
                  });

                case 2:
                case "end":
                  return _context27.stop();
              }
            }, _callee24, this);
          }));
        }
      }, {
        key: "handleClickEdit",
        value: function handleClickEdit() {
          this.isEditing = true;
        }
      }, {
        key: "handleClickCancel",
        value: function handleClickCancel() {
          this._data.row = Object.assign({}, this.row);
          this.isHoanCong = false;
          this.isEditing = false;
        }
      }, {
        key: "handleClickSave",
        value: function handleClickSave() {
          if (this.isHoanCong) {
            if (this.checkValid()) {
              this.passBack();
              this.modal.close(this._data.row);
            }
          } else {
            this.passBack();
            this.modal.close(this._data.row);
          }
        }
      }, {
        key: "handleClickClose",
        value: function handleClickClose() {
          this.modal.dismiss(src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_2__["EventModal"].CANCEL);
        }
      }, {
        key: "passBack",
        value: function passBack() {
          this.modal.dismiss(src_app_shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_2__["EventModal"].OK);
          this.passEntry.emit(this._data.row);
        }
      }, {
        key: "checkValid",
        value: function checkValid() {
          if (!this._data.row.GiayKiemDinhCongTrinh) {
            this.toastService.warning('Thiếu giấy kiểm định công trình. Không thể hoàn công!', 'Thông Báo:');
            return false;
          }

          if (!this._data.row.TepDinhKemHSKD) {
            this.toastService.warning('Thiếu tệp đính kèm HSKĐ. Không thể hoàn công!', 'Thông Báo:');
            return false;
          }

          if (!this._data.row.NgayCap) {
            this.toastService.warning('Thiếu ngày cấp giấy KDCT. Không thể hoàn công!', 'Thông Báo:');
            return false;
          }

          if (!this._data.row.SoCongVanHSKD) {
            this.toastService.warning('Thiếu số công văn. Không thể hoàn công!', 'Thông Báo:');
            return false;
          }

          return true;
        }
      }, {
        key: "getValueCheckbox",
        value: function getValueCheckbox(value) {
          if (value === 1) {
            return 'Có';
          } else return 'Không';
        }
      }, {
        key: "downloadFilePDF",
        value: function downloadFilePDF(url) {
          return src_environments_environment__WEBPACK_IMPORTED_MODULE_7__["environment"].apiUrl + url;
        }
      }]);

      return ModalInfoComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/tram-bts-routing.module.ts":
  /*!*************************************************************!*\
    !*** ./src/app/manager/tram-bts/tram-bts-routing.module.ts ***!
    \*************************************************************/

  /*! exports provided: TramBtsRoutingModule */

  /***/
  function srcAppManagerTramBtsTramBtsRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBtsRoutingModule", function () {
      return TramBtsRoutingModule;
    });
    /* harmony import */


    var _tram_bts_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tram-bts.component */
    "./src/app/manager/tram-bts/tram-bts.component.ts");
    /* harmony import */


    var _list_list_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./list/list.component */
    "./src/app/manager/tram-bts/list/list.component.ts");
    /* harmony import */


    var _add_add_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./add/add.component */
    "./src/app/manager/tram-bts/add/add.component.ts");

    var routes = [{
      path: '',
      component: _tram_bts_component__WEBPACK_IMPORTED_MODULE_0__["TramBtsComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'list'
      }, {
        path: 'list',
        component: _list_list_component__WEBPACK_IMPORTED_MODULE_1__["ListComponent"]
      }, {
        path: 'add',
        component: _add_add_component__WEBPACK_IMPORTED_MODULE_2__["AddComponent"]
      }]
    }];

    var TramBtsRoutingModule = /*#__PURE__*/_createClass(function TramBtsRoutingModule() {
      _classCallCheck(this, TramBtsRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/tram-bts.component.ngfactory.js":
  /*!******************************************************************!*\
    !*** ./src/app/manager/tram-bts/tram-bts.component.ngfactory.js ***!
    \******************************************************************/

  /*! exports provided: RenderType_TramBtsComponent, View_TramBtsComponent_0, View_TramBtsComponent_Host_0, TramBtsComponentNgFactory */

  /***/
  function srcAppManagerTramBtsTramBtsComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TramBtsComponent", function () {
      return RenderType_TramBtsComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TramBtsComponent_0", function () {
      return View_TramBtsComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TramBtsComponent_Host_0", function () {
      return View_TramBtsComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBtsComponentNgFactory", function () {
      return TramBtsComponentNgFactory;
    });
    /* harmony import */


    var _tram_bts_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tram-bts.component.scss.shim.ngstyle */
    "./src/app/manager/tram-bts/tram-bts.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _tram_bts_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./tram-bts.component */
    "./src/app/manager/tram-bts/tram-bts.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_TramBtsComponent = [_tram_bts_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_TramBtsComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_TramBtsComponent,
      data: {}
    });

    function View_TramBtsComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 1, "router-outlet", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 212992, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterOutlet"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["ChildrenOutletContexts"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], [8, null], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_TramBtsComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-tram-bts", [], null, null, null, View_TramBtsComponent_0, RenderType_TramBtsComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _tram_bts_component__WEBPACK_IMPORTED_MODULE_3__["TramBtsComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var TramBtsComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-tram-bts", _tram_bts_component__WEBPACK_IMPORTED_MODULE_3__["TramBtsComponent"], View_TramBtsComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/tram-bts.component.scss.shim.ngstyle.js":
  /*!**************************************************************************!*\
    !*** ./src/app/manager/tram-bts/tram-bts.component.scss.shim.ngstyle.js ***!
    \**************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTramBtsTramBtsComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvdHJhbS1idHMvdHJhbS1idHMuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/tram-bts/tram-bts.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/manager/tram-bts/tram-bts.component.ts ***!
    \********************************************************/

  /*! exports provided: TramBtsComponent */

  /***/
  function srcAppManagerTramBtsTramBtsComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBtsComponent", function () {
      return TramBtsComponent;
    });

    var TramBtsComponent = /*#__PURE__*/function () {
      function TramBtsComponent() {
        _classCallCheck(this, TramBtsComponent);
      }

      _createClass(TramBtsComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return TramBtsComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tram-bts/tram-bts.module.ts":
  /*!*****************************************************!*\
    !*** ./src/app/manager/tram-bts/tram-bts.module.ts ***!
    \*****************************************************/

  /*! exports provided: TramBtsModule */

  /***/
  function srcAppManagerTramBtsTramBtsModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBtsModule", function () {
      return TramBtsModule;
    });

    var TramBtsModule = /*#__PURE__*/_createClass(function TramBtsModule() {
      _classCallCheck(this, TramBtsModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/add/add.component.ngfactory.js":
  /*!***********************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/add/add.component.ngfactory.js ***!
    \***********************************************************************/

  /*! exports provided: RenderType_AddComponent, View_AddComponent_0, View_AddComponent_Host_0, AddComponentNgFactory */

  /***/
  function srcAppManagerTuyenCapNgamAddAddComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AddComponent", function () {
      return RenderType_AddComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_0", function () {
      return View_AddComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_Host_0", function () {
      return View_AddComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponentNgFactory", function () {
      return AddComponentNgFactory;
    });
    /* harmony import */


    var _add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./add.component.scss.shim.ngstyle */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component.ngfactory */
    "./src/app/shared/components/loading/loading.component.ngfactory.js");
    /* harmony import */


    var _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component */
    "./src/app/shared/components/loading/loading.component.ts");
    /* harmony import */


    var _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/card/card.component.ngfactory */
    "./src/app/manager/shared/components/card/card.component.ngfactory.js");
    /* harmony import */


    var _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/components/card/card.component */
    "./src/app/manager/shared/components/card/card.component.ts");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _add_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./add.component */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_AddComponent = [_add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_AddComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_AddComponent,
      data: {}
    });

    function View_AddComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 15, "div", [["class", "container-fluid"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "app-loading", [], null, null, null, _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_LoadingComponent_0"], _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_LoadingComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_3__["LoadingComponent"], [], {
        loading: [0, "loading"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 12, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 4, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 3, "app-card", [], null, null, null, _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_CardComponent_0"], _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_CardComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, null, 0, _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_5__["CardComponent"], [], {
        header: [0, "header"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 1, 1, "app-form", [], null, [[null, "onSubmit"], [null, "changeDoanhNghiep"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onSubmit" === en) {
          var pd_0 = _co.handleClickAdd($event) !== false;
          ad = pd_0 && ad;
        }

        if ("changeDoanhNghiep" === en) {
          var pd_1 = _co.changeDoanhNghiep($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_7__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit",
        changeDoanhNghiep: "changeDoanhNghiep"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 6, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 5, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_1 = _co.closeSideNav($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_13__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, [["toolbarDiv", 1]], null, 2, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-polyline"], ["id", "distance"], ["title", "Distance Measurement Tool"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreateLine() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "Clear Measurements"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).clearGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loading;

        _ck(_v, 4, 0, currVal_0);

        var currVal_1 = _co.headerCard;

        _ck(_v, 8, 0, currVal_1);

        var currVal_2 = _co.fields;
        var currVal_3 = _co.service;

        _ck(_v, 10, 0, currVal_2, currVal_3);

        _ck(_v, 14, 0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_4 = _co._active;

        _ck(_v, 16, 0, currVal_4);
      });
    }

    function View_AddComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-add", [], null, null, null, View_AddComponent_0, RenderType_AddComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _add_component__WEBPACK_IMPORTED_MODULE_14__["AddComponent"], [_shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_15__["TuyenCapNgamService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_16__["LayerService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var AddComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-add", _add_component__WEBPACK_IMPORTED_MODULE_14__["AddComponent"], View_AddComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/add/add.component.scss.shim.ngstyle.js":
  /*!*******************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/add/add.component.scss.shim.ngstyle.js ***!
    \*******************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTuyenCapNgamAddAddComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".container-fluid[_ngcontent-%COMP%] {\n  height: 90vh;\n  padding: 0;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci90dXllbi1jYXAtbmdhbS9hZGQvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hbmFnZXJcXHR1eWVuLWNhcC1uZ2FtXFxhZGRcXGFkZC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFuYWdlci90dXllbi1jYXAtbmdhbS9hZGQvYWRkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsWUFBQTtFQUNBLFVBQUE7QUNDRjtBRENFO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0NKO0FEQ0k7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDQ04iLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3R1eWVuLWNhcC1uZ2FtL2FkZC9hZGQuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuY29udGFpbmVyLWZsdWlkIHtcclxuICBoZWlnaHQ6IDkwdmg7XHJcbiAgcGFkZGluZzogMDtcclxuXHJcbiAgLm1hcCB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuXHJcbiAgICAjdG9vbGJhckRpdiB7XHJcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgdG9wOiAxNXB4O1xyXG4gICAgICByaWdodDogMTVweDtcclxuICAgICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICBmbGV4LWRpcmVjdGlvbjogcm93O1xyXG4gICAgICBmbGV4LXdyYXA6IG5vd3JhcDtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIiwiLmNvbnRhaW5lci1mbHVpZCB7XG4gIGhlaWdodDogOTB2aDtcbiAgcGFkZGluZzogMDtcbn1cbi5jb250YWluZXItZmx1aWQgLm1hcCB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn1cbi5jb250YWluZXItZmx1aWQgLm1hcCAjdG9vbGJhckRpdiB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNXB4O1xuICByaWdodDogMTVweDtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBmbGV4LXdyYXA6IG5vd3JhcDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/add/add.component.ts":
  /*!*************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/add/add.component.ts ***!
    \*************************************************************/

  /*! exports provided: AddComponent */

  /***/
  function srcAppManagerTuyenCapNgamAddAddComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponent", function () {
      return AddComponent;
    });
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_1__);
    /* harmony import */


    var esri_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! esri/geometry */
    "./node_modules/arcgis-js-api/geometry.js");
    /* harmony import */


    var esri_geometry__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(esri_geometry__WEBPACK_IMPORTED_MODULE_2__);
    /* harmony import */


    var esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/views/draw/Draw */
    "./node_modules/arcgis-js-api/views/draw/Draw.js");
    /* harmony import */


    var esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/symbols/SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js");
    /* harmony import */


    var esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var esri_geometry_geometryEngine__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/geometry/geometryEngine */
    "./node_modules/arcgis-js-api/geometry/geometryEngine.js");
    /* harmony import */


    var esri_geometry_geometryEngine__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_geometry_geometryEngine__WEBPACK_IMPORTED_MODULE_5__);

    var AddComponent = /*#__PURE__*/function () {
      function AddComponent(_service, toastService, layerService, loginService) {
        _classCallCheck(this, AddComponent);

        this._service = _service;
        this.toastService = toastService;
        this.layerService = layerService;
        this.loginService = loginService;
        this.headerCard = "Thêm mới tuyến cáp ngầm";
        this.fields = [{
          prop: "MaTuyen",
          name: "Mã tuyến cáp",
          type: "text",
          frozenLeft: true,
          require: true,
          placeholder: 'Mã tuyến cáp'
        }, {
          prop: "TenTuyen",
          name: "Tên tuyến",
          type: "text",
          frozenLeft: true,
          require: true,
          placeholder: 'Tên tuyến'
        }, {
          prop: "DiemDau",
          name: "Điểm đầu",
          type: "text",
          require: true,
          placeholder: 'Điểm đầu'
        }, {
          prop: "DiemCuoi",
          name: "Điểm cuối",
          type: "text",
          require: true,
          placeholder: 'Điểm cuối'
        }, {
          prop: "ChieuDaiThucTe",
          name: "Chiều dài thực tế",
          type: "text",
          placeholder: 'Chiều dài thực tế'
        }, {
          prop: "ViTriTuyenCap",
          name: "Vị trí tuyến cáp",
          type: "select"
        }, {
          prop: "KhoangCachSoVoiLe",
          name: "Khoảng cách so với lề",
          type: "text",
          placeholder: 'Khoảng cách so với lề'
        }, {
          prop: "DoSau",
          name: "Độ sâu",
          type: "text",
          placeholder: 'Độ sâu'
        }, {
          prop: "SoLuongOngCap",
          name: "Số lượng ống cáp",
          type: "text",
          placeholder: 'Số lượng ống cáp'
        }, {
          prop: "SoLuongOngDangDung",
          name: "Số lượng ống dẫn",
          type: "text",
          placeholder: 'Số lượng ống dẫn'
        }, {
          prop: "LoaiCap",
          name: "Loại cáp",
          type: "select"
        }, {
          prop: "DungLuongCap",
          name: "Dung lượng cáp",
          type: "text",
          placeholder: 'Dung lượng tuyến cáp'
        }, {
          prop: "LoaiCongTrinh",
          name: "Loại công trình",
          type: "select"
        }, {
          prop: "KhaNangDungChung",
          name: "Khả năng dùng chung",
          type: "select"
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          isQuanHuyenTP: true,
          options: [],
          require: true
        }];
        this._active = false;
        this.isDoanhNghiepSlected = false;
        this.loading = false;
        this.service = _service;
      }

      _createClass(AddComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          if (this.loginService.maDonVi !== "S4T") {
            this.maDoanhNghiep = this.loginService.maDonVi;
          }
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {}
      }, {
        key: "handleClickAdd",
        value: function handleClickAdd(info) {
          var _this208 = this;

          var attributes = info;

          if (!this.maDoanhNghiep) {
            this.toastService.warning('Vui lòng chọn doanh nghiệp cần thêm mới!');
            return;
          }

          if (!this.polyline) {
            this.toastService.warning('Vui lòng vẽ tuyến cáp!');
            return;
          }

          attributes.TenDoanhNghiep = this.maDoanhNghiep;
          var addFeature = {
            geometry: this.polyline,
            attributes: attributes
          };
          this.loading = true;
          this.layer.applyEdits({
            addFeatures: [addFeature]
          }).then(function (res) {
            if (res.addFeatureResults && res.addFeatureResults.length) {
              _this208.toastService.success("Thêm mới tuyến cáp ngầm thành công!");

              _this208.view.graphics.removeAll();

              _this208.formComponent.reset();
            } else {
              _this208.toastService.danger("Có lỗi xảy ra!");
            }

            _this208.loading = false;
          });
        }
      }, {
        key: "mapLoaded",
        value: function mapLoaded(view) {
          this.view = view;
          this.layer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0___default.a(this.layerService.tuyenCapNgamLayer);
          this.layer.minScale = 0;
          this.layer.maxScale = 0;
          view.map.add(this.layer);
        }
      }, {
        key: "closeSideNav",
        value: function closeSideNav(event) {
          this.miniMap.isOpenSideNav = event;
          this.isDoanhNghiepSlected = false;
        }
      }, {
        key: "changeDoanhNghiep",
        value: function changeDoanhNghiep(event) {
          this.maDoanhNghiep = event.target.value;
        } // goi lai enableCreatePoint khi doanh nghiep duoc chon emit tu miniMap (boi roi)
        // drawAgian(maDoanhNghiep) {
        //   this.maDoanhNghiep = maDoanhNghiep;
        //   this.enableCreateLine();
        // }

      }, {
        key: "enableCreateLine",
        value: function enableCreateLine() {
          var _this209 = this;

          //  // check ma don vi la S4T va isDoanhNghiepSlected = false thi phai chon doanh nghiep
          //  if(this.loginService.maDonVi === 'S4T' && !this.isDoanhNghiepSlected) {
          //   this.miniMap.isOpenSideNav = true;
          //   this.isDoanhNghiepSlected = true;
          //   return;
          // }
          // // neu isDoanhNghiepSlected = false la doanh nghiep khong duoc chon tuc la lay doanh nghiep dang dang nhap
          // if(!this.isDoanhNghiepSlected) {
          //   this.maDoanhNghiep = this.loginService.maDonVi;
          // }
          // if (this.maDoanhNghiep || this.maDoanhNghiep === "undefined") {
          this.view.graphics.removeAll();
          var draw = new esri_views_draw_Draw__WEBPACK_IMPORTED_MODULE_3___default.a({
            view: this.view
          });
          var action = draw.create("polyline");
          this.view.focus();
          action.on(["vertex-add", "vertex-remove", "cursor-update", "redo", "undo"], function (evt) {
            return _this209.updateVertices(evt);
          });
          action.on("draw-complete", function (evt) {
            _this209.updateVertices(evt);

            _this209.isDoanhNghiepSlected = false;
          }); // } else {
          //   this.toastService.warning("Vui lòng chọn doanh nghiệp!");
          // }
        }
      }, {
        key: "updateVertices",
        value: function updateVertices(event) {
          if (event.vertices.length > 1) {
            var result = this.createGraphic(event);

            if (result.selfIntersects) {
              event.preventDefault();
            }
          }
        }
      }, {
        key: "createGraphic",
        value: function createGraphic(event) {
          var vertices = event.vertices;
          this.view.graphics.removeAll();
          var graphic = new esri_Graphic__WEBPACK_IMPORTED_MODULE_1___default.a({
            geometry: new esri_geometry__WEBPACK_IMPORTED_MODULE_2__["Polyline"]({
              paths: vertices,
              spatialReference: this.view.spatialReference
            }),
            symbol: new esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_4___default.a({
              color: [93, 109, 126],
              width: 1,
              cap: "round",
              join: "round"
            })
          }); // check if the polyline intersects itself.

          var intersectingSegment = this.getIntersectingSegment(graphic.geometry); // Add a new graphic for the intersecting segment.

          if (intersectingSegment) {
            this.view.graphics.addMany([graphic, intersectingSegment]);
          } // Just add the graphic representing the polyline if no intersection
          else {
            this.view.graphics.add(graphic);
          }

          this.polyline = graphic.geometry; // return intersectingSegment

          return {
            selfIntersects: intersectingSegment
          };
        } // function that checks if the line intersects itself

      }, {
        key: "isSelfIntersecting",
        value: function isSelfIntersecting(polyline) {
          if (polyline.paths[0].length < 3) {
            return false;
          }

          var line = polyline.clone(); //get the last segment from the polyline that is being drawn

          var lastSegment = this.getLastSegment(polyline);
          line.removePoint(0, line.paths[0].length - 1); // returns true if the line intersects itself, false otherwise

          return esri_geometry_geometryEngine__WEBPACK_IMPORTED_MODULE_5___default.a.crosses(lastSegment, line);
        } // Checks if the line intersects itself. If yes, change the last
        // segment's symbol giving a visual feedback to the user.

      }, {
        key: "getIntersectingSegment",
        value: function getIntersectingSegment(polyline) {
          if (this.isSelfIntersecting(polyline)) {
            return new esri_Graphic__WEBPACK_IMPORTED_MODULE_1___default.a({
              geometry: this.getLastSegment(polyline),
              symbol: new esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_4___default.a({
                style: "short-dot",
                width: 2,
                color: "yellow"
              })
            });
          }

          return null;
        } // Get the last segment of the polyline that is being drawn

      }, {
        key: "getLastSegment",
        value: function getLastSegment(polyline) {
          var line = polyline.clone();
          var lastXYPoint = line.removePoint(0, line.paths[0].length - 1);
          var existingLineFinalPoint = line.getPoint(0, line.paths[0].length - 1);
          return new esri_geometry__WEBPACK_IMPORTED_MODULE_2__["Polyline"]({
            spatialReference: this.view.spatialReference,
            hasZ: false,
            paths: [[[existingLineFinalPoint.x, existingLineFinalPoint.y], [lastXYPoint.x, lastXYPoint.y]]]
          });
        }
      }]);

      return AddComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/list/list.component.ngfactory.js":
  /*!*************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/list/list.component.ngfactory.js ***!
    \*************************************************************************/

  /*! exports provided: RenderType_ListComponent, View_ListComponent_0, View_ListComponent_Host_0, ListComponentNgFactory */

  /***/
  function srcAppManagerTuyenCapNgamListListComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ListComponent", function () {
      return RenderType_ListComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_0", function () {
      return View_ListComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_Host_0", function () {
      return View_ListComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponentNgFactory", function () {
      return ListComponentNgFactory;
    });
    /* harmony import */


    var _list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./list.component.scss.shim.ngstyle */
    "./src/app/manager/tuyen-cap-ngam/list/list.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component.ngfactory */
    "./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component */
    "./src/app/manager/shared/components/datatable/datatable.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /* harmony import */


    var _list_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./list.component */
    "./src/app/manager/tuyen-cap-ngam/list/list.component.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-ngam.service */
    "./src/app/manager/shared/services/tuyen-cap-ngam.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ListComponent = [_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ListComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ListComponent,
      data: {}
    });

    function View_ListComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        dataTbl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "div", [["class", "container-fluid mt-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "app-datatable", [], null, [[null, "onActivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onActivate" === en) {
          var pd_0 = _co.onActivate($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_DatatableComponent_0"], _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_DatatableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 638976, [[1, 4], ["dataTbl", 4]], 0, _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_3__["DatatableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"], _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__["DonViService"]], {
        columns: [0, "columns"],
        service: [1, "service"],
        header: [2, "header"],
        searchField: [3, "searchField"],
        isHidden: [4, "isHidden"]
      }, {
        onActivate: "onActivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;
        var currVal_1 = _co.service;
        var currVal_2 = _co.headerTable;
        var currVal_3 = _co.searchField;
        var currVal_4 = _co.isHidden;

        _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_ListComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-list", [], null, null, null, View_ListComponent_0, RenderType_ListComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _list_component__WEBPACK_IMPORTED_MODULE_9__["ListComponent"], [_shared_services_tuyen_cap_ngam_service__WEBPACK_IMPORTED_MODULE_10__["TuyenCapNgamService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__["ToastService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ListComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-list", _list_component__WEBPACK_IMPORTED_MODULE_9__["ListComponent"], View_ListComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/list/list.component.scss.shim.ngstyle.js":
  /*!*********************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/list/list.component.scss.shim.ngstyle.js ***!
    \*********************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTuyenCapNgamListListComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvdHV5ZW4tY2FwLW5nYW0vbGlzdC9saXN0LmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/list/list.component.ts":
  /*!***************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/list/list.component.ts ***!
    \***************************************************************/

  /*! exports provided: ListComponent */

  /***/
  function srcAppManagerTuyenCapNgamListListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponent", function () {
      return ListComponent;
    });
    /* harmony import */


    var _shared_components_modal_detail_modal_detail_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../../shared/components/modal-detail/modal-detail.component */
    "./src/app/manager/shared/components/modal-detail/modal-detail.component.ts");
    /* harmony import */


    var src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/models/menu.model */
    "./src/app/shared/models/menu.model.ts");

    var ListComponent = /*#__PURE__*/function () {
      function ListComponent(_service, modalService, toastService, loginService) {
        _classCallCheck(this, ListComponent);

        this._service = _service;
        this.modalService = modalService;
        this.toastService = toastService;
        this.loginService = loginService;
        this.headerTable = 'Danh sách tuyến cáp ngầm';
        this.isHidden = false;
        this.columns = [{
          prop: 'MaTuyen',
          name: 'Mã tuyến cáp',
          type: 'text',
          frozenLeft: true
        }, {
          prop: 'TenTuyen',
          name: 'Tên tuyến',
          type: 'text',
          frozenLeft: true
        }, {
          prop: 'TenDoanhNghiep',
          name: 'Tên doanh nghiệp',
          type: 'select',
          isNonEdit: true
        }, {
          prop: 'DiemDau',
          name: 'Điểm đầu',
          type: 'text'
        }, {
          prop: 'DiemCuoi',
          name: 'Điểm cuối',
          type: 'text'
        }, {
          prop: 'ChieuDaiThucTe',
          name: 'Chiều dài thực tế',
          type: 'text'
        }, {
          prop: 'ViTriTuyenCap',
          name: 'Vị trí tuyến cáp',
          type: 'text'
        }, {
          prop: 'KhoangCachSoVoiLe',
          name: 'Khoảng cách so với lề',
          type: 'text'
        }, {
          prop: 'DoSau',
          name: 'Độ sâu',
          type: 'text'
        }, {
          prop: 'SoLuongOngCap',
          name: 'Số lượng ống cáp',
          type: 'text'
        }, {
          prop: 'SoLuongOngDangDung',
          name: 'Số lượng ống dẫn',
          type: 'text'
        }, {
          prop: 'LoaiCap',
          name: 'Loại cáp',
          type: 'select'
        }, {
          prop: 'DungLuongCap',
          name: 'Dung lượng cáp',
          type: 'text'
        }, {
          prop: 'LoaiCongTrinh',
          name: 'Loại công trình',
          type: 'select'
        }, {
          prop: 'KhaNangDungChung',
          name: 'Khả năng dùng chung',
          type: 'select'
        }];
        this.searchField = 'TenTuyen';
        this.Flag = src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__["FlagMenu"];
        this.service = _service;

        if (loginService.isQuanHuyen) {
          this.isHidden = true;
        }
      }

      _createClass(ListComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "handleSave",
        value: function handleSave(data) {
          var _this210 = this;

          // this.loadingIndicator = true;
          this.service.update(data).then(function (res) {
            if (res.updateResults && res.updateResults.length) {
              _this210.dataTbl.loadData();

              _this210.toastService.success('Cập nhập dữ liệu thành công!');
            } else {
              _this210.toastService.danger('Cập nhật dữ liệu thất bại');
            } // this.loadingIndicator = false;

          });
        }
      }, {
        key: "onActivate",
        value: function onActivate(event) {
          var _this211 = this;

          var modalRef = this.modalService.open(_shared_components_modal_detail_modal_detail_component__WEBPACK_IMPORTED_MODULE_0__["ModalDetailComponent"], {
            size: 'lg'
          });
          modalRef.componentInstance.data = {
            row: event.row,
            fields: this.columns,
            flag: this.Flag.TuyenCapNgam
          };
          modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
            _this211.handleSave(receivedEntry);
          });
        }
      }]);

      return ListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam-routing.module.ts":
  /*!*************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam-routing.module.ts ***!
    \*************************************************************************/

  /*! exports provided: TuyenCapNgamRoutingModule */

  /***/
  function srcAppManagerTuyenCapNgamTuyenCapNgamRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgamRoutingModule", function () {
      return TuyenCapNgamRoutingModule;
    });
    /* harmony import */


    var _tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tuyen-cap-ngam.component */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ts");
    /* harmony import */


    var _list_list_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./list/list.component */
    "./src/app/manager/tuyen-cap-ngam/list/list.component.ts");
    /* harmony import */


    var _add_add_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./add/add.component */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ts");

    var routes = [{
      path: '',
      component: _tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_0__["TuyenCapNgamComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'list'
      }, {
        path: 'list',
        component: _list_list_component__WEBPACK_IMPORTED_MODULE_1__["ListComponent"]
      }, {
        path: 'add',
        component: _add_add_component__WEBPACK_IMPORTED_MODULE_2__["AddComponent"]
      }]
    }];

    var TuyenCapNgamRoutingModule = /*#__PURE__*/_createClass(function TuyenCapNgamRoutingModule() {
      _classCallCheck(this, TuyenCapNgamRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ngfactory.js":
  /*!******************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ngfactory.js ***!
    \******************************************************************************/

  /*! exports provided: RenderType_TuyenCapNgamComponent, View_TuyenCapNgamComponent_0, View_TuyenCapNgamComponent_Host_0, TuyenCapNgamComponentNgFactory */

  /***/
  function srcAppManagerTuyenCapNgamTuyenCapNgamComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TuyenCapNgamComponent", function () {
      return RenderType_TuyenCapNgamComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TuyenCapNgamComponent_0", function () {
      return View_TuyenCapNgamComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TuyenCapNgamComponent_Host_0", function () {
      return View_TuyenCapNgamComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgamComponentNgFactory", function () {
      return TuyenCapNgamComponentNgFactory;
    });
    /* harmony import */


    var _tuyen_cap_ngam_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tuyen-cap-ngam.component.scss.shim.ngstyle */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./tuyen-cap-ngam.component */
    "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_TuyenCapNgamComponent = [_tuyen_cap_ngam_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_TuyenCapNgamComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_TuyenCapNgamComponent,
      data: {}
    });

    function View_TuyenCapNgamComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 1, "router-outlet", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 212992, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterOutlet"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["ChildrenOutletContexts"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], [8, null], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_TuyenCapNgamComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-tuyen-cap-ngam", [], null, null, null, View_TuyenCapNgamComponent_0, RenderType_TuyenCapNgamComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_3__["TuyenCapNgamComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var TuyenCapNgamComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-tuyen-cap-ngam", _tuyen_cap_ngam_component__WEBPACK_IMPORTED_MODULE_3__["TuyenCapNgamComponent"], View_TuyenCapNgamComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.scss.shim.ngstyle.js":
  /*!**************************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.scss.shim.ngstyle.js ***!
    \**************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTuyenCapNgamTuyenCapNgamComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvdHV5ZW4tY2FwLW5nYW0vdHV5ZW4tY2FwLW5nYW0uY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ts":
  /*!********************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.component.ts ***!
    \********************************************************************/

  /*! exports provided: TuyenCapNgamComponent */

  /***/
  function srcAppManagerTuyenCapNgamTuyenCapNgamComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgamComponent", function () {
      return TuyenCapNgamComponent;
    });

    var TuyenCapNgamComponent = /*#__PURE__*/function () {
      function TuyenCapNgamComponent() {
        _classCallCheck(this, TuyenCapNgamComponent);
      }

      _createClass(TuyenCapNgamComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return TuyenCapNgamComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.module.ts":
  /*!*****************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-ngam/tuyen-cap-ngam.module.ts ***!
    \*****************************************************************/

  /*! exports provided: TuyenCapNgamModule */

  /***/
  function srcAppManagerTuyenCapNgamTuyenCapNgamModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgamModule", function () {
      return TuyenCapNgamModule;
    });

    var TuyenCapNgamModule = /*#__PURE__*/_createClass(function TuyenCapNgamModule() {
      _classCallCheck(this, TuyenCapNgamModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/add/add.component.ngfactory.js":
  /*!**********************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/add/add.component.ngfactory.js ***!
    \**********************************************************************/

  /*! exports provided: RenderType_AddComponent, View_AddComponent_0, View_AddComponent_Host_0, AddComponentNgFactory */

  /***/
  function srcAppManagerTuyenCapNoiAddAddComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AddComponent", function () {
      return RenderType_AddComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_0", function () {
      return View_AddComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AddComponent_Host_0", function () {
      return View_AddComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponentNgFactory", function () {
      return AddComponentNgFactory;
    });
    /* harmony import */


    var _add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./add.component.scss.shim.ngstyle */
    "./src/app/manager/tuyen-cap-noi/add/add.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component.ngfactory */
    "./src/app/shared/components/loading/loading.component.ngfactory.js");
    /* harmony import */


    var _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/loading/loading.component */
    "./src/app/shared/components/loading/loading.component.ts");
    /* harmony import */


    var _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/card/card.component.ngfactory */
    "./src/app/manager/shared/components/card/card.component.ngfactory.js");
    /* harmony import */


    var _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/components/card/card.component */
    "./src/app/manager/shared/components/card/card.component.ts");
    /* harmony import */


    var _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/components/form/form.component.ngfactory */
    "./src/app/manager/shared/components/form/form.component.ngfactory.js");
    /* harmony import */


    var _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/components/form/form.component */
    "./src/app/manager/shared/components/form/form.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component.ngfactory */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ngfactory.js");
    /* harmony import */


    var _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ../../shared/components/mini-map/mini-map.component */
    "./src/app/manager/shared/components/mini-map/mini-map.component.ts");
    /* harmony import */


    var _add_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./add.component */
    "./src/app/manager/tuyen-cap-noi/add/add.component.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /* harmony import */


    var _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ../../../map/shared/services/layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_AddComponent = [_add_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_AddComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_AddComponent,
      data: {}
    });

    function View_AddComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        miniMap: 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 2, {
        formComponent: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 15, "div", [["class", "container-fluid"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "app-loading", [], null, null, null, _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_LoadingComponent_0"], _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_LoadingComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_3__["LoadingComponent"], [], {
        loading: [0, "loading"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 12, "div", [["class", "row h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 4, "div", [["class", "col-4 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 3, "app-card", [], null, null, null, _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_CardComponent_0"], _shared_components_card_card_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_CardComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, null, 0, _shared_components_card_card_component__WEBPACK_IMPORTED_MODULE_5__["CardComponent"], [], {
        header: [0, "header"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, 1, 1, "app-form", [], null, [[null, "changeDoanhNghiep"], [null, "onSubmit"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("changeDoanhNghiep" === en) {
          var pd_0 = _co.changeDoanhNghiep($event) !== false;
          ad = pd_0 && ad;
        }

        if ("onSubmit" === en) {
          var pd_1 = _co.handleClickAdd($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_FormComponent_0"], _shared_components_form_form_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_FormComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, [[2, 4], ["form", 4]], 0, _shared_components_form_form_component__WEBPACK_IMPORTED_MODULE_7__["FormComponent"], [_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"], _angular_common__WEBPACK_IMPORTED_MODULE_11__["Location"]], {
        fields: [0, "fields"],
        service: [1, "service"]
      }, {
        onSubmit: "onSubmit",
        changeDoanhNghiep: "changeDoanhNghiep"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 6, "div", [["class", "col-8 p-0"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 5, "div", [["class", "map"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "app-mini-map", [], null, [[null, "mapLoaded"], [null, "closeSideNav"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("mapLoaded" === en) {
          var pd_0 = _co.mapLoaded($event) !== false;
          ad = pd_0 && ad;
        }

        if ("closeSideNav" === en) {
          var pd_1 = _co.closeSideNav($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["View_MiniMapComponent_0"], _shared_components_mini_map_mini_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_12__["RenderType_MiniMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 114688, [[1, 4], ["miniMap", 4]], 0, _shared_components_mini_map_mini_map_component__WEBPACK_IMPORTED_MODULE_13__["MiniMapComponent"], [_shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"]], null, {
        mapLoaded: "mapLoaded",
        closeSideNav: "closeSideNav"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](15, 0, [["toolbarDiv", 1]], null, 2, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](16, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-polyline"], ["id", "distance"], ["title", "Distance Measurement Tool"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.enableCreateLine() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "Clear Measurements"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 14).clearGraphic() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loading;

        _ck(_v, 4, 0, currVal_0);

        var currVal_1 = _co.headerCard;

        _ck(_v, 8, 0, currVal_1);

        var currVal_2 = _co.fields;
        var currVal_3 = _co.service;

        _ck(_v, 10, 0, currVal_2, currVal_3);

        _ck(_v, 14, 0);
      }, null);
    }

    function View_AddComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-add", [], null, null, null, View_AddComponent_0, RenderType_AddComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _add_component__WEBPACK_IMPORTED_MODULE_14__["AddComponent"], [_shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_15__["TuyenCapNoiService"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_10__["ToastService"], _map_shared_services_layer_service__WEBPACK_IMPORTED_MODULE_16__["LayerService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_9__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var AddComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-add", _add_component__WEBPACK_IMPORTED_MODULE_14__["AddComponent"], View_AddComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/add/add.component.scss.shim.ngstyle.js":
  /*!******************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/add/add.component.scss.shim.ngstyle.js ***!
    \******************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTuyenCapNoiAddAddComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".container-fluid[_ngcontent-%COMP%] {\n  height: 90vh;\n  padding: 0;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n  position: relative;\n}\n.container-fluid[_ngcontent-%COMP%]   .map[_ngcontent-%COMP%]   #toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFuYWdlci90dXllbi1jYXAtbm9pL2FkZC9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFuYWdlclxcdHV5ZW4tY2FwLW5vaVxcYWRkXFxhZGQuY29tcG9uZW50LnNjc3MiLCJzcmMvYXBwL21hbmFnZXIvdHV5ZW4tY2FwLW5vaS9hZGQvYWRkLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksWUFBQTtFQUNBLFVBQUE7QUNDSjtBRENJO0VBQ0UsV0FBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtBQ0NOO0FEQ007RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDQ1IiLCJmaWxlIjoic3JjL2FwcC9tYW5hZ2VyL3R1eWVuLWNhcC1ub2kvYWRkL2FkZC5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jb250YWluZXItZmx1aWQge1xyXG4gICAgaGVpZ2h0OiA5MHZoO1xyXG4gICAgcGFkZGluZzogMDtcclxuICBcclxuICAgIC5tYXAge1xyXG4gICAgICB3aWR0aDogMTAwJTtcclxuICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgXHJcbiAgICAgICN0b29sYmFyRGl2IHtcclxuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgICAgdG9wOiAxNXB4O1xyXG4gICAgICAgIHJpZ2h0OiAxNXB4O1xyXG4gICAgICAgIGN1cnNvcjogZGVmYXVsdDtcclxuICAgICAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XHJcbiAgICAgICAgZmxleC13cmFwOiBub3dyYXA7XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9IiwiLmNvbnRhaW5lci1mbHVpZCB7XG4gIGhlaWdodDogOTB2aDtcbiAgcGFkZGluZzogMDtcbn1cbi5jb250YWluZXItZmx1aWQgLm1hcCB7XG4gIHdpZHRoOiAxMDAlO1xuICBoZWlnaHQ6IDEwMCU7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn1cbi5jb250YWluZXItZmx1aWQgLm1hcCAjdG9vbGJhckRpdiB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNXB4O1xuICByaWdodDogMTVweDtcbiAgY3Vyc29yOiBkZWZhdWx0O1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBmbGV4LXdyYXA6IG5vd3JhcDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/manager/tuyen-cap-noi/add/add.component.ts":
  /*!************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/add/add.component.ts ***!
    \************************************************************/

  /*! exports provided: AddComponent */

  /***/
  function srcAppManagerTuyenCapNoiAddAddComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AddComponent", function () {
      return AddComponent;
    });
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var src_app_manager_tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/manager/tuyen-cap-ngam/add/add.component */
    "./src/app/manager/tuyen-cap-ngam/add/add.component.ts");

    var AddComponent = /*#__PURE__*/function (_src_app_manager_tuye3) {
      _inherits(AddComponent, _src_app_manager_tuye3);

      var _super46 = _createSuper(AddComponent);

      function AddComponent(_service, toastService, layerService, loginService) {
        var _this212;

        _classCallCheck(this, AddComponent);

        _this212 = _super46.call(this, _service, toastService, layerService, loginService);
        _this212.headerCard = "Thêm mới tuyến cáp nổi";
        _this212.fields = [{
          prop: 'MaTuyen',
          name: 'Mã tuyến cáp',
          type: 'text',
          require: true,
          placeholder: 'Mã tuyến cáp'
        }, {
          prop: 'TenTuyen',
          name: 'Tên tuyến',
          type: 'text',
          require: true,
          placeholder: 'Tên tuyến'
        }, {
          prop: 'DiemDau',
          name: 'Điểm đầu',
          type: 'text',
          require: true,
          placeholder: 'Điểm đầu'
        }, {
          prop: 'DiemCuoi',
          name: 'Điểm cuối',
          type: 'text',
          require: true,
          placeholder: 'Điểm cuối'
        }, {
          prop: 'ChieuDaiThucTe',
          name: 'Chiều dài thực tế',
          type: 'text',
          placeholder: 'Chiều dài thực tế'
        }, {
          prop: 'ViTriTuyenCap',
          name: 'Vị trí tuyến cáp',
          type: 'text',
          placeholder: 'Vị trí tuyến cáp'
        }, {
          prop: 'KhoangCachSoVoiLe',
          name: 'Khoảng cách so với lề',
          type: 'text',
          placeholder: 'Khoảng cách so với lề'
        }, {
          prop: 'LoaiCap',
          name: 'Loại cáp',
          type: 'select',
          require: true
        }, {
          prop: 'DungLuongCap',
          name: 'Dung lượng cáp',
          type: 'text',
          placeholder: 'Dụng lượng cáp'
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          isQuanHuyenTP: true,
          options: [],
          require: true
        }];
        _this212.service = _service;
        return _this212;
      }

      _createClass(AddComponent, [{
        key: "mapLoaded",
        value: function mapLoaded(view) {
          this.view = view;
          this.layer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_0___default.a(this.layerService.tuyenCapNoiLayer);
          this.layer.minScale = 0;
          this.layer.maxScale = 0;
          view.map.add(this.layer);
        }
      }]);

      return AddComponent;
    }(src_app_manager_tuyen_cap_ngam_add_add_component__WEBPACK_IMPORTED_MODULE_1__["AddComponent"]);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/list/list.component.ngfactory.js":
  /*!************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/list/list.component.ngfactory.js ***!
    \************************************************************************/

  /*! exports provided: RenderType_ListComponent, View_ListComponent_0, View_ListComponent_Host_0, ListComponentNgFactory */

  /***/
  function srcAppManagerTuyenCapNoiListListComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ListComponent", function () {
      return RenderType_ListComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_0", function () {
      return View_ListComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ListComponent_Host_0", function () {
      return View_ListComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponentNgFactory", function () {
      return ListComponentNgFactory;
    });
    /* harmony import */


    var _list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./list.component.scss.shim.ngstyle */
    "./src/app/manager/tuyen-cap-noi/list/list.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component.ngfactory */
    "./src/app/manager/shared/components/datatable/datatable.component.ngfactory.js");
    /* harmony import */


    var _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/datatable/datatable.component */
    "./src/app/manager/shared/components/datatable/datatable.component.ts");
    /* harmony import */


    var _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/don-vi.service */
    "./src/app/shared/services/don-vi.service.ts");
    /* harmony import */


    var _list_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./list.component */
    "./src/app/manager/tuyen-cap-noi/list/list.component.ts");
    /* harmony import */


    var _shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/tuyen-cap-noi.service */
    "./src/app/manager/shared/services/tuyen-cap-noi.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ListComponent = [_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ListComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ListComponent,
      data: {}
    });

    function View_ListComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        dataTbl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 2, "div", [["class", "container-fluid mt-3"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "app-datatable", [], null, [[null, "onActivate"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("onActivate" === en) {
          var pd_0 = _co.onActivate($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_DatatableComponent_0"], _shared_components_datatable_datatable_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_DatatableComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 638976, [[1, 4], ["dataTbl", 4]], 0, _shared_components_datatable_datatable_component__WEBPACK_IMPORTED_MODULE_3__["DatatableComponent"], [_shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__["ToastService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_6__["HanhChinhService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"], _shared_services_don_vi_service__WEBPACK_IMPORTED_MODULE_8__["DonViService"]], {
        columns: [0, "columns"],
        service: [1, "service"],
        header: [2, "header"],
        searchField: [3, "searchField"],
        isHidden: [4, "isHidden"]
      }, {
        onActivate: "onActivate"
      })], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.columns;
        var currVal_1 = _co.service;
        var currVal_2 = _co.headerTable;
        var currVal_3 = _co.searchField;
        var currVal_4 = _co.isHidden;

        _ck(_v, 3, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4);
      }, null);
    }

    function View_ListComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-list", [], null, null, null, View_ListComponent_0, RenderType_ListComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _list_component__WEBPACK_IMPORTED_MODULE_9__["ListComponent"], [_shared_services_tuyen_cap_noi_service__WEBPACK_IMPORTED_MODULE_10__["TuyenCapNoiService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbModal"], _shared_services_toast_service__WEBPACK_IMPORTED_MODULE_4__["ToastService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_7__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ListComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-list", _list_component__WEBPACK_IMPORTED_MODULE_9__["ListComponent"], View_ListComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/list/list.component.scss.shim.ngstyle.js":
  /*!********************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/list/list.component.scss.shim.ngstyle.js ***!
    \********************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTuyenCapNoiListListComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvdHV5ZW4tY2FwLW5vaS9saXN0L2xpc3QuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/manager/tuyen-cap-noi/list/list.component.ts":
  /*!**************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/list/list.component.ts ***!
    \**************************************************************/

  /*! exports provided: ListComponent */

  /***/
  function srcAppManagerTuyenCapNoiListListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponent", function () {
      return ListComponent;
    });
    /* harmony import */


    var _shared_components_modal_detail_modal_detail_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../../shared/components/modal-detail/modal-detail.component */
    "./src/app/manager/shared/components/modal-detail/modal-detail.component.ts");
    /* harmony import */


    var src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/models/menu.model */
    "./src/app/shared/models/menu.model.ts");

    var ListComponent = /*#__PURE__*/function () {
      function ListComponent(_service, modalService, toastService, loginService) {
        _classCallCheck(this, ListComponent);

        this._service = _service;
        this.modalService = modalService;
        this.toastService = toastService;
        this.loginService = loginService;
        this.headerTable = "Danh sách tuyến cáp nổi";
        this.columns = [{
          prop: 'MaTuyen',
          name: 'Mã tuyến cáp',
          type: 'text',
          frozenLeft: true
        }, {
          prop: 'TenTuyen',
          name: 'Tên tuyến',
          type: 'text',
          frozenLeft: true
        }, {
          prop: 'TenDoanhNghiep',
          name: 'Tên doanh nghiệp',
          type: 'select',
          isNonEdit: true
        }, {
          prop: 'DiemDau',
          name: 'Điểm đầu',
          type: 'text'
        }, {
          prop: 'DiemCuoi',
          name: 'Điểm cuối',
          type: 'text'
        }, {
          prop: 'ChieuDaiThucTe',
          name: 'Chiều dài thực tế',
          type: 'text'
        }, {
          prop: 'ViTriTuyenCap',
          name: 'Vị trí tuyến cáp',
          type: 'text'
        }, {
          prop: 'KhoangCachSoVoiLe',
          name: 'Khoảng cách so với lề',
          type: 'text'
        }, {
          prop: 'LoaiCap',
          name: 'Loại cáp',
          type: 'select'
        }, {
          prop: 'DungLuongCap',
          name: 'Dung lượng cáp',
          type: 'text'
        }, {
          prop: 'LoaiCongTrinh',
          name: 'Loại công trình',
          type: 'select'
        }, {
          prop: 'KhaNangDungChung',
          name: 'Khả năng dùng chung',
          type: 'select'
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          width: 150,
          isQuanHuyenTP: true,
          options: []
        }];
        this.searchField = 'TenTuyen';
        this.rowEditing = {};
        this.isHidden = false;
        this.Flag = src_app_shared_models_menu_model__WEBPACK_IMPORTED_MODULE_1__["FlagMenu"];
        this.service = _service;

        if (loginService.isQuanHuyen) {
          this.isHidden = true;
        }
      }

      _createClass(ListComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "handleSave",
        value: function handleSave(data) {
          var _this213 = this;

          // this.loadingIndicator = true;
          this.service.update(data).then(function (res) {
            if (res.updateResults && res.updateResults.length) {
              _this213.dataTbl.loadData();

              _this213.toastService.success('Cập nhập dữ liệu thành công!');
            } else {
              _this213.toastService.danger('Cập nhật dữ liệu thất bại');
            } // this.loadingIndicator = false;

          });
        }
      }, {
        key: "onActivate",
        value: function onActivate(event) {
          var _this214 = this;

          var modalRef = this.modalService.open(_shared_components_modal_detail_modal_detail_component__WEBPACK_IMPORTED_MODULE_0__["ModalDetailComponent"], {
            size: 'lg'
          });
          modalRef.componentInstance.data = {
            row: event.row,
            fields: this.columns,
            flag: this.Flag.TuyenCapNoi
          };
          modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
            _this214.handleSave(receivedEntry);
          });
        }
      }]);

      return ListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi-routing.module.ts":
  /*!***********************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/tuyen-cap-noi-routing.module.ts ***!
    \***********************************************************************/

  /*! exports provided: TuyenCapNoiRoutingModule */

  /***/
  function srcAppManagerTuyenCapNoiTuyenCapNoiRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNoiRoutingModule", function () {
      return TuyenCapNoiRoutingModule;
    });
    /* harmony import */


    var _tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tuyen-cap-noi.component */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ts");
    /* harmony import */


    var _list_list_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./list/list.component */
    "./src/app/manager/tuyen-cap-noi/list/list.component.ts");
    /* harmony import */


    var _add_add_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./add/add.component */
    "./src/app/manager/tuyen-cap-noi/add/add.component.ts");

    var routes = [{
      path: '',
      component: _tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_0__["TuyenCapNoiComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'list'
      }, {
        path: 'list',
        component: _list_list_component__WEBPACK_IMPORTED_MODULE_1__["ListComponent"]
      }, {
        path: 'add',
        component: _add_add_component__WEBPACK_IMPORTED_MODULE_2__["AddComponent"]
      }]
    }];

    var TuyenCapNoiRoutingModule = /*#__PURE__*/_createClass(function TuyenCapNoiRoutingModule() {
      _classCallCheck(this, TuyenCapNoiRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ngfactory.js":
  /*!****************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ngfactory.js ***!
    \****************************************************************************/

  /*! exports provided: RenderType_TuyenCapNoiComponent, View_TuyenCapNoiComponent_0, View_TuyenCapNoiComponent_Host_0, TuyenCapNoiComponentNgFactory */

  /***/
  function srcAppManagerTuyenCapNoiTuyenCapNoiComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TuyenCapNoiComponent", function () {
      return RenderType_TuyenCapNoiComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TuyenCapNoiComponent_0", function () {
      return View_TuyenCapNoiComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TuyenCapNoiComponent_Host_0", function () {
      return View_TuyenCapNoiComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNoiComponentNgFactory", function () {
      return TuyenCapNoiComponentNgFactory;
    });
    /* harmony import */


    var _tuyen_cap_noi_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./tuyen-cap-noi.component.scss.shim.ngstyle */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./tuyen-cap-noi.component */
    "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_TuyenCapNoiComponent = [_tuyen_cap_noi_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_TuyenCapNoiComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_TuyenCapNoiComponent,
      data: {}
    });

    function View_TuyenCapNoiComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 16777216, null, null, 1, "router-outlet", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 212992, null, 0, _angular_router__WEBPACK_IMPORTED_MODULE_2__["RouterOutlet"], [_angular_router__WEBPACK_IMPORTED_MODULE_2__["ChildrenOutletContexts"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ComponentFactoryResolver"], [8, null], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_TuyenCapNoiComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-tuyen-cap-noi", [], null, null, null, View_TuyenCapNoiComponent_0, RenderType_TuyenCapNoiComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_3__["TuyenCapNoiComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var TuyenCapNoiComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-tuyen-cap-noi", _tuyen_cap_noi_component__WEBPACK_IMPORTED_MODULE_3__["TuyenCapNoiComponent"], View_TuyenCapNoiComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.scss.shim.ngstyle.js":
  /*!************************************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.scss.shim.ngstyle.js ***!
    \************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppManagerTuyenCapNoiTuyenCapNoiComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hbmFnZXIvdHV5ZW4tY2FwLW5vaS90dXllbi1jYXAtbm9pLmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ts":
  /*!******************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.component.ts ***!
    \******************************************************************/

  /*! exports provided: TuyenCapNoiComponent */

  /***/
  function srcAppManagerTuyenCapNoiTuyenCapNoiComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNoiComponent", function () {
      return TuyenCapNoiComponent;
    });

    var TuyenCapNoiComponent = /*#__PURE__*/function () {
      function TuyenCapNoiComponent() {
        _classCallCheck(this, TuyenCapNoiComponent);
      }

      _createClass(TuyenCapNoiComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return TuyenCapNoiComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.module.ts":
  /*!***************************************************************!*\
    !*** ./src/app/manager/tuyen-cap-noi/tuyen-cap-noi.module.ts ***!
    \***************************************************************/

  /*! exports provided: TuyenCapNoiModule */

  /***/
  function srcAppManagerTuyenCapNoiTuyenCapNoiModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNoiModule", function () {
      return TuyenCapNoiModule;
    });

    var TuyenCapNoiModule = /*#__PURE__*/_createClass(function TuyenCapNoiModule() {
      _classCallCheck(this, TuyenCapNoiModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/y-kien-nguoi-dan/list/list.component.ts":
  /*!*****************************************************************!*\
    !*** ./src/app/manager/y-kien-nguoi-dan/list/list.component.ts ***!
    \*****************************************************************/

  /*! exports provided: ListComponent */

  /***/
  function srcAppManagerYKienNguoiDanListListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ListComponent", function () {
      return ListComponent;
    });

    var ListComponent = /*#__PURE__*/function () {
      function ListComponent() {
        _classCallCheck(this, ListComponent);
      }

      _createClass(ListComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan-routing.module.ts":
  /*!*****************************************************************************!*\
    !*** ./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan-routing.module.ts ***!
    \*****************************************************************************/

  /*! exports provided: YKienNguoiDanRoutingModule */

  /***/
  function srcAppManagerYKienNguoiDanYKienNguoiDanRoutingModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YKienNguoiDanRoutingModule", function () {
      return YKienNguoiDanRoutingModule;
    });
    /* harmony import */


    var _y_kien_nguoi_dan_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./y-kien-nguoi-dan.component */
    "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.component.ts");
    /* harmony import */


    var _list_list_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./list/list.component */
    "./src/app/manager/y-kien-nguoi-dan/list/list.component.ts");

    var routes = [{
      path: '',
      component: _y_kien_nguoi_dan_component__WEBPACK_IMPORTED_MODULE_0__["YKienNguoiDanComponent"],
      children: [{
        path: '',
        pathMatch: 'full',
        redirectTo: 'list'
      }, {
        path: 'list',
        component: _list_list_component__WEBPACK_IMPORTED_MODULE_1__["ListComponent"]
      }]
    }];

    var YKienNguoiDanRoutingModule = /*#__PURE__*/_createClass(function YKienNguoiDanRoutingModule() {
      _classCallCheck(this, YKienNguoiDanRoutingModule);
    });
    /***/

  },

  /***/
  "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.component.ts":
  /*!************************************************************************!*\
    !*** ./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.component.ts ***!
    \************************************************************************/

  /*! exports provided: YKienNguoiDanComponent */

  /***/
  function srcAppManagerYKienNguoiDanYKienNguoiDanComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YKienNguoiDanComponent", function () {
      return YKienNguoiDanComponent;
    });

    var YKienNguoiDanComponent = /*#__PURE__*/function () {
      function YKienNguoiDanComponent() {
        _classCallCheck(this, YKienNguoiDanComponent);
      }

      _createClass(YKienNguoiDanComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return YKienNguoiDanComponent;
    }();
    /***/

  },

  /***/
  "./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.module.ts":
  /*!*********************************************************************!*\
    !*** ./src/app/manager/y-kien-nguoi-dan/y-kien-nguoi-dan.module.ts ***!
    \*********************************************************************/

  /*! exports provided: YKienNguoiDanModule */

  /***/
  function srcAppManagerYKienNguoiDanYKienNguoiDanModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "YKienNguoiDanModule", function () {
      return YKienNguoiDanModule;
    });

    var YKienNguoiDanModule = /*#__PURE__*/_createClass(function YKienNguoiDanModule() {
      _classCallCheck(this, YKienNguoiDanModule);
    });
    /***/

  },

  /***/
  "./src/app/map/info-map/info-map.component.ngfactory.js":
  /*!**************************************************************!*\
    !*** ./src/app/map/info-map/info-map.component.ngfactory.js ***!
    \**************************************************************/

  /*! exports provided: RenderType_InfoMapComponent, View_InfoMapComponent_0, View_InfoMapComponent_Host_0, InfoMapComponentNgFactory */

  /***/
  function srcAppMapInfoMapInfoMapComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_InfoMapComponent", function () {
      return RenderType_InfoMapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_InfoMapComponent_0", function () {
      return View_InfoMapComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_InfoMapComponent_Host_0", function () {
      return View_InfoMapComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InfoMapComponentNgFactory", function () {
      return InfoMapComponentNgFactory;
    });
    /* harmony import */


    var _info_map_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./info-map.component.scss.shim.ngstyle */
    "./src/app/map/info-map/info-map.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _layer_list_layer_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../layer-list/layer-list.component.ngfactory */
    "./src/app/map/layer-list/layer-list.component.ngfactory.js");
    /* harmony import */


    var _layer_list_layer_list_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../layer-list/layer-list.component */
    "./src/app/map/layer-list/layer-list.component.ts");
    /* harmony import */


    var _shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");
    /* harmony import */


    var _legend_legend_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../legend/legend.component.ngfactory */
    "./src/app/map/legend/legend.component.ngfactory.js");
    /* harmony import */


    var _legend_legend_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../legend/legend.component */
    "./src/app/map/legend/legend.component.ts");
    /* harmony import */


    var _shared_components_side_nav_side_nav_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/components/side-nav/side-nav.component.ngfactory */
    "./src/app/shared/components/side-nav/side-nav.component.ngfactory.js");
    /* harmony import */


    var _shared_components_side_nav_side_nav_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../shared/components/side-nav/side-nav.component */
    "./src/app/shared/components/side-nav/side-nav.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../../node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory */
    "./node_modules/@ng-bootstrap/ng-bootstrap/ng-bootstrap.ngfactory.js");
    /* harmony import */


    var _info_map_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./info-map.component */
    "./src/app/map/info-map/info-map.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_InfoMapComponent = [_info_map_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_InfoMapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_InfoMapComponent,
      data: {}
    });

    function View_InfoMapComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-layer-list", [], null, null, null, _layer_list_layer_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_LayerListComponent_0"], _layer_list_layer_list_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_LayerListComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _layer_list_layer_list_component__WEBPACK_IMPORTED_MODULE_3__["LayerListComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__["MapService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_InfoMapComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-legend", [], null, null, null, _legend_legend_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_LegendComponent_0"], _legend_legend_component_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_LegendComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _legend_legend_component__WEBPACK_IMPORTED_MODULE_6__["LegendComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__["MapService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    function View_InfoMapComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 23, "app-side-nav", [], null, [[null, "close"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("close" === en) {
          var pd_0 = _co.handleClose($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_side_nav_side_nav_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_SideNavComponent_0"], _shared_components_side_nav_side_nav_component_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_SideNavComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_side_nav_side_nav_component__WEBPACK_IMPORTED_MODULE_8__["SideNavComponent"], [], {
        isOpen: [0, "isOpen"],
        title: [1, "title"]
      }, {
        close: "close"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 0, 19, "ul", [["class", "nav-tabs"], ["ngbNav", ""]], [[2, "nav", null], [2, "flex-column", null], [1, "aria-orientation", 0], [1, "role", 0]], [[null, "activeIdChange"], [null, "keydown.arrowLeft"], [null, "keydown.arrowRight"], [null, "keydown.arrowDown"], [null, "keydown.arrowUp"], [null, "keydown.Home"], [null, "keydown.End"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("keydown.arrowLeft" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onKeyDown($event) !== false;
          ad = pd_0 && ad;
        }

        if ("keydown.arrowRight" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onKeyDown($event) !== false;
          ad = pd_1 && ad;
        }

        if ("keydown.arrowDown" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onKeyDown($event) !== false;
          ad = pd_2 && ad;
        }

        if ("keydown.arrowUp" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onKeyDown($event) !== false;
          ad = pd_3 && ad;
        }

        if ("keydown.Home" === en) {
          var pd_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onKeyDown($event) !== false;
          ad = pd_4 && ad;
        }

        if ("keydown.End" === en) {
          var pd_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).onKeyDown($event) !== false;
          ad = pd_5 && ad;
        }

        if ("activeIdChange" === en) {
          var pd_6 = (_co.active = $event) !== false;
          ad = pd_6 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 1064960, [["nav", 4]], 2, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavConfig"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_common__WEBPACK_IMPORTED_MODULE_10__["DOCUMENT"]], {
        activeId: [0, "activeId"]
      }, {
        activeIdChange: "activeIdChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 1, {
        items: 1
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 2, {
        links: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 7, "li", [], [[2, "nav-item", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 2179072, [[1, 4]], 1, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavItem"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], {
        _id: [0, "_id"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 3, {
        contentTpls: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 2, "a", [["href", ""], ["ngbNavLink", ""]], [[8, "id", 0], [2, "nav-link", null], [2, "nav-item", null], [1, "role", 0], [2, "active", null], [2, "disabled", null], [1, "tabindex", 0], [1, "aria-controls", 0], [1, "aria-selected", 0], [1, "aria-disabled", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).nav.click(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem);

          var pd_0 = $event.preventDefault() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 16384, [[2, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavLink"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["L\u1EDBp d\u1EEF li\u1EC7u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 1, null, View_InfoMapComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, [[3, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavContent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 7, "li", [], [[2, "nav-item", null]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 2179072, [[1, 4]], 1, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavItem"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], {
        _id: [0, "_id"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](603979776, 4, {
        contentTpls: 1
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, null, 2, "a", [["href", ""], ["ngbNavLink", ""]], [[8, "id", 0], [2, "nav-link", null], [2, "nav-item", null], [1, "role", 0], [2, "active", null], [2, "disabled", null], [1, "tabindex", 0], [1, "aria-controls", 0], [1, "aria-selected", 0], [1, "aria-disabled", 0]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;

        if ("click" === en) {
          _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).nav.click(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem);

          var pd_0 = $event.preventDefault() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](18, 16384, [[2, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavLink"], [[8, null], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavItem"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNav"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\xFA th\xEDch"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 1, null, View_InfoMapComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](21, 16384, [[4, 4]], 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavContent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, 0, 1, "div", [["class", "mt-2"]], [[2, "tab-content", null]], null, null, _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_11__["View_NgbNavOutlet_0"], _node_modules_ng_bootstrap_ng_bootstrap_ng_bootstrap_ngfactory__WEBPACK_IMPORTED_MODULE_11__["RenderType_NgbNavOutlet"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 49152, null, 0, _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_9__["NgbNavOutlet"], [], {
        nav: [0, "nav"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](24, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-documentation"], ["id", "btnLayers"], ["title", "L\u1EDBp b\u1EA3n \u0111\u1ED3"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = (_co.isOpen = !_co.isOpen) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isOpen;
        var currVal_1 = _co.title;

        _ck(_v, 1, 0, currVal_0, currVal_1);

        var currVal_6 = _co.active;

        _ck(_v, 3, 0, currVal_6);

        var currVal_8 = 1;

        _ck(_v, 7, 0, currVal_8);

        var currVal_20 = 2;

        _ck(_v, 15, 0, currVal_20);

        var currVal_32 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3);

        _ck(_v, 23, 0, currVal_32);
      }, function (_ck, _v) {
        var currVal_2 = true;
        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).orientation === "vertical";
        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).orientation === "vertical" && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).roles === "tablist" ? "vertical" : undefined;
        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 3).roles ? "tablist" : undefined;

        _ck(_v, 2, 0, currVal_2, currVal_3, currVal_4, currVal_5);

        var currVal_7 = true;

        _ck(_v, 6, 0, currVal_7);

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.domId;

        var currVal_10 = true;

        var currVal_11 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).hasNavItemClass();

        var currVal_12 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).nav.roles ? "tab" : undefined;

        var currVal_13 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.active;

        var currVal_14 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.disabled;

        var currVal_15 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.disabled ? 0 - 1 : undefined;
        var currVal_16 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.isPanelInDom() ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.panelDomId : null;

        var currVal_17 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.active;

        var currVal_18 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).navItem.disabled;

        _ck(_v, 9, 0, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15, currVal_16, currVal_17, currVal_18);

        var currVal_19 = true;

        _ck(_v, 14, 0, currVal_19);

        var currVal_21 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.domId;

        var currVal_22 = true;

        var currVal_23 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).hasNavItemClass();

        var currVal_24 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).role ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).role : _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).nav.roles ? "tab" : undefined;

        var currVal_25 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.active;

        var currVal_26 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.disabled;

        var currVal_27 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.disabled ? 0 - 1 : undefined;
        var currVal_28 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.isPanelInDom() ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.panelDomId : null;

        var currVal_29 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.active;

        var currVal_30 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).navItem.disabled;

        _ck(_v, 17, 0, currVal_21, currVal_22, currVal_23, currVal_24, currVal_25, currVal_26, currVal_27, currVal_28, currVal_29, currVal_30);

        var currVal_31 = true;

        _ck(_v, 22, 0, currVal_31);
      });
    }

    function View_InfoMapComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-info-map", [], null, null, null, View_InfoMapComponent_0, RenderType_InfoMapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _info_map_component__WEBPACK_IMPORTED_MODULE_12__["InfoMapComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var InfoMapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-info-map", _info_map_component__WEBPACK_IMPORTED_MODULE_12__["InfoMapComponent"], View_InfoMapComponent_Host_0, {
      isOpen: "isOpen",
      title: "title"
    }, {}, []);
    /***/

  },

  /***/
  "./src/app/map/info-map/info-map.component.scss.shim.ngstyle.js":
  /*!**********************************************************************!*\
    !*** ./src/app/map/info-map/info-map.component.scss.shim.ngstyle.js ***!
    \**********************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapInfoMapInfoMapComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["button[_ngcontent-%COMP%] {\n  position: absolute;\n  z-index: 100;\n  right: 168px;\n  top: 30px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL2luZm8tbWFwL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYXBcXGluZm8tbWFwXFxpbmZvLW1hcC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFwL2luZm8tbWFwL2luZm8tbWFwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0ksa0JBQUE7RUFBcUIsWUFBQTtFQUFjLFlBQUE7RUFBZSxTQUFBO0FDSXREIiwiZmlsZSI6InNyYy9hcHAvbWFwL2luZm8tbWFwL2luZm8tbWFwLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiYnV0dG9ue1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlOyAgei1pbmRleDogMTAwOyByaWdodDogMTY4cHg7ICB0b3A6IDMwcHg7XHJcbn0iLCJidXR0b24ge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHotaW5kZXg6IDEwMDtcbiAgcmlnaHQ6IDE2OHB4O1xuICB0b3A6IDMwcHg7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/map/info-map/info-map.component.ts":
  /*!****************************************************!*\
    !*** ./src/app/map/info-map/info-map.component.ts ***!
    \****************************************************/

  /*! exports provided: InfoMapComponent */

  /***/
  function srcAppMapInfoMapInfoMapComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InfoMapComponent", function () {
      return InfoMapComponent;
    });

    var InfoMapComponent = /*#__PURE__*/function () {
      function InfoMapComponent() {
        _classCallCheck(this, InfoMapComponent);

        this.isOpen = false;
        this.title = 'Thông tin bản đồ';
        this.active = 1;
      }

      _createClass(InfoMapComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "handleClose",
        value: function handleClose(closed) {
          this.isOpen = closed;
        }
      }]);

      return InfoMapComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/layer-list/layer-list.component.ngfactory.js":
  /*!******************************************************************!*\
    !*** ./src/app/map/layer-list/layer-list.component.ngfactory.js ***!
    \******************************************************************/

  /*! exports provided: RenderType_LayerListComponent, View_LayerListComponent_0, View_LayerListComponent_Host_0, LayerListComponentNgFactory */

  /***/
  function srcAppMapLayerListLayerListComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LayerListComponent", function () {
      return RenderType_LayerListComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LayerListComponent_0", function () {
      return View_LayerListComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LayerListComponent_Host_0", function () {
      return View_LayerListComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LayerListComponentNgFactory", function () {
      return LayerListComponentNgFactory;
    });
    /* harmony import */


    var _layer_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./layer-list.component.scss.shim.ngstyle */
    "./src/app/map/layer-list/layer-list.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _layer_list_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./layer-list.component */
    "./src/app/map/layer-list/layer-list.component.ts");
    /* harmony import */


    var _shared_services_map_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_LayerListComponent = [_layer_list_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_LayerListComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_LayerListComponent,
      data: {}
    });

    function View_LayerListComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        layerEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["layerEl", 1]], null, 0, "div", [], null, null, null, null, null))], null, null);
    }

    function View_LayerListComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-layer-list", [], null, null, null, View_LayerListComponent_0, RenderType_LayerListComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _layer_list_component__WEBPACK_IMPORTED_MODULE_2__["LayerListComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_3__["MapService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var LayerListComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-layer-list", _layer_list_component__WEBPACK_IMPORTED_MODULE_2__["LayerListComponent"], View_LayerListComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/map/layer-list/layer-list.component.scss.shim.ngstyle.js":
  /*!**************************************************************************!*\
    !*** ./src/app/map/layer-list/layer-list.component.scss.shim.ngstyle.js ***!
    \**************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapLayerListLayerListComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hcC9sYXllci1saXN0L2xheWVyLWxpc3QuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/map/layer-list/layer-list.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/map/layer-list/layer-list.component.ts ***!
    \********************************************************/

  /*! exports provided: LayerListComponent */

  /***/
  function srcAppMapLayerListLayerListComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LayerListComponent", function () {
      return LayerListComponent;
    });
    /* harmony import */


    var esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/widgets/LayerList */
    "./node_modules/arcgis-js-api/widgets/LayerList.js");
    /* harmony import */


    var esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_0__);

    var LayerListComponent = /*#__PURE__*/function () {
      function LayerListComponent(service) {
        _classCallCheck(this, LayerListComponent);

        this.service = service;
        this.isOpen = true;
        this.title = 'Lớp dữ liệu';
      }

      _createClass(LayerListComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          var layerList = new esri_widgets_LayerList__WEBPACK_IMPORTED_MODULE_0___default.a({
            container: this.layerEl.nativeElement,
            view: this.service.view
          });
        }
      }, {
        key: "handleClose",
        value: function handleClose(closed) {
          this.isOpen = closed;
        }
      }]);

      return LayerListComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/legend/legend.component.ngfactory.js":
  /*!**********************************************************!*\
    !*** ./src/app/map/legend/legend.component.ngfactory.js ***!
    \**********************************************************/

  /*! exports provided: RenderType_LegendComponent, View_LegendComponent_0, View_LegendComponent_Host_0, LegendComponentNgFactory */

  /***/
  function srcAppMapLegendLegendComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_LegendComponent", function () {
      return RenderType_LegendComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LegendComponent_0", function () {
      return View_LegendComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_LegendComponent_Host_0", function () {
      return View_LegendComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LegendComponentNgFactory", function () {
      return LegendComponentNgFactory;
    });
    /* harmony import */


    var _legend_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./legend.component.scss.shim.ngstyle */
    "./src/app/map/legend/legend.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _legend_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./legend.component */
    "./src/app/map/legend/legend.component.ts");
    /* harmony import */


    var _shared_services_map_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_LegendComponent = [_legend_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_LegendComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_LegendComponent,
      data: {}
    });

    function View_LegendComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](671088640, 1, {
        legendEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["legendEl", 1]], null, 0, "div", [], null, null, null, null, null))], null, null);
    }

    function View_LegendComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-legend", [], null, null, null, View_LegendComponent_0, RenderType_LegendComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _legend_component__WEBPACK_IMPORTED_MODULE_2__["LegendComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_3__["MapService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var LegendComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-legend", _legend_component__WEBPACK_IMPORTED_MODULE_2__["LegendComponent"], View_LegendComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/map/legend/legend.component.scss.shim.ngstyle.js":
  /*!******************************************************************!*\
    !*** ./src/app/map/legend/legend.component.scss.shim.ngstyle.js ***!
    \******************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapLegendLegendComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hcC9sZWdlbmQvbGVnZW5kLmNvbXBvbmVudC5zY3NzIn0= */"];
    /***/
  },

  /***/
  "./src/app/map/legend/legend.component.ts":
  /*!************************************************!*\
    !*** ./src/app/map/legend/legend.component.ts ***!
    \************************************************/

  /*! exports provided: LegendComponent */

  /***/
  function srcAppMapLegendLegendComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LegendComponent", function () {
      return LegendComponent;
    });
    /* harmony import */


    var esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/widgets/Legend */
    "./node_modules/arcgis-js-api/widgets/Legend.js");
    /* harmony import */


    var esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_0__);

    var LegendComponent = /*#__PURE__*/function () {
      function LegendComponent(service) {
        _classCallCheck(this, LegendComponent);

        this.service = service;
        this.title = 'Chú giải';
      }

      _createClass(LegendComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {
          this.legend = new esri_widgets_Legend__WEBPACK_IMPORTED_MODULE_0___default.a({
            view: this.service.view,
            container: this.legendEl.nativeElement
          });
        }
      }]);

      return LegendComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/map.component.ngfactory.js":
  /*!************************************************!*\
    !*** ./src/app/map/map.component.ngfactory.js ***!
    \************************************************/

  /*! exports provided: RenderType_MapComponent, View_MapComponent_0, View_MapComponent_Host_0, MapComponentNgFactory */

  /***/
  function srcAppMapMapComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_MapComponent", function () {
      return RenderType_MapComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MapComponent_0", function () {
      return View_MapComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MapComponent_Host_0", function () {
      return View_MapComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MapComponentNgFactory", function () {
      return MapComponentNgFactory;
    });
    /* harmony import */


    var _map_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./map.component.scss.shim.ngstyle */
    "./src/app/map/map.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _table_info_table_info_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./table-info/table-info.component.ngfactory */
    "./src/app/map/table-info/table-info.component.ngfactory.js");
    /* harmony import */


    var _table_info_table_info_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./table-info/table-info.component */
    "./src/app/map/table-info/table-info.component.ts");
    /* harmony import */


    var _shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");
    /* harmony import */


    var _shared_services_search_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./shared/services/search.service */
    "./src/app/map/shared/services/search.service.ts");
    /* harmony import */


    var _search_box_search_box_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ./search-box/search-box.component.ngfactory */
    "./src/app/map/search-box/search-box.component.ngfactory.js");
    /* harmony import */


    var _search_box_search_box_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./search-box/search-box.component */
    "./src/app/map/search-box/search-box.component.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_popup_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./shared/services/popup.service */
    "./src/app/map/shared/services/popup.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /* harmony import */


    var _info_map_info_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ./info-map/info-map.component.ngfactory */
    "./src/app/map/info-map/info-map.component.ngfactory.js");
    /* harmony import */


    var _info_map_info_map_component__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ./info-map/info-map.component */
    "./src/app/map/info-map/info-map.component.ts");
    /* harmony import */


    var _popup_popup_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! ./popup/popup.component.ngfactory */
    "./src/app/map/popup/popup.component.ngfactory.js");
    /* harmony import */


    var _popup_popup_component__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! ./popup/popup.component */
    "./src/app/map/popup/popup.component.ts");
    /* harmony import */


    var _manager_shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! ../manager/shared/services/bts-attachment.service */
    "./src/app/manager/shared/services/bts-attachment.service.ts");
    /* harmony import */


    var _vung_phu_bts_vung_phu_bts_component_ngfactory__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! ./vung-phu-bts/vung-phu-bts.component.ngfactory */
    "./src/app/map/vung-phu-bts/vung-phu-bts.component.ngfactory.js");
    /* harmony import */


    var _vung_phu_bts_vung_phu_bts_component__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! ./vung-phu-bts/vung-phu-bts.component */
    "./src/app/map/vung-phu-bts/vung-phu-bts.component.ts");
    /* harmony import */


    var _shared_services_vung_phu_bts_service__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! ./shared/services/vung-phu-bts.service */
    "./src/app/map/shared/services/vung-phu-bts.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _measure_measure_component_ngfactory__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! ./measure/measure.component.ngfactory */
    "./src/app/map/measure/measure.component.ngfactory.js");
    /* harmony import */


    var _measure_measure_component__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ./measure/measure.component */
    "./src/app/map/measure/measure.component.ts");
    /* harmony import */


    var _map_component__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ./map.component */
    "./src/app/map/map.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_MapComponent = [_map_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_MapComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_MapComponent,
      data: {}
    });

    function View_MapComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        mapEl: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["mapElement", 1]], null, 13, "div", [["class", "viewDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 2, "div", [["class", "table-info"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "app-table-info", [], null, [[null, "close"], [null, "open"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("close" === en) {
          var pd_0 = _co.handleCloseTblInfo($event) !== false;
          ad = pd_0 && ad;
        }

        if ("open" === en) {
          var pd_1 = _co.handleOpenTblInfo($event) !== false;
          ad = pd_1 && ad;
        }

        return ad;
      }, _table_info_table_info_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_TableInfoComponent_0"], _table_info_table_info_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_TableInfoComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 114688, null, 0, _table_info_table_info_component__WEBPACK_IMPORTED_MODULE_3__["TableInfoComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__["MapService"], _shared_services_search_service__WEBPACK_IMPORTED_MODULE_5__["SearchService"]], {
        isOpen: [0, "isOpen"]
      }, {
        close: "close",
        open: "open"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "app-search-box", [["class", "search-box"]], null, null, null, _search_box_search_box_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_SearchBoxComponent_0"], _search_box_search_box_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_SearchBoxComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 114688, null, 0, _search_box_search_box_component__WEBPACK_IMPORTED_MODULE_7__["SearchBoxComponent"], [_shared_services_search_service__WEBPACK_IMPORTED_MODULE_5__["SearchService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__["HanhChinhService"], _shared_services_popup_service__WEBPACK_IMPORTED_MODULE_9__["PopupService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_10__["LoginService"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 1, "app-info-map", [], null, null, null, _info_map_info_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["View_InfoMapComponent_0"], _info_map_info_map_component_ngfactory__WEBPACK_IMPORTED_MODULE_11__["RenderType_InfoMapComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, null, 0, _info_map_info_map_component__WEBPACK_IMPORTED_MODULE_12__["InfoMapComponent"], [], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 1, "app-popup", [], null, [[null, "close"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("close" === en) {
          var pd_0 = _co.handleClosePopup($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _popup_popup_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__["View_PopupComponent_0"], _popup_popup_component_ngfactory__WEBPACK_IMPORTED_MODULE_13__["RenderType_PopupComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 114688, null, 0, _popup_popup_component__WEBPACK_IMPORTED_MODULE_14__["PopupComponent"], [_shared_services_popup_service__WEBPACK_IMPORTED_MODULE_9__["PopupService"], _manager_shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_15__["BtsAttachmentService"], _shared_services_search_service__WEBPACK_IMPORTED_MODULE_5__["SearchService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_8__["HanhChinhService"]], null, {
        close: "close"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 1, "app-vung-phu-bts", [], null, null, null, _vung_phu_bts_vung_phu_bts_component_ngfactory__WEBPACK_IMPORTED_MODULE_16__["View_VungPhuBtsComponent_0"], _vung_phu_bts_vung_phu_bts_component_ngfactory__WEBPACK_IMPORTED_MODULE_16__["RenderType_VungPhuBtsComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 4308992, null, 0, _vung_phu_bts_vung_phu_bts_component__WEBPACK_IMPORTED_MODULE_17__["VungPhuBtsComponent"], [_shared_services_vung_phu_bts_service__WEBPACK_IMPORTED_MODULE_18__["VungPhuBtsService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_19__["NgbModal"]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "app-measure", [], null, null, null, _measure_measure_component_ngfactory__WEBPACK_IMPORTED_MODULE_20__["View_MeasureComponent_0"], _measure_measure_component_ngfactory__WEBPACK_IMPORTED_MODULE_20__["RenderType_MeasureComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](14, 4308992, null, 0, _measure_measure_component__WEBPACK_IMPORTED_MODULE_21__["MeasureComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__["MapService"]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isOpendTblInfo;

        _ck(_v, 4, 0, currVal_0);

        _ck(_v, 6, 0);

        _ck(_v, 8, 0);

        _ck(_v, 10, 0);

        _ck(_v, 12, 0);

        _ck(_v, 14, 0);
      }, null);
    }

    function View_MapComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-map", [], null, null, null, View_MapComponent_0, RenderType_MapComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _map_component__WEBPACK_IMPORTED_MODULE_22__["MapComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_4__["MapService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var MapComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-map", _map_component__WEBPACK_IMPORTED_MODULE_22__["MapComponent"], View_MapComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/map/map.component.scss.shim.ngstyle.js":
  /*!********************************************************!*\
    !*** ./src/app/map/map.component.scss.shim.ngstyle.js ***!
    \********************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapMapComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".viewDiv[_ngcontent-%COMP%] {\n  width: 100vw;\n  position: relative;\n  left: 50%;\n  right: 50%;\n  margin-left: -50vw;\n  margin-right: -50vw;\n  height: 90vh;\n  display: flex;\n  z-index: 2;\n}\n.viewDiv[_ngcontent-%COMP%]   .expand[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 10px;\n  right: 10px;\n}\n.viewDiv[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  left: 15px;\n  z-index: 999;\n}\n.viewDiv[_ngcontent-%COMP%]   .side-nav[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0px;\n  right: 0px;\n  height: 100%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL0M6XFxKZW5raW5zXFx3b3Jrc3BhY2VcXF9jaGluaC12aWVuLXRob25nX3dlYi1naXNfbWFzdGVyL3NyY1xcYXBwXFxtYXBcXG1hcC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFwL21hcC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFlBQUE7RUFDQSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxVQUFBO0VBQ0Esa0JBQUE7RUFDQSxtQkFBQTtFQUNBLFlBQUE7RUFDQSxhQUFBO0VBQ0EsVUFBQTtBQ0NGO0FEQUU7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0FDRUo7QURDRTtFQUNFLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0FDQ0o7QURFRTtFQUNFLGtCQUFBO0VBQ0EsUUFBQTtFQUNBLFVBQUE7RUFDQSxZQUFBO0FDQUoiLCJmaWxlIjoic3JjL2FwcC9tYXAvbWFwLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnZpZXdEaXYge1xyXG4gIHdpZHRoOiAxMDB2dztcclxuICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgbGVmdDogNTAlO1xyXG4gIHJpZ2h0OiA1MCU7XHJcbiAgbWFyZ2luLWxlZnQ6IC01MHZ3O1xyXG4gIG1hcmdpbi1yaWdodDogLTUwdnc7XHJcbiAgaGVpZ2h0OiA5MHZoO1xyXG4gIGRpc3BsYXk6IGZsZXg7XHJcbiAgei1pbmRleDogMjtcclxuICAuZXhwYW5kIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHRvcDogMTBweDtcclxuICAgIHJpZ2h0OiAxMHB4O1xyXG4gIH1cclxuICBcclxuICAuc2VhcmNoLWJveCB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICB0b3A6IDE1cHg7XHJcbiAgICBsZWZ0OiAxNXB4O1xyXG4gICAgei1pbmRleDogOTk5O1xyXG4gIH1cclxuXHJcbiAgLnNpZGUtbmF2IHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHRvcDogMHB4O1xyXG4gICAgcmlnaHQ6IDBweDtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICB9XHJcbn1cclxuXHJcbiIsIi52aWV3RGl2IHtcbiAgd2lkdGg6IDEwMHZ3O1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIGxlZnQ6IDUwJTtcbiAgcmlnaHQ6IDUwJTtcbiAgbWFyZ2luLWxlZnQ6IC01MHZ3O1xuICBtYXJnaW4tcmlnaHQ6IC01MHZ3O1xuICBoZWlnaHQ6IDkwdmg7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIHotaW5kZXg6IDI7XG59XG4udmlld0RpdiAuZXhwYW5kIHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDEwcHg7XG4gIHJpZ2h0OiAxMHB4O1xufVxuLnZpZXdEaXYgLnNlYXJjaC1ib3gge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMTVweDtcbiAgbGVmdDogMTVweDtcbiAgei1pbmRleDogOTk5O1xufVxuLnZpZXdEaXYgLnNpZGUtbmF2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDBweDtcbiAgcmlnaHQ6IDBweDtcbiAgaGVpZ2h0OiAxMDAlO1xufSJdfQ== */"];
    /***/
  },

  /***/
  "./src/app/map/map.component.ts":
  /*!**************************************!*\
    !*** ./src/app/map/map.component.ts ***!
    \**************************************/

  /*! exports provided: MapComponent */

  /***/
  function srcAppMapMapComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MapComponent", function () {
      return MapComponent;
    });

    var MapComponent = /*#__PURE__*/function () {
      function MapComponent(service) {
        _classCallCheck(this, MapComponent);

        this.service = service;
        this.isOpenSideNav = false;
        this.isOpendTblInfo = false;
        this.isOpenPopup = false;
      }

      _createClass(MapComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          this.service.loadMap({
            element: this.mapEl.nativeElement
          });
          this.viewOnClick(); // this.popupService.open$.subscribe(open => this.isOpenPopup = open);
        }
      }, {
        key: "expand",
        value: function expand() {
          this.service.relativeTo();
          this.isOpenSideNav = !this.isOpenSideNav;
        }
      }, {
        key: "handleCloseSideNav",
        value: function handleCloseSideNav(val) {
          this.isOpenSideNav = val;
        }
      }, {
        key: "handleCloseTblInfo",
        value: function handleCloseTblInfo(val) {
          this.isOpendTblInfo = val;
        }
      }, {
        key: "handleOpenTblInfo",
        value: function handleOpenTblInfo(val) {
          this.isOpendTblInfo = val;
        }
      }, {
        key: "handleClosePopup",
        value: function handleClosePopup(val) {
          this.isOpenPopup = val;
        }
      }, {
        key: "viewOnClick",
        value: function viewOnClick() {
          var _this215 = this;

          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              _this215.service.view.popup.watch('selectedFeature', function (graphic) {
                if (graphic) {}
              });
            }
          });
        }
      }]);

      return MapComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/map.module.ts":
  /*!***********************************!*\
    !*** ./src/app/map/map.module.ts ***!
    \***********************************/

  /*! exports provided: MapModule */

  /***/
  function srcAppMapMapModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MapModule", function () {
      return MapModule;
    });

    var MapModule = /*#__PURE__*/_createClass(function MapModule() {
      _classCallCheck(this, MapModule);
    });
    /***/

  },

  /***/
  "./src/app/map/measure/measure.component.ngfactory.js":
  /*!************************************************************!*\
    !*** ./src/app/map/measure/measure.component.ngfactory.js ***!
    \************************************************************/

  /*! exports provided: RenderType_MeasureComponent, View_MeasureComponent_0, View_MeasureComponent_Host_0, MeasureComponentNgFactory */

  /***/
  function srcAppMapMeasureMeasureComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_MeasureComponent", function () {
      return RenderType_MeasureComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MeasureComponent_0", function () {
      return View_MeasureComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_MeasureComponent_Host_0", function () {
      return View_MeasureComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MeasureComponentNgFactory", function () {
      return MeasureComponentNgFactory;
    });
    /* harmony import */


    var _measure_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./measure.component.scss.shim.ngstyle */
    "./src/app/map/measure/measure.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _measure_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./measure.component */
    "./src/app/map/measure/measure.component.ts");
    /* harmony import */


    var _shared_services_map_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_MeasureComponent = [_measure_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_MeasureComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_MeasureComponent,
      data: {}
    });

    function View_MeasureComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        toolbarDiv: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["toolbarDiv", 1]], null, 3, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-measure-line"], ["id", "distance"], ["title", "Distance Measurement Tool"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.distanceMeasurement($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-measure-area"], ["id", "area"], ["title", "Area Measurement Tool"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.areaMeasurement($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-trash"], ["id", "clear"], ["title", "Clear Measurements"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.clearMeasurements() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isActiveDistance;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _co.isActiveArea;

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_MeasureComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-measure", [], null, null, null, View_MeasureComponent_0, RenderType_MeasureComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _measure_component__WEBPACK_IMPORTED_MODULE_2__["MeasureComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_3__["MapService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var MeasureComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-measure", _measure_component__WEBPACK_IMPORTED_MODULE_2__["MeasureComponent"], View_MeasureComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/map/measure/measure.component.scss.shim.ngstyle.js":
  /*!********************************************************************!*\
    !*** ./src/app/map/measure/measure.component.scss.shim.ngstyle.js ***!
    \********************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapMeasureMeasureComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["#toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 55px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n\n#infoDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  left: 60px;\n}\n\n#infoDiv[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  border: none;\n  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 2px;\n}\n\n.esri-widget--button.active[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:hover, .esri-widget--button.active[_ngcontent-%COMP%]:focus {\n  cursor: default;\n  background-color: #999696;\n}\n\n.esri-widget--button.active[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:hover   path[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:focus   path[_ngcontent-%COMP%] {\n  fill: #e4e4e4;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL21lYXN1cmUvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hcFxcbWVhc3VyZVxcbWVhc3VyZS5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFwL21lYXN1cmUvbWVhc3VyZS5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFdBQUE7RUFDQSxlQUFBO0VBQ0EsYUFBQTtFQUNBLG1CQUFBO0VBQ0EsaUJBQUE7QUNDSjs7QURFRTtFQUNFLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFVBQUE7QUNDSjs7QURDRTtFQUNFLFlBQUE7RUFDQSwwQ0FBQTtBQ0VKOztBRENFOzs7RUFHRSxlQUFBO0VBQ0EseUJBQUE7QUNFSjs7QURBRTs7O0VBR0UsYUFBQTtBQ0dKIiwiZmlsZSI6InNyYy9hcHAvbWFwL21lYXN1cmUvbWVhc3VyZS5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbIiN0b29sYmFyRGl2IHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHRvcDogMTVweDtcclxuICAgIHJpZ2h0OiA1NXB4O1xyXG4gICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgZGlzcGxheTogZmxleDtcclxuICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XHJcbiAgICBmbGV4LXdyYXA6IG5vd3JhcDtcclxuICB9XHJcblxyXG4gICNpbmZvRGl2IHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHRvcDogMTVweDtcclxuICAgIGxlZnQ6IDYwcHg7XHJcbiAgfVxyXG4gICNpbmZvRGl2IGlucHV0IHtcclxuICAgIGJvcmRlcjogbm9uZTtcclxuICAgIGJveC1zaGFkb3c6IHJnYmEoMCwgMCwgMCwgMC4zKSAwcHggMXB4IDJweDtcclxuICB9XHJcblxyXG4gIC5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZSxcclxuICAuZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6aG92ZXIsXHJcbiAgLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlOmZvY3VzIHtcclxuICAgIGN1cnNvcjogZGVmYXVsdDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICM5OTk2OTY7XHJcbiAgfVxyXG4gIC5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZSBwYXRoLFxyXG4gIC5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpob3ZlciBwYXRoLFxyXG4gIC5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpmb2N1cyBwYXRoIHtcclxuICAgIGZpbGw6ICNlNGU0ZTQ7XHJcbiAgfSIsIiN0b29sYmFyRGl2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDE1cHg7XG4gIHJpZ2h0OiA1NXB4O1xuICBjdXJzb3I6IGRlZmF1bHQ7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gIGZsZXgtd3JhcDogbm93cmFwO1xufVxuXG4jaW5mb0RpdiB7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAxNXB4O1xuICBsZWZ0OiA2MHB4O1xufVxuXG4jaW5mb0RpdiBpbnB1dCB7XG4gIGJvcmRlcjogbm9uZTtcbiAgYm94LXNoYWRvdzogcmdiYSgwLCAwLCAwLCAwLjMpIDBweCAxcHggMnB4O1xufVxuXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmUsXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6aG92ZXIsXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6Zm9jdXMge1xuICBjdXJzb3I6IGRlZmF1bHQ7XG4gIGJhY2tncm91bmQtY29sb3I6ICM5OTk2OTY7XG59XG5cbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZSBwYXRoLFxuLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlOmhvdmVyIHBhdGgsXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6Zm9jdXMgcGF0aCB7XG4gIGZpbGw6ICNlNGU0ZTQ7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/map/measure/measure.component.ts":
  /*!**************************************************!*\
    !*** ./src/app/map/measure/measure.component.ts ***!
    \**************************************************/

  /*! exports provided: MeasureComponent */

  /***/
  function srcAppMapMeasureMeasureComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MeasureComponent", function () {
      return MeasureComponent;
    });
    /* harmony import */


    var esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/widgets/Measurement */
    "./node_modules/arcgis-js-api/widgets/Measurement.js");
    /* harmony import */


    var esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_0__);

    var MeasureComponent = /*#__PURE__*/function () {
      function MeasureComponent(service) {
        _classCallCheck(this, MeasureComponent);

        this.service = service;
        this.isActiveDistance = false;
        this.isActiveArea = false;
        this.measurement = new esri_widgets_Measurement__WEBPACK_IMPORTED_MODULE_0___default.a({
          areaUnit: 'square-kilometers',
          linearUnit: 'kilometers'
        });
      }

      _createClass(MeasureComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this216 = this;

          this.service.loaded$.subscribe(function (loaded) {
            console.log(loaded);

            if (loaded) {
              _this216.service.view.ui.add(_this216.toolbarDiv.nativeElement, 'top-right');

              _this216.measurement.view = _this216.service.view;

              _this216.service.view.ui.add(_this216.measurement, 'bottom-right');

              _this216.view = _this216.service.view;
            }
          });
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {}
      }, {
        key: "distanceMeasurement",
        value: function distanceMeasurement(event) {
          if (this.clickHandle) {
            this.clickHandle.remove();
          }

          this.clickHandle = this.service.view.on('click', function (e) {
            return e.stopPropagation();
          });
          this.measurement.activeTool = "distance";

          if (this.isActiveDistance) {
            this.isActiveDistance = false;
            this.clickHandle.remove();
            this.measurement.clear();
          } else {
            this.isActiveDistance = true;
          }
        }
      }, {
        key: "areaMeasurement",
        value: function areaMeasurement(event) {
          if (this.clickHandle) {
            this.clickHandle.remove();
          }

          this.clickHandle = this.service.view.on('click', function (e) {
            return e.stopPropagation();
          });
          event.stopPropagation();
          this.measurement.activeTool = "area";

          if (this.isActiveArea) {
            this.isActiveArea = !this.isActiveArea;
            this.clickHandle.remove();
          }
        }
      }, {
        key: "clearMeasurements",
        value: function clearMeasurements() {
          this.measurement.clear();
          this.isActiveArea = false;
          this.isActiveDistance = false;
          this.clickHandle.remove();
        }
      }]);

      return MeasureComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/measure/measure.module.ts":
  /*!***********************************************!*\
    !*** ./src/app/map/measure/measure.module.ts ***!
    \***********************************************/

  /*! exports provided: MeasureModule */

  /***/
  function srcAppMapMeasureMeasureModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MeasureModule", function () {
      return MeasureModule;
    });

    var MeasureModule = /*#__PURE__*/_createClass(function MeasureModule() {
      _classCallCheck(this, MeasureModule);
    });
    /***/

  },

  /***/
  "./src/app/map/popup/popup.component.ngfactory.js":
  /*!********************************************************!*\
    !*** ./src/app/map/popup/popup.component.ngfactory.js ***!
    \********************************************************/

  /*! exports provided: RenderType_PopupComponent, View_PopupComponent_0, View_PopupComponent_Host_0, PopupComponentNgFactory */

  /***/
  function srcAppMapPopupPopupComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_PopupComponent", function () {
      return RenderType_PopupComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PopupComponent_0", function () {
      return View_PopupComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_PopupComponent_Host_0", function () {
      return View_PopupComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PopupComponentNgFactory", function () {
      return PopupComponentNgFactory;
    });
    /* harmony import */


    var _popup_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./popup.component.scss.shim.ngstyle */
    "./src/app/map/popup/popup.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _popup_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./popup.component */
    "./src/app/map/popup/popup.component.ts");
    /* harmony import */


    var _shared_services_popup_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../shared/services/popup.service */
    "./src/app/map/shared/services/popup.service.ts");
    /* harmony import */


    var _manager_shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../manager/shared/services/bts-attachment.service */
    "./src/app/manager/shared/services/bts-attachment.service.ts");
    /* harmony import */


    var _shared_services_search_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../shared/services/search.service */
    "./src/app/map/shared/services/search.service.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_PopupComponent = [_popup_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_PopupComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_PopupComponent,
      data: {}
    });

    function View_PopupComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "li", [["class", "list-group-item"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.showContent(_v.context.$implicit, _v.context.index) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "a", [["class", "btn-floating btn-fb btn-sm pr-4"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "img", [["height", "18px"], ["width", "18px"]], [[8, "src", 4]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 1, "span", [], [[2, "active", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](4, null, ["", ""]))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.indexSelected === _v.context.index;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _co.getImage(_v.context.$implicit);

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = _co.indexSelected === _v.context.index;

        _ck(_v, 3, 0, currVal_2);

        var currVal_3 = _co.getTitle(_v.context.$implicit);

        _ck(_v, 4, 0, currVal_3);
      });
    }

    function View_PopupComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "div", [["class", "row m-0"]], [[2, "odd", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "label", [["class", "col-5 font-weight-lighter"], ["for", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 2, "div", [["class", "col-7 text-dark prop"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](4, null, [" ", " "])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵppd"](5, 2)], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.odd;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _v.context.$implicit == null ? null : _v.context.$implicit.name;

        _ck(_v, 2, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.type === "date" ? _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵunv"](_v, 4, 0, _ck(_v, 5, 0, _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v.parent.parent, 0), _co.content[_v.context.$implicit == null ? null : _v.context.$implicit.prop], "dd/MM/yyyy")) : _co.content[_v.context.$implicit == null ? null : _v.context.$implicit.prop];

        _ck(_v, 4, 0, currVal_2);
      });
    }

    function View_PopupComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 18, "div", [["class", "popup"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "div", [["class", "popup-image"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "img", [["alt", ""], ["src", "/assets/images/popup.jpg"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 15, "div", [["class", "popup-content"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "a", [["class", "closebtn"], ["href", "javascript:void(0)"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.service.close() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["\xD7"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 12, "div", [["class", "description h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 11, "div", [["class", "info-container h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 3, "ul", [["class", "list-group list-group-flush text-dark shadow-sm"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 2, "ul", [["class", "list-group"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PopupComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 6, "perfect-scrollbar", [["class", "shadow mb-5 bg-white rounded text-dark mt-2 content"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](14, {
        "height": 0
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_4__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], {
        config: [0, "config"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](16, {
        suppressScrollX: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, 0, 1, null, View_PopupComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](18, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.features;

        _ck(_v, 11, 0, currVal_0);

        var currVal_3 = _ck(_v, 14, 0, _co.openContent ? "-webkit-fill-available" : 0);

        _ck(_v, 13, 0, currVal_3);

        var currVal_4 = _ck(_v, 16, 0, true);

        _ck(_v, 15, 0, currVal_4);

        var currVal_5 = _co.fieldsShow;

        _ck(_v, 18, 0, currVal_5);
      }, function (_ck, _v) {
        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).autoPropagation;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 15).scrollIndicators;

        _ck(_v, 12, 0, currVal_1, currVal_2);
      });
    }

    function View_PopupComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpid"](0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["DatePipe"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["LOCALE_ID"]]), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_PopupComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isOpen;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_PopupComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-popup", [], null, null, null, View_PopupComponent_0, RenderType_PopupComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _popup_component__WEBPACK_IMPORTED_MODULE_5__["PopupComponent"], [_shared_services_popup_service__WEBPACK_IMPORTED_MODULE_6__["PopupService"], _manager_shared_services_bts_attachment_service__WEBPACK_IMPORTED_MODULE_7__["BtsAttachmentService"], _shared_services_search_service__WEBPACK_IMPORTED_MODULE_8__["SearchService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_9__["HanhChinhService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var PopupComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-popup", _popup_component__WEBPACK_IMPORTED_MODULE_5__["PopupComponent"], View_PopupComponent_Host_0, {}, {
      close: "close"
    }, []);
    /***/

  },

  /***/
  "./src/app/map/popup/popup.component.scss.shim.ngstyle.js":
  /*!****************************************************************!*\
    !*** ./src/app/map/popup/popup.component.scss.shim.ngstyle.js ***!
    \****************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapPopupPopupComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["@charset \"UTF-8\";\n[_nghost-%COMP%]    .mat-select-value-text {\n  white-space: normal;\n}\n.popup[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 422px;\n  height: 100%;\n  overflow: hidden;\n  background-color: white;\n  box-shadow: 11px 6px 5px -11px rgba(0, 0, 0, 0.7);\n}\n.popup-image[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 180px;\n}\n.popup-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 100%;\n}\n.popup-content[_ngcontent-%COMP%] {\n  padding: 12px;\n  color: #FFF;\n  position: relative;\n  height: 66vh;\n}\n.popup-content[_ngcontent-%COMP%]   .big-title[_ngcontent-%COMP%] {\n  color: #000;\n}\n.popup-content[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%] {\n  color: #343a40;\n  font-size: 14px;\n}\n.popup-content[_ngcontent-%COMP%]   .closebtn[_ngcontent-%COMP%] {\n  font-size: 40px;\n  left: 410px;\n  text-decoration: none;\n  color: #003a74;\n  position: fixed;\n  z-index: 99999;\n  height: 35px;\n  background: #fff;\n  line-height: 0.7;\n  border-bottom-right-radius: 18px;\n  border-top-right-radius: 18px;\n  width: 35px;\n  text-align: center;\n}\n.popup-content[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .odd[_ngcontent-%COMP%] {\n  background-color: #f6f6f6;\n}\n.popup-content[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .prop[_ngcontent-%COMP%] {\n  border-left: 2px solid #ececec;\n}\n.popup-content[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .info-item[_ngcontent-%COMP%] {\n  display: flex;\n  margin: 18px 0px;\n}\n.popup-content[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .info-item-icon[_ngcontent-%COMP%] {\n  margin-left: 24px;\n  margin-right: 24px;\n  flex: 0 0 24px;\n  color: #2196f3;\n}\n.popup-content[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .info-item-text[_ngcontent-%COMP%] {\n  text-align: left;\n  font-size: 14px;\n}\n.popup-content[_ngcontent-%COMP%]   .info-container[_ngcontent-%COMP%]   .wrap-info[_ngcontent-%COMP%] {\n  font-size: 14px;\n}\n.popup-content[_ngcontent-%COMP%]   .map-action[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: center;\n  padding: 10px 22px;\n}\n.popup-content[_ngcontent-%COMP%]   .map-action-item[_ngcontent-%COMP%] {\n  color: #2196f3 !important;\n  cursor: pointer;\n  padding: 0 12px;\n  text-decoration: none !important;\n  \n  \n}\n.popup-content[_ngcontent-%COMP%]   .map-action-item[_ngcontent-%COMP%]:visited, .popup-content[_ngcontent-%COMP%]   .map-action-item[_ngcontent-%COMP%]:active {\n  color: #2196f3 !important;\n}\n.popup-content[_ngcontent-%COMP%]   .map-action-item[_ngcontent-%COMP%]:hover {\n  color: #f44336;\n  text-decoration: underline;\n}\n.popup-content[_ngcontent-%COMP%]   .map-action-item-icon[_ngcontent-%COMP%] {\n  text-align: center;\n}\n.popup-content[_ngcontent-%COMP%]   .map-action-item-text[_ngcontent-%COMP%] {\n  letter-spacing: 0.025em;\n  font-size: 0.75rem;\n  font-weight: 400;\n  line-height: 1rem;\n}\n.divider-bottom-line[_ngcontent-%COMP%] {\n  border-bottom: 1px solid #79797936;\n}\n.attach-title[_ngcontent-%COMP%] {\n  padding: 10px;\n  font-weight: 800;\n  color: #2196f3;\n}\n\n[class*=\" esri-icon-\"][_ngcontent-%COMP%] {\n  font-family: \"CalciteWebCoreIcons\" !important;\n  speak: none;\n  font-style: normal;\n  font-weight: normal;\n  font-variant: normal;\n  text-transform: none;\n  line-height: 1;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n.esri-icon-plus[_ngcontent-%COMP%]:before {\n  content: \"\uE620\";\n  color: inherit;\n}\n.esri-icon-right[_ngcontent-%COMP%]:before {\n  content: \"\uE62B\";\n  color: inherit;\n}\n.esri-widget[_ngcontent-%COMP%] {\n  box-sizing: border-box;\n  color: #323232;\n  font-size: 14px;\n  font-family: \"Avenir Next W00\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n  line-height: 1.3em;\n  background-color: #fff;\n}\n.esri-widget[_ngcontent-%COMP%]   *[_ngcontent-%COMP%], .esri-widget[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]:before, .esri-widget[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]:after {\n  box-sizing: inherit;\n}\n.esri-button[_ngcontent-%COMP%] {\n  align-items: center;\n  background-color: #0079c1;\n  border: 1px solid #0079c1;\n  color: #fff;\n  cursor: pointer;\n  display: flex;\n  font-family: inherit;\n  font-size: 14px;\n  min-height: 32px;\n  justify-content: center;\n  overflow: hidden;\n  padding: 6px 7px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  width: 100%;\n  transition: background-color 125ms ease-in-out, border 125ms ease-in-out;\n}\n.esri-button[_ngcontent-%COMP%]:hover {\n  background-color: #00598e;\n  border: 1px solid #00598e;\n  color: #fff;\n}\n.esri-button--tertiary[_ngcontent-%COMP%] {\n  background-color: transparent;\n  border-color: transparent;\n  color: #0079c1;\n}\n.esri-button--tertiary[_ngcontent-%COMP%]:hover {\n  background-color: transparent;\n  border-color: transparent;\n  color: #00598e;\n  text-decoration: underline;\n}\n[class*=esri-icon][_ngcontent-%COMP%] {\n  font-size: 16px;\n  display: inline-block;\n}\n.esri-attachments[_ngcontent-%COMP%] {\n  background-color: transparent;\n  width: 100%;\n}\n.esri-attachments__item-add-icon[_ngcontent-%COMP%] {\n  padding: 0 3px;\n}\n.esri-attachments[_ngcontent-%COMP%]   .esri-attachments__items[_ngcontent-%COMP%] {\n  display: flex;\n  padding: 0;\n  margin: 0;\n  width: 100%;\n}\n.esri-attachments[_ngcontent-%COMP%]   .esri-attachments__item[_ngcontent-%COMP%] {\n  line-height: 1.2em;\n  list-style-type: none;\n  margin: 0;\n}\n.esri-attachments__item-button[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  width: 100%;\n  background-color: #fff;\n  cursor: pointer;\n  border: 1px solid rgba(110, 110, 110, 0.3);\n  border-color: transparent;\n  border-radius: 2px;\n  text-align: unset;\n  text-decoration: none;\n  padding: 6px 7px;\n  margin: 0 0 6px;\n  outline-offset: -4px;\n  transition: border-color 125ms ease-in-out;\n  box-shadow: 0 1px 0 rgba(110, 110, 110, 0.3);\n}\n.esri-attachments__item-button[_ngcontent-%COMP%]:focus, .esri-attachments__item-button[_ngcontent-%COMP%]:hover {\n  border-color: #000;\n}\n.esri-attachments__add-attachment-button[_ngcontent-%COMP%] {\n  border-radius: 2px;\n  font-size: 12px;\n  justify-content: flex-start;\n  padding: 12px 3px;\n  transition: background-color 250ms ease-in-out;\n}\n.esri-attachments__add-attachment-button[_ngcontent-%COMP%]:hover {\n  background-color: #fff;\n  text-decoration: none;\n  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n}\n.esri-attachments__item-add-icon[_ngcontent-%COMP%] {\n  padding: 0 7px;\n}\n.esri-attachments__item-mask[_ngcontent-%COMP%] {\n  display: flex;\n  overflow: hidden;\n  position: relative;\n  justify-content: center;\n  align-items: center;\n  width: 64px;\n  height: 64px;\n  box-shadow: 0 0 0 1px rgba(110, 110, 110, 0.15);\n}\n.esri-attachments__container--list[_ngcontent-%COMP%]   .esri-attachments__items[_ngcontent-%COMP%] {\n  flex-direction: column;\n  flex-wrap: nowrap;\n}\n.esri-attachments__container--list[_ngcontent-%COMP%]   .esri-attachments__item-mask[_ngcontent-%COMP%] {\n  flex: 0 0 auto;\n  margin-right: 7px;\n  position: relative;\n}\n.esri-attachments__container--list[_ngcontent-%COMP%]   .esri-attachments__image[_ngcontent-%COMP%] {\n  max-width: unset;\n  max-height: 70px;\n  left: 50%;\n}\n.esri-attachments__container--list[_ngcontent-%COMP%]   .esri-attachments__label[_ngcontent-%COMP%] {\n  display: flex;\n  flex: 1 1 auto;\n  justify-content: space-between;\n}\n.esri-attachments__container--list[_ngcontent-%COMP%]   .esri-attachments__filename[_ngcontent-%COMP%] {\n  flex: 1 0 0%;\n  cursor: pointer;\n  word-break: break-all;\n}\n.esri-attachments__container--list[_ngcontent-%COMP%]   .esri-attachments__item-chevron-icon[_ngcontent-%COMP%] {\n  cursor: pointer;\n  flex: 0 0 auto;\n  padding: 0 15px;\n}\n\n@font-face {\n  font-family: \"CalciteWebCoreIcons\";\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/icons/fonts/CalciteWebCoreIcons.ttf?iz9r4h\") format(\"truetype\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/icons/fonts/CalciteWebCoreIcons.woff?iz9r4h\") format(\"woff\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/icons/fonts/CalciteWebCoreIcons.svg?iz9r4h#CalciteWebCoreIcons\") format(\"svg\");\n  font-weight: normal;\n  font-style: normal;\n}\n@font-face {\n  font-family: \"Avenir Next W00\";\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_400.eot#iefix\");\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_400.eot#iefix\") format(\"eot\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_400.woff2\") format(\"woff2\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_400.woff\") format(\"woff\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_400.ttf\") format(\"truetype\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_400.svg\") format(\"svg\");\n  font-weight: 400;\n  font-style: normal;\n}\n@font-face {\n  font-family: \"Avenir Next W00\";\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_400.eot#iefix\");\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_400.eot#iefix\") format(\"eot\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_400.woff2\") format(\"woff2\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_400.woff\") format(\"woff\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_400.ttf\") format(\"truetype\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_400.svg\") format(\"svg\");\n  font-weight: 400;\n  font-style: italic;\n}\n@font-face {\n  font-family: \"Avenir Next W00\";\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_600.eot#iefix\");\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_600.eot#iefix\") format(\"eot\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_600.woff2\") format(\"woff2\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_600.woff\") format(\"woff\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_600.ttf\") format(\"truetype\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_600.svg\") format(\"svg\");\n  font-weight: 600;\n  font-style: normal;\n}\n@font-face {\n  font-family: \"Avenir Next W00\";\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_600.eot#iefix\");\n  src: url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_600.eot#iefix\") format(\"eot\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_600.woff2\") format(\"woff2\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_600.woff\") format(\"woff\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_600.ttf\") format(\"truetype\"), url(\"https://js.arcgis.com/4.15/esri/themes/base/fonts/avenir-next/Avenir_Next_W00_Italic_600.svg\") format(\"svg\");\n  font-weight: 600;\n  font-style: italic;\n}\n\n.viewMore[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: flex-end;\n  font-size: 14px;\n}\n.viewMore[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  color: #2196f3;\n}\n[_nghost-%COMP%]     div.collapse.show {\n  height: 60vh;\n  overflow-y: auto;\n}\nul[_ngcontent-%COMP%]   li.active[_ngcontent-%COMP%] {\n  background-color: lightskyblue;\n  border-color: lightskyblue;\n}\nul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n  font-size: 18px;\n  font-weight: 500;\n  text-shadow: 2px 2px #e8e8e8;\n}\nul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span.active[_ngcontent-%COMP%] {\n  text-shadow: 2px 2px #8ab5c3;\n  color: #fff;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL3BvcHVwL3BvcHVwLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9tYXAvcG9wdXAvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hcFxccG9wdXBcXHBvcHVwLmNvbXBvbmVudC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdCQUFnQjtBQ0NaO0VBQ0UsbUJBQUE7QURDTjtBQ0dFO0VBQ0Usa0JBQUE7RUFDQSxNQUFBO0VBQ0EsT0FBQTtFQUNBLFlBQUE7RUFDQSxZQUFBO0VBRUEsZ0JBQUE7RUFFQSx1QkFBQTtFQUdBLGlEQUFBO0FERko7QUNJSTtFQUNFLFdBQUE7RUFDQSxhQUFBO0FERk47QUNJTTtFQUNFLFdBQUE7RUFDQSxZQUFBO0FERlI7QUNNSTtFQUNFLGFBQUE7RUFDQSxXQUFBO0VBQ0Esa0JBQUE7RUFDQSxZQUFBO0FESk47QUNNTTtFQUNFLFdBQUE7QURKUjtBQ09NO0VBQ0UsY0FBQTtFQUNBLGVBQUE7QURMUjtBQ1FJO0VBQ0UsZUFBQTtFQUNBLFdBQUE7RUFDQSxxQkFBQTtFQUNBLGNBQUE7RUFDQSxlQUFBO0VBQ0EsY0FBQTtFQUNBLFlBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0VBQ0EsZ0NBQUE7RUFDQSw2QkFBQTtFQUNBLFdBQUE7RUFDQSxrQkFBQTtBRE5OO0FDV1U7RUFDRSx5QkFBQTtBRFRaO0FDV1U7RUFDRSw4QkFBQTtBRFRaO0FDWVE7RUFDRSxhQUFBO0VBQ0EsZ0JBQUE7QURWVjtBQ1lVO0VBQ0UsaUJBQUE7RUFDQSxrQkFBQTtFQUNBLGNBQUE7RUFDQSxjQUFBO0FEVlo7QUNhVTtFQUNFLGdCQUFBO0VBQ0EsZUFBQTtBRFhaO0FDZVE7RUFDRSxlQUFBO0FEYlY7QUNpQk07RUFDRSxhQUFBO0VBQ0EsdUJBQUE7RUFDQSxrQkFBQTtBRGZSO0FDaUJRO0VBQ0UseUJBQUE7RUFDQSxlQUFBO0VBQ0EsZUFBQTtFQUNBLGdDQUFBO0VBRUEsb0JBQUE7RUFNQSxvQkFBQTtBRHJCVjtBQ2dCVTtFQUVFLHlCQUFBO0FEZlo7QUNtQlU7RUFDRSxjQUFBO0VBQ0EsMEJBQUE7QURqQlo7QUNvQlU7RUFDRSxrQkFBQTtBRGxCWjtBQ3FCVTtFQUNFLHVCQUFBO0VBQ0Esa0JBQUE7RUFDQSxnQkFBQTtFQUNBLGlCQUFBO0FEbkJaO0FDZ0NFO0VBQ0Usa0NBQUE7QUQ5Qko7QUNpQ0U7RUFDRSxhQUFBO0VBQ0EsZ0JBQUE7RUFDQSxjQUFBO0FEOUJKO0FDbUNFLDBFQUFBO0FBQ0Y7RUFBdUIsNkNBQUE7RUFBNEMsV0FBQTtFQUFXLGtCQUFBO0VBQWtCLG1CQUFBO0VBQW1CLG9CQUFBO0VBQW9CLG9CQUFBO0VBQW9CLGNBQUE7RUFBYyxtQ0FBQTtFQUFtQyxrQ0FBQTtBRHZCNU07QUN3QkE7RUFBdUIsWUFBQTtFQUFnQixjQUFBO0FEbkJ2QztBQ29CQTtFQUF3QixZQUFBO0VBQWdCLGNBQUE7QURmeEM7QUNnQkE7RUFBYSxzQkFBQTtFQUFzQixjQUFBO0VBQWMsZUFBQTtFQUFlLDhFQUFBO0VBQTBFLGtCQUFBO0VBQWtCLHNCQUFBO0FEUDVKO0FDUUE7RUFBMEQsbUJBQUE7QURKMUQ7QUNLQTtFQUFhLG1CQUFBO0VBQW1CLHlCQUFBO0VBQXlCLHlCQUFBO0VBQXlCLFdBQUE7RUFBVyxlQUFBO0VBQWUsYUFBQTtFQUFhLG9CQUFBO0VBQW9CLGVBQUE7RUFBZSxnQkFBQTtFQUFnQix1QkFBQTtFQUF1QixnQkFBQTtFQUFnQixnQkFBQTtFQUFnQix1QkFBQTtFQUF1QixtQkFBQTtFQUFtQixXQUFBO0VBQVcsd0VBQUE7QURjeFI7QUNiQTtFQUFtQix5QkFBQTtFQUF5Qix5QkFBQTtFQUF5QixXQUFBO0FEbUJyRTtBQ2xCQTtFQUF1Qiw2QkFBQTtFQUE2Qix5QkFBQTtFQUF5QixjQUFBO0FEd0I3RTtBQ3ZCQTtFQUE2Qiw2QkFBQTtFQUE2Qix5QkFBQTtFQUF5QixjQUFBO0VBQWMsMEJBQUE7QUQ4QmpHO0FDN0JBO0VBQXFCLGVBQUE7RUFBZSxxQkFBQTtBRGtDcEM7QUNqQ0E7RUFBa0IsNkJBQUE7RUFBNkIsV0FBQTtBRHNDL0M7QUNyQ0E7RUFBaUMsY0FBQTtBRHlDakM7QUN4Q0E7RUFBMkMsYUFBQTtFQUFhLFVBQUE7RUFBVSxTQUFBO0VBQVMsV0FBQTtBRCtDM0U7QUM5Q0E7RUFBMEMsa0JBQUE7RUFBa0IscUJBQUE7RUFBcUIsU0FBQTtBRG9EakY7QUNuREE7RUFBK0IsYUFBQTtFQUFhLG1CQUFBO0VBQW1CLFdBQUE7RUFBVyxzQkFBQTtFQUFzQixlQUFBO0VBQWUsMENBQUE7RUFBdUMseUJBQUE7RUFBeUIsa0JBQUE7RUFBa0IsaUJBQUE7RUFBaUIscUJBQUE7RUFBcUIsZ0JBQUE7RUFBZ0IsZUFBQTtFQUFlLG9CQUFBO0VBQW9CLDBDQUFBO0VBQTBDLDRDQUFBO0FEcUVwVTtBQ3BFQTtFQUEwRSxrQkFBQTtBRHdFMUU7QUN2RUE7RUFBeUMsa0JBQUE7RUFBa0IsZUFBQTtFQUFlLDJCQUFBO0VBQTJCLGlCQUFBO0VBQWlCLDhDQUFBO0FEK0V0SDtBQzlFQTtFQUErQyxzQkFBQTtFQUFzQixxQkFBQTtFQUFxQix3Q0FBQTtBRG9GMUY7QUNuRkE7RUFBaUMsY0FBQTtBRHVGakM7QUN0RkE7RUFBNkIsYUFBQTtFQUFhLGdCQUFBO0VBQWdCLGtCQUFBO0VBQWtCLHVCQUFBO0VBQXVCLG1CQUFBO0VBQW1CLFdBQUE7RUFBVyxZQUFBO0VBQVksK0NBQUE7QURpRzdJO0FDaEdBO0VBQTRELHNCQUFBO0VBQXNCLGlCQUFBO0FEcUdsRjtBQ3BHQTtFQUFnRSxjQUFBO0VBQWMsaUJBQUE7RUFBaUIsa0JBQUE7QUQwRy9GO0FDekdBO0VBQTRELGdCQUFBO0VBQWdCLGdCQUFBO0VBQWdCLFNBQUE7QUQrRzVGO0FDOUdBO0VBQTRELGFBQUE7RUFBYSxjQUFBO0VBQWMsOEJBQUE7QURvSHZGO0FDbkhBO0VBQStELFlBQUE7RUFBWSxlQUFBO0VBQWUscUJBQUE7QUR5SDFGO0FDeEhBO0VBQXdFLGVBQUE7RUFBZSxjQUFBO0VBQWMsZUFBQTtBRDhIckc7QUM3SEEsd0JBQUE7QUFDQTtFQUFXLGtDQUFBO0VBQWtDLHFXQUFBO0VBQW1XLG1CQUFBO0VBQW1CLGtCQUFBO0FEb0luYTtBQ25JQTtFQUFXLDhCQUFBO0VBQThCLHVHQUFBO0VBQXVHLGdqQkFBQTtFQUE0aUIsZ0JBQUE7RUFBZ0Isa0JBQUE7QUQwSTVzQjtBQ3pJQTtFQUFXLDhCQUFBO0VBQThCLDhHQUFBO0VBQThHLG1sQkFBQTtFQUEra0IsZ0JBQUE7RUFBZ0Isa0JBQUE7QURnSnR2QjtBQy9JQTtFQUFXLDhCQUFBO0VBQThCLHVHQUFBO0VBQXVHLGdqQkFBQTtFQUE0aUIsZ0JBQUE7RUFBZ0Isa0JBQUE7QURzSjVzQjtBQ3JKQTtFQUFXLDhCQUFBO0VBQThCLDhHQUFBO0VBQThHLG1sQkFBQTtFQUEra0IsZ0JBQUE7RUFBZ0Isa0JBQUE7QUQ0SnR2QjtBQzNKQywwRUFBQTtBQUVDO0VBQ0UsYUFBQTtFQUNBLHlCQUFBO0VBQ0EsZUFBQTtBRDRKSjtBQzFKSTtFQUNFLGNBQUE7QUQ0Sk47QUN0Skk7RUFDRSxZQUFBO0VBQ0EsZ0JBQUE7QUR5Sk47QUNuSk07RUFDRSw4QkFBQTtFQUNBLDBCQUFBO0FEc0pSO0FDcEpNO0VBRUUsZUFBQTtFQUNBLGdCQUFBO0VBQ0EsNEJBQUE7QURxSlI7QUNwSlE7RUFDRSw0QkFBQTtFQUNBLFdBQUE7QURzSlYiLCJmaWxlIjoic3JjL2FwcC9tYXAvcG9wdXAvcG9wdXAuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyJAY2hhcnNldCBcIlVURi04XCI7XG46aG9zdCA6Om5nLWRlZXAubWF0LXNlbGVjdC12YWx1ZS10ZXh0IHtcbiAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcbn1cblxuLnBvcHVwIHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDA7XG4gIGxlZnQ6IDA7XG4gIHdpZHRoOiA0MjJweDtcbiAgaGVpZ2h0OiAxMDAlO1xuICBvdmVyZmxvdzogaGlkZGVuO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcbiAgLXdlYmtpdC1ib3gtc2hhZG93OiAxMXB4IDZweCA1cHggLTExcHggcmdiYSgwLCAwLCAwLCAwLjcpO1xuICAtbW96LWJveC1zaGFkb3c6IDExcHggNnB4IDVweCAtMTFweCByZ2JhKDAsIDAsIDAsIDAuNyk7XG4gIGJveC1zaGFkb3c6IDExcHggNnB4IDVweCAtMTFweCByZ2JhKDAsIDAsIDAsIDAuNyk7XG59XG4ucG9wdXAtaW1hZ2Uge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxODBweDtcbn1cbi5wb3B1cC1pbWFnZSBpbWcge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xufVxuLnBvcHVwLWNvbnRlbnQge1xuICBwYWRkaW5nOiAxMnB4O1xuICBjb2xvcjogI0ZGRjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBoZWlnaHQ6IDY2dmg7XG59XG4ucG9wdXAtY29udGVudCAuYmlnLXRpdGxlIHtcbiAgY29sb3I6ICMwMDA7XG59XG4ucG9wdXAtY29udGVudCAuc3ViLXRpdGxlIHtcbiAgY29sb3I6ICMzNDNhNDA7XG4gIGZvbnQtc2l6ZTogMTRweDtcbn1cbi5wb3B1cC1jb250ZW50IC5jbG9zZWJ0biB7XG4gIGZvbnQtc2l6ZTogNDBweDtcbiAgbGVmdDogNDEwcHg7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgY29sb3I6ICMwMDNhNzQ7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgei1pbmRleDogOTk5OTk7XG4gIGhlaWdodDogMzVweDtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgbGluZS1oZWlnaHQ6IDAuNztcbiAgYm9yZGVyLWJvdHRvbS1yaWdodC1yYWRpdXM6IDE4cHg7XG4gIGJvcmRlci10b3AtcmlnaHQtcmFkaXVzOiAxOHB4O1xuICB3aWR0aDogMzVweDtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxuLnBvcHVwLWNvbnRlbnQgLmluZm8tY29udGFpbmVyIC5jb250ZW50IC5vZGQge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZjZmNmY2O1xufVxuLnBvcHVwLWNvbnRlbnQgLmluZm8tY29udGFpbmVyIC5jb250ZW50IC5wcm9wIHtcbiAgYm9yZGVyLWxlZnQ6IDJweCBzb2xpZCAjZWNlY2VjO1xufVxuLnBvcHVwLWNvbnRlbnQgLmluZm8tY29udGFpbmVyIC5pbmZvLWl0ZW0ge1xuICBkaXNwbGF5OiBmbGV4O1xuICBtYXJnaW46IDE4cHggMHB4O1xufVxuLnBvcHVwLWNvbnRlbnQgLmluZm8tY29udGFpbmVyIC5pbmZvLWl0ZW0taWNvbiB7XG4gIG1hcmdpbi1sZWZ0OiAyNHB4O1xuICBtYXJnaW4tcmlnaHQ6IDI0cHg7XG4gIGZsZXg6IDAgMCAyNHB4O1xuICBjb2xvcjogIzIxOTZmMztcbn1cbi5wb3B1cC1jb250ZW50IC5pbmZvLWNvbnRhaW5lciAuaW5mby1pdGVtLXRleHQge1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xuICBmb250LXNpemU6IDE0cHg7XG59XG4ucG9wdXAtY29udGVudCAuaW5mby1jb250YWluZXIgLndyYXAtaW5mbyB7XG4gIGZvbnQtc2l6ZTogMTRweDtcbn1cbi5wb3B1cC1jb250ZW50IC5tYXAtYWN0aW9uIHtcbiAgZGlzcGxheTogZmxleDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIHBhZGRpbmc6IDEwcHggMjJweDtcbn1cbi5wb3B1cC1jb250ZW50IC5tYXAtYWN0aW9uLWl0ZW0ge1xuICBjb2xvcjogIzIxOTZmMyAhaW1wb3J0YW50O1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIHBhZGRpbmc6IDAgMTJweDtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lICFpbXBvcnRhbnQ7XG4gIC8qIFVudmlzaXRlZCBsaW5rICAqL1xuICAvKiBTZWxlY3RlZCBsaW5rICAgKi9cbn1cbi5wb3B1cC1jb250ZW50IC5tYXAtYWN0aW9uLWl0ZW06dmlzaXRlZCwgLnBvcHVwLWNvbnRlbnQgLm1hcC1hY3Rpb24taXRlbTphY3RpdmUge1xuICBjb2xvcjogIzIxOTZmMyAhaW1wb3J0YW50O1xufVxuLnBvcHVwLWNvbnRlbnQgLm1hcC1hY3Rpb24taXRlbTpob3ZlciB7XG4gIGNvbG9yOiAjZjQ0MzM2O1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn1cbi5wb3B1cC1jb250ZW50IC5tYXAtYWN0aW9uLWl0ZW0taWNvbiB7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbi5wb3B1cC1jb250ZW50IC5tYXAtYWN0aW9uLWl0ZW0tdGV4dCB7XG4gIGxldHRlci1zcGFjaW5nOiAwLjAyNWVtO1xuICBmb250LXNpemU6IDAuNzVyZW07XG4gIGZvbnQtd2VpZ2h0OiA0MDA7XG4gIGxpbmUtaGVpZ2h0OiAxcmVtO1xufVxuLmRpdmlkZXItYm90dG9tLWxpbmUge1xuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIzc5Nzk3OTM2O1xufVxuXG4uYXR0YWNoLXRpdGxlIHtcbiAgcGFkZGluZzogMTBweDtcbiAgZm9udC13ZWlnaHQ6IDgwMDtcbiAgY29sb3I6ICMyMTk2ZjM7XG59XG5cbi8qISBDU1MgVXNlZCBmcm9tOiBodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9saWdodC9tYWluLmNzcyAqL1xuW2NsYXNzKj1cIiBlc3JpLWljb24tXCJdIHtcbiAgZm9udC1mYW1pbHk6IFwiQ2FsY2l0ZVdlYkNvcmVJY29uc1wiICFpbXBvcnRhbnQ7XG4gIHNwZWFrOiBub25lO1xuICBmb250LXN0eWxlOiBub3JtYWw7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gIGZvbnQtdmFyaWFudDogbm9ybWFsO1xuICB0ZXh0LXRyYW5zZm9ybTogbm9uZTtcbiAgbGluZS1oZWlnaHQ6IDE7XG4gIC13ZWJraXQtZm9udC1zbW9vdGhpbmc6IGFudGlhbGlhc2VkO1xuICAtbW96LW9zeC1mb250LXNtb290aGluZzogZ3JheXNjYWxlO1xufVxuXG4uZXNyaS1pY29uLXBsdXM6YmVmb3JlIHtcbiAgY29udGVudDogXCLumKBcIjtcbiAgY29sb3I6IGluaGVyaXQ7XG59XG5cbi5lc3JpLWljb24tcmlnaHQ6YmVmb3JlIHtcbiAgY29udGVudDogXCLumKtcIjtcbiAgY29sb3I6IGluaGVyaXQ7XG59XG5cbi5lc3JpLXdpZGdldCB7XG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIGNvbG9yOiAjMzIzMjMyO1xuICBmb250LXNpemU6IDE0cHg7XG4gIGZvbnQtZmFtaWx5OiBcIkF2ZW5pciBOZXh0IFcwMFwiLCBcIkhlbHZldGljYSBOZXVlXCIsIEhlbHZldGljYSwgQXJpYWwsIHNhbnMtc2VyaWY7XG4gIGxpbmUtaGVpZ2h0OiAxLjNlbTtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbn1cblxuLmVzcmktd2lkZ2V0ICosIC5lc3JpLXdpZGdldCAqOmJlZm9yZSwgLmVzcmktd2lkZ2V0ICo6YWZ0ZXIge1xuICBib3gtc2l6aW5nOiBpbmhlcml0O1xufVxuXG4uZXNyaS1idXR0b24ge1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMDA3OWMxO1xuICBib3JkZXI6IDFweCBzb2xpZCAjMDA3OWMxO1xuICBjb2xvcjogI2ZmZjtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICBkaXNwbGF5OiBmbGV4O1xuICBmb250LWZhbWlseTogaW5oZXJpdDtcbiAgZm9udC1zaXplOiAxNHB4O1xuICBtaW4taGVpZ2h0OiAzMnB4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgcGFkZGluZzogNnB4IDdweDtcbiAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG4gIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gIHdpZHRoOiAxMDAlO1xuICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDEyNW1zIGVhc2UtaW4tb3V0LCBib3JkZXIgMTI1bXMgZWFzZS1pbi1vdXQ7XG59XG5cbi5lc3JpLWJ1dHRvbjpob3ZlciB7XG4gIGJhY2tncm91bmQtY29sb3I6ICMwMDU5OGU7XG4gIGJvcmRlcjogMXB4IHNvbGlkICMwMDU5OGU7XG4gIGNvbG9yOiAjZmZmO1xufVxuXG4uZXNyaS1idXR0b24tLXRlcnRpYXJ5IHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGNvbG9yOiAjMDA3OWMxO1xufVxuXG4uZXNyaS1idXR0b24tLXRlcnRpYXJ5OmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGNvbG9yOiAjMDA1OThlO1xuICB0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcbn1cblxuW2NsYXNzKj1lc3JpLWljb25dIHtcbiAgZm9udC1zaXplOiAxNnB4O1xuICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG59XG5cbi5lc3JpLWF0dGFjaG1lbnRzIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19faXRlbS1hZGQtaWNvbiB7XG4gIHBhZGRpbmc6IDAgM3B4O1xufVxuXG4uZXNyaS1hdHRhY2htZW50cyAuZXNyaS1hdHRhY2htZW50c19faXRlbXMge1xuICBkaXNwbGF5OiBmbGV4O1xuICBwYWRkaW5nOiAwO1xuICBtYXJnaW46IDA7XG4gIHdpZHRoOiAxMDAlO1xufVxuXG4uZXNyaS1hdHRhY2htZW50cyAuZXNyaS1hdHRhY2htZW50c19faXRlbSB7XG4gIGxpbmUtaGVpZ2h0OiAxLjJlbTtcbiAgbGlzdC1zdHlsZS10eXBlOiBub25lO1xuICBtYXJnaW46IDA7XG59XG5cbi5lc3JpLWF0dGFjaG1lbnRzX19pdGVtLWJ1dHRvbiB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIHdpZHRoOiAxMDAlO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmO1xuICBjdXJzb3I6IHBvaW50ZXI7XG4gIGJvcmRlcjogMXB4IHNvbGlkIHJnYmEoMTEwLCAxMTAsIDExMCwgMC4zKTtcbiAgYm9yZGVyLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgYm9yZGVyLXJhZGl1czogMnB4O1xuICB0ZXh0LWFsaWduOiB1bnNldDtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBwYWRkaW5nOiA2cHggN3B4O1xuICBtYXJnaW46IDAgMCA2cHg7XG4gIG91dGxpbmUtb2Zmc2V0OiAtNHB4O1xuICB0cmFuc2l0aW9uOiBib3JkZXItY29sb3IgMTI1bXMgZWFzZS1pbi1vdXQ7XG4gIGJveC1zaGFkb3c6IDAgMXB4IDAgcmdiYSgxMTAsIDExMCwgMTEwLCAwLjMpO1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19faXRlbS1idXR0b246Zm9jdXMsIC5lc3JpLWF0dGFjaG1lbnRzX19pdGVtLWJ1dHRvbjpob3ZlciB7XG4gIGJvcmRlci1jb2xvcjogIzAwMDtcbn1cblxuLmVzcmktYXR0YWNobWVudHNfX2FkZC1hdHRhY2htZW50LWJ1dHRvbiB7XG4gIGJvcmRlci1yYWRpdXM6IDJweDtcbiAgZm9udC1zaXplOiAxMnB4O1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtc3RhcnQ7XG4gIHBhZGRpbmc6IDEycHggM3B4O1xuICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDI1MG1zIGVhc2UtaW4tb3V0O1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19fYWRkLWF0dGFjaG1lbnQtYnV0dG9uOmhvdmVyIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2ZmZjtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBib3gtc2hhZG93OiAwIDFweCAycHggcmdiYSgwLCAwLCAwLCAwLjMpO1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19faXRlbS1hZGQtaWNvbiB7XG4gIHBhZGRpbmc6IDAgN3B4O1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19faXRlbS1tYXNrIHtcbiAgZGlzcGxheTogZmxleDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgd2lkdGg6IDY0cHg7XG4gIGhlaWdodDogNjRweDtcbiAgYm94LXNoYWRvdzogMCAwIDAgMXB4IHJnYmEoMTEwLCAxMTAsIDExMCwgMC4xNSk7XG59XG5cbi5lc3JpLWF0dGFjaG1lbnRzX19jb250YWluZXItLWxpc3QgLmVzcmktYXR0YWNobWVudHNfX2l0ZW1zIHtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbiAgZmxleC13cmFwOiBub3dyYXA7XG59XG5cbi5lc3JpLWF0dGFjaG1lbnRzX19jb250YWluZXItLWxpc3QgLmVzcmktYXR0YWNobWVudHNfX2l0ZW0tbWFzayB7XG4gIGZsZXg6IDAgMCBhdXRvO1xuICBtYXJnaW4tcmlnaHQ6IDdweDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19fY29udGFpbmVyLS1saXN0IC5lc3JpLWF0dGFjaG1lbnRzX19pbWFnZSB7XG4gIG1heC13aWR0aDogdW5zZXQ7XG4gIG1heC1oZWlnaHQ6IDcwcHg7XG4gIGxlZnQ6IDUwJTtcbn1cblxuLmVzcmktYXR0YWNobWVudHNfX2NvbnRhaW5lci0tbGlzdCAuZXNyaS1hdHRhY2htZW50c19fbGFiZWwge1xuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4OiAxIDEgYXV0bztcbiAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xufVxuXG4uZXNyaS1hdHRhY2htZW50c19fY29udGFpbmVyLS1saXN0IC5lc3JpLWF0dGFjaG1lbnRzX19maWxlbmFtZSB7XG4gIGZsZXg6IDEgMCAwJTtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICB3b3JkLWJyZWFrOiBicmVhay1hbGw7XG59XG5cbi5lc3JpLWF0dGFjaG1lbnRzX19jb250YWluZXItLWxpc3QgLmVzcmktYXR0YWNobWVudHNfX2l0ZW0tY2hldnJvbi1pY29uIHtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICBmbGV4OiAwIDAgYXV0bztcbiAgcGFkZGluZzogMCAxNXB4O1xufVxuXG4vKiEgQ1NTIFVzZWQgZm9udGZhY2VzICovXG5AZm9udC1mYWNlIHtcbiAgZm9udC1mYW1pbHk6IFwiQ2FsY2l0ZVdlYkNvcmVJY29uc1wiO1xuICBzcmM6IHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvaWNvbnMvZm9udHMvQ2FsY2l0ZVdlYkNvcmVJY29ucy50dGY/aXo5cjRoXCIpIGZvcm1hdChcInRydWV0eXBlXCIpLCB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ljb25zL2ZvbnRzL0NhbGNpdGVXZWJDb3JlSWNvbnMud29mZj9pejlyNGhcIikgZm9ybWF0KFwid29mZlwiKSwgdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9pY29ucy9mb250cy9DYWxjaXRlV2ViQ29yZUljb25zLnN2Zz9pejlyNGgjQ2FsY2l0ZVdlYkNvcmVJY29uc1wiKSBmb3JtYXQoXCJzdmdcIik7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gIGZvbnQtc3R5bGU6IG5vcm1hbDtcbn1cbkBmb250LWZhY2Uge1xuICBmb250LWZhbWlseTogXCJBdmVuaXIgTmV4dCBXMDBcIjtcbiAgc3JjOiB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF80MDAuZW90I2llZml4XCIpO1xuICBzcmM6IHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzQwMC5lb3QjaWVmaXhcIikgZm9ybWF0KFwiZW90XCIpLCB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF80MDAud29mZjJcIikgZm9ybWF0KFwid29mZjJcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzQwMC53b2ZmXCIpIGZvcm1hdChcIndvZmZcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzQwMC50dGZcIikgZm9ybWF0KFwidHJ1ZXR5cGVcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzQwMC5zdmdcIikgZm9ybWF0KFwic3ZnXCIpO1xuICBmb250LXdlaWdodDogNDAwO1xuICBmb250LXN0eWxlOiBub3JtYWw7XG59XG5AZm9udC1mYWNlIHtcbiAgZm9udC1mYW1pbHk6IFwiQXZlbmlyIE5leHQgVzAwXCI7XG4gIHNyYzogdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfSXRhbGljXzQwMC5lb3QjaWVmaXhcIik7XG4gIHNyYzogdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfSXRhbGljXzQwMC5lb3QjaWVmaXhcIikgZm9ybWF0KFwiZW90XCIpLCB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNDAwLndvZmYyXCIpIGZvcm1hdChcIndvZmYyXCIpLCB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNDAwLndvZmZcIikgZm9ybWF0KFwid29mZlwiKSwgdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfSXRhbGljXzQwMC50dGZcIikgZm9ybWF0KFwidHJ1ZXR5cGVcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY180MDAuc3ZnXCIpIGZvcm1hdChcInN2Z1wiKTtcbiAgZm9udC13ZWlnaHQ6IDQwMDtcbiAgZm9udC1zdHlsZTogaXRhbGljO1xufVxuQGZvbnQtZmFjZSB7XG4gIGZvbnQtZmFtaWx5OiBcIkF2ZW5pciBOZXh0IFcwMFwiO1xuICBzcmM6IHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzYwMC5lb3QjaWVmaXhcIik7XG4gIHNyYzogdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNjAwLmVvdCNpZWZpeFwiKSBmb3JtYXQoXCJlb3RcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzYwMC53b2ZmMlwiKSBmb3JtYXQoXCJ3b2ZmMlwiKSwgdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNjAwLndvZmZcIikgZm9ybWF0KFwid29mZlwiKSwgdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNjAwLnR0ZlwiKSBmb3JtYXQoXCJ0cnVldHlwZVwiKSwgdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNjAwLnN2Z1wiKSBmb3JtYXQoXCJzdmdcIik7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIGZvbnQtc3R5bGU6IG5vcm1hbDtcbn1cbkBmb250LWZhY2Uge1xuICBmb250LWZhbWlseTogXCJBdmVuaXIgTmV4dCBXMDBcIjtcbiAgc3JjOiB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNjAwLmVvdCNpZWZpeFwiKTtcbiAgc3JjOiB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNjAwLmVvdCNpZWZpeFwiKSBmb3JtYXQoXCJlb3RcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY182MDAud29mZjJcIikgZm9ybWF0KFwid29mZjJcIiksIHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY182MDAud29mZlwiKSBmb3JtYXQoXCJ3b2ZmXCIpLCB1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNjAwLnR0ZlwiKSBmb3JtYXQoXCJ0cnVldHlwZVwiKSwgdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfSXRhbGljXzYwMC5zdmdcIikgZm9ybWF0KFwic3ZnXCIpO1xuICBmb250LXdlaWdodDogNjAwO1xuICBmb250LXN0eWxlOiBpdGFsaWM7XG59XG4vKiEgQ1NTIFVzZWQgZnJvbTogaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvbGlnaHQvbWFpbi5jc3MgKi9cbi52aWV3TW9yZSB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGp1c3RpZnktY29udGVudDogZmxleC1lbmQ7XG4gIGZvbnQtc2l6ZTogMTRweDtcbn1cbi52aWV3TW9yZSBhIHtcbiAgY29sb3I6ICMyMTk2ZjM7XG59XG5cbjpob3N0IDo6bmctZGVlcCBkaXYuY29sbGFwc2Uuc2hvdyB7XG4gIGhlaWdodDogNjB2aDtcbiAgb3ZlcmZsb3cteTogYXV0bztcbn1cblxudWwgbGkuYWN0aXZlIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogbGlnaHRza3libHVlO1xuICBib3JkZXItY29sb3I6IGxpZ2h0c2t5Ymx1ZTtcbn1cbnVsIGxpIHNwYW4ge1xuICBmb250LXNpemU6IDE4cHg7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIHRleHQtc2hhZG93OiAycHggMnB4ICNlOGU4ZTg7XG59XG51bCBsaSBzcGFuLmFjdGl2ZSB7XG4gIHRleHQtc2hhZG93OiAycHggMnB4ICM4YWI1YzM7XG4gIGNvbG9yOiAjZmZmO1xufSIsIjpob3N0IHtcclxuICAgIDo6bmctZGVlcC5tYXQtc2VsZWN0LXZhbHVlLXRleHQge1xyXG4gICAgICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xyXG4gICAgfVxyXG4gIH1cclxuICBcclxuICAucG9wdXAge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIHdpZHRoOiA0MjJweDtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIC8vIG92ZXJmbG93LXk6IGF1dG87XHJcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgLy8gYmFja2dyb3VuZC1jb2xvcjogcmdiYSg1MiwgNzMsIDk0LCAwLjgpO1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgyNTUsIDI1NSwgMjU1LCAxKTtcclxuICAgIC13ZWJraXQtYm94LXNoYWRvdzogMTFweCA2cHggNXB4IC0xMXB4IHJnYmEoMCwgMCwgMCwgMC43KTtcclxuICAgIC1tb3otYm94LXNoYWRvdzogMTFweCA2cHggNXB4IC0xMXB4IHJnYmEoMCwgMCwgMCwgMC43KTtcclxuICAgIGJveC1zaGFkb3c6IDExcHggNnB4IDVweCAtMTFweCByZ2JhKDAsIDAsIDAsIDAuNyk7XHJcbiAgXHJcbiAgICAmLWltYWdlIHtcclxuICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgIGhlaWdodDogMTgwcHg7XHJcbiAgXHJcbiAgICAgIGltZyB7XHJcbiAgICAgICAgd2lkdGg6IDEwMCU7XHJcbiAgICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgXHJcbiAgICAmLWNvbnRlbnQge1xyXG4gICAgICBwYWRkaW5nOiAxMnB4O1xyXG4gICAgICBjb2xvcjogI0ZGRjtcclxuICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICAgICBoZWlnaHQ6IDY2dmg7XHJcblxyXG4gICAgICAuYmlnLXRpdGxlIHtcclxuICAgICAgICBjb2xvcjogIzAwMDtcclxuICAgICAgfVxyXG4gIFxyXG4gICAgICAuc3ViLXRpdGxlIHtcclxuICAgICAgICBjb2xvcjogIzM0M2E0MDtcclxuICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgIH1cclxuXHJcbiAgICAuY2xvc2VidG4ge1xyXG4gICAgICBmb250LXNpemU6IDQwcHg7XHJcbiAgICAgIGxlZnQ6IDQxMHB4O1xyXG4gICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICAgIGNvbG9yOiAjMDAzYTc0O1xyXG4gICAgICBwb3NpdGlvbjogZml4ZWQ7XHJcbiAgICAgIHotaW5kZXg6IDk5OTk5O1xyXG4gICAgICBoZWlnaHQ6IDM1cHg7XHJcbiAgICAgIGJhY2tncm91bmQ6ICNmZmY7XHJcbiAgICAgIGxpbmUtaGVpZ2h0OiAwLjc7XHJcbiAgICAgIGJvcmRlci1ib3R0b20tcmlnaHQtcmFkaXVzOiAxOHB4O1xyXG4gICAgICBib3JkZXItdG9wLXJpZ2h0LXJhZGl1czogMThweDtcclxuICAgICAgd2lkdGg6IDM1cHg7XHJcbiAgICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICAgICAgfVxyXG4gIFxyXG4gICAgICAuaW5mby1jb250YWluZXIge1xyXG4gICAgICAgIC5jb250ZW50IHtcclxuICAgICAgICAgIC5vZGQge1xyXG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZjZmNmY2O1xyXG4gICAgICAgICAgfVxyXG4gICAgICAgICAgLnByb3Age1xyXG4gICAgICAgICAgICBib3JkZXItbGVmdDogMnB4IHNvbGlkICNlY2VjZWM7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gICAgICAgIC5pbmZvLWl0ZW0ge1xyXG4gICAgICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgICAgIG1hcmdpbjogMThweCAwcHg7XHJcbiAgXHJcbiAgICAgICAgICAmLWljb24ge1xyXG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogMjRweDtcclxuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAyNHB4O1xyXG4gICAgICAgICAgICBmbGV4OiAwIDAgMjRweDtcclxuICAgICAgICAgICAgY29sb3I6ICMyMTk2ZjM7XHJcbiAgICAgICAgICB9XHJcbiAgXHJcbiAgICAgICAgICAmLXRleHQge1xyXG4gICAgICAgICAgICB0ZXh0LWFsaWduOiBsZWZ0O1xyXG4gICAgICAgICAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfVxyXG4gIFxyXG4gICAgICAgIC53cmFwLWluZm8ge1xyXG4gICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gIFxyXG4gICAgICAubWFwLWFjdGlvbiB7XHJcbiAgICAgICAgZGlzcGxheTogZmxleDtcclxuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcclxuICAgICAgICBwYWRkaW5nOiAxMHB4IDIycHg7XHJcbiAgXHJcbiAgICAgICAgJi1pdGVtIHtcclxuICAgICAgICAgIGNvbG9yOiAjMjE5NmYzICFpbXBvcnRhbnQ7XHJcbiAgICAgICAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICAgICAgICBwYWRkaW5nOiAwIDEycHg7XHJcbiAgICAgICAgICB0ZXh0LWRlY29yYXRpb246IG5vbmUgIWltcG9ydGFudDtcclxuICBcclxuICAgICAgICAgIC8qIFVudmlzaXRlZCBsaW5rICAqL1xyXG4gICAgICAgICAgJjp2aXNpdGVkLFxyXG4gICAgICAgICAgJjphY3RpdmUge1xyXG4gICAgICAgICAgICBjb2xvcjogIzIxOTZmMyAhaW1wb3J0YW50O1xyXG4gICAgICAgICAgfVxyXG4gIFxyXG4gICAgICAgICAgLyogU2VsZWN0ZWQgbGluayAgICovXHJcbiAgICAgICAgICAmOmhvdmVyIHtcclxuICAgICAgICAgICAgY29sb3I6ICNmNDQzMzY7XHJcbiAgICAgICAgICAgIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xyXG4gICAgICAgICAgfVxyXG4gIFxyXG4gICAgICAgICAgJi1pY29uIHtcclxuICAgICAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xyXG4gICAgICAgICAgfVxyXG4gIFxyXG4gICAgICAgICAgJi10ZXh0IHtcclxuICAgICAgICAgICAgbGV0dGVyLXNwYWNpbmc6IDAuMDI1ZW07XHJcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogLjc1cmVtO1xyXG4gICAgICAgICAgICBmb250LXdlaWdodDogNDAwO1xyXG4gICAgICAgICAgICBsaW5lLWhlaWdodDogMXJlbTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICBcclxuICAgICAgLmRlc2NyaXB0aW9uIHtcclxuICAgICAgICAmLXRleHQge31cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIFxyXG4gIFxyXG4gIH1cclxuICBcclxuICAuZGl2aWRlci1ib3R0b20tbGluZSB7XHJcbiAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgIzc5Nzk3OTM2O1xyXG4gIH1cclxuXHJcbiAgLmF0dGFjaC10aXRsZXtcclxuICAgIHBhZGRpbmc6IDEwcHg7XHJcbiAgICBmb250LXdlaWdodDo4MDA7XHJcbiAgICBjb2xvcjogIzIxOTZmMztcclxuICAgIC8vIGJhY2tncm91bmQtY29sb3I6cmdiKDEyOCwgMTI4LCAxMjgpO1xyXG4gIH1cclxuXHJcblxyXG4gIC8qISBDU1MgVXNlZCBmcm9tOiBodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9saWdodC9tYWluLmNzcyAqL1xyXG5bY2xhc3MqPVwiIGVzcmktaWNvbi1cIl17Zm9udC1mYW1pbHk6J0NhbGNpdGVXZWJDb3JlSWNvbnMnIWltcG9ydGFudDtzcGVhazpub25lO2ZvbnQtc3R5bGU6bm9ybWFsO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmb250LXZhcmlhbnQ6bm9ybWFsO3RleHQtdHJhbnNmb3JtOm5vbmU7bGluZS1oZWlnaHQ6MTstd2Via2l0LWZvbnQtc21vb3RoaW5nOmFudGlhbGlhc2VkOy1tb3otb3N4LWZvbnQtc21vb3RoaW5nOmdyYXlzY2FsZTt9XHJcbi5lc3JpLWljb24tcGx1czpiZWZvcmV7Y29udGVudDpcIlxcZTYyMFwiO2NvbG9yOmluaGVyaXQ7fVxyXG4uZXNyaS1pY29uLXJpZ2h0OmJlZm9yZXtjb250ZW50OlwiXFxlNjJiXCI7Y29sb3I6aW5oZXJpdDt9XHJcbi5lc3JpLXdpZGdldHtib3gtc2l6aW5nOmJvcmRlci1ib3g7Y29sb3I6IzMyMzIzMjtmb250LXNpemU6MTRweDtmb250LWZhbWlseTpcIkF2ZW5pciBOZXh0IFcwMFwiLFwiSGVsdmV0aWNhIE5ldWVcIixIZWx2ZXRpY2EsQXJpYWwsc2Fucy1zZXJpZjtsaW5lLWhlaWdodDoxLjNlbTtiYWNrZ3JvdW5kLWNvbG9yOiNmZmY7fVxyXG4uZXNyaS13aWRnZXQgKiwuZXNyaS13aWRnZXQgKjpiZWZvcmUsLmVzcmktd2lkZ2V0ICo6YWZ0ZXJ7Ym94LXNpemluZzppbmhlcml0O31cclxuLmVzcmktYnV0dG9ue2FsaWduLWl0ZW1zOmNlbnRlcjtiYWNrZ3JvdW5kLWNvbG9yOiMwMDc5YzE7Ym9yZGVyOjFweCBzb2xpZCAjMDA3OWMxO2NvbG9yOiNmZmY7Y3Vyc29yOnBvaW50ZXI7ZGlzcGxheTpmbGV4O2ZvbnQtZmFtaWx5OmluaGVyaXQ7Zm9udC1zaXplOjE0cHg7bWluLWhlaWdodDozMnB4O2p1c3RpZnktY29udGVudDpjZW50ZXI7b3ZlcmZsb3c6aGlkZGVuO3BhZGRpbmc6NnB4IDdweDt0ZXh0LW92ZXJmbG93OmVsbGlwc2lzO3doaXRlLXNwYWNlOm5vd3JhcDt3aWR0aDoxMDAlO3RyYW5zaXRpb246YmFja2dyb3VuZC1jb2xvciAxMjVtcyBlYXNlLWluLW91dCwgYm9yZGVyIDEyNW1zIGVhc2UtaW4tb3V0O31cclxuLmVzcmktYnV0dG9uOmhvdmVye2JhY2tncm91bmQtY29sb3I6IzAwNTk4ZTtib3JkZXI6MXB4IHNvbGlkICMwMDU5OGU7Y29sb3I6I2ZmZjt9XHJcbi5lc3JpLWJ1dHRvbi0tdGVydGlhcnl7YmFja2dyb3VuZC1jb2xvcjp0cmFuc3BhcmVudDtib3JkZXItY29sb3I6dHJhbnNwYXJlbnQ7Y29sb3I6IzAwNzljMTt9XHJcbi5lc3JpLWJ1dHRvbi0tdGVydGlhcnk6aG92ZXJ7YmFja2dyb3VuZC1jb2xvcjp0cmFuc3BhcmVudDtib3JkZXItY29sb3I6dHJhbnNwYXJlbnQ7Y29sb3I6IzAwNTk4ZTt0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO31cclxuW2NsYXNzKj1cImVzcmktaWNvblwiXXtmb250LXNpemU6MTZweDtkaXNwbGF5OmlubGluZS1ibG9jazt9XHJcbi5lc3JpLWF0dGFjaG1lbnRze2JhY2tncm91bmQtY29sb3I6dHJhbnNwYXJlbnQ7d2lkdGg6MTAwJTt9XHJcbi5lc3JpLWF0dGFjaG1lbnRzX19pdGVtLWFkZC1pY29ue3BhZGRpbmc6MCAzcHg7fVxyXG4uZXNyaS1hdHRhY2htZW50cyAuZXNyaS1hdHRhY2htZW50c19faXRlbXN7ZGlzcGxheTpmbGV4O3BhZGRpbmc6MDttYXJnaW46MDt3aWR0aDoxMDAlO31cclxuLmVzcmktYXR0YWNobWVudHMgLmVzcmktYXR0YWNobWVudHNfX2l0ZW17bGluZS1oZWlnaHQ6MS4yZW07bGlzdC1zdHlsZS10eXBlOm5vbmU7bWFyZ2luOjA7fVxyXG4uZXNyaS1hdHRhY2htZW50c19faXRlbS1idXR0b257ZGlzcGxheTpmbGV4O2FsaWduLWl0ZW1zOmNlbnRlcjt3aWR0aDoxMDAlO2JhY2tncm91bmQtY29sb3I6I2ZmZjtjdXJzb3I6cG9pbnRlcjtib3JkZXI6MXB4IHNvbGlkIHJnYmEoMTEwLDExMCwxMTAsMC4zKTtib3JkZXItY29sb3I6dHJhbnNwYXJlbnQ7Ym9yZGVyLXJhZGl1czoycHg7dGV4dC1hbGlnbjp1bnNldDt0ZXh0LWRlY29yYXRpb246bm9uZTtwYWRkaW5nOjZweCA3cHg7bWFyZ2luOjAgMCA2cHg7b3V0bGluZS1vZmZzZXQ6LTRweDt0cmFuc2l0aW9uOmJvcmRlci1jb2xvciAxMjVtcyBlYXNlLWluLW91dDtib3gtc2hhZG93OjAgMXB4IDAgcmdiYSgxMTAsMTEwLDExMCwwLjMpO31cclxuLmVzcmktYXR0YWNobWVudHNfX2l0ZW0tYnV0dG9uOmZvY3VzLC5lc3JpLWF0dGFjaG1lbnRzX19pdGVtLWJ1dHRvbjpob3Zlcntib3JkZXItY29sb3I6IzAwMDt9XHJcbi5lc3JpLWF0dGFjaG1lbnRzX19hZGQtYXR0YWNobWVudC1idXR0b257Ym9yZGVyLXJhZGl1czoycHg7Zm9udC1zaXplOjEycHg7anVzdGlmeS1jb250ZW50OmZsZXgtc3RhcnQ7cGFkZGluZzoxMnB4IDNweDt0cmFuc2l0aW9uOmJhY2tncm91bmQtY29sb3IgMjUwbXMgZWFzZS1pbi1vdXQ7fVxyXG4uZXNyaS1hdHRhY2htZW50c19fYWRkLWF0dGFjaG1lbnQtYnV0dG9uOmhvdmVye2JhY2tncm91bmQtY29sb3I6I2ZmZjt0ZXh0LWRlY29yYXRpb246bm9uZTtib3gtc2hhZG93OjAgMXB4IDJweCByZ2JhKDAsIDAsIDAsIDAuMyk7fVxyXG4uZXNyaS1hdHRhY2htZW50c19faXRlbS1hZGQtaWNvbntwYWRkaW5nOjAgN3B4O31cclxuLmVzcmktYXR0YWNobWVudHNfX2l0ZW0tbWFza3tkaXNwbGF5OmZsZXg7b3ZlcmZsb3c6aGlkZGVuO3Bvc2l0aW9uOnJlbGF0aXZlO2p1c3RpZnktY29udGVudDpjZW50ZXI7YWxpZ24taXRlbXM6Y2VudGVyO3dpZHRoOjY0cHg7aGVpZ2h0OjY0cHg7Ym94LXNoYWRvdzowIDAgMCAxcHggcmdiYSgxMTAsMTEwLDExMCwwLjE1KTt9XHJcbi5lc3JpLWF0dGFjaG1lbnRzX19jb250YWluZXItLWxpc3QgLmVzcmktYXR0YWNobWVudHNfX2l0ZW1ze2ZsZXgtZGlyZWN0aW9uOmNvbHVtbjtmbGV4LXdyYXA6bm93cmFwO31cclxuLmVzcmktYXR0YWNobWVudHNfX2NvbnRhaW5lci0tbGlzdCAuZXNyaS1hdHRhY2htZW50c19faXRlbS1tYXNre2ZsZXg6MCAwIGF1dG87bWFyZ2luLXJpZ2h0OjdweDtwb3NpdGlvbjpyZWxhdGl2ZTt9XHJcbi5lc3JpLWF0dGFjaG1lbnRzX19jb250YWluZXItLWxpc3QgLmVzcmktYXR0YWNobWVudHNfX2ltYWdle21heC13aWR0aDp1bnNldDttYXgtaGVpZ2h0OjcwcHg7bGVmdDo1MCU7fVxyXG4uZXNyaS1hdHRhY2htZW50c19fY29udGFpbmVyLS1saXN0IC5lc3JpLWF0dGFjaG1lbnRzX19sYWJlbHtkaXNwbGF5OmZsZXg7ZmxleDoxIDEgYXV0bztqdXN0aWZ5LWNvbnRlbnQ6c3BhY2UtYmV0d2Vlbjt9XHJcbi5lc3JpLWF0dGFjaG1lbnRzX19jb250YWluZXItLWxpc3QgLmVzcmktYXR0YWNobWVudHNfX2ZpbGVuYW1le2ZsZXg6MSAwIDAlO2N1cnNvcjpwb2ludGVyO3dvcmQtYnJlYWs6YnJlYWstYWxsO31cclxuLmVzcmktYXR0YWNobWVudHNfX2NvbnRhaW5lci0tbGlzdCAuZXNyaS1hdHRhY2htZW50c19faXRlbS1jaGV2cm9uLWljb257Y3Vyc29yOnBvaW50ZXI7ZmxleDowIDAgYXV0bztwYWRkaW5nOjAgMTVweDt9XHJcbi8qISBDU1MgVXNlZCBmb250ZmFjZXMgKi9cclxuQGZvbnQtZmFjZXtmb250LWZhbWlseTonQ2FsY2l0ZVdlYkNvcmVJY29ucyc7c3JjOnVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvaWNvbnMvZm9udHMvQ2FsY2l0ZVdlYkNvcmVJY29ucy50dGY/aXo5cjRoXCIpIGZvcm1hdChcInRydWV0eXBlXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvaWNvbnMvZm9udHMvQ2FsY2l0ZVdlYkNvcmVJY29ucy53b2ZmP2l6OXI0aFwiKSBmb3JtYXQoXCJ3b2ZmXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvaWNvbnMvZm9udHMvQ2FsY2l0ZVdlYkNvcmVJY29ucy5zdmc/aXo5cjRoI0NhbGNpdGVXZWJDb3JlSWNvbnNcIikgZm9ybWF0KFwic3ZnXCIpO2ZvbnQtd2VpZ2h0Om5vcm1hbDtmb250LXN0eWxlOm5vcm1hbDt9XHJcbkBmb250LWZhY2V7Zm9udC1mYW1pbHk6XCJBdmVuaXIgTmV4dCBXMDBcIjtzcmM6dXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNDAwLmVvdCNpZWZpeFwiKTtzcmM6dXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNDAwLmVvdCNpZWZpeFwiKSBmb3JtYXQoXCJlb3RcIiksdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNDAwLndvZmYyXCIpIGZvcm1hdChcIndvZmYyXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzQwMC53b2ZmXCIpIGZvcm1hdChcIndvZmZcIiksdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNDAwLnR0ZlwiKSBmb3JtYXQoXCJ0cnVldHlwZVwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF80MDAuc3ZnXCIpIGZvcm1hdChcInN2Z1wiKTtmb250LXdlaWdodDo0MDA7Zm9udC1zdHlsZTpub3JtYWw7fVxyXG5AZm9udC1mYWNle2ZvbnQtZmFtaWx5OlwiQXZlbmlyIE5leHQgVzAwXCI7c3JjOnVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY180MDAuZW90I2llZml4XCIpO3NyYzp1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNDAwLmVvdCNpZWZpeFwiKSBmb3JtYXQoXCJlb3RcIiksdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfSXRhbGljXzQwMC53b2ZmMlwiKSBmb3JtYXQoXCJ3b2ZmMlwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNDAwLndvZmZcIikgZm9ybWF0KFwid29mZlwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNDAwLnR0ZlwiKSBmb3JtYXQoXCJ0cnVldHlwZVwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNDAwLnN2Z1wiKSBmb3JtYXQoXCJzdmdcIik7Zm9udC13ZWlnaHQ6NDAwO2ZvbnQtc3R5bGU6aXRhbGljO31cclxuQGZvbnQtZmFjZXtmb250LWZhbWlseTpcIkF2ZW5pciBOZXh0IFcwMFwiO3NyYzp1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF82MDAuZW90I2llZml4XCIpO3NyYzp1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF82MDAuZW90I2llZml4XCIpIGZvcm1hdChcImVvdFwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF82MDAud29mZjJcIikgZm9ybWF0KFwid29mZjJcIiksdXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfNjAwLndvZmZcIikgZm9ybWF0KFwid29mZlwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF82MDAudHRmXCIpIGZvcm1hdChcInRydWV0eXBlXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwXzYwMC5zdmdcIikgZm9ybWF0KFwic3ZnXCIpO2ZvbnQtd2VpZ2h0OjYwMDtmb250LXN0eWxlOm5vcm1hbDt9XHJcbkBmb250LWZhY2V7Zm9udC1mYW1pbHk6XCJBdmVuaXIgTmV4dCBXMDBcIjtzcmM6dXJsKFwiaHR0cHM6Ly9qcy5hcmNnaXMuY29tLzQuMTUvZXNyaS90aGVtZXMvYmFzZS9mb250cy9hdmVuaXItbmV4dC9BdmVuaXJfTmV4dF9XMDBfSXRhbGljXzYwMC5lb3QjaWVmaXhcIik7c3JjOnVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY182MDAuZW90I2llZml4XCIpIGZvcm1hdChcImVvdFwiKSx1cmwoXCJodHRwczovL2pzLmFyY2dpcy5jb20vNC4xNS9lc3JpL3RoZW1lcy9iYXNlL2ZvbnRzL2F2ZW5pci1uZXh0L0F2ZW5pcl9OZXh0X1cwMF9JdGFsaWNfNjAwLndvZmYyXCIpIGZvcm1hdChcIndvZmYyXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY182MDAud29mZlwiKSBmb3JtYXQoXCJ3b2ZmXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY182MDAudHRmXCIpIGZvcm1hdChcInRydWV0eXBlXCIpLHVybChcImh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2Jhc2UvZm9udHMvYXZlbmlyLW5leHQvQXZlbmlyX05leHRfVzAwX0l0YWxpY182MDAuc3ZnXCIpIGZvcm1hdChcInN2Z1wiKTtmb250LXdlaWdodDo2MDA7Zm9udC1zdHlsZTppdGFsaWM7fVxyXG4gLyohIENTUyBVc2VkIGZyb206IGh0dHBzOi8vanMuYXJjZ2lzLmNvbS80LjE1L2VzcmkvdGhlbWVzL2xpZ2h0L21haW4uY3NzICovXHJcbiAgXHJcbiAgLnZpZXdNb3JlIHtcclxuICAgIGRpc3BsYXk6IGZsZXg7XHJcbiAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gIFxyXG4gICAgYSB7XHJcbiAgICAgIGNvbG9yOiAjMjE5NmYzO1xyXG4gICAgfVxyXG4gIH1cclxuICBcclxuXHJcbiAgOmhvc3QgOjpuZy1kZWVwIHtcclxuICAgIGRpdi5jb2xsYXBzZS5zaG93IHtcclxuICAgICAgaGVpZ2h0OiA2MHZoO1xyXG4gICAgICBvdmVyZmxvdy15OiBhdXRvO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgdWwge1xyXG4gICAgbGkge1xyXG4gICAgICAmLmFjdGl2ZSB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogbGlnaHRza3libHVlO1xyXG4gICAgICAgIGJvcmRlci1jb2xvcjogbGlnaHRza3libHVlO1xyXG4gICAgICB9XHJcbiAgICAgIHNwYW4ge1xyXG4gICAgICAgIC8vIGNvbG9yOiAjNzk3OTc5O1xyXG4gICAgICAgIGZvbnQtc2l6ZTogMThweDtcclxuICAgICAgICBmb250LXdlaWdodDogNTAwO1xyXG4gICAgICAgIHRleHQtc2hhZG93OiAycHggMnB4ICNlOGU4ZTg7XHJcbiAgICAgICAgJi5hY3RpdmUge1xyXG4gICAgICAgICAgdGV4dC1zaGFkb3c6IDJweCAycHggIzhhYjVjMztcclxuICAgICAgICAgIGNvbG9yOiAjZmZmO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/map/popup/popup.component.ts":
  /*!**********************************************!*\
    !*** ./src/app/map/popup/popup.component.ts ***!
    \**********************************************/

  /*! exports provided: PopupComponent */

  /***/
  function srcAppMapPopupPopupComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PopupComponent", function () {
      return PopupComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var src_app_shared_constants_tram_bts_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/shared/constants/tram-bts.constant */
    "./src/app/shared/constants/tram-bts.constant.ts");
    /* harmony import */


    var src_app_shared_constants_diem_dich_vu_constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! src/app/shared/constants/diem-dich-vu.constant */
    "./src/app/shared/constants/diem-dich-vu.constant.ts");
    /* harmony import */


    var src_app_shared_constants_tuyen_cap_ngam_constant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! src/app/shared/constants/tuyen-cap-ngam.constant */
    "./src/app/shared/constants/tuyen-cap-ngam.constant.ts");
    /* harmony import */


    var src_app_shared_constants_tuyen_cap_noi_constant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! src/app/shared/constants/tuyen-cap-noi.constant */
    "./src/app/shared/constants/tuyen-cap-noi.constant.ts");
    /* harmony import */


    var _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../shared/constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! src/app/shared/models/data.model */
    "./src/app/shared/models/data.model.ts");

    var url = '/assets/images';

    var PopupComponent = /*#__PURE__*/function () {
      function PopupComponent(service, attachmentService, searchService, hanhChinhService) {
        _classCallCheck(this, PopupComponent);

        this.service = service;
        this.attachmentService = attachmentService;
        this.searchService = searchService;
        this.hanhChinhService = hanhChinhService;
        this.close = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.isOpen = false;
        this.openContent = false;
        this.indexSelected = undefined;
      }

      _createClass(PopupComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this217 = this;

          this.service.attributes.subscribe(function (attr) {
            _this217.features = attr;

            if (_this217.features.length === 1) {
              _this217.showContent(_this217.features[0]);

              _this217.openContent = true;
              _this217.indexSelected = 0;
            }
          }); // mo popup

          this.service.open$.subscribe(function (open) {
            _this217.isOpen = open;
          }); // neu table ket qua tim kiem hien len thi dong popup

          this.searchService.resultSearch$.subscribe(function (open) {
            _this217.isOpen = false;
          });
        }
      }, {
        key: "getImage",
        value: function getImage(featureSet) {
          var features = featureSet.features[0];
          var doanhNghiep = features.attributes.TenDoanhNghiep;
          var loaiDichVu = features.attributes.LoaiDichVu;
          var idLayer = featureSet.features[0].layer.id;
          var urlImg = '';

          if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TRAMBTS.id) {
            switch (doanhNghiep) {
              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["EDoanhNghieps"].VNPT:
                urlImg = "".concat(url, "/bts/vina.png");
                break;

              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["EDoanhNghieps"].Vietnamobile:
                urlImg = "".concat(url, "/bts/vietnam.png");
                break;

              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["EDoanhNghieps"].GTel:
                urlImg = "".concat(url, "/bts/gtel.png");
                break;

              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["EDoanhNghieps"].Mobifone:
                urlImg = "".concat(url, "/bts/mobifone.png");
                break;

              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["EDoanhNghieps"].Viettel:
                urlImg = "".concat(url, "/bts/viettel.png");
                break;
            }
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].DIEMDICHVU.id) {
            switch (loaiDichVu) {
              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["ELoaiDichVu"].PhucVuBuuChinh:
                urlImg = "".concat(url, "/store/type/phucvubuuchinh.png");
                break;

              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["ELoaiDichVu"].DichVuVienThong:
                urlImg = "".concat(url, "/store/type/dichvuvienthong.png");
                break;

              case src_app_shared_models_data_model__WEBPACK_IMPORTED_MODULE_6__["ELoaiDichVu"].DaiLyInternet:
                urlImg = "".concat(url, "/store/type/dailyinternet.png");
                break;

              default:
                urlImg = "".concat(url, "/store/type/chuaxacdinh.png");
            }
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TUYENCAPNGAM.id) {
            urlImg = "".concat(url, "/tuyencap.png");
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TUYENCAPNOI.id) {
            urlImg = "".concat(url, "/tuyencapnoi.png");
          }

          return urlImg;
        }
      }, {
        key: "getTitle",
        value: function getTitle(featureSet) {
          var features = featureSet.features[0];
          var attributes = features.attributes; // attachments=

          var idLayer = featureSet.features[0].layer.id;
          var title = '';

          if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TRAMBTS.id) {
            title = "Tr\u1EA1m BTS ".concat(attributes.MaTram);
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].DIEMDICHVU.id) {
            title = "\u0110i\u1EC3m d\u1ECBch v\u1EE5 ".concat(attributes.TenDiem);
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TUYENCAPNGAM.id) {
            title = "Tuy\u1EBFn c\xE1p ng\u1EA7m ".concat(attributes.TenTuyen);
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TUYENCAPNOI.id) {
            title = "Tuy\u1EBFn c\u1EA5p n\u1ED5i ".concat(attributes.TenTuyen);
          }

          return title;
        }
      }, {
        key: "showContent",
        value: function showContent(featureSet, index) {
          var _this218 = this;

          var features = featureSet.features[0];
          var attributes = Object.assign({}, features.attributes);
          var idLayer = features.layer.id;
          var fieldsLayer = features.layer.fields; // lấy field hiển thị theo layer

          if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TRAMBTS.id) {
            this.fieldsShow = src_app_shared_constants_tram_bts_constant__WEBPACK_IMPORTED_MODULE_1__["TramBtss"];
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].DIEMDICHVU.id) {
            this.fieldsShow = src_app_shared_constants_diem_dich_vu_constant__WEBPACK_IMPORTED_MODULE_2__["DiemDichVus"];
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TUYENCAPNGAM.id) {
            this.fieldsShow = src_app_shared_constants_tuyen_cap_ngam_constant__WEBPACK_IMPORTED_MODULE_3__["TuyenCapNgams"];
          } else if (idLayer === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_5__["CONSTNAME"].TUYENCAPNOI.id) {
            this.fieldsShow = src_app_shared_constants_tuyen_cap_noi_constant__WEBPACK_IMPORTED_MODULE_4__["TuyenCapNois"];
          }

          fieldsLayer.forEach(function (field) {
            if (field.domain) {
              var codedValues = field.domain.codedValues;

              if (attributes[field.name]) {
                var codedValue = codedValues.find(function (f) {
                  return f.code === attributes[field.name];
                });

                if (codedValue) {
                  attributes[field.name] = codedValue.name;
                }
              }
            }

            if (field.name === 'HuyenTXTP') {
              _this218.hanhChinhService.districtLoaded$.subscribe(function (huyenTXTPs) {
                if (huyenTXTPs.length) {
                  var huyenTXTP = huyenTXTPs.find(function (m) {
                    return m.code === attributes[field.name];
                  });

                  if (huyenTXTP) {
                    attributes[field.name] = huyenTXTP.name;
                  }
                }
              });
            }

            if (field.name === 'XaPhuongTT') {
              _this218.hanhChinhService.wardLoaded$.subscribe(function (xaPhuongTTs) {
                if (xaPhuongTTs.length) {
                  var xaPhuongTT = xaPhuongTTs.find(function (m) {
                    return m.code === attributes[field.name];
                  });

                  if (xaPhuongTT) {
                    attributes[field.name] = xaPhuongTT.name;
                  }
                }
              });
            }
          });
          var myFeatureLayer = features.layer;

          if (myFeatureLayer.capabilities.data.supportsAttachment) {
            this.attachmentService.queryAttachments({
              objectIds: [attributes.OBJECTID]
            }).then(function (attachRes) {
              _this218.attachments = attachRes[0].attachments;
            });
          }

          this.content = attributes;
          this.openContent = true;
          this.indexSelected = index;
        }
      }]);

      return PopupComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/search-box/search-box.component.ngfactory.js":
  /*!******************************************************************!*\
    !*** ./src/app/map/search-box/search-box.component.ngfactory.js ***!
    \******************************************************************/

  /*! exports provided: RenderType_SearchBoxComponent, View_SearchBoxComponent_0, View_SearchBoxComponent_Host_0, SearchBoxComponentNgFactory */

  /***/
  function srcAppMapSearchBoxSearchBoxComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_SearchBoxComponent", function () {
      return RenderType_SearchBoxComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SearchBoxComponent_0", function () {
      return View_SearchBoxComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SearchBoxComponent_Host_0", function () {
      return View_SearchBoxComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SearchBoxComponentNgFactory", function () {
      return SearchBoxComponentNgFactory;
    });
    /* harmony import */


    var _search_box_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./search-box.component.scss.shim.ngstyle */
    "./src/app/map/search-box/search-box.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/loading/loading.component.ngfactory */
    "./src/app/shared/components/loading/loading.component.ngfactory.js");
    /* harmony import */


    var _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../shared/components/loading/loading.component */
    "./src/app/shared/components/loading/loading.component.ts");
    /* harmony import */


    var _shared_components_icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../shared/components/icon/icon.component.ngfactory */
    "./src/app/shared/components/icon/icon.component.ngfactory.js");
    /* harmony import */


    var _shared_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../shared/components/icon/icon.component */
    "./src/app/shared/components/icon/icon.component.ts");
    /* harmony import */


    var _search_box_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ./search-box.component */
    "./src/app/map/search-box/search-box.component.ts");
    /* harmony import */


    var _shared_services_search_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../shared/services/search.service */
    "./src/app/map/shared/services/search.service.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_popup_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../shared/services/popup.service */
    "./src/app/map/shared/services/popup.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_SearchBoxComponent = [_search_box_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_SearchBoxComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_SearchBoxComponent,
      data: {}
    });

    function View_SearchBoxComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.id;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.id;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.title;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_SearchBoxComponent_5(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 5, "input", [["class", "form-control form-control-sm"]], [[8, "type", 0], [1, "name", 0], [8, "placeholder", 0], [2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "input"], [null, "blur"], [null, "compositionstart"], [null, "compositionend"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("input" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._handleInput($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("compositionstart" === en) {
          var pd_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionStart() !== false;
          ad = pd_2 && ad;
        }

        if ("compositionend" === en) {
          var pd_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1)._compositionEnd($event.target.value) !== false;
          ad = pd_3 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_4 = (_co.dataSearch[_v.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_4 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["COMPOSITION_BUFFER_MODE"]]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["DefaultValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_10 = _co.dataSearch[_v.parent.context.$implicit.prop];

        _ck(_v, 3, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _v.parent.context.$implicit.type;
        var currVal_1 = _v.parent.context.$implicit.prop;
        var currVal_2 = _v.parent.context.$implicit.name;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      });
    }

    function View_SearchBoxComponent_7(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], [[8, "selected", 0]], null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_1);

        var currVal_2 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.dataSearch[_v.parent.parent.context.$implicit.prop] === _v.context.$implicit.code;

        _ck(_v, 0, 0, currVal_0);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_SearchBoxComponent_6(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "select", [["class", "form-control form-control-sm"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 1).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.dataSearch[_v.parent.context.$implicit.prop] = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](5, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_7)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co.dataSearch[_v.parent.context.$implicit.prop];

        _ck(_v, 3, 0, currVal_7);

        var currVal_8 = undefined;

        _ck(_v, 7, 0, currVal_8);

        var currVal_9 = undefined;

        _ck(_v, 8, 0, currVal_9);

        var currVal_10 = _v.parent.context.$implicit.options;

        _ck(_v, 11, 0, currVal_10);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 5).ngClassPending;

        _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_SearchBoxComponent_4(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 8, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 7, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm font-weight-lighter px-0 text-right"]], [[8, "htmlFor", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 4, "div", [["class", "col-sm-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_5)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_6)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.type === "text" || _v.context.$implicit.type === "number";

        _ck(_v, 6, 0, currVal_2);

        var currVal_3 = _v.context.$implicit.type === "select";

        _ck(_v, 8, 0, currVal_3);
      }, function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.prop;

        _ck(_v, 2, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_SearchBoxComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 2, null, null, null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_4)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](0, null, null, 0))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.searchFields;

        _ck(_v, 2, 0, currVal_0);
      }, null);
    }

    function View_SearchBoxComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 18, "div", [["class", "search-adv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 15, "div", [["class", "form-group row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "label", [["class", "col-sm-3 col-form-label-sm font-weight-lighter px-0 text-right"], ["for", "staticEmail"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["L\u1EDBp d\u1EEF li\u1EC7u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 12, "div", [["class", "col-sm-9"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 11, "select", [["class", "form-control form-control-sm"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "change"], [null, "ngModelChange"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 6).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("change" === en) {
          var pd_2 = _co.selectionChangeLayer($event) !== false;
          ad = pd_2 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_3 = (_co._layerSelected = $event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 3, "option", [["value", ""]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](12, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1ECDn l\u1EDBp d\u1EEF li\u1EC7u"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](18, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_7 = _co._layerSelected;

        _ck(_v, 8, 0, currVal_7);

        var currVal_8 = "";

        _ck(_v, 12, 0, currVal_8);

        var currVal_9 = "";

        _ck(_v, 13, 0, currVal_9);

        var currVal_10 = _co.layers;

        _ck(_v, 16, 0, currVal_10);

        var currVal_11 = _co._layerSelected && _co.spatialSelected - 0 === _co.SearchType.NonSpatial;

        _ck(_v, 18, 0, currVal_11);
      }, function (_ck, _v) {
        var currVal_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassUntouched;

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassTouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassPristine;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassDirty;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassValid;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassInvalid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).ngClassPending;

        _ck(_v, 5, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6);
      });
    }

    function View_SearchBoxComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 30, "div", [["class", "position-relative"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-loading", [], null, null, null, _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_LoadingComponent_0"], _shared_components_loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_LoadingComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _shared_components_loading_loading_component__WEBPACK_IMPORTED_MODULE_5__["LoadingComponent"], [], {
        loading: [0, "loading"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 25, "div", [["class", "searchbox"]], [[2, "suggest", null]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 2, "a", [["class", "searchbox-menu btn"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "app-icon", [["name", "bars"]], null, null, null, _shared_components_icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_IconComponent_0"], _shared_components_icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_IconComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 114688, null, 0, _shared_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_7__["IconComponent"], [], {
        name: [0, "name"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 21, "div", [["class", "searchbox-input-container"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 17, "select", [["class", "custom-select my-1"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.spatialSelected = $event) !== false;
          ad = pd_2 && ad;
        }

        if ("change" === en) {
          var pd_3 = _co.selectionChangeQueryType($event) !== false;
          ad = pd_3 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](11, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](13, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](15, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Truy v\u1EA5n..."])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](18, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](19, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](20, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Kh\xF4ng gian"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](22, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](23, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](24, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Thu\u1ED9c t\xEDnh"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](26, 0, null, null, 2, "button", [["class", "btn"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.handleSearch() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](27, 0, null, null, 1, "app-icon", [["name", "search"]], null, null, null, _shared_components_icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["View_IconComponent_0"], _shared_components_icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_6__["RenderType_IconComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](28, 114688, null, 0, _shared_components_icon_icon_component__WEBPACK_IMPORTED_MODULE_7__["IconComponent"], [], {
        name: [0, "name"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SearchBoxComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](30, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loading;

        _ck(_v, 2, 0, currVal_0);

        var currVal_2 = "bars";

        _ck(_v, 6, 0, currVal_2);

        var currVal_10 = _co.spatialSelected;

        _ck(_v, 11, 0, currVal_10);

        var currVal_11 = 0;

        _ck(_v, 15, 0, currVal_11);

        var currVal_12 = 0;

        _ck(_v, 16, 0, currVal_12);

        var currVal_13 = _co.SearchType.Spatial;

        _ck(_v, 19, 0, currVal_13);

        var currVal_14 = _co.SearchType.Spatial;

        _ck(_v, 20, 0, currVal_14);

        var currVal_15 = _co.SearchType.NonSpatial;

        _ck(_v, 23, 0, currVal_15);

        var currVal_16 = _co.SearchType.NonSpatial;

        _ck(_v, 24, 0, currVal_16);

        var currVal_17 = "search";

        _ck(_v, 28, 0, currVal_17);

        var currVal_18 = _co.spatialSelected - 0;

        _ck(_v, 30, 0, currVal_18);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.spatialSelected - 0;

        _ck(_v, 3, 0, currVal_1);

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassUntouched;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassTouched;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassPristine;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassDirty;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassValid;

        var currVal_8 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassInvalid;

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 13).ngClassPending;

        _ck(_v, 8, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9);
      });
    }

    function View_SearchBoxComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-search-box", [], null, null, null, View_SearchBoxComponent_0, RenderType_SearchBoxComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _search_box_component__WEBPACK_IMPORTED_MODULE_8__["SearchBoxComponent"], [_shared_services_search_service__WEBPACK_IMPORTED_MODULE_9__["SearchService"], _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_10__["HanhChinhService"], _shared_services_popup_service__WEBPACK_IMPORTED_MODULE_11__["PopupService"], _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var SearchBoxComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-search-box", _search_box_component__WEBPACK_IMPORTED_MODULE_8__["SearchBoxComponent"], View_SearchBoxComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/map/search-box/search-box.component.scss.shim.ngstyle.js":
  /*!**************************************************************************!*\
    !*** ./src/app/map/search-box/search-box.component.scss.shim.ngstyle.js ***!
    \**************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapSearchBoxSearchBoxComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".searchbox[_ngcontent-%COMP%] {\n  position: relative;\n  background: #fff;\n  border-radius: 8px;\n  box-sizing: border-box;\n  width: 392px;\n  height: 48px;\n  border-bottom: 1px solid transparent;\n  transition-property: background, box-shadow;\n  transition-duration: 0.3s;\n  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);\n  display: flex;\n  align-items: center;\n}\n.searchbox[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%] {\n  padding-left: 30px;\n}\n.searchbox[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]   app-icon[_ngcontent-%COMP%] {\n  color: #888;\n}\n.searchbox[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:focus {\n  box-shadow: none;\n}\n.searchbox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%] {\n  vertical-align: bottom !important;\n}\n.searchbox.suggest[_ngcontent-%COMP%] {\n  border-bottom-left-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.searchbox-menu[_ngcontent-%COMP%] {\n  color: #888;\n}\n.searchbox-input-container[_ngcontent-%COMP%] {\n  flex: 1;\n  display: flex;\n  width: 100%;\n}\n.searchbox-input-container[_ngcontent-%COMP%]   .select[_ngcontent-%COMP%] {\n  width: 100%;\n  flex: 1;\n  border: none;\n  outline: none;\n  -webkit-appearance: none;\n}\n.searchbox-input-container[_ngcontent-%COMP%]   .button-search[_ngcontent-%COMP%] {\n  height: 100%;\n  color: #888;\n}\n.searchbox-input-container[_ngcontent-%COMP%]   .button-expand[_ngcontent-%COMP%] {\n  height: 100%;\n  color: #888;\n}\n.searchbox-input-container[_ngcontent-%COMP%]   .button-expand[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%] {\n  transition: transform 0.3s ease-in-out;\n}\n.searchbox-input-container[_ngcontent-%COMP%]   .button-expand[_ngcontent-%COMP%]   .icon-expand[_ngcontent-%COMP%] {\n  transform: rotate(180deg);\n}\n.suggest[_ngcontent-%COMP%] {\n  position: relative;\n  background: #fff;\n  border-radius: 0px 0px 8px 8px;\n  box-sizing: border-box;\n  width: 392px;\n  border-bottom: 1px solid transparent;\n  transition-property: background, box-shadow;\n  transition-duration: 0.3s;\n  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);\n  max-height: 60vh;\n  overflow-y: auto;\n}\n.suggest[_ngcontent-%COMP%]   .fixed-top[_ngcontent-%COMP%] {\n  position: fixed;\n  width: inherit;\n  top: inherit;\n  z-index: 1030;\n  background-color: white;\n  margin-left: 15px;\n}\n.suggest-list[_ngcontent-%COMP%] {\n  padding: 32px 0 16px 0;\n}\n.suggest-list-item[_ngcontent-%COMP%] {\n  font-size: 13px;\n  padding: 6px 16px;\n  cursor: pointer;\n}\n.suggest-list-item[_ngcontent-%COMP%]:hover {\n  background-color: rgba(0, 0, 0, 0.06);\n}\n[_ngcontent-%COMP%]::-webkit-input-placeholder {\n  \n  color: #888;\n}\n[_ngcontent-%COMP%]::-moz-placeholder {\n  \n  color: #888;\n}\n[_ngcontent-%COMP%]:-ms-input-placeholder {\n  \n  color: #888;\n}\n[_ngcontent-%COMP%]:-moz-placeholder {\n  \n  color: #888;\n}\n.search-adv[_ngcontent-%COMP%] {\n  width: 392px;\n  padding: 12px;\n  position: relative;\n  background: #fff;\n  border-radius: 0px 0px 8px 8px;\n  box-sizing: border-box;\n  width: 392px;\n  border-bottom: 1px solid transparent;\n  transition-property: background, box-shadow;\n  transition-duration: 0.3s;\n  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 -1px 0px rgba(0, 0, 0, 0.02);\n}\n.custom-select[_ngcontent-%COMP%] {\n  border: none;\n  outline: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL3NlYXJjaC1ib3gvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hcFxcc2VhcmNoLWJveFxcc2VhcmNoLWJveC5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFwL3NlYXJjaC1ib3gvc2VhcmNoLWJveC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtFQUNBLFlBQUE7RUFDQSxvQ0FBQTtFQUNBLDJDQUFBO0VBQ0EseUJBQUE7RUFDQSx3RUFBQTtFQUVBLGFBQUE7RUFDQSxtQkFBQTtBQ0FGO0FERUU7RUFDRSxrQkFBQTtBQ0FKO0FESUk7RUFDRSxXQUFBO0FDRk47QURLSTtFQUNFLGdCQUFBO0FDSE47QURPRTtFQUNFLGlDQUFBO0FDTEo7QURRRTtFQUNFLDRCQUFBO0VBQ0EsNkJBQUE7QUNOSjtBRFNFO0VBQ0UsV0FBQTtBQ1BKO0FEVUU7RUFDRSxPQUFBO0VBQ0EsYUFBQTtFQUNBLFdBQUE7QUNSSjtBRFVJO0VBQ0UsV0FBQTtFQUNBLE9BQUE7RUFDQSxZQUFBO0VBQ0EsYUFBQTtFQUNBLHdCQUFBO0FDUk47QURXSTtFQUNFLFlBQUE7RUFDQSxXQUFBO0FDVE47QURhSTtFQUNFLFlBQUE7RUFDQSxXQUFBO0FDWE47QURhTTtFQUdFLHNDQUFBO0FDWFI7QURjTTtFQUNFLHlCQUFBO0FDWlI7QURrQkE7RUFDRSxrQkFBQTtFQUNBLGdCQUFBO0VBQ0EsOEJBQUE7RUFDQSxzQkFBQTtFQUNBLFlBQUE7RUFDQSxvQ0FBQTtFQUNBLDJDQUFBO0VBRUEseUJBQUE7RUFDQSx3RUFBQTtFQUVBLGdCQUFBO0VBQ0EsZ0JBQUE7QUNqQkY7QURtQkU7RUFDRSxlQUFBO0VBQ0EsY0FBQTtFQUNBLFlBQUE7RUFFQSxhQUFBO0VBQ0EsdUJBQUE7RUFDQSxpQkFBQTtBQ2xCSjtBRHFCRTtFQUNFLHNCQUFBO0FDbkJKO0FEcUJJO0VBQ0UsZUFBQTtFQUNBLGlCQUFBO0VBQ0EsZUFBQTtBQ25CTjtBRHFCTTtFQUNFLHFDQUFBO0FDbkJSO0FEeUJBO0VBQ0Usd0JBQUE7RUFDQSxXQUFBO0FDdEJGO0FEeUJBO0VBQ0UsZ0JBQUE7RUFDQSxXQUFBO0FDdEJGO0FEeUJBO0VBQ0UsV0FBQTtFQUNBLFdBQUE7QUN0QkY7QUR5QkE7RUFDRSxnQkFBQTtFQUNBLFdBQUE7QUN0QkY7QUR5QkE7RUFDRSxZQUFBO0VBQ0EsYUFBQTtFQUNBLGtCQUFBO0VBQ0EsZ0JBQUE7RUFDQSw4QkFBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtFQUNBLG9DQUFBO0VBQ0EsMkNBQUE7RUFFQSx5QkFBQTtFQUNBLHdFQUFBO0FDdkJGO0FEMkJBO0VBQ0UsWUFBQTtFQUNBLGFBQUE7QUN4QkYiLCJmaWxlIjoic3JjL2FwcC9tYXAvc2VhcmNoLWJveC9zZWFyY2gtYm94LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnNlYXJjaGJveCB7XHJcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIGJhY2tncm91bmQ6ICNmZmY7XHJcbiAgYm9yZGVyLXJhZGl1czogOHB4O1xyXG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgd2lkdGg6IDM5MnB4O1xyXG4gIGhlaWdodDogNDhweDtcclxuICBib3JkZXItYm90dG9tOiAxcHggc29saWQgdHJhbnNwYXJlbnQ7XHJcbiAgdHJhbnNpdGlvbi1wcm9wZXJ0eTogYmFja2dyb3VuZCwgYm94LXNoYWRvdztcclxuICB0cmFuc2l0aW9uLWR1cmF0aW9uOiAwLjNzO1xyXG4gIGJveC1zaGFkb3c6IDAgMnB4IDRweCByZ2JhKDAsIDAsIDAsIDAuMiksXHJcbiAgICAwIC0xcHggMHB4IHJnYmEoMCwgMCwgMCwgMC4wMik7XHJcbiAgZGlzcGxheTogZmxleDtcclxuICBhbGlnbi1pdGVtczogY2VudGVyO1xyXG5cclxuICAuYnRuLWdyb3VwIHtcclxuICAgIHBhZGRpbmctbGVmdDogMzBweDtcclxuICB9XHJcblxyXG4gIC5idG4ge1xyXG4gICAgYXBwLWljb24ge1xyXG4gICAgICBjb2xvcjogIzg4ODtcclxuICAgIH1cclxuXHJcbiAgICAmOmZvY3VzIHtcclxuICAgICAgYm94LXNoYWRvdzogbm9uZTtcclxuICAgIH1cclxuICB9XHJcblxyXG4gIGEgbWF0LWljb24ge1xyXG4gICAgdmVydGljYWwtYWxpZ246IGJvdHRvbSAhaW1wb3J0YW50O1xyXG4gIH1cclxuXHJcbiAgJi5zdWdnZXN0IHtcclxuICAgIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IDA7XHJcbiAgICBib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogMDtcclxuICB9XHJcblxyXG4gICYtbWVudSB7XHJcbiAgICBjb2xvcjogIzg4ODtcclxuICB9XHJcblxyXG4gICYtaW5wdXQtY29udGFpbmVyIHtcclxuICAgIGZsZXg6IDE7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgd2lkdGg6IDEwMCU7XHJcblxyXG4gICAgLnNlbGVjdCB7XHJcbiAgICAgIHdpZHRoOiAxMDAlO1xyXG4gICAgICBmbGV4OiAxO1xyXG4gICAgICBib3JkZXI6IG5vbmU7XHJcbiAgICAgIG91dGxpbmU6IG5vbmU7XHJcbiAgICAgIC13ZWJraXQtYXBwZWFyYW5jZTogbm9uZTtcclxuICAgIH1cclxuXHJcbiAgICAuYnV0dG9uLXNlYXJjaCB7XHJcbiAgICAgIGhlaWdodDogMTAwJTtcclxuICAgICAgY29sb3I6ICM4ODg7XHJcbiAgICAgIC8vIHBvaW50ZXItZXZlbnRzOiBub25lO1xyXG4gICAgfVxyXG5cclxuICAgIC5idXR0b24tZXhwYW5kIHtcclxuICAgICAgaGVpZ2h0OiAxMDAlO1xyXG4gICAgICBjb2xvcjogIzg4ODtcclxuXHJcbiAgICAgIG1hdC1pY29uIHtcclxuICAgICAgICAtd2Via2l0LXRyYW5zaXRpb246IC13ZWJraXQtdHJhbnNmb3JtIC4zcyBlYXNlLWluLW91dDtcclxuICAgICAgICAtbXMtdHJhbnNpdGlvbjogLW1zLXRyYW5zZm9ybSAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIC4zcyBlYXNlLWluLW91dDtcclxuICAgICAgfVxyXG5cclxuICAgICAgLmljb24tZXhwYW5kIHtcclxuICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcblxyXG4uc3VnZ2VzdCB7XHJcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gIGJhY2tncm91bmQ6ICNmZmY7XHJcbiAgYm9yZGVyLXJhZGl1czogMHB4IDBweCA4cHggOHB4O1xyXG4gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcbiAgd2lkdGg6IDM5MnB4O1xyXG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0cmFuc3BhcmVudDtcclxuICB0cmFuc2l0aW9uLXByb3BlcnR5OiBiYWNrZ3JvdW5kLFxyXG4gICAgYm94LXNoYWRvdztcclxuICB0cmFuc2l0aW9uLWR1cmF0aW9uOiAwLjNzO1xyXG4gIGJveC1zaGFkb3c6IDAgMnB4IDRweCByZ2JhKDAsIDAsIDAsIDAuMiksXHJcbiAgICAwIC0xcHggMHB4IHJnYmEoMCwgMCwgMCwgMC4wMik7XHJcbiAgbWF4LWhlaWdodDogNjB2aDtcclxuICBvdmVyZmxvdy15OiBhdXRvO1xyXG5cclxuICAuZml4ZWQtdG9wIHtcclxuICAgIHBvc2l0aW9uOiBmaXhlZDtcclxuICAgIHdpZHRoOiBpbmhlcml0O1xyXG4gICAgdG9wOiBpbmhlcml0O1xyXG4gICAgLy8gbGVmdDogaW5oZXJpdDtcclxuICAgIHotaW5kZXg6IDEwMzA7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIG1hcmdpbi1sZWZ0OiAxNXB4O1xyXG4gIH1cclxuXHJcbiAgJi1saXN0IHtcclxuICAgIHBhZGRpbmc6IDMycHggMCAxNnB4IDA7XHJcblxyXG4gICAgJi1pdGVtIHtcclxuICAgICAgZm9udC1zaXplOiAxM3B4O1xyXG4gICAgICBwYWRkaW5nOiA2cHggMTZweDtcclxuICAgICAgY3Vyc29yOiBwb2ludGVyO1xyXG5cclxuICAgICAgJjpob3ZlciB7XHJcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgwLCAwLCAwLCAuMDYpO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcblxyXG46Oi13ZWJraXQtaW5wdXQtcGxhY2Vob2xkZXIge1xyXG4gIC8qIENocm9tZS9PcGVyYS9TYWZhcmkgKi9cclxuICBjb2xvcjogIzg4ODtcclxufVxyXG5cclxuOjotbW96LXBsYWNlaG9sZGVyIHtcclxuICAvKiBGaXJlZm94IDE5KyAqL1xyXG4gIGNvbG9yOiAjODg4O1xyXG59XHJcblxyXG46LW1zLWlucHV0LXBsYWNlaG9sZGVyIHtcclxuICAvKiBJRSAxMCsgKi9cclxuICBjb2xvcjogIzg4ODtcclxufVxyXG5cclxuOi1tb3otcGxhY2Vob2xkZXIge1xyXG4gIC8qIEZpcmVmb3ggMTgtICovXHJcbiAgY29sb3I6ICM4ODg7XHJcbn1cclxuXHJcbi5zZWFyY2gtYWR2IHtcclxuICB3aWR0aDogMzkycHg7XHJcbiAgcGFkZGluZzogMTJweDtcclxuICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgYmFja2dyb3VuZDogI2ZmZjtcclxuICBib3JkZXItcmFkaXVzOiAwcHggMHB4IDhweCA4cHg7XHJcbiAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICB3aWR0aDogMzkycHg7XHJcbiAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHRyYW5zcGFyZW50O1xyXG4gIHRyYW5zaXRpb24tcHJvcGVydHk6IGJhY2tncm91bmQsXHJcbiAgICBib3gtc2hhZG93O1xyXG4gIHRyYW5zaXRpb24tZHVyYXRpb246IDAuM3M7XHJcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IHJnYmEoMCwgMCwgMCwgMC4yKSxcclxuICAgIDAgLTFweCAwcHggcmdiYSgwLCAwLCAwLCAwLjAyKTtcclxufVxyXG5cclxuLmN1c3RvbS1zZWxlY3Qge1xyXG4gIGJvcmRlcjogbm9uZTtcclxuICBvdXRsaW5lOiBub25lO1xyXG59IiwiLnNlYXJjaGJveCB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgYm9yZGVyLXJhZGl1czogOHB4O1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzkycHg7XG4gIGhlaWdodDogNDhweDtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHRyYW5zcGFyZW50O1xuICB0cmFuc2l0aW9uLXByb3BlcnR5OiBiYWNrZ3JvdW5kLCBib3gtc2hhZG93O1xuICB0cmFuc2l0aW9uLWR1cmF0aW9uOiAwLjNzO1xuICBib3gtc2hhZG93OiAwIDJweCA0cHggcmdiYSgwLCAwLCAwLCAwLjIpLCAwIC0xcHggMHB4IHJnYmEoMCwgMCwgMCwgMC4wMik7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG59XG4uc2VhcmNoYm94IC5idG4tZ3JvdXAge1xuICBwYWRkaW5nLWxlZnQ6IDMwcHg7XG59XG4uc2VhcmNoYm94IC5idG4gYXBwLWljb24ge1xuICBjb2xvcjogIzg4ODtcbn1cbi5zZWFyY2hib3ggLmJ0bjpmb2N1cyB7XG4gIGJveC1zaGFkb3c6IG5vbmU7XG59XG4uc2VhcmNoYm94IGEgbWF0LWljb24ge1xuICB2ZXJ0aWNhbC1hbGlnbjogYm90dG9tICFpbXBvcnRhbnQ7XG59XG4uc2VhcmNoYm94LnN1Z2dlc3Qge1xuICBib3JkZXItYm90dG9tLWxlZnQtcmFkaXVzOiAwO1xuICBib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogMDtcbn1cbi5zZWFyY2hib3gtbWVudSB7XG4gIGNvbG9yOiAjODg4O1xufVxuLnNlYXJjaGJveC1pbnB1dC1jb250YWluZXIge1xuICBmbGV4OiAxO1xuICBkaXNwbGF5OiBmbGV4O1xuICB3aWR0aDogMTAwJTtcbn1cbi5zZWFyY2hib3gtaW5wdXQtY29udGFpbmVyIC5zZWxlY3Qge1xuICB3aWR0aDogMTAwJTtcbiAgZmxleDogMTtcbiAgYm9yZGVyOiBub25lO1xuICBvdXRsaW5lOiBub25lO1xuICAtd2Via2l0LWFwcGVhcmFuY2U6IG5vbmU7XG59XG4uc2VhcmNoYm94LWlucHV0LWNvbnRhaW5lciAuYnV0dG9uLXNlYXJjaCB7XG4gIGhlaWdodDogMTAwJTtcbiAgY29sb3I6ICM4ODg7XG59XG4uc2VhcmNoYm94LWlucHV0LWNvbnRhaW5lciAuYnV0dG9uLWV4cGFuZCB7XG4gIGhlaWdodDogMTAwJTtcbiAgY29sb3I6ICM4ODg7XG59XG4uc2VhcmNoYm94LWlucHV0LWNvbnRhaW5lciAuYnV0dG9uLWV4cGFuZCBtYXQtaWNvbiB7XG4gIC13ZWJraXQtdHJhbnNpdGlvbjogLXdlYmtpdC10cmFuc2Zvcm0gMC4zcyBlYXNlLWluLW91dDtcbiAgLW1zLXRyYW5zaXRpb246IC1tcy10cmFuc2Zvcm0gMC4zcyBlYXNlLWluLW91dDtcbiAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XG59XG4uc2VhcmNoYm94LWlucHV0LWNvbnRhaW5lciAuYnV0dG9uLWV4cGFuZCAuaWNvbi1leHBhbmQge1xuICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpO1xufVxuXG4uc3VnZ2VzdCB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgYm9yZGVyLXJhZGl1czogMHB4IDBweCA4cHggOHB4O1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzkycHg7XG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgdHJhbnNpdGlvbi1wcm9wZXJ0eTogYmFja2dyb3VuZCwgYm94LXNoYWRvdztcbiAgdHJhbnNpdGlvbi1kdXJhdGlvbjogMC4zcztcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IHJnYmEoMCwgMCwgMCwgMC4yKSwgMCAtMXB4IDBweCByZ2JhKDAsIDAsIDAsIDAuMDIpO1xuICBtYXgtaGVpZ2h0OiA2MHZoO1xuICBvdmVyZmxvdy15OiBhdXRvO1xufVxuLnN1Z2dlc3QgLmZpeGVkLXRvcCB7XG4gIHBvc2l0aW9uOiBmaXhlZDtcbiAgd2lkdGg6IGluaGVyaXQ7XG4gIHRvcDogaW5oZXJpdDtcbiAgei1pbmRleDogMTAzMDtcbiAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gIG1hcmdpbi1sZWZ0OiAxNXB4O1xufVxuLnN1Z2dlc3QtbGlzdCB7XG4gIHBhZGRpbmc6IDMycHggMCAxNnB4IDA7XG59XG4uc3VnZ2VzdC1saXN0LWl0ZW0ge1xuICBmb250LXNpemU6IDEzcHg7XG4gIHBhZGRpbmc6IDZweCAxNnB4O1xuICBjdXJzb3I6IHBvaW50ZXI7XG59XG4uc3VnZ2VzdC1saXN0LWl0ZW06aG92ZXIge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuMDYpO1xufVxuXG46Oi13ZWJraXQtaW5wdXQtcGxhY2Vob2xkZXIge1xuICAvKiBDaHJvbWUvT3BlcmEvU2FmYXJpICovXG4gIGNvbG9yOiAjODg4O1xufVxuXG46Oi1tb3otcGxhY2Vob2xkZXIge1xuICAvKiBGaXJlZm94IDE5KyAqL1xuICBjb2xvcjogIzg4ODtcbn1cblxuOi1tcy1pbnB1dC1wbGFjZWhvbGRlciB7XG4gIC8qIElFIDEwKyAqL1xuICBjb2xvcjogIzg4ODtcbn1cblxuOi1tb3otcGxhY2Vob2xkZXIge1xuICAvKiBGaXJlZm94IDE4LSAqL1xuICBjb2xvcjogIzg4ODtcbn1cblxuLnNlYXJjaC1hZHYge1xuICB3aWR0aDogMzkycHg7XG4gIHBhZGRpbmc6IDEycHg7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgYmFja2dyb3VuZDogI2ZmZjtcbiAgYm9yZGVyLXJhZGl1czogMHB4IDBweCA4cHggOHB4O1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICB3aWR0aDogMzkycHg7XG4gIGJvcmRlci1ib3R0b206IDFweCBzb2xpZCB0cmFuc3BhcmVudDtcbiAgdHJhbnNpdGlvbi1wcm9wZXJ0eTogYmFja2dyb3VuZCwgYm94LXNoYWRvdztcbiAgdHJhbnNpdGlvbi1kdXJhdGlvbjogMC4zcztcbiAgYm94LXNoYWRvdzogMCAycHggNHB4IHJnYmEoMCwgMCwgMCwgMC4yKSwgMCAtMXB4IDBweCByZ2JhKDAsIDAsIDAsIDAuMDIpO1xufVxuXG4uY3VzdG9tLXNlbGVjdCB7XG4gIGJvcmRlcjogbm9uZTtcbiAgb3V0bGluZTogbm9uZTtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/map/search-box/search-box.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/map/search-box/search-box.component.ts ***!
    \********************************************************/

  /*! exports provided: SearchBoxComponent */

  /***/
  function srcAppMapSearchBoxSearchBoxComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SearchBoxComponent", function () {
      return SearchBoxComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../shared/constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");

    var SearchType;

    (function (SearchType) {
      SearchType[SearchType["NonSpatial"] = 1] = "NonSpatial";
      SearchType[SearchType["Spatial"] = 2] = "Spatial";
    })(SearchType || (SearchType = {}));

    var SearchBoxComponent = /*#__PURE__*/function () {
      function SearchBoxComponent(searchService, hanhChinhService, popupService, loginService) {
        _classCallCheck(this, SearchBoxComponent);

        this.searchService = searchService;
        this.hanhChinhService = hanhChinhService;
        this.popupService = popupService;
        this.loginService = loginService;
        this.SearchType = SearchType;
        this.loading = false;
        this.layers = [_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].TRAMBTS, _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].TUYENCAPNGAM, _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].TUYENCAPNOI, _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].DIEMDICHVU];
        this.tramBtsFields = [{
          prop: 'MaTram',
          name: 'Mã trạm',
          type: 'text'
        }, {
          prop: 'TenTram',
          name: 'Tên trạm',
          type: 'text',
          where: 'LIKE'
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          isQuanHuyenTP: true
        }];
        this.tuyenCapFields = [{
          prop: 'MaTuyen',
          name: 'Mã tuyến cáp',
          type: 'text'
        }, {
          prop: 'TenTuyen',
          name: 'Tên tuyến cáp',
          type: 'text',
          where: "LIKE"
        }, {
          prop: 'LoaiCap',
          name: 'Loại cáp',
          type: 'select'
        }];
        this.diemDichVuFields = [{
          prop: 'SoHieu',
          name: 'Số hiệu',
          type: 'text'
        }, {
          prop: 'TenDiem',
          name: 'Tên điểm DV',
          type: 'text',
          where: 'LIKE'
        }, {
          prop: 'HuyenTXTP',
          name: 'Huyện/TP',
          type: 'select',
          isQuanHuyenTP: true
        }];
        this._layerSelected = '';
        this.spatialSelected = 0;
        this.wheres = [];
        this.isQueryAttributes = false;
        this.dataSearch = {};

        if (loginService.isQuanHuyen) {
          this.maQuanHuyen = +loginService.maDonVi;
          this.tramBtsFields = [{
            prop: 'MaTram',
            name: 'Mã trạm',
            type: 'text'
          }, {
            prop: 'TenTram',
            name: 'Tên trạm',
            type: 'text',
            where: 'LIKE'
          }, {
            prop: 'XaPhuongTT ',
            name: 'Xã/phường/thị trấn',
            type: 'select',
            isPhuongXa: true
          }];
          this.diemDichVuFields = [{
            prop: 'SoHieu',
            name: 'Số hiệu',
            type: 'text'
          }, {
            prop: 'TenDiem',
            name: 'Tên điểm DV',
            type: 'text',
            where: 'LIKE'
          }, {
            prop: 'XaPhuongTT ',
            name: 'Xã/phường/thị trấn',
            type: 'select',
            isPhuongXa: true
          }];
        }
      }

      _createClass(SearchBoxComponent, [{
        key: "layerSelected",
        set: function set(layer) {
          switch (layer) {
            case _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].TRAMBTS.id:
              this.searchFields = this.tramBtsFields;
              break;

            case _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].TUYENCAPNGAM.id:
            case _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].TUYENCAPNOI.id:
              this.searchFields = this.tuyenCapFields;
              break;

            case _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].DIEMDICHVU.id:
              this.searchFields = this.diemDichVuFields;
              break;
          }

          this._layerSelected = layer;
        }
      }, {
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this219 = this;

          // this.searchService.resultSearch$.subscribe(res => {
          //   this.loading = false;
          // })
          this.popupService.open$.subscribe(function (isOpen) {
            if (isOpen) {
              _this219.spatialSelected = 0;
            }
          });
        }
      }, {
        key: "getQuerySearch",
        value: function getQuerySearch() {
          var _this220 = this;

          this.wheres = [];
          this.searchFields.forEach(function (m) {
            if (_this220.dataSearch && _this220.dataSearch[m.prop] && _this220.dataSearch[m.prop] !== 'undefined') {
              var val = '';
              var where = '';

              if (m.type === 'select' && (m.isPhuongXa || m.isQuanHuyenTP) || m.type === 'number') {
                where = "".concat(m.prop, " = ").concat(_this220.dataSearch[m.prop]);
              } else if (m.where) {
                where = "".concat(m.prop, " ").concat(m.where, " '%").concat(_this220.dataSearch[m.prop], "%'");
              } else {
                where = "".concat(m.prop, " = '").concat(_this220.dataSearch[m.prop], "'");
              }

              _this220.wheres.push(where);
            }
          });
        }
      }, {
        key: "handleSearch",
        value: function handleSearch() {
          try {
            if (this._layerSelected && +this.spatialSelected === SearchType.NonSpatial) {
              this.getQuerySearch();

              if (this.wheres.length) {
                this.searchService.searchNonSpatial(this.wheres);
              }
            }
          } catch (e) {
            this.loading = false;
          }
        }
      }, {
        key: "handleCloseSearchAdv",
        value: function handleCloseSearchAdv() {
          this.spatialSelected = 0;
        }
      }, {
        key: "selectionChangeQueryType",
        value: function selectionChangeQueryType(event) {
          this.dataSearch = {};
          this._layerSelected = '';
        }
      }, {
        key: "selectionChangeLayer",
        value: function selectionChangeLayer(selected) {
          var _this221 = this;

          this.layerSelected = selected.target.value;
          this.searchService.layerId = selected.target.value;
          this.isQueryAttributes = false;
          this.dataSearch = {};

          if (+this.spatialSelected === SearchType.Spatial) {
            this.searchService.draw();
          } else {
            this.isQueryAttributes = true;
            this.searchFields.map(function (m) {
              return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this221, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee25() {
                return _regeneratorRuntime().wrap(function _callee25$(_context28) {
                  while (1) switch (_context28.prev = _context28.next) {
                    case 0:
                      if (!m.isQuanHuyenTP) {
                        _context28.next = 6;
                        break;
                      }

                      _context28.next = 3;
                      return this.hanhChinhService.getAllDistrict().then(function (res) {
                        return res;
                      });

                    case 3:
                      m.options = _context28.sent;
                      _context28.next = 19;
                      break;

                    case 6:
                      if (!m.isPhuongXa) {
                        _context28.next = 18;
                        break;
                      }

                      if (!(this.loginService.isQuanHuyen && this.maQuanHuyen)) {
                        _context28.next = 13;
                        break;
                      }

                      _context28.next = 10;
                      return this.hanhChinhService.getAllWard(this.maQuanHuyen).then(function (res) {
                        return res;
                      });

                    case 10:
                      m.options = _context28.sent;
                      _context28.next = 16;
                      break;

                    case 13:
                      _context28.next = 15;
                      return this.hanhChinhService.getAllWard().then(function (res) {
                        return res;
                      });

                    case 15:
                      m.options = _context28.sent;

                    case 16:
                      _context28.next = 19;
                      break;

                    case 18:
                      if (m.prop === 'TinhTrang') {
                        m.options = [{
                          code: 1,
                          name: 'Doanh nghiệp xin cấp phép'
                        }, {
                          code: 2,
                          name: 'Sở cấp phép'
                        }, {
                          code: 3,
                          name: 'Hoàn công'
                        }, {
                          code: 4,
                          name: 'Không chấp thuận'
                        }];
                      } else if (m.prop === 'LoaiCap') {
                        m.options = [{
                          code: 1,
                          name: 'Cáp quang'
                        }, {
                          code: 2,
                          name: 'Cáp đồng'
                        }, {
                          code: 3,
                          name: 'Cáp quang, cáp đồng'
                        }];
                      }

                    case 19:
                      return _context28.abrupt("return", m);

                    case 20:
                    case "end":
                      return _context28.stop();
                  }
                }, _callee25, this);
              }));
            });
          }
        }
      }]);

      return SearchBoxComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/shared/constants/layer.constant.ts":
  /*!********************************************************!*\
    !*** ./src/app/map/shared/constants/layer.constant.ts ***!
    \********************************************************/

  /*! exports provided: DuLieuNenLayer, TramBTSLayer, TuyenCapNgamLayer, TuyenCapNoiLayer, DiemDichVuLayer, HanhChinhXaMapServer, HanhChinhHuyenMapServer */

  /***/
  function srcAppMapSharedConstantsLayerConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DuLieuNenLayer", function () {
      return DuLieuNenLayer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBTSLayer", function () {
      return TramBTSLayer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgamLayer", function () {
      return TuyenCapNgamLayer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNoiLayer", function () {
      return TuyenCapNoiLayer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVuLayer", function () {
      return DiemDichVuLayer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HanhChinhXaMapServer", function () {
      return HanhChinhXaMapServer;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HanhChinhHuyenMapServer", function () {
      return HanhChinhHuyenMapServer;
    });
    /* harmony import */


    var src_environments_environment__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/environments/environment */
    "./src/environments/environment.ts");

    var DuLieuNenLayer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_DuLieuNen/MapServer");
    var TramBTSLayer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_ChuyenDe/FeatureServer/1");
    var TuyenCapNgamLayer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_ChuyenDe/FeatureServer/2");
    var TuyenCapNoiLayer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_ChuyenDe/FeatureServer/3");
    var DiemDichVuLayer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_ChuyenDe/FeatureServer/0");
    var HanhChinhXaMapServer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_DuLieuNen/MapServer/0");
    var HanhChinhHuyenMapServer = "".concat(src_environments_environment__WEBPACK_IMPORTED_MODULE_0__["environment"].arcgisRestUrl, "/KonTum_DuLieuNen/MapServer/1");
    /***/
  },

  /***/
  "./src/app/map/shared/constants/map.constant.ts":
  /*!******************************************************!*\
    !*** ./src/app/map/shared/constants/map.constant.ts ***!
    \******************************************************/

  /*! exports provided: CENTER, SCALE, MINSCALETRAMBTS, MINSCALEDIEMDICHVU, MINSCALETUYENCAP, CONSTNAME */

  /***/
  function srcAppMapSharedConstantsMapConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CENTER", function () {
      return CENTER;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SCALE", function () {
      return SCALE;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MINSCALETRAMBTS", function () {
      return MINSCALETRAMBTS;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MINSCALEDIEMDICHVU", function () {
      return MINSCALEDIEMDICHVU;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MINSCALETUYENCAP", function () {
      return MINSCALETUYENCAP;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CONSTNAME", function () {
      return CONSTNAME;
    });

    var CENTER = {
      TINH: [107.894243, 14.595270],
      THANHPHO: [107.999967, 14.346050],
      DAKGLEI: [107.735266, 15.088867],
      NGOCHOI: [107.647486, 14.705637],
      DAKTO: [107.838489, 14.661322],
      KONPLONG: [108.310059, 14.783328],
      KONRAY: [108.178725, 14.534882],
      DAKHA: [107.919650, 14.515933],
      SATHAY: [107.645510, 14.366081],
      TUMORONG: [107.963087, 14.873720],
      IAHDRAI: []
    };
    var SCALE = 600000;
    var MINSCALETRAMBTS = 2000000;
    var MINSCALEDIEMDICHVU = 40000;
    var MINSCALETUYENCAP = 20000;
    var CONSTNAME = {
      INDEX_HANHCHINHHUYEN: 1,
      INDEX_HANHCHINHXA: 0,
      INDEX_TIMDUONG: 1,
      BASEMAP: 'dulieunen',
      TRAMBTS: {
        id: 'TramBTS',
        title: 'Trạm BTS'
      },
      DIEMDICHVU: {
        id: "DiemDichVu",
        title: 'Điểm dịch vụ'
      },
      TUYENCAPNGAM: {
        id: 'TuyenCapNgam',
        title: 'Tuyến cáp ngầm'
      },
      TUYENCAPNOI: {
        id: 'TuyenCapNoi',
        title: 'Tuyến cáp nổi'
      },
      CHUYEN_DE_HT: 'chuyendehientrang',
      OSM: "osm"
    };
    /***/
  },

  /***/
  "./src/app/map/shared/services/layer.service.ts":
  /*!******************************************************!*\
    !*** ./src/app/map/shared/services/layer.service.ts ***!
    \******************************************************/

  /*! exports provided: LayerService */

  /***/
  function srcAppMapSharedServicesLayerServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "LayerService", function () {
      return LayerService;
    });
    /* harmony import */


    var _constants_map_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var _constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! src/app/shared/constants/data.constant */
    "./src/app/shared/constants/data.constant.ts");
    /* harmony import */


    var esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/layers/GroupLayer */
    "./node_modules/arcgis-js-api/layers/GroupLayer.js");
    /* harmony import */


    var esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/renderers/UniqueValueRenderer */
    "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js");
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_5__);
    /* harmony import */


    var esri_symbols_PictureMarkerSymbol__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! esri/symbols/PictureMarkerSymbol */
    "./node_modules/arcgis-js-api/symbols/PictureMarkerSymbol.js");
    /* harmony import */


    var esri_symbols_PictureMarkerSymbol__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(esri_symbols_PictureMarkerSymbol__WEBPACK_IMPORTED_MODULE_6__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var LayerService = /*#__PURE__*/function () {
      function LayerService(service) {
        _classCallCheck(this, LayerService);

        this.service = service;
        this.definitionExpression = '';
        this.outFields = ['*'];

        if (service.isDoanhNghiep) {
          this.definitionExpression = "TenDoanhNghiep='".concat(service.maDonVi, "'");
        } else if (service.isQuanHuyen) {
          this.definitionExpression = "HuyenTXTP=".concat(service.maDonVi);
        } else {
          this.definitionExpression = '1=1';
        }
      }

      _createClass(LayerService, [{
        key: "layer",
        get: function get() {
          return this.layerTramBTS;
        }
      }, {
        key: "addTramBTSFeatureLayer",
        value: function addTramBTSFeatureLayer() {
          var _this222 = this;

          var gr = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3___default.a({
            title: "Trạm BTS",
            id: "nhomTramBTS"
          });
          var dsDN = [{
            name: "GTL",
            title: "GTel",
            name_img: 'gtel'
          }, {
            name: "MBF",
            title: "Mobifone",
            name_img: 'mobifone'
          }, {
            name: "VNPT",
            title: "VNPT",
            name_img: "vina"
          }, {
            name: "VNM",
            title: "Vietnamobile",
            name_img: "vietnam"
          }, {
            name: "VTL",
            title: "Viettel",
            name_img: "viettel"
          }];
          var uniqueValueInfos = [];
          var doanhNghiep = dsDN.find(function (m) {
            return m.name === _this222.service.maDonVi;
          });

          for (var _i58 = 1; _i58 <= 4; _i58++) {
            if (!doanhNghiep) {
              // neu khong phai la doanh nghiep thi set unique tat ca de hien thi tren Legend
              var _iterator150 = _createForOfIteratorHelper(dsDN),
                  _step150;

              try {
                for (_iterator150.s(); !(_step150 = _iterator150.n()).done;) {
                  var dn = _step150.value;
                  var uniqueValueInfo = {
                    label: null,
                    value: null,
                    symbol: {
                      url: null,
                      type: "picture-marker",
                      width: "24px",
                      height: "24px"
                    }
                  };
                  uniqueValueInfo.value = dn.name + ', ' + _i58;

                  if (_i58 == 1) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Xin c\u1EA5p ph\xE9p");
                    uniqueValueInfo.create = true;
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau.png";
                  }

                  if (_i58 == 2) {
                    uniqueValueInfo.label = "".concat(dn.title, " - \u0110\xE3 c\u1EA5p ph\xE9p");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau_chapnhan.png";
                  }

                  if (_i58 == 3) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Ho\xE0n c\xF4ng");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + ".png";
                  }

                  if (_i58 == 4) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Kh\xF4ng ch\u1EA5p nh\u1EADn");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau_kochapnhan.png";
                  }

                  uniqueValueInfos.push(uniqueValueInfo);
                }
              } catch (err) {
                _iterator150.e(err);
              } finally {
                _iterator150.f();
              }
            } else {
              // nguoc lai la doanh nghiep thi chi hien thi legend cua doanh nghiep do
              var _uniqueValueInfo2 = {
                label: null,
                value: null,
                symbol: {
                  url: null,
                  type: "picture-marker",
                  width: "24px",
                  height: "24px"
                }
              };
              _uniqueValueInfo2.value = doanhNghiep.name + ', ' + _i58;

              if (_i58 == 1) {
                _uniqueValueInfo2.label = "Xin c\u1EA5p ph\xE9p";
                _uniqueValueInfo2.create = true;
                _uniqueValueInfo2.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau.png";
              }

              if (_i58 == 2) {
                _uniqueValueInfo2.label = "\u0110\xE3 c\u1EA5p ph\xE9p";
                _uniqueValueInfo2.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau_chapnhan.png";
              }

              if (_i58 == 3) {
                _uniqueValueInfo2.label = "Ho\xE0n c\xF4ng";
                _uniqueValueInfo2.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + ".png";
              }

              if (_i58 == 4) {
                _uniqueValueInfo2.label = "Kh\xF4ng ch\u1EA5p nh\u1EADn";
                _uniqueValueInfo2.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau_kochapnhan.png";
              }

              uniqueValueInfos.push(_uniqueValueInfo2);
            }
          }

          var renderer = new esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_5___default.a({
            field: "TenDoanhNghiep",
            field2: "TinhTrang",
            fieldDelimiter: ", ",
            uniqueValueInfos: uniqueValueInfos,
            defaultSymbol: new esri_symbols_PictureMarkerSymbol__WEBPACK_IMPORTED_MODULE_6___default.a({
              url: "/assets/images/bts/chuaxacdinh.png"
            }),
            defaultLabel: "Chưa xác định"
          });
          var tramBtsFL = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_4___default.a(this.tramBtsLayer);
          tramBtsFL.minScale = _constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["MINSCALETRAMBTS"];
          tramBtsFL.renderer = renderer;
          tramBtsFL.listMode = 'hide';
          gr.add(tramBtsFL);
          this.layerTramBTS = tramBtsFL;
          var groupBtsTt = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3___default.a({
            id: 'tinh-trang',
            title: 'Tình trạng'
          });
          gr.add(groupBtsTt);
          var tramBTSDefinitionExpression = [];

          if (!this.service.isDoanhNghiep) {
            // neu khong phai la doanh nghiep thi group doanh nghiep
            var groupBtsDn = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3___default.a({
              id: 'doanh-nghiep',
              title: 'Doanh nghiệp'
            });
            gr.add(groupBtsDn);
            dsDN.forEach(function (f) {
              var btsDn = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3___default.a({
                title: f.title,
                id: f.name
              });
              btsDn.watch("visible", function (newVal, oldVal) {
                if (!newVal) {
                  tramBTSDefinitionExpression.push("TenDoanhNghiep not like '".concat(f.name, "'"));
                } else {
                  var index = tramBTSDefinitionExpression.indexOf("TenDoanhNghiep not like '".concat(f.name, "'"));

                  if (index > -1) {
                    tramBTSDefinitionExpression.splice(index, 1);
                  }
                }

                ;

                if (tramBTSDefinitionExpression.length > 0) {
                  tramBtsFL.definitionExpression = tramBTSDefinitionExpression.join(" and ");
                } else {
                  tramBtsFL.definitionExpression = "1=1";
                }
              });
              groupBtsDn.add(btsDn);
            });
            groupBtsDn.watch("visible", function (newVal, oldVal) {
              tramBtsFL.visible = newVal;
            });
          } else {
            // nguoc lai la doanh nghiep thi set definition mac dinh la doanh nghiep de request
            tramBTSDefinitionExpression.push("TenDoanhNghiep like '".concat(this.service.maDonVi, "'"));
          } // Group theo tinh trang


          src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_2__["DTinhTrang"].forEach(function (f) {
            var btsTinhTrang = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_3___default.a({
              title: f.name,
              id: "tinh-trang-".concat(f.code)
            });
            btsTinhTrang.watch("visible", function (newVal, oldVal) {
              if (!newVal) {
                tramBTSDefinitionExpression.push("TinhTrang <> ".concat(f.code));
              } else {
                var index = tramBTSDefinitionExpression.indexOf("TinhTrang <> ".concat(f.code));

                if (index > -1) {
                  tramBTSDefinitionExpression.splice(index, 1);
                }
              }

              ;

              if (tramBTSDefinitionExpression.length > 0) {
                tramBtsFL.definitionExpression = tramBTSDefinitionExpression.join(" and ");
              } else {
                tramBtsFL.definitionExpression = "1=1";
              }
            });
            groupBtsTt.add(btsTinhTrang);
          });
          groupBtsTt.watch("visible", function (newVal, oldVal) {
            tramBtsFL.visible = newVal;
          });
          gr.watch("visible", function (newVal, oldVal) {
            tramBtsFL.visible = newVal;
          });
          return gr;
        }
      }, {
        key: "tramBtsLayer",
        get: function get() {
          return Object.assign(Object.assign({}, _constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].TRAMBTS), {
            url: _constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TramBTSLayer"],
            definitionExpression: this.definitionExpression,
            outFields: this.outFields
          });
        }
      }, {
        key: "diemDichVuLayer",
        get: function get() {
          return Object.assign(Object.assign({}, _constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].DIEMDICHVU), {
            url: _constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["DiemDichVuLayer"],
            definitionExpression: this.definitionExpression,
            outFields: this.outFields
          });
        }
      }, {
        key: "tuyenCapNgamLayer",
        get: function get() {
          return Object.assign(Object.assign({}, _constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].TUYENCAPNGAM), {
            url: _constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TuyenCapNgamLayer"],
            definitionExpression: this.definitionExpression,
            outFields: this.outFields
          });
        }
      }, {
        key: "tuyenCapNoiLayer",
        get: function get() {
          return Object.assign(Object.assign({}, _constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].TUYENCAPNOI), {
            url: _constants_layer_constant__WEBPACK_IMPORTED_MODULE_1__["TuyenCapNoiLayer"],
            definitionExpression: this.definitionExpression,
            outFields: this.outFields
          });
        }
      }]);

      return LayerService;
    }();

    LayerService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjectable"]({
      factory: function LayerService_Factory() {
        return new LayerService(_angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_8__["LoginService"]));
      },
      token: LayerService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/map/shared/services/map.service.ts":
  /*!****************************************************!*\
    !*** ./src/app/map/shared/services/map.service.ts ***!
    \****************************************************/

  /*! exports provided: MapService */

  /***/
  function srcAppMapSharedServicesMapServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "MapService", function () {
      return MapService;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var _constants_layer_constant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var esri_Map__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/Map */
    "./node_modules/arcgis-js-api/Map.js");
    /* harmony import */


    var esri_Map__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_Map__WEBPACK_IMPORTED_MODULE_5__);
    /* harmony import */


    var esri_views_MapView__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! esri/views/MapView */
    "./node_modules/arcgis-js-api/views/MapView.js");
    /* harmony import */


    var esri_views_MapView__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(esri_views_MapView__WEBPACK_IMPORTED_MODULE_6__);
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! esri/layers/FeatureLayer */
    "./node_modules/arcgis-js-api/layers/FeatureLayer.js");
    /* harmony import */


    var esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7__);
    /* harmony import */


    var esri_layers_MapImageLayer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! esri/layers/MapImageLayer */
    "./node_modules/arcgis-js-api/layers/MapImageLayer.js");
    /* harmony import */


    var esri_layers_MapImageLayer__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(esri_layers_MapImageLayer__WEBPACK_IMPORTED_MODULE_8__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_9__);
    /* harmony import */


    var esri_widgets_Home__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! esri/widgets/Home */
    "./node_modules/arcgis-js-api/widgets/Home.js");
    /* harmony import */


    var esri_widgets_Home__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Home__WEBPACK_IMPORTED_MODULE_10__);
    /* harmony import */


    var esri_widgets_Locate__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! esri/widgets/Locate */
    "./node_modules/arcgis-js-api/widgets/Locate.js");
    /* harmony import */


    var esri_widgets_Locate__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Locate__WEBPACK_IMPORTED_MODULE_11__);
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! esri/symbols */
    "./node_modules/arcgis-js-api/symbols.js");
    /* harmony import */


    var esri_symbols__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(esri_symbols__WEBPACK_IMPORTED_MODULE_12__);
    /* harmony import */


    var esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
    /*! esri/layers/GroupLayer */
    "./node_modules/arcgis-js-api/layers/GroupLayer.js");
    /* harmony import */


    var esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13__);
    /* harmony import */


    var esri_widgets_BasemapToggle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
    /*! esri/widgets/BasemapToggle */
    "./node_modules/arcgis-js-api/widgets/BasemapToggle.js");
    /* harmony import */


    var esri_widgets_BasemapToggle__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_BasemapToggle__WEBPACK_IMPORTED_MODULE_14__);
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
    /*! esri/renderers/UniqueValueRenderer */
    "./node_modules/arcgis-js-api/renderers/UniqueValueRenderer.js");
    /* harmony import */


    var esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_15__);
    /* harmony import */


    var esri_widgets_Print__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
    /*! esri/widgets/Print */
    "./node_modules/arcgis-js-api/widgets/Print.js");
    /* harmony import */


    var esri_widgets_Print__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Print__WEBPACK_IMPORTED_MODULE_16__);
    /* harmony import */


    var esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
    /*! esri/widgets/Expand */
    "./node_modules/arcgis-js-api/widgets/Expand.js");
    /* harmony import */


    var esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_17__);
    /* harmony import */


    var src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
    /*! src/app/shared/constants/data.constant */
    "./src/app/shared/constants/data.constant.ts");
    /* harmony import */


    var src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
    /*! src/app/shared/models/login.model */
    "./src/app/shared/models/login.model.ts");
    /* harmony import */


    var _angular_router__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
    /*! @angular/router */
    "./node_modules/@angular/router/fesm2015/router.js");
    /* harmony import */


    var _layer_service__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
    /*! ./layer.service */
    "./src/app/map/shared/services/layer.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var MapService = /*#__PURE__*/function () {
      function MapService(router, activatedRoute, layerService, loginService) {
        _classCallCheck(this, MapService);

        this.router = router;
        this.activatedRoute = activatedRoute;
        this.layerService = layerService;
        this.loginService = loginService;
        this.loadedSource = new rxjs__WEBPACK_IMPORTED_MODULE_2__["BehaviorSubject"](false);
        this.notify = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
      }

      _createClass(MapService, [{
        key: "loaded$",
        get: function get() {
          return this.loadedSource.asObservable();
        }
      }, {
        key: "checkVaiTro",
        value: function checkVaiTro() {
          if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].TPKONTUM) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].THANHPHO;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].DAKGLEI) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].DAKGLEI;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].DAKHA) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].DAKHA;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].DAKTO) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].DAKTO;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].KONPLONG) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].KONPLONG;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].KONRAY) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].KONRAY;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].SATHAY) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].SATHAY;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].TUMORONG) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].TUMORONG;
          } else if (this.loginService.maDonVi === src_app_shared_models_login_model__WEBPACK_IMPORTED_MODULE_19__["Huyen"].NGOCHOI) {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].NGOCHOI;
          } else {
            return _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CENTER"].TINH;
          }
        }
      }, {
        key: "loadMap",
        value: function loadMap(params) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee26() {
            var _this223 = this;

            var element, mapProperties, viewProperties, map, toggle, homeWidget, locateWidget, print, bgExpand;
            return _regeneratorRuntime().wrap(function _callee26$(_context29) {
              while (1) switch (_context29.prev = _context29.next) {
                case 0:
                  element = params.element, mapProperties = params.mapProperties, viewProperties = params.viewProperties;
                  map = new esri_Map__WEBPACK_IMPORTED_MODULE_5___default.a(Object.assign({
                    basemap: 'osm'
                  }, mapProperties));
                  this.view = new esri_views_MapView__WEBPACK_IMPORTED_MODULE_6___default.a(Object.assign(Object.assign({
                    map: map,
                    container: element
                  }, viewProperties), {
                    center: this.checkVaiTro(),
                    scale: _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["SCALE"],
                    ui: {
                      components: []
                    }
                  })); // const scaleBar = new ScaleBar({ view: this.view, unit: 'dual' });
                  // this.view.ui.add(scaleBar, 'bottom-left');
                  // Add a basemap toggle widget to toggle between basemaps

                  toggle = new esri_widgets_BasemapToggle__WEBPACK_IMPORTED_MODULE_14___default.a({
                    view: this.view,
                    nextBasemap: "hybrid"
                  }); // Add widget to the top right corner of the view

                  this.view.ui.add(toggle, "bottom-right");
                  homeWidget = new esri_widgets_Home__WEBPACK_IMPORTED_MODULE_10___default.a({
                    view: this.view
                  });
                  this.view.ui.add(homeWidget, "bottom-right");
                  locateWidget = new esri_widgets_Locate__WEBPACK_IMPORTED_MODULE_11___default.a({
                    view: this.view,
                    graphic: new esri_Graphic__WEBPACK_IMPORTED_MODULE_9___default.a({
                      symbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_12__["PictureMarkerSymbol"]({
                        url: "/assets/images/location.png",
                        width: 20,
                        height: 31
                      })
                    })
                  });
                  this.view.ui.add(locateWidget, "bottom-right");
                  this.view.ui.move("zoom", "bottom-right");
                  print = new esri_widgets_Print__WEBPACK_IMPORTED_MODULE_16___default.a({
                    view: this.view,
                    // specify your own print service
                    printServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
                  });
                  bgExpand = new esri_widgets_Expand__WEBPACK_IMPORTED_MODULE_17___default.a({
                    view: this.view,
                    content: print
                  });
                  this.view.ui.add(bgExpand, "bottom-right"); // Add widget to the top right corner of the view
                  // this.view.ui.add(print, "bottom-right");

                  this.addLayer(); // this.switchBasemap();

                  this.view.when(function () {
                    // this.queryParamMap();
                    _this223.addFeatureLayer();

                    _this223.view.popup.watch("selectedFeature", function (graphic) {
                      if (graphic) {
                        _this223.view.popup.visible = false;
                      }
                    });

                    _this223.loadedSource.next(true);
                  });

                case 15:
                case "end":
                  return _context29.stop();
              }
            }, _callee26, this);
          }));
        }
      }, {
        key: "contentPopup",
        value: function contentPopup() {}
      }, {
        key: "queryFeatureLayer",
        value: function queryFeatureLayer(featureLayer, objectId) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee27() {
            return _regeneratorRuntime().wrap(function _callee27$(_context30) {
              while (1) switch (_context30.prev = _context30.next) {
                case 0:
                  return _context30.abrupt("return", featureLayer.queryFeatures({
                    objectIds: [objectId],
                    outFields: ["*"],
                    returnGeometry: false
                  }));

                case 1:
                case "end":
                  return _context30.stop();
              }
            }, _callee27);
          }));
        }
      }, {
        key: "addFeatureLayer",
        value: function addFeatureLayer() {
          this.addTramBTSFeatureLayer();
          this.addDiemDichVuFeatureLayer();
          this.addTuyenCapNgamFeatureLayer();
          this.addTuyenCapNoiFeatureLayer();
        }
        /**
         * Thêm layer
         */

      }, {
        key: "addLayer",
        value: function addLayer() {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee28() {
            return _regeneratorRuntime().wrap(function _callee28$(_context31) {
              while (1) switch (_context31.prev = _context31.next) {
                case 0:
                  this.addDuLieuNen();

                case 1:
                case "end":
                  return _context31.stop();
              }
            }, _callee28, this);
          }));
        }
      }, {
        key: "addDuLieuNen",
        value: function addDuLieuNen() {
          var baseMap = new esri_layers_MapImageLayer__WEBPACK_IMPORTED_MODULE_8___default.a({
            url: _constants_layer_constant__WEBPACK_IMPORTED_MODULE_4__["DuLieuNenLayer"],
            visible: false,
            id: _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["CONSTNAME"].BASEMAP,
            title: "Dữ liệu nền Kontum",
            copyright: "Bản đồ biên tập bởi GDT"
          }); //this.basemap.push(baseMap);

          this.view.map.add(baseMap);
        }
      }, {
        key: "changeCursor",
        value: function changeCursor() {
          var cursor = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "default";
          this.view.container.style.cursor = cursor;
        }
      }, {
        key: "expandMapFullScreen",
        value: function expandMapFullScreen() {}
      }, {
        key: "addTramBTSFeatureLayer",
        value: function addTramBTSFeatureLayer() {
          var _this224 = this;

          var gr = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
            title: "Trạm BTS",
            id: "nhomTramBTS"
          });
          this.view.map.add(gr);
          var dsDN = [{
            name: "GTL",
            title: "GTel",
            name_img: 'gtel'
          }, {
            name: "MBF",
            title: "Mobifone",
            name_img: 'mobifone'
          }, {
            name: "VNPT",
            title: "VNPT",
            name_img: "vina"
          }, {
            name: "VNM",
            title: "Vietnamobile",
            name_img: "vietnam"
          }, {
            name: "VTL",
            title: "Viettel",
            name_img: "viettel"
          }];
          var uniqueValueInfos = [];
          var doanhNghiep = dsDN.find(function (m) {
            return m.name === _this224.loginService.maDonVi;
          });

          for (var _i59 = 1; _i59 <= 4; _i59++) {
            if (!doanhNghiep) {
              // neu khong phai la doanh nghiep thi set unique tat ca de hien thi tren Legend
              var _iterator151 = _createForOfIteratorHelper(dsDN),
                  _step151;

              try {
                for (_iterator151.s(); !(_step151 = _iterator151.n()).done;) {
                  var dn = _step151.value;
                  var uniqueValueInfo = {
                    label: null,
                    value: null,
                    symbol: {
                      url: null,
                      type: "picture-marker",
                      width: "24px",
                      height: "24px"
                    }
                  };
                  uniqueValueInfo.value = dn.name + ', ' + _i59;

                  if (_i59 == 1) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Xin c\u1EA5p ph\xE9p");
                    uniqueValueInfo.create = true;
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau.png";
                  }

                  if (_i59 == 2) {
                    uniqueValueInfo.label = "".concat(dn.title, " - \u0110\xE3 c\u1EA5p ph\xE9p");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau_chapnhan.png";
                  }

                  if (_i59 == 3) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Ho\xE0n c\xF4ng");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + ".png";
                  }

                  if (_i59 == 4) {
                    uniqueValueInfo.label = "".concat(dn.title, " - Kh\xF4ng ch\u1EA5p nh\u1EADn");
                    uniqueValueInfo.symbol.url = "/assets/images/bts/" + dn.name_img + "_yeucau_kochapnhan.png";
                  }

                  uniqueValueInfos.push(uniqueValueInfo);
                }
              } catch (err) {
                _iterator151.e(err);
              } finally {
                _iterator151.f();
              }
            } else {
              // nguoc lai la doanh nghiep thi chi hien thi legend cua doanh nghiep do
              var _uniqueValueInfo3 = {
                label: null,
                value: null,
                symbol: {
                  url: null,
                  type: "picture-marker",
                  width: "24px",
                  height: "24px"
                }
              };
              _uniqueValueInfo3.value = doanhNghiep.name + ', ' + _i59;

              if (_i59 == 1) {
                _uniqueValueInfo3.label = "Xin c\u1EA5p ph\xE9p";
                _uniqueValueInfo3.create = true;
                _uniqueValueInfo3.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau.png";
              }

              if (_i59 == 2) {
                _uniqueValueInfo3.label = "\u0110\xE3 c\u1EA5p ph\xE9p";
                _uniqueValueInfo3.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau_chapnhan.png";
              }

              if (_i59 == 3) {
                _uniqueValueInfo3.label = "Ho\xE0n c\xF4ng";
                _uniqueValueInfo3.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + ".png";
              }

              if (_i59 == 4) {
                _uniqueValueInfo3.label = "Kh\xF4ng ch\u1EA5p nh\u1EADn";
                _uniqueValueInfo3.symbol.url = "/assets/images/bts/" + doanhNghiep.name_img + "_yeucau_kochapnhan.png";
              }

              uniqueValueInfos.push(_uniqueValueInfo3);
            }
          }

          var renderer = new esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_15___default.a({
            field: "TenDoanhNghiep",
            field2: "TinhTrang",
            fieldDelimiter: ", ",
            uniqueValueInfos: uniqueValueInfos,
            defaultSymbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_12__["PictureMarkerSymbol"]({
              url: "/assets/images/bts/chuaxacdinh.png"
            }),
            defaultLabel: "Chưa xác định"
          });
          var tramBtsFL = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7___default.a(this.layerService.tramBtsLayer);
          tramBtsFL.minScale = _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["MINSCALETRAMBTS"];
          tramBtsFL.renderer = renderer;
          tramBtsFL.listMode = 'hide';
          gr.add(tramBtsFL);
          var groupBtsTt = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
            id: 'tinh-trang',
            title: 'Tình trạng'
          });
          gr.add(groupBtsTt);
          var groupLayerDungChung = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
            id: 'dung-chung',
            title: 'Khả năng dùng chung'
          });
          gr.add(groupLayerDungChung);
          groupLayerDungChung.watch("visible", function (newVal, oldVal) {
            tramBtsFL.visible = newVal;
          });

          var _loop10 = function _loop10(_i60) {
            var btsKhaNang = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
              title: "".concat(_i60 === 0 ? 'Không' : 'Có'),
              id: "kha-nang-".concat(_i60)
            });
            btsKhaNang.watch('visible', function (newVal, oldVal) {
              console.log(newVal, oldVal);

              if (!newVal) {
                tramBTSDefinitionExpression.push("CoKhaNangDungChung<>".concat(_i60));
              } else {
                var index = tramBTSDefinitionExpression.indexOf("CoKhaNangDungChung<>".concat(_i60));

                if (index > -1) {
                  tramBTSDefinitionExpression.splice(index, 1);
                }
              }

              ;

              if (tramBTSDefinitionExpression.length > 0) {
                tramBtsFL.definitionExpression = tramBTSDefinitionExpression.join(" and ");
              } else {
                tramBtsFL.definitionExpression = "1=1";
              }
            });
            groupLayerDungChung.add(btsKhaNang);
          };

          for (var _i60 = 0; _i60 < 2; _i60++) {
            _loop10(_i60);
          }

          var tramBTSDefinitionExpression = [];

          if (!this.loginService.isDoanhNghiep) {
            // neu khong phai la doanh nghiep thi group doanh nghiep
            var groupBtsDn = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
              id: 'doanh-nghiep',
              title: 'Doanh nghiệp'
            });
            gr.add(groupBtsDn);
            dsDN.forEach(function (f) {
              var btsDn = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
                title: f.title,
                id: f.name
              });
              btsDn.watch("visible", function (newVal, oldVal) {
                if (!newVal) {
                  tramBTSDefinitionExpression.push("TenDoanhNghiep not like '".concat(f.name, "'"));
                } else {
                  var index = tramBTSDefinitionExpression.indexOf("TenDoanhNghiep not like '".concat(f.name, "'"));

                  if (index > -1) {
                    tramBTSDefinitionExpression.splice(index, 1);
                  }
                }

                ;

                if (tramBTSDefinitionExpression.length > 0) {
                  tramBtsFL.definitionExpression = tramBTSDefinitionExpression.join(" and ");
                } else {
                  tramBtsFL.definitionExpression = "1=1";
                }
              });
              groupBtsDn.add(btsDn);
            });
            groupBtsDn.watch("visible", function (newVal, oldVal) {
              tramBtsFL.visible = newVal;
            });
          } else {
            // nguoc lai la doanh nghiep thi set definition mac dinh la doanh nghiep de request
            tramBTSDefinitionExpression.push("TenDoanhNghiep like '".concat(this.loginService.maDonVi, "'"));
          } // Group theo tinh trang


          src_app_shared_constants_data_constant__WEBPACK_IMPORTED_MODULE_18__["DTinhTrang"].forEach(function (f) {
            var btsTinhTrang = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
              title: f.name,
              id: "tinh-trang-".concat(f.code)
            });
            btsTinhTrang.watch("visible", function (newVal, oldVal) {
              if (!newVal) {
                tramBTSDefinitionExpression.push("TinhTrang <> ".concat(f.code));
              } else {
                var index = tramBTSDefinitionExpression.indexOf("TinhTrang <> ".concat(f.code));

                if (index > -1) {
                  tramBTSDefinitionExpression.splice(index, 1);
                }
              }

              ;

              if (tramBTSDefinitionExpression.length > 0) {
                tramBtsFL.definitionExpression = tramBTSDefinitionExpression.join(" and ");
              } else {
                tramBtsFL.definitionExpression = "1=1";
              }
            });
            groupBtsTt.add(btsTinhTrang);
          });
          groupBtsTt.watch("visible", function (newVal, oldVal) {
            tramBtsFL.visible = newVal;
          });
          gr.watch("visible", function (newVal, oldVal) {
            tramBtsFL.visible = newVal;
          });
        }
      }, {
        key: "addDiemDichVuFeatureLayer",
        value: function addDiemDichVuFeatureLayer() {
          var loaiDV = [{
            name: '1',
            title: 'Điểm phục vụ bưu chính',
            name_img: 'phucvubuuchinh'
          }, {
            name: '2',
            title: 'Điểm cung cấp dịch vụ viễn thông',
            name_img: 'dichvuvienthong'
          }, {
            name: '3',
            title: 'Đại lý internet công cộng',
            name_img: 'dailyinternet'
          }];
          var uniqueValueInfos = [];

          for (var _i61 = 0; _i61 < loaiDV.length; _i61++) {
            var uniqueValueInfo = {
              label: null,
              value: null,
              symbol: {
                url: null,
                type: "picture-marker",
                width: "18px",
                height: "18px"
              }
            };
            uniqueValueInfo.value = +loaiDV[_i61].name;
            uniqueValueInfo.label = loaiDV[_i61].title;
            uniqueValueInfo.create = true;
            uniqueValueInfo.symbol.url = "/assets/images/store/type/" + loaiDV[_i61].name_img + ".png";
            uniqueValueInfos.push(uniqueValueInfo);
          }

          var renderer = new esri_renderers_UniqueValueRenderer__WEBPACK_IMPORTED_MODULE_15___default.a({
            field: "LoaiDichVu",
            fieldDelimiter: ", ",
            uniqueValueInfos: uniqueValueInfos,
            defaultSymbol: new esri_symbols__WEBPACK_IMPORTED_MODULE_12__["PictureMarkerSymbol"]({
              url: "/assets/images/store/type/chuaxacdinh.png",
              width: "18px",
              height: "18px"
            }),
            defaultLabel: "Chưa xác định"
          });
          var diemDichVuLayer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7___default.a(this.layerService.diemDichVuLayer);
          diemDichVuLayer.renderer = renderer;
          diemDichVuLayer.listMode = 'hide';
          diemDichVuLayer.minScale = _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["MINSCALEDIEMDICHVU"];
          this.view.map.add(diemDichVuLayer);
          var groupDdv = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
            id: "nhomDiemDichVu",
            title: "Điểm dịch vụ"
          });
          var diemDichVuDefinitionExpression = [];
          loaiDV.forEach(function (f) {
            var ddv = new esri_layers_GroupLayer__WEBPACK_IMPORTED_MODULE_13___default.a({
              title: f.title,
              id: "loai-dv-".concat(f.name)
            });
            ddv.watch("visible", function (newVal, oldVal) {
              if (!newVal) {
                diemDichVuDefinitionExpression.push("LoaiDichVu <> ".concat(f.name));
              } else {
                var index = diemDichVuDefinitionExpression.indexOf("LoaiDichVu <> ".concat(f.name));

                if (index > -1) {
                  diemDichVuDefinitionExpression.splice(index, 1);
                }
              }

              ;

              if (diemDichVuDefinitionExpression.length > 0) {
                diemDichVuLayer.definitionExpression = diemDichVuDefinitionExpression.join(" and ");
              } else {
                diemDichVuLayer.definitionExpression = "1=1";
              }
            });
            groupDdv.add(ddv);
          });
          groupDdv.watch("visible", function (newVal, oldVal) {
            diemDichVuLayer.visible = newVal;
          });
          this.view.map.add(groupDdv);
        }
      }, {
        key: "addTuyenCapNgamFeatureLayer",
        value: function addTuyenCapNgamFeatureLayer() {
          var tuyenCapNgamLayer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7___default.a(this.layerService.tuyenCapNgamLayer);
          tuyenCapNgamLayer.minScale = _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["MINSCALETUYENCAP"];
          this.view.map.add(tuyenCapNgamLayer);
        }
      }, {
        key: "addTuyenCapNoiFeatureLayer",
        value: function addTuyenCapNoiFeatureLayer() {
          var tuyenCapNoiLayer = new esri_layers_FeatureLayer__WEBPACK_IMPORTED_MODULE_7___default.a(this.layerService.tuyenCapNoiLayer);
          tuyenCapNoiLayer.minScale = _constants_map_constant__WEBPACK_IMPORTED_MODULE_3__["MINSCALETUYENCAP"];
          this.view.map.add(tuyenCapNoiLayer);
        }
      }, {
        key: "relativeTo",
        value: function relativeTo() {
          this.router.navigate([], {
            relativeTo: this.activatedRoute,
            queryParams: {
              screen: "full"
            },
            queryParamsHandling: "merge"
          });
        }
      }, {
        key: "hightlight",
        value: function hightlight(geometry) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee29() {
            return _regeneratorRuntime().wrap(function _callee29$(_context32) {
              while (1) switch (_context32.prev = _context32.next) {
                case 0:
                  if (this.hightlightGraphicLayer) {
                    this.view.graphics.remove(this.hightlightGraphicLayer);
                  }

                  this.hightlightGraphicLayer = new esri_Graphic__WEBPACK_IMPORTED_MODULE_9___default.a({
                    geometry: geometry
                  });
                  this.view.graphics.add(this.hightlightGraphicLayer);

                case 3:
                case "end":
                  return _context32.stop();
              }
            }, _callee29, this);
          }));
        }
      }]);

      return MapService;
    }();

    MapService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
      factory: function MapService_Factory() {
        return new MapService(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_20__["Router"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_20__["ActivatedRoute"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_layer_service__WEBPACK_IMPORTED_MODULE_21__["LayerService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_22__["LoginService"]));
      },
      token: MapService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/map/shared/services/popup.service.ts":
  /*!******************************************************!*\
    !*** ./src/app/map/shared/services/popup.service.ts ***!
    \******************************************************/

  /*! exports provided: PopupService */

  /***/
  function srcAppMapSharedServicesPopupServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "PopupService", function () {
      return PopupService;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _map_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./map.service */
    "./src/app/map/shared/services/map.service.ts");

    var PopupService = /*#__PURE__*/function () {
      function PopupService(service) {
        var _this225 = this;

        _classCallCheck(this, PopupService);

        this.service = service;
        this._open = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.open$ = this._open.asObservable();
        this._attributes = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.attributes = this._attributes.asObservable();
        service.loaded$.subscribe(function (loaded) {
          if (loaded) {
            service.view.on("click", function (event) {
              service.view.hitTest(event).then(function (res) {
                return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this225, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
                  var promise, results;
                  return _regeneratorRuntime().wrap(function _callee30$(_context33) {
                    while (1) switch (_context33.prev = _context33.next) {
                      case 0:
                        if (!(res && res.results && res.results.length)) {
                          _context33.next = 7;
                          break;
                        }

                        promise = [];
                        res.results.map(function (m) {
                          //query tung grapic owr day
                          var objectId = m.graphic && m.graphic.attributes && m.graphic.attributes.OBJECTID;

                          if (objectId) {
                            promise.push(m.graphic.layer.queryFeatures({
                              objectIds: objectId,
                              outFields: ["*"],
                              returnGeometry: false
                            }));
                          }
                        });
                        _context33.next = 5;
                        return Promise.all(promise);

                      case 5:
                        results = _context33.sent;
                        this.handleOpen(results);

                      case 7:
                      case "end":
                        return _context33.stop();
                    }
                  }, _callee30, this);
                }));
              });
            });
          }
        });
      }

      _createClass(PopupService, [{
        key: "handleOpen",
        value: function handleOpen(mygraphics) {
          this._attributes.next(mygraphics);

          this._open.next(Boolean(mygraphics));
        }
      }, {
        key: "close",
        value: function close() {
          this._open.next(undefined);
        }
      }]);

      return PopupService;
    }();

    PopupService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineInjectable"]({
      factory: function PopupService_Factory() {
        return new PopupService(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵinject"](_map_service__WEBPACK_IMPORTED_MODULE_3__["MapService"]));
      },
      token: PopupService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/map/shared/services/search.service.ts":
  /*!*******************************************************!*\
    !*** ./src/app/map/shared/services/search.service.ts ***!
    \*******************************************************/

  /*! exports provided: SearchService */

  /***/
  function srcAppMapSharedServicesSearchServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SearchService", function () {
      return SearchService;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var _constants_map_constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var src_app_shared_constants_tram_bts_constant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! src/app/shared/constants/tram-bts.constant */
    "./src/app/shared/constants/tram-bts.constant.ts");
    /* harmony import */


    var src_app_shared_constants_tuyen_cap_ngam_constant__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! src/app/shared/constants/tuyen-cap-ngam.constant */
    "./src/app/shared/constants/tuyen-cap-ngam.constant.ts");
    /* harmony import */


    var src_app_shared_constants_diem_dich_vu_constant__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! src/app/shared/constants/diem-dich-vu.constant */
    "./src/app/shared/constants/diem-dich-vu.constant.ts");
    /* harmony import */


    var esri_geometry_Polygon__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! esri/geometry/Polygon */
    "./node_modules/arcgis-js-api/geometry/Polygon.js");
    /* harmony import */


    var esri_geometry_Polygon__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(esri_geometry_Polygon__WEBPACK_IMPORTED_MODULE_6__);
    /* harmony import */


    var esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! esri/symbols/SimpleFillSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js");
    /* harmony import */


    var esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_7__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_8__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _map_service__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! ./map.service */
    "./src/app/map/shared/services/map.service.ts");
    /* harmony import */


    var _shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
    /*! ../../../shared/services/hanh-chinh.service */
    "./src/app/shared/services/hanh-chinh.service.ts");
    /* harmony import */


    var _shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
    /*! ../../../shared/services/login.service */
    "./src/app/shared/services/login.service.ts");

    var SearchService = /*#__PURE__*/function () {
      function SearchService(mapService, hanhChinhService, loginService) {
        _classCallCheck(this, SearchService);

        this.mapService = mapService;
        this.hanhChinhService = hanhChinhService;
        this.loginService = loginService;
        this.resultSearch = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.resultSearch$ = this.resultSearch.asObservable();
        this._loading = new rxjs__WEBPACK_IMPORTED_MODULE_1__["Subject"]();
        this.loading$ = this._loading.asObservable();
      }

      _createClass(SearchService, [{
        key: "searchSpatial",
        value: function searchSpatial() {}
      }, {
        key: "featureLayer",
        get: function get() {
          return this._featureLayer;
        },
        set: function set(val) {
          this._featureLayer = val;
        }
      }, {
        key: "close",
        value: function close() {
          this.resultSearch.next(undefined);
        }
      }, {
        key: "layerId",
        set: function set(id) {
          if (id) {
            switch (id) {
              case _constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CONSTNAME"].TRAMBTS.id:
                this.fields = src_app_shared_constants_tram_bts_constant__WEBPACK_IMPORTED_MODULE_3__["TramBtss"];
                break;

              case _constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CONSTNAME"].TUYENCAPNGAM.id:
                this.fields = src_app_shared_constants_tuyen_cap_ngam_constant__WEBPACK_IMPORTED_MODULE_4__["TuyenCapNgams"];
                break;

              case _constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CONSTNAME"].TUYENCAPNOI.id:
                this.fields = src_app_shared_constants_tuyen_cap_ngam_constant__WEBPACK_IMPORTED_MODULE_4__["TuyenCapNgams"];
                break;

              case _constants_map_constant__WEBPACK_IMPORTED_MODULE_2__["CONSTNAME"].DIEMDICHVU.id:
                this.fields = src_app_shared_constants_diem_dich_vu_constant__WEBPACK_IMPORTED_MODULE_5__["DiemDichVus"];
                break;
            }
          }

          this._featureLayer = this.mapService.view.map.findLayerById(id);
        }
      }, {
        key: "getFields",
        value: function getFields() {
          return this.fields;
        }
      }, {
        key: "searchNonSpatial",
        value: function searchNonSpatial(wheres) {
          var _this226 = this;

          this._loading.next(true);

          this.loginService.isDoanhNghiep && wheres.push("TenDoanhNghiep='".concat(this.loginService.maDonVi, "'"));
          this.loginService.isQuanHuyen && wheres.push("HuyenTXTP='".concat(this.loginService.maDonVi, "'")); // this.mapService.loaded$.subscribe(loaded => {
          //   if (loaded) {

          var query = this._featureLayer.createQuery();

          query.where = wheres.join(' and ');
          query.returnGeometry = false;

          this._featureLayer.queryFeatures(query).then(function (_ref107) {
            var features = _ref107.features;
            var results = features.map(function (m) {
              return m.attributes;
            });

            _this226.getHanhChinh(results).then(function (res) {
              _this226.resultSearch.next(res);

              _this226._loading.next(false);
            });
          }); //   }
          // })

        }
      }, {
        key: "draw",
        value: function draw() {
          var _this227 = this;

          if (!this._featureLayer) return;
          this.rings = [];
          this.firsring = undefined;
          this.clickBufferEvent = this.mapService.view.on('click', function (evt) {
            _this227.clickBufferFunc(evt);
          });
          this.doubleClickEvent = this.mapService.view.on('double-click', function (evt) {
            _this227.doubleClickFunc(evt);
          });
        }
      }, {
        key: "createPolygonGraphic",
        value: function createPolygonGraphic(rings) {
          var polygon = new esri_geometry_Polygon__WEBPACK_IMPORTED_MODULE_6___default.a({
            rings: rings
          });
          var fillSymbol = new esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_7___default.a({
            color: [147, 112, 219, 0.75],
            style: "solid",
            outline: {
              color: [255, 255, 255],
              width: 2
            }
          });
          var polygonGraphic = new esri_Graphic__WEBPACK_IMPORTED_MODULE_8___default.a({
            geometry: polygon,
            symbol: fillSymbol
          });
          return polygonGraphic;
        }
      }, {
        key: "polygonMoveFunc",
        value: function polygonMoveFunc(evt) {
          if (this.movePolygon) {
            this.mapService.view.graphics.remove(this.movePolygon);
            this.movePolygon = null;
          }

          if (!this.firsring) return;
          var rings = [];
          var screenCoors = {
            x: evt.x,
            y: evt.y
          }; //Tìm kiếm graphic trùng với tọa độ màn hình khi drag

          this.point = this.mapService.view.toMap(screenCoors);

          var _iterator152 = _createForOfIteratorHelper(this.rings),
              _step152;

          try {
            for (_iterator152.s(); !(_step152 = _iterator152.n()).done;) {
              var r = _step152.value;
              rings.push(r);
            }
          } catch (err) {
            _iterator152.e(err);
          } finally {
            _iterator152.f();
          }

          rings.push([this.point.longitude, this.point.latitude]);
          var polygonGraphic = this.createPolygonGraphic(rings); // Add the graphics to the view's graphics layer

          this.mapService.view.graphics.add(polygonGraphic);
          this.movePolygon = polygonGraphic;
        }
      }, {
        key: "clickBufferFunc",
        value: function clickBufferFunc(evt) {
          var _this228 = this;

          evt.stopPropagation();
          var screenCoors = {
            x: evt.x,
            y: evt.y
          };
          var clickPoint = this.mapService.view.toMap(screenCoors);

          if (!this.firsring) {
            this.polygonMoveEvent = this.mapService.view.on('pointer-move', function (evt) {
              _this228.polygonMoveFunc(evt);
            });

            if (this.movePolygon) {
              this.mapService.view.graphics.remove(this.movePolygon);
              this.movePolygon = null;
            }

            this.rings = [];
            this.firsring = clickPoint;
          }

          this.rings.push([clickPoint.longitude, clickPoint.latitude]);
        }
      }, {
        key: "doubleClickFunc",
        value: function doubleClickFunc(evt) {
          var _this229 = this;

          evt.stopPropagation();

          this._loading.next(true);

          this.rings.push([this.point.longitude, this.point.latitude]);
          var polygonGraphic = this.createPolygonGraphic(this.rings);
          this.findObjectPolygon(polygonGraphic);
          this.firsring = undefined;
          this.finish();
          this.clickEvent = this.mapService.view.on("click", function (e) {
            e.stopPropagation();

            if (e.button === 2) {
              if (_this229.movePolygon) {
                _this229.mapService.view.graphics.remove(_this229.movePolygon);

                _this229.movePolygon = null;

                _this229.finish();
              }
            }
          });
        }
      }, {
        key: "finish",
        value: function finish() {
          if (this.clickBufferEvent) {
            this.clickBufferEvent.remove();
            this.clickBufferEvent = null;
          }

          if (this.polygonMoveEvent) {
            this.polygonMoveEvent.remove();
            this.polygonMoveEvent = null;
          }

          if (this.doubleClickEvent) {
            this.doubleClickEvent.remove();
            this.doubleClickEvent = null;
          }

          if (this.clickEvent) {
            this.clickEvent.remove();
            this.clickEvent = null;
          }
        }
      }, {
        key: "findObjectPolygon",
        value: function findObjectPolygon(bufferGraphic) {
          try {
            // this.queryBufferingObjects(bufferGraphic.geometry).then((results) => this.displayResults(results));
            this.queryBufferingObjects(bufferGraphic.geometry);
          } catch (error) {}
        }
      }, {
        key: "queryBufferingObjects",
        value: function queryBufferingObjects(geometry) {
          var _this230 = this;

          var query = this._featureLayer.createQuery();

          query.geometry = geometry;

          this._featureLayer.queryFeatures(query).then(function (results) {
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this230, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee31() {
              var _this231 = this;

              var feature, attributes;
              return _regeneratorRuntime().wrap(function _callee31$(_context34) {
                while (1) switch (_context34.prev = _context34.next) {
                  case 0:
                    feature = results.features;
                    attributes = feature.map(function (m) {
                      return m.attributes;
                    });
                    this.getHanhChinh(attributes).then(function (result) {
                      _this231.resultSearch.next(result);

                      _this231._loading.next(false);
                    });

                  case 3:
                  case "end":
                    return _context34.stop();
                }
              }, _callee31, this);
            }));
          });
        }
      }, {
        key: "getHanhChinh",
        value: function getHanhChinh(attributes) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee34() {
            var _this232 = this;

            var duLieuHanhChinhXa, _iterator153, _step153, _loop11;

            return _regeneratorRuntime().wrap(function _callee34$(_context38) {
              while (1) switch (_context38.prev = _context38.next) {
                case 0:
                  _context38.next = 2;
                  return this.hanhChinhService.selectAllWard({});

                case 2:
                  duLieuHanhChinhXa = _context38.sent;
                  _iterator153 = _createForOfIteratorHelper(this.featureLayer.fields);
                  _context38.prev = 4;
                  _loop11 = /*#__PURE__*/_regeneratorRuntime().mark(function _loop11() {
                    var field, codedValues;
                    return _regeneratorRuntime().wrap(function _loop11$(_context37) {
                      while (1) switch (_context37.prev = _context37.next) {
                        case 0:
                          field = _step153.value;

                          if (!field.domain) {
                            _context37.next = 6;
                            break;
                          }

                          codedValues = field.domain.codedValues;
                          attributes.forEach(function (attr) {
                            if (attr[field.name]) {
                              var codedValue = codedValues.find(function (f) {
                                return f.code === attr[field.name];
                              });
                              if (codedValue) attr[field.name] = codedValue.name;
                            }
                          });
                          _context37.next = 12;
                          break;

                        case 6:
                          if (!(field.name === "HuyenTXTP")) {
                            _context37.next = 11;
                            break;
                          }

                          _context37.next = 9;
                          return _this232.hanhChinhService.selectAllDistrict({}).then(function (huyens) {
                            attributes.forEach(function (attr) {
                              return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this232, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee32() {
                                var huyen;
                                return _regeneratorRuntime().wrap(function _callee32$(_context35) {
                                  while (1) switch (_context35.prev = _context35.next) {
                                    case 0:
                                      if (attr[field.name]) {
                                        huyen = huyens.find(function (f) {
                                          return f.attributes.MaHuyenTp == attr[field.name];
                                        });
                                        if (huyen) attr[field.name] = huyen.attributes.TenHuyenTp;
                                      }

                                    case 1:
                                    case "end":
                                      return _context35.stop();
                                  }
                                }, _callee32);
                              }));
                            });
                          });

                        case 9:
                          _context37.next = 12;
                          break;

                        case 11:
                          if (field.name === "XaPhuongTT") {
                            attributes.forEach(function (attr) {
                              return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this232, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee33() {
                                var xa;
                                return _regeneratorRuntime().wrap(function _callee33$(_context36) {
                                  while (1) switch (_context36.prev = _context36.next) {
                                    case 0:
                                      if (attr[field.name]) {
                                        xa = duLieuHanhChinhXa.find(function (f) {
                                          return f.attributes.MaXaPhuongTT == attr[field.name];
                                        });
                                        if (xa) attr[field.name] = xa.attributes.TenXaPhuongTT;
                                      }

                                    case 1:
                                    case "end":
                                      return _context36.stop();
                                  }
                                }, _callee33);
                              }));
                            });
                          }

                        case 12:
                        case "end":
                          return _context37.stop();
                      }
                    }, _loop11);
                  });

                  _iterator153.s();

                case 7:
                  if ((_step153 = _iterator153.n()).done) {
                    _context38.next = 11;
                    break;
                  }

                  return _context38.delegateYield(_loop11(), "t0", 9);

                case 9:
                  _context38.next = 7;
                  break;

                case 11:
                  _context38.next = 16;
                  break;

                case 13:
                  _context38.prev = 13;
                  _context38.t1 = _context38["catch"](4);

                  _iterator153.e(_context38.t1);

                case 16:
                  _context38.prev = 16;

                  _iterator153.f();

                  return _context38.finish(16);

                case 19:
                  return _context38.abrupt("return", attributes);

                case 20:
                case "end":
                  return _context38.stop();
              }
            }, _callee34, this, [[4, 13, 16, 19]]);
          }));
        }
      }]);

      return SearchService;
    }();

    SearchService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"]({
      factory: function SearchService_Factory() {
        return new SearchService(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_map_service__WEBPACK_IMPORTED_MODULE_10__["MapService"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_shared_services_hanh_chinh_service__WEBPACK_IMPORTED_MODULE_11__["HanhChinhService"]), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵinject"](_shared_services_login_service__WEBPACK_IMPORTED_MODULE_12__["LoginService"]));
      },
      token: SearchService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/map/shared/services/vung-phu-bts.service.ts":
  /*!*************************************************************!*\
    !*** ./src/app/map/shared/services/vung-phu-bts.service.ts ***!
    \*************************************************************/

  /*! exports provided: VungPhuBtsService */

  /***/
  function srcAppMapSharedServicesVungPhuBtsServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "VungPhuBtsService", function () {
      return VungPhuBtsService;
    });
    /* harmony import */


    var esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! esri/geometry/Circle */
    "./node_modules/arcgis-js-api/geometry/Circle.js");
    /* harmony import */


    var esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! esri/Graphic */
    "./node_modules/arcgis-js-api/Graphic.js");
    /* harmony import */


    var esri_Graphic__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(esri_Graphic__WEBPACK_IMPORTED_MODULE_1__);
    /* harmony import */


    var esri_layers_GraphicsLayer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! esri/layers/GraphicsLayer */
    "./node_modules/arcgis-js-api/layers/GraphicsLayer.js");
    /* harmony import */


    var esri_layers_GraphicsLayer__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(esri_layers_GraphicsLayer__WEBPACK_IMPORTED_MODULE_2__);
    /* harmony import */


    var esri_Color__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/Color */
    "./node_modules/arcgis-js-api/Color.js");
    /* harmony import */


    var esri_Color__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_Color__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! esri/symbols/SimpleFillSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleFillSymbol.js");
    /* harmony import */


    var esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_4__);
    /* harmony import */


    var esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! esri/symbols/SimpleLineSymbol */
    "./node_modules/arcgis-js-api/symbols/SimpleLineSymbol.js");
    /* harmony import */


    var esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_5__);
    /* harmony import */


    var _constants_map_constant__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _map_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./map.service */
    "./src/app/map/shared/services/map.service.ts");

    var MAU_THIET_BI = {
      'ThietBiLapDat2G': '#ff0000',
      'ThietBiLapDat3G': '#0000cc',
      'ThietBiLapDat4G': '#8600b3'
    };

    var VungPhuBtsService = /*#__PURE__*/function () {
      function VungPhuBtsService(service) {
        var _this233 = this;

        _classCallCheck(this, VungPhuBtsService);

        this.service = service;
        this.loaded = new rxjs__WEBPACK_IMPORTED_MODULE_7__["BehaviorSubject"](undefined);
        this.loaded$ = this.loaded.asObservable();
        service.loaded$.subscribe(function (loaded) {
          if (loaded) {
            _this233.loaded.next(service.view);

            _this233.view = service.view;
            service.view.map.findLayerById(_constants_map_constant__WEBPACK_IMPORTED_MODULE_6__["CONSTNAME"].TRAMBTS.id).when(function () {
              _this233.bufferGraphics = new esri_layers_GraphicsLayer__WEBPACK_IMPORTED_MODULE_2___default.a({
                listMode: "hide",
                minScale: _this233.layer.minScale,
                maxScale: _this233.layer.maxScale
              });
              _this233.bufferGraphicsSingle = new esri_layers_GraphicsLayer__WEBPACK_IMPORTED_MODULE_2___default.a({
                listMode: "hide",
                id: "bufferGraphicsSingle",
                minScale: _this233.layer.minScale,
                maxScale: _this233.layer.maxScale
              });

              _this233._view.map.add(_this233.bufferGraphicsSingle);

              _this233._view.map.add(_this233.bufferGraphics);
            });
          }
        });
      }

      _createClass(VungPhuBtsService, [{
        key: "layer",
        get: function get() {
          return this._view.map.findLayerById(_constants_map_constant__WEBPACK_IMPORTED_MODULE_6__["CONSTNAME"].TRAMBTS.id);
        }
      }, {
        key: "addUI",
        value: function addUI(element) {
          var _this234 = this;

          this.service.loaded$.subscribe(function (loaded) {
            if (loaded) {
              _this234._view.ui.add(element, 'top-right');
            }
          });
        }
      }, {
        key: "container",
        get: function get() {
          return this._view.container;
        }
      }, {
        key: "view",
        get: function get() {
          return this._view;
        }
        /**
         * loaiVungPhu:2G,3G,4G
         */
        ,
        set: function set(view) {
          this._view = view;
        }
      }, {
        key: "all",
        value: function all(loaiVungPhu) {
          var _this235 = this;

          if (!this.layer) return;
          if (this._view.scale > this.layer.minScale) return;
          this.bufferGraphics.removeAll();
          var query = this.layer.createQuery();
          query.outSpatialReference = this._view.spatialReference;
          query.outFields = ['TenDoanhNghiep', 'ThietBiLapDat2G', 'ThietBiLapDat3G', 'ThietBiLapDat4G', 'OBJECTID'];
          this.layer.queryFeatures(query).then(function (queryResult) {
            var features = queryResult.features;
            features.forEach(function (f) {
              _this235.buffer(f);
            });
          });
        }
      }, {
        key: "clear",
        value: function clear(business, thietBi) {
          var _this236 = this;

          var removes;

          if (business) {
            if (thietBi) {
              removes = this.bufferGraphics.graphics.filter(function (f) {
                return f.attributes.doanhNghiep === business && f.symbol && f.symbol.outline && f.symbol.outline.color && f.symbol.outline.color.toHex() === MAU_THIET_BI[thietBi];
              });
            } else {
              removes = this.bufferGraphics.graphics.filter(function (f) {
                return f.attributes.doanhNghiep === business;
              });
            }

            removes.forEach(function (f) {
              _this236.bufferGraphics.remove(f);
            });
          } else {
            this.bufferGraphics.removeAll();
            this.bufferGraphicsSingle.removeAll();
          }
        }
      }, {
        key: "onlyBusiness",
        value: function onlyBusiness(business, thietBi) {
          var _this237 = this;

          if (!this.layer) return; // if (this.view.scale > this.layer.minScale)
          //   return;

          var query = this.layer.createQuery();
          query.where = "TenDoanhNghiep = '".concat(business, "'");
          query.outSpatialReference = this._view.spatialReference;
          query.outFields = ['TenDoanhNghiep', 'OBJECTID'];

          if (thietBi && (thietBi === 'ThietBiLapDat2G' || thietBi === 'ThietBiLapDat3G' || thietBi === 'ThietBiLapDat4G')) {
            query.outFields.push(thietBi);
          } else {
            query.outFields.push('ThietBiLapDat2G', 'ThietBiLapDat3G', 'ThietBiLapDat4G');
          }

          this.layer.queryFeatures(query).then(function (queryResult) {
            var features = queryResult.features;
            features.forEach(function (f) {
              _this237.buffer(f);
            });
          });
        }
      }, {
        key: "singleBusiness",
        value: function singleBusiness(e, thietBi) {
          var _this238 = this;

          if (!this.layer) return;
          e.stopPropagation();

          this._view.hitTest({
            x: e.x,
            y: e.y
          }).then(function (hitTestResult) {
            var results = hitTestResult.results;
            var result = results.find(function (f) {
              return f.graphic.layer.id === _constants_map_constant__WEBPACK_IMPORTED_MODULE_6__["CONSTNAME"].TRAMBTS.id;
            });

            if (!result) {
              _this238.bufferGraphicsSingle.removeAll();
            } else {
              var attributes = result.graphic.attributes;
              var bufferAttrs = {
                TenDoanhNghiep: attributes.TenDoanhNghiep
              };

              if (thietBi && (thietBi === 'ThietBiLapDat2G' || thietBi === 'ThietBiLapDat3G' || thietBi === 'ThietBiLapDat4G')) {
                bufferAttrs[thietBi] = attributes[thietBi];
              } else {
                if (attributes['ThietBiLapDat2G']) bufferAttrs['ThietBiLapDat2G'] = attributes['ThietBiLapDat2G'];
                if (attributes['ThietBiLapDat3G']) bufferAttrs['ThietBiLapDat3G'] = attributes['ThietBiLapDat3G'];
                if (attributes['ThietBiLapDat4G']) bufferAttrs['ThietBiLapDat4G'] = attributes['ThietBiLapDat4G'];
              }

              var graphic = result.graphic.clone();
              graphic.attributes = bufferAttrs;

              _this238.buffer(graphic, _this238.bufferGraphicsSingle);
            }
          });
        }
      }, {
        key: "buffer",
        value: function buffer(graphic) {
          var _this239 = this;

          var graphicLayer = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.bufferGraphics;
          var point = graphic.geometry,
              attributes = graphic.attributes,
              doanhNghiep = attributes.TenDoanhNghiep;
          if (!graphicLayer || !point || !attributes || !doanhNghiep) throw "Không đủ dữ liệu";

          var renderSymbol = function renderSymbol(thietBi) {
            var outlineColor = thietBi === 'ThietBiLapDat2G' ? MAU_THIET_BI.ThietBiLapDat2G : thietBi === 'ThietBiLapDat3G' ? MAU_THIET_BI.ThietBiLapDat3G : MAU_THIET_BI.ThietBiLapDat4G;
            var symbol = new esri_symbols_SimpleFillSymbol__WEBPACK_IMPORTED_MODULE_4___default.a({
              color: _this239.renderColor(doanhNghiep),
              outline: new esri_symbols_SimpleLineSymbol__WEBPACK_IMPORTED_MODULE_5___default.a({
                color: new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a(outlineColor)
              })
            });
            return symbol;
          };

          var run = function run(thietBi) {
            if (attributes[thietBi]) {
              var circle = new esri_geometry_Circle__WEBPACK_IMPORTED_MODULE_0___default.a({
                center: point,
                radius: attributes[thietBi]
              });
              graphicLayer.add(new esri_Graphic__WEBPACK_IMPORTED_MODULE_1___default.a({
                layer: graphicLayer,
                attributes: {
                  doanhNghiep: doanhNghiep
                },
                geometry: circle,
                symbol: renderSymbol(thietBi)
              }));
            }
          };

          if (attributes.ThietBiLapDat2G) run('ThietBiLapDat2G');
          if (attributes.ThietBiLapDat3G) run('ThietBiLapDat3G');
          if (attributes.ThietBiLapDat4G) run('ThietBiLapDat4G');
        }
      }, {
        key: "renderColor",
        value: function renderColor(doanhNghiep) {
          var color = new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a([52, 73, 94, .25]);

          switch (doanhNghiep) {
            case "GTL":
              color = new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a([255, 204, 36, .25]);
              break;

            case "MBF":
              color = new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a([249, 0, 0, .25]);
              break;

            case "VNPT":
            case "VNP":
              color = new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a([0, 148, 248, .25]);
              break;

            case "VNM":
              color = new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a([252, 160, 0, .25]);
              break;

            case "VTL":
              color = new esri_Color__WEBPACK_IMPORTED_MODULE_3___default.a([0, 249, 36, .25]);
              break;
          }

          return color;
        }
      }, {
        key: "cancel",
        value: function cancel() {
          this.bufferGraphics.removeAll();
        }
      }]);

      return VungPhuBtsService;
    }();

    VungPhuBtsService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵdefineInjectable"]({
      factory: function VungPhuBtsService_Factory() {
        return new VungPhuBtsService(_angular_core__WEBPACK_IMPORTED_MODULE_8__["ɵɵinject"](_map_service__WEBPACK_IMPORTED_MODULE_9__["MapService"]));
      },
      token: VungPhuBtsService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/map/table-info/table-info.component.ngfactory.js":
  /*!******************************************************************!*\
    !*** ./src/app/map/table-info/table-info.component.ngfactory.js ***!
    \******************************************************************/

  /*! exports provided: RenderType_TableInfoComponent, View_TableInfoComponent_0, View_TableInfoComponent_Host_0, TableInfoComponentNgFactory */

  /***/
  function srcAppMapTableInfoTableInfoComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_TableInfoComponent", function () {
      return RenderType_TableInfoComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TableInfoComponent_0", function () {
      return View_TableInfoComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_TableInfoComponent_Host_0", function () {
      return View_TableInfoComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TableInfoComponentNgFactory", function () {
      return TableInfoComponentNgFactory;
    });
    /* harmony import */


    var _table_info_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./table-info.component.scss.shim.ngstyle */
    "./src/app/map/table-info/table-info.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../shared/components/button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../shared/components/button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _table_info_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./table-info.component */
    "./src/app/map/table-info/table-info.component.ts");
    /* harmony import */


    var _shared_services_map_service__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ../shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");
    /* harmony import */


    var _shared_services_search_service__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ../shared/services/search.service */
    "./src/app/map/shared/services/search.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_TableInfoComponent = [_table_info_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_TableInfoComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_TableInfoComponent,
      data: {}
    });

    function View_TableInfoComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "th", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](2, {
        "min-width": 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_0 = _ck(_v, 2, 0, _v.context.$implicit.width ? _v.context.$implicit.width + "px" : "150px");

        _ck(_v, 1, 0, currVal_0);
      }, function (_ck, _v) {
        var currVal_1 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_TableInfoComponent_3(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "td", [["data-th", "column.name"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](2, {
        "min-width": 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, [" ", " "]))], function (_ck, _v) {
        var currVal_0 = _ck(_v, 2, 0, _v.context.$implicit.width ? _v.context.$implicit.width + "px" : "150px");

        _ck(_v, 1, 0, currVal_0);
      }, function (_ck, _v) {
        var currVal_1 = _v.parent.context.$implicit[_v.context.$implicit.prop];

        _ck(_v, 3, 0, currVal_1);
      });
    }

    function View_TableInfoComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "tr", [], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.rowClick(_v.context.$implicit.OBJECTID, _v.context.index) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "td", [["width", "50"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](2, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableInfoComponent_3)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.columns;

        _ck(_v, 4, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.index === _co.rowIndex;

        _ck(_v, 0, 0, currVal_0);

        var currVal_1 = _v.context.index + 1;

        _ck(_v, 2, 0, currVal_1);
      });
    }

    function View_TableInfoComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 21, "div", [["class", "container-table"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 20, "div", [["class", "rwd-table"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](3, {
        height: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 4, "div", [["class", "card-header d-flex justify-content-between align-items-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 1, "div", [["class", "title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](6, null, ["K\u1EBFt qu\u1EA3 truy v\u1EA5n ", " (", ")"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](7, 0, null, null, 1, "app-button", [["btnClass", "btn-danger"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.closeTable() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ButtonComponent_0"], _shared_components_button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 114688, null, 0, _shared_components_button_button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 12, "perfect-scrollbar", [["style", "height: 190px;"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], {
        config: [0, "config"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, 0, 5, "table", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 4, "tr", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](13, 0, null, null, 1, "th", [["width", "50"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["STT"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableInfoComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](16, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](17, 0, null, 0, 4, "perfect-scrollbar", [["style", "height: 140px;"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_5__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](18, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_6__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], {
        config: [0, "config"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](19, 0, null, 0, 2, "table", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_TableInfoComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](21, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;

        var currVal_0 = _ck(_v, 3, 0, _co.isOpen ? "232px" : "0px");

        _ck(_v, 2, 0, currVal_0);

        var currVal_3 = "btn-danger";
        var currVal_4 = "times";

        _ck(_v, 8, 0, currVal_3, currVal_4);

        var currVal_7 = _co.scrollBarConfigBoth;

        _ck(_v, 10, 0, currVal_7);

        var currVal_8 = _co.columns;

        _ck(_v, 16, 0, currVal_8);

        var currVal_11 = _co.scrollBarConfigSingle;

        _ck(_v, 18, 0, currVal_11);

        var currVal_12 = _co.rows;

        _ck(_v, 21, 0, currVal_12);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.title;
        var currVal_2 = _co.rows == null ? null : _co.rows.length;

        _ck(_v, 6, 0, currVal_1, currVal_2);

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).autoPropagation;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 10).scrollIndicators;

        _ck(_v, 9, 0, currVal_5, currVal_6);

        var currVal_9 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).autoPropagation;

        var currVal_10 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 18).scrollIndicators;

        _ck(_v, 17, 0, currVal_9, currVal_10);
      });
    }

    function View_TableInfoComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-table-info", [], null, null, null, View_TableInfoComponent_0, RenderType_TableInfoComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _table_info_component__WEBPACK_IMPORTED_MODULE_7__["TableInfoComponent"], [_shared_services_map_service__WEBPACK_IMPORTED_MODULE_8__["MapService"], _shared_services_search_service__WEBPACK_IMPORTED_MODULE_9__["SearchService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var TableInfoComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-table-info", _table_info_component__WEBPACK_IMPORTED_MODULE_7__["TableInfoComponent"], View_TableInfoComponent_Host_0, {
      isOpen: "isOpen"
    }, {
      close: "close",
      open: "open"
    }, []);
    /***/

  },

  /***/
  "./src/app/map/table-info/table-info.component.scss.shim.ngstyle.js":
  /*!**************************************************************************!*\
    !*** ./src/app/map/table-info/table-info.component.scss.shim.ngstyle.js ***!
    \**************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapTableInfoTableInfoComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["@import \"https://fonts.googleapis.com/css?family=Montserrat:300,400,700\";\n.container-table[_ngcontent-%COMP%] {\n  width: 100%;\n  position: absolute;\n  left: 0px;\n  bottom: 0px;\n}\n.container-table[_ngcontent-%COMP%]   .btn-more[_ngcontent-%COMP%] {\n  width: 100%;\n  text-align: center;\n}\n.rwd-table[_ngcontent-%COMP%] {\n  min-width: 300px;\n  margin: 0 auto;\n  height: 15px;\n  margin-bottom: 0.25rem;\n  width: 99.5%;\n  transition: 0.5s;\n}\n.rwd-table[_ngcontent-%COMP%]   .card-header[_ngcontent-%COMP%] {\n  padding: 0.25rem 0.5rem;\n}\n.rwd-table[_ngcontent-%COMP%]   .card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%] {\n  color: #dd5;\n  font-weight: 500;\n  font-size: 1rem;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%] {\n  border-top: 1px solid #ddd;\n  border-bottom: 1px solid #ddd;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%] {\n  display: none;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%] {\n  display: block;\n  max-width: 100px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child, .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child {\n  padding-top: 0.5em;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:last-child, .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:last-child {\n  padding-bottom: 0.5em;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:before, .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:before {\n  content: attr(data-th) \": \";\n  font-weight: bold;\n  width: 6.5em;\n  display: inline-block;\n}\n@media (min-width: 480px) {\n  .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:before, .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:before {\n    display: none;\n  }\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n  text-align: left;\n}\n@media (min-width: 480px) {\n  .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n    display: table-cell;\n    padding: 0.25em 0.5em;\n  }\n  .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:first-child, .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:first-child {\n    padding-left: 0;\n  }\n  .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]:last-child, .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:last-child {\n    padding-right: 0;\n  }\n}\nbody[_ngcontent-%COMP%] {\n  padding: 0 2em;\n  font-family: Montserrat, sans-serif;\n  -webkit-font-smoothing: antialiased;\n  text-rendering: optimizeLegibility;\n  color: #444;\n  background: #eee;\n}\nh1[_ngcontent-%COMP%] {\n  font-weight: normal;\n  letter-spacing: -1px;\n  color: rgba(52, 73, 94, 0.8);\n}\n.rwd-table[_ngcontent-%COMP%] {\n  background: rgba(52, 73, 94, 0.8);\n  color: #fff;\n  border-radius: 0.4em;\n  overflow: hidden;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%] {\n  font-size: 14px;\n  border-color: rgba(79, 99, 204, 0.8);\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n  text-overflow: ellipsis;\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tr.active[_ngcontent-%COMP%] {\n  background-color: rgba(147, 112, 219, 0.75);\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n  margin: 0.5em 1em;\n  white-space: nowrap;\n}\n@media (min-width: 480px) {\n  .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%] {\n    padding: 0.25em 0.75rem !important;\n  }\n}\n.rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .rwd-table[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:before {\n  color: #dd5;\n}\n[_nghost-%COMP%]  .btn-more .btn {\n  height: 30px;\n  width: 30px;\n  border-radius: 50%;\n  color: #007bff;\n  border-color: #007bff;\n}\n[_nghost-%COMP%]  .ps-content {\n  width: -moz-fit-content;\n  width: fit-content;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL3RhYmxlLWluZm8vQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXG1hcFxcdGFibGUtaW5mb1xcdGFibGUtaW5mby5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFwL3RhYmxlLWluZm8vdGFibGUtaW5mby5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3RlEsd0VBQUE7QUF0RlI7RUFDRSxXQUFBO0VBQ0Esa0JBQUE7RUFDQSxTQUFBO0VBQ0EsV0FBQTtBQ0FGO0FEQ0U7RUFDRSxXQUFBO0VBQ0Esa0JBQUE7QUNDSjtBREVBO0VBQ0UsZ0JBQUE7RUFDQSxjQUFBO0VBQ0EsWUFBQTtFQUNBLHNCQUFBO0VBQ0EsWUFBQTtFQUNBLGdCQUFBO0FDQ0Y7QURBRTtFQUNFLHVCQUFBO0FDRUo7QURESTtFQUNFLFdBQUE7RUFDQSxnQkFBQTtFQUNBLGVBQUE7QUNHTjtBRENJO0VBQ0UsMEJBQUE7RUFDQSw2QkFBQTtBQ0NOO0FERUk7RUFDRSxhQUFBO0FDQU47QURHSTs7RUFFRSxjQUFBO0VBQ0EsZ0JBQUE7RUFDQSxnQkFBQTtFQUNBLHVCQUFBO0VBQ0EsbUJBQUE7QUNETjtBREVNOztFQUNFLGtCQUFBO0FDQ1I7QURDTTs7RUFDRSxxQkFBQTtBQ0VSO0FEQ007O0VBQ0UsMkJBQUE7RUFDQSxpQkFBQTtFQUdBLFlBQUE7RUFDQSxxQkFBQTtBQ0FSO0FER1E7RUFURjs7SUFVSSxhQUFBO0VDQ1I7QUFDRjtBREdJOztFQUVFLGdCQUFBO0FDRE47QURHTTtFQUpGOztJQUtJLG1CQUFBO0lBQ0EscUJBQUE7RUNDTjtFRENNOztJQUNFLGVBQUE7RUNFUjtFRENNOztJQUNFLGdCQUFBO0VDRVI7QUFDRjtBRFFBO0VBQ0UsY0FBQTtFQUNBLG1DQUFBO0VBQ0EsbUNBQUE7RUFDQSxrQ0FBQTtFQUNBLFdBQUE7RUFDQSxnQkFBQTtBQ0xGO0FEUUE7RUFDRSxtQkFBQTtFQUNBLG9CQUFBO0VBQ0EsNEJBQUE7QUNMRjtBRFFBO0VBQ0UsaUNBQUE7RUFDQSxXQUFBO0VBQ0Esb0JBQUE7RUFDQSxnQkFBQTtBQ0xGO0FET0k7RUFDRSxlQUFBO0VBQ0Esb0NBQUE7QUNMTjtBRE1NO0VBQ0UsdUJBQUE7QUNKUjtBRE9JO0VBQ0UsMkNBQUE7QUNMTjtBRE9JOztFQUVFLGlCQUFBO0VBQ0EsbUJBQUE7QUNMTjtBRE1NO0VBSkY7O0lBTUksa0NBQUE7RUNITjtBQUNGO0FES0k7O0VBRUUsV0FBQTtBQ0hOO0FEVUk7RUFDRSxZQUFBO0VBQ0EsV0FBQTtFQUNBLGtCQUFBO0VBQ0EsY0FBQTtFQUNBLHFCQUFBO0FDUE47QURXRTtFQUNFLHVCQUFBO0VBQUEsa0JBQUE7QUNUSiIsImZpbGUiOiJzcmMvYXBwL21hcC90YWJsZS1pbmZvL3RhYmxlLWluZm8uY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIkYnJlYWtwb2ludC1hbHBoYTogNDgwcHg7IC8vIGFkanVzdCB0byB5b3VyIG5lZWRzXHJcblxyXG4uY29udGFpbmVyLXRhYmxlIHtcclxuICB3aWR0aDogMTAwJTtcclxuICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgbGVmdDogMHB4O1xyXG4gIGJvdHRvbTogMHB4O1xyXG4gIC5idG4tbW9yZSB7XHJcbiAgICB3aWR0aDogMTAwJTtcclxuICAgIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICB9XHJcbn1cclxuLnJ3ZC10YWJsZSB7XHJcbiAgbWluLXdpZHRoOiAzMDBweDsgLy8gYWRqdXN0IHRvIHlvdXIgbmVlZHNcclxuICBtYXJnaW46IDAgYXV0bztcclxuICBoZWlnaHQ6IDE1cHg7XHJcbiAgbWFyZ2luLWJvdHRvbTogMC4yNXJlbTtcclxuICB3aWR0aDogOTkuNSU7XHJcbiAgdHJhbnNpdGlvbjogMC41cztcclxuICAuY2FyZC1oZWFkZXIge1xyXG4gICAgcGFkZGluZzogMC4yNXJlbSAwLjVyZW07XHJcbiAgICAudGl0bGUge1xyXG4gICAgICBjb2xvcjogI2RkNTtcclxuICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgICAgZm9udC1zaXplOiAxcmVtO1xyXG4gICAgfVxyXG4gIH1cclxuICB0YWJsZSB7XHJcbiAgICB0ciB7XHJcbiAgICAgIGJvcmRlci10b3A6IDFweCBzb2xpZCAjZGRkO1xyXG4gICAgICBib3JkZXItYm90dG9tOiAxcHggc29saWQgI2RkZDtcclxuICAgIH1cclxuXHJcbiAgICB0aCB7XHJcbiAgICAgIGRpc3BsYXk6IG5vbmU7IC8vIGZvciBhY2Nlc3NpYmlsaXR5LCB1c2UgYSB2aXN1YWxseSBoaWRkZW4gbWV0aG9kIGhlcmUgaW5zdGVhZCEgVGhhbmtzLCByZWRkaXQhXHJcbiAgICB9XHJcblxyXG4gICAgdGQsXHJcbiAgICB0aCB7XHJcbiAgICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgICBtYXgtd2lkdGg6IDEwMHB4O1xyXG4gICAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcclxuICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcclxuICAgICAgJjpmaXJzdC1jaGlsZCB7XHJcbiAgICAgICAgcGFkZGluZy10b3A6IDAuNWVtO1xyXG4gICAgICB9XHJcbiAgICAgICY6bGFzdC1jaGlsZCB7XHJcbiAgICAgICAgcGFkZGluZy1ib3R0b206IDAuNWVtO1xyXG4gICAgICB9XHJcblxyXG4gICAgICAmOmJlZm9yZSB7XHJcbiAgICAgICAgY29udGVudDogYXR0cihkYXRhLXRoKSBcIjogXCI7IC8vIHdobyBrbmV3IHlvdSBjb3VsZCBkbyB0aGlzPyBUaGUgaW50ZXJuZXQsIHRoYXQncyB3aG8uXHJcbiAgICAgICAgZm9udC13ZWlnaHQ6IGJvbGQ7XHJcblxyXG4gICAgICAgIC8vIG9wdGlvbmFsIHN0dWZmIHRvIG1ha2UgaXQgbG9vayBuaWNlclxyXG4gICAgICAgIHdpZHRoOiA2LjVlbTsgLy8gbWFnaWMgbnVtYmVyIDooIGFkanVzdCBhY2NvcmRpbmcgdG8geW91ciBvd24gY29udGVudFxyXG4gICAgICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgICAgICAvLyBlbmQgb3B0aW9uc1xyXG5cclxuICAgICAgICBAbWVkaWEgKG1pbi13aWR0aDogJGJyZWFrcG9pbnQtYWxwaGEpIHtcclxuICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgdGgsXHJcbiAgICB0ZCB7XHJcbiAgICAgIHRleHQtYWxpZ246IGxlZnQ7XHJcblxyXG4gICAgICBAbWVkaWEgKG1pbi13aWR0aDogJGJyZWFrcG9pbnQtYWxwaGEpIHtcclxuICAgICAgICBkaXNwbGF5OiB0YWJsZS1jZWxsO1xyXG4gICAgICAgIHBhZGRpbmc6IDAuMjVlbSAwLjVlbTtcclxuXHJcbiAgICAgICAgJjpmaXJzdC1jaGlsZCB7XHJcbiAgICAgICAgICBwYWRkaW5nLWxlZnQ6IDA7XHJcbiAgICAgICAgfVxyXG5cclxuICAgICAgICAmOmxhc3QtY2hpbGQge1xyXG4gICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcbn1cclxuXHJcbi8vIHByZXNlbnRhdGlvbmFsIHN0eWxpbmdcclxuXHJcbkBpbXBvcnQgXCJodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9TW9udHNlcnJhdDozMDAsNDAwLDcwMFwiO1xyXG5cclxuYm9keSB7XHJcbiAgcGFkZGluZzogMCAyZW07XHJcbiAgZm9udC1mYW1pbHk6IE1vbnRzZXJyYXQsIHNhbnMtc2VyaWY7XHJcbiAgLXdlYmtpdC1mb250LXNtb290aGluZzogYW50aWFsaWFzZWQ7XHJcbiAgdGV4dC1yZW5kZXJpbmc6IG9wdGltaXplTGVnaWJpbGl0eTtcclxuICBjb2xvcjogIzQ0NDtcclxuICBiYWNrZ3JvdW5kOiAjZWVlO1xyXG59XHJcblxyXG5oMSB7XHJcbiAgZm9udC13ZWlnaHQ6IG5vcm1hbDtcclxuICBsZXR0ZXItc3BhY2luZzogLTFweDtcclxuICBjb2xvcjogcmdiYSg1MiwgNzMsIDk0LCAwLjgpO1xyXG59XHJcblxyXG4ucndkLXRhYmxlIHtcclxuICBiYWNrZ3JvdW5kOiByZ2JhKDUyLCA3MywgOTQsIDAuOCk7XHJcbiAgY29sb3I6ICNmZmY7XHJcbiAgYm9yZGVyLXJhZGl1czogMC40ZW07XHJcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICB0YWJsZSB7XHJcbiAgICB0ciB7XHJcbiAgICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgICAgYm9yZGVyLWNvbG9yOiBsaWdodGVuKHJnYmEoNTIsIDczLCAxODAsIDAuOCksIDEwJSk7XHJcbiAgICAgIHRkIHtcclxuICAgICAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcclxuICAgICAgfVxyXG4gICAgfVxyXG4gICAgdHIuYWN0aXZlIHtcclxuICAgICAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNDcsIDExMiwgMjE5LCAwLjc1KTsgLy8gIDc5LCA5OSwgMjA0XHJcbiAgICB9XHJcbiAgICB0aCxcclxuICAgIHRkIHtcclxuICAgICAgbWFyZ2luOiAwLjVlbSAxZW07XHJcbiAgICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XHJcbiAgICAgIEBtZWRpYSAobWluLXdpZHRoOiAkYnJlYWtwb2ludC1hbHBoYSkge1xyXG4gICAgICAgIC8vIHBhZGRpbmc6IDFlbSAhaW1wb3J0YW50O1xyXG4gICAgICAgIHBhZGRpbmc6IDAuMjVlbSAwLjc1cmVtICFpbXBvcnRhbnQ7XHJcbiAgICAgIH1cclxuICAgIH1cclxuICAgIHRoLFxyXG4gICAgdGQ6YmVmb3JlIHtcclxuICAgICAgY29sb3I6ICNkZDU7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcblxyXG46aG9zdDo6bmctZGVlcCB7XHJcbiAgLmJ0bi1tb3JlIHtcclxuICAgIC5idG4ge1xyXG4gICAgICBoZWlnaHQ6IDMwcHg7XHJcbiAgICAgIHdpZHRoOiAzMHB4O1xyXG4gICAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgICAgIGNvbG9yOiAjMDA3YmZmO1xyXG4gICAgICBib3JkZXItY29sb3I6ICMwMDdiZmY7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAucHMtY29udGVudCB7XHJcbiAgICB3aWR0aDogZml0LWNvbnRlbnQ7XHJcbiAgfVxyXG59XHJcbiIsIkBpbXBvcnQgXCJodHRwczovL2ZvbnRzLmdvb2dsZWFwaXMuY29tL2Nzcz9mYW1pbHk9TW9udHNlcnJhdDozMDAsNDAwLDcwMFwiO1xuLmNvbnRhaW5lci10YWJsZSB7XG4gIHdpZHRoOiAxMDAlO1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGxlZnQ6IDBweDtcbiAgYm90dG9tOiAwcHg7XG59XG4uY29udGFpbmVyLXRhYmxlIC5idG4tbW9yZSB7XG4gIHdpZHRoOiAxMDAlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG59XG5cbi5yd2QtdGFibGUge1xuICBtaW4td2lkdGg6IDMwMHB4O1xuICBtYXJnaW46IDAgYXV0bztcbiAgaGVpZ2h0OiAxNXB4O1xuICBtYXJnaW4tYm90dG9tOiAwLjI1cmVtO1xuICB3aWR0aDogOTkuNSU7XG4gIHRyYW5zaXRpb246IDAuNXM7XG59XG4ucndkLXRhYmxlIC5jYXJkLWhlYWRlciB7XG4gIHBhZGRpbmc6IDAuMjVyZW0gMC41cmVtO1xufVxuLnJ3ZC10YWJsZSAuY2FyZC1oZWFkZXIgLnRpdGxlIHtcbiAgY29sb3I6ICNkZDU7XG4gIGZvbnQtd2VpZ2h0OiA1MDA7XG4gIGZvbnQtc2l6ZTogMXJlbTtcbn1cbi5yd2QtdGFibGUgdGFibGUgdHIge1xuICBib3JkZXItdG9wOiAxcHggc29saWQgI2RkZDtcbiAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICNkZGQ7XG59XG4ucndkLXRhYmxlIHRhYmxlIHRoIHtcbiAgZGlzcGxheTogbm9uZTtcbn1cbi5yd2QtdGFibGUgdGFibGUgdGQsXG4ucndkLXRhYmxlIHRhYmxlIHRoIHtcbiAgZGlzcGxheTogYmxvY2s7XG4gIG1heC13aWR0aDogMTAwcHg7XG4gIG92ZXJmbG93OiBoaWRkZW47XG4gIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xuICB3aGl0ZS1zcGFjZTogbm93cmFwO1xufVxuLnJ3ZC10YWJsZSB0YWJsZSB0ZDpmaXJzdC1jaGlsZCxcbi5yd2QtdGFibGUgdGFibGUgdGg6Zmlyc3QtY2hpbGQge1xuICBwYWRkaW5nLXRvcDogMC41ZW07XG59XG4ucndkLXRhYmxlIHRhYmxlIHRkOmxhc3QtY2hpbGQsXG4ucndkLXRhYmxlIHRhYmxlIHRoOmxhc3QtY2hpbGQge1xuICBwYWRkaW5nLWJvdHRvbTogMC41ZW07XG59XG4ucndkLXRhYmxlIHRhYmxlIHRkOmJlZm9yZSxcbi5yd2QtdGFibGUgdGFibGUgdGg6YmVmb3JlIHtcbiAgY29udGVudDogYXR0cihkYXRhLXRoKSBcIjogXCI7XG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xuICB3aWR0aDogNi41ZW07XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbn1cbkBtZWRpYSAobWluLXdpZHRoOiA0ODBweCkge1xuICAucndkLXRhYmxlIHRhYmxlIHRkOmJlZm9yZSxcbi5yd2QtdGFibGUgdGFibGUgdGg6YmVmb3JlIHtcbiAgICBkaXNwbGF5OiBub25lO1xuICB9XG59XG4ucndkLXRhYmxlIHRhYmxlIHRoLFxuLnJ3ZC10YWJsZSB0YWJsZSB0ZCB7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59XG5AbWVkaWEgKG1pbi13aWR0aDogNDgwcHgpIHtcbiAgLnJ3ZC10YWJsZSB0YWJsZSB0aCxcbi5yd2QtdGFibGUgdGFibGUgdGQge1xuICAgIGRpc3BsYXk6IHRhYmxlLWNlbGw7XG4gICAgcGFkZGluZzogMC4yNWVtIDAuNWVtO1xuICB9XG4gIC5yd2QtdGFibGUgdGFibGUgdGg6Zmlyc3QtY2hpbGQsXG4ucndkLXRhYmxlIHRhYmxlIHRkOmZpcnN0LWNoaWxkIHtcbiAgICBwYWRkaW5nLWxlZnQ6IDA7XG4gIH1cbiAgLnJ3ZC10YWJsZSB0YWJsZSB0aDpsYXN0LWNoaWxkLFxuLnJ3ZC10YWJsZSB0YWJsZSB0ZDpsYXN0LWNoaWxkIHtcbiAgICBwYWRkaW5nLXJpZ2h0OiAwO1xuICB9XG59XG5cbmJvZHkge1xuICBwYWRkaW5nOiAwIDJlbTtcbiAgZm9udC1mYW1pbHk6IE1vbnRzZXJyYXQsIHNhbnMtc2VyaWY7XG4gIC13ZWJraXQtZm9udC1zbW9vdGhpbmc6IGFudGlhbGlhc2VkO1xuICB0ZXh0LXJlbmRlcmluZzogb3B0aW1pemVMZWdpYmlsaXR5O1xuICBjb2xvcjogIzQ0NDtcbiAgYmFja2dyb3VuZDogI2VlZTtcbn1cblxuaDEge1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICBsZXR0ZXItc3BhY2luZzogLTFweDtcbiAgY29sb3I6IHJnYmEoNTIsIDczLCA5NCwgMC44KTtcbn1cblxuLnJ3ZC10YWJsZSB7XG4gIGJhY2tncm91bmQ6IHJnYmEoNTIsIDczLCA5NCwgMC44KTtcbiAgY29sb3I6ICNmZmY7XG4gIGJvcmRlci1yYWRpdXM6IDAuNGVtO1xuICBvdmVyZmxvdzogaGlkZGVuO1xufVxuLnJ3ZC10YWJsZSB0YWJsZSB0ciB7XG4gIGZvbnQtc2l6ZTogMTRweDtcbiAgYm9yZGVyLWNvbG9yOiByZ2JhKDc5LCA5OSwgMjA0LCAwLjgpO1xufVxuLnJ3ZC10YWJsZSB0YWJsZSB0ciB0ZCB7XG4gIHRleHQtb3ZlcmZsb3c6IGVsbGlwc2lzO1xufVxuLnJ3ZC10YWJsZSB0YWJsZSB0ci5hY3RpdmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDE0NywgMTEyLCAyMTksIDAuNzUpO1xufVxuLnJ3ZC10YWJsZSB0YWJsZSB0aCxcbi5yd2QtdGFibGUgdGFibGUgdGQge1xuICBtYXJnaW46IDAuNWVtIDFlbTtcbiAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbn1cbkBtZWRpYSAobWluLXdpZHRoOiA0ODBweCkge1xuICAucndkLXRhYmxlIHRhYmxlIHRoLFxuLnJ3ZC10YWJsZSB0YWJsZSB0ZCB7XG4gICAgcGFkZGluZzogMC4yNWVtIDAuNzVyZW0gIWltcG9ydGFudDtcbiAgfVxufVxuLnJ3ZC10YWJsZSB0YWJsZSB0aCxcbi5yd2QtdGFibGUgdGFibGUgdGQ6YmVmb3JlIHtcbiAgY29sb3I6ICNkZDU7XG59XG5cbjpob3N0OjpuZy1kZWVwIC5idG4tbW9yZSAuYnRuIHtcbiAgaGVpZ2h0OiAzMHB4O1xuICB3aWR0aDogMzBweDtcbiAgYm9yZGVyLXJhZGl1czogNTAlO1xuICBjb2xvcjogIzAwN2JmZjtcbiAgYm9yZGVyLWNvbG9yOiAjMDA3YmZmO1xufVxuOmhvc3Q6Om5nLWRlZXAgLnBzLWNvbnRlbnQge1xuICB3aWR0aDogZml0LWNvbnRlbnQ7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/map/table-info/table-info.component.ts":
  /*!********************************************************!*\
    !*** ./src/app/map/table-info/table-info.component.ts ***!
    \********************************************************/

  /*! exports provided: TableInfoComponent */

  /***/
  function srcAppMapTableInfoTableInfoComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TableInfoComponent", function () {
      return TableInfoComponent;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var TableInfoComponent = /*#__PURE__*/function () {
      function TableInfoComponent(mapService, searchService) {
        _classCallCheck(this, TableInfoComponent);

        this.mapService = mapService;
        this.searchService = searchService;
        this.isOpen = false;
        this.close = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.open = new _angular_core__WEBPACK_IMPORTED_MODULE_1__["EventEmitter"]();
        this.scrollBarConfigBoth = {
          suppressScrollY: true
        };
        this.scrollBarConfigSingle = {
          suppressScrollX: true
        };
        this.title = '';
        this.rowIndex = undefined;
      }

      _createClass(TableInfoComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this240 = this;

          this.searchService.resultSearch$.subscribe(function (result) {
            _this240.columns = _this240.searchService.getFields();
            _this240.rows = result;
            _this240.title = _this240.searchService.featureLayer.title; // this.layer = this.service.layerFeature;

            _this240.isOpen = Boolean(result);
          });
        }
      }, {
        key: "closeTable",
        value: function closeTable() {
          this.searchService.close();
        }
      }, {
        key: "rowClick",
        value: function rowClick(objectId, rowIndex) {
          var _this241 = this;

          this.rowIndex = rowIndex;
          var layer = this.searchService.featureLayer; // this.mapService.loaded$.subscribe(loaded => {

          var query = layer.createQuery();
          query.where = "OBJECTID = ".concat(objectId);
          query.outSpatialReference = this.mapService.view.spatialReference;
          query.returnGeometry = true;
          layer.queryFeatures(query).then(function (_ref108) {
            var features = _ref108.features;
            return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(_this241, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee35() {
              var _this242 = this;

              return _regeneratorRuntime().wrap(function _callee35$(_context39) {
                while (1) switch (_context39.prev = _context39.next) {
                  case 0:
                    this.mapService.view.goTo(features);
                    this.mapService.view.whenLayerView(layer).then(function (layerView) {
                      if (_this242.highlight) {
                        _this242.highlight.remove();
                      }

                      _this242.highlight = layerView.highlight(features);
                    });

                  case 2:
                  case "end":
                    return _context39.stop();
                }
              }, _callee35, this);
            }));
          }); // })
        }
      }]);

      return TableInfoComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/vung-phu-bts/modal/modal.component.ngfactory.js":
  /*!*********************************************************************!*\
    !*** ./src/app/map/vung-phu-bts/modal/modal.component.ngfactory.js ***!
    \*********************************************************************/

  /*! exports provided: RenderType_ModalComponent, View_ModalComponent_0, View_ModalComponent_Host_0, ModalComponentNgFactory */

  /***/
  function srcAppMapVungPhuBtsModalModalComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalComponent", function () {
      return RenderType_ModalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalComponent_0", function () {
      return View_ModalComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalComponent_Host_0", function () {
      return View_ModalComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalComponentNgFactory", function () {
      return ModalComponentNgFactory;
    });
    /* harmony import */


    var _modal_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal.component.scss.shim.ngstyle */
    "./src/app/map/vung-phu-bts/modal/modal.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_forms__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/forms */
    "./node_modules/@angular/forms/fesm2015/forms.js");
    /* harmony import */


    var _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component.ngfactory */
    "./src/app/shared/components/modal/modal.component.ngfactory.js");
    /* harmony import */


    var _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../../../shared/components/modal/modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _modal_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ./modal.component */
    "./src/app/map/vung-phu-bts/modal/modal.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalComponent = [_modal_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalComponent,
      data: {}
    });

    function View_ModalComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "option", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgSelectOption"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [2, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]], {
        value: [0, "value"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 147456, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["ɵangular_packages_forms_forms_x"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], [8, null]], {
        value: [0, "value"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""]))], function (_ck, _v) {
        var currVal_0 = _v.context.$implicit.code;

        _ck(_v, 1, 0, currVal_0);

        var currVal_1 = _v.context.$implicit.code;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var currVal_2 = _v.context.$implicit.name;

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_ModalComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 15, "app-modal-template", [["title", "Thi\u1EBFt b\u1ECB l\u1EAFp \u0111\u1EB7t"]], null, null, null, _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["View_ModalComponent_0"], _shared_components_modal_modal_component_ngfactory__WEBPACK_IMPORTED_MODULE_3__["RenderType_ModalComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _shared_components_modal_modal_component__WEBPACK_IMPORTED_MODULE_4__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"]], {
        title: [0, "title"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, 1, 8, "div", [["body", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 7, "select", [["class", "custom-select"]], [[2, "ng-untouched", null], [2, "ng-touched", null], [2, "ng-pristine", null], [2, "ng-dirty", null], [2, "ng-valid", null], [2, "ng-invalid", null], [2, "ng-pending", null]], [[null, "ngModelChange"], [null, "change"], [null, "blur"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).onChange($event.target.value) !== false;
          ad = pd_0 && ad;
        }

        if ("blur" === en) {
          var pd_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 4).onTouched() !== false;
          ad = pd_1 && ad;
        }

        if ("ngModelChange" === en) {
          var pd_2 = (_co.result = $event) !== false;
          ad = pd_2 && ad;
        }

        return ad;
      }, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](1024, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"], function (p0_0) {
        return [p0_0];
      }, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["SelectControlValueAccessor"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 671744, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"], [[8, null], [8, null], [8, null], [6, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NG_VALUE_ACCESSOR"]]], {
        model: [0, "model"]
      }, {
        update: "ngModelChange"
      }), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵprd"](2048, null, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"], null, [_angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgModel"]]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](8, 16384, null, 0, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControlStatus"], [[4, _angular_forms__WEBPACK_IMPORTED_MODULE_2__["NgControl"]]], null, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](10, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, 2, 4, "div", [["footer", ""]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](12, 0, null, null, 1, "button", [["class", "btn btn-outline-secondary mr-1 btn-sm"], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.modal.dismiss(_co.EventModal.CANCEL) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["H\u1EE7y"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](14, 0, null, null, 1, "button", [["class", "btn btn-danger btn-sm"], ["ngbAutofocus", ""], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.passBack() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u1EA5p nh\u1EADn"]))], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "Thi\u1EBFt b\u1ECB l\u1EAFp \u0111\u1EB7t";

        _ck(_v, 1, 0, currVal_0);

        var currVal_8 = _co.result;

        _ck(_v, 6, 0, currVal_8);

        var currVal_9 = _co.thietBis;

        _ck(_v, 10, 0, currVal_9);
      }, function (_ck, _v) {
        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassUntouched;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassTouched;

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassPristine;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassDirty;

        var currVal_5 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassValid;

        var currVal_6 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassInvalid;

        var currVal_7 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 8).ngClassPending;

        _ck(_v, 3, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7);
      });
    }

    function View_ModalComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal", [], null, null, null, View_ModalComponent_0, RenderType_ModalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_component__WEBPACK_IMPORTED_MODULE_7__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_5__["NgbActiveModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal", _modal_component__WEBPACK_IMPORTED_MODULE_7__["ModalComponent"], View_ModalComponent_Host_0, {
      thietBis: "thietBis"
    }, {
      passEntry: "passEntry"
    }, []);
    /***/

  },

  /***/
  "./src/app/map/vung-phu-bts/modal/modal.component.scss.shim.ngstyle.js":
  /*!*****************************************************************************!*\
    !*** ./src/app/map/vung-phu-bts/modal/modal.component.scss.shim.ngstyle.js ***!
    \*****************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapVungPhuBtsModalModalComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21hcC92dW5nLXBodS1idHMvbW9kYWwvbW9kYWwuY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/map/vung-phu-bts/modal/modal.component.ts":
  /*!***********************************************************!*\
    !*** ./src/app/map/vung-phu-bts/modal/modal.component.ts ***!
    \***********************************************************/

  /*! exports provided: EventModal, ModalComponent */

  /***/
  function srcAppMapVungPhuBtsModalModalComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "EventModal", function () {
      return EventModal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalComponent", function () {
      return ModalComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var EventModal;

    (function (EventModal) {
      EventModal["OK"] = "OK";
      EventModal["CANCEL"] = "CANCEL";
      EventModal["CROSS"] = "CROSS";
    })(EventModal || (EventModal = {}));

    var ModalComponent = /*#__PURE__*/function () {
      function ModalComponent(modal) {
        _classCallCheck(this, ModalComponent);

        this.modal = modal;
        this.EventModal = EventModal;
        this.passEntry = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.result = null;
      }

      _createClass(ModalComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "passBack",
        value: function passBack() {
          this.modal.dismiss(EventModal.OK);
          this.passEntry.emit(this.result);
        }
      }]);

      return ModalComponent;
    }();
    /***/

  },

  /***/
  "./src/app/map/vung-phu-bts/vung-phu-bts.component.ngfactory.js":
  /*!**********************************************************************!*\
    !*** ./src/app/map/vung-phu-bts/vung-phu-bts.component.ngfactory.js ***!
    \**********************************************************************/

  /*! exports provided: RenderType_VungPhuBtsComponent, View_VungPhuBtsComponent_0, View_VungPhuBtsComponent_Host_0, VungPhuBtsComponentNgFactory */

  /***/
  function srcAppMapVungPhuBtsVungPhuBtsComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_VungPhuBtsComponent", function () {
      return RenderType_VungPhuBtsComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_VungPhuBtsComponent_0", function () {
      return View_VungPhuBtsComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_VungPhuBtsComponent_Host_0", function () {
      return View_VungPhuBtsComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "VungPhuBtsComponentNgFactory", function () {
      return VungPhuBtsComponentNgFactory;
    });
    /* harmony import */


    var _vung_phu_bts_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./vung-phu-bts.component.scss.shim.ngstyle */
    "./src/app/map/vung-phu-bts/vung-phu-bts.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _vung_phu_bts_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./vung-phu-bts.component */
    "./src/app/map/vung-phu-bts/vung-phu-bts.component.ts");
    /* harmony import */


    var _shared_services_vung_phu_bts_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../shared/services/vung-phu-bts.service */
    "./src/app/map/shared/services/vung-phu-bts.service.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_VungPhuBtsComponent = [_vung_phu_bts_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_VungPhuBtsComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_VungPhuBtsComponent,
      data: {}
    });

    function View_VungPhuBtsComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵqud"](402653184, 1, {
        toolbarDiv: 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, [[1, 0], ["toolbarDiv", 1]], null, 1, "div", [["class", "esri-component esri-widget"], ["id", "toolbarDiv"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 0, "button", [["class", "esri-widget--button esri-interactive esri-icon-dial"], ["id", "distance"], ["title", "V\xF9ng ph\u1EE7 BTS"]], [[2, "active", null]], [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.changeActive() !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co._active;

        _ck(_v, 2, 0, currVal_0);
      });
    }

    function View_VungPhuBtsComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-vung-phu-bts", [], null, null, null, View_VungPhuBtsComponent_0, RenderType_VungPhuBtsComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 4308992, null, 0, _vung_phu_bts_component__WEBPACK_IMPORTED_MODULE_2__["VungPhuBtsComponent"], [_shared_services_vung_phu_bts_service__WEBPACK_IMPORTED_MODULE_3__["VungPhuBtsService"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var VungPhuBtsComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-vung-phu-bts", _vung_phu_bts_component__WEBPACK_IMPORTED_MODULE_2__["VungPhuBtsComponent"], View_VungPhuBtsComponent_Host_0, {}, {}, []);
    /***/

  },

  /***/
  "./src/app/map/vung-phu-bts/vung-phu-bts.component.scss.shim.ngstyle.js":
  /*!******************************************************************************!*\
    !*** ./src/app/map/vung-phu-bts/vung-phu-bts.component.scss.shim.ngstyle.js ***!
    \******************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppMapVungPhuBtsVungPhuBtsComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["#toolbarDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  right: 15px;\n  cursor: default;\n  display: flex;\n  flex-direction: row;\n  flex-wrap: nowrap;\n}\n\n#infoDiv[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 15px;\n  left: 60px;\n}\n\n#infoDiv[_ngcontent-%COMP%]   input[_ngcontent-%COMP%] {\n  border: none;\n  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 2px;\n}\n\n.esri-widget--button.active[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:hover, .esri-widget--button.active[_ngcontent-%COMP%]:focus {\n  cursor: default;\n  background-color: #999696;\n}\n\n.esri-widget--button.active[_ngcontent-%COMP%]   path[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:hover   path[_ngcontent-%COMP%], .esri-widget--button.active[_ngcontent-%COMP%]:focus   path[_ngcontent-%COMP%] {\n  fill: #e4e4e4;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWFwL3Z1bmctcGh1LWJ0cy9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcbWFwXFx2dW5nLXBodS1idHNcXHZ1bmctcGh1LWJ0cy5jb21wb25lbnQuc2NzcyIsInNyYy9hcHAvbWFwL3Z1bmctcGh1LWJ0cy92dW5nLXBodS1idHMuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0VBQ0EsZUFBQTtFQUNBLGFBQUE7RUFDQSxtQkFBQTtFQUNBLGlCQUFBO0FDQ0o7O0FERUU7RUFDRSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxVQUFBO0FDQ0o7O0FEQ0U7RUFDRSxZQUFBO0VBQ0EsMENBQUE7QUNFSjs7QURDRTs7O0VBR0UsZUFBQTtFQUNBLHlCQUFBO0FDRUo7O0FEQUU7OztFQUdFLGFBQUE7QUNHSiIsImZpbGUiOiJzcmMvYXBwL21hcC92dW5nLXBodS1idHMvdnVuZy1waHUtYnRzLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiI3Rvb2xiYXJEaXYge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAxNXB4O1xyXG4gICAgcmlnaHQ6IDE1cHg7XHJcbiAgICBjdXJzb3I6IGRlZmF1bHQ7XHJcbiAgICBkaXNwbGF5OiBmbGV4O1xyXG4gICAgZmxleC1kaXJlY3Rpb246IHJvdztcclxuICAgIGZsZXgtd3JhcDogbm93cmFwO1xyXG4gIH1cclxuXHJcbiAgI2luZm9EaXYge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAxNXB4O1xyXG4gICAgbGVmdDogNjBweDtcclxuICB9XHJcbiAgI2luZm9EaXYgaW5wdXQge1xyXG4gICAgYm9yZGVyOiBub25lO1xyXG4gICAgYm94LXNoYWRvdzogcmdiYSgwLCAwLCAwLCAwLjMpIDBweCAxcHggMnB4O1xyXG4gIH1cclxuXHJcbiAgLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlLFxyXG4gIC5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpob3ZlcixcclxuICAuZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6Zm9jdXMge1xyXG4gICAgY3Vyc29yOiBkZWZhdWx0O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzk5OTY5NjtcclxuICB9XHJcbiAgLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlIHBhdGgsXHJcbiAgLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlOmhvdmVyIHBhdGgsXHJcbiAgLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlOmZvY3VzIHBhdGgge1xyXG4gICAgZmlsbDogI2U0ZTRlNDtcclxuICB9IiwiI3Rvb2xiYXJEaXYge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMTVweDtcbiAgcmlnaHQ6IDE1cHg7XG4gIGN1cnNvcjogZGVmYXVsdDtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZmxleC13cmFwOiBub3dyYXA7XG59XG5cbiNpbmZvRGl2IHtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDE1cHg7XG4gIGxlZnQ6IDYwcHg7XG59XG5cbiNpbmZvRGl2IGlucHV0IHtcbiAgYm9yZGVyOiBub25lO1xuICBib3gtc2hhZG93OiByZ2JhKDAsIDAsIDAsIDAuMykgMHB4IDFweCAycHg7XG59XG5cbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZSxcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpob3Zlcixcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpmb2N1cyB7XG4gIGN1cnNvcjogZGVmYXVsdDtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzk5OTY5Njtcbn1cblxuLmVzcmktd2lkZ2V0LS1idXR0b24uYWN0aXZlIHBhdGgsXG4uZXNyaS13aWRnZXQtLWJ1dHRvbi5hY3RpdmU6aG92ZXIgcGF0aCxcbi5lc3JpLXdpZGdldC0tYnV0dG9uLmFjdGl2ZTpmb2N1cyBwYXRoIHtcbiAgZmlsbDogI2U0ZTRlNDtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/map/vung-phu-bts/vung-phu-bts.component.ts":
  /*!************************************************************!*\
    !*** ./src/app/map/vung-phu-bts/vung-phu-bts.component.ts ***!
    \************************************************************/

  /*! exports provided: VungPhuBtsComponent */

  /***/
  function srcAppMapVungPhuBtsVungPhuBtsComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "VungPhuBtsComponent", function () {
      return VungPhuBtsComponent;
    });
    /* harmony import */


    var _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ../shared/constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var _modal_modal_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ./modal/modal.component */
    "./src/app/map/vung-phu-bts/modal/modal.component.ts");

    var VungPhuBtsComponent = /*#__PURE__*/function () {
      function VungPhuBtsComponent(service, modalService) {
        _classCallCheck(this, VungPhuBtsComponent);

        this.service = service;
        this.modalService = modalService;
        this._active = false;
        this.options = {};
      }

      _createClass(VungPhuBtsComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {
          var _this243 = this;

          this.service.loaded$.subscribe(function (mapView) {
            _this243.view = mapView;
          });
          this.service.addUI(this.toolbarDiv.nativeElement);
        }
      }, {
        key: "ngAfterViewInit",
        value: function ngAfterViewInit() {}
      }, {
        key: "changeActive",
        value: function changeActive() {
          var _this244 = this;

          this._active = !this._active;
          var container = this.service.container;

          if (this._active) {
            container.style.cursor = "crosshair";
            this.clickHandle = this.view.on('click', function (e) {
              return _this244.onViewClickHandler(e);
            });
          } else {
            container.style.cursor = "default";
            this.clickHandle.remove();
            this.clickHandle = null;
            this.service.clear();
            this.eHandleValue = null;
          }
        }
      }, {
        key: "onViewClickHandler",
        value: function onViewClickHandler(e) {
          var _this245 = this;

          e.stopPropagation();
          this.view.hitTest(e).then(function (hitTestResult) {
            var results = hitTestResult.results;
            var result = results.find(function (f) {
              return f.graphic.layer.id === _shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_0__["CONSTNAME"].TRAMBTS.id;
            });

            if (result) {
              var graphic = result.graphic;
              var attributes = graphic.attributes;
              var dataSource = new Array();
              dataSource.push({
                code: null,
                name: 'Tất cả'
              });
              if (attributes['ThietBiLapDat2G']) dataSource.push({
                code: 'ThietBiLapDat2G',
                name: '2G'
              });
              if (attributes['ThietBiLapDat3G']) dataSource.push({
                code: 'ThietBiLapDat3G',
                name: '3G'
              });
              if (attributes['ThietBiLapDat4G']) dataSource.push({
                code: 'ThietBiLapDat4G',
                name: '4G'
              });
              _this245.eHandleValue = e;

              var modalRef = _this245.modalService.open(_modal_modal_component__WEBPACK_IMPORTED_MODULE_1__["ModalComponent"], {
                centered: true
              });

              modalRef.componentInstance.thietBis = dataSource;
              modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) {
                _this245.service.singleBusiness(_this245.eHandleValue, receivedEntry);
              });
            } else {
              _this245.service.clear();

              _this245.eHandleValue = null;
            }
          });
        }
      }, {
        key: "onHienThiAction",
        value: function onHienThiAction() {// this.tool.singleBusiness(this.eHandleValue, val as string);
        }
      }]);

      return VungPhuBtsComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/attachment/attachment.component.ngfactory.js":
  /*!********************************************************************************!*\
    !*** ./src/app/shared/components/attachment/attachment.component.ngfactory.js ***!
    \********************************************************************************/

  /*! exports provided: RenderType_AttachmentComponent, View_AttachmentComponent_0, View_AttachmentComponent_Host_0, AttachmentComponentNgFactory */

  /***/
  function srcAppSharedComponentsAttachmentAttachmentComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_AttachmentComponent", function () {
      return RenderType_AttachmentComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AttachmentComponent_0", function () {
      return View_AttachmentComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_AttachmentComponent_Host_0", function () {
      return View_AttachmentComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AttachmentComponentNgFactory", function () {
      return AttachmentComponentNgFactory;
    });
    /* harmony import */


    var _attachment_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./attachment.component.scss.shim.ngstyle */
    "./src/app/shared/components/attachment/attachment.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _attachment_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./attachment.component */
    "./src/app/shared/components/attachment/attachment.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_AttachmentComponent = [_attachment_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_AttachmentComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_AttachmentComponent,
      data: {}
    });

    function View_AttachmentComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 11, "a", [["class", "col-3 mt-3 mr-4 p-2 shadow-sm bg-white rounded text-dark"], ["target", "_blank"]], [[8, "href", 4]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "a", [["class", "btn-del"], ["href", "javascript:void(0)"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co["delete"].emit(_v.context.$implicit.id) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["x"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 8, "div", [["class", "row h-100 align-items-center"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 4, "div", [["class", "col-3 text-right h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](5, 0, null, null, 3, "span", [], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgStyle"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ElementRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["KeyValueDiffers"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["Renderer2"]], {
        ngStyle: [0, "ngStyle"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵpod"](7, {
        "color": 0
      }), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](9, 0, null, null, 2, "div", [["class", "col-9 d-flex align-items-center pl-0 h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](10, 0, null, null, 1, "span", [["class", "file-name"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](11, null, ["", ""]))], function (_ck, _v) {
        var _co = _v.component;

        var currVal_1 = _ck(_v, 7, 0, _co.setColor(_v.context.$implicit.contentType));

        _ck(_v, 6, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _v.context.$implicit.url;

        _ck(_v, 0, 0, currVal_0);

        var currVal_2 = "far fa-3x fa-" + _co.setIcon(_v.context.$implicit.contentType);

        _ck(_v, 8, 0, currVal_2);

        var currVal_3 = _v.context.$implicit.name;

        _ck(_v, 11, 0, currVal_3);
      });
    }

    function View_AttachmentComponent_2(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "p", [["class", "text-center text-dark"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["Ch\u01B0a c\xF3 file \u0111\xEDnh k\xE8m"]))], null, null);
    }

    function View_AttachmentComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 6, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 5, "div", [["class", "col-11 mx-auto"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 2, "div", [["class", "row"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AttachmentComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](4, 278528, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgForOf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["IterableDiffers"]], {
        ngForOf: [0, "ngForOf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_AttachmentComponent_2)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](6, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_2__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.attachments;

        _ck(_v, 4, 0, currVal_0);

        var currVal_1 = !_co.attachments.length;

        _ck(_v, 6, 0, currVal_1);
      }, null);
    }

    function View_AttachmentComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-attachment", [], null, null, null, View_AttachmentComponent_0, RenderType_AttachmentComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _attachment_component__WEBPACK_IMPORTED_MODULE_3__["AttachmentComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var AttachmentComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-attachment", _attachment_component__WEBPACK_IMPORTED_MODULE_3__["AttachmentComponent"], View_AttachmentComponent_Host_0, {
      attachments: "attachments"
    }, {
      "delete": "delete"
    }, []);
    /***/

  },

  /***/
  "./src/app/shared/components/attachment/attachment.component.scss.shim.ngstyle.js":
  /*!****************************************************************************************!*\
    !*** ./src/app/shared/components/attachment/attachment.component.scss.shim.ngstyle.js ***!
    \****************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsAttachmentAttachmentComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["a[_ngcontent-%COMP%] {\n  text-decoration: none;\n  height: 72px;\n  position: relative;\n  border: 1px solid #e8e8e8;\n}\n\n.file-name[_ngcontent-%COMP%] {\n  white-space: normal;\n  font-size: 14px;\n}\n\n.btn-del[_ngcontent-%COMP%] {\n  position: absolute;\n  top: -5px;\n  right: -5px;\n  height: 18px;\n  width: 18px;\n  font-weight: 600;\n  line-height: 0.65;\n  color: white;\n  font-size: 16px;\n  background: #ff8f8f;\n  text-align: center;\n  border-radius: 50%;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvYXR0YWNobWVudC9DOlxcSmVua2luc1xcd29ya3NwYWNlXFxfY2hpbmgtdmllbi10aG9uZ193ZWItZ2lzX21hc3Rlci9zcmNcXGFwcFxcc2hhcmVkXFxjb21wb25lbnRzXFxhdHRhY2htZW50XFxhdHRhY2htZW50LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9zaGFyZWQvY29tcG9uZW50cy9hdHRhY2htZW50L2F0dGFjaG1lbnQuY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxxQkFBQTtFQUNBLFlBQUE7RUFDQSxrQkFBQTtFQUNBLHlCQUFBO0FDQ0o7O0FEQ0E7RUFDSSxtQkFBQTtFQUNBLGVBQUE7QUNFSjs7QURLQTtFQUNJLGtCQUFBO0VBQ0EsU0FBQTtFQUNBLFdBQUE7RUFDQSxZQUFBO0VBQ0EsV0FBQTtFQUNBLGdCQUFBO0VBQ0EsaUJBQUE7RUFDQSxZQUFBO0VBQ0EsZUFBQTtFQUNBLG1CQUFBO0VBQ0Esa0JBQUE7RUFDQSxrQkFBQTtBQ0ZKIiwiZmlsZSI6InNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvYXR0YWNobWVudC9hdHRhY2htZW50LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiYSB7XHJcbiAgICB0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcbiAgICBoZWlnaHQ6IDcycHg7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICBib3JkZXI6IDFweCBzb2xpZCAjZThlOGU4O1xyXG59XHJcbi5maWxlLW5hbWUge1xyXG4gICAgd2hpdGUtc3BhY2U6IG5vcm1hbDtcclxuICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgIC8vIHdpZHRoOiBpbmhlcml0O1xyXG4gICAgLy8gd2hpdGUtc3BhY2U6IG5vd3JhcDtcclxuICAgIC8vIG92ZXJmbG93OiBoaWRkZW47XHJcbiAgICAvLyB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcclxufVxyXG5cclxuLmJ0bi1kZWwge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiAtNXB4O1xyXG4gICAgcmlnaHQ6IC01cHg7XHJcbiAgICBoZWlnaHQ6IDE4cHg7XHJcbiAgICB3aWR0aDogMThweDtcclxuICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICBsaW5lLWhlaWdodDogMC42NTtcclxuICAgIGNvbG9yOiB3aGl0ZTtcclxuICAgIGZvbnQtc2l6ZTogMTZweDtcclxuICAgIGJhY2tncm91bmQ6ICNmZjhmOGY7XHJcbiAgICB0ZXh0LWFsaWduOiBjZW50ZXI7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbn0iLCJhIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBoZWlnaHQ6IDcycHg7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgYm9yZGVyOiAxcHggc29saWQgI2U4ZThlODtcbn1cblxuLmZpbGUtbmFtZSB7XG4gIHdoaXRlLXNwYWNlOiBub3JtYWw7XG4gIGZvbnQtc2l6ZTogMTRweDtcbn1cblxuLmJ0bi1kZWwge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogLTVweDtcbiAgcmlnaHQ6IC01cHg7XG4gIGhlaWdodDogMThweDtcbiAgd2lkdGg6IDE4cHg7XG4gIGZvbnQtd2VpZ2h0OiA2MDA7XG4gIGxpbmUtaGVpZ2h0OiAwLjY1O1xuICBjb2xvcjogd2hpdGU7XG4gIGZvbnQtc2l6ZTogMTZweDtcbiAgYmFja2dyb3VuZDogI2ZmOGY4ZjtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/shared/components/attachment/attachment.component.ts":
  /*!**********************************************************************!*\
    !*** ./src/app/shared/components/attachment/attachment.component.ts ***!
    \**********************************************************************/

  /*! exports provided: ContentType, AttachmentComponent */

  /***/
  function srcAppSharedComponentsAttachmentAttachmentComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ContentType", function () {
      return ContentType;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "AttachmentComponent", function () {
      return AttachmentComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var ContentType;

    (function (ContentType) {
      ContentType["Word"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
      ContentType["Excel"] = "application/vnd.ms-excel";
      ContentType["Pdf"] = "application/pdf";
    })(ContentType || (ContentType = {}));

    var AttachmentComponent = /*#__PURE__*/function () {
      function AttachmentComponent() {
        _classCallCheck(this, AttachmentComponent);

        this.attachments = [];
        this["delete"] = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.ContentType = ContentType;
      }

      _createClass(AttachmentComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "setIcon",
        value: function setIcon(type) {
          switch (type) {
            case ContentType.Excel:
              return 'file-excel';

            case ContentType.Word:
              return 'file-word';

            case ContentType.Pdf:
              return 'file-pdf';

            default:
              return 'file';
          }
        }
      }, {
        key: "setColor",
        value: function setColor(type) {
          switch (type) {
            case ContentType.Excel:
              return 'green';

            case ContentType.Word:
              return 'blue';

            case ContentType.Pdf:
              return 'red';

            default:
              return '#797979';
          }
        }
      }]);

      return AttachmentComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/button-link/button-link.component.ngfactory.js":
  /*!**********************************************************************************!*\
    !*** ./src/app/shared/components/button-link/button-link.component.ngfactory.js ***!
    \**********************************************************************************/

  /*! exports provided: RenderType_ButtonLinkComponent, View_ButtonLinkComponent_0, View_ButtonLinkComponent_Host_0, ButtonLinkComponentNgFactory */

  /***/
  function srcAppSharedComponentsButtonLinkButtonLinkComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ButtonLinkComponent", function () {
      return RenderType_ButtonLinkComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ButtonLinkComponent_0", function () {
      return View_ButtonLinkComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ButtonLinkComponent_Host_0", function () {
      return View_ButtonLinkComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ButtonLinkComponentNgFactory", function () {
      return ButtonLinkComponentNgFactory;
    });
    /* harmony import */


    var _button_link_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./button-link.component.scss.shim.ngstyle */
    "./src/app/shared/components/button-link/button-link.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../icon/icon.component.ngfactory */
    "./src/app/shared/components/icon/icon.component.ngfactory.js");
    /* harmony import */


    var _icon_icon_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../icon/icon.component */
    "./src/app/shared/components/icon/icon.component.ts");
    /* harmony import */


    var _button_link_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./button-link.component */
    "./src/app/shared/components/button-link/button-link.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ButtonLinkComponent = [_button_link_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ButtonLinkComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ButtonLinkComponent,
      data: {}
    });

    function View_ButtonLinkComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "button", [["class", "btn btn-link text-dark text-decoration-none"], ["type", "button"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-icon", [], [[8, "className", 0]], null, null, _icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_IconComponent_0"], _icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_IconComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _icon_icon_component__WEBPACK_IMPORTED_MODULE_3__["IconComponent"], [], {
        name: [0, "name"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.icon;

        _ck(_v, 2, 0, currVal_1);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "text-" + _co.color;

        _ck(_v, 1, 0, currVal_0);

        var currVal_2 = " ";

        _ck(_v, 3, 0, currVal_2);
      });
    }

    function View_ButtonLinkComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-button-link", [], null, null, null, View_ButtonLinkComponent_0, RenderType_ButtonLinkComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _button_link_component__WEBPACK_IMPORTED_MODULE_4__["ButtonLinkComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ButtonLinkComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-button-link", _button_link_component__WEBPACK_IMPORTED_MODULE_4__["ButtonLinkComponent"], View_ButtonLinkComponent_Host_0, {
      icon: "icon",
      color: "color"
    }, {}, ["*"]);
    /***/

  },

  /***/
  "./src/app/shared/components/button-link/button-link.component.scss.shim.ngstyle.js":
  /*!******************************************************************************************!*\
    !*** ./src/app/shared/components/button-link/button-link.component.scss.shim.ngstyle.js ***!
    \******************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsButtonLinkButtonLinkComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["button[_ngcontent-%COMP%] {\n  font-size: inherit;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvYnV0dG9uLWxpbmsvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXHNoYXJlZFxcY29tcG9uZW50c1xcYnV0dG9uLWxpbmtcXGJ1dHRvbi1saW5rLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9zaGFyZWQvY29tcG9uZW50cy9idXR0b24tbGluay9idXR0b24tbGluay5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGtCQUFBO0FDQ0oiLCJmaWxlIjoic3JjL2FwcC9zaGFyZWQvY29tcG9uZW50cy9idXR0b24tbGluay9idXR0b24tbGluay5jb21wb25lbnQuc2NzcyIsInNvdXJjZXNDb250ZW50IjpbImJ1dHRvbiB7XHJcbiAgICBmb250LXNpemU6IGluaGVyaXQ7XHJcbn0iLCJidXR0b24ge1xuICBmb250LXNpemU6IGluaGVyaXQ7XG59Il19 */"];
    /***/
  },

  /***/
  "./src/app/shared/components/button-link/button-link.component.ts":
  /*!************************************************************************!*\
    !*** ./src/app/shared/components/button-link/button-link.component.ts ***!
    \************************************************************************/

  /*! exports provided: ButtonLinkComponent */

  /***/
  function srcAppSharedComponentsButtonLinkButtonLinkComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ButtonLinkComponent", function () {
      return ButtonLinkComponent;
    });

    var ButtonLinkComponent = /*#__PURE__*/function () {
      function ButtonLinkComponent() {
        _classCallCheck(this, ButtonLinkComponent);

        this.icon = '';
        this.color = 'dark';
      }

      _createClass(ButtonLinkComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ButtonLinkComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/button/button.component.ngfactory.js":
  /*!************************************************************************!*\
    !*** ./src/app/shared/components/button/button.component.ngfactory.js ***!
    \************************************************************************/

  /*! exports provided: RenderType_ButtonComponent, View_ButtonComponent_0, View_ButtonComponent_Host_0, ButtonComponentNgFactory */

  /***/
  function srcAppSharedComponentsButtonButtonComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ButtonComponent", function () {
      return RenderType_ButtonComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ButtonComponent_0", function () {
      return View_ButtonComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ButtonComponent_Host_0", function () {
      return View_ButtonComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ButtonComponentNgFactory", function () {
      return ButtonComponentNgFactory;
    });
    /* harmony import */


    var _button_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./button.component.scss.shim.ngstyle */
    "./src/app/shared/components/button/button.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../icon/icon.component.ngfactory */
    "./src/app/shared/components/icon/icon.component.ngfactory.js");
    /* harmony import */


    var _icon_icon_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../icon/icon.component */
    "./src/app/shared/components/icon/icon.component.ts");
    /* harmony import */


    var _button_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ./button.component */
    "./src/app/shared/components/button/button.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ButtonComponent = [_button_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ButtonComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ButtonComponent,
      data: {}
    });

    function View_ButtonComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 4, "button", [["type", "button"]], [[8, "className", 0], [8, "disabled", 0]], null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-icon", [], null, null, null, _icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_IconComponent_0"], _icon_icon_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_IconComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _icon_icon_component__WEBPACK_IMPORTED_MODULE_3__["IconComponent"], [], {
        name: [0, "name"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_2 = _co.icon;

        _ck(_v, 2, 0, currVal_2);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "ml-1 btn btn-sm " + _co.btnClass;
        var currVal_1 = _co.disabled;

        _ck(_v, 0, 0, currVal_0, currVal_1);

        var currVal_3 = " ";

        _ck(_v, 3, 0, currVal_3);
      });
    }

    function View_ButtonComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-button", [], null, null, null, View_ButtonComponent_0, RenderType_ButtonComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ButtonComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-button", _button_component__WEBPACK_IMPORTED_MODULE_4__["ButtonComponent"], View_ButtonComponent_Host_0, {
      btnClass: "btnClass",
      icon: "icon",
      disabled: "disabled"
    }, {
      click: "click"
    }, ["*"]);
    /***/

  },

  /***/
  "./src/app/shared/components/button/button.component.scss.shim.ngstyle.js":
  /*!********************************************************************************!*\
    !*** ./src/app/shared/components/button/button.component.scss.shim.ngstyle.js ***!
    \********************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsButtonButtonComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3NoYXJlZC9jb21wb25lbnRzL2J1dHRvbi9idXR0b24uY29tcG9uZW50LnNjc3MifQ== */"];
    /***/
  },

  /***/
  "./src/app/shared/components/button/button.component.ts":
  /*!**************************************************************!*\
    !*** ./src/app/shared/components/button/button.component.ts ***!
    \**************************************************************/

  /*! exports provided: ButtonComponent */

  /***/
  function srcAppSharedComponentsButtonButtonComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ButtonComponent", function () {
      return ButtonComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var ButtonComponent = /*#__PURE__*/function () {
      function ButtonComponent() {
        _classCallCheck(this, ButtonComponent);

        this.btnClass = '';
        this.icon = '';
        this.disabled = false;
        this.click = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(ButtonComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ButtonComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/icon/icon.component.ngfactory.js":
  /*!********************************************************************!*\
    !*** ./src/app/shared/components/icon/icon.component.ngfactory.js ***!
    \********************************************************************/

  /*! exports provided: RenderType_IconComponent, View_IconComponent_0, View_IconComponent_Host_0, IconComponentNgFactory */

  /***/
  function srcAppSharedComponentsIconIconComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_IconComponent", function () {
      return RenderType_IconComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_IconComponent_0", function () {
      return View_IconComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_IconComponent_Host_0", function () {
      return View_IconComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "IconComponentNgFactory", function () {
      return IconComponentNgFactory;
    });
    /* harmony import */


    var _icon_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./icon.component.scss.shim.ngstyle */
    "./src/app/shared/components/icon/icon.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _icon_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./icon.component */
    "./src/app/shared/components/icon/icon.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_IconComponent = [_icon_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_IconComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_IconComponent,
      data: {}
    });

    function View_IconComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 0, "i", [], [[8, "className", 0]], null, null, null, null))], null, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = "fas fa-" + _co.name;

        _ck(_v, 0, 0, currVal_0);
      });
    }

    function View_IconComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-icon", [], null, null, null, View_IconComponent_0, RenderType_IconComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _icon_component__WEBPACK_IMPORTED_MODULE_2__["IconComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var IconComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-icon", _icon_component__WEBPACK_IMPORTED_MODULE_2__["IconComponent"], View_IconComponent_Host_0, {
      name: "name"
    }, {}, []);
    /***/

  },

  /***/
  "./src/app/shared/components/icon/icon.component.scss.shim.ngstyle.js":
  /*!****************************************************************************!*\
    !*** ./src/app/shared/components/icon/icon.component.scss.shim.ngstyle.js ***!
    \****************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsIconIconComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3NoYXJlZC9jb21wb25lbnRzL2ljb24vaWNvbi5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/shared/components/icon/icon.component.ts":
  /*!**********************************************************!*\
    !*** ./src/app/shared/components/icon/icon.component.ts ***!
    \**********************************************************/

  /*! exports provided: IconComponent */

  /***/
  function srcAppSharedComponentsIconIconComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "IconComponent", function () {
      return IconComponent;
    });

    var IconComponent = /*#__PURE__*/function () {
      function IconComponent() {
        _classCallCheck(this, IconComponent);

        this.name = '';
      }

      _createClass(IconComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return IconComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/input-file/input-file.component.ngfactory.js":
  /*!********************************************************************************!*\
    !*** ./src/app/shared/components/input-file/input-file.component.ngfactory.js ***!
    \********************************************************************************/

  /*! exports provided: RenderType_InputFileComponent, View_InputFileComponent_0, View_InputFileComponent_Host_0, InputFileComponentNgFactory */

  /***/
  function srcAppSharedComponentsInputFileInputFileComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_InputFileComponent", function () {
      return RenderType_InputFileComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_InputFileComponent_0", function () {
      return View_InputFileComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_InputFileComponent_Host_0", function () {
      return View_InputFileComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InputFileComponentNgFactory", function () {
      return InputFileComponentNgFactory;
    });
    /* harmony import */


    var _input_file_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./input-file.component.scss.shim.ngstyle */
    "./src/app/shared/components/input-file/input-file.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _input_file_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ./input-file.component */
    "./src/app/shared/components/input-file/input-file.component.ts");
    /* harmony import */


    var _services_toast_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../../services/toast.service */
    "./src/app/shared/services/toast.service.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_InputFileComponent = [_input_file_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_InputFileComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_InputFileComponent,
      data: {}
    });

    function View_InputFileComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "form", [["enctype", "multipart/form-data"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 0, "input", [["name", "attachment"], ["type", "file"]], null, [[null, "change"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("change" === en) {
          var pd_0 = _co.onFileSelected($event) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null))], null, null);
    }

    function View_InputFileComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-input-file", [], null, null, null, View_InputFileComponent_0, RenderType_InputFileComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _input_file_component__WEBPACK_IMPORTED_MODULE_2__["InputFileComponent"], [_services_toast_service__WEBPACK_IMPORTED_MODULE_3__["ToastService"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var InputFileComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-input-file", _input_file_component__WEBPACK_IMPORTED_MODULE_2__["InputFileComponent"], View_InputFileComponent_Host_0, {
      service: "service",
      objectId: "objectId"
    }, {
      formData: "formData"
    }, []);
    /***/

  },

  /***/
  "./src/app/shared/components/input-file/input-file.component.scss.shim.ngstyle.js":
  /*!****************************************************************************************!*\
    !*** ./src/app/shared/components/input-file/input-file.component.scss.shim.ngstyle.js ***!
    \****************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsInputFileInputFileComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3NoYXJlZC9jb21wb25lbnRzL2lucHV0LWZpbGUvaW5wdXQtZmlsZS5jb21wb25lbnQuc2NzcyJ9 */"];
    /***/
  },

  /***/
  "./src/app/shared/components/input-file/input-file.component.ts":
  /*!**********************************************************************!*\
    !*** ./src/app/shared/components/input-file/input-file.component.ts ***!
    \**********************************************************************/

  /*! exports provided: InputFileComponent */

  /***/
  function srcAppSharedComponentsInputFileInputFileComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InputFileComponent", function () {
      return InputFileComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var InputFileComponent = /*#__PURE__*/function () {
      function InputFileComponent(toastrService) {
        _classCallCheck(this, InputFileComponent);

        this.toastrService = toastrService;
        this.formData = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
      }

      _createClass(InputFileComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }, {
        key: "onFileSelected",
        value: function onFileSelected(event) {
          var _this246 = this;

          var value = event.target.files[0];
          var formData = new FormData();
          formData.append('attachment', value);
          formData.append('f', 'json');
          console.log(formData);

          if (this.objectId) {
            if (this.idFile) {
              this.service.deleteAttachments(this.objectId, this.idFile).then(function (res) {});
            }

            this.service.addAttachment(this.objectId, formData).then(function (res) {
              if (res.data.addAttachmentResult.success === true) {
                _this246.toastrService.success('upload success!');

                _this246.idFile = res.data.addAttachmentResult.objectId;

                _this246.formData.emit(res.data.addAttachmentResult.objectId);
              }
            });
          }
        }
      }]);

      return InputFileComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/input-file/input-file.module.ts":
  /*!*******************************************************************!*\
    !*** ./src/app/shared/components/input-file/input-file.module.ts ***!
    \*******************************************************************/

  /*! exports provided: InputFileModule */

  /***/
  function srcAppSharedComponentsInputFileInputFileModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "InputFileModule", function () {
      return InputFileModule;
    });

    var InputFileModule = /*#__PURE__*/_createClass(function InputFileModule() {
      _classCallCheck(this, InputFileModule);
    });
    /***/

  },

  /***/
  "./src/app/shared/components/modal/modal.component.ngfactory.js":
  /*!**********************************************************************!*\
    !*** ./src/app/shared/components/modal/modal.component.ngfactory.js ***!
    \**********************************************************************/

  /*! exports provided: RenderType_ModalComponent, View_ModalComponent_0, View_ModalComponent_Host_0, ModalComponentNgFactory */

  /***/
  function srcAppSharedComponentsModalModalComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_ModalComponent", function () {
      return RenderType_ModalComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalComponent_0", function () {
      return View_ModalComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_ModalComponent_Host_0", function () {
      return View_ModalComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalComponentNgFactory", function () {
      return ModalComponentNgFactory;
    });
    /* harmony import */


    var _modal_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./modal.component.scss.shim.ngstyle */
    "./src/app/shared/components/modal/modal.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../button/button.component.ngfactory */
    "./src/app/shared/components/button/button.component.ngfactory.js");
    /* harmony import */


    var _button_button_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ../button/button.component */
    "./src/app/shared/components/button/button.component.ts");
    /* harmony import */


    var _loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! ../loading/loading.component.ngfactory */
    "./src/app/shared/components/loading/loading.component.ngfactory.js");
    /* harmony import */


    var _loading_loading_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ../loading/loading.component */
    "./src/app/shared/components/loading/loading.component.ts");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
    /*! ../../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _modal_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
    /*! ./modal.component */
    "./src/app/shared/components/modal/modal.component.ts");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_ModalComponent = [_modal_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_ModalComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_ModalComponent,
      data: {}
    });

    function View_ModalComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 3, "div", [["class", "d-flex"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 0), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "app-button", [["btnClass", "btn-danger"], ["icon", "times"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.modal.dismiss("CROSS") !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, _button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_ButtonComponent_0"], _button_button_component_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_ButtonComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](3, 114688, null, 0, _button_button_component__WEBPACK_IMPORTED_MODULE_3__["ButtonComponent"], [], {
        btnClass: [0, "btnClass"],
        icon: [1, "icon"]
      }, {
        click: "click"
      })], function (_ck, _v) {
        var currVal_0 = "btn-danger";
        var currVal_1 = "times";

        _ck(_v, 3, 0, currVal_0, currVal_1);
      }, null);
    }

    function View_ModalComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 12, "div", [["class", "position-relative h-100"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 1, "app-loading", [], null, null, null, _loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["View_LoadingComponent_0"], _loading_loading_component_ngfactory__WEBPACK_IMPORTED_MODULE_4__["RenderType_LoadingComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](2, 114688, null, 0, _loading_loading_component__WEBPACK_IMPORTED_MODULE_5__["LoadingComponent"], [], {
        loading: [0, "loading"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](3, 0, null, null, 4, "div", [["class", "modal-header"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "h5", [["class", "modal-title"], ["id", "modal-title"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](5, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_ModalComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_6__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](8, 0, null, null, 2, "perfect-scrollbar", [["class", "modal-body"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_7__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](9, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_8__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], null, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](0, 1), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](11, 0, null, null, 1, "div", [["class", "modal-footer"]], null, null, null, null, null)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](null, 2)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.loading;

        _ck(_v, 2, 0, currVal_0);

        var currVal_2 = _co.isAction;

        _ck(_v, 7, 0, currVal_2);

        _ck(_v, 9, 0);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_1 = _co.title;

        _ck(_v, 5, 0, currVal_1);

        var currVal_3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).autoPropagation;

        var currVal_4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 9).scrollIndicators;

        _ck(_v, 8, 0, currVal_3, currVal_4);
      });
    }

    function View_ModalComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-modal-template", [], null, null, null, View_ModalComponent_0, RenderType_ModalComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _modal_component__WEBPACK_IMPORTED_MODULE_9__["ModalComponent"], [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_10__["NgbActiveModal"]], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var ModalComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-modal-template", _modal_component__WEBPACK_IMPORTED_MODULE_9__["ModalComponent"], View_ModalComponent_Host_0, {
      actions: "actions",
      title: "title",
      loading: "loading",
      isAction: "isAction"
    }, {}, ["[header]", "[body]", "[footer]"]);
    /***/

  },

  /***/
  "./src/app/shared/components/modal/modal.component.scss.shim.ngstyle.js":
  /*!******************************************************************************!*\
    !*** ./src/app/shared/components/modal/modal.component.scss.shim.ngstyle.js ***!
    \******************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsModalModalComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".modal-header[_ngcontent-%COMP%] {\n  padding: 0.6rem;\n  background-color: #00087d;\n  border: 1px solid #564aff;\n  color: #fff;\n}\n.modal-header[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%] {\n  font-weight: 400;\n}\n.modal-body[_ngcontent-%COMP%] {\n  max-height: 80vh;\n  overflow-y: auto;\n}\n.modal-footer[_ngcontent-%COMP%] {\n  padding: 0.5rem;\n}\n  .modal-open .modal {\n  overflow-y: hidden;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvbW9kYWwvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXHNoYXJlZFxcY29tcG9uZW50c1xcbW9kYWxcXG1vZGFsLmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9zaGFyZWQvY29tcG9uZW50cy9tb2RhbC9tb2RhbC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLGVBQUE7RUFDQSx5QkFBQTtFQUNBLHlCQUFBO0VBQ0EsV0FBQTtBQ0NKO0FEQUk7RUFDSSxnQkFBQTtBQ0VSO0FEQ0E7RUFDSSxnQkFBQTtFQUNBLGdCQUFBO0FDRUo7QURBQTtFQUNJLGVBQUE7QUNHSjtBRENJO0VBQ0ksa0JBQUE7QUNFUiIsImZpbGUiOiJzcmMvYXBwL3NoYXJlZC9jb21wb25lbnRzL21vZGFsL21vZGFsLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm1vZGFsLWhlYWRlciB7XHJcbiAgICBwYWRkaW5nOiAwLjZyZW07XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjMDAwODdkO1xyXG4gICAgYm9yZGVyOiAxcHggc29saWQgIzU2NGFmZjtcclxuICAgIGNvbG9yOiAjZmZmO1xyXG4gICAgaDUge1xyXG4gICAgICAgIGZvbnQtd2VpZ2h0OiA0MDA7XHJcbiAgICB9XHJcbn1cclxuLm1vZGFsLWJvZHkge1xyXG4gICAgbWF4LWhlaWdodDogODB2aDtcclxuICAgIG92ZXJmbG93LXk6IGF1dG87XHJcbn1cclxuLm1vZGFsLWZvb3RlciB7XHJcbiAgICBwYWRkaW5nOiAwLjVyZW07XHJcbn1cclxuXHJcbjo6bmctZGVlcCB7XHJcbiAgICAubW9kYWwtb3BlbiAubW9kYWwge1xyXG4gICAgICAgIG92ZXJmbG93LXk6IGhpZGRlbjtcclxuICAgIH1cclxufSIsIi5tb2RhbC1oZWFkZXIge1xuICBwYWRkaW5nOiAwLjZyZW07XG4gIGJhY2tncm91bmQtY29sb3I6ICMwMDA4N2Q7XG4gIGJvcmRlcjogMXB4IHNvbGlkICM1NjRhZmY7XG4gIGNvbG9yOiAjZmZmO1xufVxuLm1vZGFsLWhlYWRlciBoNSB7XG4gIGZvbnQtd2VpZ2h0OiA0MDA7XG59XG5cbi5tb2RhbC1ib2R5IHtcbiAgbWF4LWhlaWdodDogODB2aDtcbiAgb3ZlcmZsb3cteTogYXV0bztcbn1cblxuLm1vZGFsLWZvb3RlciB7XG4gIHBhZGRpbmc6IDAuNXJlbTtcbn1cblxuOjpuZy1kZWVwIC5tb2RhbC1vcGVuIC5tb2RhbCB7XG4gIG92ZXJmbG93LXk6IGhpZGRlbjtcbn0iXX0= */"];
    /***/
  },

  /***/
  "./src/app/shared/components/modal/modal.component.ts":
  /*!************************************************************!*\
    !*** ./src/app/shared/components/modal/modal.component.ts ***!
    \************************************************************/

  /*! exports provided: EventModal, ModalComponent */

  /***/
  function srcAppSharedComponentsModalModalComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "EventModal", function () {
      return EventModal;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ModalComponent", function () {
      return ModalComponent;
    });

    var EventModal;

    (function (EventModal) {
      EventModal["OK"] = "OK";
      EventModal["CANCEL"] = "CANCEL";
      EventModal["CROSS"] = "CROSS";
    })(EventModal || (EventModal = {}));

    var ModalComponent = /*#__PURE__*/function () {
      function ModalComponent(modal) {
        _classCallCheck(this, ModalComponent);

        this.modal = modal;
        this.actions = [];
        this.title = '';
        this.loading = false;
        this.isAction = true;
      }

      _createClass(ModalComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return ModalComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/components/side-nav/side-nav.component.ngfactory.js":
  /*!****************************************************************************!*\
    !*** ./src/app/shared/components/side-nav/side-nav.component.ngfactory.js ***!
    \****************************************************************************/

  /*! exports provided: RenderType_SideNavComponent, View_SideNavComponent_0, View_SideNavComponent_Host_0, SideNavComponentNgFactory */

  /***/
  function srcAppSharedComponentsSideNavSideNavComponentNgfactoryJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "RenderType_SideNavComponent", function () {
      return RenderType_SideNavComponent;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SideNavComponent_0", function () {
      return View_SideNavComponent_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "View_SideNavComponent_Host_0", function () {
      return View_SideNavComponent_Host_0;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SideNavComponentNgFactory", function () {
      return SideNavComponentNgFactory;
    });
    /* harmony import */


    var _side_nav_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! ./side-nav.component.scss.shim.ngstyle */
    "./src/app/shared/components/side-nav/side-nav.component.scss.shim.ngstyle.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../../../../node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory */
    "./node_modules/ngx-perfect-scrollbar/ngx-perfect-scrollbar.ngfactory.js");
    /* harmony import */


    var ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ngx-perfect-scrollbar */
    "./node_modules/ngx-perfect-scrollbar/fesm2015/ngx-perfect-scrollbar.js");
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _side_nav_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! ./side-nav.component */
    "./src/app/shared/components/side-nav/side-nav.component.ts");
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles_SideNavComponent = [_side_nav_component_scss_shim_ngstyle__WEBPACK_IMPORTED_MODULE_0__["styles"]];

    var RenderType_SideNavComponent = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵcrt"]({
      encapsulation: 0,
      styles: styles_SideNavComponent,
      data: {}
    });

    function View_SideNavComponent_1(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 8, "div", [["class", "sidenav"], ["id", "mySidenav"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](1, 0, null, null, 4, "div", [["class", "d-flex justify-content-between align-items-center header"]], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](2, 0, null, null, 1, "span", [], null, null, null, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](3, null, ["", ""])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](4, 0, null, null, 1, "a", [["class", "closebtn"], ["href", "javascript:void(0)"]], null, [[null, "click"]], function (_v, en, $event) {
        var ad = true;
        var _co = _v.component;

        if ("click" === en) {
          var pd_0 = _co.close.emit(false) !== false;
          ad = pd_0 && ad;
        }

        return ad;
      }, null, null)), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵted"](-1, null, ["\xD7"])), (_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](6, 0, null, null, 2, "perfect-scrollbar", [["class", "content"]], [[2, "ps-show-limits", null], [2, "ps-show-active", null]], null, null, _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_2__["View_PerfectScrollbarComponent_0"], _node_modules_ngx_perfect_scrollbar_ngx_perfect_scrollbar_ngfactory__WEBPACK_IMPORTED_MODULE_2__["RenderType_PerfectScrollbarComponent"])), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](7, 507904, null, 0, ngx_perfect_scrollbar__WEBPACK_IMPORTED_MODULE_3__["PerfectScrollbarComponent"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["NgZone"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["ChangeDetectorRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["PLATFORM_ID"]], {
        config: [0, "config"]
      }, null), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵncd"](0, 0)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_3 = _co.scrollBarConfig;

        _ck(_v, 7, 0, currVal_3);
      }, function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.title;

        _ck(_v, 3, 0, currVal_0);

        var currVal_1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).autoPropagation;

        var currVal_2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵnov"](_v, 7).scrollIndicators;

        _ck(_v, 6, 0, currVal_1, currVal_2);
      });
    }

    function View_SideNavComponent_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵand"](16777216, null, null, 1, null, View_SideNavComponent_1)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 16384, null, 0, _angular_common__WEBPACK_IMPORTED_MODULE_4__["NgIf"], [_angular_core__WEBPACK_IMPORTED_MODULE_1__["ViewContainerRef"], _angular_core__WEBPACK_IMPORTED_MODULE_1__["TemplateRef"]], {
        ngIf: [0, "ngIf"]
      }, null)], function (_ck, _v) {
        var _co = _v.component;
        var currVal_0 = _co.isOpen;

        _ck(_v, 1, 0, currVal_0);
      }, null);
    }

    function View_SideNavComponent_Host_0(_l) {
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵvid"](0, [(_l()(), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵeld"](0, 0, null, null, 1, "app-side-nav", [], null, null, null, View_SideNavComponent_0, RenderType_SideNavComponent)), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵdid"](1, 114688, null, 0, _side_nav_component__WEBPACK_IMPORTED_MODULE_5__["SideNavComponent"], [], null, null)], function (_ck, _v) {
        _ck(_v, 1, 0);
      }, null);
    }

    var SideNavComponentNgFactory = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵccf"]("app-side-nav", _side_nav_component__WEBPACK_IMPORTED_MODULE_5__["SideNavComponent"], View_SideNavComponent_Host_0, {
      isOpen: "isOpen",
      title: "title"
    }, {
      close: "close"
    }, ["*"]);
    /***/

  },

  /***/
  "./src/app/shared/components/side-nav/side-nav.component.scss.shim.ngstyle.js":
  /*!************************************************************************************!*\
    !*** ./src/app/shared/components/side-nav/side-nav.component.scss.shim.ngstyle.js ***!
    \************************************************************************************/

  /*! exports provided: styles */

  /***/
  function srcAppSharedComponentsSideNavSideNavComponentScssShimNgstyleJs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "styles", function () {
      return styles;
    });
    /**
     * @fileoverview This file was generated by the Angular template compiler. Do not edit.
     *
     * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes,extraRequire}
     * tslint:disable
     */


    var styles = [".sidenav[_ngcontent-%COMP%] {\n  height: auto;\n  max-height: 90%;\n  width: 280px;\n  overflow: hidden;\n  z-index: 1;\n  background-color: white;\n  overflow-x: hidden;\n  position: absolute;\n  top: 70px;\n  right: 15px;\n}\n.sidenav[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%] {\n  background: rgba(0, 0, 0, 0.03);\n  padding: 6px 12px;\n}\n.sidenav[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  padding: 8px 12px;\n  overflow: hidden;\n  max-height: 60vh;\n}\n.sidenav[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n  color: #000;\n  font-size: 1rem;\n  font-weight: 500;\n}\n.sidenav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n  font-size: 25px;\n  color: #797979;\n  display: block;\n  font-size: 18px;\n}\n.sidenav[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover {\n  color: #000;\n}\n.sidenav[_ngcontent-%COMP%]   .closebtn[_ngcontent-%COMP%] {\n  font-size: 34px;\n  line-height: 0.6;\n  height: 25px;\n}\n[_nghost-%COMP%]     perfect-scrollbar > .ps {\n  max-height: inherit;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvc2lkZS1uYXYvQzpcXEplbmtpbnNcXHdvcmtzcGFjZVxcX2NoaW5oLXZpZW4tdGhvbmdfd2ViLWdpc19tYXN0ZXIvc3JjXFxhcHBcXHNoYXJlZFxcY29tcG9uZW50c1xcc2lkZS1uYXZcXHNpZGUtbmF2LmNvbXBvbmVudC5zY3NzIiwic3JjL2FwcC9zaGFyZWQvY29tcG9uZW50cy9zaWRlLW5hdi9zaWRlLW5hdi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLFlBQUE7RUFDQSxlQUFBO0VBQ0EsWUFBQTtFQUNBLGdCQUFBO0VBRUEsVUFBQTtFQUNBLHVCQUFBO0VBQ0Esa0JBQUE7RUFFQSxrQkFBQTtFQUNBLFNBQUE7RUFDQSxXQUFBO0FDREo7QURFSTtFQUNFLCtCQUFBO0VBQ0EsaUJBQUE7QUNBTjtBREdJO0VBQ0UsaUJBQUE7RUFDQSxnQkFBQTtFQUNBLGdCQUFBO0FDRE47QURJSTtFQUNFLFdBQUE7RUFDQSxlQUFBO0VBQ0EsZ0JBQUE7QUNGTjtBRE1FO0VBRUUscUJBQUE7RUFDQSxlQUFBO0VBQ0EsY0FBQTtFQUNBLGNBQUE7RUFDQSxlQUFBO0FDSko7QURRRTtFQUNFLFdBQUE7QUNMSjtBRFFFO0VBQ0UsZUFBQTtFQUNBLGdCQUFBO0VBQ0EsWUFBQTtBQ0xKO0FEY0k7RUFDRSxtQkFBQTtBQ1hOIiwiZmlsZSI6InNyYy9hcHAvc2hhcmVkL2NvbXBvbmVudHMvc2lkZS1uYXYvc2lkZS1uYXYuY29tcG9uZW50LnNjc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc2lkZW5hdiB7XHJcbiAgICBoZWlnaHQ6IGF1dG87XHJcbiAgICBtYXgtaGVpZ2h0OiA5MCU7XHJcbiAgICB3aWR0aDogMjgwcHg7XHJcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgLy8gcG9zaXRpb246IGZpeGVkO1xyXG4gICAgei1pbmRleDogMTtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMjU1LCAyNTUsIDI1NSwgMSk7XHJcbiAgICBvdmVyZmxvdy14OiBoaWRkZW47XHJcbiAgICAvLyB0cmFuc2l0aW9uOiAwLjVzO1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgdG9wOiA3MHB4O1xyXG4gICAgcmlnaHQ6IDE1cHg7XHJcbiAgICAuaGVhZGVyIHtcclxuICAgICAgYmFja2dyb3VuZDogcmdiYSgwLCAwLCAwLCAwLjAzKTtcclxuICAgICAgcGFkZGluZzogNnB4IDEycHg7XHJcbiAgICB9XHJcblxyXG4gICAgLmNvbnRlbnQge1xyXG4gICAgICBwYWRkaW5nOiA4cHggMTJweDtcclxuICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcclxuICAgICAgbWF4LWhlaWdodDogNjB2aDtcclxuICAgIH1cclxuXHJcbiAgICBzcGFuIHtcclxuICAgICAgY29sb3I6ICMwMDA7XHJcbiAgICAgIGZvbnQtc2l6ZTogMXJlbTtcclxuICAgICAgZm9udC13ZWlnaHQ6IDUwMDtcclxuICAgIH1cclxuICB9XHJcbiAgXHJcbiAgLnNpZGVuYXYgYSB7XHJcbiAgICAvLyBwYWRkaW5nOiA4cHggOHB4IDhweCAzMnB4O1xyXG4gICAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xyXG4gICAgZm9udC1zaXplOiAyNXB4O1xyXG4gICAgY29sb3I6ICM3OTc5Nzk7XHJcbiAgICBkaXNwbGF5OiBibG9jaztcclxuICAgIGZvbnQtc2l6ZTogMThweDtcclxuICAgIC8vIHRyYW5zaXRpb246IDAuM3M7IFxyXG4gIH1cclxuICBcclxuICAuc2lkZW5hdiBhOmhvdmVyIHtcclxuICAgIGNvbG9yOiAjMDAwO1xyXG4gIH1cclxuICBcclxuICAuc2lkZW5hdiAuY2xvc2VidG4ge1xyXG4gICAgZm9udC1zaXplOiAzNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDAuNjtcclxuICAgIGhlaWdodDogMjVweDtcclxuICB9XHJcbiAgXHJcbiAgLy8gQG1lZGlhIHNjcmVlbiBhbmQgKG1heC1oZWlnaHQ6IDQ1MHB4KSB7XHJcbiAgLy8gICAuc2lkZW5hdiB7cGFkZGluZy10b3A6IDE1cHg7fVxyXG4gIC8vICAgLnNpZGVuYXYgYSB7Zm9udC1zaXplOiAxOHB4O31cclxuICAvLyB9XHJcblxyXG4gIDpob3N0IDo6bmctZGVlcCB7XHJcbiAgICBwZXJmZWN0LXNjcm9sbGJhciA+IC5wcyB7XHJcbiAgICAgIG1heC1oZWlnaHQ6IGluaGVyaXQ7XHJcbiAgICB9XHJcbiAgfSIsIi5zaWRlbmF2IHtcbiAgaGVpZ2h0OiBhdXRvO1xuICBtYXgtaGVpZ2h0OiA5MCU7XG4gIHdpZHRoOiAyODBweDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgei1pbmRleDogMTtcbiAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XG4gIG92ZXJmbG93LXg6IGhpZGRlbjtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDcwcHg7XG4gIHJpZ2h0OiAxNXB4O1xufVxuLnNpZGVuYXYgLmhlYWRlciB7XG4gIGJhY2tncm91bmQ6IHJnYmEoMCwgMCwgMCwgMC4wMyk7XG4gIHBhZGRpbmc6IDZweCAxMnB4O1xufVxuLnNpZGVuYXYgLmNvbnRlbnQge1xuICBwYWRkaW5nOiA4cHggMTJweDtcbiAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgbWF4LWhlaWdodDogNjB2aDtcbn1cbi5zaWRlbmF2IHNwYW4ge1xuICBjb2xvcjogIzAwMDtcbiAgZm9udC1zaXplOiAxcmVtO1xuICBmb250LXdlaWdodDogNTAwO1xufVxuXG4uc2lkZW5hdiBhIHtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lO1xuICBmb250LXNpemU6IDI1cHg7XG4gIGNvbG9yOiAjNzk3OTc5O1xuICBkaXNwbGF5OiBibG9jaztcbiAgZm9udC1zaXplOiAxOHB4O1xufVxuXG4uc2lkZW5hdiBhOmhvdmVyIHtcbiAgY29sb3I6ICMwMDA7XG59XG5cbi5zaWRlbmF2IC5jbG9zZWJ0biB7XG4gIGZvbnQtc2l6ZTogMzRweDtcbiAgbGluZS1oZWlnaHQ6IDAuNjtcbiAgaGVpZ2h0OiAyNXB4O1xufVxuXG46aG9zdCA6Om5nLWRlZXAgcGVyZmVjdC1zY3JvbGxiYXIgPiAucHMge1xuICBtYXgtaGVpZ2h0OiBpbmhlcml0O1xufSJdfQ== */"];
    /***/
  },

  /***/
  "./src/app/shared/components/side-nav/side-nav.component.ts":
  /*!******************************************************************!*\
    !*** ./src/app/shared/components/side-nav/side-nav.component.ts ***!
    \******************************************************************/

  /*! exports provided: SideNavComponent */

  /***/
  function srcAppSharedComponentsSideNavSideNavComponentTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SideNavComponent", function () {
      return SideNavComponent;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");

    var SideNavComponent = /*#__PURE__*/function () {
      function SideNavComponent() {
        _classCallCheck(this, SideNavComponent);

        this.isOpen = true;
        this.title = '';
        this.close = new _angular_core__WEBPACK_IMPORTED_MODULE_0__["EventEmitter"]();
        this.scrollBarConfig = {
          suppressScrollX: true
        };
      }

      _createClass(SideNavComponent, [{
        key: "ngOnInit",
        value: function ngOnInit() {}
      }]);

      return SideNavComponent;
    }();
    /***/

  },

  /***/
  "./src/app/shared/constants/data.constant.ts":
  /*!***************************************************!*\
    !*** ./src/app/shared/constants/data.constant.ts ***!
    \***************************************************/

  /*! exports provided: DDoanhNghieps, DTinhTrang, DLoaiDichVu */

  /***/
  function srcAppSharedConstantsDataConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DDoanhNghieps", function () {
      return DDoanhNghieps;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DTinhTrang", function () {
      return DTinhTrang;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DLoaiDichVu", function () {
      return DLoaiDichVu;
    });

    var DDoanhNghieps = [{
      code: 'VNPT',
      name: 'VNPT'
    }, {
      code: 'MBF',
      name: 'Mobilefone'
    }, {
      code: 'VTL',
      name: 'Viettel'
    }, {
      code: 'GTL',
      name: 'GTel'
    }, {
      code: 'VNM',
      name: 'Vietnamobile'
    }];
    var DTinhTrang = [{
      name: 'Hoàn công',
      code: 3
    }, {
      name: 'Đã cấp phép',
      code: 2
    }, {
      name: 'Xin cấp phép',
      code: 1
    }, {
      name: 'Không chấp nhận',
      code: 4
    }];
    var DLoaiDichVu = [{
      code: 1,
      name: 'Điểm phục vụ bưu chính'
    }, {
      code: 2,
      name: 'Điểm cung cấp dịch vụ viễn thông'
    }, {
      code: 3,
      name: 'Điểm cung cấp internet'
    }, {
      code: 4,
      name: 'Điểm cung cấp trò chơi điện tử'
    }];
    /***/
  },

  /***/
  "./src/app/shared/constants/diem-dich-vu.constant.ts":
  /*!***********************************************************!*\
    !*** ./src/app/shared/constants/diem-dich-vu.constant.ts ***!
    \***********************************************************/

  /*! exports provided: DiemDichVus */

  /***/
  function srcAppSharedConstantsDiemDichVuConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DiemDichVus", function () {
      return DiemDichVus;
    });

    var DiemDichVus = [{
      prop: 'SoHieu',
      name: 'Số hiệu',
      type: 'text',
      frozenLeft: true
    }, {
      prop: 'TenDiem',
      name: 'Tên điểm',
      type: 'text',
      frozenLeft: true
    }, {
      prop: 'TenDoanhNghiep',
      name: 'Doanh nghiệp',
      type: 'select'
    }, {
      prop: 'ToaDoX',
      name: 'Tọa độ X',
      type: 'text'
    }, {
      prop: 'ToaDoY',
      name: 'Tọa độ Y',
      type: 'text'
    }, {
      prop: 'MaThonLangDoi',
      name: 'Mã thôn làng đội',
      type: 'text'
    }, {
      prop: 'DichVuCungCap',
      name: 'Dịch vụ cung cấp',
      type: 'text'
    }, {
      prop: 'DichVuCungCapVT',
      name: 'Dịch vụ cung cấp viễn thông',
      type: 'text'
    }, {
      prop: 'DichVuGTGTKhac',
      name: 'Dịch vụ GTGT khác',
      type: 'text'
    }, {
      prop: 'SoDienThoai',
      name: 'Số điện thoại',
      type: 'text'
    }, {
      prop: 'HuyenTXTP',
      name: 'Huyện/TP',
      type: 'select',
      isQuanHuyenTP: true,
      options: []
    }, {
      prop: 'XaPhuongTT',
      name: 'Xã/phường',
      type: 'select',
      isPhuongXa: true,
      options: []
    }, {
      prop: 'Địa_chỉ',
      name: 'Địa chỉ',
      type: 'text'
    }];
    /***/
  },

  /***/
  "./src/app/shared/constants/tram-bts.constant.ts":
  /*!*******************************************************!*\
    !*** ./src/app/shared/constants/tram-bts.constant.ts ***!
    \*******************************************************/

  /*! exports provided: TramBtss */

  /***/
  function srcAppSharedConstantsTramBtsConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TramBtss", function () {
      return TramBtss;
    });

    var TramBtss = [{
      prop: 'TenDoanhNghiep',
      name: 'Doanh nghiệp',
      type: 'select',
      width: 150
    }, {
      prop: 'MaTram',
      name: 'Mã trạm',
      type: 'text',
      frozenLeft: true,
      width: 150
    }, {
      prop: 'TenTram',
      name: 'Tên trạm',
      type: 'text',
      frozenLeft: true,
      width: 150
    }, {
      prop: 'ToaDoX',
      name: 'Tọa độ X',
      type: 'text',
      width: 150
    }, {
      prop: 'ToaDoY',
      name: 'Tọa độ Y',
      type: 'text',
      width: 150
    }, {
      prop: 'DiaChi',
      name: 'Địa chỉ',
      type: 'text',
      width: 550
    }, {
      prop: 'ChuSoHuuDat',
      name: 'Chủ sỡ hữu đất',
      type: 'text',
      width: 250
    }, {
      prop: 'LoaiAngTen',
      name: 'Loại ăng ten',
      type: 'select',
      width: 150
    }, {
      prop: 'LoaiTram',
      name: 'Loại trạm',
      type: 'select',
      width: 150
    }, {
      prop: 'DoCaoTram',
      name: 'Độ cao trạm',
      type: 'text',
      width: 150
    }, {
      prop: 'DoCaoTang',
      name: 'Độ cao tầng',
      type: 'text',
      width: 150
    }, {
      prop: 'CongSuat',
      name: 'Công suất',
      type: 'text',
      width: 150
    }, {
      prop: 'GocNgan',
      name: 'Số lượng ăng ten phát',
      type: 'text',
      width: 150
    }, {
      prop: 'TGXayDung',
      name: 'TG xây dựng',
      type: 'text',
      width: 150
    }, {
      prop: 'TGPhatSong',
      name: 'TG phát sóng',
      type: 'text',
      width: 150
    }, {
      prop: 'GiayPhepXayDung',
      name: 'Giấy phép xây dựng',
      type: 'select',
      width: 150
    }, {
      prop: 'ChapThuanCuaSo',
      name: 'Chấp thuận của sở',
      type: 'select',
      width: 150
    }, {
      prop: 'SoCongVan',
      name: 'Số công văn',
      type: 'text',
      width: 150
    }, {
      prop: 'ThietBiLapDat',
      name: 'Thiết bị lắp đặt',
      type: 'text',
      width: 150
    }, {
      prop: 'GiayKiemDinhCongTrinh',
      name: 'GKĐ công trình',
      type: 'text',
      width: 150
    }, {
      prop: 'TinhTrangKiemDinh',
      name: 'Tình trạng KĐ',
      type: 'select',
      width: 150
    }, {
      prop: 'NgayCap',
      name: 'Ngày cấp',
      type: 'date',
      width: 150
    }, {
      prop: 'NgayHetHan',
      name: 'Ngày hết hạn',
      type: 'date',
      width: 150
    }, {
      prop: 'SoCongVanHSKD',
      name: 'Số công văn HSKĐ',
      type: 'text',
      width: 150
    }, {
      prop: 'NgayNopHSKD',
      name: 'Ngày nộp hồ sơ',
      type: 'date',
      width: 150
    }, {
      prop: 'NguoiCungCapThongTin',
      name: 'Ngày cung cấp thông tin',
      type: 'text',
      width: 150
    }, {
      prop: 'GhiChu',
      name: 'Ghi chú',
      type: 'text',
      width: 250
    }, {
      prop: 'TinhTrang',
      name: 'Tình trạng',
      type: 'select',
      width: 150
    }, {
      prop: 'VungPhu',
      name: 'Vùng phủ',
      type: 'text',
      width: 150
    }, {
      prop: 'HuyenTXTP',
      name: 'Huyện/TP',
      type: 'select',
      width: 150,
      isQuanHuyenTP: true,
      options: []
    }, {
      prop: 'XaPhuongTT',
      name: 'Xã/phường',
      type: 'select',
      width: 150,
      isPhuongXa: true,
      options: []
    }, {
      prop: 'NgayGioCapPhepBTS',
      name: 'Ngày cấp phép',
      type: 'date',
      width: 150
    }, {
      prop: 'ThietBiLapDat2G',
      name: '2G',
      type: 'text',
      width: 150
    }, {
      prop: 'ThietBiLapDat3G',
      name: '3G',
      type: 'text',
      width: 150
    }, {
      prop: 'ThietBiLapDat4G',
      name: '4G',
      type: 'text',
      width: 150
    }];
    /***/
  },

  /***/
  "./src/app/shared/constants/tuyen-cap-ngam.constant.ts":
  /*!*************************************************************!*\
    !*** ./src/app/shared/constants/tuyen-cap-ngam.constant.ts ***!
    \*************************************************************/

  /*! exports provided: TuyenCapNgams */

  /***/
  function srcAppSharedConstantsTuyenCapNgamConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNgams", function () {
      return TuyenCapNgams;
    });

    var TuyenCapNgams = [{
      prop: 'MaTuyen',
      name: 'Mã tuyến cáp',
      type: 'text',
      frozenLeft: true
    }, {
      prop: 'TenTuyen',
      name: 'Tên tuyến',
      type: 'text',
      frozenLeft: true
    }, {
      prop: 'TenDoanhNghiep',
      name: 'Tên doanh nghiệp',
      type: 'select'
    }, {
      prop: 'DiemDau',
      name: 'Điểm đầu',
      type: 'text'
    }, {
      prop: 'DiemCuoi',
      name: 'Điểm cuối',
      type: 'text'
    }, {
      prop: 'ChieuDaiThucTe',
      name: 'Chiều dài thực tế',
      type: 'text'
    }, {
      prop: 'ViTriTuyenCap',
      name: 'Vị trí tuyến cáp',
      type: 'text'
    }, {
      prop: 'KhoangCachSoVoiLe',
      name: 'Khoảng cách so với lề',
      type: 'text'
    }, {
      prop: 'DoSau',
      name: 'Độ sâu',
      type: 'text'
    }, {
      prop: 'SoLuongOngCap',
      name: 'Số lượng ống cáp',
      type: 'text'
    }, {
      prop: 'SoLuongOngDangDung',
      name: 'Số lượng ống dẫn',
      type: 'text'
    }, {
      prop: 'LoaiCap',
      name: 'Loại cáp',
      type: 'select'
    }, {
      prop: 'DungLuongCap',
      name: 'Dung lượng cáp',
      type: 'text'
    }, {
      prop: 'LoaiCongTrinh',
      name: 'Loại công trình',
      type: 'select'
    }, {
      prop: 'KhaNangDungChung',
      name: 'Khả năng dùng chung',
      type: 'select'
    }];
    /***/
  },

  /***/
  "./src/app/shared/constants/tuyen-cap-noi.constant.ts":
  /*!************************************************************!*\
    !*** ./src/app/shared/constants/tuyen-cap-noi.constant.ts ***!
    \************************************************************/

  /*! exports provided: TuyenCapNois */

  /***/
  function srcAppSharedConstantsTuyenCapNoiConstantTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "TuyenCapNois", function () {
      return TuyenCapNois;
    });

    var TuyenCapNois = [{
      prop: 'MaTuyen',
      name: 'Mã tuyến cáp',
      type: 'text',
      frozenLeft: true
    }, {
      prop: 'TenTuyen',
      name: 'Tên tuyến',
      type: 'text',
      frozenLeft: true
    }, {
      prop: 'DiemDau',
      name: 'Điểm đầu',
      type: 'text'
    }, {
      prop: 'DiemCuoi',
      name: 'Điểm cuối',
      type: 'text'
    }, {
      prop: 'ChieuDaiThucTe',
      name: 'Chiều dài thực tế',
      type: 'text'
    }, {
      prop: 'ViTriTuyenCap',
      name: 'Vị trí tuyến cáp',
      type: 'text'
    }, {
      prop: 'KhoangCachSoVoiLe',
      name: 'Khoảng cách so với lề',
      type: 'text'
    }, {
      prop: 'DoSau',
      name: 'Độ sâu',
      type: 'text'
    }, {
      prop: 'SoLuongOngCap',
      name: 'Số lượng ống cáp',
      type: 'text'
    }, {
      prop: 'SoLuongOngDangDung',
      name: 'Số lượng ống dẫn',
      type: 'text'
    }, {
      prop: 'LoaiCap',
      name: 'Loại cáp',
      type: 'text'
    }, {
      prop: 'DungLuongCap',
      name: 'Dung lượng cáp',
      type: 'text'
    }, {
      prop: 'LoaiCongTrinh',
      name: 'Loại công trình',
      type: 'text'
    }, {
      prop: 'KhaNangDungChung',
      name: 'Khả năng dùng chung',
      type: 'text'
    }, {
      prop: 'TenDoanhNghiep',
      name: 'Tên doanh nghiệp',
      type: 'select'
    }];
    /***/
  },

  /***/
  "./src/app/shared/models/data.model.ts":
  /*!*********************************************!*\
    !*** ./src/app/shared/models/data.model.ts ***!
    \*********************************************/

  /*! exports provided: EDoanhNghieps, ETinhTrang, ELoaiDichVu */

  /***/
  function srcAppSharedModelsDataModelTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "EDoanhNghieps", function () {
      return EDoanhNghieps;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ETinhTrang", function () {
      return ETinhTrang;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ELoaiDichVu", function () {
      return ELoaiDichVu;
    });

    var EDoanhNghieps;

    (function (EDoanhNghieps) {
      EDoanhNghieps["VNPT"] = "VNPT";
      EDoanhNghieps["Mobifone"] = "MBF";
      EDoanhNghieps["Viettel"] = "VTL";
      EDoanhNghieps["GTel"] = "GTL";
      EDoanhNghieps["Vietnamobile"] = "VNM";
    })(EDoanhNghieps || (EDoanhNghieps = {}));

    var ETinhTrang;

    (function (ETinhTrang) {
      ETinhTrang[ETinhTrang["XinCapPhep"] = 1] = "XinCapPhep";
      ETinhTrang[ETinhTrang["DaCapPhep"] = 2] = "DaCapPhep";
      ETinhTrang[ETinhTrang["HoanCong"] = 3] = "HoanCong";
      ETinhTrang[ETinhTrang["KhongChapNhan"] = 4] = "KhongChapNhan";
    })(ETinhTrang || (ETinhTrang = {}));

    var ELoaiDichVu;

    (function (ELoaiDichVu) {
      ELoaiDichVu[ELoaiDichVu["PhucVuBuuChinh"] = 1] = "PhucVuBuuChinh";
      ELoaiDichVu[ELoaiDichVu["DichVuVienThong"] = 2] = "DichVuVienThong";
      ELoaiDichVu[ELoaiDichVu["DaiLyInternet"] = 3] = "DaiLyInternet";
    })(ELoaiDichVu || (ELoaiDichVu = {}));
    /***/

  },

  /***/
  "./src/app/shared/models/menu.model.ts":
  /*!*********************************************!*\
    !*** ./src/app/shared/models/menu.model.ts ***!
    \*********************************************/

  /*! exports provided: FlagMenu */

  /***/
  function srcAppSharedModelsMenuModelTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "FlagMenu", function () {
      return FlagMenu;
    });

    var FlagMenu;

    (function (FlagMenu) {
      FlagMenu["TuyenCapNoi"] = "TCN";
      FlagMenu["DiemDichVu"] = "DDV";
      FlagMenu["TuyenCapNgam"] = "TCN";
      FlagMenu["Map"] = "Map";
      FlagMenu["TramBTS"] = "BTS";
    })(FlagMenu || (FlagMenu = {}));
    /***/

  },

  /***/
  "./src/app/shared/services/datepicker.service.ts":
  /*!*******************************************************!*\
    !*** ./src/app/shared/services/datepicker.service.ts ***!
    \*******************************************************/

  /*! exports provided: I18n, DatepickerI18n, DateParserFormatter, CustomAdapter */

  /***/
  function srcAppSharedServicesDatepickerServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "I18n", function () {
      return I18n;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DatepickerI18n", function () {
      return DatepickerI18n;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DateParserFormatter", function () {
      return DateParserFormatter;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "CustomAdapter", function () {
      return CustomAdapter;
    });
    /* harmony import */


    var _angular_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/common */
    "./node_modules/@angular/common/fesm2015/common.js");
    /* harmony import */


    var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @ng-bootstrap/ng-bootstrap */
    "./node_modules/@ng-bootstrap/ng-bootstrap/fesm2015/ng-bootstrap.js");

    var I18N_VALUES = {
      'vi': {
        weekdays: ['T2', 'T3', 'T4', 'T5', 'T6', 'T7', 'CN'],
        months: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
      } // other languages you would support

    }; // Define a service holding the language. You probably already have one if your app is i18ned. Or you could also
    // use the Angular LOCALE_ID value

    var I18n = /*#__PURE__*/_createClass(function I18n() {
      _classCallCheck(this, I18n);

      this.language = 'vi';
    }); // Define custom service providing the months and weekdays translations


    var DatepickerI18n = /*#__PURE__*/function (_ng_bootstrap_ng_boot) {
      _inherits(DatepickerI18n, _ng_bootstrap_ng_boot);

      var _super47 = _createSuper(DatepickerI18n);

      function DatepickerI18n(_i18n) {
        var _this247;

        _classCallCheck(this, DatepickerI18n);

        _this247 = _super47.call(this);
        _this247._i18n = _i18n;
        return _this247;
      }

      _createClass(DatepickerI18n, [{
        key: "getWeekdayShortName",
        value: function getWeekdayShortName(weekday) {
          return I18N_VALUES[this._i18n.language].weekdays[weekday - 1];
        }
      }, {
        key: "getMonthShortName",
        value: function getMonthShortName(month) {
          return I18N_VALUES[this._i18n.language].months[month - 1];
        }
      }, {
        key: "getMonthFullName",
        value: function getMonthFullName(month) {
          return this.getMonthShortName(month);
        }
      }, {
        key: "getDayAriaLabel",
        value: function getDayAriaLabel(date) {
          return "".concat(date.day, "-").concat(date.month, "-").concat(date.year);
        }
      }]);

      return DatepickerI18n;
    }(_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbDatepickerI18n"]);
    /**
     * This Service handles how the date is rendered and parsed from keyboard i.e. in the bound input field.
     */


    var DateParserFormatter = /*#__PURE__*/function (_ng_bootstrap_ng_boot2) {
      _inherits(DateParserFormatter, _ng_bootstrap_ng_boot2);

      var _super48 = _createSuper(DateParserFormatter);

      function DateParserFormatter() {
        var _this248;

        _classCallCheck(this, DateParserFormatter);

        _this248 = _super48.apply(this, arguments);
        _this248.DELIMITERINPUT = '-';
        _this248.DELIMITEROUTPUT = '/';
        return _this248;
      }

      _createClass(DateParserFormatter, [{
        key: "parse",
        value: function parse(value) {
          var result = null;

          if (value) {
            var date = value.split(this.DELIMITERINPUT);
            result = {
              day: parseInt(date[0], 10),
              month: parseInt(date[1], 10),
              year: parseInt(date[2], 10)
            };
          }

          return result;
        }
      }, {
        key: "format",
        value: function format(date) {
          var result = null;

          if (date) {
            result = date.day.toString().padStart(2, '0') + this.DELIMITEROUTPUT + date.month.toString().padStart(2, '0') + this.DELIMITEROUTPUT + date.year;
          }

          return result;
        }
      }]);

      return DateParserFormatter;
    }(_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbDateParserFormatter"]);

    var CustomAdapter = /*#__PURE__*/function (_ng_bootstrap_ng_boot3) {
      _inherits(CustomAdapter, _ng_bootstrap_ng_boot3);

      var _super49 = _createSuper(CustomAdapter);

      function CustomAdapter() {
        var _this249;

        _classCallCheck(this, CustomAdapter);

        _this249 = _super49.apply(this, arguments);
        _this249.DELIMITER = '-';
        return _this249;
      }

      _createClass(CustomAdapter, [{
        key: "fromModel",
        value: function fromModel(value) {
          if (value) {
            var date = Object(_angular_common__WEBPACK_IMPORTED_MODULE_0__["formatDate"])(value, 'yyyy-MM-dd', 'en-US').toString().split(this.DELIMITER);
            return {
              day: parseInt(date[2], 10),
              month: parseInt(date[1], 10),
              year: parseInt(date[0], 10)
            };
          }

          return null;
        }
      }, {
        key: "toModel",
        value: function toModel(date) {
          return date ? new Date(date.year + this.DELIMITER + date.month + this.DELIMITER + date.day) : null;
        }
      }]);

      return CustomAdapter;
    }(_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_1__["NgbDateAdapter"]);
    /***/

  },

  /***/
  "./src/app/shared/services/don-vi.service.ts":
  /*!***************************************************!*\
    !*** ./src/app/shared/services/don-vi.service.ts ***!
    \***************************************************/

  /*! exports provided: DonViService */

  /***/
  function srcAppSharedServicesDonViServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "DonViService", function () {
      return DonViService;
    });
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _manager_shared_services_api_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! ../../manager/shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");

    var DonViService = /*#__PURE__*/function () {
      function DonViService(apiService) {
        _classCallCheck(this, DonViService);

        this.apiService = apiService;
      }

      _createClass(DonViService, [{
        key: "getListDonVi",
        value: function getListDonVi() {
          return this.apiService.get("odata/DonVis?$expand=SYS_VaiTroLoaiDonVi&$filter=SYS_VaiTroLoaiDonVi/Ma eq 'DN'&$select=ID,MaDonVi,TenDonVi", true);
        }
      }]);

      return DonViService;
    }();

    DonViService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
      factory: function DonViService_Factory() {
        return new DonViService(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_manager_shared_services_api_service__WEBPACK_IMPORTED_MODULE_1__["ApiService"]));
      },
      token: DonViService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/shared/services/hanh-chinh.service.ts":
  /*!*******************************************************!*\
    !*** ./src/app/shared/services/hanh-chinh.service.ts ***!
    \*******************************************************/

  /*! exports provided: HanhChinhService */

  /***/
  function srcAppSharedServicesHanhChinhServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "HanhChinhService", function () {
      return HanhChinhService;
    });
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! tslib */
    "./node_modules/tslib/tslib.js");
    /* harmony import */


    var tslib__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(tslib__WEBPACK_IMPORTED_MODULE_0__);
    /* harmony import */


    var src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! src/app/map/shared/constants/map.constant */
    "./src/app/map/shared/constants/map.constant.ts");
    /* harmony import */


    var src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! src/app/map/shared/constants/layer.constant */
    "./src/app/map/shared/constants/layer.constant.ts");
    /* harmony import */


    var esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! esri/tasks/QueryTask */
    "./node_modules/arcgis-js-api/tasks/QueryTask.js");
    /* harmony import */


    var esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_3__);
    /* harmony import */


    var rxjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
    /*! rxjs */
    "./node_modules/rxjs/_esm2015/index.js");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _map_shared_services_map_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
    /*! ../../map/shared/services/map.service */
    "./src/app/map/shared/services/map.service.ts");

    var MA_HUYEN = "MaHuyenTp";
    var TEN_HUYEN = "TenHuyenTp";
    var MA_XA = "MaXaPhuongTT";
    var TEN_XA = "TenXaPhuongTT";

    var HanhChinhService = /*#__PURE__*/function () {
      function HanhChinhService(service) {
        var _this250 = this;

        _classCallCheck(this, HanhChinhService);

        this.service = service;
        this.districtLoaded = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"]([]);
        this.districtLoaded$ = this.districtLoaded.asObservable();
        this.wardLoaded = new rxjs__WEBPACK_IMPORTED_MODULE_4__["BehaviorSubject"]([]);
        this.wardLoaded$ = this.wardLoaded.asObservable();
        service.loaded$.subscribe(function (loaded) {
          if (loaded) {
            _this250.map = service.view.map;
          }
        });
        this.getAllDistrict().then(function (huyenTXTP) {
          return _this250.districtLoaded.next(huyenTXTP);
        });
        this.getAllWard().then(function (xaPhuongTT) {
          return _this250.wardLoaded.next(xaPhuongTT);
        });
      }

      _createClass(HanhChinhService, [{
        key: "districtLayer",
        get: function get() {
          return this.map.findLayerById(src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].BASEMAP).findSublayerById(src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].INDEX_HANHCHINHHUYEN);
        }
      }, {
        key: "wardLayer",
        get: function get() {
          return this.map.findLayerById(src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].BASEMAP).findSublayerById(src_app_map_shared_constants_map_constant__WEBPACK_IMPORTED_MODULE_1__["CONSTNAME"].INDEX_HANHCHINHXA);
        }
      }, {
        key: "getAll",
        value: function getAll(params) {
          return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(this, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee36() {
            var query, result;
            return _regeneratorRuntime().wrap(function _callee36$(_context40) {
              while (1) switch (_context40.prev = _context40.next) {
                case 0:
                  query = params && params.query ? params.query : {
                    where: "1=1",
                    outFields: ["*"],
                    orderByFields: ["OBJECTID DESC"]
                  };
                  _context40.next = 3;
                  return new esri_tasks_QueryTask__WEBPACK_IMPORTED_MODULE_3___default.a({
                    url: params.url
                  }).execute(query);

                case 3:
                  result = _context40.sent;
                  return _context40.abrupt("return", result);

                case 5:
                case "end":
                  return _context40.stop();
              }
            }, _callee36);
          }));
        }
      }, {
        key: "getAllDistrict",
        value: function getAllDistrict() {
          return this.getAll({
            url: src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_2__["HanhChinhHuyenMapServer"],
            query: {
              where: "1=1",
              outFields: [MA_HUYEN, TEN_HUYEN]
            }
          }).then(function (_ref109) {
            var features = _ref109.features;
            return features.map(function (m) {
              var attribute = m.attributes;
              return {
                code: +attribute[MA_HUYEN],
                name: attribute[TEN_HUYEN]
              };
            });
          });
        }
      }, {
        key: "getLocationInfo",
        value: function getLocationInfo(geometry) {
          return this.getAll({
            url: src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_2__["HanhChinhXaMapServer"],
            query: {
              geometry: geometry,
              outFields: ['*']
            }
          }).then(function (_ref110) {
            var features = _ref110.features;
            var ft = features[0];

            if (ft) {
              return {
                HuyenTXTP: +ft.attributes[MA_HUYEN],
                XaPhuongTT: +ft.attributes[MA_XA]
              };
            }

            return false;
          });
        }
      }, {
        key: "getAllWard",
        value: function getAllWard(idQuanHuyen) {
          var _query = {
            where: "1=1",
            outFields: [MA_XA, TEN_XA]
          };

          if (idQuanHuyen) {
            _query = {
              where: "MaHuyenTp=".concat(idQuanHuyen),
              outFields: [MA_XA, TEN_XA]
            };
          }

          return this.getAll({
            url: src_app_map_shared_constants_layer_constant__WEBPACK_IMPORTED_MODULE_2__["HanhChinhXaMapServer"],
            query: _query
          }).then(function (_ref111) {
            var features = _ref111.features;
            return features.map(function (m) {
              var attribute = m.attributes;
              return {
                code: +attribute[MA_XA],
                name: attribute[TEN_XA]
              };
            });
          });
        }
      }, {
        key: "selectAllDistrict",
        value: function selectAllDistrict(options) {
          var _this251 = this;

          return new Promise(function (resolve, reject) {
            var query = _this251.districtLayer.createQuery();

            query.returnGeometry = options.returnGeometry || false;
            query.where = "1=1";
            query.outFields = [MA_HUYEN, TEN_HUYEN];

            _this251.districtLayer.queryFeatures(query).then(function (r) {
              resolve(r.features);
            })["catch"](function (e) {
              return reject(e);
            });
          });
        }
      }, {
        key: "selectAllWard",
        value: function selectAllWard(options) {
          var _this252 = this;

          return new Promise(function (resolve, reject) {
            var query = _this252.wardLayer.createQuery();

            query.returnGeometry = options.returnGeometry || false;
            query.where = "1=1";
            query.outFields = [MA_XA, TEN_XA];

            _this252.wardLayer.queryFeatures(query).then(function (r) {
              resolve(r.features);
            })["catch"](function (e) {
              return reject(e);
            });
          });
        }
      }, {
        key: "queryDistrict",
        value: function queryDistrict(query) {
          return this.districtLayer.queryFeatures(query);
        }
      }, {
        key: "queryWard",
        value: function queryWard(query) {
          return this.wardLayer.queryFeatures(query);
        }
      }, {
        key: "districtIdToName",
        value: function districtIdToName(id) {
          var _this253 = this;

          return new Promise(function (resolve, reject) {
            _this253.districtLayer.queryFeatures({
              where: "".concat(MA_HUYEN, " = '").concat(id, "'"),
              outFields: [TEN_HUYEN]
            }).then(function (r) {
              if (r.features.length > 0) {
                resolve(r.features[0].attributes[TEN_HUYEN]);
              } else resolve(null);
            });
          });
        }
      }, {
        key: "wardIdToName",
        value: function wardIdToName(id) {
          var _this254 = this;

          return new Promise(function (resolve, reject) {
            _this254.wardLayer.queryFeatures({
              where: "".concat(MA_XA, " = '").concat(id, "'"),
              outFields: [TEN_XA]
            }).then(function (r) {
              if (r.features.length > 0) {
                resolve(r.features[0].attributes[TEN_XA]);
              } else resolve(null);
            });
          });
        }
      }]);

      return HanhChinhService;
    }();

    HanhChinhService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵdefineInjectable"]({
      factory: function HanhChinhService_Factory() {
        return new HanhChinhService(_angular_core__WEBPACK_IMPORTED_MODULE_5__["ɵɵinject"](_map_shared_services_map_service__WEBPACK_IMPORTED_MODULE_6__["MapService"]));
      },
      token: HanhChinhService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/shared/services/notify.service.ts":
  /*!***************************************************!*\
    !*** ./src/app/shared/services/notify.service.ts ***!
    \***************************************************/

  /*! exports provided: NotifyService */

  /***/
  function srcAppSharedServicesNotifyServiceTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "NotifyService", function () {
      return NotifyService;
    });
    /* harmony import */


    var src_app_manager_shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
    /*! src/app/manager/shared/models/ho-so.model */
    "./src/app/manager/shared/models/ho-so.model.ts");
    /* harmony import */


    var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
    /*! @angular/core */
    "./node_modules/@angular/core/fesm2015/core.js");
    /* harmony import */


    var _manager_shared_services_api_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
    /*! ../../manager/shared/services/api.service */
    "./src/app/manager/shared/services/api.service.ts");
    /* harmony import */


    var _login_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
    /*! ./login.service */
    "./src/app/shared/services/login.service.ts");

    var NotifyService = /*#__PURE__*/function () {
      function NotifyService(apiService, loginService) {
        _classCallCheck(this, NotifyService);

        this.apiService = apiService;
        this.loginService = loginService;
        this.hoSoChoPheDuyet = 0;
        this.countHsChoPheDuyet();
      }

      _createClass(NotifyService, [{
        key: "countHsChoPheDuyet",
        value: function countHsChoPheDuyet() {
          var _this255 = this;

          var url = "odata/HoSoes?$expand=SYS_DonVi&$filter=TrangThai eq ".concat(src_app_manager_shared_models_ho_so_model__WEBPACK_IMPORTED_MODULE_0__["TinhTrangHoSo"].HoSoChoDuyet, "&");

          if (this.loginService.isDoanhNghiep) {
            url = url + "SYS_DonVi/".concat(this.loginService.maDonVi, " eq 'VTL'&");
          }

          this.apiService.getCount(url).then(function (count) {
            return _this255.hoSoChoPheDuyet = count;
          });
        }
      }]);

      return NotifyService;
    }();

    NotifyService.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjectable"]({
      factory: function NotifyService_Factory() {
        return new NotifyService(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_manager_shared_services_api_service__WEBPACK_IMPORTED_MODULE_2__["ApiService"]), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵinject"](_login_service__WEBPACK_IMPORTED_MODULE_3__["LoginService"]));
      },
      token: NotifyService,
      providedIn: "root"
    });
    /***/
  },

  /***/
  "./src/app/shared/shared.module.ts":
  /*!*****************************************!*\
    !*** ./src/app/shared/shared.module.ts ***!
    \*****************************************/

  /*! exports provided: SharedModule, ɵ0 */

  /***/
  function srcAppSharedSharedModuleTs(module, __webpack_exports__, __webpack_require__) {
    "use strict";

    __webpack_require__.r(__webpack_exports__);
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "SharedModule", function () {
      return SharedModule;
    });
    /* harmony export (binding) */


    __webpack_require__.d(__webpack_exports__, "ɵ0", function () {
      return ɵ0;
    });

    var DEFAULT_PERFECT_SCROLLBAR_CONFIG = {// suppressScrollX: true
    };
    var ɵ0 = DEFAULT_PERFECT_SCROLLBAR_CONFIG;

    var SharedModule = /*#__PURE__*/_createClass(function SharedModule(datePickerCfg, pageCfg) {
      _classCallCheck(this, SharedModule);

      // Cấu hình datepicker
      datePickerCfg.minDate = {
        year: 1920,
        month: 1,
        day: 1
      }; // Cấu hình phân trang

      pageCfg.size = 'sm';
      pageCfg.boundaryLinks = true;
      pageCfg.maxSize = 3;
      pageCfg.rotate = true;
    });
    /***/

  }
}]);
//# sourceMappingURL=manager-manager-module-ngfactory-es5.js.map